[go: up one dir, main page]

CN103402102B - The method and apparatus of dual camera camera system and white balance adjusting thereof - Google Patents

The method and apparatus of dual camera camera system and white balance adjusting thereof Download PDF

Info

Publication number
CN103402102B
CN103402102B CN201310299659.7A CN201310299659A CN103402102B CN 103402102 B CN103402102 B CN 103402102B CN 201310299659 A CN201310299659 A CN 201310299659A CN 103402102 B CN103402102 B CN 103402102B
Authority
CN
China
Prior art keywords
value
camera
white balance
picture
main
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
CN201310299659.7A
Other languages
Chinese (zh)
Other versions
CN103402102A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310299659.7A priority Critical patent/CN103402102B/en
Publication of CN103402102A publication Critical patent/CN103402102A/en
Application granted granted Critical
Publication of CN103402102B publication Critical patent/CN103402102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

本发明公开了双摄像头摄像系统及其白平衡调节的方法,涉及一种摄像系统及其白平衡调节的方法,所述双摄像头摄像系统包括主摄像头、副摄像头,主摄像头获取主画面,副摄像头获取场景不同于主画面的场景的副画面,主画面被用副画面得出的白平衡调节增益值进行白平衡调节。本发明的白平衡调节的方法为通过副摄像头获取副画面,根据该副画面得出白平衡调节的增益值并以此增益值对主摄像头所获取的主画面进行白平衡调节。在使用主摄像头拍摄纯色场景时,启用副摄像头获取的画面的白色的区域作为白平衡调节的基准区域对主摄像头进行白平衡调节,这样可大大降低拍摄纯色场景时出现偏色的几率。

The invention discloses a dual-camera camera system and a method for adjusting white balance thereof, and relates to a camera system and a method for adjusting white balance thereof. The dual-camera camera system includes a main camera and a sub-camera. A sub-picture of a scene different from the main picture is obtained, and the white balance of the main picture is adjusted by using the white balance adjustment gain value obtained from the sub-picture. The white balance adjustment method of the present invention is to obtain a secondary picture through the secondary camera, obtain a gain value for white balance adjustment based on the secondary picture, and use this gain value to perform white balance adjustment on the main picture captured by the main camera. When using the main camera to shoot solid-color scenes, use the white area of the picture captured by the sub-camera as the reference area for white balance adjustment to adjust the white balance of the main camera, which can greatly reduce the chance of color cast when shooting solid-color scenes.

Description

双摄像头摄像系统及其白平衡调节的方法与装置Dual-camera camera system and method and device for adjusting white balance thereof

技术领域 technical field

本发明涉及一种双摄像头摄像系统及其白平衡调节的方法,该方法通过建立功能模块构架,由计算机程序指令控制计算机系统来完成,这些计算机程序指令存储在计算机可读存储介质中。 The invention relates to a dual-camera camera system and a method for adjusting white balance thereof. The method is completed by establishing a functional module framework and controlling a computer system by computer program instructions, and these computer program instructions are stored in a computer-readable storage medium.

背景技术 Background technique

白平衡是描述红(R)、绿(G)、蓝(B)三原色混合形成白色的精确度的指标,白平衡的基本概念是在任何光源下,都能将白色还原为白色,对在特定光源下拍摄时出现的偏色现象,可以通过加强对应的补色来进行补偿,此即为白平衡调节。白平衡调节准确时,改变显示画面的色彩和亮度不会影响到白色的纯净度,即不会偏色。 White balance is an index that describes the accuracy of red (R), green (G), and blue (B) three primary colors mixed to form white. The basic concept of white balance is that white can be restored to white under any light source. The color cast that occurs when shooting under a light source can be compensated by strengthening the corresponding complementary color, which is white balance adjustment. When the white balance is adjusted accurately, changing the color and brightness of the display screen will not affect the purity of white, that is, there will be no color cast.

近年来,手机发展飞快,功能也日趋强大,目前大部分手机都有摄像头,具备拍照功能。随着3G网络、4G网络的兴起,视频通话逐渐流行起来,为方便视频通话,许多手机已经配备了前置摄像头,因此这些手机就有了后置摄像头和前置摄像头两个摄像头。在使用手机进行拍照时,由于目前手机摄像头的应用中白平衡调节的通常方法为将摄像头获取的画面中亮度最大的区域认定为白色的区域,然后以这个区域的R值、G值和B值为基准对画面中的其他区域的R值、G值和B值(R值、G值和B值均为平均值)进行校准,这种方法存在一个共性的问题,使用单个摄像头在拍摄纯色场景时非常容易出现白平衡错误,导致整个画面偏色。出现这个问题的原因是,在拍摄纯色场景时,整个画面难以找到或者没有白色的区域,因此以画面中的点为白平衡调节的基准点来校准画面的其他位置就会出现上述画面偏色的问题。 In recent years, mobile phones have developed rapidly and their functions have become increasingly powerful. At present, most mobile phones have cameras and have the function of taking pictures. Along with the rise of 3G network, 4G network, video call becomes popular gradually, and for the convenience of video call, many mobile phones have been equipped with front camera, so these mobile phones just have rear camera and front camera two cameras. When using a mobile phone to take pictures, the usual method of white balance adjustment in the current mobile phone camera application is to identify the area with the highest brightness in the picture captured by the camera as a white area, and then use the R value, G value, and B value of this area to adjust the white balance. Calibrate the R value, G value and B value of other areas in the picture as a reference (the R value, G value and B value are all average values). This method has a common problem, using a single camera to shoot solid color scenes It is very easy to have a white balance error, resulting in a color cast in the entire picture. The reason for this problem is that when shooting a pure color scene, it is difficult to find or there is no white area in the whole screen, so the above-mentioned color cast will appear in other positions of the screen when the point in the screen is used as the reference point for white balance adjustment to calibrate other positions of the screen. question.

发明内容 Contents of the invention

为解决现有技术中的上述问题,本发明提供一种能显著降低拍摄纯色场景时出现偏色的几率的双摄像头摄像系统及其白平衡调节的方法。 In order to solve the above-mentioned problems in the prior art, the present invention provides a dual-camera camera system and a white balance adjustment method thereof that can significantly reduce the probability of color cast when shooting solid-color scenes.

为实现上述目的,本发明提供的技术方案如下。 In order to achieve the above object, the technical solutions provided by the present invention are as follows.

双摄像头摄像系统,包括主摄像头、副摄像头,主摄像头获取主画面,副摄像头获取场景不同于主画面的副画面,主画面被用副画面得出的白平衡调节增益值进行白平衡调节。 The dual-camera camera system includes a main camera and a sub-camera. The main camera captures the main picture, and the sub-camera captures a sub-picture with a scene different from the main picture. The white balance of the main picture is adjusted using the white balance adjustment gain value obtained from the sub-picture.

其中,主摄像头与副摄像头拍摄方向相反。 Wherein, the shooting directions of the main camera and the secondary camera are opposite.

进行上述白平衡调节的方法,包括: The methods for performing the above white balance adjustment include:

步骤B.根据副画面得出白平衡调节的增益值并以此增益值对主画面进行白平衡调节。 Step B. A gain value for white balance adjustment is obtained according to the secondary picture, and the white balance adjustment of the main picture is performed based on the gain value.

其中,还包括: Among them, also include:

步骤A.判断主摄像头拍摄的场景是否为纯色场景,若是才进入步骤B。 step a. Determine whether the scene captured by the main camera is a solid color scene, and if so, proceed to step B.

其中,步骤A中判断主摄像头拍摄的场景是否为纯色场景的具体步骤为:获取所述主画面中亮度最大的点的R值、G值和B值,然后计算所述R值、G值和B值中两两之间的差值,若得出的三个差值的绝对值中的两个大于最大设定值且另一个小于最小设定值,则判断此拍摄场景为纯色场景,否则判断此拍摄场景为非纯色场景。 Wherein, in step A, the specific steps of judging whether the scene captured by the main camera is a solid color scene are: obtaining the R value, G value and B value of the point with the highest brightness in the main picture, and then calculating the R value, G value and The difference between two of the B values, if two of the absolute values of the three differences obtained are greater than the maximum set value and the other is less than the minimum set value, then it is judged that the shooting scene is a solid color scene, otherwise It is judged that this shooting scene is a non-solid color scene.

其中,步骤B中根据所述副画面得出白平衡调节的增益值的具体步骤为:先将所述副画面分成若干个大小相同的区域并分别计算各个所述区域的亮度平均值,然后取亮度平均值最大的区域计算其R值平均值r、G值平均值g和B值平均值b,最后得出所述白平衡调节的增益值为R:B:G=(g/r):1:(g/b)。 Wherein, the specific steps of obtaining the gain value for white balance adjustment according to the sub-picture in step B are: first divide the sub-picture into several regions of the same size and calculate the average brightness of each of the regions respectively, and then take Calculate its R value average value r, G value average value g and B value average value b in the area with the largest brightness average value, and finally draw the gain value of the white balance adjustment as R:B:G=(g/r): 1: (g/b).

本发明的有益效果是:在使用主摄像头拍摄纯色场景时,启用副摄像头来进行白平衡调节,因为此时副摄像头对准的场景不同于主摄像头对准的场景,所以副摄像头获取的画面中有白色的区域的几率非常高,此时用副摄像头获取的画面的白色的区域作为白平衡调节的基准区域对主摄像头进行白平衡调节,这样可大大降低拍摄纯色场景时出现偏色的几率。 The beneficial effects of the present invention are: when the main camera is used to shoot a solid-color scene, the auxiliary camera is used to adjust the white balance, because the scene aimed at by the auxiliary camera is different from the scene aimed at by the main camera, so in the picture obtained by the auxiliary camera The probability of white areas is very high. At this time, use the white area of the picture captured by the secondary camera as the reference area for white balance adjustment to adjust the white balance of the main camera, which can greatly reduce the probability of color cast when shooting solid color scenes.

具体实施方式 detailed description

以下结合实施例对本发明作详细说明。 The present invention is described in detail below in conjunction with embodiment.

现在以带前置摄像头和后置摄像头的手机为例来对本发明的双摄像头摄像系统及其白平衡调节的方法进行说明。现有技术中,手机拍照时的白平衡调节的常规方法是将画面中最亮的区域默认为白色,然后以这个区域为基准区域,取其R、G、B的值作为基准校准其他区域,这种方法在大部分情况下是没有问题的,但遇到纯色场景时,即整个画面里很少甚至没有白色的区域,此时采用这种白平衡调节方法容易调节不准确,从而容易出现偏色的问题。 Now take a mobile phone with a front camera and a rear camera as an example to describe the dual camera camera system and the white balance adjustment method of the present invention. In the prior art, the conventional method of white balance adjustment when a mobile phone takes pictures is to set the brightest area in the picture to white by default, and then use this area as a reference area, and take its R, G, and B values as a reference to calibrate other areas. This method is no problem in most cases, but when encountering a pure color scene, that is, there are few or even no white areas in the entire screen, it is easy to adjust the white balance inaccurately by using this method, and it is easy to appear biased. color problem.

本发明的基本思想是,当拍摄纯色场景时,利用另一个摄像头获取纯色场景以外的场景的画面并从中找出白色的区域来作为基准区域。因此本发明提供的技术方案为双摄像头的摄像系统以及适用于该双摄像头摄像系统的白平衡的调节方法,例如有些手机有前置摄像头和后置摄像头两个摄像头,这类包括两个摄像头的手机或者摄像设备便适用本发明,本实施例以手机为例,其他双摄像头的摄像系统方法原理相同,这里就不再赘述。 The basic idea of the present invention is to use another camera to capture pictures of scenes other than the solid-color scene when shooting a solid-color scene, and find out a white area therefrom as a reference area. Therefore, the technical solution provided by the present invention is a dual-camera camera system and a method for adjusting white balance applicable to the dual-camera camera system. For example, some mobile phones have two cameras, a front camera and a rear camera. The present invention is suitable for mobile phones or camera equipment. The mobile phone is taken as an example in this embodiment, and the principle of the camera system of other dual cameras is the same, so it will not be repeated here.

本发明的双摄像头摄像系统包括主摄像头和副摄像头,手机的前置摄像头和后置摄像头中用于拍照的摄像头即为主摄像头,另一个用于辅助白平衡调节的摄像头即为副摄像头,主摄像头获取的画面为主画面,副摄像头获取的画面为副画面,概括地来说,本发明的白平衡的调节方法关键点在于,有需要时,由副画面得出白平衡的增益值并以此增益值对主画面的白平衡进行调节。如图1所示,本发明中进行所述双摄像头摄像系统白平衡调节的方法,首先打开主摄像头获取主画面,其余步骤如下: The dual-camera camera system of the present invention includes a main camera and an auxiliary camera. The camera used for taking pictures in the front camera and the rear camera of the mobile phone is the main camera, and the other camera used for auxiliary white balance adjustment is the auxiliary camera. The picture acquired by the camera is the main picture, and the picture acquired by the sub-camera is the sub-picture. Generally speaking, the key point of the white balance adjustment method of the present invention is that when necessary, the gain value of the white balance is obtained from the sub-picture and calculated as This gain value adjusts the white balance of the main picture. As shown in Figure 1, the method for adjusting the white balance of the dual-camera camera system in the present invention first opens the main camera to obtain the main picture, and the remaining steps are as follows:

步骤A.判断主摄像头拍摄的场景是否为纯色场景,若是则进入步骤B,若否则进入步骤C,判断主摄像头拍摄的场景是否为纯色场景的方法具体为:获取所述主画面中亮度最大的点的R值、G值和B值,然后计算所述R值、G值和B值中两两之间的差值,若得出的三个差值的绝对值中的两个大于最大设定值且另一个小于最小设定值,则判断此拍摄场景为纯色场景,否则判断此拍摄场景为非纯色场景; step a. Judging whether the scene captured by the main camera is a solid color scene, if so, enter step B, otherwise enter step C, the method for judging whether the scene captured by the main camera is a solid color scene is specifically: obtain the R of the point with the highest brightness in the main picture. value, G value and B value, and then calculate the difference between any two of the R value, G value and B value, if two of the absolute values of the obtained three differences are greater than the maximum set value and If the other is less than the minimum set value, it is judged that the shooting scene is a solid color scene, otherwise it is judged that the shooting scene is a non-solid color scene;

步骤B.通过副摄像头获取副画面,根据该副画面得出白平衡调节的增益值并以此增益值对主摄像头所获取的主画面进行白平衡调节,根据所述副画面得出白平衡调节的增益值的具体方法为:先将所述副画面分成若干个大小相同的区域并计算各个所述区域的亮度平均值,然后计算亮度平均值最大的区域的R值平均值r、G值平均值g和B值平均值b,最后得出所述白平衡调节的增益值为R:B:G=(g/r):1:(g/b),在主摄像头和副摄像头的拍摄方向相反的情况下,例如手机的前置摄像头和后置摄像头,主摄像头对准要拍摄的场景时,副摄像头往往对准的是拍照者的脸部,人脸不是纯色的,因此副摄像头获取的副画面包括白色区域的几率非常大; Step B. Obtain the secondary picture through the secondary camera, obtain the gain value of white balance adjustment according to the secondary picture, and adjust the white balance of the main picture obtained by the main camera with this gain value, and obtain the gain value of white balance adjustment according to the secondary picture The specific method is as follows: first divide the secondary picture into several regions of the same size and calculate the average brightness of each region, and then calculate the average R value r, the average G value g and the average value g of the region with the largest average brightness value. The average value of B value b, and finally the gain value of the white balance adjustment is R:B:G=(g/r):1:(g/b), in the case where the shooting directions of the main camera and the secondary camera are opposite For example, for the front camera and rear camera of a mobile phone, when the main camera is aimed at the scene to be photographed, the auxiliary camera is often aimed at the face of the photographer, and the face is not a solid color, so the auxiliary images captured by the auxiliary camera include The probability of the white area is very high;

步骤C.根据主摄像头获取的主画面得出白平衡调节的增益值并以此增益值对主画面进行白平衡调节。 Step C. The gain value for white balance adjustment is obtained according to the main picture acquired by the main camera, and the white balance adjustment is performed on the main picture based on the gain value.

在拍摄非纯色场景时,不启用副摄像头;在拍摄纯色场景时,使用副摄像头获取的副画面来辅助调节主摄像头获取的主画面的白平衡,极少数情况下主摄像头拍摄的场景和副摄像头拍摄的场景均为纯色场景,本发明的白平衡调节方法才无明显作用,但是在现实使用中这种情况很容易避免,如上文中说的,副摄像头一般是对准拍照者的脸部的,因此采用本发明的白平衡调节方法往往有显著效果,相比于现有的单个摄像头的白平衡调节方法,本发明的双摄像头摄像系统白平衡调节的方法可以大大降低拍摄纯色场景时出现偏色的几率。 When shooting non-solid-color scenes, the sub-camera is not enabled; when shooting solid-color scenes, use the sub-picture captured by the sub-camera to assist in adjusting the white balance of the main picture captured by the main camera. In rare cases, the scenes captured by the main camera and the sub-camera The scenes shot are all solid-color scenes, so the white balance adjustment method of the present invention has no obvious effect, but this situation is easy to avoid in actual use. As mentioned above, the secondary camera is generally aimed at the face of the photographer. Therefore, the white balance adjustment method of the present invention often has a significant effect. Compared with the existing single camera white balance adjustment method, the white balance adjustment method of the dual camera camera system of the present invention can greatly reduce the color cast when shooting a pure color scene probability.

本文给出的双摄像头摄像系统白平衡调节的方法,其中的全部或部分步骤可以通过建立功能模块构架,由计算机程序指令控制计算机系统来完成。这些计算机程序指令存储在计算机可读存储介质中。 In the method for adjusting the white balance of the dual-camera camera system given in this paper, all or part of the steps can be completed by establishing a functional module framework and controlling the computer system by computer program instructions. These computer program instructions are stored on a computer readable storage medium.

最后应当说明的是,以上实施例仅用以说明本发明的技术方案,而非对本发明保护范围的限制,尽管参照较佳实施例对本发明作了详细地说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的实质和范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting the protection scope of the present invention, although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand , the technical solution of the present invention may be modified or equivalently replaced without departing from the spirit and scope of the technical solution of the present invention.

Claims (8)

1.双摄像头摄像系统,包括主摄像头、副摄像头,主摄像头获取主画面,其特征在于:在主摄像头拍摄的场景为纯色场景时,副摄像头获取场景不同于主画面的副画面,主画面被用副画面得出的白平衡调节增益值进行白平衡调节。1. A dual-camera camera system, including a main camera and an auxiliary camera. The main camera obtains the main picture, which is characterized in that: when the scene captured by the main camera is a solid color scene, the auxiliary camera obtains a sub-picture whose scene is different from the main picture, and the main picture is replaced by the main picture. Use the white balance adjustment gain value obtained from the secondary screen to adjust the white balance. 2.根据权利要求1所述的双摄像头摄像系统,其特征在于:主摄像头与副摄像头拍摄方向相反。2. The dual-camera camera system according to claim 1, wherein the shooting directions of the main camera and the secondary camera are opposite. 3.用于权利要求1所述的双摄像头摄像系统的白平衡调节方法,其特征在于,包括:3. the white balance adjustment method that is used for the dual camera camera system described in claim 1, is characterized in that, comprises: 步骤A.判断主摄像头拍摄的场景是否为纯色场景,若是才进入步骤B;Step A. Determine whether the scene captured by the main camera is a solid color scene, and if so, proceed to step B; 步骤B.根据副画面得出白平衡调节的增益值并以此增益值对主画面进行白平衡调节。Step B. Obtain a gain value for white balance adjustment according to the secondary picture, and use this gain value to adjust the white balance of the main picture. 4.根据权利要求3所述的白平衡调节方法,其特征在于,步骤A中判断主摄像头拍摄的场景是否为纯色场景的具体步骤为:获取所述主画面中亮度最大的点的R值、G值和B值,然后计算所述R值、G值和B值中两两之间的差值,若得出的三个差值的绝对值中的两个大于最大设定值且另一个小于最小设定值,则判断此拍摄场景为纯色场景,否则判断此拍摄场景为非纯色场景。4. The method for adjusting white balance according to claim 3, wherein in step A, the specific steps for judging whether the scene captured by the main camera is a solid color scene are: obtaining the R value of the point with the highest brightness in the main picture, G value and B value, then calculate the difference between any two of the R value, G value and B value, if two of the absolute values of the three differences obtained are greater than the maximum set value and the other If it is less than the minimum setting value, it is judged that the shooting scene is a solid color scene, otherwise it is judged that the shooting scene is a non-solid color scene. 5.根据权利要求3所述的白平衡调节方法,其特征在于,步骤B中根据所述副画面得出白平衡调节的增益值的具体步骤为:先将所述副画面分成若干个大小相同的区域并分别计算各个所述区域的亮度平均值,然后取亮度平均值最大的区域计算其R值平均值r、G值平均值g和B值平均值b,最后得出所述白平衡调节的增益值为R∶B∶G=(g/r)∶1∶(g/b)。5. The white balance adjustment method according to claim 3, characterized in that, the specific step of obtaining the gain value for white balance adjustment according to the sub-picture in step B is: first divide the sub-picture into several equal-sized and calculate the average brightness of each of the regions, and then take the region with the largest average brightness to calculate its R value average r, G value average g, and B value average b, and finally obtain the white balance adjustment The gain value of R:B:G=(g/r):1:(g/b). 6.用于权利要求1所述的双摄像头摄像系统的白平衡调节装置,其特征在于,包括:6. The white balance adjusting device for the dual-camera camera system of claim 1, characterized in that, comprising: 装置A.其判断主摄像头拍摄的场景是否为纯色场景,若是才运行装置B;Device A. It judges whether the scene captured by the main camera is a solid color scene, and if so, then runs Device B; 装置B.其根据该副画面得出白平衡调节的增益值并以此增益值对主摄像头所获取的主画面进行白平衡调节。Device B. It obtains a gain value for white balance adjustment based on the secondary picture, and uses the gain value to perform white balance adjustment on the main picture captured by the main camera. 7.根据权利要求6所述的白平衡调节装置,其特征在于,装置A中判断主摄像头拍摄的场景是否为纯色场景的具体装置包含:7. The white balance adjusting device according to claim 6, wherein the specific device for judging whether the scene captured by the main camera is a solid color scene in device A comprises: 装置A1.其获取所述主画面中亮度最大的点的R值、G值和B值;Device A1. It acquires the R value, G value and B value of the point with the highest brightness in the main picture; 装置A2.其计算装置A1中获取的R值、G值和B值中两两之间的差值,若得出的三个差值的绝对值中的两个大于最大设定值且另一个小于最小设定值,则判断此拍摄场景为纯色场景,否则判断此拍摄场景为非纯色场景。Device A2. The difference between any two of the R value, G value and B value obtained in the calculation device A1, if two of the absolute values of the obtained three differences are greater than the maximum set value and the other If it is less than the minimum setting value, it is judged that the shooting scene is a solid color scene, otherwise it is judged that the shooting scene is a non-solid color scene. 8.根据权利要求6所述的白平衡调节装置,其特征在于,装置B中根据所述副画面得出白平衡调节的增益值的具体装置包含:8. The white balance adjustment device according to claim 6, characterized in that, the specific device for obtaining the gain value of the white balance adjustment according to the secondary picture in the device B comprises: 装置B1.其将所述副画面分成若干个大小相同的区域并分别计算各个所述区域的亮度平均值;Device B1. It divides the secondary picture into several areas of the same size and calculates the average brightness of each of the areas; 装置B2.其取亮度平均值最大的区域计算其R值平均值r、G值平均值g和B值平均值b,最后得出所述白平衡调节的增益值为R∶B∶G=(g/r)∶1∶(g/b)。Device B2. It calculates its R value average value r, G value average value g, and B value average value b in the region where the brightness average value is the largest, and finally draws the gain value of the white balance adjustment as R: B: G=( g/r):1:(g/b).
CN201310299659.7A 2013-07-17 2013-07-17 The method and apparatus of dual camera camera system and white balance adjusting thereof Active CN103402102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310299659.7A CN103402102B (en) 2013-07-17 2013-07-17 The method and apparatus of dual camera camera system and white balance adjusting thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310299659.7A CN103402102B (en) 2013-07-17 2013-07-17 The method and apparatus of dual camera camera system and white balance adjusting thereof

Publications (2)

Publication Number Publication Date
CN103402102A CN103402102A (en) 2013-11-20
CN103402102B true CN103402102B (en) 2015-12-09

Family

ID=49565613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310299659.7A Active CN103402102B (en) 2013-07-17 2013-07-17 The method and apparatus of dual camera camera system and white balance adjusting thereof

Country Status (1)

Country Link
CN (1) CN103402102B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10455206B2 (en) 2017-07-25 2019-10-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd Method and device for adjusting white balance and storage medium

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202586B (en) * 2014-08-11 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Method for increasing white balance judgment accuracy and device thereof
WO2016041162A1 (en) * 2014-09-17 2016-03-24 SZ DJI Technology Co., Ltd. Automatic white balancing system and method
CN104618645B (en) * 2015-01-20 2018-01-23 广东欧珀移动通信有限公司 A kind of method and device shot using dual camera
CN105611139B (en) * 2015-07-15 2018-04-10 宇龙计算机通信科技(深圳)有限公司 Image processing method, image processing apparatus and terminal
CN105227945B (en) * 2015-10-21 2017-05-17 维沃移动通信有限公司 Automatic white balance control method and mobile terminal
CN105744177A (en) * 2016-02-17 2016-07-06 广州视睿电子科技有限公司 Video exhibition stand light control method and system
CN106534814B (en) * 2016-10-12 2019-01-18 成都西纬科技有限公司 A kind of method and apparatus that dual camera picture quality is synchronous
CN106713887B (en) * 2017-01-03 2018-11-20 Tcl通讯科技(成都)有限公司 Mobile terminal and white balance adjusting method
CN106973279A (en) * 2017-05-26 2017-07-21 信利光电股份有限公司 A kind of camera module white balance debugging method and device
CN107147837A (en) * 2017-06-30 2017-09-08 维沃移动通信有限公司 A shooting parameter setting method and mobile terminal
CN107277480B (en) 2017-07-10 2019-03-29 Oppo广东移动通信有限公司 White balance synchronous method, device and terminal device
CN107371007A (en) * 2017-07-25 2017-11-21 广东欧珀移动通信有限公司 White balance processing method, device and terminal
CN107438162B (en) * 2017-07-31 2020-07-07 努比亚技术有限公司 Shooting parameter adjusting method and device
CN107911682B (en) * 2017-11-28 2020-02-18 Oppo广东移动通信有限公司 Image white balance processing method, device, storage medium and electronic device
CN107948617B (en) * 2017-12-06 2021-03-02 Oppo广东移动通信有限公司 Image processing method, apparatus, computer-readable storage medium, and computer device
CN107959840A (en) * 2017-12-07 2018-04-24 广东欧珀移动通信有限公司 Image processing method, image processing device, computer-readable storage medium and computer equipment
CN108156434B (en) * 2017-12-25 2019-07-05 Oppo广东移动通信有限公司 Image processing method and apparatus, computer-readable storage medium and computer device
CN109379575B (en) * 2018-11-28 2020-06-30 维沃移动通信(杭州)有限公司 White balance processing method and mobile terminal
CN109788268A (en) * 2018-12-25 2019-05-21 努比亚技术有限公司 Terminal and its white balance correction control method and computer readable storage medium
CN110493510B (en) * 2019-07-09 2021-01-26 维沃移动通信有限公司 Image processing method and terminal equipment
CN110460826B (en) * 2019-08-12 2022-03-22 Oppo广东移动通信有限公司 White balance processing method, processing device and mobile terminal
CN110730310A (en) * 2019-10-18 2020-01-24 青岛海信移动通信技术股份有限公司 Camera exposure control method and terminal
CN111246114B (en) * 2020-03-12 2021-09-24 Oppo广东移动通信有限公司 Photographic processing method, device, terminal device and storage medium
CN113873211A (en) * 2020-06-30 2021-12-31 北京小米移动软件有限公司 Photographing method and device, electronic equipment and storage medium
CN112600991B (en) * 2020-12-09 2024-09-06 深圳市焦点数字科技有限公司 Method for solving high-magnification monochromatic color cast of variable-magnification movement
CN119299866A (en) * 2024-11-07 2025-01-10 荣耀终端有限公司 Image processing method, electronic device, storage medium and chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212693A (en) * 2006-12-27 2008-07-02 兆宏电子股份有限公司 White balance method and image adjusting device
CN101299847A (en) * 2008-06-25 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for setting, controlling and switching forward and backward CCD camera of mobile terminal
JP2010041611A (en) * 2008-08-07 2010-02-18 Nikon Corp Digital camera and image processor, as well as image processing program
CN102138329A (en) * 2009-07-07 2011-07-27 索尼公司 Image processing device, image processing method, and program
CN202395858U (en) * 2011-12-14 2012-08-22 深圳市中控生物识别技术有限公司 Binocular photographic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1284381C (en) * 1999-09-17 2006-11-08 自然工艺株式会社 Image pickup system, image processor, and camera
JP4897593B2 (en) * 2007-07-09 2012-03-14 富士フイルム株式会社 Compound eye photographing apparatus and adjustment method thereof
JP2012222570A (en) * 2011-04-07 2012-11-12 Sony Corp Imaging apparatus and imaging method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212693A (en) * 2006-12-27 2008-07-02 兆宏电子股份有限公司 White balance method and image adjusting device
CN101299847A (en) * 2008-06-25 2008-11-05 嘉兴闻泰通讯科技有限公司 Method for setting, controlling and switching forward and backward CCD camera of mobile terminal
JP2010041611A (en) * 2008-08-07 2010-02-18 Nikon Corp Digital camera and image processor, as well as image processing program
CN102138329A (en) * 2009-07-07 2011-07-27 索尼公司 Image processing device, image processing method, and program
CN202395858U (en) * 2011-12-14 2012-08-22 深圳市中控生物识别技术有限公司 Binocular photographic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10455206B2 (en) 2017-07-25 2019-10-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd Method and device for adjusting white balance and storage medium
US11412195B2 (en) 2017-07-25 2022-08-09 Shenzhen Heytap Technology Corp., Ltd. Method and device for adjusting white balance and storage medium

Also Published As

Publication number Publication date
CN103402102A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN103402102B (en) The method and apparatus of dual camera camera system and white balance adjusting thereof
CN110958401B (en) Super night scene image color correction method and device and electronic equipment
CN104754203B (en) Image pickup method, device and terminal
US9769466B2 (en) Digital cinema projection method, optimization device and projection system
CN110460826B (en) White balance processing method, processing device and mobile terminal
US20140078247A1 (en) Image adjuster and image adjusting method and program
CN106570838B (en) A kind of brightness of image optimization method and device
JP5612017B2 (en) Camera shake reduction system
CN103716547A (en) Smart mode photographing method
US20140375759A1 (en) Method And Apparatus For Distributed Image Processing In Cameras For Minimizing Artifacts In Stitched Images
WO2013159587A1 (en) Video signal processing method and photographic device
CN103516984A (en) Method and device for intelligently switching HDR mode of camera
CN102540681A (en) Projector and automatic projected picture adjustment method thereof
CN101227562A (en) Brightness Correction Method
WO2020011112A1 (en) Image processing method and system, readable storage medium, and terminal
CN106550227B (en) A kind of image saturation method of adjustment and device
TW201701654A (en) Projection image adjustment method and a projector
CN109547699A (en) A kind of method and device taken pictures
US8994848B2 (en) Method and system for handling mixed illumination in video and photography
WO2016123850A1 (en) Photographing control method for terminal, and terminal
WO2021179142A1 (en) Image processing method and related apparatus
CN103440658A (en) Method and device for automatically removing purple boundaries of photos
JP2012160852A (en) Image composition device, imaging device, image composition method, and image composition program
JP2008228185A (en) Imaging device
CN105227944B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder