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

Camera module and method for color control Download PDF

Info

Publication number
KR20090125456A
KR20090125456A KR1020080051579A KR20080051579A KR20090125456A KR 20090125456 A KR20090125456 A KR 20090125456A KR 1020080051579 A KR1020080051579 A KR 1020080051579A KR 20080051579 A KR20080051579 A KR 20080051579A KR 20090125456 A KR20090125456 A KR 20090125456A
Authority
KR
South Korea
Prior art keywords
color
camera module
gain factor
output
memory
Prior art date
Application number
KR1020080051579A
Other languages
Korean (ko)
Other versions
KR101428074B1 (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

PURPOSE: A camera module and a method for controlling a color are provided to use an optimum color gain factor stored in each camera module, thereby improving a defective camera module. CONSTITUTION: An image sensor(22) converts an optical image incident from a lens(21) into electric signals of RGB(Red,Greeen,Blue) colors. A color control register(23) makes the RGB colors outputted from the image sensor different according to setting of the color gain factor. A memory(24) stores the color gain factor. The color gain factor is set at every camera module to output a normal color.

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) 단말기 등과 같은 이동통신단말기의 보급이 증가됨에 카메라모듈의 수요가 증가하고 있다.Recently, the demand for digital cameras is exploding with the development of video communication using the Internet. In addition, the demand for camera modules is increasing due to the increasing popularity of mobile communication terminals such as PDAs equipped with cameras, International Mobile Telecommunications-2000 (IMT-2000), Code Division Multiple Access (CDMA) terminals, and the like.

도 1은 각 카메라모듈의 제조 후 테스트한 출력 화상을 도시한 사진인데, 정상 기준을 가지는 카메라모듈의 경우 도 1(a)와 같이 출력된다. 그러나, 이미지 센서의 이상으로 인해 출력 화상이 도 1(a)의 기준에 못 미치는 카메라모듈의 경우, 도 1(b), 도 1(c)와 같이 도 1(a)와 다른 색상 톤으로 출력된다. 즉, 정상 기준을 가지는 도 1(a)의 카메라모듈의 출력 화상은 전체적으로 회색 톤을 갖는다고 할 때, 정상 기준에 못 미치는 도 1(b)는 전체적으로 블루 톤을 가지며, 마찬가지로 정상 기준에 못미치는 도 1(c)는 전체적으로 엘로우 톤을 가지고 있음을 알 수 있다.1 is a photograph showing an output image tested after the manufacture of each camera module. In the case of a camera module having a normal reference, it is output as shown in FIG. However, in the case of a camera module whose output image does not meet the standard of FIG. 1 (a) due to an abnormality of the image sensor, it outputs in a color tone different from that of FIG. 1 (a) as shown in FIG. 1 (b) and FIG. 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 less than the normal reference has a blue tone as a whole and similarly falls short of the normal standard. It can be seen that Figure 1 (c) has a yellow tone as a whole.

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

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

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

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

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

상기 제1과정은, 카메라모듈 내의 상기 컬러 제어 레지스터에 초기값으로 초기화 설정하는 과정과, 상기 카메라모듈의 출력 화상의 색상값을 측정하는 과정과, 정상 카메라모듈에서 출력 예상되는 정상 기준 색상값과 상기 출력 화상의 색상값 간에 차이가 있는지를 비교하는 과정과, 상기 차이의 유무에 따라 색상의 출력값을 조절하는 컬러 이득 인자를 달리하여 상기 메모리에 저장하는 과정을 포함한다.The first process may include initializing and setting an initial value to the color control register in the camera module, measuring a color value of an output image of the camera module, and a normal reference color value expected to be output from a normal camera module. Comparing whether there is a difference between color values of the output image, and storing a different color gain factor that adjusts an output value of color according to the presence or absence of the difference and storing the difference in a color gain in the memory.

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

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

본 발명의 실시 예는 각 카메라모듈에 저장된 최적의 컬러 이득 인자를 이용함으로써 불량 카메라모듈을 개선 시킬 수 있는 효과가 있다. The embodiment of the present invention has the effect of improving the bad camera module by using the optimal 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. In the following description of the reference numerals to the components of the drawings it should be noted that the same reference numerals as possible even if displayed on different drawings.

도 2는 본 발명의 실시 예에 따라 메모리에 저장된 컬러 이득 인자를 이용하여 컬러 제어 레지스터를 설정받는 카메라모듈의 블록도를 도시한 그림이다.2 is a block diagram of a camera module configured to set 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. In general, the image sensor 22 refers to a device for converting an optical image incident from the lens 21 into an electrical signal of R, G, and B colors. Since the image sensor may have variations in characteristics, the camera module 20 may output colors that do not meet the normal standard as shown in the photographs of FIGS. 1 (b) and 1 (c) of the prior art. 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)를 포함한다.These phenomena include many factors such as sensor active cell, micro lens shift, IR-cut filter and color gain imbalance. The influence of the color gain factor may be large. The color gain factor includes a red gain factor (R f ; red gain factor) representing the gain magnitude of the red color output, a green gain factor (G f ; green gain factor) indicating the gain magnitude of the green color output, and a gain of the blue color output. And a blue gain factor (B f ) representing the magnitude.

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

따라서 각 카메라모듈(20)은 자체의 컬러 이득 인자로서 컬러 제어 레지스터에 설정되기 때문에, 각 카메라모듈(20)의 이미지 센서(22)의 불량 특성에도 불구하고 동일한 정상 기준의 색상을 출력할 수 있다.Therefore, since each camera module 20 is set in the color control register as its color gain factor, it is possible to output the same normal reference color despite the poor 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 for differently controlling the output of the R, G, B colors output from the image sensor according to the color gain setting of the R, G, B.

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

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

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

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

정상적으로 제조된 정상 카메라모듈의 경우 기준이 되는 초기값인 컬러 이득 인자로서 메모리에 저장되지만, 다른 불량으로 판정된 제1불량 카메라모듈, 제2불량 카메라모듈의 경우에는 기준 컬러 이득 인자와 다른 컬러 이득 인자로서 메모리에 저장된다.In the case of a normal camera module manufactured normally, a color gain factor, which is a reference value, is stored in a memory, but in the case of a first defective camera module or a second bad camera module, which is determined to be different, the color gain factor is different from the reference color gain factor. 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, the red gain factor R f , the green gain factor R f , and the blue gain factor R f are equal to Ox 10 in the memory of the normal camera module so that each camera module outputs the color of the normal reference. In the memory of the first defective camera module, the red gain factor R f may be stored as Ox 10, the green gain factor G f as Ox 10, and the blue gain factor B f as Ox 05. In the memory of the defective camera module, the red gain factor R f may be stored as Ox05, the green gain factor G f as Ox05, and the blue gain factor B f as Ox10.

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

컬러 이득 인자 저장 과정(S31)이 있은 후, 상기 카메라모듈이 폰카메라, 디지털카메라와 같은 본체에 결합되어 본체 제어에 따라 카메라 모듈의 구동(S32)이 일어나게 되면, 본체는 상기 메모리에 저장된 컬러 이득 인자를 읽어오는 과정(S33)을 가진다.After the color gain factor storing process (S31), when the camera module is coupled to a main body such as a phone camera or a digital camera to drive the camera module (S32) under the control of the main body, the main body is the color gain stored in the memory. It has a process 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, in the case of a normal camera module, since [R f , G f , B f ] are read as [Ox10, Ox10, Ox10], the red control field, green control field and blue control field in the color control register are all set to Ox10. do. Similarly, the color control register is set to [Ox10, Ox10, Ox05] for the first bad camera module, and the color control register is set to [Ox05, Ox05, Ox05] for the second bad camera module.

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

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

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

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

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

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

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

상술하면, 이상이 없는 도 5(a)의 정상 카메라모듈의 경우에는 R,G,B 출력 화상의 색상값은 각각 100,100,100으로 동일한 정상 기준 색상값을 가지게 된다.In detail, in the case of the normal camera module of FIG. 5A, the color values of the R, G, and B output images have the same normal reference color values as 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 bad camera module of FIG. 5 (b) due to an abnormality of the image sensor, the color values of the R, G, and B output images have 100, 100, and 200, respectively, and the color values of the B output image are the reference color values. 2 times larger than Similarly, in the case of the second defective camera module of FIG. 5 (c), as shown in FIG. 5 (c), the color values of the R, G, and B output images have 200, 200, and 100, respectively, and the R color value and the G color value are the reference color values. It can be seen that twice as large.

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

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

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

또한, 도 5(c)의 제2불량 카메라모듈의 경우는 R색상값, G색상값이 기준 색상값보다 2배 크기 때문에, 블루 이득 인자는 그대로 두고 레드 이득 인자, 그린 이득 인자를 초기값의 1/2로 보정하여, 결과적으로 레드 이득 인자, 그린 이득 인자, 블루 이득 인자를 각각 Ox05, Ox05, Ox10으로 저장한다.In addition, in the case of the second defective camera module of FIG. 5C, since the R color value and the G color value are twice as large as the reference color value, the red gain factor and the green gain factor are set to the initial values without changing the blue gain factor. The correction is made to 1/2, and as a result, the red gain factor, green gain factor, and 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 camera module and sets the color control register of the camera module so that the same normal standard is used regardless of whether the camera module is defective or not. You can output the color of.

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

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

상술한 본 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위에서 벗어나지 않고 실시될 수 있다. 따라서 본 발명의 특허 범위는 상기 설명된 실시 예에 의하여 정할 것이 아니고 특허청구범위뿐 아니라 균등 범위에도 미침은 자명할 것이다.In the above description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention is not to be determined by the embodiments described above, but will be apparent in the claims as well as equivalent scope.

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

도 2는 본 발명의 실시 예에 따라 메모리에 저장된 컬러 이득 인자를 이용하여 컬러 제어 레지스터를 설정받는 카메라모듈의 블록도를 도시한 그림이다.2 is a block diagram of a camera module configured to set 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 controlling color by reading a color gain factor stored in a camera module according to an exemplary embodiment of the present invention.

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

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

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

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

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 the lens into an electrical signal having R, G, and B colors; R,G,B 색상의 출력값을 조절하는 컬러 이득 인자의 설정에 따라 상기 이미지 센서에서 출력되는 R,G,B 색상의 출력을 달리하는 컬러 제어 레지스터;A color control register configured to vary outputs of R, G, and B colors output from the image sensor according to a setting of a color gain factor for adjusting output values of R, G, and B colors; 각 카메라모듈마다 정상 기준의 색상을 출력하도록 셋팅된 컬러 이득 인자를 저장한 메모리 Memory that stores color gain factor that is set to output normal reference color for each camera module 를 포함하는 카메라모듈.Camera module comprising a. 제1항에 있어서, 상기 메모리는, EEPROM 메모리 또는 OTP 메모리로 구현되는 카메라모듈.The camera module of claim 1, wherein the memory comprises an EEPROM memory or an OTP memory. 제조된 카메라모듈에서 정상 기준의 색상을 출력하도록 셋팅된 컬러 이득 인자를 상기 카메라모듈 내의 메모리에 저장하는 제1과정;A first step of storing a color gain factor set to output a color of a normal reference in the 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 the control of the main body; R,G,B 색상 출력을 조절하는 컬러 제어 레지스터에 상기 읽어온 컬러 이득 인자로서 설정하는 제3과정A third process of setting as the read color gain factor in the color control register regulating the R, G, B color output 을 포함하는 카메라모듈의 색상 제어 방법.Color control method of the camera module comprising a. 제3항에 있어서, 상기 제1과정은,The method of claim 3, 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 whether there is a difference between the normal reference color value expected to be output from the normal camera module and the color value of the output image; 상기 차이의 유무에 따라 색상의 출력값을 조절하는 컬러 이득 인자를 달리하여 상기 메모리에 저장하는 과정A process of storing a color gain factor in which the output value of the color is adjusted according to the presence or absence of the difference, and storing it in the memory 을 포함하는 카메라모듈의 색상 제어 방법.Color control method of the camera module comprising a. 제4항에 있어서, 상기 메모리에 저장하는 과정은,The method of claim 4, wherein the storing in the memory comprises: 상기 정상 기준 색상값과 상기 출력 화상의 색상값이 차이가 없는 경우라면 상기 초기값으로 한 컬러 이득 인자를 상기 메모리에 저장하며, 상기 정상 기준 색상값과 상기 출력 화상의 색상값이 차이가 있는 경우라면 상기 정상 기준 색상을 가지도록 컬러 이득 인자를 보정한 후 저장함을 특징으로 하는 카메라모듈의 색상 제어 방법.When there is no difference between the normal reference color value and the color value of the output image, a color gain factor set as the initial value is stored in the memory, and when there is a difference between the normal reference color value and the color value of the output image. And correcting and storing the color gain factor so as to have the normal reference color. 제5항에 있어서, 상기 보정은, 출력 화상의 색상값이 기준 색상값보다 클 경우에는 이에 반비례하여 컬러 이득 인자를 보정함을 특징으로 하는 카메라모듈의 색상 제어 방법.The method of claim 5, wherein the correcting corrects the color gain factor in inverse proportion to the color value of the output image when the color value of the output image is larger than the reference color value.
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 true KR20090125456A (en) 2009-12-07
KR101428074B1 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)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2841379B2 (en) * 1988-08-30 1998-12-24 ソニー株式会社 White balance adjustment circuit
JP2700957B2 (en) * 1991-01-31 1998-01-21 シャープ株式会社 Color imaging device
JP3973820B2 (en) * 2000-03-22 2007-09-12 株式会社リコー White balance adjustment device, color imaging device
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
KR101428074B1 (en) 2014-08-07

Similar Documents

Publication Publication Date Title
US8803994B2 (en) Adaptive spatial sampling using an imaging assembly having a tunable spectral response
US20070047803A1 (en) Image processing device with automatic white balance
US20160105656A1 (en) White balance method in multi-exposure imaging system
US20090219419A1 (en) Peripheral Light Amount Correction Apparatus, Peripheral Light Amount Correction Method, Electronic Information Device, Control Program and Readable Recording Medium
US8629919B2 (en) Image capture with identification of illuminant
CN101277385A (en) Method and apparatus to detect a dead pixel of an image sensor and method and apparatus to capture an image from an image sensor
WO2011137731A2 (en) Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
US10600165B2 (en) Image processing apparatus capable of performing tone conversion with a visually equivalent luminance change, image processing method, and storage medium
JP4992698B2 (en) Chromatic aberration correction apparatus, imaging apparatus, chromatic aberration calculation method, and chromatic aberration calculation program
JP2008153768A (en) Imaging apparatus, and white balance processor
US8537240B2 (en) White balance correction in a captured digital image
CN104349150A (en) Method and apparatus for tuning camera correction setting for camera module
JP5513244B2 (en) Image processing apparatus, control method therefor, and imaging apparatus
EP3734961A1 (en) Image processing device, image processing method, and image processing system
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
US10785462B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and storage medium
KR20200145670A (en) Device and method for correcting white balance of image
KR101428074B1 (en) Camera module and method for color control
US11805326B2 (en) Image processing apparatus, control method thereof, and storage medium
US7688357B2 (en) Method and apparatus for color temperature correction in a built-in camera of a portable terminal
CN113096046A (en) Image processing method and device
JP4396225B2 (en) White balance control device and electronic device
KR100792986B1 (en) Compensation apparatus and method for lens distortion in the mobile terminal
JP2012222704A (en) Imaging apparatus
KR20080075354A (en) Camera system with lens shading compensation function using color temperature

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