KR20070052018A - Method and apparatus for adjusting white balance in a digital image device - Google Patents

Method and apparatus for adjusting white balance in a digital image device Download PDF

Info

Publication number
KR20070052018A
KR20070052018A KR1020050109542A KR20050109542A KR20070052018A KR 20070052018 A KR20070052018 A KR 20070052018A KR 1020050109542 A KR1020050109542 A KR 1020050109542A KR 20050109542 A KR20050109542 A KR 20050109542A KR 20070052018 A KR20070052018 A KR 20070052018A
Authority
KR
South Korea
Prior art keywords
values
pixel
image
color
original image
Prior art date
Application number
KR1020050109542A
Other languages
Korean (ko)
Other versions
KR101194083B1 (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 KR1020050109542A priority Critical patent/KR101194083B1/en
Publication of KR20070052018A publication Critical patent/KR20070052018A/en
Application granted granted Critical
Publication of KR101194083B1 publication Critical patent/KR101194083B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Abstract

본 발명은 디지털 영상장치의 화이트 밸런스 조절에 관한 방법 및 장치를 제공한다.The present invention provides a method and apparatus for adjusting white balance of a digital imaging apparatus.

이러한 본 발명은 상기 디지털 영상장치가 피사체를 촬영하여 이미지센서에서 원본이미지를 생성하고 초점이 맞은 영역을 지정하여 영상처리부에 전달하면, 상기 영상처리부가 상기 원본 이미지에서 초점이 맞은 영역의 화소값들을 검출하고 상기 화소값들의 평균값을 계산한다.According to the present invention, when the digital imaging apparatus photographs a subject to generate an original image in an image sensor, designates an area in focus, and transmits the image area to the image processor, the image processing unit acquires pixel values of the area in focus on the original image. Detect and calculate an average value of the pixel values.

상기 영상처리부는 상기 초점이 맞은 영역의 화소값들과 상기 평균값의 차이값들을 계산하고, 상기 차이값들과 상기 초점이 맞은 영역의 화소값들을 합하여 계산된 색상보정치의 각 성분 값들을 상기 색상보정치의 성분값들중 최대 성분값으로 나누어 성분별로 정규화 값을 결정하며, 상기 원본 이미지와 상기 정규화 값의 곱을 구하여 얻어진 보정된 이미지를 출력한다.The image processor calculates difference values between the pixel values of the focused area and the average value, and adds each component value of the color correction value calculated by adding the difference values and pixel values of the focused area to the color correction value. The normalized value is determined for each component by dividing the maximum component value among the components, and the corrected image obtained by obtaining the product of the original image and the normalized value is output.

이렇게 함으로써, 본 발명은 원본 이미지의 화이트 밸런스를 상기 영상 처리부에서 자동으로 보정하여 원본 이미지의 원래 색을 구현할 수 있는 이점이 있다.By doing so, the present invention has the advantage of automatically correcting the white balance of the original image by the image processor to implement the original color of the original image.

화이트 밸런스, 디지털 영상장치, 초점이 맞은 영역, 화소, 정규화  White Balance, Digital Imaging, Focused Area, Pixels, Normalization

Description

디지털 영상장치에서 화이트 밸런스 조절 방법 및 장치{Method and Apparatus for adjusting White Balance in a Digital Image Device}Method and Apparatus for Adjusting White Balance in Digital Imaging Device

도 1은 종래 기술에 따른 디지털 영상의 처리 흐름도1 is a flowchart of processing a digital image according to the prior art.

도 2는 본 발명의 실시예에 따른 디지털 영상의 처리 흐름도2 is a flowchart of processing a digital image according to an embodiment of the present invention.

도 3은 본 발명이 적용되는 디지털 영상장치의 블럭 구성도3 is a block diagram of a digital imaging apparatus to which the present invention is applied.

본 발명은 디지털 영상장치에 관한 것으로, 특히 상기 디지털 영상장치의 화이트 밸런스를 조절하는 방법 및 장치를 제공한다.The present invention relates to a digital imaging apparatus, and in particular, to a method and apparatus for adjusting white balance of the digital imaging apparatus.

화이트 밸런스(White Balance)란 광원에서 빨간색, 초록색, 푸른색의 상대적인 강도를 뜻한다. 사람의 눈으로 보는 빛은 항상 하얀 색으로 보여, 한 가지 색으로 이루어진 것으로 생각하지만, 실제로는 여러 가시광선이 합쳐진 것이다.White balance refers to the relative intensity of red, green, and blue in the light source. The light seen by the human eye is always seen as white, which is thought to consist of one color, but in reality, several visible rays are combined.

모든 물체는 물체 고유의 색에 그 물체를 비추는 광원의 색이 혼합되어 있다. Every object has its own color mixed with the color of the light source that illuminates it.

그러나 사람은 그 물체가 갖고 있는 색만을 볼 수 있을 뿐이다. But a person can only see the color of the object.

예를 들어서 사람의 눈은 같은 초록색의 나뭇잎을 아침이나 한 낮이나 해질녘에도 거의 같은 초록색으로 인지하여 나뭇잎의 색에 대해 부자연스러움을 느끼지 않지만, 상기 디지털 영상장치의 CCD(Charge Coupled Device)는 태양빛이나 실내등의 영향을 받아 시간에 따라 강하게 나타나는 색이 조금씩 차이가 나서 물체 자체의 색과 광원의 색이 혼합된 색을 받아들이고 또 그대로 표현한다. For example, the human eye perceives the same green leaves as almost the same green color in the morning, midday, or sunset, and does not feel unnatural about the color of the leaves, but the CCD (Charge Coupled Device) of the digital imaging device Under the influence of the light or the room, the color that appears strongly with time differs slightly, and the color of the object itself and the color of the light source are mixed and expressed as it is.

그러므로 동일한 피사체를 촬영하는 경우에도 옥외의 태양광 아래, 흐린 날, 옥내의 백색 램프의 아래, 형광조명등의 아래 등 여러가지 광원 조건에 따라 촬영된 이미지의 겉보기가 달라진다. Therefore, even when shooting the same subject, the apparent appearance of the captured image varies depending on various light source conditions such as under outdoor sunlight, cloudy days, indoor white lamps, and under fluorescent lights.

이러한 색의 차이는 상기 디지털 영상의 화이트 밸런스를 조절함으로서 보정될 수 있다.This color difference may be corrected by adjusting the white balance of the digital image.

화이트 밸런스를 조절한다는 것은 상기 디지털 영상장치로 촬영된 이미지 중 가장 밝은 부분이 흰색으로 표현되도록 빨간색, 초록색, 푸른색의 밝기를 조절하는 것으로 이 조절기능을 사용하면 일광용 표준 RGB 밸런스로부터 이탈된 광원을 보정할 수 있다. 이는 말 그대로 '흰색균형', 즉 흰색을 흰색답게 보이게 조절한다는 것인데, 상기 디지털 영상장치가 현장에서 빛을 통해 느끼고 받아들이는 색을 기억시켜 피사체의 색을 정확하게 표현시키기 위해 하는 작업이라고 할 수 있다.Adjusting the white balance adjusts the brightness of red, green, and blue so that the brightest part of the image taken by the digital imaging device is expressed in white. When using this control function, the light source is separated from the standard RGB balance for daylight. Can be corrected. This is literally 'white balance', that is, white is adjusted to make it look white, which can be said to be a task that the digital imaging apparatus accurately expresses the color of a subject by storing colors felt and accepted by light in the field.

이에 기존의 디지털 영상장치에서 화이트 밸런스 기능 구현은 전체 영역의 화소값들을 검출하여 평균값을 구하고, 상기 평균값의 색상 성분값이 동일한지 판단하여 저장하였다. Accordingly, in the conventional digital imaging apparatus, the white balance function is implemented to obtain an average value by detecting pixel values of the entire region, and to determine whether the color component values of the average value are the same and store the same.

하기 도 1에서 종래기술의 실시예에 따른 동작을 구체적으로 설명한다.In the following Figure 1 will be described in detail the operation according to the embodiment of the prior art.

도 1은, 종래 기술에 따른 디지털 영상의 화이트 밸런스 처리 흐름도이다.1 is a flowchart of a white balance process of a digital image according to the prior art.

상기 도 1을 참조하여 설명하면, 상기 디지털 영상장치는 (110)단계에서 피사체를 촬영하여 원본 이미지를 생성하고, (120)단계로 진행하여 자동 화이트 밸런스 모드가 설정 되어 있는지 판단한다. 여기서 수동 화이트 밸런스 모드로 설정되었으면 (140)단계로 진행하여 상기 원본 이미지를 상기 설정된 수동 화이트 밸런스 값으로 변환하여 저장한다. 하지만 자동 화이트 밸런스(Auto White Balance; AWB 라 도시함) 모드로 판단하면,(130)단계에서 상기 원본 이미지의 전체 영역 화소값들을 검출한다. (150)단계에서 상기 전체 영역 화소값들의 평균값을 계산하며, (160)단계에서 상기 평균값의 각 색상 성분 값이 동일한지 판단한다. 상기 평균값의 색상 성분값이 동일하지 않다면 (180)단계로 진행하여 상기 원본 이미지의 화소별 색상 성분값이 동일하도록 조절하며, 상기 화소별 색상 성분값이 동일하다면 (170)단계로 진행하여 상기 원본 이미지를 저장하고 종료한다.Referring to FIG. 1, the digital imaging apparatus photographs a subject in operation 110 to generate an original image, and proceeds to operation 120 to determine whether an automatic white balance mode is set. If the manual white balance mode is set, the process proceeds to step 140 where the original image is converted into the set manual white balance value and stored. However, if it is determined as an Auto White Balance (AWB) mode, in step 130, the pixel values of the entire area of the original image are detected. In operation 150, an average value of the entire area pixel values is calculated, and in operation 160, each color component value of the average value is determined to be the same. If the color component values of the average value are not the same, proceed to step 180 to adjust the color component values of each pixel of the original image to be the same, and if the color component values of each pixel are the same, proceed to step 170 Save the image and exit.

앞서 기술한 내용과 상기 기술한 종래기술을 적용시킨 상기 디지털 영상장치에서 상기 피사체 원래의 색이 잘 표현되도록 하려면 사용자의 경험에서 수동으로 화이트 밸런스를 맞추거나 초보자인 경우 사진을 여러 번 촬영해 화이트 밸런스를 맞추어 화이트밸런스를 직접 설정하는 작업을 해야하는 불편한 문제점이 있었다.In order to express the original color of the subject well in the digital imaging apparatus to which the foregoing description and the above-described prior art are applied, the white balance is manually adjusted in the user's experience or the photograph is taken several times in the case of a beginner. There was an inconvenient problem of having to set the white balance manually.

이러한 문제점을 해소하기 위해 창안된 본 발명은, 디지털 영상장치에서 광원에 영향 받은 원본 이미지의 화이트 밸런스를 조절하는 방법 및 장치를 제공한 다.The present invention devised to solve this problem provides a method and apparatus for adjusting the white balance of an original image affected by a light source in a digital imaging apparatus.

본 발명의 바람직한 실시예는, 상기 디지털 영상장치의 화이트 밸런스 조절방법에 있어서,In a preferred embodiment of the present invention, in the method for adjusting the white balance of the digital imaging apparatus,

피사체를 촬영하여 원본 이미지를 생성하는 과정과,Photographing the subject to create the original image,

상기 원본 이미지중 초점이 맞은 영역의 화소값들을 검출하는 과정과, Detecting pixel values of a focused area of the original image;

상기 검출된 화소값들을 이용하여, 상기 초점이 맞은 영역의 주요한 색상 성분을 강조하고 나머지 색상 성분들을 감소시켜주는 각 색상 성분별 정규화값들을 계산하는 과정과,Using the detected pixel values, calculating normalization values for each color component that emphasizes a main color component of the focused area and reduces other color components;

상기 원본 이미지의 각 화소별 색상 성분값들에 상기 각 색상 성분별 정규화 값들을 곱하여 보정된 이미지를 출력하는 과정을 포함함을 특징으로 한다.And outputting a corrected image by multiplying color component values of each pixel of the original image by normalization values of each color component.

본 발명의 장치는, 화이트 밸런스를 조절하는 상기 디지털 영상장치에 있어서,The device of the present invention is a digital imaging device for adjusting white balance,

피사체를 촬영하고 원본 이미지를 생성하는 이미지 센서부와,An image sensor unit for photographing a subject and generating an original image;

상기 원본 이미지중 초점이 맞은 영역의 화소값들을 검출하고, 상기 검출한 화소값들을 이용하여 상기 초점이 맞은 영역의 주요한 색상 성분을 강조하고 나머지 색상 성분들을 감소시켜주는 각 색상 성분별 정규화값들을 구해, 상기 원본 이미지와 곱하여 보정된 이미지를 출력하는 영상 처리부를 포함하여 구성된 것을 특징으로 한다.Detect pixel values of the focused region of the original image, and use the detected pixel values to obtain normalization values for each color component that emphasize the main color components of the focused region and reduce the remaining color components. And an image processor configured to output a corrected image by multiplying the original image.

전술한 바와 같은 내용은 당해 분야 통상의 지식을 가진 자는 후술되는 본 발명의 구체적인 설명으로 보다 잘 이해할 수 있도록 하기 위하여 본 발명의 특징 들 및 기술적인 장점들을 다소 넓게 약술한 것이다. The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that those skilled in the art may better understand the detailed description of the invention that follows.

본 발명의 청구범위의 주제를 형성하는 본 발명의 추가적인 특징들 및 장점들이 후술될 것이다. 당해 분야에서 통상의 지식을 가진 자는 본 발명의 동일한 목적들을 달성하기 위하여 다른 구조들을 변경하거나 설계하는 기초로서 발명의 개시된 개념 및 구체적인 실시예가 용이하게 사용될 수도 있다는 사실을 인식하여야 한다. 당해 분야에서 통상의 지식을 가진 자는 또한 발명과 균등한 구조들이 본 발명의 가장 넓은 형태의 사상 및 범위로부터 벗어나지 않는다는 사실을 인식하여야 한다. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. Those skilled in the art should recognize that the disclosed concepts and specific embodiments of the invention may be readily used as a basis for modifying or designing other structures for achieving the same purposes of the present invention. Those skilled in the art should also recognize that structures equivalent to the invention do not depart from the spirit and scope of the broadest form of the invention.

이하 본 발명의 바람직한 실시예들을 첨부한 도면을 참조하여 상세히 설명한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

또한 본 발명의 요지를 흐릴 수 있는 공지기능 및 구성에 대한 상세한 설명은 생략한다.In addition, detailed descriptions of well-known functions and configurations that may obscure the gist of the present invention will be omitted.

본 발명의 주요한 요지는 디지털 영상장치에서 자동모드로 화이트 밸런스 구현 시 원본 이미지를 보정하는 것이다.The main subject of the present invention is to correct the original image when the white balance is implemented in the automatic mode in the digital imaging apparatus.

상기 디지털 영상장치에서 촬영한 상기 원본 이미지중 특정영역의 화소값을 Src_raw 라 하면, 이는 하기 <수학식 1>과 같이 나타내어진다.If a pixel value of a specific region of the original image photographed by the digital imaging apparatus is Src_raw, it is expressed as Equation 1 below.

여기서 상기 특정영역이란, 상기 원본 이미지중 초점이 맞은 영역으로서 통상 상기 원본 이미지의 3~5% 정도가 되며, 수동 혹은 자동으로 설정될 수 있다.Here, the specific area is a focused area of the original image, which is generally about 3 to 5% of the original image, and may be set manually or automatically.

상기 화소값은 적색(Red), 녹색(Green), 청색(Blue) 의 성분값들로 이루어진다. The pixel value is composed of component values of red, green, and blue.

또한 상기 자동모드인 화이트 밸런스는 자동 화이트 밸런스, 즉 Auto White Balance 이며 약어로 AWB 라 표현한다.In addition, the automatic mode white balance is an automatic white balance, that is, Auto White Balance and is abbreviated AWB.

Src_raw = [R_raw G_raw B_raw]Src_raw = [R_raw G_raw B_raw]

여기서 R_raw, G_raw, B_raw 는 상기 디지털 영상장치의 이미지 센서가 생성한,초점이 맞은 영역의 각 화소별 적색(Red), 녹색(Green), 청색(Blue) 의 성분값들을 의미한다.Here, R_raw, G_raw, and B_raw mean red, green, and blue component values generated by the image sensor of the digital imaging apparatus for each pixel of the focused area.

상기 디지털 영상장치는 상기 초점이 맞은 영역의 화소별 평균값mean(Src_raw)=[R_mean G_mean B_mean] 을 구하고, 각 화소 값에서 상기 평균값을 빼서 차이값을 하기 <수학식 2>와 같이 구한다.The digital imaging apparatus obtains an average value mean (Src_raw) = [R_mean G_mean B_mean] for each pixel of the focused area, and obtains a difference value by subtracting the average value from each pixel value as shown in Equation 2 below.

Src_raw_temp = Src_raw - mean(Src_raw)Src_raw_temp = Src_raw-mean (Src_raw)

여기서 상기 Src_raw_temp 는 상기 차이값이 된다.Here, Src_raw_temp is the difference value.

그러면 색상 보정치는 원래의 화소값에 상기 차이값을 더하여 하기 <수학식 3>과 같이 계산된다.Then, the color correction value is calculated as shown in Equation 3 by adding the difference value to the original pixel value.

Src_raw_final = Src_raw_temp + Src_raw Src_raw_final = Src_raw_temp + Src_raw

여기서 Src_raw_final 은 상기 색상 보정치를 나타낸다.Where Src_raw_final represents the color correction value.

이와 같이, 상기 <수학식 2>에서 계산 된 화소의 차이값을 상기 초점이 맞은 영역의 원래 화소값과 더하면 상기 <수학식 3>에 의해 원래 화소값 중 평균색상에 비해 차이를 가지는 색상이 더욱 강조된다.As such, when the difference value of the pixel calculated by Equation 2 is added to the original pixel value of the focused region, the color having a difference compared to the average color among the original pixel values is further obtained by Equation 3 above. Is emphasized.

예를 들어 주로 붉은 색상인 이미지의 경우, 적색(Red) 에 해당하는 성분값이 평균값보다 높기 때문에, Src_raw_temp 의 적색(Red) 값이 양의 값을 가지게 되어 결과적으로 색상 보정치는 더욱 붉은 색상으로 변하게 된다.For example, in the case of an image which is mainly red, the component value corresponding to red is higher than the average value, so the red value of Src_raw_temp has a positive value, and as a result, the color correction value becomes more red. do.

이에 반해 녹색(Green), 청색(Blue) 에 해당하는 성분은 오히려 감소하게 되어 결과적으로 전체 이미지가 적색(Red) 값으로 강조된다. In contrast, the components corresponding to green and blue are rather reduced, resulting in the entire image being emphasized with a red value.

상기 <수학식 3>에서 계산된 색상 보정치 Src_raw_final 의 성분값들중에서 최대의 성분값을 구한 것이 max(Src_raw_final)이며, 이는 정규화 값 Var_final 을 구하기 위한 것으로, 각 성분별 정규화 값은 하기 <수학식 4>와 같이 구한다.Max (Src_raw_final) is obtained from the component values of the color correction value Src_raw_final calculated in Equation 3, and this is to obtain a normalization value Var_final, and the normalization value for each component is represented by Equation 4 below. Get>

Var_final(Red) = Src_raw_final(Red) / max(Src_raw_final)Var_final (Red) = Src_raw_final (Red) / max (Src_raw_final)

Var_final(Green) = Src_raw_final(Green) / max(Src_raw_final)Var_final (Green) = Src_raw_final (Green) / max (Src_raw_final)

Var_final(Blue) = Src_raw_final(Blue) / max(Src_raw_final)Var_final (Blue) = Src_raw_final (Blue) / max (Src_raw_final)

정규화는 최대값을 1로 만드는 것으로써, <수학식 4>에서는 각 화소의 색상보정치를 <수학식 3>에서 계산한 색상 보정치의 성분 값들 중에 최대성분 값으로 나누어, 상기 성분별 정규화 값 var_final(Red), var_final(Green), var_final(Blue) 을 정한다. 그러면 원본 이미지의 성분별 최종색상 보정치는 하기 <수학식 5>와 같이 구해진다.Normalization is to make the maximum value to 1, and in Equation 4, the color correction value of each pixel is divided by the maximum component value among the component values of the color correction value calculated in Equation 3, and the normalization value for each component var_final ( Red), var_final (Green), var_final (Blue). Then, the final color correction value for each component of the original image is obtained as shown in Equation 5 below.

Red_img_result = Red_img_source * var_final(Red)Red_img_result = Red_img_source * var_final (Red)

Green_img_result = Green_img_source * var_final(Green)Green_img_result = Green_img_source * var_final (Green)

Blue_img_result = Blue_img_source * var_final(Blue)Blue_img_result = Blue_img_source * var_final (Blue)

이와 같이, 상기 <수학식4>에서 구한 정규화값 var_final(Red), var_final(Green), var_final(Blue) 을 상기 원본 이미지의 화소값에 곱하여 최종색상 보정치를 구한다.Thus, the final color correction value is obtained by multiplying the normalized values var_final (Red), var_final (Green), and var_final (Blue) obtained by Equation 4 by the pixel values of the original image.

여기서 상기 Red_img_source, Green_img_source, Blue_img_source 는 상기 원본 이미지를 구성하는 각 화소별 색상 성분값이고 상기 Red_img_result, Green_img_result, Blue_img_result 는 상기 <수학식5>에서 계산된 최종 색상 보정치를 의미한다.Here, the Red_img_source, Green_img_source, and Blue_img_source are the color component values for each pixel constituting the original image, and the Red_img_result, Green_img_result, and Blue_img_result are the final color correction values calculated in Equation (5).

도 2는 본 발명의 바람직한 실시예에 따른 디지털 영상의 화이트 밸런스 처리 흐름도이다.2 is a flowchart of a white balance process of a digital image according to an exemplary embodiment of the present invention.

상기 도 2에서, 본 발명의 바람직한 실시예에 따른 상기 디지털 영상장치의 동작을 구체적으로 설명한다.2, the operation of the digital imaging apparatus according to the preferred embodiment of the present invention will be described in detail.

상기 도 2를 참조하면 상기 디지털 영상장치는 (200)단계에서 피사체를 촬영하여 원본 이미지를 생성하고, (210)단계로 진행하여 자동 화이트 밸런스(Auto White Balance; AWB 라 도시함) 모드가 설정되어 있는지 판단한다. 여기서 수동 화이트 밸런스 모드로 설정되었으면 (230)단계로 진행하여 상기 원본 이미지를 상기 설정된 수동 화이트 밸런스 값으로 변환하여 저장한다. 하지만 자동 화이트 밸런스 모드(Auto White Balance; AWB라 도시함)로 판단하면, (220)단계와 (240)단계에서 상기 원본 이미지 중에서 초점이 맞은 영역의 화소값들을 검출하여 평균값을 계산한다.Referring to FIG. 2, the digital imaging apparatus generates an original image by photographing a subject in operation 200, and proceeds to operation 210 to set an auto white balance mode. Determine if there is. If the manual white balance mode is set, the process proceeds to step 230 where the original image is converted into the set manual white balance value and stored. However, if it is determined as an auto white balance mode (shown as AWB), in step 220 and 240, pixel values of the focused region of the original image are detected to calculate an average value.

(250)단계에서는 상기 초점이 맞은 영역의 화소값들과 상기 평균값의 차이값들을 <수학식 2>와 같이 계산한다.In operation 250, the difference between the pixel values of the focused area and the average value is calculated as in Equation 2.

(260)단계는 상기 차이값들과 상기 초점이 맞은 영역의 화소값들과 합산하여 색상 보정치들을 <수학식 3>과 같이 계산한다.In operation 260, the color correction values are calculated by adding the difference values and the pixel values of the focused area as shown in Equation 3 below.

(270)단계는 상기 색상 보정치들을, <수학식 4>와 같이 상기 색상보정치들의 화소별 색상 성분값들을 상기 화소별 색상 성분값들중 최대 성분값으로 나누어 성분별 정규화값들을 결정한다. In operation 270, the normalization values for each component are determined by dividing the color component values of each of the color correction values by the maximum component value among the color component values of the pixel, as shown in Equation 4.

(280)단계는 상기 원본 이미지의 각 화소값에 상기 각 정규화 값을 곱하여 최종 색상 보정치들을 <수학식 5>와 같이 계산하여, 상기 최종색상 보정치들로 이루어지는 보정된 이미지를 출력한다.In operation 280, the pixel values of the original image are multiplied by the normalization values to calculate final color correction values as shown in Equation 5, and outputs a corrected image including the final color correction values.

(290)단계에서 상기 보정된 이미지는 최종적으로 메모리부에 저장되거나 디스플레이부에 나타내어진다.In operation 290, the corrected image is finally stored in the memory unit or displayed on the display unit.

상기 상기 디지털 영상장치의 상세한 구조는 도 3에 도시한 바와 같다.The detailed structure of the digital imaging apparatus is shown in FIG. 3.

도 3은 본 발명의 바람직한 실시예에 따른 자동 화이트 밸런스 보정 기능이 있는 상기 디지털 영상장치의 내부 구성도 이다. 도시한 바와 같이 상기 디지털 영상장치는 이미지 센서부(310), 색상 검출부(322)와 평균값 계산부(324), 색상보정치 계산부(326), 이미지 강조부(328)를 포함하는 영상 처리부(320), 메모리부 (330), 디스플레이부(340)로 구성된다. 여기서는 화이트 밸런스 보정기능을 위주로 상기 각 구성요소들의 동작을 설명한다.3 is an internal configuration diagram of the digital imaging apparatus having an automatic white balance correction function according to an exemplary embodiment of the present invention. As illustrated, the digital imaging apparatus includes an image processor 320, a color detector 322, an average value calculator 324, a color correction value calculator 326, and an image emphasis unit 328. ), A memory unit 330, and a display unit 340. Herein, operations of the above components will be described based on the white balance correction function.

도 3에 도시된 이미지 센서부(310)가 피사체를 촬영하여 원본 이미지를 생성하면, 상기 영상 처리부(320)내부의 색상 검출부(322)는 상기 원본 이미지중 초점이 맞은 영역의 화소값들을 검출한다. 상기 초점이 맞은 영역은 상기 이미지 센서부(310)가 지시하며, 상기 이미지 센서부(310)는 상기 원본 이미지와 함께, 상기 원본 이미지중 초점이 맞은 영역에 대한 정보를 상기 색상검출부(322)에 전달한다. When the image sensor 310 shown in FIG. 3 photographs a subject to generate an original image, the color detector 322 inside the image processor 320 detects pixel values of a focused area of the original image. . The image sensor unit 310 indicates the focused area, and the image sensor unit 310 transmits information on the focused area of the original image to the color detection unit 322 together with the original image. To pass.

평균값 계산부(324)에서는 상기 검출된 화소값들의 평균값을 구하며, 색상보정치 계산부(326)에서 상기 초점이 맞은 영역의 화소값들과 상기 평균값과의 차이값들을 계산하고, 상기 검출된 화소값들에 상기 차이값들을 더하여 색상 보정치들을 계산한다. 이미지 강조부(328)에서 상기 색상 보정치의 성분값들중 최대 성분 값으로 상기 색상 보정치들의 각 성분 값들을 나누어 성분별 정규화 값을 결정하고 상기 원본 이미지의 각 화소값에 상기 성분별 정규화 값을 곱하여 최종 색상 보정치들로 이루어지는 보정된 이미지를 출력한다.The average value calculator 324 obtains an average value of the detected pixel values, and a color correction value calculator 326 calculates differences between pixel values of the focused area and the average value, and detects the detected pixel values. Color difference values are calculated by adding the difference values. In the image emphasis unit 328, the component normalization value is determined by dividing each component value of the color correction values by the maximum component value among the component values of the color correction value, and multiplying each pixel value of the original image by the component normalization value. A corrected image consisting of the final color correction values is output.

상기 보정된 이미지는 사용자의 조작에 의해, 메모리부(330)에 저장되거나 디스플레이부(340)에 나타내어진다.The corrected image is stored in the memory unit 330 or displayed on the display unit 340 by a user's manipulation.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 변형의 예로서 본 명세서에서는 상기 디지털 영상장치의 예만을 설명하였으나, 본 발명은 큰 변형없이 디지털 영상장치인 디지털 카메라나 디지털 캠코더 및 디지 털영상모듈을 포함하는 장치 등에 용이하게 적용이 가능하다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. As an example of the modification, only the example of the digital imaging device has been described, but the present invention can be easily applied to a device including a digital camera, a digital camcorder, and a digital image module, which is a digital imaging device, without significant modification.

그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the scope of the following claims, but also by those equivalent to the scope of the claims.

본 발명은 디지털 영상장치가 자동 화이트 밸런스를 구현 시 원본 이미지가 빛의 광원에 영향 받아 이미지의 색이 변하더라도 원래의 색으로 보정해 주기위한 알고리즘을 적용하여 상기 화이트 밸런스를 보정하는 것이 특징이다. The present invention is characterized in that the white balance is corrected by applying an algorithm for correcting the original color even if the original image is changed by the light source of light when the digital imaging apparatus implements automatic white balance.

이와 같은 본 발명은 피사체 촬영에 따른 원본 이미지의 화이트 밸런스를 영상 처리부에서 자동으로 보정하여 원본 이미지의 원래 색을 구현할 수 있는 이점이 있다.As described above, the present invention has an advantage of automatically correcting the white balance of the original image according to the photographing of the subject by the image processor to implement the original color of the original image.

Claims (6)

디지털 영상장치의 화이트 밸런스 조절방법에 있어서,In the white balance adjustment method of the digital imaging device, 피사체를 촬영하여 원본 이미지를 생성하는 과정과,Photographing the subject to create the original image, 상기 원본 이미지중 초점이 맞은 영역의 화소값들을 검출하는 과정과, Detecting pixel values of a focused area of the original image; 상기 검출된 화소값들을 이용하여, 상기 초점이 맞은 영역의 주요한 색상성분을 강조하고 나머지 색상성분들을 감소시켜주는 각 색상성분별 정규화값들을 계산하는 과정과,Using the detected pixel values, calculating normalization values for each color component for emphasizing the main color components of the focused region and reducing the remaining color components; 상기 원본 이미지의 각 화소별 색상 성분값들에 상기 각 색상 성분별 정규화 값들을 곱하여 보정된 이미지를 출력하는 과정을 포함함을 특징으로 하는 화이트 밸런스 조절방법.And multiplying the color component values of each pixel of the original image by the normalization values of each color component to output a corrected image. 제 1항에 있어서, 상기 색상 성분별 정규화 값들을 계산하는 과정은The process of claim 1, wherein the normalization values for each color component are calculated. 상기 초점이 맞은 영역에서 검출된 화소값들의 평균값을 계산하는 과정과,Calculating an average value of pixel values detected in the focused area; 상기 초점이 맞은 영역의 화소값들과 상기 평균값의 차이값들을 계산하는 과정과,Calculating difference values between pixel values of the focused area and the average value; 상기 차이값들과 상기 초점이 맞은 영역의 화소값들을 합하여 각 화소별로 색상 보정치들을 구하는 과정과,Obtaining color correction values for each pixel by adding the difference values and pixel values of the focused region; 상기 색상 보정치들의 화소별 색상 성분값들을 상기 화소별 색상 성분값들중 최대 성분값으로 나누어, 상기 색상 성분별 정규화값들을 구하는 과정을 포함함을 특징으로 하는 화이트 밸런스 조절 방법.And dividing the color component values of each pixel of the color correction values into the maximum component values of the color component values of each pixel to obtain normalization values of the color components. 제 1항에 있어서, 상기 보정된 이미지를 메모리부에 저장하거나, 디스플레이부에 나타내는 과정을 더 포함함을 특징으로 하는 화이트 밸런스 조절 방법.The method of claim 1, further comprising storing the corrected image on a memory unit or displaying the corrected image on a display unit. 화이트 밸런스를 조절하는 디지털 영상장치에 있어서,In the digital imaging device for adjusting the white balance, 피사체를 촬영하고 원본 이미지를 생성하는 이미지 센서부와,An image sensor unit for photographing a subject and generating an original image; 상기 원본 이미지중 초점이 맞은 영역의 화소값들을 검출하고, 상기 검출한 화소값들을 이용하여, 상기 초점이 맞은 영역의 주요한 색상 성분을 강조하고 나머지 색상 성분들을 감소시켜주는 각 색상 성분별 정규화값들을 구해, 상기 색상 성분별 정규화값들을 상기 원본 이미지의 각 화소별 색상 성분값들과 곱하여 보정된 이미지를 출력하는 영상 처리부를 포함하여 구성된 것을 특징으로 하는 디지털 영상 장치. The pixel values of the focused region of the original image are detected, and normalized values for each color component are used to emphasize the main color components of the focused region and reduce the remaining color components using the detected pixel values. And an image processor for outputting a corrected image by multiplying the normalized values of the color components by the color component values of each pixel of the original image. 제4항에 있어서, 상기 영상 처리부는,The method of claim 4, wherein the image processor, 상기 원본 이미지의 초점이 맞은 영역의 화소값들을 검출하는 색상 검출부 와,A color detector which detects pixel values of a focused area of the original image; 상기 화소값들의 평균을 구하는 평균값 계산부와,An average value calculator for calculating an average of the pixel values; 상기 초점이 맞은 영역의 화소값들과 상기 화소의 평균값과의 차이값들을 계산하고, 상기 차이값들과 상기 초점이 맞은 영역의 화소값들을 합하여 각 화소별로 색상 보정치들을 구하는 색상 보정치 계산부와,A color correction value calculator configured to calculate difference values between the pixel values of the focused area and the average value of the pixel, and to calculate color correction values for each pixel by adding the difference values and pixel values of the focused area; 상기 색상 보정치의 화소별 색상 성분값들을 상기 화소별 색상 성분 값들중 최대 색상 성분 값으로 나누어 색상 성분별 정규화 값들을 결정하고, 상기 원본 이미지의 각 화소별 색상 성분 값들에 상기 색상 성분별 정규화 값들을 곱하여 보정된 이The color component values of each pixel of the color correction value are divided into the maximum color component values of the pixel component values to determine normalization values for each color component, and the normalization values for each color component are applied to the color component values for each pixel of the original image. Multiplied by 미지를 출력하는 이미지 강조부를 포함하여 구성된 것을 특징으로 하는 디지털 영상 장치.And an image emphasis unit for outputting an unknown image. 제 4항에 있어서, 상기 영상 처리부에서 보정되어 출력된 이미지를 저장하는 메모리부나 화면에 나타내주는 디스플레이부를 더 포함하여 구성된 것을 특징으로 하는 디지털 영상 장치.The digital imaging apparatus according to claim 4, further comprising a memory unit for storing the image corrected and output by the image processor or a display unit for displaying on the screen.
KR1020050109542A 2005-11-16 2005-11-16 Method and Apparatus for adjusting White Balance in a Digital Image Device KR101194083B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050109542A KR101194083B1 (en) 2005-11-16 2005-11-16 Method and Apparatus for adjusting White Balance in a Digital Image Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050109542A KR101194083B1 (en) 2005-11-16 2005-11-16 Method and Apparatus for adjusting White Balance in a Digital Image Device

Publications (2)

Publication Number Publication Date
KR20070052018A true KR20070052018A (en) 2007-05-21
KR101194083B1 KR101194083B1 (en) 2012-10-24

Family

ID=38274878

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050109542A KR101194083B1 (en) 2005-11-16 2005-11-16 Method and Apparatus for adjusting White Balance in a Digital Image Device

Country Status (1)

Country Link
KR (1) KR101194083B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016017906A1 (en) * 2014-07-31 2016-02-04 삼성전자주식회사 Display device, display correction device, display correction system, and display correction method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5442408A (en) 1989-11-17 1995-08-15 Sanyo Electric Co., Ltd. White balance adjusting apparatus for automatically adjusting white balance in response to luminance information signal and color information signal obtained from image sensing device
JP4182566B2 (en) 1998-08-24 2008-11-19 株式会社ニコン Digital camera and computer-readable recording medium
JP2001136539A (en) 1999-11-04 2001-05-18 Nikon Corp Electronic camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016017906A1 (en) * 2014-07-31 2016-02-04 삼성전자주식회사 Display device, display correction device, display correction system, and display correction method
GB2543456A (en) * 2014-07-31 2017-04-19 Samsung Electronics Co Ltd Display device, display correction device, display correction system, and display correction method
GB2543456B (en) * 2014-07-31 2020-12-16 Samsung Electronics Co Ltd Display apparatus, display correction apparatus, display correction system and display correction method

Also Published As

Publication number Publication date
KR101194083B1 (en) 2012-10-24

Similar Documents

Publication Publication Date Title
US11503219B2 (en) Image processing apparatus, image capture apparatus, and control method for adding an effect of a virtual light source to a subject
JP5171434B2 (en) Imaging apparatus, imaging method, program, and integrated circuit
EP2426928B1 (en) Image processing apparatus, image processing method and program
US8334914B2 (en) Gradation correcting apparatus, and recording medium storing a program recorded therein
US9443323B2 (en) Image processing apparatus, image processing method and recording medium
US20020106206A1 (en) Image-capturing device
JP2002027491A (en) Image input unit, white balance adjusting method, and computer readable recording medium storing program for executing the method
KR102369148B1 (en) Image capture method and system
JP6381404B2 (en) Image processing apparatus and method, and imaging apparatus
JP2002232906A (en) White balance controller
US7355611B2 (en) Method and arrangement for improving image quality on a display of an imaging device
JP7071084B2 (en) Image processing equipment and image processing methods, programs, storage media
JP6904788B2 (en) Image processing equipment, image processing methods, and programs
JP2021128791A (en) Image processing apparatus, image processing method, and program
JP7307541B2 (en) IMAGE PROCESSING DEVICE, IMAGING DEVICE, IMAGE PROCESSING METHOD, AND PROGRAM
JP5487581B2 (en) Image processing apparatus, image processing method, program, and imaging apparatus
JP2010091596A (en) Display device, image capturing apparatus and projector
JP2001054014A (en) Electronic camera
KR101194083B1 (en) Method and Apparatus for adjusting White Balance in a Digital Image Device
JP5335964B2 (en) Imaging apparatus and control method thereof
JP4857856B2 (en) Electronic camera having saturation adjustment function and image processing program
JP6725105B2 (en) Imaging device and image processing method
JP5351438B2 (en) Display control device
JP7462464B2 (en) Image processing device and method, program, and storage medium
JP2015233338A (en) Display device, imaging device, and projector

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: 20150925

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160929

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20170927

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20181017

Year of fee payment: 7