JP2002185804A - Color converter and color conversion method, parameter generator for color conversion and its method, image processing system and recording medium - Google Patents

Color converter and color conversion method, parameter generator for color conversion and its method, image processing system and recording medium

Info

Publication number
JP2002185804A
JP2002185804A JP2000375768A JP2000375768A JP2002185804A JP 2002185804 A JP2002185804 A JP 2002185804A JP 2000375768 A JP2000375768 A JP 2000375768A JP 2000375768 A JP2000375768 A JP 2000375768A JP 2002185804 A JP2002185804 A JP 2002185804A
Authority
JP
Japan
Prior art keywords
color
data
partial
range
space
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
JP2000375768A
Other languages
Japanese (ja)
Inventor
Toshio Shirasawa
寿夫 白沢
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000375768A priority Critical patent/JP2002185804A/en
Publication of JP2002185804A publication Critical patent/JP2002185804A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a color converter that can attain highly accurate color conversion without making the scale of hardware increase, even when receiving a color signal where only part of color spaces is substantially utilized. SOLUTION: The color converter is provided with a look-up table storage means 304, that stores interpolation arithmetic operation parameters, a partial color space information storage means 303 that stores range data in a partial color space, a color data generating means 301 for interpolation arithmetic operation that reads the range data of the partial color space from the partial color space information storage means 303 and that maps input color data onto the partial color space to generate the color data for interpolation arithmetic operation, and an interpolation arithmetic means 302, that reads the interpolation arithmetic operation parameter from the look-up table storage means 304, on the basis of interpolation arithmetic operation data and that applies an interpolation arithmetic operation to the interpolation arithmetic operation data for converting the data into color data for an image forming device.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、カラー画像信号を
入力して画像形成装置(例えば、カラーファクシミリ、
カラープリンタなど)用の色信号に色変換を行う色変換
装置および色変換方法および色変換用パラメータ生成装
置および色変換用パラメータ生成方法および画像処理シ
ステムおよび記録媒体に関する。
The present invention relates to an image forming apparatus (for example, a color facsimile,
The present invention relates to a color conversion device, a color conversion method, a color conversion parameter generation device, a color conversion parameter generation method, an image processing system, and a recording medium for performing color conversion on a color signal for a color printer.

【0002】[0002]

【従来の技術】従来、カラー印刷、カラーハードコピー
の分野で色変換を簡単,高速に行う手法として三次元ル
ックアップテーブル(以下、ルックアップテーブルと称
す)を用いたメモリマップ補間法が提案されている。な
お、ここで、ルックアップテーブルとは、入力色空間を
複数の単位補間立体群に分割し、入力色データが含まれ
る単位補間立体を選択し、選択した単位補間立体の複数
頂点(以下、格子点と称す)に対応する出力値をテーブ
ル化したものである。
2. Description of the Related Art Conventionally, a memory map interpolation method using a three-dimensional look-up table (hereinafter referred to as a look-up table) has been proposed as a technique for easily and rapidly performing color conversion in the fields of color printing and color hard copy. ing. Here, the look-up table means that an input color space is divided into a plurality of unit interpolation solid groups, a unit interpolation solid including input color data is selected, and a plurality of vertices (hereinafter referred to as a grid) of the selected unit interpolation solid are selected. The output values corresponding to (points) are tabulated.

【0003】図17はメモリマップ補間法を用いた従来
の色変換装置の構成例を示す図である。図17を参照す
ると、この色変換装置は、ルックアップテーブルを記憶
するルックアップテーブル記憶手段304と、ルックア
ップテーブル記憶手段304に記憶されているルックア
ップテーブルを用いて補間演算を行ない色変換を行なう
補間演算手段(メモリマップ補間演算手段)302とを
有している。
FIG. 17 is a diagram showing a configuration example of a conventional color conversion apparatus using a memory map interpolation method. Referring to FIG. 17, the color conversion apparatus performs a color conversion by performing an interpolation operation using a look-up table stored in a look-up table storage means 304 for storing a look-up table. And an interpolation operation means (memory map interpolation operation means) 302 for performing the operation.

【0004】図17の色変換装置では、補間演算手段3
02は、入力色空間を複数の単位補間立体群に分割し、
入力色データが含まれる単位補間立体を選択し、選択し
た単位補間立体の複数頂点(以下、格子点と称す)に対
応する出力値をルックアップテーブル記憶手段304か
ら読み出して線形補間演算を行うことにより、色空間全
域にわたって色変換を行なうようになっている。
In the color conversion apparatus shown in FIG.
02 divides the input color space into a plurality of unit interpolation solid groups,
Selecting a unit interpolation solid including the input color data, reading output values corresponding to a plurality of vertices (hereinafter referred to as lattice points) of the selected unit interpolation solid from the lookup table storage means 304, and performing a linear interpolation operation Thus, color conversion is performed over the entire color space.

【0005】[0005]

【発明が解決しようとする課題】コンピュータ上の文書
データをプリンタなどの画像形成装置で出力する場合に
は、RGB色信号を画像形成装置(例えばプリンタ)の
出力信号であるCMYKデータ、あるいは、CMYデー
タ、あるいは、Kデータ(モノクロ出力)などの色信号
に色変換して画像形成装置へ送信するのが一般的であ
る。代表的なRGB色信号としては、sRGB色信号が
知られており、特にコンピュータ内でRGB色信号を扱
う場合には、sRGB信号に変換して用いることが多
い。sRGB色信号は、XYZ三刺激値との関係が次式
(数1)のように定義されている。但し、数1におい
て、RO,GO,BOおよびR,G,Bは、それぞれ0
〜1の値に正規化された値である。
When document data on a computer is output by an image forming apparatus such as a printer, RGB color signals are converted to CMYK data or CMYK output signals of an image forming apparatus (for example, a printer). Generally, color conversion into color signals such as data or K data (monochrome output) is performed and transmitted to the image forming apparatus. As a typical RGB color signal, an sRGB color signal is known. In particular, when an RGB color signal is handled in a computer, it is often used after being converted into an sRGB signal. The relationship between the sRGB color signal and the XYZ tristimulus values is defined as in the following equation (Equation 1). However, in Equation 1, RO, GO, BO and R, G, B are each 0.
This is a value normalized to a value of 11.

【0006】[0006]

【数1】 RO,GO,BO ≦ 0.00304 であるなら
ば、R,G,Bは R = 12.92 * RO G = 12.92 * GO B = 12.92 * BO であり、RO,GO,BO>0.00304であるなら
ば、R,G,Bは R = 1.055 * RO(1.0/2.4) − 0.0
55 G = 1.055 * GO(1.0/2.4) − 0.0
55 B = 1.055 * BO(1.0/2.4) − 0.0
55 である。
(Equation 1) If RO, GO, BO ≦ 0.00304, then R, G, B are R = 12.92 * ROG = 12.92 * GOB = 12.92 * BO, and RO, GO, BO> If it is 0.00304, then R, G, and B are R = 1.055 * RO (1.0 / 2.4) -0.0
55 G = 1.055 * GO (1.0 / 2.4) -0.0
55B = 1.055 * BO (1.0 / 2.4) -0.0
55.

【0007】しかしながら、上記のようなRGB色信号
は、一般にディスプレイに基づいてその色特性が定義さ
れている場合が多く、従って、その色再現範囲が限られ
ており、色変換の場合に不都合が生じていた。
However, the RGB color signals as described above generally have their color characteristics defined on the basis of the display in many cases. Therefore, the color reproduction range is limited, and there is an inconvenience in color conversion. Had occurred.

【0008】例えばスキャナで入力したような画像をコ
ンピュータに入力し、その入力画像をプリンタで出力す
る場合を考える。スキャナの入力対象となる原稿は、一
般に印画紙や印刷物である。このような反射原稿の色域
は、sRGB色空間をはみ出す部分がある。そのため、
スキャナ入力画像をコンピュータで扱いやすいsRGB
色信号に変換してしまうと、情報の欠落を生じてしま
う。そのため、プリンタに出力する際にも欠落した情報
を再現できなくなり、忠実に色再現することができなく
なってしまう。
For example, consider a case where an image as input by a scanner is input to a computer and the input image is output by a printer. The document to be input by the scanner is generally photographic paper or printed matter. The color gamut of such a reflection original has a portion protruding from the sRGB color space. for that reason,
SRGB for easily handling scanner input images on a computer
If converted to color signals, information will be lost. For this reason, the missing information cannot be reproduced even when outputting to a printer, and the color cannot be faithfully reproduced.

【0009】こうした問題に対処すべく、より広い色空
間を扱うことが可能な新しい色空間として、近年、sR
GB64色信号が提案されている。sRGB64色信号
は以下の特徴を有する。すなわち、第1に、R,G,B
各色が、16ビットで、ー4〜4までの広いレンジを有
している。また、第2に、色再現範囲が非常に広く、す
べての実在色を扱うことが可能である。
In order to deal with such a problem, a new color space that can handle a wider color space has recently been developed as sR.
GB64 color signals have been proposed. The sRGB 64 color signal has the following features. That is, first, R, G, B
Each color is 16 bits and has a wide range from -4 to 4. Second, the color reproduction range is very wide, and all real colors can be handled.

【0010】sRGB64色信号では、従来のRGB信
号よりも広い色再現範囲を扱えるため、前述したような
スキャナ入力信号をプリンタに出力する場合にも、RG
B変換時の情報欠落を生じることなく忠実な色再現を行
うことが可能となる。
The sRGB 64 color signal can handle a wider color reproduction range than the conventional RGB signal. Therefore, even when the above-described scanner input signal is output to the printer, the RGB color signal can be used.
It is possible to perform faithful color reproduction without causing information loss at the time of B conversion.

【0011】しかしながら、すべての色空間が表現でき
るように、Red,Green,Blueのレンジを広
げることにより、虚色(実在しない色)も色再現範囲に
含まれてしまう。そのため、このような入力色信号を、
図17に示したような従来の色変換装置によって単純に
メモリマップ補間法で入力色空間全体を色変換しようと
すると、実在しないような色域まで格子点を割り当てな
けれればならず補間効率が低下してしまい、ルックアッ
プテーブル記憶手段304に記憶されるルックアップテ
ーブルのデータサイズが非常に大きくなってしまう。
However, by expanding the range of Red, Green, and Blue so that all color spaces can be expressed, imaginary colors (colors that do not exist) are also included in the color reproduction range. Therefore, such an input color signal is
If a conventional color conversion device as shown in FIG. 17 attempts to perform color conversion on the entire input color space simply by a memory map interpolation method, grid points must be assigned to a color gamut that does not exist, and interpolation efficiency is reduced. As a result, the data size of the lookup table stored in the lookup table storage unit 304 becomes very large.

【0012】例えば、一般のRGB信号を入力とした時
のRGBからCMYKへの色変換で必要な分割数が16
であった場合、補間演算を行うために必要なルックアッ
プテーブルのサイズは、19,652(=4*17*1
7*17)バイトであるの対し、上記のsRGB64色
データに対するルックアップテーブルのデータサイズ
は、8,586,756(=4*129*129*12
9)バイト必要になる。
For example, when a general RGB signal is input, the number of divisions required for color conversion from RGB to CMYK is 16
, The size of the lookup table required for performing the interpolation operation is 19,652 (= 4 * 17 * 1).
7 * 17) bytes, whereas the data size of the lookup table for the sRGB 64 color data is 8,586,756 (= 4 * 129 * 129 * 12).
9) Bytes required.

【0013】さらに、入力色空間全体を分割した場合に
は、虚色に割り当てられた格子点に対応する出力値を求
めることが困難になる。そのため、図17の従来の色変
換装置では(すなわち、従来のメモリマップ補間法で
は)、sRGB64のような色信号を扱うことができな
かった。
Further, when the entire input color space is divided, it becomes difficult to obtain an output value corresponding to a lattice point assigned to an imaginary color. Therefore, the conventional color conversion device of FIG. 17 (that is, the conventional memory map interpolation method) cannot handle a color signal such as sRGB64.

【0014】本発明は、sRGB64色信号のように実
質的に一部の色空間しか利用されないような色信号が入
力されるような場合であっても(すなわち、sRGB6
4色データを画像形成装置の色データに変換する時のよ
うに、入力色データで表現できる色の一部の色域しか使
用されないような場合であっても)、ハードウェアを増
大させずに、高精度な色変換を行うことの可能な色変換
装置および色変換方法および色変換用パラメータ生成装
置および色変換用パラメータ生成方法および画像処理シ
ステムおよび記録媒体を提供することを目的としてい
る。
The present invention can be applied to a case where a color signal that uses only a part of the color space, such as the sRGB 64 color signal, is input (that is, sRGB6).
(Even in a case where only a part of the color gamut of colors that can be represented by input color data is used, such as when converting four-color data into color data of an image forming apparatus), the hardware is not increased. It is an object of the present invention to provide a color conversion device, a color conversion method, a color conversion parameter generation device, a color conversion parameter generation method, an image processing system, and a recording medium capable of performing high-precision color conversion.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、3つの色成分を持つ第1の
表色系で表される入力色データを第2の表色系で表され
る画像形成装置用の色データに変換する色変換装置にお
いて、第1の表色系が表現可能な色空間よりも狭い部分
色空間を単位立方体に分割した格子点上の入力色データ
に対応する出力色データを補間演算用パラメータとして
記憶するルックアップテーブル記憶手段と、部分色空間
の範囲データを記憶する部分色空間情報記憶手段と、部
分色空間情報記憶手段から部分色空間の範囲データを読
み取り、入力色データを部分色空間にマッピングして補
間演算用色データを生成する補間演算用色データ生成手
段と、補間演算用色データに基づいて前記ルックアップ
テーブル記憶手段から補間演算用パラメータを読み出
し、読み出した補間演算用パラメータを用いて補間演算
用色データに対して補間演算を行うことにより画像形成
装置用の色データに変換する補間演算手段とを備えてい
ることを特徴としている。
In order to achieve the above object, according to the present invention, input color data represented by a first color system having three color components is converted into a second color system. In a color conversion apparatus for converting color data into color data for an image forming apparatus represented by a system, an input color on a grid point obtained by dividing a partial color space smaller than a color space that can be expressed by a first color system into unit cubes. Lookup table storage means for storing output color data corresponding to data as interpolation calculation parameters, partial color space information storage means for storing range data of the partial color space, and partial color space information storage means An interpolation color data generating means for reading the range data and mapping the input color data to the partial color space to generate interpolation color data; and the look-up table storage means based on the interpolation color data. Interpolation calculation means for reading interpolation calculation parameters from the image processing apparatus and performing interpolation calculation on the interpolation calculation color data using the read interpolation calculation parameters to convert the interpolation calculation color data into color data for an image forming apparatus. It is characterized by.

【0016】また、請求項2記載の発明は、請求項1記
載の色変換装置において、前記補間演算用色データ生成
手段は、入力色データが部分色空間に含まれない場合に
入力色データを部分色空間の境界面上の色データに置き
換えるマッピング手段を有していることを特徴としてい
る。
According to a second aspect of the present invention, in the color conversion device of the first aspect, the interpolation color data generating means converts the input color data when the input color data is not included in the partial color space. It is characterized by having mapping means for replacing with color data on the boundary surface of the partial color space.

【0017】また、請求項3記載の発明は、請求項2記
載の色変換装置において、前記マッピング手段は、入力
色データが部分色空間の範囲をアンダーフローまたはオ
ーバーフローした場合に、入力色データを部分色空間の
境界面上にクリッピングすることによってマッピングす
るようになっていることを特徴としている。
According to a third aspect of the present invention, in the color conversion apparatus according to the second aspect, the mapping means converts the input color data when the input color data underflows or overflows the range of the partial color space. It is characterized in that mapping is performed by clipping on the boundary surface of the partial color space.

【0018】また、請求項4記載の発明は、請求項2記
載の色変換装置において、前記マッピング手段は、第1
の表色系が表現可能な色空間から部分色空間を除いた領
域を複数の四角錘台領域に分割し、入力色データが複数
の四角錘台領域に分割された色空間のいずれに含まれる
かを判定し、該判定結果に対応した線形変換手段によっ
て入力色データを部分色空間の境界面上の色データに変
換するようになっていることを特徴としている。
According to a fourth aspect of the present invention, in the color conversion apparatus according to the second aspect, the mapping means comprises a first conversion unit.
The area excluding the partial color space from the color space that can be expressed by the color system is divided into a plurality of truncated pyramid regions, and the input color data is included in any of the color spaces divided into the plurality of truncated pyramid regions. Is determined, and the input color data is converted into color data on the boundary surface of the partial color space by linear conversion means corresponding to the determination result.

【0019】また、請求項5記載の発明は、画像形成装
置の色再現範囲を覆うような色空間を部分色空間として
定義し、部分色空間の範囲外に位置する入力色データを
部分色空間へマッピングして補間演算用色データを生成
し、該補間演算用色データにメモリマップ補間演算を行
なって、画像形成装置用の色データに変換することを特
徴としている。
According to a fifth aspect of the present invention, a color space that covers the color reproduction range of the image forming apparatus is defined as a partial color space, and input color data located outside the range of the partial color space is defined as a partial color space. To generate color data for an interpolation operation, perform a memory map interpolation operation on the color data for an interpolation operation, and convert the color data to color data for an image forming apparatus.

【0020】また、請求項6記載の発明は、3つの色成
分を持つ第1の表色系で表される入力色データを第2の
表色系で表される画像形成装置用の色データに変換する
色変換方法において、第1の表色系が表現可能な色空間
よりも狭い部分色空間の範囲内に収まるように入力色デ
ータを変換して補間演算用色データを生成し、第1の表
色系が表現可能な色空間よりも狭い部分色空間を単位立
方体に分割した格子点上の入力色データに対応する出力
色データを補間演算用パラメータとして用いて、補間演
算用色データに対して補間演算を行うことにより、画像
形成装置用の色データに変換することを特徴としてい
る。
According to a sixth aspect of the present invention, there is provided color data for an image forming apparatus represented by a first color system having three color components and represented by a second color system. In the color conversion method, the input color data is converted so as to fall within the range of a partial color space narrower than the color space that can be expressed by the first color system, thereby generating interpolation calculation color data. Color data for interpolation calculation using output color data corresponding to input color data on grid points obtained by dividing a partial color space smaller than a color space that can be expressed by the color system 1 into unit cubes as interpolation calculation parameters By performing an interpolation operation on the color data for the image forming apparatus.

【0021】また、請求項7記載の発明は、請求項6記
載の色変換方法において、前記補間演算用色データは、
入力色データが部分色空間に含まれない場合には入力色
データを部分色空間の境界面上にマッピングして生成さ
れることを特徴としている。
According to a seventh aspect of the present invention, in the color conversion method according to the sixth aspect, the color data for the interpolation calculation is:
When the input color data is not included in the partial color space, the input color data is generated by mapping the input color data on the boundary surface of the partial color space.

【0022】また、請求項8記載の発明は、請求項7記
載の色変換方法において、前記補間演算用色データは、
入力色データが部分色空間の領域をアンダーフローまた
はオーバーフローした場合に、入力色データを部分色空
間の境界面上にクリッピングすることによってマッピン
グして生成されることを特徴としている。
According to an eighth aspect of the present invention, in the color conversion method of the seventh aspect, the color data for interpolation calculation is
When the input color data underflows or overflows the region of the partial color space, the input color data is generated by mapping by clipping the input color data onto the boundary surface of the partial color space.

【0023】また、請求項9記載の発明は、請求項7記
載の色変換方法において、前記補間演算用色データは、
第1の表色系が表現可能な色空間から部分色空間を除い
た領域を複数の四角錘台領域に分割し、入力色データが
複数の四角錘台領域に分割された色空間のいずれに含ま
れるかを判定し、該判定結果に対応した線形変換手段に
よって入力色データを部分色空間の境界面上の色データ
に変換することによって生成されることを特徴としてい
る。
According to a ninth aspect of the present invention, in the color conversion method of the seventh aspect, the color data for the interpolation operation is:
A region excluding the partial color space from the color space that can be expressed by the first color system is divided into a plurality of pyramid regions, and the input color data is divided into a plurality of pyramid regions. It is characterized by being determined by determining whether the input color data is included, and converting the input color data into color data on the boundary surface of the partial color space by linear conversion means corresponding to the determination result.

【0024】また、請求項10記載の発明は、第1の表
色系が表現可能な色空間よりも狭い部分色空間の範囲内
に収まるように入力色データを変換して補間演算用色デ
ータを生成し、第1の表色系が表現可能な色空間よりも
狭い部分色空間を単位立方体に分割した格子点上の入力
色データに対応する出力色データを補間演算用パラメー
タとして用いて、補間演算用色データに対して補間演算
を行うことにより、第1の表色系で表される入力色デー
タを第2の表色系で表される画像形成装置用の色データ
に変換する色変換処理に用いられるパラメータを生成す
る色変換用パラメータ生成装置であって、画像形成装置
の色範囲を第1の表色系上で求める色範囲算出手段と、
第1の表色系における画像形成装置の色範囲と所定の色
範囲とを比較する比較手段と、画像形成装置の色範囲の
うち前記所定の色範囲に含まれない色域が存在する場合
には、所定の色範囲を拡張して前記部分色空間の範囲を
算出する部分色空間算出手段と、該部分色空間の範囲を
単位立方体に分割した格子点上の入力色データに対応す
る出力色データを補間演算用パラメータとして生成する
補間演算用パラメータ生成手段とを有していることを特
徴としている。
According to a tenth aspect of the present invention, the input color data is converted so as to fall within a range of a partial color space narrower than a color space that can be expressed by the first color system, and the color data for interpolation calculation is converted. Is generated, and output color data corresponding to input color data on grid points obtained by dividing a partial color space smaller than a color space that can be expressed by the first color system into unit cubes is used as an interpolation calculation parameter, A color for converting input color data represented by a first color system into color data for an image forming apparatus represented by a second color system by performing an interpolation operation on the interpolation color data. A color conversion parameter generation device that generates a parameter used in a conversion process, wherein the color range calculation unit obtains a color range of the image forming apparatus on a first color system.
Comparing means for comparing the color range of the image forming apparatus with the predetermined color range in the first color system; and determining whether the color range of the image forming apparatus is not included in the predetermined color range. Means for calculating a range of the partial color space by expanding a predetermined color range, and an output color corresponding to input color data on a grid point obtained by dividing the range of the partial color space into unit cubes. Interpolating parameter generating means for generating data as an interpolating parameter.

【0025】また、請求項11記載の発明は、請求項1
0記載の色変換用パラメータ生成装置において、前記色
範囲算出手段は、画像形成装置の色範囲を第1の表色系
上で求める際に、第2の表色系で表される多数の画像形
成装置用色データ群を第1の表色系に対応する色データ
群に変換し、該変換された色データ群から第1の表色系
における最大値,最小値を色成分ごとに求めることを特
徴としている。
The invention according to claim 11 is the first invention.
0, in the color conversion parameter generation device, the color gamut calculation means, when obtaining the color gamut of the image forming apparatus on the first color system, a plurality of images represented by the second color system. Converting the color data group for the forming apparatus into a color data group corresponding to the first color system, and obtaining the maximum value and the minimum value in the first color system for each color component from the converted color data group; It is characterized by.

【0026】また、請求項12記載の発明は、請求項1
0記載の色変換用パラメータ生成装置において、前記部
分色空間算出手段は、部分色空間の軸ごとの最小値及び
最大値を2n(n=整数)の整数倍の値で定義して、部
分色空間の範囲を算出することを特徴としている。
The invention according to claim 12 is the first invention.
0, the partial color space calculation means defines a minimum value and a maximum value for each axis of the partial color space as integer multiples of 2 n (n = integer). It is characterized in that the range of the color space is calculated.

【0027】また、請求項13記載の発明は、請求項1
0記載の色変換用パラメータ生成装置において、前記部
分色空間算出手段は、算出した部分色空間の範囲を、請
求項1乃至請求項4のいずれか一項に記載の色変換装置
に、部分色空間の範囲データとして設定するようになっ
ていることを特徴としている。
The invention according to claim 13 is the first invention.
5. The parameter conversion device according to claim 1, wherein the partial color space calculation unit sets the range of the calculated partial color space to the partial color space according to claim 1. 6. It is characterized in that it is set as space range data.

【0028】また、請求項14記載の発明は、請求項1
0記載の色変換用パラメータ生成装置において、前記補
間演算用パラメータ生成手段は、生成した補間演算用パ
ラメータを、請求項1乃至請求項4のいずれか一項に記
載の色変換装置に、ルックアップテーブルとして設定す
るようになっていることを特徴としている。
The invention according to claim 14 is the first invention.
5. The color conversion parameter generation device according to claim 1, wherein the interpolation calculation parameter generation unit looks up the generated interpolation calculation parameter into the color conversion device according to claim 1. 6. It is characterized in that it is set as a table.

【0029】また、請求項15記載の発明は、請求項1
0記載の色変換用パラメータ生成装置において、前記補
間演算用パラメータ生成手段は、部分色空間算出手段に
よって算出された部分色空間の範囲について格子点を生
成する格子点生成手段と、格子点生成手段によって生成
された格子点に対応する出力色データを補間演算用パラ
メータとして算出する補間演算用パラメータ算出手段と
を有していることを特徴としている。
[0029] The invention according to claim 15 provides the invention according to claim 1.
0, the parameter calculation means for interpolation calculation includes grid point generation means for generating grid points for a range of the partial color space calculated by the partial color space calculation means, and grid point generation means. Interpolating parameter calculation means for calculating output color data corresponding to the lattice points generated by the above as parameters for the interpolating operation.

【0030】また、請求項16記載の発明は、請求項1
5記載の色変換用パラメータ生成装置において、前記格
子点生成手段は、部分色空間算出手段によって算出され
た部分色空間を単位立方体に分割した格子点に、少なく
ともホワイトポイント及びブラックポイントのいずれか
が含まれるように、格子点を生成するようになっている
ことを特徴としている。
[0030] Further, the invention according to claim 16 is based on claim 1.
5. The color conversion parameter generation device according to 5, wherein the grid point generation unit has at least one of a white point and a black point at a grid point obtained by dividing the partial color space calculated by the partial color space calculation unit into unit cubes. It is characterized in that lattice points are generated so as to be included.

【0031】また、請求項17記載の発明は、第1の表
色系が表現可能な色空間よりも狭い部分色空間の範囲内
に収まるように入力色データを変換して補間演算用色デ
ータを生成し、第1の表色系が表現可能な色空間よりも
狭い部分色空間を単位立方体に分割した格子点上の入力
色データに対応する出力色データを補間演算用パラメー
タとして用いて、補間演算用色データに対して補間演算
を行うことにより、第1の表色系で表される入力色デー
タを第2の表色系で表される画像形成装置用の色データ
に変換する色変換処理に用いられるパラメータを生成す
る色変換用パラメータ生成方法であって、画像形成装置
の色範囲を第1の表色系上で求め、第1の表色系におけ
る画像形成装置の色範囲と所定の色範囲とを比較し,所
定の色範囲に含まれない色域が存在する場合には、所定
の色範囲を拡大した色範囲を求め、拡張した色範囲を部
分色空間の範囲として生成し、また、該部分色空間の範
囲を単位立方体に分割した格子点上の入力色データに対
応する出力色データを補間演算用パラメータとして生成
することを特徴としている。
According to a seventeenth aspect of the present invention, the input color data is converted so as to fall within the range of a partial color space narrower than the color space that can be expressed by the first color system, and the color data for interpolation calculation is converted. Is generated, and output color data corresponding to input color data on grid points obtained by dividing a partial color space smaller than a color space that can be expressed by the first color system into unit cubes is used as an interpolation calculation parameter, A color for converting input color data represented by a first color system into color data for an image forming apparatus represented by a second color system by performing an interpolation operation on the interpolation color data. A color conversion parameter generation method for generating a parameter used in a conversion process, wherein a color range of an image forming apparatus is obtained on a first color system, and a color range of the image forming apparatus in the first color system is determined. Compare with specified color range and include in specified color range When there is no color gamut, a color range obtained by expanding a predetermined color range is obtained, the expanded color range is generated as a range of a partial color space, and the range of the partial color space is divided into unit cubes. It is characterized in that output color data corresponding to input color data on a grid point is generated as an interpolation calculation parameter.

【0032】また、請求項18記載の発明は、3つの色
成分を持つ第1の表色系で表される入力色データを第2
の表色系で表される画像形成装置用の色データに変換し
て画像形成装置に出力する画像処理システムにおいて、
3つの色成分を持つ第1の表色系で表される入力色デー
タを第2の表色系で表される画像形成装置用の色データ
に変換するのに、請求項1乃至請求項4のいずれか一項
に記載の色変換装置が用いられることを特徴としてい
る。
Further, according to the present invention, the input color data represented by the first color system having three color components is converted into the second color data.
An image processing system that converts color data for an image forming apparatus represented by a color system and outputs the color data to the image forming apparatus,
5. The method according to claim 1, wherein input color data represented by a first color system having three color components is converted into color data for an image forming apparatus represented by a second color system. The color conversion device according to any one of the above is used.

【0033】また、請求項19記載の発明は、3つの色
成分を持つ第1の表色系で表される入力色データを第2
の表色系で表される画像形成装置用の色データに変換し
て画像形成装置に出力する画像処理システムにおいて、
請求項10乃至請求項16のいずれか一項に記載の色変
換用パラメータ生成装置が用いられることを特徴として
いる。
According to a nineteenth aspect of the present invention, input color data represented by a first color system having three color components is converted into a second color data.
An image processing system that converts color data for an image forming apparatus represented by a color system and outputs the color data to the image forming apparatus,
A color conversion parameter generation device according to any one of claims 10 to 16 is used.

【0034】また、請求項20記載の発明は、3つの色
成分を持つ第1の表色系で表される入力色データを第2
の表色系で表される画像形成装置用の色データに変換す
る色変換処理において、第1の表色系が表現可能な色空
間よりも狭い部分色空間の範囲内に収まるように入力色
データを変換して補間演算用色データを生成し、第1の
表色系が表現可能な色空間よりも狭い部分色空間を単位
立方体に分割した格子点上の入力色データに対応する出
力色データを補間演算用パラメータとして用いて、補間
演算用色データに対して補間演算を行うことにより、画
像形成装置用の色データに変換する処理をコンピュータ
に実行させるプログラムを記録したコンピュータ読み取
り可能な記録媒体である。
According to a twentieth aspect of the present invention, the input color data represented by the first color system having three color components is converted to the second color data.
In the color conversion processing for converting into color data for an image forming apparatus represented by the color system, the input color is set so as to fall within the range of a partial color space narrower than the color space that can be expressed by the first color system. An output color corresponding to input color data on grid points obtained by converting data to generate color data for interpolation calculation and dividing a partial color space smaller than a color space that can be expressed by the first color system into unit cubes A computer-readable recording that records a program that causes a computer to perform a process of converting color data for an image forming apparatus by performing an interpolation operation on color data for an interpolation operation, using the data as parameters for the interpolation operation. Medium.

【0035】また、請求項21記載の発明は、第1の表
色系が表現可能な色空間よりも狭い部分色空間の範囲内
に収まるように入力色データを変換して補間演算用色デ
ータを生成し、第1の表色系が表現可能な色空間よりも
狭い部分色空間を単位立方体に分割した格子点上の入力
色データに対応する出力色データを補間演算用パラメー
タとして用いて、補間演算用色データに対して補間演算
を行うことにより、第1の表色系で表される入力色デー
タを第2の表色系で表される画像形成装置用の色データ
に変換する色変換処理に用いられるパラメータを生成す
る色変換用パラメータ生成処理であって、画像形成装置
の色範囲を第1の表色系上で求め、第1の表色系におけ
る画像形成装置の色範囲と所定の色範囲とを比較し,所
定の色範囲に含まれない色域が存在する場合には、所定
の色範囲を拡大した色範囲を求め、拡張した色範囲を部
分色空間の範囲として生成し、また、該部分色空間の範
囲を単位立方体に分割した格子点上の入力色データに対
応する出力色データを補間演算用パラメータとして生成
する処理をコンピュータに実行させるプログラムを記録
したコンピュータ読み取り可能な記録媒体である。
According to a twenty-first aspect of the present invention, the input color data is converted so as to fall within a range of a partial color space narrower than the color space in which the first color system can be expressed, and the color data for interpolation calculation is used. Is generated, and output color data corresponding to input color data on grid points obtained by dividing a partial color space smaller than a color space that can be expressed by the first color system into unit cubes is used as an interpolation calculation parameter, A color for converting input color data represented by a first color system into color data for an image forming apparatus represented by a second color system by performing an interpolation operation on the interpolation color data. A color conversion parameter generation process for generating parameters used in the conversion process, wherein a color range of the image forming apparatus is obtained on a first color system, and a color range of the image forming apparatus in the first color system is determined. Compare with specified color range and include in specified color range When there is no color gamut, a color range obtained by expanding a predetermined color range is obtained, the expanded color range is generated as a range of a partial color space, and the range of the partial color space is divided into unit cubes. This is a computer-readable recording medium on which a program for causing a computer to execute a process of generating output color data corresponding to input color data on a grid point as interpolation calculation parameters is recorded.

【0036】[0036]

【発明の実施の形態】以下、本発明の実施形態を図面に
基づいて説明する。図1は本発明に係る画像処理システ
ムの一例を示す図である。図1を参照すると、この画像
処理システムは、ディスプレイ100と、デジタルカメ
ラ(デジタルスチルカメラ)101と、スキャナ102
と、コンピュータ103と、画像形成装置104と、画
像処理装置200とを有している。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an example of an image processing system according to the present invention. Referring to FIG. 1, the image processing system includes a display 100, a digital camera (digital still camera) 101, and a scanner 102.
, A computer 103, an image forming apparatus 104, and an image processing apparatus 200.

【0037】ここで、コンピュータ103には、各種の
アプリケーションやプリンタドライバ等のソフトウエア
が実装可能となっている。また、デジタルカメラ10
1,スキャナ102は、処理される画像データを取り込
むための入力装置である。また、ディスプレイ100
は、画像データを表示するための表示装置であり、画像
形成装置104は、画像データをプリントアウトするた
めの出力装置である。なお、画像形成装置104として
は、カラープリンタやカラーコピー機やカラーファクシ
ミリ機などを用いることができる。
Here, software such as various applications and a printer driver can be mounted on the computer 103. In addition, the digital camera 10
1, a scanner 102 is an input device for capturing image data to be processed. The display 100
Is a display device for displaying image data, and the image forming device 104 is an output device for printing out the image data. Note that a color printer, a color copier, a color facsimile machine, or the like can be used as the image forming apparatus 104.

【0038】図2は、図1の画像処理システムにおける
コンピュータ103および画像処理装置200の構成例
を示す図である。図2を参照すると、コンピュータ10
3は、アプリケーションおよびプリンタドライバ等のソ
フトウエアを通して、画像処理装置200へ描画コマン
ドを送出する機能を有している。
FIG. 2 is a diagram showing a configuration example of the computer 103 and the image processing device 200 in the image processing system of FIG. Referring to FIG. 2, the computer 10
Reference numeral 3 has a function of transmitting a drawing command to the image processing apparatus 200 through software such as an application and a printer driver.

【0039】一方、画像処理装置200は、レンダリン
グ処理部201、バンドバッファ202、色変換処理部
(色変換装置)203、階調処理部204などで構成さ
れ、コンピュータ103から送られてきた描画コマンド
を画像形成装置104が処理可能なデータに変換する機
能を有している。なお、画像処理装置200には、デー
タ圧縮処理などの他の機能が含まれていても良い。
On the other hand, the image processing apparatus 200 includes a rendering processing unit 201, a band buffer 202, a color conversion processing unit (color conversion device) 203, a gradation processing unit 204, and the like. Is converted into data that can be processed by the image forming apparatus 104. Note that the image processing apparatus 200 may include other functions such as a data compression process.

【0040】次に、図1,図2の画像処理システムの動
作について説明する。最初に、コンピュータ103で描
画コマンドを生成するまでの動作について説明する。ま
ず、オペレータは、例えばスキャナ102などの画像入
力装置を用いてコンピュータ103内に画像データを取
りこむ。次に、オペレータは、コンピュータ103内に
実装されたアプリケーションなどを用いて、読み込んだ
画像データをディスプレイ上に表示しながら編集する。
そして、編集作業を終了すると、オペレータは、画像形
成装置104に出力するために、印刷を指示する。
Next, the operation of the image processing system shown in FIGS. 1 and 2 will be described. First, an operation until the computer 103 generates a drawing command will be described. First, the operator takes image data into the computer 103 using an image input device such as the scanner 102, for example. Next, the operator edits the read image data while displaying it on a display by using an application or the like installed in the computer 103.
When the editing operation is completed, the operator instructs printing to output the image to the image forming apparatus 104.

【0041】コンピュータ103は、アプリケーション
から印刷を指示する命令を受け取ると、アプリケーショ
ン内部の文書データをプリンタドライバへ送信する。プ
リンタドライバは、文書データを画像処理装置200が
受信可能な描画コマンドに変換した後、画像処理装置2
00へ送信する。
When the computer 103 receives a print instruction from the application, the computer 103 transmits document data in the application to the printer driver. After converting the document data into a drawing command that can be received by the image processing apparatus 200, the printer driver
Send to 00.

【0042】次に、画像処理装置200の動作について
説明する。画像処理装置200は、コンピュータ103
から描画コマンドを受け取ると、レンダリング処理部2
01で、コマンド形式のデータをラスター形式の画像デ
ータ(例えば、RGB画像データ)に変換してバンドバ
ッファ202へ格納する。色変換処理部(色変換装置)
203は、バンドバッファ202から読み出した画像デ
ータ(例えば、RGB画像データ)に対して色変換を行
ない、画像形成装置(出力装置)104に適した色デー
タ(例えば、CMYK)に変換して、階調処理部204
へ送信する。そして、階調処理部204は、ディザ処理
などを適用して、画像形成装置104が処理可能な階調
データに変換し、生成した階調データを画像形成装置
(出力装置)104へ送信する。これにより、画像形成
装置104では、印刷を行なうことができる。
Next, the operation of the image processing apparatus 200 will be described. The image processing apparatus 200 includes a computer 103
Rendering processing unit 2
In step 01, the command format data is converted into raster format image data (for example, RGB image data) and stored in the band buffer 202. Color conversion processing unit (color conversion device)
A color conversion unit 203 performs color conversion on the image data (for example, RGB image data) read from the band buffer 202, converts the image data into color data (for example, CMYK) suitable for the image forming apparatus (output apparatus) 104, Key processing unit 204
Send to Then, the gradation processing unit 204 applies dither processing or the like to convert the data into gradation data that can be processed by the image forming apparatus 104, and transmits the generated gradation data to the image forming apparatus (output apparatus) 104. As a result, the image forming apparatus 104 can perform printing.

【0043】なお、図1,図2の例では、画像処理装置
200は、コンピュータ103,画像形成装置104と
は別個のものとして設けられているが、コンピュータ1
03内に実装されても良いし、あるいは画像形成装置1
04内に実装されても良い。あるいは、画像形成装置1
04とは独立に設けられたプリンタ制御装置内(図示せ
ず)に実装されても良い。すなわち、画像処理装置20
0の一部の機能あるいは全ての機能をコンピュータ10
3あるいは画像形成装置104あるいはプリンタ制御装
置にもたせるようにしても良い。
In the examples shown in FIGS. 1 and 2, the image processing apparatus 200 is provided separately from the computer 103 and the image forming apparatus 104.
03 or the image forming apparatus 1
04 may be implemented. Alternatively, the image forming apparatus 1
It may be implemented in a printer control device (not shown) provided independently of the printer controller 04. That is, the image processing device 20
0 or some functions of the computer 10
3 or the image forming apparatus 104 or the printer control device.

【0044】また、本発明の画像処理装置200は、ソ
フトウエアで実現することも可能である。例えば、コン
ピュータ103内のプログラムとして存在するプリンタ
ドライバで、画像処理装置200の機能を実現すること
もできる。
The image processing apparatus 200 of the present invention can be realized by software. For example, the functions of the image processing apparatus 200 can be realized by a printer driver that exists as a program in the computer 103.

【0045】図2の構成例において、本発明は、特に、
色変換処理部(色変換装置)203の構成に特徴を有し
ているが、これを説明するのに先立ち、まず公知のメモ
リマップ補間演算について説明する。
In the configuration example of FIG. 2, the present invention
The feature of the configuration of the color conversion processing unit (color conversion device) 203 is that prior to describing this, a known memory map interpolation calculation will be described first.

【0046】三次元ルックアップテーブル(以下、ルッ
クアップテーブルと称す。)を用いたメモリマップ補間
法としては、4面体補間、三角柱補間、立方体補間など
の各種のメモリマップ補間法が提案されている。なお、
本発明では、後述の補間演算手段302において上記の
いずれの補間法を用いても良い。ここでは、例として三
角柱補間法によるメモリマップ補間法を説明する。
As a memory map interpolation method using a three-dimensional lookup table (hereinafter, referred to as a lookup table), various memory map interpolation methods such as tetrahedral interpolation, triangular prism interpolation, and cubic interpolation have been proposed. . In addition,
In the present invention, any of the above-described interpolation methods may be used in the interpolation calculation means 302 described later. Here, a memory map interpolation method using a triangular prism interpolation method will be described as an example.

【0047】三角柱補間法では、図3に示すように、入
力色空間X,Y,Z(R,G,B)を複数の単位三角柱
に分割する。そして、入力されたX,Y,Z座標におけ
る出力Pの値を求める場合、入力されたX,Y,Z座標
を含む単位三角柱を選択し、選択された単位三角柱の6
個の頂点(=格子点)の出力値に基づいて出力Pにおけ
る出力値を線形補間によって求める。
In the triangular prism interpolation method, as shown in FIG. 3, the input color space X, Y, Z (R, G, B) is divided into a plurality of unit triangular prisms. Then, when calculating the value of the output P at the input X, Y, Z coordinates, a unit triangular prism including the input X, Y, Z coordinates is selected, and the selected unit triangular prism 6 is selected.
The output value at the output P is obtained by linear interpolation based on the output values of the vertices (= lattice points).

【0048】ここで、色変換に適用する場合、X,Y,
Zは入力信号R(赤),G(緑),B(青)に相当し、
出力Pは、4色プリンタの場合、インクを制御するY
(イエロー),M(マゼンダ),C(シアン),Bk
(ブラック)信号などに相当する。また、上記の各格子
点の出力値は、補間演算用パラメータとして予め計算に
よって求められ、三次元ルックアップテーブル(ルック
アップテーブル)として構築されているものとする。
Here, when applied to color conversion, X, Y,
Z corresponds to the input signals R (red), G (green), B (blue),
The output P is Y for controlling the ink in the case of a four-color printer.
(Yellow), M (magenta), C (cyan), Bk
(Black) signal. It is also assumed that the output values of the respective grid points are obtained in advance by calculation as interpolation calculation parameters, and are constructed as a three-dimensional lookup table (lookup table).

【0049】上記三角柱補間法において、単位三角柱の
選択について説明する。この種の補間法では、図3に示
すように、入力色空間X,Y,Zの各座標を2のn乗個
に分割し(図3の例では、n=2としている)、入力色
空間X,Y,Zを2の3n乗個の立方体に分割する。い
ま、X,Y,Zのビット幅をfビットとして(例えば、
f=8ビットとして)、X,Y,Zを X=x+Δx,Y=y+Δy,Z=z+Δz と表し、fビット(例えば、8ビット)を上位のnビッ
ト(例えば、2ビット)と下位の(f−n)ビット(例
えば、6ビット)に分け、X,Y,Zの各上位のnビッ
トをx,y,zに、下位の(f−n)ビットをΔx,Δ
y,Δzに対応させると、X,Y,Zの各上位nビット
によって、2の3n乗個に分割された立方体の内の1つ
が選択されることになる。分割立方体は2つの三角柱に
分けられるが、下位(f−n)ビットは、選択された立
方体内での相対位置Δx,Δy,Δzを示すことにな
り、下位ビットΔx,Δyの大小関係によってどちらの
三角柱に属するかが判定できる。
The selection of the unit triangular prism in the triangular prism interpolation method will be described. In this type of interpolation method, as shown in FIG. 3, each coordinate of the input color space X, Y, Z is divided into 2 n pieces (in the example of FIG. 3, n = 2), The space X, Y, Z is divided into 2 3n cubes. Now, let the bit width of X, Y, Z be f bits (for example,
X, Y, Z are represented as X = x + Δx, Y = y + Δy, Z = z + Δz, and f bits (eg, 8 bits) are upper n bits (eg, 2 bits) and lower bits (eg, 2 bits). fn) bits (for example, 6 bits), the upper n bits of X, Y, and Z are x, y, z, and the lower (fn) bits are Δx, Δ
When corresponding to y and Δz, one of the cubes divided into 2 3n powers is selected by the upper n bits of X, Y and Z. The divided cube is divided into two triangular prisms, and the lower (f−n) bits indicate the relative positions Δx, Δy, and Δz in the selected cube. Can be determined as belonging to the triangular prism.

【0050】また、三角柱補間法の補間演算は、次のよ
うになされる。図4は三角柱の辺上での補間演算を説明
するための図である。図4を参照すると、三角柱におけ
る各頂点座標における出力値をPi(i=1〜6で、そ
の値は既知)とし、求めたい出力Pの座標を含む三角面
31と三角柱32との交点座標における出力値をそれぞ
れPa,Pb,Pcとするとき、Paの値はP1とP2
の線分比により線形補間して求まる。同様に、Pbの値
はP3,P4から線形補間によって求まり、また、Pc
の値はP5,P6から線形補間によって求まる。
The interpolation operation of the triangular prism interpolation method is performed as follows. FIG. 4 is a diagram for explaining the interpolation calculation on the side of the triangular prism. Referring to FIG. 4, the output value at each vertex coordinate of the triangular prism is Pi (i = 1 to 6, the value is known), and the coordinates at the intersection of the triangular surface 31 and the triangular prism 32 including the coordinates of the output P to be obtained are given. When the output values are Pa, Pb, and Pc, respectively, the value of Pa is P1 and P2.
Is obtained by linear interpolation using the line segment ratio of Similarly, the value of Pb is obtained from P3 and P4 by linear interpolation, and the value of Pc
Is obtained from P5 and P6 by linear interpolation.

【0051】具体的に説明すると、例えば、P1−P2
=P4−P2=P6−P4=Δとすると、Paは、 Pa=(Δz×P2+(Δ−Δz)×P1)/Δ によって求まる。Pb,Pcも同様にして求まる。
More specifically, for example, P1-P2
Assuming that = P4-P2 = P6-P4 = [Delta], Pa is determined by the following expression: Pa = ([Delta] z * P2 + ([Delta]-[Delta] z) * P1) / [Delta]. Pb and Pc are similarly obtained.

【0052】次いで、三角面31において、上記で求め
た各頂点の出力値Pa,Pb,Pcを次式(数2)に従
って線形補間すれば、出力Pの値を求めることができ
る。
Next, on the triangular surface 31, by linearly interpolating the output values Pa, Pb, and Pc of the vertexes obtained above in accordance with the following equation (Equation 2), the value of the output P can be obtained.

【0053】[0053]

【数2】P=Pa+(Pb−Pa)×△x/△+(Pc
−Pb)×△y/△
P = Pa + (Pb−Pa) × = x / (+ (Pc
−Pb) × {y / △

【0054】上記のように、メモリマップ補間法では、
入力色空間の各色を2のn乗個に分割すれば、分割立体
の選択や補間演算を上位および下位のビットで処理でき
るので、色変換装置の構成を簡単にできる。
As described above, in the memory map interpolation method,
If each color in the input color space is divided into 2 n, the selection of the divided solid and the interpolation operation can be processed with the upper and lower bits, so that the configuration of the color conversion device can be simplified.

【0055】また、メモリマップ補間法に用いられる三
次元ルックアップテーブル(ルックアップテーブル)
は、次のように構築される。図5は、メモリマップ補間
演算に用いられるルックアップテーブルの構築手順の一
例を示すフローチャートである。
A three-dimensional look-up table (look-up table) used for the memory map interpolation method
Is constructed as follows: FIG. 5 is a flowchart illustrating an example of a procedure for constructing a look-up table used for a memory map interpolation operation.

【0056】図5を参照すると、まず、色予測式を構築
する(ステップS101)。なお、色予測式とは、画像
形成装置の出力特性を数式でモデル化し、計算によって
出力色データから測色値を求められるようにしたもので
ある。例えば、CMYK出力値からXYZ三刺激値を求
められるようにしたものである。色予測式を構築する一
般的な方法としては、画像形成装置で色パッチを出力
し、出力された色パッチを分光測色計で測色し、次に、
色パッチの測色データと出力色データ(=C,M,Y,
K値)の関係を近似して色予測式を構築する方法があ
る。
Referring to FIG. 5, first, a color prediction formula is constructed (step S101). Note that the color prediction formula is a model in which the output characteristics of the image forming apparatus are modeled by mathematical expressions, and a calorimetric value can be obtained from the output color data by calculation. For example, XYZ tristimulus values can be obtained from CMYK output values. As a general method for constructing a color prediction formula, a color patch is output by an image forming apparatus, the output color patch is measured by a spectrophotometer, and then,
Color patch colorimetric data and output color data (= C, M, Y,
K value) is approximated to construct a color prediction formula.

【0057】次に、ステップS101で構築した色予測
式に基づいて格子点のRGB値に対応する出力値を求め
る(ステップS102)。格子点Pi(R,G,B)に
対する出力値を計算するには、まずRGB値からLab
値などのデバイスインディペンデントカラー(例えば、
Lab値)に変換する。この変換は、RGBとXYZと
の関係式に基づく。次に、ガマットマッピング(ガマッ
ト圧縮)を行って、Lab値などのデバイスインディペ
ンデントカラーを画像形成装置が出力可能な色に置き換
える(ステップS103)。
Next, output values corresponding to the RGB values of the grid points are obtained based on the color prediction formula constructed in step S101 (step S102). To calculate an output value for a grid point Pi (R, G, B), first, Lab values are calculated from RGB values.
Device-independent colors such as values (for example,
Lab value). This conversion is based on a relational expression between RGB and XYZ. Next, gamut mapping (gamut compression) is performed to replace device-independent colors such as Lab values with colors that can be output by the image forming apparatus (step S103).

【0058】入力RGB色データの中には、プリンタな
どの画像形成装置で再現できない色が多く含まれる。例
えば、純色のグリーンなどはプリンタではとても再現で
きない。このような色データに対する出力値は、できる
だけ近い色にマッピングして違和感の少ない色再現を行
うことになる。このガマットマッピングとしては、種々
の方式が提案されているが、一般には、入力Lab信号
に対して、明度圧縮,彩度圧縮などを行って出力可能な
色(例えばL’a’b’)にマッピングする方式が用い
られる。
The input RGB color data contains many colors that cannot be reproduced by an image forming apparatus such as a printer. For example, a pure color green cannot be reproduced with a printer. The output values for such color data are mapped to colors as close as possible to perform color reproduction with less discomfort. Various schemes have been proposed for this gamut mapping, but generally, an input Lab signal is subjected to brightness compression, saturation compression, and the like to output a color (for example, L'a'b '). A mapping method is used.

【0059】ガマットマッピングを行った後、次にマッ
ピング後のLab値(すなわち、L’a’b’値)に対
応する出力CMYK値を計算する(ステップS104,
S105)。但し、LabからCMYKへの変換は、一
意に計算できないため、先ず、所定の墨生成条件に従っ
て、Kを求め(ステップS104)、しかる後、残りの
CMYを計算する(ステップS105)。
After performing the gamut mapping, an output CMYK value corresponding to the Lab value after the mapping (that is, L'a'b 'value) is calculated (step S104,
S105). However, since the conversion from Lab to CMYK cannot be uniquely calculated, first, K is obtained according to a predetermined black generation condition (step S104), and then the remaining CMY is calculated (step S105).

【0060】次いで、すべての格子点の出力値を計算し
たか否かを判断し(ステップS106)、すべての格子
点の出力値を計算したら、これを補間演算用パラメータ
として、すなわち、三次元ルックアップテーブル(ルッ
クアップテーブル)として、ROMに書き込んだり、デ
ータ・ファイルに保存したりする。
Next, it is determined whether or not the output values of all the grid points have been calculated (step S106). When the output values of all the grid points have been calculated, they are used as interpolation calculation parameters, that is, three-dimensional look-up values. As an up table (lookup table), the data is written to the ROM or stored in a data file.

【0061】以上のように、メモリマップ補間演算で
は、入力データの上位ビットおよび下位ビットを用い
て、入力色データが属する補間立体を選択し、その補間
立体の頂点(=格子点)における出力値を三次元ルック
アップテーブル(ルックアップテーブル)から読み出
し、入力データの下位ビットおよび三次元ルックアップ
テーブル(ルックアップテーブル)から読み出した格子
点出力値を用いて補間演算を行って入力色データに対す
る出力値を計算することができる。
As described above, in the memory map interpolation operation, the interpolation solid to which the input color data belongs is selected using the upper bits and the lower bits of the input data, and the output value at the vertex (= grid point) of the interpolation solid is selected. Is read from a three-dimensional lookup table (look-up table), and an interpolation operation is performed using the lower bits of the input data and the grid point output value read from the three-dimensional lookup table (look-up table) to output the input color data. The value can be calculated.

【0062】上述したようなメモリマップ補間法を用い
て色変換を行う場合、一般に、入力RGB色空間に対す
る分割数を増やすほど、高精度な色変換を実現できるも
のの、格子点数が増えて三次元ルックアップテーブル
(ルックアップテーブル)のデータ量が増大する。従っ
て、メモリマップ補間法では、入力色空間の分割をでき
る限り効率的に行うことが重要となる。
When color conversion is performed using the above-described memory map interpolation method, generally, the more the number of divisions to the input RGB color space, the more accurate the color conversion can be realized. The data amount of the look-up table (look-up table) increases. Therefore, in the memory map interpolation method, it is important to divide the input color space as efficiently as possible.

【0063】一方、sRGB64色空間のように、実在
しない色(=虚色)まで表現可能な色空間を入力色デー
タとする場合、数値上は表記できても実際には入力され
る可能性が全くない色空間が含まれてしまう。従って、
このような色空間を入力色データとする場合には、有効
な色空間のみについてメモリマップ補間演算を行うよう
にして、効率化を図ることが必要となる。
On the other hand, when a color space that can express even non-existent colors (= imaginary colors) is used as input color data, such as the sRGB 64 color space, there is a possibility that it can be actually input even if it can be expressed numerically. There is no color space at all. Therefore,
When such a color space is used as the input color data, it is necessary to increase the efficiency by performing the memory map interpolation calculation only for the effective color space.

【0064】そこで、本発明では、画像形成装置(例え
ばプリンタ)の色再現範囲を覆うような色空間を部分色
空間として定義し、部分色空間の範囲外に位置する入力
色データをその部分色空間へマッピングしてからメモリ
マップ補間演算を実行するようにしており、これによ
り、効率的な色変換を行えるようにしている。
Therefore, in the present invention, a color space that covers the color reproduction range of an image forming apparatus (eg, a printer) is defined as a partial color space, and input color data located outside the range of the partial color space is defined as the partial color space. A memory map interpolation operation is performed after mapping to a space, thereby enabling efficient color conversion.

【0065】図6は、本発明に係る色変換装置(図2の
色変換処理部203)の構成例を示す図である。図6を
参照すると、この色変換装置は、3つの色成分(例え
ば、レッド(R)、グリーン(G)、ブルー(B))を
持つ第1の表色系(例えば、sRGB64)で表される
入力色データを第2の表色系で表される画像形成装置
(例えば、カラープリンタ、モノクロプリンタ)用の色
データ(例えば、CMYKあるいはCMYあるいはK)
に変換するものであって、第1の表色系が表現可能な色
空間よりも狭い部分色空間を単位立方体に分割した格子
点上の入力色データに対応する出力色データ(すなわ
ち、補間演算用パラメータ)を記憶するルックアップテ
ーブル記憶手段304と、部分色空間の範囲データを記
憶する部分色空間情報記憶手段303と、部分色空間情
報記憶手段303から部分色空間の範囲データを読み取
り、入力色データを部分色空間にマッピングして補間演
算用色データを生成する補間演算用色データ生成手段3
01と、補間演算用色データに基づいてルックアップテ
ーブル記憶手段304から補間演算用パラメータを読み
出し、読み出した補間演算用パラメータを用いて補間演
算用色データに対して補間演算を行うことにより画像形
成装置用の色データに変換する補間演算手段302とを
備えている。
FIG. 6 is a diagram showing a configuration example of the color conversion apparatus (color conversion processing unit 203 in FIG. 2) according to the present invention. Referring to FIG. 6, this color conversion device is represented by a first color system (for example, sRGB64) having three color components (for example, red (R), green (G), and blue (B)). Color data (for example, CMYK, CMY, or K) for an image forming apparatus (for example, a color printer or a monochrome printer) in which input color data is represented by a second color system
Output color data corresponding to input color data on grid points obtained by dividing a partial color space smaller than a color space that can be expressed by the first color system into unit cubes (that is, an interpolation operation). Lookup table storage means 304 for storing parameter data, a partial color space information storage means 303 for storing partial color space range data, and a partial color space range data read from the partial color space information storage means 303 for input. Interpolation color data generation means 3 for mapping color data to a partial color space to generate interpolation calculation color data
01 and the interpolation calculation parameters are read out from the look-up table storage means 304 based on the interpolation calculation color data, and the interpolation calculation is performed on the interpolation calculation color data using the read interpolation calculation parameters. And an interpolation calculating means 302 for converting the color data into color data for the device.

【0066】ここで、補間演算用色データ生成手段30
1は、入力色データが部分色空間に含まれない場合に、
入力色データを部分色空間の境界面上の色データに置き
換えるマッピング手段305を有している。
Here, the interpolation calculation color data generating means 30
1 if the input color data is not included in the partial color space,
There is a mapping means 305 for replacing the input color data with the color data on the boundary surface of the partial color space.

【0067】図7は部分色空間を説明するための図であ
る。図7を参照すると、部分色空間92は、入力色デー
タが表現可能な色空間、すなわち、入力色空間93(例
えば、sRGB64色空間)の一部分を表す立方体空間
であり,部分色空間92の範囲は、P0とP1のRGB
座標で記述することができる。従って、部分色空間は、
RPmin,RPmax,GPmin,GPmax,BPmin,BP
maxの値によって画定される。すなわち、RPmin,RP
max,GPmin,GPmax,BPmin,BPmaxの値が部分
色空間情報となる。
FIG. 7 is a diagram for explaining a partial color space. Referring to FIG. 7, the partial color space 92 is a color space in which the input color data can be expressed, that is, a cubic space representing a part of the input color space 93 (for example, sRGB64 color space). Is the RGB of P0 and P1
It can be described by coordinates. Therefore, the partial color space is
RP min , RP max , GP min , GP max , BP min , BP
Defined by the value of max . That is, RP min , RP
max, GP min, GP max, BP min, the value of BP max is the partial color space information.

【0068】また、図8は部分色空間の範囲設定の概念
を説明するための図である。なお、説明を簡単にするた
めに、図8では、R,G,B色空間を2次元のR−G空
間に置き換えている。図8の例では、標準的なRGB色
空間(例えば、sRGB色空間)91は、各軸8ビット
(0〜255)の値をとる色空間としている。この標準
的なRGB色空間(例えば、sRGB色空間)91に対
し画像形成装置で出力可能な色を上記のRGB色信号に
変換した値を、●でプロットしている。
FIG. 8 is a diagram for explaining the concept of setting the range of the partial color space. For simplicity of description, in FIG. 8, the R, G, and B color spaces are replaced with a two-dimensional RG space. In the example of FIG. 8, a standard RGB color space (for example, sRGB color space) 91 is a color space that takes values of 8 bits (0 to 255) on each axis. In the standard RGB color space (for example, sRGB color space) 91, a value obtained by converting a color that can be output by the image forming apparatus into the above-described RGB color signal is plotted by ●.

【0069】図8のように、画像形成装置で出力可能な
色の一部は、負の値をとる場合があり、標準的なRGB
色空間91では表現しきれない。また、図8には表れて
いないが、画像形成装置で出力可能な色の一部は、25
5を超える場合もある。そこで、このように画像形成装
置で出力可能な色データがすべて表現できるように、部
分色空間92の範囲RPmin,RPmax,GPmin,GP
max,BPmin,BPmaxを設定する。
As shown in FIG. 8, some of the colors that can be output by the image forming apparatus may take a negative value, and the standard RGB
It cannot be expressed in the color space 91. Although not shown in FIG. 8, some of the colors that can be output by the image forming apparatus are 25.
It may exceed five. Therefore, the ranges RP min , RP max , GP min , and GP of the partial color space 92 are so set that all the color data that can be output by the image forming apparatus can be represented in this way.
max , BP min and BP max are set.

【0070】但し、標準的なRGB色空間(例えば、s
RGB色空間)91において画像形成装置の出力色が分
布していない色域があっても、コンピュータ上で人工的
に作成された描画色を色変換して出力する必要があるた
め、部分色空間92の範囲は、標準的なRGB色空間9
1の範囲である0〜255を含むようにする。すなわ
ち、 RPmin,GPmin,BPmin≦0 RPmax,GPmax,BPmax≧255 とする。
However, a standard RGB color space (for example, s
Even if there is a color gamut in which the output colors of the image forming apparatus are not distributed in the (RGB color space) 91, it is necessary to convert the drawing color artificially created on the computer into a color and output the converted color. The range of 92 is a standard RGB color space 9
The range of 0 to 255 is included. That is, RP min , GP min , BP min ≦ 0 RP max , GP max , BP max ≧ 255.

【0071】上記の部分色空間の範囲設定方法では、所
定の画像形成装置の色再現範囲に基づいて部分色空間の
範囲を決定している。しかし、デバイスの進歩とともに
画像形成装置の色再現範囲も変化しており、色変換装置
の汎用性を考慮すれば、入力色空間から部分色空間を除
いた色空間に対しても何らかの出力値を求められるよう
にしておかなければならない。例えば、所定のCMYK
プリンタの色再現範囲に従って部分色空間を決めたとす
ると、特色(例えば、赤や黄などの特別な色)などを用
いた印刷物の色再現範囲はさらに広がることは容易に想
像できる。
In the partial color space range setting method described above, the partial color space range is determined based on the color reproduction range of a predetermined image forming apparatus. However, the color reproduction range of an image forming apparatus is changing with the progress of devices, and considering the versatility of a color conversion apparatus, some output values can be output even in a color space that excludes a partial color space from an input color space. You have to be as required. For example, given CMYK
Assuming that the partial color space is determined according to the color reproduction range of the printer, it is easy to imagine that the color reproduction range of a printed matter using a special color (for example, a special color such as red or yellow) is further expanded.

【0072】そこで、本発明では、部分色空間の範囲外
の入力色データが入力された場合には、図9に示すよう
に、補間演算用色データ生成手段301のマッピング手
段305によって、入力色データ(R,G,B)を部分
色空間の境界面へマッピングして補間演算用色データ
(R’,G’,B’)を求めるようにしている。
Therefore, according to the present invention, when input color data outside the range of the partial color space is input, the input color data is generated by the mapping means 305 of the interpolation calculation color data generating means 301 as shown in FIG. The data (R, G, B) is mapped to the boundary surface of the partial color space to obtain interpolation calculation color data (R ′, G ′, B ′).

【0073】次に、図6の色変換装置の処理動作につい
て説明する。先ず、補間演算用色データ生成手段301
は、部分色空間情報記憶手段303から部分色空間の範
囲データを読み出して、入力色データ(入力RGBデー
タ)が部分色空間に含まれるか否かを判定する。この結
果、入力色データ(RGB)が部分色空間の範囲外なら
ば、補間演算用色データ生成手段301は、マッピング
手段305によって入力色データ(RGB)を部分色空
間の境界面上にマッピングして補間演算用色データ
(R’G’B’)に変換し、補間演算手段302に与え
る。補間演算手段302は、補間演算用色データ生成手
段301から補間演算用色データ(R’G’B’)を受
け取ると、ルックアップテーブル記憶手段304に記憶
されている補間演算用パラメータを用いて補間演算用色
データに対し補間演算を実行し、出力値(例えば、CM
YKデータ)を計算する。
Next, the processing operation of the color conversion apparatus shown in FIG. 6 will be described. First, color data generation means 301 for interpolation calculation
Reads the range data of the partial color space from the partial color space information storage means 303 and determines whether or not the input color data (input RGB data) is included in the partial color space. As a result, if the input color data (RGB) is out of the range of the partial color space, the interpolation calculation color data generating means 301 maps the input color data (RGB) on the boundary surface of the partial color space by the mapping means 305. And converts the data into color data for interpolation calculation (R′G′B ′), and gives the data to the interpolation calculation means 302. Upon receiving the interpolation calculation color data (R′G′B ′) from the interpolation calculation color data generation unit 301, the interpolation calculation unit 302 uses the interpolation calculation parameters stored in the lookup table storage unit 304. Interpolation is performed on the interpolation calculation color data, and an output value (for example, CM
YK data).

【0074】上記マッピング手段305としては、種々
のものが考えられうる。1つの例として、マッピング手
段305としては、入力色データが部分色空間の範囲を
アンダーフローまたはオーバーフローした場合に、入力
色データを部分色空間の境界面上にクリッピングによっ
てマッピングするものを用いることができる。
Various types of mapping means 305 can be considered. As one example, as the mapping means 305, when the input color data underflows or overflows the range of the partial color space, one that maps the input color data on the boundary surface of the partial color space by clipping may be used. it can.

【0075】すなわち、この例では、マッピング手段3
05は、入力色データ(RGB)のRに対して、RP
max>R>RPminならば、R’=Rとし、また、R<R
minならば、R’=RPminとし、また、R>RPmax
ならば、R’=RPmaxとして、RをR’に変換するよ
うになっている。
That is, in this example, the mapping means 3
05 is RP for R of input color data (RGB).
If max >R> RP min , R ′ = R, and R <R
If P min , R ′ = RP min, and R> RP max
Then, R is converted to R 'by setting R' = RP max .

【0076】入力色データ(RGB)のG,Bに対して
も、同様にして、G’,B’に変換するようになってい
る。
Similarly, G and B of the input color data (RGB) are converted into G 'and B'.

【0077】また、他の例として、マッピング手段30
5としては、第1の表色系が表現可能な色空間から部分
色空間を除いた領域を複数の四角錘台領域に分割し、入
力色データが複数の四角錘台領域に分割された色空間の
いずれに含まれるかを判定し、該判定結果に対応した線
形変換手段によって入力色データを部分色空間の境界面
上の色データに変換するものを用いることができる。
As another example, the mapping means 30
5 is a color obtained by excluding the partial color space from the color space that can be expressed by the first color system into a plurality of quadrangular pyramid regions, and input color data divided into a plurality of quadrangular pyramid regions. It is possible to use one that determines which one of the spaces is included and converts the input color data into color data on the boundary surface of the partial color space by linear conversion means corresponding to the determination result.

【0078】図10には、部分色空間の範囲外の色空間
を6つの四角錐台領域に分割した例が示されている。こ
の例では、マッピング手段305は、部分色空間の範囲
外の色空間を6つの四角錐台領域に分割して、四角錐台
に対応した計算によって入力色データを部分色空間の境
界面上のデータにマッピングする。
FIG. 10 shows an example in which a color space outside the range of the partial color space is divided into six truncated pyramid regions. In this example, the mapping unit 305 divides the color space outside the range of the partial color space into six truncated quadrangular pyramids and calculates the input color data on the boundary surface of the partial color space by calculation corresponding to the truncated quadrangular pyramid. Map to data.

【0079】図11は、このマッピングの仕方を説明す
るための図である。なお、図11は、四角錐台の1つを
取り出して2次元的に図示したものである。また、図1
1において、入力色データはM、マッピング後の色デー
タはMoとしている。図11を参照すると、まず、入力
色データMを含む平面(M1−M2−M3−M4)を求
める。例えば、M1は、T1とP1の以下のような線形
演算で求めることができる。 RM1=(BM−BPmax)*RTmin+(BTmax−BM)*RPminM1=(BM−BPmax)*GTmax+(BTmax−BM)*GPmaxM1=BM
FIG. 11 is a diagram for explaining this mapping method. FIG. 11 is a two-dimensional drawing of one of the truncated pyramids taken out. FIG.
In FIG. 1, the input color data is M, and the color data after mapping is Mo. Referring to FIG. 11, first, a plane (M1-M2-M3-M4) including the input color data M is obtained. For example, M1 can be obtained by the following linear operation of T1 and P1. R M1 = (B M -BP max ) * RT min + (BT max -B M) * RP min G M1 = (B M -BP max) * GT max + (BT max -B M) * GP max B M1 = B M

【0080】他のM2,M3,M4も同様の線形演算で
求めることができる。
The other M2, M3, and M4 can be obtained by the same linear operation.

【0081】M1,M2,M3,M4が求まれば、M
1,M2,M3,M4によって囲まれる平面を、P1−
P2−P3−P4で囲まれる部分色空間の境界面に相似
変換することで、RMo,GMo,BMoが求まる。すなわ
ち、RMo,GMo,BMoは、 RMo=(RM2−RM)*RPmin+(RM−RM4)*RPmaxMo=(GM2−GM)*GPmin+(GM−GM4)*GPmaxMo=BPmax として求まる。
When M1, M2, M3 and M4 are obtained, M
A plane surrounded by 1, M2, M3, and M4 is represented by P1-
R Mo , G Mo , and B Mo are obtained by performing similarity conversion to the boundary surface of the partial color space surrounded by P2-P3-P4. That is, R Mo , G Mo , and B Mo are given by: R Mo = (R M2 −R M ) * RP min + (R M −R M4 ) * RP max G Mo = (G M2 −G M ) * GP min + (G M -G M4) * obtained as a GP max B Mo = BP max.

【0082】次に、図6の色変換装置による色変換方法
について図12のフローチャートを用いて説明する。図
12を参照すると、まず、補間演算を行う色域を決定す
るために、部分色空間の範囲データ(すなわち、RP
min,RPmax,GPmin,GPm ax,BPmin,BPmax
値)を読み取る(ステップS201)。
Next, a color conversion method by the color conversion apparatus shown in FIG.
Will be described with reference to the flowchart of FIG. Figure
Referring to FIG. 12, first, a color gamut for performing an interpolation operation is determined.
For this purpose, the range data of the partial color space (ie, RP
min, RPmax, GPmin, GPm ax, BPmin, BPmaxof
Is read (step S201).

【0083】部分色空間の範囲データを読み取ると、入
力色データを読み取りながら、色変換処理を実行する
(ステップS202〜S206)。すなわち、ステップ
S202で入力色データDin(例えば、RGB)を読
み取ると、ステップS203では、補間演算用色データ
D’in(例えば、R’G’B’)に変換する。次に、
ステップS204では、補間演算用色データD’inに
対応する補間演算用パラメータ(格子点の出力値)をル
ックアップテーブルから読み出す。そして、ステップS
205では、補間演算パラメータを用いて、補間演算用
色データD’inに対し前述したような補間演算を行な
い、出力色データを算出する。ステップS206では、
すべての入力色データに対する補間演算処理が終了した
か否かをチェックし、すべての入力色データに対する補
間演算処理が終了していない場合には、ステップS20
2〜S205の処理を繰り返し、ステップS206です
べての入力色データに対する補間演算処理が終了したと
判断されたときには、色変換処理を終了する。
When the range data of the partial color space is read, the color conversion process is executed while reading the input color data (steps S202 to S206). That is, when the input color data Din (for example, RGB) is read in step S202, it is converted to interpolation calculation color data D'in (for example, R'G'B ') in step S203. next,
In step S204, an interpolation calculation parameter (output value of a grid point) corresponding to the interpolation calculation color data D'in is read from the lookup table. And step S
In step 205, the above-described interpolation calculation is performed on the interpolation calculation color data D'in using the interpolation calculation parameters, and output color data is calculated. In step S206,
It is checked whether or not the interpolation operation has been completed for all the input color data. If the interpolation operation has not been completed for all the input color data, step S20 is performed.
Steps S2 to S205 are repeated, and when it is determined in step S206 that the interpolation calculation processing has been completed for all the input color data, the color conversion processing ends.

【0084】上記のステップS203において、入力色
データDinから補間演算用色データD’inへの変換
は、入力色データDinが部分色空間の範囲内にあるか
否かに基づいてなされる。すなわち、入力色データDi
nが部分色空間内のデータであれば、D’in=Din
として、そのまま補間演算を実行する。これに対し、入
力色データDinが部分色空間の範囲内でなければ、部
分色空間の境界面へのマッピング処理を実行する。
In step S203, the conversion from the input color data Din to the color data D′ in for interpolation calculation is performed based on whether or not the input color data Din is within the range of the partial color space. That is, the input color data Di
If n is data in the partial color space, D'in = Din
And execute the interpolation operation as it is. On the other hand, if the input color data Din is not within the range of the partial color space, a mapping process to the boundary surface of the partial color space is executed.

【0085】このように、図6の色変換装置では、第1
の表色系が表現可能な色空間よりも狭い部分色空間を単
位立方体に分割した格子点上の入力色データに対応する
出力色データ(すなわち、補間演算用パラメータ)を記
憶するルックアップテーブル記憶手段304と、部分色
空間の範囲データを記憶する部分色空間情報記憶手段3
03と、部分色空間情報記憶手段303から部分色空間
の範囲データを読み取り、入力色データを部分色空間に
マッピングして補間演算用色データを生成する補間演算
用色データ生成手段301と、補間演算用色データに基
づいてルックアップテーブル記憶手段304から補間演
算用パラメータを読み出し、読み出した補間演算用パラ
メータを用いて補間演算用色データに対して補間演算を
行うことにより画像形成装置用の色データに変換する補
間演算手段302とを備えているので、sRGB64色
データのように実質的に一部の色空間しか利用されない
ような色データが入力されるような場合であっても(す
なわち、sRGB64色データを画像形成装置用の色デ
ータに変換する時のように、入力色データで表現できる
色の一部の色域しか使用されないような場合であって
も)、ハードウェアを増大させずに、高精度な色変換を
行うことができる。
As described above, in the color conversion apparatus of FIG.
Lookup table storage that stores output color data (that is, interpolation calculation parameters) corresponding to input color data on grid points obtained by dividing a partial color space narrower than the color space that can be expressed by the color system into unit cubes. Means 304 and partial color space information storage means 3 for storing range data of the partial color space
03; an interpolation calculation color data generation unit 301 that reads the range data of the partial color space from the partial color space information storage unit 303 and maps the input color data to the partial color space to generate interpolation calculation color data; Based on the calculation color data, the interpolation calculation parameters are read from the look-up table storage unit 304, and the interpolation calculation is performed on the interpolation calculation color data using the read interpolation calculation parameters to obtain the color for the image forming apparatus. Since there is provided the interpolation calculation means 302 for converting the data into data, even when color data that substantially uses only a part of the color space such as sRGB 64 color data is input (ie, As in the case of converting sRGB 64 color data into color data for an image forming apparatus, the color gamut of a part of the color that can be expressed by the input color data Even when not being used), without increasing the hardware, it is possible to perform highly accurate color conversion.

【0086】特に、補間演算用色データ生成手段301
は、入力色データが部分色空間に含まれない場合に入力
色データを部分色空間の境界面上の色データに置き換え
るマッピング手段305を有しているので、入力色デー
タとして補間演算不可能な色データが入力されたような
場合にも、色変換が可能となる。
In particular, interpolation calculation color data generating means 301
Has mapping means 305 that replaces the input color data with color data on the boundary surface of the partial color space when the input color data is not included in the partial color space. Even when color data is input, color conversion can be performed.

【0087】なお、マッピング手段305が、入力色信
号が部分色空間の領域をアンダーフローまたはオーバー
フローした場合に、入力色信号を部分色空間の境界面上
にクリッピングによってマッピングするようになってい
るときには、補間演算不可能な色データが入力されたよ
うな場合にも、階調の連続性を保った色変換が可能とな
る。
When the mapping means 305 maps the input color signal on the boundary surface of the partial color space by clipping when the input color signal underflows or overflows the area of the partial color space. Even when color data that cannot be interpolated is input, color conversion can be performed while maintaining continuity of gradation.

【0088】また、マッピング手段305が、第1の表
色系が表現可能な色空間から部分色空間を除いた領域を
複数の四角錘台領域に分割し、入力色信号が複数の四角
錘台領域に分割された色空間のいずれに含まれるかを判
定し、該判定結果に対応した線形変換手段によって部分
色空間の境界面上の色データに変換するようになってい
るときにも、補間演算不可能な色信号が入力されたよう
な場合に、階調の連続性を保った色変換が可能となる。
Further, the mapping means 305 divides the area excluding the partial color space from the color space that can be expressed by the first color system into a plurality of quadrangular pyramid regions, and the input color signal is When it is determined which of the color spaces divided into regions is included in the color space, and when the data is converted into color data on the boundary surface of the partial color space by the linear conversion means corresponding to the determination result, the interpolation is also performed. When a color signal that cannot be calculated is input, color conversion can be performed while maintaining the continuity of gradation.

【0089】このように、本発明では、入力色信号が表
現できる色空間の一部の色域しか実質使用しないような
色変換系(例えば、sRGB64からプリンタ色信号へ
の変換)を想定し,所定の色域に対応したルックアップ
テーブルのみを有し、所定の色域に含まれない入力信号
に対しては、所定の色域の色信号に変換した後、補間演
算を行って出力値を計算するようにしている。
As described above, in the present invention, a color conversion system (for example, conversion from sRGB64 to a printer color signal) that substantially uses only a part of the color gamut of a color space in which an input color signal can be expressed is assumed. It has only a look-up table corresponding to a predetermined color gamut, and for an input signal not included in the predetermined color gamut, converts the input signal to a color signal of a predetermined color gamut, performs interpolation, and outputs an output value. I try to calculate.

【0090】すなわち、本発明では、部分色空間の外側
の色空間に位置する入力色データが入力された場合の
み、マッピングを行ない、部分色空間内の色データに対
しては補間演算処理のみで色変換を行なう。これによ
り、処理速度を向上させることができる。
That is, in the present invention, mapping is performed only when input color data located in a color space outside the partial color space is input, and color data in the partial color space is subjected to only interpolation calculation processing. Perform color conversion. Thereby, the processing speed can be improved.

【0091】図13は、図6の色変換装置の部分色空間
情報記憶手段303に記憶される部分色空間情報、およ
び、ルックアップテーブル記憶手段304に記憶される
ルックアップテーブルを色変換用パラメータとして生成
する色変換用パラメータ生成装置の構成例を示す図であ
る。
FIG. 13 shows the partial color space information stored in the partial color space information storage means 303 and the lookup table stored in the lookup table storage means 304 of the color conversion apparatus shown in FIG. FIG. 2 is a diagram illustrating a configuration example of a color conversion parameter generation device that generates a color conversion parameter;

【0092】図13を参照すると、この色変換用パラメ
ータ生成装置400は、測色データ記憶部401と、R
GBデータ生成部402と、部分色空間設定部403
と、格子点生成部404と、ルックアップテーブル算出
部405とを有している。また、画像形成装置から出力
された色パッチを測色するための測色計が外部に接続さ
れている。この色変換用パラメータ生成装置400は、
例えば、図1,図2の画像処理装置200内に設けるこ
とができる。
Referring to FIG. 13, the color conversion parameter generation device 400 includes a colorimetric data storage unit 401,
GB data generation unit 402 and partial color space setting unit 403
And a lattice point generation unit 404 and a lookup table calculation unit 405. Further, a colorimeter for measuring the color patches output from the image forming apparatus is connected to the outside. This color conversion parameter generation device 400 includes:
For example, it can be provided in the image processing apparatus 200 shown in FIGS.

【0093】図13の色変換用パラメータ生成装置40
0において、測色データ記憶部401は、外部に接続さ
れている測色計から受信した測色データを記憶するため
のものである。なお、測色データとしては、Lab値や
XYZ値などである。
The parameter generation device 40 for color conversion shown in FIG.
At 0, the colorimetric data storage unit 401 is for storing the colorimetric data received from an externally connected colorimeter. Note that the colorimetric data includes Lab values, XYZ values, and the like.

【0094】また、RGBデータ生成部402は、測色
データ記憶部401に記憶されている測色データをRG
B色データに変換する機能を有している。この変換は、
例えばRGB色空間としてsRGB64を想定すると、
sRGB64色データをXYZ三刺激値から次式に従っ
て計算することができる。
The RGB data generation unit 402 converts the colorimetric data stored in the colorimetric data storage unit 401 into RGB data.
It has a function of converting into B color data. This conversion is
For example, assuming sRGB64 as an RGB color space,
sRGB 64 color data can be calculated from the XYZ tristimulus values according to the following equation.

【0095】[0095]

【数3】 (Equation 3)

【0096】また、部分色空間設定部403は、RGB
データ生成部402で算出されたRGBデータを元に部
分色空間の範囲を設定するようになっている。ここで、
部分色空間の範囲の算出を行なうには、まず、RGB変
換データの最大値,最小値をR,G,Bの各色成分ごと
に求める。例えば、R信号の最小値が20,最大値が2
40であり、G信号の最小値が−10,最大値が240
であり、B信号の最小値が−30,最大値が255であ
ったとすると、部分色空間の範囲は、所定の範囲と上記
最大値,最小値とを比較して決定される。ここで、所定
の範囲には、例えば一般的なRGB空間の範囲(0〜2
55)が用いられる。所定の範囲に一般的なRGB空間
の範囲(0〜255)が用いられる場合、上記例では、
G信号の最小値は0以下なので、部分色空間のG座標の
最小値は−10とする。他も同様に考えれば、部分色空
間の範囲は、 RPmin=0、RPmax=255 GPmin=−10、GPmax=255 BPmin=−30、BPmax=255 として算出することができる。
Further, the partial color space setting unit 403 outputs
The range of the partial color space is set based on the RGB data calculated by the data generation unit 402. here,
To calculate the range of the partial color space, first, the maximum value and the minimum value of the RGB conversion data are obtained for each of the R, G, and B color components. For example, the minimum value of the R signal is 20 and the maximum value is 2
40, the minimum value of the G signal is -10, and the maximum value is 240.
Assuming that the minimum value of the B signal is −30 and the maximum value is 255, the range of the partial color space is determined by comparing a predetermined range with the above-mentioned maximum value and minimum value. Here, the predetermined range includes, for example, a general RGB space range (0 to 2).
55) is used. When a general range of RGB space (0 to 255) is used as the predetermined range, in the above example,
Since the minimum value of the G signal is 0 or less, the minimum value of the G coordinate in the partial color space is set to -10. If other considerations are similarly considered, the range of the partial color space can be calculated as RPmin = 0, RPmax = 255 GPmin = −10, GPmax = 255 BPmin = −30, and BPmax = 255.

【0097】しかし、部分色空間を上記の範囲に設定し
てしまうと、部分色空間を1辺の長さが16の立方体で
分割するとき、ブラックポイント(0,0,0)を通ら
なくなってしまい、メモリマップ補間演算が複雑になっ
てしまう。従って、部分色空間の範囲を、図14に示す
ように、格子点が必ずホワイトポイントWPあるいはブ
ラックポイントBPのいずれかを含むように設定すれば
(なお、図14の例では、一辺の長さ=64として記載
している)、補間演算のハードウェアでの実現が容易に
なる。すなわち、RPmin,RPmax,GPmin,G
max,BPmin,BPmaxの値を2のn乗(n=整数)
の値の倍数(上記の例では、16)とすることにより
(すなわち、部分色空間の軸ごとの最小値及び最大値を
n(n=整数)の整数倍の値で定義して、部分色空間
の範囲を算出することにより)、前述したように、上位
ビットおよび下位ビットでのメモリアクセスおよび下位
ビットのみでの補間演算が可能になり、回路を簡単にで
きる。すなわち、上記の例では、 RPmin=0、RPmax=255 GPmin=−16、GPmax=255 BPmin=−32、BPmax=255 とするのが良い。
However, if the partial color space is set within the above range, the black point (0, 0, 0) will not pass when the partial color space is divided by a cube having one side length of 16. As a result, the memory map interpolation calculation becomes complicated. Therefore, if the range of the partial color space is set so that the grid points always include either the white point WP or the black point BP as shown in FIG. 14 (in the example of FIG. 14, the length of one side is = 64), which makes it easy to implement the interpolation operation with hardware. That, RP min, RP max, GP min, G
The values of P max , BP min , and BP max are raised to the power of 2 (n = integer)
(That is, 16 in the above example) (that is, the minimum and maximum values for each axis of the partial color space are defined as integer multiples of 2 n (n = integer). As described above, by calculating the range of the color space), the memory access can be performed using the upper bits and the lower bits, and the interpolation operation can be performed using only the lower bits, thereby simplifying the circuit. That is, in the above example, RP min = 0, RP max = 255 GP min = -16, GP max = 255 BP min = -32, had better be as BP max = 255.

【0098】このようにして算出された部分色空間の範
囲データは、画像処理装置200(色変換装置203)
に送られ、色変換装置203の部分色空間情報記憶手段
303に部分色空間情報として記憶される。
The range data of the partial color space calculated in this manner is supplied to the image processing device 200 (color conversion device 203).
And stored in the partial color space information storage means 303 of the color conversion device 203 as partial color space information.

【0099】また、図13の色変換用パラメータ生成装
置400において、格子点生成部404は、部分色空間
設定部403で設定された部分色空間の範囲に含まれる
格子点のRGB値を生成してルックアップテーブル算出
部405に与えるようになっている。また、ルックアッ
プテーブル算出部405は、格子点生成部404で生成
した格子点に対応する出力値を算出し(図5に示したよ
うな処理を行なって格子点の出力値を計算し)、格子点
に対応する出力値をルックアップテーブルとして、色変
換装置のルックアップテーブル記憶手段304に記憶す
るようになっている。
In the color conversion parameter generation device 400 shown in FIG. 13, the grid point generation section 404 generates RGB values of grid points included in the range of the partial color space set by the partial color space setting section 403. This is given to the lookup table calculation unit 405. Further, the lookup table calculation unit 405 calculates an output value corresponding to the grid point generated by the grid point generation unit 404 (calculates an output value of the grid point by performing the processing shown in FIG. 5), The output value corresponding to the grid point is stored as a lookup table in the lookup table storage unit 304 of the color conversion device.

【0100】図15は本発明の色変換用パラメータ生成
方法を説明するためのフローチャートである。図15を
参照すると、まず、画像形成装置(例えば、カラープリ
ンタ)から所定のパッチデータを出力する(ステップS
301)。所定のパッチデータとしては、例えば、CM
YKの各色信号を16ステップに振った色データを出力
する。ステップは細かいほど良いが、特にこだわらな
い。また、すべての組み合わせについて出力しなくて
も、4色中の3色は最大値または最小値に固定して、残
りの1色を数段階に設定すれば、出力パッチ数を減らす
ことができる。
FIG. 15 is a flowchart for explaining the color conversion parameter generation method of the present invention. Referring to FIG. 15, first, predetermined patch data is output from an image forming apparatus (for example, a color printer) (Step S).
301). As the predetermined patch data, for example, CM
The color data obtained by arranging the YK color signals in 16 steps is output. The finer the steps, the better, but not particular. Even if not all combinations are output, the number of output patches can be reduced by fixing three of the four colors to the maximum value or the minimum value and setting the remaining one color in several steps.

【101】例えば、 CMYK=[0,0,0,0],[0,0,0,16],[0,0,0,32]・・・・[0,0,
0,255],[0,0,255,0],[0,0,255,16],[0,0,255,32],…,
[0,0,255,255], : : [255,255,255,0],[255,255,255,16],[255,255,255,32],
…,[255,255,255,255] というような組み合わせのパッチを出力する。
[101] For example, CMYK = [0,0,0,0], [0,0,0,16], [0,0,0,32] ... [0,0,
[0,255], [0,0,255,0], [0,0,255,16], [0,0,255,32],…,
[0,0,255,255],:: [255,255,255,0], [255,255,255,16], [255,255,255,32],
…, [255,255,255,255] output a combination of patches.

【0102】次に、ステップS301で出力された色パ
ッチを測色計で測色し、出力された色パッチのXYZ値
あるいはLab値を求める(ステップS302)。
Next, the color patch output in step S301 is measured by a colorimeter, and the XYZ value or Lab value of the output color patch is obtained (step S302).

【0103】次に、測色データを入力色空間の色信号で
あるRGB色データ(例えば、sRGB64表色系の色
データ)に変換する(ステップS303)。次いで、変
換されたRGB色データの分布範囲を求め(ステップS
304)、RGB色データの分布範囲を所定の色空間範
囲と比較して部分色空間の範囲を求める(ステップS3
05)。このようにして求められた部分色空間の範囲
は、色変換装置に色変換用の1つのパラメータとして設
定される。
Next, the colorimetric data is converted into RGB color data (for example, sRGB64 color system color data) which is a color signal of the input color space (step S303). Next, a distribution range of the converted RGB color data is obtained (Step S).
304), the range of the partial color space is determined by comparing the distribution range of the RGB color data with a predetermined color space range (step S3).
05). The range of the partial color space obtained in this way is set as one parameter for color conversion in the color conversion device.

【0104】また、ステップS305において部分色空
間の範囲が求まれば、部分色空間を単位立体に分割して
格子点を生成し(ステップS306)、生成された格子
点位置の出力値(例えば、CMYK値)を前述したよう
にして計算する(ステップS307)。このようにして
求められた格子点に対応する出力値は、色変換装置に色
変換用の他の1つのパラメータとして、すなわちルック
アップテーブル(補間演算用パラメータ)として設定さ
れる。
When the range of the partial color space is determined in step S305, the partial color space is divided into unit solids to generate grid points (step S306), and the output values of the generated grid point positions (for example, CMYK values) are calculated as described above (step S307). The output value corresponding to the grid point thus obtained is set in the color conversion device as another parameter for color conversion, that is, as a look-up table (parameter for interpolation calculation).

【0105】図16は本発明の画像処理システムのハー
ドウェア構成例を示す図である。図16を参照すると、
この画像処理システムは、例えばワークステーションや
パーソナルコンピュータ等で実現され、全体を制御する
CPU21と、CPU21の制御プログラム等が記憶さ
れているROM22と、CPU21のワークエリア等と
して使用されるRAM23と、ハードディスク24と、
RGB画像データを入力するためのデジタルカメラ10
1およびスキャナ102と、画像データを表示するため
のディスプレイ100と、カラープリンタなどの画像形
成装置104とを有している。
FIG. 16 is a diagram showing an example of a hardware configuration of the image processing system of the present invention. Referring to FIG.
This image processing system is realized by, for example, a workstation or a personal computer, and controls the entire CPU 21; a ROM 22 storing a control program of the CPU 21; a RAM 23 used as a work area of the CPU 21; 24,
Digital camera 10 for inputting RGB image data
1 and a scanner 102, a display 100 for displaying image data, and an image forming apparatus 104 such as a color printer.

【0106】ここで、CPU21,ROM22,RAM
23,ハードディスク24は、図1,図2のコンピュー
タ103としての機能を有している。なお、この場合、
図1,図2の画像処理装置200の機能も、CPU21
にもたせることができる。すなわち、本発明の色変換装
置および色変換方法としての機能,色変換用パラメータ
生成装置および色変換用パラメータ生成方法としての機
能をCPU21にもたせることができる。
Here, CPU 21, ROM 22, RAM
23 and the hard disk 24 have a function as the computer 103 in FIGS. In this case,
The functions of the image processing apparatus 200 shown in FIGS.
Can be given. That is, the CPU 21 can be provided with a function as a color conversion device and a color conversion method of the present invention, and a function as a color conversion parameter generation device and a color conversion parameter generation method.

【0107】なお、CPU21におけるこのような色変
換装置および色変換方法,色変換用パラメータ生成装置
および色変換用パラメータ生成方法等としての機能は、
例えばソフトウェアパッケージ(具体的には、CD−R
OM等の情報記録媒体)の形で提供することができ、こ
のため、図16の例では、情報記録媒体30がセットさ
せるとき、これを駆動する媒体駆動装置31が設けられ
ている。
The functions of the CPU 21 such as the color conversion device and the color conversion method, the color conversion parameter generation device and the color conversion parameter generation method are as follows.
For example, a software package (specifically, a CD-R
16 can be provided in the form of an information recording medium such as an OM. For this reason, in the example of FIG. 16, when the information recording medium 30 is set, a medium drive device 31 that drives the information recording medium 30 is provided.

【0108】換言すれば、本発明の色変換装置および色
変換方法,色変換用パラメータ生成装置および色変換用
パラメータ生成方法は、イメージスキャナ,ディスプレ
イ等を備えた汎用の計算機システムにCD−ROM等の
情報記録媒体に記録されたプログラムを読み込ませて、
この汎用計算機システムのマイクロプロセッサに色変換
処理,色変換用パラメータ生成処理を実行させる装置構
成においても実施することが可能である。この場合、本
発明の色変換処理,色変換用パラメータ生成処理を実行
するためのプログラム(すなわち、ハードウェアシステ
ムで用いられるプログラム)は、媒体に記録された状態
で提供される。プログラムなどが記録される情報記録媒
体としては、CD−ROMに限られるものではなく、R
OM,RAM,フレキシブルディスク,メモリカード等
が用いられても良い。媒体に記録されたプログラムは、
ハードウェアシステムに組み込まれている記憶装置、例
えばハードディスク24にインストールされることによ
り、このプログラムを実行して、色変換処理機能,色変
換用パラメータ生成処理を実現することができる。
In other words, the color conversion device and the color conversion method, the color conversion parameter generation device and the color conversion parameter generation method of the present invention are applied to a general-purpose computer system having an image scanner, a display, and the like. Read the program recorded on the information recording medium of
The present invention can also be implemented in an apparatus configuration in which a microprocessor of the general-purpose computer system executes a color conversion process and a color conversion parameter generation process. In this case, the program for executing the color conversion processing and the color conversion parameter generation processing of the present invention (that is, the program used in the hardware system) is provided in a state recorded on a medium. The information recording medium on which a program or the like is recorded is not limited to a CD-ROM.
An OM, a RAM, a flexible disk, a memory card, or the like may be used. The program recorded on the medium is
When installed in a storage device incorporated in the hardware system, for example, the hard disk 24, this program can be executed to realize the color conversion processing function and the color conversion parameter generation processing.

【0109】また、本発明の色変換装置および色変換方
法,色変換用パラメータ生成装置および色変換用パラメ
ータ生成方法を実現するためのプログラムは、媒体の形
で提供されるのみならず、通信によって例えばサーバに
よって提供されるものであっても良い。
A program for realizing the color conversion device and the color conversion method, the color conversion parameter generation device and the color conversion parameter generation method of the present invention is provided not only in the form of a medium but also by communication. For example, it may be provided by a server.

【0110】[0110]

【発明の効果】以上に説明したように、請求項1乃至請
求項9記載の発明によれば、3つの色成分を持つ第1の
表色系で表される入力色データを第2の表色系で表され
る画像形成装置用の色データに変換するときに、第1の
表色系が表現可能な色空間よりも狭い部分色空間の範囲
内に収まるように入力色データを変換して補間演算用色
データを生成し、第1の表色系が表現可能な色空間より
も狭い部分色空間を単位立方体に分割した格子点上の入
力色データに対応する出力色データを補間演算用パラメ
ータとして用いて、補間演算用色データに対して補間演
算を行うことにより、画像形成装置用の色データに変換
するので、sRGB64データを画像形成装置用の色デ
ータに変換する時のように、入力色データで表現できる
色の一部の色域しか使用されないような場合であって
も、ハードウェアを増大させずに、高精度な色変換を実
現することができる。
As described above, according to the first to ninth aspects of the present invention, the input color data represented by the first color system having three color components is converted into the second color data. When converting into color data for an image forming apparatus represented by a color system, the input color data is converted so as to fall within a range of a partial color space narrower than a color space that can be expressed by the first color system. To generate interpolation calculation color data, and perform interpolation calculation on output color data corresponding to input color data on grid points obtained by dividing a partial color space smaller than the color space that can be expressed by the first color system into unit cubes. The sRGB 64 data is converted into color data for the image forming apparatus by performing interpolation on the color data for the interpolation calculation by using the data as the parameters for the interpolation calculation. Color gamut of some colors that can be represented by input color data Even when not being used, without increasing the hardware, it is possible to realize a highly accurate color conversion.

【0111】特に、請求項2乃至請求項4,請求項7乃
至請求項9,請求項18,請求項20記載の発明によれ
ば、補間演算用色データは、入力色データが部分色空間
に含まれない場合には入力色データを部分色空間の境界
面上にマッピングして生成されるので、補間演算不可能
な色データが入力されたような場合にも、色変換が可能
となる。
In particular, according to the second, fourth, seventh, ninth, eighteenth, and twentieth aspects of the present invention, the color data for interpolation calculation is such that the input color data is in a partial color space. If not included, the input color data is generated by mapping it on the boundary surface of the partial color space. Therefore, even when color data that cannot be interpolated is input, color conversion can be performed.

【0112】ここで、請求項3,請求項8記載の発明で
は、補間演算用色データは、入力色データが部分色空間
の領域をアンダーフローまたはオーバーフローした場合
に、入力色データを部分色空間の境界面上にクリッピン
グすることによってマッピングして生成されるので、補
間演算不可能な色データが入力されたような場合にも、
階調の連続性を保った色変換が可能となる。
According to the third and eighth aspects of the present invention, when the input color data underflows or overflows the region of the partial color space, the input color data is converted to the partial color space. Since it is generated by mapping by clipping on the boundary surface of, even if color data that cannot be interpolated is input,
Color conversion can be performed while maintaining the continuity of gradation.

【0113】また、請求項4,請求項9記載の発明で
は、補間演算用色データは、第1の表色系が表現可能な
色空間から部分色空間を除いた領域を複数の四角錘台領
域に分割し、入力色データが複数の四角錘台領域に分割
された色空間のいずれに含まれるかを判定し、該判定結
果に対応した線形変換手段によって入力色データを部分
色空間の境界面上の色データに変換することによって生
成されるので、補間演算不可能な色データが入力された
ような場合にも、階調の連続性を保った色変換が可能と
なる。
According to the fourth and ninth aspects of the present invention, the color data for interpolation calculation includes a plurality of quadrangular truncated pyramids in a region excluding a partial color space from a color space that can be expressed by the first color system. It is determined whether the input color data is included in the color space divided into the plurality of quadrangular frustum regions, and the input color data is divided into the boundary of the partial color space by the linear conversion means corresponding to the determination result. Since the color data is generated by converting the color data on the surface, even when color data that cannot be interpolated is input, it is possible to perform color conversion while maintaining the continuity of gradation.

【0114】また、請求項10乃至請求項17,請求項
19,請求項21記載の発明によれば、第1の表色系が
表現可能な色空間よりも狭い部分色空間の範囲内に収ま
るように入力色データを変換して補間演算用色データを
生成し、第1の表色系が表現可能な色空間よりも狭い部
分色空間を単位立方体に分割した格子点上の入力色デー
タに対応する出力色データを補間演算用パラメータとし
て用いて、補間演算用色データに対して補間演算を行う
ことにより、第1の表色系で表される入力色データを第
2の表色系で表される画像形成装置用の色データに変換
する色変換処理に用いられるパラメータを生成するとき
に、画像形成装置の色範囲を第1の表色系上で求め、第
1の表色系における画像形成装置の色範囲と所定の色範
囲とを比較し,所定の色範囲に含まれない色域が存在す
る場合には、所定の色範囲を拡大した色範囲を求め、拡
張した色範囲を部分色空間の範囲として生成し、また、
該部分色空間の範囲を単位立方体に分割した格子点上の
入力色データに対応する出力色データを補間演算用パラ
メータとして生成するので、sRGB64色データを画
像形成装置用の色データに変換する時のように、入力色
データで表現できる色の一部の色域しか使用されないよ
うな場合であっても、画像形成装置の色再現範囲に適し
た効率的な色変換用パラメータを作成することができ
る。
According to the tenth to seventeenth, nineteenth, and twenty-first aspects of the present invention, the first color system falls within a range of a partial color space narrower than a color space that can be expressed. In this manner, the input color data is converted to generate interpolation calculation color data, and the partial color space narrower than the color space that can be expressed by the first color system is divided into unit cubes into input color data on grid points. By using the corresponding output color data as interpolation calculation parameters and performing interpolation calculation on the interpolation calculation color data, the input color data represented by the first color system is converted by the second color system. When generating a parameter used in a color conversion process for converting color data to be represented into color data for an image forming apparatus, a color range of the image forming apparatus is obtained on a first color system, and The color range of the image forming apparatus is compared with a predetermined color range, and If the color gamut that is not included in the color range is present determines the color range obtained by enlarging a predetermined color range, and generates a color range that extends as a range of the partial color space, also,
Since output color data corresponding to input color data on grid points obtained by dividing the range of the partial color space into unit cubes is generated as an interpolation calculation parameter, sRGB 64 color data is converted into color data for an image forming apparatus. Even when only a part of the gamut of colors that can be represented by the input color data is used, it is possible to create efficient color conversion parameters suitable for the color reproduction range of the image forming apparatus. it can.

【0115】特に、請求項11記載の発明によれば、請
求項10記載の色変換用パラメータ生成装置において、
前記色範囲算出手段は、画像形成装置の色範囲を第1の
表色系上で求める際に、第2の表色系で表される多数の
画像形成装置用色データ群を第1の表色系に対応する色
データ群に変換し、該変換された色データ群から第1の
表色系における最大値,最小値を色成分ごとに求めるの
で、画像形成装置の色再現範囲を有効に活用した色変換
用パラメータを生成することができる。
In particular, according to the eleventh aspect of the present invention, in the color conversion parameter generating apparatus according to the tenth aspect,
The color gamut calculating means, when determining the color gamut of the image forming apparatus on the first color system, divides a number of image forming apparatus color data groups represented by the second color system into a first color system. Since the color data is converted into a color data group corresponding to the color system, and the maximum value and the minimum value in the first color system are obtained for each color component from the converted color data group, the color reproduction range of the image forming apparatus can be effectively set. The utilized color conversion parameters can be generated.

【0116】また、請求項12記載の発明によれば、請
求項10記載の色変換用パラメータ生成装置において、
前記部分色空間算出手段は、部分色空間の軸ごとの最小
値及び最大値を2n(n=整数)の整数倍の値で定義し
て、部分色空間の範囲を算出するので、上位ビットを用
いた単位立体の選択および下位ビットを用いた補間演算
ができ、高速処理化が可能となる。
According to the twelfth aspect of the present invention, in the color conversion parameter generating device according to the tenth aspect,
The partial color space calculation means calculates the range of the partial color space by defining the minimum value and the maximum value for each axis of the partial color space as integer multiples of 2 n (n = integer). Can be used to select a unit solid and to perform an interpolation operation using lower bits, thereby enabling high-speed processing.

【0117】また、請求項16記載の発明によれば、請
求項15記載の色変換用パラメータ生成装置において、
前記格子点生成手段は、部分色空間算出手段によって算
出された部分色空間を単位立方体に分割した格子点に、
少なくともホワイトポイント及びブラックポイントのい
ずれかが含まれるように、格子点を生成するようになっ
ているので、入力色データで表現できる色再現範囲の一
部分に対応したルックアップテーブルしか持たない場合
であっても、白や黒といった特定色に対する出力色を良
好に制御することができる。
According to the sixteenth aspect of the present invention, in the color conversion parameter generating device according to the fifteenth aspect,
The grid point generation unit is a grid point obtained by dividing the partial color space calculated by the partial color space calculation unit into unit cubes,
Since the grid points are generated so as to include at least one of the white point and the black point, there is a case where only a lookup table corresponding to a part of the color reproduction range that can be represented by the input color data is provided. However, it is possible to satisfactorily control the output color for a specific color such as white or black.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る画像処理システムの一例を示す図
である。
FIG. 1 is a diagram showing an example of an image processing system according to the present invention.

【図2】図1の画像処理システムにおけるコンピュータ
および画像処理装置の構成例を示す図である。
FIG. 2 is a diagram illustrating a configuration example of a computer and an image processing device in the image processing system of FIG. 1;

【図3】三角柱補間法を説明するための図である。FIG. 3 is a diagram for explaining a triangular prism interpolation method.

【図4】三角柱の辺上での補間演算を説明するための図
である。
FIG. 4 is a diagram for explaining an interpolation operation on a side of a triangular prism.

【図5】メモリマップ補間演算に用いられるルックアッ
プテーブルの構築手順の一例を示すフローチャートであ
る。
FIG. 5 is a flowchart showing an example of a procedure for constructing a look-up table used for a memory map interpolation operation.

【図6】本発明に係る色変換装置の構成例を示す図であ
る。
FIG. 6 is a diagram illustrating a configuration example of a color conversion device according to the present invention.

【図7】部分色空間を説明するための図である。FIG. 7 is a diagram illustrating a partial color space.

【図8】部分色空間の範囲設定の概念を説明するための
図である。
FIG. 8 is a diagram for explaining a concept of setting a range of a partial color space.

【図9】部分色空間の境界面への入力色データのマッピ
ングを説明するための図である。
FIG. 9 is a diagram for explaining mapping of input color data to a boundary surface of a partial color space.

【図10】部分色空間の範囲外の色空間を6つの四角錐
台領域に分割した例を示す図である。
FIG. 10 is a diagram illustrating an example in which a color space outside the range of the partial color space is divided into six truncated pyramid regions.

【図11】部分色空間の境界面への入力色データのマッ
ピングを説明するための図である。
FIG. 11 is a diagram for explaining mapping of input color data to a boundary surface of a partial color space.

【図12】図6の色変換装置による色変換方法を説明す
るためのフローチャートである。
FIG. 12 is a flowchart for explaining a color conversion method by the color conversion device of FIG. 6;

【図13】本発明に係る色変換用パラメータ生成装置の
構成例を示す図である。
FIG. 13 is a diagram showing a configuration example of a color conversion parameter generation device according to the present invention.

【図14】格子点が必ずホワイトポイントWPあるいは
ブラックポイントBPのいずれかを含むように設定する
例を示す図である。
FIG. 14 is a diagram illustrating an example in which a grid point is set to always include either a white point WP or a black point BP.

【図15】本発明の色変換用パラメータ生成方法を説明
するためのフローチャートである。
FIG. 15 is a flowchart illustrating a color conversion parameter generation method according to the present invention.

【図16】本発明の画像処理システムのハードウェア構
成例を示す図である。
FIG. 16 is a diagram illustrating a hardware configuration example of an image processing system according to the present invention.

【図17】従来の色変換装置の構成例を示す図である。FIG. 17 is a diagram illustrating a configuration example of a conventional color conversion device.

【符号の説明】[Explanation of symbols]

100 ディスプレイ 101 デジタルカメラ 102 スキャナ 103 コンピュータ 104 画像形成装置 200 画像処理装置 21 CPU 22 ROM 23 RAM 24 ハードディスク 30 情報記録媒体 31 媒体駆動装置 201 レンダリング処理部 202 バンドバッファ 203 色変換処理部 204 階調処理部 301 補間演算用色データ生成手段 302 補間演算手段 303 部分色空間情報記憶手段 304 ルックアップテーブル記憶手段 305 マッピング手段 400 色変換用パラメータ生成装置 401 測色データ記憶部 402 RGBデータ生成部 403 部分色空間設定部 404 格子点生成部 405 ルックアップテーブル算出部 REFERENCE SIGNS LIST 100 display 101 digital camera 102 scanner 103 computer 104 image forming device 200 image processing device 21 CPU 22 ROM 23 RAM 24 hard disk 30 information recording medium 31 medium drive device 201 rendering processing unit 202 band buffer 203 color conversion processing unit 204 gradation processing unit 301 Interpolation calculation color data generation means 302 Interpolation calculation means 303 Partial color space information storage means 304 Lookup table storage means 305 Mapping means 400 Color conversion parameter generation apparatus 401 Colorimetric data storage section 402 RGB data generation section 403 Partial color space Setting unit 404 Grid point generation unit 405 Lookup table calculation unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CE17 CE18 CH07 DA17 5C077 LL17 LL19 MP08 NP05 PP31 PP32 PP33 PP37 PP38 PQ12 PQ20 PQ22 PQ23 RR19 SS01 SS06 TT02 TT09 5C079 HB01 HB03 HB05 HB12 LA28 LB02 MA01 MA04 MA11 NA03 NA09 NA29  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B057 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CE17 CE18 CH07 DA17 5C077 LL17 LL19 MP08 NP05 PP31 PP32 PP33 PP37 PP38 PQ12 PQ20 PQ22 PQ23 RR19 SS01 H06 5TT02B01 H05 LA28 LB02 MA01 MA04 MA11 NA03 NA09 NA29

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 3つの色成分を持つ第1の表色系で表さ
れる入力色データを第2の表色系で表される画像形成装
置用の色データに変換する色変換装置において、第1の
表色系が表現可能な色空間よりも狭い部分色空間を単位
立方体に分割した格子点上の入力色データに対応する出
力色データを補間演算用パラメータとして記憶するルッ
クアップテーブル記憶手段と、部分色空間の範囲データ
を記憶する部分色空間情報記憶手段と、部分色空間情報
記憶手段から部分色空間の範囲データを読み取り、入力
色データを部分色空間にマッピングして補間演算用色デ
ータを生成する補間演算用色データ生成手段と、補間演
算用色データに基づいて前記ルックアップテーブル記憶
手段から補間演算用パラメータを読み出し、読み出した
補間演算用パラメータを用いて補間演算用色データに対
して補間演算を行うことにより画像形成装置用の色デー
タに変換する補間演算手段とを備えていることを特徴と
する色変換装置。
1. A color conversion apparatus for converting input color data represented by a first color system having three color components into color data for an image forming apparatus represented by a second color system, Lookup table storage means for storing output color data corresponding to input color data on lattice points obtained by dividing a partial color space smaller than a color space that can be expressed by the first color system into unit cubes as interpolation calculation parameters A partial color space information storage means for storing the partial color space range data; a partial color space range data read from the partial color space information storage means; An interpolation calculation color data generation unit for generating data; and an interpolation calculation parameter read from the lookup table storage unit based on the interpolation calculation color data. A color conversion device comprising: an interpolation operation unit that performs an interpolation operation on the color data for the interpolation operation by using the interpolation data to convert the color data into color data for an image forming apparatus.
【請求項2】 請求項1記載の色変換装置において、前
記補間演算用色データ生成手段は、入力色データが部分
色空間に含まれない場合に入力色データを部分色空間の
境界面上の色データに置き換えるマッピング手段を有し
ていることを特徴とする色変換装置。
2. The color conversion apparatus according to claim 1, wherein said interpolation calculation color data generation means converts the input color data on a boundary surface of the partial color space when the input color data is not included in the partial color space. A color conversion device comprising mapping means for replacing color data.
【請求項3】 請求項2記載の色変換装置において、前
記マッピング手段は、入力色データが部分色空間の範囲
をアンダーフローまたはオーバーフローした場合に、入
力色データを部分色空間の境界面上にクリッピングする
ことによってマッピングするようになっていることを特
徴とする色変換装置。
3. The color conversion device according to claim 2, wherein said mapping means places the input color data on a boundary surface of the partial color space when the input color data underflows or overflows the range of the partial color space. A color conversion device characterized in that mapping is performed by clipping.
【請求項4】 請求項2記載の色変換装置において、前
記マッピング手段は、第1の表色系が表現可能な色空間
から部分色空間を除いた領域を複数の四角錘台領域に分
割し、入力色データが複数の四角錘台領域に分割された
色空間のいずれに含まれるかを判定し、該判定結果に対
応した線形変換手段によって入力色データを部分色空間
の境界面上の色データに変換するようになっていること
を特徴とする色変換装置。
4. The color conversion device according to claim 2, wherein the mapping unit divides a region obtained by removing a partial color space from a color space that can be expressed by the first color system into a plurality of truncated pyramid regions. Determining whether the input color data is included in a color space divided into a plurality of truncated pyramid regions, and converting the input color data to a color on a boundary surface of the partial color space by linear conversion means corresponding to the determination result. A color conversion device characterized by converting the data into data.
【請求項5】 画像形成装置の色再現範囲を覆うような
色空間を部分色空間として定義し、部分色空間の範囲外
に位置する入力色データを部分色空間へマッピングして
補間演算用色データを生成し、該補間演算用色データに
メモリマップ補間演算を行なって、画像形成装置用の色
データに変換することを特徴とする色変換方法。
5. A color space that covers a color reproduction range of an image forming apparatus is defined as a partial color space, and input color data located outside the range of the partial color space is mapped to the partial color space to perform interpolation calculation. A color conversion method comprising: generating data; performing a memory map interpolation operation on the interpolation calculation color data; and converting the data into color data for an image forming apparatus.
【請求項6】 3つの色成分を持つ第1の表色系で表さ
れる入力色データを第2の表色系で表される画像形成装
置用の色データに変換する色変換方法において、第1の
表色系が表現可能な色空間よりも狭い部分色空間の範囲
内に収まるように入力色データを変換して補間演算用色
データを生成し、第1の表色系が表現可能な色空間より
も狭い部分色空間を単位立方体に分割した格子点上の入
力色データに対応する出力色データを補間演算用パラメ
ータとして用いて、補間演算用色データに対して補間演
算を行うことにより、画像形成装置用の色データに変換
することを特徴とする色変換方法。
6. A color conversion method for converting input color data represented by a first color system having three color components into color data for an image forming apparatus represented by a second color system. The input color data is converted so as to fall within the range of a partial color space narrower than the color space that can be expressed by the first color system, and color data for interpolation calculation is generated, so that the first color system can be expressed. Interpolation is performed on interpolation color data using output color data corresponding to input color data on grid points obtained by dividing a partial color space smaller than a simple color space into unit cubes, as interpolation calculation parameters. A color conversion method for converting the color data into color data for an image forming apparatus.
【請求項7】 請求項6記載の色変換方法において、前
記補間演算用色データは、入力色データが部分色空間に
含まれない場合には入力色データを部分色空間の境界面
上にマッピングして生成されることを特徴とする色変換
方法。
7. The color conversion method according to claim 6, wherein the input color data is mapped onto a boundary surface of the partial color space when the input color data is not included in the partial color space. A color conversion method characterized by being generated by performing
【請求項8】 請求項7記載の色変換方法において、前
記補間演算用色データは、入力色データが部分色空間の
領域をアンダーフローまたはオーバーフローした場合
に、入力色データを部分色空間の境界面上にクリッピン
グすることによってマッピングして生成されることを特
徴とする色変換方法。
8. The color conversion method according to claim 7, wherein the color data for interpolation calculation is obtained by dividing the input color data into a boundary of the partial color space when the input color data underflows or overflows a region of the partial color space. A color conversion method characterized by being generated by mapping by clipping on a surface.
【請求項9】 請求項7記載の色変換方法において、前
記補間演算用色データは、第1の表色系が表現可能な色
空間から部分色空間を除いた領域を複数の四角錘台領域
に分割し、入力色データが複数の四角錘台領域に分割さ
れた色空間のいずれに含まれるかを判定し、該判定結果
に対応した線形変換手段によって入力色データを部分色
空間の境界面上の色データに変換することによって生成
されることを特徴とする色変換方法。
9. The color conversion method according to claim 7, wherein the interpolation calculation color data includes a plurality of quadrangular truncated pyramid regions excluding a region excluding a partial color space from a color space that can be expressed by a first color system. The input color data is determined to be included in any of the color spaces divided into the plurality of quadrangular frustum regions, and the input color data is converted to the boundary surface of the partial color space by the linear conversion means corresponding to the determination result. A color conversion method characterized by being generated by converting the above color data.
【請求項10】 第1の表色系が表現可能な色空間より
も狭い部分色空間の範囲内に収まるように入力色データ
を変換して補間演算用色データを生成し、第1の表色系
が表現可能な色空間よりも狭い部分色空間を単位立方体
に分割した格子点上の入力色データに対応する出力色デ
ータを補間演算用パラメータとして用いて、補間演算用
色データに対して補間演算を行うことにより、第1の表
色系で表される入力色データを第2の表色系で表される
画像形成装置用の色データに変換する色変換処理に用い
られるパラメータを生成する色変換用パラメータ生成装
置であって、画像形成装置の色範囲を第1の表色系上で
求める色範囲算出手段と、第1の表色系における画像形
成装置の色範囲と所定の色範囲とを比較する比較手段
と、画像形成装置の色範囲のうち前記所定の色範囲に含
まれない色域が存在する場合には、所定の色範囲を拡張
して前記部分色空間の範囲を算出する部分色空間算出手
段と、該部分色空間の範囲を単位立方体に分割した格子
点上の入力色データに対応する出力色データを補間演算
用パラメータとして生成する補間演算用パラメータ生成
手段とを有していることを特徴とする色変換用パラメー
タ生成装置。
10. An interpolation operation color data is generated by converting input color data so as to fall within a partial color space narrower than a color space that can be expressed by a first color system. The output color data corresponding to the input color data on the grid points obtained by dividing the partial color space narrower than the color space that can be expressed by the color system into unit cubes is used as the interpolation calculation parameter. By performing an interpolation operation, a parameter used in a color conversion process for converting input color data represented by a first color system into color data for an image forming apparatus represented by a second color system is generated. A color conversion parameter generating device for calculating a color range of the image forming apparatus on a first color system, and a color range of the image forming apparatus and a predetermined color in the first color system. Comparing means for comparing the range and the color of the image forming apparatus When a color gamut that is not included in the predetermined color range exists in the range, a predetermined color range is extended to calculate a range of the partial color space; A parameter generating means for generating, as interpolation parameters, output color data corresponding to the input color data on the grid points obtained by dividing the range into unit cubes. apparatus.
【請求項11】 請求項10記載の色変換用パラメータ
生成装置において、前記色範囲算出手段は、画像形成装
置の色範囲を第1の表色系上で求める際に、第2の表色
系で表される多数の画像形成装置用色データ群を第1の
表色系に対応する色データ群に変換し、該変換された色
データ群から第1の表色系における最大値,最小値を色
成分ごとに求めることを特徴とする色変換用パラメータ
生成装置。
11. The color conversion parameter generation device according to claim 10, wherein said color range calculation means determines a color range of the image forming apparatus on a first color system. Are converted into a color data group corresponding to the first color system, and the maximum value and the minimum value in the first color system are converted from the converted color data group. Is calculated for each color component.
【請求項12】 請求項10記載の色変換用パラメータ
生成装置において、前記部分色空間算出手段は、部分色
空間の軸ごとの最小値及び最大値を2n(n=整数)の
整数倍の値で定義して、部分色空間の範囲を算出するこ
とを特徴とする色変換用パラメータ生成装置。
12. The color conversion parameter generation device according to claim 10, wherein said partial color space calculation means sets a minimum value and a maximum value for each axis of the partial color space to an integral multiple of 2 n (n = integer). A color conversion parameter generation device, wherein the parameter conversion device calculates a range of a partial color space by defining the range with a value.
【請求項13】 請求項10記載の色変換用パラメータ
生成装置において、前記部分色空間算出手段は、算出し
た部分色空間の範囲を、請求項1乃至請求項4のいずれ
か一項に記載の色変換装置に、部分色空間の範囲データ
として設定するようになっていることを特徴とする色変
換用パラメータ生成装置。
13. The color conversion parameter generation device according to claim 10, wherein said partial color space calculation means sets the range of the calculated partial color space to any one of claims 1 to 4. A color conversion parameter generation device, which is set in a color conversion device as range data of a partial color space.
【請求項14】 請求項10記載の色変換用パラメータ
生成装置において、前記補間演算用パラメータ生成手段
は、生成した補間演算用パラメータを、請求項1乃至請
求項4のいずれか一項に記載の色変換装置に、ルックア
ップテーブルとして設定するようになっていることを特
徴とする色変換用パラメータ生成装置。
14. The color conversion parameter generation device according to claim 10, wherein said interpolation calculation parameter generation means outputs the generated interpolation calculation parameter. A color conversion parameter generation device, which is set as a look-up table in the color conversion device.
【請求項15】 請求項10記載の色変換用パラメータ
生成装置において、前記補間演算用パラメータ生成手段
は、部分色空間算出手段によって算出された部分色空間
の範囲について格子点を生成する格子点生成手段と、格
子点生成手段によって生成された格子点に対応する出力
色データを補間演算用パラメータとして算出する補間演
算用パラメータ算出手段とを有していることを特徴とす
る色変換用パラメータ生成装置。
15. The color conversion parameter generation device according to claim 10, wherein the interpolation calculation parameter generation means generates grid points for a range of the partial color space calculated by the partial color space calculation means. Means for calculating color conversion parameters, the output color data corresponding to the grid points generated by the grid point generating means being calculated as interpolation calculation parameters. .
【請求項16】 請求項15記載の色変換用パラメータ
生成装置において、前記格子点生成手段は、部分色空間
算出手段によって算出された部分色空間を単位立方体に
分割した格子点に、少なくともホワイトポイント及びブ
ラックポイントのいずれかが含まれるように、格子点を
生成するようになっていることを特徴とする色変換用パ
ラメータ生成装置。
16. The color conversion parameter generation device according to claim 15, wherein the grid point generation unit includes at least a white point at a grid point obtained by dividing the partial color space calculated by the partial color space calculation unit into unit cubes. And generating a grid point so as to include any one of a black point and a black point.
【請求項17】 第1の表色系が表現可能な色空間より
も狭い部分色空間の範囲内に収まるように入力色データ
を変換して補間演算用色データを生成し、第1の表色系
が表現可能な色空間よりも狭い部分色空間を単位立方体
に分割した格子点上の入力色データに対応する出力色デ
ータを補間演算用パラメータとして用いて、補間演算用
色データに対して補間演算を行うことにより、第1の表
色系で表される入力色データを第2の表色系で表される
画像形成装置用の色データに変換する色変換処理に用い
られるパラメータを生成する色変換用パラメータ生成方
法であって、画像形成装置の色範囲を第1の表色系上で
求め、第1の表色系における画像形成装置の色範囲と所
定の色範囲とを比較し,所定の色範囲に含まれない色域
が存在する場合には、所定の色範囲を拡大した色範囲を
求め、拡張した色範囲を部分色空間の範囲として生成
し、また、該部分色空間の範囲を単位立方体に分割した
格子点上の入力色データに対応する出力色データを補間
演算用パラメータとして生成することを特徴とする色変
換用パラメータ生成方法。
17. An interpolation operation color data is generated by converting input color data so as to fall within a range of a partial color space narrower than a color space that can be expressed by a first color system. The output color data corresponding to the input color data on the grid points obtained by dividing the partial color space narrower than the color space that can be expressed by the color system into unit cubes is used as the interpolation calculation parameter. By performing an interpolation operation, a parameter used in a color conversion process for converting input color data represented by a first color system into color data for an image forming apparatus represented by a second color system is generated. A color conversion parameter generation method for determining a color range of an image forming apparatus on a first color system and comparing the color range of the image forming apparatus with the predetermined color range in the first color system. , If there is a color gamut that is not included in the predetermined color range A color range obtained by expanding a predetermined color range, generating an expanded color range as a range of a partial color space, and corresponding to input color data on a grid point obtained by dividing the range of the partial color space into a unit cube. A color conversion parameter generation method, wherein output color data to be generated is generated as interpolation calculation parameters.
【請求項18】 3つの色成分を持つ第1の表色系で表
される入力色データを第2の表色系で表される画像形成
装置用の色データに変換して画像形成装置に出力する画
像処理システムにおいて、3つの色成分を持つ第1の表
色系で表される入力色データを第2の表色系で表される
画像形成装置用の色データに変換するのに、請求項1乃
至請求項4のいずれか一項に記載の色変換装置が用いら
れることを特徴とする画像処理システム。
18. An image forming apparatus which converts input color data represented by a first color system having three color components into color data for an image forming apparatus represented by a second color system, In an output image processing system, input color data represented by a first color system having three color components is converted into color data for an image forming apparatus represented by a second color system. An image processing system using the color conversion device according to claim 1.
【請求項19】 3つの色成分を持つ第1の表色系で表
される入力色データを第2の表色系で表される画像形成
装置用の色データに変換して画像形成装置に出力する画
像処理システムにおいて、請求項10乃至請求項16の
いずれか一項に記載の色変換用パラメータ生成装置が用
いられることを特徴とする画像処理システム。
19. An image forming apparatus which converts input color data represented by a first color system having three color components into color data for an image forming device represented by a second color system, An image processing system for outputting, wherein the color conversion parameter generation device according to any one of claims 10 to 16 is used.
【請求項20】 3つの色成分を持つ第1の表色系で表
される入力色データを第2の表色系で表される画像形成
装置用の色データに変換する色変換処理において、第1
の表色系が表現可能な色空間よりも狭い部分色空間の範
囲内に収まるように入力色データを変換して補間演算用
色データを生成し、第1の表色系が表現可能な色空間よ
りも狭い部分色空間を単位立方体に分割した格子点上の
入力色データに対応する出力色データを補間演算用パラ
メータとして用いて、補間演算用色データに対して補間
演算を行うことにより、画像形成装置用の色データに変
換する処理をコンピュータに実行させるプログラムを記
録したコンピュータ読み取り可能な記録媒体。
20. A color conversion process for converting input color data represented by a first color system having three color components into color data for an image forming apparatus represented by a second color system, First
The input color data is converted so as to fall within a range of a partial color space narrower than the color space that can be expressed by the first color system, and color data for interpolation calculation is generated. By performing, as an interpolation calculation parameter, output color data corresponding to input color data on grid points obtained by dividing a partial color space smaller than the space into unit cubes, and performing interpolation calculation on the interpolation calculation color data. A computer-readable recording medium in which a program for causing a computer to execute a process of converting color data for an image forming apparatus is recorded.
【請求項21】 第1の表色系が表現可能な色空間より
も狭い部分色空間の範囲内に収まるように入力色データ
を変換して補間演算用色データを生成し、第1の表色系
が表現可能な色空間よりも狭い部分色空間を単位立方体
に分割した格子点上の入力色データに対応する出力色デ
ータを補間演算用パラメータとして用いて、補間演算用
色データに対して補間演算を行うことにより、第1の表
色系で表される入力色データを第2の表色系で表される
画像形成装置用の色データに変換する色変換処理に用い
られるパラメータを生成する色変換用パラメータ生成処
理であって、画像形成装置の色範囲を第1の表色系上で
求め、第1の表色系における画像形成装置の色範囲と所
定の色範囲とを比較し,所定の色範囲に含まれない色域
が存在する場合には、所定の色範囲を拡大した色範囲を
求め、拡張した色範囲を部分色空間の範囲として生成
し、また、該部分色空間の範囲を単位立方体に分割した
格子点上の入力色データに対応する出力色データを補間
演算用パラメータとして生成する処理をコンピュータに
実行させるプログラムを記録したコンピュータ読み取り
可能な記録媒体。
21. Interpolation color data is generated by converting input color data so as to fall within a range of a partial color space narrower than a color space that can be expressed by a first color system. The output color data corresponding to the input color data on the grid points obtained by dividing the partial color space narrower than the color space that can be expressed by the color system into unit cubes is used as the interpolation calculation parameter. By performing an interpolation operation, a parameter used in a color conversion process for converting input color data represented by a first color system into color data for an image forming apparatus represented by a second color system is generated. In the color conversion parameter generation processing, a color range of the image forming apparatus is obtained on a first color system, and the color range of the image forming apparatus in the first color system is compared with a predetermined color range. , If there is a color gamut that is not included in the predetermined color range A color range obtained by expanding a predetermined color range, generating an expanded color range as a range of a partial color space, and corresponding to input color data on a grid point obtained by dividing the range of the partial color space into a unit cube. A computer-readable recording medium in which a program for causing a computer to execute a process of generating output color data to be used as an interpolation calculation parameter is recorded.
JP2000375768A 2000-12-11 2000-12-11 Color converter and color conversion method, parameter generator for color conversion and its method, image processing system and recording medium Pending JP2002185804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000375768A JP2002185804A (en) 2000-12-11 2000-12-11 Color converter and color conversion method, parameter generator for color conversion and its method, image processing system and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000375768A JP2002185804A (en) 2000-12-11 2000-12-11 Color converter and color conversion method, parameter generator for color conversion and its method, image processing system and recording medium

Publications (1)

Publication Number Publication Date
JP2002185804A true JP2002185804A (en) 2002-06-28

Family

ID=18844733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000375768A Pending JP2002185804A (en) 2000-12-11 2000-12-11 Color converter and color conversion method, parameter generator for color conversion and its method, image processing system and recording medium

Country Status (1)

Country Link
JP (1) JP2002185804A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7327875B2 (en) 2002-11-27 2008-02-05 Kabushiki Kaisha Tosiba Method and apparatus for color conversion
US7474438B2 (en) 2003-07-31 2009-01-06 Hewlett-Packard Development Company, L.P. Wide gamut mapping method and apparatus
US8223410B2 (en) 2005-06-01 2012-07-17 Sony Corporation Imaging device and method of processing imaging result in imaging device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7327875B2 (en) 2002-11-27 2008-02-05 Kabushiki Kaisha Tosiba Method and apparatus for color conversion
US7474438B2 (en) 2003-07-31 2009-01-06 Hewlett-Packard Development Company, L.P. Wide gamut mapping method and apparatus
US8223410B2 (en) 2005-06-01 2012-07-17 Sony Corporation Imaging device and method of processing imaging result in imaging device

Similar Documents

Publication Publication Date Title
JP4645662B2 (en) Color conversion table creation program, interpolation calculation program, color conversion table creation method, interpolation calculation method, color conversion device, and printing device
US7016530B2 (en) Image processing method, image processing apparatus, and programs thereof
JP2008219791A (en) Image processor, image processing method, program, and recording medium
JP2004180013A (en) Color conversion device and color conversion method
JP2004009480A (en) Color image processing device, color image processing method, and recording medium
JP4974853B2 (en) Image processing apparatus, image processing method, and program
EP1465407A1 (en) Method of producing color conversion table, image processing device, image processing method, program and recording medium
JP2007028148A (en) Apparatus, method and program for color conversion, and recording medium
JP2004180027A (en) Method of generating color separation table
JP2009055102A (en) Image forming apparatus, color data converting method and color data conversion program
JP2005286904A (en) Device link profile making method, its device and image processing device
JP2010074317A (en) Image processor, image processing program, and image processing method
JP4618683B2 (en) Image processing apparatus, gamut correction method, image processing method, program, and recording medium
JP4396479B2 (en) A correction processing method and an image processing apparatus in an image processing apparatus.
JPH10210312A (en) Color converter, color conversion method and medium with color conversion program recorded
JP2007194810A (en) Image processing device
JP2002185804A (en) Color converter and color conversion method, parameter generator for color conversion and its method, image processing system and recording medium
JP2011155352A (en) Image processor, image processing method and computer-executable program
JP4999527B2 (en) Color conversion apparatus and method
US6556312B1 (en) Data converter and method
JPH0795427A (en) Method and device for picture processing
JP2009296139A (en) Image processor, image processing method and computer program
JPH10126636A (en) Color image processing method and processing unit
JP4740164B2 (en) Image processing apparatus, image processing method, and image processing program
JP2005005802A (en) Color image processing apparatus, color image processing method, program, and recording medium