JPH05292303A - Color picture printer - Google Patents

Color picture printer

Info

Publication number
JPH05292303A
JPH05292303A JP4088580A JP8858092A JPH05292303A JP H05292303 A JPH05292303 A JP H05292303A JP 4088580 A JP4088580 A JP 4088580A JP 8858092 A JP8858092 A JP 8858092A JP H05292303 A JPH05292303 A JP H05292303A
Authority
JP
Japan
Prior art keywords
data
color
vhc
rgb
saturation
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
JP4088580A
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 JP4088580A priority Critical patent/JPH05292303A/en
Publication of JPH05292303A publication Critical patent/JPH05292303A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE:To attain the print of color reproduction with high precision and to adjust color by blightness, hue and saturation by converting the hue and saturation adjusted based on a lookup table into the hue and saturation on an orthogonal coordinate, adding the blightness to them and applying Y, M, C conversion to the result. CONSTITUTION:A standardizing circuit 1 converts picture data into R, G, B data in compliance with standards. In order to express picture data on the Munsell system based on the R, G, B system, an RGB-VHC conversion circuit 2 converts the RGB data into VHC data. The blightness and the contrast are adjusted by using a V adjustment LUT 3 to make compression/expansion based on a range of the blightness of a printer from the blightness of input picture data, the hue is adjusted based on an H adjustment LUT 4, the saturation is adjusted by a C adjustment LUT 5, the VHC data are converted into signals S1, S2 by the H, C adjustment LUT 4, 5, and the VHC data are mapped into YMC data via an S1, S2-YMC conversion circuit 7 together with an output V of the V adjustment LUT 3. Thus, the YMC data with respect to the object VHC data are outputted with high precision and then the color displayed on a display device is printed out with high accuracy.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カラー画像印刷装置に
係り、特に、ユーザが調整しやすい明度,色相,彩度で
色調整して印刷するカラー画像印刷装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image printing apparatus, and more particularly, to a color image printing apparatus for performing color adjustment with lightness, hue and saturation which a user can easily adjust.

【0002】[0002]

【従来の技術】従来より知られているこの種のカラー画
像印刷方法及び装置には、特開平1−234251号公報や特
開平1−234252号公報に示されたものがある。特開平1−
234251号公報に提示された色補正方法は、R,G,Bで
形成される色空間を複数に分け、それぞれの分割点に対
して、最も再現性の良い、Y,M,Cインク量をルック
アップテーブルに格納しておき、分割点以外の中間値は
線形補間により求めるようにしている。色調整は、分割
点に対応する値を変更することにより行う。また、特開
平1−234252 号公報に提示された色補正方法及び装置
は、入力データを濃度データY,M,Cに変換し、Y,
M,Cの最大値,中間値,最小値を求め、最小値から無
彩色成分であるBkと、中間値から最小値を引いて2色
のインクを重ねた色であるR,G,Bと、最大値から中
間値を引いた単色のY,M,Cとに成分分けし、各成分
をルックアップテーブルにより調整した後、合成するよ
うにしている。
2. Description of the Related Art Conventionally known color image printing methods and apparatuses of this type include those disclosed in JP-A-1-234251 and JP-A-1-234252. JP-A-1-
The color correction method presented in Japanese Patent No. 234251 divides a color space formed by R, G, and B into a plurality of colors, and determines the Y, M, and C ink amounts having the best reproducibility for each division point. It is stored in a look-up table, and the intermediate values other than the division points are obtained by linear interpolation. Color adjustment is performed by changing the value corresponding to the division point. Further, the color correction method and apparatus presented in JP-A-1-234252 convert the input data into density data Y, M, C, and
The maximum value, the intermediate value, and the minimum value of M and C are obtained, and Bk, which is an achromatic color component, is subtracted from the minimum value, and R, G, and B, which are the colors obtained by subtracting the minimum value from the intermediate value and overlapping two color inks. , A single color Y, M, and C obtained by subtracting the intermediate value from the maximum value, each component is adjusted by a look-up table, and then combined.

【0003】[0003]

【発明が解決しようとする課題】しかし、特開平1−234
251 号公報で開示された技術では、本来調整したい色の
三属性(明るさあるいは明度,色合いあるいは色相,あ
ざやかさあるいは彩度)を調整するために、対応するR
GBデータをどの方向にどれだけ変えればよいか定式が
なく、煩雑な設定作業をこなさなければ行えない。ま
た、特開平1−234252号公報で開示された技術では、色
合いや彩度を調整する定式がなく、それぞれの調整量の
設定が煩雑である。
[Patent Document 1] Japanese Patent Laid-Open No. 1-234
In the technology disclosed in Japanese Patent No. 251, the corresponding R is adjusted in order to adjust the three attributes of the color to be originally adjusted (brightness or lightness, hue or hue, vividness or saturation).
There is no formula for changing the GB data in what direction, and it cannot be done unless complicated setting work is performed. Further, in the technique disclosed in Japanese Patent Application Laid-Open No. 1-234252, there is no formula for adjusting the hue and saturation, and setting of each adjustment amount is complicated.

【0004】本発明の目的は、高精度の色再現印刷とユ
ーザが調整しやすい色の3属性パラメータ(明度V,色
相H,彩度C)で簡単に調整できるカラー画像印刷装置
を提供することにある。
It is an object of the present invention to provide a color image printing apparatus capable of highly accurate color reproduction printing and easy adjustment by three attribute parameters (lightness V, hue H, saturation C) of a color which a user can easily adjust. It is in.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、カラースキャナもしくはカラーカメラ等
から取り込まれたRGB画像データまたはコンピュータ
からのRGB画像データを入力し、これらの画像データ
を補正処理した後に印刷するカラー画像印刷装置におい
て、入力したRGB画像データを一定の規格に従うカラ
ー画像データに変換する手段と、前記変換された画像デ
ータを明度V,色相H,彩度Cの色データに変換する手
段と、これら明度V,色相H,彩度Cを、種々の変換カ
ーブが格納され、あらかじめパネルあるいはコンピュー
タからの指示データにより変換カーブが選択されている
ルックアップテーブルにより調整する手段と、調整され
た色相H,彩度Cを直行座標系の二つのパラメータS
1,S2に変換する手段と、V,S1,S2をY,M,
Cに変換し、印刷するカラー画像印刷装置を提供するも
のである。
In order to achieve the above object, the present invention inputs RGB image data captured from a color scanner, a color camera or the like or RGB image data from a computer and outputs these image data. In a color image printing apparatus for printing after correction processing, a unit for converting input RGB image data into color image data conforming to a certain standard, and color data of the converted image data having lightness V, hue H, and saturation C. And a means for adjusting the lightness V, hue H, and saturation C by a look-up table in which various conversion curves are stored and which are selected in advance by instruction data from a panel or a computer. , The adjusted hue H and the saturation C are two parameters S of the orthogonal coordinate system.
1, S2 conversion means, V, S1, S2 Y, M,
A color image printing apparatus for converting into C and printing is provided.

【0006】なお、V,S1,S2−YMC変換は非線
形なので、変換は演算以外にマッピング手法を用いても
よい。
Since the V, S1, S2-YMC conversion is non-linear, the conversion may use a mapping method other than the calculation.

【0007】[0007]

【作用】ディスプレイ規格には、NTSC規格やHDT
V規格、それにパソコンなどに使われているCRTなど
の規格を少し変更したものなどがあり、それらから発生
するRGB信号あるいはRGBデータは、同じ表示色で
もそれぞれ異なったものであるので、プリンタ側では、
標準のRGBを決めそれに合わせるように入力画像デー
タを変換する。さらにこのRGB画像データをCIE
(Commission Internationale de l'Eclairange)
規格のXYZ色度座標値に変換しておいてもよい。XY
Z色度座標は、色を定量的に表す標準座標である。変換
された画像データは、調整しやすい色の3属性と言われ
る明度V,色相H,彩度Cに変換する。この変換は非線
形であり、その方法は、演算回路を用いるか、代表点を
決めてマッピングし、代表点以外は補間して求めるマッ
ピング回路を用いる。マッピング法を用いる場合は、直
交座標系同士で行う方が精度がよいので、直交,標系で
あるRGBから直交座標系であるV,S1,S2にマッ
ピングする。そして、S1,S2から色相Hと彩度Cに
変換する。V,H,Cを調整する手段は、いくつかの変
換カーブを格納したルックアップテーブルを用意してお
き、予め変換カーブを選択しておく。このカーブにより
V,H,Cは調整される。例えば、V調整カーブには、
入力画像データの明度がプリンタの明度表現範囲より大
きい場合、明度圧縮を行い、入力画像データの明度が小
さい場合に明度を伸長し、そのほかコントラスト,明る
さを調整するカーブなどがある。次に、調整されたVH
Cデータを、印刷データY,M,Cに変換しなければ行
けないが、VHCとYMCは、非線形の関係であり、V
HCからYMCを求めるには収束計算を伴う。そこで、
VHCを直交座標値であるV,S1,S2に変換し、す
べてのV,S1,S2で作られる色空間を複数の領域に
分割し、これら分割点に対応するY,M,Cの値を実験
的にあるいはプリンタの色再現モデルを用いて求め対応
させる。分割点以外は、補間計算により求める。なお、
対応するYMC点がない場合、最も色差の小さいYMC
点を対応させる。
[Function] Display standards include NTSC standard and HDT
There are some standards such as V standard and CRT used in personal computers, etc., which are slightly changed, and the RGB signals or RGB data generated from them are different even for the same display color, so on the printer side ,
Standard RGB is determined and the input image data is converted to match it. Furthermore, this RGB image data is CIE
(Commission Internationale de l'Eclairange)
It may be converted into standard XYZ chromaticity coordinate values. XY
The Z chromaticity coordinate is a standard coordinate that quantitatively represents a color. The converted image data is converted into lightness V, hue H, and saturation C, which are said to be three attributes of a color that are easy to adjust. This conversion is non-linear, and the method uses an arithmetic circuit or a mapping circuit that determines and maps a representative point and interpolates other than the representative point. When the mapping method is used, since it is more accurate to perform it between orthogonal coordinate systems, the mapping is performed from RGB which is an orthogonal coordinate system to V, S1 and S2 which are orthogonal coordinate systems. Then, S1 and S2 are converted into hue H and saturation C. As a means for adjusting V, H, and C, a look-up table storing some conversion curves is prepared and the conversion curve is selected in advance. V, H and C are adjusted by this curve. For example, in the V adjustment curve,
When the brightness of the input image data is larger than the brightness expression range of the printer, the brightness is compressed. When the brightness of the input image data is small, the brightness is extended, and there are curves for adjusting contrast and brightness. Next, the adjusted VH
This cannot be done without converting the C data into the print data Y, M, C, but VHC and YMC have a non-linear relationship, and
Convergence calculation is involved in obtaining YMC from HC. Therefore,
VHC is converted into orthogonal coordinate values V, S1, S2, the color space created by all V, S1, S2 is divided into a plurality of regions, and the values of Y, M, C corresponding to these division points are set. It is determined experimentally or by using a color reproduction model of the printer and corresponding. Except for the division points, they are obtained by interpolation calculation. In addition,
YMC with the smallest color difference when there is no corresponding YMC point
Match the points.

【0008】[0008]

【実施例】次に、図面を参照して、本発明の実施例を詳
細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0009】図1は、本発明による実施例のカラー画像
処理装置のブロック図である。図において、標準化回路
1は、ビデオカメラやカラースキャナの出力信号や、コ
ンピュータ出力の画像データを一定の規格(例えば、N
TSC方式)に従うR,G,Bデータに変換する。一般
に、ビデオカメラやコンピュータからの出力データに
は、図2に示すようなビデオガンマと言われる変換カー
ブが掛かっており、NTSCRGB 規格のRGBデータにする
ために、標準化回路1で図2に示すような逆ビデオガン
マ補正を行う。また、NTSC以外のRGBデータは、
マトリクス変換によりNTSC規格のRGBに変換す
る。これにより後の処理が、NTSCRGB データに対しての
み対応すれば良い。
FIG. 1 is a block diagram of a color image processing apparatus according to an embodiment of the present invention. In the figure, a standardization circuit 1 defines output signals from a video camera or a color scanner and image data output from a computer to a certain standard (for example, N.
It is converted into R, G, B data according to the TSC method). In general, output data from a video camera or a computer is subjected to a conversion curve called video gamma as shown in FIG. 2, and in order to obtain RGB data of NTSCRGB standard, a standardization circuit 1 is used as shown in FIG. Performs inverse video gamma correction. In addition, RGB data other than NTSC is
Convert to RGB of NTSC standard by matrix conversion. As a result, the subsequent process only needs to support NTSC RGB data.

【0010】RGB−VHC変換回路2は、RGB色空
間から人間の知覚空間であるマンセル色空間(明度V,
色合いH,彩度Cで色を表す円柱座標系である。)上で
画像データを表すために、RGB画像データをVHCに
変換する。RGBからVHCに変換する方法は、MTM
法が知られ、以下の手順で変換される。
The RGB-VHC conversion circuit 2 converts the RGB color space into a Munsell color space (lightness V,
It is a cylindrical coordinate system that represents a color with a hue H and a saturation C. ) Convert RGB image data to VHC to represent the image data above. The method to convert from RGB to VHC is MTM
The law is known and converted by the following procedure.

【0011】(1)RGBデータをXYZ色空間におけ
る色度座標値XYZに変換する。
(1) The RGB data is converted into chromaticity coordinate values XYZ in the XYZ color space.

【0012】[0012]

【数1】 [Equation 1]

【0013】(2)X,Y,Zから人間の色知覚の特性
を考慮して非線形変換を行う。
(2) Non-linear conversion is performed from X, Y and Z in consideration of the characteristics of human color perception.

【0014】[0014]

【数2】 [Equation 2]

【0015】(3)H1,H2,H3を(M1,M2,
V)に変換する。
(3) H1, H2, and H3 are replaced by (M1, M2,
V).

【0016】[0016]

【数3】 [Equation 3]

【0017】(4)M1,M2を用いて色平面S1,S
2を次式で計算する。
(4) Color planes S1 and S using M1 and M2
2 is calculated by the following formula.

【0018】[0018]

【数4】 [Equation 4]

【0019】(5)S1,S2を用いてH,V,Cデー
タへの変換を行う。
(5) Conversion to H, V, C data is performed using S1 and S2.

【0020】[0020]

【数5】 [Equation 5]

【0021】以上によりRGBからVHCへの変換がな
される。
As described above, the conversion from RGB to VHC is performed.

【0022】V調整LUT3は、入力画像データの明度
が、プリンタの明度表現範囲より大きい場合、明度圧縮
を行い、入力画像データの明度表現範囲が小さい場合、
明度を伸長し、そのほかコントラストや明るさを調整す
る機能を持つ。変換カーブは、図3に示すようなものが
あり、は明度圧縮の変換をし、は明度伸長の変換を
する。はコントラストを強調するもので、は中間調
を強調する。は全体的に明るくするカーブであり、
は全体的に暗くするカーブである。これらのカーブはユ
ーザにより図示されていないパネルあるいはキーボード
から選択される。
The V adjustment LUT 3 performs lightness compression when the lightness of the input image data is larger than the lightness expression range of the printer, and when the lightness expression range of the input image data is small,
It has the function of extending brightness and adjusting contrast and brightness. There is a conversion curve as shown in FIG. 3, in which lightness compression conversion is performed, and lightness extension conversion is performed. Emphasizes contrast, and emphasizes halftones. Is a curve that brightens overall,
Is an overall darkening curve. These curves are selected by the user from a panel or keyboard not shown.

【0023】H調整LUT4は、色々な色調調整ができ
るが、たとえば、図4に示すように、のカーブは赤系
の色を黄色系の色に変換するものであり、のカーブは
青系の色をシアン系の色に変換するものである。のカ
ーブは特定の色を違う色に変換するカラーアサインの機
能である。このようにH調整回路5は、入力画像データ
の特定の色域の色合いを調整することができる。
The H adjustment LUT 4 can perform various color tone adjustments. For example, as shown in FIG. 4, the curve of is for converting a red color to a yellow color, and the curve of is a blue color. The color is converted to a cyan color. The curve of is a function of color assignment that converts a specific color to a different color. In this way, the H adjustment circuit 5 can adjust the hue of the specific color gamut of the input image data.

【0024】C調整LUT5は、主に入力画像の彩度が
低い場合に彩度伸長を行う。変換カーブは図5に示すよ
うなものがあり、は入力画像データの彩度が低い場合
に彩度伸長を行い、は彩度を落とすカーブである。
The C adjustment LUT 5 mainly performs saturation expansion when the saturation of the input image is low. There is a conversion curve as shown in FIG. 5, where is a curve for expanding the saturation when the saturation of the input image data is low, and is a curve for decreasing the saturation.

【0025】次に、調整されたVHCデータを、印刷デ
ータY,M,Cに変換しなければいけないが、VHCと
YMCは非線形の関係であり、VHCからYMCを求め
るには収束計算を伴う。そこで、VHCを直交座標値で
あるV,S1,S2に変換し、YMCにマッピングす
る。ここでVHCをV,S1,S2に変換する理由は、
円柱座標系のVHCから直交座標系のYMCへマッピン
グするより、直交座標系であるV,S1,S2から同じ
直交座標系であるYMCへマッピングした方がマッピン
グ精度がよいためである。
Next, the adjusted VHC data must be converted into print data Y, M, C, but VHC and YMC have a non-linear relationship, and convergence calculation is required to obtain YMC from VHC. Therefore, VHC is converted into rectangular coordinate values V, S1, and S2, and mapped to YMC. Here, the reason for converting VHC into V, S1, S2 is
This is because mapping accuracy is better when mapping from the orthogonal coordinate system V, S1, S2 to YMC which is the same orthogonal coordinate system than when mapping from VHC of the cylindrical coordinate system to YMC of the orthogonal coordinate system.

【0026】HC−S1,S2変換回路6は次式にした
がってHCをS1,S2に変換する。
The HC-S1, S2 conversion circuit 6 converts HC into S1, S2 according to the following equation.

【0027】[0027]

【数6】 [Equation 6]

【0028】なお、この変換式をすべてのHCについて
計算した結果をLUTに格納し、ルックアップテーブル
式で行ってもよい。
The result of calculating this conversion formula for all HCs may be stored in the LUT and may be calculated by a lookup table formula.

【0029】V,S1,S2−YMC変換回路7は、
V,S1,S2をYMCにマッピングする。これはすべ
てのV,S1,S2で作られる色空間を複数の領域に分
割し、これら分割点に対応するY,M,Cの値を実験的
にあるいはプリンタの色再現モデルを用いて求め対応さ
せる。分割点以外は補間計算により求める。補間計算が
粗い場合は、色再現モデルを用いてさらに分割点を増や
せばよい。なお、対応するYMC点がない場合、最も色
差の小さいYMC点を対応させる。このマッピング法に
よれば、高精度な色補正が可能である。
The V, S1, S2-YMC conversion circuit 7 has
V, S1, S2 are mapped to YMC. This is to divide the color space created by all V, S1, S2 into a plurality of areas, and obtain the Y, M, C values corresponding to these division points experimentally or by using the color reproduction model of the printer. Let Except for the division points, they are obtained by interpolation calculation. If the interpolation calculation is rough, the color reproduction model may be used to further increase the number of division points. If there is no corresponding YMC point, the YMC point with the smallest color difference is associated. According to this mapping method, highly accurate color correction is possible.

【0030】マッピング法についてさらに詳しく説明す
る。図6は、V,S1,S2色空間を等分割に複数の領
域に分けた様子と、それぞれの分割点に対応したYMC
値の格子点の様子を示す。なお、V,S1,S2色空間
上のディスプレイの表現できる領域は、斜線で示すよう
な卵形をしている。図7は1組の分割ブロックを示して
おり、V,S1,S2色空間の八つの分割点と対応する
YMC色空間の八つの格子点を示す。ブロック内の任意
の色データV,S1,S2に対応するYMCは、次式に
したがって求められる。
The mapping method will be described in more detail. FIG. 6 shows a state in which the V, S1, S2 color space is divided into a plurality of areas in equal divisions, and the YMC corresponding to each division point.
The state of grid points of values is shown. The displayable area on the V, S1, S2 color space has an oval shape as indicated by the diagonal lines. FIG. 7 shows one set of divided blocks, and shows eight lattice points in the Y, M, and C color spaces corresponding to eight divided points in the V, S1, and S2 color spaces. YMC corresponding to arbitrary color data V, S1, S2 in the block is obtained according to the following equation.

【0031】[0031]

【数7】 [Equation 7]

【0032】これらの式により、V,S1,S2はYM
Cに変換されるが、ルックアップテーブルを用いてマッ
ピングしてもよい。
From these equations, V, S1 and S2 are YM
It is converted to C, but may be mapped using a lookup table.

【0033】図8は、V,S1,S2からYMCへルッ
クアップテーブル式でマッピングする回路のブロック図
である。V,S1,S2色空間は、Vの上位6ビット
と、S1,S2の上位4ビットの組合わせで64×16
×16のブロックに等分割される。
FIG. 8 is a block diagram of a circuit for mapping from V, S1, S2 to YMC by a look-up table method. The V, S1, S2 color space is a combination of the high-order 6 bits of V and the high-order 4 bits of S1, S2 of 64 × 16.
It is equally divided into × 16 blocks.

【0034】まず、出力値選択データにより、LUTa
8,LUTb9,LUTc10の出力をYにセットす
る。LUTa8には数7でVに関する項を計算した結果
がVの上位6ビット,S1,S2の上位4ビットの組合
わせで指定されるブロック毎に格納されている。同様に
LUTb9には数7でS1に関する項を計算した結果が
Vの上位6ビット,S1,S2の上位4ビットの組合わ
せで指定されるブロック毎に格納されている。また、同
様にLUTc10には数7でS2に関する項を計算した
結果がVの上位6ビット,S1,S2の上位4ビットの
組合わせで指定されるブロック毎に格納されている。入
力画像データのV,S1,S2がLUTをアドレスする
とLUTa8,LUTb9,LUTc10からVの項,
S1の項,S2の項の計算結果が出力され、加算器11
で加算されYを出力する。
First, according to the output value selection data, LUTa
8, the outputs of LUTb9 and LUTc10 are set to Y. In the LUTa 8, the result of calculating the term relating to V by the expression 7 is stored for each block designated by a combination of the upper 6 bits of V and the upper 4 bits of S1 and S2. Similarly, in LUTb9, the result of calculating the term relating to S1 in Equation 7 is stored for each block designated by a combination of the upper 6 bits of V and the upper 4 bits of S1 and S2. Similarly, in the LUTc 10, the result of calculating the term relating to S2 in Equation 7 is stored for each block designated by a combination of the upper 6 bits of V and the upper 4 bits of S1 and S2. When V, S1, and S2 of the input image data address the LUT, LUTa8, LUTb9, and LUTc10 to V terms,
The calculation results of the terms S1 and S2 are output, and the adder 11
Is added and output Y.

【0035】次に出力値選択データによりLUTa8,
LUTb9,LUTc10の出力をMにセットする。Yの動作
と同様に入力画像データのV,S1,S2によりLUT
a8,LUTb9,LUTc10からMに関するVの
項,S1の項,S2の項の計算結果が出力され、加算器
11で加算されMを出力する。
Next, according to the output value selection data, LUTa8,
The outputs of LUTb9 and LUTc10 are set to M. Similar to the Y operation, the LUT is set by V, S1, and S2 of the input image data.
The calculation results of the V term, the S1 term, and the S2 term related to M are output from a8, LUTb9, and LUTc10, and added by the adder 11 to output M.

【0036】最後に出力値選択データによりLUTa
8,LUTb9,LUTc10の出力をCにセットする。上記
と同様に入力画像データのV,S1,S2によりLUTa
8,LUTb9,LUTc10からCに関するVの項,S1の
項,S2の項の計算結果が出力され、加算器11で加算
されCを出力する。ルックアップテーブル方式は、変換
処理を高速に行ってくれる。また、他のマッピング回路
の構成を図9に示す。これは定数項と積算項を分けて計
算しておくものである。数7を変形して以下のようにす
る。
Finally, by the output value selection data, LUTa
8. Set the outputs of LUTb9 and LUTc10 to C. In the same manner as above, the LUTa is changed by V, S1, and S2 of the input image data
The calculation results of the V term, the S1 term, and the S2 term related to C are output from 8, LUTb9, and LUTc10, and added by the adder 11 to output C. The look-up table method performs the conversion process at high speed. The configuration of another mapping circuit is shown in FIG. This is to calculate the constant term and the integration term separately. Equation 7 is transformed into the following.

【0037】[0037]

【数8】 [Equation 8]

【0038】である。M,Cも上式と同様に定数項と積
算項に分けて計算する。例えばYを計算する動作を説明
する。出力選択信号をYとし、入力選択信号をVとする
と、LUTd12からはA項が出力される。また、LUTe1
3からはB項が出力される。出力されたB項は入力選択
信号の指示によりセレクタ14から出力されたVと乗算
器15により乗算し、加算器16で、この乗算結果とL
UTd12からの出力とが加算される。加算器16から
の出力は、ラッチ17によりラッチされる。次に、入力
選択信号がS1となり上記と同様にC+D・S1が加算
され、最後に入力選択信号がS2となり、E+F・S2
が加算される。
[0038] Similarly to the above equation, M and C are also calculated separately for the constant term and the integration term. For example, the operation of calculating Y will be described. When the output selection signal is Y and the input selection signal is V, the A term is output from the LUTd 12. Also, LUTe1
From B, the B term is output. The outputted B term is multiplied by V outputted from the selector 14 by the multiplier 15 in accordance with the instruction of the input selection signal, and the multiplication result and L by the adder 16.
The output from the UTd 12 is added. The output from the adder 16 is latched by the latch 17. Next, the input selection signal becomes S1, C + D.S1 is added in the same manner as above, and finally the input selection signal becomes S2, E + F.S2
Is added.

【0039】以上により目標のVHCに対するYMCを
高精度に出力することができる。
As described above, YMC for the target VHC can be output with high accuracy.

【0040】本実施例によれば、ディスプレイに表示さ
れている色を高精度な色再現で印刷でき、明るさ,色合
い,あざやかさのパラメータで色を簡単に調整できる。
According to the present embodiment, the color displayed on the display can be printed with high precision color reproduction, and the color can be easily adjusted by the parameters of brightness, hue and vividness.

【0041】図10,図11は、他の実施例の説明図で
あり、RGBからマッピング法によりV,S1,S2に
変換する。図10は、RGB色空間を等分割に複数の領
域に分けた様子と、RGB色空間のそれぞれの分割点に
対応したV,S1,S2値の格子点の様子を示す。RG
B色空間の分割点とV,S1,S2色空間の格子点は1
対1で対応する。図11は1組の分割ブロックを示して
おり、RGB色空間の八つの分割点と対応するV,S
1,S2色空間の八つの格子点を示す。ブロック内の任
意の色データRGBに対応するV,S1,S2は、数8
にしたがって求められる。
FIGS. 10 and 11 are explanatory views of another embodiment, in which RGB is converted into V, S1 and S2 by a mapping method. FIG. 10 shows a state in which the RGB color space is equally divided into a plurality of regions, and a state of grid points of V, S1, and S2 values corresponding to respective division points in the RGB color space. RG
The division point in the B color space and the grid point in the V, S1, S2 color space are 1
Correspond with one to one. FIG. 11 shows one set of divided blocks, and V and S corresponding to eight divided points in the RGB color space.
Eight grid points in the 1, S2 color space are shown. V, S1, S2 corresponding to arbitrary color data RGB in the block is expressed by
Is required according to.

【0042】ここで、(R1,G1,B1),(R2,G2
2)は分割ブロックの初期点と最終点の座標値を示
し、(V111,S1111,S2111)〜(V222,S1222
S2222)は対応する格子点の座標値を示す。図12
は、RGBからV,S1,S2へマッピングする回路の
ブロック図である。入力データRGBがそれぞれ8ビッ
トのデータであるとすると、それぞれの上位4ビットの
組合わせで、RGB色空間は16×16×16のブロッ
クに等分割される。一つの分割ブロックの初期点と最終
点はRGB上位4ビットデータにより指定され、RGB
の下位4ビットで分割点(R1,G1,B1)からのR
GBの距離を指定する。
Here, (R 1 , G 1 , B 1 ), (R 2 , G 2 ,
B 2 ) indicates the coordinate values of the initial point and the final point of the divided block, and (V 111 , S1 111 , S2 111 ) to (V 222 , S1 222 ,
S2 222 ) indicates the coordinate value of the corresponding grid point. 12
FIG. 4 is a block diagram of a circuit for mapping RGB to V, S1, S2. If each of the input data RGB is 8-bit data, the RGB color space is equally divided into blocks of 16 × 16 × 16 by a combination of respective upper 4 bits. The initial point and the final point of one divided block are designated by RGB upper 4-bit data,
R from the dividing point (R1, G1, B1) in the lower 4 bits of
Specify the GB distance.

【0043】出力のV,S1,S2は、それぞれ10,
8,8ビットとする。Vは明るさ情報であり、人間の識
別能力が高いため8ビットでは精度が低い。10ビット
程度あればよい。
The outputs V, S1, and S2 are 10, and
8 and 8 bits. V is brightness information, and the accuracy is low with 8 bits because it has high human identification ability. About 10 bits is enough.

【0044】まず、出力値選択データにより、LUTf18,
LUTg19,LUTh20の出力をVにセットする。LUTf18には数
9でRに関する項を計算した結果がR,G,B上位4ビ
ットで指定されるブロック毎に格納されている。同様に
LUTg19には数9でGに関する項を計算した結果がR,
G,B上位4ビットで指定されるブロック毎に格納され
ている。
First, according to the output value selection data, LUTf18,
The outputs of LUTg19 and LUTh20 are set to V. In the LUTf 18, the result of calculating the term relating to R by the equation 9 is stored for each block designated by the upper 4 bits of R, G, B. As well
In LUTg19, the result of calculating the term related to G in Equation 9 is R,
It is stored for each block designated by the upper 4 bits of G and B.

【0045】[0045]

【数9】 [Equation 9]

【0046】また、同様にLUTh20には数9でBに関する
項を計算した結果がR,G,B上位4ビットで指定され
るブロック毎に格納されている。入力画像データのRG
BによりLUTf18,LUTg19,LUTh20からRの項,Gの項,
Bの項の計算結果が出力され、加算器21で加算されV
を出力する。
Similarly, in the LUTh20, the result of calculating the term relating to B by the equation 9 is stored for each block designated by the upper 4 bits of R, G, B. RG of input image data
From B, LUTf18, LUTg19, LUTh20 to R term, G term,
The calculation result of the term B is output and added by the adder 21 to obtain V
Is output.

【0047】次に出力値選択データによりLUTf18,LUTg
19,LUTh20の出力をHにセットする。Yの動作と同様に
入力画像データのRGBによりLUTf18,LUTg19,LUTh20
からRの項,Gの項,Bの項の計算結果が出力され、加
算器21で加算されHを出力する。
Next, according to the output value selection data, LUTf18, LUTg
19. Set the output of LUTh20 to H. LUTf18, LUTg19, LUTh20 depending on the RGB of the input image data as in the Y operation.
To R, G, and B calculation results are output and added by the adder 21 to output H.

【0048】最後に、出力値選択データによりLUTf18,
LUTg19,LUTh20の出力をCにセットする。上記と同様に
入力画像データのRGBによりLUTf18,LUTg19,LUTh20
からRの項,Gの項,Bの項の計算結果が出力され、加
算器21で加算されCを出力する。
Finally, according to the output value selection data, LUTf18,
The outputs of LUTg19 and LUTh20 are set to C. Similar to the above, LUTf18, LUTg19, LUTh20 depending on RGB of input image data
To R, G, and B are calculated, and added by adder 21 to output C.

【0049】なお、数1によりRGBからXYZを求め
ておき、XYZからV,S1,S2へ上記のようにマッ
ピングしてもよい。
It is also possible to obtain XYZ from RGB by the equation 1 and perform mapping from XYZ to V, S1 and S2 as described above.

【0050】V,S1,S2からVHCへの変換は、直
交座標系から円柱座標系への変換であり、変換式を以下
に示す。
The conversion from V, S1, S2 to VHC is a conversion from a rectangular coordinate system to a cylindrical coordinate system, and the conversion formula is shown below.

【0051】この変換式をすべてのHCについて計算し
た結果をLUTに格納し、ルックアップテーブル式で行
ってもよい。
It is also possible to store the result of calculation of this conversion formula for all HCs in the LUT and use a look-up table formula.

【0052】本実施例によれば、簡単な構成でRGBか
らVHCに変換することができる。
According to this embodiment, RGB can be converted into VHC with a simple structure.

【0053】図13は、本発明による他の実施例のカラ
ー画像処理装置のブロック図である。特性値発生回路2
2は、パネルあるいはコンピュータからディスプレイの
種類を指示することにより、ディスプレイのガンマ値と
RGBからCIE規格のXYZに変換するマトリクス係数
を発生する回路である。
FIG. 13 is a block diagram of a color image processing apparatus of another embodiment according to the present invention. Characteristic value generation circuit 2
A circuit 2 generates a gamma value of the display and a matrix coefficient for converting from RGB to XYZ of the CIE standard by instructing a display type from a panel or a computer.

【0054】ガンマ補正回路23は、これら出力により
RGBデータのビデオガンマを補正する。RGB−XY
Z変換回路24は、RGBをXYZへ線形変換する。こ
のXYZは、ディスプレイ上に表示されている色の3刺
激値であり、これを目標色としてプリンタの色補正値を
決める。これにより、プリンタの色補正は、入力画像デ
ータの特性によらず、プリンタの特性のみを補正すれば
良い。XYZ−VHC変換回路25は、RGB−VHC変
換回路2と同様な動作をする。
The gamma correction circuit 23 corrects the video gamma of RGB data by these outputs. RGB-XY
The Z conversion circuit 24 linearly converts RGB into XYZ. This XYZ is the tristimulus value of the color displayed on the display, and the color correction value of the printer is determined with this as the target color. As a result, the color correction of the printer only needs to correct the characteristics of the printer regardless of the characteristics of the input image data. The XYZ-VHC conversion circuit 25 operates similarly to the RGB-VHC conversion circuit 2.

【0055】本実施例によれば、ディスプレイの特性に
よらないXYZ表色系の色度座標値に対して、唯一の高
精度に色補正されたプリンタを提供できる。
According to the present embodiment, it is possible to provide the only printer that is highly accurately color-corrected with respect to the chromaticity coordinate values of the XYZ color system that do not depend on the characteristics of the display.

【0056】[0056]

【発明の効果】本発明によれば、ディスプレイに表示さ
れている色を高精度な色再現で印刷できると共に、明る
さ,色合い,あざやかさのパラメータで色を簡単に調整
できる。
According to the present invention, the color displayed on the display can be printed with high precision color reproduction, and the color can be easily adjusted by the parameters of brightness, hue and vividness.

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

【図1】本発明の実施例であるカラー画像印刷装置のブ
ロック図。
FIG. 1 is a block diagram of a color image printing apparatus that is an embodiment of the present invention.

【図2】ビデオガンマカーブの説明図。FIG. 2 is an explanatory diagram of a video gamma curve.

【図3】Vの変換カーブ例を示す説明図。FIG. 3 is an explanatory diagram showing an example of a V conversion curve.

【図4】Cの変換カーブ例を示す説明図。FIG. 4 is an explanatory diagram showing an example of a C conversion curve.

【図5】Hの変換カーブ例を示す説明図。FIG. 5 is an explanatory diagram showing an example of an H conversion curve.

【図6】V,S1,S2色空間からYMC色空間へマッ
ピングする様子を示す説明図。
FIG. 6 is an explanatory diagram showing a state of mapping from a V, S1, S2 color space to a YMC color space.

【図7】V,S1,S2色空間上の1ブロックからYM
C色空間上の1ブロックにマッピングする方法の説明
図。
FIG. 7 shows YM from one block on the V, S1, S2 color space.
Explanatory drawing of the method of mapping to one block on C color space.

【図8】V,S1,S2からYMCにマッピング法を用
いて変換するブロック図。
FIG. 8 is a block diagram of conversion from V, S1, S2 to YMC using a mapping method.

【図9】他のV,S1,S2からYMCにマッピングす
るブロック図。
FIG. 9 is a block diagram for mapping other V, S1, S2 to YMC.

【図10】RGB色空間からV,S1,S2色空間へマ
ッピングする様子を示す説明図。
FIG. 10 is an explanatory diagram showing a state of mapping from an RGB color space to a V, S1, S2 color space.

【図11】RGB色空間上の1ブロックからV,S1,
S2色空間上の1ブロックにマッピングする方法の説明
図。
FIG. 11 shows V, S1, from one block on the RGB color space.
Explanatory drawing of the method of mapping to one block on S2 color space.

【図12】RGBからV,S1,S2にマッピング法を
用いて変換するブロック図。
FIG. 12 is a block diagram of conversion from RGB to V, S1, and S2 using a mapping method.

【図13】他の実施例のカラー画像印刷装置のブロック
図。
FIG. 13 is a block diagram of a color image printing apparatus according to another embodiment.

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

1…標準化回路、2…RGB−VHC変換回路、3…V
調整LUT、4…C調整LUT、5…H調整LUT、6
…HC−S1,S2変換回路、7…V,S1,S2−Y
MC変換回路。
1 ... Standardization circuit, 2 ... RGB-VHC conversion circuit, 3 ... V
Adjustment LUT, 4 ... C adjustment LUT, 5 ... H adjustment LUT, 6
... HC-S1, S2 conversion circuit, 7 ... V, S1, S2-Y
MC conversion circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】カラースキャナやカラーカメラから取り込
まれたRGB画像データやコンピュータからのRGB画
像データを入力し、前記RGB画像データを補正処理し
た後に印刷するカラー画像印刷装置において、 入力した前記RGB画像データを一定の規格に従うカラ
ー画像データに変換する手段と、前記カラー画像データ
を明度V,色相H,彩度Cの色データに変換する手段
と、これら明度V,色相H,彩度Cを、種々の変換カー
ブが格納され、あらかじめパネルあるいはコンピュータ
からの指示データにより変換カーブが選択されているル
ックアップテーブルにより調整する手段と、調整された
色相H、彩度Cを直行座標系の二つのパラメータS1,
S2に変換する手段と、V,S1,S2を印刷データで
あるY,M,Cにマッピングする手段とからなり、入力
したRGB画像データをVHCに変換してVHCを調整
し、調整したVHCを精度よくマッピングするために
V,S1,S2に変換し、これらを印刷データである
Y,M,Cにマッピングするようにしたことを特徴とす
るカラー画像印刷装置。
1. A color image printing apparatus for inputting RGB image data fetched from a color scanner or a color camera or RGB image data from a computer, correcting the RGB image data, and printing the RGB image data. Means for converting the data into color image data conforming to a certain standard; means for converting the color image data into color data of lightness V, hue H, and saturation C; and these lightness V, hue H, and saturation C, Various conversion curves are stored, a means for adjusting the conversion curve by a look-up table in which the conversion curve is selected in advance by instruction data from a panel or a computer, and two parameters of the adjusted hue H and saturation C of the orthogonal coordinate system. S1,
It comprises means for converting to S2 and means for mapping V, S1 and S2 to print data Y, M and C. The input RGB image data is converted to VHC to adjust VHC, and the adjusted VHC is adjusted. A color image printing apparatus, characterized in that it is converted into V, S1, S2 for accurate mapping, and these are mapped to Y, M, C which are print data.
JP4088580A 1992-04-09 1992-04-09 Color picture printer Pending JPH05292303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4088580A JPH05292303A (en) 1992-04-09 1992-04-09 Color picture printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4088580A JPH05292303A (en) 1992-04-09 1992-04-09 Color picture printer

Publications (1)

Publication Number Publication Date
JPH05292303A true JPH05292303A (en) 1993-11-05

Family

ID=13946788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4088580A Pending JPH05292303A (en) 1992-04-09 1992-04-09 Color picture printer

Country Status (1)

Country Link
JP (1) JPH05292303A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003017642A1 (en) * 2001-08-17 2003-02-27 Sony Corporation Image signal processing method and image signal processing apparatus
US6608927B2 (en) 1994-03-31 2003-08-19 Canon Kabushiki Kaisha Color image processing method and apparatus utilizing the same
KR100408508B1 (en) * 1996-10-31 2004-02-14 삼성전자주식회사 Method and apparatus for processing color, signal using color difference plane separation
WO2004075113A1 (en) * 2003-02-19 2004-09-02 Sony Corporation Image processing device, method, and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6608927B2 (en) 1994-03-31 2003-08-19 Canon Kabushiki Kaisha Color image processing method and apparatus utilizing the same
KR100408508B1 (en) * 1996-10-31 2004-02-14 삼성전자주식회사 Method and apparatus for processing color, signal using color difference plane separation
WO2003017642A1 (en) * 2001-08-17 2003-02-27 Sony Corporation Image signal processing method and image signal processing apparatus
CN100375499C (en) * 2001-08-17 2008-03-12 索尼株式会社 Image signal processing method and image signal processing apparatus
KR100921037B1 (en) * 2001-08-17 2009-10-08 소니 가부시끼 가이샤 Image signal processing method and image signal processing apparatus
US7639870B2 (en) 2001-08-17 2009-12-29 Sony Corporation Picture signal processing method and image signal processing apparatus
WO2004075113A1 (en) * 2003-02-19 2004-09-02 Sony Corporation Image processing device, method, and program
US7418129B2 (en) 2003-02-19 2008-08-26 Sony Corporation Image processing device method and program

Similar Documents

Publication Publication Date Title
EP0990344B1 (en) Gamut correction with color separation and methods and apparatuses for performing same
US4992862A (en) Color conversion display apparatus and method
US5553199A (en) Method and apparatus for calibrating a four color printer
KR100938846B1 (en) Color conversion apparatus and method of using the same
US5481655A (en) System for matching a picture on a monitor to a printed picture
US6897988B1 (en) Image processing apparatus, image processing method, and storage medium for color matching
US6882445B1 (en) Color gamut compression apparatus and method
JPH06253138A (en) Method and associated equipment for converting input color value of input color space into output color value of output color space
JPH11341296A (en) Color area conversion method and color area converter
JP3409541B2 (en) Color correction method, color correction device, color correction application device, and color image system
US7355752B2 (en) Two-dimensional calibration architectures for color devices
US6151135A (en) Method and apparatus for color reproduction
US20030035157A1 (en) Image processing apparatus, image processing method and storage medium
JPH06242523A (en) Color separation image processing method and device for 4-color printer
US7010161B2 (en) Image processing device, image processing method, and computer readable medium storing program for image color correction with priority to one of color reproduction and brightness
JPH04335771A (en) Color correcting device
JPH05292303A (en) Color picture printer
JPH07177367A (en) Color image recorder
JP2000253270A (en) Color conversion table generator, generating method, storage medium recording color conversion table generating program and color converter
JPH04304775A (en) Color correction method for color picture signal
JP4135599B2 (en) Paper difference correction curve calculation apparatus and paper difference correction curve calculation method
JP3292519B2 (en) Image processing device
JP2002281328A (en) Method for creating color conversion table
JPH11164163A (en) Color conversion method
JP2002149143A (en) Color calibration method and device