JP2004172809A - Color management system - Google Patents

Color management system Download PDF

Info

Publication number
JP2004172809A
JP2004172809A JP2002334810A JP2002334810A JP2004172809A JP 2004172809 A JP2004172809 A JP 2004172809A JP 2002334810 A JP2002334810 A JP 2002334810A JP 2002334810 A JP2002334810 A JP 2002334810A JP 2004172809 A JP2004172809 A JP 2004172809A
Authority
JP
Japan
Prior art keywords
profile
color conversion
color
processing
data
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.)
Pending
Application number
JP2002334810A
Other languages
Japanese (ja)
Inventor
Taisuke Akahori
泰祐 赤堀
Takamoto Nabeshima
孝元 鍋島
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.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2002334810A priority Critical patent/JP2004172809A/en
Publication of JP2004172809A publication Critical patent/JP2004172809A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a color management system capable of using a profile even in the case that (1) the system is not adaptive to the CLUT form, (2) the number of grating points of the CLUT differs between the system and the profile, and (3) the number of data bits differs between the system and the profile. <P>SOLUTION: When the profile received by a profile reception section 17 is not adaptive to a color conversion section 17, a profile processing section 15 processes the profile: (1) when the form is different, the profile processing section 15 creates the profile adaptive to the form through approximation processing; (2) when the number of grating points differs, the profile processing section 15 creates the adaptive profile through interleaving / padding processing of the number of grating points; and (3) when the number of bits differs, the profile processing section 15 creates the profile adaptive to the number of bits through expansion / contraction processing of data bits. A profile setting section 14 sets the profile processed by the profile processing section 15 to the color conversion section 12. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は,画像データの色空間を変換するためのカラーマネジメントシステムに関する。さらに詳細には,色変換プロファイルを使用して色変換を行うカラーマネジメントシステムに関するものである。
【0002】
【従来の技術】
従来より,例えばRGB色空間からL色空間へというように,ある画像データを他の色空間の画像データに変更するために,色変換テーブルなどのプロファイルが用いられている。プロファイルの書式については,ICCによって定義されたプロファイル形式が事実上の業界標準である。しかし,ICCの定義には大きな自由度があり,さまざまな形式が用意されている。そのため,外部機器から読み込んだプロファイルが自システムに適合しないものであった場合等には,そのプロファイルが使用できない場合があった。
【0003】
それに対し,読み込んだプロファイルがシステムに適合しているかどうかを判断し,適合していないときには読み込んだプロファイルを変換して使用する先行技術文献がある(特許文献1参照)。この先行技術文献によれば,3次元ルックアップテーブル(CLUT)形式の色変換テーブルによる変換と補間演算とによる色変換を行うシステムについて以下のプロファイル変換例が挙げられている。
(1)1次元テーブルやガンマ特性等のCLUTではないプロファイルが入力された場合は,そのプロファイルから均等なCLUTを作成する。
(2)複数の色変換テーブルが入力された場合は,複数の色変換テーブルを結合して1つの色変換テーブルを作成する。
(3)システムが必要とする色空間ではない色空間へと変換するCLUTが入力された場合は,既存のCLUTと合成して必要な色空間へと変換するCLUTを作成する。
【0004】
【特許文献1】
特開2002−94823号公報(第3−5頁,第1−2図)
【0005】
【発明が解決しようとする課題】
しかしながら,前記した先行技術文献のカラーマネジメントシステムでは,CLUT形式の色変換テーブルに適合するシステムについての例が挙げられているのみであり,システムの形式が異なる場合については触れられていない。これは,CLUT形式が色変換性に優れた形式であり,高機能機等ではこの形式が標準となりつつあるからである。しかし,この方式は,大きなメモリ容量や高速な処理機能が必要であるため,低価格機や既存のプリンタ等には搭載されていない場合もある。
【0006】
本発明は,前記した従来のカラーマネジメントシステムが有する問題点を解決するためになされたものである。すなわちその課題とするところは,
(1)システムがCLUT形式に適合したものでない場合,
(2)システムとプロファイルのCLUTの格子点数が異なる場合,
(3)システムとプロファイルのデータビット数が異なる場合,
においてもそのプロファイルを使用可能とするカラーマネジメントシステムを提供することにある。
【0007】
【課題を解決するための手段】
本発明の対象となるカラーマネジメントシステムは,色変換プロファイルを使用して第1の色空間の画像データを第2の色空間の画像データに変換する色変換手段と,第1の色空間の画像データを第2の色空間の画像データに変換するための色変換プロファイルを受信する受信手段と,受信手段が受信した色変換プロファイルがシステムに適合した形式でない場合にその形式をシステムに適合する形式に加工する加工手段と,加工手段により加工された色変換プロファイルを色変換手段に設定する設定手段とを有するものである。
【0008】
このようなものにおいて,本発明では,色変換手段が3次元ルックアップテーブル変換手段を有し,加工手段は,受信手段が受信した色変換プロファイルに,色変換手段で用いる3次元ルックアップテーブルの格子点数Nより少ない格子点数の3次元ルックアップテーブルが含まれている場合には,受信した色変換プロファイルの3次元ルックアップテーブルを,その格子点データに基づく水増し補間演算により,格子点数Nの3次元ルックアップテーブルに加工し,受信手段が受信した色変換プロファイルに,色変換手段で用いる3次元ルックアップテーブルの格子点数Nより多い格子点数の3次元ルックアップテーブルが含まれている場合には,受信した色変換プロファイルの3次元ルックアップテーブルを,その各格子点データに基づく間引き補間演算により,格子点数Nの3次元ルックアップテーブルに加工することとした。
【0009】
これにより,受信手段が受信した色変換プロファイルの3次元ルックアップテーブルの格子点数が,色変換手段で用いる3次元ルックアップテーブルの格子点数に合わせられる。従って,受信手段が受信した色変換プロファイルを色変換手段で用いることができる。
【0010】
あるいは本発明では,色変換手段がマトリクス演算手段と1次元ルックアップテーブル変換手段とを有し,加工手段は,受信手段が受信した色変換プロファイルが3次元ルックアップテーブル形式のものであった場合に,その3次元ルックアップテーブルデータに基づく近似計算により,色変換手段で用いるマトリクス係数および1次元ルックアップテーブルデータを算出することとした。
このようにすると,受信手段が受信した色変換プロファイルに基づいて,色変換手段で用いることのできる形式のプロファイルデータが生成される。従って,受信手段が受信した色変換プロファイルを,色変換手段における色変換に反映させることができる。
【0011】
あるいは本発明では,加工手段は,受信手段が受信した色変換プロファイルのデータビット数が,色変換手段のデータビット数Pと異なる場合に,受信した色変換プロファイルのビット変換を行いそのデータビット数Pの色変換プロファイルに加工することとした。
このようにすると,受信手段が受信した色変換プロファイルのデータビット数が,色変換手段のデータビット数に合わせられる。従って,受信手段が受信した色変換プロファイルを色変換手段で用いることができる。
【0012】
【発明の実施の形態】
次に,本発明の一実施の形態を図面を参照して詳細に説明する。本実施の形態のカラーマネジメントシステムは,プリンタ,コピー機,パソコン等に組み込まれて,入力画像の色空間を出力デバイスの色空間に合わせて変換するためのものである。
【0013】
本実施の形態のカラーマネジメントシステムは,その概略構成を図1に示すように,画像入力部11と画像形成部13とその間の色変換を受け持つ色変換部12とを有している。色変換部12は,後述する2種類のいずれか一方の構成を有する。さらに,色変換部12で使用するプロファイルを設定するために,プロファイル設定部14,プロファイル加工部15,プロファイル格納部16,プロファイル受信部17の各構成が設けられている。さらに,以上の各構成を制御するための制御部18も設けられている。また,プロファイル受信部17には外部機器としてパソコン19等が接続されている。
【0014】
次に,標準的なICCプロファイルについて説明する。色変換部12がいわば計算処理システムであり,プロファイルがそのシステムに当てはめられる変換係数等のデータに相当する。そして,標準的なICCプロファイルとしては大きく分けて,図2に示す第1形式プロファイル20と図3に示す第2形式プロファイル30との2種類の形式がある。このため,色変換部12にも,それぞれの形式のプロファイルに適合する2種類の構成がある。それが,図4に示す第1変換構成40と図5に示す第2変換構成50である。
【0015】
第1形式プロファイル20は,図4に示す第1変換構成40の色変換部12に対応するプロファイル形式である。第1変換構成40は,3成分1次元LUT変換処理部41,42,43と,3×3マトリクス演算処理部44とから構成されるシステムであり,ここでは,RGB画像データをXYZデータに変換する例を示している。この構成に適合する第1形式プロファイル20は,図2と図4に示すように,6つの要素から成る。すなわち,3×3マトリクス演算処理部44での処理を行うためのRGB3色のマトリクス係数21,22,23と,1次元LUT変換処理部41,42,43での処理を行うためのLUTデータ24,25,26とからなっている。
【0016】
一方,第2形式プロファイル30は,図5に示す第2変換構成50の色変換部12に対応するプロファイル形式である。第2変換構成50は,3×3マトリクス演算処理部51と,3成分1次元LUT変換処理部52,53,54と,多次元LUT変換処理部55と,3成分1次元LUT変換処理部56,57,58とから構成されるシステムである。ここでは,RGB画像データをLデータに変換する例を示している。この構成に適合する第2形式プロファイル30は,図3と図5に示すように,4つの要素から成る。3×3マトリクス演算処理部51での処理を行うためのマトリクス係数31と,1次元LUT変換処理部52,53,54での処理のためのLUTデータ32と,多次元LUT変換処理部55での処理を行うためのCLUTデータ33と,1次元LUT変換処理部56,57,58での処理を行うためのLUTデータ34とからなっている。
【0017】
次に,この第2形式プロファイル30において使用されているCLUTデータ33の構造について説明する。CLUTデータ33は,通常,RGBの3軸による3次元構成であるが,そのうち,R軸とG軸とについて図6に概略構成を示す。各軸は等間隔で区切られ,各格子点には変換先データであるLデータが格納されている。例えば,点P1には,(L1,a1,b1)というデータが格納されている。
【0018】
このCLUTデータ33が設定された多次元LUT変換処理部55にRGBデータが入力されると,多次元LUT変換処理部55はこれを変換してLデータを生成する。プロファイルがシステムに適合しているものであっても,この入力されるRGBデータは,必ずしも格子点に合致しているとは限らない。入力されたRGBデータが例えば,図6に示した点P0に対応している場合,その点P0に対応するLデータは,点P0を取り囲む4つの格子点(P1,P2,P3,P4)のLデータを補間処理して求める。実際には3次元構成の格子であるので,取り囲む6つの格子点によって立方体補間したり,あるいは,プリズム補間,四面体補間等の既知の補間方法によって補間することになる。
【0019】
すなわち,色変換部12としては,第1変換構成40と第2変換構成50との2種類の構成がある。また,図1に示したカラーマネジメントシステムでは,画像入力部11と画像形成部13とを含む,コピー機としての構成を示したが,画像入力部11を省いたプリンタとして構成されることや,画像形成部13を省いたスキャナとして構成されることもある。それらの場合には当然,他の装置から画像データを入力したり,他の装置へ画像データを出力することになる。そのような場合においても色変換部12における色変換処理を円滑かつ良好に行うためには,色変換部12の構成に適合し,しかも接続された各装置での色再現を良好にするプロファイルを選択して設定する必要がある。
【0020】
そのために,カラーマネジメントシステムにはあらかじめ各種のプロファイルが組み込まれている。例えばコピー機の場合では,画像入力部11と画像形成部13との特性に合わせて,色再現性のよい特化されたプロファイルが設定されていることが一般的である。ところが,システムに既存のプロファイルでは満足できないエキスパートユーザの場合や,新たに外部機器を接続した場合などには,パソコン19等の外部機器から新たにプロファイルを読み込むことがある。その読み込まれたプロファイルが,色変換部12のシステム構成と合致していなかった場合が問題となるのである。
【0021】
ここで,パソコン19から新たなプロファイルを読み込む際の処理について,説明する。図1に示すように,プロファイル受信部17は,パソコン19から送信されたプロファイルを受信し,いったんプロファイル格納部16に格納する。そして,色変換部12での色変換に際して,プロファイル格納部16に格納されているプロファイルから,使用するプロファイルを制御部18が選択する。この選択は,使用者の指示によってなされる場合もあるし,制御部18によって自動的に選択される場合もある。そして,選択されたプロファイルがシステム構成に適合していない場合は,プロファイル加工部15において,システム構成に適合するプロファイルになるように加工する。プロファイル設定部14は,加工されたプロファイルを色変換部12に設定する。
【0022】
次に,各種の状況に対応した,プロファイル加工部15におけるプロファイル加工方法について説明する。
課題(1)システムがCLUT形式でない場合:すなわち,色変換部12のシステム構成が第1変換構成40であり,選択されたプロファイルが第2形式プロファイル30である場合である。この場合は,システムは変更できないので,第2形式プロファイル30を第1形式プロファイル20に加工する必要がある。
【0023】
しかしながら,第2形式プロファイル30を加工してシステムに適合する第1形式プロファイル20を作成した場合に,元の第2形式プロファイル30の特性を完全には再現できない。それは,第2形式プロファイル30に適合する第2変換構成50では,3つの非線形要素と1つの線形要素とによって構成されているのに対し,システムの有している第1変換構成40は1つの非線形要素と1つの線形要素とによって構成されているからである。すなわち,第2変換構成50では,1次元LUT変換処理部52,53,54と,多次元LUT変換処理部55と,1次元LUT変換処理部56,57,58とが非線形要素であり,3×3マトリクス演算処理部51が線形要素である。一方,第1変換構成40では,1次元LUT変換処理部41,42,43が非線形要素であり,3×3マトリクス演算処理部44が線形要素である。そのため,第2変換構成50に適合する変換を第1変換構成40で忠実に再現することは難しいのである。
【0024】
そこで,図7に示すように,最小2乗法などの近似処理により加工する。具体的には,以下のようになる。まず,第1変換構成40の1次元LUT変換処理部41,42,43で実行される1次元LUT関数を定義する。例えば,その関数が次の(式1)〜(式3)で定義されるとする。
R′=exp(1−b0×R) …(式1)
G′=exp(1−b1×G) …(式2)
B′=exp(1−b2×B) …(式3)
また,第1変換構成40の3×3マトリクス演算処理部44で実行される3×3マトリクス演算は,一般的に次の(式4)で表される。
【0025】
【数1】

Figure 2004172809
【0026】
これらから,第1変換構成40は,次の手順で画像データの変換を行う。入力されたRGB画像データを,1次元LUT変換処理部41,42,43で(式1)〜(式3)によってR′G′B′に変換し,続いて3×3マトリクス演算処理部44で(式4)によってXYZに変換するのである。このように定義した場合,この第1変換構成40の未知のパラメータは,1次元LUT変数であるb0,b1,b2と,3次元マトリクス係数A00〜A22となる。これらを,第2変換構成50の入出力関係に最も近くなるように,最小2乗法等を利用して求めればよい。そして,第1形式プロファイル20に変換されたプロファイルは,プロファイル設定部14によって色変換部12に設定される。なお,誤差をより小さくするためには,(式1)〜(式3)に示した1次元LUT関数を適切に選択することが重要となる。
【0027】
課題(2)システムとプロファイルのCLUTの格子点数が異なる場合:すなわち,色変換部12のシステム構成が第2変換構成50で,選択されたプロファイルが第2形式プロファイル30であるが,第2形式プロファイル30に含まれているCLUTデータ33での格子点数がシステム構成と異なる場合である。この場合は,プロファイル加工部15において,プロファイル中のCLUTデータ33の格子点数を変更して,システム構成に合致させる。
【0028】
一般に,格子点数は1軸当たり,9,17,33ポイントのものが用いられることが多い。つまり,格子間隔数が8,16,32であり,これらは互いに倍々の関係にある。そこで,CLUTデータ33の格子点数が色変換部12のシステム構成より多い場合は,中間位置にあるデータを落として間引き処理を行う。あるいは,CLUTデータ33の格子点数が色変換部12のシステム構成より少ない場合は,格子データの中間値による補間を行って格子点の水増し処理を行う。この補間処理方法には,線形補間と非線形補間とがあり,適宜選択される。非線形補間処理としては,例えば,スプライン補間等が知られている。そして,図8に示すように,色変換部12の格子点数に合致させたプロファイルは,プロファイル設定部14によって色変換部12に設定される。
【0029】
課題(3)システムとプロファイルのデータビット数が異なる場合:すなわち,色変換部12のシステム構成とプロファイル形式は合致しているが,それらのデータのビット数が合致していない場合である。システム構成の方がビット数が大きい場合は,プロファイルのデータにダミービットを付加してビット数を増やす。あるいは,プロファイルのデータの方がビット数が大きい場合は,下位ビットを落とすことによりデータを丸めてビット数を小さくする。例えば,LUTデータやCLUTデータを格納するシステム内メモリが8ビットで,プロファイルデータが16ビットの場合には,プロファイルデータの上位8ビットのみを採用する。そして,ビット数がシステム構成に合致されたプロファイルは,プロファイル設定部14によって色変換部12に設定される。
【0030】
このようにして,システム構成に適合されたプロファイルが色変換部12に設定されるので,その色変換部12によって色変換処理を行うことができる。コピーモード時には,画像入力部11からのスキャン画像は,色変換部12においてデバイスRGB等の色空間から画像形成部13の色空間(プリンタデバイスYMCK)に変換される。スキャンアウト時には,画像入力部11からのスキャン画像は,色変換部12においてデバイスRGB等の色空間からsRGB等の所定の色空間に変換されて出力される。プリントアウト時には,パソコン19から入力された電子画像は,色変換部12において電子画像の色空間(sRGB,L,YMCK等)から,画像形成部13の色空間(プリンタデバイスYMCK)に変換される。
【0031】
以上詳細に説明したように,本実施の形態のカラーマネジメントシステムによれば,システム構成とプロファイルの形式が適合していない場合においても,プロファイルを適宜加工してシステム構成に適合させることで,使用できるようにすることができる。
【0032】
なお,本実施の形態は単なる例示にすぎず,本発明を何ら限定するものではない。したがって本発明は当然に,その要旨を逸脱しない範囲内で種々の改良,変形が可能である。
【0033】
【発明の効果】
以上の説明から明らかなように本発明によれば,
(1)システムがCLUT形式に適合したものでない場合,
(2)システムとプロファイルのCLUTの格子点数が異なる場合,
(3)システムとプロファイルのデータビット数が異なる場合,
においてもそのプロファイルを使用可能とすることができる。
【図面の簡単な説明】
【図1】本実施の形態に係るカラーマネジメントシステムの概略構成を示すブロック図である。
【図2】標準的ICCプロファイルの第1の形式を示す説明図である。
【図3】標準的ICCプロファイルの第2の形式を示す説明図である。
【図4】第1の形式のプロファイルに適合するシステムの構成を示すブロック図である。
【図5】第2の形式のプロファイルに適合するシステムの構成を示すブロック図である。
【図6】CLUTの概略構成を示す説明図である。
【図7】プロファイルデータの加工方法を示す説明図である。
【図8】プロファイルデータの格子点数の変更を示す説明図である。
【符号の説明】
12 色変換部(色変換手段)
14 プロファイル設定部(設定手段)
15 プロファイル加工部(加工手段)
17 プロファイル受信部(受信手段)
41,42,43 1次元LUT変換処理部(1次元ルックアップテーブル変換手段)
44 3×3マトリクス演算処理部(マトリクス演算手段)
55 多次元LUT変換処理部(3次元ルックアップテーブル変換手段)[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a color management system for converting a color space of image data. More specifically, the present invention relates to a color management system that performs color conversion using a color conversion profile.
[0002]
[Prior art]
Conventionally, a profile such as a color conversion table has been used to change certain image data to image data of another color space, for example, from an RGB color space to an L * a * b * color space. As for the format of the profile, the profile format defined by the ICC is the de facto industry standard. However, there is a great degree of freedom in the definition of ICC, and various formats are prepared. Therefore, when the profile read from the external device is not suitable for the own system, the profile cannot be used in some cases.
[0003]
On the other hand, there is a prior art document that determines whether the read profile is suitable for the system and, if not, converts the read profile and uses the converted profile (see Patent Document 1). According to this prior art document, the following profile conversion example is given for a system that performs color conversion by conversion using a three-dimensional lookup table (CLUT) format color conversion table and interpolation.
(1) When a profile other than a CLUT such as a one-dimensional table or a gamma characteristic is input, a uniform CLUT is created from the profile.
(2) When a plurality of color conversion tables are inputted, one color conversion table is created by combining the plurality of color conversion tables.
(3) When a CLUT for converting to a color space other than the color space required by the system is input, a CLUT for converting to a required color space by creating an existing CLUT is created.
[0004]
[Patent Document 1]
JP-A-2002-94823 (page 3-5, FIG. 1-2)
[0005]
[Problems to be solved by the invention]
However, in the above-mentioned color management system of the prior art document, only an example of a system that conforms to a color conversion table in the CLUT format is given, and a case where the system format is different is not mentioned. This is because the CLUT format is a format having excellent color conversion properties, and this format is becoming a standard for high-performance machines and the like. However, since this method requires a large memory capacity and a high-speed processing function, it may not be installed in low-cost machines or existing printers.
[0006]
The present invention has been made to solve the problems of the above-described conventional color management system. That is, the subject is
(1) If the system does not conform to the CLUT format,
(2) When the number of grid points of the system and the profile CLUT is different,
(3) When the number of data bits of the system and the profile is different,
It is another object of the present invention to provide a color management system that makes the profile usable.
[0007]
[Means for Solving the Problems]
A color management system according to the present invention includes a color conversion unit that converts image data in a first color space into image data in a second color space using a color conversion profile, and an image in the first color space. Receiving means for receiving a color conversion profile for converting data into image data in a second color space, and, if the color conversion profile received by the receiving means is not in a format suitable for the system, converting the format to a format suitable for the system And a setting means for setting the color conversion profile processed by the processing means in the color conversion means.
[0008]
In such a case, in the present invention, the color conversion means has a three-dimensional look-up table conversion means, and the processing means adds a three-dimensional lookup table used by the color conversion means to the color conversion profile received by the reception means. When a three-dimensional look-up table having a smaller number of grid points than the number N of grid points is included, the three-dimensional look-up table of the received color conversion profile is converted to the number of grid points N by padding based on the grid point data. If the color conversion profile processed by the three-dimensional look-up table and received by the receiving means includes a three-dimensional look-up table having a number of grid points larger than the number N of grid points of the three-dimensional look-up table used by the color converting means, Calculates the three-dimensional lookup table of the received color conversion profile based on each grid point data. The decimation interpolation calculation, it was decided to process the three-dimensional lookup table grid points N.
[0009]
As a result, the number of grid points of the three-dimensional lookup table of the color conversion profile received by the receiving unit is matched with the number of grid points of the three-dimensional lookup table used by the color conversion unit. Therefore, the color conversion profile received by the receiving means can be used by the color converting means.
[0010]
Alternatively, according to the present invention, the color conversion means has a matrix calculation means and a one-dimensional lookup table conversion means, and the processing means has a color conversion profile received by the reception means in a three-dimensional lookup table format. In addition, matrix coefficients and one-dimensional lookup table data used in the color conversion means are calculated by an approximate calculation based on the three-dimensional lookup table data.
With this configuration, profile data in a format usable by the color conversion unit is generated based on the color conversion profile received by the reception unit. Therefore, the color conversion profile received by the receiving means can be reflected on the color conversion by the color converting means.
[0011]
Alternatively, in the present invention, when the data bit number of the color conversion profile received by the receiving means is different from the data bit number P of the color conversion means, the processing means performs bit conversion of the received color conversion profile and performs the data bit number conversion. The color conversion profile of P was processed.
With this configuration, the number of data bits of the color conversion profile received by the receiving unit is matched with the number of data bits of the color conversion unit. Therefore, the color conversion profile received by the receiving means can be used by the color converting means.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, an embodiment of the present invention will be described in detail with reference to the drawings. The color management system according to the present embodiment is incorporated in a printer, a copier, a personal computer, or the like, and converts a color space of an input image according to a color space of an output device.
[0013]
As shown in FIG. 1, the color management system according to the present embodiment includes an image input unit 11, an image forming unit 13, and a color conversion unit 12 that performs color conversion between them. The color conversion unit 12 has one of two types of configurations described later. Further, in order to set a profile to be used in the color conversion unit 12, each configuration of a profile setting unit 14, a profile processing unit 15, a profile storage unit 16, and a profile receiving unit 17 is provided. Further, a control unit 18 for controlling each of the above components is also provided. Further, a personal computer 19 or the like is connected to the profile receiving unit 17 as an external device.
[0014]
Next, a standard ICC profile will be described. The color conversion unit 12 is a so-called calculation processing system, and a profile corresponds to data such as conversion coefficients applied to the system. The standard ICC profiles are roughly classified into two types, a first format profile 20 shown in FIG. 2 and a second format profile 30 shown in FIG. For this reason, the color conversion unit 12 also has two types of configurations suitable for profiles of the respective formats. These are the first conversion configuration 40 shown in FIG. 4 and the second conversion configuration 50 shown in FIG.
[0015]
The first format profile 20 is a profile format corresponding to the color conversion unit 12 of the first conversion configuration 40 shown in FIG. The first conversion configuration 40 is a system composed of three-component one-dimensional LUT conversion processing units 41, 42, 43 and a 3 × 3 matrix operation processing unit 44, and here, converts RGB image data into XYZ data. An example is shown. The first format profile 20 conforming to this configuration is composed of six elements as shown in FIGS. That is, RGB three-color matrix coefficients 21, 22, and 23 for performing processing in the 3 × 3 matrix operation processing unit 44 and LUT data 24 for performing processing in the one-dimensional LUT conversion processing units 41, 42, and 43. , 25, and 26.
[0016]
On the other hand, the second format profile 30 is a profile format corresponding to the color conversion unit 12 of the second conversion configuration 50 shown in FIG. The second conversion unit 50 includes a 3 × 3 matrix operation processing unit 51, three-component one-dimensional LUT conversion processing units 52, 53, 54, a multidimensional LUT conversion processing unit 55, and a three-component one-dimensional LUT conversion processing unit 56. , 57 and 58. Here, an example is shown in which RGB image data is converted to L * a * b * data. The second format profile 30 conforming to this configuration is composed of four elements as shown in FIGS. A matrix coefficient 31 for performing processing in the 3 × 3 matrix operation processing unit 51, LUT data 32 for processing in one-dimensional LUT conversion processing units 52, 53, 54, and a multi-dimensional LUT conversion processing unit 55 And the LUT data 34 for performing the processing in the one-dimensional LUT conversion processing units 56, 57, 58.
[0017]
Next, the structure of the CLUT data 33 used in the second format profile 30 will be described. The CLUT data 33 usually has a three-dimensional configuration using three axes of RGB, and among them, a schematic configuration of the R axis and the G axis is shown in FIG. Each axis is divided at equal intervals, and L * a * b * data as conversion destination data is stored at each grid point. For example, data (L1, a1, b1) is stored at the point P1.
[0018]
When the RGB data is input to the multidimensional LUT conversion processing unit 55 in which the CLUT data 33 is set, the multidimensional LUT conversion processing unit 55 converts this and generates L * a * b * data. Even if the profile is suitable for the system, the input RGB data does not always match the grid points. When the input RGB data corresponds to, for example, the point P0 shown in FIG. 6, the L * a * b * data corresponding to the point P0 includes four grid points (P1, P2, P3, P4) L * a * b * data is obtained by interpolation processing. Since the grid is actually a three-dimensional structure, it is interpolated by cubic interpolation using six surrounding grid points, or by a known interpolation method such as prism interpolation or tetrahedral interpolation.
[0019]
That is, the color conversion unit 12 has two types of configurations, a first conversion configuration 40 and a second conversion configuration 50. Further, in the color management system shown in FIG. 1, the configuration as a copier including the image input unit 11 and the image forming unit 13 is shown. However, the color management system may be configured as a printer without the image input unit 11, It may be configured as a scanner without the image forming unit 13. In those cases, image data is naturally input from another device or image data is output to another device. Even in such a case, in order to smoothly and favorably perform the color conversion processing in the color conversion unit 12, a profile that is adapted to the configuration of the color conversion unit 12 and that improves color reproduction in each connected device is preferable. Must be selected and set.
[0020]
For this purpose, various profiles are incorporated in the color management system in advance. For example, in the case of a copier, a specialized profile with good color reproducibility is generally set according to the characteristics of the image input unit 11 and the image forming unit 13. However, in the case of an expert user who cannot be satisfied with an existing profile in the system, or when an external device is newly connected, a new profile may be read from an external device such as the personal computer 19. This is a problem when the read profile does not match the system configuration of the color conversion unit 12.
[0021]
Here, a process for reading a new profile from the personal computer 19 will be described. As shown in FIG. 1, the profile receiving unit 17 receives the profile transmitted from the personal computer 19 and temporarily stores the profile in the profile storage unit 16. Then, at the time of color conversion in the color conversion unit 12, the control unit 18 selects a profile to be used from the profiles stored in the profile storage unit 16. This selection may be made by a user's instruction, or may be automatically selected by the control unit 18. If the selected profile does not conform to the system configuration, the profile processing unit 15 processes the selected profile so that the profile conforms to the system configuration. The profile setting unit 14 sets the processed profile in the color conversion unit 12.
[0022]
Next, a profile processing method in the profile processing unit 15 corresponding to various situations will be described.
Problem (1) The case where the system is not in the CLUT format: That is, the case where the system configuration of the color conversion unit 12 is the first conversion configuration 40 and the selected profile is the second format profile 30. In this case, since the system cannot be changed, it is necessary to process the second format profile 30 into the first format profile 20.
[0023]
However, when the second format profile 30 is processed to create the first format profile 20 suitable for the system, the characteristics of the original second format profile 30 cannot be completely reproduced. That is, while the second conversion configuration 50 conforming to the second format profile 30 is composed of three nonlinear elements and one linear element, the first conversion configuration 40 of the system has one This is because it is composed of a non-linear element and one linear element. That is, in the second conversion configuration 50, the one-dimensional LUT conversion processing units 52, 53, and 54, the multidimensional LUT conversion processing unit 55, and the one-dimensional LUT conversion processing units 56, 57, and 58 are nonlinear elements. The × 3 matrix operation processing unit 51 is a linear element. On the other hand, in the first conversion configuration 40, the one-dimensional LUT conversion processing units 41, 42, and 43 are non-linear elements, and the 3 × 3 matrix operation processing unit 44 is a linear element. Therefore, it is difficult to faithfully reproduce the conversion conforming to the second conversion configuration 50 by the first conversion configuration 40.
[0024]
Therefore, as shown in FIG. 7, processing is performed by approximation processing such as the least square method. Specifically, it is as follows. First, one-dimensional LUT functions executed by the one-dimensional LUT conversion processing units 41, 42, and 43 of the first conversion configuration 40 are defined. For example, it is assumed that the function is defined by the following (Equation 1) to (Equation 3).
R ′ = exp (1−b0 × R) (Equation 1)
G ′ = exp (1−b1 × G) (2)
B ′ = exp (1−b2 × B) (formula 3)
The 3 × 3 matrix operation executed by the 3 × 3 matrix operation processing unit 44 of the first conversion configuration 40 is generally represented by the following (Equation 4).
[0025]
(Equation 1)
Figure 2004172809
[0026]
From these, the first conversion unit 40 converts the image data in the following procedure. The input RGB image data is converted into R'G'B 'by (Equation 1) to (Equation 3) by the one-dimensional LUT conversion processing units 41, 42, and 43, and then the 3 × 3 matrix operation processing unit 44 Is converted to XYZ by (Equation 4). In this case, the unknown parameters of the first conversion configuration 40 are the one-dimensional LUT variables b0, b1, and b2 and the three-dimensional matrix coefficients A00 to A22. These may be obtained using the least squares method or the like so as to be closest to the input / output relationship of the second conversion configuration 50. Then, the profile converted to the first format profile 20 is set in the color conversion unit 12 by the profile setting unit 14. In order to reduce the error, it is important to appropriately select the one-dimensional LUT functions shown in (Equation 1) to (Equation 3).
[0027]
Problem (2) When the number of grid points of the system and the profile CLUT is different: that is, the system configuration of the color conversion unit 12 is the second conversion configuration 50, and the selected profile is the second format profile 30, but the second format This is a case where the number of grid points in the CLUT data 33 included in the profile 30 is different from the system configuration. In this case, the profile processing unit 15 changes the number of grid points of the CLUT data 33 in the profile to match the system configuration.
[0028]
Generally, the number of grid points is often 9, 17, 33 points per axis. That is, the number of grid intervals is 8, 16, and 32, which are in a double relationship with each other. Therefore, when the number of grid points of the CLUT data 33 is larger than the system configuration of the color conversion unit 12, the data at the intermediate position is dropped and the thinning processing is performed. Alternatively, when the number of grid points of the CLUT data 33 is smaller than the system configuration of the color conversion unit 12, interpolation is performed using an intermediate value of the grid data to perform padding processing of the grid points. This interpolation processing method includes linear interpolation and non-linear interpolation, and is appropriately selected. As the nonlinear interpolation processing, for example, spline interpolation or the like is known. Then, as shown in FIG. 8, a profile that matches the number of grid points of the color conversion unit 12 is set in the color conversion unit 12 by the profile setting unit 14.
[0029]
Problem (3) When the number of data bits of the system and the profile is different: That is, the system configuration of the color conversion unit 12 and the profile format match, but the bit numbers of those data do not match. If the number of bits is larger in the system configuration, the number of bits is increased by adding dummy bits to the profile data. Alternatively, when the profile data has a larger number of bits, the lower bits are dropped to round the data to reduce the number of bits. For example, when the memory in the system for storing LUT data and CLUT data is 8 bits and the profile data is 16 bits, only the upper 8 bits of the profile data are adopted. Then, the profile whose bit number matches the system configuration is set in the color conversion unit 12 by the profile setting unit 14.
[0030]
In this way, the profile adapted to the system configuration is set in the color conversion unit 12, so that the color conversion unit 12 can perform the color conversion processing. In the copy mode, the scanned image from the image input unit 11 is converted by the color conversion unit 12 from a color space such as device RGB to the color space of the image forming unit 13 (printer device YMCK). At the time of scan-out, the scan image from the image input unit 11 is converted by the color conversion unit 12 from a color space such as device RGB to a predetermined color space such as sRGB and output. At the time of printing, the electronic image input from the personal computer 19 is converted by the color conversion unit 12 from the color space of the electronic image (sRGB, L * a * b * , YMCK, etc.) to the color space of the image forming unit 13 (printer device YMCK). ).
[0031]
As described in detail above, according to the color management system of the present embodiment, even when the system configuration and the format of the profile do not conform, the profile is appropriately processed and adapted to the system configuration. You can do it.
[0032]
Note that the present embodiment is merely an example, and does not limit the present invention in any way. Therefore, naturally, the present invention can be variously modified and modified without departing from the gist thereof.
[0033]
【The invention's effect】
As is apparent from the above description, according to the present invention,
(1) If the system does not conform to the CLUT format,
(2) When the number of grid points of the system and the profile CLUT is different,
(3) When the number of data bits of the system and the profile is different,
Also, the profile can be used.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a color management system according to an embodiment.
FIG. 2 is an explanatory diagram showing a first format of a standard ICC profile.
FIG. 3 is an explanatory diagram showing a second format of a standard ICC profile.
FIG. 4 is a block diagram showing a configuration of a system conforming to a profile of a first format.
FIG. 5 is a block diagram showing a configuration of a system conforming to a second type of profile.
FIG. 6 is an explanatory diagram showing a schematic configuration of a CLUT.
FIG. 7 is an explanatory diagram showing a profile data processing method.
FIG. 8 is an explanatory diagram showing a change in the number of grid points in profile data.
[Explanation of symbols]
12. Color conversion unit (color conversion means)
14 Profile setting part (setting means)
15 Profile processing part (processing means)
17 Profile receiving unit (receiving means)
41, 42, 43 One-dimensional LUT conversion processing unit (one-dimensional lookup table conversion means)
44 3 × 3 matrix operation processing unit (matrix operation means)
55 Multidimensional LUT Conversion Processing Unit (3D Lookup Table Conversion Means)

Claims (3)

色変換プロファイルを使用して第1の色空間の画像データを第2の色空間の画像データに変換する色変換手段と,第1の色空間の画像データを第2の色空間の画像データに変換するための色変換プロファイルを受信する受信手段と,前記受信手段が受信した色変換プロファイルがシステムに適合した形式でない場合にその形式をシステムに適合する形式に加工する加工手段と,前記加工手段により加工された色変換プロファイルを前記色変換手段に設定する設定手段とを有するカラーマネジメントシステムにおいて,
前記色変換手段が3次元ルックアップテーブル変換手段を有し,
前記加工手段は,
前記受信手段が受信した色変換プロファイルに,前記色変換手段で用いる3次元ルックアップテーブルの格子点数Nより少ない格子点数の3次元ルックアップテーブルが含まれている場合には,受信した色変換プロファイルの3次元ルックアップテーブルを,その格子点データに基づく水増し補間演算により,格子点数Nの3次元ルックアップテーブルに加工し,
前記受信手段が受信した色変換プロファイルに,前記色変換手段で用いる3次元ルックアップテーブルの格子点数Nより多い格子点数の3次元ルックアップテーブルが含まれている場合には,受信した色変換プロファイルの3次元ルックアップテーブルを,その各格子点データに基づく間引き補間演算により,格子点数Nの3次元ルックアップテーブルに加工することを特徴とするカラーマネジメントシステム。
Color conversion means for converting image data in the first color space into image data in the second color space using the color conversion profile, and converting image data in the first color space into image data in the second color space Receiving means for receiving a color conversion profile for conversion, processing means for processing the color conversion profile received by said receiving means into a format suitable for the system when the format is not suitable for the system, and said processing means Setting means for setting a color conversion profile processed by the above-described color conversion means in the color conversion means,
The color conversion means has a three-dimensional lookup table conversion means;
The processing means comprises:
If the color conversion profile received by the receiving means includes a three-dimensional look-up table having a smaller number of grid points than the number N of grid points of the three-dimensional look-up table used by the color converting means, the received color conversion profile Is processed into a three-dimensional look-up table with the number of grid points N by padding interpolation operation based on the grid point data.
If the color conversion profile received by the receiving means includes a three-dimensional lookup table having a larger number of grid points than the number N of three-dimensional lookup tables used in the color conversion means, the received color conversion profile A color management system, wherein the three-dimensional look-up table is processed into a three-dimensional look-up table having N grid points by a thinning-out interpolation operation based on each grid point data.
色変換プロファイルを使用して第1の色空間の画像データを第2の色空間の画像データに変換する色変換手段と,第1の色空間の画像データを第2の色空間の画像データに変換するための色変換プロファイルを受信する受信手段と,前記受信手段が受信した色変換プロファイルがシステムに適合した形式でない場合にその形式をシステムに適合する形式に加工する加工手段と,前記加工手段により加工された色変換プロファイルを前記色変換手段に設定する設定手段とを有するカラーマネジメントシステムにおいて,
前記色変換手段がマトリクス演算手段と1次元ルックアップテーブル変換手段とを有し,
前記加工手段は,前記受信手段が受信した色変換プロファイルが3次元ルックアップテーブル形式のものであった場合に,その3次元ルックアップテーブルデータに基づく近似計算により,前記色変換手段で用いるマトリクス係数および1次元ルックアップテーブルデータを算出することを特徴とするカラーマネジメントシステム。
Color conversion means for converting image data in the first color space into image data in the second color space using the color conversion profile, and converting image data in the first color space into image data in the second color space Receiving means for receiving a color conversion profile for conversion, processing means for processing the color conversion profile received by said receiving means into a format suitable for the system when the format is not suitable for the system, and said processing means Setting means for setting a color conversion profile processed by the above-described color conversion means in the color conversion means,
The color conversion means has a matrix calculation means and a one-dimensional lookup table conversion means;
The processing means, when the color conversion profile received by the receiving means is of a three-dimensional look-up table format, performs an approximate calculation based on the three-dimensional look-up table data to obtain a matrix coefficient used by the color converting means. And a color management system for calculating one-dimensional lookup table data.
色変換プロファイルを使用して第1の色空間の画像データを第2の色空間の画像データに変換する色変換手段と,第1の色空間の画像データを第2の色空間の画像データに変換するための色変換プロファイルを受信する受信手段と,前記受信手段が受信した色変換プロファイルがシステムに適合した形式でない場合にその形式をシステムに適合する形式に加工する加工手段と,前記加工手段により加工された色変換プロファイルを前記色変換手段に設定する設定手段とを有するカラーマネジメントシステムにおいて,
前記加工手段は,前記受信手段が受信した色変換プロファイルのデータビット数が,前記色変換手段のデータビット数Pと異なる場合に,受信した色変換プロファイルのビット変換を行いそのデータビット数Pの色変換プロファイルに加工することを特徴とするカラーマネジメントシステム。
Color conversion means for converting image data in the first color space into image data in the second color space using the color conversion profile, and converting image data in the first color space into image data in the second color space Receiving means for receiving a color conversion profile for conversion, processing means for processing the color conversion profile received by said receiving means into a format suitable for the system when the format is not suitable for the system, and said processing means Setting means for setting a color conversion profile processed by the above-described color conversion means in the color conversion means,
The processing means performs bit conversion of the received color conversion profile when the number of data bits of the color conversion profile received by the receiving means is different from the number of data bits P of the color conversion means. A color management system characterized by processing into a color conversion profile.
JP2002334810A 2002-11-19 2002-11-19 Color management system Pending JP2004172809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002334810A JP2004172809A (en) 2002-11-19 2002-11-19 Color management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002334810A JP2004172809A (en) 2002-11-19 2002-11-19 Color management system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006292851A Division JP2007020236A (en) 2006-10-27 2006-10-27 Color management system

Publications (1)

Publication Number Publication Date
JP2004172809A true JP2004172809A (en) 2004-06-17

Family

ID=32699094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002334810A Pending JP2004172809A (en) 2002-11-19 2002-11-19 Color management system

Country Status (1)

Country Link
JP (1) JP2004172809A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007208619A (en) * 2006-02-01 2007-08-16 Seiko Epson Corp Color conversion processing in monotone printing time
JP2008217645A (en) * 2007-03-07 2008-09-18 Kyocera Mita Corp Image forming system and image forming program
US7869088B2 (en) 2007-12-28 2011-01-11 Infoprint Solutions Company, Llc Methods and apparatus for determining a lookup table size for an AFP link CMR
CN102065204A (en) * 2009-11-17 2011-05-18 佳能株式会社 Image processing apparatus, image processing method, and lookup table generation method
JP2012019483A (en) * 2010-07-09 2012-01-26 Brother Ind Ltd Scanner device
US8223404B2 (en) 2007-03-07 2012-07-17 Kyocera Document Solutions Inc. Image forming system, computer readable recording medium storing image forming program and image forming method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007208619A (en) * 2006-02-01 2007-08-16 Seiko Epson Corp Color conversion processing in monotone printing time
JP2008217645A (en) * 2007-03-07 2008-09-18 Kyocera Mita Corp Image forming system and image forming program
US8223404B2 (en) 2007-03-07 2012-07-17 Kyocera Document Solutions Inc. Image forming system, computer readable recording medium storing image forming program and image forming method
US7869088B2 (en) 2007-12-28 2011-01-11 Infoprint Solutions Company, Llc Methods and apparatus for determining a lookup table size for an AFP link CMR
CN102065204A (en) * 2009-11-17 2011-05-18 佳能株式会社 Image processing apparatus, image processing method, and lookup table generation method
JP2011130428A (en) * 2009-11-17 2011-06-30 Canon Inc Image processing apparatus, method, and method of generating lookup table
US8456709B2 (en) 2009-11-17 2013-06-04 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and lookup table generation method
JP2012019483A (en) * 2010-07-09 2012-01-26 Brother Ind Ltd Scanner device
US8730546B2 (en) 2010-07-09 2014-05-20 Brother Kogyo Kabushiki Kaisha Scanner device and method executed in scanner device
US9204014B2 (en) 2010-07-09 2015-12-01 Brother Kogyo Kabushiki Kaisha Scanner device and method executed in scanner device

Similar Documents

Publication Publication Date Title
JP5269042B2 (en) Image processing apparatus, image processing method, and lookup table generation method
JP3249693B2 (en) Image processing device
JP4263131B2 (en) Color conversion method and image processing apparatus
JPH10136216A (en) Color picture processor
KR19980087408A (en) Image processing method, image processing apparatus and computer readable memory
JPH07254988A (en) Color image processing system and data correcting system for the same
US20080018920A1 (en) Image processing apparatus
US7006691B2 (en) Profile correction apparatus and profile correction program storage medium
JP3818098B2 (en) Image signal processing method and image signal processing apparatus
JP2006262238A (en) Image processing method, image processor and image processing program
JPH10200772A (en) Color image forming device
JP3931886B2 (en) Device link profile creation method and apparatus, and image processing apparatus
JP3519230B2 (en) Color correction method for image data
JP2004172809A (en) Color management system
JP2001045313A (en) Method and device for converting color, color conversion program storage medium and method for correcting color
JP2005176280A (en) Color image processing method, color image processing apparatus, color image processing program, and storage medium
JP5012336B2 (en) Device link profile creation apparatus, method and program thereof, and color conversion processing apparatus
JP2009017473A (en) Color gamut generation device, color gamut generation method, color gamut generation program, and color conversion unit
JP2007020236A (en) Color management system
JP4228208B2 (en) Color image processing method, color image processing apparatus, color image processing program, and storage medium
JP3790204B2 (en) Color image processing apparatus and color image processing method
JP3911898B2 (en) Color conversion apparatus and method
JP4062397B2 (en) Image processing apparatus, color conversion definition generation apparatus, image processing method, color conversion definition generation method, storage medium
JPH10198793A (en) Image processor
JP2001203903A (en) Color converting device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20040927

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20041206

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070724