JP2521182B2 - Color correction device - Google Patents

Color correction device

Info

Publication number
JP2521182B2
JP2521182B2 JP2187785A JP18778590A JP2521182B2 JP 2521182 B2 JP2521182 B2 JP 2521182B2 JP 2187785 A JP2187785 A JP 2187785A JP 18778590 A JP18778590 A JP 18778590A JP 2521182 B2 JP2521182 B2 JP 2521182B2
Authority
JP
Japan
Prior art keywords
color
data
color signal
signal
calculation
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 - Lifetime
Application number
JP2187785A
Other languages
Japanese (ja)
Other versions
JPH0473760A (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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2187785A priority Critical patent/JP2521182B2/en
Priority to US07/658,141 priority patent/US5264927A/en
Publication of JPH0473760A publication Critical patent/JPH0473760A/en
Application granted granted Critical
Publication of JP2521182B2 publication Critical patent/JP2521182B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention 【産業上の利用分野】[Industrial applications]

本発明は色補正装置、特に正確な色再現と色補正値の
修正が容易な色補正装置に関する。
The present invention relates to a color correction device, and more particularly to a color correction device that facilitates accurate color reproduction and correction of color correction values.

【従来の技術】[Prior art]

例えばカラー・テレビジョンカメラ、カラー・イメー
ジスキャナ、その他の画像読取装置で発生された3次元
の色信号をカラー・ディスプレイ装置によりカラー画像
をソフトコピーとして表示させたり、あるいはカラー・
プリンタによりカラー画像をハード・コピーとして得る
ようにしたりする場合には、ディスプレイの表示面に表
示されたカラー画像あるいはプリントされたハード・コ
ピーのカラー画像が所望の良好な色再現状態のものにな
されていなければならない。 ところで、画像読取装置で発生された特定な表色系の
色信号を、前記した特定な表色系の色信号とは異なる表
色系の色信号が必要とされるカラー・ディスプレイ装置
またはカラー・プリンタ等に供給したのでは所望の良好
な色再現状態のカラー画像が再現できないことは当然で
ある。 それで、第1の表色系の色と対応する多次元の色信号
を第2の表色系の色と対応する多次元の色信号に変換す
るための各種の色信号変換方法が従来から提案されて来
ている。 前記の色信号変換方法としては、第1の表色系の色
と対応する多次元の色信号に1次多項式や2次多項式等
を使用したマトリックス演算処理を施して第2の表色系
の色と対応する多次元の色信号に変換する演算方式によ
る色信号変換方法、第1の表色系の色と対応する多次
元の色信号のデータをルック・アップ・テーブル(LU
T)にアドレス信号として供給して、ルック・アップ・
テーブルから直接に第2の表色系の色と対応する多次元
の色信号のデータを得るようにするダイレクト・マッピ
ング・テーブル方式による色信号変換方法、との2つが
従来から代表的なものとして知られている。
For example, a three-dimensional color signal generated by a color television camera, a color image scanner, or other image reading device is displayed on a color display device as a soft copy of a color image, or a color image is displayed.
When obtaining a color image as a hard copy by a printer, the color image displayed on the display surface of the display or the color image of the printed hard copy is made into a desired good color reproduction state. Must be By the way, a color display device or a color display device in which a color signal of a specific color system generated by the image reading device requires a color signal of a color system different from the color signal of the specific color system described above. As a matter of course, a color image in a desired good color reproduction state cannot be reproduced by supplying it to a printer or the like. Therefore, various color signal conversion methods for converting a multidimensional color signal corresponding to the color of the first color system into a multidimensional color signal corresponding to the color of the second color system have been conventionally proposed. It has been done. As the color signal conversion method described above, a multi-dimensional color signal corresponding to a color of the first color system is subjected to a matrix calculation process using a first-order polynomial or a second-order polynomial, and the second color system is converted. A color signal conversion method by a calculation method for converting a multi-dimensional color signal corresponding to a color, and a look-up table (LU) for data of a multi-dimensional color signal corresponding to a color of the first color system.
T) as an address signal for lookup
Conventionally, two methods, a color signal conversion method by a direct mapping table method that obtains data of a multidimensional color signal corresponding to a color of the second color system directly from a table, are two typical ones. Are known.

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

ところが、前記したの演算方式による色信号変換方
法を適用して構成した色補正装置は、係数を変化させる
ことにより修正条件を容易に変更することができるとい
う利点があるが、色再現性を向上させるためには、演算
に用いられる式として多次多項で、かつ、クロス項のあ
るものが必要とされるから、正しい色再現が得られる色
補正装置を簡単な構成の色補正装置によって実現するこ
とは困難であり、また、のダイレクト・マッピング・
テーブル方式による色信号変換方法を適用して構成した
色補正装置は、良好な色再現を容易に実現できるという
利点を持っているが、修正条件の変更に際しては、メモ
リ構成によるルック・アップ・テーブルを多量に備えて
おくようにしたり、あるいは書換え可能なルック・アッ
プ・テーブルの内容を書換えるかしなければならない
が、前記の何れの場合でも多量のメモリが必要とされる
点が問題になる。
However, the color correction apparatus configured by applying the color signal conversion method based on the above-described calculation method has an advantage that the correction condition can be easily changed by changing the coefficient, but the color reproducibility is improved. In order to do so, it is necessary to use a multi-order polynomial expression with a cross term as an expression used for calculation, so that a color correction device that can obtain correct color reproduction is realized by a color correction device with a simple configuration. It's difficult to do
The color correction device configured by applying the color signal conversion method based on the table method has an advantage that good color reproduction can be easily realized. However, when changing the correction conditions, the look-up table based on the memory configuration is used. Must be prepared, or the contents of the rewritable look-up table must be rewritten, but in any of the above cases, a large amount of memory is required, which is a problem. .

【課題を解決するための手段】[Means for Solving the Problems]

本発明は補正対象の色信号に1次多項式のマトリック
ス演算を施こして色補正を行なうように構成された第1
の色補正回路と、補正対象の色信号のデータにおける上
位桁のビット群のデータがアドレス信号として供給され
たときに、補正された色信号のデータと、前記した補正
対象色信号データにおける下位桁のビット群のデータに
対して行なわれる演算に用いられる1次2項以上の式に
おける補間演算用係数データとして、入出力の色信号間
における無彩色条件が保たれるとともに、各色信号がそ
れぞれ単独で変化したときの最小自乗法による誤差が最
小になされるような補間演算用係数データとを出力でき
るルック・アップ・テーブルと、前記した補正対象色信
号データにおける下位桁のビット群のデータと前記した
補間演算用係数データとが入力されて補間データを演算
出力する演算部と、前記の補正された色信号のデータと
前記の補間データとを加算して出力する加算器とを含ん
で構成された第2の色補正回路とを縦続的に設けてなる
色補正装置を提供する。
According to the first aspect of the present invention, a color signal to be corrected is subjected to color correction by performing a matrix operation of a first-order polynomial.
When the data of the bit group of the upper digit in the color signal of the color signal to be corrected is supplied as the address signal, the corrected color signal data and the lower digit of the color signal data to be corrected described above. The achromatic condition between the input and output color signals is maintained as the interpolation calculation coefficient data in the equations of the first and second terms used for the calculation performed on the data of the bit group of A look-up table capable of outputting interpolation calculation coefficient data that minimizes the error due to the least squares method when changed, and the lower digit bit group data in the correction target color signal data and The interpolation calculation coefficient data is input to calculate and output the interpolation data, the corrected color signal data, and the interpolation data. The providing cascade manner provided a color correction apparatus comprising a second color correction circuit which is configured to include an adder for outputting the sum.

【作用】[Action]

補正対象の色信号に1次多項式のマトリックス演算を
施こして色補正を行なうように構成された第1の色補正
回路によって、画像読取り時における光源変化や原稿条
件に従った色補正、あるいは画像の色補正を行なった後
に、第1の色補正回路から出力された色信号のデータに
おける上位桁のビット群のデータがアドレス信号として
供給されたときに、補正された色信号のデータと、下位
桁のビット群のデータに対して行なわれる演算に用いら
れる1次2項以上の式における補間演算用係数データと
して、入出力の色信号間における無彩色条件が保たれる
とともに、各色信号がそれぞれ単独で変化したときの最
小自乗法による誤差が最小になされるような補間演算用
係数データとを出力できるルック・アップ・テーブル及
び演算部とを含んで構成された第2の色補正回路によっ
て、出力機器の特性に応じた色補正を行なったり、ある
いは、補正対象の色信号のデータにおける上位桁のビッ
ト群のデータがアドレス信号として供給されたときに、
補正された色信号のデータと、下位桁のビット群のデー
タに対して行なわれる演算に用いられる1次2項以上の
式における補間演算用係数データとして、入出力の色信
号間における無彩色条件が保たれるとともに、各色信号
がそれぞれ単独で変化したときの最小自乗法による誤差
が最小になされるような補間演算用係数データとを出力
できるルック・アップ・テーブル及び演算部とを含んで
構成された第2の色補正回路により、出力機器が標準の
特性を有するものとしての色補正を行なった後に、実際
の出力機器の特性と標準の特性との差の特性を1次多項
式のマトリックス演算を施こして色補正を行なうように
構成された第1の色補正回路によって補正して出力機器
に供給する。
By the first color correction circuit configured to perform the color correction by subjecting the color signal to be corrected to the matrix calculation of the first-order polynomial, the color correction according to the light source change at the time of image reading or the original condition, or the image When the data of the upper digit bit group in the color signal data output from the first color correction circuit is supplied as an address signal after performing the color correction of The achromatic color condition between the input and output color signals is maintained and the respective color signals are respectively used as the interpolation operation coefficient data in the expressions of the first and second terms used in the operation performed on the data of the digit bit group. Including a look-up table and a calculation unit capable of outputting the coefficient data for interpolation calculation that minimizes the error due to the least squares method when changing independently. When the second color correction circuit that has been formed performs color correction according to the characteristics of the output device, or when the data of the upper digit bit group of the color signal data to be corrected is supplied as an address signal. ,
The achromatic color condition between the input and output color signals is used as the interpolation calculation coefficient data in the expressions of the first and second terms used in the calculation performed on the corrected color signal data and the data of the bit group of the lower digit. And a look-up table and a calculation unit capable of outputting the interpolation calculation coefficient data that minimizes the error due to the least squares method when each color signal independently changes. After performing the color correction by assuming that the output device has the standard characteristic by the generated second color correction circuit, the characteristic of the difference between the actual characteristic of the output device and the standard characteristic is calculated by the matrix of the first-order polynomial. Is corrected by the first color correction circuit configured to perform the color correction and is supplied to the output device.

【実施例】【Example】

以下、添付図面を参照して本発明の色補正装置の具体
的な内容について詳細に説明する。第1図及び第2図は
本発明の色補正装置の実施例を示すブロック図、第3図
は第1の色補正回路の構成例を示すブロック図、第4図
は第2の色補正回路の構成例を示すブロック図、第5図
は第2の色補正回路中で使用される演算部の構成例を示
すブロック図、第6図は第2の色補正回路中で使用され
るルック・アップ・テーブルの記憶内容を例示した図、
第7図は説明のための色空間を示す図である。 本発明の色補正装置の実施例を示す第1図及び第2図
において、1,2,3は補正対象にされている色信号の入力
端子、4,5,6は色補正装置の出力端子、CCC1は第1の色
補正回路、CCC2は第2の色補正回路である。 第1の色補正回路CCC1は、補正対象の色信号に1次多
項式のマトリックス演算を施こして色補正を行なうよう
に構成されているもので、その一例構成を第3図に示し
てある。 第3図に示す第1の色補正回路CCC1において、7,8,9
は補正対象の色信号の入力端子、10,11,12は第1の色補
正回路CCC1の端子である。 第3図に示す第1の色補正回路CCC1において、19は乗
算係数rk,gk,bkを発生して乗算器20〜22に供給する乗算
係数発生リードオンリーメモリであり、また、23〜25は
加算器である。 乗算係数発生リードオンリーメモリ19で発生する乗算
係数rk,gk,bkは、それぞれ次のとおりである。 rk:rk1,rk2,rk3 gk:gk1,gk2,gk3 bk:bk1,bk2,bk3 そして、第3図に示す第1の色補正回路CCC1は、それ
の入力端子7〜9に対して色信号R,G,Bが供給された場
合に、出力端子10〜12に出力される色信号Rout,Gout,Bo
utは次のようになる。 Rout=rk1・R+gk1・G+bk1・B Gout=rk2・R+gk2・G+bk2・B Bout=rk3・R+gk3・G+bk3・B 乗算係数発生リードオンリーメモリ19で発生する乗算
係数rk,gk,bkは、前記のように rk:rk1,rk2,rk3 gk:gk1,gk2,gk3 bk:bk1,bk2,bk3の9つであるであるから、第1の色補正
回路CCC1で行なう修正が100種類であったとしても、乗
算係数発生リードオンリーメモリ19としては記憶容量が
900バイトのもので足りる。 この第3図に示す第1の色補正回路CCC1における色補
正によって、例えば補正対象色信号について白バランス
を変更するような場合には、前記した乗算係数rk1,gk2,
bk3を変更するだけでよく、また、補正対象色信号につ
いて例えば赤の飽和度を変更するような場合には前記し
た乗算係数rk1を大にし、乗算係数rk2,rk2を負にすれば
よく、さらに、例えば赤をマゼンタ方向にするには前記
した乗算係数rk1を大にし、乗算係数rk2を零または負、
rk3を正にすればよい。 次に、第2の色補正回路CCC2は、補正対象の色信号の
データにおける上位桁のビット群のデータがアドレス信
号として供給されたときに、補正された色信号のデータ
と、下位桁のビット群のデータに対して行なわれる演算
に用いられる1次2項以上の式における補間演算用係数
データとして、入出力の色信号間における無彩色条件が
保たれるとともに、各色信号がそれぞれ単独で変化した
ときの最小自乗法による誤差が最小になされるような補
間演算用係数データとを出力できるルック・アップ・テ
ーブル及び演算部とを含んで構成されているもので、そ
の一例構成を第4図に示してある。 第4図に示す第2の色補正回路CCC2において、13,14,
15は補正対象の色信号の入力端子、16,17,18は第2の色
補正回路CCC2の出力端子である。 26はルック・アップ・テーブル、27は演算部、28〜30
は加算器、16〜18は第2の表色系の色と対応する3次元
の色信号(色信号データ)の出力端子である。 第4図において、色信号処理の対象にされている第1
の表色系の色と対応する3次元の色信号として入力端子
13〜15に供給されている色信号データは赤色信号のデー
タR、緑色信号のデータG、青色信号のデータBである
とされており、また、第2の表色系の色と対応する3次
元の色信号(色信号データ)として出力端子16〜18に出
力される色信号データも、赤色信号のデータRout、緑色
信号のデータGout、青色信号のデータBoutであるとされ
ている。 第4図において入力端子13〜15に色信号処理の対象に
されている第1の表色系の色と対応する3次元の色信号
データとして供給された赤色信号のデータR、緑色信号
のデータG、青色信号のデータBは、それぞれn(以下
の説明においてはn=8としている)ビットの色信号デ
ータであり、また、ルック・アップ・テーブル26に対し
てアドレス信号として供給される第1の表色系の色と対
応する3次元の色信号のデータにおける上位Xビット及
び演算部27に入力される第1の表色系の色と対応する3
次元の色信号のデータにおける下位Zビットは、それぞ
れ4ビット(X=Z=4)であるとしている。 ルック・アップ・テーブル26には、第1の表色系の色
と対応する3次元の色信号のデータ(赤色信号のデータ
R、緑色信号のデータG、青色信号のデータB}におけ
るそれぞれ上位4ビットrx,gx,bxと対応して抽出された
第1の表色系の色と対応する3次元の色信号を第2の表
色系の色と対応する3次元の色信号に変換した色信号の
データRx,Gx,Bx{第6図中の各8ビットの主データ}
と、演算部27において行なわれる色信号処理の演算に際
して使用されるべき演算係数のデータkr,kg,kb{第6図
中の各(8×3)ビットの演算係数のデータkr,kg,kb}
とが記憶されている。 そして入力端子13〜15に供給された色信号処理の対象
にされた第1の表色系の色と対応する3次元の色信号の
データR,G,Bにおけるそれぞれ上位4ビットのデータrx,
gx,bxがアドレス信号としてルック・アップ・テーブル2
6に供給されると、ルック・アップ・テーブル26におけ
る前記したアドレス信号で指定されたアドレスに記憶さ
れていた第2の表色系の色と対応する3次元の色信号に
変換された色信号のデータRx,Gx,Bxと、色信号処理の演
算に際して使用されるべき演算係数のデータkr,kg,kbと
が読出される。 ルック・アップ・テーブル26から読出された第2の表
色系の色と対応する3次元の色信号に変換された色信号
のデータRx,Gx,Bxは伝送線34〜36を介して加算器28〜30
に供給され、また、ルック・アップ・テーブル26から読
出された色信号処理の演算に際して使用されるべき演算
係数のデータkr,kg,kbは伝送線37〜39を介して演算部27
に供給される。 演算部27には入力端子13〜15に供給された色信号処理
の対象にされている第1の表色系の色と対応する3次元
の色信号のデータR,G,Bのデータにおけるそれぞれ下位
4ビットのデータrz,gz,bzが伝送線31〜33を介して供給
されているから、前記のようにしてルック・アップ・テ
ーブル26から伝送線37〜39を介して供給された演算係数
のデータkr,kg,kbと、前記した色信号処理の対象にされ
ている第1の表色系の色と対応する3次元の色信号のデ
ータR,G,Bのデータにおけるそれぞれ下位4ビットのデ
ータrz,gz,bzとによって所定の演算、すなわち、 前記の(1)式のような演算を行なって補間データRz,G
z,Bzを生成し、それを伝送線40〜42を介して前記した加
算器28〜30に供給する。 なお、第4図中では補間係数kr1,kr2,kr3をまとめて
補間係数krで表わし、また補間係数kg1,kg2,kg3をまと
めて補間係数kgで表わし、同様に補間係数kb1,kb2,kb3
をまとめて補間係数kbで表わしており、また、それに対
応する明細書中の記載においても補間係数がkr,kg,kbと
されている場合もある。 第5図は前記した(1)式で示されているような演算
を行なう演算部27の一例構成のブロック図であり、この
第5図において43〜45は乗算器、46〜48は並直列変換回
路、49〜51は加算器である。 加算器28〜30ではルック・アップ・テーブル26から読
出された第2の表色系の色と対応する3次元の色信号に
変換された色信号のデータRx,Gx,Bxと、演算部27から出
力された補間データRz,Gz,Bzとを加算して、 Rout=Rx+Rz,Gout=Gx+Gz, Bout=Rx+Bz 色信号処理された出力信号データRout,Gout,Boutを出力
端子16〜18に出力する。 第4図示の第2の色補正回路において、ルック・アッ
プ・テーブル26には、第1の表色系の色と対応する3次
元の色信号のデータR,G,Bにおけるそれぞれ上位4ビッ
トと対応して抽出された第1の表色系の色と対応する3
次元の色信号のデータR,G,Bを第2の表色系の色と対応
する3次元の色信号に変換した色信号のデータRx,Gx,Bx
と、演算部7において行なわれる色信号処理の演算に際
して使用されるべき演算係数のデータkr{kr1,kr2,kr
3},kg{kg1,kg2,kg3},kb{kb1,kb2,kb3}とが記憶さ
れているが、前記した演算係数のデータkr{kr1,kr2,kr
3},kg{kg1,kg2,kg3},kb{kb1,kb2,kb3}を用いて演
算部27で行なわれる演算結果によって得られる補間デー
タRz,Gz,Bzを用いて色信号データを補間することによ
り、白バランスが完全な上に、色飛びも最小な状態の画
像が、容易に、しかも、簡単な装置によって得ることが
できるように、色信号処理の演算に際して使用されるべ
き前記した演算係数のデータkr{kr1,kr2,kr3},kg{kg
1,kg2,kg3},kb{kb1,kb2,kb3}、すなわち、第1の表
色系の色と対応する3次元の色信号における各色信号の
細部の信号部分に対して行なわれる1次2項以上の式に
おける演算係数kr,kg,kbを、各色信号が同一の値だけ変
化した場合における演算結果として得られる無彩色のデ
ータが、記憶装置から読出された第2の表色系の色と対
応する3次元の色信号のデータにおける無彩色軸上にあ
り、かつ、各色信号が単独で変化したときの最小自乗法
による誤差が最小になされるような補間係数を与えるよ
うに定めているのである。 前記の点を具体的に詳細に説明する。第7図は任意の
表色系の3次元の色(色信号)を表示するのに用いられ
る3軸の色空間の説明図であり、各図は色空間の3軸を
R,G,BとしたRGB表色系の色空間であるとされている。 第7図において0は色空間の3軸R,G,Bの原点であ
り、この原点0と原点0から等距離の点を示すΔR,ΔG,
ΔB,ΔC,ΔY,ΔM,ΔWとの8つの点によって囲まれる空
間は立方体の色空間を形成している。 第7図に示されている立方体の色空間を、それの各稜
毎にそれぞれN等分すると、N3個の小さな立方体の色空
間によって構成されている状態のものとして示される
が、このN3個の小さな立方体の色空間の集合体として構
成されている立方体の色空間は、RGB表色系の色と対応
する3次元の色信号のデータR,G,Bの各色信号がそれぞ
れN=2nの関係によって示されるnビットずつのデータ
である場合の色空間を示すことになる。 それで、RGB表色系による3次元の色信号のデータが
それぞれ8ビット(n=8)の場合には、前記した第7
図中のの8つの点によって囲まれている立方体の色空間
は、それの各稜毎にそれぞれ28(=256)等分されるこ
とによって得られた2563個の小さな立方体によって構成
されている状態のものとして表わされることになる。 ところで、RGB表色系による3次元の色信号のデータ
が前記のように、それぞれ8ビット(n=8)の場合
に、各色信号のデータの上位4ビット(X=4)のデー
タによって前記した第7図中の8つの点によって囲まれ
ている立方体状の色空間中に形成される小さな立方体
は、それの各稜毎にそれぞれ24(=16)等分されること
によって得られた163(=4096)個の小さな立方体によ
って構成されている状態のものとして表わされることに
なり、その場合に前記した各色信号のデータにおける下
位4ビット(Z=4)によって形成される小さな立方体
は、前記した各色信号のデータの上位4ビットによって
形成された小さな立方体の各1個のもの毎に、その小さ
な立方体の各稜毎にそれぞれ24(=16)等分されること
によって得られた163(=4096)個の小さな立方体によ
って構成されている状態のものとなされていることは周
知のとおりである。 ところで、既述のように第4図中の入力端子13〜15に
色信号処理の対象にされている第1の表色系の色と対応
する3次元の色信号データとして供給された各nビット
の赤色信号のデータR、緑色信号のデータG、青色信号
のデータBの内で、前記の各色信号のデータにおける上
位Xビット(前述の例では4ビット)がルック・アップ
・テーブル26にアドレス信号として供給されることによ
り、そのアドレス信号によってルック・アップ・テーブ
ル26に予め記憶されていた主データ、すなわち第1の表
色系の色と対応する3次元の色信号のデータ(赤色信号
のデータR、緑色信号のデータG、青色信号のデータ
B}におけるそれぞれ上位Xビットと対応して抽出され
た第1の表色系の色と対応する3次元の色信号を第2の
表色系の色と対応する3次元の色信号に変換した色信号
のデータRx,Gx,Bx{第6図中の各8ビットの主データ}
と、演算部27において行なわれる色信号処理の演算に際
して使用されるべき演算係数のデータkr,kg,kb{第6図
中に各(8×3)ビットとして示されている演算係数k
r,kg,kb}とがルック・アップ・テーブル26から読出さ
れ、また、第4図中の入力端子13〜15に色信号処理の対
象にされている第1の表色系の色と対応する3次元の色
信号データとして供給された各nビットの赤色信号のデ
ータR、緑色信号のデータG、青色信号のデータBの内
で、前記の各色信号のデータにおける下位Zビット(前
述の例では4ビット)のデータrz,gz,bzが演算部27に供
給されて、演算部27において前記した演算係数のデータ
kr,kg,kbとの間で既述の(1)式で示されているような
演算が行なわれることにより、前記の各色信号のデータ
における下位Zビットのデータrz,gz,bzを用いて補間デ
ータRz,Gz,Bzが得られるようになされていることは既に
記載したとおりである。 そして、前記のルック・アップ・テーブル26に予め記
憶させておく主データ、すなわち第1の表色系の色と対
応する3次元の色信号のデータにおけるそれぞれ上位X
ビットと対応して抽出された第1の表色系の色と対応す
る3次元の色信号を第2の表色系の色と対応する3次元
の色信号に変換した色信号のデータRx,Gx,Bx{第6図中
の各8ビットの主データ}は、ダイレクト・マッピング
・テーブル方式の実施に際して従来から用いられて来て
いる実測、その他の各種の手段の内から適当な手段を選
択して求めた第2の表色系の色信号のデータRx,Gx,Bxが
用いられるのである。 今、前記した第1の表色系の色と対応する3次元の色
信号のデータにおけるそれぞれ上位Xビットが、それぞ
れ8ビットの色信号のデータの内の上位4ビットであっ
たとすると、前記したルック・アップ・テーブル26に記
憶させてある第2の表色系の色信号のデータは、各色信
号のデータの上位4ビットのデータによって前記した第
7図中の8つの点によって囲まれている立方体状の色空
間中に形成されている立方体における各稜を、それぞれ
24(=16)等分することによって得られる163(=409
6)個の小さな立方体毎の各8個の頂点位置で示される
第2の表色系における各8個ずつのデータとなされてい
るのである。 それで、ルック・アップ・テーブル26から読出された
第2の表色系の各色信号のデータは、色信号処理装置か
ら出力させるべき各8ビットの各色信号のデータにおけ
る上位4ビットと対応して定まる粗いもの、すなわち、
前記した第7図の8つの点で囲まれている立方体状の色
空間において、前記立方体の各稜をそれぞれ28(=25
6)等分された状態で得られる2563個の小さな立方体に
おける各頂点位置のデータから選択されたものではな
く、第7図中の8つの点によって囲まれている立方体の
各稜毎にそれぞれ24(=16)等分されることにより得ら
れた163(=4096)個の小さな立方体における各頂点位
置のデータから選択されたものになっている。 すなわち、前記したルック・アップ・テーブル26から
得られる主データは、前記した8ビットの各色信号のデ
ータにおける下位4ビット(Z=4)と対応して定まる
細部の信号部分のデータを欠除している状態のものとな
されている。{なお、前記のように主データ中に欠除し
ている前記した各8ビットの各色信号のデータにおける
下位4ビット(Z=4)と対応して定まる細部の信号部
分のデータは、それを仮に前記した色空間中に位置させ
たとした場合に、前記した各8ビットの各色信号のデー
タにおける上位4ビットと対応して定まる小さな立方体
と個々のものについて、その立方体の各稜毎にそれぞれ
24(=16)等分されることにより得られた163(=409
6)個のより一層小さな立方体における各頂点位置に位
置するものとして表現されるものである}。 そこで、ルック・アップ・テーブル26から得られる主
データに欠除しているデータ、すなわち、前記した各8
ビットの各色信号のデータにおける下位4ビット(Z=
4)と対応して定まる細部の信号部分のデータは、それ
を入力された第1の表色系の色と対応する3次元の色信
号における各色信号の細部の信号部分を示している下位
4ビット(Z=4の場合)のデータから生成した補間デ
ータによって補間される。 実際の色空間は多くの場合に歪んでいるので、正しい
補間を行なうことは容易ではない。そこで、白バランス
が人間の視覚上で重要な要素を占めているという点に着
目して、補間が行なわれた結果において、少なくとも白
バランスだけは正しい状態になされているとともに階調
飛びが発生しないようにし、しかも、前記した白バラン
スが正しく保たれている状態において色飛びも最小にな
るような補間データが得られるように、すなわち、第1
の表色系の色と対応する3次元の色信号における各色信
号の細部の信号部分に対して行なわれる1次2項以上の
式における演算係数を、各色信号が同一の値だけ変化し
た場合における演算結果として得られる無彩色のデータ
が、ルック・アップ・テーブル26から読出された第2の
表色系の色と対応する3次元の色信号のデータにおける
無彩色軸上であり、かつ、各色信号が単独で変化したと
きの最小自乗法による誤差が最小になされるような補間
データRz,Gz,Bzを得ることができるものに定めているの
である。 まず、前記のように各色信号が同一の値だけ変化した
場合における演算結果として得られる無彩色のデータ
が、ルック・アップ・テーブル26から読出された第2の
表色系の色と対応する3次元の色信号のデータにおける
無彩色軸上にあり、かつ階調飛びが発生しないようにす
るための条件は、 前記の(2)式によって示される。 前記の(2)式を満足するような演算係数kr1,kr2,kr
3,kg1,kg2,kg3,kb1,kb2,kb3を用いて、既述した(1)
式、すなわち、 に従って、例えば各色信号が同一の値だけ変化した場合
について演算した場合には、その演算結果として得られ
る無彩色のデータは、必らず無彩色軸上に存在している
ものになり、白色方向への移動が連続している状態にな
される。前記した無彩色軸は、例えば第7図についてい
うと原点0と頂点0Wとを結ぶ直線で示される。 ところが、前記の(2)式を満足するように演算係数
kr1,kr2,kr3,kg1,kg2,kg3,kb1,kb2,kb3を定めても、色
空間の歪の状態によっては各色毎に色飛びが大きく発生
する場合も生じうる。 それで、第7図中において0点とΔWとを除く6つの
点、すなわち、ΔR,ΔG,ΔB,ΔM,ΔCと原点0との距離
の誤差δr,δg,δbが最小となるような条件を最小自乗
法により下記の(3)〜(5)式のように求められた演
算係数kr1,kr2,kr3,kg1,kg2,kg3,kb1,kb2,kb3を第6図
のように演算係数のデータとしてルック・アップ・テー
ブル26に、既述した主データと対にして記憶させておく
のである。 δr=(kr1−Rr)+(kr2−Rg)+(kr3−Rb) +(kr1+kr2−Ry)+(kr1+kr3−Rm) +(kr2+kr3−Rc) …(3) δg=(kg1−Gr)+(kg2−Gg)+(kg3−Gb) +(kg1+kg2−Gy)+(kg1+kg3−Gm) +(kg2+kg3−Gc) …(4) δb=(kb1−Br)+(kb2−Bg)+(kb3−Bb) +(kb1+kb2−By)+(kb1+kb3−Bm) +(kb2+kb3−Bc) …(5) 前記のようにして求められた各演算係数のデータkr1,
kr2,kr3,kg1,kg2,kg3,kb1,kb2,kb3をルック・アップ・
テーブル26に記憶させておき、ルック・アップ・テーブ
ル26から得られる主データに欠除しているデータを、入
力された第1の表色系の色と対応する3次元の色信号に
おける各色信号の細部の信号部分を示している下位4ビ
ット(Z=4の場合)のデータr,g,bと、前記した各演
算係数のデータkr1,kr2,kr3,kg1,kg2,kg3,kb1,kb2,kb3
とを用いて、第5図に例示されているような簡単な構成
の演算部27によって演算して得られる補間データRz,Gz,
Bzを生成して、それを第4図に示されているように伝送
線40〜42を介して加算器28〜30に供給することにより、
出力端子16〜18には白バランスが良好で階調飛びが無
く、また色飛びが最小の状態の第2の表色系の3次元の
色信号データRout,Gout,Boutが得られる。 なお、前記の記述においては説明の簡単化のためにRG
B表色系についての説明を行ったが、どのような表色系
間の色変換についても実施できることはいうまでもない
のであり、また、前記の説明は演算式が1次3項につい
ての場合について述べたが、1次2項以上の演算式であ
ればどのような演算式が用いられてもよいのであり、例
えば、多次多項の演算式になれば、それだけ誤差が少な
くなされることは当然である。 本発明の色補正装置の一実施例を示している第1図に
おいては、補正対象の色信号に1次多項式のマトリック
ス演算を施こして色補正を行なうように構成された第1
の色補正回路CCC1によって、画像読取り時における光源
変化や原稿条件に従って色補正、あるいは画像の色補正
を行なった色信号を、第2の色補正回路CCC2、すなわ
ち、第1の色補正回路CCC1から出力された色信号のデー
タにおける上位桁のビット群のデータがアドレス信号と
して供給されたときに、補正された色信号のデータと、
下位桁のビット群のデータに対して行なわれる演算に用
いられる1次2項以上の式における補間演算用係数デー
タとして、入出力の色信号間における無彩色条件が保た
れるとともに、各色信号がそれぞれ単独で変化したとき
の最小自乗法による誤差が最小になされるような補間演
算用係数データとを出力できるルック・アップ・テーブ
ル及び演算部とを含んで構成された第2の色補正回路CC
C2によって出力機器の特性に応じた色補正を行なうよう
にしており、また、本発明の色補正装置の他の実施例を
示している第2図においては、まず、第2の色補正回路
CCC2、すなわち、補正対象の色信号のデータにおける上
位桁のビット群のデータがアドレス信号として供給され
たときに、補正された色信号のデータと、下位桁のビッ
ト群のデータに対して行なわれる演算に用いられる1次
2項以上の式における補間演算用係数データとして、入
出力の色信号間における無彩色条件が保たれるととも
に、各色信号がそれぞれ単独で変化したときの最小自乗
法による誤差が最小になされるような補間演算用係数デ
ータとを出力できるルック・アップ・テーブル及び演算
部とを含んで構成された第2の色補正回路CCC2により、
出力機器が標準の特性を有するものとしての色補正を行
なった後に、実際の出力機器の特性と標準の特性との差
の特性を1次多項式のマトリックス演算を施こして色補
正を行なうように構成された第1の色補正回路CCC1によ
って補正して出力機器に供給するようにしている。 このように、本発明の色補正装置においては出力機器
に供給される信号の状態、出力機器の特性に応じて第1
図と第2図の構成の色補正装置の何れかを用いることに
より、色再現の忠実性を保持した状態で修正条件の変更
設定も容易とされるのである。
Hereinafter, specific contents of the color correction apparatus of the present invention will be described in detail with reference to the accompanying drawings. 1 and 2 are block diagrams showing an embodiment of a color correction apparatus of the present invention, FIG. 3 is a block diagram showing a configuration example of a first color correction circuit, and FIG. 4 is a second color correction circuit. 5 is a block diagram showing an example of the configuration of an arithmetic unit used in the second color correction circuit, FIG. 6 is a block diagram showing an example of the configuration of an arithmetic unit used in the second color correction circuit, and FIG. A diagram illustrating the stored contents of the up table,
FIG. 7 is a diagram showing a color space for explanation. 1 and 2 showing an embodiment of the color correction apparatus of the present invention, 1, 2 and 3 are input terminals of the color signal to be corrected, and 4,5 and 6 are output terminals of the color correction apparatus. , CCC1 is a first color correction circuit, and CCC2 is a second color correction circuit. The first color correction circuit CCC1 is configured to perform a color correction by subjecting a color signal to be corrected to a matrix operation of a first-order polynomial. An example of the structure is shown in FIG. In the first color correction circuit CCC1 shown in FIG. 3, 7, 8, 9
Are input terminals for the color signal to be corrected, and 10, 11, 12 are terminals of the first color correction circuit CCC1. In the first color correction circuit CCC1 shown in FIG. 3, 19 is a multiplication coefficient generation read-only memory for generating the multiplication coefficients rk, gk, bk and supplying them to the multipliers 20 to 22, and 23 to 25 are It is an adder. Multiplication coefficient generation The multiplication coefficients rk, gk, bk generated in the read-only memory 19 are as follows. rk: rk1, rk2, rk3 gk: gk1, gk2, gk3 bk: bk1, bk2, bk3 And the first color correction circuit CCC1 shown in FIG. 3 has a color signal R for its input terminals 7-9. , G, B are supplied, the color signals Rout, Gout, Bo output to the output terminals 10 to 12 are output.
ut looks like this: Rout = rk1 * R + gk1 * G + bk1 * B Gout = rk2 * R + gk2 * G + bk2 * B Bout = rk3 * R + gk3 * G + bk3 * B Multiplication coefficient generation The multiplication coefficients rk, gk, bk generated in the read-only memory 19 are as described above. rk: rk1, rk2, rk3 gk: gk1, gk2, gk3 bk: bk1, bk2, bk3, so even if there are 100 types of corrections to be made in the first color correction circuit CCC1, multiplication The coefficient generation read-only memory 19 has a large storage capacity.
900 bytes is enough. For example, when the white balance of the color signal to be corrected is changed by the color correction in the first color correction circuit CCC1 shown in FIG. 3, the multiplication coefficients rk1, gk2,
It is only necessary to change bk3, and in the case of changing the saturation of red for the correction target color signal, for example, the multiplication coefficient rk1 described above may be increased, and the multiplication coefficients rk2 and rk2 may be negative. , For example, to make red in the magenta direction, the multiplication coefficient rk1 described above is increased, and the multiplication coefficient rk2 is set to zero or negative,
Make rk3 positive. Next, when the data of the upper digit bit group in the color signal data to be corrected is supplied as the address signal, the second color correction circuit CCC2 corrects the corrected color signal data and the lower digit bit. The achromatic condition between the input and output color signals is maintained as the interpolation calculation coefficient data in the expressions of the first and second terms used in the calculation performed on the group data, and each color signal changes independently. FIG. 4 is a block diagram of a configuration including a lookup table and a calculation unit capable of outputting the coefficient data for interpolation calculation that minimizes the error due to the least squares method when It is shown in. In the second color correction circuit CCC2 shown in FIG. 4, 13, 14,
Reference numeral 15 is an input terminal for the color signal to be corrected, and 16, 17, 18 are output terminals of the second color correction circuit CCC2. 26 is a look-up table, 27 is a calculation unit, 28 to 30
Are adders, and 16 to 18 are output terminals of three-dimensional color signals (color signal data) corresponding to the colors of the second color system. In FIG. 4, the first color signal processing target
Input terminal as a three-dimensional color signal corresponding to the color of the color system of
It is said that the color signal data supplied to 13 to 15 are red signal data R, green signal data G, and blue signal data B, and 3 corresponding to the color of the second color system. The color signal data output to the output terminals 16 to 18 as three-dimensional color signals (color signal data) are also considered to be the red signal data Rout, the green signal data Gout, and the blue signal data Bout. In FIG. 4, red signal data R and green signal data supplied to the input terminals 13 to 15 as three-dimensional color signal data corresponding to the color of the first color system to be subjected to color signal processing. The G and blue signal data B are n (n = 8 in the following description) bit color signal data, and are also supplied to the look-up table 26 as address signals. 3 corresponding to the color of the first color system input to the arithmetic unit 27 and the upper X bits in the data of the three-dimensional color signal corresponding to the color of the color system of
The lower Z bits in the dimensional color signal data are each 4 bits (X = Z = 4). In the look-up table 26, the four higher ranks in the three-dimensional color signal data (red signal data R, green signal data G, and blue signal data B) corresponding to the colors of the first color system are respectively included. Color obtained by converting the three-dimensional color signal corresponding to the color of the first color system extracted corresponding to the bits rx, gx, bx into the three-dimensional color signal corresponding to the color of the second color system Signal data Rx, Gx, Bx {8-bit main data in FIG. 6}
And the calculation coefficient data kr, kg, kb to be used in the calculation of the color signal processing performed in the calculation unit 27 (each (8 × 3) -bit calculation coefficient data kr, kg, kb in FIG. 6). }
And are remembered. Then, the upper 4 bits of data rx, in each of the three-dimensional color signal data R, G, B corresponding to the color of the first color system subjected to the color signal processing supplied to the input terminals 13 to 15, rx,
gx and bx are lookup tables 2 as address signals
When supplied to 6, the color signal converted into a three-dimensional color signal corresponding to the color of the second color system stored at the address specified by the address signal in the look-up table 26. Data Rx, Gx, Bx and the calculation coefficient data kr, kg, kb to be used in the calculation of the color signal processing are read. The color signal data Rx, Gx, Bx converted into the three-dimensional color signal corresponding to the color of the second color system read from the look-up table 26 are added via the transmission lines 34 to 36. 28-30
Data kr, kg, kb supplied to the arithmetic unit 27 via the transmission lines 37 to 39, and the arithmetic coefficient data kr, kg, kb to be used in the arithmetic operation of the color signal processing read from the look-up table 26.
Is supplied to. In the arithmetic unit 27, the three-dimensional color signal data R, G, B data corresponding to the color of the first color system, which is the target of color signal processing supplied to the input terminals 13 to 15, are respectively included. Since the low-order 4 bits of data rz, gz, bz are supplied via the transmission lines 31 to 33, the operation coefficients supplied from the look-up table 26 via the transmission lines 37 to 39 as described above. Data kr, kg, kb and the lower 4 bits of the three-dimensional color signal data R, G, B data corresponding to the color of the first color system to be subjected to the color signal processing described above. Data rz, gz, bz of the predetermined operation, that is, Interpolation data Rz, G is calculated by performing the calculation as in the above equation (1).
z, Bz is generated and is supplied to the adders 28-30 described above via the transmission lines 40-42. In FIG. 4, the interpolation coefficients kr1, kr2, kr3 are collectively represented by the interpolation coefficient kr, and the interpolation coefficients kg1, kg2, kg3 are collectively represented by the interpolation coefficient kg, and similarly, the interpolation coefficients kb1, kb2, kb3.
Are collectively represented by the interpolation coefficient kb, and the interpolation coefficient may be kr, kg, kb in the description corresponding to the above. FIG. 5 is a block diagram of an example of the configuration of the arithmetic unit 27 that performs the arithmetic operation represented by the equation (1). In FIG. 5, 43 to 45 are multipliers and 46 to 48 are parallel series. The conversion circuits and 49 to 51 are adders. In the adders 28 to 30, the color signal data Rx, Gx, Bx converted into the three-dimensional color signals corresponding to the colors of the second color system read from the look-up table 26, and the calculation unit 27. Add the interpolation data Rz, Gz, Bz output from Rout = Rx + Rz, Gout = Gx + Gz, Bout = Rx + Bz and output the output signal data Rout, Gout, Bout processed by the color signal to the output terminals 16 to 18. . In the second color correction circuit shown in FIG. 4, the lookup table 26 stores the upper 4 bits in the data R, G, B of the three-dimensional color signal corresponding to the color of the first color system. 3 corresponding to the color of the first color system extracted correspondingly
Color signal data Rx, Gx, Bx obtained by converting three-dimensional color signal data R, G, B into a three-dimensional color signal corresponding to the color of the second color system
And calculation coefficient data kr {kr1, kr2, kr to be used in the calculation of the color signal processing performed in the calculation unit 7.
3}, kg {kg1, kg2, kg3}, kb {kb1, kb2, kb3} are stored, but the above-mentioned calculation coefficient data kr {kr1, kr2, kr
3}, kg {kg1, kg2, kg3}, kb {kb1, kb2, kb3} are used to interpolate color signal data using the interpolation data Rz, Gz, Bz obtained by the calculation result performed by the calculation unit 27. As a result, in order to obtain an image in which the white balance is perfect and the color jump is minimal, it is possible to easily and easily obtain the image by the above-mentioned arithmetic operation for the color signal processing operation. Coefficient data kr {kr1, kr2, kr3}, kg {kg
1, kg2, kg3}, kb {kb1, kb2, kb3}, that is, the primary 2 performed on the detailed signal portion of each color signal in the three-dimensional color signal corresponding to the color of the first color system. The achromatic color data obtained as a result of the calculation of the calculation coefficients kr, kg, kb in the above equations when the respective color signals change by the same value is the color of the second color system read from the storage device. Is provided on the achromatic color axis in the data of the three-dimensional color signal corresponding to, and it is determined to give an interpolation coefficient that minimizes the error by the least square method when each color signal changes independently. Of. The above points will be specifically described in detail. FIG. 7 is an explanatory diagram of a three-axis color space used to display a three-dimensional color (color signal) of an arbitrary color system, and each figure shows the three axes of the color space.
It is said to be the color space of the RGB color system with R, G, and B. In FIG. 7, 0 is the origin of the three axes R, G, B of the color space, and the origin 0 and the points equidistant from the origin 0 are ΔR, ΔG,
A space surrounded by eight points of ΔB, ΔC, ΔY, ΔM, and ΔW forms a cubic color space. When the cube color space shown in FIG. 7 is divided into N equal parts for each edge, it is shown as being composed of N 3 small cube color spaces. The cube color space, which is configured as an aggregate of three small cube color spaces, has three-dimensional color signal data R, G, and B corresponding to the colors of the RGB color system, where N = This indicates the color space in the case of data of n bits each represented by the relationship of 2 n . Therefore, if the data of the three-dimensional color signal according to the RGB color system is 8 bits (n = 8), the above-mentioned 7th
The color space of the cube surrounded by the eight points in the figure is composed of 256 3 small cubes obtained by equally dividing each of its edges by 2 8 (= 256). It will be represented as being in the state of being. By the way, when the data of the three-dimensional color signal according to the RGB color system is each 8 bits (n = 8) as described above, it is described above by the upper 4 bits (X = 4) of the data of each color signal. The small cube formed in the cubic color space surrounded by the eight points in Fig. 7 was obtained by equally dividing 2 4 (= 16) for each edge of it. 3 (= 4096) small cubes, which means that the small cube formed by the lower 4 bits (Z = 4) in the data of each color signal is: Each of the small cubes formed by the upper 4 bits of the data of each color signal described above is divided into 2 4 (= 16) equal parts for each edge of the small cube. 3 (= 4096 It is as well known that are made as the condition being constituted by a number of small cubes. By the way, as described above, each of the n supplied to the input terminals 13 to 15 in FIG. 4 as three-dimensional color signal data corresponding to the color of the first color system to be subjected to color signal processing. Out of the red signal data R, the green signal data G, and the blue signal data B of the bits, the upper X bits (4 bits in the above example) of each color signal data are addressed to the look-up table 26. By being supplied as a signal, the main data stored in advance in the look-up table 26 by the address signal, that is, the data of the three-dimensional color signal corresponding to the color of the first color system (red signal The three-dimensional color signal corresponding to the color of the first color system extracted corresponding to the upper X bits in each of the data R, the green signal data G, and the blue signal data B} is converted into the second color system. 3 corresponding to the color of Data Rx color signals converted to the original color signals, Gx, Bx {main data of each 8 bits in FIG. 6}
And calculation coefficient data kr, kg, kb to be used in the calculation of the color signal processing performed in the calculation unit 27 {calculation coefficient k shown as each (8 × 3) bit in FIG. 6).
r, kg, kb} are read from the look-up table 26 and correspond to the colors of the first color system to be subjected to color signal processing at the input terminals 13 to 15 in FIG. Of the n-bit red signal data R, the green signal data G, and the blue signal data B supplied as three-dimensional color signal data, the lower Z bits of each of the color signal data (the above-mentioned example 4 bits) rz, gz, bz are supplied to the arithmetic unit 27, and the arithmetic coefficient data described above is calculated in the arithmetic unit 27.
By performing the operation as shown in the above-mentioned equation (1) with kr, kg, kb, the data rz, gz, bz of the lower Z bits in the data of each color signal are used. As described above, the interpolation data Rz, Gz, Bz are obtained. Then, the main data stored in advance in the look-up table 26, that is, the upper X in the data of the three-dimensional color signal corresponding to the color of the first color system, respectively.
Color signal data Rx obtained by converting the three-dimensional color signal corresponding to the color of the first color system extracted corresponding to the bit into the three-dimensional color signal corresponding to the color of the second color system, For Gx and Bx {8-bit main data in Fig. 6}, select an appropriate means from the actual measurement and various other means that have been conventionally used when implementing the direct mapping table method. The data Rx, Gx, Bx of the color signal of the second color system obtained by the above are used. Now, assuming that the upper X bits in the data of the three-dimensional color signal corresponding to the color of the first color system are the upper 4 bits of the color signal data of 8 bits respectively, The color signal data of the second color system stored in the look-up table 26 is surrounded by the eight points in FIG. 7 described above by the upper 4 bits of the data of each color signal. Each edge of a cube formed in a cube-shaped color space
2 4 (= 16) 16 3 (= 409)
6) Each piece of data in the second color system is represented by eight vertex positions for each of the small cubes. Therefore, the data of each color signal of the second color system read from the look-up table 26 is determined in correspondence with the upper 4 bits of each color signal data of 8 bits to be output from the color signal processing device. The coarse one, that is,
In the cube-shaped color space surrounded by the eight points in FIG. 7, each edge of the cube is 2 8 (= 25
6) It is not selected from the data of each vertex position in 256 3 small cubes obtained in the equally divided state, but for each edge of the cube surrounded by 8 points in Fig. 7, respectively. It is selected from the data of each vertex position in 16 3 (= 4096) small cubes obtained by equally dividing 2 4 (= 16). That is, the main data obtained from the look-up table 26 is obtained by deleting the data of the detailed signal portion determined in correspondence with the lower 4 bits (Z = 4) in the data of each 8-bit color signal. It is supposed to be in the state of being. {It should be noted that the data of the detailed signal portion which is determined in correspondence with the lower 4 bits (Z = 4) in the data of each 8-bit color signal which is omitted in the main data as described above is If it is assumed that they are located in the above-mentioned color space, a small cube and individual ones that are determined in correspondence with the upper 4 bits in the data of each 8-bit color signal described above, and for each individual edge of that cube,
2 4 (= 16) 16 3 (= 409)
6) It is represented as being located at each vertex position in a smaller cube. Therefore, the data missing from the main data obtained from the lookup table 26, that is, each of the above 8
Lower 4 bits (Z =
The data of the detailed signal portion determined corresponding to 4) indicates the detailed signal portion of each color signal in the three-dimensional color signal corresponding to the input color of the first color system. It is interpolated by the interpolation data generated from the data of the bit (when Z = 4). Since the actual color space is often distorted, it is not easy to perform correct interpolation. Therefore, paying attention to the fact that white balance occupies an important element in human vision, the result of interpolation shows that at least only white balance is in a correct state and gradation skipping does not occur. In addition, it is possible to obtain interpolation data that minimizes color skipping in the state where the white balance is properly maintained, that is, the first
In the case where each color signal changes by the same value, the calculation coefficient in the expressions of the first and second terms performed on the detailed signal portion of each color signal in the three-dimensional color signal corresponding to the color of the color system The achromatic color data obtained as a result of calculation is on the achromatic color axis in the data of the three-dimensional color signal corresponding to the color of the second color system read from the look-up table 26, and each color is The interpolation data Rz, Gz, and Bz are set so that the error due to the least squares method when the signal changes independently can be minimized. First, the achromatic color data obtained as a result of calculation when each color signal changes by the same value as described above corresponds to the color of the second color system read from the look-up table 26. The condition for being on the achromatic color axis in the data of the three-dimensional color signal and for preventing gradation skipping is: This is represented by the above equation (2). Calculation coefficients kr1, kr2, kr that satisfy the above equation (2)
As already described using 3, kg1, kg2, kg3, kb1, kb2, kb3 (1)
Expression, ie According to the above, for example, when the calculation is performed for the case where each color signal changes by the same value, the achromatic color data obtained as a result of the calculation is inevitably present on the achromatic color axis. Is continuously moved. The achromatic color axis described above is represented by, for example, a straight line connecting the origin 0 and the vertex 0W in FIG. However, in order to satisfy the above formula (2), the calculation coefficient
Even if kr1, kr2, kr3, kg1, kg2, kg3, kb1, kb2, kb3 are set, a large color skip may occur for each color depending on the distortion state of the color space. Therefore, in FIG. 7, six conditions excluding 0 and ΔW, that is, conditions for minimizing the error δr, δg, δb of the distance between the origin 0 and ΔR, ΔG, ΔB, ΔM, ΔC are set. The calculation coefficients kr1, kr2, kr3, kg1, kg2, kg3, kb1, kb2, kb3 calculated by the least squares method as shown in the following formulas (3) to (5) are calculated as shown in FIG. As a result, it is stored in the look-up table 26 as a pair with the above-mentioned main data. δr = (kr1-Rr) 2 + (kr2-Rg) 2 + (kr3-Rb) 2 + (kr1 + kr2-Ry) 2 + (kr1 + kr3-Rm) 2 + (kr2 + kr3-Rc) 2 ... (3) δg = ( kg1-Gr) 2 + (kg2 -Gg) 2 + (kg3-Gb) 2 + (kg1 + kg2-Gy) 2 + (kg1 + kg3-Gm) 2 + (kg2 + kg3-Gc) 2 ... (4) δb = (kb1-Br ) 2 + (kb2-Bg) 2 + (kb3-Bb) 2 + (kb1 + kb2-By) 2 + (kb1 + kb3-Bm) 2 + (kb2 + kb3-Bc) 2 (5) Each obtained as described above Calculation coefficient data kr1,
Look up kr2, kr3, kg1, kg2, kg3, kb1, kb2, kb3
The data stored in the table 26 and lacking in the main data obtained from the look-up table 26 are color signals in the three-dimensional color signal corresponding to the color of the input first color system. Lower 4 bits (when Z = 4) of data r, g, b showing the detailed signal portion of the above, and data kr1, kr2, kr3, kg1, kg2, kg3, kb1, kb2 of each operation coefficient described above. , kb3
And the interpolation data Rz, Gz, obtained by calculation by the calculation unit 27 having a simple configuration as illustrated in FIG.
By generating Bz and feeding it to the adders 28-30 via transmission lines 40-42 as shown in FIG.
At the output terminals 16 to 18, the three-dimensional color signal data Rout, Gout, Bout of the second color system in which the white balance is good, there is no gradation jump, and the color jump is minimum can be obtained. In the above description, the RG
Although the B color system has been described, it goes without saying that color conversion between any color systems can be performed, and the above description applies when the arithmetic expression is the first and third terms. However, any arithmetic expression may be used as long as it is an arithmetic expression having two or more first-order terms. For example, if an arithmetic expression of a multi-order polynomial is used, the error is reduced by that much. Of course. Referring to FIG. 1 showing an embodiment of a color correction apparatus of the present invention, a color correction target color signal is subjected to a matrix operation of a first-order polynomial to perform color correction.
The color signal corrected by the color correction circuit CCC1 according to the change of the light source at the time of image reading or the original condition is corrected by the second color correction circuit CCC2, that is, the first color correction circuit CCC1. When the data of the high-order bit group in the output color signal data is supplied as an address signal, the corrected color signal data,
As the interpolation calculation coefficient data in the equations of the first and second terms used for the calculation performed on the data of the bit group of the lower digit, the achromatic condition between the input and output color signals is maintained, and each color signal is A second color correction circuit CC configured to include a look-up table and a calculation unit capable of outputting interpolation calculation coefficient data that minimizes the error due to the least squares method when they change independently.
In FIG. 2 in which color correction is performed according to the characteristics of the output device by C2, and another embodiment of the color correction apparatus of the present invention is shown, first, the second color correction circuit is used.
CCC2, that is, when the data of the upper digit bit group in the data of the color signal to be corrected is supplied as the address signal, it is performed for the corrected color signal data and the lower digit bit group data. The achromatic condition between input and output color signals is maintained as the coefficient data for interpolation calculation in the first and second terms used in the calculation, and the error due to the least squares method when each color signal changes independently. With a second color correction circuit CCC2 configured to include a look-up table and a calculation unit capable of outputting the coefficient data for interpolation calculation that minimizes
After performing the color correction assuming that the output device has the standard characteristic, perform the color correction by subjecting the characteristic of the difference between the actual characteristic of the output device and the standard characteristic to the matrix calculation of the first-order polynomial. The color is corrected by the configured first color correction circuit CCC1 and supplied to the output device. As described above, according to the color correction apparatus of the present invention, the first condition is set according to the state of the signal supplied to the output device and the characteristics of the output device.
By using any of the color correction apparatuses having the configurations shown in FIGS. 2 and 2, it is possible to easily change and set the correction condition while maintaining the fidelity of color reproduction.

【発明の効果】【The invention's effect】

以上、詳細に説明したところから明らかなように、本
発明の色補正装置は補正対象の色信号に1次多項式のマ
トリックス演算を施こして色補正を行なうように構成さ
れた第1の色補正回路と、補正対象の色信号のデータに
おける上位桁のビット群のデータがアドレス信号として
供給されたときに、補正された色信号のデータと、前記
した補正対象色信号データにおける下位桁のビット群の
データに対して行なわれる演算に用いられる1次2項以
上の式における補間演算用係数データとして、入出力の
色信号間における無彩色条件が保たれるとともに、各色
信号がそれぞれ単独で変化したときの最小自乗法による
誤差が最小になされるような補間演算用係数データとを
出力できるルック・アップ・テーブルと、前記した補正
対象色信号データにおける下位桁のビット群のデータと
前記した補間演算用係数データとが入力されて補間デー
タを演算出力する演算部と、前記の補正された色信号の
データと前記の補間データとを加算して出力する加算器
とを含んで構成された第2の色補正回路とを縦続的に設
けてなる色補正装置であるから、本発明によれば出力機
器に供給される信号の状態、出力機器の特性に応じて第
1図と第2図の構成の色補正装置の何れかを用いること
により、色再現の忠実性を保持した状態で修正条件の変
更設定も容易とされるのであり、既述した従来の問題点
は本発明により良好に解決できる。
As is apparent from the above description in detail, the color correction apparatus of the present invention is configured to perform the color correction by applying the matrix calculation of the first-order polynomial to the color signal to be corrected. When the circuit and the data of the upper digit bit group in the color signal data to be corrected are supplied as the address signal, the corrected color signal data and the lower digit bit group in the correction target color signal data As the interpolation calculation coefficient data in the equations of the first and second terms used in the calculation performed on the data of 1, the achromatic condition between the input and output color signals is maintained, and each color signal changes independently. And a lookup table capable of outputting coefficient data for interpolation calculation that minimizes the error due to the least squares method, and the correction target color signal data described above. The data of the lower-order bit group and the above-described interpolation calculation coefficient data are input to calculate and output interpolation data, and the corrected color signal data and the interpolation data are added. According to the present invention, the state of the signal supplied to the output device, the state of the output device, and the second color correction circuit configured to include an adder for outputting are provided in series. By using any one of the color correction devices of the configurations shown in FIGS. 1 and 2 according to the characteristics, it is possible to easily set the modification conditions while maintaining the fidelity of color reproduction. The above-mentioned conventional problems can be well solved by the present invention.

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

第1図及び第2図は本発明の色補正装置の実施例を示す
ブロック図、第3図は第1の色補正回路の構成例を示す
ブロック図、第4図は第2の色補正回路の構成例を示す
ブロック図、第5図は第2の色補正回路中で使用される
演算部の構成例を示すブロック図、第6図は第2の色補
正回路中で使用されるルック・アップ・テーブルの記憶
内容を例示した図、第7図は説明のための色空間を示す
図である。 1〜3……補正対象にされている色信号の入力端子、4
〜6……色補正装置の出力端子、CCC1……第1の色補正
回路、CCC2……は第2の色補正回路、7〜9,13〜15……
入力端子、10〜12,16〜18……出力端子、19……乗算係
数rk,gk,bkを発生して乗算器20〜22に供給する乗算係数
発生リードオンリーメモリ、23〜25……加算器、26……
ルック・アップ・テーブル、27……演算部、28〜30……
加算器、37〜39……伝送線、40〜42……伝送線、43〜45
……乗算器、46〜48……並直列変換回路、49〜51……加
算器、
1 and 2 are block diagrams showing an embodiment of a color correction apparatus of the present invention, FIG. 3 is a block diagram showing a configuration example of a first color correction circuit, and FIG. 4 is a second color correction circuit. 5 is a block diagram showing an example of the configuration of an arithmetic unit used in the second color correction circuit, FIG. 6 is a block diagram showing an example of the configuration of an arithmetic unit used in the second color correction circuit, and FIG. FIG. 7 is a diagram showing an example of stored contents of the up table, and FIG. 7 is a diagram showing a color space for explanation. 1-3 Input terminals for color signals to be corrected, 4
~ 6 ... Output terminal of color correction device, CCC1 ... first color correction circuit, CCC2 ... is second color correction circuit, 7-9, 13-15 ...
Input terminal, 10 to 12, 16 to 18 ... Output terminal, 19 ... Multiplication coefficient generation read-only memory that generates multiplication coefficients rk, gk, bk and supplies them to the multipliers 20 to 22, 23 to 25 ... Addition Vessel, 26 ……
Look-up table, 27 …… Calculator, 28-30 ……
Adder, 37-39 …… Transmission line, 40-42 …… Transmission line, 43-45
…… Multiplier, 46 to 48 …… Serial parallel conversion circuit, 49 to 51 …… Adder,

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−60068(JP,A) 特開 昭48−80208(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-61-60068 (JP, A) JP-A-48-80208 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】補正対象の色信号に1次多項式のマトリッ
クス演算を施こして色補正を行なうように構成された第
1の色補正回路と、補正対象の色信号のデータにおける
上位桁のビット群のデータがアドレス信号として供給さ
れたときに、補正された色信号のデータと、前記した補
正対象色信号データにおける下位桁のビット群のデータ
に対して行なわれる演算に用いられる1次2項以上の式
における補間演算用係数データとして、入出力の色信号
間における無彩色条件が保たれるとともに、各色信号が
それぞれ単独で変化したときの最小自乗法による誤差が
最小になされるような補間演算用係数データとを出力で
きるルック・アップ・テーブルと、前記した補正対象色
信号データにおける下位桁のビット群のデータと前記し
た補間演算用係数データとが入力されて補間データを演
算出力する演算部と、前記の補正された色信号のデータ
と前記の補間データとを加算して出力する加算器とを含
んで構成された第2の色補正回路とを縦続的に設けてな
る色補正装置
1. A first color correction circuit configured to perform a color correction by subjecting a color signal to be corrected to a matrix calculation of a first-order polynomial, and a high-order bit in data of the color signal to be corrected. When the group data is supplied as an address signal, the primary and secondary terms used for the operation performed on the corrected color signal data and the data of the lower digit bit group in the correction target color signal data. As the interpolation calculation coefficient data in the above equation, the achromatic condition between the input and output color signals is maintained, and the error by the least square method when each color signal changes independently is minimized. Look-up table capable of outputting calculation coefficient data, data of bit group of lower digit in correction target color signal data, and interpolation calculation coefficient A second calculation unit that receives the data and calculates and outputs interpolation data, and an adder that adds and outputs the corrected color signal data and the interpolation data. Color correction device in which a color correction circuit is provided in series
JP2187785A 1990-02-22 1990-07-16 Color correction device Expired - Lifetime JP2521182B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2187785A JP2521182B2 (en) 1990-07-16 1990-07-16 Color correction device
US07/658,141 US5264927A (en) 1990-02-22 1991-02-20 Method and apparatus for processing color signals to convert between colorimetric systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2187785A JP2521182B2 (en) 1990-07-16 1990-07-16 Color correction device

Publications (2)

Publication Number Publication Date
JPH0473760A JPH0473760A (en) 1992-03-09
JP2521182B2 true JP2521182B2 (en) 1996-07-31

Family

ID=16212185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2187785A Expired - Lifetime JP2521182B2 (en) 1990-02-22 1990-07-16 Color correction device

Country Status (1)

Country Link
JP (1) JP2521182B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002262304A (en) 2001-03-06 2002-09-13 Seiko Epson Corp Image display device, image processing method and program

Also Published As

Publication number Publication date
JPH0473760A (en) 1992-03-09

Similar Documents

Publication Publication Date Title
US5428465A (en) Method and apparatus for color conversion
JP2994153B2 (en) Color signal converter
KR20030076564A (en) Tonality correcting circuit and hue correcting circuit
US5974173A (en) Image data color correction method
KR100510308B1 (en) Image processing device
JP3354158B2 (en) Color correction device, color correction method, and color correction application device
JPH0575848A (en) Interpolation on system and color correcting method
JP2521182B2 (en) Color correction device
JPS63162248A (en) Color separation image correction method and its apparatus
US7298893B2 (en) Image processing device and image processing method
JP3080373B2 (en) Color separation image correction method and apparatus
JPH05120416A (en) Color converter
JP2845523B2 (en) Color estimation method
EP1093297B1 (en) Color conversion device
JP3022721B2 (en) Color signal processing method
JP3576612B2 (en) Color conversion processor
JP3675351B2 (en) Image display device
JP3364813B2 (en) Color inverse conversion processing device and video signal processing device
JPH03244292A (en) Chrominance signal processing method
JP2845522B2 (en) Color estimation method
JP3825013B2 (en) Color conversion apparatus and color conversion method
JPH0366288A (en) Picture processing unit
JPS63254865A (en) Color separation image correcting device
JP3258436B2 (en) Color image signal binarization method
JPH03247195A (en) Signal processor in image pickup device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 15