JPS61224796A - Color temperature information forming device and image pickup device - Google Patents

Color temperature information forming device and image pickup device

Info

Publication number
JPS61224796A
JPS61224796A JP6595385A JP6595385A JPS61224796A JP S61224796 A JPS61224796 A JP S61224796A JP 6595385 A JP6595385 A JP 6595385A JP 6595385 A JP6595385 A JP 6595385A JP S61224796 A JPS61224796 A JP S61224796A
Authority
JP
Japan
Prior art keywords
component
temperature information
color temperature
output
color
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
JP6595385A
Other languages
Japanese (ja)
Inventor
Masao Suzuki
雅夫 鈴木
Seiji Hashimoto
誠二 橋本
Akihiko Tojo
明彦 東條
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP6595385A priority Critical patent/JPS61224796A/en
Publication of JPS61224796A publication Critical patent/JPS61224796A/en
Priority to US07/256,103 priority patent/US4833525A/en
Priority to US07/600,148 priority patent/US5239368A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE:To eliminate the influence due to the flickering of a light source in a short time and to obtain the color temperature information of an object by calculating the output of plural color sensors to detect the color component with a different object light concerning the period of the integer times of 1/2 of the prescribed light source. CONSTITUTION:By an R sensor 2 and a B sensor 3 having the same spectral light sensitibity as the image pickup element, an R component and a B component of the light from the object under the light source are respectively detected, and output signals iR and iB are logarithm-compressed by logarithm compressing circuits 4 and 5 and l o g i R and l o g i B are outputted. A ratio l o g i R/iB of the signals lo g i R and iB are obtained by a differential amplifier 6 of a calculating block 14, and added through an LPF 16 to an A/D converter 10. The converter 10 and a microcomputer 11 to calculate and process the output are controlled by the signal from a synchronizing circuit 15 which synchronizes with the control of an element 1, and control values CRD and CBD are outputted from the computer 11. The control values CRD and CBD are D/A converted and the white balance of the image pickup signal from the element 1 is adjusted by R and B signal amplifiers.

Description

【発明の詳細な説明】 [技術分野] 本発明は改良された色温度情報形成装置及び撮像装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an improved color temperature information forming device and imaging device.

[従来技術] 電子カメラ等の撮像装置によって、被写体を撮像する場
合、照明光源の分光感度によって、白い色の被写体が着
色されて再生されてしまうという現象が生じる。従来、
この現象を防止するために光源の色温度を測定し、その
情報をもとにして自動的に撮像装置におけるホワイトバ
ランスを調整する自動追尾式ホワイトバランス調整装置
が提案されている。
[Prior Art] When an image capturing device such as an electronic camera captures an image of a subject, a phenomenon occurs in which a white subject is reproduced as colored depending on the spectral sensitivity of the illumination light source. Conventionally,
In order to prevent this phenomenon, an automatic tracking white balance adjustment device has been proposed that measures the color temperature of the light source and automatically adjusts the white balance in the imaging device based on the information.

第1図は従来の自動追尾式ホワイトバランス調整装置の
1例を示すブロック図である。2はRセンサ、3はBセ
ンサであって、これらは撮像素子lと同じ赤および青の
分光感度を持ち、光源下の被写体からの光のRr&分お
よびB成分を各々検出する。各センサ2および3からの
出力信号iRおよびilBは変化する範囲が非常に広い
ので、これらを、対数圧縮回路4および5によって対数
圧縮してlogiRおよびiogigを各々示す信号を
得る。
FIG. 1 is a block diagram showing an example of a conventional automatic tracking white balance adjustment device. 2 is an R sensor, and 3 is a B sensor, which have the same red and blue spectral sensitivities as the image sensor 1, and detect the Rr& component and B component of light from an object under a light source, respectively. Since the output signals iR and ilB from each sensor 2 and 3 have a very wide variation range, they are logarithmically compressed by logarithmic compression circuits 4 and 5 to obtain signals representing logiR and iogig, respectively.

logiHおよびIogigを示す信号は差動増幅器B
によってその差log(iR/ ie )を示す信号に
変換され、これによって被写体光におけるR成分と日成
分との比が得られる。7は、コントロール電圧導出回路
であって、差動増幅器8からのlog(iR/iB)を
示す信号を入力し、この入力値、すなわち、R成分とB
成分との比に基づいて光源の色温度を判断してコントロ
ール電圧を導出し、導出したコントロール電圧によって
撮像装置lからのR成分を示す信号およびB成分を示す
信号を増幅する増幅器7および8の増幅度を制御し、か
くしてホワイトバランス調整を行う、又、ホワイトバラ
ンス調整の為された信号は信号処理回路13において変
調され多重化されて標準TV信号(例えばNTSC)に
変換される。
The signals indicating logiH and Iogig are connected to differential amplifier B.
This is converted into a signal indicating the difference log(iR/ie), and thereby the ratio of the R component to the daylight component in the subject light is obtained. 7 is a control voltage derivation circuit which inputs a signal indicating log(iR/iB) from the differential amplifier 8, and calculates the input value, that is, the R component and the B component.
Amplifiers 7 and 8 that determine the color temperature of the light source based on the ratio of the color temperature of the light source and derive a control voltage, and use the derived control voltage to amplify the signal indicating the R component and the signal indicating the B component from the imaging device 1. The amplification degree is controlled, thus performing white balance adjustment, and the white balance adjusted signal is modulated and multiplexed in the signal processing circuit 13 and converted into a standard TV signal (for example, NTSC).

ところで蛍光灯などの特殊な(点滅)光源では、光のチ
ラッキ(フリッカ−)が発生しでいる。このフリッカ−
は商用電源周波数の2倍の周期で発生しており、ざらに
各色成分は互いに異なった強さを持っている。そのため
log(iR/is )を示す差動増幅器8の出力信号
も商用電源周波数の2倍の周期でその大きさが変化する
ことになる。蛍光灯光源下において1人間の視覚ではフ
リッカ−はそれほど感じられないが、色センサーは、光
源のフリッカ−によって発生する被写体の周期的な色の
変化を正確に検出する。
However, with special (blinking) light sources such as fluorescent lamps, flickering of light occurs. This flicker
occurs at a frequency twice the frequency of the commercial power supply, and each color component has roughly different strengths. Therefore, the output signal of the differential amplifier 8 indicating log(iR/is) also changes in magnitude at a period twice the commercial power supply frequency. Although flicker is not so noticeable to the human eye under a fluorescent light source, a color sensor accurately detects the periodic color change of a subject caused by the flicker of the light source.

フリッカ一対策として、ビデオカメラでは、差動増幅器
Bとコントロール電圧算出回路7との間にアナログロー
パスフィルターを挿入しており、これによってフリ7カ
ーによる悪影響を防止している。ところが電子カメラの
ように、電源を投入してから短時間でホワイトバランス
調整を行わなければならない機器においては、取り除か
なくてはならない信号成分の周波数が100Hzぐらい
の低周波数であるため、アナログのローパスフィルター
では時定数が大きくて不適当である。
As a countermeasure against flicker, an analog low-pass filter is inserted between the differential amplifier B and the control voltage calculation circuit 7 in the video camera, thereby preventing the adverse effects of flicker. However, in devices such as electronic cameras that require white balance adjustment within a short time after the power is turned on, the frequency of the signal component that must be removed is as low as 100 Hz, so analog low-pass A filter has a large time constant and is inappropriate.

また、例えば、第1図のように色センサーとして、R(
赤)およびB(青)2種類のセンサーを用いた撮像装置
においては、光源のG(グリーン)成分の情報は得られ
ないことになる。従来は太陽光に近い黒体放射を基準と
しており、この場合には、Rm分とB成分との比率が決
まると、これらとG成分との比率も決まるので、Rおよ
びB成分比よりG成分の比率を予測することができた。
Also, for example, as shown in Fig. 1, as a color sensor, R(
In an imaging device using two types of sensors, red) and B (blue), information on the G (green) component of the light source cannot be obtained. Conventionally, black body radiation, which is close to sunlight, is used as the standard. In this case, when the ratio of the Rm component and the B component is determined, the ratio between these and the G component is also determined, so the G component is determined from the R and B component ratio. We were able to predict the ratio of

ところが蛍光灯のような光源では、特有のスペクトルを
持つため、黒体放射の場合のようにRおよび8成分出力
比からG成分の比率を予測することがむずかしい、その
ため蛍光灯光源に対してはG成分の補正が的確にできず
、再生画像が緑がかってしまう。
However, since light sources such as fluorescent lamps have a unique spectrum, it is difficult to predict the ratio of the G component from the R and 8 component output ratios as in the case of black body radiation. The G component cannot be corrected accurately, and the reproduced image becomes greenish.

[目的] 本発明の目的は上述のような従来技術の欠点を除去し、
蛍光灯等のフリッカ−のある光源の下でも、短時間で色
のチラッキによる影響のない色温度情報の形成ができ、
さらに、例えばRおよびBの2種類のセンサーを用いた
場合にも、G(グリーン)成分も含めて適正な色温度情
報の形成を行うことが可能な色温度情報形成装置を提供
することにある。
[Objective] The object of the present invention is to eliminate the drawbacks of the prior art as described above,
Even under flickering light sources such as fluorescent lights, color temperature information can be formed in a short time without being affected by color flickering.
Furthermore, it is an object of the present invention to provide a color temperature information forming device capable of forming appropriate color temperature information including a G (green) component even when using two types of sensors, for example, R and B. .

又、上述のようなフリッカ−のある光源下でも適正なカ
ラー画像の得られる撮像装置を提供する事にある。
Another object of the present invention is to provide an imaging device that can obtain a proper color image even under a flickering light source as described above.

[実施例] 第2図は本発明の色温度情報形成装置を含む撮像装置の
一実施例を示す構成図である。第2図において2はRセ
ンサ、3はBセンサであって、これらは撮像装置1にお
ける撮像素子と同じ赤および青の分光感度を持ち、光源
下からの被写体からの光のR成分およびB成分を各々検
出する。各センサ2および3からの出力信号iRおよび
1Bは変化する範囲が非常に広いので、これらを、対数
圧縮@路4および5によって対数圧縮してlogiRお
よびiogiBを各々示す信号を得る。 logiRお
よびiogieを示す信号は差動増幅器8によってその
差log(iR/ in )を示す信号に変換され、こ
れによって被写体光におけるR成分とB成分との比が得
られる。
[Embodiment] FIG. 2 is a configuration diagram showing an embodiment of an imaging device including the color temperature information forming device of the present invention. In FIG. 2, 2 is an R sensor, and 3 is a B sensor, which have the same red and blue spectral sensitivities as the image sensor in the imaging device 1, and have the R and B components of light from the subject under the light source. Detect each. Since the output signals iR and 1B from each sensor 2 and 3 have a very wide range of variation, they are logarithmically compressed by logarithmic compression@paths 4 and 5 to obtain signals representing logiR and iogiB, respectively. The signals indicating logiR and iogie are converted by the differential amplifier 8 into a signal indicating the difference log(iR/in), thereby obtaining the ratio of the R component and the B component in the subject light.

被写体光におけるR成分とB成分との比を示す差動増幅
器6の出力はローパスフィルタ1Bを介してからA/D
コンバータ10において撮像装置lを駆動する為の同期
信号を形成する同期回路15の出力に同期してデジタル
信号に変換することによって不連続にサンプリングする
。ここでサンプリング同期を商用電源周波数fsに対し
次のように選ぶ。
The output of the differential amplifier 6, which indicates the ratio of the R component to the B component in the subject light, is passed through the low-pass filter 1B and then sent to the A/D.
In the converter 10, discontinuous sampling is performed by converting into a digital signal in synchronization with the output of a synchronization circuit 15 that forms a synchronization signal for driving the imaging device l. Here, the sampling synchronization is selected with respect to the commercial power supply frequency fs as follows.

即ちフリッカ−成分は電源の極性の絶対値に依存するか
ら周波数は2fsとなる。又、この2fsの成分をサン
プリングするにはナイキストのサンプリング定理により
を4fs以上のサンプリング周波数が必要となる。よっ
てサンプリング周期は(1/4)fsよりも小さくする
必要がある。実際には後述するように第4次高調波近傍
までフリッカ−成分が広がっている為(1/1B)fs
よりも短い周期である事が9ましい、 A/Dコンバー
タlOからの信号はマイクロコンピュータ11において
やはり同期回路15からの出力に同期して演算処理し、
デジタルコントロール値cttaおよびceDを導出す
る。マイクロコンピュータ11はCPU 、 RAMお
よび第4図に示す如き手順を記憶したROMを有する。
That is, since the flicker component depends on the absolute value of the polarity of the power supply, the frequency is 2 fs. Furthermore, in order to sample this 2fs component, a sampling frequency of 4fs or more is required according to Nyquist's sampling theorem. Therefore, the sampling period needs to be smaller than (1/4) fs. In reality, as will be explained later, the flicker component spreads to the vicinity of the 4th harmonic (1/1B) fs
The signal from the A/D converter IO is preferably processed in the microcomputer 11 in synchronization with the output from the synchronous circuit 15.
Derive digital control values ctta and ceD. The microcomputer 11 has a CPU, a RAM, and a ROM that stores procedures as shown in FIG.

導出したデジタルコントロール値を示す信号は、マイク
ロコンピュータ11から口/Aコンバータ12に入力し
、このD/^コンバータによってアナログコントロール
値CRおよびceに変換して、それぞれR信号増幅器8
およびB信号増幅器3に入力する。入力されたコントロ
ール値cRおよびGoによって撮像素子1からの信号(
被写体光におけるR成分およびB成分を各々示す)を増
幅する増幅器8およびSの増幅度を制御し、ホワイトバ
ランス調整を行う。尚、14は色温度情報形成手段とし
ての演算ブロックである。
A signal indicating the derived digital control value is inputted from the microcomputer 11 to the input/A converter 12, and converted by this D/^ converter into analog control values CR and ce, which are respectively sent to the R signal amplifier 8.
and input to the B signal amplifier 3. The signal from the image sensor 1 (
The amplification degrees of the amplifiers 8 and S that amplify the R and B components of the subject light are controlled, and the white balance is adjusted. Note that 14 is a calculation block as a color temperature information forming means.

マイクロコンピュータ11においては、次の(1)およ
び(2)に示す演算を行う。
The microcomputer 11 performs the following calculations (1) and (2).

(1)  被写体光におけるR成分とB成分との比を示
す差動増幅器6の出力の周期的変化分を除去する。
(1) Remove the periodic variation in the output of the differential amplifier 6, which indicates the ratio of the R component to the B component in the subject light.

(2)前記変化分の大きさく振幅)を測定して、それに
応じてコントロール信号を補正する。
(2) Measure the magnitude of the change (amplitude) and correct the control signal accordingly.

(1)については次のような演算を行う。Regarding (1), the following calculation is performed.

この場合、差動増幅器出力の周期的変化分の周波数成分
は、商用電源周波数の2倍(2fs)を基本波として、
その1次、2次、3次、4次・・・の高周波のみからな
る。したがって、(1/:fs)[秒]の期間における
差動増幅器出力の平均をとればその変化分が除去できる
ことがわかる。ところで商用電源周波数は関東地方で5
0Hzおよび関西地方で130Hzと分かれているため
、周期(1/2fs)[秒]は第3図のように関東地方
では(17100)秒となり、関西地方では1/120
秒となり、両者は一致しない、この際、差動増幅器出力
に関して、例えば(1/120)秒の期間の平均を求め
ると、関西地方では正確に平均がとれ差動増幅器出力の
周期的変化分を除去できるが、関東地方では基本波の1
周期が終わりきっていないのでそれができない、そこで
、(1/20)秒の期間の平均をとるとすれば、これは
関東地方で基本波の5周期および関西地方で基本波の6
周期となり、どちらも(1/20)秒において周期が完
了する。したがって、その期間(1/20秒)の平均を
とれば正確な値が得られることになる。このように(1
/20)秒つまり50■Sで差動増幅器出力の周期的変
化分を除去することができるので、アナログのローパス
フィルターを用いた従来例よりも短時間で前記変化分が
除去されたコントロール信号が得られることになる。
In this case, the frequency component of the periodic variation of the differential amplifier output is set to twice the commercial power supply frequency (2fs) as the fundamental wave,
It consists only of the first, second, third, fourth, etc. high frequencies. Therefore, it can be seen that the variation can be removed by averaging the differential amplifier output during a period of (1/:fs) [seconds]. By the way, the commercial power frequency is 5 in the Kanto region.
Since it is divided into 0Hz and 130Hz in the Kansai region, the period (1/2fs) [seconds] is (17100) seconds in the Kanto region and 1/120 seconds in the Kansai region, as shown in Figure 3.
seconds, and the two do not match.In this case, if you calculate the average over a period of (1/120) seconds for the differential amplifier output, for example, in the Kansai region, the average will be obtained accurately, and the periodic changes in the differential amplifier output will be calculated. It can be removed, but in the Kanto region, the fundamental wave 1
This is not possible because the cycle has not finished, so if we take the average over a period of (1/20) seconds, this is 5 cycles of the fundamental wave in the Kanto region and 6 cycles of the fundamental wave in the Kansai region.
The cycle is completed in (1/20) seconds in both cases. Therefore, an accurate value can be obtained by taking the average over that period (1/20 second). Like this (1
Since the periodic changes in the differential amplifier output can be removed in /20) seconds, or 50 S, the control signal from which the changes have been removed can be generated in a shorter time than in the conventional example using an analog low-pass filter. You will get it.

次に前記(2)についてであるが、これについては、差
動増幅器出力の周期的変化分の振幅をもとめ、その振幅
値を関数として、撮像装置lからの信号(映像信号中)
のRおよびBfIt分の増幅度に対するG成分の相対的
増幅度をどの程度にするかを決定し、G成分の相対的増
幅度がこの決定した値になるようにコントロール信号を
補正する。つまり、差動増幅器出力の周期的変化分の振
幅が大きい時は、例えば蛍光灯のみが光源であると考え
られるので、映像信号中のG成分の割合が少なくなるよ
うにする。また、同振幅が小さいときはフリッカ−のな
い太陽光等が光源であると判断して映像信号中のG成分
の割合を多くなるようにし。
Next, regarding (2) above, the amplitude of the periodic change in the output of the differential amplifier is determined, and the signal from the imaging device l (in the video signal) is calculated using the amplitude value as a function.
The relative amplification degree of the G component with respect to the amplification degree of R and BfIt is determined, and the control signal is corrected so that the relative amplification degree of the G component becomes the determined value. That is, when the amplitude of the periodic change in the output of the differential amplifier is large, it is considered that, for example, only a fluorescent lamp is the light source, so the proportion of the G component in the video signal is reduced. Furthermore, when the same amplitude is small, it is determined that sunlight or the like without flicker is the light source, and the proportion of the G component in the video signal is increased.

さらに蛍光灯と太陽光とが同時に存在するような光源下
では、作動増幅器出力の周期的変化分の振幅は、蛍光灯
からの光量と太陽光量との比率に対応するので、その振
幅値の関数として映像信号中のRおよび日成分に対する
G成分の割合を調整することになる。
Furthermore, under a light source where a fluorescent lamp and sunlight exist simultaneously, the amplitude of the periodic change in the output of the differential amplifier corresponds to the ratio of the amount of light from the fluorescent lamp to the amount of sunlight, so it is a function of the amplitude value. As a result, the ratio of the G component to the R and day components in the video signal is adjusted.

第4図に実際にマイクロコンピュータ11によって実行
するフローチャートを示す、なお、この第4図では、A
/DおよびD/Aコンバータおよびマイクロコンピュー
タは8 bit処理のものとする。
FIG. 4 shows a flowchart actually executed by the microcomputer 11. In this FIG.
The /D and D/A converters and microcomputer are assumed to be 8-bit processing.

wS4図に示すように、ステップS!においてマイクロ
コンピュータ内のRAMの所定領域A、B、NおよびE
に、期値として静0.B冨255.N −0および!−
0を設定する。ついでステップS2において差動増幅器
出力をA/Dコンバータによってサンプリングする。つ
いでステップS3においてマイクロコンピュータ内のR
A)IIの領域Cにサンプリングされた差動増幅器出力
のデジタル値を設定する0次にステップS4においてC
とA(初期値は0)との大きさを比べ、Cの方がAより
大きければステップS5にすすんでAをCに置きかえる
(つまりAはサンプルした出力の最大値を示すことにな
る)、CよりAが大きければステップSSにすすむ、ス
テップS8においてCとB(初期値は255)との大き
さを比べ、Cの方がBより小さければステップS7にす
すんでBをCにMきかえる(つまりBはサンプルした出
力の最小値を示すことになる)、CよりBが小さければ
ステップS8にすすむ、ステップS8においてN(初期
値は0)が一定値jより小さかったらステップS9にす
すんでE(初期値は0)とCとを加算ししたものをEと
し、さらにステップS10にすすんでNを1だけ増し、
ついでステップS2に戻って再度差動増幅器出力をサン
プリングする。ステップS2〜S8およびS9.SIO
を、Nがjより大きくなるまでくり返す、すなわちステ
ップS8においてN)jになったならばステップSll
にすすみ、そこでN−j+1かを判断し、そうであれば
ステップ312にすすんでサンプルした出力の最大値と
最小値との差(D−A−B)を調べる。ついでステップ
S13にすすんでこのDが一定値aより小さいかを判断
し、aよりDが小さければ、差動増幅器の出力に周期的
変化分はないと判断してステップS14にすすんで、マ
イクロコンピュータ内のRAMの領域Iに一定値すを設
定し、同RAMの領域Gに一定値Cを設定し、ついでス
テップS15にすすんで、太陽光等の緑の補正を行わな
くて良い光源としてコントロール電圧CuoオよびCB
、をCR−F+dxCおよびCB =G+eXCに基づ
いて求める(Cはもっとも新しくサンプルした差動増幅
器出力)、ついでステップS1Bにすすんで、求めたコ
ントロール電圧賄逼よびC8諌D/Aコンバータに出力
し、ステップS2に戻る。
As shown in wS4 figure, step S! Predetermined areas A, B, N and E of RAM in the microcomputer in
, the initial value is static 0. B 255. N −0 and! −
Set to 0. Then, in step S2, the differential amplifier output is sampled by the A/D converter. Then, in step S3, R in the microcomputer
A) Set the digital value of the sampled differential amplifier output in region C of II.
and A (initial value is 0), and if C is larger than A, proceed to step S5 and replace A with C (that is, A indicates the maximum value of the sampled output). If A is larger than C, proceed to step SS. In step S8, compare the sizes of C and B (initial value is 255), and if C is smaller than B, proceed to step S7 and exchange B to C. (In other words, B indicates the minimum value of the sampled output.) If B is smaller than C, proceed to step S8. If N (initial value is 0) is smaller than the constant value j in step S8, proceed to step S9. The sum of E (initial value is 0) and C is set to E, and the process proceeds to step S10, where N is increased by 1.
Then, the process returns to step S2 and the differential amplifier output is sampled again. Steps S2-S8 and S9. SIO
is repeated until N becomes larger than j, that is, if N)j is reached in step S8, step Sll is repeated.
Then, it is determined whether N-j+1, and if so, the process proceeds to step 312 to check the difference (D-A-B) between the maximum value and the minimum value of the sampled output. Next, the process proceeds to step S13, where it is determined whether this D is smaller than a constant value a. If D is smaller than a, it is judged that there is no periodic variation in the output of the differential amplifier, and the process proceeds to step S14, where the microcomputer A constant value is set in area I of RAM in the RAM, a constant value C is set in area G of the same RAM, and then the process proceeds to step S15, where the control voltage is set as a light source that does not require green correction such as sunlight. Cuo and CB
, is determined based on CR-F+dxC and CB=G+eXC (C is the most recently sampled differential amplifier output), and then proceeds to step S1B, where the determined control voltage supply is output to the C8 D/A converter, Return to step S2.

ところでjの値であるが、これは、N−jまでに差動増
幅器出力の周期的変化分の振幅を求めなくてはならない
ことから(ステップS2〜SIOのくり返しによる)、
Jの値を基本波の1周期経過の時点を示すタイミングに
適用しなければならない。
By the way, regarding the value of j, this is because the amplitude of the periodic change in the differential amplifier output must be found by N-j (by repeating steps S2 to SIO).
The value of J must be applied to the timing that indicates the passage of one period of the fundamental wave.

したがってA/ロコンバータにおけるサンプリングクロ
ックの周波数をIKHzとし、商用電源周波数を115
0 c/sとした場合、サンプリングしなくてはならな
い回数は1/100g÷1/1000g = 10回と
なり、j=8となる。
Therefore, the frequency of the sampling clock in the A/B converter is set to IKHz, and the commercial power supply frequency is set to 115
In the case of 0 c/s, the number of times sampling must be performed is 1/100g÷1/1000g=10 times, and j=8.

さてステップS13において10rjiJサンプリング
した差動増幅器出力の周期的変化分の振幅が一定値a以
上であれば、ステップS8にすすんでざらにEにCを加
え、ステップSIOにすすんでNを1増加させてステッ
プS2に戻り、再び差動増幅器出力をサンプリングする
Now, in step S13, if the amplitude of the periodic variation of the differential amplifier output sampled by 10rjiJ is equal to or larger than the fixed value a, the process proceeds to step S8, where C is roughly added to E, and the process proceeds to step SIO, where N is increased by 1. Then, the process returns to step S2 and the differential amplifier output is sampled again.

そして、ステップS8からステップS1!にすすみ、N
はj+1以上であるからステップS17にすすみ、N−
Kかを判断する。すなわち、NがKになるまで(1/2
0秒経過するまで、サンプリング周期を’ 1kHzト
L?、ら、K−1/2G+ 1/1000−1−49)
サンプリングをくり返し、EにCを加えていく(ステッ
プS2〜S8.S17.S9およびSIOをこの順序で
くり返す)、ステップS17において、トKになったら
、ステップS1BにすすんでEをに+1で割って、差動
増幅器出力の平均値、つまり周期的変化分を除去した値
ごを得る。ついでステップS19にすすんでさらにその
時の振幅D−A−Bを求め、ついでステップ920にす
すんでその値(D)が1定値f以上かを判断し、D)f
であれば、光源は蛍光灯のみと判断し、ステップS21
にすすんで映像信号中のG成分をRおよびB成分に対し
て相対的に弱めるようにする。すなわち、例えばRおよ
び日成分処理回路を有する撮像装置においては、G成分
のゲインを変える回路は存在しないので、RおよびB成
分のG成分に対する割合を多くするように、F−f(一
定値)およびG=g(一定値)とし、Cをでとしたうえ
でステップS15にすすむ、一方、ステップS20にお
いてD(fであればステップS22にすすんでD(aか
を判断する。 D(aであればステップS14にすすん
で前記同様に光源は太陽光であるとしてコントロール電
圧を補正する。また、D)aであれば光源として太陽と
蛍光灯とが混合していると判断し、ステップ923にす
すんでその振幅りの1次関数としテF−b+D Xh(
一定値) 、 Gsc+D Xl(一定値)を演算し、
ステップS15にすすむ0以上の様にしてコントロール
電圧CゆIC8Dを求める。
Then, step S8 to step S1! Nissumi, N
is greater than or equal to j+1, so proceed to step S17, and N-
Determine if K. That is, until N becomes K (1/2
Set the sampling period to 1kHz until 0 seconds have elapsed. , et al., K-1/2G+ 1/1000-1-49)
Repeat the sampling and add C to E (repeat steps S2 to S8.S17.S9 and SIO in this order).When tK is reached in step S17, proceed to step S1B and add E to +1. By dividing, the average value of the differential amplifier output, that is, the value with periodic changes removed, is obtained. Next, the process proceeds to step S19 to further obtain the amplitude D-A-B at that time, and then proceeds to step 920 to determine whether the value (D) is greater than or equal to 1 constant value f.
If so, it is determined that the light source is only a fluorescent lamp, and the process proceeds to step S21.
Then, the G component in the video signal is weakened relative to the R and B components. That is, for example, in an imaging device having an R and day component processing circuit, there is no circuit that changes the gain of the G component, so F-f (constant value) is and G=g (a constant value), and after setting C, proceed to step S15. On the other hand, if D(f) in step S20, proceed to step S22 to determine whether D(a). If so, the process proceeds to step S14 and corrects the control voltage assuming that the light source is sunlight as described above.Also, if D)a, it is determined that the light source is a mixture of the sun and a fluorescent lamp, and the process proceeds to step S923. Let's take the linear function of its amplitude as F-b+D Xh(
Calculate Gsc+D Xl (constant value),
The control voltage C to IC8D is determined as 0 or more, which proceeds to step S15.

なお、差動増幅器出力から周期的変化分を除去する手段
として上述以外にもいくつか手段が考えられる。上述の
例では関東地方でも関西地方でも正確に平均がとれるよ
うに(1/20)秒の間サンプリングを行ったが、例え
ばサンプリング周波数の周期を(1/1200)秒とす
れば、関東地方では12回目のサンプリングで1周期と
なって1回目のサンプリング値と等しくなり、関西地方
では10回目で同じことになる。そこで10回目のサン
プリング値と1回目のサンプリング値とを比べ、両者が
等しければ関西地方として、その時点で差動増幅器出力
の平均をとり、両者が異なれば関東地方としてもう2回
サンプリングして12回の平均をとる。
In addition to the above-mentioned methods, several other methods can be considered as means for removing the periodic variation from the output of the differential amplifier. In the above example, sampling was performed for (1/20) seconds so that an accurate average could be taken in both the Kanto and Kansai regions. However, if the sampling frequency period is (1/1200) seconds, for example, in the Kanto region, The 12th sampling constitutes one cycle and becomes equal to the first sampling value, and in the Kansai region, the 10th sampling is the same. Therefore, compare the 10th sampling value and the 1st sampling value, and if they are equal, the Kansai region is determined and the average of the differential amplifier output is taken at that point. If they are different, the Kanto region is sampled two more times and the 12 Take the average of the times.

このようにすれば、差動増幅器出力の変化分除去に50
m5を要したところを関西地方では17120秒ですみ
、関東地方では17100秒ですむことになり、一層短
時間でホワイトバランス調整が行える。
In this way, it is possible to remove the variation in the output of the differential amplifier by 50%.
In the Kansai region, it takes 17,120 seconds to adjust the white balance, whereas in the Kanto region, it takes 17,100 seconds to adjust the white balance.

高調波の高域成分(例えば450Hz以上の成分)が折
り返す可能性があるので、時定数の小さいアナログロー
パスフィルター16で高域成分を落としておいてからサ
ンプリングするようにしているのでノイズが少なく効果
的である。尚、このローパスフィルター18は帯域制限
手段として機能しておりバンドパスフィルターやトラッ
プ回路によっても同様の効果を得ることができる。
Since there is a possibility that harmonic high-frequency components (for example, components of 450 Hz or higher) may be aliased, the high-frequency components are dropped using an analog low-pass filter 16 with a small time constant before sampling, which reduces noise and is effective. It is true. Note that this low-pass filter 18 functions as a band-limiting means, and a similar effect can be obtained by using a band-pass filter or a trap circuit.

ところで、撮像装置の一部を構成する撮像素子や撮像管
にもフリッカ−の影響はあるはずであるから、撮像信号
自体が色のチラッキをもつことになる。撮像素子、例え
ばCODの場合には、1定時間電荷を蓄積するので前記
した差動増幅器出力の平均をとるのと同じ効果で、チラ
ッキを効果的に減らすことができるが、これをシャッタ
ーを有する電子カメラに用いた場合には、CCDへの蓄
積時間がシャッターによって短くなることがあるので、
そのような場合には、ホワイトバランス調整装置だけで
フリッカ−を補正しても、撮像信号の方にチラッキが出
てしまい、無意味になってしまう、そこで、ホワイトバ
ランス調整装置における差動増幅器出力の平均をとる期
間をCCDにおける電荷蓄積時間と同期させることによ
ってチラッキを効果的に補正することができる0本実施
例ではこのようなことも考えてサンプリングタイミング
l撮像素子tlの駆動走査タイミングとを同期させるよ
うにしている点にも特徴がある。
Incidentally, since the image pickup device and the image pickup tube that constitute a part of the image pickup device are also affected by flicker, the image pickup signal itself will have color flicker. In the case of an image sensor, such as a COD, since charge is accumulated for a certain period of time, flickering can be effectively reduced with the same effect as averaging the output of the differential amplifier described above, but this can be effectively reduced by using a shutter. When used in an electronic camera, the storage time on the CCD may be shortened by the shutter.
In such a case, even if the flicker is corrected only by the white balance adjustment device, flicker will appear in the image signal and it will be meaningless. Therefore, the differential amplifier output in the white balance adjustment device Flickering can be effectively corrected by synchronizing the averaging period with the charge accumulation time in the CCD. In this embodiment, taking this into consideration, the sampling timing l and the drive scanning timing of the image sensor tl are set. Another feature is that it is synchronized.

また、映像信号中の緑成分の補正方法として。Also, as a method for correcting green components in video signals.

RセンサーおよびBセンサーによって導かれたR成分と
BIi!i、分との比からその光源の種類を予想するこ
とが考えられる0例えばR/Bが1.5以上なら室内蛍
光灯であると判断して緑成分の割合を少なくし、R/B
が2.5以上ならタングステン光源と判断し、1.5以
下なら屋外太陽光として緑成分の補正を行う。
R component and BIi! guided by R sensor and B sensor! It is possible to predict the type of light source from the ratio of i and min0. For example, if R/B is 1.5 or more, it is determined that it is an indoor fluorescent light, and the proportion of green component is reduced, and the R/B
If it is 2.5 or more, it is determined that it is a tungsten light source, and if it is 1.5 or less, it is considered as outdoor sunlight and the green component is corrected.

尚1以上の実施例ではホワイトバランス調整装置の一部
として色温度情報形成装置を用いたが、本発明の色温度
情報形成装置は単に色温度情報を表示したり、警告した
りする為のものであっても良い。
In the above embodiments, the color temperature information forming device is used as a part of the white balance adjustment device, but the color temperature information forming device of the present invention is merely for displaying color temperature information or giving a warning. It may be.

又、実施例の色温度情報形成手段はRセンサとBセンサ
の対数圧縮値を減算することにより色温度情報を形成し
ているが1例えば単に両センサ出力の比を演算するもの
であっても良い。
Further, although the color temperature information forming means in the embodiment forms color temperature information by subtracting the logarithm compression values of the R sensor and the B sensor, it is also possible to simply calculate the ratio of the outputs of both sensors. good.

[効果] 以上説明したように本発明によれば蛍光灯などのフリッ
カ−のある光源の下でも、およびこれらと太陽光との混
在下でも適正な色温度情報を短時間で得ることができる
[Effects] As described above, according to the present invention, appropriate color temperature information can be obtained in a short time even under flickering light sources such as fluorescent lamps and under a mixture of these and sunlight.

置のブロック図、 第2図は本発明の一実施例を示すブロック図、第3図は
、差動増幅器出力の平均のとり方を説明するためのフリ
ッカ−の模式図、 第4図は本発明実施例における実際動作のためのフロー
チャートである。
2 is a block diagram showing an embodiment of the present invention, FIG. 3 is a schematic diagram of a flicker to explain how to average the differential amplifier output, and FIG. 4 is a block diagram showing an embodiment of the present invention. It is a flowchart for actual operation in an example.

2・・・Rセンサ、 3・・・Bセンサ、 lO・・・A/Dコンバータ、 11・・・マイクロコンピュータ、 12・・・D/Aコンバータ。2...R sensor, 3...B sensor, lO...A/D converter, 11...Microcomputer, 12...D/A converter.

第1図Figure 1

Claims (1)

【特許請求の範囲】 1)被写体光から互いに異なる色成分を各々検出する複
数の色センサーと、 該複数の色センサーの出力を所定光源の点滅周期の1/
2の整数倍の期間について演算することによつて被写体
の色温度情報を形成する色温度情報形成手段と、 を有する色温度情報形成装置。 2)被写体光から互いに異なる色成分を各々検出する複
数の色センサと、 該複数の色センサの出力を所定光源の点滅周期の1/2
の整数倍の期間いついて演算することによつて被写体の
色温度情報を形成する色温度情報形成手段と、 該色温度情報形成手段の出力に応じてホワイトバランス
の制御されるカラー撮像手段と、 を有する撮像装置。
[Claims] 1) A plurality of color sensors each detecting different color components from subject light, and outputs of the plurality of color sensors are set to 1/1 of the blinking cycle of a predetermined light source.
A color temperature information forming device comprising: color temperature information forming means for forming color temperature information of a subject by calculating for a period that is an integral multiple of 2. 2) A plurality of color sensors each detecting different color components from the subject light, and the output of the plurality of color sensors is set to 1/2 of the blinking cycle of a predetermined light source.
color temperature information forming means for forming color temperature information of a subject by performing calculations over a period that is an integer multiple of the color temperature information forming means; a color imaging means for controlling white balance in accordance with the output of the color temperature information forming means; An imaging device having:
JP6595385A 1985-03-27 1985-03-29 Color temperature information forming device and image pickup device Pending JPS61224796A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP6595385A JPS61224796A (en) 1985-03-29 1985-03-29 Color temperature information forming device and image pickup device
US07/256,103 US4833525A (en) 1985-03-29 1988-10-07 High speed color balance adjusting device capable of compensating for a flickering light source
US07/600,148 US5239368A (en) 1985-03-27 1990-10-19 High speed color balance adjusting device capable of compensating for a flickering light source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6595385A JPS61224796A (en) 1985-03-29 1985-03-29 Color temperature information forming device and image pickup device

Publications (1)

Publication Number Publication Date
JPS61224796A true JPS61224796A (en) 1986-10-06

Family

ID=13301854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6595385A Pending JPS61224796A (en) 1985-03-27 1985-03-29 Color temperature information forming device and image pickup device

Country Status (1)

Country Link
JP (1) JPS61224796A (en)

Similar Documents

Publication Publication Date Title
US4833525A (en) High speed color balance adjusting device capable of compensating for a flickering light source
JPH04373365A (en) Television camera
US5239369A (en) Image pickup apparatus used in a flickering light
EP1615451B1 (en) Digital video camera with automatic white balance and a method thereof
JP2003264850A (en) Digital camera
US5239368A (en) High speed color balance adjusting device capable of compensating for a flickering light source
JP2003333616A (en) White balance adjustment method, image pickup device, program, and storage medium
US5087936A (en) Camera
JPS61224796A (en) Color temperature information forming device and image pickup device
JPS61224797A (en) Color temperature information forming device and image pickup device
JP3774480B2 (en) Imaging device
JP2564893B2 (en) Flicker removal device
JP2566425B2 (en) Imaging device
JP3150988B2 (en) Color imaging device
JP3108109B2 (en) Color imaging device
JPS61198989A (en) Image pickup device
JPH06125495A (en) Video camera equipment
JPH0341889A (en) Automatic white balance module
JP2878607B2 (en) Imaging device
JPS62159594A (en) Automatic white color adjusting device for television camera
JPH04309076A (en) Flicker decreasing method and its device
JPH0272771A (en) Camera
JPH06113193A (en) Image pickup device
JPH056399B2 (en)
JPH0494272A (en) Image pickup device