CN105827754B - A method for generating a high dynamic range image and a mobile terminal - Google Patents
A method for generating a high dynamic range image and a mobile terminal Download PDFInfo
- Publication number
- CN105827754B CN105827754B CN201610177490.1A CN201610177490A CN105827754B CN 105827754 B CN105827754 B CN 105827754B CN 201610177490 A CN201610177490 A CN 201610177490A CN 105827754 B CN105827754 B CN 105827754B
- Authority
- CN
- China
- Prior art keywords
- image
- camera
- grayscale
- pixel
- value
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种高动态范围图像的生成方法及移动终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method for generating a high dynamic range image and a mobile terminal.
背景技术Background technique
使用高动态范围(High-Dynamic Range,HDR)拍摄模式时,用户可以得到拍摄对象的HDR图像。相比普通的图像,HDR图像可以提供更多的动态范围和图像细节,和人眼看到的图像比较接近。因此,很多人喜欢使用HDR模式进行拍摄。When using the High-Dynamic Range (HDR) shooting mode, users can get HDR images of their subjects. Compared with ordinary images, HDR images can provide more dynamic range and image details, which are closer to the images seen by the human eye. Therefore, many people like to shoot in HDR mode.
目前,HDR拍摄方法一般为:用户点击拍照后,移动终端通过同一摄像头分先后顺序地对拍摄对象进行三次拍摄,依次得到拍摄对象的一张正常曝光的图像,一张过曝的图像,一张欠曝的图像;然后根据三张曝光量不同的图像合成拍摄对象的HDR图像。因此用户只有在拍照完成后才能看到拍摄对象的HDR图像,不能对拍摄对象的HDR图像进行实时预览。At present, the HDR shooting method is generally as follows: after the user clicks to take a photo, the mobile terminal shoots the shooting object three times in sequence through the same camera, and sequentially obtains one normally exposed image, one overexposed image, and one image of the shooting object. The underexposed image; the HDR image of the subject is then composited from three differently exposed images. Therefore, the user can only see the HDR image of the subject after taking the photo, and cannot preview the HDR image of the subject in real time.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种高动态范围图像的生成方法及移动终端,以解决现有拍摄方法不能实时预览拍摄对象的高动态范围图像的问题。Embodiments of the present invention provide a method for generating a high dynamic range image and a mobile terminal, so as to solve the problem that the existing shooting method cannot preview the high dynamic range image of the shooting object in real time.
第一方面,本发明实施例提供了一种高动态范围图像的生成方法,应用于移动终端,该移动终端包括第一摄像头、第二摄像头和第三摄像头,该方法包括:In a first aspect, an embodiment of the present invention provides a method for generating a high dynamic range image, which is applied to a mobile terminal, where the mobile terminal includes a first camera, a second camera, and a third camera, and the method includes:
获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;acquiring a first image, a second image and a third image respectively collected by the first camera, the second camera and the third camera on the same photographing object at the same moment;
对第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像;Perform image processing on the first image, the second image and the third image to generate a frame of high dynamic range image;
其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。The first image is a normal exposure image, the second image is an overexposed image, and the third image is an underexposed image.
第二方面,本发明实施例还提供了一种移动终端,包括第一摄像头、第二摄像头和第三摄像头,该移动终端还包括:In a second aspect, an embodiment of the present invention further provides a mobile terminal, including a first camera, a second camera, and a third camera, and the mobile terminal further includes:
图像获取模块,用于获取第一摄像头、第二摄像头和第三摄像头对同一拍摄对象分别采集的第一图像、第二图像和第三图像;an image acquisition module, configured to acquire the first image, the second image and the third image respectively collected by the first camera, the second camera and the third camera on the same shooting object;
图像处理模块,用于对图像获取模块获取的第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像;an image processing module, configured to perform image processing on the first image, the second image and the third image acquired by the image acquisition module to generate a frame of high dynamic range image;
其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。The first image is a normal exposure image, the second image is an overexposed image, and the third image is an underexposed image.
这样,本发明实施例中,通过获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;对第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像;其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。使得用户在拍摄预览阶段就可以实时看到拍摄对象的高动态范围图像,提升了用户的使用体验。In this way, in this embodiment of the present invention, the first image, the second image and the third image respectively collected by the first camera, the second camera and the third camera for the same shooting object at the same time are obtained; Image processing is performed on the image and the third image to generate a frame of high dynamic range image; wherein the first image is a normal exposure image, the second image is an overexposed image, and the third image is an underexposed image. The user can see the high dynamic range image of the shooting object in real time in the shooting preview stage, which improves the user experience.
附图说明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 a method for generating a high dynamic range image according to a first embodiment of the present invention;
图2为本发明的第二实施例的高动态范围图像的生成方法的流程图;2 is a flowchart of a method for generating a high dynamic range image according to a second embodiment of the present invention;
图3A为本发明的第三实施例的移动终端的结构图示意图;3A is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention;
图3B为本发明的第三实施例的移动终端的另一结构图示意图;FIG. 3B is another schematic structural diagram of the mobile terminal according to the third embodiment of the present invention;
图4为本发明的第四实施例的移动终端的结构示意图;4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention;
图5为本发明的第五实施例的移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to a fifth 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 only a 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 fall within the protection scope of the present invention.
第一实施例first embodiment
参见图1,图1示出了本发明的第一实施例的高动态范围图像的生成方法的流程图,具体步骤如下:Referring to FIG. 1, FIG. 1 shows a flowchart of a method for generating a high dynamic range image according to the first embodiment of the present invention, and the specific steps are as follows:
步骤101,获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像。Step 101: Acquire a first image, a second image, and a third image respectively collected by the first camera, the second camera, and the third camera on the same photographing object at the same time.
需要说明的是,步骤101中是通过三个摄像头,同时得到拍摄对象的第一图像、第二图像和第三图像。其中第一图像为正常曝光的图像,第二图像为过曝图像,第三图像为欠曝图像。可以通过为每一摄像头配置不同大小的光圈,实现各个摄像头获取的图像的曝光量不同。也可以通过为每一摄像头设置不同的曝光增益值,实现各个摄像头获取的图像的曝光量不同。当然可以理解的是,本实施例并不限定,实现各个摄像头获取的图像的曝光量不同的具体方式。It should be noted that, in step 101, three cameras are used to simultaneously obtain the first image, the second image and the third image of the shooting object. The first image is a normally exposed image, the second image is an overexposed image, and the third image is an underexposed image. By configuring apertures of different sizes for each camera, different exposures of images obtained by each camera can be achieved. It is also possible to set different exposure gain values for each camera to achieve different exposures of images obtained by each camera. Of course, it can be understood that this embodiment does not limit the specific manner in which the exposure of the images obtained by each camera is different.
步骤102,对第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像。Step 102: Perform image processing on the first image, the second image and the third image to generate a frame of high dynamic range image.
需要说明的是,步骤102是通过将曝光量不同的图像进行合成,得到一帧高动态范围图像。而且由于步骤101中是通过三个摄像头,同时得到拍摄对象的第一图像、第二图像和第三图像。因此经过步骤102的处理后,就可以使得用户在拍摄预览阶段就可以实时看到拍摄对象的高动态范围图像,从而提升用户的拍摄体验。It should be noted that, step 102 is to obtain a frame of high dynamic range image by synthesizing images with different exposures. Moreover, since three cameras are used in step 101, the first image, the second image and the third image of the shooting object are obtained simultaneously. Therefore, after the processing of step 102, the user can see the high dynamic range image of the shooting object in real time in the shooting preview stage, thereby improving the shooting experience of the user.
本发明实施中,通过获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;对第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像。使得用户在拍摄预览阶段就可以实时看到拍摄对象的高动态范围图像,提升了用户的使用体验。In the implementation of the present invention, the first image, the second image and the third image respectively collected by the first camera, the second camera and the third camera for the same shooting object at the same time are obtained; Image processing is performed on the three images to generate a frame of high dynamic range image. The user can see the high dynamic range image of the shooting object in real time in the shooting preview stage, which improves the user experience.
第二实施例Second Embodiment
参见图2,图2示出了本发明的第二实施例的高动态范围图像的生成方法的流程图,具体步骤如下:Referring to FIG. 2, FIG. 2 shows a flowchart of a method for generating a high dynamic range image according to a second embodiment of the present invention, and the specific steps are as follows:
步骤201,获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像。Step 201: Acquire a first image, a second image and a third image respectively collected by the first camera, the second camera and the third camera on the same shooting object at the same time.
需要说明的是,步骤201中是通过三个摄像头同时得到拍摄对象的第一图像、第二图像和第三图像。其中第一图像为正常曝光的图像,第二图像为过曝图像,第三图像为欠曝图像。而实现各个摄像头获取的图像的曝光量不同的方式,可以是第一摄像头、第二摄像头和第三摄像头的曝光起止时间和曝光增益均相同,第二摄像头的光圈F值大于第一摄像头的光圈F值,第三摄像头的光圈F值小于第一摄像头的光圈F值。例如可以为第一摄像头配置正常曝光所需的光圈,也即第一摄像头的光圈F值为正常曝光所需的光圈F值;而第一摄像头的光圈F值为第三摄像头光圈F值的1.414倍左右,第二摄像头的光圈F值为第一摄像头光圈F值的1.414倍左右。It should be noted that, in step 201, the first image, the second image and the third image of the shooting object are simultaneously obtained through three cameras. The first image is a normally exposed image, the second image is an overexposed image, and the third image is an underexposed image. The way to achieve different exposures of images obtained by each camera may be that the exposure start and end times and exposure gains of the first camera, the second camera and the third camera are the same, and the aperture F value of the second camera is greater than the aperture of the first camera. F value, the aperture F value of the third camera is smaller than the aperture F value of the first camera. For example, the aperture required for normal exposure can be configured for the first camera, that is, the aperture F value of the first camera is the aperture F value required for normal exposure; and the aperture F value of the first camera is 1.414 of the aperture F value of the third camera times, the aperture F value of the second camera is about 1.414 times the aperture F value of the first camera.
也可以是第一摄像头、第二摄像头和第三摄像头的光圈F值相同,曝光起止时间相同,第二摄像头的曝光增益大于第一摄像头的曝光增益,第三摄像头的曝光增益小于第一摄像头的曝光增益。例如可以将第一摄像头的曝光增益设置为正常曝光所需的曝光增益,第二摄像头的曝光增益为第一摄像头的曝光增益的N倍,第三摄像头的曝光增益为第一摄像头的曝光增益的1/N倍,其中,N为大于1的整数,例如N为3。当然可以理解的是,本实施例并不限定实现各个摄像头获取的图像的曝光量不同的具体方式。It can also be that the first camera, the second camera and the third camera have the same aperture F value and the same exposure start and end times, the exposure gain of the second camera is greater than the exposure gain of the first camera, and the exposure gain of the third camera is smaller than that of the first camera. Exposure gain. For example, the exposure gain of the first camera can be set to the exposure gain required for normal exposure, the exposure gain of the second camera is N times the exposure gain of the first camera, and the exposure gain of the third camera is the exposure gain of the first camera. 1/N times, where N is an integer greater than 1, for example, N is 3. Of course, it can be understood that this embodiment does not limit a specific manner for realizing different exposures of images obtained by each camera.
步骤202,对第一图像、第二图像和第三图像分别进行图像预处理,生成第一中间图像、第二中间图像和第三中间图像。Step 202: Perform image preprocessing on the first image, the second image, and the third image, respectively, to generate a first intermediate image, a second intermediate image, and a third intermediate image.
需要说明的是,步骤202中的第一图像、第二图像和第三图像均为RAW格式的图像,而图像预处理过程可以包括:去除马赛克处理、锐化处理、去噪处理、色彩转换处理和色彩增强处理等步骤。经过图像预处理后所得到的第一中间图像、第二中间图像和第三中间图像均为YUV格式的图像。It should be noted that the first image, the second image and the third image in step 202 are all images in RAW format, and the image preprocessing process may include: de-mosaic processing, sharpening processing, denoising processing, and color conversion processing and color enhancement processing. The first intermediate image, the second intermediate image and the third intermediate image obtained after image preprocessing are all images in YUV format.
步骤203,以第一中间图像为基准,将第二中间图像和第三中间图像校正至和第一中间图像为同一视场,得到校正后的第二中间图像和第三中间图像。Step 203 , using the first intermediate image as a reference, correct the second intermediate image and the third intermediate image to be the same field of view as the first intermediate image, and obtain the corrected second intermediate image and the third intermediate image.
需要说明的是,由于各个摄像头相互之间存在一定距离,每个摄像头具有不同的视角。因此为了使得各个摄像头获得的图像具有同一视场,需要根据各个摄像头的视角以及相对位置关系,对各个摄像头的拍摄视角做出调整,使得各个摄像头拍摄的图像具有同一视场。步骤203中是通过将第二中间图像和第三中间图像校正至和第一中间图像为同一视场,实现三个摄像头得到的图像具有同一视场。It should be noted that each camera has a different viewing angle due to a certain distance between the cameras. Therefore, in order to make the images obtained by each camera have the same field of view, it is necessary to adjust the shooting angle of view of each camera according to the angle of view and relative positional relationship of each camera, so that the images captured by each camera have the same field of view. In step 203, by correcting the second intermediate image and the third intermediate image to have the same field of view as the first intermediate image, the images obtained by the three cameras have the same field of view.
步骤204,分别提取第一中间图像、校正后的第二中间图像和第三中间图像的灰度信息,得到第一灰度图像、第二灰度图像和第三灰度图像。Step 204: Extract grayscale information of the first intermediate image, the corrected second intermediate image, and the third intermediate image, respectively, to obtain a first grayscale image, a second grayscale image, and a third grayscale image.
本发明实施例中,对于YUV格式的图像,分为Y和U、V三个数据通道,其中Y通道代表灰度信息,U和V通道代表色彩信息,对于第一中间图像、校正后的第二中间图像和第三中间图像的灰度信息,分别提取出Y通道的数据即灰度信息,可得到第一灰度图像、第二灰度图像和第三灰度图像。In the embodiment of the present invention, an image in YUV format is divided into three data channels: Y, U, and V, wherein the Y channel represents grayscale information, and the U and V channels represent color information. From the grayscale information of the second intermediate image and the third intermediate image, the data of the Y channel, that is, the grayscale information, can be extracted respectively, and the first grayscale image, the second grayscale image and the third grayscale image can be obtained.
步骤205,基于第一灰度图像中的每个像素点的灰度值,确定第一灰度图像中每个像素点的属性。Step 205: Determine the attribute of each pixel in the first grayscale image based on the grayscale value of each pixel in the first grayscale image.
需要说明的是,每个像素点的属性可以分为正常曝光、欠曝或过曝。可以基于像素点的灰度值对每一像素点的属性进行判断。例如可以预设一个第一阈值和一个第二阈值,优选的,第一阈值的取值范围为大于或等于200且小于255,第二阈值的取值范围为大于0且小于50。It should be noted that the attributes of each pixel can be divided into normal exposure, underexposure or overexposure. The attribute of each pixel point can be judged based on the gray value of the pixel point. For example, a first threshold value and a second threshold value may be preset. Preferably, the value range of the first threshold value is greater than or equal to 200 and less than 255, and the value range of the second threshold value is greater than 0 and less than 50.
当第一灰度图像中的像素点的灰度值大于第一阈值,则确定第一灰度图像中的像素点的属性为过曝;When the grayscale value of the pixel in the first grayscale image is greater than the first threshold, determining that the attribute of the pixel in the first grayscale image is overexposure;
若第一灰度图像中的像素点的灰度值小于第二阈值,则确定第一灰度图像中的像素点的属性为欠曝;If the grayscale value of the pixel in the first grayscale image is less than the second threshold, determining that the attribute of the pixel in the first grayscale image is underexposure;
若第一灰度图像中的像素点的灰度值大于或等于第二阈值且小于或等于第一阈值,则确定第一灰度图像中的像素点的属性为正常曝光。If the grayscale value of the pixel in the first grayscale image is greater than or equal to the second threshold and less than or equal to the first threshold, the attribute of the pixel in the first grayscale image is determined to be normal exposure.
步骤206,基于第一灰度图像中的每个像素点的属性,为第一灰度图像中每个像素点赋值。Step 206: Assign a value to each pixel in the first grayscale image based on the attribute of each pixel in the first grayscale image.
需要说明的是,为了得到高动态范围图像,在确定了第一灰度图像中的每个像素点的属性后,需要根据第一灰度图像中的每个像素点的属性,为第一灰度图像中每个像素点赋灰度值。具体地,可以采用如下方式进行赋值:It should be noted that, in order to obtain a high dynamic range image, after determining the attribute of each pixel in the first grayscale image, it is necessary to determine the first grayscale image according to the attribute of each pixel in the first grayscale image. Each pixel in the image is assigned a gray value. Specifically, the assignment can be performed in the following ways:
若第一灰度图像中的像素点的属性为过曝,则通过公式G1=g1×40%+gw×60%得到第一灰度值,将第一灰度值赋值给第一灰度图像中的像素点,其中,G1为第一灰度值,g1为第三灰度图像中与第一灰度图像中的像素点对应位置的像素点的灰度值,gw为第一灰度图像中的像素点的灰度值;If the attribute of the pixel in the first grayscale image is overexposure, the first grayscale value is obtained through the formula G 1 =g 1 ×40%+g w ×60%, and the first gray value is assigned to the first grayscale value. A pixel point in a grayscale image, where G1 is the first grayscale value, g1 is the grayscale value of the pixel point in the third grayscale image corresponding to the pixel point in the first grayscale image, gw is the gray value of the pixel in the first gray image;
若第一灰度图像中的像素点的属性为欠曝,则通过公式G2=g2×40%+gw×60%得到第二灰度值,将第二灰度值赋值给第一灰度图像中的像素点,其中,G2为第二灰度值,g2为第二灰度图像中与第一灰度图像中的像素点对应位置的像素点的灰度值,gw为第一灰度图像中的像素点的灰度值;If the attribute of the pixel in the first grayscale image is underexposed, the second grayscale value is obtained by formula G 2 =g 2 ×40%+g w ×60%, and the second gray value is assigned to the first grayscale value. A pixel point in a grayscale image, where G2 is the second grayscale value, g2 is the grayscale value of the pixel point in the second grayscale image corresponding to the pixel point in the first grayscale image, gw is the gray value of the pixel in the first gray image;
若第一灰度图像中的像素点的属性为正常曝光,则第一灰度图像中的像素点的灰度值保持不变。If the attribute of the pixel in the first grayscale image is normal exposure, the grayscale value of the pixel in the first grayscale image remains unchanged.
步骤207,生成一帧高动态范围图像。Step 207, generating a frame of high dynamic range image.
本步骤中,当第一灰度图像中所有属性为欠曝或过曝的像素点均完成灰度值赋值后,生成第四中间图像,将第四中间图像中的每个像素点的灰度值赋值给第一中间图像中对应位置的像素点,生成一帧高动态范围图像。In this step, after all the pixels whose attributes are under-exposed or over-exposed in the first grayscale image have completed the grayscale value assignment, a fourth intermediate image is generated, and the grayscale of each pixel in the fourth intermediate image is The value is assigned to the pixel at the corresponding position in the first intermediate image, and a frame of high dynamic range image is generated.
本发明实施例的高动态范围图像的生成方法,通过获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;对第一图像、第二图像和第三图像分别进行图像预处理,生成第一中间图像、第二中间图像和第三中间图像;以第一中间图像为基准,将第二中间图像和第三中间图像校正至和第一中间图像为同一视场,得到校正后的第二中间图像和第三中间图像;分别提取第一中间图像、校正后的第二中间图像和第三中间图像的灰度信息,得到第一灰度图像、第二灰度图像和第三灰度图像;基于第一灰度图像中的每个像素点的灰度值,确定第一灰度图像中每个像素点的属性;基于第一灰度图像中的每个像素点的属性,为第一灰度图像中每个像素点赋值;当第一灰度图像中所有属性为欠曝或过曝的像素点均完成灰度值赋值后,生成第四中间图像,将第四中间图像中的每个像素点的灰度值赋值给第一中间图像中对应位置的像素点,生成一帧高动态范围图像。使得用户在拍摄预览阶段就可以实时看到拍摄对象的高动态范围图像,提升了用户的使用体验。In the method for generating a high dynamic range image according to the embodiment of the present invention, the first image, the second image and the third image respectively collected by the first camera, the second camera and the third camera on the same shooting object at the same time are obtained; The first image, the second image and the third image are respectively subjected to image preprocessing to generate the first intermediate image, the second intermediate image and the third intermediate image; Correcting to the same field of view as the first intermediate image, the corrected second intermediate image and the third intermediate image are obtained; respectively extracting the grayscale information of the first intermediate image, the corrected second intermediate image and the third intermediate image, obtaining a first grayscale image, a second grayscale image and a third grayscale image; determining the attribute of each pixel in the first grayscale image based on the grayscale value of each pixel in the first grayscale image; Based on the attributes of each pixel in the first grayscale image, assign a value to each pixel in the first grayscale image; when all the pixels whose attributes are underexposed or overexposed in the first grayscale image are grayscale After the value is assigned, a fourth intermediate image is generated, and the gray value of each pixel in the fourth intermediate image is assigned to a pixel at a corresponding position in the first intermediate image to generate a frame of high dynamic range image. The user can see the high dynamic range image of the shooting object in real time in the shooting preview stage, which improves the user experience.
第三实施例Third Embodiment
参见图3A,图3A示出了本发明的第三实施例的移动终端的结构图,图3A所示的移动终端30包括:第一摄像头31、第二摄像头32、第三摄像头33、图像获取模块34以及图像处理模块35,其中:Referring to FIG. 3A, FIG. 3A shows a structural diagram of a mobile terminal according to a third embodiment of the present invention, and the mobile terminal 30 shown in FIG. 3A includes: a first camera 31, a second camera 32, a third camera 33, an image acquisition camera module 34 and image processing module 35, wherein:
第一摄像头31、第二摄像头32和第三摄像头33可以是光圈F值相同,曝光起止时间相同,第二摄像头32的曝光增益大于第一摄像头31的曝光增益,第三摄像头33的曝光增益小于第一摄像头31的曝光增益,具体地,第二摄像头32的曝光增益为第一摄像头31的曝光增益的N倍,第三摄像头33的曝光增益为第一摄像头31的曝光增益的1/N倍,其中,N为大于1的整数。The first camera 31, the second camera 32 and the third camera 33 may have the same aperture F value and the same exposure start and end time, the exposure gain of the second camera 32 is greater than that of the first camera 31, and the exposure gain of the third camera 33 is less than The exposure gain of the first camera 31, specifically, the exposure gain of the second camera 32 is N times the exposure gain of the first camera 31, and the exposure gain of the third camera 33 is 1/N times the exposure gain of the first camera 31 , where N is an integer greater than 1.
也可以是曝光起止时间和曝光增益均相同,第二摄像头32的光圈F值大于第一摄像头31的光圈F值,第三摄像头33的光圈F值小于第一摄像头31的光圈F值。The exposure start and end time and exposure gain may also be the same, the aperture F value of the second camera 32 is greater than that of the first camera 31 , and the aperture F value of the third camera 33 is smaller than that of the first camera 31 .
图像获取模块34,用于获取第一摄像头31、第二摄像头32和第三摄像头33对同一拍摄对象分别采集的第一图像、第二图像和第三图像;其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。The image acquisition module 34 is used to acquire the first image, the second image and the third image respectively collected by the first camera 31, the second camera 32 and the third camera 33 for the same shooting object; wherein the first image is a normal exposure image , the second image is an overexposed image, and the third image is an underexposed image.
图像处理模块35,用于对图像获取模块34获取的第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像。The image processing module 35 is configured to perform image processing on the first image, the second image and the third image obtained by the image obtaining module 34 to generate a frame of high dynamic range image.
在图3A的基础上,可选地,图像处理模块35包括:预处理子模块351以及合成子模块352,合成子模块352包括:校正单元3521、提取单元3522、属性确定单元3523、赋值单元3524以及生成单元3525,属性确定单元3523包括:第一确定子单元35231、第二确定子单元35232以及第三确定子单元35233,参见图3B,其中:On the basis of FIG. 3A , optionally, the image processing module 35 includes a preprocessing submodule 351 and a synthesis submodule 352 , and the synthesis submodule 352 includes a correction unit 3521 , an extraction unit 3522 , an attribute determination unit 3523 , and an assignment unit 3524 And the generation unit 3525, the attribute determination unit 3523 includes: a first determination subunit 35231, a second determination subunit 35232 and a third determination subunit 35233, see FIG. 3B, wherein:
预处理子模块351,用于对图像获取模块304获取的第一图像、第二图像和第三图像分别进行图像预处理,生成第一中间图像、第二中间图像和第三中间图像;其中,第一图像、第二图像和第三图像均为RAW格式的图像,第一中间图像、第二中间图像和第三中间图像均为YUV格式的图像。The preprocessing sub-module 351 is used to perform image preprocessing on the first image, the second image and the third image acquired by the image acquisition module 304, respectively, to generate the first intermediate image, the second intermediate image and the third intermediate image; wherein, The first image, the second image and the third image are all images in RAW format, and the first intermediate image, the second intermediate image and the third intermediate image are all images in YUV format.
具体地,预处理子模块351用于:去除马赛克处理、锐化处理、去噪处理、色彩转换处理和色彩增强处理中的至少一种。Specifically, the preprocessing sub-module 351 is used for at least one of de-mosaic processing, sharpening processing, denoising processing, color conversion processing and color enhancement processing.
合成子模块352,用于根据预设高动态范围图像合成算法,对预处理子模块351生成的第一中间图像、第二中间图像和第三中间图像进行图像合成处理,生成一帧高动态范围图像。The synthesis sub-module 352 is configured to perform image synthesis processing on the first intermediate image, the second intermediate image and the third intermediate image generated by the preprocessing sub-module 351 according to a preset high dynamic range image synthesis algorithm to generate a frame of high dynamic range image.
校正单元3521,用于以预处理子模块351生成的第一中间图像为基准,将预处理子模块351生成的第二中间图像和第三中间图像校正至和第一中间图像为同一视场,得到校正后的第二中间图像和第三中间图像。The correction unit 3521 is used to correct the second intermediate image and the third intermediate image generated by the preprocessing submodule 351 to be the same field of view as the first intermediate image based on the first intermediate image generated by the preprocessing submodule 351, A corrected second intermediate image and a third intermediate image are obtained.
提取单元3522,用于分别提取第一中间图像、经校正单元3521校正后的第二中间图像和第三中间图像的灰度信息,得到第一灰度图像、第二灰度图像和第三灰度图像。The extraction unit 3522 is used to extract the grayscale information of the first intermediate image, the second intermediate image and the third intermediate image corrected by the correction unit 3521, respectively, to obtain the first grayscale image, the second grayscale image and the third grayscale image. degree image.
属性确定单元3523,用于基于提取单元3522得到的第一灰度图像中的每个像素点的灰度值,确定第一灰度图像中每个像素点的属性,其中,属性包括正常曝光、欠曝或过曝。The attribute determination unit 3523 is used to determine the attribute of each pixel in the first grayscale image based on the grayscale value of each pixel in the first grayscale image obtained by the extraction unit 3522, wherein the attributes include normal exposure, Underexposed or overexposed.
赋值单元3524,用于若属性确定单元3523确定第一灰度图像中的像素点的属性为过曝,则通过公式G1=g1×40%+gw×60%得到第一灰度值,将第一灰度值赋值给第一灰度图像中的像素点,其中,G1为第一灰度值,g1为第三灰度图像中与第一灰度图像中的像素点对应位置的像素点的灰度值,gw为第一灰度图像中的像素点的灰度值;The assignment unit 3524 is configured to obtain the first gray value through the formula G 1 =g 1 ×40%+g w ×60% if the attribute determination unit 3523 determines that the attribute of the pixel in the first grayscale image is overexposed , assign the first gray value to a pixel in the first gray image, where G 1 is the first gray value, and g 1 is the pixel corresponding to the first gray image in the third gray image The gray value of the pixel point at the position, gw is the gray value of the pixel point in the first grayscale image;
赋值单元3524还用于若属性确定单元3523确定第一灰度图像中的像素点的属性为欠曝,则通过公式G2=g2×40%+gw×60%得到第二灰度值,将第二灰度值赋值给第一灰度图像中的像素点,其中,G2为第二灰度值,g2为第二灰度图像中与第一灰度图像中的像素点对应位置的像素点的灰度值,gw为第一灰度图像中的像素点的灰度值;The assignment unit 3524 is further configured to obtain the second gray value through the formula G 2 =g 2 ×40%+g w ×60% if the attribute determination unit 3523 determines that the attribute of the pixel in the first grayscale image is underexposed , assign the second gray value to the pixel in the first gray image, where G 2 is the second gray value, and g 2 is the pixel in the second gray image corresponding to the first gray image The gray value of the pixel point at the position, gw is the gray value of the pixel point in the first grayscale image;
赋值单元3524还用于若属性确定单元3523确定第一灰度图像中的像素点的属性为正常曝光,第一灰度图像中的像素点的灰度值保持不变。The assignment unit 3524 is further configured to keep the gray value of the pixel in the first gray image unchanged if the attribute determining unit 3523 determines that the attribute of the pixel in the first grayscale image is normal exposure.
生成单元3535,用于当赋值单元3524为第一灰度图像中所有属性为欠曝或过曝的像素点均完成灰度值赋值后,生成第四中间图像,将第四中间图像中的每个像素点的灰度值赋值给第一中间图像中对应位置的像素点,生成一帧高动态范围图像。The generating unit 3535 is configured to generate a fourth intermediate image after the assigning unit 3524 completes the gray value assignment for all the pixels whose attributes are under-exposed or over-exposed in the first grayscale image, and assigns each pixel in the fourth intermediate image to the grayscale value. The gray value of each pixel is assigned to the pixel at the corresponding position in the first intermediate image, and a frame of high dynamic range image is generated.
第一确定子单元35231,用于若第一灰度图像中的像素点的灰度值大于第一阈值,则确定第一灰度图像中的像素点的属性为过曝。The first determination subunit 35231 is configured to determine that the attribute of the pixel in the first grayscale image is overexposed if the grayscale value of the pixel in the first grayscale image is greater than the first threshold.
第二确定子单元35232,用于若第一灰度图像中的像素点的灰度值小于第二阈值,则确定第一灰度图像中的像素点的属性为欠曝。The second determination subunit 35232 is configured to determine that the attribute of the pixel in the first grayscale image is underexposed if the grayscale value of the pixel in the first grayscale image is smaller than the second threshold.
第三确定子单元35233,用于若第一灰度图像中的像素点的灰度值大于或等于第二阈值且小于或等于第一阈值,则确定第一灰度图像中的像素点的属性为正常曝光。The third determination subunit 35233 is configured to determine the attribute of the pixel in the first grayscale image if the grayscale value of the pixel in the first grayscale image is greater than or equal to the second threshold and less than or equal to the first threshold for normal exposure.
上述移动终端30能够实现图1至图2的实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The above-mentioned mobile terminal 30 can implement each process implemented by the mobile terminal in the embodiments of FIG. 1 to FIG. 2 , and in order to avoid repetition, details are not repeated here.
本发明实施例的移动终端,通过图像获取模块获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;图像处理模块对图像获取模块获取的第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像;其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。使得用户在拍摄预览阶段就可以实时看到拍摄对象的高动态范围图像,提升了用户的使用体验。In the mobile terminal according to the embodiment of the present invention, the image acquisition module acquires the first image, the second image and the third image respectively collected by the first camera, the second camera and the third camera on the same shooting object at the same time; The first image, the second image and the third image acquired by the image acquisition module are subjected to image processing to generate a frame of high dynamic range image; wherein the first image is a normal exposure image, the second image is an overexposure image, and the third image is underexposed image. The user can see the high dynamic range image of the shooting object in real time in the shooting preview stage, which improves the user experience.
第四实施例Fourth Embodiment
参见图4,图4是本发明的第四实施例的移动终端的框图。图4所示的移动终端400包括:至少一个处理器401、存储器402、至少一个网络接口403和其他用户接口404、拍照组件406,拍照组件406包括第一摄像头4061、第二摄像头4062和第三摄像头4063。移动终端400中的各个组件通过总线系统405耦合在一起。可理解,总线系统405用于实现这些组件之间的连接通信。总线系统405除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图4中将各种总线都标为总线系统405。Referring to FIG. 4, FIG. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention. The mobile terminal 400 shown in FIG. 4 includes: at least one processor 401, memory 402, at least one network interface 403 and other user interfaces 404, and a photographing component 406. The photographing component 406 includes a first camera 4061, a second camera 4062 and a third camera Camera 4063. The various components in the mobile terminal 400 are coupled together by a bus system 405 . It can be understood that the bus system 405 is used to implement the connection communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus, and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 405 in FIG. 4 .
其中,用户接口404可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等)。Among others, the user interface 404 may include a display, a keyboard, or a pointing device (eg, a mouse, trackball, touch pad or touch screen, etc.).
可以理解,本发明实施例中的存储器402可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-OnlyMemory,ROM)、可编程只读存储器(ProgrammableROM,PROM)、可擦除可编程只读存储器(ErasablePROM,EPROM)、电可擦除可编程只读存储器(ElectricallyEPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(RandomAccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(StaticRAM,SRAM)、动态随机存取存储器(DynamicRAM,DRAM)、同步动态随机存取存储器(SynchronousDRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(DoubleDataRateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(SynchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambusRAM,DRRAM)。本文描述的系统和方法的存储器402旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 402 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (ErasablePROM, EPROM), Electrically Erasable Program read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be Random Access Memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double data rate synchronous dynamic random access memory (DoubleDataRateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct memory bus random access Memory (DirectRambusRAM, DRRAM). The memory 402 of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
在一些实施方式中,存储器402存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统4021和应用程序4022。In some embodiments, memory 402 stores the following elements, executable modules or data structures, or subsets thereof, or extended sets of them: operating system 4021 and applications 4022 .
其中,操作系统4021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序4022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序4022中。The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application program 4022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., for implementing various application services. A program for implementing the method of the embodiment of the present invention may be included in the application program 4022 .
在本发明实施例中,通过调用存储器402存储的程序或指令,具体的,可以是应用程序4022中存储的程序或指令,处理器401用于获取第一摄像头4061、第二摄像头4062和第三摄像头4063在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;对第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像;其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。In this embodiment of the present invention, the processor 401 is configured to obtain the first camera 4061 , the second camera 4062 and the third The camera 4063 separately collects the first image, second image and third image of the same shooting object at the same time; image processing is performed on the first image, the second image and the third image to generate a frame of high dynamic range image; wherein, The first image is a normal exposure image, the second image is an overexposed image, and the third image is an underexposed image.
上述本发明实施例揭示的方法可以应用于处理器401中,或者由处理器401实现。处理器401可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器401中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器401可以是通用处理器、数字信号处理器DSP、专用集成电路ASIC、现成可编程门阵FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器402,处理器401读取存储器402中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the above embodiments of the present invention may be applied to the processor 401 or implemented by the processor 401 . The processor 401 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 401 or an instruction in the form of software. The above-mentioned processor 401 may be a general-purpose processor, a digital signal processor DSP, an application specific integrated circuit ASIC, an off-the-shelf programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecificIntegratedCircuits,ASIC)、数字信号处理器(DigitalSignalProcessing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(ProgrammableLogicDevice,PLD)、现场可编程门阵列(Field-ProgrammableGateArray,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD) ), a Field-Programmable Gate Array (FPGA), a general-purpose processor, a controller, a microcontroller, a microprocessor, other electronic units for performing the functions described herein, or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein may be implemented through modules (eg, procedures, functions, etc.) that perform the functions described herein. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
可选地,第一摄像头4061、第二摄像头4062和第三摄像头4063的光圈F值相同,曝光起止时间相同,第二摄像头4062的曝光增益大于第一摄像头4061的曝光增益,第三摄像头4063的曝光增益小于第一摄像头4061的曝光增益。Optionally, the aperture F value of the first camera 4061, the second camera 4062 and the third camera 4063 are the same, the exposure start and end times are the same, the exposure gain of the second camera 4062 is greater than the exposure gain of the first camera 4061, and the exposure gain of the third camera 4063 is the same. The exposure gain is smaller than the exposure gain of the first camera 4061 .
可选地,第一摄像头4061、第二摄像头4062和第三摄像头4063的曝光起止时间和曝光增益均相同,第二摄像头4062的光圈F值大于第一摄像头4061的光圈F值,第三摄像头4063的光圈F值小于第一摄像头4061的光圈F值。Optionally, the exposure start and end time and exposure gain of the first camera 4061, the second camera 4062 and the third camera 4063 are the same, the aperture F value of the second camera 4062 is greater than the aperture F value of the first camera 4061, and the third camera 4063 The aperture F value of is smaller than the aperture F value of the first camera 4061.
可选地,处理器401还用于对第一图像、第二图像和第三图像分别进行图像预处理,生成第一中间图像、第二中间图像和第三中间图像;根据预设高动态范围图像合成算法,对第一中间图像、第二中间图像和第三中间图像进行图像合成处理,生成一帧高动态范围图像;其中,第一图像、第二图像和第三图像均为RAW格式的图像,第一中间图像、第二中间图像和第三中间图像均为YUV格式的图像。Optionally, the processor 401 is further configured to perform image preprocessing on the first image, the second image and the third image respectively, to generate the first intermediate image, the second intermediate image and the third intermediate image; according to the preset high dynamic range The image synthesis algorithm performs image synthesis processing on the first intermediate image, the second intermediate image and the third intermediate image to generate a frame of high dynamic range image; wherein, the first image, the second image and the third image are all in RAW format The images, the first intermediate image, the second intermediate image and the third intermediate image are all images in YUV format.
可选地,处理器401还用于以第一中间图像为基准,将第二中间图像和第三中间图像校正至和第一中间图像为同一视场,得到校正后的第二中间图像和第三中间图像;分别提取第一中间图像、校正后的第二中间图像和第三中间图像的灰度信息,得到第一灰度图像、第二灰度图像和第三灰度图像;基于第一灰度图像中的每个像素点的灰度值,确定第一灰度图像中每个像素点的属性,其中,属性包括正常曝光、欠曝或过曝;若第一灰度图像中的像素点的属性为过曝,则通过公式G1=g1×40%+gw×60%得到第一灰度值,将第一灰度值赋值给第一灰度图像中的像素点,其中,G1为第一灰度值,g1为第三灰度图像中与第一灰度图像中的像素点对应位置的像素点的灰度值,gw为第一灰度图像中的像素点的灰度值;若第一灰度图像中的像素点的属性为欠曝,则通过公式G2=g2×40%+gw×60%得到第二灰度值,将第二灰度值赋值给第一灰度图像中的像素点,其中,G2为第二灰度值,g2为第二灰度图像中与第一灰度图像中的像素点对应位置的像素点的灰度值,gw为第一灰度图像中的像素点的灰度值;若第一灰度图像中的像素点的属性为正常曝光,第一灰度图像中的像素点的灰度值保持不变;当所述第一灰度图像中所有属性为欠曝或过曝的像素点均完成灰度值赋值后,生成第四中间图像,将所述第四中间图像中的每个像素点的灰度值赋值给所述第一中间图像中对应位置的像素点,生成一帧高动态范围图像。Optionally, the processor 401 is further configured to use the first intermediate image as a reference, correct the second intermediate image and the third intermediate image to be the same field of view as the first intermediate image, and obtain the corrected second intermediate image and the first intermediate image. Three intermediate images; respectively extract the grayscale information of the first intermediate image, the corrected second intermediate image and the third intermediate image to obtain the first grayscale image, the second grayscale image and the third grayscale image; based on the first grayscale image The gray value of each pixel in the grayscale image determines the attribute of each pixel in the first grayscale image, wherein the attribute includes normal exposure, underexposure or overexposure; if the pixel in the first grayscale image The attribute of the point is overexposure, then the first gray value is obtained by the formula G 1 =g 1 ×40%+g w ×60%, and the first gray value is assigned to the pixel in the first gray image, where , G 1 is the first gray value, g 1 is the gray value of the pixel in the third gray image corresponding to the pixel in the first gray image, and g w is the pixel in the first gray image The gray value of the point; if the attribute of the pixel in the first gray image is underexposed, the second gray value is obtained by the formula G 2 =g 2 ×40%+g w ×60%, and the second gray value is The degree value is assigned to the pixel point in the first grayscale image, wherein G2 is the second grayscale value, and g2 is the pixel point in the second grayscale image corresponding to the pixel point in the first grayscale image. Grayscale value, gw is the grayscale value of the pixel in the first grayscale image; if the attribute of the pixel in the first grayscale image is normal exposure, the grayscale value of the pixel in the first grayscale image remain unchanged; when all the pixels whose attributes are under-exposed or over-exposed in the first grayscale image have completed the grayscale value assignment, a fourth intermediate image is generated, and each pixel in the fourth intermediate image is The gray value of the point is assigned to the pixel point at the corresponding position in the first intermediate image to generate a frame of high dynamic range image.
可选地,处理器401还用于若第一灰度图像中的像素点的灰度值大于第一预设阈值,则确定第一灰度图像中的像素点的属性为过曝;若第一灰度图像中的像素点的灰度值小于第二预设阈值,则确定第一灰度图像中的像素点的属性为欠曝;若第一灰度图像中的像素点的灰度值大于或等于第二预设阈值且小于或等于第一预设阈值,则确定第一灰度图像中的像素点的属性为正常曝光。Optionally, the processor 401 is further configured to determine that the attribute of the pixel in the first grayscale image is overexposure if the grayscale value of the pixel in the first grayscale image is greater than the first preset threshold; The gray value of a pixel in a grayscale image is less than the second preset threshold, then it is determined that the attribute of the pixel in the first grayscale image is underexposed; if the grayscale value of the pixel in the first grayscale image If it is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, it is determined that the attribute of the pixel in the first grayscale image is normal exposure.
可选地,处理器401还用于去除马赛克处理、锐化处理、去噪处理、色彩转换处理和色彩增强处理中的至少一种。Optionally, the processor 401 is further used for at least one of de-mosaic processing, sharpening processing, denoising processing, color conversion processing and color enhancement processing.
可选地,第二摄像头4062的曝光增益为第一摄像头4061的曝光增益的N倍,第三摄像头4063的曝光增益为第一摄像头4061的曝光增益的1/N倍,其中,N为大于1的整数。Optionally, the exposure gain of the second camera 4062 is N times the exposure gain of the first camera 4061, and the exposure gain of the third camera 4063 is 1/N times the exposure gain of the first camera 4061, where N is greater than 1 the integer.
移动终端400能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 400 can implement each process implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, details are not repeated here.
本发明实施例的移动终端,通过获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;对第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像;其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。使得用户在拍摄预览阶段就可以实时看到拍摄对象的高动态范围图像,提升了用户的使用体验。The mobile terminal according to the embodiment of the present invention obtains the first image, the second image and the third image respectively collected by the first camera, the second camera and the third camera on the same shooting object at the same time; Image processing is performed on the image and the third image to generate a frame of high dynamic range image; wherein the first image is a normal exposure image, the second image is an overexposed image, and the third image is an underexposed image. The user can see the high dynamic range image of the shooting object in real time in the shooting preview stage, which improves the user experience.
第五实施例Fifth Embodiment
图5是本发明的第五实施例的移动终端的结构示意图。具体地,图5中的移动终端500可以为手机、平板电脑、个人数字助理(PersonalDigital Ass istant,PDA)、或车载电脑等。FIG. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention. Specifically, the mobile terminal 500 in FIG. 5 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图5中的终端500包括射频(RadioFrequency,RF)电路501、存储器502、输入单元503、显示单元504、拍照组件505、处理器506、音频电路507、WiFi(WirelessFidelity)模块508和电源509,拍照组件505包括第一摄像头5051、第二摄像头5052和第三摄像头5053。The terminal 500 in FIG. 5 includes a radio frequency (RF) circuit 501, a memory 502, an input unit 503, a display unit 504, a photographing component 505, a processor 506, an audio circuit 507, a WiFi (Wireless Fidelity) module 508, and a power supply 509 for photographing Assembly 505 includes a first camera 5051 , a second camera 5052 and a third camera 5053 .
其中,输入单元503可用于接收用户输入的数字或字符信息,以及产生与移动终端500的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元503可以包括触控面板5031。触控面板5031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5031上的操作),并根据预先设定的程式驱动相应的连接装置。可选地,触控面板5031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器506,并能接收处理器506发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5031。除了触控面板5031,输入单元503还可以包括其他输入设备5032,其他输入设备5032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 503 can be used for receiving numerical or character information input by the user, and generating signal input related to user setting and function control of the mobile terminal 500 . Specifically, in this embodiment of the present invention, the input unit 503 may include a touch panel 5031 . The touch panel 5031, also known as a touch screen, can collect the user's touch operations on or near it (such as the user's operations on the touch panel 5031 using any suitable objects or accessories such as a finger, a stylus, etc.) The specified program drives the corresponding connection device. Optionally, the touch panel 5031 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 the processor 506, and can receive commands from the processor 506 and execute them. In addition, the touch panel 5031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 5031, the input unit 503 may also include other input devices 5032, and the other input devices 5032 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元504可用于显示由用户输入的信息或提供给用户的信息以及移动终端500的各种菜单界面。显示单元504可包括显示面板5041,可选地,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板5041。The display unit 504 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 500 . The display unit 504 may include a display panel 5041, and optionally, the display panel 5041 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板5031可以覆盖显示面板5041,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器506以确定触摸事件的类型,随后处理器506根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 5031 can cover the display panel 5041 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is transmitted to the processor 506 to determine the type of the touch event, and then the processor 506 provides corresponding visual output on the touch display screen according to the type of touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch screen includes the application program interface display area and the commonly used controls display area. The arrangement of the application program interface display area and the common control display area is not limited, and may be an arrangement that can distinguish the two display areas, such as up-down arrangement, left-right arrangement, or the like. The application program interface display area can be used to display the interface of the application program. Each interface may contain at least one application icon and/or interface elements such as widget desktop controls. The application program interface display area can also be an empty interface that does not contain any content. The commonly used control display area is used to display controls with high usage rate, such as setting buttons, interface numbers, scroll bars, phonebook icons and other application icons.
其中处理器506是移动终端500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器5021内的软件程序和/或模块,以及调用存储在第二存储器5022内的数据,执行移动终端500的各种功能和处理数据,从而对移动终端500进行整体监控。可选地,处理器506可包括一个或多个处理单元。The processor 506 is the control center of the mobile terminal 500, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the first memory 5021, and calling the software programs and/or modules stored in the second memory 5021. The data in the memory 5022 executes various functions of the mobile terminal 500 and processes data, so as to monitor the mobile terminal 500 as a whole. Optionally, processor 506 may include one or more processing units.
在本发明实施例中,通过调用存储在该第一存储器5021内的软件程序和/或模块和/或该第二存储器5022内的数据,处理器506用于获取第一摄像头5051、第二摄像头5052和第三摄像头5053在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;对第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像;其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。In this embodiment of the present invention, by calling a software program and/or module stored in the first memory 5021 and/or data in the second memory 5022, the processor 506 is configured to acquire the first camera 5051 and the second camera 5052 and the third camera 5053 respectively collect the first image, the second image and the third image of the same object at the same time; image processing is performed on the first image, the second image and the third image to generate a frame of high dynamic range images; wherein, the first image is a normal exposure image, the second image is an overexposed image, and the third image is an underexposed image.
可选地,第一摄像头5051、第二摄像头5052和第三摄像头5053的光圈F值相同,曝光起止时间相同,第二摄像头5052的曝光增益大于第一摄像头5051的曝光增益,第三摄像头5053的曝光增益小于第一摄像头5051的曝光增益。Optionally, the aperture F value of the first camera 5051, the second camera 5052 and the third camera 5053 are the same, the exposure start and end times are the same, the exposure gain of the second camera 5052 is greater than the exposure gain of the first camera 5051, and the exposure gain of the third camera 5053 is the same. The exposure gain is smaller than the exposure gain of the first camera 5051 .
可选地,第一摄像头5051、第二摄像头5052和第三摄像头5053的曝光起止时间和曝光增益均相同,第二摄像头5052的光圈F值大于第一摄像头5051的光圈F值,第三摄像头5053的光圈F值小于第一摄像头5051的光圈F值。Optionally, the exposure start and end time and exposure gain of the first camera 5051, the second camera 5052 and the third camera 5053 are the same, the aperture F value of the second camera 5052 is greater than the aperture F value of the first camera 5051, and the third camera 5053 The aperture F value of is smaller than the aperture F value of the first camera 5051.
可选地,处理器506还用于对第一图像、第二图像和第三图像分别进行图像预处理,生成第一中间图像、第二中间图像和第三中间图像;根据预设高动态范围图像合成算法,对第一中间图像、第二中间图像和第三中间图像进行图像合成处理,生成一帧高动态范围图像;其中,第一图像、第二图像和第三图像均为RAW格式的图像,第一中间图像、第二中间图像和第三中间图像均为YUV格式的图像。Optionally, the processor 506 is further configured to perform image preprocessing on the first image, the second image and the third image respectively to generate the first intermediate image, the second intermediate image and the third intermediate image; according to the preset high dynamic range The image synthesis algorithm performs image synthesis processing on the first intermediate image, the second intermediate image and the third intermediate image to generate a frame of high dynamic range image; wherein, the first image, the second image and the third image are all in RAW format The images, the first intermediate image, the second intermediate image and the third intermediate image are all images in YUV format.
可选地,处理器506还用于以第一中间图像为基准,将第二中间图像和第三中间图像校正至和第一中间图像为同一视场,得到校正后的第二中间图像和第三中间图像;分别提取第一中间图像、校正后的第二中间图像和第三中间图像的灰度信息,得到第一灰度图像、第二灰度图像和第三灰度图像;基于第一灰度图像中的每个像素点的灰度值,确定第一灰度图像中每个像素点的属性,其中,属性包括正常曝光、欠曝或过曝;若第一灰度图像中的像素点的属性为过曝,则通过公式G1=g1×40%+gw×60%得到第一灰度值,将第一灰度值赋值给第一灰度图像中的像素点,其中,G1为第一灰度值,g1为第三灰度图像中与第一灰度图像中的像素点对应位置的像素点的灰度值,gw为第一灰度图像中的像素点的灰度值;若第一灰度图像中的像素点的属性为欠曝,则通过公式G2=g2×40%+gw×60%得到第二灰度值,将第二灰度值赋值给第一灰度图像中的像素点,其中,G2为第二灰度值,g2为第二灰度图像中与第一灰度图像中的像素点对应位置的像素点的灰度值,gw为第一灰度图像中的像素点的灰度值;若第一灰度图像中的像素点的属性为正常曝光,第一灰度图像中的像素点的灰度值保持不变;当所述第一灰度图像中所有属性为欠曝或过曝的像素点均完成灰度值赋值后,生成第四中间图像,将所述第四中间图像中的每个像素点的灰度值赋值给所述第一中间图像中对应位置的像素点,生成一帧高动态范围图像。Optionally, the processor 506 is further configured to use the first intermediate image as a reference, correct the second intermediate image and the third intermediate image to be the same field of view as the first intermediate image, and obtain the corrected second intermediate image and the first intermediate image. Three intermediate images; respectively extract the grayscale information of the first intermediate image, the corrected second intermediate image and the third intermediate image to obtain the first grayscale image, the second grayscale image and the third grayscale image; based on the first grayscale image The gray value of each pixel in the grayscale image determines the attribute of each pixel in the first grayscale image, wherein the attribute includes normal exposure, underexposure or overexposure; if the pixel in the first grayscale image The attribute of the point is overexposure, then the first gray value is obtained by the formula G 1 =g 1 ×40%+g w ×60%, and the first gray value is assigned to the pixel in the first gray image, where , G 1 is the first gray value, g 1 is the gray value of the pixel in the third gray image corresponding to the pixel in the first gray image, and g w is the pixel in the first gray image The gray value of the point; if the attribute of the pixel in the first gray image is underexposed, the second gray value is obtained by the formula G 2 =g 2 ×40%+g w ×60%, and the second gray value is The degree value is assigned to the pixel point in the first grayscale image, wherein G2 is the second grayscale value, and g2 is the pixel point in the second grayscale image corresponding to the pixel point in the first grayscale image. Grayscale value, gw is the grayscale value of the pixel in the first grayscale image; if the attribute of the pixel in the first grayscale image is normal exposure, the grayscale value of the pixel in the first grayscale image remain unchanged; when all the pixels whose attributes are under-exposed or over-exposed in the first grayscale image have completed the grayscale value assignment, a fourth intermediate image is generated, and each pixel in the fourth intermediate image is The gray value of the point is assigned to the pixel point at the corresponding position in the first intermediate image to generate a frame of high dynamic range image.
可选地,处理器506还用于若第一灰度图像中的像素点的灰度值大于第一预设阈值,则确定第一灰度图像中的像素点的属性为过曝;若第一灰度图像中的像素点的灰度值小于第二预设阈值,则确定第一灰度图像中的像素点的属性为欠曝;若第一灰度图像中的像素点的灰度值大于或等于第二预设阈值且小于或等于第一预设阈值,则确定第一灰度图像中的像素点的属性为正常曝光。Optionally, the processor 506 is further configured to determine that the attribute of the pixel in the first grayscale image is overexposure if the grayscale value of the pixel in the first grayscale image is greater than the first preset threshold; The gray value of a pixel in a grayscale image is less than the second preset threshold, then it is determined that the attribute of the pixel in the first grayscale image is underexposed; if the grayscale value of the pixel in the first grayscale image If it is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, it is determined that the attribute of the pixel in the first grayscale image is normal exposure.
可选地,处理器506还用于去除马赛克处理、锐化处理、去噪处理、色彩转换处理和色彩增强处理中的至少一种。Optionally, the processor 506 is further used for at least one of de-mosaic processing, sharpening processing, denoising processing, color conversion processing and color enhancement processing.
可选地,第二摄像头5052的曝光增益为第一摄像头5051的曝光增益的N倍,第三摄像头5053的曝光增益为第一摄像头5051的曝光增益的1/N倍,其中,N为大于1的整数。Optionally, the exposure gain of the second camera 5052 is N times the exposure gain of the first camera 5051, and the exposure gain of the third camera 5053 is 1/N times the exposure gain of the first camera 5051, where N is greater than 1 the integer.
可见,本实施例通过获取第一摄像头、第二摄像头和第三摄像头在同一时刻对同一拍摄对象分别采集的第一图像、第二图像和第三图像;对第一图像、第二图像和第三图像进行图像处理,生成一帧高动态范围图像;其中,第一图像为正常曝光图像,第二图像为过曝图像,第三图像为欠曝图像。使得用户在拍摄预览阶段就可以实时看到拍摄对象的高动态范围图像,提升了用户的使用体验。It can be seen that in this embodiment, the first image, the second image and the third image respectively collected by the first camera, the second camera and the third camera for the same shooting object at the same time are acquired; Image processing is performed on three images to generate a frame of high dynamic range image; wherein, the first image is a normal exposure image, the second image is an overexposed image, and the third image is an underexposed image. The user can see the high dynamic range image of the shooting object in real time in the shooting preview stage, which improves the user experience.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610177490.1A CN105827754B (en) | 2016-03-24 | 2016-03-24 | A method for generating a high dynamic range image and a mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610177490.1A CN105827754B (en) | 2016-03-24 | 2016-03-24 | A method for generating a high dynamic range image and a mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105827754A CN105827754A (en) | 2016-08-03 |
CN105827754B true CN105827754B (en) | 2019-07-26 |
Family
ID=56524685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610177490.1A Active CN105827754B (en) | 2016-03-24 | 2016-03-24 | A method for generating a high dynamic range image and a mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105827754B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534694A (en) * | 2016-11-28 | 2017-03-22 | 上海传英信息技术有限公司 | Method and device for processing shooting pictures in night shooting mode |
CN107222680A (en) * | 2017-06-30 | 2017-09-29 | 维沃移动通信有限公司 | The image pickup method and mobile terminal of a kind of panoramic picture |
CN107395983B (en) * | 2017-08-24 | 2020-04-07 | 维沃移动通信有限公司 | Image processing method, mobile terminal and computer readable storage medium |
CN107613218A (en) * | 2017-09-15 | 2018-01-19 | 维沃移动通信有限公司 | A high dynamic range image shooting method and mobile terminal |
CN107635093A (en) * | 2017-09-18 | 2018-01-26 | 维沃移动通信有限公司 | An image processing method, mobile terminal and computer-readable storage medium |
CN107809582A (en) * | 2017-10-12 | 2018-03-16 | 广东欧珀移动通信有限公司 | Image processing method, electronic device and computer readable storage medium |
CN107566739B (en) * | 2017-10-18 | 2019-12-06 | 维沃移动通信有限公司 | photographing method and mobile terminal |
CN110475072B (en) | 2017-11-13 | 2021-03-09 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for capturing images |
CN109064415A (en) * | 2018-07-09 | 2018-12-21 | 奇酷互联网络科技(深圳)有限公司 | Image processing method, system, readable storage medium storing program for executing and terminal |
CN109639996B (en) * | 2019-01-23 | 2023-06-06 | 努比亚技术有限公司 | High dynamic scene imaging method, mobile terminal and computer readable storage medium |
CN110248098B (en) * | 2019-06-28 | 2021-08-24 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and electronic device |
CN110198417A (en) * | 2019-06-28 | 2019-09-03 | Oppo广东移动通信有限公司 | Image processing method, image processing device, storage medium and electronic equipment |
CN111131719B (en) * | 2019-12-09 | 2021-07-13 | 北京空间机电研究所 | Method and device for processing video pipeline |
CN113132643B (en) * | 2019-12-30 | 2023-02-07 | Oppo广东移动通信有限公司 | Image processing method and related product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102257531A (en) * | 2008-12-19 | 2011-11-23 | 高通股份有限公司 | High dynamic range image combining |
CN103888672A (en) * | 2014-03-31 | 2014-06-25 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and terminal shooting method |
CN103973958A (en) * | 2013-01-30 | 2014-08-06 | 阿里巴巴集团控股有限公司 | Image processing method and image processing equipment |
CN104349066A (en) * | 2013-07-31 | 2015-02-11 | 华为终端有限公司 | Method and device for generating images with high dynamic ranges |
-
2016
- 2016-03-24 CN CN201610177490.1A patent/CN105827754B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102257531A (en) * | 2008-12-19 | 2011-11-23 | 高通股份有限公司 | High dynamic range image combining |
CN103973958A (en) * | 2013-01-30 | 2014-08-06 | 阿里巴巴集团控股有限公司 | Image processing method and image processing equipment |
CN104349066A (en) * | 2013-07-31 | 2015-02-11 | 华为终端有限公司 | Method and device for generating images with high dynamic ranges |
CN103888672A (en) * | 2014-03-31 | 2014-06-25 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and terminal shooting method |
Also Published As
Publication number | Publication date |
---|---|
CN105827754A (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105827754B (en) | A method for generating a high dynamic range image and a mobile terminal | |
CN105872148A (en) | Method and mobile terminal for generating high dynamic range images | |
CN107197169B (en) | high dynamic range image shooting method and mobile terminal | |
CN106060406B (en) | Photographing method and mobile terminal | |
CN107395898B (en) | Shooting method and mobile terminal | |
CN106161967B (en) | Backlight scene panoramic shooting method and mobile terminal | |
CN105847674A (en) | Preview image processing method based on mobile terminal, and mobile terminal therein | |
CN105827971A (en) | Image processing method and mobile terminal | |
CN106131449A (en) | A kind of photographic method and mobile terminal | |
CN107277387A (en) | High dynamic range images image pickup method, terminal and computer-readable recording medium | |
CN106331510A (en) | A backlight photographing method and mobile terminal | |
CN107147837A (en) | A shooting parameter setting method and mobile terminal | |
CN107231530A (en) | A kind of photographic method and mobile terminal | |
CN107635093A (en) | An image processing method, mobile terminal and computer-readable storage medium | |
CN106060422B (en) | Image exposure method and mobile terminal | |
CN107172296A (en) | A kind of image capturing method and mobile terminal | |
CN106534685A (en) | Panoramic image generation method and mobile terminal | |
CN105827965A (en) | Image processing method based on mobile terminal and mobile terminal | |
CN106506962A (en) | Image processing method and mobile terminal | |
CN106454086B (en) | Image processing method and mobile terminal | |
CN107395997A (en) | A kind of image pickup method and mobile terminal | |
CN106101545A (en) | A kind of image processing method and mobile terminal | |
CN107395976A (en) | A kind of acquisition parameters method to set up and mobile terminal | |
CN107222681B (en) | A kind of processing method and mobile terminal of image data | |
CN106454085A (en) | Image processing method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |