JP3220506B2 - Color image color balance correction device - Google Patents

Color image color balance correction device

Info

Publication number
JP3220506B2
JP3220506B2 JP10262392A JP10262392A JP3220506B2 JP 3220506 B2 JP3220506 B2 JP 3220506B2 JP 10262392 A JP10262392 A JP 10262392A JP 10262392 A JP10262392 A JP 10262392A JP 3220506 B2 JP3220506 B2 JP 3220506B2
Authority
JP
Japan
Prior art keywords
color
circuit
coefficient
multiplication
correction
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
JP10262392A
Other languages
Japanese (ja)
Other versions
JPH05300527A (en
Inventor
博章 澄川
望 大石
光夫 富樫
Original Assignee
松下電送システム株式会社
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 松下電送システム株式会社 filed Critical 松下電送システム株式会社
Priority to JP10262392A priority Critical patent/JP3220506B2/en
Publication of JPH05300527A publication Critical patent/JPH05300527A/en
Application granted granted Critical
Publication of JP3220506B2 publication Critical patent/JP3220506B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、例えばCCDイメー
ジセンサを用いたカラーカメラの画像出力の色バランス
を補正するためのカラー画像の色バランス補正装置の改
良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in a color image color balance correction device for correcting a color balance of an image output of a color camera using, for example, a CCD image sensor.

【0002】[0002]

【従来の技術】色バランス補正装置の従来の代表的な構
成を図1に示している。図において、1,2,3はR,G,
B各色の補正画像信号Rout,Gout,Boutを演算する回
路ブロックであり、各ブロック1,2,3にそれぞれR,
G,B各色の補正前の画像信号Rin,Gin,Binが並列に
入力される。各ブロック1,2,3は同じ回路構成なので
重ねた形で図示しており、以下ではブロック1を代表と
して説明する。
2. Description of the Related Art FIG. 1 shows a conventional typical configuration of a color balance correction apparatus. In the figure, 1, 2, and 3 are R, G,
This is a circuit block for calculating the corrected image signals Rout, Gout, and Bout for each of the B colors.
Image signals Rin, Gin, Bin before correction of each of G and B colors are input in parallel. Since the blocks 1, 2, and 3 have the same circuit configuration, they are shown in an overlapped form, and the block 1 will be described below as a representative.

【0003】この例では画像信号Rin,Gin,Binはそれ
ぞれ8ビットである。ブロック1には3個の係数乗算テ
ーブルT1,T2,T3が含まれる。テーブルT1には画
像信号Rinに補正係数K11を乗じた結果がデータテーブ
ルの形で格納されている。テーブルT2には画像信号G
inに補正係数K12を乗じた結果がデータテーブルの形で
格納されている。テーブルT3には画像信号Binに補正
係数K13を乗じた結果がデータテーブルの形で格納され
ている。
In this example, each of the image signals Rin, Gin, Bin has 8 bits. Block 1 includes three coefficient multiplication tables T1, T2, T3. The result of multiplying the image signal Rin by the correction coefficient K11 is stored in the table T1 in the form of a data table. The image signal G is stored in the table T2.
The result of multiplying in by the correction coefficient K12 is stored in the form of a data table. The result of multiplying the image signal Bin by the correction coefficient K13 is stored in the table T3 in the form of a data table.

【0004】テーブルT1,T2,T3はROM(読み出
し専用メモリ)からなり、それぞれ8ビットの入力に対
して16ビットのデータを出力する16ビット×256
語の容量のメモリである。各係数乗算テーブルT1,T
2,T3からの乗算データが2つの加算回路11と12
で加算され、その加算結果が補正された1色分の画像信
号Rout である。つまり回路ブロック1では次の式で表
されるデータ処理が行われる。
The tables T1, T2, and T3 are composed of ROM (read only memory), and each of 16 bits × 256 which outputs 16 bits of data with respect to an input of 8 bits.
A word-sized memory. Each coefficient multiplication table T1, T
2. The multiplication data from T3 is divided into two addition circuits 11 and 12
And the result of addition is a corrected image signal Rout for one color. That is, in the circuit block 1, data processing represented by the following equation is performed.

【0005】 (1) Rout=Rin×K11+Gin×K12+Bin×K13 まったく同じ構成の回路ブロック2と3によって次式の
データ処理が行われて、Gout,Bout が求められる。
(1) Rout = Rin × K11 + Gin × K12 + Bin × K13 The data processing of the following equation is performed by the circuit blocks 2 and 3 having exactly the same configuration to obtain Gout and Bout.

【0006】 (2) Gout=Rin×K21+Gin×K22+Bin×K23 (3) Bout=Rin×K31+Gin×K32+Bin×K33(2) Gout = Rin × K21 + Gin × K22 + Bin × K23 (3) Bout = Rin × K31 + Gin × K32 + Bin × K33

【0007】[0007]

【発明が解決しようとする課題】前記のように構成され
た従来の色バランス補正装置では、入力データに係数を
掛ける処理機能部分をROMテーブル化しているので、
使用するカメラの特性に合せて補正係数を個々に変更す
ることができないという問題と、前記の例のように16
ビット×256語の容量のROMを合計9個も必要で、
非常に回路コストが高くなるという問題があった。
In the conventional color balance correction device configured as described above, the processing function for multiplying the input data by a coefficient is stored in a ROM table.
The problem that the correction coefficients cannot be individually changed according to the characteristics of the camera used, and
A total of 9 ROMs with a capacity of 256 bits × 256 words are required.
There is a problem that the circuit cost becomes very high.

【0008】前者の問題に対しては、係数乗算テーブル
を書き換え可能なRAMで構成し、乗算結果データ(つ
まり使用する乗算係数)を個々の装置ごとに可変設定で
きるように構成すればよい。しかしこの場合でも、テー
ブル用のメモリ容量が膨大になるという後者の問題は改
善されない。加えて、RAMテーブルのデータを書き換
えるためのハードウェアとソフトウェアが必要となり、
ROMテーブルの場合よりさらにコスト高になる。
To solve the former problem, the coefficient multiplication table may be constituted by a rewritable RAM so that the multiplication result data (that is, the multiplication coefficient to be used) can be variably set for each device. However, even in this case, the latter problem that the memory capacity for the table becomes enormous is not improved. In addition, hardware and software for rewriting the data in the RAM table are required,
The cost is higher than in the case of the ROM table.

【0009】この発明は前述した従来の問題点に鑑みな
されたもので、その目的は、簡単で低コストな回路構成
で補正係数を容易に変更することができるようにしたカ
ラー画像の色バランス補正装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described conventional problems, and has as its object to correct the color balance of a color image so that a correction coefficient can be easily changed with a simple and low-cost circuit configuration. It is to provide a device.

【0010】[0010]

【課題を解決するための手段】この発明の色バランス補
正装置は、各色の画像信号を乗算回路の一方の入力に順
番に供給するデータ用マルチプレクサと、各色の画像信
号から1色分の補正画像信号を得るための1色分3個で
3色分合計9個の補正係数を格納する係数レジスタ群
と、前記データ用マルチプレクサと同期して切り換えら
れて前記係数レジスタ群から各色3個の補正係数を前記
乗算回路の他方の入力に順番に供給する係数用マルチプ
レクサと、前記乗算回路からの1色分3個の乗算結果を
加算して1色分の補正画像信号として出力する加算出力
回路部と、前記係数レジスタ群に任意の補正係数を書き
込む回路手段とを備えたものである。
A color balance correction apparatus according to the present invention comprises a data multiplexer for sequentially supplying an image signal of each color to one input of a multiplying circuit, and a corrected image for one color from the image signal of each color. A coefficient register group for storing a total of nine correction coefficients for three colors and three colors for obtaining a signal; and three correction coefficients for each color from the coefficient register group which are switched in synchronization with the data multiplexer. A coefficient multiplexer for sequentially supplying the multiplication results to the other input of the multiplication circuit, and an addition output circuit section for adding three multiplication results for one color from the multiplication circuit and outputting the result as a corrected image signal for one color. Circuit means for writing an arbitrary correction coefficient into the coefficient register group.

【0011】[0011]

【作用】前記係数レジスタ群には前記の式(1)(2)
(3)における9個の補正係数K11,K12,K13,K21,K
22,K23,K31,K32,K33が書き込まれる。また式(1)
(2)(3)における9回の掛け算が前記乗算回路で順
番に実行されることになる。さらに式(1)(2)
(3)ごとの足し算が前記加算出力回路部で順番に実行
され、補正画像信号Rout,Gout,Boutが順番に生成さ
れる。
The above-mentioned equations (1) and (2) are stored in the coefficient register group.
Nine correction coefficients K11, K12, K13, K21, K in (3)
22, K23, K31, K32, and K33 are written. Equation (1)
(2) Nine multiplications in (3) are sequentially performed by the multiplication circuit. Further, equations (1) and (2)
The addition for each (3) is sequentially performed in the addition output circuit section, and corrected image signals Rout, Gout, and Bout are generated in order.

【0012】[0012]

【実施例】図2にこの発明の一実施例による色バランス
補正装置の概略構成を示している。図において、CPU
4はこの色バランス補正装置が包含される画像処理シス
テムの中枢であり、この装置もCPU4により基本的に
制御される。並列に与えられる3色各8ビットの入力画
像信号Rin,Gin,Binはマルチプレクサ10により順番
にかつ繰り返し切り換えられて乗算回路40の一方の入
力に供給される。
FIG. 2 shows a schematic configuration of a color balance correction apparatus according to an embodiment of the present invention. In the figure, CPU
Reference numeral 4 denotes a center of an image processing system in which the color balance correction device is included, and this device is also basically controlled by the CPU 4. The input image signals Rin, Gin, Bin of each of the three colors, which are provided in parallel, are sequentially and repeatedly switched by the multiplexer 10 and supplied to one input of the multiplication circuit 40.

【0013】また9個の補正係数K11,K12,K13,K21,
K22,K23,K31,K32,K33を格納するために9個の8ビ
ットレジスタ21〜29が設けられている(全体をレジ
スタ群20とする)。これらレジスタ群20にはCPU
4によって9個の補正係数K11〜K33がそれぞれに書き
込まれる(もちろん書き換え自在である)。
The nine correction coefficients K11, K12, K13, K21,
Nine 8-bit registers 21 to 29 are provided for storing K22, K23, K31, K32, and K33 (the whole is referred to as a register group 20). These registers 20 include a CPU
By means of (4), nine correction coefficients K11 to K33 are written in each of them (of course, they are rewritable).

【0014】レジスタ群20にセットされた9個の補正
係数K11〜K33はすべてマルチプレクサ30に入力さ
れ、マルチプレクサ30により順番にかつ繰り返し切り
換えられて乗算回路40の他方の入力に供給される。2
つのマルチプレクサ10と30はタイミングコントロー
ラ90によって同期して切り換え制御されるとともに、
次に説明する乗算回路40、加算回路50、レジスタ7
0、80の動作もタイミングコントローラ90によって
同期制御される。
The nine correction coefficients K11 to K33 set in the register group 20 are all input to the multiplexer 30, and are sequentially and repeatedly switched by the multiplexer 30 and supplied to the other input of the multiplication circuit 40. 2
The two multiplexers 10 and 30 are synchronously switched and controlled by a timing controller 90,
Multiplying circuit 40, adding circuit 50, and register 7, which will be described next,
The operations of 0 and 80 are also synchronously controlled by the timing controller 90.

【0015】マルチプレクサ10から画像信号Rin,Gi
n,Binが順に1回乗算回路40に入力されるとき、マル
チプレクサ30から補正係数K11,K12,K13が順番に乗
算回路40に入力され、3回の乗算(Rin×K11)(G
in×K12)(Bin×K13)が実行される。この3回分の
乗算結果は加算回路50とレジスタ70によって累加さ
れ、その結果のデータRout=Rin×K11+Gin×K12
+Bin×K13すなわち補正された1色分の画像信号Rou
t がレジスタ80を介して出力される。
The image signals Rin, Gi from the multiplexer 10
When n and Bin are sequentially input to the multiplication circuit 40 once, the correction coefficients K11, K12, and K13 are sequentially input to the multiplication circuit 40 from the multiplexer 30, and the multiplication (Rin × K11) (G
in × K12) (Bin × K13) is executed. The results of the three multiplications are accumulated by the adder circuit 50 and the register 70, and the resulting data Rout = Rin × K11 + Gin × K12
+ Bin × K13, that is, the corrected image signal Rou for one color
t is output via the register 80.

【0016】次にマルチプレクサ10から画像信号Ri
n,Gin,Binが順に出力されるときには、マルチプレク
サ30から補正係数K21,K22,K23が順番に出力され、 Gout=Rin×K21+Gin×K22+Bin×K23 が計算されてレジスタ80から出力される。さらに次の
サイクルでマルチプレクサ10から画像信号Rin,Gin,
Binが順に出力されるときに、マルチプレクサ30から
補正係数K31,K32,K33が順番に出力され、 Bout=Rin×K31+Gin×K32+Bin×K33 が計算されてレジスタ80から出力される。
Next, the image signal Ri is output from the multiplexer 10.
When n, Gin, and Bin are sequentially output, the correction coefficients K21, K22, and K23 are sequentially output from the multiplexer 30, and Gout = Rin * K21 + Gin * K22 + Bin * K23 is calculated and output from the register 80. In the next cycle, the image signals Rin, Gin,
When Bin is sequentially output, the correction coefficients K31, K32, and K33 are sequentially output from the multiplexer 30, and Bout = Rin * K31 + Gin * K32 + Bin * K33 is calculated and output from the register 80.

【0017】以上が1サンプル分の画像信号Rin,Gin,
Binに対する色バランス補正処理の1サイクルの動作で
あり、この処理を入力に同期して繰り返す。
The above is a description of the image signals Rin, Gin,
This is a one-cycle operation of the color balance correction processing for Bin, and this processing is repeated in synchronization with the input.

【0018】[0018]

【発明の効果】以上のように、この発明の色バランス補
正装置では、ごく僅かな容量のレジスタに適宜な補正係
数を格納しておき、たったひとつの乗算回路で入力画像
信号とレジスタの補正係数とを順番に乗算して累加し、
各色の画像信号の補正処理を時間的に直列に実行する構
成としたので、大きな容量のメモリが必要なく、回路素
子コストが従来より安くなり、しかもレジスタにセット
するいくつかの補正係数を書き換えることで、個々のカ
メラの特性などに合せて適切で微細な調整を容易に行う
ことができる。
As described above, in the color balance correction apparatus of the present invention, an appropriate correction coefficient is stored in a register having a very small capacity, and the input image signal and the correction coefficient of the register are stored in a single multiplication circuit. And multiply by
Since the correction process of each color image signal is executed in time series, a large capacity memory is not required, the circuit element cost is lower than before, and several correction coefficients set in the register can be rewritten. Thus, appropriate and fine adjustment can be easily performed in accordance with the characteristics of each camera.

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

【図1】従来の代表的な色バランス補正装置の概略構成
FIG. 1 is a schematic configuration diagram of a conventional typical color balance correction device.

【図2】この発明の一実施例による色バランス補正装置
の概略構成図
FIG. 2 is a schematic configuration diagram of a color balance correction device according to an embodiment of the present invention;

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

Rin,Gin,Bin 入力画像信号 Rout,Gout,Bout 出力画像信号 K11,K12,K13,K21,K22,K23,K31,K32,K33 補正
係数 10 データ用マルチプレクサ 20 レジスタ群 30 係数用マルチプレクサ 40 乗算回路
Rin, Gin, Bin Input image signal Rout, Gout, Bout Output image signal K11, K12, K13, K21, K22, K23, K31, K32, K33 Correction coefficient 10 Data multiplexer 20 Register group 30 Coefficient multiplexer 40 Multiplication circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−227293(JP,A) 特開 平6−189120(JP,A) 特開 昭60−216670(JP,A) 実開 平1−105279(JP,U) (58)調査した分野(Int.Cl.7,DB名) H04N 9/04 - 9/11 H04N 9/64 - 9/78 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-63-227293 (JP, A) JP-A-6-189120 (JP, A) JP-A-60-216670 (JP, A) 105279 (JP, U) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 9/04-9/11 H04N 9/64-9/78

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 3色分解されてディジタル化された各色
の画像信号を乗算回路の一方の入力に順番に供給するデ
ータ用マルチプレクサと、各色の画像信号から1色分の
補正画像信号を得るための1色分3個で3色分合計9個
の補正係数を格納する係数レジスタ群と、前記データ用
マルチプレクサと同期して切り換えられて前記係数レジ
スタ群から各色3個の補正係数を前記乗算回路の他方の
入力に順番に供給する係数用マルチプレクサと、前記乗
算回路からの1色分3個の乗算結果を加算して1色分の
補正画像信号として出力する加算出力回路部と、前記係
数レジスタ群に任意の補正係数を書き込む回路手段とを
備えたことを特徴とするカラー画像の色バランス補正装
置。
1. A data multiplexer for sequentially supplying image signals of three colors separated and digitized to one input of a multiplying circuit, and a corrected image signal for one color from the image signals of each color. A coefficient register group for storing nine correction coefficients for three colors of three colors, and a multiplication circuit for switching three correction coefficients for each color from the coefficient register group in synchronization with the data multiplexer. A multiplexer for supplying a coefficient to the other input of the multiplication circuit in order, an addition output circuit section for adding three multiplication results for one color from the multiplication circuit and outputting as a corrected image signal for one color, and the coefficient register Circuit means for writing an arbitrary correction coefficient into a group.
JP10262392A 1992-04-22 1992-04-22 Color image color balance correction device Expired - Fee Related JP3220506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10262392A JP3220506B2 (en) 1992-04-22 1992-04-22 Color image color balance correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10262392A JP3220506B2 (en) 1992-04-22 1992-04-22 Color image color balance correction device

Publications (2)

Publication Number Publication Date
JPH05300527A JPH05300527A (en) 1993-11-12
JP3220506B2 true JP3220506B2 (en) 2001-10-22

Family

ID=14332375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10262392A Expired - Fee Related JP3220506B2 (en) 1992-04-22 1992-04-22 Color image color balance correction device

Country Status (1)

Country Link
JP (1) JP3220506B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5643584B2 (en) * 2010-09-13 2014-12-17 日本航空電子工業株式会社 Ring laser gyro device

Also Published As

Publication number Publication date
JPH05300527A (en) 1993-11-12

Similar Documents

Publication Publication Date Title
US6226034B1 (en) Spatial non-uniformity correction of a color sensor
US5175621A (en) Gamma correction circuit and method thereof
US6636629B1 (en) Image processing apparatus
KR970049856A (en) Sensor distance correction method and circuit in an image reading device having a plurality of licensors
JPH0865546A (en) Circuit and method for generating shading correction coefficient
JP3220506B2 (en) Color image color balance correction device
JP2000069327A (en) Gamma-correction device
JPH027671A (en) Color correction device
KR0137635Y1 (en) Gamma correction circuit using room
JP2806191B2 (en) Color signal correction circuit
JP5325246B2 (en) Image processing device
JP2505906B2 (en) Document reader
JP2521182B2 (en) Color correction device
JPH0376471A (en) Color picture input device
EP0801508A1 (en) Colour gamut detecting circuit and image sensing apparatus
JPH0466146B2 (en)
SU1621047A1 (en) Device for shaping hystograms
JP2000020705A (en) Parallel image processing processor
JP4086268B2 (en) Image processing apparatus and image processing method
SU427491A1 (en)
JPS60217756A (en) Signal processor
JP2013225909A (en) Image processing system
JPS63116277A (en) Color correcting device
JPH06189160A (en) Digital gamma correcting device
JPH0432372A (en) Video signal processing circuit

Legal Events

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