JP2002344755A - Color correction method - Google Patents
Color correction methodInfo
- Publication number
- JP2002344755A JP2002344755A JP2001141969A JP2001141969A JP2002344755A JP 2002344755 A JP2002344755 A JP 2002344755A JP 2001141969 A JP2001141969 A JP 2001141969A JP 2001141969 A JP2001141969 A JP 2001141969A JP 2002344755 A JP2002344755 A JP 2002344755A
- Authority
- JP
- Japan
- Prior art keywords
- color
- space
- value
- lab
- color correction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Color Image Communication Systems (AREA)
- Color, Gradation (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
(57)【要約】
【課題】 カラー画像を良好に色再現できるカラープリ
ンタ用などの色補正パラメータを自動設定できるように
する。
【解決手段】 HLS空間での特定の色(ターゲット色)
の格子点座標データをLAB空間のLab値に変換し、ターゲ
ット値Lab_tとして設定する。また、このターゲット色
の格子点データを入力データとし、色補正パラメータに
よる色補正,HLS→CMY変換,画像処理などの処理をした
後、LAB空間のLab値に変換して予測出力値Lab_eとす
る。そして、これらターゲット値Lab_tと予測出力値Lab
_eとの差分ΔELabを求め、色補正によって階調が反転し
ないという制約条件
(H,L,S)CMY≦(H,L+ΔL,S)CMY
を満たしながら、差分ΔELabが最小となるように、色補
正パラメータを自動設定する。
(57) [Summary] [PROBLEMS] To automatically set a color correction parameter for a color printer or the like which can reproduce a color image in good color. SOLUTION: A specific color (target color) in HLS space
Is converted to Lab values in the LAB space and set as target values Lab_t. Further, the grid point data of the target color is used as input data, and after processing such as color correction using color correction parameters, HLS → CMY conversion, and image processing, is converted into a Lab value in a LAB space to obtain a predicted output value Lab_e. . Then, the target value Lab_t and the predicted output value Lab
The difference ΔELab with respect to _e is obtained, and the color is adjusted so that the difference ΔELab is minimized while satisfying the constraint condition (H, L, S) CMY ≤ (H, L + ΔL, S) CMY that the gradation is not inverted by color correction. Automatically set correction parameters.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、カラープリンタな
ど印刷機器の色補正方法に係り、特に、その色補正パラ
メータの設定に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color correction method for a printing device such as a color printer, and more particularly, to setting of a color correction parameter.
【0002】[0002]
【従来の技術】デジタル技術が、その発展に従って、印
刷業界にも大きな影響を与えてきており、近年、これに
伴ってプリンタが一般家庭にも普及している。そして、
プリンタの性能についてのユーザの要求がますます高ま
る一方、各メーカ側としても、プリンタのエンジン性能
を向上させるとともに、プリンタドライバへの新機能追
加や性能向上を図っている。2. Description of the Related Art With the development of digital technology, the printing industry has been greatly influenced, and in recent years, printers have been widely used in ordinary households. And
While user demands for printer performance are increasing, manufacturers are also improving printer engine performance, adding new functions to printer drivers, and improving performance.
【0003】[0003]
【発明が解決しようとする課題】このように、インクジ
ェットプリンタなどでは、エンジン性能の向上ととも
に、プリンタドライバへの新機能追加や性能向上が図ら
れているが、性能の面では、カラーマッチング技術や色
再現性が重要であり、この面でのさらなる向上が望まれ
ている。As described above, in an ink jet printer and the like, new functions are added to a printer driver and the performance is improved in addition to the improvement of the engine performance. Color reproducibility is important, and further improvement in this aspect is desired.
【0004】本発明は、かかる要望に鑑みてなされたも
のであって、その目的は、カラー画像の良好な色再現を
可能とするカラープリンタ用などの色補正パラメータを
自動設定する色補正方法を提供することにある。SUMMARY OF THE INVENTION The present invention has been made in view of such a demand, and an object of the present invention is to provide a color correction method for automatically setting a color correction parameter for a color printer or the like which enables good color reproduction of a color image. To provide.
【0005】[0005]
【課題を解決するための手段】上記目的を達成するため
に、本発明は、HLS色空間で表わされる入力カラー画像
信号に色補正パラメータによる色補正や空間変換,所定
の画像処理を行なうことにより、CMY色空間に基づく出
力カラー画像信号を得るようにした色補正方法であっ
て、予め決められた特定色をターゲット色とし、ターゲ
ット色でのHLS色空間での格子点座標データからCIELAB
空間でのLab値をターゲット値として求め、この特定色
に対するHLS色空間での格子点座標データを入力データ
とし、この入力データを色補正や色空間変換,所定の画
像処理して得られるCMY色空間に基づく出力データからC
IELAB空間でのLab値を予測出力値として求め、ターゲッ
ト値と予測出力値との差値が小さくなるように、色補正
パラメータを自動設定するものである。In order to achieve the above object, the present invention provides an input color image signal represented in an HLS color space by performing color correction using color correction parameters, space conversion, and predetermined image processing. A color correction method for obtaining an output color image signal based on a CMY color space, wherein a predetermined specific color is set as a target color, and CIELAB is obtained from grid point coordinate data in the HLS color space with the target color.
The Lab value in the space is obtained as the target value, the grid point coordinate data in the HLS color space for this specific color is used as input data, and the CMY colors obtained by performing color correction, color space conversion, and predetermined image processing on this input data From output data based on space to C
A Lab value in IELAB space is obtained as a predicted output value, and a color correction parameter is automatically set so that a difference value between the target value and the predicted output value is reduced.
【0006】そして、HLS色空間で、色補正パラメータ
による補正前と補正後とでの入力データの階調が反転し
ないという制約条件が設定され、この制約条件を満足
し、かつターゲット値と予測出力値との差値が最小とな
るように、色補正パラメータを自動設定する。In the HLS color space, a constraint condition is set that the gradation of the input data before and after the correction by the color correction parameter is not inverted. The constraint condition is satisfied, and the target value and the predicted output are satisfied. The color correction parameters are automatically set so that the difference between the values is minimized.
【0007】また、ターゲット値は、カラープリンタの
自然画像用のターゲット値とする。The target value is a target value for a natural image of a color printer.
【0008】この自然画像用のタッゲット値を設定する
に際し、ガマット圧縮処理を用いるようにする。In setting the target value for the natural image, a gamut compression process is used.
【0009】また、ターゲット値は、カラープリンタの
人工画像用のターゲット値とする。The target value is a target value for an artificial image of a color printer.
【0010】[0010]
【発明の実施の形態】以下、本発明の実施形態を図面を
参照して説明する。図1は本発明による色補正方法の一
実施形態を示すフローチャートである。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a flowchart showing one embodiment of a color correction method according to the present invention.
【0011】この実施形態は、入力カラー画像信号を色
変換してプリントのための出力カラー画像信号を得るも
のであって、かかる処理に際してカラー画像の色再現を
良好にするカラープリンタ用などの色補正パラメータを
自動設定することができるようにするものである。変換
方法としては、三角柱補間法を用いるものであって、こ
のために、HLS色空間(H=色相,L=明るさ,S=飽
和度)での格子点パラメータが必要となる。In this embodiment, an input color image signal is subjected to color conversion to obtain an output color image signal for printing. In such processing, a color image for a color printer or the like for improving color reproduction of a color image is provided. The correction parameters can be automatically set. As a conversion method, a triangular prism interpolation method is used. For this purpose, grid point parameters in an HLS color space (H = hue, L = brightness, S = saturation) are required.
【0012】図1において、まず、HLS色空間で格子点
を作成する(ステップ100)。In FIG. 1, first, grid points are created in the HLS color space (step 100).
【0013】図2はHLS色空間のカラーモデルを示すも
のである。かかる色空間はL軸を中心軸とする双六角錐
部分空間をなすものであって、L軸上の一方の頂点(L
=1)を白色(W)、他方の頂点(L=0)を黒色(B
k)とし、これらの間(0<L<1)をグレイとする。
色相HはL軸から見た方向で表わされ、かかる空間のL
軸に垂直な六角形の平面の各頂点方向は、図示するよう
に、R(赤),Y(黄),G(緑),C(シアン),B
(青),M(マゼンタ)の各色相に相当する。飽和度S
はL軸からの距離で表わされ、グレイは全てS=0、各
色相の最大飽和度はS=1,L=0.5である。FIG. 2 shows a color model of the HLS color space. Such a color space forms a bi-hexagonal pyramid subspace with the L axis as the central axis, and one vertex (L
= 1) is white (W) and the other vertex (L = 0) is black (B)
k), and gray between them (0 <L <1).
The hue H is represented by a direction viewed from the L axis, and the L
The directions of the vertices of the hexagonal plane perpendicular to the axis are R (red), Y (yellow), G (green), C (cyan), B
(Blue) and M (magenta). Saturation degree S
Is represented by the distance from the L axis, all grays are S = 0, and the maximum saturation of each hue is S = 1, L = 0.5.
【0014】この実施形態では、入力データとして、か
かるHLS色空間を均等に分割して上記の格子点を作成
し、この格子点の座標データ(HLSデータ)を用いるも
のである(即ち、図1でのステップ100)。In this embodiment, as the input data, the HLS color space is equally divided to generate the above-mentioned grid points, and the coordinate data (HLS data) of the grid points is used (ie, FIG. 1). Step 100).
【0015】このHLSデータは色補正パラメータを用い
て補正される。これは、HLS色空間の格子点座標データ
が変換されて、H´L´S´色空間の格子点座標データ(H
´L´S´データ)となるものである(ステップ10
1)。このH´L´S´データはCMY色空間(C=シアン,
M=マゼンタ,Y=黄)の格子点座標データ(CMYデー
タ)に変換され(ステップ102)、このCMYデータに
対してBG/UCR(Under Colour Reduction)処理、γ補正
処理、総量規制処理がなされて、印刷に適合したC´M´
Y´K´色空間(K=黒)の格子点座標データ(C´M´Y
´K´データ)が生成される(ステップ103)。The HLS data is corrected using color correction parameters. This is because grid point coordinate data in the HLS color space is converted and grid point coordinate data (H
'L'S' data) (step 10).
1). This H'L'S 'data is in the CMY color space (C = cyan,
(M = magenta, Y = yellow) is converted to coordinate data (CMY data) (step 102), and BG / UCR (Under Color Reduction) processing, γ correction processing, and total amount control processing are performed on the CMY data. C´M´ suitable for printing
Grid point coordinate data (C′M′Y) in Y′K ′ color space (K = black)
'K' data) is generated (step 103).
【0016】この実施形態は、かかる色補正方法におい
て、ステップ101で用いる色補正パラメータを自動設
定することができるようにするものであり、しかも、設
定する色補正パラメータとしては、ステップ101の処
理がなされたときに各色の濃度が反転しないようなもの
とするものである。In this embodiment, in such a color correction method, the color correction parameters used in step 101 can be automatically set. In addition, as the color correction parameters to be set, the processing in step 101 is performed. This is to prevent the inversion of the density of each color when performed.
【0017】このために、色補正パラメータを設定する
に当たって、予め特定の色を決め、この特定色に対する
HLSデータを入力データとして上記ステップ100〜1
03の処理を行なったときに再現すべき色をターゲット
(target)色とし、このターゲット色のCIE(Commission
International de l'Eclairage:国際照明委員会)LAB
空間上の測色値であるLab値(L=明るさ,a=ほぼ
赤,b=ほぼ黄)をターゲット値Lab_tとして予め設定
しておく(ステップ105)。Therefore, when setting the color correction parameters, a specific color is determined in advance, and
The above steps 100 to 1 using HLS data as input data
Target the color to be reproduced when performing the process of 03
(target) color, and the CIE (Commission
International de l'Eclairage: International Commission on Illumination) LAB
A Lab value (L = brightness, a = substantially red, b = substantially yellow), which is a colorimetric value in space, is set in advance as a target value Lab_t (step 105).
【0018】そして、この特定色のHLSデータを、入力
データとして、上記のステップ101〜103の処理を
行ない、これで得られたC´M´Y´K´データを予め作成
しておいたC´M´Y´K´→Lab変換のプリンタシミュレ
ータに通すことにより、このC´M´Y´K´データのLab
値を予測出力値(Estimate Lab)Lab_eとして求める(ス
テップ104)。Using the HLS data of this specific color as input data, the above-described steps 101 to 103 are performed, and the obtained C'M'Y'K 'data is prepared in advance. By passing it through a printer simulator for 'M'Y'K' → Lab conversion, the Lab of this C'M'Y'K 'data
The value is obtained as a predicted output value (Estimate Lab) Lab_e (step 104).
【0019】次に、この得られた予測出力値Lab_eとタ
ーゲット値Lab_tとの差分値、即ち、色差値ΔELabが求
められ(ステップ106)、これに応じた色補正パラメ
ータが生成され(ステップ107)、これを用いて入力
データである特定色のHLSデータの色補正処理が行な
われるのであるが、かかる色補正パラメータは、色差値
ΔELabが最小となるように、設定されるものである。し
かも、かかる色補正パラメータの設定には、次のような
制約条件も付加される。以下、ステップ107につい
て、さらに詳細に説明する。Next, a difference value between the obtained predicted output value Lab_e and the target value Lab_t, that is, a color difference value ΔELab is obtained (step 106), and a color correction parameter corresponding to the difference is generated (step 107). The color correction processing is performed on the HLS data of the specific color, which is the input data, by using this, and the color correction parameters are set so that the color difference value ΔELab is minimized. In addition, the following constraints are added to the setting of the color correction parameters. Hereinafter, step 107 will be described in more detail.
【0020】色差値ΔELabによって色補正パラメータが
調整され、これにより、HLS色空間内でこの入力デー
タ、即ち、座標データが変化することになるが、このと
き、この変化によって階調(L)が反転しないような色
補正パラメータとするものである。換言すると、色差値
ΔELabに応じた色補正パラメータによってHLSデータが
補正されるが、このときの明るさ(階調,濃度)Lの補
正量をΔLとし、このHLSデータの補正前のデータ量を
(H,L,S)とすると、明るさLが+ΔLだけ補正さ
れたときのデータ量は(H,L+ΔL,S)となる。か
かる補正前,補正後のHLS色空間での格子点は、図2
において、一例と示すような等色相&等彩度線(明度方
向)上にあるが、このような等色相&等彩度線上で補正
後のHLSデータの階調が補正前のHLSデータに対して階調
が反転しないような色補正パラメータとするものであ
る。The color correction parameter is adjusted by the color difference value ΔELab, whereby the input data, that is, the coordinate data changes in the HLS color space. At this time, the gradation (L) is changed by the change. This is a color correction parameter that does not cause inversion. In other words, the HLS data is corrected by the color correction parameter corresponding to the color difference value ΔELab. At this time, the correction amount of the brightness (gradation, density) L is ΔL, and the data amount of the HLS data before correction is Assuming that (H, L, S), the data amount when the brightness L is corrected by + ΔL is (H, L + ΔL, S). The grid points in the HLS color space before and after the correction are shown in FIG.
, The HLS data on the iso-hue & iso-saturation line (lightness direction) as shown as an example Color correction parameters so that the gradation is not inverted.
【0021】ここで、かかる反転をするか否かの判定
は、ステップ104で得られた予測出力値Lab_eを逆演
算してCMYデータを求め、これを用いて行なうものであ
って、かかるCMYデータのデータ値を(H,L,S)CMY
とし、色差値ΔELabに対して求めた色補正パラメータに
よる明るさの補正量を+ΔLとすると、HLS色空間にお
ける等色相&等彩度線上で出力値(CMYK)の階調が逆転
しない範囲は、 (H,L,S)CMY≦(H,L+ΔL,S)CMY であり、かかる制約条件を満たす範囲内で色差値ΔELab
が最小となるように、色補正パラメータを設定するもの
である。これにより、同じHLS色空間内において、色補
正パラメータによる補正後の格子点は、補正前の格子点
に対し、L軸方向の反転が生じないことになり、格子点
パラメータが最適化して色再現が向上することになる。Here, the determination as to whether or not to perform the inversion is performed by calculating the CMY data by performing an inverse operation on the predicted output value Lab_e obtained in step 104 and using the CMY data. Data value of (H, L, S) CMY
Assuming that the correction amount of the brightness by the color correction parameter obtained for the color difference value ΔELab is + ΔL, the range in which the gradation of the output value (CMYK) does not reverse on the equal hue & equal saturation line in the HLS color space is (H, L, S) CMY ≤ (H, L + ΔL, S) CMY , and the color difference value ΔELab within a range satisfying such a constraint condition.
Is set to minimize the color correction parameter. As a result, in the same HLS color space, the grid point after correction by the color correction parameter does not invert in the L-axis direction with respect to the grid point before correction, and the grid point parameter is optimized and color reproduction is performed. Will be improved.
【0022】図3は図1におけるターゲット値Lab_tの
設定方法の一具体例を示すフローチャートであって、こ
の具体例は写真などの自然画像用のターゲット値の設定
に関するものである。FIG. 3 is a flowchart showing one specific example of the method of setting the target value Lab_t in FIG. 1, and this specific example relates to the setting of the target value for a natural image such as a photograph.
【0023】HLS色空間を均等分割してターゲットとな
る特定色の格子点データ(HLSデータ)を得て(ステップ
200)、これをRGB色空間の格子点データ(RGBデー
タ)に変換する(ステップ201)。次いで、基準モニ
タを仮定して、RGBデータをXYZ色空間の格子点データ(X
YZデータ)に変換し(ステップ202)、このXYZデータ
からLAB空間のLab値を求める(ステップ203)。そし
て、このLab値にプリンタのガマット情報を用いてガマ
ット圧縮処理を施し、ターゲット値L´a´b´(=Lab_
t)を求める(ステップ204)。The HLS color space is equally divided to obtain target grid point data (HLS data) of a specific color (step 200), which is converted into grid point data (RGB data) of an RGB color space (step 200). 201). Next, assuming a reference monitor, the RGB data is converted to grid point data (X
YZ data) (step 202), and a Lab value in the LAB space is obtained from the XYZ data (step 203). Then, the Lab value is subjected to gamut compression processing using the gamut information of the printer, and the target value L'a'b '(= Lab_
t) is obtained (step 204).
【0024】図4はガマット圧縮方法の説明図である。FIG. 4 is an explanatory diagram of the gamut compression method.
【0025】これは、図3のステップ202において、
基準モニタを仮定してXYZデータを作成したものである
から、ステップ203で得られるLab値は彩度範囲が基
準モニタで表示されるときのものである。ガマット圧縮
はこの彩度範囲をプリンタに適合した範囲に圧縮するも
のである。即ち、図4において、Aは基準モニタでの明
度Lに対する彩度範囲の限界(最外郭)を示すものであ
って、Bは同じくプリンタでの彩度範囲の限界(最外
郭)を示すものである。ガマット圧縮は、この基準モニ
タの彩度範囲Aをプリンタの彩度範囲B内に圧縮するも
のである。夫々の彩度範囲A,Bには、最大彩度点があ
る。This is done in step 202 of FIG.
Since the XYZ data is created assuming the reference monitor, the Lab values obtained in step 203 are those when the saturation range is displayed on the reference monitor. Gamut compression compresses this saturation range to a range suitable for a printer. That is, in FIG. 4, A indicates the limit (outermost) of the saturation range for the lightness L on the reference monitor, and B indicates the limit (outermost) of the saturation range on the printer. is there. The gamut compression is to compress the saturation range A of the reference monitor into the saturation range B of the printer. Each of the saturation ranges A and B has a maximum saturation point.
【0026】この場合、圧縮方向は、まず、色相毎に異
なり、色相毎のガマット形状を考慮して決定する。即
ち、 プリンタの最大彩度点を境界として、圧縮方向を一定
に保つ モニタとプリンタの最大彩度点の位置関係(明度さ)
に応じて、各色相毎に圧縮方向(θH,θS)を制御す
る。 さらに、できる限りマルセル空間に同一色相面で圧縮す
る方向を制御することにより、自然画像用ターゲット色
のLab値L´a´b´を設定する。In this case, the compression direction differs for each hue, and is determined in consideration of the gamut shape for each hue. In other words, the compression direction is kept constant with the maximum saturation point of the printer as the boundary. The positional relationship (brightness) between the monitor and the maximum saturation point of the printer
, The compression direction (θH, θS) is controlled for each hue. Further, the Lab value L'a'b 'of the target color for natural image is set by controlling the direction in which compression is performed on the same hue plane in the Marcel space as much as possible.
【0027】以上のように、自然画像用のターゲット色
のLab値の設定にガマット圧縮方法を用いることによ
り、 全色相共通のハイライト側のガマット圧縮方向(明度
・彩度成分) 全色相共通のシャドー側のガマット圧縮方向(明度・
彩度成分) 入力色空間とプリンタにおける最大彩度点の明度差に
応じたハイライト側のガマット圧縮方向(明度・彩度成
分) 入力色空間とプリンタにおける最大彩度点の明度差に
応じたシャドー側のガマット圧縮方向(明度・彩度成
分) を制御することができる。As described above, by using the gamut compression method for setting the Lab value of the target color for a natural image, the gamut compression direction (brightness / chroma components) on the highlight side common to all hues is used. Gamut compression direction on the shadow side (lightness
Saturation component) Highlight-side gamut compression direction according to brightness difference between input color space and maximum saturation point in printer (brightness / saturation component) According to brightness difference between input color space and maximum saturation point in printer The gamut compression direction (brightness / saturation components) on the shadow side can be controlled.
【0028】図5は図1におけるターゲット値Lab_tの
設定方法の他の具体例を示すフローチャートであって、
この具体例はグラフィックスなどの人口画像用のターゲ
ット値の設定に関するものである。FIG. 5 is a flowchart showing another specific example of the method of setting the target value Lab_t in FIG.
This specific example relates to setting a target value for a population image such as graphics.
【0029】まず、図2に示すようなHLS色空間で
(ステップ300)、基本とする6色の色相Hを決定す
る。ここでは、デフォルトとして、C(H=180゜),M
(H=300゜),Y(H=60゜)はプリンタの各一次色の
色相が設定され、R(H=0゜),G(H=120゜),B
(H=240゜)は二次色の色相が設定され、これら基本6
色以外の色の色相は線形補間で割り当てられる(ステッ
プ301)。First, in the HLS color space as shown in FIG. 2 (step 300), six basic hues H are determined. Here, C (H = 180 °), M
(H = 300 °), Y (H = 60 °) are set with the hues of the primary colors of the printer, R (H = 0 °), G (H = 120 °), B
(H = 240 ゜), the hue of the secondary color is set.
Hues of colors other than colors are assigned by linear interpolation (step 301).
【0030】次に、グレー軸(S=0:L軸)の設定
と飽和色(S=1)の明度補正(プリンタ最外郭へのマ
ッピング)を実施する。デフォルトでは、図6に示すよ
うに、グレー軸には、プリンタが再現するグレー(紙の
地色(白)〜Black-max)の明度を線形に割り付け、モニ
タの各色相の最高飽和色(S=1,L=0.5)には、プ
リンタの各色相毎の最高彩度色を割り付け、モニタの各
色相の飽和色(S=1,L=0〜1)に対しては、プリ
ンタの彩度特性も考慮した上で、基本的に彩度がリニア
が並ぶように、プリンタのガマット最外郭色を割り付け
る(ステップ302)。Next, setting of the gray axis (S = 0: L axis) and correction of the brightness of the saturated color (S = 1) (mapping to the outermost edge of the printer) are performed. By default, as shown in FIG. 6, on the gray axis, the lightness of gray (paper ground color (white) to Black-max) reproduced by the printer is linearly assigned, and the maximum saturated color (S) of each hue of the monitor is assigned. = 1, L = 0.5), the highest chroma color for each hue of the printer is assigned. For the saturated color (S = 1, L = 0-1) of each hue of the monitor, the chroma of the printer is assigned. In consideration of the characteristics, the gamut outermost colors of the printer are assigned so that the saturation is basically linear (step 302).
【0031】以上で、グレー軸(S=0)と各色相の飽
和色(S=1,L=0〜1)が決定するので、決定した
色相毎の明度補正を参照し、HLS色空間の彩度S(=0
〜1)に応じて明度を線形演算で補正し(ステップ30
3)、人工画像用のターゲット色のLab値を設定する。As described above, the gray axis (S = 0) and the saturated color of each hue (S = 1, L = 0 to 1) are determined. Referring to the brightness correction for each determined hue, the HLS color space is determined. Saturation S (= 0
1), the brightness is corrected by a linear operation (step 30).
3), set the Lab value of the target color for the artificial image.
【0032】以上のように人工画像用ターゲット色のLa
b値を設定すると、プリンタの色再現特性に応じて、代
表色相の飽和色に対する明度を制御することにより、飽
和色の階調再現などを調整することが可能となる。As described above, the target color La for artificial images
When the b value is set, the tone reproduction of the saturated color can be adjusted by controlling the lightness of the representative hue with respect to the saturated color in accordance with the color reproduction characteristics of the printer.
【0033】これを具体的に説明すると、 飽和色(S=1)に対しての階調特性を調整すること
ができる。 図5を参照して、色相毎にモニタの最大飽和色がプリン
タの最高彩度色に対応し、さらに、飽和色(S=1,L
=0〜1)の入力に対して、彩度が白(紙)から黒まで
リニアに並ぶように、プリンタのガマット最外郭色(各
明度毎の最高彩度色)を割り付け設定されている。入力
空間であるRGB色空間で定義される代表色R(H=0゜),
Y(H=60゜),G(H=120゜),C(H=180゜),B(H=
240゜),M(H=300゜)の飽和色に対する階調特性を調
整することができる。代表色相の飽和色に対する階調特
性(圧縮方向)は、逆転しない範囲で、明度(L)を設
定することで調整することができる。More specifically, it is possible to adjust the gradation characteristics for a saturated color (S = 1). Referring to FIG. 5, the maximum saturated color of the monitor for each hue corresponds to the maximum chroma color of the printer, and the saturated color (S = 1, L
= 0 to 1), the outermost colors of the gamut of the printer (the highest chroma colors for each lightness) are assigned and set so that the chroma is linearly arranged from white (paper) to black. A representative color R (H = 0 ゜) defined in the RGB color space that is the input space,
Y (H = 60 °), G (H = 120 °), C (H = 180 °), B (H =
It is possible to adjust gradation characteristics for saturated colors of 240 °) and M (H = 300 °). The gradation characteristic (compression direction) for the saturated color of the representative hue can be adjusted by setting the lightness (L) within a range that does not reverse.
【0034】飽和色(S=1)以外の彩度調整が可能
である。 飽和色(S=1)以外の色は、HLS色空間(RGBベース)の
彩度Sに応じて、プリンタの再現域内にマッピングされ
る。代表色R(H=0゜),Y(H=60゜),G(H=120
゜),C(H=180゜),B(H=240゜),M(H=300゜)
毎に、S=75%,S=50%,S=25%に対する彩度S
(0〜100%)が自由に設定でき、飽和度が調整可能であ
る。It is possible to adjust the saturation other than the saturated color (S = 1). Colors other than the saturated color (S = 1) are mapped within the reproduction range of the printer according to the saturation S in the HLS color space (RGB base). Representative colors R (H = 0), Y (H = 60), G (H = 120)
゜), C (H = 180 ゜), B (H = 240 ゜), M (H = 300 ゜)
S = 75%, S = 50%, S = 25%
(0-100%) can be set freely, and the saturation can be adjusted.
【0035】色相(Hue)の調整が可能である。 図5を参照して、入力空間であるRGB色空間で定義され
る代表色相R(H=0゜),Y(H=60゜),G(H=120
゜),C(H=180゜),B(H=240゜),M(H=300゜)
に対応するデバイスインデペンデント色空間(CIELABあ
るいはマンセル)における色相(0゜〜360゜)を自由に
設定することができる(代表色相以外の色相について
は、線形補間で決まる)。また、プリンタにおける一次
色(Y=0,C=80,M=300)に限り、Hue=400を設定
すると、対象プリンタの一次色(Y,M,C)のデバイ
スインデペンデント色空間における色相が自動設定され
る。The hue (Hue) can be adjusted. Referring to FIG. 5, representative hues R (H = 0 °), Y (H = 60 °), and G (H = 120) defined in an RGB color space as an input space.
゜), C (H = 180 ゜), B (H = 240 ゜), M (H = 300 ゜)
Hue (0 ° to 360 °) in the device independent color space (CIELAB or Munsell) corresponding to the hue (hues other than the representative hue are determined by linear interpolation). If Hue = 400 is set only for the primary colors (Y = 0, C = 80, M = 300) in the printer, the hue in the device independent color space of the primary colors (Y, M, C) of the target printer is set. Is automatically set.
【0036】[0036]
【発明の効果】以上説明したように、本発明によれば、
HLS色空間で表わされる入力カラー画像信号に色補正パ
ラメータによる色補正や空間変換,所定の画像処理を行
なうことにより、CMY色空間に基づく出力カラー画像信
号を得るようにした色補正方法において、予め決められ
た特定色をターゲット色とし、ターゲット色でのHLS色
空間での格子点座標データからCIELAB空間でのLab値を
ターゲット値として求め、特定色に対するHLS色空間で
の格子点座標データを入力データとし、入力データを色
補正や該色空間変換,所定の画像処理して得られるCMY
色空間に基づく出力データからCIELAB空間でのLab値を
予測出力値として求め、ターゲット値と予測出力値との
差が小さくなるように、該色補正パラメータを自動設定
するものであるから、カラー画像の色再現を良好にする
色補正パラメータを自動的に設定することができる。As described above, according to the present invention,
In a color correction method in which an output color image signal based on a CMY color space is obtained by performing a color correction using a color correction parameter, a space conversion, and a predetermined image processing on an input color image signal represented in an HLS color space, The specified specific color is set as the target color, the Lab value in CIELAB space is calculated as the target value from the grid point coordinate data in the HLS color space for the target color, and the grid point coordinate data in the HLS color space for the specific color is input. CMY obtained by color correction, color space conversion, and predetermined image processing of input data
A Lab value in a CIELAB space is obtained as a predicted output value from output data based on a color space, and the color correction parameters are automatically set so that a difference between a target value and a predicted output value is reduced. Color correction parameters for improving the color reproduction can be automatically set.
【0037】また、本発明によると、HLS色空間で、色
補正パラメータによる補正前と補正後とでの入力データ
の階調が反転しないという制約条件が設定され、制約条
件を満足し、かつターゲット値と予測出力値との差が最
小となるように、色補正パラメータを自動設定するもの
であるから、階調の反転のない色補正が可能となり、カ
ラー画像の良好な色再現が実現できる。Further, according to the present invention, in the HLS color space, the constraint condition that the gradation of the input data before and after the correction by the color correction parameter is not inverted is set, the constraint condition is satisfied, and the target condition is satisfied. Since the color correction parameter is automatically set so that the difference between the value and the predicted output value is minimized, color correction without inversion of gradation is possible, and excellent color reproduction of a color image can be realized.
【0038】さらに、本発明によると、上記ターゲット
値をカラープリンタの自然画像用のターゲット値とする
ものであるから、写真などの自然画像について、良好な
色再現が実現できる。Further, according to the present invention, since the above-mentioned target value is used as a target value for a natural image of a color printer, good color reproduction can be realized for a natural image such as a photograph.
【0039】そして、自然画像用のターゲット値を設定
するに際し、ガマット圧縮処理を用いることにより、全
色相共通のハイライト側やシャドー側のガマット圧縮方
向、入力色空間とプリンタにおける最大彩度点の明度の
差に応じたハイライト側,シャドー側のガマット圧縮方
向を制御することができ、飽和色の階調再現などを調整
できる。When setting the target value for the natural image, the gamut compression processing is used, so that the gamut compression direction on the highlight side or the shadow side common to all hues, the input color space, and the maximum saturation point of the printer. It is possible to control the gamut compression directions on the highlight side and the shadow side according to the difference in brightness, and it is possible to adjust gradation reproduction of a saturated color.
【0040】さらに、本発明によると、ターゲット値を
カラープリンタの人工画像用のターゲット値とするもの
であるから、グラフィックスなどの人工画像について、
良好な色再現が実現できる。Further, according to the present invention, the target value is used as a target value for an artificial image of a color printer.
Good color reproduction can be realized.
【図1】本発明による色補正方法の一実施形態を示すフ
ローチャートである。FIG. 1 is a flowchart illustrating an embodiment of a color correction method according to the present invention.
【図2】HLS色空間のカラーモデルを示すものである。FIG. 2 shows a color model of an HLS color space.
【図3】図1における実施形態でのターゲット値の設定
方法の一具体例を示すフローチャートである。FIG. 3 is a flowchart illustrating a specific example of a target value setting method in the embodiment in FIG. 1;
【図4】図3におけるガマット圧縮方法の説明図であ
る。FIG. 4 is an explanatory diagram of a gamut compression method in FIG. 3;
【図5】図1における実施形態でのターゲット値の設定
方法の他の具体例を示すフローチャートである。FIG. 5 is a flowchart illustrating another specific example of a method for setting a target value in the embodiment in FIG. 1;
【図6】図5におけるモニタの各色相の飽和色のプリン
タの各色相毎の最高飽和色への割り付け方法を示す図で
ある。FIG. 6 is a diagram showing a method of allocating saturated colors of respective hues of the monitor in FIG. 5 to the highest saturated color for each hue of the printer.
W 白 Bk 黒 R 赤 Y 黄 G 緑 C シアン B 青 M マゼンタ W White Bk Black R Red Y Yellow G Green C Cyan B Blue M Magenta
フロントページの続き Fターム(参考) 2C262 AA24 AB11 BA03 BA09 BC13 BC19 EA04 5B057 CE17 CE18 DB02 DB06 DB09 DC25 5C077 MP08 PP33 PP36 PP37 PP47 PQ20 TT02 5C079 HB02 HB08 HB12 LB02 NA03 NA18 PA03 Continuation of the front page F term (reference) 2C262 AA24 AB11 BA03 BA09 BC13 BC19 EA04 5B057 CE17 CE18 DB02 DB06 DB09 DC25 5C077 MP08 PP33 PP36 PP37 PP47 PQ20 TT02 5C079 HB02 HB08 HB12 LB02 NA03 NA18 PA03
Claims (5)
信号に色補正パラメータによる色補正や空間変換,所定
の画像処理を行なうことにより、CMY色空間に基づく出
力カラー画像信号を得るようにした色補正方法におい
て、 予め決められた特定色をターゲット色とし、該ターゲッ
ト色での該HLS色空間での格子点座標データからCIELAB
空間でのLab値をターゲット値として求め、 該特定色に対する該HLS色空間での格子点座標データを
入力データとし、該入力データを該色補正や該色空間変
換,該所定の画像処理して得られるCMY色空間に基づく
出力データからCIELAB空間でのLab値を予測出力値とし
て求め、 該ターゲット値と該予測出力値との差が小さくなるよう
に、該色補正パラメータを自動設定することを特徴とす
る色補正方法。1. A color for obtaining an output color image signal based on a CMY color space by performing color correction, space conversion, and predetermined image processing on an input color image signal represented in an HLS color space by color correction parameters. In the correction method, a predetermined specific color is set as a target color, and CIELAB is obtained from grid point coordinate data in the HLS color space of the target color.
A Lab value in the space is obtained as a target value, grid point coordinate data in the HLS color space for the specific color is used as input data, and the input data is subjected to the color correction, the color space conversion, and the predetermined image processing. A Lab value in a CIELAB space is obtained as a predicted output value from the obtained output data based on the CMY color space, and the color correction parameter is automatically set so that a difference between the target value and the predicted output value is reduced. Characteristic color correction method.
と補正後とでの前記入力データの階調が反転しないとい
う制約条件が設定され、 該制約条件を満足し、かつ前記ターゲット値と前記予測
出力値との差値が最小となるように、前記色補正パラメ
ータを自動設定することを特徴とする色補正方法。2. A constraint condition according to claim 1, wherein in the HLS color space, a constraint condition that the gradation of the input data before and after the correction by the color correction parameter is not inverted is set, and the constraint condition is satisfied. And automatically setting the color correction parameter so that a difference value between the target value and the predicted output value is minimized.
ーゲット値であることを特徴とする色補正方法。3. The color correction method according to claim 1, wherein the target value is a target value for a natural image of a color printer.
ット圧縮処理を用いることを特徴とする色補正方法。4. The color correction method according to claim 3, wherein a gamut compression process is used when setting the target value for the natural image.
ーゲット値であることを特徴とする色補正方法。5. The color correction method according to claim 1, wherein the target value is a target value for an artificial image of a color printer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001141969A JP2002344755A (en) | 2001-05-11 | 2001-05-11 | Color correction method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001141969A JP2002344755A (en) | 2001-05-11 | 2001-05-11 | Color correction method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2002344755A true JP2002344755A (en) | 2002-11-29 |
Family
ID=18988342
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001141969A Pending JP2002344755A (en) | 2001-05-11 | 2001-05-11 | Color correction method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2002344755A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7207645B2 (en) | 2003-10-31 | 2007-04-24 | Busch Brian D | Printer color correction |
| JP2012178738A (en) * | 2011-02-25 | 2012-09-13 | Canon Inc | Profile creation method, profile creation apparatus, image processing apparatus for performing color conversion using profile, and program |
| US11128932B2 (en) | 2018-05-09 | 2021-09-21 | Gree, Inc. | Video distribution system for live distributing video containing animation of character object generated based on motion of actors |
| US11202118B2 (en) | 2018-05-08 | 2021-12-14 | Gree, Inc. | Video distribution system, video distribution method, and storage medium storing video distribution program for distributing video containing animation of character object generated based on motion of actor |
-
2001
- 2001-05-11 JP JP2001141969A patent/JP2002344755A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7207645B2 (en) | 2003-10-31 | 2007-04-24 | Busch Brian D | Printer color correction |
| JP2012178738A (en) * | 2011-02-25 | 2012-09-13 | Canon Inc | Profile creation method, profile creation apparatus, image processing apparatus for performing color conversion using profile, and program |
| US11202118B2 (en) | 2018-05-08 | 2021-12-14 | Gree, Inc. | Video distribution system, video distribution method, and storage medium storing video distribution program for distributing video containing animation of character object generated based on motion of actor |
| US11128932B2 (en) | 2018-05-09 | 2021-09-21 | Gree, Inc. | Video distribution system for live distributing video containing animation of character object generated based on motion of actors |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7251058B2 (en) | Method for generating customized ink/media transforms | |
| JP4845127B2 (en) | Image processing device | |
| EP1909486B1 (en) | Method and apparatus for performing gamut mapping between heterogeneous devices | |
| US7016530B2 (en) | Image processing method, image processing apparatus, and programs thereof | |
| US8045222B2 (en) | Image processing method, image processing apparatus, computer program product, and recording medium for image processing | |
| JPH1013701A (en) | Extension method for range of color of color printer and print method for color printer | |
| JP2012029276A (en) | Image forming device, color adjustment method and color adjustment program | |
| US10834292B2 (en) | Image processing apparatus, image processing method, and non-transitory computer-readable storage medium | |
| US7710600B2 (en) | Image processing apparatus and method thereof | |
| JP4891162B2 (en) | Image processing apparatus and profile creation method | |
| JPH1084487A (en) | Image processing apparatus and method | |
| US7586657B2 (en) | Color processing method | |
| Spaulding et al. | UltraColor: A new gamut-mapping strategy | |
| US7961366B2 (en) | Color gamut modification and color mapping method and apparatus | |
| US6995881B2 (en) | Image processing method and program capable of reducing graininess | |
| US6896347B2 (en) | Image processing method, image processing apparatus, storage medium and computer program | |
| US7733525B2 (en) | Gamut mapping method and apparatus | |
| JP2005176280A (en) | Color image processing method, color image processing apparatus, color image processing program, and storage medium | |
| JP2002344755A (en) | Color correction method | |
| JP2006211093A (en) | COLOR CORRECTION DEVICE, COLOR CORRECTION METHOD, PROGRAM, AND RECORDING MEDIUM | |
| JP2007028148A (en) | Color conversion apparatus, method, program, and recording medium | |
| JP4380503B2 (en) | Lookup table creation method and separation method | |
| JP2000050099A (en) | Method for converting unprintable color value into printable color value, picture reproduction system for reproducing color picture, and control means provided with color conversion means fitted to the system | |
| JP4159912B2 (en) | Color conversion method with hue correction using multiple lookup tables and interpolation | |
| US20070211267A1 (en) | System and method for extracting grayscale data within a prescribed tolerance |