JP6665559B2 - Calculation device and computer program - Google Patents

Calculation device and computer program Download PDF

Info

Publication number
JP6665559B2
JP6665559B2 JP2016016461A JP2016016461A JP6665559B2 JP 6665559 B2 JP6665559 B2 JP 6665559B2 JP 2016016461 A JP2016016461 A JP 2016016461A JP 2016016461 A JP2016016461 A JP 2016016461A JP 6665559 B2 JP6665559 B2 JP 6665559B2
Authority
JP
Japan
Prior art keywords
color
value
achromatic
representative
values
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.)
Active
Application number
JP2016016461A
Other languages
Japanese (ja)
Other versions
JP2017135682A (en
Inventor
吉田 康成
康成 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016016461A priority Critical patent/JP6665559B2/en
Publication of JP2017135682A publication Critical patent/JP2017135682A/en
Application granted granted Critical
Publication of JP6665559B2 publication Critical patent/JP6665559B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本開示は、第1の色空間の表色値に対応する第2の色空間の表色値を算出する技術に関する。   The present disclosure relates to a technique for calculating a color specification value in a second color space corresponding to a color specification value in a first color space.

従来から、印刷などの画像処理において、画像データの色空間を変換する色変換処理が行われている。このような色変換処理では、色変換テーブルなどの、2個の色空間の間の対応関係を定める情報が、用いられる。ここで、黒のトーンジャンプが目立たないようにするために、色変換テーブルから出力された中間パラメータを線形補間演算して新たな中間パラメータを生成し、新たな中間パラメータに基づいて黒の出力色値を生成する技術が提案されている。   2. Description of the Related Art Conventionally, in image processing such as printing, color conversion processing for converting a color space of image data has been performed. In such a color conversion process, information that defines a correspondence between two color spaces, such as a color conversion table, is used. Here, in order to make the black tone jump inconspicuous, a new intermediate parameter is generated by performing a linear interpolation operation on the intermediate parameter output from the color conversion table, and the black output color is calculated based on the new intermediate parameter. Techniques for generating values have been proposed.

特開2002−44474号公報JP 2002-44474 A

ところで、黒のような無彩色の色材が用いられるべきではない領域(例えば、明るい領域)において無彩色の色材が用いられると、画質(例えば、粒状性)が低下する場合があった。   By the way, when an achromatic color material is used in an area where an achromatic color material such as black should not be used (for example, a bright area), image quality (for example, granularity) may be reduced.

本明細書は、無彩色の色材が用いられるべきではない領域における、画質の低下を抑制し得る技術を開示する。   The present specification discloses a technique capable of suppressing a decrease in image quality in an area where an achromatic color material should not be used.

本明細書は、例えば、以下の適用例を開示する。   This specification discloses, for example, the following application examples.

[適用例1]
第1の色空間における表色値である第1種の表色値に対応する、第2の色空間における表色値である第2種の表色値を、色対応情報を用いて算出する算出装置であって、前記色対応情報は、前記第1の色空間における複数の第1種の代表表色値と、前記第2の色空間における複数の第2種の代表表色値と、を対応付ける情報である、前記算出装置であって、
前記第2種表色値は、印刷に用いられる複数種類の色材であって無彩色の色材を含む前記複数種類の色材に対応する複数の色成分の値で表され、
前記複数の第1種の代表表色値は、前記第1の色空間における白色と黒色とを結ぶ無彩色ライン上の複数の無彩色代表値を含み、
前記複数の無彩色代表値は、前記無彩色ライン上で互いに隣り合う高明度代表値と低明度代表値とであって、比較的明度が高い前記高明度代表値と、比較的明度が低い前記低明度代表値と、を含み、
前記高明度代表値と前記低明度代表値とは、前記無彩色ライン上の基準表色値を間に挟み、
前記基準表色値は、前記無彩色の色材の色成分の値がゼロである第2種表色値に対応付けられた前記無彩色ライン上の第1種表色値のうちで最も黒色に近く、前記複数の無彩色代表値のいずれとも異なる表色値であり、
前記算出装置は、
前記無彩色ライン上の前記基準表色値と前記高明度代表値との間の第1種表色値に対応する第2種表色値を、前記低明度代表値に対応付けられた第2種表色値を用いずに、前記高明度代表値に対応付けられた第2種表色値を用いて算出する第1算出部と、
前記無彩色ライン上の前記基準表色値と前記低明度代表値との間の第1種表色値に対応する第2種表色値を、前記低明度代表値に対応付けられた第2種表色値を用いて算出する第2算出部と、
を備える、算出装置。
[Application Example 1]
A second type of color value, which is a color value in the second color space, corresponding to a first type of color value, which is a color value in the first color space, is calculated using the color correspondence information. In the calculation device, the color correspondence information includes a plurality of first type representative color values in the first color space, a plurality of second type representative color values in the second color space, The calculation device is information that associates
The second type color value is represented by a plurality of color components corresponding to the plurality of types of color materials including an achromatic color material and a plurality of types of color materials used for printing,
The plurality of first-type representative color values include a plurality of achromatic representative values on an achromatic line connecting white and black in the first color space,
The plurality of achromatic representative values are a high-brightness representative value and a low-brightness representative value adjacent to each other on the achromatic color line, and the high-brightness representative value having a relatively high brightness, and the relatively low brightness. And a low brightness representative value,
The high brightness representative value and the low brightness representative value sandwich a reference color value on the achromatic color line,
The reference color value is the blackest among the first type color values on the achromatic line associated with the second type color value in which the value of the color component of the achromatic color material is zero. And a color specification value different from any of the plurality of achromatic representative values,
The calculation device,
A second type color value corresponding to a first type color value between the reference color value on the achromatic color line and the high lightness representative value is a second color value corresponding to the low lightness representative value. A first calculation unit that calculates using a second type color value associated with the high brightness representative value without using a type color value;
A second type color value corresponding to a first type color value between the reference color value on the achromatic color line and the low lightness representative value is a second type color value associated with the low lightness representative value. A second calculating unit that calculates using the seed color value,
A calculation device comprising:

この構成によれば、無彩色ライン上の基準表色値と高明度代表値との間の第1種表色値に対応する第2種表色値の算出に、低明度代表値に対応付けられた第2種表色値が用いられずに、高明度代表値に対応付けられた第2種表色値が用いられる。低明度代表値に対応する第2種代表表色値の無彩色の色材の色成分はゼロを超え得るが、高明度代表値に対応する第2種代表表色値の無彩色の色材の色成分はゼロである。そのため、基準表色値と高明度代表値との間の第1種表色値に対応する第2種表色値にて、無彩色の色材に対応する色成分が、意図せずにゼロよりも大きくなることを抑制できる。また、無彩色ライン上の基準表色値と低明度代表値との間の第1種表色値に対応する第2種表色値の算出に、低明度代表値に対応付けられた第2種表色値を用いられるので、適切な第2種表色値を算出できる。   According to this configuration, the calculation of the second type color value corresponding to the first type color value between the reference color value on the achromatic color line and the high value representative value is associated with the low value representative value. Instead of using the assigned second type color value, the second type color value associated with the high brightness representative value is used. The color component of the achromatic color material of the second type representative color value corresponding to the low brightness representative value may exceed zero, but the achromatic color material of the second type representative color value corresponding to the high brightness representative value Has a zero color component. Therefore, in the second type color value corresponding to the first type color value between the reference color value and the high brightness representative value, the color component corresponding to the achromatic color material is unintentionally set to zero. Can be suppressed from becoming larger. Further, the calculation of the second type color value corresponding to the first type color value between the reference color value on the achromatic color line and the low value representative value is performed by the second value associated with the low value representative value. Since the seed color value is used, an appropriate second seed color value can be calculated.

なお、本明細書に開示の技術は、種々の態様で実現することが可能であり、例えば、算出方法および算出装置、それらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体(例えば、一時的ではない記録媒体)、等の形態で実現することができる。   The technology disclosed in the present specification can be realized in various modes. For example, a calculation method and a calculation device, a computer program for realizing the functions of the method or the device, and a computer program It can be realized in the form of a recorded recording medium (for example, a non-temporary recording medium).

実施例のデータ処理装置100を示す説明図である。FIG. 1 is an explanatory diagram illustrating a data processing device 100 according to an embodiment. ルックアップテーブルLUTを作成する処理の例を示すフローチャートである。9 is a flowchart illustrating an example of processing for creating a lookup table LUT. RGBの色成分で表される色立体CCの説明図である。FIG. 3 is an explanatory diagram of a color solid CC represented by RGB color components. 無彩色ラインAL上の表色値とCMYKの階調値との関係を示す説明図である。FIG. 4 is an explanatory diagram illustrating a relationship between a color specification value on an achromatic line AL and a gradation value of CMYK. グレー調整処理の例を示すフローチャートである。13 is a flowchart illustrating an example of a gray adjustment process. CMYKの調整済表色値の算出処理の例のフローチャートである。9 is a flowchart of an example of a process for calculating an adjusted colorimetric value of CMYK. 無彩色ラインALから離れたグリッド値に対応するCMYKの表色値の説明図である。FIG. 9 is an explanatory diagram of CMYK color values corresponding to grid values separated from an achromatic line AL. 印刷処理の手順の例を示すフローチャートである。9 is a flowchart illustrating an example of a procedure of a printing process. 色変換処理の手順の例を示すフローチャートである。9 is a flowchart illustrating an example of a procedure of a color conversion process.

A.第1実施例:
図1は、実施例のデータ処理装置100を示す説明図である。データ処理装置100は、例えば、パーソナルコンピュータである(例えば、デスクトップコンピュータ、タブレットコンピュータ)。データ処理装置100は、プロセッサ110と、揮発性記憶装置120と、不揮発性記憶装置130と、画像を表示する表示部140と、ユーザによる操作を受け入れる操作部150と、インタフェース190と、を有している。これらの要素は、バスを介して互いに接続されている。
A. First embodiment:
FIG. 1 is an explanatory diagram illustrating the data processing device 100 according to the embodiment. The data processing device 100 is, for example, a personal computer (for example, a desktop computer, a tablet computer). The data processing device 100 includes a processor 110, a volatile storage device 120, a nonvolatile storage device 130, a display unit 140 that displays an image, an operation unit 150 that accepts an operation by a user, and an interface 190. ing. These elements are connected to each other via a bus.

プロセッサ110は、データ処理を行う装置であり、例えば、CPUである。揮発性記憶装置120は、例えば、DRAMであり、不揮発性記憶装置130は、例えば、フラッシュメモリである。   The processor 110 is a device that performs data processing, and is, for example, a CPU. The volatile storage device 120 is, for example, a DRAM, and the non-volatile storage device 130 is, for example, a flash memory.

不揮発性記憶装置130は、第1プログラム132と第2プログラム134と第3プログラム136とを格納している。プロセッサ110は、これらのプログラム132、134、136を実行することによって、種々の機能を実現する。これらのプログラム132、134、136によって実現される機能の詳細については、後述する。プロセッサ110は、プログラム132、134、136の実行に利用される種々の中間データを、記憶装置(例えば、揮発性記憶装置120、不揮発性記憶装置130のいずれか)に、一時的に格納する。   The nonvolatile storage device 130 stores a first program 132, a second program 134, and a third program 136. The processor 110 realizes various functions by executing the programs 132, 134, and 136. Details of the functions realized by these programs 132, 134, 136 will be described later. The processor 110 temporarily stores various intermediate data used for executing the programs 132, 134, and 136 in a storage device (for example, one of the volatile storage device 120 and the nonvolatile storage device 130).

表示部140は、画像を表示する装置であり、例えば、液晶ディスプレイである。操作部150は、ユーザによる操作を受け取る装置であり、例えば、表示部140上に重ねて配置されたタッチパネルである。ユーザは、操作部150を操作することによって、種々の指示をデータ処理装置100に入力可能である。   The display unit 140 is a device that displays an image, and is, for example, a liquid crystal display. The operation unit 150 is a device that receives an operation by a user, and is, for example, a touch panel that is disposed on the display unit 140 in an overlapping manner. The user can input various instructions to the data processing device 100 by operating the operation unit 150.

インタフェース190は、他の装置と通信するためのインタフェースである(例えば、USBインタフェース、有線LANインタフェース、IEEE802.11の無線インタフェース)。インタフェース190には、測色機200とプリンタ210とが接続されている。測色機200は、色を測定して測色値を出力する装置であり、例えば、分光測色機である。プリンタ210は、用紙(印刷媒体の一例)上に画像を印刷する装置である。本実施例では、プリンタ210は、シアンCとマゼンタMとイエロYとブラックKのそれぞれのインクを用いるインクジェット式の印刷装置である。なお、プリンタ210としては、他の方式(例えば、レーザ方式)の印刷装置を採用してもよい。   The interface 190 is an interface for communicating with another device (for example, a USB interface, a wired LAN interface, and an IEEE802.11 wireless interface). The colorimeter 200 and the printer 210 are connected to the interface 190. The colorimeter 200 is a device that measures colors and outputs colorimetric values, and is, for example, a spectral colorimeter. The printer 210 is a device that prints an image on paper (an example of a print medium). In the present embodiment, the printer 210 is an inkjet printing apparatus that uses respective inks of cyan C, magenta M, yellow Y, and black K. In addition, as the printer 210, a printing device of another system (for example, a laser system) may be adopted.

図2は、プリンタ用のルックアップテーブルLUTを作成する処理の例を示すフローチャートである。本実施例では、ルックアップテーブルLUTは、RGB色空間で表された画像データを用いて画像を印刷する際に利用される。ルックアップテーブルLUTは、RGBの各色成分の階調値で表される複数の表色値と、プリンタで利用可能な複数の色材の各色成分の階調値で表される複数の表色値と、の対応関係を定めるテーブルである。ここでは、複数の色材として、シアンC、マゼンタM、イエロY、ブラックKの4種類の色材が利用可能であることとする。また、RGBとCMYKとのそれぞれの階調値は、0から255の256段階で表されていることとする。CMYKの階調値は、対応する色材の単位面積当たりの量が多いほど、大きい。以下、RGBの表色値を、第1種表色値とも呼ぶ。また、CMYKの表色値を、第2種表色値とも呼ぶ。   FIG. 2 is a flowchart illustrating an example of processing for creating a lookup table LUT for a printer. In this embodiment, the look-up table LUT is used when printing an image using image data expressed in the RGB color space. The look-up table LUT includes a plurality of color values represented by tone values of each color component of RGB and a plurality of color values represented by tone values of each color component of a plurality of color materials usable in the printer. Is a table that determines the correspondence between. Here, it is assumed that four types of color materials, cyan C, magenta M, yellow Y, and black K, can be used as the plurality of color materials. Further, it is assumed that the respective gradation values of RGB and CMYK are represented in 256 levels from 0 to 255. The CMYK gradation value is larger as the amount of the corresponding color material per unit area is larger. Hereinafter, the RGB color values are also referred to as first type color values. The CMYK color values are also referred to as second type color values.

図3は、RGBの色成分で表される色立体CCの説明図である。色立体CCの8つの頂点のそれぞれには、色を示す符号が付されている(具体的には、黒頂点Vk(0,0,0)、赤頂点Vr(255,0,0)、緑頂点Vg(0,255,0)、青頂点Vbl(0,0,255)、シアン頂点Vc(0,255,255)、マゼンタ頂点Vm(255,0,255)、イエロ頂点Vy(255,255,0)、白頂点Vw(255,255,255))。括弧内の数字は、(赤R、緑G、青B)の各色成分の値を示している。   FIG. 3 is an explanatory diagram of a color solid CC represented by RGB color components. Each of the eight vertexes of the color solid CC is assigned a code indicating a color (specifically, a black vertex Vk (0, 0, 0), a red vertex Vr (255, 0, 0), a green vertex) Vertex Vg (0, 255, 0), blue vertex Vbl (0, 0, 255), cyan vertex Vc (0, 255, 255), magenta vertex Vm (255, 0, 255), yellow vertex Vy (255, 255) , 0), white vertex Vw (255, 255, 255)). The numbers in parentheses indicate the values of the respective color components (red R, green G, blue B).

本実施例では、ルックアップテーブルLUTは、RGB色空間における複数の代表的な表色値(グリッド値ともよぶ)と、CMYK色空間における複数の表色値であって複数のグリッド値に対応付けられた複数の表色値と、の対応関係を表している。グリッド値は、例えば、RGB色空間において、RGBの各値を、0から255の間におおよそ均等に配置された33個の特定値のいずれかに設定して得られる値である。本実施例では、このような複数のグリッド値は、図3の色立体CC内において、おおよそ均等に分布する(図示省略)。   In this embodiment, the look-up table LUT is associated with a plurality of representative color values (also referred to as grid values) in the RGB color space and a plurality of color values in the CMYK color space, and is associated with the plurality of grid values. And a plurality of specified color values. The grid value is, for example, a value obtained by setting each of the RGB values to any one of 33 specific values approximately uniformly arranged between 0 and 255 in the RGB color space. In the present embodiment, such a plurality of grid values are approximately uniformly distributed in the color solid CC of FIG. 3 (not shown).

図中には、第1ラインRL1と、第2ラインRL2と、無彩色ラインALと、が示されている。第1ラインRL1は、白頂点Vwと赤頂点Vrとを結ぶ直線である。第2ラインRL2は、赤頂点Vrと黒頂点Vkとを結ぶ直線である。これらのラインRL1、RL2は、色立体CCの外殻上の直線である。無彩色ラインALは、白頂点Vwと黒頂点Vkとを結ぶ直線である。無彩色ラインAL上では、R=G=Bである。無彩色ラインAL上の表色値は、無彩色を表している。3本のラインRL1、RL2、ALで囲まれる三角形の領域RA上の表色値は、赤の色相を有する色を表している。一般的には、色立体CC内において、無彩色ラインALを含む平面のうち、無彩色ラインALから見て一方向側の部分は、色相がおおよそ同じ色を表している。   In the figure, a first line RL1, a second line RL2, and an achromatic line AL are shown. The first line RL1 is a straight line connecting the white vertex Vw and the red vertex Vr. The second line RL2 is a straight line connecting the red vertex Vr and the black vertex Vk. These lines RL1 and RL2 are straight lines on the outer shell of the color solid CC. The achromatic line AL is a straight line connecting the white vertex Vw and the black vertex Vk. On the achromatic line AL, R = G = B. The color values on the achromatic line AL indicate achromatic colors. The color values on the triangular area RA surrounded by the three lines RL1, RL2, and AL represent a color having a red hue. Generally, in a plane including the achromatic color line AL in the color solid CC, a portion on one side when viewed from the achromatic color line AL represents a color having substantially the same hue.

プロセッサ110(図1)は、図2の処理を実行することによって、RGB色空間における複数のグリッド値に対応する、CMYK色空間における複数の表色値を算出する。図2の処理は、第1プログラム132に従って動作するプロセッサ110によって、実行される。なお、測色機200を用いた測色は、測色用の第2プログラム134に従って動作するプロセッサ110によって行われる。プリンタ210を用いた画像の印刷は、印刷用の第3プログラム136に従って動作するプロセッサ110によって行われる。   The processor 110 (FIG. 1) calculates a plurality of colorimetric values in the CMYK color space corresponding to a plurality of grid values in the RGB color space by executing the processing in FIG. 2 is executed by the processor 110 operating according to the first program 132. The color measurement using the colorimeter 200 is performed by the processor 110 that operates according to the second program 134 for color measurement. Printing of an image using the printer 210 is performed by the processor 110 that operates according to the third program 136 for printing.

S100では、プロセッサ110(図1)は、キャリブレーションデータを作成する。キャリブレーションデータは、CMYKのそれぞれの階調値の変化に対して、実際に印刷される色の濃度がリニアに変化するように、CMYKの階調値を補正するためのデータである。本実施例では、キャリブレーションデータは、シアンの補正前階調値Caと補正済階調値Cbとの対応関係と、マゼンタの補正前階調値Maと補正済階調値Mbとの対応関係と、イエロの補正前階調値Yaと補正済階調値Ybとの対応関係と、ブラックの補正前階調値Kaと補正済階調値Kbとの対応関係と、を表している。補正前階調値と補正済階調値との対応関係を表すデータとしては、例えば、1次元のルックアップテーブルが用いられる。キャリブレーションデータは、CMYKの4色成分のための4個の1次元ルックアップテーブルを含んでいる。   In S100, the processor 110 (FIG. 1) creates calibration data. The calibration data is data for correcting the CMYK gradation values so that the density of the actually printed color changes linearly with respect to each change in the CMYK gradation values. In the present embodiment, the calibration data includes the correspondence between the pre-correction gradation value Ca for cyan and the corrected gradation value Cb, and the correspondence between the pre-correction gradation value Ma for magenta and the corrected gradation value Mb. And the corresponding relationship between the yellow uncorrected tone value Ya and the corrected tone value Yb, and the corresponding relationship between the black uncorrected tone value Ka and the corrected tone value Kb. For example, a one-dimensional lookup table is used as data representing the correspondence between the pre-correction gradation value and the corrected gradation value. The calibration data includes four one-dimensional look-up tables for the four CMYK color components.

キャリブレーションデータは、例えば、以下のように生成される。以下、シアンCの1次元ルックアップテーブルを作成する方法の例を説明する。プロセッサ110は、印刷用の第3プログラム136に従って、シアンCのキャリブレーション用の複数個のパッチを、プリンタ210に印刷させる。1個のパッチは、シアンCの1つの階調値に対応しており、シアンCの色材で印刷された濃度が均一な領域である。複数個のパッチの間では、対応するシアンCの階調値(すなわち、濃度)が互いに異なっている。以下、複数個のパッチに対応する複数の階調値を、キャリブレーション用の複数の代表値とも呼ぶ。キャリブレーション用の複数の代表値は、例えば、最小値(ここでは、ゼロ)から最大値(ここでは、255)までの範囲から、おおよそ均等に選択される。   The calibration data is generated, for example, as follows. Hereinafter, an example of a method of creating a one-dimensional lookup table for cyan C will be described. The processor 110 causes the printer 210 to print a plurality of cyan C calibration patches in accordance with the third printing program 136. One patch corresponds to one tone value of cyan C, and is an area where the density printed with the cyan C color material is uniform. Among the plurality of patches, the corresponding cyan C tone values (that is, densities) are different from each other. Hereinafter, a plurality of tone values corresponding to a plurality of patches are also referred to as a plurality of representative values for calibration. The plurality of representative values for calibration are approximately equally selected from, for example, a range from a minimum value (here, zero) to a maximum value (here, 255).

プロセッサ110は、印刷用の第3プログラム136に従って、複数個のパッチを表すパッチ画像データを用いて印刷データを生成し、生成した印刷データをプリンタ210に供給する。プリンタ210は、受信した印刷データに従って、複数個のパッチを印刷する。なお、本実施例では、パッチ画像データは、CMYK色空間で表されている。そして、印刷用の第3プログラム136は、CMYKの階調値を用いたハーフトーン処理(例えば、誤差拡散処理、または、ディザマトリクスを用いた処理)を行うことによって印刷データを生成する機能を、プロセッサ110に実行させる。パッチは、ハーフトーン処理によって生成された印刷データに従って、印刷される。なお、パッチ画像データは、予め準備されている。この代わりに、第1プログラム132に従って動作するプロセッサ110が、S100で、パッチ画像データを生成してもよい。   The processor 110 generates print data using patch image data representing a plurality of patches according to the third program 136 for printing, and supplies the generated print data to the printer 210. The printer 210 prints a plurality of patches according to the received print data. In this embodiment, the patch image data is represented in the CMYK color space. The third program for printing 136 has a function of generating print data by performing halftone processing (for example, error diffusion processing or processing using a dither matrix) using CMYK gradation values. Cause the processor 110 to execute. The patch is printed according to the print data generated by the halftone processing. The patch image data is prepared in advance. Alternatively, the processor 110 operating according to the first program 132 may generate the patch image data in S100.

プロセッサ110は、測色用の第2プログラム134に従って、測色機200に、印刷された複数個のパッチを測色させ、各パッチの光学濃度を特定する。これにより、シアンCの階調値と実際の光学濃度との関係が特定される。なお、シアンCの複数個の代表値のそれぞれには、予め、目標濃度が対応付けられている。プロセッサ110は、LUT作成用の第1プログラム132に従って、代表値に予め対応付けられた目標濃度を実現する階調値を、階調値と実際の光学濃度との関係から算出する(例えば、補間)。目標濃度を実現する階調値の算出は、各代表値毎に行われる。これにより、代表値と目標濃度を実現する階調値との対応関係が、各代表値毎に決定される。プロセッサ110は、代表値を補正前階調値Caとして用い、代表値に対応付けられた目標濃度を実現する階調値を補正済階調値Cbとして用いることによって、シアンC用の1次元ルックアップテーブルを作成する。他の色成分M、Y、Kに関しても、同様に、キャリブレーションデータが作成される。   The processor 110 causes the colorimeter 200 to perform colorimetry on a plurality of printed patches according to the second colorimetric program 134, and specifies the optical density of each patch. Thus, the relationship between the tone value of cyan C and the actual optical density is specified. It should be noted that a target density is associated in advance with each of the plurality of representative values of cyan C. The processor 110 calculates a tone value that achieves the target density previously associated with the representative value from the relationship between the tone value and the actual optical density according to the first program 132 for creating the LUT (for example, interpolation). ). The calculation of the gradation value for realizing the target density is performed for each representative value. Thus, the correspondence between the representative value and the gradation value that achieves the target density is determined for each representative value. The processor 110 uses the representative value as the pre-correction gradation value Ca, and uses the gradation value that realizes the target density associated with the representative value as the corrected gradation value Cb, thereby obtaining the one-dimensional look for cyan C. Create an uptable. Calibration data is similarly created for the other color components M, Y, and K.

図2のS110では、プロセッサ110は、無彩色ラインAL上のパッチ用の無彩色代表値を、特定する(パッチ代表値とも呼ぶ)。パッチ代表値は、図3で説明した色立体CCの無彩色ラインAL上に位置する複数のグリッド値のうちの一部の複数のグリッド値であり、後述するパッチの印刷に用いられるグリッド値である。図4は、無彩色ラインAL上の表色値と、CMYKの階調値との関係を示す説明図である。横軸は、無彩色ラインAL上の表色値の位置を示し、縦軸は、CMYKの階調値を示している。表色値の位置は、白頂点Vwからの距離を表すグレー値GVによって、表されている。グレー値GVは、白頂点Vwの位置を示すゼロから黒頂点Vkの位置を示す255までの範囲で、表されている。無彩色ラインAL上の表色値は、グレー値GVによって特定可能である。以下、無彩色ラインAL上の表色値を示す符号として、その表色値のグレー値を示す符号と同じ符号を用いて、説明を行う。   In S110 of FIG. 2, the processor 110 specifies an achromatic representative value for a patch on the achromatic line AL (also referred to as a patch representative value). The patch representative value is a part of a plurality of grid values among a plurality of grid values located on the achromatic line AL of the color solid CC described with reference to FIG. 3 and is a grid value used for printing a patch described later. is there. FIG. 4 is an explanatory diagram showing the relationship between the color values on the achromatic line AL and the CMYK gradation values. The horizontal axis indicates the position of the color specification value on the achromatic line AL, and the vertical axis indicates the CMYK gradation values. The position of the color specification value is represented by a gray value GV representing a distance from the white vertex Vw. The gray value GV is expressed in a range from zero indicating the position of the white vertex Vw to 255 indicating the position of the black vertex Vk. The color values on the achromatic line AL can be specified by the gray value GV. Hereinafter, the description will be given using the same reference numerals as the reference values of the color values on the achromatic line AL as the reference values of the gray values of the specification values.

横軸に示された複数個の黒点は、S110で特定される複数個のパッチ代表値を示している。本実施例では、グレー値GV=16、32、48、80、112、144、176、208、240、255の10個の無彩色のグリッド値が、パッチ代表値として用いられる。   The plurality of black points shown on the horizontal axis indicate the plurality of patch representative values specified in S110. In this embodiment, ten achromatic grid values of gray values GV = 16, 32, 48, 80, 112, 144, 176, 208, 240, 255 are used as patch representative values.

図4(A)のCMYKの階調値は、予め決められた未調整階調値を示している。未調整階調値は、無彩色ラインAL上の表色値に対応するCMYKの階調値の基準を表している。本実施例では、複数個のパッチ代表値とCMYKの未調整階調値との対応関係を表すデータが、予め、第1プログラム132とともに不揮発性記憶装置130に格納されている(図示省略)。図4(A)のグラフは、このような対応関係を補間することによって、特定される。   The CMYK tone values in FIG. 4A indicate predetermined unadjusted tone values. The unadjusted gradation value represents a reference of the CMYK gradation value corresponding to the color specification value on the achromatic color line AL. In the present embodiment, data representing the correspondence between a plurality of patch representative values and the unadjusted gradation values of CMYK is stored in advance in the nonvolatile storage device 130 together with the first program 132 (not shown). The graph of FIG. 4A is specified by interpolating such a correspondence.

図示するように、グレー値GVが、予め決められた基準値Gk(ここでは、64)以下の色範囲では、ブラックKの階調値がゼロである。CMYの階調値は、グレー値GVがゼロから増大することに応じて、ゼロから増大する。このように、グレー値GVが基準値Gk未満である色範囲、すなわち、白頂点Vwを含む明るい色範囲で、ブラックKの階調値がゼロである理由は、ブラックKのドットが目立つことを抑制するためである。   As shown in the figure, in the color range where the gray value GV is equal to or less than the predetermined reference value Gk (here, 64), the gradation value of black K is zero. The CMY tone values increase from zero as the gray value GV increases from zero. Thus, in the color range where the gray value GV is less than the reference value Gk, that is, in the bright color range including the white vertex Vw, the tone value of the black K is zero because the black K dot is conspicuous. This is for suppressing.

なお、本実施例では、シアンCとマゼンタMとイエロYとの等量の混色によって無彩色が表現されることとする。従って、無彩色ラインAL上の表色値に対応付けられたCMYの3個の未調整階調値は、互いに同じである。   In this embodiment, it is assumed that an achromatic color is expressed by an equal amount of color mixture of cyan C, magenta M, and yellow Y. Therefore, the three unadjusted tone values of CMY associated with the color values on the achromatic line AL are the same.

グレー値GVが基準値Gk以上の色範囲では、グレー値GVが基準値Gkから増大することに応じて、ブラックKの階調値がゼロから増大する。グレー値GVの増大に対するCMYの階調値の増大の割合は、グレー値GVが基準値Gkから増大することに応じて、徐々に小さくなる。そして、黒頂点Vkを含む一部の色範囲では、グレー値GVの増大に応じて、CMYの階調値が減少する。このように、グレー値GVが基準値Gk以上である色範囲、すなわち、黒頂点Vkを含む暗い色範囲では、CMYの増大が抑制されてKが増大するので、印刷に用いられる色材の総量を低減できる。   In a color range in which the gray value GV is equal to or larger than the reference value Gk, the grayscale value of the black K increases from zero as the gray value GV increases from the reference value Gk. The ratio of the increase in the CMY tone value to the increase in the gray value GV gradually decreases as the gray value GV increases from the reference value Gk. Then, in some color ranges including the black vertex Vk, the CMY tone values decrease as the gray value GV increases. As described above, in the color range in which the gray value GV is equal to or larger than the reference value Gk, that is, in the dark color range including the black vertex Vk, the increase in CMY is suppressed and K increases. Can be reduced.

なお、基準値Gkは、明るい領域でブラックKのドットが目立つことを抑制しつつ、暗い領域で色材の総量が増大することを抑制できるように、色材の特性に応じて予め決定されている。従って、ルックアップテーブルを作成する場合には、無彩色ラインALを白頂点Vwから黒頂点Vkに向かって辿る場合に、ブラックKの階調値がゼロからゼロよりも大きな値に変化する位置が、基準値Gkから変化せずに維持されることが好ましい。   The reference value Gk is determined in advance according to the characteristics of the color material so that the black K dots are not conspicuous in the bright region and the total amount of the color material is suppressed from increasing in the dark region. I have. Therefore, when creating the lookup table, when the achromatic line AL is traced from the white vertex Vw to the black vertex Vk, the position where the gradation value of the black K changes from zero to a value larger than zero is determined. , Is preferably maintained unchanged from the reference value Gk.

実際のプリンタ210では、利用可能な複数の色材(ここでは、CMYK)の間で印刷に用いられる色材の量のバランスが、想定されたバランスからズレ得る。例えば、シアンCの色材の量が、想定された量よりも多くなり得る。この場合、無彩色ラインAL上の表色値によって表される色を印刷した場合に、無彩色ではなく、青みがかった色が印刷され得る。このような色材の量のズレは、プリンタ210のモデル毎に異なり得る。また、色材の量のズレは、プリンタ210の個体毎に異なり得る。   In the actual printer 210, the balance of the amount of color material used for printing among a plurality of available color materials (here, CMYK) can deviate from the assumed balance. For example, the amount of the cyan C color material may be larger than expected. In this case, when the color represented by the color specification value on the achromatic line AL is printed, a bluish color may be printed instead of the achromatic color. Such a deviation in the amount of the color material may be different for each model of the printer 210. Further, the deviation of the amount of the color material may be different for each individual printer 210.

図2のS120では、プロセッサ110は、このような色材の量のズレによる印刷される色のズレを補正するためのグレー調整処理を行う。グレー調整処理は、無彩色ラインAL上の表色値で表される色が無彩色で印刷されるように、CMYKの階調値を調整する処理である。   In S120 of FIG. 2, the processor 110 performs a gray adjustment process for correcting a shift in a printed color due to such a shift in the amount of the color material. The gray adjustment process is a process of adjusting the CMYK gradation values so that the color represented by the color specification value on the achromatic line AL is printed in achromatic color.

図5は、グレー調整処理の例を示すフローチャートである。S210では、プロセッサ110は、図4(A)で説明した複数のパッチ代表値のそれぞれのための複数個のパッチを印刷する。本実施例では、プロセッサ110は、各パッチ代表値に対応付けられた複数個のパッチをプリンタ210に印刷させる。1個のパッチ代表値に対応付けられた複数個のパッチは、そのパッチ代表値に対応付けられた未調整階調値(図4(A))を中心して階調値を5段階で変化させることによって、得られる。例えば、シアンCの5個の階調値は、調整幅dと、パッチ代表値に対応付けられたシアンの未調整階調値Ciとを用いて、以下のように表される。Ci−2d、Ci−d、Ci、Ci+d、Ci+2d。調整幅dは、予め決められている。他の色成分M、Y、Kの5個の階調値も、同様に、表される。本実施例では、ゼロよりも大きい未調整階調値を有する色成分の階調値が、5段階で変化される。例えば、K=0、CMY>0である場合、CMYの3個の階調値が5段階で変化するので、パッチの総数は、5×5×5=125個である。125個のパッチのいずれにおいても、ブラックKの階調値は、ゼロに維持される。CMYKのいずれもがゼロよりも大きい場合、CMYKの4個の階調値が5段階で変化するので、パッチの総数は、5×5×5×5=625個である。以下、複数個のパッチを表す複数個のCMYKの表色値を、パッチ表色値とも呼ぶ。   FIG. 5 is a flowchart illustrating an example of the gray adjustment process. In S210, the processor 110 prints a plurality of patches for each of the plurality of patch representative values described in FIG. In the present embodiment, the processor 110 causes the printer 210 to print a plurality of patches associated with each patch representative value. For a plurality of patches associated with one patch representative value, the gradation value is changed in five steps centering on the unadjusted gradation value (FIG. 4A) associated with the patch representative value. It is obtained by For example, the five tone values of cyan C are represented as follows using the adjustment width d and the unadjusted tone value Ci of cyan associated with the patch representative value. Ci-2d, Ci-d, Ci, Ci + d, Ci + 2d. The adjustment width d is determined in advance. The five gradation values of the other color components M, Y, and K are similarly represented. In this embodiment, the gradation value of the color component having the unadjusted gradation value larger than zero is changed in five steps. For example, when K = 0 and CMY> 0, since the three gradation values of CMY change in five steps, the total number of patches is 5 × 5 × 5 = 125. In any of the 125 patches, the black K tone value is maintained at zero. If all of CMYK are larger than zero, the four gradation values of CMYK change in five steps, and the total number of patches is 5 × 5 × 5 × 5 = 625. Hereinafter, a plurality of CMYK color values representing a plurality of patches are also referred to as patch color values.

なお、調整幅dに応じて階調値を変化させた結果、階調値がゼロ未満になる場合、ゼロ未満の階調値で表されるパッチの印刷は省略される。この代わりに、変化後の階調値がゼロ以上となるように、調整幅dを小さくしてもよい。また、調整幅dに応じて階調値を変化させた結果、階調値が、階調値が取り得る範囲の最大値(ここでは、255)を超える場合、最大値を超える階調値で表されるパッチの印刷は省略される。この代わりに、変化後の階調値が最大値以下となるように、調整幅dを小さくしてもよい。   If the tone value becomes less than zero as a result of changing the tone value according to the adjustment width d, printing of a patch represented by a tone value less than zero is omitted. Instead, the adjustment width d may be reduced so that the gradation value after the change becomes zero or more. Also, as a result of changing the gradation value according to the adjustment width d, if the gradation value exceeds the maximum value (255 in this case) of the range that the gradation value can take, the gradation value exceeds the maximum value. Printing of the represented patch is omitted. Instead, the adjustment width d may be reduced so that the changed tone value is equal to or less than the maximum value.

プロセッサ110は、第3プログラム136に従って、複数個のCMYKのパッチ表色値によって複数個のパッチを表すグレー調整用のパッチ画像データを用いて、印刷データを生成し、生成した印刷データをプリンタ210に供給する。プリンタ210は、受信した印刷データに従って、複数個のパッチを印刷する。ここで、パッチ表色値の階調値(すなわち、未調整階調値と調整幅dとを用いて表される階調値)は、図2のS100で説明した補正前階調値として用いられる。プロセッサ110は、パッチ表色値の階調値を、キャリブレーションデータを用いて、補正済階調値に変換し、補正済階調値のハーフトーン処理によって、印刷データを生成する。なお、グレー調整用のパッチ画像データは、予め準備されている。この代わりに、第1プログラム132に従って動作するプロセッサ110が、S210で、パッチ画像データを生成してもよい。   The processor 110 generates print data using gray adjustment patch image data representing a plurality of patches by a plurality of CMYK patch color values in accordance with the third program 136, and prints the generated print data to the printer 210. To supply. The printer 210 prints a plurality of patches according to the received print data. Here, the gradation value of the patch color specification value (that is, the gradation value represented by using the unadjusted gradation value and the adjustment width d) is used as the pre-correction gradation value described in S100 of FIG. Can be The processor 110 converts the tone values of the patch color values into corrected tone values using the calibration data, and generates print data by halftone processing of the corrected tone values. Note that patch image data for gray adjustment is prepared in advance. Alternatively, the processor 110 operating according to the first program 132 may generate the patch image data in S210.

S220では、プロセッサ110は、測色用の第2プログラム134に従って、測色機200に、印刷された複数個のパッチを測色させ、各パッチの測色値を特定する。測色値は、プリンタなどのデバイスに依存しない色空間の表色値であり、本実施例では、CIELAB色空間の表色値(以下、Lab値とも呼ぶ)である。これにより、複数個のパッチ表色値(CMYK)と測色値(L*a*b*)との対応関係が特定される。   In S220, the processor 110 causes the colorimeter 200 to measure the colors of the plurality of printed patches according to the second program 134 for colorimetry, and specifies the colorimetric value of each patch. The colorimetric value is a colorimetric value in a color space independent of a device such as a printer, and in this embodiment, is a colorimetric value in a CIELAB color space (hereinafter also referred to as a Lab value). Thereby, the correspondence between the plurality of patch color values (CMYK) and the colorimetric values (L * a * b *) is specified.

S223では、プロセッサ110は、図4(A)で説明した複数のパッチ代表値のうちの1個の未処理のパッチ代表値を選択する。以下、選択されたパッチ代表値を、注目代表値とも呼ぶ。S226では、プロセッサ110は、S220で取得された全てのパッチ代表値の全ての測色値のうち、注目代表値に対応付けられた複数個のパッチから得られた複数の測色値を特定する。以下、注目代表値に対応付けられた複数個のパッチを、複数個の注目パッチとも呼び、複数個の注目パッチから得られた複数の測色値を、複数の注目パッチ測色値とも呼ぶ。   In S223, the processor 110 selects one unprocessed patch representative value from the plurality of patch representative values described with reference to FIG. Hereinafter, the selected patch representative value is also referred to as a noted representative value. In S226, the processor 110 specifies a plurality of colorimetric values obtained from a plurality of patches associated with the noted representative value among all the colorimetric values of all the patch representative values acquired in S220. . Hereinafter, the plurality of patches associated with the noted representative value are also referred to as a plurality of noted patches, and the plurality of colorimetric values obtained from the plurality of noted patches are also referred to as a plurality of noted patch colorimetric values.

注目代表値(ひいては、複数個のパッチ代表値のそれぞれ)には、予め、測色値の目標値である目標色値が対応付けられている。図5のS230では、プロセッサ110は、LUT作成用の第1プログラム132に従って、注目代表値に予め対応付けられた目標色値を実現するCMYKの表色値を、複数個の注目パッチのそれぞれのパッチ表色値(CMYK)と注目パッチ測色値(L*a*b*)との対応関係を用いて算出する。本実施例では、プロセッサ110は、図5の下部に示すように、a*b*平面上に投影された複数個の測色値CVのうちの目標色値CVxを囲む最小の三角形Tを構成する3個の測色値CVに対応する3個のCMYKの表色値を面積補間することによって、目標色値に対応するCMYKの表色値を算出する。以下、算出されたCMYKの表色値を、調整済表色値とも呼ぶ。CMYKの調整済表色値は、図2のS100で説明した補正前階調値に対応している。なお、CMYKの調整済表色値の算出方法としては、複数個の測色値のうちの少なくとも1個の測色値を用いてCMYK表色値を特定する他の種々の方法を採用可能である。例えば、目標色値を含む最小の三角錐を形成する4個の測色値に対応する4個のCMYK表色値を補間する三角錐補間を採用してもよい。また、CIELAB色空間内で目標色値に最も近い測色値に対応付けられたCMYK表色値を、目標色値に対応するCMYKの調整済表色値として採用してもよい。   A target color value, which is a target colorimetric value, is associated in advance with the target representative value (and, consequently, each of the plurality of patch representative values). In S230 of FIG. 5, the processor 110, in accordance with the first program 132 for creating the LUT, assigns the CMYK color values for realizing the target color value previously associated with the target representative value to each of the plurality of target patches. It is calculated using the correspondence between the patch colorimetric value (CMYK) and the target patch colorimetric value (L * a * b *). In the present embodiment, the processor 110 forms the smallest triangle T surrounding the target color value CVx among the plurality of colorimetric values CV projected on the a * b * plane, as shown in the lower part of FIG. The CMYK colorimetric values corresponding to the target color values are calculated by area-interpolating the three CMYK colorimetric values corresponding to the three colorimetric values CV. Hereinafter, the calculated CMYK color values are also referred to as adjusted color values. The adjusted color values of CMYK correspond to the gradation values before correction described in S100 of FIG. As a method of calculating the adjusted colorimetric values of CMYK, various other methods for specifying the CMYK colorimetric values using at least one of the plurality of colorimetric values can be adopted. is there. For example, triangular pyramid interpolation for interpolating four CMYK colorimetric values corresponding to four colorimetric values forming a minimum triangular pyramid including a target color value may be employed. Further, a CMYK colorimetric value associated with a colorimetric value closest to the target color value in the CIELAB color space may be adopted as a CMYK adjusted colorimetric value corresponding to the target color value.

S240では、プロセッサ110は、全てのパッチ代表値(すなわち、パッチ用の無彩色代表値)の処理が完了したか否かを判断する。未処理のパッチ代表値が残っている場合(S240:No)、プロセッサ110は、S223に移行して、未処理のパッチ代表値の処理を実行する。全てのパッチ代表値の処理が完了した場合(S240:Yes)、S250で、プロセッサ110は、無彩色ラインAL(図3)上のパッチ代表値以外の複数の無彩色のグリッド値のためのCMYKの調整済表色値を算出する。   In S240, the processor 110 determines whether or not processing of all patch representative values (that is, achromatic representative values for patches) has been completed. If unprocessed patch representative values remain (S240: No), the processor 110 proceeds to S223 and executes processing of unprocessed patch representative values. When the processing of all the patch representative values is completed (S240: Yes), in S250, the processor 110 causes the CMYK for a plurality of achromatic grid values other than the patch representative values on the achromatic line AL (FIG. 3). Is calculated.

図6は、CMYKの調整済表色値の算出処理の例のフローチャートである。図6の処理は、LUT作成用の第1プログラム132に従って動作するプロセッサ110によって、実行される。S320では、プロセッサ110は、図4(A)で説明した基準値Gkを特定する。上述したように、この基準値Gkによって表されるRGBの表色値(基準表色値Gkとも呼ぶ)は、グレー値GVを白頂点Vwから増大させた場合にブラックKの階調値がゼロからゼロより大きい値に変化する表色値である(K発生レベルともいう)。換言すれば、基準表色値Gkは、ブラックKの階調値がゼロであるCMYKの表色値に対応付けられた無彩色ラインAL上のRGBの表色値のうちで最も黒頂点Vkに近い表色値である。   FIG. 6 is a flowchart of an example of processing for calculating the adjusted colorimetric values of CMYK. The processing in FIG. 6 is executed by the processor 110 that operates according to the first program 132 for creating an LUT. In S320, the processor 110 specifies the reference value Gk described with reference to FIG. As described above, the RGB color value (also referred to as the reference color value Gk) represented by the reference value Gk is such that when the gray value GV is increased from the white vertex Vw, the gradation value of the black K becomes zero. From 0 to a value larger than zero (also referred to as a K generation level). In other words, the reference color value Gk is the blackest vertex Vk among the RGB color values on the achromatic line AL associated with the CMYK color value whose black K gradation value is zero. Near color values.

S323では、プロセッサ110は、未処理の無彩色グリッド値、すなわち、CMYKの調整済表色値が算出されていない無彩色グリッド値の中から、1個の未処理の無彩色グリッド値を選択する。以下、選択された無彩色グリッド値のグレー値を、注目グレー値Gxとも呼ぶ。また、選択された無彩色グリッド値を、同じ符号Gxを用いて、無彩色グリッド値Gxとも呼ぶ。   In S323, the processor 110 selects one unprocessed achromatic grid value from among the unprocessed achromatic grid values, that is, the achromatic grid values for which the CMYK adjusted colorimetric values have not been calculated. . Hereinafter, the gray value of the selected achromatic color grid value is also referred to as a target gray value Gx. The selected achromatic grid value is also referred to as an achromatic grid value Gx using the same reference Gx.

S326では、プロセッサ110は、注目グレー値Gxを挟む2個の無彩色代表値G1、G2を特定する。第1無彩色代表値G1は、注目グレー値Gxから見て高明度側(すなわち、白頂点Vw側)の隣のパッチ代表値である。第2無彩色代表値G2は、注目グレー値Gxから見て低明度側(すなわち、黒頂点Vk側)の隣のパッチ代表値である。   In S326, the processor 110 specifies two achromatic representative values G1 and G2 sandwiching the target gray value Gx. The first achromatic representative value G1 is a patch representative value next to the high lightness side (that is, the white vertex Vw side) when viewed from the target gray value Gx. The second achromatic representative value G2 is a patch representative value next to the low brightness side (that is, the black vertex Vk side) when viewed from the target gray value Gx.

S330では、プロセッサ110は、基準値Gkが、2つの無彩色代表値G1、G2の間に位置しているか否かを判断する。基準値Gkが、2つの無彩色代表値G1、G2の間に位置していない場合(S330:No)、すなわち、基準値Gkが第2無彩色代表値G2よりも黒頂点Vk側に位置する場合と、基準値Gkが第1無彩色代表値G1よりも白頂点Vw側に位置する場合とには、プロセッサ110は、S340に移行する。S340では、プロセッサ110は、2個の無彩色代表値G1、G2のそれぞれのCMYKの調整済表色値を補間することによって、注目グレー値Gxに対応するCMYKの調整済表色値を算出する。そして、プロセッサ110は、S380に移行する。   In S330, the processor 110 determines whether or not the reference value Gk is located between the two achromatic representative values G1 and G2. When the reference value Gk is not located between the two achromatic representative values G1 and G2 (S330: No), that is, the reference value Gk is located closer to the black vertex Vk than the second achromatic representative value G2. In the case and the case where the reference value Gk is located closer to the white vertex Vw than the first achromatic representative value G1, the processor 110 proceeds to S340. In S340, the processor 110 calculates an adjusted CMYK color value corresponding to the target gray value Gx by interpolating the adjusted CMYK color values of the two achromatic representative values G1 and G2. . Then, the processor 110 proceeds to S380.

図4(B)のグラフは、無彩色ラインAL上の表色値の位置と、図5、図6の処理によって算出されたCMYKの調整済表色値(すなわちCMYKのそれぞれの調整済階調値)と、の対応関係を示している。図中の高明度代表値Gwは、基準値Gkの高明度側(すなわち、白頂点Vw側)の隣のパッチ代表値である。低明度代表値Gbは、基準値Gkの低明度側(すなわち、黒頂点Vk側)の隣のパッチ代表値である。   The graph of FIG. 4B shows the positions of the color values on the achromatic line AL and the adjusted color values of CMYK calculated by the processes of FIGS. 5 and 6 (that is, each adjusted gradation of CMYK). Values) are shown. The high lightness representative value Gw in the figure is a patch representative value next to the high lightness side (that is, the white vertex Vw side) of the reference value Gk. The low brightness representative value Gb is a patch representative value adjacent to the low brightness side of the reference value Gk (that is, the black vertex Vk side).

第1範囲R1は、高明度代表値Gwから高明度側の色範囲である。注目グレー値Gxが第1範囲R1内に位置する場合、注目グレー値Gxを挟む2個の無彩色代表値G1、G2は、第1範囲R1内から選択されるので、基準値Gkは、2個の無彩色代表値G1、G2の間には位置していない。従って、第1範囲R1内の注目グレー値Gxに対応するCMYKの調整済階調値は、S340で算出される。上述したように、第1範囲R1は、基準値Gkよりも高明度側の色範囲である。補間に用いられる2個の無彩色代表値G1、G2は、第1範囲R1から選択されるので、2個の無彩色代表値G1、G2のそれぞれのブラックKの調整済階調値は、ゼロである。この結果、補間によって算出されるブラックKの調整済階調値もゼロである。すなわち、第1範囲R1内では、ブラックKの調整済階調値は、ゼロに維持される。なお、補間に用いられる2個の無彩色代表値G1、G2のそれぞれのCMYの調整済階調値は、測色の結果に応じて決定されているので、CMYの間で調整済階調値が異なり得る。この結果、補間によって算出されるCMYの調整済階調値も、互いに異なり得る。図4(B)の例では、階調値の大きい順は、Y、M、Cの順である。   The first range R1 is a color range on the high lightness side from the high lightness representative value Gw. When the target gray value Gx is located within the first range R1, the two achromatic representative values G1 and G2 sandwiching the target gray value Gx are selected from within the first range R1, so that the reference value Gk is 2 It is not located between the achromatic representative values G1 and G2. Accordingly, the adjusted gradation value of CMYK corresponding to the target gray value Gx in the first range R1 is calculated in S340. As described above, the first range R1 is a color range on the higher lightness side than the reference value Gk. Since the two achromatic representative values G1 and G2 used for the interpolation are selected from the first range R1, the adjusted gradation value of the black K of each of the two achromatic representative values G1 and G2 is zero. It is. As a result, the adjusted gradation value of black K calculated by interpolation is also zero. That is, within the first range R1, the adjusted gradation value of the black K is maintained at zero. Since the adjusted CMY tone values of the two achromatic representative values G1 and G2 used for the interpolation are determined according to the result of the colorimetry, the adjusted tone values between the CMY are adjusted. Can be different. As a result, the adjusted gradation values of CMY calculated by interpolation may be different from each other. In the example of FIG. 4B, the order of the gradation values is Y, M, and C in descending order.

第2範囲R2は、低明度代表値Gbから低明度側の色範囲である。注目グレー値Gxが第2範囲R2内に位置する場合、注目グレー値Gxを挟む2個の無彩色代表値G1、G2は、第2範囲R2内から選択されるので、基準値Gkは、2個の無彩色代表値G1、G2の間には位置していない。従って、第2範囲R2内の注目グレー値Gxに対応するCMYKの調整済階調値は、S340で算出される。上述したように、第2範囲R2は、基準値Gkよりも低明度側の色範囲である。補間に用いられる2個の無彩色代表値G1、G2は、第2範囲R2から選択されるので、2個の無彩色代表値G1、G2のそれぞれのCMYKの調整済階調値は、いずれも、ゼロよりも大きい。この結果、補間によって算出されるCMYKの調整済階調値は、いずれも、ゼロよりも大きい。また、第1範囲R1内のCMYの調整済階調値と同様に、第2範囲R2内においても、CMYの間で、調整済階調値が互いに異なり得る。   The second range R2 is a color range on the low brightness side from the low brightness representative value Gb. When the target gray value Gx is located within the second range R2, the two achromatic representative values G1 and G2 sandwiching the target gray value Gx are selected from within the second range R2. It is not located between the achromatic representative values G1 and G2. Therefore, the adjusted gradation value of CMYK corresponding to the target gray value Gx in the second range R2 is calculated in S340. As described above, the second range R2 is a color range on the lower brightness side than the reference value Gk. Since the two achromatic representative values G1 and G2 used for the interpolation are selected from the second range R2, each of the CMYK adjusted gradation values of the two achromatic representative values G1 and G2 is , Greater than zero. As a result, the adjusted gradation values of CMYK calculated by interpolation are all larger than zero. Further, similarly to the adjusted gradation values of CMY in the first range R1, the adjusted gradation values may be different between CMY in the second range R2.

基準値Gkが、2つの無彩色代表値G1、G2の間に位置している場合(図6:S330:Yes)、2つの無彩色代表値G1、G2は、上記の代表値Gw、Gbと同じである。この場合、S350で、プロセッサ110は、基準値Gkが注目グレー値Gxと同じ、または、基準値Gkが注目グレー値Gxよりも黒頂点Vkに近いという条件(すなわち、Gx≦Gk)が満たされるか否かを判断する。この条件が満たされる場合(S350:Yes)、S360で、プロセッサ110は、第1無彩色代表値G1(すなわち、高明度代表値Gw)から見て高明度側(すなわち、白頂点Vw側)の隣のパッチ代表値である無彩色代表値Gsを特定する。そして、プロセッサ110は、注目グレー値Gxに対応するCMYKの調整済表色値を、高明度代表値GwのCMYKの調整済表色値と無彩色代表値GsのCMYKの調整済表色値とを用いる外挿によって算出する。そして、プロセッサ110は、S380に移行する。   When the reference value Gk is located between the two achromatic representative values G1 and G2 (FIG. 6: S330: Yes), the two achromatic representative values G1 and G2 are the same as the representative values Gw and Gb. Is the same. In this case, in S350, the processor 110 satisfies the condition that the reference value Gk is the same as the target gray value Gx or that the reference value Gk is closer to the black vertex Vk than the target gray value Gx (that is, Gx ≦ Gk). It is determined whether or not. When this condition is satisfied (S350: Yes), in S360, the processor 110 determines whether the first achromatic color representative value G1 (that is, the high lightness representative value Gw) is on the high lightness side (that is, the white vertex Vw side). The achromatic color representative value Gs, which is the next patch representative value, is specified. Then, the processor 110 calculates the adjusted color values of CMYK corresponding to the target gray value Gx as the adjusted color values of CMYK of the high brightness representative value Gw and the adjusted color values of CMYK of the achromatic color representative value Gs. Is calculated by extrapolation using Then, the processor 110 proceeds to S380.

図4(B)の第3範囲R3は、高明度代表値Gwから基準表色値Gkまでの色範囲である。注目グレー値Gxが、第3範囲R3内に位置する場合、無彩色代表値G1、G2は、それぞれ、代表値Gw、Gbであるので、基準値Gkは、2つの無彩色代表値G1、G2の間(すなわち、代表値Gw、Gbの間)に位置している(S330:Yes)。さらに、注目グレー値Gxは、基準値Gk以下である(S350:Yes)。従って、第3範囲R3内の注目グレー値Gxに対応するCMYKの調整済階調値は、S360で算出される。上述したように、外挿に用いられる2個の代表値Gs、Gwは、基準値Gkよりも高明度側の代表値であるので、これらの代表値Gs、GwのそれぞれのブラックKの調整済階調値は、ゼロである。この結果、外挿によって算出されるブラックKの調整済階調値もゼロである。すなわち、第3範囲R3内では、ブラックKの調整済階調値は、ゼロに維持される。また、第1範囲R1内のCMYの調整済階調値と同様に、第3範囲R3内においても、CMYの間で、調整済階調値が互いに異なり得る。   The third range R3 in FIG. 4B is a color range from the high brightness representative value Gw to the reference colorimetric value Gk. When the target gray value Gx is located within the third range R3, the achromatic representative values G1 and G2 are the representative values Gw and Gb, respectively. Therefore, the reference value Gk is the two achromatic representative values G1 and G2. (That is, between the representative values Gw and Gb) (S330: Yes). Further, the target gray value Gx is equal to or smaller than the reference value Gk (S350: Yes). Therefore, the adjusted gradation value of CMYK corresponding to the target gray value Gx in the third range R3 is calculated in S360. As described above, the two representative values Gs and Gw used for the extrapolation are representative values on the higher lightness side than the reference value Gk, and therefore, the adjusted values of the black K of these representative values Gs and Gw have been adjusted. The gradation value is zero. As a result, the adjusted gradation value of black K calculated by extrapolation is also zero. That is, within the third range R3, the adjusted gradation value of the black K is maintained at zero. Further, similarly to the adjusted gradation values of CMY in the first range R1, the adjusted gradation values may be different between CMY in the third range R3.

図6のS330の判断結果が「Yes」であり、かつ、注目グレー値Gxが基準値Gkよりも黒頂点Vk側に位置する場合(S350:No)、2つの無彩色代表値G1、G2は、上記の代表値Gw、Gbと同じである。そして、S370で、プロセッサ110は、第1無彩色代表値G1ではなく基準値GkのCMYKの調整済表色値と、第2無彩色代表値G2(すなわち、低明度代表値Gb)のCMYKの調整済表色値と、を補間することによって、注目グレー値Gxに対応するCMYKの調整済表色値を算出する。そして、プロセッサ110は、S380に移行する。   When the determination result of S330 in FIG. 6 is “Yes” and the target gray value Gx is positioned closer to the black vertex Vk than the reference value Gk (S350: No), the two achromatic representative values G1 and G2 are , Gb and Gb. Then, in S370, the processor 110 calculates the CMYK adjusted colorimetric value of the reference value Gk instead of the first achromatic color representative value G1, and the CMYK of the second achromatic color representative value G2 (that is, the low lightness representative value Gb). By interpolating the adjusted colorimetric values with the adjusted colorimetric values, the CMYK adjusted colorimetric values corresponding to the target gray value Gx are calculated. Then, the processor 110 proceeds to S380.

なお、基準値GkのCMYKの調整済表色値としては、注目グレー値Gxが基準値Gkと同じである場合にS360で算出されたCMYKの表色値を用いることができる。基準値Gkに対応する無彩色グリッド値が存在しない場合には、プロセッサ110は、基準値GkのCMYKの調整済表色値を計算に用いる際に、360の計算方法に従って、基準値GkのCMYKの調整済表色値を算出すればよい。   As the CMYK adjusted colorimetric value of the reference value Gk, the CMYK colorimetric value calculated in S360 when the target gray value Gx is the same as the reference value Gk can be used. If there is no achromatic grid value corresponding to the reference value Gk, the processor 110 uses the CMYK adjusted colorimetric values of the reference value Gk for calculation according to the calculation method of 360, and uses the CMYK of the reference value Gk. May be calculated.

図4(B)の第4範囲R4は、基準値Gkから低明度代表値Gbまでの色範囲である。注目グレー値Gxが、第4範囲R4内に位置する場合、無彩色代表値G1、G2は、それぞれ、代表値Gw、Gbであるので、基準値Gkは、2つの無彩色代表値G1、G2の間(すなわち、代表値Gw、Gbの間)に位置している(S330:Yes)。さらに、注目グレー値Gxは、基準値Gkよりも大きい(S350:No)。従って、第4範囲R4内の注目グレー値Gxに対応するCMYKの調整済階調値は、S370で算出される。上述したように、補間に用いられる低明度代表値Gbは、基準値Gkよりも低明度側の代表値であるので、低明度代表値GbのCMYKの調整済階調値は、いずれも、ゼロよりも大きい。この結果、補間によって算出されるCMYKの調整済階調値は、いずれも、ゼロよりも大きい。また、第1範囲R1内のCMYの調整済階調値と同様に、第4範囲R4内においても、CMYの間で、調整済階調値が互いに異なり得る。   The fourth range R4 in FIG. 4B is a color range from the reference value Gk to the low brightness representative value Gb. When the target gray value Gx is located within the fourth range R4, the achromatic representative values G1 and G2 are the representative values Gw and Gb, respectively. Therefore, the reference value Gk is the two achromatic representative values G1 and G2. (That is, between the representative values Gw and Gb) (S330: Yes). Further, the target gray value Gx is larger than the reference value Gk (S350: No). Therefore, the adjusted CMYK gradation value corresponding to the target gray value Gx in the fourth range R4 is calculated in S370. As described above, the low-brightness representative value Gb used for interpolation is a representative value on the lower-brightness side than the reference value Gk, so that the adjusted gradation values of CMYK of the low-brightness representative value Gb are all zero. Greater than. As a result, the adjusted gradation values of CMYK calculated by interpolation are all larger than zero. Further, similarly to the adjusted gradation values of CMY in the first range R1, the adjusted gradation values may be different between CMY in the fourth range R4.

図6のS380では、プロセッサ110は、全ての無彩色のグリッド値の処理が完了したか否かを判断する。未処理の無彩色グリッド値が残っている場合(S380:No)、プロセッサ110は、S323に移行して、未処理の無彩色グリッド値の処理を実行する。全ての無彩色グリッド値の処理が完了した場合(S380:Yes)、プロセッサ110は、図6の処理、すなわち、図5のS250の処理を終了する。そして、プロセッサ110は、図5の処理、すなわち、図2のS120の処理を終了する。   In S380 of FIG. 6, the processor 110 determines whether or not processing of all achromatic grid values has been completed. If unprocessed achromatic color grid values remain (S380: No), the processor 110 proceeds to S323 and executes processing of the unprocessed achromatic color grid values. If the processing of all the achromatic grid values is completed (S380: Yes), the processor 110 ends the processing of FIG. 6, that is, the processing of S250 of FIG. Then, the processor 110 ends the process of FIG. 5, that is, the process of S120 of FIG.

図2のS130では、プロセッサ110は、グレー調整済のルックアップテーブルを作成する。グレー調整済のルックアップテーブルでは、無彩色ラインAL上のRGBのグリッド値には、図5、図6で算出したCMYKの調整済表色値が、対応付けられる。無彩色ラインALから離れた位置のRGBのグリッド値に関しては、プロセッサ110は、予め決められた方法に従って、CMYKの表色値を決定する。CMYKの表色値を決定する方法としては、種々の方法を採用可能である。本実施例では、プロセッサ110は、CMYKで表現可能な色範囲(ガマットとも呼ばれる)が最も広くなるように、CMYKの表色値を決定する。   In S130 of FIG. 2, the processor 110 creates a gray-adjusted lookup table. In the gray-adjusted lookup table, the adjusted CMYK colorimetric values calculated in FIGS. 5 and 6 are associated with the RGB grid values on the achromatic line AL. For the RGB grid values located away from the achromatic line AL, the processor 110 determines the CMYK colorimetric values according to a predetermined method. Various methods can be adopted as a method for determining the CMYK color values. In the present embodiment, the processor 110 determines the CMYK color specification values so that the color range (also referred to as gamut) that can be expressed by CMYK is the largest.

図7は、無彩色ラインALから離れたグリッド値に対応するCMYKの表色値の説明図である。図7(A)には、図3で説明した赤領域RAが示されている。赤領域RAの縁を形成する第1ラインRL1と第2ラインRL2とは、色立体CC(図3)の外殻上のラインである。図7(B)には、外殻のラインRL1、RL2上の表色値と、CMYKの階調値と、の関係を示すグラフが示されている。横軸は、ラインRL1、RL2上の位置を示し、縦軸は、CMYKの階調値を示している。   FIG. 7 is an explanatory diagram of CMYK color values corresponding to grid values separated from the achromatic line AL. FIG. 7A shows the red area RA described in FIG. The first line RL1 and the second line RL2 forming the edge of the red area RA are lines on the outer shell of the color solid CC (FIG. 3). FIG. 7B is a graph showing the relationship between the color values on the outer lines RL1 and RL2 and the CMYK gradation values. The horizontal axis indicates positions on the lines RL1 and RL2, and the vertical axis indicates CMYK gradation values.

本実施例では、色立体CCの外殻上のグリッド値に対応するCMYKの階調値は、予め決められている。例えば、図7(B)に示すように、赤頂点Vrに関しては、最も彩度の高い赤色を再現するように、イエロYの階調値とマゼンタMの階調値とが最大値に決定され、シアンCの階調値とブラックKの階調値とがゼロに決定される。最大値は、階調値の取り得る範囲の最大値であってもよい(ここでは、ゼロから255の範囲の最大値である255)。この代わりに、印刷媒体上の単位面積当たりの色材量の上限値を定める条件を満たす範囲内での最大値を採用してもよい。   In this embodiment, the CMYK gradation values corresponding to the grid values on the outer shell of the color solid CC are determined in advance. For example, as shown in FIG. 7B, with respect to the red vertex Vr, the grayscale value of yellow Y and the grayscale value of magenta M are determined to be the maximum values so as to reproduce the most saturated red color. , The tone value of cyan C and the tone value of black K are determined to be zero. The maximum value may be the maximum value in a range that the gradation value can take (here, 255, which is the maximum value in the range from zero to 255). Instead, a maximum value within a range that satisfies the condition for defining the upper limit value of the color material amount per unit area on the print medium may be adopted.

白頂点Vwから赤頂点Vrまでの第1ラインRL1に関しては、以下の通りである。イエロYの階調値とマゼンタMの階調値とは、白頂点Vwから赤頂点Vrに向かって、白頂点Vwでの階調値(ここでは、ゼロ)から赤頂点Vrでの階調値まで徐々に増大する。シアンCの階調値とブラックKの階調値とは、ゼロに維持される。   The first line RL1 from the white vertex Vw to the red vertex Vr is as follows. From the white vertex Vw to the red vertex Vr, the grayscale value of the yellow Y and the grayscale value of the magenta M are changed from the grayscale value (here, zero) at the white vertex Vw to the grayscale value at the red vertex Vr. It gradually increases until. The cyan C tone value and the black K tone value are maintained at zero.

赤頂点Vrから黒頂点Vkまでの第2ラインRL2に関しては、以下の通りである。第2ラインRL2上の赤頂点Vrと黒頂点Vkとの間には、予め、基準グリッドGpが配置されている。赤頂点Vrと基準グリッドGpとの間では、シアンCの階調値は、赤頂点Vrから基準グリッドGpに向かって、ゼロから徐々に増大する。イエロYの階調値とマゼンタMの階調値とは、変更されずに維持される。ブラックKの階調値は、ゼロに維持される。   The second line RL2 from the red vertex Vr to the black vertex Vk is as follows. A reference grid Gp is previously arranged between the red vertex Vr and the black vertex Vk on the second line RL2. Between the red vertex Vr and the reference grid Gp, the tone value of cyan C gradually increases from zero from the red vertex Vr toward the reference grid Gp. The gradation value of yellow Y and the gradation value of magenta M are maintained without being changed. The gradation value of black K is maintained at zero.

基準グリッドGpと黒頂点Vkとの間では、ブラックKの階調値は、基準グリッドGpから黒頂点Vkに向かって、ゼロから徐々に増大する。イエロYの階調値とマゼンタMの階調値とは、基準グリッドGpから黒頂点Vkに向かって、徐々に減少する。シアンCの階調値は、基準グリッドGpから黒頂点Vkに向かって、徐々に増大し、そして、徐々に減少する。なお、図7では図示を省略するが、黒頂点Vkには、図4(B)で説明したCMYKの調整済階調値が、対応付けられる。第2ラインRL2上の黒頂点Vkを含む少なくとも一部の色範囲(例えば、基準グリッドGpから黒頂点Vkまでの色範囲)において、CMYKのそれぞれの階調値が、予め決められた値ではなく、黒頂点VkでのCMYKのそれぞれの調整済階調値に向かって、徐々に変化してもよい。   Between the reference grid Gp and the black vertex Vk, the tone value of black K gradually increases from zero from the reference grid Gp toward the black vertex Vk. The gradation value of yellow Y and the gradation value of magenta M gradually decrease from the reference grid Gp toward the black vertex Vk. The gradation value of cyan C gradually increases from the reference grid Gp toward the black vertex Vk, and gradually decreases. Although not shown in FIG. 7, the adjusted vertex value of CMYK described in FIG. 4B is associated with the black vertex Vk. In at least a part of the color range including the black vertex Vk on the second line RL2 (for example, the color range from the reference grid Gp to the black vertex Vk), each gradation value of CMYK is not a predetermined value. , May gradually change toward each adjusted gradation value of CMYK at the black vertex Vk.

図7(A)に示す赤領域RAの縁(すなわち、ラインAL、RL1、RL2)よりも内側の内部領域RAiのグリッド点に関しては、プロセッサ110は、縁(ラインAL、RL1、RL2)上の複数のグリッド点のCMYKのそれぞれの表色値を補間することによって、CMYKの表色値を算出する。   Regarding the grid points of the inner area RAi inside the edges of the red area RA (that is, the lines AL, RL1, and RL2) shown in FIG. The CMYK colorimetric values are calculated by interpolating the respective CMYK colorimetric values of a plurality of grid points.

以上により、プロセッサ110は、赤領域RAの複数のグリッド点のそれぞれのCMYKの表色値を算出する。他の色相のグリッド値に関しても、同様に、CMYKの表色値が算出される。すなわち、色立体CCの外殻上のグリッド値に対応するCMYKの表色値は、ガマットが最大になるように予め決定されている。外殻よりも内側のグリッド値に対応するCMYKの表色値は、無彩色ラインAL上のグリッド値のCMYKの調整済表色値と、外殻上の同じ色相のグリッド値のCMYKの表色値と、を補間することによって、算出される。これにより、グレー調整済のルックアップテーブルが、完成する。   As described above, the processor 110 calculates the CMYK colorimetric values of each of the plurality of grid points in the red area RA. Similarly, the CMYK color values are calculated for the grid values of other hues. That is, the CMYK color values corresponding to the grid values on the outer shell of the color solid CC are determined in advance so that the gamut is maximized. The CMYK color values corresponding to the grid values inside the outer shell are the adjusted CMYK color values of the grid values on the achromatic line AL and the CMYK color values of the same hue grid value on the outer shell. It is calculated by interpolating the values Thus, the gray-adjusted lookup table is completed.

図2のS140では、プロセッサ110は、特定の有彩色のCMYKの表色値を、調整することによって、最終的なルックアップテーブルを作成する。例えば、プロセッサ110は、ユーザの指示に応じて、グレー調整済のルックアップテーブルのうち、ユーザによって指定されたグリッド値に対応付けられたCMYKの表色値を変更する。例えば、ユーザは、青色を表すRGBのグリッド値に対応するCMYKの表色値を、海を表す画像に適したCMYKの表色値に変更できる。ユーザは、例えば、変更対象のグリッド値を特定する情報と、変更後のCMYKの表色値とを、操作部150を通じて入力する。ここで、プロセッサ110は、入力された表色値によって表される色を表示部140に表示してもよい。なお、S140は、省略されてもよい。   In S140 of FIG. 2, the processor 110 creates a final look-up table by adjusting the color values of CMYK of a specific chromatic color. For example, the processor 110 changes the CMYK color values associated with the grid value specified by the user in the gray-adjusted lookup table in accordance with the user's instruction. For example, the user can change the CMYK color values corresponding to the RGB grid values representing blue to CMYK color values suitable for an image representing the sea. The user inputs, for example, information for specifying a grid value to be changed and CMYK color values after the change through the operation unit 150. Here, the processor 110 may display the color represented by the input color specification value on the display unit 140. Note that S140 may be omitted.

以上のように、キャリブレーションデータとルックアップテーブルとが作成される。作成されたキャリブレーションデータとルックアップテーブルは、プリンタ210を用いる印刷処理に利用される。例えば、RGB色空間で表された画像データを用いて画像を印刷する場合、RGBの表色値からCMYKの表色値への変換に、ルックアップテーブルが用いられる。CMYKの表色値は、キャリブレーションデータを用いて、CMYKの補正済の表色値に変換される。そして、CMYKの補正済の表色値を用いたハーフトーン処理によって印刷データが生成される。このようなキャリブレーションデータとルックアップテーブルとは、プリンタ210を制御するためのプリンタドライバに組み込まれてもよい。なお、キャリブレーションデータとルックアップテーブルとは、プリンタ210のモデル毎に準備される。この代わりに、キャリブレーションデータとルックアップテーブルとが、プリンタ210の個体毎に準備されてもよい。   As described above, the calibration data and the look-up table are created. The created calibration data and the look-up table are used for a printing process using the printer 210. For example, when printing an image using image data represented in the RGB color space, a lookup table is used to convert RGB color values into CMYK color values. The CMYK color values are converted into CMYK corrected color values using the calibration data. Then, print data is generated by halftone processing using the CMYK corrected color values. Such calibration data and the look-up table may be incorporated in a printer driver for controlling the printer 210. Note that the calibration data and the look-up table are prepared for each model of the printer 210. Alternatively, calibration data and a look-up table may be prepared for each printer 210.

このように、本実施例では、図6のS360と図4(B)の第3範囲R3とで説明したように、プロセッサ110は、無彩色ラインAL上の基準表色値Gkと高明度代表値Gwとの間のRGBのグリッド値に対応するCMYKの表色値を、低明度代表値Gbに対応付けられたCMYKの表色値を用いずに、高明度代表値Gwに対応付けられたCMYKの表色値を用いて算出する。上述したように、基準値Gkよりも低明度側の低明度代表値Gbに対応付けられたブラックKの階調値は、ゼロを超え得るが、CMYKの表色値の算出には用いられない。また、基準値Gkよりも高明度側の高明度代表値Gwに対応付けられたブラックKの階調値は、ゼロであり、そして、CMYKの表色値の算出には用いられる。従って、無彩色ラインAL上の基準表色値Gkと高明度代表値Gwとの間で、ブラックKの階調値が、意図せずゼロよりも大きくなることを抑制できる。   As described above, in the present embodiment, as described with reference to S360 in FIG. 6 and the third range R3 in FIG. 4B, the processor 110 determines the reference colorimetric value Gk and the high brightness representative value on the achromatic line AL. The CMYK color value corresponding to the RGB grid value between the value Gw and the CMYK color value corresponding to the RGB value is associated with the high brightness representative value Gw without using the CMYK color value associated with the low brightness representative value Gb. It is calculated using CMYK color values. As described above, the tone value of black K associated with the low brightness representative value Gb on the lower brightness side than the reference value Gk can exceed zero, but is not used for calculating the CMYK color specification values. . Further, the gradation value of black K associated with the high brightness representative value Gw on the higher brightness side than the reference value Gk is zero, and is used for calculating the CMYK color specification values. Therefore, it is possible to prevent the grayscale value of the black K from unintentionally becoming larger than zero between the reference color value Gk and the high brightness representative value Gw on the achromatic line AL.

また、図6のS370と図4(B)の第4範囲R4とで説明したように、プロセッサ110は、無彩色ラインAL上の基準値Gkと低明度代表値Gbとの間のRGBのグリッド値に対応するCMYKの表色値を、低明度代表値Gbに対応付けられたCMKYの表色値を用いて、算出する。このようにグリッド値に近い低明度代表値Gbが用いられるので、適切なCMYKの表色値を算出できる。例えば、第4範囲R4では、ブラックKの階調値が、ゼロよりも大きな値に決定される。   Further, as described in S370 of FIG. 6 and the fourth range R4 of FIG. 4B, the processor 110 converts the RGB grid between the reference value Gk and the low brightness representative value Gb on the achromatic line AL. The CMYK color value corresponding to the value is calculated using the CMKY color value associated with the low lightness representative value Gb. Since the low lightness representative value Gb close to the grid value is used as described above, an appropriate CMYK colorimetric value can be calculated. For example, in the fourth range R4, the gradation value of black K is determined to be a value larger than zero.

以上により、無彩色ラインALを白頂点Vwから黒頂点Vkに向かって辿る場合に、ブラックKの階調値がゼロからゼロよりも大きな値に変化する位置を、基準値Gkから変えずに維持することができる。また、本実施例では、基準表色値Gkは、図4(A)、図5で説明したパッチ代表値には含まれていない。従って、基準表色値Gkのためのパッチを印刷せずに、基準表色値Gkが変化することを抑制できる。   As described above, when the achromatic line AL is traced from the white vertex Vw to the black vertex Vk, the position where the gradation value of the black K changes from zero to a value larger than zero is maintained without changing from the reference value Gk. can do. Further, in this embodiment, the reference color value Gk is not included in the patch representative values described with reference to FIGS. Therefore, it is possible to suppress a change in the reference color value Gk without printing a patch for the reference color value Gk.

また、図6のS340と図4(B)の第1範囲R1と第2範囲R2とで説明したように、プロセッサ110は、無彩色ラインAL上の高明度代表値Gwよりも高明度側のグリッド値に対応するCMYK表色値と、無彩色ラインAL上の低明度代表値Gbよりも低明度側のグリッド値に対応するCMYK表色値とを、無彩色ラインAL上で隣り合うとともにグリッド値を間に挟む2個の無彩色代表値G1、G2を用いる補間によって、算出する。このように、グリッド値に近くグリッド値を挟む2個の無彩色代表値G1、G2が補間に用いられるので、適切なCMYK表色値を算出できる。   Further, as described with reference to S340 in FIG. 6 and the first range R1 and the second range R2 in FIG. 4B, the processor 110 sets a higher lightness side than the high lightness representative value Gw on the achromatic line AL. A CMYK colorimetric value corresponding to the grid value and a CMYK colorimetric value corresponding to a grid value on the achromatic color line AL corresponding to a grid value lower than the low lightness representative value Gb are adjacent to each other on the achromatic color line AL. It is calculated by interpolation using two achromatic representative values G1 and G2 sandwiching the values. As described above, since the two achromatic representative values G1 and G2 which are close to the grid value and sandwich the grid value are used for interpolation, an appropriate CMYK colorimetric value can be calculated.

また、図6のS360と図4(B)の第3範囲R3とで説明したように、プロセッサ110は、無彩色ラインAL上の基準表色値Gkと高明度代表値Gwとの間のグリッド値に対応するCMYKの表色値を、高明度代表値Gwに対応付けられたCMYK表色値と、高明度代表値Gwの高明度側の隣の無彩色代表値Gsに対応付けられたCMYK表色値と、を用いる外挿によって、算出する。このように、グリッド値に近い2個の無彩色代表値Gw、Gsが外挿に用いられるので、適切なCMYK表色値を算出できる。   Further, as described with reference to S360 in FIG. 6 and the third range R3 in FIG. 4B, the processor 110 determines whether the grid between the reference colorimetric value Gk and the high brightness representative value Gw on the achromatic line AL is high. The CMYK color value corresponding to the CMYK color value is represented by the CMYK color value associated with the high lightness representative value Gw and the CMYK color value adjacent to the high lightness side of the high lightness representative value Gw. It is calculated by extrapolation using color specification values. As described above, since the two achromatic color representative values Gw and Gs close to the grid value are used for extrapolation, an appropriate CMYK colorimetric value can be calculated.

また、プロセッサ110は、図5のS210〜S240を実行することによって、無彩色代表値とCMYKの調整済表色値との対応関係を表す情報を生成する(色対応情報とも呼ぶ)。色対応情報のデータ形式としては、任意の形式を採用可能である(例えば、ルックアップテーブル)。プロセッサ110は、S240の判断結果がYesである場合に、生成した色対応情報を、記憶装置(例えば、不揮発性記憶装置130、または、揮発性記憶装置120)に一時的に格納する。そして、S250、すなわち、図6のS340、S360、S370では、プロセッサ110は、記憶装置の色対応情報を参照し、無彩色代表値に対応付けられた調整済表色値を用いて、CMYKの表色値を算出する。ここで、図5のS230で説明したように、調整済表色値は、RGBの無彩色代表値に対応付けられた目標色値に基づいて、決定される。従って、調整済表色値は、目標色値に対応付けられている、ということができる。このように、図6のS340、S360、S370では、CMYK表色値の算出に、目標色値に対応付けられた調整済表色値が用いられるので、目標色値に適したCMYK表色値を算出できる。   Further, the processor 110 generates information indicating the correspondence between the achromatic representative value and the adjusted CMYK colorimetric values by executing S210 to S240 in FIG. 5 (also referred to as color correspondence information). Any format can be adopted as the data format of the color correspondence information (for example, a lookup table). If the determination result in S240 is Yes, the processor 110 temporarily stores the generated color correspondence information in a storage device (for example, the nonvolatile storage device 130 or the volatile storage device 120). Then, in S250, that is, in S340, S360, and S370 in FIG. 6, the processor 110 refers to the color correspondence information in the storage device and uses the adjusted colorimetric value associated with the achromatic color representative value to generate the CMYK Calculate the color specification value. Here, as described in S230 of FIG. 5, the adjusted colorimetric value is determined based on the target color value associated with the RGB achromatic color representative value. Therefore, it can be said that the adjusted colorimetric value is associated with the target color value. As described above, in S340, S360, and S370 in FIG. 6, since the adjusted colorimetric value associated with the target color value is used to calculate the CMYK colorimetric value, the CMYK colorimetric value suitable for the target color value is used. Can be calculated.

また、図4(A)、図4(B)に示すように、無彩色ラインAL上で隣り合う2個の無彩色代表値(具体的には、2個のパッチ代表値)の間の距離は、無彩色ラインAL上の位置に応じて異なっている。例えば、白頂点Vwを含む一部の範囲(高明度範囲と呼ぶ)であるゼロから48までの範囲では、距離は、16である。黒頂点Vkを含む一部の範囲(低明度範囲と呼ぶ)である240から255までの範囲では、距離は、15である。残りの48から240までの範囲(中間範囲と呼ぶ)では、距離は、32である。このように、最大距離は、32である。そして、距離が最大である2個の無彩色代表値は、無彩色ラインAL上の両端の無彩色代表値Vw、Vkよりも内側に位置する2個の無彩色代表値である。すなわち、中間範囲に属する隣り合う2個の無彩色代表値の間の距離は、高明度範囲に属する隣り合う2個の無彩色代表値の間の距離と、低明度範囲に属する隣り合う2個の無彩色代表値の間の距離と、のいずれよりも大きい。従って、最も明度の高い色である白色を表す白頂点Vwを含む一部の色範囲と、最も明度の低い色である黒色を表す黒頂点Vkを含む一部の色範囲とにおいて、無彩色代表値の密度が粗くなることを抑制できる。この結果、白色を含む一部の色範囲と黒色を含む一部の色範囲とにおいて、不自然な色を表すCMYK表色値が算出されることを抑制できる。例えば、無彩色であるべき色が、有彩色で印刷されることを抑制できる。なお、高明度範囲と低明度範囲と中間範囲とは、それぞれ、上記の範囲とは異なる範囲であってもよい。   Further, as shown in FIGS. 4A and 4B, a distance between two achromatic representative values (specifically, two patch representative values) adjacent on the achromatic line AL. Differs depending on the position on the achromatic line AL. For example, the distance is 16 in a range from zero to 48, which is a part of the range including the white vertex Vw (referred to as a high brightness range). The distance is 15 in a range from 240 to 255, which is a part of the range including the black vertex Vk (referred to as a low brightness range). In the remaining range from 48 to 240 (called the middle range), the distance is 32. Thus, the maximum distance is 32. The two achromatic representative values having the largest distance are two achromatic representative values located inside the achromatic representative values Vw and Vk at both ends on the achromatic line AL. In other words, the distance between two adjacent achromatic color representative values belonging to the intermediate range is the distance between two adjacent achromatic color representative values belonging to the high brightness range, and the distance between two adjacent achromatic color representative values belonging to the low brightness range. And the distance between the achromatic representative values. Therefore, in a part of the color range including the white vertex Vw representing white, which is the color with the highest brightness, and the part of the color range including the black vertex Vk representing black, which is the color with the lowest brightness, an achromatic representative color is used. It is possible to suppress the value density from becoming coarse. As a result, in some color ranges including white and some color ranges including black, it is possible to suppress the calculation of CMYK color values that represent unnatural colors. For example, it is possible to prevent a color that should be achromatic from being printed in a chromatic color. The high lightness range, the low lightness range, and the intermediate range may be different from the above ranges.

B.第2実施例:
図8は、印刷処理の手順の例を示すフローチャートである。第2実施例では、印刷処理における色変換処理において、図6で説明した処理と同様の表色値の算出が行われる。以下、印刷用の第3プログラム136(図1)に従って動作するプロセッサ110が、図8の処理を実行することとして、説明を行う。また、図2のS100で生成されたキャリブレーションデータと、S110〜S140で生成されたルックアップテーブルとが、第3プログラム136に組み込まれていることとする。なお、本実施例では、ルックアップテーブルは、RGBの複数のグリッド値のそれぞれにCMYKの表色値を対応付ける色対応情報である、といえる。また、RGBのグリッド値は、RGB色空間内の種々の表色値のうち、ルックアップテーブルによってCMYKの表色値が対応付けられた代表的な表色値である。従って、本実施例では、RGBのグリッド値は、CMYKの表色値が対応付けられた代表表色値(または、単に、代表値)である、といえる。
B. Second embodiment:
FIG. 8 is a flowchart illustrating an example of the procedure of the printing process. In the second embodiment, in the color conversion process in the printing process, the calculation of the color specification value similar to the process described with reference to FIG. 6 is performed. Hereinafter, the description will be given assuming that the processor 110 operating according to the third program for printing 136 (FIG. 1) executes the processing of FIG. It is assumed that the calibration data generated in S100 of FIG. 2 and the look-up table generated in S110 to S140 are incorporated in the third program 136. In this embodiment, it can be said that the lookup table is color correspondence information that associates the CMYK color values with each of the plurality of RGB grid values. The RGB grid values are representative color values in which the CMYK color values are associated with the lookup table among various color values in the RGB color space. Therefore, in the present embodiment, it can be said that the RGB grid values are the representative color values (or simply, representative values) associated with the CMYK color values.

S10では、プロセッサ110は、ユーザから操作部150を介して印刷指示を取得する。印刷指示は、印刷対象の対象画像データを指定する指示を含んでいる。プロセッサ110は、ユーザによって指定された対象画像データを取得する。例えば、記憶装置(例えば、不揮発性記憶装置130)から、対象画像データが取得される。対象画像データは、例えば、ページ記述言語で記述された画像データや、JPEG形式で圧縮された画像データである。   In S10, the processor 110 acquires a print instruction from the user via the operation unit 150. The print instruction includes an instruction to specify target image data to be printed. The processor 110 acquires target image data specified by the user. For example, target image data is acquired from a storage device (for example, the nonvolatile storage device 130). The target image data is, for example, image data described in a page description language or image data compressed in a JPEG format.

S20では、プロセッサ110は、取得した対象画像データに対してラスタライズ処理を実行して、複数個の画素を含む対象画像を表す印刷処理用のビットマップデータを生成する。ビットマップデータは、本実施例では、RGBの階調値によって画素ごとの色を表すRGB画像データである。対象画像データがビットマップデータである場合には、プロセッサ110は、ビットマップデータの解像度(すなわち、画素密度)を、印刷処理用の解像度に変換する処理を実行してもよい。   In S20, the processor 110 performs a rasterizing process on the acquired target image data to generate bitmap data for a printing process representing a target image including a plurality of pixels. In the present embodiment, the bitmap data is RGB image data representing a color for each pixel by RGB gradation values. If the target image data is bitmap data, the processor 110 may execute a process of converting the resolution (that is, the pixel density) of the bitmap data into a resolution for printing.

S30では、プロセッサ110は、RGB画像データに対して色変換処理を実行して、印刷に利用可能な色材の種類に対応する画像データを生成する。本実施例では、CMYK画像データが生成される。色変換処理は、RGBの階調値とCMYKの階調値との対応関係を定めるルックアップテーブルを用いて行われる(詳細は、後述)。   In S30, the processor 110 performs a color conversion process on the RGB image data to generate image data corresponding to a type of a color material usable for printing. In this embodiment, CMYK image data is generated. The color conversion process is performed using a look-up table that determines the correspondence between RGB tone values and CMYK tone values (details will be described later).

S35では、プロセッサ110は、CMYKの階調値を、キャリブレーションデータを用いて、補正済階調値に変換する。   In S35, the processor 110 converts the CMYK gradation values into corrected gradation values using the calibration data.

S40では、プロセッサ110は、CMYKの補正済階調値に対してハーフトーン処理を実行して、ドットの形成状態を画素ごと、かつ、インクの種類ごとに表すドットデータを生成する。本実施例では、ハーフトーン処理は、誤差マトリクスを利用した誤差拡散処理を用いて実行される。これに代えて、ディザマトリクスを用いるハーフトーン処理を採用してもよい。   In S40, the processor 110 performs halftone processing on the corrected gradation values of CMYK to generate dot data representing the dot formation state for each pixel and for each type of ink. In the present embodiment, the halftone process is executed using an error diffusion process using an error matrix. Instead, halftone processing using a dither matrix may be employed.

S50では、プロセッサ110は、ドットデータを用いて印刷データを生成する。印刷データは、プリンタ210によって解釈可能なデータ形式で表されたデータである。プロセッサ110は、例えば、印刷に用いられる順にドットデータを並べるとともに、各種のプリンタ制御コードや、データ識別コードを付加して印刷データを生成する。   In S50, the processor 110 generates print data using the dot data. The print data is data represented in a data format that can be interpreted by the printer 210. The processor 110, for example, arranges dot data in the order used for printing, and adds various printer control codes and data identification codes to generate print data.

S60では、プロセッサ110は、生成した印刷データを、プリンタ210に供給する。S70では、プリンタ210は、受信した印刷データに従って、画像を印刷する。以上により、図8の印刷処理が終了する。   In S60, the processor 110 supplies the generated print data to the printer 210. In S70, the printer 210 prints an image according to the received print data. Thus, the printing process in FIG. 8 ends.

図9は、色変換処理の手順の例を示すフローチャートである。図9は、1個の画素の表色値を変換する処理を示している。本実施例では、図9の色変換処理は、各画素毎に行われる。S300では、プロセッサ110は、処理対象のRGBの表色値(すなわち、第1種表色値)を取得する。S303では、プロセッサ110は、第1種表色値が無彩色を表しているか否かを判断する。本実施例では、R=G=Bである場合に、第1種表色値が無彩色を表すと判断される。以下、処理対象の第1種表色値を、注目表色値とも呼ぶ。   FIG. 9 is a flowchart illustrating an example of the procedure of the color conversion process. FIG. 9 shows a process of converting the color specification value of one pixel. In the present embodiment, the color conversion processing of FIG. 9 is performed for each pixel. In S300, the processor 110 acquires the RGB color values to be processed (that is, the first type color values). In S303, the processor 110 determines whether the first type color specification value represents an achromatic color. In this embodiment, when R = G = B, it is determined that the first type color specification value represents an achromatic color. Hereinafter, the first type color value to be processed is also referred to as a target color value.

注目表色値が無彩色を表していない場合(S303:No)、S306で、プロセッサ110は、ルックアップテーブルに含まれる複数のグリッド値のうち、注目表色値を含む最小の三角錐を形成する4個のグリッド値を選択する。S310では、プロセッサ110は、選択した4個のグリッド値に対応する4個のCMYKの表色値を補間することによって、注目表色値に対応するCMYKの表色値を算出する。そして、プロセッサ110は、図9の処理を終了する。   If the target colorimetric value does not represent an achromatic color (S303: No), in S306, the processor 110 forms the smallest triangular pyramid including the target colorimetric value among the plurality of grid values included in the lookup table. 4 grid values to be selected. In S310, the processor 110 calculates the CMYK color values corresponding to the target color values by interpolating the four CMYK color values corresponding to the selected four grid values. Then, the processor 110 ends the processing in FIG.

注目表色値が無彩色を表している場合(S303:Yes)、S320で、プロセッサ110は、基準値Gkを特定する。図4(A)、図4(B)などで説明したように、基準値Gkは、グレー値GVを白頂点Vwから増大させた場合にブラックKの階調値がゼロからゼロより大きい値に変化する表色値を示している。プロセッサ110は、このような基準値Gkを、不揮発性記憶装置130に予め格納されたデータを参照して、特定する。例えば、基準値Gkを表すデータが、予め、印刷用の第3プログラム136に組み込まれていてもよい。なお、S320で特定される基準値Gkは、ルックアップテーブルの作成で用いられた基準値Gkと異なっていてもよい。例えば、S320では、プロセッサ110は、ユーザによって指定された値を、基準値Gkとして採用してもよい。ユーザは、粒状性などを考慮して、基準値Gkを指定してもよい。   If the target color value indicates an achromatic color (S303: Yes), in S320, the processor 110 specifies the reference value Gk. As described with reference to FIGS. 4A and 4B, when the gray value GV is increased from the white vertex Vw, the reference value Gk is changed from zero to a value larger than zero. The changing color values are shown. The processor 110 specifies such a reference value Gk with reference to data stored in the nonvolatile storage device 130 in advance. For example, data representing the reference value Gk may be incorporated in the third program 136 for printing in advance. Note that the reference value Gk specified in S320 may be different from the reference value Gk used in creating the lookup table. For example, in S320, the processor 110 may adopt a value specified by the user as the reference value Gk. The user may specify the reference value Gk in consideration of the graininess and the like.

続く、S326a、S330a、S340a、S350a、S360a、S370aは、図6のS326、S330、S340、S350、S360、S370に、以下の修正を加えたものと、それぞれ同じである。すなわち、図9の処理では、注目グレー値Gxとして、注目表色値を表すグレー値GVが用いられる。また、補間、外挿などの表色値の算出に用いられる無彩色代表値としては、パッチ代表値に限らず、ルックアップテーブルに含まれる無彩色ラインAL上の全てのグリッド値が用いられる。これらの修正を除いて、図9のS326a、S330a、S340a、S350a、S360a、S370aは、図6のS326、S330、S340、S350、S360、S370と、それぞれ同じである。従って、図9の色変換処理によって算出されるCMYKの表色値、特に、無彩色ラインAL上の注目表色値に対応付けられるCMYKの表色値は、図4(B)で説明したCMYKの表色値と同じである。   Subsequent steps S326a, S330a, S340a, S350a, S360a, and S370a are the same as S326, S330, S340, S350, S360, and S370 of FIG. 6 with the following modifications. That is, in the process of FIG. 9, the gray value GV representing the target color value is used as the target gray value Gx. Further, as the achromatic color representative value used for calculation of the color specification value such as interpolation and extrapolation, not only the patch representative value but also all grid values on the achromatic color line AL included in the lookup table are used. Except for these modifications, S326a, S330a, S340a, S350a, S360a, and S370a in FIG. 9 are the same as S326, S330, S340, S350, S360, and S370 in FIG. 6, respectively. Accordingly, the CMYK color values calculated by the color conversion process of FIG. 9, particularly the CMYK color values associated with the target color values on the achromatic line AL, are the CMYK color values described with reference to FIG. Is the same as the color specification value.

なお、本実施例では、無彩色ラインAL上の全てのグリッド値が無彩色代表値として用いられる。従って、基準値Gkの高明度側(すなわち、白頂点Vw側)の隣の代表値Gwは、図4(B)の代表値Gwとは異なる無彩色代表値であり得る。同様に、基準値Gkの低明度側(すなわち、黒頂点Vk側)の隣の代表値Gbは、図4(B)の低明度代表値Gbとは異なる代表値であり得る。   In this embodiment, all grid values on the achromatic line AL are used as achromatic representative values. Therefore, the representative value Gw adjacent to the reference value Gk on the high lightness side (that is, the white vertex Vw side) may be an achromatic representative value different from the representative value Gw in FIG. 4B. Similarly, the representative value Gb adjacent to the low brightness side of the reference value Gk (that is, the black vertex Vk side) may be a representative value different from the low brightness representative value Gb of FIG.

本実施例においても、図4(B)の第3範囲R3と同様に、プロセッサ110は、無彩色ラインAL上の基準表色値Gkと高明度代表値Gwとの間の注目表色値に対応するCMYKの表色値を、低明度代表値Gbに対応付けられたCMYKの表色値を用いずに、高明度代表値Gwに対応付けられたCMYKの表色値を用いて算出する。従って、無彩色ラインAL上の基準表色値Gkと高明度代表値Gwとの間で、ブラックKの階調値が、意図せずゼロよりも大きくなることを抑制できる。   Also in the present embodiment, similarly to the third range R3 in FIG. 4B, the processor 110 sets the target colorimetric value between the reference colorimetric value Gk and the high lightness representative value Gw on the achromatic color line AL. The corresponding CMYK colorimetric value is calculated using the CMYK colorimetric value associated with the high lightness representative value Gw, without using the CMYK colorimetric value associated with the low lightness representative value Gb. Therefore, it is possible to prevent the grayscale value of the black K from unintentionally becoming larger than zero between the reference color value Gk and the high brightness representative value Gw on the achromatic line AL.

また、図4(B)の第4範囲R4と同様に、プロセッサ110は、無彩色ラインAL上の基準値Gkと低明度代表値Gbとの間の注目表色値に対応するCMYKの表色値を、低明度代表値Gbに対応付けられたCMKYの表色値を用いて、算出する。このように注目表色値に近い低明度代表値Gbが用いられるので、適切なCMYKの表色値を算出できる。   Further, similarly to the fourth range R4 in FIG. 4B, the processor 110 determines the CMYK color specification corresponding to the target color value between the reference value Gk and the low brightness representative value Gb on the achromatic line AL. The value is calculated using the CMKY color specification value associated with the low brightness representative value Gb. As described above, since the low brightness representative value Gb close to the target color value is used, an appropriate CMYK color value can be calculated.

以上により、無彩色ラインALを白頂点Vwから黒頂点Vkに向かって辿る場合に、ブラックKの階調値がゼロからゼロよりも大きな値に変化する位置を、基準値Gkから変えずに維持することができる。   As described above, when the achromatic line AL is traced from the white vertex Vw to the black vertex Vk, the position where the gradation value of the black K changes from zero to a value larger than zero is maintained without changing from the reference value Gk. can do.

また、図4の第1範囲R1と第2範囲R2と同様に、プロセッサ110は、無彩色ラインAL上の高明度代表値Gwよりも高明度側の注目表色値に対応するCMYK表色値と、無彩色ラインAL上の低明度代表値Gbよりも低明度側の注目表色値に対応するCMYK表色値とを、無彩色ラインAL上で隣り合うとともに注目表色値を間に挟む2個の無彩色代表値G1、G2を用いる補間によって、算出する。従って、注目表色値に適したCMYK表色値を算出できる。   Further, similarly to the first range R1 and the second range R2 of FIG. 4, the processor 110 outputs the CMYK colorimetric values corresponding to the target colorimetric value on the higher lightness side than the high lightness representative value Gw on the achromatic line AL. And the CMYK color values corresponding to the target color value on the achromatic line AL corresponding to the target color value lower than the low lightness representative value Gb on the achromatic line AL, and sandwich the target color value between them. It is calculated by interpolation using two achromatic representative values G1 and G2. Therefore, the CMYK color values suitable for the target color value can be calculated.

また、図4(B)の第3範囲R3と同様に、プロセッサ110は、無彩色ラインAL上の基準表色値Gkと高明度代表値Gwとの間の注目表色値注目表色値に対応するCMYKの表色値を、高明度代表値Gwに対応付けられたCMYK表色値と、高明度代表値Gwの高明度側の隣の無彩色代表値Gsに対応付けられたCMYK表色値と、を用いる外挿によって、算出する。従って、注目表色値に適したCMYK表色値を算出できる。   Further, similarly to the third range R3 in FIG. 4B, the processor 110 sets the target color value between the reference color value Gk and the high lightness representative value Gw on the achromatic line AL as the target color value. The corresponding CMYK color values are represented by the CMYK color values associated with the high-brightness representative value Gw and the CMYK color values associated with the achromatic representative value Gs adjacent to the high-brightness representative value Gw on the high-brightness side. The value is calculated by extrapolation using Therefore, the CMYK color values suitable for the target color value can be calculated.

なお、ルックアップテーブルにおいて、複数のグリッド値の密度が、色に応じて異なっていてもよい。例えば、図4(B)の黒点で示されるパッチ代表値のように、無彩色ラインAL上の白頂点Vwを含む一部の色範囲と黒頂点Vkを含む一部の色範囲とにおいて、無彩色ラインALの残りの範囲と比べて、グリッド値の密度が高くてもよい。すなわち、隣り合う2個のグリッド値の間の距離に着目する場合に、距離が最大である2個のグリッド値が、無彩色ラインAL上の両端の無彩色代表値Vw、Vkよりも内側に位置する2個のグリッド値であってもよい。これによれば、白色を含む一部の色範囲と黒色を含む一部の色範囲とにおいて、不自然な色を表すCMYK表色値が算出されることを抑制できる。   In the lookup table, the densities of the plurality of grid values may be different depending on the colors. For example, like a patch representative value indicated by a black point in FIG. 4B, in a partial color range including the white vertex Vw and a partial color range including the black vertex Vk on the achromatic line AL, The grid value density may be higher than the remaining range of the coloring line AL. That is, when focusing on the distance between two adjacent grid values, the two grid values having the largest distance are located inside the achromatic representative values Vw and Vk at both ends on the achromatic line AL. It may be two grid values located. According to this, in some color ranges including white and some color ranges including black, it is possible to suppress calculation of CMYK color values that represent unnatural colors.

C.変形例:
(1)色材の種類に対応する複数の色成分で表された表色値を算出する処理の手順としては、図6、図9の手順に代えて、他の種々の手順を採用可能である。例えば、プロセッサ110は、図4(B)の第1範囲R1と第2範囲R2とにおいて、注目グレー値Gxを挟む2個の無彩色代表値G1、G2を含むL個(Lは2以上の整数)の無彩色代表値のL個のCMYK表色値を用いる補間によって、注目グレー値Gxに対応するCMYKの表色値を算出してもよい。L個の無彩色代表値としては、例えば、注目グレー値Gxに最も近いL個の無彩色代表値を採用してもよい。
C. Modification:
(1) As a procedure of a process of calculating a color specification value represented by a plurality of color components corresponding to a type of a color material, various other procedures can be adopted instead of the procedures of FIGS. is there. For example, in the first range R1 and the second range R2 of FIG. 4B, the processor 110 includes L (L is 2 or more) including two achromatic representative values G1 and G2 sandwiching the target gray value Gx. The CMYK color values corresponding to the gray value of interest Gx may be calculated by interpolation using L CMYK color values of the achromatic color representative value of (integer). As the L achromatic representative values, for example, L achromatic representative values closest to the target gray value Gx may be employed.

また、プロセッサ110は、図4(B)の第3範囲R3において、低明度代表値Gbに対応するCMYK表色値を用いずに、高明度代表値Gwから白頂点Vw側に並ぶM個(Mは2以上の整数)の無彩色代表値のM個のCMYK表色値を用いる外挿によって、注目グレー値Gxに対応するCMYKの表色値を算出してもよい。   In addition, in the third range R3 of FIG. 4B, the processor 110 does not use the CMYK color values corresponding to the low brightness representative value Gb, but uses the M (from the high brightness representative value Gw to the white vertex Vw side). The CMYK color values corresponding to the target gray value Gx may be calculated by extrapolation using the M CMYK color values of the achromatic representative value (M is an integer of 2 or more).

また、プロセッサ110は、図4(B)の第4範囲R4において、基準値Gkに対応するCMYK表色値を用いずに、低明度代表値Gbから黒頂点Vk側に並ぶP個(Pは2以上の整数)の無彩色代表値のP個のCMYK表色値を用いる外挿によって、注目グレー値Gxに対応するCMYKの表色値を算出してもよい。   Further, in the fourth range R4 of FIG. 4B, the processor 110 uses P (P: P) arranged from the low brightness representative value Gb to the black vertex Vk side without using the CMYK color value corresponding to the reference value Gk. The CMYK color value corresponding to the target gray value Gx may be calculated by extrapolation using the P CMYK color values of the achromatic representative value (an integer of 2 or more).

(2)図4(A)、図4(B)に示す実施例において、複数のパッチ代表値の配置が、図示された黒点の配置とは異なっていてもよい。例えば、複数のパッチ代表値が、白頂点Vwと黒頂点Vkとの間で均等に配置されていてもよい。 (2) In the embodiment shown in FIGS. 4A and 4B, the arrangement of a plurality of patch representative values may be different from the arrangement of the illustrated black dots. For example, a plurality of patch representative values may be evenly arranged between the white vertex Vw and the black vertex Vk.

(3)図4(A)、図4(B)の黒点で示される複数のパッチ代表値などの複数の無彩色代表値は、おおよそ無彩色ラインAL上に位置していればよく、無彩色ラインALからわずかに離れていてもよい。例えば、無彩色代表値が無彩色ラインALから離れている場合であっても、その無彩色代表値に従って印刷された色を肉眼で観察した結果、その色が無彩色であると判断され得る場合には、その無彩色代表値は、おおよそ無彩色ラインAL上に位置しているということができる。 (3) A plurality of achromatic representative values, such as a plurality of patch representative values indicated by black dots in FIGS. 4A and 4B, need only be located approximately on the achromatic line AL, It may be slightly away from the line AL. For example, even if the achromatic color representative value is far from the achromatic color line AL, when the color printed in accordance with the achromatic color representative value is visually observed, it can be determined that the color is an achromatic color. In other words, it can be said that the achromatic representative value is approximately located on the achromatic line AL.

(4)ルックアップテーブルの作成処理としては、図2に示す処理に代えて、他の種々の処理を採用可能である。例えば、S100とキャリブレーションデータとを省略してもよい。また、S140が省略されてもよい。 (4) As the process of creating the lookup table, various other processes can be adopted instead of the process shown in FIG. For example, S100 and the calibration data may be omitted. Further, S140 may be omitted.

(5)RGBの表色値とCMYKの表色値との対応関係としては、図4(A)、図4(B)、図7に示す対応関係に代えて、他の種々の対応関係を採用可能である。例えば、図4(A)、図4(B)の実施例において、グレー値GVの増大に対して、CMYの階調値が減少せずに増大し続けてもよい。また、図7の実施例において、イエロYの階調値とマゼンタMの階調値とが、赤頂点Vrから基準グリッドGpに向かって、徐々に減少してもよい。 (5) As the correspondence between the RGB color values and the CMYK color values, various other correspondences are used instead of the correspondences shown in FIGS. 4A, 4B, and 7. Can be adopted. For example, in the embodiment of FIGS. 4A and 4B, the CMY tone values may continue to increase without decreasing with increasing gray value GV. Further, in the embodiment of FIG. 7, the gradation value of yellow Y and the gradation value of magenta M may gradually decrease from the red vertex Vr toward the reference grid Gp.

(6)1個の注目代表値に対応付けられたパッチの総数は、125個と625個とに限らず、他の任意の数を採用可能である(例えば、2以上の任意の数)。例えば、ゼロよりも大きい未調整階調値を有する色成分の階調値が、3段階で変化されてもよい。例えば、K=0、CMY>0である場合、CMYの3個の階調値が3段階で変化するので、パッチの総数は、3×3×3=27個である。CMYKのいずれもがゼロよりも大きい場合、CMYKの4個の階調値が3段階で変化するので、パッチの総数は、3×3×3×3=81個である。 (6) The total number of patches associated with one noted representative value is not limited to 125 and 625, and any other number can be adopted (for example, any number of 2 or more). For example, the tone value of a color component having an unadjusted tone value greater than zero may be changed in three stages. For example, when K = 0 and CMY> 0, the three tone values of CMY change in three steps, and the total number of patches is 3 × 3 × 3 = 27. When all of CMYK are larger than zero, the four gradation values of CMYK change in three steps, and the total number of patches is 3 × 3 × 3 × 3 = 81.

(7)印刷処理としては、図8に示す処理に代えて、他の種々の処理を採用可能である。例えば、S35が省略されてもよい。また、S30で用いられるルックアップテーブルとしては、図2の手順で作成されたテーブルに代えて、任意のテーブルを採用可能である。例えば、測色値を用いずに作成されたルックアップテーブルを用いてもよい。 (7) As the printing process, various other processes can be adopted instead of the process shown in FIG. For example, S35 may be omitted. Further, as the lookup table used in S30, an arbitrary table can be adopted instead of the table created in the procedure of FIG. For example, a look-up table created without using colorimetric values may be used.

(8)印刷に利用可能な色材の種類は、CMYKに代えて、他の種々の種類を採用可能である。例えば、利用可能な色材は、CMYKとシアンCよりも薄いライトシアンLCとの5種であってもよい。一般的には、無彩色の色材を含む複数種類の色材を採用してよい。ここで、無彩色の色材に加えて、混色によって無彩色を表現可能な複数種類の有彩色の色材(例えば、CMYの3種類)を利用可能であることが好ましい。これによれば、明るい無彩色を、ブラックKのような無彩色の色材を用いずに、複数種類の有彩色の色材の混色によって印刷できるので、粒状性を向上できる。 (8) Instead of CMYK, various other types of color materials that can be used for printing can be adopted. For example, there are five available colorants, CMYK and light cyan LC, which is thinner than cyan C. Generally, a plurality of types of color materials including an achromatic color material may be employed. Here, in addition to the achromatic color material, it is preferable to be able to use a plurality of types of chromatic color materials (for example, three types of CMY) capable of expressing an achromatic color by mixing colors. According to this, a bright achromatic color can be printed by mixing a plurality of types of chromatic color materials without using an achromatic color material such as black K, so that graininess can be improved.

(9)色対応情報(例えば、図5のS210〜S240で特定される無彩色代表値とCMYKの調整済表色値との対応関係や、図8の印刷処理で用いられるルックアップテーブルなど)によって対応付けられる色空間の組み合わせは、RGB色空間とCMYK色空間との組み合わせに代えて、他の任意の色空間の組み合わせを採用可能である。例えば、色対応情報は、YCbCr色空間における複数の代表的な表色値と、利用可能な複数種類の色材に対応する複数の色成分で表される色空間(例えば、CMYK色空間や、CMYKLc色空間(Lcは、ライトシアンLCの色成分))における複数の表色値とを対応付けてもよい。 (9) Color correspondence information (for example, the correspondence between the achromatic color representative value specified in S210 to S240 in FIG. 5 and the adjusted CMYK colorimetric values, the lookup table used in the printing process in FIG. 8, and the like) For the combination of the color spaces associated with the above, instead of the combination of the RGB color space and the CMYK color space, any other combination of color spaces can be adopted. For example, the color correspondence information includes a plurality of representative color values in a YCbCr color space and a color space represented by a plurality of color components corresponding to a plurality of available color materials (for example, a CMYK color space, A plurality of color values in the CMYKLc color space (Lc is the color component of light cyan LC) may be associated.

(10)複数の無彩色代表値を用いて、複数種類の色材に対応する複数の色成分の階調値を算出する算出装置は、パーソナルコンピュータとは異なる種類の装置(例えば、デジタルカメラ、スキャナ、スマートフォン)であってもよい。また、算出装置が、印刷装置の一部であってもよい。また、ネットワークを介して互いに通信可能な複数の装置(例えば、コンピュータ)が、算出装置による階調値の算出処理の機能を一部ずつ分担して、全体として、算出処理の機能を提供してもよい(これらの装置を備えるシステムが算出装置に対応する)。 (10) A calculation device that calculates tone values of a plurality of color components corresponding to a plurality of types of color materials using a plurality of achromatic color representative values is a device of a type different from a personal computer (for example, a digital camera, Scanner, smartphone). Further, the calculation device may be a part of the printing device. In addition, a plurality of devices (for example, computers) that can communicate with each other via a network share a part of the function of the gradation value calculation processing by the calculation device, and provide the calculation processing function as a whole. (A system including these devices corresponds to a calculating device).

上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。例えば、図6の算出処理を実行する機能を、専用のハードウェア回路によって実現してもよい。   In each of the above embodiments, a part of the configuration realized by hardware may be replaced by software, and conversely, a part or all of the configuration realized by software may be replaced by hardware. Is also good. For example, the function of executing the calculation processing of FIG. 6 may be realized by a dedicated hardware circuit.

また、本発明の機能の一部または全部がコンピュータプログラムで実現される場合には、そのプログラムは、コンピュータ読み取り可能な記録媒体(例えば、一時的ではない記録媒体)に格納された形で提供することができる。プログラムは、提供時と同一または異なる記録媒体(コンピュータ読み取り可能な記録媒体)に格納された状態で、使用され得る。「コンピュータ読み取り可能な記録媒体」は、メモリーカードやCD−ROMのような携帯型の記録媒体に限らず、各種ROM等のコンピュータ内の内部記憶装置や、ハードディスクドライブ等のコンピュータに接続されている外部記憶装置も含み得る。   When part or all of the functions of the present invention are implemented by a computer program, the program is provided in a form stored in a computer-readable recording medium (for example, a non-temporary recording medium). be able to. The program can be used in a state stored in the same or different recording medium (computer-readable recording medium) at the time of provision. The “computer-readable recording medium” is not limited to a portable recording medium such as a memory card or a CD-ROM, but is connected to an internal storage device in the computer such as various ROMs or a computer such as a hard disk drive. External storage may also be included.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。   As described above, the present invention has been described based on the examples and the modified examples. However, the above-described embodiments are for facilitating understanding of the present invention, and do not limit the present invention. The present invention can be modified and improved without departing from the spirit and scope of the claims, and the present invention includes equivalents thereof.

100...データ処理装置、110...プロセッサ、120...揮発性記憶装置、130...不揮発性記憶装置、132...第1プログラム、134...第2プログラム、136...第3プログラム、140...表示部、150...操作部、190...インタフェース、200...測色機、210...プリンタ、T...三角形、G1...第1無彩色代表値、G2...第2無彩色代表値、R1...第1範囲、R2...第2範囲、R3...第3範囲、R4...第4範囲、RA...赤領域、CC...色立体、AL...無彩色ライン、GV...グレー値、CV...測色値、Ca、Ma、Ya、Ka...補正前階調値、Gb...低明度代表値、Cb、Mb、Yb、Kb...補正済階調値、Vr...赤頂点、Vg...緑頂点、Vbl...青頂点、Vc...シアン頂点、Vm...マゼンタ頂点、Vy...イエロ頂点、Vk...黒頂点、Vw...白頂点、Gk...基準値(基準表色値)、Gp...基準グリッド、Gx...注目グレー値、RL1...第1ライン、RL2...第2ライン、LUT...ルックアップテーブル、RAi...内部領域、CVx...目標色値 100 data processing device, 110 processor, 120 volatile storage device, 130 nonvolatile storage device, 132 first program, 134 second program, 136. ..3rd program, 140 ... display unit, 150 ... operation unit, 190 ... interface, 200 ... colorimeter, 210 ... printer, T ... triangle, G1 ... First achromatic representative value, G2 ... second achromatic representative value, R1 ... first range, R2 ... second range, R3 ... third range, R4 ... fourth range, RA: red region, CC: color solid, AL: achromatic line, GV: gray value, CV: colorimetric value, Ca, Ma, Ya, Ka: correction floor Tone value, Gb: low brightness representative value, Cb, Mb, Yb, Kb: corrected tone value, Vr: red vertex, Vg: green vertex, Vbl: blue vertex, Vc ... Cyan vertex, Vm ... Magenta vertex, Vy ... Yellow vertex, Vk ... Black vertex Vw: white vertex, Gk: reference value (reference color value), Gp: reference grid, Gx: target gray value, RL1: first line, RL2 ... second line , LUT ... look-up table, RAi ... inner area, CVx ... target color value

Claims (6)

第1の色空間における表色値である第1種の表色値に対応する、第2の色空間における表色値である第2種の表色値を、色対応情報を用いて算出する算出装置であって、前記色対応情報は、前記第1の色空間における複数の第1種の代表表色値と、前記第2の色空間における複数の第2種の代表表色値と、を対応付ける情報である、前記算出装置であって、
前記第2種表色値は、印刷に用いられる複数種類の色材であって無彩色の色材を含む前記複数種類の色材に対応する複数の色成分の値で表され、
前記複数の第1種の代表表色値は、前記第1の色空間における白色と黒色とを結ぶ無彩色ライン上の複数の無彩色代表値を含み、
前記複数の無彩色代表値は、前記無彩色ライン上で互いに隣り合う2個の無彩色代表値であって、前記2個の無彩色代表値のうちの高明度側の無彩色代表値である高明度代表値と、前記2個の無彩色代表値のうちの低明度側の無彩色代表値である低明度代表値と、を含み、
前記高明度代表値と前記低明度代表値とは、前記無彩色ライン上の基準表色値を間に挟み、
前記基準表色値は、前記無彩色の色材の色成分の値がゼロである第2種表色値に対応付けられた前記無彩色ライン上の第1種表色値のうちで最も黒色に近く、前記複数の無彩色代表値のいずれとも異なる表色値であり、
前記算出装置は、
前記無彩色ライン上の前記基準表色値と前記高明度代表値との間の第1種表色値に対応する第2種表色値を、前記低明度代表値に対応付けられた第2種表色値を用いずに、前記高明度代表値に対応付けられた第2種表色値を用いて算出する第1算出部と、
前記無彩色ライン上の前記基準表色値と前記低明度代表値との間の第1種表色値に対応する第2種表色値を、前記低明度代表値に対応付けられた第2種表色値を用いて算出する第2算出部と、
を備える、算出装置。
A second type of color value, which is a color value in the second color space, corresponding to a first type of color value, which is a color value in the first color space, is calculated using the color correspondence information. In the calculation device, the color correspondence information includes a plurality of first type representative color values in the first color space, a plurality of second type representative color values in the second color space, The calculation device is information that associates
The second type color value is represented by a plurality of color components corresponding to the plurality of types of color materials including an achromatic color material and a plurality of types of color materials used for printing,
The plurality of first-type representative color values include a plurality of achromatic representative values on an achromatic line connecting white and black in the first color space,
The plurality of achromatic representative values are two achromatic representative values that are adjacent to each other on the achromatic line, and are the achromatic representative values on the high lightness side of the two achromatic representative values. A high-brightness representative value, and a low-brightness representative value that is an achromatic representative value on the low-brightness side of the two achromatic color representative values ;
The high brightness representative value and the low brightness representative value sandwich a reference color value on the achromatic color line,
The reference color value is the blackest among the first type color values on the achromatic line associated with the second type color value in which the value of the color component of the achromatic color material is zero. And a color specification value different from any of the plurality of achromatic representative values,
The calculation device,
A second type color value corresponding to a first type color value between the reference color value and the high lightness representative value on the achromatic line is a second color value corresponding to the low lightness representative value. A first calculation unit that calculates using a second type color value associated with the high brightness representative value without using a type color value;
A second type color value corresponding to a first type color value between the reference color value and the low lightness representative value on the achromatic line is a second color value associated with the low lightness representative value. A second calculator for calculating using the seed color value,
A calculation device comprising:
請求項1に記載の算出装置であって、
前記無彩色ライン上において、前記高明度代表値よりも高明度側の第1種表色値に対応する第2種表色値と、前記低明度代表値よりも低明度側の第1種表色値に対応する第2種表色値とを、前記無彩色ライン上で互いに隣り合うとともに前記第1種表色値を間に挟む2個の無彩色代表値を用いる補間によって算出する第3算出部を備える、算出装置。
The calculation device according to claim 1,
On the achromatic color line, a second type color specification value corresponding to a first type color value higher than the high lightness representative value, and a first type color value lower than the low lightness representative value. A third type color value corresponding to the color value is calculated by interpolation using two achromatic color representative values that are adjacent to each other on the achromatic color line and sandwich the first type color value. A calculation device comprising a calculation unit.
請求項1または2に記載の算出装置であって、
前記第1算出部は、前記高明度代表値に対応付けられた第2種表色値と、前記無彩色ライン上で前記高明度代表値の高明度側の隣の無彩色代表値に対応付けられた第2種表色値と、を用いる外挿によって、前記第2種表色値を算出する、算出装置。
The calculation device according to claim 1 or 2,
The first calculation unit associates the second type color specification value associated with the high brightness representative value with an achromatic color representative value adjacent to the high brightness side of the high brightness representative value on the achromatic color line. A calculation device that calculates the second type color value by extrapolation using the obtained second type color value.
請求項1から3のいずれかに記載の算出装置であって、
前記色対応情報によって前記第1種代表表色値に対応付けられた前記第2種代表表色値は、前記第1種代表表色値に対応付けられた目標色値に対応付けられた表色値である、算出装置。
The calculation device according to claim 1, wherein:
The second type representative color value associated with the first type representative color value by the color correspondence information is a table associated with a target color value associated with the first type representative color value. A calculation device that is a color value.
請求項1から4のいずれかに記載の算出装置であって、
無彩色ライン上に沿って並ぶ前記複数の無彩色代表値は、白を示す無彩色を含む高明度範囲と、黒を示す無彩色を含む低明度範囲と、前記高明度範囲と前記低明度範囲とで挟まれる中間範囲と、のいずれかに属し、
前記中間範囲に属する無彩色代表値の間の距離は、前記高明度範囲に属する無彩色代表値の間の距離と前記低明度範囲に属する無彩色代表値の間の距離とのいずれよりも大きい、算出装置。
The calculation device according to claim 1, wherein:
The plurality of achromatic color representative values arranged along the achromatic line are a high brightness range including an achromatic color indicating white, a low brightness range including an achromatic color indicating black, the high brightness range and the low brightness range. Belongs to any of the intermediate range between
The distance between the achromatic representative values belonging to the intermediate range is larger than any of the distance between the achromatic representative values belonging to the high brightness range and the distance between the achromatic representative values belonging to the low brightness range. , Calculation device.
第1の色空間における表色値である第1種の表色値に対応する、第2の色空間における表色値である第2種の表色値を、色対応情報を用いて算出するためのコンピュータプログラムであって、前記色対応情報は、前記第1の色空間における複数の第1種の代表表色値と、前記第2の色空間における複数の第2種の代表表色値と、を対応付ける情報である、前記コンピュータプログラムであって、
前記第2種表色値は、印刷に用いられる複数種類の色材であって無彩色の色材を含む前記複数種類の色材に対応する複数の色成分の値で表され、
前記複数の第1種の代表表色値は、前記第1の色空間における白色と黒色とを結ぶ無彩色ライン上の複数の無彩色代表値を含み、
前記複数の無彩色代表値は、前記無彩色ライン上で互いに隣り合う2個の無彩色代表値であって、前記2個の無彩色代表値のうちの高明度側の無彩色代表値である高明度代表値と、前記2個の無彩色代表値のうちの低明度側の無彩色代表値である低明度代表値と、を含み、
前記高明度代表値と前記低明度代表値とは、前記無彩色ライン上の基準表色値を間に挟み、
前記基準表色値は、前記無彩色の色材の色成分の値がゼロである第2種表色値に対応付けられた前記無彩色ライン上の第1種表色値のうちで最も黒色に近く、前記複数の無彩色代表値のいずれとも異なる表色値であり、
前記コンピュータプログラムは、
前記無彩色ライン上の前記基準表色値と前記高明度代表値との間の第1種表色値に対応する第2種表色値を、前記低明度代表値に対応付けられた第2種表色値を用いずに、前記高明度代表値に対応付けられた第2種表色値を用いて算出する第1算出機能と、
前記無彩色ライン上の前記基準表色値と前記低明度代表値との間の第1種表色値に対応する第2種表色値を、前記低明度代表値に対応付けられた第2種表色値を用いて算出する第2算出機能と、
をコンピュータに実現させる、コンピュータプログラム。
A second type of color value, which is a color value in the second color space, corresponding to a first type of color value, which is a color value in the first color space, is calculated using the color correspondence information. Computer-readable storage medium, wherein the color correspondence information includes a plurality of first type representative color values in the first color space and a plurality of second type representative color values in the second color space. And the computer program, which is information for associating,
The second type color value is represented by a plurality of color components corresponding to the plurality of types of color materials including an achromatic color material and a plurality of types of color materials used for printing,
The plurality of first-type representative color values include a plurality of achromatic representative values on an achromatic line connecting white and black in the first color space,
The plurality of achromatic representative values are two achromatic representative values that are adjacent to each other on the achromatic line, and are the achromatic representative values on the high lightness side of the two achromatic representative values. A high-brightness representative value, and a low-brightness representative value that is an achromatic representative value on the low-brightness side of the two achromatic color representative values ;
The high brightness representative value and the low brightness representative value sandwich a reference color value on the achromatic color line,
The reference color value is the blackest among the first type color values on the achromatic line associated with the second type color value in which the value of the color component of the achromatic color material is zero. And a color specification value different from any of the plurality of achromatic representative values,
The computer program comprises:
A second type color value corresponding to a first type color value between the reference color value on the achromatic color line and the high lightness representative value is a second color value corresponding to the low lightness representative value. A first calculation function for calculating using the second type color value associated with the high brightness representative value without using the type color value;
A second type color value corresponding to a first type color value between the reference color value on the achromatic color line and the low lightness representative value is a second type color value associated with the low lightness representative value. A second calculation function for calculating using the seed color value;
A computer program that causes a computer to realize
JP2016016461A 2016-01-29 2016-01-29 Calculation device and computer program Active JP6665559B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016016461A JP6665559B2 (en) 2016-01-29 2016-01-29 Calculation device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016016461A JP6665559B2 (en) 2016-01-29 2016-01-29 Calculation device and computer program

Publications (2)

Publication Number Publication Date
JP2017135682A JP2017135682A (en) 2017-08-03
JP6665559B2 true JP6665559B2 (en) 2020-03-13

Family

ID=59503921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016016461A Active JP6665559B2 (en) 2016-01-29 2016-01-29 Calculation device and computer program

Country Status (1)

Country Link
JP (1) JP6665559B2 (en)

Also Published As

Publication number Publication date
JP2017135682A (en) 2017-08-03

Similar Documents

Publication Publication Date Title
JP4656002B2 (en) Image processing apparatus and image processing method
JP6840604B2 (en) Color conversion table creation device, color conversion table creation method, color conversion processing device, color conversion processing method and program
US8045222B2 (en) Image processing method, image processing apparatus, computer program product, and recording medium for image processing
US20050280848A1 (en) Color conversion method, color conversion device, printing control device, and program recording medium
US11178310B2 (en) Data generating apparatus generating control data for common use in printing processes performed on a plurality of print execution units
JP5257615B2 (en) Color conversion table generation apparatus, color conversion table generation method, and image processing apparatus
JP5854034B2 (en) Color processing apparatus, image forming apparatus, and program
US9396419B2 (en) Data-processing apparatus generating color conversion data
JP2010166506A (en) Image output device, image output method, image output program and recording medium
US10091398B2 (en) Image processing apparatus capable of setting characteristic information for converting target image data
US11588956B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP2012253774A (en) Color printing method and color printing system
JP4518408B2 (en) Image processing apparatus, method, and program
JP2015156570A (en) Color processing apparatus, image forming apparatus, and program
JP2011120025A (en) Color processor and method therefor
JP6665559B2 (en) Calculation device and computer program
JP5595341B2 (en) Image processing apparatus, image processing method, and recording apparatus
JP7041837B2 (en) Image processing equipment and computer programs
JP2017135683A (en) Generation device, and computer program
JP7193779B2 (en) Computer program and method
JP6882720B2 (en) Image processing equipment and computer programs
JP2017184041A (en) Generation method of color correspondence information and generation method of print data
JP2021197717A (en) Image processing device and computer program
JP6221484B2 (en) Processing device and computer program
JP2009004917A (en) Color processing device and its method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200203

R150 Certificate of patent or registration of utility model

Ref document number: 6665559

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150