JP2004064542A - Image processing system, apparatus, and method - Google Patents

Image processing system, apparatus, and method Download PDF

Info

Publication number
JP2004064542A
JP2004064542A JP2002221823A JP2002221823A JP2004064542A JP 2004064542 A JP2004064542 A JP 2004064542A JP 2002221823 A JP2002221823 A JP 2002221823A JP 2002221823 A JP2002221823 A JP 2002221823A JP 2004064542 A JP2004064542 A JP 2004064542A
Authority
JP
Japan
Prior art keywords
image
input
spectral reflectance
output
pixel
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
JP2002221823A
Other languages
Japanese (ja)
Inventor
▲高▼橋 耕生
Kosei Takahashi
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 JP2002221823A priority Critical patent/JP2004064542A/en
Priority to AU2003249008A priority patent/AU2003249008A1/en
Priority to PCT/JP2003/009325 priority patent/WO2004012442A1/en
Publication of JP2004064542A publication Critical patent/JP2004064542A/en
Priority to US10/927,234 priority patent/US7480083B2/en
Priority to US12/327,694 priority patent/US7986438B2/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To achieve faithful reproduction of colors by providing image data capable of estimating spectral reflectance characteristics of an input image. <P>SOLUTION: In a system for converting an input image signal inputted from an image input device 3 into an output image signal to be outputted by an image output device 11, an image compression unit 5 converts a spectral image inputted via an image input unit 4 into RGB data, applies principal component analysis to the spectral image to obtain principal component data, and stores the obtained data in an input image storage unit 6. When the principal component data and the RGB data are read out and stored in an output image storage unit 7, a spectral reflectance restoring unit 8 restores a spectral reflectance of each pixel by using these data. A printer model 9 determines an ejection quantity of ink used for recording each pixel by the device 11 on the basis of the calculated spectral reflectance, and generates an output image signal for the device 11. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、デジタルカメラや、カラープリンタ等の画像入出力機器に好適な画像処理方法及び装置に関し、特に物体の色を分光的に色再現する(分光分布を一致させる)ための色再現処理を用いた画像処理方法及び装置に関する。
【0002】
【従来技術】
一般に、ある目標色をカラープリンタ等で正確に再現する場合にはまず、CRTやLCD等のディスプレイ上で、オペレータが所望の印刷結果が得られるように画像を調色する。そして、実際にカラープリンタによる印刷を行い、その印刷結果を見てから再びディスプレイ上で調色を行うという試行錯誤の繰り返しにより調色が行われている。例えば、特開2000−333032号公報のように、色見本や出力画像を画面に表示して指定された色が出力画像上で滑らかになるように出力画像に反映して色調整を行うという方法がある。また、別の方法として、測色器を用い、目標色である色見本を測色し、その測色値に最も近い出力色、つまり目標色との色差が最小となる出力色を出力していた。
【0003】
さらに、画像中の色を分光的に再現するために、各画素の分光反射率を記憶する方法として、特開2001−134755号公報のように、主成分分析を用いて分光反射率を圧縮し記憶しておくという方法も提案されている。
【0004】
【発明が解決しようとする課題】
しかしながら、ディスプレイに表示される色は一般にRGBの3つの蛍光体の加法混色からなっているのに対し、印刷で出力される色はシアン、マゼンタ、イエロー、ブラックの4色インク、または該4色インクに淡シアン、淡マゼンタを加えた6色インクの減法混色からなっている。このため、ディスプレイに表示された調色結果と実際の印刷結果とは、XYZなど三刺激値は一致していても分光反射率が異なっているという場合がある。例えば、上記の特開2000−333032号公報による手法では、条件等色によりカラーマッチングを行っているため、調色を行った環境とは異なる環境、例えば異なる照明光源下で印刷物を観察する場合には色再現精度が低下してしまうという問題があった。また、色見本と出力色との色差を最小にする方法においても、三刺激値は一致させることができたとしても、分光反射率は異なっているため、異なる照明光源下で色見本と出力色との色の見えが大きく異なったものとなってしまうという問題があった。
【0005】
また、特開2001−134755のように主成分分析を用いて画像を圧縮する方法では、画像情報として、主成分分析結果の主成分係数を記憶しておくため、一般的な画像記憶方法であるRGBデータとの互換性が低いという問題があった。
【0006】
本発明は上述した問題を解決するためになされたものであり、入力画像の分光分布特性を推定して、これを出力画像で忠実に再現することを可能とし、異なる観察環境下においても、忠実な色再現を実現する画像を得ることを目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成するための一手段として、本発明による画像処理システムは以下の構成を備える。即ち、
画像入力装置から入力された入力画像信号を画像出力装置によって出力するための出力画像信号へ変換する画像処理システムであって、
前記画像入力装置より入力された入力画像信号に基づいて、入力された画像を所定の色空間で表現する画像情報と、該入力された画像の分光反射率特性を推定するための付加情報を生成する第1生成手段と、
前記第1生成手段で生成された画像情報と付加情報を記憶する記憶手段と、
前記記憶手段に記憶された画像情報と付加情報に基づいて、画像中の各画素の分光反射率を算出する算出手段と、
前記算出手段で算出された分光反射率に基づいて、前記画像中の各画素の記録に用いる、複数色に対応した各記録材の記録量を決定し、前記画像出力装置のための出力画像信号を生成する第2生成手段とを備える。
【0008】
また、上記の目的を達成するための本発明による画像処理装置は、
画像入力装置から入力された入力画像信号に基づいて、所定の色空間で表現された画像情報を生成する画像処理装置であって、
前記画像入力装置より入力された入力画像信号に基づいて、当該画像を所定の色空間で表現する画像情報を生成する第1生成手段と、
前記画像入力装置より入力された入力画像信号に基づいて、当該画像の分光反射率特性を推定するための付加情報を生成する第2生成手段と、
前記第1生成手段で生成された画像情報と前記第2生成手段で生成された付加情報を1つの画像データとして記憶する記憶手段とを備える。
【0009】
さらに、上記の目的を達成するための本発明の他の態様による画像処理装置は、
所定の色空間に対応した画像情報と、当該画像の分光反射率を推定するための付加情報とを記憶する記憶手段と、
前記記憶手段に記憶された前記画像情報と付加情報に基づいて、画像中の各画素の分光反射率を算出する算出手段と、
前記算出手段で算出された分光反射率に基づいて、前記画像中の各画素の記録に用いる、複数色に対応した各記録材の記録量を決定し、前記画像出力装置のための出力画像信号を生成する第2生成手段とを備える。
【0010】
【発明の実施の形態】
以下、添付の図面を参照して本発明に係る好適な実施形態を説明する。
【0011】
(第1実施形態)
図1は第1実施形態による色再現装置の構成を示したブロック図である。本実施形態の色再現装置は、大きく分けて、画像入力システム1と画像出力システム2とで構成される。尚、画像入力システム1と画像出力システム2は、別体の装置で実現されてもよいし、同一の装置で実現されてもよい。
【0012】
3は画像入力装置であり、マルチスペクトルカメラ等、物体の分光画像を入力する。画像入力システム1において、4は画像入力部であり、画像入力装置3で得られた分光画像を入力する。5は画像圧縮部であり、入力した分光画像を、RGBデータと分光反射率復元のための情報(本実施形態では主成分分析によって得られた所定次数(本実施形態では3次)までの主成分)を含む画像データに圧縮する。6は入力画像記憶部であり、画像圧縮部5にて圧縮された画像データを記憶する。なお、分光画像とは、画像の各画素が全て分光分布(380nm〜780nmまで10 nm間隔の波長での反射率)で表されている画像をいう。一般に、画像は3種類のフィルタ(RGB値)を用いて撮影されるが、画像入力装置3は6〜8枚のフィルタを備えたマルチバンドカメラであり、物体の各画素に対応する分光分布を推定することができる。なお、画像圧縮部5は、分光画像をRGB画像と全画素に共通した復元情報へ変換することによりデータ量が減少(圧縮)される。
【0013】
また、画像出力システム2において、7は出力画像記憶部であり、画像入力システム1における入力画像記憶部6に記憶されている画像データを読み込み記憶しておく。尚、画像入力システム1と画像出力システム2を一つの装置で構成する場合は、入力画像記憶部6と出力画像記憶部7を別々に設ける必要はない。8は分光反射率復元部であり、出力画像記憶部7に記憶されている画像データ(画像圧縮部5にて圧縮された画像データ)を分光画像データに復元する。9はプリンタモデルであり、復元された分光反射率に基づいて画像再現のための各画素のインク打ち込み量を決定する。即ち、各画素について、印刷結果の分光反射率が、復元された分光反射率に最も近くなるインク打ち込み量を決定する。10は画像出力部であり、画像出力装置11に、プリンタモデル9で決定されたインク打ち込み量で画像形成を行なわせるための印刷データを出力する。
【0014】
11はプリンタ等、画像を出力するための、画像出力装置である。尚、以下の実施形態では、画像出力装置11としてインクジェット方式のカラープリンタを用い、画像形成時のインク打ち込み量を制御する構成を説明するが、画像出力装置11としては各種のカラープリンタを適用することができる。例えばレーザ方式のカラープリンタであれば、各色のトナーの混色の割合を制御することにある。また、12はCRTやLCD等、画像を表示するための表示装置である。
【0015】
<全体処理>
次に、第1実施形態による色再現処理の全体について説明する。図2は、画像入力システム1および画像出力システム2によって行われる色再現処理を示すフローチャートである。また、図11は、色再現を行う時に使用するユーザインターフェースの一例を示す図である。また、図12は第1実施形態の画像入力システム1によって保存される画像データの構成例を示す図である。
【0016】
まず、ステップS201では、画像入力部4により、画像入力装置3を用いて分光画像を取得する。ここで、取得された分光画像から三刺激値XYZ等が算出され、さらにICCプロファイル等を用いることにより表示装置12のデバイスRGBに変換され、原画像表示部1101(図11)に表示される。このときユーザが、画素指定ポインタ1104を用い画素を指定すれば、分光反射率表示部1106に当該画素の分光反射率が表示される(図11では破線にて示されている)。なお、本実施形態では入力画像記憶部6に記憶されている原画像は出力画像記憶部7を介して表示装置12に表示されるものとする。
【0017】
次に、ステップS202では、画像圧縮部5にて、分光画像の全ての画素の分光反射率に対して主成分分析を行い、主成分を算出する。本実施形態では第3次の主成分(第3主成分)まで算出するものとする。なお、画像入力装置3では分光画像が取得されているので、ステップS202ではこれを光源情報を用いて分光反射率にする必要がある。通常、マルチバンドカメラでは、標準白色版を用い、光源情報を取得する(マルチバンドカメラで標準白色版を撮影すると、取得される分光分布は、標準白色版と光源の分光分布を掛けたものになる。ここで標準白色版は、全ての波長で反射率が1であるとすると、取得された分光分布そのものが、光源の分光分布となる)。すなわち、
(取得画像)=(光源の分光分布)×(標準白色版の分光反射率)
両辺を、(標準白色版の分光反射率)=1で割ると、
(取得画像)=(光源の分光分布)
となる。ステップS202で主成分分析を行う分光反射率は、取得された分光分布を光源の分光分布で割ったもの(分光反射率そのもの)である。
【0018】
ステップS203では、画像圧縮部5にて、分光画像の全ての画素の分光反射率から、三刺激値XYZを算出し、さらにICCプロファイル等を用いて表示装置12に対応したRGB値を算出する。そして、ステップS204では、図12に示すように、ステップS202で算出した主成分、およびステップS203で算出したRGB値を、画像データとして入力画像記憶部6に記憶する(詳細は後述)。以上が、画像入力システム1による処理である。
【0019】
次に、画像出力システム2により画像形成動作について説明する。ステップS205では、入力画像記憶部6に記憶されている主成分およびRGBデータを含む画像データ(図12)を出力画像記憶部7に読み込む。そして分光反射率復元部8にて、分光反射率を復元する(詳細は後述)。このとき、RGBデータをそのまま画像として表示装置12の画像表示領域1102に表示することが可能である。或いは、復元した分光反射率から三刺激値XYZを算出し、光源選択部1105にてユーザが選択した光源情報とICCプロファイル等を用いて表示装置12のデバイスRGBに変換し、任意の光源下での色再現のシミュレーション結果を表示領域1102に表示することも可能である。また、ユーザが、画素指定ポインタ1104を用い画素を指定すれば、分光反射率表示部1106に該分光反射率が表示される(本実施形態では点線で表示)。
【0020】
ステップS206では、分光反射率復元部8にて復元された分光反射率を目標色として、プリンタモデル9により、画像出力装置11におけるインク打ち込み量を決定する。即ち、プリンタモデル9にて、プリンタによって出力される色(分光反射率)を推定し(この推定を、以下出力推定という。尚、出力推定の詳細は後述する)、上記目標色と推定された出力色との誤差が最も小さくなるように(詳細は後述)インク打ち込み量を決定する。
【0021】
このとき、推定された分光反射率から、光源選択部1105にてユーザが選択した光源情報を用い、三刺激値XYZを算出し、ICCプロファイル等を用い、表示装置12のデバイスRGBに変換し、出力推定画像表示部1103に表示する。また、ユーザが、画素指定ポインタ1104を用いて出力推定画像表示部1103内に表示された画像の画素を指定すれば、分光反射率表示部1106に該画素の分光反射率が表示される(本実施形態では実線で表示)。
【0022】
ステップS207では、画像出力部10にて、プリンタモデル9で決定されたインク打ち込み量を用いて画像出力装置11を駆動制御し、画像を出力する。
【0023】
<画像保存フォーマット>
図12は、ステップS204にて画像データを記憶する際に用いる画像保存フォーマットの一例である。図12に示されるように、第1実施形態による画像保存フォーマットでは、画像サイズや解像度等の情報を記述するヘッダ1201と、当該画像の各画素のRGB値を示すRGBデータ1203の間に、分光反射率復元に用いる主成分1202が記述される。本実施形態では、主成分1202として3次までの主成分(第1主成分〜第3主成分)を記録するが、さらに大きな次数の主成分を記録するようにしてもよい。また、この主成分1202は当該画像全体の画素の分光分布を主成分解析して得られたものであり、ステップS205における分光反射率の復元では、この主成分と各画素のRGBデータから各画素の分光反射率が復元される。ここで、主成分分析に用いる分光反射率は、ステップS202でも説明したように、取得された分光分布を光源の分光分布で割ったもの(分光反射率そのもの)である。
【0024】
<分光反射率復元>
画像中のある画素の三刺激値を(Ximage,Yimage,Zimage)、主成分1202に保持された第1、第2、第3主成分より算出された三刺激値をそれぞれ、(X,Y,Z)、(X,Y,Z)、(X,Y,Z)として、以下の連立方程式を得る。
【0025】
【数1】

Figure 2004064542
【0026】
上記(1)〜(3)式の連立方程式を解くことにより、係数k、k、kが求められる。そして、これらの係数を用いることにより、画像中の上記画素の分光反射率は次式により推定される。
【0027】
【数2】
Figure 2004064542
【0028】
尚、画像中の画素の三刺激値(Ximage,Yimage,Zimage)は、ICCプロファイル等を用いて画像データ1203に格納されたRGB値から予め算出しておく。なお、画像データ1203に保存されているRGBデータは、ディスプレイに表示することを前提としているため、ディスプレイのデバイスRGBや、sRGB等で保存されている。このRGB値をデバイスに依存しないXYZ値に正確に変換するためにICCプロファイルが用いられる。さらに、第1、第2、第3主成分の三刺激値(X,Y,Z)、(X,Y,Z)、(X,Y,Z)も、光源選択部1105にてユーザが選択した光源情報を用い、あらかじめ算出しておくものとする。なお、上述した分光反射率復元処理は各画素について行われる。
【0029】
<プリンタ出力推定>
次に図3を用い、ステップS206による出力推定処理の詳細を説明する。図3は、ステップS206にて行われる出力推定の処理手順を説明するフローチャートである。
【0030】
まず、ステップS301では、採用すべきインクの打ち込み量を初期値(例えば全て0%)に設定する。ステップS302では、1次色のドットゲイン補正を行う(詳細は後述)。ステップS303では、1次色ドットゲイン補正された各インクの分光反射率を用いて、次式(5)〜(7)により多次色(混色)の分光反射率推定初期値(RMIX, λ)の算出を行う。
【0031】
【数3】
Figure 2004064542
【0032】
ステップS304では、ステップS303にて算出された分光反射率推定初期値に対して、インク重ね合わせ補正を行う(詳細は後述)。ステップS305では、ステップS304で補正された分光反射率の推定値と目標となる分光反射率(ステップS205で復元された分光反射率)との差分を計算する(算出方法は後述する)。そして、ステップS306にて、ステップS306で計算された差分値が、その時点で保持されている最小の差分値よりも小さい場合には、当該計算された差分値で最小の差分値を更新するとともに、そのときのインク打ち込み量を保持する。
【0033】
ステップS307では、用いるインクの打ち込み量の全ての組み合わせ(例えば0%から100%まで1%間隔)について出力推定したかどうか判断し、全て推定していれば終了し、していなければステップS308に進む。ステップS308では、インクの打ち込み量を一定量変化させ(例えばある色のインクの打ち込み量を1%変化させる(或いは、使用する処理装置のスペックに応じて、変化の刻みを5%、10%等に変更してもよい))、ステップS302に戻る。こうして、目標値との差分値が最小となるインク打ち込み量の組み合わせが得られることになる。
【0034】
<1次色ドットゲイン補正>
次に図4及び図5を用いて、ステップS302における1次色ドットゲイン補正の詳細を説明する。
【0035】
一般的には1次色ドットの分光反射率(ドットゲイン)が打ち込み量に対して線形に変化すると仮定しているのに対し、本実施形態ではドットゲインの非線形性の影響を考慮するために、1次色ドットゲイン補正を行なう。
【0036】
1次色ドットゲイン補正LUTの作成では、予め再現色予測を行いたい対象のプリンタ(画像出力装置11)を用いて出力しておいた1次色補正用パッチを測色する。ここで用いる1次色補正用パッチとは、図4に示すように、各インクの打ち込み量を0%から100%まで、20%間隔で変化させて記録したものである。
【0037】
このような1次色補正用パッチの測色により得られる分光反射率データは、図5の(a)に示すような、各インクの離散的な打ち込み量に対する各波長の反射率である(図5(a)では、シアンインクの分光反射率が示されている)。図5(a)はシアンインクの各打ち込み量(20%、40%、60%、80%、100%)における分光反射率の測定結果であり、また打ち込み量0%はインクのない状態、すなわち紙の分光反射率を示すことになる。
【0038】
そして、このような分光反射率データを、図4の(b)に示すような、各インクの、各波長での打ち込み量と反射率との関係を示すLUTに変換する。ここで、インク打ち込み量に関しては20%刻みの離散的な測定結果しか存在しないので、1次色補正LUTの作成には線形補間やスプライン補間等、一般的な補間法が用いられる。1次色ドットゲイン補正(ステップS302)では、このLUTを用い、入力されたインク打ち込み量に対する、1次色ドットゲイン補正を行い、1次色の分光反射率を推定する。なお、図4(b)には、簡単のため、4本のグラフしか描いていないが、実際には可視波長域においてサンプリングされた全ての波長(例えば、380nm〜780nmまで10nm刻みの41波長)についてそれぞれテーブルが作成される。
【0039】
<インク重ね合わせ補正>
次に、ステップS304によるインク重ね合わせ補正の詳細を説明する。
【0040】
インク重ね合わせ補正においては、補正処理の実行に先立って、インク重ね合わせ補正係数を算出し、所定の記憶装置(不図示)に記憶しておく。そして、この補正係数とインク打ち込み量を用いて、当該インク打ち込み量における色再現予測を行なう。
【0041】
インク重ね合わせ補正係数の算出では、まず色再現予測を行いたい対象のプリンタ(画像形成装置11)を用いて出力しておいたインク重ね合わせ補正用パッチを測色する。ここで用いるインク重ね合わせ補正用パッチは、例えば図6に示すように、各インクの打ち込み量を0%から100%まで20%間隔で変化させ、さらに用いるインクを2色以上重ね合わせて印刷したものである。
【0042】
次に、図6に示した重ね合わせ補正用パッチデータを記録するためのデータ(各パッチにおける各色の打ち込み量)を用いて、上記(5)〜(7)式により(ステップS302、S303を実行することにより)、重ね合わせ補正用パッチの分光反射率推定初期値を推定する。ここで算出された分光反射率推定初期値は、実際に測色された実測データに対して誤差が生じている。そこで、該実測データとの誤差を修正するために、(8)式を用いて、該誤差が最小となるように、最小二乗法等を用いて補正係数a、λ、bi,j, λ、ck,l,m, λを決定する。
【0043】
【数4】
Figure 2004064542
なお、上記(8)式において、Rp, λは(5)式〜(7)式のKM理論で求まる1次色補正後の推論値であり、Rmod, λは、インク重ね合わせ補正後の補正された推論値を示している。そして、Rmod, λとカラーパッチの実測値との誤差が小さくなるように係数ah, λ、bi,j, λ、ck,l,m, λを決定している。また、第2項のi,jと、第3項のk,l,mは任意のインクを示しており、例えばn色のインクとしてC、M、Y、Kの4色を用いるとした場合、i = C,M,Y,K、j = C,M,Y,K、…(ただし、i≠j, k≠l≠m)となる。また、(K/S)は(4)式に定義されたとおりである。
【0044】
以上のようにして決定された補正係数は所定の記憶装置に記憶され、ステップS304によるインク重ね合わせ補正の実行時に読出される。即ち、ステップS304におけるインク重ね合わせ補正では、ステップS303で算出された分光反射率推定初期値に対して、上記インク重ね合わせ補正係数を用い、(8)式を適用してインク重ね合わせによる推定誤差を補正する。
【0045】
<誤差算出方法>
次に、ステップS206による誤差算出方法の詳細を説明する。2つの色の誤差を算出する方法としては、一般的に、CIE色差式がある。しかしながら、CIE色差式では、メタメリズムの影響を考慮していないため、本実施形態では、例えば、以下の(9)式で表すような、波長ごとの分光分布誤差の2乗平均(RMS誤差)を用いる。
【0046】
【数5】
Figure 2004064542
【0047】
ただし、上記RMS以外でも、メタメリズム(条件等色)を考慮した誤差を算出できるものであれば、その種類は限定しない。例えば、以下の(10)式のように、上記RMS誤差において
【0048】
【数6】
Figure 2004064542
で表されるCIE等色関数の和で与えられるような重み関数を用い、波長毎に重み付けしたものを用いても良い。
【0049】
【数7】
Figure 2004064542
【0050】
以上、本実施形態によれば、入力された画像のオリジナルシーンの分光分布特性を推定するためのデータとして、画像全体の画素の分光分布に対して主成分分析を行なって得られた主成分を用いて、当該画像のオリジナルの分光分布特性を推定する。従って、オリジナルの分光分布特性を忠実に再現することが可能となる。
【0051】
尚、上記実施形態では、画像の全画素の分光分布を主成分分析しているが、画像を複数の領域に分割して、各領域毎に主成分分析し、各領域毎に主成分を記録しておくようにしてもよい。但し、この場合、ある画素の分光反射率を推定する差異には、当該が粗が属する領域の主成分を用いるように構成する必要が生じるが、そのような構成は当業者には明らかであろう。
【0052】
(第2実施形態)
上述の第1実施形態では、画像全体の画素の分光分布を主成分分析し、その結果(主成分1〜3)を当該画像に対応して保持させ、各画素の分光反射率の復元に用いている。第2実施形態では、分光反射率復元のための情報を画素毎に保持させる。以下、本発明に係る第2実施形態について、図面を参照して詳細に説明する。
【0053】
図7は第2実施形態による色再現装置の構成を示したブロック図である。図7において、701は画像入力システム、702は画像出力システムである。また、703はマルチスペクトルカメラ等、物体の分光画像を入力するための、画像入力装置である。
【0054】
画像入力システム701において、704は画像入力部であり、画像入力装置703によって得られた分光画像の入力を行う。705は画像圧縮部であり、分光画像をRGBデータと分光反射率復元のための情報を含む画像データに圧縮する。706は入力画像記憶部であり、画像圧縮部705にて圧縮された画像データを記憶する。707は主成分データベースであり、物体のカテゴリと、該カテゴリに対応する主成分を記憶しておく。なお、カテゴリの例としては、「肌、空、草」等が挙げられる。これらの分光分布は、非常に類似しており、主成分から復元しても、精度の高い復元が行えることが知られている。
【0055】
画像出力システム702において、708は主成分データベースであり、物体のカテゴリと、該カテゴリに対応する主成分を記憶しておく。尚、この主成分データベース708と、画像入力システム701内の主成分データベース707とは同一内容のものである。709は出力画像記憶部であり、画像入力システム701における入力画像記憶部706に記憶されている画像データを読み込み記憶しておくためのものである。710は分光反射率復元部であり、出力画像記憶部709に記憶されている画像データを、主成分データベース708を参照して分光画像データに復元する。711はプリンタモデルであり、復元された分光反射率に基づいて画像再現のための各画素のインク打ち込み量を決定する。即ち、各画素について、印刷結果の分光反射率が、復元された分光反射率に最も近くなるインク打ち込み量を決定する。712は画像出力部であり、画像出力装置713に、プリンタモデル711で決定されたインク打ち込み量で画像形成を行なわせるための印刷データを出力する。
【0056】
713はプリンタ等、画像を出力するための、画像出力装置である。画像出力装置713として、インクジェット方式やレーザビーム方式等各種方式のカラープリンタを適用できることは上述のとおりである。また、714はCRTやLCD等、画像を表示するための表示装置である。
【0057】
尚、画像入力システム701と画像出力システム702は、図7に示されるように別体の装置で実現されてもよいし、同一の装置で実現されてもよい。尚、画像入力システム1と画像出力システム2を一つの装置で構成する場合は、入力画像記憶部6と出力画像記憶部7や、主成分データベース707と708を別々に設ける必要はない。
【0058】
<全体処理>
以下、第2実施形態による色再現処理について詳細に説明する。図8は、入力システム701および出力システム702にて行われる色再現処理のフローチャートである。また、色再現を行う時に使用するユーザインターフェースは、第1実施形態(図11)と同様であり、図11を流用して説明する。また、図13は第2実施形態の画像入力システム701によって保存される画像データの構成例を示す図である。
【0059】
まず、ステップS801では、画像入力部704において、画像入力装置703を用いて分光画像を取得する。このとき、取得された分光画像から、三刺激値XYZ等を算出し、これをICCプロファイル等を用いて表示装置713のデバイスRGBに変換し、原画像表示部1101(図11)に表示する。ここで、ユーザが、画素指定ポインタ1104を用いて画素を指定すれば、当該指定された画素の分光反射率が分光反射率表示部1106に表示される(破線で表示)。
【0060】
ステップS802では、画像圧縮部705にて、分光画像の全ての画素の分光反射率に対して主成分分析を行い、主成分を算出する。そして、算出された主成分を主成分データベース707に記憶されている主成分データと比較し、最も誤差の小さな主成分のカテゴリを該画素のカテゴリとする。なお、誤差の算出については、特定の方法に限定されないが、例えば、各主成分(画像とデータベースの第1主成分どうし、第2主成分どうし…)の、最小自乗誤差を算出すること等が挙げられる。
【0061】
ステップS803では、画像圧縮部705にて、分光画像の全ての画素について、分光反射率から三刺激値XYZを算出し、さらにICCプロファイル等を用いてRGB値を算出する。そして、ステップS804において、図13に示すように、ステップS802で算出した各画素のカテゴリ、およびステップS803で算出した各画素のRGB値を入力画像記憶部706に記憶する(詳細は後述)。以上が、画像入力システム701による処理である。
【0062】
次に、画像出力システム702による処理を説明する。ステップS805では、入力画像記憶部706に記憶されているRGBデータを出力画像記憶部709に読み込む。そして、分光反射率復元部710にて、上記第1実施形態と同様に、分光反射率を復元する。ただし、第2実施形態で用いる主成分は、出力主成分データベース708に保存されている、画素に対応したカテゴリの主成分を用いる。ただし、入力主成分データベース707および、出力主成分データベース708に記憶されている主成分およびカテゴリは同一のものである。
【0063】
このとき、RGBデータをそのまま画像として表示装置714の表示画面中の領域1102に表示することが可能である。或いは、ステップS805で復元した分光反射率から三刺激値XYZを算出し、光源選択部1105にてユーザが選択した光源情報とICCプロファイル等を用いて表示装置714のデバイスRGBに変換し、任意の光源下での色再現をシミュレーションし、その結果を領域1102に表示することも可能である。また、ユーザが、画素指定ポインタ1104を用い画素を指定すれば、分光反射率表示部1106に当該指定された画素の分光反射率が表示される(本実施形態では、点線で示されている)。
【0064】
ステップS806では、上記第1実施形態のステップS206と同様に、分光反射率復元部710にて復元された分光反射率を目標色として、プリンタモデル711により、画像出力装置713におけるインク打ち込み量を決定する。即ち、プリンタモデル711にて、プリンタによって出力される色(分光反射率)を推定(出力推定)し、上記目標色と推定された出力色との誤差が最も小さくなるように(詳細は後述)インク打ち込み量を決定する。
【0065】
以上のようにして出力推定された分光反射率と、光源選択部1105にてユーザが選択した光源情報とから、三刺激値XYZが算出され、これがICCプロファイル等を用いて表示装置714のデバイスRGBに変換され、その結果が出力推定画像表示部1103に表示される。また、ユーザが、画素指定ポインタ1104を用いて画素を指定すれば、分光反射率表示部1105に当該指定された画素の分光反射率が表示される(実施形態では、実線で表示されている)。
【0066】
ステップS807では、画像出力部712にて、プリンタモデル711で決定されたインク打ち込み量を用いて、画像出力装置713を用いて画像を出力する。
【0067】
<画像保存フォーマット>
図13は、ステップS804にて画像を記憶する際に用いる画像保存フォーマットの一例である。図13において、ヘッダ1301とRGBデータ1303との間に、画素毎のカテゴリ1302が記述されている。分光反射率復元部710では、カテゴリ1302に格納された各画素のカテゴリに対応した主成分を主成分データベース708より取得し、取得された主成分とRGBデータ1303に格納された各画素のRGBデータとから分光反射率を復元する。
【0068】
以上のようにして復元された分光反射率を用い、第1実施形態で説明したのと同様の方法により色再現を行なう。
【0069】
以上のように、第2実施形態によれば、主成分を画素毎に付与することが可能となるので、より精度よく分光反射率を復元できる。
【0070】
(第3実施形態)
上記第1及び第2実施形態では、分光反射率の復元に主成分分析の結果を用いたが、これに限られるものではない。第3実施形態では、分光反射率の復元にシステム特性を用いる。以下、本発明に係る第3実施形態について、図面を参照して詳細に説明する。例えば、一般的なRGB画像取得装置(デジタルカメラやスキャナ等)は、RGB各フィルタの分光透過率と、撮像素子(CCD等)の特性によって、分光分布に対するRGB出力値が決定されるので、ここで用いるシステム特性としては、R(λ)×S(λ)、G(λ)×S(λ)、B(λ)×S(λ)等が考えられる。ただし、R(λ)、G(λ)、B(λ)はそれぞれRGBフィルタの分光透過率、S(λ)はCCDの分光特性を表す。また、λの間隔としては、5nm間隔または、10nm間隔とするのが一般的であろう。ただし、精度とコストパフォーマンスとの兼ね合いで変化させることも考えられ、ここでは波長λの間隔は特に限定されるものではない。
【0071】
図9は第3実施形態による色再現装置の構成を示したブロック図である。図9において、901は画像入力システム、902は画像出力システムである。903はCCDやCMOS等、RGB画像を入力するための画像入力装置である。
【0072】
画像入力システム901において、904は画像入力部であり、画像入力装置903からのRGB画像を入力する。905は画像圧縮部であり、画像入力部904で入力したRGB画像を圧縮する。906は入力画像記憶部であり、画像圧縮部905にて圧縮された画像データを記憶する。913は入力システム特性記憶部であり、入力システム901のシステム特性を記憶しておく。なお、画像圧縮部905では、RGBデータが入力として入ってくるため、これらRGBデータに、システム特性(ヘッダ部分)を付加する処理を行なう。ただし、このRGBデータに対して一般的な画像フォーマットであるJPEG等のような変換を行い、RGBデータをさらに圧縮するようにしてもよい。
【0073】
907は出力画像記憶部であり、画像入力システム901における入力画像記憶部906に記憶されている画像データを入力部に読み込み、記憶する。908は分光反射率復元部であり、出力画像記憶部907に記憶されている画像データを分光画像データに復元する。909はプリンタモデルであり、復元された分光反射率に基づいて画像再現のための各画素のインク打ち込み量を決定する。即ち、各画素について、印刷結果の分光反射率が、復元された分光反射率に最も近くなるインク打ち込み量を決定する。910は画像出力部であり、画像出力装置911に、プリンタモデル909で決定されたインク打ち込み量で画像形成を行なわせるための印刷データを出力する。
【0074】
911はプリンタ等、画像を出力するための、画像出力装置である。画像出力装置911として、インクジェット方式やレーザビーム方式等各種方式のカラープリンタを適用できることは第1実施形態で述べたとおりである。また、912はCRTやLCD等、画像を表示するための表示装置である。
【0075】
尚、画像入力システム901と画像出力システム902は、図9に示されるように別体の装置で実現されてもよいし、同一の装置で実現されてもよい。尚、画像入力システム1と画像出力システム2を一つの装置で構成する場合は、入力画像記憶部6と出力画像記憶部7を別々に設ける必要はない。
【0076】
<全体処理>
次に、第3実施形態による色再現処理について、図面を参照して詳細に説明する。ここで図10は、画像入力システム901および画像出力システム902にて行われる色再現処理を示すフローチャートである。また、色再現を行う時に使用するユーザインターフェースは、第1実施形態(図11)と同様であり、図11を流用して説明する。また、図14は第3実施形態の画像入力システム901によって保存される画像データの構成例を示す図である。
【0077】
まず、ステップS1001において、画像入力部904が、画像入力装置903を用いてRGB画像を取得する。このとき、取得されたRGB画像は、原画像表示部1101に表示される。
【0078】
ステップS1002では、画像圧縮部905にて、上記取得されたRGB画像および入力システム特性記憶部913に記憶されている入力システム特性を図14に示すデータ構成で入力画像記憶部906に記憶する(詳細は後述)。以上が画像入力システム901による処理である。
【0079】
次に、画像出力システム902の処理を説明する。ステップS1003では、入力画像記憶部906に記憶されている図14に示す形態の画像データを読込み、出力画像記憶部907に格納する。即ち、入力画像記憶部906に記憶されている記憶されている画像データRGBおよび、システム特性(SR1( λ ,SG1( λ ,SB1( λ )、(SR2( λ ,SG2( λ ,SB2( λ )、(SR3( λ ,SG3( λ ,SB3( λ )を出力画像記憶部907に読み込む。そして、これら読み込んだ情報をもとに、分光反射率復元部908にて、分光反射率を復元する(詳細は後述)。
【0080】
このとき、読み込んだRGBデータをそのまま画像として表示装置912による表示領域1102に表示することが可能である。或いは、復元された分光反射率から三刺激値XYZを算出し、光源選択部1105にてユーザが選択した光源情報とICCプロファイル等を用いて表示装置912のデバイスRGBに変換し、任意の光源下での色再現をシミュレーションし、そのシミュレーション結果を領域1102に表示することも可能である。また、ユーザが、画素指定ポインタ1104を用い画素を指定すれば、分光反射率表示部1106に当該指定された画素の分光反射率が表示される(本実施形態では、点線で示す)。
【0081】
続くステップS1004では、上記第1実施形態のステップS206と同様に、分光反射率復元部908にて復元された分光反射率を目標色として、プリンタモデル909により、画像出力装置911におけるインク打ち込み量を決定する。即ち、プリンタモデル909にて、プリンタによって出力される色(分光反射率)を推定(出力推定)し、上記目標色と推定された出力色との誤差が最も小さくなるように(詳細は後述)インク打ち込み量を決定する。
【0082】
このとき推定された分光反射率から、光源選択部1105にてユーザが選択した光源情報を用い、三刺激値XYZを算出し、ICCプロファイル等を用いて表示装置912のデバイスRGBに変換し、出力推定画像表示部1103に画像表示する。また、ユーザが、画素指定ポインタ1104を用いて画素を指定すれば、分光反射率表示部1106に当該指定された分光反射率が表示される(本実施形態では、実線で示す)。
【0083】
ステップS1005では、画像出力部910にて、プリンタモデル909で決定されたインク打ち込み量を用いて、画像出力装置911を用いて画像を出力する。
【0084】
<画像保存フォーマット>
図14は、ステップS1002にて画像を記憶する際に用いる画像保存フォーマットの一例である。図14において、画像サイズ、解像度等の情報を記述するヘッダ1401と、RGBデータ1402の間に、画像入力システムのシステム特性1401を記述する。分光反射率復元部908では、これらRGBデータとシステム特性とから分光反射率を復元する。
【0085】
<分光反射率復元>
画像中の画素のRGB値を(Rimage,Gimage,Bimage)、入力システムのシステム特性をそれぞれ(SR1(λ),SG1(λ),SB1(λ))、(SR2(λ),SG2(λ),SB2(λ))、(SR3(λ),SG3(λ),SB3(λ))とすると、画像中の画素の分光反射率は、以下の(11)式により推定される。
【0086】
【数8】
Figure 2004064542
【0087】
上記(11)式により得られた分光反射率を用い、第1実施形態で説明したのと同様の方法により色再現を行なう。
【0088】
以上説明した各実施形態によれば、入力された画像のオリジナルの分光分布特性を推定するためのデータが画像データに添付され、入力画像信号を出力画像信号へと変換する色変換処理においては、その添付されたデータに基づいてオリジナルシーンの分光反射特性が推定される。このため、分光反射特性を忠実に再現することが可能となり、異なる観察環境下においても、画像のオリジナルシーンの正確な色再現が実現できる。
【0089】
(他の実施形態)
<出力推定>
上記各実施形態では、プリンタモデル5、815および909における出力推定には、上述した出力推定方法の他、各種の手法を用いることができる。例えば、従来用いられているニューラルネットワークによる出力推定方法を用いても良いし、ユール‐ニールセンの修正式を用いたノイゲバウア式を用いても良い。すなわち、インクの分光反射率と打ち込み量を用いて出力予測を行う方法であれば、その方法は限定されるものではない。
【0090】
<記憶媒体>
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用しても良い。
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成されることは言うまでもない。
【0091】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0092】
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることが出来る。
【0093】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0094】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0095】
【発明の効果】
以上説明したように、本発明によれば、入力画像の分光分布特性を推定して、これを出力画像で忠実に再現することが可能となる。このため、異なる観察環境下においても、忠実な色再現を実現する画像出力を得ることができる。
【図面の簡単な説明】
【図1】第1実施形態による色再現装置の構成を示すブロック図である。
【図2】第1実施形態による色再現処理を説明するフローチャートである。
【図3】出力推定処理を説明するフローチャートである。
【図4】1次色補正用パッチの例を示す図である。
【図5】(a)はシアンインクの打ち込み量に対する分光反射率の測定結果を示す図、(b)は(a)の測定結果から取得された1次色補正LUTを示す図である。
【図6】インク重ね合わせ補正用パッチの例を示す図である。
【図7】第2実施形態による色再現装置の構成を示すブロック図である。
【図8】第2実施形態による色再現処理を説明するフローチャートである。
【図9】第3実施形態による色再現装置の構成を示すブロック図である。
【図10】第3実施形態による色再現処理を説明するフローチャートである。
【図11】本実施形態によるユーザインターフェース例を示す図である。
【図12】第1実施形態における画像保存フォーマットの一例を示す図である。
【図13】第2実施形態における画像保存フォーマットの一例を示す図である。
【図14】第3実施形態における画像保存フォーマットの一例を示す図である。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing method and apparatus suitable for an image input / output device such as a digital camera and a color printer, and more particularly to a color reproduction process for spectrally reproducing the color of an object (matching the spectral distribution). The present invention relates to an image processing method and apparatus used.
[0002]
[Prior art]
Generally, when a certain target color is accurately reproduced by a color printer or the like, an operator first adjusts an image on a display such as a CRT or an LCD so that a desired print result is obtained. Toning is performed by repeating trial and error, in which printing is actually performed by a color printer, the printing result is checked, and then toning is performed again on the display. For example, as disclosed in Japanese Patent Application Laid-Open No. 2000-333032, a method of displaying a color sample or an output image on a screen and performing color adjustment by reflecting the specified color on the output image so that the specified color becomes smooth on the output image. There is. As another method, a colorimeter is used to measure a color sample as a target color, and an output color closest to the colorimetric value, that is, an output color with a minimum color difference from the target color is output. Was.
[0003]
Further, as a method of storing the spectral reflectance of each pixel in order to spectrally reproduce the colors in the image, as described in JP-A-2001-134755, the spectral reflectance is compressed using principal component analysis. A method of storing the information has also been proposed.
[0004]
[Problems to be solved by the invention]
However, the color displayed on the display is generally composed of an additive color mixture of three phosphors of RGB, while the colors output by printing are four inks of cyan, magenta, yellow, and black, or the four colors. It consists of subtractive color mixing of six color inks, in which light cyan and light magenta are added to the ink. For this reason, the toning result displayed on the display and the actual printing result may have different spectral reflectances even if the tristimulus values such as XYZ match. For example, in the method disclosed in Japanese Patent Application Laid-Open No. 2000-333032, since color matching is performed using conditionally equal colors, when a printed matter is observed in an environment different from the environment in which toning was performed, for example, under a different illumination light source. Has the problem that the color reproduction accuracy is reduced. Also, in the method of minimizing the color difference between the color sample and the output color, even if the tristimulus values can be matched, since the spectral reflectance is different, the color sample and the output color under different illumination light sources are different. There was a problem that the appearance of the color was greatly different.
[0005]
A method of compressing an image using principal component analysis as disclosed in Japanese Patent Application Laid-Open No. 2001-134755 is a general image storage method because principal component coefficients of the result of principal component analysis are stored as image information. There is a problem that compatibility with RGB data is low.
[0006]
The present invention has been made in order to solve the above-mentioned problem, and it is possible to estimate a spectral distribution characteristic of an input image and faithfully reproduce the spectral distribution characteristic in an output image. It is an object of the present invention to obtain an image that realizes an accurate color reproduction.
[0007]
[Means for Solving the Problems]
As one means for achieving the above object, an image processing system according to the present invention has the following configuration. That is,
An image processing system that converts an input image signal input from an image input device into an output image signal for output by an image output device,
Based on an input image signal input from the image input device, image information for expressing an input image in a predetermined color space and additional information for estimating a spectral reflectance characteristic of the input image are generated. First generating means for performing
Storage means for storing the image information and the additional information generated by the first generation means;
Calculation means for calculating the spectral reflectance of each pixel in the image based on the image information and the additional information stored in the storage means,
On the basis of the spectral reflectance calculated by the calculation unit, a recording amount of each recording material corresponding to a plurality of colors used for recording each pixel in the image is determined, and an output image signal for the image output device is determined. And second generating means for generating
[0008]
Further, an image processing apparatus according to the present invention for achieving the above object,
An image processing device that generates image information expressed in a predetermined color space based on an input image signal input from an image input device,
First generating means for generating image information for expressing the image in a predetermined color space based on an input image signal input from the image input device;
A second generation unit configured to generate additional information for estimating a spectral reflectance characteristic of the image based on an input image signal input from the image input device;
A storage unit that stores the image information generated by the first generation unit and the additional information generated by the second generation unit as one image data.
[0009]
Furthermore, an image processing apparatus according to another aspect of the present invention for achieving the above object,
Storage means for storing image information corresponding to a predetermined color space and additional information for estimating the spectral reflectance of the image;
Calculating means for calculating the spectral reflectance of each pixel in the image based on the image information and the additional information stored in the storage means,
On the basis of the spectral reflectance calculated by the calculation unit, a recording amount of each recording material corresponding to a plurality of colors used for recording each pixel in the image is determined, and an output image signal for the image output device is determined. And second generating means for generating
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments according to the present invention will be described with reference to the accompanying drawings.
[0011]
(1st Embodiment)
FIG. 1 is a block diagram showing the configuration of the color reproduction device according to the first embodiment. The color reproduction device according to the present embodiment is roughly composed of an image input system 1 and an image output system 2. Note that the image input system 1 and the image output system 2 may be realized by separate devices, or may be realized by the same device.
[0012]
An image input device 3 inputs a spectral image of an object, such as a multispectral camera. In the image input system 1, an image input unit 4 inputs a spectral image obtained by the image input device 3. Reference numeral 5 denotes an image compression unit which converts the input spectral image into RGB data and information for restoring spectral reflectance (in this embodiment, up to a predetermined order (third order in this embodiment) obtained by principal component analysis). Component). Reference numeral 6 denotes an input image storage unit that stores image data compressed by the image compression unit 5. Note that a spectral image is an image in which all pixels of the image are represented by a spectral distribution (reflectance at wavelengths of 10 nm between 380 nm and 780 nm). In general, an image is captured using three types of filters (RGB values). The image input device 3 is a multi-band camera having six to eight filters, and calculates a spectral distribution corresponding to each pixel of an object. Can be estimated. The image compressing unit 5 reduces (compresses) the data amount by converting the spectral image into the RGB image and the restoration information common to all the pixels.
[0013]
In the image output system 2, an output image storage unit 7 reads and stores image data stored in the input image storage unit 6 of the image input system 1. When the image input system 1 and the image output system 2 are configured by one device, it is not necessary to provide the input image storage unit 6 and the output image storage unit 7 separately. Reference numeral 8 denotes a spectral reflectance restoration unit that restores image data (image data compressed by the image compression unit 5) stored in the output image storage unit 7 into spectral image data. Reference numeral 9 denotes a printer model, which determines an ink ejection amount of each pixel for image reproduction based on the restored spectral reflectance. In other words, for each pixel, the amount of ink applied is determined such that the spectral reflectance of the print result is closest to the restored spectral reflectance. Reference numeral 10 denotes an image output unit that outputs print data for causing the image output device 11 to form an image with the ink ejection amount determined by the printer model 9.
[0014]
Reference numeral 11 denotes an image output device such as a printer for outputting an image. In the following embodiment, a configuration in which an ink jet type color printer is used as the image output device 11 to control the amount of ink ejected during image formation will be described, but various color printers are applied as the image output device 11. be able to. For example, in the case of a laser type color printer, the purpose is to control the ratio of color mixture of toners of each color. Reference numeral 12 denotes a display device for displaying an image, such as a CRT or an LCD.
[0015]
<Overall processing>
Next, the entire color reproduction process according to the first embodiment will be described. FIG. 2 is a flowchart illustrating a color reproduction process performed by the image input system 1 and the image output system 2. FIG. 11 is a diagram illustrating an example of a user interface used when performing color reproduction. FIG. 12 is a diagram illustrating a configuration example of image data stored by the image input system 1 according to the first embodiment.
[0016]
First, in step S201, a spectral image is acquired by the image input unit 4 using the image input device 3. Here, tristimulus values XYZ and the like are calculated from the acquired spectral images, and further converted to device RGB of the display device 12 by using an ICC profile or the like, and displayed on the original image display unit 1101 (FIG. 11). At this time, if the user specifies a pixel using the pixel specifying pointer 1104, the spectral reflectance of the pixel is displayed on the spectral reflectance display unit 1106 (indicated by a broken line in FIG. 11). In the present embodiment, the original image stored in the input image storage unit 6 is displayed on the display device 12 via the output image storage unit 7.
[0017]
Next, in step S202, the image compression unit 5 performs a principal component analysis on the spectral reflectances of all the pixels of the spectral image to calculate the principal components. In the present embodiment, it is assumed that the calculation is performed up to the third main component (third main component). Since a spectral image has been acquired by the image input device 3, it is necessary to convert the spectral image into spectral reflectance using light source information in step S202. Normally, a multi-band camera uses a standard white plate to acquire light source information. (When a standard white plate is photographed with a multi-band camera, the spectral distribution obtained is the product of the standard white plate and the spectral distribution of the light source. Here, assuming that the reflectance of the standard white plate is 1 at all wavelengths, the acquired spectral distribution itself becomes the spectral distribution of the light source.) That is,
(Acquired image) = (spectral distribution of light source) x (spectral reflectance of standard white plate)
When both sides are divided by (the spectral reflectance of the standard white plate) = 1,
(Acquired image) = (spectral distribution of light source)
It becomes. The spectral reflectance at which the principal component analysis is performed in step S202 is obtained by dividing the obtained spectral distribution by the spectral distribution of the light source (spectral reflectance itself).
[0018]
In step S203, the image compression unit 5 calculates tristimulus values XYZ from the spectral reflectances of all pixels of the spectral image, and further calculates RGB values corresponding to the display device 12 using an ICC profile or the like. Then, in step S204, as shown in FIG. 12, the main components calculated in step S202 and the RGB values calculated in step S203 are stored in the input image storage unit 6 as image data (details will be described later). The above is the processing by the image input system 1.
[0019]
Next, an image forming operation by the image output system 2 will be described. In step S205, the image data (FIG. 12) including the main components and the RGB data stored in the input image storage unit 6 is read into the output image storage unit 7. Then, the spectral reflectance restoration unit 8 restores the spectral reflectance (details will be described later). At this time, the RGB data can be directly displayed as an image in the image display area 1102 of the display device 12. Alternatively, a tristimulus value XYZ is calculated from the restored spectral reflectance, and converted into the device RGB of the display device 12 using the light source information selected by the user in the light source selection unit 1105 and the ICC profile or the like. Can be displayed in the display area 1102. When the user designates a pixel using the pixel designation pointer 1104, the spectral reflectance is displayed on the spectral reflectance display unit 1106 (in the present embodiment, indicated by a dotted line).
[0020]
In step S206, the ink ejection amount in the image output device 11 is determined by the printer model 9 using the spectral reflectance restored by the spectral reflectance restoring unit 8 as a target color. That is, the printer model 9 estimates the color (spectral reflectance) output by the printer (this estimation is hereinafter referred to as output estimation; details of the output estimation will be described later), and the target color is estimated. The ink ejection amount is determined so that the error with the output color is minimized (details will be described later).
[0021]
At this time, from the estimated spectral reflectance, tristimulus values XYZ are calculated using the light source information selected by the user in the light source selection unit 1105, and converted to device RGB of the display device 12 using an ICC profile or the like. It is displayed on the output estimation image display unit 1103. If the user designates a pixel of the image displayed in the output estimation image display unit 1103 using the pixel designation pointer 1104, the spectral reflectance of the pixel is displayed on the spectral reflectance display unit 1106 (see FIG. In the embodiment, this is indicated by a solid line).
[0022]
In step S207, the image output unit 10 controls the driving of the image output device 11 using the ink ejection amount determined by the printer model 9, and outputs an image.
[0023]
<Image storage format>
FIG. 12 is an example of an image storage format used when storing image data in step S204. As shown in FIG. 12, in the image storage format according to the first embodiment, a spectral distribution is provided between a header 1201 that describes information such as an image size and resolution, and RGB data 1203 that indicates the RGB value of each pixel of the image. A main component 1202 used for reflectance restoration is described. In the present embodiment, the main components up to the third order (first main component to third main component) are recorded as the main components 1202, but main components of higher orders may be recorded. The principal component 1202 is obtained by analyzing the spectral distribution of the pixels of the entire image by principal component analysis. In the restoration of the spectral reflectance in step S205, each pixel is calculated from the principal component and the RGB data of each pixel. Is restored. Here, as described in step S202, the spectral reflectance used for the principal component analysis is obtained by dividing the acquired spectral distribution by the spectral distribution of the light source (spectral reflectance itself).
[0024]
<Restoration of spectral reflectance>
The tristimulus value of a pixel in the image is represented by (Ximage, Yimage, Zimage), And the tristimulus values calculated from the first, second, and third principal components held in the principal component 1202 are represented by (X1, Y1, Z1), (X2, Y2, Z2), (X3, Y3, Z3), The following simultaneous equations are obtained.
[0025]
(Equation 1)
Figure 2004064542
[0026]
By solving the simultaneous equations of the above equations (1) to (3), the coefficient k1, K2, K3Is required. Then, by using these coefficients, the spectral reflectance of the pixel in the image is estimated by the following equation.
[0027]
(Equation 2)
Figure 2004064542
[0028]
Note that the tristimulus values (Ximage, Yimage, Zimage) Is calculated in advance from the RGB values stored in the image data 1203 using an ICC profile or the like. Note that the RGB data stored in the image data 1203 is presumed to be displayed on a display, and thus is stored in a display device RGB, sRGB, or the like. An ICC profile is used to accurately convert the RGB values into device-independent XYZ values. Furthermore, the tristimulus values (X1, Y1, Z1), (X2, Y2, Z2), (X3, Y3, Z3) Are calculated in advance using the light source information selected by the user in the light source selection unit 1105. Note that the above-described spectral reflectance restoration processing is performed for each pixel.
[0029]
<Printer output estimation>
Next, the details of the output estimation processing in step S206 will be described with reference to FIG. FIG. 3 is a flowchart illustrating the processing procedure of the output estimation performed in step S206.
[0030]
First, in step S301, the amount of ink to be adopted is set to an initial value (for example, all 0%). In step S302, dot gain correction for the primary color is performed (details will be described later). In step S303, using the spectral reflectance of each ink whose primary color dot gain has been corrected, the spectral reflectance estimation initial value (R) of the multicolor (mixed color) is calculated by the following equations (5) to (7).MIX, λ) Is calculated.
[0031]
(Equation 3)
Figure 2004064542
[0032]
In step S304, ink overlay correction is performed on the spectral reflectance estimation initial value calculated in step S303 (details will be described later). In step S305, the difference between the estimated value of the spectral reflectance corrected in step S304 and the target spectral reflectance (the spectral reflectance restored in step S205) is calculated (the calculation method will be described later). Then, in step S306, if the difference value calculated in step S306 is smaller than the minimum difference value held at that time, the minimum difference value is updated with the calculated difference value. , The ink ejection amount at that time is held.
[0033]
In step S307, it is determined whether the output has been estimated for all combinations of the ink ejection amounts to be used (for example, 1% intervals from 0% to 100%). If all the outputs have been estimated, the process ends. If not, the process proceeds to step S308. move on. In step S308, the ink ejection amount is changed by a fixed amount (for example, the ink ejection amount of a certain color is changed by 1% (or the increment of the change is 5%, 10%, or the like according to the specifications of the processing apparatus used). )), And returns to step S302. In this way, a combination of ink ejection amounts that minimizes the difference value from the target value is obtained.
[0034]
<Primary color dot gain correction>
Next, the details of the primary color dot gain correction in step S302 will be described with reference to FIGS.
[0035]
In general, it is assumed that the spectral reflectance (dot gain) of the primary color dot changes linearly with respect to the amount of ejection, but in the present embodiment, in order to consider the effect of the dot gain nonlinearity, First, primary color dot gain correction is performed.
[0036]
In creating the primary color dot gain correction LUT, a primary color correction patch that has been output using a printer (image output device 11) whose color reproduction is to be predicted in advance is measured. As shown in FIG. 4, the primary color correction patches used here are recorded by changing the amount of ink to be applied from 0% to 100% at intervals of 20%.
[0037]
The spectral reflectance data obtained by the color measurement of such a primary color correction patch is a reflectance of each wavelength with respect to a discrete ejection amount of each ink as shown in FIG. 5 (a) shows the spectral reflectance of the cyan ink.) FIG. 5A shows the measurement results of the spectral reflectance at each of the applied amounts (20%, 40%, 60%, 80%, and 100%) of the cyan ink. It will indicate the spectral reflectance of the paper.
[0038]
Then, such spectral reflectance data is converted into an LUT indicating the relationship between the amount of ejection of each ink at each wavelength and the reflectance as shown in FIG. 4B. Here, since there are only discrete measurement results of the ink ejection amount in increments of 20%, a general interpolation method such as linear interpolation or spline interpolation is used to create the primary color correction LUT. In the primary color dot gain correction (step S302), the LUT is used to perform primary color dot gain correction with respect to the input ink ejection amount, and the primary color spectral reflectance is estimated. Although only four graphs are illustrated in FIG. 4B for simplicity, in practice, all the wavelengths sampled in the visible wavelength range (for example, 41 wavelengths in 380 nm to 780 nm in increments of 10 nm). Is created for each table.
[0039]
<Ink overlay correction>
Next, the details of the ink overlay correction in step S304 will be described.
[0040]
In the ink overlay correction, prior to execution of the correction processing, an ink overlay correction coefficient is calculated and stored in a predetermined storage device (not shown). Then, using this correction coefficient and the ink ejection amount, color reproduction is predicted at the ink ejection amount.
[0041]
In calculating the ink overlay correction coefficient, first, the color of an ink overlay correction patch that has been output using a printer (image forming apparatus 11) for which color reproduction prediction is to be performed is measured. As shown in FIG. 6, for example, the ink overlay correction patch used here was printed by changing the amount of each ink to be applied from 0% to 100% at intervals of 20%, and further overlaying two or more colors of the used ink. Things.
[0042]
Next, using the data for recording the overlay correction patch data shown in FIG. 6 (the amount of each color applied in each patch), the steps (S302 and S303 are executed) by the above equations (5) to (7). Then, an initial value of the spectral reflectance estimation initial value of the overlay correction patch is estimated. The calculated spectral reflectance initial value calculated here has an error with respect to the actually measured data actually measured. Then, in order to correct the error with the actual measurement data, the correction coefficient a is calculated by using the least square method or the like so that the error is minimized using the equation (8).h, Λ, bi, j, λ, Ck, l, m, λTo determine.
[0043]
(Equation 4)
Figure 2004064542
In the above equation (8), Rp, λIs the inferred value after the primary color correction obtained by the KM theory of Expressions (5) to (7), and Rmod, λIndicates a corrected inference value after the ink overlay correction. And Rmod, λCoefficient a so that the error betweenh, λ, Bi, j, λ, Ck, l, m, λIs determined. Further, i, j of the second term and k, l, m of the third term indicate arbitrary inks. For example, when four colors of C, M, Y, and K are used as n-color inks , I = C, M, Y, K, j = C, M, Y, K,... (Where i ≠ j, k ≠ l m). (K / S) is as defined in the equation (4).
[0044]
The correction coefficient determined as described above is stored in a predetermined storage device, and is read when the ink overlay correction is performed in step S304. That is, in the ink overlay correction in step S304, an estimation error due to ink overlay is applied to the spectral reflectance estimation initial value calculated in step S303 using the above-described ink overlay correction coefficient and applying equation (8). Is corrected.
[0045]
<Error calculation method>
Next, details of the error calculation method in step S206 will be described. As a method of calculating an error between two colors, there is generally a CIE color difference equation. However, since the influence of metamerism is not taken into account in the CIE color difference equation, in the present embodiment, for example, the root mean square (RMS error) of the spectral distribution error for each wavelength as expressed by the following equation (9) is used. Used.
[0046]
(Equation 5)
Figure 2004064542
[0047]
However, other than the above-mentioned RMS, the type is not limited as long as the error can be calculated in consideration of metamerism (conditionally equal colors). For example, as in the following equation (10),
[0048]
(Equation 6)
Figure 2004064542
A weighting function given by the sum of the CIE color matching functions represented by the following equation may be used and weighted for each wavelength.
[0049]
(Equation 7)
Figure 2004064542
[0050]
As described above, according to the present embodiment, as the data for estimating the spectral distribution characteristics of the original scene of the input image, the principal components obtained by performing the principal component analysis on the spectral distribution of the pixels of the entire image are used. To estimate the original spectral distribution characteristics of the image. Therefore, it is possible to faithfully reproduce the original spectral distribution characteristics.
[0051]
In the above embodiment, the spectral distribution of all the pixels of the image is subjected to the principal component analysis. However, the image is divided into a plurality of regions, the principal component is analyzed for each region, and the principal component is recorded for each region. You may do so. However, in this case, the difference for estimating the spectral reflectance of a certain pixel needs to be configured to use the main component of the region to which the pixel belongs, but such a configuration is apparent to those skilled in the art. Would.
[0052]
(2nd Embodiment)
In the above-described first embodiment, the spectral distribution of the pixels of the entire image is analyzed by the principal component, and the results (the principal components 1 to 3) are held corresponding to the image and used for restoring the spectral reflectance of each pixel. ing. In the second embodiment, information for restoring the spectral reflectance is stored for each pixel. Hereinafter, a second embodiment according to the present invention will be described in detail with reference to the drawings.
[0053]
FIG. 7 is a block diagram illustrating a configuration of a color reproduction device according to the second embodiment. 7, reference numeral 701 denotes an image input system, and 702 denotes an image output system. Reference numeral 703 denotes an image input device such as a multispectral camera for inputting a spectral image of an object.
[0054]
In the image input system 701, reference numeral 704 denotes an image input unit for inputting a spectral image obtained by the image input device 703. An image compression unit 705 compresses the spectral image into image data including RGB data and information for restoring spectral reflectance. An input image storage unit 706 stores the image data compressed by the image compression unit 705. A principal component database 707 stores a category of an object and a principal component corresponding to the category. Note that examples of the category include “skin, sky, grass” and the like. These spectral distributions are very similar, and it is known that high-precision restoration can be performed even when restoration is performed from the main component.
[0055]
In the image output system 702, a main component database 708 stores a category of an object and a main component corresponding to the category. The main component database 708 and the main component database 707 in the image input system 701 have the same contents. Reference numeral 709 denotes an output image storage unit for reading and storing image data stored in the input image storage unit 706 in the image input system 701. Reference numeral 710 denotes a spectral reflectance restoration unit that restores the image data stored in the output image storage unit 709 to spectral image data with reference to the principal component database 708. Reference numeral 711 denotes a printer model, which determines an ink ejection amount of each pixel for image reproduction based on the restored spectral reflectance. In other words, for each pixel, the amount of ink applied is determined such that the spectral reflectance of the print result is closest to the restored spectral reflectance. An image output unit 712 outputs print data for causing the image output device 713 to form an image with the ink ejection amount determined by the printer model 711.
[0056]
Reference numeral 713 denotes an image output device for outputting an image, such as a printer. As described above, as the image output device 713, various types of color printers such as an ink jet system and a laser beam system can be applied. Reference numeral 714 denotes a display device such as a CRT or an LCD for displaying an image.
[0057]
Note that the image input system 701 and the image output system 702 may be realized by separate devices as shown in FIG. 7, or may be realized by the same device. When the image input system 1 and the image output system 2 are configured by one device, it is not necessary to separately provide the input image storage unit 6 and the output image storage unit 7 and the main component databases 707 and 708.
[0058]
<Overall processing>
Hereinafter, the color reproduction processing according to the second embodiment will be described in detail. FIG. 8 is a flowchart of a color reproduction process performed by the input system 701 and the output system 702. The user interface used when performing color reproduction is the same as in the first embodiment (FIG. 11), and will be described with reference to FIG. FIG. 13 is a diagram illustrating a configuration example of image data stored by the image input system 701 according to the second embodiment.
[0059]
First, in step S801, the image input unit 704 acquires a spectral image using the image input device 703. At this time, tristimulus values XYZ and the like are calculated from the acquired spectral images, converted into device RGB of the display device 713 using an ICC profile or the like, and displayed on the original image display unit 1101 (FIG. 11). Here, if the user specifies a pixel using the pixel specification pointer 1104, the spectral reflectance of the specified pixel is displayed on the spectral reflectance display unit 1106 (displayed with a broken line).
[0060]
In step S802, the image compression unit 705 performs principal component analysis on the spectral reflectances of all pixels of the spectral image, and calculates principal components. Then, the calculated principal component is compared with the principal component data stored in the principal component database 707, and the category of the principal component having the smallest error is set as the category of the pixel. Note that the calculation of the error is not limited to a specific method. For example, calculating the least square error of each principal component (the first principal component of the image and the database, the second principal component,...) And the like may be used. No.
[0061]
In step S803, the image compression unit 705 calculates tristimulus values XYZ from spectral reflectances for all pixels of the spectral image, and further calculates RGB values using an ICC profile or the like. Then, in step S804, as shown in FIG. 13, the category of each pixel calculated in step S802 and the RGB value of each pixel calculated in step S803 are stored in the input image storage unit 706 (details will be described later). The above is the processing by the image input system 701.
[0062]
Next, processing by the image output system 702 will be described. In step S805, the RGB data stored in the input image storage unit 706 is read into the output image storage unit 709. Then, the spectral reflectance restoration unit 710 restores the spectral reflectance as in the first embodiment. However, as the main components used in the second embodiment, the main components of the category corresponding to the pixels stored in the output main component database 708 are used. However, the principal components and categories stored in the input principal component database 707 and the output principal component database 708 are the same.
[0063]
At this time, the RGB data can be directly displayed as an image in an area 1102 on the display screen of the display device 714. Alternatively, tristimulus values XYZ are calculated from the spectral reflectances restored in step S805, and converted into the device RGB of the display device 714 using the light source information selected by the user in the light source selection unit 1105 and the ICC profile, etc. It is also possible to simulate color reproduction under a light source and display the result in an area 1102. If the user specifies a pixel using the pixel specifying pointer 1104, the spectral reflectance of the specified pixel is displayed on the spectral reflectance display unit 1106 (in this embodiment, the spectral reflectance is indicated by a dotted line). .
[0064]
In step S806, similarly to step S206 of the first embodiment, the ink ejection amount in the image output device 713 is determined by the printer model 711 using the spectral reflectance restored by the spectral reflectance restoring unit 710 as the target color. I do. That is, the color (spectral reflectance) output by the printer is estimated (output estimation) by the printer model 711, and the error between the target color and the estimated output color is minimized (details will be described later). Determine the amount of ink applied.
[0065]
The tristimulus value XYZ is calculated from the spectral reflectance estimated as described above and the light source information selected by the user in the light source selection unit 1105, and the tristimulus value XYZ is calculated using the device RGB of the display device 714 using an ICC profile or the like. , And the result is displayed on the output estimation image display unit 1103. When the user specifies a pixel using the pixel specifying pointer 1104, the spectral reflectance of the specified pixel is displayed on the spectral reflectance display unit 1105 (in the embodiment, the spectral reflectance is indicated by a solid line). .
[0066]
In step S807, the image output unit 712 outputs an image using the image output device 713 using the ink ejection amount determined by the printer model 711.
[0067]
<Image storage format>
FIG. 13 is an example of an image storage format used when storing an image in step S804. In FIG. 13, a category 1302 for each pixel is described between a header 1301 and RGB data 1303. The spectral reflectance restoration unit 710 acquires the principal components corresponding to the category of each pixel stored in the category 1302 from the principal component database 708, and acquires the acquired principal components and the RGB data of each pixel stored in the RGB data 1303. Then, the spectral reflectance is restored from the above.
[0068]
Using the spectral reflectance restored as described above, color reproduction is performed by the same method as described in the first embodiment.
[0069]
As described above, according to the second embodiment, the main component can be assigned to each pixel, so that the spectral reflectance can be restored with higher accuracy.
[0070]
(Third embodiment)
In the first and second embodiments, the result of the principal component analysis is used for restoring the spectral reflectance, but the present invention is not limited to this. In the third embodiment, system characteristics are used for restoring the spectral reflectance. Hereinafter, a third embodiment according to the present invention will be described in detail with reference to the drawings. For example, a general RGB image acquisition device (digital camera, scanner, or the like) determines the RGB output value for the spectral distribution based on the spectral transmittance of each of the RGB filters and the characteristics of an image sensor (CCD or the like). R (λ) × S (λ), G (λ) × S (λ), B (λ) × S (λ), and the like are conceivable as system characteristics used in. Here, R (λ), G (λ), and B (λ) represent the spectral transmittance of the RGB filter, and S (λ) represents the spectral characteristic of the CCD. In general, the interval of λ may be 5 nm or 10 nm. However, it is also conceivable to change it in consideration of accuracy and cost performance, and here, the interval of the wavelength λ is not particularly limited.
[0071]
FIG. 9 is a block diagram showing a configuration of a color reproduction device according to the third embodiment. In FIG. 9, reference numeral 901 denotes an image input system, and 902 denotes an image output system. Reference numeral 903 denotes an image input device such as a CCD or a CMOS for inputting an RGB image.
[0072]
In the image input system 901, an image input unit 904 inputs an RGB image from the image input device 903. An image compression unit 905 compresses the RGB image input by the image input unit 904. An input image storage unit 906 stores the image data compressed by the image compression unit 905. An input system characteristic storage unit 913 stores system characteristics of the input system 901. Note that the image compression unit 905 performs a process of adding a system characteristic (header portion) to the RGB data because the RGB data is input as input. However, a conversion such as JPEG which is a general image format may be performed on the RGB data to further compress the RGB data.
[0073]
Reference numeral 907 denotes an output image storage unit which reads image data stored in the input image storage unit 906 of the image input system 901 into the input unit and stores it. Reference numeral 908 denotes a spectral reflectance restoration unit that restores the image data stored in the output image storage unit 907 to spectral image data. Reference numeral 909 denotes a printer model that determines the amount of ink to be applied to each pixel for image reproduction based on the restored spectral reflectance. In other words, for each pixel, the amount of ink applied is determined such that the spectral reflectance of the print result is closest to the restored spectral reflectance. An image output unit 910 outputs print data for causing the image output device 911 to form an image with the ink ejection amount determined by the printer model 909.
[0074]
Reference numeral 911 denotes an image output device for outputting an image, such as a printer. As described in the first embodiment, various types of color printers such as an ink jet system and a laser beam system can be applied as the image output device 911. Reference numeral 912 denotes a display device such as a CRT or an LCD for displaying an image.
[0075]
Note that the image input system 901 and the image output system 902 may be realized by separate devices as shown in FIG. 9, or may be realized by the same device. When the image input system 1 and the image output system 2 are configured by one device, it is not necessary to provide the input image storage unit 6 and the output image storage unit 7 separately.
[0076]
<Overall processing>
Next, a color reproduction process according to the third embodiment will be described in detail with reference to the drawings. FIG. 10 is a flowchart showing the color reproduction processing performed by the image input system 901 and the image output system 902. The user interface used when performing color reproduction is the same as in the first embodiment (FIG. 11), and will be described with reference to FIG. FIG. 14 is a diagram illustrating a configuration example of image data stored by the image input system 901 according to the third embodiment.
[0077]
First, in step S1001, the image input unit 904 obtains an RGB image using the image input device 903. At this time, the acquired RGB images are displayed on the original image display unit 1101.
[0078]
In step S1002, the image compression unit 905 stores the acquired RGB image and the input system characteristics stored in the input system characteristic storage unit 913 in the input image storage unit 906 in the data configuration illustrated in FIG. 14 (details). Will be described later). The above is the processing by the image input system 901.
[0079]
Next, processing of the image output system 902 will be described. In step S1003, the image data in the form shown in FIG. 14 stored in the input image storage unit 906 is read and stored in the output image storage unit 907. That is, the stored image data RGB stored in the input image storage unit 906 and the system characteristics (SR1 ( λ ), SG1 ( λ ), SB1 ( λ )), (SR2 ( λ ), SG2 ( λ ), SB2 ( λ )), (SR3 ( λ ), SG3 ( λ ), SB3 ( λ )) Is read into the output image storage unit 907. The spectral reflectance is restored by the spectral reflectance restoration unit 908 based on the read information (details will be described later).
[0080]
At this time, the read RGB data can be displayed as it is on the display area 1102 of the display device 912 as an image. Alternatively, a tristimulus value XYZ is calculated from the restored spectral reflectance, and is converted into the device RGB of the display device 912 using the light source information selected by the user in the light source selection unit 1105 and the ICC profile, etc. It is also possible to simulate the color reproduction of the image and display the simulation result in the area 1102. When the user specifies a pixel using the pixel specifying pointer 1104, the spectral reflectance of the specified pixel is displayed on the spectral reflectance display unit 1106 (in the present embodiment, indicated by a dotted line).
[0081]
In the following step S1004, as in step S206 of the first embodiment, the ink ejection amount in the image output device 911 is determined by the printer model 909 using the spectral reflectance restored by the spectral reflectance restoring unit 908 as the target color. decide. That is, the color (spectral reflectance) output by the printer is estimated (output estimation) by the printer model 909, and the error between the target color and the estimated output color is minimized (details will be described later). Determine the amount of ink applied.
[0082]
At this time, tristimulus values XYZ are calculated from the estimated spectral reflectance using the light source information selected by the user in the light source selection unit 1105, converted into device RGB of the display device 912 using an ICC profile or the like, and output. An image is displayed on the estimated image display unit 1103. If the user designates a pixel using the pixel designation pointer 1104, the designated spectral reflectance is displayed on the spectral reflectance display unit 1106 (in the present embodiment, indicated by a solid line).
[0083]
In step S1005, the image output unit 910 outputs an image using the image output device 911 using the ink ejection amount determined by the printer model 909.
[0084]
<Image storage format>
FIG. 14 is an example of an image storage format used when storing an image in step S1002. In FIG. 14, a system characteristic 1401 of the image input system is described between a header 1401 that describes information such as an image size and a resolution and RGB data 1402. The spectral reflectance restoration unit 908 restores the spectral reflectance from the RGB data and the system characteristics.
[0085]
<Restoration of spectral reflectance>
The RGB values of the pixels in the image are represented by (Rimage, Gimage, Bimage) And the system characteristics of the input system (SR1(Λ), SG1(Λ), SB1(Λ)), (SR2(Λ), SG2(Λ), SB2(Λ)), (SR3(Λ), SG3(Λ), SB3(Λ)), the spectral reflectance of the pixel in the image is estimated by the following equation (11).
[0086]
(Equation 8)
Figure 2004064542
[0087]
Using the spectral reflectance obtained by the above equation (11), color reproduction is performed by the same method as described in the first embodiment.
[0088]
According to each embodiment described above, data for estimating the original spectral distribution characteristic of the input image is attached to the image data, and in the color conversion processing for converting the input image signal into the output image signal, The spectral reflection characteristics of the original scene are estimated based on the attached data. For this reason, the spectral reflection characteristics can be faithfully reproduced, and accurate color reproduction of the original scene of the image can be realized even under different observation environments.
[0089]
(Other embodiments)
<Output estimation>
In the above embodiments, various methods can be used for the output estimation in the printer models 5, 815, and 909 in addition to the output estimation method described above. For example, a conventional output estimation method using a neural network may be used, or a Neugebauer equation using a Yule-Nielsen modified equation may be used. That is, the method is not limited as long as the output is predicted using the spectral reflectance of the ink and the ejection amount.
[0090]
<Storage medium>
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.
[0091]
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.
[0092]
As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, and the like can be used.
[0093]
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.
[0094]
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.
[0095]
【The invention's effect】
As described above, according to the present invention, it is possible to estimate a spectral distribution characteristic of an input image and faithfully reproduce the spectral distribution characteristic in an output image. Therefore, it is possible to obtain an image output that realizes faithful color reproduction even under different viewing environments.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a color reproduction device according to a first embodiment.
FIG. 2 is a flowchart illustrating a color reproduction process according to the first embodiment.
FIG. 3 is a flowchart illustrating an output estimation process.
FIG. 4 is a diagram illustrating an example of a primary color correction patch.
FIG. 5A is a diagram illustrating a measurement result of a spectral reflectance with respect to an ejection amount of cyan ink, and FIG. 5B is a diagram illustrating a primary color correction LUT acquired from the measurement result of FIG.
FIG. 6 is a diagram illustrating an example of an ink overlay correction patch.
FIG. 7 is a block diagram illustrating a configuration of a color reproduction device according to a second embodiment.
FIG. 8 is a flowchart illustrating a color reproduction process according to a second embodiment.
FIG. 9 is a block diagram illustrating a configuration of a color reproduction device according to a third embodiment.
FIG. 10 is a flowchart illustrating a color reproduction process according to a third embodiment.
FIG. 11 is a diagram illustrating an example of a user interface according to the present embodiment.
FIG. 12 is a diagram illustrating an example of an image storage format according to the first embodiment.
FIG. 13 is a diagram illustrating an example of an image storage format according to the second embodiment.
FIG. 14 is a diagram illustrating an example of an image storage format according to the third embodiment.

Claims (15)

画像入力装置から入力された入力画像信号を画像出力装置によって出力するための出力画像信号へ変換する画像処理システムであって、
前記画像入力装置より入力された入力画像信号に基づいて、入力された画像を所定の色空間で表現する画像情報と、該入力された画像の分光反射率特性を推定するための付加情報を生成する第1生成手段と、
前記第1生成手段で生成された画像情報と付加情報を記憶する記憶手段と、
前記記憶手段に記憶された画像情報と付加情報に基づいて、画像中の各画素の分光反射率を算出する算出手段と、
前記算出手段で算出された分光反射率に基づいて、前記画像中の各画素の記録に用いる、複数色に対応した各記録材の記録量を決定し、前記画像出力装置のための出力画像信号を生成する第2生成手段と
を備えることを特徴とする画像処理システム。
An image processing system that converts an input image signal input from an image input device into an output image signal for output by an image output device,
Based on an input image signal input from the image input device, image information for expressing an input image in a predetermined color space and additional information for estimating a spectral reflectance characteristic of the input image are generated. First generating means for performing
Storage means for storing the image information and the additional information generated by the first generation means;
Calculation means for calculating the spectral reflectance of each pixel in the image based on the image information and the additional information stored in the storage means,
On the basis of the spectral reflectance calculated by the calculation unit, a recording amount of each recording material corresponding to a plurality of colors used for recording each pixel in the image is determined, and an output image signal for the image output device is determined. An image processing system comprising: a second generation unit configured to generate the image data.
画像入力装置から入力された入力画像信号に基づいて、所定の色空間で表現された画像情報を生成する画像処理装置であって、
前記画像入力装置より入力された入力画像信号に基づいて、当該画像を所定の色空間で表現する画像情報を生成する第1生成手段と、
前記画像入力装置より入力された入力画像信号に基づいて、当該画像の分光反射率特性を推定するための付加情報を生成する第2生成手段と、
前記第1生成手段で生成された画像情報と前記第2生成手段で生成された付加情報を1つの画像データとして記憶する記憶手段と
を備えることを特徴とする画像処理装置。
An image processing device that generates image information expressed in a predetermined color space based on an input image signal input from an image input device,
First generating means for generating image information for expressing the image in a predetermined color space based on an input image signal input from the image input device;
A second generation unit configured to generate additional information for estimating a spectral reflectance characteristic of the image based on an input image signal input from the image input device;
An image processing apparatus comprising: a storage unit that stores image information generated by the first generation unit and additional information generated by the second generation unit as one image data.
所定の色空間に対応した画像情報と、当該画像の分光反射率を推定するための付加情報とを記憶する記憶手段と、
前記記憶手段に記憶された前記画像情報と付加情報に基づいて、画像中の各画素の分光反射率を算出する算出手段と、
前記算出手段で算出された分光反射率に基づいて、前記画像中の各画素の記録に用いる、複数色に対応した各記録材の記録量を決定し、前記画像出力装置のための出力画像信号を生成する第2生成手段と
を備えることを特徴とする画像処理装置。
Storage means for storing image information corresponding to a predetermined color space and additional information for estimating the spectral reflectance of the image;
Calculating means for calculating the spectral reflectance of each pixel in the image based on the image information and the additional information stored in the storage means,
On the basis of the spectral reflectance calculated by the calculation unit, a recording amount of each recording material corresponding to a plurality of colors used for recording each pixel in the image is determined, and an output image signal for the image output device is determined. An image processing apparatus comprising: a second generation unit configured to generate the image data.
画像入力装置から入力された入力画像信号を画像出力装置によって出力するための出力画像信号へ変換する画像処理システムの制御方法であって、
前記画像入力装置より入力された入力画像信号に基づいて、入力された画像を所定の色空間で表現する画像情報と、該入力された画像の分光反射率特性を推定するための付加情報を生成する第1生成工程と、
前記第1生成工程で生成された画像情報と付加情報を記憶手段に記憶する記憶工程と、
前記記憶手段に記憶された画像情報と付加情報に基づいて、画像中の各画素の分光反射率を算出する算出工程と、
前記算出工程で算出された分光反射率に基づいて、前記画像中の各画素の記録に用いる、複数色に対応した各記録材の記録量を決定し、前記画像出力装置のための出力画像信号を生成する第2生成工程と
を備えることを特徴とする画像処理システムの制御方法。
A control method of an image processing system that converts an input image signal input from an image input device into an output image signal for output by an image output device,
Based on an input image signal input from the image input device, image information for expressing an input image in a predetermined color space and additional information for estimating a spectral reflectance characteristic of the input image are generated. A first generation step of:
A storage step of storing the image information and the additional information generated in the first generation step in storage means;
A calculating step of calculating a spectral reflectance of each pixel in the image based on the image information and the additional information stored in the storage unit;
On the basis of the spectral reflectance calculated in the calculation step, a recording amount of each recording material corresponding to a plurality of colors used for recording each pixel in the image is determined, and an output image signal for the image output device is determined. And a second generation step of generating an image processing system.
前記入力画像信号は分光画像を表し、
前記付加情報は、前記入力画像信号が表す入力画像の全体の分光分布について主成分分析を実行して得られた主成分のデータを含み、
前記画像情報は前記分光分布に基づいて算出されたRGBデータを含むことを特徴とする請求項4に記載の画像処理システムの制御方法。
The input image signal represents a spectral image;
The additional information includes principal component data obtained by performing principal component analysis on the entire spectral distribution of the input image represented by the input image signal,
The method according to claim 4, wherein the image information includes RGB data calculated based on the spectral distribution.
前記付加情報は、前記入力画像の各画素に付与された画像属性を含み、
前記画像情報は前記分光分布に基づいて算出されたRGBデータを含むことを特徴とする請求項4に記載の画像処理システムの制御方法。
The additional information includes an image attribute assigned to each pixel of the input image,
The method according to claim 4, wherein the image information includes RGB data calculated based on the spectral distribution.
前記入力画像信号はRGBデータであり、
前記付加情報は、前記入力画像信号を取得するシステムの制御方法の特性を表すシステムの制御方法特性情報を含み、
前記画像情報は前記分光分布に基づいて算出されたRGBデータを含むことを特徴とする請求項4に記載の画像処理システムの制御方法。
The input image signal is RGB data;
The additional information includes control method characteristic information of a system representing characteristics of a control method of the system that acquires the input image signal,
The method according to claim 4, wherein the image information includes RGB data calculated based on the spectral distribution.
前記第2生成工程は、
記録材の記録量に基づいて分光反射率を推定する推定工程と、
前記推定工程による推定の結果として得られた分光反射率と、前記算出工程で算出された各画素の分光反射率とに基づいて、各画素における記録材の記録量を決定する決定工程とを備えることを特徴とする請求項4に記載の画像処理システムの制御方法。
The second generation step includes:
An estimation step of estimating the spectral reflectance based on the recording amount of the recording material,
A determination step of determining a recording amount of a recording material in each pixel based on the spectral reflectance obtained as a result of the estimation in the estimation step and the spectral reflectance of each pixel calculated in the calculation step. The control method for an image processing system according to claim 4, wherein:
前記推定工程は、
各色の記録材の量と分光反射率特性との非線形性に基づいて、各1次色の再現色を補正する第1補正工程と、
前記補正された1次色の再現色に基づいて多次色の再現色を推定する多次色推定工程と、
前記多次色推定工程による推定値と実測値との誤差に基づいて得られた補正係数を用いて、前記推定された多次色の再現色を補正する第2補正工程とを備えることを特徴とする請求項4記載の画像処理システムの制御方法。
The estimating step includes:
A first correction step of correcting the reproduced color of each primary color based on the non-linearity between the amount of recording material of each color and the spectral reflectance characteristic;
A multi-order color estimating step of estimating a multi-order color reproduction color based on the corrected primary color reproduction color;
A second correction step of correcting a reproduction color of the estimated multi-color using a correction coefficient obtained based on an error between an estimated value and an actually measured value in the multi-color estimation step. The control method for an image processing system according to claim 4, wherein
所望の光源を設定する設定工程と、
前記算出工程で算出された分光反射率と前記設定工程で設定された光源の光源情報に基づいて画像を再現し表示する第1表示工程と、
前記第2生成工程で決定された記録材の記録量に基づいて画像を再現し表示する第2表工程とをさらに備えることを特徴とする請求項4に記載の画像処理システムの制御方法。
A setting step of setting a desired light source;
A first display step of reproducing and displaying an image based on the spectral reflectance calculated in the calculation step and the light source information of the light source set in the setting step;
The control method of the image processing system according to claim 4, further comprising a second table step of reproducing and displaying an image based on the recording amount of the recording material determined in the second generation step.
画像入力装置から入力された入力画像信号に基づいて、所定の色空間で表現された画像情報を生成する画像処理方法であって、
前記画像入力装置より入力された入力画像信号に基づいて、当該画像を所定の色空間で表現する画像情報を生成する第1生成工程と、
前記画像入力装置より入力された入力画像信号に基づいて、当該画像の分光反射率特性を推定するための付加情報を生成する第2生成工程と、
前記第1生成工程で生成された画像情報と前記第2生成工程で生成された付加情報を1つの画像データとして記憶する記憶工程と
を備えることを特徴とする画像処理方法。
An image processing method for generating image information expressed in a predetermined color space based on an input image signal input from an image input device,
A first generation step of generating image information for expressing the image in a predetermined color space based on an input image signal input from the image input device;
A second generation step of generating additional information for estimating a spectral reflectance characteristic of the image based on an input image signal input from the image input device;
An image processing method comprising: a storage step of storing image information generated in the first generation step and additional information generated in the second generation step as one image data.
所定の色空間に対応した画像情報と、当該画像の分光反射率を推定するための付加情報とを記憶手段に記憶する記憶工程と、
前記記憶手段に記憶された前記画像情報と付加情報に基づいて、画像中の各画素の分光反射率を算出する算出工程と、
前記算出工程で算出された分光反射率に基づいて、前記画像中の各画素の記録に用いる、複数色に対応した各記録材の記録量を決定し、前記画像出力装置のための出力画像信号を生成する第2生成工程と
を備えることを特徴とする画像処理方法。
A storage step of storing image information corresponding to a predetermined color space and additional information for estimating a spectral reflectance of the image in a storage unit;
A calculating step of calculating a spectral reflectance of each pixel in the image based on the image information and the additional information stored in the storage unit;
On the basis of the spectral reflectance calculated in the calculation step, a recording amount of each recording material corresponding to a plurality of colors used for recording each pixel in the image is determined, and an output image signal for the image output device is determined. And a second generation step of generating the image data.
請求項4乃至10のいずれかに記載の画像処理システムの制御方法をコンピュータに実行させるための制御プログラム。A control program for causing a computer to execute the control method of the image processing system according to claim 4. 請求項11又は12に記載の画像処理方法をコンピュータに実行させるための制御プログラム。A control program for causing a computer to execute the image processing method according to claim 11. 請求項13又は14に記載の制御プログラムを格納する記憶媒体。A storage medium for storing the control program according to claim 13.
JP2002221823A 2002-07-30 2002-07-30 Image processing system, apparatus, and method Withdrawn JP2004064542A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2002221823A JP2004064542A (en) 2002-07-30 2002-07-30 Image processing system, apparatus, and method
AU2003249008A AU2003249008A1 (en) 2002-07-30 2003-07-23 Image processing system, apparatus, and method, and color reproduction method
PCT/JP2003/009325 WO2004012442A1 (en) 2002-07-30 2003-07-23 Image processing system, apparatus, and method, and color reproduction method
US10/927,234 US7480083B2 (en) 2002-07-30 2004-08-27 Image processing system, apparatus, and method, and color reproduction method
US12/327,694 US7986438B2 (en) 2002-07-30 2008-12-03 Image processing system, apparatus, and method, and color reproduction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002221823A JP2004064542A (en) 2002-07-30 2002-07-30 Image processing system, apparatus, and method

Publications (1)

Publication Number Publication Date
JP2004064542A true JP2004064542A (en) 2004-02-26

Family

ID=31942032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002221823A Withdrawn JP2004064542A (en) 2002-07-30 2002-07-30 Image processing system, apparatus, and method

Country Status (1)

Country Link
JP (1) JP2004064542A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008027122A (en) * 2006-07-20 2008-02-07 Seiko Epson Corp Image processor, image processing program, image processing method, and storage medium storing image processing program
JP2010041651A (en) * 2008-08-08 2010-02-18 Ricoh Co Ltd Color reproduction range evaluating method, color reproduction range evaluating device, and image forming device
JP2011071924A (en) * 2009-09-28 2011-04-07 Canon Inc Image processing apparatus and image processing method
JP2011234228A (en) * 2010-04-28 2011-11-17 Canon Inc Printing apparatus, image processing method and program
JP2022543178A (en) * 2020-07-08 2022-10-11 カレル ユニバーシティ Method and system for rendering

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008027122A (en) * 2006-07-20 2008-02-07 Seiko Epson Corp Image processor, image processing program, image processing method, and storage medium storing image processing program
JP2010041651A (en) * 2008-08-08 2010-02-18 Ricoh Co Ltd Color reproduction range evaluating method, color reproduction range evaluating device, and image forming device
JP2011071924A (en) * 2009-09-28 2011-04-07 Canon Inc Image processing apparatus and image processing method
JP2011234228A (en) * 2010-04-28 2011-11-17 Canon Inc Printing apparatus, image processing method and program
JP2022543178A (en) * 2020-07-08 2022-10-11 カレル ユニバーシティ Method and system for rendering

Similar Documents

Publication Publication Date Title
US7480083B2 (en) Image processing system, apparatus, and method, and color reproduction method
Vrhel et al. Color device calibration: A mathematical formulation
US7626723B2 (en) Color-conversion-table creating method
US6975437B2 (en) Method, apparatus and recording medium for color correction
USRE42673E1 (en) State-space based modeling of pixel elements of a dynamically varying color marking device
US7692831B2 (en) Image processing apparatus and method thereof
US7630542B2 (en) Color processing method and apparatus
JP3403157B2 (en) Image processing apparatus and method
JP3907810B2 (en) Three-dimensional lookup table correction method, image processing apparatus for performing the same, and digital color printer having the same
JP2001189875A (en) Configuration of profile to compensate nonlinearity of image acquisition
US20070285694A1 (en) Color conversion definition creation apparatus and color conversion definition creation program storage medium
JP2003219193A (en) Color image processing method and color image processor
US20060209325A1 (en) Image processing method, image processing apparatus and storage medium storing a program
JP2004145859A (en) Optimization of image data using color management
JP2002094820A (en) Image-processing device and method therefor
JP2004064542A (en) Image processing system, apparatus, and method
WO2004012442A1 (en) Image processing system, apparatus, and method, and color reproduction method
JP2004064543A (en) Image processing apparatus and method
JP4455386B2 (en) Color processing apparatus, color processing method, and computer program
JP2018074607A (en) Image processing apparatus and camera
JP4545995B2 (en) Image processing method and image processing apparatus
JP2004064546A (en) Image processing apparatus and color reproduction method
JPH11220630A (en) Method for generating three-dimensional look up table, image processor executing the same and digital color printer provided with the same
JP4377203B2 (en) Profile creation method, profile creation device, profile creation program, and profile creation program storage medium
JP2001148794A (en) Color conversion method, color conversion table generator, color converter and recording medium

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