JPS61280530A - Colorimetric sensor - Google Patents

Colorimetric sensor

Info

Publication number
JPS61280530A
JPS61280530A JP60122190A JP12219085A JPS61280530A JP S61280530 A JPS61280530 A JP S61280530A JP 60122190 A JP60122190 A JP 60122190A JP 12219085 A JP12219085 A JP 12219085A JP S61280530 A JPS61280530 A JP S61280530A
Authority
JP
Japan
Prior art keywords
output
color
sensor
color temperature
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP60122190A
Other languages
Japanese (ja)
Other versions
JPH0556077B2 (en
Inventor
Masao Suzuki
雅夫 鈴木
Seiji Hashimoto
誠二 橋本
Tsutomu Takayama
勉 高山
Toshio Kaji
敏雄 鍛冶
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 JP60122190A priority Critical patent/JPS61280530A/en
Publication of JPS61280530A publication Critical patent/JPS61280530A/en
Publication of JPH0556077B2 publication Critical patent/JPH0556077B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Spectrometry And Color Measurement (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE:To obtain an image near to visual sensation even when the color temp. of a light source is extreme, by controlling the output of a color sensor having received predetermined adjustment so as to allow the change in the output of said sensor to gradually become small when the color temp. information obtained by applying operational processing to said output is out of a predetermined level range. CONSTITUTION:The output photocurrents of the R-color colorimetric sensor and B-color colorimetric sensor of a colorimetric sensor 4 and the temp. measuring output current of a current dividing part 8 are selectively supplied to be converted to voltages logarithmically compressed by a logarithmic amplifier part 5 to be stored in a memory 12 through an A/D converter 11. An operation circuit 13 calculates color temp. information on the basis of the memory 12 and, when the calculated result is out of a predetermined level, memories M1-M3 or memories M4-M6 are referred to through a system controller SC and color temp. information controlled so as to become small as a level becomes higher or lower is outputted to adjust the image pickup signal from an image sensor 15. Therefore, even when the color temp. of a light source is extremely high or low, the image approaching the visual sensation of a person is obtained.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は測色センサ装置に関し、特に色温度が極端に
高く、あるいは低い場合にも人間の目で見た感覚に近づ
いた映像を得ることを可能にする手段に閣する。
[Detailed Description of the Invention] (Industrial Application Field) This invention relates to a colorimetric sensor device, and in particular to obtaining an image close to the sense seen by the human eye even when the color temperature is extremely high or low. We will take measures to make this possible.

(従来の技術) 従来のいわゆる自動追尾式色バランス調整装置では、あ
る範囲(例えば2500”K〜10000” K)の色
温度の光源のもとての被写体の映像を一定の色温度(例
えば5400”K)の光源のもとでの被写体の映像と等
しくするように調整していた。つまり人間の目は、色温
度を補正する機能を有することから、撮像装置にもこの
機能をもたせるものである。
(Prior Art) A conventional so-called automatic tracking type color balance adjustment device converts an image of a subject under a light source with a color temperature in a certain range (for example, 2500"K to 10000"K) to a color temperature of a constant color temperature (for example, 5400"K). The image was adjusted to be equal to the image of the subject under a light source of "K".In other words, since the human eye has a function to correct color temperature, the imaging device should also have this function. be.

一方、本出願人は、特願昭59−64969号(昭和5
9年3月30日出願)において、互いに異なる色信号を
それぞれ検出する複数の色センサの出力レベルに応じて
、各色センサの出力が所定のレベル範囲に入るように各
色センサの出力のオフセットを調整することにより、広
範囲の明るさの光を正確に測色する測色センサ装置につ
いて提案した。
On the other hand, the present applicant has filed Japanese Patent Application No. 59-64969 (Showa 5
(filed on March 30, 2009), the offset of the output of each color sensor is adjusted according to the output level of a plurality of color sensors that respectively detect different color signals, so that the output of each color sensor falls within a predetermined level range. We proposed a colorimetric sensor device that can accurately measure the color of light with a wide range of brightness.

(発明が解決しようとする問題点) ところで1色部度が極端に高かったり、あるいは極端に
低かったりする場合には、人間の目の色温度補正機能は
あまり効かないため、実際に人間の目で見ると被写体が
赤っぽく、あるいは青つぼ〈見えるものであるのに対し
、前記の色バランス調整装置によれば一定の色温度範囲
についてはすべて完全に色温度補正を行うので、撮像装
置のよる映像は、目の感覚とくい違って不自然な感じに
なってしまう0例えば、夕焼は空で撮影したのに、あた
かも真昼に撮影したように見えることになる。
(Problem to be solved by the invention) By the way, when the intensity of one color is extremely high or extremely low, the color temperature correction function of the human eye is not very effective. When viewed with a camera, the subject appears reddish or blue-colored, but with the color balance adjustment device described above, the color temperature is completely corrected within a certain color temperature range. For example, even though a sunset is taken in the sky, it looks as if it was taken in the middle of the day.

また前記のオフセット調整手段によれば、色温度の範囲
が極端に広い場合には前記の色センサ(例えば赤色信号
を検出するRセンサと青色信号を検出するBセンサ)の
出力の差が大きくなり、同じオフセット値のもとでは、
色センサの出力を正確に処理するためにこれをデジタル
量に変換するA/Dコンバータの入力範囲に入らなくな
り、またオフセット調整を行うに当たり誤差を少なくす
るためRセンサ及びBセンサの出力を同じオフセット値
で取りこむようにしても、前記の゛ように再出力の差が
大きすぎて同じオフセット値に入らない場合が生じ、こ
れをシステムコントローラのプログラムによって解決す
ることは可能であるが、処理に多少の時間を要し、瞬時
性を重んじる静止画像の撮影の障害になることもある。
Furthermore, according to the offset adjustment means, when the range of color temperatures is extremely wide, the difference in the outputs of the color sensors (for example, the R sensor that detects a red signal and the B sensor that detects a blue signal) becomes large. , under the same offset value,
In order to accurately process the output of the color sensor, it is no longer within the input range of the A/D converter that converts it into a digital quantity, and in order to reduce errors when performing offset adjustment, the outputs of the R and B sensors are set to the same offset. Even if you try to import the values, as mentioned above, there are cases where the re-output difference is so large that the same offset value cannot be used. Although it is possible to solve this problem with the system controller program, it takes some processing time. This takes time and can be an obstacle when taking still images, where instantaneousness is important.

したがって、この発明は、従来の技術の前述の欠点を除
去し、光源の色温度が極端に高かったり、あるいは低か
ったりする場合にも1人間の目で見た感覚により近づい
た感じの映像を得ることができる測色センサ装置を提供
することを目的とする。
Therefore, the present invention eliminates the above-mentioned drawbacks of the prior art and obtains an image that is closer to the sense seen by the human eye even when the color temperature of the light source is extremely high or low. The object of the present invention is to provide a colorimetric sensor device that can perform color measurement.

(問題点を解決するための手段) この発明の測色センサ装置は、上記の問題点を解決する
ため、互いに異なる色信号をそれぞれ検出する複数の色
センサと、前記色センナの出力のオフセット調整を行う
手段と、前記のオフセット調整をされた色センサの出力
を演算処理して色温度情報を形成する手段であって、こ
の色温度情報が所定のレベル範囲外にあるときその出力
変化が徐々に小さくなよう制御されるものとを具えるも
のである。
(Means for Solving the Problems) In order to solve the above problems, the colorimetric sensor device of the present invention includes a plurality of color sensors that respectively detect different color signals, and offset adjustment of the output of the color sensor. and a means for calculating and processing the output of the color sensor subjected to the offset adjustment to form color temperature information, wherein when the color temperature information is outside a predetermined level range, the output changes gradually. It is a device that is controlled to be small.

(作 用) この発明の測色センサ装置は、上記の構成に基づき、光
源の色温度が極端に高かったり、低かったりする場合に
色温度情報の出力変化を徐々に小さくするので、色温度
が所定の範囲を超えて高くなり、あるいは低くなるにつ
れて色温度補正の度合いを弱くし、人間の目の色温度補
正機能があまり効かない色温度範囲において人間の目の
特性により近い色温度補正を行うものである。
(Function) Based on the above configuration, the colorimetric sensor device of the present invention gradually reduces the output change of color temperature information when the color temperature of the light source is extremely high or low. The degree of color temperature correction is weakened as the color temperature becomes higher or lower than a predetermined range, and color temperature correction that is closer to the characteristics of the human eye is performed in the color temperature range where the color temperature correction function of the human eye is not very effective. It is something.

(実施例) 以下図面を参照してこの発明の測色センサ装置の実施例
について説明する。下記の説明は、この発明の測色セン
サ装置の実施例の全体構成、同実施例におけるオフセッ
ト調整手段、同じく色センサの出力レベル検出手段及び
この発明の測色センサ装置の実施例の作用の順序で行う
(Example) An example of the colorimetric sensor device of the present invention will be described below with reference to the drawings. The following description describes the overall configuration of the embodiment of the colorimetric sensor device of the present invention, the offset adjustment means in the same embodiment, the output level detection means of the color sensor, and the order of operation of the embodiment of the colorimetric sensor device of the present invention. Do it with

(この発明の測色センサ装置の実施例の全体構成)(第
1図) 第1図(A)は、この発明の測色センサ装置の一実施−
例の全体構成を示し、図中1はデコード部、2は、デコ
ード部1に対してシステムコントローラSCからセレク
ト信号が入力される入力端、3はスイッチ部、4は、例
えば赤色を検出するRセンサ及び青色を検出するBセン
サを含む測色センサ、5はログアンプ部、6は最終アン
プ部であり、デコード部1は、入力端2に入力されるセ
レクト信号に応じて最終アンプ部6からA/Dコンバー
タ11へどの信号を出力するかを制御する。スイッチ部
3は、デコード部1の制御によって測色センサ4から出
力される光電流をログアンプ部5へ転送するかどうかを
選択する。なお光電流がログアンプ部5へ転送されない
ときは、当該センサをショートして余分な電子ホール対
を取り去るようにする。ログアンプ部5は、測色センサ
4からスイッチ部3を介して出力される光電流を対数圧
縮された電圧に変換して出力し、最終アン、ブ部6は、
ログアンプ部5の出力を次段のA/Dコンバータ11の
入力レベルに合わせるように増幅する。
(Overall configuration of an embodiment of the colorimetric sensor device of the present invention) (FIG. 1) FIG. 1(A) shows an embodiment of the colorimetric sensor device of the present invention.
The overall configuration of the example is shown. In the figure, 1 is a decoding section, 2 is an input terminal to which a selection signal is input from the system controller SC to the decoding section 1, 3 is a switch section, and 4 is an R for detecting red color, for example. 5 is a log amplifier section, 6 is a final amplifier section, and the decoder 1 receives signals from the final amplifier section 6 according to a select signal input to the input terminal 2. Controls which signal is output to the A/D converter 11. The switch section 3 selects whether or not to transfer the photocurrent output from the colorimetric sensor 4 to the log amplifier section 5 under the control of the decoder section 1 . Note that when the photocurrent is not transferred to the log amplifier unit 5, the sensor is short-circuited to remove excess electron-hole pairs. The log amplifier section 5 converts the photocurrent outputted from the colorimetric sensor 4 via the switch section 3 into a logarithmically compressed voltage and outputs it.
The output of the log amplifier section 5 is amplified to match the input level of the A/D converter 11 at the next stage.

7Aはレファレンス電流制御部であり、例えば外付は抵
抗R,によってレファレンス電流I ratの大きさを
調節し、最終アンプ部6のオフセット等をキャンセルす
る。7Bは基準電圧設定部であって、ログアンプ部5及
び最終アンプ部6に対する基準電圧Vrefを設定する
。8は電流分流部であってログアンプ部5における電圧
の温度変動をキャンセルするための電流を設定する。9
は、信号源及びオフセット調整手段としてのオフセット
部であって、R信号及びB信号をA/Dコンバータ11
の変換可能な範囲の信号にするため最終アンプ部6の出
力Voutにオフセット電圧を与えるための電流を形成
する。なおその詳細については、第2図を参照して後述
する。10はオフセット部9のオフセット値を制御する
ためのモード設定入力端であってシステムコントローラ
Scからのモード設定信号が入力される。
Reference numeral 7A denotes a reference current control section, which adjusts the magnitude of the reference current Irat using, for example, an external resistor R, and cancels the offset of the final amplifier section 6, etc. A reference voltage setting section 7B sets a reference voltage Vref for the log amplifier section 5 and the final amplifier section 6. Reference numeral 8 denotes a current shunt section, which sets a current for canceling temperature fluctuations in voltage in the log amplifier section 5. 9
is an offset unit serving as a signal source and offset adjustment means, and is an offset unit that converts the R signal and B signal into the A/D converter 11.
A current is generated to apply an offset voltage to the output Vout of the final amplifier section 6 in order to convert the signal into a convertible range. The details will be described later with reference to FIG. 2. Reference numeral 10 denotes a mode setting input terminal for controlling the offset value of the offset section 9, into which a mode setting signal from the system controller Sc is input.

11は最終アンプ部6の出力をデジタル信号に変換する
ためのA/Dコンバータ、12はその出力を記憶するメ
モリ、13はメモリ12の出力に基づいて色温度情報を
形成する演算手段としての演算回路であり、メモリM1
〜M6が接続されている。
11 is an A/D converter for converting the output of the final amplifier section 6 into a digital signal; 12 is a memory for storing the output; and 13 is an arithmetic unit for forming color temperature information based on the output of the memory 12. circuit, memory M1
~M6 is connected.

14はレベル検出手段の一例であるレベル検出回路であ
って、最終アンプ部6の出力V autのレベルがどの
範囲にあるかを検出し、その検出信号をシステムコント
ローラSCに出力する。なおその詳細については、第5
図を参照して後述する。
Reference numeral 14 denotes a level detection circuit which is an example of level detection means, which detects in what range the level of the output V out of the final amplifier section 6 is, and outputs the detection signal to the system controller SC. For details, please refer to Part 5.
This will be described later with reference to the drawings.

システムコントローラSCは、図示のようにこの測色セ
ンサ装置各部の動作及び動作タイミングを制御するが、
その詳細については、第6図を参照して後述する。
The system controller SC controls the operation and operation timing of each part of this colorimetric sensor device as shown in the figure.
The details will be described later with reference to FIG.

15〜.18は、この測色センサによってその利得を制
御される撮像装置の概略を示し、15はイメージセンサ
、16.17はイメージセンサ15の出力中の各色信号
であるR、G及びB信号の利得を相対的に制御する利得
制御アンプであり、この例ではR及びB信号に対してそ
れぞれ設けられ、演算回路13の出力によって利得を制
御さfこ れ、被写体の色温度ゆ応じた各色信号のレベル合わせが
行われる。18はプロセス・エンコーダであって、前記
のR,G及びB信号に基づき標準テレビジ璽ン信号、例
えばNTSC信号を形成する。
15~. 18 schematically shows an imaging device whose gain is controlled by this colorimetric sensor, 15 is an image sensor, and 16.17 shows the gains of R, G, and B signals, which are the color signals output from the image sensor 15. This is a gain control amplifier that controls relatively, and in this example, it is provided for each R and B signal, and the gain is controlled by the output of the arithmetic circuit 13.This adjusts the level of each color signal according to the color temperature of the subject. will be held. A process encoder 18 forms a standard television signal, for example, an NTSC signal, based on the R, G, and B signals.

次に第1図(A)の測色センサ装置の動作について説明
する。Rセンサ及びBセンサよりなる測色センサ4で発
生する光電流は、デコード部1及びスイッチ部3により
、選択的に、ログアンプ部5に送られたり、シ厘−トさ
れたりする。ログアンプ部5へ送られた光電流は電圧に
変換され、かつ対数圧縮された後、最終アンプ部6で増
幅され、出力される。上記の流れを信号取りこみモード
とする。またデコード部lの制御によって測色センサ4
からログアンプ部5へ電流を送らず、電流分流部8から
ログアンプ部5へ後記の一定電流を流し、上記と同様に
して最終アンプ部6より出力する。これによって周囲温
度を測るので、上記の流れを温度測定モードとする。す
なわち、システムコントローラSCからセレクト信号入
力端2の各入力端子A、Bへ(0、0)信号が送られる
と、Bセンサの出力がログアンプ部5を経て最終アンプ
部6より出力され、(0,1)W号が送られるとRセン
サの出力が、(1、0)信号が送られると電流分流部8
の出力電流11が、(1゜1)信号が送られると電流分
流部8の出力電流1611が、同様に最終アンプ部6よ
り出力される、したがって各センサ及び定電流源として
の電流分流部8の出力に対して時分割処理を行うので回
路構成を簡単にすることができる。
Next, the operation of the colorimetric sensor device shown in FIG. 1(A) will be explained. A photocurrent generated by the colorimetric sensor 4 consisting of an R sensor and a B sensor is selectively sent to or shunted to a log amplifier section 5 by a decoder section 1 and a switch section 3. The photocurrent sent to the log amplifier section 5 is converted into a voltage, logarithmically compressed, and then amplified by the final amplifier section 6 and output. The above flow is called signal acquisition mode. Also, under the control of the decoding section l, the colorimetric sensor 4
No current is sent from the current to the log amplifier section 5, but a constant current (described later) is passed from the current shunting section 8 to the log amplifier section 5, and is outputted from the final amplifier section 6 in the same manner as described above. Since the ambient temperature is measured by this, the above flow is set as the temperature measurement mode. That is, when a (0, 0) signal is sent from the system controller SC to each input terminal A, B of the select signal input terminal 2, the output of the B sensor is outputted from the final amplifier section 6 via the log amplifier section 5, and ( When the 0, 1) W signal is sent, the output of the R sensor is output, and when the (1, 0) signal is sent, the current shunt section 8
When the output current 11 of (1°1) is sent, the output current 1611 of the current shunt section 8 is similarly outputted from the final amplifier section 6. Therefore, each sensor and the current shunt section 8 as a constant current source Since time-division processing is performed on the output of , the circuit configuration can be simplified.

このようにしてシステムコントローラSCからのセレク
ト信号により、Rセンサ、Bセンサ及び電流分流部8の
出力が、それぞれ時系列的にログアンプ部5、最終アン
プ部6を経て、A/ワコンバータ11でA/D変換され
てメモリ12に供給され、メモリ12にはRセンサ、B
センサ及び電流分流部8の出力がそれぞれいったん記憶
される。演算回路13は、これらの記憶値に基づき温度
変動の影響を除いたRセンサとBセンサとの出力比を演
算し、この出力比は、色温度に1対lに°対応する。
In this way, according to the select signal from the system controller SC, the outputs of the R sensor, the B sensor, and the current shunt section 8 are sent to the A/W converter 11 through the log amplifier section 5 and the final amplifier section 6 in time series, respectively. It is A/D converted and supplied to the memory 12, and the memory 12 has an R sensor and a B sensor.
The outputs of the sensor and current shunt section 8 are each temporarily stored. The calculation circuit 13 calculates the output ratio of the R sensor and the B sensor, excluding the influence of temperature fluctuation, based on these stored values, and this output ratio corresponds to the color temperature at a ratio of 1:1.

この発明の実施例においては、演算回路13から色温度
情報として出力され、利得制御アンプ16.17の利得
を制御する信号に第1図CB)及び(C)に示すような
出力特性をもたせる。すなわち−人力のnogR/B=
Xが所定の範囲(例えば同図CB)のα3〜β3の範囲
)であれば出力のlogR/B=YはXに比例して変化
するが、Xがα3以上又はβ3以下であればXに対する
Yの変化が徐々に小さくなるような特性をもたせる。そ
のためには、演算回路13にメモリM1〜M6が接続さ
れ、X〉α1であればメモリMlの記憶値を色温度情報
として出力し、α1〉x〉α2であればメモリM2の記
憶値を、α2〉x〉α3であればメモリM3の記憶値を
出力するようにする。同様に、xくβlであればメモリ
M4の記憶値を、βl <x<β2であればメモリM5
の記憶値を、β2くxくβ3であればメモ、すM6の記
憶値を出力するようにする。これにより、色温度が高く
なるにつれて色バランスが徐々に変化して青っぽくなっ
て行き、また色温度が低くなるにつれて色バランスが徐
々に変化して赤っぽくなって行く、シたがって夕暮を夕
暮らしく撮ることができ、きわめて明るい被写体も臨場
感のあるように撮ることができるので、人間の目の感覚
により近づいた感じの映像を得ることができる。なお実
際には、α1〜α3及びβ1〜β3の数をさらに多くし
、上記の特定の値を記憶するメモリをさらに多く設ける
ことを可とする。上記の特性をもたせるための制御手順
については、第6図を参照してさらに詳細に説明する。
In the embodiment of the present invention, the signal outputted as color temperature information from the arithmetic circuit 13 and used to control the gain of the gain control amplifiers 16 and 17 has output characteristics as shown in FIG. 1CB) and FIG. 1C. In other words - human power nogR/B=
If X is in a predetermined range (for example, the range of α3 to β3 in CB in the same figure), the output logR/B=Y will change in proportion to X, but if X is α3 or more or β3 or less, A characteristic is provided in which the change in Y gradually becomes smaller. For this purpose, the memories M1 to M6 are connected to the arithmetic circuit 13, and if X>α1, the value stored in the memory M1 is output as color temperature information, and if α1>x>α2, the value stored in the memory M2 is output as the color temperature information. If α2>x>α3, the value stored in the memory M3 is output. Similarly, if x x βl, the value stored in memory M4 is stored, and if βl <x<β2, the value stored in memory M5 is
If the stored value is β2 x β3, the stored value of M6 is output as a memo. As a result, as the color temperature increases, the color balance gradually changes and becomes bluish, and as the color temperature decreases, the color balance gradually changes and becomes reddish. This allows you to take pictures of extremely bright objects with a sense of realism, making it possible to obtain images that are closer to the senses of the human eye. In reality, it is possible to further increase the numbers of α1 to α3 and β1 to β3, and to provide more memories for storing the above-mentioned specific values. The control procedure for providing the above characteristics will be explained in more detail with reference to FIG.

第1図CB)に示す、出力Yが段階的に変化する特性を
もたせる代わりに、同1ffl (C)に示すように入
力Xの変化に対しYが連続的に変化し、Xが高低の極端
に近づくほどYの変化が徐々に小さくなるような特性を
もたせることもできる。そのためには、同図(C)に示
す変換を行うテーブルを内蔵するメモリを演算回路13
に付設し、Xの変化に対応するYの値を表わす信号を演
算回路13より出力するようにすればよい。
Instead of having the characteristic that the output Y changes stepwise as shown in Figure 1CB), Y changes continuously in response to changes in the input X, as shown in Figure 1ffl (C), and It is also possible to provide a characteristic in which the change in Y gradually decreases as it approaches . To do this, a memory containing a table for performing the conversion shown in FIG.
The arithmetic circuit 13 may output a signal representing the value of Y corresponding to a change in X.

さらに、第1図(A)の測色センサ装置においては、R
センサ及びBセンサの出力がA/Dコンバータllによ
るA/D変換可能な範囲外であるときは、第6図を参照
して後述する手段により、上記の演算処理された情報で
はなく、メモリM1又はM4に記憶されている時短の情
報を出力する。
Furthermore, in the colorimetric sensor device of FIG. 1(A), R
When the outputs of the sensor and the B sensor are outside the range that can be A/D converted by the A/D converter II, the information is stored in the memory M1 instead of the above-mentioned arithmetic processed information by the means described later with reference to FIG. Or output the time saving information stored in M4.

(この発明の実施例におけるオフセット調整手段)(第
2図〜第4図) 次に、前記特願昭59−64966号の明細書を参照し
て上記の実施例におけるオフセット調整手段の要点につ
いて説明する。第2図は、第1図(A)中の最終アンプ
部6及びオフセット部9の具体的な回路構成の一例を示
し、最終アンプ部6において、21はオペアンプであっ
てその(+)入力端の電位は信号電圧をVsとして(V
s+Vref)であり、その(−)入力端に接続される
抵抗R1の他端の電位はVrefである。オフセット部
9においてCMI 、0M2.0M3は電流ミラー回路
、C,D、Eは第1図(A)のモード設定入力端10を
構成する入力端子である。IOは最終アンプ部6の出力
電圧Voutのオフセットを調整するためのオフセット
部9の出力電流であり、その値は、後述のように入力端
子C,D、Hに入力される信号によって制御される各ミ
ラー回路の出力電流11.I2.I3の組合わせによっ
て定められる。そして11.I2.I3の比率は、はぼ
4:2:lになるように設定されるが、その詳細につい
ては後述する。またI2は定電流ICに対しl2=Ic
に設定される。
(Offset adjustment means in the embodiment of the present invention) (Figs. 2 to 4) Next, the main points of the offset adjustment means in the above embodiment will be explained with reference to the specification of the above-mentioned Japanese Patent Application No. 59-64966. do. FIG. 2 shows an example of a specific circuit configuration of the final amplifier section 6 and offset section 9 in FIG. 1(A). In the final amplifier section 6, 21 is an operational amplifier whose (+) The potential of (V
s+Vref), and the potential at the other end of the resistor R1 connected to its (-) input end is Vref. In the offset section 9, CMI, 0M2.0M3 are current mirror circuits, and C, D, and E are input terminals forming the mode setting input terminal 10 of FIG. 1(A). IO is the output current of the offset section 9 for adjusting the offset of the output voltage Vout of the final amplifier section 6, and its value is controlled by signals input to input terminals C, D, and H as described later. Output current of each mirror circuit 11. I2. It is determined by the combination of I3. And 11. I2. The ratio of I3 is set to approximately 4:2:l, the details of which will be described later. Also, I2 is l2=Ic for constant current IC.
is set to

ここで最終アンプ部6のオフセットを調整する態様につ
いて説明する。第2図において、抵抗R1を流れる電流
Is−は、 I s = (V s +Vref −Vref ) 
/ R1= V s / R1 で与えられるが、一方、Isは、抵抗R2を流れる電流
をIs’として I s=I s’−IO で表わされるので I S’ =Vs/R1+I O となる。よって出力電圧Voutは Vout =Vs+Vref + (Vs/R1+I 0)IR2 =Vs ” (R1+R2)/R1 +Vref +I OR21111* (1)で表わさ
れる。
Here, a mode of adjusting the offset of the final amplifier section 6 will be explained. In FIG. 2, the current Is- flowing through the resistor R1 is Is = (Vs +Vref -Vref)
/R1=Vs/R1 On the other hand, Is is expressed as Is=Is'-IO, where Is' is the current flowing through the resistor R2, so Is'=Vs/R1+IO. Therefore, the output voltage Vout is expressed as Vout=Vs+Vref+(Vs/R1+I0)IR2=Vs''(R1+R2)/R1+Vref+IOR21111* (1).

したがって、Ioの大きさを変化させることによりV 
outのオフセットを調整することができる。例えば第
3図に示すように、I oR2=0の場合にはEV5〜
EVIOまでの光量しか扱えないが、IO@R2=1.
5VのときはEV2.5〜EV7.5.I□−R2=3
VのときハE V O〜EV5の光量を扱うことができ
る。すなわち、オフセットl0eR2を加えることによ
りEVO〜EVIOまでの光量を扱うことができる。そ
のため11.I2.I3は前述のように設定され、第2
図の入力端子C−Hに入力される1又はO信号の組合わ
せにより、出力電流IO及びオフセット電圧は表1に示
すように変化する。
Therefore, by changing the magnitude of Io, V
The offset of out can be adjusted. For example, as shown in Fig. 3, when IoR2=0, EV5~
It can only handle light intensity up to EVIO, but IO@R2=1.
When it is 5V, EV2.5~EV7.5. I□-R2=3
When it is V, it is possible to handle a light amount of E V O to EV5. That is, by adding the offset l0eR2, the light amount from EVO to EVIO can be handled. Therefore 11. I2. I3 is set as described above and the second
The output current IO and offset voltage change as shown in Table 1 depending on the combination of 1 or O signals input to the input terminals C-H in the figure.

ここで第1図(A)及び第2図の装置において色温度情
報を形成するには、式(1)のV’sとしてRセンサ、
Bセンサの出力信号を読みとり、その比を求めればよい
のであるが、上記のセンサのオフセフI4整をしている
ので、2種類の信号がともに同じモードに入っているこ
とが必要であり、そうでなければ誤差の影響を生ずる。
Here, in order to form color temperature information in the apparatuses shown in FIG. 1(A) and FIG. 2, as V's in equation (1), R sensor,
All you have to do is read the output signal of the B sensor and find the ratio, but since the offset I4 of the sensor mentioned above is adjusted, it is necessary that the two types of signals are both in the same mode. Otherwise, an error effect will occur.

すなわち、第4図(イ)のようにオフセットに冗長性を
表1 もたせない場合には、上記の2種類の信号をR。
That is, when redundancy is not provided to the offset as shown in FIG. 4(a), the above two types of signals are set to R.

Bとすると、同図の22のようにRとBとが同じモード
内に入っているときはよいが、同図の23のようにRは
上のモード内に入っており、Bはその下のモード内に入
っているときは、この状態でRとBとの比を演算しても
全く誤った結果を算出することになる。
B, it is good when R and B are in the same mode as in 22 in the same figure, but R is in the upper mode and B is in the lower mode as in 23 in the same figure. When the mode is set, even if the ratio between R and B is calculated in this state, a completely incorrect result will be calculated.

そこで、この装置では、第4図(ロ)のように各モード
間で重なり部分を設けることによりこの欠点を防いでい
る。ただし、この重なり部分は、RとBと差よりも大き
くなるように設定される。
Therefore, in this device, this drawback is prevented by providing an overlapping portion between each mode as shown in FIG. 4(b). However, this overlapping portion is set to be larger than the difference between R and B.

このようにすると、例えば、Rはモード■に入っている
が、Bはその下限よりも低いときでも、(ロ)のモード
■にするとR,Bともにこのモード内に入ることになる
In this way, for example, even if R is in mode (2) and B is lower than its lower limit, if (b) is set to mode (2), both R and B will be in this mode.

モード設定の手順は、システムコントローラSCにより
自動的に行われ、その詳細については、第6図を参照し
て後述するが、ここではモード設定の手順の一例につい
て簡単に説明する。先ず、基準モードとしてのモード■
にしてその範−にRが入っているかどうかを確かめる。
The mode setting procedure is automatically performed by the system controller SC, and details thereof will be described later with reference to FIG. 6, but an example of the mode setting procedure will be briefly described here. First, the mode as a reference mode■
and check whether R is in that range.

Rが■のL限(−5V)より大きければモード■へとぶ
If R is larger than the L limit (-5V) of ■, go to mode ■.

(■の下限(−9V)より小さければモード■へとぶや
さらに■へとんだとして、その■の上限、下限とRとを
比べ、モー・ド◎あるいはモード■へ移動する。
(If it is smaller than the lower limit (-9V) of ■, it goes to mode ■ and then goes to ■.The upper and lower limits of ■ are compared with R, and the mode moves to mode ◎ or mode ■.

このようにしてRの入るモードをさがす、Rの入るモー
ドが見つかったら、Bが入るかどうかを調べる。ここで
、Bもそのモードに入っていれば、そのモードに対応し
たオフセットを与えるためにモード設定入力端10に対
してシステムコントローラSCよりコード信号を入力し
て所定のオフセットを与え、この状態でRセンサ出力、
Bセンサ出力及び電流分流部8の出力をそれぞれセレク
ト信号の制御により順次処理し、A/D変換した後メモ
リ12に記憶させ、その後これらを演算処理して色温度
情報を形成する。ここで電流ミラー回路CMI〜CM3
の出力11〜工3の電流値が誤差を有すると、その分オ
フセット電圧にも誤差分が含まれて目標とする光の明る
さの範囲をカバーできなくなる。なおRとBとの差は、
EVO,5段分あるとする。
In this way, we search for a mode in which R can fit, and once we find a mode in which R can fit, we check whether B can fit in it. Here, if B is also in that mode, in order to give an offset corresponding to that mode, a code signal is input from the system controller SC to the mode setting input terminal 10 to give a predetermined offset, and in this state, R sensor output,
The B sensor output and the output of the current shunt section 8 are each sequentially processed under the control of a select signal, A/D converted, stored in the memory 12, and then arithmetic processed to form color temperature information. Here, the current mirror circuit CMI~CM3
If the current values of the outputs 11 to 3 have an error, the offset voltage will also include the error, making it impossible to cover the target light brightness range. The difference between R and B is
Assume that there are 5 stages of EVO.

この場合2つの問題が生ずる。$1は、下限(モード■
)で目標とする光の明るさの範囲をカバーできるように
、誤差に対して、十分マージンをとらなければならない
ということである0例えば、電流工1〜I3に±10%
の誤差が考えられるとしてIc=100μAとすると、 I 1=200ルA→220〜180ILAI2=10
0ルA→110〜90舊A l3=  50ルA→ 55〜45ルAとなる。
Two problems arise in this case. $1 is the lower limit (mode ■
), it is necessary to provide a sufficient margin for error so that the range of target light brightness can be covered.
Assuming that there is an error of Ic=100μA, I1=200A→220~180ILAI2=10
0 ru A → 110 to 90 舊 A l3 = 50 ru A → 55 to 45 ru A.

モード■で最大誤差を生じた場合、350ILAである
べきところが385 ILA又は3154Aとなる。こ
の場合、問題となるのは315JLAの方であるが、そ
の誤差分35ILAにR2を掛けた誤差電圧を見こんで
モード■の下限のEV値を定めれば、この問題には対処
できる。もし、誤差電圧が1vならばEVI段分に相当
するから、モード■の下限をEVIとすればEV2まで
は保証できることになる。
If the maximum error occurs in mode (2), what should be 350 ILA becomes 385 ILA or 3154A. In this case, the problem is 315JLA, but this problem can be solved by determining the lower limit EV value of mode (2) in consideration of the error voltage obtained by multiplying the error amount 35ILA by R2. If the error voltage is 1V, it corresponds to an EVI stage, so if the lower limit of mode (2) is set to EVI, it is possible to guarantee up to EV2.

また第2の問題は次のような場合に生ずる。すなわち、
第4図(ロ)でRはモード■に入っているがBはモード
■の下限よりも小さいことが分かったとする。この場合
にはモード■へとび、そしてモード■では、重なりを設
けたことによりRもBも入るはずであるが、このとき誤
差によって、モード■が(15V分高くなりすぎ、モー
ド■が0.5V分低くなってしまったとすると、前記の
重なりが消えることになる。つまり誤差を差し引いても
1重なりの部分がRとBとの差よりも大きくないと、R
とBとが同一モードでカバーされないという問題が発生
することになる。
The second problem occurs in the following cases. That is,
Suppose that in FIG. 4 (b), R is in mode ■, but B is found to be smaller than the lower limit of mode ■. In this case, it jumps to mode (2), and in mode (2), both R and B should be present due to the overlap, but at this time, due to an error, mode (2) becomes too high by (15V), and mode (2) becomes 0. If the voltage drops by 5V, the overlap mentioned above will disappear.In other words, even if the error is subtracted, if the overlap is not larger than the difference between R and B, R
A problem arises in that B and B are not covered in the same mode.

この問題に対処するため、オフセット調整用の定電流工
1〜I3が等間隔で設定されている場合には、たとえ誤
差分を考慮して設定しても、各モード間の最大誤差がば
らついてしまい、しかも非常に大きな最大誤差が発生す
る可能性がある。
To deal with this problem, if the constant currents 1 to I3 for offset adjustment are set at equal intervals, the maximum error between each mode will vary even if the setting takes the error into account. Moreover, a very large maximum error may occur.

したがって各モード間の重なりをその分余分にとらなけ
ればならなくなり、結果としてIOを形成するための定
電流源の構成及びその制御が複雑になる。
Therefore, it is necessary to provide an extra amount of overlap between each mode, and as a result, the configuration and control of the constant current source for forming the IO become complicated.

そこで、この実施例では、この誤差分を小さくするため
に上記の誤差が平均化されるように各基準信号源の出力
を設定している。
Therefore, in this embodiment, in order to reduce this error, the output of each reference signal source is set so that the above-mentioned error is averaged.

これを理論的に説明すれば下記のとおりである。すなわ
ち、隣のモードへの変換誤差を最小にするために、各信
号源の出力電流の比を1:2:4:・Φ・ではなく、1
+α:2+β:4+γ:1・とし、 11=X1  、l2=X2  、l3=X13X1=
4X−Z x2=2x+  (z−Z’  ) X3=2X+Z’ xl+x2+x3=7x として各モードにおいて誤差分を考慮した値が規定値に
近づくようにする。ここでXに±y%の誤差があるとす
ると、前記の式は xl’ = (4x−z)(1±y) X2’ = (2x+z−z’ )(L±y)X3′ 
=  (x+z’)  (t±y)で表わされ、隣のモ
ードとの差は (x+z’ )(1+y) =X+Xy+z′+zy   @II会(2)(モード
◎、■間) (2x+z=z’ )(1+y)−(x+z”)*(1
−y)=x+3xy+z−2z/÷zy−・#(3) (モード■、■間) (4x−z)(1+y)−((2x+z−z’ )+ 
(x+z’ ))(1−y)=x+7xy−2z・・・
(4) (モード■、■間) ゛ となり、これらの誤差分が等しくなるように2゜2
′を定めればよいので式(2)と(3)から2xy−3
z’ +z+zy□−z’ y=0・拳・(5) 式(3)と(4)から 4xy−3z+2z’ −zy=0* * 拳(6)式
(5)、(6)をz 、 z’について解いて4XY 
 (4+y) と z=11.06.z’   =7.152となり、これ
から x1=200−11.06=188.94X2=100
+ (11,06−7,152)=103.908 x3=50+7.1.52=57.152となるので、
11=189JLA、l2=104、A、l3=57J
LAとすると各電流に±10%の誤差があったとしても 11=189±10%=207.9〜170.ll2=
104±10%=114.4〜93゜6I3=  57
±10%=  82.7〜51.3表2 各ILAの範囲に収まり、各モード間の差は最悪の場合
でも表2のようになり、最大誤差はモード■、■間及び
モード■、■間の13.1となって大幅に低減される。
This can be explained theoretically as follows. That is, in order to minimize the conversion error to the adjacent mode, the ratio of the output current of each signal source is set to 1 instead of 1:2:4:・Φ・
+ α: 2 + β: 4 + γ: 1・, 11=X1, l2=X2, l3=X13X1=
4X-Z x2=2x+ (z-Z') X3=2X+Z' xl+x2+x3=7x so that the value considering the error in each mode approaches the specified value. Here, assuming that X has an error of ±y%, the above formula is xl' = (4x-z) (1±y) X2' = (2x+z-z') (L±y)X3'
= (x+z') (t±y), and the difference from the adjacent mode is (x+z') (1+y) =X+Xy+z'+zy @II meeting (2) (between modes ◎ and ■) (2x+z=z )(1+y)−(x+z”)*(1
-y)=x+3xy+z-2z/÷zy-・#(3) (between modes ■ and ■) (4x-z)(1+y)-((2x+z-z')+
(x+z'))(1-y)=x+7xy-2z...
(4) (Between modes ■ and ■)
', so from equations (2) and (3), 2xy-3
z'+z+zy□-z' y=0・Fist・(5) From equations (3) and (4), 4xy-3z+2z' −zy=0* *Fist (6) Expressions (5) and (6) as z, Solve for z' and get 4XY
(4+y) and z=11.06. z' = 7.152, and from this x1 = 200-11.06 = 188.94X2 = 100
+ (11,06-7,152)=103.908 x3=50+7.1.52=57.152, so
11=189JLA, l2=104, A, l3=57J
If it is LA, even if there is an error of ±10% in each current, 11 = 189 ± 10% = 207.9 to 170. ll2=
104±10%=114.4~93°6I3=57
±10% = 82.7 to 51.3 Table 2 Within the range of each ILA, the difference between each mode is as shown in Table 2 even in the worst case, and the maximum error is between modes ■, ■ and between modes ■, ■ It is significantly reduced to 13.1 between the two.

(この発明の実施例における色センサの出力レベル検出
手段)(第5図) 第5図は、第1図(A)のA/Dコンバーター1に入力
される最終アンプ部6の出力レベル、すなわち測色セン
サ4の色センサの出力レベルを検出するレベル検出回路
14の詳細を示し、図中31.32は比較器であって最
終アンプ部6の出力は、A/Dコンバーター1に入力さ
れるとともに比較器31の(=)入力端及び比較器32
の(+)入力端に入力される。比較器31の(+)入力
端及び比較器32の(−)入力端は、A/Dコンバータ
ー1で変換可能な上限及び下限に相当する基準電位源v
H及びvLにそれぞれ接続される。比較器31.32の
出力は、アンドゲート33に入力され、アンドゲート3
3及び比較器31の出力はノアゲート34に入力され、
アンドゲート33及び比較器32の出力はノアゲート3
5に入力され、アンドゲート33並びにノアゲート34
.35の出力はシステムコントローラSCに入力される
(Output level detection means of color sensor in the embodiment of this invention) (FIG. 5) FIG. 5 shows the output level of the final amplifier unit 6 input to the A/D converter 1 of FIG. Details of the level detection circuit 14 that detects the output level of the color sensor 4 of the color measurement sensor 4 are shown in detail. In the figure, 31 and 32 are comparators, and the output of the final amplifier section 6 is input to the A/D converter 1. and the (=) input terminal of the comparator 31 and the comparator 32
is input to the (+) input terminal of The (+) input terminal of the comparator 31 and the (-) input terminal of the comparator 32 are a reference potential source v corresponding to the upper and lower limits convertible by the A/D converter 1.
H and vL, respectively. The outputs of the comparators 31 and 32 are input to the AND gate 33.
3 and the output of the comparator 31 are input to the NOR gate 34,
The output of the AND gate 33 and the comparator 32 is the NOR gate 3
5, and the AND gate 33 and the NOAH gate 34
.. The output of 35 is input to the system controller SC.

したがって、最終アンプ部6の出力が、 A/Dコンバ
ータ11の変換可能な範囲内であれば、比較器31.3
2の出力がともにハイになり、アンドゲート33の出力
もハイになる。これに反して最終アンプ部6の出力がA
/Dコンバータ11の変換可能な上限よりも高いレベル
であれば、比較器31、比較器32及びアンドゲート3
3の出力がそれぞれロー、ハイ及びローとなり、ノアゲ
ート34のみからシステムコントローラSCヘハイ出力
が供給される。また最終アンプ部6の出力がA/Dコン
バータ11の変換可能な下限より低いレベルであれば、
同様にしてノアゲート35のみからシステムコントロー
ラSCヘハイ出力が供給される。これにより、最終アン
プ部6の出力がA/Dコンバータ11の変換可能なレベ
ル範囲内か、または、この範囲より高いレベルかもしく
は低いレベルかが判別される。
Therefore, if the output of the final amplifier section 6 is within the convertible range of the A/D converter 11, the comparator 31.3
Both outputs of the AND gate 33 become high, and the output of the AND gate 33 also becomes high. On the other hand, the output of the final amplifier section 6 is A
If the level is higher than the convertible upper limit of the /D converter 11, the comparator 31, the comparator 32 and the AND gate 3
3 become low, high, and low, respectively, and the high output is supplied only from the NOR gate 34 to the system controller SC. Furthermore, if the output of the final amplifier section 6 is at a level lower than the lower limit of convertible output of the A/D converter 11,
Similarly, a high output is supplied only from the NOR gate 35 to the system controller SC. Thereby, it is determined whether the output of the final amplifier section 6 is within the convertible level range of the A/D converter 11, or whether the level is higher or lower than this range.

上記の変形として、第1図(A、 )の破線に示すよう
にA/Dコンバータ11の出力をシステムコントローラ
SCに入力し、システムコントローラSC自体で色セン
サ出力のレベルを検出するようにしてもよい、この場合
は、同図のレベル検出回路14を省略することができる
As a modification of the above, the output of the A/D converter 11 may be input to the system controller SC as shown by the broken line in FIG. 1 (A, ), and the level of the color sensor output may be detected by the system controller SC itself. In this case, the level detection circuit 14 shown in the figure can be omitted.

(この発明の測色センサ装置の実施例の作用)(第1図
、第6図) 前述の手段によって色センサの出力のオフセット調整を
行うことにより、各色センサの出力を所定のレベル範囲
内に収めることができ、簡単な構成のA/Dコンバータ
を用いて精度の高い色温度情報を安価に得ることができ
るが、上記の手段によっても、前記の色温度情報が所定
のレベル範囲(例えば第1図(B)のα3〜β3の範囲
)外にある場合には、前述のように撮像装置による映像
が目の感覚とくい違って不自然な感じになってしまう。
(Operation of the embodiment of the colorimetric sensor device of the present invention) (Figs. 1 and 6) By performing the offset adjustment of the output of the color sensor by the above-mentioned means, the output of each color sensor is brought within a predetermined level range. Although it is possible to obtain highly accurate color temperature information at low cost using an A/D converter with a simple configuration, the above-mentioned method also allows the color temperature information to fall within a predetermined level range (for example, If it is outside the range α3 to β3 in FIG. 1(B), the image captured by the imaging device will be very different from the sense of the eye and will look unnatural, as described above.

そこで、この発明は、上記の場合に色温度情報を形成す
る手段の出力変化が徐々に小さくなるようにするもので
あって以下主として第6図を参照してその具体的な手順
を説明する。
Therefore, the present invention is designed to gradually reduce the change in the output of the means for forming color temperature information in the above case, and the specific procedure thereof will be explained below mainly with reference to FIG. 6.

第6図において、先ず、不図示の設定カウンタのカウン
ト値fli=1とし、デコード部1の入力端2へのセレ
クト信号入力を(0、1)としてRセンサの出力を読み
とり、これをログアンプ部5へ入力するRモードに設定
し、またオフセットはモード■にセットしておく(ステ
ップ1O1)、この状態で入力信号(データ)をスイッ
チ/D変換可能な範囲より高いか(ステップ103)、
あるいはこの範囲より低いか(ステップ104)を判別
し、データが、M a X >データ〉Minの場合に
はステップ105に進む。
In FIG. 6, first, the count value fli of a setting counter (not shown) is set to 1, the select signal input to the input terminal 2 of the decoder 1 is set to (0, 1), the output of the R sensor is read, and this is sent to the log amplifier. Set R mode for input to section 5, and set offset to mode ■ (step 1O1). In this state, check whether the input signal (data) is higher than the switch/D convertible range (step 103).
Or it is determined whether it is lower than this range (step 104), and if the data is M a

ステップ105ではセレクト信号入力が(0゜1)にな
っているかどうかを判別する。この場合はイエスである
のでステップ106に進み、データ(この場合はRデー
タ)をメモリ1zに記憶させる。
In step 105, it is determined whether the select signal input is (0°1). Since the answer is YES in this case, the process proceeds to step 106, and the data (R data in this case) is stored in the memory 1z.

次に、セレクト信号入力を(0、0)にする。Next, the select signal input is set to (0, 0).

これによりBセンサの出力を読みとるBモードに設定さ
れ、再びステップ102に戻る(ステップ107)、今
度はBセンサの出力をスイッチ部3を介して取りこみ、
前記と同様にM a x >データ> M i nであ
ればステップ105へ進む(ステップ102〜104)
As a result, the B mode is set to read the output of the B sensor, and the process returns to step 102 (step 107). This time, the output of the B sensor is taken in via the switch section 3.
Similarly to the above, if M a x > data > M i , proceed to step 105 (steps 102 to 104)
.

ステップ105ではセレクト信号入力が(0゜1)であ
るかどうかを判別するが、この場合は(0、0)である
のでステップ108へ進み、セレクト信号入力が(0、
0)かどうかを判別し、イエスであるのでステップ10
9へ進み、BデータをA/Dコンバータ11を介してメ
モリ12に記憶させる。
In step 105, it is determined whether the select signal input is (0°1), but in this case, it is (0, 0), so the process advances to step 108, where the select signal input is (0, 1).
0), and since it is yes, step 10
9, the B data is stored in the memory 12 via the A/D converter 11.

次に、セレクト信号入力を(1,0)にし、定電流11
等を読みこむモードに設定する(ステップ110)、こ
こで、ステップ111において定電流11及び16i1
がA/Dコンバータ11に入力可能なオフセット値を設
定するよう入力端10にモード設定信号が入力され、そ
の後再びステップ102に戻り、スイッチ部3を介して
定電流11を取りこみ、MaX>ilデータ>Minで
あればステップ105へ進み、ステップ105.108
の判別結果がともにノーであるのでステップ112へ進
む、ステップ112では、セレクト信号入力が(i、o
)であるかどうかが判別され、これがイエスであるので
ステップ113へ進み、31データをメモリ12に記憶
させる。
Next, set the select signal input to (1, 0) and set the constant current to 11
etc. (step 110). Here, in step 111, constant current 11 and 16i1
A mode setting signal is input to the input end 10 so as to set an offset value that can be input to the A/D converter 11, and then the process returns to step 102 again, where the constant current 11 is taken in via the switch section 3, and MaX>il data >Min, proceed to step 105, step 105.108
Since both determination results are NO, the process advances to step 112. In step 112, the select signal input is (i, o
), and since the answer is YES, the process proceeds to step 113, where data 31 is stored in the memory 12.

次に、セレクト信号入力をct 、1)にしくステップ
114)、これにより定電流1611を読みこむモード
に設定され、その後ステップ102に戻り、16i1デ
ータをスイッチ部3を介して読みこみ、Max>16i
1データ>Minであれば、ステップ105に進む、ス
テップ105゜108.112における判別結果がすべ
てノーであるのでステップ115へ進み、16i 1デ
ータをメモリ12に記憶させる。
Next, the select signal input is set to ct, 1), step 114), thereby setting the mode for reading the constant current 1611, and then returning to step 102, reading the 16i1 data via the switch section 3, Max> 16i
If 1 data>Min, the process proceeds to step 105. Since all the determination results in step 105, 108, and 112 are negative, the process proceeds to step 115, and the 16i 1 data is stored in the memory 12.

上記の操作によりR、B 、 t 1及び16[□デー
タがいったんメモリ12に記憶され、これらのデータか
ら温度変動の影響を除いたRセンサとBセンサの出力の
比が演算される。すなわち、演算回路14テ(Q o 
gR−n o gB)が演算され(ステップ116)、 n o gR−(L o gB=A o gR/B=X
として、第1図(B)のXの変化についてX〉α1か 
   (ステップ117a)cxl>X>β2か (ス
テラ7’117b)α2〉x〉α3か (ステップ11
7C)xくβ1か    (ステップ118a)β1く
xくβ2か (ステップ118b)β2くxくβ3か 
(ステップ118c)が判別され、すべてノーであれば
、α3〉x〉β3の適正範囲にあると考えられるので、
このXの値に基づき演算回路13で色温度情報を導出し
くステップ121)、この色温度情報を出力してアンプ
16.17の利得を制御する(ステップ122)。
Through the above operations, the R, B, t 1 and 16 [□ data are temporarily stored in the memory 12, and the ratio of the outputs of the R sensor and the B sensor is calculated from these data, excluding the influence of temperature fluctuations. In other words, the arithmetic circuit 14 (Q o
gR−no gB) is calculated (step 116), and no gR−(Lo gB=A o gR/B=X
As for the change in X in Figure 1 (B), is it X〉α1?
(Step 117a) Is cxl>X>β2? (Stella7'117b) Is α2>x>α3? (Step 11
7C) Is x x β1? (Step 118a) Is β1 x x β2? (Step 118b) Is β2 x x β3?
(Step 118c) is determined, and if all are negative, it is considered to be within the appropriate range of α3>x>β3.
Based on this value of X, the arithmetic circuit 13 derives color temperature information (step 121), and outputs this color temperature information to control the gains of the amplifiers 16 and 17 (step 122).

これに対して、ステップ117a−117c又はステッ
プ118a−118cのいずれかにおいてイエスと判別
されれば、これに応じてメモリM1〜M3又はメモリM
4〜M6に記憶されている値がそれぞれ出力される(ス
テップ119a〜119c、120a−120c)、す
なわち、所定の範囲α3〜β3では、Xに対してYは直
線的に変化するが、X〉α3及びxくβ3の領域では、
第1図(B)に示すようにXに対するYの変化が徐々に
小さくなるように設定されている。つまり所定の範囲α
3〜β3外の上方領域及び下方領域のいずれについても
Yの変化が段階的に徐々に小さくなっている。
On the other hand, if the determination is YES in either steps 117a-117c or steps 118a-118c, the memories M1 to M3 or the memory M
The values stored in M4 to M6 are respectively output (steps 119a to 119c, 120a to 120c). That is, in the predetermined range α3 to β3, Y changes linearly with respect to X, but In the region α3 and x β3,
As shown in FIG. 1(B), it is set so that the change in Y with respect to X gradually becomes smaller. In other words, the predetermined range α
In both the upper region and the lower region outside of 3 to β3, the change in Y gradually decreases step by step.

上記の特性に基づき、この測色センサ装置によれば、前
述のように1色濃度が極端に高かったり、低かったりす
る場合においても人間の目の感覚により近づいた感じの
映像を得ることができる。また、前述のように第1図(
C)に示す特性をもたせ、所定のα3〜β3外において
Xに対するYの変化が連続的に徐々に小さくなるように
設定することもできる。
Based on the above-mentioned characteristics, this colorimetric sensor device can obtain an image that is closer to the sense of the human eye even when the density of one color is extremely high or low as described above. . In addition, as mentioned above, Figure 1 (
It is also possible to provide the characteristic shown in C) so that the change in Y with respect to X becomes gradually smaller continuously outside the predetermined range α3 to β3.

先に説明したステップ122までの流れは、Rセンサ及
びBセンサの出力が、A/Dコンバータ11によるA/
D変換可能な範囲内である場合であるが、その範囲外で
ある場合には、この発明の実施例においては、下記の操
作により色温度情報として設定可能な特定の情報を出力
する。これは、第6図においてステップ103又は10
4の判別結果がイエスである場合であって、先ずステッ
プ103の判別結果がイエスであれば、ステップ123
へ進み、iwlかどうかを判別し、この場合はイエスで
あるのでステップ124へ進む、ここでオフセットモー
ドを基準モード■から■へ変更する。これは、最適なオ
フセット値を速く見つけるためである0次に、カウント
値iをi+1=2としてステップ102に戻る(ステッ
プ125)、モード変更の結果、ステップ103でノー
の判別結果が得られれば前述の動作が進行するが、未だ
イエスの判別結果が得られれば再びステップ123へ進
み、ここでi=2になっているのでステップ126へ進
み、i=4であるかどうかが判別され、ノーであるので
ステップ127へ進む、ここでモードを■から■へ変更
し、さらにカウント値jli+1=3として(ステップ
125)、ステップ102に戻る。このようにしてステ
ップ103の判別結果がイエスであれば、ステップ12
6でi=4が得られるまでオフセットのモードを切り換
える。ステップ126でi=4が得られると、ステップ
120aへ進み、メモリM4に記憶されている値を演算
回路13から色温度情報として出力する。
The flow up to step 122 described above is such that the outputs of the R sensor and B sensor are converted into A/D converter 11.
If the value is within the range in which D conversion is possible, but if it is outside the range, in the embodiment of the present invention, specific information that can be set as color temperature information is output by the following operation. This corresponds to step 103 or 10 in FIG.
If the determination result in step 4 is YES, and the determination result in step 103 is yes, step 123
The process proceeds to step 124, where it is determined whether it is iwl or not. In this case, the answer is YES, so the process proceeds to step 124, where the offset mode is changed from the reference mode ■ to ■. This is to quickly find the optimal offset value.Next, set the count value i to i+1=2 and return to step 102 (step 125).As a result of the mode change, if a negative determination result is obtained in step 103, The above-mentioned operation continues, but if the determination result is still YES, the process goes to step 123 again, and since i=2 here, the process goes to step 126, where it is determined whether or not i=4. Therefore, the process proceeds to step 127, where the mode is changed from ■ to ■, and the count value jli+1 is set to 3 (step 125), and the process returns to step 102. In this way, if the determination result in step 103 is YES, step 12
6, the offset mode is switched until i=4 is obtained. When i=4 is obtained in step 126, the process proceeds to step 120a, and the value stored in the memory M4 is output from the arithmetic circuit 13 as color temperature information.

これは、オフセット調整をしても、A/Dコンバータ1
1によるA/D変換可能な範囲に入り切らないほどRセ
ンサ又はBセンサの出力が小さく、色温度がきわめて低
いと判断される場合である。なおこの場合は、第1図C
B)におけるα3〜β3の範囲よりもさらに左右へ大き
くはずれた場合であるが、説明を簡単にするため、この
場合においてもメモリM4に記憶されている値を色温度
情報として出力するとする。なおメモリM4の記憶値は
、被写体の明るさ等に応じて可変に設定されることを可
とする。このことは、後記のメモリM1の記憶値につい
ても同様である。
This means that even after offset adjustment, the A/D converter 1
This is a case where the output of the R sensor or the B sensor is so small that it does not fall within the A/D convertible range according to 1, and the color temperature is determined to be extremely low. In this case, Figure 1C
This is a case where the value deviates further to the left and right than the range of α3 to β3 in B), but for the sake of simplicity, it is assumed that the value stored in the memory M4 is output as color temperature information even in this case. Note that the values stored in the memory M4 can be variably set depending on the brightness of the subject and the like. This also applies to the values stored in the memory M1, which will be described later.

次に、ステップ104における判別結果がイエスである
場合について説明する。ステー、プ104でイエスの判
別結果が得られると、ステップ128へ進んでi=1で
あるかどうかを判別し、イエスであればオフセットモー
ドを基準モード■から■へ変更しくステップ129)、
カウント値iをf+1=2とした後ステップ102に戻
る(ステップ125)、そしてステップ104でノーの
判別結果が得られれば前述の通常動作が進行するが、未
だイエスの判別結果が得られれば再びステップ128へ
進み、ここでi=2になっているのでステップ130へ
進み、ここではイエスの判別結果が得られるのでステッ
プ131へ進み、オフセットモードを■から0へ変更し
、さらに・カウント値1t−i+1=3として(ステッ
プ125)ステップ】02に戻る。そしてステップ10
4でノーでなければ、ステップ128,130ではノー
になるのでステップ119aへ進み、メモリM1に記憶
されている値を色温度情報として出力する。
Next, a case where the determination result in step 104 is YES will be described. If a yes determination result is obtained in step 104, the process proceeds to step 128, where it is determined whether i=1, and if yes, the offset mode is changed from reference mode ■ to ■step 129).
After setting the count value i to f+1=2, the process returns to step 102 (step 125), and if a negative determination result is obtained in step 104, the above-mentioned normal operation proceeds, but if a positive determination result is still obtained, the process returns to step 102 (step 125). Proceed to step 128, and since i=2 here, proceed to step 130. Here, a yes determination result is obtained, so proceed to step 131, change the offset mode from ■ to 0, and further... -i+1=3 (step 125) Return to step 02. and step 10
If the result in step 4 is not negative, the result in steps 128 and 130 is negative, and the process proceeds to step 119a, where the value stored in the memory M1 is output as color temperature information.

これは、オフセットモードを◎にしてもA/Dコンバー
タ11によるA/D変換可能な範囲に入り切らないほど
Rセンサ又はBセンサの出力が大きく、色温度がきわめ
て高いと判断される場合である。なおこの場合において
も、前記の色温度がきわめて低い場合と同様に、説明を
簡単にするためメモリMlに記憶されている値を色温度
情報として出力するとする。
This is a case where the output of the R sensor or B sensor is so large that even if the offset mode is set to ◎, it does not fall within the A/D convertible range by the A/D converter 11, and the color temperature is judged to be extremely high. . In this case, as in the case where the color temperature is extremely low, for the sake of simplicity, it is assumed that the value stored in the memory Ml is output as the color temperature information.

したがって、第1図(A)の装置においては、演算回路
13で演算処理した色温度情報が所定の範囲α3〜β3
外であるときは、メモリM1〜M6に記憶されている値
を色温度情報として出力し、これにより利得制御アンプ
16.17の利得を制御するので1色部度が極端に高か
ったり、低かったりする場合に人間の目の感覚により近
づいた感じの映像を得ることができる。また色センサの
出力がA/Dコンバータ11によるA/D変換可能な範
囲外であるときは色温度情報として特定の情報(前記の
例ではMl又はM4)を出力するので、測色不能になる
おそれがなく、かつ制御及び演算手段としてのマイクロ
コンピュータの演算時間や色センサの光電流及び温度補
正のための電流の切り換え等に要する時間を省略し、実
質的に瞬時撮影が可能になる0例えばRセンサとBセン
サとの出力差が非常に大きく、同じオフセット値でA/
Dコンバータ11の入力範囲に入り切らない場合には、
色温度がすでに第1図(B)のα1又はβ1に相当する
レベルを超えていると判断し、前記の特定の情報を出力
する。
Therefore, in the apparatus shown in FIG.
When the color temperature is outside, the values stored in the memories M1 to M6 are output as color temperature information, and this controls the gain of the gain control amplifier 16.17, so if the color temperature is extremely high or low, In this case, it is possible to obtain an image that is closer to the sense of the human eye. Furthermore, when the output of the color sensor is outside the range that can be A/D converted by the A/D converter 11, specific information (Ml or M4 in the above example) is output as color temperature information, making color measurement impossible. For example, it eliminates the time required for the calculation time of the microcomputer as a control and calculation means, the time required for switching the photocurrent of the color sensor and the current for temperature correction, etc., and enables virtually instantaneous photography. The output difference between R sensor and B sensor is very large, and A/
If it does not fall within the input range of the D converter 11,
It is determined that the color temperature has already exceeded the level corresponding to α1 or β1 in FIG. 1(B), and the above-mentioned specific information is output.

この発明の測色センサ装置の変形実施例として、色温度
情報が所定の範囲α3〜β3外にある場合に入力のio
gR/B=Xの変化に対し出力のfLogR/B=Yの
変化を徐々に小さくするとともに、上記の所定の範囲内
にある場合においても完全に色温度補正を行わずに補正
の度合いを幾分弱くする(数量的に表現すれば95%程
度にする)ことにより、さらに目の感覚に近づけること
ができる。これは、上記の所定の範囲内の色温度につい
ても人間の目の特性として色温度補正が完全ではないと
考えられるからである。
As a modified embodiment of the colorimetric sensor device of the present invention, when the color temperature information is outside the predetermined range α3 to β3, the input io
In addition to gradually reducing the change in output fLogR/B=Y with respect to the change in gR/B=X, even if the color temperature is within the predetermined range above, the degree of correction is changed without completely correcting the color temperature. By reducing the amount of light (approximately 95% in quantitative terms), it is possible to bring it even closer to the sense of the eye. This is because color temperature correction is considered to be incomplete due to the characteristics of the human eye even for color temperatures within the above-mentioned predetermined range.

また第1図(A)の装置の測色センサ4としてR,Hの
2色のフィルタを用いる場合のほか、R,G、Hの3色
のフィルタを用いる場合にも(Q o gR−αogB
)の値の判別結果に応じて同図(B)に示す特定の記憶
値を出力することにより2色利用の場合と同等の効果を
期待することができる。
Furthermore, in addition to the case where two color filters, R and H, are used as the colorimetric sensor 4 of the apparatus shown in FIG. 1(A), when three color filters, R, G, and H are used,
) It is possible to expect the same effect as in the case of using two colors by outputting the specific stored value shown in FIG.

(発明の効果) 前述のように、この発明によれば、互いに異なる色信号
をそれぞれ検出する複数の色センサの出力のオフセット
調整を行い、このオフセット調整された色センサの出力
を演算処理して色温度情報を形成し、この色温度情報が
所定のレベル範囲外にあるとき色温度情報形成手段の出
力が徐々に小さくなるよう制御されるので、被写体の色
温度が極端に高かったり、低かったりする場合にも人間
の目で見た感覚により近づいた感じの映像を得ることが
できる。
(Effects of the Invention) As described above, according to the present invention, offset adjustment is performed on the outputs of a plurality of color sensors that detect mutually different color signals, and the outputs of the color sensors subjected to the offset adjustment are subjected to arithmetic processing. Color temperature information is formed, and when this color temperature information is outside a predetermined level range, the output of the color temperature information forming means is controlled to gradually decrease, so the color temperature of the subject is extremely high or low. In this case, it is possible to obtain an image that is closer to the sensation seen with the human eye.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(A)はこの発明の測色センサ装置の一実施例の
全体構成を示すブロック図、第1図(B)は同図(A)
の実施例における色温度情報の出力特性の一例を示す線
図、同図(C)は同じく他の一例を示す線図、第2図は
第1図(A)中の最終アンプ部及びオフセット部の一例
を示す回路図、第3図はこの発明の実施例におけるオフ
上−2ト調整の原理を示す説明図、第4図(イ)はオフ
セット調整方法の比較例を示す説明図、同図(ロ)はこ
の発明の実施例におけるオフセット調整方法の一例を示
す説明図、第5図は第1図(A)の実施例におけるレベ
ル検出回路、の−例を示す回路図、第6図は第1図(A
)の実施例の動作を説明する流れ図である。 符号の説明 1:デコード部、2:セレクト入力端、3:スイッチ部
、4:測色センサ、5:ログアンプ部、6:最終アンプ
部、8:電流分流部、9:オフセット部、10:モード
設定入力端、11:A/Dコンバータ、12:メモリ、
13:演算回路、14ニレベル検出回路、16,17:
利得制御アンプ、MlないしM6:メモリ、SCニジス
テムコントローラ。 第1図(B) 第3図 第5図
FIG. 1(A) is a block diagram showing the overall configuration of an embodiment of the colorimetric sensor device of the present invention, and FIG. 1(B) is the same diagram (A).
A diagram showing an example of the output characteristics of color temperature information in the embodiment, FIG. 2 (C) is a diagram showing another example, and FIG. 2 shows the final amplifier section and offset section in FIG. A circuit diagram showing an example, FIG. 3 is an explanatory diagram showing the principle of off-top-2-t adjustment in an embodiment of the present invention, and FIG. 4 (a) is an explanatory diagram showing a comparative example of the offset adjustment method. (B) is an explanatory diagram showing an example of the offset adjustment method in the embodiment of the present invention, FIG. 5 is a circuit diagram showing an example of the level detection circuit in the embodiment of FIG. 1(A), and FIG. Figure 1 (A
) is a flowchart illustrating the operation of the embodiment. Explanation of symbols 1: Decode section, 2: Select input terminal, 3: Switch section, 4: Colorimetric sensor, 5: Log amplifier section, 6: Final amplifier section, 8: Current shunt section, 9: Offset section, 10: Mode setting input terminal, 11: A/D converter, 12: memory,
13: Arithmetic circuit, 14 two-level detection circuit, 16, 17:
Gain control amplifier, Ml to M6: memory, SC system controller. Figure 1 (B) Figure 3 Figure 5

Claims (4)

【特許請求の範囲】[Claims] (1)互いに異なる色信号をそれぞれ検出する複数の色
センサと、 前記色センサの出力のオフセット調整を行う手段と、 前記のオフセット調整をされた色センサの出力を演算処
理して色温度情報を形成する手段であって、この色温度
情報が所定のレベル範囲外にあるときその出力変化が徐
々に小さくなよう制御されるものと、 を具える測色センサ装置。
(1) A plurality of color sensors that detect mutually different color signals, a means for adjusting the offset of the output of the color sensor, and arithmetic processing of the offset-adjusted output of the color sensor to generate color temperature information. A colorimetric sensor device comprising: means for forming color temperature information, the output change of which is controlled to gradually become smaller when the color temperature information is outside a predetermined level range.
(2)前記色温度情報が所定のレベル範囲外にあるとき
、この所定のレベル範囲外の上方領域及び下方領域にお
いて、それぞれ、前記出力変化が複数の段階にわたり徐
々に小さくなるよう制御する手段を具える特許請求の範
囲(1)記載の測色センサ装置。
(2) When the color temperature information is outside a predetermined level range, means for controlling the output change to gradually decrease over a plurality of stages in an upper region and a lower region outside the predetermined level range, respectively. A colorimetric sensor device according to claim (1).
(3)前記色温度情報が所定のレベル範囲外にあるとき
、この所定のレベル範囲外の上方領域及び下方領域にお
いて、それぞれ、前記出力変化が連続的に小さくなるよ
う制御する手段を具える測色センサ装置。
(3) When the color temperature information is outside a predetermined level range, the measurement device includes means for controlling the output change so that it continuously decreases in an upper region and a lower region outside the predetermined level range, respectively. Color sensor device.
(4)前記色温度情報が所定のレベル範囲内にあるとき
も、色温度補正の度合いが弱められるよう調整されてい
る前記特許請求の範囲のいずれかに記載の測色センサ装
置。
(4) The colorimetric sensor device according to any one of the above claims, wherein the color temperature correction is adjusted so that the degree of color temperature correction is weakened even when the color temperature information is within a predetermined level range.
JP60122190A 1985-06-05 1985-06-05 Colorimetric sensor Granted JPS61280530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60122190A JPS61280530A (en) 1985-06-05 1985-06-05 Colorimetric sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60122190A JPS61280530A (en) 1985-06-05 1985-06-05 Colorimetric sensor

Publications (2)

Publication Number Publication Date
JPS61280530A true JPS61280530A (en) 1986-12-11
JPH0556077B2 JPH0556077B2 (en) 1993-08-18

Family

ID=14829798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60122190A Granted JPS61280530A (en) 1985-06-05 1985-06-05 Colorimetric sensor

Country Status (1)

Country Link
JP (1) JPS61280530A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63314424A (en) * 1987-06-18 1988-12-22 Canon Inc Color camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63314424A (en) * 1987-06-18 1988-12-22 Canon Inc Color camera

Also Published As

Publication number Publication date
JPH0556077B2 (en) 1993-08-18

Similar Documents

Publication Publication Date Title
US4847680A (en) Image pickup apparatus with white balance control
JPH0990459A (en) Electronic control camera
US7148921B2 (en) White balance adjustment method, image sensing apparatus, program, and storage medium
CN109844803A (en) Method for the saturated pixel in detection image
US4823185A (en) Colorimetric circuit with storage of simultaneously detected color components
JPH1098741A (en) Circuit and method for compensating color image quality
JPS61280530A (en) Colorimetric sensor
JPS62133883A (en) Color television camera
JPS61280529A (en) Colorimetric sensor
JPH05122708A (en) Electronic camera
JPH0728416B2 (en) Video camera combined white balance switching device
JPH0523560B2 (en)
JPS61280531A (en) Colorimetric sensor
JPH0226193A (en) White balance control circuit
JPH07105959B2 (en) White balance adjuster
US5045927A (en) White balance adjusting device
JPH02279085A (en) Automatic white balance adjusting device for video camera
JP3148992B2 (en) Color imaging device
KR920008987Y1 (en) Camera driving circuit using three division photo diode
JPS60208188A (en) Signal generator
JP3094493B2 (en) Automatic color temperature correction device
JPS63314424A (en) Color camera
JPH01305790A (en) White balance adjusting device
JPH01309490A (en) Automatic white balance system
JPS60236581A (en) Color picture reader

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term