KR100999887B1 - Method of setup Color Zone, Method of Color Temperature Detection using Color Zone, Recording Media of the same and Image Apparatus of performing the same - Google Patents
Method of setup Color Zone, Method of Color Temperature Detection using Color Zone, Recording Media of the same and Image Apparatus of performing the same Download PDFInfo
- Publication number
- KR100999887B1 KR100999887B1 KR1020080135243A KR20080135243A KR100999887B1 KR 100999887 B1 KR100999887 B1 KR 100999887B1 KR 1020080135243 A KR1020080135243 A KR 1020080135243A KR 20080135243 A KR20080135243 A KR 20080135243A KR 100999887 B1 KR100999887 B1 KR 100999887B1
- Authority
- KR
- South Korea
- Prior art keywords
- color temperature
- temperature zone
- image information
- value
- zone
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/73—Colour balance circuits, e.g. white balance circuits or colour temperature control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/54—Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
- H04N7/0135—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes
- H04N7/0145—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes the interpolation being class adaptive, i.e. it uses the information of class which is determined for a pixel based upon certain characteristics of the neighbouring pixels
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Of Color Television Signals (AREA)
- Color Television Image Signal Generators (AREA)
Abstract
정확도를 향상시킨 색온도구역 설정 방법, 색온도구역을 이용한 색온도 검출 방법, 색온도구역을 이용한 색온도 검출 방법을 기록한 기록매체 및 색온도구역을 이용한 색온도 검출 방법을 수행하는 촬상 장치를 제공한다. 색온도구역 설정 방법은 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계; 및 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계를 포함하여 구성될 수 있다. 3차원 공간에 색온도구역을 설정하므로 2차원 공간을 활용하는 것에 비하여 정확한 색온도 검출을 할 수 있으며, 노이즈에 민감하지 않고, 색 간의 간섭을 최소화할 수 있다. 결국, 정확한 색온도 검출에 따른 정확한 화이트 밸런스 조정을 할 수 있다.Provided are a recording medium recording a color temperature zone, a color temperature detection method using a color temperature zone, a recording medium recording a color temperature detection method using a color temperature zone, and a color temperature detection method using a color temperature zone. The color temperature zone setting method includes setting a color temperature reference line representing a characteristic of a color temperature in a three-dimensional coordinate space; And a color temperature reference line, and may include setting a color temperature zone including a plurality of spatial diagrams. Since the color temperature zone is set in the three-dimensional space, accurate color temperature detection is possible as compared with the use of the two-dimensional space, and it is not sensitive to noise and minimizes interference between colors. As a result, accurate white balance adjustment can be performed according to accurate color temperature detection.
흑체, 광원, 색온도, 색온도구역, 화이트 밸런스 Black Body, Light Source, Color Temperature, Color Temperature Zone, White Balance
Description
본 발명은 색온도구역 설정 방법, 색온도구역을 이용한 색온도 검출 방법, 색온도구역을 이용한 색온도 검출 방법을 기록한 기록매체 및 색온도구역을 이용한 색온도 검출 방법을 수행하는 촬상 장치에 관한 것으로, 더욱 상세하게는 정확도를 향상시킨 색온도구역 설정 방법, 색온도구역을 이용한 색온도 검출 방법, 색온도구역을 이용한 색온도 검출 방법을 기록한 기록매체 및 색온도구역을 이용한 색온도 검출 방법을 수행하는 촬상 장치에 관한 것이다.The present invention relates to a recording medium for recording a color temperature zone setting method, a color temperature detection method using a color temperature zone, a recording medium recording a color temperature detection method using a color temperature zone, and a color temperature detection method using a color temperature zone. A recording medium recording an improved color temperature zone setting method, a color temperature detection method using a color temperature zone, a color temperature detection method using a color temperature zone, and a color temperature detection method using a color temperature zone.
흑체(black body)는 자신에게 입사되는 모든 전자기파를 100% 흡수하는, 반사율이 '0'인 가상의 물체이다. 모든 빛을 흡수한다는 가정에서 검은 물체라는 뜻의 이름이 붙었다. 흑체라는 개념은 1862년에 구스타프 키르히호프가 처음 사용했다. 그러나 이상적인 흑체도 전자기파를 복사하며, 흑체가 전자기파를 내보내는 것을 흑체 복사라고 한다.A black body is a virtual object with a zero reflectance that absorbs 100% of all electromagnetic waves incident on it. In the assumption that it absorbs all light, it is named black object. The concept of blackbody was first used by Gustav Kirchhoff in 1862. However, the ideal black body radiates electromagnetic waves, and the black body emits electromagnetic waves called black body radiation.
이상적인 흑체가 방출하는 빛의 색은 플랑크의 복사법칙에 의해 온도에 의해서만 정해진다. 물체가 가시광선을 내며 빛나고 있을 때 그 색이 어떤 온도의 흑체가 복사하는 색과 같이 보일 경우, 그 흑체의 온도와 물체의 온도가 같다고 보고 그 온도를 물체의 색온도라고 한다. 즉, 색온도란 이러한 흑체의 성질을 이용하여 광원의 빛을 수치적으로 표시한 것이다.The color of light emitted by an ideal blackbody is determined only by temperature according to Planck's law of radiation. When an object is shining with visible light and its color looks like the color of a black body radiating at a certain temperature, the temperature of the black body and the object's temperature are considered to be the same and the temperature is called the color temperature of the object. In other words, the color temperature is a numerical representation of the light of the light source using the properties of the black body.
물체의 색온도는 같은 색광의 흑체의 온도로 표시된다. 가령, 전구의 빛은 2800K, 형광등의 빛은 4500K ~ 6500K, 정오의 태양빛은 5400K, 흐린 날의 낮 빛은 6500~7000K, 맑은 날의 푸른 하늘빛은 12000~18000K 정도의 색온도이다.The color temperature of the object is represented by the temperature of the black body of the same color light. For example, the color of the light bulb is 2800K, the fluorescent light is 4500K-6500K, the noon sun light is 5400K, the cloudy daytime light is 6500 ~ 7000K, and the clear blue sky is 12000 ~ 18000K.
어떤 온도의 광원으로 조명된 백색의 물체를 카메라로 잡았을 경우 카메라의 인코더(encoder) 출력은 부반송파가 '0'인 상태(전기적 무채색)가 되어야 한다. 이처럼 색온도에 맞추어 부반송파가 '0'이 되도록 RGB 각 채널의 게인(gain)을 조정하는 것을 화이트 밸런스(White Balance)를 맞춘다고 한다.If you capture a white object illuminated by a light source at a certain temperature with the camera, the encoder output of the camera should be in a state where the subcarriers are zero (electrically achromatic). In this way, adjusting the gain of each RGB channel so that the subcarrier becomes '0' according to the color temperature is called adjusting the white balance.
색온도구역이란 색온도 결정을 위한 특성 곡선을 포함하는 구역을 말한다. 즉, 색온도구역은 하나의 광원을 나타내기 위한 것으로써, 특정 색온도를 표현하는 구역을 설정한 것이라고 할 수 있다. 다만, 종래에는 색온도를 측정하기 위한 색온도구역을 표현하는 방법에 있어서 2차원 평면을 이용하였기 때문에 정확도가 떨어지는 문제점이 있었다.The color temperature zone means a zone containing a characteristic curve for color temperature determination. That is, the color temperature zone is intended to represent one light source, and can be said to set a zone for expressing a specific color temperature. However, in the conventional method of expressing the color temperature zone for measuring the color temperature, a two-dimensional plane is used, which causes a problem of inferior accuracy.
본 발명의 목적은 정확도를 향상시킨 색온도구역 설정 방법을 제공하는 것이다.It is an object of the present invention to provide a color temperature zone setting method with improved accuracy.
본 발명의 다른 목적은 정확도를 향상시킨 색온도구역을 이용한 색온도 검출 방법을 제공하는 것이다.Another object of the present invention is to provide a color temperature detection method using a color temperature zone with improved accuracy.
본 발명의 또 다른 목적은 정확도를 향상시킨 색온도구역을 이용한 색온도 검출 방법을 기록한 기록매체를 제공하는 것이다.It is still another object of the present invention to provide a recording medium recording a color temperature detection method using a color temperature zone with improved accuracy.
본 발명의 또 다른 목적은 정확도를 향상시킨 색온도구역을 이용한 색온도 검출 방법을 수행하는 촬상 장치를 제공하는 것이다.It is still another object of the present invention to provide an image pickup device that performs a color temperature detection method using a color temperature zone with improved accuracy.
상술한 본 발명의 목적을 달성하기 위한 색온도구역 설정 방법은 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계; 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계를 포함하여 구성될 수 있다.Color temperature zone setting method for achieving the above object of the present invention comprises the steps of setting a color temperature reference line representing the characteristic of the color temperature in the three-dimensional coordinate space; And a color temperature reference line, and including a color temperature zone configured by a plurality of spatial diagrams.
여기에서, 상기 3차원 좌표 공간을 구성하는 3개의 좌표축은 RGB 값, YCrCb 값 및 YUV 값 중의 어느 하나의 값에 의하여 표현되는 것을 특징으로 하는 것일 수 있다.Here, the three coordinate axes constituting the three-dimensional coordinate space may be represented by any one of an RGB value, a YCrCb value, and a YUV value.
여기에서, 상기 공간도형은 각각 상기 3차원 좌표 공간을 구성하는 3개의 좌표축 상의 최소값 및 최대값으로 표현되는 것을 특징으로 하는 것일 수 있다.Here, the spatial figure may be characterized by being represented by a minimum value and a maximum value on three coordinate axes constituting the three-dimensional coordinate space, respectively.
여기에서, 상기 공간도형은 직육면체, 원뿔, 삼각뿔, 사각뿔 및 원기둥 중의 어느 하나인 것을 특징으로 하는 것일 수 있다.Here, the spatial figure may be any one of a rectangular parallelepiped, a cone, a triangular pyramid, a square pyramid, and a cylinder.
상술한 본 발명의 다른 목적을 달성하기 위한 색온도구역을 이용한 색온도 검출 방법은 색온도(Color Temperature) 검출 방법에 있어서, 이미지 센서로부터 제공받은 영상정보를 구성하는 적어도 하나의 픽셀이 3차원 좌표 공간의 좌표값으로 표현되는 단계; 상기 픽셀이 상기 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계에 의하여 형성된 색온도구역에 포함되는지 여부가 판단되는 단계; 및 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계를 포함하여 구성될 수 있다.Color temperature detection method using a color temperature zone to achieve the above object of the present invention is a color temperature detection method, at least one pixel constituting the image information provided from the image sensor coordinates of the three-dimensional coordinate space Expressed as a value; Whether the pixel is included in the color temperature zone formed by the step of setting a color temperature reference line representing the characteristic of the color temperature in the three-dimensional coordinate space and the color temperature zone including the color temperature reference line, the color temperature zone consisting of a plurality of spatial diagrams Is determined; And determining a color temperature of the provided image information by using the number of pixels included in the color temperature zone.
여기에서, 상기 3차원 좌표 공간을 구성하는 3개의 좌표축은 RGB 값, YCrCb 값 및 YUV 값 중의 어느 하나의 값에 의하여 표현되는 것을 특징으로 하는 것일 수 있다.Here, the three coordinate axes constituting the three-dimensional coordinate space may be represented by any one of an RGB value, a YCrCb value, and a YUV value.
여기에서, 상기 픽셀이 상기 색온도구역에 포함되는지 여부가 판단되는 단계에서 상기 픽셀의 3개의 좌표값이 상기 색온도 구역을 표현하는 공간도형의 3개의 좌표값의 최소값 내지 최대값 사이에 포함되는지를 비교하여 포함여부가 판단되는 것을 특징으로 하는 것일 수 있다.Here, in the step of determining whether the pixel is included in the color temperature zone, comparing whether the three coordinate values of the pixel is included between the minimum value and the maximum value of the three coordinate values of the spatial diagram representing the color temperature zone. It may be characterized in that the inclusion.
여기에서, 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계는 픽셀의 수가 많은 순서로 선택된 다 수의 색온도를 이용하여 색온도가 결정되는 것을 특징으로 하는 것일 수 있다.Here, the step of determining the color temperature for the provided image information by using the number of pixels included in the color temperature zone is characterized in that the color temperature is determined using a plurality of color temperatures selected in order of the number of pixels. It may be.
상술한 본 발명의 또 다른 목적을 달성하기 위한 색온도구역을 이용한 색온도 검출 방법을 기록한 기록매체는 색온도 검출 방법이 기록된 기록매체에 있어서, 이미지 센서로부터 제공받은 영상정보를 구성하는 적어도 하나의 픽셀이 3차원 좌표 공간의 좌표값으로 표현되는 단계, 상기 픽셀이 상기 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계에 의하여 형성된 색온도구역에 포함되는지 여부가 판단되는 단계 및 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계를 포함하여 구성되는 색온도 검출 방법을 기록한 것일 수 있다.The recording medium recording the color temperature detection method using the color temperature zone for achieving the above another object of the present invention is a recording medium in which the color temperature detection method is recorded, at least one pixel constituting the image information provided from the image sensor A color temperature zone comprising a color temperature reference line comprising the step of expressing the coordinate value of the three-dimensional coordinate space, the step of setting a color temperature reference line representing the color temperature characteristic of the pixel in the three-dimensional coordinate space, and the color temperature reference line, And determining a color temperature of the provided image information by using the number of pixels included in the color temperature zone. It may be recorded.
상술한 본 발명의 또 다른 목적을 달성하기 위한 색온도구역을 이용한 색온도 검출 방법을 수행하는 촬상 장치는 색온도 검출 방법을 수행하는 촬상 장치에 있어서, 피사체에 상응하는 영상정보를 제공하기 위한 이미지 센서; 상기 이미지 센서로부터 제공받은 영상정보를 구성하는 적어도 하나의 픽셀이 3차원 좌표 공간의 좌표값으로 표현되는 단계, 상기 픽셀이 상기 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계에 의하여 형성된 색온도구역에 포함되는지 여부가 판단되는 단계 및 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계를 포함하여 구성되는 색온도 검출 방법을 실행하기 위한 색온도 검출부; 상기 검출된 색온 도를 이용하여 상기 영상정보에 대하여 화이트 밸런스 조정을 실행하는 이미지 처리부; 상기 색온도구역, 상기 색온도구역에 포함되는 픽셀의 수 및 영상정보를 저장하기 위한 저장부; 및 상기 화이트 밸런스 조정된 후의 영상정보를 출력하기 위한 출력부를 포함하여 구성될 수 있다.According to another aspect of the present invention, there is provided an image pickup apparatus that performs a color temperature detection method using a color temperature zone, the image pickup apparatus including: an image sensor for providing image information corresponding to a subject; At least one pixel constituting the image information provided from the image sensor is expressed as a coordinate value in a three-dimensional coordinate space, and the pixel is set to a color temperature reference line representing a characteristic of a color temperature in the three-dimensional coordinate space; Determining whether the color temperature zone including a color temperature reference line and including the color temperature zone is included in the color temperature zone formed by setting the color temperature zone and using the number of pixels included in the color temperature zone. A color temperature detector for executing a color temperature detection method, comprising: determining a color temperature for the color temperature; An image processor configured to perform white balance adjustment on the image information by using the detected color temperature; A storage unit for storing the color temperature zone, the number of pixels included in the color temperature zone, and image information; And an output unit for outputting image information after the white balance is adjusted.
여기에서, 상기 색온도 검출부에서 상기 3차원 좌표 공간을 구성하는 3개의 좌표축은 RGB 값, YCrCb 값 및 YUV 값 중의 어느 하나의 값에 의하여 표현되는 것을 특징으로 하는 것일 수 있다.Here, the three coordinate axes constituting the three-dimensional coordinate space in the color temperature detector may be represented by any one of an RGB value, a YCrCb value, and a YUV value.
여기에서, 상기 색온도 검출부에서 상기 픽셀의 3개의 좌표값이 상기 색온도 구역을 표현하는 공간도형의 3개의 좌표값의 최소값 내지 최대값 사이에 포함되는지를 비교하여 상기 픽셀이 상기 색온도구역에 포함되는지 여부가 판단되는 것을 특징으로 하는 것일 수 있다.Here, the color temperature detection unit compares whether the three coordinate values of the pixel are included between the minimum value and the maximum value of the three coordinate values of the spatial diagram representing the color temperature zone, and whether the pixel is included in the color temperature zone. May be characterized in that it is determined.
여기에서, 상기 색온도 검출부에서 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도를 결정하는 경우에 픽셀의 수가 많은 순서로 선택된 다수의 색온도를 이용하여 색온도가 결정되는 것을 특징으로 하는 것일 수 있다.Here, when the color temperature detection unit determines the color temperature for the provided image information by using the number of pixels included in the color temperature zone, the color temperature is determined by using a plurality of color temperatures selected in order of increasing number of pixels. It may be characterized as.
상기와 같은 색온도구역 설정방법을 이용한 색온도 검출 방법에 따르면, 이미지 센서로부터 전달된 영상정보를 변환과정 없이 이용할 수 있으므로 연산을 최소화할 수 있으며, 3차원 공간에 색온도구역을 설정하므로 2차원 공간을 활용하는 것에 비하여 정확한 색온도 검출을 할 수 있다. 따라서 노이즈에 민감하지 않으 며, 색 간의 간섭을 최소화할 수 있다. 결국, 정확한 색온도 검출에 따른 정확한 화이트 밸런스 조정을 할 수 있다.According to the color temperature detection method using the color temperature zone setting method as described above, since the image information transmitted from the image sensor can be used without conversion process, the operation can be minimized, and the color temperature zone is set in the three-dimensional space, thereby utilizing the two-dimensional space. The color temperature can be detected accurately. Therefore, it is not sensitive to noise and can minimize the interference between colors. As a result, accurate white balance adjustment can be performed according to accurate color temperature detection.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다.As the present invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description.
그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all changes, equivalents, and substitutes included in the spirit and scope of the present invention.
제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이 해되어야 할 것이다.When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.
본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.
다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art, and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 본 발명을 설명함에 있어 전체적인 이해를 용이하게 하기 위하여 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, with reference to the accompanying drawings, it will be described in detail a preferred embodiment of the present invention. In the following description of the present invention, the same reference numerals are used for the same elements in the drawings and redundant descriptions of the same elements will be omitted.
도 1은 본 발명의 일 실시예에 따른 색온도구역 설정 방법을 설명하기 위 한 흐름도이다.1 is a flowchart illustrating a method for setting a color temperature zone according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 일 실시예에 따른 색온도구역 설정 방법은 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계(S110); 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계(S120)를 포함하여 구성될 수 있다.1, a color temperature zone setting method according to an embodiment of the present invention comprises the steps of setting a color temperature reference line representing the characteristic of the color temperature in the three-dimensional coordinate space (S110); And a color temperature zone including the color temperature reference line and setting a color temperature zone formed of a plurality of spatial diagrams (S120).
먼저, 3차원 좌표 공간은 2차원 좌표로 색온도구역을 표현하는 경우의 한계를 극복하기 위하여 제안하는 것으로, 상기 3차원 좌표 공간을 구성하는 3개의 좌표축은 RGB 값, YCrCb 값 및 YUV 값 중의 어느 하나의 값에 의하여 표현되는 것을 특징으로 할 수 있다. 즉, 이미지 센서로부터 입력 받은 영상정보가 RGB 값으로 표현되어 있으면, 이를 추가적인 연산과정 없이 그대로 RGB 3차원 좌표 공간을 이용하여 색온도구역을 표현할 수 있는 것이다. 또한, YCrCb 값 및 YUV 값으로 표현된 베이어(Bayer) 영상정보가 이미지 센서로부터 입력 받는 경우에는 YCrCb 값 및 YUV 값을 표현하는 3차원 좌표 공간을 이용할 수 있는 것이다.First, the three-dimensional coordinate space is proposed to overcome the limitation in the case of expressing the color temperature zone in two-dimensional coordinates, the three coordinate axes constituting the three-dimensional coordinate space is any one of the RGB value, YCrCb value and YUV value It can be characterized by the value represented by. That is, if the image information received from the image sensor is represented by the RGB value, it is possible to express the color temperature zone using the RGB three-dimensional coordinate space without further processing. In addition, when Bayer image information represented by YCrCb and YUV values is input from an image sensor, a three-dimensional coordinate space representing YCrCb and YUV values may be used.
다음으로, 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계(S110)는 3차원 좌표 공간의 특정 영역에 대하여, 각각의 광원 고유의 특성에 따른 색온도기준선을 작성하는 것이다. 색온도기준선은 이론적인 계산 값에 의하여 3차원 좌표 공간 내에 위치하는 직선 또는 곡선일 수 있다. 또한, 실험적인 데이터에 기반을 둔 3차원 좌표 공간 내에 위치하는 직선 또는 곡선일 수 있을 것이다.Next, in step S110, in which the color temperature reference line indicating the characteristic of the color temperature in the three-dimensional coordinate space is set, a color temperature reference line corresponding to the characteristic of each light source is created for a specific region of the three-dimensional coordinate space. The color temperature reference line may be a straight line or a curve located in the three-dimensional coordinate space by the theoretical calculated value. It may also be a straight line or curve located in a three-dimensional coordinate space based on experimental data.
다음으로, 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계(S120)는 상기 색온도기준선을 포함하는 색온도구역을 설정하는 것으로서, 상기 색온도구역은 다수의 공간도형으로 표현되는 것을 말한다. 즉, 하나의 공간도형으로 3차원 좌표 공간 내에 위치한 색온도기준선을 표현하는 것에는 한계가 있기 때문에 다수의 공간도형을 이용하여 색온도기준선을 포함하는 색온도구역을 표현하는 것이다. 다수의 공간도형을 이용하여 색온도기준선을 포함하는 색온도구역을 표현하는 것에 따라 픽셀의 색온도구역 포함여부 판단 시에 연산과정이 단순화, 간소화 될 수 있을 것이다. 또한, 상기 다수의 공간도형의 수와 공간도형의 크기는 색온도구역의 정밀도에 따라 달라질 수 있을 것이다.Next, the step S120 of setting the color temperature zone including the color temperature reference line and consisting of a plurality of spatial figures is to set the color temperature zone including the color temperature reference line, and the color temperature zone is represented by a plurality of spatial figures. Say something. That is, since there is a limit to expressing the color temperature reference line located in the three-dimensional coordinate space in one spatial diagram, the color temperature zone including the color temperature reference line is represented using a plurality of spatial plots. As the color temperature zone including the color temperature reference line is represented using a plurality of spatial plots, the calculation process may be simplified and simplified when determining whether the pixel includes the color temperature zone. Also, the number of spatial plots and the size of the spatial plots may vary depending on the precision of the color temperature zone.
예를 들면, 색온도구역을 정밀하게 설정하고자 한다면, 색온도기준선으로부터 거리가 가까운 색온도구역의 경계를 설정하여야 하므로 다수의 공간도형의 수는 많아지며, 공간도형의 크기는 작아질 것이다. 역으로 색온도구역을 보다 넓게 설정하고자 한다면, 색온도기준선에서 먼 영역까지 색온도구역의 경계를 설정하여야 하므로 다수의 공간도형의 수는 적어지고, 공간도형의 크기는 커질 수 있을 것이다.For example, if the color temperature zone is to be precisely set, the boundary of the color temperature zone close to the distance from the color temperature reference line should be set, so that the number of spatial figures is large and the size of the spatial figures is small. On the contrary, if the color temperature zone is to be set wider, the boundary of the color temperature zone should be set from the color temperature baseline to the area farther away, so that the number of spatial figures is smaller and the size of the spatial figures can be increased.
도 2는 본 발명의 일 실시예에 따른 광원에 따른 색온도구역 설정의 예시도이다.2 is an exemplary view of setting a color temperature zone according to a light source according to an embodiment of the present invention.
도 2를 참조하면, 본 발명의 일 실시예에 따른 광원에 따른 색온도구역을 표현하기 위한 공간도형은 3차원 좌표 공간에 따른 다양한 형태의 공간도형일 수 있다. 즉, 3차원 좌표 공간이 직교 좌표계, 원통 좌표계, 구면 좌표계 및 빗 좌표 계 중의 어느 하나인 경우에 각각의 좌표계에 의하여 가장 간단하게 표현될 수 있는 공간도형인 것이다. 예를 들면, 3차원 좌표 공간이 직교 좌표계로 표현된 경우라면 다수의 공간도형은 직육면체일 수 있으며, 원통 좌표계로 표현된 경우라면 다수의 공간도형은 반지름의 최소값 및 최대값의 내이며, 각도의 일정 범위에 포함되는 기둥일 수 있으며, 구면 좌표계로 표현된 경우라면, 두께를 가진 양파 껍데기 모양일 수 있을 것이다.Referring to FIG. 2, a spatial diagram for representing a color temperature zone according to a light source according to an exemplary embodiment of the present invention may be a spatial diagram of various forms according to a three-dimensional coordinate space. That is, when the three-dimensional coordinate space is any one of a rectangular coordinate system, a cylindrical coordinate system, a spherical coordinate system and a comb coordinate system, it is a spatial diagram that can be simply expressed by each coordinate system. For example, if the three-dimensional coordinate space is represented by a Cartesian coordinate system, the plurality of spatial figures may be rectangular parallelepipeds, and when expressed in a cylindrical coordinate system, the plurality of spatial figures are within the minimum and maximum values of the radius, It may be a pillar included in a certain range, if it is expressed in the spherical coordinate system, it may be in the shape of an onion shell with a thickness.
또한, 상기 공간도형은 각각 상기 3차원 좌표 공간을 구성하는 3개의 좌표축 상의 최소값 및 최대값으로 표현되는 것을 특징으로 할 수 있다. 즉, 상기 3차원 좌표 공간의 종류에 따라서 각 축에서 최소값 및 최대값의 내에 속하게 되면 상기 색온도구역에 포함되는 것으로 판단할 수 있도록 간단하게 표현될 수 있는 공간도형의 특징을 가질 수 있다. 또한, 상기 공간도형은 직육면체, 원뿔, 삼각뿔, 사각뿔 및 원기둥 중의 어느 하나인 것을 특징으로 할 수 있다.In addition, the spatial figure may be represented by a minimum value and a maximum value on three coordinate axes constituting the three-dimensional coordinate space, respectively. That is, it may have a feature of a spatial diagram that can be simply expressed so as to be included in the color temperature zone if it falls within the minimum and maximum values in each axis according to the type of the three-dimensional coordinate space. In addition, the spatial figure may be any one of a rectangular parallelepiped, a cone, a triangular pyramid, a square pyramid, and a cylinder.
예를 들면, 3차원 좌표 공간이 RGB를 각각의 축으로 하는 직교 좌표계인 경우에, 상기 색온도기준선을 포함하는 각 축에 평행한 선으로 이루어진 다수의 직육면체를 이용하여 색온도기준선을 따라 배치되는 것으로 색온도구역을 표현할 수 있다. 따라서 이미지 센서로부터 입력 받은 픽셀의 RGB 값과의 대비를 할 경우에 상기 각각의 직육면체의 각 축에 따른 최소값과 최대값만으로 직육면체 내부에 포함되는지 여부를 판단할 수 있을 것이다. 즉, 색온도구역을 표현하는 하나의 직육면체가 R축에서 3 ≤ r ≤ 5를 만족하고, G축에서 4 ≤ g ≤ 5를 만족하며, B축에서 4 ≤ r ≤ 6을 만족하는 경우에 하나의 픽셀의 RGB 값이 (4,5,5)에 해당한다면, 상기 직육면체의 내부에 속한다는 것을 쉽게 알 수 있을 것이며, 연산과정도 간단하게 처리될 수 있을 것이다.For example, when the three-dimensional coordinate space is an orthogonal coordinate system with RGB as the respective axis, the color temperature is arranged along the color temperature reference line using a plurality of rectangular parallelepipeds formed by lines parallel to each axis including the color temperature reference line. You can express a zone. Therefore, when contrasting the RGB value of the pixel received from the image sensor, it may be determined whether it is included in the rectangular parallelepiped only by the minimum and maximum values along each axis of each rectangular parallelepiped. That is, when one rectangular parallelepiped representing the color temperature zone satisfies 3 ≦ r ≦ 5 on the R axis, 4 ≦ g ≦ 5 on the G axis, and 4 ≦ r ≦ 6 on the B axis, If the RGB value of the pixel corresponds to (4, 5, 5), it can be easily seen that it belongs to the inside of the rectangular parallelepiped, and the calculation process can be simply processed.
도 3은 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 방법을 설명하기 위한 흐름도이다.3 is a flowchart illustrating a color temperature detection method using a color temperature zone according to an embodiment of the present invention.
도 3을 참조하면, 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 방법은 색온도(Color Temperature) 검출 방법에 있어서, 이미지 센서로부터 제공받은 영상정보를 구성하는 적어도 하나의 픽셀이 3차원 좌표 공간의 좌표값으로 표현되는 단계(S210); 상기 픽셀이 상기 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계에 의하여 형성된 색온도구역에 포함되는지 여부가 판단되는 단계(S220); 및 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계(S230)를 포함하여 구성될 수 있다.Referring to FIG. 3, in the color temperature detection method using a color temperature zone according to an embodiment of the present invention, at least one pixel constituting image information provided from an image sensor is a three-dimensional coordinate in a color temperature detection method. Represented by coordinate values of the space (S210); Whether the pixel is included in the color temperature zone formed by the step of setting a color temperature reference line representing the characteristic of the color temperature in the three-dimensional coordinate space and the color temperature zone including the color temperature reference line, the color temperature zone consisting of a plurality of spatial diagrams Is determined (S220); And determining a color temperature of the provided image information by using the number of pixels included in the color temperature zone (S230).
먼저, 이미지 센서로부터 제공받은 영상정보를 구성하는 적어도 하나의 픽셀이 3차원 좌표 공간의 좌표값으로 표현되는 단계(S210)는 이미지 센서로부터 제공받은 영상정보를 구성하는 픽셀에 대하여 각각 3차원 좌표 공간의 좌표값으로 표현하는 것일 수 있다. 즉, 3차원 좌표 공간이 RGB의 직교 좌표계로 표현되고 있다면, 영상정보를 구성하는 각각의 픽셀에 대하여 RGB 값으로 (3,6,10) 값 등을 가지는 것으로 표현할 수 있다.First, step S210 in which at least one pixel constituting the image information provided from the image sensor is expressed as a coordinate value of the three-dimensional coordinate space is performed for each pixel constituting the image information provided from the image sensor. It may be expressed as a coordinate value of. That is, if the three-dimensional coordinate space is represented by the RGB coordinate system, it can be expressed as having (3,6,10) as the RGB value for each pixel constituting the image information.
여기에서, 이미지 센서로부터 제공받은 영상정보는 픽셀 단위로 베이어(Bayer) 패턴으로 표현되는 것일 수 있다. 이 경우에 각각의 픽셀이 3차원 좌표 공간에 위치하는 하나의 점으로 표현되기 위해서, 보간(Interpolation) 방법을 적용하여, 가우시안(Gaussian) 필터 또는 평균(mean) 필터를 이용할 수 있다. 즉, 이미지 센서로부터 최초로 제공받은 영상정보의 패턴은 RGB 값 중에서 하나의 값만을 가지는 것이므로 가우시안 필터 및 평균 필터를 이용하여 RGB 세 개의 성분을 갖는 픽셀로 표현하게 되는 것이다.Here, the image information provided from the image sensor may be represented by a Bayer pattern in units of pixels. In this case, in order to represent each pixel as one point located in the three-dimensional coordinate space, a Gaussian filter or a mean filter may be used by applying an interpolation method. That is, since the pattern of the image information initially provided from the image sensor has only one value among the RGB values, it is expressed as a pixel having three RGB components using a Gaussian filter and an average filter.
예를 들면, 이미지 센서로부터 입력 받은 영상정보를 5X5 범위의 픽셀 단위로 처리하는 경우에, 중앙에 위치하는 픽셀이 R성분만을 가지고 있다면, R 값에 대해서 5X5 범위에 속하는 픽셀의 R 값들에 대하여 평균 필터값을 취하거나 가중치를 주는 가우시안 필터값을 취하여 R성분 값을 취할 수 있으며, G 값에 대해서는 Gr 과 Gb를 나누어 가중치를 주는 가우시안 필터값을 취할 수 있고, B 값에 대해서도 역시 가중치를 주는 가우시안 필터값을 이용하거나, 평균 필터값을 이용하여 표현할 수 있을 것이다.For example, when image information input from an image sensor is processed in a pixel unit of 5X5 range, if the pixel located in the center has only R component, the average of R values of pixels in the 5X5 range with respect to the R value The R component value can be taken by taking a filter value or a Gaussian filter value that is weighted. A Gaussian filter value can be obtained by dividing Gr and Gb by weight for a G value, and a Gaussian that also weights a B value. It may be expressed using a filter value or using an average filter value.
도 4는 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 방법에서 보간(Interpolation) 방법을 설명하기 위한 개념도이다.4 is a conceptual diagram illustrating an interpolation method in a color temperature detection method using a color temperature zone according to an embodiment of the present invention.
도 4를 참조하면, 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 방법에서 이미지 센서로부터 입력 받은 영상정보에 대한 보간 방법을 적용하여 픽셀에 RGB 값을 모두 갖도록 가우시안 필터값 및 평균 필터값을 이용하는 것 을 알 수 있다.Referring to FIG. 4, in the method of detecting color temperature using a color temperature zone, a Gaussian filter value and an average filter value are applied to all pixels to have RGB values by applying an interpolation method for image information received from an image sensor. It can be seen that using.
중심에 위치한 R 픽셀의 경우에 있어서, 해당 픽셀은 R 값만을 가지고 있으나, 보간 방법을 적용하여 RGB 값을 모두 가질 수 있다. R 값은 가우시안 필터를 적용하여 5X5 범위의 중심에 위치한 R5 값에는 가중치 4를 곱하고, 중심에서 가까이 위치한 R2, R4, R6 및 R8 값에는 가중치 2를 곱하여 계산할 수 있을 것이다. G 값의 경우에 Gr(G1~G6)과 Gb(G7~G12)를 구별하여 계산할 수 있으며, 구별하지 아니하고 계산할 수도 있다. 따라서 G 값은 비교적 중심에 위치한 G3, G4, G8 및 G9에는 가중치 2를 곱하여 계산할 수 있을 것이다. 또한, B 값의 경우에는 가우시안 필터가 아닌 평균 필터를 이용하여 B1, B2, B3 및 B4에게 동일한 가중치를 적용하여 계산할 수 있을 것이다.In the case of a centrally located R pixel, the pixel has only an R value, but may have both RGB values by applying an interpolation method. The R value can be calculated by applying a Gaussian filter by multiplying the value of R5 at the center of the 5X5 range by 4 and the weight of 2 at the R2, R4, R6, and R8 values near the center. In the case of the G value, Gr (G1 ~ G6) and Gb (G7 ~ G12) can be distinguished and calculated. Therefore, the G value can be calculated by multiplying the weights 2 by the relatively centered G3, G4, G8 and G9. In addition, in the case of the B value, it may be calculated by applying the same weight to B1, B2, B3, and B4 using the average filter, not the Gaussian filter.
다시 도 3을 참조하면, 다음으로, 상기 픽셀이 상기 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계에 의하여 형성된 색온도구역에 포함되는지 여부가 판단되는 단계(S220)는 영상정보를 구성하는 각각의 픽셀이 상기 색온도구역에 포함되는지 여부를 판단하여 해당 광원의 픽셀 카운터를 증가시키는 것일 수 있다. 더불어 상기 색온도구역에 포함되는 픽셀의 RGB 값을 모두 더하여 평균값을 계산하는 것일 수 있다. 여기에서, 상기 3차원 좌표 공간을 구성하는 3개의 좌표축은 RGB 값, YCrCb 값 및 YUV 값 중의 어느 하나의 값에 의하여 표현되는 것을 특징으로 하는 것일 수 있으며, 상기 픽셀이 상기 색온도구역에 포함되는지 여부가 판단되는 단계에서 상기 픽셀의 3개의 좌표값이 상기 색온도 구역을 표현하는 공간도형의 3개의 좌표값의 최소값 내지 최대값 사이에 포함되는지를 비교하여 포함여부가 판단되는 것을 특징으로 하는 것일 수 있다.Referring back to FIG. 3, next, the pixel is configured to set a color temperature reference line indicating a characteristic of the color temperature in the three-dimensional coordinate space and the color temperature zone including the color temperature reference line and configured with a plurality of spatial figures. In operation S220, it may be determined whether each pixel constituting the image information is included in the color temperature zone to increase the pixel counter of the corresponding light source. In addition, the average value may be calculated by adding all RGB values of pixels included in the color temperature region. Here, the three coordinate axes constituting the three-dimensional coordinate space may be represented by any one of an RGB value, a YCrCb value, and a YUV value, and whether the pixel is included in the color temperature zone. In the step of determining whether the three coordinate values of the pixel is included between the minimum value and the maximum value of the three coordinate values of the spatial diagram representing the color temperature zone can be characterized in that inclusion is determined. .
예를 들면, 색온도구역을 표현하는 하나의 직육면체가 R축에서 9 ≤ r ≤ 11을 만족하고, G축에서 4 ≤ g ≤ 6을 만족하며, B축에서 15 ≤ r ≤ 16을 만족하는 경우에, 해당 픽셀의 RGB 값이 (10,5,15)에 해당한다면, 상기 직육면체로 표현되는 색온도구역에 포함되는 것이며, 해당 광원의 픽셀 카운터를 하나 증가시키고, 해당 광원의 RGB 평균값에 해당 픽셀의 RGB 값인 (10,5,15)을 반영하는 것일 수 있다.For example, when one rectangular parallelepiped representing a color temperature zone satisfies 9 ≦ r ≦ 11 in the R axis, 4 ≦ g ≦ 6 in the G axis, and 15 ≦ r ≦ 16 in the B axis. If the RGB value of the corresponding pixel corresponds to (10,5,15), it is included in the color temperature zone represented by the rectangular parallelepiped, and increases the pixel counter of the corresponding light source by one, and the RGB average value of the corresponding pixel to the RGB average value of the corresponding light source. It may reflect the value (10,5,15).
다음으로, 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계(S230)는 상기 광원마다의 색온도구역에 포함된 픽셀 카운터를 비교하여 가장 많은 수의 픽셀 카운터를 가진 광원을 선택하고, 상기 광원에 해당하는 색온도를 결정하는 것일 수 있다. 여기에서, 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계는 픽셀의 수가 많은 순서로 선택된 다수의 색온도를 이용하여 색온도가 결정되는 것을 특징으로 하는 것일 수 있다. 즉, 광원으로 하나를 선택하는 것을 포함하여 상기 색온도구역에 포함되는 픽셀 카운터가 큰 두 개 또는 세 개의 광원을 선택하는 것일 수 있다. 이 경우에는 선택된 광원의 RGB 평균값을 다시 평균값을 취하여 색온도를 결정하는 것일 수 있다.Next, in the step S230 of determining the color temperature of the provided image information by using the number of pixels included in the color temperature zone, the pixel counter included in the color temperature zone of each light source is compared with the largest number of pixels. Selecting a light source having a counter, it may be to determine the color temperature corresponding to the light source. Here, the step of determining the color temperature for the provided image information by using the number of pixels included in the color temperature zone is characterized in that the color temperature is determined using a plurality of color temperatures selected in order of the number of pixels. Can be. That is, the pixel counter included in the color temperature zone may be selected to include two or three light sources including one selected as a light source. In this case, the color temperature may be determined by taking the average of the RGB average values of the selected light source again.
예를 들면, 하나의 광원만을 선택한 경우에는 해당 RGB 평균값에 해당하는 색온도를 해당 영상정보에 대한 색온도로 정할 수 있으며, 세 개의 광원을 선택한 경우에는 가장 많은 픽셀 카운터를 가진 광원의 RGB 평균값에 가장 많은 가중치를 두고, 두 번째 많은 픽셀 카운터를 가진 광원의 RGB 평균값에는 중간 정도의 가중치를 두어 선택된 광원 전체의 RGB 평균값을 구한 후, RGB 값에 해당하는 색온도를 해당 영상정보에 대한 색온도로 정할 수 있을 것이다.For example, when only one light source is selected, the color temperature corresponding to the corresponding RGB average value may be determined as the color temperature for the corresponding image information. When three light sources are selected, the color temperature corresponding to the RGB average value of the light source having the most pixel counter is the most. With the weighted value, the RGB average value of the light source with the second large pixel counter is given a medium weight to obtain the RGB average value of the entire selected light source, and the color temperature corresponding to the RGB value may be determined as the color temperature for the corresponding image information. .
도 5는 본 발명의 일 실시예에 따른 색온도구역을 이용한 촬상 장치를 설명하기 위한 블록도이다.5 is a block diagram illustrating an image capturing apparatus using a color temperature zone according to an exemplary embodiment of the present invention.
도 5를 참조하면, 본 발명의 일 실시예에 따른 색온도구역을 이용한 촬상 장치(500)는 색온도 검출 방법을 수행하는 촬상 장치에 있어서, 피사체에 상응하는 영상정보를 제공하기 위한 이미지 센서(510); 상기 이미지 센서로부터 제공받은 영상정보를 구성하는 적어도 하나의 픽셀이 3차원 좌표 공간의 좌표값으로 표현되는 단계, 상기 픽셀이 상기 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계에 의하여 형성된 색온도구역에 포함되는지 여부가 판단되는 단계 및 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계를 포함하여 구성되는 색온도 검출 방법을 실행하기 위한 색온도 검출부(520); 상기 검출된 색온도를 이용하여 상기 영상정보에 대하여 화이트 밸런스 조정을 실행하는 이미지 처리부(530); 상기 색온도구역, 상기 색온도구역에 포함되는 픽셀의 수 및 영상정보를 저장하기 위한 저장부(540); 및 상기 화이트 밸런스 조정된 후의 영상정보를 출력하기 위한 출력 부(550)를 포함하여 구성될 수 있다.Referring to FIG. 5, in the
먼저, 피사체에 상응하는 영상정보를 제공하기 위한 이미지 센서(510)는 피사체에 빛이 반사되어 이미지 센서로 전달되는 영상정보 즉, 가시광선 영역의 반사파로 이루어진 영상정보를 픽셀 단위의 정보로 입력 받는 것일 수 있다. 이미지 센서로부터 입력되는 영상정보는 색온도 검출의 대상이 될 수 있다.First, the
다음으로, 상기 이미지 센서로부터 제공받은 영상정보를 구성하는 적어도 하나의 픽셀이 3차원 좌표 공간의 좌표값으로 표현되는 단계, 상기 픽셀이 상기 3차원 좌표 공간에서 색온도의 특성을 나타내는 색온도기준선이 설정되는 단계 및 상기 색온도기준선을 포함하며, 다수의 공간도형으로 구성되는 색온도구역이 설정되는 단계에 의하여 형성된 색온도구역에 포함되는지 여부가 판단되는 단계 및 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도가 결정되는 단계를 포함하여 구성되는 색온도 검출 방법을 실행하기 위한 색온도 검출부(520)는 상술한 바와 같이, 색온도 검출 방법을 통하여 상기 이미지 센서로부터 제공받은 영상정보에 대한 색온도를 검출하는 것이다. 여기에서, 상기 3차원 좌표 공간을 구성하는 3개의 좌표축은 RGB 값, YCrCb 값 및 YUV 값 중의 어느 하나의 값에 의하여 표현되는 것을 특징으로 할 수 있으며, 상기 픽셀의 3개의 좌표값이 상기 색온도 구역을 표현하는 공간도형의 3개의 좌표값의 최소값 내지 최대값 사이에 포함되는지를 비교하여 상기 픽셀이 상기 색온도구역에 포함되는지 여부가 판단되는 것일 수 있으며, 상기 색온도구역에 포함되는 픽셀의 수를 이용하여 상기 제공받은 영상정보에 대한 색온도를 결정하는 경우에 픽셀의 수가 많은 순서 로 선택된 다수의 색온도를 이용하여 색온도가 결정되는 것일 수 있다.Next, at least one pixel constituting the image information provided from the image sensor is represented by a coordinate value of a three-dimensional coordinate space, the color temperature reference line is set to indicate that the pixel is a characteristic of the color temperature in the three-dimensional coordinate space And determining whether the color temperature zone including the color temperature reference line and including the color temperature reference line is included in the color temperature zone formed by setting the color temperature zone and the number of pixels included in the color temperature zone. The color
다음으로, 상기 검출된 색온도를 이용하여 상기 영상정보에 대하여 화이트 밸런스 조정을 실행하는 이미지 처리부(530)는 상기 색온도 검출부(520)에서 검출된 색온도를 반영하여 표준위치의 색온도와의 차이 값을 보상하여주는 것이다. 이에 따라, 영상정보에 대한 화이트 밸런스를 맞출 수 있게 되는 것이다.Next, the
다음으로, 상기 색온도구역, 상기 색온도구역에 포함되는 픽셀의 수 및 영상정보를 저장하기 위한 저장부(540)는 색온도구역에 대한 정보를 저장하고, 색온도구역에 포함되는 픽셀의 수 즉, 픽셀 카운터를 저장하며, 색온도구역에 포함되는 픽셀의 RGB 평균값을 저장하며, 영상정보를 구성하는 픽셀의 값을 저장하는 것일 수 있다.Next, the
다음으로, 상기 화이트 밸런스 조정된 후의 영상정보를 출력하기 위한 출력부(550)는 영상정보에 화이트 밸런스 조정된 후의 영상정보를 화면 및 문서 등으로 출력하기 위한 장치일 수 있다. 예를 들면, 디지털 카메라의 LCD 화면 등이 상기 출력부(550)에 해당할 수 있을 것이다.Next, the
도 6은 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 및 화이트 밸런스를 설명하기 위한 개념도이다.6 is a conceptual diagram for explaining color temperature detection and white balance using a color temperature zone according to an embodiment of the present invention.
도 6을 참조하면, 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 및 화이트 밸런스는 이미지 센서를 통한 영상정보에 대하여 픽셀 단위의 보간(Interpolation) 방법을 이용하여 3차원 좌표 공간에 표현되는 RGB 값으로 표 현할 수 있다. 이어서, 해당 영상정보의 각각의 픽셀마다 미리 설정해 둔 색온도구역의 공간에 포함되는지 여부를 판단하게 된다. 여기에서, 색온도구역은 광원마다 설정될 수 있는 것이므로 미리 설정해 둔 색온도구역 정보는 적어도 하나의 색온도구역을 가질 수 있을 것이다. 영상정보를 구성하는 각각의 픽셀이 특정의 색온도구역에 포함되는지 여부를 판단하여, 포함되는 경우에 해당 광원의 색온도구역에 해당하는 픽셀 카운터를 증가시키며, 해당 픽셀의 RGB 값을 해당 광원의 색온도구역의 RGB 평균값에 반영한다. 이어서, 픽셀 카운터가 가장 많은 하나 또는 픽셀 카운터가 많은 여러 개의 광원을 선택하고, 평균 또는 가중치를 주어 RGB 값을 다시 계산한다. 계산된 RGB 값을 이용하여 해당 광원의 색온도를 검출한다. 이어서, 검출된 색온도를 이용하여 영상정보에 대한 화이트 밸런스 조정을 하여 화면 등을 통하여 영상정보를 표시하게 된다.Referring to FIG. 6, color temperature detection and white balance using a color temperature zone according to an embodiment of the present invention are expressed in a three-dimensional coordinate space using an interpolation method of pixel units for image information through an image sensor. It can be expressed as an RGB value. Subsequently, it is determined whether each pixel of the corresponding image information is included in a space of a preset color temperature zone. Here, since the color temperature zone may be set for each light source, the preset color temperature zone information may have at least one color temperature zone. It is determined whether each pixel constituting the image information is included in a specific color temperature zone, and if included, the pixel counter corresponding to the color temperature zone of the corresponding light source is increased, and the RGB value of the pixel is converted to the color temperature zone of the corresponding light source. Reflect on the RGB average value. Subsequently, one with the largest number of pixel counters or several light sources with many pixel counters are selected and given an average or weight to recalculate the RGB values. The color temperature of the corresponding light source is detected using the calculated RGB value. Subsequently, the white balance is adjusted for the image information using the detected color temperature to display the image information through a screen or the like.
이상 실시예를 참조하여 설명하였지만, 해당 기술분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although described with reference to the above embodiments, those skilled in the art will understand that various modifications and changes can be made without departing from the spirit and scope of the invention as set forth in the claims below. Could be.
도 1은 본 발명의 일 실시예에 따른 색온도구역 설정 방법을 설명하기 위한 흐름도이다.1 is a flowchart illustrating a method for setting a color temperature zone according to an embodiment of the present invention.
도 2는 본 발명의 일 실시예에 따른 광원에 따른 색온도구역 설정의 예시도이다.2 is an exemplary view of setting a color temperature zone according to a light source according to an embodiment of the present invention.
도 3은 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 방법을 설명하기 위한 흐름도이다.3 is a flowchart illustrating a color temperature detection method using a color temperature zone according to an embodiment of the present invention.
도 4는 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 방법에서 보간(Interpolation) 방법을 설명하기 위한 개념도이다.4 is a conceptual diagram illustrating an interpolation method in a color temperature detection method using a color temperature zone according to an embodiment of the present invention.
도 5는 본 발명의 일 실시예에 따른 색온도구역을 이용한 촬상 장치를 설명하기 위한 블록도이다.5 is a block diagram illustrating an image capturing apparatus using a color temperature zone according to an exemplary embodiment of the present invention.
도 6은 본 발명의 일 실시예에 따른 색온도구역을 이용한 색온도 검출 및 화이트 밸런스를 설명하기 위한 개념도이다.6 is a conceptual diagram for explaining color temperature detection and white balance using a color temperature zone according to an embodiment of the present invention.
< 도면의 주요부분에 대한 부호의 설명 >Description of the Related Art
510: 이미지 센서 520: 색온도 검출부510: image sensor 520: color temperature detector
530: 이미지 처리부 540: 저장부530: Image processing unit 540: Storage unit
550: 출력부550: output unit
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080135243A KR100999887B1 (en) | 2008-12-29 | 2008-12-29 | Method of setup Color Zone, Method of Color Temperature Detection using Color Zone, Recording Media of the same and Image Apparatus of performing the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080135243A KR100999887B1 (en) | 2008-12-29 | 2008-12-29 | Method of setup Color Zone, Method of Color Temperature Detection using Color Zone, Recording Media of the same and Image Apparatus of performing the same |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100077327A KR20100077327A (en) | 2010-07-08 |
KR100999887B1 true KR100999887B1 (en) | 2010-12-09 |
Family
ID=42638699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080135243A KR100999887B1 (en) | 2008-12-29 | 2008-12-29 | Method of setup Color Zone, Method of Color Temperature Detection using Color Zone, Recording Media of the same and Image Apparatus of performing the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100999887B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113691716B (en) * | 2021-08-26 | 2023-07-11 | 维沃移动通信有限公司 | Image sensor, image processing method, image processing device, electronic apparatus, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002027491A (en) | 2000-06-30 | 2002-01-25 | Ricoh Co Ltd | Image input unit, white balance adjusting method, and computer readable recording medium storing program for executing the method |
KR100566564B1 (en) | 2005-04-25 | 2006-03-31 | 엠텍비젼 주식회사 | Method and apparatus for detecting color temperature |
JP2006174281A (en) | 2004-12-17 | 2006-06-29 | Canon Inc | Image processing apparatus, method, and computer program |
JP2008035069A (en) | 2006-07-27 | 2008-02-14 | Matsushita Electric Ind Co Ltd | Video signal processor |
-
2008
- 2008-12-29 KR KR1020080135243A patent/KR100999887B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002027491A (en) | 2000-06-30 | 2002-01-25 | Ricoh Co Ltd | Image input unit, white balance adjusting method, and computer readable recording medium storing program for executing the method |
JP2006174281A (en) | 2004-12-17 | 2006-06-29 | Canon Inc | Image processing apparatus, method, and computer program |
KR100566564B1 (en) | 2005-04-25 | 2006-03-31 | 엠텍비젼 주식회사 | Method and apparatus for detecting color temperature |
JP2008035069A (en) | 2006-07-27 | 2008-02-14 | Matsushita Electric Ind Co Ltd | Video signal processor |
Also Published As
Publication number | Publication date |
---|---|
KR20100077327A (en) | 2010-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5918915B2 (en) | Method and device for creating an improved color image using a sensor having a color filter | |
JP5904213B2 (en) | Image processing apparatus, image processing method, and program | |
JP4378746B2 (en) | Digital image sensor and method capable of detecting defective pixels | |
TWI468021B (en) | Image sensing device and method for image capture using luminance and chrominance sensors | |
CN107532999B (en) | Passive infrared gas imaging based on wavelength bands | |
US8564687B2 (en) | Efficient determination of an illuminant of a scene | |
CN102685511B (en) | Image processing apparatus and image processing method | |
CN111837155A (en) | Image processing method and apparatus | |
US10778915B2 (en) | Dual-aperture ranging system | |
US20190139189A1 (en) | Image remosaicing | |
US8374433B2 (en) | Apparatus, method, and manufacture for correcting color shading in CMOS image sensors | |
CN108537846B (en) | Camera calibration method and device | |
EP1976308B1 (en) | Device and method for measuring noise characteristics of image sensor | |
CN106817543B (en) | Processing apparatus, processing system, image pickup apparatus, and processing method | |
KR100999887B1 (en) | Method of setup Color Zone, Method of Color Temperature Detection using Color Zone, Recording Media of the same and Image Apparatus of performing the same | |
KR100999883B1 (en) | Method of setup Color Zone, Method of Color Temperature Detection using Color Zone, Recording Media of the same and Image Apparatus of performing the same | |
US11134203B2 (en) | Processing circuit analyzing image data and generating final image data | |
JP6818403B2 (en) | Optical property measuring device | |
JP4985264B2 (en) | Object identification device | |
TW202001792A (en) | A method for detecting motion in a video sequence | |
JP2005309651A (en) | Shading processor and shading processing method for imaging element and imaging device | |
JP2020112981A (en) | Detection device, information processing device, detection method, detection program, and detection system | |
JPH11304589A (en) | Ambient light measuring system | |
WO2021104648A1 (en) | Illumination measurement with distance based weighting | |
US10964042B2 (en) | Detection device, method and storage medium for optically detecting distance from a single viewpoint to an object |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20131127 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20151127 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20171128 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20181126 Year of fee payment: 9 |