KR20100019222A - Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof - Google Patents

Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof Download PDF

Info

Publication number
KR20100019222A
KR20100019222A KR1020080078143A KR20080078143A KR20100019222A KR 20100019222 A KR20100019222 A KR 20100019222A KR 1020080078143 A KR1020080078143 A KR 1020080078143A KR 20080078143 A KR20080078143 A KR 20080078143A KR 20100019222 A KR20100019222 A KR 20100019222A
Authority
KR
South Korea
Prior art keywords
color temperature
coefficient value
white balance
awb
light source
Prior art date
Application number
KR1020080078143A
Other languages
Korean (ko)
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 KR1020080078143A priority Critical patent/KR20100019222A/en
Publication of KR20100019222A publication Critical patent/KR20100019222A/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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/60Radiation pyrometry, e.g. infrared or optical thermometry using determination of colour temperature

Landscapes

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

Abstract

PURPOSE: An automatic white balance adjusting method, a device thereof, and a digital photographing device using the same are provided to enable white balance according to the color temperature of an external light source. CONSTITUTION: A digital signal processor(320) controls the white balance of an input image based on an AWB(Automatic White Balance) coefficient value. The digital signal processor comprises a mapping table(323), a color temperature mapping part(322) and an AWB coefficient value decision part(324). The mapping table stores the AWB coefficient value corresponding to the color temperature of the predetermined light source. The color temperature mapping part maps the AWB coefficient value corresponding to the color temperature' with reference to the mapping table. According to the mapping result of the color temperature mapping part, the AWB coefficient value decision part decides the AWB coefficient value.

Description

광센서를 이용한 자동 화이트 밸런스 조절 방법 및 장치, 및 이를 이용한 디지털 촬영 장치{Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof} Method and apparatus for controlling automatic white balance using an optical sensor and a digital photographing apparatus using the same

본 발명은 자동 화이트 밸런스 조절 방법 및 장치에 관한 것으로, 더 상세하게는 광센서를 이용한 자동 화이트 밸런스 조절 방법 및 장치, 이를 이용한 디지털 촬영 장치에 관한 것이다.The present invention relates to an automatic white balance adjusting method and apparatus, and more particularly, to an automatic white balance adjusting method and apparatus using an optical sensor, and a digital photographing apparatus using the same.

일반적으로 인간의 눈에는 어떠한 광원(예를 들면, 태양 광, 형광등, 백열등 등)하에서도 흰색은 흰색으로 느껴지지만 카메라의 촬상관을 통하여 보면 광원에 따라 빨갛게 되거나 푸르게 되거나 한다. 이는 광원의 색 온도 때문인데 색 온도가 높으면 푸른색 계통이 되고 낮으면 붉은색 계통의 색상이 되므로 올바른 색상을 재현할 수 없게 된다. 따라서 영상 처리장치는 일반적으로 Red, Green, Blue (R, G, B) 세 가지 색의 혼합으로 최종 원하는 영상을 표시하도록 하는 데, 이때 화면에 표시되는 색상이 맞지 않을 경우 사물의 원래의 자연 색이 아닌 변형된 색이 표시되어 인간의 시각 특성을 흐리게 하며, 영상출력장치 자체의 품질 저하의 중대한 결점으로 인지될 수 있다.In general, the human eye feels white under any light source (for example, sunlight, fluorescent light, incandescent light, etc.) but becomes red or blue depending on the light source when viewed through a camera's image tube. This is due to the color temperature of the light source, and high color temperature results in a blue color, and low color results in a red color. Therefore, the image processing device generally displays the final desired image by mixing three colors of red, green, and blue (R, G, B), and when the colors on the screen do not match, the original natural color of the object In addition, the deformed color is displayed to blur the visual characteristics of the human, and may be recognized as a significant shortcoming of the deterioration of the image output device itself.

어떤 광원 하에서 흰 피사체를 희게 재현되도록 조정하면 다른 색도 바르게 재현될 수 있는데, 이러한 조정을 화이트밸런스 조정이라고 한다.If you adjust a white subject to appear white under a certain light source, other colors can also be reproduced correctly. This adjustment is called white balance adjustment.

일반적으로 여러 광원의 서로 다른 색 온도로 인해 야기되는 같은 색의 차이를 보상하기 위해 대부분의 영상장치, 예를 들면 카메라, 캠코더 등에서 자동 화이트 밸런스(AWB : Automatic White Balance)라는 방법을 사용한다. In general, in order to compensate for the same color difference caused by different color temperatures of different light sources, a method called automatic white balance (AWB) is used in most imaging devices, for example, a camera and a camcorder.

자동 화이트 밸런스 방법은 광원의 변동에 상관없이 화면의 색 평균치를 화이트로 가정하고 색 평균치를 화이트로 이동하는 것을 의미한다.The automatic white balance method means that the color average value of the screen is assumed to be white and the color average value is shifted to white regardless of a change in the light source.

종래의 자동 화이트 밸런스 방법은 이미지 센서를 통하여 생성된 화상 데이터를 색 신호(R,G,B)로 변환하고, 색 신호에서 R과B의 이득을 조절한다. 그리고 이 조절된 데이터를 휘도(Y) 및 색차 신호(Cr,Cb)로 컬러 영역 변환시키고, 한 화면의 색차 신호를 적분하여 그 평균값을 추출하면 이 평균값이 화이트값이라고 가정을 한다. 외부 광원 등의 변화에 의해 현재 추출된 화이트 값에서 변하게 되면 R과 B의 변화된 이득을 산출하고, 그 변화분에 대한 R과 B의 이득을 조절하여 줌으로써 화이트 밸런스를 조정하게 된다. 따라서, 그 평균값을 화이트값, 즉 Cr축과 Cb축의 원점으로 옮기기 위해서 R과 B에 대한 이득을 조절하여 색차 신호에 대한 평균값을 원점으로 이동하게 한다. The conventional automatic white balance method converts image data generated through an image sensor into color signals R, G, and B, and adjusts gains of R and B in the color signals. When the adjusted data is converted into a color gamut by the luminance Y and the color difference signals Cr and Cb, the color difference signal of one screen is integrated and the average value is extracted, and this average value is assumed to be a white value. When the white value is changed by the change of the external light source, the calculated gain of R and B is calculated, and the white balance is adjusted by adjusting the gain of R and B for the change. Therefore, in order to shift the average value to the white value, that is, the origin of the Cr and Cb axes, the gain for R and B is adjusted to move the average value for the color difference signal to the origin.

하지만, 종래의 자동 화이트 밸런스 방법은 외부 광원의 변화에 따른 AWB 계수를 지정하거나 또는 광원 변화에 반응하여 동작하는 픽셀을 비교하여 AWB 계수를 변화시킴으로써, 정확한 광원 변화를 반영하기 힘들었고, 각각의 픽셀을 비교함으로써 계산량이 많다는 문제점이 있었다. However, in the conventional automatic white balance method, it is difficult to accurately reflect the change in the light source by specifying the AWB coefficient according to the change of the external light source or by changing the AWB coefficient by comparing the pixels operating in response to the light source change. There was a problem that the amount of calculation was large by comparison.

본 발명은 전술한 종래의 자동 화이트 밸런스 방법의 문제점을 해결하기 위해 안출된 것으로, 외부 광원의 색 온도에 따른 화이트 밸런스를 구현함으로써 정확한 AWB 성능을 가지는 광센서를 이용한 자동 화이트 밸런스 조절 방법 및 장치를 제공하는 데 목적이 있다.The present invention has been made to solve the above problems of the conventional automatic white balance method, by implementing a white balance according to the color temperature of the external light source, an automatic white balance adjustment method and apparatus using an optical sensor having accurate AWB performance The purpose is to provide.

또한, 이를 이용한 디지털 촬영 장치를 제공하는 데 다른 목적이 있다.Another object is to provide a digital photographing apparatus using the same.

상기 기술적 과제를 해결하기 위한, 본 발명의 일 실시 예에 따른 광센서를 이용한 자동 화이트 밸런스 조절 방법은 소정 광원의 색 온도를 상기 광센서를 이용하여 검출하는 단계; 색 온도에 상응하는 AWB 계수 값을 저장한 맵핑 테이블을 참조하여 상기 검출한 색 온도에 상응하는 AWB 계수 값을 맵핑하는 단계; 및 상기 맵핑 결과에 따른 AWB 계수 값을 결정하고, 상기 결정한 AWB 계수 값을 기초로 입력 이미지의 화이트 밸런스를 조절하는 단계를 포함하여 이루어진다.In order to solve the above technical problem, the automatic white balance adjusting method using an optical sensor according to an embodiment of the present invention comprises the steps of detecting the color temperature of a predetermined light source using the optical sensor; Mapping AWB coefficient values corresponding to the detected color temperature with reference to a mapping table storing AWB coefficient values corresponding to color temperatures; And determining an AWB coefficient value according to the mapping result and adjusting a white balance of the input image based on the determined AWB coefficient value.

바람직하게, 상기 방법은 상기 광원의 파장에 따른 저항값을 입력받아 A/D변환하는 단계를 더 포함하는 것을 특징으로 한다.Preferably, the method further comprises the step of receiving A / D conversion of the resistance value according to the wavelength of the light source.

상기 다른 기술적 과제를 달성하기 위한, 본 발명의 다른 실시 예에 따른 광센서를 이용한 자동 화이트 밸런스 조절 장치는 AWB 계수 값을 기초로 입력 이미지의 화이트 밸런스를 조절하는 디지털 신호 처리부를 포함하고,In order to achieve the above technical problem, the automatic white balance adjusting apparatus using the optical sensor according to another embodiment of the present invention includes a digital signal processor for adjusting the white balance of the input image based on the AWB coefficient value,

상기 디지털 신호 처리부는 소정 광원의 색 온도에 상응하는 AWB 계수 값을 저장하는 맵핑 테이블; 상기 광센서로부터 소정 광원의 색 온도를 입력받아 상기 맵핑 테이블을 참조하여 상기 검출한 색 온도에 상응하는 AWB 계수 값을 맵핑하는 색 온도 맵핑부; 및 상기 색 온도 맵핑부의 맵핑 결과에 따라 AWB 계수 값을 결정하는 AWB 계수 값 결정부를 포함한다.The digital signal processing unit may include: a mapping table for storing AWB coefficient values corresponding to color temperatures of predetermined light sources; A color temperature mapping unit configured to receive a color temperature of a predetermined light source from the optical sensor and map an AWB coefficient value corresponding to the detected color temperature with reference to the mapping table; And an AWB coefficient value determination unit that determines an AWB coefficient value according to a mapping result of the color temperature mapping unit.

바람직하게, 상기 디지털 신호 처리부는 상기 광원의 파장에 따른 저항값을 입력받아 A/D변환하여 상기 색 온도 맵핑부에 제공하는 A/D변환부를 더 포함하는 것을 특징으로 한다.Preferably, the digital signal processing unit further includes an A / D conversion unit which receives the resistance value according to the wavelength of the light source and performs A / D conversion to provide the color temperature mapping unit.

상기 또 다른 기술적 과제를 달성하기 위한, 본 발명의 또 다른 실시 예에 다른 자동 화이트 밸런스 기능을 구비한 디지털 촬영 장치는 소정의 광원의 색 온도를 검출하는 색 온도 검출부; 상기 색 온도 검출부로부터 검출된 색 온도에 상응하는 AWB 계수 값을 저장한 맵핑 테이블을 참조하여 상기 검출한 색 온도에 상응하는 AWB 계수 값을 맵핑하고, 상기 맵핑 결과에 따른 AWB 계수 값을 결정하는 디지털 신호 처리부; 및 상기 디지털 신호 처리부로부터 출력된 AWB 계수 값을 이용하여 이미지 센서로부터 출력된 이미지의 화이트 밸런스를 조절하는 자동 이득 조절부를 포함한다.According to another aspect of the present invention, there is provided a digital photographing apparatus having an automatic white balance function, the color temperature detecting unit detecting a color temperature of a predetermined light source; The AWB coefficient value corresponding to the detected color temperature is mapped with reference to a mapping table storing the AWB coefficient value corresponding to the color temperature detected by the color temperature detection unit, and the digital value determines the AWB coefficient value according to the mapping result. A signal processor; And an automatic gain adjuster for adjusting a white balance of an image output from the image sensor by using the AWB coefficient value output from the digital signal processor.

바람직하게, 상기 색 온도 검출부는 광센서를 포함하는 것을 특징으로 한다.Preferably, the color temperature detection unit is characterized in that it comprises an optical sensor.

바람직하게, 상기 디지털 신호 처리부는 상기 광센서로부터 상기 광원의 파장에 따른 저항값을 입력받아 A/D변환하고, 상기 맵핑 테이블은 상기 A/D변환된 저항값에 따른 AWB 계수 값을 저장하는 것을 특징으로 한다.Preferably, the digital signal processing unit receives the resistance value according to the wavelength of the light source from the optical sensor and performs A / D conversion, and the mapping table stores the AWB coefficient value according to the A / D converted resistance value. It features.

본 발명의 일 실시 예에 따른 광센서를 이용한 자동 화이트 밸런스 조절 방법은 외부 광원의 색 온도를 검출하여 검출한 색 온도에 따른 화이트 밸런스를 구현함으로써 정확한 AWB 성능을 얻을 수 있다.The automatic white balance adjustment method using the optical sensor according to an embodiment of the present invention can obtain accurate AWB performance by implementing the white balance according to the detected color temperature by detecting the color temperature of the external light source.

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시 예들을 상세히 설명한다. 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 수 있다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts may be omitted so as not to distract from the gist of the present invention.

또한, 이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 본 발명을 가장 적절하게 표현할 수 있도록 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 한다. In addition, terms and words used in the following description and claims should not be construed to be limited to ordinary or dictionary meanings, but are to be construed in a manner consistent with the technical idea of the present invention As well as the concept.

도 1은 종래기술에 따른 자동 화이트 밸런스 조절 장치의 개략적인 블록도이다.1 is a schematic block diagram of an automatic white balance adjusting device according to the prior art.

도 1은 종래의 동영상 카메라의 구조를 도시한 것으로, 종래의 동영상 카메라는, 피사체의 영상을 받아 전기적인 신호로 바꾸는 신호 입력부(10), 전기적인 신호를 인가받아 샘플링하여 디지털 신호로 바꾸는 아날로그-디지털 변환부, 디지털 변환된 각각의 적색, 녹색, 청색 신호를 하나의 프레임으로 구성하고, 감마 보정을 하는 비디오 신호처리부(30), 비디오 신호처리부의 출력 프레임에 응답하여, 자동 화이트 밸런스 계수를 구하고 비디오 신호처리부(30)로 계수 값을 피드백하는 AWB 컨트롤부(40) 및 비디오 신호처리부(30)의 출력에 응답하여 사용하는 디스플레이 장치에 맞도록 신호를 변화시키고, 디스플레이 장치에 출력하는 영상 출력부(50)로 구성된다.1 is a view illustrating a structure of a conventional video camera. The conventional video camera includes a signal input unit 10 that receives an image of a subject and converts the image into an electrical signal, and converts an analog signal into a digital signal. The digital conversion unit, each of the digitally converted red, green, and blue signals is composed of one frame, and the automatic white balance coefficient is obtained in response to the output frames of the video signal processing unit 30 and the video signal processing unit for gamma correction. In response to the output of the AWB control unit 40 and the video signal processing unit 30 which feeds back the coefficient value to the video signal processing unit 30, an image output unit which changes a signal to match the display device to be used and outputs it to the display device. It consists of 50.

먼저 렌즈를 통과한 피사체의 영상신호가 이미지 센서로 인가되어 전기적인 신호로 바뀌게 된다. 각각의 이미지 센서는 적색, 또는 녹색, 또는 청색중 어느 한가지의 색 신호만을 인식한다. 다음으로, 색 신호들은 샘플링 과정을 거쳐 아날로그-디지털 변환을 하고, 비디오 신호 처리부(30)로 인가되어 각각의 색신호들은 하나의 프레임을 이룬다. 또한 비디오 신호 처리부(30)에서 감마 보정을 하여 비디오 신호를 디스플레이할 때 발생하는 왜곡을 보정한다. 다음으로, 비디오 신호 처리부(30)의 출력에 응답하는 AWB 컨트롤부(40)에서 비디오 신호 처리부(30)의 출력에 포함되어 있는 적색, 녹색, 청색의 분포를 비교하여 화이트 밸런스 계수를 생성하여 다시 비디오 신호 처리부(30)로 피드백하여 영상신호를 교정한다.First, the image signal of the subject passing through the lens is applied to the image sensor to be converted into an electrical signal. Each image sensor recognizes only a color signal of either red, green, or blue. Next, the color signals are subjected to analog-to-digital conversion through a sampling process, and are applied to the video signal processor 30 to form each frame. In addition, the video signal processing unit 30 performs gamma correction to correct distortion generated when displaying the video signal. Next, the AWB control unit 40 corresponding to the output of the video signal processing unit 30 compares the distributions of red, green, and blue included in the output of the video signal processing unit 30 to generate a white balance coefficient and again. The image signal is corrected by feeding back to the video signal processor 30.

도 2는 다른 종래 기술에 따른 자동 화이트 밸런스 조절 장치의 개략적인 블록도이다.2 is a schematic block diagram of another automatic white balance adjustment device according to the related art.

도 2에 도시된 자동 화이트 밸런스 회로는, 광원의 변화에 응답하여 동작하는 픽셀 비교수단(60), 픽셀 비교수단(60)의 출력에 응답하여 오토 화이트 밸런스 동작의 활성화 여부를 판단하는 오토 화이트 밸런스 선택수단(70), 오토 화이트 밸런스 선택수단의 출력에 응답하여 오토 화이트 밸런스 계수를 생성하는 계수 결정 수단(80) 및 오토 화이트 밸런스 선택수단의 출력에 응답하여 계수 결정수단의 출 력의 사용 여부를 결정하는 계수 출력수단(90)을 포함하여 이루어진다.The automatic white balance circuit shown in FIG. 2 is configured to determine whether the auto white balance operation is activated in response to the output of the pixel comparing means 60 and the pixel comparing means 60 operating in response to the change of the light source. Whether to use the output of the coefficient determination means in response to the output of the selection means 70, the coefficient determination means 80 for generating the auto white balance coefficient in response to the output of the auto white balance selection means, and And a coefficient output means 90 for determining.

여기서, 오토 화이트 밸런스 선택수단(70)이 활성화되었을 때, 제1픽셀 비교수단과 제2픽셀 비교수단을 지나온 영상 데이터에 응답하여 계수 결정수단(80)에서 AWB 계수를 결정하게 된다. 계수 결정수단(80)에서 결정된 계수 값은 멀티플렉서를 지나 계수 레지스터에 저장되어, 비디오 신호 처리 수단으로 피드백되어 현재의 영상 프레임에 대해서 컬러 값을 조정한 후, 출력 수단을 통해 디스플레이 장치에 맞도록 신호를 변환하여 출력하게 된다.Here, when the auto white balance selecting means 70 is activated, the coefficient determining means 80 determines the AWB coefficient in response to the image data passing through the first pixel comparing means and the second pixel comparing means. The coefficient value determined by the coefficient determining means 80 is stored in the coefficient register after the multiplexer, fed back to the video signal processing means to adjust the color value for the current image frame, and then through the output means to fit the display device. Will be converted and output.

도 3은 본 발명의 일 실시 예에 따른 광원 변화에 따른 자동 화이트 밸런스 조절 장치(300)를 포함한 디지털 촬영 장치의 개략적인 블록도이다.3 is a schematic block diagram of a digital photographing apparatus including an automatic white balance adjusting device 300 according to a change in a light source according to an exemplary embodiment.

도 3을 참조하면, 디지털 촬영 장치는 이미지 입력부(100), 자동 이득 조절부(200), 자동 화이트 밸런스 조절 장치(300) 및 디스플레이부(400)를 포함한다. 이미지 입력부(100)는 렌즈부(110)와 이미지 센서(120)를 포함하고, 자동 화이트 밸런스 조절 장치(300)는 색 온도 검출부(310)와 디지털 신호 처리부(320)를 포함한다.Referring to FIG. 3, the digital photographing apparatus includes an image input unit 100, an automatic gain adjuster 200, an automatic white balance adjuster 300, and a display 400. The image input unit 100 includes a lens unit 110 and an image sensor 120, and the automatic white balance adjusting device 300 includes a color temperature detector 310 and a digital signal processor 320.

렌즈부(110)는 피사체의 배율을 확대 및 축소하는 줌 렌즈(미도시), 피사체의 포커스를 맞추는 포커스 렌즈(미도시), 광량을 조정하는 조리개(미도시) 등을 구비하여 외부 광원으로부터 빛을 받아 영상을 처리한다. 이미지 센서(120)는 촬영 소자로 사용되며, 렌즈부(110)를 통해 입력되는 광량을 축적하고, 그 축적된 광량에 따라 렌즈부(110)에서 촬영한 영상을 전기적인 신호로 광전변환한다. 여기서, 이미지 센서(120)는 CCD(Charge Coupled Device) 또는 CIS(Complementary Metal Oxide Semiconductor Image Sensor) 등을 사용할 수 있다.The lens unit 110 includes a zoom lens (not shown) that enlarges and reduces the magnification of the subject, a focus lens (not shown) that focuses on the subject, and an aperture (not shown) that adjusts the amount of light, thereby providing light from an external light source. Receives and processes the image. The image sensor 120 is used as a photographing element, accumulates the amount of light input through the lens unit 110, and photoelectrically converts the image photographed by the lens unit 110 into an electrical signal according to the accumulated amount of light. Here, the image sensor 120 may use a charge coupled device (CCD) or a complementary metal oxide semiconductor image sensor (CIS).

자동 이득 조절부(200)는 이미지 센서(110)에서 출력되는 신호의 이득을 제어한다. 예를 들면, CCD로부터 출력된 R,G,B의 이미지 신호에서 각각의 신호의 이득을 제어한다. 본 발명의 바람직한 실시 예에서, 자동 이득 조절부(200)는 디지털 신호 처리부로부터 출력된 AWB 계수 값을 이용하여 이미지 센서로부터 출력된 이미지의 화이트 밸런스를 조절한다.The automatic gain control unit 200 controls the gain of the signal output from the image sensor 110. For example, the gain of each signal is controlled in the image signals of R, G, and B output from the CCD. In a preferred embodiment of the present invention, the automatic gain adjuster 200 adjusts the white balance of the image output from the image sensor using the AWB coefficient value output from the digital signal processor.

색 온도 검출부(310)는 디지털 촬영 장치를 이용하여 특정 피사체를 촬영하는 당시의 외부 광원의 색 온도를 검출한다. 동일한 피사체를 촬영하는 경우에도, 옥외의 태양 광 아래, 흐린 날, 실내의 백색 램프 아래, 형광 조명 아래 등 여러 가지 광원 조건에 따라 촬영된 겉보기 이미지가 달라보이기 때문에, 다양한 외부 광원의 색 온도를 검출함으로써 전술한 촬영 조건의 구분하여 AWB를 수행할 수 있다. The color temperature detector 310 detects a color temperature of an external light source at the time of photographing a specific subject using a digital photographing apparatus. Even when shooting the same subject, the apparent image captured by various light source conditions, such as under outdoor sunlight, cloudy days, under white lamps under indoor lighting, and under fluorescent lighting, can detect color temperatures of various external light sources. Thus, the AWB can be performed by dividing the above-described shooting conditions.

바람직하게, 색 온도 검출부(310)는 광센서로 구현하는 것이 바람직하다. 광센서는 광원의 파장에 따라 다른 저항값을 출력함으로써 광원의 종류를 구분할 수 있다.Preferably, the color temperature detector 310 is implemented by an optical sensor. The optical sensor may distinguish the type of the light source by outputting a different resistance value according to the wavelength of the light source.

디지털 신호 처리부(320)는 결정된 AWB 계수 값을 기초로 입력 이미지의 화이트 밸런스를 조절한다. 특히 디지털 신호 처리부는 광원의 색 온도에 상응하는 AWB 계수 값을 저장하는 맵핑 테이블과, 색 온도 검출부(310)로부터 광원의 색 온도를 입력받아 맵핑 테이블을 참조하여 색 온도에 상응하는 AWB 계수 값을 맵핑하는 색 온도 맵핑부와, 색 온도 맵핑부의 맵핑 결과에 따라 AWB 계수 값을 결정하는 AWB 계수 값 결정부로 이루어진다. 본 발명의 바람직한 실시 예에서, 디지털 신호 처리부(320)는 결정한 AWB 계수 값을 자동 이득 조절부(200)로 피드백하여 입력 이미지의 화이트 밸런스를 조절한다. 종래의 AWB 조절을 수행하는 디지털 신호 처리부는 디지털신호로 변환된 영상신호를 입력받아 화이트를 검출하고, 검출된 화이트를 이용하여 화이트 밸런스 보정을 위한 R, G, B 계수를 산출하여 이미지 신호에 적용함으로써, 픽셀의 변화를 계산하여 화이트를 검출하는 계산과정에 많은 자원을 소모하였으나, 본 발명의 바람직한 실시 예에 따른 디지털 신호 처리부(320)는 검출한 색 온도에 따른 맵핑 테이블을 참조함으로써 AWB 계수 값을 간단하게 산출할 수 있다. The digital signal processor 320 adjusts the white balance of the input image based on the determined AWB coefficient value. In particular, the digital signal processing unit receives an AWB coefficient value corresponding to the color temperature of the light source, and receives the color temperature of the light source from the color temperature detection unit 310 and refers to the mapping table to obtain an AWB coefficient value corresponding to the color temperature. It consists of a color temperature mapping part to map, and an AWB coefficient value determination part which determines AWB coefficient value according to the mapping result of a color temperature mapping part. In a preferred embodiment of the present invention, the digital signal processor 320 feeds back the determined AWB coefficient value to the automatic gain control unit 200 to adjust the white balance of the input image. The digital signal processor which performs the conventional AWB adjustment detects white by receiving an image signal converted into a digital signal, calculates R, G, and B coefficients for white balance correction using the detected white, and applies it to the image signal. As a result, although a large amount of resources are consumed in calculating the change of the pixel to detect the white, the digital signal processor 320 according to the preferred embodiment of the present invention refers to the mapping table according to the detected color temperature, thereby providing the AWB coefficient value. Can be calculated simply.

디지털 신호 처리부(320)의 구체적인 구성은 도 4를 참조하여 후술한다.A detailed configuration of the digital signal processor 320 will be described later with reference to FIG. 4.

디스플레이부(400)는 디지털 신호 처리부(320)에서 출력된 화이트 밸런스가 수행된 이미지를 디스플레이한다. 디스플레이부(400)는 액정 디스플레이 패널(LCD), 유기 발광 디스플레이 패널(OLED), 전기 영동 디스플레이 패널(EDD) 등으로 이루어질 수 있다.The display unit 400 displays an image on which the white balance output from the digital signal processor 320 is performed. The display unit 400 may include a liquid crystal display panel (LCD), an organic light emitting display panel (OLED), an electrophoretic display panel (EDD), or the like.

도 4는 도 3에 도시된 자동 화이트 밸런스 조절 장치(300)의 개략적인 블록도이다.4 is a schematic block diagram of the automatic white balance adjusting device 300 shown in FIG. 3.

도 4를 참조하면, 자동 화이트 밸런스 조절 장치(300)는 색 온도 검출부(310), A/D변환부(321), 색 온도 맵핑부(322), 맵핑 테이블(323) 및 AWB 계수값 결정부(324)를 포함한다.Referring to FIG. 4, the automatic white balance adjusting device 300 includes a color temperature detector 310, an A / D converter 321, a color temperature mapper 322, a mapping table 323, and an AWB coefficient value determiner. 324.

색 온도 검출부(310)는 디지털 촬영 장치를 이용하여 특정 피사체를 촬영하 는 당시의 외부 광원의 색 온도를 검출하는데, 바람직하게, 색 온도 검출부(310)는 광센서로 구현한다. 광센서는 광원의 파장에 따라 서로 다른 저항값을 출력함으로써 광원의 종류를 구분할 수 있다. 또한, 이러한 아날로그 저항값을 A/D변환부(321)에 제공한다. The color temperature detector 310 detects a color temperature of an external light source at the time of photographing a specific subject using a digital photographing apparatus. Preferably, the color temperature detector 310 is implemented as an optical sensor. The optical sensor may distinguish the type of the light source by outputting different resistance values according to the wavelength of the light source. In addition, the analog resistance value is provided to the A / D converter 321.

A/D변환부(321)는 아날로그 저항값을 샘플링한 디지털 값을 색 온도 맵핑부(322)에 출력한다.The A / D converter 321 outputs a digital value of the analog resistance value sampled to the color temperature mapping unit 322.

색 온도 맵핑부(322)는 색 온도를 반영하고 있는 디지털 값에 따른 AWB 계수 값을 저장하고 있는 맵핑 테이블(323)을 참조하여 색 온도에 따른 AWB 계수 값을 맵핑한다. 여기서, 맵핑 테이블(323)은 특정 색 온도에 따른 AWB 계수 값을 미리 저장하고 있으며, 이는 기존에 측정하여 계산된 화이트 밸런스 산출값인 것이 바람직하다.The color temperature mapping unit 322 maps the AWB coefficient values according to the color temperature with reference to the mapping table 323 storing the AWB coefficient values according to the digital values reflecting the color temperature. Here, the mapping table 323 prestores the AWB coefficient value according to the specific color temperature, which is preferably a white balance calculated value previously measured.

AWB 계수 값 결정부(324)는 색 온도 맵핑부(322)로부터의 맵핑 결과에 따른 AWB 계수 값을 결정한다. 그리고, 결정한 AWB 계수 값을 자동 이득 조절부(320)로 피드백하여 입력 이미지의 모든 픽셀에 적용하여 화이트 밸런스를 조절한다. The AWB coefficient value determination unit 324 determines the AWB coefficient value according to the mapping result from the color temperature mapping unit 322. Then, the determined AWB coefficient value is fed back to the automatic gain adjusting unit 320 and applied to all pixels of the input image to adjust the white balance.

도 5는 본 발명의 다른 실시 예에 따른 광원 변화에 따른 자동 화이트 밸런스 조절 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating an automatic white balance adjustment method according to a light source change according to another exemplary embodiment of the present invention.

도 5를 참조하면, 단계 500에서, 외부 광원에 따른 색 온도를 검출한다. 따라서, 종래에 자연광인 경우, 실내인 경우, 백열등인 경우 등 각각의 정해진 광원에 따라 각각 미리 정해진 AWB 계수 값으로 자동 화이트 밸런스를 수행하는 것보다 더 정확하게 색 온도를 검출하여 정확한 이미지 색 보정을 수행할 수 있다.Referring to FIG. 5, in step 500, a color temperature according to an external light source is detected. Therefore, conventionally, in the case of natural light, indoors, incandescent lamps, color image detection is more accurately performed by detecting color temperature more accurately than performing automatic white balance with predetermined AWB coefficient values according to respective predetermined light sources. can do.

단계 502에서, 색 온도/AWB 계수 값 매핑 테이블을 참조한다. 단계 504에서, 검출한 색 온도에 따른 AWB 계수 값을 매핑한다. 단계 506에서, 매핑 결과에 따라 AWB 계수 값을 결정한다. 따라서, 현재의 외부 광원의 색 온도에 적절한 AWB 계수 값을 결정할 수 있다. 단계 508에서, 결정한 AWB 계수 값을 이용하여 입력 이미지 신호의 화이트 밸런스를 수행한다. In step 502, reference is made to the color temperature / AWB coefficient value mapping table. In step 504, AWB coefficient values are mapped according to the detected color temperature. In step 506, AWB coefficient values are determined according to the mapping result. Thus, the AWB coefficient value appropriate for the color temperature of the current external light source can be determined. In step 508, the white balance of the input image signal is performed using the determined AWB coefficient value.

한편, 본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다.Meanwhile, the present invention can be embodied as computer readable codes on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored.

컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현하는 것을 포함한다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술 분야의 프로그래머들에 의하여 용이하게 추론될 수 있다.Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like, which may also be implemented in the form of carrier waves (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. And functional programs, codes and code segments for implementing the present invention can be easily inferred by programmers in the art to which the present invention belongs.

이제까지 본 발명에 대하여 바람직한 실시 예를 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 본 발명을 구현할 수 있음을 이해할 것이다. 그러므로 상기 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 한다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will understand that the present invention can be embodied in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown not in the above description but in the claims, and all differences within the scope should be construed as being included in the present invention.

도 1은 종래기술에 따른 자동 화이트 밸런스 조절 장치의 개략적인 블록도이다.1 is a schematic block diagram of an automatic white balance adjusting device according to the prior art.

도 2는 다른 종래기술에 따른 자동 화이트 밸런스 조절 장치의 개략적인 블록도이다.2 is a schematic block diagram of another automatic white balance adjustment device according to the related art.

도 3은 본 발명의 일 실시 예에 따른 광원 변화에 따른 자동 화이트 밸런스 조절 장치(300)를 포함한 디지털 촬영 장치의 개략적인 블록도이다.3 is a schematic block diagram of a digital photographing apparatus including an automatic white balance adjusting device 300 according to a change in a light source according to an exemplary embodiment.

도 4는 도 3에 도시된 자동 화이트 밸런스 조절 장치(300)의 개략적인 블록도이다.4 is a schematic block diagram of the automatic white balance adjusting device 300 shown in FIG. 3.

도 5는 본 발명의 다른 실시 예에 따른 광센서를 이용한 자동 화이트 밸런스 조절 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating an automatic white balance adjustment method using an optical sensor according to another embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100: 이미지 입력부 110: 렌즈부100: image input unit 110: lens unit

120: 이미지 센서 200: 자동 이득 조절부120: image sensor 200: automatic gain control unit

300: 자동 화이트 밸런스 조절 장치 310: 색 온도 검출부300: automatic white balance adjustment device 310: color temperature detection unit

320: 디지털 신호 처리부 320: digital signal processing unit

Claims (8)

광센서를 이용한 자동 화이트 밸런스 조절 방법으로서,As an automatic white balance adjustment method using an optical sensor, (a) 소정 광원의 색 온도를 상기 광센서를 이용하여 검출하는 단계;(a) detecting a color temperature of a predetermined light source using the optical sensor; (b) 색 온도에 상응하는 AWB 계수 값을 저장한 맵핑 테이블을 참조하여 상기 검출한 색 온도에 상응하는 AWB 계수 값을 맵핑하는 단계; 및(b) mapping an AWB coefficient value corresponding to the detected color temperature with reference to a mapping table storing the AWB coefficient value corresponding to the color temperature; And (c) 상기 맵핑 결과에 따른 AWB 계수 값을 결정하고, 상기 결정한 AWB 계수 값을 기초로 입력 이미지의 화이트 밸런스를 조절하는 단계를 포함하는 자동 화이트 밸런스 조절 방법. (c) determining an AWB coefficient value according to the mapping result, and adjusting a white balance of the input image based on the determined AWB coefficient value. 제 1 항에 있어서,The method of claim 1, 상기 광원의 파장에 따른 저항값을 입력받아 A/D변환하는 단계를 더 포함하는 것을 특징으로 하는 자동 화이트 밸런스 조절 방법.And A / D conversion by receiving a resistance value according to the wavelength of the light source. 제 1 항 또는 제 2 항 중 어느 한 항에 따른 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체.A recording medium having recorded thereon a program for executing a method according to any one of claims 1 and 2 on a computer. 광센서를 이용한 자동 화이트 밸런스 조절 장치로서,Automatic white balance control device using light sensor, AWB 계수 값을 기초로 입력 이미지의 화이트 밸런스를 조절하는 디지털 신호 처리부를 포함하고,A digital signal processor for adjusting a white balance of the input image based on the AWB coefficient value; 상기 디지털 신호 처리부는,The digital signal processing unit, 소정 광원의 색 온도에 상응하는 AWB 계수 값을 저장하는 맵핑 테이블;A mapping table for storing AWB coefficient values corresponding to a color temperature of a predetermined light source; 상기 광센서로부터 소정 광원의 색 온도를 입력받아 상기 맵핑 테이블을 참조하여 상기 검출한 색 온도에 상응하는 AWB 계수 값을 맵핑하는 색 온도 맵핑부; 및A color temperature mapping unit configured to receive a color temperature of a predetermined light source from the optical sensor and map an AWB coefficient value corresponding to the detected color temperature with reference to the mapping table; And 상기 색 온도 맵핑부의 맵핑 결과에 따라 AWB 계수 값을 결정하는 AWB 계수 값 결정부를 포함하는 것을 특징으로 하는 자동 화이트 밸런스 조절 장치.And an AWB coefficient value determination unit that determines an AWB coefficient value according to a mapping result of the color temperature mapping unit. 제 4 항에 있어서,The method of claim 4, wherein 상기 디지털 신호 처리부는,The digital signal processing unit, 상기 광원의 파장에 따른 저항값을 입력받아 A/D변환하여 상기 색 온도 맵핑부에 제공하는 A/D변환부를 더 포함하는 것을 특징으로 하는 자동 화이트 밸런스 조절 장치. And an A / D conversion unit for receiving the resistance value according to the wavelength of the light source and providing the A / D conversion unit to provide the color temperature mapping unit. 자동 화이트 밸런스 기능을 구비한 디지털 촬영 장치에 있어서,In a digital photographing apparatus having an automatic white balance function, 소정의 광원의 색 온도를 검출하는 색 온도 검출부;A color temperature detector detecting a color temperature of a predetermined light source; 상기 색 온도 검출부로부터 검출된 색 온도에 상응하는 AWB 계수 값을 저장한 맵핑 테이블을 참조하여 상기 검출한 색 온도에 상응하는 AWB 계수 값을 맵핑하고, 상기 맵핑 결과에 따른 AWB 계수 값을 결정하는 디지털 신호 처리부; 및The AWB coefficient value corresponding to the detected color temperature is mapped with reference to the mapping table storing the AWB coefficient value corresponding to the color temperature detected by the color temperature detector, and the digital value for determining the AWB coefficient value according to the mapping result is determined. A signal processor; And 상기 디지털 신호 처리부로부터 출력된 AWB 계수 값을 이용하여 이미지 센서 로부터 출력된 이미지의 화이트 밸런스를 조절하는 자동 이득 조절부를 포함하는 디지털 촬영 장치. And an automatic gain adjuster for adjusting a white balance of an image output from an image sensor by using the AWB coefficient value output from the digital signal processor. 제 6 항에 있어서,The method of claim 6, 상기 색 온도 검출부는,The color temperature detection unit, 광센서를 포함하는 것을 특징으로 하는 디지털 촬영 장치.Digital imaging device comprising a light sensor. 제 7 항에 있어서,The method of claim 7, wherein 상기 디지털 신호 처리부는,The digital signal processing unit, 상기 광센서로부터 상기 광원의 파장에 따른 저항값을 입력받아 A/D변환하고, A / D conversion by receiving the resistance value according to the wavelength of the light source from the optical sensor, 상기 맵핑 테이블은 상기 A/D변환된 저항값에 따른 AWB 계수 값을 저장하는 것을 특징으로 하는 디지털 촬영 장치.The mapping table stores an AWB coefficient value according to the A / D converted resistance value.
KR1020080078143A 2008-08-08 2008-08-08 Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof KR20100019222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080078143A KR20100019222A (en) 2008-08-08 2008-08-08 Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080078143A KR20100019222A (en) 2008-08-08 2008-08-08 Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof

Publications (1)

Publication Number Publication Date
KR20100019222A true KR20100019222A (en) 2010-02-18

Family

ID=42089712

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080078143A KR20100019222A (en) 2008-08-08 2008-08-08 Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof

Country Status (1)

Country Link
KR (1) KR20100019222A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196274A (en) * 2011-05-10 2011-09-21 西安理工大学 Automatic white balance method based on color mapping
WO2019039698A1 (en) * 2017-08-21 2019-02-28 삼성전자 주식회사 Method for processing image on basis of external light, and electronic device supporting same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196274A (en) * 2011-05-10 2011-09-21 西安理工大学 Automatic white balance method based on color mapping
WO2019039698A1 (en) * 2017-08-21 2019-02-28 삼성전자 주식회사 Method for processing image on basis of external light, and electronic device supporting same

Similar Documents

Publication Publication Date Title
US9483849B2 (en) Method and apparatus for controlling camera for color calibration of multi-displays
JP2002027491A (en) Image input unit, white balance adjusting method, and computer readable recording medium storing program for executing the method
JP5457845B2 (en) Color characteristic correction apparatus and camera
JP2007036927A (en) Digital camera and gain calculation method
US8144216B2 (en) Imaging apparatus and imaging method
KR100967091B1 (en) Method for adjusting white balance of digital image device
EP2362662A2 (en) Imaging device, imaging method and computer readable recording medium storing program for performing the imaging method
JP2013142929A (en) Image processing apparatus
US9769391B2 (en) Imaging device including light modulation element that varies between high and low transmittance for each segment
JP5277863B2 (en) Imaging apparatus and imaging method
JP5534825B2 (en) Image processing apparatus and color temperature correction method
JP2014232994A (en) Image processing apparatus and method, and imaging apparatus
KR20100019222A (en) Method and apparatus for controlling automatic white balance using optical sensor, and digital photographing apparatus using thereof
JP4887680B2 (en) White balance adjusting device and white balance adjusting method
KR101143834B1 (en) Aparatus and metod for controlling auto white balance
JP3958700B2 (en) Digital camera
JP4396225B2 (en) White balance control device and electronic device
KR101589493B1 (en) White ballance control method and apparatus using a flash and digital photographing apparatus using thereof
JP2015100091A (en) Image processing device, imaging apparatus, image processing method and program
JP2007267170A (en) Electronic camera with chroma saturation regulating function and image processing program
JP2012227744A (en) Imaging apparatus
JP5597124B2 (en) Image signal processing device
JP2023161325A (en) Exposure amount determination device, exposure amount determination method, exposure amount determination program, and imaging device
KR100531858B1 (en) Auto white valance apparatus for display apparatus
JP3913251B2 (en) Imaging device

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal