JP2017201759A - Color conversion device, color conversion method, and program - Google Patents

Color conversion device, color conversion method, and program Download PDF

Info

Publication number
JP2017201759A
JP2017201759A JP2016093165A JP2016093165A JP2017201759A JP 2017201759 A JP2017201759 A JP 2017201759A JP 2016093165 A JP2016093165 A JP 2016093165A JP 2016093165 A JP2016093165 A JP 2016093165A JP 2017201759 A JP2017201759 A JP 2017201759A
Authority
JP
Japan
Prior art keywords
lut
value
interpolation
color separation
conversion
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.)
Granted
Application number
JP2016093165A
Other languages
Japanese (ja)
Other versions
JP2017201759A5 (en
JP6750850B2 (en
Inventor
落合 孝
Takashi Ochiai
孝 落合
石川 尚
Takashi Ishikawa
尚 石川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2016093165A priority Critical patent/JP6750850B2/en
Publication of JP2017201759A publication Critical patent/JP2017201759A/en
Publication of JP2017201759A5 publication Critical patent/JP2017201759A5/ja
Application granted granted Critical
Publication of JP6750850B2 publication Critical patent/JP6750850B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To suppress the accuracy reduction due to interpolation processing even when a plurality of peak points of an output value of color separation LUT are present or a plurality of start points to receive the output value exist.SOLUTION: Disclosed is an image processing device for color-separating a signal component of an input image to the signal component handled by an output device. This image processing device includes: interpolation means for determining the output value of the signal component handled by the output device corresponding to each pixel value of the input image by interpolation processing based on color separation LUT of multiple dimensions in accordance with the signal component of the input image; and conversion means for performing non-linear conversion of the pixel value of the input image using one-dimensional conversion LUT before interpolation processing in the interpolation means. In input and output characteristics of at least one dimension out of multiple dimensions, the color separation LUT includes a plurality of peak points where the output value takes the maximum or minimum value or a plurality of rising points where the output value rises with respect to an input value. The conversion LUT has the input/output characteristics for enhancing non-linearity corresponding to each of the plurality of peak points or each of the plurality of rising points in the color separation LUT.SELECTED DRAWING: None

Description

本発明は、入力画像信号を、出力デバイスが扱う複数の色成分に対応する信号に変換する画像処理に関する。   The present invention relates to image processing for converting an input image signal into a signal corresponding to a plurality of color components handled by an output device.

インクジェット方式や電子写真方式に代表されるプリンタは、画像信号(通常はRGBの色信号)を入力として受け取り、その色信号をプリンタに搭載された色材の量を表す信号に変換することで印刷データを生成している。この変換は一般的に、色変換処理あるいは色分解処理と呼ばれており、現在主流となっている方式に、多次元LUT(次元数は入力画像の信号成分に応じて決まる)を用いて補間処理を行う方式がある。   Printers represented by inkjet and electrophotographic systems receive image signals (usually RGB color signals) as input and print by converting the color signals into signals representing the amount of color material installed in the printer. Data is being generated. This conversion is generally called color conversion processing or color separation processing, and is interpolated using a multi-dimensional LUT (the number of dimensions is determined according to the signal component of the input image) as the mainstream method. There is a method for processing.

上記方式において使用する多次元LUTは、通常は、装置の記憶容量を節約するため、入力色空間を間引いた格子点上の値(入力値に対応する出力値)のみを保持する。例えば入力画像がRGB各8ビットの色信号の場合に用いる3次元LUTは、通常は17×17×17個程度に格子点数を間引いている。そして、3次元LUTから直接得ることができない格子点間の出力値を、補間処理によって導出する。このとき、補間処理において誤差が生じ、格子点間の色再現精度が低下するという課題がある。   The multidimensional LUT used in the above method usually holds only values on grid points (output values corresponding to input values) obtained by thinning out the input color space in order to save the storage capacity of the apparatus. For example, a three-dimensional LUT used when an input image is an RGB 8-bit color signal usually has about 17 × 17 × 17 grid points thinned out. Then, an output value between lattice points that cannot be obtained directly from the three-dimensional LUT is derived by interpolation processing. At this time, an error occurs in the interpolation processing, and there is a problem that the color reproduction accuracy between grid points is lowered.

この点、補間処理の色再現精度を向上させる技術として、補間処理を行う前に1次元LUTを用いた非線形変換を行うことで、大きな非線形性にも対応することが考えられる。特許文献1には、3次元LUTに入力されるRGBのチャネル毎に異なる1次元LUTを備え、RGBの色信号を各一次元の軸方向に対して格子点の間隔を不均等化することで、格子点間での出力信号の線形性を高める手法が提案されている。   In this regard, as a technique for improving the color reproduction accuracy of the interpolation process, it may be possible to cope with a large non-linearity by performing a non-linear conversion using a one-dimensional LUT before the interpolation process. In Patent Document 1, a different one-dimensional LUT is provided for each RGB channel input to the three-dimensional LUT, and the RGB color signals are made non-uniform in the interval of the grid points with respect to each one-dimensional axial direction. A method for improving the linearity of an output signal between lattice points has been proposed.

特開2014−187604号公報JP 2014-187604 A

しかしながら、補間処理の線形性を高めるための非線形変換の特性は、入力色成分(例えばRGB)に応じて異なるだけでなく、出力色成分(例えばCMYK)に応じても異なるものである。加えて、多次元LUTの出力色成分に例えばRGB等の特色を含む場合は、入出力特性においてピークが複数になることもある。例えば、濃淡や色相の異なるインクを数多く搭載するタイプのプリンタで使用する特色インクの中には、グレイ中間調領域と高彩度領域の2つの領域でより多くのインク量を用いることがある。この場合、それら領域の各々において非線形性が大きく異なる(出力値のピークが2つになる)ことになる。また特色インクによっては、入力RGB値に対するインク値の入り始める箇所(インク値の立ち上がり箇所)が複数となることもあり得る。このようなケースでは、従来の非線形変換のための1次元LUTを、多次元LUTに入力される色成分のチャネル毎に設けても、補間処理時の色再現精度の低下は避けられない。   However, the characteristics of nonlinear conversion for enhancing the linearity of the interpolation process not only differ depending on the input color component (for example, RGB), but also differ depending on the output color component (for example, CMYK). In addition, when the output color component of the multidimensional LUT includes a special color such as RGB, the input / output characteristics may have a plurality of peaks. For example, among special color inks that are used in a printer of a type in which many inks having different shades and hues are mounted, a larger amount of ink may be used in two regions, a gray halftone region and a high saturation region. In this case, the non-linearity is greatly different in each of these regions (the output value has two peaks). In addition, depending on the special color ink, there may be a plurality of locations where ink values begin to enter the input RGB values (locations where ink values rise). In such a case, even if a conventional one-dimensional LUT for nonlinear conversion is provided for each channel of color components input to the multidimensional LUT, a decrease in color reproduction accuracy during interpolation processing is inevitable.

本発明に係る画像処理装置は、入力画像の信号成分を、出力デバイスが扱う信号成分に色分解する画像処理装置であって、前記入力画像の信号成分に応じた複数次元の色分解LUTに基づく補間処理によって、前記入力画像の各画素値に対応する前記出力デバイスが扱う信号成分の出力値を決定する補間手段と、前記補間手段における前記補間処理の前に、前記入力画像の画素値を、1次元の変換LUTを用いて非線形変換する変換手段と、を備え、前記色分解LUTは、前記複数次元のうち少なくとも1つの次元の入出力特性において、出力値が極大または極小値を取るピーク箇所、あるいは、入力値に対して出力値が立ち上がる立ち上がり箇所を複数含み、前記変換LUTは、前記色分解LUTにおける前記複数のピーク箇所又は立ち上がり箇所のそれぞれに対応して非線形性を高める入出力特性を有する、ことを特徴とする。   An image processing apparatus according to the present invention is an image processing apparatus that color-separates signal components of an input image into signal components handled by an output device, and is based on a multi-dimensional color separation LUT corresponding to the signal components of the input image Interpolation means for determining an output value of a signal component handled by the output device corresponding to each pixel value of the input image by interpolation processing, and before the interpolation processing in the interpolation means, the pixel value of the input image, Conversion means for performing non-linear conversion using a one-dimensional conversion LUT, and the color separation LUT has a peak portion where an output value has a maximum or minimum value in the input / output characteristics of at least one of the plurality of dimensions. Alternatively, the conversion LUT includes a plurality of rising points where the output value rises with respect to the input value, and the conversion LUT includes the plurality of peak points or rising points in the color separation LUT. Having input and output characteristics of increasing the nonlinearity in response to each occurrence Ri, characterized in that.

本発明によれば、色分解処理に用いる多次元LUTの入出力特性において、出力値のピーク箇所が複数あったり或いは出力値の入り始め箇所が複数存在する場合でも、補間処理による精度低下を抑制することができる。   According to the present invention, in the input / output characteristics of a multidimensional LUT used for color separation processing, even when there are a plurality of output value peak points or a plurality of output value start points, a decrease in accuracy due to interpolation processing is suppressed. can do.

実施例1に係る印刷システムの構成の一例を示したブロック図である。1 is a block diagram illustrating an example of a configuration of a printing system according to Embodiment 1. FIG. グリーンインクに対応する1次元の変換LUTの特性を表すグラフの一例である。It is an example of the graph showing the characteristic of the one-dimensional conversion LUT corresponding to green ink. 実施例1に係る印刷処理の大まかな流れを示すフローチャートである。3 is a flowchart illustrating a rough flow of print processing according to the first embodiment. 実施例1に係る、色分解処理+合成処理の詳細を示すフローチャートである。4 is a flowchart illustrating details of color separation processing + compositing processing according to the first exemplary embodiment. RGBからCMYKGyRGBに色変換される様子を説明する図である。It is a figure explaining a mode that color conversion is carried out from RGB to CMYKGyRGB. 実施例1に係る、変換LUT及び色分解LUTの作成の流れを示すフローチャートである。6 is a flowchart illustrating a flow of creating a conversion LUT and a color separation LUT according to the first embodiment. LUT分割マスクの一例を示す図である。It is a figure which shows an example of a LUT division | segmentation mask. LUT分割マスクの複数セットの一例を示す図である。It is a figure showing an example of a plurality of sets of LUT division masks. ベースLUTを分割する様子を示す図である。It is a figure which shows a mode that a base LUT is divided | segmented. LUTの最適化処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the optimization process of LUT. 本実施例に係る手法と従来手法との比較図である。It is a comparison figure with the method concerning a present Example, and the conventional method. LUT分割マスクの他のバリエーションの一例を示す図である。It is a figure which shows an example of the other variation of a LUT division | segmentation mask. 実施例2に係る印刷システムの構成の一例を示したブロック図である。FIG. 10 is a block diagram illustrating an example of a configuration of a printing system according to a second embodiment. 実施例2に係る、色分解処理+合成処理の流れを示すフローチャートである。10 is a flowchart illustrating a flow of color separation processing + composition processing according to the second embodiment. 実施例3に係る印刷システムの構成の一例を示したブロック図である。FIG. 10 is a block diagram illustrating an example of a configuration of a printing system according to a third embodiment. 実施例3に係る、色分解処理+合成処理の流れを示すフローチャートである。10 is a flowchart illustrating a flow of color separation processing + composition processing according to the third embodiment. 実施例4に係る印刷システムの構成の一例を示したブロック図である。FIG. 10 is a block diagram illustrating an example of a configuration of a printing system according to a fourth embodiment. 実施例4に係る、色分解処理+合成処理の流れを示すフローチャートである。14 is a flowchart illustrating a flow of color separation processing + composition processing according to the fourth embodiment. 実施例5に係る印刷システムの構成の一例を示したブロック図である。FIG. 10 is a block diagram illustrating an example of a configuration of a printing system according to a fifth embodiment. 実施例5で用いる変換LUTの特性を表すグラフの一例である。10 is an example of a graph showing characteristics of a conversion LUT used in Example 5. 実施例5に係る、色分解処理の流れを示すフローチャートである。10 is a flowchart illustrating a flow of color separation processing according to a fifth embodiment.

以下、本発明の実施例について、図面を参照して説明する。なお、以下の実施例は本発明を限定するものではなく、また、本実施例で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一の構成については、同じ符号を付して説明する。   Embodiments of the present invention will be described below with reference to the drawings. It should be noted that the following embodiments do not limit the present invention, and not all combinations of features described in the present embodiment are essential to the solution means of the present invention. In addition, about the same structure, the same code | symbol is attached | subjected and demonstrated.

本発明は、色分解処理で用いる複数次元のLUT(ルックアップテーブル)の入出力特性において、出力値の複数のピーク箇所や、出力値の入り始め箇所または減り始め箇所が複数含まれ得ることを前提とするものである。ここで、ピーク箇所とは出力値が極大値または極小値をとる箇所を意味し、出力値の入り始め(立ち上がり)箇所または減り始め箇所とは、入力値を増加させていったときに出力値が0から0以外の有意な値へと遷移する箇所を意味する。さらに、極小値を極大値として扱ってもよい。例えば、インク値0の軸に対してインク値を上下反転し、インク値の最大値(インク値が8bitの場合255)を加算したデータに対して、極大値を見つければ、極小値を見つけることができる。   According to the present invention, the input / output characteristics of a multi-dimensional LUT (look-up table) used in color separation processing can include a plurality of peak points of output values, and a plurality of points where output values start to enter or decrease. It is a premise. Here, the peak part means the part where the output value takes the maximum value or the minimum value, and the part where the output value starts to enter (rise) or starts to decrease means the output value when the input value is increased. Means a place where 0 changes to a significant value other than 0. Furthermore, the minimum value may be treated as the maximum value. For example, if the maximum value is found for the data obtained by inverting the ink value with respect to the axis of the ink value 0 and adding the maximum value of the ink value (255 when the ink value is 8 bits), the minimum value is found. Can do.

上記の前提を踏まえ、本実施例では、色分解処理で用いる複数次元のLUTにおける複数のピーク箇所や立ち上がり箇所のそれぞれに対応した複数の1次元LUTを用いて非線形変換を行う態様について説明する。なお、本明細書における各実施例では、インクジェット方式のプリンタによって印刷出力する場合を例に説明を行なうものとするが、プリンタの方式はこれに限定されない。例えば、電子写真方式のプリンタや、昇華型のプリンタ、紫外線を照射することで硬化する色材を用いたUVプリンタ、3次元物体を形成する3Dプリンタであってもよい。また、ディスプレイやプロジェクタなどの画像表示装置に対しても適用可能である。また、写真編集ソフトウェア、CG制作ソフトウェアなどの画像処理ソフトウェアに対しても適用可能である。   Based on the above premise, in the present embodiment, a mode in which nonlinear transformation is performed using a plurality of one-dimensional LUTs corresponding to a plurality of peak locations and rising locations in a multi-dimensional LUT used in color separation processing will be described. In each embodiment of the present specification, the case where printing is performed by an ink jet printer will be described as an example. However, the printer method is not limited to this. For example, an electrophotographic printer, a sublimation printer, a UV printer using a color material that is cured by irradiation with ultraviolet rays, or a 3D printer that forms a three-dimensional object may be used. The present invention can also be applied to an image display device such as a display or a projector. It can also be applied to image processing software such as photo editing software and CG production software.

(出力装置の構成)
図1は、本実施例に係る印刷システムの構成の一例を示したブロック図である。印刷システムは、画像処理装置10と印刷装置(プリンタ)20とで構成され、プリンタインタフェース又は回路によって接続されている。画像処理装置10は例えば一般的なパーソナルコンピュータであり、以下に述べる画像処理機能は、インストールされたプリンタドライバによって実現される。すなわち、以下に説明する画像処理装置10の各部は、コンピュータ内のCPUがメモリ(ROM等)やハードディスク(HDD)に格納された所定のプログラムを実行することにより実現されることになる。なお、プリンタ20が画像処理装置10を内包する構成であってもよい。
(Configuration of output device)
FIG. 1 is a block diagram illustrating an example of a configuration of a printing system according to the present embodiment. The printing system includes an image processing apparatus 10 and a printing apparatus (printer) 20, and is connected by a printer interface or a circuit. The image processing apparatus 10 is a general personal computer, for example, and an image processing function described below is realized by an installed printer driver. That is, each unit of the image processing apparatus 10 described below is realized by a CPU in a computer executing a predetermined program stored in a memory (ROM or the like) or a hard disk (HDD). Note that the printer 20 may include the image processing apparatus 10.

画像処理装置10は、入力端子101を介して印刷対象の画像を表す画像データの入力を受け付ける。入力された画像データはカラーマッチング処理部102に送られる。ここで、入力画像データは、各画素をRGBそれぞれ8ビット(256階調)の色信号で表したRGB画像データであるものとする。   The image processing apparatus 10 receives input of image data representing an image to be printed via the input terminal 101. The input image data is sent to the color matching processing unit 102. Here, it is assumed that the input image data is RGB image data in which each pixel is represented by a color signal of 8 bits (256 gradations) for each RGB.

カラーマッチング処理部102は、入力画像データに対するカラーマッチング処理を行い、RGB画像の色を補正する。カラーマッチング処理により、異なる色再現特性を有するプリンタや記録媒体を用いた場合にも、統一的な色再現を得ることができる。カラーマッチング処理に際しては、不図示のHDD等に格納された3次元のカラーマッチングLUT103が用いられる。カラーマッチングLUT103は、RGBそれぞれが256階調で表された入力値を、17×17×17点に間引いた格子点上のみに出力値(RGB値)を記述したLUTである。格子点間の出力値は線形補間により導出される。   The color matching processing unit 102 performs color matching processing on the input image data and corrects the color of the RGB image. By color matching processing, uniform color reproduction can be obtained even when a printer or a recording medium having different color reproduction characteristics is used. In color matching processing, a three-dimensional color matching LUT 103 stored in an HDD (not shown) or the like is used. The color matching LUT 103 is an LUT in which output values (RGB values) are described only on grid points obtained by thinning input values expressed in 256 tones for RGB into 17 × 17 × 17 points. The output value between grid points is derived by linear interpolation.

本実施例の色分解処理部は2つのモジュールで構成され、入力RGB画像に応じた3次元のLUT(以下、色分解LUT)を用いた補間処理によって、RGB画像の各画素値をプリンタが扱う信号成分(ここではインクの色成分)に対応する出力値に変換する。そして、本実施例では、色分解LUTを用いた補間処理を行う前に、補間演算の精度を高めるため、1次元の変換LUTを用いた非線形な変換を行う。第一色分解処理部104a及び第二色分解処理部104bは、カラーマッチング処理部102で補正された画像データから、プリンタ20が備える色材の色(ここでは8色)のインクに対応した8プレーンの8ビットインク値画像データを各々生成する。ここで、8色のインクは、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)、グレイ(Gy)、レッド(R)、グリーン(G)、ブルー(B)である。   The color separation processing unit according to the present exemplary embodiment includes two modules, and the printer handles each pixel value of the RGB image by interpolation processing using a three-dimensional LUT (hereinafter, color separation LUT) corresponding to the input RGB image. The output value corresponding to the signal component (here, the ink color component) is converted. In this embodiment, before performing the interpolation process using the color separation LUT, nonlinear conversion using the one-dimensional conversion LUT is performed in order to increase the accuracy of the interpolation calculation. The first color separation processing unit 104a and the second color separation processing unit 104b correspond to 8 colors corresponding to the inks of the color materials (eight colors here) included in the printer 20 from the image data corrected by the color matching processing unit 102. Plain 8-bit ink value image data is generated. Here, the eight color inks are cyan (C), magenta (M), yellow (Y), black (K), gray (Gy), red (R), green (G), and blue (B). .

第一色分解処理部104aは、第一非線形変換部104a-1と第一補間部104a-2で構成される。第一非線形変換部104a-1は、カラーマッチング処理後の画像データに対し、第一変換LUT105a-1を用いて非線形変換を行う。その後、第一補間部104a-2が、非線形変換された画像データに対し、第一色分解LUT105a-2を用いて補間演算を行う。第一色分解処理部104aで色分解された画像データは合成処理部106に送られる。第二色分解処理部104bは、第二非線形変換部104b-1と第二補間部104b-2で構成される。第二非線形変換部104b-1は、カラーマッチング処理後の画像データに対し、第二変換LUT105b-1を用いて非線形変換を行う。その後、第二補間部104b-2が、非線形変換された画像データに対し、第二色分解LUT105b-2を用いて補間演算を行う。第二色分解処理部104bで色分解された画像データは合成処理部106に送られる。 The first color separation processing unit 104a includes a first nonlinear conversion unit 104a -1 and a first interpolation unit 104a -2 . The first nonlinear conversion unit 104 a-1 performs nonlinear conversion on the image data after the color matching process using the first conversion LUT 105 a-1 . Thereafter, the first interpolation unit 104 a-2 performs an interpolation operation on the non-linearly converted image data using the first color separation LUT 105 a-2 . The image data color-separated by the first color separation processing unit 104 a is sent to the synthesis processing unit 106. The second color separation processing unit 104b includes a second nonlinear conversion unit 104 b-1 and a second interpolation unit 104 b-2 . The second nonlinear conversion unit 104 b-1 performs nonlinear conversion on the image data after the color matching process using the second conversion LUT 105 b-1 . Thereafter, the second interpolation unit 104 b-2 performs an interpolation operation on the non-linearly converted image data using the second color separation LUT 105 b-2 . The image data color-separated by the second color separation processing unit 104b is sent to the synthesis processing unit 106.

第一非線形変換部104a-1及び第二非線形換部104b-1における非線形変換処理では、入力画像の色成分であるRGB毎に、各インク色について用意された、入力値に対する出力値(いずれも8ビット)を規定した1次元の変換LUTを用いる。この1次元の変換LUTは、8ビットで表現可能な256階調よりも少ない数の格子点(ここでは12格子点)においてのみ値を持ち、格子点間の値は線形補間で求められる。本実施例では、RGBのチャネル毎に全インク種(8種類)それぞれに対応する1次元の変換LUTが2組分(第一変換LUT105a-1と第二変換LUT105b-1)、計48個の変換LUTが用意される。図2は、グリーンインクに対応する非線形変換のための変換LUTの特性を表すグラフの一例である。(a)〜(f)の各グラフにおいて、横軸が非線形変換前の入力RGB値、縦軸が非線形変換後の出力RGB値である。そして、(a)〜(c)が第一変換LUT105a-1、同(d)〜(f)が第二変換LUT105b-1に相当する。特に、Gチャネルに対応する2つのグラフ(b)と(e)における符号201及び符号202で示される2箇所の部分で、入出力特性が相対的に大きく変化しているのが分かる。このように1種類のインク色の1入力チャネルについて、入出力特性の異なる複数の変換LUTを用いることで、G軸方向における複数のピーク箇所やインク値の入り始め箇所にそれぞれ対応して非線形性を高めることが可能になる。 In the non - linear conversion processing in the first non-linear conversion unit 104 a-1 and the second non - linear conversion unit 104 b-1 , an output value corresponding to an input value (for each ink color) is prepared for each RGB color component of the input image. A one-dimensional conversion LUT that defines 8 bits) is used. This one-dimensional conversion LUT has values only at a number of lattice points (here, 12 lattice points) smaller than 256 gradations that can be expressed by 8 bits, and values between lattice points are obtained by linear interpolation. In this embodiment, two sets of one-dimensional conversion LUTs (first conversion LUT 105 a-1 and second conversion LUT 105 b-1 ) corresponding to each of all ink types (eight types) for each RGB channel, a total of 48. Conversion LUTs are prepared. FIG. 2 is an example of a graph representing the characteristics of a conversion LUT for nonlinear conversion corresponding to green ink. In each graph of (a) to (f), the horizontal axis represents the input RGB value before nonlinear conversion, and the vertical axis represents the output RGB value after nonlinear conversion. (A) to (c) correspond to the first conversion LUT 105 a-1 , and (d) to (f) correspond to the second conversion LUT 105 b-1 . In particular, it can be seen that the input / output characteristics change relatively greatly at the two portions indicated by reference numerals 201 and 202 in the two graphs (b) and (e) corresponding to the G channel. As described above, by using a plurality of conversion LUTs having different input / output characteristics for one input channel of one kind of ink color, nonlinearity corresponding to each of a plurality of peak locations in the G-axis direction and locations where ink values start to enter. Can be increased.

また、第一補間処理部104a-2及び第二補間演算部104b-2における補間処理は、例えば、それぞれ12×12×12に間引いた格子点上にのみに8色のインク値を記述した3次元の色分解LUTを用い、格子点間の値を線形補間により求める。この場合、第一色分解LUT105a-2と第二色分解LUT105b-2は、インク色毎に用意する。本実施例では、第一色分解LUT105a-2と第二色分解LUT105b-2用に8つずつ、計16個の3次元LUTが必要になる。なお、上述した1次元の変換LUT及び3次元の色分解LUTは、HDDやメモリに別々に保存されていてもよいし、1つにまとめて保存されていてもよい。 The interpolation processing in the first interpolation processing unit 104 a-2 and the second interpolation calculation unit 104 b-2 is, for example, describing ink values of eight colors only on the lattice points thinned out to 12 × 12 × 12, respectively. Using the three-dimensional color separation LUT, the value between the lattice points is obtained by linear interpolation. In this case, the first color separation LUT 105 a-2 and the second color separation LUT 105 b-2 are prepared for each ink color. In this embodiment, a total of 16 three-dimensional LUTs are required, 8 for each of the first color separation LUT 105 a-2 and the second color separation LUT 105 b-2 . The one-dimensional conversion LUT and the three-dimensional color separation LUT described above may be stored separately in the HDD or the memory, or may be stored together.

合成処理部106は、インク種毎に、第一色分解処理部104aで生成したインク値画像と第二色分解処理部104bで生成したインク値画像とを加算合成する。これにより、プリンタ20が備える8色のインクに対応した8プレーンの8ビットインク値の合成画像を生成する。   The combination processing unit 106 adds and combines the ink value image generated by the first color separation processing unit 104a and the ink value image generated by the second color separation processing unit 104b for each ink type. As a result, an 8-plane 8-bit ink value composite image corresponding to the 8-color ink provided in the printer 20 is generated.

アウトプットガンマ(OPG)処理部107は、合成処理部106で生成されたインク値合成画像に対し、ガンマ補正処理を施す。ガンマ補正処理に際しては、不図示のHDD等に格納された1次元のOPGLUT108を参照する。OPGLUT108は、8色の各インクのみを用いて記録した場合に、インク値画像の画素値に対して印刷物の明度が線形に変化するように、インク種類毎に予め値が設定されている。なお、明度の評価値としてはCIELABで規定されたL*を用いる。   An output gamma (OPG) processing unit 107 performs a gamma correction process on the ink value synthesized image generated by the synthesis processing unit 106. In the gamma correction process, a one-dimensional OPGLU 108 stored in an HDD (not shown) is referred to. The OPGLUT 108 is set in advance for each ink type so that the brightness of the printed matter changes linearly with respect to the pixel value of the ink value image when recording is performed using only each of the eight ink colors. Note that L * defined by CIELAB is used as the brightness evaluation value.

ハーフトーン処理部109は、OPG処理部107によって得られた各色のインク値画像の画素値を2値(または2値以上で入力階調数より少ない階調数)に変換するハーフトーン処理(量子化処理)を行う。ハーフトーン処理には、例えば公知のディザマトリクス法などが用いられる。ハーフトーン処理によって得られたハーフトーン画像データは、出力端子110を介してプリンタ20へ送られる。   The halftone processing unit 109 converts the pixel value of the ink value image of each color obtained by the OPG processing unit 107 into a binary value (or a binary number that is two or more and less than the number of input gradations) (quantum processing (quantum). Process). For the halftone process, for example, a known dither matrix method is used. Halftone image data obtained by the halftone process is sent to the printer 20 via the output terminal 110.

インクジェット方式のプリンタ20は、記録ヘッド111を記録媒体112に対して相対的に縦横に移動することにより、画像処理装置10で生成されたHT画像データに従った画像を記録媒体上に形成する。記録ヘッド111は、複数の記録素子(ノズル)を有する。本実施例ではシアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)、グレイ(Gy)、レッド(R)、グリーン(G)、ブルー(B)の8色のインクを記録ヘッド111に搭載している。移動部113は、ヘッド制御部114の制御下で、記録ヘッド111を移動させる。搬送部115は、ヘッド制御部114の制御下で、記録媒体112を搬送する。なお、本実施例では、記録媒体112上で記録ヘッド111によって複数回の走査を行って画像を完成させるマルチパス記録方式を用いるものとする。パス分解処理部116は、画像処理装置10で生成された各色のハーフトーン画像データ及び、パスマスクDB117から取得したパスマスクに基づき、各インク色の走査データを生成する。インク色選択部118は、生成された各色の走査データに基づき、記録ヘッド111に搭載されるインク色の中から、インク色を選択する。   The inkjet printer 20 forms an image on the recording medium according to the HT image data generated by the image processing apparatus 10 by moving the recording head 111 vertically and horizontally relative to the recording medium 112. The recording head 111 has a plurality of recording elements (nozzles). In this embodiment, inks of eight colors of cyan (C), magenta (M), yellow (Y), black (K), gray (Gy), red (R), green (G), and blue (B) are recorded. It is mounted on the head 111. The moving unit 113 moves the recording head 111 under the control of the head control unit 114. The transport unit 115 transports the recording medium 112 under the control of the head control unit 114. In this embodiment, it is assumed that a multi-pass printing method is used in which an image is completed by performing scanning a plurality of times on the printing medium 112 by the printing head 111. The pass separation processing unit 116 generates scanning data for each ink color based on the halftone image data for each color generated by the image processing apparatus 10 and the pass mask acquired from the pass mask DB 117. The ink color selection unit 118 selects an ink color from the ink colors mounted on the recording head 111 based on the generated scan data for each color.

(印刷処理の概要)
次に、本実施例に係る印刷システムにおける印刷処理の概要について説明する。図3は、本実施例に係る印刷システムにおける印刷処理の大まかな流れを示すフローチャートである。
(Overview of print processing)
Next, an outline of printing processing in the printing system according to the present embodiment will be described. FIG. 3 is a flowchart illustrating a rough flow of the printing process in the printing system according to the present embodiment.

まず、ステップ301で、RGB画像データが入力端子101を介して取得される。取得したRGB画像データはカラーマッチング処理部102に送られる。続くステップ302では、カラーマッチング処理部102が、3次元のカラーマッチングLUT103を参照して、カラーマッチング処理を行う。   First, in step 301, RGB image data is acquired via the input terminal 101. The acquired RGB image data is sent to the color matching processing unit 102. In subsequent step 302, the color matching processing unit 102 performs color matching processing with reference to the three-dimensional color matching LUT 103.

次に、ステップ303では、全8色のうち色分解処理の対象とするインクの種類(注目インク種)が決定される。そして、ステップ304では、まず、第一色分解処理部104a及び第二色分解処理部104bがそれぞれ注目インク種についてのインク値画像データを生成する。注目インク種が例えばシアンであれば、シアンに対応したインク値画像データがそれぞれ生成される。そして、当該色変換によって得られた2つのインク値画像が、合成処理部106によって合成される。この色分解処理並びに合成処理の詳細については後述する。   Next, in step 303, the type of ink (ink type of interest) to be subjected to color separation processing among all eight colors is determined. In step 304, first, the first color separation processing unit 104a and the second color separation processing unit 104b each generate ink value image data for the ink type of interest. If the ink type of interest is cyan, for example, ink value image data corresponding to cyan is generated. Then, the two ink value images obtained by the color conversion are synthesized by the synthesis processing unit 106. Details of the color separation process and the composition process will be described later.

次に、ステップ305で、OPG処理部106が、ステップ304の合成処理で得られたインク値画像データに対し、ガンマ補正処理を施す。このガンマ補正処理では、注目インク種に対応する1次元のOPGLUT108が適用される。例えば注目インク種がシアンの場合であれば、シアンインクのみを用いて記録した場合に、インク値画像の画素値に対して印刷物の明度が線形に変化するように予め値が設定されたOPGLUT108が用いられる。   Next, in step 305, the OPG processing unit 106 performs gamma correction processing on the ink value image data obtained by the combining processing in step 304. In this gamma correction process, a one-dimensional OGLUT 108 corresponding to the ink type of interest is applied. For example, if the ink type of interest is cyan, an OPGLUT 108 in which a value is set in advance so that the brightness of the printed matter changes linearly with respect to the pixel value of the ink value image when recording using only cyan ink is used. Used.

ステップ306では、全8色のインク種について、OPG処理までが完了したかどうかが判定される。すべてのインク種について処理が完了している場合には、ステップ307へ進む。一方、未処理のインク種がある場合には、ステップ303に戻って次のインク種を注目インク種に決定して、ステップ304〜306の各処理を繰り返す。なお、本実施例では注目インク種の順番を、シアン、マゼンタ、イエロー、ブラック、グレイ、レッド、グリーン、ブルーの順とするが、これに限定されない。   In step 306, it is determined whether or not the OPG process has been completed for all eight ink types. If processing has been completed for all ink types, the process proceeds to step 307. On the other hand, if there is an unprocessed ink type, the process returns to step 303, the next ink type is determined as the ink type of interest, and the processes in steps 304 to 306 are repeated. In this embodiment, the order of the ink type of interest is the order of cyan, magenta, yellow, black, gray, red, green, and blue, but is not limited to this.

ステップ307では、ハーフトーン処理部109が、OPG処理がなされた各インク色の画像データに対しハーフトーン処理を行って、ハーフトーン画像データに変換する。このハーフトーン画像データは、画像全体、或いは単位記録領域毎のバンド幅分といった任意のサイズで、出力端子110より出力され、プリンタ20に送られる。   In step 307, the halftone processing unit 109 performs halftone processing on the image data of each ink color that has been subjected to OPG processing, and converts the image data into halftone image data. The halftone image data is output from the output terminal 110 in an arbitrary size such as the entire image or the bandwidth for each unit recording area, and is sent to the printer 20.

ステップ308では、入力端子119を介して入力されたハーフトーン画像データがパス分解処理部116へ送られて、各インク色について走査データに変換される。そして、ステップ309で、各インク色について走査データに基づいた画像形成が開始される。具体的には、各走査データに適合するインク色がインク色選択部118により選択され、当該選択されたインク色に基づき記録ヘッド111が記録媒体112に対して移動しながら、一定の駆動間隔で、各ノズルを駆動して記録媒体上に画像を記録する。記録媒体112は、走査毎に所定の搬送量だけ搬送され、画像全体が形成される。   In step 308, the halftone image data input via the input terminal 119 is sent to the pass separation processing unit 116, and converted into scan data for each ink color. In step 309, image formation based on the scan data is started for each ink color. Specifically, an ink color suitable for each scan data is selected by the ink color selection unit 118, and the recording head 111 moves relative to the recording medium 112 based on the selected ink color at a constant driving interval. Each nozzle is driven to record an image on a recording medium. The recording medium 112 is transported by a predetermined transport amount for each scan, and the entire image is formed.

以上が、本実施例の印刷システムにおける印刷処理の概要である。   The above is the outline of the printing process in the printing system of this embodiment.

(色分解処理+合成処理)
次に、本実施例の特徴である、2つのモジュールで別個に色分解してその結果を合成することで、注目インク種についてのインク値画像を得る処理について、別フローを参照して詳しく説明する。図4は、本実施例に係る、色分解処理+合成処理の詳細を示すフローチャートである。
(Color separation process + composition process)
Next, the process of obtaining an ink value image for the ink type of interest by separately performing color separation in two modules and synthesizing the results, which is a feature of this embodiment, will be described in detail with reference to another flow. To do. FIG. 4 is a flowchart showing details of the color separation process + synthesis process according to this embodiment.

ステップ401では、第一色分解処理部104aが、注目インク種についての2種類のLUTを取得する。具体的には、第一非線形変換部104a-1が注目インク種の第一変換LUT105a-1を取得し、第一補間部104a-2が注目インク種の第一色分解LUT105a-2を取得する。続くステップ402では、第二色分解処理部104bが注目インク種についての2種類のLUTを取得する。具体的には、第二非線形変換部104b-1が注目インク種の第二変換LUT105b-1を取得し、第二補間部104b-2が注目インク種の第二色分解LUT105b-2を取得する。 In step 401, the first color separation processing unit 104a acquires two types of LUTs for the ink type of interest. Specifically, the first nonlinear conversion unit 104 a-1 acquires the first conversion LUT 105 a-1 of the ink type of interest, and the first interpolation unit 104 a-2 acquires the first color separation LUT 105 a- of the ink type of interest. Get 2 In subsequent step 402, the second color separation processing unit 104b acquires two types of LUTs for the ink type of interest. Specifically, the second nonlinear conversion unit 104 b-1 acquires the second conversion LUT 105 b-1 for the ink type of interest, and the second interpolation unit 104 b-2 acquires the second color separation LUT 105 b- for the ink type of interest . Get 2

ステップ403では、カラーマッチング処理が施されたRGB色空間の画像データから、処理対象として注目するRGB値(以下、注目RGB値)が取得される。   In step 403, an RGB value of interest as a processing target (hereinafter referred to as an RGB value of interest) is acquired from image data in an RGB color space that has undergone color matching processing.

次に、ステップ404で第一色分解処理部104aによる非線形変換処理と補間処理(第一色分解処理)が、ステップ405で第二色分解処理部104bによる非線形変換処理と補間処理(第二色分解処理)がそれぞれ実行される。具体的には、第一色分解処理部104aにおいて、まず、第一変換LUT105a-1を用いた非線形変換処理が注目RGB値に対して実行される。さらに、非線形化された注目RGB値に対して第一色分解LUT105a-2を用いた補間処理が実行される。同様に、第二色分解処理部104bにおいて、まず、第二変換LUT105b-1を用いた非線形変換処理が注目RGB値に対して実行される。さらに、非線形化された注目RGB値に対して第二色分解LUT105b-2を用いた補間処理が実行される。図5は、各色分解処理部において、RGBの信号成分がCMYKGyRGBの信号成分へと色変換される様子を説明する図である。図5は、1次元の変換LUTと3次元の色分解LUTの双方をインク種毎に用意した場合の例である。第一色分解処理部104aと第二色分解処理部104bは、それぞれで使用するLUTの中身(格子点値)が異なるのみでその構造は同じであり、図5は第一色分解処理部104a及び第二色分解処理部104bの両方に当てはまる。すなわち、注目RGB値がインク種毎に非線形変換がなされ、次に非線形変換されたRGB値が同じくインク種毎に補間処理されて、CMYKGyRGBのうち注目インク種についてのインク値が求められる。こうして、各色分解処理部で得られたインク種毎のインク値は、合成処理部106に送られる。 Next, in step 404, the nonlinear conversion processing and interpolation processing (first color separation processing) by the first color separation processing unit 104a is performed, and in step 405, the nonlinear conversion processing and interpolation processing (second color processing by the second color separation processing unit 104b). The decomposition process is executed. Specifically, in the first color separation processing unit 104a, first, a nonlinear conversion process using the first conversion LUT 105a -1 is performed on the target RGB value. Further, an interpolation process using the first color separation LUT 105 a-2 is executed on the nonlinear RGB value of interest. Similarly, in the second color separation processing unit 104b, first, a nonlinear conversion process using the second conversion LUT 105b -1 is performed on the target RGB value. Further, an interpolation process using the second color separation LUT 105 b-2 is executed on the nonlinear RGB value of interest. FIG. 5 is a diagram illustrating a state in which RGB signal components are color-converted into CMYKGyRGB signal components in each color separation processing unit. FIG. 5 shows an example in which both a one-dimensional conversion LUT and a three-dimensional color separation LUT are prepared for each ink type. The first color separation processing unit 104a and the second color separation processing unit 104b have the same structure except for the contents (grid point values) used in the LUT, and FIG. 5 shows the first color separation processing unit 104a. And the second color separation processing unit 104b. That is, the RGB value of interest is subjected to nonlinear conversion for each ink type, and then the RGB value subjected to nonlinear conversion is similarly interpolated for each ink type to obtain the ink value for the ink type of interest in CMYKGyRGB. Thus, the ink value for each ink type obtained in each color separation processing unit is sent to the synthesis processing unit 106.

その後、ステップ406では、合成処理部106において、第一補間処理部104a-2の出力値と第二補間部104b-2の出力値とが合成(加算)され、注目RGB値に対応する補間値(インク値)が生成される。 Thereafter, in step 406, the synthesis processing unit 106 synthesizes (adds) the output value of the first interpolation processing unit 104a -2 and the output value of the second interpolation unit 104b -2 to correspond to the target RGB value. An interpolation value (ink value) is generated.

ステップ407では、入力画像データ内のすべての画素値(RGB値)について、処理が完了したかどうかが判定される。未処理の画素値がある場合はステップ403に戻って次の注目RGB値を決定して処理を続行する。一方、全画素値について処理が完了している場合には、本処理を終了すると共に、生成された各RGB値に対応する補間値(インク値)が、OPG処理部107に出力される。   In step 407, it is determined whether or not processing has been completed for all pixel values (RGB values) in the input image data. If there is an unprocessed pixel value, the process returns to step 403 to determine the next target RGB value and continue the process. On the other hand, when the processing has been completed for all the pixel values, the present processing is terminated and an interpolation value (ink value) corresponding to each generated RGB value is output to the OPG processing unit 107.

以上が、本実施例に係る色分解処理+合成処理の内容である。   The above is the content of the color separation process + synthesis process according to the present embodiment.

(LUTの作成)
続いて、上述の各色分解処理部で用いる、1次元の変換LUT(格子点数が12)及び3次元の色分解LUT(格子点数が12×12×12)の作成方法について説明する。本実施例の各色分解処理で用いる色分解LUTは、その基礎になる補間目標を示す色分解LUT(以下、ベースLUT)の入出力特性における複数のピーク箇所や出力値の入り始め箇所が、それぞれ別々のLUTに属するように分割して得られるLUTである。すなわち、ベースLUTの入出力特性の一部を表すLUT(部分LUT)である。本実施例におけるベースLUTは、プリンタ20の開発者等によって予め設計された格子点数が33×33×33の色分解LUTとする。以下、詳しく説明する。
(LUT creation)
Next, a method of creating a one-dimensional conversion LUT (the number of grid points is 12) and a three-dimensional color separation LUT (the number of grid points is 12 × 12 × 12) used in each of the color separation processing units described above will be described. The color separation LUT used in each color separation process of the present embodiment includes a plurality of peak positions and input value start positions of input / output characteristics of a color separation LUT (hereinafter referred to as a base LUT) indicating an interpolation target as a basis. It is an LUT obtained by dividing so as to belong to different LUTs. That is, it is an LUT (partial LUT) that represents a part of the input / output characteristics of the base LUT. The base LUT in the present embodiment is a color separation LUT having 33 × 33 × 33 grid points designed in advance by the developer of the printer 20 or the like. This will be described in detail below.

図6は、本実施例に係る、1次元の変換LUT及び3次元の色分解LUT(部分LUT)の作成の流れを示すフローチャートである。   FIG. 6 is a flowchart showing a flow of creating a one-dimensional conversion LUT and a three-dimensional color separation LUT (partial LUT) according to the present embodiment.

まず、ステップ601において、上記ベースLUTが取得される。そして、ステップ602おいて、ベースLUTの分割に用いる複数セットのマスクのうち第m番目のセットが取得される。このとき、変数mは、1からM(Mは1以上)の整数である。ここで、図7及び図8を参照して、LUTの分割に用いるマスク(LUT分割マスク)について説明する。   First, in step 601, the base LUT is acquired. In step 602, the mth set is acquired from the plurality of sets of masks used for dividing the base LUT. At this time, the variable m is an integer from 1 to M (M is 1 or more). Here, a mask (LUT division mask) used for LUT division will be described with reference to FIGS.

図7は、LUT分割マスクの一例を示す図である。図7において、(a1)と(a2)の対は、入力値(本実施例ではRGBのいずれか)に対してグラデーション状に分割する場合のマスクである。そして、(b1)と(b2)の対は、入力値に対して一方に全ての入力値を分配し、片方には入力値を一切分配しない場合のマスクである。いずれも縦軸は分割率(或いは分配率)であり、0.0〜1.0の範囲の値を取る。(a1)と(a2)の対、(b1)と(b2)の対で示すいずれのマスクの場合も、その分割率の総和は、入力値の全範囲において1.0となる。図8は、LUT分割マスクの複数セットの一例を示す図である。ここでは、第1〜第8までの計8セットの場合の例を示している。各セットにおいて、入力R値、入力G値、入力B値に対して、それぞれ(a1)と(a2)の対によるマスク、あるいは(b1)と(b2)の対によるマスクのいずれかが割り当てられている。本実施例では、これら8セットのうちいずれかのLUT分割マスクのセットが順に(例えば第1セットから順に)取得される。   FIG. 7 is a diagram illustrating an example of the LUT division mask. In FIG. 7, a pair of (a1) and (a2) is a mask in the case of dividing the input value (any of RGB in this embodiment) in a gradation. A pair of (b1) and (b2) is a mask in the case where all input values are distributed to one side and no input value is distributed to one side. In either case, the vertical axis represents the division ratio (or distribution ratio), and takes a value in the range of 0.0 to 1.0. In any of the masks indicated by the pair (a1) and (a2) and the pair (b1) and (b2), the sum of the division ratios is 1.0 over the entire range of input values. FIG. 8 is a diagram illustrating an example of a plurality of sets of LUT division masks. Here, an example in the case of a total of eight sets from the first to the eighth is shown. In each set, either the mask by the pair (a1) and (a2) or the mask by the pair (b1) and (b2) is assigned to the input R value, input G value, and input B value, respectively. ing. In the present embodiment, one of the LUT division mask sets among these eight sets is acquired in order (for example, in order from the first set).

ステップ603では、ステップ602で取得したLUT分割マスクの第m番目のセットを用いて、ベースLUTが分割される。図9は、LUT分割マスクによってベースLUTが2つのLUTに分割される様子を示す図である。図9においてグラフ(in)は、インク色がグリーンの場合の、ベースLUTにおけるG軸の入力値に対する出力値(インク値)の関係を、説明を簡単にするため一次元のグラフで表したものである。そして、このベースLUTに対して、(a1)と(a2)の対のマスク(図8の例では、第1、第2、第5、第6のセットのいずれか)が適用されると、それぞれグラフ(out1)及びグラフ(out2)のように2つのLUTに分割される。この例では、グラフ(in)において符号901と符号902の2点存在するピーク箇所が、グラフ(out1)における符号903とグラフ(out2)における符号904といった具合にそれぞれ分かれている。すなわち、1つ目のピーク箇所はグラフ(out1)のLUT、2つ目のピーク箇所はグラフ(out2)のLUTに属するように、ベースLUTが2つのLUTに分けられている。その他の入力軸及びインク色に対しても同様にLUT分割マスクのセットが適用されて、ベースLUTが分割される。なお、ここでは1次元の入力値に対する例で説明したが、本来はベースLUTの入力RGB値に対して各インク色のインク値を求める必要がある。そのため、実際には、入力R値、入力G値、入力B値について得られた結果の各々に1/3を乗算し、それらの総和をLUT分割マスク適用後のインク値とする。これにより、分割前のベースLUTとLUT分割後の各LUTの総和が等しくなり、ベースLUTにおけるインク値として扱うことができる。   In step 603, the base LUT is divided using the mth set of LUT division masks acquired in step 602. FIG. 9 is a diagram showing how the base LUT is divided into two LUTs by the LUT division mask. In FIG. 9, a graph (in) is a one-dimensional graph showing the relationship between the output value (ink value) with respect to the input value of the G axis in the base LUT when the ink color is green, for the sake of simplicity. It is. When a pair of masks (a1) and (a2) (any one of the first, second, fifth, and sixth sets in the example of FIG. 8) is applied to the base LUT, Each is divided into two LUTs as shown in graph (out1) and graph (out2). In this example, there are two peak locations, a reference numeral 901 and a reference numeral 902 in the graph (in), such as a reference numeral 903 in the graph (out1) and a reference numeral 904 in the graph (out2). That is, the base LUT is divided into two LUTs so that the first peak location belongs to the LUT of the graph (out1) and the second peak location belongs to the LUT of the graph (out2). Similarly, the LUT division mask set is applied to the other input axes and ink colors, and the base LUT is divided. Although an example of a one-dimensional input value has been described here, it is originally necessary to obtain an ink value for each ink color with respect to the input RGB value of the base LUT. Therefore, in practice, each of the results obtained for the input R value, the input G value, and the input B value is multiplied by 1/3, and the sum thereof is used as the ink value after the LUT division mask is applied. As a result, the sum of the base LUT before the division and the LUTs after the LUT division becomes equal, and can be handled as ink values in the base LUT.

ステップ604では、LUT作成対象の色分解処理部に対応する変数Xの値が初期化される。本実施例の場合、変数Xの値は1または2の整数であり、“1”が第一色分解処理部104a、“2”が第二色分解処理部104bに対応する。ここでは、初期値として“1”がセットされるものとする。続くステップ605では、ループ回数を表す変数iと、ループ回数の上限を表す定数Nが初期化される。具体的には変数iには1、定数Nには1000がセットされる。   In step 604, the value of the variable X corresponding to the color separation processing unit targeted for LUT creation is initialized. In this embodiment, the value of the variable X is an integer of 1 or 2. “1” corresponds to the first color separation processing unit 104a, and “2” corresponds to the second color separation processing unit 104b. Here, it is assumed that “1” is set as the initial value. In the subsequent step 605, a variable i representing the loop count and a constant N representing the upper limit of the loop count are initialized. Specifically, the variable i is set to 1, and the constant N is set to 1000.

次に、ステップ606では、変数Xに対応する色分解処理部で用いるLUTが初期化される。例えば、X=1の場合は、第一変換LUT104a-1と第一色分解LUT104aー2が初期化される。具体的には以下のとおりである。まず、変換LUTについては、12個の格子点の位置と初期値が設定される。ここで、格子点位置は均等間隔、即ち、0、23、46、・・・、232、255の計12点とする。そして、各格子点の初期値は0〜255のいずれかの値が乱数によって与えられる。ただし、格子点値は格子点位置に対して単調増加になるように並び替えした上で設定する。そして、色分解LUT(部分LUT)については、12×12×12個の格子点の初期値が設定される。本実施例の場合、ベースLUT(格子点数が33×33×33)の格子点値を間引くことで12×12×12個の初期値を設定するものとする。 Next, in step 606, the LUT used in the color separation processing unit corresponding to the variable X is initialized. For example, when X = 1, the first conversion LUT 104 a-1 and the first color separation LUT 104 a-2 are initialized. Specifically, it is as follows. First, for the conversion LUT, the positions and initial values of 12 grid points are set. Here, the lattice point positions are equally spaced, that is, a total of 12 points of 0, 23, 46,. The initial value of each grid point is given as a random number between 0 and 255. However, the grid point values are set after rearrangement so as to increase monotonously with respect to the grid point position. For the color separation LUT (partial LUT), initial values of 12 × 12 × 12 lattice points are set. In this embodiment, 12 × 12 × 12 initial values are set by thinning out the lattice point values of the base LUT (the number of lattice points is 33 × 33 × 33).

そして、ステップ607では、変数Xに対応する1次元の変換LUTの最適化処理が実行される。また、ステップ608では、変数Xに対応する3次元の色分解LUT(部分LUT)の最適化処理が実行される。これら最適化処理の詳細については後述する。   In step 607, the one-dimensional conversion LUT optimization process corresponding to the variable X is executed. In step 608, optimization processing of a three-dimensional color separation LUT (partial LUT) corresponding to the variable X is executed. Details of these optimization processes will be described later.

ステップ609では、i回目のループで得られたLUTの最適化処理における評価値Eが、これまでで最良の評価値であるかどうかが判定される。判定の結果、最良の評価値であればステップ610へ進む。一方、最良の評価値でなければステップ611へ進む。   In step 609, it is determined whether or not the evaluation value E in the LUT optimization process obtained in the i-th loop is the best evaluation value so far. If it is determined that the evaluation value is the best, the process proceeds to step 610. On the other hand, if it is not the best evaluation value, the process proceeds to step 611.

ステップ610では、i回目のループで得られた1次元LUTと3次元LUTが、最良のLUTとして更新・保持される。また、これら最良LUTと併せて保持する最良の評価値の情報も更新される。   In step 610, the one-dimensional LUT and the three-dimensional LUT obtained in the i-th loop are updated and held as the best LUT. In addition, information on the best evaluation value held together with these best LUTs is also updated.

ステップ611では、ループ回数iの値が上限に達したかどうかが判定される。上限に達していなければ(変数iの値がN未満の場合)、変数iをインクリメント(i=i+1)してステップ606へ戻り、処理を続行する。一方、ループ回数iの値が上限に達していれば(変数iの値=N)、ステップ612へ進む。   In step 611, it is determined whether the value of the loop count i has reached the upper limit. If the upper limit has not been reached (if the value of variable i is less than N), variable i is incremented (i = i + 1), the process returns to step 606, and the processing is continued. On the other hand, if the value of the number of loops i has reached the upper limit (value of variable i = N), the process proceeds to step 612.

ステップ612では、色分解処理部に対応する変数Xの値が上限(本実施例では2)に達したかどうかが判定される。上限に達していなければ(変数Xの値が2未満の場合)、変数Xをインクリメント(X=X+1)してステップ604へ戻り、処理を続行する。一方、変数Xの値が上限に達していれば(変数Xの値=2)、ステップ613へ進む。   In step 612, it is determined whether or not the value of the variable X corresponding to the color separation processing unit has reached the upper limit (2 in this embodiment). If the upper limit has not been reached (if the value of variable X is less than 2), variable X is incremented (X = X + 1) and the process returns to step 604 to continue the process. On the other hand, if the value of variable X has reached the upper limit (value of variable X = 2), the process proceeds to step 613.

ステップ613では、LUT分割マスクの第mセットを表す変数mの値が上限M(本実施例では8)に達したかどうかが判定される。上限に達していなければ(変数mの値がM未満の場合)、変数mをインクリメント(m=m+1)してステップ602へ戻り、処理を続行する。一方、変数mの値が上限Mに達していれば(変数mの値=M)、ステップ614へ進む。   In step 613, it is determined whether the value of the variable m representing the mth set of LUT division masks has reached the upper limit M (8 in this embodiment). If the upper limit has not been reached (if the value of the variable m is less than M), the variable m is incremented (m = m + 1), the process returns to step 602, and the processing is continued. On the other hand, if the value of the variable m has reached the upper limit M (value of the variable m = M), the process proceeds to step 614.

ステップ614では、第1〜第8セットの各LUT分割マスクの下で作成された8組の最良LUTの評価値が比較され、最も良い評価値のLUTが各色分解処理部で使用するLUTに決定される。   In step 614, the evaluation values of the eight best LUTs created under each of the first to eighth sets of LUT partition masks are compared, and the LUT having the best evaluation value is determined as the LUT used in each color separation processing unit. Is done.

以上のようにして、最適な格子点値を有する、1次元の変換LUT及び3次元の色分解LUT(部分LUT)が作成される。   As described above, a one-dimensional conversion LUT and a three-dimensional color separation LUT (partial LUT) having optimal grid point values are created.

(LUTの最適化処理)
図10は、前述のステップ607及び608における、変換LUT及び色分解LUT(部分LUT)の最適化処理の流れを示すフローチャートである。
(LUT optimization processing)
FIG. 10 is a flowchart showing the flow of optimization processing of the conversion LUT and color separation LUT (partial LUT) in the above-described steps 607 and 608.

ステップ1001では、対象LUTの全格子点の中から、注目する格子点(注目格子点p)が1つ決定される。処理開始直後の段階では、1次元の変換LUTの場合は位置“0”の点が、3次元の色分解LUT(部分LUT)の場合は位置(0,0,0)の格子点が、最初の注目格子点pとして選択される。   In step 1001, one target lattice point (target lattice point p) is determined from all lattice points of the target LUT. At the stage immediately after the start of processing, the point at the position “0” in the case of a one-dimensional conversion LUT, and the lattice point at the position (0, 0, 0) in the case of a three-dimensional color separation LUT (partial LUT) Is selected as a target lattice point p.

ステップ1002では、変数sの値が初期化される。ここで、変数sは、最適な格子点値を見つけるための変動幅を表す変数である。変数sの初期値をどのような値にするかは任意であるが、例えば“8”といった値が設定される。   In step 1002, the value of the variable s is initialized. Here, the variable s is a variable representing a fluctuation range for finding an optimal lattice point value. Although what kind of value the initial value of the variable s is set to is arbitrary, for example, a value such as “8” is set.

ステップ1003では、注目格子点pにおける格子点値と変数sで与えられる変動幅とを用いて、3種類のLUT(L0、L1、L2)を作成する。ここで、L0は注目格子点pの値そのままで変動を加えないLUT、L1は注目格子点pの値に+sした場合のLUT、L2は注目格子点pの値に−sした場合のLUTである。   In step 1003, three types of LUTs (L0, L1, L2) are created using the lattice point value at the target lattice point p and the fluctuation range given by the variable s. Here, L0 is an LUT that does not change the value of the target lattice point p as it is, L1 is an LUT that is + s to the value of the target lattice point p, and L2 is an LUT that is −s to the value of the target lattice point p. is there.

ステップ1004では、ステップ1103で得た3種類のLUT(L0、L1、L2)をそれぞれ用いて補間値を算出した場合の、それぞれの評価値E0、E1、E2が導出される。ここで、評価値は、ベースLUTの33×33×33個の格子点値と、格子点数が12×12×12個の色分解LUT(部分LUT)を用いて算出した上記33×33×33個の格子点値に対応する補間値との差分を求め、当該差分を平方した値の合計(差分二乗和)を用いる。この場合において、格子点数が12×12×12個の色分解LUTの入力値は、1次元の変換LUTを用いて非線形変換を施した値である。そして、誤差が少ないほど評価値は小さくなるため、E0、E1、E2のうち最も評価値が小さいものが最良の評価値となる。なお、評価方法は任意であり、上述の差分二乗和を用いるのに代えて、誤差の最大値を用いた評価を行ってもよい。また、インク値からL*a*b*などの均等色空間の値に変換してから誤差を評価してもよい。また、インク値やL*a*b*値の変化の滑らかさを評価値として用いてもよい。さらには、これらの評価値を積和演算により組み合わせた総合評価値を用いてもよい。   In step 1004, the respective evaluation values E0, E1, and E2 when the interpolation values are calculated using the three types of LUTs (L0, L1, and L2) obtained in step 1103 are derived. Here, the evaluation values are 33 × 33 × 33 calculated using the 33 × 33 × 33 lattice point values of the base LUT and the color separation LUT (partial LUT) having 12 × 12 × 12 lattice points. A difference from the interpolation value corresponding to each grid point value is obtained, and a sum of values obtained by squaring the difference (sum of squared differences) is used. In this case, the input value of the color separation LUT having 12 × 12 × 12 grid points is a value obtained by performing nonlinear conversion using a one-dimensional conversion LUT. Since the evaluation value becomes smaller as the error is smaller, the smallest evaluation value among E0, E1, and E2 is the best evaluation value. Note that the evaluation method is arbitrary, and instead of using the above-mentioned sum of squared differences, evaluation using the maximum value of error may be performed. Further, the error may be evaluated after converting the ink value to a value in a uniform color space such as L * a * b *. Further, the smoothness of changes in ink values and L * a * b * values may be used as evaluation values. Furthermore, you may use the comprehensive evaluation value which combined these evaluation values by the product-sum operation.

ステップ1005では、ステップ1004で導出した評価値E0、E1、E2が比較される。そして、評価値が最良(ここでは、最小)のLUTが、現時点で最良のLUTとして保持(更新)される。   In step 1005, the evaluation values E0, E1, and E2 derived in step 1004 are compared. Then, the LUT having the best evaluation value (here, the smallest) is held (updated) as the best LUT at the present time.

ステップ1006では、最良の評価値が収束したかどうかが判定される。判定の基準としては、現時点で保持されている最良のLUTの評価値が、変動なしの評価値E0と等しければ収束したと見做す。判定の結果、最良の評価値が収束していなければステップ1002へ戻り、処理を続行する。一方、最良の評価値が収束していればステップ1007へ進む。   In step 1006, it is determined whether the best evaluation value has converged. As a criterion for determination, if the evaluation value of the best LUT currently held is equal to the evaluation value E0 without fluctuation, it is assumed that the evaluation value has converged. As a result of the determination, if the best evaluation value has not converged, the process returns to step 1002 to continue the processing. On the other hand, if the best evaluation value has converged, the process proceeds to step 1007.

ステップ1007では、変数sの値が更新される。本実施例では、それまでの値を“2”で割った値を新たな変数sの値とする。ただし、段階的に小さい値にできればよく、変数sの更新のやり方はこれに限定されない。   In step 1007, the value of the variable s is updated. In this embodiment, a value obtained by dividing the previous value by “2” is set as the value of the new variable s. However, it is only necessary to reduce the value stepwise, and the method of updating the variable s is not limited to this.

ステップ1008では、変数sの値が“1.0”未満であるかどうかが判定される。変数sの値が“1.0”以上であればステップ1002へ戻り、処理を続行する。一方、変数sの値が“1.0”未満であればステップ1009へ進む。   In Step 1008, it is determined whether or not the value of the variable s is less than “1.0”. If the value of the variable s is “1.0” or more, the process returns to step 1002 to continue the processing. On the other hand, if the value of the variable s is less than “1.0”, the process proceeds to step 1009.

ステップ1009では、対象LUTの全ての格子点について処理が完了したかどうか判定される。未処理の格子点があればステップ1002に戻り、次の格子点を注目格子点pに決定して処理を続行する。一方、全ての格子点について処理が完了していれば本処理を終了する。   In step 1009, it is determined whether or not processing has been completed for all grid points of the target LUT. If there is an unprocessed grid point, the process returns to step 1002 to determine the next grid point as the target grid point p and continue the process. On the other hand, if the processing has been completed for all grid points, this processing is terminated.

以上のようにして、変換LUT及び色分解LUT(部分LUT)が最適化される。   As described above, the conversion LUT and the color separation LUT (partial LUT) are optimized.

(本実施例の効果)
ここで、本実施例の効果が特に期待できるケースについて改めて説明する。色分解LUTは、一般的に、入力値(例えばRGB値)の変化に対して比較的単調に格子点値(例えばインク値)が増加し、ある領域でピークに達した後、飽和あるいは徐々に減少する場合が多い。しかしながら、例えば近年のインクジェットプリンタは、CMYKの基本4色以外の特色インクや同一色相で濃度の異なる濃淡インク等を搭載する機種が増えている。これは、色再現範囲の拡大、粒状性の低減、インク打ち込み量の削減によるインク消費量の低減等、様々な性能拡大を目的としている。このような基本4色以外のインク色に対応する色分解LUTは、従来とは異なる入出力特性を有することが分かっている。例えば、基本4色と色相が異なり彩度が高めのインク(例えばレッド、グリーン、ブルーの特色)の色分解LUTは、複数のピークを含むような曲線の入出力特性となるものがある。図11は、色分解LUTが2つのピークを有する入出力特性となる場合の補間処理を、本実施例に係る手法と従来手法とを比較して説明する図である。図11(a)が従来手法、同(b)が本実施例の手法である。図11(a)において、左側のグラフは、特色であるグリーンの色分解LUTのG軸のインク値を1次元で示したもので、前述の図9におけるグラフ(in)と同じものである。そして、このLUTを用いた従来手法の補間処理結果がその右側のグラフである。一方、図11(b)における左端の上下に並んだグラフは、図11(a)と同じグリーンの色分解LUTを分割して得られた2つの部分LUTに対応する、G軸のインク値を1次元で表したグラフであり、前述の図9におけるグラフ(out1)及びグラフ(out2)と同じものである。そして、これら2つの部分LUTを用いた本実施例の補間処理結果(図11(b)の中央のグラフ)を合成したものが、図11(b)の右端のグラフである。図11(a)の右側のグラフ(従来手法)と、図11(b)の右端のグラフ(本実施例)とを比較すると、本実施例の方が、1つ目のピークにおける変化がより滑らかで、元の色分解LUTの入出力特性をより精度よく再現できていることが分かる。このように、色分解LUTの入出力特性において複数のピーク箇所を持つような色材を用いて画像形成を行うプリンタ等において、本実施例は特にその効果を発揮することができる。
(Effect of this embodiment)
Here, a case where the effect of the present embodiment can be particularly expected will be described again. In the color separation LUT, generally, a lattice point value (for example, an ink value) increases relatively monotonously with a change in an input value (for example, an RGB value), reaches a peak in a certain region, and then becomes saturated or gradually. Often decreases. However, for example, recent ink jet printers are increasingly equipped with special color inks other than the four basic colors of CMYK and dark and light inks having the same hue and different densities. The purpose of this is to expand various performances such as expansion of the color reproduction range, reduction of graininess, and reduction of ink consumption due to reduction of ink ejection amount. It has been found that such a color separation LUT corresponding to ink colors other than the four basic colors has input / output characteristics different from those of the prior art. For example, the color separation LUT of inks having different hues from the four basic colors and high saturation (for example, red, green, and blue special colors) may have a curve input / output characteristic including a plurality of peaks. FIG. 11 is a diagram for explaining the interpolation processing in the case where the color separation LUT has input / output characteristics having two peaks by comparing the method according to the present embodiment with the conventional method. FIG. 11A shows the conventional method, and FIG. 11B shows the method of this embodiment. In FIG. 11A, the graph on the left side shows one-dimensional ink values on the G axis of the green color separation LUT, which is the special color, and is the same as the graph (in) in FIG. And the interpolation processing result of the conventional method using this LUT is a graph on the right side. On the other hand, the graphs arranged at the top and bottom of the left end in FIG. 11B show the ink values on the G axis corresponding to the two partial LUTs obtained by dividing the same green color separation LUT as in FIG. This is a one-dimensional graph, which is the same as the graph (out1) and graph (out2) in FIG. 9 described above. Then, the graph at the right end of FIG. 11B is a combination of the interpolation processing results of this embodiment using these two partial LUTs (the central graph in FIG. 11B). When the graph on the right side of FIG. 11A (conventional method) is compared with the graph on the right end of FIG. 11B (this example), the change in the first peak is more significant in this example. It is clear that the input / output characteristics of the original color separation LUT can be reproduced more accurately. As described above, the present embodiment is particularly effective in a printer that forms an image using a color material having a plurality of peak portions in the input / output characteristics of the color separation LUT.

<変形例>
ベースLUTの分割に用いるマスクは前述の図7に示したものに限られない。図12は、LUT分割マスクの他のバリエーションの一例を示している。まず、(c1)と(c2)の対は、入力値に対していずれか片方のみにすべての入力値を分配する領域をその両端に有しつつ、入力値が中間の値をとる範囲においてはグラデーション状に分配する場合のマスクである。そして、(d1)と(d2)の対は、ある値を境に二つに分配する場合のマスクである。また、(e1)と(e2)の対は、入力値を均等に分配する場合のマスクである。なお、これらいずれのマスク対においても、その分割率の総和が入力値の全範囲において1.0となるのは、前述の図7のマスクと同じである。
<Modification>
The mask used for dividing the base LUT is not limited to that shown in FIG. FIG. 12 shows an example of another variation of the LUT division mask. First, the pair of (c1) and (c2) has a region in which all input values are distributed to only one of the input values at both ends, and in a range where the input value takes an intermediate value. It is a mask when distributing in gradation. A pair of (d1) and (d2) is a mask in the case of distributing to two with a certain value as a boundary. A pair of (e1) and (e2) is a mask when the input values are evenly distributed. In any of these mask pairs, the sum of the division ratios is 1.0 over the entire range of input values, as in the mask of FIG.

また、本実施例ではベースLUTの入出力特性にピーク箇所が2つ含まれる場合を例に説明を行ったが、例えばインク値が入り始める箇所(インク値が0以外の値に遷移する立ち上がり箇所)が2つ存在する場合にも、同様に適用可能である。具体的には、立ち上がり箇所を2つ有する入出力特性のベースLUTを、最初の立ち上がり箇所から2番目に出現する立ち上がり箇所の手前までの部分LUTと、2番目に出現する立ち上がり箇所以降の部分LUTとに分割する。そして、分割後のそれぞれの部分LUTで補間処理を行って、その結果を合成すればよい。さらに、ピーク箇所や立ち上がり箇所は3つ以上であってもよい。ピーク箇所や立ち上がり箇所が3つ以上含まれる場合には、各ピーク箇所等に対応してLUTを分割し、それに対応した数の色分解処理部を設ければよい。この場合に用いるLUT分割マスクは、その分割率の総和が入力値の全範囲において1.0となるような、分割数に応じた複数のマスクの組み合わせとなる。   Further, in this embodiment, the case where the input / output characteristics of the base LUT include two peak locations has been described as an example. However, for example, the location where the ink value starts to enter (the rising location where the ink value transitions to a value other than 0) The same applies when there are two). Specifically, the base LUT of input / output characteristics having two rising points is divided into a partial LUT from the first rising point to a point before the second rising point and a partial LUT after the second rising point. And split into Then, interpolation processing is performed on each of the divided partial LUTs, and the results are synthesized. Further, there may be three or more peak points and rising points. When three or more peak locations or rising locations are included, the LUT may be divided corresponding to each peak location and the like, and the number of color separation processing units corresponding to that may be provided. The LUT division mask used in this case is a combination of a plurality of masks according to the number of divisions such that the sum of the division ratios is 1.0 in the entire range of input values.

また、記録ヘッド111の構成として、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)、グレイ(Gy)、レッド(R)、グリーン(G)、ブルー(B)の8色のインクを備える例を示したが、インクの数や種類はこれらに限定されない。例えば、濃度の薄い淡色インクである、淡シアン、淡マゼンタ、淡イエロー、淡グレイ、淡レッド、淡グリーン、淡ブルー等、あるいは、既に述べた、レッド、グリーン、ブルーの特色インク以外にも、特色インクとしてオレンジ、ピンク、ホワイト等を用いてもよい。また、無色透明のクリアインクや、金属調のメタリックインクを用いてもよい。また、染料、顔料、UV等、様々なタイプのインクを用いてもよい。   Further, the configuration of the recording head 111 includes eight colors of cyan (C), magenta (M), yellow (Y), black (K), gray (Gy), red (R), green (G), and blue (B). Although an example including color inks has been shown, the number and types of inks are not limited thereto. For example, in addition to light cyan, light magenta, light yellow, light gray, light red, light green, light blue, etc., which are light color inks with a low density, or the already mentioned special color inks of red, green, and blue, Orange, pink, white or the like may be used as the special color ink. A colorless and transparent clear ink or a metallic metallic ink may be used. Various types of inks such as dyes, pigments, and UV may be used.

さらに、記録ヘッド111に搭載するインクのうち、例えば、特色インクのみに本発明を適用し、CMYKの基本4色には従来手法の色変換処理を適用してもよい。   Further, among the inks mounted on the recording head 111, for example, the present invention may be applied only to the special color ink, and the conventional color conversion processing may be applied to the four basic colors of CMYK.

また、入力画像データをRGBのカラー画像としたが、例えばCMYKのカラー画像であってもよい。さらには、色以外の成分、例えば光沢を表す成分を含んでもよい。これらの場合の色分解LUTは4次元以上のLUTとなる。   The input image data is an RGB color image, but may be a CMYK color image, for example. Furthermore, components other than color, for example, components representing gloss may be included. In these cases, the color separation LUT is a four-dimensional or more LUT.

さらに、補間処理において、ベースLUTを分割して生成した複数の色分解LUTを用いる代わりに同様の入出力特性を示す数式を用いてもよい。すなわち、複数のピーク箇所やインク値の入り始め箇所にそれぞれ対応する色分解LUT(部分LUT)から、その入出力特性を表す曲線を数式化したもの(近似値曲線の式)をそれぞれ求め、当該求めた数式を用いて格子点間の補間演算を行ってもよい。   Further, in the interpolation processing, mathematical expressions indicating similar input / output characteristics may be used instead of using a plurality of color separation LUTs generated by dividing the base LUT. In other words, from the color separation LUT (partial LUT) corresponding to each of a plurality of peak locations and locations where ink values start to be entered, formulas of curves representing the input / output characteristics (approximate value curve formulas) are obtained respectively. Interpolation calculation between grid points may be performed using the obtained mathematical formula.

本実施例によれば、色分解LUTの入出力特性において、出力値のピーク箇所や出力値の入り始め箇所を複数含んでいても、補間演算による精度低下を低減することができる。   According to the present embodiment, even if the input / output characteristics of the color separation LUT include a plurality of output value peak points and output value start points, it is possible to reduce a decrease in accuracy due to the interpolation calculation.

次に、ベースLUTを分割して得られる複数の色分解LUTを事前に用意するのに代えて、プリンタ等の出力デバイスにおける画像形成処理の過程においてこれらを生成する態様について、実施例2として説明する。なお、実施例1と共通の部分については説明を簡易化または省略し、以下では差異点を中心に説明するものとする。   Next, instead of preparing in advance a plurality of color separation LUTs obtained by dividing the base LUT, an embodiment in which these are generated in the course of image forming processing in an output device such as a printer will be described as a second embodiment. To do. In addition, description is simplified or abbreviate | omitted about the part which is common in Example 1, and suppose that it demonstrates centering around difference below.

図13は、本実施例に係る印刷システムの構成の一例を示したブロック図である。実施例1に係る図1のブロック図との違いは、画像処理装置10内に別途保持されたベースLUT1301に基づいて、各色分解処理部で用いるLUTを生成するLUT生成部1300を備えている点である。なお、ベースLUT1301は、実施例1における3次元のベースLUTと同じである。LUT生成部1300は、ベースLUT1301をそのピーク箇所等に応じて2つのLUTに分割し、そこから第一色分解処理部104a及び第二色分解処理部104bで用いる、1次元の変換LUT及び3次元の色分解LUTを生成する。   FIG. 13 is a block diagram illustrating an example of the configuration of the printing system according to the present embodiment. The difference from the block diagram of FIG. 1 according to the first embodiment is that an LUT generation unit 1300 that generates an LUT used in each color separation processing unit based on a base LUT 1301 separately held in the image processing apparatus 10 is provided. It is. The base LUT 1301 is the same as the three-dimensional base LUT in the first embodiment. The LUT generation unit 1300 divides the base LUT 1301 into two LUTs according to the peak location and the like, and uses the one-dimensional conversion LUT and 3D used by the first color separation processing unit 104a and the second color separation processing unit 104b therefrom. A dimensional color separation LUT is generated.

その他の構成は実施例1と同一であり、印刷システムにおける印刷処理の内容も、前述の図3のフローで述べたとおりである。以下、実施例1の場合とその内容が異なる色分解処理について説明する。図14は、本実施例に係る、色分解処理+合成処理の流れを示すフローチャートである。   Other configurations are the same as those in the first embodiment, and the contents of the printing process in the printing system are as described in the flow of FIG. Hereinafter, a color separation process that differs from the case of the first embodiment will be described. FIG. 14 is a flowchart illustrating the flow of the color separation process + synthesis process according to the present embodiment.

まず、ステップ1401で、LUT生成部1300は、基準となるベースLUT1301を不図示のHDD等から取得する。そして、続くステップ1402で、LUT生成部1300は、取得したベースLUTを用いて、LUT生成処理を実行する。ここで、LUT生成処理の内容は、実施例1の図6のフローで説明した、変換LUT及び色分解LUTの作成フローと同じであるため説明を省く。そして、LUT生成処理によって得られた各LUTは、ステップ1403において、第一変換LUT105a-1及び第二変換LUTb-1として、また、第一色分解LUT105a-2及び第二色分解LUTb-2として設定(HDD等に格納)される。 First, in step 1401, the LUT generation unit 1300 acquires a base LUT 1301 serving as a reference from an HDD (not shown) or the like. In subsequent step 1402, the LUT generation unit 1300 performs LUT generation processing using the acquired base LUT. Here, the content of the LUT generation processing is the same as the conversion LUT and color separation LUT creation flow described in the flow of FIG. In step 1403, the LUTs obtained by the LUT generation process are used as the first conversion LUT 105a -1 and the second conversion LUT b-1 , and the first color separation LUT 105a -2 and the second color separation LUT. Set as b-2 (stored in HDD or the like).

ステップ1404〜1410の各処理は、実施例1の図4のフローにおけるステップ401〜407に対応し、特に異なるところはないので説明を省く。   Each processing of Steps 1404 to 1410 corresponds to Steps 401 to 407 in the flow of FIG. 4 of the first embodiment, and there is no particular difference, so the description is omitted.

以上が、本実施例に係る色分解処理+合成処理の内容である。なお、図13において、第一変換LUT105a-1及び第二変換LUTb-1に向かう矢印を破線で示している。これは、第一変換LUTa-1及び第二変換LUTb-1に関しては、ベースLUT1301から導出され得る複数の色分解LUTに合わせて最適化したものを予め用意し、設定しておいても構わないことを意味している。 The above is the content of the color separation process + synthesis process according to the present embodiment. In FIG. 13, arrows directed to the first conversion LUT 105 a-1 and the second conversion LUT b-1 are indicated by broken lines. This is because the first conversion LUT a-1 and the second conversion LUT b-1 are prepared in advance and optimized for a plurality of color separation LUTs that can be derived from the base LUT 1301. It means that it doesn't matter.

以上のとおり、プリンタ等の出力デバイスにおける画像形成処理の工程の中で、各色分解処理部で用いるLUTを生成するように構成してもよい。この場合も、実施例1と同様の効果を得ることができる。   As described above, the LUT used in each color separation processing unit may be generated in the image forming process in the output device such as a printer. In this case, the same effect as that of the first embodiment can be obtained.

実施例1及び2は、ベースLUTの入出力特性におけるピーク箇所等に応じて生成した複数の色分解LUTに対応付けられた複数の色分解処理部において別々に非線形変換と補間処理を行う態様であった。次に、1個の色分解処理部に含まれる各1個の非線形変換部と補間部において、使用するLUTを切り替える態様について、実施例3として説明する。なお、実施例1と共通の部分については説明を簡易化または省略し、以下では差異点を中心に説明するものとする。   Embodiments 1 and 2 are modes in which nonlinear conversion and interpolation processing are separately performed in a plurality of color separation processing units associated with a plurality of color separation LUTs generated according to peak locations in the input / output characteristics of the base LUT. there were. Next, a mode in which the LUT to be used is switched in each one nonlinear conversion unit and interpolation unit included in one color separation processing unit will be described as a third embodiment. In addition, description is simplified or abbreviate | omitted about the part which is common in Example 1, and suppose that it demonstrates centering around difference below.

図15は、本実施例に係る印刷システムの構成の一例を示したブロック図である。実施例1に係る図1のブロック図と異なり、非線形変換部1510と補間部1520を有する1個の色分解処理部1500が存在する。そして、非線形変換処理で使用する1次元の変換LUTや補間処理で使用する3次元の色分解LUTを指定するためのLUT指定部1530が設けられている。合成処理部1540は、補間部1520からの出力値を累積加算することで、入力RGB値に対する補間値(インク値)を生成する。   FIG. 15 is a block diagram illustrating an example of the configuration of the printing system according to the present embodiment. Unlike the block diagram of FIG. 1 according to the first embodiment, there is one color separation processing unit 1500 including a nonlinear conversion unit 1510 and an interpolation unit 1520. An LUT designating unit 1530 for designating a one-dimensional conversion LUT used in the nonlinear conversion process and a three-dimensional color separation LUT used in the interpolation process is provided. The composition processing unit 1540 generates an interpolation value (ink value) for the input RGB value by cumulatively adding the output values from the interpolation unit 1520.

その他の構成は実施例1と同一であり、印刷システムにおける印刷処理の内容も、前述の図3のフローで述べたとおりである。以下、本実施例における色分解処理+合成処理について説明する。図16は、本実施例に係る色分解処理+合成処理の流れを示すフローチャートである。このフローでは、1つの色分解処理部1500において、第一及び第二のLUTを順番に読み込んで非線形変換処理と補間処理が実行され、その補間処理結果を合成処理部1540で加算合成することで注目RGB値の補間値が生成される。以下、詳しく説明する。   Other configurations are the same as those in the first embodiment, and the contents of the printing process in the printing system are as described in the flow of FIG. Hereinafter, the color separation process + synthesis process in this embodiment will be described. FIG. 16 is a flowchart illustrating the flow of the color separation process + synthesis process according to the present embodiment. In this flow, in one color separation processing unit 1500, the first and second LUTs are read in order, nonlinear conversion processing and interpolation processing are executed, and the interpolation processing result is added and synthesized by the synthesis processing unit 1540. An interpolation value of the target RGB value is generated. This will be described in detail below.

ステップ1601では、カラーマッチング処理部102から入力された、カラーマッチング処理が施されたRGB色空間の画像データから、処理対象として注目するRGB値(以下、注目RGB値)が取得される。   In step 1601, an RGB value to be noted as a processing target (hereinafter referred to as an attention RGB value) is acquired from the image data in the RGB color space that has been subjected to the color matching process, input from the color matching processing unit 102.

ステップ1602では、非線形変換部1510及び補間部1520が、LUT指定部1530が指定する1次元の変換LUT及び3次元の色分解LUTを取得する。ここでは、LUT指定部1530は、第一変換LUT105a-1と第一色分解LUT105a-2が指定される。 In step 1602, the nonlinear conversion unit 1510 and the interpolation unit 1520 obtain a one-dimensional conversion LUT and a three-dimensional color separation LUT specified by the LUT specification unit 1530. Here, the LUT designation unit 1530 designates the first conversion LUT 105 a-1 and the first color separation LUT 105 a-2 .

ステップ1603では、非線形変換部1510が、取得した第一変換LUTa-1を用いて、注目RGB値に対し非線形変換処理(第一非線形変換処理)を実行する。非線形化された注目RGB値は、補間部1520に送られる。 In step 1603, the nonlinear conversion unit 1510 performs a nonlinear conversion process (first nonlinear conversion process) on the target RGB value using the acquired first conversion LUT a−1 . The non-linearized attention RGB value is sent to the interpolation unit 1520.

ステップ1604では、補間部1520が、取得した第一色分解LUTa-2を用いて、非線形化された注目RGB値に対し補間処理(第一補間処理)を実行する。第一補間処理の結果によって得られた補間値は、合成処理部1540に送られる。 In step 1604, the interpolation unit 1520 executes an interpolation process (first interpolation process) on the nonlinear RGB value of interest using the acquired first color separation LUT a-2 . The interpolation value obtained as a result of the first interpolation processing is sent to the synthesis processing unit 1540.

ステップ1605では、合成処理部1540が、色分解処理部1500からの出力値(第一補間処理の結果)を、この後のステップ1609で行う加算処理に備え、暫定的な合成値として保持(具体的には不図示のメモリに格納)する。このとき、合成値は事前に初期化(“0”がセット)されているものとする。   In step 1605, the synthesis processing unit 1540 holds the output value from the color separation processing unit 1500 (the result of the first interpolation processing) as a provisional synthesis value in preparation for the addition processing performed in step 1609. (Stored in a memory not shown). At this time, it is assumed that the composite value is initialized ("0" is set) in advance.

ステップ1606では、非線形変換部1510及び補間部1520が、LUT指定部1530が指定する1次元の変換LUT及び3次元の色分解LUTを取得する。ここでは、LUT指定部1530は、第二変換LUT105b-1と第一色分解LUT105b-2が指定される。 In step 1606, the nonlinear conversion unit 1510 and the interpolation unit 1520 acquire the one-dimensional conversion LUT and the three-dimensional color separation LUT specified by the LUT specification unit 1530. Here, the LUT designation unit 1530 designates the second conversion LUT 105 b-1 and the first color separation LUT 105 b-2 .

ステップ1607では、非線形変換部1510が、取得した第二変換LUTb-1を用いて、注目RGB値に対し非線形変換処理(第二非線形変換処理)を実行する。非線形化された注目RGB値は、補間部1520に送られる。 In step 1607, the non-linear conversion unit 1510 performs a non - linear conversion process (second non-linear conversion process) on the target RGB value using the acquired second conversion LUT b-1 . The non-linearized attention RGB value is sent to the interpolation unit 1520.

ステップ1608では、補間部1520が、取得した第二色分解LUTb-2を用いて、非線形化された注目RGB値に対し補間処理(第二補間処理)を実行する。第二補間処理によって得られた補間値は、合成処理部1540に送られる。 In step 1608, the interpolation unit 1520 performs an interpolation process (second interpolation process) on the nonlinear RGB value of interest using the acquired second color separation LUT b-2 . The interpolation value obtained by the second interpolation processing is sent to the synthesis processing unit 1540.

ステップ1609では、合成処理部1540が、色分解処理部1500からの出力値(第二補間処理の結果)を、ステップ1605で保持した合成値(第一補間処理の結果)に加算する。こうして得られた加算結果が、注目RGB値の補間値となる。   In step 1609, the composition processing unit 1540 adds the output value from the color separation processing unit 1500 (result of the second interpolation process) to the composition value (result of the first interpolation process) held in step 1605. The addition result thus obtained becomes an interpolation value of the target RGB value.

ステップ1610では、入力画像データ内のすべての画素値(RGB値)について、処理が完了したかどうかが判定される。全画素値について処理が完了している場合には、本処理を終了する。一方、未処理の画素値がある場合はステップ403に戻って次の注目RGB値を決定して処理を続行する。   In step 1610, it is determined whether or not processing has been completed for all pixel values (RGB values) in the input image data. If the process has been completed for all pixel values, this process ends. On the other hand, if there is an unprocessed pixel value, the process returns to step 403 to determine the next target RGB value and continue the process.

以上が、本実施例に係る色分解処理+合成処理の内容である。   The above is the content of the color separation process + synthesis process according to the present embodiment.

以上のとおり、1個の色分解処理部において、使用するLUTを切り替える構成によっても、実施例1と同様の効果を得ることができる。   As described above, the same effects as those of the first embodiment can be obtained by a configuration in which the LUT to be used is switched in one color separation processing unit.

次に、実施例3に係る構成(1個の色分解処理部がLUTを切り替えて使用する構成)を基本に、実施例2に係る構成(使用するLUTを画像形成処理の過程でベースLUTから生成する構成)を組み合わせた態様について、実施例4として説明する。なお、先の実施例と共通の部分については説明を簡易化または省略し、以下では差異点を中心に説明するものとする。   Next, based on the configuration according to the third embodiment (the configuration in which one color separation processing unit switches and uses the LUT), the configuration according to the second embodiment (the LUT to be used is changed from the base LUT in the course of the image forming process). An embodiment in which the configuration to be generated is combined will be described as a fourth embodiment. In addition, description is simplified or abbreviate | omitted about the part which is common in a previous Example, and suppose that it demonstrates centering on difference below.

図17は、本実施例に係る印刷システムの構成の一例を示したブロック図である。実施例3に係る図15のブロック図との違いは、画像処理装置10内に別途保持されたベースLUT1701に基づいて、色分解処理部1500で用いるLUTを生成するLUT生成部1700を備えている点である。なお、ベースLUT1701は、実施例1における3次元のベースLUT(実施例2におけるベースLUT1301)と同じである。そして、LUT生成部1700は、実施例2のLUT生成部1300と同様、ベースLUT1701を2つのLUTに分割し、色分解処理部500が順次読み込んで参照する第一及び第二の変換LUT、さらに第一及び第二の色分解LUTを生成する。なお、図17において、第一変換LUT105a−1及び第二変換LUTb−1に向かう矢印を破線で示しているが、その意味は実施例2の場合と同様で、事前に設定しておいても構わないことを意味している。   FIG. 17 is a block diagram illustrating an example of the configuration of the printing system according to the present embodiment. A difference from the block diagram of FIG. 15 according to the third embodiment is that an LUT generation unit 1700 that generates an LUT used by the color separation processing unit 1500 based on a base LUT 1701 separately held in the image processing apparatus 10 is provided. Is a point. Note that the base LUT 1701 is the same as the three-dimensional base LUT in the first embodiment (base LUT 1301 in the second embodiment). The LUT generation unit 1700 divides the base LUT 1701 into two LUTs as in the LUT generation unit 1300 of the second embodiment, and first and second conversion LUTs that are sequentially read and referenced by the color separation processing unit 500, and First and second color separation LUTs are generated. In FIG. 17, the arrows directed to the first conversion LUT 105a-1 and the second conversion LUTb-1 are indicated by broken lines, but the meaning is the same as in the case of the second embodiment, and may be set in advance. It means that it doesn't matter.

印刷システムにおける印刷処理の内容は、実施例3と同様で、前述の図3のフローで述べたとおりである。図18は、本実施例に係る、色分解処理+合成処理の流れを示すフローチャートである。本実施例は、実施例3の構成を基本とし、画像形成処理の過程でLUT生成を行うという実施例2の構成を追加したものである。したがって、本実施例の色分解処理+合成処理の内容としては、実施例3における図16のフローと実施例2における図14のフローとを融合させたものとなる。以下、図18のフローに沿って説明する。   The contents of the printing process in the printing system are the same as those in the third embodiment, and are as described in the flow of FIG. FIG. 18 is a flowchart illustrating the flow of the color separation process + synthesis process according to the present embodiment. The present embodiment is based on the configuration of the third embodiment and adds the configuration of the second embodiment in which LUT generation is performed during the image forming process. Therefore, the content of the color separation process + synthesis process of the present embodiment is a combination of the flow of FIG. 16 in the third embodiment and the flow of FIG. 14 in the second embodiment. Hereinafter, it demonstrates along the flow of FIG.

まず、ステップ1801で、LUT生成部1700は、基準となるベースLUT1701を不図示のHDD等から取得する。そして、続くステップ1802で、LUT生成部1700は、取得したベースLUTを用いて、LUT生成処理を実行する。LUT生成処理の内容は、実施例1の図6のフローで説明した、変換LUT及び色分解LUTの作成フローと同じであるため説明を省く。そして、LUT生成処理によって得られた各LUTは、第一変換LUT105a−1及び第二変換LUTb−1として、また、第一色分解LUT105a−2及び第二色分解LUTb−2として設定(HDD等に格納)される。   First, in step 1801, the LUT generation unit 1700 acquires a base LUT 1701 serving as a reference from an HDD (not shown) or the like. In subsequent step 1802, the LUT generation unit 1700 executes the LUT generation process using the acquired base LUT. The content of the LUT generation process is the same as the conversion LUT and color separation LUT creation flow described in the flow of FIG. Each LUT obtained by the LUT generation processing is set as the first conversion LUT 105a-1 and the second conversion LUTb-1, and as the first color separation LUT 105a-2 and the second color separation LUTb-2 (HDD or the like). Stored).

ステップ1804〜1813の各処理は、実施例3の図16のフローにおけるステップ1601〜1610に対応し、特に異なるところはないので説明を省く。   Each processing of steps 1804 to 1813 corresponds to steps 1601 to 1610 in the flow of FIG. 16 of the third embodiment, and there is no particular difference, and thus description thereof is omitted.

以上が、本実施例に係る色分解処理の内容である。   The above is the content of the color separation processing according to the present embodiment.

以上のとおり、1個の色分解処理部において使用するLUTを切り替える構成を基本に、使用するLUTを画像形成処理の過程においてベースLUTから生成する構成によっても、実施例1と同様の効果を得ることができる。   As described above, the same effect as that of the first embodiment can be obtained by the configuration in which the LUT to be used is generated from the base LUT in the course of the image forming process based on the configuration in which the LUT to be used in one color separation processing unit is switched. be able to.

実施例1から4は、ベースLUTの入出力特性に複数の出力値のピーク箇所や出力値の入り始め箇所が含まれることを前提に、大きな非線形性にも対応するための1次元の変換LUTを、1インク色の1入力チャネルあたり複数用いて非線形変換を行う態様であった。次に、ベースLUTと同様、その入出力特性に複数のピークを持つ1次元LUTを1つだけ用いて非線形変換を行う態様について、実施例5として説明する。なお、先の実施例と共通の部分については説明を簡易化または省略し、以下では差異点を中心に説明するものとする。   In the first to fourth embodiments, it is assumed that the input / output characteristics of the base LUT include a plurality of peak values of output values and locations where the output values start to enter, and a one-dimensional conversion LUT for dealing with large nonlinearities. This is a mode in which nonlinear conversion is performed by using a plurality of inks per one input channel of one ink color. Next, similarly to the base LUT, a mode in which nonlinear conversion is performed using only one one-dimensional LUT having a plurality of peaks in its input / output characteristics will be described as a fifth embodiment. In addition, description is simplified or abbreviate | omitted about the part which is common in a previous Example, and suppose that it demonstrates centering on difference below.

図19は、本実施例に係る印刷システムの構成の一例を示したブロック図である。実施例3と同様、色分解処理部は1つだけであり、さらに、非線形変換部1910及び補間部1920でそれぞれ参照される1次元の変換LUT及び3次元の色分解LUTも各1個である。つまり、入力画像データ内の注目画素値(例えばRGB値)に対して実行される補間処理は1回のみであるため、実施例1〜4には存在していた合成処理部が存在しない。この場合において、補間部1920における補間処理で用いる色分解LUTは、実施例1〜4で登場したベースLUTそのものである。その他の構成は実施例1と同一であり、印刷システムにおける印刷処理の内容も、前述の図3のフローで述べたとおりである。   FIG. 19 is a block diagram illustrating an example of the configuration of the printing system according to the present embodiment. As in the third embodiment, there is only one color separation processing unit, and there is also one each of the one-dimensional conversion LUT and the three-dimensional color separation LUT referred to by the nonlinear conversion unit 1910 and the interpolation unit 1920, respectively. . That is, since the interpolation process performed on the target pixel value (for example, RGB value) in the input image data is performed only once, there is no synthesis processing unit that exists in the first to fourth embodiments. In this case, the color separation LUT used in the interpolation processing in the interpolation unit 1920 is the base LUT itself that appeared in the first to fourth embodiments. Other configurations are the same as those in the first embodiment, and the contents of the printing process in the printing system are as described in the flow of FIG.

図20は、本実施例で用いる1次元の変換LUT(グリーンインク用)の特性を表すグラフの一例である。(a)〜(c)の各グラフにおいて、横軸は入力RGB値、縦軸が非線形変換後の出力RGB値を示している。図20(b)のグラフでは、符号2001と符号2002の部分で特性が相対的に大きく変化しており、1つの変換LUTにて、G軸方向の複数箇所で非線形性を高めることができるようになっている。   FIG. 20 is an example of a graph showing the characteristics of a one-dimensional conversion LUT (for green ink) used in this embodiment. In each of the graphs (a) to (c), the horizontal axis indicates the input RGB value, and the vertical axis indicates the output RGB value after nonlinear conversion. In the graph of FIG. 20 (b), the characteristics change relatively greatly between the reference numerals 2001 and 2002, and it is possible to increase the nonlinearity at a plurality of locations in the G-axis direction with one conversion LUT. It has become.

図21は、本実施例に係る、色分解処理の流れを示すフローチャートである。先の実施例と異なり、合成処理を含まない内容となっている。   FIG. 21 is a flowchart showing the flow of color separation processing according to the present embodiment. Unlike the previous embodiment, the content does not include the synthesis process.

ステップ2101では、色分解処理部1900が2種類のLUTを取得する。具体的には、非線形変換部1910が1次元の変換LUT1911を取得し、補間部1920が3次元の色分解LUT1921を取得する。   In step 2101, the color separation processing unit 1900 acquires two types of LUTs. Specifically, the nonlinear conversion unit 1910 acquires a one-dimensional conversion LUT 1911, and the interpolation unit 1920 acquires a three-dimensional color separation LUT 1921.

続くステップ2102では、カラーマッチング処理が施されたRGB色空間の入力画像データから注目RGB値が取得される。   In the subsequent step 2102, the target RGB value is acquired from the input image data in the RGB color space that has been subjected to the color matching process.

そして、ステップ2103では、非線形変換部1910が、変換LUT1911を用いた非線形変換処理を注目RGB値に対して実行する。   In step 2103, the non-linear conversion unit 1910 executes non-linear conversion processing using the conversion LUT 1911 on the target RGB value.

さらに、ステップ2104では、補間部1920が、非線形化された注目RGB値に対して色分解LUT1921を用いた補間処理を実行する。これにより、注目RGB値に対応する補間値(インク値)が生成される。   Further, in step 2104, the interpolation unit 1920 executes an interpolation process using the color separation LUT 1921 for the nonlinear RGB value of interest. Thereby, an interpolation value (ink value) corresponding to the target RGB value is generated.

ステップ2105では、入力画像データ内のすべての画素値(RGB値)について、処理が完了したかどうかが判定される。全画素値について処理が完了している場合には、本処理を終了する。一方、未処理の画素値がある場合はステップ2102に戻って次の注目RGB値を決定して処理を続行する。   In step 2105, it is determined whether or not processing has been completed for all pixel values (RGB values) in the input image data. If the process has been completed for all pixel values, this process ends. On the other hand, if there is an unprocessed pixel value, the process returns to step 2102 to determine the next target RGB value and continue the process.

以上が、本実施例に係る色分解処理の内容である。   The above is the content of the color separation processing according to the present embodiment.

以上のとおり、非線形変換処理において、1インク色の1入力チャネルあたり、入出力特性が大きく変化する箇所を複数含む1次元の変換LUTを1つ用いた構成によっても、実施例1と同様の効果を得ることができる。   As described above, in the non-linear conversion process, the same effect as that of the first embodiment can be obtained by using a single one-dimensional conversion LUT including a plurality of locations where input / output characteristics greatly change per input channel of one ink color. Can be obtained.

[その他の実施例]
また、本発明は、上述の実施例の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Examples]
Further, the present invention supplies a program for realizing one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus execute the program. It can also be realized by a process of reading and executing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

画像処理装置10
第一色分解処理部104a
第二色分解処理部104b
合成処理部106
Image processing apparatus 10
First color separation processing unit 104a
Second color separation processing unit 104b
Compositing processing unit 106

Claims (15)

入力画像の信号成分を、出力デバイスが扱う信号成分に色分解する画像処理装置であって、
前記入力画像の信号成分に応じた複数次元の色分解LUTに基づく補間処理によって、前記入力画像の各画素値に対応する前記出力デバイスが扱う信号成分の出力値を決定する補間手段と、
前記補間手段における前記補間処理の前に、前記入力画像の画素値を、1次元の変換LUTを用いて非線形変換する変換手段と、
を備え、
前記色分解LUTは、前記複数次元のうち少なくとも1つの次元の入出力特性において、出力値が極大または極小値を取るピーク箇所、あるいは、入力値に対して出力値が立ち上がる立ち上がり箇所を複数含み、
前記変換LUTは、前記色分解LUTにおける前記複数のピーク箇所又は立ち上がり箇所のそれぞれに対応して非線形性を高める入出力特性を有する、
ことを特徴とする画像処理装置。
An image processing apparatus for color-separating signal components of an input image into signal components handled by an output device,
Interpolation means for determining an output value of a signal component handled by the output device corresponding to each pixel value of the input image by an interpolation process based on a multi-dimensional color separation LUT corresponding to the signal component of the input image;
Conversion means for nonlinearly converting the pixel value of the input image using a one-dimensional conversion LUT before the interpolation processing in the interpolation means;
With
The color separation LUT includes a plurality of peak points where the output value has a maximum or minimum value in the input / output characteristics of at least one of the plurality of dimensions, or a plurality of rising points where the output value rises with respect to the input value,
The conversion LUT has input / output characteristics that increase nonlinearity corresponding to each of the plurality of peak points or rising points in the color separation LUT.
An image processing apparatus.
前記変換手段は、前記色分解LUTにおける前記複数のピーク箇所又は立ち上がり箇所のそれぞれに対応する複数の前記変換LUTを用いて、前記入力画像の各画素値を非線形変換することを特徴とする請求項1に記載の画像処理装置。   The conversion means performs non-linear conversion on each pixel value of the input image using the plurality of conversion LUTs corresponding to each of the plurality of peak portions or rising portions in the color separation LUT. The image processing apparatus according to 1. 前記補間手段は、前記色分解LUTにおける前記複数のピーク箇所又は立ち上がり箇所のそれぞれに対応する、前記色分解LUTを分割して得られる複数の部分LUTを用いて、前記非線形変換された前記入力画像の画素値を入力値とした補間処理を行う補間手段と、
前記補間手段でそれぞれ得られた前記補間処理の結果を合成して、前記入力画像の画素値に対応する前記出力値を生成する合成手段と、
をさらに備え、
前記複数の部分LUTのそれぞれで同じ位置にある格子点値の総和は、前記色分解LUTにおけるその対応する位置にある格子点値と等しい、
ことを特徴とする請求項1又は2に記載の画像処理装置。
The interpolation means uses the plurality of partial LUTs obtained by dividing the color separation LUT corresponding to each of the plurality of peak points or rising points in the color separation LUT, and the input image that has been nonlinearly transformed Interpolation means for performing an interpolation process using the pixel value of
Combining the interpolation processing results respectively obtained by the interpolation means, and generating the output value corresponding to the pixel value of the input image;
Further comprising
The sum of the grid point values at the same position in each of the plurality of partial LUTs is equal to the grid point value at the corresponding position in the color separation LUT.
The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記補間手段は、前記複数の部分LUTのそれぞれに対応して、複数の補間処理を行う手段で構成され、
前記合成手段は、前記複数の補間処理を行う手段からそれぞれ受け取った補間処理の結果を合成して、前記入力画像の画素値に対応する前記出力値を生成する
ことを特徴とする請求項3に記載の画像処理装置。
The interpolation means is constituted by means for performing a plurality of interpolation processes corresponding to each of the plurality of partial LUTs,
The said synthesis | combination means synthesize | combines the result of the interpolation process each received from the means to perform the said some interpolation process, The said output value corresponding to the pixel value of the said input image is produced | generated. The image processing apparatus described.
前記色分解LUTを格納する格納手段と、
前記格納手段に格納された前記色分解LUTを分割することにより前記複数の部分LUTを生成するLUT生成手段と
をさらに備えたことを特徴とする請求項3又は4に記載の画像処理装置。
Storage means for storing the color separation LUT;
The image processing apparatus according to claim 3, further comprising: an LUT generation unit configured to generate the plurality of partial LUTs by dividing the color separation LUT stored in the storage unit.
前記LUT生成手段は、前記色分解LUTにおける前記複数のピーク箇所又は立ち上がり箇所の数に応じた複数のマスクを用いて、前記色分解LUTを分割し、
前記複数のマスクは、各マスクの分割率の総和が、入力値の全範囲において1.0となるようなマスクである
ことを特徴とする請求項5に記載の画像処理装置。
The LUT generation unit divides the color separation LUT using a plurality of masks according to the number of the plurality of peak portions or rising portions in the color separation LUT,
The image processing apparatus according to claim 5, wherein the plurality of masks are masks such that a sum of division ratios of the masks is 1.0 in the entire range of input values.
前記入力画像の信号成分は、RGB色空間で表される色成分であり、
前記LUT生成手段は、前記入力画像のRGB値に応じて前記分割を行う、
ことを特徴とする請求項5又は6に記載の画像処理装置。
The signal component of the input image is a color component represented in an RGB color space,
The LUT generation means performs the division according to the RGB value of the input image.
The image processing apparatus according to claim 5, wherein the image processing apparatus is an image processing apparatus.
前記変換手段で使用する前記変換LUT及び前記補間手段で使用する前記部分LUTを指定する指定手段をさらに備え、
前記変換手段は、前記指定手段で指定された前記変換LUTを用いて非線形変換を行い、
前記補間手段は、前記指定手段で指定された前記部分LUTを用いて補間処理を行う
ことを特徴とする請求項2乃至7のいずれか1項に記載の画像処理装置。
A designating unit for designating the conversion LUT used by the conversion unit and the partial LUT used by the interpolation unit;
The conversion means performs nonlinear conversion using the conversion LUT specified by the specification means,
The image processing apparatus according to claim 2, wherein the interpolation unit performs an interpolation process using the partial LUT specified by the specifying unit.
前記補間手段が、前記複数の部分LUTに代えて、当該複数の部分LUTの各入出力特性を表す数式を用いて、前記補間処理を行うことを特徴とする請求項3乃至8のいずれか1項に記載の画像処理装置。   9. The method according to claim 3, wherein the interpolation unit performs the interpolation process using mathematical expressions representing input / output characteristics of the plurality of partial LUTs instead of the plurality of partial LUTs. The image processing apparatus according to item. 前記出力デバイスは、印刷装置であり、
前記出力デバイスが扱う信号成分に対応する出力値は、前記印刷装置における画像形成で使用する色材の量を表す値である
ことを特徴とする請求項1乃至9のいずれか1項に記載の画像処理装置。
The output device is a printing apparatus;
The output value corresponding to the signal component handled by the output device is a value representing the amount of color material used in image formation in the printing apparatus. Image processing device.
前記印刷装置は、インクジェット方式の印刷装置であり、
前記色材の量を表す値は、インク値である、
ことを特徴とする請求項10に記載の画像処理装置。
The printing apparatus is an inkjet printing apparatus,
The value representing the amount of the color material is an ink value.
The image processing apparatus according to claim 10.
前記印刷装置が用いるインクには、特色のインクを含み、
前記変換手段における非線形変換及び前記補間手段における補間処理は、前記特色のインクについてのみ行う
ことを特徴とする請求項11に記載の画像処理装置。
The ink used by the printing device includes a special color ink,
The image processing apparatus according to claim 11, wherein the nonlinear conversion in the conversion unit and the interpolation processing in the interpolation unit are performed only for the spot color ink.
前記特色のインクは、さらに淡色のインクであることを特徴とする請求項12に記載の画像処理装置。   The image processing apparatus according to claim 12, wherein the special color ink is further a light color ink. 入力画像の信号成分を、出力デバイスが扱う信号成分に色分解する画像処理方法であって、
前記入力画像の信号成分に応じた複数次元の色分解LUTに基づく補間処理によって、前記入力画像の各画素値に対応する前記出力デバイスが扱う信号成分の出力値を決定する補間ステップと、
前記補間ステップにおける前記補間処理の前に、前記入力画像の画素値を、1次元の変換LUTを用いて非線形変換する変換ステップと、
を含み、
前記色分解LUTは、前記複数次元のうち少なくとも1つの次元の入出力特性において、出力値が極大または極小値を取るピーク箇所、あるいは、入力値に対して出力値が立ち上がる立ち上がり箇所を複数含み、
前記変換LUTは、前記色分解LUTにおける前記複数のピーク箇所又は立ち上がり箇所のそれぞれに対応して非線形性を高める入出力特性を有する、
ことを特徴とする画像処理方法。
An image processing method for color-separating signal components of an input image into signal components handled by an output device,
An interpolation step of determining an output value of a signal component handled by the output device corresponding to each pixel value of the input image by an interpolation process based on a multi-dimensional color separation LUT corresponding to the signal component of the input image;
A conversion step of nonlinearly converting the pixel value of the input image using a one-dimensional conversion LUT before the interpolation processing in the interpolation step;
Including
The color separation LUT includes a plurality of peak points where the output value has a maximum or minimum value in the input / output characteristics of at least one of the plurality of dimensions, or a plurality of rising points where the output value rises with respect to the input value,
The conversion LUT has input / output characteristics that increase nonlinearity corresponding to each of the plurality of peak points or rising points in the color separation LUT.
An image processing method.
コンピュータを、請求項1乃至13のいずれか1項に記載の画像処理装置として機能させるためのプログラム。   A program for causing a computer to function as the image processing apparatus according to any one of claims 1 to 13.
JP2016093165A 2016-05-06 2016-05-06 Color conversion device, color conversion method, and program Active JP6750850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016093165A JP6750850B2 (en) 2016-05-06 2016-05-06 Color conversion device, color conversion method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016093165A JP6750850B2 (en) 2016-05-06 2016-05-06 Color conversion device, color conversion method, and program

Publications (3)

Publication Number Publication Date
JP2017201759A true JP2017201759A (en) 2017-11-09
JP2017201759A5 JP2017201759A5 (en) 2019-05-30
JP6750850B2 JP6750850B2 (en) 2020-09-02

Family

ID=60265076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016093165A Active JP6750850B2 (en) 2016-05-06 2016-05-06 Color conversion device, color conversion method, and program

Country Status (1)

Country Link
JP (1) JP6750850B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180234591A1 (en) * 2015-07-30 2018-08-16 Canon Kabushiki Kaisha Apparatus, method, and program for processing image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180234591A1 (en) * 2015-07-30 2018-08-16 Canon Kabushiki Kaisha Apparatus, method, and program for processing image
US10506134B2 (en) * 2015-07-30 2019-12-10 Canon Kabushiki Kaisha Apparatus, method, and program for processing image

Also Published As

Publication number Publication date
JP6750850B2 (en) 2020-09-02

Similar Documents

Publication Publication Date Title
JP6768343B2 (en) Image processing equipment, image processing methods and programs
JP3268512B2 (en) Image processing apparatus and image processing method
US7433513B2 (en) Scaling an array of luminace values
JP6840604B2 (en) Color conversion table creation device, color conversion table creation method, color conversion processing device, color conversion processing method and program
US7583406B2 (en) Color transforms for concave device gamuts
US9894250B2 (en) Image processing apparatus, image forming apparatus, image processing method, and non-transitory computer readable storage medium configured to generate, based on correction data, data indicating on dot positions during printing and scanning
US10511740B2 (en) Image processing apparatus, method thereof, and image forming apparatus that determine a dot arrangement of printing material by halftone processing
JP5854034B2 (en) Color processing apparatus, image forming apparatus, and program
JP4512354B2 (en) Digital image printing using a reduced amount of colorant while maintaining perceived color
US7557954B2 (en) Fast color interpolation
US6995881B2 (en) Image processing method and program capable of reducing graininess
JP2012253774A (en) Color printing method and color printing system
JP5854066B2 (en) Color processing apparatus, image forming apparatus, and program
JP6750850B2 (en) Color conversion device, color conversion method, and program
US7088373B2 (en) Link file generating program product, method and apparatus for generating link file used for color matching system
JP6789664B2 (en) Threshold matrix generator, threshold matrix generation method and program
JP2011234344A (en) Image forming device and method for halftone processing
JP3683947B2 (en) Image processing apparatus and method
JP4139590B2 (en) CMYK color printer black generation method using multiple look-up tables and interpolation method
JP2800071B2 (en) Color image forming equipment
JP4029997B2 (en) Color conversion apparatus, color conversion method, program, and recording medium
JP2003283856A5 (en)
JP2005210339A (en) Image processor, print controller, and image processing method and program
JP4697807B2 (en) Image processing apparatus, image processing method, program, and information recording medium
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190419

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200331

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200526

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: 20200714

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200807

R151 Written notification of patent or utility model registration

Ref document number: 6750850

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151