JPH0462684A - Color picture processor - Google Patents

Color picture processor

Info

Publication number
JPH0462684A
JPH0462684A JP2173822A JP17382290A JPH0462684A JP H0462684 A JPH0462684 A JP H0462684A JP 2173822 A JP2173822 A JP 2173822A JP 17382290 A JP17382290 A JP 17382290A JP H0462684 A JPH0462684 A JP H0462684A
Authority
JP
Japan
Prior art keywords
color
data
xyz
color system
rgb
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
JP2173822A
Other languages
Japanese (ja)
Inventor
Atsuji Tazaki
田崎 厚治
Jiyoonzu Kenesu
ケネス・ジョーンズ
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2173822A priority Critical patent/JPH0462684A/en
Publication of JPH0462684A publication Critical patent/JPH0462684A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simply and precisely obtain required color by assigning the color data of an XYZ color specification system by an input device and executing transformation between the color data of the XYZ color specification system and the color data of the RGB color specification system of an inout/output device. CONSTITUTION:An operator executes the synthesizing of a picture, color tone changing and print distributing interactively by using a keyboard 47 and a pointing device 48 by watching a picture displayed on a display 43 and prepares the picture that he intends. Then, the color data of a Munsell color specification system are inputted to a Mumsell XYZ transforming circuit 425. On interactive picture processing, the efficiency of operation is improved by comparing with color assignment by relative RGB 3 bytes. Picture data are inputted to a printer correcting circuit, are transformed into the data of a printer RGB color specification system by interpolating a three-dimensional lookup table and printer- outputted. Accordingly, the operator can obtain the hard copy of the picture as he intends.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、入出力機器の特性による色彩の相違を補正し
て、正確に色彩を入出力でき、しかも操作者が希望とす
る色彩を感覚的に簡単かつ正確に指定することができる
カラー画像処理装置に関する。
The present invention provides color image processing that corrects color differences due to the characteristics of input/output equipment, allows accurate input and output of colors, and allows an operator to intuitively and easily specify desired colors. Regarding equipment.

【従来の技術】[Conventional technology]

コンピュータグラフィックに於て、画像の色を数値表現
する場合、一般に、赤(R)、緑(G)、青(B)を三
原色とし、三原色の加法混色により色を表す方法が用い
られている。各原色に対して8ビツト、0〜255の数
値を色の強度として与え、それら三つの数値の組合せに
より約1670万色の色を3バイトで表現する。これは
、■現在、標準的な出力機であるグラフィックデイスプ
レィが3原色の加法混色により色を再現していると言う
点、■人間の目の識別能力に対して十分な色数であると
言う点、■各原色の強度を表すのにコンピュータによる
演算の基本単位である1バイトを用いているため、計算
が容易であると言う点、■再現できる色に対してのみ数
値を当てはめているので、色空間が閉じており、再現で
きない色に対して考慮する必要がなく、取扱いが簡易で
あると言う点のため広まった方法である。この方法は様
々な入出力機器を制御すると言う点からみた場合、最も
有効な方法と言える。 この方法による画像処理を第6図のフローチャートを用
いて説明する。まず、原画かスキャナーカラーカメラ等
の画像入力機器により入力される(S11)。画像人力
機器より出力されるRGBデータはプロセッサにそのま
ま入力され、プロセッサ内部のメモリに保存される。そ
のとき、入力機器内部において、画質向上のため、ガン
マ補正、エツジ強調などの処理が行われる場合がある。 プロセッサ内部の画像メモリ上のRGBデータはそのま
まグラフィックデイスプレィに送られ、画像がデイスプ
レィに表示される。操作者は画面に表示される画像を確
認しながら、キーホードやポインティングデバイスをも
ちいて対話的に画像を加工する(S12)、この画像の
RGBデータに対して操作者が色指定を行うときも、こ
のRGB各1バイト毎による指定が一般的である。画像
処理を受けた最終的なRGBデータは、次の(式1)に
よりC(ソアン)M(マゼンダ)Y(黄)データに変換
され、さらにデイザ法やガンマ補正などの画像処理をう
けて、出力機器であるプリンタに送られる。 そして、プリンタでハードコピーが出力される(S13
)。 操作者はこうして出力されたサンプルを元に自分の希望
する色になっているかどうかを確認する(S14)。も
し、サンプルが自分の希望する色になっていないと判断
した場合、自分の希望する色になるまで、プロセッサ上
の画像データに対する色補正(S12)と出力(S13
)を繰り返していた。
In computer graphics, when expressing the color of an image numerically, a method is generally used in which the three primary colors are red (R), green (G), and blue (B), and the color is expressed by additive color mixture of the three primary colors. For each primary color, 8 bits and a numerical value from 0 to 255 are given as color intensity, and approximately 16.7 million colors are expressed in 3 bytes by a combination of these three numerical values. This is because: 1) Graphic displays, which are currently standard output devices, reproduce colors by additive color mixing of three primary colors, and 2) The number of colors is sufficient for the human eye's discernment ability. The following points are true: ■ Calculation is easy because one byte, which is the basic unit of computer calculations, is used to represent the intensity of each primary color. ■ Values are applied only to colors that can be reproduced. Therefore, this method has become popular because the color space is closed, there is no need to consider colors that cannot be reproduced, and it is easy to handle. This method can be said to be the most effective method from the point of view of controlling various input/output devices. Image processing by this method will be explained using the flowchart of FIG. First, an original image is input using an image input device such as a scanner and a color camera (S11). The RGB data output from the human-powered image device is input directly to the processor and stored in the processor's internal memory. At that time, processing such as gamma correction and edge enhancement may be performed within the input device to improve image quality. The RGB data on the image memory inside the processor is sent as is to the graphic display, and the image is displayed on the display. The operator interactively processes the image using a keyboard or pointing device while checking the image displayed on the screen (S12). When the operator specifies colors for the RGB data of this image, It is common to specify each byte of RGB. The final RGB data that has undergone image processing is converted into C (soane), M (magenta), and Y (yellow) data using the following (Equation 1), and is further subjected to image processing such as dithering and gamma correction. It is sent to the printer, which is an output device. Then, a hard copy is output by the printer (S13
). Based on the sample thus output, the operator checks whether the color is the one he or she desires (S14). If it is determined that the sample does not have the color you desire, perform color correction (S12) and output (S13) on the image data on the processor until the color you desire is achieved.
) was repeated.

【発明が解決しようとする課題】[Problem to be solved by the invention]

このように、上記従来のカラー画像処理方法では、RG
B表色系の色データで一貫して処理を行なっており、か
つ、入出力機器の色彩特性が異なるため、指定した色が
実際どの様な色に出力されるかは、出力結果をみなけれ
ばわからず、上で説明したように、出力された画像を見
ながら、色彩の相違に対して、操作者の目の色感に頼っ
た極めて不安定かつ非効率的な色補正を行なわへ゛けれ
ばならないという問題があった。 また、実用レベルでの操作者である色彩のデザイナ−や
技術者は従来より、色指定を行う際にマンセル表色系(
JIS  X8721)をよく使用する。当然のことな
がら画像処理装置においても相対的なRGB各1バイト
毎の色指定でなく、マンセル表色系を用いたいというニ
ーズが強かった。 しかし、マンセル表色系を用いた実用的な画像処理装置
は開発されておらず、感覚的に分かりにくいRGB表色
系で色指定を行わなければならないという問題があった
。 そこで、本発明の目的は、入出力機器の特性による色彩
の相違を補正して、操作者の希望のカラ−画像を簡単か
つ正確に得ることができるカラー画像処理装置を提供す
ることにある。 また、本発明の目的は、マンセル表色系で色指定を行な
うことができ、したがって、感覚的に分かりやすく、簡
単かつ正確に色指定を行なうことができるカラー画像処
理装置を提供することにある。
In this way, in the conventional color image processing method described above, RG
Processing is done consistently using color data from the B color system, and the color characteristics of input and output devices differ, so you have to look at the output results to determine what color the specified color will actually be. As explained above, if you look at the output image and perform extremely unstable and inefficient color correction that relies on the color sense of the operator's eyes, The problem was that it didn't. In addition, color designers and engineers who are operators at a practical level have traditionally used the Munsell color system (
JIS X8721) is often used. Naturally, there has been a strong need for image processing devices to use the Munsell color system instead of specifying relative colors for each byte of RGB. However, a practical image processing device using the Munsell color system has not been developed, and there is a problem in that colors must be specified using the RGB color system, which is difficult to understand intuitively. SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a color image processing apparatus that can easily and accurately obtain a color image desired by an operator by correcting differences in color due to characteristics of input/output equipment. Another object of the present invention is to provide a color image processing device that is capable of specifying colors using the Munsell color system, and is therefore intuitively easy to understand, and that allows color specification to be performed simply and accurately. .

【課題を解決するための手段】[Means to solve the problem]

上記目的を達成するため、本発明は、コンピュータグラ
フィックに用いられるRGB表色系の相対的な色データ
とXYZ表色系の物理的な色データを変換手段により結
び付けることにより、入出力装置の色特性や操作者の感
覚に依存しないで、物理的に正確に色彩を得るようにし
たことを特徴としている。さらに、本発明は、マンセル
表色系の色データからXYZ表色系の色データへの変換
を行なうことにより、マンセル表色系での色指定を可能
にしたことを特徴としている。 すなわち、第1の発明は、入力装置と出力装置と制御部
を備えて、画像の加工、色変更を行なうカラー画像処理
装置において、XYZ表色系(CIE)の色データを記
憶するメモリと、上記メモリのX、YZ表色系の色デー
タと入力装置や出力装置のRGB表色系の色データとの
間の変換を行なう第1変換手段を備え、上記入力装置は
、上記XYZ表色系の色データを直接的あるいは間接的
に特定して入力することか可能になっていることを特徴
としている。 また、第2の発明は、上記入力装置は、マンセル表色系
の色データが入力されるようになっており、上記マンセ
ル表色系の色データを上記メモリに格納するXYZ表色
系の色データに変換する第2変換手段を備えたことを特
徴としている。 また、第3の発明は、上記入力装置および出力装置は、
夫々の色彩特性に応じた補正が施された異なる複数のR
GB表色系の色データが夫々入出力されるようになって
おり、上記具なる複数のRGB表色系の色データとXY
Z表色系の色データとの間の変換を夫々行なう複数の上
記第1変換手段を備えたことを特徴としている。 また、第4の発明は、上記第1変換手段は、RGBの色
データとXYZの色データを対応付けた3次元ルックア
ップテーブルを含むことを特徴としている。 第1図に本発明で用いた各表色系と、各変換の関係をブ
ロック図で示す。本発明は標準となる色彩系としてXY
Z表色系(21)を持つ。色データが外部記憶装置に保
存される場合、XYZ表色系(21)の数値として保存
される。 ここで、デイスプレィ、プリンタ、スキャナー各入出力
装置特有の色彩特性に対応した補正がかけであるRGB
色空間をそれぞれデイスプレィRGB表色系(22)、
プリンタRGB表色系(23)、スキャナーRGB表色
系(24)と呼ぶこととする。 XYZ表色系(21)で指定される色データは、プリン
タ、スキャナー、デイスプレィなど、各入出力装置に対
して、各々の第1変換手段によって変換された後、各入
出力装置に対応した表色系のRGBデータが入出力され
る。 また、マンセル表色系(25)は知覚的に均等な表色系
であるため、従来より色彩を扱うデザイナ−によく使用
されており、操作者が色指定を行うに最適な表色系であ
る。マンセル表色系(25)の色データは、第2変換手
段により、XYZ表色系(21)の色データに変換され
る。 デイスプレィRGB表色系(22)からXYZ表色系(
21)への変換方法を説明する。 デイスプレィRGB表色系(22)は輝度に対し線形で
ないので、ガンマ補正(式2)により、輝度に対して線
形な数値に変換する。 (式2)に於て、rz L bはR,GSB各蛍光体の
輝度、R,G、BはデイスプレィRGB表色系(22)
での各RGBの値、HSgaSbaはそれぞれ2.0−
3.0の定数である。ra、 ga、 baの値は、デ
イスプレィの各色の輝度r、g、bを計測し、この輝度
r、g、bとRGB表色系の各RGBの値とから導き出
せる。実際には、より高速に変換を行う為、デイスプレ
ィで出力することができる最大の輝度を255とした相
対輝度r、g、bを設定し、相対輝度r、 g、 bの
0から255の値について対応するデイスプレィRGB
表色系の値R,G、Hのルックアップテーブルを作成し
、それを参照して変換する。次に、これをXYZ表色系
へ一次変換する。 これを(式3)に示す。 (式4)は(式3)の逆変換である。次に、これにガン
マ補正をかけ(式5)、デイスプレィに出力する。 (Xr、Yr、Zr)、(Xg、Yg、Zg)、(Xb
、Yb、Zb)はRGB各々の蛍光体の蛍光色のXYZ
表色系のXYZ値である。また、tは任意の定数であり
、本来光源色であるデイスプレィで物体色を疑似的に表
現するために必要とされるものである。 XYZ表色系(21)からデイスプレィRGB表色系(
22)へ変換する方法はちょうどこれらの逆となる。X
YZ表色系により表現される色(X、Y。 Z)を−次変換し、線形なrgb色空間へ変換する(式
4)。 XYZ表色系(21)からプリンタRGB表色系(23
)への変換方法を説明する。XYZ表色系(21)から
プリンタRGB表色系(23)への変換は、測定データ
を基に作成した本発明の3次元ルックアップテーブルに
よる補間により行う。3次元ルックアップテーブルとは
、第2図に示すプリンタRGB表色系による色空間をR
GB各座標軸に対して均等に分割した各座標点の色をプ
リンタ出力し、そのサンプルを色度系で計測し、XYZ
値で求め、このXYZ値をRGB値に対応付けたちのあ
る。 この3次元ルックアップテーブルを検索、補間すること
により、XYZ値より、プリンタRGB表色系への変換
を正確に実行できる。 次に、スキャナーRGB表色系(24)からXYZ表色
系(21)への変換方法を説明する。 スキャナーで読み込まれたRGB値は、各RGB値ごと
にルックアップテーブル変換した後に、マトリックス変
換を行い、XYZ値とする。マトリックス変換式を(式
6)に示す。 (式7)に於て(Xc  Yc  Zc)、(Xm  
Ym  Zm)、(Zy  Yy  Zy)はそれぞれ
シアン、マゼンタ、イエローの色票のXYZ表色系での
計測値であり、 (Re  Gc  Be)、(Rm  Gm  Bm)
、(Ry  GyBy)はシアン、マゼンタ、イエロー
の色票をスキャナーで読み取ったときのRGB値である
。これを変形すると(式S)となり、行列Mを求めるこ
とができる。 Mは3×3の行列である。Mを求めるには色の鮮やかで
お互いにはなれている三枚の色票、例えば、シアン(C
)、マゼンタ(M)、イエロー(Y)の色票をスキャナ
ーで読み取り、そのRGB値を調べる。これらの色票の
XYZ値とスキャナーRGB値の関係は(式7)で表せ
る。 ・・・(式8) 次に、白から黒までの多段階の明度を持つ無彩色の色票
を数種スキャナーで読み込み、スキャナーのRGB値と
原紙色票を色度計で計測したXYZ値を(式6)の逆変
換で変形したRGB値を比較し、スキャナーで求めたR
GB値から色度計よりもとめたRGB値への変換ルック
アップテーブルを作成する。 次に、XYZ表色系(21)からマンセル表色系(25
)への変換、及び逆変換を説明する。 XYZ表色系よりマンセル表色系への変換は、下記のマ
ンセル明度関数(式9)をニュートン法て解き、明度■
を求め、さらに、色相H−彩度C平面においてルックア
ップテーブルCJTS8727付表1)により補間する
。 Y = 1.2219V −0,23111V’ + 
0.23951V3−0.021009V’ 〒0.0
O08404V5・・・(式9) マンセル表色系よりXYZ表色系への変換は、マンセル
明度関数(式9)によりYを求める。さらに、色相H−
彩度C平面において、ルックアップテーブルより検索、
補間して求める。
In order to achieve the above object, the present invention connects relative color data in the RGB color system used for computer graphics and physical color data in the It is characterized by the ability to obtain physically accurate colors without relying on characteristics or the senses of the operator. Furthermore, the present invention is characterized in that it is possible to specify colors in the Munsell color system by converting color data in the Munsell color system to color data in the XYZ color system. That is, the first invention provides a color image processing device that includes an input device, an output device, and a control unit and processes images and changes colors, including a memory that stores color data in an XYZ color system (CIE); The input device includes a first conversion means for converting between the color data of the X, YZ color system in the memory and the color data of the RGB color system of the input device or the output device, and the input device The feature is that it is possible to specify and input color data directly or indirectly. Further, in a second aspect of the invention, the input device is configured to receive color data in the Munsell color system, and to store color data in the Munsell color system in the memory. It is characterized by comprising a second conversion means for converting into data. Further, a third invention provides that the input device and the output device include:
Multiple different R's that have been corrected according to their respective color characteristics
The color data of the GB color system is input and output, and the color data of the plurality of RGB color systems mentioned above and the XY
The present invention is characterized in that it includes a plurality of the first conversion means each converting between the color data of the Z color system and the color data of the Z color system. Further, a fourth invention is characterized in that the first conversion means includes a three-dimensional lookup table that associates RGB color data with XYZ color data. FIG. 1 is a block diagram showing the relationship between each color system used in the present invention and each conversion. The present invention uses XY as a standard color system.
It has a Z color system (21). When color data is stored in an external storage device, it is stored as numerical values in the XYZ color system (21). Here, RGB is corrected according to the color characteristics specific to each input/output device, such as displays, printers, and scanners.
Each color space is a display RGB color system (22),
These will be referred to as a printer RGB color system (23) and a scanner RGB color system (24). The color data specified in the XYZ color system (21) is converted by each first conversion means for each input/output device such as a printer, scanner, or display, and then converted into a table corresponding to each input/output device. Color RGB data is input and output. In addition, the Munsell color system (25) is a perceptually uniform color system, so it has been often used by designers who deal with colors, and is the most suitable color system for operators to specify colors. be. The color data in the Munsell color system (25) is converted into color data in the XYZ color system (21) by the second conversion means. Display RGB color system (22) to XYZ color system (
21) will be explained. Since the display RGB color system (22) is not linear with respect to brightness, it is converted into a numerical value linear with respect to brightness by gamma correction (Equation 2). In (Formula 2), rz L b is the brightness of each phosphor of R and GSB, and R, G, and B are the display RGB color system (22)
The RGB values, HSgaSba, are each 2.0-
It is a constant of 3.0. The values of ra, ga, and ba can be derived by measuring the brightness r, g, and b of each color on the display and from the brightness r, g, and b and the values of each RGB in the RGB color system. Actually, in order to perform conversion at a higher speed, the relative brightness r, g, and b are set with the maximum brightness that can be output on the display as 255, and the values of relative brightness r, g, and b are set from 0 to 255. About the corresponding display RGB
A look-up table of color system values R, G, and H is created and conversion is performed by referring to it. Next, this is linearly converted to the XYZ color system. This is shown in (Equation 3). (Formula 4) is an inverse transformation of (Formula 3). Next, this is subjected to gamma correction (Equation 5) and output to the display. (Xr, Yr, Zr), (Xg, Yg, Zg), (Xb
, Yb, Zb) are the XYZ fluorescent colors of each RGB phosphor.
These are the XYZ values of the color system. Further, t is an arbitrary constant, which is necessary for pseudo-expressing the object color on the display, which is originally the color of the light source. From the XYZ color system (21) to the display RGB color system (
22) is just the opposite of these. X
The color (X, Y. Z) expressed by the YZ color system is subjected to a -order transformation and converted to a linear rgb color space (Equation 4). From the XYZ color system (21) to the printer RGB color system (23
). Conversion from the XYZ color system (21) to the printer RGB color system (23) is performed by interpolation using a three-dimensional lookup table of the present invention created based on measurement data. A three-dimensional lookup table is a color space based on the printer RGB color system shown in Figure 2.
Print out the color of each coordinate point evenly divided for each GB coordinate axis, measure the sample using the chromaticity system, and
The XYZ values are then associated with the RGB values. By searching and interpolating this three-dimensional lookup table, it is possible to accurately convert the XYZ values to the printer RGB color system. Next, a method of converting from the scanner RGB color system (24) to the XYZ color system (21) will be explained. The RGB values read by the scanner undergo look-up table conversion for each RGB value, and then matrix conversion to produce XYZ values. The matrix conversion formula is shown in (Formula 6). In (Formula 7), (Xc Yc Zc), (Xm
Ym Zm) and (Zy Yy Zy) are the measured values of cyan, magenta, and yellow color chips in the XYZ color system, respectively, and (Re Gc Be) and (Rm Gm Bm)
, (Ry GyBy) are RGB values when cyan, magenta, and yellow color patches are read by a scanner. When this is transformed, it becomes (Formula S), and the matrix M can be obtained. M is a 3×3 matrix. To find M, use three brightly colored color charts that are far apart from each other, such as cyan (C).
), magenta (M), and yellow (Y) with a scanner and check their RGB values. The relationship between the XYZ values of these color patches and the scanner RGB values can be expressed by (Equation 7). ...(Equation 8) Next, several types of achromatic color patches with multi-level brightness from white to black are read in with a scanner, and the XYZ values are measured by the scanner's RGB values and the base paper color chart with a chromaticity meter. The RGB values transformed by the inverse transformation of (Equation 6) are compared, and the R obtained by the scanner is
A lookup table for converting GB values to RGB values obtained using a chromaticity meter is created. Next, from the XYZ color system (21) to the Munsell color system (25
) conversion and inverse conversion will be explained. To convert from the XYZ color system to the Munsell color system, solve the Munsell brightness function (Equation 9) below using Newton's method, and calculate the brightness ■
is determined, and further interpolated using a lookup table CJTS8727 Appendix Table 1) on the hue H-saturation C plane. Y = 1.2219V -0,23111V' +
0.23951V3-0.021009V' 〒0.0
O08404V5... (Formula 9) For conversion from the Munsell color system to the XYZ color system, Y is determined using the Munsell lightness function (Formula 9). Furthermore, the hue H-
In the chroma C plane, search from the lookup table,
Find by interpolation.

【作用】[Effect]

第1の発明によれば、XYZ表色系の色データは入力装
置によって直接的あるいは間接的に特定して、メモリに
格納される。ここで、直接的とはXYZ表色系の色デー
タそのものを入力することをいい、間接的とは、たとえ
ばマンセル表色系の色データを介してXYZ表色系の色
データを特定して入力することをいう。上記メモリに格
納されたXYZ表色系の色データは第1変換手段によっ
て出力装置のRGB表色系の色データに変換して、この
RGB表色系の色データが出力装置に入力される。また
、スキャナー等の入力装置のRGB表色系の色データは
第1変換手段によってXYZ表色系に色データに変換し
て、メモリに格納される。 このように、第1の発明によれば、入出力装置のRGB
表色系の色データを第1変換手段によってXYZ表色系
の色データに変換するので、各入出力装置の特性による
色彩の相違を補正し、色彩を物理的なものとして把握す
ることができる。そのため、第1の発明のカラー画像処
理装置では、操作者は入出力装置の色彩特性による色彩
の相違について考える必要がなくなり、簡単かつ正確に
所望の色彩が得られる。 また、第2の発明によれば、入力装置は、マンセル表色
系の色データを入力することが可能である。上記入力装
置によって入力されたマンセル表色系の色データは第2
変換手段によってXYZ表色系の色データに変換されて
、メモリに格納される。したがって、知覚的に均等な物
体色であるマンセル表色系での色指定を行うことができ
るようになる。 また、第3の発明によれば、複数の入出力装置の色彩特
性に応じた複数のRGB表色系の色データとXYZ表色
系の色データとの間の変換は複数の第1変換手段によっ
て夫々行なわれる。したがって、複数の入出力装置の色
彩特性が異なっていても、正確に色彩を指定できる。 また、第4の発明によれば、第1変換手段は3次元にル
ックアップテーブルを含むので、正確に変換を行うこと
ができる。
According to the first invention, the color data of the XYZ color system is directly or indirectly specified by the input device and stored in the memory. Here, "direct" refers to inputting the color data itself in the XYZ color system, and "indirect" means, for example, inputting the color data specified in the XYZ color system via the color data in the Munsell color system. It means to do something. The color data in the XYZ color system stored in the memory is converted into color data in the RGB color system of the output device by the first conversion means, and the color data in the RGB color system is input to the output device. Further, the color data in the RGB color system of an input device such as a scanner is converted into color data in the XYZ color system by the first conversion means, and the converted color data is stored in the memory. In this way, according to the first invention, the RGB of the input/output device
Since color data in the color system is converted into color data in the XYZ color system by the first conversion means, differences in color due to the characteristics of each input/output device can be corrected, and colors can be understood as physical objects. . Therefore, in the color image processing device of the first aspect of the invention, the operator does not need to consider the difference in color due to the color characteristics of the input/output device, and the desired color can be easily and accurately obtained. Further, according to the second invention, the input device can input color data in the Munsell color system. The color data of the Munsell color system input by the input device is the second
The conversion means converts the data into color data of the XYZ color system and stores it in the memory. Therefore, it becomes possible to specify a color in the Munsell color system, which is a perceptually uniform object color. According to the third invention, the conversion between the color data of the plurality of RGB color systems and the color data of the XYZ color system according to the color characteristics of the plurality of input/output devices is performed by the plurality of first conversion means. are carried out respectively. Therefore, even if a plurality of input/output devices have different color characteristics, colors can be specified accurately. Further, according to the fourth invention, since the first conversion means includes a three-dimensional lookup table, accurate conversion can be performed.

【実施例】【Example】

以下、この発明を図示の実施例により詳細に説明する。 装置の構成を第3図に示す。制御部(4I)に補正回路
(42)を介して、グラフィックデイスプレィ(43)
、プリンタ(44)、スキャナー(45)を接続してい
る。更に、上記制御部(41)には、画像データを保存
するための記憶装置であるハードディスク(46)、操
作者かマンセル表色系で色指定などの操作を対話的に行
う為のキーホード(47)、ポインティングデバイス(
48)を接続している。 上記補正回路(42)の内部を第4図に示す。上記補正
回路(42)内部には、XYZ表色系メモリ(421)
があり、これに対し、XYZ表色系からデイスプレィR
GB表色系へ変換、逆変換をするデイスプレィ補正回路
(422)、XYZ表色系からプリンタRGB表色系へ
変換するプリンタ補正回路(423)、スキャナーRG
B表色系からXYZ表色系へ変換するスキャナー補正回
路(424)が接続されていて、入出力装置との色デー
タのやり取りをしている。これら、デイスプレィ補正回
路(422)、プリンタ補正回路(423)、スキャナ
ー補正回路(424)は第1変換手段の例である。 また、XYZ表色系よりマンセル表色系へ変換、逆変換
する第2変換手段としてのマンセル・XYZ変換回路(
425)をxyz表色系メモリ(42I)に接続すると
共に、制御部(41)に接続している。 このカラー画像処理装置を用いて印刷、或は染色用の版
下を作成する場合を説明する。そのフローチャートを第
5図に示す。 版下の原画となるイラスト、写真等をスキャナー(45
)で読み込む。読み込まれた原画は、スキャナーRGB
表色系のデータとなる。これをスキャナー補正回路(4
24)に入力する。スキャナー補正回路(424)では
RGBのデータは各々ルックアップテーブルで変換され
た後に(弐6)のマトリクス演算を介してXYZ表色系
のデータに変換され、xyz表色系メモリ(421)に
記憶される(S61)。更に、このXYZ表色系のデー
タをデイスプレィ補正回路(422)に入力する。デイ
スプレィ補正回路(422)では(式4)のマトリクス
変換とRGB毎のガンマ補正(式5)によりデイスプレ
ィRGB表色系のデータとなる。このデイスプレィRG
B表色系のデータをデイスプレィ(43)に入力するこ
とにより、デイスプレィ(43)に原画と同等の色度を
持った画像が表示される。操作者はデイスプレィ(43
)に表示される画像を見ながら、キーホード(47)と
ポインティングデバイス(48)を使って、対話的に、
画像の合成、色調変更、版わけを行い、操作者の意図と
する画像を作り上げる(S62)。このとき、操作者か
キーボード(47)やポインティングデバイス(48)
で指定するマンセル表色系の色データは、マンセル・X
YZ変換回路(425)に入力される。マンセル・XY
Z変換回路(425)では(式9)により、Yが求めら
れ、さらにルックアップテーブル(JI98727付表
1)を検索し、補間することによりXとZが求められる
。このような対話的な画像処理に於て、従来の相対的な
RGB3バイトによる色指定と比較して、マンセル表色
系等の物理的かつ視覚的に均等な色空間は操作の効率を
向上させる効果が大きい。こうして作られた画像データ
はプリンタ補正回路(423)に入力される。プリンタ
補正回路(423)では、3次元ルックアップテーブル
を補間することにより、プリンタRGB表色系のデータ
に変換され、プリンタ出力される(S63)、したがっ
て、プリントアウトされた画像はデイスプレィで表示さ
れる画像と同等の色度を持ち、操作者は自分の意図する
画像そのままのハードコピーを得ることができる。 上記実施例では、キーボード(47)からマンセル表色
系の色データを入力するようにしたか、XYZ表色系の
色データを入力するようにしてもよい。
Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments. The configuration of the device is shown in Figure 3. A graphic display (43) is connected to the control unit (4I) via a correction circuit (42).
, printer (44), and scanner (45) are connected. Furthermore, the control unit (41) includes a hard disk (46) which is a storage device for storing image data, and a keychain (47) used by the operator to interactively specify colors in the Munsell color system. ),pointing device(
48) is connected. FIG. 4 shows the inside of the correction circuit (42). Inside the correction circuit (42), there is an XYZ color system memory (421).
On the other hand, from the XYZ color system to Display R
A display correction circuit (422) that converts to and from the GB color system, a printer correction circuit (423) that converts from the XYZ color system to the printer RGB color system, and a scanner RG.
A scanner correction circuit (424) for converting from the B color system to the XYZ color system is connected, and exchanges color data with an input/output device. These display correction circuit (422), printer correction circuit (423), and scanner correction circuit (424) are examples of the first conversion means. In addition, a Munsell/XYZ conversion circuit (
425) is connected to the xyz color system memory (42I) and also to the control unit (41). A case will be described in which a printing plate for printing or dyeing is created using this color image processing device. The flowchart is shown in FIG. Scanner (45
). The loaded original image is scanned RGB
This is color system data. This is the scanner correction circuit (4
24). In the scanner correction circuit (424), each of the RGB data is converted using a lookup table, and then converted to data in the XYZ color system through the matrix operation (26), and stored in the xyz color system memory (421). (S61). Furthermore, this XYZ color system data is input to the display correction circuit (422). The display correction circuit (422) converts the data into the display RGB color system by matrix conversion (Equation 4) and gamma correction for each RGB (Equation 5). This display RG
By inputting the data of the B color system to the display (43), an image having the same chromaticity as the original image is displayed on the display (43). The operator uses the display (43
), use the keyboard (47) and pointing device (48) to interactively
The images are combined, the color tone is changed, and the image is separated to create the image that the operator intended (S62). At this time, the operator or keyboard (47) or pointing device (48)
The color data of the Munsell color system specified by is Munsell
It is input to the YZ conversion circuit (425). Munsell XY
In the Z conversion circuit (425), Y is determined by (Equation 9), and X and Z are determined by searching the lookup table (JI98727 Appendix 1) and interpolating. In such interactive image processing, a physically and visually uniform color space such as the Munsell color system improves the efficiency of operation compared to the conventional color specification using relative RGB 3 bytes. Great effect. The image data thus created is input to the printer correction circuit (423). In the printer correction circuit (423), by interpolating the three-dimensional lookup table, the data is converted into printer RGB color system data and output to the printer (S63). Therefore, the printed image is not displayed on the display. It has the same chromaticity as the original image, allowing the operator to obtain a hard copy of the image exactly as he or she intended. In the above embodiment, color data in the Munsell color system is input from the keyboard (47), or color data in the XYZ color system may be input.

【発明の効果】【Effect of the invention】

以上より明らかなように、第1の発明によれば、人力装
置によって、XYZ表色系の色データを直接的あるいは
間接的に指定し、XYZ表色系の色データをメモリに格
納し、このXYZ表色系の色データと入出力装置のRG
B表色系の色データとの間の変換を第1変換手段によっ
て変換するようにしているので、操作者は入出力装置の
色彩特性による色彩の相違について考える必要がなくな
り、簡単かつ正確に所望の色彩を得ることができる。 また、第2の発明によれば、入力装置によってマンセル
表色系の色データを入力し、マンセル表色系の色データ
とXYZ表色系の色データとの間の変換を第2変換手段
によって変換するようにしているので、視覚的に均等な
物体色であるマンセル表色系で、分かりやすく簡単に、
かつ正確に色指定を行なうことができる。 また、第3の発明によれば、複数の入出力装置の異なる
RGB表色系の色データとXYZ表色系の色データとの
間の変換を各々の第1変換手段で行なうようにしている
ので、複数の入出力装置の色彩特性の相違を考慮するこ
となく、簡単かつ正確に色彩を入出力できる。 また、第4の発明によれば、第1変換手段は3次元のル
ックアップテーブルを含むので、正確にデータ処理でき
、かつ、ハードウェアの色彩特性に依存しない汎用的な
構成ができる。
As is clear from the above, according to the first invention, color data in the XYZ color system is specified directly or indirectly by a human-powered device, the color data in the XYZ color system is stored in a memory, and the color data in the XYZ color system is stored in a memory. Color data of XYZ color system and RG of input/output device
Since the first conversion means converts the color data to and from the B color system, the operator does not have to think about the difference in color due to the color characteristics of the input/output device, and can easily and accurately convert the color data to the desired color data. colors can be obtained. According to the second invention, color data in the Munsell color system is inputted by the input device, and the second conversion means converts the color data in the Munsell color system and the color data in the XYZ color system. Since it is converted, it is easy to understand and use the Munsell color system, which is a visually uniform object color.
In addition, colors can be specified accurately. Further, according to the third aspect of the invention, each first conversion means performs conversion between color data in different RGB color systems and color data in an XYZ color system of the plurality of input/output devices. Therefore, colors can be input and output easily and accurately without considering differences in color characteristics of a plurality of input/output devices. Further, according to the fourth invention, since the first conversion means includes a three-dimensional lookup table, it is possible to accurately process data and to have a general-purpose configuration that does not depend on the color characteristics of hardware.

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

第1図は各表色系の関係を示すブロック図、第2図は3
次元のルックアップテーブルを示す斜視図、第3図は本
発明の一実施例のカラー画像処理装置のブロック図、第
4図は補正回路のブロック図、第5図は本発明の画像加
工のフローチャート、第6図は従来の画像加工のフロー
チャートである。 41・・制御部、42・・・補正回路、43 ・デイス
プレィ、44・・・プリンタ、45・・・スキャナー、
46・・ ハードディスク、47・ キーホード、48
・ ポインティングデバイス、421・・XYZ表色系
メモリ422・・ デイスプレィ補正回路、 423・・・プリンタ補正回路、 424・・ スキャナー補正回路、 425・・・マンセル−XYZ変換回路。
Figure 1 is a block diagram showing the relationship between each color system, and Figure 2 is a block diagram showing the relationship between each color system.
FIG. 3 is a block diagram of a color image processing apparatus according to an embodiment of the present invention, FIG. 4 is a block diagram of a correction circuit, and FIG. 5 is a flowchart of image processing according to the present invention. , FIG. 6 is a flowchart of conventional image processing. 41... Control unit, 42... Correction circuit, 43 - Display, 44... Printer, 45... Scanner,
46... Hard disk, 47. Keychain, 48
- Pointing device, 421...XYZ color system memory 422... Display correction circuit, 423... Printer correction circuit, 424... Scanner correction circuit, 425... Munsell-XYZ conversion circuit.

Claims (4)

【特許請求の範囲】[Claims] (1)入力装置と出力装置と制御部を備えて、画像の加
工、色変更を行なうカラー画像処理装置において、 XYZ表色系(CIE)の色データを記憶するメモリと
、 上記メモリのXYZ表色系の色データと入力装置や出力
装置のRGB表色系の色データとの間の変換を行なう第
1変換手段を備え、 上記入力装置は、上記XYZ表色系の色データを直接的
あるいは間接的に特定して入力することが可能になって
いることを特徴とするカラー画像処理装置。
(1) In a color image processing device that is equipped with an input device, an output device, and a control unit and processes images and changes colors, there is a memory that stores color data in the XYZ color system (CIE), and an XYZ table in the memory. The input device includes a first conversion means for converting between the color data of the color system and the color data of the RGB color system of an input device or an output device, and the input device converts the color data of the XYZ color system directly or A color image processing device characterized in that indirect identification and input is possible.
(2)請求項1に記載のカラー画像処理装置において、 上記入力装置は、マンセル表色系の色データが入力され
るようになっており、 上記マンセル表色系の色データを上記メモリに格納する
XYZ表色系の色データに変換する第2変換手段を備え
たことを特徴とするカラー画像処理装置。
(2) The color image processing device according to claim 1, wherein the input device receives color data in the Munsell color system, and stores the color data in the Munsell color system in the memory. A color image processing device comprising a second conversion means for converting into color data of an XYZ color system.
(3)請求項1または2に記載のカラー画像処理装置に
おいて、 上記入力装置および出力装置は、夫々の色彩特性に応じ
た補正が施された異なる複数のRGB表色系の色データ
が夫々入出力されるようになっており、 上記異なる複数のRGB表色系の色データとXYZ表色
系の色データとの間の変換を夫々行なう複数の上記第1
変換手段を備えたことを特徴とするカラー画像処理装置
(3) The color image processing device according to claim 1 or 2, wherein the input device and the output device each input color data of a plurality of different RGB color systems that have been corrected according to their respective color characteristics. The plurality of first color data are outputted, and each of the plurality of first color data converts between the color data of the plurality of different RGB color systems and the color data of the XYZ color system.
A color image processing device comprising a conversion means.
(4)請求項1乃至3のいずれかに記載のカラー画像処
理装置において、 上記第1変換手段は、RGBの色データとXY2の色デ
ータとを対応付けた3次元ルックアップテーブルを含む
ことを特徴とするカラー画像処理装置。
(4) The color image processing device according to any one of claims 1 to 3, wherein the first conversion means includes a three-dimensional lookup table that associates RGB color data with XY2 color data. Characteristic color image processing device.
JP2173822A 1990-06-29 1990-06-29 Color picture processor Pending JPH0462684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2173822A JPH0462684A (en) 1990-06-29 1990-06-29 Color picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2173822A JPH0462684A (en) 1990-06-29 1990-06-29 Color picture processor

Publications (1)

Publication Number Publication Date
JPH0462684A true JPH0462684A (en) 1992-02-27

Family

ID=15967795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2173822A Pending JPH0462684A (en) 1990-06-29 1990-06-29 Color picture processor

Country Status (1)

Country Link
JP (1) JPH0462684A (en)

Similar Documents

Publication Publication Date Title
US5553199A (en) Method and apparatus for calibrating a four color printer
US7385739B2 (en) Image processing method and apparatus for color conversion accommodating device non-linearity
US6956580B2 (en) Color display device with integrated color matching processor
US5579031A (en) Color matching method and apparatus
US6421142B1 (en) Out-of-gamut color mapping strategy
US7061505B2 (en) Image processing device, image processing system, output device, computer readable recording medium and image processing method
US5481655A (en) System for matching a picture on a monitor to a printed picture
US6611621B2 (en) Image processing method and apparatus, and recording medium
US6897988B1 (en) Image processing apparatus, image processing method, and storage medium for color matching
JPH05199410A (en) Color processing method
US7180632B2 (en) Image processing device, image processing method, and record medium
US8411936B2 (en) Apparatus and method for color reproduction
JP2005506723A (en) Correction techniques for soft proofing
US20030035157A1 (en) Image processing apparatus, image processing method and storage medium
US20060001892A1 (en) Image processing method and image processing device
US6151135A (en) Method and apparatus for color reproduction
EP0704130B1 (en) Color matching system
JPH1175072A (en) Image output method and system
JPH0787345A (en) Method and device for matching color
JPH1117968A (en) Color conversion method of image
Fleming et al. Color management and ICC profiles; can’t live without it so learn to live with it!
JPH1141478A (en) Method and device for processing image and recording medium
JPH0462684A (en) Color picture processor
JPH056427A (en) Color image processor
Park et al. Color Reproduction Using “Black-Point Adaptation”