JP2007208884A - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP2007208884A
JP2007208884A JP2006028162A JP2006028162A JP2007208884A JP 2007208884 A JP2007208884 A JP 2007208884A JP 2006028162 A JP2006028162 A JP 2006028162A JP 2006028162 A JP2006028162 A JP 2006028162A JP 2007208884 A JP2007208884 A JP 2007208884A
Authority
JP
Japan
Prior art keywords
white balance
signal processing
processing unit
value
unit
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2006028162A
Other languages
Japanese (ja)
Inventor
Makoto Takemoto
竹本  誠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006028162A priority Critical patent/JP2007208884A/en
Publication of JP2007208884A publication Critical patent/JP2007208884A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital camera in which a problem of coloring caused by a luminance level difference or the like does not occur even in the case that an optical black value of a solid-state imaging device is deviated. <P>SOLUTION: The digital camera includes a configuration comprising: a CMOS 1 which performs photoelectric transform on incident light and converts it into a video signal; a white balance control unit 5 which controls white balance by multiplying R, G, B components of the video signal obtained by the CMOS 1 by a predetermined gain value, respectively; a luminance signal processing unit 6 which generates a luminance signal based on the video signal outputted from the white balance control part 5; and a control unit which determines the gain value based on an output value from the luminance signal processing unit 6. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、デジタルカメラにおける映像信号処理に関する。   The present invention relates to video signal processing in a digital camera.

従来から、デジタルカメラにおいて撮像した映像のホワイトバランスを調整する技術が知られている。図8は、従来のデジタルカメラの構成を示す図である。図8に示すデジタルカメラは、CMOS(撮像素子)1と、CDS部2と、AGC部3と、AD変換部4と、ホワイトバランス調整部5と、Y信号(輝度信号)処理部6と、C信号(色差信号)処理部7と、制御部8と、メモリ9とを備えている。CMOS1のカラーフィルタ配列は、例えば、図9に示す原色ベイヤー配列である。   2. Description of the Related Art Conventionally, a technique for adjusting white balance of an image captured by a digital camera is known. FIG. 8 is a diagram showing a configuration of a conventional digital camera. The digital camera shown in FIG. 8 includes a CMOS (imaging device) 1, a CDS unit 2, an AGC unit 3, an AD conversion unit 4, a white balance adjustment unit 5, a Y signal (luminance signal) processing unit 6, A C signal (color difference signal) processing unit 7, a control unit 8, and a memory 9 are provided. The color filter array of the CMOS 1 is, for example, the primary color Bayer array shown in FIG.

CMOS1によって光電変換された信号は、CDS部2、AGC部3、AD変換部4、ホワイトバランス調整部5を介して、Y信号処理部6、C信号処理部7および制御部8に入力される。   A signal photoelectrically converted by the CMOS 1 is input to the Y signal processing unit 6, the C signal processing unit 7, and the control unit 8 through the CDS unit 2, the AGC unit 3, the AD conversion unit 4, and the white balance adjustment unit 5. .

図10は、ホワイトバランス調整部5の構成を示す図である。図10を用いて、ホワイトバランス調整部5の動作について説明する。ホワイトバランス調整部5は、CMOS1より入力されたRGBシリアル信号をシリアル−パラレル(SP)変換部501によってパラレル信号に変換する。続いて、パラレル変換されたRGB信号を各ゲイン調整部502,503,504のそれぞれに入力する。各ゲイン調整部502,503,504は、制御部8からの制御信号を用いて、RGB信号に対して次式(1)で示される乗算処理を行う。
R'=KR×R
G'=KG×G
B'=KB×B (1)
ここで、ゲイン値KR、KG、KBは、無彩色の信号に対して、R'=G'=B'となるように制御部8によって定められる。
FIG. 10 is a diagram illustrating a configuration of the white balance adjustment unit 5. The operation of the white balance adjustment unit 5 will be described with reference to FIG. The white balance adjustment unit 5 converts the RGB serial signal input from the CMOS 1 into a parallel signal by the serial-parallel (SP) conversion unit 501. Subsequently, the parallel-converted RGB signal is input to each of the gain adjustment units 502, 503, and 504. Each gain adjustment unit 502, 503, and 504 uses the control signal from the control unit 8 to perform a multiplication process represented by the following expression (1) on the RGB signal.
R ′ = K R × R
G '= K G × G
B ′ = K B × B (1)
Here, the gain values K R , K G , and K B are determined by the control unit 8 so that R ′ = G ′ = B ′ with respect to the achromatic signal.

ところで、固体撮像素子の特性として、製造上の問題によりオプティカルブラック(OB)の値がずれることがある。OBのずれが生じた場合、輝度レベルの違いによって着色等の問題が発生する。その具体例を以下に示す。   By the way, as a characteristic of the solid-state imaging device, the value of optical black (OB) may be shifted due to a manufacturing problem. When the OB shift occurs, a problem such as coloring occurs due to a difference in luminance level. Specific examples are shown below.

ある光源で、白を写したときにセンサー出力が、100%の白部でR=80、G=100、B=70であり、10%の白部でR=16、G=20、B=14であるとする。制御部8は、無彩色の信号に対してR'=G'=B'となるようにゲイン値を決定するので、100%の白部を基準とすれば、KG=1のときKR=100/80、KB=100/70となる。このゲイン値KR、KG、KBを100%の白部に適用するとR'=100、G'=100、B'=100となり(図11(a)参照)、10%の白部に適用すると、R'=20、G'=20、B'=20となる(図11(b)参照)。 When white is captured with a certain light source, the sensor output is R = 80, G = 100, B = 70 at 100% white part, R = 16, G = 20, B = 70 at 10% white part. 14 is assumed. Since the control unit 8 determines the gain value so that R ′ = G ′ = B ′ with respect to the achromatic signal, K R , when K G = 1, with 100% white as a reference. = 100/80 and K B = 100/70. When these gain values K R , K G , and K B are applied to the white portion of 100%, R ′ = 100, G ′ = 100, and B ′ = 100 (see FIG. 11A). When applied, R ′ = 20, G ′ = 20, and B ′ = 20 (see FIG. 11B).

ところが、OBのずれが生じると、上記のホワイトバランス調整はうまく機能しなくなる。例えば、上記例において、OBのずれ量を−10とすると、センサー出力が100%の白部でR=70、G=90、B=60、10%の白部でR=6、G=10、B=4となる。輝度レベルの高い方(100%の白部)を基準に、ホワイトバランスのゲイン値KR、KG、KBを決めると、KG=1のときKR=90/70、KB=90/60となる。このゲイン値KR、KG、KBを用いると、100%の白部でR'=90、G'=90、B'=90となるが(図12(a)参照)、10%の白部では、R'=7、G'=10、B'=6となる(図12(b)参照)。この結果、10%の白部では、低輝度部で緑掛かった画像となる。 However, when OB shift occurs, the above white balance adjustment does not function well. For example, in the above example, assuming that the amount of OB deviation is −10, R = 70, G = 90, B = 60, B = 60, 10% of white portions where the sensor output is 100%, R = 6, G = 10 B = 4. The white balance gain values K R , K G , and K B are determined based on the higher luminance level (100% white portion). When K G = 1, K R = 90/70, K B = 90 / 60. Using these gain values K R , K G , and K B , R ′ = 90, G ′ = 90, and B ′ = 90 at 100% white (see FIG. 12A), but 10% In the white portion, R ′ = 7, G ′ = 10, and B ′ = 6 (see FIG. 12B). As a result, in the 10% white portion, the image is green in the low luminance portion.

この種のデジタルカメラにおけるOB補正の例としては、特許文献1に記載された技術が知られていた。特許文献1に記載された撮像装置は、撮像素子内に複数のOB領域を用意し、撮像条件および被写体に応じてOB領域を切り替える構成を採用している。
特開2005−176115号公報
As an example of OB correction in this type of digital camera, the technique described in Patent Document 1 has been known. The imaging apparatus described in Patent Document 1 employs a configuration in which a plurality of OB areas are prepared in an imaging element and the OB areas are switched according to imaging conditions and a subject.
JP 2005-176115 A

しかしながら、特許文献1に記載されたOB補正の方法は、撮像素子内に複数のOB領域を設け、撮像条件および被写体に応じてOB領域を切り替える構成となっていることから、回路構成が複雑である。また、OB領域を切り替えるための制御が煩雑であるといった問題があった。   However, the OB correction method described in Patent Document 1 has a configuration in which a plurality of OB areas are provided in the image sensor and the OB areas are switched according to the imaging conditions and the subject. is there. In addition, there is a problem that the control for switching the OB area is complicated.

そこで、本発明は、上記背景に鑑み、回路構成および制御を複雑にすることなく、OB値のずれにかかわらず、良質な映像信号を有するデジタルカメラを提供することができることを目的とする。   In view of the above background, an object of the present invention is to provide a digital camera having a high-quality video signal regardless of the OB value shift without complicating the circuit configuration and control.

本発明のデジタルカメラは、光電変換によって入射光を映像信号に変換する撮像素子と、前記撮像素子にて得られた映像信号のR,G,B成分のそれぞれに所定のゲイン値を乗じることによって、ホワイトバランスを調整するホワイトバランス調整部と、前記ホワイトバランス調整部から出力された映像信号に基づいて輝度信号を生成する輝度信号処理部と、前記輝度信号処理部からの出力値に基づいて、前記ゲイン値を決定する制御部とを備えた構成を有する。   The digital camera of the present invention is an image sensor that converts incident light into a video signal by photoelectric conversion, and by multiplying each of the R, G, and B components of the video signal obtained by the image sensor by a predetermined gain value. A white balance adjusting unit that adjusts white balance, a luminance signal processing unit that generates a luminance signal based on the video signal output from the white balance adjusting unit, and an output value from the luminance signal processing unit, And a control unit that determines the gain value.

この構成により、輝度信号処理部からの出力値に基づいて決定されたゲイン値を用いてホワイトバランス調整を行うので、映像の明暗に関わらず、適切なホワイトバランス調整を行うことができる。   With this configuration, the white balance adjustment is performed using the gain value determined based on the output value from the luminance signal processing unit, so that the appropriate white balance adjustment can be performed regardless of the contrast of the video.

本発明のデジタルカメラは、前記輝度信号処理部の出力値と前記ホワイトバランス調整部のゲイン値とを対応付けるテーブルを格納したメモリを備え、前記制御部は、前記輝度信号処理部から出力された出力値に対応する前記ゲイン値を前記テーブルから読み出し、読み出されたゲイン値を前記ホワイトバランス調整部のゲイン値として決定する構成を有する。   The digital camera of the present invention includes a memory storing a table that associates an output value of the luminance signal processing unit with a gain value of the white balance adjustment unit, and the control unit outputs an output output from the luminance signal processing unit The gain value corresponding to the value is read from the table, and the read gain value is determined as the gain value of the white balance adjustment unit.

オプティカルブラックのずれ量は製造時に決まる値で、使用時の状況によっては変動しないので、テーブルにそれぞれの輝度出力値とホワイトバランス調整のゲイン値とを対応付けて格納しておくことにより、簡単な構成で、速やかにホワイトバランス調整を行うことが可能となる。   Since the amount of deviation of optical black is a value determined at the time of manufacture and does not vary depending on the situation at the time of use, it is easy to store each luminance output value and white balance adjustment gain value in association with each other in the table. With the configuration, it is possible to quickly adjust the white balance.

本発明のデジタルカメラは、光電変換によって入射光を映像信号に変換する撮像素子と、前記撮像素子にて得られた映像信号のホワイトバランスを調整するホワイトバランス調整部と、前記ホワイトバランス調整部から出力された映像信号に基づいて輝度信号を生成する輝度信号処理部と、前記ホワイトバランス調整部から出力された映像信号を色差信号に変換し、オフセット値を加算する色差信号処理部と、前記輝度信号処理部の出力値に基づいて、前記オフセット値を決定する制御部とを備えた構成を有する。   The digital camera of the present invention includes an imaging device that converts incident light into a video signal by photoelectric conversion, a white balance adjustment unit that adjusts a white balance of the video signal obtained by the imaging device, and the white balance adjustment unit. A luminance signal processing unit that generates a luminance signal based on the output video signal; a color difference signal processing unit that converts the video signal output from the white balance adjustment unit into a color difference signal and adds an offset value; and the luminance And a control unit that determines the offset value based on an output value of the signal processing unit.

この構成により、輝度信号処理部からの出力値に基づいて決定されたオフセット値を用いて色差信号処理を行うので、映像の明暗に関わらず、適切な色差信号処理を行うことができる。なお、本発明において、ホワイトバランス調整部に、上記したホワイトバランス調整部の特徴を備えることとしてもよい。すなわち、光電変換によって入射光を映像信号に変換する撮像素子と、前記撮像素子にて得られた映像信号のR,G,B成分のそれぞれに所定のゲイン値を乗じることによって、ホワイトバランスを調整するホワイトバランス調整部と、前記ホワイトバランス調整部から出力された映像信号に基づいて輝度信号を生成する輝度信号処理部と、前記ホワイトバランス調整部から出力された映像信号を色差信号に変換し、オフセット値を加算する色差信号処理部と、前記輝度信号処理部の出力値に基づいて、前記ゲイン値および前記オフセット値を決定する制御部とを備えた構成とすることもできる。   With this configuration, since the color difference signal processing is performed using the offset value determined based on the output value from the luminance signal processing unit, it is possible to perform appropriate color difference signal processing regardless of the brightness of the video. In the present invention, the white balance adjustment unit may include the characteristics of the white balance adjustment unit described above. That is, the white balance is adjusted by multiplying the image sensor that converts incident light into a video signal by photoelectric conversion and the R, G, and B components of the video signal obtained by the image sensor by a predetermined gain value. A white balance adjustment unit, a luminance signal processing unit that generates a luminance signal based on the video signal output from the white balance adjustment unit, and the video signal output from the white balance adjustment unit is converted into a color difference signal, A color difference signal processing unit that adds an offset value and a control unit that determines the gain value and the offset value based on the output value of the luminance signal processing unit may be provided.

本発明のデジタルカメラは、前記輝度信号処理部の出力値と前記色差信号処理部のオフセット値とを対応付けるテーブルを格納したメモリを備え、前記制御部は、前記輝度信号処理部から出力された出力値に対応する前記オフセット値を前記テーブルから読み出し、読み出されたオフセット値を前記色差信号処理部のオフセット値として決定する構成を有する。   The digital camera of the present invention includes a memory that stores a table that associates an output value of the luminance signal processing unit with an offset value of the color difference signal processing unit, and the control unit outputs an output output from the luminance signal processing unit The offset value corresponding to the value is read from the table, and the read offset value is determined as the offset value of the color difference signal processing unit.

オプティカルブラックのずれ量は製造時に決まる値で、使用時の状況によっては変動しないので、テーブルにそれぞれの輝度出力値と色差信号処理部のオフセット値とを対応付けて格納しておくことにより、簡単な構成で、速やかに色差信号処理を行うことが可能となる。   Since the amount of deviation of optical black is a value determined at the time of manufacture and does not vary depending on the situation at the time of use, it is easy to store each luminance output value and the offset value of the color difference signal processing unit in the table in association with each other. With this configuration, it is possible to quickly perform color difference signal processing.

本発明によれば、輝度信号処理部からの出力値に基づいて決定されたゲイン値を用いてホワイトバランス調整を行うので、映像の明暗に関わらず、適切なホワイトバランス調整を行うことができるというすぐれた効果を有する。   According to the present invention, the white balance adjustment is performed using the gain value determined based on the output value from the luminance signal processing unit. Therefore, it is possible to perform the appropriate white balance adjustment regardless of the contrast of the video. Has an excellent effect.

以下、本発明の実施の形態について、図面を参照しながら説明する。図1は、本発明の実施の形態におけるデジタルカメラの構成を示す図である。図1に示すように、本実施の形態のデジタルカメラは、被写体からの光を光電変換して映像信号を得るCMOS(撮像素子)1と、CMOS1からの出力信号を相関二重サンプリングしてノイズを除去するCDS部2と、被写体の明るさに応じてCDS103からの出力を一定に利得制御するAGC部3と、アナログ信号をデジタル信号に変換するAD変換部4とを備えている。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration of a digital camera according to an embodiment of the present invention. As shown in FIG. 1, the digital camera according to the present embodiment includes a CMOS (imaging device) 1 that photoelectrically converts light from a subject to obtain a video signal and a correlated double sampling of an output signal from the CMOS 1 to generate noise. A CDS unit 2 that removes noise, an AGC unit 3 that controls the gain of the output from the CDS 103 according to the brightness of the subject, and an AD conversion unit 4 that converts an analog signal into a digital signal.

また、デジタルカメラは、AD変換部4にて出力されたデジタル信号のホワイトバランスを調整するホワイトバランス調整部5と、ホワイトバランス調整部5から出力された映像信号(RGB信号)に基づいてY信号(輝度信号)を生成するY信号処理部6と、ホワイトバランス調整部5から出力された映像信号に基づいてC信号(色差信号)を生成するC信号(色差信号)処理部7と、Y信号処理部6の出力値に基づいて、ホワイトバランス調整部5およびC信号処理部7の処理を制御する制御部8とを備えている。   The digital camera also adjusts the white balance of the digital signal output from the AD conversion unit 4 and the Y signal based on the video signal (RGB signal) output from the white balance adjustment unit 5. A Y signal processing unit 6 that generates (luminance signal), a C signal (color difference signal) processing unit 7 that generates a C signal (color difference signal) based on the video signal output from the white balance adjustment unit 5, and a Y signal A control unit 8 that controls processing of the white balance adjustment unit 5 and the C signal processing unit 7 based on an output value of the processing unit 6 is provided.

制御部8には、メモリ9が接続されている。メモリ9には、ホワイトバランス調整部5で用いるゲイン値とY信号出力部6の出力値とを対応付けたルックアップテーブル(以下、「LUT」という)801と、C信号処理部7で用いるオフセット値とY信号出力部6の出力値とを対応付けたLUT802が記憶されている。   A memory 9 is connected to the control unit 8. The memory 9 includes a look-up table (hereinafter referred to as “LUT”) 801 in which gain values used in the white balance adjustment unit 5 and output values from the Y signal output unit 6 are associated with each other, and an offset used in the C signal processing unit 7. An LUT 802 that associates the value with the output value of the Y signal output unit 6 is stored.

図2は、LUT801に記憶されたデータの例を示す図である。図2に示すように、LUT801には、「輝度レベルY」に対応付けられて「ホワイトバランスゲインKR」「ホワイトバランスゲインKG」「ホワイトバランスゲインKB」の各データが記憶されている。ここで、ホワイトバランスゲインKR、KG、KB(請求項の「ゲイン値」に対応する)は、映像信号のR,G,Bのそれぞれの成分に乗じる係数である。「ホワイトバランスゲインKR」および「ホワイトバランスゲインKB」は、「ホワイトバランスゲインKG」を1としたときのゲイン値であり、これらの値は、後述する方法によって、それぞれのデジタルカメラについて求められる。このLUT801により、「輝度レベルY」が10のときには、KR=1.286、KG=1、KB=1.500を用いればよいことが読み取れる。 FIG. 2 is a diagram illustrating an example of data stored in the LUT 801. As shown in FIG. 2, the LUT 801 stores data of “white balance gain K R ”, “white balance gain K G ”, and “white balance gain K B ” in association with “luminance level Y”. . Here, the white balance gains K R , K G , and K B (corresponding to “gain values” in the claims) are coefficients that are multiplied by the R, G, and B components of the video signal. “White balance gain K R ” and “White balance gain K B ” are gain values when “White balance gain K G ” is 1, and these values are obtained for each digital camera by a method described later. Desired. It can be read from this LUT 801 that when “luminance level Y” is 10, K R = 1.286, K G = 1, K B = 1.500 may be used.

図3は、Y信号処理部6の構成を示す図である。Y信号処理部6のRGB−Y変換部601は、ホワイトバランス調整部5より出力されたR'、G'、B'信号に対し、次式(2)に示す演算処理を行い、Y1信号を求める。
Y1=a11R+a12G+a13B (2)
FIG. 3 is a diagram illustrating a configuration of the Y signal processing unit 6. The RGB-Y conversion unit 601 of the Y signal processing unit 6 performs the arithmetic processing shown in the following equation (2) on the R ′, G ′, and B ′ signals output from the white balance adjustment unit 5 to generate the Y1 signal. Ask.
Y1 = a 11 R + a 12 G + a 13 B (2)

次に、Y信号処理部6のゲイン調整部602は、次式(3)に示す演算処理を行い、Y2信号を求める。
Y2=Ky×Y1 (3)
Next, the gain adjusting unit 602 of the Y signal processing unit 6 performs the arithmetic processing shown in the following equation (3) to obtain the Y2 signal.
Y2 = Ky × Y1 (3)

続いて、Y信号処理部6のオフセット調整部603は、Y2信号に対し、オフセット値Yoffを加算する次式(4)に示す演算処理を行い、Y信号を求める。
Y=Y2+Yoff (4)
Subsequently, the offset adjustment unit 603 of the Y signal processing unit 6 performs a calculation process represented by the following equation (4) for adding the offset value Y off to the Y2 signal to obtain the Y signal.
Y = Y2 + Y off (4)

なお、上記した式(2)〜式(4)に用いられる係数a11、a12、a13、Ky、Yoffは、メモリ9に格納されている。制御部8が、メモリ9から各係数を読み出してY信号処理部6に送信する。Y信号処理部6は、制御部8から送信された制御信号を用いて上記各演算を行う。 The coefficients a 11 , a 12 , a 13 , Ky, and Y off used in the above equations (2) to (4) are stored in the memory 9. The control unit 8 reads each coefficient from the memory 9 and transmits it to the Y signal processing unit 6. The Y signal processing unit 6 performs the above calculations using the control signal transmitted from the control unit 8.

図4は、C信号処理部7の構成を示す図である。C信号処理部7のRGB−UV変換部701は、ホワイトバランス調整部5より出力されたR'、G'、B'信号に対し、次式(5)に示す演算処理を行い、U1信号、V1信号を求める。
U1=a21R+a22G+a23
V1=a31R+a32G+a33B (5)
FIG. 4 is a diagram illustrating a configuration of the C signal processing unit 7. The RGB-UV conversion unit 701 of the C signal processing unit 7 performs the arithmetic processing shown in the following equation (5) on the R ′, G ′, and B ′ signals output from the white balance adjustment unit 5 to obtain the U1 signal, Obtain the V1 signal.
U1 = a 21 R + a 22 G + a 23 B
V1 = a 31 R + a 32 G + a 33 B (5)

次に、C信号処理部7のゲイン調整部702は、U1、V1信号に対し、UゲインKu、VゲインKvを乗じる次式(6)に示す演算処理を行い、U2信号、V2信号を求める。
U2=Ku×U1
V2=Kv×V1 (6)
Next, the gain adjusting unit 702 of the C signal processing unit 7 performs the arithmetic processing shown in the following equation (6) by multiplying the U1 and V1 signals by the U gain Ku and the V gain Kv, and obtains the U2 signal and the V2 signal. .
U2 = Ku × U1
V2 = Kv × V1 (6)

続いて、C信号処理部7のオフセット調整部703は、U2、V2信号に対し、Uオフセット値Uoff、Vオフセット値Voffを加算する次式(7)に示す演算処理を行い、U信号、V信号を求め、出力する。
U=U2+Uoff
V=V2+Voff (7)
Subsequently, the offset adjustment unit 703 of the C signal processing unit 7 performs the arithmetic processing shown in the following equation (7) for adding the U offset value U off and the V offset value V off to the U2 and V2 signals, and the U signal The V signal is obtained and output.
U = U2 + U off
V = V2 + V off (7)

上記の式(5)〜式(7)に用いられる係数a21、a22、a23、a31、a32、a33、Ku、Kv、Uoff、Voffはメモリ9に格納されている。制御部8が、メモリ9から各係数を読み出してC信号処理部7に送信する。C信号処理部7は、制御部8から送信された制御信号を用いて上記各演算を行う。 The coefficients a 21 , a 22 , a 23 , a 31 , a 32 , a 33 , Ku, Kv, U off and V off used in the above equations (5) to (7) are stored in the memory 9. . The control unit 8 reads each coefficient from the memory 9 and transmits it to the C signal processing unit 7. The C signal processing unit 7 performs the above calculations using the control signal transmitted from the control unit 8.

図5は、式(7)で用いられるLUT802に記憶されたデータの例を示す図である。LUT802には、「輝度レベルY」に対応付けられて「UオフセットUoff」「VオフセットVoff」が格納されている。このLUT802により、「輝度レベルY」が10のときには、Uoff=0.0、Voff=0・0を用いればよいことが読み取れる。なお、「UオフセットUoff」「VオフセットVoff」の値は、後述する方法によって、それぞれのデジタルカメラについて求められる。 FIG. 5 is a diagram illustrating an example of data stored in the LUT 802 used in Expression (7). The LUT 802 stores “U offset U off ” and “V offset V off ” in association with “luminance level Y”. From this LUT 802, it can be read that when “luminance level Y” is 10, U off = 0.0 and V off = 0 · 0 may be used. It should be noted that the values of “U offset U off ” and “V offset V off ” are obtained for each digital camera by a method described later.

次に、LUT801,802の具体的な作成方法について説明する。
図6は、LUT801の作成方法を示す図である。デジタルカメラのオプティカルブラックのずれは、製造時に生じ、その後の使用状況によっては変化しないので、図6に示すフローによってLUT801に記憶するデータを決定する処理は、最初に行えばよい。
Next, a specific method for creating the LUTs 801 and 802 will be described.
FIG. 6 is a diagram illustrating a method for creating the LUT 801. Since the deviation of the optical black of the digital camera occurs at the time of manufacture and does not change depending on the subsequent use situation, the process of determining the data to be stored in the LUT 801 by the flow shown in FIG. 6 may be performed first.

図6に示すように、まず、輝度レベルを初期設定する(S101)。この例では、初期設定値は、輝度レベルを100%としている。次に、設定された輝度レベルにおいて、ホワイトバランス調整部5のゲインKR、KBを測定し(S102)、その値をレジスタに書き込む(S103)。図2に示されるように、R,G,Bのそれぞれに対するゲイン値KR、KG、KBは、KGを1とした値なので、ゲイン値KR、KBをレジスタに書き込んでいる。 As shown in FIG. 6, first, the luminance level is initially set (S101). In this example, the initial setting value has a luminance level of 100%. Next, at the set luminance level, the gains K R and K B of the white balance adjustment unit 5 are measured (S102), and the values are written in the register (S103). As shown in FIG. 2, R, G, the gain value K R, K G, K B for each of B, since the value obtained by the 1 K G, are written gain value K R, a K B to register .

次に、輝度レベルを10%低くして(S104)、低くした輝度レベルが0%より大きいかどうかを判定する(S105)。輝度レベルが0%よりも大きい場合は(S105でYES)、ステップS102からステップS104の処理を繰り返す。輝度レベルが0%以下となった場合には(S105でNO)、LUT801の作成を終了する。   Next, the brightness level is lowered by 10% (S104), and it is determined whether the lowered brightness level is greater than 0% (S105). If the luminance level is greater than 0% (YES in S105), the processing from step S102 to step S104 is repeated. If the brightness level is 0% or less (NO in S105), the creation of the LUT 801 is terminated.

図7は、LUT802の作成方法を示す図である。UV信号についてその取り得る値を0−255で定義し、無彩色の信号を(U,V)=(128,128)とする。図7に示すように、まず、輝度レベルを初期設定する(S201)。この例では、初期設定値は、輝度レベルを100%としている。次に、設定された輝度レベルにおいて、C信号処理部7のU出力、V出力を測定し(S202)、UV信号のそれぞれの測定値から128を減算して(S203)、減算結果をレジスタに書き込む(S204)。次に、輝度レベルを10%低くして(S205)、低くした輝度レベルが0%より大きいかどうかを判定し(S206)、輝度レベルが0%よりも大きい場合は(S206でYES)、ステップS202からステップS205の処理を繰り返す。輝度レベルが0%以下となった場合には(S206でNO)、LUT802の作成を終了する。   FIG. 7 is a diagram illustrating a method for creating the LUT 802. The possible values for the UV signal are defined by 0-255, and the achromatic signal is (U, V) = (128, 128). As shown in FIG. 7, first, the luminance level is initially set (S201). In this example, the initial setting value has a luminance level of 100%. Next, at the set luminance level, the U output and V output of the C signal processing unit 7 are measured (S202), 128 is subtracted from each measured value of the UV signal (S203), and the subtraction result is stored in the register. Write (S204). Next, the brightness level is lowered by 10% (S205), and it is determined whether or not the lowered brightness level is greater than 0% (S206). If the brightness level is greater than 0% (YES in S206), step The processing from S202 to step S205 is repeated. If the brightness level is 0% or less (NO in S206), the creation of the LUT 802 is terminated.

次に、本実施の形態のデジタルカメラによってホワイトバランス調整部5のゲインを調整する動作について説明する。CMOS1によって光電変換された信号は、CDS部2、AGC部3を介してAD変換部4に入力され、AD変換部4にてデジタルの映像信号に変換される。AD変換部4から出力された映像信号は、ホワイトバランス調整部5に入力される。初期状態では、まだY信号処理部6の出力値が得られていないので、ホワイトバランス調整部5は、デフォルトのゲイン値を用いて、ホワイトバランスの調整を行う。ホワイトバランス調整部5は、ホワイトバランスを調整した映像信号をY信号処理部6に入力する。Y信号処理部6は、入力された映像信号に基づいてY信号を生成し、出力する。このとき、Y信号は制御部8に対しても出力される。   Next, an operation for adjusting the gain of the white balance adjustment unit 5 by the digital camera of the present embodiment will be described. The signal photoelectrically converted by the CMOS 1 is input to the AD conversion unit 4 through the CDS unit 2 and the AGC unit 3, and is converted into a digital video signal by the AD conversion unit 4. The video signal output from the AD conversion unit 4 is input to the white balance adjustment unit 5. In the initial state, since the output value of the Y signal processing unit 6 has not yet been obtained, the white balance adjustment unit 5 adjusts the white balance using the default gain value. The white balance adjustment unit 5 inputs the video signal whose white balance has been adjusted to the Y signal processing unit 6. The Y signal processing unit 6 generates and outputs a Y signal based on the input video signal. At this time, the Y signal is also output to the control unit 8.

制御部8は、Y信号処理部6から出力された出力値を受信すると、出力値に対応するゲイン値KR、KG、KBをLUT801から読み出す。そして、制御部8は、読み出したゲイン値をホワイトバランス調整部5に送信する。ホワイトバランス調整部5は、制御部8から送信されたゲイン値KR、KG、KBを用いて、ホワイトバランスの調整を行う。 When receiving the output value output from the Y signal processing unit 6, the control unit 8 reads the gain values K R , K G , and K B corresponding to the output value from the LUT 801. Then, the control unit 8 transmits the read gain value to the white balance adjustment unit 5. The white balance adjustment unit 5, the gain value K R transmitted from the control unit 8, K G, with K B, to adjust the white balance.

次に、本実施の形態のデジタルカメラによって、C信号処理部7のオフセット値を調整する動作について説明する。制御部8は、Y信号処理部6から送信されたY信号の出力値を受信すると、出力値に対応するオフセット値Uoff、VoffをLUT802から読み出す。そして、制御部8は、読み出したオフセット値Uoff、VoffをC信号処理部7に送信する。C信号処理部7は、制御部8から送信されたオフセット値Uoff、Voffを、C信号を生成する処理を行う。 Next, an operation for adjusting the offset value of the C signal processing unit 7 by the digital camera of the present embodiment will be described. When receiving the output value of the Y signal transmitted from the Y signal processing unit 6, the control unit 8 reads out the offset values U off and V off corresponding to the output value from the LUT 802. Then, the control unit 8 transmits the read offset values U off and V off to the C signal processing unit 7. The C signal processing unit 7 performs processing for generating a C signal based on the offset values U off and V off transmitted from the control unit 8.

以上、本実施の形態のデジタルカメラの構成および映像信号処理について説明した。本実施の形態のデジタルカメラは、ホワイトバランス調整部5で用いるゲイン値KR、KG、KBとY信号のレベルとを対応付けたLUT801がメモリ9に格納されている。そして、制御部8は、Y信号処理部6の出力値に応じたゲイン値KR、KG、KBを読み出し、そのゲイン値KR、KG、KBを用いてホワイトバランスの調整を行うので、撮像された映像の明暗に関わらず、適切なホワイトバランス調整を行うことができる。 The configuration and video signal processing of the digital camera according to the present embodiment have been described above. In the digital camera according to the present embodiment, an LUT 801 in which gain values K R , K G , and K B used in the white balance adjustment unit 5 are associated with Y signal levels is stored in the memory 9. Then, the control unit 8, the gain value K R in accordance with the output value of the Y signal processing unit 6, K G, reads the K B, the gain value K R, K G, the white balance adjustment by using a K B Thus, appropriate white balance adjustment can be performed regardless of the brightness of the captured image.

また、C信号処理部7で用いるオフセット値Uoff、VoffとY信号のレベルとを対応付けたLUT802がメモリ9に格納されている。そして、制御部8は、Y信号処理部6の出力値に応じたオフセット値Uoff、Voffを読み出し、そのオフセット値Uoff、Voffを用いてC信号処理を行うので、撮像された映像の明暗に関わらず、適切にC信号を生成できる。 Also, an LUT 802 in which offset values U off and V off used in the C signal processing unit 7 are associated with the Y signal level is stored in the memory 9. Then, the control unit 8, the offset value corresponding to the output value of the Y signal processing unit 6 U off, reads the V off, the offset value U off, since the C signal processing with V off, captured video The C signal can be generated appropriately regardless of whether the light is dark or dark.

以上、本発明のデジタルカメラについて、実施の形態を挙げて詳細に説明したが、本発明は上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で種々変形して実施できる。   The digital camera of the present invention has been described in detail with reference to the embodiment. However, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention. Can be implemented.

以上説明したように、本発明は、映像の明暗に関わらず、適切なホワイトバランス調整を行うことができるというすぐれた効果を有し、デジタルカメラ等に有用である。   As described above, the present invention has an excellent effect that appropriate white balance adjustment can be performed regardless of the brightness of an image, and is useful for a digital camera or the like.

本発明の実施の形態におけるデジタルカメラの構成を示す図である。It is a figure which shows the structure of the digital camera in embodiment of this invention. ルックアップテーブル801の構成の一例を示す図である。It is a figure which shows an example of a structure of the look-up table. Y信号処理部の一例を示す図である。It is a figure which shows an example of a Y signal processing part. C信号処理部の一例を示す図である。It is a figure which shows an example of a C signal processing part. ルックアップテーブル802の構成の一例を示す図である。It is a figure which shows an example of a structure of the lookup table. ルックアップテーブル801の作成方法の一例を示すフロー図である。It is a flowchart which shows an example of the creation method of the lookup table. ルックアップテーブル802の作成方法の一例を示すフロー図である。FIG. 10 is a flowchart illustrating an example of a method for creating a lookup table 802. 従来のデジタルカメラを示す図である。It is a figure which shows the conventional digital camera. 撮像素子におけるカラーフィルタの配列の一例を示す図である。It is a figure which shows an example of the arrangement | sequence of the color filter in an image sensor. ホワイトバランス調整部の構成の一例を示す図である。It is a figure which shows an example of a structure of a white balance adjustment part. OBずれの無いホワイトバランスの動作の一例を示す図である。It is a figure which shows an example of the operation | movement of white balance without OB shift | offset | difference. OBずれがあるホワイトバランスの動作の一例を示す図である。It is a figure which shows an example of the operation | movement of white balance with OB shift | offset | difference.

符号の説明Explanation of symbols

1 撮像素子
2 CDS部
3 AGC部
4 AD変換部
5 ホワイトバランス調整部
501 SP変換部
502、503、504 ゲイン調整部
6 Y信号処理部
601 RGB−Y変換部
602 ゲイン調整部
603 オフセット調整部
7 C信号処理部
701 RGB−UV変換部
702 ゲイン調整部
703 オフセット調整部
8 制御部
801、802 ルックアップテーブル
9 メモリ

DESCRIPTION OF SYMBOLS 1 Image pick-up element 2 CDS part 3 AGC part 4 AD conversion part 5 White balance adjustment part 501 SP conversion part 502, 503, 504 Gain adjustment part 6 Y signal processing part 601 RGB-Y conversion part 602 Gain adjustment part 603 Offset adjustment part 7 C signal processing unit 701 RGB-UV conversion unit 702 gain adjustment unit 703 offset adjustment unit 8 control unit 801, 802 lookup table 9 memory

Claims (4)

光電変換によって入射光を映像信号に変換する撮像素子と、
前記撮像素子にて得られた映像信号のR,G,B成分のそれぞれに所定のゲイン値を乗じることによって、ホワイトバランスを調整するホワイトバランス調整部と、
前記ホワイトバランス調整部から出力された映像信号に基づいて輝度信号を生成する輝度信号処理部と、
前記輝度信号処理部からの出力値に基づいて、前記ゲイン値を決定する制御部と、
を備えたことを特徴とするデジタルカメラ。
An image sensor that converts incident light into a video signal by photoelectric conversion;
A white balance adjustment unit that adjusts the white balance by multiplying each of the R, G, and B components of the video signal obtained by the imaging device by a predetermined gain value;
A luminance signal processing unit that generates a luminance signal based on the video signal output from the white balance adjustment unit;
A control unit for determining the gain value based on an output value from the luminance signal processing unit;
A digital camera characterized by comprising
前記輝度信号処理部の出力値と前記ホワイトバランス調整部のゲイン値とを対応付けるテーブルを格納したメモリを備え、
前記制御部は、前記輝度信号処理部から出力された出力値に対応する前記ゲイン値を前記テーブルから読み出し、読み出されたゲイン値を前記ホワイトバランス調整部のゲイン値として決定することを特徴とする請求項1に記載のデジタルカメラ。
A memory storing a table associating an output value of the luminance signal processing unit with a gain value of the white balance adjustment unit;
The control unit reads the gain value corresponding to the output value output from the luminance signal processing unit from the table, and determines the read gain value as a gain value of the white balance adjustment unit. The digital camera according to claim 1.
光電変換によって入射光を映像信号に変換する撮像素子と、
前記撮像素子にて得られた映像信号のホワイトバランスを調整するホワイトバランス調整部と、
前記ホワイトバランス調整部から出力された映像信号に基づいて輝度信号を生成する輝度信号処理部と、
前記ホワイトバランス調整部から出力された映像信号を色差信号に変換し、オフセット値を加算する色差信号処理部と、
前記輝度信号処理部の出力値に基づいて、前記オフセット値を決定する制御部と、
を備えたことを特徴とするデジタルカメラ。
An image sensor that converts incident light into a video signal by photoelectric conversion;
A white balance adjustment unit for adjusting the white balance of the video signal obtained by the imaging device;
A luminance signal processing unit that generates a luminance signal based on the video signal output from the white balance adjustment unit;
A color difference signal processing unit that converts the video signal output from the white balance adjustment unit into a color difference signal and adds an offset value;
A control unit that determines the offset value based on an output value of the luminance signal processing unit;
A digital camera characterized by comprising
前記輝度信号処理部の出力値と前記色差信号処理部のオフセット値とを対応付けるテーブルを格納したメモリを備え、
前記制御部は、前記輝度信号処理部から出力された出力値に対応する前記オフセット値を前記テーブルから読み出し、読み出されたオフセット値を前記色差信号処理部のオフセット値として決定することを特徴とする請求項3に記載のデジタルカメラ。

A memory storing a table associating an output value of the luminance signal processing unit with an offset value of the color difference signal processing unit;
The control unit reads the offset value corresponding to the output value output from the luminance signal processing unit from the table, and determines the read offset value as an offset value of the color difference signal processing unit. The digital camera according to claim 3.

JP2006028162A 2006-02-06 2006-02-06 Digital camera Pending JP2007208884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006028162A JP2007208884A (en) 2006-02-06 2006-02-06 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006028162A JP2007208884A (en) 2006-02-06 2006-02-06 Digital camera

Publications (1)

Publication Number Publication Date
JP2007208884A true JP2007208884A (en) 2007-08-16

Family

ID=38487900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006028162A Pending JP2007208884A (en) 2006-02-06 2006-02-06 Digital camera

Country Status (1)

Country Link
JP (1) JP2007208884A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015177391A (en) * 2014-03-17 2015-10-05 株式会社リコー Image processing apparatus, imaging apparatus, image processing program, and image processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002034053A (en) * 2000-07-18 2002-01-31 Nikon Corp Electronic camera
JP2002095002A (en) * 2000-09-18 2002-03-29 Sanyo Electric Co Ltd Color tone correcting circuit and hue-correcting circuit
JP2002281511A (en) * 2001-03-16 2002-09-27 Fuji Photo Film Co Ltd Image display method for digital camera and digital camera
JP2007189344A (en) * 2006-01-11 2007-07-26 Fujifilm Corp Imaging apparatus and its signal processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002034053A (en) * 2000-07-18 2002-01-31 Nikon Corp Electronic camera
JP2002095002A (en) * 2000-09-18 2002-03-29 Sanyo Electric Co Ltd Color tone correcting circuit and hue-correcting circuit
JP2002281511A (en) * 2001-03-16 2002-09-27 Fuji Photo Film Co Ltd Image display method for digital camera and digital camera
JP2007189344A (en) * 2006-01-11 2007-07-26 Fujifilm Corp Imaging apparatus and its signal processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015177391A (en) * 2014-03-17 2015-10-05 株式会社リコー Image processing apparatus, imaging apparatus, image processing program, and image processing method

Similar Documents

Publication Publication Date Title
US20090284618A1 (en) Image processing device and method, and computer-readable recording medium containing program
JP5112238B2 (en) Imaging apparatus, setting value changing method, and program
JP2011113182A (en) Image processing apparatus
CN107154803B (en) Signal processing apparatus, signal processing method, and image pickup apparatus
JP2008271123A (en) Imaging device
JP4777038B2 (en) Imaging apparatus and image processing method
WO2010010871A1 (en) Imaging device
WO2010146748A1 (en) Image pickup apparatus
JP2006140791A (en) Digital camera and signal processing method therefor and signal processor
JP2000041179A (en) Shading correction method for image input device and image input device
WO2010146749A1 (en) Image pickup apparatus
JP2007208884A (en) Digital camera
US8368782B2 (en) Multiple exposure image pickup apparatus, multiple exposure image pickup method, program, and recording medium
JP4320720B2 (en) Imaging device
JP4725052B2 (en) Imaging device
JP5588729B2 (en) Image signal processing device
JP2009081526A (en) Imaging apparatus
JP2007324998A (en) Imaging apparatus
JP4479429B2 (en) Imaging device
JP4129019B2 (en) Shading correction method
JP2007049533A (en) Imaging apparatus and electronic information equipment
JP4720130B2 (en) Imaging device
JP5754929B2 (en) Image processing apparatus and image processing method
JP2005086630A (en) Imaging apparatus
JP7457568B2 (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110726

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111122