[go: up one dir, main page]

CN112083864B - Method, device and equipment for processing object to be deleted - Google Patents

Method, device and equipment for processing object to be deleted Download PDF

Info

Publication number
CN112083864B
CN112083864B CN202010984875.5A CN202010984875A CN112083864B CN 112083864 B CN112083864 B CN 112083864B CN 202010984875 A CN202010984875 A CN 202010984875A CN 112083864 B CN112083864 B CN 112083864B
Authority
CN
China
Prior art keywords
deleted
photo
data
edge
deletion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010984875.5A
Other languages
Chinese (zh)
Other versions
CN112083864A (en
Inventor
岳丹波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kusai Intelligent Co ltd
Original Assignee
Kusai Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kusai Communication Technology Co ltd filed Critical Kusai Communication Technology Co ltd
Priority to CN202010984875.5A priority Critical patent/CN112083864B/en
Publication of CN112083864A publication Critical patent/CN112083864A/en
Application granted granted Critical
Publication of CN112083864B publication Critical patent/CN112083864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a method, a device and equipment for processing an object to be deleted, wherein the method comprises the following steps: photographing through the double cameras, recording depth information of a viewfinder, and storing the photographed pictures; displaying the selected deleting frame according to the operation and framing the object to be deleted in the photo; and removing the photo data in the deletion frame according to the depth information, and filling and repairing the removed area through the environment data. The method provided by the embodiment of the invention can be used for rapidly processing the object to be deleted, is not limited by time and space, has no requirement on any processing skill on a user, and can solve the problems that the processing mode of the object to be deleted in the existing photo is time-consuming and has the skill requirement. In addition, the invention also discloses a device and equipment for processing the object to be deleted.

Description

一种处理待删物体的方法、装置和设备A method, device and apparatus for processing objects to be deleted

技术领域Technical Field

本发明涉及图像处理技术领域,具体涉及一种处理待删物体的方法、装置和设备。The present invention relates to the technical field of image processing, and in particular to a method, device and equipment for processing an object to be deleted.

背景技术Background Art

用户经常通过手机的摄像头拍摄照片或视频,之后通过相应的社交软件分享;更多地体现了时效性,通常要求快速分享。Users often take photos or videos with their mobile phone cameras and then share them through corresponding social software; this reflects more timeliness and usually requires quick sharing.

如果在拍照或者录制视频的过程中遇到突入者(比如人、车、各种小动物等)突然出现在拍摄框内,或者一些影响美观的物体(如垃圾桶、垃圾、厕所等)不能从拍摄框中移除,这些突入者和影响美观的物体都属于待删物体,可能会影响用户主体的拍照环境效果,拉低了整体效果。If intruders (such as people, cars, small animals, etc.) suddenly appear in the shooting frame while taking photos or recording videos, or some objects that affect the appearance (such as trash cans, garbage, toilets, etc.) cannot be removed from the shooting frame, these intruders and objects that affect the appearance are all objects to be deleted, which may affect the user's shooting environment and reduce the overall effect.

目前对照片中的待删物体的处理方式通常是通过第三方或者电脑软件的后期处理,如只能通过电脑处理,需要使用PS(图像处理软件)去除待删物体,再用PS中的工具(如仿制图章)将去除的部分涂成对应的环境。这样做虽然可以达成效果,但是需要比较久的处理时间,且需要用户掌握相应的PS处理技巧,处理的效果与用户所掌握的处理技巧及其熟练度有关,有时处理效果也会大打折扣。At present, the processing method for objects to be deleted in photos is usually through post-processing by third parties or computer software. If it can only be processed by computer, it is necessary to use PS (image processing software) to remove the objects to be deleted, and then use the tools in PS (such as clone stamp) to paint the removed parts into the corresponding environment. Although this can achieve the desired effect, it takes a long time to process and requires users to master the corresponding PS processing skills. The processing effect is related to the processing skills and proficiency of the user, and sometimes the processing effect will be greatly reduced.

因此,现有技术还有待于改进和发展。Therefore, the prior art still needs to be improved and developed.

发明内容Summary of the invention

鉴于上述现有技术的不足之处,本发明的目的在于提供一种处理待删物体的方法、装置和设备,以解决现有照片中待删物体的处理方式比较费时且有技巧要求的问题。In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a method, device and apparatus for processing objects to be deleted, so as to solve the problem that the existing method for processing objects to be deleted in photos is relatively time-consuming and requires skills.

为了达到上述目的,本发明采取了以下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

第一方面,本发明实施例提供了一种处理待删物体的方法,其包括如下步骤:In a first aspect, an embodiment of the present invention provides a method for processing an object to be deleted, which comprises the following steps:

通过双摄像头拍照并记录取景物的景深信息,存储所拍的照片;Take photos through dual cameras and record the depth information of the objects, and store the photos taken;

根据操作显示所选的删除框并框住照片中的待删物体;The selected deletion frame is displayed according to the operation and frames the object to be deleted in the photo;

根据景深信息去除删除框内的照片数据,通过环境数据对去除的区域进行填充修补。The photo data within the deletion box is removed according to the depth of field information, and the removed area is filled and repaired using the environmental data.

所述的处理待删物体的方法中,所述根据操作显示所选的删除框并框住照片中的待删物体的步骤包括:In the method for processing an object to be deleted, the step of displaying the selected deletion frame and framing the object to be deleted in the photo according to the operation includes:

检测图库中的照片被点击时,在照片的下方显示功能栏;When a photo in the gallery is detected to be clicked, a function bar is displayed below the photo;

检测功能栏中的编辑图标被点击时,在照片的下方显示删除框选择栏;When the edit icon in the detection function bar is clicked, a delete box selection bar is displayed below the photo;

根据用户操作用所选的删除框框住待删物体并保存。According to the user's operation, the object to be deleted is framed with the selected deletion frame and saved.

所述的处理待删物体的方法中,所述删除框选择栏中设有的删除框包括:九宫图、竖圆形和竖矩形。In the method for processing the object to be deleted, the deletion boxes provided in the deletion box selection bar include: a nine-square diagram, a vertical circle and a vertical rectangle.

所述的处理待删物体的方法中,所述九宫图的图标被点击后,通过分割线将照片均分成9个区域,检测某个区域被选中后,根据用户的拖拽操作调整选中区域的大小范围,以将待删物体全都框在区域内。In the method for processing objects to be deleted, after the icon of the nine-square diagram is clicked, the photo is divided into 9 areas by dividing lines. After detecting that a certain area is selected, the size range of the selected area is adjusted according to the user's drag operation to frame all the objects to be deleted in the area.

所述的处理待删物体的方法中,所述竖圆形的图标被点击后,在照片中心显示一圆形框,根据用户的拖拽操作调整圆形框的位置和大小,以将待删物体全都框在圆形框内。In the method for processing the objects to be deleted, after the vertical circular icon is clicked, a circular frame is displayed in the center of the photo, and the position and size of the circular frame are adjusted according to the user's dragging operation to frame all the objects to be deleted in the circular frame.

所述的处理待删物体的方法中,所述竖矩形的图标被点击后,在照片中心显示一方形格子,根据用户的拖拽操作调整方形格子的位置和大小。In the method for processing the object to be deleted, after the vertical rectangular icon is clicked, a square grid is displayed in the center of the photo, and the position and size of the square grid are adjusted according to the user's dragging operation.

所述的处理待删物体的方法中,所述根据景深信息去除删除框内的照片数据的步骤包括:In the method for processing an object to be deleted, the step of removing the photo data in the deletion frame according to the depth of field information comprises:

计算照片中各个取景物与镜头之间的距离,根据距离分离出对应的焦平面,找出删除框所在的焦平面,将删除框内的区域填充成白色。Calculate the distance between each object in the photo and the lens, separate the corresponding focal plane according to the distance, find the focal plane where the deletion box is located, and fill the area in the deletion box with white.

所述的处理待删物体的方法中,所述通过环境数据对去除的区域进行填充修补的步骤包括:In the method for processing the object to be deleted, the step of filling and repairing the removed area by using the environmental data comprises:

识别删除框内白色区域的边沿上的各个像素点,根据各个像素点周围的环境数据计算对应像素点的值并填充该边沿;Identify each pixel on the edge of the white area in the deletion box, calculate the value of the corresponding pixel based on the environmental data around each pixel, and fill the edge;

将与该边沿相邻的各个像素点作为新的边沿,根据已计算出的边沿上各个像素点的值和环境数据,计算新的边沿上各个像素点的值并填充;Each pixel point adjacent to the edge is taken as a new edge, and the value of each pixel point on the new edge is calculated and filled according to the calculated value of each pixel point on the edge and the environmental data;

返回识别删除框内白色区域的边沿上的各个像素点的步骤,直至沿着各边沿计算并向内缩拢,计算出整个白色区域内各个像素点的值并完成填充修补。Return to the step of identifying each pixel point on the edge of the white area in the deletion box, until the values of each pixel point in the entire white area are calculated and the filling and patching are completed by calculating along each edge and shrinking inward.

第二方面,本发明实施例提供了一种处理待删物体的装置,其包括:In a second aspect, an embodiment of the present invention provides a device for processing an object to be deleted, comprising:

拍摄单元,用于通过双摄像头拍照并记录取景物的景深信息,存储所拍的照片;A shooting unit, used to take photos through dual cameras and record depth information of the objects being photographed, and store the taken photos;

选择单元,用于根据操作显示所选的删除框并框住照片中的待删物体;A selection unit, used to display a selected deletion frame and frame the object to be deleted in the photo according to the operation;

去除修复单元,用于根据景深信息去除删除框内的照片数据,通过环境数据对去除的区域进行填充修补。The removal and repair unit is used to remove the photo data within the deletion frame according to the depth of field information, and fill and repair the removed area through the environmental data.

第三方面,本发明实施例还提供了一种处理待删物体的设备,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于执行所述的方法。In a third aspect, an embodiment of the present invention further provides a device for processing objects to be deleted, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to include the method for executing the one or more programs.

第四方面,本发明实施例还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由设备的处理器执行时,使得设备能够执行所述的方法。In a fourth aspect, an embodiment of the present invention further provides a non-temporary computer-readable storage medium, which enables the device to execute the described method when instructions in the storage medium are executed by a processor of the device.

相较于现有技术,本发明提供的一种处理待删物体的方法、装置和设备中,所述方法包括步骤:通过双摄像头记录取景照片中的景深信息并存储所拍照片;根据操作显示所选的删除框并框住照片中的待删物体;根据景深信息去除删除框内的照片数据,对去除的区域进行数据填充修补。能对待删物体进行快速的处理,不受时间和空间的限制,对用户无任何处理技巧的要求。Compared with the prior art, the present invention provides a method, device and apparatus for processing objects to be deleted, the method comprising the steps of: recording the depth of field information in the framed photo through a dual camera and storing the taken photo; displaying the selected deletion frame according to the operation and framing the object to be deleted in the photo; removing the photo data in the deletion frame according to the depth of field information, and filling and repairing the removed area with data. The object to be deleted can be processed quickly, without being restricted by time and space, and does not require any processing skills from the user.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明提供的处理待删物体的方法的流程图;FIG1 is a flow chart of a method for processing an object to be deleted provided by the present invention;

图2为本发明提供的功能栏的示意图;FIG2 is a schematic diagram of a function bar provided by the present invention;

图3为本发明提供的删除框的示意图;FIG3 is a schematic diagram of a deletion box provided by the present invention;

图4为本发明提供的九宫图的示意图;FIG4 is a schematic diagram of a nine-square diagram provided by the present invention;

图5为本发明提供的竖圆形的示意图;FIG5 is a schematic diagram of a vertical circle provided by the present invention;

图6为本发明提供的不同位置物体的焦平面的示意图;FIG6 is a schematic diagram of focal planes of objects at different positions provided by the present invention;

图7为本发明提供的竖矩形的示意图;FIG7 is a schematic diagram of a vertical rectangle provided by the present invention;

图8为本发明提供的处理待删物体后的结果示意图;FIG8 is a schematic diagram of the result of processing the object to be deleted provided by the present invention;

图9为本发明提供的处理待删物体的装置的结构示意图。FIG. 9 is a schematic diagram of the structure of the device for processing objects to be deleted provided by the present invention.

具体实施方式DETAILED DESCRIPTION

本发明提供一种处理待删物体的方法、装置和设备,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention provides a method, device and apparatus for processing objects to be deleted. In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

由于双摄(两个摄像头)硬件配置已经成为现有移动终端(本实施例以手机为例)的标配,本实施例利用双摄虚化的功能记录景深位移图,记录下拍照或者录像视频前后的景深信息。拍照或者视频完成后,在图库完成待删物体的去除。Since dual-camera (two cameras) hardware configuration has become a standard configuration for existing mobile terminals (a mobile phone is used as an example in this embodiment), this embodiment uses the dual-camera blur function to record the depth of field displacement map and the depth of field information before and after taking a photo or recording a video. After taking a photo or recording a video, the object to be deleted is removed from the gallery.

请参阅图1,其为本发明提供的处理待删物体的方法的流程图。如图1所示,所述处理待删物体的方法包括以下步骤:Please refer to Figure 1, which is a flow chart of the method for processing objects to be deleted provided by the present invention. As shown in Figure 1, the method for processing objects to be deleted includes the following steps:

S10、通过双摄像头拍照并记录取景物的景深信息,存储所拍的照片。S10. Taking photos through the dual cameras and recording depth information of the objects being photographed, and storing the taken photos.

本步骤中,拍摄时启动双摄像头,开启双摄模式记录取景物的景深信息,将所拍的照片存入图库中。拍摄包括拍摄照片和拍摄视频,此处以照片为例。所述景深信息即是景深位移图。In this step, the dual camera is started during shooting, the dual camera mode is turned on to record the depth of field information of the object, and the taken photos are stored in the gallery. Shooting includes taking photos and taking videos, and photos are taken as an example here. The depth of field information is the depth of field displacement map.

而视频是由多帧数据组成,以H.264视频编码为例,编码的时候会分成 I 帧,P帧和B帧。Video is composed of multiple frames of data. Taking H.264 video encoding as an example, it is divided into I frames, P frames and B frames during encoding.

I帧即帧内编码帧,是一种自带全部信息的独立帧,无需参考其他图像便可独立进行解码,可以简单理解为一张静态画面。I frame, or intra-coded frame, is an independent frame that carries all its own information and can be decoded independently without referring to other images. It can be simply understood as a static picture.

P帧即帧间预测编码帧,需要参考前面的I帧才能进行编码。P frame is an inter-frame prediction coding frame, which needs to refer to the previous I frame for coding.

B帧即双向预测编码帧,B帧记录的是本帧与前后帧的差别。B frame is a bidirectional predictive coding frame, which records the difference between the current frame and the previous and next frames.

I帧只需考虑本帧,P帧记录的是与前一帧的差别;B帧记录的是前一帧及后一帧的差别,能节约更多的空间。I frames only need to consider the current frame, P frames record the difference with the previous frame; B frames record the difference between the previous frame and the next frame, which can save more space.

因此在处理视频的时候,在回放时进入编辑页面,主要显示I帧的数据,使用者可以参考照片去除物体的方式,去掉I帧中待删物体的数据。而后保存的视频数据P帧和B帧参考I帧的数据重新编码即可消除去除整个视频中的待删物体。Therefore, when processing a video, the editing page is entered during playback, and the data of the I frame is mainly displayed. The user can refer to the method of removing objects from photos and remove the data of the object to be deleted in the I frame. Then, the P frame and B frame of the saved video data are re-encoded with reference to the data of the I frame to eliminate the object to be deleted in the entire video.

S20、根据操作显示所选的删除框并框住照片中的待删物体。S20. Display the selected deletion frame according to the operation and frame the object to be deleted in the photo.

检测照片被打开后,根据用户的操作显示删除框,以方便用户选择待删物体;由于待删物体的轮廓不同,本实施例提供3种删除框,则所述步骤S20具体包括After the detected photo is opened, a deletion frame is displayed according to the user's operation to facilitate the user to select the object to be deleted; due to the different contours of the object to be deleted, this embodiment provides three types of deletion frames, and the step S20 specifically includes

S21、检测图库中的照片被点击时,在照片的下方显示功能栏。S21. When a photo in the detection gallery is clicked, a function bar is displayed below the photo.

如图2所示,所述功能栏中包括左边的分享图标,中间的编辑图标和右边的删除图标。检测用户点击编辑图标时进入待删物体的去除流程。As shown in Figure 2, the function bar includes a share icon on the left, an edit icon in the middle, and a delete icon on the right. When the user clicks the edit icon, the process of removing the object to be deleted is entered.

S22、检测功能栏中的编辑图标被点击时,在照片的下方显示删除框选择栏。S22. When the edit icon in the detection function bar is clicked, a delete box selection bar is displayed below the photo.

本实施例针对待删物体的删除框的形状,提供了九宫图、竖圆形、竖矩形这三种,如图3所示,以方便用户能针对不同轮廓或位置的待删物体选择最合适的删除框。This embodiment provides three shapes of deletion frames for objects to be deleted, namely, a nine-square grid, a vertical circle, and a vertical rectangle, as shown in FIG3 , so that users can easily select the most appropriate deletion frame for objects to be deleted with different contours or positions.

S23、根据用户操作用所选的删除框框住待删物体并保存。S23. Frame the object to be deleted with the selected deletion frame according to the user operation and save it.

所述九宫图(删除框选择栏中的最左边)的图标被点击后,如图4所示,通过分割线将照片均分成9个区域,选中某个区域(区域边沿显示加粗的选框),后可以自由拖拽选中区域的大小范围,使待删物体的整体都在区域内且区域的范围最小。完成后点击保存,则照片上只剩下所选区域的边框,其他边框消失。After clicking the icon of the nine-square diagram (the leftmost one in the delete box selection bar), as shown in FIG4, the photo is divided into 9 areas by dividing lines. After selecting an area (a bold selection box is displayed at the edge of the area), the size of the selected area can be freely dragged to make the entire object to be deleted within the area and the area is minimized. After completion, click Save, and only the border of the selected area will remain on the photo, and the other borders will disappear.

但是,可能存在待删物体不会都在一个区域内,如图4所示的圆桶,位于两个区域内。此时可采用竖圆形直接选中待删物体。However, there may be objects to be deleted that are not all in one area, such as the barrel shown in FIG4, which is located in two areas. In this case, the vertical circle can be used to directly select the object to be deleted.

如图5所示,所述竖圆形的图标被点击后,会在照片中心显示一圆形框,用户可以自由拖拽圆形框以移动其位置、改变其大小范围,如变成椭圆形,只要能将整个待删物体都圈在圆形框内即可。As shown in FIG5 , after the vertical circular icon is clicked, a circular frame will be displayed in the center of the photo. The user can freely drag the circular frame to move its position and change its size, such as turning it into an ellipse, as long as the entire object to be deleted can be enclosed in the circular frame.

如图6所示,所述竖矩形的图标被点击后,会在照片中心显示一方形格子,用户可以自由拖拽方形格子以移动其位置、改变其长宽区域范围。As shown in FIG. 6 , after the vertical rectangular icon is clicked, a square grid will be displayed in the center of the photo, and the user can freely drag the square grid to move its position and change its length and width.

用户可根据待删物体的轮廓选择最合适的删除框,用户可根据上方的操作栏选择对应的操作,如取消、箭头向左表示返回前一步、箭头向右表示返回后一步、保存这四种操作来保留阶段性的操作。Users can select the most appropriate deletion box according to the outline of the object to be deleted. Users can select the corresponding operation according to the operation bar above, such as cancel, arrow to the left to return to the previous step, arrow to the right to return to the next step, and save these four operations to retain the staged operations.

选择保存后,即可开始去除删除框内的待删物体。After selecting Save, you can start removing the objects to be deleted in the deletion box.

S30、根据景深信息去除删除框内的照片数据,通过环境数据对去除的区域进行填充修补。S30, removing the photo data in the deletion box according to the depth of field information, and filling and repairing the removed area with the environmental data.

本步骤是将删除框内的所有照片数据(包括待删物体以及其周围的部分环境数据)去除,在去除待删物体的过程中,先通过景深信息(即景深位移图)去除待删物体,使去除的待删物体更加准确;去除的删除框内先用白色填充,然后再通过机器学习进行数据回填,即结合去除区域的临近区域的环境数据进行机器学习,对去除区域进行数据填充修补,从而使回填的数据更加贴合原图的数据,使整体照片更加真实;之后保存即可。This step is to remove all photo data in the deletion box (including the object to be deleted and part of the environmental data around it). In the process of removing the object to be deleted, the object to be deleted is first removed through the depth of field information (i.e., the depth of field displacement map) to make the removal of the object to be deleted more accurate; the deleted deletion box is first filled with white, and then the data is backfilled through machine learning, that is, machine learning is performed in combination with the environmental data of the adjacent area of the removed area, and the data of the removed area is filled and repaired, so that the backfilled data is closer to the original image data, making the overall photo more realistic; then save it.

其中,所述根据景深信息去除删除框内的照片数据,采用了双摄原理,即左右摄像头,其成像时,设置左摄像头用于拍摄背景部分,设置右摄像头用于拍摄主体(通常是人,或离镜头最近的物体)。双摄即是根据人眼的三角定位原理来计算物体与镜头之间的距离,具体为在双摄原理的基础上,根据双摄模组的焦距,主摄(即右摄像头)和副摄(即左摄像头)的间距以及取景物主体的距离,即可计算整个照片中任何一个位置的物体与镜头之间的距离,此为现有技术,此处不作详述。Among them, the photo data in the deletion frame is removed according to the depth of field information, and the dual-camera principle is adopted, that is, the left and right cameras, when imaging, the left camera is set to shoot the background part, and the right camera is set to shoot the subject (usually a person, or the object closest to the lens). Dual-camera is to calculate the distance between the object and the lens based on the triangulation positioning principle of the human eye. Specifically, based on the dual-camera principle, according to the focal length of the dual-camera module, the distance between the main camera (i.e., the right camera) and the auxiliary camera (i.e., the left camera) and the distance of the subject of the view, the distance between the object and the lens at any position in the entire photo can be calculated. This is a prior art and will not be described in detail here.

计算出整个照片中不同取景物(主体人或者物、待删物体、车、动物等物体)的位移信息,即可为后面的物体去除提供了理论数字依据。如图7所示,不同位置的物体其焦平面和焦距都不同,焦平面A的焦距a、焦平面B的焦距b、焦平面C的焦距c都不同,因此通过双摄原理就可以去除不同焦平面的图片。Calculating the displacement information of different objects in the entire photo (subject person or object, object to be deleted, car, animal, etc.) can provide a theoretical numerical basis for the subsequent object removal. As shown in Figure 7, objects at different positions have different focal planes and focal lengths. The focal length a of focal plane A, the focal length b of focal plane B, and the focal length c of focal plane C are all different. Therefore, the dual-camera principle can be used to remove images with different focal planes.

通过双摄的统计数据计算,得到图7描述的不同焦平面的物体位移信息(与镜头之间的距离或焦距)即景深位移图,根据景深位移图即可去除删除框内的所有数据,即是计算照片中各个取景物与镜头之间的距离,根据距离分离出对应的焦平面,找出删除框所在的焦平面,将删除框内的区域填充成白色,即完成了待删物体的去除。By calculating the statistical data of the dual cameras, the object displacement information (the distance from the lens or the focal length) of different focal planes described in Figure 7, namely the depth of field displacement map, is obtained. According to the depth of field displacement map, all data in the deletion box can be removed, that is, the distance between each object in the photo and the lens is calculated, the corresponding focal plane is separated according to the distance, the focal plane where the deletion box is located is found, and the area in the deletion box is filled with white, thus completing the removal of the object to be deleted.

所述机器学习,是一门多学科交叉专业,涵盖概率论知识、统计学知识、近似理论知识和复杂算法知识,使用计算机作为工具并致力于真实实时的模拟人类学习方式,并将现有内容进行知识结构划分来有效提高学习效率。The above-mentioned machine learning is a multidisciplinary cross-disciplinary major that covers knowledge of probability theory, statistics, approximate theory and complex algorithm knowledge. It uses computers as tools and is committed to simulating human learning methods in real time, and divides existing content into knowledge structures to effectively improve learning efficiency.

机器学习中的智能填充,即AI(人工智能)智能填充,参考旁边的数据信息进行填充。由于现在的手机配置越来越高,AI 智能的算子也越来越来越发达。填充被去除的数据,可采用均值带权的方案,基于机器学习、根据所去除区域周围的环境数据、对所去除的区域进行数据回填修补,具体如下:Smart filling in machine learning, namely AI (artificial intelligence) smart filling, refers to the data information nearby for filling. As the configuration of mobile phones is getting higher and higher, AI intelligent operators are becoming more and more advanced. To fill the removed data, a mean weighted solution can be used. Based on machine learning and the environmental data around the removed area, the removed area is backfilled and repaired. The details are as follows:

填充数据时,一个待填充数据 X 就表示白色区域中的一个像素点的值,参考待填充数据周围(即相邻)8个方向的环境数据(即8个方向对应的8个象素点的值)来计算待填充数据,即可获得对应的像素点的值;先计算白色区域的边沿上的各个像素点的值,该边沿被填充,填充后不再是白色;则与该边沿相邻的白色部分形成新的边沿,根据已计算出的边沿上各个像素点的值和环境数据,又能获得新的边沿上各个像素点的值并填充;以此类推,不断沿着边沿计算并向内缩拢,逐渐缩小白色区域的大小,直至最后将整个白色区域填满。When filling data, a to-be-filled data X represents the value of a pixel in the white area. The to-be-filled data is calculated by referring to the environmental data in 8 directions around (i.e., adjacent to) the to-be-filled data (i.e., the values of 8 pixels corresponding to the 8 directions), and the corresponding pixel value can be obtained. The values of each pixel on the edge of the white area are calculated first, and the edge is filled and is no longer white after filling. The white part adjacent to the edge forms a new edge, and the values of each pixel on the new edge can be obtained and filled according to the calculated values of each pixel on the edge and the environmental data. And so on, the calculation is continuously performed along the edge and the edges are shrunk inwards, and the size of the white area is gradually reduced until the entire white area is filled.

计算时,将相邻的8个方向的环境数据分成两种权重,其中,位于待填充数据 X的0度方向的环境数据为X1(相当于位于待填充数据 X右边的环境数据为X1),位于待填充数据X的90度方向的环境数据为X2(相当于位于待填充数据 X上边的环境数据为X2),位于待填充数据 X的180度方向的环境数据为X3(相当于位于待填充数据 X左边的环境数据为X3),位于待填充数据 X的270度方向的环境数据为X4(相当于位于待填充数据 X下边的环境数据为X4),这四个方向的数据权重更高;位于待填充数据 X的45度方向的环境数据为X5(相当于位于待填充数据 X右上角的环境数据为X5),位于待填充数据 X的135度方向的环境数据为X6(相当于位于待填充数据 X左上角的环境数据为X6),位于待填充数据 X的225度方向的环境数据为X7(相当于位于待填充数据 X左下角的环境数据为X7),位于待填充数据 X的315度方向的环境数据为X8(相当于位于待填充数据 X右下角的环境数据为X8),这四个方向的数据权重较低,可默认为1。则一个待填充数据 X就可以按照下面的公式进行计算,When calculating, the environmental data in the eight adjacent directions are divided into two weights, among which the environmental data in the 0-degree direction of the data X to be filled is X1 (equivalent to the environmental data on the right of the data X to be filled is X1), the environmental data in the 90-degree direction of the data X to be filled is X2 (equivalent to the environmental data on the top of the data X to be filled is X2), the environmental data in the 180-degree direction of the data X to be filled is X3 (equivalent to the environmental data on the left of the data X to be filled is X3), the environmental data in the 270-degree direction of the data X to be filled is X4 (equivalent to the environmental data on the bottom of the data X to be filled is X4), and the data weights in these four directions are higher; the environmental data in the 45-degree direction of the data X to be filled is X5 (equivalent to the environmental data in the upper right corner of the data X to be filled is X5), the environmental data in the 135-degree direction of the data X to be filled is X6 (equivalent to the environmental data in the upper left corner of the data X to be filled is X6), the environmental data in the 225-degree direction of the data X to be filled is X7 (equivalent to the environmental data in the lower left corner of the data X to be filled is X7), and the environmental data in the 270-degree direction of the data X to be filled is X8 (equivalent to the environmental data in the lower left corner of the data X to be filled is X8). The environmental data of the 315-degree direction of X is X8 (equivalent to the environmental data at the lower right corner of the data to be filled X is X8). The data weights of these four directions are relatively low and can be defaulted to 1. Then a data to be filled X can be calculated according to the following formula:

X= [(X1+ X2+ X3+ X4) *N +(X5+ X6+ X7+ X8) *1]/(N+1),N≥2。其中,N是0度、90度、180度、270度这四个方向的数据权重,其值可根据需求调整。X= [(X1+ X2+ X3+ X4) *N +(X5+ X6+ X7+ X8) *1]/(N+1), N≥2. N is the data weight of the four directions of 0 degrees, 90 degrees, 180 degrees, and 270 degrees, and its value can be adjusted according to needs.

重复上述计算,即可根据相邻8个方向的环境数据(即8个方向对应的象素点的值)计算出待填充区域的所有像素点的值,从而实现通过环境数据对去除的区域进行的回填修补,完成对去除物体区域(即待填充区域、也即是删除框内的白色区域)的数据回填。需要理解的是,沿着边沿向内缩拢计算时,边沿上的像素点在某个或几个方向上会使用到白色区域的像素点,白色区域的像素点的值即是白色对应的环境数据的值。By repeating the above calculation, the values of all pixels in the area to be filled can be calculated based on the environmental data in the adjacent 8 directions (i.e., the values of the pixels corresponding to the 8 directions), so as to achieve backfilling of the removed area through the environmental data, and complete the data backfilling of the removed object area (i.e., the area to be filled, that is, the white area in the deleted box). It should be understood that when calculating along the edge, the pixels on the edge will use the pixels in the white area in one or several directions, and the values of the pixels in the white area are the values of the environmental data corresponding to white.

处理完成后即可保存照片,得到如图8所示的照片。之后用户即可分享照片,上传至对应的社交软件。After the processing is completed, the photo can be saved and the photo shown in Figure 8 can be obtained. After that, the user can share the photo and upload it to the corresponding social software.

基于上述的处理待删物体方法,本发明实施例还提供一种处理待删物体的装置,如图9所示,其包括:Based on the above method for processing an object to be deleted, an embodiment of the present invention further provides a device for processing an object to be deleted, as shown in FIG9 , which includes:

拍摄单元10,用于通过双摄像头拍照并记录取景物的景深信息,存储所拍的照片;A shooting unit 10 is used to take pictures through dual cameras and record depth information of the objects being photographed, and store the taken pictures;

选择单元20,用于根据操作显示所选的删除框并框住照片中的待删物体;A selection unit 20, used to display a selected deletion frame and frame the object to be deleted in the photo according to the operation;

去除修复单元30,用于根据景深信息去除删除框内的照片数据,通过环境数据对去除的区域进行填充修补。The removal and repair unit 30 is used to remove the photo data in the deletion frame according to the depth of field information, and fill and repair the removed area through the environmental data.

本领域技术人员可以理解,图9中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的装置的限定,具体的装置可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art will understand that the structure shown in FIG. 9 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the device to which the scheme of the present application is applied. The specific device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

基于上述的处理待删物体方法,本发明实施例还提供了一种处理待删物体的设备,包括有存储器,所述存储器可为硬盘或内存,所述存储器上存储有一个或者一个以上的处理待删物体的方法的算法处理程序,该算法处理程序可经配置以由一个或者一个以上处理器执行所述一个或者一个以上的算法处理程序包含用于执行所述的方法。Based on the above-mentioned method for processing objects to be deleted, an embodiment of the present invention also provides a device for processing objects to be deleted, including a memory, which may be a hard disk or a memory, and the memory stores one or more algorithm processing programs of the method for processing objects to be deleted, and the algorithm processing program can be configured to be executed by one or more processors. The one or more algorithm processing programs include the method for executing the described method.

其中,所述设备可以是智能手机、平板电脑等带有双摄的电子设备。所述处理器在一些实施例中可以是一中央处理器(Central Processing Unit, CPU),微处理器或其他数据处理芯片,用于运行所述存储器存储的程序代码或处理数据,例如执行所述处理待删物体的方法。The device may be an electronic device with dual cameras, such as a smart phone or a tablet computer. In some embodiments, the processor may be a central processing unit (CPU), a microprocessor or other data processing chip, which is used to run the program code stored in the memory or process data, such as executing the method for processing the object to be deleted.

本发明实施例还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器,上述指令可由设备的处理器执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。The embodiment of the present invention also provides a non-transitory computer-readable storage medium including instructions, such as a memory including instructions, and the above instructions can be executed by a processor of a device to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

综上所述,本发明提供的一种处理待删物体的方法、装置和设备中,通过双摄像头记录取景照片中的景深信息并存储所拍照片;根据操作显示所选的删除框并框住照片中的待删物体;根据景深信息去除删除框内的照片数据,对去除的区域进行数据填充修补;这样即可去除拍照或者录像中的待删物体,从而突出拍照的主体,消除待删物体取景物对主体取景物效果的影响,从而提升拍照或者录像的画质,以体现核心主体取景物的效果。In summary, in a method, device and apparatus for processing objects to be deleted provided by the present invention, depth of field information in the framed photos is recorded through dual cameras and the taken photos are stored; a selected deletion frame is displayed according to the operation and the object to be deleted in the photo is framed; the photo data in the deletion frame is removed according to the depth of field information, and the removed area is filled and repaired with data; in this way, the object to be deleted in the photo or video can be removed, thereby highlighting the subject of the photo, eliminating the influence of the framing object to be deleted on the framing effect of the subject, thereby improving the picture quality of the photo or video to reflect the effect of the core subject framing object.

同时,只需用户选择合适的删除框,就能随意选择待删物体并自动删除修补,不受时间、地点和空间的限制,对用户无任何处理技巧的要求,拍摄的照片或者视频能快速分享。并且,采用机器学习和双摄景深位移图结合的方式,使去除的效果更加准确,通过均值加权的方式对去除区域进行数据填充,修补后的效果与周围能很好的融合,保证了整体效果的流畅性。At the same time, users only need to select the appropriate deletion frame to select the object to be deleted and automatically delete and repair it. It is not limited by time, place and space, and does not require any processing skills from users. The photos or videos taken can be shared quickly. In addition, the combination of machine learning and dual-camera depth of field displacement map makes the removal effect more accurate. The data of the removal area is filled by the mean weighting method, and the repaired effect can be well integrated with the surrounding area, ensuring the smoothness of the overall effect.

当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述程序可存储于一计算机可读取的存储介质中,该程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium, and the program can include the processes of the above-mentioned method embodiments when executed. The storage medium can be a memory, a disk, an optical disk, etc.

应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims (8)

1.一种处理待删物体的方法,其特征在于,包括如下步骤:1. A method for processing an object to be deleted, characterized in that it comprises the following steps: 通过双摄像头拍照并记录取景物的景深信息,存储所拍的照片;Take photos through dual cameras and record the depth information of the objects, and store the photos taken; 根据操作显示所选的删除框并框住照片中的待删物体;The selected deletion frame is displayed according to the operation and frames the object to be deleted in the photo; 根据景深信息去除删除框内的照片数据,通过环境数据对去除的区域进行填充修补;Remove the photo data in the deletion box according to the depth of field information, and fill and repair the deleted area with the environmental data; 通过环境数据对去除的区域进行填充修补的步骤包括:The steps to fill and repair the removed area using environmental data include: 识别删除框内白色区域的边沿上的各个像素点,根据各个像素点周围的环境数据计算对应像素点的值并填充该边沿;Identify each pixel on the edge of the white area in the deletion box, calculate the value of the corresponding pixel based on the environmental data around each pixel, and fill the edge; 将与该边沿相邻的各个像素点作为新的边沿,根据已计算出的边沿上各个像素点的值和环境数据,计算新的边沿上各个像素点的值并填充;Each pixel point adjacent to the edge is taken as a new edge, and the value of each pixel point on the new edge is calculated and filled according to the calculated value of each pixel point on the edge and the environmental data; 返回识别删除框内白色区域的边沿上的各个像素点的步骤,直至沿着各边沿计算并向内缩拢,计算出整个白色区域内各个像素点的值并完成填充修补;Return to the step of identifying each pixel point on the edge of the white area in the deletion box, until the values of each pixel point in the entire white area are calculated and the filling and patching are completed by calculating along each edge and shrinking inward; X=[(X1+X2+X3+X4)*N+(X5+X6+X7+X8)*1]/(N+1),N≥2;X=[(X1+X2+X3+X4)*N+(X5+X6+X7+X8)*1]/(N+1), N≥2; N是0度、90度、180度、270度四个方向的数据权重;X是待填充数据,位于待填充数据X的0度、90度、180度、270度、45度、135度、225度、315度方向的环境数据分别为X1、X2、X3、X4、X5、X6、X7、X8;N is the data weights in the four directions of 0, 90, 180, and 270 degrees; X is the data to be filled, and the environmental data at the directions of 0, 90, 180, 270, 45, 135, 225, and 315 degrees of the data to be filled X are X1, X2, X3, X4, X5, X6, X7, and X8 respectively; 边沿上的像素点会使用到白色区域的像素点;The pixels on the edge will use the pixels in the white area; 所述根据景深信息去除删除框内的照片数据的步骤包括:The step of removing the photo data in the deletion frame according to the depth of field information comprises: 计算照片中各个取景物与镜头之间的距离,根据距离分离出对应的焦平面,找出删除框所在的焦平面,将删除框内的区域填充成白色;Calculate the distance between each object in the photo and the lens, separate the corresponding focal plane according to the distance, find the focal plane where the deletion box is located, and fill the area in the deletion box with white; 通过机器学习进行数据回填。Data backfilling via machine learning. 2.根据权利要求1所述的处理待删物体的方法,其特征在于,所述根据操作显示所选的删除框并框住照片中的待删物体的步骤包括:2. The method for processing an object to be deleted according to claim 1, wherein the step of displaying the selected deletion frame and framing the object to be deleted in the photo according to the operation comprises: 检测图库中的照片被点击时,在照片的下方显示功能栏;When a photo in the gallery is detected to be clicked, a function bar is displayed below the photo; 检测功能栏中的编辑图标被点击时,在照片的下方显示删除框选择栏;When the edit icon in the detection function bar is clicked, a delete box selection bar is displayed below the photo; 根据用户操作用所选的删除框框住待删物体并保存。According to the user's operation, the object to be deleted is framed with the selected deletion frame and saved. 3.根据权利要求2所述的处理待删物体的方法,其特征在于,所述删除框选择栏中设有的删除框包括:九宫图、竖圆形和竖矩形。3. The method for processing an object to be deleted according to claim 2 is characterized in that the deletion boxes provided in the deletion box selection bar include: a nine-square diagram, a vertical circle and a vertical rectangle. 4.根据权利要求3述的处理待删物体的方法,其特征在于,所述九宫图的图标被点击后,通过分割线将照片均分成9个区域,检测某个区域被选中后,根据用户的拖拽操作调整选中区域的大小范围,以将待删物体全都框在区域内。4. The method for processing objects to be deleted according to claim 3 is characterized in that after the icon of the nine-square diagram is clicked, the photo is divided into 9 areas by dividing lines. After detecting that a certain area is selected, the size range of the selected area is adjusted according to the user's drag operation to frame all the objects to be deleted in the area. 5.根据权利要求3所述的处理待删物体的方法,其特征在于,所述竖圆形的图标被点击后,在照片中心显示一圆形框,根据用户的拖拽操作调整圆形框的位置和大小,以将待删物体全都框在圆形框内。5. The method for processing objects to be deleted according to claim 3 is characterized in that after the vertical circular icon is clicked, a circular frame is displayed in the center of the photo, and the position and size of the circular frame are adjusted according to the user's drag operation to frame all the objects to be deleted in the circular frame. 6.根据权利要求3所述的处理待删物体的方法,其特征在于,所述竖矩形的图标被点击后,在照片中心显示一方形格子,根据用户的拖拽操作调整方形格子的位置和大小。6. The method for processing objects to be deleted according to claim 3 is characterized in that after the vertical rectangular icon is clicked, a square grid is displayed in the center of the photo, and the position and size of the square grid are adjusted according to the user's dragging operation. 7.一种处理待删物体的装置,其特征在于,包括:7. A device for processing an object to be deleted, characterized by comprising: 拍摄单元,用于通过双摄像头拍照并记录取景物的景深信息,存储所拍的照片;A shooting unit, used to take photos through dual cameras and record depth information of the objects being photographed, and store the taken photos; 选择单元,用于根据操作显示所选的删除框并框住照片中的待删物体;A selection unit, used to display a selected deletion frame and frame the object to be deleted in the photo according to the operation; 去除修复单元,用于根据景深信息去除删除框内的照片数据,通过环境数据对去除的区域进行填充修补;计算照片中各个取景物与镜头之间的距离,根据距离分离出对应的焦平面,找出删除框所在的焦平面,将删除框内的区域填充成白色;通过机器学习进行数据回填;识别删除框内白色区域的边沿上的各个像素点,根据各个像素点周围的环境数据计算对应像素点的值并填充该边沿;The removal and repair unit is used to remove the photo data in the deletion frame according to the depth of field information, and fill and repair the removed area through the environmental data; calculate the distance between each viewfinder and the lens in the photo, separate the corresponding focal plane according to the distance, find the focal plane where the deletion frame is located, and fill the area in the deletion frame with white; perform data backfilling through machine learning; identify each pixel point on the edge of the white area in the deletion frame, calculate the value of the corresponding pixel point according to the environmental data around each pixel point, and fill the edge; 将与该边沿相邻的各个像素点作为新的边沿,根据已计算出的边沿上各个像素点的值和环境数据,计算新的边沿上各个像素点的值并填充;Each pixel point adjacent to the edge is taken as a new edge, and the value of each pixel point on the new edge is calculated and filled according to the calculated value of each pixel point on the edge and the environmental data; 返回识别删除框内白色区域的边沿上的各个像素点的步骤,直至沿着各边沿计算并向内缩拢,计算出整个白色区域内各个像素点的值并完成填充修补;Return to the step of identifying each pixel point on the edge of the white area in the deletion box, until the values of each pixel point in the entire white area are calculated and the filling and patching are completed by calculating along each edge and shrinking inward; X=[(X1+X2+X3+X4)*N+(X5+X6+X7+X8)*1]/(N+1),N≥2;X=[(X1+X2+X3+X4)*N+(X5+X6+X7+X8)*1]/(N+1), N≥2; N是0度、90度、180度、270度四个方向的数据权重;X是待填充数据,位于待填充数据X的0度、90度、180度、270度、45度、135度、225度、315度方向的环境数据分别为X1、X2、X3、X4、X5、X6、X7、X8;N is the data weights in the four directions of 0, 90, 180, and 270 degrees; X is the data to be filled, and the environmental data at the directions of 0, 90, 180, 270, 45, 135, 225, and 315 degrees of the data to be filled X are X1, X2, X3, X4, X5, X6, X7, and X8 respectively; 边沿上的像素点会使用到白色区域的像素点。The pixels on the edge will use the pixels in the white area. 8.一种处理待删物体的设备,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于执行如权利要求1-6中任意一项所述的方法。8. A device for processing objects to be deleted, characterized in that it includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, including for executing the method described in any one of claims 1-6.
CN202010984875.5A 2020-09-18 2020-09-18 Method, device and equipment for processing object to be deleted Active CN112083864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010984875.5A CN112083864B (en) 2020-09-18 2020-09-18 Method, device and equipment for processing object to be deleted

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010984875.5A CN112083864B (en) 2020-09-18 2020-09-18 Method, device and equipment for processing object to be deleted

Publications (2)

Publication Number Publication Date
CN112083864A CN112083864A (en) 2020-12-15
CN112083864B true CN112083864B (en) 2024-08-13

Family

ID=73738034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010984875.5A Active CN112083864B (en) 2020-09-18 2020-09-18 Method, device and equipment for processing object to be deleted

Country Status (1)

Country Link
CN (1) CN112083864B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976336A (en) * 2016-05-06 2016-09-28 安徽伟合电子科技有限公司 Fuzzy repair method of video image
CN106651762A (en) * 2016-12-27 2017-05-10 努比亚技术有限公司 Photo processing method, device and terminal
CN111124227A (en) * 2019-12-18 2020-05-08 维沃移动通信有限公司 Image display method and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6741251B2 (en) * 2001-08-16 2004-05-25 Hewlett-Packard Development Company, L.P. Method and apparatus for varying focus in a scene
JP4636146B2 (en) * 2008-09-05 2011-02-23 ソニー株式会社 Image processing method, image processing apparatus, program, and image processing system
CN103312981A (en) * 2013-03-22 2013-09-18 中科创达软件股份有限公司 Synthetic multi-picture taking method and shooting device
US9354488B2 (en) * 2014-05-23 2016-05-31 Howard Preston Methods, apparatuses, systems and software for focusing a camera
CN106550184B (en) * 2015-09-18 2020-04-03 中兴通讯股份有限公司 Photo processing method and device
CN108022227B (en) * 2017-12-29 2022-03-18 努比亚技术有限公司 Black and white background picture acquisition method and device and computer readable storage medium
CN109634494A (en) * 2018-11-12 2019-04-16 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109816613B (en) * 2019-02-28 2023-02-28 广州方硅信息技术有限公司 Image completion method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976336A (en) * 2016-05-06 2016-09-28 安徽伟合电子科技有限公司 Fuzzy repair method of video image
CN106651762A (en) * 2016-12-27 2017-05-10 努比亚技术有限公司 Photo processing method, device and terminal
CN111124227A (en) * 2019-12-18 2020-05-08 维沃移动通信有限公司 Image display method and electronic equipment

Also Published As

Publication number Publication date
CN112083864A (en) 2020-12-15

Similar Documents

Publication Publication Date Title
JP6970283B2 (en) Image stitching method and device, storage medium
US10284789B2 (en) Dynamic generation of image of a scene based on removal of undesired object present in the scene
TWI539813B (en) Image synthesizing device and method
CN108898567A (en) Image denoising method, apparatus and system
US20160301868A1 (en) Automated generation of panning shots
US20210306559A1 (en) Photographing methods and devices
US20150104113A1 (en) Method and Apparatus for Producing a Cinemagraph
WO2014187265A1 (en) Photo-capture processing method, device and computer storage medium
EP3822757A1 (en) Method and apparatus for setting background of ui control
CN112200737B (en) Image processing method and device based on reinforcement learning and storage medium
CN114615480B (en) Projection screen adjustment method, apparatus, device, storage medium, and program product
CN115578286A (en) High dynamic range hybrid exposure imaging method and apparatus
WO2019000715A1 (en) Method and system for processing image
WO2015196681A1 (en) Picture processing method and electronic device
CN115049572A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112598628A (en) Image occlusion detection method and device, shooting equipment and medium
CN112083864B (en) Method, device and equipment for processing object to be deleted
CN109600667A (en) A method of the video based on grid and frame grouping redirects
CN118781019A (en) Portrait image processing method, device, equipment, storage medium and program product
CN113421275A (en) Image processing method, image processing device, computer equipment and storage medium
CN114387443A (en) An image processing method, storage medium and terminal device
WO2019205566A1 (en) Method and device for displaying image
CN110418056A (en) An image processing method, device, storage medium and electronic device
CN113052836B (en) Electronic identity photo detection method, device, electronic device and storage medium
CN114494034B (en) Image distortion correction method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Applicant after: Shenzhen KUSAI Communication Technology Co.,Ltd.

Address before: 518000 17th Floor, Block A, Financial Science and Technology Building, 11 Keyuan Road, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN PRIZE INTELLIGENT TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Applicant after: Kusai Communication Technology Co.,Ltd.

Address before: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Applicant before: Kusai Communication Technology Co.,Ltd.

Address after: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Applicant after: Kusai Communication Technology Co.,Ltd.

Address before: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Applicant before: Shenzhen KUSAI Communication Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20250401

Address after: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Patentee after: Shenzhen Kusai Intelligent Co.,Ltd.

Country or region after: China

Address before: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Patentee before: Kusai Communication Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right