JP2001036757A - Compression and expansion method for color reproduction space - Google Patents
- ️Fri Feb 09 2001
【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION
【0001】[0001]
【発明の属する技術分野】本発明は、画像入出力手段の
色再現空間の形状や大きさが異なる場合に行われる色再
現空間同士の対応付けのための変換に関する方法であっ
て、色再現領域を滑らかに維持し、かつ色の見えや階調
を保ったまま色再現空間の異なる画像入出力手段と対応
付けができ、さらにこの対応付けを好みに応じて調整す
ることのできる色再現空間の圧縮・伸張方法の技術分野
に属する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method related to conversion for associating color reproduction spaces with each other performed when the shape and size of the color reproduction space of the image input / output means are different. Of the color reproduction space, which can be adjusted to the image input / output means having different color reproduction spaces while maintaining the color appearance and gradation while maintaining the smoothness of the color reproduction space. Belongs to the technical field of compression and expansion methods.
【0002】[0002]
【従来の技術】今日、カラーCRTモニタやカラー液晶
モニタ等やカラープリンタ等が広く普及し、カラー画像
の画像入出力装置として広く利用されている。これらの
画像入出力装置は、通常、R(赤)、G(緑)、B
(青)やC(シアン)、M(マゼンダ)、Y(イエロ
ー)やC、M、Y、K(黒)に係る画像データを制御す
ることで所望の色を持つカラー画像を表示しあるいはプ
リント出力することができる。しかしながら、このよう
な色画像データは、画像入出力装置の出力特性、分光感
度特性に依存するため、特性の異なる画像入出力装置に
出力する場合、その特性を考慮して画像データの色変換
を行う必要が有る。特に、カラーCRTモニタやカラー
液晶モニタとカラープリンタ間では分光感度特性がく異
なるために、例えばカラーCRTモニタで表示された画
像の色がカラープリンタに出力された画像の色とある程
度一致するように、色変換を最適に行って色の見えの一
致を行う必要がある。2. Description of the Related Art Today, color CRT monitors, color liquid crystal monitors, color printers and the like have become widespread, and are widely used as image input / output devices for color images. These image input / output devices usually include R (red), G (green), B
Display or print a color image having a desired color by controlling image data related to (blue), C (cyan), M (magenta), Y (yellow), C, M, Y, and K (black). Can be output. However, since such color image data depends on the output characteristics and spectral sensitivity characteristics of the image input / output device, when outputting to image input / output devices having different characteristics, the color conversion of the image data is performed in consideration of the characteristics. You need to do it. In particular, since the spectral sensitivity characteristics are very different between a color CRT monitor or a color liquid crystal monitor and a color printer, for example, the color of an image displayed on a color CRT monitor may match the color of an image output to a color printer to some extent. It is necessary to perform color conversion optimally to match the color appearance.
【0003】このような色変換を行うためには、画像入
出力装置の表示可能な色再現空間を、色変換する変換先
の画像入出力装置の色再現空間と対応させる必要が有
り、すなわち、画像入出力装置に表示される色再現空間
内を構成する色の点を変換先の画像入出力装置の色再現
空間内の色の点に1対1に写像することのできる色変
換、すなわち、色再現空間の圧縮や伸張方法が必要であ
る。しかも、その際、色変換によって、色相をはじめ明
度や彩度が色再現領域において滑らかに維持され、かつ
色の見えや階調を保つ色再現空間の圧縮や伸張であるこ
とが必要である。In order to perform such color conversion, it is necessary to make the displayable color reproduction space of the image input / output device correspond to the color reproduction space of the destination image input / output device for color conversion. A color conversion that can map one-to-one mapping of the color points that make up the color reproduction space displayed on the image input / output device to the color points in the color reproduction space of the destination image input / output device; A method of compressing and expanding the color reproduction space is required. In addition, at this time, it is necessary to compress or expand a color reproduction space in which the hue as well as the lightness and saturation are smoothly maintained in the color reproduction region by color conversion, and the color appearance and gradation are maintained.
【0004】このような色再現空間は、一般に画像入出
力装置に依存しない画像データ、例えば、国際照明委員
会(CIE)が規定するCIEXYZ表示系の3刺激値
(X,Y,Z)を用いて得られるCIEL* a* b* 表
色系の明度指数L* (明度)および知覚色度指数a* ,
b* (色相および彩度)等の画像データによって形成さ
れる均等色空間上の色再現空間が利用されている。Such a color reproduction space generally uses image data independent of an image input / output device, for example, tristimulus values (X, Y, Z) of a CIEXYZ display system specified by the International Commission on Illumination (CIE). Index L * (lightness) and perceived chromaticity index a * of the CIEL * a * b * color system obtained by
A color reproduction space on a uniform color space formed by image data such as b * (hue and saturation) is used.
【0005】[0005]
【発明が解決しようとする課題】この均等色空間上の色
再現空間を用いることによって、例えばカラーCRTモ
ニタやカラー液晶モニタとカラースキャナとの間では、
色再現空間の特性はともに線型であり色再現空間の特徴
も近いことから、色再現空間の圧縮や伸張を行って色再
現空間内の点を対応付ける(カラーマッチングを行う)
ことが容易にできる。しかし、カラーCRTモニタやカ
ラー液晶モニタ等の透過光を用いて画像表示する加法混
色系は、高明度領域においても色再現域が広く、色を鮮
やかに出力するが、カラープリンタ等の反射光を用いて
画像表示する減法混色系では、高明度領域において十分
に高彩度の色を出力することはできず、比較的低明度領
域で色再現が広く、色再現空間が大きく異なるため、カ
ラーCRTモニタやカラー液晶モニタとカラープリンタ
との間で色再現空間の圧縮や伸張を行って対応付けを行
うことは困難である。また、カラープリンタ同士では、
色再現空間のエッジ部分の形状が直線的でなく丸みを持
った非線形の形状をしているため、色再現空間を圧縮や
伸張を行って対応付けを行うことは困難である。By using the color reproduction space on the uniform color space, for example, between a color CRT monitor or a color liquid crystal monitor and a color scanner,
Since the characteristics of the color reproduction space are both linear and the characteristics of the color reproduction space are similar, the points in the color reproduction space are matched by performing compression and expansion of the color reproduction space (color matching is performed).
Can be done easily. However, an additive color mixture system that displays an image using transmitted light from a color CRT monitor or a color liquid crystal monitor has a wide color reproduction range even in a high-brightness region and outputs colors vividly. In the subtractive color mixing system that displays images by using a color CRT monitor, it is not possible to output sufficiently high-saturation colors in a high-brightness region, and color reproduction is wide in a relatively low-brightness region and the color reproduction space is significantly different. It is difficult to perform correspondence between the color liquid crystal monitor and the color printer by compressing or expanding the color reproduction space. Also, between color printers,
Since the shape of the edge portion of the color reproduction space is not linear but has a non-linear shape with roundness, it is difficult to perform compression and expansion of the color reproduction space to make correspondence.
【0006】このような色再現空間の圧縮や伸張に対し
て、特許第2845523号公報では、色再現範囲の比
に応じて色再現範囲を拡大し、また色再現空間を彩度方
向に拡大写像する場合、色再現範囲の重なる部分の中央
部は写像変換せず、その周辺部のみを写像変換する簡易
的な方法を提案している。また、特開平5−29843
7号公報では、色再現空間上の色相および明度を固定し
て、彩度のみを圧縮する画像処理装置を提案している。
しかし、これらはいずれも色変換される変換先の画像出
力装置の色再現空間の形状を十分に考慮して色再現空間
の対応付けを行っておらず、またユーザの好みに応じて
色再現空間の対応付けを調整する処理が行われていない
ため、色再現領域を滑らかに維持し、かつ色の見えや階
調を保ったまま色再現空間の対応付けがユーザの満足の
いく程度に実現できない。また、特開平7−12283
号公報では、色再現空間を有限要素法を用いてモデル化
し、弾性係数を入力して、弾性変形させることによっ
て、異なる色再現空間に対応付けを行うことを提案して
いる。しかし、弾性係数は、有限要素の微小領域ごとに
入力する必要があり、ユーザがこの係数を調整指示しな
ければならない。そのため、調整指示作業が煩雑であ
り、変換後の色と対応付けを行うのは困難である。To cope with such compression and expansion of the color reproduction space, Japanese Patent No. 2,845,523 discloses that the color reproduction range is expanded in accordance with the ratio of the color reproduction range, and that the color reproduction space is enlarged in the saturation direction. In such a case, a simple method has been proposed in which the central portion of the overlapping portion of the color reproduction ranges is not subjected to mapping conversion, and only the peripheral portion is subjected to mapping conversion. In addition, Japanese Patent Application Laid-Open No. 5-29843
Japanese Patent Application Laid-Open No. 7-212139 proposes an image processing apparatus that fixes only the saturation while fixing the hue and brightness in the color reproduction space.
However, none of these methods takes into account the shape of the color reproduction space of the image output device to which the color is to be converted, and does not associate the color reproduction spaces with each other. Since the process of adjusting the correspondence of the color reproduction space is not performed, the correspondence of the color reproduction space cannot be realized to a degree satisfactory to the user while maintaining the color reproduction region smoothly and maintaining the color appearance and gradation. . Also, Japanese Patent Application Laid-Open No. 7-12283
Japanese Patent Application Laid-Open Publication No. H11-163456 proposes that a color reproduction space is modeled by using a finite element method, an elastic coefficient is input, and the color reproduction space is elastically deformed so as to be associated with a different color reproduction space. However, it is necessary to input the elastic coefficient for each minute area of the finite element, and the user must instruct the adjustment of this coefficient. Therefore, the adjustment instruction work is complicated, and it is difficult to associate the color with the converted color.
【0007】そこで、本発明は、上記問題点を克服し、
画像入出力手段の色再現空間の形状や大きさが異なり、
色再現空間同士の対応付けを行う際に、カラープリンタ
等の色再現空間内の領域を活かしながら、所望のカラー
マッチングが行えるように、色再現領域を滑らかに維持
し、かつ色の見えや階調を保ったまま色再現空間の異な
る画像入出力手段と対応付けができ、さらにこの対応付
けを好みに応じて容易に調整することのできる色再現空
間の圧縮・伸張方法を提供することを目的とする。Therefore, the present invention overcomes the above problems,
The shape and size of the color reproduction space of the image input / output means are different,
When associating the color reproduction spaces with each other, the color reproduction region is maintained smoothly, and the color appearance and the gradation are controlled so that desired color matching can be performed while utilizing the region in the color reproduction space of a color printer or the like. It is an object of the present invention to provide a color reproduction space compression / expansion method that can be associated with image input / output means having a different color reproduction space while maintaining the tone, and furthermore, this association can be easily adjusted as desired. And
【0008】[0008]
【課題を解決するための手段】上記目的を達成するため
に、本発明第1の態様は、第1の画像入出力手段の色再
現空間を、色再現空間の形状または大きさの異なる第2
の画像入出力手段の色再現空間に変換する色再現空間の
圧縮・伸張方法であって、均等色空間上の同一色相面内
に表示される第1の画像入出力手段の色再現領域の彩度
を、前記同一色相面内において圧縮または伸張する彩度
圧縮・伸張ステップと、この圧縮または伸張した色再現
領域の明度を同一色相面内で修正するステップであっ
て、彩度値が0の時は修正せず、前記圧縮または伸張し
た色再現領域の最大彩度値を持つ最高彩度点を、前記第
2の画像入出力手段の色再現空間の前記同一色相面内に
表される色再現領域内の所定の点に修正し、彩度値が0
以上前記最大彩度値以下の範囲で彩度値が高くなるにつ
れ非線形に修正量を変化させて修正する明度修正ステッ
プと、前記彩度圧縮・伸張ステップおよび前記明度修正
ステップで処理された色再現領域を、前記同一色相面内
で前記第2の画像入出力手段の色再現領域内に圧縮また
は伸張して対応させる明度圧縮・伸張ステップとを備え
ることを特徴とする色再現空間の圧縮・伸張方法を提供
するものである。According to a first aspect of the present invention, a color reproduction space of a first image input / output unit is formed by a second color reproduction space having a different shape or size.
A color reproduction space compression / expansion method for converting a color reproduction space into a color reproduction space of the image input / output means, wherein the color reproduction area of the first image input / output means is displayed in the same hue plane on the uniform color space. A saturation compression / expansion step of compressing or expanding the degree within the same hue plane, and a step of correcting the lightness of the compressed or expanded color reproduction area within the same hue plane, wherein the saturation value is 0. When the time is not corrected, the highest chroma point having the maximum chroma value of the compressed or expanded color reproduction area is set to the color represented in the same hue plane of the color reproduction space of the second image input / output means. Correct to a predetermined point in the reproduction area, and set the saturation value to 0
A lightness correction step of changing the correction amount in a non-linear manner as the saturation value increases in the range not more than the maximum saturation value, and a color reproduction processed in the saturation compression / expansion step and the lightness correction step A brightness compression / expansion step of compressing / expanding an area within the color reproduction area of the second image input / output means within the same hue plane to make the area correspond to the color reproduction area. It provides a method.
【0009】その際、前記第1の画像入出力手段の色再
現空間に、前記色再現空間の圧縮・伸張方法を用いて圧
縮または伸張を施す前に、前記第2の画像入出力手段の
色再現領域のエッジ形状を前記第1の画像入出力手段の
色再現領域のエッジ形状に応じて修正を行う色再現領域
補正ステップを備えるのが好ましく、また、前記色再現
空間の圧縮・伸張方法を用いて前記第1の画像入出力手
段の色再現空間に圧縮または伸張を施す前に、前記第1
の画像入出力手段の色再現領域または前記第2の画像入
出力手段の色再現領域のエッジ形状の非線形部を線形に
修正する非線形補正ステップを備えるのが好ましい。At this time, before the color reproduction space of the first image input / output means is compressed or expanded using the compression / expansion method of the color reproduction space, the color of the second image input / output means is changed. It is preferable that the method further comprises a color reproduction area correction step of correcting the edge shape of the reproduction area according to the edge shape of the color reproduction area of the first image input / output unit. Before applying compression or decompression to the color reproduction space of the first image input / output means using the first
It is preferable to include a non-linear correction step of linearly correcting the non-linear portion of the edge shape of the color reproduction area of the image input / output means or the color reproduction area of the second image input / output means.
【0010】さらに、前記色再現空間の圧縮・伸張方法
を用いて色再現空間を圧縮または伸張する際に、色再現
空間の補正のために、色相、彩度範囲および明度範囲の
うち少なくとも1つの調整を行う調整パラメータを設
け、圧縮または伸張する変換先の色再現空間の対応する
色相、彩度範囲および明度範囲のうち少なくとも1つを
調整するのが好ましい。その際、前記色相、彩度範囲お
よび明度範囲のうち少なくとも1つの調整を行う調整パ
ラメータは、原色に関する調整パラメータであるのが好
ましく、色再現空間の補正を行うために算出される色再
現域補正パラメータは、均等色空間上、着目する色相の
両側に位置する原色の前記調整パラメータから前記着目
する色相の位置に応じて補間することにより、前記着目
する色相のデータに加算される色再現域補正量を求める
のが好ましい。Further, when the color reproduction space is compressed or expanded using the color reproduction space compression / expansion method, at least one of a hue, a saturation range, and a lightness range is used to correct the color reproduction space. It is preferable to provide an adjustment parameter for adjustment and adjust at least one of the corresponding hue, saturation range, and lightness range of the color reproduction space of the conversion destination to be compressed or expanded. At this time, the adjustment parameter for adjusting at least one of the hue, the saturation range, and the lightness range is preferably an adjustment parameter related to a primary color, and a color gamut correction calculated for correcting a color reproduction space. The parameter is a color reproduction gamut correction that is added to the data of the target hue by interpolating from the adjustment parameters of the primary colors located on both sides of the target hue on the uniform color space according to the position of the target hue. It is preferred to determine the amount.
【0011】また、前記第1の画像入出力手段の色再現
空間に前記色再現空間の圧縮・伸張方法を施す前に、前
記第1の画像入出力手段の色再現空間または前記第2の
画像入出力手段の色再現空間内の白色の点または黒色の
点が、均等色空間上の明度軸上に位置しない場合、白色
の点および白色近傍領域または黒色の点および黒色近傍
領域を修正して、白色の点および黒色の点を前記明度軸
上に修正する白色黒色調整ステップと、この明度軸上に
調整された白色の点および黒色の点の位置によって定ま
る前記第1の画像入出力手段の色再現空間の明度範囲と
前記第2の画像入出力手段の色再現空間の明度範囲とを
拡大または縮小させて一致させる明度範囲調整ステップ
と、前記色再現領域補正ステップ、または前記非線形補
正ステップで色再現領域のエッジ形状を補正して定め、
色再現領域に応じた色再現域補正パラメータを算出する
色再現域補正パラメータ算出ステップと、この色再現域
補正パラメータ算出ステップで算出された色再現域補正
パラメータを用いて、色相毎に補正された色再現領域を
求め、色再現空間の圧縮または伸張の対象とする前記第
1の画像入出力手段の色再現空間、または色再現空間の
圧縮または伸張先の前記第2の画像入出力手段の色再現
空間とする色再現空間算出ステップとを備えるのが好ま
しい。Further, before applying the method for compressing / expanding the color reproduction space to the color reproduction space of the first image input / output means, the color reproduction space of the first image input / output means or the second image may be used. When the white point or black point in the color reproduction space of the input / output means is not located on the lightness axis in the uniform color space, the white point and the white vicinity area or the black point and the black vicinity area are corrected. Adjusting a white point and a black point on the lightness axis; and adjusting the white and black points on the lightness axis by the positions of the white point and the black point adjusted on the lightness axis. A lightness range adjusting step of enlarging or reducing the lightness range of the color reproduction space and the lightness range of the color reproduction space of the second image input / output unit to match, and the color reproduction area correction step or the non-linear correction step. Color Determined to correct the area of the edge shape,
A color gamut correction parameter calculation step of calculating a color gamut correction parameter according to the color gamut, and a color gamut correction parameter calculated in the color gamut correction parameter calculation step are corrected for each hue. The color reproduction space of the first image input / output unit which is to be subjected to compression or expansion of the color reproduction space, or the color of the second image input / output unit which is the compression or expansion destination of the color reproduction space. And a color reproduction space calculation step to be a reproduction space.
【0012】また、上記色再現空間の圧縮・伸張方法で
あって、前記色再現領域補正ステップは、前記第2の画
像入出力手段の色再現領域の原色の色相を、前記第1の
画像入出力手段の色再現領域内の原色の色相に合わせる
ことにより、前記第2の画像入出力手段の色再現領域の
エッジ形状を補正し、前記非線形補正ステップは、均等
色空間上の同一色相面内で、前記第1の画像入出力手段
または前記第2の画像入出力手段の色再現領域上のエッ
ジ形状の彩度の変化に対する明度の変化が非線形である
場合に、前記色再現領域上のエッジ形状の彩度の変化に
対する明度の変化を線形に修正することが好ましい。In the above-mentioned method for compressing / expanding a color reproduction space, the color reproduction area correcting step includes the steps of: converting a hue of a primary color of a color reproduction area of the second image input / output means into the first image input / output means; The edge shape of the color reproduction area of the second image input / output means is corrected by matching the hue of the primary color in the color reproduction area of the output means, and the non-linear correction step is performed in the same hue plane on a uniform color space. When the change in brightness with respect to the change in saturation of the edge shape on the color reproduction area of the first image input / output means or the second image input / output means is non-linear, the edge on the color reproduction area is It is preferable to linearly correct the change in lightness with respect to the change in saturation of the shape.
【0013】また、前記明度圧縮・伸張ステップは、圧
縮または伸張する色再現領域のエッジ近傍は圧縮または
伸張の比率が大きく、圧縮または伸張する色再現領域の
エッジ近傍から離れるにつれて圧縮または伸張の比率が
小さくなる非線形の圧縮または伸張を行うことが好まし
く、その際、前記明度圧縮・伸張ステップは、圧縮また
は伸張される色再現領域内において、彩度値を一定とし
て圧縮または伸張する際、一定の彩度値での最大明度値
と最小明度値の中間値の値を持つ中間点では圧縮または
伸張の比率が0となるように固定し、この中間点から離
れるにしたがって圧縮または伸張の比率が大きくなる圧
縮・伸張方法であり、前記圧縮または伸張の比率が予め
設定された最大圧縮比率または最大伸張比率を超える場
合、前記最大圧縮比率および前記最大伸張比率に納まる
ように、前記中間点の圧縮または伸張による変換先を移
動させることが好ましく、さらにその際、前記中間点を
変換によって移動しても、前記圧縮または伸張比率が予
め設定された前記最大圧縮比率または前記最大伸張比率
を超える場合、前記第1の画像入出力手段の色再現領域
の前記中間点の彩度値と同じ前記第2の画像入出力手段
の色再現領域内の彩度値における最大明度値と最小明度
値の中間値の値を持つ点を固定点とし、この固定点では
圧縮・伸張比率が0であり、この固定点から離れるにし
たがって圧縮または伸張比率が増大し、最大明度値およ
び最小明度値では、前記最大圧縮比率または前記最大伸
張比率となる圧縮または伸張を行い、その後線型的に圧
縮または伸張することが好ましい。In the brightness compression / expansion step, the compression / expansion ratio is large near the edge of the color reproduction region to be compressed or expanded, and the compression / expansion ratio increases as the distance from the edge of the color reproduction region to be compressed or expanded increases. It is preferable to perform a non-linear compression or expansion to reduce the brightness, and in this case, the brightness compression / expansion step includes, when compressing or expanding with a constant saturation value in a color reproduction region to be compressed or expanded, At the intermediate point having an intermediate value between the maximum lightness value and the minimum lightness value in the saturation value, the compression or expansion ratio is fixed at 0, and the compression or expansion ratio increases as the distance from the intermediate point increases. Compression / expansion method, wherein when the compression or expansion ratio exceeds a preset maximum compression ratio or maximum expansion ratio, the maximum compression It is preferable to move the conversion destination by compression or expansion of the intermediate point so that the compression or expansion ratio falls within the maximum expansion ratio. When the set maximum compression ratio or the maximum expansion ratio is exceeded, the color reproduction area of the second image input / output unit is the same as the saturation value of the intermediate point of the color reproduction area of the first image input / output unit. A fixed point is a point having an intermediate value between the maximum lightness value and the minimum lightness value in the saturation values in the table. At this fixed point, the compression / expansion ratio is 0, and the compression or expansion ratio increases as the distance from the fixed point increases. It is preferable to perform compression or expansion at the maximum compression ratio or the maximum expansion ratio at the maximum brightness value and the minimum brightness value, and then perform linear compression or expansion.
【0014】また、上記本発明の第1の態様は、前記彩
度圧縮・伸張ステップの前に、前記第1の画像入出力手
段および前記第2の画像入出力手段の色再現領域の共通
領域のうち、同一色相面内で最大の彩度値を持つ共通領
域最高彩度点を予め求め、前記彩度圧縮・伸張ステップ
において、圧縮または伸張する色再現領域の最高彩度点
の彩度値を前記共通領域最高彩度点の彩度値とする圧縮
または伸張を色再現領域に対して行い、その後、前記明
度修正ステップにおいて、彩度の圧縮または伸張の変換
の施された色再現領域の最高彩度点を前記共通領域最高
彩度点に一致させる明度値の修正を行い、その後、前記
明度圧縮・伸張ステップにおいて、前記明度修正ステッ
プで修正された色再現領域を圧縮または伸張して、前記
第1の画像入出力手段および前記第2の画像入出力手段
の色再現領域の共通領域に変換させる色再現空間の圧縮
・伸張方法を色相面毎に行うのが好ましい。In the first aspect of the present invention, a common area of a color reproduction area of the first image input / output unit and the second image input / output unit is provided before the saturation compression / expansion step. Among them, the highest saturation point in the common area having the highest saturation value in the same hue plane is obtained in advance, and in the saturation compression / expansion step, the saturation value of the highest saturation point of the color reproduction area to be compressed or expanded is obtained. Is performed on the color reproduction region as the saturation value of the common region highest saturation point, and then, in the lightness correction step, the color reproduction region subjected to the saturation compression or expansion conversion is Correcting the lightness value to match the highest chroma point to the common region highest chroma point, then, in the lightness compression / expansion step, compress or expand the color reproduction area corrected in the lightness correction step, The first image input / output Preferably performed stage and the second compression and decompression method of the color reproduction space to be converted to a common area of the color reproduction region of the image output means for each hue plane.
【0015】また、上記本発明の第1の態様は、前記彩
度圧縮・伸張ステップの前に、均等色空間上の同一色相
面内において、前記第1の画像入出力手段の色再現領域
の前記最高彩度点の明度値と等しい明度値を持つ前記第
2の画像入出力手段の色再現領域のエッジ上の彩度値C
1 を求め、前記同一色相面内で、前記第1の画像入出力
手段および前記第2の画像入出力手段の色再現領域の共
通領域のうち、最大の彩度値を持つ共通領域最高彩度点
の彩度値C2 を求め、さらに、前記同一色相面内で、前
記第2の画像入出力手段の色再現領域の最高彩度点の彩
度値C3 を求め、これら求められた彩度値のうち、前記
彩度値C2 を中心として前記彩度値C1および前記彩度
値C3 を調整最大範囲とする彩度範囲の調整を行う前記
調整パラメータを設定し、この調整パラメータを用いて
前記彩度値C1 、彩度値C2 および彩度値C3 から補間
によって彩度値を求め、この彩度値を有する、前記第2
の画像入出力手段の色再現領域のエッジ上で前記最高彩
度点の明度値に近い方の点を求めて修正最高彩度点と
し、前記彩度圧縮・伸張ステップにおいて、圧縮または
伸張する色再現領域の最高彩度点の彩度値を、前記修正
最高彩度点の彩度値とする圧縮または伸張を前記第1の
画像入出力手段の色再現領域に施し、その後、前記明度
修正ステップにおいて、色再現領域の最高彩度点の明度
値を前記修正最高彩度点の明度値に一致させる明度値の
修正を、彩度の圧縮または伸張の変換の施された色再現
領域に対して行うことが好ましい。Further, in the first aspect of the present invention, the color reproduction area of the first image input / output means may be provided in the same hue plane on a uniform color space before the saturation compression / expansion step. A saturation value C on an edge of a color reproduction area of the second image input / output unit having a brightness value equal to the brightness value of the highest saturation point.
1 and, within the same hue plane, a common area having the highest chroma value among the common areas of the color reproduction areas of the first image input / output unit and the second image input / output unit. The saturation value C 2 of the point is determined, and the saturation value C 3 of the highest saturation point in the color reproduction area of the second image input / output means is determined in the same hue plane. Setting the adjustment parameter for adjusting a saturation range having the saturation value C 1 and the saturation value C 3 as a maximum adjustment range around the saturation value C 2 among the saturation values; The saturation value is obtained by interpolation from the saturation value C 1 , the saturation value C 2, and the saturation value C 3 using
A point closer to the lightness value of the highest chroma point on the edge of the color reproduction area of the image input / output means is determined as a corrected highest chroma point, and the color to be compressed or expanded in the chroma compression / expansion step is Compressing or expanding the saturation value of the highest saturation point in the reproduction area to the saturation value of the corrected highest saturation point in the color reproduction area of the first image input / output unit; In the correction of the lightness value to match the lightness value of the highest chroma point of the color reproduction area to the lightness value of the corrected highest chroma point, for the color reproduction area subjected to saturation compression or expansion conversion It is preferred to do so.
【0016】その際、前記明度圧縮・伸張ステップは、
明度の圧縮または伸張を行う前に、均等色空間上の同一
色相面内において、前記第1の画像入出力手段の色再現
領域と前記第2の画像入出力手段の色再現領域との共通
領域、および前記明度修正ステップにおいて、明度修正
の施された色再現領域の両方に属する色再現領域を一致
度重視領域として求め、さらに、前記同一色相面におい
て、前記第2の画像入出力手段の色再現領域内のエッジ
の一部を、前記一致度重視領域の外側にあり前記第2の
画像入出力手段の色再現領域の内側にあって、彩度値0
より彩度値が大きくなるにつれ前記第2の画像入出力手
段の色再現領域内に非線形的に曲がり、前記修正最高彩
度点の彩度値において前記修正最高彩度点に到る曲線と
取り替えて得られる色再現領域を色再現範囲重視領域と
して求め、この色再現範囲重視領域と前記一致度重視領
域とを用い、設定された明度範囲の調整を行う前記調整
パラメータから補間して、修正明度領域を色相面ごとに
得、さらにその後、前記明度圧縮・伸張ステップにおい
て、前記明度修正ステップで修正された色再現領域を圧
縮または伸張して、前記修正明度領域に変換させる色再
現空間の圧縮・伸張方法を色相面毎に行うことが好まし
い。At this time, the brightness compression / expansion step includes:
Before performing compression or decompression of lightness, a common area between the color reproduction area of the first image input / output unit and the color reproduction area of the second image input / output unit in the same hue plane in the uniform color space And in the brightness correction step, a color reproduction region belonging to both of the color reproduction regions subjected to the brightness correction is determined as a matching importance region, and further, the color of the second image input / output unit is determined on the same hue plane. A part of the edge in the reproduction area is located outside the coincidence priority area and inside the color reproduction area of the second image input / output means, and has a saturation value of 0.
As the saturation value increases, the curve bends nonlinearly in the color reproduction area of the second image input / output means, and replaces the curve at the corrected maximum saturation point with the curve reaching the corrected maximum saturation point. The color reproduction area obtained by the above is obtained as a color reproduction range emphasis area, and the adjusted lightness range is adjusted by using the color reproduction area emphasis area and the coincidence degree emphasis area, and the corrected lightness is adjusted. An area is obtained for each hue plane, and thereafter, in the lightness compression / expansion step, the color reproduction area corrected in the lightness correction step is compressed or expanded to convert the color reproduction space to the corrected lightness area. It is preferred that the stretching method be performed for each hue plane.
【0017】また、前記彩度圧縮・伸張ステップ、また
は、前記明度圧縮・伸張ステップで行われる圧縮または
伸張の変換は、規格化された0以上1以下の変換前の値
をXとし、規格化された変換後の値をFとして、下記式
(1)で表される変換であるのが好ましい。 F = (k−1)・X2 + X (1) ただし、kは、圧縮・伸張比率である。In the compression / expansion conversion performed in the saturation compression / expansion step or the lightness compression / expansion step, a normalized value of 0 or more and 1 or less before conversion is defined as X, It is preferable that the conversion is represented by the following equation (1), where F is the converted value. F = (k−1) · X 2 + X (1) where k is a compression / expansion ratio.
【0018】また、本発明の第2の態様は、第1の画像
入出力手段の色再現空間を、色再現空間の形状または大
きさの異なる第2の画像入出力手段の色再現空間に変換
する色再現空間の圧縮または伸張を行う前に、前記第2
の画像入出力手段の色再現領域のエッジ形状を前記第1
の画像入出力手段の色再現領域のエッジ形状に応じて修
正を行うことを特徴とする色再現空間の圧縮・伸張方法
を提供することである。According to a second aspect of the present invention, a color reproduction space of the first image input / output unit is converted into a color reproduction space of the second image input / output unit having a different shape or size of the color reproduction space. Before performing compression or decompression of the color reproduction space,
The edge shape of the color reproduction area of the image input / output means
The present invention provides a method for compressing / expanding a color reproduction space, wherein the correction is performed according to the edge shape of the color reproduction area of the image input / output means.
【0019】また、本発明の第3の態様は、第1の画像
入出力手段の色再現空間を、色再現空間の形状または大
きさの異なる第2の画像入出力手段の色再現空間に変換
する色再現空間の圧縮または伸張を行う前に、前記第1
の画像入出力手段の色再現領域または前記第2の画像入
出力手段の色再現領域のエッジ形状の非線形部を線形に
修正することを特徴とする色再現空間の圧縮・伸張方法
を提供するものである。According to a third aspect of the present invention, a color reproduction space of the first image input / output unit is converted into a color reproduction space of the second image input / output unit having a different shape or size of the color reproduction space. Before performing compression or decompression of the color reproduction space,
And a method for linearly correcting a non-linear portion of an edge shape of the color reproduction area of the image input / output means or the color reproduction area of the second image input / output means. It is.
【0020】また、本発明の第4の態様は、第1の画像
入出力手段の色再現空間を、色再現空間の形状または大
きさの異なる第2の画像入出力手段の色再現空間に変換
する色再現空間の圧縮または伸張を行う際に、色再現空
間の補正のために、色相、彩度範囲および明度範囲のう
ち少なくとも1つの調整を行う調整パラメータを設け、
圧縮または伸張する変換先の色再現空間の対応する色
相、彩度範囲および明度範囲のうち少なくとも1つを調
整することを特徴とする色再現空間の圧縮・伸張方法を
提供するものである。According to a fourth aspect of the present invention, a color reproduction space of the first image input / output unit is converted into a color reproduction space of the second image input / output unit having a different shape or size of the color reproduction space. When performing compression or expansion of the color reproduction space to be performed, an adjustment parameter for adjusting at least one of hue, saturation range, and lightness range is provided for correction of the color reproduction space,
An object of the present invention is to provide a color reproduction space compression / expansion method characterized by adjusting at least one of a hue, a saturation range, and a lightness range corresponding to a color reproduction space of a conversion destination to be compressed or expanded.
【0021】また、本発明の第5の態様は、第1の画像
入出力手段の色再現空間を、色再現空間の形状または大
きさの異なる第2の画像入出力手段の色再現空間に変換
する色再現空間の圧縮または伸張を行う際に、同一色相
面内において、前記第1の画像入出力手段の色再現領域
が圧縮または伸張されても、この圧縮または伸張の前後
において明度値、彩度値および色相値の大小関係が維持
され、画像の階調あるいは色の見えが少なくとも一致す
る一致度重視領域と、この一致度重視領域を含み、前記
第2の画像入出力手段の色再現領域内に含まれ、前記第
2の画像入出力手段において出力される色再現範囲が前
記一致度重視領域よりも広くなる色再現範囲重視領域と
を予め求め、この求められた一致度重視領域と色再現範
囲重視領域とを用い、重視度の度合いに応じて補間され
て求められる色再現領域を変換先の色再現空間として、
圧縮または伸張を行うことを特徴とする色再現空間の圧
縮・伸張方法を提供するものである。According to a fifth aspect of the present invention, the color reproduction space of the first image input / output means is converted to the color reproduction space of the second image input / output means having a different shape or size of the color reproduction space. When the color reproduction space of the first image input / output unit is compressed or expanded in the same hue plane when performing the compression or expansion of the color reproduction space to be performed, the brightness value and the color value before and after the compression or expansion are compressed. The magnitude relationship between the degree value and the hue value is maintained, and a matching-priority area where at least the gradation or color appearance of the image matches, and a color-reproduction area of the second image input / output unit including the matching-priority area And a color reproduction range emphasized area in which the color reproduction range output by the second image input / output means is wider than the coincidence degree emphasized area is determined in advance. Use the reproduction range emphasis area As the destination of the color reproduction space the color reproduction range obtained are interpolated according to the degree of emphasis degree,
An object of the present invention is to provide a compression / expansion method of a color reproduction space characterized by performing compression or expansion.
【0022】[0022]
【発明の実施の形態】以下、本発明の色再現空間の圧縮
・伸張方法について、本発明の色再現空間の圧縮・伸張
方法を実施する画像処理装置に基づいて、添付の図面に
示される好適実施例を基に詳細に説明する。BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, a method for compressing and expanding a color reproduction space according to the present invention will be described with reference to the accompanying drawings based on an image processing apparatus for implementing the method for compressing and expanding a color reproduction space according to the present invention. This will be described in detail based on an embodiment.
【0023】図1に、本発明の色再現空間の圧縮・伸張
方法を実施する画像処理装置10を示す。画像処理装置
10は、カラースキャナ等から読み込まれ、明度補正や
コントラスト補正やエッジ強調処理等の種々の処理の施
されたカラーモニタ12に出力可能なRGB画像データ
を入力とし、カラープリンタ14に適合したCMY画像
データを出力とする画像処理装置であるとともに、RG
B画像データからカラープリンタ14に出力するための
CMY画像データを得るために、本発明の色再現空間の
圧縮・伸張方法を用いて、RGB画像データに施す変換
処理を求める画像処理装置である。FIG. 1 shows an image processing apparatus 10 for implementing the color reproduction space compression / expansion method of the present invention. The image processing apparatus 10 receives RGB image data read from a color scanner or the like and subjected to various processings such as brightness correction, contrast correction, and edge enhancement processing and can be output to a color monitor 12, and is compatible with a color printer 14. An image processing apparatus that outputs the converted CMY image data.
This is an image processing apparatus that requires conversion processing to be performed on RGB image data by using the color reproduction space compression / expansion method of the present invention to obtain CMY image data to be output to the color printer 14 from B image data.
【0024】このような画像処理装置10は、均等色空
間変換部16、前処理部18、彩度圧縮・伸張処理部2
0、明度修正部22、明度圧縮・伸張処理部24、出力
画像データ変換部26、および画像入出力装置データベ
ース記憶部28とを有して構成される。さらに、画像処
理装置10には、色再現空間の圧縮や伸張の変換のため
の調整パラメータ等を入力するマウス・キーボード30
が備えられている。また、図示されないが、画像処理装
置10全体を制御するCPUや画像処理に必要な記憶手
段を備える。The image processing apparatus 10 includes a uniform color space conversion unit 16, a preprocessing unit 18, a saturation compression / expansion processing unit 2,
0, a brightness correction unit 22, a brightness compression / expansion processing unit 24, an output image data conversion unit 26, and an image input / output device database storage unit 28. Further, the image processing apparatus 10 has a mouse / keyboard 30 for inputting adjustment parameters and the like for conversion of compression and expansion of the color reproduction space.
Is provided. Although not shown, the image processing apparatus 10 includes a CPU for controlling the entire image processing apparatus 10 and storage means necessary for image processing.
【0025】カラーモニタ12は、RGB画像データか
ら画像表示すると共に、画像処理装置10と接続されて
ユーザが表示画面を見ながら、種々の調整パラメータ等
をマウス・キーボード30から入力するために用いられ
る。The color monitor 12 is used to display images from the RGB image data and is connected to the image processing apparatus 10 so that the user can input various adjustment parameters and the like from the mouse / keyboard 30 while viewing the display screen. .
【0026】均等色空間変換部16は、RGB画像デー
タを、下記式(2)に従って3刺激値XYZ表色系に変
換し、その後3刺激値(X,Y,Z)から下記式(3)
〜(5)を用いてCIEL* a* b* 表色系の明度指数
vおよび知覚色度指数a* ,b* (色相および彩度)に
変換する。The uniform color space conversion section 16 converts the RGB image data into a tristimulus value XYZ color system according to the following equation (2), and then converts the tristimulus values (X, Y, Z) into the following equation (3).
Using (5), the values are converted into a lightness index v of the CIEL * a * b * color system and perceived chromaticity indexes a * and b * (hue and saturation).
【数1】 ここで、(Xr ,Yr ,Zr )、(Xg ,Yg ,Zg )
および(Xb ,Yb ,Zb )は、原色R、GおよびBの
XYZ表色系での3刺激値であり、(R,G,B)はR
GB画像データのRGB表色系での刺激値である。 v=116(Y/Yn )(1/3) −16 (3) a* =500{(X/Xn )(1/3) −(Y/Yn )(1/3) } (4) b* =200{(Y/Yn )(1/3) −(Z/Zn )(1/3) } (5) ここで、Xn ,Yn およびZn は、基準となる3刺激値
である。式(3)〜(5)で得られたv、a* およびb
* の値は、彩度圧縮・伸張処理部20に送られる。(Equation 1) Here, ( Xr , Yr , Zr ), ( Xg , Yg , Zg )
And (X b, Y b, Z b) are the primary colors R, tristimulus values in the XYZ color system of G and B, (R, G, B) is R
This is a stimulus value in the RGB color system of the GB image data. v = 116 (Y / Y n ) (1/3) -16 (3) a * = 500 {(X / X n) (1/3) - (Y / Y n) (1/3)} (4 B * = 200 {(Y / Y n ) (1/3) − (Z / Z n ) (1/3) } (5) where X n , Y n and Z n are the reference 3 The stimulus value. V, a * and b obtained by the equations (3) to (5)
The value of * is sent to the saturation compression / expansion processing unit 20.
【0027】前処理部18は、RGB画像データに施す
変換処理を求めるために、変換前後の色再現空間の形状
に予め修正や補正の前処理を施す部分であり、この前処
理の処理方法は、カラーモニタ12やカラープリンタ1
4の色再現空間内の白色の点または黒色の点が、均等色
空間上の明度軸上に存在しない場合、すなわち色再現空
間内の白色の点または黒色の点のa* の値およびb* の
値が0でない場合、白色の点および白色近傍領域(HL
領域)または黒色の点および黒色近傍領域(SD領域)
を変換によって修正して、白色の点および黒色の点を前
記明度軸上に修正する白色黒色調整ステップ(HL・S
D調整ステップ)と、この明度軸上の白色の点および黒
色の点によって規定されるカラーモニタ12やカラープ
リンタ14の色再現空間の明度範囲を拡大または縮小さ
せてお互いに一致させる明度範囲調整ステップと、カラ
ーモニタ12やカラープリンタ14の色再現空間の形状
を補正する色再現域補正ステップと、補正された色再現
領域に応じて色再現空間全体の色再現域補正用パラメー
タを算出する色再現域補正パラメータ算出ステップと、
この色再現域補正パラメータ算出ステップで算出された
色再現域補正用パラメータを用いて、色相毎に補正され
た色再現領域を求める色再現空間算出ステップとを有し
て構成される。これら各種ステップについては、詳細に
後述する。The pre-processing section 18 is a section for performing pre-processing for correction and correction on the shape of the color reproduction space before and after the conversion in order to obtain the conversion processing to be performed on the RGB image data. , Color monitor 12 and color printer 1
No white point or black point in the color reproduction space on the lightness axis in the uniform color space, that is, the value of a * and b * of the white point or black point in the color reproduction space Is not 0, the white point and the white vicinity area (HL
Area) or black dot and black neighborhood (SD area)
Is corrected by the conversion, and the white point and the black point are corrected on the lightness axis.
D adjusting step) and a lightness range adjusting step of expanding or reducing the lightness range of the color reproduction space of the color monitor 12 or the color printer 14 defined by the white point and the black point on the lightness axis to match each other. A color gamut correction step for correcting the shape of the color gamut of the color monitor 12 and the color printer 14; and a color gamut for calculating color gamut correction parameters for the entire color gamut according to the corrected color gamut. Area correction parameter calculation step,
A color reproduction space calculation step of obtaining a color reproduction area corrected for each hue using the color reproduction area correction parameter calculated in the color reproduction area correction parameter calculation step. These various steps will be described later in detail.
【0028】図2は、カラーモニタ12やカラープリン
タ14の色再現空間を、CIEL*a* b* 表色系のv
(以降、L* をvとして表す)a* およびb* で表す均
等色空間上の色相面において表し、カラーモニタ12の
色再現領域は色再現領域R1、カラープリンタ14の色
再現領域は色再現領域R2 と表わされている。なお、横
軸の彩度sは、(a* 2 +b* 2 )(1/2) によって表さ
れる。ここで、彩度圧縮・伸張処理部20は、図2に示
されるように、色相面において、カラーモニタ12の色
再現領域R1 の最大彩度値Smax1が色再現領域R1 およ
びR2 の共通領域R3 の共通領域最高彩度点P3 の彩度
値Sc になるように、色再現領域R1 を彩度s方向に圧
縮する処理部である。本実施例では、色再現領域R1 お
よびR2 の共通領域R3 に変換するために必ず圧縮され
るが、本発明ではこれに限られず、カラープリンタ14
の色再現領域R2 に応じて、後述する圧縮・拡大変換式
を用い圧縮・伸張比率kを調整することによって、カラ
ープリンタ14の色再現領域R2 内に伸張して対応させ
る拡大変換を行うこともできる。FIG. 2 shows the color reproduction space of the color monitor 12 and the color printer 14 as v in the CIEL * a * b * color system.
(Hereinafter, L * is represented as v.) Represented on a hue plane on a uniform color space represented by a * and b * , the color reproduction area of the color monitor 12 is a color reproduction area R 1 , and the color reproduction area of the color printer 14 is a color reproduction area. It is represented as reproduction region R 2. Note that the saturation s on the horizontal axis is represented by (a * 2 + b * 2 ) (1/2) . Here, the saturation compression-decompression processing section 20, as shown in FIG. 2, in the hue plane, color maximum saturation value S max1 of the color reproduction area R 1 of the color monitor 12 is reproduced region R 1 and R 2 common area R 3 of such that the saturation value S c of the common area maximum saturation point P 3 of a processing unit for compressing the color reproduction region R 1 in the saturation direction s. In this embodiment, are always compressed to transform the common area R 3 of the color reproduction area R 1 and R 2, it is not limited thereto in the present invention, a color printer 14
By adjusting the compression / expansion ratio k using a compression / expansion conversion formula described later in accordance with the color reproduction area R 2 of the color printer 14, expansion conversion is performed to expand and correspond to the color reproduction area R 2 of the color printer 14. You can also.
【0029】明度修正部22は、彩度圧縮・伸張処理部
20によって色再現領域R1 を圧縮して得られた色再現
域R1 ’の明度を同一色相面内で修正する部分である。
この同一色相面内で行われる明度値の修正は、彩度値が
0の時は修正せず、色再現領域R1 ’の最高彩度点を、
色再現領域R1 およびR2 の共通領域R3 の最高彩度点
である共通領域最高彩度点P3 に修正し、彩度値が0以
上共通領域最高彩度点P3 の彩度値Sc の間では彩度値
が高くなるにつれ非線形に明度の修正量を変化させるも
のである。このようにして色再現領域R1 を圧縮して得
られた色再現域R1 ’の明度値を修正し、最高彩度点P
1 が共通領域R3 の共通領域最高彩度点P3 に一致する
色再現領域R1 ’’を得る。The lightness correcting section 22 is a section for correcting the lightness of the color reproduction area R 1 ′ obtained by compressing the color reproduction area R 1 by the saturation compression / expansion processing section 20 within the same hue plane.
The correction of the lightness value performed in the same hue plane is not corrected when the chroma value is 0, and the highest chroma point of the color reproduction region R 1 ′ is
Correct color reproduction region R 1 and the common area maximum saturation point P 3 is a maximum saturation point of the common region R 3 of R 2, chroma value is 0 or more common areas maximum saturation point saturation values of P 3 During S c , the correction amount of the lightness changes nonlinearly as the saturation value increases. Thus correct the brightness value of the color reproduction area R 1 gamut R 1 obtained by compressing a ', the maximum saturation point P
1 to obtain a color reproduction region R 1 that matches the common area maximum saturation point P 3 of the common region R 3 ''.
【0030】明度圧縮・伸張処理部24は、色再現領域
R1 ’’を明度v方向に圧縮または伸張を行い、色再現
領域R1 、R2 の共通領域R3 内に変換する部分であ
る。色再現領域R1 ’’は、必ずしも色再現領域R1 、
R2 の共通領域R3 内に含まれず、その結果、色再現領
域R2 に必ずしも含まれないからである。圧縮・拡大は
後述する圧縮・拡大変換式を用い行われ、圧縮・伸張比
率kを調整することによって拡大また伸張を行うことが
できる。The brightness compression / expansion processor 24 compresses or expands the color reproduction area R 1 ″ in the direction of lightness v and converts it into a common area R 3 of the color reproduction areas R 1 and R 2. . The color reproduction area R 1 ″ is not necessarily the color reproduction area R 1 ,
Not included in the common area R 3 in R 2, with the consequence that not necessarily included in the color reproduction area R 2. The compression / expansion is performed using a compression / expansion conversion formula described later, and the expansion / expansion can be performed by adjusting the compression / expansion ratio k.
【0031】出力画像データ変換部26は、画像処理装
置10においてカラープリンタ14の再現色空間内に変
換された、明度指数vおよび知覚色度指数a* ,b* に
よって表される画像データに対して、カラープリンタ1
4の出力特性に応じて定まるCMY画像データに変換さ
れる。すなわち、式(3)〜(5)に従って3刺激値X
YZ表色系に変換され、さらに公知の方法によってCM
Y画像データに変換される。The output image data converter 26 converts the image data represented by the lightness index v and the perceived chromaticity indices a * , b * converted into the reproduction color space of the color printer 14 by the image processing apparatus 10. And color printer 1
4 is converted into CMY image data determined according to the output characteristics. That is, the tristimulus value X according to the equations (3) to (5)
It is converted to a YZ color system,
It is converted to Y image data.
【0032】画像入出力装置データベース記憶部28
は、カラーモニタ12やカラープリンタ14の機種等に
応じて定まる色再現空間のデータを保存した記憶部分で
あり、これらのデータは、本発明の色再現空間の圧縮・
伸張方法を定めるためのデータとして用いられ、マウス
・キーボード30からユーザがカラーモニタ12やカラ
ープリンタ14の機種等を入力することで、画像入出力
装置データベース記憶部28から色再現空間のデータが
呼び出され、前処理部18に送られる。Image input / output device database storage unit 28
Is a storage portion for storing data of a color reproduction space determined according to the model of the color monitor 12 and the color printer 14, and the like.
The data is used as data for determining a decompression method. When a user inputs a model of the color monitor 12 or the color printer 14 from the mouse / keyboard 30, data of the color reproduction space is called from the image input / output device database storage unit 28. And sent to the preprocessing unit 18.
【0033】画像処理装置10は、カラーモニタ12や
カラープリンタ14の機種に応じて色再現空間の圧縮・
伸張方法が一旦定まると、これをRGB画像データから
CMY画像データに変換する多数のデータセットを備え
るルックアップテーブル(LUT)を作成し、このルッ
クアップテーブルによって、RGB画像データからCM
Y画像データへの変換を一括して行ってもよい。The image processing apparatus 10 compresses and reproduces a color reproduction space according to the type of the color monitor 12 and the color printer 14.
Once the decompression method is determined, a look-up table (LUT) including a number of data sets for converting the image data from RGB image data to CMY image data is created.
The conversion to the Y image data may be performed collectively.
【0034】次に、本発明の色再現空間の圧縮・伸張方
法について、画像処理装置10で行われる処理に従って
説明する。画像処理装置10は、RGB画像データを変
換してカラープリンタ14の色再現空間に適合するよう
に、本発明の色再現空間の圧縮・伸張方法に従って、R
GB画像データに対して施す均等色空間上の圧縮や伸張
の変換を定める機能を有する。まず、図3に示されるよ
うに、マウス・キーボード30でカラーモニタ12とカ
ラープリンタ14の機種を入力し、画像入出力装置デー
タベース記憶部28からカラーモニタ12とカラープリ
ンタ14の入出力装置のデータを読み込み、色再現空間
のデータを得る(ステップ100)。Next, a method for compressing and expanding the color reproduction space according to the present invention will be described in accordance with the processing performed by the image processing apparatus 10. The image processing apparatus 10 converts the RGB image data to conform to the color reproduction space of the color printer 14 in accordance with the color reproduction space compression / decompression method of the present invention.
It has a function of determining conversion of compression and expansion on a uniform color space to be performed on GB image data. First, as shown in FIG. 3, the model of the color monitor 12 and the color printer 14 is input by using the mouse / keyboard 30, and the data of the input / output devices of the color monitor 12 and the color printer 14 are stored in the image input / output device database storage unit 28. Is read to obtain color reproduction space data (step 100).
【0035】得られる色再現空間のデータは、カラーモ
ニタ14に表示され、例えば図4(a)に示されるよう
に、均等色空間上のある色相面で表示される。まず、図
4(a)に示されるように、色再現空間において白色の
点(明度vの最大値を持つ点)や黒色の点(明度vの最
小値を持つ点)が明度軸v上にない場合、白色の点およ
び白色近傍領域(HL領域)または黒色の点および黒色
近傍領域(SD領域)を調整して、白色の点および黒色
の点を明度軸v上に修正する白色黒色調整(HL・SD
調整)を行う(ステップ102)。白色黒色調整は、マ
ウス・キーボード30を用いて、表示画面上で色再現領
域のエッジ形状を形状A 1 から形状A2 に滑らかに修正
する。The data of the obtained color reproduction space is a color model.
4A, for example, as shown in FIG.
Are displayed on a certain hue plane in a uniform color space. First, figure
As shown in FIG. 4 (a), white color in the color reproduction space
Points (points with the maximum value of lightness v) and black points (points with the maximum value of lightness v).
Is not on the brightness axis v, the white point and
And white vicinity area (HL area) or black dot and black
Adjust the neighborhood area (SD area) to adjust the white point and black
White point and black point adjustment (HL · SD
Adjustment) (step 102). White and black adjustment
Color reproduction area on the display screen using the mouse keyboard 30
Shape A 1From shape ATwoFix smoothly
I do.
【0036】次に、白色黒色調整の行われた色再現空間
は、カラーモニタ12とカラープリンタ14の色再現空
間の明度範囲が一致するように拡大または縮小をして明
度範囲の調整を行う(ステップ104)。明度範囲の調
整は、予め色再現空間から最小明度値を差し引き、色順
応変換で用いられるvon Kries の方法等を利用して色変
換し、その後変換先の最小彩度値を加算する。すなわ
ち、カラーモニタ12の再現色空間の白色および黒色の
明度値をカラープリンタ14の再現色空間の最大明度値
に一致させ、またその逆にカラープリンタ14の再現色
空間の白色や黒色の明度値をカラーモニタ12の再現色
空間の最大明度値に一致させる。図4(b)に示される
ように、色再現領域のエッジ形状を形状A3 から形状A
4 に調整する。Next, the color reproduction space in which the white and black adjustments have been performed is enlarged or reduced so that the lightness ranges of the color reproduction space of the color monitor 12 and the color printer 14 match to adjust the lightness range ( Step 104). To adjust the lightness range, the minimum lightness value is subtracted from the color reproduction space in advance, color conversion is performed using the von Kries method used in chromatic adaptation conversion, and then the minimum saturation value of the conversion destination is added. That is, the brightness values of white and black in the reproduction color space of the color monitor 12 are made to match the maximum brightness values of the reproduction color space of the color printer 14, and vice versa. To the maximum lightness value of the reproduction color space of the color monitor 12. As shown in FIG. 4 (b), shape A and edge shape of the color reproduction area of a shape A 3
Adjust to 4 .
【0037】このように、白色および黒色の修正を行う
のは、本来、彩度を持たない白色が彩度値を持つのは妥
当でなく、また彩度を持たない黒色が彩度値を持つのは
妥当でないからである。また、明度範囲を揃えるのは、
以降で述べる色再現空間の圧縮や伸張を容易に行うため
である。As described above, it is not appropriate to correct white and black so that white having no saturation has a saturation value, and black having no saturation has a saturation value. Is not valid. Also, to make the brightness range uniform,
This is to facilitate compression and expansion of the color reproduction space described below.
【0038】次に、カラーモニタ12やカラープリンタ
14の色再現領域のデータに対して色再現域補正を行
い、色再現域の補正に応じた色再現域補正用パラメータ
を算出する(ステップ106)。色再現域補正は、色再
現領域のエッジ形状に対して行う色再現領域補正と非線
形補正とを備える。ここで、色再現領域補正を説明す
る。カラーモニタ12およびカラープリンタ14の色再
現空間の色度図が図5(a)に簡易的に示されている。
図5(a)に示されるように、カラーモニタ12の色再
現領域のエッジ形状A5 とカラープリンタ14の色再現
領域のエッジ形状A6 は形状が一致しない。図5(a)
では、例えば、B(青)の原色は、カラーモニタ12で
は点B5 の位置にあり、カラープリンタ14では点B6
の位置にあり、色相の値h、すなわち色相角tan
-1(b* /a* )が異なる。また、Y(黄)の原色につ
いても、点Y5 と点Y6 、またG(緑)の原色について
も、点G5 と点G6 とその位置が異なり、従って色相角
が異なり、色相が異なっている。Next, a color gamut correction is performed on the data of the color gamut of the color monitor 12 and the color printer 14, and a color gamut correction parameter corresponding to the color gamut correction is calculated (step 106). . The color gamut correction includes color gamut correction and non-linear correction performed on the edge shape of the color gamut. Here, the color reproduction area correction will be described. FIG. 5A is a simplified chromaticity diagram of the color reproduction space of the color monitor 12 and the color printer 14.
As shown in FIG. 5 (a), the edge shape A 6 of the color reproduction area of the edge shape A 5 and a color printer 14 of the color reproduction area of the color monitor 12 shape it does not match. FIG. 5 (a)
In, for example, primary colors B (Blue) is in the position of the color monitor 12 at point B 5, the color printer 14 point B 6
And the hue value h, that is, the hue angle tan
-1 (b * / a * ) is different. As for the primary colors Y (yellow), the point Y 5 and point Y 6, also for even the primary color G (green), different points G 5 and a point G 6 that position, thus different hue angle, hue Is different.
【0039】このような原色のズレをそのままにして色
再現空間の圧縮・伸張を行うと、例えば、カラーモニタ
12の色再現空間のエッジ部分の領域を用いたグラデー
ションの画像データの場合、変換された画像データは、
カラープリンタ14の色再現領域の形状A5 の形に添っ
てカラー表示され、すなわち、点B5 や点Y5 や点G 5
の位置において屈曲するため、もともと滑らかに色彩が
変化すべきグラデーションが得られない。そのため、入
力された画像データの色相を維持するために、予めカラ
ープリンタ14の色再現領域の形をカラーモニタ12の
色再現空間の色再現領域の形に応じて、修正を行う。す
なわち図5(a)に示すように、点B5の色相角でカラ
ープリンタ14の色再現領域のエッジ形状A6 が屈曲部
を持つように、点B6 の近傍を曲線等で滑らかに修正す
る。点Y6 や点G6 についても、曲線等で滑らかに修正
する。The color is maintained while keeping the deviation of the primary colors as it is.
When compression / expansion of the reproduction space is performed, for example, a color monitor
Gradation using the area of the edge part of 12 color reproduction spaces
If the converted image data is
Shape A of color reproduction area of color printer 14FiveAccording to the shape of
Color, ie, point BFiveAnd point YFiveAnd point G Five
To bend at the position of
A gradation that should be changed cannot be obtained. Therefore,
In order to maintain the hue of the input image data,
The shape of the color reproduction area of the printer 14
Correction is made according to the shape of the color reproduction area in the color reproduction space. You
That is, as shown in FIG.FiveColor with hue angle
-Edge shape A of the color reproduction area of the printer 146Is bent
So that point B6Smooth the neighborhood of with a curve etc.
You. Point Y6And point G6Also smoothly corrected with curves etc.
I do.
【0040】図5(a)は、彩度を調整して屈曲部を修
正する際の様子を色度図で表したものであるが、この修
正は、3次元的に行われるものであり、明度成分も修正
される。図5(b)は、図5(a)と別の例であるが、
明度軸vに対して垂直方向から見た色再現空間を示して
おり、カラーモニタ12の色再現空間の空間形状A6と
カラープリンタ14の色再現空間の空間形状A7 が示さ
れ、原色Mの色相の修正によって、空間形状A7 の明度
成分が修正されている(黒い部分への修正)ことがわか
る。この場合、本来連続的にグラデーションが得られる
空間形状A6 上の点W、点R、点Yおよび点Mで結ばれ
る線分WRYMがその下方に位置する空間形状A7 の色
相の形状に従って折れ曲がって変換されないように、図
中、黒い部分への修正を行っている。FIG. 5A is a chromaticity diagram showing a state in which the bent portion is corrected by adjusting the saturation. This correction is performed three-dimensionally. The brightness component is also modified. FIG. 5B is another example different from FIG.
Indicates the color reproduction space viewed from a direction perpendicular to the lightness axis v, room shape A 7 of the color reproduction space of the room shape A 6 and a color printer 14 of the color reproduction space of the color monitor 12 is shown, primary M of the modification of the hue (corrected to black portions) of the spatial shape lightness component of a 7 it has been fixed it can be seen. In this case, bent according to hue shape of the spatial shape A 7 originally continuously W point in space shape A 6 which gradient is obtained, the point R, the line segment WRYM is tied at point Y and a point M positioned below In the figure, the black part is modified so that it is not converted.
【0041】原色以外の色相に関する色再現域補正パラ
メータ、例えば、図7に示される色相値h、彩度値s、
明度値vの値を持つ着目点A11の色再現域補正パラメー
タは、着目点A11の両側に位置する原色RおよびYの点
の色相値の調整量Δh(hr)およびΔh(hy )を用
いて内挿補間によって算出して得られる。この算出され
た色再現域補正パラメータは、色再現領域の算出の際
に、着目点A11の色相値hに加算されて色相値h’を持
つ点A12に補正される。色再現域補正パラメータは、色
相面の色再現領域毎に色再現空間全体に対して算出され
る。Color gamut correction parameters for hues other than the primary colors, for example, hue value h, saturation value s,
Gamut correction parameter of the target point A 11 with a value of the lightness value v, the adjustment amount Delta] h of the hue value of a point of the primary colors R and Y are located on opposite sides of the target point A 11 (h r) and Delta] h (h y ) Is calculated by interpolation. The calculated color gamut correction parameter, when calculating the color reproduction area, is added to the hue value h of the target point A 11 is corrected to A 12 point having the hue value h '. The color gamut correction parameters are calculated for the entire color reproduction space for each color reproduction area on the hue plane.
【0042】色再現域補正用パラメータの算出の基礎と
なる原色R、G、B、C、MおよびYの調整量を定める
調整パラメータは、図8に示すように、色相に関する規
格化された色相調整パラメータAdjh の各欄の値によっ
て定められる。この値は、マウス・キーボード30から
入力することができ、また、カラーモニタ12に表示さ
れた色再現領域に対して、マウス・キーボード30を用
いて色再現領域上で直接形状の補正を行ってもよい。こ
のように画面を見ながら調整した場合、図8に示すよう
に、色相調整パラメータAdjh の各欄の値が自動的に得
られる。図8に示される表には、彩度範囲調整パラメー
タAdjs および明度範囲調整パラメータAdjv が示され
るが、これらについては後述する。このような修正方法
は、R、G、B、C、MおよびYの原色の調整量から3
次元的に補間される。The adjustment parameters for determining the adjustment amounts of the primary colors R, G, B, C, M, and Y, which are the basis for calculating the color gamut correction parameters, are standardized hues as shown in FIG. It is determined by the value of each column of the adjustment parameter Adjh. This value can be input from the mouse / keyboard 30, and the shape of the color reproduction area displayed on the color monitor 12 is directly corrected on the color reproduction area using the mouse / keyboard 30. Is also good. When the adjustment is made while looking at the screen as described above, the values of the respective columns of the hue adjustment parameter Adjh are automatically obtained as shown in FIG. The table shown in FIG. 8 shows a saturation range adjustment parameter Adjs and a lightness range adjustment parameter Adjv, which will be described later. Such a correction method is based on the adjustment amounts of the R, G, B, C, M, and Y primary colors.
Dimensionally interpolated.
【0043】なお、本実施例では、上記修正方法が、後
述するような色再現空間の圧縮・伸張処理の前処理とし
て利用されているが、これに限定されず、従来技術とし
て用いられてきた色再現空間の圧縮・伸張処理の前処理
として用いられるものであってもよい。In this embodiment, the above-mentioned correction method is used as a pre-process of a compression / expansion process of a color reproduction space as described later, but is not limited to this and has been used as a conventional technique. It may be used as a pre-process of the compression / expansion process of the color reproduction space.
【0044】色再現領域のエッジ形状の非線形補正と
は、図6に色再現空間の色相面が示されているように、
最大彩度値を有する近傍では、色再現空間のデータ不足
から本来あるべき最高彩度点が鈍って、非線形的に丸く
なっている。そのため、本来存在するであろう色再現領
域を、図6のように非線形部分A8 を直線A9 や直線A
10によって置き換えて、最高彩度点が明確に定まるよう
にする。このような非線形補正は、カラーモニタ12や
カラープリンタ14のいずれの色再現空間に対しても行
うことができる。なお、この補正は、非線形的に丸くな
っている部分に対して必ず行う必要はなく、最高彩度点
を明確に定める点から、最高彩度点近傍に対して、ユー
ザの指示に応じて適宜行えばよい。なお、非線形補正を
行って調整された色相面から補間して、色再現空間全体
の色再現域補正パラメータを算出する。また、本実施例
では、上記非線形補正が、後述するような色再現空間の
圧縮・伸張処理の前処理として利用されているが、これ
に限定されず、従来技術として用いられてきた色再現空
間の圧縮・伸張処理の前処理として用いられるものであ
ってもよい。Non-linear correction of edge shape in color reproduction area
Is, as shown in FIG. 6, the hue plane of the color reproduction space.
Insufficient data in the color reproduction space in the vicinity with the maximum saturation value
From the maximum saturation point that should be originally dull and nonlinearly round
Has become. Therefore, the color reproduction area
As shown in FIG.8To the straight line A9And straight line A
TenSo that the highest saturation point is clearly defined
To Such a non-linear correction is performed by the color monitor 12 or
For any color reproduction space of the color printer 14,
I can. This correction is non-linearly rounded.
It is not necessary to do this for the part where
From the point that clearly defines the
It may be performed appropriately according to the instruction of the user. Note that nonlinear correction
Interpolated from the adjusted hue plane, the entire color reproduction space
Is calculated. In addition, this embodiment
Then, the above-mentioned nonlinear correction is applied to the color reproduction space as described later.
It is used as pre-processing of compression / decompression processing.
Color reproduction sky that has been used as a conventional technology without being limited to
Used as pre-processing for compression / expansion processing during
You may.
【0045】次に、求められた色再現域補正用パラメー
タや非線形補正のための補正パラメータを用いて色相面
毎に補正された色再現領域を求めて、色再現空間を算出
し(ステップ108)、色再現空間の圧縮または伸張の
対象とするカラーモニタ12の色再現空間または圧縮や
伸張を行う処理先の対象とされるカラープリンタ14の
色再現空間を得る。このようにして、画像処理装置10
の前処理部18で、色再現空間を定める。Next, the color reproduction area corrected for each hue plane is obtained using the obtained color reproduction area correction parameters and the non-linear correction parameters, and the color reproduction space is calculated (step 108). The color reproduction space of the color monitor 12 to be compressed or expanded in the color reproduction space or the color reproduction space of the color printer 14 to be processed in the compression or expansion is obtained. Thus, the image processing apparatus 10
The color reproduction space is determined by the pre-processing unit 18.
【0046】次に、カラーモニタ12の色再現空間の圧
縮・伸張処理が行われる(ステップ110)。圧縮・伸
張処理は、彩度圧縮・伸張処理、明度修正および明度圧
縮・伸張処理の3ステップから構成される。まず、彩度
圧縮・伸張処理は、図9(a)に示されるように、彩度
sを横軸とし、縦軸を明度vとする色相面内で形成され
るカラーモニタ12の色再現領域R 1 の最高彩度点P1
の最大彩度値Smax1が、色再現領域R1 とカラープリン
タ14の色再現領域R2 との共通領域R3 の共通領域最
高彩度点P3 の彩度値Sc になるように、色再現領域R
1 を明度値を一定にして彩度s方向に圧縮する。なお、
彩度sは、色再現空間がv、a* およびb* で表される
均等色空間上の(a* 2 +b* 2 )(1/2) によって表さ
れる。図9(a)に示される例では、彩度値Sの点A13
は彩度値Sn の点A14に変換される。本実施例では、色
再現領域R1 、R2 の共通領域R3 に変換するために必
ず圧縮されるが、本発明ではこれに限られず、カラープ
リンタ14の色再現領域R2に応じて、後述する圧縮・
拡大変換式を用い圧縮・伸張比率kを調整することによ
って、カラープリンタ14の色再現領域R2 内に伸張し
て対応させる拡大変換を行うこともできる。Next, the pressure of the color reproduction space of the color monitor 12 will be described.
Reduction / expansion processing is performed (step 110). Compression / expansion
Expansion processing includes saturation compression / expansion processing, lightness correction and lightness pressure.
It is composed of three steps of reduction / expansion processing. First, the saturation
As shown in FIG. 9A, the compression / expansion processing
is formed in a hue plane where s is the horizontal axis and the vertical axis is the lightness v.
Color reproduction area R of the color monitor 12 1Saturation point P of1
Saturation value S ofmax1Is the color reproduction area R1And color pudding
Color reproduction area RTwoCommon area R withThreeCommon area
High saturation point PThreeSaturation value ScSo that the color reproduction area R
1Is compressed in the saturation s direction with a constant lightness value. In addition,
The saturation s is such that the color reproduction space is v, a*And b*Represented by
(A) on the uniform color space* Two+ B* 2)(1/2)Represented by
It is. In the example shown in FIG. 9A, the point A of the saturation value S13
Is the saturation value SnPoint A14Is converted to In this embodiment, the color
Reproduction area R1, RTwoCommon area R ofThreeRequired to convert to
However, the present invention is not limited to this.
Color reproduction area R of linter 14TwoDepending on the
By adjusting the compression / expansion ratio k using the expansion conversion formula,
The color reproduction area R of the color printer 14TwoStretched in
It is also possible to carry out an enlargement conversion to make it correspond.
【0047】圧縮または伸張の方法は、下記式(1)に
従って変換を行う。 F = (k−1)・X2 + X (1) ここで、kは、圧縮・伸張比率を表す。図9(b)は、
図9(a)に示す実施例の変換を説明する図であり、色
再現領域R1 の最大彩度値Smax1を図中左方向に圧縮し
て彩度値Sc となるように圧縮する変換曲線D1 を示し
ている。変換曲線D1 は、横軸の彩度値が0からSmax1
の値に変化する際、縦軸の彩度値を0からSC の値に圧
縮する変換曲線である。なお、変換直線D2 は圧縮も伸
張もしない変換直線である。それゆえ、図中、変換直線
D1 より上方の領域に位置する曲線は領域を拡大する変
換となる。In the compression or expansion method, conversion is performed according to the following equation (1). F = (k−1) · X 2 + X (1) Here, k represents a compression / expansion ratio. FIG. 9 (b)
It is a view for explaining the conversion of the embodiment shown in FIG. 9 (a), to compress the maximum saturation value S max1 of the color reproduction area R 1 to be the saturation value S c is compressed in the left direction in the drawing shows a conversion curve D 1. The conversion curve D 1 has a saturation value of 0 to S max1 on the horizontal axis.
When changing the value, a transformation curve for compressing the saturation value of the vertical axis from 0 to the value of S C. Incidentally, the conversion line D 2 is a conversion line for unwanted and expansion and compression. Therefore, in the figure, a curve which is located from the conversion line D 1 above the area be converted to enlarge the area.
【0048】変換曲線D1 は、彩度値範囲0〜Smax1の
彩度値を彩度値Smax1で割って規格化した0〜1の範囲
の値をXとし、また、変換先の彩度値も彩度値Smax1で
割って規格化した0〜1の範囲の値をFとし、式(1)
を適用することによって得られる。ここで、kは、式
(1)において、k=SC /Smax1となる。X=1を代
入することでF=kとなり、上記実施例ではX=1がS
C /Smax1に変換されるからである。この変換曲線D1
のX=0近傍では変換直線D2 の勾配に近く、すなわ
ち、色再現領域R1 の彩度値が0の近傍では、変換によ
って圧縮はほとんど受けないが、彩度値が大きくなるに
したがって、変換曲線D1 の勾配は変換直線D2 の勾配
より小さくなり、大きな圧縮を受ける。このように、非
線形的な圧縮変換が可能となる。一方拡大変換する場合
は、圧縮・伸張比率kの値を1より大きくすることで、
拡大変換を行うことができる。本実施例は、式(1)に
よる非線形変換であるが、これ以外の公知の方法による
非線形変換であってもよい。The conversion curve D 1 is a value in the range of 0 to 1 which is normalized by dividing by the saturation value S max1 the saturation value of the saturation value range 0~S max1 and X, also the destination chroma The value in the range of 0 to 1 standardized by dividing the degree value by the saturation value S max1 is defined as F, and equation (1)
Obtained by applying Here, k is k = S C / S max1 in the equation (1). By substituting X = 1, F = k. In the above embodiment, X = 1 is equal to S
This is because it is converted to C / S max1 . This conversion curve D 1
Close to the slope of the conversion line D 2 is X = 0 near, i.e., according to the saturation value of the color reproduction area R 1 is in the vicinity of 0, but received little compression by the conversion, the saturation value is large, slope of the conversion curve D 1 is smaller than the slope of the conversion line D 2, it receives a large compression. Thus, non-linear compression conversion becomes possible. On the other hand, in the case of enlargement conversion, by making the value of the compression / expansion ratio k larger than 1,
Enlargement conversion can be performed. In the present embodiment, the nonlinear conversion is performed by the equation (1). However, the nonlinear conversion may be performed by another known method.
【0049】明度修正は、図9(c)に示されるよう
に、上記彩度圧縮・伸張処理によって色再現領域R1 を
圧縮して得られた色再現域R1 ’の明度を、彩度を維持
したまま同一色相面内で修正する部分である。この同一
色相面内で行われる明度の修正は、彩度値が0の時は修
正せず、色再現領域R1 ’の最高彩度点を、色再現領域
R1 、R2 の共通領域R3 の最高彩度点である共通領域
最高彩度点P3 に修正し、彩度値が0以上共通領域最高
彩度点P3 の彩度値Sc の間では彩度値が高くなるにつ
れ非線形に明度の修正量を変化させるものである。例え
ば、図中点A15は、下記式(6)に従って得られる修正
量によって点A16に修正され、明度値vは明度値v’に
修正される。このようにして、色再現域R1 ’から明度
値が修正され、最大彩度を有する点が共通領域R3 の共
通領域最高彩度点P3 に一致し、色再現領域R1 ’’を
得る。この明度値の修正は、例えば共通領域R3 の彩度
値0から最高彩度点P3 の彩度値Sc の範囲を彩度値S
c で割って得られる規格化された値をXとし、明度方向
への修正量をFとすると、下記式(6)によって修正量
Fを定めることができる。 F = (Vmax1−Vc )・X2 (6)The brightness modification, as shown in FIG. 9 (c), the brightness of the color gamut obtained by compressing a color reproduction region R 1 by the saturation compression and decompression R 1 ', chroma Is a part to be corrected within the same hue plane while maintaining the same. Correction of brightness takes place in this same hue plane is the saturation value is not the modification time of 0, the maximum saturation point of the color reproduction area R 1 ', a common region R of the color reproduction area R 1, R 2 a maximum saturation point of 3 was modified in the common area maximum saturation point P 3, as the saturation value is the chroma value increases at between 0 over the common region maximum saturation point P 3 of the saturation value S c This is to change the correction amount of the brightness in a non-linear manner. For example, the point A 15 in the figure is corrected to the point A 16 by the correction amount obtained according to the following equation (6), and the brightness value v is corrected to the brightness value v ′. In this way, the lightness value is corrected from the color gamut R 1 ′, the point having the maximum chroma coincides with the common region highest chroma point P 3 of the common region R 3 , and the color gamut R 1 ″ is changed. obtain. Correction of the brightness value, for example, common area saturation value of the maximum saturation point P 3 from the saturation value 0 of R 3 S saturation value range of c S
Assuming that the normalized value obtained by dividing by c is X and the correction amount in the brightness direction is F, the correction amount F can be determined by the following equation (6). F = (V max1 −V c ) · X 2 (6)
【0050】明度圧縮・伸張処理は、色再現領域
R1 ’’を明度v方向に圧縮または伸張を行い、色再現
領域R1 、R2 の共通領域R3 内に変換する。明度圧縮
・伸張処理を行うのは、図9(d)に示すように、色再
現領域R1 ’’は、色再現領域R1、R2 の共通領域R
3 内に含まれず、その結果、色再現領域R2 に必ずしも
含まれないからである。この明度圧縮・伸張は、圧縮ま
たは伸張する色再現領域のエッジは圧縮または伸張の比
率が最も大きく、圧縮または伸張する色再現領域のエッ
ジから離れるにつれて圧縮または伸張の比率が小さくな
る非線形の圧縮または伸張である。例えば、規格化され
た上記式(1)を用いて、図9(e)に示される変換曲
線D3 を得る。すなわち、図9(d)に示される彩度値
Sn の直線D5 上の色再現領域R 1 ’’の最大明度値V
1uを持つ点を点A17、最小明度値V1dを持つ点を点A18
とすると、この2点での明度値、すなわち最大明度値V
1uと最小明度値V1dを、直線D5 と共通領域R3 のエッ
ジが交わる点A19と点A20の明度値VcuおよびVcdに変
換し、しかも最大明度値の点A17と最小明度の点A18の
中間に位置する中間点を固定点として、この点では圧縮
・伸張を行わず、この点から離れるにつれて、圧縮率が
大きくなり、点A17や点A18での圧縮率が最大になる変
換を行う。すなわち、図9(e) に示されるように、変
換曲線D4 の彩度値Vmid1での勾配が、変換直線D4 の
勾配が等しい。The brightness compression / expansion processing is performed in the color reproduction area.
R1'' Is compressed or expanded in the direction of lightness v to reproduce the color
Region R1, RTwoCommon area R ofThreeConvert to Lightness compression
The decompression process is performed as shown in FIG.
Current area R1″ Is the color reproduction area R1, RTwoCommon area R of
Three, The color reproduction area RTwoNot necessarily
It is not included. This brightness compression / expansion is
The edge of the color reproduction area to be expanded or expanded is the ratio of compression or expansion.
In the color reproduction area where compression or expansion is the highest,
The compression or expansion ratio decreases as the distance from the
Nonlinear compression or decompression. For example, standardized
Using the above equation (1), the converted music shown in FIG.
Line DThreeGet. That is, the saturation values shown in FIG.
SnStraight line DFiveUpper color reproduction area R 1″ Maximum brightness value V
1uPoint A with point A17, Minimum lightness value V1dPoint A with point A18
Then, the brightness value at these two points, that is, the maximum brightness value V
1uAnd minimum brightness value V1dTo the straight line DFiveAnd common area RThreeNo
Point A where the intersections19And point A20Brightness value VcuAnd VcdStrange
And point A of the maximum lightness value17And point A of minimum brightness18of
The intermediate point located in the middle is a fixed point, and the point is compressed at this point.
-The compression ratio increases as the distance from this point increases without stretching.
Becomes larger, point A17And point A18Variable that maximizes the compression ratio at
Exchange. That is, as shown in FIG.
Exchange curve DFourSaturation value Vmid1Is the transformation straight line DFourof
The gradients are equal.
【0051】上述の変換方法を詳述すると、図10
(a)に示されるように、変換前の同一色相値および彩
度値における色再現領域R1 ’’の明度値V1 (h,
s)(hは色相値、sは彩度値)を明度値V2 (h,
s)に変換する場合、変換前の明度範囲V1d〜V1uをV
mid1の値を変換後も維持しつつ、式(1)を利用して明
度範囲Vcd〜Vcuに変換する。明度値V1dおよびV1uに
おいて最大の圧縮率また最大の伸長率となるため、カラ
ープリンタ14の色再現空間の大きさや形によっては、
この最大の圧縮率または最大の伸長率が、画像情報が消
滅しないために予め設けられた最大圧縮率や最大伸張率
の値を超える場合もある。図10(b)は、明度値V1u
での圧縮率が最大圧縮率を超える場合の変換方法を示し
ている。この場合、中間値である明度値Vmid1の変換先
の値を、明度値Vcuでの圧縮率が最大圧縮率となるよう
に、明度値Vmid1の変換先の明度値Vmid2を下方に移動
して調整される。このように、最大の圧縮率や最大の伸
長率が、最大圧縮率や最大伸張率を超える場合、最大明
度値と最小明度値の中間に位置する中間点を固定点とせ
ず、最大明度値や最小明度値において最大圧縮率や最大
伸長率となるように、中間点の変換先の点を移動する。The above-mentioned conversion method is described in detail in FIG.
As shown in (a), the lightness value V 1 (h, h) of the color reproduction region R 1 ″ at the same hue value and saturation value before conversion.
s) (h is the hue value, s is the saturation value) and the lightness value V 2 (h,
s), the brightness range V 1d to V 1u before conversion is
Using the equation (1), the value of mid1 is converted into the brightness range V cd to V cu while maintaining the value after conversion. Since the maximum compression ratio and maximum expansion ratio are obtained at the lightness values V 1d and V 1u , depending on the size and shape of the color reproduction space of the color printer 14,
The maximum compression rate or the maximum expansion rate may exceed the values of the maximum compression rate or the maximum expansion rate provided in advance so that the image information does not disappear. FIG. 10B shows a brightness value V 1u.
4 shows a conversion method when the compression ratio exceeds the maximum compression ratio. In this case, the value of the destination lightness value V mid1 an intermediate value, such that the compression ratio in the brightness value V cu is the maximum compression ratio, the destination lightness value V mid2 lightness value V mid1 downward Moved and adjusted. As described above, when the maximum compression rate or the maximum expansion rate exceeds the maximum compression rate or the maximum expansion rate, the intermediate point located between the maximum brightness value and the minimum brightness value is not fixed, and the maximum brightness value or the maximum brightness value is not determined. The point to which the intermediate point is converted is moved so that the maximum compression ratio and the maximum expansion ratio are obtained at the minimum brightness value.
【0052】さらに、カラープリンタ14の色再現空間
の大きさや形によっては、上記方法でも最大圧縮率や最
大伸長率内によって変換することができない場合もあ
る。そのため、図10(c)に示すされるように、変換
を2段階に設定し、まず第1の段階では、明度値Vmid1
を固定して、最大圧縮率や最大伸長率で図10(a)に
示される変換と同様に、非線形処理をおこない、この非
線形処理の施された明度範囲に対して、さらに線型処理
を行う。線型処理とは、変換元の明度値と変換先の明度
値とを1次変換によって行う処理である。このようにし
て、2段階で変換することで、変換時の圧縮や伸張の比
率を最大圧縮率や最大伸長率内に抑えることができる。
このようにして、カラーモニタ12の色再現空間の圧縮
・伸張処理が行われる(ステップ110)。以上のステ
ップによって、色再現空間の圧縮・伸張処理が構成され
るので、色再現領域を滑らかに維持し、かつ色の見えや
階調を保ったまま色再現空間の異なる画像入出力手段と
対応付けができる。Further, depending on the size and shape of the color reproduction space of the color printer 14, it may not be possible to perform conversion within the maximum compression rate or maximum expansion rate even with the above method. Therefore, as shown in FIG. 10C, the conversion is set in two stages, and first, in the first stage, the brightness value V mid1 is set.
Is fixed, the nonlinear processing is performed at the maximum compression rate and the maximum expansion rate in the same manner as the conversion shown in FIG. 10A, and the linear processing is further performed on the lightness range subjected to the nonlinear processing. The linear process is a process of performing primary conversion between a brightness value of a conversion source and a brightness value of a conversion destination. In this way, by performing conversion in two stages, the ratio of compression and expansion at the time of conversion can be suppressed within the maximum compression ratio and maximum expansion ratio.
Thus, the compression / expansion processing of the color reproduction space of the color monitor 12 is performed (step 110). The above steps configure the compression / expansion processing of the color reproduction space, so that the color reproduction area is maintained smoothly, and it is compatible with image input / output means with different color reproduction spaces while maintaining the color appearance and gradation. Can be attached.
【0053】以上の方法によって、カラーモニタ12の
色再現空間は、カラープリンタ14の色再現空間と対応
付けができ、画像処理装置10に入力される画像データ
のカラーモニタ12からカラープリンタ14への変換方
法が定まる。定まって、変換は、図示されない記憶手段
に記憶される。この変換は、上記各ステップ毎の変換の
ための関数や変換式であり、この関数や変換式によって
画像データを各ステップ毎に変換してもよいが、各ステ
ップの変換を一まとめにして、変換前後の多数のデータ
セットを備えるルックアップテーブル(LUT)を記憶
させ、このルックアップテーブルによって対応付けを行
ってもよい。ルックアップテーブルの場合、予め備えら
れる多数のデータセットに一致しない画像データは、補
間によって変換先の画像データを得てもよい。補間方法
は、公知の補間方法であればいずれでもよい。According to the above method, the color reproduction space of the color monitor 12 can be associated with the color reproduction space of the color printer 14, and image data input to the image processing apparatus 10 can be transmitted from the color monitor 12 to the color printer 14. The conversion method is determined. Once determined, the transformation is stored in storage means, not shown. This conversion is a function or a conversion formula for the conversion for each step, and the image data may be converted for each step by the function or the conversion formula. A lookup table (LUT) including a large number of data sets before and after the conversion may be stored, and the lookup table may be used for association. In the case of a look-up table, image data that does not match a large number of data sets provided in advance may obtain image data of a conversion destination by interpolation. The interpolation method may be any known interpolation method.
【0054】一方、画像処理装置10に入力されたRG
B画像データは、カラーモニタ12に表示されるととも
に、均等色空間変換部16で、RGB画像データから、
式(2)に従って3刺激値XYZ表色系に変換され、そ
の後3刺激値(X,Y,Z)から式(3)〜(5)を用
いてCIEL* a* b* 表色系の明度指数vおよび知覚
色度指数a* ,b* (色相および彩度)に変換される。On the other hand, the RG input to the image processing apparatus 10
The B image data is displayed on the color monitor 12 and is converted from the RGB image data by the uniform color space conversion unit 16.
It is converted into a tristimulus value XYZ color system according to equation (2), and then the brightness of the CIEL * a * b * color system is calculated from the tristimulus values (X, Y, Z) using equations (3) to (5). It is converted into an index v and a perceived chromaticity index a * , b * (hue and saturation).
【0055】得られた明度指数vおよび知覚色度指数a
* ,b* による画像データは、上記方法によって求めら
れた変換が施され、出力画像データ変換部26に送られ
る。その後、出力画像データ変換部26において、カラ
ープリンタ14の色再現空間上に変換され、明度指数v
および知覚色度指数a* ,b* によって表される画像デ
ータは、カラープリンタ14の出力特性に応じて定まる
CMY画像データに変換される。すなわち、式(3)〜
(5)に従って3刺激値XYZ表色系に変換され、さら
に公知の方法によってCMY画像データに変換される。
その後、カラーープリンタ14に出力され、所望の画像
が表示される。Obtained lightness index v and perceived chromaticity index a
The image data of * and b * is subjected to the conversion determined by the above method, and sent to the output image data conversion unit 26. After that, the output image data conversion unit 26 converts the data into the color reproduction space of the color printer 14 and outputs the lightness index v
The image data represented by the perceptual chromaticity indices a * and b * are converted into CMY image data determined according to the output characteristics of the color printer 14. That is, equations (3) to
According to (5), it is converted into a tristimulus value XYZ color system, and further converted into CMY image data by a known method.
Thereafter, the image is output to the color printer 14 and a desired image is displayed.
【0056】本発明の色再現空間の圧縮・伸張方法は、
上記実施例では、図2や図9で示されるように、色再現
領域R1 を色再現領域R1 と色再現領域R2 の共通領域
である共通領域R3 に修正や圧縮を施すものであるが、
以降で述べるように、色再現空間の圧縮・伸張方法は、
色再現領域R2 内への変換であるが、共通領域R3 を中
心としてユーザが好みに応じて調整パラメータによって
設定した色再現領域に修正や圧縮また伸張を施すもので
あってもよい。以下この方法について説明する。The method for compressing / expanding the color reproduction space of the present invention is as follows.
Above in the embodiment, as shown in FIG. 2 and FIG. 9, but performing the correction and compression in the common area R 3 is a common region of the color reproduction of the color reproduction region R 1 region R 1 and the color reproduction area R 2 There is
As described below, the compression / expansion method of the color reproduction space
It is a conversion to the color reproduction area R 2, or may be subjected to modifications and compression also extended in the color reproduction area set by the adjustment parameters according to the user preference about a common region R 3. Hereinafter, this method will be described.
【0057】圧縮・伸張処理(ステップ110)を構成
する彩度の圧縮・伸張は、まず、図11(a)に示され
るように、カラーモニタ12の色再現領域R1 の最大彩
度値Smax1を有する点P1 の明度値Vmax1と同じ明度値
を有する、カラープリンタ14の色再現領域R2 のエッ
ジ上の点P4 を求め、次に、色再現領域R1 と色再現領
域R2 の共通領域R3 の中から共通領域最高彩度点P3
を求める。次に、この共通領域最高彩度点P3 の彩度値
を中心として、前に求めた点P4 の彩度値Smi n を最小
彩度値とし、点P1 の最大彩度値Smax1を最大彩度値と
する彩度の範囲を調整する彩度範囲調整パラメータAdj
s を用いて、彩度圧縮・伸張による変換先の修正領域R
4 を定める。彩度範囲調整パラメータAdjs は、彩度値
Smin を−100とし、最大彩度値Smax1を+100と
する−100〜+100の範囲内で設定される。この彩
度範囲調整パラメータAdjs は、図8に示されるよう
に、R、Y、G、C、BおよびMの原色に関する彩度範
囲調整パラメータとして得られ、この原色以外の色相に
ついては、図7に示されるように、色度図上、両側から
挟まれる原色の彩度調整パラメータAdjs から補間によ
って、彩度範囲調整パラメータAdjs (h)が色相値h
ごとに求められる。このようにして、色相値h毎に求め
られ、色空間上、彩度の圧縮・伸張によって変換する変
換先の色再現空間が得られる。The compression / expansion of the saturation constituting the compression / expansion processing (step 110) is performed by first increasing the maximum saturation value S of the color reproduction area R 1 of the color monitor 12 as shown in FIG. have the same lightness value as the brightness value V max1 of point P 1 with max1, seek P 4 points on the edge color reproduction area R 2 of the color printer 14, then the color reproduction region R 1 and the color reproduction area R second common region common region maximum saturation point P 3 from the R 3
Ask for. Then, around the chroma value of the common area maximum saturation point P 3, the saturation value S mi n of previously determined point P 4 and the minimum saturation value, the maximum saturation value S of the point P 1 Saturation range adjustment parameter Adj for adjusting the saturation range with max1 as the maximum saturation value
Using s, the correction area R of the conversion destination by the saturation compression / expansion
Determine 4 . The saturation range adjustment parameter Adjs is set within a range of -100 to +100 where the saturation value S min is -100 and the maximum saturation value S max1 is +100. As shown in FIG. 8, the saturation range adjustment parameter Adjs is obtained as a saturation range adjustment parameter for the R, Y, G, C, B, and M primary colors. As shown in the chromaticity diagram, the saturation range adjustment parameter Adjs (h) is calculated by interpolation from the saturation adjustment parameter Adjs of the primary colors sandwiched from both sides on the chromaticity diagram.
Required for each. In this manner, a color reproduction space of a conversion destination, which is obtained for each hue value h and is converted in the color space by compression / expansion of saturation, is obtained.
【0058】彩度の圧縮また伸張の変換は、図9(a)
および(b)で示される方法と同様に、式(1)を用い
た非線形変換である。勿論、これ以外の公知の方法によ
る非線形変換であってもよい。The conversion of the compression or expansion of the saturation is shown in FIG.
Similar to the method shown in FIGS. 7A and 7B, this is a non-linear conversion using equation (1). Of course, non-linear conversion by other known methods may be used.
【0059】次に、明度の修正は、彩度の圧縮や伸張に
よて得られた変換先の修正領域R4の最高彩度点P
5 を、最高彩度点P5 と同じ彩度値Sf を持つ色再現領
域R2 のエッジ上の点P6 に修正し、修正領域R5 を得
る。修正方法は、図9(c)に示される明度修正方法と
同様に、彩度値が0では修正されず、彩度値が大きくな
るにつれて、急激に修正量が大きくなる非線形の修正を
行う。Next, the lightness is corrected by adjusting the maximum saturation point P of the correction area R 4 at the conversion destination obtained by the compression or expansion of the saturation.
5, corrected to P 6 points on the edge of the color reproduction area R 2 having the same saturation value S f and maximum saturation point P 5, to obtain a modified region R 5. Similar to the lightness correction method shown in FIG. 9C, the correction method is a non-linear correction in which the correction is not performed when the saturation value is 0, and the correction amount rapidly increases as the saturation value increases.
【0060】明度の圧縮・伸張は、図11(b)に示す
ように、カラーモニタ12とカラープリンタ14の色再
現領域の共通領域R3 と、さらに上記明度の修正によっ
て修正された修正領域R5 の両方に属する領域を一致度
重視領域R6 として求める。すなわち、図中において一
致度重視領域R6 とは、色再現領域R2 の最大明度値を
有する明度v軸上の点をQとし、また明度v軸と彩度s
軸の交わる原点を原点Oとすると、原点Oから曲線l1
を通って点P6 に至り、点P6 から点Qを通って原点O
に戻る略三角形状内の領域である。[0060] Compression and decompression of the brightness, as shown in FIG. 11 (b), the common area R 3 of the color reproduction area of the color monitor 12 and a color printer 14, modified further modified by modification of the intensity regions R obtaining an area belonging to both 5 as the matching Favor region R 6. That is, in the drawing, the coincidence degree emphasis area R 6 is a point on the lightness v axis having the maximum lightness value of the color reproduction area R 2 as Q, and the lightness v axis and the saturation s
If the origin where the axes intersect is the origin O, a curve l 1
To point P 6 , and from point P 6 to point O through point Q
This is a region within a substantially triangular shape returning to.
【0061】一方、カラープリンタ14の色再現領域R
2 のエッジOP2 を、一致度重視領域R6 の外側にあ
り、カラープリンタ14の色再現領域R2 の色再現領域
の内側にあって、原点Oから彩度値が大きくなるにつれ
色再現領域R2 内に非線形的に曲がり、修正最高彩度点
P6 の彩度値において修正最高彩度点P6 に到る曲線l
2 と取り替えて得られる領域を色再現範囲重視領域R7
として求める。すなわち、図11(b)において、原点
Oから曲線l2 を通って点P6 に至り、点P6 から点Q
を通って原点Oに戻る略三角形状内の領域を求める。こ
こで、曲線l2 は、カラープリンタ14の色再現領域R
2 の色再現領域の内側にあって、原点O近傍ではエッジ
OP2 に沿い、彩度値が大きくなるにつれ色再現領域R
2 内部に非線形的に曲がり、修正最高彩度点P6 の彩度
値において修正最高彩度点P6 に到る曲線であれば何れ
であってもよいが、色再現範囲重視領域R7 がよりカラ
ープリンタ14の色再現領域R2 の領域を広く有するこ
とが好ましく、この点から、曲線l2 は、低彩度の範囲
ではカラープリンタ14の色再現領域R2 のエッジOP
2 に可能な限り重なることが望ましい。On the other hand, the color reproduction area R of the color printer 14
TwoEdge OPTwoTo the coincidence degree emphasis area R6Outside of
The color reproduction area R of the color printer 14TwoColor reproduction area
, As the saturation value increases from the origin O
Color reproduction area RTwoBends non-linearly within, corrected maximum saturation point
P6Corrected maximum saturation point P at the saturation value of6Curve l leading to
TwoThe area obtained by replacing with7
Asking. That is, in FIG.
Curve l from OTwoThrough point P6To point P6From point Q
A region in a substantially triangular shape that returns to the origin O through the path is obtained. This
Where the curve lTwoIs the color reproduction area R of the color printer 14
TwoInside the color reproduction area of
OPTwo, The color reproduction area R increases as the saturation value increases.
TwoBends nonlinearly inside, corrected maximum saturation point P6Saturation
Highest saturation point P corrected in value6Any curve that reaches
The color reproduction range emphasis region R7But more
-Color reproduction area R of printer 14TwoHave a wide area of
Is preferred, from which point the curve lTwoIs the low saturation range
Now, the color reproduction area R of the color printer 14TwoEdge OP
TwoIt is desirable to overlap as much as possible.
【0062】本来、カラープリンタ14の出力画像の色
の階調や見えが、カラーモニタ12の出力画像の階調や
見えと一致するのが好ましく、一方、可能な限りカラー
プリンタ14の色再現領域R2 の広い範囲で出力するこ
とが望ましい。そのため、明度値や彩度値の大小関係が
色再現空間の圧縮や伸張によって変化することがないよ
うに、色再現領域として一致度重視領域R6 を定める一
方、カラープリンタ14の色再現領域R2 内の可能な限
り広い範囲に変換させるため、可能な限り広い範囲の領
域を色再現範囲重視領域R7 として定める。色再現範囲
重視領域R7 の曲線l2 は、一致度重視領域R6 の曲線
I1 に比べて下に凸の曲線であり、点P 6 を頂点とする
略三角形状の領域の中で、色再現領域R2 内の可能な限
り広い範囲として、色再現範囲重視領域R7 が定められ
る。そして、本発明は、この一致度重視領域R6 と色再
現範囲重視領域R7 を用い、色の一致度を重視するか、
または広い範囲に色を再現させることを重視するか、ユ
ーザの重視度に応じて修正明度領域R8 を定めることが
できる。Originally, the color of the output image of the color printer 14
Of the output image of the color monitor 12
Preferably matches appearance, while color as possible
Color reproduction area R of printer 14TwoOutput in a wide range of
Is desirable. Therefore, the magnitude relationship between the brightness value and the saturation value
Does not change due to compression or expansion of the color reproduction space
As shown in FIG.6One that determines
The color reproduction area R of the color printer 14TwoAs much as possible
To cover the widest possible range.
The area is the color reproduction range emphasis area R7Determined as Color reproduction range
Focus area R7Curve lTwoIs the matching degree emphasis area R6Curve
I1Is a downwardly convex curve, and the point P 6With vertices
In the substantially triangular area, the color reproduction area RTwoAs much as possible
As a wider range, the color reproduction range emphasis area R7Is determined
You. In the present invention, the matching degree emphasis region R6And color re
Current range emphasis area R7To emphasize color matching,
Or, focus on reproducing colors over a wide range,
Corrected brightness area R according to the importance of the user8Can be determined
it can.
【0063】すなわち、曲線l1 をエッジとする一致度
重視領域R6 と曲線l2 をエッジ部とする色再現範囲重
視領域R7 は、ユーザの好みに応じて、図8に示される
R、Y、G、C、BおよびMの原色の明度範囲調整パラ
メータAdjv を用いて調整される。調整方法は、曲線l
1 を明度調整パラメータAdjv =0とし、曲線l2 を明
度調整パラメータAdjv =100として、0〜100の
範囲の値をユーザが入力することによって、図12に示
すように、補間によって補間曲線l3 を定め、この補間
曲線l3 をエッジとする修正明度領域R8 を求める。こ
の修正領域R8は色相面毎に求められ、R、Y、G、
C、BおよびMの原色以外の色相では、図7に示される
補間方法によって、補間されて補正量が定められる。こ
のようにして、色相面毎に修正明度領域R8 が求められ
る。[0063] That is, the color reproduction range emphasis region R 7 to the matching Favor region R 6 and the curve l 2 of the curve l 1 between the edge and the edge portion in accordance with the user's preference, R shown in FIG. 8, The adjustment is performed using the brightness range adjustment parameters Adjv of the primary colors Y, G, C, B, and M. The adjustment method is the curve l
1 and brightness adjustment parameter Adjv = 0, as the brightness adjustment parameter Adjv = 100 curve l 2, by which the user enters a value in the range of 0 to 100, as shown in FIG. 12, interpolated by interpolation curve l 3 the established, obtaining the corrected intensity regions R 8 to the interpolation curve l 3 and the edge. This correction area R 8 is obtained for each hue plane, and R, Y, G,
Hues other than the primary colors C, B, and M are interpolated by the interpolation method shown in FIG. 7 to determine the correction amount. In this way, the corrected intensity regions R 8 for each hue plane is determined.
【0064】求められた修正明度領域R8 は、明度の圧
縮または伸張の変換先とされ、修正領域R5 から修正明
度領域R8 への変換処理が行われる。明度圧縮・伸張の
方法は、図9(d)や(e)や図10(a)〜(c)に
示される明度圧縮・伸張の方法と同様であって、非線形
の変換が行われる。本発明では、一致度重視領域と色再
現範囲重視領域は、明度に関するものであるが、明度に
関する場合に限られず、彩度等に関する一致度重視領域
と色再現範囲重視領域であってもよい。The corrected brightness area R 8 thus obtained is used as a conversion destination of brightness compression or expansion, and a conversion process from the correction area R 5 to the corrected brightness area R 8 is performed. The brightness compression / expansion method is the same as the brightness compression / expansion methods shown in FIGS. 9D and 9E and FIGS. 10A to 10C, and nonlinear conversion is performed. In the present invention, the coincidence priority area and the color reproduction range importance area are related to lightness. However, the present invention is not limited to the case relating to lightness, and may be a coincidence importance area and a color reproduction range importance area relating to saturation and the like.
【0065】このように、色相調整パラメータAdjh を
用いることで、ユーザの好みに応じて色相を滑らかに変
換させることができ、彩度範囲調整パラメータAdjs や
明度範囲調整パラメータAdjv を用いて、一致度重視領
域と色再現範囲重視領域の範囲内で、ユーザの好みに応
じて修正明度領域を定め、この修正明度領域を変換先と
する変換を行うことによって、ユーザの好みに応じた変
換を容易に得ることができる。As described above, by using the hue adjustment parameter Adjh, the hue can be smoothly converted in accordance with the user's preference, and the matching degree can be determined using the saturation range adjustment parameter Adjs and the lightness range adjustment parameter Adjv. Within the range of the emphasis area and the color reproduction range emphasis area, a corrected brightness area is determined according to the user's preference, and conversion is performed with the corrected brightness area as a conversion destination, so that conversion according to the user's preference can be easily performed. Obtainable.
【0066】以上、本発明の色再現空間の圧縮・伸張方
法について詳細に説明したが、本発明は上記実施例に限
定はされず、本発明の要旨を逸脱しない範囲において、
各種の改良および変更を行ってもよいのはもちろんであ
る。Although the method for compressing / expanding the color reproduction space of the present invention has been described in detail above, the present invention is not limited to the above-described embodiment, and may be modified within the scope of the present invention.
Of course, various improvements and changes may be made.
【0067】[0067]
【発明の効果】以上、詳細に説明したように、本発明に
よれば、カラープリンタ等の色再現空間内の領域を活か
しながら、色再現空間の異なる他の画像出力手段、例え
ばカラーモニタ等との所望のカラーマッチングが行える
ように、色再現領域を滑らかに維持し、かつ色の見えや
階調を保ったまま色再現空間の異なる画像入出力手段と
対応付けを行うことができる。さらに、色再現空間の異
なる画像入出力手段と対応付けをユーザの好みに応じて
容易に調整することができる。As described in detail above, according to the present invention, while utilizing the area in the color reproduction space of a color printer or the like, it can be used with other image output means having a different color reproduction space, such as a color monitor. In order to perform the desired color matching, it is possible to maintain the color reproduction area smoothly and to associate with the image input / output means having a different color reproduction space while maintaining the color appearance and gradation. Furthermore, it is possible to easily adjust the correspondence between the image input / output means having different color reproduction spaces and the user's preference.
【図1】本発明の色再現空間の圧縮・伸張方法の一実施
例を実施する画像処理装置のブロック図である。FIG. 1 is a block diagram of an image processing apparatus for implementing an embodiment of a color reproduction space compression / expansion method according to the present invention.
【図2】本発明の色再現空間の圧縮・伸張方法の一実施
例を説明する図である。FIG. 2 is a diagram illustrating an embodiment of a color reproduction space compression / expansion method according to the present invention.
【図3】本発明の色再現空間の圧縮・伸張方法の一実施
例を示すフローチャートである。FIG. 3 is a flowchart illustrating an embodiment of a color reproduction space compression / expansion method according to the present invention.
【図4】(a)は、本発明の色再現空間の圧縮・伸張方
法のうちのHL・SD調整の一実施例を説明する図であ
り、(b)は、本発明の色再現空間の圧縮・伸張方法の
中の明度範囲調整の一実施例を説明する図である。FIG. 4A is a diagram illustrating an embodiment of HL / SD adjustment in the color reproduction space compression / expansion method of the present invention, and FIG. 4B is a diagram illustrating the color reproduction space of the present invention. FIG. 4 is a diagram illustrating an example of brightness range adjustment in a compression / expansion method.
【図5】(a)および(b)は、本発明の色再現空間の
圧縮・伸張方法の中の色再現域補正の一例を説明する図
である。FIGS. 5A and 5B are diagrams illustrating an example of color gamut correction in the color reproduction space compression / expansion method of the present invention.
【図6】本発明の色再現空間の圧縮・伸張方法の中の色
再現域補正の他の例を説明する図である。FIG. 6 is a diagram illustrating another example of color gamut correction in the color reproduction space compression / expansion method of the present invention.
【図7】本発明の色再現空間の圧縮・伸張方法の中の色
再現域補正の補正方法を説明する図である。FIG. 7 is a diagram illustrating a color gamut correction method in the color reproduction space compression / expansion method of the present invention.
【図8】本発明の色再現空間の圧縮・伸張方法の中の調
整パラメータを説明する図である。FIG. 8 is a diagram for explaining adjustment parameters in the color reproduction space compression / expansion method of the present invention.
【図9】(a)〜(e)は、本発明の色再現空間の圧縮
・伸張方法の中の圧縮伸張処理の一例を説明する図であ
る。FIGS. 9A to 9E are diagrams illustrating an example of compression / expansion processing in the color reproduction space compression / expansion method of the present invention.
【図10】(a)〜(c)は、本発明の色再現空間の圧
縮・伸張方法の中の明度の圧縮・伸張の一例を説明する
図である。FIGS. 10A to 10C are diagrams illustrating an example of brightness compression / expansion in the color reproduction space compression / expansion method of the present invention.
【図11】(a)および(b)は、本発明の色再現空間
の圧縮・伸張方法の中の圧縮伸張処理の他の例を説明す
る図である。11A and 11B are diagrams illustrating another example of the compression / expansion processing in the color reproduction space compression / expansion method of the present invention.
【図12】図11(a)および(b)に示した本発明の
色再現空間の圧縮・伸張方法の中の圧縮伸張処理の例を
さらに説明する図である。FIG. 12 is a diagram further illustrating an example of the compression / expansion processing in the color reproduction space compression / expansion method of the present invention shown in FIGS. 11 (a) and 11 (b).
10 画像処理装置 12 カラーモニタ 14 カラープリンタ 16 均等色空間変換部 18 前処理部 20 彩度圧縮・伸張処理部 22 明度修正部 24 明度圧縮・伸張処理部 26 出力画像データ変換部 28 画像入出力装置データベース記憶部 30 マウス・キーボード DESCRIPTION OF SYMBOLS 10 Image processing apparatus 12 Color monitor 14 Color printer 16 Uniform color space conversion part 18 Preprocessing part 20 Saturation compression / decompression processing part 22 Lightness correction part 24 Lightness compression / decompression processing part 26 Output image data conversion part 28 Image input / output device Database storage unit 30 mouse / keyboard
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 CA01 CA08 CA12 CB01 CB08 CB12 CC01 CE16 CG10 DB02 DB06 DB09 DC16 5C077 LL19 MP08 PP31 PP32 PP33 PP35 PP36 RR21 5C079 HB01 HB02 HB05 HB06 HB08 LA10 LA26 LB02 ──────────────────────────────────────────────────の Continued on the front page F term (reference) 5B057 CA01 CA08 CA12 CB01 CB08 CB12 CC01 CE16 CG10 DB02 DB06 DB09 DC16 5C077 LL19 MP08 PP31 PP32 PP33 PP35 PP36 RR21 5C079 HB01 HB02 HB05 HB06 HB08 LA10 LA26 LB02