Movatterモバイル変換


[0]ホーム

URL:


CN107730460B - Image processing method and mobile terminal - Google Patents

Image processing method and mobile terminal
Download PDF

Info

Publication number
CN107730460B
CN107730460BCN201710881932.5ACN201710881932ACN107730460BCN 107730460 BCN107730460 BCN 107730460BCN 201710881932 ACN201710881932 ACN 201710881932ACN 107730460 BCN107730460 BCN 107730460B
Authority
CN
China
Prior art keywords
image
processed
area
blurring
brightness
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
CN201710881932.5A
Other languages
Chinese (zh)
Other versions
CN107730460A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201710881932.5ApriorityCriticalpatent/CN107730460B/en
Publication of CN107730460ApublicationCriticalpatent/CN107730460A/en
Application grantedgrantedCritical
Publication of CN107730460BpublicationCriticalpatent/CN107730460B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供一种图像处理方法及移动终端,该方法包括:获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。本发明通过将待处理图像对应的虚化图像与待处理图像对应的亮度图像合成,得到输出图像,能够有效降低图像背景中的高亮区域的亮度,模拟出大光圈的散景效果,提升了图像处理效果。

Figure 201710881932

The present invention provides an image processing method and a mobile terminal. The method includes: acquiring a to-be-processed image captured by the dual cameras, acquiring a depth map corresponding to the to-be-processed image; The background area of the image is subjected to blurring processing to obtain a blurred image; the blurred image is synthesized with the brightness image corresponding to the image to be processed to obtain an output image. The present invention obtains an output image by synthesizing the blurred image corresponding to the image to be processed and the brightness image corresponding to the image to be processed, which can effectively reduce the brightness of the highlighted area in the image background, simulate the bokeh effect of a large aperture, and improve the Image processing effects.

Figure 201710881932

Description

Translated fromChinese
一种图像处理方法及移动终端An image processing method and mobile terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种图像处理方法及移动终端。The present invention relates to the field of communication technologies, and in particular, to an image processing method and a mobile terminal.

背景技术Background technique

随着用户对智能手机的拍摄需求越来越高,双摄像头已经成为了智能手机的一种标配。其中,双摄像头可以利用合成的深度图模拟出单反的大光圈效果,来提升拍摄效果,增强用户体验。As users' demand for shooting with smartphones is getting higher and higher, dual cameras have become a standard for smartphones. Among them, the dual cameras can use the synthesized depth map to simulate the large aperture effect of the SLR to improve the shooting effect and enhance the user experience.

目前,在对双摄像头拍摄的图像进行背景虚化处理的过程中,针对背景区域内的高亮部分虚化处理方式,一般是膨胀处理;然而,对于一些高亮部分较大的区域经膨胀处理后,会使得背景区域的高亮部分过亮,进而会影响图像的视觉效果。At present, in the process of background blurring processing of images captured by dual cameras, the blurring processing method for the highlighted parts in the background area is generally dilation processing; however, some areas with larger highlights are subject to dilation processing. After that, the highlighted part of the background area will be too bright, which will affect the visual effect of the image.

可见,现有图像的背景虚化处理存在高亮部分过亮的问题。It can be seen that the background blur processing of the existing image has the problem that the highlighted part is too bright.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种图像处理方法及移动终端,以解决现有图像的背景虚化处理存在高亮部分过亮的问题。Embodiments of the present invention provide an image processing method and a mobile terminal, so as to solve the problem of excessively bright highlights in background blur processing of existing images.

为解决上述技术问题,本发明是这样实现的:一种图像处理方法,应用于包括双摄像头的移动终端,包括:获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。In order to solve the above technical problems, the present invention is implemented as follows: an image processing method, applied to a mobile terminal including dual cameras, includes: acquiring an image to be processed captured by the dual cameras, and acquiring an image corresponding to the to-be-processed image. a depth map; according to the depth map, perform a blurring process on the background area of the image to be processed to obtain a blurred image; synthesize the blurred image and a brightness image corresponding to the image to be processed to obtain an output image.

第一方面,本发明实施例提供了一种图像处理方法,应用于包括双摄像头的移动终端,包括:In a first aspect, an embodiment of the present invention provides an image processing method, which is applied to a mobile terminal including dual cameras, including:

获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;acquiring the to-be-processed image captured by the dual cameras, and acquiring a depth map corresponding to the to-be-processed image;

根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;According to the depth map, performing a blurring process on the background area of the image to be processed to obtain a blurred image;

将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。The blurred image and the brightness image corresponding to the image to be processed are synthesized to obtain an output image.

第二方面,本发明实施例还提供一种移动终端,包括双摄像头,所述移动终端还包括:In a second aspect, an embodiment of the present invention further provides a mobile terminal, including dual cameras, the mobile terminal further includes:

获取模块,用于获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;an acquisition module, configured to acquire the to-be-processed image captured by the dual cameras, and acquire a depth map corresponding to the to-be-processed image;

虚化模块,用于根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;a blurring module, configured to perform blurring processing on the background area of the image to be processed according to the depth map to obtain a blurred image;

合成模块,用于将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。The synthesis module is used for synthesizing the blurred image and the brightness image corresponding to the to-be-processed image to obtain an output image.

第三方面,本发明实施例还提供一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述图像处理方法的步骤。In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor When implementing the steps of the above image processing method.

第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述图像处理方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above image processing method are implemented.

本发明实施例通过将待处理图像对应的虚化图像与待处理图像对应的亮度图像合成,得到输出图像,能够有效降低图像背景中的高亮区域的亮度,模拟出大光圈的散景效果,提升了图像处理效果。In the embodiment of the present invention, the output image is obtained by synthesizing the blurred image corresponding to the image to be processed and the brightness image corresponding to the image to be processed, which can effectively reduce the brightness of the highlighted area in the image background and simulate the bokeh effect of a large aperture. Improved image processing.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.

图1是本发明一实施例提供的图像处理方法的流程图;1 is a flowchart of an image processing method provided by an embodiment of the present invention;

图2是本发明另一实施例提供的图像处理方法的流程图;2 is a flowchart of an image processing method provided by another embodiment of the present invention;

图3是本发明提供的一种虚化曲线的示意图;Fig. 3 is the schematic diagram of a kind of virtual curve provided by the present invention;

图4是本发明一实施例提供的移动终端的结构图;4 is a structural diagram of a mobile terminal provided by an embodiment of the present invention;

图5是本发明一实施例提供的移动终端中虚化模块的结构图;5 is a structural diagram of a virtualisation module in a mobile terminal provided by an embodiment of the present invention;

图6是本发明一实施例提供的移动终端中合成模块的结构图;6 is a structural diagram of a synthesis module in a mobile terminal provided by an embodiment of the present invention;

图7是本发明一实施例提供的移动终端中第二生成子模块的结构图;7 is a structural diagram of a second generation sub-module in a mobile terminal provided by an embodiment of the present invention;

图8是本发明一实施例提供的移动终端中确定子模块的结构图;8 is a structural diagram of a determination sub-module in a mobile terminal provided by an embodiment of the present invention;

图9是本发明一实施例提供的移动终端中第一生成子模块的结构图;9 is a structural diagram of a first generation sub-module in a mobile terminal provided by an embodiment of the present invention;

图10是本发明另一实施例提供的移动终端的结构图。FIG. 10 is a structural diagram of a mobile terminal according to another embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

参见图1,图1是本发明一实施例提供的图像处理方法的流程图,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of an image processing method provided by an embodiment of the present invention, as shown in FIG. 1, including the following steps:

步骤101、获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图。Step 101: Acquire the to-be-processed image captured by the dual cameras, and acquire a depth map corresponding to the to-be-processed image.

该步骤中,双摄像头可以为两个彩色相机组成,在使用双摄像头进行图像的拍摄过程中,会输出一张主图像,即待处理图像,还会生成一张与待处理图像对应的深度图。在对待处理图像进行背景虚化处理的过程中,需要获取与待处理图像对应的深度图。In this step, the dual cameras can be composed of two color cameras. During the image capturing process using the dual cameras, a main image, that is, the image to be processed, will be output, and a depth map corresponding to the image to be processed will also be generated. . In the process of performing background blur processing on the image to be processed, a depth map corresponding to the image to be processed needs to be acquired.

步骤102、根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像。Step 102: Perform a blurring process on the background area of the image to be processed according to the depth map to obtain a blurred image.

该步骤中,可以先确定一个目标对象,然后将待处理图像中目标对象之外的区域确定为背景区域,也可以将目标对象所对应的区域作为待处理图像的背景区域。其中,目标对象可以是的预先设置的图像特征,比如人脸特征、或者花鸟鱼虫特征等;而且,目标对象还可以根据用户的触控操作来确定。In this step, a target object may be determined first, and then an area outside the target object in the image to be processed may be determined as the background area, or the area corresponding to the target object may be used as the background area of the image to be processed. The target object may be a preset image feature, such as a face feature, or a feature of flowers, birds, fish and insects, etc.; and the target object may also be determined according to a user's touch operation.

在确定背景区域之后,可以根据深度图,获取背景区域中各个背景对象与目标对象的位置关系,确定每一背景对象的虚化等级,并使用虚化等级对各个背景对象进行虚化处理,并得到待处理图像的虚化图像。比如,在深度图中,远离目标对象的背景对象比靠近目标对象的背景对象,虚化程度要高一些,即虚化效果越明显。After the background area is determined, the positional relationship between each background object and the target object in the background area can be obtained according to the depth map, the blurring level of each background object can be determined, and each background object can be blurred using the blurring level. Obtain the blurred image of the image to be processed. For example, in the depth map, the background objects far from the target object have a higher degree of blurring than the background objects close to the target object, that is, the more obvious the blurring effect.

步骤103、将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。Step 103 , synthesizing the blurred image and the luminance image corresponding to the to-be-processed image to obtain an output image.

该步骤中,可以先获取与待处理图像对应的亮度图像,并将获取得到的亮度图像与虚化图像进行合成,得到输出图像。In this step, a luminance image corresponding to the image to be processed may be obtained first, and the obtained luminance image and the blurred image may be synthesized to obtain an output image.

在本实施方式中,可以先获取待处理图像的原始亮度图像,并通过对原始亮度图像进行虚化处理,得到与待处理图像对应的亮度图像。在对原始亮度图像进行虚化处理的过程中,可以采用圆盘滤波的方式,将原始亮度图像中对应背景区域的部分存在的高亮区域,过滤成点光源,并对进行圆盘滤波处理之后的亮度图像进行虚化处理,得到可以用于与虚化图像进行合成的亮度图像。In this implementation manner, the original brightness image of the image to be processed may be acquired first, and the brightness image corresponding to the image to be processed can be obtained by performing blurring processing on the original brightness image. In the process of blurring the original brightness image, the disc filtering method can be used to filter the highlighted areas in the original brightness image corresponding to the background area into point light sources, and after the disc filtering process The brightness image of the image is blurred to obtain a brightness image that can be used for compositing with the blurred image.

通过这种方式,可以有效降低待处理图像虚化处理之后,背景区域中过亮部分对输出图像的影响,提升了对待处理图像的虚化效果。In this way, the influence of the over-bright part in the background area on the output image after the blurring process of the image to be processed can be effectively reduced, and the blurring effect of the image to be processed is improved.

本发明实施例中,上述方法可以应用于任何包括双摄像头的移动终端,其中,移动终端可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(LaptopComputer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above method can be applied to any mobile terminal including dual cameras, wherein the mobile terminal can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant) , referred to as PDA), mobile Internet Device (Mobile Internet Device, MID) or wearable device (Wearable Device) and so on.

本发明实施例的图像处理方法,通过获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。这样通过将待处理图像对应的虚化图像与待处理图像对应的亮度图像合成,得到输出图像,能够有效降低图像背景中的高亮区域的亮度,模拟出大光圈的散景效果,提升了图像处理效果。In the image processing method according to the embodiment of the present invention, a depth map corresponding to the to-be-processed image is obtained by acquiring the to-be-processed image captured by the dual cameras; to obtain a blurred image; and to synthesize the blurred image and the brightness image corresponding to the to-be-processed image to obtain an output image. In this way, the output image is obtained by synthesizing the blurred image corresponding to the image to be processed and the brightness image corresponding to the image to be processed, which can effectively reduce the brightness of the highlighted area in the image background, simulate the bokeh effect of a large aperture, and improve the image. processing effect.

参见图2,图2是本发明另一实施例提供的图像处理方法的流程图,如图2所示,包括以下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of an image processing method provided by another embodiment of the present invention, as shown in FIG. 2, including the following steps:

步骤201、获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图。Step 201: Acquire the to-be-processed image captured by the dual cameras, and acquire a depth map corresponding to the to-be-processed image.

该步骤中,双摄像头可以为两个彩色相机组成,在使用双摄像头进行图像的拍摄过程中,会输出一张主图像,即待处理图像,还会生成一张与待处理图像对应的深度图。在对待处理图像进行背景虚化处理的过程中,需要获取与待处理图像对应的深度图。In this step, the dual cameras can be composed of two color cameras. During the image capturing process using the dual cameras, a main image, that is, the image to be processed, will be output, and a depth map corresponding to the image to be processed will also be generated. . In the process of performing background blur processing on the image to be processed, a depth map corresponding to the image to be processed needs to be acquired.

步骤202、确定所述待处理图像的背景区域。Step 202: Determine the background area of the image to be processed.

该步骤中,可以先确定一个目标对象,然后将待处理图像中目标对象之外的区域确定为背景区域,也可以将目标对象所对应的区域作为待处理图像的背景区域。其中,目标对象可以是的预先设置的图像特征,比如人脸特征、或者花鸟鱼虫特征等;而且,目标对象还可以根据用户的触控操作来确定。In this step, a target object may be determined first, and then an area outside the target object in the image to be processed may be determined as the background area, or the area corresponding to the target object may be used as the background area of the image to be processed. The target object may be a preset image feature, such as a face feature, or a feature of flowers, birds, fish and insects, etc.; and the target object may also be determined according to a user's touch operation.

可选的,步骤202还可以包括:检测针对所述待处理图像的触控操作;若检测到所述触控操作,则确定所述触控操作对应的操作区域;将所述待处理图像中所述操作区域之外的区域作为所述待处理图像的背景区域。Optionally,step 202 may further include: detecting a touch operation on the image to be processed; if the touch operation is detected, determining an operation area corresponding to the touch operation; The area outside the operation area is used as the background area of the image to be processed.

本实施方式中,可以通过检测触控操作,并可以根据触控操作的位置,确定触控操作对应的操作区域,并将待处理图像中操作区域之外的区域作为待处理图像的背景区域。通过这种方式,用户可以自由决定目标对象,即触控操作对应的图像特征,来提升用户的操作体验。In this embodiment, the touch operation can be detected and the operation area corresponding to the touch operation can be determined according to the position of the touch operation, and the area outside the operation area in the to-be-processed image is used as the background area of the to-be-processed image. In this way, the user can freely determine the target object, that is, the image feature corresponding to the touch operation, so as to improve the user's operation experience.

步骤203、根据所述深度图生成所述待处理图像的虚化参数。Step 203: Generate a blurring parameter of the image to be processed according to the depth map.

该步骤中,可以根据深度图,获取背景区域中各个背景对象与目标对象的位置关系,来确定每一背景对象的虚化等级,并根据每一背景对象的虚化等级,生成对应的虚化参数。其中,在深度图中,远离目标对象的背景对象比靠近目标对象的背景对象,虚化程度要高一些,即虚化效果越明显。In this step, the positional relationship between each background object and the target object in the background area can be obtained according to the depth map to determine the blurring level of each background object, and according to the blurring level of each background object, the corresponding blurring level is generated. parameter. Among them, in the depth map, the background objects far from the target object have a higher degree of blurring than the background objects close to the target object, that is, the more obvious the blurring effect.

可选的,步骤203还可以包括:识别所述操作区域的图像特征,并将识别到的所述图像特征作为所述待处理图像的目标对象;根据所述背景区域中各背景对象在所述深度图中与所述目标对象的位置关系,生成所述待处理图像的虚化曲线;其中,所述背景区域中每一背景对象的虚化程度与相对距离呈正相关,所述相对距离为每一背景对象在所述深度图中相对所述目标对象的距离。Optionally,step 203 may further include: identifying the image feature of the operation area, and using the identified image feature as the target object of the image to be processed; The positional relationship with the target object in the depth map generates the blurring curve of the image to be processed; wherein, the blurring degree of each background object in the background area is positively correlated with the relative distance, and the relative distance is each The distance of a background object relative to the target object in the depth map.

本实施方式中,可以通过识别操作区域的图像特征,将识别到的图像特征作为待处理图像的目标对象,比如识别到的图像特征为“人脸特征”,则将该“人脸特征”作为待处理图像的目标对象,而将“人脸特征”之外的图像区域,作为该待处理图像的背景区域;并通过与待处理图像对应的深度图,确定每一背景对象与目标对象的位置关系,并通过位置关系确定每一背景对象的虚化程度,并形成一待处理图像的虚化曲线。其中,每一背景对象的虚化程度与相对距离呈正相关,相对距离为每一背景对象在深度图中相对目标对象的距离。In this embodiment, the image features of the operation area can be identified, and the identified image features can be used as the target object of the image to be processed. For example, if the identified image features are "face features", the "face features" can be used as The target object of the image to be processed, and the image area other than the "face feature" is used as the background area of the image to be processed; and the position of each background object and the target object is determined through the depth map corresponding to the image to be processed relationship, and determine the blurring degree of each background object through the position relationship, and form a blurring curve of the image to be processed. Wherein, the blurring degree of each background object is positively correlated with the relative distance, and the relative distance is the distance of each background object relative to the target object in the depth map.

需要说明的是,如图3所示,横坐标“X”轴表示待处理图像中各拍摄对象距离拍摄镜头的距离,纵坐标“Y”轴表示待处理图像中各拍摄对象的虚化程度,其中,“S”表示为的目标对象,且将位于“S”前后两侧的拍摄对象为背景对象,并可以通过如图3所示的虚化虚线,对待处理图像的背景对象进行虚化处理。It should be noted that, as shown in Figure 3, the "X" axis of the abscissa represents the distance of each object in the image to be processed from the shooting lens, and the "Y" axis of the ordinate represents the blurring degree of each object in the image to be processed, Among them, "S" represents the target object, and the shooting objects located on the front and rear sides of "S" are the background objects, and the background objects of the image to be processed can be blurred through the blurred dotted line shown in Figure 3. .

需要说明的是,为了更好的提升待处理图像的背景虚化效果,可以对位于目标对象前后两侧的背景对象进行不同程度的虚化处理。具体的,在待处理图像的对应的深度图中,基于目标对象“S”在深度图中的位置,将深度图划分为前后两侧;如图3所示,位于目标对象前侧的背景对象的虚化程度较为激烈,而位于目标对象后侧的背景对象的虚化程度相对平缓;即对于位于目标对象前后两侧,且相对目标对象的距离相等的背景对象,前侧的背景对象的虚化程度大于后侧的背景对象的虚化程度,其中,前侧的背景对象为待处理图像的拍摄过程中,位于双摄像头与目标对象之间的背景对象,即靠近双摄像头的背景对象,后侧的背景对象为远离双摄像头的背景对象。It should be noted that, in order to better improve the background blurring effect of the image to be processed, different degrees of blurring processing may be performed on the background objects located on the front and rear sides of the target object. Specifically, in the depth map corresponding to the image to be processed, based on the position of the target object "S" in the depth map, the depth map is divided into front and rear sides; as shown in Figure 3, the background object located in front of the target object The blurring degree of the target object is relatively intense, while the blurring degree of the background object located behind the target object is relatively gentle; that is, for the background objects located on the front and rear sides of the target object and at the same distance from the target object, the blurring of the background object on the front side is relatively gentle. The degree of blurring is greater than the blurring degree of the background object on the rear side, wherein the background object on the front side is the background object located between the dual cameras and the target object during the shooting process of the image to be processed, that is, the background object close to the dual cameras, The background object on the side is the background object away from the dual camera.

步骤204、使用所述虚化参数对所述背景区域进行虚化处理,得到所述虚化图像。Step 204: Perform a blurring process on the background area by using the blurring parameter to obtain the blurred image.

该步骤中,可以使用步骤203生成的虚化参数对待处理图像的背景区域进行虚化处理,得到虚化图像。In this step, the background area of the image to be processed may be subjected to a blurring process using the blurring parameters generated instep 203 to obtain a blurred image.

步骤205、将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。Step 205 , synthesizing the blurred image and the luminance image corresponding to the to-be-processed image to obtain an output image.

该步骤中,可以先获取与待处理图像对应的亮度图像,并将获取得到的亮度图像与虚化图像进行合成,得到输出图像。In this step, a luminance image corresponding to the image to be processed may be obtained first, and the obtained luminance image and the blurred image may be synthesized to obtain an output image.

可选的,步骤205还可以包括:生成所述待处理图像的原始亮度图像;将所述原始亮度图像对应所述背景区域的区域划分成至少一个亮度区域,并将所述至少一个亮度区域中亮度超过预设亮度,且亮度面积大于预设面积的亮度区域,作为目标亮度区域;将所述目标亮度区域从所述原始亮度图像中移除,得到目标亮度图像;使用所述虚化参数对所述目标亮度图像进行虚化处理,得到所述亮度图像;将所述虚化图像与所述亮度图像合成,得到所述输出图像。Optionally,step 205 may further include: generating an original brightness image of the to-be-processed image; dividing an area of the original brightness image corresponding to the background area into at least one brightness area, and dividing the area in the at least one brightness area. The brightness area whose brightness exceeds the preset brightness and whose brightness area is greater than the preset area is used as the target brightness area; the target brightness area is removed from the original brightness image to obtain the target brightness image; the blurring parameter is used to The target luminance image is subjected to a blurring process to obtain the luminance image; the blurred image and the luminance image are synthesized to obtain the output image.

在本实施方式中,可以根据颜色发光原理将待处理图像转换成原始亮度图像;并通过对原始亮度图像对应背景区域的区域划分成至少一个亮度区域,并将其中满足亮度超过预设亮度,且亮度面积大于预设面积的亮度区域,作为目标亮度区域,来筛选出原始亮度图像中的高亮区域;然后,再将筛选出来的目标亮度区域从原始亮度图像中移除,得到目标亮度图像,这样可以降低背景区域中的高亮区域对待处理图像的虚化效果的影响,提升对待处理图像的虚化效果;再然后,在使用虚化参数对目标亮度图像进行虚化处理,得到与待处理图像对应的亮度图像;最后,再将步骤204得到的虚化图像与待处理图像对应的亮度图像合成,得到输出图像。In this embodiment, the to-be-processed image can be converted into an original brightness image according to the principle of color luminescence; and the area corresponding to the background area of the original brightness image is divided into at least one brightness area, and the brightness in which the brightness exceeds the preset brightness is satisfied, and The brightness area with the brightness area larger than the preset area is used as the target brightness area to filter out the highlight area in the original brightness image; then, the filtered target brightness area is removed from the original brightness image to obtain the target brightness image, In this way, the influence of the blurring effect of the image to be processed in the highlight area in the background area can be reduced, and the blurring effect of the image to be processed can be improved; then, the blurring parameters are used to blur the target brightness image, and the obtained image with the image to be processed is blurred. The brightness image corresponding to the image; finally, the blurred image obtained instep 204 is synthesized with the brightness image corresponding to the image to be processed to obtain an output image.

通过这种方式,可以有效降低待处理图像虚化处理之后,背景区域中过亮部分对输出图像的影响,提升了对待处理图像的虚化效果。In this way, the influence of the over-bright part in the background area on the output image after the blurring process of the image to be processed can be effectively reduced, and the blurring effect of the image to be processed is improved.

本发明实施例的图像处理方法,通过获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;确定所述待处理图像的背景区域;根据所述深度图生成所述待处理图像的虚化参数;使用所述虚化参数对所述背景区域进行虚化处理,得到所述虚化图像。将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。这样通过将待处理图像对应的虚化图像与待处理图像对应的亮度图像合成,得到输出图像,能够有效降低图像背景中的高亮区域的亮度,模拟出大光圈的散景效果,提升了图像处理效果。In the image processing method according to the embodiment of the present invention, a depth map corresponding to the to-be-processed image is obtained by acquiring the to-be-processed image captured by the dual cameras; the background area of the to-be-processed image is determined; The blurring parameter of the image to be processed is used; the blurring process is performed on the background area by using the blurring parameter to obtain the blurred image. The blurred image and the brightness image corresponding to the image to be processed are synthesized to obtain an output image. In this way, the output image is obtained by synthesizing the blurred image corresponding to the image to be processed and the brightness image corresponding to the image to be processed, which can effectively reduce the brightness of the highlighted area in the image background, simulate the bokeh effect of a large aperture, and improve the image. processing effect.

参见图4,图4是本发明一实施例提供的移动终端的结构图,如图4所示,移动终端400包括获取模块401、虚化模块402和合成模块403,其中,获取模块401与虚化模块402连接,虚化模块402还与合成模块403连接:Referring to FIG. 4, FIG. 4 is a structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 4, themobile terminal 400 includes anacquisition module 401, avirtualization module 402, and asynthesis module 403, wherein theacquisition module 401 and the virtual Theblurring module 402 is connected, and theblurring module 402 is also connected with the synthesis module 403:

获取模块401,用于获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;Anacquisition module 401, configured to acquire the to-be-processed image captured by the dual cameras, and acquire a depth map corresponding to the to-be-processed image;

虚化模块402,用于根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;Ablurring module 402, configured to perform blurring processing on the background area of the to-be-processed image according to the depth map to obtain a blurred image;

合成模块403,用于将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。Thesynthesis module 403 is used for synthesizing the blurred image and the luminance image corresponding to the to-be-processed image to obtain an output image.

可选的,如图5所示,所述虚化模块402包括:Optionally, as shown in FIG. 5 , the virtualizingmodule 402 includes:

确定子模块4021,用于确定所述待处理图像的背景区域;Determining submodule 4021, for determining the background area of the image to be processed;

第一生成子模块4022,用于根据所述深度图生成所述待处理图像的虚化参数;afirst generating sub-module 4022, configured to generate the blurring parameters of the to-be-processed image according to the depth map;

虚化子模块4023,用于使用所述虚化参数对所述背景区域进行虚化处理,得到所述虚化图像。The blurring sub-module 4023 is configured to perform blurring processing on the background area by using the blurring parameter to obtain the blurred image.

可选的,如图6所示,所述合成模块403包括:Optionally, as shown in FIG. 6 , thesynthesis module 403 includes:

第二生成子模块4031,用于生成与所述待处理图像对应的亮度图像;Thesecond generation sub-module 4031 is used to generate a brightness image corresponding to the to-be-processed image;

合成子模块4032,用于将所述虚化图像与所述亮度图像合成,得到所述输出图像。Thesynthesis sub-module 4032 is used for synthesizing the blurred image and the luminance image to obtain the output image.

可选的,如图7所示,所述第二生成子模块4031包括:Optionally, as shown in FIG. 7 , thesecond generation sub-module 4031 includes:

第一生成单元40311,用于生成所述待处理图像的原始亮度图像;Thefirst generating unit 40311 is used to generate the original luminance image of the to-be-processed image;

第一确定单元40312,将所述原始亮度图像对应所述背景区域的区域划分成至少一个亮度区域,并将所述至少一个亮度区域中亮度超过预设亮度,且亮度面积大于预设面积的亮度区域,作为目标亮度区域;The first determiningunit 40312 divides the area of the original brightness image corresponding to the background area into at least one brightness area, and divides the brightness in the at least one brightness area that exceeds the preset brightness and the brightness area is greater than the brightness of the preset area. area, as the target brightness area;

移除单元40313,将所述目标亮度区域从所述原始亮度图像中移除,得到目标亮度图像;The removingunit 40313 removes the target luminance area from the original luminance image to obtain a target luminance image;

虚化单元40314,用于使用所述虚化参数对所述目标亮度图像进行虚化处理,得到所述亮度图像。Theblurring unit 40314 is configured to perform blurring processing on the target luminance image by using the blurring parameter to obtain the luminance image.

可选的,如图8所示,所述确定子模块4021包括:Optionally, as shown in FIG. 8 , the determining sub-module 4021 includes:

检测单元40211,用于检测针对所述待处理图像的触控操作;Adetection unit 40211, configured to detect a touch operation on the to-be-processed image;

第二确定单元40212,用于若检测到所述触控操作,则确定所述触控操作对应的操作区域;The second determiningunit 40212 is configured to determine the operation area corresponding to the touch operation if the touch operation is detected;

第三确定单元40213,将所述待处理图像中所述操作区域之外的区域作为所述待处理图像的背景区域。The third determiningunit 40213 takes the area outside the operation area in the image to be processed as the background area of the image to be processed.

可选的,如图9所示,所述第一生成子模块4022包括:Optionally, as shown in FIG. 9 , thefirst generation sub-module 4022 includes:

识别单元40221,用于识别所述操作区域的图像特征,并将识别到的所述图像特征作为所述待处理图像的目标对象;Recognition unit 40221, used to recognize the image feature of the operation area, and use the recognized image feature as the target object of the image to be processed;

第二生成单元40222,用于根据所述背景区域中各背景对象在所述深度图中与所述目标对象的位置关系,生成所述待处理图像的虚化曲线;Asecond generating unit 40222, configured to generate a blurring curve of the to-be-processed image according to the positional relationship between each background object in the background area and the target object in the depth map;

其中,所述背景区域中每一背景对象的虚化程度与相对距离呈正相关,所述相对距离为每一背景对象在所述深度图中相对所述目标对象的距离。Wherein, the blurring degree of each background object in the background area is positively correlated with the relative distance, and the relative distance is the distance of each background object relative to the target object in the depth map.

可选的,在所述深度图中,基于所述目标对象在所述深度图中的位置,将所述深度图划分为前后两侧,对于位于所述目标对象前后两侧,且相对所述目标对象的距离相等的背景对象,前侧背景对象的虚化程度大于后侧背景对象的虚化程度;Optionally, in the depth map, based on the position of the target object in the depth map, the depth map is divided into front and rear sides. For background objects with the same distance from the target object, the blurring degree of the front background object is greater than the blurring degree of the back background object;

其中,所述前侧背景对象为所述待处理图像的拍摄过程中,位于所述双摄像头与所述目标对象之间的背景对象。Wherein, the front-side background object is a background object located between the dual cameras and the target object during the shooting process of the to-be-processed image.

移动终端400能够实现图1至图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。Themobile terminal 400 can implement each process implemented by the mobile terminal in the method embodiments of FIG. 1 to FIG. 3 , and to avoid repetition, details are not repeated here.

本发明实施例的移动终端400,通过获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。这样通过将待处理图像对应的虚化图像与待处理图像对应的亮度图像合成,得到输出图像,能够有效降低图像背景中的高亮区域的亮度,模拟出大光圈的散景效果,提升了图像处理效果。Themobile terminal 400 in this embodiment of the present invention acquires a depth map corresponding to the to-be-processed image by acquiring the to-be-processed image captured by the dual cameras; and virtualizes the background area of the to-be-processed image according to the depth map. to obtain a blurred image; and to synthesize the blurred image and the brightness image corresponding to the to-be-processed image to obtain an output image. In this way, the output image is obtained by synthesizing the blurred image corresponding to the image to be processed and the brightness image corresponding to the image to be processed, which can effectively reduce the brightness of the highlighted area in the image background, simulate the bokeh effect of a large aperture, and improve the image. processing effect.

图10为实现本发明各个实施例的一种移动终端的硬件结构示意图,如图10所示,该移动终端1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 10 is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention. As shown in FIG. 10 , themobile terminal 1000 includes but is not limited to: aradio frequency unit 1001 , anetwork module 1002 , anaudio output unit 1003 , and aninput unit 1004 ,sensor 1005,display unit 1006,user input unit 1007,interface unit 1008,memory 1009,processor 1010, andpower supply 1011 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 10 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,处理器1010,用于获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。Theprocessor 1010 is configured to acquire the to-be-processed image captured by the dual cameras, and acquire a depth map corresponding to the to-be-processed image; and to perform blurring processing on the background area of the to-be-processed image according to the depth map , to obtain a blurred image; and synthesizing the blurred image and the brightness image corresponding to the image to be processed to obtain an output image.

可选的,所述处理器1010还用于:确定所述待处理图像的背景区域;根据所述深度图生成所述待处理图像的虚化参数;使用所述虚化参数对所述背景区域进行虚化处理,得到所述虚化图像。Optionally, theprocessor 1010 is further configured to: determine the background area of the image to be processed; generate a blurring parameter of the image to be processed according to the depth map; Perform a blurring process to obtain the blurred image.

可选的,所述处理器1010还用于:生成与所述待处理图像对应的亮度图像;将所述虚化图像与所述亮度图像合成,得到所述输出图像。Optionally, theprocessor 1010 is further configured to: generate a brightness image corresponding to the to-be-processed image; and synthesize the blurred image and the brightness image to obtain the output image.

可选的,所述处理器1010还用于:生成所述待处理图像的原始亮度图像;将所述原始亮度图像对应所述背景区域的区域划分成至少一个亮度区域,并将所述至少一个亮度区域中亮度超过预设亮度,且亮度面积大于预设面积的亮度区域,作为目标亮度区域;将所述目标亮度区域从所述原始亮度图像中移除,得到目标亮度图像;使用所述虚化参数对所述目标亮度图像进行虚化处理,得到所述亮度图像。Optionally, theprocessor 1010 is further configured to: generate an original brightness image of the to-be-processed image; divide a region of the original brightness image corresponding to the background region into at least one brightness region, and divide the at least one brightness region The brightness area in the brightness area whose brightness exceeds the preset brightness and whose brightness area is greater than the preset area is regarded as the target brightness area; the target brightness area is removed from the original brightness image to obtain the target brightness image; The brightness image of the target is subjected to a blurring process using the blurring parameters to obtain the brightness image.

可选的,所述处理器1010还用于:检测针对所述待处理图像的触控操作;若检测到所述触控操作,则确定所述触控操作对应的操作区域;将所述待处理图像中所述操作区域之外的区域作为所述待处理图像的背景区域。Optionally, theprocessor 1010 is further configured to: detect a touch operation on the image to be processed; if the touch operation is detected, determine an operation area corresponding to the touch operation; The area outside the operation area in the processed image is used as the background area of the image to be processed.

可选的,所述处理器1010还用于:识别所述操作区域的图像特征,并将识别到的所述图像特征作为所述待处理图像的目标对象;根据所述背景区域中各背景对象在所述深度图中与所述目标对象的位置关系,生成所述待处理图像的虚化曲线;其中,所述背景区域中每一背景对象的虚化程度与相对距离呈正相关,所述相对距离为每一背景对象在所述深度图中相对所述目标对象的距离。Optionally, theprocessor 1010 is further configured to: identify the image features of the operation area, and use the identified image features as the target object of the image to be processed; According to the positional relationship between the depth map and the target object, a blurring curve of the to-be-processed image is generated; wherein, the blurring degree of each background object in the background area is positively correlated with the relative distance, and the relative Distance is the distance of each background object relative to the target object in the depth map.

可选的,在所述深度图中,基于所述目标对象在所述深度图中的位置,将所述深度图划分为前后两侧,对于位于所述目标对象前后两侧,且相对所述目标对象的距离相等的背景对象,前侧背景对象的虚化程度大于后侧背景对象的虚化程度;其中,所述前侧背景对象为所述待处理图像的拍摄过程中,位于所述双摄像头与所述目标对象之间的背景对象。Optionally, in the depth map, based on the position of the target object in the depth map, the depth map is divided into front and rear sides. For background objects with equal distances from the target objects, the blurring degree of the front side background object is greater than that of the back side background object; wherein, the front side background object is the image to be processed in the shooting process, located in the double A background object between the camera and the target object.

移动终端1000能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1000 can implement each process implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, details are not repeated here.

本发明实施例的移动终端1000,通过获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像。这样通过将待处理图像对应的虚化图像与待处理图像对应的亮度图像合成,得到输出图像,能够有效降低图像背景中的高亮区域的亮度,模拟出大光圈的散景效果,提升了图像处理效果。The mobile terminal 1000 in this embodiment of the present invention acquires a depth map corresponding to the to-be-processed image by acquiring the to-be-processed image captured by the dual cameras; and virtualizes the background area of the to-be-processed image according to the depth map. to obtain a blurred image; and to synthesize the blurred image and the brightness image corresponding to the to-be-processed image to obtain an output image. In this way, the output image is obtained by synthesizing the blurred image corresponding to the image to be processed and the brightness image corresponding to the image to be processed, which can effectively reduce the brightness of the highlighted area in the image background, simulate the bokeh effect of a large aperture, and improve the image. processing effect.

应理解的是,本发明实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, theradio frequency unit 1001 may be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by theprocessor 1010; The uplink data is sent to the base station. Generally, theradio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through thenetwork module 1002, such as helping the user to send and receive emails, browse web pages, and access streaming media.

音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与移动终端1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1003包括扬声器、蜂鸣器以及受话器等。Theaudio output unit 1003 may convert audio data received by theradio frequency unit 1001 or thenetwork module 1002 or stored in thememory 1009 into audio signals and output as sound. Also, theaudio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (eg, call signal reception sound, message reception sound, etc.). Theaudio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.

输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。Theinput unit 1004 is used to receive audio or video signals. Theinput unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and amicrophone 10042, and thegraphics processor 10041 captures still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on thedisplay unit 1006 . The image frames processed by thegraphics processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via theradio frequency unit 1001 or thenetwork module 1002 . Themicrophone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via theradio frequency unit 1001 for output in the case of a telephone call mode.

移动终端1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在移动终端1000移动到耳边时,关闭显示面板10061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 1000 also includes at least onesensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of thedisplay panel 10061 according to the brightness of the ambient light, and the proximity sensor can turn off thedisplay panel 10061 and the proximity sensor when themobile terminal 1000 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; thesensor 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元1006用于显示由用户输入的信息或提供给用户的信息。显示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10061。Thedisplay unit 1006 is used to display information input by the user or information provided to the user. Thedisplay unit 1006 may include adisplay panel 10061, and thedisplay panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元1007可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。Theuser input unit 1007 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, theuser input unit 1007 includes atouch panel 10071 andother input devices 10072 . Thetouch panel 10071, also known as the touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable objects or accessories on or near thetouch panel 10071. operate). Thetouch panel 10071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 1010, the command sent by theprocessor 1010 is received and executed. In addition, thetouch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to thetouch panel 10071 , theuser input unit 1007 may also includeother input devices 10072 . Specifically,other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.

进一步的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然在图10中,触控面板10071与显示面板10061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板10071与显示面板10061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, thetouch panel 10071 can be covered on thedisplay panel 10061. When thetouch panel 10071 detects a touch operation on or near it, it transmits it to theprocessor 1010 to determine the type of the touch event, and then theprocessor 1010 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on thedisplay panel 10061. Although in FIG. 10 , thetouch panel 10071 and thedisplay panel 10061 are used as two independent components to realize the input and output functions of the mobile terminal, but in some embodiments, thetouch panel 10071 and thedisplay panel 10061 can be integrated The input and output functions of the mobile terminal are implemented, which is not specifically limited here.

接口单元1008为外部装置与移动终端1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1000内的一个或多个元件或者可以用于在移动终端1000和外部装置之间传输数据。Theinterface unit 1008 is an interface for connecting an external device to themobile terminal 1000 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Theinterface unit 1008 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 1000 or may be used between themobile terminal 1000 and external Transfer data between devices.

存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 1009 may be used to store software programs as well as various data. Thememory 1009 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally,memory 1009 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器1010是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1010可包括一个或多个处理单元;优选的,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。Theprocessor 1010 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in thememory 1009, and calls the data stored in thememory 1009. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. Theprocessor 1010 may include one or more processing units; preferably, theprocessor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 1010.

移动终端1000还可以包括给各个部件供电的电源1011(比如电池),优选的,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components. Preferably, thepower supply 1011 may be logically connected to theprocessor 1010 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.

另外,移动终端1000包括一些未示出的功能模块,在此不再赘述。In addition, themobile terminal 1000 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including aprocessor 1010, amemory 1009, and a computer program stored in thememory 1009 and running on theprocessor 1010, when the computer program is executed by theprocessor 1010 The various processes of the above image processing method embodiments are implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not described here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above image processing method embodiments can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。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.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), 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 the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (10)

Translated fromChinese
1.一种图像处理方法,应用于包括双摄像头的移动终端,其特征在于,所述方法包括:1. An image processing method, applied to a mobile terminal comprising dual cameras, wherein the method comprises:获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;acquiring the to-be-processed image captured by the dual cameras, and acquiring a depth map corresponding to the to-be-processed image;根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;According to the depth map, performing a blurring process on the background area of the image to be processed to obtain a blurred image;将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像;synthesizing the blurred image and the brightness image corresponding to the to-be-processed image to obtain an output image;其中,所述根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像的步骤,包括:Wherein, the step of performing blurring processing on the background area of the image to be processed to obtain a blurred image according to the depth map includes:确定所述待处理图像的背景区域;determining the background area of the image to be processed;根据所述深度图生成所述待处理图像的虚化参数;generating a blurring parameter of the to-be-processed image according to the depth map;使用所述虚化参数对所述背景区域进行虚化处理,得到所述虚化图像;performing a blurring process on the background area using the blurring parameters to obtain the blurred image;所述将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像的步骤,包括:The step of synthesizing the blurred image and the brightness image corresponding to the to-be-processed image to obtain an output image includes:生成与所述待处理图像对应的亮度图像;generating a brightness image corresponding to the to-be-processed image;将所述虚化图像与所述亮度图像合成,得到所述输出图像;synthesizing the blurred image and the luminance image to obtain the output image;所述生成与所述待处理图像对应的亮度图像的步骤,包括:The step of generating a brightness image corresponding to the to-be-processed image includes:生成所述待处理图像的原始亮度图像;generating an original luminance image of the to-be-processed image;将所述原始亮度图像对应所述背景区域的区域划分成至少一个亮度区域,并将所述至少一个亮度区域中亮度超过预设亮度,且亮度面积大于预设面积的亮度区域,作为目标亮度区域;Divide the area of the original brightness image corresponding to the background area into at least one brightness area, and use the brightness area in the at least one brightness area that exceeds the preset brightness and the brightness area is greater than the preset area as the target brightness area ;将所述目标亮度区域从所述原始亮度图像中移除,得到目标亮度图像;removing the target luminance area from the original luminance image to obtain a target luminance image;使用所述虚化参数对所述目标亮度图像进行虚化处理,得到所述亮度图像。Perform a blurring process on the target luminance image by using the blurring parameter to obtain the luminance image.2.根据权利要求1所述的方法,其特征在于,所述确定所述待处理图像的背景区域的步骤,包括:2. The method according to claim 1, wherein the step of determining the background area of the image to be processed comprises:检测针对所述待处理图像的触控操作;detecting a touch operation on the to-be-processed image;若检测到所述触控操作,则确定所述触控操作对应的操作区域;If the touch operation is detected, determining the operation area corresponding to the touch operation;将所述待处理图像中所述操作区域之外的区域作为所述待处理图像的背景区域。The area outside the operation area in the image to be processed is used as the background area of the image to be processed.3.根据权利要求2所述的方法,其特征在于,所述根据所述深度图生成所述待处理图像的虚化参数的步骤,包括:3. The method according to claim 2, wherein the step of generating the blurring parameters of the image to be processed according to the depth map comprises:识别所述操作区域的图像特征,并将识别到的所述图像特征作为所述待处理图像的目标对象;Identify the image features of the operation area, and use the identified image features as the target object of the to-be-processed image;根据所述背景区域中各背景对象在所述深度图中与所述目标对象的位置关系,生成所述待处理图像的虚化曲线;generating a blurring curve of the to-be-processed image according to the positional relationship between each background object in the background area and the target object in the depth map;其中,所述背景区域中每一背景对象的虚化程度与相对距离呈正相关,所述相对距离为每一背景对象在所述深度图中相对所述目标对象的距离。Wherein, the blurring degree of each background object in the background area is positively correlated with the relative distance, and the relative distance is the distance of each background object relative to the target object in the depth map.4.根据权利要求3所述的方法,其特征在于,在所述深度图中,基于所述目标对象在所述深度图中的位置,将所述深度图划分为前后两侧,对于位于所述目标对象前后两侧,且相对所述目标对象的距离相等的背景对象,前侧背景对象的虚化程度大于后侧背景对象的虚化程度;4 . The method according to claim 3 , wherein, in the depth map, based on the position of the target object in the depth map, the depth map is divided into front and rear sides, and the depth map is divided into front and rear sides. For the background objects on the front and back sides of the target object, and the distance from the target object is equal, the blurring degree of the front side background object is greater than the blurring degree of the back side background object;其中,所述前侧背景对象为所述待处理图像的拍摄过程中,位于所述双摄像头与所述目标对象之间的背景对象。Wherein, the front-side background object is a background object located between the dual cameras and the target object during the shooting process of the to-be-processed image.5.一种移动终端,包括双摄像头,其特征在于,所述移动终端还包括:5. A mobile terminal comprising dual cameras, wherein the mobile terminal further comprises:获取模块,用于获取所述双摄像头拍摄的待处理图像,获取与所述待处理图像对应的深度图;an acquisition module, configured to acquire the to-be-processed image captured by the dual cameras, and acquire a depth map corresponding to the to-be-processed image;虚化模块,用于根据所述深度图,对所述待处理图像的背景区域进行虚化处理,得到虚化图像;a blurring module, configured to perform blurring processing on the background area of the image to be processed according to the depth map to obtain a blurred image;合成模块,用于将所述虚化图像与所述待处理图像对应的亮度图像合成,得到输出图像;a synthesis module, configured to synthesize the blurred image and the brightness image corresponding to the to-be-processed image to obtain an output image;其中,所述虚化模块包括:Wherein, the virtualizing module includes:确定子模块,用于确定所述待处理图像的背景区域;a determination submodule for determining the background area of the to-be-processed image;第一生成子模块,用于根据所述深度图生成所述待处理图像的虚化参数;a first generation submodule, configured to generate the blurring parameters of the to-be-processed image according to the depth map;虚化子模块,用于使用所述虚化参数对所述背景区域进行虚化处理,得到所述虚化图像;a blurring sub-module, configured to perform blurring processing on the background area by using the blurring parameters to obtain the blurred image;所述合成模块包括:The synthesis module includes:第二生成子模块,用于生成与所述待处理图像对应的亮度图像;a second generating submodule, configured to generate a brightness image corresponding to the to-be-processed image;合成子模块,用于将所述虚化图像与所述亮度图像合成,得到所述输出图像;a synthesizing submodule for synthesizing the blurred image and the luminance image to obtain the output image;第一生成单元,用于生成所述待处理图像的原始亮度图像;a first generating unit, configured to generate an original luminance image of the to-be-processed image;第一确定单元,将所述原始亮度图像对应所述背景区域的区域划分成至少一个亮度区域,并将所述至少一个亮度区域中亮度超过预设亮度,且亮度面积大于预设面积的亮度区域,作为目标亮度区域;a first determining unit, dividing the area of the original brightness image corresponding to the background area into at least one brightness area, and dividing the brightness area of the at least one brightness area into a brightness area that exceeds a preset brightness and whose brightness area is greater than a preset area , as the target brightness area;移除单元,将所述目标亮度区域从所述原始亮度图像中移除,得到目标亮度图像;a removing unit, which removes the target luminance area from the original luminance image to obtain a target luminance image;虚化单元,用于使用所述虚化参数对所述目标亮度图像进行虚化处理,得到所述亮度图像。A blurring unit, configured to perform blurring processing on the target luminance image by using the blurring parameter to obtain the luminance image.6.根据权利要求5所述的移动终端,其特征在于,所述确定子模块包括:6. The mobile terminal according to claim 5, wherein the determining submodule comprises:检测单元,用于检测针对所述待处理图像的触控操作;a detection unit, configured to detect a touch operation on the to-be-processed image;第二确定单元,用于若检测到所述触控操作,则确定所述触控操作对应的操作区域;a second determining unit, configured to determine an operation area corresponding to the touch operation if the touch operation is detected;第三确定单元,将所述待处理图像中所述操作区域之外的区域作为所述待处理图像的背景区域。The third determining unit is to use the area outside the operation area in the image to be processed as the background area of the image to be processed.7.根据权利要求6所述的移动终端,其特征在于,所述第一生成子模块包括:7. The mobile terminal according to claim 6, wherein the first generating submodule comprises:识别单元,用于识别所述操作区域的图像特征,并将识别到的所述图像特征作为所述待处理图像的目标对象;an identification unit, configured to identify the image feature of the operation area, and use the identified image feature as the target object of the to-be-processed image;第二生成单元,用于根据所述背景区域中各背景对象在所述深度图中与所述目标对象的位置关系,生成所述待处理图像的虚化曲线;a second generating unit, configured to generate a blurring curve of the to-be-processed image according to the positional relationship between each background object in the background area and the target object in the depth map;其中,所述背景区域中每一背景对象的虚化程度与相对距离呈正相关,所述相对距离为每一背景对象在所述深度图中相对所述目标对象的距离。Wherein, the blurring degree of each background object in the background area is positively correlated with the relative distance, and the relative distance is the distance of each background object relative to the target object in the depth map.8.根据权利要求7所述的移动终端,其特征在于,在所述深度图中,基于所述目标对象在所述深度图中的位置,将所述深度图划分为前后两侧,对于位于所述目标对象前后两侧,且相对所述目标对象的距离相等的背景对象,前侧背景对象的虚化程度大于后侧背景对象的虚化程度;8 . The mobile terminal according to claim 7 , wherein, in the depth map, based on the position of the target object in the depth map, the depth map is divided into front and rear sides, and the depth map is divided into front and rear sides. For the background objects on the front and back sides of the target object and at the same distance from the target object, the blurring degree of the front side background object is greater than the blurring degree of the back side background object;其中,所述前侧背景对象为所述待处理图像的拍摄过程中,位于所述双摄像头与所述目标对象之间的背景对象。Wherein, the front-side background object is a background object located between the dual cameras and the target object during the shooting process of the to-be-processed image.9.一种移动终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至4中任一项所述的图像处理方法的步骤。9. A mobile terminal, characterized in that, comprising a processor, a memory and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the right The steps of the image processing method of any one of claims 1 to 4.10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的图像处理方法的步骤。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program according to any one of claims 1 to 4 is implemented. The steps of an image processing method.
CN201710881932.5A2017-09-262017-09-26Image processing method and mobile terminalActiveCN107730460B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710881932.5ACN107730460B (en)2017-09-262017-09-26Image processing method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710881932.5ACN107730460B (en)2017-09-262017-09-26Image processing method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN107730460A CN107730460A (en)2018-02-23
CN107730460Btrue CN107730460B (en)2020-02-14

Family

ID=61208093

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710881932.5AActiveCN107730460B (en)2017-09-262017-09-26Image processing method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN107730460B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11893668B2 (en)2021-03-312024-02-06Leica Camera AgImaging system and method for generating a final digital image via applying a profile to image information
US12254644B2 (en)2021-03-312025-03-18Leica Camera AgImaging system and method

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108449589A (en)*2018-03-262018-08-24德淮半导体有限公司Handle the method, apparatus and electronic equipment of image
CN108989678B (en)*2018-07-272021-03-23维沃移动通信有限公司 Image processing method and mobile terminal
CN110855876B (en)*2018-08-212022-04-05中兴通讯股份有限公司 An image processing method, terminal and computer storage medium
CN115066881B (en)*2020-02-062023-11-14Oppo广东移动通信有限公司Method, system and computer readable medium for generating stabilized image composition effects for image sequences
CN111626924B (en)*2020-05-282023-08-15维沃移动通信有限公司Image blurring processing method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103366352A (en)*2012-03-302013-10-23北京三星通信技术研究有限公司Device and method for producing image with background being blurred
CN106875356A (en)*2017-01-222017-06-20深圳市金立通信设备有限公司The method and terminal of a kind of image procossing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103942755B (en)*2013-01-232017-11-17深圳市腾讯计算机系统有限公司Brightness of image adjusting method and device
CN106993112B (en)*2017-03-092020-01-10Oppo广东移动通信有限公司Background blurring method and device based on depth of field and electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103366352A (en)*2012-03-302013-10-23北京三星通信技术研究有限公司Device and method for producing image with background being blurred
CN106875356A (en)*2017-01-222017-06-20深圳市金立通信设备有限公司The method and terminal of a kind of image procossing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11893668B2 (en)2021-03-312024-02-06Leica Camera AgImaging system and method for generating a final digital image via applying a profile to image information
US12254644B2 (en)2021-03-312025-03-18Leica Camera AgImaging system and method

Also Published As

Publication numberPublication date
CN107730460A (en)2018-02-23

Similar Documents

PublicationPublication DateTitle
CN107730460B (en)Image processing method and mobile terminal
CN108540724A (en)A kind of image pickup method and mobile terminal
CN107566730B (en) A panoramic image shooting method and mobile terminal
CN107665697A (en)The adjusting method and mobile terminal of a kind of screen intensity
CN107977652B (en)Method for extracting screen display content and mobile terminal
CN110933302B (en) A shooting method and electronic device
CN107749046B (en)Image processing method and mobile terminal
CN107592467A (en)A kind of image pickup method and mobile terminal
CN111401463B (en)Method for outputting detection result, electronic equipment and medium
CN108320263A (en)A kind of method, device and mobile terminal of image procossing
CN110213440A (en)A kind of images share method and terminal
CN110213485A (en)A kind of image processing method and terminal
CN110602389A (en)Display method and electronic equipment
CN107888833A (en)A kind of image capturing method and mobile terminal
CN110198428A (en)A kind of multimedia file producting method and first terminal
CN109005314B (en)Image processing method and terminal
CN107682637A (en) A shooting method, mobile terminal and computer-readable storage medium
CN108174081B (en) A shooting method and mobile terminal
CN107959755B (en) A kind of photographing method, mobile terminal and computer readable storage medium
CN108833796A (en) An image capturing method and terminal
CN108932505B (en)Image processing method and electronic equipment
CN107566738A (en)A kind of panorama shooting method, mobile terminal and computer-readable recording medium
CN108259756B (en) An image capturing method and mobile terminal
CN107817963B (en) Image display method, mobile terminal and computer-readable storage medium
CN107800968B (en) A shooting method and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp