[go: up one dir, main page]

CN103702024B - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
CN103702024B
CN103702024B CN201310636834.7A CN201310636834A CN103702024B CN 103702024 B CN103702024 B CN 103702024B CN 201310636834 A CN201310636834 A CN 201310636834A CN 103702024 B CN103702024 B CN 103702024B
Authority
CN
China
Prior art keywords
image
shooting
region
area
repaired
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
CN201310636834.7A
Other languages
Chinese (zh)
Other versions
CN103702024A (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.)
Beijing Deyuan Dayou Technology Development Co.,Ltd.
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201310636834.7A priority Critical patent/CN103702024B/en
Publication of CN103702024A publication Critical patent/CN103702024A/en
Application granted granted Critical
Publication of CN103702024B publication Critical patent/CN103702024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

本发明提供了一种图像处理装置,包括:图像获取单元,用于获取任一已存储图像;修正判断单元,用于判断所述已存储图像中是否存在待修正区域;图像修正单元,用于从重新拍摄的图像中提取对应于所述待修正区域的完善区域,以替换所述待修正区域。本发明还提出了相应的图像处理方法。通过本发明的技术方案,可以通过补拍的方式,对图像中不理想的部分进行替换,从而得到符合用户需求的图像。

The present invention provides an image processing device, comprising: an image acquisition unit, used to acquire any stored image; a correction judgment unit, used to judge whether there is an area to be corrected in the stored image; an image correction unit, used to A perfect area corresponding to the area to be corrected is extracted from the re-taken image to replace the area to be corrected. The invention also proposes a corresponding image processing method. Through the technical solution of the present invention, the unsatisfactory part in the image can be replaced by way of supplementary shooting, so as to obtain an image meeting the user's requirement.

Description

图像处理装置和图像处理方法Image processing device and image processing method

技术领域technical field

本发明涉及图像处理技术领域,具体而言,涉及一种图像处理装置和一种图像处理方法。The present invention relates to the technical field of image processing, and in particular, to an image processing device and an image processing method.

背景技术Background technique

用户在使用拍照设备进行图像拍摄时,比如照相机、手机、平板电脑等,由于拍照者的身体晃动或拍摄对象的肢体移动等,或是由于拍摄环境不佳等原因,很可能导致拍摄得到的图像中,虽然大部分区域没有问题,但有小部分区域存在不清晰、不连续、图像畸变等各种不理想的状况。When a user uses a camera device to take pictures, such as a camera, mobile phone, tablet computer, etc., due to the shaking of the photographer's body, the movement of the subject's limbs, etc., or due to reasons such as poor shooting environment, the captured image may be Among them, although there are no problems in most areas, there are various unsatisfactory conditions such as unclearness, discontinuity, and image distortion in a small number of areas.

在发生上述情况后,用户往往只能重新拍摄整张图像,但好的拍摄机会总是稍纵即逝,如果希望再次拍摄到相同的场景,可能甚至需要等待很长时间,影响用户的使用体验。After the above situation occurs, users often can only re-shoot the entire image, but good shooting opportunities are always fleeting. If you want to shoot the same scene again, you may even have to wait for a long time, which will affect the user experience .

因此,如何对已经拍摄好的图像进行修正,以消除其中不理想的区域,而无需重新拍摄整张图像,成为目前亟待解决的技术问题。Therefore, how to correct the captured image to eliminate the unsatisfactory area without re-shooting the entire image has become a technical problem to be solved urgently.

发明内容Contents of the invention

本发明正是基于上述问题,提出了一种新的图像处理技术,可以通过补拍的方式,对图像中不理想的部分进行替换,从而得到符合用户需求的图像。Based on the above problems, the present invention proposes a new image processing technology, which can replace unsatisfactory parts in the image by way of supplementary shooting, so as to obtain an image that meets the needs of users.

有鉴于此,本发明提出了一种图像处理装置,包括:图像获取单元,用于获取任一已存储图像;修正判断单元,用于判断所述已存储图像中是否存在待修正区域;图像修正单元,用于从重新拍摄的图像中提取对应于所述待修正区域的完善区域,以替换所述待修正区域。In view of this, the present invention proposes an image processing device, comprising: an image acquisition unit for acquiring any stored image; a correction judging unit for judging whether there is an area to be corrected in the stored image; image correction A unit, configured to extract a perfect area corresponding to the area to be corrected from the retaken image to replace the area to be corrected.

在该技术方案中,在不容易对已存储图像中的全部拍摄元素进行重新拍摄的情况下,尤其是对于已存储图像中的拍摄对象不容易被拍摄、需要等待较长时间等情况下,通过检测出已存储图像中的待修正区域,并利用重新拍摄图像中的完善区域进行替换,从而仅需执行部分区域的修正,而对于已存储图像中的其他部分则无需修改,既无需重新拍摄整张图像,又能够通过对已存储图像的部分修正而得到令用户满意的图像。In this technical solution, when it is not easy to re-shoot all the shooting elements in the stored image, especially when the shooting objects in the stored image are not easy to be shot and need to wait for a long time, etc., through Detects the area to be corrected in the stored image and replaces it with the perfect area in the recaptured image, so that only part of the area needs to be corrected, while other parts of the stored image do not need to be modified, and there is no need to retake the entire image image, and can obtain an image that satisfies the user by partially correcting the stored image.

其中,每张已存储图像上的待修正区域的个数可以为一个,也可以为多个,且并不限制每个待修正区域的大小和包含的拍摄元素的数量等。Wherein, the number of regions to be corrected on each stored image may be one or multiple, and the size of each region to be corrected and the number of photographing elements contained therein are not limited.

在上述技术方案中,优选地,还包括:区域选择单元,用于接收区域选择指令,并将根据所述区域选择指令在所述已存储图像上选中的区域作为所述待修正区域;或根据所述区域选择指令对所述已存储图像执行元素选择操作,并将包含被选中的拍摄元素的区域作为所述待修正区域。In the above technical solution, preferably, further comprising: an area selection unit, configured to receive an area selection instruction, and use the area selected on the stored image according to the area selection instruction as the area to be corrected; or according to The area selection instruction executes an element selection operation on the stored image, and uses the area including the selected shooting element as the area to be corrected.

在该技术方案中,一种情况下,用户可以在已存储图像上进行区域选择,从而将被选中的区域作为待修正区域。具体地,用户可以直接通过划出手势轨迹,并由该手势轨迹形成选择区域,作为待修正区域;或者,终端可以提供一些预设的图形,比如矩形、圆形等,用户可以通过拖动这些图形的位置以及改变这些图形的大小,从而将这些图形在已存储图像上对应的区域作为待修正区域。In this technical solution, in one case, the user can select an area on the stored image, so that the selected area is used as the area to be corrected. Specifically, the user can directly draw a gesture track and form a selection area from the gesture track as the area to be corrected; or, the terminal can provide some preset graphics, such as rectangles, circles, etc., and the user can drag these The position of the graphics and the size of these graphics are changed, so that the corresponding area of these graphics on the stored image is used as the area to be corrected.

另一种情况下,用户可以对已存储图像上的拍摄元素进行选择,比如对已存储图像上的拍摄元素进行点击,则通过对已存储图像上的拍摄元素进行识别,即可确定被点击的拍摄元素以及对应的待修正区域。In another case, the user can select the shooting element on the stored image, for example, click on the shooting element on the stored image, then by identifying the shooting element on the stored image, the clicked element can be determined. Capture elements and corresponding areas to be corrected.

需要说明的是,拍摄元素可以是一个景物或对象,比如一个人或一座建筑,也可以是该景物或对象的某个部分,比如人眼部分或建筑的门框部分等,可以根据实际情况调整具体的选择方式和精确度。It should be noted that the shooting element can be a scene or object, such as a person or a building, or a certain part of the scene or object, such as the human eye part or the door frame part of the building, etc., which can be adjusted according to the actual situation. selection and accuracy.

在上述任一技术方案中,优选地,包括:元素识别单元,用于识别出所述已存储图像上的拍摄元素;边界判断单元,用于检测所述拍摄元素的边界,并判断所述拍摄元素的边界的特征属性是否满足预设的属性要求;其中,所述修正判断单元在所述拍摄元素不满足预设的属性要求的情况下,将包含所述拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, it includes: an element identification unit, configured to identify the captured elements on the stored image; a boundary judging unit, configured to detect the boundaries of the captured elements, and determine whether the captured elements Whether the characteristic attribute of the boundary of the element meets the preset attribute requirement; wherein, when the photographing element does not meet the preset attribute requirement, the correction judging unit takes the area containing the photographing element as the to-be-corrected area.

在该技术方案中,对于拍摄元素可能存在的不理想状况,比如在拍摄瞬间,由于拍摄者的抖动或拍摄元素的移动等原因,造成的拍摄元素模糊、不连续、重影等,都会体现在该拍摄元素的边界特征上,因而通过对拍摄元素的边界检测和对边界的特征属性判断,即可识别出较多的不理想状况,并生成对应的待修正区域。In this technical solution, the unfavorable conditions that may exist in the shooting elements, such as the blurring, discontinuity, and ghosting of the shooting elements caused by the shake of the photographer or the movement of the shooting elements at the moment of shooting, will be reflected in the On the boundary feature of the photographing element, through the boundary detection of the photographing element and the judgment of the characteristic attribute of the boundary, more unfavorable conditions can be identified, and corresponding regions to be corrected can be generated.

在上述任一技术方案中,优选地,所述特征属性包括:边界的连续性和/或清晰度。In any of the above technical solutions, preferably, the feature attributes include: continuity and/or clarity of boundaries.

在该技术方案中,边界非连续时,可能存在拍摄元素重影、模糊等;边界的清晰度,可以通过对边界的宽度检测而得到,比如发生模糊的情况时,则拍摄元素的边界宽度可能较大,并可能呈现出如颜色渐变等情况,据此可以用于生成相应的待修正区域。In this technical solution, when the boundary is discontinuous, there may be ghosting, blurring, etc. of the shooting element; the definition of the boundary can be obtained by detecting the width of the boundary. For example, when blurring occurs, the boundary width of the shooting element may be Larger, and may present such as color gradients, etc., which can be used to generate the corresponding area to be corrected.

在上述任一技术方案中,优选地,还包括:图像比较单元,用于在拍摄得到所述已存储图像时,将所述已存储图像与所述图像处理装置的图像传感器中接收到的当前图像进行比较;其中,所述修正判断单元在确定存在同一拍摄元素在所述已存储图像和所述当前图像中不一致时,将包含所述同一拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, further comprising: an image comparison unit, configured to compare the stored image with the current image received by the image sensor of the image processing device when the stored image is captured. The images are compared; wherein, when the correction judging unit determines that there is an inconsistency between the stored image and the current image, the correction judging unit takes the area containing the same photographic element as the area to be corrected.

在该技术方案中,已存储图像可以是先前已经拍摄完成的图像,也可以是指刚刚完成拍摄的图像、拍摄者仍保持着拍照姿势的情况下,则对于后一种情况,终端可以通过将该已存储图像与图像传感器接收到的图像进行比较,若存在差异,则说明可能存在如拍摄元素模糊、重影等情况,则可以形成相应的待修正区域。In this technical solution, the stored image may be an image that has been taken previously, or it may refer to an image that has just been taken, and the photographer still maintains a photographing posture. In the latter case, the terminal can use the The stored image is compared with the image received by the image sensor, and if there is a difference, it indicates that there may be situations such as blurred photographed elements, ghosting, etc., and a corresponding area to be corrected can be formed.

在上述任一技术方案中,优选地,还包括:元素查找单元,用于在接收到确认重新拍摄图像的指令的情况下,在所述图像处理装置的图像传感器接收到的图像中查找所述待修正区域中的拍摄元素;提示单元,用于根据查找结果,给出相应的提示信息;元素比较单元,用于在所述元素查找单元查找到所述待修正区域中的拍摄元素的情况下,将查找到的拍摄元素与所述待修正区域中的原始拍摄元素进行比较;其中,所述提示单元还用于根据比较结果,给出相应的提示信息。In any of the above technical solutions, preferably, further comprising: an element search unit, configured to search for the element in the image received by the image sensor of the image processing device in the case of receiving an instruction for confirming to retake the image The shooting elements in the area to be corrected; the prompting unit is used to give corresponding prompt information according to the search result; the element comparison unit is used to find the shooting elements in the area to be corrected by the element search unit , comparing the found photographing elements with the original photographing elements in the region to be corrected; wherein, the prompting unit is further configured to give corresponding prompt information according to the comparison result.

在该技术方案中,如果需要执行重新拍摄,则通过对图像传感器接收到的图像进行识别,查找出其中包含的拍摄元素,即可实现对拍摄者的提示。其中,如果当前图像传感器接收到的图像中不包含待修正区域中的拍摄元素,则提示拍摄者更换拍摄对象;如果包含待修正区域中的拍摄元素,则提示拍摄者进行拍摄,避免拍摄错误。其中,提示信息可以包括文字、声音、图像中的任意一种或多种方式。In this technical solution, if re-shooting is required, the photographer can be reminded by identifying the image received by the image sensor and finding out the shooting elements contained therein. Wherein, if the image received by the current image sensor does not contain the shooting elements in the area to be corrected, the photographer is prompted to change the shooting object; if the image received by the current image sensor contains the shooting elements in the area to be corrected, the photographer is prompted to take pictures to avoid shooting mistakes. Wherein, the prompt information may include any one or more of text, sound, and image.

作为一种较为优选的方式,比如可以对图像传感器中的拍摄元素进行识别,并通过显示出待修正区域中的拍摄元素在图像传感器接收到的图像中的边界形状,从而提示用户已经捕捉到拍摄元素,可以进行拍摄操作。As a more preferred way, for example, the photographing elements in the image sensor can be identified, and the boundary shape of the photographing elements in the area to be corrected is displayed in the image received by the image sensor, thus prompting the user that the photographing element has been captured Elements can be used for shooting operations.

同时,针对同一拍摄元素,仍存在着拍摄角度、拍摄位置远近高低、焦距参数等的不同,因而通过将已存储图像与图像传感器接收到的实时图像进行比较,并根据比较结果给出提示信息,比如提示用户调整拍摄角度、调整角度等,从而确保重新拍摄的图像能够更好地与已存储图像融合为一体,确保对待修正区域进行修正后,不会对已存储图像的整体协调性造成影响。At the same time, for the same shooting element, there are still differences in shooting angle, shooting position, focal length parameters, etc. Therefore, by comparing the stored image with the real-time image received by the image sensor, and giving prompt information according to the comparison result, For example, the user is prompted to adjust the shooting angle, adjust the angle, etc., so as to ensure that the re-shot image can be better integrated with the stored image, and ensure that the correction of the area to be corrected will not affect the overall coordination of the stored image.

其中,在进行提示时,可以仅提示已存储图像对应的拍摄参数,也可以提示出已存储图像的拍摄参数与当前拍摄参数之间的差异,还可以基于上述差异而直接给出相应的调节建议。提示方式也可以包括文字、声音、图像中的任意一种或多种方式。Wherein, when prompting, only the shooting parameters corresponding to the stored images may be prompted, or the difference between the shooting parameters of the stored images and the current shooting parameters may be prompted, and corresponding adjustment suggestions may be directly given based on the above differences . The prompting method may also include any one or more of text, sound, and image.

本发明还提出了一种图像处理方法,包括:获取任一已存储图像;若所述已存储图像中存在待修正区域,则从重新拍摄的图像中提取对应于所述待修正区域的完善区域,以替换所述待修正区域。The present invention also proposes an image processing method, including: acquiring any stored image; if there is an area to be corrected in the stored image, extracting a perfect area corresponding to the area to be corrected from the re-shot image , to replace the area to be corrected.

在该技术方案中,在不容易对已存储图像中的全部拍摄元素进行重新拍摄的情况下,尤其是对于已存储图像中的拍摄对象不容易被拍摄、需要等待较长时间等情况下,通过检测出已存储图像中的待修正区域,并利用重新拍摄图像中的完善区域进行替换,从而仅需执行部分区域的修正,而对于已存储图像中的其他部分则无需修改,既无需重新拍摄整张图像,又能够通过对已存储图像的部分修正而得到令用户满意的图像。In this technical solution, when it is not easy to re-shoot all the shooting elements in the stored image, especially when the shooting objects in the stored image are not easy to be shot and need to wait for a long time, etc., through Detects the area to be corrected in the stored image and replaces it with the perfect area in the recaptured image, so that only part of the area needs to be corrected, while other parts of the stored image do not need to be modified, and there is no need to retake the entire image image, and can obtain an image that satisfies the user by partially correcting the stored image.

其中,每张已存储图像上的待修正区域的个数可以为一个,也可以为多个,且并不限制每个待修正区域的大小和包含的拍摄元素的数量等。Wherein, the number of regions to be corrected on each stored image may be one or multiple, and the size of each region to be corrected and the number of photographing elements contained therein are not limited.

在上述任一技术方案中,优选地,包括:接收区域选择指令,将根据所述区域选择指令在所述已存储图像上选中的区域作为所述待修正区域;或根据所述区域选择指令对所述已存储图像执行元素选择操作,并将包含被选中的拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, it includes: receiving an area selection instruction, using the area selected on the stored image according to the area selection instruction as the area to be corrected; or according to the area selection instruction. An element selection operation is performed on the stored image, and an area including the selected shooting element is used as the area to be corrected.

在该技术方案中,一种情况下,用户可以在已存储图像上进行区域选择,从而将被选中的区域作为待修正区域。具体地,用户可以直接通过划出手势轨迹,并由该手势轨迹形成选择区域,作为待修正区域;或者,终端可以提供一些预设的图形,比如矩形、圆形等,用户可以通过拖动这些图形的位置以及改变这些图形的大小,从而将这些图形在已存储图像上对应的区域作为待修正区域。In this technical solution, in one case, the user can select an area on the stored image, so that the selected area is used as the area to be corrected. Specifically, the user can directly draw a gesture track and form a selection area from the gesture track as the area to be corrected; or, the terminal can provide some preset graphics, such as rectangles, circles, etc., and the user can drag these The position of the graphics and the size of these graphics are changed, so that the corresponding area of these graphics on the stored image is used as the area to be corrected.

另一种情况下,用户可以对已存储图像上的拍摄元素进行选择,比如对已存储图像上的拍摄元素进行点击,则通过对已存储图像上的拍摄元素进行识别,即可确定被点击的拍摄元素以及对应的待修正区域。In another case, the user can select the shooting element on the stored image, for example, click on the shooting element on the stored image, then by identifying the shooting element on the stored image, the clicked element can be determined. Capture elements and corresponding areas to be corrected.

需要说明的是,拍摄元素可以是一个景物或对象,比如一个人或一座建筑,也可以是该景物或对象的某个部分,比如人眼部分或建筑的门框部分等,可以根据实际情况调整具体的选择方式和精确度。It should be noted that the shooting element can be a scene or object, such as a person or a building, or a certain part of the scene or object, such as the human eye part or the door frame part of the building, etc., which can be adjusted according to the actual situation. selection and accuracy.

在上述任一技术方案中,优选地,包括:识别出所述已存储图像上的拍摄元素;检测所述拍摄元素的边界,并判断所述拍摄元素的边界的特征属性是否满足预设的属性要求;若不满足,则将包含所述拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, it includes: identifying the captured elements on the stored image; detecting the boundaries of the captured elements, and judging whether the characteristic attributes of the boundaries of the captured elements meet preset attributes Requirement; if not satisfied, the area containing the photographing element is taken as the area to be corrected.

在该技术方案中,对于拍摄元素可能存在的不理想状况,比如在拍摄瞬间,由于拍摄者的抖动或拍摄元素的移动等原因,造成的拍摄元素模糊、不连续、重影等,都会体现在该拍摄元素的边界特征上,因而通过对拍摄元素的边界检测和对边界的特征属性判断,即可识别出较多的不理想状况,并生成对应的待修正区域。In this technical solution, the unfavorable conditions that may exist in the shooting elements, such as the blurring, discontinuity, and ghosting of the shooting elements caused by the shake of the photographer or the movement of the shooting elements at the moment of shooting, will be reflected in the On the boundary feature of the photographing element, through the boundary detection of the photographing element and the judgment of the characteristic attribute of the boundary, more unfavorable conditions can be identified, and corresponding regions to be corrected can be generated.

在上述任一技术方案中,优选地,所述特征属性包括:边界的连续性和/或清晰度。In any of the above technical solutions, preferably, the feature attributes include: continuity and/or clarity of boundaries.

在该技术方案中,边界非连续时,可能存在拍摄元素重影、模糊等;边界的清晰度,可以通过对边界的宽度检测而得到,比如发生模糊的情况时,则拍摄元素的边界宽度可能较大,并可能呈现出如颜色渐变等情况,据此可以用于生成相应的待修正区域。In this technical solution, when the boundary is discontinuous, there may be ghosting, blurring, etc. of the shooting element; the definition of the boundary can be obtained by detecting the width of the boundary. For example, when blurring occurs, the boundary width of the shooting element may be Larger, and may present such as color gradients, etc., which can be used to generate the corresponding area to be corrected.

在上述任一技术方案中,优选地,包括:在拍摄得到所述已存储图像时,将所述已存储图像与拍摄设备的图像传感器中接收到的当前图像进行比较;若同一拍摄元素在所述已存储图像和所述当前图像中不一致时,将包含所述同一拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, it includes: when the stored image is captured, comparing the stored image with the current image received by the image sensor of the shooting device; When the stored image is inconsistent with the current image, the area including the same photographic element is used as the area to be corrected.

在该技术方案中,已存储图像可以是先前已经拍摄完成的图像,也可以是指刚刚完成拍摄的图像、拍摄者仍保持着拍照姿势的情况下,则对于后一种情况,终端可以通过将该已存储图像与图像传感器接收到的图像进行比较,若存在差异,则说明可能存在如拍摄元素模糊、重影等情况,则可以形成相应的待修正区域。In this technical solution, the stored image may be an image that has been taken previously, or it may refer to an image that has just been taken, and the photographer still maintains a photographing posture. In the latter case, the terminal can use the The stored image is compared with the image received by the image sensor, and if there is a difference, it indicates that there may be situations such as blurred photographed elements, ghosting, etc., and a corresponding area to be corrected can be formed.

在上述任一技术方案中,优选地,还包括:当接收到确认重新拍摄图像的指令时,在拍摄设备的图像传感器接收到的图像中查找所述待修正区域中的拍摄元素,并根据查找结果,给出相应的提示信息;当查找到所述待修正区域中的拍摄元素时,将查找到的拍摄元素与所述待修正区域中的原始拍摄元素进行比较,并根据比较结果,给出相应的提示信息。In any of the above technical solutions, preferably, further comprising: when receiving an instruction for confirming to retake the image, searching for the photographing element in the area to be corrected in the image received by the image sensor of the photographing device, and according to the search As a result, corresponding prompt information is given; when the photographing elements in the area to be corrected are found, compare the found photographing elements with the original photographing elements in the area to be corrected, and according to the comparison result, give corresponding prompt information.

在该技术方案中,如果需要执行重新拍摄,则通过对图像传感器接收到的图像进行识别,查找出其中包含的拍摄元素,即可实现对拍摄者的提示。其中,如果当前图像传感器接收到的图像中不包含待修正区域中的拍摄元素,则提示拍摄者更换拍摄对象;如果包含待修正区域中的拍摄元素,则提示拍摄者进行拍摄,避免拍摄错误。其中,提示信息可以包括文字、声音、图像中的任意一种或多种方式。In this technical solution, if re-shooting is required, the photographer can be reminded by identifying the image received by the image sensor and finding out the shooting elements contained therein. Wherein, if the image received by the current image sensor does not contain the shooting elements in the area to be corrected, the photographer is prompted to change the shooting object; if the image received by the current image sensor contains the shooting elements in the area to be corrected, the photographer is prompted to take pictures to avoid shooting mistakes. Wherein, the prompt information may include any one or more of text, sound, and image.

作为一种较为优选的方式,比如可以对图像传感器中的拍摄元素进行识别,并通过显示出待修正区域中的拍摄元素在图像传感器接收到的图像中的边界形状,从而提示用户已经捕捉到拍摄元素,可以进行拍摄操作。As a more preferred way, for example, the photographing elements in the image sensor can be identified, and the boundary shape of the photographing elements in the area to be corrected is displayed in the image received by the image sensor, thus prompting the user that the photographing element has been captured Elements can be used for shooting operations.

同时,针对同一拍摄元素,仍存在着拍摄角度、拍摄位置远近高低、焦距参数等的不同,因而通过将已存储图像与图像传感器接收到的实时图像进行比较,并根据比较结果给出提示信息,比如提示用户调整拍摄角度、调整角度等,从而确保重新拍摄的图像能够更好地与已存储图像融合为一体,确保对待修正区域进行修正后,不会对已存储图像的整体协调性造成影响。At the same time, for the same shooting element, there are still differences in shooting angle, shooting position, focal length parameters, etc. Therefore, by comparing the stored image with the real-time image received by the image sensor, and giving prompt information according to the comparison result, For example, the user is prompted to adjust the shooting angle, adjust the angle, etc., so as to ensure that the re-shot image can be better integrated with the stored image, and ensure that the correction of the area to be corrected will not affect the overall coordination of the stored image.

其中,在进行提示时,可以仅提示已存储图像对应的拍摄参数,也可以提示出已存储图像的拍摄参数与当前拍摄参数之间的差异,还可以基于上述差异而直接给出相应的调节建议。提示方式也可以包括文字、声音、图像中的任意一种或多种方式。Wherein, when prompting, only the shooting parameters corresponding to the stored images may be prompted, or the difference between the shooting parameters of the stored images and the current shooting parameters may be prompted, and corresponding adjustment suggestions may be directly given based on the above differences . The prompting method may also include any one or more of text, sound, and image.

通过以上技术方案,可以通过补拍的方式,对图像中不理想的部分进行替换,从而得到符合用户需求的图像。Through the above technical solution, the unsatisfactory part in the image can be replaced by way of supplementary shooting, so as to obtain an image meeting the user's needs.

附图说明Description of drawings

图1示出了根据本发明的实施例的图像处理装置的示意框图;Fig. 1 shows a schematic block diagram of an image processing device according to an embodiment of the present invention;

图2示出了根据本发明的实施例的图像处理方法的示意流程图;Fig. 2 shows a schematic flowchart of an image processing method according to an embodiment of the present invention;

图3至图8示出了根据本发明的实施例的通过区域替换实现图像修正的示意图。3 to 8 show schematic diagrams of implementing image correction through region replacement according to an embodiment of the present invention.

具体实施方式detailed description

为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

图1示出了根据本发明的实施例的图像处理装置的示意框图。Fig. 1 shows a schematic block diagram of an image processing device according to an embodiment of the present invention.

如图1所示,根据本发明的实施例的图像处理装置100,包括:图像获取单元102,用于获取任一已存储图像;修正判断单元104,用于判断所述已存储图像中是否存在待修正区域;图像修正单元106,用于从重新拍摄的图像中提取对应于所述待修正区域的完善区域,以替换所述待修正区域。As shown in FIG. 1 , the image processing device 100 according to the embodiment of the present invention includes: an image acquisition unit 102 for acquiring any stored image; a correction judgment unit 104 for judging whether there is The region to be corrected: an image correction unit 106, configured to extract a perfect region corresponding to the region to be corrected from the re-taken image to replace the region to be corrected.

在该技术方案中,在不容易对已存储图像中的全部拍摄元素进行重新拍摄的情况下,尤其是对于已存储图像中的拍摄对象不容易被拍摄、需要等待较长时间等情况下,通过检测出已存储图像中的待修正区域,并利用重新拍摄图像中的完善区域进行替换,从而仅需执行部分区域的修正,而对于已存储图像中的其他部分则无需修改,既无需重新拍摄整张图像,又能够通过对已存储图像的部分修正而得到令用户满意的图像。In this technical solution, when it is not easy to re-shoot all the shooting elements in the stored image, especially when the shooting objects in the stored image are not easy to be shot and need to wait for a long time, etc., through Detects the area to be corrected in the stored image and replaces it with the perfect area in the recaptured image, so that only part of the area needs to be corrected, while other parts of the stored image do not need to be modified, and there is no need to retake the entire image image, and can obtain an image that satisfies the user by partially correcting the stored image.

其中,每张已存储图像上的待修正区域的个数可以为一个,也可以为多个,且并不限制每个待修正区域的大小和包含的拍摄元素的数量等。Wherein, the number of regions to be corrected on each stored image may be one or multiple, and the size of each region to be corrected and the number of photographing elements contained therein are not limited.

在上述技术方案中,优选地,包括:模式切换单元108,用于根据接收到的模式切换指令,进入图像修正模式;区域选择单元110,用于根据接收到的区域选择指令,在所述已存储图像上确定所述待修正区域。In the above technical solution, preferably, it includes: a mode switching unit 108, configured to enter the image correction mode according to the received mode switching instruction; an area selection unit 110, configured to enter the image correction mode according to the received area selection instruction. The region to be corrected is determined on the stored image.

在该技术方案中,通过设置不同的模式,有助于避免发生误触碰,尤其是对于触摸屏终端等,有助于降低误操作的发生。其中,模式切换指令可以是由用户手动发出的,比如用户可以通过点击屏幕上的虚拟按键、在屏幕上划出预设手势轨迹等方式来发出该指令;模式切换指令也可以是由终端自行发出的,比如在每次完成图像拍摄后,会在终端屏幕上展示已拍摄的图像,则此时可以默认进入图像修正模式。In this technical solution, by setting different modes, it is helpful to avoid false touches, especially for touch screen terminals, which helps to reduce the occurrence of false operations. Among them, the mode switching instruction can be issued manually by the user, for example, the user can issue the instruction by clicking a virtual button on the screen, drawing a preset gesture track on the screen, etc.; the mode switching instruction can also be issued by the terminal itself For example, after each image capture is completed, the captured image will be displayed on the terminal screen, then the image correction mode can be entered by default at this time.

通过接收用户发出的区域选择指令,则用户可以在自主查看已存储图像,以确定是否存在待修正区域,从而实现对待修正区域的选择。By receiving an area selection instruction issued by the user, the user can independently check the stored image to determine whether there is an area to be corrected, so as to realize the selection of the area to be corrected.

在上述任一技术方案中,优选地,所述区域选择单元110用于:将根据所述区域选择指令在所述已存储图像上选中的区域作为所述待修正区域;或根据所述区域选择指令对所述已存储图像执行元素选择操作,并将包含被选中的拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, the area selection unit 110 is configured to: use the area selected on the stored image according to the area selection instruction as the area to be corrected; The instruction executes an element selection operation on the stored image, and uses the area containing the selected shooting element as the area to be corrected.

在该技术方案中,一种情况下,用户可以在已存储图像上进行区域选择,从而将被选中的区域作为待修正区域。具体地,用户可以直接通过划出手势轨迹,并由该手势轨迹形成选择区域,作为待修正区域;或者,终端可以提供一些预设的图形,比如矩形、圆形等,用户可以通过拖动这些图形的位置以及改变这些图形的大小,从而将这些图形在已存储图像上对应的区域作为待修正区域。In this technical solution, in one case, the user can select an area on the stored image, so that the selected area is used as the area to be corrected. Specifically, the user can directly draw a gesture track and form a selection area from the gesture track as the area to be corrected; or, the terminal can provide some preset graphics, such as rectangles, circles, etc., and the user can drag these The position of the graphics and the size of these graphics are changed, so that the corresponding area of these graphics on the stored image is used as the area to be corrected.

另一种情况下,用户可以对已存储图像上的拍摄元素进行选择,比如对已存储图像上的拍摄元素进行点击,则通过对已存储图像上的拍摄元素进行识别,即可确定被点击的拍摄元素以及对应的待修正区域。In another case, the user can select the shooting element on the stored image, for example, click on the shooting element on the stored image, then by identifying the shooting element on the stored image, the clicked element can be determined. Capture elements and corresponding areas to be corrected.

需要说明的是,拍摄元素可以是一个景物或对象,比如一个人或一座建筑,也可以是该景物或对象的某个部分,比如人眼部分或建筑的门框部分等,可以根据实际情况调整具体的选择方式和精确度。It should be noted that the shooting element can be a scene or object, such as a person or a building, or a certain part of the scene or object, such as the human eye part or the door frame part of the building, etc., which can be adjusted according to the actual situation. selection and accuracy.

在上述任一技术方案中,优选地,包括:元素识别单元112,用于识别出所述已存储图像上的拍摄元素;边界判断单元114,用于检测所述拍摄元素的边界,并判断所述拍摄元素的边界的特征属性是否满足预设的属性要求;其中,所述修正判断单元104在所述拍摄元素不满足预设的属性要求的情况下,将包含所述拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, it includes: an element identification unit 112, configured to identify the captured elements on the stored image; a boundary judging unit 114, configured to detect the boundaries of the captured elements, and determine the Whether the characteristic attribute of the boundary of the photographed element meets the preset attribute requirements; wherein, the correction judgment unit 104 takes the area containing the photographed element as the Describe the area to be corrected.

在该技术方案中,对于拍摄元素可能存在的不理想状况,比如在拍摄瞬间,由于拍摄者的抖动或拍摄元素的移动等原因,造成的拍摄元素模糊、不连续、重影等,都会体现在该拍摄元素的边界特征上,因而通过对拍摄元素的边界检测和对边界的特征属性判断,即可识别出较多的不理想状况,并生成对应的待修正区域。In this technical solution, the unfavorable conditions that may exist in the shooting elements, such as the blurring, discontinuity, and ghosting of the shooting elements caused by the shake of the photographer or the movement of the shooting elements at the moment of shooting, will be reflected in the On the boundary feature of the photographing element, through the boundary detection of the photographing element and the judgment of the characteristic attribute of the boundary, more unfavorable conditions can be identified, and corresponding regions to be corrected can be generated.

在上述任一技术方案中,优选地,所述特征属性包括:边界的连续性和/或清晰度。In any of the above technical solutions, preferably, the feature attributes include: continuity and/or clarity of boundaries.

在该技术方案中,边界非连续时,可能存在拍摄元素重影、模糊等;边界的清晰度,可以通过对边界的宽度检测而得到,比如发生模糊的情况时,则拍摄元素的边界宽度可能较大,并可能呈现出如颜色渐变等情况,据此可以用于生成相应的待修正区域。In this technical solution, when the boundary is discontinuous, there may be ghosting, blurring, etc. of the shooting element; the definition of the boundary can be obtained by detecting the width of the boundary. For example, when blurring occurs, the boundary width of the shooting element may be Larger, and may present such as color gradients, etc., which can be used to generate the corresponding area to be corrected.

在上述任一技术方案中,优选地,还包括:图像比较单元116,用于在拍摄得到所述已存储图像时,将所述已存储图像与所述图像处理装置的图像传感器中接收到的当前图像进行比较;其中,所述修正判断单元104在确定存在同一拍摄元素在所述已存储图像和所述当前图像中不一致时,将包含所述同一拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, it further includes: an image comparison unit 116, configured to compare the stored image with the image received by the image sensor of the image processing device when the stored image is captured. The current image is compared; wherein, when the correction judging unit 104 determines that there is an inconsistency between the stored image and the current image, the correction judging unit 104 takes an area containing the same imaging element as the area to be corrected.

在该技术方案中,已存储图像可以是先前已经拍摄完成的图像,也可以是指刚刚完成拍摄的图像、拍摄者仍保持着拍照姿势的情况下,则对于后一种情况,终端可以通过将该已存储图像与图像传感器接收到的图像进行比较,若存在差异,则说明可能存在如拍摄元素模糊、重影等情况,则可以形成相应的待修正区域。In this technical solution, the stored image may be an image that has been taken previously, or it may refer to an image that has just been taken, and the photographer still maintains a photographing posture. In the latter case, the terminal can use the The stored image is compared with the image received by the image sensor, and if there is a difference, it indicates that there may be situations such as blurred photographed elements, ghosting, etc., and a corresponding area to be corrected can be formed.

在上述任一技术方案中,优选地,还包括:元素标示单元118,用于在确定存在所述待修正区域的情况下,在所述已存储图像中对所述待修正区域和/或所述待修正区域中的拍摄元素进行标示。In any of the above technical solutions, preferably, further comprising: an element labeling unit 118, configured to mark the region to be corrected and/or the region to be corrected in the stored image when it is determined that the region to be corrected exists Mark the shooting elements in the area to be corrected.

在该技术方案中,通过对待修正区域和/或其中的拍摄元素进行标示,则有助于提示用户,从而尽可能地通过修正的方式,完善图像。标示的方式可以有很多种,比如在需要标示的位置显示预设图标,或在该已存储图像上显示出待修正区域和/或其中的拍摄元素的边界,或通过其他的文字、声音、图像等方式进行标示,以提醒用户。当然,上述的如显示边界等方式,并不一定是对已存储图像本身进行的编辑,而可以将其作为在查看或预览情形下的显示方式,比如将其作为在已存储图像上方叠加的一层显示图案等。In this technical solution, by marking the area to be corrected and/or the shooting elements therein, it is helpful to prompt the user, so that the image can be improved as much as possible by means of correction. There are many ways to mark, such as displaying a preset icon at the position that needs to be marked, or displaying the boundary of the area to be corrected and/or the shooting elements in the stored image, or through other text, sound, image and so on to remind users. Of course, the above-mentioned methods such as displaying borders are not necessarily edits to the stored image itself, but can be used as a display method in the case of viewing or previewing, such as using it as a superimposed image on the stored image. Layers display patterns, etc.

在上述任一技术方案中,优选地,还包括:元素查找单元120,用于在接收到确认重新拍摄图像的指令的情况下,在所述图像处理装置100的图像传感器接收到的图像中查找所述待修正区域中的拍摄元素;提示单元122,用于根据查找结果,给出相应的提示信息。In any of the above technical solutions, preferably, further comprising: an element search unit 120, configured to search for an element in the image received by the image sensor of the image processing device 100 in the case of receiving an instruction to confirm that the image is retaken. The shooting elements in the area to be corrected; the prompting unit 122, configured to give corresponding prompting information according to the search result.

在该技术方案中,如果需要执行重新拍摄,则通过对图像传感器接收到的图像进行识别,查找出其中包含的拍摄元素,即可实现对拍摄者的提示。其中,如果当前图像传感器接收到的图像中不包含待修正区域中的拍摄元素,则提示拍摄者更换拍摄对象;如果包含待修正区域中的拍摄元素,则提示拍摄者进行拍摄,避免拍摄错误。其中,提示信息可以包括文字、声音、图像中的任意一种或多种方式。In this technical solution, if re-shooting is required, the photographer can be reminded by identifying the image received by the image sensor and finding out the shooting elements contained therein. Wherein, if the image received by the current image sensor does not contain the shooting elements in the area to be corrected, the photographer is prompted to change the shooting object; if the image received by the current image sensor contains the shooting elements in the area to be corrected, the photographer is prompted to take pictures to avoid shooting mistakes. Wherein, the prompt information may include any one or more of text, sound, and image.

作为一种较为优选的方式,比如可以对图像传感器中的拍摄元素进行识别,并通过显示出待修正区域中的拍摄元素在图像传感器接收到的图像中的边界形状,从而提示用户已经捕捉到拍摄元素,可以进行拍摄操作。As a more preferred way, for example, the photographing elements in the image sensor can be identified, and the boundary shape of the photographing elements in the area to be corrected is displayed in the image received by the image sensor, thus prompting the user that the photographing element has been captured Elements can be used for shooting operations.

在上述任一技术方案中,优选地,还包括:元素比较单元124,用于在所述元素查找单元120查找到所述待修正区域中的拍摄元素的情况下,将查找到的拍摄元素与所述待修正区域中的原始拍摄元素进行比较;其中,所述提示单元122还用于根据比较结果,给出相应的提示信息。In any of the above technical solutions, preferably, further comprising: an element comparing unit 124, configured to compare the found photographing element with The original photographed elements in the area to be corrected are compared; wherein, the prompt unit 122 is further configured to give corresponding prompt information according to the comparison result.

在该技术方案中,针对同一拍摄元素,仍存在着拍摄角度、拍摄位置远近高低、焦距参数等的不同,因而通过将已存储图像与图像传感器接收到的实时图像进行比较,并根据比较结果给出提示信息,比如提示用户调整拍摄角度、调整角度等,从而确保重新拍摄的图像能够更好地与已存储图像融合为一体,确保对待修正区域进行修正后,不会对已存储图像的整体协调性造成影响。In this technical solution, for the same shooting element, there are still differences in shooting angle, shooting position, focal length parameters, etc. Prompt information, such as reminding the user to adjust the shooting angle, adjust the angle, etc., so as to ensure that the re-taken image can be better integrated with the stored image, and ensure that after the correction of the area to be corrected, the overall coordination of the stored image will not be affected. sex affects.

其中,在进行提示时,可以仅提示已存储图像对应的拍摄参数,也可以提示出已存储图像的拍摄参数与当前拍摄参数之间的差异,还可以基于上述差异而直接给出相应的调节建议。提示方式也可以包括文字、声音、图像中的任意一种或多种方式。Wherein, when prompting, only the shooting parameters corresponding to the stored images may be prompted, or the difference between the shooting parameters of the stored images and the current shooting parameters may be prompted, and corresponding adjustment suggestions may be directly given based on the above differences . The prompting method may also include any one or more of text, sound, and image.

图2示出了根据本发明的实施例的图像处理方法的示意流程图。Fig. 2 shows a schematic flowchart of an image processing method according to an embodiment of the present invention.

如图2所示,根据本发明的实施例的图像处理方法,包括:步骤202,获取任一已存储图像;步骤204,若所述已存储图像中存在待修正区域,则从重新拍摄的图像中提取对应于所述待修正区域的完善区域,以替换所述待修正区域。As shown in FIG. 2 , the image processing method according to the embodiment of the present invention includes: step 202, acquiring any stored image; step 204, if there is an area to be corrected in the stored image, then Extracting a perfect region corresponding to the region to be corrected to replace the region to be corrected.

在该技术方案中,在不容易对已存储图像中的全部拍摄元素进行重新拍摄的情况下,尤其是对于已存储图像中的拍摄对象不容易被拍摄、需要等待较长时间等情况下,通过检测出已存储图像中的待修正区域,并利用重新拍摄图像中的完善区域进行替换,从而仅需执行部分区域的修正,而对于已存储图像中的其他部分则无需修改,既无需重新拍摄整张图像,又能够通过对已存储图像的部分修正而得到令用户满意的图像。In this technical solution, when it is not easy to re-shoot all the shooting elements in the stored image, especially when the shooting objects in the stored image are not easy to be shot and need to wait for a long time, etc., through Detects the area to be corrected in the stored image and replaces it with the perfect area in the recaptured image, so that only part of the area needs to be corrected, while other parts of the stored image do not need to be modified, and there is no need to retake the entire image image, and can obtain an image that satisfies the user by partially correcting the stored image.

其中,每张已存储图像上的待修正区域的个数可以为一个,也可以为多个,且并不限制每个待修正区域的大小和包含的拍摄元素的数量等。Wherein, the number of regions to be corrected on each stored image may be one or multiple, and the size of each region to be corrected and the number of photographing elements contained therein are not limited.

在上述技术方案中,优选地,包括:根据接收到的模式切换指令,进入图像修正模式;根据接收到的区域选择指令,在所述已存储图像上确定所述待修正区域。In the above technical solution, preferably, it includes: entering the image correction mode according to the received mode switching instruction; and determining the region to be corrected on the stored image according to the received region selection instruction.

在该技术方案中,通过设置不同的模式,有助于避免发生误触碰,尤其是对于触摸屏终端等,有助于降低误操作的发生。其中,模式切换指令可以是由用户手动发出的,比如用户可以通过点击屏幕上的虚拟按键、在屏幕上划出预设手势轨迹等方式来发出该指令;模式切换指令也可以是由终端自行发出的,比如在每次完成图像拍摄后,会在终端屏幕上展示已拍摄的图像,则此时可以默认进入图像修正模式。In this technical solution, by setting different modes, it is helpful to avoid false touches, especially for touch screen terminals, which helps to reduce the occurrence of false operations. Among them, the mode switching instruction can be issued manually by the user, for example, the user can issue the instruction by clicking a virtual button on the screen, drawing a preset gesture track on the screen, etc.; the mode switching instruction can also be issued by the terminal itself For example, after each image capture is completed, the captured image will be displayed on the terminal screen, then the image correction mode can be entered by default at this time.

通过接收用户发出的区域选择指令,则用户可以在自主查看已存储图像,以确定是否存在待修正区域,从而实现对待修正区域的选择。By receiving an area selection instruction issued by the user, the user can independently check the stored image to determine whether there is an area to be corrected, so as to realize the selection of the area to be corrected.

在上述任一技术方案中,优选地,包括:将根据所述区域选择指令在所述已存储图像上选中的区域作为所述待修正区域;或根据所述区域选择指令对所述已存储图像执行元素选择操作,并将包含被选中的拍摄元素的区域作为所述待修正区域。In any of the above-mentioned technical solutions, preferably, it includes: taking the area selected on the stored image according to the area selection instruction as the area to be corrected; or selecting the stored image according to the area selection instruction An element selection operation is performed, and an area including the selected shooting element is used as the area to be corrected.

在该技术方案中,一种情况下,用户可以在已存储图像上进行区域选择,从而将被选中的区域作为待修正区域。具体地,用户可以直接通过划出手势轨迹,并由该手势轨迹形成选择区域,作为待修正区域;或者,终端可以提供一些预设的图形,比如矩形、圆形等,用户可以通过拖动这些图形的位置以及改变这些图形的大小,从而将这些图形在已存储图像上对应的区域作为待修正区域。In this technical solution, in one case, the user can select an area on the stored image, so that the selected area is used as the area to be corrected. Specifically, the user can directly draw a gesture track and form a selection area from the gesture track as the area to be corrected; or, the terminal can provide some preset graphics, such as rectangles, circles, etc., and the user can drag these The position of the graphics and the size of these graphics are changed, so that the corresponding area of these graphics on the stored image is used as the area to be corrected.

另一种情况下,用户可以对已存储图像上的拍摄元素进行选择,比如对已存储图像上的拍摄元素进行点击,则通过对已存储图像上的拍摄元素进行识别,即可确定被点击的拍摄元素以及对应的待修正区域。In another case, the user can select the shooting element on the stored image, for example, click on the shooting element on the stored image, then by identifying the shooting element on the stored image, the clicked element can be determined. Capture elements and corresponding areas to be corrected.

需要说明的是,拍摄元素可以是一个景物或对象,比如一个人或一座建筑,也可以是该景物或对象的某个部分,比如人眼部分或建筑的门框部分等,可以根据实际情况调整具体的选择方式和精确度。It should be noted that the shooting element can be a scene or object, such as a person or a building, or a certain part of the scene or object, such as the human eye part or the door frame part of the building, etc., which can be adjusted according to the actual situation. selection and accuracy.

在上述任一技术方案中,优选地,包括:识别出所述已存储图像上的拍摄元素;检测所述拍摄元素的边界,并判断所述拍摄元素的边界的特征属性是否满足预设的属性要求;若不满足,则将包含所述拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, it includes: identifying the captured elements on the stored image; detecting the boundaries of the captured elements, and judging whether the characteristic attributes of the boundaries of the captured elements meet preset attributes Requirement; if not satisfied, the area containing the photographing element is taken as the area to be corrected.

在该技术方案中,对于拍摄元素可能存在的不理想状况,比如在拍摄瞬间,由于拍摄者的抖动或拍摄元素的移动等原因,造成的拍摄元素模糊、不连续、重影等,都会体现在该拍摄元素的边界特征上,因而通过对拍摄元素的边界检测和对边界的特征属性判断,即可识别出较多的不理想状况,并生成对应的待修正区域。In this technical solution, the unfavorable conditions that may exist in the shooting elements, such as the blurring, discontinuity, and ghosting of the shooting elements caused by the shake of the photographer or the movement of the shooting elements at the moment of shooting, will be reflected in the On the boundary feature of the photographing element, through the boundary detection of the photographing element and the judgment of the characteristic attribute of the boundary, more unfavorable conditions can be identified, and corresponding regions to be corrected can be generated.

在上述任一技术方案中,优选地,所述特征属性包括:边界的连续性和/或清晰度。In any of the above technical solutions, preferably, the feature attributes include: continuity and/or clarity of boundaries.

在该技术方案中,边界非连续时,可能存在拍摄元素重影、模糊等;边界的清晰度,可以通过对边界的宽度检测而得到,比如发生模糊的情况时,则拍摄元素的边界宽度可能较大,并可能呈现出如颜色渐变等情况,据此可以用于生成相应的待修正区域。In this technical solution, when the boundary is discontinuous, there may be ghosting, blurring, etc. of the shooting element; the definition of the boundary can be obtained by detecting the width of the boundary. For example, when blurring occurs, the boundary width of the shooting element may be Larger, and may present such as color gradients, etc., which can be used to generate the corresponding area to be corrected.

在上述任一技术方案中,优选地,包括:在拍摄得到所述已存储图像时,将所述已存储图像与拍摄设备的图像传感器中接收到的当前图像进行比较;若同一拍摄元素在所述已存储图像和所述当前图像中不一致时,将包含所述同一拍摄元素的区域作为所述待修正区域。In any of the above technical solutions, preferably, it includes: when the stored image is captured, comparing the stored image with the current image received by the image sensor of the shooting device; When the stored image is inconsistent with the current image, the area including the same photographic element is used as the area to be corrected.

在该技术方案中,已存储图像可以是先前已经拍摄完成的图像,也可以是指刚刚完成拍摄的图像、拍摄者仍保持着拍照姿势的情况下,则对于后一种情况,终端可以通过将该已存储图像与图像传感器接收到的图像进行比较,若存在差异,则说明可能存在如拍摄元素模糊、重影等情况,则可以形成相应的待修正区域。In this technical solution, the stored image may be an image that has been taken previously, or it may refer to an image that has just been taken, and the photographer still maintains a photographing posture. In the latter case, the terminal can use the The stored image is compared with the image received by the image sensor, and if there is a difference, it indicates that there may be situations such as blurred photographed elements, ghosting, etc., and a corresponding area to be corrected can be formed.

在上述任一技术方案中,优选地,还包括:若存在所述待修正区域,则在所述已存储图像中对所述待修正区域和/或所述待修正区域中的拍摄元素进行标示。In any of the above technical solutions, preferably, further comprising: if there is the region to be corrected, marking the region to be corrected and/or the shooting elements in the region to be corrected in the stored image .

在该技术方案中,通过对待修正区域和/或其中的拍摄元素进行标示,则有助于提示用户,从而尽可能地通过修正的方式,完善图像。标示的方式可以有很多种,比如在需要标示的位置显示预设图标,或在该已存储图像上显示出待修正区域和/或其中的拍摄元素的边界,或通过其他的文字、声音、图像等方式进行标示,以提醒用户。当然,上述的如显示边界等方式,并不一定是对已存储图像本身进行的编辑,而可以将其作为在查看或预览情形下的显示方式,比如将其作为在已存储图像上方叠加的一层显示图案等。In this technical solution, by marking the area to be corrected and/or the shooting elements therein, it is helpful to prompt the user, so that the image can be improved as much as possible by means of correction. There are many ways to mark, such as displaying a preset icon at the position that needs to be marked, or displaying the boundary of the area to be corrected and/or the shooting elements in the stored image, or through other text, sound, image and so on to remind users. Of course, the above-mentioned methods such as displaying borders are not necessarily edits to the stored image itself, but can be used as a display method in the case of viewing or previewing, such as using it as a superimposed image on the stored image. Layers display patterns, etc.

在上述任一技术方案中,优选地,还包括:当接收到确认重新拍摄图像的指令时,在拍摄设备的图像传感器接收到的图像中查找所述待修正区域中的拍摄元素;根据查找结果,给出相应的提示信息。In any of the above technical solutions, preferably, further comprising: when receiving an instruction for confirming to retake the image, searching for the shooting elements in the area to be corrected in the image received by the image sensor of the shooting device; according to the search result , give the corresponding prompt information.

在该技术方案中,如果需要执行重新拍摄,则通过对图像传感器接收到的图像进行识别,查找出其中包含的拍摄元素,即可实现对拍摄者的提示。其中,如果当前图像传感器接收到的图像中不包含待修正区域中的拍摄元素,则提示拍摄者更换拍摄对象;如果包含待修正区域中的拍摄元素,则提示拍摄者进行拍摄,避免拍摄错误。其中,提示信息可以包括文字、声音、图像中的任意一种或多种方式。In this technical solution, if re-shooting is required, the photographer can be reminded by identifying the image received by the image sensor and finding out the shooting elements contained therein. Wherein, if the image received by the current image sensor does not contain the shooting elements in the area to be corrected, the photographer is prompted to change the shooting object; if the image received by the current image sensor contains the shooting elements in the area to be corrected, the photographer is prompted to take pictures to avoid shooting mistakes. Wherein, the prompt information may include any one or more of text, sound, and image.

作为一种较为优选的方式,比如可以对图像传感器中的拍摄元素进行识别,并通过显示出待修正区域中的拍摄元素在图像传感器接收到的图像中的边界形状,从而提示用户已经捕捉到拍摄元素,可以进行拍摄操作。As a more preferred way, for example, the photographing elements in the image sensor can be identified, and the boundary shape of the photographing elements in the area to be corrected is displayed in the image received by the image sensor, thus prompting the user that the photographing element has been captured Elements can be used for shooting operations.

在上述任一技术方案中,优选地,还包括:当查找到所述待修正区域中的拍摄元素时,将查找到的拍摄元素与所述待修正区域中的原始拍摄元素进行比较;根据比较结果,给出相应的提示信息。In any of the above technical solutions, preferably, further comprising: when the photographing elements in the area to be corrected are found, comparing the found photographing elements with the original photographing elements in the area to be corrected; As a result, a corresponding prompt message is given.

在该技术方案中,针对同一拍摄元素,仍存在着拍摄角度、拍摄位置远近高低、焦距参数等的不同,因而通过将已存储图像与图像传感器接收到的实时图像进行比较,并根据比较结果给出提示信息,比如提示用户调整拍摄角度、调整角度等,从而确保重新拍摄的图像能够更好地与已存储图像融合为一体,确保对待修正区域进行修正后,不会对已存储图像的整体协调性造成影响。In this technical solution, for the same shooting element, there are still differences in shooting angle, shooting position, focal length parameters, etc. Prompt information, such as reminding the user to adjust the shooting angle, adjust the angle, etc., so as to ensure that the re-taken image can be better integrated with the stored image, and ensure that after the correction of the area to be corrected, the overall coordination of the stored image will not be affected. sex affects.

其中,在进行提示时,可以仅提示已存储图像对应的拍摄参数,也可以提示出已存储图像的拍摄参数与当前拍摄参数之间的差异,还可以基于上述差异而直接给出相应的调节建议。提示方式也可以包括文字、声音、图像中的任意一种或多种方式。Wherein, when prompting, only the shooting parameters corresponding to the stored images may be prompted, or the difference between the shooting parameters of the stored images and the current shooting parameters may be prompted, and corresponding adjustment suggestions may be directly given based on the above differences . The prompting method may also include any one or more of text, sound, and image.

下面结合图3至图8,对基于本发明的图像处理的技术方案进行详细说明,其中,图3至图8示出了根据本发明的实施例的通过区域替换实现图像修正的示意图。The technical solution of the image processing based on the present invention will be described in detail below with reference to FIG. 3 to FIG. 8 , wherein FIG. 3 to FIG. 8 show schematic diagrams of implementing image correction through region replacement according to an embodiment of the present invention.

在使用终端拍摄照片时,比如照相机、手机、平板手机、平板电脑等,由于拍摄者手持终端时不稳,或被拍摄的对象在拍摄瞬间移动等情况下,往往会导致照片出现模糊、重影等情况,使得照片难以令人满意。When using a terminal to take photos, such as cameras, mobile phones, tablet phones, tablet computers, etc., due to the instability of the photographer when holding the terminal, or the instantaneous movement of the object being photographed, etc., the photos often appear blurred and ghosting And so on, making the photos unsatisfactory.

重新拍摄固然是可以选择的方式;但有时拍摄场景中包含了很多拍摄元素,这些拍摄元素在当时的组合状态,可能并不是很容易重现的,并且图像中除了部分不令人满意的部分外,其他部分可能还是可取的,因而本发明希望仅通过对图像中部分不令人满意的部分进行替换,以避免对整张图像的重新拍摄。Re-shooting is of course an option; but sometimes the shooting scene contains a lot of shooting elements, and the combined state of these shooting elements at that time may not be very easy to reproduce, and in addition to some unsatisfactory parts in the image , other parts may still be desirable, so the present invention hopes to avoid reshooting the entire image by only replacing some unsatisfactory parts in the image.

比如图3所示,为使用终端进行拍摄后,得到的图像在终端桌面上的展示情况。其中,由于在拍摄瞬间,图像中动物的上肢发生了移动,使得在图像中形成了重影和模糊的后果,则这部分图像构成了待修正区域302,需要通过对该部分的补拍,以实现替换。For example, as shown in FIG. 3 , after using the terminal to shoot, the obtained image is displayed on the terminal desktop. Wherein, due to the movement of the upper limbs of the animal in the image at the moment of shooting, the consequences of ghosting and blurring are formed in the image, then this part of the image constitutes the area to be corrected 302, which needs to be supplemented by shooting this part. Implement replacement.

基于上述技术方案和目的,下面从相关的几个方面,结合具体的实施方式,对方案的实现过程进行详细介绍。Based on the above technical solutions and objectives, the implementation process of the solutions will be introduced in detail below from several relevant aspects and in combination with specific implementation modes.

1、选取区域1. Select an area

实施例一Embodiment one

为了降低终端的计算量,并且能够更加贴合用户自身的需求,显然应该由用户自行选择和确定待修正区域302的位置。In order to reduce the calculation amount of the terminal and better meet the user's own needs, it is obvious that the user should select and determine the location of the region to be corrected 302 by himself.

如图4所示,一种情况下,用户可以直接在需要进行修正的图像上进行选择,比如在图像上划出相应的手势轨迹304,则终端基于该手势轨迹304,直接生成如图3所示的待修正区域302。As shown in Figure 4, in one case, the user can directly select the image that needs to be corrected, such as drawing a corresponding gesture track 304 on the image, then the terminal will directly generate the image shown in Figure 3 based on the gesture track 304. The region to be corrected 302 is shown.

当然,用户可以直接划出如图4所示的构成封闭图形的手势轨迹304;也可以借助终端的屏幕边界,比如划出一条端点分别连接至终端的右侧和下侧边框的线段(图中未示出),则该线段、屏幕右侧边框、屏幕下侧边框共同构成的区域,即为如图3所示的待修正区域302。Of course, the user can directly draw the gesture trajectory 304 forming a closed figure as shown in FIG. not shown), then the area formed by the line segment, the right border of the screen, and the lower border of the screen is the area to be corrected 302 as shown in FIG. 3 .

另一种情况下,用户无需划出如图4所示的手势轨迹304,而是如图5所示,可以由终端直接提供备选区域的图形,如矩形、三角形、圆形等,用户选择一个图形后,拖动至希望修正的区域,并且可以对该图形的大小进行调整,则最终得到的区域图形306对应的即为如图3所示的待修正区域302。In another case, the user does not need to draw the gesture track 304 as shown in FIG. 4, but as shown in FIG. After one graphic, drag it to the area to be corrected, and adjust the size of the graphic, then the finally obtained area graphic 306 corresponds to the area to be corrected 302 as shown in FIG. 3 .

实施例二Embodiment two

基于一些检测或识别算法,终端也可以实现对图像中的待修正区域302的自动识别和获取。Based on some detection or identification algorithms, the terminal can also realize automatic identification and acquisition of the region to be corrected 302 in the image.

一种情况下,可以借助于边界检测算法。当由于如抖动、晃动等导致图像中的拍摄元素出现如模糊等情况时,该拍摄元素的边界的特征属性会存在一些预设的特征。比如图6所示,对于“模糊”等情况,会导致拍摄元素被识别出来的边界变宽,即图6中的边界宽度308的数值变大,比如大于图像中其他拍摄元素的边界宽度,或大于同一拍摄元素的其他部分的边界宽度,或大于预设的宽度阈值,或与同一拍摄元素或其他拍摄元素的边框宽度之差大于预设阈值等。In one case, a boundary detection algorithm can be used. When the shooting element in the image appears blurred due to shaking, shaking, etc., there are some preset characteristics in the feature attribute of the boundary of the shooting element. For example, as shown in FIG. 6 , for situations such as “blurring”, it will cause the boundary of the captured element to be identified to become wider, that is, the value of the boundary width 308 in FIG. 6 becomes larger, for example, greater than the boundary width of other captured elements in the image, or It is larger than the border width of other parts of the same shooting element, or larger than the preset width threshold, or the difference with the border width of the same shooting element or other shooting elements is larger than the preset threshold, etc.

基于边界宽度308的判断方式,实际上是对边界是否清晰的判断方式之一;而实际上,诸如边界是否连续等其他不同的判断方式,显然也都可以用于对图像中的拍摄元素是否需要进行修正进行自动判断。The judgment method based on the border width 308 is actually one of the judgment methods for whether the border is clear; in fact, other different judgment methods such as whether the border is continuous can also be used to judge whether the shooting elements in the image need Correction is performed for automatic judgment.

另一种情况下(图中未示出),除了基于边界算法的判断方式外,还可以基于拍摄对象的其他特征,实现终端的自动判断。比如通过预先设置图像中拍摄元素的各个特征属性的预设条件,并通过判断当前图像中相应的特征属性的实时条件是否满足该预设条件,从而判定是否需要修正。In another case (not shown in the figure), in addition to the judgment based on the boundary algorithm, automatic judgment of the terminal may also be realized based on other characteristics of the photographed object. For example, by presetting the preset conditions of each characteristic attribute of the photographed element in the image, and judging whether the real-time condition of the corresponding characteristic attribute in the current image satisfies the preset condition, it is determined whether correction is required.

具体地,比如针对较为常见的拍照中出现“眨眼”的情况,即图像中的人物在拍摄瞬间发生了“眨眼”,导致拍摄得到的图像上,该人物为“闭眼”的状态。因而,此处涉及到对“闭眼”情况的确定。Specifically, for example, for the relatively common situation of "blinking" in taking pictures, that is, the person in the image "blinks" at the moment of shooting, resulting in the state of "closed eyes" of the person in the captured image. Thus, the determination of the "closed eyes" situation is involved here.

首先,基于目前已经成熟的“人脸识别”算法,确定图像中的“人脸”;然后,基于为“眼睛”预设的特征参数,比如在“人脸”的中间偏上的部位、左右各一个、呈黑色等(仅用于举例说明),识别该“人脸”上是否存在符合上述特征的对象。若存在,则说明没有图像问题,若不存在,则可能存在“眨眼”的情况,并由终端直接将该用户的“人脸”部分或该用户的整体,作为如图3所示的待修正区域302。First, based on the currently mature "face recognition" algorithm, determine the "face" in the image; then, based on the preset feature parameters for the "eyes", such as the upper middle part of the "face", left and right One each, black, etc. (for example only), identifying whether there is an object matching the above characteristics on this "face". If it exists, it means that there is no image problem. If it does not exist, there may be a "blinking" situation, and the terminal directly takes the user's "face" part or the user as a whole as the image to be corrected as shown in Figure 3. Area 302.

2、确定对象2. Determine the object

基于上述的实施例一,由于是用户手动选择,则可以直接生成如图3所示的待修正区域302;而当基于上述的实施例二,即由终端自动进行判断时,则涉及到待修正区域302中包含的具体的拍摄元素的问题。Based on the above-mentioned first embodiment, since the user manually selects, the region 302 to be corrected as shown in Figure 3 can be directly generated; and based on the above-mentioned second embodiment, that is, when the terminal automatically judges, it involves the area to be corrected The specific shooting elements included in the area 302.

比如针对图3所示的图像,假定该图像中的动物的上肢发生的模糊,则重新拍摄图像时,可以仅拍摄发生模糊的上肢部分,也可以对该动物的整体都进行重新拍摄。For example, for the image shown in FIG. 3 , assuming that the upper limbs of the animal in the image are blurred, when the image is recaptured, only the blurred upper limbs can be photographed, or the entire animal can be recaptured.

比如图7所示,拍摄元素310A为包含图3所示的动物的整体,而拍摄元素310B仅为图3所示的动物的上肢。通过重新获取拍摄元素310B,使得尽可能减少了对图3所示的原有图像的修正;而通过重新获取拍摄元素310A,使得当发生模糊的动物上肢对其他部分造成影响时,能够尽量降低该影响,并且有助于保证被拍摄的动物的整体协调性。For example, as shown in FIG. 7 , the photographing element 310A includes the whole of the animal shown in FIG. 3 , while the photographing element 310B is only the upper limb of the animal shown in FIG. 3 . By reacquiring the photographing element 310B, the correction of the original image shown in FIG. 3 is reduced as much as possible; and by recapturing the photographing element 310A, when the blurred upper limb of the animal affects other parts, it can be minimized. impact, and helps to ensure the overall coordination of the animal being photographed.

3、拍摄提示3. Tips for shooting

如图8所示,当用户确定需要重新进行拍摄时,终端可以通过对图3所示的待修正区域302中的原始拍摄元素312(图8中仅用于示意,可以显示在屏幕上,也可以不显示),与当前图像传感器接收到的图像中的当前拍摄元素314进行比较,以确定两者在拍摄角度、距离、光线、白平衡、焦距等拍摄参数是否匹配,若存在差异,则可以向用户给出一定的提示。比如图8中,通过在终端界面上显示出提示信息316,提示用户向相应的方向移动,以使得当前拍摄元素314与原始拍摄元素312相吻合。As shown in FIG. 8, when the user determines that it is necessary to take a new shot, the terminal can check the original shot element 312 in the area to be corrected 302 shown in FIG. may not be displayed), and compared with the current shooting element 314 in the image received by the current image sensor to determine whether the two match in shooting angle, distance, light, white balance, focal length and other shooting parameters. If there is a difference, you can Give certain hints to the user. For example, in FIG. 8 , by displaying prompt information 316 on the terminal interface, the user is prompted to move in a corresponding direction so that the current photographing element 314 coincides with the original photographing element 312 .

当然,具体的提示方式有很多,比如还可以在终端上同时显示出原始拍摄元素312和当前拍摄元素314,并且当两者重合时,给用户以相应的提示,比如闪动、发出警告、振动等。Of course, there are many specific prompting methods. For example, the original shooting element 312 and the current shooting element 314 can also be displayed on the terminal at the same time, and when the two overlap, the user will be given a corresponding prompt, such as flashing, warning, vibration Wait.

同时,针对上述的拍摄参数,对于终端能够自行调节的部分,终端可以尽可能地执行自动调节,以减少用户的手动操作部分,降低操作的复杂度。At the same time, for the above-mentioned shooting parameters, for the part that the terminal can adjust by itself, the terminal can perform automatic adjustment as much as possible, so as to reduce the manual operation of the user and reduce the complexity of the operation.

最后,在拍摄参数一致或相匹配的情况下,或在用户认为合适的情况下,执行重新拍摄,并由终端自动从重新拍摄的图像中截取对应于图3所示待修正区域302的完善区域,使用该完善区域替换待修正区域302,并将得到的图像作为最终完成处理的图像。Finally, when the shooting parameters are consistent or matched, or when the user thinks it is appropriate, re-shooting is performed, and the terminal automatically intercepts the perfect area corresponding to the area to be corrected 302 shown in FIG. 3 from the re-shot image , use the perfect area to replace the area to be corrected 302, and use the obtained image as the final processed image.

以上结合附图详细说明了本发明的技术方案,本发明提出了一种图像处理装置和一种图像处理方法,可以通过补拍的方式,对图像中不理想的部分进行替换,从而得到符合用户需求的图像。The technical solution of the present invention has been described in detail above in conjunction with the accompanying drawings. The present invention proposes an image processing device and an image processing method, which can replace the unsatisfactory parts of the image by way of supplementary shooting, so as to obtain the required image.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (8)

1. a kind of image processing apparatus, it is characterised in that including:
Image acquisition unit, for obtaining any storage image;
Amendment judging unit, for judging to whether there is positive region to be repaired in the storage image;
Image correction unit, region is improved for being extracted from the image for re-shooting corresponding to the positive region to be repaired, with Replace the positive region to be repaired;
Elemental recognition unit, for identifying the shooting element in the storage image;
Border judging unit, for detecting the border of the shooting element, and judges the feature category on the border of the shooting element Whether property meets default attribute specification;
Wherein, the amendment judging unit, will be comprising institute in the case where the shooting element is unsatisfactory for default attribute specification The region for shooting element is stated as the positive region to be repaired.
2. image processing apparatus according to claim 1, it is characterised in that also include:
Area selecting unit, for receiving area selection instruction, and will store figure according to regional choice instruction described The region chosen on picture is used as the positive region to be repaired;
Or element selection operation is performed to the storage image according to regional choice instruction, and by comprising selected bat The region of element is taken the photograph as the positive region to be repaired.
3. image processing apparatus according to claim 1, it is characterised in that also include:
Image comparing unit, for when shooting obtains the storage image, will be at the storage image and described image The present image received in the imageing sensor for managing device is compared;
Wherein, it is determined that there is same shooting element in the storage image and the present image in the amendment judging unit In it is inconsistent when, using comprising the same region for shooting element as the positive region to be repaired.
4. image processing apparatus according to any one of claim 1 to 3, it is characterised in that also include:
Element searching unit, in the case where the instruction for confirming to re-shoot image is received, being filled in described image treatment The shooting element in the positive region to be repaired is searched in the image that the imageing sensor put is received;
Tip element, for according to lookup result, providing corresponding prompt message;
Element comparing unit, for finding the positive region to be repaired in the element searching unit in shooting element situation Under, the shooting element that will be found is compared with the original shooting element in the positive region to be repaired;
Wherein, the Tip element is additionally operable to according to comparative result, provides corresponding prompt message.
5. a kind of image processing method, it is characterised in that including:
Obtain any storage image;
If there is positive region to be repaired in the storage image, extracted corresponding to described to be modified from the image for re-shooting Region is improved in region, replacing the positive region to be repaired;
Identify the shooting element in the storage image;
Detection is described to shoot the border of element, and judges whether the characteristic attribute on the border of the shooting element meets default category Property require;
If it is not satisfied, then using the region comprising the shooting element as the positive region to be repaired.
6. image processing method according to claim 5, it is characterised in that including:
Receiving area selection instruction, will be according to the regional choice region chosen in the storage image of instruction as institute State positive region to be repaired;
Or element selection operation is performed to the storage image according to regional choice instruction, and by comprising selected bat The region of element is taken the photograph as the positive region to be repaired.
7. image processing method according to claim 5, it is characterised in that including:
When shooting obtains the storage image, will be received in the imageing sensor of the storage image with capture apparatus Present image be compared;
If it is same shooting element it is inconsistent in the storage image and the present image when, will be comprising the same shooting The region of element is used as the positive region to be repaired.
8. the image processing method according to any one of claim 5 to 7, it is characterised in that also include:
When receive confirm to re-shoot the instruction of image when, searched in the image that receives of imageing sensor of capture apparatus Shooting element in the positive region to be repaired, and according to lookup result, provide corresponding prompt message;And
When the shooting element in finding the positive region to be repaired, in the shooting element that will be found and the positive region to be repaired Original shooting element be compared, and according to comparative result, provide corresponding prompt message.
CN201310636834.7A 2013-12-02 2013-12-02 Image processing apparatus and image processing method Active CN103702024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310636834.7A CN103702024B (en) 2013-12-02 2013-12-02 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310636834.7A CN103702024B (en) 2013-12-02 2013-12-02 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
CN103702024A CN103702024A (en) 2014-04-02
CN103702024B true CN103702024B (en) 2017-06-20

Family

ID=50363412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310636834.7A Active CN103702024B (en) 2013-12-02 2013-12-02 Image processing apparatus and image processing method

Country Status (1)

Country Link
CN (1) CN103702024B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157255A (en) * 2015-04-20 2016-11-23 宋云波 3D draws photo self-repairing method
CN104978566A (en) * 2015-06-05 2015-10-14 深圳市金立通信设备有限公司 Picture processing method and terminal
CN105516588A (en) * 2015-12-07 2016-04-20 小米科技有限责任公司 Photographic processing method and device
CN107018325A (en) * 2017-03-29 2017-08-04 努比亚技术有限公司 A kind of image combining method and device
WO2018209523A1 (en) * 2017-05-15 2018-11-22 深圳市永恒丰科技有限公司 Shooting processing method and shooting processing device
CN107682623B (en) * 2017-09-11 2020-06-02 北京小米移动软件有限公司 Photographing method and device
CN108156382A (en) * 2017-12-29 2018-06-12 上海爱优威软件开发有限公司 A kind of photo processing method and terminal
CN108416747B (en) * 2018-02-27 2020-07-10 平安科技(深圳)有限公司 Element position correction method, element position correction device, computer equipment and storage medium
CN109257540B (en) * 2018-11-05 2021-06-18 浙江舜宇光学有限公司 Photographing correction method of multi-photographing lens group and photographing device
CN114697471A (en) * 2020-12-29 2022-07-01 海能达通信股份有限公司 Video processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115136A (en) * 2006-07-26 2008-01-30 佳能株式会社 Image processing apparatus, control method therefor, image processing method, and program
JP2008033443A (en) * 2006-07-26 2008-02-14 Canon Inc Image processing apparatus, control method therefor, and program
CN101827215A (en) * 2009-03-06 2010-09-08 卡西欧计算机株式会社 An imaging device that extracts a subject area from a captured image
CN101860652A (en) * 2009-04-03 2010-10-13 夏普株式会社 Image output device, portable terminal device, captured image processing system
CN102025829A (en) * 2009-09-16 2011-04-20 捷讯研究有限公司 Methods and devices for displaying an overlay on a device display screen
CN102349292A (en) * 2009-03-12 2012-02-08 高通股份有限公司 Response to detection of blur in an image

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7336712B1 (en) * 1998-09-02 2008-02-26 Koninklijke Philips Electronics N.V. Video signal transmission
US7334249B1 (en) * 2000-04-26 2008-02-19 Lucent Technologies Inc. Method and apparatus for dynamically altering digital video images
US20030007700A1 (en) * 2001-07-03 2003-01-09 Koninklijke Philips Electronics N.V. Method and apparatus for interleaving a user image in an original image sequence
CN1462982A (en) * 2002-05-29 2003-12-24 明日工作室股份有限公司 Intelligent animation generation method and system
US7809197B2 (en) * 2004-12-09 2010-10-05 Eastman Kodak Company Method for automatically determining the acceptability of a digital image
US7817873B2 (en) * 2005-11-09 2010-10-19 Intel Corporation Enhancing contrast of video data while preserving sharpness
JP4618370B2 (en) * 2008-12-08 2011-01-26 ソニー株式会社 Imaging apparatus, imaging method, and program
JP2010136302A (en) * 2008-12-08 2010-06-17 Sony Corp Imaging apparatus, imaging method and program
US20100289912A1 (en) * 2009-05-14 2010-11-18 Sony Ericsson Mobile Communications Ab Camera arrangement with image modification
CN102542533A (en) * 2010-12-16 2012-07-04 方正国际软件(北京)有限公司 Image blurring method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115136A (en) * 2006-07-26 2008-01-30 佳能株式会社 Image processing apparatus, control method therefor, image processing method, and program
JP2008033443A (en) * 2006-07-26 2008-02-14 Canon Inc Image processing apparatus, control method therefor, and program
CN101827215A (en) * 2009-03-06 2010-09-08 卡西欧计算机株式会社 An imaging device that extracts a subject area from a captured image
CN102349292A (en) * 2009-03-12 2012-02-08 高通股份有限公司 Response to detection of blur in an image
US8498486B2 (en) * 2009-03-12 2013-07-30 Qualcomm Incorporated Response to detection of blur in an image
CN101860652A (en) * 2009-04-03 2010-10-13 夏普株式会社 Image output device, portable terminal device, captured image processing system
CN102025829A (en) * 2009-09-16 2011-04-20 捷讯研究有限公司 Methods and devices for displaying an overlay on a device display screen

Also Published As

Publication number Publication date
CN103702024A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103702024B (en) Image processing apparatus and image processing method
JP6101397B2 (en) Photo output method and apparatus
JP6522708B2 (en) Preview image display method and apparatus, and terminal
CN104796594B (en) Method for instantly presenting special effect of preview interface and terminal equipment
US9282239B2 (en) Apparatus and method for photographing portrait in portable terminal having camera
CN103685956B (en) A kind of distant view photograph image pickup method and device
KR101999140B1 (en) Apparatus and method for shooting and processing an image in camera device and portable terminal having a camera
WO2017016146A1 (en) Image display method and apparatus
CN105303161A (en) Method and device for taking pictures of multiple people
CN108600610A (en) Shoot householder method and device
CN105744176A (en) A method, device, and mobile terminal for supplementing light on a screen
WO2019214574A1 (en) Image capturing method and apparatus, and electronic terminal
CN106231175A (en) A method for taking pictures with terminal gestures
WO2016131217A1 (en) Image correction method and device
CN105744175A (en) Screen light fill method and device and mobile terminal
CN103780839B (en) A kind of photographic method and photo terminal
WO2020042494A1 (en) Method for screenshot of vr scene, device and storage medium
CN108900764A (en) Image pickup method and electronic device and filming control method and server
JP2015126326A (en) Electronic apparatus and image processing method
CN105847660A (en) Dynamic zoom method, device and intelligent device
CN107094231A (en) Intelligent image pickup method and device
CN105376486A (en) Mobile terminal and control method thereof
KR102272310B1 (en) Method of processing images, Computer readable storage medium of recording the method and an electronic apparatus
CN105430269A (en) A photographing method and device applied to a mobile terminal
JP5441799B2 (en) Electronic camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20250610

Address after: 100020 No. 1 Building, Compound No. 1, No. 59 Hua Gong Road, Chaoyang District, Beijing 10th Floor, B Section Room 1105B

Patentee after: Beijing Deyuan Dayou Technology Development Co.,Ltd.

Country or region after: China

Address before: 518040 Guangdong city in Shenzhen Province, Che Kung Temple Tian An Digital City, the innovation and Technology Square, B Building 8 floor

Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right