JP2003324754A - Color signal processing method, color signal processing circuit, imaging apparatus, program, and storage medium - Google Patents

Color signal processing method, color signal processing circuit, imaging apparatus, program, and storage medium

Info

Publication number
JP2003324754A
JP2003324754A JP2002127855A JP2002127855A JP2003324754A JP 2003324754 A JP2003324754 A JP 2003324754A JP 2002127855 A JP2002127855 A JP 2002127855A JP 2002127855 A JP2002127855 A JP 2002127855A JP 2003324754 A JP2003324754 A JP 2003324754A
Authority
JP
Japan
Prior art keywords
color
gain
color difference
white balance
signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002127855A
Other languages
Japanese (ja)
Inventor
Satoshi Naito
智 内藤
Katsumi Kato
勝巳 加藤
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2002127855A priority Critical patent/JP2003324754A/en
Publication of JP2003324754A publication Critical patent/JP2003324754A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a color signal processing circuit for preventing feedback type auto white balance control from excessively following a change in an object or a change in a color of a light source. <P>SOLUTION: An area setting section 178 sets a restart area to restart white balance control in a way of including a stop area for deciding a converging condition of the white balance control for including a complete dead zone surrounding the origin on a color difference plane. A gain control section 180 repetitively adjusts a gain signal Sr2 or the like given to a white balance amplifier 152R so as to converge an evaluation value to the origin by restarting the white balance control when the evaluation value exceeds the restart area without restarting the auto white balance control until the evaluation value exceeds the restart area after the white balance is stabilized. However, when the evaluation value reaches the inside of the stop area, the auto white balance control is immediately stopped even when the evaluation value does not reach the origin. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、色信号処理方法お
よびこの処理方法を実施する色信号処理回路、並びに色
信号処理回路を搭載した撮像装置に関する。また本発明
は、前記色信号処理方法をマイクロプロセッサなどのコ
ンピュータにより実施するためのプログラムおよびこの
プログラムを格納したコンピュータ読取り可能な記録媒
体に関する。特に、CCD(Charge Coupled Device) 撮
像素子やCMOS型撮像素子などの撮像素子を用いて撮
像した結果として得られる色信号のホワイトバランスを
自動的にとる、いわゆるオートホワイトバランス機能を
なす色信号処理に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color signal processing method, a color signal processing circuit for carrying out this processing method, and an image pickup apparatus equipped with the color signal processing circuit. The present invention also relates to a program for implementing the color signal processing method by a computer such as a microprocessor, and a computer-readable recording medium storing the program. In particular, the present invention relates to a color signal processing that automatically obtains a white balance of a color signal obtained as a result of imaging using an image pickup device such as a CCD (Charge Coupled Device) image pickup device or a CMOS type image pickup device, which is a so-called auto white balance function. .

【0002】[0002]

【従来の技術】CCD撮像素子などの固体撮像素子を用
いて被写体画像を撮像すると、被写体に含まれる白色
は、屋内などの色温度が低い環境で撮像した場合には赤
っぽくなり、屋外などの色温度が高い環境で撮像した場
合には青っぽくなるという現象が生じる。このことを、
ホワイトバランスが崩れるといっている。なお、色温度
とは、テスト光源と同じ色度を持った黒体の温度(K)
をいう。
2. Description of the Related Art When a solid-state image pickup device such as a CCD image pickup device is used to pick up a subject image, the white color contained in the subject becomes red when taken in an environment where the color temperature is low, such as indoors. When the image is picked up in an environment with a high color temperature, the phenomenon that it becomes bluish occurs. This
It is said that the white balance will be lost. The color temperature is the temperature (K) of a black body having the same chromaticity as the test light source.
Say.

【0003】図7は、色差信号軸R−Y,B−Yで示さ
れた色差座標面(具体的にはベクトルスコープ)上での
黒体放射カーブ(黒体軌跡)と、オートホワイトバラン
ス処理の関係を説明する図である。固体撮像素子を撮像
デバイスとして用いた撮像装置では、被写体の白色を撮
像した撮像結果において、その白色を無彩色の白色とし
て映し出すために、光源の色温度が変化した場合に、図
7に示すように、色温度の変化に応じて白色が黒体放射
カーブに沿って移動し色付いて見える白色を、無彩色の
白に合わせるオートホワイトバランス処理を行なうよう
にしている。なお、図7において、横軸は色差信号B−
Yの振幅(ゲイン)を、縦軸は色差信号R−Yの振幅を
それぞれ示し、色差座標面の原点が無彩色の白となる。
FIG. 7 shows a black body radiation curve (black body locus) on a color difference coordinate plane (specifically, a vector scope) indicated by color difference signal axes R-Y and B-Y, and automatic white balance processing. It is a figure explaining the relationship of. In an image pickup apparatus using a solid-state image pickup device as an image pickup device, in the image pickup result of a white image of a subject, since the white color is projected as an achromatic white color, when the color temperature of the light source changes, as shown in FIG. In addition, according to the change in color temperature, the white color moves along the black body radiation curve, and the white color that appears to be colored is adjusted to the achromatic white color by the automatic white balance processing. In FIG. 7, the horizontal axis represents the color difference signal B-
The vertical axis represents the amplitude (gain) of Y and the vertical axis represents the amplitude of the color difference signal RY, and the origin of the color difference coordinate plane is achromatic white.

【0004】このオートホワイトバランス処理としては
種々の方式があるが、たとえば、色信号処理系におい
て、フィールドごとの色差信号の積分値を求め、この積
分値に基づいて、被写体が無彩色に対してどれだけ色付
いているかを判断し、その結果から被写体が白に近づく
ように現状のホワイトバランスアンプのゲインを一定量
操作し、この手順を毎フィールド繰り返すことで、最終
的にホワイトバランスをとる、いわゆるフィードバック
制御方式のものがある。
There are various methods for this automatic white balance processing. For example, in a color signal processing system, the integrated value of the color difference signal for each field is obtained, and based on this integrated value, the subject is achromatic. The white balance is finally determined by determining how much color is present, and operating the gain of the current white balance amplifier by a certain amount so that the subject approaches white, and repeating this procedure every field from the result. There is a feedback control system.

【0005】このフィードバック制御方式では、フィー
ルドごとの色差信号の積分値が、無彩色の状態から離れ
ており、かつ、ある一定時間継続して前記の状態を保っ
ていれば、画面全体のホワイトバランスが崩れたと判断
し、ホワイトバランスアンプのゲイン操作を開始する必
要があると判断し、ゲイン操作制御を再起動(開始)さ
せている。
In this feedback control system, if the integrated value of the color difference signals for each field is apart from the achromatic state and the state is maintained for a certain period of time, the white balance of the entire screen is maintained. Is determined to have collapsed, it is determined that it is necessary to start the gain operation of the white balance amplifier, and the gain operation control is restarted (started).

【0006】また、一般的な被写体を撮像した場合、画
面全体にさまざまな色成分が無作為に存在するため、画
面全体の色成分を全て積分すると、色信号(たとえば
R,G,B)の各要素がほぼ等しく抽出される、あるい
は色差成分の積分値がゼロになるであろうことを考慮
し、これを制御の目標、すなわち無彩色に近づけるべく
ホワイトバランスアンプのゲイン操作を実施している。
Further, when a general subject is imaged, various color components are randomly present on the entire screen. Therefore, if all the color components of the entire screen are integrated, color signals (for example, R, G, B) Considering that each element will be extracted approximately equally, or the integrated value of the color difference component will be zero, the gain operation of the white balance amplifier is performed to bring it closer to the control target, that is, an achromatic color. .

【0007】[0007]

【発明が解決しようとする課題】しかしながら、たとえ
ば黒体放射カーブに近い色を持つ被写体の撮像画面に占
める割合が高くなった場合には、実際は被写体が変化し
たのであって、ホワイトバランスが変化していないのに
も関わらず、被写体周辺の光源つまり色温度が変化した
と判断することが起こり得る。
However, for example, when the ratio of the object having a color close to the black body radiation curve to the image pickup screen becomes high, the object actually changes, and the white balance changes. It is possible that it is determined that the light source around the subject, that is, the color temperature has changed, even though it is not.

【0008】この場合、被写体本来の色であるにも関わ
らず、それが光源による色温度の影響を受けた色だと判
断することになり、その色を無彩色に近づける方向にホ
ワイトバランスアンプのゲインが即座に操作されること
が起こり得、出力された画像データにユーザが違和感を
憶えることが起こり得る。
In this case, even though the color is the original color of the subject, it is determined that the color is influenced by the color temperature of the light source, and the color of the white balance amplifier is moved toward the achromatic color. The gain may be operated immediately, and the user may feel discomfort in the output image data.

【0009】また、一旦ホワイトバランスがとれた状態
で、たとえば撮像画面の一部に新たな被写体が入ったな
ど撮像画面の一部分に変化が生じた場合には、ホワイト
バランス制御に用いるデータは画面全体の積分値なの
で、その被写体が濃い色を持っていても、全体の積分値
の中に平均化されてしまう。そして、画面全体が薄い色
でホワイトバランスが崩れたと判定し、ホワイトバラン
ス制御が即座に実行され、この場合にも、出力された画
像データにユーザが違和感を憶えることが起こり得る。
Further, when a part of the image pickup screen is changed, for example, when a new subject enters a part of the image pickup screen once the white balance is obtained, the data used for the white balance control is the entire screen. Since it is the integral value of, even if the subject has a dark color, it will be averaged into the overall integral value. Then, it is determined that the entire screen is light-colored and the white balance is lost, and the white balance control is immediately executed. In this case as well, the user may feel discomfort in the output image data.

【0010】他方、たとえば画面全体に赤っぽい光が入
ってきた場合など、光源色が大きく変化した場合に、オ
ートホワイトバランス機能によって、その色が完全に無
彩色となる方向に即時にホワイトバランスアンプのゲイ
ンを操作すると、却ってユーザに違和感を与えることも
ある。これは、人間の色彩に対する順応(色彩に対する
記憶)によるものであると考えられる。
On the other hand, when the light source color changes greatly, for example, when reddish light enters the entire screen, the automatic white balance function immediately provides white balance in the direction in which the color becomes completely achromatic. When the gain of the amplifier is operated, the user may feel a sense of discomfort. This is considered to be due to human adaptation to color (memory for color).

【0011】このように、従来のオートホワイトバラン
ス機能では、依然として、被写体変化や光源色変化に過
度に追従する現象が生じてしまい、ユーザにとって違和
感を与えてしまう不都合がある。
As described above, the conventional auto white balance function still has a problem that the phenomenon of excessively following the change of the subject and the change of the light source color occurs, which gives a feeling of strangeness to the user.

【0012】本発明は、上記事情に鑑みてなされたもの
であり、撮像デバイスを用いて得た撮像信号に対する色
信号処理において、被写体変化や光源色変化に過度に追
従することなく、オートホワイトバランス機能を実現す
ることができる方法を提供することを目的とする。
The present invention has been made in view of the above circumstances, and in color signal processing for an image pickup signal obtained by using an image pickup device, an automatic white balance is performed without excessively following a subject change or a light source color change. It is an object to provide a method capable of realizing a function.

【0013】また本発明は、このような色信号処理方法
を適用した色信号処理回路、あるいはこの色信号処理回
路を搭載した撮像装置を提供することを目的とする。
Another object of the present invention is to provide a color signal processing circuit to which such a color signal processing method is applied, or an image pickup apparatus equipped with this color signal processing circuit.

【0014】さらに本発明は、前記色信号処理方法をマ
イクロプロセッサなどのコンピュータにより実施するた
めのプログラム、およびこのプログラムを格納したコン
ピュータ読取り可能な記録媒体を提供することを目的と
する。
A further object of the present invention is to provide a program for implementing the color signal processing method by a computer such as a microprocessor, and a computer-readable recording medium storing this program.

【0015】[0015]

【課題を解決するための手段】すなわち、本発明に係る
第1の色信号処理方法は、撮像素子からの撮像信号に基
づいて取得した複数の色信号のうちの少なくとも1つの
色信号に対してゲイン調整を行なうことにより、ホワイ
トバランスをとる色信号処理方法であって、先ず、ゲイ
ン調整された色信号に基づいて生成された複数の色差信
号に対応する色差軸で示された色差空間上の実質的な白
色基準点を取り囲む(内包する)ように、ホワイトバラ
ンスをとるためにゲイン調整を再起動させる基準値を示
す再起動領域を設定する。
That is, a first color signal processing method according to the present invention relates to at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device. A color signal processing method for achieving white balance by performing gain adjustment. First, in a color difference space indicated by a color difference axis corresponding to a plurality of color difference signals generated based on gain adjusted color signals. A restart area indicating a reference value for restarting the gain adjustment for white balance is set so as to surround (include) a substantially white reference point.

【0016】そして、複数の色差信号のそれぞれについ
ての所定期間に亘って積分された複数の積分信号に基づ
いて、色差空間上の座標値を求め、この求めた座標値と
設定した再起動領域との位置関係に基づいて、ゲイン調
整を行なうためのゲイン値を制御する。
Then, the coordinate values in the color difference space are calculated based on the plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, and the calculated coordinate values and the set restart area are set. The gain value for adjusting the gain is controlled based on the positional relationship of.

【0017】第1の色信号処理方法においては、色差空
間上の座標値が設定した再起動領域の外部に存在するこ
とを条件として、次に求める座標値が白色基準点の方向
に移動するように、ゲイン調整を行なうためのゲイン値
をその時点におけるゲイン値から変更することが望まし
い。
In the first color signal processing method, the coordinate value to be obtained next is moved in the direction of the white reference point on the condition that the coordinate value in the color difference space exists outside the set restart area. Moreover, it is desirable to change the gain value for performing gain adjustment from the gain value at that time.

【0018】これに対して、本発明に係る第2の色信号
処理方法は、先ず、色差空間上の実質的な白色基準点を
取り囲むように、ホワイトバランスをとるためのゲイン
調整を停止させる基準値を示す停止領域を設定する。そ
して、複数の色差信号のそれぞれについての所定期間に
亘って積分された複数の積分信号に基づいて色差空間上
の座標値を求め、この求めた座標値と設定した停止領域
との位置関係に基づいて、ゲイン調整を行なうためのゲ
イン値を制御する。
On the other hand, in the second color signal processing method according to the present invention, first, the reference for stopping the gain adjustment for the white balance so as to surround the substantially white reference point on the color difference space. Set the stop area that shows the value. Then, the coordinate value on the color difference space is obtained based on the plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, and based on the positional relationship between the obtained coordinate value and the set stop area. Control the gain value for adjusting the gain.

【0019】第2の色信号処理方法においては、色差空
間上の座標値が設定した停止領域の内部に存在すること
を条件として、ゲイン調整を行なうためのゲイン値をそ
の時点におけるゲイン値に維持する、あるいは、通常の
ゲイン調整の繰返しサイクルよりも低速な所定タイミン
グごとに、次に求める座標値が白色基準点の方向に移動
するように、ゲイン調整を行なうためのゲイン値をその
時点におけるゲイン値から逐次変更することが望まし
い。
In the second color signal processing method, the gain value for performing the gain adjustment is maintained at the gain value at that point on the condition that the coordinate value in the color difference space exists inside the set stop area. Alternatively, the gain value for gain adjustment is adjusted so that the coordinate value to be calculated next moves in the direction of the white reference point at each predetermined timing that is slower than the normal gain adjustment cycle. It is desirable to change the value sequentially.

【0020】また本発明に係る色信号処理方法において
は、前述の第1および第2の色信号処理方法を組み合わ
せたものとすれば、より望ましい。この場合、停止領域
を取り囲むように再起動領域を設定する。そして、求め
た座標値と停止領域および再起動領域との位置関係に基
づいて、ゲイン調整を行なうためのゲイン値を制御す
る。
Further, in the color signal processing method according to the present invention, it is more preferable to combine the above-mentioned first and second color signal processing methods. In this case, the restart area is set so as to surround the stop area. Then, the gain value for performing the gain adjustment is controlled based on the obtained positional relationship between the coordinate value and the stop region and the restart region.

【0021】本発明に係る第1の色信号処理回路は、第
1の色信号処理方法を実施する回路であって、色差空間
上の実質的な白色基準点を取り囲むように再起動領域を
設定し、複数の色差信号のそれぞれについての所定期間
に亘って積分された複数の積分信号に基づいて色差空間
上の座標値を求め、この求めた座標値と設定した再起動
領域との位置関係に基づいて、ゲイン調整を行なうため
のゲイン値を制御するホワイトバランスコントローラを
備えた。
A first color signal processing circuit according to the present invention is a circuit for implementing the first color signal processing method, wherein a restart area is set so as to surround a substantially white reference point on a color difference space. Then, the coordinate value on the color difference space is obtained based on the plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, and the positional relationship between the obtained coordinate value and the restart area is set. Based on this, a white balance controller for controlling a gain value for adjusting the gain is provided.

【0022】本発明に係る第2の色信号処理回路は、第
2の色信号処理方法を実施する回路であって、色差空間
上の実質的な白色基準点を取り囲むように停止領域を設
定し、複数の色差信号のそれぞれについての所定期間に
亘って積分された複数の積分信号に基づいて色差空間上
の座標値を求め、この求めた座標値と停止領域との位置
関係に基づいて、ゲイン調整を行なうためのゲイン値を
制御するホワイトバランスコントローラを備えた。
A second color signal processing circuit according to the present invention is a circuit for implementing the second color signal processing method, wherein a stop area is set so as to surround a substantially white reference point on the color difference space. , A coordinate value in the color difference space is calculated based on the plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, and the gain is calculated based on the positional relationship between the calculated coordinate value and the stop area. It was equipped with a white balance controller that controls the gain value for adjustment.

【0023】本発明に係る第3の色信号処理回路は、第
1の色信号処理回路の構成に加えて、色信号のゲイン調
整を行なうゲイン調整アンプ部と、ゲイン調整アンプ部
によりゲイン調整された色信号に基づいて、複数の色差
信号のそれぞれについての所定期間に亘って積分された
複数の積分信号を取得する積分処理部とを備えた。ま
た、ホワイトバランスコントローラの具体的な構成とし
て、色差空間上の実質的な白色基準点を取り囲むように
再起動領域を設定する再起動領域設定部と、積分処理部
により生成された複数の積分信号に基づいて色差空間上
の座標値を求め、この座標値と再起動領域設定部により
設定された再起動領域との位置関係に基づいて、ゲイン
調整アンプ部に設定するためのゲイン値を制御するゲイ
ン制御部とを備えた。
In addition to the configuration of the first color signal processing circuit, a third color signal processing circuit according to the present invention has a gain adjustment amplifier section for performing gain adjustment of color signals, and a gain adjustment by the gain adjustment amplifier section. And an integration processing unit that acquires a plurality of integrated signals for each of the plurality of color difference signals over a predetermined period based on the color signals. Further, as a specific configuration of the white balance controller, a restart area setting unit that sets a restart area so as to surround a substantial white reference point on the color difference space, and a plurality of integrated signals generated by the integration processing unit. The coordinate value in the color difference space is calculated based on the above, and the gain value to be set in the gain adjustment amplifier unit is controlled based on the positional relationship between this coordinate value and the restart area set by the restart area setting unit. And a gain control section.

【0024】本発明に係る第4の色信号処理回路は、第
2の色信号処理回路の構成に加えて、色信号のゲイン調
整を行なうゲイン調整アンプ部と、ゲイン調整アンプ部
によりゲイン調整された色信号に基づいて、複数の色差
信号のそれぞれについての所定期間に亘って積分された
複数の積分信号を取得する積分処理部とを備えた。ま
た、ホワイトバランスコントローラの具体的な構成とし
て、色差空間上の実質的な白色基準点を取り囲むよう
に、停止領域を設定する停止領域設定部と、積分処理部
により生成された複数の積分信号に基づいて色差空間上
の座標値を求め、この座標値と停止領域設定部により設
定された停止領域との位置関係に基づいて、ゲイン調整
アンプ部に設定するためのゲイン値を制御するゲイン制
御部とを備えた。
The fourth color signal processing circuit according to the present invention has, in addition to the configuration of the second color signal processing circuit, a gain adjustment amplifier section for performing gain adjustment of a color signal and a gain adjustment by the gain adjustment amplifier section. And an integration processing unit that acquires a plurality of integrated signals for each of the plurality of color difference signals over a predetermined period based on the color signals. In addition, as a specific configuration of the white balance controller, a stop region setting unit that sets a stop region so as to surround a substantially white reference point on the color difference space, and a plurality of integrated signals generated by the integration processing unit. A gain control unit that determines a coordinate value in the color difference space based on the coordinate value and controls the gain value to be set in the gain adjustment amplifier unit based on the positional relationship between the coordinate value and the stop region set by the stop region setting unit. Equipped with.

【0025】本発明に係る色信号処理回路においては、
本発明に係る色信号処理方法と同じように、第1および
第2の色信号処理回路を組み合わせた構成、あるいは、
第3および第4の色信号処理回路を組み合わせた構成と
すれば、より望ましい。
In the color signal processing circuit according to the present invention,
As in the color signal processing method according to the present invention, a configuration in which first and second color signal processing circuits are combined, or
It is more desirable to have a configuration in which the third and fourth color signal processing circuits are combined.

【0026】本発明に係る色信号処理方法や色信号処理
回路においては、複数の色信号として、R(赤),G
(緑),B(青)の原色信号を使用するのが望ましい。
このため、色信号処理回路においては、撮像信号から
R,G,Bの原色信号を分離する原色分離部を備えたも
のとすることが望ましい。
In the color signal processing method and the color signal processing circuit according to the present invention, the plurality of color signals are R (red) and G.
It is desirable to use (green) and B (blue) primary color signals.
For this reason, it is desirable that the color signal processing circuit includes a primary color separation unit that separates the R, G, and B primary color signals from the image pickup signal.

【0027】さらに本発明に係る色信号処理方法や色信
号処理回路においては、複数の色差信号に対応する色差
軸として、R原色信号からG原色信号を差し引いた成分
であるR−G信号に相当する色差軸と、R原色信号にB
原色信号を加算した成分からG原色信号の2倍の成分を
差し引いた成分であるR+B−2G信号に相当する色差
軸とを用いることが望ましい。
Further, in the color signal processing method and the color signal processing circuit according to the present invention, the color difference axis corresponding to the plurality of color difference signals corresponds to the R-G signal which is a component obtained by subtracting the G primary color signal from the R primary color signal. Color difference axis and B for the R primary color signal
It is desirable to use a color difference axis corresponding to the R + B-2G signal, which is a component obtained by subtracting twice the component of the G primary color signal from the component of the primary color signal.

【0028】本発明に係る撮像装置は、本発明に係る第
1から第4のうちの何れかの色信号処理回路に加えて、
撮像結果に応じた撮像信号を出力する撮像素子を備えた
ものである。
In addition to the color signal processing circuit according to any one of the first to fourth aspects of the present invention,
The image pickup device outputs an image pickup signal according to an image pickup result.

【0029】また本発明に係るプログラムは、本発明に
係る色信号処理回路を、電子計算機(コンピュータ)を
用いてソフトウェアで実現するために好適なものであ
る。なお、プログラムは、コンピュータ読取り可能な記
憶媒体に格納されて提供されてもよいし、有線あるいは
無線による通信手段を介して配信されてもよい。
The program according to the present invention is suitable for realizing the color signal processing circuit according to the present invention by software using an electronic computer (computer). The program may be provided by being stored in a computer-readable storage medium, or may be distributed via wired or wireless communication means.

【0030】[0030]

【作用】上記本発明に係る第1の色信号処理方法、第1
または第3の色信号処理回路、あるいはこの色信号処理
回路を具備した撮像装置においては、先ず、所定の色差
軸で表された色差空間上に、白色基準点(座標原点)を
内包するように、ホワイトバランスをとるためにゲイン
調整を再起動させる基準値を示す再起動領域を設定す
る。
The first color signal processing method according to the present invention, the first
Alternatively, in the third color signal processing circuit or the image pickup apparatus including this color signal processing circuit, first, a white reference point (coordinate origin) is included in the color difference space represented by a predetermined color difference axis. , Set a restart area indicating a reference value for restarting the gain adjustment for white balance.

【0031】次に、色差信号の積分値に基づいて評価値
としての座標値を求め、この座標値と再起動領域との位
置関係に基づいてゲイン値を制御する。たとえば、ホワ
イトバランスが取られた後の座標値が再起動領域の外部
に存在するときに限って、次に求める座標値が白色基準
点の方向に移動するようにホワイトバランスゲイン値を
逐次変更する、つまりフィードバック制御によりホワイ
トバランスをとる。
Next, a coordinate value as an evaluation value is obtained based on the integrated value of the color difference signals, and the gain value is controlled based on the positional relationship between this coordinate value and the restart area. For example, only when the coordinate value after the white balance is taken is outside the restart area, the white balance gain value is sequentially changed so that the coordinate value to be obtained next moves toward the white reference point. That is, white balance is achieved by feedback control.

【0032】一方、本発明に係る第2の色信号処理方
法、第2または第4の色信号処理回路、あるいはこの色
信号処理回路を具備した撮像装置においては、先ず、所
定の色差信号軸で表された色差空間上に、白色基準点
(座標原点)を内包するように、ホワイトバランスをと
るためのゲイン調整を停止させる基準値を示す停止領域
を設定する。なお、第1の色信号処理方法と組み合わせ
る場合には、停止領域を内包するように、再起動領域を
設定する。
On the other hand, in the second color signal processing method, the second or fourth color signal processing circuit according to the present invention, or the image pickup apparatus equipped with this color signal processing circuit, first, a predetermined color difference signal axis is used. In the represented color difference space, a stop area indicating a reference value for stopping the gain adjustment for taking the white balance is set so as to include the white reference point (coordinate origin). In addition, when combined with the first color signal processing method, the restart area is set so as to include the stop area.

【0033】次に、色差信号の積分値に基づいて評価値
としての座標値を求め、この座標値と停止領域との位置
関係に基づいてゲイン値を制御する。たとえば、フィー
ドバック制御によりホワイトバランスをとっている過程
において、求めた座標値が停止領域の内部に存在するに
至ったときには、ホワイトバランスゲイン値をその時点
におけるゲイン値に維持する、つまり、ゲイン変更を停
止させる。あるいは、通常のゲイン調整の繰返しサイク
ルよりも低速な所定タイミングごとに、次に求める座標
値が白色基準点の方向に移動するようにホワイトバラン
スゲイン値を逐次変更する、つまり、通常よりもゆっく
りとした応答速度のフィードバック制御によりホワイト
バランスをとる。
Next, a coordinate value as an evaluation value is obtained based on the integrated value of the color difference signals, and the gain value is controlled based on the positional relationship between this coordinate value and the stop area. For example, in the process of taking the white balance by the feedback control, when the obtained coordinate value reaches the inside of the stop area, the white balance gain value is maintained at the gain value at that time, that is, the gain change is performed. Stop. Alternatively, the white balance gain value is sequentially changed so that the coordinate value to be calculated next moves in the direction of the white reference point at each predetermined timing that is slower than the repeated cycle of normal gain adjustment, that is, slower than usual. White balance is achieved by feedback control of the response speed.

【0034】[0034]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below in detail with reference to the drawings.

【0035】図1は、本発明に係る撮像装置の第1実施
形態を示すブロック図である。第1実施形態の撮像装置
10は、レンズ11と、撮像素子12と、プリアンプ1
3と、A/D変換部14と、オプティカルディテクタ1
60およびホワイトバランスコントローラ170を有す
るデジタル信号処理部15とを備えた構成となってい
る。
FIG. 1 is a block diagram showing a first embodiment of an image pickup apparatus according to the present invention. The image pickup apparatus 10 according to the first embodiment includes a lens 11, an image pickup element 12, and a preamplifier 1.
3, an A / D converter 14, and an optical detector 1
60 and a digital signal processing unit 15 having a white balance controller 170.

【0036】デジタル信号処理部15は、本発明に係る
色信号処理回路の一例であり、オプティカルディテクタ
160は、本発明に係る積分処理部の一例である。な
お、オプティカルディテクタ160およびホワイトバラ
ンスコントローラ170は、デジタル信号処理部15外
に設けられたものであってもよい。
The digital signal processing unit 15 is an example of a color signal processing circuit according to the present invention, and the optical detector 160 is an example of an integration processing unit according to the present invention. The optical detector 160 and the white balance controller 170 may be provided outside the digital signal processing unit 15.

【0037】上記構成の撮像装置10において、レンズ
11は、図示しない被写体の画像を撮像素子12の撮像
面上に結像させる。撮像素子12としては、CCD撮像
素子やCMOS型撮像素子などの固体撮像素子が用いら
れる。この撮像素子12は、その撮像面上に結像された
画像を画素単位で電気信号に変換し、撮像信号としてプ
リアンプ13に供給する。
In the image pickup apparatus 10 having the above structure, the lens 11 forms an image of a subject (not shown) on the image pickup surface of the image pickup element 12. As the image sensor 12, a solid-state image sensor such as a CCD image sensor or a CMOS image sensor is used. The image pickup device 12 converts the image formed on the image pickup surface into an electric signal pixel by pixel and supplies the electric signal to the preamplifier 13 as an image pickup signal.

【0038】プリアンプ13は、撮像素子12から出力
される撮像信号をサンプルホールドして必要なデータを
取り出すとともに、適正なレベルに合わせるためにゲイ
ンコントロールを行なう。このプリアンプ13の出力信
号は、A/D変換部14に供給される。A/D変換部1
4は、プリアンプ13の出力信号をアナログ信号からデ
ィジタル信号に変換してデジタル信号処理部15に供給
する。
The preamplifier 13 samples and holds the image pickup signal output from the image pickup device 12 to take out necessary data, and also performs gain control in order to adjust to an appropriate level. The output signal of the preamplifier 13 is supplied to the A / D conversion unit 14. A / D converter 1
Reference numeral 4 converts the output signal of the preamplifier 13 from an analog signal to a digital signal and supplies it to the digital signal processing unit 15.

【0039】デジタル信号処理部15は、原色分離部1
51、ホワイトバランスアンプ152R,152G,1
52B、ガンマ補正部153、色差マトリクス回路15
4、エンコーダ部155、およびD/Aコンバータ15
6を有する。A/D変換部14をデジタル信号処理部1
5内に設ける構成を採ることもでき、またD/Aコンバ
ータ156をデジタル信号処理部15外に設ける構成を
採ることもできる。
The digital signal processing section 15 includes a primary color separation section 1
51, white balance amplifiers 152R, 152G, 1
52B, gamma correction unit 153, color difference matrix circuit 15
4, encoder section 155, and D / A converter 15
Have six. The A / D converter 14 is replaced by the digital signal processor 1
It is also possible to adopt a configuration in which the D / A converter 156 is provided inside the digital signal processing unit 15.

【0040】デジタル信号処理部15において、原色分
離部151は、A/D変換部14から供給されるデジタ
ル画像信号をR(赤),G(緑),B(青)の原色信号
であるR信号Sr1,G信号Sg1,B信号Sb1に分
離し、これらをホワイトバランス(WB)アンプ152
R,152G,152Bに供給する。R(赤)用のホワ
イトバランスアンプ152Rは、ホワイトバランスコン
トローラ170から供給されるRゲイン信号Sr2に基
づき、原色分離部151から供給されるR信号Sr1の
ゲインを調整し、R信号Sr3としてガンマ補正部15
3に供給する。
In the digital signal processing section 15, the primary color separation section 151 converts the digital image signal supplied from the A / D conversion section 14 into R (red), G (green) and B (blue) primary color signals. The signal Sr1, the G signal Sg1, and the B signal Sb1 are separated, and these are separated by a white balance (WB) amplifier 152.
Supply to R, 152G, 152B. The white balance amplifier 152R for R (red) adjusts the gain of the R signal Sr1 supplied from the primary color separation unit 151 based on the R gain signal Sr2 supplied from the white balance controller 170, and performs gamma correction as the R signal Sr3. Part 15
Supply to 3.

【0041】同様にして、G(緑)用のホワイトバラン
スアンプ152Gは、ホワイトバランスコントローラ1
70から供給されるGゲイン信号Sg2に基づき、原色
分離部151から供給されるG信号Sg1のゲインを調
整し、G信号Sg3としてガンマ補正部153に供給す
る。B(青)用のホワイトバランスアンプ152Bは、
ホワイトバランスコントローラ170から供給されるB
ゲイン信号Sb2に基づき、原色分離部151から供給
されるB信号Sb1のゲインを調整し、B信号Sb3と
してガンマ補正部153に供給する。
Similarly, the white balance amplifier 152G for G (green) is the white balance controller 1
Based on the G gain signal Sg2 supplied from 70, the gain of the G signal Sg1 supplied from the primary color separation unit 151 is adjusted and supplied to the gamma correction unit 153 as a G signal Sg3. The white balance amplifier 152B for B (blue) is
B supplied from the white balance controller 170
Based on the gain signal Sb2, the gain of the B signal Sb1 supplied from the primary color separation unit 151 is adjusted and supplied to the gamma correction unit 153 as the B signal Sb3.

【0042】ガンマ補正部153は、R信号Sr3,G
信号Sg3,B信号Sb3に基づいて、忠実な色再現の
ためのガンマ(γ)補正を行ない、ガンマ(γ)補正さ
れた各色用の出力信号R,G,Bを色差マトリクス回路
154に入力する。色差マトリクス回路154は、色差
マトリクス処理を行なって得た色差信号R−Y,B−Y
をエンコーダ部155に入力する。
The gamma correction unit 153 uses the R signals Sr3, G
Gamma (γ) correction for faithful color reproduction is performed based on the signals Sg3 and B signals Sb3, and the gamma (γ) corrected output signals R, G, and B for each color are input to the color difference matrix circuit 154. . The color difference matrix circuit 154 performs color difference matrix processing to obtain color difference signals RY and BY.
Is input to the encoder unit 155.

【0043】エンコーダ部155は、色信号副搬送波に
対応するデジタル信号で色差信号R−Y,B−Yをデジ
タル変調した後、図示しない輝度信号生成部にて生成さ
れた輝度信号Yと合成して、デジタル映像信号VD(=
Y+S+C;Sは同期信号、Cはクロマ信号)に変換し
た後、D/Aコンバータ156に入力する。D/Aコン
バータ156は、デジタル映像信号VDをアナログ映像
信号Vに変換する。
The encoder section 155 digitally modulates the color difference signals RY and BY with a digital signal corresponding to the color signal subcarrier, and then synthesizes the color difference signals RY and BY with the brightness signal Y generated by a brightness signal generation section (not shown). Digital video signal VD (=
Y + S + C; S is a synchronizing signal, C is a chroma signal, and is input to the D / A converter 156. The D / A converter 156 converts the digital video signal VD into the analog video signal V.

【0044】また、ホワイトバランスアンプ152R,
152G,152Bは、R信号Sr3,G信号Sg3,
B信号Sb3を、オプティカルディテクタ160にも供
給する。
In addition, the white balance amplifier 152R,
152G and 152B are R signal Sr3, G signal Sg3,
The B signal Sb3 is also supplied to the optical detector 160.

【0045】図2は、オプティカルディテクタ160お
よびホワイトバランスコントローラ170の一例を説明
する図であって、図2(A)は第1の構成例を示す機能
ブロック図、図2(B)は第1の構成例における作用を
説明する図、図2(C)は第2の構成例を示す機能ブロ
ック図である。
2A and 2B are views for explaining an example of the optical detector 160 and the white balance controller 170. FIG. 2A is a functional block diagram showing a first configuration example, and FIG. 2B is a first block diagram. FIG. 2C is a functional block diagram illustrating the operation of the second configuration example, and FIG. 2C is a functional block diagram illustrating the second configuration example.

【0046】図2(A)に示すように、第1構成例のオ
プティカルディテクタ160は、色信号Sr3から色信
号Sg3を減算し色差信号(R−G)aを出力する減算
器161aと、色信号Sb3から色信号Sg3を減算し
色差信号(B−G)aを出力する減算器161bとを有
する。
As shown in FIG. 2A, the optical detector 160 of the first configuration example has a subtractor 161a for subtracting the color signal Sg3 from the color signal Sr3 and outputting a color difference signal (RG) a, and a subtractor 161a. And a subtractor 161b that subtracts the color signal Sg3 from the signal Sb3 and outputs a color difference signal (BG) a.

【0047】またオプティカルディテクタ160は、減
算器161aの出力信号である色差信号(R−G)aを
フィールドごとに積分する積分回路163aと、減算器
161bの出力信号である色差信号(B−G)aをフィ
ールドごとに積分する積分回路163bと有する。色差
信号(R−G)a,(B−G)aは、オプティカルディ
テクタ値の他の一例である。
The optical detector 160 includes an integrating circuit 163a for integrating the color difference signal (RG) a, which is the output signal of the subtractor 161a, for each field, and the color difference signal (BG, which is the output signal of the subtractor 161b. ) A has an integrating circuit 163 b for integrating each field. The color difference signals (R−G) a and (B−G) a are other examples of optical detector values.

【0048】積分回路163a,163bは、図2
(B)に示すように、輝度レベルに基づく積分スライス
レベルによって高輝度部と通常輝度部とに分けられた異
なる積分範囲を持ち、高輝度部では積分スライスレベル
よりも高輝度部分の色差データ(R−G)a,(B−
G)aのみを積分し、通常輝度部では積分スライスレベ
ルよりも低輝度部分の色差データ(R−G)a,(B−
G)aのみを積分する。
The integrating circuits 163a and 163b are shown in FIG.
As shown in (B), there is a different integration range divided into a high-luminance portion and a normal-luminance portion according to the integration slice level based on the luminance level, and in the high-luminance portion, the color difference data ( RG) a, (B-
G) a only is integrated, and in the normal luminance part, the color difference data (RG) a, (B-
G) Integrate only a.

【0049】ただし、輝度が極端に高い場合は飽和して
いるものと判断し、高輝度リミッタレベル以上のデータ
については積分しない。また、輝度が低すぎるデータは
ノイズとみなし、低輝度リミッタレベル以下のデータに
ついても積分しない。また、オプティカルディテクタ1
60は、特殊な条件(たとえば、全面単色などの条件)
の場合や、積分値が低すぎるあるいは高すぎる場合に、
ホワイトバランス処理が誤動作しないように、様々なリ
ミッタや特殊な処理を施す。
However, when the brightness is extremely high, it is determined that the brightness is saturated, and the data above the high brightness limiter level is not integrated. In addition, data whose brightness is too low is regarded as noise, and data below the low brightness limiter level is not integrated. In addition, the optical detector 1
60 is a special condition (for example, a condition of full-color single color)
, Or if the integrated value is too low or too high,
Various limiters and special processing are applied to prevent the white balance processing from malfunctioning.

【0050】積分回路163aは、フィールドごとに高
輝度部/通常輝度部の異なる積分範囲で積分して得られ
た積分値データ(R−G)b,(R−G)c(bが高輝
度部側)を次段のホワイトバランスコントローラ170
に供給する。同様に、積分回路163bは、フィールド
ごとに高輝度部/通常輝度部の異なる積分範囲で積分し
て得られた積分値データ(B−G)b,(B−G)c
(bが高輝度部側)を次段のホワイトバランスコントロ
ーラ170に供給する。
The integrating circuit 163a integrates the integrated value data (R-G) b and (R-G) c (b having high brightness in the high brightness part / normal brightness part in different integration ranges for each field). Side) to the next white balance controller 170
Supply to. Similarly, the integration circuit 163b integrates the integrated value data (B-G) b and (B-G) c obtained by integrating in different integration ranges of the high brightness part / normal brightness part for each field.
(B is on the high brightness portion side) is supplied to the white balance controller 170 at the next stage.

【0051】第1構成例のホワイトバランスコントロー
ラ170は、オプティカルディテクタ160から供給さ
れる高輝度部の積分値データ(R−G)b,(B−G)
bと、通常輝度部の積分値データ(R−G)c,(R−
G)cとを比較し、“0;ゼロ”に近い方の積分値デー
タを出力する比較回路171を有する。
The white balance controller 170 of the first configuration example has integrated value data (R-G) b, (B-G) of the high-luminance portion supplied from the optical detector 160.
b and the integrated value data (R-G) c, (R-
G) It has a comparison circuit 171 which compares with c and outputs the integrated value data closer to “0; zero”.

【0052】また、第1構成例のホワイトバランスコン
トローラ170は、比較回路171で選択されたR−G
の積分値データ(R−G)dとB−Gの積分値データ
(B−G)dとを加算してR+B−2Gのデータを生成
する加算器173aと、比較回路171で選択されたR
−Gの積分値データ(R−G)dからB−Gの積分値デ
ータ(B−G)dを減算してR−Bのデータを生成する
減算器173bとを有する。
The white balance controller 170 of the first configuration example has the RG selected by the comparison circuit 171.
Adder 173a that adds the integrated value data (R−G) d and the integrated value data (B−G) d of B−G to generate the data of R + B−2G, and the R selected by the comparison circuit 171.
A subtractor 173b for generating RB data by subtracting BG integrated value data (BG) d from -G integrated value data (RG) d.

【0053】さらにホワイトバランスコントローラ17
0は、加算器173aから出力されたR+B−2Gのデ
ータ、減算器173bから出力されたR−Bのデータ、
およびオプティカルディテクタ160の積分回路163
Gから出力された積分信号Sg5(=G)に基づいて、
Rゲイン信号Sr2,Gゲイン信号Sg2,Bゲイン信
号Sb2を生成するゲイン設定部175を有する。
Further, the white balance controller 17
0 is the data of R + B-2G output from the adder 173a, the data of RB output from the subtractor 173b,
And the integrating circuit 163 of the optical detector 160
Based on the integrated signal Sg5 (= G) output from G,
It has a gain setting unit 175 that generates an R gain signal Sr2, a G gain signal Sg2, and a B gain signal Sb2.

【0054】一方、図2(C)に示すように、第2構成
例のオプティカルディテクタ160は、R,G,Bの各
色に用意された積分回路163R,163G,163B
を有している。各積分回路163R,163G,163
Bは、入力されたR信号Sr3,G信号Sg3,B信号
Sb3をフィールドごとに積分して、オプティカルディ
テクタ値の一例である積分信号Sr5,Sg5,Sb5
をホワイトバランスコントローラ170に入力する。
On the other hand, as shown in FIG. 2C, the optical detector 160 of the second configuration example has integration circuits 163R, 163G, 163B prepared for R, G, B colors.
have. Each integrating circuit 163R, 163G, 163
B integrates the input R signal Sr3, G signal Sg3, and B signal Sb3 for each field, and integrates signals Sr5, Sg5, Sb5, which are examples of optical detector values.
Is input to the white balance controller 170.

【0055】なお、積分回路163R,163G,16
3Bは、第1例の積分回路163a,163bと同様
に、輝度レベルに基づく積分スライスレベルによって高
輝度部と通常輝度部とに分けられた異なる積分範囲を持
ち、高輝度部では積分スライスレベルよりも高輝度部分
のデータR,G,Bのみを積分し、通常輝度部では積分
スライスレベルよりも低輝度部分のデータR,G,Bの
みを積分するようにしてもよい。この場合、さらに、高
輝度リミッタ以上のデータや、低輝度リミッタ以下のデ
ータについては積分しないようにしてもよい。
The integrating circuits 163R, 163G, 16
Similar to the integrating circuits 163a and 163b of the first example, 3B has different integration ranges divided into a high-luminance portion and a normal-luminance portion according to the integral slice level based on the luminance level, and in the high-luminance portion, 3B is higher than the integral slice level. It is also possible to integrate only the data R, G, B of the high-luminance part and integrate only the data R, G, B of the low-luminance part below the integration slice level in the normal brightness part. In this case, it is also possible not to integrate the data above the high brightness limiter and the data below the low brightness limiter.

【0056】また第2構成例のオプティカルディテクタ
160は、積分回路163Rからの積分信号Sr5より
積分回路163Gからの積分信号Sg5を減算し色差信
号R−Gを出力する減算器165aと、積分回路163
Bからの積分信号Sb5より積分回路163Gからの積
分信号Sg5を減算し色差信号B−Gを出力する減算器
165bとを有する。
The optical detector 160 of the second configuration example has a subtracter 165a for subtracting the integrated signal Sg5 from the integrating circuit 163G from the integrated signal Sr5 from the integrating circuit 163R and outputting a color difference signal RG, and an integrating circuit 163.
A subtractor 165b that subtracts the integrated signal Sg5 from the integration circuit 163G from the integrated signal Sb5 from B to output the color difference signal BG.

【0057】また第2構成例のホワイトバランスコント
ローラ170は、減算器165aからの色差信号R−G
と減算器165bからの色差信号B−Gとを加算してR
+B−2Gのデータを生成する加算器173aと、減算
器165aからの色差信号R−Gより減算器165bか
らの色差信号B−Gを減算してR−Bのデータを生成す
る減算器173bとを有する。
The white balance controller 170 of the second configuration example has the color difference signal R-G from the subtractor 165a.
And the color difference signal BG from the subtractor 165b are added to obtain R
An adder 173a that generates + B-2G data, and a subtracter 173b that subtracts the color difference signal BG from the subtractor 165b from the color difference signal RG from the subtractor 165a to generate RB data. Have.

【0058】さらにホワイトバランスコントローラ17
0は、加算器173aから出力されたR+B−2Gのデ
ータ、減算器173bから出力されたR−Bのデータ、
およびオプティカルディテクタ160の積分回路163
Gから出力された積分信号Sg5(=G)に基づいて、
Rゲイン信号Sr2,Gゲイン信号Sg2,Bゲイン信
号Sb2を生成するゲイン設定部175を有する。
Further, the white balance controller 17
0 is the data of R + B-2G output from the adder 173a, the data of RB output from the subtractor 173b,
And the integrating circuit 163 of the optical detector 160
Based on the integrated signal Sg5 (= G) output from G,
It has a gain setting unit 175 that generates an R gain signal Sr2, a G gain signal Sg2, and a B gain signal Sb2.

【0059】図3は、ゲイン設定部175の一例を説明
する図であって、図3(A)は構成例を示す機能ブロッ
ク図、図3(B)はこの構成例における作用を説明する
図である。
FIG. 3 is a diagram for explaining an example of the gain setting section 175, FIG. 3 (A) is a functional block diagram showing a configuration example, and FIG. 3 (B) is a diagram for explaining the operation in this configuration example. Is.

【0060】図3(A)に示すように、ゲイン設定部1
75は、加算器173aから入力されたデータR+B−
2Gを積分回路163Gから入力されたSg5(=G)
で除算することで正規化されたデータ(R+B−2G)
/Gを生成する除算器176aと、減算器173bから
入力されたデータR−Bを積分回路163Gから入力さ
れたSg5(=G)で除算することで正規化されたデー
タ(R−B)/Gを生成する除算器176bとを有す
る。
As shown in FIG. 3A, the gain setting unit 1
75 is the data R + B- input from the adder 173a.
2G is Sg5 (= G) input from the integrating circuit 163G
Data normalized by dividing by (R + B-2G)
The data (R-B) / normalized by dividing the data R-B input from the divider 176a that generates / G and the subtractor 173b by Sg5 (= G) input from the integration circuit 163G. And a divider 176b for generating G.

【0061】またゲイン設定部175は、除算器176
aから出力される正規化データ(R+B−2G)/Gお
よび除算器176bから出力される正規化データ(R−
B)/G(両者を纏めて評価値という)が、図3に示す
座標面上の停止領域内にあるのかを判定するための機能
部分としての停止領域判定部177a、停止領域〜再起
動領域内にあるのかそれとも再起動領域〜引込制限枠内
にあるのかを判定するための機能部分としての再起動領
域判定部177b、およびゲイン設定部175における
判定処理に使用される種々の領域情報を設定する領域設
定部178を有する。
The gain setting section 175 also includes a divider 176.
The normalized data (R + B-2G) / G output from a and the normalized data (R- output from the divider 176b).
B) / G (both of which are collectively referred to as an evaluation value) is a stop portion determination unit 177a as a functional portion for determining whether or not a stop area on the coordinate plane shown in FIG. Inside or inside the restart area to the pull-in restriction frame, the restart area determination unit 177b as a functional part for determining whether or not it is set, and various area information used for the determination processing in the gain setting unit 175 are set. The area setting unit 178 is provided.

【0062】領域設定部178は、フラッシュメモリな
どの不揮発性のメモリを備える。また領域設定部178
は、図示しないユーザオペレーション(操作部)を介し
て、ユーザからの指示を受けて、領域情報を切替設定で
きるようにしてもよい。
The area setting section 178 includes a non-volatile memory such as a flash memory. The area setting unit 178
The area information may be switched and set in response to an instruction from the user via a user operation (operation unit) not shown.

【0063】またゲイン設定部175は、正規化された
(R+B−2G)/GおよびデータR−B/Gに基づい
て引込範囲を判定する引込判定部179と、停止領域判
定部177a、再起動領域判定部177b、および引込
判定部179とによる判定結果が所定条件を満たすとき
(後述参照)、Rゲイン信号Sr2、Gゲイン信号Sg
2、Bゲイン信号Sb2を生成し、オートホワイトバラ
ンス制御を稼働させるゲイン制御部180を有する。
Further, the gain setting section 175 has a pull-in determination section 179 for determining the pull-in range based on the normalized (R + B-2G) / G and the data RB / G, a stop area determination section 177a, and a restart. When the determination results by the area determination unit 177b and the pull-in determination unit 179 satisfy the predetermined condition (see later), the R gain signal Sr2 and the G gain signal Sg.
2. It has a gain control unit 180 that generates the B gain signal Sb2 and activates the automatic white balance control.

【0064】引込判定部179は、停止領域判定部17
7aおよび再起動領域判定部177bの前段に配された
構成であってもよい。つまり、ゲイン設定部175は、
評価値が引込制限枠内にあるかを予め判定し、引込制限
枠内にある場合に限って、さらに評価値が、停止領域内
にあるのか、停止領域〜再起動領域内にあるのか、それ
とも再起動領域〜引込制限枠内にあるのかを判定しても
よい。
The attraction determination unit 179 is the stop area determination unit 17
7a and the restart area determination unit 177b may be provided in the preceding stage. That is, the gain setting unit 175
It is determined in advance whether the evaluation value is within the pull-in restriction frame, and only when the evaluation value is within the pull-in restriction frame, the evaluation value is further within the stop region, whether within the stop region to the restart region, or It may be determined whether or not it is within the restart area to the pull-in restriction frame.

【0065】ゲイン制御部180は、Rゲイン信号Sr
2,Gゲイン信号Sg2,Bゲイン信号Sb2を、対応
するホワイトバランスアンプ152R,152G,15
2B(図1を参照)に入力し、Rゲイン信号Sr1,G
ゲイン信号Sg1,Bゲイン信号Sb1の比率が等しく
なるように、各ゲインをフィードバック制御することに
よってホワイトバランスを自動的にとる(合わせる)。
The gain controller 180 controls the R gain signal Sr.
2, G gain signal Sg2, B gain signal Sb2 are converted to corresponding white balance amplifiers 152R, 152G, 15
2B (see FIG. 1) to input the R gain signals Sr1, G
The white balance is automatically adjusted (adjusted) by feedback controlling each gain so that the ratio of the gain signal Sg1 and the B gain signal Sb1 becomes equal.

【0066】このホワイトバランスをとるに際しては、
R−B,R+B−2Gという2軸に基づいて、フィード
バック制御で、ホワイトバランスアンプ152R,15
2G,152Bの各ゲインを操作する。これにより、R
信号Sr1×Rゲイン信号Sr2=G信号Sg1×Gゲ
イン信号Sg2=B信号Sb1×Bゲイン信号Sr2、
なわち、(R信号Sr1×Rゲイン信号Sr2)−(G
信号Sg1×Gゲイン信号Sg2)=(B信号Sb1×
Bゲイン信号Sb2)−(G信号Sg1×Gゲイン信号
Sg2)=0なる関係式が成り立つようになる。
When taking this white balance,
Based on the two axes of RB and R + B-2G, the white balance amplifiers 152R and 15R are controlled by feedback control.
Each gain of 2G and 152B is operated. This gives R
Signal Sr1 × R gain signal Sr2 = G signal Sg1 × G gain signal Sg2 = B signal Sb1 × B gain signal Sr2,
That is, (R signal Sr1 × R gain signal Sr2) − (G
Signal Sg1 × G gain signal Sg2) = (B signal Sb1 ×
The relational expression of B gain signal Sb2) − (G signal Sg1 × G gain signal Sg2) = 0 holds.

【0067】このとき、ホワイトバランスコントローラ
170は、ホワイトバランスを合わせる処理を行なうと
ともに、ホワイトバランスゲインとオプティカルディテ
クタ160からの評価値データに基づいて、ホワイトバ
ランスが合っている状態の色温度とその後どのように変
化したかを判定し、ホワイトバランスをとる範囲を制限
する引込制限枠の大きさを、光源の色温度変化に対応し
て変化させる処理を行なう。
At this time, the white balance controller 170 performs a process for adjusting the white balance, and based on the white balance gain and the evaluation value data from the optical detector 160, the color temperature in the state where the white balance is adjusted and the color temperature after that. In this way, the size of the pull-in limit frame that limits the range of white balance is changed according to the change in the color temperature of the light source.

【0068】減算器173bから出力されたデータR−
Bは、被写体(または、光源)の色温度変化に対して、
白色が変化する軌跡(黒体放射カーブ)に近い。一方、
加算器173aから出力されたデータR+B−2Gは、
被写体が蛍光灯下にある場合(または、光源が蛍光灯の
場合)に、白色が変化する方向である。
The data R- output from the subtractor 173b
B is for the color temperature change of the subject (or light source),
It is close to the locus where the white color changes (blackbody radiation curve). on the other hand,
The data R + B-2G output from the adder 173a is
This is the direction in which the white color changes when the subject is under fluorescent lighting (or when the light source is fluorescent lighting).

【0069】ホワイトバランスコントローラ170は、
R+B−2G,R−Bの各データに基づいて、フィード
バック制御によるオートホワイトバランス処理を行なう
際に、ある色温度(たとえば3200K)下における白
色基準点(座標軸の原点相当)をもとにホワイトバラン
スをとる範囲を制限する引込制限枠を設定し、オプティ
カルディテクタ160からの評価値データ(積分値デー
タ)の基準点(0,0)からの移動量を常時監視すると
ともに、移動後の評価値データが引込制限枠内に存在す
るか否かを判定し(引込判定部179による引込み判
定)、存在する場合には評価値データに応じてR,G,
Bの各ゲインをコントロールする。
The white balance controller 170 is
When performing auto white balance processing by feedback control based on each data of R + B-2G and RB, white balance is performed based on a white reference point (corresponding to the origin of the coordinate axis) under a certain color temperature (for example, 3200K). By setting a pull-in limit frame that limits the range of taking, the movement amount of the evaluation value data (integrated value data) from the optical detector 160 from the reference point (0, 0) is constantly monitored, and the evaluation value data after the movement is set. Is present within the withdrawal restriction frame (withdrawal determination by the withdrawal determination unit 179), and if there is R, G,
Control each gain of B.

【0070】そして、ホワイトバランスを合わせるに
は、先ず、高輝度部、通常輝度部のそれぞれの積分値デ
ータを比較し、色差平面上の原点(R−G=0,B−G
=0,R+B−2G=0)、すなわち“0”に近い方を
採用する。そして、評価値データが(R+B−2G)/
G軸および(R−G)/G軸で表される座標面(図3
(B)参照)上のどの座標位置にあるかを判定し、引込
制限枠外の場合には、ホワイトバランスを合わせる引き
込み操作を行なわない。
In order to adjust the white balance, first, the integrated value data of the high luminance part and the integrated value data of the normal luminance part are compared, and the origins (R−G = 0, B−G) on the color difference plane are compared.
= 0, R + B-2G = 0), that is, the one closer to “0” is adopted. The evaluation value data is (R + B-2G) /
A coordinate plane represented by the G axis and the (RG) / G axis (see FIG.
(See (B)) It is determined which coordinate position is on, and if the coordinate position is outside the pull-in limit frame, the pull-in operation for adjusting the white balance is not performed.

【0071】なお、引込制限枠を設定しているのは、本
来白色でないものまで引き込んでしまうような誤動作を
防ぐためである。すなわち、引込制限枠は、黒体放射カ
ーブ上の色以外(たとえば、黄色、緑色、赤紫色など)
を引き込まないようにするためのものである。
The reason why the pull-in limit frame is set is to prevent a malfunction such as pulling in an object that is not originally white. That is, the pull-in limit frame is not a color on the black body radiation curve (for example, yellow, green, magenta).
It is to prevent you from pulling in.

【0072】一方、引込制限枠内であれば、さらに、正
規化データ(R+B−2G)/Gおよび(R−B)/G
(纏めてオプティカルディテクタ値から求めた評価値と
いう)が、図3(B)に示す座標面上の停止領域内にあ
るのかを停止領域判定部177aが、停止領域〜再起動
領域内にあるのか、それとも再起動領域〜引込制限枠内
にあるのかを再起動領域判定部177bが、それぞれ判
定する。
On the other hand, if it is within the pull-in restriction frame, the normalized data (R + B-2G) / G and (RB) / G are further added.
Whether the (collectively referred to as an evaluation value obtained from the optical detector value) is within the stop area on the coordinate plane shown in FIG. 3B, is the stop area determination unit 177a within the stop area to the restart area? Alternatively, the restart area determining unit 177b determines whether the restart area is within the pull-in restriction frame.

【0073】そして、座標位置(象限または軸上)に応
じて、ホワイトバランスゲインを操作し、評価値を原点
(R−G=0,R+B−2G=0)方向に近付ける。す
なわち、ゲイン設定部175は、停止領域判定部177
aおよび再起動領域判定部177bによる判定結果が所
定条件を満たすとき、オートホワイトバランス制御を稼
働させる。
Then, the white balance gain is operated according to the coordinate position (quadrant or on the axis) to bring the evaluation value closer to the origin (R-G = 0, R + B-2G = 0) direction. That is, the gain setting unit 175 has the stop area determining unit 177.
When the determination result of “a” and the restart region determination unit 177b satisfies the predetermined condition, the automatic white balance control is activated.

【0074】ここで、ホワイトバランスがとれている状
態は、図3(B)の座標原点を含む完全不感帯領域内に
オプティカルディテクタ値から求めた評価値が示され
る。またこの完全不感帯領域とは別に、完全不感帯領域
を内包する形で別の不感帯である停止領域を、さらにこ
の停止領域を内包する形で再起動領域を設けている。
Here, in the state where the white balance is maintained, the evaluation value obtained from the optical detector value is shown in the complete dead zone region including the coordinate origin of FIG. 3 (B). In addition to the complete dead zone area, a stop area, which is another dead zone, is provided so as to include the complete dead zone area, and a restart area is provided so as to include this stop area.

【0075】完全不感帯が設けてあるのは、完全に原点
に収束しない場合の発振防止のためである。つまり、2
つの直交した色差軸(R+B−2G)/Gおよび(R−
B)/Gで表された色差平面上の原点を囲む完全不感帯
内は、実質的にホワイトバランスが完全にとれている領
域である。
The complete dead zone is provided for the purpose of preventing oscillation when the focus does not completely converge on the origin. That is, 2
Two orthogonal color difference axes (R + B-2G) / G and (R-
The inside of the complete dead zone surrounded by the origin on the color difference plane represented by B) / G is a region where the white balance is substantially taken.

【0076】この状態で被写体もしくは光源が変化した
場合、オプティカルディテクタ値から求めた評価値は、
完全不感帯領域から外れ、さらに停止領域を外れるよう
になる。これは撮像画面全体の色信号成分の関係が崩れ
たことを表す。この完全不感帯領域を外れたときに即座
にハワイトバランスが崩れたと判定し、ホワイトバラン
スアンプ152R,152G,152Bのゲイン操作を
再起動させると、ユーザに違和感を与える。
When the object or the light source changes in this state, the evaluation value obtained from the optical detector value is
It comes out of the complete dead zone and further out of the stop zone. This indicates that the relationship of the color signal components of the entire image pickup screen is broken. When it is determined that the Hawaiian balance has been lost immediately when it goes out of the complete dead zone and the gain operation of the white balance amplifiers 152R, 152G, 152B is restarted, the user feels strange.

【0077】そこで、予め定義されたホワイトバランス
制御の終了(収束点)を判断するための基準値を示す停
止領域と、予め定義されたホワイトバランス制御の開始
(再起動)を判断する基準値を示す再起動領域と、所定
の指標値とを比較、判定することにより、ホワイトバラ
ンス制御の開始や終了を制御することとする。具体的に
は、以下の通りである。
Therefore, a stop region indicating a reference value for determining the end (convergence point) of the predefined white balance control and a reference value for determining the start (restart) of the predefined white balance control are set. The start and end of white balance control are controlled by comparing and determining the restart area shown and a predetermined index value. Specifically, it is as follows.

【0078】先ず、一旦ホワイトバランス制御が安定す
る、すなわち、評価値が完全不感帯領域内に位置する状
態となった場合、その状態から評価値が変化し、評価値
が完全不感帯領域外へ変化しても、評価値が再起動領域
内に位置していれば、ホワイトバランス制御を再起動し
ない。この状態からさらにオプティカルディテクタ値が
変化し、評価値が再起動領域外へ位置する状態になった
場合において引込制限枠内にあれば、ホワイトバランス
制御を実施、すなわちホワイトバランスアンプ152
R,152G,152Bのゲイン操作を再起動して、評
価値が原点方向に収束するようにフィードバック制御を
実施する。つまり、前述のように決定したホワイトバラ
ンスアンプ152の操作方向と操作量を元に、システム
コントローラ170からホワイトバランスアンプ152
へ各ゲインの設定を行なうといった一連の制御を毎フィ
ールド実施する。
First, when the white balance control is once stable, that is, when the evaluation value is in a state of being located within the complete dead zone region, the evaluation value changes from that state, and the evaluation value changes outside the complete dead zone region. However, if the evaluation value is within the restart area, the white balance control is not restarted. If the optical detector value further changes from this state and the evaluation value is in a state of being located outside the restart region, and if it is within the pull-in limit frame, white balance control is performed, that is, the white balance amplifier 152.
The R, 152G, and 152B gain operations are restarted, and feedback control is performed so that the evaluation value converges toward the origin. That is, based on the operation direction and the operation amount of the white balance amplifier 152 determined as described above, the system controller 170 causes the white balance amplifier 152 to operate.
A series of controls such as setting each gain to each field is performed.

【0079】そして、評価値が、最終的にホワイトバラ
ンス制御の収束点、つまり図3(B)に示す座標の原点
を含む完全不感帯もしくは停止領域内に位置する状態と
なった場合には、ゲイン操作を停止させる。このように
して、一旦完全不感帯もしくは停止領域内に位置する状
態となると、再度、評価値が再起動領域外となるまで
は、ホワイトバランス制御を再起動しない。
Then, when the evaluation value finally reaches the convergence point of the white balance control, that is, the complete dead zone including the origin of the coordinates shown in FIG. Stop the operation. In this way, once the state reaches the complete dead zone or the position within the stop region, the white balance control is not restarted until the evaluation value comes out of the restart region again.

【0080】これにより、撮像画面の変化、すなわちオ
プティカルディテクタの変化に過敏に反応することなく
ホワイトバランスをとることができる。なお、完全不感
帯と停止領域とは完全に同じであってもかまわない。
As a result, white balance can be achieved without hypersensitivity to changes in the image pickup screen, that is, changes in the optical detector. The complete dead zone and the stop area may be completely the same.

【0081】ここで、ゲイン制御部180は、以下のよ
うにしてゲイン操作をすることで、ホワイトバランスを
とる。先ず、図3(B)において、評価値が第1象限に
ある場合はホワイトバランスアンプ152Rのゲイン
(Rゲイン信号Sr2)を下げ、第2象限にある場合は
ホワイトバランスアンプ152Bのゲイン(Bゲイン信
号Sb2)を上げ、第3象限にある場合はRゲイン信号
Sr2を上げ、第4象限にある場合はBゲイン信号Sb
2を下げる。
Here, the gain control section 180 adjusts the white balance by performing the gain operation as follows. First, in FIG. 3B, when the evaluation value is in the first quadrant, the gain of the white balance amplifier 152R (R gain signal Sr2) is lowered, and when it is in the second quadrant, the gain of the white balance amplifier 152B (B gain). Signal Sb2) is raised, the R gain signal Sr2 is raised when in the third quadrant, and the B gain signal Sb is raised when in the fourth quadrant.
Lower 2.

【0082】また、評価値がR−B,R+B−2Gの各
軸上にある場合は、Rゲイン信号Sr2およびBゲイン
信号Sb2を同時に操作する。すなわち、評価値(R+
B−2G)/Gが正(>0)でかつ(R+B−2G)/
G軸上にある場合は、Rゲイン信号Sr2およびBゲイ
ン信号Sb2をともに下げる。評価値(R+B−2G)
/Gが負(<0)でかつ(R+B−2G)/G軸上にあ
る場合は、Rゲイ信号Sr2ンおよびBゲイン信号Sb
2をともに上げる。
When the evaluation values are on the axes R-B and R + B-2G, the R gain signal Sr2 and the B gain signal Sb2 are simultaneously operated. That is, the evaluation value (R +
B-2G) / G is positive (> 0) and (R + B-2G) /
When it is on the G axis, both the R gain signal Sr2 and the B gain signal Sb2 are lowered. Evaluation value (R + B-2G)
/ G is negative (<0) and is on the (R + B-2G) / G axis, the R gay signal Sr2 and the B gain signal Sb
Raise 2 together.

【0083】また、データ(R−B)/Gが正(>0;
低色温度側)でかつ(R−B)/G軸上にある場合、R
ゲイン信号Sr2を下げかつBゲイン信号Sb2を上げ
る。評価値(R−B)/Gが負(<0;高色温度側)で
かつ(R−B)/G軸上にある場合、Rゲイン信号Sr
2を上げかつBゲイン信号Sb2を下げる。
The data (RB) / G is positive (>0;
When the color temperature is on the low color temperature side and is on the (RB) / G axis, R
The gain signal Sr2 is lowered and the B gain signal Sb2 is raised. When the evaluation value (RB) / G is negative (<0; high color temperature side) and is on the (RB) / G axis, the R gain signal Sr
2 is raised and the B gain signal Sb2 is lowered.

【0084】ここで、完全不感帯と停止領域とが異なる
場合において、評価値が完全不感帯に収まるまでホワイ
トバランス制御を実施すれば、ほぼ完全にホワイトバラ
ンスをとることができる。しかしながら、たとえば画面
全体に赤っぽい光が入ってきた場合など、光源色が大き
く変化した場合には、人間の色彩に対する順応のために
却ってユーザに違和感を与えることもある。このような
場合、評価値が停止領域内に収まったときにホワイトバ
ランス制御を停止することで、この問題を解消できる。
Here, in the case where the complete dead zone and the stop area are different, if the white balance control is performed until the evaluation value falls within the complete dead zone, almost perfect white balance can be achieved. However, when the light source color changes significantly, for example, when reddish light enters the entire screen, the user may feel a sense of discomfort due to adaptation to human color. In such a case, this problem can be solved by stopping the white balance control when the evaluation value falls within the stop area.

【0085】なお、完全不感帯領域や停止領域と再起動
領域とは、ホワイトバランス制御の起動に関するヒステ
リシス領域を構成することになるが、完全不感帯領域
(あるいは停止領域)と再起動領域の各大きさについて
は、 1)完全不感帯領域(あるいは停止領域)は、完全に原
点に収束しない場合の発振を防止出来る大きさを最低限
持つ、 2)再起動領域は、完全不感帯領域(あるいは停止領
域)を内包する大きさを最低限持つ、 の2条件(以下領域定義条件という)を満たしている限
り、特に条件はないが、完全不感帯領域(あるいは停止
領域)と再起動領域の差を大きく設定することにより、
ホワイトバランス制御の再起動機会を減らせることにな
り、撮像画面の変化、すなわちオプティカルディテクタ
値の変化に過敏に反応しないホワイトバランス制御を実
現できる。
The complete dead zone area, the stop area, and the restart area constitute a hysteresis area related to the start of the white balance control. However, the sizes of the complete dead zone area (or the stop area) and the restart area are different from each other. Regarding 1), the complete dead zone area (or stop area) has at least the size that can prevent oscillation when it does not completely converge to the origin. 2) The restart area includes the complete dead zone area (or stop area). There is no particular condition as long as the following two conditions (hereinafter referred to as region definition conditions), which have the minimum included size, are satisfied, but set a large difference between the complete dead zone (or stop area) and the restart area. Due to
It is possible to reduce the chances of restarting the white balance control, and it is possible to realize the white balance control that does not react hypersensitively to changes in the imaging screen, that is, changes in the optical detector value.

【0086】加えて、完全不感帯と再起動領域との間に
停止領域を設けることで、光源色が大きく変化した場合
においても、ユーザに違和感を与えることのないホワイ
トバランス制御を実現することができる。
In addition, by providing the stop area between the complete dead zone and the restart area, it is possible to realize white balance control that does not give the user a feeling of discomfort even when the light source color changes significantly. .

【0087】なお、評価値が停止領域内に収まったとき
にホワイトバランス制御を停止させた後所定時間経過し
て安定してから、さらに評価値が完全不感帯領域内に収
まるまるまでホワイトバランス制御を実施すれば、光源
色が大きく変化した場合においても、ユーザに違和感を
与えることなく、ほぼ完全にホワイトバランスをとるこ
ともできる。
When the evaluation value is within the stop area, the white balance control is stopped, and after a predetermined time has elapsed, the white balance control is stabilized, and then the white balance control is continued until the evaluation value falls within the complete dead zone area. If implemented, even if the light source color changes significantly, it is possible to achieve almost perfect white balance without giving a sense of discomfort to the user.

【0088】この際の繰返しサイクルは、通常のゲイン
調整の繰返しサイクルよりも低速にすると、ゆっくりと
完全白に収束するので、ホワイトバランス制御による違
和感をユーザに与える虞れは殆どない。なお、評価値が
停止領域内に収まったときに一旦停止させることなく、
直ちに、通常のゲイン調整の繰返しサイクルよりも低速
な繰返しサイクルで、評価値が完全不感帯領域内に収ま
るまるまでホワイトバランス制御を実施するようにして
もよい。
If the repetitive cycle at this time is made slower than the normal repetitive cycle of the gain adjustment, the repetitive cycle slowly converges to the perfect white, so that there is almost no possibility of giving the user a feeling of strangeness due to the white balance control. In addition, without stopping once when the evaluation value falls within the stop area,
Immediately, the white balance control may be performed in a repetition cycle slower than the normal gain adjustment repetition cycle until the evaluation value falls within the complete dead zone region.

【0089】上記のようなホワイトバランス制御によ
り、たとえば、黒体放射カーブに近い色を持つ被写体の
撮像画面に占める割合が高くなった場合であっても、被
写体周辺の光源、つまり色温度が変化したと判断し、そ
の色を無彩色に近づける方向にホワイトバランスアンプ
そゲインを制御するような誤動作を防止することができ
る。
By the white balance control as described above, for example, even when the ratio of the object having a color close to the black body radiation curve to the image pickup screen becomes high, the light source around the object, that is, the color temperature changes. Therefore, it is possible to prevent an erroneous operation such as controlling the gain of the white balance amplifier in the direction of making the color closer to an achromatic color.

【0090】また、一旦ホワイトバランスがとれた状態
で、撮像画面の一部分に新たな被写体が入ったなどの場
合であっても、ホワイトバランス制御が即座に実行され
る不都合を防止することができる。
Further, even if a new subject enters a part of the image pickup screen in a state where white balance is once taken, it is possible to prevent the inconvenience of immediately executing the white balance control.

【0091】つまり、一定の光源下で、一旦ホワイトバ
ランス制御が安定した状態で、撮像画面範囲に新たな被
写体が入った、あるいはカメラの画角が変化したため、
被写体が全体的にずれた、などの状態が発生した場合で
も、ホワイトバランス制御の再実行を抑制することがで
き、ホワイトバランス制御を有する撮像装置におけるユ
ーザが感じる視覚的な性能の向上に寄与できる。
In other words, under a constant light source, while the white balance control was once stable, a new subject entered the imaging screen range or the angle of view of the camera changed,
Even if the subject is displaced as a whole, it is possible to suppress re-execution of the white balance control, and it is possible to improve the visual performance felt by the user in the image pickup apparatus having the white balance control. .

【0092】なお、停止領域の範囲を大きく確保しすぎ
ると、オプティカルディテクタ値がホワイトバランスの
取れた関係に近づく前に収束完了と判定することにな
り、ユーザの視覚的違和感の要因となることが考えられ
る。また、再起動領域の範囲を大きく確保しすぎると、
ホワイトバランス制御の再起動条件となるオプティカル
ディテクタ値の関係が、よりアンバランスな状態とな
り、こちらもユーザの視覚的違和感の要因となることが
考えられる。
If the range of the stop region is set to be too large, it is determined that the convergence is completed before the optical detector value approaches the white-balanced relationship, which may cause a visual discomfort to the user. Conceivable. Also, if the range of the restart area is set too large,
It is conceivable that the relationship of the optical detector values, which is the restart condition of the white balance control, becomes more unbalanced, which may cause a visual discomfort for the user.

【0093】したがって、停止領域や再起動領域は、ホ
ワイトバランス制御がユーザに視覚的に違和感を与える
ことのないような適正な範囲に設定するようにする。視
覚的な違和感が生じるレベルは、ユーザや被写体さらに
は光源の状態などによっても異なるので、停止領域や再
起動領域を適宜変更可能な構成とすることは、非常に有
意である。
Therefore, the stop area and the restart area should be set in appropriate ranges such that the white balance control does not give the user a visually uncomfortable feeling. Since the level at which a visually uncomfortable feeling is generated varies depending on the user, the subject, the state of the light source, and the like, it is extremely significant to have a configuration in which the stop region and the restart region can be changed appropriately.

【0094】なお、上記ホワイトバランスコントローラ
170内の各機能部は、たとえばソフトウェアによって
実行する構成を採ってもよい。この場合、これらの機能
を実現するためのプログラムが、図示しないプログラム
メモリ(たとえば不揮発メモリ)に格納される。
Each functional unit in the white balance controller 170 may be implemented by software, for example. In this case, programs for implementing these functions are stored in a program memory (for example, a non-volatile memory) not shown.

【0095】そして、ホワイトバランスコントローラ1
70において、色差データR−B,B−Gの各積分値デ
ータを、加減算処理にてR+B−2G,R−Bの各デー
タに変換することにより、加算および減算という簡単な
演算処理だけでデータ変換できるため、処理負担を軽減
することができる。また、ホワイトバランスコントロー
ラ170の各機能ブロックをハードウェアで構成するこ
とで、ソフトウェアの負担を軽減することができる。
Then, the white balance controller 1
In 70, by converting the respective integrated value data of the color difference data RB and BG into the respective data of R + B-2G and RB by the addition / subtraction processing, the data can be obtained by simple arithmetic processing such as addition and subtraction. Since the conversion can be performed, the processing load can be reduced. Further, by configuring each functional block of the white balance controller 170 with hardware, it is possible to reduce the load on software.

【0096】以上説明したように、撮像装置の色信号処
理回路においては、フィードバック制御で自動的にホワ
イトバランスをとる操作を行なう際に、各条件に応じて
基準点からの評価値を判定するとともに、評価値の座標
が停止領域、再起動領域、および引込制限枠内の何れの
範囲内に存在するか否かを判定する。次いで、その判定
結果に応じてホワイトバランスの引き込み操作を行な
う、すなわちホワイトバランス制御の再起動条件を制御
したり、あるいは収束完了条件を制御するようにした。
これにより、ユーザに違和感を与えることなく、かつ、
もともと設定した基準の引込制限枠から外れないような
オートホワイトバランス制御を実現することができる。
As described above, in the color signal processing circuit of the image pickup apparatus, the evaluation value from the reference point is determined according to each condition when performing the operation of automatically adjusting the white balance by the feedback control. Then, it is determined whether the coordinates of the evaluation value are in any of the stop area, the restart area, and the pull-in restriction frame. Then, the white balance pull-in operation is performed according to the determination result, that is, the restart condition of the white balance control is controlled, or the convergence completion condition is controlled.
As a result, the user does not feel uncomfortable, and
It is possible to realize automatic white balance control that does not deviate from the originally set pull-in restriction frame.

【0097】すなわち、ある色温度の光源下においてホ
ワイトバランスをとった後、次に色温度が変化した場合
に、基準の引込制限枠内であって白に合わせる色温度で
あれば評価値の座標が停止領域および再起動領域の何れ
の領域内にあるのかに応じてホワイトバランスをとり、
そうでないものはとらないようにすることで、誤動作や
違和感のないホワイトバランス操作を行なうことができ
る。また、白でないものについては、色(無彩色)にし
ない操作を行なうことができる。
That is, when the white balance is taken under a light source of a certain color temperature and then the color temperature changes next, if the color temperature is within the standard pull-in limit frame and the color temperature is adjusted to white, the coordinates of the evaluation value are shown. White balance depending on whether it is in the stop area or the restart area,
By not taking anything that is not so, it is possible to perform the white balance operation without malfunction or discomfort. For non-white objects, it is possible to perform an operation that does not change the color (achromatic color).

【0098】また、様々な色を含む映像の色をすべて足
し合わせると白色になるという考え方から、R,G,B
の色信号を積分してから色差信号R−G,B−Gを生成
する、あるいは色差信号R−G,B−Gを生成してから
積分するとともに、その積分範囲として高輝度部と通常
輝度部の2通り設定し、被写体の条件により、輝度の高
いものか通常輝度のものかどちらがより白色に近いかを
判定し、白色に近い方の積分値データに基づいてホワイ
トバランスのゲインコントロールを行なうことで、より
精度の高いオートホワイトバランスを実現できる。
In addition, from the idea that when the colors of images including various colors are added together, white is obtained.
Color signals R-G and B-G are generated after integrating the color signals of, or the color difference signals R-G and B-G are generated and then integrated, and the integration range is set to the high brightness portion and the normal brightness. 2 settings are made, and it is determined whether the brightness is higher or the normal brightness is closer to white depending on the condition of the subject, and the white balance gain control is performed based on the integrated value data closer to white. As a result, more accurate auto white balance can be achieved.

【0099】特に、第1例のオプティカルディテクタ1
60およびホワイトバランスコントローラ170のよう
に、輝度別積分の高輝度部と通常輝度部のどちらのデー
タを採用するかを判断する際に、R−G,B−Gの各デ
ータをパラメータとして用いるようにしたことで、乗
算、除算の演算処理を行なわなくて済むため、ハードウ
ェア、ソフトウェアの負担を軽減できる。
In particular, the optical detector 1 of the first example
60, and the white balance controller 170, use each data of RG and BG as a parameter when deciding which data of the high brightness part of the integration by brightness or the normal brightness part is adopted. By doing so, it is not necessary to perform arithmetic processing such as multiplication and division, so that the load on hardware and software can be reduced.

【0100】さらに、ホワイトバランスを合わせる際
に、R−B,R+B−2Gの各データを用いるようにし
たことにより、R−Bが被写体(または光源)の色温度
に対して白色が変化する軌跡(黒体放射カーブ)に近い
ため精度のよい制御を行なえ、またR+B−2Gが被写
体が蛍光灯下にある場合(または光源が蛍光灯の場合)
に白色が変化する方向であるため、R−Bと同様に精度
のよい制御を行なえる。しかも、非線形回路であるガン
マ補正部153を通過する前の色信号Sr3,Sg3,
Sb3を用いてゲイン情報を得ているため、色ずれの心
配もない。
Furthermore, when the white balance is adjusted, the respective data of RB and R + B-2G are used, so that RB is a locus in which white changes with respect to the color temperature of the subject (or the light source). Since it is close to (black body radiation curve), accurate control can be performed, and when R + B-2G is the subject under fluorescent light (or the light source is fluorescent light).
Since white is in the direction of change, accurate control can be performed as in RB. Moreover, the color signals Sr3, Sg3 before passing through the gamma correction unit 153 which is a non-linear circuit.
Since gain information is obtained using Sb3, there is no concern about color misregistration.

【0101】なお、本発明に係る撮像装置は、フィード
バック制御方式のホワイトバランス機能の殆どを簡単な
加減算処理で実現できるため、ハードウェア、ソフトウ
ェアともに負担が少なく、しかも被写体(または光源)
の色温度変化に対して精度の高い制御を行なうことがで
きる。
In the image pickup apparatus according to the present invention, most of the white balance function of the feedback control system can be realized by a simple addition / subtraction process, so that the hardware and software are less burdened and the subject (or light source) is also reduced.
It is possible to perform highly accurate control with respect to changes in the color temperature of.

【0102】したがって、オートホワイトバランス機能
を持つ民生用、業務用および産機用カメラに適用した場
合に、画質向上に寄与できることになる。これにより、
誤動作がなくかつより精度のよいオートホワイトバラン
ス調整を実現できるため、これらカメラの画質向上に大
きく寄与できる。
Therefore, when it is applied to a consumer, commercial or industrial camera having an automatic white balance function, it can contribute to the improvement of image quality. This allows
Since there is no malfunction and more accurate auto white balance adjustment can be realized, it can greatly contribute to the image quality improvement of these cameras.

【0103】図4は、第1実施形態の撮像装置における
ホワイトバランス制御の処理手順を纏めたフローチャー
トである。なお、本ルーチンの処理は、被写体の色温度
が変化した場合に呼び出されて実行されるものとする。
また、この処理を開始する前に、予めある決まった色温
度(たとえば3200K)において基準点(0,0)を
とり、この基準点(0,0)をもとに、停止領域、再起
動領域、あるいは引込制限枠を設定し、基準点(0,
0)をオートホワイトバランスの動作開始点としてもよ
い。
FIG. 4 is a flowchart summarizing the processing procedure of white balance control in the image pickup apparatus of the first embodiment. The processing of this routine is called and executed when the color temperature of the subject changes.
Before starting this process, a reference point (0, 0) is set at a predetermined color temperature (for example, 3200K), and the stop area and the restart area are set based on the reference point (0, 0). , Or set the pull-in limit frame and set the reference point (0,
0) may be set as the operation starting point of the automatic white balance.

【0104】被写体の色温度の変化があると、先ず、オ
プティカルディテクタ160において、減算器161
a,161bは、ホワイトバランスアンプ152R,1
52G,152Bから入力された色信号に基づいて、色
差信号(R−G)a,(R−G)aを取得する(S10
0)。次に積分回路163a,163bは、低輝度リミ
ッタレベル以下および高輝度リミッタレベル以上の部分
の各色差信号を排除しつつ、フィールドごとに、高輝度
部/通常輝度部の異なる積分範囲で積分して、積分され
た色差信号(R−G)b,(R−G)c,(B−G)
b,(B−G)cを取得する(S102)。
When there is a change in the color temperature of the subject, first, in the optical detector 160, the subtractor 161
a and 161b are white balance amplifiers 152R and 1
Color difference signals (R-G) a and (R-G) a are acquired based on the color signals input from 52G and 152B (S10).
0). Next, the integrator circuits 163a and 163b eliminate each color difference signal in a portion below the low-luminance limiter level and above the high-luminance limiter level, and perform integration in different integration ranges of the high-luminance portion / normal luminance portion for each field. , Integrated color difference signals (R-G) b, (R-G) c, (B-G)
b, (BG) c are acquired (S102).

【0105】続いて、ホワイトバランスコントローラ1
70において、比較回路171は、先ず、積分された色
差信号(積分値データ)が、全面単色、全面低輝度、あ
るいは全面高輝度などの特殊な条件のデータであるか否
かを判定する(S104)。特殊な条件のデータであれ
ば、処理を終了する(S104−YES)。一方、特殊
な条件のデータでなければ、データが適正範囲外である
か否か、すなわち積分値データが低すぎ/高すぎでない
か否かを判定する(S106)。
Then, the white balance controller 1
In 70, the comparison circuit 171 first determines whether or not the integrated color difference signal (integral value data) is data under special conditions such as full-face monochromatic color, full-face low brightness, or full-face high brightness (S104). ). If the data has special conditions, the process ends (S104-YES). On the other hand, if the data is not under special conditions, it is determined whether the data is outside the proper range, that is, whether the integrated value data is too low or too high (S106).

【0106】積分値データが適正範囲外であれば、処理
を終了する(S106−YES)。積分値データが適正
範囲内であれば、高輝度部、通常輝度部で別々に積分さ
れたR−G,B−Gの積分値データを比較し、“0”に
近い方のデータを採用し、選択済みの色差信号(R−
G)d,(B−G)dとして出力する(S108)。
If the integrated value data is out of the proper range, the process ends (S106-YES). If the integrated value data is within the proper range, the integrated value data of RG and BG separately integrated in the high luminance part and the normal luminance part are compared, and the data closer to "0" is adopted. , The selected color difference signal (R-
G) d and (BG) d are output (S108).

【0107】加算器173aおよび減算器173bは、
採用された方の積分値データを用いて加算、減算を行な
うことにより、R−G,B−Gの積分値データをR+B
−2G,R−Bのデータ(評価値)に変換し、ゲイン設
定部175に入力する(S110)。
The adder 173a and the subtractor 173b are
By adding and subtracting using the integrated value data of the adopted one, the integrated value data of RG and BG can be converted into R + B.
-2G, RB data (evaluation value) is converted and input to the gain setting unit 175 (S110).

【0108】次に、ゲイン設定部175において、停止
領域判定部177a、再起動領域判定部177b、およ
び引込判定部179は、R+B−2Gの符号を判定し
(S112)、続いてR−Bの符号を判定する(S11
4)。この符号判定により、R−B,R+B−2Gの色
差座標面において、評価値がどこにあるかを判定する。
Next, in the gain setting section 175, the stop area determination section 177a, the restart area determination section 177b, and the pull-in determination section 179 determine the sign of R + B-2G (S112), and then the R-B. The sign is determined (S11
4). By this code determination, it is determined where the evaluation value is on the R-B and R + B-2G color difference coordinate planes.

【0109】たとえば停止領域判定部177aは、評価
値が停止領域内にあるか否かを判断する(S120)。
停止領域内になければ、再起動領域判定部177bは、
評価値が再起動領域内にあるか否かを判断する(S12
0−NO,S122)。再起動領域内になければ、引込
判定部179は、評価値が引込制限枠内にあるか否かを
判断する(S122−NO,S124)。評価値が引込
制限枠外であれば、処理を終了する(S124−N
O)。
For example, the stop area determination unit 177a determines whether or not the evaluation value is within the stop area (S120).
If it is not within the stop area, the restart area determination unit 177b
It is determined whether the evaluation value is within the restart area (S12).
0-NO, S122). If it is not within the restart area, the attraction-in determination unit 179 determines whether or not the evaluation value is within the attraction-in restriction frame (S122-NO, S124). If the evaluation value is outside the pull-in restriction frame, the process is terminated (S124-N).
O).

【0110】一方、評価値が引込制限枠内にあれば、ゲ
イン制御部180は、ホワイトバランス制御を再起動
し、ホワイトバランスアンプ152R,152G,15
2Bの各ゲインをコントロール(調整)することによっ
て、ホワイトバランスをとる引込操作を行なう(S12
6)。
On the other hand, if the evaluation value is within the pull-in limit frame, the gain control section 180 restarts the white balance control, and the white balance amplifiers 152R, 152G, 15
By controlling (adjusting) each gain of 2B, a pull-in operation for white balance is performed (S12).
6).

【0111】他方、ステップS120の判断処理時に、
評価値が停止領域内にある場合には、ゲイン制御部18
0は、先ず、ホワイトバランス制御を再起動中すなわち
ゲイン調整中であるか否かを判断する(S120−YE
S,S130)。ゲイン調整中でなければそのまま処理
を終了する(S130−NO)。ゲイン調整中であれ
ば、ゲイン調整を停止させてから処理を終了する(S1
32)。
On the other hand, during the determination processing of step S120,
If the evaluation value is within the stop area, the gain controller 18
For 0, first, it is determined whether or not the white balance control is being restarted, that is, the gain adjustment is being performed (S120-YE).
S, S130). If the gain is not being adjusted, the process ends as it is (S130-NO). If the gain is being adjusted, the gain adjustment is stopped and then the process ends (S1).
32).

【0112】何れの場合にも、処理を停止させたときに
は(エンド)、ゲイン制御部180は、その時点のゲイ
ン値を維持する。この場合、通常はホワイトバランスが
とれた状態となる。
In any case, when the processing is stopped (end), the gain control section 180 maintains the gain value at that time. In this case, the white balance is normally achieved.

【0113】図5は、ゲイン設定部175における他の
作用例を説明する図である。ここで図5(A)は、再起
動領域を2つに分け、引込制限枠の内部に再起動領域1
を内包する形で再起動領域2を設けている点が、図3
(B)に示したものと異なる。
FIG. 5 is a diagram for explaining another operation example of the gain setting section 175. Here, in FIG. 5A, the restart area is divided into two, and the restart area 1 is provided inside the pull-in restriction frame.
3 is that the restart area 2 is provided so as to include
Different from that shown in (B).

【0114】ゲイン設定部175の再起動領域判定部1
77bは、評価値が停止領域〜再起動領域1内にあるか
を判定する。また再起動領域判定部177bは、評価値
が再起動領域1〜再起動領域2内にあるのか、それとも
再起動領域2〜引込制限枠内にあるのかを判定する。
Restart region determination unit 1 of gain setting unit 175
77b determines whether the evaluation value is within the stop region to the restart region 1. Further, the restart area determination unit 177b determines whether the evaluation value is within the restart area 1 to restart area 2 or within the restart area 2 to the attraction-in restriction frame.

【0115】そしてゲイン制御部180は、その座標位
置(象限または軸上)に応じて、ホワイトバランスゲイ
ンを操作し、以下のようにして評価値を原点(R−G=
0,R+B−2G=0)方向に近付ける。
Then, the gain control section 180 operates the white balance gain according to the coordinate position (quadrant or on-axis), and sets the evaluation value to the origin (RG =
0, R + B-2G = 0) direction.

【0116】先ず、図3(B)に示したと同じように、
一旦評価値が完全不感帯領域内に位置する状態となった
場合、その状態から評価値が変化し、評価値が完全不感
帯領域外へ変化しても、評価値が再起動領域1内に位置
していれば、ホワイトバランス制御を再起動しない。
First, in the same way as shown in FIG.
Once the evaluation value is in the complete dead zone area, the evaluation value changes from that state, and even if the evaluation value changes outside the complete dead zone area, the evaluation value remains in the restart area 1. If so, the white balance control is not restarted.

【0117】この状態からさらにオプティカルディテク
タ値が変化し、評価値が再起動領域1外へ位置する状態
になった場合において引込制限枠内にあれば、ホワイト
バランス制御を実施、すなわちホワイトバランスアンプ
152R,152G,152Bのゲイン操作を再起動し
て、評価値が原点方向に収束するようにする。
If the optical detector value further changes from this state and the evaluation value is located outside the restart area 1, and if it is within the pull-in limit frame, white balance control is performed, that is, the white balance amplifier 152R. , 152G, 152B are restarted so that the evaluation value converges toward the origin.

【0118】このとき、たとえば、評価値が再起動領域
1〜再起動領域2内にあれば、評価値が完全不感帯内に
位置する状態となるまでゲイン操作を実施することで、
ほぼ完全にホワイトバランスをとる。一方、評価値が再
起動領域2〜引込制限枠内にあれば、評価値が停止領域
内に位置する状態となった場合には、ゲイン操作を停止
する。
At this time, for example, if the evaluation value is in the restart area 1 to restart area 2, the gain operation is performed until the evaluation value is in the complete dead zone.
Adjust the white balance almost completely. On the other hand, if the evaluation value is within the restart area 2 to the pull-in restriction frame, the gain operation is stopped when the evaluation value is in the stop area.

【0119】なおこの場合においても、ゲイン操作を停
止させた後所定時間経過して安定してから、さらに評価
値が完全不感帯領域内に収まるまるまでホワイトバラン
ス制御を実施すれば、光源色が大きく変化した場合にお
いても、ユーザに違和感を与えることなく、ほぼ完全に
ホワイトバランスをとることもできる。この際の繰返し
サイクルは、通常のゲイン調整の繰返しサイクルよりも
低速にすると、ゆっくりと完全白に収束するので、ホワ
イトバランス制御による違和感をユーザに与える虞れは
殆どない。
Even in this case, if the white balance control is performed until the evaluation value falls within the complete dead zone region after the gain operation is stabilized for a predetermined time after the gain operation is stopped, the light source color becomes large. Even when the white balance changes, the white balance can be almost completely adjusted without giving the user a feeling of strangeness. When the repetition cycle at this time is set to be slower than the normal gain adjustment repetition cycle, the white balance is slowly converged to completely white, so that there is almost no fear of giving the user a feeling of strangeness due to the white balance control.

【0120】そして、このようにして、一旦完全不感帯
もしくは停止領域内に位置する状態となると、再度、評
価値が再起動領域外となるまでは、ホワイトバランス制
御を再起動しない。
In this way, once the state reaches the complete dead zone or within the stop area, the white balance control is not restarted until the evaluation value is outside the restart area.

【0121】このように図5(A)に示した形態によれ
ば、光源色変化が再起動領域内に留まる比較的小さなと
きにはホワイトバランス制御を再起動せず、再起動領域
1〜再起動領域2内に留まる中程度の変化のときにはホ
ワイトバランス制御を再起動させて、ほぼ完全にホワイ
トバランスを取り、再起動領域2を越えるような大きな
変化のときにはホワイトバランス制御を再起動させるも
のの、その収束範囲は停止領域までに留めることで、ユ
ーザに違和感を与えることのないホワイトバランス制御
を実現することができる。
As described above, according to the embodiment shown in FIG. 5A, the white balance control is not restarted when the light source color change is relatively small within the restart region, and the restart regions 1 to 1 are restarted. The white balance control is restarted when the change is moderate within 2 and the white balance is taken almost completely, and the white balance control is restarted when the change exceeds the restart range 2, but the convergence By limiting the range to the stop region, it is possible to realize white balance control that does not give the user a feeling of strangeness.

【0122】すなわち、図3(B)に示した停止領域お
よび再起動領域を、停止領域、再起動領域1、および再
起動領域2と細分化したことにより、停止領域の範囲を
大きく確保しすぎることもなく、さらに再起動の開始点
(再起動領域1)を大きく確保しすぎることもない。こ
れにより、オプティカルディテクタ値がホワイトバラン
スの取れた関係に近づく前に収束完了と判定することも
なく、加えて、ホワイトバランス制御の再起動条件とな
るオプティカルディテクタ値の関係がアンバランスな状
態となることもなく、ユーザに視覚的違和感を与えるこ
となく、よりスムーズなホワイトバランス制御を実現す
ることができる。
That is, since the stop area and the restart area shown in FIG. 3B are subdivided into the stop area, the restart area 1 and the restart area 2, the range of the stop area is secured too large. In addition, the starting point of restart (restart area 1) is not secured too much. As a result, the convergence is not determined before the optical detector value approaches the white-balanced relationship, and in addition, the relationship of the optical detector values that is the restart condition of the white balance control becomes unbalanced. In addition, smoother white balance control can be realized without giving the user a visual discomfort.

【0123】一方図5(B)は、再起動領域を、矩形状
以外の四角形で領域定義している点が、図3(B)に示
したものと異なる。なお、再起動領域に限らず、停止領
域についても矩形状以外の四角形で領域定義してもよ
い。こうすることで、ホワイトバランス制御の再起動条
件や、ホワイトバランス制御の収束完了条件を色相に応
じて、異なるものとすることができる。
On the other hand, FIG. 5B is different from that shown in FIG. 3B in that the restart area is defined by a quadrangle other than the rectangular shape. It should be noted that not only the restart area but also the stop area may be defined by a quadrangle other than the rectangular shape. By doing so, the restart condition of the white balance control and the convergence completion condition of the white balance control can be made different depending on the hue.

【0124】たとえば、人の顔を主な被写体とする場合
には、やや赤みがかった状態でホワイトバランス制御を
停止させることで暖かみのある画作りができる一方、果
物や野菜などを主な被写体とする場合には、やや青みが
かった状態でホワイトバランス制御を停止させることで
新鮮な雰囲気を与える画像作りができるなど、被写体像
に応じたホワイトバランス制御を、ユーザに視覚的違和
感を与えることなく実現することができる。
For example, when a human face is the main subject, warm white images can be created by stopping the white balance control in a slightly reddish state, while fruits and vegetables are the main subjects. In this case, it is possible to realize white balance control according to the subject image without visually discomforting the user, such as creating an image that gives a fresh atmosphere by stopping the white balance control in a slightly bluish state. You can

【0125】なお、停止領域や再起動領域は、四角形で
領域定義することに限らず、前述の領域定義条件を満た
している限り、他の多角形、円形、楕円形、あるいは局
部的に凹部もしくは凸部が形成されたものなどであって
もよい。また、再起動領域は、停止領域を内包するもの
であればよく、一部が接したものであってもよい。さら
に、完全不感帯、停止領域、再起動領域、あるいは引込
制限枠などの領域データは、個々のユーザ仕様に合わせ
て、たとえばユーザオペレーションを介して、適宜変更
されてもよい。
The stop area and the restart area are not limited to being defined by a quadrangle, but may be another polygon, a circle, an ellipse, or a locally recessed or formed area as long as the above area definition conditions are satisfied. For example, a convex portion may be formed. Further, the restart area need only include the stop area, and may be a part of the restart area. Further, the area data such as the dead zone, the stop area, the restart area, or the pull-in restriction frame may be appropriately changed according to individual user specifications, for example, through user operation.

【0126】図6は、本発明に係る撮像装置の第2実施
形態を示すブロック図である。メモリカードなどの記録
媒体を挿脱可能に構成した点、およびインターネットな
どの通信網との接続が可能に構成した点が、第1実施形
態と異なる。
FIG. 6 is a block diagram showing a second embodiment of the image pickup apparatus according to the present invention. It differs from the first embodiment in that a recording medium such as a memory card can be inserted and removed and that the recording medium can be connected to a communication network such as the Internet.

【0127】すなわち、この第2実施形態の撮像装置1
0は、第1実施形態の撮像装置10に加えて、CPU9
02、ROM(Read Only Memory)904、RAM90
6、メモリ読出部907、および通信I/F(インター
フェース)908を備える。
That is, the image pickup apparatus 1 according to the second embodiment.
0 is the CPU 9 in addition to the image pickup apparatus 10 of the first embodiment.
02, ROM (Read Only Memory) 904, RAM 90
6, a memory reading unit 907, and a communication I / F (interface) 908.

【0128】記録媒体924は、たとえば、CPU90
2にソフトウェア処理をさせるためのプログラムデータ
や、完全不感帯、停止領域、再起動領域、あるいは引込
制限枠などの領域データを登録するなどのために利用さ
れる。メモリ読出部907は、記録媒体924から読み
出したデータをRAM906に格納(インストール)す
る。
The recording medium 924 is, for example, the CPU 90.
It is used for registering program data for causing 2 to perform software processing and area data such as a complete dead zone, a stop area, a restart area, or a pull-in restriction frame. The memory reading unit 907 stores (installs) the data read from the recording medium 924 in the RAM 906.

【0129】通信I/F908は、インターネットなど
の通信網との間の通信データの受け渡しを仲介する。
The communication I / F 908 mediates the transfer of communication data with a communication network such as the Internet.

【0130】このような構成の撮像装置10は、上記第
1実施形態に示した撮像装置10の基本的な構成および
動作と同様とすることができる。また、上述した処理を
コンピュータに実行させるプログラムは、フラッシュメ
モリ、ICカード、あるいはミニチュアーカードなどの
不揮発性の半導体メモリカードなどの記録媒体924を
通じて配布される。
The image pickup apparatus 10 having such a configuration can have the same basic configuration and operation as the image pickup apparatus 10 shown in the first embodiment. A program that causes a computer to execute the above-described processing is distributed through a recording medium 924 such as a flash memory, an IC card, or a nonvolatile semiconductor memory card such as a miniature card.

【0131】さらに、サーバなどからインターネットな
どの通信網を経由して前記プログラムをダウンロードし
て取得したり、あるいは更新してもよい。
Further, the program may be downloaded and acquired from a server or the like via a communication network such as the Internet, or may be updated.

【0132】記録媒体924の一例としてのICカード
やミニチュアーカードなどの半導体メモリには、上記第
1実施形態で説明した撮像装置10(特にその主要部で
あるオプティカルディテクタ160およびホワイトバラ
ンスコントローラ170)における処理の一部または全
ての機能を格納することができる。したがって、以下の
プログラムや当該プログラムを格納した記憶媒体を提供
することができる。
A semiconductor memory such as an IC card or a miniature card, which is an example of the recording medium 924, is used in the image pickup apparatus 10 described in the first embodiment (particularly, the optical detector 160 and the white balance controller 170 which are the main parts thereof). Some or all of the functionality of the process can be stored. Therefore, it is possible to provide the following program and a storage medium storing the program.

【0133】たとえば、オプティカルディテクタ160
用のプログラム、すなわちRAM906などにインスト
ールされるソフトウェアは、上記実施形態に示されたオ
プティカルディテクタ160と同様に、減算器161
a,161b,165a,165bや、積分回路163
R,163G,163B,163a、163bなどの各
機能部をソフトウェアとして備える。
For example, the optical detector 160
The program for the program, that is, the software installed in the RAM 906 or the like, is the same as the optical detector 160 shown in the above embodiment, and the subtracter 161.
a, 161b, 165a, 165b and the integrating circuit 163
Each functional unit such as R, 163G, 163B, 163a, 163b is provided as software.

【0134】同様に、ホワイトバランスコントローラ1
70用のプログラム、すなわちRAM906などにイン
ストールされるソフトウェアは、上記実施形態に示され
たホワイトバランスコントローラ170と同様に、比較
回路171、加算器173a、減算器173b、除算器
176a,176b、引込判定部179、領域設定部1
78、停止領域判定部177a、再起動領域判定部17
7b、あるいはゲイン制御部180などの各機能部をソ
フトウェアとして備える。
Similarly, the white balance controller 1
The program for 70, that is, the software installed in the RAM 906 or the like is similar to the white balance controller 170 shown in the above embodiment, and includes a comparison circuit 171, an adder 173a, a subtractor 173b, dividers 176a and 176b, and pull-in determination. Section 179, area setting section 1
78, stop area determination unit 177a, restart area determination unit 17
7b, or each functional unit such as the gain control unit 180 is provided as software.

【0135】そしてメモリ読出部907は、記憶媒体9
24からプログラムデータまたは完全不感帯、停止領
域、再起動領域、あるいは引込制限枠などの領域データ
を読み取ってCPU902に渡す。そしてソフトウエア
は記憶媒体924からRAM906にインストールされ
る。なお、ROM904にプログラムデータの一部また
は完全不感帯、停止領域、再起動領域、あるいは引込制
限枠などの領域データの一部をインストールしておいて
もよい。
Then, the memory reading section 907 stores the storage medium 9
The program data or the area data such as the complete dead zone, the stop area, the restart area, or the pull-in restriction frame is read from 24 and passed to the CPU 902. Then, the software is installed in the RAM 906 from the storage medium 924. It should be noted that a part of the program data or a part of the area data such as the dead zone, the stop area, the restart area, or the pull-in restriction frame may be installed in the ROM 904.

【0136】RAM906は、メモリ読出部907によ
って読み出された種々の領域データまたはプログラム
や、CPU902がプログラムを実行することにより作
成されたデータを記憶するとともに、記憶したデータま
たはプログラムを読み取ってCPU902に渡す。
The RAM 906 stores various area data or programs read by the memory reading unit 907 and data created by the CPU 902 executing the programs, and reads the stored data or programs to the CPU 902. hand over.

【0137】ソフトウエアは、RAM906に読み出さ
れた後にCPU902により実行される。たとえばCP
U902は、記録媒体の一例であるROM904および
RAM906に格納されたプログラムに基づいて上記の
オートホワイトバランス処理を実行することにより、上
記処理を実行するための機能をソフトウェア的に実現す
ることができる。すなわち、コンピュ−タを用いたデジ
タル信号処理によって、オートホワイトバランス処理を
実現することができる。
The software is read by the RAM 906 and then executed by the CPU 902. For example CP
The U902 can realize the function for executing the above processing by software by executing the above-described auto white balance processing based on the programs stored in the ROM 904 and the RAM 906 which are examples of the recording medium. That is, the automatic white balance processing can be realized by digital signal processing using a computer.

【0138】それぞれの記憶媒体924には、それぞれ
のユーザ仕様に合わせた完全不感帯、停止領域,B,
C、あるいは引込制限枠などの領域データや、それに基
づく適切な上記のオートホワイトバランス処理を記述し
たプログラムを、他のユーザの設定内容に影響されるこ
となく保持させておくことができる。
Each storage medium 924 has a complete dead zone, a stop area, B, and
It is possible to retain area data such as C or the pull-in restriction frame, and a program in which the appropriate auto white balance processing based on the area data is described without being affected by the setting contents of other users.

【0139】こうすることで、たとえば、完全不感帯、
停止領域、再起動領域、あるいは引込制限枠などの領域
データを、さらにはそれに基づく適切な上記のオートホ
ワイトバランス処理を、ユーザ仕様に合わせて、適宜設
定できる。また、記憶媒体924の交換だけで、個々の
ユーザ仕様に合わせた処理に容易に切り替えることがで
きる。
By doing so, for example, the complete dead zone,
Area data such as a stop area, a restart area, or a pull-in restriction frame, and the above-mentioned automatic white balance processing based on the area data can be appropriately set in accordance with user specifications. Further, by simply exchanging the storage medium 924, it is possible to easily switch to a process according to individual user specifications.

【0140】以上、本発明を実施の形態を用いて説明し
たが、本発明の技術的範囲は上記実施形態に記載の範囲
には限定されない。上記実施の形態に、多様な変更また
は改良を加えることができ、そのような変更または改良
を加えた形態も本発明の技術的範囲に含まれる。また、
上記の実施形態は、クレームにかかる発明を限定するも
のではなく、また実施形態の中で説明されている特徴の
組合せの全てが発明の解決手段に必須であるとは限らな
い。
Although the present invention has been described using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. Various changes or improvements can be added to the above-described embodiment, and a mode in which such changes or improvements are added is also included in the technical scope of the present invention. Also,
The above embodiments do not limit the claimed invention, and all combinations of the features described in the embodiments are not necessarily essential to the solution of the invention.

【0141】たとえば、上記実施形態では、ホワイトバ
ランス制御の再起動条件を定める再起動領域、およびホ
ワイトバランス制御の収束条件を定める停止領域を設定
し、オプティカルディテクタ値の変化に応じて、ホワイ
トバランス制御が過敏に反応しないようにしていたが、
停止領域,Bの何れか一方についてのみの制御としても
よい。
For example, in the above-described embodiment, the restart area that determines the restart condition of the white balance control and the stop area that determines the convergence condition of the white balance control are set, and the white balance control is performed according to the change of the optical detector value. Was trying not to react too sensitively,
The control may be performed only on one of the stop region and B.

【0142】また上記実施形態では、撮像素子12から
得られた撮像信号をR(赤),G(緑),B(青)の原
色信号に分離する原色分離部151を設け、R,G,B
の各原色信号に基づいて所定の色差信号あるいはその積
分信号を得る、あるいはR,G,Bの各原色信号に対し
てホワイトバランス制御のためのゲイン調整を行なって
いたが、原色分離部151は必ずしも必須ではない。
In the above embodiment, the primary color separation section 151 for separating the image pickup signal obtained from the image pickup device 12 into the R (red), G (green) and B (blue) primary color signals is provided. B
The predetermined color difference signal or its integrated signal is obtained based on each primary color signal of, or the gain adjustment for white balance control is performed on each of the R, G, and B primary color signals. Not necessarily required.

【0143】たとえば原色信号を求めることなく、撮像
素子12からの撮像信号より直接に所定の色差信号を求
めたり、その色差信号に対してホワイトバランス制御の
ためのゲイン調整を行なうようにしてもよい。なお、撮
像信号から直接に求められる色差信号は、撮像素子上に
配されるカラーフィルタの色配列や色分離処理の方式な
どによって異なるのは周知の通りである。
For example, a predetermined color difference signal may be directly obtained from the image pickup signal from the image pickup device 12 without obtaining the primary color signal, or gain adjustment for white balance control may be performed on the color difference signal. . It is well known that the color difference signal directly obtained from the image pickup signal varies depending on the color arrangement of the color filters arranged on the image pickup element, the method of color separation processing, and the like.

【0144】また上記実施形態では、R−G,B−Gの
色差信号についての積分値を利用していたが、色差値は
これらに限らず、R−Y,B−Y、あるいはCr,Cb
などを用いることもできる。
In the above embodiment, the integrated values of the R-G and B-G color difference signals are used, but the color difference values are not limited to these, and R-Y, B-Y, or Cr, Cb are used.
Etc. can also be used.

【0145】また上記実施形態では、R−G信号に相当
する色差軸およびR+B−2G信号に相当する色差軸で
表される色差座標面として、正規化データ(R+B−2
G)/G軸および(R−B)/G軸で示されたものを用
いることで、精度のよいホワイトバランス制御を実現し
ていたが、これに限らず、正規化前のR+B−2G軸お
よびR−B軸で示されたものを利用してもよい。たとえ
ばR−Y,B−Yのペア、R−B,B−Gのペアなど、
他の色差軸を利用するものであってもよい。
In the above embodiment, the normalized data (R + B-2) is used as the color difference coordinate plane represented by the color difference axis corresponding to the R-G signal and the color difference axis corresponding to the R + B-2G signal.
G) / G axis and (RB) / G axis are used to achieve accurate white balance control, but the present invention is not limited to this, and the R + B-2G axis before normalization is not limited to this. And those shown on the R-B axis may be utilized. For example, a pair of RY, BY, a pair of RB, BG, etc.
It is also possible to use another color difference axis.

【0146】また、本願出願人による特開平11−41
619号、同11−331854号、あるいは特開20
00−125309号などに記載のように、たとえばホ
ワイトバランスがとれている状態の引込制限枠を色温度
に応じてダイナミックに移動させる、あるいはホワイト
バランスゲインに応じた係数を積分値に乗算し、その乗
算結果に基づいてホワイトバランスゲインをコントロー
ルするなどの手法と、上記実施形態の手法とを組み合わ
せてもよい。この場合、前述のように、予めある決まっ
た色温度において基準点(0,0)をとり、この基準点
をもとに、停止領域、再起動領域、あるいは引込制限枠
を設定し、基準点をオートホワイトバランスの動作開始
点とするとよい。
Further, Japanese Patent Laid-Open No. 11-41 filed by the applicant of the present application
619, 11-331854, or JP 20
No. 00-125309 or the like, for example, the pull-in limit frame in a white balance state is dynamically moved according to the color temperature, or the integral value is multiplied by a coefficient according to the white balance gain. The method of controlling the white balance gain based on the multiplication result and the method of the above embodiment may be combined. In this case, as described above, the reference point (0, 0) is set at a predetermined color temperature, and the stop area, the restart area, or the pull-in restriction frame is set based on the reference point, and the reference point is set. Should be used as the starting point of the automatic white balance operation.

【0147】[0147]

【発明の効果】以上のように、本発明によれば、フィー
ドバック制御を用いたオートホワイトバランス調整にお
いて、先ず、オートホワイトバランスがとれた安定点
(色差平面上の原点もしくはこの原点を囲む完全不感
帯)の外側に、この安定点を内包するようにホワイトバ
ランス制御の再起動条件を定める再起動領域を設定し
た。そして安定後に、オプティカルディテクタ値から求
めた評価値が再起動領域を越えるまではオートホワイト
バランス制御を再起動させないようにしたので、撮像画
面の変化、すなわちオプティカルディテクタ値の変化に
過敏に反応しないホワイトバランス制御を実現できる。
As described above, according to the present invention, in the automatic white balance adjustment using the feedback control, first, the stable point with the automatic white balance (the origin on the color difference plane or the complete dead zone surrounding the origin) is obtained. ) Outside of), the restart area which sets the restart condition of the white balance control so as to include this stable point is set. After stabilization, the auto white balance control is not restarted until the evaluation value obtained from the optical detector value exceeds the restart range, so white that does not react hypersensitively to changes in the imaging screen, that is, changes in the optical detector value. Balance control can be realized.

【0148】また、他の態様として、先ず、オートホワ
イトバランスがとれた安定点(同上)の外側に、この安
定点を内包するようにホワイトバランス制御の収束条件
を定める停止領域を設定した。そして再起動後に、オプ
ティカルディテクタ値から求めた評価値が停止領域内に
到達したらオートホワイトバランス制御(ゲイン変更)
を停止させるようにしたので、たとえば光源色が大きく
変化した場合であっても、その色が完全に無彩色となる
手前で制御を停止させることができる、すなわちオプテ
ィカルディテクタ値の変化に過敏に反応しないホワイト
バランス制御を実現できる。
As another aspect, first, outside the stable point with the automatic white balance (same as above), a stop region for setting the convergence condition of the white balance control is set so as to include this stable point. After restarting, if the evaluation value obtained from the optical detector value reaches the stop range, automatic white balance control (gain change)
The control can be stopped before the color becomes completely achromatic, for example, even if the light source color changes significantly, that is, it is hypersensitive to changes in the optical detector value. White balance control can be realized.

【0149】このように、本発明によれば、被写体変化
や光源色変化に過度に追従する現象を防止でき、ユーザ
にとって違和感を与えることのないホワイトバランス制
御を実現できる。
As described above, according to the present invention, it is possible to prevent the phenomenon of excessively following changes in the subject and changes in the color of the light source, and it is possible to realize white balance control that does not give the user a feeling of strangeness.

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

【図1】本発明に係る撮像装置の第1実施形態を示すブ
ロック図である。
FIG. 1 is a block diagram showing a first embodiment of an image pickup apparatus according to the present invention.

【図2】オプティカルディテクタおよびホワイトバラン
スコントローラの一例を説明する図である。
FIG. 2 is a diagram illustrating an example of an optical detector and a white balance controller.

【図3】ゲイン設定部の一例を説明する図である。FIG. 3 is a diagram illustrating an example of a gain setting unit.

【図4】第1実施形態の撮像装置におけるホワイトバラ
ンス制御の処理手順を纏めたフローチャートである。
FIG. 4 is a flowchart summarizing a processing procedure of white balance control in the image pickup apparatus according to the first embodiment.

【図5】ゲイン設定部における他の作用例を説明する図
である。
FIG. 5 is a diagram illustrating another operation example of the gain setting unit.

【図6】本発明に係る撮像装置の第2実施形態を示すブ
ロック図である。
FIG. 6 is a block diagram showing a second embodiment of an image pickup apparatus according to the present invention.

【図7】色差座標面上での黒体放射カーブと、オートホ
ワイトバランス処理との関係を説明する図である。
FIG. 7 is a diagram illustrating a relationship between a blackbody radiation curve on a color difference coordinate plane and automatic white balance processing.

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

10…撮像装置、12…撮像素子、13…プリアンプ、
14…A/D変換部、15…デジタル信号処理部、15
1…原色分離部、152R,152G,152B…ホワ
イトバランスアンプ、153…ガンマ補正部、154…
色差マトリクス部、155…エンコーダ部、156…D
/A変換部、160…オプティカルディテクタ、161
a,161b,165a,165b,173b…減算
器、163R,163G,163B,163a、163
b…積分回路、170…ホワイトバランスコントロー
ラ、171…比較回路、173a…加算器、175…ゲ
イン設定部、176a,176b…除算器、177a…
停止領域判定部、177b…再起動領域判定部、178
…領域設定部、179…引込判定部、180…ゲイン制
御部
10 ... Imaging device, 12 ... Imaging element, 13 ... Preamplifier,
14 ... A / D converter, 15 ... Digital signal processor, 15
1 ... Primary color separation part, 152R, 152G, 152B ... White balance amplifier, 153 ... Gamma correction part, 154 ...
Color difference matrix section, 155 ... Encoder section, 156 ... D
/ A converter, 160 ... Optical detector, 161
a, 161b, 165a, 165b, 173b ... Subtractor, 163R, 163G, 163B, 163a, 163
b ... Integrator circuit, 170 ... White balance controller, 171 ... Comparison circuit, 173a ... Adder, 175 ... Gain setting section, 176a, 176b ... Divider, 177a ...
Stop region determination unit, 177b ... Restart region determination unit, 178
... area setting section, 179 ... pull-in determination section, 180 ... gain control section

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 勝巳 神奈川県横浜市保土ヶ谷区神戸町134番地 ソニー・エルエスアイ・デザイン株式会 社内 Fターム(参考) 5C065 AA01 BB02 CC01 CC03 CC09 DD02 DD15 DD17 GG15 GG18 5C066 AA01 CA17 EA03 EA13 EA14 EC01 GA01 GA02 HA01 KA12 KM02    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Katsumi Kato             134, Kobe-cho, Hodogaya-ku, Yokohama-shi, Kanagawa               Sony LSI Design Stock Association             In-house F-term (reference) 5C065 AA01 BB02 CC01 CC03 CC09                       DD02 DD15 DD17 GG15 GG18                 5C066 AA01 CA17 EA03 EA13 EA14                       EC01 GA01 GA02 HA01 KA12                       KM02

Claims (26)

【特許請求の範囲】[Claims] 【請求項1】 撮像素子からの撮像信号に基づいて取得
した複数の色信号のうちの少なくとも1つの色信号に対
してゲイン調整を行なうことにより、ホワイトバランス
をとる色信号処理方法であって、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるために前記ゲイン調整を再起動させる基準値
を示す再起動領域を設定し、 前記複数の色差信号のそれぞれについての所定期間に亘
って積分された複数の積分信号に基づいて、前記色差空
間上の座標値を求め、 前記求めた座標値と前記設定した再起動領域との位置関
係に基づいて、前記ゲイン調整を行なうためのゲイン値
を制御することを特徴とする色信号処理方法。
1. A color signal processing method for achieving white balance by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device, The gain in order to achieve the white balance so as to surround a substantial white reference point on a color difference space indicated by a color difference axis corresponding to a plurality of color difference signals generated based on the gain adjusted color signals. Setting a restart region showing a reference value for restarting the adjustment, based on a plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, to determine the coordinate value on the color difference space A color signal processing method, wherein a gain value for performing the gain adjustment is controlled based on a positional relationship between the obtained coordinate value and the set restart area. .
【請求項2】 前記色差空間上の座標値が前記設定した
再起動領域の外部に存在することを条件として、次に求
める前記座標値が前記白色基準点の方向に移動するよう
に、前記ゲイン調整を行なうためのゲイン値をその時点
におけるゲイン値から変更することを特徴とする請求項
1に記載の色信号処理方法。
2. The gain is adjusted so that the coordinate value to be obtained next moves toward the white reference point, provided that the coordinate value in the color difference space exists outside the set restart area. The color signal processing method according to claim 1, wherein the gain value for adjustment is changed from the gain value at that time.
【請求項3】 撮像素子からの撮像信号に基づいて取得
した複数の色信号のうちの少なくとも1つの色信号に対
してゲイン調整を行なうことにより、ホワイトバランス
をとる色信号処理方法であって、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるための前記ゲイン調整を停止させる基準値を
示す停止領域を設定し、 前記複数の色差信号のそれぞれについての所定期間に亘
って積分された複数の積分信号に基づいて前記色差空間
上の座標値を求め、 この求めた座標値と前記設定した停止領域との位置関係
に基づいて、前記ゲイン調整を行なうためのゲイン値を
制御することを特徴とする色信号処理方法。
3. A color signal processing method for achieving white balance by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device, The gain for taking the white balance so as to surround a substantial white reference point on a color difference space indicated by a color difference axis corresponding to a plurality of color difference signals generated based on the gain adjusted color signals. A stop region indicating a reference value for stopping the adjustment is set, and a coordinate value on the color difference space is calculated based on a plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, A color signal processing method, wherein a gain value for performing the gain adjustment is controlled based on a positional relationship between the coordinate values and the set stop region.
【請求項4】 前記色差空間上の座標値が前記設定した
停止領域の内部に存在することを条件として、前記ゲイ
ン調整を行なうためのゲイン値をその時点におけるゲイ
ン値に維持することを特徴とする請求項3に記載の色信
号処理方法。
4. The gain value for performing the gain adjustment is maintained at the gain value at that point on the condition that the coordinate value on the color difference space exists inside the set stop region. The color signal processing method according to claim 3.
【請求項5】 前記色差空間上の座標値が前記設定した
停止領域の内部に存在することを条件として、通常の前
記ゲイン調整の繰返しサイクルよりも低速な所定タイミ
ングごとに、次に求める前記座標値が前記白色基準点の
方向に移動するように、前記ゲイン調整を行なうための
ゲイン値をその時点におけるゲイン値から変更すること
を特徴とする請求項3に記載の色信号処理方法。
5. The coordinate value to be obtained next at every predetermined timing slower than a normal repeating cycle of the gain adjustment, provided that the coordinate value in the color difference space exists inside the set stop region. 4. The color signal processing method according to claim 3, wherein the gain value for performing the gain adjustment is changed from the gain value at that time so that the value moves toward the white reference point.
【請求項6】 前記停止領域を取り囲むように、前記ホ
ワイトバランスをとるために前記ゲイン調整を再起動さ
せる条件を示す再起動領域を設定し、 前記求めた座標値と前記設定した停止領域および前記設
定した再起動領域との位置関係に基づいて、前記ゲイン
調整を行なうためのゲイン値を制御することを特徴とす
る請求項3に記載の色信号処理方法。
6. A restart area is set so as to surround the stop area, the restart area indicating a condition for restarting the gain adjustment to obtain the white balance, and the calculated coordinate value, the set stop area, and the The color signal processing method according to claim 3, wherein the gain value for performing the gain adjustment is controlled based on the positional relationship with the set restart region.
【請求項7】 前記求めた前記色差空間上の座標値が前
記設定した再起動領域の外部に存在することを条件とし
て、次に求める前記座標値が前記白色基準点の方向に移
動するように、前記ゲイン調整を行なうためのゲイン値
をその時点におけるゲイン値から変更し、 前記求めた前記色差空間上の座標値が前記設定した停止
領域の内部に存在することを条件として、前記ゲイン調
整を行なうためのゲイン値をその時点におけるゲイン値
に維持する、または通常の前記ゲイン調整の繰返しサイ
クルよりも低速な所定タイミングごとに、次に求める前
記座標値が前記白色基準点の方向に移動するように、前
記ゲイン調整を行なうためのゲイン値をその時点におけ
るゲイン値から変更することを特徴とする請求項6に記
載の色信号処理方法。
7. The coordinate value to be obtained next is moved in the direction of the white reference point on the condition that the obtained coordinate value in the color difference space exists outside the set restart area. , The gain value for performing the gain adjustment is changed from the gain value at that time, and the gain adjustment is performed on condition that the obtained coordinate value on the color difference space exists inside the set stop region. The gain value to be performed is maintained at the current gain value, or the coordinate value to be obtained next is moved in the direction of the white reference point at every predetermined timing that is slower than the normal repetition cycle of the gain adjustment. 7. The color signal processing method according to claim 6, wherein the gain value for performing the gain adjustment is changed from the gain value at that time.
【請求項8】 撮像素子からの撮像信号に基づいて取得
した複数の色信号のうちの少なくとも1つの色信号に対
してゲイン調整を行なうことにより、ホワイトバランス
をとる色信号処理回路であって、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるために前記ゲイン調整を再起動させる基準値
を示す再起動領域を設定し、前記複数の色差信号のそれ
ぞれについての所定期間に亘って積分された複数の積分
信号に基づいて前記色差空間上の座標値を求め、この求
めた座標値と前記設定した再起動領域との位置関係に基
づいて、前記ゲイン調整を行なうためのゲイン値を制御
するホワイトバランスコントローラを備えたことを特徴
とする色信号処理回路。
8. A color signal processing circuit for achieving white balance by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device, The gain in order to achieve the white balance so as to surround a substantial white reference point on a color difference space indicated by a color difference axis corresponding to a plurality of color difference signals generated based on the gain adjusted color signals. Setting a restart region indicating a reference value for restarting the adjustment, to determine the coordinate value on the color difference space based on a plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, A white balance controller is provided for controlling the gain value for performing the gain adjustment based on the positional relationship between the obtained coordinate value and the set restart area. Color signal processing circuit, characterized in that the.
【請求項9】 撮像素子からの撮像信号に基づいて取得
した複数の色信号のうちの少なくとも1つの色信号に対
してゲイン調整を行なうことにより、ホワイトバランス
をとる色信号処理回路であって、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるための前記ゲイン調整を停止させる基準値を
示す停止領域を設定し、前記複数の色差信号のそれぞれ
についての所定期間に亘って積分された複数の積分信号
に基づいて前記色差空間上の座標値を求め、この求めた
座標値と前記設定した停止領域との位置関係に基づい
て、前記ゲイン調整を行なうためのゲイン値を制御する
ホワイトバランスコントローラを備えたことを特徴とす
る色信号処理回路。
9. A color signal processing circuit for achieving white balance by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device, The gain for taking the white balance so as to surround a substantial white reference point on a color difference space indicated by a color difference axis corresponding to a plurality of color difference signals generated based on the gain adjusted color signals. A stop region indicating a reference value for stopping the adjustment is set, and a coordinate value on the color difference space is obtained based on a plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, and the obtained value is obtained. A white balance controller that controls the gain value for performing the gain adjustment based on the positional relationship between the coordinate values and the set stop area. Color signal processing circuit according to claim.
【請求項10】 前記ホワイトバランスコントローラ
は、前記停止領域を取り囲むように、前記ホワイトバラ
ンスをとるために前記ゲイン調整を再起動させる基準値
を示す再起動領域を設定し、前記複数の色差信号のそれ
ぞれについての所定期間に亘って積分された複数の積分
信号に基づいて前記色差空間上の座標値を求め、この求
めた座標値と前記設定した停止領域および前記設定した
再起動領域との位置関係に基づいて、前記ゲイン調整を
行なうためのゲイン値を制御することを特徴とする請求
項9に記載の色信号処理回路。
10. The white balance controller sets a restart area indicating a reference value for restarting the gain adjustment for the white balance so as to surround the stop area, and the white balance controller sets a restart area for the plurality of color difference signals. A coordinate value on the color difference space is obtained based on a plurality of integrated signals integrated over a predetermined period for each, and the positional relationship between the obtained coordinate value and the set stop region and the set restart region. The color signal processing circuit according to claim 9, wherein a gain value for performing the gain adjustment is controlled based on the above.
【請求項11】 撮像素子からの撮像信号に基づいて取
得した複数の色信号のうちの少なくとも1つの色信号に
対してゲイン調整を行なうことにより、ホワイトバラン
スをとる色信号処理回路であって、 前記色信号のゲイン調整を行なうゲイン調整アンプ部
と、 前記ゲイン調整アンプ部によりゲイン調整された色信号
に基づいて、複数の色差信号のそれぞれについての所定
期間に亘って積分された複数の積分信号を取得する積分
処理部と、 前記複数の色差信号に対応する色差軸で示された色差空
間上の実質的な白色基準点を取り囲むように、前記ホワ
イトバランスをとるために前記ゲイン調整を再起動させ
る基準値を示す再起動領域を設定する再起動領域設定部
と、 前記積分処理部により生成された複数の積分信号に基づ
いて、前記色差空間上の座標値を求め、この座標値と前
記再起動領域設定部により設定された前記再起動領域と
の位置関係に基づいて、前記ゲイン調整アンプ部に設定
するためのゲイン値を制御するゲイン制御部とを備えた
ことを特徴とする色信号処理回路。
11. A color signal processing circuit for achieving white balance by performing gain adjustment on at least one color signal of a plurality of color signals obtained based on an image pickup signal from an image pickup device, A gain adjustment amplifier unit that adjusts the gain of the color signal, and a plurality of integrated signals that are integrated over a predetermined period for each of the plurality of color difference signals based on the color signal that has been gain adjusted by the gain adjustment amplifier unit. And an integration processing unit that obtains, and restarts the gain adjustment for the white balance so as to surround a substantial white reference point on the color difference space indicated by the color difference axes corresponding to the plurality of color difference signals. Based on a plurality of integration signals generated by the integration processing unit and a restart region setting unit that sets a restart region indicating a reference value, the color difference sky Gain control for obtaining the upper coordinate value and controlling the gain value to be set in the gain adjustment amplifier section based on the positional relationship between the coordinate value and the restart area set by the restart area setting section. And a color signal processing circuit.
【請求項12】 撮像素子からの撮像信号に基づいて取
得した複数の色信号のうちの少なくとも1つの色信号に
対してゲイン調整を行なうことにより、ホワイトバラン
スをとる色信号処理回路であって、 前記色信号のゲイン調整を行なうゲイン調整アンプ部
と、 前記ゲイン調整アンプ部によりゲイン調整された色信号
に基づいて、複数の色差信号のそれぞれについての所定
期間に亘って積分された複数の積分信号を取得する積分
処理部と、 前記複数の色差信号に対応する色差軸で示された色差空
間上の実質的な白色基準点を取り囲むように、前記ホワ
イトバランスをとるための前記ゲイン調整を停止させる
基準値を示す停止領域を設定する停止領域設定部と、 前記積分処理部により生成された複数の積分信号に基づ
いて、前記色差空間上の座標値を求め、この座標値と前
記停止領域設定部により設定された前記停止領域との位
置関係に基づいて、前記ゲイン調整アンプ部に設定する
ためのゲイン値を制御するゲイン制御部とを備えたこと
を特徴とする色信号処理回路。
12. A color signal processing circuit for achieving white balance by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device, A gain adjustment amplifier unit that adjusts the gain of the color signal, and a plurality of integrated signals that are integrated over a predetermined period for each of the plurality of color difference signals based on the color signal that has been gain adjusted by the gain adjustment amplifier unit. And an integration processing unit that obtains, and stops the gain adjustment for the white balance so as to surround a substantially white reference point on a color difference space indicated by color difference axes corresponding to the plurality of color difference signals. A stop area setting unit that sets a stop area indicating a reference value, and a plurality of integrated signals generated by the integration processing unit based on the color difference space. A gain control unit for obtaining a standard value and controlling a gain value to be set in the gain adjustment amplifier unit based on a positional relationship between the coordinate value and the stop region set by the stop region setting unit. A color signal processing circuit characterized by the above.
【請求項13】 前記停止領域設定部により設定された
前記停止領域を取り囲むように、前記ホワイトバランス
をとるために前記ゲイン調整を再起動させる基準値を示
す再起動領域を設定する再起動領域設定部を備え、 前記ゲイン制御部は、前記座標値と前記停止領域設定部
により設定された前記停止領域および前記再起動領域設
定部により設定された前記再起動領域との位置関係に基
づいて、前記ゲイン調整アンプ部に設定するためのゲイ
ン値を制御することを特徴とする請求項12に記載の色
信号処理回路。
13. A restart area setting for setting a restart area indicating a reference value for restarting the gain adjustment for the white balance so as to surround the stop area set by the stop area setting unit. A gain control unit, based on the positional relationship between the coordinate values and the restart area set by the restart area setting unit and the stop area set by the stop area setting unit, the gain control unit, 13. The color signal processing circuit according to claim 12, which controls a gain value to be set in the gain adjustment amplifier unit.
【請求項14】 前記複数の色信号として、前記撮像信
号からR(赤),G(緑),B(青)の原色信号を分離
する原色分離部を備えたことを特徴とする請求項8から
13のうちの何れか1項に記載の色信号処理回路。
14. The primary color separation unit that separates primary color signals of R (red), G (green), and B (blue) from the image pickup signal as the plurality of color signals. Item 13. The color signal processing circuit according to any one of items 1 to 13.
【請求項15】 前記複数の色差信号に対応する色差軸
として、前記R(赤)の原色信号から前記G(緑)の原
色信号を差し引いた成分であるR−G信号に相当する色
差軸と、前記R(赤)の原色信号に前記B(青)の原色
信号を加算した成分から前記G(緑)の原色信号の2倍
の成分を差し引いた成分であるR+B−2G信号に相当
する色差軸とを用いることを特徴とする請求項14に記
載の色信号処理回路。
15. A color difference axis corresponding to the RG signal, which is a component obtained by subtracting the G (green) primary color signal from the R (red) primary color signal, as a color difference axis corresponding to the plurality of color difference signals. , A color difference corresponding to an R + B-2G signal, which is a component obtained by subtracting a double component of the G (green) primary color signal from a component obtained by adding the B (blue) primary color signal to the R (red) primary color signal. 15. The color signal processing circuit according to claim 14, wherein the axis is used.
【請求項16】 撮像結果に応じた撮像信号を出力する
撮像素子と、 前記撮像素子からの前記撮像信号に基づいて取得した複
数の色信号のうちの少なくとも1つの色信号に対してゲ
イン調整を行なうゲイン調整アンプ部と、 前記ゲイン調整アンプ部によりゲイン調整された色信号
に基づいて、複数の色差信号のそれぞれについての所定
期間に亘って積分された複数の積分信号を取得する積分
処理部と、 前記複数の色差信号に対応する色差軸で示された色差空
間上の実質的な白色基準点を取り囲むように、前記ホワ
イトバランスをとるために前記ゲイン調整を再起動させ
る基準値を示す再起動領域を設定する再起動領域設定部
と、 前記積分処理部により生成された複数の積分信号に基づ
いて、前記色差空間上の座標値を求め、この座標値と前
記再起動領域設定部により設定された前記再起動領域と
の位置関係に基づいて、前記ゲイン調整アンプ部に設定
するためのゲイン値を制御するゲイン制御部とを備えた
ことを特徴とする撮像装置。
16. An image pickup device which outputs an image pickup signal according to an image pickup result, and a gain adjustment for at least one color signal of a plurality of color signals acquired based on the image pickup signal from the image pickup device. A gain adjustment amplifier section to perform, and an integration processing section to obtain a plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, based on the color signals gain-adjusted by the gain adjustment amplifier section. , A restart indicating a reference value for restarting the gain adjustment to achieve the white balance so as to surround a substantially white reference point on the color difference space indicated by the color difference axes corresponding to the plurality of color difference signals. Based on a restart area setting unit that sets a region and a plurality of integration signals generated by the integration processing unit, a coordinate value on the color difference space is obtained, and the coordinate value and the previous value are calculated. An imaging device, comprising: a gain control unit that controls a gain value to be set in the gain adjustment amplifier unit based on a positional relationship with the restart region set by the restart region setting unit. .
【請求項17】 撮像結果に応じた撮像信号を出力する
撮像素子と、 前記撮像素子からの前記撮像信号に基づいて取得した複
数の色信号のうちの少なくとも1つの色信号に対してゲ
イン調整を行なうゲイン調整アンプ部と、 前記ゲイン調整アンプ部によりゲイン調整された色信号
に基づいて、複数の色差信号のそれぞれについての所定
期間に亘って積分された複数の積分信号を取得する積分
処理部と、 前記複数の色差信号に対応する色差軸で示された色差空
間上の実質的な白色基準点を取り囲むように、前記ホワ
イトバランスをとるための前記ゲイン調整を停止させる
基準値を示す停止領域を設定する停止領域設定部と、 前記積分処理部により生成された複数の積分信号に基づ
いて、前記色差空間上の座標値を求め、この座標値と前
記停止領域設定部により設定された前記停止領域との位
置関係に基づいて、前記ゲイン調整アンプ部に設定する
ためのゲイン値を制御するゲイン制御部とを備えたこと
を特徴とする撮像装置。
17. An image pickup device for outputting an image pickup signal according to an image pickup result, and a gain adjustment for at least one color signal of a plurality of color signals acquired based on the image pickup signal from the image pickup device. A gain adjustment amplifier section to perform, and an integration processing section to obtain a plurality of integrated signals integrated over a predetermined period for each of the plurality of color difference signals, based on the color signals gain-adjusted by the gain adjustment amplifier section. , A stop region indicating a reference value for stopping the gain adjustment for the white balance so as to surround a substantially white reference point on the color difference space indicated by the color difference axes corresponding to the plurality of color difference signals. Based on the stop region setting unit to be set and a plurality of integration signals generated by the integration processing unit, a coordinate value in the color difference space is obtained, and the coordinate value and the stop Based on the positional relationship between the stop area set by frequency setting section, the imaging device being characterized in that a gain control unit for controlling a gain value for setting the gain adjusting amplifier unit.
【請求項18】 前記停止領域設定部により設定された
前記停止領域を取り囲むように、前記ホワイトバランス
をとるために前記ゲイン調整を再起動させる基準値を示
す再起動領域を設定する再起動領域設定部を備え、 前記ゲイン制御部は、前記座標値と前記停止領域設定部
により設定された前記停止領域および前記再起動領域設
定部により設定された前記再起動領域との位置関係に基
づいて、前記ゲイン調整アンプ部に設定するためのゲイ
ン値を制御することを特徴とする請求項17に記載の撮
像装置。
18. A restart area setting for setting a restart area indicating a reference value for restarting the gain adjustment for the white balance so as to surround the stop area set by the stop area setting unit. A gain control unit, based on the positional relationship between the coordinate values and the restart area set by the restart area setting unit and the stop area set by the stop area setting unit, the gain control unit, The image pickup apparatus according to claim 17, wherein a gain value to be set in the gain adjustment amplifier unit is controlled.
【請求項19】 前記複数の色信号として、前記撮像信
号からR(赤),G(緑),B(青)の原色信号を分離
する原色分離部を備えたことを特徴とする請求項16か
ら18のうちの何れか1項に記載の撮像装置。
19. The primary color separation unit that separates primary color signals of R (red), G (green), and B (blue) from the image pickup signal as the plurality of color signals. 19. The image pickup apparatus according to any one of items 1 to 18.
【請求項20】 前記複数の色差信号に対応する色差軸
として、前記R(赤)の原色信号から前記G(緑)の原
色信号を差し引いた成分であるR−G信号に相当する色
差軸と、前記R(赤)の原色信号に前記B(青)の原色
信号を加算した成分から前記G(緑)の原色信号の2倍
の成分を差し引いた成分であるR+B−2G信号に相当
する色差軸とを用いることを特徴とする請求項19に記
載の撮像装置。
20. A color difference axis corresponding to the plurality of color difference signals, the color difference axis corresponding to an RG signal which is a component obtained by subtracting the G (green) primary color signal from the R (red) primary color signal. , A color difference corresponding to an R + B-2G signal, which is a component obtained by subtracting a double component of the G (green) primary color signal from a component obtained by adding the B (blue) primary color signal to the R (red) primary color signal. The image pickup device according to claim 19, wherein an axis is used.
【請求項21】 撮像素子からの撮像信号に基づいて取
得した複数の色信号のうちの少なくとも1つの色信号に
対してゲイン調整を行なうことにより、ホワイトバラン
スをとる色信号処理を実行するためのプログラムであっ
て、 コンピュータを、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるために前記ゲイン調整を再起動させる基準値
を示す再起動領域を設定する再起動領域設定部と、 前記複数の色差信号のそれぞれについての所定期間に亘
って積分された複数の積分信号に基づいて前記色差空間
上の座標値を求め、この求めた座標値と前記再起動領域
設定部が設定した前記再起動領域との位置関係に基づい
て、前記ゲイン調整を行なうためのゲイン値を制御する
ゲイン制御部として機能させることを特徴とするプログ
ラム。
21. Color signal processing for achieving white balance is performed by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device. A program, wherein the computer is configured to surround a substantially white reference point on a color difference space indicated by a color difference axis corresponding to a plurality of color difference signals generated based on the gain-adjusted color signal, A restart area setting unit that sets a restart area indicating a reference value for restarting the gain adjustment for white balance, and a plurality of integrals integrated over a predetermined period for each of the plurality of color difference signals. A coordinate value on the color difference space is obtained based on a signal, and based on the positional relationship between the obtained coordinate value and the restart area set by the restart area setting unit. And a program that causes a gain control unit to control a gain value for performing the gain adjustment.
【請求項22】 撮像素子からの撮像信号に基づいて取
得した複数の色信号のうちの少なくとも1つの色信号に
対してゲイン調整を行なうことにより、ホワイトバラン
スをとる色信号処理を実行するためのプログラムであっ
て、 コンピュータを、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるための前記ゲイン調整を停止させる基準値を
示す停止領域を設定する停止領域設定部と、 前記複数の色差信号のそれぞれについての所定期間に亘
って積分された複数の積分信号に基づいて前記色差空間
上の座標値を求め、この求めた座標値と前記停止領域設
定部が設定した前記停止領域との位置関係に基づいて、
前記ゲイン調整を行なうためのゲイン値を制御するゲイ
ン制御部として機能させることを特徴とするプログラ
ム。
22. Color signal processing for achieving white balance is performed by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device. A program, wherein the computer is configured to surround a substantially white reference point on a color difference space indicated by a color difference axis corresponding to a plurality of color difference signals generated based on the gain-adjusted color signal, Based on a plurality of integration signals integrated over a predetermined period for each of the plurality of color difference signals, a stop area setting unit that sets a stop area indicating a reference value for stopping the gain adjustment for white balance. Then, the coordinate value on the color difference space is obtained, and based on the positional relationship between the obtained coordinate value and the stop area set by the stop area setting unit,
A program that functions as a gain control unit that controls a gain value for performing the gain adjustment.
【請求項23】 撮像素子からの撮像信号に基づいて取
得した複数の色信号のうちの少なくとも1つの色信号に
対してゲイン調整を行なうことにより、ホワイトバラン
スをとる色信号処理を実行するためのプログラムであっ
て、 コンピュータを、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるために前記ゲイン調整を再起動させる基準値
を示す再起動領域を設定する再起動領域設定部と、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるための前記ゲイン調整を停止させる基準値を
示す停止領域を設定する停止領域設定部と、 前記複数の色差信号のそれぞれについての所定期間に亘
って積分された複数の積分信号に基づいて前記色差空間
上の座標値を求め、この求めた座標値と前記停止領域設
定部が設定した前記停止領域および前記停止領域設定部
が設定した前記停止領域との位置関係に基づいて、前記
ゲイン調整を行なうためのゲイン値を制御するゲイン制
御部として機能させることを特徴とするプログラム。
23. Color signal processing for achieving white balance is performed by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device. A program, wherein the computer is configured to surround a substantially white reference point on a color difference space indicated by a color difference axis corresponding to a plurality of color difference signals generated based on the gain-adjusted color signal, A restart area setting unit that sets a restart area indicating a reference value for restarting the gain adjustment for white balance, and a plurality of color difference signals generated based on the gain adjusted color signals. A reference value for stopping the gain adjustment for the white balance is set so as to surround a substantially white reference point on the color difference space indicated by the color difference axis. A stop area setting unit that sets a stop area shown, and obtains coordinate values on the color difference space based on a plurality of integrated signals that are integrated over a predetermined period for each of the plurality of color difference signals, and the obtained coordinates Functions as a gain control unit that controls a gain value for performing the gain adjustment based on a positional relationship between a stop region set by the stop region setting unit and the stop region set by the stop region setting unit. A program characterized by:
【請求項24】 撮像素子からの撮像信号に基づいて取
得した複数の色信号のうちの少なくとも1つの色信号に
対してゲイン調整を行なうことにより、ホワイトバラン
スをとる色信号処理を実行するためのプログラムを格納
したコンピュータ読取り可能な記憶媒体であって、 コンピュータを、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるために前記ゲイン調整を再起動させる基準値
を示す再起動領域を設定する再起動領域設定部と、 前記複数の色差信号のそれぞれについての所定期間に亘
って積分された複数の積分信号に基づいて前記色差空間
上の座標値を求め、この求めた座標値と前記再起動領域
設定部が設定した前記再起動領域との位置関係に基づい
て、前記ゲイン調整を行なうためのゲイン値を制御する
ゲイン制御部として機能させるためのプログラムを格納
したことを特徴とする記憶媒体。
24. Color signal processing for achieving white balance is performed by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device. A computer-readable storage medium storing a program, wherein the computer is configured to operate on a color difference space indicated by color difference axes corresponding to a plurality of color difference signals generated based on the gain-adjusted color signals. A restart area setting unit that sets a restart area indicating a reference value for restarting the gain adjustment so as to take the white balance so as to surround a white reference point, and a predetermined period for each of the plurality of color difference signals. The coordinate value on the color difference space is calculated based on a plurality of integrated signals integrated over the range, and the calculated coordinate value and the restart area setting unit are A storage medium, which stores a program for functioning as a gain control unit that controls a gain value for performing the gain adjustment, based on the set positional relationship with the restart region.
【請求項25】 撮像素子からの撮像信号に基づいて取
得した複数の色信号のうちの少なくとも1つの色信号に
対してゲイン調整を行なうことにより、ホワイトバラン
スをとる色信号処理を実行するためのプログラムを格納
したコンピュータ読取り可能な記憶媒体であって、 コンピュータを、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるための前記ゲイン調整を停止させる基準値を
示す停止領域を設定する停止領域設定部と、 前記複数の色差信号のそれぞれについての所定期間に亘
って積分された複数の積分信号に基づいて前記色差空間
上の座標値を求め、この求めた座標値と前記停止領域設
定部が設定した前記停止領域との位置関係に基づいて、
前記ゲイン調整を行なうためのゲイン値を制御するゲイ
ン制御部として機能させるためのプログラムを格納した
ことを特徴とする記憶媒体。
25. A color signal process for achieving white balance is performed by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device. A computer-readable storage medium storing a program, wherein the computer is configured to operate on a color difference space indicated by color difference axes corresponding to a plurality of color difference signals generated based on the gain-adjusted color signals. A stop area setting unit that sets a stop area indicating a reference value for stopping the gain adjustment for taking the white balance so as to surround a white reference point, and a predetermined period for each of the plurality of color difference signals. The coordinate values in the color difference space are calculated based on the integrated signals that have been integrated, and the calculated coordinate values and the stop area setting unit set the values. Based on the positional relationship with the stop area,
A storage medium storing a program for functioning as a gain control unit for controlling a gain value for performing the gain adjustment.
【請求項26】 撮像素子からの撮像信号に基づいて取
得した複数の色信号のうちの少なくとも1つの色信号に
対してゲイン調整を行なうことにより、ホワイトバラン
スをとる色信号処理を実行するためのプログラムを格納
したコンピュータ読取り可能な記憶媒体であって、 コンピュータを、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるために前記ゲイン調整を再起動させる基準値
を示す再起動領域を設定する再起動領域設定部と、 前記ゲイン調整された色信号に基づいて生成された複数
の色差信号に対応する色差軸で示された色差空間上の実
質的な白色基準点を取り囲むように、前記ホワイトバラ
ンスをとるための前記ゲイン調整を停止させる基準値を
示す停止領域を設定する停止領域設定部と、 前記複数の色差信号のそれぞれについての所定期間に亘
って積分された複数の積分信号に基づいて前記色差空間
上の座標値を求め、この求めた座標値と前記停止領域設
定部が設定した前記停止領域および前記停止領域設定部
が設定した前記停止領域との位置関係に基づいて、前記
ゲイン調整を行なうためのゲイン値を制御するゲイン制
御部として機能させるためのプログラムを格納したこと
を特徴とする記憶媒体。
26. A color signal process for achieving white balance is performed by performing gain adjustment on at least one color signal of a plurality of color signals acquired based on an image pickup signal from an image pickup device. A computer-readable storage medium storing a program, wherein the computer is configured to operate on a color difference space indicated by color difference axes corresponding to a plurality of color difference signals generated based on the gain-adjusted color signals. A restart area setting unit that sets a restart area indicating a reference value for restarting the gain adjustment so as to surround the white reference point, and is generated based on the gain-adjusted color signal. The white balance so as to surround a substantially white reference point on the color difference space indicated by the color difference axes corresponding to the plurality of color difference signals. A stop area setting unit that sets a stop area indicating a reference value for stopping the gain adjustment, and the color difference based on a plurality of integrated signals that are integrated over a predetermined period for each of the plurality of color difference signals. Obtaining coordinate values in space, and performing the gain adjustment based on the positional relationship between the obtained coordinate values and the stop area set by the stop area setting unit and the stop area set by the stop area setting unit. A storage medium having stored therein a program for functioning as a gain control unit for controlling a gain value.
JP2002127855A 2002-04-30 2002-04-30 Color signal processing method, color signal processing circuit, imaging apparatus, program, and storage medium Pending JP2003324754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002127855A JP2003324754A (en) 2002-04-30 2002-04-30 Color signal processing method, color signal processing circuit, imaging apparatus, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002127855A JP2003324754A (en) 2002-04-30 2002-04-30 Color signal processing method, color signal processing circuit, imaging apparatus, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2003324754A true JP2003324754A (en) 2003-11-14

Family

ID=29541793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002127855A Pending JP2003324754A (en) 2002-04-30 2002-04-30 Color signal processing method, color signal processing circuit, imaging apparatus, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2003324754A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013088780A1 (en) * 2011-12-13 2013-06-20 シャープ株式会社 White balance adjustment method, white balance adjustment device, program and recording medium
JP2013126045A (en) * 2011-12-13 2013-06-24 Sharp Corp White balance adjustment method, white balance adjustment apparatus, program, and recording media
JP2013126044A (en) * 2011-12-13 2013-06-24 Sharp Corp White balance adjustment method, white balance adjustment apparatus, program, and recording media
CN104914656A (en) * 2012-08-06 2015-09-16 深圳市绎立锐光科技开发有限公司 Light-emitting device and relevant projection system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013088780A1 (en) * 2011-12-13 2013-06-20 シャープ株式会社 White balance adjustment method, white balance adjustment device, program and recording medium
JP2013126045A (en) * 2011-12-13 2013-06-24 Sharp Corp White balance adjustment method, white balance adjustment apparatus, program, and recording media
JP2013126044A (en) * 2011-12-13 2013-06-24 Sharp Corp White balance adjustment method, white balance adjustment apparatus, program, and recording media
CN104914656A (en) * 2012-08-06 2015-09-16 深圳市绎立锐光科技开发有限公司 Light-emitting device and relevant projection system

Similar Documents

Publication Publication Date Title
JP2594913B2 (en) Color video camera
KR100799215B1 (en) Camera
US8514293B2 (en) Moving image processing device and method for performing different image processings to moving object region and still object region
US7196724B2 (en) Image signal processing device, digital camera and computer program product that perform white balance adjustment using pixel outputs from extracted areas
US20140240533A1 (en) Imaging device and image signal processor
US8614751B2 (en) Image processing apparatus and image processing method
US9083929B2 (en) Image-pickup apparatus and white-balance control method provided therefor
EP2426927A2 (en) Image processing apparatus, image processing method and recording medium
US8890973B2 (en) Image processing apparatus, image processing method, and storage medium
US8810681B2 (en) Image processing apparatus and image processing method
JPH1141619A (en) Color signal processing circuit, its processing method and camera using the circuit and the method
US20210360214A1 (en) Image processing apparatus, image processing method, and storage medium
JP2005086641A (en) Imaging device
JP4959237B2 (en) Imaging system and imaging program
WO2000054513A1 (en) Television camera and white balance correcting method
JP2003324754A (en) Color signal processing method, color signal processing circuit, imaging apparatus, program, and storage medium
US11190713B2 (en) Image processing apparatus and method, and imaging apparatus
JPH11341502A (en) Signal processing circuit for solid-state image pickup element and camera system
JP4030398B2 (en) Image processing apparatus, image processing method, program for realizing image processing method, and recording medium recording the program
JP2004363658A (en) Image signal processor
JP7383393B2 (en) Image processing device, image processing method, program, and storage medium
JP3733641B2 (en) Color signal processing circuit
JPH11127442A (en) Camera signal processor and method therefor and medium for recording control program of the same device
CN110166716B (en) Image processing apparatus and image processing method
JP2511872B2 (en) White balance correction circuit