JPH05122514A - Color image processing method - Google Patents

Color image processing method

Info

Publication number
JPH05122514A
JPH05122514A JP3284953A JP28495391A JPH05122514A JP H05122514 A JPH05122514 A JP H05122514A JP 3284953 A JP3284953 A JP 3284953A JP 28495391 A JP28495391 A JP 28495391A JP H05122514 A JPH05122514 A JP H05122514A
Authority
JP
Japan
Prior art keywords
color
image
image data
signals
important
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
JP3284953A
Other languages
Japanese (ja)
Inventor
Hirokazu Genno
広和 源野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP3284953A priority Critical patent/JPH05122514A/en
Publication of JPH05122514A publication Critical patent/JPH05122514A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute exact color reproduction making much of an important color according to a masking method by automatically setting the important color corresponding to an input color image. CONSTITUTION:Image data R, G and B signals expressing a first color component are read in an image processor by scanning a source image 1 with a color scanner 2 and converted to color coordinate system color image signals. Then, a color slip having the nearest average value of calculated color coordinate system color image signal data is selected out of color slip data stored in a ROM 4. A weight is set to w1 concerning the selected color slip, and the other color slip is set to a weight w2 smaller than the weight w1 so as to decide a masking parameter. By using this masking matrix, the image data R, G and B signals are converted to C, M and Y signals and outputted to a recorder 5 as color print signals.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、カラー画像処理方法に
関するものであり、特に入力されたカラー画像の第1の
色成分を表す第1の画像データを、マスキング法により
第2の色成分を表す第2の画像データに色変換を行い、
該第2の画像データに基づいてカラー画像を出力するカ
ラー複写機等のカラー画像出力装置に利用し得るカラー
画像処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing method, and more particularly, to a first color image data representing a first color component of an input color image, and a second color component of the first image data by a masking method. Color conversion to the second image data
The present invention relates to a color image processing method that can be used in a color image output device such as a color copying machine that outputs a color image based on the second image data.

【0002】[0002]

【従来の技術】例えば、カラー複写機において、入力さ
れたカラー原画を全ての色に対して平均的に忠実に複写
するのではなく、原画を基に、特定色の色再現を重点的
に忠実に複写したカラーコピー画を得たい場合がある。
2. Description of the Related Art For example, in a color copying machine, an input color original image is not faithfully copied to all the colors on average, but color reproduction of a specific color is emphasized based on the original image. There are times when you want to obtain a color copy image that was copied to.

【0003】しかしながら従来は、カラー原画を走査し
て読み取られたR,G,B信号(第1の画像データ)
を、カラーマスキング法により印刷用インクに対応した
Y,M,C信号(第2の画像データ)に変換して記録部
に供給しており、このカラーマスキング方法として、カ
ラー原画の色成分R,G,B信号に対して、数1に示す
1次のマスキング方程式や、あるいは2次成分項、およ
びクロス項成分まで考慮した2次のマスキング方程式に
より、演算を行いC,M,Y信号に変換する手法などが
知られている。
However, conventionally, R, G, B signals (first image data) read by scanning a color original image are read.
Is converted into Y, M, C signals (second image data) corresponding to the printing ink by the color masking method and supplied to the recording section. As the color masking method, the color components R, The G and B signals are converted into C, M and Y signals by the operation using the first-order masking equation shown in the equation 1 or the second-order masking equation in which the second-order component term and the cross term component are taken into consideration. Techniques for doing so are known.

【0004】[0004]

【数1】 [Equation 1]

【0005】このため、特定色の色再現を特に良くする
ためには、マスキング行列のパラメータを決定する際に
特定色の色票を多く選択して、数2に示す2乗誤差の和
Eが最小となるように係数項a00〜a22を決定すればよ
い。
Therefore, in order to particularly improve the color reproduction of the specific color, many color chips of the specific color are selected when determining the parameters of the masking matrix, and the sum E of the squared errors shown in Equation 2 is obtained. The coefficient terms a 00 to a 22 may be determined so as to be the minimum.

【0006】[0006]

【数2】 [Equation 2]

【0007】ここで、Ci,Mi,Yiはi番目の色票を
記録する際の色成分値を表し、ci,mi,yiはi番目
の色票をカラースキャナで読み取った際のR,G,B値
を前記数1に代入し算出した色成分値を示す。
Here, C i , M i , and Y i represent color component values when the i-th color chart is recorded, and c i , m i , and y i read the i-th color chart with a color scanner. The color component values calculated by substituting the R, G, and B values in the above equation 1 into the above are shown.

【0008】しかしながら、一般に入力画像ごとに重要
となる色が異なるため、上述の方法では入力画像ごとに
色票を選択してマスキング行列のパラメータを決定しな
ければならず、事実上、入力画像ごとに重要色を設定す
ることは困難であった。
However, in general, the important color is different for each input image. Therefore, in the above method, it is necessary to select the color chart for each input image and determine the parameters of the masking matrix. It was difficult to set the important color to.

【0009】このための対策として、1989年画像電
子学会第18巻第1号「カラーマスキング(Ι)」に
は、重要色の色票を増やしてマスキング行列のパラメー
タを決定するのではなく、色票ごとに2乗誤差に重みw
iを持たせ、重要色の2乗誤差に対する重みを大きく設
定する方法が提案されている。数3に、この方法による
2乗誤差の和を表す式を示す。
As a countermeasure for this, in 1989, Image Electronics Society of Japan, Vol. 18, No. 1, "Color Masking (I)", the color patches of the important colors are not increased to determine the parameters of the masking matrix. Squared error weight w for each vote
A method has been proposed in which i is given and a weight for a squared error of an important color is set large. Equation 3 shows an equation representing the sum of squared errors by this method.

【0010】[0010]

【数3】 [Equation 3]

【0011】この従来法を採用し、重要色に対する重み
を選択的に大きくすることにより、重要色の色票の数を
増やした場合と同じ効果を得ることができる。
By adopting this conventional method and selectively increasing the weight for the important color, the same effect as when the number of color chips of the important color is increased can be obtained.

【0012】[0012]

【発明が解決しようとする課題】しかしながら上記従来
法によれば、使用者が予め重要色、及び重みを設定しな
ければならず、その設定を入力画像ごとに正確に行うの
は困難であった。
However, according to the above-mentioned conventional method, the user has to set the important colors and weights in advance, and it is difficult to make the setting accurately for each input image. ..

【0013】本発明は、上記問題に鑑みてなされたもの
であって、入力カラー画像に応じて、その重要色を自動
的に設定し、マスキング法により前記重要色を重視した
色再現を行う画像処理方法を提供するものである。
The present invention has been made in view of the above problems, and an image in which an important color is automatically set according to an input color image and color reproduction is performed by emphasizing the important color by a masking method. It provides a processing method.

【0014】[0014]

【課題を解決するための手段】本発明は、入力されたカ
ラー画像の第1の色成分を表す第1の画像データを、マ
スキング法により第2の色成分を表す第2の画像データ
に色変換を行い、該第2の画像データに基づいてカラー
画像を出力するカラー画像出力装置において、先ず、前
記第1の画像データに基づいて、前記入力カラー画像の
重要色を求める。次に、該重要色に基づいて、予め前記
装置本体内に記憶されている複数の色票データから色票
を選択する。更に、該選択色票について重みをw1に設
定し、且つ、その他の前記色票について前記重みw1
り小さい重みw2に設定して、マスキングパラメータを
決定する。そして、該マスキングパラメータに基づい
て、前記第1の画像データを第2の画像データに変換す
る構成とする。
According to the present invention, first image data representing a first color component of an input color image is converted into second image data representing a second color component by a masking method. In a color image output device that performs conversion and outputs a color image based on the second image data, first, an important color of the input color image is obtained based on the first image data. Next, based on the important color, a color chart is selected from a plurality of color chart data stored in advance in the apparatus body. Further, the weight for the selected color chip is set to w 1, and, for the other of said color chart is set to the weight w 1 is smaller than the weight w 2, determines a masking parameter. Then, the first image data is converted into second image data based on the masking parameter.

【0015】[0015]

【作用】上記構成によれば、入力されたカラー画像の第
1の色成分を表す第1の画像データより求められた重要
色に基づいて、予め装置本体内に記憶されている複数の
色票データから色票を選択し、該選択色票を考慮して前
記第1の画像データを第2の色成分を表す第2の画像デ
ータに色変換するためのマスキングパラメータが決定さ
れることとなり、入力カラー画像に対する重要色が自動
的に選択され、該重要色を重視した正確な色再現が行わ
れることになる。
According to the above construction, a plurality of color chips stored in advance in the main body of the apparatus based on the important color obtained from the first image data representing the first color component of the input color image. A color chart is selected from the data, and the masking parameter for color-converting the first image data into the second image data representing the second color component is determined in consideration of the selected color chart. The important color for the input color image is automatically selected, and accurate color reproduction with the important color being emphasized is performed.

【0016】[0016]

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

【0017】図1は、本発明の画像処理方法を適用する
カラー複写機の概略ブロック図である。同図において、
原画1の画像がカラースキャナ2によって画素ごとに読
み取られ、その読み取られたR,G,B信号(第1の画
像データ)が画像処理装置3に転送される。画像処理装
置3は、入力されたR,G,B信号に対して、ROM4
に予め書き込まれた125枚の色票データなどに基づい
て、後述するようにマスキング処理などを行う。そし
て、処理後のY,M,C信号(第2の画像データ)が記
録装置5に出力され、該記録装置5にて前記Y,M,C
信号に基づいて、記録紙上に画像記録される。
FIG. 1 is a schematic block diagram of a color copying machine to which the image processing method of the present invention is applied. In the figure,
The image of the original image 1 is read for each pixel by the color scanner 2, and the read R, G, B signals (first image data) are transferred to the image processing device 3. The image processing device 3 uses the ROM 4 for the input R, G, B signals.
A masking process or the like is performed as will be described later based on the 125 color chart data and the like written in advance. Then, the processed Y, M, C signals (second image data) are output to the recording device 5, and the recording device 5 outputs the Y, M, C signals.
An image is recorded on the recording paper based on the signal.

【0018】次に、上記本発明の画像処理方法につい
て、図2のフローチャートにより説明する。
Next, the image processing method of the present invention will be described with reference to the flowchart of FIG.

【0019】先ず、原画1をカラースキャナ2にて走査
することにより、入力カラー画像の第1の色成分を表す
第1の画像データであるR,G,B信号を画像処理装置
3に読み込み(S1)、その読み込んだR,G,B信号
をCIE(国際照明委員会)が定めた色空間L*,a*
*色座標系カラー画像信号に変換する(S2)。な
お、ステップS2において、R,G,B信号をL*
*,b*信号に変換しているのは、この色座標系のカラ
ー画像信号が人間が感じる色差を正確に色空間上に表現
しているため、この色空間で画像処理を行うことが最も
人間の感覚に合った処理となるからである。
First, the original image 1 is scanned by the color scanner 2 to read the R, G, B signals, which are the first image data representing the first color component of the input color image, into the image processing device 3 ( S1), the read R, G, B signals are color spaces L * , a * , defined by CIE (International Commission on Illumination)
It is converted into a b * color coordinate system color image signal (S2). In step S2, the R, G, B signals are set to L * ,
The conversion into a * and b * signals is because the color image signal of this color coordinate system accurately expresses the color difference perceived by humans in the color space, so image processing can be performed in this color space. This is because the processing is most suitable for the human sense.

【0020】そして、次のステップにおいて、原画の全
画素におけるL*,a*,b*信号データの平均値を算出
し(S3)、次のステップS4に進む。このステップS
3により、原画の重要色のL*,a*,b*信号データが
求められることになる。
Then, in the next step, the average value of the L * , a * , b * signal data in all pixels of the original image is calculated (S3), and the process proceeds to the next step S4. This step S
3, the L * , a * , b * signal data of the important color of the original image is obtained.

【0021】ステップS4において、ステップS3で算
出されたL*,a*,b*信号データの平均値が、前記R
OM4に記憶されている125枚の色票データのうち、
最も近い色票を選択し次のステップに進む。尚、この1
25枚の色票は、カラー複写機のY,M,C色の出力
を、0〜127階調出力可能に設定し、そのY,M,C
信号の出力階調が、それぞれ0,30,60,90,1
20階調となる信号を組み合わせて、カラー複写機で出
力した125枚の色票を用いている。そして、前記RO
M4には、この125枚の色票に対するC,M,Y信号
データと、前記色票を色彩色差計で測定して求めた12
5個のL*,a*,b*信号データ、及びスキャナーで読
み取り求めた125個のR,G,B信号データが記憶さ
れている。
In step S4, the average value of the L * , a * , b * signal data calculated in step S3 is the R value.
Of the 125 color chart data stored in OM4,
Select the closest color chart and proceed to the next step. In addition, this 1
The 25 color chips are set so that the Y, M, and C colors of the color copying machine can be output in 0 to 127 gradations.
The output gradation of the signal is 0, 30, 60, 90, 1 respectively.
125 color chips output from a color copier by combining signals with 20 gradations are used. And the RO
In M4, C, M, and Y signal data for the 125 color charts and the color chart measured by a color difference meter were obtained.
Five pieces of L * , a * , b * signal data and 125 pieces of R, G, B signal data read by the scanner are stored.

【0022】ステップS5において後述するようにマス
キング行列を決定し、そのマスキング行列を用いて前記
原画1の第1の画像データR,G,B信号を第2の画像
データであるC,M,Y信号に変換する(S6)。そし
て、そのC,M,Y信号を記録装置5にカラープリント
信号として出力する(S7)。
In step S5, a masking matrix is determined as described later, and the masking matrix is used to convert the first image data R, G, B signals of the original image 1 into the second image data C, M, Y. It is converted into a signal (S6). Then, the C, M and Y signals are output to the recording device 5 as a color print signal (S7).

【0023】次に、前記ステップS5におけるマスキン
グ行列決定の処理について説明する。
Next, the masking matrix determination processing in step S5 will be described.

【0024】先ず、前記ステップS3で算出された
*,a*,b*値と、予め前記ROM4に記憶されてい
る125枚の色票データのL*,a*,b*値との2乗誤
差を計算し、その誤差が最小となる色票データを選択す
る。
[0024] First, L * calculated in the step S3, a *, b * values and, in 125 pieces of color chips data stored in advance in the ROM4 L *, a *, 2 of the b * value The multiplication error is calculated, and the color chart data that minimizes the error is selected.

【0025】その選択された色票については前記数3に
おける重みwi=30に、その他の124枚の色票につ
いてはwi=1に設定し、前記数3のCi,Mi,Yiに前
記ROMに記憶されている125個のC,M,Y信号デ
ータを、またci,mi,yiに前記ROM4に記憶され
ている125個の前記R,G,B信号データを前記数1
に代入し算出したC,M,Y信号データをそれぞれ代入
する。なお、本実施例では色票データを125個とした
ため前記数3において、q=125としている。
For the selected color chart, the weight w i = 30 in the equation 3 is set, and for the other 124 color charts, w i = 1 is set, and C i , M i , Y of the equation 3 is set. 125 of C that the stored in the ROM in the i, M, and Y signal data, also c i, m i, y i to said 125 stored in ROM4 the R, G, and B signal data The number 1
C, M, Y signal data calculated by substituting into In the present embodiment, since the number of color chart data is 125, q = 125 in the equation (3).

【0026】そして、前記数3の2乗誤差の和Eが最小
となるように係数項a00〜a22を算出しマスキング行列
を決定する。尚、これらの処理は全て画像処理装置3で
行われ、その結果は記録装置5に出力される。
Then, the coefficient terms a 00 to a 22 are calculated so that the sum E of the squared errors of the equation 3 is minimized, and the masking matrix is determined. Note that all of these processes are performed by the image processing device 3, and the result is output to the recording device 5.

【0027】斯様にして、決定されたマスキング行列を
用いて原画の第1の画像データR,G,B信号を第2の
画像データC,M,Y信号に変換するので、原画ごとに
異なる重要色を忠実に再現することができる。
In this way, since the first image data R, G, B signals of the original image are converted into the second image data C, M, Y signals using the masking matrix determined in this way, it differs for each original image. Important colors can be faithfully reproduced.

【0028】なお、上記実施例では1原画に対する
*,a*,b*信号データの平均値を求め、その平均値
から重要色を選択する場合について説明したが、原画ご
とに求められたL*,a*,b*信号データを累積し、そ
の加重平均値から重要色を選択するようにしても構わな
い。これにより、機器の使用状態を考慮したマスキング
行列の決定を行うことができる。
In the above embodiment, the case where the average value of the L * , a * , b * signal data for one original image is calculated and the important color is selected from the average value has been described. It is also possible to accumulate the * , a * , and b * signal data and select the important color from the weighted average value. As a result, the masking matrix can be determined in consideration of the usage status of the device.

【0029】また、重要色の重みwiを30としたが、
重要色以外の重みwiより大きければ、その他の値でも
構わない。なお、この重要色の重みwiを重要色以外の
重みwiより大きくすることにより、重要色の色再現性
が向上される。
Although the weight w i of the important color is set to 30,
Other values may be used as long as they are larger than the weight w i other than the important color. Note that the weight reproducibility of the important color is improved by making the weight w i of the important color larger than the weight w i other than the important color.

【0030】以上、本発明をカラー複写機に適用させた
場合について説明したが、カラープリンタ、およびカラ
ーディスプレイ装置等のカラー画像出力装置についても
適用可能である。
The case where the present invention is applied to a color copying machine has been described above, but the present invention is also applicable to a color image output device such as a color printer and a color display device.

【0031】[0031]

【発明の効果】以上述べた通り本発明によれば、第1の
画像データに基づいて入力カラー画像の重要色を求め、
該重要色に基づいて予め装置本体内に記憶されている複
数の色票データから色票を選択し、該選択色票を考慮し
て決定したマスキング行列を用いて、前記第1の画像デ
ータを第2の画像データに変換するので、入力カラー画
像に対する重要色を自動的に選択し、該重要色を重視し
た正確な色再現を行うことができる。
As described above, according to the present invention, the important color of the input color image is obtained based on the first image data,
A color chart is selected from a plurality of color chart data stored in advance in the apparatus main body based on the important color, and the first image data is obtained by using a masking matrix determined in consideration of the selected color chart. Since the image data is converted into the second image data, it is possible to automatically select the important color for the input color image and perform accurate color reproduction with the important color being emphasized.

【0032】また、使用者が入力画像ごとに予め重要色
の設定等をする必要がなく、その操作性を向上させるこ
とができる。
Further, the user does not need to set the important color in advance for each input image, and the operability can be improved.

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

【図1】本発明の画像処理方法を適用するカラー複写機
の概略ブロック図である。
FIG. 1 is a schematic block diagram of a color copying machine to which an image processing method of the present invention is applied.

【図2】本発明の一実施例を適用したカラー複写機にお
ける画像処理方法のフローチャートである。
FIG. 2 is a flowchart of an image processing method in a color copying machine to which an embodiment of the present invention is applied.

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

1 原画 2 カラースキャナ 3 画像処理装置 4 ROM 5 記録装置 1 Original image 2 Color scanner 3 Image processing device 4 ROM 5 Recording device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】入力されたカラー画像の第1の色成分を表
す第1の画像データを、マスキング法により第2の色成
分を表す第2の画像データに色変換を行い、該第2の画
像データに基づいてカラー画像を出力するカラー画像出
力装置において、 前記第1の画像データに基づいて前記入力カラー画像の
重要色を求めるステップと、 該重要色に基づいて、予め前記装置本体内に記憶されて
いる複数の色票データから色票を選択するステップと、 該選択色票について重みをw1に設定し、且つ、その他
の前記色票について前記重みw1より小さい重みw2に設
定して、マスキングパラメータを決定するステップと、 該マスキングパラメータに基づいて、前記第1の画像デ
ータを第2の画像データに変換するステップと、 を有することを特徴とするカラー画像処理方法。
1. A first image data representing a first color component of an input color image is color-converted into a second image data representing a second color component by a masking method, and the second image data representing the second color component is color-converted. In a color image output device for outputting a color image based on image data, a step of obtaining an important color of the input color image based on the first image data; selecting a color chart from a plurality of color chips data stored, the weight for the selected color chip is set to w 1, and setting the weight w 1 is smaller than the weight w 2 for the other of said color chart And determining a masking parameter, and converting the first image data into second image data based on the masking parameter. Over image processing method.
【請求項2】前記入力カラー画像の重要色を求めるステ
ップは、1入力カラー画像について、該画像データ平均
値を求めることを特徴とする請求項1記載のカラー画像
処理方法。
2. The color image processing method according to claim 1, wherein in the step of obtaining the important color of the input color image, the average value of the image data is obtained for one input color image.
【請求項3】前記入力カラー画像の重要色を求めるステ
ップは、前記装置本体にて使用された入力カラー画像の
画像データを累積し、その加重平均値を求めることを特
徴とする請求項1記載のカラー画像処理方法。
3. The step of obtaining the important color of the input color image is to accumulate image data of the input color image used in the apparatus main body and obtain a weighted average value thereof. Color image processing method.
JP3284953A 1991-10-30 1991-10-30 Color image processing method Pending JPH05122514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3284953A JPH05122514A (en) 1991-10-30 1991-10-30 Color image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3284953A JPH05122514A (en) 1991-10-30 1991-10-30 Color image processing method

Publications (1)

Publication Number Publication Date
JPH05122514A true JPH05122514A (en) 1993-05-18

Family

ID=17685219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3284953A Pending JPH05122514A (en) 1991-10-30 1991-10-30 Color image processing method

Country Status (1)

Country Link
JP (1) JPH05122514A (en)

Similar Documents

Publication Publication Date Title
US5696889A (en) Method of and apparatus for generating tone reproduction curve for converting color signals
JP3520550B2 (en) Color image processing system and its data correction method
US6192152B1 (en) Image processing apparatus
US5734801A (en) Method of and apparatus for producing color proof
US4956718A (en) Tonal conversion method for pictures
US4573071A (en) Method and system for displaying a color image simulating a multi-color printed matter on a screen
US6636260B2 (en) Image processing using a profile selection based on photographing condition
JP4393328B2 (en) Image processing apparatus and method
US5619634A (en) Color image processing method for processing input image data in accordance with input character data
US20070285694A1 (en) Color conversion definition creation apparatus and color conversion definition creation program storage medium
US6108098A (en) Image processing apparatus and method
US7576892B2 (en) Color image processing apparatus
JPH08317229A (en) Color image processor
EP0703700A2 (en) Method of and apparatus for predicting image
JPH05122514A (en) Color image processing method
US5757378A (en) Color image processing apparatus
JP2638843B2 (en) Color image forming equipment
JPH11220630A (en) Method for generating three-dimensional look up table, image processor executing the same and digital color printer provided with the same
JP4010952B2 (en) Color conversion definition creation method, color conversion definition creation device, and color conversion definition creation program
JP2003298843A (en) Image recorder and method for preparing gradation correction data
JPH10198793A (en) Image processor
JP2547746B2 (en) Color image processing method
JP3059449B2 (en) Color image copying apparatus and color image processing method
JP2002027270A (en) Color processing method, color processor, and color processing program storing medium
JP3133771B2 (en) Image processing device