JP4875503B2 - Color conversion definition creation device and color conversion definition creation program - Google Patents
Color conversion definition creation device and color conversion definition creation program Download PDFInfo
- Publication number
- JP4875503B2 JP4875503B2 JP2007010217A JP2007010217A JP4875503B2 JP 4875503 B2 JP4875503 B2 JP 4875503B2 JP 2007010217 A JP2007010217 A JP 2007010217A JP 2007010217 A JP2007010217 A JP 2007010217A JP 4875503 B2 JP4875503 B2 JP 4875503B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- coordinates
- correspondence
- color space
- colors
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、N次元の第1色空間の座標と所定の第2色空間の座標との対応関係を定義したN色変換定義を作成させる色変換定義作成装置、および色変換定義作成プログラムに関する。 The present invention relates to a color conversion definition creating apparatus and a color conversion definition creating program for creating an N color conversion definition that defines a correspondence relationship between coordinates in an N-dimensional first color space and coordinates in a predetermined second color space.
近年、情報技術の発展とともに、画像情報を電子データ化して画像データとして扱うことが多くなり、画像データに基づいて画像を出力する、ディスプレイ、プロジェクタ、プリンタといった画像出力装置が広く普及している。特にカラーの画像においては、カラーの画像を表す画像データをコンピュータ上で加工・編集する技術が進んでおり、加工・編集した画像をカラープリンタに出力するといったことが盛んに行われるようになってきている。 In recent years, with the development of information technology, image information is often converted into electronic data and handled as image data, and image output devices such as displays, projectors, and printers that output images based on the image data have become widespread. In particular, in the case of color images, technology for processing and editing image data representing color images on computers has advanced, and output of processed and edited images to color printers has become increasingly popular. ing.
画像出力装置においては、同一の画像データに基づいて出力された画像であっても、その画像の色は画像出力装置の種類により異なることがある。例えば、カラープリンタでは、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の4色を表現する画像データに基づいてカラー画像の出力が行われることが多いが、同一のCMYKの画像データに基づいて2台のカラープリンタでそれぞれカラー画像を出力した場合であっても、得られたカラー画像は、互いに色合いが異なっているといったことが起こり得る。CMYの表色方式、あるいはCMYにK(ブラック)を加えたCMYKの表色方式のようにデバイスに依存する表色方式としては、他にも、R(レッド)、G(グリーン)、B(ブルー)の3色による表色方式が良く知られており、ディスプレイ表示用の画像データとしてよく用いられる。 In the image output device, even if the images are output based on the same image data, the color of the image may differ depending on the type of the image output device. For example, a color printer often outputs a color image based on image data representing four colors of C (cyan), M (magenta), Y (yellow), and K (black). Even when two color printers output color images based on CMYK image data, the obtained color images may have different hues. Other color-dependent methods depending on the device, such as the CMY color system or the CMYK color system in which K (black) is added to CMY, include R (red), G (green), and B ( A color system using three colors (blue) is well known, and is often used as image data for display.
多くの画像出力装置では、出力目標となる色と、実際に出力される色とが一致するように、各画像出力装置ごとに、CMYKやRGBのようなデバイス依存の表色空間で表された色の座標と、L*a*b*、XYZのようなデバイス非依存の表色空間で表された色の座標との対応関係を表したプロファイル(色変換定義)が用意されている。このプロファイルを用いることで、出力目標となる色をデバイス非依存の表色空間の座標値として表したときに、その座標値に対応するデバイス依存の表色空間での座標値を求めることが可能となる。そして、その求められた座標値を出力設定値とすることで、出力目標となる色と実際に出力される色とを一致させることができる。ここで、多くの場合、プロファイルは、デバイス依存の表色空間の離散的な座標点(例えば、空間上で等間隔に並んだ格子点)と、それらの座標点に対応する、デバイス非依存の表色空間で表された色の座標点とが1対1に並んだ色変換テーブルの形式となっている。 In many image output devices, each image output device is represented in a device-dependent color space such as CMYK or RGB so that the output target color matches the color that is actually output. A profile (color conversion definition) representing the correspondence between color coordinates and color coordinates represented in a device-independent color space such as L * a * b * and XYZ is prepared. By using this profile, when the output target color is expressed as the coordinate value of the device-independent color space, the coordinate value in the device-dependent color space corresponding to the coordinate value can be obtained. It becomes. Then, by using the obtained coordinate value as an output set value, it is possible to make the output target color coincide with the actually output color. Here, in many cases, the profile is a discrete coordinate point of the device-dependent color space (for example, lattice points arranged at equal intervals in the space) and device-independent corresponding to these coordinate points. The color conversion table format is one-to-one with the coordinate points of the colors represented in the color space.
プロファイルの作成方法としては、例えばCMYKを用いるカラープリンタの場合、まず、CMYKの色空間の座標成分である網点面積率(網%)を変えながらCMYKの色空間のいくつかの座標点について出力を行い、測色器による測色でそれぞれの座標点に対応するデバイス非依存値(例えば、XYZ値)を求めて、その次に、プロファイルを構成する上記の離散的な座標点のうち、出力が行われた座標点を除いた残りの座標点について、それら残りの座標点に対応するデバイス非依存値を補間計算により算出するといった2段階のステップを踏む作成方法が採用され得る。最近では、プロファイルを作成する際の補間計算として、差分形式のラプラス方程式(連続極限をとると連続空間におけるラプラス方程式に帰着するような、離散的な空間上で定義された連立方程式)の形の補間式を採用して、既知のデバイス非依存値を境界条件としてその差分形式のラプラス方程式を解くことで未知のデバイス非依存値を求める方式が提案されている(例えば、特許文献1参照)。
多くのカラープリンタでは、CMYKの4色のトナーが備えられており、これらの各色を組み合わせることで様々な色が表現される。最近では、これら4色に加えてさらにOr(オレンジ)色やG(グリーン)色のトナーを有する、色の表現能力の高いカラープリンタも登場している。このような5色以上のカラープリンタにおいても、上述したような、測色器による測色と補間計算とによってプロファイルを作成することは原理的には可能である。色の種類が5色の場合には、必要となる測色の手間はたいしたことはないが、6色、7色…と色の種類が増えていくと、測定すべき色の組み合わせが増大して測色の手間が増し、プロファイルの作成に要する労力は無視できないものとなる。 Many color printers are provided with four colors of CMYK toners, and various colors are expressed by combining these colors. In recent years, color printers having high color expression ability that have toners of Or (orange) and G (green) in addition to these four colors have appeared. Even in such a color printer having five or more colors, it is possible in principle to create a profile by color measurement by the colorimeter and interpolation calculation as described above. If the number of color types is 5, there is not much trouble with the required colorimetry, but as the number of color types increases as 6 colors, 7 colors, etc., the combination of colors to be measured increases. Therefore, the labor for color measurement increases, and the labor required for creating a profile cannot be ignored.
本発明は、上記事情に鑑み、色変換定義の作成にかかる労力の低減に適した色変換定義作成装置、および色変換定義作成プログラムを提供することを目的とする。 In view of the above circumstances, an object of the present invention is to provide a color conversion definition creating apparatus and a color conversion definition creating program that are suitable for reducing labor required for creating a color conversion definition.
上記目的を達成するための本発明の色変換定義作成装置は、
互いに異なるN色を色成分として各所定の上限内で用いて得られる色を座標として表す、それらN色それぞれに対応した座標軸を有する第1色空間について、該第1色空間の座標と所定の第2色空間の座標との対応関係を定義したN色変換定義を作成する色変換定義作成装置であって、
上記N色のうちの一部のM色(M<N)を色成分として上記上限内で用いて得られる色を座標として表す、それらM色それぞれに対応した座標軸を有する第3色空間の座標と上記第2色空間の座標との対応関係を定義したM色変換定義を、該M色の組み合わせが互いに異なるとともに上記N色の各色がいずれかの組み合わせに含まれている複数のM色の組み合わせそれぞれに対応した複数の第3色空間それぞれについて取得する取得部と、
上記取得部で取得された各M色変換定義が定義した上記第3色空間の座標と上記第2色空間の座標との対応関係を用いて、上記N色変換定義が定義する第1色空間の座標と第2色空間の座標との対応関係のうち、該第3色空間に対応したM色に含まれない色の色成分がゼロである第1色空間の座標における対応関係を決定する対応決定部と、
上記第1色空間の頂点のうち上記対応決定部では対応関係が未決定の頂点における対応関係を、該対応決定部で対応関係が決定された頂点における対応関係に基づいて推定する推定部と、
上記対応決定部によって決定された対応関係と、上記推定部によって推定された対応関係とに基づき、上記第1色空間の座標のうち対応関係が未定の座標における対応関係を補間計算により求める補間計算部とを備えたことを特徴とする。
In order to achieve the above object, the color conversion definition creating apparatus of the present invention provides:
For a first color space having coordinates that correspond to the colors obtained by using different N colors as color components within a predetermined upper limit as coordinates, the coordinates of the first color space and the predetermined color A color conversion definition creation device for creating an N color conversion definition that defines a correspondence relationship with coordinates in a second color space,
The coordinates of the third color space having the coordinate axes corresponding to each of the M colors, representing the coordinates obtained by using a part of the M colors (M <N) within the above upper limit as color components. The M color conversion definition that defines the correspondence between the coordinates of the second color space and the coordinates of the second color space is a combination of a plurality of M colors in which the combination of the M colors is different from each other and each of the N colors is included in any combination. An acquisition unit configured to acquire each of a plurality of third color spaces corresponding to each combination;
The first color space defined by the N color conversion definition using the correspondence relationship between the coordinates of the third color space defined by each M color conversion definition acquired by the acquisition unit and the coordinates of the second color space. Among the coordinates of the coordinates of the second color space and the coordinates of the first color space where the color component of the color not included in the M color corresponding to the third color space is zero. A response determination unit;
An estimation unit that estimates a correspondence in a vertex whose correspondence is not yet determined in the correspondence determination unit among the vertices of the first color space based on a correspondence in a vertex whose correspondence is determined in the correspondence determination unit;
Interpolation calculation for obtaining a correspondence relationship in a coordinate whose relationship is undetermined among coordinates in the first color space based on the correspondence relationship determined by the correspondence determination unit and the correspondence relationship estimated by the estimation unit. And a section.
本発明の色変換定義作成装置は、対応関係が未決定の頂点における対応関係の推定を行うだけで、残りの、対応関係が未定の座標における対応関係が、補間計算によって計算される。このため、本発明の色変換定義作成装置では、測色の手間が少ない低次元のプロファイルを合成して高次元のプロファイルを得ることができ、色変換定義の作成にかかる労力の低減に適している。 The color conversion definition creating apparatus of the present invention simply estimates the correspondence relationship at the vertex for which the correspondence relationship is undetermined, and calculates the correspondence relationship at the remaining coordinates whose correspondence relationship is undetermined by interpolation calculation. For this reason, the color conversion definition creating apparatus of the present invention can obtain a high-dimensional profile by synthesizing low-dimensional profiles with less labor for colorimetry, and is suitable for reducing labor required for creating color conversion definitions. Yes.
本発明では、既知の様々な補間計算方法に対応した様々な形態が考えられるが、本発明の色変換定義作成装置において、「上記補間計算部は、上記第1色空間の稜線のうち対応関係が未定の座標を有する稜線について、各稜線上の座標における対応関係を、各稜線の端点における対応関係を境界条件として1次元のラプラス方程式を解くことによって求め、上記第1色空間の稜線によって周囲が取り囲まれてなる2次元面のうち、対応関係が未定の座標を有する2次元面について、各2次元面上の座標における対応関係を、各2次元面を取り囲む稜線上の座標における対応関係を境界条件として2次元のラプラス方程式を解くことによって求め、ラプラス方程式を解くことによって求められた対応関係を新たな境界条件としてさらに次元が1つあがったラプラス方程式を解くという処理を、順次次元を上げながら繰り返して最終的にN次元のラプラス方程式を解くことによって、上記N色変換定義を完成させるものである」という形態は好ましい形態である。 In the present invention, various forms corresponding to various known interpolation calculation methods can be considered. In the color conversion definition creating apparatus of the present invention, “the interpolation calculation unit corresponds to the correspondence relationship among the ridge lines of the first color space. Is obtained by solving a one-dimensional Laplace equation using the correspondence at the end points of each ridge line as a boundary condition for the ridge line having undecided coordinates, and surrounding by the ridge line in the first color space. Among the two-dimensional surfaces surrounded by the two-dimensional surface having the coordinates whose correspondence is undetermined, the correspondence relationship in the coordinates on each two-dimensional surface is the correspondence relationship in the coordinates on the edge surrounding each two-dimensional surface. As a boundary condition, it is obtained by solving a two-dimensional Laplace equation, and the correspondence obtained by solving the Laplace equation is further set as a new boundary condition. The process of solving up the Laplace equation, by solving the final N-dimensional Laplace equation is repeated while increasing successively dimensions, form of the is "intended to complete the N color conversion definition are a preferred form.
このような形態によれば、N色変換定義を作成するという問題が、いわゆるラプラス方程式の境界値問題に帰着することとなり、この境界値問題を解くことで一意的にN色変換定義が求められる。 According to such a form, the problem of creating an N color conversion definition results in a boundary value problem of a so-called Laplace equation, and an N color conversion definition is uniquely obtained by solving this boundary value problem. .
また、本発明の色変換定義作成装置において、「上記第2色空間が、デバイス非依存な色空間である」という形態は好ましい形態である。 In the color conversion definition creating apparatus of the present invention, the form “the second color space is a device-independent color space” is a preferred form.
このような形態によれば、ユーザが複数種類のデバイスを組み合わせて使用するときには、それぞれのデバイスについての色変換定義を組み合わせることが可能となる。 According to such a form, when the user uses a plurality of types of devices in combination, it is possible to combine the color conversion definitions for the respective devices.
上記目的を達成するための本発明の色変換定義作成プログラムは、
コンピュータシステムに組み込まれ、そのコンピュータシステムに、
互いに異なるN色を色成分として各所定の上限内で用いて得られる色を座標として表す、それらN色それぞれに対応した座標軸を有する第1色空間について、該第1色空間の座標と所定の第2色空間の座標との対応関係を定義したN色変換定義を作成させる色変換定義作成プログラムであって、
そのコンピュータシステム上に、
上記N色のうちの一部のM色(M<N)を色成分として上記上限内で用いて得られる色を座標として表す、それらM色それぞれに対応した座標軸を有する第3色空間の座標と上記第2色空間の座標との対応関係を定義したM色変換定義を、該M色の組み合わせが互いに異なるとともに上記N色の各色がいずれかの組み合わせに含まれている複数のM色の組み合わせそれぞれに対応した複数の第3色空間それぞれについて取得する取得部と、
上記取得部で取得された各M色変換定義が定義した上記第3色空間の座標と上記第2色空間の座標との対応関係を用いて、上記N色変換定義が定義する第1色空間の座標と第2色空間の座標との対応関係のうち、該第3色空間に対応したM色に含まれない色の色成分がゼロである第1色空間の座標における対応関係を決定する対応決定部と、
上記第1色空間の頂点のうち上記対応決定部では対応関係が未決定の頂点における対応関係を、該対応決定部で対応関係が決定された頂点における対応関係に基づいて推定する推定部と、
上記対応決定部によって決定された対応関係と、上記推定部によって推定された対応関係とに基づき、上記第1色空間の座標のうち対応関係が未定の座標における対応関係を補間計算により求める補間計算部とを構築することを特徴とする。
In order to achieve the above object, the color conversion definition creating program of the present invention provides:
Built into a computer system,
For a first color space having coordinates that correspond to the colors obtained by using different N colors as color components within a predetermined upper limit as coordinates, the coordinates of the first color space and the predetermined color A color conversion definition creating program for creating an N color conversion definition defining a correspondence relationship with coordinates in a second color space,
On that computer system,
The coordinates of the third color space having the coordinate axes corresponding to each of the M colors, representing the coordinates obtained by using a part of the M colors (M <N) within the above upper limit as color components. The M color conversion definition that defines the correspondence between the coordinates of the second color space and the coordinates of the second color space is a combination of a plurality of M colors in which the combination of the M colors is different from each other and each of the N colors is included in any combination. An acquisition unit configured to acquire each of a plurality of third color spaces corresponding to each combination;
The first color space defined by the N color conversion definition using the correspondence relationship between the coordinates of the third color space defined by each M color conversion definition acquired by the acquisition unit and the coordinates of the second color space. Among the coordinates of the coordinates of the second color space and the coordinates of the first color space where the color component of the color not included in the M color corresponding to the third color space is zero. A response determination unit;
An estimation unit that estimates a correspondence in a vertex whose correspondence is not yet determined in the correspondence determination unit among the vertices of the first color space based on a correspondence in a vertex whose correspondence is determined in the correspondence determination unit;
Interpolation calculation for obtaining a correspondence relationship in a coordinate whose relationship is undetermined among coordinates in the first color space based on the correspondence relationship determined by the correspondence determination unit and the correspondence relationship estimated by the estimation unit. It is characterized by building a part.
この本発明の色変換定義作成プログラムをコンピュータシステム内で実行することによって、本発明の色変換定義作成装置を容易に実現することができる。 By executing the color conversion definition creating program of the present invention in a computer system, the color conversion definition creating apparatus of the present invention can be easily realized.
なお、本発明にいう色変換定義作成プログラムについては、ここではその基本形態のみを示すにとどめるが、これは単に重複を避けるためであり、本発明にいう色変換定義作成プログラムには、上記の基本形態のみでなく、前述した色変換定義作成装置の各形態に対応する各種の形態が含まれる。 It should be noted that the color conversion definition creation program referred to in the present invention is only shown in its basic form here, but this is merely for avoiding duplication, and the color conversion definition creation program referred to in the present invention includes the above-described color conversion definition creation program. In addition to the basic form, various forms corresponding to each form of the color conversion definition creating apparatus described above are included.
さらに、本発明の色変換定義作成プログラムがコンピュータシステム上に構築する推定部などといった要素は、1つの要素が1つのプログラム部品によって構築されるものであってもよく、1つの要素が複数のプログラム部品によって構築されるものであってもよく、複数の要素が1つのプログラム部品によって構築されるものであってもよい。また、これらの要素は、そのような作用を自分自身で実行するものとして構築されていてもよく、あるいは、コンピュータシステムに組み込まれている他のプログラムやプログラム部品に指示を与えて実行するものとして構築されていてもよい。 Furthermore, the elements such as the estimation unit that the color conversion definition creation program of the present invention constructs on the computer system may be constructed such that one element is constructed by one program part, and one element is a plurality of programs. It may be constructed by parts, or a plurality of elements may be constructed by one program part. In addition, these elements may be constructed so as to execute such an action by themselves, or may be executed by giving instructions to other programs and program components incorporated in the computer system. It may be constructed.
本発明によれば、色変換定義の作成にかかる労力が低減される。 According to the present invention, the labor required for creating a color conversion definition is reduced.
以下図面を参照して本発明の実施の形態を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の一実施形態が適用される画像出力システムの全体構成図である。 FIG. 1 is an overall configuration diagram of an image output system to which an embodiment of the present invention is applied.
この画像出力システムは、パーソナルコンピュータ20およびカラープリンタ30を有しており、パーソナルコンピュータ20の制御によってカラープリンタ30から画像31を出力するシステムである。パーソナルコンピュータ20には、画像がカラースキャナ(図示せず)で読み取られることで生成された画像データが入力される。ここで、入力されてくる画像データは、デバイス依存のC(シアン)、M(マゼンタ)、Y(イエロー)の3色成分で表された画像データである。パーソナルコンピュータ20には、カラースキャナで画像が読み取られて生成されたCMYの画像データと、その画像を、分光測色計40で測色したときに得られる、デバイス非依存なXYZの3刺激値で表された画像データとの対応関係を定義した、カラースキャナの入力特性(入力プロファイル)があらかじめ記憶されており、パーソナルコンピュータ20は、この入力プロファイルに基づき、入力されてきたCMYの画像データから、その画像データで表される画像をXYZの3刺激値で表したときの画像データに変換する。パーソナルコンピュータ20は、カラープリンタ30に画像を出力させる際には、出力される画像の色が、カラースキャナで読み取られた画像の色と一致するように、上記のXYZの3刺激値で表された画像データを、上記の入力プロファイルと、後述する方式で作成された、カラープリンタ30の出力特性(出力プロファイル)とに基づいて変換し、その変換した画像データをカラープリンタ30に送る。カラープリンタ30には、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)、Or(オレンジ)、G(グリーン)の各色のトナーが備えられている。パーソナルコンピュータ20からカラープリンタ30に送られてくる、上述の画像データは、このカラープリンタ30が上記の6色をそれぞれどのくらい出力すべきかを網点面積率(以下、網%と呼ぶ)で指定したデータであり、カラープリンタ30は、送られてきた画像データに基づいて画像31を出力する。
This image output system has a
パーソナルコンピュータ20は、画像31の出力に先立ち、カラープリンタ30の出力プロファイルを作成する。この出力プロファイルの作成は、以下の2段階の作成過程を経て行われる。
Prior to outputting the
出力プロファイル作成の第1段階では、G成分が使用されないときの、CMYKOrの5色とXYZの3刺激値との関係を定義した出力プロファイルの作成と、Or成分が使用されないときの、CMYKGの5色とXYZの3刺激値との関係を定義した出力プロファイルの作成とが行われる。これらの出力プロファイルの作成の際には、パーソナルコンピュータ20は、複数のパッチが配列されたチャート32を表した、CMYKOrおよびCMYKGそれぞれの5色についてのチャートデータをカラープリンタ30に出力する。カラープリンタ30は、それらのチャートデータに従ってチャート32を出力し、そのチャート32を構成するパッチの色が分光測色計40によって測定されて、複数のパッチそれぞれを表すXYZの3刺激値が得られる。CMYKOrおよびCMYKGそれぞれの5色についての、チャートデータと分光測色計40によって得られたXYZの測定データとから上述の2つの出力プロファイルが得られる。
In the first stage of the output profile creation, an output profile defining the relationship between the CMYKOr five colors and the XYZ tristimulus values when the G component is not used, and the CMYKG 5 when the Or component is not used. An output profile defining the relationship between colors and XYZ tristimulus values is created. When creating these output profiles, the
出力プロファイル作成の第2段階では、これら2つの出力プロファイルが合成されてCMYKOrGの6色とXYZの3刺激値との関係を定義した合成プロファイルが作成される。 In the second stage of creating the output profile, these two output profiles are synthesized to create a synthesized profile that defines the relationship between the six colors CMYKOrG and the tristimulus values XYZ.
この画像処理システムにおける、本発明の一実施形態としての特徴は、このパーソナルコンピュータ20で実行される合成プロファイルの作成にあり、このパーソナルコンピュータ20が、本発明の色変換定義作成装置の一実施形態として動作する。以下では、このパーソナルコンピュータ20について詳しく説明する。
A feature of the image processing system as an embodiment of the present invention lies in the creation of a composite profile executed by the
図2は、図1に示す分光測色計40およびパーソナルコンピュータ20の外観斜視図であり、図3は、そのパーソナルコンピュータ20のハードウェア構成図である。
2 is an external perspective view of the
チャート32の測色の際には、図2に示すように分光測色計40の上にチャート32が乗せられ、チャート32上に配列された複数のパッチそれぞれについて、分光測色計40による測定が行われる。測定により得られた各パッチの測定値は、ケーブル41を経由してパーソナルコンピュータ20に入力される。
When the color of the
このパーソナルコンピュータ20は、外観構成上、本体装置21、その本体装置21からの指示に応じて表示画面22a上に画像を表示する画像表示装置22、本体装置21に、キー操作に応じた各種の情報を入力するキーボード23、および、表示画面22a上の任意の位置を指定することにより、その位置に表示された、例えばアイコン等に応じた指示を入力するマウス24を備えている。この本体装置21は、外観上、フレキシブルディスク(FD)を装填するためのFD装填口21a、およびCD−ROMを装填するためのCD−ROM装填口21bを有する。
The
本体装置21の内部には、図3に示すように、各種プログラムを実行するCPU211、ハードディスク装置213に格納されたプログラムが読み出されCPU211での実行のために展開される主メモリ212、各種プログラムやデータ等が保存されたハードディスク装置213、フレキシブルディスク50が装填されその装填されたフレキシブルディスク50をアクセスするFDドライブ214、CD−ROM51が装填され、その装填されたCD−ROM51をアクセスするCD−ROMドライブ215、分光測色計40(図1、図2参照)から測色データを受け取り、カラープリンタ30(図1参照)に画像データを送る入出力インタフェース216が内蔵されており、これらの各種要素と、さらに、図3にも示す画像表示装置22、キーボード23、マウス24は、バス25を介して相互に接続されている。
As shown in FIG. 3, the
次に本発明の色変換定義作成プログラムの一実施形態について説明する。 Next, an embodiment of the color conversion definition creating program of the present invention will be described.
本発明の色変換定義作成プログラムの一実施形態が、例えばCD−ROM51に記憶されている場合には、このCD−ROM51がCD−ROM装填口21bから本体装置21内に装填されると、そのCD−ROM51に記憶された色変換定義作成プログラムがCD−ROMドライブ215によりこのパーソナルコンピュータ20のハードディスク装置213内にインストールされる。そして、このハードディスク装置213内にインストールされた色変換定義作成プログラムが起動されると、このパーソナルコンピュータ20は、本発明の色変換定義作成装置の一実施形態として動作する。
When an embodiment of the color conversion definition creating program of the present invention is stored in, for example, the CD-
図4は、本発明の色変換定義作成プログラムの一実施形態を示す図である。 FIG. 4 is a diagram showing an embodiment of the color conversion definition creating program of the present invention.
ここでは、この色変換定義作成プログラム60は、CD−ROM51に記憶されている。なお、本発明にいう色変換定義作成プログラム60が記憶される記憶媒体としては、図4に示すCD−ROM51のみならず、図3に示すハードディスク装置213やFD2140、図3および図4には不図示のDVDやMO等といった種々の記憶媒体が採用されうる。
Here, the color conversion
この色変換定義作成プログラム60は、図2および図3に示すパーソナルコンピュータ20内で実行され、上述したように、そのパーソナルコンピュータ20を本発明の一実施形態として動作させるものであり、取得部61、設定部62、推定部63、および算出部64を有している。
The color conversion
この色変換定義作成プログラム60の各要素の詳細な内容については後述する。
Detailed contents of each element of the color conversion
図5は、図2および図3に示すパーソナルコンピュータを本発明の色変換定義作成装置の一実施形態として動作させるためにこのパーソナルコンピュータ上に構築される要素と、それらの要素による作用の概略を表す図である。 FIG. 5 shows an outline of elements constructed on the personal computer for operating the personal computer shown in FIGS. 2 and 3 as an embodiment of the color conversion definition creating apparatus of the present invention, and an action by these elements. FIG.
図4に示す色変換定義作成プログラム60が図2および図3に示すパーソナルコンピュータ20にインストールされると、図5に示す取得部71、設定部72、推定部73、および算出部74の各要素がパーソナルコンピュータ20上に構築される。これらの要素によって、パーソナルコンピュータ20が本発明の色変換定義作成装置の一実施形態として動作する。取得部71、設定部72、推定部73、および算出部74は、図4に示す色変換定義作成プログラム60における、取得部61、設定部62、推定部63、および算出部64それぞれによってパーソナルコンピュータ20上に構築されるものである。従って図4の各要素は図5の各要素に対応するが、この図5の各要素は、図2および図3に示すパーソナルコンピュータ20のハードウェアとそのパーソナルコンピュータ20で実行されるOSやアプリケーションプログラムとの組合せで構成されているのに対し、図4に示す色変換定義作成プログラム60の各要素はそれらのうちのアプリケーションプログラムのみにより構成されている点が異なる。ここで、取得部71が、本発明にいう取得部の一例に相当し、設定部72が、本発明にいう対応決定部の一例に相当する。また、推定部73が、本発明にいう推定部の一例に相当し、算出部74が、本発明にいう補間計算部の一例に相当する。以下では、図5に示す各要素と、各要素による作用の概略について説明する。
When the color conversion
取得部71は、G成分が使用されないときの、CMYKOrの5色とXYZの3刺激値との関係を定義したプロファイル、およびOr成分が使用されないときの、CMYKGの5色とXYZの3刺激値との関係を定義したプロファイルを取得する。これらのプロファイルは、それぞれの5色の色空間を格子で区切ったときの各格子点と、それら各格子点に対応するXYZの3刺激値(すなわち、格子点の座標を与える、5つの網%の数値の組に対応するXYZの3刺激値)とを1対1に対応させて並べた表(テーブル)の形式となっている。以下では、このような形式のテーブルを色変換テーブルと呼ぶ。このような格子点は、例えば、各色について等間隔(例えば10%刻み)で並んだ点であってもよいが、以下では、格子間隔は各色ごとに異なるものとし、さらに同じ色であっても格子間隔の位置に応じて格子間隔は異なっているものとして話を進める。このように網%値の大きさに応じて格子間隔が異なるような格子の取り方をするのは、下記の理由による。
The
画像がカラープリンタ30で出力される際にはドットゲイン等の影響により、格子点の位置に応じて、対応するXYZの3刺激値が非線形に変化することがある。そこで、図2および図3に示すコンピュータ20は、こうした非線形性が高い領域では格子間隔が狭くなるような格子点の取り方を採用しており、こうすることで、精度の高い色変換テーブルを作成することができる。
When an image is output by the
なお、上記の2つの出力プロファイルの色変換テーブルでは、後述する差分解法において境界条件として使用するために、それぞれの色変換テーブルにおいて、各色の網%値が、0%あるいは100%となっている点は格子点として採用されているものとする。例えば、G成分が使用されないときの、CMYKOrの5色とXYZの3刺激値との関係を定義した出力プロファイルの色変換テーブルでは、CMYKOrの5色の網%値がそれぞれ、100%、100%、100%、0%、100%となっている点や、100%、0%、0%、100%、100%となっている点等は、いずれも格子点として採用されている。このように各色の網%値が、0%あるいは100%となっている点は、5色それぞれについて0%あるいは100%の2種類の網%値が選択できるので、全部で25=32個存在する。 In the color conversion tables of the two output profiles described above, the halftone value of each color is 0% or 100% in each color conversion table because it is used as a boundary condition in the differential decomposition method described later. The points are assumed to be adopted as grid points. For example, in the color conversion table of the output profile that defines the relationship between the five CMYKOr colors and the XYZ tristimulus values when the G component is not used, the halftone values of the five CMYKOr colors are 100% and 100%, respectively. 100%, 0%, 100%, 100%, 0%, 0%, 100%, 100%, etc. are all adopted as grid points. In this way, the halftone value of each color is 0% or 100%. Since two kinds of halftone values of 0% or 100% can be selected for each of the five colors, 2 5 = 32 in total. Exists.
また、上記の2つの出力プロファイルの色変換テーブルでは、CMYKの4色は共通しており、ここでは簡単のため、これら2つの色変換テーブルの間では、CMYKの色空間の格子点の取り方(格子の並び方)は共通しているものとして話を進める。しかし、後述するように、格子点の取り方が共通していない場合でも合成プロファイルの色変換テーブルの作成は可能である。 In the color conversion tables of the above two output profiles, the four colors of CMYK are common. For simplicity, the method of taking grid points in the color space of CMYK between these two color conversion tables is here. The discussion will proceed as if the (lattice arrangement) is common. However, as will be described later, it is possible to create a color conversion table of a composite profile even when the method of taking grid points is not common.
一方、合成プロファイルは、CMYKOrG6色の色空間を格子で区切ったときの各格子点と、それら各格子点に対応するXYZの3刺激値とを1対1に対応させて並べた表(テーブル)の形式となっている。従って、合成プロファイルの作成作業とは、具体的には、上記の2つの色変換テーブルに基づいて、CMYKOrGの6色の網%色空間内の各格子点に対応するXYZの3刺激値を表した色変換テーブルを作成することを意味する。このとき、上記の2つの色変換テーブルは、6色の網%色空間内の、OrあるいはGの成分が0%となった5次元部分空間に存在する各格子点に対応した3刺激値を表している。合成プロファイルの色変換テーブルの作成に際し、設定部72は、6色の網%色空間の格子点のうちで、上記の2つの色変換テーブルによって、すでに対応するXYZの3刺激値が求められている格子点については、下記のように処理する。
On the other hand, the composite profile is a table (table) in which each grid point when the CMYKOrG6 color space is partitioned by a grid and the XYZ tristimulus values corresponding to each grid point are arranged in a one-to-one correspondence. It has the form of Therefore, the composite profile creation operation specifically represents the XYZ tristimulus values corresponding to the respective grid points in the 6% halftone color space of CMYKOOrG based on the above two color conversion tables. Means to create a color conversion table. At this time, the above two color conversion tables indicate the tristimulus values corresponding to the respective lattice points in the five-dimensional subspace in which the Or or G component is 0% in the 6% halftone color space. Represents. In creating the color conversion table of the composite profile, the setting
対応するXYZの3刺激値がすでに決定されている格子点が、2つの色変換テーブルで重複して存在している場合には、そのXYZの3刺激値の平均値を、合成プロファイルの色変換テーブル内の対応箇所に設定する。XYZの3刺激値が決定されている格子点が、一方の色変換テーブルにのみ存在する場合には、そのXYZの3刺激値を合成プロファイルの色変換テーブル内の対応箇所に設定する。 When the grid points for which the corresponding XYZ tristimulus values have already been determined are duplicated in the two color conversion tables, the average value of the XYZ tristimulus values is converted into the color conversion of the composite profile. Set to the corresponding location in the table. When the grid point for which the XYZ tristimulus values are determined exists only in one color conversion table, the XYZ tristimulus values are set in corresponding positions in the color conversion table of the composite profile.
推定部73は、6色の網%色空間の格子点のうち、CMYKの4色については網%が0%あるいは100%であって、Or成分およびG成分の網%値がいずれも100%となっている格子点について、対応するXYZの3刺激値を推定する。算出部74は、推定部73の推定結果に基づき、補間計算を行って合成プロファイルの色変換テーブルを完成する。
The
以下では、2つの5色の色変換テーブルの合成について詳細に説明する。 Hereinafter, the synthesis of two five-color color conversion tables will be described in detail.
図6は、パーソナルコンピュータ20による、色変換テーブルの合成の際の動作を表すフローチャート図である。
FIG. 6 is a flowchart showing the operation when the color conversion table is synthesized by the
まず最初に、図5に示す取得部71により、合成処理の対象として、上記の2つの色変換テーブル、すなわち、G成分が使用されないときの、CMYKOrの5色の網%とXYZの3刺激値との関係を定義した色変換テーブル、およびOr成分が使用されないときの、CMYKGの5色の網%とXYZの3刺激値との関係を定義した色変換テーブルが取得される(ステップS11)。ここで、G成分が使用されないときの、CMYKOrの5色の網%とXYZの3刺激値との関係は、CMYKOrGの6色の網%値の空間においては、G成分の網%が0%のときの、残りのCMYKOrの5色の網%とXYZの3刺激値との関係に相当する。同様に、Or成分が使用されないときの、CMYKGの5色の網%とXYZの3刺激値との関係は、CMYKOrGの6色の網%値の空間においては、Or成分の網%が0%のときの、CMYKGの5色の網%とXYZの3刺激値との関係に相当する。このとき、CMYKOrGの6色の網%値の空間においてG成分およびOr成分のいずれの網%も0%となっている格子点については、2つの色変換テーブルにおいて共通して存在していることとなるが、図5に示す設定部72は、色変換テーブルの合成にあたり、2つの色変換テーブルにおいて共通する格子点については、それぞれの格子点に対応するXYZ値を、2つの色変換テーブルからそれぞれ読み取って、その平均値を、合成プロファイルの色変換テーブル内の対応箇所に書き込む(ステップS12)。
First, by the
なお、2つの5色の色変換テーブルにおいて、CMYKの色空間の格子点の取り方が共通していない場合には、設定部72は、上記の5色の色変換テーブルに基いて補間計算を行い、6色の網%色空間の各格子点に対応したXYZ値を算出する。そして、その算出したXYZ値が、合成プロファイルの色変換テーブル内の対応箇所に書き込まれる。
If the two five-color color conversion tables do not share the same CMYK color space grid point setting method, the setting
また、設定部72は、上記の2つの色変換テーブルのうち、一方の色変換テーブルにのみ存在する部分に関しては、その部分をそのまま合成プロファイルの色変換テーブル内の対応箇所に書き込む(ステップS13)。例えば、Or成分の網%は0%であるが、G成分の網%は0%ではない格子点に対応するXYZ値のデータは、上記の2つの色変換テーブルのうち、CMYKGの5色の網%とXYZの3刺激値との関係を定義した色変換テーブルにのみ存在する。同様に、G成分の網%は0%であるが、Or成分の網%は0%ではない格子点に対応するXYZ値のデータは、上記の2つの色変換テーブルのうち、上記の2つの色変換テーブルのうち、CMYKOrの5色の網%とXYZの3刺激値との関係を定義した色変換テーブルにのみ存在する。設定部72は、これら一方の色変換テーブルにのみ存在するXYZ値のデータを、合成プロファイルの色変換テーブル内の対応箇所に書き込む。
The setting
ステップS13までの過程において、まだ、対応するXYZ値が求められていないCMYKOrGの6色の色空間の格子点は、Or成分およびG成分のいずれの網%値も0%ではないような格子点である。以下、これらの格子点に対応するXYZ値を求める方法について説明する。 In the process up to step S13, the grid points of the six color spaces of CMYKORG for which the corresponding XYZ values have not yet been obtained are the grid points at which neither the network% value of the Or component nor the G component is 0%. It is. Hereinafter, a method for obtaining XYZ values corresponding to these lattice points will be described.
図5の推定部73は、CMYKの4色の各網%値が0%あるいは100%であって、Or成分およびG成分のいずれの網%値も100%となっている格子点に対応するXYZ値を、以下に説明する方式で推定する(ステップS14)。このように推定対象となる格子点は、CMYKの4色の各網%値が0%あるいは100%であることから、全部で24=16個存在し、それぞれの格子点について同様の推定が行われる。
The
推定を実行するにあたり、図5の推定部73は、CMYKの4色の網%値については、推定対象となる格子点と共通の網%値を有し、Or成分およびG成分の両方の網%値についてはいずれも0%となっている格子点(格子点Oとする)について、その格子点Oに対応するXYZ値を、すでに合成色変換テーブルに書き込まれている数値の中から読み出す。次に、推定部73は、CMYKGの5色の網%値に関しては格子点Oと同じ網%値であってOr成分の網%値が100%となっている格子点Pに対応するXYZ値、CMYKOrの5色の網%値に関しては格子点Oと同じ網%値であってG成分の網%値が100%となっている格子点Qに対応するXYZ値をそれぞれ合成色変換テーブルから読み出す。
In executing the estimation, the
推定部73は、これら3つの格子点にそれぞれ対応するXYZ値に基づき、CMYKの4色の網%値については格子点Oと同じ網%値であって、Or成分およびG成分の両方の網%値が100%である格子点Xに対応するXYZ値の推定を行う。このXYZ値の推定は、一旦、XYZの3刺激値で記述される空間からL*a*b*色空間(以下Lab空間と略す)にうつって行われる。そこで、推定部73は、得られた3つの格子点O,P,Qにそれぞれ対応するXYZ値を、Lab色空間の座標値に変換する。
Based on the XYZ values respectively corresponding to these three grid points, the
図7は、図5の推定部73によって行われる推定の方式を模式的に表した図である。
FIG. 7 is a diagram schematically showing an estimation method performed by the
図7には、上記の3つの格子点O,P,Qにそれぞれ対応するXYZ値を、L*a*b*値(以下Lab値と略す)にそれぞれ変換することで得られる3つの座標点O,P,Qが、座標(L0,a0,b0)、(L1,a1,b1)、(L2,a2,b2)とともに示されている。なお、ここでは、CMYKOrGの6色の網%値の空間における格子点に対応するLab色空間の座標点に対しては、CMYKOrGの6色の網%値の空間における格子点の符号と同じ符号を用いている。さらにこの図には、上記の推定対象となる、格子点Xに対応するXYZ値が、Lab値に変換されることで得られる未知座標点Xも示されており、その未知座標点Xの座標は(L,a,b)である。推定部73は、Or成分およびG成分の両方の網%値が0%である格子点Oに対応する、Lab空間内の座標点Oを基準として、この座標点Oから、Or成分の網%値が100%でG成分の網%値が0%の格子点Pに対応する、Lab空間内の座標点Pに向かうべクトルOPを求める。さらに、推定部73は、座標点Oから、G成分の網%値が100%でOr成分の網%値が0%の格子点Qに対応する、Lab空間内の座標点Qに向かうべクトルOQを求める。そして、これら2つのベクトルOP,OQとを重み付け加算することで未知座標点Xの推定を行う。具体的には、座標点Oから未知座標点Xに向かうべクトルOXを、下記の式によって推定する。
FIG. 7 shows three coordinate points obtained by converting XYZ values respectively corresponding to the above three lattice points O, P, and Q into L * a * b * values (hereinafter abbreviated as Lab values). O, P, and Q are shown together with coordinates (L 0 , a 0 , b 0 ), (L 1 , a 1 , b 1 ), (L 2 , a 2 , b 2 ). It should be noted that here, for the coordinate points in the Lab color space corresponding to the grid points in the CMYKOrG 6-color halftone space, the same signs as the grid points in the CMYKORG 6-color halftone space Is used. Further, this figure also shows an unknown coordinate point X obtained by converting the XYZ value corresponding to the lattice point X, which is the estimation target, into a Lab value, and the coordinates of the unknown coordinate point X are also shown. Is (L, a, b). The
ここで、全体にかかる係数αは調整パラメータであって、1.0〜1.5程度の定数であり、この値は、ユーザが出力結果から受ける心証に基づき経験的に決定される。また、上記の式において、LOr、aOr、bOrは、Orの網%値が100%で残りのCMYKGの5色の網%値が全て0%の格子点(いわゆるOr単色ベタの格子点)に対応するLab空間内の座標(LOr,aOr,bOr)の座標成分であり、同様に、LG、aG、bGは、Gの網%値が100%で残りのCMYKOrの5色の網%値が全て0%の格子点(いわゆるG単色ベタの格子点)に対応するLab空間内の座標(LG,aG,bG)の座標成分である。 Here, the coefficient α relating to the whole is an adjustment parameter, and is a constant of about 1.0 to 1.5, and this value is determined empirically based on the evidence that the user receives from the output result. In the above formula, L Or , a Or , and b Or are lattice points in which the halftone value of Or is 100% and the remaining halftone values of the five colors of CMYKG are all 0% (so-called Or single-color solid lattices). Are the coordinate components of the coordinates (L Or , a Or , b Or ) in the Lab space corresponding to the points). Similarly, L G , a G , and b G are the remaining% of G with 100%. This is a coordinate component of coordinates (L G , a G , b G ) in the Lab space corresponding to grid points (so-called G monochromatic solid grid points) in which the halftone values of the five colors of CMYKOr are 0%.
この式に示すように、べクトルOPおよびべクトルOQとは、それぞれ、Or単色ベタの色度距離(Lab空間の原点との色差)の逆数である1/(LOr 2+aOr 2+bOr 2)1/2、G単色ベタの色度距離の逆数である1/(LG 2+aG 2+bG 2)1/2で重みを付けて加算されている。 As shown in this equation, the vector OP and the vector OQ are respectively 1 / (L Or 2 + a Or 2 + b Or ), which is the reciprocal of the chromaticity distance (color difference from the origin of the Lab space) of the Or single solid color. 2 ) 1/2 , weighted by 1 / (L G 2 + a G 2 + b G 2 ) 1/2 which is the reciprocal of the chromaticity distance of the G monochromatic solid.
一般に、2色の重ね合わせを行う場合には、その2色のうち、明度や彩度の小さい方が、重ね合わせたときに発現する色に対する影響が大きい。上記の式では、このような性質が反映されるように、Or成分の網%値が100%でG成分の網%値が0%の格子点Pに係るベクトルOPには、Or単色ベタの色度距離の逆数1/(LOr 2+aOr 2+bOr 2)1/2の重み付けをし、G成分の網%値が100%でOr成分の網%値が0%の格子点Qに係るベクトルOQには、G単色ベタの色度距離の逆数である1/(LG 2+aG 2+bG 2)1/2で重み付けをして、べクトルOXの推定が行われている。 In general, when two colors are superimposed, the smaller of the lightness and saturation of the two colors has a greater influence on the color that appears when they are superimposed. In the above equation, in order to reflect such a property, the vector OP related to the grid point P having the dot% value of the Or component of 100% and the dot% value of the G component of 0% is represented by an Or single solid color. The reciprocal of the chromaticity distance 1 / (L Or 2 + a Or 2 + b Or 2 ) 1/2 is weighted, and the grid point Q having the G component halftone value of 100% and the Or component halftone value of 0% is obtained. The vector OQ is weighted by 1 / (L G 2 + a G 2 + b G 2 ) 1/2 which is the reciprocal of the chromaticity distance of the G single color solid, and the vector OX is estimated.
なお、本発明では、重み付けの仕方は、色度距離の逆数に限らず、色度距離の(−1/3)乗など、逆数以外の負のべき乗であってもよい。また、本発明では、必ずしも(LOr 2+aOr 2+bOr 2)1/2のように、明度の寄与と彩度の寄与とが等しくなっている必要はなく、例えば、明度の寄与と彩度の寄与とに、正数の係数k1、k2をかけた、(k1×LOr 2+k2×(aOr 2+bOr 2))1/2のような一般化した色度距離の逆数を採用してもよい。あるいは、もっと単純に、明度のみの逆数や彩度のみの逆数で重み付けを行ってもよい。 In the present invention, the weighting method is not limited to the reciprocal of the chromaticity distance, and may be a negative power other than the reciprocal, such as the (−1/3) th power of the chromaticity distance. Further, in the present invention, the contribution of lightness and the contribution of saturation do not necessarily have to be equal, as in (L Or 2 + a Or 2 + b Or 2 ) 1/2. Generalized chromaticity distance, such as (k 1 * L Or 2 + k 2 * (a Or 2 + b Or 2 )) 1/2 , multiplied by the degree contribution plus positive coefficients k 1 and k 2 The reciprocal of may be adopted. Or, more simply, weighting may be performed by the reciprocal of brightness only or the reciprocal of saturation only.
上記の式でべクトルOXが推定されると、この推定から未知座標点Xの座標成分L,a,b(図7参照)が求められる。さらに、そのLab値をXYZ値に変換することによって、Or成分およびG成分のいずれの網%値も100%となっている格子点に対応するXYZ値が推定されることとなる。 When the vector OX is estimated by the above formula, the coordinate components L, a, b (see FIG. 7) of the unknown coordinate point X are obtained from this estimation. Further, by converting the Lab value into the XYZ value, the XYZ value corresponding to the lattice point where the half-tone value of both the Or component and the G component is 100% is estimated.
図5の推定部73は、以上説明したような推定を、推定対象となる、CMYKの4色の各網%値が0%あるいは100%であって、Or成分およびG成分のいずれの網%値も100%となっている、24=16個の格子点について行い、合成プロファイルの色変換テーブル内の対応箇所に書き込む。
The
これらの格子点に対応するXYZ値が全て得られた段階においては、CMYKOrGの6色の各網%値が0%あるいは100%となっている格子点に関しては、対応するXYZ値が全て取得されたことになる。 At the stage where all the XYZ values corresponding to these grid points are obtained, all the corresponding XYZ values are acquired for the grid points where the halftone values of the six colors of CMYKOrG are 0% or 100%. That's right.
図6のフローチャートに戻り説明を続ける。 Returning to the flowchart of FIG.
CMYKOrGの6色の各網%値が0%あるいは100%となっている格子点すべてについてXYZ値が求められると、図5の算出部74は、これらの格子点のXYZ値に基づき、残りの格子点でのXYZ値を、差分解法によって算出する(ステップS15)。以下では、この差分解法の具体的な内容について説明する。
When the XYZ values are obtained for all the grid points where the halftone values of the six colors of CMYKOrG are 0% or 100%, the
CMYKOrGの6色の色空間の稜線(各色の網%値が0%あるいは100%である格子点のうち、最近接の格子点同士をつなぐ線)のうち、端点となる2つの格子点のOr成分の網%値が、いずれも0%となっている稜線や、端点となる2つの格子点のG成分の網%値が、いずれも0%となっている稜線については、ステップS12およびステップS13の過程でその稜線上の各格子点に対応するXYZ値は、合成プロファイルの色変換テーブルにすでに記載されている。算出部74は、残りの稜線、すなわち、2つの端点のうち少なくとも一方の端点において、Or成分とG成分の網%値が100%となっている稜線について、差分解法による算出を最初に実行する。このような稜線としては、例えば、6色の色空間の中でG色方向に延びた稜線であって、CMYKの4色の各網%値については0%あるいは100%の一定値、Or成分の網%値については100%の一定値となっている稜線を挙げることができる。ここでは、この稜線上の格子点に対応したXYZ値のうち、X値を求める場合を例にとって差分解法による算出の内容を簡単に説明する。
Among the edges of the six color spaces of CMYKOOrG (the line connecting the closest grid points among the grid points where the half-tone value of each color is 0% or 100%), the Or of the two grid points that are the end points Steps S12 and Step are performed for the ridgeline in which the component halftone values are both 0% and the ridgeline in which the G component halftone values of the two lattice points that are the end points are both 0%. In the process of S13, the XYZ values corresponding to the respective grid points on the edge line are already described in the color conversion table of the composite profile. The
本実施形態では、6色の色空間において、G方向についてG成分の網%値が異なる格子点が全部でn個並んでいるような格子点の取り方がされており、G成分の網%値が大きくなる順に各格子に順番付けをする。このとき、稜線上の1番目の格子点のG成分の網%値が0%の格子点であって、n番目の格子点のG成分の網%値が100%の格子点である。k番目(k=1,…n)の格子点のX値をX(k)と表記すると、差分解法では、対応するX値が未知(k=2,…n―1)の格子点について、その格子点のX(k)を求めるにあたり、下記の補間式を用いる。
X(k)={X(k−1)/N(k−1,k)+X(k+1)/N(k,k+1)}
÷{1/N(k−1,k)+1/N(k,k+1)}・・・(1d)
ここで、N(k−1,k)、N(k,k+1)は、それぞれ、(k−1)番目の格子点とk番目の格子点との間の格子間隔、k番目の格子点と(k+1)番目の格子点との間の格子間隔を表している。この式(1d)は、k番目の格子点のX値は、両隣の格子点のX値に、格子間隔によって決まる重みをつけて加算することで得られるということを意味している。これら2つの格子間隔がゼロになる極限(いわゆる連続極限)では、この式(1d)は、2階の微分方程式(d/dx)2X=0と等価となり、連続空間における1次元のラプラス方程式と一致する。そこで、語義を拡張して、以下では、各格子点のX値の間の関係を記述する式(1d)のように、連続極限でラプラス方程式と一致する差分形式の方程式を、単に、ラプラス方程式と呼ぶことにする。
In this embodiment, in the six-color space, the grid points are arranged such that n grid points having different G component halftone values in the G direction are arranged in total, and the G component halftone% is obtained. Order each grid in order of increasing value. At this time, the grid point of the G component of the first grid point on the ridge line is a grid point of 0% and the grid point of the G component of the nth grid point is 100%. When the X value of the k-th (k = 1,... n) lattice point is expressed as X (k), in the difference decomposition method, the corresponding X value is unknown (k = 2,... n−1) In obtaining X (k) of the lattice point, the following interpolation formula is used.
X (k) = {X (k−1) / N (k−1, k) + X (k + 1) / N (k, k + 1)}
÷ {1 / N (k−1, k) + 1 / N (k, k + 1)} (1d)
Here, N (k−1, k) and N (k, k + 1) are the lattice spacing between the (k−1) th lattice point and the kth lattice point, and the kth lattice point, respectively. This represents the lattice spacing between the (k + 1) th lattice point. This equation (1d) means that the X value of the kth lattice point can be obtained by adding the X value of the adjacent lattice points with a weight determined by the lattice interval. In the limit where these two lattice intervals are zero (so-called continuous limit), this equation (1d) is equivalent to a second-order differential equation (d / dx) 2 X = 0, and is a one-dimensional Laplace equation in continuous space. Matches. Therefore, by expanding the meaning, in the following, an equation in a differential form that coincides with the Laplace equation in the continuous limit is simply expressed as the Laplace equation, as in Equation (1d) that describes the relationship between the X values of the respective lattice points. I will call it.
1番目の格子点のX値であるX(1)と、n番目の格子点のX値であるX(n)とは、すでに取得されているので、残りの(n―2)個の格子点のX値が未知数であり、これらの未知数の間の関係を記述する1次元のラプラス方程式(1d)が全部で(n―2)個存在する。そこで、この連立方程式を解くことで、この稜線上の格子点のX値が全て得られることになる。 Since X (1), which is the X value of the first lattice point, and X (n), which is the X value of the nth lattice point, have already been acquired, the remaining (n-2) lattices The X value of the point is an unknown number, and there are a total of (n−2) one-dimensional Laplace equations (1d) describing the relationship between these unknown numbers. Therefore, by solving this simultaneous equation, all the X values of the lattice points on this ridge line can be obtained.
残りのY値およびZ値についても式(1d)と同様のラプラス方程式を用いることで、この稜線上の格子点のY値およびZ値が全て取得される。図5に示す算出部74は、以上説明した差分解法による算出を、2つの端点のうち少なくとも一方の端点においてOrとG成分の網%値が100%となっている、全ての稜線について実行し、得られたXYZ値を合成プロファイルの色変換テーブル内の対応箇所に書き込む。
For the remaining Y and Z values, all the Y and Z values of the lattice points on this ridge line are obtained by using the Laplace equation similar to the equation (1d). The
この算出の結果、6色の色空間におけるすべての稜線について、その稜線上の格子点のXYZ値が取得されたこととなる。 As a result of this calculation, the XYZ values of the grid points on the ridge lines are acquired for all the ridge lines in the six color spaces.
次に、算出部74は、稜線上の格子点のXYZ値に基づき、4つの稜線によって周囲を囲まれてなる正方形の2次元面において、2次元面上の格子点のXYZ値を、差分解法により算出する。なお、これら2次元面のうち、4つの頂点のいずれもOr成分の網%値が0%となっている2次元面や、4つの頂点のいずれもG成分の網%値が0%となっている2次元面については、その上の格子点に対応するXYZ値は、ステップS12およびステップS13の過程で、合成プロファイルの色変換テーブルにすでに記載されている。このため、差分解法による算出の対象となる2次元面は、残りの2次元面、すなわち、2次元面の4つの頂点のうち少なくとも1つの頂点においてOr成分およびG成分の網%値が100%となっている2次元面である。このような2次元面としては、例えば、G色方向あるいはOr方向に延びた4つの稜線で取り囲まれた2次元面を挙げることができる。ここでは、この2次元面上の格子点に対応したXYZ値のうち、X値を求める場合を例にとって差分解法による算出の内容を簡単に説明する。
Next, based on the XYZ values of the lattice points on the ridge lines, the
本実施形態では、6色の色空間において、Or方向についてOr成分の網%値が異なる格子点が、全部でm個並んでいるような格子点の取り方がされている。上述したように、G方向については、格子点が全部でn個並んでいる。そこで、上記の2次元面上には、全部で(m×n)個の格子点が存在する。ここで、前述の1次元の場合と同様に、Or方向についても、1番目の格子点のOr成分の網%値が0%の格子点であって、m番目の格子点のOr成分の網%値が100%の格子点となるように、Or成分の網%値が大きくなる順に各格子に順番付けをする。そして、Or方向について、k1番目、G方向については、k2番目の格子点のX値をX(k1,k2)と表記すると、対応するX値が未知(k1=2,…m―1,k2=2,…n―1)の格子点について、差分解法では下記の補間式を用いる。
X(k1,k2)=[{X(k1−1,k2)/M(k1−1,k1)+X(k1+1,k2)/M(k1,k1+1)}÷{M(k1−1,k1)+M(k1,k1+1)}
+ {X(k1,k2−1)/N(k2−1,k2)+X(k1,k2+1)/N(k2,k2+1)}÷{N(k2−1,k2)+N(k2,k2+1)}]
÷ [1/M(k1−1,k1)+1/M(k1,k1+1)
+1/N(k2−1,k2)+1/N(k2,k2+1)]・・・(2d)
ここで、上式のM(k1−1,k1)、M(k1,k1+1)は、Or方向について、(k1−1)番目の格子点とk1番目の格子点との間の格子間隔、k1番目の格子点と(k1+1)番目の格子点との間の格子間隔を、それぞれ表している。N(k2−1,k2)、N(k2,k2+1)は、G方向についての上述した格子間隔である。上式(2d)も、前述の式(1d)と同様に、格子点のX値が、周囲の格子点のX値に、格子間隔によって決まる重みをつけて加算することで得られるということを意味している。式(2d)は、M(k1−1,k1)、M(k1,k1+1)、N(k2−1,k2)、N(k2,k2+1)の4つの格子間隔がゼロにいく極限で、連続空間における2次元のラプラス方程式と一致する。
In the present embodiment, in the six-color space, the grid points are arranged such that a total of m grid points having different Or% dot values in the Or direction are arranged. As described above, a total of n lattice points are arranged in the G direction. Therefore, there are a total of (m × n) lattice points on the two-dimensional surface. Here, as in the case of the one-dimensional case described above, also in the Or direction, the network component of the Or component of the first lattice point is a lattice point of 0%, and the network of the Or component of the mth lattice point. Each grid is ordered in the order in which the network% value of the Or component increases so that the% value becomes a grid point of 100%. Then, the Or direction, k 1 th, for G direction, when the X value of the second grid point k is denoted as X (k 1, k 2), the corresponding X value is unknown (k 1 = 2, ... For the grid points of m−1, k 2 = 2,..., n−1), the following interpolation formula is used in the difference decomposition method.
X (k 1, k 2) = [{X (k 1 -1, k 2) / M (k 1 -1, k 1) + X (k 1 + 1, k 2) / M (k 1, k 1 +1 )} ÷ {M (k 1 −1, k 1 ) + M (k 1 , k 1 +1)}
+ {X (k 1 , k 2 −1) / N (k 2 −1, k 2 ) + X (k 1 , k 2 +1) / N (k 2 , k 2 +1)} ÷ {N (k 2 − 1, k 2 ) + N (k 2 , k 2 +1)}]
÷ [1 / M (k 1 -1, k 1) + 1 / M (k 1, k 1 +1)
+ 1 / N (k 2 −1, k 2 ) + 1 / N (k 2 , k 2 +1)] (2d)
Here, M (k 1 −1, k 1 ) and M (k 1 , k 1 +1) in the above equation are the (k 1 −1) th lattice point and k 1 th lattice point in the Or direction. , And the lattice spacing between the k 1st lattice point and the (k 1 +1) th lattice point, respectively. N (k 2 −1, k 2 ) and N (k 2 , k 2 +1) are the above-described lattice spacings in the G direction. The above equation (2d) can also be obtained by adding the X value of the lattice point to the X value of the surrounding lattice points with a weight determined by the lattice interval, similarly to the above equation (1d). I mean. The expression (2d) includes four values M (k 1 −1, k 1 ), M (k 1 , k 1 +1), N (k 2 −1, k 2 ), and N (k 2 , k 2 +1). In the limit where the lattice spacing goes to zero, it matches the two-dimensional Laplace equation in continuous space.
ここで、上記の2次元面を取り囲む稜線上の格子点のX値は、全て取得されており、(m―2)×(n−2)個の格子点のX値が未知数である。そして、これらの未知数の間の関係を記述する2次元のラプラス方程式(2d)も全部で(m―2)×(n−2)個存在する。そこで、この連立方程式を解くことで、この2次元面上の格子点のX値が全て得ることができる。 Here, all the X values of the lattice points on the edge line surrounding the two-dimensional surface are acquired, and the X values of (m−2) × (n−2) lattice points are unknown. There are also (m−2) × (n−2) two-dimensional Laplace equations (2d) describing the relationship between these unknowns. Therefore, all the X values of the lattice points on the two-dimensional plane can be obtained by solving the simultaneous equations.
残りのY値およびZ値についても式(2d)と同様のラプラス方程式を用いることで、この稜線上の格子点のY値およびZ値が全て取得される。図5に示す算出部74は、このような差分解法による算出を、少なくとも1つの頂点においてOr成分およびG成分の網%値が100%となっている、全ての2次元面について実行し、得られたXYZ値を合成プロファイルの色変換テーブル内の対応箇所に書き込む。
For the remaining Y value and Z value, all of the Y value and Z value of the lattice point on this ridge line are acquired by using the Laplace equation similar to the equation (2d). The
次に、算出部74は、上記の2次元面上の格子点のXYZ値に基づき、それら2次元面によって周囲を囲まれてなる3次元空間において、3次元空間内の格子点のXYZ値を、差分解法により算出する。その算出の内容の詳細は省略するが、その算出方法は、上述した、2次元面上の格子点のXYZ値の算出を1次元分拡張することに相当し、2次元面上の格子点のXYZ値を境界値として3次元のラプラス方程式を解くことによって3次元空間内の格子点のXYZ値を得るというものである。
Next, the
算出部74は、次元を1次元ずつ上げながら、n次元空間を囲んだ、XYZ値がすでに求められた(n−1)次元空間のXYZ値を境界値としてn次元のラプラス方程式を解く処理を繰り返す。そして、最終的に、5次元空間上の格子点のXYZ値を境界値として6次元のラプラス方程式を解くことによって、CMYKOrGの6色の色空間内の全ての格子点のXYZ値を算出する。この段階において、合成プロファイルの色変換テーブルが完成する。
The
一般に、カラー画像の出力においては、CMYKの4色が色表現に重要な役割を果たしているが、OrやGは、その色表現を補助する役割を果たしている。このため、6色全部についての、精度の高い出力プロファイルを作成することは実際上それほど必要ではなく、むしろ、6色の組み合わせからなるカラーパッチを作成・測色して出力プロファイルを作成する労力の負担が大きい。 In general, in the output of a color image, four colors of CMYK play an important role in color expression, and Or and G play a role of assisting the color expression. For this reason, it is practically not necessary to create a highly accurate output profile for all six colors. Rather, the effort of creating an output profile by creating and measuring a color patch consisting of a combination of six colors is required. The burden is heavy.
そこで、本実施形態は、上記のように、5色については、カラーパッチの作成・測色により、ある程度精度の良い出力プロファイルを作成しておき、これらを合成することでさらに多色の6色出力プロファイルを作成するという方式を採用することで、実用上要求される精度を維持しながら、出力プロファイル作成にかかる労力の低減が実現されている。 Therefore, in the present embodiment, as described above, for the five colors, an output profile with a certain degree of accuracy is created by creating and measuring a color patch, and these are combined to create six more colors. By adopting a method of creating an output profile, it is possible to reduce the labor required for creating the output profile while maintaining the accuracy required for practical use.
以上説明した実施形態では、2種類の5色の出力プロファイルを合成して6色の合成プロファイルを作成するものであったが、以下では、3種類の5色の出力プロファイルを合成して、7色の合成プロファイルを作成する実施形態について説明する。この実施形態が上述した実施形態と異なる点は、図1のカラープリンタの代わりに、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)、Or(オレンジ)、G(グリーン)の各色のトナーに加えてB(ブルー)のトナーを備えたカラープリンタが使用されている点である。この点を除けば、図1と同様の構成の画像出力システムが用いられて、CMYKOrGBの7色についての合成プロファイルが作成される。以下では、7色についての合成プロファイルの作成にあたり、図2および図3に示すパーソナルコンピュータ20によって実行される処理の内容に焦点を絞って説明を行う。
In the embodiment described above, two types of five color output profiles are synthesized to create a six color synthesis profile. However, in the following, three types of five color output profiles are synthesized, and 7 An embodiment for creating a color composition profile will be described. This embodiment differs from the above-described embodiment in that C (cyan), M (magenta), Y (yellow), K (black), Or (orange), G (green) instead of the color printer of FIG. ), A color printer provided with B (blue) toner in addition to each color toner. Except for this point, an image output system having the same configuration as that in FIG. 1 is used to create a composite profile for seven colors of CMYKOrGB. The following description focuses on the contents of processing executed by the
7色についての合成プロファイルも、上述の6色についての合成プロファイルの作成の場合と同様に、この7色のうちのいくつかの色についての出力プロファイルを、複数種類合成することにより作成される。ここでは、一例として、3種類の5色の出力プロファイルを合成することで7色についての合成プロファイルを作成する場合について説明する。 Similarly to the case of creating the composite profile for the six colors described above, the composite profile for the seven colors is also created by combining a plurality of types of output profiles for some of the seven colors. Here, as an example, a case will be described in which a composite profile for seven colors is created by combining three types of output profiles of five colors.
まず、最初に、元になる5色の出力プロファイルとして、G成分およびB成分を用いないときのCMYKOrの出力プロファイル、Or成分およびB成分を用いないときのCMYKGの出力プロファイル、Or成分およびG成分を用いないときのCMYKBの出力プロファイルの、全部で3種類の5色の出力プロファイルが作成される。5色の出力プロファイルの作成方法については前述した作成方法と同じであり、パッチを有するチャートが出力されてその上のパッチが測色されることによって、これらCMYKOr、CMYKG、およびCMYKBそれぞれについての出力プロファイルが作成される。以下では、これら3種類の5色の出力プロファイルを合成して7色についての合成プロファイルを作成する方法について説明する。 First, as the original five color output profiles, the CMYKOr output profile when the G component and the B component are not used, the CMYKG output profile when the Or component and the B component are not used, the Or component, and the G component A total of three types of output profiles of five colors are created as output profiles of CMYKB when no is used. The creation method of the output profile of five colors is the same as the creation method described above, and the output of each of these CMYKOr, CMYKG, and CMYKB is output by outputting a chart having patches and measuring the color of the patches thereon. A profile is created. Hereinafter, a method of synthesizing these three types of five color output profiles to create a composite profile for seven colors will be described.
図8は、3種類の5色の出力プロファイルについての色変換テーブルを合成する際のパーソナルコンピュータ20の動作を表すフローチャート図である。
FIG. 8 is a flowchart showing the operation of the
まず最初に、図5に示す取得部71により、合成処理の対象として、上記の3つの出力プロファイルについての色変換テーブルが取得される(ステップS21)。次に、図5に示す設定部72は、図6のステップS12と同様に、これら3つの色変換テーブルにおいて共通して存在する、G成分、Or成分およびB成分のいずれの網%も0%となっている格子点にそれぞれ対応するXYZ値を、3つの色変換テーブルからそれぞれ読み取って、その平均値を、7色についての合成プロファイルの色変換テーブル内の対応箇所に書き込む(ステップS22)。次に、設定部72は、これら3つの色変換テーブルのうち、1つの色変換テーブルにのみ存在する部分に関しては、その部分をそのまま合成プロファイルの色変換テーブル内の対応箇所に書き込む(ステップS23)。
First, the
ステップS23までの過程において、まだ、対応するXYZ値が求められていないCMYKOrGBの7色の色空間の格子点は、OrGBの3色のうちの少なくとも2色の網%値が0%ではない格子点である。以下、これらの格子点に対応するXYZ値を求める方法について説明する。 In the process up to step S23, the grid points of the seven color spaces of CMYKOGB whose corresponding XYZ values have not yet been obtained are grids whose half-tone values of at least two of the three colors of OrGB are not 0%. Is a point. Hereinafter, a method for obtaining XYZ values corresponding to these lattice points will be described.
図5の推定部73は、CMYKの4色の各網%値が0%あるいは100%であって、OrGBの3色のうちの2色の網%値が100%、残りの1色については網%値が0%となっている格子点に対応するXYZ値を、図7と同様の方法で推定する。例えば、OrGの2色の網%値が100%、B色については網%値が0%となっている格子点に対応するXYZ値は、図7で説明したように、Or成分の網%値が100%、GおよびBの2色については網%値が0%となっている格子点に対応するXYZ値と、G成分の網%値が100%、GおよびBの2色については網%値が0%となっている格子点に対応するXYZ値とに基づいて推定される。このようにして推定される格子点は、CMYKの4色の網%値が0%あるいは100%となるのは、24=16通りあることと、OrGBの3色のうちの2色の網%値が100%、残りの1色については網%値が0%となるのは3通りあることから、全部で16×3=48個存在する。
The
さらに、推定部73は、CMYKの4色の各網%値が0%あるいは100%であって、OrGBの3色の各網%値が100%となっている格子点に対応するXYZ値を、以下に説明する方式で推定する(ステップS24)。このような格子点は、CMYKの4色の網%値が0%あるいは100%なので24=16個存在する。従って、推定部73によって推定の対象となる格子点の数の合計は、48+16=64個である。
Further, the
図5の推定部73は、OrGBの3色のいずれの色の網%値も100%となっている格子点についての推定を実行するにあたり、図6のステップS14の方式と同様に、まず、OrGBの3色のいずれの網%値も0%であって、CMYKの4色の網%値が、推定対象の格子点の網%値と同じであるような格子点Oに対応するXYZ値を、すでに合成色変換テーブルに書き込まれているXYZ値の中から読み出す。次に、推定部73は、CMYKGBの6色の網%値に関しては格子点Oと同じ網%値であってOr成分の網%値が100%となっている格子点Pに対応するXYZ値、CMYKOrBの6色の網%値に関しては格子点Oと同じ網%値であってG成分の網%値が100%となっている格子点Qに対応するXYZ値、CMYKOrGの6色の網%値に関しては格子点Oと同じ網%値であってB成分の網%値が100%となっている格子点Rに対応するXYZ値を、合成色変換テーブルから読み出す。
The
推定部73は、4つの格子点にそれぞれ対応するXYZ値に基づき、CMYKの4色の網%値については格子点Oと同じ網%値であって、Or成分、G成分、およびB成分のいずれの網%値も100%となっている格子点X’に対応するXYZ値の推定を行う。このXYZ値の推定は、図6のステップS14と同様に、一旦、XYZの3刺激値で記述される空間からLab空間にうつって行われる。そこで、推定部73は、得られた4つの格子点にそれぞれ対応するXYZ値を、Lab色空間の座標値に変換する。
Based on the XYZ values respectively corresponding to the four grid points, the
図9は、図5の推定部73によって行われる推定の方式を模式的に表した図である。
FIG. 9 is a diagram schematically illustrating an estimation method performed by the
図9には、上記の3つの格子点O,P,Q,Rにそれぞれ対応するXYZ値を、Lab値にそれぞれ変換することで得られる3つの座標点O,P,Q,Rが座標(L0,a0,b0)、(L1,a1,b1)、(L2,a2,b2)、(L3,a3,b3)とともに示されている。さらにこの図には、上記の推定対象となる、格子点X’に対応するXYZ値が、Lab値に変換されることで得られる未知座標点X’も示されており、その未知座標点X’の座標は(L’,a’,b’)である。推定部73は、図6のステップS14と同様にして、Or成分およびG成分の両方の網%値が0%である格子点Oに対応する、Lab空間内の座標を座標点Oとして、この座標点Oから、Lab空間内の座標点P,Q,Rにそれぞれ向かうべクトルOP,OQ,ORを重み付け加算することで未知座標点X’の推定を行う。具体的には、座標点Oから未知座標点X’に向かうべクトルOX’を、下記の式によって推定する。
In FIG. 9, three coordinate points O, P, Q, and R obtained by converting XYZ values respectively corresponding to the above three lattice points O, P, Q, and R into Lab values are represented by coordinates ( L 0 , a 0 , b 0 ), (L 1 , a 1 , b 1 ), (L 2 , a 2 , b 2 ), (L 3 , a 3 , b 3 ). Further, this figure also shows an unknown coordinate point X ′ obtained by converting the XYZ value corresponding to the lattice point X ′, which is the estimation target, into a Lab value. The coordinates of 'are (L', a ', b'). As in step S14 in FIG. 6, the
ここで、全体にかかる係数α’は調整パラメータであって、1.5〜2.0程度の定数であり、この値は、ユーザが出力結果から受ける心証に基づき経験的に決定される。また、上記の式において、LB、aB、bBは、それぞれ、B成分の網%値が100%で残りのCMYKGの5色の網%値が全て0%の格子点(いわゆるB単色ベタの格子点)に対応するLab空間内の座標(LB,aB,bB)の座標成分である。LOr、aOr、bOr、およびLG、aG、bGは、図7と同様にそれぞれ、Or単色ベタの格子点に対応するLab空間内の座標(LOr,aOr,bOr)の座標成分、G単色ベタの格子点に対応するLab空間内の座標(LG,aG,bG)の座標成分である。 Here, the coefficient α ′ relating to the whole is an adjustment parameter and is a constant of about 1.5 to 2.0, and this value is determined empirically based on the proof received by the user from the output result. In the above equation, L B , a B , and b B are lattice points (so-called B single color) in which the B component halftone value is 100% and the remaining five CMYKG halftone values are all 0%. This is a coordinate component of coordinates (L B , a B , b B ) in the Lab space corresponding to (solid grid points). L Or , a Or , b Or , and L G , a G , b G are the coordinates (L Or , a Or , b Or in the Lab space corresponding to the grid points of the Or single solid color, respectively, as in FIG. ), The coordinate component of the coordinates (L G , a G , b G ) in the Lab space corresponding to the grid point of the G monochromatic solid.
この式に示すように3つのべクトルOP,OQ,ORを重み付け加算する場合も、図7と同様に、これらべクトルOP、べクトルOQ、およびベクトルORは、それぞれ、Or単色ベタの色度距離(Lab空間の原点との色差)の逆数である1/(LOr 2+aOr 2+bOr 2)1/2、G単色ベタの色度距離の逆数である1/(LG 2+aG 2+bG 2)1/2、B単色ベタの色度距離の逆数である1/(LB 2+aB 2+bB 2)1/2で重みを付けされている。このように重み付けがされることによって、上式では、重ね合わせたときに発現する色に対する影響が大きい、明度や彩度の小さい色が、大きく寄与するように工夫されている。 As shown in this equation, when the three vectors OP, OQ, and OR are weighted and added, the vector OP, the vector OQ, and the vector OR are respectively chromaticity of the Or single-color solid, as in FIG. 1 / (L Or 2 + a Or 2 + b Or 2 ) 1/2 that is the reciprocal of the distance (color difference from the origin of the Lab space), 1 / (L G 2 + a G that is the reciprocal of the chromaticity distance of the solid G color. 2 + b G 2 ) 1/2 , weighted by 1 / (L B 2 + a B 2 + b B 2 ) 1/2 , which is the reciprocal of the chromaticity distance of the B monochromatic solid. By weighting in this way, the above equation is devised so that colors having a large influence on the color that appears when they are superimposed and having a small lightness or saturation contribute greatly.
上記の式でべクトルOX’が推定されると、この推定から未知座標点Xの座標成分L’,a’,b’(図9参照)が求められる。さらに、そのLab値をXYZ値に変換することによって、Or成分、G成分およびB成分のいずれの網%値も100%となっている格子点に対応するXYZ値が推定されることとなる。 When the vector OX ′ is estimated by the above formula, the coordinate components L ′, a ′, b ′ (see FIG. 9) of the unknown coordinate point X are obtained from this estimation. Further, by converting the Lab value into the XYZ value, the XYZ value corresponding to the lattice point where the half-tone values of the Or component, the G component, and the B component are 100% is estimated.
図5の推定部73は、以上説明したような推定を、上述した、OrGBの3色のいずれの網%値も100%であって、CMYKの4色の各網%値が0%あるいは100%となっている24=16個の格子点について行い、合成プロファイルの色変換テーブル内の対応箇所に書き込む。
The
これらの格子点に対応するXYZ値が全て得られた段階においては、CMYKOrGBの7色の各網%値が0%あるいは100%となっている格子点に関しては、対応するXYZ値が全て取得されたことになる。 At the stage where all the XYZ values corresponding to these grid points are obtained, all the corresponding XYZ values are acquired for the grid points where the halftone values of the seven colors of CMYKORB are 0% or 100%. That's right.
CMYKOrGBの7色の各網%値が0%あるいは100%となっている格子点すべてについてXYZ値が求められると、図5の算出部74は、これらの格子点のXYZ値に基づき、残りの格子点でのXYZ値を、図6のステップ15で説明した差分解法によって算出する(図8のステップS25)。すなわち、算出部74は、まず、CMYKOrGBの7色の色空間の稜線上の格子点についてのXYZ値を1次元のラプラス方程式を解くことによって求め、次に、稜線で囲まれた2次元面上の格子点についてのXYZ値を2次元のラプラス方程式を解くことによって求める。次元を上げながら、このような算出を繰り返し、最終的に7次元のラプラス方程式を解くことによって、全ての格子点についてのXYZ値が求められる。この段階において、合成プロファイルの色変換テーブルが完成する。
When the XYZ values are obtained for all grid points where the halftone values of the seven colors of CMYKOrGB are 0% or 100%, the
以上、説明したような、6色あるいは7色の合成プロファイルの作成では、端の格子点
のXYZ値を境界条件とし、内側の格子点のXYZ値はすべて未知であるとしてラプラス方程式が解かれていたが、本発明は、あらかじめ内側の格子点のいくつかについては、パッチの測色などで信頼性の高いXYZ値を取得しておき、残りの内側の格子点についてラプラス方程式を解く方法を採用してもよい。例えば、式(1d)を例にとると、XYZ値が取得されていない格子点の数だけ未知数が存在し、これらの未知数だけが、式(1d)の左辺に未知数X(k)として現れるので、方程式の数と未知数の数は同じになっている。このため、あらかじめ内側の格子点のいくつかについてXYZ値が取得されている場合でも、そのいくつかの格子点についてのX(k)が、左辺に現れている方程式を除去することで、XYZ値が取得されていない残りの格子点のXYZ値を未知数としたときに、その未知数と同じ数の方程式が残ることとなる。そこで、残った方程式からなる連立方程式を解くことで、全ての格子点に対応したXYZ値が求められる。このように、あらかじめ内側の格子点のいくつかについてXYZ値を取得しておくと、そのXYZ値が制御点となって、まだXYZ値が取得されていない格子点についてのラプラス方程式に影響を与えるため、算出されたXYZ値の精度が向上することとなる。
As described above, in the creation of a composite profile of 6 colors or 7 colors, the Laplace equation is solved on the assumption that the XYZ values of the end lattice points are the boundary conditions and all the XYZ values of the inner lattice points are unknown. However, the present invention adopts a method in which a highly reliable XYZ value is obtained in advance for some of the inner grid points by patch colorimetry and the Laplace equation is solved for the remaining inner grid points. May be. For example, taking equation (1d) as an example, there are as many unknowns as the number of grid points for which XYZ values have not been acquired, and only these unknowns appear as unknowns X (k) on the left side of equation (1d). The number of equations and the number of unknowns are the same. For this reason, even if XYZ values have been acquired for some of the inner grid points in advance, the X (k) for the some grid points can be removed by removing the equation that appears on the left side. When the XYZ values of the remaining lattice points for which no is acquired are defined as unknowns, the same number of equations as the unknowns remain. Therefore, XYZ values corresponding to all lattice points can be obtained by solving simultaneous equations composed of the remaining equations. Thus, if XYZ values are acquired in advance for some of the inner lattice points, the XYZ values become control points, which affect the Laplace equation for lattice points for which XYZ values have not yet been acquired. For this reason, the accuracy of the calculated XYZ value is improved.
なお、上記の例では、CMYKの4色については共通であるような、3種類の5色の出力プロファイルを合成することで、7色についての合成プロファイルが作成されたが、本発明では、合成の元になるM色のプロファイルについては、合成されるN色のプロファイルにおけるN色のそれぞれが、いずれかのM色のプロファイルにおけるM色中に存在していればよく、元になるM色のプロファイルの数や、M色の組み合わせ方にはよらない。 In the above example, a composite profile for seven colors is created by synthesizing three types of output profiles of five colors that are common to the four colors of CMYK. As for the original M color profile, it is sufficient that each of the N colors in the synthesized N color profile exists in the M color in any of the M color profiles. It does not depend on the number of profiles or the combination of M colors.
また、本発明は、CMYKOGBのプロファイルからCMYKRGBのプロファイルを作成する場合のように、色の組み合わせを変えたプロファイルを作成する場合についても適用可能である。例えば、CMYKOGBのプロファイルからCMYKRGBのプロファイルを作成する場合では、CMYKRの5色についてだけ、色変換テーブルをチャートの測色により作成しておき、その色変換テーブルと、CMYKOGBの色変換テーブル中の、O色成分の網%値が0%になっている部分とを合成することで、CMYKRGBのプロファイルを作成することができる。このため、チャートの測色の際に、測色対象となる色の種類が少なくてすみ、プロファイルを作成するための手間が少ない。また、CMYKOGのプロファイルにB色を追加してCMYKOGBのプロファイルを作成する場合のように、色を追加する場合も同様であり、本発明では、所望のプロファイルの全色成分(例えば、CMYKOGB全色成分)についての測色を行わずともプロファイルの作成が可能である。 The present invention can also be applied to the case of creating a profile with different color combinations, such as creating a CMYKRGB profile from a CMYKOGB profile. For example, in the case of creating a CMYKRGB profile from a CMYKOGB profile, a color conversion table is created for only five CMYKR colors by chart colorimetry, and the color conversion table and the CMYKOGB color conversion table A CMYKRGB profile can be created by combining the portion where the halftone value of the O color component is 0%. For this reason, when the color measurement of the chart is performed, the number of types of colors to be measured is small, and the effort for creating a profile is small. The same applies to the case of adding a color as in the case of creating a CMYKOGB profile by adding B color to the CMYKOG profile. In the present invention, all color components of a desired profile (for example, all colors of CMYKOGB) It is possible to create a profile without performing colorimetry on (component).
また、以上の説明では、色変換テーブルの作成の際に、デバイス非依存の色空間として、XYZの3刺激値で表現される色空間が採用されているが、本発明では、Labの色空間やLuvの色空間などの他の色空間も採用可能である。 In the above description, a color space expressed by XYZ tristimulus values is used as a device-independent color space when creating the color conversion table. In the present invention, however, the Lab color space is used. And other color spaces such as Luv color space can also be employed.
また、以上の説明では、Labの色空間において推定が行われているが、これは一例であって、推定が行われる色空間は、XYZの色空間やLuvの色空間などの他の色空間であってもよい。 In the above description, the estimation is performed in the Lab color space. However, this is an example, and the color space in which the estimation is performed may be another color space such as an XYZ color space or a Luv color space. It may be.
また、本発明は、出力プロファイルのみならず、入力プロファイルの合成を行うものであってもよい。 In the present invention, not only an output profile but also an input profile may be synthesized.
20 パーソナルコンピュータ
21 本体部
21a FD装填口
21b CD−ROM装填口
22 画像表示装置
22a 表示画面
23 キーボード
24 マウス
25 バス
211 CPU
212 主メモリ
213 ハードディスク装置
214 FDドライブ
50 フレキシブルディスク(FD)
215 CD−ROMドライブ
51 CD−ROM
216 I/Oインタフェース
30 カラープリンタ
31 画像
32 チャート
40 分光測色計
41 ケーブル
60 色変換定義作成プログラム
61 取得部
62 設定部
63 推定部
64 算出部
71 取得部
72 設定部
73 推定部
74 算出部
20
212
215 CD-
216 I /
Claims (4)
前記N色のうちの一部のM色(M<N)を色成分として前記上限内で用いて得られる色を座標として表す、それらM色それぞれに対応した座標軸を有する第3色空間の座標と前記第2色空間の座標との対応関係を定義したM色変換定義を、該M色の組み合わせが互いに異なるとともに前記N色の各色がいずれかの組み合わせに含まれている複数のM色の組み合わせそれぞれに対応した複数の第3色空間それぞれについて取得する取得部と、
前記取得部で取得された各M色変換定義が定義した前記第3色空間の座標と前記第2色空間の座標との対応関係を用いて、前記N色変換定義が定義する第1色空間の座標と第2色空間の座標との対応関係のうち、該第3色空間に対応したM色に含まれない色の色成分がゼロである第1色空間の座標における対応関係を決定する対応決定部と、
前記第1色空間の頂点のうち前記対応決定部では対応関係が未決定の頂点における対応関係を、該対応決定部で対応関係が決定された頂点における対応関係に基づいて推定する推定部と、
前記対応決定部によって決定された対応関係と、前記推定部によって推定された対応関係とに基づき、前記第1色空間の座標のうち対応関係が未定の座標における対応関係を補間計算により求める補間計算部とを備えたことを特徴とする色変換定義作成装置。 Represents the color obtained have use as coordinates different N colors as a color component to each other, the first color space having coordinate axes corresponding to their N-color respectively, of the first color space coordinates and a predetermined second color space A color conversion definition creation device for creating an N color conversion definition that defines a correspondence relationship with coordinates,
Coordinates of a third color space having coordinate axes corresponding to each of the M colors, representing coordinates obtained by using a part of the M colors (M <N) within the upper limit as color components. M color conversion definition that defines the correspondence between the coordinates of the second color space and the coordinates of the second color space, and a plurality of M colors in which the combination of the M colors is different and each of the N colors is included in any combination An acquisition unit configured to acquire each of a plurality of third color spaces corresponding to each combination;
A first color space defined by the N color conversion definition using a correspondence relationship between the coordinates of the third color space defined by each M color conversion definition acquired by the acquisition unit and the coordinates of the second color space. Among the coordinates of the coordinates of the second color space and the coordinates of the first color space where the color component of the color not included in the M color corresponding to the third color space is zero. A response determination unit;
An estimation unit that estimates a correspondence in a vertex whose correspondence is not yet determined in the correspondence determination unit among the vertices of the first color space based on a correspondence in a vertex whose correspondence is determined in the correspondence determination unit;
Interpolation calculation for obtaining a correspondence relationship at coordinates whose correspondence relationship is undetermined among the coordinates of the first color space based on the correspondence relationship determined by the correspondence determination unit and the correspondence relationship estimated by the estimation unit. And a color conversion definition creating device.
互いに異なるN色を色成分として用いて得られる色を座標として表す、それらN色それぞれに対応した座標軸を有する第1色空間について、該第1色空間の座標と所定の第2色空間の座標との対応関係を定義したN色変換定義を作成させる色変換定義作成プログラムであって、
そのコンピュータシステム上に、
前記N色のうちの一部のM色(M<N)を色成分として前記上限内で用いて得られる色を座標として表す、それらM色それぞれに対応した座標軸を有する第3色空間の座標と前記第2色空間の座標との対応関係を定義したM色変換定義を、該M色の組み合わせが互いに異なるとともに前記N色の各色がいずれかの組み合わせに含まれている複数のM色の組み合わせそれぞれに対応した複数の第3色空間それぞれについて取得する取得部と、
前記取得部で取得された各M色変換定義が定義した前記第3色空間の座標と前記第2色空間の座標との対応関係を用いて、前記N色変換定義が定義する第1色空間の座標と第2色空間の座標との対応関係のうち、該第3色空間に対応したM色に含まれない色の色成分がゼロである第1色空間の座標における対応関係を決定する対応決定部と、
前記第1色空間の頂点のうち前記対応決定部では対応関係が未決定の頂点における対応関係を、該対応決定部で対応関係が決定された頂点における対応関係に基づいて推定する推定部と、
前記対応決定部によって決定された対応関係と、前記推定部によって推定された対応関係とに基づき、前記第1色空間の座標のうち対応関係が未定の座標における対応関係を補間計算により求める補間計算部とを構築することを特徴とする色変換定義作成プログラム。 Built into a computer system,
Represents the color obtained have use as coordinates different N colors as a color component to each other, the first color space having coordinate axes corresponding to their N-color respectively, of the first color space coordinates and a predetermined second color space A color conversion definition creation program for creating an N color conversion definition that defines a correspondence relationship with coordinates,
On that computer system,
Coordinates of a third color space having coordinate axes corresponding to each of the M colors, representing coordinates obtained by using a part of the M colors (M <N) within the upper limit as color components. M color conversion definition that defines the correspondence between the coordinates of the second color space and the coordinates of the second color space, and a plurality of M colors in which the combination of the M colors is different and each of the N colors is included in any combination An acquisition unit configured to acquire each of a plurality of third color spaces corresponding to each combination;
A first color space defined by the N color conversion definition using a correspondence relationship between the coordinates of the third color space defined by each M color conversion definition acquired by the acquisition unit and the coordinates of the second color space. Among the coordinates of the coordinates of the second color space and the coordinates of the first color space where the color component of the color not included in the M color corresponding to the third color space is zero. A response determination unit;
An estimation unit that estimates a correspondence in a vertex whose correspondence is not yet determined in the correspondence determination unit among the vertices of the first color space based on a correspondence in a vertex whose correspondence is determined in the correspondence determination unit;
Interpolation calculation for obtaining a correspondence relationship at coordinates whose correspondence relationship is undetermined among the coordinates of the first color space based on the correspondence relationship determined by the correspondence determination unit and the correspondence relationship estimated by the estimation unit. A color conversion definition creating program characterized by constructing a section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007010217A JP4875503B2 (en) | 2007-01-19 | 2007-01-19 | Color conversion definition creation device and color conversion definition creation program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007010217A JP4875503B2 (en) | 2007-01-19 | 2007-01-19 | Color conversion definition creation device and color conversion definition creation program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008177902A JP2008177902A (en) | 2008-07-31 |
| JP4875503B2 true JP4875503B2 (en) | 2012-02-15 |
Family
ID=39704582
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007010217A Expired - Fee Related JP4875503B2 (en) | 2007-01-19 | 2007-01-19 | Color conversion definition creation device and color conversion definition creation program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4875503B2 (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3843611B2 (en) * | 1998-07-10 | 2006-11-08 | コニカミノルタホールディングス株式会社 | Color separation image correction method and color separation image correction device |
| JP4081944B2 (en) * | 1999-11-08 | 2008-04-30 | コニカミノルタホールディングス株式会社 | Color separation image correction method, chart, ink jet printer, color separation image correction device, and recording medium |
| JP4228207B2 (en) * | 2003-07-16 | 2009-02-25 | 富士ゼロックス株式会社 | Color image processing method, color image processing apparatus, color image processing program, and storage medium |
| JP4228208B2 (en) * | 2003-07-24 | 2009-02-25 | 富士ゼロックス株式会社 | Color image processing method, color image processing apparatus, color image processing program, and storage medium |
| JP5074659B2 (en) * | 2004-06-09 | 2012-11-14 | 富士フイルム株式会社 | Color conversion definition creation method, color conversion definition creation device, and color conversion definition creation program |
-
2007
- 2007-01-19 JP JP2007010217A patent/JP4875503B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008177902A (en) | 2008-07-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6922446B2 (en) | Profile adjustment method | |
| JP2002112055A (en) | Color reproduction characteristic display device and color reproduction characteristic display program record medium | |
| JP6950513B2 (en) | Color conversion table adjustment method, color conversion table adjustment program, color conversion table adjustment device, and color conversion table adjustment system | |
| JP4189169B2 (en) | Color conversion definition correcting device and color conversion definition correcting program | |
| JP6156401B2 (en) | Color conversion method, program, and image processing apparatus | |
| US20070285694A1 (en) | Color conversion definition creation apparatus and color conversion definition creation program storage medium | |
| JP5299232B2 (en) | Color conversion table creation program, color conversion table creation device, and color conversion table creation method | |
| JP2007280402A (en) | System and method for generating gray tones from color image data | |
| JP4189188B2 (en) | Color conversion definition correction method, color conversion definition correction apparatus, and color conversion definition correction program | |
| JP4875503B2 (en) | Color conversion definition creation device and color conversion definition creation program | |
| JP2003289446A (en) | Method, apparatus and program for providing color reproduction characteristic | |
| JP5074659B2 (en) | Color conversion definition creation method, color conversion definition creation device, and color conversion definition creation program | |
| JP4518011B2 (en) | Information processing apparatus, information processing system, information processing method, and information processing program | |
| JP4010952B2 (en) | Color conversion definition creation method, color conversion definition creation device, and color conversion definition creation program | |
| JP4629463B2 (en) | Color conversion definition display device, color conversion definition display program, and color conversion definition display method | |
| JP5903946B2 (en) | Color processing apparatus and color processing program | |
| JP4675155B2 (en) | Color data processing method, color data processing system, color data processing program, and recording medium recording the same | |
| JPH11220630A (en) | Method for generating three-dimensional look up table, image processor executing the same and digital color printer provided with the same | |
| JP4459127B2 (en) | Color processing method and apparatus | |
| JP4250609B2 (en) | Color processing method, apparatus, and recording medium | |
| JP4921339B2 (en) | Color processing apparatus and method | |
| JP2007324862A (en) | Chart data creation device, chart data creation program, and chart data creation method | |
| JP2006013608A (en) | Color transformation definition correcting device and program | |
| JP2004140645A (en) | Video signal processing device | |
| JP2017216564A (en) | Separation apparatus, separation method and printed matter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090911 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110330 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110412 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110607 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110809 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111006 |
|
| 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: 20111101 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111125 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141202 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |