










技术领域technical field
本申请属于通信技术领域,具体涉及一种图像处理方法、装置和电子设备。The present application belongs to the field of communication technologies, and in particular relates to an image processing method, apparatus and electronic device.
背景技术Background technique
当前是一个全民摄影的时代,人们对拍摄图像中画面元素的成像质量具有较高要求。At present, it is an era of national photography, and people have high requirements for the imaging quality of the picture elements in the captured images.
在目前,由于电子设备的摄像头的光圈限制,使得摄像头的景深较浅,在拍摄人像图像时,会将前景的人物拍摄清晰,而将远景的背景模糊,获得一张人物清晰,背景模糊的人像图像,在拍摄风景图像时,会将远景的风景拍摄清晰,而将近景的物体模糊,获得一张远景的风景清晰,风景中近景的物体模糊的风景图像。At present, due to the aperture limitation of the camera of the electronic device, the depth of field of the camera is shallow. When shooting a portrait image, the foreground person will be photographed clearly, and the background of the distant scene will be blurred to obtain a portrait with a clear person and a blurred background. When shooting a landscape image, the distant scenery will be clear, and the close-range objects will be blurred, so as to obtain a landscape image in which the distant scenery is clear and the close-range objects in the landscape are blurred.
但是,基于用户对拍摄图像中更多数量的画面元素的成像质量的较高要求,目前方案中总会出现不清晰的画面元素,导致无法满足用户需求。However, based on the user's higher requirements for the imaging quality of a larger number of picture elements in the captured image, there are always unclear picture elements in the current solution, which makes it impossible to meet the user's needs.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种图像处理方法、装置和电子设备,能够满足用户对拍摄图像中更多数量的画面元素都具备较高成像质量的要求。The purpose of the embodiments of the present application is to provide an image processing method, apparatus, and electronic device, which can meet the user's requirement that a larger number of picture elements in a captured image have higher imaging quality.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种图像处理方法,包括:In a first aspect, an embodiment of the present application provides an image processing method, including:
在多个景深范围中选取至少一个目标景深范围;Select at least one target depth-of-field range from multiple depth-of-field ranges;
按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个所述目标景深范围对应的初始图像;According to the same exposure parameters and camera posture, focus and shoot the objects corresponding to each target depth of field range, respectively, to obtain an initial image corresponding to each of the target depth of field ranges;
在选取了一个所述目标景深范围的情况下,将所述目标景深范围对应的初始图像作为目标图像;In the case of selecting a target depth of field range, the initial image corresponding to the target depth of field range is used as the target image;
在选取了多个所述目标景深范围的情况下,对所有所述目标景深范围对应的初始图像进行图像融合,得到目标图像。When a plurality of the target depth-of-field ranges are selected, image fusion is performed on the initial images corresponding to all the target depth-of-field ranges to obtain a target image.
第二方面,本申请实施例提供了一种图像处理装置,所述装置包括:In a second aspect, an embodiment of the present application provides an image processing apparatus, and the apparatus includes:
选取模块,用于在多个景深范围中选取至少一个目标景深范围;The selection module is used to select at least one target depth of field range from multiple depth of field ranges;
第一拍摄模块,用于按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个所述目标景深范围对应的初始图像;a first photographing module, configured to focus and photograph objects corresponding to each target depth of field range according to the same exposure parameters and camera posture, to obtain an initial image corresponding to each of the target depth of field ranges;
第一确定模块,用于在选取了一个所述目标景深范围的情况下,将所述目标景深范围对应的初始图像作为目标图像;a first determining module, configured to use an initial image corresponding to the target depth of field range as a target image when a range of the target depth of field is selected;
第一融合模块,用于在选取了多个所述目标景深范围的情况下,对所有所述目标景深范围对应的初始图像进行图像融合,得到目标图像。The first fusion module is configured to perform image fusion on the initial images corresponding to all the target depth-of-field ranges to obtain a target image when a plurality of the target depth-of-field ranges are selected.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,在多个景深范围中选取至少一个目标景深范围;按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个目标景深范围对应的初始图像;在选取了一个目标景深范围的情况下,将目标景深范围对应的初始图像作为目标图像;在选取了多个目标景深范围的情况下,对所有目标景深范围对应的初始图像进行图像融合,得到目标图像,本申请可以基于用户对景深的需求,使得将用户所选取的所有目标景深范围所对应的画面元素,在最终展示的图像中显示清晰,解决了现有技术中仅能对一种景深范围对应的画面元素实现清晰显示的问题,满足了用户对拍摄图像中更多数量的画面元素都具备较高成像质量的要求。In the embodiment of the present application, at least one target depth of field range is selected from multiple depth of field ranges; according to the same exposure parameters and camera posture, the objects corresponding to each target depth of field range are focused and photographed respectively to obtain each target depth of field range The corresponding initial image; when one target depth of field range is selected, the initial image corresponding to the target depth of field range is used as the target image; when multiple target depth of field ranges are selected, the initial images corresponding to all target depth of field ranges are processed. Image fusion to obtain a target image, the application can be based on the user's demand for depth of field, so that the screen elements corresponding to all the target depth of field selected by the user are displayed clearly in the final displayed image, which solves the problem of the prior art. The problem of realizing clear display of picture elements corresponding to a depth of field range satisfies the user's requirement that a larger number of picture elements in a captured image have higher imaging quality.
附图说明Description of drawings
图1是本申请实施例提供的一种图像处理方法的步骤示意图;1 is a schematic diagram of steps of an image processing method provided by an embodiment of the present application;
图2是本申请实施例提供的一种拍摄图像示意图;2 is a schematic diagram of a captured image provided by an embodiment of the present application;
图3是本申请实施例提供的一种初始图像示意图;3 is a schematic diagram of an initial image provided by an embodiment of the present application;
图4是本申请实施例提供的另一种初始图像示意图;4 is another schematic diagram of an initial image provided by an embodiment of the present application;
图5是本申请实施例提供的另一种初始图像示意图;FIG. 5 is another schematic diagram of an initial image provided by an embodiment of the present application;
图6是本申请实施例提供的一种图像处理方法的具体步骤示意图;6 is a schematic diagram of specific steps of an image processing method provided by an embodiment of the present application;
图7是本申请实施例提供的一种预览图像示意图;7 is a schematic diagram of a preview image provided by an embodiment of the present application;
图8是本申请实施例提供的另一种预览图像示意图;8 is another schematic diagram of a preview image provided by an embodiment of the present application;
图9是本申请实施例提供的一种图像处理装置的框图;9 is a block diagram of an image processing apparatus provided by an embodiment of the present application;
图10是本申请实施例提供的一种电子设备的框图;10 is a block diagram of an electronic device provided by an embodiment of the present application;
图11是本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像处理方法、装置和电子设备进行详细地说明。The image processing method, apparatus, and electronic device provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
参照图1,其示出了本申请实施例提供的一种图像处理方法的步骤示意图,包括:Referring to FIG. 1, it shows a schematic diagram of steps of an image processing method provided by an embodiment of the present application, including:
步骤101、在多个景深范围中选取至少一个目标景深范围。Step 101: Select at least one target depth of field range from multiple depth of field ranges.
景深(DOF,Depth of Field),是指为了摄影机镜头或其他成像器前沿能够取得清晰图像的成像,所测定的被摄物体前后距离范围,即在摄像机聚焦完成后,焦点前后的范围内所呈现的清晰图像的距离为景深,摄像机的光圈、镜头、及焦平面到拍摄物的距离是影响景深的重要因素。Depth of Field (DOF, Depth of Field) refers to the range of distance before and after the subject that is measured in order to obtain a clear image at the front of the camera lens or other imagers, that is, after the camera is focused, the range before and after the focus is presented. The distance of the clear image is the depth of field. The distance from the aperture, lens, and focal plane of the camera to the subject is an important factor affecting the depth of field.
目前电子设备的摄像机受到光圈、镜头等硬件的限制,并不能够满足一次拍摄得到的一张图像中,同时对所有景深范围对应的元素都成像清晰的需求,如,拍摄清晰的近景人物时,会导致背景模糊。At present, the camera of electronic equipment is limited by hardware such as aperture and lens, and cannot meet the requirement of clear imaging of all elements corresponding to the depth of field in one image obtained at a time. For example, when shooting clear close-up people, will cause the background to be blurred.
本申请实施例中,不同的景深范围可以对应拍摄场景中不同远近的物体,如,参照图2,其示出了本申请实施例提供的一种拍摄图像示意图,在一张拍摄图像中,可以将景深范围划分为远景范围、中景范围、近景范围,远景范围对应较远距离的物体,中景范围对应适中距离的物体,近景范围对应较近距离的物体,用户在进行拍摄时,为了实现丰富的画面效果,通常具有不同的景深需求,如,参照图2,假设近景范围对应的物体为人物,用户想拍摄一张突出近景人物12的人物图像,则用户可以在近景范围下进行对焦及拍摄,得到一张近景人物12清晰,其他作为背景的远景物体10和适中物体11模糊的人物图像,使得画面中的人物得到突出。另外,用户也可以基于较高的成像需求,要求最终拍摄图像中,远景范围、中景范围、近景范围中多个范围对应的物体成像清晰。In the embodiment of the present application, different depth-of-field ranges may correspond to objects of different distances in the shooting scene. For example, referring to FIG. 2 , which shows a schematic diagram of a captured image provided by the embodiment of the present application, in a captured image, you can The depth-of-field range is divided into long-range, medium-range, and close-range. The far-range corresponds to distant objects, the medium-range corresponds to moderate-distance objects, and the close-range corresponds to closer objects. When the user is shooting, in order to achieve Rich picture effects usually have different depth-of-field requirements. For example, referring to Figure 2, assuming that the object corresponding to the close-range range is a person, and the user wants to shoot a person image that highlights the close-
因此,电子设备的摄像机可以基于自身能力能够提供的多个景深范围,由用户根据成像需求,选取其中的至少一个目标景深范围,以供目标景深范围对应的物体在最终成像中成像清晰。电子设备可以包括手机、相机、手表、航拍器等设备。Therefore, the camera of the electronic device can select at least one target depth of field range based on the multiple depth-of-field ranges that its own capabilities can provide, so that the object corresponding to the target depth-of-field range can be clearly imaged in the final imaging by the user. Electronic devices may include mobile phones, cameras, watches, aerial cameras and other devices.
步骤102、按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个所述目标景深范围对应的初始图像。
在本申请实施例中,为了满足用户对目标景深范围对应的物体在最终成像中成像清晰的需求,首先需要获取各个目标景深范围下摄像机拍摄的初始图像,每个目标景深范围对应的初始图像中,该目标景深范围对应的物体成像清晰。In the embodiment of the present application, in order to meet the user's requirement for the object corresponding to the target depth of field to be clearly imaged in the final imaging, it is first necessary to obtain the initial image captured by the camera under each target depth of field. , the image of the object corresponding to the target depth of field range is clear.
例如,用户要求对近景和远景对应物体成像清晰,则在用户选取了远景范围和近景范围作为目标景深范围后,摄像机基于相同的曝光参数和相机姿态,针对远景范围进行对焦及拍摄,得到一张初始图像,并针对近景范围进行对焦及拍摄,得到另一张初始图像。For example, if the user requires a clear image of the objects corresponding to the near-field and far-field, after the user selects the far-field range and the near-field range as the target depth-of-field range, the camera will focus and shoot for the far-field range based on the same exposure parameters and camera posture, and get a picture The initial image, and focus and shoot for the close-range range to obtain another initial image.
具体的,摄像机在拍摄初始图像时,需要按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,相同的曝光参数和相机姿态可以保证拍摄的初始图像中边缘特征一致,避免后续合成时出现缝隙等缺陷。Specifically, when the camera shoots the initial image, it needs to focus and shoot the objects corresponding to each target depth of field according to the same exposure parameters and camera posture. The same exposure parameters and camera posture can ensure that the initial image is captured. The features are consistent to avoid defects such as gaps in subsequent synthesis.
在本申请实施例中,相同的相机姿态可以指:通过相机对每个目标景深范围对应的物体进行对焦及拍摄时,该相机相对于物体的三维姿态欧式角(俯仰角,偏航角,滚轮角)相同。In the embodiment of the present application, the same camera posture may refer to: when focusing and photographing an object corresponding to each target depth of field by the camera, the Euclidean angle (pitch angle, yaw angle, scroll wheel, etc.) of the camera relative to the three-dimensional posture of the object angle) are the same.
因此,摄像机需要具有较高的响应速度,并且在拍摄不同初始图像时,间隔时间较短,以降低相机姿态变化带来的影响。Therefore, the camera needs to have a high response speed, and when shooting different initial images, the interval time is short, so as to reduce the influence of the camera attitude change.
步骤103、在选取了一个所述目标景深范围的情况下,将所述目标景深范围对应的初始图像作为目标图像。Step 103: In the case that one of the target depth of field ranges is selected, the initial image corresponding to the target depth of field range is used as the target image.
在本申请实施例中,若用户仅选取了一个景深范围作为目标景深范围,则可以将该目标景深范围对应的初始图像直接作为目标图像进行输出,例如,用户想拍摄一张突出近景人物的人物图像,则用户可以将近景范围作为目标景深范围,并在近景范围下进行对焦及拍摄,得到一张人物清晰,其他作为背景的物体模糊的人物图像,使得画面中的人物得到突出。In the embodiment of the present application, if the user selects only one depth of field range as the target depth of field range, the initial image corresponding to the target depth of field range may be directly output as the target image. image, the user can use the near-field range as the target depth of field range, and focus and shoot in the near-field range to obtain a person image with a clear person and blurred other objects as the background, making the person in the picture stand out.
步骤104、在选取了多个所述目标景深范围的情况下,对所有所述目标景深范围对应的初始图像进行图像融合,得到目标图像。Step 104: In the case of selecting a plurality of the target depth of field ranges, perform image fusion on the initial images corresponding to all the target depth of field ranges to obtain a target image.
在本申请实施例中,在选取了多个目标景深范围的情况下,摄像机会针对每个目标景深范围拍摄对应的初始图像,且初始图像中对应目标景深范围的画面元素清晰度最高,因此,可以为每个初始图像中清晰度最高的画面元素分配较高的融合权重,使得在进行所有目标景深范围对应的初始图像的融合之后,可以在最终的目标图像中保留各个初始图像中清晰度最高的画面元素,达到最终的目标图像中对应目标景深范围的画面元素全部清晰显示的目的。In the embodiment of the present application, when multiple target depth-of-field ranges are selected, the camera will shoot a corresponding initial image for each target depth-of-field range, and the picture elements corresponding to the target depth-of-field range in the initial image have the highest definition. Therefore, A higher fusion weight can be assigned to the picture element with the highest definition in each initial image, so that after all initial images corresponding to the target depth of field are fused, the highest definition in each initial image can be retained in the final target image. To achieve the purpose of clearly displaying all the picture elements corresponding to the target depth of field in the final target image.
例如,参照图2,景深范围划分为远景范围、中景范围、近景范围,假设用户选取了近景范围、中景范围、远景范围作为目标景深范围,则摄像机可以按照相同的曝光参数和相机姿态,分别针对近景范围、中景范围、远景范围进行拍摄,得到如图3、图4、图5所示的三张初始图像,图3所示的初始图像中对应近景范围的物体12显示清晰,图4所示的初始图像中对应中景范围的物体11显示清晰,图5所示的初始图像中对应远景范围的物体10显示清晰,将这三张初始图像中显示清晰的物体的区域提取并融合为一张目标图像,可以使得目标图像中远中近物体都显示清晰。需要说明的是,也可以在对初始图像中显示清晰的物体的区域添加较高融合权重后,对三个初始图像进行基于融合权重的融合操作,以得到最终的目标图像。For example, referring to FIG. 2 , the depth of field range is divided into long-range, medium-range, and close-range. Assuming that the user selects the near-range, medium-range, and long-range as the target depth-of-field range, the camera can follow the same exposure parameters and camera posture, Shooting for the close-range, medium-range, and distant-range, respectively, to obtain three initial images as shown in Fig. 3, Fig. 4, and Fig. 5. In the initial image shown in Fig. 3, the
在实际应用中,用户可以通过选取操作选取至少一个目标景深范围,选取之后,摄像机可以自动根据目标景深范围拍摄对应的初始图像,并自动将所有初始图像进行融合得到目标图像,并将目标图像提供给用户,整个过程中,用户不需要进行过多繁琐的操作。In practical applications, the user can select at least one target depth of field range through the selection operation. After selection, the camera can automatically shoot the corresponding initial image according to the target depth of field range, and automatically fuse all the initial images to obtain the target image, and provide the target image with For the user, in the whole process, the user does not need to perform too many cumbersome operations.
综上所述,本申请实施例提供一种图像处理方法,在多个景深范围中选取至少一个目标景深范围;按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个目标景深范围对应的初始图像;在选取了一个目标景深范围的情况下,将目标景深范围对应的初始图像作为目标图像;在选取了多个目标景深范围的情况下,对所有目标景深范围对应的初始图像进行图像融合,得到目标图像,本申请可以基于用户对景深的需求,使得将用户所选取的所有目标景深范围所对应的画面元素,在最终展示的图像中显示清晰,解决了现有技术中仅能对一种景深范围对应的画面元素实现清晰显示的问题,满足了用户对拍摄图像中更多数量的画面元素都具备较高成像质量的要求。To sum up, the embodiments of the present application provide an image processing method, wherein at least one target depth of field range is selected from a plurality of depth of field ranges; according to the same exposure parameters and camera posture, the objects corresponding to each target depth of field range are respectively focused and shooting to obtain the initial image corresponding to each target depth of field range; when one target depth of field range is selected, the initial image corresponding to the target depth of field range is used as the target image; when multiple target depth of field ranges are selected, the All the initial images corresponding to the target depth of field are image-fused to obtain the target image. Based on the user's demand for the depth of field, the present application can make the picture elements corresponding to all the target depth of field selected by the user to be displayed clearly in the final displayed image. , which solves the problem in the prior art that only a picture element corresponding to one depth of field range can be clearly displayed, and satisfies the user's requirement for higher imaging quality for a larger number of picture elements in the captured image.
参照图6,其示出了本申请实施例提供的一种图像处理方法的具体步骤示意图,包括:Referring to FIG. 6, it shows a schematic diagram of specific steps of an image processing method provided by an embodiment of the present application, including:
步骤201、按照相同的曝光参数和相机姿态,分别对每个景深范围对应的物体进行对焦及拍摄,,得到每个所述景深范围对应的景深图像。
用户在使用拍摄功能时,具有对当前拍摄场景的画面预览需求,即在用户点击拍摄按钮之前,电子设备会显示摄像机采集到的拍摄场景的预览画面,以供用户参考。在本申请实施例中,在用户开启摄像功能后,摄像机可以按照相同的曝光参数和相机姿态,分别对每个景深范围对应的物体进行对焦及拍摄,,得到每个景深范围对应的景深图像,每个景深图像中对应该景深范围的画面元素成像清晰,将所有景深图像进行融合之后,可以得到摄像机能提供的所有景深范围对应的画面元素都显示清晰的预览图像,以供用户参考。When using the shooting function, the user has a need for a preview of the current shooting scene, that is, before the user clicks the shooting button, the electronic device will display the preview screen of the shooting scene captured by the camera for the user's reference. In the embodiment of the present application, after the user turns on the camera function, the camera can focus and shoot the objects corresponding to each depth of field range according to the same exposure parameters and camera posture, to obtain a depth of field image corresponding to each depth of field range, In each depth-of-field image, the image elements corresponding to the depth-of-field range are clearly imaged. After all the depth-of-field images are fused, it can be obtained that all the image elements corresponding to the depth-of-field range provided by the camera display clear preview images for user reference.
步骤202、确定每个所述景深图像中的目标区域,所述目标区域为清晰度大于或等于预设阈值的区域。Step 202: Determine a target area in each of the depth-of-field images, where the target area is an area with a definition greater than or equal to a preset threshold.
在本申请实施例中,目标区域可以为景深图像中清晰度最大的画面元素对应的区域,另外,目标区域可以为景深图像中清晰度大于或等于预设阈值的画面元素对应的区域,预设阈值可以根据实际需求进行设定。需要说明的是,目标区域可以为掩码区域。In this embodiment of the present application, the target area may be the area corresponding to the picture element with the highest definition in the depth-of-field image. In addition, the target area may be the area corresponding to the picture element whose definition is greater than or equal to the preset threshold in the depth-of-field image. The threshold can be set according to actual needs. It should be noted that the target area may be a mask area.
步骤203、将具有所述目标区域的景深图像进行图像融合,得到预览图像。Step 203: Perform image fusion on the depth-of-field image with the target area to obtain a preview image.
可选的,所述预览图像中不同所述景深范围标签对应的区域的显示颜色不同。Optionally, the display colors of regions corresponding to different depth-of-field range labels in the preview image are different.
在本申请实施例中,预览图像中摄像机能提供的所有景深范围对应的画面元素都显示清晰,用户可以根据不同景深范围能够提供的最优清晰显示区域的效果,指定后续的拍摄策略。In the embodiment of the present application, the picture elements corresponding to all the depth-of-field ranges that can be provided by the camera in the preview image are displayed clearly, and the user can specify the follow-up shooting strategy according to the effect of the optimal clear display area that can be provided by different depth-of-field ranges.
进一步的,参照图7,其示出了本申请实施例提供的一种预览图像的示意图,为了在预览画面中显著区分不同景深范围对应的画面元素的区域,可以在预览画面中将不同的景深范围对应的画面元素的区域显示不同的元素,如,将远景范围对应的物体10的区域显示红色色调,将中景范围对应的物体11的区域显示蓝色色调,将近景范围对应的物体12的区域显示绿色色调。Further, referring to FIG. 7 , which shows a schematic diagram of a preview image provided by an embodiment of the present application, in order to significantly distinguish the areas of picture elements corresponding to different depth-of-field ranges in the preview image, different depth-of-field ranges can be displayed in the preview image. The area of the picture element corresponding to the range displays different elements, for example, the area of the
步骤204、对所述预览图像进行展示。
在将预览图像进行展示之后,用户可以根据预览图像中不同景深范围能够提供的最优清晰显示区域的效果,指定后续的拍摄策略。After the preview image is displayed, the user can specify the follow-up shooting strategy according to the effect of the optimal clear display area that can be provided by different depth of field ranges in the preview image.
步骤205、在多个景深范围中选取至少一个目标景深范围。Step 205: Select at least one target depth of field range from among the multiple depth of field ranges.
该步骤具体可以参照上述步骤101,此处不再赘述。For details of this step, reference may be made to the foregoing
可选的,在一种实现方式中,参照图7,预览图像中对应每个目标区域的区域添加有景深范围标签,如,远景范围对应的物体10的区域具有远景范围标签20、中景范围对应的物体11的区域具有中景范围标签21、近景范围对应的物体12的区域具有近景范围标签22;所述景深范围标签用于反映所述目标区域对应的景深图像的景深范围,步骤205可以包括:Optionally, in an implementation manner, referring to FIG. 7 , the area corresponding to each target area in the preview image is added with a depth-of-field range label. The area of the
子步骤2051、根据对所述预览图像中至少一个景深范围标签的选取操作,将所选取的景深范围标签对应的景深范围作为所述目标景深范围。Sub-step 2051: According to the selection operation of at least one depth-of-field range label in the preview image, the depth-of-field range corresponding to the selected depth-of-field range label is used as the target depth-of-field range.
可选的,在一种实现方式中,景深范围标签位于与所述景深范围标签对应的区域中。Optionally, in an implementation manner, the depth-of-field range label is located in a region corresponding to the depth-of-field range label.
在本申请实施例中,参照图7,为了进一步在预览画面中显著区分不同景深范围对应的画面元素的区域,可以在预览图像中的每个目标区域的位置处添加对应的景深范围标签,以供用户根据醒目的标签,区分不同景深范围对应的区域。In the embodiment of the present application, referring to FIG. 7 , in order to further distinguish the areas of picture elements corresponding to different depth-of-field ranges in the preview image, a corresponding depth-of-field range label may be added at the position of each target area in the preview image to For users to distinguish areas corresponding to different depth-of-field ranges according to eye-catching labels.
用户可以进行对景深范围标签的选取操作,并将用户所选取的景深范围标签对应的景深范围作为目标景深范围。The user may select the depth-of-field range label, and use the depth-of-field range corresponding to the depth-of-field range label selected by the user as the target depth-of-field range.
可选的,在另一种实现方式中,景深范围标签位于所述预览图像中的预设区域。Optionally, in another implementation manner, the depth-of-field range label is located in a preset area in the preview image.
参照图8,其示出了本申请实施例提供的另一种预览图像的示意图,为了保证预览画面的干净简洁,还可以将景深范围标签设置于固定的预设区域,以避免景深范围标签遮挡画面重要内容,如图8,可以将三个景深范围标签设置于画面底部区域。Referring to FIG. 8 , which shows a schematic diagram of another preview image provided by an embodiment of the present application, in order to ensure the cleanness and simplicity of the preview image, the depth-of-field range label may also be set in a fixed preset area to avoid the depth-of-field range label being blocked. For the important content of the screen, as shown in Figure 8, three depth-of-field range labels can be set in the bottom area of the screen.
可选的,在另一种实现方式中,步骤205可以包括:Optionally, in another implementation manner, step 205 may include:
子步骤2052、根据对所述预览图像中至少一个区域的选取操作,将所选取的区域对应的景深范围作为所述目标景深范围。Sub-step 2052: According to the selection operation of at least one area in the preview image, the depth of field range corresponding to the selected area is used as the target depth of field range.
在本申请实施例中,为了保证预览图像的简洁性,可以直接根据用户对预览图像中至少一个区域的选取操作,将所选取的区域对应的景深范围作为目标景深范围。In the embodiment of the present application, in order to ensure the simplicity of the preview image, the depth of field range corresponding to the selected area may be directly used as the target depth of field range according to the user's selection operation on at least one area in the preview image.
例如,针对一副包括人像、栏杆、建筑、山等元素的图像,用户可以通过依次点击人像、栏杆、建筑、山的区域,将这些区域对应的景深范围作为目标景深范围,以使得最终的目标图像中,这些区域具有清晰的显示效果。For example, for an image including portraits, railings, buildings, mountains and other elements, the user can click the areas of portraits, railings, buildings, and mountains in turn, and use the depth of field range corresponding to these areas as the target depth of field range, so that the final target In the image, these areas are clearly displayed.
子步骤2053、对所述所选取的区域添加已选取提醒标签。Sub-step 2053, adding a selected reminder label to the selected area.
步骤206、按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个所述目标景深范围对应的初始图像。
该步骤具体可以参照上述步骤102,此处不再赘述。For details of this step, reference may be made to the foregoing
步骤207、在选取了一个所述目标景深范围的情况下,将所述目标景深范围对应的初始图像作为目标图像。Step 207: In the case that one of the target depth of field ranges is selected, use the initial image corresponding to the target depth of field range as the target image.
该步骤具体可以参照上述步骤103,此处不再赘述。For details of this step, reference may be made to the foregoing
步骤208、在选取了多个所述目标景深范围的情况下,对所有所述目标景深范围对应的初始图像进行对齐操作,使得多个所述初始图像的边缘重合。Step 208: Under the condition that multiple target depth-of-field ranges are selected, perform an alignment operation on the initial images corresponding to all the target depth-of-field ranges, so that the edges of the multiple initial images overlap.
步骤209、将对齐后的多个所述初始图像进行图像融合,得到所述目标图像。Step 209: Perform image fusion on the aligned multiple initial images to obtain the target image.
在本申请实施例中,针对多个目标景深范围对应的多个初始图像,可以将多个初始图像进行对其操作后再进行图像融合,由于各个初始图像的尺寸一致,因此可以将多个初始图像的外轮廓进行对齐,以避免后续融合时出现缝隙等缺陷。In this embodiment of the present application, for multiple initial images corresponding to multiple target depth-of-field ranges, multiple initial images may be operated on and then image fusion may be performed. The outer contours of the images are aligned to avoid defects such as gaps during subsequent fusion.
综上所述,本申请实施例提供一种图像处理方法,在多个景深范围中选取至少一个目标景深范围;按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个目标景深范围对应的初始图像;在选取了一个目标景深范围的情况下,将目标景深范围对应的初始图像作为目标图像;在选取了多个目标景深范围的情况下,对所有目标景深范围对应的初始图像进行图像融合,得到目标图像,本申请可以基于用户对景深的需求,使得将用户所选取的所有目标景深范围所对应的画面元素,在最终展示的图像中显示清晰,解决了现有技术中仅能对一种景深范围对应的画面元素实现清晰显示的问题,满足了用户对拍摄图像中更多数量的画面元素都具备较高成像质量的要求。To sum up, the embodiments of the present application provide an image processing method, wherein at least one target depth of field range is selected from a plurality of depth of field ranges; according to the same exposure parameters and camera posture, the objects corresponding to each target depth of field range are respectively focused and shooting to obtain the initial image corresponding to each target depth of field range; when one target depth of field range is selected, the initial image corresponding to the target depth of field range is used as the target image; when multiple target depth of field ranges are selected, the All the initial images corresponding to the target depth of field are image-fused to obtain the target image. Based on the user's demand for the depth of field, the present application can make the picture elements corresponding to all the target depth of field selected by the user to be displayed clearly in the final displayed image. , which solves the problem in the prior art that only a picture element corresponding to one depth of field range can be clearly displayed, and satisfies the user's requirement for higher imaging quality for a larger number of picture elements in the captured image.
参照图9,其示出了本申请实施例提供的一种图像处理装置的框图,包括:Referring to FIG. 9, it shows a block diagram of an image processing apparatus provided by an embodiment of the present application, including:
选取模块301,用于在多个景深范围中选取至少一个目标景深范围;A
可选的,所述预览图像中对应每个目标区域的区域添加有景深范围标签,所述景深范围标签用于反映所述目标区域对应的景深图像的景深范围;Optionally, a depth-of-field range label is added to an area corresponding to each target area in the preview image, and the depth-of-field range label is used to reflect the depth-of-field range of the depth-of-field image corresponding to the target area;
所述选取模块301,包括:The
第一选取子模块,用于根据对所述预览图像中至少一个景深范围标签的选取操作,将所选取的景深范围标签对应的景深范围作为所述目标景深范围。The first selection sub-module is configured to use the depth of field range corresponding to the selected depth of field range label as the target depth of field range according to the selection operation of at least one depth of field range label in the preview image.
可选的,所述预览图像中不同所述景深范围标签对应的区域的显示颜色不同。Optionally, the display colors of regions corresponding to different depth-of-field range labels in the preview image are different.
可选的,所述选取模块301,包括:Optionally, the
第二选取子模块,用于根据对所述预览图像中至少一个区域的选取操作,将所选取的区域对应的景深范围作为所述目标景深范围;The second selection sub-module is configured to use the depth of field range corresponding to the selected area as the target depth of field range according to the selection operation on at least one area in the preview image;
添加子模块,用于对所述所选取的区域添加已选取提醒标签。The adding submodule is used to add a selected reminder label to the selected area.
可选的,所述景深范围标签位于所述预览图像中的预设区域,或所述景深范围标签位于与所述景深范围标签对应的区域中。Optionally, the depth-of-field range label is located in a preset area in the preview image, or the depth-of-field range label is located in an area corresponding to the depth-of-field range label.
第一拍摄模块302,用于按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个所述目标景深范围对应的初始图像;The first photographing
第一确定模块303,用于在选取了一个所述目标景深范围的情况下,将所述目标景深范围对应的初始图像作为目标图像;The first determining
第一融合模块304,用于在选取了多个所述目标景深范围的情况下,对所有所述目标景深范围对应的初始图像进行图像融合,得到目标图像。The
可选的,所述第一融合模块304,包括:Optionally, the
对齐模块,用于在选取了多个所述目标景深范围的情况下,对所有所述目标景深范围对应的初始图像进行对齐操作,使得多个所述初始图像的边缘重合;an alignment module, configured to perform an alignment operation on the initial images corresponding to all the target depth-of-field ranges when a plurality of the target depth-of-field ranges are selected, so that the edges of the plurality of initial images overlap;
融合子模块,用于将对齐后的多个所述初始图像进行图像融合,得到所述目标图像。The fusion sub-module is used for image fusion of the aligned multiple initial images to obtain the target image.
可选的,所述装置还包括:Optionally, the device further includes:
第二拍摄模块,用于按照相同的曝光参数和相机姿态,分别对每个景深范围对应的物体进行对焦及拍摄,,得到每个所述景深范围对应的景深图像;The second photographing module is used for focusing and photographing objects corresponding to each depth of field range according to the same exposure parameters and camera posture, to obtain a depth of field image corresponding to each of the depth of field ranges;
第二确定模块,用于确定每个所述景深图像中的目标区域,所述目标区域为清晰度大于或等于预设阈值的区域;a second determination module, configured to determine a target area in each of the depth-of-field images, where the target area is an area with a clarity greater than or equal to a preset threshold;
第二融合模块,用于将具有所述目标区域的景深图像进行图像融合,得到预览图像;a second fusion module, configured to perform image fusion on the depth-of-field image with the target area to obtain a preview image;
预览模块,用于对所述预览图像进行展示。The preview module is used for displaying the preview image.
综上所述,本申请实施例提供一种图像处理装置,在多个景深范围中选取至少一个目标景深范围;按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个目标景深范围对应的初始图像;在选取了一个目标景深范围的情况下,将目标景深范围对应的初始图像作为目标图像;在选取了多个目标景深范围的情况下,对所有目标景深范围对应的初始图像进行图像融合,得到目标图像,本申请可以基于用户对景深的需求,使得将用户所选取的所有目标景深范围所对应的画面元素,在最终展示的图像中显示清晰,解决了现有技术中仅能对一种景深范围对应的画面元素实现清晰显示的问题,满足了用户对拍摄图像中更多数量的画面元素都具备较高成像质量的要求。To sum up, the embodiments of the present application provide an image processing device, which selects at least one target depth of field range from multiple depth of field ranges; and focuses on the object corresponding to each target depth of field range according to the same exposure parameters and camera posture. and shooting to obtain the initial image corresponding to each target depth of field range; when one target depth of field range is selected, the initial image corresponding to the target depth of field range is used as the target image; when multiple target depth of field ranges are selected, the All the initial images corresponding to the target depth of field are image-fused to obtain the target image. Based on the user's demand for the depth of field, the present application can make the picture elements corresponding to all the target depth of field selected by the user to be displayed clearly in the final displayed image. , which solves the problem in the prior art that only a picture element corresponding to one depth of field range can be clearly displayed, and satisfies the user's requirement for higher imaging quality for a larger number of picture elements in the captured image.
本申请实施例中图像处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为网络附属存储器(Network AttachedStorage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The image processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device can be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. limited.
本申请实施例中的图像处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The image processing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的图像处理装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。The image processing apparatus provided in this embodiment of the present application can implement each process implemented in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
可选的,如图10所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 10 , an embodiment of the present application further provides an
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。The
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
本申请实施例中,在多个景深范围中选取至少一个目标景深范围;按照相同的曝光参数和相机姿态,分别对每个目标景深范围对应的物体进行对焦及拍摄,得到每个目标景深范围对应的初始图像;在选取了一个目标景深范围的情况下,将目标景深范围对应的初始图像作为目标图像;在选取了多个目标景深范围的情况下,对所有目标景深范围对应的初始图像进行图像融合,得到目标图像,本申请可以基于用户对景深的需求,使得将用户所选取的所有目标景深范围所对应的画面元素,在最终展示的图像中显示清晰,解决了现有技术中仅能对一种景深范围对应的画面元素实现清晰显示的问题,满足了用户对拍摄图像中更多数量的画面元素都具备较高成像质量的要求。In the embodiment of the present application, at least one target depth of field range is selected from multiple depth of field ranges; according to the same exposure parameters and camera posture, the objects corresponding to each target depth of field range are focused and photographed respectively, and the corresponding objects of each target depth of field range are obtained. When a target depth of field range is selected, the initial image corresponding to the target depth of field range is used as the target image; when multiple target depth of field ranges are selected, the initial images corresponding to all target depth of field ranges are imaged. Fusion to obtain a target image, the present application can be based on the user's demand for depth of field, so that the screen elements corresponding to all the target depth of field selected by the user are displayed clearly in the final displayed image, which solves the problem that in the prior art only A problem of realizing clear display of picture elements corresponding to a depth of field range satisfies the user's requirement that a larger number of picture elements in a captured image have higher imaging quality.
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(GraphicsProcessing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器809可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。It should be understood that, in this embodiment of the present application, the
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above image processing method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above image processing method embodiments. Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011355536.7ACN112532881B (en) | 2020-11-26 | 2020-11-26 | Image processing method, device and electronic device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011355536.7ACN112532881B (en) | 2020-11-26 | 2020-11-26 | Image processing method, device and electronic device |
| Publication Number | Publication Date |
|---|---|
| CN112532881A CN112532881A (en) | 2021-03-19 |
| CN112532881Btrue CN112532881B (en) | 2022-07-05 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011355536.7AActiveCN112532881B (en) | 2020-11-26 | 2020-11-26 | Image processing method, device and electronic device |
| Country | Link |
|---|---|
| CN (1) | CN112532881B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113572961A (en)* | 2021-07-23 | 2021-10-29 | 维沃移动通信(杭州)有限公司 | Shooting processing method and electronic equipment |
| CN113824877B (en)* | 2021-08-19 | 2023-04-28 | 惠州Tcl云创科技有限公司 | Panoramic deep image synthesis method, storage medium and smart phone |
| CN114283103B (en)* | 2021-12-09 | 2025-05-16 | 北京卫星环境工程研究所 | A multi-depth fusion technology for ultra-high-definition panoramic images during AIT process of manned spacecraft |
| CN115567783B (en)* | 2022-08-29 | 2023-10-24 | 荣耀终端有限公司 | An image processing method |
| CN116132791A (en)* | 2023-03-10 | 2023-05-16 | 创视微电子(成都)有限公司 | Method and device for acquiring multi-field-depth clear images of multiple moving objects |
| CN118799316B (en)* | 2024-09-12 | 2025-03-14 | 宁德时代新能源科技股份有限公司 | Tab detection method, device, electronic equipment, imaging system and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103152521A (en)* | 2013-01-30 | 2013-06-12 | 广东欧珀移动通信有限公司 | Effect of depth of field achieving method for mobile terminal and mobile terminal |
| CN103903234A (en)* | 2014-03-12 | 2014-07-02 | 南京第五十五所技术开发有限公司 | Real-time image defogging method based on image field depth |
| CN106791119A (en)* | 2016-12-27 | 2017-05-31 | 努比亚技术有限公司 | A kind of photo processing method, device and terminal |
| FR3050597A1 (en)* | 2016-04-26 | 2017-10-27 | Stereolabs | METHOD FOR ADJUSTING A STEREOSCOPIC VIEWING APPARATUS |
| CN107613199A (en)* | 2016-06-02 | 2018-01-19 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for generating blurred photos |
| CN108234978A (en)* | 2017-12-12 | 2018-06-29 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
| CN111885307A (en)* | 2020-07-30 | 2020-11-03 | 努比亚技术有限公司 | Depth-of-field shooting method and device and computer readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100227679B1 (en)* | 1994-06-15 | 1999-11-01 | 유무성 | Apparatus and method for continuous photographic of object depth step in a camera |
| CN1469187A (en)* | 2002-07-15 | 2004-01-21 | 英保达股份有限公司 | Image synthesis method and device for digital camera |
| CN103561205B (en)* | 2013-11-15 | 2015-07-08 | 努比亚技术有限公司 | Shooting method and shooting device |
| CN103973978B (en)* | 2014-04-17 | 2018-06-26 | 华为技术有限公司 | It is a kind of to realize the method focused again and electronic equipment |
| CN104243828B (en)* | 2014-09-24 | 2019-01-11 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method, apparatus and terminal shooting photo |
| CN105187722B (en)* | 2015-09-15 | 2018-12-21 | 努比亚技术有限公司 | Depth of field adjusting method, device and terminal |
| CN106550184B (en)* | 2015-09-18 | 2020-04-03 | 中兴通讯股份有限公司 | Photo processing method and device |
| CN105933532A (en)* | 2016-06-06 | 2016-09-07 | 广东欧珀移动通信有限公司 | Image processing method, device and mobile terminal |
| CN106973227A (en)* | 2017-03-31 | 2017-07-21 | 努比亚技术有限公司 | Intelligent photographing method and device based on dual camera |
| CN107483821B (en)* | 2017-08-25 | 2020-08-14 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
| CN107493432B (en)* | 2017-08-31 | 2020-01-10 | Oppo广东移动通信有限公司 | Image processing method, image processing device, mobile terminal and computer readable storage medium |
| CN107888833A (en)* | 2017-11-28 | 2018-04-06 | 维沃移动通信有限公司 | A kind of image capturing method and mobile terminal |
| CN108259770B (en)* | 2018-03-30 | 2020-06-02 | Oppo广东移动通信有限公司 | Image processing method, image processing device, storage medium and electronic equipment |
| CN111866370A (en)* | 2020-05-28 | 2020-10-30 | 北京迈格威科技有限公司 | Method, device, equipment, medium, camera array and assembly for synthesizing panoramic deep image |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103152521A (en)* | 2013-01-30 | 2013-06-12 | 广东欧珀移动通信有限公司 | Effect of depth of field achieving method for mobile terminal and mobile terminal |
| CN103903234A (en)* | 2014-03-12 | 2014-07-02 | 南京第五十五所技术开发有限公司 | Real-time image defogging method based on image field depth |
| FR3050597A1 (en)* | 2016-04-26 | 2017-10-27 | Stereolabs | METHOD FOR ADJUSTING A STEREOSCOPIC VIEWING APPARATUS |
| CN107613199A (en)* | 2016-06-02 | 2018-01-19 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for generating blurred photos |
| CN106791119A (en)* | 2016-12-27 | 2017-05-31 | 努比亚技术有限公司 | A kind of photo processing method, device and terminal |
| CN108234978A (en)* | 2017-12-12 | 2018-06-29 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
| CN111885307A (en)* | 2020-07-30 | 2020-11-03 | 努比亚技术有限公司 | Depth-of-field shooting method and device and computer readable storage medium |
| Publication number | Publication date |
|---|---|
| CN112532881A (en) | 2021-03-19 |
| Publication | Publication Date | Title |
|---|---|---|
| CN112532881B (en) | Image processing method, device and electronic device | |
| CN112312016B (en) | Shooting processing method and device, electronic equipment and readable storage medium | |
| CN112135046B (en) | Video shooting method, video shooting device and electronic equipment | |
| CN112714255B (en) | Shooting method and device, electronic equipment and readable storage medium | |
| CN108564612A (en) | Model display method, device, storage medium and electronic equipment | |
| CN112887617B (en) | A shooting method, device and electronic equipment | |
| CN112135049A (en) | Image processing method and device and electronic equipment | |
| CN112637515B (en) | Shooting method and device and electronic equipment | |
| CN112929563B (en) | Focusing method and device and electronic equipment | |
| CN106791416A (en) | A kind of background blurring image pickup method and terminal | |
| WO2023061326A1 (en) | Photographing method and apparatus, and electronic device | |
| WO2022161340A1 (en) | Image display method and apparatus, and electronic device | |
| WO2018166069A1 (en) | Photographing preview method, graphical user interface, and terminal | |
| CN112702531A (en) | Shooting method and device and electronic equipment | |
| CN113747067B (en) | Photography methods, devices, electronic equipment and storage media | |
| CN113873160B (en) | Image processing method, device, electronic equipment and computer storage medium | |
| CN112911059B (en) | Photographing method, device, electronic device and readable storage medium | |
| WO2022095878A1 (en) | Photographing method and apparatus, and electronic device and readable storage medium | |
| CN105933613A (en) | Image processing method, device and mobile terminal | |
| CN115379075A (en) | Moon shooting method and device, storage medium and shooting equipment | |
| CN111461950B (en) | Image processing methods and devices | |
| CN111654623A (en) | Photographing method, device and electronic device | |
| CN114143455B (en) | Shooting method and device and electronic equipment | |
| CN113938605B (en) | Photographing method, photographing device, photographing equipment and photographing medium | |
| CN112887624B (en) | Shooting method and device and electronic equipment |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |