JPH08102960A - Video camera - Google Patents

Video camera

Info

Publication number
JPH08102960A
JPH08102960A JP6237705A JP23770594A JPH08102960A JP H08102960 A JPH08102960 A JP H08102960A JP 6237705 A JP6237705 A JP 6237705A JP 23770594 A JP23770594 A JP 23770594A JP H08102960 A JPH08102960 A JP H08102960A
Authority
JP
Japan
Prior art keywords
color
value
screen
white balance
areas
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
JP6237705A
Other languages
Japanese (ja)
Other versions
JP3113518B2 (en
Inventor
Kazuhiko Sugimoto
和彦 杉本
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 JP06237705A priority Critical patent/JP3113518B2/en
Publication of JPH08102960A publication Critical patent/JPH08102960A/en
Application granted granted Critical
Publication of JP3113518B2 publication Critical patent/JP3113518B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To attain quick tracking to an object for white balance adjustment by selecting a higher threshold level when a value of an adjacent region corresponding to a same color region number is a reference value or over and a lower level when the reference value or less. CONSTITUTION: An integration device 23 obtains integrated values of color difference signals R-Y, B-Y corresponding to optional 64 sets of field areas and stores luminance evaluation values Yij, color evaluation values rij, bij (i, j=1-8) for the 64 areas to a memory 26 and a microcomputer 27 uses the values for white balance adjustment. The microcomputer 27 adjusts and changes gains of R, B amplifiers 4, 5 so that the color evaluation value is zero. When the frequency of the same color adjacent area is less than a threshold level T1 and number of areas not reflected on a light source color is less than a threshold level T2, a correction restart decision threshold level M for keeping stable mode is set higher. Furthermore, when the frequency is more than the threshold level T1 and the number of areas is more than the threshold level T2, the threshold level M is set smaller to easily release the stable mode.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、撮像素子から得られる
撮像映像信号を基に、白バランスの制御を行うカラービ
デオカメラの自動白バランス調整装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic white balance adjusting device for a color video camera which controls white balance based on an image pickup video signal obtained from an image pickup device.

【0002】[0002]

【従来の技術】カラ−ビテオカメラに於いては、光源に
よる光の波長分布の違いを補正するために、白バランス
の制御を行う必要がある。
2. Description of the Related Art In a color video camera, it is necessary to control white balance in order to correct a difference in wavelength distribution of light depending on a light source.

【0003】この制御は、赤(以下R)、青(以下
B)、緑(以下G)の三原色信号の比が1:1:1とな
るように、各色信号の利得を調節することで行われる。
一般には例えば特開昭62−35792号公報(H04
N9/73)に示される様に、画面の色差信号R−Y、
B−Yの積分値が零になるように利得を調節する方式が
用いられている。
This control is performed by adjusting the gain of each color signal so that the ratio of the three primary color signals of red (hereinafter R), blue (hereinafter B) and green (hereinafter G) is 1: 1: 1. Be seen.
Generally, for example, JP-A-62-35792 (H04
N9 / 73), the screen color difference signal RY,
A method of adjusting the gain so that the integrated value of BY is zero is used.

【0004】図11は、この方式を用いた白バランス補
正回路のブロック図である。ズーム用及びフォーカス用
の複数のレンズから構成されるレンズ群1を通過した光
は、固体撮像素子(CCD)2で光電変換された後、色
分離回路3で、R、G、Bの3原色信号として取り出さ
れ、Gの色信号は直接、R及びBの各色信号は夫々R増
幅回路4及びB増幅回路5を経て、カメラプロセス及び
マトリクス回路6に入力され、輝度信号Y、赤及び青そ
れぞれの色差信号R−Y、B−Yが作られて、ビデオ回
路7へ送られる。
FIG. 11 is a block diagram of a white balance correction circuit using this method. Light that has passed through a lens group 1 composed of a plurality of zoom and focus lenses is photoelectrically converted by a solid-state image sensor (CCD) 2, and then is separated by a color separation circuit 3 into three primary colors of R, G, and B. The G color signal is directly extracted, and the R and B color signals are input to the camera process and the matrix circuit 6 through the R amplification circuit 4 and the B amplification circuit 5, respectively, and the luminance signals Y, red and blue are respectively output. Color difference signals R-Y and B-Y are generated and sent to the video circuit 7.

【0005】同時に、二つの色差信号は、それぞれ積分
回路17、18で、十分に長い時間、積分され、その結
果が零になるように利得制御回路13、14がR、B各
々の増幅回路4、5の利得を調節する。
At the same time, the two color difference signals are integrated by the integrating circuits 17 and 18, respectively, for a sufficiently long time, and the gain control circuits 13 and 14 are respectively integrated into the amplifier circuits 4 of the R and B so that the result becomes zero. Adjust the gain of 5.

【0006】この方式は、ビデオカメラにより撮影され
る画面の様々な色分布に対して、積分回路17、18の
時定数を長くする等の工夫を施して、これらの色分布を
平均化すれば色分布を構成する各色成分が打ち消し合
い、略白い画面状態に近似できることを前提としてい
る。ところが上記の様な構成では常時帰還が働いている
ため、被写体によっては増幅利得の補正量がふらつきや
すく、不安定な白バランス補正を行うという問題点を有
している。
In this system, various color distributions of a screen photographed by a video camera are devised such that the time constants of the integrating circuits 17 and 18 are lengthened and the color distributions are averaged. It is premised that the color components that make up the color distribution cancel each other out and that they can be approximated to a substantially white screen state. However, in the above-mentioned configuration, since the feedback always works, the correction amount of the amplification gain easily fluctuates depending on the subject, and there is a problem that unstable white balance correction is performed.

【0007】そこで、ふらつきのない安定な補正を行う
ことができる白バランス調整装置が特開平4−988号
公報に開示されている。この装置は白バランス補正に補
正動作モードと安定モードを設定し、白バランス補正を
実行して一旦最適な白バランス状態が実現できた後は、
白バランス調整を停止し、即ちR及びB信号の増幅利得
を固定する安定モードに移行する。この安定モードで
は、色差信号の変化が一定の閾値を越える時にのみ、白
バランス補正を停止モードから動作モードに移行させる
ものである。
Therefore, a white balance adjusting device capable of performing stable correction without wobbling is disclosed in Japanese Patent Laid-Open No. 4-988. This device sets the correction operation mode and stable mode for white balance correction, executes white balance correction, and once realizes the optimum white balance state,
The white balance adjustment is stopped, that is, the stable mode in which the amplification gains of the R and B signals are fixed is entered. In this stable mode, the white balance correction is shifted from the stop mode to the operation mode only when the change in the color difference signal exceeds a certain threshold value.

【0008】[0008]

【発明が解決しようとする課題】前記従来例では、停止
モードから動作モードへの移行の要否を決定する閾値は
予め固定値として設定されているが、起動及び停止を頻
繁に行う不安定な白バランス調整を防止するために、閾
値を比較的大きな値に固定した場合、画面上に特定の色
の領域が大きな面積を占めて、画面全体を平均化しても
白色にはならない色が偏った被写体の撮影時や光源の色
を表すことのない画面のように白バランス調整を実行す
る上で好都合ではない特殊な撮影状態で白バランス調整
が一旦完了すると、パンニング等により被写体が変化し
てこのような特殊な撮影状態が解除され、白バランス調
整を直ちに実行するべき状況になった場合にも、色差信
号の変化が閾値を越えるまでは白バランス調整が開始さ
れず、白バランス調整が被写体変化に迅速に追従しない
という不都合が生じる。
In the above-mentioned conventional example, the threshold value for determining the necessity of the transition from the stop mode to the operation mode is set as a fixed value in advance, but it is unstable when the start and stop are frequently performed. When the threshold value is fixed to a relatively large value in order to prevent white balance adjustment, a specific color area occupies a large area on the screen, and colors that are not white even when the entire screen is averaged are biased. When the white balance adjustment is completed in a special shooting condition that is not convenient when performing the white balance adjustment when shooting the subject or displaying the color of the light source, the subject changes due to panning etc. Even if such a special shooting state is canceled and it becomes a situation where the white balance adjustment should be executed immediately, the white balance adjustment is not started until the change of the color difference signal exceeds the threshold, and the white balance adjustment is not started. Settling occurs is a problem that does not quickly follow the subject change.

【0009】[0009]

【課題を解決するための手段】本発明は、撮像映像信号
中の色情報信号を基に色信号の利得を変化させて白バラ
ンス補正動作を実行する補正動作モードと、色信号の利
得を固定する安定モードの2モードに択一的に切り換わ
る白バランス調整装置であって、画面を分割して設定さ
れた複数の領域毎に色情報信号レベルを色評価値として
検出する色評価値検出手段と、画面全体の色情報信号レ
ベルを画面色評価値として検出する画面色評価値検出手
段と、複数の領域の全てについて、隣接する領域毎に色
評価値を比較して同一色であるか否かを判断し、隣接す
る領域が同一色と判断される領域数に対応する値が第1
基準値を越えるか否かを判定する同一色領域判定手段
と、安定モードにおいて最新の画面色評価値の一画面前
の画面色評価値に対する変化量が閾値を越えるか否かを
判定する変化判定手段と、補正動作モード中に画面色評
価値が基準レベルを下回る時に、補正動作モードから安
定モードに切り換え、変化量が閾値を越えた場合に安定
モードから補正動作モードに切り換えるモード切換手段
とを備え、同一色領域判定手段により隣接する領域が同
一色と判断される領域数に対応する値が第1基準値より
小さいと判断された時に閾値を大きくし、第1基準値よ
り大きいと判断された時に閾値を小さくすることを特徴
とする。
According to the present invention, a correction operation mode in which a gain of a color signal is changed based on a color information signal in a picked-up image signal to perform a white balance correction operation, and a gain of the color signal is fixed. A white balance adjusting device that selectively switches between two stable modes, that is, a color evaluation value detecting unit that detects a color information signal level as a color evaluation value for each of a plurality of areas set by dividing a screen. And a screen color evaluation value detection means for detecting the color information signal level of the entire screen as a screen color evaluation value, and for all of the plurality of areas, the color evaluation values are compared for each adjacent area to determine whether they are the same color. The value corresponding to the number of areas in which adjacent areas are determined to have the same color is the first
Same color area determination means for determining whether or not the reference value is exceeded, and change determination for determining whether or not the amount of change of the latest screen color evaluation value in the stable mode with respect to the previous screen color evaluation value exceeds the threshold value. Means and mode switching means for switching from the correction operation mode to the stable mode when the screen color evaluation value falls below the reference level during the correction operation mode, and switching from the stable mode to the correction operation mode when the amount of change exceeds a threshold value. The threshold value is increased when the value corresponding to the number of areas in which adjacent areas are determined to be the same color is determined to be smaller than the first reference value by the same color area determination means, and is determined to be larger than the first reference value. The feature is that the threshold value is reduced when

【0010】また別の手段として、複数の領域の内で光
源の色温度変化の分布範囲外に色評価値が存在する領域
数が第2基準値を越えるか否かを判定する光源色領域判
定手段と、この変化量が閾値を越えた場合に安定モード
から補正動作モードにモードを切り換えるモード切換手
段とを備え、光源色領域判定手段により光源の色温度変
化の分布範囲外に色評価値が存在する領域数が第2基準
値より小さいと判断された時に閾値を大きくし、第2基
準値より大きいと判断された時に閾値を小さくすること
を特徴とする。
As another means, the light source color area determination for determining whether or not the number of areas having color evaluation values outside the distribution range of the color temperature change of the light source among the plurality of areas exceeds the second reference value. Means and a mode switching means for switching the mode from the stable mode to the correction operation mode when the amount of change exceeds a threshold value, and the light source color area determination means provides a color evaluation value outside the distribution range of the color temperature change of the light source. It is characterized in that the threshold value is increased when it is determined that the number of existing areas is smaller than the second reference value, and the threshold value is decreased when it is determined that the number of existing areas is larger than the second reference value.

【0011】[0011]

【作用】本発明は上述のように構成したので、同一色が
連続している領域が少なく、高彩度の赤色や青色の光源
色以外の色の領域が少ない、白バランス補正の評価画面
として信頼性の高い画面で白バランス補正を完了した時
には、この撮影状態から同一色が連続する領域が多い被
写体や光源色以外の色が多い被写体の撮影に移行して、
信頼性の低い画面となったときに、白バランス補正の再
起動がかかりにくくなり、逆に、信頼性の低い画面で白
バランス補正を完了した時には、この撮影状態から信頼
性の高い画面に移行したときに速やかに白バランス補正
が再起動されやすい。
Since the present invention is configured as described above, there are few regions where the same color is continuous, and there are few regions of colors other than the highly saturated red and blue light source colors. When white balance correction is completed on a high-quality screen, shift from this shooting state to a subject with many areas where the same color continues or a subject with many colors other than the light source color,
When the screen becomes unreliable, it becomes difficult to restart the white balance correction. Conversely, when the white balance correction is completed on the unreliable screen, the shooting state shifts to a highly reliable screen. When you do, white balance correction is likely to be restarted quickly.

【0012】[0012]

【実施例】以下、図面に従い本発明の一実施例について
説明する。図1は本実施例によるカラービデオカメラの
自動白バランス調整回路の回路ブロック図である。レン
ズ群1を通過した入射光は、固体撮像素子(CCD)2
上に結像されて光電変換された後、色分離回路3にて、
R、G、Bの3原色信号として取り出される。これら3
原色信号の中のR及びB信号は、夫々R及びB増幅回路
4、5を経て、G信号と共にカメラプロセス及びマトリ
クス回路6に入力され、これらを基に輝度信号Y及び
赤、青夫々の色差信号R−Y、B−Yが作成されて、ビ
デオ回路7に供給され周知の処理が施される。また、
Y、R−Y、B−Yの各信号は、同時に選択回路21に
も供給される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit block diagram of an automatic white balance adjusting circuit of a color video camera according to this embodiment. Incident light that has passed through the lens group 1 is a solid-state image sensor (CCD) 2
After being imaged on the top and photoelectrically converted, in the color separation circuit 3,
It is taken out as three primary color signals of R, G and B. These three
The R and B signals of the primary color signals are input to the camera process and matrix circuit 6 together with the G signal through the R and B amplifier circuits 4 and 5, respectively, and the luminance signal Y and the color difference of red and blue are respectively based on these signals. The signals R-Y and B-Y are created and supplied to the video circuit 7 where they are subjected to known processing. Also,
The Y, RY, and BY signals are simultaneously supplied to the selection circuit 21.

【0013】選択回路21はタイミング回路25からの
選択信号S1により輝度信号Y、色差信号R−Y、B−
Yの3つの信号のいづれか1つを1フィ−ルド毎に順次
選択するもので、Y→(R−Y)→(B−Y)→Y→
(R−Y)→(B−Y)・・・・と1フィ−ルド毎に後段の
A/D変換器22に出力される。尚、選択信号S1は後
述の如く同期分離回路24から得られる垂直同期信号に
基づいて作成される。
The selection circuit 21 receives the luminance signal Y and the color difference signals RY and B- in response to the selection signal S1 from the timing circuit 25.
One of the three Y signals is sequentially selected for each field, and Y → (RY) → (BY) → Y →
(R−Y) → (B−Y), ..., Every one field is output to the A / D converter 22 in the subsequent stage. The selection signal S1 is created based on the vertical sync signal obtained from the sync separation circuit 24 as described later.

【0014】A/D変換器22は、所定のサンプリング
周期で選択回路21にて選択された輝度信号Y、色差信
号R−Y、B−Yの1つをサンプリングしてディジタル
値に変換し、この値を積分器23に出力する。ところ
で、タイミング回路25はカメラプロセス及びマトリク
ス回路6からの垂直、水平同期信号及びCCD2を駆動
する固定の発振器出力に基づいて、撮像画面を図2に示
す8×8の64個の長方形の領域A11、A12、A1
3・・・A88に分割して、各領域毎にこれらの領域内
の選択回路21出力を時分割で取り出すための切換信号
S2を積分器23に出力する。
The A / D converter 22 samples one of the luminance signal Y, the color difference signals RY and BY selected by the selection circuit 21 at a predetermined sampling period and converts it into a digital value. This value is output to the integrator 23. By the way, the timing circuit 25, based on the vertical and horizontal synchronizing signals from the camera process and the matrix circuit 6 and the fixed oscillator output for driving the CCD 2, displays an image pickup screen in a rectangular region A11 of 64 × 8 × 8 shown in FIG. , A12, A1
3 ... A88, and outputs to each integrator 23 a switching signal S2 for time-divisionally extracting the output of the selection circuit 21 in these areas.

【0015】積分器23は切換信号S2を受けて、選択
回路21出力のA/D変換値を領域毎に1フィ−ルド期
間にわたって加算し、即ち64個の領域毎にディジタル
積分し、この1フィ−ルド分の積分が完了すると、この
積分値を色評価値としてメモリ26に保持する。
Upon receipt of the switching signal S2, the integrator 23 adds the A / D conversion value of the output of the selection circuit 21 for each field over one field period, that is, digitally integrates for every 64 fields, and the 1 When the integration for the field is completed, the integrated value is held in the memory 26 as a color evaluation value.

【0016】図12に、この積分器23の内部構造を更
に詳細に示す。各A/D変換値は、切換回路161に供
給される。この切換回路161は切換信号S2を受け
て、各A/D変換値を領域毎に用意された加算器Gij
(i,j:1〜8の整数)の中で該当サンプリング点が
存在する領域の加算器に供給する役割を有している。各
加算器の後段には、保持回路Hijが夫々配設され、各
加算値は各保持回路に一旦保持される。更に各保持回路
の保持データは、再び加算器に入力されて、次のA/D
変換値と加算される。また、各保持回路は、1フィール
ド毎にリセットされ、このリセット直前の保持データの
みがメモリ26に供給される。従って、1組の加算器及
び保持回路にて1個のディジタル積分回路が構成され、
合計64個の積分回路が積分器23を構成することにな
り、1フィールド毎に各保持回路から64個の領域毎に
各色差信号のディジタル積分値がメモリ26に入力され
る。
FIG. 12 shows the internal structure of the integrator 23 in more detail. Each A / D conversion value is supplied to the switching circuit 161. The switching circuit 161 receives the switching signal S2, and adds each A / D conversion value to the adder Gij prepared for each area.
(I, j: integer of 1 to 8), it has a role of supplying to the adder in the area where the corresponding sampling point exists. A holding circuit Hij is provided after each adder, and each added value is temporarily held in each holding circuit. Further, the data held in each holding circuit is input to the adder again and the next A / D
It is added to the converted value. Further, each holding circuit is reset for each field, and only the holding data immediately before this reset is supplied to the memory 26. Therefore, one digital integrating circuit is composed of one set of adder and holding circuit,
A total of 64 integrator circuits form the integrator 23, and the digital integrated value of each color difference signal is input to the memory 26 for each of 64 regions from each holding circuit for each field.

【0017】尚、A/D変換器22に入力される両色差
信号の基準レベル、即ち零レベルは、完全な無彩色面を
撮影した時に得られるレベルに設定されており、従っ
て、ディジタル化された各色差信号は正の値だけでな
く、負の値にもなり、ディジタル積分動作は、具体的に
は正の値についてはその絶対値を加算し、逆に負の値に
ついてはその絶対値を減算することになる。
The reference level of the color difference signals input to the A / D converter 22, that is, the zero level, is set to a level obtained when a perfect achromatic surface is photographed, and is therefore digitized. Each color difference signal becomes not only a positive value, but also a negative value.Specifically, the digital integration operation adds the absolute value of the positive value, and conversely, the absolute value of the negative value. Will be subtracted.

【0018】この結果、ある任意のフィ−ルドで64個
の領域内に対応する輝度信号Yのディジタル積分値が6
4個の輝度評価値yijとして得られることになる。ま
た次のフィ−ルドでは選択回路21にて色差信号R−Y
が選択されているので、積分器23の各領域における積
分の結果、色差信号R−Yの領域毎のディジタル積分値
が64個の色評価値rijとして得られる。更に次のフ
ィ−ルドでは選択回路21にて色差信号B−Yが選択さ
れているので、積分器23の各領域における積分の結
果、色差信号B−Yの領域毎のディジタル積分値が64
個の色評価値bijとして得られる。こうして、輝度信
号Y、色差信号R−Y、B−Yの3フィ−ルドの積算が
終了した時点で、輝度評価値yij、色評価値rij、
bijの64領域分の値がメモリ26に保持されること
になる。これ以降、上述と同様の動作が繰り返され、次
のフィ−ルドでは輝度評価値値yijが、更に次のフィ
−ルドでは色評価値rijと順次更新されることにな
る。
As a result, the digital integrated value of the luminance signal Y corresponding to 64 regions in a certain arbitrary field is 6
It will be obtained as four luminance evaluation values yij. In the next field, the color difference signal RY is selected by the selection circuit 21.
As a result of integration in each area of the integrator 23, digital integration values for each area of the color difference signal RY are obtained as 64 color evaluation values rij. Further, in the next field, since the color difference signal BY is selected by the selection circuit 21, as a result of integration in each area of the integrator 23, the digital integrated value of each area of the color difference signal BY is 64.
It is obtained as individual color evaluation values bij. Thus, when the integration of the three fields of the luminance signal Y, the color difference signals RY, and BY is completed, the luminance evaluation value yij, the color evaluation value rij,
The value of 64 areas of bij is held in the memory 26. After that, the same operation as described above is repeated, and the luminance evaluation value yij in the next field and the color evaluation value rij in the next field are sequentially updated.

【0019】上述の様にして得られる最新の輝度評価値
yij、色評価値rij、bij(i,j:1〜8)
は、メモリ26からマイクロコンピュータ(マイコン)
27に入力されて白バランス調整に使用される。図3は
マイコンでの処理を説明するフローチャートである。以
下に、このフローチャートを説明する。
The latest luminance evaluation value yij and color evaluation values rij, bij (i, j: 1-8) obtained as described above.
From the memory 26 to the microcomputer
It is input to 27 and used for white balance adjustment. FIG. 3 is a flow chart for explaining the processing in the microcomputer. The flowchart will be described below.

【0020】ステップ100では、数1及び数2にて6
4領域分の色評価値rij、bijから画面全体の各色
差信号の色評価値が画面色評価値Vr、Vbとして算出
される。
At step 100, 6 is obtained by the equations 1 and 2.
From the color evaluation values rij and bij for four areas, the color evaluation values of the color difference signals of the entire screen are calculated as the screen color evaluation values Vr and Vb.

【0021】[0021]

【数1】 [Equation 1]

【0022】[0022]

【数2】 [Equation 2]

【0023】即ち、この数1、2は、64個の各領域の
色評価値rij、bijの全ての総和を領域数で割算し
て、1個の領域についての平均値を画面色評価値Vr、
Vbとして算出することを意味する。
That is, the numbers 1 and 2 are obtained by dividing the total sum of all 64 color evaluation values rij and bij of each area by the number of areas and calculating the average value of one area as the screen color evaluation value. Vr,
It means to be calculated as Vb.

【0024】ステップ200は、白バランス補正が停止
即ち安定モードにあるか否かを判定するステップであ
り、具体的には後述の安定フラグがセット状態にあるか
否かを判定する。この安定フラグがセット状態にある場
合には白バランス補正動作は停止されて、R及びB増幅
器4、5の増幅利得が固定されていることを意味し、逆
に安定フラグがリセット状態にある場合には、白バラン
ス補正動作は補正動作モードにあることを意味してい
る。
Step 200 is a step of determining whether or not the white balance correction is stopped, that is, in the stable mode, and specifically, it is determined whether or not a stable flag described later is in the set state. When the stability flag is in the set state, it means that the white balance correction operation is stopped and the amplification gains of the R and B amplifiers 4 and 5 are fixed. Conversely, when the stability flag is in the reset state. Means that the white balance correction operation is in the correction operation mode.

【0025】ステップ300は、画面色評価値を評価し
て、新たに白バランス補正を実行する必要があるか、あ
るいはもはや必要ないとして白バランス補正動作を終了
するかを判定するステップであり、具体的には図4のフ
ローチャートのステップ31及び32の判定を実行す
る。即ち、ステップ31、32では、最新の画面色評価
値Vr、Vbの夫々の絶対値と予め設定された閾値Kと
比較し、|Vr|<Kと|Vb|<Kの両条件が共に満
足された場合に、換言すると、前フィールド迄の白バラ
ンス補正動作により、画面色評価値Vr、Vbが共に閾
値Kを下回る程に十分に零に近くなっている場合には、
白バランス補正はもはや必要ないとして白バランス補正
動作を終了するとの判断を下す。尚、閾値Kは白バラン
ス補正が不要と見做せる値で、予め実験により決定され
た値である。
Step 300 is a step of evaluating the screen color evaluation value and determining whether it is necessary to newly execute the white balance correction or whether the white balance correction operation is terminated because it is no longer necessary. Specifically, the determinations of steps 31 and 32 in the flowchart of FIG. 4 are executed. That is, in steps 31 and 32, the absolute values of the latest screen color evaluation values Vr and Vb are compared with a preset threshold value K, and both conditions | Vr | <K and | Vb | <K are satisfied. In other words, in other words, when the white balance correction operation up to the previous field causes the screen color evaluation values Vr and Vb to both be close to zero enough to fall below the threshold value K,
It is judged that the white balance correction is no longer necessary, and the white balance correction operation is terminated. It should be noted that the threshold value K is a value at which it can be considered that the white balance correction is unnecessary, and is a value determined in advance by an experiment.

【0026】ステップ400では最新の画面色評価値V
r、Vbが共に零になるようにマイコン27よりR増幅
回路4及びB増幅回路5の夫々の利得を調整するR、B
利得調整信号を出力し、R及びB増幅回路4、5はこの
調整信号に応じてR及びB信号の利得を変化させる。
尚、R、B利得調整信号は、白バランス補正動作が補正
動作モードにある場合には一画面、即ち1フィールド毎
に変化するが、安定モードにある場合にはその直前のま
ま維持されることになり、R及びB増幅回路の利得もこ
の安定モードでは直前の値に固定される。
In step 400, the latest screen color evaluation value V
The microcomputer 27 adjusts the respective gains of the R amplifier circuit 4 and the B amplifier circuit 5 so that both r and Vb become zero.
The gain adjustment signal is output, and the R and B amplifier circuits 4 and 5 change the gains of the R and B signals according to the adjustment signal.
It should be noted that the R and B gain adjustment signals change for each screen, that is, for each field when the white balance correction operation is in the correction operation mode, but are maintained immediately before that in the stable mode. Then, the gains of the R and B amplifier circuits are also fixed to the values just before in this stable mode.

【0027】ステップ500は、64個の領域の中の上
下、左右方向に隣接する複数の領域が同一色であるか否
かを判定し、この判定の結果、隣接する領域で同一色と
なる領域が基準の個数より多いか少ないかを表す出力信
号を発するステップであり、具体的には、図5に詳細に
示すフローチャートに基づいた判定動作を実行する。
In step 500, it is determined whether or not a plurality of vertically adjacent regions in the 64 regions have the same color, and as a result of this determination, the adjacent regions have the same color. Is a step of issuing an output signal indicating whether the number is larger or smaller than the reference number. Specifically, the determination operation based on the flowchart shown in detail in FIG. 5 is executed.

【0028】この図5のフローチャートにおいて、ステ
ップ51では後述のカウント値P及びQがリセットさ
れ、ステップ52、53で領域A11から判定を行うた
めの初期設定が為され、ステップ55では上下方向に連
続して並んでいる領域での色差信号R−Yの色評価値の
差|rij−ri−1j|が所定値C1を越えるか否か
の判断を為し、同様にステップ56、57では上下方向
に連続する領域での色差信号B−Yの色評価値の差|b
ij−bi−1j|及び輝度評価値の差|yij−yi
−1j|が夫々所定値C2、C3を越えるか否かの判断
を為す。そして、いずれの評価値の差も所定値C1、C
2、C3を越えない時には、これらの上下する2領域は
同一色であると判断し、ステップ58にてカウント値P
をインクリメントする。尚、所定値C1、C2、C3
は、各評価値に関して同一色と見做せる閾値である。
In the flow chart of FIG. 5, count values P and Q, which will be described later, are reset in step 51, initial settings for making a determination from the area A11 are made in steps 52 and 53, and in step 55, the values are continuously set in the vertical direction. Then, it is determined whether or not the difference | rij-ri-1j | of the color evaluation values of the color difference signals RY in the areas arranged side by side exceeds the predetermined value C1. Of the color evaluation values of the color difference signal BY in the area continuous with | b
ij-bi-1j | and the difference in luminance evaluation value | yij-yi
It is determined whether −1j | exceeds the predetermined values C2 and C3, respectively. The difference between the evaluation values is the predetermined value C1, C
When it does not exceed 2, C3, it is judged that these two areas, which are upper and lower, have the same color, and the count value P is determined in step 58.
Is incremented. The predetermined values C1, C2, C3
Is a threshold that can be regarded as the same color for each evaluation value.

【0029】ステップ54は、画面の最上段に並ぶ8個
の領域については、これより上側に領域が存在しないの
で、ステップ55〜58の一連の判定を回避する働きを
有している。
The step 54 has a function of avoiding the series of determinations in steps 55 to 58, since there is no area above the eight areas arranged at the top of the screen.

【0030】ステップ60では、画面の左右方向に連続
して並んでいる領域での色差信号R−Yの色評価値の差
|rij−rij−1|が所定値C1を越えるか否かの
判断を為し、同様にステップ61、62では左右方向に
連続する領域での色差信号B−Yの色評価値の差|bi
j−bij−1|及び輝度評価値の差|yij−yij
−1|が夫々所定値C2、C3を越えるか否かの判断を
為す。そして、いずれの評価値の差も所定値C1、C
2、C3を越えない時には、これらの左右に隣接する2
領域は同一色であると判断し、ステップ63にてカウン
ト値Qをインクリメントする。尚、ステップ59は、画
面の左端に並ぶ8個の領域については、これより左側に
領域が存在しないので、ステップ60〜63の判定を回
避する働きを有している。以上の一連の同一色判定動作
はステップ64により画面の全領域について実行され
る。
In step 60, it is judged whether or not the difference | rij-rij-1 | of the color evaluation values of the color difference signals RY in the areas which are continuously arranged in the left-right direction of the screen exceeds the predetermined value C1. Similarly, in steps 61 and 62, the difference | bi between the color evaluation values of the color difference signals BY in the left-right continuous region | bi
j-bij-1 | and the difference between the brightness evaluation values | yij-yij
It is determined whether -1 | exceeds the predetermined values C2 and C3, respectively. The difference between the evaluation values is the predetermined value C1, C
2, when it does not exceed C3
It is determined that the areas have the same color, and the count value Q is incremented in step 63. It should be noted that step 59 has a function of avoiding the determinations of steps 60 to 63 because there is no area on the left side of the eight areas arranged on the left end of the screen. The above-described series of same-color determination operation is executed in step 64 for the entire area of the screen.

【0031】これらの判定の結果として得られるカウン
ト値P、Qは、上下あるいは左右方向に隣接する領域の
内で同一色である領域が多い程大きな値となる。例え
ば、図6のような撮像画面で、斜線の領域が青空で同一
色であるとすると、P=6、Q=11となるのに対し
て、図7のような撮像画面ではP=30、Q=32とな
る。従って、このカウント値P及びQの和は、連続する
領域が同一色である度合いを示すことになる。そこでス
テップ65では、両カウント値の和が閾値T1を越える
か否かを判断し、このT1を越える場合にはステップ8
00に、また越えない場合にはステップ700に移行す
る。こうしてステップ500は終了する。
The count values P and Q obtained as a result of these determinations become larger as the number of regions of the same color among the regions adjacent to each other in the vertical or horizontal direction increases. For example, in the image pickup screen as shown in FIG. 6, assuming that the shaded area is blue sky and the same color, P = 6 and Q = 11, whereas in the image pickup screen as shown in FIG. 7, P = 30, Q = 32. Therefore, the sum of the count values P and Q indicates the degree to which the continuous areas have the same color. Therefore, in step 65, it is judged whether or not the sum of both count values exceeds the threshold value T1, and if it exceeds this T1, step 8
00, and if it does not exceed 100, the process proceeds to step 700. Thus, step 500 ends.

【0032】ステップ600では、64個の各領域につ
いて、光源色を反映していない領域の個数が閾値T2よ
り多いか否かを判定する。ここで、一般に、光源の色温
度変化と各色差信号の関係について考えると、白い被写
体を照射している光源の色温度が変化した場合の色差信
号は、図8の光源色温度軸のように変化する。従って、
この光源色温度軸を含まない第1及び第3象限に現れる
色差信号の組は、光源の色温度を反映したものではな
く、白バランス調整を行う際の情報としては考慮しない
方が好ましい。換言すると、画面全体の色差信号の平均
値がこの光源色温度軸から離れた画面は、光源の色より
も被写体自体の色を強く反映しており、画面全体の色を
平均化すれば、各色成分が打ち消し合い、略白い画面状
態に近似できることを前提とする白バランス補正をこの
ような画面に施すことは好ましくない。
In step 600, for each of the 64 areas, it is determined whether the number of areas that do not reflect the light source color is greater than the threshold value T2. Here, in general, considering the relationship between the color temperature change of the light source and each color difference signal, the color difference signal when the color temperature of the light source illuminating a white subject changes is as shown in the light source color temperature axis of FIG. Change. Therefore,
The set of color difference signals appearing in the first and third quadrants that do not include the light source color temperature axis does not reflect the color temperature of the light source and is preferably not considered as information when performing white balance adjustment. In other words, the screen where the average value of the color difference signal of the entire screen is far from the light source color temperature axis reflects the color of the subject itself more strongly than the color of the light source. It is not preferable to perform white balance correction on such a screen on the assumption that the components cancel each other out and can be approximated to a substantially white screen state.

【0033】このことを考慮して、64個の全領域の色
評価値を図9の座標上にプロットして斜線で囲まれた領
域F内にこのプロット点が存在するか否かを判定する。
ここで領域Fは光源色温度軸に沿い、光源色と見做せる
光源色領域に相当し、プロット点がこの領域外に存在す
る場合には、白バランス調整を施すには、余り好ましく
ない撮影状況にあることを意味している。この領域F内
に存在するか否かの判定は64個の領域全てについて実
行される。尚、図9は図8の縦軸及び横軸の色差信号を
夫々色評価値に置き換えたものである。
In consideration of this, the color evaluation values of all 64 areas are plotted on the coordinates of FIG. 9 and it is determined whether or not this plot point exists in the area F surrounded by the diagonal line. .
Here, the region F corresponds to a light source color region that can be regarded as a light source color along the light source color temperature axis, and when the plot point is outside this region, it is not so preferable to perform white balance adjustment. It means that you are in a situation. The determination as to whether or not the area F exists is executed for all 64 areas. In FIG. 9, the color difference signals on the vertical axis and the horizontal axis in FIG. 8 are replaced with color evaluation values.

【0034】このステップ600の判定動作を更に具体
的にフローチャートに示したものが図10である。この
図10において、ステップ66では後述のカウント値R
をリセットし、ステップ67、68にて領域A11から
判定を行うための初期設定が為され、ステップ69にて
両色評価値のプロット点(bij,rij)が領域F内
に存在するか否かの判断を為し、領域F外と判断される
場合にのみステップ70にてカウント値Rをインクリメ
ントし、これと同一の判定動作をステップ71にて64
個の全ての領域について実行する。
FIG. 10 is a flowchart showing the determination operation of step 600 more specifically. 10, in step 66, a count value R, which will be described later, is set.
Is reset, and initial settings for making a determination from the area A11 are made in steps 67 and 68. In step 69, whether or not plot points (bij, rij) of both color evaluation values are present in the area F. The count value R is incremented in step 70 only when it is determined to be outside the area F, and the same determination operation as this is performed in step 71.
Perform for all regions.

【0035】こうして全領域の判定が完了すると、ステ
ップ72にてカウント値Rが閾値T2を越えるか否かの
判定が実行される。ここで、閾値T2は白バランス調整
に好ましくないと断定できる、光源色以外の色を示す領
域の個数の閾値であり、カウント値Rがこの閾値T2を
越えるということは、光源色を反映しない色となる領域
が非常に多いことを意味する。こうして、カウント値R
が閾値T2を越える場合には、ステップ800に移行
し、越えなければステップ700に移行する。
When the determination of the entire area is completed in this way, it is determined in step 72 whether the count value R exceeds the threshold value T2. Here, the threshold value T2 is a threshold value of the number of regions showing colors other than the light source color, which can be determined to be unfavorable for white balance adjustment, and the count value R exceeding the threshold value T2 means that the color does not reflect the light source color. It means that there are many areas where Thus, the count value R
If exceeds the threshold T2, the process proceeds to step 800, and if not exceeds, the process proceeds to step 700.

【0036】ステップ700及びステップ800は、後
述の再起動決定用閾値Mを決定するステップであり、ス
テップ500にて隣接する領域が同一色である度数が閾
値T1より少ないと判断され、且つステップ600にて
光源色を反映しない領域数が閾値T2より少ないと判断
される場合には、安定モードを維持しやすいように、ス
テップ700にて閾値Mを比較的大きな値m1に設定す
る。
Steps 700 and 800 are steps for determining a restart determination threshold M, which will be described later. It is determined in step 500 that the frequency of adjacent areas having the same color is less than the threshold T1, and step 600 When it is determined that the number of regions that does not reflect the light source color is smaller than the threshold value T2 in step 700, the threshold value M is set to a relatively large value m1 in step 700 so as to easily maintain the stable mode.

【0037】また、ステップ500にて隣接する領域が
同一色である度数が閾値T1より多いと判断されるか、
あるいはステップ600にて光源色を反映しない領域数
が閾値T2より多いと判断される場合には、安定モード
が容易に解除可能になるように、ステップ800にて閾
値Mを値m1より小さな値m2に設定する。
Further, in step 500, it is judged that the frequency of adjacent areas having the same color is greater than the threshold value T1,
Alternatively, when it is determined in step 600 that the number of regions not reflecting the light source color is larger than the threshold value T2, the threshold value M is set to a value m2 smaller than the value m1 in step 800 so that the stable mode can be easily released. Set to.

【0038】次にステップ900では次画面での評価用
に、画面色評価値Vr、Vbを1画面前の画面色評価値
Vr0、Vb0として設定し、ステップ101では安定
フラグをセット状態とする。
Next, in step 900, the screen color evaluation values Vr, Vb are set as the screen color evaluation values Vr0, Vb0 of the previous screen for evaluation on the next screen, and in step 101, the stability flag is set.

【0039】ステップ110は、数3が成り立つか否か
を判定する。即ち、最新の画面色評価値Vrとステップ
900にて設定された1フィールド前の画面色評価値V
r0の差(Vr−Vr0)と、最新の画面色評価値Vb
とステップ900にて設定された1フィールド前の画面
色評価値Vb0の差(Vb−Vb0)の合計の絶対値が
ステップ700、800で設定された閾値M以上か否か
を判定する。
In step 110, it is determined whether or not the expression 3 is satisfied. That is, the latest screen color evaluation value Vr and the screen color evaluation value V one field before set in step 900.
The difference between r0 (Vr-Vr0) and the latest screen color evaluation value Vb
Then, it is determined whether or not the absolute value of the sum of the differences (Vb-Vb0) of the screen color evaluation value Vb0 one field before set in step 900 is equal to or more than the threshold value M set in steps 700 and 800.

【0040】[0040]

【数3】 (Equation 3)

【0041】ここで、色差信号R−Y、B−Yの画面全
体の色評価値の平均値の前画面からの変化量の和の絶対
値が閾値を越える場合には、安定モードにあってR及び
B信号の増幅利得が固定されている白バランス補正動作
を再び起動させなければならないほどに画面全体の色が
変化したことを意味し、逆に閾値M未満の場合には、大
きな画面変化は発生しておらず安定モードを解除してま
で新たな画面評価による白バランス補正は必要ないと判
断することを意味する。
Here, when the absolute value of the sum of the changes in the average value of the color evaluation values of the color difference signals RY and BY for the entire screen from the previous screen exceeds the threshold value, the stable mode is set. This means that the color of the entire screen has changed enough to restart the white balance correction operation in which the amplification gains of the R and B signals are fixed, and conversely, when the value is less than the threshold value M, a large screen change occurs. Means that the white balance correction based on new screen evaluation is not necessary until the stable mode is released.

【0042】従って、新たな画面評価による白バランス
補正が必要と判断される場合には、ステップ120に移
行して安定フラグをクリアし、次のフィールドでは安定
モードを解除し、新たな画面評価による白バランス補正
が不要と判断される場合にはステップ120を飛び越え
て、次のフィールドでも安定モードを維持することにな
る。
Therefore, when it is determined that the white balance correction by the new screen evaluation is necessary, the process proceeds to step 120 to clear the stability flag, cancel the stable mode in the next field, and perform the new screen evaluation. When it is determined that the white balance correction is unnecessary, the step 120 is skipped and the stable mode is maintained in the next field.

【0043】次に図3のフローチャートに沿ってマイコ
ン27の動作を説明する。まず、ビデオカメラが撮影を
開始した直後には、白バランス補正動作は当然安定モー
ドにはなく、また白バランス補正動作は未だに十分に作
用していないので、画面色評価値Vr、Vbの少なくと
も絶対値の一方が、閾値Kより大きくなり、白バランス
補正が不要になることはなく、ステップ300よりステ
ップ400に移行してこれらの画面色評価値Vr、Vb
が零になるようにR及びB利得調整信号が作成されてR
及びB増幅回路4、5に供給されて、R信号及びB信号
の利得調整が実行され、周知の白バランス補正動作が為
される。つまり、白バランス補正は補正動作モードを維
持する。尚、この補正動作モード維持中には安定フラグ
はリセット状態にある。
Next, the operation of the microcomputer 27 will be described with reference to the flowchart of FIG. First, immediately after the video camera starts shooting, the white balance correction operation is naturally not in the stable mode, and the white balance correction operation is still not sufficiently operating, so that at least the absolute values of the screen color evaluation values Vr and Vb are absolute. One of the values does not become larger than the threshold value K and the white balance correction is not necessary, and the process proceeds from step 300 to step 400 and these screen color evaluation values Vr, Vb
R and B gain adjustment signals are created so that
And B amplifier circuits 4 and 5, and the gain adjustment of the R signal and the B signal is performed, and the well-known white balance correction operation is performed. That is, the white balance correction maintains the correction operation mode. The stability flag is in a reset state while the correction operation mode is maintained.

【0044】この補正動作モードの維持に伴い、マイコ
ン27は1フィールド毎にメモリ26に記憶されている
64領域分の輝度評価値yij、色評価値rij、bi
jが入力されて同様の白バランス補正動作が継続され
る。この結果、画面色評価値Vr、Vbが徐々に零に収
束し、画面色評価値Vr、Vbの絶対値が共に閾値Kを
下回ることになる。この状態が生じると、ステップ30
0からステップ500に移行することになる。
With the correction operation mode maintained, the microcomputer 27 causes the microcomputer 27 to store the luminance evaluation values yij and the color evaluation values rij, bi for 64 areas stored in the memory 26 for each field.
When j is input, the same white balance correction operation is continued. As a result, the screen color evaluation values Vr and Vb gradually converge to zero, and the absolute values of the screen color evaluation values Vr and Vb both fall below the threshold value K. If this happens, step 30
The process proceeds from 0 to step 500.

【0045】このステップ500への移行時の撮像画面
が例えば図6のような場合、空の青色により上下及び左
右に連接する領域が同一色となる回数は、上下方向に
6、左右方向に11であるため、閾値T1を50とする
と、P+Q=6+11=17<T1となり、同一色領域
が多いとは判断されず、ステップ600に移行される。
When the image pickup screen at the time of shifting to this step 500 is, for example, as shown in FIG. 6, the number of times that the regions connecting vertically and horizontally with the sky blue are the same color is 6 vertically and 11 horizontally. Therefore, assuming that the threshold T1 is 50, P + Q = 6 + 11 = 17 <T1, and it is not determined that there are many areas of the same color, and the process proceeds to step 600.

【0046】図6の画面の各領域の色評価値rij、b
ijのプロット点が図9の光源色領域F内に存在する領
域数が閾値T2よりも小さい場合には、ステップ600
にてこの撮像画面は光源の色が反映されたとしてステッ
プ700に移行される。
Color evaluation values rij, b of each area on the screen of FIG.
If the number of regions in which the plot points of ij exist in the light source color region F of FIG. 9 is smaller than the threshold value T2, step 600
Then, it is assumed that the color of the light source is reflected on this imaging screen, and the process proceeds to step 700.

【0047】こうしてステップ500及び600の判定
動作を経てステップ700に到達した場合には、図6の
画面は同一色の領域が十分に少なく、且つ白バランス補
正の対象であるべき光源色が十分に反映された画面であ
り、白バランス補正の評価対象として十分に信頼性が高
く、このような画面を評価することにより為される白バ
ランス補正は最適なものであり、この画面の評価により
画面色評価値Vr、Vbが十分に小さく、もはや白バラ
ンス補正は不要であるとステップ300にて判断され、
白バランス補正が補正動作モードから安定モードにモー
ド移行が為されようとしているのであるから、頻繁な白
バランス補正により、R及びB信号の増幅利得の補正量
がふらついて不安定な白バランス補正が為されないよう
に、画面の色が大きく変化したと認められるまでは、で
きるだけ現状を維持して、安定モードから補正動作モー
ドへの再起動がかかり難くくなるように閾値Mを大きな
m1とする。
In this way, when the process reaches the step 700 through the determination operations of the steps 500 and 600, the screen of FIG. 6 has a sufficiently small area of the same color, and the light source color to be the target of the white balance correction is sufficiently small. It is a screen that is reflected, and it is sufficiently reliable as an evaluation target of white balance correction, and the white balance correction made by evaluating such a screen is the optimum one. It is determined in step 300 that the evaluation values Vr and Vb are sufficiently small and white balance correction is no longer necessary.
Since the white balance correction is about to shift from the correction operation mode to the stable mode, frequent white balance correction causes fluctuations in the correction amounts of the amplification gains of the R and B signals, resulting in unstable white balance correction. To prevent this, the threshold M is set to a large value m1 so that the current state is maintained as much as possible and it is difficult to restart from the stable mode to the correction operation mode until it is recognized that the screen color has changed significantly.

【0048】この閾値Mの設定後、ステップ101にて
安定フラグをセット状態にして、次フィールドでの白バ
ランス補正を非作動とする。
After the threshold value M is set, the stability flag is set in step 101 to deactivate the white balance correction in the next field.

【0049】従って、次フィールドにおいて最新の色評
価値rij、bijがマイコン27に入力され画面色評
価値Vr、Vbが算出されても、安定フラグはセット状
態である為にステップ200からステップ110に移行
されることになり、ステップ400での白バランス補正
動作あるいはステップ700、800での閾値Mの設定
動作は為されない。
Therefore, even if the latest color evaluation values rij and bij are input to the microcomputer 27 in the next field and the screen color evaluation values Vr and Vb are calculated, the stability flag is in the set state, and therefore the process proceeds from step 200 to step 110. Therefore, the white balance correction operation in step 400 or the threshold M setting operation in steps 700 and 800 is not performed.

【0050】この次フィールドにおいて、ステップ11
0での判定により、数3が成り立たない程、図6の画面
あるいは光源に大きな変化が生じていない場合には、白
バランス補正を非作動とする安定モードを維持したほう
がよいので、ステップ120を飛び越えて安定フラグは
セット状態を維持し、更に次フィールドでも安定モード
が維持されることになる。この場合、安定モードに移行
時点での図6の画面の色に多少の変化が生じても、上述
のように閾値Mは比較的大きな値m1に設定されている
ので、数3は成り立ちにくく白バランス補正が頻繁に行
われることはない。
In this next field, step 11
If a large change does not occur in the screen or the light source of FIG. 6 such that the expression 3 does not hold according to the determination of 0, it is better to maintain the stable mode in which the white balance correction is not operated. By jumping over, the stable flag remains set, and the stable mode is maintained in the next field. In this case, even if the color of the screen shown in FIG. 6 changes a little at the time of shifting to the stable mode, the threshold value M is set to a relatively large value m1 as described above, and therefore the expression 3 is difficult to hold and the white value is white. Balance correction is not frequently performed.

【0051】また、この安定モード中に、図6の画面が
パンニング、チルティング等により撮像画面が著しく変
化したり、あるいは光源が変化して、直ちに白バランス
補正動作を再開する必要がある状況になると、数3は成
り立つことになり、ステップ120にて安定フラグはク
リアされて、次フィールドにおいて再びステップ400
の白バランス補正が実行される。
Further, during the stable mode, in the situation where the screen of FIG. 6 is remarkably changed due to panning, tilting or the like or the light source is changed, it is necessary to immediately restart the white balance correction operation. Then, Equation 3 holds, the stability flag is cleared in step 120, and step 400 is performed again in the next field.
White balance correction is performed.

【0052】一方、図7のように空の青色の斜線の領域
が多い撮像画面を基にステップ400にて白バランス補
正を実行して、あるフィールドで両画面色評価値が共に
閾値Kを下回ることになると、このフィールドでの色評
価値にてステップ500にて同一色領域が多いか否かの
判定が実行される。この図7では、前述のように図7の
画面について上下及び左右に連接する領域が同一色とな
る回数は、上下方向に30、左右方向に32となるた
め、閾値T1を50とすると、P+Q=30+32=6
2>T1となり、同一色領域が多いとは判断され、ステ
ップ800に移行され、閾値Mが値m1よりも小さな値
m2に設定される。
On the other hand, the white balance correction is executed in step 400 based on the imaged screen having a large number of sky blue shaded areas as shown in FIG. 7, and both screen color evaluation values in a certain field both fall below the threshold value K. In this case, it is determined in step 500 based on the color evaluation value in this field whether there are many areas of the same color. In this FIG. 7, as described above, the number of times that the areas connected vertically and horizontally on the screen of FIG. 7 have the same color is 30 in the vertical direction and 32 in the horizontal direction. Therefore, if the threshold value T1 is 50, P + Q = 30 + 32 = 6
Since 2> T1, it is determined that there are many areas of the same color, the process proceeds to step 800, and the threshold value M is set to a value m2 smaller than the value m1.

【0053】従って、次フィールド移行の安定モードに
おいて、ステップ110にて図7の画面の色の小さな変
化に対しても、数3が成り立ち易くなり、敏感に安定モ
ードが解除されて、白バランス補正が再開できることに
なる。そこで、図7のように同一色の領域が連続的に広
がることにより、画面全体の色を平均化しても白色にな
らないような、本来、白バランス補正を実行する際に評
価対象としては好ましくない信頼性の低い画面に対する
白バランス補正が完了して安定モードに移行した場合に
は、画面の変化により色評価値に変化が生じると前述の
図6の場合に比べ迅速に白バランス補正が再開されて、
パンニングやチルティングにより被写体が変化したとき
に迅速に安定モードを解除して、信頼性の低い画面の評
価に基づくR及びB信号の増幅利得の固定を解除して、
新たな画面での白バランス補正が実行され、被写体自体
の色に影響されて、画面の同一色の領域の色の補色側へ
の利得の固定が維持されにくくなる。
Therefore, in the stable mode of the next field transition, the mathematical expression 3 is likely to hold even for a small change in the color of the screen in FIG. 7 in step 110, and the stable mode is released sensitively to correct the white balance. Will be able to resume. Therefore, as shown in FIG. 7, areas of the same color are continuously expanded, so that even if the colors of the entire screen are averaged, white is not obtained, which is originally not desirable as an evaluation target when executing white balance correction. When the white balance correction for the screen with low reliability is completed and the mode shifts to the stable mode, if the color evaluation value changes due to the change of the screen, the white balance correction is restarted more quickly than in the case of FIG. 6 described above. hand,
When the subject changes due to panning or tilting, the stable mode is quickly released, and the fixed amplification gain of the R and B signals based on the evaluation of the unreliable screen is released.
White balance correction is performed on a new screen, and it is difficult to maintain the fixed gain on the complementary color side of the color of the same color area of the screen affected by the color of the subject itself.

【0054】更に、光源色が反映されていない画面につ
いて白バランス補正が実行されて白バランス補正が完了
した場合にも、ステップ600での判定によりステップ
800に移行されて閾値Mが小さい値m2に設定され
る。従って、次フィールド以降の安定モードにおいて、
画面の色に変化が生じた時に数3が成り立ち易く迅速に
安定モードが解除されて白バランス補正が再開できるこ
とになる。そこで、光源の色を反映せず被写体自体の色
の影響を強く受けた、白バランス補正には好ましくない
信頼性の低い画面に対して、安定モードが解除されて新
たな画面での白バランス補正が実行される。
Further, even when the white balance correction is completed for the screen on which the light source color is not reflected and the white balance correction is completed, the determination in step 600 moves to step 800 and the threshold value M becomes a small value m2. Is set. Therefore, in the stable mode after the next field,
When a change occurs in the color of the screen, the expression 3 is likely to hold and the stable mode can be quickly released and the white balance correction can be restarted. Therefore, for the unreliable screen that is not preferable for white balance correction, which is strongly influenced by the color of the subject itself without reflecting the color of the light source, the stable mode is released and the white balance correction is performed on a new screen. Is executed.

【0055】前記実施例では、A/D変換器22及び積
分器23を夫々1個で構成するために、輝度信号Y及び
両色差信号R−Y、B−Yを1フィールド毎に選択回路
21にて順次選択したので、輝度評価値及び両色評価値
のいずれも、更新までに3フィールドが必要になるが、
更に高精度の白バランス補正を実行するために、図1の
選択回路21を取り除き、輝度信号Y、両色差信号の夫
々に専用のA/D変換器及び積分器を独立的に配設する
ことも可能である。この場合、3個の積分器はいずれも
図1の積分器23と同一の構成を有し、各々の積分器よ
り各信号の64領域分の評価値が導出される。
In the above-described embodiment, since the A / D converter 22 and the integrator 23 are respectively configured by one, the selection circuit 21 selects the luminance signal Y and the color difference signals RY and BY for each field. Since it was sequentially selected in, both the luminance evaluation value and both color evaluation values require 3 fields before updating,
In order to perform more accurate white balance correction, the selection circuit 21 of FIG. 1 is removed, and a dedicated A / D converter and integrator are independently provided for each of the luminance signal Y and both color difference signals. Is also possible. In this case, each of the three integrators has the same configuration as that of the integrator 23 in FIG. 1, and the evaluation value for 64 regions of each signal is derived from each integrator.

【0056】また、ステップ500の同一色領域の判定
に際して、図5のフローチャートでは、カウント値P、
Qの合計の大きさを用いているが、このP+Qは隣接す
る領域が同一色となる回数に相当し、同一色領域の面積
が大きくなるに連れてこのP+Qも大きくなる。この判
定以外にも、実際に隣接する領域の色評価値及び輝度評
価値を比較し、色評価値rij、bij及び輝度評価値
yijの隣接領域間の差が閾値C1、C2、C3より小
さいか否かを判別し、実際に小さいと判断される領域の
個数自体をカウントし、このカウント値をP+Qの代わ
りに判定のパラメータに使用することも可能であること
は言うまでもない。
In determining the same color area in step 500, the count value P,
Although the total size of Q is used, this P + Q corresponds to the number of times adjacent regions have the same color, and P + Q also increases as the area of the same color region increases. In addition to this determination, the color evaluation value and the brightness evaluation value of the adjacent areas are actually compared, and whether the difference between the adjacent areas of the color evaluation values rij, bij and the brightness evaluation value yij is smaller than the threshold values C1, C2, C3. Needless to say, it is also possible to determine whether or not it is possible to count the number of areas that are actually determined to be small, and use this count value as a determination parameter instead of P + Q.

【0057】[0057]

【発明の効果】上述の如く本発明によれば、補正動作モ
ード以外に安定モードを設定して、白バランス補正が一
旦完了すれば、これ以降は補正動作モードを継続するこ
とで色信号の利得が頻繁に変化する不安定な白バランス
補正を防止しつつ、同一色が連続している領域が少な
く、高彩度の赤色や青色の光源色以外の色の領域が少な
い、白バランス補正の評価画面として信頼性の高い画面
で白バランス補正を行った時には、安定モードから補正
動作モードへの再起動の閾値が大きくなることで、この
撮影状態からパンニング等で同一色が連続する領域が多
い被写体や光源色以外の色が多い被写体の撮影に移行し
て、白バランス補正の評価対象として信頼性の低い画面
となったときに、白バランス補正の再起動がかかりにく
くなり、被写体自体の色成分の影響を受けにくい白バラ
ンス補正が実現でき、逆に、信頼性の低い画面で白バラ
ンス補正を実行したときには閾値が小さくなることで、
この撮影状態から信頼性の高い画面に移行したときに速
やかに白バランス補正が再起動されて、被写体自体の色
に影響されたままの状態が継続することを防止できる。
As described above, according to the present invention, when the stable mode other than the correction operation mode is set and the white balance correction is once completed, the correction operation mode is continued after that and the gain of the color signal is gained. As an evaluation screen for white balance correction, while preventing unstable white balance correction that changes frequently, there are few areas where the same color is continuous and there are few areas of colors other than the highly saturated red and blue light source colors. When white balance correction is performed on a highly reliable screen, the threshold for restarting from the stable mode to the correction operation mode becomes large, and from this shooting state there are many areas where the same color is continuous due to panning etc. If you switch to shooting a subject with many colors other than colors and the screen becomes unreliable as an evaluation target for white balance correction, it will be difficult to restart white balance correction, and the subject itself Susceptible white balance correction the influence of the color components can be realized, on the contrary, when executing white balance correction in unreliable screen than the threshold is reduced,
It is possible to prevent the white balance correction from being promptly restarted when the screen shifts from this shooting state to a highly reliable screen, and the state where the white balance correction remains affected by the color of the subject itself is continued.

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

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

【図2】本発明の一実施例の画面分割を説明する図であ
る。
FIG. 2 is a diagram illustrating screen division according to an embodiment of the present invention.

【図3】本発明の一実施例の全体のフローチャートであ
る。
FIG. 3 is an overall flowchart of one embodiment of the present invention.

【図4】本発明の一実施例のステップ300を詳細に説
明するフローチャートである。
FIG. 4 is a flowchart detailing step 300 of one embodiment of the present invention.

【図5】本発明の一実施例のステップ500を詳細に説
明するフローチャートである。
FIG. 5 is a flowchart detailing step 500 of one embodiment of the present invention.

【図6】本発明の一実施例の撮像画面を説明する図であ
る。
FIG. 6 is a diagram illustrating an imaging screen according to an embodiment of the present invention.

【図7】本発明の一実施例の撮像画面を説明する図であ
る。
FIG. 7 is a diagram illustrating an imaging screen according to an embodiment of the present invention.

【図8】光源の色温度変化を色座標上で説明する図であ
る。
FIG. 8 is a diagram illustrating a change in color temperature of a light source on color coordinates.

【図9】本発明の一実施例の色座標上での光源色領域を
説明する図である。
FIG. 9 is a diagram illustrating a light source color area on color coordinates according to an embodiment of the present invention.

【図10】本発明の一実施例のステップ600を詳細に
説明するフローチャートである。
FIG. 10 is a flowchart detailing step 600 of one embodiment of the present invention.

【図11】本発明の従来例のブロック図である。FIG. 11 is a block diagram of a conventional example of the present invention.

【図12】本発明の一実施例の要部ブロック図である。FIG. 12 is a block diagram of an essential part of an embodiment of the present invention.

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

4 R増幅器 5 B増幅器 23 積分器 27 マイコン 4 R amplifier 5 B amplifier 23 Integrator 27 Microcomputer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 撮像映像信号中の色情報信号を基に色信
号の利得を変化させて白バランス補正動作を実行する補
正動作モードと、色信号の利得を固定する安定モードの
2モードに択一的に切り換わる白バランス調整装置を備
えるビデオカメラにおいて、 画面を分割して設定された複数の領域毎に色情報信号レ
ベルを色評価値として検出する色評価値検出手段と、 画面全体の色情報信号レベルを画面色評価値として検出
する画面色評価値検出手段と、 前記複数の領域の全てについて、隣接する領域毎に色評
価値を比較して同一色であるか否かを判断し、隣接する
領域が同一色と判断される領域数が多い程に大きくなる
値が第1基準値を越えるか否かを判定する同一色領域判
定手段と、 前記安定モードにおいて最新の画面色評価値の一画面前
の値に対する変化量が閾値を越えるか否かを判定する変
化判定手段と、 前記補正動作モード中に画面色評価値が基準レベルを下
回る時に、前記補正動作モードから前記安定モードに切
り換え、前記変化量が前記閾値を越えた場合に前記安定
モードから前記補正動作モードに切り換えるモード切換
手段とを備え、 前記同一色領域判定手段により隣接する領域が同一色と
判断される領域数が多い程に大きくなる値が前記第1基
準値より小さいと判断された時に前記閾値を大きくし、
前記第1基準値より大きいと判断された時に前記閾値を
小さくすることを特徴とするビデオカメラ。
1. A correction mode in which a gain of a color signal is changed based on a color information signal in an imaged video signal to perform a white balance correction operation, and a stable mode in which a gain of a color signal is fixed are selected. In a video camera equipped with a white balance adjusting device that switches in a single manner, a color evaluation value detection unit that detects a color information signal level as a color evaluation value for each of a plurality of areas set by dividing the screen, and a color of the entire screen. Screen color evaluation value detection means for detecting the information signal level as a screen color evaluation value, for all of the plurality of areas, to determine whether or not the same color by comparing the color evaluation value for each adjacent area, The same color area determination unit that determines whether or not the value that increases as the number of areas in which adjacent areas are determined to have the same color exceeds a first reference value, and the latest screen color evaluation value in the stable mode One screen before Change determination means for determining whether or not the amount of change with respect to a threshold value exceeds a threshold value, and when the screen color evaluation value falls below a reference level during the correction operation mode, the correction operation mode is switched to the stable mode, and the amount of change is A mode switching unit that switches from the stable mode to the correction operation mode when the threshold value is exceeded, and a value that increases as the number of regions in which adjacent regions are determined to be the same color by the same color region determination unit increases. Increases the threshold when it is determined that is smaller than the first reference value,
A video camera, wherein the threshold value is reduced when it is determined that the threshold value is larger than the first reference value.
【請求項2】 撮像映像信号中の色情報信号を基に色信
号の利得を変化させて白バランス補正動作を実行する補
正動作モードと、色信号の利得を固定する安定モードの
2モードに択一的に切り換わる白バランス調整装置を備
えるビデオカメラにおいて、 画面を分割して設定された複数の領域毎に色情報信号レ
ベルを色評価値として検出する色評価値検出手段と、 画面全体の色情報信号レベルを画面色評価値として検出
する画面色評価値検出手段と、 前記複数の領域の内で光源の色温度変化の分布範囲外に
色評価値が存在する領域数が第2基準値を越えるか否か
を判定する光源色領域判定手段と、 前記安定モードにおいて最新の画面色評価値の一画面前
の値に対する変化量が閾値を越えるか否かを判定する変
化判定手段とを備え、 前記補正動作モード中に画面色評価値が基準レベルを下
回る時に、前記補正動作モードから前記安定モードに切
り換え、前記変化量が前記閾値を越えた場合に前記安定
モードから前記補正動作モードに切り換えるモード切換
手段とを備え、 前記光源色領域判定手段により光源の色温度変化の分布
範囲外に色評価値が存在する領域数が前記第2基準値よ
り小さいと判断された時に前記閾値を大きくし、前記第
2基準値より大きいと判断された時に前記閾値を小さく
することを特徴とするビデオカメラ。
2. A correction operation mode in which a gain of a color signal is changed based on a color information signal in an imaged video signal to execute a white balance correction operation, and a stable mode in which a gain of a color signal is fixed are selected. In a video camera equipped with a white balance adjusting device that switches in a single manner, a color evaluation value detection unit that detects a color information signal level as a color evaluation value for each of a plurality of areas set by dividing the screen, and a color of the entire screen. A screen color evaluation value detecting means for detecting the information signal level as a screen color evaluation value; and a number of areas in the plurality of areas where the color evaluation value exists outside the distribution range of the color temperature change of the light source, the second reference value. A light source color region determining means for determining whether or not to exceed, and a change determining means for determining whether or not the amount of change of the latest screen color evaluation value in the stable mode with respect to a value one screen before, exceeds a threshold value, The correction motion Mode switching means for switching from the correction operation mode to the stable mode when the screen color evaluation value falls below a reference level during the mode, and switching from the stable mode to the correction operation mode when the amount of change exceeds the threshold value; The threshold value is increased when the number of regions in which the color evaluation value exists outside the distribution range of the color temperature change of the light source is smaller than the second reference value by the light source color region determination unit, A video camera, wherein the threshold value is reduced when it is determined to be larger than a reference value.
JP06237705A 1994-09-30 1994-09-30 Video camera Expired - Fee Related JP3113518B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06237705A JP3113518B2 (en) 1994-09-30 1994-09-30 Video camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06237705A JP3113518B2 (en) 1994-09-30 1994-09-30 Video camera

Publications (2)

Publication Number Publication Date
JPH08102960A true JPH08102960A (en) 1996-04-16
JP3113518B2 JP3113518B2 (en) 2000-12-04

Family

ID=17019293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06237705A Expired - Fee Related JP3113518B2 (en) 1994-09-30 1994-09-30 Video camera

Country Status (1)

Country Link
JP (1) JP3113518B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100801085B1 (en) * 2005-12-14 2008-02-11 삼성전자주식회사 Method and apparatus for auto white controlling
KR100839093B1 (en) * 2007-01-31 2008-06-19 한국과학기술원 Method and apparatus for measuring luminance and hue
JP2008277899A (en) * 2007-04-25 2008-11-13 Nikon Corp White balance adjustment device, imaging device, and white balance adjusting program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2550948B1 (en) * 2011-07-23 2020-01-15 Braun GmbH Skin treatment device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100801085B1 (en) * 2005-12-14 2008-02-11 삼성전자주식회사 Method and apparatus for auto white controlling
KR100839093B1 (en) * 2007-01-31 2008-06-19 한국과학기술원 Method and apparatus for measuring luminance and hue
JP2008277899A (en) * 2007-04-25 2008-11-13 Nikon Corp White balance adjustment device, imaging device, and white balance adjusting program

Also Published As

Publication number Publication date
JP3113518B2 (en) 2000-12-04

Similar Documents

Publication Publication Date Title
US9996907B2 (en) Image pickup apparatus and image processing method restricting an image stabilization range during a live view operation
KR100199322B1 (en) White balance adjusting apparatus automatically adjusting white balance on the basis of color information signal obttained from image sensing device
JPH07298286A (en) Image pickup device
JP4042432B2 (en) Imaging device
EP1489852B1 (en) Method and apparatus for white balancing images
JP3583952B2 (en) Black and white / color switching camera
JPH08102960A (en) Video camera
JP4106774B2 (en) Digital camera
JP2523036B2 (en) Color video camera
JP3142603B2 (en) White balance device for imaging equipment
JPH0898200A (en) Video camera
JP3096605B2 (en) Color video camera
JP2000156874A (en) Digital camera
JP2003255429A (en) Exposure controller
JP2532962B2 (en) Color video camera
JP3075888B2 (en) White balance adjustment device
JP2532956B2 (en) Color video camera
JP2001136539A (en) Electronic camera
JP2523038B2 (en) Color video camera
JP2521832B2 (en) Color video camera
JP4657477B2 (en) White balance control device and digital camera
JP2523034B2 (en) White balance adjustment device
JP2523033B2 (en) White balance adjustment device
JPH06351037A (en) Auto-white balance device
JP3378697B2 (en) White balance adjustment device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070922

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080922

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090922

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees