JP2005284521A - Printing control utilizing color transformation profile corresponding to color reproduction of multiple sorts - Google Patents

Printing control utilizing color transformation profile corresponding to color reproduction of multiple sorts Download PDF

Info

Publication number
JP2005284521A
JP2005284521A JP2004095253A JP2004095253A JP2005284521A JP 2005284521 A JP2005284521 A JP 2005284521A JP 2004095253 A JP2004095253 A JP 2004095253A JP 2004095253 A JP2004095253 A JP 2004095253A JP 2005284521 A JP2005284521 A JP 2005284521A
Authority
JP
Japan
Prior art keywords
color
data
color space
space
gamut
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
JP2004095253A
Other languages
Japanese (ja)
Inventor
Masayuki Seko
将幸 世古
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004095253A priority Critical patent/JP2005284521A/en
Publication of JP2005284521A publication Critical patent/JP2005284521A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Color, Gradation (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make it possible to perform printing by referring to a common color transformation profile even when a purpose of printing, color space to be used, or the like is different in each printing and to reduce the number of resources. <P>SOLUTION: As to a color transformation profile in which correspondence relation between data of first color space and data of second color space is regulated, a color transformation profile in which a color gamut based on the data of the first color space is defined so as to be wider than a color gamut based on the data of third color space is acquired, input image data in which a color of each of a plurality of pixels included in an image is expressed by the data of the third color space are acquired, the input image data are transformed into the data of the first color space, the transformed data of the first color space are transformed by referring to the color transformation profile, output image data in which a color of each pixel is expressed by the data of the second color space are acquired, and then a printer is allowed to perform printing on the basis of the output image data. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、色変換プロファイルを使用して色変換を行う技術に関する。   The present invention relates to a technique for performing color conversion using a color conversion profile.

画像を印刷する際には、一般に、色変換プロファイルを参照してディスプレイで使用する色空間のデータをプリンタ等で使用する色空間のデータに色変換する。ディスプレイやプリンタ等の画像機器においては、表現可能な色の範囲である色域が各機体や使用する色空間毎に異なっているため、色域マッピングを行って色変換プロファイルを作成する(例えば、特許文献1参照)。
特開2002−359748号公報
When printing an image, generally, color space data used in a display is color-converted into color space data used in a printer or the like with reference to a color conversion profile. In image devices such as displays and printers, the color gamut, which is the range of colors that can be expressed, is different for each machine and the color space used, so color mapping is performed to create a color conversion profile (for example, Patent Document 1).
JP 2002-359748 A

従来の色変換においては、印刷の目的、使用する色空間等が異なる場合には異なる色変換プロファイルを用意する必要があり、リソースを低減することが困難であった。例えば、入力データが示す色を忠実に再現するためには色域マッピングの際に圧縮や拡張を行わずに作成した色変換プロファイルが必要であるし、プリンタの色域を充分に利用する場合には入力データによる色域より広い領域の色を使えるように色域マッピングの際に拡張を行った色変換プロファイルが必要である。また、異なる色空間におけるデータで入力データを構成し、印刷を実行する場合、各色空間に対応した色変換プロファイルを予め作成しておき、適正な色変換プロファイルを参照する必要があった。
本発明は、上記課題にかんがみてなされたもので、印刷の目的、使用する色空間等が異なる場合であっても共通の色変換プロファイルを参照して印刷を実行可能にすることを目的とする。
In the conventional color conversion, when the purpose of printing, the color space to be used, and the like are different, it is necessary to prepare different color conversion profiles, and it is difficult to reduce resources. For example, in order to faithfully reproduce the color indicated by the input data, a color conversion profile created without compression or expansion is required at the time of color gamut mapping, and when the printer color gamut is fully utilized. Requires a color conversion profile that has been extended during color gamut mapping so that colors in a wider area than the color gamut based on input data can be used. Further, when input data is composed of data in different color spaces and printing is performed, it is necessary to create a color conversion profile corresponding to each color space in advance and refer to an appropriate color conversion profile.
The present invention has been made in view of the above problems, and an object of the present invention is to enable printing with reference to a common color conversion profile even when the purpose of printing and the color space to be used are different. .

上記目的の少なくとも一つを達成するため、本発明においては、第1色空間のデータと第2色空間のデータとの対応関係を規定した色変換プロファイルにおいて、第1色空間のデータによる色域が第3色空間のデータによる色域より広くなるように定義する。そして、第3色空間のデータに基づく入力画像データを色変換する際に同入力画像データを第1色空間のデータに変換し、当該変換後のデータを色変換プロファイルで変換する。   In order to achieve at least one of the above objects, according to the present invention, in a color conversion profile that defines the correspondence between the data in the first color space and the data in the second color space, the color gamut based on the data in the first color space. Is defined to be wider than the color gamut based on the data in the third color space. When the input image data based on the third color space data is color-converted, the input image data is converted to the first color space data, and the converted data is converted by the color conversion profile.

この変換は、第1色空間のデータと第2色空間のデータとの対応関係を規定した色変換プロファイルに基づいて、第3色空間のデータによる色域内の色を第2色空間のデータで表現するように変換したものである。むろん、第1色空間のデータと第2色空間のデータとの対応関係を規定した色変換プロファイルに基づいて、第1色空間のデータを第2色空間のデータに変換することは可能である。従って、一つの色変換プロファイルにおいて、異なる色空間のデータを変換し、印刷を実行可能である。   This conversion is based on the color conversion profile that defines the correspondence between the data in the first color space and the data in the second color space, and the colors in the color gamut based on the data in the third color space are converted into the data in the second color space. It is converted to express. Of course, it is possible to convert the data in the first color space into the data in the second color space based on the color conversion profile that defines the correspondence between the data in the first color space and the data in the second color space. . Accordingly, it is possible to execute printing by converting data of different color spaces in one color conversion profile.

ここで、第1色空間のデータと第3色空間のデータとは、両者とも色変換プロファイルを参照することによって第2色空間のデータに変換される。また、第2色空間のデータに基づく出力画像データによって印刷が実行される。従って、第1色空間および第3色空間は印刷画像の色を特定するための色空間であり、第2色空間は印刷装置における出力色を特定するための色空間である。例えば、第1色空間および第3色空間としては、ディスプレイやデジタルカメラ、スキャナ等の画像機器にて色を表現するために使用する色空間や機器非依存色空間を採用可能である。むろん、画像機器が別体でなくてもよく、例えば、fax機や複合機はスキャナと印刷装置とが一体になっていると言え、このようなfax機や複合機に本発明を適用することも可能である。   Here, both the data in the first color space and the data in the third color space are converted into data in the second color space by referring to the color conversion profile. Further, printing is executed by output image data based on the data of the second color space. Therefore, the first color space and the third color space are color spaces for specifying the color of the print image, and the second color space is a color space for specifying the output color in the printing apparatus. For example, as the first color space and the third color space, it is possible to adopt a color space used for expressing colors in an image device such as a display, a digital camera, or a scanner, or a device-independent color space. Of course, the image device may not be a separate body. For example, it can be said that a fax machine or a multi-function machine has a scanner and a printing device integrated, and the present invention is applied to such a fax machine or multi-function machine. Is also possible.

尚、色空間の具体例としてはRGB(R:レッド,G:グリーン,B:ブルー)の各色成分によって構成されるRGB色空間やL***空間,L***空間、XYZ空間等が挙げられる。また、第1色空間および第3色空間においては、第1色空間のデータによる色域が第3色空間のデータによる色域より広くなるように定義される必要がある。例えば、上記RGB色空間においては、RGBの各色成分値を階調値域の上限から下限までそれぞれ変化させたときに表現可能な色の範囲が色域であり、階調値域が同じであるとしても、その意味するところの色が異なるように定義すれば、色域の大きさを調整することができる。 Specific examples of the color space include an RGB color space constituted by RGB (R: red, G: green, B: blue) color components, an L * a * b * space, an L * u * v * space, XYZ space etc. are mentioned. In the first color space and the third color space, it is necessary to define the color gamut based on the data in the first color space to be wider than the color gamut based on the data in the third color space. For example, in the RGB color space, the range of colors that can be expressed when each color component value of RGB is changed from the upper limit to the lower limit of the gradation value range is the color gamut, and the gradation value range is the same. If the meaning is defined so that the colors are different, the size of the color gamut can be adjusted.

そこで、RGBの各色成値が意味する色の定義を第1色空間と第3色空間で異なる定義とし、前者において値を変化させたときに対応する色の範囲をより広く定義すれば、第1色空間のデータによる色域が第3色空間のデータによる色域より広くなるように定義することができる。より具体的な例としては、第3色空間をsRGB規格に準拠した色空間とし、第1色空間をアドビRGB色空間(アドビはアドビシステムズ社の登録商標)などの拡張されたRGB空間とする構成を採用可能である。尚、上記機器非依存色空間によって第1色空間および第3色空間を構成する場合には、各色成分の値域を調整して定義することによって容易に色域の大きさを調整可能である。   Therefore, if the definition of the color meaning of each color value of RGB is defined differently in the first color space and the third color space, and the range of the corresponding color when the value is changed in the former is defined wider, The color gamut based on the data in one color space can be defined to be wider than the color gamut based on the data in the third color space. As a more specific example, the third color space is a color space conforming to the sRGB standard, and the first color space is an extended RGB space such as an Adobe RGB color space (Adobe is a registered trademark of Adobe Systems). A configuration can be adopted. Note that when the first color space and the third color space are configured by the device-independent color space, the size of the color gamut can be easily adjusted by adjusting and defining the value ranges of the respective color components.

第2色空間としては、印刷装置にて使用する各インクの階調に対応する色成分値で色を表現する色空間を採用可能である。この色空間はインクの色数によって次元が増加すると考えることができ、CMYK(C:シアン,M:マゼンタ,Y:イエロー,K:ブラック)の各インクを使用する場合は4次元のCMYK色空間となる。一方、CMYKlclm(lc:ライトシアン,lm:ライトマゼンタ)を使用する場合は6次元のCMYKlclm空間、CMYKlclmDY(DY:ダークイエロー)を使用する場合は7次元のCMYKlclmDY色空間である。むろん、他の色、例えば、R,G,B,V(バイオレット)等を使用する印刷装置であっても同様の考え方で色空間を定義することができる。 尚、第1色空間〜第3色空間のデータにおいては、予め各色成分毎にその値域が決まっており、各色成分を独立に値域の範囲内で変化させたときの色の範囲が各色空間のデータによる色域である。   As the second color space, it is possible to employ a color space that expresses a color with a color component value corresponding to the gradation of each ink used in the printing apparatus. This color space can be considered to increase in dimension depending on the number of ink colors. When using CMYK (C: cyan, M: magenta, Y: yellow, K: black) inks, a four-dimensional CMYK color space is used. It becomes. On the other hand, when CMYKlclm (lc: light cyan, lm: light magenta) is used, it is a 6-dimensional CMYKlclm space, and when CMYKlclmDY (DY: dark yellow) is used, it is a 7-dimensional CMYKlclmDY color space. Of course, even a printing apparatus that uses other colors such as R, G, B, and V (violet) can define a color space in the same way. In the data of the first color space to the third color space, the range of values is determined for each color component in advance, and the color range when each color component is independently changed within the range of the range is the color range of each color space. Color gamut by data.

色変換プロファイルにおいては、第1色空間のデータと第2色空間のデータとの対応関係を規定することができれば良く、種々の構成を採用可能である。例えば、複数の代表点について一対一にデータを対応させることによって色の関係を規定した色変換テーブルデータであっても良いし、特定の関数や行列等によって色の関係を規定したプロファイルであっても良い。   In the color conversion profile, it is sufficient if the correspondence relationship between the data in the first color space and the data in the second color space can be defined, and various configurations can be employed. For example, it may be color conversion table data that defines the color relationship by associating data one-to-one with respect to a plurality of representative points, or a profile that defines the color relationship by a specific function or matrix. Also good.

入力画像データ取得手段においては、第3色空間のデータで画像を表現した入力画像データを取得することができればよいが、上述のように本発明にかかる色変換プロファイルによれば第1色空間のデータを第2色空間のデータに変換することも当然に可能である。従って、同入力画像データ取得手段において第1色空間のデータで画像を表現した画像データを入力画像データとして取得し、色変換手段において色変換を行っても良い。   The input image data acquisition means only needs to be able to acquire input image data representing an image with data in the third color space. However, according to the color conversion profile according to the present invention as described above, the input image data in the first color space can be acquired. It is naturally possible to convert the data into data in the second color space. Therefore, the input image data acquisition unit may acquire the image data representing the image with the data of the first color space as the input image data, and the color conversion unit may perform the color conversion.

色変換手段においては、第3色空間のデータで画像を表現した入力画像データを色変換するにあたり、色変換プロファイルに基づく色変換の前に、色空間を変換する。すなわち、当該色変換プロファイルによって色変換を行うためには第1色空間のデータを入力する必要があり、入力画像データが第3色空間のデータであればそのデータ値をそのまま色変換してもカラーマネジメントがなされない。但し、第1色空間のデータによる色域は第3色空間のデータによる色域より広いので、色変換プロファイルにおいては第3色空間のデータにて表現可能な総ての色を色変換対象の入力色として含んでいる。そこで、第3色空間のデータが意味する色を第1色空間のデータで表現すれば、色変換プロファイルによって第3色空間のデータで画像を表現した入力画像データを色変換することが可能になる。   The color conversion means converts the color space before color conversion based on the color conversion profile when performing color conversion on the input image data representing the image with the data of the third color space. That is, in order to perform color conversion using the color conversion profile, it is necessary to input data in the first color space. If the input image data is data in the third color space, the data value can be converted as it is. Color management is not done. However, since the color gamut based on the data in the first color space is wider than the color gamut based on the data in the third color space, all colors that can be expressed in the data in the third color space are subject to color conversion in the color conversion profile. Includes as input color. Therefore, if the color that the data of the third color space means is expressed by the data of the first color space, it is possible to color-convert the input image data that represents the image with the data of the third color space by the color conversion profile. Become.

入力画像データを第1色空間のデータに変換する際には、入力画像データから一義的に第1色空間のデータを特定できればよく、種々の構成を採用可能である。例えば、予め決められた特定の関数や行列など、所定の変換式に基づいて変換を行っても良いし、予め決められたプロファイルを参照して変換を行っても良い。尚、関数や行列など所定の変換式を利用して変換を行う場合には、プロファイルを使用する場合と比較してリソースを低減でき、好ましい。   When converting the input image data into the data of the first color space, it is only necessary to uniquely identify the data of the first color space from the input image data, and various configurations can be employed. For example, the conversion may be performed based on a predetermined conversion formula such as a predetermined specific function or matrix, or may be performed with reference to a predetermined profile. Note that it is preferable to perform conversion using a predetermined conversion formula such as a function or a matrix because resources can be reduced compared to the case of using a profile.

印刷実行手段においては、上記上記出力画像データに基づいて印刷を実行することができれば良く、種々の構成を採用可能である。例えば、出力画像データにて特定される各色成分毎の階調値に対応した記録率になるようにハーフトーン処理を実施し、ハーフトーン処理後のデータにてインクを記録するための印刷データを作成するとともに印刷装置に受け渡す構成等を採用可能である。   The print execution means only needs to be able to execute printing based on the output image data, and various configurations can be employed. For example, halftone processing is performed so that the recording rate corresponds to the gradation value for each color component specified in the output image data, and print data for recording ink with the data after halftone processing is obtained. It is possible to adopt a configuration that is created and delivered to the printing apparatus.

本発明においては、上記色変換プロファイルを参照することによって実施される色変換の特性を制御することによって印刷の目的に応じた各種の色再現に対応することができる。このための構成としては、直接的には色変換プロファイルによって規定される第1色空間のデータと第2色空間のデータとの対応関係が、上述の目的に応じた色変換を実施するように規定されていることが必要とされる。   In the present invention, it is possible to cope with various color reproductions according to the purpose of printing by controlling the characteristics of color conversion performed by referring to the color conversion profile. As a configuration for this purpose, the correspondence relationship between the data in the first color space and the data in the second color space, which is directly defined by the color conversion profile, performs color conversion in accordance with the above-described purpose. It is required to be specified.

例えば、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色について、変換前後で色を変化させないように上記第1色空間のデータと第2色空間のデータとの対応関係を規定する。すなわち、この領域内の色については、第2色空間のデータが示す色と第3色空間のデータが示す色とが同一になるように上記第1色空間のデータと第2色空間のデータとの対応関係を規定する。尚、第1色空間のデータによる色域は第3色空間のデータによる色域より広いので、上記第3色空間のデータによる色域内の色を第1色空間のデータで表現するのは容易である。   For example, the data of the first color space and the data of the second color space so that the colors in the color gamut based on the data in the second color space and in the color gamut based on the data in the third color space are not changed before and after conversion. Stipulates the correspondence with That is, for the colors in this region, the data in the first color space and the data in the second color space are such that the color indicated by the data in the second color space is the same as the color indicated by the data in the third color space. Stipulates the correspondence with Since the color gamut based on the data in the first color space is wider than the color gamut based on the data in the third color space, it is easy to express the colors in the color gamut based on the data in the third color space with the data in the first color space. It is.

従って、第2色空間のデータが示す色と第3色空間のデータが示す色とが同じ色になるように対応づけることによって第2色空間のデータが示す色と第1色空間のデータが示す色とが同じになるようにすることも容易である。このような色変換プロファイルによれば、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色について、入力画像データが示す色を忠実に再現するように印刷を実行することができる。   Therefore, the color indicated by the second color space data and the color indicated by the third color space data are associated with each other so that the color indicated by the second color space data becomes the same as the color indicated by the third color space data. It is also easy to make the colors shown the same. According to such a color conversion profile, printing is performed so as to faithfully reproduce the color indicated by the input image data for the colors in the color gamut based on the data in the second color space and in the color gamut based on the data in the third color space. Can be executed.

色変換プロファイルにおいては、通常、入力画像データが示す色と出力画像データが示す色が一致するようにカラーマネジメントを行うが、一般的には入力画像データにおける色域と出力画像データにおける色域とが異なるので、色域マッピングによって本来の色を異なる色に変換する。しかし、上述の構成によれば、少なくとも第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色は、入力画像データが示す色と異なる色に変換されないことを担保することができる。従って、この領域内の色に限定して入力画像データを作成して印刷を実行することで、忠実な色再現を行うという目的に添った印刷を実行することができる。   In the color conversion profile, color management is usually performed so that the color indicated by the input image data matches the color indicated by the output image data. Generally, the color gamut in the input image data and the color gamut in the output image data are Therefore, the original color is converted into a different color by color gamut mapping. However, according to the above-described configuration, it is ensured that the color within the color gamut based on the data of the second color space and the color gamut based on the data of the third color space is not converted to a color different from the color indicated by the input image data. be able to. Therefore, it is possible to execute printing in accordance with the purpose of faithful color reproduction by generating input image data limited to colors in this region and executing printing.

さらに、色変換プロファイルにおいて、第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色について、上記第2色空間のデータによる色域内に変換されるように上記第1色空間のデータと第2色空間のデータとの対応関係を規定する。すなわち、この領域の色については、色変換前後で色の厳密な一致が担保されない。しかし、第2色空間のデータによる色域内の色に変換されることから、印刷装置で出力可能な色を使って確実に色を出力できるとともに、印刷装置の色域を有効に使用して印刷を行うことができる。   Further, in the color conversion profile, the color within the color gamut based on the data of the first color space and the color outside the color gamut based on the data of the third color space is converted into the color gamut based on the data of the second color space. The correspondence relationship between the color space data and the second color space data is defined. That is, for the colors in this region, exact color matching before and after color conversion is not guaranteed. However, since it is converted to a color in the color gamut based on the data in the second color space, it is possible to output the color reliably using colors that can be output by the printing device, and printing using the color gamut of the printing device effectively. It can be performed.

例えば、第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色が第2色空間のデータによる色域の外にある場合、色域圧縮によってその色を第2色空間のデータに対応づける。この構成によれば、入力画像データによって印刷装置の色域外の色が指定されていたとしても、確実に何らかの色を出力することができる。   For example, when a color within the color gamut based on the data in the first color space and outside the color gamut based on the data in the third color space is outside the color gamut based on the data in the second color space, the color is reduced to the second color by the color gamut compression. Associate with spatial data. According to this configuration, even if a color outside the color gamut of the printing apparatus is specified by the input image data, it is possible to reliably output some color.

さらに、第1色空間のデータによる色域内かつ第3色空間のデータによる色域外の領域と第1色空間のデータによる色域外かつ第2色空間のデータによる色域内の領域が存在する場合、前者の領域を色域拡張によって後者の領域に対応づける。この構成によれば、より広い色域を使って印刷を行うことが可能になり、入力画像データが示す画像をより豊かな色で印刷することができる。   Furthermore, when there is an area outside the color gamut based on the data of the first color space and outside the color gamut based on the data on the third color space, and an area outside the color gamut based on the data on the first color space and inside the color gamut based on the data on the second color space, The former area is associated with the latter area by color gamut expansion. According to this configuration, printing can be performed using a wider color gamut, and the image indicated by the input image data can be printed with richer colors.

尚、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の領域と上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の領域とは、重複していない。従って、前者の領域で色を確実に一致させ、後者の領域で色を変化させる構成を採用することで、上記忠実な色再現とより豊かな色での出力とを両立することが可能になる。また、色空間において既述の領域外の色が第2色空間のデータによる色域に含まれるようにマッピング可能であることは当然である。   A region in the color gamut by the data in the second color space and a region in the color gamut by the data in the third color space, a region in the color gamut by the data in the first color space and a region outside the color gamut by the data in the third color space, Do not overlap. Therefore, by adopting a configuration in which the colors are surely matched in the former area and the colors are changed in the latter area, it is possible to achieve both the faithful color reproduction and the output with richer colors. . In addition, it is natural that the color space can be mapped so that the color outside the above-described region is included in the color gamut based on the data of the second color space.

以上のような色変換プロファイルにおいては、上述のように対応関係が規定されている限りにおいてどのように色変換プロファイルを作成しても良い。但し、上述のような対応関係は、色変換プロファイルを作成する際の色域マッピングを工夫することで容易に実現することができる。すなわち、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色については色を変更するような色域マッピングを行わず、上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色については色域圧縮や色域拡張等によって色を変更する。   In the color conversion profile as described above, the color conversion profile may be created in any way as long as the correspondence is defined as described above. However, the correspondence as described above can be easily realized by devising the color gamut mapping when creating the color conversion profile. That is, the color gamut mapping for changing the color is not performed for the color within the color gamut based on the data of the second color space and the color gamut based on the data of the third color space, and within the color gamut based on the data of the first color space. For colors outside the color gamut based on the data of the third color space, the color is changed by color gamut compression or color gamut expansion.

そこで、このようにして色変換プロファイルを作成する装置や色変換プロファイル自体においても本発明の技術的思想を利用していると言える。尚、本発明では第1色空間〜第3色空間のデータによる色域を比較し、変換対象の色が色空間内のどの領域に属するかを判別してその色変換特性を決定する。そこで、色変換プロファイルの作成装置において、機器非依存色空間データ取得手段では、上記第1色空間〜第3色空間の複数のデータについてその色を示す機器非依存色空間データを取得し、色域境界判別手段はこれらの機器非依存色空間データに基づいて色域の境界を判別する。   Therefore, it can be said that the technical idea of the present invention is also used in the apparatus for creating a color conversion profile in this way and the color conversion profile itself. In the present invention, the color gamuts based on the data of the first color space to the third color space are compared, and the color conversion characteristics are determined by determining which region in the color space the color to be converted belongs to. Therefore, in the color conversion profile creation device, the device-independent color space data acquisition unit acquires device-independent color space data indicating the colors of the plurality of data in the first color space to the third color space, and The gamut boundary discriminating unit discriminates the gamut boundary based on the device-independent color space data.

尚、色域の境界を決定するのであれば、色域境界の付近の色となることが予想されるデータについてのみ機器非依存色空間のデータを取得すればよいが、色変換プロファイルを作成するためには、色域の略全域について機器非依存色空間のデータを取得して第1色空間のデータと第2色空間のデータとの対応関係を規定する。従って、色域の略全域に渡る色について機器非依存色空間のデータを取得するのが好ましい。   If the boundary of the color gamut is to be determined, it is only necessary to acquire data in the device-independent color space only for data that is expected to be in the vicinity of the color gamut boundary, but a color conversion profile is created. For this purpose, the device-independent color space data is acquired for substantially the entire color gamut, and the correspondence between the first color space data and the second color space data is defined. Therefore, it is preferable to acquire data in the device-independent color space for colors over substantially the entire color gamut.

また、各色空間のデータに対応する機器非依存色空間のデータを取得するためには種々の構成を採用可能である。例えば、第1色空間〜第3色空間のデータが使用される画像機器にて色を実際に出力し、その出力色を所定の測色機で測色すれば、正確な機器非依存色空間データを取得することができる。また、上記sRGB等のように各階調値にて出力すべき色が予め決められている色空間であれば、予め決められた変換式等によって任意のRGB値を機器非依存色空間データに変換しても良い。   Various configurations can be employed to acquire device-independent color space data corresponding to each color space data. For example, if a color is actually output by an image device that uses data in the first color space to the third color space, and the output color is measured by a predetermined colorimeter, an accurate device-independent color space Data can be acquired. In addition, if the color to be output at each gradation value is a predetermined color space such as sRGB, an arbitrary RGB value is converted into device-independent color space data by a predetermined conversion formula or the like. You may do it.

色域の境界を形成するには、色域の最も外側に存在する複数の機器非依存色空間データ同士を結ぶように補間して連続的な色域の境界を算出するなど種々の構成を採用可能である。いずれにしても、色域の境界が判別できれば、各色空間における色域の境界を比較して任意の色と色域との関係を把握することができる。従って、色域マッピング手段によって、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色について色を一致させ、上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色は上記第2色空間のデータによる色域内にマッピングすることは容易である。   In order to form the color gamut boundary, various configurations are adopted, such as calculating the continuous color gamut boundary by interpolating multiple device-independent color space data existing outside the color gamut. Is possible. In any case, if the boundary of the color gamut can be determined, the relationship between the color gamut can be grasped by comparing the boundary of the color gamut in each color space. Therefore, the color gamut mapping means matches colors in the color gamut based on the data in the second color space and in the color gamut based on the data in the third color space, and within the color gamut based on the data in the first color space and the first color. A color outside the color gamut based on the data in the three color spaces can be easily mapped into the color gamut based on the data in the second color space.

以上の構成は、一つの色変換プロファイルによって第1色空間のデータと第3色空間のデータとの双方について色変換を実施可能にするための構成であるが、同様の技術的思想に基づく方法の発明も成立する。従って、請求項8,請求項9にかかる発明においても、基本的には上記と同様の作用となる。また、コンピュータにて所定のプログラムを実行させ本発明を実施する場合もある。従って、本発明はそのプログラムとしても適用可能であり、請求項10,請求項11にかかる発明においても、基本的には上記と同様の作用となる。   The above configuration is a configuration for enabling color conversion for both the data of the first color space and the data of the third color space by one color conversion profile, but a method based on the same technical idea. This invention is also established. Therefore, the inventions according to claims 8 and 9 basically have the same operation as described above. In addition, the present invention may be implemented by executing a predetermined program on a computer. Therefore, the present invention can also be applied as the program, and the invention according to claims 10 and 11 basically has the same operation as described above.

むろん、請求項2〜請求項4に記載された構成を上記方法やプログラムに対応させることも可能である。また、いかなる記憶媒体もプログラムを提供するために使用可能である。例えば、磁気記録媒体や光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体においても全く同様に考えることができる。また、一部がソフトウェアであって、一部がハードウェアで実現される場合においても本発明の思想において全く異なるものではなく、一部を記録媒体上に記録しておいて必要に応じて適宜読み込む形態のものも含まれる。   Of course, it is possible to make the configuration described in claims 2 to 4 correspond to the above-described method and program. Any storage medium can be used to provide the program. For example, a magnetic recording medium or a magneto-optical recording medium may be used, and any recording medium that will be developed in the future can be considered in the same manner. In addition, even when a part is software and a part is realized by hardware, the idea of the present invention is not completely different, and a part is recorded on a recording medium and is appropriately changed as necessary. It includes a reading form.

ここでは、下記の順序に従って本発明の実施の形態について説明する。
(1)色変換テーブル作成の概要:
(2)色変換テーブル作成のための装置および処理:
(3)本発明によって作成したLUTを利用した印刷:
(4)他の実施形態:
Here, embodiments of the present invention will be described in the following order.
(1) Outline of color conversion table creation:
(2) Apparatus and process for creating a color conversion table:
(3) Printing using the LUT created according to the present invention:
(4) Other embodiments:

(1)色変換テーブル作成の概要:
図1は、本発明にかかる色変換テーブル作成方法の工程を概略的に説明する説明図である。この工程は多くの演算処理を必要とするのでコンピュータを利用するのが好ましい。また、後述するようにパッチを印刷するので、本発明によって作成された色変換テーブル(LUT)を利用するプリンタと同一のプリンタにて印刷を行うのが好ましく、後述するハーフトーン処理としても当該プリンタで採用しているハーフトーン処理と同じアルゴリズムであることが必要とされる。
(1) Outline of color conversion table creation:
FIG. 1 is an explanatory diagram schematically illustrating the steps of a color conversion table creation method according to the present invention. Since this step requires a lot of arithmetic processing, it is preferable to use a computer. Since patches are printed as will be described later, printing is preferably performed by the same printer as that using the color conversion table (LUT) created according to the present invention. It is necessary to use the same algorithm as the halftone processing adopted in the above.

本実施形態においては、sRGB規格に準拠した色空間での色域より広い色域を持つ拡張RGB空間(eRGBと表記)のeRGBデータとCMYKlclmデータとを対応づけることによってLUTを作成する。尚、LUTは、有限個(例えば173個)の参照点についてeRGBデータとCMYKlclmデータとの対応関係を規定したテーブルである。データは有限個であるが、参照点を参照して補間処理を実施することによって任意の色についてRGBデータとCMYKlclmデータとを対応づけることができる。 In this embodiment, an LUT is created by associating eRGB data in an extended RGB space (denoted as eRGB) having a color gamut wider than the color gamut in accordance with the sRGB standard with CMYKlclm data. Incidentally, LUT is a table which defines a corresponding relationship between eRGB data and CMYKlclm data for the reference points of a finite number (e.g., 17 3). Although the number of data is limited, RGB data and CMYKlclm data can be associated with each other by executing interpolation processing with reference to reference points.

また、本実施形態において、sRGBデータとeRGBデータとはコンピュータのディスプレイにて画像を表示するなどのために使用されるデータであり、RGB各色256階調である。sRGBデータとeRGBデータとにおいては、双方とも各階調における色が予め決められている。すなわち、所定の変換式を利用してRGBの各階調値と機器非依存色空間の値(例えばL***空間)とを相互に変換可能である。さらに、所定の変換式を利用してsRGBデータとeRGBデータとを相互に変換可能である。 In the present embodiment, the sRGB data and eRGB data are data used for displaying an image on a computer display, and are 256 gradations for each color of RGB. In both sRGB data and eRGB data, colors in each gradation are predetermined. That is, it is possible to mutually convert RGB gradation values and device-independent color space values (for example, L * a * b * space) using a predetermined conversion formula. Furthermore, sRGB data and eRGB data can be converted into each other using a predetermined conversion formula.

CMYKlclmデータは、本実施形態にかかるプリンタにおける吐出インク量を特定するためのデータであって各色256階調である。以上のように、本実施形態においては、eRGB色空間が上記第1色空間、sRGB色空間が上記第3色空間、CMYKlclm色空間が上記第2色空間に相当する。   The CMYKlclm data is data for specifying the amount of ejected ink in the printer according to the present embodiment, and has 256 gradations for each color. As described above, in the present embodiment, the eRGB color space corresponds to the first color space, the sRGB color space corresponds to the third color space, and the CMYKlclm color space corresponds to the second color space.

プリンタによって印刷を行うために、LUTでは上記eRGBデータとCMYKlclmデータとを対応づける必要があるが、CMYKlclmデータはプリンタの機器依存色であることから、LUTを作成する際には一般にプリンタでの実際の印刷結果を測色する。そして、機器非依存色空間で上記eRGBデータとCMYKlclmデータとによる色を対応づけることによってLUTを作成する。   In order to perform printing by a printer, it is necessary to associate the eRGB data and the CMYKlclm data with the LUT. However, since the CMYKlclm data is a device-dependent color of the printer, generally when the LUT is created, the actual value in the printer is used. Measure the print result of. Then, an LUT is created by associating the colors of the eRGB data and the CMYKlclm data in the device-independent color space.

本実施形態では、当該機器非依存色空間としてL***色空間を採用しており、LUTの作成工程では、eRGBデータとsRGBデータとCMYKlclmデータとのそれぞれに対応するL***値を特定する。eRGBデータおよびsRGBデータについては上述のように所定の変換式によってL***値が得られる。図1においては、eRGBデータに対応する値をL1 *1 *1 *と表記し、sRGBデータに対応する値をL3 *3 *3 *と表記する。 In this embodiment, the L * a * b * color space is adopted as the device-independent color space, and in the LUT creation process, L * a * corresponding to each of eRGB data, sRGB data, and CMYKlclm data . Specify the b * value. For eRGB data and sRGB data, L * a * b * values are obtained by a predetermined conversion formula as described above. In FIG. 1, a value corresponding to eRGB data is expressed as L 1 * a 1 * b 1 *, and a value corresponding to sRGB data is expressed as L 3 * a 3 * b 3 * .

一方、CMYKlclmデータはインク量を特定するインク値データであって機器依存色である。従って、実際に印刷を行ったパッチを測色機によって測色することによってL***色空間内の座標値を取得する。測色用のCMYKlclmデータは、複数の色(例えば103個)について予め用意する。 On the other hand, the CMYKlclm data is ink value data that specifies the ink amount and is a device-dependent color. Therefore, the coordinate value in the L * a * b * color space is acquired by measuring the color of the actually printed patch with the colorimeter. CMYKlclm data for color measurement is prepared in advance for a plurality of colors (for example 10 3).

尚、CMYKlclmデータは6色のインクの各インク量を適宜組み合わせることによって任意の色を表現するデータであり、多数の組み合わせによって非常に似た色を表現することが可能である。従って、色域の全域を網羅し、また、高精度に補間を実現するために、特定の分版規則に従って測色用のCMYKlclmデータを作成するのが好ましい。例えば、色がCMYの3色によって表現されると考えると、色域の全域を網羅する組み合わせを容易に抽出することができるので、CMY3色の階調値の組み合わせによって103個の色を決定する。 The CMYKlclm data is data that expresses an arbitrary color by appropriately combining the respective ink amounts of the six colors, and can express very similar colors by a number of combinations. Therefore, it is preferable to create CMYKlclm data for colorimetry according to a specific color separation rule in order to cover the entire color gamut and realize interpolation with high accuracy. For example, assuming that the color is expressed by three colors of CMY, a combination covering the entire color gamut can be easily extracted, so that 10 3 colors are determined by combinations of gradation values of the three colors of CMY. To do.

そして、CMYの各色インクの組み合わせで得られる色とほぼ同等の色を出力するKインクの量を想定し、CMYインクの一部をKインクで代替させる。同様に、Cインクの一部をlcインク、Mインクの一部をlmインクで代替する。この結果、CMY3色の階調値からCMYKlclmデータを生成することができる。いずれにしても、CMYKlclmデータが得られたら、そのデータによってパッチを印刷する。すなわち、プリンタにおけるハーフトーン処理等と同様の処理を実施してプリンタでパッチを印刷する。これらのパッチを測色機によって測色することによって103個のパッチについてL***値を特定することができる。図1においては、この値をL2 *2 *2 *と表記する。 Then, assuming an amount of K ink that outputs substantially the same color as the color obtained by combining the CMY color inks, a part of the CMY ink is replaced with the K ink. Similarly, a part of C ink is replaced with lc ink, and a part of M ink is replaced with lm ink. As a result, CMYKlclm data can be generated from the gradation values of the CMY three colors. In any case, when CMYKlclm data is obtained, a patch is printed with the data. That is, processing similar to halftone processing in the printer is performed, and the patch is printed by the printer. By measuring these patches with a colorimeter, L * a * b * values can be specified for 10 3 patches. In FIG. 1, this value is expressed as L 2 * a 2 * b 2 * .

LUTにおいては、eRGBデータとCMYKlclmデータとを対応づけるが、eRGBデータによって表現される色の色域とプリンタの色域は一般的に異なるので、通常、ディスプレイでの色をプリンタで表現可能な色に変換する色域マッピングを行う。本実施形態においては、上述のようにeRGBデータで表現可能な色の色域(図1においては色域1と表記)の方がsRGBデータで表現可能な色の色域(図1においては色域3と表記)より広いので、色域3内の色は色域マッピングを行わず、色域3の外の領域かつ色域1の中の領域について色域マッピングを行う。また、色域3の中の領域かつ色域2(プリンタの色域)の外の領域についても色域マッピングを行うが、色域3の中の領域かつ色域2の中の領域については色域マッピングを行わない。   In the LUT, eRGB data and CMYKlclm data are associated with each other, but since the color gamut represented by the eRGB data is generally different from the color gamut of the printer, the color that can be represented by the printer is usually the color that can be represented by the printer. Perform gamut mapping to convert to. In the present embodiment, as described above, the color gamut (expressed as color gamut 1 in FIG. 1) that can be expressed by eRGB data is the color gamut (color in FIG. 1) that can be expressed by sRGB data. The color within the color gamut 3 is not subjected to the color gamut mapping, and the color gamut mapping is performed for the region outside the color gamut 3 and the region within the color gamut 1. The color gamut mapping is also performed for the area in the color gamut 3 and the area outside the color gamut 2 (printer color gamut). However, the area in the color gamut 3 and the area in the color gamut 2 are colored. Do not perform area mapping.

図1においては、それぞれの色域マッピングがなされた結果をL1 *'1 *'1 *'、L3 *'3 *'3 *'と示している。以上のようにして得られたL1 *'1 *'1 *'は、元のeRGBデータと一対一に対応する。また、上記L3 *'3 *'3 *'は元のsRGBデータと一対一に対応し、sRGBデータは変換式によってeRGBデータに変換可能であるので、L3 *'3 *'3 *'はeRGBデータと一対一に対応する。むろん、L2 *2 *2 *は元のCMYKlclmデータと一対一に対応する。 In FIG. 1, the results of the respective color gamut mapping are shown as L 1 * ′ a 1 * ′ b 1 * ′ and L 3 * ′ a 3 * ′ b 3 * ′ . L 1 * ′ a 1 * ′ b 1 * ′ obtained as described above corresponds to the original eRGB data on a one-to-one basis. The L 3 * ′ a 3 * ′ b 3 * ′ has a one-to-one correspondence with the original sRGB data, and the sRGB data can be converted into eRGB data by a conversion formula. Therefore, L 3 * ′ a 3 * ′ b 3 * ′ has a one-to-one correspondence with eRGB data. Of course, L 2 * a 2 * b 2 * corresponds to the original CMYKlclm data on a one-to-one basis.

従って、L***空間の任意の値に対応するeRGBデータおよびCMYKlclmデータを補間演算で算出することができる。複数のデータについてeRGBデータとCMYKlclmデータとを算出し、対応づけるとLUTとなる。尚、画像出力を行う際には肌色や空の青色など、実際の色をそのまま出力するより、人間の記憶色に近い色に変換した方が高画質に見えることが多いので、この類の色については実際の色を記憶色に変換しても良い。すなわち、上述の色域マッピングに際して特定の色は記憶色に対応づける。 Therefore, eRGB data and CMYKlclm data corresponding to an arbitrary value in the L * a * b * space can be calculated by interpolation. When the eRGB data and the CMYKlclm data are calculated and associated with each other, a LUT is obtained. Note that when you output an image, it is often the case that the actual color such as skin color or sky blue color is output as it is rather than the actual color as it is. As for, an actual color may be converted into a memory color. That is, a specific color is associated with a memory color in the above color gamut mapping.

以上のようにして作成されたLUTにおいて、sRGBデータの色域内かつプリンタの色域内に存在する色は、色域マッピング(色域圧縮や色域拡張等)がなされないのでsRGBデータが示す色をそのまま出力するようなCMYKlclmデータに対応づけることができる。従って、この色については忠実に色再現を実施することができる。   In the LUT created as described above, colors existing in the color gamut of the sRGB data and in the color gamut of the printer are not subjected to color gamut mapping (color gamut compression, color gamut expansion, etc.), so the colors indicated by the sRGB data are displayed. It can be associated with CMYKlclm data that is output as it is. Therefore, color reproduction can be performed faithfully for this color.

一方、sRGBデータの色域外でeRGBデータの色域内に存在する色は、色域圧縮や色域拡張等の色域マッピングなされ、プリンタの色域内の色で色再現される。従って、eRGBデータの色域外であってもプリンタの色域内に色が存在すればその色を利用して豊かな階調表現が可能であるし、eRGBデータの色域内でプリンタの色域外の色を出力不可能とするのではなくマッピングによってプリンタの色域内の色で出力することが可能になる。   On the other hand, colors existing outside the sRGB data gamut and within the eRGB data gamut are subjected to gamut mapping such as gamut compression and gamut expansion, and are reproduced with colors within the printer gamut. Accordingly, even if the color is outside the color gamut of the eRGB data, if the color exists within the color gamut of the printer, it is possible to express rich gradation using the color, and the color outside the color gamut of the printer within the color gamut of the eRGB data. Can be output with colors within the color gamut of the printer by mapping.

(2)色変換テーブル作成のための装置および処理:
次に、上述のようなLUTを作成するための装置および処理を詳細に説明する。図2はLUTを作成するためのコンピュータ構成を示すブロック図であり、図3はLUTを作成するための処理を示すフローチャートである。コンピュータ10はCPU,RAM,ROM等からなるプログラム実行環境を備え、このプログラム実行環境によって色変換プロファイルを作成するための色変換プロファイル作成プログラム11を実行可能である。同色変換プロファイル作成プログラム11は、HDD12に蓄積されたデータを適宜参照してLUTを作成する。
(2) Apparatus and process for creating a color conversion table:
Next, an apparatus and a process for creating the LUT as described above will be described in detail. FIG. 2 is a block diagram showing a computer configuration for creating an LUT, and FIG. 3 is a flowchart showing a process for creating an LUT. The computer 10 includes a program execution environment including a CPU, a RAM, a ROM, and the like, and a color conversion profile creation program 11 for creating a color conversion profile can be executed by the program execution environment. The same color conversion profile creation program 11 creates an LUT by appropriately referring to data stored in the HDD 12.

また、図示しないインタフェースを介してプリンタ20と接続されており、コンピュータ10から印刷データを出力して印刷を実行することができる。さらに、コンピュータ10では測色機30によって測色して得られた測色データを取り込むことができる。この測色データはキーボード等の入力機器にて入力したり、記録媒体を介して入力したり、所定のインタフェースを介して接続してデータ転送することによって入力したりするなど、種々の態様を採用可能である。   Further, it is connected to the printer 20 via an interface (not shown), and print data can be output from the computer 10 to execute printing. Further, the computer 10 can capture colorimetric data obtained by colorimetry by the colorimeter 30. The colorimetric data can be input using an input device such as a keyboard, input via a recording medium, or input by connecting and transferring data via a predetermined interface. Is possible.

色変換プロファイル作成プログラム11においては、予め用意されたパッチデータ12aとsRGBデータ12bとeRGBデータ12cとを利用してLUT12dを作成する。このために、色変換プロファイル作成プログラム11は、ハーフトーン処理部11aと印刷データ生成/出力部11bとsRGBデータ変換部11cとeRGBデータ変換部11dと色域境界判別部11eとマッピング処理部11fとLUT作成部11gとを備えている。   In the color conversion profile creation program 11, the LUT 12d is created using patch data 12a, sRGB data 12b, and eRGB data 12c prepared in advance. For this purpose, the color conversion profile creation program 11 includes a halftone processing unit 11a, a print data generation / output unit 11b, an sRGB data conversion unit 11c, an eRGB data conversion unit 11d, a color gamut boundary determination unit 11e, and a mapping processing unit 11f. And an LUT creation unit 11g.

色変換プロファイル作成プログラム11が実行されると、ハーフトーン処理部11aがパッチデータ12aを取得(ステップS100)してハーフトーン処理を行う。パッチデータ12aは、複数個のパッチを印刷させるためのデータであり、各パッチの色をCMYKlclmデータによって特定したデータである。また、ハーフトーン処理は、プリンタ20において各画素毎に表現可能な階調数で上記CMYKlclmデータの各階調に対応したインク量を記録するように、階調数の変換を行う処理である。ハーフトーン処理のアルゴリズムは、誤差拡散法やディザ法など各種アルゴリズムを採用可能である。   When the color conversion profile creation program 11 is executed, the halftone processing unit 11a acquires the patch data 12a (step S100) and performs halftone processing. The patch data 12a is data for printing a plurality of patches, and is data in which the color of each patch is specified by CMYKlclm data. The halftone process is a process of converting the number of gradations so that the printer 20 records the ink amount corresponding to each gradation of the CMYKlclm data with the number of gradations that can be expressed for each pixel. As the halftone processing algorithm, various algorithms such as an error diffusion method and a dither method can be adopted.

ハーフトーン処理がなされると印刷データ生成/出力部11bが当該ハーフトーン処理後のデータに基づいてパッチを印刷させるための印刷データを生成し、プリンタ20に対して出力する(ステップS105)。すなわち、ハーフトーン処理後のデータをプリンタ20で使用される順序に並べ替える等の処理を行ってパッチを印刷するための印刷データを生成し、プリンタ20に対して出力する。この結果、プリンタ20では、複数のパッチを印刷する。   When the halftone process is performed, the print data generation / output unit 11b generates print data for printing a patch based on the data after the halftone process, and outputs the print data to the printer 20 (step S105). That is, print data for printing patches is generated by performing processing such as rearranging the data after halftone processing in the order used by the printer 20, and outputting the print data to the printer 20. As a result, the printer 20 prints a plurality of patches.

尚、ハーフトーン処理部11aおよび印刷データ生成/出力部11bは、後述する印刷制御装置におけるハーフトーン処理部210cおよび印刷データ生成部210dと同様の処理を実施するモジュールである。パッチが印刷されると、利用者は当該印刷結果を測色機30にセットし、各パッチ毎にそのL***値を測色する。色変換プロファイル作成プログラム11の色域境界判別部11eは、図示しないインタフェース等を介して当該測色結果を示す測色データを取得する(ステップS110)。尚、このL***値は、上記図1に示すL2 *2 *2 *に相当する。 The halftone processing unit 11a and the print data generation / output unit 11b are modules that perform the same processing as the halftone processing unit 210c and the print data generation unit 210d in the print control apparatus described later. When the patch is printed, the user sets the print result in the colorimeter 30 and measures the L * a * b * value for each patch. The color gamut boundary determination unit 11e of the color conversion profile creation program 11 acquires color measurement data indicating the color measurement result via an interface (not shown) or the like (step S110). The L * a * b * value corresponds to L 2 * a 2 * b 2 * shown in FIG.

一方、sRGBデータ12bとeRGBデータ12cとは異なる各RGB空間で各色成分値を変化させて得られる複数のデータ、例えば、RGBの各値をその階調値域内でそれぞれ独立に一定値間隔で変化させて得られるデータである。sRGBデータ変換部11cは、当該sRGBデータ12bを取得し、所定の変換式に基づいてRGB値をL***値に変換する(ステップS115)。 On the other hand, sRGB data 12b and eRGB data 12c are different from each other in a plurality of data obtained by changing each color component value in each RGB space, for example, each RGB value is changed independently at a constant value interval within the gradation value range. It is the data obtained by making it. The sRGB data conversion unit 11c acquires the sRGB data 12b, and converts the RGB values into L * a * b * values based on a predetermined conversion formula (step S115).

上記色変換プロファイル作成プログラム11の色域境界判別部11eは、当該変換後のL***値を取得する。尚、当該sRGBデータ12bに基づくL***値は、上記図1に示すL3 *3 *3 *に相当する。eRGBデータ変換部11dは、上記eRGBデータ12cを取得し、所定の変換式に基づいてRGB値をL***値に変換する(ステップS120)。上記色変換プロファイル作成プログラム11の色域境界判別部11eは、当該変換後のL***値を取得する。尚、当該eRGBデータ12cに基づくL***値は、上記図1に示すL1 *1 *1 *に相当する。 The color gamut boundary determination unit 11e of the color conversion profile creation program 11 acquires the L * a * b * value after the conversion. Incidentally, based on the sRGB data 12b L * a * b * value corresponds to L 3 * a 3 * b 3 * shown in FIG. 1. The eRGB data converter 11d acquires the eRGB data 12c and converts the RGB value into an L * a * b * value based on a predetermined conversion formula (step S120). The color gamut boundary determination unit 11e of the color conversion profile creation program 11 acquires the L * a * b * value after the conversion. The L * a * b * value based on the eRGB data 12c corresponds to L 1 * a 1 * b 1 * shown in FIG.

以上の処理によって、複数のsRGBデータとeRGBデータとCMYKlclmデータとに対応する機器非依存色空間データが色域境界判別部11eに取得されたことになる。そこで、色域境界判別部11eは、これらのL***値に基づいて色域の境界を判別する(ステップS125)。ここでは、色域の境界を判別することによって、後述する任意のターゲット色が色域の境界と比較してどのような領域に位置するのかを判定することができれば良く、その限りにおいて種々の手法で色域の境界を判別することができる。 Through the above processing, device-independent color space data corresponding to a plurality of sRGB data, eRGB data, and CMYKlclm data is acquired by the color gamut boundary determination unit 11e. Therefore, the color gamut boundary determination unit 11e determines the boundary of the color gamut based on these L * a * b * values (step S125). Here, it is only necessary to determine the region where an arbitrary target color, which will be described later, is located in comparison with the boundary of the color gamut by determining the boundary of the color gamut. Can determine the boundary of the color gamut.

例えば、上記sRGBデータとeRGBデータとCMYKlclmデータとのそれぞれにおけるL***値をL***空間にプロットし、各色相毎に最外側のL***値を抽出する。このL***値が色域の境界を形成していると考えれば、各L***値の間を補間することによって色域の境界を形成することができる。むろん、連続的に色域の境界を把握できるように構成する他、境界を把握する必要がある部位のみについて境界を算出するなど、種々の構成を採用可能である。 For example, the L * a * b * values in the sRGB data, eRGB data, and CMYKlclm data are plotted in the L * a * b * space, and the outermost L * a * b * values are extracted for each hue. To do. Given this L * a * b * values forms a boundary of the color gamut, it is possible to form the boundary of the color gamut by interpolating between the respective L * a * b * values. Of course, it is possible to adopt various configurations such as a configuration in which the boundary of the color gamut can be continuously grasped, and a boundary is calculated only for a portion where the boundary needs to be grasped.

マッピング処理部11fは、LUTとして登録される色についてマッピングが必要であるか否かを判別するとともに、必要に応じてマッピングを行うモジュールである。このために、まず、L***空間内でターゲット色を特定する(ステップS130)。このターゲット色は、LUTに登録される複数の参照点に対応しており、上記eRGBデータ12cの色域を網羅する色である。従って、eRGBデータの各色成分を階調値域内で変化させるとともに所定の変換式でeRGBデータをL***値に変換しても良いし、上記判別されたeRGB色空間の色域内で均等にL***値を抽出するなど種々の構成を採用可能である。 The mapping processing unit 11f is a module that determines whether or not mapping is necessary for the color registered as the LUT and performs mapping as necessary. For this purpose, first, a target color is specified in the L * a * b * space (step S130). This target color corresponds to a plurality of reference points registered in the LUT, and is a color that covers the color gamut of the eRGB data 12c. Accordingly, each color component of the eRGB data may be changed within the gradation value range, and the eRGB data may be converted into an L * a * b * value by a predetermined conversion formula, or within the determined color range of the eRGB color space. Various configurations such as extracting L * a * b * values evenly can be adopted.

ステップS130においては未処理のターゲット色を一つ抽出する。ターゲット色を抽出したら、当該ターゲット色と色域の境界との相対関係をL***色空間で特定する(ステップS135)。ターゲット色と色域の境界との相対関係を把握したら、ターゲット色が予め決められたマッピングの実施条件に合致し、マッピングが必要であるか否かを判別する(ステップS140)。 In step S130, one unprocessed target color is extracted. When the target color is extracted, the relative relationship between the target color and the boundary of the color gamut is specified in the L * a * b * color space (step S135). When the relative relationship between the target color and the boundary of the color gamut is grasped, it is determined whether the target color matches a predetermined mapping execution condition and mapping is necessary (step S140).

ステップS140にてマッピングが必要であると判別されたら、予め決められたアルゴリズムによってマッピングを実施する(ステップS145)。ステップS140にてマッピングが必要であると判別されなければ、ステップS145をスキップする。そして、以上の処理が総てのターゲット色に対して終了したか否かを判別(ステップS150)し、総てのターゲット色に対して終了したと判別されるまでステップS130以降の処理を繰り返す。   If it is determined in step S140 that mapping is necessary, mapping is performed using a predetermined algorithm (step S145). If it is not determined in step S140 that mapping is necessary, step S145 is skipped. Then, it is determined whether or not the above processing has been completed for all target colors (step S150), and the processing from step S130 is repeated until it is determined that the processing has been completed for all target colors.

総てのターゲット色に対して以上の処理を行って、必要に応じてマッピングを行った後には、マッピング後のL***値(図1に示す例ではL1 *'1 *'1 *'とL3 *'3 *'3 *')および測色したL2 *2 *2 *とをLUT作成部11gに受け渡す。 After the above processing is performed on all target colors and mapping is performed as necessary, L * a * b * values after mapping (in the example shown in FIG. 1, L 1 * ′ a 1 * 'b 1 *' and L 3 * 'a 3 *' b 3 * ') and colorimetry was L 2 * a 2 * b 2 * and the pass to the LUT creation unit 11g.

LUT作成部11gは、これらのL***値に基づいてLUTを作成するモジュールであり、上記ターゲット色のL***値(マッピング後の値も含む)を出力するためのCMYKlclmデータを補間演算で算出(ステップS155)し、元のeRGBデータと当該算出されたCMYKlclmデータとを対応づける(ステップS160)。得られた対応関係を示すデータがLUT12dである。 The LUT creation unit 11g is a module that creates an LUT based on these L * a * b * values, and outputs the L * a * b * values (including values after mapping) of the target color. The CMYKlclm data is calculated by interpolation (Step S155), and the original eRGB data is associated with the calculated CMYKlclm data (Step S160). Data indicating the obtained correspondence relationship is the LUT 12d.

図4は、当該マッピング処理部11fの処理におけるマッピング実施条件の例を説明する説明図である。同図は、上述のsRGBデータとeRGBデータとCMYKlclmデータとのそれぞれにおけるL***値をL***空間にプロットし、L*軸を含むある面で切断した状態を示している。すなわち、縦軸がL*であり、横軸はある色相における彩度c*(紙面右方向、左方向の双方とも彩度は正)である。 FIG. 4 is an explanatory diagram illustrating an example of mapping execution conditions in the processing of the mapping processing unit 11f. Figure plots the L * a * b * values in each of the above-described sRGB data and eRGB data and CMYKlclm data to L * a * b * space, showing a state taken along a certain plane including the L * axis ing. That is, the vertical axis is L * , and the horizontal axis is the saturation c * in a certain hue (saturation is positive in both the right and left directions on the paper).

同図においては、実線にてsRGB色空間の色域(sRGBデータによる色域)の境界を示し、一点鎖線にてeRGB色空間の色域(eRGBデータによる色域)の境界を示し、破線にてプリンタの色域(CMYKlclmデータによる色域)の境界を示している。本実施形態では、色を忠実に再現する目的と豊かな階調で色再現する目的とを一つの色変換プロファイルにて同時に実現できるようにしており、このために、「sRGB色空間の色域とプリンタの色域との双方に含まれる色はマッピングしない」という条件と「sRGB色空間の色域外かつeRGB色空間の色域内の領域に含まれる色であり、この領域の外側にプリンタの色域が存在する場合には、色域拡張を行う」という条件を採用している。   In the figure, the solid line indicates the boundary of the color gamut of the sRGB color space (color gamut based on sRGB data), the dashed line indicates the boundary of the color gamut of the eRGB color space (color gamut based on eRGB data), and the broken line indicates The boundary of the printer color gamut (color gamut based on CMYKlclm data) is shown. In this embodiment, the purpose of faithfully reproducing colors and the purpose of reproducing colors with rich gradations can be realized simultaneously with one color conversion profile. For this reason, the “gamut of the sRGB color space” And the color included in both of the printer color gamut and the condition that “the color is not included in the color gamut of the sRGB color space and within the color gamut of the eRGB color space. If a gamut exists, the condition that the color gamut expansion is performed is adopted.

ここでは、図4に示す例に従ってこの条件をより具体的に説明する。図4に示す例においては、色域境界およびL軸等に囲まれる領域を領域A〜Hとして区別している。sRGB色空間の色域とプリンタの色域との双方に含まれる色は領域A,Bである。ターゲット色がこの領域に含まれるか否かを判別するためには、例えば、ターゲット色および色域境界の彩度を利用することができる。すなわち、ターゲット色の彩度をCt,sRGB色空間における色域境界の彩度をCs,eRGB色空間における色域境界の彩度をCe,プリンタの色域境界の彩度をCpとして、以下の条件のいずれかを満たすか否かを判別する。
条件1:Ct<CsかつCs<Cp
条件2:Ct<CpかつCp<Cs
Here, this condition will be described more specifically according to the example shown in FIG. In the example illustrated in FIG. 4, regions surrounded by the color gamut boundary and the L axis are distinguished as regions A to H. Colors included in both the color gamut of the sRGB color space and the color gamut of the printer are regions A and B. In order to determine whether or not the target color is included in this region, for example, the saturation of the target color and the color gamut boundary can be used. That is, the saturation of the target color is C t , the saturation of the gamut boundary in the sRGB color space is C s , the saturation of the gamut boundary in the eRGB color space is C e , and the saturation of the gamut boundary of the printer is C p. Whether any of the following conditions is satisfied is determined.
Condition 1: C t <C s and C s <C p
Condition 2: C t <C p and C p <C s

すなわち、条件1を満たせば領域A,条件2を満たせば領域B内にターゲット色が存在する。ターゲット色がこれらの領域A,B内にある場合は、その色と同一の色をプリンタ20で出力することができる。そこで、ターゲット色がこれら領域A,B内に存在すると判別されたときには、そのターゲット色についてマッピングを行わずにeRGBデータとCMYKlclmデータとを対応づける。この結果、eRGBデータが示す色とCMYKlclmデータによって出力される色とが略同一になり、忠実な色再現が実現される。   That is, the target color exists in the region A if the condition 1 is satisfied, and the target color exists in the region B if the condition 2 is satisfied. If the target color is in these areas A and B, the printer 20 can output the same color as that color. Therefore, when it is determined that the target color exists in these areas A and B, the eRGB data and the CMYKlclm data are associated with each other without mapping the target color. As a result, the color indicated by the eRGB data and the color output by the CMYKlclm data are substantially the same, and faithful color reproduction is realized.

一方、sRGB色空間の色域外かつeRGB色空間の色域内の領域は、上記図4における領域E,F,Gである。しかし、各領域の外側にプリンタの色域が存在する領域は領域Gである。このように、sRGB色空間の色域外かつeRGB色空間の色域内の領域に含まれる色であり、この領域の外側にプリンタの色域が存在するか否かを判別するためには、例えば、以下の条件を満たすか否かを判別する。
条件3:Ct≧CsかつCt<CeかつCe<Cp
On the other hand, the regions outside the sRGB color space and within the eRGB color space are the regions E, F, and G in FIG. However, a region where the printer color gamut exists outside each region is a region G. In this way, in order to determine whether the color is included in a region outside the sRGB color space and within the color gamut of the eRGB color space, and the printer color gamut exists outside this region, for example, It is determined whether or not the following conditions are satisfied.
Condition 3: C t ≧ C s and C t <C e and C e <C p

ターゲット色がこの領域G内にある場合は、領域H内の色を出力することにより、色相や明度を大幅に変えることなくより彩度の高い色を出力可能である。そこで、領域G内の色については色域拡張を行って領域Hの色も利用する。色域拡張においては、領域G内の色を領域Gおよび領域H内の色に一対一で対応づけることができれば良く、種々のアルゴリズムによって実行可能である。   When the target color is in this region G, by outputting the color in the region H, it is possible to output a color with higher saturation without significantly changing the hue and lightness. Therefore, for the colors in the region G, the color of the region H is used by expanding the color gamut. The color gamut expansion may be performed by various algorithms as long as the colors in the region G can be associated with the colors in the region G and the region H on a one-to-one basis.

例えば、マッピングによって明度と色相は変動させないこととし、マッピング後の彩度CmをCm=(Ct−Cs)×(Cp−Cs)/(Ce−Cs)として算出する構成等を採用可能である。以上のようにしてマッピングを行ってeRGBデータとCMYKlclmデータとを対応づけると、eRGBデータが示す色より高い彩度を含む色がCMYKlclmデータによって出力され、豊かな階調による色再現が実現される。 For example, the lightness and hue are not changed by mapping, and the saturation C m after mapping is calculated as C m = (C t −C s ) × (C p −C s ) / (C e −C s ). A configuration or the like can be adopted. When mapping is performed as described above and eRGB data and CMYKlclm data are associated with each other, colors having higher saturation than the color indicated by eRGB data are output by CMYKlclm data, and color reproduction with rich gradation is realized. .

尚、プリンタの色域外の色は印刷できないため、本実施形態ではeRGB色空間の色域内かつプリンタの色域外の色をプリンタの色域内に圧縮している。また、本実施形態ではsRGB色空間の色域外であるが、eRGB色空間の色域内かつプリンタの色域内の色についてもマッピングを行わず、忠実な色再現を実施できるようにしている。具体的には、以下の条件に基づいてターゲット色が領域C,D,E,Fのいずれに該当するか判別し、マッピングの必要性およびその手法を判断する。   Since colors outside the printer's color gamut cannot be printed, in this embodiment, colors within the color gamut of the eRGB color space and outside the printer's color gamut are compressed into the printer's color gamut. In the present embodiment, although it is outside the color gamut of the sRGB color space, the colors within the color gamut of the eRGB color space and within the color gamut of the printer are not mapped, and faithful color reproduction can be performed. Specifically, it is determined whether the target color corresponds to the region C, D, E, or F based on the following conditions, and the necessity of mapping and its method are determined.

条件4:Ct≧CpかつCt<CsかつCp<Cs
条件5:Ct≧CsかつCp<Cs
条件6:Ct≧CsかつCt<CpかつCp<Ce
条件7:Ct≧CpかつCt<CeかつCp<Ce
すなわち、条件4を満たせば、ターゲット色が領域C内に存在する。領域Cでは、ターゲット色がsRGB色空間およびeRGB色空間の色域内に含まれるが、プリンタの色域外である。そこで、当該ターゲット色が指定された画像においても何らかの色を印刷するため、色域圧縮処理を行う。ここで、色域圧縮処理のアルゴリズムとしては、種々のアルゴリズムを採用可能である。例えば、色相を変更せず、明度および彩度を変更してプリンタの色域内の色になるような規則を採用する。また、条件5を満たせば、ターゲット色が領域D内に存在する。領域Dでは、ターゲット色がeRGB色空間の色域内に含まれるが、プリンタの色域外であるため、上記領域Cと同様に色域圧縮処理を行う。ここでも、色域圧縮処理のアルゴリズムとしては、種々のアルゴリズムを採用可能である。
Condition 4: C t ≧ C p and C t <C s and C p <C s
Condition 5: C t ≧ C s and C p <C s
Condition 6: C t ≧ C s and C t <C p and C p <C e
Condition 7: C t ≧ C p and C t <C e and C p <C e
That is, if the condition 4 is satisfied, the target color exists in the region C. In the area C, the target color is included in the color gamuts of the sRGB color space and the eRGB color space, but is outside the printer color gamut. Therefore, color gamut compression processing is performed in order to print some color even in an image in which the target color is designated. Here, various algorithms can be adopted as an algorithm for color gamut compression processing. For example, a rule is adopted that does not change the hue but changes the lightness and saturation to become a color within the color gamut of the printer. If the condition 5 is satisfied, the target color exists in the region D. In the area D, the target color is included in the color gamut of the eRGB color space, but is outside the printer color gamut, so the color gamut compression processing is performed in the same manner as in the area C. Again, various algorithms can be employed as the algorithm for color gamut compression.

さらに、条件6を満たせば、ターゲット色が領域E内に存在する。領域Eでは、ターゲット色がeRGB色空間の色域内であるとともにプリンタの色域内である。従って、このターゲット色を忠実に再現することが可能であり、マッピングは行わない。さらに、条件7を満たせば、ターゲット色が領域F内に存在する。領域Fでは、ターゲット色がeRGB色空間の色域内であるが、プリンタの色域外である。そこで、当該ターゲット色が指定された画像においても何らかの色を印刷するため、色域圧縮処理を行う。ここでも、色域圧縮処理のアルゴリズムとしては、種々のアルゴリズムを採用可能である。   Furthermore, if the condition 6 is satisfied, the target color exists in the region E. In region E, the target color is in the color gamut of the eRGB color space and in the color gamut of the printer. Therefore, this target color can be faithfully reproduced and mapping is not performed. Furthermore, if the condition 7 is satisfied, the target color exists in the region F. In region F, the target color is in the color gamut of the eRGB color space, but is outside the color gamut of the printer. Therefore, color gamut compression processing is performed in order to print some color even in an image in which the target color is designated. Again, various algorithms can be employed as the algorithm for color gamut compression.

以上のように、色域の境界に基づいて色域の重なり具合を判断すれば、一つのLUTによって、異なる目的(忠実な色再現と豊かな階調での色再現)の色変換を実施可能である。また、sRGBデータは、容易にeRGBデータへ変換することができるので、sRGBデータによる入力画像データとeRGBデータによる入力画像データのいずれについても一つのLUTにて色変換を行い、印刷を実行可能である。   As described above, if the degree of color gamut overlap is judged based on the color gamut boundary, color conversion for different purposes (faithful color reproduction and color reproduction with rich gradations) can be performed with one LUT. It is. Also, since sRGB data can be easily converted to eRGB data, both the input image data based on sRGB data and the input image data based on eRGB data can be subjected to color conversion with a single LUT and printing can be executed. is there.

図5は、以上のような処理によって作成されるLUT12dの構成を説明する説明図である。同図においては、RGBデータとCMYKlclmデータとが一対一に対応づけられていることを示している。上述のように、ターゲット色はLUTに登録される複数の参照点に対応しており、上記eRGBデータの色域を網羅する色である。従って、LUT12dに規定されたRGBデータがeRGB色空間のデータであるとすれば、色域圧縮を受けるものの、eRGB色空間の色域に含まれる略全色(Ra1a1a1〜Renenen)についてCMYKlclmデータに変換することができる。 FIG. 5 is an explanatory diagram for explaining the configuration of the LUT 12d created by the above processing. In the figure, it is shown that RGB data and CMYKlclm data are associated one-to-one. As described above, the target color corresponds to a plurality of reference points registered in the LUT, and is a color that covers the color gamut of the eRGB data. Therefore, assuming that the RGB data defined in the LUT 12d is data in the eRGB color space, the color gamut compression is performed, but almost all colors (R a1 G a1 B a1 to R en included in the color gamut of the eRGB color space are included. G en B en ) can be converted to CMYKlclm data.

一方、sRGB色空間はeRGB色空間より狭いので、LUT12dに規定されるRGBデータの一部(Ra1a1a1〜Rsnsnsn)によってsRGB色空間の色域を網羅することができる。従って、sRGBデータをeRGBデータに変換(sRGBデータが示す色と同じ色を示すeRGBデータを算出する)し、当該eRGBデータをCMYKlclmデータに変換することにより、sRGBデータが示す色を出力するためのCMYKlclmデータを取得することができる。 On the other hand, since the sRGB color space is narrower than the eRGB color space, the color gamut of the sRGB color space may be covered by a part of the RGB data (R a1 G a1 B a1 to R sn G sn B sn ) defined in the LUT 12d. it can. Accordingly, the sRGB data is converted into eRGB data (eRGB data indicating the same color as the sRGB data is calculated), and the eRGB data is converted into CMYKlclm data to output the color indicated by the sRGB data. CMYKlclm data can be acquired.

尚、sRGB色空間の色域に対応するRGBデータの一部(図5のRa1a1a1〜Rananan)についてはそのデータが示す色をマッピングせずにCMYKlclmデータと対応づけている。従って、このRGBデータについては忠実な色再現を実施可能である。また、sRGB色空間の色域外でeRGB色空間の色域内の色を示すRGBデータは、図5のRe1e1e1〜Renenenである。この色の一部は、上述のようにeRGB色空間の色域外にマッピングされている。従って、eRGB色空間における色の表現力を超えた豊かな色再現を実施可能である。 Note that a part of RGB data corresponding to the color gamut of the sRGB color space (R a1 G a1 B a1 to R an Gan B an in FIG. 5) corresponds to the CMYKlclm data without mapping the color indicated by the data. It is attached. Therefore, faithful color reproduction can be performed for this RGB data. Further, RGB data indicating a color gamut of eRGB color space gamut of the sRGB color space is R e1 G e1 B e1 ~R en G en B en in FIG. A part of this color is mapped outside the color gamut of the eRGB color space as described above. Therefore, rich color reproduction exceeding the expressive power of colors in the eRGB color space can be implemented.

以上の構成により、入力画像データをRa1a1a1〜Ranananの範囲内で構成すれば、忠実な色再現を実施できるし、Ra1a1a1〜Rsnsnsnに相当するデータを利用すれば、sRGB色空間のデータに基づく印刷を実施することができる。むろん、eRGB色空間のデータに基づく印刷を実施することもできるし、ここで、Re1e1e1〜Renenenの一部を含む入力画像データを使えば、eRGB色空間における色の表現力を超えた豊かな色再現を実施可能である。 With the above configuration, the input image data be configured within a R a1 G a1 B a1 ~R an G an B an, to be carried faithful color reproduction, R a1 G a1 B a1 ~R sn G sn If data corresponding to B sn is used, printing based on data in the sRGB color space can be performed. Of course, can also be implemented printing based on data eRGB color space, wherein, With the input image data including a portion of R e1 G e1 B e1 ~R en G en B en, in eRGB color space A rich color reproduction that exceeds the expressiveness of color is possible.

(3)本発明によって作成したLUTを利用した印刷:
以上のようにして作成したLUT12dは、プリンタ20にて印刷を実行する際に色変換処理を行うために参照される。従って、当該LUT12dを参照して印刷を実行する印刷制御装置においても本発明にかかる技術的思想を利用していると言える。そこで、以下当該印刷を行うための構成を説明する。
(3) Printing using the LUT created according to the present invention:
The LUT 12d created as described above is referred to when performing color conversion processing when the printer 20 executes printing. Therefore, it can be said that the technical idea according to the present invention is also used in a print control apparatus that executes printing with reference to the LUT 12d. A configuration for performing the printing will be described below.

図6は、印刷時にLUT12dを使用するコンピュータ構成例を示すブロック図である。コンピュータ110は汎用的なパーソナルコンピュータであり、プリンタドライバ(PRTDRV)210と入力機器ドライバ(DRV)220とディスプレイドライバ(DRV)230とがOS200に組み込まれている。ディスプレイDRV230はディスプレイ180における画像データ等の表示を制御するドライバであり、入力機器DRV220はシリアルI/F190aを介して入力される上記キーボード310やマウス320からのコード信号を受信して所定の入力操作を受け付けるドライバである。   FIG. 6 is a block diagram illustrating a computer configuration example using the LUT 12d during printing. The computer 110 is a general-purpose personal computer, and a printer driver (PRTDRV) 210, an input device driver (DRV) 220, and a display driver (DRV) 230 are incorporated in the OS 200. The display DRV 230 is a driver that controls display of image data and the like on the display 180. The input device DRV 220 receives code signals from the keyboard 310 and the mouse 320 input via the serial I / F 190a and performs a predetermined input operation. It is a driver that accepts.

APL250は、カラー画像のレタッチ等を実行可能なアプリケーションプログラムであり、利用者は当該APL250の実行下において上記操作用入力機器を操作してレタッチ等の操作を実施可能であるとともに当該カラー画像をプリンタ20にて印刷させることができる。このようなカラー画像の印刷時に本発明によって作成されたLUT12dが参照される。APL250においては、カラー画像を示す画像データ120aを作成するが、その色空間をsRGB色空間とeRGB色空間とから選択することができる。   The APL 250 is an application program that can execute retouching of a color image, and the user can operate the input device for operation under the execution of the APL 250 to perform an operation such as retouching, and print the color image to a printer. 20 for printing. The LUT 12d created by the present invention at the time of printing such a color image is referred to. In APL 250, image data 120a indicating a color image is created, and the color space can be selected from the sRGB color space and the eRGB color space.

すなわち、本実施形態において、画像データ120aはsRGBデータあるいはeRGBデータで構成される。従って、画像データ120aが上記入力画像データを構成する。この色空間を把握するためには、画像データ120aのヘッダにその色空間を記述しても良いし、印刷時にプリンタ20のプロパティ画面等で指定しても良い。   That is, in the present embodiment, the image data 120a is composed of sRGB data or eRGB data. Therefore, the image data 120a constitutes the input image data. In order to grasp this color space, the color space may be described in the header of the image data 120a, or may be specified on the property screen of the printer 20 at the time of printing.

上記PRTDRV210は印刷を実行するために、画像データ取得部210aと色変換部210bとハーフトーン処理部210cと印刷データ生成部210dとを備えている。また、本発明によって作成されたLUT12dはHDD120に保存されている。APL250実行時に利用者が印刷実行指示を行うと、各モジュールが以下の処理を実施する。   The PRTDRV 210 includes an image data acquisition unit 210a, a color conversion unit 210b, a halftone processing unit 210c, and a print data generation unit 210d in order to execute printing. The LUT 12d created according to the present invention is stored in the HDD 120. When the user issues a print execution instruction when executing APL 250, each module performs the following processing.

図7は、印刷制御処理のフローチャートである。印刷制御処理が開始されると、画像データ120aが画像データ取得部210aに取得される。(ステップS200)。同画像データ取得部210aは、画像データ120aの画素数に過不足があるか否かを判別し、過不足がある場合には補間演算によって過不足を補う。色変換部210bは、RGBデータをCMYKlclmデータに変換するモジュールであり、LUT12dの参照点を使用して任意のRGBデータをCMYKlclmデータに変換する。当該CMYKlclmデータが上述の出力画像データに相当する。   FIG. 7 is a flowchart of the print control process. When the print control process is started, the image data 120a is acquired by the image data acquisition unit 210a. (Step S200). The image data acquisition unit 210a determines whether the number of pixels of the image data 120a is excessive or insufficient, and if there is an excess or deficiency, compensates for the excess or deficiency by interpolation calculation. The color conversion unit 210b is a module that converts RGB data into CMYKlclm data, and converts arbitrary RGB data into CMYKlclm data using reference points of the LUT 12d. The CMYKlclm data corresponds to the output image data described above.

色変換部210bは、色空間変換部210b1を備えており、上記色変換を実施する前に上記設定された色空間に対応した処理を行う。すなわち、LUT12dに記述されたRGBデータはeRGB色空間のデータであるため、画像データ120aがsRGB色空間のデータである場合には、これをeRGB色空間のデータに変換する必要がある。   The color conversion unit 210b includes a color space conversion unit 210b1 and performs processing corresponding to the set color space before performing the color conversion. That is, since the RGB data described in the LUT 12d is data in the eRGB color space, when the image data 120a is data in the sRGB color space, it is necessary to convert it into data in the eRGB color space.

このため、色空間変換部210b1は、上記画像データ取得部210aが取得した画像データ120aについて設定されていた色空間を判別する(ステップS210)。この色空間がsRGB色空間であると判別(ステップS220)したら、色空間変換部210b1はHDD120に記録されている変換マトリクス120bを参照し、sRGBデータをeRGBデータに変換する。尚、変換マトリクス120bは、sRGBデータをeRGBデータに変換するための3×3行列を示すデータである。   Therefore, the color space conversion unit 210b1 determines the color space set for the image data 120a acquired by the image data acquisition unit 210a (step S210). If it is determined that this color space is the sRGB color space (step S220), the color space conversion unit 210b1 refers to the conversion matrix 120b recorded in the HDD 120 and converts the sRGB data into eRGB data. The conversion matrix 120b is data indicating a 3 × 3 matrix for converting sRGB data into eRGB data.

ここでは、入力される画像データのRGB値がいずれの色空間に存在するのかを判別することができれば良く、印刷の目的で判断しても良い。例えば、忠実な色再現と豊かな色再現とのいずれかを選択するように構成し、前者であればsRGB色空間のデータであると判断し、後者であればeRGB色空間のデータであると判断する構成等を採用可能である。ステップS220にて色空間がsRGB色空間であると判別されなかった場合およびステップS230にて変換を行った場合には、その時点で得られているRGBデータの色空間がeRGB色空間である。そこで、色変換部210bは、上記LUT12dを参照し、補間演算によって任意のRGBデータをCMYKlclmデータに変換する(ステップS240)。   Here, it is only necessary to be able to determine in which color space the RGB values of the input image data exist, and it may be determined for the purpose of printing. For example, it is configured to select either faithful color reproduction or rich color reproduction. If the former, it is determined that the data is in the sRGB color space, and if it is the latter, the data is in the eRGB color space. It is possible to adopt a configuration for determining. If it is not determined in step S220 that the color space is the sRGB color space, or if conversion is performed in step S230, the color space of the RGB data obtained at that time is the eRGB color space. Therefore, the color conversion unit 210b refers to the LUT 12d and converts arbitrary RGB data into CMYKlclm data by interpolation calculation (step S240).

尚、色変換部210bは色補正部210b2を備えており、利用者の指示等によって、色補正を実施することも可能である。すなわち、写真等の印刷においては、実際の被写体の色や画像データが示す色を忠実に再現するよりも彩度を高くするなど所定の色補正を実施した方が高画質に見える場合が多い。例えば、肌色や空の青色など、実際の色をそのまま出力するより、人間の記憶色に近い色に変換した方が高画質に見える。そこで、色補正部210b2においては、利用者の指示等により、色変換前あるいは色変換後の画像データから特定の色を抽出し、他の色に変換する処理を実行する。   The color conversion unit 210b includes a color correction unit 210b2, and can perform color correction according to a user instruction or the like. That is, when printing a photograph or the like, it is often the case that a predetermined color correction, such as increasing the saturation, is performed with higher quality than faithfully reproducing the color of the actual subject or the color indicated by the image data, so that the image quality looks higher. For example, the actual color such as skin color or sky blue is not output as it is, but it looks better when converted to a color close to human memory. Therefore, the color correction unit 210b2 executes a process of extracting a specific color from the image data before or after color conversion and converting it to another color according to a user instruction or the like.

いずれにしても色変換によって画素毎のCMYKlclmデータが得られたら、ハーフトーン処理部210cは、上記ハーフトーン処理部11aと同様の処理を行ってハーフトーンデータを取得する(ステップS250)。印刷データ生成部210dは、当該ハーフトーンデータを受け取って、プリンタ20で使用される順番に並べ替える並べ替え処理を行う(ステップS260)。この並べ替え処理の後、画像の解像度などの所定の情報を付加して印刷データを生成し、USBI/F190bを介してプリンタ20に出力する(ステップS270)。プリンタ20においては当該印刷データに基づいて画像を印刷する。   In any case, when CMYKlclm data for each pixel is obtained by color conversion, the halftone processing unit 210c performs the same processing as the halftone processing unit 11a to obtain halftone data (step S250). The print data generation unit 210d receives the halftone data and performs a rearrangement process for rearranging in the order used by the printer 20 (step S260). After the rearrangement process, print data is generated by adding predetermined information such as image resolution, and is output to the printer 20 via the USB I / F 190b (step S270). The printer 20 prints an image based on the print data.

図8は、以上の構成および処理によって実現される印刷を説明する説明図である。本実施形態においては、画像データ120aの色空間がsRGB色空間であってもeRGB色空間であっても一つのLUT12dにて色変換が可能であり、印刷を実行可能である。但し、LUT12dにてCMYKlclmデータに対応づけられるデータはeRGBデータであるため、画像データ120aがsRGB色空間のデータである場合には、sRGBデータをeRGBデータに変換する必要がある。   FIG. 8 is an explanatory diagram illustrating printing realized by the above configuration and processing. In the present embodiment, even if the color space of the image data 120a is an sRGB color space or an eRGB color space, color conversion can be performed with one LUT 12d, and printing can be executed. However, since the data associated with the CMYKlclm data in the LUT 12d is eRGB data, when the image data 120a is data in the sRGB color space, it is necessary to convert the sRGB data into eRGB data.

画像データ120aがsRGB色空間のデータである場合、その一部の値域(図5のRa1a1a1〜Rananan)内のデータで画像データを構成すれば、LUT12dによる変換においてマッピングに起因する色の補正を受けない。従って、sRGBデータが示す色を忠実に再現することができる。また、画像データ120aがsRGB色空間の全域に渡るデータ(図5のRa1a1a1〜Rsnsnsn)である場合、LUT12dによる変換において一部(図5のRs1s1s1〜Rsnsnsn)のデータが色域圧縮の影響を受ける。 When the image data 120a is data in the sRGB color space, if the image data is composed of data in a partial range (R a1 G a1 B a1 to R an G an B an in FIG. 5), conversion by the LUT 12d is performed. The color correction caused by the mapping is not received. Therefore, the color indicated by the sRGB data can be faithfully reproduced. Further, when the image data 120a is data covering the entire sRGB color space (R a1 G a1 B a1 to R sn G sn B sn in FIG. 5), part of the conversion by the LUT 12d (R s1 G s1 in FIG. 5). B s1 to R sn G sn B sn ) are affected by color gamut compression.

従って、sRGBデータの全データについて忠実に色を再現することはできないが、sRGB色空間の色域内であってプリンタの色域外に相当する色は一般に少ない。また、元来プリンタの色域外に位置する色はプリンタ20にて印刷すること自体不可能である。そこで、sRGB色空間の色域内であってプリンタの色域外に相当する色が色域圧縮の影響を受けたとしても、その影響は軽微であると考えることもでき、sRGB色空間内の一部の色については忠実な色再現が可能であると考えることができる。   Therefore, colors cannot be reproduced faithfully for all the sRGB data, but there are generally few colors that fall within the color gamut of the sRGB color space and outside the printer color gamut. Further, it is impossible for the printer 20 to print a color originally located outside the color gamut of the printer. Therefore, even if a color that falls within the color gamut of the sRGB color space and is outside the printer's color gamut is affected by the color gamut compression, it can be considered that the effect is minor, and a part of the color within the sRGB color space. It can be considered that faithful color reproduction is possible for these colors.

むろん、sRGB色空間のデータによって画像データ120aを構成した場合に、sRGB色空間の色域外の色を利用して印刷を実行したい場合もあり得る。このような場合は、色補正部210b2による補正を実施すればよい。例えば、図8の破線に示すようにsRGBデータをeRGBデータに変換した後に、sRGB色域外の色を示すeRGBデータを利用するように色補正部210b2による変換を実施する。この結果得られたeRGBデータをLUT12dにて変換し、印刷を実行すれば、sRGB色空間の色域外の色を利用して豊かな色再現を実施した画像を印刷することができる。   Of course, when the image data 120a is composed of data in the sRGB color space, it may be desired to execute printing using a color outside the color gamut of the sRGB color space. In such a case, correction by the color correction unit 210b2 may be performed. For example, after the sRGB data is converted into eRGB data as shown by the broken line in FIG. 8, the color correction unit 210b2 performs conversion so as to use eRGB data indicating a color outside the sRGB color gamut. If the eRGB data obtained as a result is converted by the LUT 12d and printing is performed, an image in which rich color reproduction is performed using a color outside the color gamut of the sRGB color space can be printed.

一方、色空間がeRGB色空間に設定されたデータによって画像データ120aを作成し、LUT12dにて色変換して印刷を実行することも可能である。この場合、eRGB色空間の色域内の色であって、プリンタの色域内に彩度を拡張し得る色について、彩度が高くなるように補正されて印刷がなされる。従って、eRGB色空間の色域外の色を利用して豊かな色再現を実施した画像を印刷することができる。むろん、eRGB色空間であるとして設定されたRGBデータにおいて色補正部210b2による補正を実施して印刷を行っても良いし、eRGB色空間の一部に限定した画像データ120aによってeRGBデータが示す色を忠実に再現する印刷を行うこともできる。   On the other hand, it is also possible to create image data 120a from data in which the color space is set to the eRGB color space, perform color conversion with the LUT 12d, and execute printing. In this case, a color that is in the color gamut of the eRGB color space and that can expand the saturation within the color gamut of the printer is corrected and printed so that the saturation is high. Therefore, it is possible to print an image in which rich color reproduction is performed using a color outside the color gamut of the eRGB color space. Of course, the RGB data set as being in the eRGB color space may be printed with correction by the color correction unit 210b2, or the color indicated by the eRGB data by the image data 120a limited to a part of the eRGB color space. It is also possible to perform printing that faithfully reproduces.

(4)他の実施形態:
以上説明した実施形態は一例であり、印刷の目的、使用する色空間等が異なる場合であっても共通の色変換プロファイルによって印刷が実施できる限りにおいて、種々の構成を採用可能である。例えば、上記実施形態ではRGBデータの色空間がsRGB色空間とeRGB色空間との2つであったが、3以上の色空間を採用しても良い。
(4) Other embodiments:
The embodiment described above is an example, and various configurations can be adopted as long as printing can be performed with a common color conversion profile even when the purpose of printing, the color space to be used, and the like are different. For example, in the above embodiment, the RGB data has two color spaces, the sRGB color space and the eRGB color space, but three or more color spaces may be adopted.

すなわち、3以上の色空間の色域が重複する領域でマッピングを行わないようにすればこの領域内の色を忠実に再現することができ、この領域以外の色を適宜プリンタの色域内にマッピングすれば、プリンタの色域を十分に利用した豊かな色再現が可能である。また、このような複数の色空間を利用した各RGBデータに基づく画像を一つのLUTによって印刷することができ、リソースを抑えることができる。   That is, if mapping is not performed in an area where the color gamuts of three or more color spaces overlap, colors in this area can be faithfully reproduced, and colors other than this area are appropriately mapped in the printer color gamut. If this is done, rich color reproduction using the color gamut of the printer is possible. Moreover, an image based on each RGB data using such a plurality of color spaces can be printed by one LUT, and resources can be reduced.

さらに、上記実施形態のLUTにおいては、RGBデータとCMYKlclmデータとを対応づけていたが、機器非依存色空間のデータとRGBデータあるいはCMYKlclmデータとを対応づけるプロファイルにおいて本発明を適用しても良い。さらに、上記実施形態では色変換プロファイルを作成するコンピュータ10と印刷制御処理を実施するコンピュータ110とが別体のコンピュータであったが、むろん、同じコンピュータによって色変換プロファイルの作成と印刷制御処理を実施しても良く、種々の構成を採用可能である。   Furthermore, in the LUT of the above embodiment, RGB data and CMYKlclm data are associated with each other. However, the present invention may be applied to a profile that associates device-independent color space data with RGB data or CMYKlclm data. . Furthermore, in the above embodiment, the computer 10 that creates the color conversion profile and the computer 110 that executes the print control process are separate computers. Of course, the color conversion profile is created and the print control process is performed by the same computer. Alternatively, various configurations can be employed.

色変換テーブル作成方法の工程を概略的に説明する説明図である。It is explanatory drawing which illustrates schematically the process of the color conversion table preparation method. LUTを作成するためのコンピュータのブロック図である。It is a block diagram of a computer for creating an LUT. LUTを作成するための処理を示すフローチャートである。It is a flowchart which shows the process for producing LUT. マッピング実施条件の例を説明する説明図である。It is explanatory drawing explaining the example of mapping implementation conditions. LUTの構成を説明する説明図である。It is explanatory drawing explaining the structure of LUT. 印刷を実行するコンピュータのブロック図である。It is a block diagram of the computer which performs printing. 印刷制御処理のフローチャートである。It is a flowchart of a printing control process. 実施形態における印刷の概略説明図である。It is a schematic explanatory drawing of the printing in embodiment.

符号の説明Explanation of symbols

10…コンピュータ、11…色変換プロファイル作成プログラム、11a…ハーフトーン処理部、11b…印刷データ生成/出力部、11c…sRGBデータ変換部、11d…eRGBデータ変換部、11e…色域境界判別部、11f…マッピング処理部、11g…LUT作成部、12a…パッチデータ、12b…sRGBデータ、12c…eRGBデータ、12d…LUT、20…プリンタ、30…測色機、120a…画像データ、120b…変換マトリクス、210a…画像データ取得部、210b…色変換部、210b1…色空間変換部、210b2…色補正部、210c…ハーフトーン処理部、210d…印刷データ生成部


DESCRIPTION OF SYMBOLS 10 ... Computer, 11 ... Color conversion profile creation program, 11a ... Halftone processing part, 11b ... Print data generation / output part, 11c ... sRGB data conversion part, 11d ... eRGB data conversion part, 11e ... Color gamut boundary discrimination part, 11f ... Mapping processing unit, 11g ... LUT creation unit, 12a ... Patch data, 12b ... sRGB data, 12c ... eRGB data, 12d ... LUT, 20 ... Printer, 30 ... Colorimeter, 120a ... Image data, 120b ... Conversion matrix , 210a ... Image data acquisition unit, 210b ... Color conversion unit, 210b1 ... Color space conversion unit, 210b2 ... Color correction unit, 210c ... Halftone processing unit, 210d ... Print data generation unit


Claims (11)

第1色空間のデータと第2色空間のデータとの対応関係を規定した色変換プロファイルであって、上記第1色空間のデータによる色域が第3色空間のデータによる色域より広くなるように定義された色変換プロファイルを取得する色変換プロファイル取得手段と、
上記第3色空間のデータで画像に含まれる複数の画素毎の色を表現した入力画像データを取得する入力画像データ取得手段と、
同入力画像データを第1色空間のデータに変換し、上記色変換プロファイルを参照して当該変換後の第1色空間のデータを変換し、上記第2色空間のデータで上記画素毎の色を表現した出力画像データを取得する色変換手段と、
同出力画像データに基づいて印刷装置に印刷を実行させる印刷実行手段とを具備することを特徴とする印刷制御装置。
A color conversion profile that defines a correspondence relationship between data in the first color space and data in the second color space, and a color gamut based on the data in the first color space is wider than a color gamut based on the data in the third color space. Color conversion profile acquisition means for acquiring a color conversion profile defined as follows:
Input image data acquisition means for acquiring input image data expressing colors for a plurality of pixels included in the image with the data of the third color space;
The input image data is converted into data of the first color space, the converted data of the first color space is converted with reference to the color conversion profile, and the color of each pixel is converted using the data of the second color space. Color conversion means for obtaining output image data expressing
A printing control apparatus comprising: a printing execution unit that causes a printing apparatus to execute printing based on the output image data.
上記色変換手段は、上記第3色空間のデータを第1色空間のデータに変換する所定の変換式に基づいて上記入力画像データを第1色空間のデータに変換することを特徴とする上記請求項1に記載の印刷制御装置。 The color conversion means converts the input image data into data of the first color space based on a predetermined conversion formula for converting the data of the third color space into data of the first color space. The print control apparatus according to claim 1. 上記色変換プロファイルにおいて、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色は変換前後で色が略一致するように上記第1色空間のデータと第2色空間のデータとの対応関係を規定していることを特徴とする上記請求項1または請求項2のいずれかに記載の印刷制御装置。 In the color conversion profile, the second color space data and the second color space data and the third color space data in the color gamut are substantially the same color before and after conversion as the second color space data and the second color space data. 3. The print control apparatus according to claim 1, wherein a correspondence relationship with data in a color space is defined. 上記色変換プロファイルにおいて、上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色は上記第2色空間のデータによる色域内にマッピングして上記第1色空間のデータと第2色空間のデータとの対応関係を規定していることを特徴とする上記請求項1〜請求項3のいずれかに記載の印刷制御装置。 In the color conversion profile, colors outside the color gamut according to the data in the first color space and outside the color gamut according to the data in the third color space are mapped into the color gamut according to the data in the second color space, and 4. The print control apparatus according to claim 1, wherein a correspondence relationship between the data and the data in the second color space is defined. 第1色空間のデータと第2色空間のデータとの対応関係を規定する色変換プロファイルを作成する色変換プロファイル作成装置であって、
上記第1色空間の複数のデータと上記第2色空間の複数のデータと上記第1色空間のデータによる色域より狭い色域になるように定義された第3色空間の複数のデータとで出力される色を示す機器非依存色空間のデータを取得する機器非依存色空間データ取得手段と、
同取得した機器非依存色空間のデータから第1色空間のデータと第2色空間のデータと第3色空間のデータとにおける色域の境界を判別する色域境界判別手段と、
同判別された色域の境界を参照し、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色は変換前後で色が略一致するように上記第1色空間のデータと第2色空間のデータとの対応関係を規定し、上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色は上記第2色空間のデータによる色域内にマッピングして上記第1色空間のデータと第2色空間のデータとの対応関係を規定する色域マッピング手段とを具備することを特徴とする色変換プロファイル作成装置。
A color conversion profile creation device that creates a color conversion profile that defines a correspondence relationship between data in a first color space and data in a second color space,
A plurality of data in the first color space, a plurality of data in the second color space, and a plurality of data in the third color space defined so as to have a color gamut narrower than the color gamut by the data in the first color space; Device-independent color space data acquisition means for acquiring device-independent color space data indicating colors output in
Color gamut boundary determining means for determining a color gamut boundary among the data of the first color space, the data of the second color space, and the data of the third color space from the acquired device-independent color space data;
Referring to the boundary of the determined color gamut, the first color is set so that colors in the color gamut based on the data in the second color space and in the color gamut based on the data in the third color space substantially match before and after conversion. The correspondence relationship between the data in the space and the data in the second color space is defined, and the color in the color gamut based on the data in the first color space and the color outside the color gamut based on the data in the third color space depends on the data in the second color space. A color conversion profile creating apparatus comprising color gamut mapping means for mapping within a color gamut and defining a correspondence relationship between the data in the first color space and the data in the second color space.
第1色空間のデータと第2色空間のデータとの対応関係を規定する色変換プロファイルであって、
上記第1色空間の複数のデータと上記第2色空間の複数のデータと上記第1色空間のデータによる色域より狭い色域になるように定義された第3色空間の複数のデータとで出力される色を示す機器非依存色空間のデータを取得し、同取得した機器非依存色空間のデータから第1色空間のデータと第2色空間のデータと第3色空間のデータとにおける色域の境界を判別し、同判別された色域の境界を参照して、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色は変換前後で色が略一致するように上記第1色空間のデータと第2色空間のデータとの対応関係を規定し、上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色は上記第2色空間のデータによる色域内にマッピングして上記第1色空間のデータと第2色空間のデータとの対応関係を規定することによって作成されることを特徴とする色変換プロファイル。
A color conversion profile that defines a correspondence relationship between data in a first color space and data in a second color space,
A plurality of data in the first color space, a plurality of data in the second color space, and a plurality of data in the third color space defined so as to have a color gamut narrower than the color gamut by the data in the first color space; The device-independent color space data indicating the color output in step S1 is acquired, and the first color space data, the second color space data, and the third color space data are obtained from the acquired device-independent color space data. The color gamut boundaries in the color gamut in the color gamut of the second color space and the data in the color gamut of the third color space before and after the conversion are referred to. The correspondence relationship between the data in the first color space and the data in the second color space is defined so that they substantially coincide with each other, and within the color gamut by the data in the first color space and outside the color gamut by the data in the third color space The color is mapped in the color gamut based on the data in the second color space. Serial color conversion profile, characterized in that is created by the data of the first color space defining the correspondence between the data of the second color space.
第1色空間のデータと第2色空間のデータとの対応関係を規定する色変換プロファイルであって、
上記第1色空間のデータによる色域は第3色空間の複数のデータによる色域より広く、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色は変換前後で色が略一致するように上記第1色空間のデータと第2色空間のデータとの対応関係が規定され、上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色は上記第2色空間のデータによる色域内の色に変換するように上記第1色空間のデータと第2色空間のデータとの対応関係が規定されていることを特徴とする色変換プロファイル。
A color conversion profile that defines a correspondence relationship between data in a first color space and data in a second color space,
The color gamut based on the data in the first color space is wider than the color gamut based on the plurality of data in the third color space, and the colors in the color gamut based on the data in the second color space and in the color gamut based on the data in the third color space are converted. The correspondence relationship between the data in the first color space and the data in the second color space is defined so that the colors substantially match before and after, and the data is in the color gamut by the data in the first color space and by the data in the third color space. The correspondence relationship between the data in the first color space and the data in the second color space is defined so that the color outside the color gamut is converted into a color in the color gamut based on the data in the second color space. Color conversion profile.
第1色空間のデータと第2色空間のデータとの対応関係を規定した色変換プロファイルであって、上記第1色空間のデータによる色域が第3色空間のデータによる色域より広くなるように定義された色変換プロファイルを取得する色変換プロファイル取得工程と、
上記第3色空間のデータで画像に含まれる複数の画素毎の色を表現した入力画像データを取得する入力画像データ取得工程と、
同入力画像データを第1色空間のデータに変換し、上記色変換プロファイルを参照して当該変換後の第1色空間のデータを変換し、上記第2色空間のデータで上記画素毎の色を表現した出力画像データを取得する色変換工程と、
同出力画像データに基づいて印刷装置に印刷を実行させる印刷実行工程とを具備することを特徴とする印刷制御方法。
A color conversion profile that defines a correspondence relationship between data in the first color space and data in the second color space, and a color gamut based on the data in the first color space is wider than a color gamut based on the data in the third color space. A color conversion profile acquisition step for acquiring a color conversion profile defined as follows:
An input image data acquisition step of acquiring input image data representing colors of a plurality of pixels included in the image with the data of the third color space;
The input image data is converted into data of the first color space, the converted data of the first color space is converted with reference to the color conversion profile, and the color of each pixel is converted using the data of the second color space. A color conversion process for obtaining output image data expressing
A printing control method comprising: a printing execution step for causing a printing apparatus to execute printing based on the output image data.
第1色空間のデータと第2色空間のデータとの対応関係を規定する色変換プロファイルを作成する色変換プロファイル作成方法であって、
上記第1色空間の複数のデータと上記第2色空間の複数のデータと上記第1色空間のデータによる色域より狭い色域になるように定義された第3色空間の複数のデータとで出力される色を示す機器非依存色空間のデータを取得する機器非依存色空間データ取得工程と、
同取得した機器非依存色空間のデータから第1色空間のデータと第2色空間のデータと第3色空間のデータとにおける色域の境界を判別する色域境界判別工程と、
同判別された色域の境界を参照し、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色は変換前後で色が略一致するように上記第1色空間のデータと第2色空間のデータとの対応関係を規定し、上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色は上記第2色空間のデータによる色域内にマッピングして上記第1色空間のデータと第2色空間のデータとの対応関係を規定する色域マッピング工程とを具備することを特徴とする色変換プロファイル作成方法。
A color conversion profile creation method for creating a color conversion profile that defines a correspondence relationship between data in a first color space and data in a second color space,
A plurality of data in the first color space, a plurality of data in the second color space, and a plurality of data in the third color space defined so as to have a color gamut narrower than the color gamut by the data in the first color space; A device-independent color space data acquisition process for acquiring device-independent color space data indicating the color output in
A gamut boundary determining step of determining a gamut boundary in the first color space data, the second color space data, and the third color space data from the acquired device-independent color space data;
Referring to the boundary of the determined color gamut, the first color is set so that colors in the color gamut based on the data in the second color space and in the color gamut based on the data in the third color space substantially match before and after conversion. The correspondence relationship between the data in the space and the data in the second color space is defined, and the color within the color gamut according to the data in the first color space and the color outside the color gamut according to the data in the third color space depends on the data in the second color space A color conversion profile creation method comprising: a color gamut mapping step for mapping within a color gamut and defining a correspondence relationship between the data in the first color space and the data in the second color space.
第1色空間のデータと第2色空間のデータとの対応関係を規定した色変換プロファイルであって、上記第1色空間のデータによる色域が第3色空間のデータによる色域より広くなるように定義された色変換プロファイルを取得する色変換プロファイル取得機能と、
上記第3色空間のデータで画像に含まれる複数の画素毎の色を表現した入力画像データを取得する入力画像データ取得機能と、
同入力画像データを第1色空間のデータに変換し、上記色変換プロファイルを参照して当該変換後の第1色空間のデータを変換し、上記第2色空間のデータで上記画素毎の色を表現した出力画像データを取得する色変換機能と、
同出力画像データに基づいて印刷装置に印刷を実行させる印刷実行機能とをコンピュータに実現させることを特徴とする印刷制御プログラム。
A color conversion profile that defines a correspondence relationship between data in the first color space and data in the second color space, and a color gamut based on the data in the first color space is wider than a color gamut based on the data in the third color space. A color conversion profile acquisition function for acquiring a color conversion profile defined as
An input image data acquisition function for acquiring input image data expressing colors of a plurality of pixels included in the image with the data of the third color space;
The input image data is converted into data of the first color space, the converted data of the first color space is converted with reference to the color conversion profile, and the color of each pixel is converted using the data of the second color space. Color conversion function to obtain output image data expressing
A print control program for causing a computer to realize a print execution function for causing a printing apparatus to execute printing based on the output image data.
第1色空間のデータと第2色空間のデータとの対応関係を規定する色変換プロファイルを作成する色変換プロファイル作成プログラムであって、
上記第1色空間の複数のデータと上記第2色空間の複数のデータと上記第1色空間のデータによる色域より狭い色域になるように定義された第3色空間の複数のデータとで出力される色を示す機器非依存色空間のデータを取得する機器非依存色空間データ取得機能と、
同取得した機器非依存色空間のデータから第1色空間のデータと第2色空間のデータと第3色空間のデータとにおける色域の境界を判別する色域境界判別機能と、
同判別された色域の境界を参照し、上記第2色空間のデータによる色域内かつ上記第3色空間のデータによる色域内の色は変換前後で色が略一致するように上記第1色空間のデータと第2色空間のデータとの対応関係を規定し、上記第1色空間のデータによる色域内かつ上記第3色空間のデータによる色域外の色は上記第2色空間のデータによる色域内にマッピングして上記第1色空間のデータと第2色空間のデータとの対応関係を規定する色域マッピング機能とをコンピュータに実現させることを特徴とする色変換プロファイル作成プログラム。

A color conversion profile creation program for creating a color conversion profile that defines a correspondence relationship between data in a first color space and data in a second color space,
A plurality of data in the first color space, a plurality of data in the second color space, and a plurality of data in the third color space defined so as to have a color gamut narrower than the color gamut by the data in the first color space; A device-independent color space data acquisition function for acquiring device-independent color space data indicating colors output in
A color gamut boundary determining function for determining a color gamut boundary in the first color space data, the second color space data, and the third color space data from the acquired device-independent color space data;
Referring to the boundary of the determined color gamut, the first color is set so that colors in the color gamut based on the data in the second color space and in the color gamut based on the data in the third color space substantially match before and after conversion. The correspondence relationship between the data in the space and the data in the second color space is defined, and the color in the color gamut based on the data in the first color space and the color outside the color gamut based on the data in the third color space depends on the data in the second color space. A color conversion profile creation program for causing a computer to realize a color gamut mapping function for mapping within a color gamut and defining a correspondence relationship between the data in the first color space and the data in the second color space.

JP2004095253A 2004-03-29 2004-03-29 Printing control utilizing color transformation profile corresponding to color reproduction of multiple sorts Pending JP2005284521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004095253A JP2005284521A (en) 2004-03-29 2004-03-29 Printing control utilizing color transformation profile corresponding to color reproduction of multiple sorts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004095253A JP2005284521A (en) 2004-03-29 2004-03-29 Printing control utilizing color transformation profile corresponding to color reproduction of multiple sorts

Publications (1)

Publication Number Publication Date
JP2005284521A true JP2005284521A (en) 2005-10-13

Family

ID=35182854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004095253A Pending JP2005284521A (en) 2004-03-29 2004-03-29 Printing control utilizing color transformation profile corresponding to color reproduction of multiple sorts

Country Status (1)

Country Link
JP (1) JP2005284521A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009093294A1 (en) * 2008-01-24 2009-07-30 Panasonic Corporation Image signal processing device and image signal processing program
WO2009113306A1 (en) * 2008-03-11 2009-09-17 パナソニック株式会社 Color conversion output device, color conversion table and method for creating same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009093294A1 (en) * 2008-01-24 2009-07-30 Panasonic Corporation Image signal processing device and image signal processing program
WO2009113306A1 (en) * 2008-03-11 2009-09-17 パナソニック株式会社 Color conversion output device, color conversion table and method for creating same
US8542246B2 (en) 2008-03-11 2013-09-24 Panasonic Corporation Color conversion device, color conversion table and color conversion method

Similar Documents

Publication Publication Date Title
JP4223708B2 (en) Medium recording color conversion program, color conversion program, color conversion table creation method, color conversion device, and color conversion method
US7251058B2 (en) Method for generating customized ink/media transforms
US7206100B2 (en) Image processing method and apparatus
JP5713727B2 (en) Profile creation method, profile creation apparatus, image processing apparatus and program for performing color conversion by profile
US7463386B2 (en) Color processing device and its method
US7760398B2 (en) Color conversion table generation method and color conversion table generation device
US9025223B2 (en) Image processing apparatus, image processing method, and storage medium for color matching
JP4623630B2 (en) Image processing apparatus, image processing method, program, image forming apparatus, and image forming system
US20050280716A1 (en) Image recording apparatus, image recording method, image processing apparatus, image processing method and image processing system
US7312891B2 (en) Image processing method and apparatus
JP2009239419A (en) Profile preparation method, profile preparation apparatus, profile preparation program and printing device
US20050179919A1 (en) Image processing method, image processing apparatus, storage medium and computer program
US8773723B2 (en) Generating color separation table for printer having color forming materials with high and low relative densities using a gamut boundary to limit use of dark color material
JP2005318491A (en) Color conversion processing for image data
US7679783B2 (en) System and method for extracting grayscale data within a prescribed tolerance
JP4205839B2 (en) Color conversion method and color conversion apparatus
JP2002118763A (en) Color image output method and color image output device
JP4533277B2 (en) Image processing apparatus, image processing method, and table creation method
JP2005284521A (en) Printing control utilizing color transformation profile corresponding to color reproduction of multiple sorts
JP2007228153A (en) Device, method, and program for color conversion
JP4921339B2 (en) Color processing apparatus and method
JP2009004917A (en) Color processing device and its method
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JP2007221702A (en) Color conversion device, color conversion method and color conversion program
JP2016178401A (en) Image processing apparatus, image processing method and program