JP4553259B2 - Image processing apparatus, image processing method, program, and recording medium - Google Patents

Image processing apparatus, image processing method, program, and recording medium Download PDF

Info

Publication number
JP4553259B2
JP4553259B2 JP2005378379A JP2005378379A JP4553259B2 JP 4553259 B2 JP4553259 B2 JP 4553259B2 JP 2005378379 A JP2005378379 A JP 2005378379A JP 2005378379 A JP2005378379 A JP 2005378379A JP 4553259 B2 JP4553259 B2 JP 4553259B2
Authority
JP
Japan
Prior art keywords
color
output value
grid point
gamut
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005378379A
Other languages
Japanese (ja)
Other versions
JP2007181012A (en
Inventor
寿夫 白沢
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 JP2005378379A priority Critical patent/JP4553259B2/en
Publication of JP2007181012A publication Critical patent/JP2007181012A/en
Application granted granted Critical
Publication of JP4553259B2 publication Critical patent/JP4553259B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、任意のカラー画像信号を、色再現範囲が制限されたカラー画像出力装置の色に補正する画像処理装置、画像処理方法、プログラム及び記録媒体に関し、カラーファクシミリ、カラープリンタ、カラーハードコピーなどの色変換装置や、ワークステーション上で稼動するカラープリンタ用ソフトウェアなどに好適な技術に関する。   The present invention relates to an image processing apparatus, an image processing method, a program, and a recording medium for correcting an arbitrary color image signal to a color of a color image output apparatus with a limited color reproduction range, and relates to a color facsimile, a color printer, and a color hard copy. The present invention relates to a technique suitable for a color conversion device such as a color printer and software for a color printer operating on a workstation.

一般に、コンピュータシステム等においてモニタに表示された画像をプリンタから印刷出力する際には、モニタとプリンタの色再現域が大きく異なるため、モニタ表示色と印刷色における色の見えが略等しくなるように調整する、いわゆるカラーマッチング処理が必要となる。カラーマッチング処理としては例えば、モニタとプリンタの色特性を考慮した多次元ルックアップテーブル(以下、色変換テーブル)を参照し、補間演算を行う色変換方法が知られている。   In general, when an image displayed on a monitor is printed out from a printer in a computer system or the like, the color reproduction range of the monitor and the printer is greatly different, so that the color appearance of the monitor display color and the print color is substantially equal. A so-called color matching process for adjustment is required. As color matching processing, for example, a color conversion method is known in which an interpolation operation is performed with reference to a multi-dimensional lookup table (hereinafter referred to as a color conversion table) in consideration of color characteristics of a monitor and a printer.

しかし、上記色変換テーブルを作成する際の処理において、様々なノイズが発生し、作成された色補正テーブルの値に混入してしまうことがある。例えば、モニタとプリンタの色再現域の違いを補正する色域マッピング処理では、プリンタの色域形状が複雑なために色変換テーブルを適切に制御することができずノイズの原因になることがある。また、プリンタの色信号とデバイス非依存の色信号の対応関係をモデル化した色予測式の誤差がノイズ発生原因となることもある。上記のような理由により発生したノイズが色変換テーブルに混入してしまうと、テーブルの値の変化が滑らかでなくなる。その結果、色変換後の画像において階調変化が滑らかでなくなり、前記画像をプリンタで印刷した場合、擬似輪郭等の問題が発生しやすくなる。   However, in the process of creating the color conversion table, various noises may be generated and mixed in the values of the created color correction table. For example, in the color gamut mapping process that corrects the difference between the color gamuts of the monitor and the printer, the color gamut shape of the printer is complicated, so that the color conversion table cannot be properly controlled and may cause noise. . An error in a color prediction equation that models the correspondence between a printer color signal and a device-independent color signal may cause noise. If noise generated for the above reason is mixed in the color conversion table, the change in the value of the table is not smooth. As a result, gradation changes in the image after color conversion are not smooth, and problems such as pseudo contours are likely to occur when the image is printed by a printer.

そこで色変換テーブルのノイズを除去するため、従来から色変換テーブルの値に対し平滑化処理を行う方法が提案されている。例えば、特許文献1では、スキャナで読み取ったデータをもとに3次元平滑化フィルタを用いてLUTを作成する方式を提案し、特許文献2では、格子点データの演算結果を平滑化してパラメータを作成する方式を提案し、特許文献3では、色変換パラメータを平滑化条件に従って平滑化する方式を提案し、特許文献4では、平滑化程度評価関数を用いて色補正テーブルを生成する方式を提案している。   Thus, in order to remove noise from the color conversion table, a method of performing a smoothing process on the value of the color conversion table has been proposed. For example, Patent Document 1 proposes a method of creating an LUT using a three-dimensional smoothing filter based on data read by a scanner, and Patent Document 2 smoothes the calculation result of lattice point data and sets parameters. Patent Document 3 proposes a method for smoothing color conversion parameters according to smoothing conditions, and Patent Document 4 proposes a method for generating a color correction table using a smoothing degree evaluation function. is doing.

特開平8−275007号公報JP-A-8-275007 特開2001−144981号公報JP 2001-144981 A 特開2003−179764号公報JP 2003-179664 A 特開2003−204443号公報JP 2003-204443 A

従来の平滑化方法では、入力色信号をプリンタが再現可能な色信号に変換する補間演算用三次元ルックアップテーブルを作成し、その三次元ルックアップテーブルの出力値を単純平均化、或いは重み付け平均化するものである。しかし、プリンタが再現可能な色信号に変換するガマット圧縮処理自体が非線形な色変換処理であり、平滑化すべきではない格子点も含まれている。その例を図15に示す。図15では、入力色空間の格子点データP0、P1、P2は、ガマット処理によりG0、G1、G2に変換されて、そのG0、G1、G2に対応する出力信号値が三次元ルックアップテーブルの格子点出力として記述されているものとする。この場合、P1に対する格子点出力値をP0、P1に対する格子点出力値で平滑化したとすると、図15のXの色に置き換えられてしまう。本来P1に対する出力値はG1のようにプリンタの最高彩度色を出力すべきにもかかわらず、平滑化処理によって彩度低下が生じていることがわかる。また、連続性を確保するため何度も繰り返し平滑化を行うと、格子点出力値の連続性は向上するが、三次元ルックアップテーブルの分割数を少なくするのと同様の状況となり、色変換精度も低下してしまう。   In the conventional smoothing method, a three-dimensional lookup table for interpolation calculation that converts the input color signal into a color signal that can be reproduced by the printer is created, and the output value of the three-dimensional lookup table is simply averaged or weighted average It is to become. However, the gamut compression process itself that converts the color signal into a reproducible color signal is a non-linear color conversion process, and includes lattice points that should not be smoothed. An example is shown in FIG. In FIG. 15, lattice point data P0, P1, and P2 in the input color space are converted into G0, G1, and G2 by gamut processing, and output signal values corresponding to the G0, G1, and G2 are stored in the three-dimensional lookup table. Assume that it is described as a grid point output. In this case, if the grid point output value for P1 is smoothed by the grid point output values for P0 and P1, the color is replaced with the color X in FIG. It can be seen that although the output value for P1 originally should output the maximum saturation color of the printer as in G1, saturation reduction has occurred due to the smoothing process. Also, smoothing over and over again to ensure continuity improves the continuity of the grid point output value, but it becomes the same situation as reducing the number of divisions in the three-dimensional lookup table, and color conversion Accuracy is also reduced.

本発明は上記課題に鑑みてなされたもので、
本発明の目的は、画像出力装置の色再現域形状が複雑な凸凹形状を含んでいても、期待した階調特性と略一致する色変換パラメータの作成を行う画像処理装置、方法、プログラムおよび記録媒体を提供することにある。
The present invention has been made in view of the above problems,
An object of the present invention is to provide an image processing apparatus, method, program, and recording for creating a color conversion parameter that substantially matches the expected gradation characteristics even if the color gamut shape of the image output apparatus includes a complex uneven shape. To provide a medium.

本発明は、入力画像データによって表される色空間を格子状に分割した各格子点に、出力デバイスの第1の色再現域内の出力値(以下、格子点出力値)を対応づけた色変換テーブルにおいて、前記格子点出力値を修正する画像処理装置であって、前記第1の色再現域よりも少ない色データで前記出力デバイスの第2の色再現域を記述する色再現域記述手段と、前記各格子点に、前記出力デバイスの前記第2の色再現域内の出力値(格子点出力値)を対応づけた参照テーブルを作成する参照テーブル作成手段と、前記参照テーブルの注目格子点の出力値と隣接格子点の出力値の変化量を求める変化量算出手段と、前記変化量算出手段で算出した変化量に基づいて、前記色変換テーブルにおける注目格子点近傍の出力の重み係数を決定する重み係数決定手段と、前記重み係数を用いて前記色変換テーブルの格子点出力値を平滑化する平滑化手段とを有することを最も主要な特徴とする。
The present invention relates to a color in which an output value (hereinafter referred to as a grid point output value) in the first color gamut of the output device is associated with each grid point obtained by dividing the color space represented by the input image data in a grid pattern. An image processing apparatus for correcting the grid point output value in a conversion table, wherein the color gamut description means describes a second color gamut of the output device with less color data than the first color gamut. Reference table creating means for creating an output value (grid point output value) in the second color gamut of the output device associated with each grid point, and a target grid point of the reference table Based on the change amount calculated by the change amount calculating means, and a weight coefficient of the output value near the target lattice point in the color conversion table based on the change amount calculated by the change amount calculating means Determine the weight The number determining means, and most important; and a smoothing means for smoothing the lattice point output value of the color conversion table using the weighting factor.

本発明によれば、画像出力装置の色再現域形状が凹凸していても、期待した階調特性と略一致する色変換テーブルを作成でき、また、注目格子点と隣接格子点の相対的な関係を保った色変換テーブルを作成できる。 According to the present invention, even if the color gamut shape of the image output device is uneven, it is possible to create a color conversion table that substantially matches the expected gradation characteristics, and the relative grid points of interest and adjacent grid points are relative to each other. A color conversion table that maintains the relationship can be created.

以下、発明の実施の形態について図面により詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

実施例1:
画像処理システムの全体構成:
図1は、本発明に係る画像処理装置を用いた画像処理システムの構成例を示すブロック図である。図中、10はコンピュータ、11はディスプレイ、12は画像出力装置、13は測色計、14は色変換装置、15は色変換パラメータ記憶部、16は画像処理装置である。画像出力装置12は、画像データをプリントアウトするための出力装置であって、例えば、カラープリンタやカラー複写機といった画像形成装置を用いることができる。
Example 1:
Overall configuration of the image processing system:
FIG. 1 is a block diagram showing a configuration example of an image processing system using an image processing apparatus according to the present invention. In the figure, 10 is a computer, 11 is a display, 12 is an image output device, 13 is a colorimeter, 14 is a color conversion device, 15 is a color conversion parameter storage unit, and 16 is an image processing device. The image output apparatus 12 is an output apparatus for printing out image data. For example, an image forming apparatus such as a color printer or a color copying machine can be used.

画像処理システムの動作:
コンピュータ10は、コンピュータ内部の画像データを、画像出力装置12を用いてプリントアウトするために画像データを出力する。この画像データは、通常ディスプレイで表示するためにR(赤)、G(緑)、B(青)の色成分からなる色信号である。コンピュータ10から送信された画像データは、色変換装置14へ送信される。色変換装置14は、色変換パラメータ記憶部15から色変換パラメータを読み出して、画像出力装置へ送信可能な色信号に変換する。次に、変換された色信号を画像出力装置12に送信してプリント出力する。色変換パラメータ記憶部15に記憶されている色変換パラメータは書き換え可能であり、オペレータから色変換パラメータの作成が指示された場合には、画像処理装置16により色変換パラメータの作成処理が実行される。
Image processing system operation:
The computer 10 outputs the image data for printing out the image data inside the computer using the image output device 12. This image data is a color signal composed of R (red), G (green), and B (blue) color components for normal display. The image data transmitted from the computer 10 is transmitted to the color conversion device 14. The color conversion device 14 reads the color conversion parameters from the color conversion parameter storage unit 15 and converts them into color signals that can be transmitted to the image output device. Next, the converted color signal is transmitted to the image output device 12 and printed out. The color conversion parameters stored in the color conversion parameter storage unit 15 can be rewritten, and when the creation of the color conversion parameters is instructed by the operator, the image processing device 16 executes the color conversion parameter creation processing. .

上記の色変換装置14による色変換処理としては、三次元ルックアップテーブル(3D−LUT)を用いたメモリマップ補間法が一般的に用いられる。メモリマップ補間法とは、図2に示すように、入力色空間を同種類の立体図形(ここでは立方体)に分割し、入力色信号を含む立体図形の頂点に対応付けられた出力値(=格子点出力値)を用いて出力値を求める方式である。例えば、入力座標Pおける出力値を求めるには、前記入力の座標を含む立方体を選択し、該選択された立方体の8点の予め設定した格子点出力値と前記入力の前記立方体の中における位置(各頂点からの距離)に基づいて、線形補間を実施する。ここで、本実施例の場合、入力色信号は入力R(赤)、G(緑)、B(青)信号に相当し、出力Pは、Y(イエロー)、M(マゼンタ)、C(シアン)信号などに相当する。また、上記の格子点出力値は、後述する方法を用いて画像処理装置16によって予め計算によって求めておき、色変換パタメータ記憶部15に3D−LUTとして格納している。図2は立方体補間法を説明しているが、3D−LUTを用いたメモリマップ補間法としては、4面体補間、三角柱補間、立方体補間など各種提案されており、本発明ではいずれの方式を用いても構わない。   As the color conversion processing by the color conversion device 14, a memory map interpolation method using a three-dimensional lookup table (3D-LUT) is generally used. As shown in FIG. 2, the memory map interpolation method divides an input color space into three-dimensional figures of the same type (here, cubes), and outputs values (= This is a method for obtaining an output value using (grid point output value). For example, in order to obtain the output value at the input coordinates P, a cube including the coordinates of the input is selected, and eight grid point output values of the selected cube and positions of the input in the cube are selected. Linear interpolation is performed based on (distance from each vertex). In this embodiment, the input color signals correspond to the input R (red), G (green), and B (blue) signals, and the output P is Y (yellow), M (magenta), and C (cyan). ) Corresponds to a signal. Further, the grid point output value is obtained by calculation in advance by the image processing device 16 using a method described later, and is stored in the color conversion parameter storage unit 15 as a 3D-LUT. FIG. 2 illustrates a cube interpolation method. Various types of memory map interpolation methods using a 3D-LUT, such as tetrahedral interpolation, triangular prism interpolation, and cube interpolation, have been proposed, and any method is used in the present invention. It doesn't matter.

なお、上記画像処理システムでは、便宜上、画像データはディスプレイ表示のRGB信号としたが、本発明はこれに限定するものではなく、スキャナで読み取った画像データやデジタルカメラの画像データなどのデバイス信号でも構わないし、CIELAB(L*a*b*)などのデバイス非依存色空間でも適用できる。また、本発明の色変換装置14、色変換パラメータ記憶部15、画像処理装置16は、画像出力装置12の一部として実現しても良いし、コンピュータ10においてソフトウェアで実現することも可能である。例えば、コンピュータ内のプログラムとして存在するプリンタ・ドライバで、画像処理装置16の機能を実現することもできる。   In the image processing system described above, the image data is displayed as RGB signals for the sake of convenience. However, the present invention is not limited to this, and device signals such as image data read by a scanner or image data of a digital camera may be used. Of course, the present invention can also be applied to a device-independent color space such as CIELAB (L * a * b *). In addition, the color conversion device 14, the color conversion parameter storage unit 15, and the image processing device 16 according to the present invention may be realized as a part of the image output device 12 or may be realized by software in the computer 10. . For example, the function of the image processing apparatus 16 can be realized by a printer driver existing as a program in the computer.

画像処理装置16の構成:
図3は、画像処理装置16による色変換パラメータ作成方法のフローチャートを示す。画像処理装置16は、入力信号RGBデータと出力信号CMYデータとの対応関係を表した色変換プロファイルを作成する機能を有しており、図1に示すように測色計13が接続されている。
Configuration of the image processing device 16:
FIG. 3 shows a flowchart of a color conversion parameter creation method by the image processing apparatus 16. The image processing device 16 has a function of creating a color conversion profile representing the correspondence between the input signal RGB data and the output signal CMY data, and a colorimeter 13 is connected as shown in FIG. .

画像処理装置16は、ステップ101において、色再現特性を得るために色予測式を構築する。色予測式とは、画像出力装置の出力特性を数式でモデル化し、計算によって出力色信号から測色値を求められるようにしたものであり、例えば出力信号値(c、m、y)を計算によってデバイス独立色信号(例えば、L、a、b)に変換できるようにしたものである。色予測式を構築する一般的な方法は、画像出力装置で色パッチを出力し、出力パッチを分光測色計で測色する。次に、色パッチの測色データと出力色信号との関係を近似して色予測式を構築する。かかる色予測式としては、ニューラルネット、多次多項式、3D−LUTなどが使用できる。   In step 101, the image processing device 16 constructs a color prediction formula to obtain color reproduction characteristics. The color prediction formula is a model in which the output characteristics of the image output apparatus are modeled by mathematical formulas, and a colorimetric value can be obtained from the output color signal by calculation. For example, the output signal value (c, m, y) is calculated. Can be converted into device-independent color signals (for example, L, a, b). A general method for constructing a color prediction formula is to output a color patch with an image output device and measure the color of the output patch with a spectrocolorimeter. Next, a color prediction formula is constructed by approximating the relationship between the color measurement data of the color patch and the output color signal. As such a color prediction formula, a neural network, a multi-degree polynomial, a 3D-LUT, or the like can be used.

次に、ステップ102において、参照用の3D−LUTを作成する。この参照用3D−LUTは出力装置の色域形状を単純な多面体で記述して作成した色変換パラメータであり、ガマット圧縮処理後においても階調のがたつきの少ない色変換パラメータを容易に構築することができる。   Next, in step 102, a reference 3D-LUT is created. This reference 3D-LUT is a color conversion parameter created by describing the color gamut shape of the output device with a simple polyhedron, and easily constructs a color conversion parameter with less gradation after gamut compression processing. be able to.

次に、ステップ103において、色変換用3D−LUTを作成する。これは、出力装置の色域形状を精密に記述した色域情報を使って作成した3D−LUTである。一般に出力装置の色再現特性は非常に複雑であり、色域形状も複雑な凹凸形状となることが多い。   Next, in step 103, a color conversion 3D-LUT is created. This is a 3D-LUT created using color gamut information that precisely describes the color gamut shape of the output device. In general, the color reproduction characteristics of the output device are very complicated, and the color gamut shape is often a complicated uneven shape.

図4を用いてガマット形状と格子点出力値の関係を説明する。図4において、Siはガマット圧縮前の入力RGBデータを明度、彩度を軸とする色空間上に図示している。Siを簡易なプリンタ色再現域に圧縮した時の圧縮後の色をGi、精密なプリンタ色再現域に圧縮した時の圧縮後の色をRiで表している。ガマット圧縮する際の向きを一定とした場合、Giはその隣接格子点Gi−1、Gi+1と等間隔に並ぶことになるが、Riは隣接格子点Ri−1とRi+1との間隔が異なっている。入力データSiは等間隔にも関わらず、プリンタ出力結果は不均等になってしまい、結果として階調ムラが目立ち色再現性を低下させてしまう。   The relationship between the gamut shape and the grid point output value will be described with reference to FIG. In FIG. 4, Si represents input RGB data before gamut compression on a color space with lightness and saturation as axes. The compressed color when Si is compressed into a simple printer color gamut is expressed as Gi, and the compressed color when compressed into a precise printer color gamut is expressed as Ri. If the direction when the gamut compression is fixed, Gi is arranged at equal intervals with the adjacent lattice points Gi-1, Gi + 1, but Ri is different in the interval between the adjacent lattice points Ri-1 and Ri + 1. . In spite of the equal intervals of the input data Si, the printer output result becomes uneven, and as a result, uneven gradation is conspicuous and the color reproducibility is lowered.

そこで、ステップ104において、参照用3D−LUTの格子点出力値の連続性を参照しながら、色変換用3D−LUTを修正することにより階調連続性に優れた3D−LUTを構築する。以上の処理によって作成された色変換用3D−LUTは、色変換パラメータ記憶部15に保存されて、色変換装置14において色変換処理を行う際に使用される。   Therefore, in step 104, a 3D-LUT having excellent gradation continuity is constructed by correcting the color conversion 3D-LUT while referring to the continuity of the grid point output values of the reference 3D-LUT. The color conversion 3D-LUT created by the above processing is stored in the color conversion parameter storage unit 15 and used when the color conversion device 14 performs color conversion processing.

参照用3D−LUT作成方法の説明:
図5を用いて、参照用3D−LUTの作成方法を詳しく説明する。まず、ステップ201において、画像出力装置12の色再現域を簡易的に記述する。簡易的な記述方法とは、少ない色データのみで色再現域を記述することであり、例えば画像出力装置12のシアン、マゼンタ、イエロー、レッド、ブルー、グリーンのべた色及び紙白、ブラックの計8色の出力色データのみで色再現域を記述する(図6(a))。出力色のデータは実際にプリンタで8色を測色して求めても良いし、前述した色予測式を用いても求めることができる。8色で色再現域を記述する場合、図6(b)に示すように12面体で簡易的に記述されることになる。
Explanation of 3D-LUT creation method for reference:
A method for creating a reference 3D-LUT will be described in detail with reference to FIG. First, in step 201, the color gamut of the image output apparatus 12 is simply described. The simple description method is to describe the color gamut with only a small amount of color data. For example, the cyan, magenta, yellow, red, blue, and green solid colors of the image output device 12 and the paper white and black totals. A color gamut is described using only the eight output color data (FIG. 6A). Output color data may be obtained by actually measuring eight colors with a printer, or by using the color prediction formula described above. When a color gamut is described with eight colors, it is simply described with a dodecahedron as shown in FIG.

上記の色再現域記述の色空間としては、ガマット処理に適するようにCIE Lab空間やCIECAM空間などの知覚均等色空間を用いて記述する。図6(a)の例では、RGBCMYWBkの8色に対するCIECAMのJCH値を記述したデータ構造をとる。   The color space of the color gamut description described above is described using a perceptual uniform color space such as CIE Lab space or CIECAM space so as to be suitable for gamut processing. In the example of FIG. 6A, a CIECAM JCH value for eight colors of RGBCMYWBk is described.

次に、ステップ202〜ステップ206において、ステップ201で求めた色再現域に対してガマット処理を行って参照用3D−LUTを生成する。ステップ202〜ステップ206の処理は、ダイレクトマッピング方法を用いたガマット処理のフローを示している。ダイレクトマッピングとは、格子点1点ごとにガマット処理を行って、画像出力装置が再現可能な出力色を求める方法である。格子点Iに対してガマット圧縮を行うごとに、3D−LUTに記述を行う。以下、ガマット処理方法の例について説明する。   Next, in step 202 to step 206, a gamut process is performed on the color gamut obtained in step 201 to generate a reference 3D-LUT. The processing from step 202 to step 206 shows the flow of gamut processing using the direct mapping method. The direct mapping is a method of obtaining an output color that can be reproduced by the image output apparatus by performing gamut processing for each grid point. Every time gamut compression is performed on the grid point I, a description is made in the 3D-LUT. Hereinafter, an example of the gamut processing method will be described.

ガマット処理方法の具体例の説明:
(1)ガマット処理の概要
入力色空間(RGB空間)は画像出力装置が再現できないような色信号を含んでいる。そこで、ガマット処理を行って格子点Pi(j、c、h)を画像出力装置が再現可能な色信号Po(j’、c’、h’)に変換する(図7)。
次に、ガマット処理の全体フローについて説明する。図8は、ガマット処理方法の具体例を説明するフローチャート図である。まず、S301において、格子点Giの色信号値[r、g、b]をガマット処理用の色信号Pi(j、c、h)へ変換する。ガマット処理を行う色空間は、CIEで標準化されているLCH信号のように明度、彩度、色相に相当する色成分を有する色空間であれば他の色空間でもよいが、人間の視覚特性をより正確に反映したCIECAM02などのカラー・アピアランス・モデルを用いるのが望ましい。そこで、格子点Giの色信号値[r、g、b]をCIECAM02の明度J、彩度C、色相Hに準ずる色信号Pi(j、c、h)へ変換する。この変換方法については、CIEのテクニカルレポート(CIE 159)に詳述されている。
Description of specific example of gamut processing method:
(1) Outline of Gamut Processing The input color space (RGB space) includes color signals that cannot be reproduced by the image output apparatus. Therefore, gamut processing is performed to convert the grid points Pi (j, c, h) into color signals Po (j ′, c ′, h ′) that can be reproduced by the image output apparatus (FIG. 7).
Next, an overall flow of gamut processing will be described. FIG. 8 is a flowchart for explaining a specific example of the gamut processing method. First, in S301, the color signal value [r, g, b] at the lattice point Gi is converted into a color signal Pi (j, c, h) for gamut processing. The color space for performing gamut processing may be another color space as long as it has color components corresponding to lightness, saturation, and hue, as in the LCH signal standardized by CIE, but it has human visual characteristics. It is desirable to use a color appearance model such as CIECAM02 that more accurately reflects. Therefore, the color signal value [r, g, b] at the lattice point Gi is converted into a color signal Pi (j, c, h) according to the lightness J, saturation C, and hue H of CIECAM02. This conversion method is described in detail in the CIE Technical Report (CIE 159).

次に、S302において、ガマット処理前後での色味ができるだけ一致するようにPi(j、c、h)の色相hをh’に補正する。次に、ステップS303において、出力デバイスのガマット・データを参照しながら、色相一定で彩度圧縮を行い、出力色信号Po(j’、c’、h’)を求める。   Next, in S302, the hue h of Pi (j, c, h) is corrected to h ′ so that the colors before and after the gamut processing match as much as possible. Next, in step S303, with reference to the gamut data of the output device, saturation compression is performed with a constant hue to obtain an output color signal Po (j ', c', h ').

(2)各部の詳細説明
次に、ガマット処理の詳細を説明する。
色相補正(図8:S302)
ディスプレイ・デバイスのガマットとプリンタ・デバイスのガマットは形状が大きく異なり、入力色信号の中には出力デバイスで再現できないような色が多く存在する。このような色を色相一定で出力デバイスのガマットにマッピングすると、特に入力デバイスのガマットに含まれる色のうち彩度が最大になるような点(=最大彩度色)においてマッピング前後の色変わり(T→To)が目立ちやすいという傾向がある。
(2) Detailed description of each part Next, the detail of a gamut process is demonstrated.
Hue correction (FIG. 8: S302)
The gamut of the display device and the gamut of the printer device are greatly different in shape, and there are many colors that cannot be reproduced by the output device in the input color signal. When such colors are mapped to the gamut of the output device with a constant hue, the color change before and after the mapping (T), especially at the point where the saturation is the maximum among the colors included in the gamut of the input device (= maximum saturation color). → To) tends to stand out.

この減少について、図9を参照して説明する。図9(a)は彩度と色相の関係図、(b)は明度と彩度の関係図である。図9(b)では、出力デバイスの色相hiにおけるガマットと色相hoにおけるガマットを同じ二次元上に重ねて図示している。また、比較のため色信号Tを色相一定でマッピングしたときのマッピング色Toも図示している。図9を見ると、Tの色相hi上でマッピングされているToと、色相ho上の色Mとでは、明らかにMの方がTに近い色となり、色相を補正した方が望ましい。そこで、色変わりの目立ちやすい最大彩度色(図のTに相当)をできるだけ色変わりの目立たない色に変換するための色相補正テーブルを作成しておき、入力色信号Piに対して色相を補正する。このような色相補正テーブルは、入力信号の色相hを色相h’に変換する1次元ルックアップテーブルとして容易に構築できる。   This decrease will be described with reference to FIG. FIG. 9A is a relationship diagram between saturation and hue, and FIG. 9B is a relationship diagram between brightness and saturation. In FIG. 9B, the gamut in the hue hi and the gamut in the hue ho of the output device are shown superimposed on the same two dimensions. For comparison, a mapping color To when the color signal T is mapped with a constant hue is also illustrated. Referring to FIG. 9, between To mapped on the hue h of T and the color M on the hue ho, M is clearly closer to T, and it is desirable to correct the hue. Therefore, a hue correction table for converting the maximum saturation color (corresponding to T in the figure) that is prominent in color change into a color that is as inconspicuous as possible is created, and the hue is corrected for the input color signal Pi. Such a hue correction table can be easily constructed as a one-dimensional lookup table for converting the hue h of the input signal into the hue h ′.

彩度圧縮(図8:S303)
彩度圧縮処理では、色相補正後の入力色信号Pi(j、c、h’)を色相一定の面上でプリンタの色再現域内の色信号Po(j’、c’、h’)に変換する。PiとPoが同一色相上にあるので、彩度圧縮処理はPi(j、c)からPo(j’、c’)への二次元的な変換を行うものと考えることができる。ここで、出力デバイスの色再現範囲は12面体で記述されているため、Piとプリンタ色再現域内の点Xを結ぶ直線と12面体のうちの一平面との交点を求めることで、色再現域境界上の点への圧縮を行うことができる。かかるガマット圧縮方式としては、特許第3171081号公報などで提案されている計算方法を用いることによって実現することができる。
Saturation compression (Fig. 8: S303)
In the saturation compression processing, the input color signal Pi (j, c, h ′) after hue correction is converted into a color signal Po (j ′, c ′, h ′) within the color reproduction range of the printer on the surface of constant hue. To do. Since Pi and Po are on the same hue, it can be considered that the saturation compression process performs a two-dimensional conversion from Pi (j, c) to Po (j ′, c ′). Here, since the color reproduction range of the output device is described in a dodecahedron, the color reproduction area is obtained by obtaining the intersection of a straight line connecting Pi and the point X in the printer color reproduction area and one plane of the dodecahedron. Compression to a point on the boundary can be performed. Such a gamut compression method can be realized by using a calculation method proposed in Japanese Patent No. 3171081.

また、上記のごとくガマット外の色のみをガマット境界面にマッピングする方法以外にも、出力デバイスのガミュート外の入力色の階調を保存するように色空間全体を均等に圧縮写像するパーセプチャル・マッチングという方法を用いてもよい。   In addition to the above-described method of mapping only the color outside the gamut to the gamut boundary surface as described above, perceptual matching that uniformly compresses and maps the entire color space so as to preserve the gradation of the input color outside the gamut of the output device. You may use the method of.

以上説明したガマット変換処理により、出力色信号(j’、c’、h’)が求まると、前述した色予測式を用いて出力デバイス用の色信号CMYに変換することにより、参照用3D−LUTを作成することができる。   When the output color signal (j ′, c ′, h ′) is obtained by the gamut conversion process described above, the color signal CMY for the output device is converted by using the above-described color prediction formula, so that the reference 3D- An LUT can be created.

色変換用3D−LUT作成方法の説明:
色変換用3D−LUTの作成方法は、参照用3D−LUTの作成方法と色再現域データの作成方法が異なる以外は同じ処理とすることができる。そのため、ここでは色再現域データの作成方法について説明する。
(1)精密な色再現域の記述
精密な色再現域データは、前述の参照用3D−LUTに使用した12面体よりも多くの多面体を用いて色再現域を記述するものである。一例を図10に示す。図10に示すように所定の色相、明度における色域表面を覆う多面体(ポリゴン)の識別ID、ポリゴンを構成する頂点リスト、各頂点の出力色空間上の座標値及びPCS空間上の座標値などで表される。図10の例では、デバイス非依存色空間において明度を10分割、色相を30°おきの12分割し、分割した各明度、色相に属するポリゴンのIDを記述している。そして、各ポリゴンを構成する頂点のID番号が別のリストに登録されている。更に、頂点のID番号に対し、C、M、Y、L、a、bデータも対応付けている。なお、実際のプリンタの色再現域を精密に記述するには、明度、色相の分割数はもっと細かくなる。このような色域情報を予め作成しておくことにより、入力信号に対してガマット処理を行なう際に検索すべき多面体に高速にアクセスすることができる。
Explanation of 3D-LUT creation method for color conversion:
The creation method of the color conversion 3D-LUT can be the same except that the creation method of the reference 3D-LUT and the creation method of the color gamut data are different. Therefore, here, a method of creating color gamut data will be described.
(1) Description of precise color gamut The precise color gamut data describes the color gamut using more polyhedrons than the dodecahedron used in the reference 3D-LUT. An example is shown in FIG. As shown in FIG. 10, the identification ID of a polyhedron (polygon) covering the surface of the color gamut at a predetermined hue and brightness, the vertex list constituting the polygon, the coordinate value in the output color space of each vertex, the coordinate value in the PCS space, etc. It is represented by In the example of FIG. 10, the brightness is divided into 10 parts and the hue is divided into 12 parts every 30 ° in the device-independent color space, and IDs of polygons belonging to the divided lightness and hue are described. The ID numbers of vertices constituting each polygon are registered in another list. Furthermore, C, M, Y, L, a, and b data are also associated with the vertex ID number. It should be noted that in order to accurately describe the color gamut of an actual printer, the number of lightness and hue divisions becomes finer. By creating such color gamut information in advance, it is possible to access the polyhedron to be searched at high speed when performing gamut processing on the input signal.

(頂点リストの作成)
色予測式を用いてCMY空間の立方体表面上の格子点に対する測色データ(JCH値など)を求め、頂点ID、CMY座標値、JCH座標値のリストを作成する。立方体表面の格子点は、C、M、Yの3成分のうち2成分が0又は255であるような出力値の組み合わせを用いればよい。
(Create vertex list)
Colorimetric data (JCH values, etc.) for grid points on the cube surface in the CMY space is obtained using the color prediction formula, and a list of vertex IDs, CMY coordinate values, and JCH coordinate values is created. For the lattice points on the cube surface, a combination of output values such that two of the three components C, M, and Y are 0 or 255 may be used.

例えば、C、M、Yをそれぞれ5分割したCMY空間を考えたとすると、格子点の総数は6x6x6=216個になる。CMY色信号の範囲をC、M、Yともに[0、255]であるとすれば、CMYデバイス色空間における点(0、0、0)、(255、0、0)、(0、255、0)、(0、0、255)、(255、255、0)、(255、0、255)、(0、255、255)、(255、255、255)の8点から構成される立方体の表面が、対象のデバイスの色域であるため、表面上にある格子点のみを抽出すると、頂点リストに登録される頂点数は、216−4x4x4=152点となる。この152点の格子点に対して、色予測式を用いてCMY→JCH変換を行い、頂点リストを作成する。   For example, assuming a CMY space in which C, M, and Y are each divided into five, the total number of lattice points is 6 × 6 × 6 = 216. Assuming that the CMY color signal range is [0, 255] for C, M, and Y, the points (0, 0, 0), (255, 0, 0), (0, 255, 0), (0, 0, 255), (255, 255, 0), (255, 0, 255), (0, 255, 255), a cube composed of 8 points (255, 255, 255) Therefore, if only the grid points on the surface are extracted, the number of vertices registered in the vertex list is 216−4 × 4 × 4 = 152 points. A CMY → JCH conversion is performed on the 152 grid points using a color prediction formula to create a vertex list.

(ポリゴンリストの作成)
頂点リストを作成したら、次にデバイス色空間における立方体形状の色域を過不足なく覆うような複数のポリゴン(ここでは三角形)を決定する。この三角形は、頂点リストに登録されている頂点を3つ用いて定義する。ここでは、CMY色空間における立方体形状の色域を格子状に区切ることによって生じる色域表面上の最小単位となるすべての四角形を、対角線で分割することにより三角形を決定する。そして、これらの各三角形の頂点に対応する頂点リストのインデックスの3つ組を登録することによりポリゴンリストを作成する。従って、前述したようにC、M、Yを5分割している場合、ポリゴンの数は、5x5x6x2=300(個)になる。
(Create polygon list)
After the vertex list is created, a plurality of polygons (here, triangles) that cover the cubic color gamut in the device color space without excess or deficiency are determined. This triangle is defined using three vertices registered in the vertex list. Here, the triangle is determined by dividing all the quadrilaterals, which are the smallest units on the surface of the color gamut generated by dividing the cubic color gamut in the CMY color space into a grid, by diagonal lines. Then, a polygon list is created by registering a triple of vertex list indices corresponding to the vertices of each triangle. Accordingly, when C, M, and Y are divided into five as described above, the number of polygons is 5 × 5 × 6 × 2 = 300 (pieces).

以上の構成により、JCH色空間におけるCMYデバイスの色域表面上の頂点リストと、頂点リストのインデックスの3つ組で表された対象のCMYデバイスの色域を覆うポリゴンリストを得ることができる。しかし、頂点リストとポリゴンリストのみでは、任意の明度、色相におけるポリゴンを特定する際に多大な演算を要するため、更にポリゴンのIDを明度、色相に対応付ける。例えば、ID=1のポリゴンを構成する三角形の3頂点のJCH座標値が、(90、70、39)、(85、75、39)、(80、80、32)であるとする。   With the above configuration, it is possible to obtain a polygon list that covers the color gamut of the target CMY device represented by a triple of the vertex list on the gamut surface of the CMY device in the JCH color space and the vertex list index. However, since only a vertex list and a polygon list require a large amount of calculation when specifying a polygon in an arbitrary brightness and hue, the polygon ID is further associated with the brightness and hue. For example, it is assumed that the JCH coordinate values of the three vertices of the triangle constituting the polygon with ID = 1 are (90, 70, 39), (85, 75, 39), (80, 80, 32).

このポリゴンは、明度80−90、色相32°−39°に位置しているため、図10の表において色相30°、明度80に該当するメモリにポリゴンID=1を登録する。上記を全てのポリゴンに対して実行することにより図10の表が完成する。このような関連付けを行なっておくことにより、ガマット処理をより高速に行うことができる。   Since this polygon is located at lightness 80-90 and hue 32 ° -39 °, polygon ID = 1 is registered in the memory corresponding to hue 30 ° and lightness 80 in the table of FIG. The above table is executed for all the polygons to complete the table of FIG. By performing such association, gamut processing can be performed at higher speed.

なお、上述の説明では、多面体を表現するデータ構造として頂点リスト及びポリゴンリストを使用したが、本発明はこれに限定されるものではなく、対象の色域を表現できるデータ構造であればどのようなデータ構造を用いてもよい。例えば、頂点リストとポリゴンリストを分けずに、各ポリゴンを直接3つの頂点の座標で表すようにしてもよい。   In the above description, the vertex list and the polygon list are used as the data structure that represents the polyhedron. However, the present invention is not limited to this, and any data structure that can represent the target color gamut is used. Various data structures may be used. For example, each polygon may be directly represented by the coordinates of three vertices without dividing the vertex list and the polygon list.

以上の方法で、精密な色再現域データを構築できたら、参照用3D−LUTの作成処理と同様にガマット処理を行って色変換用3D−LUTを作成する。また、ガマット処理を行う制御パラメータは参照用3D−LUT作成時と同じとし、色相補正テーブルについても同じテーブルを使うこととする。   When precise color gamut data can be constructed by the above method, the color conversion 3D-LUT is created by performing gamut processing in the same manner as the creation of the reference 3D-LUT. The control parameters for performing the gamut processing are the same as those at the time of creating the reference 3D-LUT, and the same table is used for the hue correction table.

色変換用3D−LUTの修正方法の説明:
次に、本発明の特徴である色変換用3D−LUTの修正方法について説明する。前述したようにガマット形状に局所的な凹凸がある場合、格子点出力値ががたつきを含んでしまい、滑らかに変化しない問題が生じる。そこで、がたつきの生じていない参照用3D−LUTの特性を反映するように色変換用3D−LUTの修正を行う。
Explanation of correction method of color conversion 3D-LUT:
Next, a method for correcting the color conversion 3D-LUT, which is a feature of the present invention, will be described. As described above, when local irregularities are present in the gamut shape, there is a problem that the grid point output value includes shakiness and does not change smoothly. Therefore, the color conversion 3D-LUT is corrected so as to reflect the characteristics of the reference 3D-LUT in which no rattling occurs.

図11は、色変換用3D−LUTの修正処理を説明するフローチャートである。図中Gnは格子点の総数、Cnは出力色数である。本実施例では、格子点出力値がC、M、Yの3信号であるので、出力色数Cnは3となるが、勿論CMYKの4色の場合には、Cn=4となる。S404及びS405は、出力色cs、格子点iについて、色変換用3D−LUTの出力値を、重みつき平滑化を行うものであり、全ての出力色、格子点に対して繰り返し平滑化を行う処理である。 FIG. 11 is a flowchart for explaining the color conversion 3D-LUT correction processing. In the figure, Gn is the total number of grid points, and Cn is the number of output colors. In this embodiment, since the grid point output values are 3 signals of C, M, and Y, the number of output colors Cn is 3, but of course, in the case of 4 colors of CMYK, Cn = 4. S 404 and S 405 perform weighted smoothing on the output value of the color conversion 3D-LUT for the output color cs and the grid point i, and iteratively smoothes all output colors and grid points. It is a process to perform.

S404では、参照用3D−LUTの注目格子点iの出力値とその隣接格子点jの出力値との差分値Δ(i、j)を計算する。例えば、図12(a)に示す注目格子点iでは、隣接する格子点は26点存在する。そこで、その26点と注目格子点との差分値Δ(i、j)を計算する。注目格子点iのシアン出力値が100、隣接格子点jのシアン出力値が105であれば、Δ(i、j)=5となる。上記の手順で26点との差分値をそれぞれ求めた後、S405で色変換用3D−LUTの注目格子点iの出力値を計算する。この出力値の計算にはガウシアンフィルタを用いるが、ガウシアンフィルタの重み係数は、S404で求めた差分値Δ(i、j)を用いて計算する。即ち、Δ(i、j)の標準偏差σとすると、隣接格子点jの重み係数Wjは
In S404, a difference value Δ (i, j) between the output value of the target lattice point i of the reference 3D-LUT and the output value of the adjacent lattice point j is calculated. For example, at the target lattice point i shown in FIG. 12A, there are 26 adjacent lattice points. Therefore, a difference value Δ (i, j) between the 26 points and the target lattice point is calculated. If the cyan output value of the target lattice point i is 100 and the cyan output value of the adjacent lattice point j is 105, Δ (i, j) = 5. After obtaining the difference values from the 26 points in the above procedure, the output value of the target lattice point i of the color conversion 3D-LUT is calculated in S405. The output value is calculated using a Gaussian filter, and the weighting coefficient of the Gaussian filter is calculated using the difference value Δ (i, j) obtained in S404. That is, when the standard deviation σ of Δ (i, j) is set, the weight coefficient Wj of the adjacent grid point j is

Figure 0004553259
として求める。ここで、ガウシンアンフィルタの計算には、Δ(i、i)も使用するため、重み係数は計27個になる。
次に、重み係数の総和が1にするために、
Figure 0004553259
Asking. Here, since Δ (i, i) is also used in the calculation of the Gaussian filter, there are a total of 27 weighting factors.
Next, in order to set the sum of the weighting factors to 1,

Figure 0004553259
により、Wjの総和を計算し、次式により平滑化後の格子点出力値LUTtを算出する。但し、LUTc(j、cs)は色変換用3D−LUTの格子点jの出力値、LUTt(j、cs)は平滑化後の3D−LUTの格子点jの出力値である。
Figure 0004553259
Thus, the sum of Wj is calculated, and the grid point output value LUTt after smoothing is calculated by the following equation. However, LUTc (j, cs) is the output value of the grid point j of the 3D-LUT for color conversion, and LUTt (j, cs) is the output value of the grid point j of the 3D-LUT after smoothing.

Figure 0004553259
上記の平滑化処理の場合、隣接格子点は26個であったが、入力色空間の外郭面上の格子点の場合、隣接格子点として26点より少なくなる。例えば、図12(b)の例では隣接格子点として8点しかない。また、入力色空間の外郭辺上の格子点で2個、入力色空間の頂点では隣接格子点は0である。そのため、格子点の座標位置に応じて適切な隣接格子点を選択して平滑化を行う。8頂点の場合には平滑化は行わず、色変換用3D−LUTの出力値をそのまま使用するようにする。
Figure 0004553259
In the case of the above smoothing process, there are 26 adjacent grid points, but in the case of grid points on the outer surface of the input color space, there are fewer than 26 adjacent grid points. For example, in the example of FIG. 12B, there are only 8 adjacent grid points. In addition, two grid points on the outer edge of the input color space, and adjacent grid points are 0 at the vertices of the input color space. Therefore, smoothing is performed by selecting an appropriate adjacent grid point according to the coordinate position of the grid point. In the case of 8 vertices, smoothing is not performed and the output value of the color conversion 3D-LUT is used as it is.

以上の処理により、参照用3D−LUTの格子点出力値の連続性を反映したような色変換用3D−LUTを作成することができ、階調のがたつきの少ない色再現を行うことができる。また、上記の実施例では、注目格子点と隣接格子点の出力値の差分値を参照して平滑化処理を行ったが、差分値の代わりに色差を用いて重み係数を求めるようにしても構わない。   Through the above processing, a color conversion 3D-LUT that reflects the continuity of the grid point output values of the reference 3D-LUT can be created, and color reproduction with less shaky gradation can be performed. . In the above embodiment, the smoothing process is performed by referring to the difference value between the output value of the target lattice point and the adjacent lattice point. However, the weight coefficient may be obtained using the color difference instead of the difference value. I do not care.

実施例2:
上記の実施例では、全ての格子点を順に平滑化を行うようにしていた。しかし、平滑化の手順はこれに限らず、格子点出力値の不連続性が目立つ格子点から平滑化処理を行うようにしても良い。
Example 2:
In the above embodiment, all the lattice points are sequentially smoothed. However, the smoothing procedure is not limited to this, and the smoothing process may be performed from the grid point where the discontinuity of the grid point output value is conspicuous.

図13は、本実施例のフローチャートを示す。まず、S501〜S506の繰り返し処理によって、格子点iの平滑化処理を行う。S503の差分値計算及び、S504の平滑化処理方法は実施例1と同様である。次に、S505において平滑化後の格子点出力値LUTtと平滑化前の格子点出力値LUTcの差分を求め、差分値リストに記述する。差分値リストには、格子点番号、差分値、色変換用3D−LUTの出力値などが対応付けられて記述されているものとする。この差分値が大きい方が、参照用3D−LUTと色変換用3D−LUTの連続性が一致しておらず平滑化の影響が大きい。そこで、S507〜S510で、差分値の大きい格子点データから順に平滑化処理を行うようにする。   FIG. 13 shows a flowchart of this embodiment. First, the smoothing process of the lattice point i is performed by the repetition process of S501 to S506. The difference value calculation in S503 and the smoothing processing method in S504 are the same as those in the first embodiment. Next, in S505, the difference between the grid point output value LUTt after smoothing and the grid point output value LUTc before smoothing is obtained and described in the difference value list. In the difference value list, it is assumed that grid point numbers, difference values, output values of the color conversion 3D-LUT, and the like are associated with each other. When the difference value is larger, the continuity between the reference 3D-LUT and the color conversion 3D-LUT is not consistent, and the influence of smoothing is greater. Therefore, in S507 to S510, the smoothing process is performed in order from the grid point data having the largest difference value.

S505では、差分値を格子点のID順に記述しているので、S507で降順に並べ替えを行う。そして、平滑化処理は常に差分値リストの先頭、即ち差分値が最大の格子点に対して行うようにしている。十分に平滑化が行われたか否かを判定するため、S508で、最大の差分値が閾値MAXD以下か否かを判定する。ここで、最大差分値がMAXD以下ならば処理を終了する。さもなければ、差分値が最大である格子点kについて、前述のガウシアンフィルタを用いた平滑化処理を行い、色変換用3D−LUTを書き換える。平滑化が終わると、格子点k及びその隣接格子点に対する差分値が変わるため、差分値リストの更新を行う。例えば、格子点kの隣接格子点が26点ある場合には、格子点kを含めて27個の格子点に対する差分値リストを更新する。以上を最大の差分値が閾値MAXD以下になるまで繰り返して、色変換用3D−LUTを構築する。   In S505, since the difference values are described in the order of the grid point IDs, the sorting is performed in descending order in S507. The smoothing process is always performed on the top of the difference value list, that is, the lattice point with the largest difference value. In order to determine whether or not smoothing has been sufficiently performed, in S508, it is determined whether or not the maximum difference value is equal to or less than a threshold value MAXD. If the maximum difference value is equal to or less than MAXD, the process ends. Otherwise, the smoothing process using the Gaussian filter described above is performed on the lattice point k having the maximum difference value, and the color conversion 3D-LUT is rewritten. When the smoothing is completed, the difference value for the lattice point k and its adjacent lattice points changes, so the difference value list is updated. For example, when there are 26 adjacent lattice points of the lattice point k, the difference value list for 27 lattice points including the lattice point k is updated. The above is repeated until the maximum difference value is equal to or less than the threshold value MAXD, and a color conversion 3D-LUT is constructed.

また、上記の例では、差分値の大きい色変換用3D−LUTの格子点データから順に自動で修正を行うようにしているが、オペレータに対象となる格子点の情報を提示して、オペレータがマニュアルで格子点出力値を修正してもよい。即ち、S507で並べ替えを行った差分値リストを用いて、平滑化対象である注目格子点及び隣接格子点の値をオペレータに提示し、平滑化を実行するか否かをオペレータが指定するようにしてもよい。   In the above example, correction is performed automatically in order from the grid point data of the color conversion 3D-LUT having a large difference value. However, the operator presents information on the target grid point to the operator, The grid point output value may be corrected manually. That is, using the difference value list rearranged in S507, the values of the target lattice point and the adjacent lattice point to be smoothed are presented to the operator, and the operator specifies whether or not to perform smoothing. It may be.

実施例3:
前述の実施例では、平滑化の強弱を隣接格子点の出力値の標準偏差で制御していた。しかし、この方法では、プリンタの最高彩度色付近にガマット圧縮されているような格子点データにおいて彩度低下が目立つ場合がある。
Example 3:
In the above-described embodiment, the level of smoothing is controlled by the standard deviation of the output values of adjacent grid points. However, with this method, there may be a noticeable reduction in saturation in grid point data that is gamut compressed near the maximum saturation color of the printer.

そこで、最高彩度色付近での彩度低下を防ぐために、参照用3D−LUTと色変換用3D−LUTの格子点の出力値の色差に応じて平滑化を制御することも可能である。即ち、格子点iに対する参照用3D−LUTの出力値を(Cri、Mri、Yri)、色変換用3D−LUTの出力値を(Csi、Msi、Ysi)とする。平滑化の場合には、それぞれの出力値の色差を予め作成している色予測式を用いて求め、その色差に従って、ガウシアンフィルタの標準偏差σを決定する。色差が小さい場合にはσも小さい値に設定し、色差が大きい場合にはσを大きくすることで、色差が小さい場合には平滑化が弱くなり過度な平滑化を抑制することができる。   Therefore, in order to prevent saturation reduction near the highest saturation color, it is also possible to control smoothing according to the color difference between the output values of the grid points of the reference 3D-LUT and the color conversion 3D-LUT. That is, the output value of the reference 3D-LUT for the lattice point i is (Cri, Mri, Yri), and the output value of the color conversion 3D-LUT is (Csi, Msi, Ysi). In the case of smoothing, the color difference of each output value is obtained using a color prediction formula created in advance, and the standard deviation σ of the Gaussian filter is determined according to the color difference. When the color difference is small, σ is also set to a small value, and when the color difference is large, σ is increased. When the color difference is small, smoothing becomes weak and excessive smoothing can be suppressed.

図14は、図1の画像処理システムをソフトウェアで実現する場合の構成例を示す。図14の画像処理システムは、例えばワークステーションやパーソナルコンピュータ等で実現され、全体を制御するCPU21と、CPU21の制御プログラム等が記憶されているROM22と、CPU21のワークエリア等として使用されるRAM23と、ハードディスク24と、画像データを表示するためのディスプレイ103と、カラープリンタなどの画像形成装置100とを有している。   FIG. 14 shows a configuration example when the image processing system of FIG. 1 is realized by software. The image processing system shown in FIG. 14 is implemented 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, and a RAM 23 used as a work area of the CPU 21. A hard disk 24, a display 103 for displaying image data, and an image forming apparatus 100 such as a color printer.

ここで、CPU21、ROM22、RAM23、ハードディスク24は、図1のコンピュータ10としての機能を有している。なお、この場合、図1の画像処理装置16の機能も、CPU21にもたせることができる。すなわち、本発明の画像処理装置としての機能をCPU21にもたせることができる。   Here, the CPU 21, ROM 22, RAM 23, and hard disk 24 have functions as the computer 10 of FIG. In this case, the function of the image processing device 16 shown in FIG. That is, the CPU 21 can be provided with the function as the image processing apparatus of the present invention.

なお、CPU21におけるこのような画像処理装置としての機能は、例えばソフトウェアパッケージ、具体的には、CD−ROM等の情報記録媒体の形で提供することができ、このため、図14の例では、情報記録媒体がセットさせるとき、これを駆動するプログラム読み取り装置31が設けられている。換言すれば、本発明の画像処理装置および画像処理方法は、ディスプレイ等を備えた汎用の計算機システムにCD−ROM等の情報記録媒体に記録されたプログラムを読み込ませて、この汎用計算機システムのマイクロプロセッサに色変換パラメータ作成処理を実行させる装置構成においても実施することが可能である。この場合、本発明の色変換パラメータ作成処理を実行するためのプログラムすなわち、ハードウェアシステムで用いられるプログラムは、媒体に記録された状態で提供される。プログラムなどが記録される情報記録媒体としては、CD−ROMに限られるものではなく、ROM、RAM、フレキシブルディスク、メモリカード等が用いられても良い。媒体に記録されたプログラムは、ハードウェアシステムに組み込まれている記憶装置、例えばハードディスク24にインストールされることにより、このプログラムを実行して、色変換パラメータ作成機能を実現することができる。また、本発明の色変換パラメータ作成処理を実現するためのプログラムは、媒体の形で提供されるのみならず、通信によって例えばサーバによって提供されるものであっても良い。   The function of the CPU 21 as such an image processing apparatus can be provided in the form of, for example, a software package, specifically, an information recording medium such as a CD-ROM. For this reason, in the example of FIG. When the information recording medium is set, a program reading device 31 for driving the information recording medium is provided. In other words, the image processing apparatus and the image processing method of the present invention allow a general-purpose computer system equipped with a display or the like to read a program recorded on an information recording medium such as a CD-ROM, and to The present invention can also be implemented in an apparatus configuration that causes a processor to execute color conversion parameter creation processing. In this case, the program for executing the color conversion parameter creation processing of the present invention, that is, the program used in the hardware system is provided in a state recorded on the medium. The information recording medium on which the program is recorded is not limited to the CD-ROM, and a ROM, RAM, flexible disk, memory card, or the like may be used. The program recorded on the medium is installed in a storage device incorporated in the hardware system, for example, the hard disk 24, so that this program can be executed to realize a color conversion parameter creation function. The program for realizing the color conversion parameter creation processing of the present invention may be provided not only in the form of a medium but also by a server, for example, through communication.

本発明の画像処理システムの構成を示す。1 shows a configuration of an image processing system of the present invention. メモリマップ補間法を説明する図である。It is a figure explaining a memory map interpolation method. 色変換パラメータ作成の処理フローチャートを示す。The processing flowchart of color conversion parameter creation is shown. ガマット形状と格子点出力値の連続性の関係を説明する図である。It is a figure explaining the continuity of a gamut shape and a grid point output value. 参照用3D−LUT作成の処理フローチャートを示す。A processing flowchart for creating a reference 3D-LUT is shown. 簡易色再現域のモデル例を示す。An example of a simple color reproduction range model is shown. ガマット処理の概念を示す。The concept of gamut processing is shown. ガマット処理のフローチャートを示す。The flowchart of a gamut process is shown. 色相補正を説明する図である。It is a figure explaining hue correction. 精密な色再現域データの例を示す。An example of precise color gamut data is shown. 実施例1の色変換用3D−LUT修正の処理フローチャートを示す。3 is a flowchart illustrating a process for correcting a color conversion 3D-LUT according to the first exemplary embodiment. 平滑化処理における隣接格子点を説明する図である。It is a figure explaining the adjacent lattice point in smoothing processing. 実施例2の色変換用3D−LUT修正の処理フローチャートを示す。9 is a flowchart illustrating a process for correcting a 3D-LUT for color conversion according to a second exemplary embodiment. 本発明をソフトウェアで実現する場合の構成例を示す。An example of the configuration when the present invention is implemented by software is shown. 従来の平滑化処理を説明する図である。It is a figure explaining the conventional smoothing process.

符号の説明Explanation of symbols

10 コンピュータ
11 ディスプレイ
12 画像出力装置
13 測色計
14 色変換装置
15 色変換パラメータ記憶部
16 画像処理装置
DESCRIPTION OF SYMBOLS 10 Computer 11 Display 12 Image output device 13 Colorimeter 14 Color conversion device 15 Color conversion parameter memory | storage part 16 Image processing apparatus

Claims (4)

入力画像データによって表される色空間を格子状に分割した各格子点に、出力デバイスの第1の色再現域内の出力値(以下、格子点出力値)を対応づけた色変換テーブルにおいて、前記格子点出力値を修正する画像処理装置であって、前記第1の色再現域よりも少ない色データで前記出力デバイスの第2の色再現域を記述する色再現域記述手段と、前記各格子点に、前記出力デバイスの前記第2の色再現域内の出力値(格子点出力値)を対応づけた参照テーブルを作成する参照テーブル作成手段と、前記参照テーブルの注目格子点の出力値と隣接格子点の出力値の変化量を求める変化量算出手段と、前記変化量算出手段で算出した変化量に基づいて、前記色変換テーブルにおける注目格子点近傍の出力の重み係数を決定する重み係数決定手段と、前記重み係数を用いて前記色変換テーブルの格子点出力値を平滑化する平滑化手段とを有することを特徴とする画像処理装置。 In a color conversion table in which each grid point obtained by dividing the color space represented by the input image data in a grid pattern is associated with an output value (hereinafter, grid point output value) in the first color gamut of the output device , An image processing apparatus for correcting the grid point output value , wherein color reproduction area description means for describing a second color reproduction area of the output device with less color data than the first color reproduction area; Reference table creating means for creating a reference table in which an output value (grid point output value) in the second color gamut of the output device is associated with a grid point; an output value of a target grid point of the reference table; A change amount calculating means for obtaining a change amount of an output value of an adjacent grid point, and a weight for determining a weight coefficient of an output value near the target lattice point in the color conversion table based on the change amount calculated by the change amount calculating means Factor determining factor When the image processing apparatus characterized by having a smoothing means for smoothing the lattice point output value of the color conversion table using the weighting factor. 入力画像データによって表される色空間を格子状に分割した各格子点に、出力デバイスの第1の色再現域内の出力値(以下、格子点出力値)を対応づけた色変換テーブルにおいて、前記格子点出力値を修正する画像処理方法であって、前記第1の色再現域よりも少ない色データで前記出力デバイスの第2の色再現域を記述する色再現域記述工程と、前記各格子点に、前記出力デバイスの前記第2の色再現域内の出力値(格子点出力値)を対応づけた参照テーブルを作成する参照テーブル作成工程と、前記参照テーブルの注目格子点の出力値と隣接格子点の出力値の変化量を求める変化量算出工程と、前記変化量算出工程で算出した変化量に基づいて、前記色変換テーブルにおける注目格子点近傍の出力の重み係数を決定する重み係数決定工程と、前記重み係数を用いて前記色変換テーブルの格子点出力値を平滑化する平滑化工程とを有することを特徴とする画像処理方法。 In a color conversion table in which each grid point obtained by dividing the color space represented by the input image data in a grid pattern is associated with an output value (hereinafter, grid point output value) in the first color gamut of the output device , An image processing method for correcting the grid point output value , wherein a color gamut description step for describing a second color gamut of the output device with less color data than the first color gamut, A reference table creating step of creating a reference table in which an output value (grid point output value) in the second color gamut of the output device is associated with a grid point; an output value of a target grid point of the reference table; A change amount calculation step for obtaining a change amount of an output value of an adjacent grid point, and a weight for determining a weight coefficient of an output value near the target lattice point in the color conversion table based on the change amount calculated in the change amount calculation step Coefficient determination process When the image processing method characterized by having a smoothing step of smoothing the lattice point output value of the color conversion table using the weighting factor. 請求項記載の画像処理方法をコンピュータに実行させるプログラム。 A program causing a computer to execute the image processing method according to claim 2 . 請求項記載の画像処理方法をコンピュータに実現させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium recording a program for causing a computer to implement the image processing method according to claim 2 .
JP2005378379A 2005-12-28 2005-12-28 Image processing apparatus, image processing method, program, and recording medium Expired - Fee Related JP4553259B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005378379A JP4553259B2 (en) 2005-12-28 2005-12-28 Image processing apparatus, image processing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005378379A JP4553259B2 (en) 2005-12-28 2005-12-28 Image processing apparatus, image processing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2007181012A JP2007181012A (en) 2007-07-12
JP4553259B2 true JP4553259B2 (en) 2010-09-29

Family

ID=38305698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005378379A Expired - Fee Related JP4553259B2 (en) 2005-12-28 2005-12-28 Image processing apparatus, image processing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4553259B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4874309B2 (en) * 2007-09-28 2012-02-15 株式会社沖データ Image forming system, image processing apparatus, and image processing method
JP5021504B2 (en) * 2008-01-15 2012-09-12 株式会社リコー Computer-readable recording medium recording color profile creation apparatus, method and program
JP5402097B2 (en) * 2009-03-06 2014-01-29 株式会社リコー Image forming apparatus, image forming method, program, and recording medium
JP5182590B2 (en) * 2009-09-09 2013-04-17 Nkワークス株式会社 Image composition apparatus and image composition method
JP5440195B2 (en) * 2010-01-15 2014-03-12 コニカミノルタ株式会社 Color profile creation method, image processing apparatus for creating color profile, and control program for image processing apparatus
JP5630115B2 (en) * 2010-07-21 2014-11-26 富士ゼロックス株式会社 Color processing apparatus and program
JP7123695B2 (en) * 2017-10-17 2022-08-23 キヤノン株式会社 Information processing device, information processing method and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000165692A (en) * 1998-11-30 2000-06-16 Fujitsu Ltd Color data converting method
JP2000253264A (en) * 1999-02-25 2000-09-14 Fuji Xerox Co Ltd Color image signal processing unit and color image signal processing method
JP2003348365A (en) * 2002-05-30 2003-12-05 Matsushita Electric Ind Co Ltd Apparatus and method for color conversion
JP2005176200A (en) * 2003-12-15 2005-06-30 Canon Inc Color signal converting apparatus and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000165692A (en) * 1998-11-30 2000-06-16 Fujitsu Ltd Color data converting method
JP2000253264A (en) * 1999-02-25 2000-09-14 Fuji Xerox Co Ltd Color image signal processing unit and color image signal processing method
JP2003348365A (en) * 2002-05-30 2003-12-05 Matsushita Electric Ind Co Ltd Apparatus and method for color conversion
JP2005176200A (en) * 2003-12-15 2005-06-30 Canon Inc Color signal converting apparatus and method thereof

Also Published As

Publication number Publication date
JP2007181012A (en) 2007-07-12

Similar Documents

Publication Publication Date Title
US7333237B2 (en) Color adjustment method, color adjustment apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium
US7633658B2 (en) Color conversion definition method, profile production method, color conversion definition apparatus, profile production apparatus, color conversion definition program storage medium, and profile production program storage medium
US7626723B2 (en) Color-conversion-table creating method
US8204304B2 (en) Color gamut mapping by forming curved cross-sectional surfaces
JP4553259B2 (en) Image processing apparatus, image processing method, program, and recording medium
JPH11313219A (en) Color data conversion method
US8149483B2 (en) Color gamut data creating device
JP2004181965A (en) Whole range mapping of color using cost function
JP2008219791A (en) Image processor, image processing method, program, and recording medium
US20070296988A1 (en) Color conversion definition creating method, profile creating method, color conversion definition creating apparatus, profile creating apparatus, color conversion definition creating program storage medium, and profile creating program storage medium
KR101029264B1 (en) Color processing device and method, and storage medium storing color processing program
JP4276561B2 (en) Color conversion definition creation method, profile creation method, color conversion definition creation device, profile creation device, color conversion definition creation program, and profile creation program
JP5324405B2 (en) Color processing apparatus and method, and image forming apparatus
US8368962B2 (en) Color look up table adjusting apparatus, recording medium on which a color look up table adjusting program is recorded and color look up table adjusting system
JP4788486B2 (en) Color gamut outline creation device and color gamut outline creation program
JP2008042835A (en) Image processor, image processing method, program, and recording medium
JP2006180062A (en) Information processing method and processor
JP3910323B2 (en) Profile creation method and profile creation apparatus
JP4423016B2 (en) Image processing apparatus, image processing method, storage medium, and program
JP2008278251A (en) Image processor, image processing method, and image processing program
JP2007324861A (en) Apparatus and program of creating color conversion definition
JP2017135683A (en) Generation device, and computer program
JP5633194B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2003348363A (en) Method, apparatus, and program for preparing color conversion definition
JP2004048588A (en) Method, device and program for creating color conversion definition

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081024

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100303

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100512

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100616

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100707

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100708

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees