JP2004153340A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2004153340A
JP2004153340A JP2002313355A JP2002313355A JP2004153340A JP 2004153340 A JP2004153340 A JP 2004153340A JP 2002313355 A JP2002313355 A JP 2002313355A JP 2002313355 A JP2002313355 A JP 2002313355A JP 2004153340 A JP2004153340 A JP 2004153340A
Authority
JP
Japan
Prior art keywords
color
line
hue
image
compression
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.)
Withdrawn
Application number
JP2002313355A
Other languages
Japanese (ja)
Inventor
Mizue Morishita
瑞恵 森下
Osamu Yamada
修 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002313355A priority Critical patent/JP2004153340A/en
Publication of JP2004153340A publication Critical patent/JP2004153340A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of realizing common color reproduction between a plurality of devices and fine adjustment for color reproduction. <P>SOLUTION: An image processing apparatus 1 performs color matching by color gamut compression between an image display apparatus 2 having a predetermined color gamut and each of a plurality of image output apparatuses 3 having color gamuts different from that of the apparatus 2 and having color gamuts different from each other. The apparatus 1 is provided with a reading means (18) for reading a target color of the apparatus 3 which is preset with respect to a predetermined color in the apparatus 2; a hue line setting means (6) capable of arbitrarily setting a common hue line on the basis of the hue angle of each target color; and a control color calculating means (8) for calculating a control color being a color after subjected to color gamut compression in the common hue line with respect to the predetermined color, on the basis of the color gamut of the apparatus 3 and each of the above target color. The apparatus 1 performs color matching by the color gamut compression by using the control color. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、色再現範囲(以下、色域という)の異なるデバイス間で色変換を行うための画像処理技術に関するものである。例えば、色域の大きいモニタ上のカラー画像信号を色域の小さいプリンタによりハードコピーする場合のように、異なるデバイス間におけるカラー画像データの入出力を行う場合に用いられる。
【0002】
【従来の技術】
近年、インターネット等のネットワークが広く普及し、多くのユーザが、様々なデバイスをネットワークに接続する状況にある。そこで、異なるデバイス間においても同じような色で色再現しようという、デバイスに依存しない色再現技術が要求されるようになってきた。このデバイスに依存しない色再現技術を実現するためのシステムのことを一般的にカラーマネージメントシステム(CMS)と呼んでいる。
【0003】
このCMSは、例えば、図25に示すように、カメラ、プリンタ、モニタなどが接続されている場合において、入力系の色信号を出力系の色信号へ変換するときに、プロファイルとよばれる変換式もしくは変換テーブルにより、デバイスに依存しない色空間(CIE−XYZ,CIE−L*a*b*等)に一度変換することによって実現される。
【0004】
図26は、CMSの基本的な構成を説明するブロック図である。5201はCMSにおける画像処理装置、5202はカメラなど画像を入力するための画像入力装置、5203はモニタなど画像を表示するための画像表示装置、5204はプリンタなど画像を出力するための画像出力装置、5205は画像入力装置5202より入力される信号を受信する画像入力部、5206は画像表示装置5203で表示するための信号を生成する画像表示部、5207は画像入力装置5202で入力され、画像表示装置5203で表示する色と、画像出力装置5204にて出力される色とのカラーマッチングを行うカラーマッチング処理部、5208は画像出力装置5204に出力するための階調変換処理や色変換処理などを行う画像処理部、5209は画像出力装置5204で出力するための信号を生成する画像出力部、5210は画像入力装置5202などのカメラプロファイルを記憶してあるカメラプロファイル、5211は画像表示装置5203などのモニタプロファイルを記憶してあるモニタプロファイル、5212は画像出力装置5204などのプリンタプロファイルを記憶してあるプリンタプロファイルである。
【0005】
一般に、カラー画像を扱うデバイスの色域形状は、デバイス毎に異なる。例えば、モニタは、赤(R)、緑(G)、青(B)の3原色の蛍光体の発色により加法混色で色再現を行うため、モニタの色域は、使用する蛍光体の種類に依存する。一方、プリンタの色域は、減法混色で色再現を行うため、使用するインクの種類に依存する。例えば、sRGBモニタの色域とインクジェットプリンタの色域とを示したものが図27である。図27は、CIE−L*a*b*色空間から以下の式(1)、(2)を用いて変換される、L*C*平面上での2つの色域を比較したものである。
L*=L* (1)
C*=((a*)+(b*)1/2 (2)
図27に示す色相の場合、インクジェットプリンタの色域は、モニタ色域に比べ彩度のピークが明度方向で低明度側にずれている。このため、モニタからプリンタへの色変換を行った場合、高明度、高彩度領域での色再現性が良くない。
【0006】
このように、出力系の色域が入力系の色域より小さい場合には、画像によっては入力系の色を出力系において正確に色再現することが不可能となる。例えば、モニタ上の画像をプリンタで出力する場合、モニタ色域よりもプリンタ色域の方が小さいため、プリンタ色域外の色はそのまま再現できない。従ってこのような場合には、元の画像の色をなるべく保ちつつ、色域外の色を色域内に持ってくるような色変換が必要になる。このように、物理的に再現不可能な色を、何らかの処理により色域内に押し込むことを一般的に色域圧縮と呼んでいる。
【0007】
従来、色域圧縮の手法としては、図28(a)に示すように、▲1▼明度L*を一定にして彩度C*だけを圧縮するアルゴリズムや、図28(b)に示すように、▲2▼L軸上の固定された1点(例えば、L*=50、このような‘点’で表現される色を焦点色と呼ぶ)に向かって引いた補助線上の点に圧縮するアルゴリズム、図28(c)に示すように、▲3▼出力系の最大彩度における明度軸上の点に向かって引いた補助線上の点に圧縮するアルゴリズムなどが知られている。
【0008】
また、特開平9−46537号公報には、明度を優先しつつ、彩度の低下も大きくならないように考慮したアルゴリズムが開示されている。
【0009】
さらに、最近では、このような明度彩度方向のみ圧縮する2次元圧縮だけでなく、ある程度色相を変化させることで、より色再現性を高めるべく、明度彩度色相方向への3次元圧縮が提案されてきている。
【0010】
このように現在では様々な色域圧縮の手法が提案され、画像処理装置に組み込まれており、接続された各デバイスの色域(例えば、入力系の色域であるモニタ色域と、出力系の色域であるプリンタ色域と)の違いに応じて、各デバイスごとに最適な色域圧縮が行われている。
【0011】
【特許文献1】
特開平9−46537号公報
【0012】
【発明が解決しようとする課題】
しかしながら、上述のように従来の色域圧縮は、一般に、出力系のデバイスの色域ごとにそれぞれ最適な色域圧縮を行っていたため、例えば同じモニタ色を複数の出力系のデバイスで色再現しても、出力系のデバイスの色域がそれぞれ異なっている場合には、異なる色再現となってしまっていた。
【0013】
また、このような場合に、相互に色域の異なる出力系の各デバイスで、同じモニタ色を同じ色味で再現できるようにすべく、色域圧縮の調整を行おうとしても、これまでは調整項目に自由度がなく、必ずしもユーザの所望の色味が実現できなかった。
【0014】
本発明は、上記課題に鑑みてなされたものであり、各デバイスの色域の違いによらず、複数のデバイス間で共通の色再現を実現し、さらに色再現のための細やかな調整を実現することを目的とする。
【0015】
【課題を解決するための手段】
上記の目的を達成するために本発明に係る画像処理装置は以下のような構成を備える。即ち、
所定の色域を有する第1の画像機器と、該第1の画像機器と異なる色域を有し、かつ相互に異なる色域を有する第2の複数の画像機器との間における色域圧縮によるカラーマッチングを行う画像処理装置であって、
前記第1の画像機器における所定の色に対してあらかじめ設定された、前記第2の各々の画像機器の目標色を読み込む読込手段と、
前記読み込まれた各目標色の色相角に基づいて、共通の色相線を任意に設定可能な色相線設定手段と、
前記所定の色に対する、前記共通の色相線における色域圧縮後の色である制御色を、前記第2の各々の画像機器の色域と、前記各目標色とに基づいて前記第2の各々の画像機器ごとに算出する制御色算出手段と、を備え、
前記制御色を用いて、色域圧縮によるカラーマッチングを行うことを特徴とする。
【0016】
【発明の実施の形態】
はじめに本発明の概略について説明する。本発明は、各デバイスの色域の違いを考慮して、複数のデバイス間で共通の色再現を実現するものであり、共通の色再現を実現するにあたっては、各デバイスごとの色域を最大限に利用する。
【0017】
つまり、同じモニタ色を色域圧縮する場合、各デバイス毎に異なる色域を有するため、従来であれば、色域圧縮後の明度、彩度、色相がそれぞれのデバイスごとに異なっていたところ、本発明によれば、同じモニタ色を色域圧縮する場合、各デバイス間の色相が共通になるように(同一色相面上で)色域圧縮することで、各デバイス間の色味の同一性が増す。
【0018】
また、同一色相面上において、同一の圧縮線上(詳細は後述)に色域圧縮することで、異なるデバイス間における、色味の同一性を更に増すことが可能となる。
【0019】
さらに、各デバイス間の共通の色相は、ユーザが任意に設定可能であり、また、圧縮線もユーザが任意に設定可能とすることで、色再現のための細やかな調整が可能となる。以下に、添付図面を参照しながら、本発明の実施形態を詳細に説明する。
【0020】
【第1の実施形態】
図1は本発明の実施形態である画像処理装置を備えるシステムの構成を示したブロック図である。1は本発明の第1の実施形態にかかる画像処理装置、2はモニタなど画像を表示するための画像表示装置、3はプリンタなど画像を出力するための画像出力装置、4は画像表示装置2で表示するための信号を生成する画像表示部、5は画像表示装置2に表示される色を画像出力装置3に出力するための階調変換処理などを行う画像処理部、6は色相線を設定する色相線設定部、7は明度彩度方向の色域圧縮線を設定する圧縮線設定部、8は色域圧縮する際に使用する制御点の設定を行う制御点設定部、9は画像表示装置2に表示される色と画像出力装置3にて出力される色とのカラーマッチングLUTを作成するカラーマッチングLUT作成部、10は画像出力装置3に出力するための色変換処理を行う色変換処理部、11はオリジナル色を記憶するオリジナル色記憶部、12は画像出力装置3で出力するための信号を生成する画像出力部、13はデータ処理を行うために一時的にデータを保存するデータバッファ、14は画像表示装置2などのモニタプロファイルを記憶しておくモニタプロファイル、15は画像出力装置3などのプリンタプロファイルを記憶してあるプリンタプロファイル、16はユーザが画像処理装置1を用いて操作を行うためのUI部、17は画像出力装置3で用いる出力用紙の種類等を設定する出力条件設定部、18はユーザが指定した目標色を設定する目標色設定部である。
【0021】
<全体処理>
ここで図2は、画像処理装置1にて行われる画像処理の流れを示すフローチャートであり、図5は、ユーザがその処理を操作するユーザインタフェース(UI)である。では、図2のフローチャートと図5のUIを用い、画像処理装置1にて行われる色域圧縮処理について詳細に説明する。
【0022】
ステップS201では、ユーザによって出力機器設定領域503、出力用紙設定領域504及び色再現モード設定領域505にて、プルダウン形式で選択された出力条件(出力機器、出力用紙、色再現モード)の情報を取得する。
【0023】
ステップS202では、ユーザが制御点数設定ボタン506を押下することで現れるテキストボックス(不図示)に所望の制御点数Nを入力することで制御点数N情報を取得する。
【0024】
ステップS203では、ユーザが格子点数設定ボタン507を押下することで現れるテキストボックス(不図示)に所望の格子点数Mを入力することで、カラーマッチングLUT格子点数M情報を取得する。ステップS204では、目標色ファイル名入力領域523に目標色ファイル名を複数(または一つ)入力し、目標色入力ボタン508を押下することで、目標色設定部18においてユーザの指定したファイルから目標色情報を取得する。ここで、目標色Refとは、たとえばユーザが色味を一致させて出力したいプリンタがある場合、このプリンタの出力した色のL*C*hデータN色(L*C*hデータとは、L*C*h色空間における色座標である)を指しており、目標色設定部18にあらかじめ記憶されているものとする。目標色Refは、図15に示すようなテーブルデータとする。
【0025】
ステップS205では、プリンタプロファイル15にあらかじめ記憶されている画像出力装置3の色域データGonを読み出す。たとえば、色域データGonは、プリンタに送られるデジタルデータRGBを出力した結果の測色データLabのデータであり、具体的には、RGB各9段階のデータ(計729色)の出力結果のLab値である。
【0026】
ステップS206では、制御点数Nを0に初期化する。ステップS207では、色相線設定部6で色相線Hnを設定する。色相線Hn設定の詳細な説明は、図3のフローチャートを用いて後述する。ステップS208では、圧縮線設定部7で圧縮線Lnを設定する。圧縮線Ln設定の詳細は図4のフローチャートを用いて後述する。ステップS209では、ステップS208で求めた値に基づいて色域圧縮を行うための制御点に設定する。
【0027】
ステップS210では、Nが制御点数分ループを行っていない場合はステップS212へ進みNに1を加えてステップS207へ進み、N値が制御点数分(本実施形態では、制御点数は18)に達した場合は、処理を終了する。
【0028】
ステップS211では、ユーザがカラーマッチングLUT作成ボタン522を押下することで、カラーマッチングLUTを作成する。カラーマッチングLUT作成の詳細は、図8のフローチャートを用いて後述する。本実施形態では、Nを18(RGBCMY各々についてBright,Dark,Primary)としているが、18色に限定しないのはもちろん、色の成分についても限定しないのは言うまでもない。
【0029】
<色相線設定>
次に図3、図5と図11を用い、ステップS207の色相線設定の詳細を説明する。ステップS301では、色相線に対する詳細設定の有無を判別する。ここでは、ユーザが色相線設定ボタン502を押下しない場合、ステップS306へ進み、色相角平均H’を算出しステップS304へ進む。色相角平均H’の算出処理について図11を用いて詳細に説明する。
【0030】
図11は、CIE−L*a*b*色空間のa*b*平面である。図11に示す通り、本実施形態では、色相角H’を目標色(Ref1、Ref2、Ref3)の色相角平均を算出して求めている。
【0031】
一方、ユーザが色相線設定ボタン502を押下する場合には、色相線設定領域510の操作が可能になり、ステップS302へ進む。
【0032】
ここで、色相線設定領域510について詳細に説明する。色相線色設定領域512では、プルダウン形式で制御点数Nに設定した18色中一色の選択を行う。色相線色域表示ボタン514に示すラジオボタンの制御により、現在処理対象としている画像出力装置3の色域表示の有無が選択可能となる。
【0033】
色相線目標色表示ボタン515に示すラジオボタンの制御により目標色(Ref1、Ref2、Ref3)表示の有無を選択できる。ユーザは、プリンタ色域を考慮しながら、色相線表示領域513の色相線Hnについて目標色の近似曲線(直線、2次、3次・・・)等自由な制御が可能である。ここで図20を用いて色相線Hnの作成方法を詳細に説明する。
【0034】
図20は図5に示すUIの色相線表示領域513部分のみを図示したものであり、図20(a)に示す色相線Hn’’は、色相線の詳細設定を行う場合の変更前の色相線を示し、図20(b)に示す色相線Hn’は色相線の詳細設定を行う場合の変更後の色相線を示している。
【0035】
変更後色相線Hn’は、変更前色相線Hn’’上の任意の色度点Z1’’を上下左右(図20では下方向)に動かし、図20(b)に表すように色度点Z1’を通る目標色Refの近似曲線を算出することで求めることができる。
【0036】
ステップS302では、色相線表示領域513で色相設定し、OKボタン516を押下することで、上記のように変更後の色相線Hn’を算出し色相線Hnに設定する。ステップS303では、ステップS302で算出した色相線Hnと色域データGonの交点Xlabを算出する。
【0037】
ステップS304では、ステップS303で算出した交点Xlabの色度座標から算出した交点色相角H’’、もしくはステップS306で計算した色相角平均H’を色域変換後の色相角Havに設定する。ステップS305では、色相角Havをデータバッファに書き込み、この処理を終える。
【0038】
このように、色域変換後の色相線の詳細設定を行う場合、ユーザは、色相線表示領域513において、自分の意図を反映させた色相線を自由に調整することが可能となる。また、詳細設定を行わない場合は、図11に示すように平均色相角H’となる。ここで、上記に説明した色相線Hn’を設定するための色相線Hn’’上の任意の色度点Z1’’は、1点に限定しないのはもちろんであり、色相線Hn’’上に複数の点Z1’’を用い色相線Hn’を設定するようにして良い。
【0039】
<圧縮線設定>
次に、図13を用いて圧縮線の詳細な説明を行う。図13は、CIE−L*a*b*色空間から変換されるL*C*平面である。圧縮線Lnは、色相変換後のオリジナル色ORmからL*軸上のLstへ向けて引いた線である。図13では、圧縮線Lnを直線で図示しているが、直線に限定しないのは言うまでもない。
【0040】
次に図4を用い、ステップS208の圧縮線設定の詳細を説明する。ステップS401では、データバッファ13から色相角Havを読み出す。ステップS402では、オリジナル色記憶部からオリジナル色ORcを読み出す。ここで、オリジナル色ORcは、モニタである画像表示装置2に表示されているモニタ色を示し、図10のようなテーブルデータとしてオリジナル色記憶部11に保存しておく。図10において、Nは制御点数、R,G,Bは画像表示装置2へ入力するデジタルデータ、Lm,Cm,hmは画像表示装置2にて表示される測色値(CIE−L*C*h色空間における値)である。
【0041】
ステップS403では、オリジナル色ORcに色相変換を施したORmを算出する。ここで、オリジナル色ORcとオリジナル色ORmとの関係について図9を用いて詳細に説明する。図9は、CIE−L*a*b*色空間におけるa*b*平面である。図9は、オリジナル色ORc(○印)を色相角Havへと色相変換した色ORm(△印)を表している。
【0042】
ステップS404では、詳細設定の有無を判別する。ここでは、圧縮線設定ボタン509を押下し、圧縮線設定領域511上で詳細な設定をする場合はステップS405へ進み、詳細な設定を行わない場合はステップS407へ進む。ステップS407では、目標色Refと最短距離となる直線Lを算出する。
【0043】
ここで、ステップS407について図12を用いて詳細に説明する。図12は、CIE−L*C*h色空間上のL*C*平面である。図12に示す通り、色相変換後のオリジナル色ORmを通り、目標色Ref1、Ref2、Ref3との距離が最短である、グレー軸上の一点(焦点色)Lstに向かって引く直線Lnを算出する。本実施形態では、直線Lnの算出方法を、目標色との距離が最短である直線としているが、他の近似曲線などでも構わない。
【0044】
ステップS408では、ステップS407で算出した直線Lnの切片を焦点色Lstに設定する。圧縮線設定領域511上で詳細設定を行う場合、ステップS405へ進む。
【0045】
ここで、圧縮線設定領域511について詳細に説明する。圧縮線色設定領域517はプルダウン形式で制御点に設定した18色中一色の選択ができる。圧縮線色域表示ボタン519に示すラジオボタンの制御を行うことで、現在処理対象としている画像出力装置3の色域表示の表示、非表示の選択が可能となる。圧縮線目標色表示ボタン520に示すラジオボタンの制御を行うことで、目標色(Ref1、Ref2、Ref3)の表示、非表示の選択が可能となる。圧縮線表示領域518では、オリジナル色から焦点色Lstに向かって引く圧縮線Lnの制御を行う。圧縮線表示領域518の圧縮線Lnについて、焦点色の移動や、目標色の近似曲線(直線、2次、3次・・・)作成等、自由な制御が可能である。
【0046】
ここで、図21を用いて圧縮線Lnの作成方法を詳細に説明する。図21は図5のUIの圧縮線表示領域518に示す部分のみを図示したものであり、図21(a)、(c)に示す圧縮線Ln’’は、圧縮線の詳細設定を行う場合の変更前の圧縮線を示し、図21(b)、(d)に示す圧縮線Ln’は圧縮線の詳細設定を行う場合の変更後の圧縮線を示している。
【0047】
まず、焦点色Lstを移動させることで圧縮線を制御する方法を図21(c)、(d)を用いて説明する。変更後圧縮線Ln’は、変更前圧縮線Ln’’上の焦点L’’stを上下(図21では、上方向)に移動し、図21(d)に示すような焦点L’st、変換後オリジナル色ORmを通る曲線を算出することで求めることができ、この変更後圧縮線Ln’を圧縮線Lnに設定する。次に、焦点色Lstではなく、圧縮線Lnそのものを制御する方法を図21(a)、(b)を用いて説明する。
【0048】
変更後圧縮線Ln’は、変更前圧縮線Ln’’上の任意の色度点Z2’’を上下左右(図21では右上方向)に動かし、図21(b)に表すように色度点Z2’、焦点色Lst、変換後オリジナル色ORmを通る曲線を算出することで求めることができ、この変更後圧縮線Ln’を圧縮線Lnに設定する。
【0049】
一方、ステップS406では、ステップS405でユーザが圧縮線表示領域518においてプリンタの色域形状を考慮しつつ圧縮線を調整し、所望の圧縮線を作成しOKボタン521を押下することで、色相変換後のオリジナル色ORmと焦点色Lstとを結ぶよう算出された変更後圧縮線Ln’を圧縮線Lnに設定する。
【0050】
ステップS409では、色域データGonと圧縮線Lnとの交点Xlabを算出する。ここで、交点Xlab算出の詳細な説明は図6のフローチャートを用いて後述する。
【0051】
ステップS410では、ステップS409で算出した交点Xlabを、色域圧縮のための制御点に設定し、この処理を終える。ここで、上記に説明した圧縮線Ln’を設定するための圧縮線Ln’’上の任意の色度点Z2’’は、1点に限定しないのはもちろんであり、圧縮線Ln’’上に複数の点Z2’’を用い、新たな圧縮線Ln’を設定するようにして良い。
【0052】
<カラーマッチングLUT作成>
次に図8を用い、ステップS211のカラーマッチングLUT作成処理の詳細を説明する。ステップS801では、制御点数Nが格子点データMを含む場合は、ステップS810へ進み、格子点データMを含まない場合はステップS802に進む。ここで、本実施形態では格子点グリット数Mを9としているが、格子点グリット数Mは9に限定しないのは言うまでもない。
【0053】
ステップS802では、変数Colを1に初期化している。ここで、Colは次ステップである、ループ内処理をRGBCMYの6色行うための変数である。ステップS803では、写像元(入力系色域)White−Primary−Blackライン上の色相補間処理を行う。本実施形態(制御点数N=18、格子点グリット数M=9)では、写像元のWhite−Primary−Blackライン上には、5色(Primary,Bright,Dark+White,Black)のオリジナル色しか存在していないため、残りの12色の色度を算出し、補間により色相線を設定する。
【0054】
ステップS804では、前記ステップS803で補間演算により算出したWhite−Primary−Black線上の12色に対応した、色域圧縮するための焦点色を算出する。残り12色の焦点色は、5色のオリジナル色とそれに対応する5色の焦点色の関係を用いて補間演算を行うことで算出する。
【0055】
ステップS805では、ステップS803及びステップS804で算出したオリジナル色と焦点色とを用いて圧縮線Lnを算出する。ステップS806では、色数Col値が6以上であればステップS807へ進み、Col値が5以下ならばステップS812へ進み、変数Colに1を加えステップS803へ進む。
【0056】
ステップS807では、色域データGonと圧縮線Lnとの交点Xlabを算出する。ステップS808では、ステップS603で求めたオリジナル色とステップS607で算出した交点XlabとステップS605で算出した圧縮線Lnを用い、残りの全ての格子点データMに対して、対応する写像先を求める。ここでは、入力系色域とプリンタ色域との関係(体積比など)によって、線形(または非線形)の色域圧縮を行う。
【0057】
ステップS809では、ステップS808で行った写像先をM格子点データの制御点に設定する。ステップS810では、N色の中からMの格子点データ分を取り出す。ステップS811では、ステップS809で設定した制御点及び、ステップS810で取り出したデータからMグリットのカラーマッチングLUTを作成する。ここで、本実施形態では格子点グリット数Mを9としているが、格子点グリット数Mは9に限定しないのは言うまでもない。
【0058】
<色域データと圧縮線との交点算出>
次に図6、図7、図19を用い、ステップS507である色域データGonと圧縮線Lnとの交点Xlab算出処理の詳細を説明する。図19は色域データGonをRGB色空間で表現したものである(つまり、交点Xlabは常に図19の色立体の表面に存在することになる)。
【0059】
ステップS601では、変数Colを1に初期化する。Colは、RGBCMYの6色分のループを回すための変数で、6回のループで、RGB座標における色立体(図19参照) を構成する6平面(R=0,G=0,B=0,R=255,G=255,B=255)の全平面において、圧縮線Lnと色域データGonとの交点検索を行っている。
【0060】
ステップS602では、変数iを0に初期する。ステップS603では、変数jを0に初期化する。ここで、図7を用いて、変数i,jの詳細な説明を行う。図7に示す通り、変数i,jはRGB座標における色立体平面上の格子点上を動く変数である。
【0061】
ステップS604では、ある色立体のある平面上の(i,j),(i+1,j),(i,j+1)の三点(図7(a)参照)におけるCIE−L*a*b*値から3点を通る平面Hnを計算する。ステップS605では、ステップS604で作成した平面Hnと圧縮線Lnとの交点を算出する。ステップS606では、ステップS605で計算した交点が、ステップS604の三点で作る三角形内に入っているかの判定を行い、交点が三角形内に存在すればステップS617へ、交点が三角形内に存在しなければステップS607へ進む。
【0062】
ステップS607では、変数jの判定を行いjが格子点数M−1より小さい時はステップS618へ進み、ステップS618でjに1を加えてステップS604へ進み、jがM−1以上の時はステップS608へ進む。
【0063】
ステップS608では、変数iの判定を行い、iがM−1より小さいときはステップS619へ進み、ステップS619でiに1を加えてS603へ進み、iがM−1以上の時はステップS609へ進む(ここまでの処理で、図7(a)の領域の交点検索終了)。
【0064】
ステップS609では、iの初期化を行う。ステップS610では、jの初期化を行う。ステップS611では、色立体のある平面上の(i,j),(i−1,j),(i,j−1)の三点(図7(b)参照)におけるCIE−L*a*b*値から平面Hnを作成する。
【0065】
ステップS612では、圧縮線LnとステップS611で作成した平面Hnとの交点を算出する。ステップS613では、ステップS612で算出した交点がステップS611での三点で囲まれる三角形内に含まれるかの判定を行い、含まれる時はステップS617へ、交点が三角形内に含まれない時はステップS614へ進む。
【0066】
ステップS614では、jの判定を行い、jがMより小さい時はステップS620へ進み、ステップS620でjに1を加えてステップS611へ進み、jがM以上の時はステップS615へ進む。
【0067】
ステップS615は、iの判定を行い、iがMより小さいときはステップS621へ進み、ステップS621でiに1を加えてステップS610、iがM以上のときはステップS616へ進む。
【0068】
ステップS616では、変数Colの判定を行い、変数Colが6以外の時はステップS622にて変数Colに1を加えてステップS602へ進み、変数Colが6の時はステップS617へ進む(ここまでの処理で図7(b)の領域の交点検索終了)。ステップS617では、ステップS606もしくはS613にて判定をし、三角形の内部に存在した交点を、色域データGonと圧縮線Lnの交点Xlabに決定する。
【0069】
以上説明したように本実施形態によれば、異なる色再現範囲を持つ第1の画像機器(画像表示装置2)と第2の画像機器(画像出力装置3)との間でのカラーマッチングにおいて、該第1の画像機器色の色相と該第2の画像機器色の色相とを対応させる色相線を設定し、該第1の画像機器色の明度または彩度と該第2の画像機器色の明度または彩度とを対応させる圧縮線を設定し、該色相線と該圧縮線に基づき、該第2の画像機器の色の色変換を行うことで、各デバイスの色域の違いを考慮して、より自然な色再現ができるとともに、アルゴリズム調整の自由度が高いユーザインタフェースを提供することで、色域圧縮アルゴリズムにおいてユーザの意図を反映させ、より細やかな設定が可能となる。
【0070】
【第2の実施形態】
色相線および圧縮線の設定方法は、上記第1の実施形態に示すものに限らず、他の方法であってもよい。以下、添付図面を参照しながら第2の実施形態にかかる画像処理装置における色相線および圧縮線の設定方法について説明する。
【0071】
図16は本発明の第2の実施形態にかかる画像処理装置を備えるシステムの構成を示したブロック図である。1601は本発明の第2の実施形態にかかる画像処理装置、1602はモニタなど画像を表示するための画像表示装置、1603はプリンタなど画像を出力するための画像出力装置、1604は画像表示装置1602で表示するための信号を生成する画像表示部、1605は画像表示装置1602に表示される色を画像出力装置1603に出力するための階調変換処理などを行う画像処理部、1606は色相線を設定する色相線設定部、1607は明度彩度方向の色域圧縮線を設定する圧縮線設定部、1608は色域圧縮する際に使用する制御点の設定を行う制御点設定部、1609は画像表示装置1602に表示される色と画像出力装置1603にて出力される色とのカラーマッチングLUTを作成するカラーマッチングLUT作成部、1610は画像出力装置1603に出力するための色変換処理を行う色変換処理部、1611はオリジナル色を記憶するオリジナル色記憶部、1612は画像出力装置1603で出力するための信号を生成する画像出力部、1613はデータ処理を行うために一時的にデータを保存するデータバッファ、1614は画像表示装置1602などのモニタプロファイルを記憶しておくモニタプロファイル、1615は画像出力装置1603などのプリンタプロファイルを記憶してあるプリンタプロファイル、1616はユーザが画像処理装置1602を用いて操作を行うためのUI部、1617は画像出力装置1603で用いる出力用紙の種類等を設定する出力条件設定部、1618はユーザが指定した目標色を設定する目標色設定部、1619は明度の異なる同一色(例えば、Bright、Primary、Dark)の色相歪みを補正する歪み補正処理部である。
【0072】
<全体処理>
ここで図17は、画像処理装置1601にて行われる画像処理の流れを示すフローチャートであり、図18は、ユーザがその処理を操作するユーザインタフェース(UI)である。画像処理装置1601は、上記第1の実施形態での画像処理装置1に歪み補正処理部19が追加されたものである。ステップS1701からステップS1706までの処理は、第1の実施形態における図2のステップS201からステップS206までの処理と同様であるためここでは説明を省略する。
【0073】
ステップS1707では、歪み補正付色相線設定処理を行う。歪み補正付色相線設定処理の詳細は図23のフローチャートを用いて後述する。ステップS1708では、歪み補正付圧縮線設定処理を行う。この歪み補正付圧縮線処理の詳細は図24のフローチャートを用いて後述する。ステップS1709からステップS1712までの処理は、第1の実施形態において図2のステップS209からステップS212までの処理と同様であるため、ここでは説明を省略する。
【0074】
<歪み補正付色相線設定>
図23のフローチャートを用いて、ステップS1707の歪み補正付色相線設定処理の詳細を説明する。ステップS2301からステップS2306までの処理は、第1の実施形態における図3のステップS301からステップS306までの処理と同様であるためここでは説明を省略する。
【0075】
ステップS2307では、色相線の歪み補正の有無を判別する。ユーザが図18の歪み補正処理ボタン1824を押下することで、図14の歪み補正表示画面1401が現れ、ステップS2308へ進む。
【0076】
ステップS2308では、歪み補正表示領域1402で色相を補正し、OKボタン1403を押下することで歪み補正処理を行い、補正後の色相線を色相線Hnに設定する。ここで、図14の歪み補正表示画面1401について詳細な説明を行う。
【0077】
図18の色相線色設定領域1812のプルダウン形式で選択されている色相の、Primary、Bright、Darkの色相線Hnが歪み補正表示領域1402に全て表示され、色相線色設定領域1812のプルダウン形式で選択されている色の色相線Hnについての編集が可能となる。例えば、BrightRedの色相線Hnの調整をしている場合、歪み補正表示領域1402には、BrightRedの他にDarkRed、PrimaryRedの2色のそれぞれの色相線Hnを表示されるためBright、Primary、Darkの三者の関係(Dark−Bright−Primaryラインのつながり等)を見ながら色相線Hnを調整できる。
【0078】
<歪み補正付圧縮線設定>
図24のフローチャートを用いて、ステップS1708の歪み補正付圧縮線設定処理の詳細を説明する。ステップS2401からステップS2410までの処理は、第1の実施形態における図3のステップS401からステップS410までの処理と同様であるためここでは説明を省略する。
【0079】
ステップS2411では、圧縮線の歪み補正の有無を判別する。歪み補正処理部1619において、ユーザが歪み補正処理ボタン1825を押下することで、図22の歪み補正付圧縮線表示画面2201が現れる。
【0080】
ステップS2412では、歪み補正付圧縮線表示画面2201で圧縮線を補正し、OKボタン2203を押下することで歪み補正を行い、補正後の圧縮線を圧縮線Lnに設定する。
【0081】
ここで、図22の歪み補正付圧縮線表示画面2201について詳細な説明を行う。圧縮線色設定領域1817のプルダウン形式で選択されている色相の、Primary、Bright、Darkの圧縮線Lnが色設定領域2202に全て表示され、圧縮線色設定領域1817のプルダウン形式で選択されている色の圧縮線Lnについての編集が可能となる。
【0082】
例えば、BrightRedの圧縮線Lnの調整をしている場合、色設定領域2202には、BrightRedの他にDarkRed、PrimaryRedの2色のそれぞれの圧縮線Lnを表示されるためBright、Primary、Darkの三者の関係(圧縮線Lnがそれぞれ交差しない等)を見ながら圧縮線Lnを調整できる。なお、ステップS2308における色相の調整方法及びステップS2412における圧縮線の調整方法は、第1の実施形態と同様である。
【0083】
以上の説明から明らかなように、本実施形態によれば、色相線および圧縮線の設定において、それぞれ歪み補正処理を施すことで、出力系の各デバイス間の色味の同一性を更に増すことが可能となる。
【0084】
【第3の実施形態】
上記第1の実施形態におけるステップS202、および上記第2の実施形態におけるステップS1702では、色域圧縮を行う際使用する制御点数を、R,G,B,C,M,Y各々Primary,Bright,Darkの18色としたがこれに限定しない。求める精度、目的に応じ変化させてよいことは言うまでもない。
【0085】
【第4の実施形態】
上記第1の実施形態におけるステップS203、および上記第2の実施形態におけるステップS1703では、作成するカラーマッチングLUTの格子点数を9としたがこれに限定しない。求める精度、目的に応じて変化させてよいことは言うまでもない。
【0086】
【第5の実施形態】
前記各実施形態では、図5、図14、図18のユーザインタフェース(以下UI)の例として、ボタンによる選択方法とプルダウン形式による選択方法を示したが、これに限定されないことは、言うまでもない。メニュー形式にして、ユーザに選択させるようなUIでも構わない。また、キーワードを直接入力させるようなUI形式でも構わない。また、色相線、圧縮線の調整方法として、ユーザが任意の点を動かすことで所望の曲線を作成する方法を示したが、これに限定されないことは、言うまでもない。ユーザが近似式を入力したり、線そのものを描いたりなど、ユーザの所望の設定ができるようなUI構成であればよく、限定しない。
【0087】
【他の実施形態】
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用しても良い。
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成されることは言うまでもない。
【0088】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0089】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることが出来る。
【0090】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0091】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0092】
なお、本発明に係る実施態様の例を以下に列挙する。
【0093】
[実施態様1] 所定の色域を有する第1の画像機器と、該第1の画像機器と異なる色域を有し、かつ相互に異なる色域を有する第2の複数の画像機器との間における色域圧縮によるカラーマッチングを行う画像処理装置であって、
前記第1の画像機器における所定の色に対してあらかじめ設定された、前記第2の各々の画像機器の目標色を読み込む読込手段と、
前記読み込まれた各目標色の色相角に基づいて、共通の色相線を任意に設定可能な色相線設定手段と、
前記所定の色に対する、前記共通の色相線における色域圧縮後の色である制御色を、前記第2の各々の画像機器の色域と、前記各目標色とに基づいて前記第2の各々の画像機器ごとに算出する制御色算出手段と、を備え、
前記制御色を用いて、色域圧縮によるカラーマッチングを行うことを特徴とする画像処理装置。
【0094】
[実施態様2] 所定の色域を有する第1の画像機器と、該第1の画像機器と異なる色域を有し、かつ相互に異なる色域を有する第2の複数の画像機器との間における色域圧縮によるカラーマッチングを行う画像処理方法であって、
前記第1の画像機器における所定の色に対してあらかじめ設定された、前記第2の各々の画像機器の目標色を読み込む読込工程と、
前記読み込まれた各目標色の色相角に基づいて、共通の色相線を任意に設定可能な色相線設定工程と、
前記所定の色に対する、前記共通の色相線における色域圧縮後の色である制御色を、前記第2の各々の画像機器の色域と、前記各目標色とに基づいて前記第2の各々の画像機器ごとに算出する制御色算出工程と、を備え、
前記制御色を用いて、色域圧縮によるカラーマッチングを行うことを特徴とする画像処理方法。
【0095】
[実施態様3] 所定の色域を有する第1の画像機器と、該第1の画像機器と異なる色域を有し、かつ相互に異なる色域を有する第2の複数の画像機器との間における色域圧縮によるカラーマッチングを行う画像処理方法であって、
前記第1の画像機器における所定の色に対してあらかじめ設定された、前記第2の各々の画像機器の目標色を読み込む読込工程と、
前記読み込まれた各目標色の色相角に基づいて、共通の色相線を任意に設定可能な色相線設定工程と、
前記所定の色に対する、前記共通の色相線における圧縮線を、前記各目標色に基づいて任意に設定可能な圧縮線設定工程と、
前記所定の色に対する、前記共通の色相線における色域圧縮後の色である制御色を、前記圧縮線と、前記第2の各々の画像機器の色域とに基づいて、前記第2の各々の画像機器ごとに算出する制御色算出工程と、
前記制御色を用いて、色域圧縮によるカラーマッチングを行うことを特徴とする画像処理方法。
【0096】
[実施態様4] 前記色相線設定工程は、前記各目標色の所定の色空間における色相角に対する、歪み補正処理を行うことが可能であって、該歪み補正処理結果に基づいて前記共通の色相線を設定することを特徴とする実施態様3に記載の画像処理方法。
【0097】
[実施態様5] 前記圧縮線設定工程は、前記共通の色相線における所定の色空間における前記各目標色の明度及び彩度に対する、歪み補正処理を行うことが可能であって、該歪み補正処理結果に基づいて、前記圧縮線を設定することを特徴とする実施態様3に記載の画像処理方法。
【0098】
[実施態様6] 実施態様2乃至5のいずれか1つに記載の画像処理方法をコンピュータによって実現させるための制御プログラム。
【0099】
【発明の効果】
以上説明したように本発明によれば、各デバイスの色域の違いによらず、複数のデバイス間で共通の色再現が可能となり、しかも、色再現のための細やかな調整が可能となる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態にかかる画像処理装置を備えるシステムのブロック図である。
【図2】本発明の第1の実施形態にかかる画像処理装置の流れを説明するフローチャートである。
【図3】本発明の第1の実施形態にかかる画像処理装置における色相線設定処理を説明するフローチャートである。
【図4】本発明の第1の実施形態にかかる画像処理装置における圧縮線設定処理を説明するフローチャートである。
【図5】本発明の第1の実施形態にかかる画像処理装置におけるユーザインタフェースの一例を示す図である。
【図6】本発明の第1の実施形態にかかる画像処理装置における、色域データと圧縮線との交点の計算方法を説明するフローチャートである。
【図7】本発明の第1の実施形態にかかる画像処理装置における、色域データと圧縮線との交点の計算方法を説明する図である。
【図8】本発明の第1の実施形態にかかる画像処理装置におけるカラーマッチングLUT作成方法を説明するフローチャートである。
【図9】オリジナル色の色相変換をa*−b*平面上で説明する図である。
【図10】オリジナル色の一例を示す図である。
【図11】本発明の第1の実施形態にかかる画像処理装置における色相線設定処理を説明する図である。
【図12】本発明の第1の実施形態にかかる画像処理装置における焦点色設定処理を説明する図である。
【図13】本発明の第1の実施形態にかかる画像処理装置における最も基本的な色域圧縮を説明する図である。
【図14】本発明の第2に実施形態にかかる画像処理装置におけるユーザインタフェースの一例を示す図である。
【図15】目標色の一例を示す図である。
【図16】本発明の第2に実施形態にかかる画像処理装置を備えるシステムのブロック図である。
【図17】本発明の第2の実施形態にかかる画像処理装置におけるカラーマッチングLUT作成方法を説明するフローチャートである。
【図18】本発明の第2の実施形態にかかる画像処理装置におけるユーザインタフェースの一例を示す図である。
【図19】色立体を説明する図である。
【図20】色相線の調整方法を説明する図である。
【図21】圧縮線の調整方法を説明する図である。
【図22】本発明の第2の実施形態にかかる画像処理装置におけるユーザインタフェースの一例を示す図である。
【図23】本発明の第2の実施形態にかかる画像処理装置における色相補正付色相線設定処理を説明するフローチャートである。
【図24】本発明の第2の実施形態にかかる画像処理装置における色相補正付圧縮線設定処理を説明するフローチャートである。
【図25】カラーマネージメントシステムの構成図である。
【図26】カラーマネージメントシステムの基本的な構成を説明するブロック図である。
【図27】モニタの色域とプリンタの色域の相違をL*−C*平面上で説明する図である。
【図28】従来の色域圧縮方法を説明する図である。
【符号の説明】
1・・・画像処理装置
2・・・画像表示装置
3・・・画像出力装置
4・・・画像表示部
5・・・画像処理部
6・・・色相線設定部
7・・・圧縮線設定部
8・・・制御点設定部
9・・・カラーマッチングLUT作成部
10・・・色変換処理部
11・・・オリジナル色記憶部
12・・・画像出力部
13・・・データバッファ
14・・・モニタプロファイル
15・・・プリンタプロファイル
16・・・UI部
17・・・出力条件設定部
18・・・目標色設定部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing technique for performing color conversion between devices having different color reproduction ranges (hereinafter, referred to as color gamut). For example, it is used when color image data is input / output between different devices, such as when a color image signal on a monitor having a large color gamut is hard-copied by a printer having a small color gamut.
[0002]
[Prior art]
In recent years, networks such as the Internet have become widespread, and many users are connecting various devices to the networks. Therefore, a device-independent color reproduction technology for reproducing colors with similar colors between different devices has been required. A system for realizing this device-independent color reproduction technology is generally called a color management system (CMS).
[0003]
For example, as shown in FIG. 25, when a camera, a printer, a monitor, and the like are connected, the CMS converts a color signal of an input system into a color signal of an output system by using a conversion formula called a profile. Alternatively, it is realized by once converting to a device-independent color space (CIE-XYZ, CIE-L * a * b *, etc.) by a conversion table.
[0004]
FIG. 26 is a block diagram illustrating a basic configuration of the CMS. 5201 is an image processing device in the CMS, 5202 is an image input device for inputting an image such as a camera, 5203 is an image display device for displaying an image such as a monitor, 5204 is an image output device for outputting an image such as a printer, Reference numeral 5205 denotes an image input unit that receives a signal input from the image input device 5202, reference numeral 5206 denotes an image display unit that generates a signal to be displayed on the image display device 5203, and reference numeral 5207 denotes an image input device that is input by the image input device 5202. A color matching processing unit 5208 that performs color matching between the color displayed by 5203 and the color output by the image output device 5204, performs gradation conversion processing and color conversion processing for output to the image output device 5204, and the like. An image processing unit 5209 generates an image for generating a signal to be output by the image output device 5204. Unit 5210 stores a camera profile storing a camera profile of the image input device 5202 and the like, 5211 stores a monitor profile storing a monitor profile of the image display device 5203 and the like, and 5212 stores a printer profile of the image output device 5204 and the like. Printer profile.
[0005]
In general, the color gamut shape of a device that handles a color image differs from device to device. For example, a monitor performs color reproduction in an additive color mixture by emitting three primary color phosphors of red (R), green (G), and blue (B). Therefore, the color gamut of the monitor depends on the type of phosphor used. Dependent. On the other hand, the color gamut of a printer depends on the type of ink to be used in order to perform color reproduction by subtractive color mixture. For example, FIG. 27 shows the color gamut of an sRGB monitor and the color gamut of an inkjet printer. FIG. 27 compares two color gamuts on the L * C * plane, which are converted from the CIE-L * a * b * color space using the following equations (1) and (2). .
L * = L * (1)
C * = ((a *) 2 + (B *) 2 ) 1/2 (2)
In the case of the hues shown in FIG. 27, the color gamut of the ink jet printer has a chroma peak shifted from the monitor color gamut to a lower brightness side in the brightness direction. Therefore, when color conversion is performed from the monitor to the printer, the color reproducibility in the high brightness and high chroma regions is not good.
[0006]
As described above, when the color gamut of the output system is smaller than the color gamut of the input system, it is impossible to accurately reproduce the colors of the input system in the output system depending on the image. For example, when an image on a monitor is output by a printer, colors outside the printer gamut cannot be reproduced as they are because the printer gamut is smaller than the monitor gamut. Therefore, in such a case, it is necessary to perform color conversion that brings colors outside the color gamut into the color gamut while maintaining the colors of the original image as much as possible. As described above, pushing a color that cannot be physically reproduced into the color gamut by some processing is generally called color gamut compression.
[0007]
Conventionally, as a method of color gamut compression, (1) an algorithm for compressing only the chroma C * while keeping the lightness L * constant, as shown in FIG. {Circle around (2)} compression to a fixed point on the L-axis (for example, L * = 50, a color represented by such a 'point' is called a focal color) on an auxiliary line drawn toward the point As shown in FIG. 28 (c), there is known an algorithm for (3) compression to a point on an auxiliary line drawn toward a point on the lightness axis at the maximum saturation of the output system.
[0008]
Also, Japanese Patent Application Laid-Open No. 9-46537 discloses an algorithm in which lightness is prioritized and consideration is given not to decrease the saturation.
[0009]
Furthermore, recently, in addition to the two-dimensional compression in which only the lightness / saturation direction is compressed, a three-dimensional compression in the lightness / saturation hue direction has been proposed in order to further improve color reproducibility by changing the hue to some extent. Have been.
[0010]
As described above, various color gamut compression techniques have been proposed at present, and are incorporated in an image processing apparatus. The color gamut of each connected device (for example, a monitor color gamut which is an input color gamut, an output color gamut, The optimum color gamut compression is performed for each device according to the difference between the color gamut of the printer and the printer color gamut.
[0011]
[Patent Document 1]
JP-A-9-46537
[0012]
[Problems to be solved by the invention]
However, as described above, conventional color gamut compression generally performs optimal color gamut compression for each color gamut of an output device. For example, the same monitor color is reproduced by a plurality of output devices. However, if the output devices have different color gamuts, different color reproductions are obtained.
[0013]
In such a case, even if an attempt is made to adjust the color gamut compression so that the same monitor color can be reproduced with the same color on each output system device having a different color gamut, There is no flexibility in the adjustment items, and the color desired by the user cannot always be realized.
[0014]
The present invention has been made in view of the above problems, and realizes common color reproduction among a plurality of devices regardless of the color gamut of each device, and further realizes fine adjustment for color reproduction. The purpose is to do.
[0015]
[Means for Solving the Problems]
In order to achieve the above object, an image processing apparatus according to the present invention has the following configuration. That is,
By color gamut compression between a first image device having a predetermined color gamut and a second plurality of image devices having a color gamut different from the first image device and having mutually different color gamuts An image processing device that performs color matching,
Reading means for reading a target color of each of the second image devices, which is set in advance for a predetermined color in the first image device;
A hue line setting unit that can arbitrarily set a common hue line based on the hue angles of the read target colors;
A control color, which is a color after color gamut compression on the common hue line for the predetermined color, is set based on the color gamut of each of the second image devices and the target colors. Control color calculating means for calculating for each of the image devices,
Color matching by color gamut compression is performed using the control colors.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
First, the outline of the present invention will be described. The present invention realizes a common color reproduction among a plurality of devices in consideration of a difference in a color gamut of each device. In realizing a common color reproduction, the color gamut of each device is maximized. Use only
[0017]
In other words, when the same monitor color is subjected to color gamut compression, each device has a different color gamut, so conventionally, the brightness, saturation, and hue after color gamut compression were different for each device, According to the present invention, when the same monitor color is subjected to the color gamut compression, the color gamut compression is performed (on the same hue plane) so that the hue between the devices is common, so that the hue identity between the devices is uniform. Increase.
[0018]
Further, by performing color gamut compression on the same compression line (details will be described later) on the same hue plane, it is possible to further increase the color consistency between different devices.
[0019]
Further, the user can arbitrarily set the common hue between the devices, and the user can arbitrarily set the compression line, thereby enabling fine adjustment for color reproduction. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0020]
[First Embodiment]
FIG. 1 is a block diagram illustrating a configuration of a system including an image processing apparatus according to an embodiment of the present invention. 1 is an image processing device according to the first embodiment of the present invention, 2 is an image display device such as a monitor for displaying images, 3 is an image output device such as a printer for outputting images, and 4 is an image display device 2 An image display unit for generating a signal to be displayed on the image display unit; an image processing unit for performing gradation conversion processing for outputting a color displayed on the image display device to the image output device; A hue line setting unit to be set, 7 is a compression line setting unit that sets a color gamut compression line in the lightness / saturation direction, 8 is a control point setting unit that sets control points used for color gamut compression, and 9 is an image. A color matching LUT creation unit that creates a color matching LUT between a color displayed on the display device 2 and a color output from the image output device 3, and a color that performs a color conversion process for output to the image output device 3 The conversion unit 11 converts the original color An original color storage unit to be stored, 12 is an image output unit that generates a signal to be output by the image output device 3, 13 is a data buffer that temporarily stores data for performing data processing, and 14 is an image display device 2. Monitor profile 15 for storing a monitor profile such as the image output device 3; printer profile 15 for storing a printer profile such as the image output device 3; 16 a UI unit for a user to operate using the image processing apparatus 1; Reference numeral denotes an output condition setting unit for setting the type of output paper used in the image output apparatus 3, and reference numeral 18 denotes a target color setting unit for setting a target color specified by the user.
[0021]
<Overall processing>
Here, FIG. 2 is a flowchart showing the flow of image processing performed by the image processing apparatus 1, and FIG. 5 is a user interface (UI) used by a user to operate the processing. Now, the color gamut compression processing performed by the image processing apparatus 1 will be described in detail with reference to the flowchart in FIG.
[0022]
In step S201, information on an output condition (output device, output paper, color reproduction mode) selected in a pull-down format is obtained in the output device setting area 503, output paper setting area 504, and color reproduction mode setting area 505 by the user. I do.
[0023]
In step S202, the control point number N information is obtained by inputting a desired control point number N into a text box (not shown) that appears when the user presses the control point number setting button 506.
[0024]
In step S203, the user inputs a desired number M of grid points into a text box (not shown) that appears when the user presses the grid point number setting button 507, thereby acquiring color matching LUT grid point number M information. In step S204, a plurality (or one) of target color file names are input to the target color file name input area 523, and a target color input button 508 is pressed. Get color information. Here, the target color Ref means, for example, when there is a printer that the user wants to output with matching colors, N * L * C * h data (L * C * h data of the colors output by the printer) L * C * h color space) and is stored in the target color setting unit 18 in advance. The target color Ref is table data as shown in FIG.
[0025]
In step S205, the color gamut data Gon of the image output device 3 stored in the printer profile 15 in advance is read. For example, the color gamut data Gon is the data of the colorimetric data Lab as a result of outputting the digital data RGB sent to the printer, and specifically, the Lab of the output result of the data of nine stages of RGB (total 729 colors). Value.
[0026]
In step S206, the control point number N is initialized to zero. In step S207, the hue line setting unit 6 sets the hue line Hn. The detailed description of the hue line Hn setting will be described later with reference to the flowchart in FIG. In step S208, the compression line setting unit 7 sets the compression line Ln. The details of the setting of the compression line Ln will be described later using the flowchart of FIG. In step S209, a control point for performing color gamut compression is set based on the value obtained in step S208.
[0027]
In step S210, if N has not performed the loop for the number of control points, the process proceeds to step S212, adds 1 to N, and proceeds to step S207, where the N value reaches the number of control points (the number of control points is 18 in this embodiment). If so, the process ends.
[0028]
In step S211, the user presses a color matching LUT creation button 522 to create a color matching LUT. Details of creating the color matching LUT will be described later with reference to the flowchart of FIG. In the present embodiment, N is set to 18 (Bright, Dark, and Primary for each of RGBCMY). However, it is needless to say that the present invention is not limited to 18 colors and does not limit the color components.
[0029]
<Hue line setting>
Next, the details of the hue line setting in step S207 will be described with reference to FIGS. In step S301, it is determined whether there is a detailed setting for the hue line. Here, if the user does not press the hue line setting button 502, the process proceeds to step S306, the hue angle average H 'is calculated, and the process proceeds to step S304. The calculation processing of the hue angle average H ′ will be described in detail with reference to FIG.
[0030]
FIG. 11 is an a * b * plane of the CIE-L * a * b * color space. As shown in FIG. 11, in the present embodiment, the hue angle H ′ is obtained by calculating the average of the hue angles of the target colors (Ref1, Ref2, Ref3).
[0031]
On the other hand, when the user presses the hue line setting button 502, the operation of the hue line setting area 510 becomes possible, and the process proceeds to step S302.
[0032]
Here, the hue line setting area 510 will be described in detail. In the hue line color setting area 512, one of the 18 colors set in the control point number N is selected in a pull-down format. By controlling the radio button indicated by the hue line color gamut display button 514, it is possible to select whether or not to display the color gamut of the image output apparatus 3 that is currently being processed.
[0033]
By controlling the radio button indicated by the hue line target color display button 515, it is possible to select whether to display the target color (Ref1, Ref2, Ref3). The user can freely control the hue line Hn in the hue line display area 513, such as an approximate curve (linear, quadratic, tertiary,...), Of the target color while considering the printer color gamut. Here, a method of creating the hue line Hn will be described in detail with reference to FIG.
[0034]
FIG. 20 shows only the hue line display area 513 of the UI shown in FIG. 5, and the hue line Hn ″ shown in FIG. 20A is the hue before the change when the detailed setting of the hue line is performed. The hue line Hn ′ shown in FIG. 20B shows the hue line after the change when performing detailed setting of the hue line.
[0035]
The post-change hue line Hn ′ is obtained by moving an arbitrary chromaticity point Z1 ″ on the pre-change hue line Hn ″ up, down, left, and right (downward in FIG. 20), and as shown in FIG. It can be obtained by calculating an approximate curve of the target color Ref passing through Z1 '.
[0036]
In step S302, the hue is set in the hue line display area 513, and by pressing the OK button 516, the changed hue line Hn 'is calculated as described above and set as the hue line Hn. In step S303, an intersection Xlab between the hue line Hn calculated in step S302 and the color gamut data Gon is calculated.
[0037]
In step S304, the intersection hue angle H ″ calculated from the chromaticity coordinates of the intersection Xlab calculated in step S303 or the hue angle average H ′ calculated in step S306 is set as the hue angle Hav after color gamut conversion. In step S305, the hue angle Hav is written into the data buffer, and the process ends.
[0038]
As described above, when performing detailed setting of the hue line after the color gamut conversion, the user can freely adjust the hue line reflecting his or her intention in the hue line display area 513. When the detailed setting is not performed, the average hue angle H ′ is obtained as shown in FIG. Here, the arbitrary chromaticity point Z1 ″ on the hue line Hn ″ for setting the above-described hue line Hn ′ is not limited to one point. The hue line Hn ′ may be set using a plurality of points Z1 ″.
[0039]
<Compression line setting>
Next, the compression line will be described in detail with reference to FIG. FIG. 13 is an L * C * plane converted from the CIE-L * a * b * color space. The compression line Ln is a line drawn from the original color ORm after the hue conversion toward Lst on the L * axis. In FIG. 13, the compression line Ln is shown as a straight line, but it is needless to say that the compression line Ln is not limited to a straight line.
[0040]
Next, details of the compression line setting in step S208 will be described with reference to FIG. In step S401, the hue angle Hav is read from the data buffer 13. In step S402, the original color ORc is read from the original color storage unit. Here, the original color ORc indicates a monitor color displayed on the image display device 2 as a monitor, and is stored in the original color storage unit 11 as table data as shown in FIG. 10, N is the number of control points, R, G, and B are digital data input to the image display device 2, and Lm, Cm, and hm are colorimetric values (CIE-L * C *) displayed on the image display device 2. h value in h color space).
[0041]
In step S403, ORm is calculated by performing hue conversion on the original color ORc. Here, the relationship between the original color ORc and the original color ORm will be described in detail with reference to FIG. FIG. 9 is an a * b * plane in the CIE-L * a * b * color space. FIG. 9 shows a color ORm (△ mark) obtained by hue conversion of the original color ORc (○ mark) to the hue angle Hav.
[0042]
In step S404, it is determined whether or not there is a detailed setting. Here, the user presses the compression line setting button 509, and proceeds to step S405 when performing detailed settings in the compression line setting area 511, and proceeds to step S407 when not performing detailed settings. In step S407, a straight line L that is the shortest distance from the target color Ref is calculated.
[0043]
Here, step S407 will be described in detail with reference to FIG. FIG. 12 is an L * C * plane in the CIE-L * C * h color space. As shown in FIG. 12, a straight line Ln that passes through the original color ORm after the hue conversion and is drawn toward one point (focal color) Lst on the gray axis where the distance to the target colors Ref1, Ref2, and Ref3 is the shortest is calculated. . In the present embodiment, the calculation method of the straight line Ln is a straight line having the shortest distance from the target color, but may be another approximate curve.
[0044]
In step S408, the intercept of the straight line Ln calculated in step S407 is set as the focal color Lst. If detailed settings are to be made on the compression line setting area 511, the process proceeds to step S405.
[0045]
Here, the compression line setting area 511 will be described in detail. In the compression line color setting area 517, one of the 18 colors set as the control point in a pull-down format can be selected. By controlling the radio button indicated by the compression line color gamut display button 519, display or non-display of the color gamut display of the image output device 3 that is currently processed can be selected. By controlling the radio button indicated by the compression line target color display button 520, display or non-display of the target color (Ref1, Ref2, Ref3) can be selected. The compression line display area 518 controls a compression line Ln drawn from the original color toward the focal color Lst. Regarding the compression line Ln in the compression line display area 518, free control such as movement of the focal color and creation of an approximate curve (straight line, secondary, tertiary,...) Of the target color is possible.
[0046]
Here, a method of creating the compression line Ln will be described in detail with reference to FIG. FIG. 21 shows only the portion shown in the compression line display area 518 of the UI in FIG. 5. The compression line Ln ″ shown in FIGS. 21A and 21C is used when the detailed setting of the compression line is performed. 21 shows the compression line before the change, and the compression line Ln ′ shown in FIGS. 21B and 21D shows the compression line after the change when the detailed setting of the compression line is performed.
[0047]
First, a method of controlling the compression line by moving the focal color Lst will be described with reference to FIGS. The post-change compression line Ln ′ moves up and down (upward in FIG. 21) the focal point L ″ st on the pre-change compression line Ln ″ to form a focal point L′ st, as shown in FIG. It can be obtained by calculating a curve passing through the original color ORm after the conversion, and the changed compression line Ln ′ is set as the compression line Ln. Next, a method of controlling the compression line Ln itself instead of the focal color Lst will be described with reference to FIGS.
[0048]
The post-change compression line Ln ′ is obtained by moving an arbitrary chromaticity point Z2 ″ on the pre-change compression line Ln ″ up, down, left and right (upper right in FIG. 21), and as shown in FIG. It can be obtained by calculating a curve passing through Z2 ', the focal color Lst, and the converted original color ORm. The changed compression line Ln' is set as the compression line Ln.
[0049]
On the other hand, in step S406, the user adjusts the compression line in step S405 in consideration of the color gamut shape of the printer in the compression line display area 518, creates a desired compression line, and presses the OK button 521 to perform hue conversion. The post-change compression line Ln ′ calculated to connect the subsequent original color ORm and the focal color Lst is set as the compression line Ln.
[0050]
In step S409, an intersection Xlab between the color gamut data Gon and the compression line Ln is calculated. Here, the detailed description of the calculation of the intersection Xlab will be described later using the flowchart of FIG.
[0051]
In step S410, the intersection Xlab calculated in step S409 is set as a control point for color gamut compression, and this processing ends. Here, the arbitrary chromaticity point Z2 ″ on the compression line Ln ″ for setting the above-described compression line Ln ′ is not limited to one point, and is not limited to one point. May be used to set a new compression line Ln ′.
[0052]
<Color matching LUT creation>
Next, the details of the color matching LUT creation processing in step S211 will be described with reference to FIG. In step S801, the number of control points N is 3 If the data includes the grid point data M, the process proceeds to step S810. 3 If not, the process proceeds to step S802. Here, in the present embodiment, the grid point grid number M is set to 9, but it goes without saying that the grid point grid number M is not limited to 9.
[0053]
In step S802, the variable Col is initialized to 1. Here, Col is a variable for performing the next step, processing in the loop, for six colors of RGBCMY. In step S803, the color complementary processing on the mapping source (input color gamut) White-Primary-Black line is performed. In the present embodiment (control point number N = 18, grid point grid number M = 9), only five original colors (Primary, Bright, Dark + White, Black) exist on the White-Primary-Black line of the mapping source. Therefore, the chromaticity of the remaining 12 colors is calculated, and the hue line is set by interpolation.
[0054]
In step S804, a focus color for color gamut compression corresponding to the 12 colors on the White-Primary-Black line calculated by the interpolation calculation in step S803 is calculated. The remaining 12 focal colors are calculated by performing an interpolation operation using the relationship between the five original colors and the corresponding five focal colors.
[0055]
In step S805, the compression line Ln is calculated using the original color and the focus color calculated in steps S803 and S804. In step S806, if the color number Col value is 6 or more, the process proceeds to step S807. If the Col value is 5 or less, the process proceeds to step S812, and 1 is added to the variable Col, and the process proceeds to step S803.
[0056]
In step S807, an intersection Xlab between the color gamut data Gon and the compression line Ln is calculated. In step S808, using the original color obtained in step S603, the intersection Xlab calculated in step S607, and the compression line Ln calculated in step S605, all the remaining grid point data M 3 For the corresponding mapping destination. Here, linear (or non-linear) color gamut compression is performed according to the relationship (such as volume ratio) between the input color gamut and the printer color gamut.
[0057]
In step S809, the mapping destination performed in step S808 is set to M 3 Set to control points of grid point data. In step S810, M colors are selected from among the N colors. 3 Of the grid point data of In step S811, an M grid color matching LUT is created from the control points set in step S809 and the data extracted in step S810. Here, in the present embodiment, the grid point grid number M is set to 9, but it goes without saying that the grid point grid number M is not limited to 9.
[0058]
<Calculation of intersection of color gamut data and compression line>
Next, the details of the process for calculating the intersection Xlab between the color gamut data Gon and the compression line Ln in step S507 will be described with reference to FIGS. FIG. 19 illustrates the color gamut data Gon in the RGB color space (that is, the intersection Xlab always exists on the surface of the color solid in FIG. 19).
[0059]
In step S601, a variable Col is initialized to 1. Col is a variable for turning a loop for six colors of RGBCMY, and six planes (R = 0, G = 0, B = 0) constituting a color solid in RGB coordinates (see FIG. 19) in six loops. , R = 255, G = 255, B = 255), the intersection search between the compression line Ln and the color gamut data Gon is performed.
[0060]
In step S602, a variable i is initialized to 0. In step S603, the variable j is initialized to 0. Here, the variables i and j will be described in detail with reference to FIG. As shown in FIG. 7, variables i and j are variables that move on grid points on a color solid plane in RGB coordinates.
[0061]
In step S604, CIE-L * a * b * values at three points (i, j), (i + 1, j), and (i, j + 1) on a plane of a certain color solid (see FIG. 7A) , A plane Hn passing through three points is calculated. In step S605, the intersection of the plane Hn created in step S604 and the compression line Ln is calculated. In step S606, it is determined whether the intersection calculated in step S605 is within the triangle formed by the three points in step S604. If the intersection exists in the triangle, the flow advances to step S617. If it is, the process proceeds to step S607.
[0062]
In step S607, the variable j is determined. If j is smaller than the number of grid points M-1, the process proceeds to step S618. In step S618, 1 is added to j and the process proceeds to step S604. Proceed to S608.
[0063]
In step S608, the variable i is determined. If i is smaller than M-1, the process proceeds to step S619. In step S619, 1 is added to i, and the process proceeds to S603. If i is equal to or larger than M-1, the process proceeds to step S609. Proceed (in the processing up to this point, the intersection search of the area in FIG. 7A is completed).
[0064]
In step S609, i is initialized. In step S610, j is initialized. In step S611, CIE-L * a * at three points (i, j), (i-1, j), and (i, j-1) on a certain plane of the color solid (see FIG. 7B). A plane Hn is created from the b * value.
[0065]
In step S612, the intersection of the compression line Ln and the plane Hn created in step S611 is calculated. In step S613, it is determined whether the intersection calculated in step S612 is included in the triangle surrounded by the three points in step S611, and if it is included, the process proceeds to step S617. If the intersection is not included in the triangle, the process proceeds to step S617. Proceed to S614.
[0066]
In step S614, j is determined. When j is smaller than M, the process proceeds to step S620. In step S620, 1 is added to j and the process proceeds to step S611. When j is M or more, the process proceeds to step S615.
[0067]
In step S615, i is determined. When i is smaller than M, the process proceeds to step S621. In step S621, 1 is added to i. In step S610, when i is M or more, the process proceeds to step S616.
[0068]
In step S616, the variable Col is determined. If the variable Col is other than 6, 1 is added to the variable Col in step S622, and the process proceeds to step S602. If the variable Col is 6, the process proceeds to step S617 (up to this point). In the processing, the intersection search of the area in FIG. In step S617, the determination is made in step S606 or S613, and the intersection existing inside the triangle is determined as the intersection Xlab of the color gamut data Gon and the compression line Ln.
[0069]
As described above, according to this embodiment, in color matching between the first image device (image display device 2) and the second image device (image output device 3) having different color reproduction ranges, A hue line that associates the hue of the first image device color with the hue of the second image device color is set, and the lightness or saturation of the first image device color and the hue of the second image device color are set. By setting a compression line corresponding to lightness or saturation and performing color conversion of the color of the second image device based on the hue line and the compression line, the color gamut of each device is considered. In addition, by providing a user interface with more natural color reproduction and a high degree of freedom in algorithm adjustment, it is possible to reflect the user's intention in the color gamut compression algorithm and to perform more detailed settings.
[0070]
[Second embodiment]
The setting method of the hue line and the compression line is not limited to the method described in the first embodiment, but may be another method. Hereinafter, a method of setting a hue line and a compression line in the image processing apparatus according to the second embodiment will be described with reference to the accompanying drawings.
[0071]
FIG. 16 is a block diagram showing a configuration of a system including the image processing device according to the second embodiment of the present invention. 1601 is an image processing device according to the second embodiment of the present invention, 1602 is an image display device such as a monitor for displaying images, 1603 is an image output device such as a printer for outputting images, and 1604 is an image display device 1602 An image display unit 1605 that generates a signal to be displayed on the image display unit 1605; an image processing unit that performs a gradation conversion process for outputting a color displayed on the image display device 1602 to the image output device 1603; A hue line setting unit to be set, 1607 is a compression line setting unit to set a color gamut compression line in the lightness / saturation direction, 1608 is a control point setting unit to set control points used for color gamut compression, and 1609 is an image A color matching LUT creation unit for creating a color matching LUT between a color displayed on the display device 1602 and a color output from the image output device 1603; Reference numeral 10 denotes a color conversion processing unit that performs color conversion processing for output to the image output device 1603, 1611 denotes an original color storage unit that stores original colors, and 1612 denotes an image output that generates a signal to be output by the image output device 1603. 1613, a data buffer for temporarily storing data for data processing, 1614, a monitor profile for storing a monitor profile of the image display device 1602, and 1615, a printer profile of the image output device 1603, etc. Printer profile 1616, a UI unit for the user to operate using the image processing device 1602, 1617, an output condition setting unit for setting the type of output paper used in the image output device 1603, and 1618, a user A target color setting unit 1619 for setting a specified target color Degrees different the same color (e.g., Bright, Primary, Dark) a distortion correction processing section for correcting the hue distortion of the.
[0072]
<Overall processing>
Here, FIG. 17 is a flowchart showing a flow of image processing performed by the image processing apparatus 1601, and FIG. 18 is a user interface (UI) for a user to operate the processing. The image processing device 1601 is obtained by adding a distortion correction processing unit 19 to the image processing device 1 according to the first embodiment. The processing from step S1701 to step S1706 is the same as the processing from step S201 to step S206 in FIG. 2 in the first embodiment, and a description thereof will not be repeated.
[0073]
In step S1707, a hue line with distortion correction setting process is performed. The details of the hue line setting processing with distortion correction will be described later using the flowchart of FIG. In step S1708, a compression line setting process with distortion correction is performed. The details of the compression line processing with distortion correction will be described later with reference to the flowchart of FIG. The processing from step S1709 to step S1712 is the same as the processing from step S209 to step S212 in FIG. 2 in the first embodiment, and a description thereof will not be repeated.
[0074]
<Hue line setting with distortion correction>
The details of the hue line setting processing with distortion correction in step S1707 will be described with reference to the flowchart in FIG. The processing from step S2301 to step S2306 is the same as the processing from step S301 to step S306 in FIG. 3 in the first embodiment, and a description thereof will not be repeated.
[0075]
In step S2307, it is determined whether or not there is hue line distortion correction. When the user presses the distortion correction processing button 1824 in FIG. 18, the distortion correction display screen 1401 in FIG. 14 appears, and the process proceeds to step S2308.
[0076]
In step S2308, the hue is corrected in the distortion correction display area 1402, a distortion correction process is performed by pressing an OK button 1403, and the corrected hue line is set as the hue line Hn. Here, the distortion correction display screen 1401 in FIG. 14 will be described in detail.
[0077]
The primary, bright, and dark hue lines Hn of the hue selected in the pull-down format of the hue line color setting area 1812 in FIG. Editing of the hue line Hn of the selected color becomes possible. For example, when the adjustment of the hue line Hn of BrightRed is performed, the hue line Hn of two colors of DarkRed and PrimaryRed is displayed in the distortion correction display area 1402 in addition to BrightRed. The hue line Hn can be adjusted while observing the relationship between the three (Dark-Bright-Primary line connection, etc.).
[0078]
<Compression line setting with distortion correction>
The details of the compression line setting processing with distortion correction in step S1708 will be described with reference to the flowchart in FIG. The processing from step S2401 to step S2410 is the same as the processing from step S401 to step S410 in FIG. 3 in the first embodiment, and a description thereof will not be repeated.
[0079]
In step S2411, it is determined whether or not there is distortion correction of the compression line. In the distortion correction processing unit 1619, when the user presses the distortion correction processing button 1825, the compression line with distortion correction display screen 2201 in FIG. 22 appears.
[0080]
In step S2412, the compression line is corrected on the compression line display screen with distortion correction 2201 and the distortion is corrected by pressing the OK button 2203, and the corrected compression line is set as the compression line Ln.
[0081]
Here, a detailed description is given of the compression line display screen with distortion correction 2201 in FIG. The compression lines Ln of Primary, Bright, and Dark of the hue selected in the pull-down format of the compression line color setting region 1817 are all displayed in the color setting region 2202, and are selected in the pull-down format of the compression line color setting region 1817. Editing of the color compression line Ln becomes possible.
[0082]
For example, when adjusting the compression line Ln of BrightRed, the color setting area 2202 displays the compression lines Ln of two colors of DarkRed and PrimaryRed in addition to BrightRed, so that the three lines of Bright, Primary and Dark are displayed. The compression line Ln can be adjusted while observing the relationship (eg, the compression lines Ln do not cross each other). Note that the hue adjustment method in step S2308 and the compression line adjustment method in step S2412 are the same as in the first embodiment.
[0083]
As is apparent from the above description, according to the present embodiment, in the setting of the hue line and the compression line, by performing the distortion correction processing, it is possible to further increase the color consistency between the devices of the output system. Becomes possible.
[0084]
[Third Embodiment]
In step S202 in the first embodiment and step S1702 in the second embodiment, the number of control points used for performing color gamut compression is set to R, G, B, C, M, and Y, respectively, for Primary, Bright, Dark is 18 colors, but is not limited to this. Needless to say, it may be changed according to the required accuracy and purpose.
[0085]
[Fourth embodiment]
In step S203 in the first embodiment and in step S1703 in the second embodiment, the number of grid points of the color matching LUT to be created is set to 9, but is not limited to this. Needless to say, it may be changed according to the required accuracy and purpose.
[0086]
[Fifth Embodiment]
In the above embodiments, the selection method using the button and the selection method using the pull-down format have been described as examples of the user interface (hereinafter, UI) in FIGS. 5, 14, and 18, but it is needless to say that the present invention is not limited to this. A UI that allows the user to select a menu format may be used. Alternatively, a UI format in which a keyword is directly input may be used. Further, as a method of adjusting the hue line and the compression line, a method of creating a desired curve by moving an arbitrary point by a user has been described, but it is needless to say that the method is not limited to this. The UI configuration is not limited as long as it allows the user to set the desired settings, such as inputting an approximate expression or drawing a line itself.
[0087]
[Other embodiments]
The present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but may be a device including one device (for example, a copying machine, a facsimile machine, etc.). May be applied.
Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and a computer (or CPU or MPU) of the system or apparatus to store the storage medium. Needless to say, this can also be achieved by reading out and executing the program code stored in the.
[0088]
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0089]
As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like is used. I can do it.
[0090]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. It goes without saying that a case where a part of the actual processing is performed and the function of the above-described embodiment is realized by the processing is also included.
[0091]
Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that a CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0092]
Examples of the embodiment according to the present invention are listed below.
[0093]
[First Embodiment] Between a first image device having a predetermined color gamut and a second plurality of image devices having a color gamut different from the first image device and having mutually different color gamuts An image processing apparatus that performs color matching by color gamut compression in
Reading means for reading a target color of each of the second image devices, which is set in advance for a predetermined color in the first image device;
A hue line setting unit that can arbitrarily set a common hue line based on the hue angles of the read target colors;
A control color, which is a color after color gamut compression on the common hue line for the predetermined color, is set based on the color gamut of each of the second image devices and the target colors. Control color calculating means for calculating for each of the image devices,
An image processing apparatus for performing color matching by color gamut compression using the control colors.
[0094]
[Embodiment 2] Between a first image device having a predetermined color gamut and a second plurality of image devices having a color gamut different from the first image device and different from each other An image processing method for performing color matching by color gamut compression in
A reading step of reading a target color of each of the second imaging devices, which is preset for a predetermined color in the first imaging device;
A hue line setting step of arbitrarily setting a common hue line based on the hue angles of the read target colors;
A control color, which is a color after color gamut compression on the common hue line for the predetermined color, is set based on the color gamut of each of the second image devices and the target colors. A control color calculating step of calculating for each of the image devices,
An image processing method comprising performing color matching by color gamut compression using the control colors.
[0095]
[Embodiment 3] Between a first image device having a predetermined color gamut and a second plurality of image devices having a color gamut different from the first image device and different from each other. An image processing method for performing color matching by color gamut compression in
A reading step of reading a target color of each of the second imaging devices, which is preset for a predetermined color in the first imaging device;
A hue line setting step capable of arbitrarily setting a common hue line based on the hue angles of the read target colors;
For the predetermined color, a compression line in the common hue line, a compression line setting step that can be arbitrarily set based on each of the target colors,
A control color that is a color after gamut compression on the common hue line for the predetermined color, based on the compression line and the color gamut of each of the second image devices, A control color calculating step of calculating for each of the image devices;
An image processing method comprising performing color matching by color gamut compression using the control colors.
[0096]
[Embodiment 4] In the hue line setting step, distortion correction processing can be performed on a hue angle of each of the target colors in a predetermined color space, and the common hue is determined based on the distortion correction processing result. The image processing method according to the third embodiment, wherein a line is set.
[0097]
[Embodiment 5] In the compression line setting step, it is possible to perform distortion correction processing on the brightness and saturation of each of the target colors in a predetermined color space in the common hue line, and The image processing method according to embodiment 3, wherein the compression line is set based on a result.
[0098]
Embodiment 6 A control program for causing a computer to implement the image processing method according to any one of Embodiments 2 to 5.
[0099]
【The invention's effect】
As described above, according to the present invention, a common color reproduction can be performed among a plurality of devices regardless of a difference in color gamut of each device, and fine adjustment for color reproduction can be performed.
[Brief description of the drawings]
FIG. 1 is a block diagram of a system including an image processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a flowchart illustrating a flow of the image processing apparatus according to the first embodiment of the present invention.
FIG. 3 is a flowchart illustrating a hue line setting process in the image processing apparatus according to the first embodiment of the present invention.
FIG. 4 is a flowchart illustrating a compression line setting process in the image processing apparatus according to the first embodiment of the present invention.
FIG. 5 is a diagram illustrating an example of a user interface in the image processing apparatus according to the first embodiment of the present invention.
FIG. 6 is a flowchart illustrating a method of calculating an intersection between color gamut data and a compression line in the image processing apparatus according to the first embodiment of the present invention.
FIG. 7 is a diagram illustrating a method of calculating an intersection between color gamut data and a compression line in the image processing apparatus according to the first embodiment of the present invention.
FIG. 8 is a flowchart illustrating a color matching LUT creation method in the image processing apparatus according to the first embodiment of the present invention.
FIG. 9 is a diagram illustrating hue conversion of an original color on an a * -b * plane.
FIG. 10 is a diagram illustrating an example of an original color.
FIG. 11 is a diagram illustrating a hue line setting process in the image processing apparatus according to the first embodiment of the present invention.
FIG. 12 is a diagram illustrating a focus color setting process in the image processing apparatus according to the first embodiment of the present invention.
FIG. 13 is a diagram illustrating the most basic color gamut compression in the image processing apparatus according to the first embodiment of the present invention.
FIG. 14 is a diagram illustrating an example of a user interface in the image processing apparatus according to the second embodiment of the present invention.
FIG. 15 is a diagram illustrating an example of a target color.
FIG. 16 is a block diagram of a system including an image processing apparatus according to a second embodiment of the present invention.
FIG. 17 is a flowchart illustrating a color matching LUT creation method in the image processing apparatus according to the second embodiment of the present invention.
FIG. 18 is a diagram illustrating an example of a user interface in the image processing apparatus according to the second embodiment of the present invention.
FIG. 19 is a diagram illustrating a color solid.
FIG. 20 is a diagram illustrating a method of adjusting a hue line.
FIG. 21 is a diagram illustrating a method for adjusting a compression line.
FIG. 22 is a diagram illustrating an example of a user interface in the image processing apparatus according to the second embodiment of the present invention.
FIG. 23 is a flowchart illustrating a hue line setting process with hue correction in the image processing apparatus according to the second embodiment of the present invention.
FIG. 24 is a flowchart illustrating a compression line setting process with hue correction in the image processing apparatus according to the second embodiment of the present invention.
FIG. 25 is a configuration diagram of a color management system.
FIG. 26 is a block diagram illustrating a basic configuration of a color management system.
FIG. 27 is a diagram illustrating the difference between the color gamut of the monitor and the color gamut of the printer on the L * -C * plane.
FIG. 28 is a diagram illustrating a conventional color gamut compression method.
[Explanation of symbols]
1 ... Image processing device
2 ... Image display device
3 ... Image output device
4 ... Image display unit
5 ... Image processing unit
6 Hue line setting unit
7 ... Compression line setting unit
8 ... Control point setting unit
9 ... Color matching LUT creation unit
10 ... Color conversion processing unit
11 Original color storage unit
12 ... Image output unit
13 Data buffer
14 ・ ・ ・ Monitor profile
15 ・ ・ ・ Printer profile
16 UI part
17 ・ ・ ・ Output condition setting section
18 Target color setting section

Claims (1)

所定の色域を有する第1の画像機器と、該第1の画像機器と異なる色域を有し、かつ相互に異なる色域を有する第2の複数の画像機器との間における色域圧縮によるカラーマッチングを行う画像処理装置であって、
前記第1の画像機器における所定の色に対してあらかじめ設定された、前記第2の各々の画像機器の目標色を読み込む読込手段と、
前記読み込まれた各目標色の色相角に基づいて、共通の色相線を任意に設定可能な色相線設定手段と、
前記所定の色に対する、前記共通の色相線における色域圧縮後の色である制御色を、前記第2の各々の画像機器の色域と、前記各目標色とに基づいて前記第2の各々の画像機器ごとに算出する制御色算出手段と、を備え、
前記制御色を用いて、色域圧縮によるカラーマッチングを行うことを特徴とする画像処理装置。
By color gamut compression between a first image device having a predetermined color gamut and a second plurality of image devices having a color gamut different from the first image device and having mutually different color gamuts An image processing device that performs color matching,
Reading means for reading a target color of each of the second image devices, which is set in advance for a predetermined color in the first image device;
A hue line setting unit that can arbitrarily set a common hue line based on the hue angles of the read target colors;
A control color, which is a color after color gamut compression on the common hue line for the predetermined color, is set based on the color gamut of each of the second image devices and the target colors. Control color calculating means for calculating for each of the image devices,
An image processing apparatus for performing color matching by color gamut compression using the control colors.
JP2002313355A 2002-10-28 2002-10-28 Image processing apparatus Withdrawn JP2004153340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002313355A JP2004153340A (en) 2002-10-28 2002-10-28 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002313355A JP2004153340A (en) 2002-10-28 2002-10-28 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2004153340A true JP2004153340A (en) 2004-05-27

Family

ID=32457993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002313355A Withdrawn JP2004153340A (en) 2002-10-28 2002-10-28 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2004153340A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7864371B2 (en) 2007-03-07 2011-01-04 Ricoh Company, Ltd. Image processing apparatus, image processing method, and computer product
JP2011155419A (en) * 2010-01-27 2011-08-11 Kyocera Mita Corp Image forming apparatus and image processing program
JP2013168772A (en) * 2012-02-15 2013-08-29 Ricoh Co Ltd Color management system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7864371B2 (en) 2007-03-07 2011-01-04 Ricoh Company, Ltd. Image processing apparatus, image processing method, and computer product
JP2011155419A (en) * 2010-01-27 2011-08-11 Kyocera Mita Corp Image forming apparatus and image processing program
JP2013168772A (en) * 2012-02-15 2013-08-29 Ricoh Co Ltd Color management system

Similar Documents

Publication Publication Date Title
KR100788053B1 (en) Color conversion method and profile generation method
US7697167B2 (en) Color processing method and apparatus
US8045222B2 (en) Image processing method, image processing apparatus, computer program product, and recording medium for image processing
US6266152B1 (en) Image processing method and apparatus
US20070030499A1 (en) Color processing method and apparatus
US8204304B2 (en) Color gamut mapping by forming curved cross-sectional surfaces
US8427696B2 (en) Color processing method and apparatus thereof
US7944583B2 (en) Image processing apparatus and method
JP5344518B2 (en) Image processing method and image processing apparatus
JP2008289092A (en) Color signal conversion method and color signal conversion apparatus
JP2001045310A (en) Image processor, image processing method and recording medium
JP2002094816A (en) Image-processing device and its control method, and image-processing method
KR20050109663A (en) Method and apparatus for creating profile
US7747073B2 (en) Method and apparatus for adjusting color profiles to meet a desired aim
JP2004153340A (en) Image processing apparatus
JP2004153337A (en) Image processing apparatus
JP4533277B2 (en) Image processing apparatus, image processing method, and table creation method
JP2004064666A (en) Image processing apparatus, image processing method, and program
JP2008072550A (en) Color processing method, color processing apparatus, image forming apparatus, program and recording medium
JP2004153336A (en) Image processing apparatus
JP2009038593A (en) Color processing apparatus and method
JP2008148163A (en) Color processing apparatus and method thereof
JP4545995B2 (en) Image processing method and image processing apparatus
JP4532797B2 (en) Image processing method and image processing apparatus
JP2004064668A (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110