KR101428074B1 - Camera module and method for color control - Google Patents

Camera module and method for color control Download PDF

Info

Publication number
KR101428074B1
KR101428074B1 KR1020080051579A KR20080051579A KR101428074B1 KR 101428074 B1 KR101428074 B1 KR 101428074B1 KR 1020080051579 A KR1020080051579 A KR 1020080051579A KR 20080051579 A KR20080051579 A KR 20080051579A KR 101428074 B1 KR101428074 B1 KR 101428074B1
Authority
KR
South Korea
Prior art keywords
color
camera module
gain factor
value
output
Prior art date
Application number
KR1020080051579A
Other languages
Korean (ko)
Other versions
KR20090125456A (en
Inventor
서필기
Original Assignee
엘지이노텍 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지이노텍 주식회사 filed Critical 엘지이노텍 주식회사
Priority to KR1020080051579A priority Critical patent/KR101428074B1/en
Publication of KR20090125456A publication Critical patent/KR20090125456A/en
Application granted granted Critical
Publication of KR101428074B1 publication Critical patent/KR101428074B1/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

본 발명의 실시 예는 카메라모듈 및 색상 제어 방법에 관한 것으로서, 각 카메라모듈에 저장된 최적의 컬러 이득 인자를 이용함으로써, 불량 카메라모듈을 개선시키는 특징이 있다. 본 발명의 실시 예는 제조된 카메라모듈에서 정상 기준의 색상을 출력하도록 셋팅된 컬러 이득 인자를 상기 카메라모듈 내의 메모리에 저장하는 제1과정과, 본체의 제어에 의해 상기 카메라모듈이 구동이 이루어질 때, 상기 본체가 상기 메모리에 저장된 컬러 이득 인자를 읽어오는 제2과정과, R,G,B 색상 출력을 조절하는 컬러 제어 레지스터에 상기 읽어온 컬러 이득 인자로서 설정하는 제3과정을 포함한다.Embodiments of the present invention relate to a camera module and a color control method, and are characterized in that a defective camera module is improved by using an optimal color gain factor stored in each camera module. The first embodiment of the present invention is a method for controlling a camera module, comprising the steps of: storing a color gain factor set to output a color of a normal reference in a manufactured camera module in a memory in the camera module; A second step of the main body reading the color gain factor stored in the memory, and a third step of setting the read color gain factor in the color control register for controlling the R, G, B color output.

카메라모듈, 이미지센서, 컬러, 색상, 이득, 게인, 보정, 메모리 Camera module, image sensor, color, color, gain, gain, correction, memory

Description

카메라모듈 및 색상 제어 방법{Camera module and method for color control}Camera module and method for color control

본 발명의 실시 예는 카메라모듈 및 색상 제어 방법에 관한 것이다.An embodiment of the present invention relates to a camera module and a color control method.

최근 들어 디지털 카메라(digital camera)는 인터넷을 이용한 영상통신의 발전과 더불어 그 수요가 폭발적으로 증가하고 있는 추세에 있다. 더욱이, 카메라가 장착된 PDA(Personal Digital Assistant), IMT-2000(International MobileTelecommunications-2000), CDMA(Code Division Multiple Access) 단말기 등과 같은 이동통신단말기의 보급이 증가됨에 카메라모듈의 수요가 증가하고 있다.In recent years, the demand for digital cameras has been exploding with the development of video communication using the Internet. In addition, the demand for camera modules is increasing due to an increase in the popularity of mobile communication terminals such as PDAs (Personal Digital Assistants), IMT-2000 (International Mobile Telecommunication-2000), CDMA (Code Division Multiple Access)

도 1은 각 카메라모듈의 제조 후 테스트한 출력 화상을 도시한 사진인데, 정상 기준을 가지는 카메라모듈의 경우 도 1(a)와 같이 출력된다. 그러나, 이미지 센서의 이상으로 인해 출력 화상이 도 1(a)의 기준에 못 미치는 카메라모듈의 경우, 도 1(b), 도 1(c)와 같이 도 1(a)와 다른 색상 톤으로 출력된다. 즉, 정상 기준을 가지는 도 1(a)의 카메라모듈의 출력 화상은 전체적으로 회색 톤을 갖는다고 할 때, 정상 기준에 못 미치는 도 1(b)는 전체적으로 블루 톤을 가지며, 마찬가지로 정상 기준에 못미치는 도 1(c)는 전체적으로 엘로우 톤을 가지고 있음을 알 수 있다.FIG. 1 is a photograph showing output images that have been tested after the manufacture of each camera module. In the case of a camera module having a normal reference, the output is as shown in FIG. 1 (a). However, in the case of a camera module in which the output image is less than the reference in FIG. 1 (a) due to the abnormality of the image sensor, do. That is, when the output image of the camera module of FIG. 1 (a) having the normal reference has a gray tone as a whole, FIG. 1 (b) which is lower than the normal reference has a blue tone as a whole, It can be seen that FIG. 1 (c) has an overall tone.

상기와 같이 카메라모듈의 경우 출력 화상에서 각 카메라모듈 내의 이미지 센서에 따른 색상 차이가 발생할 수 있는데, 이렇게 정상 기준에 미치지 못하는 카메라모듈의 경우 불량모듈로 처리되어야 하는 문제가 있다.As described above, in the case of the camera module, a color difference may occur depending on the image sensor in each camera module in the output image. In the case of the camera module which does not meet the normal standard, there is a problem that it is processed as a bad module.

본 발명의 실시 예는 불량 카메라 모듈의 경우에도 정상 기준의 색상을 출력하도록 한다.The embodiments of the present invention allow the hue of the normal camera to be output even in the case of the defective camera module.

본 발명의 실시 예는, 렌즈로부터 입사되는 광학 영상을 R,G,B 컬러의 전기 신호로 변환하는 이미지 센서와, R,G,B 색상의 출력값을 조절하는 컬러 이득 인자의 설정에 따라 상기 이미지 센서에서 출력되는 R,G,B 색상의 출력을 달리하는 컬러 제어 레지스터와, 각 카메라모듈마다 정상 기준의 색상을 출력하도록 셋팅된 컬 러 이득 인자를 저장한 메모리를 포함한다.According to an embodiment of the present invention, there is provided an image processing apparatus including an image sensor for converting an optical image incident from a lens into electrical signals of R, G and B colors, A color control register that outputs different colors of R, G, and B colors output from the sensor, and a memory that stores a color gain factor set to output a color of a normal reference for each camera module.

상기 메모리는, EEPROM 메모리 또는 OTP 메모리로 구현된다.The memory is implemented as an EEPROM memory or an OTP memory.

또한, 본 발명의 실시 예는, 제조된 카메라모듈에서 정상 기준의 색상을 출력하도록 셋팅된 컬러 이득 인자를 상기 카메라모듈 내의 메모리에 저장하는 제1과정과, 본체의 제어에 의해 상기 카메라모듈이 구동이 이루어질 때, 상기 본체가 상기 메모리에 저장된 컬러 이득 인자를 읽어오는 제2과정과, R,G,B 색상 출력을 조절하는 컬러 제어 레지스터에 상기 읽어온 컬러 이득 인자로서 설정하는 제3과정을 포함한다.According to another aspect of the present invention, there is provided a camera module, comprising: a first step of storing a color gain factor set to output a color of a normal reference in a manufactured camera module in a memory in the camera module; A second step of the main body reading the color gain factor stored in the memory, and a third step of setting the color gain factor as the read color gain factor in the color control register for adjusting the R, G, B color output do.

상기 제1과정은, 카메라모듈 내의 상기 컬러 제어 레지스터에 초기값으로 초기화 설정하는 과정과, 상기 카메라모듈의 출력 화상의 색상값을 측정하는 과정과, 정상 카메라모듈에서 출력 예상되는 정상 기준 색상값과 상기 출력 화상의 색상값 간에 차이가 있는지를 비교하는 과정과, 상기 차이의 유무에 따라 색상의 출력값을 조절하는 컬러 이득 인자를 달리하여 상기 메모리에 저장하는 과정을 포함한다.The method includes the steps of setting initialization values to initial values in the color control register in a camera module, measuring a color value of an output image of the camera module, Comparing the color values of the output image with each other, and storing the color gain factors for adjusting the output values of the colors in the memory in accordance with the presence or absence of the difference.

상기 메모리에 저장하는 과정은, 상기 정상 기준 색상값과 상기 출력 화상의 색상값이 차이가 없는 경우라면 상기 초기값으로 한 컬러 이득 인자를 상기 메모리에 저장하며, 상기 정상 기준 색상값과 상기 출력 화상의 색상값이 차이가 있는 경우라면 상기 정상 기준 색상을 가지도록 컬러 이득 인자를 보정한 후 저장함을 특징으로 한다.Wherein the step of storing in the memory stores a color gain factor as the initial value in the memory if the normal reference color value and the color value of the output image are not different from each other, The color gain factor is corrected so as to have the normal reference color, and then the color gain factor is stored.

상기 보정은, 출력 화상의 색상값이 기준 색상값보다 클 경우에는 이에 반비례하여 컬러 이득 인자를 보정함을 특징으로 한다.When the color value of the output image is larger than the reference color value, the color gain factor is corrected in inverse proportion to the color value of the output image.

본 발명의 실시 예는 각 카메라모듈에 저장된 최적의 컬러 이득 인자를 이용함으로써 불량 카메라모듈을 개선 시킬 수 있는 효과가 있다. The embodiment of the present invention has an effect of improving the defective camera module by using the optimum color gain factor stored in each camera module.

이하, 본 발명의 실시 예들의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 하기에서 각 도면의 구성요소들에 참조부호를 부가함에 있어 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다.Hereinafter, a detailed description of embodiments of the present invention will be described with reference to the accompanying drawings. It should be noted that the same reference numerals are used to denote the same or similar components in the drawings.

도 2는 본 발명의 실시 예에 따라 메모리에 저장된 컬러 이득 인자를 이용하여 컬러 제어 레지스터를 설정받는 카메라모듈의 블록도를 도시한 그림이다.2 is a block diagram of a camera module that sets a color control register using a color gain factor stored in a memory according to an embodiment of the present invention.

카메라모듈(20)은 기본적으로 이미지 센서(22)를 포함한다. 일반적으로, 이미지 센서(22)라 함은 렌즈(21)로부터 입사되는 광학 영상(optical image)을 R,G,B 컬러의 전기 신호로 변환시키는 소자를 말한다. 이러한 이미지 센서는 각각 특성의 편차가 존재할 수 있기 때문에, 카메라모듈(20)은 종래 기술에 도시한 도 1(b), 도 1(c)의 사진과 같이 정상 기준에 못 미치는 색상을 출력할 수 있다.The camera module 20 basically includes an image sensor 22. Generally, the image sensor 22 refers to an element that converts an optical image incident from the lens 21 into electrical signals of R, G, and B colors. Since these image sensors may have variations in their characteristics, the camera module 20 is capable of outputting a color that is less than the normal reference as shown in Figs. 1 (b) and 1 (c) have.

이러한 현상에는, 센서 액티브 셀(sensor active cell), 마이크로 렌즈 시프트(micro lens shift), 적외선 컷 필터(IR-cut filter), 컬러 이득 불균형(color gain imbalance) 등의 여러 요인이 존재하지만, 무엇보다 컬러 이득 인자(color gain factor)의 영향이 크다 할 수 있다. 상기 컬러 이득 인자는 레드 색상 출력의 이득 크기를 나타내는 레드 이득 인자(Rf;red gain factor), 그린 색상 출력의 이득 크기를 나타내는 그린 이득 인자(Gf;green gain factor), 블루 색상 출력의 이득 크기를 나타내는 블루 이득 인자(Bf;blue gain factor)를 포함한다.There are various factors such as a sensor active cell, a micro lens shift, an IR-cut filter, and a color gain imbalance. The influence of the color gain factor may be large. The color gain factor may be a red gain factor (R f ) representing the gain magnitude of the red color output, a green gain factor (G f ) representing the gain magnitude of the green color output, includes; (blue gain factor B f) blue gain factor representing the magnitude.

본 발명의 실시 예는 각 카메라모듈(20)마다 정상 기준의 색상을 출력할 수 있도록 하는 최적의 컬러 이득 인자를 산출하여 카메라모듈 내의 메모리(24)에 저장한 후, 본체(30)의 제어에 의해 카메라모듈(20)의 구동이 이루어질 때 상기 메모리(24)에 저장된 컬러 이득 인자를 읽어와서 카메라모듈 내의 컬러 제어 레지스터(23)에 설정한다. In the embodiment of the present invention, the optimum color gain factor for outputting the hue of the normal reference for each camera module 20 is calculated, stored in the memory 24 in the camera module, The color gain factor stored in the memory 24 is read and set in the color control register 23 in the camera module when the camera module 20 is driven.

따라서 각 카메라모듈(20)은 자체의 컬러 이득 인자로서 컬러 제어 레지스터에 설정되기 때문에, 각 카메라모듈(20)의 이미지 센서(22)의 불량 특성에도 불구하고 동일한 정상 기준의 색상을 출력할 수 있다.Therefore, since each camera module 20 is set in the color control register as its own color gain factor, it can output the same normal reference color despite the failure characteristics of the image sensor 22 of each camera module 20 .

상기 컬러 제어 레지스터(23)는 R,G,B의 색상 이득 설정에 따라 이미지 센서에서 출력되는 R,G,B 색상의 출력을 달리 제어하는 레지스터이다.The color control register 23 is a register that controls the outputs of the R, G, and B colors output from the image sensor according to the R, G, and B color gain settings.

메모리(24)는 각 카메라모듈 내에 구비되어 있어 정상 기준의 색상을 출력하도록 셋팅된 컬러 이득 인자가 저장되어 있는데, EEPROM(Electrically Erasable and Programmable Read Only Memory) 메모리 또는 1회 프로그램이 가능한 OTP(One Time Programmable) 메모리와 같은 비휘발성 메모리로 구현된다.The memory 24 is provided in each camera module and stores a color gain factor set to output a hue of a normal reference. The memory 24 stores an EEPROM (Electrically Erasable and Programmable Read Only Memory) memory or an OTP Programmable memory).

도 3은 본 발명의 실시 예에 따라 카메라모듈 내에 저장된 컬러 이득 인자를 읽어와서 색상 제어하는 과정을 도시한 플로차트이다.3 is a flowchart illustrating a process of reading a color gain factor stored in a camera module and performing color control according to an embodiment of the present invention.

카메라모듈이 제조되어 카메라폰, 디지털카메라 등의 본체에 장착되기 전에, 제조된 카메라모듈의 특성에 따른 컬러 이득 인자(레드 이득 인자, 그린 이득 인자, 블루 이득 인자)를 테스트를 거쳐 산출하여 이를 메모리에 저장하는 과정(S31)을 가진다.Before the camera module is manufactured and mounted on a main body of a camera phone or a digital camera, a color gain factor (red gain factor, green gain factor, and blue gain factor) according to the characteristics of the manufactured camera module is tested, (Step S31).

상기 컬러 이득 인자는 레드 이득 인자(Rf), 그린 이득 인자(Gf), 블루 이득 인자(Bf)로서 구분될 수 있는데, 상기 컬러 이득 인자는 카메라모듈에서 정상 기준의 색상을 출력하도록 셋팅된 값으로서, 각 카메라모듈에 따라 서로 상이한 값을 가질 수 있다. The color gain factor may be set as a red gain factor (R f ), a green gain factor (G f ), and a blue gain factor (B f ) And may have different values from each other depending on each camera module.

정상적으로 제조된 정상 카메라모듈의 경우 기준이 되는 초기값인 컬러 이득 인자로서 메모리에 저장되지만, 다른 불량으로 판정된 제1불량 카메라모듈, 제2불량 카메라모듈의 경우에는 기준 컬러 이득 인자와 다른 컬러 이득 인자로서 메모리에 저장된다.In the case of the first bad camera module and the second bad camera module that are stored in the memory as a color gain factor that is a reference initial value in the case of a normally manufactured camera module, It is stored in memory as an argument.

예컨대, 각 카메라모듈에서 정상 기준의 색상을 출력하도록 하기 위하여, 정상 카메라모듈의 메모리에는 레드 이득 인자(Rf), 그린 이득 인자(Rf), 블루 이득 인자(Rf)가 각각 Ox10으로 동일하게 저장될 수 있으며,제1불량 카메라모듈의 메모리에는 레드 이득 인자(Rf)가 Ox10, 그린 이득 인자(Gf)가 Ox10, 블루 이득 인자(Bf)가 Ox05로 저장될 수 있으며, 제2불량 카메라모듈의 메모리에는 레드 이득 인자(Rf) 가 Ox05, 그린 이득 인자(Gf)가 Ox05, 블루 이득 인자(Bf)가 Ox10으로 저장될 수 있다.For example, in order to output the color of the normal reference in each camera module, the red gain factor (R f ), the green gain factor (R f ), and the blue gain factor (R f ) The red gain factor R f may be stored as Ox 10, the green gain factor G f may be stored as Ox 10, and the blue gain factor B f may be stored as Ox 05 in the memory of the first defective camera module, The red gain factor R f may be stored as 0x05, the green gain factor G f may be stored as Ox05, and the blue gain factor B f may be stored as Ox10 in the memory of the defective camera module.

상기 카메라모듈의 컬러 이득 인자 저장 과정을 도 4의 플로차트에 상세히 기술하였는데, 이러한 상세 과정은 도 4의 플로차트와 함께 후술한다.The color gain factor storing process of the camera module has been described in detail with reference to the flowchart of FIG. 4. This detailed process will be described later with the flowchart of FIG.

컬러 이득 인자 저장 과정(S31)이 있은 후, 상기 카메라모듈이 폰카메라, 디지털카메라와 같은 본체에 결합되어 본체 제어에 따라 카메라 모듈의 구동(S32)이 일어나게 되면, 본체는 상기 메모리에 저장된 컬러 이득 인자를 읽어오는 과정(S33)을 가진다.After the color gain factor storing step S31, when the camera module is coupled to a main body such as a phone camera or a digital camera and the driving of the camera module (S32) occurs according to the main body control, the main body stores the color gain And a step of reading the argument (S33).

상기 읽어온 컬러 이득 인자는 해당 카메라모듈 내의 컬러 제어 레지스터에 설정(S34)된다. 예컨대, 정상 카메라모듈의 경우에는 [Rf,Gf,Bf]가 [Ox10,Ox10,Ox10]으로 읽혀지기 때문에 컬러 제어 레지스터 내의 레드 제어 필드, 그린 제어 필드, 블루 제어 필드가 모두 Ox10으로 설정된다. 마찬가지로 제1불량 카메라모듈의 경우 컬러 제어 레지스터는 [Ox10,Ox10,Ox05]로 설정되며, 제2불량 카메라모듈의 경우 컬러 제어 레지스터는 [Ox05,Ox05,Ox05]로 설정된다.The read color gain factor is set in the color control register in the corresponding camera module (S34). For example, since [R f , G f , B f ] is read as [Ox 10, Ox 10, Ox 10] in the normal camera module, the red control field, green control field and blue control field in the color control register are all set to Ox 10 do. Similarly, in the case of the first defective camera module, the color control register is set to [Ox10, Ox10, Ox05], and in the case of the second defective camera module, the color control register is set to [Ox05, Ox05, Ox05].

상기와 같이 각 카메라모듈마다 고유의 컬러 이득 인자로서 컬러 제어 레지스터에 등록되기 때문에, 정상 또는 불량을 가리지 않고 모든 카메라모듈에서 동일한 정상 기준의 색상 출력이 가능하다.As described above, since each camera module is registered in the color control register as a unique color gain factor, it is possible to output the same normal reference color to all camera modules regardless of normal or bad.

도 4는 본 발명의 실시 예에 따라 카메라모듈의 컬러 이득 인자 저장 과정을 도시한 플로차트이다.4 is a flowchart illustrating a process of storing a color gain factor of a camera module according to an embodiment of the present invention.

우선, 카메라모듈이 제조되면 초기값의 컬러 이득 인자를 컬러 제어 레지스터에 설정하는 초기화 설정 과정(S41)을 가진다. 예컨대, 초기값의 컬러 이득 인자의 예로서, 레드 이득 인자, 그린 이득 인자, 블루 이득 인자가 각각 Ox10으로 동일하다고 가정할 경우, 컬러 제어 레지스터 내의 레드 제어 필드, 그린 제어 필드, 블루 제어 필드를 각각 Ox10으로 초기화 설정한다. First, when the camera module is manufactured, it has an initialization setting process (S41) for setting a color gain factor of an initial value in the color control register. For example, assuming that the red gain factor, the green gain factor, and the blue gain factor are equal to Ox10, respectively, as an example of the color gain factor of the initial value, the red control field, green control field, Initialize it with Ox10.

상기 초기화 설정 과정(S41)이후 카메라모듈을 구동하여 출력되는 출력 화상을 디스플레이(S42)한다.After the initialization setting process (S41), the camera module is driven to display an output image outputted (S42).

상기 디스플레이되는 출력 화상에서 R,G,B 각각의 출력 화상의 색상값을 측정(S43)한 후, 정상 기준 색상값과 차이가 있는지를 판단(S44)한다.After the color values of the output image of each of R, G, and B are measured in the displayed output image (S43), it is determined whether there is a difference from the normal reference color value (S44).

상기 판단(S44) 결과, 상기 정상 기준 색상값과 상기 출력 화상의 색상값이 차이가 없는 경우라면 상기 초기값으로 한 컬러 이득 인자를 상기 메모리에 저장(S45)하며, 상기 정상 기준 색상값과 상기 출력 화상의 색상값이 차이가 있는 경우라면 상기 정상 기준 색상을 가지도록 컬러 이득 인자를 보정한 후 저장(S46)한다.As a result of the determination (S44), if the normal reference color value and the color value of the output image do not differ, a color gain factor as the initial value is stored in the memory (S45) If there is a difference in the color values of the output image, the color gain factor is corrected so as to have the normal reference color and stored (S46).

상기 보정은, 출력 화상의 색상값이 기준 색상값보다 클 경우에는 이에 반비례하여 컬러 이득 인자를 보정한다.When the color value of the output image is larger than the reference color value, the correction corrects the color gain factor in inverse proportion thereto.

상술하면, 이상이 없는 도 5(a)의 정상 카메라모듈의 경우에는 R,G,B 출력 화상의 색상값은 각각 100,100,100으로 동일한 정상 기준 색상값을 가지게 된다.5 (a), the color values of the R, G, and B output images have the same normal reference color values of 100, 100, and 100, respectively.

그러나, 이미지 센서의 특성 이상으로 인한 도 5(b)의 제1불량 카메라모듈인 경우, 같이 R,G,B 출력 화상의 색상값은 각각 100,100,200을 가지게되어 B 출력 화상의 색상값이 기준 색상값보다 2배 크게 된다. 마찬가지로, 도 5(c)의 제2불량 카메라모듈의 경우, 도 5(c)와 같이 R,G,B 출력 화상의 색상값은 각각 200,200,100을 가지게 되어 R색상값, G색상값이 기준 색상값보다 2배 크게 됨을 알 수 있다.However, in the case of the first defective camera module in Fig. 5 (b) due to the abnormal characteristics of the image sensor, the color values of the R, G and B output images have 100, 100 and 200, respectively, . 5 (c), the color values of the R, G, and B output images are 200, 200, and 100, respectively, so that the R color value and the G color value become the reference color value Which is twice as large.

따라서, 상기 출력 화상의 색상값과 정상 기준 색상값 간의 차이가 있는지를 판단(S44)한 결과, 도 5(a)와 같이 정상 기준 색상과 차이가 없어 정상 카메라모듈로 판정된 경우에는, 레드 이득 인자, 그린 이득 인자, 블루 이득 인자를 각각 상기 초기화 값인 Ox10으로 하여 메모리에 저장(S45)한다.Therefore, if it is determined that there is no difference between the color value of the output image and the normal reference color value (S44), it is determined that the normal camera color is not different from the normal reference color as shown in FIG. 5 The green gain factor, and the blue gain factor are respectively stored in the memory as the initialization value Ox10 (S45).

반면에, 도 5(b), 도 5(c)와 같이 정상 기준 색상값과 차이가 있는 불량 카메라 모듈로 판정된 경우에는 정상 기준 색상값을 가지도록 각 컬러 이득 인자를 보정하여 메모리에 저장(S46)한다. On the other hand, if it is determined that the defective camera module is different from the normal reference color value as shown in FIGS. 5 (b) and 5 (c), each color gain factor is corrected to have a normal reference color value and stored S46).

예컨대, 도 5(b)의 제1불량 카메라모듈의 경우는 B색상값이 기준 색상값보다 2배 크기 때문에, 레드 이득 인자, 그린 이득 인자를 초기값 그대로 두고 블루 이득 인자를 초기값의 1/2배로 보정하여, 결과적으로 레드 이득 인자, 그린 이득 인자, 블루 이득 인자를 각각 Ox10, Ox10, Ox05로하여 저장한다. For example, in the case of the first defective camera module shown in FIG. 5B, since the B color value is twice as large as the reference color value, the red gain factor and the green gain factor remain at their initial values, And the red gain factor, the green gain factor, and the blue gain factor are stored as Ox10, Ox10, and Ox05, respectively.

또한, 도 5(c)의 제2불량 카메라모듈의 경우는 R색상값, G색상값이 기준 색상값보다 2배 크기 때문에, 블루 이득 인자는 그대로 두고 레드 이득 인자, 그린 이득 인자를 초기값의 1/2로 보정하여, 결과적으로 레드 이득 인자, 그린 이득 인자, 블루 이득 인자를 각각 Ox05, Ox05, Ox10으로 저장한다.In the case of the second defective camera module of FIG. 5C, since the R color value and the G color value are two times larger than the reference color value, the red gain factor and the green gain factor are set to the initial value 1/2, and as a result, the red gain factor, the green gain factor, and the blue gain factor are stored as Ox05, Ox05, and Ox10, respectively.

결국, 카메라모듈이 본체에 결합되어 구동이 이루어질 때, 본체는 상기 각 카메라 모듈 내의 메모리에 저장된 컬러 이득 인자를 읽어와서 카메라모듈의 컬러 제어 레지스터를 설정함으로써 카메라모듈의 불량 여부와 상관없이 동일한 정상 기준의 색상을 출력할 수 있다. As a result, when the camera module is coupled to the main body and driven, the main body reads the color gain factor stored in the memory in each of the camera modules to set the color control register of the camera module, Can be output.

참고로, 도 6은 컬러 이득 인자에 따른 카메라모듈의 출력 화상을 도시한 것으로서, 도 6(a)와 같이 동일한 컬러 이득 인자를 컬러 제어 레지스터에 설정할 때는 제1불량 카메라모듈 및 제2불량 카메라모듈은 정상 카메라모듈의 출력 화상과 다르게 됨을 알 수 있다.6A and 6B show the output image of the camera module according to the color gain factor. When the same color gain factor is set in the color control register as shown in FIG. 6A, the first bad camera module and the second bad camera module Is different from the output image of the normal camera module.

그러나, 본 발명의 실시 예를 거쳐 각 카메라모듈 내 메모리에 저장된 컬러 이득 인자를 읽어와서 각각의 해당 카메라모듈의 컬러 제어 레지스터에 설정할 경우에는, 도 6(b)와 같이 정상 카메라모듈, 제1불량 카메라모듈, 제2불량 카메라모듈 모두 동일한 정상 기준의 화상을 출력하고 있음을 알 수 있다.However, when the color gain factor stored in the memory of each camera module is read through the embodiment of the present invention and is set in the color control register of each camera module, the normal camera module, It can be seen that both the camera module and the second defective camera module output the same normal reference image.

상술한 본 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위에서 벗어나지 않고 실시될 수 있다. 따라서 본 발명의 특허 범위는 상기 설명된 실시 예에 의하여 정할 것이 아니고 특허청구범위뿐 아니라 균등 범위에도 미침은 자명할 것이다.While the present invention has been described in connection with certain exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. Accordingly, the scope of the patent of the present invention is not limited by the above-described embodiments, and it will be obvious that the patent scope covers not only the claims but also the equivalents.

도 1은 불량 카메라모듈에서의 출력 화상을 도시한 사진이다.1 is a photograph showing an output image in a defective camera module.

도 2는 본 발명의 실시 예에 따라 메모리에 저장된 컬러 이득 인자를 이용하여 컬러 제어 레지스터를 설정받는 카메라모듈의 블록도를 도시한 그림이다.2 is a block diagram of a camera module that sets a color control register using a color gain factor stored in a memory according to an embodiment of the present invention.

도 3은 본 발명의 실시 예에 따라 카메라모듈 내에 저장된 컬러 이득 인자를 읽어와서 색상 제어하는 과정을 도시한 플로차트이다.3 is a flowchart illustrating a process of reading a color gain factor stored in a camera module and performing color control according to an embodiment of the present invention.

도 4는 본 발명의 실시 예에 따라 카메라모듈의 컬러 이득 인자 저장 과정을 도시한 플로차트이다.4 is a flowchart illustrating a process of storing a color gain factor of a camera module according to an embodiment of the present invention.

도 5는 본 발명의 실시 예에 따라 출력 화상의 색상값에 따라 컬러 이득 인자를 보정하는 모습을 도시한 그림이다.5 is a diagram illustrating a method of correcting a color gain factor according to a color value of an output image according to an embodiment of the present invention.

도 6은 본 발명의 실시 예에 따라 컬러 이득 인자의 보정이 이루어졌을 때의 출력 화상의 모습을 도시한 사진이다.6 is a photograph showing a state of an output image when correction of a color gain factor is performed according to an embodiment of the present invention.

*도면의 주요 부분에 대한 부호의 설명*Description of the Related Art [0002]

20: 카메라모듈 21: 렌즈20: camera module 21: lens

22: 이미지 센서 23: 컬러 제어 레지스터22: image sensor 23: color control register

24: 메모리24: Memory

Claims (6)

렌즈로부터 입사되는 광학 영상을 R,G,B 컬러의 전기 신호로 변환하는 이미지 센서;An image sensor for converting an optical image incident from a lens into electric signals of R, G, and B colors; R,G,B 색상의 출력값을 조절하는 컬러 이득 인자의 설정에 따라 상기 이미지 센서에서 출력되는 R,G,B 색상의 출력을 달리하는 컬러 제어 레지스터;A color control register for outputting R, G, and B color output from the image sensor according to a setting of a color gain factor for adjusting output values of R, G, and B colors; 각 카메라모듈마다 정상 기준의 색상을 출력하도록 셋팅된 컬러 이득 인자를 저장한 비휘발성 메모리 A nonvolatile memory storing a color gain factor set to output a color of a normal reference for each camera module 를 포함하며,/ RTI > 상기 컬러 이득 인자는, 상기 컬러 제어 레지스터에 초기값으로 초기화 설정한 카메라모듈의 출력 화상의 색상값과 정상 카메라모듈에서 출력 예상되는 정상 기준 색상값 간에 차이의 유무에 따라 상기 컬러 이득 인자를 달리하여 상기 메모리에 저장되는 것을 특징으로 하는 카메라모듈.The color gain factor may be calculated by differentiating the color gain factor according to whether there is a difference between the color value of the output image of the camera module initialized to the initial value in the color control register and the normal reference color value expected to be output from the normal camera module And wherein the camera module is stored in the memory. 삭제delete 삭제delete 제조된 카메라모듈에서 정상 기준의 색상을 출력하도록 셋팅된 컬러 이득 인자를 상기 카메라모듈 내의 메모리에 저장하는 제1과정;A first step of storing a color gain factor set to output a color of a normal reference in a manufactured camera module in a memory in the camera module; 본체의 제어에 의해 상기 카메라모듈이 구동이 이루어질 때, 상기 본체가 상기 메모리에 저장된 컬러 이득 인자를 읽어오는 제2과정;A second step of the main body reading the color gain factor stored in the memory when the camera module is driven by control of the main body; R,G,B 색상 출력을 조절하는 컬러 제어 레지스터에 상기 읽어온 컬러 이득 인자를 설정하는 제3과정A third step of setting the read color gain factor in a color control register for controlling R, G, and B color output, 을 포함하며, 상기 제1과정은Wherein the first process comprises: 카메라모듈 내의 상기 컬러 제어 레지스터에 초기값으로 초기화 설정하는 과정;Initializing the color control register in the camera module to an initial value; 상기 카메라모듈의 출력 화상의 색상값을 측정하는 과정;Measuring a color value of an output image of the camera module; 정상 카메라모듈에서 출력 예상되는 정상 기준 색상값과 상기 출력 화상의 색상값 간에 차이가 있는지를 비교하는 과정;Comparing a color value of a normal reference color value expected to be output from the normal camera module with a color value of the output image; 상기 차이의 유무에 따라 색상의 출력값을 조절하는 컬러 이득 인자를 달리하여 상기 메모리에 저장하는 과정A step of storing the color gain factor for adjusting the output value of the color according to the presence or absence of the difference in the memory 을 포함하는 카메라모듈의 색상 제어 방법.And a color control module for controlling the color of the camera module. 제4항에 있어서, 상기 메모리에 저장하는 과정은,5. The method of claim 4, 상기 정상 기준 색상값과 상기 출력 화상의 색상값이 차이가 없는 경우라면 상기 초기값으로 한 컬러 이득 인자를 상기 메모리에 저장하며, 상기 정상 기준 색상값과 상기 출력 화상의 색상값이 차이가 있는 경우라면 상기 정상 기준 색상을 가지도록 컬러 이득 인자를 보정한 후 저장함을 특징으로 하는 카메라모듈의 색상 제어 방법.If the normal reference color value and the color value of the output image are not different from each other, a color gain factor as the initial value is stored in the memory, and if the color value of the output image is different from the normal reference color value The color gain factor is corrected so as to have the normal reference color, and then the color gain factor is stored. 제5항에 있어서, 상기 보정은, 출력 화상의 색상값이 기준 색상값보다 클 경우에는 출력 화상의 색상값의 기준 색상값에 대한 비율에 반비례하도록 컬러 이득 인자를 보정함을 특징으로 하는 카메라모듈의 색상 제어 방법.The method of claim 5, wherein the correction is performed such that the color gain factor is corrected to be in inverse proportion to the ratio of the hue value of the output image to the reference hue value when the hue value of the output image is larger than the reference hue value. / RTI >
KR1020080051579A 2008-06-02 2008-06-02 Camera module and method for color control KR101428074B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080051579A KR101428074B1 (en) 2008-06-02 2008-06-02 Camera module and method for color control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080051579A KR101428074B1 (en) 2008-06-02 2008-06-02 Camera module and method for color control

Publications (2)

Publication Number Publication Date
KR20090125456A KR20090125456A (en) 2009-12-07
KR101428074B1 true KR101428074B1 (en) 2014-08-07

Family

ID=41686953

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080051579A KR101428074B1 (en) 2008-06-02 2008-06-02 Camera module and method for color control

Country Status (1)

Country Link
KR (1) KR101428074B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0263395A (en) * 1988-08-30 1990-03-02 Sony Corp White balance adjusting circuit
JPH04245889A (en) * 1991-01-31 1992-09-02 Sharp Corp Color image pickup device
JP2001268589A (en) * 2000-03-22 2001-09-28 Ricoh Co Ltd White balance adjuster
JP2003116145A (en) 2001-10-09 2003-04-18 Sony Corp Image pickup device, method for processing photographing result, and program for processing the photographing result

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0263395A (en) * 1988-08-30 1990-03-02 Sony Corp White balance adjusting circuit
JPH04245889A (en) * 1991-01-31 1992-09-02 Sharp Corp Color image pickup device
JP2001268589A (en) * 2000-03-22 2001-09-28 Ricoh Co Ltd White balance adjuster
JP2003116145A (en) 2001-10-09 2003-04-18 Sony Corp Image pickup device, method for processing photographing result, and program for processing the photographing result

Also Published As

Publication number Publication date
KR20090125456A (en) 2009-12-07

Similar Documents

Publication Publication Date Title
US8106976B2 (en) Peripheral light amount correction apparatus, peripheral light amount correction method, electronic information device, control program and readable recording medium
US9462237B2 (en) Pixel correction method and image capture device
US7876369B2 (en) Image processing apparatus, image processing method, and program
CN102870404B (en) Imaging device and dark current correction method of same
KR102121531B1 (en) Apparatus and Method for Controlling a Focus Detectable Image Sensor
US7916191B2 (en) Image processing apparatus, method, program, and recording medium
JP6597794B2 (en) Image processing apparatus and image processing method
EP1801749B1 (en) Image processing circuit and image processing method
CN109979382B (en) Screen transmission spectrum-based color correction method and system for under-screen imaging system
JP2006304231A (en) Pixel defect correction device
CN102883108B (en) Picture pick-up device and control method, image processing equipment and method
US20110242358A1 (en) Electronic image pickup apparatus and electronic image pickup method
JP4992698B2 (en) Chromatic aberration correction apparatus, imaging apparatus, chromatic aberration calculation method, and chromatic aberration calculation program
CN107534759A (en) Camera device, image capture method and program
CN104641276A (en) Imaging device and signal processing method
JP2011077825A (en) Display device, display system, display method and program
US20090027514A1 (en) Image pickup apparatus and method
US20210049427A1 (en) Image processing apparatus, image processing method, and image processing system
US20110267494A1 (en) Image processing apparatus, control method thereof, and image-capturing apparatus
US20040201758A1 (en) Defective pixel correction device
US11412197B2 (en) Electronic device including image sensor
US20070211165A1 (en) Imaging device, method for controlling imaging device, program of method for controlling imaging device, recording medium in which program of method for controlling imaging device is recorded
KR101428074B1 (en) Camera module and method for color control
CN103385005B (en) Stereoscopic image processing device and stereoscopic image processing method
JP5463871B2 (en) Image processing apparatus and electronic camera

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
LAPS Lapse due to unpaid annual fee