JP4557171B2 - Image processing apparatus, image processing method, image processing program, and recording medium - Google Patents
Image processing apparatus, image processing method, image processing program, and recording medium Download PDFInfo
- Publication number
- JP4557171B2 JP4557171B2 JP2006031574A JP2006031574A JP4557171B2 JP 4557171 B2 JP4557171 B2 JP 4557171B2 JP 2006031574 A JP2006031574 A JP 2006031574A JP 2006031574 A JP2006031574 A JP 2006031574A JP 4557171 B2 JP4557171 B2 JP 4557171B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- gamut
- image processing
- coordinate
- coordinates
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、異なる色再現域の間での色変換処理を行うカラー画像処理技術に関するものである。 The present invention relates to a color image processing technique for performing color conversion processing between different color gamuts.
カラー画像を取り扱うデバイスは多数存在するが、それぞれのデバイスによって表現可能な色の範囲(以下、色再現域と呼ぶ)は異なっている。そのため、あるデバイスで表現できる色であっても、他のデバイスで再現できるとは限らない。このようにそれぞれのデバイスによって色再現域が異なるため、異なるデバイス間での色再現の整合をとるために、色変換処理、特に色域マッピング処理が必要とされている。 There are many devices that handle color images, but the range of colors that can be expressed by each device (hereinafter referred to as the color reproduction range) is different. For this reason, even a color that can be expressed by a certain device cannot always be reproduced by another device. As described above, since the color gamut differs depending on each device, color conversion processing, particularly color gamut mapping processing is required in order to match the color reproduction between different devices.
それぞれのデバイスでは、取り扱う色空間も異なり、例えば、印刷や電子写真などの画像形成装置のようなデバイスでは4色以上のインク(色材)での色空間(例えばCMYK色空間など)、モニタ表示やカメラのようなデバイスではRGB色空間などが利用されている。これらの色空間の間では色再現域が異なる場合が多く、また、同じRGB色空間や同じCMYK色空間の間でもデバイスの種類が異なると色再現域が変わってしまう場合もある。 Each device has a different color space. For example, in a device such as an image forming apparatus such as printing or electrophotography, a color space with four or more inks (color materials) (for example, a CMYK color space), a monitor display, etc. Devices such as cameras and cameras use the RGB color space. The color gamuts often differ between these color spaces, and the color gamut may change if the device type is different between the same RGB color space or the same CMYK color space.
このような異なる色再現域の間の整合性を取るため、デバイスに依存しない色空間を利用する。そのための色空間としては、三刺激値CIEXYZやCIECAM02空間(LChなど)、LMS空間なども利用されるが、多くはCIELAB空間のような知覚均等色空間を利用している。上述の色域マッピング処理は、CIELAB空間などのデバイスに依存しない色空間において、異なる色再現域を有する2つのデバイス間で対応する色を決める処理である。特に、入力デバイスをモニタ、出力デバイスをプリンタとした場合では色再現域の差が大きく、そのために従来よりさまざまな工夫が提案され、多くの発明がなされている。 In order to achieve consistency between such different color gamuts, a device-independent color space is used. As a color space for that purpose, tristimulus values CIEXYZ, CIECAM02 space (such as LCh), LMS space, and the like are also used, but most use a perceptual uniform color space such as CIELAB space. The above-described color gamut mapping process is a process for determining a corresponding color between two devices having different color gamuts in a device-independent color space such as CIELAB space. In particular, when the input device is a monitor and the output device is a printer, the difference in the color gamut is large. For this reason, various ideas have been proposed and many inventions have been made.
例えば特許文献1や特許文献2に記載されているように、第一のデバイス色域内の再現色から直接第二のデバイスの再現色に対応づける方法がある。特許文献1に記載されている方法は明度保存のマッピング方式であり、第一のデバイス色域と第二のデバイス色域の明度を一致させる変換部を経て、第一のデバイス色域外郭がL* (明度)−C* (彩度)平面での最大彩度点よりも高明度側では明度を一定にして彩度を低下させ、低明度側では色差最小で対応づけている。ここで、2つのデバイスの色再現域の明度を一致させる方法としては幾つかの発明がなされており、例えば特許文献5などに開示されている。さらに、同じ色相に対して彩度を低下させる発明も幾つかなされており、例えば特許文献6,特許文献7などに記載されている。
For example, as described in
また特許文献2には、第一のデバイス色域の飽和色から第二のデバイス色域の飽和色に直接対応づける方法が記載されている。この方法は、特許文献2のほか、特許文献8や特許文献9などにも記載されている。
また別の方法として、例えば特許文献3にも記載されているように、第三及び第四の中間色域を参照しつつ、一度、対応関係を形成後、第二のデバイスの再現色に対応づける方法がある。特許文献3に記載されている技術では、複数の色空間の最小色再現域を形成し、それを参照して色域マッピング処理を施している。
As another method, for example, as described in
さらに、例えば特許文献4に記載されているように、第一のデバイス色域と第二のデバイス色域から仮想的な色域を作成する方法がある。特許文献4には、2つの色域の一方が他方の色空間よりも狭いときに、狭い方の色空間を、該色空間を形成した方式で再現できる限界以上の信号で再現できるものとして再現して、仮想的に該色空間を拡大し、各色空間において測定値を対応づけるデータの対応関係を求め、該対応関係により第1の方式の色信号を変換して、第2の方式により再現される色を所期の色にすることを特徴とする装置が開示されている。
Furthermore, as described in
幾つかあるマッピング手段の中に1つに、レンダリング・インテントがColorimetricの場合、例えば写真を重視した画像ではクリッピングが採用されることが多い。クリッピングには、色差が最小となる点にマッピングする方法、明度と色相を決めておき、彩度を低下させる方法、さらには明度と彩度の軌跡を決めておく方法なども存在する。 In one of several mapping means, when the rendering intent is Colorimetric, for example, clipping is often used in an image that emphasizes photography. Clipping includes a method of mapping to a point where the color difference is minimum, a method of determining lightness and hue and reducing the saturation, and a method of determining a locus of lightness and saturation.
一方、マッピング処理を行う色空間(例えばCIELAB)を等色相でないと想定し、補正したあとでマッピングする方法も提案されている。上述の色域マッピング処理の多くは、デバイスに依存しない色空間として例えばCIELAB色空間などを利用する際に、そのデバイスに依存しない色空間が等色相であるものとしている。すなわち、例えばCIELAB色空間においては、L* 軸を含みa* −b* 平面に垂直な面は等色相面であると仮定している。従って、例えば特許文献7に記載されているようにL* 軸方向へのマッピング処理を行っている。しかし、CIELAB色空間は実際には等色相ではないことがわかっており、L* 軸方向へ直線的に(すなわちCIELAB色空間において色相角を固定して)マッピング処理を行ってしまうと、実際の色相が異なる色に変換されてしまうという問題があった。このような問題を解決するため、最近ではCIELAB色空間などのデバイスに依存しない色空間において色域マッピング処理を行う際に、見た目の色相と一致している実際の等色相の色の軌跡に従って、第二の色域外の第一の色域の色について、第二の色域の外郭の色へマッピング処理を行っている。これによって、第二の色域外の第一の色域の色は、実際の色相が変化することなく第二の色域の色へと変換される。 On the other hand, a method has been proposed in which a color space (for example, CIELAB) in which mapping processing is performed is assumed to have no equal hue, and mapping is performed after correction. In many of the above color gamut mapping processes, when a CIELAB color space, for example, is used as a device-independent color space, the device-independent color space is assumed to have a uniform hue. That is, for example, in the CIELAB color space, it is assumed that a plane that includes the L * axis and is perpendicular to the a * -b * plane is an equi-hue plane. Therefore, for example, as described in Patent Document 7, mapping processing in the L * axis direction is performed. However, it is known that the CIELAB color space is not actually the same hue, and if the mapping process is performed linearly in the L * axis direction (that is, the hue angle is fixed in the CIELAB color space), There is a problem that the hue is converted to a different color. In order to solve such a problem, recently, when performing gamut mapping processing in a device-independent color space such as the CIELAB color space, according to the color locus of the actual equal hue that matches the apparent hue, A mapping process is performed on the color of the first color gamut outside the second color gamut to the outline color of the second color gamut. As a result, the color of the first color gamut outside the second color gamut is converted to the color of the second color gamut without changing the actual hue.
上述のような、マッピングする色空間を等色相でないと仮定して実際に等色相となるようにマッピング処理を行ったり、あるいは、上述の特許文献2や特許文献8、特許文献9などにも記載されているように、第一の色域と第二の色域の飽和色を一致させるようにマッピング処理を行う場合、例えばCIELAB色空間などのマッピング処理を行う色空間においては明度軸について回転する方向への移動成分、すなわち色相角を変更する成分を含むことになる。
As described above, assuming that the color space to be mapped is not equal hue, mapping processing is performed so that the hue is actually equal, or described in
一方、上述の色域マッピング処理においては、多くの場合、色域内については色を変更していない。これは、第一の色域内の色であって第二の色域内の色でもある場合には、正確な色再現が可能であるので、なるべく色を変化させずに忠実に色再現しようとするものである。 On the other hand, in the above-described color gamut mapping process, in many cases, the color is not changed in the color gamut. This is a color within the first color gamut and also a color within the second color gamut, so accurate color reproduction is possible, so it tries to faithfully reproduce the color without changing the color as much as possible. Is.
このように第一の色域内の色のうち第二の色域内の色については忠実に再現し、第二の色域外の色については上述のように色相方向の変更を含む色域マッピング処理を行うと、次のような問題が発生する。図6は、従来の色変換処理の問題点の説明図である。一般に第二の色域内ではデバイスに依存した色空間への変換の際に、例えばCIELAB色空間においてはL* 軸を含みa* −b* 平面に垂直な面の色(すなわち色相角が同じ色)が等色相となるように変換している。従って、その平面上の色は、第二の色域内ではデバイスにおいて等色相の色として再現されることになる。図6では、この平面上の色相角が等しい線分として線分OQPを示しており、OQ間の色についてはデバイスにおいて等色相の色として再現される。しかし、同じ平面上の色でも第二の色域外の色、例えば点Pの色については、上述のようにL* 軸について回転成分を含む色にマッピングされる。図6では、点Pの色は点Rにマッピングされている。さらに、PQ間の色はRQ間にマッピングされる。そのため、彩度の逆転や階調の段差が生じて、もともと第二の色域内であった色と第二の色域外であった色との間で不自然な色再現がなされてしまうという問題があった。 In this way, among the colors in the first color gamut, the colors in the second color gamut are faithfully reproduced, and the colors outside the second color gamut are subjected to the color gamut mapping process including the change of the hue direction as described above. Doing so will cause the following problems. FIG. 6 is an explanatory diagram of problems in the conventional color conversion process. In general, in the second color gamut, when converting to a device-dependent color space, for example, in the CIELAB color space, the color of the plane that includes the L * axis and is perpendicular to the a * -b * plane (that is, the same hue angle). ) Has the same hue. Therefore, the color on the plane is reproduced as a color of equal hue in the device in the second color gamut. In FIG. 6, the line segment OQP is shown as a line segment having the same hue angle on the plane, and the colors between the OQs are reproduced as equal hue colors in the device. However, even if the color is on the same plane, the color outside the second color gamut, for example, the color of the point P, is mapped to a color including a rotation component on the L * axis as described above. In FIG. 6, the color of the point P is mapped to the point R. Furthermore, colors between PQs are mapped between RQs. As a result, the color saturation is reversed and the level difference in gradation occurs, resulting in an unnatural color reproduction between the color originally in the second color gamut and the color outside the second color gamut. was there.
上述の特許文献8では、色相方向の移動を含む色域マッピング処理を行うとともに、色域内についても色変換を行っている。これによって、図6に示したような問題は軽減されると考えられる。この特許文献8においては、色変換には関数を用いているが、このような関数の設定は容易ではない。また、統一的に関数を適用して、色域マッピング処理において色相を大きく移動させてしまうと、第二の色域内の色まで大きく変化してしまう。そのため、第二の色域内の色をなるべく忠実に再現しようとする用途には適用できないという問題があった。 In Patent Document 8 described above, color gamut mapping processing including movement in the hue direction is performed, and color conversion is also performed within the color gamut. As a result, the problem shown in FIG. 6 is considered to be reduced. In Patent Document 8, a function is used for color conversion, but setting of such a function is not easy. Further, if the function is applied uniformly and the hue is greatly moved in the color gamut mapping process, the color in the second color gamut is greatly changed. For this reason, there is a problem that it cannot be applied to an application for reproducing the color in the second color gamut as faithfully as possible.
本発明は、上述した事情に鑑みてなされたもので、従来からの汎用性のある色域マッピング手段を利用しながら、簡便に精度をそれほど落とさずに、なるべく階調性を保存した色再現が可能な画像処理装置、画像処理方法、画像処理プログラム及び記録媒体を提供することを目的とするものである。 The present invention has been made in view of the above-described circumstances, and color reproduction that preserves gradation as much as possible without easily reducing accuracy while using conventional versatile color gamut mapping means. An object of the present invention is to provide a possible image processing apparatus, an image processing method, an image processing program, and a recording medium.
本発明は、第一の色再現域の色座標から第二の色再現域の色座標に変換する画像処理装置及び画像処理方法であって、第一の色再現域のうち、第二の色再現域外の第1の色座標について色相角を変更する成分を含む移動により第二の色再現域の第2の色座標に変換し、また、同じ第1の色座標について、等色相角で変換したときの第二の色再現域における第3の色座標を取得し、第2の色座標と第3の色座標の間に第4の色座標を設定する。そして、第3の色座標が第4の色座標へ移動する色相角の範囲内で、第一の色再現域のうち第3の色座標と等色相角の第二の色再現域内の色座標について色相角を変更し、第3の色座標から第1の色座標までの色座標については第4の色座標から第2の色座標までの色に変換することを特徴とするものである。 The present invention relates to an image processing apparatus and an image processing method for converting color coordinates of a first color gamut into color coordinates of a second color gamut, and the second color of the first color gamut The first color coordinates outside the reproduction range are converted to the second color coordinates of the second color reproduction range by movement including a component that changes the hue angle, and the same first color coordinates are converted at the same hue angle. Then, the third color coordinate in the second color gamut is acquired, and the fourth color coordinate is set between the second color coordinate and the third color coordinate. Then, within the range of the hue angle where the third color coordinate moves to the fourth color coordinate, the color coordinate in the second color reproduction region having the same hue angle as the third color coordinate in the first color reproduction region. The hue angle is changed, and the color coordinate from the third color coordinate to the first color coordinate is converted to the color from the fourth color coordinate to the second color coordinate.
例えば、第一の色再現域の色域外郭点を第1の色座標とし、その第1の色座標から実際の等色相となるように変換を行って第二の色再現域の外郭点である第2の色座標を取得し、第2の色座標と前記第3の色座標に基づいて第二の色再現域内の色座標の色相角を変更するように構成することができる。 For example, the color gamut contour point of the first color gamut is set as the first color coordinate, and the first color coordinate is converted so as to have an actual equal hue, and the contour point of the second color gamut is determined. A certain second color coordinate is acquired, and the hue angle of the color coordinate in the second color reproduction area can be changed based on the second color coordinate and the third color coordinate.
あるいは、第一の色再現域の飽和色を第1の色座標とし、その第1の色座標を、その飽和色に対応する第二の色再現域の飽和色である第2の色座標に変換し、第2の色座標と前記第3の色座標に基づいて第二の色再現域内の色座標の色相角を変更するように構成することができる。 Alternatively, the saturated color in the first color gamut is set as the first color coordinate, and the first color coordinate is set as the second color coordinate that is the saturated color in the second color gamut corresponding to the saturated color. The hue angle of the color coordinate in the second color gamut can be changed based on the second color coordinate and the third color coordinate after conversion.
なお、色相角の変更は例えば色座標系における回転処理を行うように構成することができる。このとき、第3の色座標と等色相角の色のうち一部については色相角の変更を行わないように構成してもよい。また、第2の色座標と第3の色座標の間隔が所定値以下であれば色相角の変更を行わないように構成することもできる。 The hue angle can be changed, for example, by performing a rotation process in the color coordinate system. At this time, the hue angle may not be changed for some of the colors having the same hue angle as the third color coordinate. Alternatively, the hue angle may not be changed if the distance between the second color coordinate and the third color coordinate is equal to or smaller than a predetermined value.
さらに本発明は、上述のような画像処理装置の機能または画像処理方法をコンピュータに実行させることを特徴とする画像処理プログラムを提供し、またそのような画像処理プログラムを格納したことを特徴とし、その記憶媒体を提供するものである。 Furthermore, the present invention provides an image processing program characterized by causing a computer to execute the function of the image processing apparatus as described above or an image processing method, and stores such an image processing program. The storage medium is provided.
本発明によれば、第二の色再現域外については従来より行われている汎用性のある色域マッピング手段を利用して色相角を変更する成分を含むマッピングを行うことができ、このようなマッピング処理によって移動した色座標を最適な色とした上で、第二の色再現域内について、なるべく変更量を抑えて第二の色再現域外の移動した色座標に近づけ、色再現域内外での滑らかな階調性を保持することができるという効果がある。 According to the present invention, mapping outside the second color reproduction gamut can be performed including a component for changing the hue angle by using a versatile color gamut mapping unit that has been conventionally performed. With the color coordinates moved by the mapping process as the optimal color, the amount of change in the second color gamut is kept as close as possible to the moved color coordinates outside the second color gamut. There is an effect that smooth gradation can be maintained.
図1は、本発明の実施の一形態を示すブロック図である。図中、1は第1マッピング部、2は第2マッピング部、3は外郭色設定部、4は色相角変更部である。本発明は、入力側の色信号が取り得る色範囲を示す第一の色再現域の色座標から、出力側の色信号が取り得る色範囲を示す第二の色再現域の色座標への変換を行うものであり、以下の説明では、CIELAB色空間において処理を行うものとする。なお処理を行う色空間はCIELAB色空間に限らず、他の色空間を用いてもよく、限定されない。例えば色の見えモデルであるCIECAM02空間や知覚均等色空間であるCIELABでの等色相、及び色相角の均等性などを改善した色空間であっても良いし、色再現性と空間周波数特性を兼ね備えた視覚特性を考慮した色空間であってよい。 FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 1 is a first mapping unit, 2 is a second mapping unit, 3 is an outline color setting unit, and 4 is a hue angle changing unit. The present invention shifts from the color coordinates of the first color gamut indicating the color range that can be taken by the color signal on the input side to the color coordinates of the second color gamut showing the color range that can be taken by the color signal on the output side. In the following description, it is assumed that processing is performed in the CIELAB color space. The color space to be processed is not limited to the CIELAB color space, and other color spaces may be used and are not limited. For example, it may be a color space with improved hue and uniformity of hue angle in CIECAM02 space, which is a color appearance model, and CIELAB, which is a perceptual uniform color space, and has both color reproducibility and spatial frequency characteristics. The color space may take into account the visual characteristics.
第1マッピング部1は、第一の色再現域の色座標のうち、第二の色再現域外の第1の色座標について、色相角を変更する成分を含む移動により第二の色再現域の第2の色座標に変換するものである。例えば第一の色再現域の色域外郭点について、実際の等色相となる第二の色再現域の外郭点に変換することができる。あるいは、第一の色再現域の飽和色について、第二の色再現域の対応する飽和色に変換することができる。この第1マッピング部1は、従来より用いられている、色相角の変更を伴う色域マッピング手段を適用することができる。これによって、第二の色再現域外の色については、最適な第二の色再現域の外郭点に変換することができる。
The
第2マッピング部2は、第1マッピング部1で用いた第1の色座標について、CIELAB色空間における等色相角で変換したときの第二の色再現域における第3の色座標を取得する。例えば第一の色再現域の外郭点について、CIELAB色空間における等色相角となる第二の色再現域の外郭点を第3の色座標として求めることができる。CIELAB色空間における第1の色座標と等色相角となる色は、ここではL* 軸を辺として第1の色座標を含む半平面上の色である。第3の色座標を求める方法としては、色相角の変更を伴わない従来のマッピング手法を適用することができ、L* を一定とし、あるいはL* のみを変化させ、あるいはL* 軸の1点へ向けて直線的に変化させ、第二の色再現域の外郭との交点を求めればよい。
The
外郭色設定部3は、第1マッピング部1で求めた第2の色座標と、第2マッピング部で求めた第3の色座標の間隔を判定し、その間に第4の色座標を設定する。例えば第2の色座標と第3の色座標の中間点を第4の色座標として設定することができる。なお、第2の色座標と第3の色座標の間隔が所定値以下であれば、色相角変更部4による第二の色再現域内の色相角の変更処理を行わないようにすることができる。
The outline
色相角変更部4は、第2の色座標と第3の色座標に基づいて第一の色再現域のうち第二の色再現域内の色座標について色相角を変更する。より具体的には、第2の色座標と第3の色座標から外郭色設定部3で設定した第4の色座標に第3の色座標が移動するように、第3の色座標(及び第1の色座標)と等色相角の第二の色再現域内の色について色相角を変更する変換を行う。なお、変更する色相角は一律でなくてもよく、第3の色座標と第4の色座標の色相角の範囲内で行えばよい。例えば第3の色座標から離れるに従って変更する色相角を小さくしたり、ある範囲内の色については色相角を変更しないようにしてもよい。なお、色相角の変更は、例えばアフィン変換などによるCIELAB色空間における回転処理により行うことができる。また、第二の色再現域外の色、すなわち第3の色座標から第1の色座標までの等色相角の色については、第4の色座標から第2の色座標までの色に変換する。これによって、第二の色再現域外の色については色相が変化するものの、階調性を保つことができる。
The hue
図2は、本発明の実施の一形態における動作の一例の説明図である。ここでは、第一の色再現域の外郭の色座標について、実際に等色相となる第二の色再現域の外郭の色座標へ変換する例を示している。図2において、破線は色域の外郭を示しており、aは第二の色再現域の外郭を、bは第一の色再現域の外郭をそれぞれ示し、図中の左側が色再現域内である。第一の色再現域は例えばsRGBの色再現域、第二の色再現域は例えばプリンタの色再現域などである。もちろん両者はどのようなデバイス等の色再現域であってもよい。 FIG. 2 is an explanatory diagram of an example of the operation according to the embodiment of the present invention. Here, an example is shown in which the color coordinates of the outline of the first color reproduction area are converted into the color coordinates of the outline of the second color reproduction area that actually has the same hue. In FIG. 2, the broken line indicates the outline of the color gamut, a indicates the outline of the second color reproduction gamut, b indicates the outline of the first color reproduction gamut, and the left side in the drawing is within the color gamut. is there. The first color reproduction area is, for example, an sRGB color reproduction area, and the second color reproduction area is, for example, a printer color reproduction area. Of course, both may be in the color gamut of any device.
点Pは第一の色再現域の外郭上の色座標であり、この点Pを第1の色座標として、以下に説明してゆく。まず第1マッピング部1は、点Pについて実際に等色相となる第二の色再現域の外郭の色座標を第2の色座標として求める。求められた第2の色座標を点Rとして示している。
The point P is a color coordinate on the outline of the first color gamut, and this point P will be described below as the first color coordinate. First, the
また、第2マッピング部2は、点PについてCIELAB色空間において等色相角で変換したときの第二の色再現域の外郭の色座標を第3の色座標として求める。図2においては線分OPと第二の色再現域bとの交点である点Qを第3の色座標として求めている。なお、点OはL* 軸上の1点とすることができる。
Further, the
さらに外郭色設定部3は、第1マッピング部1で求めた点Rと、第2マッピング部2で求めた点Qとの間隔を判定する。この間隔(色空間上の距離あるいは色相角の差)が所定の値よりも小さければ、以降の処理を行わないようにしてもよい。図2では、点Rと点Qの間隔が大きいものとし、中間の点Sを第4の色座標として設定する。
Further, the outline
そして色相角変更部4は、第二の色再現域内である線分OQ上の色座標について、ここでは線分OS上の色座標へと色相角を変更する。なお、第二の色再現域外となる線分QP上の色座標については、線分SR上の色座標となるように変換すればよい。このようにして、線分OQP上の色座標は、線分OSR上の色座標へと変換されることになる。
Then, the hue
図3は、本発明の実施の一形態によって変換された色座標の軌跡の一例の説明図である。図3中の各点は図2の各点に対応している。図3(A)には従来の色相角を変更する色域マッピング手法を適用した場合の色座標の軌跡の一例を示している。線分OQP上の色座標は、第二の色再現域外となる線分QPについては従来の色域マッピング手法によって、第二の色再現域の外郭上の色座標である線分QR上の色座標に変換される。しかし、第二の色再現域内については、忠実に再現するという観点から線分OQ上の色座標は移動しない。従って、点Qから点Rまでの色相の変化量が大きくなる。 FIG. 3 is an explanatory diagram illustrating an example of a locus of color coordinates converted according to the embodiment of the present invention. Each point in FIG. 3 corresponds to each point in FIG. FIG. 3A shows an example of a locus of color coordinates when a conventional color gamut mapping method for changing the hue angle is applied. The color coordinates on the line segment OQP are the color coordinates on the line segment QR, which are the color coordinates on the outline of the second color gamut, by the conventional color gamut mapping method for the line segment QP outside the second color gamut. Converted to coordinates. However, in the second color reproduction range, the color coordinates on the line segment OQ do not move from the viewpoint of faithful reproduction. Therefore, the amount of change in hue from point Q to point R increases.
図3(B)には本発明を適用した場合の色座標の軌跡の一例を示している。本発明では、第二の色再現域内の線分OQ上の色座標については、点Qが点Sとなるように色相角を変更するので、線分OS上に変更される。また、第二の色再現域外となる線分QP上の色座標については、線分SR上の色座標に変換される。従って、線分OQP上の色座標は線分OSR上の色座標に変換されることになる。これにより、全区間での色相の変化が小さくなり、滑らかな階調再現を行い、より好ましい色再現を実現することができる。 FIG. 3B shows an example of the locus of color coordinates when the present invention is applied. In the present invention, the hue angle on the line segment OQ in the second color reproduction range is changed on the line segment OS because the hue angle is changed so that the point Q becomes the point S. Further, the color coordinates on the line segment QP that are outside the second color reproduction range are converted to the color coordinates on the line segment SR. Accordingly, the color coordinates on the line segment OQP are converted to the color coordinates on the line segment OSR. Thereby, the change in hue in the entire section becomes small, smooth gradation reproduction can be performed, and more preferable color reproduction can be realized.
なお、図3(B)では線分OQについて一律に色相角を変更したが、例えば図3(C)に示す例では、色域外郭に近づくにつれて変更する色相角を大きくしている。このように、線分OQ上の色座標についての色相角の変更方法は、点Qを点Sに変更する色相角の範囲内で任意に行うことができる。 In FIG. 3B, the hue angle is uniformly changed for the line segment OQ. However, in the example shown in FIG. 3C, for example, the hue angle to be changed is increased as the color gamut outline is approached. Thus, the method of changing the hue angle for the color coordinates on the line segment OQ can be arbitrarily performed within the range of the hue angle where the point Q is changed to the point S.
また、図2、図3には、第一の色再現域の外郭上のある色座標について示しているが、例えば第一の色再現域の外郭の色座標についてすべて行っておくほか、いくつかの外郭の色座標について求めておき、そのほかについては補間することにより求めるように構成してもよい。また、例えば色相角の変更は等色相角を有する面内の色座標に対して同様に適用するように構成してもよい。この場合、上述の彩度方向だけでなく明度方向についても色相角の変更方法を変えることもできる。 2 and 3 show certain color coordinates on the outline of the first color gamut. For example, all the color coordinates on the outline of the first color gamut are set, and some Alternatively, the color coordinates of the outline may be obtained, and the others may be obtained by interpolation. For example, the change of the hue angle may be similarly applied to the in-plane color coordinates having the same hue angle. In this case, the hue angle changing method can be changed not only in the above-described saturation direction but also in the brightness direction.
図4は、本発明の実施の一形態における動作の別の例の説明図である。ここでは、第一の色再現域の飽和色の色座標について、対応する第二の色再現域の飽和色に変換する例を示している。飽和色は、例えばRGB色空間であればR(赤)、G(緑)、B(青)のいずれか1色が最大あるいはいずれか2色が最大となる色であり、色の名前では赤、緑、青、イエロー、マゼンタ、シアンの6色の最も彩度の高い色である。YMCK色空間でも同様であり、Y(イエロー)、M(マゼンタ)、C(シアン)のいずれか1色が最大あるいはいずれか2色が最大となる色である。図4において、図2と同様に、aは第二の色再現域の外郭を、bは第一の色再現域の外郭をそれぞれ示し、図中の左側が色再現域内である。 FIG. 4 is an explanatory diagram of another example of the operation according to the embodiment of the present invention. Here, an example is shown in which the color coordinates of the saturated color in the first color gamut are converted to the corresponding saturated color in the second color gamut. For example, in the RGB color space, the saturated color is a color in which any one of R (red), G (green), and B (blue) is the maximum or any two are the maximum. , Green, blue, yellow, magenta, and cyan are the most saturated colors. The same applies to the YMCK color space, and any one of Y (yellow), M (magenta), and C (cyan) is the maximum, or any two are the maximum. In FIG. 4, as in FIG. 2, a indicates the outline of the second color gamut, b indicates the outline of the first color gamut, and the left side in the drawing is within the color gamut.
点Pは第一の色再現域のある飽和色の色座標であり、この点pを第1の色座標として、以下に説明してゆく。まず第1マッピング部1は、点pについて対応する第二の色再現域の飽和色の色座標を第2の色座標として求める。求められた第2の色座標を点rとして示している。
The point P is the color coordinate of the saturated color having the first color gamut, and this point p will be described below as the first color coordinate. First, the
また、第2マッピング部2は、点pについてCIELAB色空間において等色相角で変換したときの第二の色再現域の外郭の色座標を第3の色座標として求める。図4において、第3の色座標を点qとして求めている。
Further, the
さらに外郭色設定部3は、第1マッピング部1で求めた点rと、第2マッピング部2で求めた点qとの間隔を判定する。この間隔(色空間上の距離あるいは色相角の差)が所定の値よりも小さければ、以降の処理を行わないようにしてもよい。図4では、点rと点qの間隔が大きいものとし、中間の点sを第4の色座標として設定する。
Further, the outline
そして色相角変更部4は、第二の色再現域内である線分Oq上の色座標について、ここでは線分Os上の色座標へと色相角を変更する。また、第二の色再現域外となる線分qp上の色座標については、線分sr上の色座標となるように変換すればよい。このようにして、線分Oqp上の色座標は、折れ線状の線分Osr上の色座標へと変換されることになる。なお、点OはL* 軸上の1点とすることができる。
Then, the hue
このように、飽和色を対応づける色域マッピング処理を行った場合も、図3で説明した例と同様に、本発明によって第二の色再現域内と色再現域外とで色相角の差が小さくなり、滑らかな階調再現を行い、より好ましい色再現を実現することができる。 In this way, even when the color gamut mapping process for associating saturated colors is performed, the difference in hue angle between the second color reproduction range and the outside of the color reproduction range is reduced by the present invention, as in the example described with reference to FIG. Therefore, smooth gradation reproduction can be performed and more preferable color reproduction can be realized.
なお、上述のようにして変換前後の色座標が対応づけられるのは第一の色再現域の各飽和色の色座標と点Oを結ぶ線分あるいは面となるが、そのほかについては近隣の飽和色から求めた色相角やマッピング時の色差分などから補間によって求めることができる。 Note that the color coordinates before and after conversion are associated with each other as described above in the line segment or plane connecting the color coordinates of each saturated color and the point O in the first color gamut. It can be obtained by interpolation from the hue angle obtained from the color or the color difference at the time of mapping.
図5は、本発明の画像処理装置の機能または画像処理方法をコンピュータプログラムで実現した場合におけるコンピュータプログラム及びそのコンピュータプログラムを格納した記憶媒体の一例の説明図である。図中、11はプログラム、12はコンピュータ、21は光磁気ディスク、22は光ディスク、23は磁気ディスク、24はメモリ、31は光磁気ディスク装置、32は光ディスク装置、33は磁気ディスク装置である。 FIG. 5 is an explanatory diagram of an example of a computer program and a storage medium storing the computer program when the function of the image processing apparatus or the image processing method of the present invention is realized by the computer program. In the figure, 11 is a program, 12 is a computer, 21 is a magneto-optical disk, 22 is an optical disk, 23 is a magnetic disk, 24 is a memory, 31 is a magneto-optical disk apparatus, 32 is an optical disk apparatus, and 33 is a magnetic disk apparatus.
上述の実施の形態で説明した各部の機能の一部または全部を、コンピュータにより実行可能なプログラム11によって実現することが可能である。その場合、そのプログラム11およびそのプログラムが用いるデータ(生成した色変換モデルのデータを含む)などは、コンピュータが読み取り可能な記憶媒体に記憶することも可能である。記憶媒体とは、コンピュータのハードウェア資源に備えられている読取装置に対して、プログラムの記述内容に応じて、磁気、光、電気等のエネルギーの変化状態を引き起こして、それに対応する信号の形式で、読取装置にプログラムの記述内容を伝達できるものである。例えば、光磁気ディスク21,光ディスク22(CDやDVDなどを含む)、磁気ディスク23,メモリ24(ICカード、メモリカードなどを含む)等である。もちろんこれらの記憶媒体は、可搬型に限られるものではない。
Part or all of the functions of the units described in the above embodiments can be realized by a
これらの記憶媒体にプログラム11を格納しておき、例えばコンピュータ12の光磁気ディスク装置31,光ディスク装置32,磁気ディスク装置33,あるいは図示しないメモリスロットにこれらの記憶媒体を装着することによって、コンピュータからプログラム11を読み出し、本発明の画像処理装置の機能または画像処理方法を実行することができる。あるいは、予め記憶媒体をコンピュータ12に装着しておき、例えばネットワークなどを介してプログラム11をコンピュータ12に転送し、記憶媒体にプログラム11を格納して実行させてもよい。
By storing the
もちろん、一部の機能についてハードウェアによって構成することもできるし、あるいは、すべてをハードウェアで構成してもよい。あるいは、他の構成とともに本発明の色変換装置の構成も含めたプログラムとして構成することも可能であり、例えば複写機や画像形成装置における制御プログラムとともに1つのプログラムとして構成することもできる。もちろん、他の用途に適用する場合には、その用途におけるプログラムとの一体化も可能である。 Of course, some functions may be configured by hardware, or all may be configured by hardware. Alternatively, it can be configured as a program including the configuration of the color conversion apparatus of the present invention together with other configurations. For example, it can be configured as one program together with a control program in a copying machine or an image forming apparatus. Of course, in the case of application to other purposes, integration with a program for that purpose is also possible.
1…第1マッピング部、2…第2マッピング部、3…外郭色設定部、4…色相角変更部、11…プログラム、12…コンピュータ、21…光磁気ディスク、22…光ディスク、23…磁気ディスク、24…メモリ、31…光磁気ディスク装置、32…光ディスク装置、33…磁気ディスク装置。
DESCRIPTION OF
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006031574A JP4557171B2 (en) | 2006-02-08 | 2006-02-08 | Image processing apparatus, image processing method, image processing program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006031574A JP4557171B2 (en) | 2006-02-08 | 2006-02-08 | Image processing apparatus, image processing method, image processing program, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007214810A JP2007214810A (en) | 2007-08-23 |
JP4557171B2 true JP4557171B2 (en) | 2010-10-06 |
Family
ID=38492868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006031574A Expired - Fee Related JP4557171B2 (en) | 2006-02-08 | 2006-02-08 | Image processing apparatus, image processing method, image processing program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4557171B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05115000A (en) * | 1991-01-14 | 1993-05-07 | Canon Inc | Color image processing method and device |
JP2002152540A (en) * | 2000-11-14 | 2002-05-24 | Fuji Xerox Co Ltd | Apparatus and method for processing color image signal |
JP2003134350A (en) * | 2001-10-22 | 2003-05-09 | Fuji Xerox Co Ltd | Image processing apparatus |
JP2003283852A (en) * | 2002-03-20 | 2003-10-03 | Fuji Xerox Co Ltd | System, method and program for processing color image |
-
2006
- 2006-02-08 JP JP2006031574A patent/JP4557171B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05115000A (en) * | 1991-01-14 | 1993-05-07 | Canon Inc | Color image processing method and device |
JP2002152540A (en) * | 2000-11-14 | 2002-05-24 | Fuji Xerox Co Ltd | Apparatus and method for processing color image signal |
JP2003134350A (en) * | 2001-10-22 | 2003-05-09 | Fuji Xerox Co Ltd | Image processing apparatus |
JP2003283852A (en) * | 2002-03-20 | 2003-10-03 | Fuji Xerox Co Ltd | System, method and program for processing color image |
Also Published As
Publication number | Publication date |
---|---|
JP2007214810A (en) | 2007-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8204304B2 (en) | Color gamut mapping by forming curved cross-sectional surfaces | |
US8432588B2 (en) | Color mapping | |
KR101166388B1 (en) | Color space conversion apparatus and control method for thereof | |
US7961366B2 (en) | Color gamut modification and color mapping method and apparatus | |
US6778185B1 (en) | Method and apparatus for mapping colors into a color gamut | |
US6522427B1 (en) | Color table manipulations for contour reduction | |
JP2002016818A (en) | Color correction method and device, and recording medium | |
US20090002783A1 (en) | Image processing apparatus and profile generating method | |
US6922197B2 (en) | Method of generating color separation table | |
JP2002016939A (en) | Method and apparatus for processing image as well as recording medium | |
JP4803122B2 (en) | Color processing apparatus and program | |
WO2005009027A1 (en) | Tone setting for monochrome image | |
US8111423B2 (en) | Image processing device and image processing method | |
JP2007028148A (en) | Apparatus, method and program for color conversion, and recording medium | |
US8643922B2 (en) | Gamut clipping with preprocessing | |
JP2005191808A (en) | Image processing apparatus, image processing method, and image processing program | |
JP4618683B2 (en) | Image processing apparatus, gamut correction method, image processing method, program, and recording medium | |
JP2004104777A (en) | Color gamut mapping method, color gamut mapping device, color gamut mapping program, and storage medium | |
JP5159565B2 (en) | Color processing apparatus and method | |
JP4557171B2 (en) | Image processing apparatus, image processing method, image processing program, and recording medium | |
JP2008172436A (en) | Image processing unit, method, and program | |
JP4109946B2 (en) | Color correction table creation method and apparatus, control program, and recording medium | |
JP2009017473A (en) | Color gamut generation device, color gamut generation method, color gamut generation program, and color conversion unit | |
JP2008236083A (en) | Image processor, color conversion method, color conversion table preparation method, program and storage medium | |
JP2008072550A (en) | Color processing method, color processing apparatus, image forming apparatus, program and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081225 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100401 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100421 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100611 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100630 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4557171 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100713 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130730 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140730 Year of fee payment: 4 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |