JP4092544B2 - Color conversion device, color conversion method, color conversion program, color conversion table creation method, color conversion table creation device, color conversion table creation program, color conversion table, and medium on which color conversion table data is recorded - Google Patents

Color conversion device, color conversion method, color conversion program, color conversion table creation method, color conversion table creation device, color conversion table creation program, color conversion table, and medium on which color conversion table data is recorded Download PDF

Info

Publication number
JP4092544B2
JP4092544B2 JP2002077766A JP2002077766A JP4092544B2 JP 4092544 B2 JP4092544 B2 JP 4092544B2 JP 2002077766 A JP2002077766 A JP 2002077766A JP 2002077766 A JP2002077766 A JP 2002077766A JP 4092544 B2 JP4092544 B2 JP 4092544B2
Authority
JP
Japan
Prior art keywords
color
image data
hue
data
color conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2002077766A
Other languages
Japanese (ja)
Other versions
JP2003283850A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002077766A priority Critical patent/JP4092544B2/en
Publication of JP2003283850A publication Critical patent/JP2003283850A/en
Application granted granted Critical
Publication of JP4092544B2 publication Critical patent/JP4092544B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、色変換装置、色変換方法、色変換プログラム、色変換プログラムを記録した媒体、色変換テーブル作成方法、色変換テーブル作成装置、色変換テーブル作成プログラム、色変換テーブル作成プログラムを記録した媒体、色変換テーブルおよび色変換テーブルのデータを記録した媒体に関する。
【0002】
【従来の技術】
ディスプレイで表示可能なR(赤)、G(緑)、B(青)の3要素色からなる画像を所定数の要素色、例えば、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の4色のインクを使用してプリンタで印刷する場合などでは、変換前後のカラー画像データの対応関係を複数の参照点について規定したLUT(色変換テーブル)を参照して色変換が行われる。同LUTを作成する際には、以下の手順を踏むことになる。
まず、RGBからなるカラー画像データをsRGB等の決められた定義に従ってLab空間の各Lab値に対応付けるとともに、CMYKのそれぞれについて濃さを複数段階とした複数のパッチ(基準画像)を印刷させ、所定の光源(通常、D50光源)のもとで複数のパッチを測色し、測色結果を各Lab値として取得する。D50光源を使用するのは、太陽光に相当する光源であるためである。そして、全パッチの測色結果の中から、RGBからなるカラー画像データと対応付けられた各Lab値に近い複数の測色結果を抽出し、補間演算を用いてRGBからなるカラー画像データとCMYKからなるカラー画像データとの対応関係を求めることにより、LUTを作成する。
【0003】
ここで、人間の目は画像のうちR=G=Bである無彩色(グレー)部分について敏感であるので、LUTのデータのうちグレー軸部分については、変換後のカラー画像データに基づく画像のグレーバランスが良好となるように設定することにしている。その手法は様々あるが、例えば、標準の画像機器に基準画像を出力させ、D50光源のもとで同基準画像を目視することにより、同D50光源のもとでグレーバランスが最も良好となるようにデータを設定可能である。そして、プリンタに接続したコンピュータに同LUTを記憶させ、グレーを表現するカラー画像データをコンピュータに入力すると、同コンピュータはLUTを参照してカラー画像データを色変換してプリンタにカラー画像データに基づく画像を印刷させる。すると、印刷された画像は、太陽光のもとでグレーバランスの良好な画質となる。
【0004】
【発明が解決しようとする課題】
上述した従来の技術では、グレーを表現するカラー画像データから上記LUTに基づいて変換されて印刷された画像を白熱灯や蛍光灯等の光源のもとで見ると、グレーバランスが十分にはとれていないことがあった。印刷用紙にインクを付着させて色を表現する際、人間の色の見え方は光源の分光分布とインクおよび印刷用紙の反射率と人間の目の特性を加味した等色関数との積で表現されることとなり、例えば、太陽光のもとではグレーに見える色が室内灯のもとでは色味を帯びて見え、異なる色に見えてしまうことがあった。
本発明は、上記課題にかんがみてなされたもので、光源が変わっても、変換後のカラー画像データに基づいて出力される画像の無彩色がほぼ同じ色に見えるようにさせ、画質を向上させることが可能な色変換装置、色変換方法、色変換プログラム、色変換プログラムを記録した媒体、色変換テーブル作成方法、色変換テーブル作成装置、色変換テーブル作成プログラム、色変換テーブル作成プログラムを記録した媒体、色変換テーブルおよび色変換テーブルのデータを記録した媒体の提供を目的とする。
【0005】
【課題を解決するための手段】
上記目的を達成するため、請求項1にかかる発明は、複数の要素色に対応した階調データからなる第一カラー画像データを入力し、画像機器で使用可能な複数の別の要素色に対応した階調データからなる第二カラー画像データに変換する色変換装置であって、上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させ、第一の光源のもとで上記複数の基準画像を測色して明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得し、第二の光源のもとで上記複数の基準画像を測色して上記色空間の各成分値から構成される第二の測色結果を取得し、上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定したとき、上記第一カラー画像データのうち無彩色成分に相当するデータについては上記画像機器にて出力される画像の色相が上記特定された色相平面の領域となるように上記第二カラー画像データに変換する構成としてある。
【0006】
本色変換装置は、以下のようにして色相平面の領域を特定したときに、複数の要素色に対応した階調データからなる第一カラー画像データのうち無彩色成分に相当するデータについては、画像機器にて出力される画像の色相が同特定された色相平面の領域となるように複数の別の要素色に対応した階調データからなる第二カラー画像データに変換する。
まず、階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を画像機器に出力させる。次に、第一の光源のもとで複数の基準画像を測色し、明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得する。また、第二の光源のもとで複数の基準画像を測色し、第一の測色結果と同じ色空間の各成分値から構成される第二の測色結果を取得する。さらに、上記色空間の中に第一・第二の測色結果(第一の測色結果と第二の測色結果。以下、同様)を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定する。
【0007】
そして、第一カラー画像データを入力し、同第一カラー画像データのうち無彩色成分に相当するデータについては画像機器にて出力される画像の色相が上記特定された色相平面の領域となるように第二カラー画像データに変換するので、第二カラー画像データに基づいて出力される画像は、第一・第二の光源が置き換えられても無彩色の見え方の差異が小さい。すなわち、第一の光源のもとでも、第二の光源のもとでも、同画像の無彩色はほぼ同じ色に見える。従って、光源が変わっても、変換後のカラー画像データに基づいて出力される画像の無彩色がほぼ同じ色に見えるようにさせ、画質を向上させることが可能となる。
【0008】
ここで、本発明を適用可能な画像機器は様々考えられ、例えば、印刷することにより画像を出力するプリンタ等の印刷装置であってもよいし、画像を表示により出力するディスプレイであってもよい。また、画像機器で使用可能な第二カラー画像データは、そのままの状態で画像機器に使用されるデータであってもよいし、所定の変換が行われた後に画像機器に使用されるデータであってもよく、このようなデータであっても本発明にいう画像機器で使用可能な第二カラー画像データに含まれる。
第二カラー画像データの要素色は様々考えられ、例えば、CMYKからなる4色であってもよいし、さらにライトシアン、ライトマゼンタ、ダークイエロー、ライトブラック等が加えられていてもよい。第一カラー画像データの要素色も様々考えられ、例えば、RGBの各成分から構成されてもよいし、輝度データとブルーの色差データとレッドの色差データから構成されてもよいし、明度データと二種類の色度データから構成されてもよい。
【0009】
ここで、請求項2にかかる発明のように、第一・第二カラー画像データの対応関係を複数の参照点について決定して作成された色変換テーブルを参照してカラー画像データを変換してもよい。同色変換テーブルは、上記のようにして色相平面の領域を特定し、第一カラー画像データのうち無彩色成分に相当するデータに対応する参照点については第二カラー画像データに対応して画像機器にて出力される画像の色相が上記特定された色相平面の領域となるように第一・第二カラー画像データの対応関係を決定して作成される。そして、同色変換テーブルを参照してカラー画像データを変換すると、出力画像の無彩色は光源が変わってもほぼ同じ色に見えるので、画質を向上させることができる。
むろん、色変換テーブルを用いる以外にも、所定の換算式を用いてカラー画像データを変換してもよいし、ハードウェアの色変換回路を使用してカラー画像データを変換してもよい。
【0010】
測色結果の差異が小さい色相を特定するための色空間は、均等色空間であってもよい。均等色空間では空間内の距離差が色差に相当することから、測色結果の差異を評価するのに好適である。従って、より確実に出力画像の無彩色が複数の光源のもとでほぼ同じ色に見えるようにさせることが可能となる。ここで、均等色空間の具体例としては、Lab空間が挙げられる。
上記発明によれば、色空間の具体例を提供することができ、より確実に画質を向上させることが可能となる。
また、測色結果の差異が小さい色相を特定するための色空間は、デバイスに依存しない色空間であってもよい。デバイスに依存しない色空間でも、測色結果の差異を評価するのに好適であるため、より確実に出力画像の無彩色が複数の光源のもとでほぼ同じ色に見えるようにさせることができる。
むろん、色空間は均等色空間やデバイスに依存しない色空間とされていても、測色結果の差異が小さい色相を特定するが可能であることは言うまでもない。
【0011】
色相を特定する際、明度軸および当該明度軸に直交する色相平面で表現される色空間の中に第一・第二の測色結果を対応付けるとともに、同色空間内で同明度軸を中心として当該明度軸周りに同色相平面を所定数の領域に区分し、区分した領域単位で同じ基準画像についての第一・第二の測色結果を比較し、比較結果に基づいて同色相平面の領域単位で色相のうち第一・第二の測色結果の差異が小さい色相を特定してもよい。区分した領域単位で色相を特定することにより、測色誤差があっても同誤差を吸収することが可能となる。なお、色相平面を区分する際には、色空間内で明度軸を中心として当該明度軸周りに色相平面を略等分割してもよいし、等分割とはならないように区分してもよい。
【0012】
測色結果の差異が小さい色相を特定するとき、色空間内における第一の測色結果の座標と第二の測色結果の座標との距離差を算出し、色相平面の各領域のうち同距離差が最も小さくなる領域の色相平面を上記差異が小さい色相として特定すると、測色結果の差異を評価するのに好適である。
【0013】
色結果の差異が小さい色相を特定するための第一・第二の光源は、CIE規格におけるD光源、A光源、または、F光源であってもよい。これらは規格化された光源であるため、測色結果の差異を評価するのに好適である。なお、D光源はD50光源でもよいし、D65光源でもよい。F光源は、F1〜F12のいずれの光源でもよい。
【0014】
これらの光源のもと、Lab表色系における明度L(0≦L≦100)および色度a,b(−100≦a≦100,−100≦b≦100)で定義されるLab空間で測色結果の差異が小さい色相を特定する際、色相のうち色差ΔEが4以下となる測色結果に相当する色相を上記差異が小さい色相として特定してもよい。上記のように定義されるLab空間で色差4以下となれば見た目でほとんど差が感じられないため、変換後のカラー画像データに基づく画像の無彩色は光源が変わってもほぼ同じ色に見える。
上記発明によれば、確実に出力画像の無彩色がほぼ同じ色に見えるようにさせ、画質を向上させることが可能となる。
【0015】
また、第二の光源を複数設け、同複数の第二の光源別に当該第二の光源に対応した複数の第二の測色結果を取得してもよい。すなわち、三種類以上の光源のもとで測色結果を取得して上記差異が小さい色相を特定するので、より確実に出力画像の無彩色が複数の光源のもとでほぼ同じ色に見えるようにさせることが可能となる。
上記発明によれば、より確実に画質を向上させることが可能となる。
【0016】
なお、上述した色変換装置は、単独で実施される場合もあるし、プリンタに対して印刷制御を行うコンピュータに組み込まれたりカラー画像データを変換して印刷を行う印刷装置に組み込まれたり、さらにある機器に組み込まれた状態で他の方法とともに実施されることもあるなど、発明の思想としては各種の態様を含むものであって、適宜、変更可能である。
また、上述したカラー画像データを変換する際の手法は、所定の手順に従って処理を進めていくうえで、その根底にはその手順に発明が存在するということは当然である。従って、本発明は方法としても適用可能であり、請求項3にかかる発明においても、基本的には同様の作用となる。
【0017】
本発明を実施しようとする際に、色変換装置にて所定のプログラムを実行させる場合もある。そこで、そのプログラムとしても適用可能であり、請求項4にかかる発明においても、基本的には同様の作用となる。
さらに、上記プログラムを記録した媒体が流通し、同記録媒体からプログラムを適宜コンピュータに読み込むことが考えられる。従って、そのプログラムを記録したコンピュータ読み取り可能な記録媒体としても適用可能であり、請求項11にかかる発明においても、基本的には同様の作用となる。
むろん、請求項2に記載された構成を上記方法やプログラムやプログラムを記録した媒体に対応させることも可能である。
【0018】
ところで、第一カラー画像データのうち無彩色成分に相当するデータに対応する参照点については第二カラー画像データに対応して出力される画像の色相が上記特定された色相平面の領域となるように対応関係を規定した色変換テーブルを作成すると、同色変換テーブルを参照して変換されるカラー画像データに基づく出力画像の無彩色は、複数の光源のもとでもほぼ同じ色に見える効果が得られる。従って、請求項5にかかる発明のように、本発明は色変換テーブル作成方法としても有効である
【0019】
ここで、第一・第二カラー画像データの対応関係を複数の参照点について規定した中間色変換テーブルを作成した後、第一カラー画像データのうち無彩色成分に相当するデータに対応する第二カラー画像データについては、当該第二カラー画像データに対応して出力される画像の色相が上記特定された色相平面の領域となるように同中間色変換テーブルから同第二カラー画像データを置き換えて色変換テーブルを作成してもよい。すなわち、最後の段階で色変換テーブルの無彩色成分に相当するデータを置き換えればよいので、上記効果が得られる色変換テーブルを容易に作成することができる。
【0020】
むろん、第一カラー画像データと色空間の各成分値との入力側対応関係を決定し、複数の参照点において入力側対応関係と測色結果とを対応付けて第一・第二カラー画像データとの対応関係を決定するにあたり、第一カラー画像データのうち無彩色成分に相当するデータに対応する参照点については、入力側対応関係を規定する色空間の各成分値を上記特定された色相平面の領域の各成分値に置き換えて入力側対応関係と測色結果とを対応付けて対応関係を決定し、色変換テーブルを作成してもよい。すなわち、第一・第二カラー画像データを同じ色空間内でマッピングするときに無彩色成分に相当するデータを置き換えて、色変換テーブルを作成することができる。
【0021】
上述した色変換テーブルを作成する手法は、実体のある装置においても実現可能であり、請求項6にかかる発明のように本発明はその装置としても適用可能である。むろん、このような装置は単独で実施される場合もあるし、ある機器に組み込まれた状態で他の方法とともに実施されることもあるなど、発明の思想としては各種の態様が含まれる。
発明の思想の具現化例として、ソフトウェアにより色変換テーブル作成方法を実施する場合もありうるので、請求項7にかかる発明のように本発明は色変換テーブル作成プログラムとしても適用可能である。
さらに、上記プログラムを記録した媒体が流通し、同記録媒体からプログラムを適宜コンピュータに読み込むことが考えられるので、同プログラムを記録したコンピュータ読み取り可能な記録媒体としても適用可能である。
【0022】
また、上記色変換テーブル自体であっても、同色変換テーブルを参照して変換されるカラー画像データに基づく出力画像の無彩色は複数の光源のもとでもほぼ同じ色に見える効果が得られる。従って、請求項8にかかる発明のように本発明は色変換テーブルとしても有効であるし、同色変換テーブルのデータを記録した媒体を流通させ、同記録媒体から色変換テーブルのデータを適宜コンピュータに読み込むことも考えられるので、請求項9にかかる発明のように本発明は色変換テーブルのデータを記録したコンピュータ読み取り可能な記録媒体としても有効である。
【0023】
ここで、色変換プログラムを記録した媒体や、色変換テーブル作成プログラムを記録した媒体や、色変換テーブルのデータを記録した媒体は、磁気記録媒体や光磁気記録媒体等の他、今後開発されるいかなる記録媒体であってもよい。また、一部がソフトウェアであって、一部がハードウェアで実現される場合においても本発明の思想において全く異なるものではなく、一部を記録媒体上に記録しておいて必要に応じて適宜読み込む形態のものも含まれる。一次複製品、二次複製品などの複製段階については全く問う余地なく同等である。
【0024】
【発明の効果】
以上説明したように、請求項1、3〜9にかかる発明によれば、光源が変わっても、変換後のカラー画像データに基づいて出力される画像の無彩色がほぼ同じ色に見えるようにさせ、画質を向上させることが可能となる。
【0025】
請求項2にかかる発明によれば、カラー画像データを変換する具体例を提供することができ、きめ細やかな変換を行うことが可能となる
【0026】
【発明の実施の形態】
以下、下記の順序に従って本発明の実施形態を説明する。
(1)色変換装置および色変換テーブル作成装置の構成:
(2)光源の違いによる色の見え方の違い:
(3)色変換テーブル作成方法:
(4)色変換装置の作用と効果:
(5)第二の実施形態:
【0027】
(1)色変換装置および色変換テーブル作成装置の構成:
図1は、本発明の第一の実施形態にかかる色変換装置および色変換テーブル作成装置を含む印刷システムの概略構成を示している。本印刷システムは、パーソナルコンピュータ(PC)10、画像を出力する画像機器であるカラー印刷可能なインクジェットプリンタ20、等から構成されている。
PC10は演算処理の中枢をなすCPU11を備えており、このCPU11はシステムバス10aを介してPC10全体の制御を行う。同バス10aには、ROM12、RAM13、CD−ROMドライブ15、フレキシブルディスク(FD)ドライブ16、各種インターフェイス(I/F)17a〜e等が接続されている。また、ハードディスクドライブを介してハードディスク(HD)14も接続されている。本実施形態のコンピュータにはデスクトップ型PCを採用しているが、コンピュータとしては一般的な構成を有するものを採用可能である。
【0028】
HD14には、ソフトウェアとしてオペレーティングシステム(OS)や画像情報等を作成可能なアプリケーションプログラム(APL)等が格納されており、これらのソフトウェアは、実行時にCPU11によって適宜RAM13に転送される。そして、CPU11は、RAM13を一時的なワークエリアとして適宜アクセスしながら種々のプログラムを実行する。
USBI/F17aには様々な周辺機器を接続可能であり、本システムを色変換テーブル作成装置として利用する場合にはカラー測色器30が接続される。カラー測色器30は、測色する対象に色検出部30aを向けることにより、CIE規格におけるLab表色系に基づく測色値、すなわち、明度を表すL値と、色相および彩度を表すa値およびb値を計測可能である。測色器30にて計測されたLab値は、USBI/F17aを介して読み込むことが可能である。むろん、測色器とPC10との接続には、RS−232C接続等、他の接続態様も採用可能である。
また、測色器を使用する以外にも様々な機器を使用することができ、例えば、RGB値を取り込み可能なカラースキャナを使用してもよい。なお、本システムを色変換装置として利用する場合には、測色器30を接続する必要はなく、代わりにデジタルカメラ等を接続してもよい。
CRTI/F17bにはカラー画像データに基づく画像を表示するディスプレイ18aが接続され、入力I/F17cにはキーボード18bやマウス18cが操作用入力機器として接続されている。また、プリンタI/F17eには、パラレルI/Fケーブルを介してプリンタ20が接続されている。むろん、プリンタ20との接続には、シリアルI/FやSCSI、USB接続など種々の接続態様を採用可能である。
【0029】
プリンタ20は、CMYKのインクを使用して、印刷用紙(印刷媒体)に対してカラー画像データに基づく画像を印刷する。むろん、4色以外のインクを使用するプリンタを採用してもよい。また、インク通路内に泡を発生させてインクを吐出するバブル方式のプリンタや、レーザープリンタ等、種々の印刷装置を採用可能である。
図2に示すように、プリンタ20では、CPU21、ROM22、RAM23、通信I/O24、コントロールIC25、ASIC26、I/F27、等がバス20aを介して接続されている。
【0030】
通信I/O24はPC10のプリンタI/F17eと接続されており、プリンタ20は通信I/O24を介してPC10から送信されるCMYKに変換されたカラー画像データやページ記述言語等からなる印刷ジョブを受信する。コントロールIC25は、CPU21と所定の信号を送受信しながらカートリッジホルダ25aへのインクカートリッジ28の装着状態を検出等する。ASIC26は、CPU21と所定の信号を送受信しつつヘッド駆動部26aに対してCMYKデータに基づく印加電圧データを出力する。同ヘッド駆動部26aは、同印加電圧データに基づいて印刷ヘッドに内蔵されたピエゾ素子への印加電圧パターンを生成し、印刷ヘッドに4色のインクをドット単位で吐出させる。印刷ヘッドのインク吐出面には、4色のインクを吐出する4組のノズル列が印刷ヘッドの主走査方向に並ぶように形成され、ノズル列のそれぞれは複数のノズルが副走査方向に一定の間隔で直線状に配置されている。I/F27に接続されたキャリッジ機構27aや紙送り機構27bは、印刷ヘッドを主走査させたり、適宜改ページ動作を行いながら印刷用紙を順次送り出して副走査を行ったりする。そして、CPU21が、RAM23をワークエリアとして利用しながらROM22に書き込まれたプログラムに従って各部を制御する。
【0031】
PC10では、以上のハードウェアを基礎としてバイオスが実行され、その上層にてOSとAPLとが実行される。OSには、プリンタI/F17eを制御するプリンタドライバ等の各種のドライバ類が組み込まれ、OSの一部となってハードウェアの制御を実行する。プリンタドライバは、プリンタI/F17eを介してプリンタ20と双方向の通信を行うことが可能であり、GDI(Graphics Device Interface )等が組み込まれたOSを介してAPLから印刷データを受け取って印刷ジョブを作成し、プリンタ20に送出する。そして、本発明の色変換プログラムおよび色変換テーブル作成プログラムは、同プリンタドライバから構成される。むろん、APLにより構成することも可能である。また、HD14はこれらのプログラムや色変換テーブルのデータを記録した媒体であるが、同媒体は、例えば、CD−ROM、FD16a、光磁気ディスク、不揮発性メモリ、パンチカード、バーコード等の符号が印刷された印刷媒体、等であってもよい。むろん、モデム等の通信I/F17dをインターネット網に接続し、所定のサーバにアクセスして本印刷制御プログラムをダウンロードして実行させることも可能である。
【0032】
HD14には、変換前のRGB3要素色からなる第一カラー画像データ(以下、RGBデータと記載)を構成する階調データと、変換後のCMYK4要素色からなる第二カラー画像データ(以下、CMYKデータと記載)を構成する階調データと、の対応関係を複数の参照点について規定したルックアップテーブルと呼ばれるLUT(色変換テーブル)が記憶されている。同LUTは、後述する色変換テーブル作成方法により作成されるものである。プリンタドライバは、LUTを参照してカラー画像データを色変換し、プリンタ20に対して印刷制御を行う。図3は同印刷制御の処理をフローチャートにより示しており、図4は画像を印刷する際の動作を概念図により示している。
図4のディスプレイ18aの表示画面はレタッチ等を実行可能なAPLの実行画面を示しており、ディスプレイドライバの処理によって画像データに基づく画像I1がディスプレイ18a上に表示されるようになっている。本発明による効果は特に低彩度の略無彩色で顕著に現れることから、背景が暗く略無彩色を多く含む画像I1を例にして説明する。表示画面は印刷実行指示を行う状態の画面であり、マウス18cにてファイルメニュー内の印刷タブを選択すると図3のフローが開始される。
【0033】
まず、印刷させる画像を表現するsRGB色空間で定義されるRGBデータを入力する(ステップS105。以下、「ステップ」の記載を省略)。RGBデータとCMYKデータ(RGB/CMYKcmデータと記載。以下、同様)は、ともに画像をドットマトリクス状のRGBまたはCMYK各256階調の画素別とされた階調データで表現したカラー画像データである。すなわち、RGB/CMYKデータを構成する各画素の階調値は、R,G,B,C,M,Y,Kをそれぞれ0〜255の整数値として、(R,G,B)、(C,M,Y,K)の座標で表すことができる。むろん、階調数は適宜様々に設定可能であり、例えば1024階調や100階調等としてもよいし、RGB/CMYKcmデータの階調数は異なっていてもよい。なお、RGBデータを入力する際、データ全体を一括して読み込む必要はなく、部分的に読み込むようにしてもよいし、データの受け渡しに利用されるバッファ領域を表すポインタの受け渡しだけであってもよい。
【0034】
次に、RGB/CMYKcmデータの対応関係を規定した上記LUTを参照して色変換を行う(S110)。その際、RGBデータを構成する各画素の階調データを変換対象として順次対象画素を移動させながら、RGBデータをCMYKインクのそれぞれの使用量に対応した階調データからなるCMYKデータに色変換する。図4に示すように、LUTはCMYK別に8ビットからなる階調データが格納されてHD14に記憶されており、補間演算を前提として、例えばRGB各17すなわち17の3乗個の格子点に対応した大量のデータを備えている。図では、わかりやすく説明するためLUT中にRGBデータを示しているが、実際にはRGBデータを構成する各階調データに対応するアドレスからCMYK32ビット分のデータを参照することにより、RGBデータをCMYKデータに色変換するようになっている。なお、入力するRGBデータに一致するCMYKデータがLUTに格納されていない場合には、入力するRGBデータに近い複数のRGBデータに対応するCMYKデータを取得し、体積補間等の補間演算により入力するRGBデータに対応するCMYKデータに変換する。
そして、同LUTは、グレー軸部分、すなわち、RGBデータのうち無彩色成分に相当するデータ(図中、r=g=bで示している)に対応する参照点については、CMYKデータに対応してプリンタ20にて印刷される画像I2の色相が、複数の光源のもとでパッチの測色結果の差異が小さい色相となるようにRGB/CYMKデータの対応関係を複数の参照点について規定したテーブルである。
【0035】
なお、入力するカラー画像データはRGBデータ以外であってもよく、例えば、CIE規格におけるLuv表色系における明度指数L、クロマティクネス指数u,vから構成された画像データや、YUV表色系における輝度(Y成分)、Bの色差(U成分)、Rの色差(V成分)から構成された画像データ等がある。この場合、LuvデータまたはYUVデータとCMYKデータとの対応関係を規定したLUTを使用して色変換を行えばよい。
その後、ハーフトーン処理によりCMYKデータを二値化し、2階調のCMYKデータを作成する(S115)。また、ラスタライズ処理により、2階調のCMYKデータを並べ替える(S120)。そして、CMYKデータをプリンタ20に対して出力し(S125)、本フローを終了する。すると、プリンタ20は、画像を表現するCMYKデータを入手し、これらのデータに基づいて印刷ヘッドを駆動してインクを印刷用紙上に吐出し、画像データに基づく画像I2を印刷する。その結果、図4に示すように、光源LI1によっても、光源LI2によっても、同画像I2の無彩色はほぼ同じ色に見えるようになる。
なお、ハーフトーン処理を実行可能なプリンタであれば多階調のCMYKデータをそのままプリンタに対して出力すればよい。むろん、本実施形態のように、ハーフトーン処理等を行ってからCMYKデータをプリンタに対して出力する場合であっても、多階調のCMYKデータは本発明にいう第二カラー画像データとなる。
【0036】
(2)光源の違いによる色の見え方の違い:
従来、LUTのグレー軸部分については、太陽光に相当するD50光源のもとでグレーバランスが最も良好となるようにデータを設定していた。しかし、グレーを表現するカラー画像データから同LUTに基づいて変換されて印刷された画像を白熱灯や蛍光灯等の光源のもとで見ると、異なる色に見えてしまうことがあった。その理由は、以下の通りである。
まず、人間の目における色の見え方を説明する。図5は、人間の目における色の見え方を説明する説明図である。人間の目は光の波長によって色の差異を識別するので、人間の目に入射する光の中にどの波長の光がどれぐらい含まれているかを規定するとともに、どの波長の光に対して人間の目がどのように反応するかを規定することによって色の見え方を規定することができる。
【0037】
印刷物から人間の目に入射する光の波長は、光源に含まれる波長の分布すなわち光源の分光分布L(λ)と、印刷物からの反射光に含まれる波長の分布すなわち印刷物の分光反射率R(λ)とから規定される。人間の目が光の波長にどのように反応するかは、等色関数x(λ),y(λ),z(λ)で規定される。ここで、x(λ),y(λ),z(λ)は、それぞれ赤色成分、緑色成分、青色成分の感度を示している。なお、各等色関数には通常その文字の上に「横線」を付してエックスバーなどと表現するが、本明細書では「横線」を省略する。また、インクジェットプリンタにおいて、分光反射率R(λ)は露出部分における印刷用紙の分光反射率とインクの分光反射率とを重畳(面積比を係数とした線形結合)して生成される。これらの式において、上記λは光の波長である。
【0038】
色の見え方は、以下に示す式のように、光源の分光分布と分光反射率と等色関数とを乗じて波長で積分することによって三刺激値XYZとして計算される。
【数1】

Figure 0004092544
【0039】
人間の目において色の見え方はこの三刺激値XYZによって規定され、三刺激値XYZの値の組み合わせによって色が一義的に決定する。この三刺激値を規定する要因のうち、等色関数x(λ),y(λ),z(λ)は人間の目の特性の平均値であって人為的に変更不可能であり、分光反射率R(λ)はインクの種類が変わると変化し、光源の分光分布L(λ)は光源が変わると変化する。本発明では、以下に述べる手順で光源による差異が小さい色相を特定して作成されるLUTを使用して色変換することにより、色変換後のカラー画像データに基づく画像のうち人間の目の敏感な無彩色部分について、光源が変わっても不自然に感じられるほど色は大きく変化せず、ほぼ同じ色に見えるようにさせて画質を向上させる。なお、インクの種類に応じて分光反射率が変わるため、インクの種類に応じて光源による差異が小さい色相は異なる。
【0040】
(3)色変換テーブル作成方法:
図6は、本発明の第一の実施形態にかかる色変換テーブル作成方法の各工程を説明する図である。
画像出力工程S11では、階調データを複数段階とした複数のCMYKデータに対応する複数のパッチ(基準画像)PAをプリンタ20に印刷させる。複数の光源のもとでの測色結果の差異が小さい色相を特定する以外にもCMYKデータをRGBデータとマッチングさせる際にCMYKからなる色空間全領域の測色結果D1を使用することになるため、本実施形態では、CMYKからなる色空間の全領域についてCMYK各色の濃度についてそれぞれ複数段階としたCMYKデータ基づく複数のパッチPAを印刷用紙上に印刷させることにしている。むろん、グレー近傍のCMYK各色の濃度についてそれぞれ複数段階としたCMYKデータ基づく複数のパッチPAを印刷用紙上に印刷させてもよい。この場合、例えば、CMYK各色の濃度についてそれぞれ複数段階とり、予想されるLab空間内のa,b値について(a2 +b21/2 が所定値以下となるCMYKの各濃度に相当するCMYKデータを生成してパッチを印刷させるようにすればよい。このようにすると、Lab空間内においてL軸までの距離が略所定値以下となる各CMYKのパッチが印刷されることになる。
【0041】
第一測色結果取得工程S12では、第一の光源LI1のもとでnの4乗個のパッチPAを測色器30にて測色し、明度および色相で表現される所定のLab空間の各Lab値から構成される第一の測色結果D1を取得する。すなわち、第一の測色結果D1は、各CMYKの階調値から代表的な階調値をn段階選択し、各色と各階調値の全ての組み合わせについてのパッチを印刷して測色し、CMYKの階調値の組み合わせをLab空間の各成分値に対応づけたサンプルデータである。ここで、本実施形態の第一の光源LI1はCIE(国際照明委員会)が規定したD50光源を採用しているが、他のD光源、白熱灯に相当するA光源、蛍光灯に相当するF光源等であってもよい。
一方、第二測色結果取得工程S13では、第二の光源LI2のもとで同じパッチPAを同じ測色器30にて測色して上記Lab空間の各Lab値から構成される第二の測色結果D2を取得する。本実施形態の第二の光源LI2はCIEが規定したA光源を採用しているが、他の光源であってもよい。
【0042】
色相特定工程S14では、同じパッチPAについての測色結果D1,D2を比較し、比較結果に基づいてLab空間内の色相のうち測色結果D1,D2の差異が小さい色相を特定する。図7は、測色結果から色相を特定する様子を示している。
図では、測色結果D1,D2をLab空間のab平面(色相平面)にプロットしている。Lab平面は、Lab表色系における明度L(0≦L≦100)および色度a,b(−100≦a≦100,−100≦b≦100)で定義されるデバイスに依存しない均等色空間であり、L軸(明度軸)と同L軸に直交するab平面で表現される。ここで、0≦L<10、10≦L<20、・・・、90≦L≦100とL軸を10等分に帯域分割し、第一の測色結果D1のL値がL軸の各区分に入るようにLab空間の中に第一・第二の測色結果D1,D2を対応付けている。なお、図のab平面は、横軸がa値、縦軸がb値であり、L軸は原点Oを通っている。第一の測色結果D1はab平面上に丸印でプロットし、第二の測色結果D2はab平面上に三角印でプロットするとともに、同じパッチについての測色結果D1,D2を線で結んでいる。また、30≦L<40、40≦L<50、50≦L<60の3区分を例として示しているが、その他の区分も同様に測色結果をプロットしている。
【0043】
測色結果D1,D2の差異が小さい色相を特定するにあたり、Lab空間内でL軸を中心として同L軸周りにab平面を等分割している。図6では4領域に区分した様子を模式的に示したが、図7では8領域に等分割、すなわち、原点Oを中心として45度ずつ等分割されるようにab平面を区分する例を示している。むろん、区分数はこれらに限定されるものではないし、等分割ではなく不均一に分割することも可能である。次に、区分した領域単位で同じパッチについての第一・第二の測色結果を比較し、比較結果に基づいてab平面の領域単位でLab空間内の色相のうち第一・第二の測色結果の差異が小さい色相を特定する。同色相は、Lab空間内における測色結果D1,D2の座標の距離差を算出したとき、ab空間の各領域のうち同距離差が最も小さくなる領域のab平面である。図では、R1〜R3が測色結果D1,D2の差異が小さい色相領域となっている。
上記距離差は、例えば、各パッチの測色結果D1,D2の色差を領域別に平均して求められる。ここで、Lab空間内における第一の測色結果D1の座標を(L1,a1,b1)、第二の測色結果D2の座標を(L2,a2,b2)として、以下の式により色差を算出することができる。
【数2】
Figure 0004092544
【0044】
上記の手順で測色結果D1,D2の差異が小さい色相平面の領域を特定すると、色差ΔEは4以下となる。ここで、人間の目は上記Lab空間でΔE≦4であればほとんど差を感じないため、Lab空間の色相のうち色差ΔEが4以下となる測色結果に相当する色相を測色結果D1,D2の差異が小さい色相として特定するようにしてもよい。むろん、印刷される画質をより向上させるため、ΔE≦3、ΔE≦2、ΔE≦1となる測色結果に相当する色相を第一・第二の測色結果の差異が小さい色相として特定するようにしてもよい。
【0045】
テーブル作成工程S15では、RGB/CMYKデータの対応関係を例えば17の3乗個の参照点について決定してLUTを作成する。なお、図6には示していないが、RGBデータとLab空間の各Lab値との入力側対応関係を決定する入力側対応関係決定工程が設けられており、この入力側対応関係と第一の測色結果D1とを複数の参照点において対応付けることにより、RGB/CMYKデータの対応関係を決定する。その際、RGBデータのうち無彩色成分に相当するデータ、すなわち、RGBの階調値が全て同じとなっているデータ(図6ではr=g=bと記載)に対応する参照点については、CMYKデータに対応して出力される画像の色相が測色結果D1,D2の差異が小さい色相平面の領域となるようにRGB/CMYKデータの対応関係を決定する。
【0046】
なお、LUTを作成する手順は、様々考えられる。例えば、図8に示すように、一旦、中間色変換テーブルD12を作成して最終的なLUTを作成してもよい。この場合、入力側対応関係を複数の参照点について規定するデータD11を生成し、マッピングにより第一の測色結果D1と対応付けてRGB/CMYKデータの対応関係を規定した中間色変換テーブルD12を作成した後、RGBデータのうち無彩色成分に相当するデータ(r=g=b)に対応するCMYKデータについて、両測色結果D1,D2の差異が小さい色相を出力させるCMYKの階調値に置き換えることにより、LUT(データD13)を作成することができる。
また、図9に示すように、RGB/CMYKデータのマッピング時にグレー軸部分(r=g=b)をずらして最終的なLUTを作成してもよい。この場合、RGBデータのうちr=g=bに対応する参照点については、入力側対応関係を規定するデータD11のLab空間の各Lab値を両測色結果D1,D2の差異が小さい色相のLab値に置き換えた後、入力側対応関係を規定するデータD14と第一の測色結果D1とを対応付けることにより、LUT(データD15)を作成することができる。なお、説明の便宜上、図中にL1,a1,b1,L2,a2,b2と記載しているが、上記演算式(2)に用いられる変数とは異なるものである。
【0047】
このように、本色変換テーブル作成方法は、多数のパッチを印刷して複数の光源のもとで測色を行い、各種データを生成することによりLUTを作成するものである。従って、コンピュータを使用して当該方法を実現すると好適である。図10は、PC10と測色器30とを色変換テーブル作成装置として使用する場合に行われるLUT作成処理の一例をフローチャートにより示している。APLの一つである色変換テーブル作成プログラムは上述した各工程に対応するモジュールを有しており、図に示す処理はこれらのモジュールの機能により実現される。
【0048】
色変換テーブル作成プログラムが起動されると、まず、PC10を使用してCMYK色空間で各軸に沿って略等間隔に離れたnの4乗個の格子点を規定するデータを作成する(S205)。ここで、CMYKそれぞれについて階調値0と255とを含めて代表的な階調値を、例えば、0(0%),64(25% ),128(50% ),192(75% ),255(100%)を選択する。この場合、5の4乗個のパッチを印刷させることになる。なお、CMYK色空間の分割位置や分割数は適宜最適な設定とすることが可能であるし、パッチ数を減らすため、CMYからK発生を前提としてCMY色空間で各軸に沿って略等間隔に離れたnの3乗個の格子点を規定するデータを作成してもよい。
次に、各格子点のCMYKデータに対応した複数のパッチPAを印刷用紙に印刷させる(S210)。すなわち、各格子点のCMYKデータに対してハーフトーン処理とラスタライズ処理を行い、処理後のCMYKデータをプリンタ20に送信する。すると、プリンタ20はCMYKデータを受信し、印刷ヘッドを駆動してインクを吐出させてドットを形成し、印刷用紙上に各格子点に対応した複数のパッチPAを印刷する。ここで、画像出力工程が終了する。
【0049】
その後、PCの操作者は、印刷させた複数のパッチPAに対して第一の光源LI1(D50光源)のもとで測色器30により測色を行う。すなわち、印刷されたパッチPAの一つ一つに測色器30の色検出部を押し当てて、順次測色を行っていく。PCでは、複数のパッチ全てについてのLab空間の各Lab値から構成される第一の測色結果D1を取得し、RAM13またはHD14の所定領域に記憶させる(S215)。すなわち、各色と各階調値の全ての組み合わせについてのパッチのLab値を取得する。ここで、USBI/F17aを介して測色器30からLab値を読み込んでもよいし、Lab値を一旦FD16aに記憶させてFDドライブ16を介して読み込んでもよい。また、キーボード18bによる操作入力を受け付けてLab値を取得してもよいし、図示しない音声入力装置を介してLab値を取得してもよい。ここで、第一測色結果取得工程が終了する。
【0050】
上記工程終了後、PCの操作者は、同じ複数のパッチPAに対してD50光源LI1とは別の第二の光源(A光源)のもとで測色器30により測色を行う。本実施形態では、RGB/CMYKデータを対応させるマッピングの際に第一の測色結果D1のみを使用するため、無彩色に近い色とされたパッチのみを測色すればよい。従って、CMYK色空間全領域でのパッチを測色する場合と比べ、測色数を減らすことができ、作業の手間が軽減される。PCでは、測色されたパッチ全てについてのLab空間の各Lab値から構成される第二の測色結果D2を取得し、RAM13等の所定領域に記憶させる(S220)。ここで、第二測色結果取得工程が終了する。
【0051】
上記工程終了後、Lab空間の中に測色結果D1,D2を対応付け、L軸を中心としてL軸周りにab平面を8領域に区分し、区分した領域別に色差ΔEの平均値を算出する(S225)。Lab空間は均等色空間なので、空間内の二点間の距離は色差に相当する。従って、パッチPA毎に色差を求めると測色結果の差異を正確に評価することができる。また、Lab空間はデバイスに依存しない色空間であることからも、より正確に測色結果の差異を評価可能である。
図11は、上記手順により色差ΔEの平均値を算出する様子を模式的に示している。例えば、区分したab平面の領域を領域1〜8と呼ぶことにして、まず、第一の測色結果D1のうちa,b値が領域1となる測色結果D1,D2の組み合わせを抽出し、上記演算式(2)を用いて順次色差ΔE1j(jは正の整数)を算出していく。ここで、測色結果D1,D2の組み合わせの抽出は、L軸を分割した帯域別に行ってもよいし、L軸の全領域についてまとめて行ってもよい。次に、色差ΔE1jの平均値ΔE1を算出する。残りの領域2〜8についても、同様にして平均値ΔEi(iは1〜8の整数)を算出する。
【0052】
その後、領域毎の色差の平均値ΔEiが最小となる領域を抽出し、この領域の色相平面を測色結果D1,D2の差異が小さい色相として特定し、その旨の情報をRAM13に記憶しておく(S230)。図11の例では、領域「6」の平均値ΔEiが最も小さいので、測色結果D1,D2の差異が小さい色相を同領域「6」のab平面と特定することができる。なお、色相の特定は、L軸の全領域についてまとめて行ってもよいし、軸を分割した帯域別に行ってもよい。
このように、区分した領域単位で色相を特定することにより、測色誤差があっても平均化されるため、同誤差を吸収することが可能となる。
この段階で、測色結果D1,D2の比較結果に基づいて同測色結果D1,D2の差異が小さい色相を特定する色相特定工程が終了する。
【0053】
上記工程終了後、入力側対応関係を決定するため、PC10を使用してRGB色空間で各軸に沿って略等間隔に離れたn(nは正の整数)の3乗個の格子点からなる立方格子を規定するデータを作成する(S235)。例えば、RGBそれぞれの階調値から0と255とを含めて代表的な階調値を17段階、例えば、0,16,32,・・・,240,255を選択する。この場合、17の3乗個の格子点を規定することになる。
次に、PCにて、格子点のRGBデータをsRGBの定義に従ってLab空間の各成分値(Lab値)に変換する(S240)。そして、RGBデータと変換後のLab値とをRAM13等の所定領域に格納することにより、RGBデータとLab空間の各成分値との入力側対応関係を規定するデータD11を作成する(S245)と、RGBデータとLab値とを対応付けることができる。ここで、入力側対応関係決定工程が終了する。
【0054】
なお、入力側対応関係はテーブル作成工程までに決定されればよいため、S205の処理の前にS235〜S245の処理を行うようにしてもよい。むろん、既に入力側対応関係が決定されていれば、S235〜S245の処理を省略可能である。
また、本フローを利用する代わりに、ディスプレイ18aに対して格子点に対応した複数の画像を出力させ、同画像に対して測色器30により測色を行ってLab値を取得してもよい。そして、格子点に対応した複数の画像をディスプレイに出力させ、画像の一つ一つに測色器30の色検出部を押し当てて順次測色を行い、画像全てについての測色結果をPCに取り込むことにより、RGBデータとLab値との入力側対応関係を規定するデータを作成することができる。
【0055】
上記工程終了後、図8に示すように、入力側対応関係を規定するデータD11と第一の測色結果D1とを複数の参照点について対応付けるマッピングを行い、中間色変換テーブルD12を作成する(S250)。すなわち、RGBデータに対応するLabデータをデータD11から取得し、取得したLabデータと同じ値のCMYKデータを測色結果D1から取得するか、または、取得したLabデータに近い複数のLabデータに対応するCMYKデータを測色結果D1から取得して補間演算によりCMYKデータを決定すると、中間色変換テーブルD12を作成することができる。なお、第一の測色結果D1の代わりに第二の測色結果D2を用いてマッピングを行ってもよいし、両測色結果D1,D2を平均、加算または加重を異ならして平均したもの等を用いてマッピングを行ってもよい。
【0056】
その後、中間色変換テーブルD12のRGBデータのうちグレー軸部分(無彩色成分に相当)のデータに対応するCMYKデータについては、同CMYKデータに対応してプリンタ20にて印刷される画像の色相がS230にて特定された色相となるように置き換え、最終的なLUTを生成する(S255)。図8では、グレー軸部分のRGBデータをr1=g1=b1等と記載してあり、中間色変換テーブルD12において対応するCMYKデータc1,m1,y1,k1等を、色差ΔEの平均値が最小となったab平面の領域(第一・第二の測色結果の差異が小さい色相平面の領域)のCMYKデータc1’,m1’,y1’,k1’等に置換する様子を示している。CMYKデータc1’,m1’,y1’,k1’は、S230にて特定されたab平面の領域内となる階調値にすればよく、様々な手法により決定可能である。例えば、L成分を第一の測色結果D1と同じにしておき、a,b成分については上記特定された色相領域内でa2 +b2 ≦4とL軸近傍となるようにすることにより、同Lab値に対応するCMYKの階調値を中間色変換テーブルD12から置換することができる。また、L軸を分割した帯域別に測色結果D1,D2の差異が小さい色相領域を特定した場合には、中間色変換テーブルD12の無彩色成分についてL軸のどの分割帯域に入るかをみて、中間色変換テーブルD12から同分割帯域毎に特定された色相領域内となるCMYKの階調値に置換すればよい。
【0057】
このようにして生成されたLUT(データD13)のグレー軸部分におけるCMYKデータは、光源の違いによるグレーの見た目の差異が小さくなるような色相にさせる階調値となる。
そして、作成したLUTをHD14の所定領域に記憶させ(S260)、本フローを終了する。ここで、テーブル作成工程が終了する。すると、作成されたLUTは、RGBデータのうち無彩色成分に相当するデータに対応する参照点についてはCMYKデータに対応して出力される画像の色相が第一・第二の光源のもとでの測色結果の差異が小さい色相となるように複数の参照点についてRGB/CMYKデータの対応関係を規定したデータとなる。
【0058】
なお、中間色変換テーブルを作成せず、マッピング時にグレー軸部分をずらす場合、図12に示すフローチャートに従ってLUT作成処理を行えばよい。本フローでは、S205〜S245,S260については図10で示したフローによる同じ処理を行い、S250〜S255の代わりにS305〜S310の処理を行うようになっている。
すなわち、S205〜S245の処理を行って入力側対応関係を規定するデータD11を作成すると、同データD11のうちグレー軸部分の各Lab値を、S230にて特定された色相のLab値となるように置き換える(S305)。図9では、グレー軸部分のRGBデータをr1=g1=b1等と記載してあり、データD11において対応するLabデータL1,a1,b1等を、色差ΔEの平均値が最小となったab平面の領域のLabデータL1’,a1’,b1’等に置換する様子を示している。LabデータL1’,a1’,b1’は、S230にて特定されたab平面の領域内となる階調値にすればよく、様々な手法により決定可能であり、上述した例を準用可能である。
【0059】
その後、置換後の入力側対応関係を規定するデータD14と第一の測色結果D1とを対応付けるマッピングを行い、RGB/CMYKデータの対応関係を複数の参照点について決定して最終的なLUTを作成する(S310)。すると、同LUT(データD15)のグレー軸部分におけるCMYKデータは、光源の違いによるグレーの見た目の差異が小さくなるような色相にさせる階調値となる。そして、作成したLUTをHD14の所定領域に記憶させ(S260)、本フローを終了する。
このように、RGBデータのうち無彩色成分に相当するデータに対応するLUTの参照点については、入力側対応関係を規定するLab色空間の各Lab値を第一・第二の光源のもとでの測色結果の差異が小さいとして特定された色相の各Lab値に置き換えることにより、RGB/CMYKデータの対応関係を決定してLUTを作成することができる。
【0060】
(4)色変換装置の作用と効果:
以上のようにして作成されたLUTは、汎用的なコンピュータにて汎用的に行われている印刷処理にて使用可能である。上述したように、PC10を色変換装置として使用し、図3で示した印刷制御処理を行うことにより、作成されたLUTを参照してRGBデータをCMYKデータに色変換してプリンタ20にCMYKデータに基づく画像を印刷させることができる。
【0061】
本色変換装置は、RGBデータを入力し、RGBデータのうち無彩色成分に相当するデータについてはプリンタ20にて印刷される画像の色相が上述の手順により特定された差異が小さい色相となるようにCMYKデータに変換する。LUTを参照することにより、きめ細やかな色変換を行うことが可能である。なお、色変換装置が参照するLUTは、従来のLUTと比べてグレー軸部分の参照点のみCMYKデータが異なることになり、グレー軸周りの部分の参照点については従来のLUTと同じCMYKデータが格納されていることになる。ここで、LUTのグレー軸部分のCMYKデータについてはLab空間内においてL軸の近傍とされているため、グレー軸部分の参照点とグレー軸周りの部分の参照点との間になるようなRGBデータが入力された場合でも同LUTを参照して補間演算によりスムーズにCMYKデータに変換される。従って、変換後のCMYKデータに基づく画像は無彩色に近い色の部分に違和感が生じることはない。
【0062】
プリンタ20は、CMYKデータを入手し、同CMYKデータに基づいて印刷ヘッドを駆動し、印刷用紙上にインクを吐出してドットを形成させる。すると、図4で示したように、多数のドットにより形成される画像I2は、人間の目の敏感な無彩色について、第一・第二の光源LI1,LI2が置き換わっても見え方の差異が小さくなっている。D50光源とA光源とを使用してパッチの測色結果の差異が小さい色相を特定した場合、太陽光のもとで画像I2を見たときと白熱灯のもとで同じ画像I2を見たときとで、同画像I2の無彩色はほぼ同じ色に見えることになる。むろん、第一・第二の光源として代表的な光源を選択することにより、第一・第二の光源の光成分を含む光環境のもとで画像I2を見ても、第一・第二の光源とは異なる光源のもとで画像I2を見ても、同画像I2の無彩色の見え方には違いが少なくなる。
【0063】
このように、本色変換装置を使用してカラー画像データを色変換し、変換後のカラー画像データに基づく画像を画像機器に出力させると、光源が変わっても、変換後のカラー画像データに基づいて出力される画像の無彩色がほぼ同じ色に見えるようにさせ、画質を向上させることが可能となる。その結果、従来のように、ある光源のもとでは無彩色に見える画像が別の光源のもとでは色味を帯びた別の色に見える現象が回避されることになる。
【0064】
以上のことから、RGBデータを入力し、プリンタで使用可能なCMYKに対応したCMYKデータに変換する本色変換装置は、プリンタに印刷させた変換後のCMYKデータに基づく画像において、RGBデータのうち無彩色成分に相当するデータに対応する画像を複数の光源のもとで測色し、Lab空間の各Lab値から構成される同光源のそれぞれに対応した複数の測色結果を取得したときに、同複数の測色結果の差異が小さい色相となるようにRGBデータをCMYKデータに変換する色変換装置であるとも言える。
また、上述した定義のLab空間の各Lab値からなる複数の測色結果を取得した場合、Lab空間内における同複数の測色結果の色差ΔEを算出したとき、色差ΔEが4以下になる色相となるようにRGBデータをCMYKデータに変換する色変換装置であるとも言える。
【0065】
(5)第二の実施形態:
なお、本発明を実施する際に使用可能なコンピュータと画像機器は、様々な構成が可能である。
例えば、プリンタは、コンピュータと一体化されたものであってもよいし、単色画像のみを印刷する専用品であってもよい。むろん、印刷装置以外にも、所定の色空間で表現される画像を表示する表示装置を本発明にいう画像機器としてもよい。
【0066】
ところで、光源を三種類以上として光源に対応した測色結果を取得し、測色結果の差異が小さい色相を特定するようにしてもよい。図13は、第二の実施形態にかかる色変換テーブル作成装置が行うLUT作成処理の一例をフローチャートにより示している。なお、本実施形態では、便宜上、第一の光源をD50光源とし、複数の第二の光源をA光源およびF1光源としている。
まず、S205〜S210と同様、PC10を使用してCMYK色空間で各軸に沿って略等間隔に離れたnの4乗個の格子点を規定するデータを作成し(S405)、各格子点のCMYKデータに対応した複数のパッチを印刷用紙に印刷させる(S410)。
【0067】
その後、PCの操作者は、複数のパッチに対してD50光源のもとで測色器30により測色を行う。PCでは、S215と同様、複数のパッチ全てについてのLab空間の各Lab値から構成される第一の測色結果(測色結果その1とする)を取得し、RAM13等の所定領域に記憶させる(S415)。
また、光源をA光源に変更し、同じ複数のパッチに対してA光源のもとで測色を行う。PCでは、S220と同様、測色されたパッチ全てについてのLab空間の各Lab値から構成される第二の測色結果(測色結果その2とする)を取得し、RAM13等の所定領域に記憶させる(S420)。
さらに、光源をF1光源に変更し、同じ複数のパッチに対してF1光源のもとで測色を行う。PCでは、測色されたパッチ全てについてのLab空間の各Lab値から構成される別の第二の測色結果(測色結果その3とする)を取得し、RAM13等の所定領域に記憶させる(S425)。
なお、光源を四種類以上にするときには、同様の作業と処理を行うようにすればよい。
【0068】
全ての測色結果が取得されると、Lab空間の中に測色結果その1〜3を対応付け、L軸を中心としてL軸周りにab平面を8領域に区分する。そして、区分した領域別に、D50光源下とA光源下とでの測色結果その1,2の色差(本実施形態においてΔE1とする)の平均値と、D50光源下とF1光源下とでの測色結果その1,3の色差(本実施形態においてΔE2とする)の平均値とを算出する(S430)。次に、両色差ΔE1,ΔE2の平均を算出し、領域別の平均色差ΔEとする(S435)。
なお、A光源下とF1光源下とでの測色結果その2,3の色差(ΔE3とする)の平均値も算出し、ΔE1〜ΔE3の平均を領域別の平均色差ΔEとしてもよい。
【0069】
その後、領域毎の平均色差ΔEが最小となる領域を抽出し、この領域の色相平面を測色結果その1〜3の差異が小さい色相として特定し、その旨の情報をRAM13に記憶しておく(S440)。以下、図10のS235〜S260の処理を行い、RGBデータのうちグレー軸部分のデータに対応するLUTの参照点については、CMYKデータに対応する出力画像の色相がS440にて特定された色相となるようにLUTのグレー軸部分のCMYKの階調値を決定して最終的なLUTを作成する。すると、作成されたLUTは、RGBデータのうち無彩色成分に相当するデータに対応する参照点についてはCMYKデータに対応する出力画像の色相が三種類の光源のもとでの測色結果その1〜3の差異が小さい色相となるようにRGB/CMYKデータの対応関係を規定したデータとなる。
【0070】
色変換装置が上記LUTを参照してRGBデータをCMYKデータに色変換すると、プリンタ20から出力される画像は、光源が置き換えられても無彩色の見え方の差異が小さい。すなわち、三種類の光源のもとで、同画像の無彩色はほぼ同じ色に見える。
以上説明したように、本発明によると、種々の態様により、光源が変わっても、変換後のカラー画像データに基づいて出力される画像の無彩色がほぼ同じ色に見えるようにさせ、画質を向上させることが可能となる。
【図面の簡単な説明】
【図1】 印刷システムの概略構成を示すブロック図である。
【図2】 プリンタの概略構成を示すブロック図である。
【図3】 色変換装置が行う処理を示すフローチャートである。
【図4】 画像を印刷する際の動作を模式的に示す概念図である。
【図5】 人間の目における色の見え方を説明する説明図である。
【図6】 色変換テーブル作成方法の各工程を説明する図である。
【図7】 測色結果から色相を特定する様子を示す模式図である。
【図8】 中間色変換テーブルを作成して最終的なLUTを作成する様子を示す模式図である。
【図9】 マッピング時にグレー軸部分をずらして最終的なLUTを作成する様子を示す模式図である。
【図10】 LUT作成処理の一例を示すフローチャートである。
【図11】 色差の平均値を算出して測色結果の差異が小さい色相を特定する様子を示す模式図である。
【図12】 LUT作成処理の一例を示すフローチャートである。
【図13】 第二の実施形態にかかる色変換テーブル作成装置が行うLUT作成処理を示すフローチャートである。
【符号の説明】
10…パーソナルコンピュータ
11…CPU
12…ROM
13…RAM
14…ハードディスク
15…CD−ROMドライブ
16…フレキシブルディスクドライブ
17a〜e…インターフェイス
18a…ディスプレイ
18b…キーボード
18c…マウス
20…インクジェットプリンタ
30…カラー測色器
S11…画像出力工程
S12…第一測色結果取得工程
S13…第二測色結果取得工程
S14…色相特定工程
S15…テーブル作成工程
D1…第一の測色結果
D2…第二の測色結果
D11,D14…入力側対応関係を規定するデータ
D12…中間色変換テーブル
D13,D15…色変換テーブル
I1,I2…画像
LI1…第一の光源
LI2…第二の光源
R1〜R3…測色結果の差異が小さい色相領域
PA…パッチ[0001]
BACKGROUND OF THE INVENTION
  The present invention records a color conversion device, a color conversion method, a color conversion program, a medium on which a color conversion program is recorded, a color conversion table creation method, a color conversion table creation device, a color conversion table creation program, and a color conversion table creation program. The present invention relates to a medium, a color conversion table, and a medium on which data of the color conversion table is recorded.
[0002]
[Prior art]
  An image composed of three element colors of R (red), G (green), and B (blue) that can be displayed on the display is converted into a predetermined number of element colors, for example, C (cyan), M (magenta), Y (yellow), In the case of printing with a printer using four colors of K (black), color conversion is performed by referring to an LUT (color conversion table) that defines the correspondence between color image data before and after conversion for a plurality of reference points. Is done. When creating the LUT, the following procedure is taken.
  First, color image data composed of RGB is associated with each Lab value in the Lab space in accordance with a defined definition such as sRGB, and a plurality of patches (reference images) having a plurality of levels of density for each of CMYK are printed, and predetermined. A plurality of patches are subjected to color measurement under the light source (usually D50 light source), and the color measurement results are acquired as Lab values. The D50 light source is used because it is a light source corresponding to sunlight. Then, a plurality of color measurement results close to each Lab value associated with RGB color image data are extracted from the color measurement results of all patches, and RGB color image data and CMYK are extracted using interpolation. The LUT is created by obtaining the correspondence with the color image data consisting of
[0003]
  Here, since the human eye is sensitive to the achromatic (gray) portion of the image where R = G = B, the gray axis portion of the LUT data is the image based on the color image data after conversion. The gray balance is set to be good. There are various methods, but for example, by outputting a reference image to a standard image device and visually observing the reference image under the D50 light source, the gray balance becomes the best under the D50 light source. Data can be set in Then, the computer connected to the printer stores the same LUT, and when color image data representing gray is input to the computer, the computer refers to the LUT and performs color conversion on the color image data based on the color image data. Print the image. Then, the printed image has an image quality with good gray balance under sunlight.
[0004]
[Problems to be solved by the invention]
  In the above-described conventional technology, when a color image data representing gray is converted and printed based on the LUT and viewed under a light source such as an incandescent lamp or a fluorescent lamp, the gray balance is sufficiently obtained. There was never. When color is expressed by attaching ink to printing paper, the appearance of human color is expressed by the product of the spectral distribution of the light source, the reflectance of ink and printing paper, and the color matching function that takes into account the characteristics of the human eye. For example, a color that appears gray under sunlight may appear tinted under an indoor light, and may look different.
  The present invention has been made in view of the above problems, and even if the light source changes, the achromatic color of the image output based on the color image data after conversion appears to be almost the same color, thereby improving the image quality. Color conversion device, color conversion method, color conversion program, medium recording color conversion program, color conversion table creation method, color conversion table creation device, color conversion table creation program, color conversion table creation program recorded An object is to provide a medium, a color conversion table, and a medium in which data of the color conversion table is recorded.
[0005]
[Means for Solving the Problems]
  In order to achieve the above object, the invention according to claim 1 inputs first color image data composed of gradation data corresponding to a plurality of element colors, and corresponds to a plurality of other element colors usable in an image device. A color conversion device that converts the gradation data into second color image data, and outputs a plurality of reference images corresponding to the plurality of second color image data using the gradation data as a plurality of stages to the image device. A plurality of reference images under a first light source to obtain a first colorimetric result composed of component values of a predetermined color space expressed by brightness and hue; Measuring the plurality of reference images under a second light source to obtain a second color measurement result composed of the component values of the color space;The first and second colorimetric results are associated with the color space, the hue plane is divided into a predetermined number of areas around the lightness axis in the color space, and a divided region unit soSame reference imageAn area where the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result is calculated, and the distance difference is the smallest among the areas of the hue plane.For the data corresponding to the achromatic component in the first color image data, the hue of the image output by the imaging device is specified.Hue plane areaThus, the second color image data is converted into the second color image data.
[0006]
  The color conversion deviceHue plane areaFor the data corresponding to the achromatic component in the first color image data composed of gradation data corresponding to a plurality of element colors, the hue of the image output by the imaging device is specified.Hue plane areaSo that the second color image data composed of gradation data corresponding to a plurality of different element colors is obtained.
  First, a plurality of reference images corresponding to a plurality of second color image data having a plurality of gradation data levels are output to the image device. Next, a plurality of reference images are color-measured under a first light source, and a first color measurement result including each component value of a predetermined color space expressed by brightness and hue is acquired. In addition, a plurality of reference images are color-measured under a second light source, and a second color measurement result including each component value in the same color space as the first color measurement result is acquired. further,The first and second color measurement results (first color measurement result and second color measurement result; hereinafter the same) are associated with the color space, and the lightness is centered on the lightness axis in the color space. Divide the hue plane into a predetermined number of areas around the axis, andAbout the same reference imageAn area where the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result is calculated, and the distance difference is the smallest among the areas of the hue plane.Is identified.
[0007]
  Then, the first color image data is input, and the hue of the image output by the image device is specified for the data corresponding to the achromatic component in the first color image data.Hue plane areaTherefore, even if the first and second light sources are replaced, the difference in the appearance of achromatic colors is small in the image output based on the second color image data. That is, the achromatic color of the image looks almost the same color under both the first light source and the second light source. Therefore, even if the light source changes, it is possible to make the achromatic color of the image output based on the converted color image data look almost the same color and improve the image quality.
[0008]
  Here, there are various image apparatuses to which the present invention can be applied. For example, the image apparatus may be a printing apparatus such as a printer that outputs an image by printing, or may be a display that outputs an image by display. . Further, the second color image data that can be used in the image device may be data that is used in the image device as it is, or data that is used in the image device after a predetermined conversion is performed. Such data may be included in the second color image data that can be used by the imaging apparatus according to the present invention.
  Various element colors of the second color image data are conceivable. For example, four colors including CMYK may be used, and light cyan, light magenta, dark yellow, light black, and the like may be added. Various element colors of the first color image data are also conceivable. For example, the first color image data may be composed of RGB components, may be composed of luminance data, blue color difference data, and red color difference data, or brightness data. You may be comprised from two types of chromaticity data.
[0009]
  As in the invention according to claim 2, the color image data is converted by referring to the color conversion table created by determining the correspondence between the first and second color image data for a plurality of reference points. Also good. The same color conversion table isHue plane areaFor the reference point corresponding to the data corresponding to the achromatic component in the first color image data, the hue of the image output by the imaging device corresponding to the second color image data is specified above.Hue plane areaThe correspondence between the first and second color image data is determined so as to be created. When the color image data is converted with reference to the same color conversion table, the achromatic color of the output image looks almost the same color even if the light source is changed, so that the image quality can be improved.
  Of course, in addition to using the color conversion table, the color image data may be converted using a predetermined conversion formula, or the color image data may be converted using a hardware color conversion circuit.
[0010]
  The color space for identifying hues with small differences in colorimetric results is, AverageIt may be a color space. In the uniform color space, the distance difference in the space corresponds to the color difference, which is suitable for evaluating the difference in the color measurement result. Therefore, it is possible to make the achromatic color of the output image look almost the same color under a plurality of light sources. Here, a Lab space is given as a specific example of the uniform color space.
According to the above invention, a specific example of the color space can be provided, and the image quality can be improved more reliably.
  Further, the color space for specifying a hue with a small difference in the colorimetric result may be a color space that does not depend on the device. Since it is suitable for evaluating the difference in colorimetric results even in a device-independent color space, the achromatic color of the output image can be made to look almost the same color under multiple light sources. .
  Of course, even if the color space is a uniform color space or a color space that does not depend on a device, it is needless to say that it is possible to specify a hue with a small difference in colorimetric results.
[0011]
  When identifying hue, MingThe first and second colorimetric results are associated with the color space represented by the degree axis and the hue plane orthogonal to the brightness axis, and the same hue around the brightness axis in the same color space with the same brightness axis as the center. The plane is divided into a predetermined number of areas, the first and second colorimetric results for the same reference image are compared in the divided area units, and the first of the hues in the area units of the same hue plane is compared based on the comparison result. A hue with a small difference in the second color measurement result may be specified. By specifying the hue in units of divided areas, it is possible to absorb the error even if there is a colorimetric error. When the hue plane is divided, the hue plane may be substantially equally divided around the lightness axis in the color space, or may be divided so as not to be equally divided.
[0012]
  When identifying hues with small differences in colorimetric results,colorThe distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result in the space is calculated, and the hue plane of the area where the same distance difference is the smallest among the areas of the hue plane is the above difference. If specified as a small hue, it is suitable for evaluating the difference in colorimetric results.
[0013]
MeasurementThe first and second light sources for specifying a hue with a small difference in color result may be a D light source, an A light source, or an F light source in the CIE standard. Since these are standardized light sources, they are suitable for evaluating differences in colorimetric results. The D light source may be a D50 light source or a D65 light source. The F light source may be any one of F1 to F12.
[0014]
  Under these light sources, measurement is performed in a Lab space defined by lightness L (0 ≦ L ≦ 100) and chromaticity a, b (−100 ≦ a ≦ 100, −100 ≦ b ≦ 100) in the Lab color system. When identifying hues with small differences in color results,colorOf the phases, a hue corresponding to a color measurement result in which the color difference ΔE is 4 or less may be specified as a hue having a small difference. If the color difference is 4 or less in the Lab space defined as described above, the difference in appearance is hardly felt, so the achromatic color of the image based on the color image data after conversion looks almost the same color even if the light source changes.
According to the above invention, it is possible to ensure that the achromatic color of the output image looks almost the same color and to improve the image quality.
[0015]
  AlsoThe secondA plurality of second light sources may be provided, and a plurality of second color measurement results corresponding to the second light sources may be acquired for each of the plurality of second light sources. In other words, color measurement results are acquired under three or more types of light sources, and hues with a small difference are specified, so that the achromatic color of the output image appears to be almost the same color under multiple light sources. It becomes possible to make it.
According to the above invention, the image quality can be improved more reliably.
[0016]
  The color conversion device described above may be implemented independently, or may be incorporated in a computer that performs print control on a printer, or may be incorporated in a printing device that converts color image data to perform printing. The idea of the invention includes various aspects such as being implemented in a device with other methods, and can be appropriately changed.
  In addition, the above-described method for converting color image data proceeds with processing according to a predetermined procedure, and it is natural that an invention exists in the procedure at the root. Therefore, the present invention is also applicable as a method,Claim 3In the invention according to this embodiment, the same operation is basically performed.
[0017]
  When trying to implement the present invention, a predetermined program may be executed by the color conversion apparatus. Therefore, it can be applied as a program,Claim 4In the invention according to this embodiment, the same operation is basically performed.
  Furthermore, it is conceivable that a medium on which the program is recorded is distributed and the program is appropriately read from the recording medium into a computer. Therefore, the present invention can also be applied to a computer-readable recording medium in which the program is recorded, and the invention according to claim 11 basically has the same operation.
  Of course,Claim 2It is also possible to make the configuration described in (1) correspond to the method, the program, and the medium on which the program is recorded.
[0018]
  By the way, the hue of the image output corresponding to the second color image data is specified for the reference point corresponding to the data corresponding to the achromatic component in the first color image data.Hue plane areaWhen the color conversion table that defines the correspondence relationship is created, the achromatic colors of the output image based on the color image data converted with reference to the same color conversion table look almost the same color under multiple light sources. An effect is obtained. Therefore,Claim 5As described above, the present invention is also effective as a color conversion table creation method..
[0019]
  hereThe secondAfter creating an intermediate color conversion table that defines the correspondence between the first and second color image data for a plurality of reference points, the second color image data corresponding to the data corresponding to the achromatic component in the first color image data The hue of the image output corresponding to the second color image data is specified above.Hue plane areaThe color conversion table may be created by replacing the second color image data from the intermediate color conversion table so that That is, since it is sufficient to replace the data corresponding to the achromatic color component of the color conversion table at the last stage, it is possible to easily create a color conversion table capable of obtaining the above effect.
[0020]
  Of courseThe secondThe input side correspondence between one color image data and each component value of the color space is determined, and the correspondence between the input side correspondence and the colorimetric result is correlated with the first and second color image data at a plurality of reference points. In determining the relationship, for the reference point corresponding to the data corresponding to the achromatic component in the first color image data, each component value of the color space that defines the input side correspondence is specified above.Hue plane areaThe color conversion table may be created by determining the correspondence relationship by associating the input side correspondence relationship with the colorimetric result instead of the component values. That is, when mapping the first and second color image data in the same color space, the color conversion table can be created by replacing the data corresponding to the achromatic color component.
[0021]
  The above-described method for creating a color conversion table can also be realized in a substantial device,Claim 6As in the invention according to the present invention, the present invention can also be applied to the apparatus. Of course, such an apparatus may be implemented independently, or may be implemented together with other methods in a state of being incorporated in a certain device, and various aspects are included in the concept of the invention.
  As a realization example of the idea of the invention, there may be a case where the color conversion table creation method is implemented by software,Claim 7As described above, the present invention can also be applied as a color conversion table creation program.
  Furthermore, it is conceivable that a medium on which the program is recorded is distributed and the program is appropriately read from the recording medium into a computer.,sameThe present invention can also be applied as a computer-readable recording medium on which a program is recorded.
[0022]
  Even in the color conversion table itself, the effect that the achromatic color of the output image based on the color image data converted with reference to the color conversion table looks almost the same color under a plurality of light sources can be obtained. Therefore,Claim 8As described above, the present invention is also effective as a color conversion table, and it is also possible to distribute a medium in which data of the same color conversion table is recorded and read the data of the color conversion table from the recording medium into a computer as appropriate. SoClaim 9As described above, the present invention is also effective as a computer-readable recording medium that records data of the color conversion table.
[0023]
  Here, a medium on which a color conversion program is recorded, a medium on which a color conversion table creation program is recorded, and a medium on which data in a color conversion table are recorded will be developed in addition to a magnetic recording medium and a magneto-optical recording medium. Any recording medium may be used. In addition, even when a part is software and a part is realized by hardware, the idea of the present invention is not completely different, and a part is recorded on a recording medium and is appropriately changed as necessary. It includes a reading form. The duplication stage of the primary reproduction product and the secondary reproduction product is equivalent without any question.
[0024]
【The invention's effect】
  As explained above,Claims 1, 3-9According to the invention, even when the light source is changed, it is possible to make the achromatic colors of the image output based on the converted color image data look almost the same color, thereby improving the image quality.
[0025]
  According to the second aspect of the present invention, it is possible to provide a specific example of converting color image data and to perform fine conversion..
[0026]
DETAILED DESCRIPTION OF THE INVENTION
  Hereinafter, embodiments of the present invention will be described in the following order.
(1) Configuration of color conversion device and color conversion table creation device:
(2) Differences in color appearance due to different light sources:
(3) Color conversion table creation method:
(4) Operation and effect of the color conversion device:
(5) Second embodiment:
[0027]
(1) Configuration of color conversion device and color conversion table creation device:
  FIG. 1 shows a schematic configuration of a printing system including a color conversion device and a color conversion table creation device according to the first embodiment of the present invention. The printing system includes a personal computer (PC) 10 and an inkjet printer 20 capable of color printing, which is an image device that outputs an image.
  The PC 10 includes a CPU 11 that is the center of arithmetic processing, and the CPU 11 controls the entire PC 10 via a system bus 10a. The bus 10a is connected to a ROM 12, a RAM 13, a CD-ROM drive 15, a flexible disk (FD) drive 16, various interfaces (I / F) 17a to 17e, and the like. A hard disk (HD) 14 is also connected via a hard disk drive. Although a desktop PC is employed as the computer of this embodiment, a computer having a general configuration can be employed.
[0028]
  The HD 14 stores an operating system (OS), an application program (APL) that can create image information, and the like as software, and these software are appropriately transferred to the RAM 13 by the CPU 11 during execution. The CPU 11 executes various programs while appropriately accessing the RAM 13 as a temporary work area.
  Various peripheral devices can be connected to the USB I / F 17a, and when the system is used as a color conversion table creation device, a color colorimeter 30 is connected. The color calorimeter 30 directs the color detection unit 30a to the object to be measured, whereby a colorimetric value based on the Lab color system in the CIE standard, that is, an L value representing brightness, and a representing hue and saturation. Value and b value can be measured. The Lab value measured by the colorimeter 30 can be read via the USB I / F 17a. Of course, other connection modes, such as RS-232C connection, can be adopted for the connection between the colorimeter and the PC 10.
  In addition to using a colorimeter, various devices can be used. For example, a color scanner capable of capturing RGB values may be used. When this system is used as a color conversion device, it is not necessary to connect the colorimeter 30, and a digital camera or the like may be connected instead.
  A display 18a for displaying an image based on color image data is connected to the CRTI / F 17b, and a keyboard 18b and a mouse 18c are connected to the input I / F 17c as operation input devices. Further, the printer 20 is connected to the printer I / F 17e via a parallel I / F cable. Of course, various connection modes such as serial I / F, SCSI, and USB connection can be employed for connection with the printer 20.
[0029]
  The printer 20 uses CMYK ink to print an image based on color image data on a printing paper (printing medium). Of course, you may employ | adopt the printer which uses inks other than four colors. In addition, various printing apparatuses such as a bubble type printer that generates bubbles in the ink passage and discharges ink and a laser printer can be employed.
  As shown in FIG. 2, in the printer 20, a CPU 21, ROM 22, RAM 23, communication I / O 24, control IC 25, ASIC 26, I / F 27, and the like are connected via a bus 20a.
[0030]
  The communication I / O 24 is connected to the printer I / F 17e of the PC 10, and the printer 20 receives a print job composed of color image data converted to CMYK and page description language transmitted from the PC 10 via the communication I / O 24. Receive. The control IC 25 detects the mounting state of the ink cartridge 28 in the cartridge holder 25a while transmitting / receiving a predetermined signal to / from the CPU 21. The ASIC 26 outputs applied voltage data based on CMYK data to the head drive unit 26 a while transmitting and receiving a predetermined signal to and from the CPU 21. The head drive unit 26a generates an applied voltage pattern to a piezo element built in the print head based on the applied voltage data, and causes the print head to eject four colors of ink in dot units. On the ink ejection surface of the print head, four sets of nozzle arrays that eject ink of four colors are formed so as to be aligned in the main scanning direction of the print head, and each nozzle array has a plurality of nozzles that are constant in the sub-scanning direction. They are arranged in a straight line at intervals. The carriage mechanism 27a and the paper feed mechanism 27b connected to the I / F 27 perform main scanning of the print head, and sequentially feed the printing paper while performing page break operation as appropriate, and perform sub-scanning. And CPU21 controls each part according to the program written in ROM22, using RAM23 as a work area.
[0031]
  In the PC 10, the BIOS is executed based on the above hardware, and the OS and APL are executed in the upper layer. Various drivers such as a printer driver for controlling the printer I / F 17e are incorporated in the OS, and the hardware is controlled as a part of the OS. The printer driver can perform two-way communication with the printer 20 via the printer I / F 17e, receives print data from the APL via an OS incorporating GDI (Graphics Device Interface), etc., and performs a print job. Is sent to the printer 20. The color conversion program and the color conversion table creation program of the present invention are composed of the printer driver. Of course, it is also possible to use APL. The HD 14 is a medium on which these programs and color conversion table data are recorded. The medium has codes such as CD-ROM, FD 16a, magneto-optical disk, non-volatile memory, punch card, and barcode. It may be a printed print medium. Of course, it is also possible to connect the communication I / F 17d such as a modem to the Internet network, access a predetermined server, download the print control program, and execute it.
[0032]
  The HD 14 includes gradation data constituting first color image data (hereinafter referred to as RGB data) composed of RGB three element colors before conversion and second color image data (hereinafter referred to as CMYK) composed of CMYK four element colors after conversion. An LUT (color conversion table) called a look-up table that defines a correspondence relationship between a plurality of reference points and gradation data constituting data) is stored. The LUT is created by a color conversion table creation method described later. The printer driver performs color conversion on the color image data with reference to the LUT, and performs print control on the printer 20. FIG. 3 is a flowchart showing the print control process, and FIG. 4 is a conceptual diagram showing an operation when printing an image.
  The display screen of the display 18a in FIG. 4 shows an APL execution screen that can execute retouching and the like, and an image I1 based on image data is displayed on the display 18a by processing of the display driver. Since the effect of the present invention is particularly noticeable in a low achromatic substantially achromatic color, an image I1 having a dark background and a large amount of achromatic color will be described as an example. The display screen is a screen in which a print execution instruction is given. When the print tab in the file menu is selected with the mouse 18c, the flow of FIG. 3 is started.
[0033]
  First, RGB data defined in the sRGB color space representing an image to be printed is input (step S105; hereinafter, description of “step” is omitted). RGB data and CMYK data (referred to as RGB / CMYKcm data; hereinafter the same) are both color image data in which an image is represented by gradation data for each pixel of RGB or CMYK 256 tones in a dot matrix form. . That is, the gradation values of each pixel constituting the RGB / CMYK data are (R, G, B), (C) with R, G, B, C, M, Y, K being integer values of 0 to 255, respectively. , M, Y, K). Of course, the number of gradations can be variously set as appropriate. For example, the number of gradations may be 1024 gradations, 100 gradations, or the like, and the gradation numbers of RGB / CMYKcm data may be different. When inputting RGB data, it is not necessary to read the entire data at once, it may be partially read, or only a pointer indicating a buffer area used for data transfer may be transferred. Good.
[0034]
  Next, color conversion is performed with reference to the LUT that defines the correspondence between RGB / CMYKcm data (S110). At that time, the RGB data is color-converted into CMYK data composed of gradation data corresponding to the respective usage amounts of the CMYK inks while sequentially moving the target pixel using the gradation data of each pixel constituting the RGB data as the conversion target. . As shown in FIG. 4, the LUT stores 8-bit gradation data for each CMYK and is stored in the HD 14 and corresponds to, for example, each of 17 grid points of RGB, that is, 17 cubes on the assumption of interpolation calculation. With a large amount of data. In the figure, RGB data is shown in the LUT for easy understanding, but in practice, RGB data is converted into CMYK by referring to data for 32 bits of CMYK from an address corresponding to each gradation data constituting the RGB data. Color conversion to data. If CMYK data matching the input RGB data is not stored in the LUT, CMYK data corresponding to a plurality of RGB data close to the input RGB data is acquired and input by interpolation such as volume interpolation. Conversion into CMYK data corresponding to RGB data.
  The LUT corresponds to the CMYK data for the reference point corresponding to the gray axis portion, that is, the data corresponding to the achromatic component in the RGB data (indicated by r = g = b in the figure). The correspondence relationship of RGB / CYMK data is defined for a plurality of reference points so that the hue of the image I2 printed by the printer 20 is a hue with a small difference in the colorimetric result of the patch under a plurality of light sources. It is a table.
[0035]
  Note that the input color image data may be other than RGB data. For example, the image data composed of the lightness index L and the chromaticness indices u and v in the Luv color system in the CIE standard, and the YUV color system There are image data composed of luminance (Y component), B color difference (U component), R color difference (V component), and the like. In this case, color conversion may be performed using an LUT that defines the correspondence between Luv data or YUV data and CMYK data.
  Thereafter, the CMYK data is binarized by halftone processing to create two-tone CMYK data (S115). Further, the two-tone CMYK data is rearranged by the rasterizing process (S120). Then, the CMYK data is output to the printer 20 (S125), and this flow ends. Then, the printer 20 obtains CMYK data representing an image, drives the print head based on these data, ejects ink onto the printing paper, and prints the image I2 based on the image data. As a result, as shown in FIG. 4, the achromatic color of the image I2 looks almost the same color by the light source LI1 and the light source LI2.
  If the printer can execute halftone processing, multi-tone CMYK data may be output to the printer as it is. Of course, as in the present embodiment, even when halftone processing or the like is performed and then CMYK data is output to the printer, the multi-tone CMYK data becomes the second color image data referred to in the present invention. .
[0036]
(2) Differences in color appearance due to different light sources:
  Conventionally, for the gray axis portion of the LUT, data is set so that the gray balance is the best under a D50 light source corresponding to sunlight. However, when a color image data representing gray is converted and printed based on the LUT and viewed under a light source such as an incandescent lamp or a fluorescent lamp, the color may appear different. The reason is as follows.
  First, how colors are seen by human eyes will be described. FIG. 5 is an explanatory diagram for explaining how colors are seen by human eyes. Since the human eye distinguishes the difference in color depending on the wavelength of light, it defines how much light is included in the light incident on the human eye, and for what wavelength light the human eye By defining how your eyes react, you can define how colors look.
[0037]
  The wavelengths of light incident on the human eye from the printed material are the distribution of wavelengths included in the light source, that is, the spectral distribution L (λ) of the light source, and the distribution of wavelengths included in the reflected light from the printed material, that is, the spectral reflectance R of the printed material. λ). How the human eye responds to the wavelength of light is defined by the color matching functions x (λ), y (λ), and z (λ). Here, x (λ), y (λ), and z (λ) indicate the sensitivities of the red component, the green component, and the blue component, respectively. Each color matching function is usually expressed as an X-bar by adding a “horizontal line” on the character, but the “horizontal line” is omitted in this specification. Further, in the ink jet printer, the spectral reflectance R (λ) is generated by superimposing the spectral reflectance of the printing paper and the spectral reflectance of the ink in the exposed portion (linear combination with the area ratio as a coefficient). In these equations, λ is the wavelength of light.
[0038]
  The color appearance is calculated as a tristimulus value XYZ by multiplying the spectral distribution of the light source, the spectral reflectance, and the color matching function and integrating with the wavelength as shown in the following equation.
[Expression 1]
Figure 0004092544
[0039]
  The appearance of color in the human eye is defined by the tristimulus values XYZ, and the color is uniquely determined by the combination of the tristimulus values XYZ. Among the factors defining the tristimulus values, the color matching functions x (λ), y (λ), z (λ) are average values of the characteristics of the human eye and cannot be artificially changed. The reflectance R (λ) changes when the type of ink changes, and the spectral distribution L (λ) of the light source changes when the light source changes. In the present invention, color conversion is performed using an LUT created by specifying a hue having a small difference due to a light source in the procedure described below, so that the human eye is sensitive to an image based on color image data after color conversion. As for the achromatic part, the color does not change so much that it seems unnatural even if the light source changes, and the image quality is improved by making it look almost the same color. Note that since the spectral reflectance varies depending on the type of ink, the hue with a small difference depending on the light source varies depending on the type of ink.
[0040]
(3) Color conversion table creation method:
  FIG. 6 is a diagram for explaining each step of the color conversion table creation method according to the first embodiment of the present invention.
  In the image output step S11, the printer 20 prints a plurality of patches (reference images) PA corresponding to a plurality of CMYK data having gradation data in a plurality of stages. In addition to specifying a hue with a small difference in colorimetric results under a plurality of light sources, the colorimetric result D1 of the entire color space composed of CMYK is used when matching CMYK data with RGB data. Therefore, in the present embodiment, CMYK data having a plurality of levels for the density of each color of CMYK for all regions of the color space composed of CMYK.InA plurality of patches PA based thereon are printed on the printing paper. Of course, CMYK data with multiple levels for each color density of CMYK near gray.InA plurality of based patches PA may be printed on the printing paper. In this case, for example, a plurality of steps are taken for the densities of CMYK colors, and a and b values in the expected Lab space (a2 + B2 )1/2 It is only necessary to generate CMYK data corresponding to each density of CMYK that is equal to or less than a predetermined value and print a patch. In this way, each CMYK patch in which the distance to the L-axis is approximately equal to or less than a predetermined value in the Lab space is printed.
[0041]
  In the first colorimetric result acquisition step S12, the nth power of four patches PA is measured by the colorimeter 30 under the first light source LI1, and the predetermined Lab space expressed by brightness and hue is measured. A first colorimetric result D1 composed of each Lab value is acquired. That is, the first colorimetric result D1 selects n stages of representative gradation values from each CMYK gradation value, prints patches for all combinations of each color and each gradation value, and performs colorimetry. This is sample data in which a combination of CMYK gradation values is associated with each component value in the Lab space. Here, the first light source LI1 of the present embodiment employs a D50 light source defined by the CIE (International Commission on Illumination), but corresponds to another D light source, an A light source corresponding to an incandescent lamp, and a fluorescent lamp. An F light source or the like may be used.
  On the other hand, in the second colorimetry result acquisition step S13, the same patch PA is measured by the same colorimeter 30 under the second light source LI2, and the second color measurement result is obtained from the Lab values of the Lab space. The color measurement result D2 is acquired. The second light source LI2 of the present embodiment employs the A light source defined by the CIE, but may be another light source.
[0042]
  In the hue specifying step S14, the colorimetric results D1 and D2 for the same patch PA are compared, and a hue having a small difference between the colorimetric results D1 and D2 among the hues in the Lab space is specified based on the comparison result. FIG. 7 shows how the hue is specified from the color measurement result.
  In the figure, the colorimetric results D1 and D2 are plotted on the ab plane (hue plane) of the Lab space. The Lab plane is a device independent uniform color space defined by lightness L (0 ≦ L ≦ 100) and chromaticities a and b (−100 ≦ a ≦ 100, −100 ≦ b ≦ 100) in the Lab color system. And is represented by an ab plane orthogonal to the L axis (lightness axis). Here, 0 ≦ L <10, 10 ≦ L <20,..., 90 ≦ L ≦ 100 and the L axis is divided into 10 equal parts, and the L value of the first colorimetric result D1 is the L axis. The first and second color measurement results D1 and D2 are associated with each other in the Lab space so as to enter each section. In the ab plane of the figure, the horizontal axis is the a value, the vertical axis is the b value, and the L axis passes through the origin O. The first color measurement result D1 is plotted with a circle on the ab plane, the second color measurement result D2 is plotted with a triangle on the ab plane, and the color measurement results D1 and D2 for the same patch are plotted with lines. Tied. In addition, although three sections of 30 ≦ L <40, 40 ≦ L <50, and 50 ≦ L <60 are shown as examples, the colorimetric results are similarly plotted in other sections.
[0043]
  In specifying a hue having a small difference between the colorimetric results D1 and D2, the ab plane is equally divided around the L axis in the Lab space around the L axis. FIG. 6 schematically shows a state of being divided into four regions, but FIG. 7 shows an example in which the ab plane is divided so as to be equally divided into eight regions, that is, equally divided by 45 degrees around the origin O. ing. Of course, the number of divisions is not limited to these, and it is possible to divide non-uniformly rather than equally. Next, the first and second colorimetric results for the same patch are compared in divided area units, and based on the comparison results, the first and second colorimetric values among the hues in the Lab space in the area unit of the ab plane are compared. Identify hues with small differences in color results. The same hue is an ab plane of an area where the distance difference is the smallest among the areas in the ab space when the distance difference between the coordinates of the colorimetric results D1 and D2 in the Lab space is calculated. In the figure, R1 to R3 are hue regions where the difference between the colorimetric results D1 and D2 is small.
  The distance difference is obtained, for example, by averaging the color difference between the colorimetric results D1 and D2 of each patch for each region. Here, assuming that the coordinates of the first color measurement result D1 in the Lab space are (L1, a1, b1) and the coordinates of the second color measurement result D2 are (L2, a2, b2), the color difference is expressed by the following equation. Can be calculated.
[Expression 2]
Figure 0004092544
[0044]
  If a region on the hue plane where the difference between the colorimetric results D1 and D2 is small is specified by the above procedure, the color difference ΔE is 4 or less. Here, since the human eye hardly feels a difference if ΔE ≦ 4 in the Lab space, the hue corresponding to the colorimetric result in which the color difference ΔE is 4 or less among the hues in the Lab space is determined as the colorimetric result D1,. You may make it specify as a hue with a small difference of D2. Of course, in order to further improve the printed image quality, the hue corresponding to the color measurement result satisfying ΔE ≦ 3, ΔE ≦ 2, and ΔE ≦ 1 is specified as the hue having a small difference between the first and second color measurement results. You may do it.
[0045]
  In the table creation step S15, the correspondence between RGB / CMYK data is determined for, for example, 17 cubed reference points to create an LUT. Although not shown in FIG. 6, there is provided an input side correspondence determining step for determining an input side correspondence between the RGB data and each Lab value in the Lab space. By associating the colorimetric result D1 with a plurality of reference points, the correspondence between RGB / CMYK data is determined. At this time, regarding the reference point corresponding to the data corresponding to the achromatic component in the RGB data, that is, the data having the same RGB gradation values (described as r = g = b in FIG. 6), The correspondence relationship of RGB / CMYK data is determined so that the hue of the image output corresponding to the CMYK data is a hue plane region where the difference between the colorimetric results D1 and D2 is small.
[0046]
  Various procedures for creating the LUT can be considered. For example, as shown in FIG. 8, the intermediate color conversion table D12 may be once created to create a final LUT. In this case, data D11 that defines the input side correspondence relationship for a plurality of reference points is generated, and an intermediate color conversion table D12 that defines the correspondence relationship of RGB / CMYK data in association with the first colorimetric result D1 by mapping is created. After that, the CMYK data corresponding to the data corresponding to the achromatic color component (r = g = b) in the RGB data is replaced with a CMYK gradation value that outputs a hue with a small difference between the two colorimetric results D1 and D2. Thus, the LUT (data D13) can be created.
  Also, as shown in FIG. 9, the final LUT may be created by shifting the gray axis portion (r = g = b) when mapping RGB / CMYK data. In this case, for the reference point corresponding to r = g = b in the RGB data, each Lab value in the Lab space of the data D11 that defines the input side correspondence relationship has a hue with a small difference between the two colorimetric results D1 and D2. After the replacement with the Lab value, the LUT (data D15) can be created by associating the data D14 defining the input side correspondence with the first colorimetric result D1. For convenience of explanation, L1, a1, b1, L2, a2, and b2 are shown in the figure, but are different from the variables used in the arithmetic expression (2).
[0047]
  Thus, this color conversion table creation method creates a LUT by printing a large number of patches, performing colorimetry under a plurality of light sources, and generating various data. Therefore, it is preferable to implement the method using a computer. FIG. 10 is a flowchart showing an example of LUT creation processing performed when the PC 10 and the colorimeter 30 are used as a color conversion table creation device. A color conversion table creation program, which is one of APLs, has modules corresponding to the above-described steps, and the processing shown in the figure is realized by the functions of these modules.
[0048]
  When the color conversion table creation program is started, first, using the PC 10, data defining n 4 grid points that are spaced apart at substantially equal intervals along each axis in the CMYK color space is created (S205). ). Here, representative gradation values including gradation values 0 and 255 for each of CMYK are represented by, for example, 0 (0%), 64 (25%), 128 (50%), 192 (75%), Select 255 (100%). In this case, 5 4 patches are printed. Note that the division position and the number of divisions in the CMYK color space can be appropriately set as appropriate. In order to reduce the number of patches, the CMY color space is assumed to generate K from the CMY color space along each axis. Alternatively, data defining n cube points separated by n may be created.
  Next, a plurality of patches PA corresponding to the CMYK data of each grid point is printed on the printing paper (S210). That is, halftone processing and rasterization processing are performed on the CMYK data at each grid point, and the processed CMYK data is transmitted to the printer 20. Then, the printer 20 receives the CMYK data, drives the print head to eject ink, forms dots, and prints a plurality of patches PA corresponding to each grid point on the printing paper. Here, the image output process ends.
[0049]
  Thereafter, the operator of the PC performs colorimetry with the colorimeter 30 on the plurality of printed patches PA under the first light source LI1 (D50 light source). That is, the color detection unit of the colorimeter 30 is pressed against each printed patch PA, and the color measurement is sequentially performed. In the PC, the first color measurement result D1 composed of the Lab values of all the plurality of patches is acquired and stored in a predetermined area of the RAM 13 or HD 14 (S215). That is, the Lab Lab values of all the combinations of each color and each gradation value are acquired. Here, the Lab value may be read from the colorimeter 30 via the USB I / F 17a, or the Lab value may be temporarily stored in the FD 16a and read via the FD drive 16. Further, the Lab value may be acquired by receiving an operation input from the keyboard 18b, or the Lab value may be acquired via a voice input device (not shown). Here, the first colorimetric result acquisition step ends.
[0050]
  After the above process is completed, the operator of the PC performs colorimetry on the same plurality of patches PA using the colorimeter 30 under a second light source (A light source) different from the D50 light source LI1. In the present embodiment, since only the first color measurement result D1 is used for mapping to correspond to RGB / CMYK data, only the patch having a color close to the achromatic color needs to be measured. Therefore, the number of colorimetric measurements can be reduced and the labor of the work can be reduced as compared with the case of measuring the color of a patch in the entire area of the CMYK color space. In the PC, the second color measurement result D2 composed of the Lab values for all the colorimetric patches is acquired and stored in a predetermined area such as the RAM 13 (S220). Here, the second colorimetric result acquisition step ends.
[0051]
  After the above process is completed, the colorimetric results D1 and D2 are associated in the Lab space, the ab plane is divided into eight regions around the L axis around the L axis, and the average value of the color difference ΔE is calculated for each divided region. (S225). Since the Lab space is a uniform color space, the distance between two points in the space corresponds to a color difference. Therefore, when the color difference is obtained for each patch PA, the difference in the color measurement result can be accurately evaluated. In addition, since the Lab space is a device-independent color space, it is possible to more accurately evaluate the difference in the color measurement results.
  FIG. 11 schematically shows how the average value of the color difference ΔE is calculated by the above procedure. For example, the segmented ab plane regions are referred to as regions 1 to 8, and first, a combination of the colorimetric results D1 and D2 in which the a and b values are the region 1 is extracted from the first colorimetric result D1. The color difference ΔE1j (j is a positive integer) is sequentially calculated using the above equation (2). Here, the extraction of the combination of the colorimetric results D1 and D2 may be performed for each band obtained by dividing the L axis, or may be performed collectively for the entire region of the L axis. Next, an average value ΔE1 of the color difference ΔE1j is calculated. The average value ΔEi (i is an integer of 1 to 8) is similarly calculated for the remaining regions 2 to 8.
[0052]
  Thereafter, an area where the average value ΔEi of the color differences for each area is minimized is extracted, the hue plane of this area is specified as a hue with a small difference between the colorimetric results D1 and D2, and information to that effect is stored in the RAM 13. (S230). In the example of FIG. 11, since the average value ΔEi of the region “6” is the smallest, a hue having a small difference between the colorimetric results D1 and D2 can be specified as the ab plane of the region “6”. Note that the hue may be specified for the entire region of the L axis, or may be determined for each band obtained by dividing the axis.
  Thus, by specifying the hue in units of divided areas, even if there is a color measurement error, it is averaged, so that the error can be absorbed.
  At this stage, the hue specifying step for specifying a hue having a small difference between the colorimetric results D1 and D2 based on the comparison result of the colorimetric results D1 and D2 ends.
[0053]
  After the above process is completed, in order to determine the input side correspondence, from the grid points of n (n is a positive integer) cubed at approximately equal intervals along each axis in the RGB color space using the PC 10 Data defining the cubic lattice is created (S235). For example, representative gradation values including 0 and 255 are selected from 17 gradation values, for example, 0, 16, 32,. In this case, 17 3 grid points are defined.
  Next, the PC converts the RGB data of the grid points into each component value (Lab value) in the Lab space according to the definition of sRGB (S240). Then, by storing the RGB data and the converted Lab value in a predetermined area such as the RAM 13, data D11 defining the input side correspondence between the RGB data and each component value of the Lab space is created (S245). , RGB data can be associated with Lab values. Here, the input side correspondence determination step is completed.
[0054]
  Since the input side correspondence only needs to be determined before the table creation step, the processes in S235 to S245 may be performed before the process in S205. Of course, if the input side correspondence has already been determined, the processing of S235 to S245 can be omitted.
  Alternatively, instead of using this flow, a plurality of images corresponding to the grid points may be output to the display 18a, and color measurement may be performed on the same image by the colorimeter 30 to obtain Lab values. . Then, a plurality of images corresponding to the grid points are output to the display, and the color detection unit of the colorimeter 30 is pressed against each image to perform colorimetry sequentially, and the colorimetry results for all the images are stored on the PC. In this case, it is possible to create data defining the input side correspondence between RGB data and Lab values.
[0055]
  After the above process is finished, as shown in FIG. 8, mapping is performed to associate the data D11 defining the input side correspondence with the first colorimetric result D1 with respect to a plurality of reference points, thereby creating an intermediate color conversion table D12 (S250). ). That is, Lab data corresponding to RGB data is acquired from the data D11, and CMYK data having the same value as the acquired Lab data is acquired from the color measurement result D1, or a plurality of Lab data close to the acquired Lab data is supported. When the CMYK data to be obtained is acquired from the color measurement result D1 and the CMYK data is determined by interpolation, the intermediate color conversion table D12 can be created. The mapping may be performed using the second color measurement result D2 instead of the first color measurement result D1, or the two color measurement results D1 and D2 are averaged, averaged by adding or weighting differently. Etc. may be used for mapping.
[0056]
  After that, corresponding to the data of the gray axis portion (corresponding to the achromatic color component) in the RGB data of the intermediate color conversion table D12DoFor the CMYK data, the hue of the image printed by the printer 20 corresponding to the CMYK data is replaced with the hue specified in S230, and a final LUT is generated (S255). In FIG. 8, the RGB data of the gray axis portion is described as r1 = g1 = b1, etc., and the corresponding CMYK data c1, m1, y1, k1, etc. in the intermediate color conversion table D12 are the smallest in the average value of the color difference ΔE. It shows how the ab plane is replaced with CMYK data c1 ′, m1 ′, y1 ′, k1 ′, etc. in the ab plane area (hue plane area where the difference between the first and second colorimetric results is small). The CMYK data c1 ', m1', y1 ', k1' may be set to a gradation value that falls within the region of the ab plane specified in S230, and can be determined by various methods. For example, the L component is set to be the same as the first color measurement result D1, and the a and b components are set to a within the specified hue region.2 + B2 By setting ≦ 4 and in the vicinity of the L axis, the CMYK gradation value corresponding to the Lab value can be replaced from the intermediate color conversion table D12. In addition, when a hue region having a small difference between the colorimetric results D1 and D2 is specified for each band obtained by dividing the L axis, the division of the L axis with respect to the achromatic component of the intermediate color conversion table D12 is determined to determine the intermediate color. The conversion table D12 may be replaced with CMYK gradation values that fall within the hue area specified for each divided band.
[0057]
  The CMYK data in the gray axis portion of the LUT (data D13) generated in this way is a gradation value that makes a hue such that a difference in gray appearance due to a difference in light source is reduced.
  Then, the created LUT is stored in a predetermined area of the HD 14 (S260), and this flow ends. Here, the table creation process ends. Then, the created LUT has the hue of the image output corresponding to the CMYK data for the reference points corresponding to the data corresponding to the achromatic component in the RGB data under the first and second light sources. This data defines the correspondence between RGB / CMYK data for a plurality of reference points so that the difference between the colorimetric results is small.
[0058]
  If the gray axis portion is shifted during mapping without creating the intermediate color conversion table, the LUT creation process may be performed according to the flowchart shown in FIG. In this flow, for S205 to S245 and S260, the same processing according to the flow shown in FIG. 10 is performed, and the processing of S305 to S310 is performed instead of S250 to S255.
  That is, when the data D11 that defines the input side correspondence is generated by performing the processing of S205 to S245, each Lab value of the gray axis portion of the data D11 becomes the Lab value of the hue specified in S230. (S305). In FIG. 9, the RGB data of the gray axis portion is described as r1 = g1 = b1, etc., and the Lab data L1, a1, b1, etc. corresponding to the data D11 are ab planes in which the average value of the color difference ΔE is minimized. It shows a state of replacement with Lab data L1 ′, a1 ′, b1 ′, etc. The Lab data L1 ′, a1 ′, and b1 ′ may be set to gradation values that fall within the region of the ab plane specified in S230, can be determined by various methods, and the above-described examples can be applied mutatis mutandis. .
[0059]
  Thereafter, mapping is performed for associating the data D14 defining the input side correspondence after replacement with the first colorimetric result D1, and the correspondence of RGB / CMYK data is determined for a plurality of reference points to obtain a final LUT. Create (S310). Then, the CMYK data in the gray axis portion of the LUT (data D15) has tone values that make the hue such that the difference in gray appearance due to the difference in the light source becomes small. Then, the created LUT is stored in a predetermined area of the HD 14 (S260), and this flow ends.
  As described above, with respect to the reference point of the LUT corresponding to the data corresponding to the achromatic color component in the RGB data, each Lab value in the Lab color space defining the input side correspondence is obtained based on the first and second light sources. By substituting each Lab value for the hue specified as having a small difference in the colorimetric results in, the LUT can be created by determining the correspondence between the RGB / CMYK data.
[0060]
(4) Operation and effect of the color conversion device:
  The LUT created as described above can be used in a printing process that is performed on a general-purpose computer. As described above, by using the PC 10 as a color conversion device and performing the print control process shown in FIG. 3, the RGB data is color-converted into CMYK data by referring to the created LUT, and the printer 20 receives the CMYK data. An image based on can be printed.
[0061]
  This color conversion apparatus inputs RGB data, and for the data corresponding to the achromatic color component among the RGB data, the hue of the image printed by the printer 20 is such that the difference specified by the above procedure is small. Convert to CMYK data. Fine color conversion can be performed by referring to the LUT. Note that the LUT referred to by the color conversion apparatus differs from the conventional LUT in CMYK data only at the reference point in the gray axis portion, and the same CMYK data as in the conventional LUT is obtained at the reference point around the gray axis. Will be stored. Here, since the CMYK data of the gray axis portion of the LUT is in the vicinity of the L axis in the Lab space, the RGB which is between the reference point of the gray axis portion and the reference point of the portion around the gray axis. Even when data is input, the data is smoothly converted to CMYK data by interpolation with reference to the LUT. Therefore, the image based on the converted CMYK data does not cause a sense of incongruity in a color portion close to an achromatic color.
[0062]
  The printer 20 obtains CMYK data, drives a print head based on the CMYK data, and ejects ink onto the printing paper to form dots. Then, as shown in FIG. 4, the image I2 formed by a large number of dots has a difference in appearance even when the first and second light sources LI1 and LI2 are replaced with respect to an achromatic color sensitive to human eyes. It is getting smaller. When using a D50 light source and an A light source to identify a hue with a small difference in the colorimetric result of the patch, the same image I2 was viewed under incandescent light as when viewing the image I2 under sunlight. Sometimes, the achromatic color of the image I2 looks almost the same color. Of course, by selecting a representative light source as the first and second light sources, the first and second light sources can be viewed in the light environment including the light components of the first and second light sources. Even if the image I2 is viewed under a light source different from the light source, the difference in the appearance of the achromatic color of the image I2 is reduced.
[0063]
  In this way, when color image data is color-converted using this color conversion device and an image based on the converted color image data is output to an image device, even if the light source changes, it is based on the converted color image data. Therefore, the achromatic color of the output image can be made to look almost the same color, and the image quality can be improved. As a result, a phenomenon in which an image that appears achromatic under a certain light source appears as a different color with a different light source as in the past can be avoided.
[0064]
  From the above, this color conversion device that inputs RGB data and converts it into CMYK data corresponding to CMYK that can be used by the printer has no RGB data in the image based on the converted CMYK data printed by the printer. When an image corresponding to the data corresponding to the chromatic component is measured under a plurality of light sources, and a plurality of color measurement results corresponding to each of the same light sources composed of Lab values in the Lab space are obtained, It can be said that this is a color conversion device that converts RGB data into CMYK data so that the difference between the plurality of colorimetric results is a small hue.
  In addition, when a plurality of color measurement results including each Lab value in the Lab space defined above are acquired, a hue in which the color difference ΔE is 4 or less when the color difference ΔE of the plurality of color measurement results in the Lab space is calculated. It can be said that this is a color conversion device that converts RGB data into CMYK data.
[0065]
(5) Second embodiment:
  It should be noted that the computer and the image equipment that can be used for carrying out the present invention can have various configurations.
  For example, the printer may be integrated with a computer or may be a dedicated product that prints only a single color image. Of course, in addition to the printing apparatus, a display apparatus that displays an image expressed in a predetermined color space may be used as the image apparatus according to the present invention.
[0066]
  By the way, three or more types of light sources may be used, color measurement results corresponding to the light sources may be acquired, and hues with small differences in color measurement results may be specified. FIG. 13 is a flowchart illustrating an example of LUT creation processing performed by the color conversion table creation device according to the second embodiment. In the present embodiment, for convenience, the first light source is a D50 light source, and the plurality of second light sources are an A light source and an F1 light source.
  First, similarly to S205 to S210, using the PC 10, data for defining n 4 grid points that are spaced at approximately equal intervals along each axis in the CMYK color space is created (S405). A plurality of patches corresponding to the CMYK data are printed on the printing paper (S410).
[0067]
  Thereafter, the operator of the PC performs color measurement on the plurality of patches using the colorimeter 30 under the D50 light source. In the PC, as in S215, the first color measurement result (color measurement result No. 1) composed of the Lab values of all the plurality of patches is acquired and stored in a predetermined area such as the RAM 13. (S415).
  Further, the light source is changed to the A light source, and color measurement is performed on the same plurality of patches under the A light source. As in S220, the PC obtains a second color measurement result (color measurement result No. 2) composed of each Lab value in the Lab space for all colorimetric patches, and stores it in a predetermined area such as the RAM 13 or the like. Store (S420).
  Further, the light source is changed to the F1 light source, and color measurement is performed on the same plurality of patches under the F1 light source. In the PC, another second color measurement result (referred to as color measurement result 3) composed of each Lab value in the Lab space for all the colorimetric patches is acquired and stored in a predetermined area such as the RAM 13. (S425).
  Note that when four or more types of light sources are used, the same operation and processing may be performed.
[0068]
  When all the color measurement results are acquired, the color measurement results 1 to 3 are associated in the Lab space, and the ab plane is divided into eight regions around the L axis around the L axis. Then, for each divided area, the average value of the color difference of 1 and 2 (referred to as ΔE1 in this embodiment) under the D50 light source and the A light source, and under the D50 light source and the F1 light source The average value of the color difference of 1 and 3 (referred to as ΔE2 in this embodiment) is calculated (S430). Next, the average of both color differences ΔE1 and ΔE2 is calculated and set as the average color difference ΔE for each region (S435).
  It should be noted that the average value of the color differences (referred to as ΔE3) of the color measurement results 2 and 3 under the A light source and the F1 light source may be calculated, and the average of ΔE1 to ΔE3 may be used as the average color difference ΔE for each region.
[0069]
  Thereafter, an area where the average color difference ΔE for each area is minimized is extracted, the hue plane of this area is specified as a hue having a small difference between the colorimetric results 1 to 3, and information to that effect is stored in the RAM 13. (S440). Thereafter, the processing of S235 to S260 in FIG. 10 is performed, and for the reference point of the LUT corresponding to the gray axis data of the RGB data, the hue of the output image corresponding to the CMYK data is the hue specified in S440. The final LUT is created by determining the CMYK gradation value of the gray axis portion of the LUT. Then, the created LUT is a colorimetric result 1 when the hue of the output image corresponding to the CMYK data is three types of light sources at the reference point corresponding to the data corresponding to the achromatic component in the RGB data. The data defines the correspondence relationship of RGB / CMYK data so that the difference of ~ 3 is a small hue.
[0070]
  When the color conversion device performs color conversion of RGB data to CMYK data with reference to the LUT, the image output from the printer 20 has a small difference in appearance of achromatic colors even when the light source is replaced. That is, under the three types of light sources, the achromatic color of the image looks almost the same color.
  As described above, according to the present invention, according to various aspects, even if the light source is changed, the achromatic color of the image output based on the color image data after conversion is made to look almost the same color, and the image quality is improved. It becomes possible to improve.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a printing system.
FIG. 2 is a block diagram illustrating a schematic configuration of a printer.
FIG. 3 is a flowchart illustrating processing performed by the color conversion apparatus.
FIG. 4 is a conceptual diagram schematically showing an operation when printing an image.
FIG. 5 is an explanatory diagram illustrating how colors are seen by human eyes.
FIG. 6 is a diagram illustrating each step of a color conversion table creation method.
FIG. 7 is a schematic diagram illustrating a state in which a hue is specified from a color measurement result.
FIG. 8 is a schematic diagram showing how a final LUT is created by creating an intermediate color conversion table.
FIG. 9 is a schematic diagram showing how a final LUT is created by shifting the gray axis portion during mapping.
FIG. 10 is a flowchart illustrating an example of LUT creation processing.
FIG. 11 is a schematic diagram illustrating a state in which an average value of color differences is calculated and a hue having a small difference in color measurement results is specified.
FIG. 12 is a flowchart illustrating an example of LUT creation processing.
FIG. 13 is a flowchart showing LUT creation processing performed by the color conversion table creation device according to the second embodiment.
[Explanation of symbols]
10 ... Personal computer
11 ... CPU
12 ... ROM
13 ... RAM
14 ... Hard disk
15 ... CD-ROM drive
16. Flexible disk drive
17a-e ... Interface
18a ... Display
18b ... Keyboard
18c ... Mouse
20 ... Inkjet printer
30 ... Color measuring device
S11: Image output process
S12 ... First color measurement result acquisition step
S13: Second color measurement result acquisition step
S14 ... Hue identification process
S15 ... Table creation process
D1 ... First color measurement result
D2 ... Second color measurement result
D11, D14 ... Data defining the input side correspondence
D12: Intermediate color conversion table
D13, D15 ... Color conversion table
I1, I2 ... Image
LI1 ... first light source
LI2 ... second light source
R1 to R3 ... Hue regions where the difference in colorimetric results is small
PA ... Patch

Claims (9)

複数の要素色に対応した階調データからなる第一カラー画像データを入力し、画像機器で使用可能な複数の別の要素色に対応した階調データからなる第二カラー画像データに変換する色変換装置であって、
上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させ、第一の光源のもとで上記複数の基準画像を測色して明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得し、第二の光源のもとで上記複数の基準画像を測色して上記色空間の各成分値から構成される第二の測色結果を取得し、上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定したとき、
上記第一カラー画像データのうち無彩色成分に相当するデータについては上記画像機器にて出力される画像の色相が上記特定された色相平面の領域となるように上記第二カラー画像データに変換することを特徴とする色変換装置。
Color that inputs first color image data consisting of gradation data corresponding to a plurality of element colors and converts it to second color image data consisting of gradation data corresponding to a plurality of other element colors that can be used in an imaging device A conversion device,
A plurality of reference images corresponding to a plurality of second color image data having a plurality of gradation data as described above are output to the image device, and the plurality of reference images are color-measured under a first light source to obtain brightness. And obtaining a first color measurement result composed of each component value of a predetermined color space expressed by hue, measuring the plurality of reference images under a second light source, A second colorimetric result composed of each component value is acquired, the first and second colorimetric results are associated with the color space, and the lightness axis is centered on the lightness axis in the color space. The hue plane is divided into a predetermined number of areas around, and the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result is calculated for the same reference image in the divided area unit , that identifies areas where the distance difference is smallest among the regions of the hue plane ,
Of the first color image data, the data corresponding to the achromatic color component is converted into the second color image data so that the hue of the image output by the imaging device is the region of the specified hue plane. A color conversion device characterized by that.
上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させ、第一の光源のもとで上記複数の基準画像を測色して明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得し、第二の光源のもとで上記複数の基準画像を測色して上記色空間の各成分値から構成される第二の測色結果を取得し、上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定し、上記第一カラー画像データのうち無彩色成分に相当するデータに対応する参照点については上記第二カラー画像データに対応して上記画像機器にて出力される画像の色相が上記特定された色相平面の領域となるように上記第一カラー画像データと第二カラー画像データとの対応関係を複数の参照点について規定した色変換テーブルを参照することにより、
上記第一カラー画像データを上記第二カラー画像データに変換することを特徴とする請求項1に記載の色変換装置。
A plurality of reference images corresponding to a plurality of second color image data having a plurality of gradation data as described above are output to the image device, and the plurality of reference images are color-measured under a first light source to obtain brightness. And obtaining a first color measurement result composed of each component value of a predetermined color space expressed by hue, measuring the plurality of reference images under a second light source, A second colorimetric result composed of each component value is acquired, the first and second colorimetric results are associated with the color space, and the lightness axis is centered on the lightness axis in the color space. The hue plane is divided into a predetermined number of areas around, and the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result is calculated for the same reference image in the divided area unit , It identifies areas where the distance difference is smallest among the regions of the hue plane, the upper Hue of an image to be output by the image device corresponding to the second color image data for the reference point of the specific hue plane corresponding to data corresponding to the achromatic component of the first color image data By referring to a color conversion table that defines the correspondence between the first color image data and the second color image data for a plurality of reference points so as to be an area,
The color conversion device according to the first Ichika color image data to claim 1, characterized in that converting into the second color image data.
複数の要素色に対応した階調データからなる第一カラー画像データを入力し、画像機器で使用可能な複数の別の要素色に対応した階調データからなる第二カラー画像データに変換する色変換方法であって、
上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させ、第一の光源のもとで上記複数の基準画像を測色して明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得し、第二の光源のもとで上記複数の基準画像を測色して上記色空間の各成分値から構成される第二の測色結果を取得し、上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定したとき、
上記第一カラー画像データのうち無彩色成分に相当するデータについては上記画像機器にて出力される画像の色相が上記特定された色相平面の領域となるように上記第二カラー画像データに変換することを特徴とする色変換方法。
Color that inputs first color image data consisting of gradation data corresponding to a plurality of element colors and converts it to second color image data consisting of gradation data corresponding to a plurality of other element colors that can be used in an imaging device A conversion method,
A plurality of reference images corresponding to a plurality of second color image data having a plurality of gradation data as described above are output to the image device, and the plurality of reference images are color-measured under a first light source to obtain brightness. And obtaining a first color measurement result composed of each component value of a predetermined color space expressed by hue, measuring the plurality of reference images under a second light source, A second colorimetric result composed of each component value is acquired, the first and second colorimetric results are associated with the color space, and the lightness axis is centered on the lightness axis in the color space. The hue plane is divided into a predetermined number of areas around, and the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result is calculated for the same reference image in the divided area unit , that identifies areas where the distance difference is smallest among the regions of the hue plane ,
Of the first color image data, the data corresponding to the achromatic color component is converted into the second color image data so that the hue of the image output by the imaging device is the region of the specified hue plane. A color conversion method characterized by that.
複数の要素色に対応した階調データからなる第一カラー画像データを入力し、画像機器で使用可能な複数の別の要素色に対応した階調データからなる第二カラー画像データに変換する機能をコンピュータに実現させる色変換プログラムであって、
上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させ、第一の光源のもとで上記複数の基準画像を測色して明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得し、第二の光源のもとで上記複数の基準画像を測色して上記色空間の各成分値から構成される第二の測色結果を取得し、上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定したとき、
上記第一カラー画像データのうち無彩色成分に相当するデータについては上記画像機器にて出力される画像の色相が上記特定された色相平面の領域となるように上記第二カラー画像データに変換する機能を実現させることを特徴とする色変換プログラム。
A function that inputs first color image data composed of gradation data corresponding to a plurality of element colors and converts it to second color image data composed of gradation data corresponding to a plurality of other element colors that can be used in an imaging device. A color conversion program for realizing a computer
A plurality of reference images corresponding to a plurality of second color image data having a plurality of gradation data as described above are output to the image device, and the plurality of reference images are color-measured under a first light source to obtain brightness. And obtaining a first color measurement result composed of each component value of a predetermined color space expressed by hue, measuring the plurality of reference images under a second light source, A second colorimetric result composed of each component value is acquired, the first and second colorimetric results are associated with the color space, and the lightness axis is centered on the lightness axis in the color space. The hue plane is divided into a predetermined number of areas around, and the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result is calculated for the same reference image in the divided area unit , that identifies areas where the distance difference is smallest among the regions of the hue plane ,
Of the first color image data, the data corresponding to the achromatic color component is converted into the second color image data so that the hue of the image output by the imaging device is the region of the specified hue plane. A color conversion program characterized by realizing functions.
複数の要素色に対応した階調データからなる第一カラー画像データと画像を出力する画像機器で使用可能な複数の別の要素色に対応した階調データからなる第二カラー画像データとの対応関係を複数の参照点について規定する色変換テーブルを作成する色変換テーブル作成方法であって、
上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させる画像出力工程と、
第一の光源のもとで上記複数の基準画像を測色し、明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得する第一測色結果取得工程と、
第二の光源のもとで上記複数の基準画像を測色し、上記色空間の各成分値から構成される第二の測色結果を取得する第二測色結果取得工程と、
上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定する色相特定工程と、
上記第一カラー画像データのうち無彩色成分に相当するデータに対応する上記参照点については、上記第二カラー画像データに対応して上記画像機器にて出力される画像の色相が上記色相特定工程にて特定された色相平面の領域となるように上記第一カラー画像データと第二カラー画像データとの対応関係を決定して上記色変換テーブルを作成するテーブル作成工程とを具備することを特徴とする色変換テーブル作成方法。
Correspondence between first color image data composed of gradation data corresponding to a plurality of element colors and second color image data composed of gradation data corresponding to a plurality of other element colors usable by an image device that outputs an image A color conversion table creation method for creating a color conversion table that defines a relationship for a plurality of reference points,
An image output step for causing the image device to output a plurality of reference images corresponding to a plurality of second color image data having a plurality of gradation data levels;
A first colorimetric that measures the plurality of reference images under a first light source and obtains a first colorimetric result composed of each component value of a predetermined color space expressed by brightness and hue. A result acquisition process;
A second colorimetric result acquisition step of measuring the plurality of reference images under a second light source and acquiring a second colorimetric result composed of the component values of the color space;
The first and second colorimetric results are associated with the color space, the hue plane is divided into a predetermined number of areas around the lightness axis in the color space, and a divided region unit And calculating the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result for the same reference image, and selecting the area where the distance difference is the smallest among the areas of the hue plane. A hue identification process to identify;
For the reference point corresponding to the data corresponding to the achromatic component in the first color image data, the hue of the image output by the imaging device corresponding to the second color image data is the hue specifying step. A table creation step of creating a color conversion table by determining a correspondence relationship between the first color image data and the second color image data so as to be an area of a hue plane specified in Color conversion table creation method.
複数の要素色に対応した階調データからなる第一カラー画像データと画像を出力する画像機器で使用可能な複数の別の要素色に対応した階調データからなる第二カラー画像データとの対応関係を複数の参照点について規定する色変換テーブルを作成する色変換テーブル作成装置であって、
上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させる画像出力手段と、
第一の光源のもとで上記複数の基準画像を測色し、明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得する第一測色結果取得手段と、
第二の光源のもとで上記複数の基準画像を測色し、上記色空間の各成分値から構成される第二の測色結果を取得する第二測色結果取得手段と、
上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定する色相特定手段と、
上記第一カラー画像データのうち無彩色成分に相当するデータに対応する上記参照点については、上記第二カラー画像データに対応して上記画像機器にて出力される画像の色相が上記色相特定手段にて特定された色相平面の領域となるように上記第一カラー画像データと第二カラー画像データとの対応関係を決定して上記色変換テーブルを作成するテーブル作成手段とを具備することを特徴とする色変換テーブル作成装置。
Correspondence between first color image data composed of gradation data corresponding to a plurality of element colors and second color image data composed of gradation data corresponding to a plurality of other element colors usable by an image device that outputs an image A color conversion table creation device for creating a color conversion table that defines a relationship for a plurality of reference points,
An image output means for causing the image device to output a plurality of reference images corresponding to a plurality of second color image data having a plurality of gradation data levels;
A first colorimetric that measures the plurality of reference images under a first light source and obtains a first colorimetric result composed of each component value of a predetermined color space expressed by brightness and hue. A result acquisition means;
A second colorimetric result acquisition means for measuring the plurality of reference images under a second light source and acquiring a second colorimetric result composed of the component values of the color space;
The first and second colorimetric results are associated with the color space, the hue plane is divided into a predetermined number of areas around the lightness axis in the color space, and a divided region unit And calculating the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result for the same reference image, and selecting the area where the distance difference is the smallest among the areas of the hue plane. A hue identification means to identify;
For the reference point corresponding to the data corresponding to the achromatic color component in the first color image data, the hue of the image output by the imaging device corresponding to the second color image data is the hue specifying means. And a table creation means for creating a color conversion table by determining a correspondence relationship between the first color image data and the second color image data so as to be an area of a hue plane specified in (1). A color conversion table creation device.
複数の要素色に対応した階調データからなる第一カラー画像データと画像を出力する画像機器で使用可能な複数の別の要素色に対応した階調データからなる第二カラー画像データとの対応関係を複数の参照点について規定する色変換テーブルを作成する機能をコンピュータに実現させる色変換テーブル作成プログラムであって、
上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させる画像出力機能と、
第一の光源のもとで上記複数の基準画像を測色し、明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得する第一測色結果取得機能と、
第二の光源のもとで上記複数の基準画像を測色し、上記色空間の各成分値から構成される第二の測色結果を取得する第二測色結果取得機能と、
上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定する色相特定機能と、
上記第一カラー画像データのうち無彩色成分に相当するデータに対応する上記参照点については、上記第二カラー画像データに対応して上記画像機器にて出力される画像の色相が上記色相特定機能にて特定された色相平面の領域となるように上記第一カラー画像データと第二カラー画像データとの対応関係を決定して上記色変換テーブルを作成するテーブル作成機能とを実現させることを特徴とする色変換テーブル作成プログラム。
Correspondence between first color image data composed of gradation data corresponding to a plurality of element colors and second color image data composed of gradation data corresponding to a plurality of other element colors usable by an image device that outputs an image A color conversion table creation program for causing a computer to realize a function of creating a color conversion table that defines a relationship for a plurality of reference points,
An image output function for causing the image device to output a plurality of reference images corresponding to a plurality of second color image data in which the gradation data is in a plurality of stages;
A first colorimetric that measures the plurality of reference images under a first light source and obtains a first colorimetric result composed of each component value of a predetermined color space expressed by brightness and hue. A result acquisition function;
A second colorimetric result acquisition function for measuring the plurality of reference images under a second light source and acquiring a second colorimetric result composed of the component values of the color space;
The first and second colorimetric results are associated with the color space, the hue plane is divided into a predetermined number of areas around the lightness axis in the color space, and a divided region unit And calculating the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result for the same reference image, and selecting the area where the distance difference is the smallest among the areas of the hue plane. The hue identification function to identify,
For the reference point corresponding to the data corresponding to the achromatic component in the first color image data, the hue of the image output by the imaging device corresponding to the second color image data is the hue specifying function. And a table creation function for creating a color conversion table by determining a correspondence relationship between the first color image data and the second color image data so as to be an area of a hue plane specified in A color conversion table creation program.
複数の要素色に対応した階調データからなる第一カラー画像データと画像を出力する画像機器で使用可能な複数の別の要素色に対応した階調データからなる第二カラー画像データとの対応関係が複数の参照点について規定された色変換テーブルであって、
上記階調データを複数段階とした複数の第二カラー画像データに対応する複数の基準画像を上記画像機器に出力させ、第一の光源のもとで上記複数の基準画像を測色して明度および色相で表現される所定の色空間の各成分値から構成される第一の測色結果を取得し、第二の光源のもとで上記複数の基準画像を測色して上記色空間の各成分値から構成される第二の測色結果を取得し、上記色空間の中に上記第一および第二の測色結果を対応付けるとともに、上記色空間内で明度軸を中心として当該明度軸周りに色相平面を所定数の領域に区分し、区分した領域単位で同じ上記基準画像について上記第一の測色結果の座標と上記第二の測色結果の座標との距離差を算出し、上記色相平面の各領域のうち同距離差が最も小さくなる領域を特定したとき、
上記第一カラー画像データのうち無彩色成分に相当するデータに対応する上記参照点については、上記第二カラー画像データに対応して上記画像機器にて出力される画像の色相が上記特定された色相平面の領域となるように上記第一カラー画像データと第二カラー画像データとの対応関係が決定されていることを特徴とする色変換テーブル。
Correspondence between first color image data composed of gradation data corresponding to a plurality of element colors and second color image data composed of gradation data corresponding to a plurality of other element colors usable by an image device that outputs an image A color conversion table whose relationship is defined for a plurality of reference points,
A plurality of reference images corresponding to a plurality of second color image data having a plurality of gradation data as described above are output to the image device, and the plurality of reference images are color-measured under a first light source to obtain brightness. And obtaining a first color measurement result composed of each component value of a predetermined color space expressed by hue, measuring the plurality of reference images under a second light source, A second colorimetric result composed of each component value is acquired, the first and second colorimetric results are associated with the color space, and the lightness axis is centered on the lightness axis in the color space. The hue plane is divided into a predetermined number of areas around, and the distance difference between the coordinates of the first color measurement result and the coordinates of the second color measurement result is calculated for the same reference image in the divided area unit , that identifies areas where the distance difference is smallest among the regions of the hue plane ,
For the reference point corresponding to the data corresponding to the achromatic component in the first color image data, the hue of the image output by the imaging device corresponding to the second color image data is specified. A color conversion table, wherein a correspondence relationship between the first color image data and the second color image data is determined so as to be an area of a hue plane .
上記請求項8に記載の色変換テーブルのデータを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium on which the data of the color conversion table according to claim 8 is recorded .
JP2002077766A 2002-03-20 2002-03-20 Color conversion device, color conversion method, color conversion program, color conversion table creation method, color conversion table creation device, color conversion table creation program, color conversion table, and medium on which color conversion table data is recorded Expired - Lifetime JP4092544B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002077766A JP4092544B2 (en) 2002-03-20 2002-03-20 Color conversion device, color conversion method, color conversion program, color conversion table creation method, color conversion table creation device, color conversion table creation program, color conversion table, and medium on which color conversion table data is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002077766A JP4092544B2 (en) 2002-03-20 2002-03-20 Color conversion device, color conversion method, color conversion program, color conversion table creation method, color conversion table creation device, color conversion table creation program, color conversion table, and medium on which color conversion table data is recorded

Publications (2)

Publication Number Publication Date
JP2003283850A JP2003283850A (en) 2003-10-03
JP4092544B2 true JP4092544B2 (en) 2008-05-28

Family

ID=29228106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002077766A Expired - Lifetime JP4092544B2 (en) 2002-03-20 2002-03-20 Color conversion device, color conversion method, color conversion program, color conversion table creation method, color conversion table creation device, color conversion table creation program, color conversion table, and medium on which color conversion table data is recorded

Country Status (1)

Country Link
JP (1) JP4092544B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7317843B2 (en) * 2004-04-01 2008-01-08 Microsoft Corporation Luminance correction
CN111481164B (en) * 2019-01-25 2023-04-07 宏碁股份有限公司 Method and device for acquiring fluorescence fundus picture
CN113065565B (en) * 2021-03-15 2022-05-31 东风商用车有限公司 Design method of metallic flashing paint color sample plate

Also Published As

Publication number Publication date
JP2003283850A (en) 2003-10-03

Similar Documents

Publication Publication Date Title
JP4528782B2 (en) Generate a color conversion profile for printing
US7626723B2 (en) Color-conversion-table creating method
JP4561483B2 (en) Determining the ink amount combination that reproduces the specified color
JP4771538B2 (en) Color conversion table generation method, color conversion table, and color conversion table generation apparatus
JP6349707B2 (en) Color conversion apparatus, lookup table generation method, and lookup table generation apparatus
JP2001047665A (en) Method and apparatus for processing image, and recording medium
JP4194289B2 (en) Image processing method
JP3962631B2 (en) Image processing method, image processing apparatus, and image processing program
JP6349708B2 (en) Lookup table generation method and lookup table generation apparatus
JP5023036B2 (en) Profile generation apparatus, profile generation program, profile generation method, image processing apparatus, image processing program, and image processing method
JP4092544B2 (en) Color conversion device, color conversion method, color conversion program, color conversion table creation method, color conversion table creation device, color conversion table creation program, color conversion table, and medium on which color conversion table data is recorded
JP3968565B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PRINT CONTROL PROGRAM, MEDIUM CONTAINING PRINT CONTROL PROGRAM, COLOR CONVERSION DEVICE, COLOR CONVERSION METHOD, COLOR CONVERSION TABLE CREATION METHOD, AND COLOR CONVERSION TABLE
JP2004236174A (en) Device, method and program for creating color correction profile
JP2002118763A (en) Color image output method and color image output device
US7262881B2 (en) Method to determine a characteristic of a printing system
JP2005057570A (en) Printing controller, color conversion device, printing control method, color conversion method, printing control program, color conversion program; method, device and program for generating color conversion table; and color conversion table and medium recording data of color conversion table
JP3988494B2 (en) How to create a color conversion table
JP2007243422A (en) Color transformation definition data making device and method, and image output apparatus
US20070279715A1 (en) Color conversion definition creating apparatus, and color conversion definition creating program storage medium
JP2003283856A5 (en)
JP2013118516A (en) Image processing apparatus and method thereof
JP2007221702A (en) Color conversion device, color conversion method and color conversion program
JP2006159709A (en) Image outputting device/method and recording medium
JP2007228153A (en) Device, method, and program for color conversion
JP2006211579A (en) Color profile producing method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050131

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070418

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070614

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080219

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5