JPH05300527A - Color balance correcting device for color image - Google Patents

Color balance correcting device for color image

Info

Publication number
JPH05300527A
JPH05300527A JP4102623A JP10262392A JPH05300527A JP H05300527 A JPH05300527 A JP H05300527A JP 4102623 A JP4102623 A JP 4102623A JP 10262392 A JP10262392 A JP 10262392A JP H05300527 A JPH05300527 A JP H05300527A
Authority
JP
Japan
Prior art keywords
color
circuit
multiplexer
register
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.)
Granted
Application number
JP4102623A
Other languages
Japanese (ja)
Other versions
JP3220506B2 (en
Inventor
Hiroaki Sumikawa
博章 澄川
Nozomi Oishi
望 大石
Mitsuo Togashi
光夫 富樫
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems 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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
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

Abstract

PURPOSE:To facilitate the change of a correction coefficient with use of a simple and inexpensive circuit constitution by storing previously the correction coefficient in a register and multiplying successively the correction coefficient by the input image signals through a single multiplier circuit to add these multiplication results together. CONSTITUTION:The 8-bit input image signals Rin, Gin and Bin of three colors which are given in parallel with each other are successively and repetitively switched by a multiplexer 10 and supplied to one of both input terminals of a multiplier circuit 40. Meanwhile nine correction coefficients K11-K33 are written into a register group 20 through a CPU 4. When the signals Rin, Gin and Bin are successively inputted to the circuit 40 from the multiplexer 10, the correction coefficients K11-K13 are successively inputted to the circuit 40 from a multiplexer 30 and three multiplying operations are carried out, i.e., (RinXK11), (GinXK12) and (BinXK13) respectively. These multiplication results are added together by an adder circuit 50 and a register 70. Then an image signal OUT equivalent to a single corrected color is outputted via a register 80.

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 of a color balance correction device for a color image for correcting the color balance of the image output of a color camera using a CCD image sensor, for example.

【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 A typical conventional configuration of a color balance correction apparatus is shown in FIG. In the figure, 1, 2, and 3 are R, G,
B is a circuit block for calculating the corrected image signals Rout, Gout, and Bout of each color.
Image signals Rin, Gin, and Bin before correction of G and B colors are input in parallel. The blocks 1, 2, and 3 have the same circuit configuration and are therefore shown in a stacked form. Below, the block 1 will be described 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, the image signals Rin, Gin, and Bin each have 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 table T3 stores the result of multiplying the image signal Bin by the correction coefficient K13 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, T3 are composed of ROMs (read-only memories), and 16-bit × 256 which outputs 16-bit data for each 8-bit input.
Memory for word capacity. Each coefficient multiplication table T1, T
The multiplication data from 2, T3 are two adder circuits 11 and 12
Is added, and the addition result is the corrected image signal Rout for one color. That is, the circuit block 1 performs the data processing represented by the following equation.

【0005】 (1) Rout=Rin×K11+Gin×K12+Bin×K13 まったく同じ構成の回路ブロック2と3によって次式の
データ処理が行われて、Gout,Bout が求められる。
(1) Rout = Rin × K11 + Gin × K12 + Bin × K13 The circuit blocks 2 and 3 having exactly the same configuration perform the data processing of the following equation 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 apparatus configured as described above, since the processing function portion for multiplying the input data by the coefficient is formed in the ROM table,
The problem that the correction coefficient cannot be changed individually according to the characteristics of the camera to be used, and 16
A total of nine ROMs with a capacity of bits x 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 composed of 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 huge cannot be improved. In addition, hardware and software are required to rewrite the data in the RAM table,
The cost is higher than that of the ROM table.

【0009】この発明は前述した従来の問題点に鑑みな
されたもので、その目的は、簡単で低コストな回路構成
で補正係数を容易に変更することができるようにしたカ
ラー画像の色バランス補正装置を提供することにある。
The present invention has been made in view of the above-mentioned conventional problems, and an object thereof is to correct a color balance of a color image in which a correction coefficient can be easily changed with a simple and low-cost circuit configuration. 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 image signals of respective colors to one input of a multiplication circuit, and a corrected image for one color from image signals of respective colors. A coefficient register group for storing a total of nine correction coefficients for three colors for one color to obtain a signal, and three correction coefficients for each color from the coefficient register group are switched in synchronization with the data multiplexer. A coefficient multiplexer for sequentially supplying the other input of the multiplying circuit to the other input, and an addition output circuit section for adding three multiplication results for one color from the multiplying circuit and outputting the result as a corrected image signal for one color. Circuit means for writing an arbitrary correction coefficient in 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 factors K11, K12, K13, K21, K in (3)
22, K23, K31, K32, K33 are written. Also, formula (1)
(2) Nine times of multiplication in (3) will be sequentially executed by the multiplication circuit. Furthermore, equations (1) and (2)
The addition for each (3) is sequentially performed in the addition output circuit unit, and the corrected image signals Rout, Gout, Bout are sequentially generated.

【0012】[0012]

【実施例】図2にこの発明の一実施例による色バランス
補正装置の概略構成を示している。図において、CPU
4はこの色バランス補正装置が包含される画像処理シス
テムの中枢であり、この装置もCPU4により基本的に
制御される。並列に与えられる3色各8ビットの入力画
像信号Rin,Gin,Binはマルチプレクサ10により順番
にかつ繰り返し切り換えられて乗算回路40の一方の入
力に供給される。
FIG. 2 shows a schematic structure of a color balance correction apparatus according to an embodiment of the present invention. In the figure, CPU
Reference numeral 4 is the center of an image processing system in which this color balance correction device is included, and this device is also basically controlled by the CPU 4. The 8-bit input image signals Rin, Gin, and Bin for each of the three colors 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がそれぞれに書き
込まれる(もちろん書き換え自在である)。
Further, nine correction coefficients K11, K12, K13, K21,
Nine 8-bit registers 21 to 29 are provided to store K22, K23, K31, K32, and K33 (the whole is referred to as a register group 20). These register groups 20 have a CPU
According to 4, 9 correction coefficients K11 to K33 are written in each (of course, rewritable).

【0014】レジスタ群20にセットされた9個の補正
係数K11〜K33はすべてマルチプレクサ30に入力さ
れ、マルチプレクサ30により順番にかつ繰り返し切り
換えられて乗算回路40の他方の入力に供給される。2
つのマルチプレクサ10と30はタイミングコントロー
ラ90によって同期して切り換え制御されるとともに、
次に説明する乗算回路40、加算回路50、レジスタ7
0、80の動作もタイミングコントローラ90によって
同期制御される。
All nine correction coefficients K11 to K33 set in the register group 20 are input to the multiplexer 30, sequentially and repeatedly switched by the multiplexer 30 and supplied to the other input of the multiplication circuit 40. Two
The two multiplexers 10 and 30 are synchronously switched and controlled by the timing controller 90, and
The multiplication circuit 40, the addition circuit 50, and the 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を介して出力される。
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 three times of multiplication (Rin × K11) (G
in × K12) (Bin × K13) is executed. The multiplication results for three times are cumulatively added by the adding 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 multiplexer 10 outputs the image signal Ri.
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. Further, 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 the image signal for one sample 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 only one multiplication circuit. And are sequentially multiplied and cumulatively added,
Since the configuration is such that the correction processing of the image signals of each color is executed serially in time, it does not require a large capacity memory, the cost of circuit elements is lower than before, and some correction coefficients set in the register can be rewritten. Thus, appropriate and fine adjustment can be easily performed according to the characteristics of each camera.

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

【図1】従来の代表的な色バランス補正装置の概略構成
FIG. 1 is a schematic configuration diagram of a conventional representative 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

Claims (1)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012058204A (en) * 2010-09-13 2012-03-22 Japan Aviation Electronics Industry Ltd Ring laser gyro device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012058204A (en) * 2010-09-13 2012-03-22 Japan Aviation Electronics Industry Ltd Ring laser gyro device

Also Published As

Publication number Publication date
JP3220506B2 (en) 2001-10-22

Similar Documents

Publication Publication Date Title
US6381690B1 (en) Processor for performing subword permutations and combinations
US4901258A (en) Method of and apparatus for generating look-up table data
US5175621A (en) Gamma correction circuit and method thereof
KR940025353A (en) Dual memory buffer structure for supplying multiple data streams from stored data
JPH0865546A (en) Circuit and method for generating shading correction coefficient
JPH05300527A (en) Color balance correcting device for color image
US6240062B1 (en) Fast fourier transform calculating apparatus and fast fourier transform calculating method
KR920011254A (en) Digital video signal processing device
US4991175A (en) Signature analysis
JP3726971B2 (en) Parallel processor device
KR0137635Y1 (en) Gamma correction circuit using room
US20080205582A1 (en) Processing element and reconfigurable circuit including the same
US7254758B2 (en) Method and apparatus for testing circuit units to be tested with different test mode data sets
TWI423667B (en) Apparatus for color processing
JPS58146192A (en) Color coder matrix circuit
JPH05266060A (en) Matrix arithmetic circuit
JP2000020705A (en) Parallel image processing processor
KR950009765B1 (en) A multiplier for digital filter using square-rom method and a fir filter thereof
JP2868038B2 (en) Test circuit for semiconductor integrated circuit device
SU427491A1 (en)
SU1621047A1 (en) Device for shaping hystograms
JPH0466146B2 (en)
JPS6334623A (en) Look-up table
JPH0833920B2 (en) Video signal arithmetic mean
JPH04345397A (en) Multichip type image sensor and between-chip level difference corrector

Legal Events

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