JP2003250164A - Digital camera - Google Patents

Digital camera

Info

Publication number
JP2003250164A
JP2003250164A JP2002047681A JP2002047681A JP2003250164A JP 2003250164 A JP2003250164 A JP 2003250164A JP 2002047681 A JP2002047681 A JP 2002047681A JP 2002047681 A JP2002047681 A JP 2002047681A JP 2003250164 A JP2003250164 A JP 2003250164A
Authority
JP
Japan
Prior art keywords
color
gain
color evaluation
variable range
optimum gain
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.)
Granted
Application number
JP2002047681A
Other languages
Japanese (ja)
Other versions
JP3948982B2 (en
Inventor
Kazuhiro Tsujino
和廣 辻野
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2002047681A priority Critical patent/JP3948982B2/en
Publication of JP2003250164A publication Critical patent/JP2003250164A/en
Application granted granted Critical
Publication of JP3948982B2 publication Critical patent/JP3948982B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital camera capable of properly adjusting white bal ance. <P>SOLUTION: An optimum gain for white balance adjustment is found on the basis of R data, G data, and B data the white balance of which is adjusted according to a reference gain. In this case, a CPU 30 first obtains a color evaluation value for a plurality of division areas forming an object image and selects a narrower variable range of the optimum gain with respect to the reference gain as the variance of the color evaluation values is greater. Then the CPU 30 discriminates whether or not an optimum gain tentatively determined on the basis of a plurality of the color evaluation value is included in the variable range and corrects the optimum gain when the tentatively determined optimum gain is deviated from the variable range. Thus, as a plurality of the color evaluation values are greatly dispersed, the obtained optimum gain indicates a value closer to the reference gain. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、ディジタルカメ
ラに関し、特にたとえば基準ゲインに従って白バランス
が調整された被写体像信号に基づいて白バランス調整の
最適ゲインを求める、ディジタルカメラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital camera, and more particularly to a digital camera for obtaining an optimum gain of white balance adjustment based on a subject image signal whose white balance is adjusted according to a reference gain.

【0002】[0002]

【従来技術】従来のこの種のディジタルカメラでは、被
写体像を形成する複数の領域の各々について色評価値が
求められ、求められた複数の色評価値のうち引き込み範
囲に含まれる色評価値の平均値が算出され、そして当該
平均値がR−Y軸およびB−Y軸の交点に収束するよう
に最適ゲインが決定されていた。
2. Description of the Related Art In a conventional digital camera of this type, a color evaluation value is obtained for each of a plurality of regions forming a subject image, and among the plurality of obtained color evaluation values, the color evaluation values included in the pull-in range are calculated. The average value was calculated, and the optimum gain was determined so that the average value converged on the intersection of the RY axis and the BY axis.

【0003】[0003]

【発明が解決しようとする課題】しかし、求められた複
数の色評価値の分散が大きいほど、平均値に基づく白バ
ランス調整は不適切となる。これは、被写体が有する複
数の色の間で重要度に差があることに起因する。たとえ
ば、主要被写体が人物である場合、この人物の肌の色は
周辺の被写体の色よりも重要視される。すると、平均値
と各々の色評価値との間で大きな差があるときでも平均
値が交点に収束するように最適ゲインを決定したので
は、適切な白バランス調整が行われないおそれがある。
However, the white balance adjustment based on the average value becomes unsuitable as the obtained variance of the plurality of color evaluation values is large. This is due to the difference in importance between the plurality of colors of the subject. For example, when the main subject is a person, the skin color of this person is more important than the colors of the surrounding subjects. Then, even if there is a large difference between the average value and each color evaluation value, if the optimum gain is determined so that the average value converges on the intersection, there is a possibility that appropriate white balance adjustment will not be performed.

【0004】それゆえに、この発明の主たる目的は、複
数の色評価値の分散が大きいときでも白バランスを適切
に調整することができる、ディジタルカメラを提供する
ことである。
Therefore, a main object of the present invention is to provide a digital camera capable of properly adjusting the white balance even when the variance of a plurality of color evaluation values is large.

【0005】[0005]

【課題を解決するための手段】この発明は、基準ゲイン
に従って白バランスが調整された被写体像信号に基づい
て白バランス調整の最適ゲインを求めるディジタルカメ
ラにおいて、被写体の複数部分の色を評価する色評価手
段、色評価手段によって求められた複数の色評価値の分
散が大きいほど基準ゲインに対する最適ゲインの可変範
囲を狭くする可変範囲変更手段、複数の色評価値に基づ
いて最適ゲインを仮決定する仮決定手段、および仮決定
手段によって仮決定された最適ゲインが可変範囲から外
れるとき当該最適ゲインを修正する修正手段を備えるこ
とを特徴とする、ディジタルカメラである。
SUMMARY OF THE INVENTION According to the present invention, in a digital camera for obtaining an optimum gain for white balance adjustment based on a subject image signal whose white balance has been adjusted in accordance with a reference gain, a color for evaluating colors of a plurality of parts of a subject. Variable range changing means for narrowing the variable range of the optimum gain with respect to the reference gain as the variance of the plurality of color evaluation values obtained by the evaluation means and the color evaluation means is large, and the optimum gain is provisionally determined based on the plurality of color evaluation values. A digital camera, comprising: a tentative determination unit; and a correction unit that corrects the optimum gain provisionally determined by the provisional determination unit when the optimum gain deviates from a variable range.

【0006】[0006]

【作用】白バランス調整の最適ゲインは、基準ゲインに
従って白バランスが調整された被写体像信号に基づいて
求められる。このとき、まず色評価手段が、被写体の複
数部分の色を評価して複数の色評価値を求める。可変範
囲変更手段は、当該複数の色評価値の分散が大きいほ
ど、基準ゲインに対する最適ゲインの可変範囲を狭くす
る。最適ゲインは、複数の色評価値に基づいて仮決定手
段によって仮決定される。そして、仮決定された最適ゲ
インが可変範囲から外れるときは、当該最適ゲインが修
正手段によって修正される。したがって、複数の色評価
値が大きく分散するほど、求められる最適ゲインは基準
ゲインに近い値を示す。
The optimum gain for white balance adjustment is obtained based on the subject image signal whose white balance is adjusted according to the reference gain. At this time, the color evaluation means first evaluates the colors of a plurality of parts of the subject to obtain a plurality of color evaluation values. The variable range changing unit narrows the variable range of the optimum gain with respect to the reference gain as the variance of the plurality of color evaluation values increases. The optimum gain is provisionally determined by the provisional determination means based on the plurality of color evaluation values. Then, when the temporarily determined optimum gain is out of the variable range, the optimum gain is corrected by the correction means. Therefore, the greater the variance of the plurality of color evaluation values, the closer the optimum gain obtained is to the reference gain.

【0007】可変範囲変更手段は、好ましくは、複数の
色評価値が特定色領域とそれ以外の色領域とに分散した
とき、当該色領域から基準点までの距離に関連する範囲
を可変範囲として設定する。より好ましくは、特定領域
に属する色評価値の数が閾値以下であるとき、可変範囲
変更手段が不能化手段によって不能化される。なお、肌
色を含む領域を特定領域とすれば、肌色を含む被写体に
ついては肌色の変化が抑制され、肌色を含まない被写体
については色評価値の分散に関係ない白バランス調整が
実行される。
The variable range changing means preferably sets the range related to the distance from the color region to the reference point as the variable range when the plurality of color evaluation values are dispersed in the specific color region and the other color regions. Set. More preferably, when the number of color evaluation values belonging to the specific area is equal to or less than the threshold value, the variable range changing unit is disabled by the disabling unit. If the region including the skin color is set as the specific region, the change in the skin color is suppressed for the subject including the skin color, and the white balance adjustment is performed for the subject not including the skin color regardless of the variance of the color evaluation values.

【0008】色評価手段は、好ましくは、被写体の色情
報信号を複数部分の各々で積分し、これによって求めら
れた複数の積分値から明るさ関連成分を除去する。こう
して、複数の色評価値が求められる。
The color evaluation means preferably integrates the color information signal of the object in each of the plurality of parts, and removes the brightness-related component from the plurality of integrated values thus obtained. In this way, a plurality of color evaluation values are obtained.

【0009】基準ゲインは、好ましくは基準色温度の被
写体に最適なゲインである。
The reference gain is preferably the optimum gain for a subject having a reference color temperature.

【0010】最適ゲインに従って白バランスが調整され
た被写体像信号は、好ましくは記録手段によって記録媒
体に記録される。
The subject image signal whose white balance is adjusted according to the optimum gain is preferably recorded on the recording medium by the recording means.

【0011】[0011]

【発明の効果】この発明によれば、複数の色評価値が大
きく分散するほど可変範囲が狭くされ、当該可変範囲に
収まるように最適ゲインが決定される。ここで可変範囲
は基準ゲインに対して最適ゲインがとり得る範囲であ
り、この範囲を狭めることによって最適ゲインが意図し
ない値に大きく変化することはない。これによって、白
バランスをより適切に調整することができる。
According to the present invention, the more the plurality of color evaluation values are dispersed, the narrower the variable range is, and the optimum gain is determined so as to fall within the variable range. Here, the variable range is a range that the optimum gain can take with respect to the reference gain, and by narrowing this range, the optimum gain does not change to an unintended value. Thereby, the white balance can be adjusted more appropriately.

【0012】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above-mentioned objects, other objects, features and advantages of the present invention will become more apparent from the detailed description of the embodiments below with reference to the drawings.

【0013】[0013]

【実施例】図1を参照して、この実施例のディジタルカ
メラ10は、レンズ12を含む。被写体の光像は、当該
レンズ12とイメージセンサ16の前面に装着された原
色フィルタ14とを介してイメージセンサ16の受光面
に入射される。原色フィルタ14は、図2に示すよう
に、それぞれの画素に対応してR,GおよびBのフィル
タ要素を持つ。このため、受光面に形成された各々の受
光素子で生成される電荷量は、R,GまたはBの光量を
反映する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Referring to FIG. 1, a digital camera 10 of this embodiment includes a lens 12. The light image of the subject is incident on the light receiving surface of the image sensor 16 through the lens 12 and the primary color filter 14 mounted on the front surface of the image sensor 16. As shown in FIG. 2, the primary color filter 14 has R, G, and B filter elements corresponding to respective pixels. Therefore, the amount of charges generated by each light receiving element formed on the light receiving surface reflects the amount of R, G, or B light.

【0014】タイミングジェネレータ(TG)34は、
イメージセンサ16で生成された電荷(画素信号)をラ
スタスキャン方式で読み出す。読み出された画素信号
は、A/D変換器18によってディジタル信号つまり画
素データに変換され、変換された画素データが第1信号
処理回路20に入力される。第1信号処理回路20は、
入力された画素データにCDSやAGCなどの信号処理
を施し、かつこのような処理が施された画素データに色
分離を施す。これによって、各画素がR,GおよびBの
すべての色情報を有することになり、同じ画素のRデー
タ,GデータおよびBデータが、第1信号処理回路20
から白バランス調整回路22に同時に出力される。
The timing generator (TG) 34 is
The charges (pixel signals) generated by the image sensor 16 are read by the raster scan method. The read pixel signal is converted into a digital signal, that is, pixel data by the A / D converter 18, and the converted pixel data is input to the first signal processing circuit 20. The first signal processing circuit 20 is
Signal processing such as CDS or AGC is performed on the input pixel data, and color separation is performed on the pixel data subjected to such processing. As a result, each pixel has all the color information of R, G, and B, and the R data, G data, and B data of the same pixel are stored in the first signal processing circuit 20.
Are simultaneously output to the white balance adjusting circuit 22.

【0015】Rデータはアンプ24aでRgainを付
与され、Bデータはアンプ24bでBgainを付与さ
れる。一方、Gデータにはゲインは付与されない。アン
プ24aおよび24bでゲインを付与されたRデータお
よびBデータならびに第1信号処理回路20から出力さ
れたGデータは、マトリクス回路26でマトリクス演算
を施される。これによって、Yデータ,Uデータおよび
Vデータが生成される。
The R data is given Rgain by the amplifier 24a, and the B data is given Bgain by the amplifier 24b. On the other hand, no gain is given to the G data. The R data and B data to which the gains have been added by the amplifiers 24a and 24b and the G data output from the first signal processing circuit 20 are subjected to a matrix operation by a matrix circuit 26. As a result, Y data, U data and V data are generated.

【0016】Rデータ,GデータおよびBデータはま
た、積分回路28に入力される。画面は、図7に示すよ
うに水平方向および垂直方向に8分割され、64個の分
割エリアが画面に形成されている。このため、積分回路
28は、Rデータ,GデータおよびBデータを色情報毎
にかつ分割エリア毎に積分する。これによって、各分割
エリアの積分値Rij,GijおよびBijが1フレー
ム期間かけて生成される。なお、iおよびjはそれぞ
れ、水平方向および垂直方向における分割エリアの位置
を示し、“1”〜“8”のいずれかの値が割り当てられ
る。
The R data, G data and B data are also input to the integrating circuit 28. As shown in FIG. 7, the screen is divided into eight in the horizontal and vertical directions, and 64 divided areas are formed on the screen. Therefore, the integrating circuit 28 integrates the R data, G data, and B data for each color information and for each divided area. As a result, the integrated values Rij, Gij and Bij of each divided area are generated over one frame period. It should be noted that i and j respectively indicate the positions of the divided areas in the horizontal direction and the vertical direction, and are assigned any one of the values “1” to “8”.

【0017】CPU30は、シャッタボタン32が操作
されたとき、イメージセンサ16にプリ露光を施し、当
該プリ露光に基づいて積分回路28から出力された積分
値Rij,GijおよびBijに基づいて白バランスを
調整し、そして白バランス調整が完了した後にイメージ
センサ16に本露光を施す。本露光によって得られた画
素信号に基づくYデータ,UデータおよびVデータは、
第2信号処理回路38による圧縮処理を経て記録媒体4
0に記録される。
When the shutter button 32 is operated, the CPU 30 pre-exposes the image sensor 16, and white balances based on the integrated values Rij, Gij and Bij output from the integration circuit 28 based on the pre-exposure. After the adjustment and after the white balance adjustment is completed, the image sensor 16 is subjected to main exposure. The Y data, U data and V data based on the pixel signal obtained by the main exposure are
The recording medium 4 undergoes compression processing by the second signal processing circuit 38.
It is recorded at 0.

【0018】CPU30は、シャッタボタン32の操作
に応答して白バランス調整を行うとき、図3〜図6に示
すフロー図を処理する。なお、このフロー図に対応する
制御プログラムは、ROM42に記憶される。
When the white balance adjustment is performed in response to the operation of the shutter button 32, the CPU 30 processes the flowcharts shown in FIGS. The control program corresponding to this flow chart is stored in the ROM 42.

【0019】まずステップS1でカウンタ30a,30
b,30c,30iおよび30jと、レジスタ30r,
30gおよび30bとを初期化する。カウンタ30aの
カウント値ACNT,カウンタ30bのカウント値BC
NT,カウンタ30cのカウント値CCNT,カウンタ
30iのカウント値iおよびカウンタ30jのカウント
値jは“0”に設定され、レジスタ30rのレジスタ値
ΣR,レジスタ30gのレジスタ値ΣGおよびレジスタ
30bのレジスタ値ΣBもまた“0”に設定される。
First, at step S1, the counters 30a, 30
b, 30c, 30i and 30j and registers 30r,
Initialize 30g and 30b. Count value ACNT of counter 30a, count value BC of counter 30b
NT, the count value CCNT of the counter 30c, the count value i of the counter 30i, and the count value j of the counter 30j are set to "0", and the register value ΣR of the register 30r, the register value ΣG of the register 30g, and the register value ΣB of the register 30b. Is also set to "0".

【0020】シャッタボタン32が操作されると、まず
プリ露光が実行され、当該プリ露光によって得られたR
データ,GデータおよびBデータはRgainの初期値
およびBgainの初期値に従う白バランス調整を施さ
れる。かかる白バランス調整を施されたRデータ,Gデ
ータおよびBデータの積分値Rij,GijおよびBi
jが、積分回路28で求められる。
When the shutter button 32 is operated, pre-exposure is first executed, and R obtained by the pre-exposure is executed.
The data, G data and B data are subjected to white balance adjustment according to the initial value of Rgain and the initial value of Bgain. Integration values Rij, Gij, and Bi of R data, G data, and B data subjected to such white balance adjustment
j is obtained by the integrating circuit 28.

【0021】RgainおよびBgainの初期値は、
5100Kの色温度(基準色温度)を持つ被写体を撮影
したときに白バランスが適切に調整される値である。製
造される各々のイメージセンサの特性には誤差があるた
め、各々のディジタルカメラの製造時にRgainおよ
びBgainの初期値を個別に算出するようにしてい
る。このようなRgainおよびBgainの初期値を
アンプ24aおよび24bに設定して同じ被写体を撮影
すると、アンプ24aおよび24bから出力されるRデ
ータおよびBデータはディジタルカメラ間で互いに一致
することとなる。
The initial values of Rgain and Bgain are
This is a value at which the white balance is appropriately adjusted when a subject having a color temperature (reference color temperature) of 5100K is photographed. Since there is an error in the characteristics of each manufactured image sensor, the initial values of Rgain and Bgain are calculated individually when manufacturing each digital camera. When such initial values of Rgain and Bgain are set in the amplifiers 24a and 24b and the same subject is photographed, the R data and B data output from the amplifiers 24a and 24b match each other between the digital cameras.

【0022】ステップS3では、RgainおよびBg
ainの初期値に従って白バランス調整を施されたRデ
ータ,GデータおよびBデータの積分値Rij,Gij
およびBijのうち、カウント値iおよびjによって特
定される分割エリアの積分値Rij,GijおよびBi
jを取り込む。ステップS5では、取り込まれた積分値
Rij,GijおよびBijに基づいてYij,(R−
G)ijおよび(B−G)ijを算出する。Yijは分
割エリア(i,j)から検出されたY信号の積分値を示
し、輝度評価値と定義することができる。一方、(R−
G)ijは分割エリア(i,j)から検出されたR信号
およびG信号の積分値の差分を示し、(B−G)ijは
分割エリア(i,j)から検出されたB信号およびG信
号の積分値の差分を示す。
In step S3, Rgain and Bg
Integrated values Rij, Gij of R data, G data, and B data subjected to white balance adjustment according to the initial value of ain
And Bij, the integrated values Rij, Gij, and Bi of the divided areas specified by the count values i and j.
Take in j. In step S5, Yij, (R- is calculated based on the integrated values Rij, Gij, and Bij thus fetched.
Calculate G) ij and (BG) ij. Yij indicates the integrated value of the Y signal detected from the divided area (i, j), and can be defined as the brightness evaluation value. On the other hand, (R-
G) ij indicates the difference between the integrated values of the R signal and the G signal detected from the divided area (i, j), and (B−G) ij is the B signal and G detected from the divided area (i, j). The difference of the integrated value of a signal is shown.

【0023】続くステップS7では、数1に従ってfy
(R−G)ijおよびfy(B−G)ijを求める。
In the following step S7, fy is calculated according to the equation 1.
(RG) ij and fy (BG) ij are obtained.

【0024】[0024]

【数1】 fy(R−G)ij=(R−G)ij/k1*Yij fy(B−G)ij=(B−G)ij/k2*Yij k1,k2:定数 (R−G)ijおよび(B−G)ijが示す数値には、
プリ露光時の露光量が反映される。つまり、露光量が多
ければ数値は大きくなるが、露光量が小さければ数値は
小さくなる。このような特性を持つ(R−G)ijおよ
び(B−G)ijを各分割エリアの色評価値と定義する
と、色評価値は露光量によって変動する。一方、被写体
の色は本来的に露光量に依存せず、被写体および光源が
変化しない限り、被写体の色は常に同じである。したが
って、露光量が変更されても、色評価値は同じ値をとり
続けるべきである。このため、数1に従って(R−G)
ijおよび(B−G)ijの各々を露光量に関連するk
1*Yijおよびk2*Yijによって割り算し、割り
算値fy(R−G)ijおよびfy(B−G)ijを色
評価値と定義している。これによって色評価値は露光量
に依存しなくなり、被写体の色を正確に評価することが
できる。
Fy (R−G) ij = (R−G) ij / k1 * Yij fy (B−G) ij = (B−G) ij / k2 * Yij k1, k2: constants (R−G) The numerical values indicated by ij and (BG) ij include
The exposure amount at the time of pre-exposure is reflected. That is, when the exposure amount is large, the numerical value is large, but when the exposure amount is small, the numerical value is small. If (R−G) ij and (B−G) ij having such characteristics are defined as the color evaluation value of each divided area, the color evaluation value varies depending on the exposure amount. On the other hand, the color of the subject does not inherently depend on the exposure amount, and the color of the subject is always the same unless the subject and the light source change. Therefore, even if the exposure amount is changed, the color evaluation value should keep the same value. Therefore, according to Equation 1, (RG)
ij and (B−G) ij are each related to the exposure dose k
It is divided by 1 * Yij and k2 * Yij, and the division values fy (RG) ij and fy (BG) ij are defined as color evaluation values. As a result, the color evaluation value does not depend on the exposure amount, and the color of the subject can be evaluated accurately.

【0025】ステップS9では、色評価値fy(R−
G)ijおよびfy(B−G)ijが図8(B)に示す
色温度図のどこに位置するかを判別し、判別された位置
に対応する重み付け係数Wijを図8(A)に示すテー
ブル30tから検出する。続くステップS11では、検
出された重み付け係数WijをステップS3で取り込ん
だ積分値Rij,GijおよびBijに掛け算し、掛け
算値Rij*Wij,Gij*WijおよびBij*W
ijを求める。
In step S9, the color evaluation value fy (R-
It is determined where G) ij and fy (BG) ij are located in the color temperature diagram shown in FIG. 8B, and the weighting coefficient Wij corresponding to the determined position is shown in the table shown in FIG. 8A. It detects from 30t. In the following step S11, the detected weighting coefficient Wij is multiplied by the integral values Rij, Gij and Bij fetched in step S3, and the multiplication values Rij * Wij, Gij * Wij and Bij * W are obtained.
Find ij.

【0026】図8(A)によれば、重み付け係数Wij
は、“0”,“6”,“7”および“8”のいずれかの
値を示す。このうち、“6”,“7”および“8”が割
り当てられた領域が引き込み範囲を規定し、色評価値が
引き込み範囲から外れる分割エリアは、ステップS11
の処理によって無効とされる。なお、図7に示す被写体
像に着目した場合、斜線で示す14個の分割エリアは同
一色の青空であり、色評価値は図8(A)に斜線で示す
引き込み範囲から外れる。このため、この14個の分割
エリアは無効とされ、残り50個の分割エリアが有効化
される。
According to FIG. 8A, the weighting coefficient Wij
Indicates any value of “0”, “6”, “7” and “8”. Of these, the areas to which “6”, “7”, and “8” are assigned define the pull-in range, and the divided area whose color evaluation value is outside the pull-in range is the step S11.
Is invalidated by the processing of. When focusing on the subject image shown in FIG. 7, the 14 divided areas indicated by diagonal lines are the blue sky of the same color, and the color evaluation value is out of the pull-in range indicated by the diagonal lines in FIG. 8A. Therefore, the 14 divided areas are invalidated and the remaining 50 divided areas are activated.

【0027】ステップS13では、ステップS11で算
出された重み付け値Rij*Wij,Gij*Wijお
よびBij*Wijを色情報毎に積算する。具体的に
は、現時点のレジスタ値ΣR,ΣGおよびΣBに重み付
け値Rij*Wij,Gij*WijおよびBij*W
ijを加算する。
In step S13, the weighted values Rij * Wij, Gij * Wij and Bij * Wij calculated in step S11 are integrated for each color information. Specifically, weighting values Rij * Wij, Gij * Wij and Bij * W are added to the current register values ΣR, ΣG and ΣB.
Add ij.

【0028】ステップS15では、ステップS9で検出
された重み付け値Wijが示す値を判別する。ここでW
ijが“0”以外の数値を示すときは、注目する分割エ
リアを有効分割エリアとみなし、ステップS17〜S2
7の処理を経てステップS29に進む。一方、Wijが
“0”を示すときは、注目する分割エリアを無効分割エ
リアとみなし、直接ステップS29に進む。
In step S15, the value indicated by the weighting value Wij detected in step S9 is determined. Where W
When ij indicates a numerical value other than "0", the divided area of interest is regarded as an effective divided area, and steps S17 to S2 are performed.
After step 7, the process proceeds to step S29. On the other hand, when Wij indicates “0”, the divided area of interest is regarded as an invalid divided area, and the process directly proceeds to step S29.

【0029】ステップS17,S19およびS21で
は、ステップS7で求められた色評価値が図9に示す領
域A〜Cのいずれに属するかを判別する。図9において
一点鎖線で囲まれた領域は、図8(A)において
“6”,“7”または“8”が割り当てられた領域と一
致し、この領域もまた引き込み範囲を規定する。領域A
〜Cは、この引き込み範囲内に形成される。領域Aは昼
光色蛍光灯,昼白色蛍光灯または屋外光の光源色が分布
する領域であり、領域Bは白色蛍光灯の光源色が分布す
る領域であり、そして領域Cは白熱灯の光源色が分布す
る領域である。なお、肌色は、領域Cに属する。
In steps S17, S19 and S21, it is determined which of the areas A to C shown in FIG. 9 the color evaluation value obtained in step S7 belongs to. The area surrounded by the alternate long and short dash line in FIG. 9 corresponds to the area to which “6”, “7” or “8” is assigned in FIG. 8A, and this area also defines the pull-in range. Area A
To C are formed within this pull-in range. Area A is an area where the light source color of daylight fluorescent lamp, day white fluorescent lamp or outdoor light is distributed, area B is an area where the light source color of white fluorescent lamp is distributed, and area C is the light source color of incandescent lamp. This is the area of distribution. The skin color belongs to the area C.

【0030】色評価値が領域Aに属するときはステップ
S17でYESと判断し、ステップS23でカウンタ3
0aのカウント値ACNTをインクリメントする。色評
価値が領域Bに属するときはステップS19でYESと
判断し、ステップS25でカウンタ30bのカウント値
BCNTをインクリメントする。色評価値が領域Cに属
するときはステップS21でYESと判断し、ステップ
S27でカウンタ30cのカウント値CCNTをインク
リメントする。ステップS23,S25またはS27の
処理を終えると、ステップS29に進む。また、色評価
値が領域A〜Cのいずれにも属しないときは、そのまま
ステップS29に進む。
When the color evaluation value belongs to the area A, YES is determined in the step S17, and the counter 3 is determined in a step S23.
The count value ACNT of 0a is incremented. When the color evaluation value belongs to the region B, YES is determined in the step S19, and the count value BCNT of the counter 30b is incremented in a step S25. When the color evaluation value belongs to the area C, YES is determined in the step S21, and the count value CCNT of the counter 30c is incremented in a step S27. When the process of step S23, S25 or S27 is completed, the process proceeds to step S29. If the color evaluation value does not belong to any of the areas A to C, the process directly proceeds to step S29.

【0031】ステップS29では全ての分割エリアに対
するステップS3〜S29の処理が完了したかどうか判
断する。ここでNOと判断されるとステップS31でカ
ウンタ30iおよび30jの少なくとも一方を更新して
からステップS3に戻るが、YESと判断されるとステ
ップS33に進む。
In step S29, it is determined whether or not the processes of steps S3 to S29 have been completed for all the divided areas. If NO is determined here, at least one of the counters 30i and 30j is updated in step S31 and then the process returns to step S3, but if YES is determined, the process proceeds to step S33.

【0032】したがって、ステップS29でYESと判
断された時点のカウント値ACNT,BCNTおよびC
CNTが、有効分割エリアの色評価値の分散状態を示す
こととなる。また、ステップS29でYESと判断され
た時点のレジスタ値ΣR,ΣGおよびΣBが、有効分割
エリアの積分値Rij,GijおよびBijの重み付け
総和を示すこととなる。
Therefore, the count values ACNT, BCNT and C at the time when YES is determined in step S29.
The CNT indicates the distribution state of the color evaluation values of the effective divided area. Further, the register values ΣR, ΣG, and ΣB at the time when YES is determined in step S29 indicate the weighted sum of the integrated values Rij, Gij, and Bij of the effective divided area.

【0033】ステップS33では、数2に従ってRga
inおよびBgainの最適値(最適ゲイン)を仮決定
する。
In step S33, Rga is calculated according to the equation 2.
The optimum values (optimal gain) of in and Bgain are provisionally determined.

【0034】[0034]

【数2】Rgain=k3*ΣG/ΣR Bgain=k4*ΣG/ΣB k3,k4:定数 数2によれば、レジスタ値ΣGをレジスタ値ΣRで割り
算し、かつ割り算値に定数k3を掛け算することで、ゲ
インRgainが求められる。また、レジスタ値ΣGを
レジスタ値ΣBで割り算し、かつ割り算値に定数k4を
掛け算することで、ゲインBgainが求められる。
## EQU00002 ## Rgain = k3 * .SIGMA.G / .SIGMA.R Bgain = k4 * .SIGMA.G / .SIGMA.B k3, k4: According to the constant number 2, dividing the register value .SIGMA.G by the register value .SIGMA.R and multiplying the divided value by the constant k3. Then, the gain Rgain is obtained. Further, the gain Bgain is obtained by dividing the register value ΣG by the register value ΣB and multiplying the divided value by the constant k4.

【0035】最適ゲインが仮決定されると、当該最適ゲ
インが基準ゲインに対して変化し得る範囲(可変範囲)
を決定するべく、ステップS35〜S45の処理を実行
する。
When the optimum gain is provisionally determined, the range in which the optimum gain can change with respect to the reference gain (variable range)
In order to determine, the processing of steps S35 to S45 is executed.

【0036】まずステップS35で、RgainMAX
(+)およびRgainMAX(−)をR_GAIN
(4)およびR_GAIN(3)に設定し、Bgain
MAX(+)およびBgainMAX(−)をB_GA
IN(3)およびB_GAIN(4)に設定する。Rg
ainMAX(+)はRgainがとり得るプラス方向
の最大値であり、RgainMAX(−)はRgain
がとり得るマイナス方向の最大値である。また、Bga
inMAX(+)はBgainがとり得るプラス方向の
最大値であり、BgainMAX(−)はBgainが
とり得るマイナス方向の最大値である。これによって、
可変範囲が初期化される。
First, in step S35, RgainMAX is set.
(+) And RgainMAX (-) to R_GAIN
(4) and R_GAIN (3), set Bgain
MAX (+) and BgainMAX (-) to B_GA
Set to IN (3) and B_GAIN (4). Rg
ainMAX (+) is the maximum value in the positive direction that Rgain can take, and RgainMAX (−) is Rgain.
Is the maximum negative value that can be taken. Also, Bga
inMAX (+) is the maximum value in the positive direction that Bgain can take, and BgainMAX (-) is the maximum value in the negative direction that Bgain can take. by this,
The variable range is initialized.

【0037】なお、図9に示すように、R−G軸につい
ては上方向がプラス方向であり、B−G軸については右
方向がプラス方向である。したがって、図9に示す平面
の第2象限から原点に向かうベクトルはマイナス極性の
Rgainとプラス極性のBgainとによって表さ
れ、当該平面の第4象限から原点に向かうベクトルはプ
ラス極性のRgainとマイナス極性のBgainとに
よって表される。
As shown in FIG. 9, the upward direction is the plus direction for the RG axis, and the right direction is the plus direction for the BG axis. Therefore, the vector from the second quadrant of the plane shown in FIG. 9 toward the origin is represented by the negative polarity Rgain and the positive polarity Bgain, and the vector from the fourth quadrant of the plane toward the origin is the positive polarity Rgain and the negative polarity. And Bgain.

【0038】ステップS37〜S45では、色評価値の
分散状態に基づいて可変範囲を変更する。具体的には、
カウント値ACNT,BCNTおよびCCNTを閾値n
1,n1およびn3と比較し、必要に応じてRgain
MAX(−)およびBgainMAX(+)を変更す
る。なお、閾値n1〜n3はいずれも、“0”よりも大
きくかつ“64”よりも小さい値を示す。
In steps S37 to S45, the variable range is changed based on the dispersion state of the color evaluation values. In particular,
The count values ACNT, BCNT, and CCNT are set to the threshold value n.
1, n1 and n3, if necessary, Rgain
Change MAX (-) and BgainMAX (+). It should be noted that the threshold values n1 to n3 all indicate values larger than “0” and smaller than “64”.

【0039】ACNT>n1およびCCNT>n3の条
件が成り立ったときは、ステップS39からステップS
45に進み、RgainMAX(−)およびBgain
MAX(+)をR_GAIN(1)およびB_GAIN
(1)に設定する。また、ACNT≦n1,BCNT>
n2およびCCNT>n3の条件が成り立つと、ステッ
プS41からステップS43に進み、RgainMAX
(−)およびBgainMAX(+)をR_GAIN
(2)およびB_GAIN(2)に設定する。
When the conditions of ACNT> n1 and CCNT> n3 are satisfied, steps S39 to S39.
45, go to RgainMAX (-) and Bgain
MAX (+) to R_GAIN (1) and B_GAIN
Set to (1). Also, ACNT ≦ n1, BCNT>
When the conditions of n2 and CCNT> n3 are satisfied, the process proceeds from step S41 to step S43, and RgainMAX
(-) And BgainMAX (+) to R_GAIN
(2) and B_GAIN (2).

【0040】なお、ステップS45で設定されるRga
in(1)およびBgain(1)は領域Aの位置から
原点までの距離に関連し、ステップS43で設定される
Rgain(2)およびBgain(2)は領域Bの位
置から原点までの距離に関連する。
Note that Rga set in step S45
in (1) and Bgain (1) are related to the distance from the position of the area A to the origin, and Rgain (2) and Bgain (2) set in step S43 are related to the distance from the position of the area B to the origin. To do.

【0041】一方、CCNT>n3の条件が成り立つ
か、あるいはACNT≦n1,BCNT>n2およびC
CNT>n3の条件が成り立つと、ステップS37ある
いはS41でYESと判断し、可変範囲を変更すること
なくステップS47に進む。
On the other hand, the condition of CCNT> n3 is satisfied, or ACNT ≦ n1, BCNT> n2 and C
When the condition of CNT> n3 is satisfied, YES is determined in step S37 or S41, and the process proceeds to step S47 without changing the variable range.

【0042】つまり、色評価値が図9に示す領域Aおよ
びCに多く含まれるときは、人肌を含む被写体が昼光色
蛍光灯,昼白色蛍光灯または屋外光の下で撮影され、か
つ人肌の色が領域Cに属していると判断し、第2象限か
ら原点に向かうベクトル量をR_GAIN(1)および
B_GAIN(1)に修正する。
That is, when many color evaluation values are included in the areas A and C shown in FIG. 9, a subject including human skin is photographed under a daylight fluorescent lamp, a neutral white fluorescent lamp or outdoor light, and It is determined that the color of B belongs to the region C, and the vector amount from the second quadrant to the origin is corrected to R_GAIN (1) and B_GAIN (1).

【0043】また、色評価値が図9に示す領域Bおよび
Cに多く含まれるときは、人肌を含む被写体が白色蛍光
灯の下で撮影され、かつ人肌の色が領域Cに属している
と判断し、第2象限から原点に向かうベクトル量をR_
GAIN(2)およびB_GAIN(2)に修正する。
When the color evaluation values are large in areas B and C shown in FIG. 9, an object including human skin is photographed under a white fluorescent lamp, and the color of human skin belongs to area C. That the vector amount from the second quadrant to the origin is R_
Modify to GAIN (2) and B_GAIN (2).

【0044】さらに、色評価値の分布が図9に示す領域
Cに偏っているときは、人肌を含む被写体が白熱灯の下
で撮影され、かつ被写体の色のほとんどが領域Cに属し
ていると判断し、初期設定された可変範囲を有効化す
る。つまり、被写体の色のほとんどが領域Cに属してい
るときは、肌色と光源色との区別が不可能であるため、
初期設定された可変範囲を有効化する。
Further, when the distribution of color evaluation values is biased to the area C shown in FIG. 9, an object including human skin is photographed under an incandescent lamp, and most of the color of the object belongs to the area C. It is determined that the variable range that has been set is enabled, and the variable range set by default is activated. That is, when most of the color of the subject belongs to the region C, it is impossible to distinguish the flesh color and the light source color.
Activate the default variable range.

【0045】初期設定された可変範囲は、色評価値が図
9に示す領域Cにほとんど存在しないときも有効化され
る。これは、草木のような肌色を含まない被写体を撮影
したときでも可変範囲が制限される事態を回避するため
である。
The initially set variable range is validated even when the color evaluation value hardly exists in the area C shown in FIG. This is to avoid a situation in which the variable range is limited even when shooting a subject that does not include a skin color such as vegetation.

【0046】ステップS47〜S53では仮決定された
Rgainの最適値を必要に応じて修正し、ステップS
55〜S61では仮決定されたBgainの最適値を必
要に応じて修正する。
In steps S47 to S53, the optimum value of Rgain which is provisionally determined is corrected as necessary, and then, in step S47.
In 55 to S61, the optimal value of Bgain that is provisionally determined is corrected as necessary.

【0047】まずステップS47およびS49でRga
inをRgainMAX(−)およびRgainMAX
(+)と比較する。そして、Rgain<RgainM
AX(−)の条件が成り立てば、ステップS47でYE
Sと判断し、ステップS51でRgainをRgain
MAX(−)に修正する。また、Rgain>Rgai
nMAX(+)の条件が成り立てば、ステップS49で
YESと判断し、ステップS53でRgainをRga
inMAX(+)に修正する。修正が完了すると、ステ
ップS55に進む。一方、RgainMAX(−)≦R
gain≦RgainMAX(+)の条件が成り立つと
きは、ステップS47およびS49の両方でNOと判断
し、Rgainを修正することなくステップS55に進
む。
First, in steps S47 and S49, Rga
in to RgainMAX (-) and RgainMAX
Compare with (+). And Rgain <RgainM
If the condition of AX (-) is established, YE is determined in step S47.
It is determined to be S, and Rgain is set to Rgain in step S51.
Correct to MAX (-). In addition, Rgain> Rgai
If the condition of nMAX (+) is satisfied, YES is determined in the step S49, and Rgain is set to Rga in a step S53.
Correct to inMAX (+). When the correction is completed, the process proceeds to step S55. On the other hand, RgainMAX (−) ≦ R
When the condition of gain ≦ RgainMAX (+) is satisfied, NO is determined in both steps S47 and S49, and the process proceeds to step S55 without modifying Rgain.

【0048】ステップS55およびS57では、Bga
inをBgainMAX(−)およびBgainMAX
(+)と比較する。そして、Bgain<BgainM
AX(−)の条件が成り立てば、ステップS55でYE
Sと判断し、ステップS59でBgainをBgain
MAX(−)に修正する。また、Bgain>Bgai
nMAX(+)の条件が成り立てば、ステップS57で
YESと判断し、ステップS61でBgainをBga
inMAX(+)に修正する。修正が完了すると、ステ
ップS63に進む。一方、BgainMAX(−)≦B
gain≦BgainMAX(+)の条件が成り立つと
きは、ステップS55およびS57の両方でNOと判断
し、Bgainを修正することなくステップS63に進
む。
In steps S55 and S57, Bga
in to BgainMAX (-) and BgainMAX
Compare with (+). And Bgain <BgainM
If the condition of AX (-) is established, YE is determined in step S55.
Sgain is determined, and Bgain is set to Bgain in step S59.
Correct to MAX (-). Also, Bgain> Bgai
If the condition of nMAX (+) is satisfied, YES is determined in the step S57, and Bgain is set to Bga in a step S61.
Correct to inMAX (+). When the correction is completed, the process proceeds to step S63. On the other hand, BgainMAX (−) ≦ B
When the condition of gain ≦ BgainMAX (+) is satisfied, NO is determined in both steps S55 and S57, and the process proceeds to step S63 without modifying Bgain.

【0049】ステップS63では、必要に応じて修正さ
れたRgainおよびBgainを図1に示すアンプ2
4aおよび24bに設定する。設定か完了すると、上階
層のルーチンに復帰する。
In step S63, the Rgain and Bgain corrected as necessary are stored in the amplifier 2 shown in FIG.
4a and 24b. When the setting is completed, the process returns to the upper hierarchy routine.

【0050】以上の説明から分かるように、白バランス
調整の最適ゲインは、基準ゲインに従って白バランスが
調整されたRデータ,GデータおよびBデータに基づい
て求められる。このとき、CPU30は、まず被写体像
を形成する複数の分割エリアの色評価値を求め、当該色
評価値の分散が大きいほど、基準ゲインに対する最適ゲ
インの可変範囲を狭く設定する。CPU30は続いて、
複数の色評価値に基づいて仮決定された最適ゲインが可
変範囲に含まれるかどうか判別し、可変範囲から外れる
とき当該最適ゲインを修正される。したがって、複数の
色評価値が大きく分散するほど、求められる最適ゲイン
は基準ゲインに近い値を示す。
As can be seen from the above description, the optimum gain for white balance adjustment is obtained based on the R data, G data and B data whose white balance has been adjusted according to the reference gain. At this time, the CPU 30 first obtains the color evaluation values of the plurality of divided areas forming the subject image, and sets the variable range of the optimum gain to the reference gain narrower as the variance of the color evaluation values increases. CPU30 continues,
Whether or not the optimum gain provisionally determined based on a plurality of color evaluation values is included in the variable range is determined, and when the variable gain is out of the variable range, the optimum gain is corrected. Therefore, the greater the variance of the plurality of color evaluation values, the closer the optimum gain obtained is to the reference gain.

【0051】可変範囲の設定にあたっては、特に領域A
およびCへの分散あるいは領域BおよびCへの分散が注
目される。これは、肌色が領域Cに属するからである。
そして、領域AおよびCへの分散が著しいときは、領域
Aに属する色評価値が原点近傍に移動できる程度まで可
変範囲を制限し、領域BおよびCへの分散が著しいとき
は、領域Bに属する色評価値が原点近傍に移動できる程
度まで可変範囲を制限する。これによって、肌色が大き
く変化するのを防止することができる。
In setting the variable range, especially area A
The distribution to C and C or the distribution to regions B and C is noted. This is because the skin color belongs to the area C.
Then, when the distribution to the areas A and C is significant, the variable range is limited to the extent that the color evaluation values belonging to the area A can be moved to the vicinity of the origin. The variable range is limited to the extent that the color evaluation value to which it belongs can be moved near the origin. This makes it possible to prevent the skin color from changing significantly.

【0052】また、色評価値が領域Cにほとんど属しな
いときは、可変範囲の制限は行わず、初期化状態の可変
範囲(最大可変範囲)を有効化する。これによって、肌
色を含まない被写体については、色評価値の分散に関係
ない白バランス調整が実行される。
When the color evaluation value hardly belongs to the area C, the variable range is not limited and the variable range (maximum variable range) in the initialized state is validated. As a result, the white balance adjustment is performed for the subject that does not include the skin color, regardless of the variance of the color evaluation values.

【0053】このように、複数の色評価値が大きく分散
するほど可変範囲が狭くされ、当該可変範囲に収まるよ
うに最適ゲインが決定される。ここで可変範囲は基準ゲ
インに対して最適ゲインがとり得る範囲であり、この範
囲を狭めることによって最適ゲインが意図しない値に大
きく変化する事態が回避される。これによって、白バラ
ンスをより適切に調整することができる。
As described above, the more the plurality of color evaluation values are dispersed, the narrower the variable range is, and the optimum gain is determined so as to be within the variable range. Here, the variable range is a range that the optimum gain can take with respect to the reference gain, and by narrowing this range, a situation in which the optimum gain is largely changed to an unintended value is avoided. Thereby, the white balance can be adjusted more appropriately.

【0054】なお、この実施例では、色評価値が大きく
分散したときに可変範囲を制限するようにしているが、
これに代えてゲインの変動を禁止するようにしてもよ
い。つまり、色評価値が図9に示す領域AおよびCに分
散したとき、あるいは領域BおよびCに分散したとき
に、基準ゲインを最適ゲインとして決定するようにして
もよい。
In this embodiment, the variable range is limited when the color evaluation values are widely dispersed.
Alternatively, the gain variation may be prohibited. That is, the reference gain may be determined as the optimum gain when the color evaluation values are dispersed in the areas A and C shown in FIG. 9 or in the areas B and C shown in FIG.

【0055】また、この実施例では、3種類の可変範囲
を準備しているが、種類を多くすれば、より適切な白バ
ランス調整が可能となる。
In this embodiment, three types of variable ranges are prepared, but if the number of types is increased, more appropriate white balance adjustment can be performed.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の一実施例を示ブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】原色フィルタを示す図解図である。FIG. 2 is an illustrative view showing a primary color filter.

【図3】CPUの動作の一部を示すフロー図である。FIG. 3 is a flowchart showing a part of the operation of the CPU.

【図4】CPUの動作の他の一部を示すフロー図であ
る。
FIG. 4 is a flowchart showing another portion of the operation of the CPU.

【図5】CPUの動作のその他の一部を示すフロー図で
ある。
FIG. 5 is a flowchart showing another portion of the operation of the CPU.

【図6】CPUの動作のさらにその他の一部を示すフロ
ー図である。
FIG. 6 is a flowchart showing yet another portion of behavior of the CPU.

【図7】画面に形成された分割エリアを示す図解図であ
る。
FIG. 7 is an illustrative view showing divided areas formed on a screen.

【図8】(A)は重み付け係数および引き込み範囲を示
す図解図であり、(B)はB−G軸およびR−G軸によ
って形成される平面を示す図解図である。
FIG. 8A is an illustrative view showing a weighting coefficient and a pull-in range, and FIG. 8B is an illustrative view showing a plane formed by the BG axis and the RG axis.

【図9】B−G軸およびR−G軸によって形成される平
面に形成された引き込み範囲を示す図解図である。
FIG. 9 is an illustrative view showing a pull-in range formed on a plane formed by a B-G axis and an R-G axis.

【符号の説明】[Explanation of symbols]

10 …ディジタルカメラ 20 …第1信号処理回路 22 …白バランス調整回路 24a,24b …アンプ 26 …マトリクス回路 28 …積分回路 30 …CPU 38 …第2信号処理回路 40 …記録媒体 10 ... Digital camera 20 ... First signal processing circuit 22 ... White balance adjustment circuit 24a, 24b ... Amplifier 26 ... Matrix circuit 28 ... Integrating circuit 30 ... CPU 38 ... Second signal processing circuit 40 ... Recording medium

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】基準ゲインに従って白バランスが調整され
た被写体像信号に基づいて白バランス調整の最適ゲイン
を求めるディジタルカメラにおいて、 被写体の複数部分の色を評価する色評価手段、 前記色評価手段によって求められた複数の色評価値の分
散が大きいほど前記基準ゲインに対する前記最適ゲイン
の可変範囲を狭くする可変範囲変更手段、 前記複数の色評価値に基づいて前記最適ゲインを仮決定
する仮決定手段、および前記仮決定手段によって仮決定
された前記最適ゲインが前記可変範囲から外れるとき当
該最適ゲインを修正する修正手段を備えることを特徴と
する、ディジタルカメラ。
1. A digital camera that obtains an optimum gain for white balance adjustment based on a subject image signal whose white balance has been adjusted according to a reference gain. Color evaluation means for evaluating colors of a plurality of portions of a subject; Variable range changing means for narrowing the variable range of the optimum gain with respect to the reference gain as the variance of the obtained plurality of color evaluation values is larger, and provisional determining means for tentatively determining the optimum gain based on the plurality of color evaluation values. , And a correction means for correcting the optimum gain provisionally determined by the provisional determination means when the optimum gain deviates from the variable range.
【請求項2】前記可変範囲変更手段は、前記複数の色評
価値が特定色領域とそれ以外の色領域とに分散したとき
当該色領域から基準点までの距離に関連する範囲を前記
可変範囲として設定する、請求項1記載のディジタルカ
メラ。
2. The variable range changing means sets, when the plurality of color evaluation values are dispersed in a specific color area and other color areas, a range related to a distance from the color area to a reference point as the variable range. The digital camera according to claim 1, wherein the digital camera is set as.
【請求項3】前記特定領域に属する色評価値の数が閾値
以下のとき前記可変範囲変更手段を不能化する不能化手
段をさらに備える、請求項2記載のディジタルカメラ。
3. The digital camera according to claim 2, further comprising a disabling unit that disables the variable range changing unit when the number of color evaluation values belonging to the specific area is equal to or less than a threshold value.
【請求項4】前記特定色領域は肌色を含む領域である、
請求項2または3記載のディジタルカメラ。
4. The specific color area is an area including a skin color.
The digital camera according to claim 2 or 3.
【請求項5】前記色評価手段は、前記被写体の色情報信
号を前記複数部分の各々で積分する積分手段、および前
記積分手段によって求められた複数の積分値から明るさ
関連成分を除去して前記複数の色評価値を求める除去手
段を含む、請求項1ないし4のいずれかに記載のディジ
タルカメラ。
5. The color evaluation means removes a brightness-related component from the integration means for integrating the color information signal of the subject in each of the plurality of parts, and the plurality of integrated values obtained by the integration means. The digital camera according to claim 1, further comprising a removing unit that obtains the plurality of color evaluation values.
【請求項6】前記基準ゲインは基準色温度の被写体に最
適なゲインである、請求項1ないし5のいずれかに記載
のディジタルカメラ。
6. The digital camera according to claim 1, wherein the reference gain is an optimum gain for a subject having a reference color temperature.
【請求項7】前記最適ゲインに従って白バランスが調整
された被写体像信号を記録媒体に記録する記録手段をさ
らに備える、請求項1ないし6のいずれかに記載のディ
ジタルカメラ。
7. The digital camera according to claim 1, further comprising recording means for recording a subject image signal whose white balance is adjusted according to the optimum gain on a recording medium.
JP2002047681A 2002-02-25 2002-02-25 Digital camera Expired - Fee Related JP3948982B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002047681A JP3948982B2 (en) 2002-02-25 2002-02-25 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002047681A JP3948982B2 (en) 2002-02-25 2002-02-25 Digital camera

Publications (2)

Publication Number Publication Date
JP2003250164A true JP2003250164A (en) 2003-09-05
JP3948982B2 JP3948982B2 (en) 2007-07-25

Family

ID=28660677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002047681A Expired - Fee Related JP3948982B2 (en) 2002-02-25 2002-02-25 Digital camera

Country Status (1)

Country Link
JP (1) JP3948982B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006229355A (en) * 2005-02-15 2006-08-31 Sanyo Electric Co Ltd Electronic camera

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01305790A (en) * 1988-06-03 1989-12-11 Canon Inc White balance adjusting device
JPH11127451A (en) * 1991-11-19 1999-05-11 Fuji Photo Film Co Ltd White balance adjusting device
JP2000224608A (en) * 1999-02-02 2000-08-11 Fuji Photo Film Co Ltd Automatic white balance control method
JP2000278708A (en) * 1999-03-29 2000-10-06 Sanyo Electric Co Ltd Digital camera
JP2001069526A (en) * 1999-08-31 2001-03-16 Sanyo Electric Co Ltd White balance adjustment circuit
JP2001160976A (en) * 1999-12-02 2001-06-12 Sharp Corp Image processing method, image processor and computer- readable recording medium with image processing program recorded thereon

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01305790A (en) * 1988-06-03 1989-12-11 Canon Inc White balance adjusting device
JPH11127451A (en) * 1991-11-19 1999-05-11 Fuji Photo Film Co Ltd White balance adjusting device
JP2000224608A (en) * 1999-02-02 2000-08-11 Fuji Photo Film Co Ltd Automatic white balance control method
JP2000278708A (en) * 1999-03-29 2000-10-06 Sanyo Electric Co Ltd Digital camera
JP2001069526A (en) * 1999-08-31 2001-03-16 Sanyo Electric Co Ltd White balance adjustment circuit
JP2001160976A (en) * 1999-12-02 2001-06-12 Sharp Corp Image processing method, image processor and computer- readable recording medium with image processing program recorded thereon

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006229355A (en) * 2005-02-15 2006-08-31 Sanyo Electric Co Ltd Electronic camera

Also Published As

Publication number Publication date
JP3948982B2 (en) 2007-07-25

Similar Documents

Publication Publication Date Title
CA2030144C (en) White balance adjusting apparatus for automatically adjusting white balance in response to luminance information signal and color information signal obtained from image sensing device
US7755677B2 (en) Method and apparatus for automatic gain and exposure control for maintaining target image brightness in video imager systems
KR100199322B1 (en) White balance adjusting apparatus automatically adjusting white balance on the basis of color information signal obttained from image sensing device
US7589765B2 (en) Image processing apparatus, method, and computer program
JP3510868B2 (en) Image synthesis device
TWI228000B (en) Image processing apparatus, camera apparatus, and automatic exposure control method
JP2002027491A (en) Image input unit, white balance adjusting method, and computer readable recording medium storing program for executing the method
US20070159537A1 (en) Imaging apparatus and method
TW200400762A (en) Digital color image pre-processing
EP1786215A2 (en) Image processing method, image processing apparatus, and image pickup apparatus
KR100967091B1 (en) Method for adjusting white balance of digital image device
US20030184673A1 (en) Automatic exposure control for digital imaging
JP2004312139A (en) Imaging unit
JPH09266549A (en) Method and device for detecting backlight and image pickup camera
JP2008219838A (en) Imaging apparatus, white balance control device and white balance control method
US7146040B2 (en) Automatic white balance technique
JP3821729B2 (en) Digital camera
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
JPH11220739A (en) Video camera device
JPH11289548A (en) White balance control method and device
JP3142603B2 (en) White balance device for imaging equipment
JP3948982B2 (en) Digital camera
JP3958700B2 (en) Digital camera
JP4889225B2 (en) Electronic camera
JP2004064586A (en) White balance adjustment circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070219

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070320

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070417

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110427

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120427

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130427

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140427

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140427

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees