JP2004112694A - Color control method, color control apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium - Google Patents
Color control method, color control apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium Download PDFInfo
- Publication number
- JP2004112694A JP2004112694A JP2002275821A JP2002275821A JP2004112694A JP 2004112694 A JP2004112694 A JP 2004112694A JP 2002275821 A JP2002275821 A JP 2002275821A JP 2002275821 A JP2002275821 A JP 2002275821A JP 2004112694 A JP2004112694 A JP 2004112694A
- Authority
- JP
- Japan
- Prior art keywords
- color
- adjustment
- color space
- movement
- space
- 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
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 194
- 238000000034 method Methods 0.000 title claims abstract description 96
- 238000012545 processing Methods 0.000 title claims abstract description 73
- 230000036961 partial effect Effects 0.000 claims abstract description 248
- 230000033001 locomotion Effects 0.000 claims abstract description 221
- 239000013598 vector Substances 0.000 claims description 48
- 230000009466 transformation Effects 0.000 claims description 29
- 230000008569 process Effects 0.000 claims description 24
- 230000001419 dependent effect Effects 0.000 claims description 8
- 230000002441 reversible effect Effects 0.000 claims description 5
- 238000013519 translation Methods 0.000 claims description 3
- 230000008685 targeting Effects 0.000 claims 1
- 238000012423 maintenance Methods 0.000 abstract 1
- 230000002265 prevention Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 30
- 238000010586 diagram Methods 0.000 description 27
- 239000003086 colorant Substances 0.000 description 21
- 239000002775 capsule Substances 0.000 description 11
- 230000005484 gravity Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 239000007787 solid Substances 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000001771 impaired effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000007639 printing Methods 0.000 description 2
- 244000025254 Cannabis sativa Species 0.000 description 1
- 241000533901 Narcissus papyraceus Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000004141 dimensional analysis Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002829 reductive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
- H04N1/6058—Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、色調整方法、色調整装置、色変換定義編集装置、画像処理装置、並びにプログラムおよび当該プログラムを格納したコンピュータ読取り可能な記憶媒体に関する。より詳細には、カラー画像処理装置またはカラー画像色変換係数生成装置中の、カラー画像の色調整機能やカラー画像色変換係数の編集機能に関する。具体的には、デジタルカラー複写機、プリンタやプリンタドライバ、プリンタコントローラ、カラーFAX、あるいはカラーディスプレイなど、色調整をその機能の一部として含む装置や、色変換係数(プロファイル)を生成するプロファイラといわれる色変換生成装置、あるいはプロファイルを編集したり調整する装置における、ある色空間座標系の色を同一色空間上の別の色に変換する技術に関する。
【0002】
【従来の技術】
デジタルカラー画像を調整する機能の1つとして、色調整機能がある。この色調整機能は、色相、彩度、および明度といった、人の色についての知覚との関連性が薄いと、一般には希望した変換がなされにくい場合が多い。反対にRGBを直接取り扱うコンピュータグラフィックス(CG)デザイナや、主にCMYKを直接取り扱う印刷関連のデザイナなどは、日頃から、RGBやCMYKの編集に慣れており、かえってRGB色空間やCMYK色空間の方が意図どおりに編集できるという場合もある。このように、対象とする分野により、色調整のための色空間は多岐に亘る。
【0003】
また、色調整に関しては、デジタルカラー画像の属する色空間全域に影響を及ぼすような全域色調整と、その部分色空間のみに影響を及ぼす部分的色調整とに大別することができる。全域色調整の具体例としては、コントラスト強調、彩度強調、カラーバランス調整などがあり、部分的色調整の具体例としては、肌色のみを調整するなどの例がある。
【0004】
全域色調整に関わる技術として、たとえば、特開昭64−16658号には、スキャナからのRGB色信号をHLS色信号に、色相(H)、明度(L)、および彩度(S)ごとに独立のルックアップテーブルを用いて変換し、変換後のHLS色信号をRGB色信号に逆変換することによって、人の知覚に合致した形で色調整および色修正を行なう手法が開示されている。
【0005】
しかし、この方法は、全体的な色調整ないし色修正をするもので、たとえば肌色などのように人がイメージとして持っている色、いわゆる記憶色のみを好ましい色に再現するなど、色空間内の人の要求によく現れる局所的な色のみを調整するのが困難である。
【0006】
一方、部分的色調整に関わる技術として、たとえば特開平2−96477号には、色変換部を、顕色系ユニット、記憶色調整ユニット、および逆顕色系ユニットによって構成して、スキャナからのRGB色信号を、色相、彩度、および明度といった人の感覚にあった色信号に変換するとともに、対象領域指定テーブルにより、肌色などの記憶色の対象領域のみを、対象外の領域との間で不連続を生じないように変換し、変換後の色信号をRGB色信号に逆変換することによって、マスキングとは独立に色調整を行なう手法が開示されている。
【0007】
この特開平2−96477号に開示された手法は、移動中心(重心)からの距離の関数を重みとして移動量に掛けることで、滑らかな局所色調整を行なうものであるが、明度と色度(色相Hue、彩度Saturation)を独立に取り扱っているので、RGB空間のような明度が非独立の色空間に対しては適用できない不都合がある。すなわち、移動距離と影響をうける範囲は、階調逆転を起こさない条件を付け加えると従属関係にあり、重心、移動ベクトル、重み関数(重心よりの距離と、適用範囲)により局所色調整量を決めているので、明度・色度分離系以外には適用し難い。また、複数の色を調整するためには、対象領域指定テーブルを増やすなどの方法をとらなければならず、ハードウェアの負担が大きくなる欠点がある。
【0008】
また、特許第3009934号(特開平4−321182号)には、カラー画像から抽出された調整対象領域に含まれる各画素の色を表す画像データに基づいて、調整対象領域の色を代表する代表色を決定し、調整対象領域の調整後の色の目標となる目標色の入力に応じて、代表色から目標色への色空間における移動を示す基本ベクトルを求め、基本ベクトルで示される方向および距離に従って、調整対象領域に含まれる画像データを色空間において移動する手法が開示されている。具体的には、調整対象領域の色を代表する代表色を決定し、調整後の目標色から移動ベクトルを求めて、各画素の色と目標色との距離から距離重みを求めて、移動ベクトルに該重み係数を乗ずることにより、移動量を求めるという手法である。
【0009】
また、特開平9−214792号には、変換前および変換後の各色座標と、それらを包含する球や楕円体などの範囲を指定することによって、部分範囲外と不連続にならないように部分色調整を行なう手法が開示されている。この手法は、上記特開平2−96477号に記載の手法における、明度を独立に扱っている(距離計算を明度、色度で独立に行なうこと)ことの問題点に対して、RGB色空間や、L*a*b*色空間などの色空間で、重心からのユークリッド距離により、移動の重みを決定することで解決する手法を開示している。
【0010】
この手法によれば、任意の色空間座標系の任意の色を同一色空間上の別の色に、対象外の色との間で不連続を生じないように変換することができ、また、複数の色をそれぞれ別の色に変換することができ、しかも、その場合、それぞれの色につき重み係数関数を固定する場合は勿論のこと、重み係数関数を切り換える場合でも、その重み係数関数は1次元のルックアップテーブルによって実現できるので、ハードウェアに負担がかからないという利点がある。
【0011】
しかしながら、この手法は、特開平2−96477号に記載の手法よりも自由度は高いが、移動距離と影響を受ける範囲は、階調逆転を起こさない条件を付け加えると従属関係にあることに変わりがない。
【0012】
なお、上記特開平2−96477号、特許第3009934号(特開平4−321182号)、および特開平9−214792号に共通した特長は、調整対象領域中で調整前の色から調整後の色へ移動する点、かつ、調整対象領域と調整対象領域外との境界で不連続にならないように変換する点にある。
【0013】
【発明が解決しようとする課題】
ところで上述の従来技術は、部分的な色調整を実施したときに調整対象領域と調整対象領域外との色再現の連続性のみに着目したものであって、階調の逆転や連続性に関しては考慮されていない。したがって、従来技術を適用して部分色調整をすると、たとえば階調の不連続(逆転や急激な変化)に起因する不自然な(人の目に知覚される)画像再現が発生する。より具体的に説明すると、たとえば色座標空間中の調整したい調整前色座標を、調整後色座標に調整することを考えると、調整前色座標と調整後色座標を包含するような色調整領域を仮定しないと階調逆転が生ずるなどの不具合が発生する。
【0014】
また上述の従来技術は、調整前色座標と調整後色座標と調整対象領域とを任意に指定する自由度はなく、調整前色座標と調整後色座標により最小の調整対象領域が決まってしまうといえる。定性的には、調整前色座標と調整後色座標の距離が大きくなれば、調整対象領域を広く取らなければならないという制約がある。
【0015】
本発明は、上記事情に鑑みてなされたものであり、調整対象領域の制約を受けることなく、また調整対象の階調連続性の維持と色の逆転の防止とを両立させることのできる色調整方法および装置、あるいはこの色調整方法を利用した色変換定義編集装置や画像処理装置を提供することを目的とする。
【0016】
また本発明は、色調整方法および装置を、電子計算機を用いてソフトウェアで実現するために好適なプログラムおよび当該プログラムを格納したコンピュータ読取り可能な記憶媒体を提供することを目的とする。
【0017】
【課題を解決するための手段】
すなわち、本発明に係る色調整方法は、カラー画像の属する色空間内における所定の調整対象領域について、入力色空間から出力色空間へ色変換するための係数を取得する色調整方法であって、調整対象領域の範囲内では、階調の連続性を維持し、かつ、色の逆転を発生させることなく、調整対象領域内の色を入力色空間と同一色空間である出力色空間上の別の色に変換するための係数を求めることとした。
【0018】
本発明に係る色調整装置は、本発明に係る色調整方法を実施する装置であって、調整対象領域の範囲内では、階調の連続性を維持し、かつ、色の逆転を発生させることなく、前記調整対象領域内の色を前記入力色空間と同一色空間である前記出力色空間上の別の色に変換するための係数を求める係数取得部を備えた。
【0019】
本発明に係る色変換定義編集装置は、本発明に係る色調整装置を備えるとともに、色調整装置の係数取得部が取得した係数を、予め用意されている色変換定義の係数と置き換えることにより、色変換定義を編集する係数編集部を備えた。
【0020】
本発明に係る第1の画像処理装置は、本発明に係る色調整装置を備えるとともに、色調整装置の係数取得部が取得した係数に基づいて、入力されたカラー画像から抽出される調整対象領域に含まれる各画素の色を表す画素データを、色空間において移動させることで色変換する部分的色調整部を備えた。
【0021】
本発明に係る第2の画像処理装置は、本発明に係る色変換定義編集装置により編集された色変換定義を格納する記憶部と、この記憶部に格納されている色変換定義に基づいて、入力されたカラー画像から抽出される調整対象領域に含まれる各画素の色を表す画素データを変換することで色変換する部分的色調整部を備えた。
【0022】
また従属項に記載された発明は、本発明に係る色調整方法、色調整装置、画像処理装置、あるいは色変換定義編集装置のさらなる有利な具体例を規定する。さらに、本発明に係るプログラムは、本発明に係る色調整方法や色調整装置を、電子計算機(コンピュータ)を用いてソフトウェアで実現するために好適なものである。なお、プログラムは、コンピュータ読取り可能な記憶媒体に格納されて提供されてもよいし、有線や無線による通信手段を介して配信されてもよい。
【0023】
【作用】
上記構成においては、調整対象領域の範囲内では、階調の連続性を維持し、かつ、色の逆転を発生させることなく、調整対象領域内の色を入力色空間と同一色空間である出力色空間上の別の色に変換するための係数を求める。つまり、調整対象の色空間中で、特定領域の色座標をある領域に移動するに際して、移動しない領域との境界部において階調性や色の連続性を損なうことなく、すなわち疑似輪郭や階調逆転などの画質欠陥が生じることのないような色変換係数を求める。またこの手法を利用して部分的色調整を実施したり、色変換定義を編集する。
【0024】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について詳細に説明する。最初に、本発明に係る色調整方法の一実施形態について、その概念を説明する。
【0025】
色空間は、RGB色空間、YCC(Y,c1,C2)色空間、CMYK色空間および4色以上で表現される色空間などのデバイスに依存するデバイス依存色空間、あるいはCIE(Commission International de I’Eclairage)で規定されるXYZ色空間、L*a*b*色空間、L*u*v*色空間、さらにはsRGB(スタンダードRGB)色空間やsYCC(スタンダードYCC)色空間などのデバイスに依存しないデバイス非依存色空間など、多様な色空間が存在する。多くの場合、色空間は3次元で表現され、CMYKなど、一部のデバイスに依存した色空間で4次元以上の次元数で表現される。
【0026】
部分的な色調整においては、幾何学的な取り扱いとなるので、次元や色空間の種類には拘束されない。ここでは、一般的に(X,Y,Z)の3次元で表現されるユークリッド空間の例で説明する。なお、3次元より大きい次元への拡張もできる。勿論、前述の各種のデバイス依存色空間や前述の各種のデバイス非依存色空間の何れを色調整対象の信号として取り扱ってもよい。
【0027】
図1は、本発明に係る色調整方法の一実施形態において処理対象とする移動対象部分色空間P1、移動先部分色空間P2、および調整対象色空間P0の関係を説明する図である。座標A(X0,Y0,Z0)を中心とした移動対象部分色空間P1に相当する閉領域Q0(移動対象部分色空間P1)を座標B(X1,Y1,Z1)を中心とした移動先部分色空間P2に相当する閉領域Q1(移動先部分色空間P2)への部分的な色調整を考える。ここで、移動対象部分色空間P1の中心とは、移動対象部分色空間P1の色を代表する代表色の色点であり、移動先部分色空間P2の中心とは移動先部分色空間P2の色を代表する変換処理の後の色の目標となる目標色の色点である。
【0028】
移動対象部分色空間P1の代表色や移動先部分色空間P2の目標色である各中心はその領域形状に応じて適当に定めるとよい。たとえば球体であればその中心を領域中心とすればよく、立方体や直方体などは重心をその中心とすればよい。つまり、領域形状に応じた、ほぼバランスのとれた色点を領域中心とするのがよい。勿論、各領域の色を代表するものであればよく、必ずしも、中心や重心である必要はない。以下、説明を簡単にするため、図1に示すように、閉領域Q0の半径r1と閉領域Q1の半径r2はともに半径r(r1=r2=r)の球で色座標上の異なる領域に存在する場合で説明する。なお、図は半球部分のみを示す。
【0029】
閉領域Q0,Q1は、色座標上の異なる領域に存在するから、座標Aと座標Bは同一ではない。変換対象領域P、すなわち部分的色調整の対象領域は、変換処理の対象となる色を含む移動対象部分色空間P1と対応する色変換係数の色を含む移動先部分色空間P2とを内包するように、さらに好ましくは内接するように包含する形状であることが好ましい。図示した例では、座標Aと座標Bを結ぶ直線と平行で且つ球Q1と球Q2に接する円筒(円筒の長さは線分ABの長さに等しい)Q3、球Q1、およびQ2で画定される内接領域の最大範囲、すなわち図1中、球Q1の略左側半分、円筒Q3、および球Q2の略右側半分で囲まれる領域であり、その変換対象領域Pの形状は、最も一般的な薬のカプセルのような形である。
【0030】
移動対象部分色空間P1や移動先部分色空間P2の形状は、図示したような球の形状に限らず、たとえば、楕円面の形状、円筒の形状、楕円筒の形状、直方体の形状、および少なくともトーラス形状ではない閉じた立体形状、などであってもよい。これらの場合にも、変換対象領域P、すなわち部分的色調整の対象領域は、移動対象部分色空間P1と移動先部分色空間P2とを内接するように包含する形状であることが好ましい。
【0031】
先ず、計算を簡単にするために、図1(A)に示すように、(X,Y,Z)の3次元空間において、閉領域Q0の座標Aが原点になるように、閉領域Q0,Q1を、その相対的位置関係を維持した状態で平行移動する。この後に、図1(B)に示すように、座標Aと座標Bを結ぶ直線がX軸と重なるように、閉領域Q0,Q1を、その相対的位置関係を維持した状態で回転移動する。このように、平行移動や回転移動を行なうと、図1(C)に示すようになる。図1(C)に示す変換対象領域Pに相当する立体の形状をカプセル体という。本実施形態の色調整においては、この変換対象領域Pに相当するカプセル体について部分色調整を行なう。以下、便宜上、座標Aと座標Bを結ぶ直線をX軸とするような座標系をX’Y’Z’空間という。
【0032】
上記回転移動は、X’Y’Z’空間をXYZ空間に座標軸が一致するように回転することである。なお、座標Aが元々原点である場合には平行移動は不要であり、座標Aと座標Bを結ぶ直線がX軸と平行である場合には回転移動は不要である。また、本例のように、変換対象領域Pが座標Aと座標Bを結ぶ直線を中心線とする回転体である場合は、Y’軸とZ’軸が一意に決まらない。この場合は、座標Aと座標Bを結ぶ直線とX軸を含む平面に含まれ、X軸に直行する軸をY’軸とするように決定するなど、適宜に拘束条件を設ければよい。
【0033】
また、X’軸と直行する変換対象領域が楕円のように方向性がある場合は、長径、短径をY’、Z’軸にすると都合がよい。なお、回転移動は、3次元空間の場合、3×3マトリクスの行列演算で実現でき、たとえば“裳華房、基礎数学選書4、立体解析幾何学”などの初等幾何学の教科書に記載されている方法を用いればよい。また、回転移動と平行移動とは、何れを先に処理してもかまわない。
【0034】
このように、平行移動や回転移動を行なうことで、実際の部分色調整に伴う変換対象領域P(図の例ではカプセル体)内の座標の移動計算は、極めて簡単化できる。また、これらの移動を行なった後、元の座標系に戻す必要があるが、平行移動や回転移動を実施しているので、回転移動の逆変換、平行移動の逆変換の順で戻してやればよい。
【0035】
図2は、色調整時の重み付けを説明する図である。ここで図2(A)は、図1(C)に示したカプセル体を2次元表示し色座標の移動を例示したものである。
【0036】
色調整においては、座標空間上で色座標を移動すればよく、たとえば図2(A)に示すように、図1(C)に示したカプセル体の中は、目標(記憶色)Bに向かって、点Aが点Bに重なるように移動させ、移動領域の境界に対応するカプセル体の表面は殆ど移動しないようにする、好ましくは全く移動しない(移動量は“0”)ようにする。また、移動領域の境界に対応するカプセル体の表面に近い点ほど移動量を小さくする。また、点Aから点Bへの移動のように表現できるので、ベクトルとして記述することができ、これを移動ベクトルという。移動ベクトルABに対する重みは、移動対象領域を最も簡単な円筒形とする場合、図2(B)に示すようになる。次に、数学的な説明を簡単にするために、変換対象領域Pの形状を円筒形の場合で説明する。
【0037】
図3は、変換対象領域Pの形状を円筒形とする場合の色調整について説明する図である。図3(A)に示すように、調整範囲として、点C、点Dが定義されているものとする。まず、X軸上の移動ベクトルについて考える。
【0038】
図3(B)は、X軸上の移動前と移動後の関係を示したものである。前提は、点Aを点Bに移動すること、また、変換対象領域Pの境界に位置する点C、点Dは移動しないことである。もし点C、点Dが移動してしまった場合は、調整対象領域Pとそれ以外の領域の境界で階調段差、または、色の段差が発生することを意味する。また、図で示した、X軸上の移動を示した実線矢印は、点A,B,C,Dの移動を示している。破線矢印はそれ以外のX軸上の移動を示している。変換対象領域P内の移動により、階調逆転または色の逆転が発生しない条件は、実線矢印、破線矢印が交差しないことである。つまり、X軸上に関しては、そのような移動ベクトルを生成する関数関係を生成すればよい。この関数の例を以下に示す。移動ベクトルに関わる係数が、色変換するための係数に対応する。
【0039】
図3(C)に示すように、区間CD上の点をXとし、点Aを原点とする。点Aで2領域に分割し、区間CA、区間ADとする。Xが区間CAにある場合には、式(1)により移動ベクトルが決定できる。ただし、CXは点Cと点Xとの距離、ACは点Aと点Cとの距離、“↑AB”は点Aから点Bに向かうベクトル、“↑P”は点Xにおける移動ベクトルである。
【数1】
【0040】
Xが区間ADにある場合には、式(2)により移動ベクトルが決定できる。ただし、DXは点Dと点Xの距離、ADは点Aと点Dの距離、“↑AB”は点Aから点Bに向かうベクトル、“↑P”は点Xにおける移動ベクトルである。
【数2】
【0041】
また、点Xの位置ベクトルを“↑AX”とし、移動後の位置ベクトルを“↑AY”とすると式(3)となる。
【数3】
【0042】
前記は、移動対象点Aで分割することにより、階調逆転の発生しない移動ベクトルあるいは移動量が求まることを意味する。また、式(1)におけるCX/ACや式(2)におけるDX/ADは、“0”から“1”に収まる値であり、点Xにおける移動量は最も単純な関係であるが、たとえば、(CX/AC)2や(CX/AC)1/2としてもよい。また、特に関数でなくとも単調な関係であれば、たとえばテーブル形式でデータを記憶しておき、その間は補間をするなどの手法を用いてもよい。
【0043】
前記は、X軸上の1次元の移動規則を述べたものであるが、実際には、点Xは、調整対象領域中の任意の点である。点Xの座標値を(x,y,z)とすると、調整対象領域PはX軸を回転軸とする回転体であるので、(x,0,0)から(x,y,z)への距離をR、調整対象領域Pの半径をrとし、式(4)のように重みβを算出することができる。
【数4】
【0044】
この式(4)も、たとえば(1−R/r)2にするなど、前記のX軸上の説明と同様な変形ができる。ここで、重みβと式(1)または式(2)の関係の説明をする。式(1)と式(2)をまとめて式(5)のように表現する。
【数5】
【0045】
式(5)は、X軸上の関係式として説明してきたが、y,zの要素を無視して任意の点Xで求めることができる。このとき、調整対象領域内の任意の点の移動ベクトルは式(6)となる。
【数6】
【0046】
以上が円筒形の場合の説明である。調整対象領域のX軸と直交する端面が平面である場合は円筒と同様の考え方でよい。また、断面形状が楕円などで回転体でない場合も、同様にAC、ADが求まることは自明である。
【0047】
図4は、調整対象領域Pがカプセル形状の場合における色調整について説明するものである。図示した例では、X−Z平面にAC,ADを図示しており、太い実線がAC(Aの左側)、AD(Aの右側)の例である。
【0048】
カプセル形状では、円筒形などのような場合より多少複雑になるが、円筒形と同様の考え方が適用できる。この場合も回転体であるので、その領域内の点Xの座標値を(x,y,z)、調整対象領域は(x,0,0)から(x,y,z)への距離をR、調整対象領域Pの半径をrとする。Rに応じて、式(1)のAC、式(2)のADが変化するようにすればよい。
【0049】
以上の説明は、移動対象部分色空間P1と移動先部分色空間P2が包含関係にない場合でも調整対象領域内で階調逆転を起こさず、滑らかに移動を行なう原理を述べたものである。部分的な色調整を行なう場合、特に自然画像を対象とした場合は、階調逆転を起こさず、滑らかであることは重要であり、本方式は、これに合致するものである。
【0050】
前記の例は、移動対象部分色空間P1と移動先部分色空間P2が合同の関係にある場合について説明したものであるが、相似の関係であってもよい。
【0051】
図5は、移動対象部分色空間P1と移動先部分色空間P2が相似の関係にある場合における色調整について説明する図である。Aを含むX軸に直交する調整対象領域境界までの半径をr1、Bを通りX軸に直交する調整対象慮域境界までの半径をr2、点R0を通りX軸に直交する調整対象慮域境界までの半径r3、X軸と点R0との距離をR3とする。
【0052】
図示した例は、移動対象部分色空間P1と移動先部分色空間P2が、ともに円錐台の形状である。合同関係にある場合にはr1=r2であったが、相似関係にある場合r1≠r2となる。このため、移動ベクトルの向きが点R0に依存して、厳密にはR3に依存して変更しなければならない点が異なることになる。移動ベクトルの向きは、以下のように決める。
【0053】
まず、R3/r3=R1/r1=R2/r2となるように、R1、R2が決定できる。また、点R0により決定される移動ベクトルを“↑A’B’”とすると、X軸と“↑A’B’”は捻れの位置にならないように決定するのが妥当で、一意に“↑A’B’”を決定できる。また、前記α、βの係数を掛ける前の移動ベクトルの大きさは、点R0の位置に関わらず、“↑A’B’”のX軸方向の距離は|AB|とすればよく、このベクトルを基本移動ベクトルという。基本移動ベクトルは点R0の関数とみなすことができ、基本移動ベクトルを“↑F(x)”と表記すると、式(7)により移動ベクトル“↑P”を求めることができる。
【数7】
【0054】
このようにすれば、移動対象部分色空間P1と移動先部分色空間P2が相似の関係であっても、基本移動ベクトルの向きがxの関数となるのみで、基本的には、前述の移動対象部分色空間P1と移動先部分色空間P2が合同の形状である場合と何ら変わりがない。
【0055】
以上は、調整対象領域が回転体である場合についての説明であったが、たとえば、移動対象部分色空間P1と移動先部分色空間P2が楕円体のような回転対象でない場合でも、前記の回転対象な合同、相似の形状のように取り扱うことができる。詳細を説明することは割愛するが、前記の半径rと距離Rが点R0(x,y,z)において、合同の場合は点Xの要素y,zの関数になり、相似の場合はx,y,zの3要素の関数に拡張すればよい。また、前記説明では、基本移動ベクトル、係数α、βを最も簡単な関数で記述したが、これらは一例である。
【0056】
基本移動ベクトルは交差しないようにすれば、前記以外の決定方法でもよい。また、α、βに関しては、両者の積が基本移動ベクトルにかかる係数とみなすことができ、最終的に、式(3)により移動後の色座標が決まる。このような観点からみると、ある基本移動ベクトル上の移動前の点列と、移動後の点列の順序が逆転しないように、α,βを決定する、または、直接α・βに相当する係数を決定する方法をとってもかまわない。
【0057】
以上のように、上記方法により変換対象領域Pについて色調整を実施すれば、変換対象領域Pの中は、目標に向かって、調整対象の色点が移動後の色点に重なるように移動させ、移動領域の境界は殆ど移動しないあるいは全く移動しないようにしたので、調整対象領域外との境界部では色飛びや階調逆転などの現象が殆ど生じない。つまり、色調整対象の画像の階調の連続性維持と色逆転の防止を両立させて、部分的色調整を行なうことができる。
【0058】
好ましい再現において、記憶色再現は重要である。色空間のある特定の色のみを変更する選択的色調整をする際には、上記手法が極めて有効である。たとえば、原稿を解析して特定の色領域、たとえば肌色をある色(記憶色)に変更することができれば、好ましい再現に付加価値を提供できる。また上記手法は、白点(White Point )の補正など、色空間上で局所的に色を移動させたい場合に応用できるという利点がある。
【0059】
従来の方法では、たとえば、色空間上、大きな楕円体から、この楕円体に完全に含まれる(内包関係にある)領域に存在する小さな楕円体への選択色調整の手法が提案されているが、内包関係にない位置関係の移動はできない、あるいは、無理に色調調整すれば原理的に階調逆転が起こるという問題がある。これに対して、上記手法によれば、たとえば球状の移動対象部分色空間P1と、同じく球状の移動先部分色空間P2とを結ぶ領域として画定される変換対象領域P内のみを調整対象色空間P0として取り扱うことで、内包関係の制約を取り外している。
【0060】
このため、たとえば、移動したい色の中心と半径や移動先の中心と半径は独立に与えられ、調整の自由度が大きくなっている。そしてこれにより、自由度の高い選択的色調整機能が提供できる。色空間中で、特定領域の座標をある領域に移動する際、移動しない領域との境界の段差を考慮することができ、移動後の疑似輪郭や階調逆転などの画質欠陥が生じ難い。なお、領域の形状に関しては、球より楕円体の方が、自由度は高いが、算術的に一般解を求めることは難しい。
【0061】
次に、画像データ中の下地除去などに有効な部分的色調整について、その原理を説明する。画像データ中の下地は、印刷物などであれば、インクの乗らない紙に対応する部位をさし、CG(コンピュータグラフィックス)などのようにデジタル的に生成されていない画像の場合、たとえば、原稿やシーンを撮像系を通して得られた場合に、本来下地であるべき部位が、ある程度のばらつきを持ってしまっている場合である。この方法を前記の部分的色調整と区別するために、収斂型部分的色調整ということにする。
【0062】
図6は、収斂型部分的色調整について説明する図である。図6(A)において、収斂型部分的色調整をするとは、図6(A)における点Aを中心とする小さい球体Sの領域内の点を全て点B一点に移動し、球体Sの外側は、連続性を保ったまま、部分的色調整を行なうことを意味する。この球体Sを収斂領域という。なお、図中球体Sよりも外側の球体とさらに外側との境界は、前述の部分的色調整により、その境界部で階調の不連続性や色逆転が生じないように色変換するのは上述の通りである。下地のバラツキの範囲が球体S内とすれば、全て下地は一定値にすることができ、その付近の色は連続性を保つことができるような移動を考える。収斂型部分的色調整は2段階に分けると分かり易い。
【0063】
図6(B)に示すように、点Aを中心とする小さい球体S、この球体Sの半径をR2、点Aを中心とする大きな球(移動対象部分色空間P1)の半径R1、この大きな球に含まれる、移動を行なうべき点をX、AからXまでの距離をrとすると、r<R2であれば、Xは無条件に点Aの座標値とすればよい。R2≦r≦R1の領域では、ステップ1基本移動ベクトル(前記の部分的色調整の基本移動ベクトルと区別するためにこういう)の向きは、点Xから点Aに向かうベクトルであり、長さは点Xから点Aへの距離である。このステップ1基本移動ベクトルを“↑V1”とすると、式(8)によりステップ1移動ベクトル“↑V1”が求められる。
【数8】
【0064】
式(8)において重みγを単純な関数で表現したが、点Xが球体Sの表面で“1”、移動対象部分色空間P1の表面で“0”である関係になるように、単調かつ、半径R1上の点列を移動して、それらを移動した後の点列の順序が入れ替わることがない関係であればよい。
【0065】
点Xの位置ベクトルを“↑AX”として、移動後の位置ベクトルを“↑AZ”とすると、点Xが移動される先は式(9)で表される。なお、点Aは部分的色調整のときと同様に、原点に平行移動されているものであり“↑0”ベクトルである。
【数9】
【0066】
また、このように“↑AX”が移動された“↑AZ”を点R0’と表現する。この点R0’が求まったところで1段階が終了する。2段階目は、点R0’に対して前記の部分的色調整と全く同じ移動を行なえばよい。この2段階処理をまとめた形式で記述すると式(10)で表現される。
【数10】
【0067】
以上が収斂型部分的色調整の原理の説明である。この収斂型部分的色調整の適用部分は本来の変換対象領域P内の一部であるので、調整対象領域外との境界部では色飛びや階調逆転などの現象が殆ど生じないのは前述の通りである。
【0068】
また、部分的色調整、収斂方部分色調整とも、対象とする色空間が多次元である場合について述べたが、単色画像のような、いわゆる1次元の色空間であっても適用可能である。
【0069】
図7は、上述の部分的色調整方法を実施する画像処理装置の一実施形態を示すブロック図である。上述のように、部分的色調整を行なう色空間はいかなる色空間でもかまわないが、本実施形態では、CIEで規定されるでL*a*b*色空間とする。ただし、これに限定されるものではなく、たとえば赤R、緑G、および青B(纏めてRGBという)を利用するディスプレイRGBやスキャナRGBなどのデバイス依存型の色空間、あるいはCIEで規定されるL*u*v*表現のデバイスに依存しない色空間であるデバイス非依存型色空間上の色信号を使用することもできる。勿論、部分的色調整部20は、これら以外の各種のデバイス依存色空間や各種のデバイス非依存色空間の何れを色調整対象の信号として取り扱ってもよい。
【0070】
本実施形態の画像処理装置1は、たとえばRGB色区間で表された入力画像データを取り込む画像入力部3と、入力画像データの色信号SinをL*a*b*空間上の色信号に変換する色変換部10と、移動対象部分色空間P1と移動先部分色空間P2とで画定される変換対象領域P内の各色点について、上述のようにして色座標を移動することで部分的色調整を実施する色座標移動部の一例である部分的色調整部20と、この部分的色調整部20における移動パラメータを設定する移動パラメータ設定部の一例である部分的色調整パラメータ取得部30とを備える。
【0071】
また画像処理装置1は、部分的色調整部20により色調整されたL*a*b*空間上の色信号を元のRGB色空間の色信号に戻す色変換部40と、色変換部40からの色信号を、たとえばプリンタやCRTあるいはLCD(液晶)などの外部の画像出力機器の向けて出力する画像データ出力部5とを備える。
【0072】
色変換部10、部分的色調整部20、部分的色調整パラメータ取得部30、および色変換部40により、本発明に係る色調整装置400の一実施形態が構成される。
【0073】
色変換部10,40における色変換処理は公知の技術であるので、詳細な説明を割愛する。部分的色調整部20は、色変換係数を取得する係数取得部22を有している。この係数取得部22は、上述のように、色変換係数として、色座標の移動を示すベクトルの係数を取得する。
【0074】
実際の部分的色調整に先立って、部分的色調整パラメータ取得部30により部分的色調整に関わるパラメータを取得しておく。パラメータ取得に関しては後述する。部分的色調整に関わるパラメータは部分的色調整部20にセットされる。また、実際の画像処理に先立って、色変換部10に対して、入力画像をL*a*b*色信号に変換するための色変換係数がセットされる。
【0075】
また、色変換部40は、色変換部10による色変換の逆変換をセットしておくと、最終的に得られる出力画像は、部分的色調整による変更のみを行なった画像となる。また、部分的色調整を行なった後、プリンタに出力を行なうのであれば、プリンタ用CMYKなどの色信号へ変換する色変換係数をセットしてもよく、また、部分的色調整後のL*a*b*画像信号を残したければ、色変換部40による色変換を行なわないことも選択でき、適宜の色変換係数をセットすればよい。
【0076】
このように、準備を終えた後、画素順次で入力画像が、色変換部10によりにL*a*b*色信号に変換変換さる。次の部分的色調整部20は、調整対象領域P内であれば、所望の調整を実行して調整したL*a*b*色信号を、そうでなければ、部分的色調整部20に入力されたL*a*b*色信号をそのまま出力する。部分的色調整部20の内部動作についての詳細は後述する。次に、色変換部40で、所望の色変換がなされ、出力画像データが生成される。この出力画像データは、画像データ出力部5を介して表示装置や印刷装置などに向けて出力される。
【0077】
図8は、本実施形態の画像処理装置1における部分的色調整部20の詳細構成例を示すブロック図である。図示するように、部分的色調整部20は、色変換部10から入力されたL*a*b*色信号が示す画素データが、1次領域の内部であるのか外部であるのかを判定する1次領域内外判定部210と、1次領域内外判定部210により内部(境界を含んでよい)であると判定された画素データについて、所定の平行移動や回転移動を実施する移動処理部220とを有する。移動処理部220にて移動処理されたL*a*b*色信号を以下(L*a*b*)1色信号という。また、平行移動や回転移動が施されていないL*a*b*色信号を、以下(L*a*b*)0色信号という。1次領域を対象とした平行移動や回転移動は、L*a*b*の3軸空間におけるもので、周知の技術を用いればよい。ここでは、その詳細な説明を割愛する。
【0078】
また部分的色調整部20は、移動処理部220からの平行移動や回転移動が施された(L*a*b*)1色信号と1次領域内外判定部210からの前記平行移動や回転移動が施されていない(L*a*b*)0色信号とについて、各色信号が示す画素データが、変換対象領域Pの内部であるのか外部であるのかを判定する2次領域内外判定部230と、上述の部分色調整の原理に基づいて所望の部分色調整を実施する係数取得部22を包含した部分色調整変換部240と、移動処理部220で行なわれた回転移動の逆変換や平行移動の逆変換を実施する移動逆変換処理部250とを備える。
【0079】
2次領域内外判定部230は、内外判定を実施したときに外部であると判定した場合は、1次領域内外判定部210からの(L*a*b*)0色信号をそのまま色変換部40に出力する。一方、内部(境界部を含んでよい)であると判定したときには移動処理部220からの(L*a*b*)1色信号を部分色調整変換部240に送出する。部分色調整変換部240は、部分色調整の原理に基づいて所望の部分色調整をし、移動逆変換処理部250に送出する。移動逆変換処理部250移動処理部220にて実施された回転移動の逆変換や平行移動の逆変換を実施して、次段の色変換部40へL*a*b*色信号を出力する。
【0080】
図9は、1次領域内外判定部210が取り扱う1次領域を説明する図である。図中、L*,a*,b*各軸にて入力色空間が示されており、円筒が平行移動と回転移動を行なう前の調整対象領域(変換対象領域)Pの状態を示す。この円筒をほぼ完全に含むようなL*,a*,b*各軸に平行になるような、直方体を求めこれを1次領域とする。この直方体は、円筒状の調整対象領域Pを含み、できるだけ小さい方が好ましい。L*a*b*色信号が該直方体の内部に入っているか否かを判定することが1次領域内外判定である。このような直方体に対する内外判定は極めて簡単であり処理時間の短縮に効果が大きい。この1次領域内外判定で、外部であると判定した場合は、1次領域内外判定部210は、色変換部10から部分的色調整部20に入力されたL*a*b*色信号をそのまま色変換部40に出力する。
【0081】
図10は、部分的色調整パラメータ取得部30の一構成例を説明する図であって、ユーザインターフェース画面を示すものである。たとえばキーボート、マウスなどのユーザインターフェースからオペレータの入力によりパラメータが取得される。
【0082】
部分的色調整パラメータ取得部30は、オペレータからの指示に基づいて、移動対象部分色空間P1や移動先部分色空間P2の形状を特定する。たとえば、オペレータは、移動対象部分色空間P1や移動先部分色空間P2の形状とこの形状に応じた中心座標とを指定する。これを受けて、部分的色調整パラメータ取得部30は各領域形状を特定する。部分的色調整部20は、この領域情報に基づいて変換対象領域Pを特定して前述の部分的色調整を実施する。
【0083】
このような移動対象部分色空間P1や移動先部分色空間P2などを特定するためのユーザ指示を受け付けるため、図示するように、表示画面は、移動対象部分色空間P1および移動先部分空間の形状の指定を受け付けるダイアログボックス310、移動対象部分色空間P1の中心座標と移動先部分空間の中心座標を入力するためのダイアログボックス320、移動対象部分色空間P1および移動先部分空間の形状に依存した部分的色調整に関わるパラメータを入力するためのダイアログボックス330、L*a*b*色空間の色票を指定するためのダイアログボックス340、色票を表示する色票表示領域350、および入力画像を表示する画像表示領域360を有する。
【0084】
部分的色調整に関わるパラメータの1つは、移動対象部分色空間P1および移動先部分空間の形状である。図中ダイアログボックス310により移動対象部分色空間P1および移動先部分空間の形状を選択する。初期値は球である。
【0085】
移動対象部分色空間P1および移動先部分空間の形状に依存した部分的色調整に関わるパラメータは、ダイアログボックス330に示す移動対象部分色空間P1と移動先部分空間の半径などである。図では、球が選ばれたときのダイアログボックスを示しており、ダイアログボックス310で楕円面が選択された場合には、それぞれ3方向の半径を入力するようなダイアログボックスに切り替わる。初期値は自動であり、自動が選択されると、球であれば、この後、決定される移動対象部分色空間P1の中心座標と移動先部分空間の中心座標の距離から自動的に半径が、中心座標間距離の半分になるように決定される。円筒の場合も同様である。
【0086】
楕円体が選択された場合は、球とみなし、球が選択された場合の自動と同じである。つまり、部分的色調整パラメータ取得部30は、このダイアログボックス310を利用して、移動対象部分色空間P1や移動先部分色空間P2の形状が球形の場合にはその球形の半径を、球形以外の場合には、球形に対して半径を指定することに相当する形状の大きさを特定する。
【0087】
残る部分的色調整に関わるパラメータは、移動対象部分色空間P1の中心座標と移動先部分空間の中心座標である。図中ダイアログボックス320により、直接、L*a*b*色空間の座標値を入力できる。ただし、L*a*b*色空間の座標値は、感覚的に分かりにくいため、図中色票表示領域350に予め定められた色票を表示し、オペレータが目視確認してマウスなどの指示部材でクリックすることで座標値を取得するようにしてもよい。
【0088】
なお、図中ダイアログボックス320の移動元座標は移動対象部分色空間P1の中心座標を指し、移動先座標は移動先部分空間の中心座標を指す。また、図中ダイアログボックス320は移動元座標の入力がアクティブになっていることを示している。色票からの入力の場合は、この例では、移動元座標にその色票のL*a*b*色空間の座標値が表示され、一部の値を変更するなどの操作も可能である。
【0089】
また、L*a*b*色空間の色票の全て表示するには、スペース的に難しいため、図中ダイアログボックス340に示す色立体の一部をマウスでクリックすることにより、その部位を含む、等色相面または等明度面が実際の色票(図中色票表示領域350)として表示される。この色票に対応するデータは、L*a*b*色空間のデータであるが、色票を表示する場合は、ディスプレイ表示用にディスプレイRGBに色変換して表示を行なう。この色変換はディスプレイICC(International Color Consortium)プロファイルを用いている。
【0090】
一般にディスプレイ上の色はそれほど精度よく表示できないので、入力画像をL*a*b*色空間に色変換した後、色票表示と同一のICCプロファイルで色変換したものを表示する。すなわち、ディスプレイへのRGB色空間の表示色とL*a*b*値の一致精度がそれほどよくなくても、ユーザは、画像と色票が同一条件で比べることができる。
【0091】
また、表示画像上をクリックしても中心座標を入力することができるようにする。つまり、オペレータは、画像上をクリックしても、色票を選択してクリックしてもよい。また、全てパラメータが決定された場合には、図示はしていないが、プレビューボタンにより、表示画像が部分的調整を施された場合の画像の表示になり、プレビュー前の状態に戻したければ、プレビューキャンセルボタンにより、以前の表示画像に戻るようにする。設定またはプレビュー終了後、図示はしていないが、設定終了ボタンをクリックすることにより設定を終了する。
【0092】
また、図示はしないが、収斂型部分的色調整に関するユーザインターフェース画面も選択することができる。この場合、上述の部分的色調整に、移動対象部分色空間P1に対する収斂領域の大きさの比を入力するダイアログボックスが付加されるのみである。大きさの比は“0”以上“1”以下である。
【0093】
上記構成の画像処理装置1においては、ユーザ指定を受け付けて色調整するようにしていたが、これに限らず、自動調整する形態としてもよい。この場合、オペレータによるユーザインターフェースを介した部分的色調整に関わるパラメータ設定が不要になる。自動調整の事例としては、たとえば、記憶色の好ましい再現が挙げられる。人の肌色、空の青、草の緑などが記憶色といわれ、L*a*b*色信号を移動先部分空間の中心座標に相当する色が分かっているものがある。このような場合は、画像データの色空間上の3次元ヒストグラムなどで画像の色分布をみて、記憶色に近い色があれば、それを移動対象部分色空間P1の中心座標とし、分布から半径を決定して、好ましい再現に近づけるように部分色調整を行なうことができる。
【0094】
さらに好適な方法として、特に肌色の場合は、色分布だけではなく、画像中に人物の顔が存在するか否かの顔認識などの方法と組み合わせ、画像中の肌色領域を抽出して、抽出された領域のみで、色分布を見るなどの処理を行ない、部分的色調整を実施すればよい。
【0095】
また、下地除去などにも有効な手段となる。たとえば、原稿があって、スキャナやデジタルカメラなどの撮像系により画像データを取得した場合、紙の白や、色票など均一な色で再現されているべきものが、すなわち、画像データの画素値が一定値であるべきものが、現実にはある分布(バラツキ)を持ってしまっているケースがある。このような画像データに対しては、下地部分の色情報を一定値にするため、上述の収斂型部分的色調整を適用するのが好ましい。
【0096】
特に、本来均一であるべき画像データにバラツキが生じているような画像データを圧縮する場合、この収斂型部分的色調整を行なうことにより、非常に圧縮率が上がる場合があるなど、効果は大きい。この収斂型部分的色調整を適用しても、本来の変換対象領域Pについては、調整対象領域外との境界部では色飛びや階調逆転などの現象が殆ど生じないのは前述の通りである。
【0097】
図11は、上述の部分的色調整方法を利用する、色変換のための色変換定義について説明する図である。ここで、色変換定義は、上記画像処理装置1において色変換係数と表現していたものと同義である。
【0098】
色変換定義とは、入力色空間から出力色空間への対応を定義したものであり、数学的には関数関係にあるものを指す。実際には、1次元のルックアップテーブル(LUT)のテーブル値、多次元のLUT(DLUT;multi−Dimension LUT)のテーブル値、マトリクスの要素の値であり、それらの組み合わせで実現される。これらの値を総称してプロファイルという。色変換定義の例として、最も一般的なのが、ICCで制定されたICCプロファイルである。特に、上述した部分的色調整と組み合わせて有効なのは、DLUTの場合である。DLUTは、たとえば図11(A)に示すように、入力色空間をアドレスとした規則正しい多次元(図では3次元)の格子点で構成され、格子点には格子点に対応した出力色空間上の値が記憶される。
【0099】
格子点に位置する入力値が入ってきた場合は、その格子点の値を出力値とする。一方、格子点間に位置する入力値が入ってきた場合は、近傍格子点を参照して補間を行ない出力値とする。一部の格子点の出力値を変更しても全体に影響を及ぼすことはないためである。
【0100】
ここで、格子点のデータ値を変更すれば出力の色値が変更される。つまり、このようなルックアップテーブルの特定の格子点データを編集すれば、特定の色についてのみ部分的に色調整することができ。また、たとえば、図11(B)に示すように、格子点J1,J2,J3,J4といった複数の格子点を含む収斂領域を設定し、その領域内の格子点の値を全て同一とすれば、前述の収斂型部分的色調整を実現することもできる。すなわち、図11(B)における格子点J1,J2,J3,J4を中心とする領域内の点を全て同一の色値にすれば、格子点J1,J2,J3,J4内に対応する入力色値は全て同一の色値に移動させることができ、それ以外の入力色値は、前述の部分的色調整により、調整対象領域外との境界部における階調の連続性を維持し、色逆転を防止するように部分的色調整を行なうことができる。
【0101】
なお、図11(B)は2次元LUTにおける好適な例を示したもので、収斂領域が正方格子を構成する格子点J1,J2,J3,J4により画定されるものとしているが、その形状は必ずしも正方である必要はなく、長方形であってもよい。また収斂領域を画定するための格子点の数は必ずしも“4”に限定されるものではなく、少なくとも“2”以上であればよく、たとえば“3”とすれば三角形で囲まれた領域が収斂領域となる。また“2”とすれば、ある一方向における一定範囲内が収斂領域となる。
【0102】
また、3次元LUTの場合、正方格子状の8つの格子点で画定される範囲を収斂領域とするのがよい。勿論、この場合にも、収斂領域を画定するための格子点の数は必ずしも“8”に限定されるものではなく、少なくとも“2”以上であればよく、たとえば“3”として3つの格子点を3次元状に配すれば、三角推で囲まれた領域が収斂領域となる。
【0103】
図12は、上述の部分的色調整方法を利用することで色変換定義の編集を実施するプロファイル編集装置の一実施形態を示すブロック図である。プロファイル編集装置2は、色変換のための色変換定義に対して、上述の部分的色調整を利用することで、予め用意されている色変換定義を編集する。
【0104】
プロファイル編集装置2は、少なくともDLUTを含むプロファイルに対して編集を行なう。つまり、上述の部分的色調整を利用して色変換係数を求め、この求めた色変換係数を、予め用意されている色変換定義の係数と置き換えることにより、色変換定義の一例である入力プロファイルを編集する。たとえば、予めプロファイル生成装置で作成されたプロファイルに上述の部分的色調整を施して、プロファイルの一部、すなわち、DLUTの一部の格子点に記憶されている出力値に変更を加える。本実施形態では、DLUTの出力値がL*a*b*色空間のデータである例にて説明する。
【0105】
図12に示すように、プロファイル編集装置2は、プロファイル生成装置にて生成された入力プロファイルを取り込む入力プロファイル取得部60と、変換対象領域P内の各色点について、上述のようにして色座標を移動することで部分的色調整を実施する色座標移動部の一例であるプロファイル編集部70と、このプロファイル編集部70における移動パラメータを設定する移動パラメータ設定部の一例である部分的色調整パラメータ取得部80と、プロファイル編集部70にて編集された出力プロファイルをプロファイル生成装置に返す出力プロファイル送出部90とを備える。プロファイル編集部70は、部分的色調整部20と同様に、係数取得部72を有している。
【0106】
プロファイル編集部70および部分的色調整パラメータ取得部80により、本発明に係る色調整装置400の一実施形態が構成される。
【0107】
この構成において、プロファイル編集装置2は、入力プロファイル取得部60にて取得した入力プロファイルに変更を加える前に、部分的色調整パラメータ取得部80により、部分的色調整パラメータを取得しておく。部分的色調整パラメータ取得部80は、取得した部分的色調整パラメータをプロファイル編集部70にセットする。プロファイル編集部70は、このセットされた部分的色調整パラメータに基づいて入力プロファイル取得部60により取得された入力プロファイルを編集する。この編集後のプロファイルは出力プロファイルとして、出力プロファイル送出部90を介してプロファイル生成装置に送出される。
【0108】
DLUTは、色票画像データと等価と考えても差し支えなく、そのように考えると、基本的には、画像処理装置1で説明したと同様の部分色調整を実施すればよくなる。ただし、色空間中、格子点は間欠的にしか存在しないので、移動対象部分色空間P1の中心座標は格子点に記憶されているL*a*b*値とする方が、効果が期待できる。勿論、格子点間の値であってもかまわないが、本実施形態では、格子点を指定できるようにする。
【0109】
図13は、部分的色調整パラメータ取得部80の一構成例を説明する図であって、ユーザインターフェース画面を示すものである。たとえばキーボート、マウスなどのユーザインターフェースからオペレータの入力によりパラメータが取得される。
【0110】
図示するように、この部分的色調整パラメータ取得部80は、画像処理装置1における部分的色調整パラメータ取得部30とほぼ同様のユーザインターフェース画面を生成する。図示するように、移動対象部分色空間P1および移動先部分空間の形状の指定を受け付けるダイアログボックス810、移動対象部分色空間P1の中心座標と移動先部分空間の中心座標を入力するためのダイアログボックス820、移動対象部分色空間P1および移動先部分空間の形状に依存した部分的色調整に関わるパラメータを入力するためのダイアログボックス830、L*a*b*色空間の色票を指定するためのダイアログボックス840、色票を表示する色票表示領域850を有する。これらは、部分的色調整パラメータ取得部30が生成する表示画面と同じである。
【0111】
また、表示画面は、入力プロファイルをa*−b*平面、L*−a*平面、L*−b*平面の3平面で表示する表示するプロファイル表示領域360と、DLUTを対象として色票を指定するためのダイアログボックス870とを有する。この2点が、上記部分的色調整パラメータ取得部30が生成する表示画面と異なるところである。
【0112】
表示するための色票を選択する図中ダイアログボックス870は、DLUTが対象であるため、読み込まれたプロファイル中のDLUTを表示する。したがって、ユーザは、ダイアログボックス870において、a*−b*平面、L*−a*平面、L*−b*平面の3平面の中からいずれかを選択する。また色票表示領域850に表示される色票は、DLUTの格子点を色票化したものである。なお、ダイアログボックス840とダイアログボックス870とは同時には選択できないようにする。ダイアログボックス840も、格子点間を中心座標にしてする場合に使用でき、移動対象部分色空間P1の中心座標と移動先部分空間の中心座標の指定に使用できる。
【0113】
さらに、プロファイル編集装置2に入力されるものがプロファイルであるため、図示した画面例においては、画像処理装置1における画像表示領域360であった部位にプロファイル表示領域860を設けている。このプロファイル表示領域860には、選択された色票を交点とするような、a*−b*平面、L*−a*平面、L*−b*平面の3平面で、格子点間を補間して、連続調でプロファイルを表示する。この表示により、ユーザは、プレビューを行なった場合に、極端な編集を行なって不自然なプロファイルにならないかどうかを確認することができる。
【0114】
また、図示はしないが、収斂型部分的色調整に関するユーザインターフェース画面も選択することができる。この場合、上述の部分的色調整に、移動対象部分色空間P1に対する収斂領域の大きさの比を入力するダイアログボックスが付加されるのみである。大きさの比は“0”以上“1”以下である。この点についても、画像処理装置1における部分的色調整パラメータ取得部30と同じである。
【0115】
また、上述の収斂型部分的色調整を色変換定義に適用することもできる。複数のDLUT格子点を収斂領域に指定することにより、概ね収斂領域に属するDLUT格子点では、一定の色とすることができる。たとえば、画像処理装置1における収斂型部分的色調整で示したように、下地除去的な効果を色変換定義に付加することもできる。また、色変換定義をRGB色空間からL*a*b*色空間へのDLUTを用いた色変換として、色変換定義の逆変換を色変換定義、すなわちL*a*b*色空間からRGB色空間へのDLUTを用いた色変換とすることもできる。
【0116】
この場合、入力RGBを色変換定義で一旦L*a*b*色空間にした後、別の色変換定義で出力RGBを生成する。概ね入力RGBと出力RGBは同じであることが期待される。ところが、入力RGBでの、R,G,B単色が出力RGBで単色になっているかというと、必ずしもそのようのようにならならい場合が多い。なぜならば、出力RGB用の色変換定義のL*a*b*格子点は入力RGB用の色変換定義と無関係に作成されるためである。入力RGBが単色のとき出力RGBも単色であるようにしたい場合には、出力RGB用の色変換定義の適切な格子点に対して収斂型部分的色調整調整を行ない、出力RGB用の色変換定義の出力値を単色にすれば効果的である。
【0117】
図14は、上述のプロファイル編集装置2により編集された出力プロファイルを利用して色変換する画像処理システムの一実施形態を示すブロック図である。図示するように、画像処理システム9は、画像処理装置1と、プロファイル編集装置2と、プロファイル生成装置500とにより構成されている。プロファイル編集装置2は、上記実施形態で説明したものと同様のものである。
【0118】
上述した画像処理装置1においては、入力画像の個々の色座標値を変換対象の色として変換後の色座標値を1つずつ求めることで、入力画像中の特定の色を部分的に他の色に色変換することも可能であるが、このような逐次処理は時間がかかり、実用的でない。これに対して、プロファイル編集装置2により予め色域変換のための係数(色変換係数)で構成された入力プロファイルを編集しておき、この編集後の出力プロファイルを用いて入力画像を色域変換するようにしたのが、この画像処理システム9である。
【0119】
プロファイル編集装置2は、上述した部分的色調整処理を利用して、プロファイル生成装置500にて生成されている入力プロファイル(具体的にはルックアップテーブル)上の色変換係数を編集するのは上述の通りである。プロファイル編集装置2は、この編集した色域変換係数から構成された出力プロファイルをプロファイル生成装置500に返す。プロファイル生成装置500は、プロファイル編集装置2から受け取った出力プロファイルを画像処理装置1に設けられた記憶媒体28に書き込んでおく。
【0120】
すなわち、この記憶媒体28には、上述した部分的色調整処理を利用して編集された色変換のための色変換係数が格納される。このとき、記憶媒体28には、入力画像の調整対象色域内の入力色座標値と出力色座標値との関係を、入力画像を色域変換するために用いられる多次元変換テーブルに格納される格子点データとして格納する。画像処理装置1は、この格子点データと補間演算とによって入力画像を色域変換する。
【0121】
図14は、入力画像信号SinがRGBデータであり、変換後のデータをカラー画像出力装置の一例であるカラーディスプレイ7に入力する例を示したものである。RGBデータの入力画像信号Sinは、画像入力部3を介して色変換部10に入力される。そして、色変換部10によってL*a*b*データに変換され、その変換後のL*a*b*データが、部分的色調整部20に供給される。
【0122】
図示するように、上記実施形態の部分的色調整部20および色変換部40は、3次元テーブル25、補間演算部26、および1次元テーブル27r,27g,27bによって構成され、3次元テーブル25には、上述したプロファイル編集装置2によって編集されたRGBデータの格子点データが、あらかじめ格納される。3次元テーブル25、および1次元テーブル27r,27g,27bによって記憶媒体28が構成される。
【0123】
そして、色変換部10からのL*a*b*データの上位ビットによって3次元テーブル25が索引されて、3次元テーブル25から格子点データが読み出され、その読み出された格子点データが、補間演算部26において、色変換部10からのL*a*b*データの下位ビットによって補間演算されて、3次元テーブル25から色域変換後のRGBデータRi,Ci,Biが得られる。
【0124】
補間方法としては、たとえば単位立方体を6つの3角錐に分割して補間演算する方法、単位立方体を2つの3角柱に分割して補間演算する方法、あるいは単位立方体にそのまま補間する方法など、公知の補間処理を適用すればよい。
【0125】
このように格子点データの補間演算によって色域変換後の色を求めるため、格子点データの生成や編集に当たっては、格子点として入力画像の色域外に位置する点も含ませる。そのため、色域変換後の色として3次元テーブル25から得られるRGBデータRi,Ci,Biにはディスプレイ再現域外の色も含まれる。
【0126】
そこで、3次元テーブル25からのRGBデータRi,Gi,Biは、1次元テーブル27r,27g,27bによって、再現先デバイスであるディスプレイ色域内の色信号はできるだけ補正せずに、且つディスプレイ色域外の色信号は彩度の逆転ができるだけ発生しないように色域マッピング処理をし、この色域マッピング処理後のRGBデータRo,Go,Boがディスプレイ7に出力される。
【0127】
なお、上記の実施形態は、部分的色調整部20やプロファイル編集部70の機能部分をハードウェアにて構成するものとして説明したが、これに限らず、マイコンなどのCPU(中央演算処理装置)やパソコンなどの、いわゆる電子計算装置を利用し、ソフトウェアにて、上記の処理機能を実現することもできる。
【0128】
この場合、マイコンやパソコンなどの電子計算装置は、前述の部分的色調整パラメータ取得部30やプロファイル編集部70などの各機能部分をソフトウェアとして備える。すなわち、前述の部分的色調整パラメータ取得部30やプロファイル編集部70などの各機能部分を実現するソフトウェアのプログラムコードを記録した記憶媒体(たとえば図示しないRAMなど)から、装置のコンピュータ(またはCPUやMPU)がプログラムコードを読出し実行することによって、前述の実施形態で述べた効果が達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述の実施形態の機能を実現することになる。なお、プログラムは、記憶媒体を介して提供されるものに限らず、有線あるいは無線による通信手段を介して配信されるプログラムデータをダウンロードしたものであってもよい。
【0129】
また、コンピュータが読み出したプログラムコードを実行することで各機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行ない、その処理によって各機能が実現される場合であってもよい。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行ない、その処理によって前述の実施形態の各機能が実現される場合であってもよい。
【0130】
以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で上記実施形態に多様な変更または改良を加えることができ、そのような変更または改良を加えた形態も本発明の技術的範囲に含まれる。
【0131】
また、上記の実施形態は、クレーム(請求項)にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組合せの全てが発明の解決手段に必須であるとは限らない。前述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜の組み合わせにより種々の発明を抽出できる。実施形態に示される全構成要件から幾つかの構成要件が削除されても、効果が得られる限りにおいて、この幾つかの構成要件が削除された構成が発明として抽出され得る。
【0132】
【発明の効果】
以上のように、本発明によれば、調整対象領域の範囲内では、階調の連続性を維持し、かつ、色の逆転を発生させることなく、調整対象領域内の色を入力色空間と同一色空間である出力色空間上の別の色に変換するための係数を求めるようにした。つまり、調整対象の色空間中で、特定領域の色座標をある領域に移動するに際して、移動しない領域との境界部において階調性や色の連続性を損なうことなく、すなわち疑似輪郭や階調逆転などの画質欠陥が生じることなく、部分的色調整を行なうことができる。
【0133】
よって、移動対象部分色空間と移動先部分色空間とを結ぶ領域として画定される変換対象領域内を調整対象色空間として取り扱うことで、従来の手法で制約事項となっていた内包関係の制約を取り外すことができる。そしてこれにより、たとえば、移動したい色の中心と半径や移動先の中心と半径は独立に与えることができ、色調整の自由度が大きくなる。また、自由度の高い選択的色調整機能が実現できる。
【図面の簡単な説明】
【図1】本発明に係る色調整方法の一実施形態において処理対象とする移動対象部分色空間、移動先部分色空間、および調整対象色空間の関係を説明する図である。
【図2】色調整時の重み付けを説明する図である。
【図3】変換対象領域の形状を円筒形とする場合の色調整について説明する図である。
【図4】調整対象領域がカプセル形状の場合における色調整について説明するものである。
【図5】移動対象部分色空間と移動先部分色空間が相似関係にある場合における色調整について説明する図である。
【図6】収斂型部分的色調整について説明する図である。
【図7】部分的色調整方法を実施する画像処理装置の一実施形態を示すブロック図である。
【図8】画像処理装置における部分的色調整部の詳細構成例を示すブロック図である。
【図9】1次領域内外判定部が取り扱う1次領域を説明する図である。
【図10】部分的色調整部における部分的色調整パラメータ取得部が生成するユーザインターフェース画面を示す図である。
【図11】部分的色調整方法を利用する、色変換のための色変換定義について説明する図である。
【図12】部分的色調整方法を利用することで色変換定義を実施するプロファイル編集装置の一実施形態を示すブロック図である。
【図13】プロファイル編集装置における部分的色調整パラメータ取得部が生成するユーザインターフェース画面を示す図である。
【図14】プロファイル編集装置により編集された出力プロファイルを利用して色変換する画像処理システムの一実施形態を示すブロック図である。
【符号の説明】
1…画像処理装置、2…プロファイル編集装置、3…画像入力部、5…画像データ出力部、10,40…色変換部、20…部分的色調整部、22,72…係数取得部、30…部分的色調整パラメータ取得部、60…入力プロファイル取得部、70…プロファイル編集部、80…部分的色調整パラメータ取得部、90…出力プロファイル送出部、210…1次領域内外判定部、220…移動処理部、230…2次領域内外判定部、240…部分色調整変換部、250…移動逆変換処理部、310,320,330,340…ダイアログボックス、350…色票表示領域、360…画像表示領域、810,820,830,840,870…ダイアログボックス、850…色票表示領域、860…プロファイル表示領域、P…変換対象領域、P0…調整対象色空間、P1…移動対象部分色空間、P2…移動先部分色空間[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a color adjustment method, a color adjustment device, a color conversion definition editing device, an image processing device, a program, and a computer-readable storage medium storing the program. More specifically, the present invention relates to a color image color adjustment function and a color image color conversion coefficient editing function in a color image processing apparatus or a color image color conversion coefficient generation apparatus. More specifically, a device such as a digital color copier, a printer, a printer driver, a printer controller, a color FAX, or a color display, which includes color adjustment as a part of its functions, and a profiler that generates a color conversion coefficient (profile). The present invention relates to a technology for converting a color in a certain color space coordinate system into another color in the same color space in a color conversion generation device or a device for editing or adjusting a profile.
[0002]
[Prior art]
One of the functions for adjusting a digital color image is a color adjustment function. If the color adjustment function has low relevance to the perception of human colors such as hue, saturation, and lightness, it is often difficult to perform the desired conversion. Conversely, computer graphics (CG) designers that directly handle RGB, and printing-related designers that mainly handle CMYK directly, are usually used to editing RGB and CMYK. In some cases, you can edit as intended. As described above, the color space for color adjustment varies widely depending on the target field.
[0003]
The color adjustment can be broadly classified into a full-range color adjustment that affects the entire color space to which the digital color image belongs, and a partial color adjustment that affects only the partial color space. Specific examples of the entire gamut color adjustment include contrast enhancement, saturation enhancement, and color balance adjustment. Specific examples of the partial color adjustment include an example of adjusting only the skin color.
[0004]
As a technique relating to the gamut color adjustment, for example, Japanese Patent Application Laid-Open No. 64-16658 discloses that an RGB color signal from a scanner is converted into an HLS color signal, and a hue (H), a lightness (L), and a saturation (S) are set for each color. There is disclosed a method of performing color adjustment and color correction in a form that matches human perception by performing conversion using an independent look-up table, and inversely converting the converted HLS color signal into an RGB color signal.
[0005]
However, this method adjusts the overall color or corrects the color.For example, it reproduces only the colors that a person has as an image, such as skin color, so-called memorized colors into desirable colors, and so on. It is difficult to adjust only local colors that often appear in human needs.
[0006]
On the other hand, as a technique relating to partial color adjustment, for example, Japanese Patent Application Laid-Open No. 2-96477 discloses that a color conversion unit is constituted by a color developing unit, a memory color adjusting unit, and a reverse color developing unit, and a color conversion unit is provided. The RGB color signals are converted into color signals suitable for human senses such as hue, saturation, and lightness, and the target area designation table is used to store only target areas of memory colors such as flesh colors with non-target areas. Discloses a method of performing color adjustment independently of masking by performing conversion so as not to cause discontinuity, and inversely converting the converted color signal into an RGB color signal.
[0007]
The method disclosed in Japanese Patent Application Laid-Open No. 2-96477 is to perform smooth local color adjustment by multiplying a movement amount by using a function of a distance from a movement center (center of gravity) as a weight. (Hue Hue, Saturation Saturation) is handled independently, so there is a disadvantage that it cannot be applied to a color space in which lightness is not independent, such as an RGB space. In other words, the moving distance and the affected range are dependent upon adding a condition that does not cause gradation inversion, and the local color adjustment amount is determined by the center of gravity, the moving vector, and the weight function (distance from the center of gravity and the applicable range). Therefore, it is difficult to apply the method to systems other than lightness / chromaticity separation systems. Further, in order to adjust a plurality of colors, it is necessary to take a method such as increasing the number of target area designation tables, and there is a disadvantage that the load on hardware is increased.
[0008]
Japanese Patent No. 3009934 (Japanese Patent Laid-Open No. 4-321182) discloses a representative image representing a color of an adjustment target area based on image data representing a color of each pixel included in the adjustment target area extracted from a color image. Determine the color, according to the input of the target color as the target of the adjusted color of the adjustment target area, obtain a basic vector indicating the movement in the color space from the representative color to the target color, the direction indicated by the basic vector and A technique is disclosed in which image data included in an adjustment target area is moved in a color space according to a distance. Specifically, a representative color representing the color of the adjustment target area is determined, a movement vector is obtained from the adjusted target color, a distance weight is obtained from the distance between the color of each pixel and the target color, and a movement vector is obtained. Is multiplied by the weighting factor to obtain the movement amount.
[0009]
Japanese Unexamined Patent Publication No. Hei 9-214792 discloses a method of specifying a color coordinate before and after conversion and specifying a range such as a sphere or an ellipsoid including the color coordinates so that the color is not discontinuous outside the partial range. A method for performing the adjustment is disclosed. This method solves the problem of separately treating lightness (independently calculating the distance with lightness and chromaticity) in the method described in JP-A-2-96477. , L * a * b * A technique for solving the problem by determining the weight of the movement based on the Euclidean distance from the center of gravity in a color space such as a color space is disclosed.
[0010]
According to this method, an arbitrary color in an arbitrary color space coordinate system can be converted into another color in the same color space so as not to cause a discontinuity with a non-target color, A plurality of colors can be converted into different colors, and in that case, the weight coefficient function is not limited to one when the weight coefficient function is switched as well as when the weight coefficient function is fixed for each color. Since it can be realized by a dimensional lookup table, there is an advantage that no load is imposed on hardware.
[0011]
However, although this method has a higher degree of freedom than the method described in Japanese Patent Application Laid-Open No. 2-96477, the moving distance and the range affected by the method are dependent on the addition of a condition that does not cause gradation inversion. There is no.
[0012]
The features common to the above-mentioned JP-A-2-96477, JP-A-3009934 (JP-A-4-321182), and JP-A-9-214792 are that the color before adjustment is changed from the color before adjustment in the adjustment target area. And the conversion is performed so as not to be discontinuous at the boundary between the adjustment target area and the outside of the adjustment target area.
[0013]
[Problems to be solved by the invention]
By the way, the above-described prior art focuses only on the continuity of color reproduction between the adjustment target area and the outside of the adjustment target area when performing partial color adjustment. Not considered. Therefore, when partial color adjustment is performed by applying the conventional technique, an unnatural (perceived by human eyes) image reproduction occurs due to, for example, discontinuity (reversal or rapid change) of gradation. More specifically, for example, considering that the color coordinates before adjustment to be adjusted in the color coordinate space are adjusted to the color coordinates after adjustment, a color adjustment area including the color coordinates before adjustment and the color coordinates after adjustment is considered. Otherwise, a problem such as a grayscale inversion occurs.
[0014]
Further, in the above-described related art, there is no freedom to arbitrarily specify the color coordinates before adjustment, the color coordinates after adjustment, and the adjustment target area, and the minimum adjustment target area is determined by the color coordinates before adjustment and the color coordinates after adjustment. It can be said that. Qualitatively, if the distance between the pre-adjustment color coordinates and the post-adjustment color coordinates increases, there is a restriction that the adjustment target area must be widened.
[0015]
The present invention has been made in view of the above circumstances, and is not limited by an adjustment target area, and can perform color adjustment that can maintain continuity of gradation to be adjusted and prevent color inversion. It is an object of the present invention to provide a method and an apparatus, or a color conversion definition editing apparatus and an image processing apparatus using the color adjustment method.
[0016]
Another object of the present invention is to provide a program suitable for implementing the color adjustment method and apparatus by software using an electronic computer, and a computer-readable storage medium storing the program.
[0017]
[Means for Solving the Problems]
That is, the color adjustment method according to the present invention is a color adjustment method for acquiring a coefficient for performing color conversion from an input color space to an output color space for a predetermined adjustment target area in a color space to which a color image belongs, Within the range of the adjustment target area, the colors in the adjustment target area are stored in the output color space, which is the same color space as the input color space, while maintaining the continuity of gradation and without causing color inversion. A coefficient for converting the color of the color is determined.
[0018]
A color adjustment device according to the present invention is a device that performs the color adjustment method according to the present invention, and maintains color continuity and generates color inversion within a range of an adjustment target area. And a coefficient obtaining unit for obtaining a coefficient for converting a color in the adjustment target area into another color in the output color space that is the same color space as the input color space.
[0019]
The color conversion definition editing device according to the present invention includes the color adjustment device according to the present invention, and replaces the coefficient acquired by the coefficient acquisition unit of the color adjustment device with a coefficient of a color conversion definition prepared in advance. A coefficient editing unit for editing the color conversion definition is provided.
[0020]
A first image processing apparatus according to the present invention includes a color adjustment apparatus according to the present invention, and an adjustment target area extracted from an input color image based on a coefficient acquired by a coefficient acquisition unit of the color adjustment apparatus. And a partial color adjustment unit that performs color conversion by moving pixel data representing the color of each pixel included in the color space in the color space.
[0021]
A second image processing device according to the present invention includes a storage unit that stores a color conversion definition edited by the color conversion definition editing device according to the present invention, and a color conversion definition stored in the storage unit. The image processing apparatus further includes a partial color adjustment unit that performs color conversion by converting pixel data representing the color of each pixel included in the adjustment target area extracted from the input color image.
[0022]
The invention described in the dependent claims defines a further advantageous specific example of the color adjustment method, the color adjustment device, the image processing device, or the color conversion definition editing device according to the present invention. Furthermore, the program according to the present invention is suitable for implementing the color adjustment method and the color adjustment device according to the present invention by software using an electronic computer (computer). The program may be provided by being stored in a computer-readable storage medium, or may be distributed via a wired or wireless communication unit.
[0023]
[Action]
In the above configuration, within the range of the adjustment target area, the continuity of gradation is maintained, and the color in the adjustment target area is output in the same color space as the input color space without causing color inversion. Find coefficients for conversion to another color in the color space. In other words, when the color coordinates of a specific area are moved to a certain area in the color space to be adjusted, the gradation and color continuity are not impaired at the boundary with the non-moving area. A color conversion coefficient that does not cause image quality defects such as inversion is obtained. Also, partial color adjustment is performed by using this method, and the color conversion definition is edited.
[0024]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. First, the concept of an embodiment of the color adjustment method according to the present invention will be described.
[0025]
The color space is a device-dependent color space depending on devices such as an RGB color space, a YCC (Y, c1, C2) color space, a CMYK color space, and a color space expressed by four or more colors, or a CIE (Commission International de I). XYZ color space defined by 'Eclairage), L * a * b * Color space, L * u * v * There are various color spaces, such as a color space, and a device-independent color space that does not depend on devices, such as an sRGB (standard RGB) color space and an sYCC (standard YCC) color space. In many cases, the color space is expressed in three dimensions, and is expressed in four or more dimensions in a color space depending on some devices such as CMYK.
[0026]
Partial color adjustment is handled geometrically, and is not restricted by the dimensions or the type of color space. Here, an example of a Euclidean space generally expressed in three dimensions (X, Y, Z) will be described. In addition, the extension to a dimension larger than three dimensions is also possible. Of course, any of the above-described various device-dependent color spaces and the above-described various device-independent color spaces may be handled as signals to be subjected to color adjustment.
[0027]
FIG. 1 is a diagram illustrating a relationship among a target partial color space P1, a destination partial color space P2, and an adjustment target color space P0 to be processed in an embodiment of the color adjustment method according to the present invention. A closed area Q0 (movement target partial color space P1) corresponding to the movement target partial color space P1 centered on coordinates A (X0, Y0, Z0) is moved to a destination area centered on coordinates B (X1, Y1, Z1). Consider partial color adjustment to a closed area Q1 (destination partial color space P2) corresponding to the color space P2. Here, the center of the moving target partial color space P1 is a color point of a representative color representing the color of the moving target partial color space P1, and the center of the moving destination partial color space P2 is the center of the moving destination partial color space P2. This is the color point of the target color that is the target of the color after the conversion process representing the color.
[0028]
The center, which is the representative color of the moving target partial color space P1 or the target color of the moving destination partial color space P2, may be appropriately determined according to the region shape. For example, in the case of a sphere, the center may be set as the center of the region, and in the case of a cube or a rectangular solid, the center of gravity may be set as the center. In other words, it is preferable to set a substantially balanced color point according to the region shape as the region center. Of course, it is only necessary to represent the color of each area, and it is not always necessary to set the center or the center of gravity. Hereinafter, for the sake of simplicity, as shown in FIG. 1, the radius r1 of the closed region Q0 and the radius r2 of the closed region Q1 are both spheres having a radius r (r1 = r2 = r) and are different regions on the color coordinates. A description will be given in the case where it exists. The figure shows only a hemispherical portion.
[0029]
Since the closed areas Q0 and Q1 exist in different areas on the color coordinates, the coordinates A and the coordinates B are not the same. The conversion target area P, that is, the target area of the partial color adjustment includes a movement target partial color space P1 including a color to be converted and a movement destination partial color space P2 including a color of a corresponding color conversion coefficient. As described above, it is more preferable that the shape is included so as to be inscribed. In the illustrated example, the cylinder is defined by a cylinder (the length of the cylinder is equal to the length of the line segment AB) Q3, the spheres Q1, and Q2, which are parallel to the straight line connecting the coordinates A and the coordinates B and are in contact with the spheres Q1 and Q2. In FIG. 1, the maximum range of the inscribed region is a region surrounded by a substantially left half of the sphere Q1, a cylinder Q3, and a substantially right half of the sphere Q2. It is shaped like a capsule of medicine.
[0030]
The shapes of the movement target partial color space P1 and the movement destination partial color space P2 are not limited to the spherical shapes as illustrated, but may be, for example, elliptical surfaces, cylindrical shapes, elliptical cylindrical shapes, rectangular parallelepiped shapes, and at least It may be a closed three-dimensional shape other than the torus shape. Also in these cases, it is preferable that the conversion target region P, that is, the target region for the partial color adjustment, has a shape that includes the moving target partial color space P1 and the moving destination partial color space P2 in an inscribed manner.
[0031]
First, in order to simplify the calculation, as shown in FIG. 1A, in the three-dimensional space (X, Y, Z), the closed area Q0, Q1 is translated while maintaining the relative positional relationship. Thereafter, as shown in FIG. 1B, the closed regions Q0 and Q1 are rotationally moved such that a straight line connecting the coordinates A and the coordinates B overlaps the X axis while maintaining the relative positional relationship. As described above, when the parallel movement and the rotational movement are performed, the result is as shown in FIG. The three-dimensional shape corresponding to the conversion target area P shown in FIG. 1C is called a capsule body. In the color adjustment of the present embodiment, partial color adjustment is performed on the capsule body corresponding to the conversion target area P. Hereinafter, for convenience, a coordinate system in which a straight line connecting the coordinates A and the coordinates B is set as the X axis is referred to as an X'Y'Z 'space.
[0032]
The rotational movement is to rotate the X'Y'Z 'space so that the coordinate axes coincide with the XYZ space. Note that if the coordinate A is originally the origin, no parallel movement is necessary, and if the straight line connecting the coordinate A and the coordinate B is parallel to the X axis, no rotational movement is necessary. Further, when the conversion target area P is a rotator whose center line is a straight line connecting the coordinates A and the coordinates B as in this example, the Y ′ axis and the Z ′ axis are not uniquely determined. In this case, an appropriate constraint condition may be provided, such as determining that an axis included in a plane including the straight line connecting the coordinates A and the coordinates B and the X axis and orthogonal to the X axis is the Y 'axis.
[0033]
Further, when the conversion target area orthogonal to the X ′ axis has directionality like an ellipse, it is convenient to set the major axis and the minor axis to the Y ′ and Z ′ axes. In the case of a three-dimensional space, the rotational movement can be realized by a matrix operation of a 3 × 3 matrix. For example, the rotational movement is described in a textbook of elementary geometry such as “Shokabo, basic mathematics selection 4, three-dimensional analysis geometry”. Method may be used. Either of the rotational movement and the parallel movement may be processed first.
[0034]
As described above, by performing the parallel movement and the rotation movement, the calculation of the movement of the coordinates in the conversion target area P (the capsule body in the example in the figure) accompanying the actual partial color adjustment can be extremely simplified. In addition, after performing these movements, it is necessary to return to the original coordinate system.However, since the parallel movement and the rotation movement are performed, it is necessary to return in the order of the inverse transformation of the rotation movement and the inverse transformation of the parallel movement. Good.
[0035]
FIG. 2 is a diagram illustrating weighting at the time of color adjustment. Here, FIG. 2A illustrates two-dimensional display of the capsule body shown in FIG. 1C and movement of color coordinates.
[0036]
In the color adjustment, the color coordinates may be moved on the coordinate space. For example, as shown in FIG. 2A, the capsule body shown in FIG. Then, the point A is moved so as to overlap the point B, and the surface of the capsule body corresponding to the boundary of the moving area is hardly moved, preferably, is not moved at all (the moving amount is “0”). Further, the closer to the surface of the capsule body corresponding to the boundary of the movement area, the smaller the movement amount. Further, since it can be expressed as a movement from point A to point B, it can be described as a vector, which is called a movement vector. The weight for the movement vector AB is as shown in FIG. 2B when the movement target area is the simplest cylinder. Next, in order to simplify the mathematical description, the case where the shape of the conversion target area P is cylindrical will be described.
[0037]
FIG. 3 is a diagram illustrating color adjustment when the shape of the conversion target area P is cylindrical. As shown in FIG. 3A, it is assumed that points C and D are defined as adjustment ranges. First, consider a movement vector on the X axis.
[0038]
FIG. 3B shows the relationship before and after the movement on the X-axis. The assumption is that the point A is moved to the point B, and the points C and D located at the boundary of the conversion target area P are not moved. If the points C and D have moved, it means that a gradation step or a color step occurs at the boundary between the adjustment target area P and the other areas. In addition, solid arrows indicating movement on the X axis shown in the drawing indicate movements of points A, B, C, and D. Dashed arrows indicate other movements on the X axis. The condition under which the gradation inversion or the color inversion does not occur due to the movement in the conversion target area P is that the solid arrow and the broken arrow do not intersect. That is, on the X axis, a functional relationship that generates such a movement vector may be generated. An example of this function is shown below. Coefficients related to the movement vector correspond to coefficients for color conversion.
[0039]
As shown in FIG. 3C, a point on the section CD is defined as X, and a point A is defined as an origin. The area is divided into two areas at point A, which are referred to as section CA and section AD. When X is in the section CA, the movement vector can be determined by Expression (1). Here, CX is the distance between point C and point X, AC is the distance between point A and point C, “↑ AB” is the vector from point A to point B, and “↑ P” is the movement vector at point X. .
(Equation 1)
[0040]
When X is in the section AD, the movement vector can be determined by Expression (2). Where DX is the distance between points D and X, AD is the distance between points A and D, "↑ AB" is the vector from point A to point B, and "、 P" is the movement vector at point X.
(Equation 2)
[0041]
If the position vector of the point X is “と し AX” and the position vector after the movement is “↑ AY”, Expression (3) is obtained.
[Equation 3]
[0042]
The above means that by dividing at the movement target point A, a movement vector or a movement amount that does not cause the gradation inversion is obtained. CX / AC in equation (1) and DX / AD in equation (2) are values that fall from “0” to “1”, and the movement amount at point X is the simplest relationship. (CX / AC) 2 Ya (CX / AC) 1/2 It may be. In addition, if the relationship is not a function, but is a monotonous relationship, for example, a method of storing data in a table format and performing interpolation during that time may be used.
[0043]
Although the above describes the one-dimensional movement rule on the X axis, the point X is actually an arbitrary point in the adjustment target area. Assuming that the coordinate value of the point X is (x, y, z), since the adjustment target area P is a rotating body having the X axis as a rotation axis, (x, 0, 0) changes to (x, y, z). Is R, the radius of the adjustment target area P is r, and the weight β can be calculated as in Expression (4).
(Equation 4)
[0044]
This equation (4) is also expressed, for example, by (1-R / r) 2 For example, the same modification as described above on the X axis can be made. Here, the relationship between the weight β and Expression (1) or Expression (2) will be described. Equations (1) and (2) are collectively expressed as equation (5).
(Equation 5)
[0045]
Expression (5) has been described as a relational expression on the X axis, but can be obtained at an arbitrary point X ignoring the y and z elements. At this time, the movement vector of an arbitrary point in the adjustment target area is represented by Expression (6).
(Equation 6)
[0046]
The above is the description of the case of the cylindrical shape. When the end surface of the adjustment target area that is orthogonal to the X axis is a plane, the same concept as a cylinder may be used. Also, it is obvious that AC and AD are similarly obtained when the cross-sectional shape is an ellipse or the like and not a rotating body.
[0047]
FIG. 4 explains color adjustment when the adjustment target area P has a capsule shape. In the illustrated example, AC and AD are illustrated on the XZ plane, and thick solid lines are examples of AC (left side of A) and AD (right side of A).
[0048]
The capsule shape is slightly more complicated than a cylindrical shape, but the same concept as the cylindrical shape can be applied. Also in this case, since the object is a rotating body, the coordinate value of the point X in the area is (x, y, z), and the adjustment target area is the distance from (x, 0, 0) to (x, y, z). Let R be the radius of the adjustment target area P. The AC in equation (1) and the AD in equation (2) may be changed according to R.
[0049]
The above description describes the principle of smooth movement without causing gradation inversion in the adjustment target area even when the movement target partial color space P1 and the movement destination partial color space P2 do not have an inclusive relationship. When partial color adjustment is performed, particularly when a natural image is targeted, it is important that gradation is not reversed and smoothness is important, and the present method matches this.
[0050]
In the above-described example, the case where the movement target partial color space P1 and the movement destination partial color space P2 are in a congruent relationship is described, but a similar relationship may be used.
[0051]
FIG. 5 is a diagram illustrating color adjustment when the movement target partial color space P1 and the movement destination partial color space P2 have a similar relationship. R1 is the radius to the adjustment target area boundary orthogonal to the X axis including A, r2 is the radius to the adjustment target area boundary orthogonal to the X axis through B, and R is the adjustment target area orthogonal to the X axis through the point R0. A radius r3 to the boundary and a distance between the X axis and the point R0 are R3.
[0052]
In the illustrated example, both the movement target partial color space P1 and the movement destination partial color space P2 have a truncated cone shape. In the case of the congruence, r1 = r2, but in the case of the similarity, r1 ≠ r2. For this reason, the difference is that the direction of the movement vector must be changed depending on the point R0, more strictly on R3. The direction of the movement vector is determined as follows.
[0053]
First, R1 and R2 can be determined so that R3 / r3 = R1 / r1 = R2 / r2. If the movement vector determined by the point R0 is "と A'B '", it is appropriate to determine the X axis and "↑ A'B'" so as not to be in a twisted position. A′B ′ ″ can be determined. Regarding the magnitude of the movement vector before multiplication by the coefficients α and β, the distance in the X-axis direction of “↑ A′B ′” may be | AB | regardless of the position of the point R0. The vector is called a basic movement vector. The basic motion vector can be regarded as a function of the point R0, and if the basic motion vector is expressed as “ΔF (x)”, the motion vector “ΔP” can be obtained by Expression (7).
(Equation 7)
[0054]
In this way, even if the movement target partial color space P1 and the movement destination partial color space P2 have a similar relationship, only the direction of the basic movement vector becomes a function of x. There is no difference from the case where the target partial color space P1 and the destination partial color space P2 have the same shape.
[0055]
The above is a description of the case where the adjustment target area is a rotating body. For example, even when the movement target partial color space P1 and the movement destination partial color space P2 are not rotation targets such as ellipsoids, the above rotation is performed. It can be handled like a target congruent or similar shape. Although the details are omitted, if the radius r and the distance R are congruent at the point R0 (x, y, z), they are functions of the elements y and z of the point X, and if they are similar, x , Y, z. In the above description, the basic movement vector and the coefficients α and β are described using the simplest functions, but these are only examples.
[0056]
A determination method other than the above may be used as long as the basic movement vectors do not intersect. As for α and β, the product of the two can be regarded as a coefficient applied to the basic movement vector, and finally, the color coordinates after the movement are determined by Expression (3). From this point of view, α and β are determined or directly correspond to α · β so that the order of the point sequence before movement and the point sequence after movement on a certain basic movement vector do not reverse. A method of determining the coefficient may be used.
[0057]
As described above, if the color adjustment is performed on the conversion target area P by the above method, the color point to be adjusted is moved toward the target in the conversion target area P so as to overlap the color point after the movement. Since the boundary of the moving area hardly moves or does not move at all, almost no phenomena such as color jump and gradation inversion occur at the boundary outside the adjustment target area. That is, partial color adjustment can be performed while maintaining the continuity of the gradation of the image to be color-adjusted and preventing the color inversion.
[0058]
In preferred reproduction, memory color reproduction is important. The above method is extremely effective when performing selective color adjustment for changing only a specific color in a color space. For example, if a specific color area, for example, a skin color can be changed to a certain color (memory color) by analyzing a document, added value can be provided for preferable reproduction. In addition, the above method has an advantage that it can be applied to a case where a color is to be locally moved in a color space, such as correction of a white point (White Point).
[0059]
In the conventional method, for example, a method of selecting a color from a large ellipsoid in a color space to a small ellipsoid existing in a region completely included in the ellipsoid (inclusive) has been proposed. However, there is a problem that a positional relationship that does not have an inclusive relationship cannot be moved, or that if a color tone is forcibly adjusted, a grayscale inversion occurs in principle. On the other hand, according to the above method, for example, only the conversion target area P defined as the area connecting the spherical destination partial color space P1 and the destination destination partial color space P2 is adjusted. By treating it as P0, the constraint of the inclusive relation is removed.
[0060]
For this reason, for example, the center and radius of the color to be moved or the center and radius of the destination are given independently, and the degree of freedom of adjustment is increased. Thus, a selective color adjustment function having a high degree of freedom can be provided. When moving the coordinates of a specific area to a certain area in a color space, a step at a boundary with a non-moving area can be taken into consideration, and image quality defects such as pseudo contours and grayscale inversion after moving hardly occur. As for the shape of the region, an ellipsoid has a higher degree of freedom than a sphere, but it is difficult to arithmetically find a general solution.
[0061]
Next, the principle of partial color adjustment that is effective for removing background from image data will be described. The base in the image data refers to a portion corresponding to paper on which no ink is applied if it is a printed matter, and if the image is not digitally generated such as CG (computer graphics), for example, In this case, when a scene or a scene is obtained through an imaging system, a part that should be a base has a certain degree of variation. In order to distinguish this method from the above-mentioned partial color adjustment, it is referred to as a convergent partial color adjustment.
[0062]
FIG. 6 is a diagram for explaining the convergent partial color adjustment. In FIG. 6A, convergent partial color adjustment means that all points in the area of the small sphere S centering on point A in FIG. Means that partial color adjustment is performed while maintaining continuity. This sphere S is called a convergent region. In the figure, the boundary between the sphere outside the sphere S and the outer side is converted by the above-described partial color adjustment so that color discontinuity and color inversion do not occur at the boundary. As described above. Assuming that the range of the variation of the background is within the sphere S, the background can be all set to a constant value, and the movement in which the colors in the vicinity can maintain continuity is considered. The convergent partial color adjustment is easy to understand when divided into two stages.
[0063]
As shown in FIG. 6B, a small sphere S centered on the point A, the radius of the sphere S is R2, and a radius R1 of a large sphere (movement target partial color space P1) centered on the point A is this large sphere. Assuming that a point included in the sphere to be moved is X, and a distance from A to X is r, if r <R2, X may be unconditionally the coordinate value of point A. In the region of R2 ≦ r ≦ R1, the direction of the step 1 basic movement vector (this is so as to be distinguished from the above-mentioned basic movement vector of the partial color adjustment) is a vector from the point X to the point A, and the length is This is the distance from point X to point A. Assuming that this step 1 basic movement vector is “↑ V1”, the step 1 movement vector “↑ V1” is obtained by equation (8).
(Equation 8)
[0064]
In Equation (8), the weight γ is represented by a simple function. However, the weight X is monotonically and monotonically changed so that the point X is “1” on the surface of the sphere S and “0” on the surface of the movement target partial color space P1. The point sequence on the radius R1 may be moved so long as the order of the point sequence after the movement is not changed.
[0065]
Assuming that the position vector of the point X is “↑ AX” and the position vector after the movement is “↑ AZ”, the destination to which the point X is moved is represented by Expression (9). Note that the point A has been translated in parallel to the origin, as in the case of the partial color adjustment, and is a "$ 0" vector.
(Equation 9)
[0066]
Also, “↑ AZ” in which “↑ AX” has been moved in this way is expressed as a point R0 ′. One stage ends when this point R0 'is found. In the second stage, the same movement as in the above-described partial color adjustment may be performed on the point R0 '. If this two-step process is described in a summarized form, it is expressed by equation (10).
(Equation 10)
[0067]
The above is the description of the principle of the convergent partial color adjustment. Since the portion to which the convergent partial color adjustment is applied is part of the original conversion target area P, it is almost impossible for phenomena such as color skipping and gradation reversal to occur at the boundary portion outside the adjustment target area. It is as follows.
[0068]
In addition, both the partial color adjustment and the convergent partial color adjustment have been described in the case where the target color space is multidimensional. However, the present invention can be applied to a so-called one-dimensional color space such as a monochrome image. .
[0069]
FIG. 7 is a block diagram illustrating an embodiment of an image processing apparatus that performs the above-described partial color adjustment method. As described above, the color space for performing the partial color adjustment may be any color space, but in the present embodiment, the color space defined by the CIE is L * a * b * Color space. However, the present invention is not limited to this. For example, it is defined by a device-dependent color space such as a display RGB or a scanner RGB using red R, green G, and blue B (collectively referred to as RGB), or specified by CIE. L * u * v * It is also possible to use color signals on a device-independent color space, which is a color space that does not depend on the device of expression. Of course, the partial
[0070]
The image processing apparatus 1 according to the present embodiment includes, for example, an image input unit 3 that captures input image data represented in an RGB color section, and outputs a color signal Sin of the input image data to L. * a * b * For each color point in the conversion target area P defined by the
[0071]
Further, the image processing apparatus 1 performs the L adjustment of the color by the partial color * a * b * A color conversion unit 40 for returning a color signal in the space to an original color signal in the RGB color space, and a color signal from the color conversion unit 40 to an external image output device such as a printer, a CRT, or an LCD (liquid crystal). And an image data output unit 5 for outputting the image data.
[0072]
The
[0073]
Since the color conversion processing in the
[0074]
Prior to actual partial color adjustment, a parameter relating to partial color adjustment is acquired by the partial color adjustment
[0075]
When the color conversion unit 40 sets the inverse conversion of the color conversion by the
[0076]
In this way, after the preparation is completed, the input image is sequentially converted to L * a * b * It is converted to a color signal. The next partial
[0077]
FIG. 8 is a block diagram illustrating a detailed configuration example of the partial
[0078]
Further, the partial
[0079]
The secondary area inside /
[0080]
FIG. 9 is a diagram illustrating a primary area handled by the primary area inside / outside determination unit 210. In the figure, L * , A * , B * The input color space is shown for each axis, and shows the state of the adjustment target area (conversion target area) P before the cylinder performs parallel movement and rotational movement. L that almost completely contains this cylinder * , A * , B * A rectangular parallelepiped that is parallel to each axis is obtained, and this is defined as a primary region. This rectangular parallelepiped includes a cylindrical adjustment target region P, and is preferably as small as possible. L * a * b * Determining whether or not the color signal is inside the rectangular parallelepiped is the primary area inside / outside determination. The inside / outside determination for such a rectangular parallelepiped is extremely simple, and is highly effective in reducing the processing time. When the primary area is determined to be outside in the primary area inside / outside determination, the primary area inside / outside determination section 210 outputs the L input from the
[0081]
FIG. 10 is a diagram illustrating an example of the configuration of the partial color adjustment
[0082]
The partial color adjustment
[0083]
In order to receive a user instruction for specifying such a moving target partial color space P1 or a moving destination partial color space P2, the display screen is formed as shown in FIG. , A
[0084]
One of the parameters relating to the partial color adjustment is the shape of the movement target partial color space P1 and the movement destination partial space. In the figure, a
[0085]
The parameters related to the partial color adjustment depending on the shapes of the moving target partial color space P1 and the moving destination partial space are the moving target partial color space P1 and the radius of the moving destination partial space shown in the
[0086]
If an ellipsoid is selected, it is regarded as a sphere, which is the same as the automatic operation when a sphere is selected. In other words, the partial color adjustment
[0087]
The remaining parameters relating to the partial color adjustment are the center coordinates of the movement target partial color space P1 and the center coordinates of the movement destination partial space. By the
[0088]
In the drawing, the source coordinates of the
[0089]
Also, L * a * b * Since it is difficult to display all the color charts in the color space, a part of the color solid shown in the
[0090]
In general, the colors on the display cannot be displayed so precisely, * a * b * After the color conversion into the color space, the color conversion is performed using the same ICC profile as the color chart display. That is, the display color of the RGB color space on the display and L * a * b * Even if the value matching accuracy is not so good, the user can compare the image and the color chart under the same condition.
[0091]
Also, the center coordinates can be input by clicking on the display image. That is, the operator may click on the image or select and click on the color chart. In addition, when all parameters are determined, although not shown, the preview button is used to display an image when the display image is partially adjusted, and if it is desired to return to the state before the preview, A preview cancel button is used to return to the previous display image. After the setting or preview is completed, the setting is completed by clicking a setting end button (not shown).
[0092]
Although not shown, a user interface screen relating to convergent partial color adjustment can also be selected. In this case, a dialog box for inputting the ratio of the size of the convergent area to the movement target partial color space P1 is merely added to the above-described partial color adjustment. The size ratio is “0” or more and “1” or less.
[0093]
In the image processing apparatus 1 having the above configuration, the color is adjusted by receiving the user's specification. However, the present invention is not limited to this. In this case, there is no need for the operator to set parameters relating to partial color adjustment via the user interface. Examples of the automatic adjustment include, for example, preferable reproduction of a memory color. Human skin color, blue sky, green grass, etc. are said to be memory colors. * a * b * There is a color signal whose color corresponding to the center coordinate of the destination subspace is known. In such a case, the color distribution of the image is checked using a three-dimensional histogram or the like in the color space of the image data, and if there is a color that is close to the memory color, it is set as the center coordinate of the partial color space P1 to be moved. Is determined, and partial color adjustment can be performed so as to approach a preferable reproduction.
[0094]
As a more preferable method, especially in the case of skin color, not only the color distribution but also a method such as face recognition as to whether or not a person's face exists in the image is extracted, and the skin color region in the image is extracted and extracted. Processing such as viewing the color distribution may be performed only on the selected area, and partial color adjustment may be performed.
[0095]
It is also an effective means for removing the base. For example, if there is a document and image data is acquired by an image pickup system such as a scanner or a digital camera, what should be reproduced in a uniform color such as paper white or a color chart, that is, the pixel value of the image data There is a case where what should be a constant value actually has a certain distribution (variation). It is preferable to apply the convergent partial color adjustment described above to such image data in order to make the color information of the background part a constant value.
[0096]
In particular, in the case of compressing image data in which variations should occur in the image data that should be uniform, the effect of the convergent partial color adjustment is very large, for example, the compression ratio may be significantly increased. . As described above, even when this convergent partial color adjustment is applied, phenomena such as color jump and gradation inversion hardly occur at the boundary between the original conversion target region P and the outside of the adjustment target region. is there.
[0097]
FIG. 11 is a diagram illustrating a color conversion definition for color conversion using the above-described partial color adjustment method. Here, the color conversion definition has the same meaning as the color conversion coefficient expressed in the image processing apparatus 1.
[0098]
The color conversion definition defines a correspondence from the input color space to the output color space, and mathematically indicates a function having a functional relationship. Actually, it is a table value of a one-dimensional lookup table (LUT), a table value of a multi-dimensional LUT (DLUT; multi-dimension LUT), and a value of a matrix element, and is realized by a combination thereof. These values are collectively called a profile. The most common example of the color conversion definition is an ICC profile established by the ICC. In particular, the case of the DLUT is effective in combination with the above-described partial color adjustment. The DLUT is composed of regular multidimensional (three-dimensional in the figure) grid points using the input color space as addresses, as shown in FIG. 11A, for example. Is stored.
[0099]
When an input value located at a grid point comes in, the value at that grid point is used as an output value. On the other hand, when an input value located between grid points is input, interpolation is performed with reference to neighboring grid points to obtain an output value. This is because changing the output values of some of the grid points does not affect the whole.
[0100]
Here, if the data value of the grid point is changed, the output color value is changed. That is, by editing specific grid point data in such a look-up table, it is possible to partially adjust the color only for a specific color. Also, for example, as shown in FIG. 11B, if a convergent area including a plurality of grid points such as grid points J1, J2, J3, and J4 is set, and the values of the grid points in the area are all the same, The above-mentioned convergent partial color adjustment can also be realized. That is, if all the points in the region centered on the grid points J1, J2, J3, and J4 in FIG. 11B have the same color value, the input color corresponding to the grid points J1, J2, J3, and J4 is obtained. All the input color values can be moved to the same color value, and the other input color values maintain the continuity of the gradation at the boundary with the outside of the adjustment target area by the above-described partial color adjustment, and perform the color inversion. Partial color adjustment can be performed to prevent
[0101]
FIG. 11B shows a preferred example of a two-dimensional LUT, in which the convergence area is defined by grid points J1, J2, J3, and J4 that form a square grid. It is not necessarily required to be square, and may be rectangular. The number of grid points for defining the convergence area is not necessarily limited to “4”, but may be at least “2” or more. For example, if the number is “3”, the area surrounded by the triangle converges. Area. If “2” is set, a certain range in one direction becomes a convergence area.
[0102]
In the case of a three-dimensional LUT, a range defined by eight grid points in a square grid is preferably set as a convergent area. Of course, also in this case, the number of grid points for defining the convergence area is not necessarily limited to “8”, but may be at least “2” or more. Are three-dimensionally arranged, an area surrounded by triangulation becomes a convergence area.
[0103]
FIG. 12 is a block diagram illustrating an embodiment of a profile editing apparatus that performs editing of a color conversion definition by using the above-described partial color adjustment method. The profile editing device 2 edits a previously prepared color conversion definition by using the above-described partial color adjustment for the color conversion definition for color conversion.
[0104]
The profile editing device 2 edits at least a profile including a DLUT. That is, a color conversion coefficient is obtained by using the above-described partial color adjustment, and the obtained color conversion coefficient is replaced with a coefficient of the color conversion definition prepared in advance, thereby obtaining an input profile which is an example of the color conversion definition. Edit. For example, the above-described partial color adjustment is performed on a profile created in advance by the profile generation device, and a change is made to a part of the profile, that is, an output value stored in some grid points of the DLUT. In this embodiment, the output value of the DLUT is L * a * b * An example will be described in which the data is color space data.
[0105]
As shown in FIG. 12, the profile editing device 2 obtains the input profile obtained by the profile generating device, and obtains the color coordinates of each color point in the conversion target area P as described above. A
[0106]
The
[0107]
In this configuration, the profile editing device 2 acquires the partial color adjustment parameters by the partial color adjustment
[0108]
The DLUT may be considered to be equivalent to the color chart image data. In such a case, it is basically necessary to perform the same partial color adjustment as described in the image processing apparatus 1. However, since the grid points only intermittently exist in the color space, the center coordinates of the movement target partial color space P1 are stored in the grid points. * a * b * The value can be expected to be more effective. Of course, a value between grid points may be used, but in the present embodiment, grid points can be designated.
[0109]
FIG. 13 is a diagram illustrating a configuration example of the partial color adjustment
[0110]
As illustrated, the partial color adjustment
[0111]
The display screen displays the input profile as a * -B * Plane, L * -A * Plane, L * -B * It has a
[0112]
The
[0113]
Further, since what is input to the profile editing device 2 is a profile, a
[0114]
Although not shown, a user interface screen relating to convergent partial color adjustment can also be selected. In this case, a dialog box for inputting the ratio of the size of the convergent area to the movement target partial color space P1 is merely added to the above-described partial color adjustment. The size ratio is “0” or more and “1” or less. This is also the same as the partial color adjustment
[0115]
Also, the above-mentioned convergent partial color adjustment can be applied to the color conversion definition. By designating a plurality of DLUT lattice points as the convergence area, a constant color can be obtained at the DLUT lattice points that generally belong to the convergence area. For example, as shown in the convergent partial color adjustment in the image processing apparatus 1, an effect of removing the background can be added to the color conversion definition. Also, the color conversion definition is converted from the RGB color space to L * a * b * As a color conversion using a DLUT to a color space, the inverse conversion of the color conversion definition is defined as the color conversion definition, * a * b * Color conversion using a DLUT from a color space to an RGB color space can also be performed.
[0116]
In this case, the input RGB is once set to L by the color conversion definition. * a * b * After the conversion to the color space, output RGB is generated with another color conversion definition. It is expected that the input RGB and the output RGB are substantially the same. However, it is often the case that whether the R, G, B single colors in the input RGB are the single colors in the output RGB is not necessarily the same. This is because L in the color conversion definition for the output RGB * a * b * This is because grid points are created irrespective of the color conversion definition for input RGB. If it is desired that the output RGB be monochromatic when the input RGB is monochromatic, convergent partial color adjustment adjustment is performed on an appropriate grid point of the color conversion definition for output RGB, and the color conversion for output RGB is performed. It is effective to make the definition output value a single color.
[0117]
FIG. 14 is a block diagram illustrating an embodiment of an image processing system that performs color conversion using the output profile edited by the profile editing device 2 described above. As shown, the image processing system 9 includes an image processing device 1, a profile editing device 2, and a
[0118]
In the above-described image processing apparatus 1, by obtaining the converted color coordinate values one by one using the individual color coordinate values of the input image as the colors to be converted, a specific color in the input image is partially converted into another color. Although color conversion into colors is possible, such sequential processing is time-consuming and impractical. On the other hand, the profile editing device 2 previously edits an input profile composed of coefficients for color gamut conversion (color conversion coefficients), and converts the input image into a color gamut using the edited output profile. This is the image processing system 9.
[0119]
The profile editing device 2 edits the color conversion coefficient on the input profile (specifically, the look-up table) generated by the
[0120]
That is, the
[0121]
FIG. 14 shows an example in which the input image signal Sin is RGB data and the converted data is input to a color display 7 which is an example of a color image output device. The input image signal Sin of the RGB data is input to the
[0122]
As shown in the figure, the partial
[0123]
Then, L from the color conversion unit 10 * a * b * The three-dimensional table 25 is indexed by the high-order bits of the data, grid point data is read from the three-dimensional table 25, and the read grid point data is input to the
[0124]
Known interpolation methods include, for example, a method of dividing a unit cube into six triangular pyramids and performing an interpolation operation, a method of dividing a unit cube into two triangular prisms and performing an interpolation operation, and a method of directly interpolating a unit cube into a unit cube. Interpolation processing may be applied.
[0125]
As described above, since the color after color gamut conversion is obtained by the interpolation calculation of the grid point data, points generated outside the color gamut of the input image are also included as grid points when generating or editing the grid point data. Therefore, the RGB data Ri, Ci, Bi obtained from the three-dimensional table 25 as the colors after the color gamut conversion include colors outside the display reproduction range.
[0126]
Therefore, the RGB data Ri, Gi, Bi from the three-dimensional table 25 are converted by the one-dimensional tables 27r, 27g, 27b without correcting as much as possible the color signals in the display color gamut as the reproduction destination device and outside the display color gamut. The color signal is subjected to a color gamut mapping process so that the inversion of the saturation does not occur as much as possible, and the RGB data Ro, Go, Bo after the color gamut mapping process are output to the display 7.
[0127]
In the above-described embodiment, the functional parts of the partial
[0128]
In this case, an electronic computing device such as a microcomputer or a personal computer includes each functional unit such as the above-described partial color adjustment
[0129]
Each function is realized not only by executing the program code read out by the computer, but also by an OS (Operating System) running on the computer based on an instruction of the program code. It may be a case where all or some of the units are performed and each function is realized by the processing. Further, after the program code read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function expansion card is written based on the instruction of the program code. Or a CPU or the like provided in the function expansion unit may perform part or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
[0130]
As described above, the present invention has been described using the embodiment. However, the technical scope of the present invention is not limited to the scope described in the embodiment. Various changes or improvements can be made to the above-described embodiment without departing from the spirit of the invention, and embodiments with such changes or improvements are also included in the technical scope of the present invention.
[0131]
Further, the above embodiments do not limit the invention according to the claims (claims), and all combinations of the features described in the embodiments are not necessarily essential to the means for solving the invention. Absent. The embodiments described above include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. Even if some components are deleted from all the components shown in the embodiment, as long as the effect is obtained, a configuration from which some components are deleted can be extracted as an invention.
[0132]
【The invention's effect】
As described above, according to the present invention, within the range of the adjustment target area, the continuity of the gradation is maintained, and the color in the adjustment target area is compared with the input color space without causing color inversion. A coefficient for converting to another color on the output color space which is the same color space is obtained. In other words, when the color coordinates of a specific area are moved to a certain area in the color space to be adjusted, the gradation and color continuity are not impaired at the boundary with the non-moving area. Partial color adjustment can be performed without causing image quality defects such as inversion.
[0133]
Therefore, by treating the conversion target area defined as the area connecting the movement target partial color space and the movement destination partial color space as the adjustment target color space, the restriction on the inclusive relation, which has been a restriction in the conventional method, is reduced. Can be removed. Thus, for example, the center and radius of the color to be moved or the center and radius of the destination can be given independently, and the degree of freedom in color adjustment increases. Further, a selective color adjustment function having a high degree of freedom can be realized.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating the relationship between a target partial color space to be processed, a destination partial color space, and a color space to be adjusted in one embodiment of the color adjustment method according to the present invention.
FIG. 2 is a diagram illustrating weighting at the time of color adjustment.
FIG. 3 is a diagram illustrating color adjustment when the shape of a conversion target area is cylindrical.
FIG. 4 is a diagram for explaining color adjustment when the adjustment target area has a capsule shape.
FIG. 5 is a diagram illustrating color adjustment when the movement target partial color space and the movement destination partial color space have a similar relationship.
FIG. 6 is a diagram illustrating convergent partial color adjustment.
FIG. 7 is a block diagram illustrating an embodiment of an image processing apparatus that performs a partial color adjustment method.
FIG. 8 is a block diagram illustrating a detailed configuration example of a partial color adjustment unit in the image processing apparatus.
FIG. 9 is a diagram illustrating a primary area handled by a primary area inside / outside determination unit.
FIG. 10 is a diagram illustrating a user interface screen generated by a partial color adjustment parameter acquisition unit in the partial color adjustment unit.
FIG. 11 is a diagram illustrating a color conversion definition for color conversion using a partial color adjustment method.
FIG. 12 is a block diagram illustrating one embodiment of a profile editing device that implements a color conversion definition using a partial color adjustment method.
FIG. 13 is a diagram illustrating a user interface screen generated by a partial color adjustment parameter acquisition unit in the profile editing device.
FIG. 14 is a block diagram illustrating an embodiment of an image processing system that performs color conversion using an output profile edited by a profile editing device.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Image processing apparatus, 2 ... Profile editing apparatus, 3 ... Image input part, 5 ... Image data output part, 10, 40 ... Color conversion part, 20 ... Partial color adjustment part, 22, 72 ... Coefficient acquisition part, 30 ... partial color adjustment parameter acquisition unit, 60 ... input profile acquisition unit, 70 ... profile editing unit, 80 ... partial color adjustment parameter acquisition unit, 90 ... output profile transmission unit, 210 ... primary area inside / outside determination unit, 220 ... Movement processing unit, 230 ... secondary area inside / outside determination unit, 240 ... partial color adjustment conversion unit, 250 ... movement inverse conversion processing unit, 310, 320, 330, 340 ... dialog box, 350 ... color chart display area, 360 ... image Display area, 810, 820, 830, 840, 870: Dialog box, 850: Color chart display area, 860: Profile display area, P: Conversion target area, P0 Adjust the target color space, P1 ... moving target partial color space, P2 ... destination partial color space
Claims (30)
前記調整対象領域の範囲内では、階調の連続性を維持し、かつ、色の逆転を発生させることなく、前記調整対象領域内の色を前記入力色空間と同一色空間である前記出力色空間上の別の色に変換するための係数を求めることを特徴とする色調整方法。A color adjustment method for obtaining a coefficient for performing color conversion from an input color space to an output color space for a predetermined adjustment target area in a color space to which a color image belongs,
Within the range of the adjustment target area, the output color which is in the same color space as the input color space, while maintaining the continuity of gradation and without causing color inversion, A color adjustment method characterized by finding a coefficient for converting to another color in space.
前記調整対象領域内について前記色変換の処理を行なう工程と、
前記回転移動による座標変換の逆変換を行なう工程と
を含むことを特徴とする請求項3に記載の色調整方法。Coordinate transformation by rotational movement such that a straight line connecting the representative color of the movement target partial color space and the target color of the movement destination partial color space is parallel to one of the color space coordinate axes indicating the adjustment target area. Performing the step of
Performing the color conversion process on the adjustment target area;
4. The method according to claim 3, further comprising the step of: performing a reverse transformation of the coordinate transformation by the rotational movement.
前記1次領域内外判定工程にて前記1次領域の内部であると判定された画素データについて、前記移動対象部分色空間の前記代表色と前記移動先部分色空間の前記目標色とを結ぶ直線が、前記調整対象領域を示す色空間座標軸のいずれかに平行となるように回転移動による座標変換を行なう工程と、
前記座標変換を行なう工程にて前記回転移動が施された色信号と前記回転移動が施されていない色信号とについて、各色信号が示す画素データが、前記調整対象領域の内部であるのか外部であるのかを判定する2次領域内外判定工程と、
前記2次領域内外判定工程にて前記調整対象領域の内部であると判定された画素データについて、前記色変換の処理を行なう工程と、
前記色変換の処理を行なう工程にて色変換された画素データを対象として、前記回転移動による座標変換の逆変換を行なう工程と
を含むことを特徴とする請求項3または4に記載の色調整方法。A primary area is set to almost completely include the adjustment target area in the input color space, and it is determined whether the pixel data indicated by the input color signal is inside or outside the primary area. A primary area inside / outside determination step;
A straight line connecting the representative color of the target partial color space and the target color of the destination partial color space with respect to the pixel data determined to be inside the primary region in the primary region inside / outside determination step. Performing a coordinate transformation by rotational movement so as to be parallel to any of the color space coordinate axes indicating the adjustment target area,
Regarding the color signal that has been subjected to the rotational movement and the color signal that has not been subjected to the rotational movement in the step of performing the coordinate transformation, pixel data indicated by each color signal is inside or outside the adjustment target area. A secondary area inside / outside determination step of determining whether there is a
Performing a color conversion process on the pixel data determined to be inside the adjustment target region in the secondary region inside / outside determination step;
5. The color adjustment according to claim 3, further comprising the step of: performing a reverse transformation of the coordinate transformation by the rotational movement on the pixel data subjected to the color transformation in the step of performing the color transformation process. Method.
前記調整対象領域内について前記色変換の処理を行なう工程と、
前記平行移動による座標変換の逆変換を行なう工程と
を含むことを特徴とする請求項3から5のうちの何れか1項に記載の色調整方法。Targeting the representative color of the movement target partial color space or the target color of the movement destination partial color space, performing coordinate conversion by parallel movement to the origin of a color space coordinate axis indicating the adjustment target area;
Performing the color conversion process on the adjustment target area;
The method according to claim 3, further comprising: performing a reverse transformation of the coordinate transformation by the parallel movement.
前記1次領域内外判定工程にて前記1次領域の内部であると判定された画素データについて、前記移動対象部分色空間の前記代表色または前記移動先部分色空間の前記目標色を対象として、前記調整対象領域を示す色空間座標軸の原点に平行移動による座標変換を行なう工程と、
前記座標変換を行なう工程にて前記平行移動が施された色信号と前記平行移動が施されていない色信号とについて、各色信号が示す画素データが、前記調整対象領域の内部であるのか外部であるのかを判定する2次領域内外判定工程と、
前記2次領域内外判定工程にて前記調整対象領域の内部であると判定された画素データについて、前記色変換の処理を行なう工程と、
前記色変換の処理を行なう工程にて色変換された画素データを対象として、前記平行移動による座標変換の逆変換を行なう工程と
を含むことを特徴とする請求項3から5のうちの何れか1項に記載の色調整方法。A primary area is set to almost completely include the adjustment target area in the input color space, and it is determined whether the pixel data indicated by the input color signal is inside or outside the primary area. A primary area inside / outside determination step;
For the pixel data determined to be inside the primary area in the primary area inside / outside determination step, with respect to the representative color of the movement target partial color space or the target color of the movement destination partial color space, Performing a coordinate transformation by parallel movement to the origin of the color space coordinate axis indicating the adjustment target area;
Regarding the color signal subjected to the translation and the color signal not subjected to the translation in the step of performing the coordinate transformation, pixel data indicated by each color signal is inside or outside the adjustment target area. A secondary area inside / outside determination step of determining whether there is a
Performing a color conversion process on the pixel data determined to be inside the adjustment target region in the secondary region inside / outside determination step;
A step of performing an inverse transformation of the coordinate transformation by the parallel movement with respect to the pixel data subjected to the color transformation in the step of performing the color transformation process. Item 2. The color adjustment method according to item 1.
前記調整対象領域の範囲内では、階調の連続性を維持し、かつ、色の逆転を発生させることなく、前記調整対象領域内の色を前記入力色空間と同一色空間である前記出力色空間上の別の色に変換するための前記係数を求める係数取得部を備えたことを特徴とする色調整装置。A color adjustment device that obtains a coefficient for performing color conversion from an input color space to an output color space for a predetermined adjustment target area in a color space to which a color image belongs,
Within the range of the adjustment target area, the output color which is in the same color space as the input color space, while maintaining the continuity of gradation and without causing color inversion, A color adjusting device, comprising: a coefficient obtaining unit that obtains the coefficient for converting to another color in space.
前記調整対象領域内について前記色変換の処理を行なう色調整変換部と、
前記回転移動による座標変換の逆変換を行なう逆変換処理部と
を備えたことを特徴とする請求項9または10に記載の色調整装置。Coordinate transformation by rotational movement such that a straight line connecting the representative color of the movement target partial color space and the target color of the movement destination partial color space is parallel to one of the color space coordinate axes indicating the adjustment target area. A movement processing unit for performing
A color adjustment conversion unit that performs the color conversion process on the adjustment target area;
The color adjustment apparatus according to claim 9, further comprising: an inverse transformation processing unit that performs an inverse transformation of the coordinate transformation by the rotational movement.
前記1次領域内外判定部にて前記1次領域の内部であると判定された画素データについて、前記移動対象部分色空間の前記代表色と前記移動先部分色空間の前記目標色とを結ぶ直線が、前記調整対象領域を示す色空間座標軸のいずれかに平行となるように回転移動による座標変換を行なう移動処理部と、
前記移動処理部にて前記回転移動が施された色信号と前記回転移動が施されていない色信号とについて、各色信号が示す画素データが、前記調整対象領域の内部であるのか外部であるのかを判定する2次領域内外判定部と、
前記2次領域内外判定部にて前記調整対象領域の内部であると判定された画素データについて、前記色変換の処理を行なう色調整変換部と、
前記色調整変換部にて色変換された画素データを対象として、前記回転移動による座標変換の逆変換を行なう逆変換処理部と
を備えたことを特徴とする請求項9または10に記載の色調整装置。A primary area is set to almost completely include the adjustment target area in the input color space, and it is determined whether the pixel data indicated by the input color signal is inside or outside the primary area. A primary area inside / outside determination unit,
A straight line connecting the representative color of the target partial color space and the target color of the destination partial color space for the pixel data determined to be inside the primary region by the primary area inside / outside determination unit. A movement processing unit that performs coordinate transformation by rotational movement so as to be parallel to any of the color space coordinate axes indicating the adjustment target area,
Regarding the color signal subjected to the rotational movement and the color signal not subjected to the rotational movement in the movement processing unit, whether the pixel data indicated by each color signal is inside or outside the adjustment target area A secondary area inside / outside determination unit for determining
A color adjustment conversion unit that performs the color conversion process on the pixel data determined to be inside the adjustment target area by the secondary area inside / outside determination unit;
11. The color according to claim 9, further comprising: an inverse conversion processing unit that performs an inverse conversion of the coordinate conversion by the rotational movement with respect to the pixel data color-converted by the color adjustment conversion unit. Adjustment device.
前記調整対象領域内について前記色変換の処理を行なう色調整変換部と、
前記平行移動による座標変換の逆変換を行なう逆変換処理部と
を備えたことを特徴とする請求項9から12のうちの何れか1項に記載の色調整装置。A movement processing unit that performs a coordinate transformation by parallel movement to an origin of a color space coordinate axis indicating the adjustment target area with respect to the representative color of the movement target partial color space or the target color of the movement destination partial color space;
A color adjustment conversion unit that performs the color conversion process on the adjustment target area;
The color adjustment device according to claim 9, further comprising: an inverse transformation processing unit that performs an inverse transformation of the coordinate transformation by the parallel movement.
前記1次領域内外判定部にて前記1次領域の内部であると判定された画素データについて、前記移動対象部分色空間の前記代表色または前記移動先部分色空間の前記目標色を対象として、前記調整対象領域を示す色空間座標軸の原点に平行移動による座標変換を行なう移動処理部と、
前記移動処理部にて前記平行移動が施された色信号と前記平行移動が施されていない色信号とについて、各色信号が示す画素データが、前記調整対象領域の内部であるのか外部であるのかを判定する2次領域内外判定部と、
前記2次領域内外判定部にて前記調整対象領域の内部であると判定された画素データについて、前記色変換の処理を行なう色調整変換部と、
前記色調整変換部にて色変換された画素データを対象として、前記平行移動による座標変換に対応する逆変換を行なう逆変換処理部と
を備えたことを特徴とする請求項9から12のうちの何れか1項に記載の色調整装置。A primary area is set to almost completely include the adjustment target area in the input color space, and it is determined whether the pixel data indicated by the input color signal is inside or outside the primary area. A primary area inside / outside determination unit,
For the pixel data determined to be inside the primary region by the primary region inside / outside determination unit, with respect to the representative color of the movement target partial color space or the target color of the movement destination partial color space, A movement processing unit that performs coordinate transformation by parallel movement to an origin of a color space coordinate axis indicating the adjustment target area;
Regarding the color signal subjected to the parallel movement and the color signal not subjected to the parallel movement by the movement processing unit, whether the pixel data indicated by each color signal is inside or outside the adjustment target area A secondary area inside / outside determination unit for determining
A color adjustment conversion unit that performs the color conversion process on the pixel data determined to be inside the adjustment target area by the secondary area inside / outside determination unit;
13. The image processing apparatus according to claim 9, further comprising: an inverse conversion processing unit that performs an inverse conversion corresponding to the coordinate conversion by the parallel movement with respect to the pixel data subjected to the color conversion by the color adjustment conversion unit. The color adjustment device according to any one of claims 1 to 4.
前記係数取得部は、前記移動パラメータ設定部が特定した前記色座標に基づいて、前記係数を求める処理を実行することを特徴とする請求項9に記載の色調整装置。By selecting a specified color patch from a plurality of color patches displayed on a predetermined display medium, the color coordinates of the representative color of the movement target partial color space and the color coordinates of the destination color space A movement parameter setting unit that specifies at least one of the color coordinates of the target color,
The color adjustment device according to claim 9, wherein the coefficient obtaining unit executes a process of obtaining the coefficient based on the color coordinates specified by the movement parameter setting unit.
前記係数取得部は、前記移動パラメータ設定部が特定した前記色座標に基づいて、前記係数を求める処理を実行することを特徴とする請求項9に記載の色調整装置。By receiving designation of a pixel point in the color image displayed on a predetermined display medium, the color coordinates of the representative color in the movement target partial color space and the color of the target color in the movement destination partial color space A movement parameter setting unit that specifies at least one of the coordinates,
The color adjustment device according to claim 9, wherein the coefficient obtaining unit executes a process of obtaining the coefficient based on the color coordinates specified by the movement parameter setting unit.
前記係数取得部は、前記移動パラメータ設定部が特定した前記色空間の形状に基づいて、前記係数を求める処理を実行することを特徴とする請求項9、20、および21のうちの何れか1項に記載の色調整装置。A movement parameter setting unit that specifies at least one of the shape of the movement target partial color space and the shape of the movement destination partial color space,
22. The method according to claim 9, wherein the coefficient obtaining unit executes a process of obtaining the coefficient based on a shape of the color space specified by the moving parameter setting unit. A color adjustment device according to the item.
前記係数取得部は、前記移動パラメータ設定部が特定した前記色空間の形状の大きさに基づいて、前記係数を求める処理を実行することを特徴とする請求項9、20、21、および22のうちの何れか1項に記載の色調整装置。A movement parameter setting unit that specifies the size of the shape corresponding to specifying a radius for a sphere according to at least one of the shape of the movement target partial color space and the shape of the movement destination partial color space With
The method according to claim 9, wherein the coefficient obtaining unit executes a process of obtaining the coefficient based on a size of the shape of the color space specified by the movement parameter setting unit. A color adjusting device according to any one of the preceding claims.
請求項9から23のうちの何れか1項に記載の色調整装置を備えており、
前記係数取得部が取得した係数を、予め用意されている前記色変換定義の係数と置き換えることにより、前記色変換定義を編集する係数編集部を備えたことを特徴とする色変換定義編集装置。A color conversion definition editing device for editing a color conversion definition composed of coefficients for performing color conversion from an input color space to an output color space for a predetermined adjustment target area in a color space to which a color image belongs,
A color adjusting device according to any one of claims 9 to 23,
A color conversion definition editing device, comprising: a coefficient editing unit that edits the color conversion definition by replacing the coefficient obtained by the coefficient obtaining unit with a coefficient of the color conversion definition prepared in advance.
前記係数編集部は、前記ルックアップテーブルの格子点の少なくとも1つを前記移動対象部分色空間の前記代表色の色座標とすることを特徴とする請求項24に記載の色変換定義編集装置。The coefficients constituting the color conversion definition are grid point data of a one-dimensional or multi-dimensional lookup table,
25. The color conversion definition editing apparatus according to claim 24, wherein the coefficient editing unit sets at least one of the grid points of the lookup table as the color coordinates of the representative color in the movement target partial color space.
前記色変換定義を構成する前記係数は、1次元もしくは多次元のルックアップテーブルの格子点のデータであって、
前記係数編集部は、前記ルックアップテーブルの格子点を2つ以上含むように前記収斂領域を設定することを特徴とする請求項24または25に記載の色変換定義編集装置。20. A color adjusting device according to claim 19, wherein the color adjusting device provides a convergence region in a part of the range of the adjustment target region,
The coefficients constituting the color conversion definition are grid point data of a one-dimensional or multi-dimensional lookup table,
26. The color conversion definition editing apparatus according to claim 24, wherein the coefficient editing unit sets the convergence area so as to include two or more grid points of the lookup table.
請求項9から23のうちの何れか1項に記載の色調整装置を備えており、
前記係数取得部が取得した係数に基づいて、前記入力されたカラー画像から抽出される前記調整対象領域に含まれる各画素の色を表す画素データを、前記色空間において移動させることで色変換する部分的色調整部を備えたことを特徴とする画像処理装置。A specific color included in an input color image is converted into the another color by converting a certain color in a predetermined adjustment target area in a color space to which the color image belongs into another color in the same color space. An image processing device,
A color adjusting device according to any one of claims 9 to 23,
Based on the coefficient obtained by the coefficient obtaining unit, color conversion is performed by moving pixel data representing the color of each pixel included in the adjustment target area extracted from the input color image in the color space. An image processing apparatus comprising a partial color adjustment unit.
請求項24から26のうちの何れか1項に記載の色変換定義編集装置により編集された色変換定義を格納する記憶部と、
前記記憶部に格納されている色変換定義に基づき、前記入力されたカラー画像から抽出される前記調整対象領域に含まれる各画素の色を表す画素データを変換することで色変換する部分的色調整部を備えたことを特徴とする画像処理装置。A specific color included in an input color image is converted into the another color by converting a certain color in a predetermined adjustment target area in a color space to which the color image belongs into another color in the same color space. An image processing device,
A storage unit for storing a color conversion definition edited by the color conversion definition editing device according to any one of claims 24 to 26,
A partial color to be color-converted by converting pixel data representing a color of each pixel included in the adjustment target area extracted from the input color image based on the color conversion definition stored in the storage unit; An image processing device comprising an adjustment unit.
コンピュータを、
前記調整対象領域の範囲内では、階調の連続性を維持し、かつ、色の逆転を発生させることなく、前記調整対象領域内の色を前記入力色空間と同一色空間である前記出力色空間上の別の色に変換するための前記係数を求める係数取得部
として機能させることを特徴とするプログラム。A program for performing a process of obtaining a coefficient for performing color conversion from an input color space to an output color space for a predetermined adjustment target area in a color space to which a color image belongs,
Computer
Within the range of the adjustment target area, the output color which is the same color space as the input color space, while maintaining the continuity of gradation and without causing color reversal. A program for functioning as a coefficient obtaining unit for obtaining the coefficient for converting to another color in space.
コンピュータに、
前記調整対象領域の範囲内では、階調の連続性を維持し、かつ、色の逆転を発生させることなく、前記調整対象領域内の色を前記入力色空間と同一色空間である前記出力色空間上の別の色に変換するための前記係数を求める手順
を実行させるプログラムを格納したことを特徴とする記憶媒体。A computer-readable storage medium storing a program for performing a process of obtaining a coefficient for performing color conversion from an input color space to an output color space for a predetermined adjustment target area in a color space to which a color image belongs,
On the computer,
Within the range of the adjustment target area, the output color which is the same color space as the input color space, while maintaining the continuity of gradation and without causing color reversal. A storage medium storing a program for executing a procedure for obtaining the coefficient for converting to another color in space.
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002275821A JP2004112694A (en) | 2002-09-20 | 2002-09-20 | Color control method, color control apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium |
| US10/385,507 US7333237B2 (en) | 2002-09-20 | 2003-03-12 | Color adjustment method, color adjustment apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium |
| GB0305980A GB2393345B (en) | 2002-09-20 | 2003-03-14 | Color adjustment method,color adjustment apparatus,color conversion definition editing apparatus,image processing apparatus,program,and storage medium |
| CNB031193579A CN100414447C (en) | 2002-09-20 | 2003-03-14 | Color adjusting method. color adjusting apparatus, color converting definiting compiling apparatus, image treatment apparatus, prgram and storage medium |
| DE10311711.3A DE10311711B4 (en) | 2002-09-20 | 2003-03-17 | Color adjustment method, color adjustment device, color conversion definition editing device, image processing device, program and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002275821A JP2004112694A (en) | 2002-09-20 | 2002-09-20 | Color control method, color control apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004112694A true JP2004112694A (en) | 2004-04-08 |
Family
ID=19196978
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002275821A Pending JP2004112694A (en) | 2002-09-20 | 2002-09-20 | Color control method, color control apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US7333237B2 (en) |
| JP (1) | JP2004112694A (en) |
| CN (1) | CN100414447C (en) |
| DE (1) | DE10311711B4 (en) |
| GB (1) | GB2393345B (en) |
Cited By (27)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005328845A (en) * | 2004-05-06 | 2005-12-02 | Oce Technologies Bv | Methods, apparatus and computer for transforming digital colour images |
| JP2006135628A (en) * | 2004-11-05 | 2006-05-25 | Fuji Xerox Co Ltd | Color adjustment method and device thereof |
| JP2006262451A (en) * | 2005-02-18 | 2006-09-28 | Canon Inc | Image recording apparatus and method |
| JP2006270519A (en) * | 2005-03-24 | 2006-10-05 | Fuji Xerox Co Ltd | Color control method and color control apparatus |
| JP2006325035A (en) * | 2005-05-19 | 2006-11-30 | Sony Corp | Color conversion device, color conversion method, and image display device |
| JP2007142911A (en) * | 2005-11-21 | 2007-06-07 | Seiko Epson Corp | Image processing apparatus, image processing method, and program |
| JP2007208673A (en) * | 2006-02-02 | 2007-08-16 | Fuji Xerox Co Ltd | Method and apparatus for color adjustment |
| JP2007221182A (en) * | 2006-02-14 | 2007-08-30 | Fuji Xerox Co Ltd | Apparatus, program and method of processing image |
| JP2008005469A (en) * | 2006-05-24 | 2008-01-10 | Seiko Epson Corp | Image processing apparatus, printing apparatus, image processing method, color correction table setting method, and printing method |
| JP2008139997A (en) * | 2006-11-30 | 2008-06-19 | Omron Corp | Image processing method, program, and image processing apparatus |
| JP2008148275A (en) * | 2006-11-14 | 2008-06-26 | Fuji Xerox Co Ltd | Color processing apparatus and program |
| JP2008244794A (en) * | 2007-03-27 | 2008-10-09 | Olympus Corp | Image processor, and image processing method |
| JP2008245246A (en) * | 2007-02-09 | 2008-10-09 | Canon Inc | Imaging apparatus, information processing apparatus, and image processing method thereof |
| JP2008306377A (en) * | 2007-06-06 | 2008-12-18 | Fuji Xerox Co Ltd | Color adjusting device, and color adjusting program |
| US7668368B2 (en) | 2004-12-24 | 2010-02-23 | Sharp Kabushiki Kaisha | Image processing apparatus, camera apparatus, image output apparatus, image processing method, color correction processing program and computer readable recording medium |
| JP2010154008A (en) * | 2008-12-24 | 2010-07-08 | Brother Ind Ltd | Image processing unit and image processing program |
| JP2010154009A (en) * | 2008-12-24 | 2010-07-08 | Brother Ind Ltd | Image processing unit and image processing program |
| US7929760B2 (en) | 2006-03-31 | 2011-04-19 | Canon Kabushiki Kaisha | Color processing method and apparatus based on viewing condition |
| US8334910B2 (en) | 2007-02-09 | 2012-12-18 | Canon Kabushiki Kaisha | Image capturing apparatus, information processing apparatus, and control methods thereof |
| US8411945B2 (en) | 2008-12-25 | 2013-04-02 | Brother Kogyo Kabushiki Kaisha | Image processing device |
| US8428351B2 (en) | 2008-12-24 | 2013-04-23 | Brother Kogyo Kabushiki Kaisha | Image processing device |
| KR20130054209A (en) * | 2011-11-16 | 2013-05-24 | 르네사스 일렉트로닉스 가부시키가이샤 | Image processing apparatus, image processing method, and program |
| JP2016054491A (en) * | 2015-10-20 | 2016-04-14 | ルネサスエレクトロニクス株式会社 | Image processing apparatus, image processing method, and program |
| JP2017130721A (en) * | 2016-01-18 | 2017-07-27 | 富士ゼロックス株式会社 | Image processing apparatus and program |
| JP2019087834A (en) * | 2017-11-06 | 2019-06-06 | セイコーエプソン株式会社 | Profile adjustment system, profile adjustment device, profile adjustment method, and profile adjustment program |
| JP2023121532A (en) * | 2022-02-21 | 2023-08-31 | キヤノン株式会社 | Imaging apparatus, control method for the same, and program |
| US12549865B2 (en) | 2022-02-21 | 2026-02-10 | Canon Kabushiki Kaisha | Image capturing apparatus and method for controlling the same, and non-transitory computer-readable storage medium |
Families Citing this family (37)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040135790A1 (en) * | 2003-01-15 | 2004-07-15 | Xerox Corporation | Correcting the color cast of an image |
| EP1517542B1 (en) * | 2003-09-01 | 2010-11-10 | Samsung Electronics Co., Ltd. | Method and apparatus for adjusting colors of an image |
| US7308135B2 (en) * | 2004-01-14 | 2007-12-11 | Eastman Kodak Company | Constructing extended color gamut digital images from limited color gamut digital images |
| KR100612845B1 (en) * | 2004-05-06 | 2006-08-14 | 삼성전자주식회사 | A device and method for adjusting the main color components of an image and a computer readable recording medium storing a computer program for controlling the device. |
| US7516417B2 (en) * | 2004-11-29 | 2009-04-07 | Canon U.S.A. | Display parameter adjustment |
| US7593603B1 (en) | 2004-11-30 | 2009-09-22 | Adobe Systems Incorporated | Multi-behavior image correction tool |
| US20090009525A1 (en) * | 2004-12-02 | 2009-01-08 | Tsuyoshi Hirashima | Color Adjustment Device and Method |
| EP1938620A2 (en) * | 2005-09-14 | 2008-07-02 | Rgbright, Inc. | Image enhancement and compression |
| US20070088535A1 (en) * | 2005-10-17 | 2007-04-19 | Eastman Kodak Company | Generic spectral model for imaging devices |
| US8139263B2 (en) * | 2005-11-30 | 2012-03-20 | Adobe Systems Incorporated | Systems and methods for printing artwork containing overlapped inks |
| EP1973074A4 (en) * | 2006-01-10 | 2011-03-16 | Panasonic Corp | COLOR CORRECTION DEVICE AND METHOD, DYNAMIC CAMERA COLOR CORRECTION DEVICE, AND VIDEO SEARCH DEVICE USING THE SAME |
| US7715620B2 (en) * | 2006-01-27 | 2010-05-11 | Lockheed Martin Corporation | Color form dropout using dynamic geometric solid thresholding |
| JP4910860B2 (en) * | 2007-04-20 | 2012-04-04 | 富士ゼロックス株式会社 | Image file creation device, image processing device, image processing system, and program |
| US8237990B2 (en) * | 2007-06-28 | 2012-08-07 | Adobe Systems Incorporated | System and method for converting over-range colors |
| US8130236B2 (en) * | 2008-02-05 | 2012-03-06 | Aptina Imaging Corporation | Systems and methods to achieve preferred imager color reproduction |
| JP4988624B2 (en) * | 2008-02-22 | 2012-08-01 | 株式会社リコー | Image processing apparatus, image processing method, and recording medium |
| JP4487320B2 (en) * | 2008-03-04 | 2010-06-23 | 村田機械株式会社 | Image processing apparatus, document reading apparatus, and color / monochrome determination method |
| US7986436B2 (en) * | 2008-05-23 | 2011-07-26 | Kabushiki Kaisha Toshiba | Image processing apparatus and method |
| US8233705B2 (en) * | 2008-10-03 | 2012-07-31 | Eastman Kodak Company | Potential field-based gamut mapping |
| US8411106B2 (en) * | 2008-12-30 | 2013-04-02 | Canon Kabushiki Kaisha | Converting digital values corresponding to colors of an image from a source color space to a destination color space |
| US20100201998A1 (en) * | 2009-02-11 | 2010-08-12 | Quach Tony T | System and method for display matched color printer calibration |
| US8150150B2 (en) * | 2009-03-02 | 2012-04-03 | Himax Technologies Limited | Method and system of extracting a perceptual feature set |
| JP5233785B2 (en) * | 2009-03-25 | 2013-07-10 | 富士ゼロックス株式会社 | Color conversion apparatus and program |
| TWI426779B (en) * | 2010-08-13 | 2014-02-11 | Inst Information Industry | Object color correction method, system and its computer program products |
| US8681171B2 (en) * | 2010-08-26 | 2014-03-25 | Nicoline Kinch | Method for identifying, displaying, selecting, naming and matching colors |
| US8558843B2 (en) * | 2010-08-26 | 2013-10-15 | Nicoline Kinch | Method for identifying, selecting and matching colors |
| CN102457655B (en) * | 2010-10-18 | 2014-09-24 | 财团法人资讯工业策进会 | Image object color correction method and object color correction system |
| JP2012186748A (en) * | 2011-03-08 | 2012-09-27 | Seiko Epson Corp | Print control device and print control method |
| JP5316578B2 (en) * | 2011-04-28 | 2013-10-16 | コニカミノルタ株式会社 | Color adjustment method, color adjustment apparatus, color adjustment program, and medium storing color adjustment program |
| JP6048655B2 (en) * | 2012-12-11 | 2016-12-21 | セイコーエプソン株式会社 | RECORDING DATA GENERATION DEVICE, RECORDING SYSTEM, PROGRAM, RECORDING DATA GENERATION METHOD, AND IMAGE DATA DISPLAY METHOD |
| WO2014115421A1 (en) * | 2013-01-25 | 2014-07-31 | 富士フイルム株式会社 | Image capture device and operation control method thereof |
| CN103347142A (en) * | 2013-07-01 | 2013-10-09 | 上海理工大学 | Optimized color chart realization method based on color generation adaptation representation of digital equipment |
| CN106303713A (en) * | 2016-08-31 | 2017-01-04 | 广州小百合信息技术有限公司 | TV software update method and device |
| US20180101939A1 (en) * | 2016-10-07 | 2018-04-12 | Microsoft Technology Licensing, Llc | Control arrangements for digital image color enhancement |
| JP6969157B2 (en) * | 2017-05-24 | 2021-11-24 | 富士フイルムビジネスイノベーション株式会社 | 3D shape data editing device and 3D shape data editing program |
| US11232607B2 (en) * | 2020-01-24 | 2022-01-25 | Adobe Inc. | Adding color to digital images |
| CN112082738B (en) * | 2020-08-24 | 2022-08-16 | 南京理工大学 | Performance evaluation test system and test method for color night vision camera |
Family Cites Families (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6416658A (en) * | 1987-07-10 | 1989-01-20 | Matsushita Electric Industrial Co Ltd | Color conditioning method |
| JPS6416658U (en) | 1987-07-22 | 1989-01-27 | ||
| JP2537997B2 (en) | 1988-09-30 | 1996-09-25 | 松下電器産業株式会社 | Color adjustment device |
| JP3009934B2 (en) | 1991-04-22 | 2000-02-14 | 富士通株式会社 | Color adjustment method and color adjustment device |
| US5583665A (en) * | 1995-02-13 | 1996-12-10 | Eastman Kodak Company | Method and apparatus for performing color transformations using a reference image combined with a color tracer |
| DE19506595C1 (en) * | 1995-02-24 | 1996-02-01 | Schneider Rundfunkwerke Ag | Transformation of colour signals in colour video system |
| JPH09214792A (en) | 1996-01-31 | 1997-08-15 | Fuji Xerox Co Ltd | Color converting device |
| CA2284851C (en) * | 1997-03-25 | 2005-11-15 | Fujitsu General Limited | Contour emphasizing circuit |
| JP3654327B2 (en) | 1997-05-26 | 2005-06-02 | 富士ゼロックス株式会社 | Color conversion device |
| US6556713B2 (en) * | 1997-07-31 | 2003-04-29 | Canon Kabushiki Kaisha | Image processing apparatus and method and storage medium |
| JP2001291097A (en) | 2000-02-01 | 2001-10-19 | Ricoh Co Ltd | Image processing method, image processing apparatus, image processing program, and computer-readable recording medium |
| GB2363021B (en) * | 2000-04-07 | 2004-03-03 | Discreet Logic Inc | Processing image data |
| JP4077148B2 (en) * | 2000-09-28 | 2008-04-16 | 富士フイルム株式会社 | Color reproduction characteristic display device and color reproduction characteristic display program storage medium |
| JP2002223366A (en) * | 2001-01-26 | 2002-08-09 | Canon Inc | Image processing apparatus and method, and image processing system |
| US7054035B2 (en) * | 2001-10-29 | 2006-05-30 | Hewlett-Packard Development Company, L.P. | Method and system for management of color through conversion between color spaces |
-
2002
- 2002-09-20 JP JP2002275821A patent/JP2004112694A/en active Pending
-
2003
- 2003-03-12 US US10/385,507 patent/US7333237B2/en not_active Expired - Fee Related
- 2003-03-14 GB GB0305980A patent/GB2393345B/en not_active Expired - Fee Related
- 2003-03-14 CN CNB031193579A patent/CN100414447C/en not_active Expired - Fee Related
- 2003-03-17 DE DE10311711.3A patent/DE10311711B4/en not_active Expired - Fee Related
Cited By (37)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005328845A (en) * | 2004-05-06 | 2005-12-02 | Oce Technologies Bv | Methods, apparatus and computer for transforming digital colour images |
| JP2006135628A (en) * | 2004-11-05 | 2006-05-25 | Fuji Xerox Co Ltd | Color adjustment method and device thereof |
| US7602400B2 (en) | 2004-11-05 | 2009-10-13 | Fuji Xerox Co., Ltd. | Color adjusting method and color adjusting apparatus |
| US7668368B2 (en) | 2004-12-24 | 2010-02-23 | Sharp Kabushiki Kaisha | Image processing apparatus, camera apparatus, image output apparatus, image processing method, color correction processing program and computer readable recording medium |
| JP2006262451A (en) * | 2005-02-18 | 2006-09-28 | Canon Inc | Image recording apparatus and method |
| JP2006270519A (en) * | 2005-03-24 | 2006-10-05 | Fuji Xerox Co Ltd | Color control method and color control apparatus |
| JP2006325035A (en) * | 2005-05-19 | 2006-11-30 | Sony Corp | Color conversion device, color conversion method, and image display device |
| JP2007142911A (en) * | 2005-11-21 | 2007-06-07 | Seiko Epson Corp | Image processing apparatus, image processing method, and program |
| JP2007208673A (en) * | 2006-02-02 | 2007-08-16 | Fuji Xerox Co Ltd | Method and apparatus for color adjustment |
| JP2007221182A (en) * | 2006-02-14 | 2007-08-30 | Fuji Xerox Co Ltd | Apparatus, program and method of processing image |
| US8045186B2 (en) | 2006-02-14 | 2011-10-25 | Fuji Xerox Co., Ltd. | Image processing apparatus, image processing method, computer readable medium and data signal |
| US7929760B2 (en) | 2006-03-31 | 2011-04-19 | Canon Kabushiki Kaisha | Color processing method and apparatus based on viewing condition |
| JP2008005469A (en) * | 2006-05-24 | 2008-01-10 | Seiko Epson Corp | Image processing apparatus, printing apparatus, image processing method, color correction table setting method, and printing method |
| JP2008148275A (en) * | 2006-11-14 | 2008-06-26 | Fuji Xerox Co Ltd | Color processing apparatus and program |
| JP2008139997A (en) * | 2006-11-30 | 2008-06-19 | Omron Corp | Image processing method, program, and image processing apparatus |
| JP2008245246A (en) * | 2007-02-09 | 2008-10-09 | Canon Inc | Imaging apparatus, information processing apparatus, and image processing method thereof |
| US8334910B2 (en) | 2007-02-09 | 2012-12-18 | Canon Kabushiki Kaisha | Image capturing apparatus, information processing apparatus, and control methods thereof |
| JP2008244794A (en) * | 2007-03-27 | 2008-10-09 | Olympus Corp | Image processor, and image processing method |
| US7991227B2 (en) | 2007-06-06 | 2011-08-02 | Fuji Xerox Co., Ltd. | Color adjustment apparatus and computer-readable medium |
| JP2008306377A (en) * | 2007-06-06 | 2008-12-18 | Fuji Xerox Co Ltd | Color adjusting device, and color adjusting program |
| US8705858B2 (en) | 2008-12-24 | 2014-04-22 | Brother Kogyo Kabushiki Kaisha | Image processing device |
| JP2010154008A (en) * | 2008-12-24 | 2010-07-08 | Brother Ind Ltd | Image processing unit and image processing program |
| JP2010154009A (en) * | 2008-12-24 | 2010-07-08 | Brother Ind Ltd | Image processing unit and image processing program |
| US8428351B2 (en) | 2008-12-24 | 2013-04-23 | Brother Kogyo Kabushiki Kaisha | Image processing device |
| US8787665B2 (en) | 2008-12-24 | 2014-07-22 | Brother Kogyo Kabushiki Kaisha | Image processing device |
| US8411945B2 (en) | 2008-12-25 | 2013-04-02 | Brother Kogyo Kabushiki Kaisha | Image processing device |
| JP2013105452A (en) * | 2011-11-16 | 2013-05-30 | Renesas Electronics Corp | Image processing apparatus, image processing method, and program |
| KR20130054209A (en) * | 2011-11-16 | 2013-05-24 | 르네사스 일렉트로닉스 가부시키가이샤 | Image processing apparatus, image processing method, and program |
| US9214010B2 (en) | 2011-11-16 | 2015-12-15 | Renesas Electronics Corporation | Image processing apparatus, image processing method, and program product |
| US9818372B2 (en) | 2011-11-16 | 2017-11-14 | Renesas Electronics Corporation | Image processing apparatus, image processing method, and program product |
| KR101981802B1 (en) * | 2011-11-16 | 2019-05-23 | 르네사스 일렉트로닉스 가부시키가이샤 | Image processing apparatus, image processing method, and computer readable recording medium storing program |
| JP2016054491A (en) * | 2015-10-20 | 2016-04-14 | ルネサスエレクトロニクス株式会社 | Image processing apparatus, image processing method, and program |
| JP2017130721A (en) * | 2016-01-18 | 2017-07-27 | 富士ゼロックス株式会社 | Image processing apparatus and program |
| US10026152B2 (en) | 2016-01-18 | 2018-07-17 | Fuji Xerox Co., Ltd. | Image processing apparatus for providing visibility of an image while maintaining color in a natural state |
| JP2019087834A (en) * | 2017-11-06 | 2019-06-06 | セイコーエプソン株式会社 | Profile adjustment system, profile adjustment device, profile adjustment method, and profile adjustment program |
| JP2023121532A (en) * | 2022-02-21 | 2023-08-31 | キヤノン株式会社 | Imaging apparatus, control method for the same, and program |
| US12549865B2 (en) | 2022-02-21 | 2026-02-10 | Canon Kabushiki Kaisha | Image capturing apparatus and method for controlling the same, and non-transitory computer-readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| US20040057614A1 (en) | 2004-03-25 |
| DE10311711A1 (en) | 2004-04-01 |
| GB0305980D0 (en) | 2003-04-23 |
| CN1484105A (en) | 2004-03-24 |
| CN100414447C (en) | 2008-08-27 |
| US7333237B2 (en) | 2008-02-19 |
| DE10311711B4 (en) | 2016-03-24 |
| GB2393345A (en) | 2004-03-24 |
| GB2393345B (en) | 2005-12-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2004112694A (en) | Color control method, color control apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium | |
| US8204304B2 (en) | Color gamut mapping by forming curved cross-sectional surfaces | |
| US8149483B2 (en) | Color gamut data creating device | |
| JP4819648B2 (en) | Color mapping | |
| JPH11341296A (en) | Color gamut conversion method and color gamut conversion device | |
| US20090080041A1 (en) | Multiple dimensional color conversion to minimize interpolation error | |
| JP4565642B2 (en) | Image processing method and image processing apparatus | |
| JP5068281B2 (en) | Color conversion table adjustment device and color conversion table adjustment program | |
| JP2004153554A (en) | Method, device and program for mapping color region | |
| JP2006345187A (en) | Color processing method and apparatus | |
| JP2008141237A (en) | Color processing apparatus and method | |
| JP2007274584A (en) | Color processing method and apparatus | |
| US20030020934A1 (en) | Color region compressing method | |
| JP2010050832A (en) | Device and method for processing image, program, and recording medium | |
| JP4592089B2 (en) | Image processing method, profile creation method, and image processing apparatus | |
| JP2003143425A (en) | Image processing device | |
| JP5267803B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
| JP3934968B2 (en) | Color conversion definition creation method, color conversion definition creation device, and color conversion definition creation program | |
| JP5112234B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
| JP4423016B2 (en) | Image processing apparatus, image processing method, storage medium, and program | |
| JP2005005802A (en) | Color image processing apparatus, color image processing method, program, and recording medium | |
| JP2006254369A (en) | Color processing method and apparatus | |
| JP5633194B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
| JP2003348363A (en) | Method, apparatus, and program for preparing color conversion definition | |
| JP2015207915A (en) | Image processing apparatus and method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050823 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070330 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070508 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070706 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20071030 |