JP2005269540A - Image processing apparatus and method thereof - Google Patents

Image processing apparatus and method thereof Download PDF

Info

Publication number
JP2005269540A
JP2005269540A JP2004082797A JP2004082797A JP2005269540A JP 2005269540 A JP2005269540 A JP 2005269540A JP 2004082797 A JP2004082797 A JP 2004082797A JP 2004082797 A JP2004082797 A JP 2004082797A JP 2005269540 A JP2005269540 A JP 2005269540A
Authority
JP
Japan
Prior art keywords
color
image data
input
color space
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004082797A
Other languages
Japanese (ja)
Inventor
Tomoko Taguchi
智子 田口
Koji Aikawa
幸二 相川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2004082797A priority Critical patent/JP2005269540A/en
Publication of JP2005269540A publication Critical patent/JP2005269540A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus and a method thereof capable of dealing with input image data of a closed type input device-dependent color space and an open type device non-dependent color space, and capable of almost the same color reproduction between both the data. <P>SOLUTION: The input data of a closed type input device-dependent color space is subjected to color conversion into a standard input color reproduction region in an input standardizing section 1, then, subjected to color space conversion into a device non-dependent color space in an input color space converter 3, and subjected to color gamut compression into a color region corresponding to a standard output color reproduction gamut in a color processor 5. In contrast, the input image data of a device non-dependent color space is subjected to a color space conversion as necessary in a device non-dependent color space converter 4, and then, subjected to color gamut compression from a color region corresponding to a standard input color reproduction gamut to a color region corresponding to a standard output color reproduction gamut in the processor 5. The image data subjected to the color gamut compression are subjected to color space conversion into an output device-dependent color space in an output color space converter 6, and are converted into output image data of a color reproduction gamut for each output device in an output converter 8. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、本発明は、カラーデジタル画像を扱う画像処理技術に関するものである。   The present invention relates to an image processing technique for handling color digital images.

ネットワークシステムの普及に伴い、ネットワーク上で画像をやり取りする機会も増加した。同時に、同じ原稿をネットワークに繋がった複数の異なる画像出力デバイスで出力する機会も増加している。   With the spread of network systems, the opportunity to exchange images over the network has also increased. At the same time, the opportunity to output the same document on a plurality of different image output devices connected to a network is increasing.

複数の出力デバイスで印刷する場合、しばしば「出力物の色味が違う」という問題が発生する。これは、出力デバイスごとに色再現域が異なるためであり、同じ画像を色再現域の異なる出力デバイスで出力した時に、たとえ各々の出力デバイスでは最適に出力できたとしても、それぞれの出力デバイスからの出力結果を比較すると、色が許容レベル以上に異なってしまう。   When printing with a plurality of output devices, there is often a problem that “the color of the output product is different”. This is because each output device has a different color gamut. When the same image is output from an output device with a different color gamut, each output device can output the same image. When the output results of are compared, the color is different from the allowable level.

このような問題を解決する技術として、例えば特許文献1には、出力デバイスに共通の仮想共通色再現域を設け、入力色データを一旦仮想共通色再現域内の色となるように変換(色域圧縮)した後、それぞれの出力デバイスの色再現域に色域圧縮する技術が記載されている。これによって、それぞれの出力デバイスで再現される色の違いを最小限に抑えている。   As a technique for solving such a problem, for example, in Patent Document 1, a common virtual common color gamut is provided in an output device, and input color data is once converted into a color within the virtual common color gamut (color gamut). A technique for performing color gamut compression on the color gamut of each output device after compression) is described. This minimizes the color difference reproduced by each output device.

また、例えば特許文献2に記載されているように、出力デバイスの色空間について標準の色再現域を設けるとともに、入力デバイスの色空間についても標準の色再現域を設け、入力データについてデバイス依存の色空間において標準の色再現域に変換した後、出力デバイスの色空間の標準色再現域のデータに変換し、その後、それぞれの出力デバイスに応じた色再現域のデータに変換する技術もある。   For example, as described in Patent Document 2, a standard color gamut is provided for the color space of the output device, a standard color gamut is provided for the color space of the input device, and input data is device-dependent. There is also a technique in which after conversion to a standard color gamut in the color space, the data is converted into data in the standard color gamut of the output device color space, and then converted into data in the color gamut corresponding to each output device.

しかし、これらの技術だけでは、ネットワーク上でやり取りされる画像を扱うには不十分である。一般には画像はRGBやCMYKまたはL* * * といった色空間のデータとして記述されているが、同じ原稿の中でもRGBとCMYKや、RGBとL* * * といったように、複数の色空間のデータが混在している場合もある。上述の従来技術では、入力データはいずれもRGB色空間のデータであることが前提となっており、他の色空間のデータや複数の色空間のデータが混在しているデータが入力された場合については考慮されていなかった。 However, these technologies alone are insufficient to handle images exchanged on the network. Generally, an image is described as data in a color space such as RGB, CMYK, or L * a * b * . However, a plurality of colors such as RGB and CMYK or RGB and L * a * b * are included in the same document. In some cases, spatial data is mixed. In the above-described prior art, it is assumed that all input data is data in the RGB color space. When data in another color space or data in which a plurality of color spaces are mixed is input. Was not considered.

特に、RGB色空間のように色空間自体が閉じている色データと、L* * * 色空間のように色空間が開いている色データが混在する原稿では、十分な画質が得られないという問題がある。これは、RGB色空間における色域に比べて、L* * * 色空間のような開放型の色空間の方が、表現できる色域が大きいことによる。このような開放型の色空間では使用されない色の範囲も多いものの、使用される可能性も考えて出力デバイスの色再現域への色域圧縮を行うため、必要以上に圧縮率が高くなって、RGB色空間のデータも狭い色域に圧縮されてしまう。そのため、出力デバイスの色再現域を十分に利用できなくなってしまう。また逆に、RGB色空間の色再現域を出力デバイスの色再現域に合わせて色域圧縮を行うと、L* * * 色空間のような開放型の色空間におけるRGB色空間の色再現範囲外の色については良好な色再現を行うことができず、画質が劣化するという問題があった。 In particular, sufficient image quality can be obtained in a document in which color data in which the color space itself is closed such as the RGB color space and color data in which the color space is open such as the L * a * b * color space are mixed. There is no problem. This is because the open color space such as the L * a * b * color space has a larger color gamut than the color gamut in the RGB color space. Although there are many color ranges that are not used in such an open color space, the color gamut is compressed to the color gamut of the output device in consideration of the possibility of being used, so the compression ratio becomes higher than necessary. The RGB color space data is also compressed into a narrow color gamut. As a result, the color gamut of the output device cannot be fully utilized. Conversely, when color gamut compression is performed by matching the color gamut of the RGB color space with the color gamut of the output device, the color of the RGB color space in an open color space such as the L * a * b * color space. For colors outside the reproduction range, satisfactory color reproduction cannot be performed, and there is a problem that image quality deteriorates.

特開2002−252785号公報JP 2002-252785 A 特開2000−50092号公報JP 2000-50092 A

本発明は、上述した事情に鑑みてなされたもので、デバイスに依存した閉鎖的な色空間の入力画像データにも、また、デバイス非依存の開放型の色空間の入力画像データにも対応でき、いずれの入力画像データについても、いずれの出力デバイスでもほぼ同様の色再現が可能な画像処理装置及び画像処理方法を提供することを目的とするものである。   The present invention has been made in view of the above-described circumstances, and can deal with input image data in a closed color space depending on a device and input image data in an open color space that is device-independent. It is an object of the present invention to provide an image processing apparatus and an image processing method capable of reproducing almost the same color with any output device for any input image data.

本発明は、入力デバイス依存の色空間の色信号もしくはデバイス非依存の色空間の色信号が入力画像データとして与えられ、該入力画像データを出力デバイス依存の色信号の出力画像データに変換する画像処理装置及び画像処理方法において、前記入力画像データが入力デバイス依存の色信号である場合に前記入力画像データを該入力デバイス依存の色空間で定義された共通の標準入力色再現域内の第1中間画像データに入力標準化手段で変換し、入力デバイス依存の色空間の前記第1中間画像データをデバイス非依存の色空間の第2中間画像データに第1色空間変換手段で変換し、前記入力画像データがデバイス非依存の色信号である場合に該入力画像データを受け取りあるいは前記第1色空間変換手段から前記第2中間画像データを受け取って出力デバイス依存の色空間で定義された共通の標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行い第3中間画像データに色処理手段で変換し、前記第3中間画像データを出力デバイス依存の色空間における前記標準出力色再現域内となる第4中間色信号に第2色空間変換手段で変換し、出力デバイス依存の色空間で前記標準出力色再現域内の前記第4中間画像データを出力デバイスの色再現域内の前記出力画像データに出力変換手段で変換することを特徴とするものである。   According to the present invention, an input device-dependent color space color signal or a device-independent color space color signal is given as input image data, and the input image data is converted to output device-dependent color signal output image data. In the processing apparatus and the image processing method, when the input image data is an input device-dependent color signal, the input image data is a first intermediate in a common standard input color reproduction range defined in the input device-dependent color space. The image data is converted by the input standardization means, the first intermediate image data in the input device-dependent color space is converted by the first color space conversion means to the second intermediate image data in the device-independent color space, and the input image When the data is a device-independent color signal, the input image data is received or the second intermediate image data is received from the first color space conversion means. Thus, color gamut compression processing is performed on the color gamut in the device-independent color space corresponding to the common standard output color gamut defined in the output device-dependent color space, and converted to the third intermediate image data by the color processing means. The third intermediate image data is converted by the second color space conversion means into a fourth intermediate color signal that falls within the standard output color gamut in the output device-dependent color space, and the standard output color is converted in the output device-dependent color space. The fourth intermediate image data in the reproduction area is converted into the output image data in the color reproduction area of the output device by output conversion means.

また本発明は、入力デバイス依存の色空間の色信号もしくはデバイス非依存の色空間の色信号が入力画像データとして与えられ、該入力画像データを出力デバイス依存の色信号の出力画像データに変換する画像処理装置及び画像処理方法において、前記入力画像データが入力デバイス依存の色信号である場合に前記入力画像データをデバイス非依存の色空間の色信号である第1中間画像データに第1色空間変換手段で変換し、前記第1中間画像データをデバイス非依存の色空間で定義された入力デバイスに共通の標準入力色再現域内の第2中間画像データに入力標準化手段で変換し、前記入力画像データがデバイス非依存の色信号である場合に該入力画像データを受け取りあるいは前記入力標準化手段から前記第2中間画像データを受け取って前記出力デバイスに共通の標準出力色再現域への色域圧縮処理を行い第3中間画像データに色処理手段で変換し、前記標準出力色再現域の前記第3中間画像データを出力デバイスの色再現域に対応する色領域内の第4中間画像データに出力変換手段で変換し、前記第4中間画像データを出力デバイス依存の色空間の出力画像データに第2色空間変換手段で変換することを特徴とするものである。   According to the present invention, a color signal in an input device-dependent color space or a color signal in a device-independent color space is given as input image data, and the input image data is converted into output image data of an output device-dependent color signal. In the image processing apparatus and the image processing method, when the input image data is an input device-dependent color signal, the input image data is converted into a first intermediate image data that is a color signal in a device-independent color space. Converting the first intermediate image data into second intermediate image data in a standard input color reproduction gamut common to input devices defined in a device-independent color space by the input standardization means, When the data is a device-independent color signal, the input image data is received or the second intermediate image data is received from the input standardization means A color gamut compression process to a standard output color gamut common to the output device is performed and converted into third intermediate image data by color processing means, and the third intermediate image data in the standard output color gamut is converted to the color of the output device. Converting to fourth intermediate image data in a color area corresponding to the reproduction area by output conversion means, and converting the fourth intermediate image data to output image data in an output device-dependent color space by second color space conversion means; It is characterized by.

なお、入力画像データがデバイス非依存色空間の色信号である場合であって、入力画像データのデバイス非依存色空間が色処理手段で扱うデバイス非依存色空間とは異なる場合には、第3色空間変換手段で色空間変換を行い、色空間変換された画像データを前記第3の中間画像データに変換するように構成することができる。   If the input image data is a color signal in a device-independent color space and the device-independent color space of the input image data is different from the device-independent color space handled by the color processing means, the third Color space conversion can be performed by color space conversion means, and the image data subjected to color space conversion can be converted to the third intermediate image data.

このような本発明の画像処理装置及び画像処理方法において、色処理手段で色域圧縮処理を行う際には、前記入力画像データがデバイス非依存色空間の色信号である場合に、色の重要度に応じた色域圧縮処理を行うように構成することができる。例えば、デバイス非依存色空間を、最も重要な色で構成される標準入力色再現域を含む第1の領域と、1ないし複数の入力デバイスの色再現域を包含する領域のうち第1の領域以外の色で構成され、第1の領域の次に重要な色で構成される第2の領域と、それ以外の色で構成される第3の領域に分け、各領域に応じた色域圧縮処理を行うことができる。色域圧縮処理としては、まず第3の領域の色については第2の領域の色に色域圧縮処理を行った後、第2の領域の色に対する色域圧縮処理を行う。第1,第2の領域の色については、まず第1の領域の色について標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行うとともに、第1の領域に対する色域圧縮処理を第2の領域にも適用した後、標準出力色再現域外となった色に関して標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行う。これによって、全ての色を標準出力色再現域内の色に変換することができる。   In such an image processing apparatus and image processing method of the present invention, when color gamut compression processing is performed by the color processing means, color importance is important when the input image data is a color signal in a device-independent color space. It can be configured to perform color gamut compression processing according to the degree. For example, the device-independent color space includes a first region including a standard input color gamut composed of the most important colors and a first region among regions including a color gamut of one or more input devices. Divided into a second area composed of colors other than the first area and the third area composed of colors other than the first area, and color gamut compression corresponding to each area Processing can be performed. As the color gamut compression processing, first, for the color of the third region, the color gamut compression processing is performed on the color of the second region, and then the color gamut compression processing is performed on the color of the second region. For the colors of the first and second regions, first, the color of the first region is subjected to color gamut compression processing to the color gamut in the device-independent color space corresponding to the standard output color gamut. After applying the color gamut compression processing for the area to the second area, the color gamut compression processing to the color reproduction gamut in the device-independent color space corresponding to the standard output color reproduction gamut for colors outside the standard output color reproduction gamut I do. As a result, all colors can be converted to colors within the standard output color gamut.

また、第1中間画像データに対して、または色処理手段で色域圧縮処理を行う際に、あるいは第4中間画像データに対して、それぞれのデータに対応した色調整処理を行うように構成することができる。   Further, the color adjustment processing corresponding to each data is performed on the first intermediate image data, when the color gamut compression processing is performed by the color processing means, or on the fourth intermediate image data. be able to.

本発明によれば、閉鎖型のデバイス依存の色空間の入力画像データが与えられた場合も、また開放型のデバイス非依存色空間の入力画像データが与えられた場合にも、標準出力色再現域を使用して色域圧縮処理を行い、出力デバイスごとの色再現域に変換するので、入力デバイスの違いや入力画像データの色空間の違いによらず、それぞれの出力デバイスで再現される色の違いを最小限に抑え、良好な出力画像を得ることができるという効果がある。また、色空間が異なるデータが混在した原稿の場合でも、それぞれの部分に応じた色変換処理を施すことができ、混在による出力色の差を小さくすることができる。   According to the present invention, the standard output color reproduction is performed both when the input image data of the closed device-dependent color space is given and when the input image data of the open device-independent color space is given. Since the color gamut compression processing is performed using the gamut and converted into the color gamut for each output device, the color reproduced by each output device regardless of the difference in the input device or the color space of the input image data. There is an effect that a good output image can be obtained by minimizing the difference. Further, even in the case of a document in which data having different color spaces are mixed, color conversion processing corresponding to each portion can be performed, and the difference in output colors due to mixing can be reduced.

図1は、本発明の第1の実施の形態を示すブロック図である。図中、1は入力標準化部、2は入力色調整部、3は入力色空間変換部、4はデバイス非依存色空間変換部、5は色処理部、6は出力色空間変換部、7は出力色調整部、8は出力変換部である。本発明における入力画像データとしては、例えばRGBなどの入力デバイス依存の色空間の色信号、もしくはCIEXYZやCIELABなどのデバイス非依存の色空間の色信号が与えられる。入力画像データが入力デバイス依存の色空間の色信号の場合には入力標準化部1に入力され、入力画像データがデバイス非依存の色空間の色信号の場合にはデバイス非依存色空間変換部4に入力される。なお、両者が混在している原稿については、その部分毎に、入力デバイス依存の色空間の色信号の部分については入力標準化部1に入力され、デバイス非依存の色空間の色信号の部分についてはデバイス非依存色空間変換部4に入力される。また、出力画像データは、出力デバイス依存の色空間の色信号である。なお、以下の説明では、入力画像データとしてRGBあるいはCIEXYZの色信号が入力され、出力画像データとしてYMCKの色信号が出力されるものとする。もちろん、これらに限られないことは言うまでもないし、入力デバイス依存の色空間、デバイス非依存色空間、出力デバイス依存色空間のそれぞれについて、複数の色空間に対応していてもよい。   FIG. 1 is a block diagram showing a first embodiment of the present invention. In the figure, 1 is an input standardization unit, 2 is an input color adjustment unit, 3 is an input color space conversion unit, 4 is a device-independent color space conversion unit, 5 is a color processing unit, 6 is an output color space conversion unit, and 7 is An output color adjustment unit 8 is an output conversion unit. As input image data in the present invention, for example, a color signal in an input device-dependent color space such as RGB or a color signal in a device-independent color space such as CIEXYZ or CIELAB is given. When the input image data is a color signal in an input device-dependent color space, the input image data is input to the input standardization unit 1, and when the input image data is a color signal in a device-independent color space, a device-independent color space conversion unit 4 is used. Is input. For a document in which both are mixed, for each portion, the color signal portion of the input device-dependent color space is input to the input standardization unit 1, and the color signal portion of the device-independent color space is input. Is input to the device-independent color space conversion unit 4. The output image data is a color signal in an output device-dependent color space. In the following description, it is assumed that RGB or CIEXYZ color signals are input as input image data, and YMCK color signals are output as output image data. Of course, it is needless to say that the present invention is not limited to these, and each of the input device-dependent color space, the device-independent color space, and the output device-dependent color space may correspond to a plurality of color spaces.

入力標準化部1は、入力デバイス依存の色空間の入力画像データを受け取り、その入力デバイス依存の色空間で定義された共通の標準入力色再現域内の第1中間画像データに入力画像データを変換する。   The input standardization unit 1 receives input image data in an input device-dependent color space, and converts the input image data into first intermediate image data in a common standard input color gamut defined in the input device-dependent color space. .

入力色調整部2は、入力デバイス依存色空間の第1中間画像データに対して、必要に応じて色調整を行う。色調整としては、例えば明度調整やコントラスト調整、彩度調整、γ補正などを行うことができる。なお、この入力色調整部2を設けずに構成してもよい。   The input color adjustment unit 2 performs color adjustment on the first intermediate image data in the input device-dependent color space as necessary. As color adjustment, for example, brightness adjustment, contrast adjustment, saturation adjustment, and γ correction can be performed. The input color adjusting unit 2 may be omitted.

入力色空間変換部3は、適宜色調整が施された入力デバイス依存色空間の第1中間画像データについて、入力デバイス依存の色空間からデバイス非依存の色空間への色空間変換を行って第2中間画像データに変換する。例えばRGBからCIELABへの色空間変換を行うことができる。   The input color space conversion unit 3 performs color space conversion from the input device-dependent color space to the device-independent color space for the first intermediate image data in the input device-dependent color space that has been appropriately color-adjusted. 2 Convert to intermediate image data. For example, color space conversion from RGB to CIELAB can be performed.

デバイス非依存色空間変換部4は、デバイス非依存色空間の入力画像データを受け取り、色処理部5で扱うデバイス非依存色空間への色空間変換を行う。例えばCIEXYZからCIELABへの色空間変換を行うことができる。なお、入力画像データのデバイス非依存色空間が、もともと色処理部5で扱うデバイス非依存色空間と同じである場合には、このデバイス非依存色空間変換部4による色空間変換処理は必要ないし、常にこの色空間変換処理が必要なければ、デバイス非依存色空間変換部4を設けずに構成してもよい。   The device-independent color space conversion unit 4 receives input image data in the device-independent color space, and performs color space conversion into a device-independent color space handled by the color processing unit 5. For example, color space conversion from CIEXYZ to CIELAB can be performed. If the device-independent color space of the input image data is originally the same as the device-independent color space handled by the color processing unit 5, color space conversion processing by the device-independent color space conversion unit 4 is not necessary. If this color space conversion process is not always necessary, the device independent color space conversion unit 4 may be omitted.

色処理部5は、色空間変換部3から第2中間画像データを受け取り、あるいはデバイス非依存色空間変換部4で必要に応じて色空間変換された入力画像データを受け取り、出力デバイス依存の色空間で定義された共通の標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行って、第3中間画像データに変換する。第2中間画像データについては、入力デバイス依存の色空間において定義された標準入力色再現域の色がデバイス非依存色空間に変換されたものであるから、デバイス非依存色空間においても対応する閉じた領域内の色となっている。従って、閉じた領域の色から閉じた領域の色への色域圧縮処理を行うことになる。一方、デバイス非依存色空間の入力画像データの場合には、デバイス非依存色空間が開放型の色空間であることから、開放された領域の色を閉じた領域の色へ変換することになる。もちろんデバイス非依存色空間の入力画像データの値としては有限ではあるが、実際に再現可能な色範囲以外のかなり広い領域の色のデータが入力される可能性がある、従って、かなり広い領域の色を、標準出力色再現域に対応した閉じた領域の色へ変換することになる。しかし、ほとんど使用されない色の領域も多いことから、後述するような色の重要度に応じた色域圧縮処理を行うことができる。   The color processing unit 5 receives the second intermediate image data from the color space conversion unit 3, or receives the input image data color space converted as necessary by the device-independent color space conversion unit 4, and outputs the output device-dependent color A color gamut compression process is performed on the color gamut in the device-independent color space corresponding to the common standard output color gamut defined in the space, and converted into third intermediate image data. Regarding the second intermediate image data, since the color of the standard input color gamut defined in the input device-dependent color space is converted into the device-independent color space, the corresponding closure is also performed in the device-independent color space. The color is in the area. Therefore, the color gamut compression processing from the color of the closed region to the color of the closed region is performed. On the other hand, in the case of input image data in a device-independent color space, since the device-independent color space is an open color space, the color of the open area is converted to the color of the closed area. . Of course, the input image data value in the device-independent color space is limited, but there is a possibility that data of a considerably wide area other than the color range that can be actually reproduced may be input. The color is converted to a color in a closed area corresponding to the standard output color reproduction area. However, since there are many color areas that are rarely used, color gamut compression processing according to the importance of colors as described later can be performed.

また色処理部5は、色域圧縮処理を行う際に、色調整を行うことができる。色処理部5で行う色調整の処理としては、デバイス非依存色空間の画像データを扱うことで補正しやすい処理、例えば色相角調整や明度調整、彩度調整などを行うことができる。もちろん色調整は任意であり、行わなくても良い。   The color processing unit 5 can perform color adjustment when performing color gamut compression processing. As color adjustment processing performed by the color processing unit 5, processing that can be easily corrected by handling image data in a device-independent color space, such as hue angle adjustment, lightness adjustment, and saturation adjustment, can be performed. Of course, the color adjustment is optional and may not be performed.

出力色空間変換部6は、色処理部5から第3中間画像データを受け取り、その第3中間画像データについてデバイス非依存色空間から出力デバイス依存の色空間への色空間変換を行って、第4中間色信号に変換する。上述のように色処理部5において標準出力色再現域に対応する色に変換して第3中間画像データとしているので、第4中間画像データは出力デバイス依存の色空間において標準出力色再現域内の色となっている。   The output color space conversion unit 6 receives the third intermediate image data from the color processing unit 5, performs a color space conversion from the device-independent color space to the output device-dependent color space for the third intermediate image data, Converts to 4 intermediate color signals. As described above, since the color processing unit 5 converts the color into the color corresponding to the standard output color gamut to obtain the third intermediate image data, the fourth intermediate image data is in the standard output color gamut in the output device-dependent color space. It is a color.

出力色調整部7は、出力デバイス依存色空間の第4の中間画像データに対して、必要に応じて色調整を行う。色調整としては、カラーバランス調整や濃度調整等を行うことができる。なお、この出力色調整部7を設けずに構成してもよい。   The output color adjustment unit 7 performs color adjustment as necessary on the fourth intermediate image data in the output device-dependent color space. As color adjustment, color balance adjustment, density adjustment, and the like can be performed. The output color adjusting unit 7 may be omitted.

出力変換部8は、適宜色調整が施された出力デバイス依存色空間の第4中間画像データについて、標準出力色再現域の色を、実際に画像を出力する出力デバイスの色再現域内の色となるように色域圧縮処理を行い、出力画像データに変換して出力する。この出力画像データは、出力デバイスに渡され、出力画像データに従って画像が出力される。   For the fourth intermediate image data in the output device-dependent color space that has been appropriately color-adjusted, the output conversion unit 8 converts the color in the standard output color gamut to the color in the color gamut of the output device that actually outputs the image. A color gamut compression process is performed so that the output image data is converted and output. This output image data is passed to the output device, and an image is output according to the output image data.

図2は、本発明の第1の実施の形態における動作の一例の説明図である。特に図2においては、それぞれの画像データの色空間の変遷を中心に示している。この例では図2(A)に示すように、入力画像データとして、入力デバイスaのデバイス色空間の画像データと、入力デバイスbのデバイス色空間の画像データと、デバイス非依存色空間の画像データが混在した例を示している。このうち、入力デバイスaと入力デバイスbのデバイス色空間の画像データについては、入力標準化部1において、標準入力色再現域内の第1中間画像データに変換される(図2(B))。例えば入力デバイスa,bともRGB色空間の画像データを出力するものである場合、画像データの値が同じでも色としては異なる場合が多く、色再現域も異なる場合が多い。このような入力デバイスごとに異なる色及び色再現域を、標準入力色再現域に合わせる変換処理を行う。例えば標準入力色再現域を実現する色空間として、sRGB色空間を利用することができる。入力デバイスa,bに依存したRGB色空間の画像データを、標準化されたRGB色空間であるsRGB色空間の画像データに変換することによって入力デバイスによらない共通の第1中間画像データを得ることができる。   FIG. 2 is an explanatory diagram of an example of the operation according to the first embodiment of this invention. In particular, FIG. 2 mainly shows the transition of the color space of each image data. In this example, as shown in FIG. 2A, as input image data, image data in the device color space of the input device a, image data in the device color space of the input device b, and image data in the device-independent color space Shows an example of a mixture of. Among these, the image data in the device color space of the input device a and the input device b is converted into the first intermediate image data in the standard input color reproduction range by the input standardization unit 1 (FIG. 2B). For example, when both the input devices a and b output image data in the RGB color space, the colors are often different even if the values of the image data are the same, and the color gamuts are often different. Conversion processing is performed to match different colors and color reproduction ranges for each input device with the standard input color reproduction range. For example, the sRGB color space can be used as a color space for realizing the standard input color reproduction range. By obtaining image data in the RGB color space depending on the input devices a and b into image data in the sRGB color space, which is a standardized RGB color space, common first intermediate image data independent of the input device is obtained. Can do.

この第1中間画像データに対して入力色調整部2で適宜色調整を行った後、入力色空間変換部3によりデバイス非依存色空間の画像データである第2中間画像データに変換する(図2(C))。変換前の第1中間画像データが入力デバイス依存色空間における標準入力色再現域内の画像データであるため、デバイス非依存色空間に変換された第2中間画像データにおいても標準入力色再現域に対応した色領域内の画像データとなる。   After the input color adjustment unit 2 appropriately performs color adjustment on the first intermediate image data, the input color space conversion unit 3 converts the first intermediate image data into second intermediate image data that is image data in a device-independent color space (see FIG. 2 (C)). Since the first intermediate image data before conversion is image data in the standard input color gamut in the input device-dependent color space, the second intermediate image data converted into the device-independent color space also supports the standard input color gamut. The image data is in the color area.

次に、色処理部5において、標準入力色再現域に対応した色領域の第2中間画像データを、標準出力色再現域に対応した色領域の第3中間画像データに変換する(図2(C)内)。図3は、デバイス非依存色空間における標準入力色再現域及び標準出力色再現域に対応する色領域の一例の説明図である。図3においては、デバイス非依存色空間におけるある色相断面を示している。図3中の破線で示した色領域は、入力デバイス依存色空間で定義された標準入力色再現域に対応する色領域である。また、図3中の実線で示した色領域は、出力デバイス依存色空間で定義された標準出力色再現域に対応する色領域である。色処理部5においては、図3において破線で示した色領域の色を、実線で示した色領域の色に変換する色域圧縮処理を行う。   Next, the color processing unit 5 converts the second intermediate image data in the color region corresponding to the standard input color reproduction range to the third intermediate image data in the color region corresponding to the standard output color reproduction range (FIG. 2 ( C) in). FIG. 3 is an explanatory diagram of an example of a color area corresponding to the standard input color reproduction area and the standard output color reproduction area in the device-independent color space. FIG. 3 shows a hue section in a device-independent color space. A color region indicated by a broken line in FIG. 3 is a color region corresponding to the standard input color reproduction region defined in the input device-dependent color space. Further, the color area indicated by the solid line in FIG. 3 is a color area corresponding to the standard output color reproduction area defined in the output device-dependent color space. The color processing unit 5 performs color gamut compression processing for converting the color of the color area indicated by the broken line in FIG. 3 into the color of the color area indicated by the solid line.

色域圧縮処理としては、明度保存法、彩度保存法、目標点圧縮法、あるいはこれらの組み合わせなど、公知の種々の方法を用いることができる。例えば、特開2002−152538号公報に記載されているように、色相調整処理及び明度調整処理を行った後に、目標点圧縮法を用いて色変換処理を行う方法を適用することができる。この色域圧縮処理の概要を以下に説明しておく。   As the color gamut compression process, various known methods such as a lightness preservation method, a saturation preservation method, a target point compression method, or a combination thereof can be used. For example, as described in JP-A-2002-152538, it is possible to apply a method of performing color conversion processing using a target point compression method after performing hue adjustment processing and lightness adjustment processing. The outline of the color gamut compression process will be described below.

図4は、色相調整処理の概念図である。入力デバイスにより入力された入力画像データは、入力デバイスの影響を受けた色相角により作成されている。デバイス非依存色空間に変換された第2中間画像データも、標準入力色再現域への変換の際の処理内容にもよるが、色相角は入力デバイスに共通した影響を受けたままである。この色相角のズレを調整することによって、入出力の画像データにおける色再現性を向上させることができる。   FIG. 4 is a conceptual diagram of the hue adjustment process. The input image data input by the input device is created by the hue angle affected by the input device. Although the second intermediate image data converted into the device-independent color space also depends on the processing content when converted into the standard input color reproduction gamut, the hue angle remains affected by the common input device. By adjusting the deviation of the hue angle, color reproducibility in input / output image data can be improved.

この色相調整は、図4に示すように、CIELAB色空間においてはL* 軸を中心として回転移動するだけで行うことができる。例えば図4に示した点アの色は、回転移動によって点イの色に変更される。なお、このときの回転角や回転方向は、入力されたカラー画像信号の色相に応じて決められる。例えばマゼンタ(M)は赤(R)に近づく方向に大きく移動させる。また、青(B)はシアン(C)に近づく方向に大きく移動させるとよい。逆に黄(Y)はほとんど色相を変更しなくてよい。 As shown in FIG. 4, this hue adjustment can be performed only by rotating around the L * axis in the CIELAB color space. For example, the color of point a shown in FIG. 4 is changed to the color of point a by rotational movement. Note that the rotation angle and the rotation direction at this time are determined according to the hue of the input color image signal. For example, magenta (M) is largely moved in a direction approaching red (R). Further, blue (B) may be moved largely in a direction approaching cyan (C). Conversely, yellow (Y) needs almost no change in hue.

図5は、明度調整処理の一例の説明図である。図中、破線及び実線は図3と同様である。まず、標準入力色再現域に対応する色領域の明度レンジ、すなわち明度の最大値から最小値までを、標準出力色再現域に対応する色領域の明度レンジに合わせるように、標準入力色再現域に対応する色領域全体について明度方向の調整を行う。これによって、標準入力色再現域に対応する色領域は図5(B)に破線で示したようになる。   FIG. 5 is an explanatory diagram of an example of brightness adjustment processing. In the figure, the broken line and the solid line are the same as those in FIG. First, the standard input color gamut is adjusted so that the brightness range of the color area corresponding to the standard input color gamut, that is, the maximum value to the minimum value of the brightness is matched to the brightness range of the color area corresponding to the standard output color gamut The brightness direction is adjusted for the entire color region corresponding to. As a result, the color area corresponding to the standard input color reproduction area becomes as shown by the broken line in FIG.

さらに、上述のような明度レンジの調整を施した後の標準入力色再現域に対応する色領域における最大彩度を有する点(CUSPi)の明度と、標準出力色再現域に対応する色領域の最大彩度を有する点(CUSPo)の明度との差の範囲内で、所定の関数によって点(CUSPi)を調整し、それに合わせて標準入力色再現域に対応する色領域全体の明度方向の調整処理を行う。例えば図5(B)に破線で示している色領域から、最大彩度を有する点(CUSPi)の明度を調整し、図5(C)に破線で示している色領域に調整する。   Further, the brightness of the point (CUSPi) having the maximum saturation in the color area corresponding to the standard input color reproduction area after the adjustment of the lightness range as described above, and the color area corresponding to the standard output color reproduction area The point (CUSpi) is adjusted by a predetermined function within a range of the difference from the lightness of the point having the maximum saturation (CUSPo), and the lightness direction of the entire color region corresponding to the standard input color reproduction region is adjusted accordingly. Process. For example, the lightness of the point (CUSPi) having the maximum saturation is adjusted from the color region indicated by the broken line in FIG. 5B, and is adjusted to the color region indicated by the broken line in FIG.

このようにして図5(A)に破線で示す標準入力色再現域に対応する色領域内の色を図5(C)に破線で示す色領域内の色に変換した後、図5(C)に実線で示す標準出力色再現域に対応する色領域内の色への変換処理を行う。例えば、標準出力色再現域に対応する色領域において最大彩度を有する点(CUSPo)の明度よりも高い場合には、標準出力色再現域に対応する色領域外では彩度軸に対して所定の角度で標準出力色再現域に対応する色領域の外郭へむけて圧縮し、標準出力色再現域に対応する色領域内では明度を保存したまま彩度のみについて変換処理する。また、点(CUSPo)の明度よりも低い場合には、所定の明度を持つ無彩色を目標点とし、明度調整後のカラー画像信号の色と目標点を結ぶ直線方向に明度および彩度を変換処理することができる。   In this way, after the colors in the color area corresponding to the standard input color reproduction range indicated by the broken line in FIG. 5A are converted into the colors in the color area indicated by the broken line in FIG. 5C, FIG. ) Is converted to a color in the color area corresponding to the standard output color reproduction area indicated by the solid line. For example, if the lightness of the point (CUSPo) having the maximum saturation in the color region corresponding to the standard output color gamut is higher than the color region corresponding to the standard output color gamut, a predetermined value is set with respect to the saturation axis. Is compressed toward the outline of the color area corresponding to the standard output color gamut, and the color area corresponding to the standard output color gamut is converted only for the saturation while maintaining the lightness. When the brightness is lower than the point (CUSPo), the target point is an achromatic color having a predetermined brightness, and the brightness and saturation are converted in a straight line direction connecting the color image signal color after the brightness adjustment and the target point. Can be processed.

このようにして標準出力色再現域に対応する色領域に色域圧縮処理された第3中間画像データ(図2(C)内)は、出力色空間変換部6により出力デバイス依存色空間に色空間変換され、第4中間画像データとなる(図2(D))。第3中間画像データが標準出力色再現域に対応した色領域に色域圧縮したものであることから、色空間変換された第4中間画像データは、標準出力色再現域内の画像データとなっている。なお、この第4中間画像データに対して、出力色調整部7により適宜色調整を行うことができる。   The third intermediate image data (in FIG. 2C) that has been subjected to the color gamut compression processing in the color region corresponding to the standard output color reproduction region in this way is output by the output color space conversion unit 6 in the output device dependent color space. It is spatially converted to become the fourth intermediate image data (FIG. 2D). Since the third intermediate image data is color gamut compressed into a color area corresponding to the standard output color gamut, the fourth intermediate image data subjected to color space conversion becomes image data in the standard output color gamut. Yes. Note that the output color adjustment unit 7 can appropriately perform color adjustment on the fourth intermediate image data.

最後に出力変換部8によって、適宜色調整を行った標準出力色再現域の第4中間画像データをそれぞれの出力デバイスの色再現域の出力画像データに変換し(図2(E))、対応する出力デバイスに出力する。図2では出力デバイスc及び出力デバイスdを示しているが、それぞれの色再現域が異なっていても、標準出力色再現域からそれぞれの出力デバイスの色再現域に変換することによって、それぞれの出力デバイスにおいて最適な色再現が可能になる。   Finally, the output conversion unit 8 converts the fourth intermediate image data in the standard output color gamut with appropriate color adjustment into output image data in the color gamut of each output device (FIG. 2 (E)). Output to the output device. Although FIG. 2 shows the output device c and the output device d, each output can be obtained by converting the standard output color gamut to the color gamut of each output device even if the color gamuts are different. Optimal color reproduction is possible on the device.

一方、入力画像データのうちデバイス非依存色空間の画像データについては、デバイス非依存色空間変換部4によって、色処理部5が用いるデバイス非依存色空間の画像データに変換される。入力画像データがCIEXYZ色空間の画像データであり、色処理部5がCIELAB色空間の画像データを用いる場合には、CIEXYZ色空間からCIELAB色空間への色空間変換を行えばよい。もちろん、入力画像データの色空間と色処理部5が用いる色空間とが一致していれば、デバイス非依存色空間変換部4による色空間変換は不要である。   On the other hand, the device-independent color space image data in the input image data is converted into the device-independent color space image data used by the color processing unit 5 by the device-independent color space conversion unit 4. When the input image data is image data in the CIEXYZ color space and the color processing unit 5 uses image data in the CIELAB color space, color space conversion from the CIEXYZ color space to the CIELAB color space may be performed. Of course, if the color space of the input image data matches the color space used by the color processing unit 5, the color space conversion by the device-independent color space conversion unit 4 is unnecessary.

色処理部5では、必要に応じて色空間変換されたデバイス非依存色空間の入力画像データを受け取り、標準出力色再現域に対応する色領域への色域圧縮処理を行って第3中間画像データとする。このとき、デバイス非依存色空間は開放型であるため、色値としては有限であっても例えば入力デバイス依存色空間などに比べて広い色領域を取り得る。例えば図3に示した、ある色相平面で言えば、図示されている標準入力色再現域や標準出力色再現域に対応する色領域を含む2次元平面全体の値を取り得る。従って、広い色領域の色を、狭い標準出力色再現域に対応する色領域に圧縮しなければならない。しかし、一律に圧縮してしまうと圧縮過多となり、色再現性が劣化する。また、上述の入力デバイス依存色空間の入力画像データとの整合性もとれなくなる。そのため、ここでは色の重要度に応じた色域圧縮処理を行う。その一つの方法として、特開2002−152538号公報に記載されている方法を適用することができる。以下、この方法について概要を説明する。   The color processing unit 5 receives input image data of a device-independent color space that has been color space converted as necessary, performs a color gamut compression process on a color region corresponding to the standard output color reproduction gamut, and performs a third intermediate image. Data. At this time, since the device-independent color space is an open type, even if the color value is finite, for example, a wider color region can be taken compared to the input device-dependent color space. For example, in the case of a certain hue plane shown in FIG. 3, the value of the entire two-dimensional plane including the color area corresponding to the standard input color reproduction range and the standard output color reproduction range shown in the figure can be taken. Therefore, a color in a wide color area must be compressed into a color area corresponding to a narrow standard output color reproduction area. However, if the compression is performed uniformly, the compression becomes excessive and the color reproducibility deteriorates. In addition, consistency with the input image data in the input device-dependent color space cannot be obtained. For this reason, here, a color gamut compression process according to the importance of the color is performed. As one of the methods, a method described in JP 2002-152538 A can be applied. The outline of this method will be described below.

図6は、色処理部で色の重要度に応じて設定する複数の色領域の一例の説明図である。図6では、デバイス非依存色空間としてCIELAB色空間を想定し、L* 軸を含むある色相平面を示している。なお、破線によって標準入力色再現域に対応する色領域を示している。 FIG. 6 is an explanatory diagram of an example of a plurality of color regions set by the color processing unit according to the importance of the color. In FIG. 6, a CIELAB color space is assumed as the device-independent color space, and a hue plane including the L * axis is shown. A broken line indicates a color area corresponding to the standard input color reproduction area.

領域Aは、色再現に重要な色を含む領域を示している。例えば、領域Aは標準入力色再現域に対応する色領域を含む領域とすることが望ましい。領域Bは、領域Aの次に重要な色を含む領域であり、例えば1ないし複数の入力デバイスの色再現域に対応する色領域を包含し、領域Aに含まれない色の領域とするとよい。この領域Bの色は、常に利用される色ではないので重要度は領域A内の色に比べて低いが、入力デバイスによっては使用されることもある色であるため、ある程度、良好な色再現が求められる領域である。そのため、領域Aの色変換処理に影響しない程度に良好な色再現が行われるように色変換処理を行う。領域Cは、領域A及び領域B以外の領域である。この領域の色は、実際に使用されることはほとんどなく、重要度が低い色である。しかし、例えばユーザが数値設定などによって指定したり、ソフトウェアなどによって数値によりデータを生成したような場合には、入力される可能性がある色である。そのため、入力されたときにそれなりの色が再現されるようにしておく必要があり、そのための色変換処理を行えばよい。なお、この例では3つの領域に分割した例を示しているが、これに限らず、例えば2あるいは4以上に分割してもよい。   A region A indicates a region including a color important for color reproduction. For example, the area A is preferably an area including a color area corresponding to the standard input color reproduction area. The area B is an area including the next most important color after the area A. For example, the area B includes a color area corresponding to the color reproduction area of one or more input devices, and may be a color area not included in the area A. . Since the color of the area B is not always used, the importance is lower than the color in the area A. However, the color of the area B may be used depending on the input device. Is a required area. For this reason, the color conversion process is performed so that a satisfactory color reproduction is performed so as not to affect the color conversion process of the region A. Region C is a region other than region A and region B. The color in this area is rarely used and is a color with low importance. However, for example, when the user designates by numerical value setting or generates data by numerical value by software or the like, the color may be input. For this reason, it is necessary to reproduce an appropriate color when input, and color conversion processing for that purpose may be performed. In this example, an example in which the area is divided into three areas is shown. However, the present invention is not limited to this. For example, the area may be divided into two or four or more areas.

まず領域A内の色に対する色域圧縮処理であるが、これは上述の標準入力色再現域に対応する色領域から標準出力色再現域に対応する色領域への色域圧縮処理と同じ処理を行えばよい。これによって、重要度の高い色については入力デバイス依存色空間の入力画像データとの整合性をとることができる。   First, the color gamut compression process for the colors in the area A is the same process as the color gamut compression process from the color area corresponding to the standard input color reproduction area to the color area corresponding to the standard output color reproduction area. Just do it. As a result, the color having high importance can be matched with the input image data in the input device-dependent color space.

領域B内の色については、領域Aの色と同様の手法を適用した後、標準出力色再現域に対応する色領域外となった色についてさらに色域圧縮処理を行う。より詳細には、図4で説明したような色相角調整及び図5で説明した明度調整の処理を行った後、標準出力色再現域に対応する色領域において最大彩度を有する点(CUSPo)の明度よりも高い場合と低い場合とで、それぞれの手法により色域圧縮処理を行う。   For the colors in the area B, after applying the same method as the colors in the area A, the color gamut compression processing is further performed on the colors outside the color area corresponding to the standard output color gamut. More specifically, after performing the hue angle adjustment as described in FIG. 4 and the brightness adjustment process as described in FIG. 5, the point having the maximum saturation in the color region corresponding to the standard output color reproduction region (CUSPo) The color gamut compression processing is performed by the respective methods depending on whether the brightness is higher than or lower than the brightness.

図7は、領域Bの画像データに対する色変換処理の一例の説明図である。図7(A)は明度調整後の画像データの明度が点(CUSPo)の明度よりも高い場合を示し、図7(B)は明度調整後の画像データの明度が点(CUSPo)の明度よりも低い場合を示している。明度調整後の画像データの明度が点(CUSPo)の明度よりも高い場合には、明度調整後のカラー画像信号を示す点(黒丸で示す)を通り、彩度軸と所定の角度をなす直線を考え、この直線と標準出力色再現域に対応する色領域の外郭との交点(黒の三角で示す)を求める。さらに、彩度軸と所定の角度をなす直線と標準出力色再現域に対応する色領域の外郭との交点を通り、L* 軸に直交する直線(この直線は明度を保存する)を考える。このようにして得られる、交点で屈曲する経路に従って、それぞれの距離を算出する。 FIG. 7 is an explanatory diagram of an example of color conversion processing for the image data in the region B. FIG. 7A shows a case where the brightness of the image data after the brightness adjustment is higher than the brightness of the point (CUSPo), and FIG. 7B shows the brightness of the image data after the brightness adjustment from the brightness of the point (CUSPo). It shows the case where it is low. When the brightness of the image data after the brightness adjustment is higher than the brightness of the point (CUSPo), a straight line that passes through a point (shown by a black circle) indicating the color image signal after the brightness adjustment and forms a predetermined angle with the saturation axis The intersection (indicated by a black triangle) between this straight line and the outline of the color area corresponding to the standard output color reproduction area is obtained. Further, consider a straight line that passes through the intersection of a straight line that forms a predetermined angle with the saturation axis and the outline of the color region corresponding to the standard output color gamut and is orthogonal to the L * axis (this straight line preserves brightness). Each distance is calculated in accordance with the path bent at the intersection obtained in this way.

このような方法で色域圧縮処理を行い、領域Aの外郭上の色(黒の三角で示す)は、標準出力色再現域に対応する色領域の外郭に変換すると、領域A外の色については標準出力色再現域に対応する色領域外の色(白丸で示す)となってしまう。そのため、標準出力色再現域に対応する色領域内の点となるように、2回目の色域圧縮処理を行う。この2回目の色域圧縮処理としては、例えば色差最小法等を用いることができる。   When color gamut compression processing is performed in such a manner and the color on the outline of the area A (shown by a black triangle) is converted into the outline of the color area corresponding to the standard output color reproduction area, the color outside the area A Becomes a color outside the color region corresponding to the standard output color reproduction region (indicated by a white circle). Therefore, the second color gamut compression process is performed so as to be a point in the color region corresponding to the standard output color reproduction region. As the second color gamut compression process, for example, a color difference minimum method or the like can be used.

このようにして、領域B内の色は、この例では2段階の色域圧縮処理によって標準出力色再現域に対応する色領域内の色に変換することができる。もちろんこのような方法に限られるものではなく、例えば領域A及び領域Bを一体として標準出力色再現域に対応する色領域に色域圧縮するものとし、この時の圧縮率を領域Aでは低く、領域Bでは高く設定するといった方法も適用可能である。   In this way, the colors in the region B can be converted into the colors in the color region corresponding to the standard output color reproduction region by the two-step color gamut compression processing in this example. Of course, the method is not limited to this method. For example, the region A and the region B are integrated into a color region corresponding to the standard output color reproduction region, and the compression rate at this time is low in the region A. A method of setting a high value in the area B is also applicable.

領域C内の色については、通常では使用されることがほとんどない色の領域であるため、それなりの色が再現されるように変換しておけばよい。例えば明度を保ったまま領域Bの外郭の色へ変換し、その後、領域B内の色と同様にして色域圧縮処理を行うことができる。もちろん、他の方法を適用してもよい。   The color in the area C is an area of a color that is rarely used normally, and therefore, it may be converted so that an appropriate color is reproduced. For example, the color can be converted into the outline color of the region B while maintaining the brightness, and then the color gamut compression processing can be performed in the same manner as the color in the region B. Of course, other methods may be applied.

このようにして、図6に示したそれぞれの領域の色について、標準出力色再現域に対応する色領域内の色に圧縮することができる。このとき、それぞれの色の重要度に応じた処理を施すことによって、色の再現性を向上させている。また、それぞれの領域の色域圧縮処理を連動させることでなるべく再現色を連続させることができ、良好な色再現を実現することができる。さらに、入力デバイス依存色空間の入力画像データとの整合性を図ることができる。   In this way, the colors in the respective areas shown in FIG. 6 can be compressed into the colors in the color area corresponding to the standard output color reproduction area. At this time, color reproducibility is improved by performing processing according to the importance of each color. Further, the color reproduction can be continued as much as possible by linking the color gamut compression processing of each region, and good color reproduction can be realized. Furthermore, it is possible to achieve consistency with input image data in the input device-dependent color space.

上述のようにして色域圧縮処理が行われ、標準出力色再現域に対応する色領域に色域圧縮された第3中間画像データが得られる。以後は入力デバイス依存色空間の入力画像データの場合と同様に、出力色空間変換部6により出力デバイス依存色空間に色空間変換して第4中間画像データとし、出力色調整部7により適宜色調整を行った後、出力変換部8によってそれぞれの出力デバイスの色再現域の出力画像データに変換すればよい。   As described above, color gamut compression processing is performed, and third intermediate image data that is color gamut-compressed into a color region corresponding to the standard output color reproduction gamut is obtained. Thereafter, as in the case of the input image data in the input device-dependent color space, the output color space conversion unit 6 performs color space conversion to the output device-dependent color space to obtain fourth intermediate image data, and the output color adjustment unit 7 selects an appropriate color. After the adjustment, the output converter 8 may convert the output image data in the color gamut of each output device.

このように、上述の第1の実施の形態によれば、入力画像データが閉鎖型の入力デバイス依存色空間の画像データの場合でも、開放型のデバイス非依存色空間の画像データの場合でも、それぞれの出力デバイスに応じた出力画像データを得ることができ、それぞれの出力デバイスにおいて良好な画質で画像を出力することができる。また入力デバイス依存色空間の画像データとデバイス非依存色空間の画像データとが混在した入力画像データであっても、それぞれに最適な処理を施すことによって、よりよい色再現が可能になる。   As described above, according to the first embodiment described above, whether the input image data is image data in a closed input device-dependent color space or image data in an open device-independent color space, Output image data corresponding to each output device can be obtained, and an image can be output with good image quality in each output device. Further, even if input image data is a mixture of image data in the input device-dependent color space and image data in the device-independent color space, better color reproduction can be achieved by performing optimum processing for each.

図8は、本発明の第2の実施の形態を示すブロック図である。図中の符号は図1と同様であり、重複する説明を省略する。上述の第1の実施の形態では、入力デバイス依存色空間においてそれぞれの入力デバイスの色領域を標準入力色再現域に変換し、また出力デバイス依存色空間において標準出力色再現域をそれぞれの出力デバイスの色領域に変換した。この第2の実施の形態では、それぞれの入力デバイスに対応した入力画像データをデバイス非依存色空間に色空間変換した後に標準入力色再現域に変換し、またデバイス非依存色空間において標準出力色再現域をそれぞれの出力デバイスの色領域に変換した後に出力デバイス依存色空間に変換する例を示している。   FIG. 8 is a block diagram showing a second embodiment of the present invention. The reference numerals in the figure are the same as those in FIG. In the first embodiment described above, the color area of each input device is converted into the standard input color gamut in the input device dependent color space, and the standard output color gamut is converted into each output device in the output device dependent color space. Converted to the color area. In the second embodiment, input image data corresponding to each input device is color space converted into a device-independent color space and then converted into a standard input color reproduction gamut, and a standard output color in the device-independent color space. An example is shown in which the reproduction area is converted into the color area of each output device and then converted into the output device-dependent color space.

入力色空間変換部3は、入力デバイス依存色空間の入力画像データをデバイス非依存色空間の第1中間画像データに変換する。この第1中間画像データは、それぞれの入力デバイスにおける色再現域をそのまま反映するものであり、いずれの入力デバイスにおける入力画像データであるかによりデバイス非依存色空間における色再現域は異なる。   The input color space conversion unit 3 converts input image data in the input device-dependent color space into first intermediate image data in a device-independent color space. The first intermediate image data directly reflects the color gamut in each input device, and the color gamut in the device-independent color space differs depending on which input device is the input image data.

入力色調整部2は、デバイス非依存色空間の第1中間画像データに対して適宜色調整を行う。色調整としては、例えば明度調整やコントラスト調整、彩度調整などを行うことができる。もちろん、色調整を行う必要がなければ入力色調整部2を設けなくてもよい。   The input color adjustment unit 2 appropriately performs color adjustment on the first intermediate image data in the device-independent color space. As the color adjustment, for example, brightness adjustment, contrast adjustment, saturation adjustment, and the like can be performed. Of course, if it is not necessary to perform color adjustment, the input color adjustment unit 2 may not be provided.

入力標準化部1は、適宜色調整が行われた第1中間画像データについて、それぞれの入力デバイスに対応した色再現域を、入力デバイスに共通の標準入力色再現域に変換し、第2中間画像データとする。なお、この第2の実施の形態では、標準入力色再現域はデバイス非依存色空間において定義された色領域である。   The input standardization unit 1 converts the color gamut corresponding to each input device into the standard input color gamut common to the input devices for the first intermediate image data that has been appropriately color-adjusted to obtain the second intermediate image. Data. In the second embodiment, the standard input color gamut is a color area defined in a device-independent color space.

デバイス非依存色空間変換部4は上述の第1の実施の形態と同様であり、デバイス非依存色空間の入力画像データを受け取り、色処理部5で扱うデバイス非依存色空間への色空間変換を行う。もちろん、入力画像データのデバイス非依存色空間が、もともと色処理部5で扱うデバイス非依存色空間と同じである場合には、このデバイス非依存色空間変換部4による色空間変換処理は必要ないし、常にこの色空間変換処理が必要なければ、デバイス非依存色空間変換部4を設けずに構成してもよい。   The device-independent color space conversion unit 4 is the same as that in the first embodiment described above, receives input image data in a device-independent color space, and converts the color space into a device-independent color space handled by the color processing unit 5 I do. Of course, when the device-independent color space of the input image data is the same as the device-independent color space originally handled by the color processing unit 5, the color space conversion processing by the device-independent color space conversion unit 4 is not necessary. If this color space conversion process is not always necessary, the device independent color space conversion unit 4 may be omitted.

色処理部5は、入力標準化部1から第2中間画像データを受け取り、あるいはデバイス非依存色空間変換部4で必要に応じて色空間変換された入力画像データを受け取り、出力デバイスに共通の標準出力色再現域への色域圧縮処理を行って、第3中間画像データに変換する。標準出力色再現域も、この第2の実施の形態ではデバイス非依存色空間において定義された色領域である。なお、色域圧縮処理については上述の第1の実施の形態と同様でよい。   The color processing unit 5 receives the second intermediate image data from the input standardization unit 1 or receives the input image data that has been color space converted by the device-independent color space conversion unit 4 as necessary, and is a standard common to the output devices. A color gamut compression process is performed on the output color reproduction gamut to convert it into third intermediate image data. The standard output color reproduction area is also a color area defined in the device-independent color space in the second embodiment. Note that the color gamut compression processing may be the same as in the first embodiment.

出力変換部8は、標準出力色再現域の第3中間画像データを、それぞれの出力デバイスの色再現域に対応するデバイス非依存色空間における色領域に変換して第4中間画像データとする。この第2の実施の形態では、この色変換をデバイス非依存色空間において行う。   The output conversion unit 8 converts the third intermediate image data in the standard output color gamut into a color region in a device-independent color space corresponding to the color gamut of each output device, and generates fourth intermediate image data. In the second embodiment, this color conversion is performed in a device-independent color space.

出力色調整部7は、第4中間画像データに対して適宜色調整を行う。色調整としては、第4中間画像データが既に各出力デバイスの色域に対応した画像データであることから、それぞれの出力デバイスに対応する各種の色調整を行うことができる。例えば、出力デバイスがインクやトナーなどを用いる印刷装置である場合には、それらのインクやトナーなどの総量規制処理などを行うことができる。もちろん、色調整が必要なければ調整処理は不要であるし、出力色調整部7を設けずに構成してもよい。   The output color adjustment unit 7 appropriately performs color adjustment on the fourth intermediate image data. As the color adjustment, since the fourth intermediate image data is already image data corresponding to the color gamut of each output device, various color adjustments corresponding to each output device can be performed. For example, when the output device is a printing apparatus that uses ink, toner, or the like, total amount restriction processing for the ink, toner, or the like can be performed. Of course, if color adjustment is not necessary, adjustment processing is unnecessary, and the output color adjustment unit 7 may be omitted.

出力色空間変換部6は、デバイス非依存色空間の第4中間画像データを、出力デバイス依存色空間の出力画像データに変換し、出力デバイスへ出力する。   The output color space conversion unit 6 converts the fourth intermediate image data in the device-independent color space into output image data in the output device-dependent color space, and outputs the output image data to the output device.

図9は、本発明の第2の実施の形態における動作の一例の説明図である。図9においても、図2と同様にそれぞれの画像データの色空間の変遷を中心に示している。また入力画像データは図2(A)と同様であり、入力デバイスaのデバイス色空間の画像データと、入力デバイスbのデバイス色空間の画像データと、デバイス非依存色空間の画像データが混在した例を示している。   FIG. 9 is an explanatory diagram of an example of the operation according to the second embodiment of the present invention. 9 also shows the transition of the color space of each image data, as in FIG. The input image data is the same as that shown in FIG. 2A. The image data in the device color space of the input device a, the image data in the device color space of the input device b, and the image data in the device-independent color space are mixed. An example is shown.

入力画像データのうち、入力デバイスaのデバイス色空間の画像データと入力デバイスbのデバイス色空間の画像データについては、入力色空間変換部3によりデバイス非依存色空間に色空間変換されて第1中間画像データとなる(図9(B))。図10は、デバイス非依存色空間における各入力デバイスの色再現域に対応した色領域と標準入力色再現域の関係の一例の説明図である。それぞれの入力デバイスは、固有の色再現域を有しているため、デバイス非依存色空間に変換しするとそれぞれの入力デバイスの色再現域に対応した色領域の画像データとなる。図10においては、実線で入力デバイスaの色再現域に対応する色領域を示し、一点鎖線により入力デバイスbの色再現域に対応する色領域を示している。このように、それぞれの入力デバイスの色再現域に対応する色領域は異なっている。なお、この時点で各入力デバイスに対応した色調整を行うことができる。   Of the input image data, the image data in the device color space of the input device a and the image data in the device color space of the input device b are color space converted into a device-independent color space by the input color space conversion unit 3 and are first. Intermediate image data is obtained (FIG. 9B). FIG. 10 is an explanatory diagram showing an example of the relationship between the color area corresponding to the color gamut of each input device in the device-independent color space and the standard input color gamut. Since each input device has a unique color gamut, when converted to a device-independent color space, image data of a color region corresponding to the color gamut of each input device is obtained. In FIG. 10, a solid line indicates a color area corresponding to the color gamut of the input device a, and a dashed line indicates a color area corresponding to the color gamut of the input device b. As described above, the color regions corresponding to the color gamuts of the respective input devices are different. At this point, color adjustment corresponding to each input device can be performed.

このようにそれぞれの入力デバイスの色再現域に対応する色領域の第1中間画像データは、入力標準化部1において、それぞれの入力デバイスの色再現域に対応する色領域から標準入力色再現域への色変換を行って第2中間画像データとする(図9(C))。図10においては標準入力色再現域を破線によって示しており、少なくとも標準入力色再現域外の色については標準入力色再現域内の色となるように変換する。   As described above, the first intermediate image data of the color region corresponding to the color gamut of each input device is converted from the color region corresponding to the color gamut of each input device to the standard input color gamut in the input standardization unit 1. Is converted into second intermediate image data (FIG. 9C). In FIG. 10, the standard input color gamut is indicated by a broken line, and at least colors outside the standard input color gamut are converted to become colors within the standard input color gamut.

標準入力色再現域の第2中間画像データは、色処理部5において、標準入力色再現域から標準出力色再現域への色域圧縮処理が行われ、第3中間画像データに変換される(図9(D))。この色処理部5における色域圧縮処理は、上述の第1の実施の形態と同様であるので、ここでは説明を省略する。   The second intermediate image data in the standard input color gamut is subjected to color gamut compression processing from the standard input color gamut to the standard output color gamut in the color processing unit 5 and converted into third intermediate image data ( FIG. 9D). Since the color gamut compression processing in the color processing unit 5 is the same as that in the first embodiment described above, description thereof is omitted here.

色処理部5で色域圧縮処理された標準出力色再現域の第3中間画像データは、出力変換部8によってそれぞれの出力デバイスの色再現域に対応する色領域に変換し、第4中間画像データとする(図9(E))。図11は、標準出力色再現域とデバイス非依存色空間における各入力デバイスの色再現域に対応した色領域の関係の一例の説明図である。実線は標準出力色再現域を示し、破線と一点鎖線はそれぞれ出力デバイスc、dの色再現域に対応する色領域を示している。図11に示すように出力デバイスがそれぞれ異なる色再現域を有している場合があり、出力変換部8で標準出力色再現域からそれぞれの出力デバイスにおいて最適な色領域への変換を行う。従って、第4中間画像データは、出力対象によって異なる色領域の画像データとなる。   The third intermediate image data of the standard output color reproduction gamut that has been subjected to the color gamut compression processing by the color processing unit 5 is converted into a color region corresponding to the color reproduction gamut of each output device by the output conversion unit 8 to obtain the fourth intermediate image. Data is used (FIG. 9E). FIG. 11 is an explanatory diagram showing an example of the relationship between the standard output color gamut and the color gamut corresponding to the color gamut of each input device in the device-independent color space. A solid line indicates a standard output color gamut, and a broken line and an alternate long and short dash line indicate color areas corresponding to the color gamuts of the output devices c and d, respectively. As shown in FIG. 11, the output devices may have different color gamuts, and the output conversion unit 8 converts the standard output color gamut to the optimum color gamut for each output device. Accordingly, the fourth intermediate image data is image data of a color region that differs depending on the output target.

このようにそれぞれの出力デバイスの色再現域に対応した第4中間画像データは、出力色調整部7で適宜色調整した後、出力色空間変換部6により出力デバイス依存色空間に色空間変換され、出力画像データとなる(図9(F))。この出力画像データは、それぞれの出力デバイスの色再現域に対応した画像データである。出力画像データは、それぞれの対応する出力デバイスに渡され、画像が出力される。   As described above, the fourth intermediate image data corresponding to the color gamut of each output device is appropriately color-adjusted by the output color adjusting unit 7 and then color space converted by the output color space converting unit 6 to the output device-dependent color space. And output image data (FIG. 9F). This output image data is image data corresponding to the color gamut of each output device. The output image data is transferred to each corresponding output device, and an image is output.

一方、入力画像データのうちデバイス非依存色空間の画像データについては、上述の第1の実施の形態と同様に、必要に応じてデバイス非依存色空間変換部4によってデバイス非依存色空間の色空間変換処理を行った後、色処理部5で標準出力色再現域への色域圧縮処理を行って第3中間画像データとする。このときの色域圧縮処理は、上述の第1の実施の形態と同様にして行えばよい。   On the other hand, as for the image data in the device-independent color space in the input image data, the device-independent color space color is converted by the device-independent color space conversion unit 4 as necessary, as in the first embodiment. After performing the space conversion process, the color processing unit 5 performs the color gamut compression process to the standard output color reproduction gamut to obtain third intermediate image data. The color gamut compression process at this time may be performed in the same manner as in the first embodiment.

標準出力色再現域に色域圧縮された第3中間画像データは、上述の入力画像データが入力デバイス依存色空間の画像データの場合と同様に、出力変換部8でそれぞれの出力対象の出力デバイスにおける色再現域に対応した色領域の第4中間画像データに変換され、出力色調整部7により適宜色調整を行った後、出力色空間変換部6によってそれぞれの出力デバイス依存色空間の出力画像データに色空間変換される。そして、出力対象の出力デバイスに出力画像データが渡され、出力デバイスにおいて画像が出力される。   The third intermediate image data that has been color gamut-compressed into the standard output color reproduction gamut is output to each output device by the output conversion unit 8 as in the case where the input image data is image data in the input device-dependent color space. Are converted into the fourth intermediate image data of the color area corresponding to the color reproduction area in FIG. 5, and after the color adjustment is appropriately performed by the output color adjustment unit 7, the output image of the output device dependent color space is output by the output color space conversion unit 6. Color space converted to data. Then, output image data is passed to the output device to be output, and an image is output from the output device.

このように、第2の実施の形態においても上述の第1の実施の形態と同様に、入力画像データが閉鎖型の入力デバイス依存色空間の画像データの場合でも、開放型のデバイス非依存色空間の画像データの場合でも、それぞれの出力デバイスに応じた出力画像データを得ることができ、それぞれの出力デバイスにおいて良好な画質で画像を出力することができる。また入力デバイス依存色空間の画像データとデバイス非依存色空間の画像データとが混在した入力画像データであっても、それぞれに最適な処理を施すことによって、よりよい色再現が可能になる。   As described above, in the second embodiment, as in the first embodiment, even when the input image data is image data in a closed input device-dependent color space, an open-type device-independent color is used. Even in the case of spatial image data, output image data corresponding to each output device can be obtained, and an image can be output with good image quality on each output device. Further, even if input image data is a mixture of image data in the input device-dependent color space and image data in the device-independent color space, better color reproduction can be achieved by performing optimum processing for each.

なお、上述の第1の実施の形態と第2の実施の形態を組み合わせ、例えば入力側では第1の実施の形態のように入力デバイス依存色空間において標準入力色再現域への変換を行い、出力側ではデバイス非依存色空間において標準出力色再現域への変換を行うといったことも可能であるし、またその逆も可能である。   The first embodiment and the second embodiment described above are combined. For example, on the input side, conversion to the standard input color gamut is performed in the input device-dependent color space as in the first embodiment. On the output side, it is possible to perform conversion to the standard output color gamut in the device-independent color space, and vice versa.

本発明の第1の実施の形態を示すブロック図である。It is a block diagram which shows the 1st Embodiment of this invention. 本発明の第1の実施の形態における動作の一例の説明図である。It is explanatory drawing of an example of the operation | movement in the 1st Embodiment of this invention. デバイス非依存色空間における標準入力色再現域及び標準出力色再現域に対応する色領域の一例の説明図である。It is explanatory drawing of an example of the color area corresponding to the standard input color reproduction range in a device independent color space, and a standard output color reproduction range. 色相調整処理の概念図である。It is a conceptual diagram of a hue adjustment process. 明度調整処理の一例の説明図である。It is explanatory drawing of an example of a brightness adjustment process. 色処理部で色の重要度に応じて設定する複数の色領域の一例の説明図である。It is explanatory drawing of an example of several color area | region set according to the importance of a color in a color processing part. 領域Bの画像データに対する色変換処理の一例の説明図である。FIG. 10 is an explanatory diagram illustrating an example of color conversion processing for image data in a region B. 本発明の第2の実施の形態を示すブロック図である。It is a block diagram which shows the 2nd Embodiment of this invention. 本発明の第2の実施の形態における動作の一例の説明図である。It is explanatory drawing of an example of the operation | movement in the 2nd Embodiment of this invention. デバイス非依存色空間における各入力デバイスの色再現域に対応した色領域と標準入力色再現域の関係の一例の説明図である。It is explanatory drawing of an example of the relationship between the color area corresponding to the color reproduction range of each input device in a device independent color space, and a standard input color reproduction range. 標準出力色再現域とデバイス非依存色空間における各入力デバイスの色再現域に対応した色領域の関係の一例の説明図である。It is explanatory drawing of an example of the relationship of the color area corresponding to the color reproduction range of each input device in a standard output color reproduction range and a device independent color space.

符号の説明Explanation of symbols

1…入力標準化部、2…入力色調整部、3…入力色空間変換部、4…デバイス非依存色空間変換部、5…色処理部、6…出力色空間変換部、7…出力色調整部、8…出力変換部。   DESCRIPTION OF SYMBOLS 1 ... Input standardization part, 2 ... Input color adjustment part, 3 ... Input color space conversion part, 4 ... Device independent color space conversion part, 5 ... Color processing part, 6 ... Output color space conversion part, 7 ... Output color adjustment Unit, 8... Output conversion unit.

Claims (24)

入力デバイス依存の色空間の色信号もしくはデバイス非依存の色空間の色信号が入力画像データとして与えられ、該入力画像データを出力デバイス依存の色信号の出力画像データに変換する画像処理装置において、前記入力画像データが入力デバイス依存の色信号である場合に前記入力画像データを該入力デバイス依存の色空間で定義された共通の標準入力色再現域内の第1中間画像データに変換する入力標準化手段と、入力デバイス依存の色空間の前記第1中間画像データをデバイス非依存の色空間の第2中間画像データに変換する第1色空間変換手段と、前記入力画像データがデバイス非依存の色信号である場合に該入力画像データを受け取りあるいは前記第1色空間変換手段から前記第2中間画像データを受け取って出力デバイス依存の色空間で定義された共通の標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行い第3中間画像データに変換する色処理手段と、前記第3中間画像データを出力デバイス依存の色空間における前記標準出力色再現域内となる第4中間色信号に変換する第2色空間変換手段と、出力デバイス依存の色空間で前記標準出力色再現域内の前記第4中間画像データを出力デバイスの色再現域内の前記出力画像データに変換する出力変換手段を有することを特徴とする画像処理装置。   In an image processing apparatus that receives a color signal in an input device-dependent color space or a color signal in a device-independent color space as input image data, and converts the input image data into output image data of an output device-dependent color signal. When the input image data is an input device-dependent color signal, the input standardization unit converts the input image data into first intermediate image data in a common standard input color reproduction range defined in the input device-dependent color space. First color space conversion means for converting the first intermediate image data in the input device-dependent color space into second intermediate image data in the device-independent color space; and the input image data is a device-independent color signal If the input image data is received or the second intermediate image data is received from the first color space conversion means, the output device depends Color processing means for performing color gamut compression processing on a color reproduction gamut in a device-independent color space corresponding to a common standard output color reproduction gamut defined in the color space and converting it into third intermediate image data; and the third intermediate Second color space conversion means for converting image data into a fourth intermediate color signal that falls within the standard output color gamut in an output device dependent color space; and the fourth color space within the standard output color gamut in an output device dependent color space. An image processing apparatus comprising output conversion means for converting intermediate image data into the output image data in a color gamut of an output device. 入力デバイス依存の色空間の色信号もしくはデバイス非依存の色空間の色信号が入力画像データとして与えられ、該入力画像データを出力デバイス依存の色信号の出力画像データに変換する画像処理装置において、前記入力画像データが入力デバイス依存の色信号である場合に前記入力画像データをデバイス非依存の色空間の色信号である第1中間画像データに変換する第1色空間変換手段と、前記第1中間画像データをデバイス非依存の色空間で定義された入力デバイスに共通の標準入力色再現域内の第2中間画像データに変換する入力標準化手段と、前記入力画像データがデバイス非依存の色信号である場合に該入力画像データを受け取りあるいは前記入力標準化手段から前記第2中間画像データを受け取って前記出力デバイスに共通の標準出力色再現域への色域圧縮処理を行い第3中間画像データに変換する色処理手段と、前記標準出力色再現域の前記第3中間画像データを出力デバイスの色再現域に対応する色領域内の第4中間画像データに変換する出力変換手段と、前記第4中間画像データを出力デバイス依存の色空間の出力画像データに変換する第2色空間変換手段を有することを特徴とする画像処理装置。   In an image processing apparatus that receives a color signal in an input device-dependent color space or a color signal in a device-independent color space as input image data, and converts the input image data into output image data of an output device-dependent color signal. A first color space conversion means for converting the input image data into first intermediate image data that is a color signal of a device-independent color space when the input image data is an input device-dependent color signal; Input standardization means for converting the intermediate image data into second intermediate image data in a standard input color reproduction range common to input devices defined in a device-independent color space; and the input image data is a device-independent color signal. In some cases, the input image data is received or the second intermediate image data is received from the input standardization means and is shared by the output devices. Color processing means for performing color gamut compression processing to the quasi-output color gamut and converting it to third intermediate image data; and color corresponding to the color gamut of the output device for the third intermediate image data in the standard output color gamut An image having output conversion means for converting into fourth intermediate image data in the area, and second color space conversion means for converting the fourth intermediate image data into output image data in a color space dependent on an output device Processing equipment. さらに、前記入力画像データのデバイス非依存色空間が前記色処理手段で扱うデバイス非依存色空間とは異なる場合に色空間変換を行う第3色空間変換手段を有し、前記色処理手段は、前記入力画像データがデバイス非依存色空間の色信号である場合に前記第3の色空間変換手段で色空間変換された画像データを受け取って前記第3の中間画像データに変換することを特徴とする請求項1または請求項2に記載の画像処理装置。   Furthermore, it has a third color space conversion means for performing color space conversion when the device independent color space of the input image data is different from the device independent color space handled by the color processing means, and the color processing means When the input image data is a color signal in a device-independent color space, the image data that has undergone color space conversion by the third color space conversion means is received and converted to the third intermediate image data. The image processing apparatus according to claim 1 or 2. 前記色処理手段は、前記入力画像データがデバイス非依存色空間の色信号である場合に、色の重要度に応じた色域圧縮処理を行うことを特徴とする請求項1ないし請求項3のいずれか1項に記載の画像処理装置。   4. The color processing unit according to claim 1, wherein when the input image data is a color signal in a device-independent color space, the color processing unit performs color gamut compression processing according to the importance of the color. The image processing apparatus according to any one of the above. 前記色処理手段は、前記入力画像データがデバイス非依存色空間の色信号である場合に、該デバイス非依存色空間を、最も重要な色で構成される第1の領域と、前記第1の領域以外の色のうち次に重要な色で構成される第2の領域と、それ以外の色で構成される第3の領域に分け、各領域に応じた色域圧縮処理を行うことを特徴とする請求項4に記載の画像処理装置。   When the input image data is a color signal of a device-independent color space, the color processing means defines the device-independent color space as a first region composed of the most important colors, and the first It is divided into a second region composed of the next most important color among the colors other than the region and a third region composed of the other colors, and color gamut compression processing is performed according to each region. The image processing apparatus according to claim 4. 前記第1の領域は、前記標準入力色再現域を含むことを特徴とする請求項5に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the first area includes the standard input color reproduction area. 前記第2の領域は、1ないし複数の前記入力デバイスの色再現域を包含する領域のうち前記第1の領域以外の領域であることを特徴とする請求項5または請求項6に記載の画像処理装置。   The image according to claim 5 or 6, wherein the second region is a region other than the first region among regions including a color reproduction region of one or more input devices. Processing equipment. 前記色処理手段は、前記第3の領域の色を前記第2の領域の色に色域圧縮処理を行った後、第2の領域の色に対する色域圧縮処理を行うことを特徴とする請求項5ないし請求項7のいずれか1項に記載の画像処理装置。   The color processing means performs color gamut compression processing on the color of the second region after performing color gamut compression processing on the color of the third region to the color of the second region. The image processing apparatus according to any one of claims 5 to 7. 前記色処理手段は、前記第1の領域の色について前記標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行うとともに、前記第1の領域に対する色域圧縮処理を前記第2の領域にも適用した後、前記標準出力色再現域外となった色に関して前記標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行うことを特徴とする請求項5ないし請求項8のいずれか1項に記載の画像処理装置。   The color processing means performs a color gamut compression process on a color gamut in a device-independent color space corresponding to the standard output color gamut for the color of the first area, and a color gamut for the first area. After applying compression processing to the second region, color gamut compression processing to a color reproduction gamut in a device-independent color space corresponding to the standard output color reproduction gamut with respect to a color outside the standard output color reproduction gamut. The image processing apparatus according to claim 5, wherein the image processing apparatus is performed. さらに、前記第1中間画像データに対して色調整を行う第1色調整手段を有することを特徴とする請求項1ないし請求項9のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a first color adjustment unit that performs color adjustment on the first intermediate image data. 前記色処理手段は、前記色域圧縮処理を行う際に色調整を行うことを特徴とする請求項1ないし請求項9のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the color processing unit performs color adjustment when performing the color gamut compression processing. さらに、前記第4中間画像データに対して色調整を行う第2色調整手段を有することを特徴とする請求項1ないし請求項9のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a second color adjustment unit that performs color adjustment on the fourth intermediate image data. 入力デバイス依存の色空間の色信号もしくはデバイス非依存の色空間の色信号が入力画像データとして与えられ、該入力画像データを出力デバイス依存の色信号の出力画像データに変換する画像処理方法において、前記入力画像データが入力デバイス依存の色信号である場合に前記入力画像データを該入力デバイス依存の色空間で定義された共通の標準入力色再現域内の第1中間画像データに入力標準化手段で変換し、入力デバイス依存の色空間の前記第1中間画像データをデバイス非依存の色空間の第2中間画像データに第1色空間変換手段で変換し、前記入力画像データがデバイス非依存の色信号である場合に該入力画像データを受け取りあるいは前記第1色空間変換手段から前記第2中間画像データを受け取って出力デバイス依存の色空間で定義された共通の標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行い第3中間画像データに色処理手段で変換し、前記第3中間画像データを出力デバイス依存の色空間における前記標準出力色再現域内となる第4中間色信号に第2色空間変換手段で変換し、出力デバイス依存の色空間で前記標準出力色再現域内の前記第4中間画像データを出力デバイスの色再現域内の前記出力画像データに出力変換手段で変換することを特徴とする画像処理方法。   In an image processing method in which a color signal in an input device-dependent color space or a color signal in a device-independent color space is given as input image data, and the input image data is converted into output image data of an output device-dependent color signal. When the input image data is an input device-dependent color signal, the input image data is converted by the input standardization means into first intermediate image data within a common standard input color gamut defined in the input device-dependent color space. The first intermediate image data in the input device-dependent color space is converted into second intermediate image data in the device-independent color space by the first color space conversion means, and the input image data is converted into a device-independent color signal. If the input image data is received or the second intermediate image data is received from the first color space conversion means, the output device-dependent color Color gamut compression processing to a color gamut in a device-independent color space corresponding to a common standard output color gamut defined between them, converted into third intermediate image data by color processing means, and the third intermediate image Data is converted by a second color space conversion means into a fourth intermediate color signal that falls within the standard output color gamut in an output device dependent color space, and the fourth intermediate in the standard output color gamut in an output device dependent color space. An image processing method comprising: converting image data into the output image data in a color gamut of an output device by output conversion means. 入力デバイス依存の色空間の色信号もしくはデバイス非依存の色空間の色信号が入力画像データとして与えられ、該入力画像データを出力デバイス依存の色信号の出力画像データに変換する画像処理方法において、前記入力画像データが入力デバイス依存の色信号である場合に前記入力画像データをデバイス非依存の色空間の色信号である第1中間画像データに第1色空間変換手段で変換し、前記第1中間画像データをデバイス非依存の色空間で定義された入力デバイスに共通の標準入力色再現域内の第2中間画像データに入力標準化手段で変換し、前記入力画像データがデバイス非依存の色信号である場合に該入力画像データを受け取りあるいは前記入力標準化手段から前記第2中間画像データを受け取って前記出力デバイスに共通の標準出力色再現域への色域圧縮処理を行い第3中間画像データに色処理手段で変換し、前記標準出力色再現域の前記第3中間画像データを出力デバイスの色再現域に対応する色領域内の第4中間画像データに出力変換手段で変換し、前記第4中間画像データを出力デバイス依存の色空間の出力画像データに第2色空間変換手段で変換することを特徴とする画像処理方法。   In an image processing method in which a color signal in an input device-dependent color space or a color signal in a device-independent color space is given as input image data, and the input image data is converted into output image data of an output device-dependent color signal. When the input image data is an input device-dependent color signal, the input image data is converted into first intermediate image data that is a color signal of a device-independent color space by a first color space conversion unit, and the first The intermediate image data is converted to second intermediate image data in a standard input color reproduction range common to input devices defined in a device-independent color space by input standardization means, and the input image data is a device-independent color signal. In some cases, the input image data is received or the second intermediate image data is received from the input standardization means, and a standard common to the output devices is received. A color area corresponding to the color gamut of the output device is converted into third intermediate image data by color processing means by performing color gamut compression processing to the force color gamut, and the third intermediate image data in the standard output color gamut An image processing method comprising: converting the fourth intermediate image data into output image data in an output device-dependent color space by using the second color space conversion means. . 前記入力画像データがデバイス非依存色空間の色信号である場合に、前記入力画像データのデバイス非依存色空間が前記色処理手段で扱うデバイス非依存色空間とは異なる場合に第3色空間変換手段で色空間変換を行い、色空間変換された画像データを前記第3の中間画像データに変換することを特徴とする請求項13または請求項14に記載の画像処理方法。   When the input image data is a color signal of a device-independent color space, a third color space conversion is performed when the device-independent color space of the input image data is different from the device-independent color space handled by the color processing means. 15. The image processing method according to claim 13, wherein color space conversion is performed by a means, and the color space converted image data is converted to the third intermediate image data. 前記色域圧縮処理の際には、前記入力画像データがデバイス非依存色空間の色信号である場合に、色の重要度に応じた色域圧縮処理を行うことを特徴とする請求項13ないし請求項15のいずれか1項に記載の画像処理方法。   14. The color gamut compression processing according to claim 13, wherein, when the input image data is a color signal in a device-independent color space, the color gamut compression processing is performed according to the importance of the color. The image processing method according to claim 15. 前記色域圧縮処理として、前記入力画像データがデバイス非依存色空間の色信号である場合に、該デバイス非依存色空間を、最も重要な色で構成される第1の領域と、前記第1の領域以外の色のうち次に重要な色で構成される第2の領域と、それ以外の色で構成される第3の領域に分け、各領域に応じた色域圧縮処理を行うことを特徴とする請求項16に記載の画像処理方法。   As the color gamut compression processing, when the input image data is a color signal of a device-independent color space, the device-independent color space is defined as a first region composed of the most important colors; The color area is divided into a second area composed of the next most important color, and a third area composed of the other colors, and a color gamut compression process corresponding to each area is performed. The image processing method according to claim 16. 前記第1の領域は、前記標準入力色再現域を含むことを特徴とする請求項17に記載の画像処理方法。   The image processing method according to claim 17, wherein the first area includes the standard input color reproduction area. 前記第2の領域は、1ないし複数の前記入力デバイスの色再現域を包含する領域のうち前記第1の領域以外の領域であることを特徴とする請求項17または請求項18に記載の画像処理方法。   The image according to claim 17 or 18, wherein the second region is a region other than the first region among regions including a color reproduction region of one or more input devices. Processing method. 前記第3の領域の色を前記第2の領域の色に色域圧縮処理を行った後、第2の領域の色に対する色域圧縮処理を行うことを特徴とする請求項17ないし請求項19のいずれか1項に記載の画像処理方法。   20. The color gamut compression processing is performed on the color of the second region after the color gamut compression processing is performed on the color of the third region to the color of the second region. The image processing method according to any one of the above. 前記第1の領域の色について前記標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行うとともに、前記第1の領域に対する色域圧縮処理を前記第2の領域にも適用した後、前記標準出力色再現域外となった色に関して前記標準出力色再現域に対応するデバイス非依存色空間における色再現域への色域圧縮処理を行うことを特徴とする請求項17ないし請求項20のいずれか1項に記載の画像処理方法。   A color gamut compression process is performed on a color reproduction gamut in a device-independent color space corresponding to the standard output color reproduction gamut for the color in the first area, and a color gamut compression process on the first area is performed on the second area. After being applied to the area, a color gamut compression process is performed on a color that is out of the standard output color gamut to a color gamut in a device-independent color space corresponding to the standard output color gamut. The image processing method according to any one of claims 17 to 20. さらに、前記第1中間画像データに対して色調整を行うことを特徴とする請求項13ないし請求項21のいずれか1項に記載の画像処理方法。   The image processing method according to any one of claims 13 to 21, further comprising performing color adjustment on the first intermediate image data. 前記色域圧縮処理を行う際に、色調整を行うことを特徴とする請求項13ないし請求項21のいずれか1項に記載の画像処理方法。   The image processing method according to any one of claims 13 to 21, wherein color adjustment is performed when the color gamut compression processing is performed. さらに、前記第4中間画像データに対して色調整を行うことを特徴とする請求項13ないし請求項21のいずれか1項に記載の画像処理方法。   The image processing method according to any one of claims 13 to 21, further comprising performing color adjustment on the fourth intermediate image data.
JP2004082797A 2004-03-22 2004-03-22 Image processing apparatus and method thereof Pending JP2005269540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004082797A JP2005269540A (en) 2004-03-22 2004-03-22 Image processing apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004082797A JP2005269540A (en) 2004-03-22 2004-03-22 Image processing apparatus and method thereof

Publications (1)

Publication Number Publication Date
JP2005269540A true JP2005269540A (en) 2005-09-29

Family

ID=35093554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004082797A Pending JP2005269540A (en) 2004-03-22 2004-03-22 Image processing apparatus and method thereof

Country Status (1)

Country Link
JP (1) JP2005269540A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007134751A (en) * 2005-10-12 2007-05-31 Seiko Epson Corp Device, method, and program for converting color, image processing unit, and image display device
JP2007221336A (en) * 2006-02-15 2007-08-30 Fuji Xerox Co Ltd Device, method and program for processing image
JP2008172681A (en) * 2007-01-15 2008-07-24 Fuji Xerox Co Ltd Color converter, color converting method, color conversion program, color conversion coefficient creating apparatus, color conversion coefficient creating method, and color conversion coefficient creation program
JP2008219791A (en) * 2007-03-07 2008-09-18 Ricoh Co Ltd Image processor, image processing method, program, and recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007134751A (en) * 2005-10-12 2007-05-31 Seiko Epson Corp Device, method, and program for converting color, image processing unit, and image display device
JP4682794B2 (en) * 2005-10-12 2011-05-11 セイコーエプソン株式会社 Color conversion apparatus, color conversion method, color conversion program, image processing apparatus, and image display apparatus
JP2007221336A (en) * 2006-02-15 2007-08-30 Fuji Xerox Co Ltd Device, method and program for processing image
JP2008172681A (en) * 2007-01-15 2008-07-24 Fuji Xerox Co Ltd Color converter, color converting method, color conversion program, color conversion coefficient creating apparatus, color conversion coefficient creating method, and color conversion coefficient creation program
US8086033B2 (en) 2007-01-15 2011-12-27 Fuji Xerox Co., Ltd. Device, method, and program storage medium for color conversion, device, method, and program storage medium for color conversion coefficient generation
JP2008219791A (en) * 2007-03-07 2008-09-18 Ricoh Co Ltd Image processor, image processing method, program, and recording medium

Similar Documents

Publication Publication Date Title
US7403205B2 (en) Fast primary mapping and gamut adaptation to construct three dimensional lookup tables
US8045222B2 (en) Image processing method, image processing apparatus, computer program product, and recording medium for image processing
KR101166388B1 (en) Color space conversion apparatus and control method for thereof
US7986435B2 (en) Color processing apparatus and color processing method
US8013868B2 (en) Color processing apparatus, color processing method, color gamut setting apparatus, color gamut setting method, recording medium storing color processing program and recording medium storing color gamut setting program
US20110096365A1 (en) Print Interface
US8477366B2 (en) Apparatus, method and medium outputting wide gamut space image
US10834292B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
US20070086028A1 (en) Gamut mapping method and apparatus
JP2007028148A (en) Apparatus, method and program for color conversion, and recording medium
US8111423B2 (en) Image processing device and image processing method
JP4449503B2 (en) Image processing device
JP2004304793A (en) Color conversion apparatus and color conversion method
JP4114033B2 (en) Image processing apparatus and image processing method
US8031965B2 (en) Image processor, computer readable medium storing image processing program, and image processing method
JP2005269540A (en) Image processing apparatus and method thereof
US20200112652A1 (en) Black generation to optimize color gamut volume and quality within limits on colorant usage
JP2005191808A (en) Image processing apparatus, image processing method, and image processing program
JP2004104777A (en) Color gamut mapping method, color gamut mapping device, color gamut mapping program, and storage medium
JP4423226B2 (en) Color adjustment method and apparatus
JP2000050099A (en) Method for converting unprintable color value into printable color value, picture reproduction system for reproducing color picture, and control means provided with color conversion means fitted to the system
JP2004242193A (en) Link file generating program, color conversion program and link, file generation device
JP4051919B2 (en) Color image signal processing apparatus, color image signal processing method, and color image signal processing program
JP4618152B2 (en) Color conversion apparatus, image forming system, and color conversion method
JP2007195015A (en) Color conversion apparatus, method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090527

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090826