JPH04304775A - Color correction method for color picture signal - Google Patents

Color correction method for color picture signal

Info

Publication number
JPH04304775A
JPH04304775A JP3069744A JP6974491A JPH04304775A JP H04304775 A JPH04304775 A JP H04304775A JP 3069744 A JP3069744 A JP 3069744A JP 6974491 A JP6974491 A JP 6974491A JP H04304775 A JPH04304775 A JP H04304775A
Authority
JP
Japan
Prior art keywords
color
color correction
value
component
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.)
Pending
Application number
JP3069744A
Other languages
Japanese (ja)
Inventor
Tatsunari Sato
佐藤 達成
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3069744A priority Critical patent/JPH04304775A/en
Publication of JPH04304775A publication Critical patent/JPH04304775A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the method to decrease a color reproduction error by selecting a color correction coefficient based on color information of an input data in the case of color correction of a color picture signal. CONSTITUTION:A color correction coefficient is set to a color correction device 9 by a command from a panel or a computer 3 to obtain primary, secondary, ternary color components of inputted picture element and color information of each color componentselected by the color information (10), the coefficient is multipliedwith the inputted three-color separation signal to implement colorcorrection calculation, the component ratio of each color component isused as a weight coefficient and it is multiplied with each colorcorrection result (16), added (17) and when the result of addition isnegative, the result is set to 0 and when the result exceeds a datamaximum value, the data maximum value is set. (11) and an optimized color correction coefficient for each color is.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、カラー画像信号の色修
正方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color correction method for color image signals.

【0002】0002

【従来の技術】カラー画像をスキャナで読み込み、ディ
スプレイに表示し、プリンタあるいは印刷機で記録する
場合、各媒体毎に色表現空間が異なるため、色媒体に合
わせて色修正する必要がある。例えば、プリンタの目標
とするカラー画像の色は、原稿の色、ディスプレイの色
、印刷機の色であり、それぞれに合った色修正が必要で
ある。
2. Description of the Related Art When a color image is read by a scanner, displayed on a display, and recorded by a printer or printing machine, the color expression space differs depending on the medium, so it is necessary to correct the colors to match the color medium. For example, the target colors of a color image for a printer include the colors of the original, the colors of the display, and the colors of the printing machine, and color correction is required to suit each of them.

【0003】従来から知られている一般的な色修正方法
は、目標とする色信号をマスキング方程式に入れ、この
方程式を演算することによって、色補正信号を生成し、
目標とする色を表現しようとする方法である。例えば、
一般にディスプレイに画像表示するためのRGB系の画
像をプリンタでハードコピースする場合のCMY系の画
像に変換するには、次式のような一次のマスキング方程
式が用いられる。
A conventionally known general color correction method involves inputting a target color signal into a masking equation, calculating this equation to generate a color correction signal, and
This is a method that attempts to express the target color. for example,
In general, a linear masking equation such as the following equation is used to convert an RGB image for display on a display into a CMY image for hard copying with a printer.

【0004】0004

【数1】[Math 1]

【0005】ここで、R,G,B,C,M,Yはそれぞ
れ各原色の濃度値を示す変数であり、a11〜a33は
、一次マスキング係数と呼ばれ、変換を左右するパラメ
ータである。これら九つのパラメータは、三原色の最高
濃度値の比から決められ、例えば、いくつかの画素をサ
ンプリング画素として選び、同一のサンプリング画素に
付いてRGB系の濃度値とCMY系の濃度値との誤差が
最小となるように、最小二乗法を用いた演算を行うこと
によって、これらの九つのパラメータを設定している。
[0005] Here, R, G, B, C, M, and Y are variables each indicating the density value of each primary color, and a11 to a33 are called primary masking coefficients and are parameters that influence conversion. These nine parameters are determined from the ratio of the highest density values of the three primary colors. For example, if several pixels are selected as sampling pixels, the error between the RGB density value and the CMY density value for the same sampling pixel is determined. These nine parameters are set by performing calculations using the method of least squares so that .

【0006】以上は、一次マスキング方程式を用いた色
補正例であるが、RGBの二次項RR,GG,BB,R
G,GB,BRも含めて、二次のマスキング方程式を立
て、色再現性を向上させる方法も公知である。また、特
開昭60−220660号公報で、RGBを三軸とした
色空間を複数の領域に分け、領域毎に色補正マトリクス
を用意し、色補正する方法を提案している。
The above is an example of color correction using a linear masking equation, but the quadratic terms RR, GG, BB, R of RGB
A method of improving color reproducibility by establishing a quadratic masking equation including G, GB, and BR is also known. Further, Japanese Patent Application Laid-open No. 60-220660 proposes a method in which a color space with three axes of RGB is divided into a plurality of regions, a color correction matrix is prepared for each region, and color correction is performed.

【0007】さらに、特開平1−234252号公報で
、RGB系の色信号を、濃度値が一番大きな値と二番目
に大きな値との差を一番大きな値の色の属性として、定
義した一次色成分、濃度値の二番目に大きな値と一番小
さな値との差を一番大きな値の色と二番目に大きな値の
色との混合色の属性として定義した二次色成分、濃度値
の一番小さな値を三つの色の混合色の属性として定義し
た三次色成分に分離し、各成分を個別に補正した後、合
成するようにした色修正法を提案している。
Furthermore, in Japanese Patent Application Laid-Open No. 1-234252, RGB color signals are defined as the difference between the largest density value and the second largest density value as the attribute of the color of the largest value. Secondary color component, density, defined as the difference between the second largest value and the smallest value of the primary color component, density value, as an attribute of the mixed color of the color with the largest value and the color with the second largest value. We have proposed a color correction method in which the smallest value is separated into tertiary color components defined as attributes of a mixed color of three colors, each component is corrected individually, and then combined.

【0008】[0008]

【発明が解決しようとする課題】しかし、マスキング方
程式による色補正では、非線形な色補正空間を十分補正
しきれず、平均色差が大きいという問題点がある。また
、特開昭60−220660号公報では、色差を減らす
ために色空間を分割してそれぞれに最適化を図っている
が、各色補正マトリクスの切り換え境界部で色変換誤差
が生じるという問題がある。さらに、単に一,二,三次
色に分けてLUTで補正する方法は、相互に関連し合っ
た混色を簡単な操作で補正できない。
However, color correction using masking equations has the problem that the nonlinear color correction space cannot be sufficiently corrected and the average color difference is large. Furthermore, in JP-A-60-220660, in order to reduce color differences, the color space is divided and optimized separately, but there is a problem that color conversion errors occur at the switching boundaries of each color correction matrix. . Furthermore, the method of simply dividing the colors into primary, secondary, and tertiary colors and correcting them using an LUT does not allow correction of interrelated color mixtures with simple operations.

【0009】本発明の目的は、色再現性に優れた色修正
方法を提供することにある。
An object of the present invention is to provide a color correction method with excellent color reproducibility.

【0010】0010

【課題を解決するための手段】上記目的は、原画の色再
現性を目標として、Y,M,C,R,G,B,Bk系毎
に最適化した色補正マトリクスの色補正係数を設定して
おき、順次入力される画素の一,二,三次色成分の値と
各色成分の色情報を得て、各色成分の色情報からY,M
,C,R,G,B,Bk系毎に最適化した色補正係数を
選択し、それぞれ入力された三色色分解信号を色補正す
る。そして、各色補正結果に各色成分の成分比を重み係
数として掛けて加算し、加算した結果、負であれば0と
し、データ最大値を越えていればデータ最大値をセット
することにより達成される。
[Means for solving the problem] The above purpose is to set color correction coefficients of a color correction matrix optimized for each Y, M, C, R, G, B, and Bk system, aiming at the color reproducibility of the original image. Then, obtain the values of the first, second, and third color components of the pixels that are input sequentially and the color information of each color component, and then calculate Y, M from the color information of each color component.
, C, R, G, B, and Bk systems, and color-corrects the input three-color color separation signals. Then, each color correction result is multiplied by the component ratio of each color component as a weighting coefficient and added, and if the addition result is negative, it is set to 0, and if it exceeds the data maximum value, this is achieved by setting the data maximum value. .

【0011】[0011]

【作用】記録濃度空間をY,M,C,R,G,B,Bk
軸を中心とした色領域に分け、それぞれの領域で最適な
カラーマスキング係数を求めて色補正をすることにより
色差を小さくできる。そこで、入力画素の一,二,三次
色成分の値と色情報からその色に近い最大でも三つの色
領域の色補正係数を用いてそれぞれ色補正し、これらに
各色成分の成分比を重み係数として掛けて加算するので
、色領域境界での変換誤差もなく、入力データ毎により
適した色補正処理ができる。従って、色差も小さくでき
る。
[Operation] Change the recording density space to Y, M, C, R, G, B, Bk.
Color differences can be reduced by dividing the image into color regions centered on the axis, determining the optimal color masking coefficient for each region, and performing color correction. Therefore, based on the values and color information of the primary, secondary, and tertiary color components of an input pixel, each color is corrected using color correction coefficients for at most three color regions close to that color, and the component ratio of each color component is added to the weighting coefficient. Since the values are multiplied and added as , there is no conversion error at the color area boundary, and more appropriate color correction processing can be performed for each input data. Therefore, the color difference can also be reduced.

【0012】0012

【実施例】以下、図面を用いて、本発明の実施例を詳細
に説明する。本実施例では、コンピュータからのRGB
データをCMY濃度データに変換して色修正処理を行っ
た例を示す。なお、データは八ビットとし、0から25
5の値を取るものとする。図1に色修正をソフトウェア
で行う場合の色修正方法の流れを示す。ステップ100
で原画の色再現を目標として、Y,M,C,R,G,B
,Bk系毎に色補正マトリクスの色補正係数を最小二乗
法などにより求める。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In this embodiment, RGB from the computer
An example in which data is converted to CMY density data and color correction processing is performed is shown. The data is 8 bits, from 0 to 25.
It is assumed that the value is 5. FIG. 1 shows the flow of a color correction method when color correction is performed using software. step 100
Y, M, C, R, G, B with the goal of reproducing the original color.
, the color correction coefficients of the color correction matrix for each Bk system are determined by the method of least squares or the like.

【0013】ステップ110で、色補正LUTにYMC
入力データと補正係数を掛けたものをY,M,C,R,
G,B,Bk系毎にセットする。色補正係数は、例えば
図2に示すように、記録濃度空間をY,M,C,R,G
,Bを中心とした六つの領域に分け、それぞれの領域で
複数の色票を取り出し、最小二乗法を用いて色補正係数
を求める。また、無彩色は、グレー色票のみを用いて色
補正係数を求める。それぞれの領域で最適な色補正マト
リクスを用いて色修正すれば、色再現誤差を小さくでき
る。図2に示した分割平面は、それぞれの辺の中点を取
り、これと白点,黒点を結んでできる平面図である。 なお、中点より少しずれても良い。
In step 110, YMC is added to the color correction LUT.
The input data multiplied by the correction coefficient is Y, M, C, R,
Set for each G, B, and Bk system. For example, as shown in FIG. 2, the color correction coefficient can be used to
, B, and extract a plurality of color samples from each region, and calculate color correction coefficients using the least squares method. Furthermore, for achromatic colors, the color correction coefficient is determined using only the gray color chart. Color correction using an optimal color correction matrix for each area can reduce color reproduction errors. The dividing plane shown in FIG. 2 is a plan view created by taking the midpoint of each side and connecting it to the white point and the black point. Note that it may be slightly shifted from the midpoint.

【0014】ステップ120では、順次入力される画素
のYMC濃度データを比較して、最大値,中間値,最小
値の色情報を求める。方法としては、YとM,MとC,
CとYとを比較して、表1のような組合わせを作る。例
えば、(αβγ)=(0,0,1)ならば、最大値はC
,中間値はN,最小値はYとなる。
In step 120, the YMC density data of the pixels that are sequentially input are compared to obtain color information of the maximum value, intermediate value, and minimum value. The methods include Y and M, M and C,
Compare C and Y to create combinations as shown in Table 1. For example, if (αβγ) = (0, 0, 1), the maximum value is C
, the intermediate value is N, and the minimum value is Y.

【0015】[0015]

【表1】[Table 1]

【0016】ステップ130で最大値から中間値を引い
て一次色成分Aを、中間値から最小値を引いて二次色成
分Bを、最小値から三次色成分Cを算出する。一次色は
、一色のみで構成され、最大値の色Y,M,Cとなる。 二次色は、二色で構成され、YとMでR,YとCでG,
MとCでBとなる。三次色は、三色重ねたBkである。 色成分の値は、例えば、C>M>Yのとき、一次色はC
でその成分Aは(C−M)、二次色はBでその成分Bは
(M−Y)、三次色はBkでその成分Cは(Y)である
。表2に色情報と一,二,三次色成分の値と色の関係を
示す。
At step 130, the primary color component A is calculated by subtracting the intermediate value from the maximum value, the secondary color component B is calculated by subtracting the minimum value from the intermediate value, and the tertiary color component C is calculated from the minimum value. The primary colors are composed of only one color, and are the colors Y, M, and C having the maximum values. Secondary colors are composed of two colors: R for Y and M, G for Y and C,
M and C make B. The tertiary color is Bk, which is a combination of three colors. For example, when C>M>Y, the primary color is C.
Its component A is (CM), its secondary color is B and its component B is (MY), its tertiary color is Bk, and its component C is (Y). Table 2 shows the relationship between color information, primary, secondary, and tertiary color component values, and color.

【0017】[0017]

【表2】[Table 2]

【0018】ステップ140で各色成分の色情報からY
,M,C,R,G,B,Bk系毎に最適化した色補正係
数を選択し、それぞれ入力データに掛け色補正演算を行
う。各領域の色補正マトリクスをMY,MM,MC,M
R,MG,MB,MBkとし、入力データの大小関係が
C>M>Yであったとすると、それぞれの色補正演算は
、以下のようになる。
In step 140, Y is determined from the color information of each color component.
, M, C, R, G, B, and Bk systems, and multiplying each input data to perform color correction calculations. Color correction matrix for each area is MY, MM, MC, M
Assuming that R, MG, MB, and MBk are used, and the magnitude relationship of the input data is C>M>Y, the respective color correction calculations are as follows.

【0019】[0019]

【数2】[Math 2]

【0020】[0020]

【数3】[Math 3]

【0021】[0021]

【数4】[Math 4]

【0022】ステップ150で各色成分の成分比を重み
係数としてそれぞれの色補正結果に掛けて加算する。成
分比は、各色成分の値をデータ最大値の255で割った
値である。入力データの色情報から大小関係がC>M>
Yとすると、色補正結果は、次式のようになる。
In step 150, each color correction result is multiplied by the component ratio of each color component as a weighting coefficient and added. The component ratio is a value obtained by dividing the value of each color component by 255, which is the maximum data value. From the color information of the input data, the size relationship is C>M>
Assuming Y, the color correction result is as shown in the following equation.

【0023】[0023]

【数5】[Math 5]

【0024】なお、入力データがグレーの場合、グレー
の色補正マトリクスMBkだけで色補正し、グレーバラ
ンスを取る。この式から分かるように、入力データの色
成分情報からより適した色補正係数で色補正をするので
原画の色との差を小さくすることができる。また、色領
域の境界毎に色補正係数が切り替わるということはなく
、境界での色変換誤差はない。
Note that when the input data is gray, color correction is performed using only the gray color correction matrix MBk to obtain gray balance. As can be seen from this equation, since color correction is performed using a more suitable color correction coefficient based on the color component information of input data, the difference from the color of the original image can be reduced. Further, the color correction coefficient does not change at each boundary of the color area, and there is no color conversion error at the boundary.

【0025】ステップ160では、加算した結果負であ
れば0とし、データ最大値を越えていればデータ最大値
の255とする。これは、プリンタが再現できない色を
再現領域に圧縮したことに相当する。
In step 160, if the result of the addition is negative, it is set to 0, and if it exceeds the maximum data value, it is set to 255, which is the maximum data value. This corresponds to compressing colors that cannot be reproduced by the printer into the reproduction area.

【0026】図3は、この色修正をハードで行ったとき
の色修正回路1のブロック図であり、入力端子2に、順
次、入力されるYMCは、ディスプレイ表示用のRGB
データを濃度データに変換したものであり、YMCすべ
て0であれば白を、すべて最大値を取る場合に黒を示す
。入力したYMCデータは、ラッチ回路3に一画素の色
濃度データとしてラッチされる。比較器4はYM,MC
,CYの大小を比較し、大小関係の信号αβγを出力す
る。具体的には、図4に示すように、比較器4aでYと
Mの大小を比較し、YがMの値以上であれば大小判定信
号αを1とする。同様に、比較器4b,比較器4cでM
C,CYを比較し、大小判定信号βγを出力する。これ
らの信号とYMCの大小関係は表1に示されている。 例えば、αβγが110のとき、Y≧M≧Cである。
FIG. 3 is a block diagram of the color correction circuit 1 when this color correction is performed by hardware.
The data is converted into density data, and white is indicated when all YMC values are 0, and black is indicated when all the values are maximum. The input YMC data is latched into the latch circuit 3 as color density data of one pixel. Comparator 4 is YM, MC
, CY are compared, and a signal αβγ representing the magnitude relationship is output. Specifically, as shown in FIG. 4, the comparator 4a compares the magnitudes of Y and M, and if Y is greater than or equal to the value of M, the magnitude determination signal α is set to 1. Similarly, M in comparator 4b and comparator 4c
C and CY are compared and a magnitude determination signal βγ is output. Table 1 shows the magnitude relationship between these signals and YMC. For example, when αβγ is 110, Y≧M≧C.

【0027】選択信号発生器5は、大小関係信号αβγ
より色補正LUT選択信号6、一,二,三次色成分選択
信号7,入力データの大中小選択信号8を出力する。表
3は、色補正LUT選択信号6の発生内容であり、00
1でY,010でM,011でC,100でR,101
でG,110でB,111でBkの色補正LUT9を選
択する。例えば、一,二,三次色がC,B,Bkとする
と、色補正LUT選択信号6は、まず、011となり、
Cの色補正が行われる。そして、次に110となり、B
の色補正が行われる。そして最後に111となり、Bk
の色補正が行われる。色補正の順番は特に決まっていな
いが、一,二,三次色の色の順番とする。
The selection signal generator 5 generates a magnitude relation signal αβγ
A color correction LUT selection signal 6, a primary, secondary, and tertiary color component selection signal 7, and a large, medium, and small input data selection signal 8 are output. Table 3 shows the generation contents of the color correction LUT selection signal 6.
1 is Y, 010 is M, 011 is C, 100 is R, 101
The color correction LUT 9 is selected for G in 110, Bk in 111, and Bk in 111. For example, if the primary, secondary, and tertiary colors are C, B, and Bk, the color correction LUT selection signal 6 will first be 011,
C color correction is performed. Then, it becomes 110, and B
Color correction is performed. And finally it becomes 111, Bk
Color correction is performed. The order of color correction is not particularly determined, but it is the order of primary, secondary, and tertiary colors.

【0028】[0028]

【表3】[Table 3]

【0029】表4は、セレクタ回路10に送る一,二,
三次色成分選択信号7の内容であり、01で第一次色,
10で第二次色,11で第三次色を選択する。色補正L
UT9が、一,二,三次色の順番に行っているので、セ
レクタ回路10でも一,二,三次色の順番に値を出力す
る。
Table 4 shows 1, 2,
This is the content of the tertiary color component selection signal 7, where 01 indicates the primary color;
The secondary color is selected at 10, and the tertiary color is selected at 11. Color correction L
Since the UT 9 performs the processing in the order of the first, second, and tertiary colors, the selector circuit 10 also outputs values in the order of the first, second, and tertiary colors.

【0030】[0030]

【表4】[Table 4]

【0031】表5は、一,二,三次色成分演算回路11
に送る大中小選択信号8の内容であり、01でY,10
でM,11でCを選択し、αβγの値に従って大中小の
順番に大中小選択信号8を出力する。なお、αβγが1
11の場合は、YMCデータが同じ値を取るので順番は
付けられないが、ここではYMCとする。
Table 5 shows the primary, secondary, and tertiary color component calculation circuit 11.
This is the content of the large, medium and small selection signal 8 sent to 01 for Y, 10
M is selected in , and C is selected in 11, and a large, medium, and small selection signal 8 is outputted in the order of large, medium, and small according to the values of αβγ. Note that αβγ is 1
In the case of 11, since the YMC data takes the same value, the order cannot be assigned, but here it is assumed to be YMC.

【0032】[0032]

【表5】[Table 5]

【0033】一,二,三次色成分演算回路11は、選択
信号発生器5からの大中小選択信号8に従い、入力デー
タから一,二,三次の色成分を求めて出力する。なお、
図5に一,二,三次色成分演算回路11の構成図を示す
。セレクタ回路12は、選択信号発生器5からの大中小
選択信号8により入力データYMCを大中小の順に選択
し、ラッチ回路13に出力する。ラッチ回路13は、入
力データを大中小の順にラッチする。減算器14aは最
大値から中間値を引き第一次色成分を出力する。減算器
14bは中間値から最小値を引き第二次色成分を出力す
る。第三次成分は、ラッチ回路13から最小値を出力す
る。
The primary, secondary, and tertiary color component calculation circuit 11 calculates and outputs primary, secondary, and tertiary color components from the input data in accordance with the large, medium, and small selection signal 8 from the selection signal generator 5. In addition,
FIG. 5 shows a configuration diagram of the first, second, and third color component calculation circuit 11. The selector circuit 12 selects the input data YMC in the order of large, medium and small based on the large, medium and small selection signal 8 from the selection signal generator 5 and outputs it to the latch circuit 13 . The latch circuit 13 latches input data in the order of large, medium, and small. The subtracter 14a subtracts the intermediate value from the maximum value and outputs the primary color component. The subtracter 14b subtracts the minimum value from the intermediate value and outputs the secondary color component. The latch circuit 13 outputs the minimum value of the third-order component.

【0034】色補正LUT9は、Y,M,C,R,G,
B,Bk系毎に色補正テーブルを持ち、インク色選択信
号15と選択信号発生器5からの色補正LUT選択信号
6とYMC入力データで指定された色補正データを出力
する。インク色選択信号15は、出力色(Y0,M0,
C0)を指定する。セレクタ回路10は、まず、一次色
成分を出力し、色補正LUT9からの一次色の演算結果
と乗算器16で掛け合わせる。なお、乗算器16は、結
果を最大データ255で割った値を出力する。これによ
り色成分の成分比を色補正結果に掛けたことになる。続
いてセレクタ回路10は二次色成分を出力し、色補正L
UT9の二次色の演算結果と乗算器16で掛け合わせる
。そして、最後にセレクタ回路10は、三次色成分を出
力し、色補正LUT9の三次色の演算結果と乗算器16
で掛け合わせる。加算器17とラッチ回路18は乗算器
16の三つの結果を加算し、リミッタ回路19に出力す
る。リミッタ回路19は、演算した結果値が、負であれ
ば0に、データの最大値を越えた場合は255に制限す
る。
The color correction LUT 9 includes Y, M, C, R, G,
It has a color correction table for each of B and Bk systems, and outputs color correction data specified by an ink color selection signal 15, a color correction LUT selection signal 6 from a selection signal generator 5, and YMC input data. The ink color selection signal 15 is the output color (Y0, M0,
C0). The selector circuit 10 first outputs the primary color component and multiplies it by the calculation result of the primary color from the color correction LUT 9 in the multiplier 16 . Note that the multiplier 16 outputs a value obtained by dividing the result by the maximum data 255. This means that the color correction result is multiplied by the component ratio of the color components. Subsequently, the selector circuit 10 outputs the secondary color component and performs color correction L.
A multiplier 16 multiplies the secondary color calculation result of the UT 9. Finally, the selector circuit 10 outputs the tertiary color component, and combines it with the tertiary color calculation result of the color correction LUT 9 and the multiplier 16.
Multiply by. Adder 17 and latch circuit 18 add the three results of multiplier 16 and output the result to limiter circuit 19 . The limiter circuit 19 limits the calculated value to 0 if it is negative, and to 255 if it exceeds the maximum data value.

【0035】本実施例によれば、入力データの色成分情
報から入力データ毎により適した色補正係数で色補正で
きるので、色差を小さくできる。
According to this embodiment, since color correction can be performed using a more suitable color correction coefficient for each input data based on the color component information of the input data, color differences can be reduced.

【0036】図6は、カラープリンタに適用した例であ
り、コンピュータ20内で作成したコンピュータグラフ
ィックスのRGBデータを色修正してカラープリンタ2
1へ出力する例である。色補正マトリクスは、ディスプ
レイ22に表示した色を真値とし、これにカラープリン
タ21の記録色を合わせるように最小二乗法で求める。 まず、ガンマ補正LUT23には、記録系24の濃度特
性を補正してできるだけ滑らかな階調ができるようにす
るための変換データをセットする。また、Y,M,C,
R,G,B,Bk系のそれぞれについて、各領域の複数
の色を記録し、それぞれ色補正係数を求め、色修正回路
1の色補正LUT9にセットする。そして、コンピュー
タ20からのRGBデータを濃度変換LUT25でCM
Yの濃度データに変換し、これを図3に示す色修正回路
1に入力する。そして、ガンマ補正LUT23でガンマ
補正された後、記録系24で記録し、複製画26を得る
。図7は、カラースキャナに適用した例であり、原稿2
7の色をできるだけ忠実にディスプレイ22に表示する
ようカラースキャナ28で色修正を行った例である。 真値データには、原稿27の色をRGB輝度データに焼
き直したものを使い、これと読み取ったRGBの反射デ
ータとの差を小さくするように最小二乗法で色補正マト
リクスを求める。領域分割は、図8に示すようにRGB
反射データ空間をR,G,B,Y,M,C軸を中心に六
分割し、それぞれの領域で複数の色票を取り出し、最小
二乗法を用いて、色補正係数を求める。また、無彩色は
、グレー色票のみを用いて色補正係数を求める。それぞ
れの領域で最適な色補正マトリクスを用いて色修正すれ
ば、色再現誤差を小さくできる。ガンマ補正LUT29
には、RGB反射データをディスプレイ22に輝度リニ
アで表示するため、変換データがセットされている。
FIG. 6 shows an example of application to a color printer, in which RGB data of computer graphics created in the computer 20 is color-corrected to print the color printer 2.
This is an example of outputting to 1. The color correction matrix is determined by the least squares method so that the color displayed on the display 22 is the true value and the color recorded by the color printer 21 is matched to the true value. First, the gamma correction LUT 23 is set with conversion data for correcting the density characteristics of the recording system 24 to produce as smooth a gradation as possible. Also, Y, M, C,
For each of the R, G, B, and Bk systems, a plurality of colors in each area are recorded, color correction coefficients are determined for each, and set in the color correction LUT 9 of the color correction circuit 1. Then, the RGB data from the computer 20 is converted to CM using the density conversion LUT 25.
It is converted into Y density data and inputted to the color correction circuit 1 shown in FIG. After gamma correction is performed in the gamma correction LUT 23, the image is recorded in the recording system 24 to obtain a duplicate image 26. FIG. 7 shows an example of application to a color scanner, where the original 2
This is an example in which color correction is performed using the color scanner 28 so that the colors of No. 7 are displayed on the display 22 as faithfully as possible. As the true value data, the color of the original 27 is reprinted into RGB luminance data, and a color correction matrix is determined by the least squares method so as to reduce the difference between this data and the read RGB reflection data. The area division is performed using RGB as shown in Figure 8.
The reflection data space is divided into six areas around the R, G, B, Y, M, and C axes, a plurality of color patches are taken out from each area, and color correction coefficients are determined using the method of least squares. Furthermore, for achromatic colors, the color correction coefficient is determined using only the gray color chart. Color correction using an optimal color correction matrix for each area can reduce color reproduction errors. Gamma correction LUT29
In order to display the RGB reflection data on the display 22 with linear luminance, conversion data is set.

【0037】読み取り系30は、原稿からの反射光を入
力し、A/D変換器31でRGB反射データとなる。こ
れを本方法の色修正回路1で色修正し、ガンマ補正LU
T29でガンマ補正した後、コンピュータ20に出力す
る。
The reading system 30 inputs the reflected light from the original, and the A/D converter 31 converts the reflected light into RGB reflection data. This is color corrected by the color correction circuit 1 of this method, and the gamma correction LU
After gamma correction at T29, it is output to the computer 20.

【0038】なお、本色修正方法は、カメラからの入力
信号の色修正、ディスプレイの色修正,プリンタと印刷
機間の色修正などにも適用可能である。
The main color correction method can also be applied to color correction of an input signal from a camera, color correction of a display, color correction between a printer and a printing press, etc.

【0039】[0039]

【発明の効果】本発明によれば、入力データの一,二,
三次色成分の色情報からY,M,C,R,G,B,Bk
系毎に最適化した色補正係数を選択し、かつ、各色成分
の成分比を重み係数として色補正結果に掛けて加算する
ので、色領域境界での色変換誤差がなく、かつ色差が小
さくなる。
[Effects of the Invention] According to the present invention, input data of one, two,
Y, M, C, R, G, B, Bk from color information of tertiary color components
Optimized color correction coefficients are selected for each system, and the component ratio of each color component is used as a weighting coefficient to multiply and add the color correction results, so there are no color conversion errors at color area boundaries and color differences are reduced. .

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

【図1】本発明の色修正方法のフローチャート。FIG. 1 is a flowchart of the color correction method of the present invention.

【図2】記録濃度空間分割例を示した説明図。FIG. 2 is an explanatory diagram showing an example of recording density space division.

【図3】本発明の色修正方法を実施した色修正ブロック
図。
FIG. 3 is a color correction block diagram that implements the color correction method of the present invention.

【図4】色修正回路の比較器ブロック図。FIG. 4 is a comparator block diagram of the color correction circuit.

【図5】色修正回路の一,二,三次色成分演算ブロック
図。
FIG. 5 is a block diagram of the first, second, and third color component calculations of the color correction circuit.

【図6】色修正回路をカラープリンタに適用したブロッ
ク図。
FIG. 6 is a block diagram in which a color correction circuit is applied to a color printer.

【図7】色修正回路をカラースキャナに適用したブロッ
ク図。
FIG. 7 is a block diagram in which a color correction circuit is applied to a color scanner.

【図8】RGB反射データ空間の分割例を示した説明図
FIG. 8 is an explanatory diagram showing an example of dividing an RGB reflection data space.

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

1…色修正回路、2…入力端子、3…ラッチ回路、4…
比較器、5…選択信号発生器、9…色補正LUT、10
…セレクタ回路、11…123次色成分演算回路、12
…セレクタ回路、13…ラッチ回路、14…減算器、1
6…乗算器、17…加算器、18…ラッチ回路、19…
リミッタ回路、20…コンピュータ、21…カラープリ
ンタ、22…ディスプレイ、23…ガンマ補正LUT、
24…記録系、25…濃度変換LUT、26…複製画、
27…原稿、28…カラースキャナ、29…ガンマ補正
LUT、30…読み取り系、31…A/D変換器。
1...Color correction circuit, 2...Input terminal, 3...Latch circuit, 4...
Comparator, 5... Selection signal generator, 9... Color correction LUT, 10
...Selector circuit, 11...12 Third color component calculation circuit, 12
...Selector circuit, 13...Latch circuit, 14...Subtractor, 1
6... Multiplier, 17... Adder, 18... Latch circuit, 19...
Limiter circuit, 20... Computer, 21... Color printer, 22... Display, 23... Gamma correction LUT,
24... Recording system, 25... Density conversion LUT, 26... Reproduction image,
27... Original, 28... Color scanner, 29... Gamma correction LUT, 30... Reading system, 31... A/D converter.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】カラー画像の三色色分解信号に補正を加え
て記録画像信号を生成するカラー画像信号の色修正方法
において、原画の色再現性を目標として、色濃度空間を
Y,M,C,R,G,B,Bk系に分割し、それぞれに
最適化した色補正マトリクスの色補正係数を設定してお
き、順次、入力される画素の三色色分解信号の最大値,
中間値,最小値から、前記最大値から前記中間値を引い
た一次色成分を、前記中間値から前記最小値を引いた二
次色成分を、前記最小値から三次色成分を求め、そのと
きの各色成分の値と色情報を格納しておくステップと、
各色成分の色情報から前記Y,M,C,R,G,B,B
k系毎に最適化した色補正係数を選択し、三色色分解信
号なそれぞれ掛けて色補正演算を行い、各色成分の成分
比を重み係数としてそれぞれの色補正結果に掛けて加算
し、加算した結果、負であれば0とし、データ最大値を
越えていればデータ最大値をセットして順次入力される
カラー画像の三色色分解信号に行い、色補正をすること
を特徴とするカラー画像信号の色修正方法。
[Claim 1] A color correction method for a color image signal in which a recorded image signal is generated by correcting three-color separation signals of a color image. , R, G, B, and Bk systems, and set the color correction coefficients of the optimized color correction matrix for each, and sequentially calculate the maximum value of the three-color separation signal of the input pixel,
From the intermediate value and minimum value, calculate the primary color component by subtracting the intermediate value from the maximum value, the secondary color component by subtracting the minimum value from the intermediate value, and the tertiary color component from the minimum value, and then a step of storing values and color information of each color component;
From the color information of each color component, the Y, M, C, R, G, B, B
Optimized color correction coefficients were selected for each k system, multiplied by each of the three color separation signals to perform color correction calculations, and each color correction result was multiplied by the component ratio of each color component as a weighting coefficient and added. The color image signal is characterized in that if the result is negative, it is set to 0, and if it exceeds the maximum data value, the maximum data value is set and color correction is performed on the three-color separation signal of the color image that is sequentially input. How to correct color.
JP3069744A 1991-04-02 1991-04-02 Color correction method for color picture signal Pending JPH04304775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3069744A JPH04304775A (en) 1991-04-02 1991-04-02 Color correction method for color picture signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3069744A JPH04304775A (en) 1991-04-02 1991-04-02 Color correction method for color picture signal

Publications (1)

Publication Number Publication Date
JPH04304775A true JPH04304775A (en) 1992-10-28

Family

ID=13411618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3069744A Pending JPH04304775A (en) 1991-04-02 1991-04-02 Color correction method for color picture signal

Country Status (1)

Country Link
JP (1) JPH04304775A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003034710A1 (en) * 2001-10-11 2003-04-24 Mitsubishi Denki Kabushiki Kaisha Color converting device and color converting method
JP2005134866A (en) * 2003-04-18 2005-05-26 Sharp Corp Color display device, color compensation method, and color compensation program
JP2005318597A (en) * 2004-04-30 2005-11-10 Samsung Electronics Co Ltd Video image polychromatic conversion apparatus and method, and recording medium
JP2006094492A (en) * 2004-09-20 2006-04-06 Xerox Corp Calibration of color device
US7177469B2 (en) 2002-06-05 2007-02-13 Mitsubishi Denki Kabushiki Kaisha Color conversion device and color conversion method
US7612927B2 (en) 2002-05-15 2009-11-03 Mitsubishi Denki Kabushiki Kaisha Image processing device
US7956823B2 (en) 2001-05-30 2011-06-07 Sharp Kabushiki Kaisha Color display device, color compensation method, color compensation program, and storage medium readable by computer

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7956823B2 (en) 2001-05-30 2011-06-07 Sharp Kabushiki Kaisha Color display device, color compensation method, color compensation program, and storage medium readable by computer
WO2003034710A1 (en) * 2001-10-11 2003-04-24 Mitsubishi Denki Kabushiki Kaisha Color converting device and color converting method
US7221791B2 (en) 2001-10-11 2007-05-22 Mitsubishi Denki Kabushiki Kaisha Color converter and color converting method
US7612927B2 (en) 2002-05-15 2009-11-03 Mitsubishi Denki Kabushiki Kaisha Image processing device
US7177469B2 (en) 2002-06-05 2007-02-13 Mitsubishi Denki Kabushiki Kaisha Color conversion device and color conversion method
JP2005134866A (en) * 2003-04-18 2005-05-26 Sharp Corp Color display device, color compensation method, and color compensation program
JP2005318597A (en) * 2004-04-30 2005-11-10 Samsung Electronics Co Ltd Video image polychromatic conversion apparatus and method, and recording medium
JP2006094492A (en) * 2004-09-20 2006-04-06 Xerox Corp Calibration of color device

Similar Documents

Publication Publication Date Title
JP2994153B2 (en) Color signal converter
US4656505A (en) Method for color correction for multi-color printing plate pictures
US6882445B1 (en) Color gamut compression apparatus and method
EP0622952A1 (en) A method and a device for generating printing data
EP0497325B1 (en) Method for determining amounts of UCR and image processing apparatus
JPH0151828B2 (en)
US5677967A (en) Method of and apparatus for converting between a color appearance space and a colorant space
US20050219260A1 (en) Color conversion method and image processor
JPH10191081A (en) Color conversion method
US6151135A (en) Method and apparatus for color reproduction
JPH0657046B2 (en) Digital color signal processing circuit
US4965664A (en) Color image signal processing method and apparatus for recording a color image from input color image signals by converting an individual color signal component
JPH0983824A (en) Color correction method
US5084762A (en) Under-color removal method and device therefor
JPH04304775A (en) Color correction method for color picture signal
JPH04335771A (en) Color correcting device
JPH10200770A (en) Method for correcting color of picture data
JP2876853B2 (en) Color converter
US5155587A (en) Color conversion method for reproducing an image and an image reproducing device incorporating the same
JP2001045313A (en) Method and device for converting color, color conversion program storage medium and method for correcting color
GB2240897A (en) Color correction and printing system for reproduction of computer-generated images
JPH0832838A (en) Gradation correction method and gradation correction device
JPH0141060B2 (en)
JPH11146213A (en) Color conversion method
JPH0151826B2 (en)