JP3253334B2 - White balance correction device - Google Patents

White balance correction device

Info

Publication number
JP3253334B2
JP3253334B2 JP00573492A JP573492A JP3253334B2 JP 3253334 B2 JP3253334 B2 JP 3253334B2 JP 00573492 A JP00573492 A JP 00573492A JP 573492 A JP573492 A JP 573492A JP 3253334 B2 JP3253334 B2 JP 3253334B2
Authority
JP
Japan
Prior art keywords
light source
color
color image
white balance
input
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.)
Expired - Fee Related
Application number
JP00573492A
Other languages
Japanese (ja)
Other versions
JPH05191825A (en
Inventor
浩 蚊野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP00573492A priority Critical patent/JP3253334B2/en
Publication of JPH05191825A publication Critical patent/JPH05191825A/en
Application granted granted Critical
Publication of JP3253334B2 publication Critical patent/JP3253334B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、カラービデオプリン
タ、カラービデオカメラ等のカラー画像出力機器に用い
て好適なホワイトバランスの補正装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a white balance correction device suitable for use in a color image output device such as a color video printer and a color video camera.

【0002】[0002]

【従来の技術】従来、この種のホワイトバランス補正装
置として、例えば図5に示すものがある。
2. Description of the Related Art Conventionally, as this type of white balance correction device, for example, there is one shown in FIG.

【0003】これは、カラービデオカメラにおいて、撮
影光源を判定する光源判定と、その光源に応じた色信号
の変換とを自動的に行うものである。そして、光源判定
方法として、図5(a)に示す、撮影光源の色温度を直
接測定する方法(センサ方式)と、図5(b)に示す、
撮影した画像から光源の色温度を推定する方法(TTL
方式)がある。
[0003] In a color video camera, light source determination for determining a photographic light source and conversion of a color signal according to the light source are automatically performed. As a light source determination method, a method of directly measuring the color temperature of the imaging light source (sensor method) shown in FIG. 5A and a method shown in FIG.
Method of estimating the color temperature of a light source from a captured image (TTL
Method).

【0004】両方式とも、撮像レンズ51を通してCC
D52で画像情報を読み取り、その画像情報を信号処理
回路53にてR,G,Bの色信号に変換する。そして、
読み取り色信号を撮影光源の色温度に基づいてホワイト
バランス補正し、その補正色信号をマトリクス55で色
差に変換している。
[0004] In both types, CC through the imaging lens 51
The image information is read in D52, and the image information is converted into R, G, B color signals in the signal processing circuit 53. And
The read color signal is subjected to white balance correction based on the color temperature of the photographing light source, and the corrected color signal is converted into a color difference by the matrix 55.

【0005】そして、センサ方式では、撮影レンズ51
とは別に測光センサ56にて撮影光源の色温度情報を検
知し、色温度演算回路57で算出された色温度を可変利
得増幅器54に入力している。一方、TTL方式では、
色温度検出回路58において、色差信号R−Y,B−Y
の平均化電圧に基づいて算出された色温度を可変利得増
幅器54に入力している。そして、両方式とも可変利得
増幅器54における色信号の変換は、検出した色温度か
ら、光源色が中性灰色(R=G=B)になるようにR,
Bの利得を調整している。
In the sensor system, the photographing lens 51 is used.
Separately, the color temperature information of the photographing light source is detected by the photometric sensor 56, and the color temperature calculated by the color temperature calculation circuit 57 is input to the variable gain amplifier 54. On the other hand, in the TTL method,
In the color temperature detection circuit 58, the color difference signals RY, BY
The color temperature calculated based on the averaged voltage is input to the variable gain amplifier 54. In both types, the conversion of the color signal in the variable gain amplifier 54 is performed based on the detected color temperature such that the light source color becomes neutral gray (R = G = B).
The gain of B is adjusted.

【0006】従って、色温度 K1の光源のもとで、
1, G1, B1なる色を持つ物体の標準光源における
色 R0, G0, B0は、
Accordingly, under a light source having a color temperature K 1 ,
The colors R 0 , G 0 , and B 0 of the object having the colors R 1 , G 1 , and B 1 in the standard light source are

【0007】[0007]

【数1】 (Equation 1)

【0008】の形で表される。なお、fr(K1),f
b(K1)は色温度 K1において光源色が中性灰色にな
るように決定されている。
[0008] In the form of Note that fr (K 1 ), f
b (K 1 ) is determined so that the light source color becomes neutral gray at the color temperature K 1 .

【0009】ここで、ホワイトバランス補正を行わなか
った場合と、上記従来法(センサ方式)によるホワイト
バランス補正を行った場合について、マクベスカラーチ
ェッカーによるライトスキンからブラックまでの24個
の色票を用いて、A,D50,D65,D75,F6,
F8,F10の7種類の光源下での標準光源との色差を
CIELAB(国際照明学会が定めたL***色空間
をいう)で評価した結果を平均して求めた平均色差を表
1に示す。CIELABの色差は、1で色を並べた場合
に人間の目で若干差がわかる程度、5で明らかに色の差
がわかる程度、10以上で異なった色に見える程度であ
る。
Here, when the white balance correction is not performed and when the white balance correction is performed by the above-described conventional method (sensor method), 24 color patches from light skin to black by the Macbeth color checker are used. A, D50, D65, D75, F6
Table 7 shows the average color difference obtained by averaging the results of evaluating the color difference from the standard light source under the seven types of light sources F8 and F10 by CIELAB (L * a * b * color space defined by the International Institute of Illumination). It is shown in FIG. The color difference of CIELAB is such that when the colors are arranged in 1, the difference is slightly recognized by human eyes, the difference in color is clearly seen in 5, the difference in color is clearly seen in 10 or more.

【0010】[0010]

【表1】 [Table 1]

【0011】尚、光源Aは相関色温度2856K(Kは
ケルビン)である白熱電灯、光源D50,D65,D7
5は相関色温度がそれぞれ5003K,6504K,7
504Kである昼光、光源F6,F8,F10は相関色
温度がそれぞれ4150K,5000K,5000Kで
ある螢光灯で、JISで定めたものであり(JISZ8
720)、標準光源としてD65を採用した。
The light source A is an incandescent lamp having a correlated color temperature of 2856K (K is Kelvin), and the light sources D50, D65 and D7.
5 has correlated color temperatures of 5003K, 6504K, and 7, respectively.
Daylight at 504K and light sources F6, F8, and F10 are fluorescent lamps having correlated color temperatures of 4150K, 5000K, and 5000K, respectively, which are defined by JIS (JISZ8).
720), D65 was adopted as a standard light source.

【0012】この表1より、ホワイトバランス補正を行
わなかった場合、特に色温度が非常に低いA光源におい
て、平均色差が40.837となり、標準光源に対して
大きな色差が生じていることが分かる。これに対し、上
記従来法によるホワイトバランス補正を行った場合に
は、ホワイトバランス補正を行わなかった場合に比較し
て、全ての光源について標準光源に対する色差が小さく
なっている。
From Table 1, it can be seen that when white balance correction is not performed, the average color difference is 40. 837, especially in the A light source having a very low color temperature, and a large color difference occurs with respect to the standard light source. . On the other hand, when the white balance correction according to the conventional method is performed, the color difference of all the light sources with respect to the standard light source is smaller than when the white balance correction is not performed.

【0013】しかしながら、この従来法では、光源A,
F6,F10における平均色差が、それぞれ7.8,
8.0,4.8となっており、白熱電灯やある種の螢光
灯に対して完全な補正が行えておらず、依然としてホワ
イトバランス補正が不十分であった。
However, in this conventional method, the light sources A,
The average color difference in F6 and F10 is 7.8,
8.0 and 4.8, and could not be completely corrected for incandescent lamps or certain types of fluorescent lamps, and white balance correction was still insufficient.

【0014】[0014]

【発明が解決しようとする課題】従って、上記従来法で
は、白熱電灯やある種の螢光灯などの撮影光源におい
て、ホワイトバランス補正の精度が悪く、色再現が不自
然であった。
Therefore, in the above-mentioned conventional method, the accuracy of white balance correction is poor and the color reproduction is unnatural in a photographing light source such as an incandescent lamp or a kind of fluorescent lamp.

【0015】本発明は、斯かる事情に鑑みてなされたも
のであって、入力画像のホワイトバランスをカラー画像
出力機器にて補正する場合、撮影光源の種類に拘かわら
ず、忠実な色再現が行い得るホワイトバランス補正装置
を提供することにある。
The present invention has been made in view of such circumstances, and when the white balance of an input image is corrected by a color image output device, faithful color reproduction is performed regardless of the type of light source. An object of the present invention is to provide a white balance correction device that can be performed.

【0016】[0016]

【課題を解決するための手段】本発明は、撮影光源の分
光分布を測定する分光測定手段と、該分光測定手段によ
り測定された分光分布値に基づいて、所定色票に対する
標準光源、及び前記撮影光源におけるカラー画像情報値
の対データを複数組算出する算出手段と、複数のユニッ
トからなる入力層と、該入力層の各ユニットと相互に結
合された複数のユニットからなる中間層と、該中間層の
各ユニットと相互に結合された複数のユニットからなる
出力層とからなるニューラルネットと、前記算出手段に
て算出された複数組の前記撮影光源、及び前記標準光源
におけるカラー画像情報値の対データを、それぞれ前記
入力層、及び前記出力層に供給し、バックプロパゲーシ
ョン法により前記ニューラルネットを学習させる学習モ
ードと、前記入力カラー画像情報の出力値を前記入力層
に供給し、前記出力層から入力カラー画像のホワイトバ
ランス補正された補正カラー画像情報値を出力させる補
正モードとを切換設定すると共に、前記補正モードへの
設定に先立ち前記学習モードに設定するモード切換手段
と、を備えているホワイトバランス補正装置である。
According to the present invention, there is provided a spectrometer for measuring a spectral distribution of a photographing light source, a standard light source for a predetermined color chart based on the spectral distribution measured by the spectrometer, and Calculating means for calculating a plurality of sets of color image information value pair data in an imaging light source; an input layer including a plurality of units; an intermediate layer including a plurality of units coupled to each unit of the input layer; A neural network consisting of each unit of the intermediate layer and an output layer consisting of a plurality of units mutually connected, a plurality of sets of the photographing light sources calculated by the calculating means, and color image information values in the standard light source. A learning mode for supplying paired data to the input layer and the output layer, respectively, and learning the neural network by a back propagation method; And a correction mode for supplying an output value of color image information to the input layer and outputting a corrected color image information value of the input color image after white balance correction from the output layer, and setting the correction mode. And a mode switching means for setting the learning mode prior to the learning mode.

【0017】[0017]

【作用】本発明によれば、任意の撮影光源におけるカラ
ー画像情報値を標準光源におけるカラー画像情報値に、
精度よく補正することができる。
According to the present invention, a color image information value at an arbitrary photographing light source is converted into a color image information value at a standard light source.
Correction can be made with high accuracy.

【0018】従って、ホワイトバランスがとられていな
いカラー画像情報が入力されても、撮影光源の種類に拘
かわらず理想のホワイトバランス状態になるように補正
されて出力される。
Therefore, even if color image information without white balance is input, the color image information is corrected and output so as to be in an ideal white balance state regardless of the type of photographing light source.

【0019】[0019]

【実施例】以下、本発明をその実施例を示す図面に基づ
いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing embodiments thereof.

【0020】図1は、本発明の一実施例を示すホワイト
バランス補正装置の概略ブロック図を示しており、カラ
ースキャナ等で読み取られた一画面分の入力カラー画像
信号は画像メモリ1に一旦記憶され、CPU(マイクロ
コンピュータ)2の指令に従い画像メモリ1に記憶され
た入力カラー画像信号が後述するニューラルネット3の
入力層4に供給される。この時、CPU2の指令に従
い、モード切換回路5はSW1、及びSW2をともに図
中b側に接続し、ホワイトバランスの補正モードに設定
している。尚、このモード切換回路5はCPU2の指令
に従い、SW1、及びSW2をともに図中a側、又はb
側に接続し、後述する学習モード、及びホワイトバラン
スの補正モードを選択的に切換設定する。
FIG. 1 is a schematic block diagram of a white balance correction apparatus according to an embodiment of the present invention. An input color image signal for one screen read by a color scanner or the like is temporarily stored in an image memory 1. Then, an input color image signal stored in the image memory 1 is supplied to an input layer 4 of a neural network 3 described later in accordance with a command from a CPU (microcomputer) 2. At this time, in accordance with a command from the CPU 2, the mode switching circuit 5 connects both the switches SW1 and SW2 to the side b in the figure, and sets the white balance correction mode. The mode switching circuit 5 switches SW1 and SW2 together on the side a or b in FIG.
Side, and selectively switches and sets a learning mode and a white balance correction mode described later.

【0021】そして、後述するように学習させたニュー
ラルネット3の学習結果に基づいてホワイトバランス補
正された補正画像信号を出力層6から出力し、カラー画
像出力部(図示せず)に供給する。入力カラー画像信号
が複数画面分あるときには、CPU2の指令に基づき順
次一画面分の入力カラー画像信号を画像メモリ1に読み
込み、同様にして補正画像信号を出力層6から出力す
る。
Then, a corrected image signal that has been subjected to white balance correction based on the learning result of the neural network 3 learned as described later is output from the output layer 6 and supplied to a color image output unit (not shown). When there are input color image signals for a plurality of screens, the input color image signals for one screen are sequentially read into the image memory 1 based on a command from the CPU 2, and the corrected image signal is output from the output layer 6 in the same manner.

【0022】次に、モード切換回路5により学習モード
に設定した場合には、まず分光測定器7により撮影光源
の可視領域(400〜700nm)における分光分布特性
を測定し、その結果をRGB値算出回路8に供給する。
Next, when the mode is set to the learning mode by the mode switching circuit 5, first, the spectral distribution characteristic in the visible region (400 to 700 nm) of the photographing light source is measured by the spectrometer 7, and the result is calculated as RGB values. Supply to circuit 8.

【0023】RGB値算出回路8は、ROM9に予め書
き込まれている標準光源(D65)の可視領域(400
〜700nm)における分光分布データ、マクベスカラー
チェッカーの24色票についての可視領域(400〜7
00nm)における分光反射率データ、及び撮像素子の可
視領域(400〜700nm)における撮像特性データを
読み出し、これらのデータに基づいて後述するように標
準光源、及び撮影光源における前記24色票の各色票に
対するR,G,B値を算出する。そして、CPU2の指
令に従い、RGB値算出回路8にて算出された撮影光源
における各色票のR,G,B値を後述するニューラルネ
ット3の入力層4に供給すると共に、標準光源における
各色票のR,G,B値を出力層6に供給する。
The RGB value calculation circuit 8 calculates the visible range (400) of the standard light source (D65) written in the ROM 9 in advance.
ベ 700 nm), the visible region (400 to 7) for the 24 color chart of Macbeth Color Checker.
00 nm) and the imaging characteristic data in the visible region (400 to 700 nm) of the image sensor, and based on these data, as described later, each of the 24 color chips in the standard light source and the imaging light source as described later. R, G, and B values with respect to are calculated. Then, in accordance with a command from the CPU 2, the R, G, and B values of each color chart in the photographing light source calculated by the RGB value calculation circuit 8 are supplied to the input layer 4 of the neural network 3 described later, The R, G, and B values are supplied to the output layer 6.

【0024】即ち、撮影光源でのR,G,B値を標準光
源でのR,G,B値に変換するように、24組の撮影光
源でのR,G,B値、及び標準光源でのR,G,B値を
バックプロパゲーション法により学習させる。
That is, the R, G, and B values of the 24 sets of photographing light sources and the standard light source are used so that the R, G, and B values of the photographing light source are converted into the R, G, and B values of the standard light source. R, G and B values are learned by the back propagation method.

【0025】尚、ROM9に記憶されている標準光源
(D65)の可視領域における分光分布データと、マク
ベスカラーチェッカーの24色票についての可視領域に
おける分光反射率データを、それぞれ表2、表3に示
す。
The spectral distribution data in the visible region of the standard light source (D65) stored in the ROM 9 and the spectral reflectance data in the visible region of the 24 color chart of the Macbeth color checker are shown in Tables 2 and 3, respectively. Show.

【0026】[0026]

【表2】 [Table 2]

【0027】[0027]

【表3】 [Table 3]

【0028】ここで、表2の分光分布データは、400
〜700nmまでの可視領域を10nm単位で分割し、その
各波長領域における標準光源の分光分布データであり、
JIS Z8720付表1に定められた値に基づいてい
る。
Here, the spectral distribution data in Table 2 is 400
The visible region from to 700 nm is divided in units of 10 nm, and the spectral distribution data of the standard light source in each wavelength region.
Based on the values defined in JIS Z8720 Appendix Table 1.

【0029】また、表3の分光反射率データは、400
〜700nmまでの可視領域を10nm単位で分割し、その
各波長領域におけるマクベスカラーチェッカーの24色
票について、JIS Z8722に基づいて分光測色計
(ミノルタ製CM−1000)で測定した分光反射率デ
ータ(単位:%)である。
The spectral reflectance data in Table 3 is 400
The visible region from to 700 nm is divided in units of 10 nm, and spectral reflectance data measured by a spectrophotometer (CM-1000 manufactured by Minolta) based on JIS Z8722 for the 24 color patches of the Macbeth color checker in each wavelength region. (Unit:%).

【0030】次に、本発明のホワイトバランス補正装置
の動作について図2、及び図3のフローチャートを参照
して説明する。
Next, the operation of the white balance correction device of the present invention will be described with reference to the flowcharts of FIGS.

【0031】まず、学習モードサブルーチン(図3)に
進む(S1)。その学習モードサブルーチンにおいて
は、図3に示すように、まず学習モードに設定し、モー
ド切換回路5によりSW1、及びSW2を図1中のa側
に接続する(S101)。そして、分光測定器7により
撮影光源の400nm〜700nmの可視領域における分光
分布特性を10nm単位で測定する(S102)。次に、
初期設定として色票Ci(i=1〜24)のi値を1に
する(S103)。なお、本実施例では色票C1をライ
トスキンとした。そして、ステップS102で測定され
た撮影光源の分光分布データI1(λ)がRGB値算出回
路8に供給されると共に(S104)、RGB値算出回
路8はROM9から標準光源の分光分布データI0(λ)
と、撮像素子の撮像特性データR(λ)、G(λ)、B(λ)
を読み込む(S105)。さらに、RGB値算出回路8
はROM9から色票Ciの分光反射率データri(λ)を読
み込み(S106)、これらのデータに基づいて色票C
iに対する標準光源、及び撮影光源におけるR,G,B
値を算出する(S107)。この場合の標準光源におけ
るR,G,B値の算出式を数2に、撮影光源における
R,G,B値の算出式を数3に示す。尚、λは波長、R
0,G0,B0はそれぞれ色票Ciに対する標準光源におけ
るR,G,B値、R1,G1,B1はそれぞれ色票Ciに対
する撮影光源におけるR,G,B値を表している。
First, the process proceeds to a learning mode subroutine (FIG. 3) (S1). In the learning mode subroutine, as shown in FIG. 3, first, the learning mode is set, and the mode switching circuit 5 connects SW1 and SW2 to the a side in FIG. 1 (S101). Then, the spectral distribution characteristic of the imaging light source in the visible region of 400 nm to 700 nm is measured in units of 10 nm by the spectrometer 7 (S102). next,
The i values of color chips C i (i = 1 to 24) to 1 as the initial setting (S103). In the present embodiment has a light skin color chart C 1. Then, the spectral distribution data I 1 (λ) of the photographing light source measured in step S102 is supplied to the RGB value calculating circuit 8 (S104), and the RGB value calculating circuit 8 reads the spectral distribution data I 0 of the standard light source from the ROM 9. (λ)
And imaging characteristic data R (λ), G (λ), B (λ)
Is read (S105). Further, the RGB value calculation circuit 8
Reads the spectral reflectance data r i (λ) of the color chart C i from the ROM 9 (S106), and reads the color chart C
R, G, B in the standard light source for i and the shooting light source
A value is calculated (S107). The equation for calculating the R, G, B values in the standard light source in this case is shown in Equation 2, and the equation for calculating the R, G, B values in the imaging light source is shown in Equation 3. Where λ is the wavelength, R
0, G 0, B 0 represents R at the standard source for color chart C i, respectively, G, B value, R 1, G 1, R in the imaging light source respectively B 1 represents for the color chart C i, G, B values ing.

【0032】[0032]

【数2】 (Equation 2)

【0033】[0033]

【数3】 (Equation 3)

【0034】次に、i値をインクリメントし(S10
8)、i値が24になったかどうか、つまりROM9に
記憶されている24色票全てについて、ステップS10
7においてR,G,B値の算出を行ったか否かを判断す
る(S109)。そして、24色票全てについて行って
いない場合にはステップS106に戻り、24色票全て
について行った場合には、次のステップS110に進
む。
Next, the i value is incremented (S10
8) Step S10 is performed to determine whether the i value is 24, that is, for all 24 color patches stored in the ROM 9.
It is determined whether the R, G, and B values have been calculated in S7 (S109). If the processing has not been performed on all the 24 color patches, the process returns to step S106. If the processing has been performed on all the 24 color patches, the process proceeds to the next step S110.

【0035】ステップS110では、ステップS107
で算出された色票C1〜C24に対する24組のR1
1,B1値、及びR0,G0,B0値を、それぞれニュー
ラルネット3の入力層4、及び出力層6に供給し、バッ
クプロパゲーション法によりニューラルネット3を学習
させ、学習が終了した場合にはメインルーチン(図2)
のステップS2に進む。
In step S110, step S107
24 sets of R 1 for the color charts C 1 to C 24 calculated by
The G 1 and B 1 values and the R 0 , G 0 and B 0 values are supplied to the input layer 4 and the output layer 6 of the neural network 3, respectively, and the neural network 3 is learned by the back propagation method. If finished, the main routine (Fig. 2)
Go to step S2.

【0036】ステップS2では、ホワイトバランスの補
正モードに設定し、モード切換回路5によりSW1、及
びSW2を図1中のb側に接続する。そして、画像メモ
リ1に外部から供給されている入力カラー画像信号の一
画面分を読み込み、記憶保持させる(S3)。次に、画
像メモリ1から一画面分の入力カラー画像信号R,G,
B値を読み出し、そのR,G,B値をニューラルネット
3の入力層4にそれぞれ入力し(S4)、ニューラルネ
ット3の出力層6からホワイトバランス補正されたカラ
ー画像信号R’,G’,B’値に変換出力し、カラー画
像出力部に供給する(S5)。そして、次のステップS
6では、次画面の入力カラー画像情報があるか否かを判
断し、YESの場合にはステップS1に戻り、NOの場
合には全動作終了する。
In step S2, a white balance correction mode is set, and the mode switching circuit 5 connects SW1 and SW2 to the b side in FIG. Then, one screen of the input color image signal supplied from the outside is read into the image memory 1 and stored and held (S3). Next, the input color image signals R, G,
The B value is read, and the R, G, and B values are input to the input layer 4 of the neural network 3 (S4), and the white balance-corrected color image signals R ', G', The output is converted to a B 'value and supplied to a color image output unit (S5). Then, the next step S
At 6, it is determined whether or not there is input color image information for the next screen. If YES, the process returns to step S1, and if NO, the entire operation is terminated.

【0037】また、ニューラルネット3は、ホワイトバ
ランスの補正モード時には図4に示すように、画像メモ
リ1からの入力カラー画像信号R,G,B値がそれぞれ
入力される入力層4と、入力層4の各ニューロンX
i(i=1〜3)からの信号が結合係数Wij(j=1〜
30)で重み付けを行って入力されるニューロンYj
より構成される中間層10と、中間層10の各ニューロ
ンBjからの信号が結合係数Vjk(k=1〜3)で重み
付けを行って入力されるニューロンZkにより構成され
る出力層6とからなる。そして、これら出力層6の各ニ
ューロンZk出力は、ホワイトバランス補正された補正
画像信号R’,G’,B’値を表している。尚、学習モ
ード時には、前述したようにRGB値算出回路8にて算
出された色票C1〜C24に対する24組のR1,G1,B1
値、及びR0,G0,B0値が、それぞれニューラルネッ
ト3の入力層4、及び出力層6に供給されている。
In the white balance correction mode, the neural network 3 has an input layer 4 to which input color image signals R, G, and B values from the image memory 1 are input, as shown in FIG. 4 each neuron X
i (i = 1 to 3) form a coupling coefficient W ij (j = 1 to
30), the signals from the intermediate layer 10 composed of the neurons Y j input by weighting and the signals from the neurons B j of the intermediate layer 10 are weighted by the coupling coefficients V jk (k = 1 to 3). and an output layer 6 which composed of neuron Z k inputted. The outputs of the neurons Z k of the output layer 6 represent the values of the corrected image signals R ′, G ′, and B ′ that have been subjected to white balance correction. In the learning mode, 24 sets of R 1 , G 1 , B 1 for the color patches C 1 to C 24 calculated by the RGB value calculation circuit 8 as described above.
The values and the R 0 , G 0 , and B 0 values are supplied to the input layer 4 and the output layer 6 of the neural network 3, respectively.

【0038】また、上記実施例では中間層10のニュー
ロンの個数を30個としているが、これはホワイトバラ
ンス補正の精度を考慮して設定したものであり、ホワイ
トバランス補正の精度が不十分でなければこの数に特定
される必要はない。
Although the number of neurons in the intermediate layer 10 is set to 30 in the above embodiment, this is set in consideration of the accuracy of white balance correction, and the accuracy of white balance correction must be insufficient. There is no need to be specific to the number of tobacco.

【0039】一方、中間層10の各結合係数Wij及びV
jkは、前述するように学習モードにおいて予め学習さ
せ、設定された値となっている。
On the other hand, each coupling coefficient W ij and V
jk has been set in advance in the learning mode as described above.

【0040】次に、本発明によりホワイトバランス補正
を行った場合において、マクベスカラーチェッカーによ
るライトスキンからブラックまでの24個の色票を用い
て、A,D50,D65,D75,F6,F8,F10
の7種類の光源下での標準光源との色差をCIELAB
で評価した結果を平均して求めた平均色差を表4に示
す。
Next, when white balance correction is performed according to the present invention, A, D50, D65, D75, F6, F8, and F10 are calculated using 24 color patches from light skin to black by the Macbeth color checker.
Color difference with standard light source under 7 types of light sources
Table 4 shows the average color difference obtained by averaging the results evaluated in.

【0041】[0041]

【表4】 [Table 4]

【0042】この表4より、本発明によるホワイトバラ
ンス補正を行った場合には、前記従来法による補正では
ホワイトバランス補正が不十分であった光源A,F6,
F10においても、平均色差がそれぞれ2.2,2.
0,1.7となっており、ホワイトバランス補正が精度
よく行なわれていることが分かる。
As can be seen from Table 4, when the white balance correction according to the present invention was performed, the light sources A, F6, and the light sources A, F6, which had insufficient white balance correction by the above-described conventional method.
Also in F10, the average color difference is 2.2, 2.2.
0 and 1.7, indicating that the white balance correction has been performed with high accuracy.

【0043】尚、上記実施例では、カラー画像情報とし
てR,G,B値を用いた場合について説明したが、その
他のカラー画像情報、例えばCIEが定めたL*,a*
*値を用いても構わない。
In the above embodiment, the case where the R, G, and B values are used as the color image information has been described. However, other color image information, for example, L * , a * ,
The b * value may be used.

【0044】また、前記色票C1〜C24に対する標準光
源におけるR,G,B値を、ROM9に予め書き込まれ
ている標準光源の可視領域における分光分布データに基
づいて、RGB値算出回路8にて算出する場合について
説明したが、該分光分布データの代わりに、ROM9に
前記色票C1〜C24に対する標準光源におけるR,G,
B値を予め書き込ませておいても構わない。
The R, G, and B values of the standard light source for the color chips C 1 to C 24 are calculated based on the spectral distribution data in the visible region of the standard light source written in the ROM 9 in advance. Has been described, but instead of the spectral distribution data, R, G, and R in the standard light source for the color patches C 1 to C 24 are stored in the ROM 9.
The B value may be written in advance.

【0045】[0045]

【発明の効果】以上述べた通り本発明によれば、種々の
光源のもとで撮影されたとしても、ホワイトバランス補
正されていない入力カラー画像情報が、理想のホワイト
バランス状態になるように補正されて出力される。
As described above, according to the present invention, even if the image is taken under various light sources, the input color image information that has not been subjected to white balance correction is corrected so as to be in an ideal white balance state. Is output.

【0046】従って、白熱電灯やある種の螢光灯などの
撮影光源下においても忠実な色再現が行われ、常に良好
なカラー画像を得ることができる。
Accordingly, faithful color reproduction is performed even under a photographing light source such as an incandescent lamp or a kind of fluorescent lamp, and a good color image can always be obtained.

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

【図1】本発明のホワイトバランス補正装置の概略ブロ
ック図である。
FIG. 1 is a schematic block diagram of a white balance correction device according to the present invention.

【図2】本発明のホワイトバランス補正装置の動作を説
明するためのメインルーチンのフローチャートである。
FIG. 2 is a flowchart of a main routine for explaining the operation of the white balance correction device of the present invention.

【図3】本発明のホワイトバランス補正装置の動作を説
明するためのサブルーチンのフローチャートである。
FIG. 3 is a flowchart of a subroutine for explaining the operation of the white balance correction device of the present invention.

【図4】図1実施例に適用したニューラルネットの、補
正モード時における構成図である。
FIG. 4 is a configuration diagram of a neural network applied to the embodiment of FIG. 1 in a correction mode.

【図5】従来のカラービデオカメラにおける、ホワイト
バランス補正装置の概略ブロック図である。
FIG. 5 is a schematic block diagram of a white balance correction device in a conventional color video camera.

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

1 画像メモリ 2 CPU 3 ニューラルネット 4 入力層 5 モード切換回路 6 出力層 7 分光測定器 8 RGB値算出回路 9 ROM 10 中間層 51 撮影レンズ 52 CCD 53 信号処理回路 54 可変利得増幅器 56 測光レンズ DESCRIPTION OF SYMBOLS 1 Image memory 2 CPU 3 Neural net 4 Input layer 5 Mode switching circuit 6 Output layer 7 Spectrometer 8 RGB value calculation circuit 9 ROM 10 Intermediate layer 51 Shooting lens 52 CCD 53 Signal processing circuit 54 Variable gain amplifier 56 Photometric lens

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】被写体を撮影して得られた入力カラー画像
情報に基づいて、カラー画像を出力するカラー画像出力
機器において、 撮影光源の分光分布を測定する分光測定手段と、 該分光測定手段により測定された分光分布値に基づい
て、所定色票に対する標準光源、及び前記撮影光源にお
けるカラー画像情報値の対データを複数組算出する算出
手段と、 複数のユニットからなる入力層と、該入力層の各ユニッ
トと相互に結合された複数のユニットからなる中間層
と、該中間層の各ユニットと相互に結合された複数のユ
ニットからなる出力層とからなるニューラルネットと、 前記算出手段にて算出された複数組の前記撮影光源、及
び前記標準光源におけるカラー画像情報値の対データ
を、それぞれ前記入力層、及び前記出力層に供給し、バ
ックプロパゲーション法により前記ニューラルネットを
学習させる学習モードと、前記入力カラー画像情報の出
力値を前記入力層に供給し、前記出力層から入力カラー
画像のホワイトバランス補正された補正カラー画像情報
値を出力させる補正モードとを切換設定すると共に、前
記補正モードへの設定に先立ち前記学習モードに設定す
るモード切換手段と、 を備えていることを特徴とするホワイトバランス補正装
置。
1. A color image output device for outputting a color image based on input color image information obtained by photographing a subject, comprising: a spectrometer for measuring a spectral distribution of a photographing light source; Calculating means for calculating a plurality of sets of color image information value pair data in the standard light source and the photographing light source based on the measured spectral distribution values, and an input layer including a plurality of units; A neural network consisting of an intermediate layer composed of a plurality of units mutually coupled to each unit of the above, and an output layer composed of a plurality of units mutually coupled to each unit of the intermediate layer; The plurality of sets of the imaging light source, and the pair data of the color image information value in the standard light source, respectively, to the input layer and the output layer, A learning mode for learning the neural network by a propagation method, supplying an output value of the input color image information to the input layer, and outputting a corrected color image information value of the input color image after white balance correction from the output layer. And a mode switching unit configured to switch between a correction mode to be set and a learning mode prior to setting to the correction mode.
JP00573492A 1992-01-16 1992-01-16 White balance correction device Expired - Fee Related JP3253334B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00573492A JP3253334B2 (en) 1992-01-16 1992-01-16 White balance correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00573492A JP3253334B2 (en) 1992-01-16 1992-01-16 White balance correction device

Publications (2)

Publication Number Publication Date
JPH05191825A JPH05191825A (en) 1993-07-30
JP3253334B2 true JP3253334B2 (en) 2002-02-04

Family

ID=11619334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00573492A Expired - Fee Related JP3253334B2 (en) 1992-01-16 1992-01-16 White balance correction device

Country Status (1)

Country Link
JP (1) JP3253334B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2735003B2 (en) * 1994-09-28 1998-04-02 松下電器産業株式会社 White balance adjustment amount calculation device
JP4534340B2 (en) * 2000-10-31 2010-09-01 ソニー株式会社 Color reproduction correction device
BRPI0713293B1 (en) 2006-06-28 2018-08-07 Philips Lighting Holding B.V. METHOD FOR CONTROLING A LIGHTING SYSTEM WITH MULTIPLE CONTROLLED LIGHT SOURCES AND CONTROL SYSTEM FOR CONTROLING A LIGHTING SYSTEM
CN115701128A (en) * 2021-07-29 2023-02-07 华为技术有限公司 Image processing method and related equipment

Also Published As

Publication number Publication date
JPH05191825A (en) 1993-07-30

Similar Documents

Publication Publication Date Title
EP1092323B1 (en) Methods and apparatus for color device characterization
US7002624B1 (en) Apparatus and method for obtaining object-color component data
KR100278642B1 (en) Color image processing apparatus and method
US20040201766A1 (en) Camera having user interface with verification display and color cast indicator
JP2002325260A (en) Camera having display apparatus for confirmation provided with adaptative compensation of observer to reference light source
JP2002290979A (en) Camera having verification display with reverse white balanced viewer adaptation compensation and capturing method therefor
JP2002374539A (en) Camera capable of correcting white balance
JPH0722311B2 (en) Color image reading device
JP2002287235A (en) Camera and method for displaying principal color of multicolor scene and/or photographed multicolor image in the scene
US20020118967A1 (en) Color correcting flash apparatus, camera, and method
US20050219364A1 (en) Imaging device calibration methods, imaging device calibration instruments, imaging devices, and articles of manufacture
JP2978615B2 (en) Apparatus and method for adjusting color balance
JP4677699B2 (en) Image processing method, image processing device, photographing device evaluation method, image information storage method, and image processing system
JP2001008220A (en) Color reproduction system
Pointer et al. Practical camera characterization for colour measurement
JP3253334B2 (en) White balance correction device
US6211973B1 (en) Color transforming method
JPH11113018A (en) Image pickup device
JPH04304093A (en) Digital automatic white balancing circuit
JP3863773B2 (en) Image photographing method and apparatus
JP2003259392A (en) White balance correction method
JPH08242459A (en) Light source information collectng device and image pickup device using the same
JP3539883B2 (en) Image processing method and apparatus, recording medium, imaging apparatus, and image reproducing apparatus
KR100322189B1 (en) Method for estimating spectral distribution of illumination in a digital image
JP2720967B2 (en) Color negative film reader

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees