KR20110131612A - Auto white balance setting method by white detection considering sensor characteristic - Google Patents

Auto white balance setting method by white detection considering sensor characteristic Download PDF

Info

Publication number
KR20110131612A
KR20110131612A KR1020100051142A KR20100051142A KR20110131612A KR 20110131612 A KR20110131612 A KR 20110131612A KR 1020100051142 A KR1020100051142 A KR 1020100051142A KR 20100051142 A KR20100051142 A KR 20100051142A KR 20110131612 A KR20110131612 A KR 20110131612A
Authority
KR
South Korea
Prior art keywords
white
detection
detected
white balance
equation
Prior art date
Application number
KR1020100051142A
Other languages
Korean (ko)
Other versions
KR101131109B1 (en
Inventor
김경태
장슬기
이윤규
김춘우
Original Assignee
인하대학교 산학협력단
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 인하대학교 산학협력단 filed Critical 인하대학교 산학협력단
Priority to KR1020100051142A priority Critical patent/KR101131109B1/en
Publication of KR20110131612A publication Critical patent/KR20110131612A/en
Application granted granted Critical
Publication of KR101131109B1 publication Critical patent/KR101131109B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration by the use of histogram techniques

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE: An automatic white balance setting method is provided to apply an image to each pixel by calculating gain by the RGB average of the detected image pixels. CONSTITUTION: A pixel by primary white detection is detected to a final white in case the value of r,b variation is less than a reference value(S4, S5). In case the value of the dispersion is bigger than a standard value, second white is detected from the primarily detected white(S6). The RGB average is calculated from finally detected white pixels. The automatic white balance setting is performed in the use of the calculated gain(S8).

Description

센서 특성을 고려한 화이트 검출에 의한 자동 화이트밸런스 설정방법{Auto white balance setting method by white detection considering sensor characteristic}Automatic white balance setting method by white detection considering sensor characteristic}

본 발명은, 예를 들면, 휴대폰 카메라의 자동 화이트밸런스 설정방법에 관한 것으로, 더 상세하게는, 센서특성을 고려하여 화이트 검출을 행함으로써, 영상 내에서 백색을 포함하는 영상에 대하여 광원에 따른 색의 왜곡을 최소화하기 위한 휴대폰 카메라의 자동 화이트밸런스 설정방법에 관한 것이다. The present invention relates to, for example, an automatic white balance setting method of a mobile phone camera, and more particularly, by detecting white in consideration of sensor characteristics, the color according to a light source for an image including white in the image. The present invention relates to an automatic white balance setting method of a mobile phone camera for minimizing distortion.

일반적으로, 백색의 물체는 광원(태양광, 형광등, 백열등 등)에 따라 각기 다른 색으로 나타나게 되는데, 화이트밸런스란, 이러한 광원에 따라 각기 다른 색으로 나타나는 백색 물체를 원래의 백색으로 보이도록 조정하는 작업을 뜻한다. In general, white objects appear in different colors depending on the light source (sunlight, fluorescent light, incandescent lamp, etc.). White balance means that white objects appearing in different colors according to these light sources are adjusted to appear as the original white color. It means work.

또한, 사람의 경우는 조명이나 장소가 달라지더라도 물체에 대한 색의 차이를 느끼지 못하나, 카메라는, 사람의 눈과 달리 색에 대한 순응성이 없기 때문에, 조명과 장소에 따라 같은 피사체라도 색을 다르게 표현하게 된다. In addition, in the case of a person, even if the lighting or the place is different, the color of the object does not feel different, but since the camera is not compatible with the color unlike the human eye, the color of the same subject may be different depending on the light and the place. Will be represented.

따라서 카메라에 있어서는, 상기한 바와 같이 광원에 따라 물체의 색이 변하는 현상을 제어해 주기 위한 기능이 반드시 필요하게 되며, 자동 화이트밸런스는 상기한 바와 같은 현상을 카메라가 자동으로 판단하여 제어하는 기능으로, 최근에 출시되고 있는 카메라에는 거의 모두에 필수적으로 구비되어 있는 기능이다. Therefore, in the camera, a function for controlling a phenomenon in which the color of the object changes according to the light source is necessary as described above, and automatic white balance is a function in which the camera automatically determines and controls the above phenomenon. In recent years, the camera is a feature that is essential to almost all.

이러한 자동 화이트밸런스에 대한 종래의 기술들은, 이하와 같이 광원의 추정 여부에 따라 분류할 수 있다. Conventional techniques for such automatic white balance can be classified according to whether the light source is estimated as follows.

즉, 먼저, 광원을 추정하여 자동 화이트밸런스를 수행하는 방법으로는, 입력 영상의 백색 영역을 찾아 그에 해당되는 영상정보 RGB 값의 평균 또는 색차 신호(R-Y)(B-Y)의 평균을 이용하여 각 채널의 이득을 조절하는 방법이 있다. That is, first, a method of estimating a light source and performing automatic white balance includes finding a white region of an input image and using each channel by using an average of the corresponding RGB values of the image information or an average of the color difference signals RY (BY). There is a way to adjust the gain.

또한, 광원 추정을 행하지 않는 방법으로는, 영상 전체의 각 채널별 평균값을 이용하여 각 채널의 이득을 조절하는 방법이 있다. As a method of not performing light source estimation, there is a method of adjusting the gain of each channel by using an average value for each channel of the entire image.

상기 방법은, 입력 영상이 충분한 색상 변화를 가질 경우, 각 채널의 평균으로 이루어진 색상은 회색이라는 가정하에 이루어지는 것이다. The above method is based on the assumption that if the input image has a sufficient color change, the average color of each channel is gray.

즉, 각 채널의 평균값이 동일해지도록 영상의 RGB 이득을 조절하면, 영상의 화이트밸런스를 재현할 수 있는 원리를 이용하는 것이다. That is, if the RGB gain of the image is adjusted so that the average value of each channel is the same, the principle of reproducing the white balance of the image is used.

그러나 상기에 설명한 방법 중, 광원 추정에 의한 자동 화이트밸런스 방법은 촬영시 센서의 특성을 고려하지 않고 단순한 화이트 검출방법을 사용하기 때문에, 화이트밸런스의 성능이 좋지 않다는 문제가 있다. However, among the above-described methods, the automatic white balance method based on the light source estimation uses a simple white detection method without taking into account the characteristics of the sensor at the time of imaging, thereby causing a problem of poor white balance performance.

따라서 상기한 바와 같은 문제점을 해결하여 화이트밸런스의 성능을 높이기 위하여는, 광원 추정에 의한 자동 화이트밸런스 방법에 있어서도 센서 특성을 고려하도록 하는 것이 바람직하나, 아직까지 그러한 요구를 만족하는 자동 화이트밸런스 기술은 제공되지 못하고 있는 실정이다. Therefore, in order to solve the above problems and improve the performance of the white balance, it is desirable to consider the sensor characteristics in the automatic white balance method by the light source estimation, but the automatic white balance technology that satisfies such requirements is still It is not provided.

본 발명은, 상기한 바와 같은 종래의 자동 화이트밸런스 설정방법의 문제점을 해결하기 위해 이루어진 것으로, 따라서 본 발명의 목적은, 휴대폰 카메라의 자동 화이트밸런스에 있어서, 영상 내에서 백색을 포함하는 영상에 대하여 광원에 의한 색의 왜곡을 최소화하기 위한 자동 화이트밸런스 설정방법을 제공하고자 하는 것이다. The present invention has been made to solve the problems of the conventional automatic white balance setting method as described above. Accordingly, an object of the present invention is to provide an automatic white balance of a mobile phone camera, for an image including white in the image. An object of the present invention is to provide an automatic white balance setting method for minimizing color distortion caused by a light source.

더 상세하게는, 본 발명은, 휴대폰 카메라의 자동 화이트밸런스에 있어서, 센서 특성을 고려하여, 최종 검출된 화이트 화소들의 R, G, B 평균으로 이득을 계산하여 영상의 각 화소에 적용함으로써, 조명이 달라지더라도 물체에 대한 색의 차이가 없도록 하는 휴대폰 카메라의 자동 화이트밸런스 설정방법을 제공하고자 하는 것을 그 목적으로 하는 것이다. More specifically, the present invention, in the automatic white balance of the mobile phone camera, in consideration of the sensor characteristics, by calculating the gain from the R, G, B average of the last detected white pixels and applying to each pixel of the image, The purpose is to provide an automatic white balance setting method of the mobile phone camera so that there is no difference in the color of the object even if this is changed.

상기한 바와 같은 목적을 달성하기 위해, 본 발명에 따르면, 영상 내에서 백색을 포함하는 영상에 대하여 광원에 따른 색의 왜곡을 최소화하기 위해 센서특성을 고려한 화이트 검출에 의하여 자동으로 화이트밸런스 설정하는 자동 화이트밸런스 설정방법에 있어서, 입력 영상의 각 화소의 R, G, B값을 표준화된 R, G, B인 r, g, b로 변환하는 변환단계와, 상기 r, g, b 값으로부터 상기 입력 영상 내의 화이트를 1차로 검출하는 1차 검출단계와, 상기 1차 검출단계에서 검출된 화이트 화소들의 상기 표준화된 R, G, B의 평균과 분산을 계산하는 계산단계와, 상기 계산단계에서 산출된 r, b의 분산이 미리 정해진 기준값보다 작은지 큰지를 판별하는 판별단계와, 상기 판별단계의 판별결과에서 상기 r, b의 분산의 값이 상기 기준값보다 작은 것으로 나타나면, 검출된 화소들이 유사한 색 온도를 가지는 것으로 판단하여 상기 1차 화이트 검출에 의한 화소들을 최종 화이트로 검출하는 화이트 검출단계와, 또는, 상기 판별단계의 판별결과에서 상기 분산의 값이 상기 기준값보다 큰 것으로 나타나면, 검출된 화소들의 색 온도의 차이가 큰 것으로 판단하여 상기 1차 검출된 화이트로부터 다시 2차 화이트를 검출하는 2차 검출단계와, 상기 화이트 검출단계 또는 상기 2차 검출단계로부터 최종적으로 검출된 화이트 화소들로부터 R, G, B 평균 및 이득을 계산하는 이득산출단계와, 상기 이득계산단계에서 산출된 이득을 이용하여 자동 화이트밸런스 설정을 수행하는 화이트밸런스 실행단계를 포함하여 구성되는 것을 특징으로 하는 자동 화이트밸런스 설정방법이 제공된다. In order to achieve the above object, according to the present invention, in order to minimize the distortion of the color according to the light source for the image including the white in the image to automatically set the white balance by the white detection in consideration of the sensor characteristics A white balance setting method, comprising: a conversion step of converting R, G, and B values of each pixel of an input image into r, g, and b, which are standardized R, G, and B, and the input from the r, g, and b values A primary detection step of detecting white in the image as a primary, a calculation step of calculating an average and a variance of the standardized R, G, and B of the white pixels detected in the primary detection step, and a calculation step a discriminating step of determining whether the variance of r and b is smaller or larger than a predetermined reference value; and if the variance of r and b is smaller than the reference value in the determination result of the determining step, A white detection step of detecting the pixels by the primary white detection as the final white by judging that they have a similar color temperature, or, if the value of the variance is greater than the reference value in the determination result of the determination step, detection And a second detection step of detecting the second white again from the first detected white by determining that the difference in the color temperature of the pixels is large, and the white pixels finally detected from the white detection step or the second detection step. And a white balance execution step of calculating an R, G, and B averages and gains from the control unit; and a white balance execution step of performing automatic white balance setting using the gain calculated in the gain calculating step. A balance setting method is provided.

여기서, 상기 변환단계는, 이하의 [수학식 1]을 이용하여 수행되는 것을 특징으로 한다.
Here, the conversion step is characterized in that performed using the following Equation 1.

[[ 수학식Equation 1] One]

r = R / (R + G + B) r = R / (R + G + B)

b = G / (R + G + B) b = G / (R + G + B)

g = B / (R + G + B)
g = B / (R + G + B)

또한, 상기 1차 검출단계는, 상기 입력 영상의 화소의 표준화된 R, G, B와 휘도를 사용하여 화이트를 검출하며, 이때, 상기 센서에 따른 검출식을 이용하여 화이트를 검출하는 것을 특징으로 한다. In the primary detection step, white is detected using standardized R, G, B, and luminance of pixels of the input image, and at this time, white is detected using a detection equation according to the sensor. do.

여기서, 상기 센서는 CMOS 센서이며, 상기 검출식은, tol은 y절편의 톨러런스(tolerance)를 나타내는 값이고, Y는 하나의 화소의 휘도를 나타내며, Y'는 휘도 히스토그램으로부터 도출되는 휘도 문턱값인 것으로 할 때, 이하의 [수학식 2]와 같은 검출식을 통하여 화이트를 검출하는 것을 특징으로 한다.
Here, the sensor is a CMOS sensor, the detection equation, tol is a value representing the tolerance of the y-intercept, Y represents the luminance of one pixel, Y 'is a luminance threshold derived from the luminance histogram In this case, it is characterized by detecting the white color through a detection formula such as the following [Equation 2].

[[ 수학식Equation 2] 2]

0.235 < r < 0.485 0.235 <r <0.485

-0.7009r + 0.4731 - tol < b < -0.7009r + 0.4731 + tol -0.7009r + 0.4731-tol <b <-0.7009r + 0.4731 + tol

Y' < Y
Y '<Y

여기서, 상기 휘도 문턱값은, 상기 입력 영상의 휘도 히스토그램 중, 상기 입력 영상의 평균 휘도보다 큰 레벨에서 상기 평균 휘도의 빈도수보다 큰 값을 가질 때의 휘도 레벨을 사용하는 것을 특징으로 한다. The luminance threshold may be a luminance level when the luminance threshold value has a value greater than the frequency of the average luminance at a level greater than the average luminance of the input image.

또한, 상기 입력 영상의 휘도 히스토그램이 쌍봉을 이루지 않으면, 평균 휘도를 휘도 문턱값으로 사용한다. In addition, when the luminance histogram of the input image does not form a double peak, the average luminance is used as the luminance threshold.

아울러, 상기 2차 검출단계는, 이하의 [수학식 3]에 나타낸 바와 같은 수식을 이용하여, 상기 1차 검출단계에서 검출된 화이트의 표준화된 R, G, B의 평균보다 큰 색 온도를 가지는, r 및 b의 평균(rm, bm)보다 높은 색 온도의 화이트만을 검출하여 적색 계열의 화이트를 배제하도록 구성된 것을 특징으로 한다.
In addition, the secondary detection step has a color temperature larger than the average of normalized R, G, and B values of white detected in the first detection step by using a formula as shown in Equation 3 below. It is characterized in that it is configured to exclude only the red-based white by detecting only the white of the color temperature higher than the average (rm, bm) of, r and b.

[[ 수학식Equation 3] 3]

r < rm r <rm

b > bm
b> bm

또한, 상기 이득산출단계는, 이하의 [수학식 4]에 나타낸 바와 같은 수식을 이용하여 상기 최종적으로 검출된 화이트의 화소들의 R, G, B 평균으로부터 각 채널별로 R, G, B 이득을 계산하도록 구성된 것을 특징으로 한다.
In the gain calculating step, R, G, and B gains are calculated for each channel from the R, G, and B averages of the finally detected pixels of white using a formula as shown in Equation 4 below. And configured to.

[[ 수학식Equation 4] 4]

Figure pat00001
Figure pat00001

(여기서,

Figure pat00002
는 각각 상기 최종적으로 검출된 화이트 화소들의 R, G, B 평균을 나타낸다.)
(here,
Figure pat00002
Respectively represent R, G, and B averages of the finally detected white pixels.)

아울러, 상기 화이트밸런스 실행단계는, 상기 이득산출단계에 의해 계산된 R, G, B의 각 채널별 이득을 이용하여, 이하의 [수학식 5]에 나타낸 바와 같은 수식에 근거하여 자동으로 화이트밸런스를 설정하는 처리를 수행하도록 구성된 것을 특징으로 한다.
In addition, the white balance execution step, using the gain for each channel of the R, G, B calculated by the gain calculation step, automatically white balance based on the equation as shown in Equation 5 below It is characterized in that it is configured to perform a process for setting.

[[ 수학식Equation 5] 5]

Figure pat00003

Figure pat00003

또한, 상기 기준값은 필요에 따라 임의의 값으로 설정할 수 있도록 구성되며, 상기 r 및 상기 b의 분산에 대하여 동일한 값을 가지거나, 또는, 각각 서로 다른 값을 가지도록 구성될 수도 있다. In addition, the reference value is configured to be set to an arbitrary value as needed, and may have the same value for the variance of the r and b, or may be configured to have different values.

상기한 바와 같이, 본 발명은, 영상 내에서 백색을 포함하는 영상에 대하여 광원에 의한 색의 왜곡을 최소화하기 위해 화이트로 최종 검출된 화소들의 R, G, B평균으로 이득을 계산하여 영상의 각 화소에 적용하도록 구성된다. As described above, the present invention, in order to minimize the distortion of the color by the light source for the image including the white in the image by calculating the gain by the R, G, B average of the pixels finally detected as white angle of the image It is configured to apply to the pixel.

즉, 본 발명에 따르면, 센서 특성을 고려하여 1차 화이트 검출을 수행하고, 1차 검출된 화소들의 표준화된 R, G, B의 평균 및 분산을 계산한 후, 표준화된 R, G, B의 분산이 미리 설정된 조건을 만족하면 1차 검출된 화소들 중에서 표준화된 R, G, B보다 높은 색 온도의 화소만 2차 검출하고, 표준화된 R, G, B의 분산이 미리 설정된 조건을 만족하지 못하면 1차 검출만 수행하여, 최종 검출된 화이트 화소들로부터 R, G, B의 평균을 계산하고, 계산된 평균으로부터 R, G, B 채널별 이득(gain)을 계산하고, 계산된 이득을 영상의 각 화소 R, G, B값에 각각 곱해줌으로써, 자동 화이트밸런스가 수행된다. That is, according to the present invention, the primary white detection is performed in consideration of the sensor characteristics, the average and the variance of the normalized R, G, B of the primary detected pixels are calculated, and then the standardized R, G, B If the variance satisfies the preset condition, only the pixels of the color temperature higher than the standardized R, G, and B are secondarily detected among the first detected pixels, and the variance of the standardized R, G, B does not satisfy the preset condition. If not, only the first detection is performed to calculate the average of R, G, and B from the last detected white pixels, calculate the gain for each of the R, G, and B channels from the calculated average, and calculate the image of the calculated gain. Automatic white balance is performed by multiplying each pixel R, G, and B values of.

따라서 본 발명에 따르면, 종래의 광원 추정에 의한 자동 화이트밸런스 방법은 촬영시 센서의 특성을 고려하지 않고 단순한 화이트 검출방법을 사용하기 때문에 화이트밸런스의 성능이 좋지 않았던 문제를 해결하여, 센서 특성을 고려하여 최종 검출된 화이트 화소들의 R, G, B 평균으로 이득을 계산하고 영상의 각 화소에 적용함으로써, 조명이 달라지더라도 물체에 대한 색의 차이가 없도록 하는 휴대폰 카메라의 자동 화이트밸런스 설정방법을 제공할 수 있고, 그것에 의해, 영상 내에서 백색을 포함하는 영상에 대하여 광원에 따른 색의 왜곡을 최소화하고, 화상의 품질을 향상시킬 수 있다. Therefore, according to the present invention, the conventional automatic white balance method based on light source estimation solves the problem that the performance of the white balance was not good because the simple white detection method was used without considering the characteristics of the sensor when taking a picture, and the sensor characteristics were considered. By calculating the gain from the R, G, B average of the last detected white pixels and applying it to each pixel of the image, it provides an automatic white balance setting method of the mobile phone camera so that there is no difference in the color of the object even if the illumination changes By doing so, it is possible to minimize the distortion of the color according to the light source with respect to the image including white in the image, and to improve the quality of the image.

도 1은 본 발명에 따른 자동 화이트밸런스 설정방법의 전체적인 흐름을 나타내는 플로차트(flow chart)이다.
도 2는 멕베스(Macbeth) SG 차트에서 광원별 그레이(gray) 패치의 표준화된 R, G, B간의 관계를 나타내는 도면이다.
도 3은 1차 화이트 검출영역의 예를 나타내는 도면이다.
도 4는 화이트를 검출할 때 사용되는 휘도 문턱값을 설명하기 위한 도면이다.
도 5는 1차 화이트 검출에 의한 화이트 검출결과 영상의 예를 나타내는 도면이다.
도 6은 1차 화이트 검출영역의 예를 나타내는 도면이다.
도 7은 2차 화이트 검출에 의한 화이트 검출결과 영상의 예를 나타내는 도면이다.
도 8은 광원에서 맥베스 컬러 체커(Macbeth color checker)에 대하여 1차 화이트 검출과 2차 화이트 검출에 의한 검출결과를 나타내는 도면이다.
도 9는 자동 화이트밸런스를 수행한 결과 영상의 예를 나타내는 도면이다.
1 is a flowchart showing the overall flow of the automatic white balance setting method according to the present invention.
FIG. 2 is a diagram illustrating a relationship between standardized R, G, and B of gray patches for each light source in a Macbeth SG chart.
3 is a diagram illustrating an example of a primary white detection region.
4 is a diagram for describing a luminance threshold used when detecting white.
5 is a diagram illustrating an example of a white detection result image by primary white detection.
6 is a diagram illustrating an example of a primary white detection region.
7 is a diagram illustrating an example of a white detection result image by secondary white detection.
FIG. 8 is a diagram illustrating a detection result by primary white detection and secondary white detection of a Macbeth color checker in a light source.
9 is a diagram illustrating an example of an image of a result of performing automatic white balance.

이하, 첨부된 도면을 참조하여, 상기한 바와 같은 본 발명에 따른 휴대폰 카메라의 자동 화이트밸런스 설정방법에 대하여 상세히 설명한다. Hereinafter, with reference to the accompanying drawings, it will be described in detail with respect to the automatic white balance setting method of the mobile phone camera according to the present invention as described above.

여기서, 이하에 설명하는 내용은 본 발명을 실시하기 위한 하나의 실시예일 뿐이며, 본 발명은 이하에 설명하는 실시예의 내용으로만 한정되는 것은 아니다. Here, the content described below is only one embodiment for carrying out the present invention, the present invention is not limited only to the content of the embodiment described below.

또한, 이하, 본 발명을 설명함에 있어서, 관련된 공지기술 또는 구성에 대한 구체적인 설명이 이미 당업자에게 있어 널리 알려진 것이거나, 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는, 설명을 간략하고 명료하게 하기 위해 그 상세한 설명은 생략한다. In the following description of the present invention, detailed descriptions of related well-known technologies or constructions are already well known to those skilled in the art, or are considered to unnecessarily obscure the subject matter of the present invention. The detailed description is omitted for the sake of brevity.

아울러, 후술하는 설명에서 사용되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서, 이는 사용자 및 사용자의 의도 또는 관례 등에 따라 달라질 수 있음에 유념해야 한다. In addition, the terms used in the following description are terms defined in consideration of functions in the present invention, and it should be noted that this may vary depending on the user's intention or custom.

먼저, 도 1을 참조하여 본 발명에 따른 휴대폰 카메라의 자동 화이트밸런스 설정방법의 구체적인 실시예에 대하여 설명한다. First, with reference to Figure 1 will be described a specific embodiment of the automatic white balance setting method of the mobile phone camera according to the present invention.

도 1을 참조하면, 도 1은 본 발명에 따른 자동 화이트밸런스 설정방법의 전체적인 흐름을 플로차트로 나타내고 있다. Referring to FIG. 1, FIG. 1 is a flowchart illustrating the overall flow of the automatic white balance setting method according to the present invention.

도 1에 나타낸 바와 같이, 본 발명에 따른 자동 화이트밸런스 설정방법은, 백색을 포함하는 영상에 대한 자동 화이트밸런스 기술에 관한 것으로, 이와 같이 백색을 포함하는 영상에 대한 자동 화이트밸런스 기술은, 먼저, 입력 영상의 각 화소의 R, G, B값을 표준화된 R, G, B인 r, g, b로 변환하는 변환단계(S1)와, 영상 내의 화이트를 1차 검출하는 1차 검출단계(S2)와, 상기 단계에서 검출된 화이트 화소들의 표준화된 R, G, B의 평균과 분산을 계산하는 계산단계(S3)와, 상기 계산단계(S3)에서 산출된 분산이 미리 정해진 조건을 만족하는지를 판별하는 판별단계(S4)와, 상기 판별단계의 판별결과에서 상기 분산의 값이 미리 정해진 값보다 작은 것으로 나타나면 1차 화이트 검출에 의한 화소들을 화이트로 최종 검출하는 화이트 검출단계(S5)와, 또는, 상기 판별단계의 판별결과에서 상기 분산의 값이 미리 정해진 값보다 큰 것으로 나타나면 1차 검출된 화이트로부터 2차 화이트를 검출하는 2차 검출단계(S6)와, 상기 검출단계들로부터 최종 검출된 화이트 화소들로부터 R, G, B 평균 및 이득을 계산하는 이득산출단계(S7)와, 계산된 이득을 이용하여 자동 화이트밸런스를 수행하는 화이트밸런스 실행단계(S8)를 포함하여 구성되는 것을 특징으로 한다. As shown in FIG. 1, the automatic white balance setting method according to the present invention relates to an automatic white balance technology for an image including white. As such, the automatic white balance technology for an image including white includes: A conversion step S1 of converting the R, G, and B values of each pixel of the input image into standardized R, G, and B r, g, and b; And a calculation step S3 for calculating the average and the variance of the standardized R, G, and B pixels of the white pixels detected in the step, and determining whether the variance calculated in the calculation step S3 satisfies a predetermined condition. A white detection step S5 of finally detecting pixels by primary white detection if the value of the variance is smaller than a predetermined value in the determination step S4 and the determination result of the determination step; Of the determination step If the result of the determination indicates that the value of the variance is larger than a predetermined value, the second detection step S6 of detecting the second white color from the first detected white color, R, from the last detected white pixels from the detection steps, It is characterized in that it comprises a gain calculation step (S7) for calculating the G, B mean and gain, and a white balance execution step (S8) for performing an automatic white balance using the calculated gain.

여기서, 입력 영상의 R, G, B값에서 표준화된 R, G, B로 변환하는 변환단계(S1)는, 이하의 [수학식 1]을 이용하여 수행된다.
Here, the converting step S1 of converting the R, G, and B values of the input image into the normalized R, G, and B values is performed using Equation 1 below.

[[ 수학식Equation 1] One]

r = R / (R + G + B) r = R / (R + G + B)

b = G / (R + G + B) b = G / (R + G + B)

g = B / (R + G + B)
g = B / (R + G + B)

다음으로, 도 2는 맥베스(Macbeth) SG 차트의 그레이 패치를 각 광원에서 CMOS 센서로 촬영한 후, 표준화된 R, G, B로 변환하여 표준화된 R, G, B 평면에 도시한 것이다. Next, FIG. 2 shows a gray patch of a Macbeth SG chart with a CMOS sensor at each light source, and then converts the gray patches of the Macbeth SG chart into standardized R, G, and B, and shows them on the standardized R, G, and B planes.

도 2a, 2b, 2c에 있어서, 그레이 패치의 분포를 1차 직선으로 추세선을 그릴 때, 도 2c에서의 표준화된 R과 표준화된 B의 관계에서 오차가 가장 적음을 알 수 있다. 2A, 2B and 2C, when the trend line is drawn in the linear distribution of the gray patches, it can be seen that the error is the smallest in the relationship between the normalized R and the normalized B in FIG. 2C.

이러한 결과를 광원별로 나타낸 것이 도 2d로서, 도 2d에 나타낸 바와 같이, 광원의 색온도가 높아질수록(화살표 방향) 표준화된 R의 값은 작아지고, 표준화된 B의 값은 커진다. 2D shows these results for each light source. As shown in FIG. 2D, as the color temperature of the light source increases (arrow direction), the value of normalized R decreases, and the value of normalized B increases.

또한, 도 3은 도 2d에 나타낸 바와 같은 특성으로부터 1차 화이트 검출을 위한 검출영역의 예를 나타내는 도면이며, 이때의 검출은 이하의 [수학식 2]와 같은 검출식을 이용하여 수행된다(단계 S2).
3 is a diagram showing an example of a detection area for primary white detection from the characteristics as shown in FIG. 2D, and the detection at this time is performed using the following detection formula (Equation 2) (step S2).

[[ 수학식Equation 2] 2]

0.235 < r < 0.485 0.235 <r <0.485

-0.7009r + 0.4731 - tol < b < -0.7009r + 0.4731 + tol -0.7009r + 0.4731-tol <b <-0.7009r + 0.4731 + tol

Y' < Y
Y '<Y

여기서, 상기한 [수학식 2]는, 도 2에 나타낸 바와 같은 관계를 도출하기 위해 사용된 CMOS 센서에 대하여 도출된 식으로서, 이와 같은 r, b 평면에서 평행 사변형 경계(boundary)를 나타내는 식은 사용되는 CMOS 센서마다 달라질 수 있음에 유의해야 하며, 본 실시예에서는, 상기 [수학식 2]에서, tol은 y절편의 톨러런스(tolerance)를 나타내는 값으로, 0.03이 사용되었다. [Equation 2] is a formula derived for the CMOS sensor used to derive the relationship as shown in FIG. 2, and the equation representing the parallelogram boundary in the r and b planes is used. It should be noted that each CMOS sensor may vary, and in this embodiment, in Equation 2, tol represents a tolerance of the y-intercept, and 0.03 is used.

또한, Y는 하나의 화소의 휘도를 나타내고, Y'는 휘도 문턱값으로서, 도 4에 나타낸 바와 같은 휘도 히스토그램으로부터 도출된다. In addition, Y represents the luminance of one pixel, and Y 'is the luminance threshold, which is derived from the luminance histogram as shown in FIG.

도 4를 참조하면, 도 4에서 가는 실선으로 나타낸 히스토그램과 굵은 실선으로 나타낸 히스토그램의 평균은 같다. Referring to FIG. 4, the average of the histogram represented by the thin solid line and the histogram represented by the thick solid line in FIG. 4 is the same.

도 4에 나타낸 바와 같이, 영상이 화이트(백색)를 많이 포함하고 있을 때, 즉, 높은 휘도를 가지는 화소를 많이 포함한 영상일 때, 영상의 휘도 히스토그램은 쌍봉 형태를 이루며, 이때 영상의 평균 휘도는 쌍봉의 중간에 위치하게 된다. As shown in FIG. 4, when the image contains a large amount of white (white), that is, when the image includes a large number of pixels having high luminance, the luminance histogram of the image forms a bimodal shape, and the average luminance of the image is It is located in the middle of the double rod.

이와 같이, 쌍봉의 중간에 위치한 평균 휘도를 문턱값으로 사용하여 화이트를 검출하게 되면, 화이트가 아닌 것도 화이트로 검출하게 되므로, 휘도가 높은 쪽의 봉우리에서 최대 빈도수를 가지는 레벨을 휘도 문턱값으로 사용하는 것이 바람직하다. As described above, when white is detected using the average luminance located in the middle of the double peak as a threshold value, non-white color is detected as white, so the level having the highest frequency at the peak of the higher luminance is used as the luminance threshold value. It is desirable to.

만약, 여기서 영상의 휘도 히스토그램이 쌍봉을 이루지 않는다면, 평균 휘도를 휘도 문턱값으로 사용한다. If the luminance histogram of the image does not form a double peak, the average luminance is used as the luminance threshold.

계속해서, 도 5는 상기한 바와 같이 하여 얻어진 1차 화이트 검출에 의한 화이트 검출결과 영상의 예를 나타내고 있다. Subsequently, Fig. 5 shows an example of the white detection result image by primary white detection obtained as described above.

도 5를 참조하면, 도 5에서 화이트가 아닌 색임에도 불구하고 적색 계열의 색이 화이트로 검출되는 이유는, 색 온도가 낮은 화이트에 속한다고 판단되기 때문이다. Referring to FIG. 5, the reason why a red-based color is detected as white despite being a color other than white in FIG. 5 is because it is determined that the color temperature belongs to white with low color.

따라서 색 온도가 낮은 적색 계열의 색을 검출하지 않도록 하기 위하여, 다음과 같이 하여 2차 화이트 검출을 행한다. Therefore, in order not to detect the red series color with a low color temperature, secondary white detection is performed as follows.

즉, 2차 화이트 검출은, 1차 화이트 검출된 화소들의 r, b의 평균(rm, bm) 및 분산을 계산하고(단계 S3), 이들 r, b의 분산이 미리 설정된 조건을 만족하는지를 판별하여(단계 S4), 즉, 1차 검출된 화이트 화소들이 거의 비슷한 색 온도를 가지면(r, b의 분산이 작다면) 1차 화이트 검출에 의한 화소들을 화이트로 최종 검출한다(단계 S5). That is, the second white detection calculates an average (rm, bm) and variance of r and b of the pixels detected by the primary white (step S3), and determines whether the variance of these r and b satisfies a preset condition. (Step S4), i.e., if the primary detected white pixels have a nearly similar color temperature (if the r and b dispersions are small), the pixels by primary white detection are finally detected as white (step S5).

만일, 단계(S4)의 판별결과가 미리 설정된 조건을 만족하지 않는다면, 즉, 1차 검출된 화이트 화소들의 색 온도 차이가 크다면(r, b의 분산이 크다면), 1차 검출된 화소들 중에서 r 및 b 평균보다 높은 색 온도의 화이트만 검출하여 적색 계열의 화이트를 배제한다(단계 S6). If the determination result of step S4 does not satisfy the preset condition, that is, if the color temperature difference of the primary detected white pixels is large (r and b are large dispersion), the primary detected pixels Among them, only whites having a color temperature higher than the r and b averages are detected to exclude red series white (step S6).

여기서, 상기한 단계(S4)에서, r, b의 분산과 비교하기 위해 미리 설정되는 기준값은 당업자의 수준에서 필요에 따라 적절한 값으로 임의로 설정 가능한 것이며, 또한, r과 b에 대하여 서로 다른 기준값을 가지도록 구성할 수도 있다. Here, in the above-described step (S4), the reference value preset for comparison with the variance of r and b is arbitrarily set to an appropriate value as necessary at the level of those skilled in the art, and different reference values for r and b may be set. It can also be configured to have.

아울러, r, b 평균보다 색 온도가 높은 화이트의 검출은 이하의 [수학식 3]에 근거하여 수행된다.
In addition, detection of white whose color temperature is higher than r and b average is performed based on the following [Equation 3].

[[ 수학식Equation 3] 3]

r < rm r <rm

b > bm
b> bm

여기서, r, b 분산에 사용된 문턱값은 실험에 의해 결정된 값이며, 그 검출 영역은 도 6에 나타낸 바와 같다. Here, the threshold values used for the r and b variances are values determined by experiments, and the detection region is as shown in FIG. 6.

상기한 바와 같이 하여 2차 검출까지 수행하여 화이트를 검출한 결과를 도 7에 도시하였다. As described above, the result of detecting white by performing the second detection is shown in FIG. 7.

도 7을 참조하면, 도 5와 도 7을 비교했을 때, 색 온도가 낮은 화이트가 제외된 것을 확인할 수 있다. Referring to FIG. 7, when comparing FIG. 5 with FIG. 7, it may be confirmed that white having a low color temperature is excluded.

다음으로, 도 8을 참조하면, 도 8은 광원에서 맥베스 컬러 체커(Macbeth color checker)에 대하여 1차 화이트 검출과 2차 화이트 검출에 의한 검출결과를 나타내는 도면이다. Next, referring to FIG. 8, FIG. 8 is a diagram illustrating detection results of primary white detection and secondary white detection of a Macbeth color checker in a light source.

도 8에 있어서, 화이트 검출영역은 컬러로 표시하고 검출되지 않은 영역은 검은색으로 표시하였다. In FIG. 8, the white detection area is displayed in color and the undetected area is displayed in black.

여기서, 자동 화이트밸런스를 수행하기 위해서는, 최종적으로 검출된 화이트 화소들의 R, G, B 평균으로부터 R, G, B 이득이 계산되어야 하는데, 이러한 과정은 이하의 [수학식 4]에 나타낸 바와 같은 식을 이용하여 수행된다(단계 S7). In order to perform automatic white balance, R, G, and B gains must be calculated from the R, G, and B averages of the finally detected white pixels, and this process is expressed by Equation 4 below. Is performed using (step S7).

또한, [수학식 4]에서

Figure pat00004
는 각각 검출된 화이트 화소들의 R, G, B 평균을 나타낸다.
Also, in [Equation 4]
Figure pat00004
Denotes R, G, and B averages of the detected white pixels, respectively.

[[ 수학식Equation 4] 4]

Figure pat00005

Figure pat00005

이후, 상기한 [수학식 4]에 의해 계산된 R, G, B 이득을 이용하여 자동 화이트밸런스를 수행하게 되며, 이때, 자동 화이트밸런스는 이하의 [수학식 5]에 의해 수행된다(단계 S8).
Subsequently, automatic white balance is performed using the R, G, and B gains calculated by Equation 4 above. At this time, automatic white balance is performed by Equation 5 below (step S8). ).

[[ 수학식Equation 5] 5]

Figure pat00006

Figure pat00006

상기한 바와 같이 하여 얻어진 R, G, B 이득을 적용하여 자동 화이트 밸런스를 수행한 결과 영상을 도 9에 나타내었다. As a result of performing the auto white balance by applying the R, G, and B gains obtained as described above, the image is shown in FIG. 9.

도 9를 참조하면, 도 9a의 영상보다 도 9b의 영상의 색 왜곡이 적고 화상의 품질이 좋은 것을 확인할 수 있다. Referring to FIG. 9, it can be seen that the color distortion of the image of FIG. 9B is less than that of FIG. 9A and the image quality is good.

따라서 상기한 바와 같이, 1차 검출된 화소들의 표준화된 R, G, B의 평균 및 분산을 계산하고, 표준화된 R, G, B의 분산이 미리 설정된 조건을 만족하면 1차 검출된 화소들 중에서 표준화된 R, G, B보다 높은 색 온도의 화소만 2차로 검출하며, 표준화된 R, G, B의 분산이 미리 설정된 조건을 만족하지 못하면 1차 검출만 수행하여, 최종 검출된 화이트 화소들로부터 R, G, B의 평균을 계산하고, 계산된 평균으로부터 R, G, B 채널별 이득을 계산하여, 계산된 이득을 영상의 각 화소 R, G, B값에 각각 곱해 줌으로써, 본 발명에 따른 센서 특성을 고려한 자동 화이트밸런스 설정방법이 수행되도록 할 수 있다. Therefore, as described above, the average and the variance of the normalized R, G, B of the primary detected pixels are calculated, and if the variance of the standardized R, G, B satisfies a preset condition, among the primary detected pixels Only pixels with a color temperature higher than the normalized R, G, and B are detected secondarily, and if the dispersion of the standardized R, G, and B does not satisfy a preset condition, only the first detection is performed, and the final detected white pixels are According to the present invention, the average of R, G, and B is calculated, and the gain for each of the R, G, and B channels is calculated from the calculated average, and the calculated gain is multiplied by each pixel R, G, and B values of the image. An automatic white balance setting method may be performed in consideration of sensor characteristics.

또한, 상기한 바와 같이 센서 특성을 고려한 자동 화이트밸런스 설정방법을 수행함으로써, 영상 내에서 백색을 포함하는 영상에 대하여 광원에 따른 색의 왜곡을 최소화하고, 그것에 의해 화상을 품질을 더욱 향상시킬 수 있다. In addition, by performing the automatic white balance setting method considering the sensor characteristics as described above, it is possible to minimize the distortion of the color according to the light source for the image including the white in the image, thereby further improving the image quality. .

이상, 상기한 바와 같은 본 발명의 실시예를 통하여 본 발명을 설명하였으나, 본 발명은 상기한 실시예에 기재된 내용으로만 한정되는 것은 아니며, 따라서 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 설계상의 필요 및 기타 다양한 요인에 따라, 여러 가지 수정, 변경, 결합 및 대체 등이 가능한 것임은 당연한 일이라 하겠다.
As mentioned above, although this invention was demonstrated through the Example of this invention, this invention is not limited only to the content described in the above Example, Therefore, this invention is common in the technical field to which this invention belongs. Naturally, various modifications, changes, combinations and substitutions can be made by a knowledgeable person depending on the design needs and various other factors.

Claims (10)

영상 내에서 백색을 포함하는 영상에 대하여 광원에 따른 색의 왜곡을 최소화하기 위해 센서 특성을 고려한 화이트 검출에 의하여 자동으로 화이트밸런스 설정하는 자동 화이트밸런스 설정방법에 있어서,
입력 영상의 각 화소의 R, G, B값을 표준화된 R, G, B인 r, g, b로 변환하는 변환단계와,
상기 r, g, b 값으로부터 상기 입력 영상 내의 화이트를 1차로 검출하는 1차 검출단계와,
상기 1차 검출단계에서 검출된 화이트 화소들의 상기 표준화된 R, G, B의 평균과 분산을 계산하는 계산단계와,
상기 계산단계에서 산출된 r, b의 분산이 미리 정해진 기준값보다 작은지 큰지를 판별하는 판별단계와,
상기 판별단계의 판별결과에서 상기 r, b의 분산의 값이 상기 기준값보다 작은 것으로 나타나면, 검출된 화소들이 유사한 색 온도를 가지는 것으로 판단하여 상기 1차 화이트 검출에 의한 화소들을 최종 화이트로 검출하는 화이트 검출단계와,
또는, 상기 판별단계의 판별결과에서 상기 분산의 값이 상기 기준값보다 큰 것으로 나타나면, 검출된 화소들의 색 온도의 차이가 큰 것으로 판단하여 상기 1차 검출된 화이트로부터 다시 2차 화이트를 검출하는 2차 검출단계와,
상기 화이트 검출단계 또는 상기 2차 검출단계로부터 최종적으로 검출된 화이트 화소들로부터 R, G, B 평균 및 이득을 계산하는 이득산출단계와,
상기 이득계산단계에서 산출된 이득을 이용하여 자동 화이트밸런스 설정을 수행하는 화이트밸런스 실행단계를 포함하여 구성되는 것을 특징으로 하는 자동 화이트밸런스 설정방법.
In the automatic white balance setting method for automatically setting the white balance by the white detection in consideration of the sensor characteristics in order to minimize the distortion of the color according to the light source for the image including the white in the image,
A conversion step of converting the R, G, and B values of each pixel of the input image into r, g, and b, which are standardized R, G, and B;
A first detection step of first detecting white in the input image from the r, g, and b values;
A calculation step of calculating an average and a variance of the normalized R, G, and B of the white pixels detected in the first detection step;
A discriminating step of determining whether the variance of r and b calculated in the calculating step is smaller or larger than a predetermined reference value;
If it is determined from the determination result of the determining step that the variance of the r and b is smaller than the reference value, it is determined that the detected pixels have a similar color temperature, and white for detecting the pixels by the first white detection as the final white. Detection step,
Alternatively, if it is determined that the value of the variance is larger than the reference value in the determination result of the determination step, it is determined that the difference in the color temperature of the detected pixels is large and the secondary white is detected again from the first detected white. Detection step,
A gain calculation step of calculating R, G, and B averages and gains from the white pixels finally detected from the white detection step or the second detection step;
And a white balance execution step of performing automatic white balance setting by using the gain calculated in the gain calculating step.
제 1항에 있어서,
상기 변환단계는, 이하의 [수학식 1]을 이용하여 수행되는 것을 특징으로 하는 자동 화이트밸런스 설정방법.

[ 수학식 1]
r = R / (R + G + B)
b = G / (R + G + B)
g = B / (R + G + B)
The method of claim 1,
The conversion step, the automatic white balance setting method characterized in that performed using the following [Equation 1].

[ Equation 1]
r = R / (R + G + B)
b = G / (R + G + B)
g = B / (R + G + B)
제 1항에 있어서,
상기 1차 검출단계는, 상기 입력 영상의 화소의 표준화된 R, G, B와 휘도를 사용하여 화이트를 검출하며,
이때, 상기 센서에 따른 검출식을 이용하여 화이트를 검출하는 것을 특징으로 하는 자동 화이트밸런스 설정방법.
The method of claim 1,
In the first detection step, white is detected using standardized R, G, B, and luminance of pixels of the input image.
At this time, the automatic white balance setting method, characterized in that for detecting the white by using the detection formula according to the sensor.
제 3항에 있어서,
상기 센서는 CMOS 센서이며,
상기 검출식은, tol은 y절편의 톨러런스(tolerance)를 나타내는 값이고, Y는 하나의 화소의 휘도를 나타내며, Y'는 휘도 히스토그램으로부터 도출되는 휘도 문턱값인 것으로 할 때, 이하의 [수학식 2]와 같은 검출식을 통하여 화이트를 검출하는 것을 특징으로 하는 자동 화이트밸런스 설정방법.

[ 수학식 2]
0.235 < r < 0.485
-0.7009r + 0.4731 - tol < b < -0.7009r + 0.4731 + tol
Y' < Y
The method of claim 3, wherein
The sensor is a CMOS sensor,
In the above detection formula, when tol is a value representing the tolerance of the y-intercept, Y is the luminance of one pixel, and Y 'is the luminance threshold derived from the luminance histogram. Automatic white balance setting method characterized in that the detection of the white color through a detection formula such as.

[ Equation 2]
0.235 <r <0.485
-0.7009r + 0.4731-tol <b <-0.7009r + 0.4731 + tol
Y '<Y
제 4항에 있어서,
상기 휘도 문턱값은, 상기 입력 영상의 휘도 히스토그램 중, 상기 입력 영상의 평균 휘도보다 큰 레벨에서 상기 평균 휘도의 빈도수보다 큰 값을 가질 때의 휘도 레벨을 사용하는 것을 특징으로 하는 자동 화이트밸런스 설정방법.
The method of claim 4, wherein
The luminance threshold value is an automatic white balance setting method using a luminance level when the value is greater than the frequency of the average luminance at a level greater than the average luminance of the input image among the luminance histogram of the input image. .
제 4항에 있어서,
상기 입력 영상의 휘도 히스토그램이 쌍봉을 이루지 않으면, 평균 휘도를 휘도 문턱값으로 사용하는 것을 특징으로 하는 자동 화이트밸런스 설정방법.
The method of claim 4, wherein
And if the luminance histogram of the input image does not form a double peak, an average luminance is used as a luminance threshold.
제 1항에 있어서,
상기 2차 검출단계는, 이하의 [수학식 3]에 나타낸 바와 같은 수식을 이용하여, 상기 1차 검출단계에서 검출된 화이트의 표준화된 R, G, B의 평균보다 큰 색 온도를 가지는, r 및 b의 평균(rm, bm)보다 높은 색 온도의 화이트만을 검출하여 적색 계열의 화이트를 배제하도록 구성된 것을 특징으로 하는 자동 화이트밸런스 설정방법.

[ 수학식 3]
r < rm
b > bm
The method of claim 1,
The secondary detection step has a color temperature greater than the average of the normalized R, G, and B values of white detected in the first detection step, using a formula as shown in Equation 3 below. And detecting only whites having a color temperature higher than the mean (rm, bm) of b to exclude white of a red series.

[ Equation 3]
r <rm
b> bm
제 1항에 있어서,
상기 이득산출단계는, 이하의 [수학식 4]에 나타낸 바와 같은 수식을 이용하여 상기 최종적으로 검출된 화이트의 화소들의 R, G, B 평균으로부터 각 채널별로 R, G, B 이득을 계산하도록 구성된 것을 특징으로 하는 자동 화이트밸런스 설정방법.

[ 수학식 4]
Figure pat00007


(여기서,
Figure pat00008
는 각각 상기 최종적으로 검출된 화이트 화소들의 R, G, B 평균을 나타낸다.)
The method of claim 1,
The gain calculating step is configured to calculate R, G, and B gains for each channel from the R, G, and B averages of the finally detected pixels of white using a formula as shown in Equation 4 below. Auto white balance setting method, characterized in that.

[ Equation 4]
Figure pat00007


(here,
Figure pat00008
Respectively represent R, G, and B averages of the finally detected white pixels.)
제 1항에 있어서,
상기 화이트밸런스 실행단계는, 상기 이득산출단계에 의해 계산된 R, G, B의 각 채널별 이득을 이용하여, 이하의 [수학식 5]에 나타낸 바와 같은 수식에 근거하여 자동으로 화이트밸런스를 설정하는 처리를 수행하도록 구성된 것을 특징으로 하는 자동 화이트밸런스 설정방법.

[ 수학식 5]
Figure pat00009

The method of claim 1,
In the white balance execution step, the white balance is automatically set based on the equation as shown in Equation 5 below by using the gain for each channel of R, G, and B calculated by the gain calculation step. Automatic white balance setting method, characterized in that configured to perform the processing.

[ Equation 5]
Figure pat00009

제 1항에 있어서,
상기 기준값은 필요에 따라 임의의 값으로 설정할 수 있도록 구성되며,
또한, 상기 기준값은, 상기 r 및 상기 b의 분산에 대하여 동일한 값을 가지거나, 또는, 각각 서로 다른 값을 가지도록 구성될 수 있는 것을 특징으로 하는 자동 화이트밸런스 설정방법.
The method of claim 1,
The reference value is configured to be set to any value as needed,
The reference value may be configured to have the same value or different values for the variance of the r and b, respectively.
KR1020100051142A 2010-05-31 2010-05-31 Auto white balance setting method by white detection considering sensor characteristic KR101131109B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100051142A KR101131109B1 (en) 2010-05-31 2010-05-31 Auto white balance setting method by white detection considering sensor characteristic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100051142A KR101131109B1 (en) 2010-05-31 2010-05-31 Auto white balance setting method by white detection considering sensor characteristic

Publications (2)

Publication Number Publication Date
KR20110131612A true KR20110131612A (en) 2011-12-07
KR101131109B1 KR101131109B1 (en) 2012-04-03

Family

ID=45499951

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100051142A KR101131109B1 (en) 2010-05-31 2010-05-31 Auto white balance setting method by white detection considering sensor characteristic

Country Status (1)

Country Link
KR (1) KR101131109B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101477736B1 (en) * 2013-04-17 2014-12-31 중앙대학교 산학협력단 Apparatus and method for white point estimation based dark channel prior for auto white balance
KR20170030933A (en) * 2015-09-10 2017-03-20 삼성전자주식회사 Image processing device and auto white balancing metohd thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5818668B2 (en) 2011-12-16 2015-11-18 株式会社東芝 Auto white balance adjustment system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005033332A (en) 2003-07-08 2005-02-03 Konica Minolta Opto Inc White balance control unit and electronic equipment
JP4222130B2 (en) 2003-07-08 2009-02-12 コニカミノルタオプト株式会社 White balance control device and electronic device
KR101092539B1 (en) * 2005-02-18 2011-12-14 삼성전자주식회사 Image apparatus for controlling white-balance automatically and method for controlling white-balance thereof
KR100915598B1 (en) * 2007-09-18 2009-09-07 한국과학기술원 Automatic white balance apparatus and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101477736B1 (en) * 2013-04-17 2014-12-31 중앙대학교 산학협력단 Apparatus and method for white point estimation based dark channel prior for auto white balance
KR20170030933A (en) * 2015-09-10 2017-03-20 삼성전자주식회사 Image processing device and auto white balancing metohd thereof

Also Published As

Publication number Publication date
KR101131109B1 (en) 2012-04-03

Similar Documents

Publication Publication Date Title
EP1920610B1 (en) Image processing device with automatic white balance
KR100983037B1 (en) Method for controlling auto white balance
US7057768B2 (en) Automatic color balance
JP4740602B2 (en) Auto white balance device and white balance adjustment method
EP2227025B1 (en) Apparatus and method for adjusting white balance of digital image
EP2426928B1 (en) Image processing apparatus, image processing method and program
US11277595B2 (en) White balance method for image and terminal device
JP4707450B2 (en) Image processing apparatus and white balance adjustment apparatus
US8704910B2 (en) Apparatus and method for classifying images
US20070085911A1 (en) Apparatus for color correction of subject-image data, and method of controlling same
RU2496250C1 (en) Image processing apparatus and method
US9307213B2 (en) Robust selection and weighting for gray patch automatic white balancing
US8698918B2 (en) Automatic white balancing for photography
US8189909B2 (en) Color temperature conversion method and apparatus having luminance correction conversion function
US8120670B2 (en) Apparatus and method for controlling gain of color signal
AU2012214986A1 (en) Method and apparatus for brightness-controlling image conversion
GB2430829A (en) Identifying a scene illuminant by comparison of chromaticity values with stored possible illuminants
KR101131109B1 (en) Auto white balance setting method by white detection considering sensor characteristic
WO2012167128A1 (en) Image content-based color balancing
KR101854432B1 (en) Method and apparatus for detecting and compensating back light frame
WO2022011504A1 (en) Correction of color tinted pixels captured in low-light conditions
KR100915598B1 (en) Automatic white balance apparatus and method thereof
Jo et al. Adaptive white point extraction based on dark channel prior for automatic white balance
CN115334295A (en) Image white balance processing method and electronic equipment
KR20210023349A (en) Image processing apparatus for auto white balance and processing method therefor

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20141204

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160113

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20161220

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20171213

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee