[go: up one dir, main page]

JP2004242040A - Color image processing method and color image processing apparatus - Google Patents

Color image processing method and color image processing apparatus Download PDF

Info

Publication number
JP2004242040A
JP2004242040A JP2003028891A JP2003028891A JP2004242040A JP 2004242040 A JP2004242040 A JP 2004242040A JP 2003028891 A JP2003028891 A JP 2003028891A JP 2003028891 A JP2003028891 A JP 2003028891A JP 2004242040 A JP2004242040 A JP 2004242040A
Authority
JP
Japan
Prior art keywords
color
color image
image signal
correction amount
achromatic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003028891A
Other languages
Japanese (ja)
Inventor
Keitoku Ito
敬徳 伊東
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003028891A priority Critical patent/JP2004242040A/en
Publication of JP2004242040A publication Critical patent/JP2004242040A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

【課題】入力したカラー画像信号が表す色が属する色相領域を判定し、カラー画像信号をプリンタの色材に対応したカラー記録信号を変換することにより、画像入力系の色再現範囲と出力画像系の色再現範囲が異なる場合であっても元画像と遜色のない画像をえることができると共に、色差の最小化が最適とならないような画像データであっても色再現性が良好でかつ効率的に色補正することができる画像処理方法、画像処理装置を得る。
【解決手段】カラー画像信号の色空間を無彩色軸Nと1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切り、6つの部分色空間に分割し、入力カラー画像信号がどの部分色空間に属するかを色相領域を判定し、前記入力カラー画像信号をプリンタの色再現範囲内とするための補正量を算出し、算出した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正し、前記判定した色相領域に応じて前記補正したカラー画像信号をプリンタの色材に対応したカラー記録信号に変換した。
【選択図】 図3
A color reproduction range of an image input system and an output image system are determined by determining a hue area to which a color represented by an input color image signal belongs and converting the color image signal into a color recording signal corresponding to a color material of a printer. Even if the color reproduction range is different, an image comparable to the original image can be obtained, and color reproduction is good and efficient even for image data in which color difference minimization is not optimal. To obtain an image processing method and an image processing apparatus capable of color correction.
A color space of a color image signal is divided by a plane passing through an achromatic axis N and primary colors C, M, Y and secondary colors R, G, B, and divided into six partial color spaces. A hue area is determined as to which partial color space the color image signal belongs to, a correction amount for making the input color image signal fall within the color reproduction range of the printer is calculated, and the input color image is calculated based on the calculated correction amount. The signal was corrected in the achromatic color axis direction, and the corrected color image signal was converted into a color recording signal corresponding to the color material of the printer according to the determined hue region.
[Selection diagram] FIG.

Description

【0001】
【発明の属する技術分野】
本発明は、画像入力系の色再現範囲と画像出力系の色再現範囲が異なる場合の画像処理方法および画像処理装置に関し、特に画像出力系の色再現範囲外の色の画像信号の入力に際し、その画像信号を補正して、元画像と遜色のない画像を得るための画像処理方法および画像処理装置に関するものである。
【0002】
【従来の技術】
従来、R(レッド)、G(グリーン)、B(ブルー)の信号に基づいてカラー画像データの色相を検出し、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)の色信号に変換するのに好適な色補正処理装置として、特開平10−257334号公報に開示されたものがあり、これは入力したカラー画像信号が表す色が属する色相領域を判定し、カラー画像信号をプリンタの色材に対応したカラー記録信号に変換するものである。
一方、上述のように加法混色であるRGB系で色を表現するカメラ、スキャナ等と、減法混色であるCMYKで色を表現するプリンタとは色再現領域が異なっており、元の画像を正確に再現するための方法として、加法混色による色再現領域と減法混色による色再現領域の差を補正し、元の画像データを適切な色データに変換する方法が知られている。
【特許文献1】特開平10−257334号公報
【0003】
【発明が解決しようとする課題】
しかしながら、例えば特色インク等の色再現範囲外の色を再現する場合、色差の最小化が最適とならない場合がある。例えば、多色刷りの地図の明度及び色度をそれぞれバランスよく補正して補正前後における色差を最小にする代わりに色度をより適切な状態に補正した場合とでは、人との視覚による主観的評価においては後者の方が好まれるという結果が得られた。これは、地図では色味自体に意味を持たせているためで、色度の変化はその意味を曖昧にするため、好まれなかったためと推測される。
そこで、本発明は、入力したカラー画像信号が表す色が属する色相領域を判定し、カラー画像信号をプリンタの色材に対応したカラー記録信号を変換することにより、画像入力系の色再現範囲と出力画像系の色再現範囲が異なる場合であっても元画像と遜色のない画像をえることができると共に、色差の最小化が最適とならないような画像データであっても色再現性が良好でかつ効率的に色補正することができる画像処理方法、画像処理装置を得ることを目的とする。
【0004】
【課題を解決するための手段】
前記目的を達成するため、本発明の請求項1記載の発明は、カラー画像信号の色空間を無彩色軸Nと1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切り、6つの部分色空間に分割し、入力カラー画像信号がどの部分色空間に属するかを色相領域を判定し、前記入力カラー画像信号をプリンタの色再現範囲内とするための補正量を算出し、
算出した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正し、前記判定した色相領域に応じて前記補正したカラー画像信号をプリンタの色材に対応したカラー記録信号に変換したことを特徴とする。
これにより本発明の請求項1は、画像出力系の色再現範囲外の色の画像信号の入力に際し、その画像信号を明度方向に補正して、元画像と遜色のないプリンタ用画像を得るための容易な画像処理方法を実現することができる。
本発明の請求項2記載の発明は、請求項1記載の発明に加え、入力カラー画像信号の彩度が高く、無彩色軸方向に補正してもプリンタの色再現範囲内に入らない場合、前記補正量を抑制し、前記入力カラー画像信号を抑制した補正量に基づいて無彩色軸方向に補正したことを特徴とする。
これにより、より精度の高い画像処理方法を実現することができる。
本発明の請求項3記載の発明は、請求項1記載の発明に加え、前記算出された補正量を調整し、該調整した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正したことを特徴とする。
これにより操作性に優れた画像処理方法を実現することができる。
本発明の請求項4記載の発明は、請求項2記載の発明に加え、前記抑制された補正量を調整し、該調整した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正したことを特徴とする。
これにより操作性に優れた画像処理方法を実現することができる。
本発明の請求項5記載の発明は、請求項1ないし4記載の発明に加え、入力したカラー画像信号を無彩色軸が1点に写像される2次元平面に写像して色相領域を判定したことを特徴とする。
これにより、更に容易な画像処理方法を実現することができる。
【0005】
本発明の請求項6記載の発明は、請求項1ないし4記載の発明に加え、入力したカラー画像信号を無彩色軸が1点に写像される2次元平面に写像し、写像されたカラー画像信号の色相角に対して単調増加となる代替量を算出し、色相領域を判定したことを特徴とする。
これにより、更に容易な画像処理方法を実現することができる。
本発明の請求項7記載の発明は、入力されたカラー画像信号が表す色が属する色相領域を判定する色相領域判定手段と、前記判定した色相領域に応じて、前記入力カラー画像信号が表す色をプリンタの色再現範囲内とするために最低限必要な無彩色軸方向の補正量を算出する補正量算出手段と、前記補正量を基にカラー画像信号を無彩色軸方向に補正する明度補正手段と、前記判定した色相領域に応じて、前記補正されたカラー画像信号をプリンタの色材に対応したカラー記録信号に変換する色変換手段と備えるとを特徴とした。
これにより、画像出力系の色再現範囲外の色の画像信号の入力に際し、その画像信号を明度方向に補正して、元画像と遜色のないプリンタ用画像を得るための簡素な画像処理装置を実現することができる。
本発明の請求項8記載の発明は、請求項7記載の発明に加え、前記入力カラー画像信号の表す色が、彩度が高くて無彩色軸方向に移動させてもプリンタの色再現範囲内に入らない時に、前記算出した補正量を抑制する高彩度修正手段を有し、前記明度補正手段は前記抑制された補正量を基にカラー画像信号を無彩色軸方向に補正したことを特徴とする。
これにより、より精度の高い画像処理装置を実現することができる。
本発明の請求項9記載の発明は、請求項7記載の発明に加え、前記算出した補正量の大きさを調整する補正量調整手段を有し、前記明度補正手段は前記調整された補正量を基にカラー画像信号を無彩色軸方向に補正したこを特徴とする。
これにより操作性に優れた画像処理装置を実現することができる。
本発明の請求項10記載の発明は、請求項8記載の発明に加え、前記抑制された補正量の大きさを調整する補正量調整手段を有し、前記明度補正手段は前記調整された補正量を基にカラー画像信号を無彩色軸方向に補正したことを特徴とする。
これにより、操作性に優れた画像処理装置を実現することができる。
本発明の請求項11記載の発明は、請求項7〜10記載の発明に加え、前記色相領域判定手段は、入力されたカラー画像信号を無彩色軸が1点に写像される2次元平面に写像する第1の2次元化手段を備えたことを特徴とする。
これにより、より簡素な画像処理装置を実現することができる。
本発明の請求項12記載の発明は、請求項7〜10記載の発明に加え、前記色相領域判定手段は、入力されたカラー画像信号を無彩色軸が1点に写像される2次元平面に写像する第2の2次元化手段と、前記2次元平面に写像されたカラー画像信号の色相角に対して単調増加となる代替量を算出する擬似色相角算出手段とを備えたことを特徴とする。
これにより、より簡素な画像処理装置を実現することができる。
【0006】
【発明の実施の形態】
以下、添付図面を参照し、本発明にかかる画像処理方法及び画像処理装置の好適な実施の形態を詳細に説明する。
図1にカラー画像信号(Dr,Dg,Db)の色空間とプリンタの色再現範囲との関係の一例を示す。尚、ここではカラー画像信号(Dr,Dg,Db)を、例えば加法混色の3原色であるR(レッド)、G(グリーン)、B(ブルー)に色分解して原稿を読み取るスキャナ等の出力信号を、濃度に比例した信号に変換して得ることができる色分解濃度信号として説明する。したがって、図1においては、原点側にプリンタのW(白)、その対角の頂点にプリンタのK(黒)が配置され、この2点を結ぶ線は無彩色軸N(Dr=Dg=Db)となる。また、無彩色軸Nの周囲には、プリンタの1次色C(シアン)、M(マゼンタ)、Y(イエロー)および2次色R(レッド)、G(グリーン)、B(ブルー)が配置され、これら8色を頂点とする空間内部がプリンタの色再現範囲となっている。
【0007】
次に図2に、図1のカラー画像信号(Dr,Dg,Db)の色空間を無彩色軸Nが通る平面で切断した断面図の一例を示す。この断面図は、カラー画像信号の取り得る範囲201に対してプリンタの色再現範囲(斜線部)202が小さいことを示している。また、色203、204はプリンタで色再現可能なこの断面(無彩色軸Nを挟んで両側の色相)で最も彩度が高い(無彩色軸から離れた)色に対応している。更に色205は、明度が高くプリンタの色再現範囲外となっている色である。即ち、無彩色軸Nの方向は明度の方向と一致しており、色205を無彩色軸NのK方向(明度の低い方向)に移動させることで、プリンタの色再現範囲内に入る色である。
本発明は、このように明度が高くプリンタの色再現範囲外となっている色を、無彩色軸NのK方向に移動して処理することを特徴としている。またこれによれば、彩度(ここでは無彩色軸との距離)および色相(ここでは無彩色軸を通る面)、即ち色度を保存した処理が行なえる。
尚、カラー画像信号(Dr,Dg,Db)の色空間とプリンタの色再現範囲の関係の一例を図1に示したが、図5に示すようにプリンタのWとK、1次色C、M、Yおよび2次色R、G、Bの8色を直線で結んだ空間内部をプリンタの色再現範囲とみなしても、実質的に生じる誤差は少ない。このため本発明ではプリンタの色再現範囲を、図5のような12面体とみなして処理を行なう。これによりプリンタの色再現範囲の曲面部分の処理が不要となり、処理の実現が容易となる。
【0008】
図3は本発明に係る画像処理方法のフローを示す図であり、以下このフローを参照して画像処理方法説明を行う。
始めに、カラー画像信号(Dr,Dg,Db)の色相領域判定処理301を行なう。即ち、カラー画像信号(Dr,Dg,Db)の色空間を、無彩色軸N(Dr=Dg=Db)と1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で図6に示すように区切って、6つの部分色空間に分割し、入力されたカラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定する。
【0009】
ここで、プリンタのWとK、1次色C、M、Yおよび2次色R、G、Bのカラー画像信号を図19の値とする。
この場合、例えばプリンタのWとKと、1次色Cを通る平面の式は、
(Dcg−Dcb)・Dr+(Dcb−Dcr)・Dg+(Dcr−Dcg)・Db=0…(1)
となる。同様に、プリンタのWとKと、1次色M、Yおよび2次色R、G、Bを通る平面の式は、それぞれ
(Dmg−Dmb)・Dr+(Dmb−Dmr)・Dg+(Dmr−Dmg)・Db=0…(2)
(Dyg−Dyb)・Dr+(Dyb−Dyr)・Dg+(Dyr−Dyg)・Db=0…(3)
(Drg−Drb)・Dr+(Drb−Drr)・Dg+(Drr−Drg)・Db=0…(4)
(Dgg−Dgb)・Dr+(Dgb−Dgr)・Dg+(DGR−Dgg)・Db=0…(5)
(Dbg−Dbb)・Dr+(Dbb−Dbr)・Dg+(Dbr−Dgb)・Db=0…(6)
となる。
また、(1)〜(6)式の左辺をそれぞれfc、fm、fy、fr、fg、fbとすると、カラー画像信号(Dr,Dg,Db)が各平面のどちら側にあるかは、それぞれfc、fm、fy、fr、fg、fbの演算結果の符号で判定できる。従って、カラー画像信号(Dr,Dg,Db)が上述した部分色空間の何れに属するかも、fc、fm、fy、fr、fg、fbの演算結果の符号で判定できる。
fc=(Dcg−Dcb)・Dr+(Dcb−Dcr)・Dg+(Dcr−Dcg)・Db…(7)
fm=(Dmg−Dmb)・Dr+(Dmb−Dmr)・Dg+(Dmr−Dmg)・Db…(8)
fy=(Dyg−Dyb)・Dr+(Dyb−Dyr)・Dg+(Dyr−Dyg)・Db…(9)
fr=(Drg−Drb)・Dr+(Drb−Drr)・Dg+(Drr−Drg)・Db…(10)
fg=(Dgg−Dgb)・Dr+(Dgb−Dgr)・Dg+(Dgr−Dgg)・Db…(11)
fb=(Dgb−Dbb)・Dr+(Dbb−Dbr)・Dg+(Dbr−Dbg)・Db…(12)
より具体的には、一般に、
fc≦0且つfb>0なら、C−Bの部分色空間に属する
fb≦0且つfm>0なら、B−Mの部分色空間に属する
fm≦0且つfr>0なら、M−Rの部分色空間に属する
fr≦0且つfy>0なら、R−Yの部分色空間に属する
fy≦0且つfg>0なら、Y−Gの部分色空間に属する
fg≦0且つfc≧0なら、G−Cの部分色空間に属する
…(13)
となる。
尚、無彩色(Dr=Dg=Db)も何れかの部分色空間に属させるため、前記ではG−Cの部分色空間のみ2つの不等式に等号記号を付けているが、無彩色(Dr=Dg=Db)はどの部分色空間に属させても良い。
以上のように(7)〜(13)式の処理を行なうことで、入力されたカラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定する。尚、(13)式の不等号の向きは図19の具体的な値で変わることがある。
【0010】
次に、部分色空間の判定結果に応じて、補正量算出処理302を行なう。ここで行なう補正量算出処理302は次式のように表すことできる。
X=Rx・Dr+Gx・Dg+Bx・Db+Cx …(14)
(ここで、Rx、Gx、Bx、Cxは部分色空間毎に定まる係数)
ここで、図7に、図5のカラー画像信号の色空間を無彩色軸Nが通る平面で切断した断面図の一例を示す。この断面図では、カラー画像信号の取り得る範囲801に対してプリンタの色再現範囲(斜線部)は802のような四角形になっており、色803、804はプリンタで色再現可能なこの断面(無彩色軸Nを挟んで両側の色相)で最も彩度が高い(無彩色軸から離れた)色に対応している。
また色805は、明度が高くプリンタの色再現範囲外となっている色の例である。即ち、色805は無彩色軸NのK方向(明度の低い方向)に移動させることで、プリンタの色再現範囲内に入る色であり、この時の接点を色806とする。また、色805をプリンタのK方向に移動させた時に、プリンタの色再現範囲内に入る接点を色807とする。ここで求めたいのは、入力された色をプリンタの色再現範囲内とするために最低限必要な無彩色軸NのK方向の補正量であり、図中では色805−色806間距離となる。
ところで、色805、806、807を頂点とする三角形と、色807、W、Kを頂点とする三角形は相似図形となっている。またW−K間距離は、図19に示したで既知である(=Dk−Dw)。従って、両三角形の大きさの比が判明すれば補正量(色805−色806間距離)を得ることができる。
そこで、色805−色807間距離と色807−K間距離の比率を求める。これは、Kにおいて“−1”、色803およびWにおいて“0”となる変換式を求めておき、この変換式を用いて計算できる。
また、補正量Xは次式により求められる。
補正量X=色805−色806間距離=(色805−色807間距離)/(色807−K間距離)×(W−K間距離)…(15)
尚、前記変換式を求める際に、Kにおいて“−1”の替わりに“−(W−K間距離)”、即ち、“−(Dk−Dw)”となる式を求めておけば、(15)式における乗算を省略することができる。
【0011】
以上は、特定の断面図上での説明であるが、これを上述した部分色空間に応用すれば、実際の処理にも用いることができる。
この場合、C−Bの部分色空間を例にすると、Kにおいて“−(Dk−Dw)”、C、BおよびWにおいて“0”となる変換式を求めれば良い。即ち、この条件を(16)式に代入し、連立方程式を解けば係数が求まる。
−(Dk−Dw)=Rx・Dkr+Gx・Dkg+Bx・Dkb+Cx
0 =Rx・Dwr+Gx・Dwg+Bx・Dwb+Cx
0 =Rx・Dcr+Gx・Dcg+Bx・Dcb+Cx
0 =Rx・Dbr+Gx・Dbg+Bx・Dbb+Cx
…(16)
【数1】

Figure 2004242040
他の色空間に関しても同様であり、例えば、B−Mの部分色空間では、
【数2】
Figure 2004242040
となる。
実際の処理では、上述のような部分色空間毎の係数Rx、Gx、Bx、Cxを予め求めておき、部分色空間の判定結果に応じて係数を切り換えて(14)式に示した演算を実施し、補正量Xを求める。尚、得られた補正量Xは正の場合のみ有効で、負の場合はプリンタの色再現範囲内の色に相当するので、補正なしを示す補正量(=0)に修正する。
以上のようにして求めた補正量Xは、そのままでも多くのプリンタの色再現範囲外の色に対して効果がある。
但し、この場合、彩度が高くて(無彩色軸から離れていて)、無彩色軸NのK方向(明度の低い方向)に移動させてもプリンタの色再現範囲内に入らない色が、補正なしを示す補正量にならないことがある。例えば、図7に示した色808に対しては、色804−W延長線上の色809に移動させる補正量が得られる。従ってこのような色を検出して、補正なしを示す補正量(=0)に修正するとより良い。
【0012】
図3の高彩度修正処理303は、このような色に対する処理を行なう。高彩度修正処理303では、始めに上述した部分色空間の判定結果に応じて、次式に示すような演算を行なって、彩度評価値Sを算出する。
S=Rs・Dr+Gs・Dg+Bs・Db+Cs …(19)
(ここで、Rs、Gs、Bs、Csは部分色空間毎に定まる係数)
(19)式の係数は、例えばC−Bの部分色空間を例にすると、KおよびWにおいて“0”、CおよびBにおいて“1”となる係数で良く、この条件を(19)式に代入し連立方程式を解けばその係数が求まる。
0=Rs・Dkr+Gs・Dkg+Bs・Dkb+Cs
0=Rs・Dwr+Gs・Dwg+Bs・Dwb+Cs
1=Rs・Dcr+Gs・Dcg+Bs・Dcb+Cs
1=Rs・Dbr+Gs・Dbg+Bs・Dbb+Cs
…(20)
【数3】
Figure 2004242040
他の色空間に関しても同様であり、例えば、B−Mの部分色空間では、
【数4】
Figure 2004242040
となる。
実際の処理では、上述のような部分色空間毎の係数Rs、Gs、Bs、Csを予め求めておき、部分色空間の判定結果に応じて係数を切り換えて(19)式に示した演算を実施し、彩度評価値Sを求める。(19)式の演算の結果、彩度評価値Sが“1”を超えた場合が、彩度が高くて(無彩色軸から離れていて)、無彩色軸NのK方向(明度の低い方向)に移動させてもプリンタの色再現範囲内に入らない色である。従って、彩度評価値Sが“1”を超えた場合は、補正なしを示す補正量(=0)に修正する。
以上のような処理を行なうことで高彩度修正処理303は実現され、これにより彩度が高くて(無彩色軸から離れていて)、無彩色軸NのK方向(明度の低い方向)に移動させてもプリンタの色再現範囲内に入らない色に対する補正量を、補正なし(=0)にすることができる。
尚、以上では、彩度評価値Sが“1”を超えた場合に補正なしとしたが、この値(“1”)は、前記例のCおよびBにおける値(“1”)に対応する。即ち、両者が同値であれば、任意に値で良い。また、“超える”、“超えない”も、前記例のKおよびWにおける値(“0”)とCおよびBにおける値(“1”)の大小関係で、変わるものである。
【0013】
次に、前記算出した補正量Xをどの程度入力されたカラー画像信号に反映するかを調整する補正量調整処理304を行なう。この補正量調整処理304は、例えば調整量をα(=0〜1)とした時に、
X’=α・X …(23)
なる処理を行なって、得られたX’を実際の補正量とすることで実現する。尚、この補正量調整処理304は、本発明に必須のものではないが、画像処理を行なわせる操作者が、本発明による補正を望まない場合(α=0)や補正が強すぎると判断した場合に調整可能なように(0<α<1)設けてある。また、この調整の要否の程度は取り扱う画像種類によることが多いので、色鉛筆・クレヨン等の画像種類の選択を可能にして、これに連動させて調整量を自動的に設定しても良い。
次に、得られた補正量X’を基にカラー画像信号(Dr,Dg,Db)を無彩色軸NのK方向に補正する明度補正処理305を行なう。この明度補正処理305は、例えば次式のようなカラー画像信号(Dr,Dg,Db)と補正量X’の加算処理で実現する。
Dr’=Dr+X’
Dg’=Dg+X’
Db’=Db+X’
…(24)
以上のように本発明係るの画像処理方法では、明度が高くプリンタの色再現範囲外となっている色を、無彩色軸NのK方向に移動して、プリンタの色再現範囲内の色に変換する(α=1の場合)。また、無彩色軸方向に移動するので、色度を保った補正が可能となり、元画像と遜色のない画像を得ることができる。
次に、得られたカラー画像信号(Dr’、Dg’、Db’)を元に、プリンタで使用する色材C(シアン)、M(マゼンタ)、Y(イエロー)およびK(ブラック)に応じたカラー記録信号(Dc、Dm、Dy、Dk)に変換する色変換処理306を行なう。
【0014】
本発明の色変換処理306は、カラー画像信号(Dr’、Dg’、Db’)の色空間を図6と同様に、無彩色軸N(Dr’=Dg’=Db’)と1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切って6つの部分色空間に分割して、入力されたカラー画像信号(Dr’、Dg’、Db’)がどの部分色空間に属するかを判定し、その部分色空間の判定結果に応じて行なう。
尚、ここで行なう色変換処理306は次式のように表すことできる。
【数5】
Figure 2004242040
また、図19に示したプリンタのWとK、1次色C、M、Yおよび2次色R、G、Bに対応するプリンタ各色材の最適な記録信号を、図20の値とする。
C−Bの部分色空間を例にすると、W、K、C、Bにおけるカラー画像信号(Dr’、Dg’、Db’)とカラー記録信号(Dc、Dm、Dy、Dk)の対応関係は図21のようになり、(25)式の係数は、図21の対応関係を元に、W、K、C、Bに関する連立方程式を解くことで求めることができる。
【数6】
Figure 2004242040
【数7】
Figure 2004242040
他の色空間に関しても同様であり、例えば、B−Mの部分色空間では、
【数8】
Figure 2004242040
となる。
実際の処理では、上述のような部分色空間毎の係数Mcr、Mcg、…、Mkcを予め求めておき、部分色空間の判定結果に応じて係数を切り換えて(25)式に示した演算を実施し、カラー記録信号(Dc、Dm、Dy、Dk)を得る。
【0015】
ところで、本発明の補正量算出処理302、高彩度修正処理303および色変換処理306は、カラー画像信号の色空間を、無彩色軸Nと、1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切って6つの部分色空間に分割して行なっている。また、明度補正処理305では無彩色軸方向にカラー画像信号の移動するので、色度は保たれている。従って、移動前のカラー画像信号(Dr,Dg,Db)に基づく色相領域判定結果と、移動後のカラー画像信号(Dr’、Dg’、Db’)に基づく色相領域判定結果は、同じになる。よって本発明の色変換処理306では、移動前のカラー画像信号(Dr,Dg,Db)に基づく色相領域判定処理301の結果をそのまま使用して、係数の切り換えを行なう。これにより、色変換処理306専用の色相領域判定処理が不要となり、処理の高速化が可能となる。
尚、本発明の色変換処理306が出力するカラー記録信号(Dc、Dm、Dy)は、Kの色材を使わない(Dk=0)事を前提とした値になっている。よって、次にカラー記録信号Dkに応じてカラー記録信号Dc、Dm、Dyを補正するUCR(UnderColorRemoval:下色除去)処理307を行なう。UCR処理307は、一般に(29)式に示すように、カラー記録信号Dc、Dm、Dyからカラー記録信号Dkを減算することで実現する。
Dc’=Dc−Dk
Dm’=Dm−Dk
Dy’=Dy−Dk
…(29)
【0016】
次に、図4に本発明に係る画像処理装置のブロック図の一例を示し、以下では図4を参照して本発明の説明を行なう。
図示しない画像信号入力装置が出力するカラー画像信号(Dr,Dg,Db)は、色相領域判定回路401(色相領域判定手段)、補正量算出回路402(補正量算出手段)、高彩度修正回路403(高彩度修正手段)および明度補正回路404(明度補正手段)に入力される。
色相領域判定回路401は、カラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定する回路で、図8にその詳細を示す。
図8を参照すると、カラー画像信号(Dr,Dg,Db)はfx値演算回路901に入力される。
fx値演算回路901は、前記(7)〜(12)式に例示した積和演算をそれぞれ行なって結果を出力する回路で、演算結果fc、fm、fy、fr、fg、fbは、領域コード生成回路902へ出力される。
領域コード生成回路902は、前記(13)式に例示した比較および論理演算を行なって、どの部分色空間に属するかを判定し、その結果に応じて例えば以下に示すような領域コード信号codeを出力する。
C−Bの部分色空間なら、領域コード:0
B−Mの部分色空間なら、領域コード:1
M−Rの部分色空間なら、領域コード:2
R−Yの部分色空間なら、領域コード:3
Y−Gの部分色空間なら、領域コード:4
G−Cの部分色空間なら、領域コード:5
…(30)
以上のように、fx値演算回路901および領域コード生成回路902によれば、カラー画像信号(Dr,Dg,Db)の色空間を、図6に示すように無彩色軸N(Dr=Dg=Db)と1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切って6つの部分色空間に分割し、入力されたカラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定する色相領域判定回路401を実現できる。
【0017】
一方、補正量算出回路402は、入力されたカラー画像信号(Dr,Dg,Db)をプリンタの色再現範囲内とするために最低限必要な無彩色軸NのK方向の補正量X2を算出する回路で、色相領域判定回路401により得られた領域コード信号codeも入力されている。図15にその詳細を示す。
図15を参照すると、領域コード信号codeが入力されるX係数メモリ1601は、前記(17)、(18)式等で算出された部分色空間毎の係数Rx、Gx、Bx、Cxを記憶するメモリ等で構成された回路で、入力された領域コード信号codeに応じて対応する部分色空間の係数Rx、Gx、Bx、CxをX値演算回路1602へ出力する。
カラー画像信号(Dr,Dg,Db)が入力されるX値演算回路1602は、前記(14)式に示した積和演算を行なって結果を出力する回路で、演算結果X1はコンパレータ1603およびセレクタ1604へ出力される。
コンパレータ1603は入力された演算結果X1を“値0”と比較する回路で、比較結果はセレクタ1604へ出力される。
セレクタ1604は入力された演算結果X1あるいは“値0”を選択出力する回路で、補正量X2として出力する。ここで、セレクタ1604の動作はコンパレータ1603の比較結果で制御されており、演算結果X1が0より小さい場合は、“値0”を選択出力する。
【0018】
一方、高彩度修正回路403は、彩度が高くて(無彩色軸から離れていて)、無彩色軸NのK方向(明度の低い方向)に移動させてもプリンタの色再現範囲内に入らない色が、補正なしを示す補正量にならない場合の補正をする回路で、色相領域判定回路401により得られた領域コード信号codeおよび補正量算出回路402により得られた補正量X2も入力されている。図16にその詳細を示す。
図16を参照すると、領域コード信号codeが入力されるS係数メモリ1701は、前記(21)、(22)式等で算出された部分色空間毎の係数Rs、Gs、Bs、Csを記憶するメモリ等で構成された回路で、入力された領域コード値codeに応じて対応する部分色空間の係数Rs、Gs、Bs、CsをS値演算回路1702へ出力する。
カラー画像信号(Dr,Dg,Db)が入力されるS値演算回路1702は、前記(19)式に示した積和演算を行なって結果を出力する回路で、演算結果Sはコンパレータ1703に出力される。
コンパレータ1703は入力された演算結果Sを“値1”と比較する回路で、比較結果はセレクタ1704へ出力される。
セレクタ1704は入力された補正量X2あるいは“値0”を選択出力する回路で、補正量X3として出力する。ここで、セレクタ1704の動作はコンパレータ1703の比較結果で制御されており、演算結果Sが1を超えた場合は、“値0”を選択出力する。
以上のように、X係数メモリ1601、X値演算回路1602、コンパレータ1603およびセレクタ1604によれば、入力された色をプリンタの色再現範囲内とするために最低限必要な無彩色軸NのK方向の補正量を算出する補正量算出回路402を実現できる。尚、この補正量算出回路402の出力する補正量X2を、高彩度修正回路403を通さずそのまま出力しても、多くのプリンタの色再現範囲外の色に対して効果がある。
しかし、S係数メモリ1701、S値演算回路1702、コンパレータ1703およびセレクタ1704によれば、彩度が高くて(無彩色軸から離れていて)、無彩色軸NのK方向(明度の低い方向)に移動させてもプリンタの色再現範囲内に入らない色を補正なしにする高彩度修正回路403を実現できるので、入力された色をプリンタの色再現範囲内とするために最低限必要な無彩色軸NのK方向の補正量をより正確に算出することができる。
尚、上述したfx値演算回路901における(7)〜(12)式の係数と、X係数メモリ1601およびS係数メモリ1701の係数は書換え可能になっており、これらは画像処理装置全体を制御するシステム制御回路411によって予め設定されている。
【0019】
次に、高彩度修正回路403により得られた補正量X3は、補正量調整回路405(補正量調整手段)に入力される。
補正量調整回路405は、入力された補正量X3をどの程度カラー画像信号(Dr,Dg,Db)に反映するかを調整する回路で、例えば調整量をα(=0〜1)とした時に、(23)式に示したような演算を乗算器等で行なって、算出したX4を実際の補正量として出力する。尚、この補正量調整回路405は、本発明に必須のものではないが、画像処理を行なわせる操作者が、本発明による補正を望まない場合(α=0)や補正が強すぎると判断した場合に調整可能なように(0<α<1)設けてある。尚、調整量αは、操作者による設定が可能な調整量設定回路406から入力される。また、この調整の要否の程度は取り扱う画像種類によることが多いので、色鉛筆・クレヨン等の画像種類の選択を可能にし、これに連動してシステム制御回路411が調整量αを設定しても良い。
次に、補正量調整回路405により得られた補正量補正量X4は、明度補正回路407(明度補正手段)に入力される。
明度補正回路407は、入力された補正量X4を基にカラー画像信号(Dr,Dg,Db)を明度方向に補正する回路で、例えば(24)式に示したような演算を加算器等で行なって、算出したDr’、Dg’、Db’をカラー画像信号として出力する。
以上のように本発明係るの画像処理装置では、明度が高くプリンタの色再現範囲外となっている色を、無彩色軸NのK方向に移動して、プリンタの色再現範囲内の色に変換する(α=1の場合)。また、無彩色軸方向の移動するので、色度を保った補正が可能となり、元画像と遜色のない画像を得ることができる。
次に、明度補正回路407により得られたカラー画像信号(Dr’、Dg’、Db’)は、色変換回路408(色変換手段)に入力される。
色変換回路408は、入力されたカラー画像信号(Dr’、Dg’、Db’)を、プリンタで使用する色材C、M、YおよびKに応じたカラー記録信号(Dc、Dm、Dy、Dk)に変換する回路である。
尚、本発明の色変換回路408では、カラー画像信号(Dr’、Dg’、Db’)の色空間を図6と同様な、無彩色軸N(Dr’=Dg’=Db’)と1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切って6つの部分色空間に分割して、入力されたカラー画像信号(Dr’、Dg’、Db’)がどの部分色空間に属するかを判定し、その部分色空間の判定結果に応じた処理を行なう。このため、カラー画像信号(Dr’、Dg’、Db’)に関しても、色相領域判定回路401と同等な回路が必要となる。
【0020】
しかし、上述したように本発明の明度補正回路407は色度を保った補正を行なうので、カラー画像信号(Dr’、Dg’、Db’)に基づく判定結果と、カラー画像信号(Dr,Dg,Db)に基づく判定結果は同じになる。従って、本発明の色変換回路408は、色相領域判定回路401の領域コード信号codeを参照して処理を行なう。図17にその詳細を示す。
図17を参照すると、領域コード信号codeが入力されるC係数メモリ1801、M係数メモリ1802、Y係数メモリ1803およびK係数メモリ1804は、前記(27)、(28)式等で算出された部分色空間毎の係数Mcr、Mcg、Mcb、Mcc、係数Mmr、Mmg、Mmb、Mmc、係数Myr、Myg、Myb、Mycおよび係数Mkr、Mkg、Mkb、Mkcをそれぞれ記憶するメモリ等で構成された回路で、入力された領域コード信号codeに応じた部分色空間の係数を、対応するC演算回路1805、M演算回路1806、Y演算回路1807およびK演算回路1808へそれぞれ出力する。
カラー画像信号(Dr’、Dg’、Db’)が入力されるC演算回路1805、M演算回路1806、Y演算回路1807およびK演算回路1808は、前記(25)式に示した積和演算を分担して行なって、カラー記録信号(Dc、Dm、Dy、Dk)を結果として出力する。
以上のように色変換回路408は、色相領域判定回路401の領域コード信号codeに応じて、入力されたカラー画像信号(Dr’、Dg’、Db’)を、プリンタで使用する色材C、M、YおよびKに応じたカラー記録信号(Dc、Dm、Dy、Dk)に変換するので、入力されたカラー画像信号(Dr’、Dg’、Db’)がどの部分色空間に属するかを判定しなくても実現できる。
尚、上述したC係数メモリ1801、M係数メモリ1802、Y係数メモリ1803およびK係数メモリ1804の係数は書換え可能になっており、これらは画像処理装置全体を制御するシステム制御回路411によって予め設定されている。
次に、色変換回路408により得られたカラー記録信号(Dc、Dm、Dy、Dk)は、UCR回路409に入力される。
【0021】
ここで、色変換回路408が出力するカラー記録信号(Dc、Dm、Dy)は、Kの色材を使わない(Dk=0)事を前提としている。このためカラー記録信号Dkに応じてカラー記録信号Dc、Dm、Dyを補正する必要があり、UCR回路409がこの役割を果たす。図18にその詳細を示す。
図18を参照すると、カラー記録信号Dc、Dm、DyはそれぞれCUCR回路1901、MUCR回路1902およびYUCR回路1903に入力され、カラー記録信号Dkは各UCR回路1901〜1903に入力されている。
CUCR回路1901、MUCR回路1902およびYUCR回路1903は、例えば前記(29)式に示したような演算を加算器等で分担して行なって、算出したDc’、Dm’、Dy’をカラー記録信号として出力する。
以上のようにUCR回路409は、カラー記録信号Dkに応じてカラー記録信号Dc、Dm、Dyを補正する。尚、UCR回路409のカラー記録信号(Dc’、Dm’、Dy’、Dk)は、図示しない画像信号出力装置に出力され、画像の記録に使用される。
また以上で説明した色相領域判定処理301および色相領域判定回路401では、カラー画像信号(Dr,Dg,Db)を3次元色空間のまま取り扱ったが、無彩色軸Nが1点に写像される2次元平面で取り扱うようにしても良い。
例えば、図6に示した部分色空間を、カラー画像信号の差分信号“Dg−Dr”および“Db−Dg”を2軸とする平面に写像すると、図9のようになる。即ち、無彩色軸N上の色(Dnr=Dng=Dnb)は、
(Dng−Dnr、Dnb−Dng)=(0、0) …(31)
となって1点nに写像され、その周囲にはプリンタの1次色C、M、Yおよび2次色R、G、Bが配置される。そして6つの部分色空間は、無彩色nとC、M、Y、R、G、Bをそれぞれ結んだ直線で区分された領域に写像される。
ここで、
GR=Dg−Dr …(32)
BG=Db−Dg …(33)
とする。この場合、無彩色nとC、M、Y、R、G、Bをそれぞれ結んだ直線は以下のようになる。
BG=(Dcb−Dcg)/(Dcg−Dcr)・GR(但し、Dcg−Dcr≠0)…(34)
BG=(Dmb−Dmg)/(Dmg−Dmr)・GR(但し、Dmg−Dmr≠0)…(35)
BG=(Dyb−Dyg)/(Dyg−Dyr)・GR(但し、Dyg−Dyr≠0)…(36)
BG=(Drb−Drg)/(Drg−Drr)・GR(但し、Drg−Drr≠0)…(37)
BG=(Dgb−Dgg)/(Dgg−DGR)・GR(但し、Dgg−DGR≠0)…(38)
BG=(Dbb−DBG)/(DBG−Dbr)・GR(但し、DBG−Dbr≠0)…(39)
【0022】
また、(34)〜(39)式の右辺をそれぞれfc’、fm’、fy’、fr’、fg’、fb’とすると、カラー画像信号の差分信号(Db−Dg、Dg−Dr)が直線のどちら側にあるかは、それぞれfc’、fm’、fy’、fr’、fg’、fb’の演算結果とBG(=Db−Dg)との大小関係で判定できる。従って、カラー画像信号(Dr,Dg,Db)が上述の部分色空間の何れに属するかも判定できる。
fc’=(Dcb−Dcg)/(Dcg−Dcr)・GR …(40)
fm’=(Dmb−Dmg)/(Dmg−Dmr)・GR …(41)
fy’=(Dyb−Dyg)/(Dyg−Dyr)・GR …(42)
fr’=(Drb−Drg)/(Drg−Drr)・GR …(43)
fg’=(Dgb−Dgg)/(Dgg−DGR)・GR …(44)
fb’=(Dbb−DBG)/(DBG−Dbr)・GR …(45)
より具体的には、一般に、
BG≦fc’且つBG>fb’なら、C−Bの部分色空間に属する
BG≦fb’且つBG<fm’なら、B−Mの部分色空間に属する
BG≧fm’且つBG<fr’なら、M−Rの部分色空間に属する
BG≧fr’且つBG<fy’なら、R−Yの部分色空間に属する
BG≧fy’且つBG>fg’なら、Y−Gの部分色空間に属する
BG≦fg’且つBG≧fc’なら、G−Cの部分色空間に属する
…(46)
となる。尚、無彩色(Dr=Dg=Db)も何れかの部分色空間に属させるため、前記ではG−Cの部分色空間のみ2つの不等式に等号記号を付けているが、無彩色(Dr=Dg=Db)はどの部分色空間に属させても良い。
【0023】
図10に本発明に係る色相領域判定処理の流れ図の一例を示し、以下では図10を参照して本発明の説明を行なう。
始めに、入力されたカラー画像信号(Dr,Dg,Db)を無彩色軸Nが1点に写像される2次元平面写像して2次元座標値を得る2次元化処理1101を行なう。これは例えば上述の(32)および(33)式に対応する。
次に、得られた2次元座標値に基づいて評価値を算出する評価値算出処理1102を行なう。この評価値は例えば前記(40)〜(45)式のfc’、fm’、fy’、fr’、fg’、fb’に対応する。尚、各式の傾き、例えば“(Dcb−Dcg)/(Dcg−Dcr)”等は、予め求めておくと良い。
次に、得られた2次元座標値および評価値に基づいて、どの部分色空間に属するかを決定する色相領域決定処理を行なう。これは例えば上述の(46)式に対応する。
以上のように、図10に示した色相領域判定処理によれば、入力されたカラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定することができ、無彩色軸Nが1点に写像される2次元平面で扱うので、3次元色空間のまま取り扱う場合に比べて処理が容易になる。
【0024】
また、図11に本発明に係る色相領域判定回路のブロック図の一例を示し、以下では図11を参照して本発明の説明を行なう。
図11の色相領域判定回路は、上述した色相領域判定処理を実施する回路で、入力されたカラー画像信号(Dr,Dg,Db)は差分回路1201、1202(第1二次元化手段)に入力される。
差分回路1201は、(32)式に例示した差分を演算する回路で、演算結果GRはfx’値演算回路1203へ出力される。また差分回路1102は、(33)式に例示した差分を演算する回路で、演算結果BGは領域コード生成回路1204へ出力される。
fx’値演算回路1203は、(40)〜(45)式に例示した乗算をそれぞれ行なって結果を出力する回路で、演算結果fc’、fm’、fy’、fr’、fg’、fb’は、領域コード生成回路1204へ出力される。
領域コード生成回路1204は、前記(46)式に例示した比較および論理演算を行なって、どの部分色空間に属するかを判定し、その結果に応じて前記例示した領域コード値codeを出力する。
以上のように、図11に示した色相領域判定回路によれば、入力されたカラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定し、その結果に応じた領域コード値を出力するすることができ、無彩色軸Nが1点に写像される2次元平面で扱うので、3次元色空間のまま取り扱う場合に比べて回路規模を小さくなる。
尚、上述したfx’値演算回路1203における(40)〜(45)式の係数は書換え可能になっており、これらは画像処理装置全体を制御するシステム制御回路1205によって予め設定されている。
また、以上で説明した図10の色相領域判定処理および図11の色相領域判定回路では、カラー画像信号(Dr,Dg,Db)を無彩色軸Nが1点に写像される2次元平面に写像したまま取り扱ったが、例えば図9に示したように、特定方向を基準(=0)とした色相角HUEを算出して取り扱っても、色相領域を判定できる。尚、この場合の色相角HUEは、差分信号の座標値(Dg−Dr、Db−Dg)から三角関数等により算出する。
【0025】
また、以下で説明するように色相角HUEに対して単調増加となる代替量(擬似色相角H)を算出して取り扱うようにしても良い。
この方法では、カラー画像信号の差分信号GR(=Dg−Dr)およびBG(=Db−Dg)を2軸とする平面を、例えば図12に示すように8つ領域に均等に分割し、差分信号がどの領域に位置するかを始めに判定する。ここで、各領域には順番に“0〜7”の値Haを割り当てる。この値Haは上位の擬似色相角に相当し、具体的には以下のような処理を行なう。
GR>0 且つBG>0 且つBG≦GRならば、Ha=0
GR>0 且つBG>0 且つBG>GRならば、Ha=1
GR≦0 且つBG>0 且つBG>−GRならば、Ha=2
GR≦0 且つBG>0 且つBG≦−GRならば、Ha=3
GR≦0 且つBG≦0 且つBG>GRならば、Ha=4
GR≦0 且つBG≦0 且つBG≦GRならば、Ha=5
GR>0 且つBG≦0 且つBG≦−GRならば、Ha=6
GR>0 且つBG≦0 且つBG>−GRならば、Ha=7
…(47)
次に、前記結果に応じて差分信号の座標値(GR、BG)を回転し、特定の領域、例えば第13図の領域“Ha=0”に移動させた座標値(gr、bg)を得る。具体的には以下のような処理を行なう。
Ha=0ならば、gr=GR、bg=BG
Ha=1ならば、gr=GR+BG、bg=−GR+BG
Ha=2ならば、gr=BG、bg=−GR
Ha=3ならば、gr=−GR+BG、bg=−GR−BG
Ha=4ならば、gr=GR、bg=BG
Ha=5ならば、gr=−GR−BG、bg=GR−BG
Ha=6ならば、gr=GR、bg=BG
Ha=7ならば、gr=GR−BG、bg=GR+BG
…(48)
尚、純粋に座標を回転する場合は、Ha=1、3、5、7の時にgrおよびbgをそれぞれ1/√2倍する必要がある。しかし、ここでは角度の検出だけを目的としているため、1/√2倍の処理を省略している。
【0026】
次に、座標位置(gr、bg)における角度を表す量、例えばgrとbgの比Hbを算出する。
Hb=bg/gr (但し、gr=0ならばHb=0) …(49)
この値Hbは、領域“Ha=0”に移動した時の角度を間接的に表しており、下位の擬似色相角に相当する。
次に、得られた上位の擬似色相角Haおよび下位の擬似色相角Hbから、最終的な擬似色相角Hを算出する。以上では、差分信号平面(GR、BG)を8領域に均等に分割し、これを領域“Ha=0”に回転しているので、“bg≦gr”となっている。従って“Hb≦1”となり、前記値Haと加算しても単調増加が維持される。即ち、色相角HUEに対して単調増加となる代替量、擬似色相角Hを次式により得ることができる。
H=Ha+Hb …(50)
また、以上で説明した手順で求めた、プリンタの1次色C、M、Yおよび2次色R、G、Bの擬似色相角を、それぞれHc、Hm、Hy、Hr、Hg、Hbとすると、これらを得られた擬似色相角Hと比較することで、カラー画像信号(Dr,Dg,Db)が上述した部分色空間の何れに属するかを決定できる。
より具体的には、図9の位置関係の場合、
H≧Hc且つH<Hbなら、C−Bの部分色空間に属する
H≧Hb且つH<Hmなら、B−Mの部分色空間に属する
H≧Hm且つH<Hrなら、M−Rの部分色空間に属する
H≧HrまたはH<Hyなら、R−Yの部分色空間に属する
H≧Hy且つH<Hgなら、Y−Gの部分色空間に属する
H≧Hg且つH<Hcなら、G−Cの部分色空間に属する
…(51)
となる。尚、無彩色(Dr=Dg=Db)も何れかの部分色空間に属させるため、前記では(47)、(49)式により“Ha=5、Hb=0”、即ち、“H=5.0”としたが、無彩色(Dr=Dg=Db)はどの擬似色相角に変換しても良い。
【0027】
図13に本発明に係る色相領域判定処理の流れ図の一例を示し、以下では図13を参照して本発明の説明を行なう。
始めに、入力されたカラー画像信号(Dr,Dg,Db)を無彩色軸Nが1点に写像される2次元平面写像して2次元座標を得る2次元化処理1401を行なう。これは上述の2次元化処理1101と同じである。
次に、得られた2次元座標の上位の擬似色相角Haを決定する上位色相決定処理1402を行なう。これは例えば上述の(47)式に対応する。
次に、得られた上位の擬似色相角Haに応じて2次元座標を回転し、特定の領域に移動する座標回転処理1403を行なう。これは例えば上述の(48)式に対応する。
次に、移動した2次元座標に応じて下位の擬似色相角Hbを決定する下位色相決定処理1404を行なう。これは例えば上述の(49)式に対応する。
次に、得られた上位の擬似色相角Haおよび下位の擬似色相角Hbに基づいて擬似色相角Hを算出し、これを、予め同様な手順で求めておいたプリンタの1次色C、M、Yおよび2次色R、G、Bの擬似色相角をHc、Hm、Hy、Hr、Hg、Hbとの比較し、どの部分色空間に属するかを決定する色相領域決定処理1405を行なう。これは例えば上述の(50)、(51)式に対応する。
以上のように、図13に示した色相領域判定処理によれば、入力されたカラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定することができ、色相角HUEに対して単調増加となる代替量(擬似色相角H)を算出して取り扱うので、3次元色空間のまま取り扱う場合に比べて処理が容易になる。
【0028】
また、図14に本発明に係る色相領域判定回路のブロック図の一例を示し、以下では図14を参照して本発明の説明を行なう。
図14の色相領域判定回路は、上述した色相領域判定処理を実施する回路で、入力されたカラー画像信号(Dr,Dg,Db)は差分回路1501、1502(第2二次元化手段)に入力される。
差分回路1501は上述の差分回路1201と同じ回路、差分回路1502は上述の差分回路1102はと同じ回路で、それぞれの演算結果GRおよびBGは上位色相決定回路1503および座標回転回路1504へ出力される。
上位色相決定回路1503は、(47)式に例示した比較および論理演算を行なって上位の擬似色相角Haを決定する回路で、結果は座標回転回路1504および下位色相決定回路1505へ出力される。なお、請求項において、疑似色相角算出手段は上位色相決定回路1503、座標回転回路1504、下位色相決定回路1505を意味する。
座標回転回路1504は、(48)式に例示したように上位の擬似色相角Haに応じて、差分信号(GR、BG)を回転して特定の領域に移動する回路で、回転後の差分信号(gr、bg)は、下位色相決定回路1505へ出力される。
下位色相決定回路1505は、(49)式に例示した座標位置における角度を表す量を算出する回路で、得られた下位の擬似色相角Hbは領域コード生成回路1505へ出力される。
領域コード生成回路1505は、前記(51)式に例示した比較および論理演算を行なって、どの部分色空間に属するかを決定し、その結果に応じて前記例示した領域コード値codeを出力する。
以上のように、図14に示した色相領域判定回路によれば、入力されたカラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定し、その結果に応じた領域コード値を出力するすることができ、色相角HUEに対して単調増加となる代替量(擬似色相角H)を算出して取り扱うので、3次元色空間のまま取り扱う場合に比べて回路規模が小さくなる。
尚、上述した領域コード生成回路1505における(51)式の擬似色相角Hc、Hm、Hy、Hr、Hg、Hbは書換え可能になっており、これらは画像処理装置全体を制御するシステム制御回路1506によって予め設定されている。また以上では、カラー画像信号(Dr,Dg,Db)を2次元平面に写像する際に、(25)、(26)式に例示し方法で説明したが、無彩色軸Nが1点に写像されれば良く他の方法で良く、一般的には以下のような式で表すことができる。
2次元座標(I、J)
I=Ri・Dr+Gi・Dg+Bi・Db
J=Rj・Dr+Gj・Dg+Bj・Db
但し、ri+gi+bi=0rj+gj+bj=0
…(52)
したがって、(52)式を用いてカラー画像信号を二次元平面に写像してもよい。
【0029】
【発明の効果】
以上説明したように請求項1記載の発明によれば、カラー画像信号の色空間を無彩色軸Nと1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切り、6つの部分色空間に分割し、入力カラー画像信号がどの部分色空間に属するかを色相領域を判定し、前記入力カラー画像信号をプリンタの色再現範囲内とするための補正量を算出し、算出した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正し、前記判定した色相領域に応じて前記補正したカラー画像信号をプリンタの色材に対応したカラー記録信号に変換したので、画像出力系の色再現範囲外の色の画像信号の入力に際し、その画像信号を明度方向に補正して元画像と遜色のないプリンタ用画像を得るための画像処理方法を容易に実現することができる。
請求項2記載の発明によれば、入力カラー画像信号の彩度が高く、無彩色軸方向に補正してもプリンタの色再現範囲内に入らない場合、前記補正量を抑制し、前記入力カラー画像信号を抑制した補正量に基づいて無彩色軸方向に補正したので、彩度が高くて無彩色軸方向に移動させてもプリンタの色再現範囲内に入らない色の補正量を抑制することができ、より精度の高い画像処理方法を実現することができる。
請求項3記載の発明によれば、前記算出された補正量を調整し、該調整した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正したので無彩色軸方向の補正を望まない場合や補正が強すぎると判断した場合に調整可能でき、操作性に優れた画像処理方法を実現することができる。
【0030】
請求項4記載の発明によれば、前記抑制された補正量を調整し、該調整した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正したので、無彩色軸方向の補正を望まない場合や補正が強すぎると判断した場合に調整可能でき、操作性に優れた画像処理方法を実現することができる。
請求項5記載の発明によれば、入力したカラー画像信号を無彩色軸が1点に写像される2次元平面に写像して色相領域を判定したので、3次元色空間のまま取り扱う場合に比べて処理が容易になり、より容易な画像処理方法を実現することができる。
請求項6記載の発明によれば、入力したカラー画像信号を無彩色軸が1点に写像される2次元平面に写像し、写像されたカラー画像信号の色相角に対して単調増加となる代替量を算出し、色相領域を判定したので3次元色空間のまま取り扱う場合に比べて処理が容易になり、より容易な画像処理方法を実現することができる。
請求項7記載の発明によれば、入力されたカラー画像信号が表す色が属する色相領域を判定する色相領域判定手段と、前記判定した色相領域に応じて、前記入力カラー画像信号が表す色をプリンタの色再現範囲内とするために最低限必要な無彩色軸方向の補正量を算出する補正量算出手段と、前記補正量を基にカラー画像信号を無彩色軸方向に補正する明度補正手段と、前記判定した色相領域に応じて、前記補正されたカラー画像信号をプリンタの色材に対応したカラー記録信号に変換する色変換手段とを備えたので、明度補正手段がカラー画像信号を無彩色軸方向に補正するため、補正後カラー画像信号の色相領域判定は補正前カラー画像信号の色相領域判定と同じになり、更に色変換手段用の色相領域判定に色相領域判定手段の色相領域判定結果を使うことで、画像出力系の色再現範囲外の色の画像信号の入力に際し、その画像信号を明度方向に補正して元画像と遜色のないプリンタ用画像を得るための簡素な画像処理装置を実現することができる。
請求項8記載の発明によれば、前記入力カラー画像信号の表す色が、彩度が高くて無彩色軸方向に移動させてもプリンタの色再現範囲内に入らない時に、前記算出した補正量を抑制する高彩度修正手段を有し、前記明度補正手段は前記抑制された補正量を基にカラー画像信号を無彩色軸方向に補正したので、彩度が高くて無彩色軸方向に移動させてもプリンタの色再現範囲内に入らない色の補正量を抑制することができ、より精度の高い画像処理装置を実現することができる。
【0031】
請求項9記載の発明によれば、前記算出した補正量の大きさを調整する補正量調整手段を有し、前記明度補正手段は前記調整された補正量を基にカラー画像信号を無彩色軸方向に補正したので、無彩色軸方向の補正を望まない場合や補正が強すぎると判断した場合に調整可能でき、操作性に優れた画像処理装置を実現することができる。
請求項10記載の発明によれば、前記抑制された補正量の大きさを調整する補正量調整手段を有し、前記明度補正手段は前記調整された補正量を基にカラー画像信号を無彩色軸方向に補正したので、無彩色軸方向の補正を望まない場合や補正が強すぎると判断した場合に調整可能でき、操作性に優れた画像処理装置を実現することができる。
請求項11記載の発明によれば、前記色相領域判定手段は、入力されたカラー画像信号を無彩色軸が1点に写像される2次元平面に写像する第1の2次元化手段を備えたので、3次元色空間のまま取り扱う場合に比べて回路規模が小さくなり、より簡素な画像処理装置を実現することができる。
請求項12記載の発明によれば、前記色相領域判定手段は、入力されたカラー画像信号を無彩色軸が1点に写像される2次元平面に写像する第2の2次元化手段と、前記2次元平面に写像されたカラー画像信号の色相角に対して単調増加となる代替量を算出する擬似色相角算出手段とを備えたので、3次元色空間のまま取り扱う場合に比べて回路規模が小さくなり、より簡素な画像処理装置を実現することができる。
【図面の簡単な説明】
【図1】本発明のカラー画像信号(Dr,Dg,Db)の色空間とプリンタの色再現範囲との関係の一例を示す図である。
【図2】本発明の図1のカラー画像信号(Dr,Dg,Db)の色空間を無彩色軸Nが通る平面で切断した断面図である。
【図3】本発明の画像処理方法のフローを示す図である。
【図4】本発明の画像処理装置のブロック図である。
【図5】本発明のカラー画像信号の色空間の図である。
【図6】本発明のカラー画像信号(Dr,Dg,Db)の色空間を、無彩色軸N(Dr=Dg=Db)と1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切った図である。
【図7】本発明の図5のカラー画像信号の色空間を無彩色軸Nが通る平面で切断した断面図である。
【図8】本発明のカラー画像信号(Dr,Dg,Db)がどの部分色空間に属するかを判定する回路図である。
【図9】本発明の図6に示した部分色空間を、カラー画像信号の差分信号“Dg−Dr”および“Db−Dg”を2軸とする平面に写像した図である。
【図10】本発明の色相領域判定処理のフロー図である。
【図11】本発明の色相領域判定回路のブロック図である。
【図12】本発明のカラー画像信号の差分信号GR(=Dg−Dr)およびBG(=Db−Dg)を2軸とする平面を、8つ領域に均等に分割した図である。
【図13】本発明の色相領域判定処理のフロー図である。
【図14】本発明の色相領域判定回路のブロック図である。
【図15】本発明の補正量算出回路の詳細図である。
【図16】本発明の高彩度修正回路403の詳細図である。
【図17】本発明の色変換回路408の詳細図である。
【図18】本発明のUCR回路409の詳細図である。
【図19】本発明のプリンタのWとK、1次色C、M、Yおよび2次色R、G、Bのカラー画像信号を表す図である。
【図20】本発明の図19に示したプリンタのWとK、1次色C、M、Yおよび2次色R、G、Bに対応するプリンタ各色材の最適な記録信号を表す図である。
【図21】本発明のW、K、C、Bにおけるカラー画像信号(Dr’、Dg’、Db’)とカラー記録信号(Dc、Dm、Dy、Dk)の対応関係を表す図である。
【符号の説明】
401 色相領域判定回路、402 補正量算出回路、403 高彩度修正回路、404 明度補正回路、405 補正量調整回路、406 調整量設定回路、407 明度補正回路、408 色変換回路、409 UCR[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing method and an image processing apparatus when the color gamut of an image input system and the color gamut of an image output system are different, and particularly when an image signal of a color outside the color gamut of an image output system is input, The present invention relates to an image processing method and an image processing apparatus for correcting an image signal to obtain an image comparable to an original image.
[0002]
[Prior art]
Conventionally, the hue of color image data is detected based on R (red), G (green), and B (blue) signals, and the hue of C (cyan), M (magenta), Y (yellow), and K (black) is detected. Japanese Patent Application Laid-Open No. H10-257334 discloses a color correction processing device suitable for converting a color signal into a color signal. The color correction processing device determines a hue area to which a color represented by an input color image signal belongs and determines a color image. The signal is converted into a color recording signal corresponding to the color material of the printer.
On the other hand, as described above, a camera or a scanner that expresses colors in the RGB system, which is additive color mixture, and a printer that expresses colors in CMYK, which is subtractive color mixture, have different color reproduction areas. As a method for reproducing, there is known a method of correcting a difference between a color reproduction region by additive color mixture and a color reproduction region by subtractive color mixture, and converting original image data into appropriate color data.
[Patent Document 1] JP-A-10-257334
[0003]
[Problems to be solved by the invention]
However, when reproducing a color outside the color reproduction range, such as a special color ink, for example, minimizing the color difference may not be optimal. For example, in the case where the lightness and chromaticity of a multicolored map are corrected in a well-balanced manner and the chromaticity is corrected to a more appropriate state instead of minimizing the color difference before and after the correction, a subjective evaluation based on human visual perception In the results, the latter was preferred. This is because the color itself has a meaning in the map, and it is presumed that the change in chromaticity was not preferred because the meaning was ambiguous.
Therefore, the present invention determines a hue area to which a color represented by an input color image signal belongs, and converts the color image signal into a color recording signal corresponding to a color material of a printer, thereby obtaining a color reproduction range of an image input system. Even if the color reproduction range of the output image system is different, it is possible to obtain an image that is comparable to the original image, and it has good color reproducibility even with image data for which color difference minimization is not optimal. It is another object of the present invention to provide an image processing method and an image processing apparatus capable of performing color correction efficiently.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, according to the first aspect of the present invention, the color space of a color image signal passes through the achromatic axis N, the primary colors C, M, and Y, and the secondary colors R, G, and B, respectively. Separated by a plane, divided into six partial color spaces, a hue area is determined to which partial color space the input color image signal belongs, and a correction amount for keeping the input color image signal within the color reproduction range of the printer. Is calculated,
Correcting the input color image signal in the achromatic color axis direction based on the calculated correction amount, and converting the corrected color image signal into a color recording signal corresponding to a color material of a printer according to the determined hue region. Features.
According to the first aspect of the present invention, when an image signal of a color out of the color reproduction range of the image output system is input, the image signal is corrected in the brightness direction to obtain a printer image that is comparable to the original image. Can be realized.
According to a second aspect of the present invention, in addition to the first aspect, when the saturation of the input color image signal is high and the input color image signal does not fall within the color reproduction range of the printer even when corrected in the achromatic color axis direction, The correction amount is suppressed, and correction is performed in the achromatic color axis direction based on the correction amount in which the input color image signal is suppressed.
Thereby, a more accurate image processing method can be realized.
According to a third aspect of the present invention, in addition to the first aspect, the calculated correction amount is adjusted, and the input color image signal is corrected in the achromatic color axis direction based on the adjusted correction amount. It is characterized by the following.
Thereby, an image processing method excellent in operability can be realized.
According to a fourth aspect of the present invention, in addition to the second aspect, the suppressed correction amount is adjusted, and the input color image signal is corrected in the achromatic color axis direction based on the adjusted correction amount. It is characterized by the following.
Thereby, an image processing method excellent in operability can be realized.
According to a fifth aspect of the present invention, in addition to the first to fourth aspects, a hue region is determined by mapping an input color image signal on a two-dimensional plane where an achromatic axis is mapped to one point. It is characterized by the following.
This makes it possible to realize an even easier image processing method.
[0005]
According to a sixth aspect of the present invention, in addition to the first to fourth aspects, the input color image signal is mapped on a two-dimensional plane where the achromatic axis is mapped to one point, and the mapped color image is mapped. The method is characterized in that an alternative amount that increases monotonically with respect to the hue angle of the signal is calculated, and the hue area is determined.
This makes it possible to realize an even easier image processing method.
According to a seventh aspect of the present invention, there is provided a hue region determining means for determining a hue region to which a color represented by an input color image signal belongs, and a color represented by the input color image signal according to the determined hue region. Correction amount calculating means for calculating a minimum amount of correction in the achromatic color axis direction necessary to make the color change within the color reproduction range of the printer, and brightness correction for correcting the color image signal in the achromatic color axis direction based on the correction amount Means, and color conversion means for converting the corrected color image signal into a color recording signal corresponding to a color material of a printer in accordance with the determined hue region.
Thus, when an image signal of a color outside the color reproduction range of the image output system is input, a simple image processing apparatus for correcting the image signal in the brightness direction to obtain a printer image comparable to the original image. Can be realized.
According to an eighth aspect of the present invention, in addition to the seventh aspect, the color represented by the input color image signal has a high saturation and is within the color reproduction range of the printer even when moved in the achromatic color axis direction. A high-saturation correcting unit that suppresses the calculated correction amount when the calculated correction amount is not included, wherein the lightness correction unit corrects the color image signal in the achromatic color axis direction based on the suppressed correction amount. .
Thereby, a more accurate image processing device can be realized.
According to a ninth aspect of the present invention, in addition to the seventh aspect of the present invention, there is provided a correction amount adjusting means for adjusting the magnitude of the calculated correction amount, wherein the brightness correction means comprises the adjusted correction amount. The color image signal is corrected in the achromatic color axis direction based on
As a result, an image processing apparatus having excellent operability can be realized.
According to a tenth aspect of the present invention, in addition to the eighth aspect, there is provided a correction amount adjusting unit for adjusting the magnitude of the suppressed correction amount, and the brightness correction unit is configured to adjust the corrected correction amount. The color image signal is corrected in the achromatic color axis direction based on the amount.
As a result, an image processing apparatus having excellent operability can be realized.
According to an eleventh aspect of the present invention, in addition to the seventh to tenth aspects, the hue region determining means converts the input color image signal into a two-dimensional plane where an achromatic axis is mapped to one point. It is characterized by comprising first two-dimensional means for mapping.
Thereby, a simpler image processing apparatus can be realized.
According to a twelfth aspect of the present invention, in addition to the seventh to tenth aspects, the hue region determining means converts the input color image signal into a two-dimensional plane where an achromatic axis is mapped to one point. A second two-dimensional conversion means for mapping, and a pseudo hue angle calculation means for calculating a substitute amount that monotonically increases with respect to the hue angle of the color image signal mapped on the two-dimensional plane. I do.
Thereby, a simpler image processing apparatus can be realized.
[0006]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of an image processing method and an image processing apparatus according to the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 shows an example of the relationship between the color space of the color image signals (Dr, Dg, Db) and the color reproduction range of the printer. In this case, the color image signals (Dr, Dg, Db) are color-separated into, for example, R (red), G (green), and B (blue), which are three primary colors of additive color mixture, and output from a scanner or the like for reading the original document. The signal will be described as a color separation density signal that can be obtained by converting the signal into a signal proportional to the density. Therefore, in FIG. 1, the printer W (white) is located on the origin side and the printer K (black) is located at the diagonal apex, and a line connecting these two points is an achromatic axis N (Dr = Dg = Db ). The primary colors C (cyan), M (magenta), Y (yellow), and secondary colors R (red), G (green), and B (blue) of the printer are arranged around the achromatic axis N. The interior of the space having these eight colors as vertices is the color reproduction range of the printer.
[0007]
Next, FIG. 2 shows an example of a cross-sectional view of the color space of the color image signals (Dr, Dg, Db) of FIG. 1 cut along a plane through which the achromatic axis N passes. This cross-sectional view shows that the color reproduction range (shaded area) 202 of the printer is smaller than the range 201 in which the color image signal can be taken. The colors 203 and 204 correspond to colors having the highest saturation (distant from the achromatic axis) in this section (hues on both sides of the achromatic axis N) that can be reproduced by the printer. Further, the color 205 is a color having a high brightness and out of the color reproduction range of the printer. That is, the direction of the achromatic axis N coincides with the direction of lightness, and by moving the color 205 in the K direction of the achromatic axis N (lower direction of lightness), a color that falls within the color reproduction range of the printer is obtained. is there.
The present invention is characterized in that such a color having a high brightness and outside the color reproduction range of the printer is processed by moving the color in the K direction of the achromatic axis N. Further, according to this, it is possible to perform processing in which the saturation (here, the distance from the achromatic axis) and the hue (here, the plane passing through the achromatic axis), that is, the chromaticity, are stored.
FIG. 1 shows an example of the relationship between the color space of the color image signals (Dr, Dg, Db) and the color reproduction range of the printer. As shown in FIG. Even if the interior of the space connecting the eight colors of M, Y and the secondary colors R, G, B with a straight line is regarded as the color reproduction range of the printer, substantially no errors occur. Therefore, in the present invention, the processing is performed by regarding the color reproduction range of the printer as a dodecahedron as shown in FIG. This eliminates the need for processing the curved surface portion of the color reproduction range of the printer, and facilitates the processing.
[0008]
FIG. 3 is a diagram showing a flow of the image processing method according to the present invention, and the image processing method will be described below with reference to this flow.
First, the hue area determination processing 301 of the color image signal (Dr, Dg, Db) is performed. That is, the color space of the color image signal (Dr, Dg, Db) is defined by a plane passing through the achromatic axis N (Dr = Dg = Db), the primary colors C, M, Y, and the secondary colors R, G, B, respectively. 6, the image data is divided into six partial color spaces, and it is determined which partial color space the input color image signal (Dr, Dg, Db) belongs to.
[0009]
Here, the color image signals of the printers W and K, the primary colors C, M, and Y and the secondary colors R, G, and B are set to the values shown in FIG.
In this case, for example, the equation of the plane passing through the printer W and K and the primary color C is
(Dcg−Dcb) · Dr + (Dcb−Dcr) · Dg + (Dcr−Dcg) · Db = 0 (1)
It becomes. Similarly, the equations for the planes passing through the printer W and K and the primary colors M and Y and the secondary colors R, G and B are respectively
(Dmg−Dmb) · Dr + (Dmb−Dmr) · Dg + (Dmr−Dmg) · Db = 0 (2)
(Dyg−Dyb) · Dr + (Dyb−Dyr) · Dg + (Dyr−Dyg) · Db = 0 (3)
(Drg−Drb) · Dr + (Drb−Drr) · Dg + (Drr−Drg) · Db = 0 (4)
(Dgg−Dgb) · Dr + (Dgg−Dgr) · Dg + (DGR−Dgg) · Db = 0 (5)
(Dbg−Dbb) · Dr + (Dbb−Dbr) · Dg + (Dbr−Dgb) · Db = 0 (6)
It becomes.
If the left sides of the equations (1) to (6) are fc, fm, fy, fr, fg, and fb, respectively, it is determined which side of each plane the color image signal (Dr, Dg, Db) is on. It can be determined by the sign of the calculation result of fc, fm, fy, fr, fg, fb. Therefore, whether the color image signal (Dr, Dg, Db) belongs to the above-described partial color space can be determined by the sign of the calculation result of fc, fm, fy, fr, fg, fb.
fc = (Dcg−Dcb) · Dr + (Dcb−Dcr) · Dg + (Dcr−Dcg) · Db (7)
fm = (Dmg−Dmb) · Dr + (Dmb−Dmr) · Dg + (Dmr−Dmg) · Db (8)
fy = (Dyg−Dyb) · Dr + (Dyb−Dyr) · Dg + (Dyr−Dyg) · Db (9)
fr = (Drg−Drb) · Dr + (Drb−Drr) · Dg + (Drr−Drg) · Db (10)
fg = (Dgg−Dgb) · Dr + (Dgg−Dgr) · Dg + (Dgr−Dgg) · Db (11)
fb = (Dgb−Dbb) · Dr + (Dbb−Dbr) · Dg + (Dbr−Dbg) · Db (12)
More specifically, in general,
If fc ≦ 0 and fb> 0, it belongs to the CB partial color space
If fb ≦ 0 and fm> 0, it belongs to the BM partial color space
If fm ≦ 0 and fr> 0, it belongs to the MR partial color space
If fr ≦ 0 and fy> 0, it belongs to the RY partial color space
If fy ≦ 0 and fg> 0, it belongs to the YG partial color space
If fg ≦ 0 and fc ≧ 0, it belongs to the GC partial color space
… (13)
It becomes.
In addition, since the achromatic color (Dr = Dg = Db) also belongs to any of the partial color spaces, the equal sign is attached to the two inequalities only in the GC partial color space in the above, but the achromatic color (Dr = Dg = Db) may belong to any partial color space.
By performing the processing of the equations (7) to (13) as described above, it is determined which partial color space the input color image signal (Dr, Dg, Db) belongs to. Note that the direction of the inequality sign in the equation (13) may change with the specific values in FIG.
[0010]
Next, a correction amount calculation process 302 is performed according to the determination result of the partial color space. The correction amount calculation processing 302 performed here can be represented by the following equation.
X = Rx · Dr + Gx · Dg + Bx · Db + Cx (14)
(Where Rx, Gx, Bx, and Cx are coefficients determined for each partial color space)
Here, FIG. 7 shows an example of a cross-sectional view of the color space of the color image signal of FIG. 5 cut along a plane through which the achromatic axis N passes. In this cross-sectional view, the color reproduction range (shaded area) of the printer is a square like 802 with respect to the range 801 in which a color image signal can be taken, and colors 803 and 804 are the cross-sections ( It corresponds to the color with the highest saturation (distant from the achromatic axis) among the hues on both sides of the achromatic axis N.
A color 805 is an example of a color having a high brightness and out of the color reproduction range of the printer. That is, the color 805 is a color that falls within the color reproduction range of the printer by moving in the K direction (lower lightness) of the achromatic color axis N. A contact that falls within the color reproduction range of the printer when the color 805 is moved in the K direction of the printer is referred to as a color 807. What is desired here is the minimum amount of correction in the K direction of the achromatic axis N required to keep the input color within the color reproduction range of the printer. Become.
Incidentally, a triangle having colors 805, 806 and 807 as vertices and a triangle having colors 807, W and K as vertices are similar figures. The W-K distance is known as shown in FIG. 19 (= Dk-Dw). Therefore, if the ratio between the sizes of the two triangles is known, the correction amount (the distance between the colors 805 and 806) can be obtained.
Therefore, the ratio between the distance between the colors 805 and 807 and the distance between the colors 807 and K is calculated. This can be calculated by using a conversion formula that obtains “−1” for K and “0” for colors 803 and W, and uses this conversion formula.
The correction amount X is obtained by the following equation.
Correction amount X = distance between color 805 and color 806 = (distance between color 805 and color 807) / (distance between color 807 and K) × (distance between W and K) (15)
When the above conversion equation is obtained, an equation that becomes "-(WK distance)" instead of "-1" in K, that is, "-(Dk-Dw)", is obtained as follows. The multiplication in equation (15) can be omitted.
[0011]
The above is a description on a specific cross-sectional view, but if this is applied to the above-described partial color space, it can be used for actual processing.
In this case, taking the CB partial color space as an example, a conversion equation that becomes “− (Dk−Dw)” for K and “0” for C, B, and W may be obtained. That is, by substituting this condition into equation (16) and solving the simultaneous equations, a coefficient can be obtained.
− (Dk−Dw) = Rx · Dkr + Gx · Dkg + Bx · Dkb + Cx
0 = Rx · Dwr + Gx · Dwg + Bx · Dwb + Cx
0 = Rx · Dcr + Gx · Dcg + Bx · Dcb + Cx
0 = Rx · Dbr + Gx · Dbg + Bx · Dbb + Cx
… (16)
(Equation 1)
Figure 2004242040
The same applies to other color spaces. For example, in the BM partial color space,
(Equation 2)
Figure 2004242040
It becomes.
In the actual processing, the coefficients Rx, Gx, Bx, and Cx for each partial color space as described above are obtained in advance, and the coefficients are switched according to the determination result of the partial color space to perform the operation shown in Expression (14). Then, the correction amount X is obtained. Note that the obtained correction amount X is valid only when positive, and when negative, it corresponds to a color within the color reproduction range of the printer, and is corrected to a correction amount (= 0) indicating no correction.
The correction amount X obtained as described above is effective for colors outside the color reproduction range of many printers as it is.
However, in this case, a color that has high saturation (away from the achromatic axis) and does not fall within the color reproduction range of the printer even if it is moved in the K direction of the achromatic axis N (the direction of low lightness), The correction amount indicating no correction may not be obtained. For example, for the color 808 shown in FIG. 7, a correction amount for moving to the color 809 on the color 804-W extension line is obtained. Therefore, it is better to detect such a color and correct it to a correction amount (= 0) indicating no correction.
[0012]
The high saturation correction processing 303 in FIG. 3 performs processing on such a color. In the high-saturation correction process 303, the saturation evaluation value S is calculated by performing an operation represented by the following equation according to the determination result of the partial color space described above.
S = Rs · Dr + Gs · Dg + Bs · Db + Cs (19)
(Where Rs, Gs, Bs, and Cs are coefficients determined for each partial color space)
For example, in the case of a CB partial color space, for example, the coefficient of equation (19) may be a coefficient that is “0” for K and W and “1” for C and B. Substituting and solving the simultaneous equations gives the coefficients.
0 = Rs · Dkr + Gs · Dkg + Bs · Dkb + Cs
0 = Rs · Dwr + Gs · Dwg + Bs · Dwb + Cs
1 = Rs · Dcr + Gs · Dcg + Bs · Dcb + Cs
1 = Rs · Dbr + Gs · Dbg + Bs · Dbb + Cs
… (20)
[Equation 3]
Figure 2004242040
The same applies to other color spaces. For example, in the BM partial color space,
(Equation 4)
Figure 2004242040
It becomes.
In the actual processing, the coefficients Rs, Gs, Bs, and Cs for each partial color space as described above are obtained in advance, and the coefficients are switched according to the determination result of the partial color space to perform the operation shown in Expression (19). Then, a saturation evaluation value S is obtained. When the saturation evaluation value S exceeds “1” as a result of the calculation of the equation (19), the saturation is high (away from the achromatic axis) and the K direction of the achromatic axis N (low brightness). Direction), the color does not fall within the color reproduction range of the printer. Therefore, when the saturation evaluation value S exceeds “1”, the correction value is corrected to a correction amount (= 0) indicating no correction.
By performing the above-described processing, the high-saturation correction processing 303 is realized, whereby the saturation is high (away from the achromatic color axis), and the color is moved in the K direction (low brightness direction) of the achromatic axis N. However, the correction amount for colors that do not fall within the color reproduction range of the printer can be set to no correction (= 0).
In the above description, no correction is made when the saturation evaluation value S exceeds “1”. This value (“1”) corresponds to the value (“1”) in C and B in the above example. . That is, if both values are the same, any value may be used. Further, “exceed” and “not exceed” also vary depending on the magnitude relationship between the values (“0”) at K and W and the values (“1”) at C and B in the above example.
[0013]
Next, a correction amount adjustment process 304 is performed to adjust how much the calculated correction amount X is reflected in the input color image signal. This correction amount adjustment processing 304 is performed, for example, when the adjustment amount is α (= 0 to 1).
X ′ = α · X (23)
This processing is performed, and the obtained X ′ is used as the actual correction amount. Note that this correction amount adjustment processing 304 is not essential to the present invention, but the operator who performs image processing does not want the correction according to the present invention (α = 0) or judges that the correction is too strong. (0 <α <1) is provided so as to be adjustable in the case. The degree of necessity of the adjustment often depends on the type of image to be handled. Therefore, it is possible to select an image type such as a color pencil or a crayon, and automatically set the adjustment amount in conjunction with the selection.
Next, based on the obtained correction amount X ′, a brightness correction process 305 for correcting the color image signals (Dr, Dg, Db) in the K direction of the achromatic axis N is performed. The brightness correction processing 305 is realized by, for example, an addition processing of a color image signal (Dr, Dg, Db) and a correction amount X ′ as in the following equation.
Dr '= Dr + X'
Dg '= Dg + X'
Db '= Db + X'
… (24)
As described above, in the image processing method according to the present invention, a color having a high brightness and being out of the color reproduction range of the printer is moved in the K direction of the achromatic axis N to be changed to a color within the color reproduction range of the printer. Is converted (when α = 1). In addition, since the image moves in the achromatic color axis direction, it is possible to perform correction while maintaining the chromaticity, and it is possible to obtain an image comparable to the original image.
Next, based on the obtained color image signals (Dr ', Dg', Db '), according to the color materials C (cyan), M (magenta), Y (yellow) and K (black) used in the printer. A color conversion process 306 for converting the color recording signals (Dc, Dm, Dy, Dk) into the color recording signals is performed.
[0014]
In the color conversion processing 306 of the present invention, the color space of the color image signal (Dr ′, Dg ′, Db ′) is converted into the achromatic axis N (Dr ′ = Dg ′ = Db ′) and the primary color similarly to FIG. C, M, Y, and the secondary colors R, G, and B are divided into six partial color spaces by a plane passing through them, and the input color image signals (Dr ′, Dg ′, Db ′) It is determined whether the color space belongs to the color space, and the determination is made according to the determination result of the partial color space.
Note that the color conversion processing 306 performed here can be represented by the following equation.
(Equation 5)
Figure 2004242040
Further, the optimum recording signals of the respective color materials of the printer corresponding to the W and K of the printer shown in FIG. 19, the primary colors C, M, and Y and the secondary colors R, G, and B are set to the values shown in FIG.
Taking the CB partial color space as an example, the correspondence between the color image signals (Dr ′, Dg ′, Db ′) and the color recording signals (Dc, Dm, Dy, Dk) in W, K, C, B is As shown in FIG. 21, the coefficient of the equation (25) can be obtained by solving a simultaneous equation relating to W, K, C, and B based on the correspondence shown in FIG.
(Equation 6)
Figure 2004242040
(Equation 7)
Figure 2004242040
The same applies to other color spaces. For example, in the BM partial color space,
(Equation 8)
Figure 2004242040
It becomes.
In the actual processing, the coefficients Mcr, Mcg,..., Mkc for each partial color space as described above are obtained in advance, and the coefficients are switched according to the determination result of the partial color space, and the calculation shown in the equation (25) is performed. Then, color recording signals (Dc, Dm, Dy, Dk) are obtained.
[0015]
By the way, the correction amount calculation processing 302, the high saturation correction processing 303, and the color conversion processing 306 of the present invention convert the color space of the color image signal into the achromatic axis N, the primary colors C, M, Y, and the secondary colors R, It is divided into six partial color spaces separated by a plane passing through G and B respectively. In the brightness correction processing 305, the chromaticity is maintained because the color image signal moves in the achromatic color axis direction. Therefore, the hue region determination result based on the color image signal (Dr, Dg, Db) before the movement and the hue region determination result based on the color image signal (Dr ′, Dg ′, Db ′) after the movement are the same. . Therefore, in the color conversion processing 306 of the present invention, the coefficients are switched using the result of the hue area determination processing 301 based on the color image signals (Dr, Dg, Db) before movement as it is. This eliminates the need for the hue region determination process dedicated to the color conversion process 306, and allows the process to be speeded up.
Note that the color recording signals (Dc, Dm, Dy) output by the color conversion processing 306 of the present invention have values based on the premise that the K color material is not used (Dk = 0). Therefore, next, UCR (UnderColor Removal: under color removal) processing 307 for correcting the color recording signals Dc, Dm, and Dy according to the color recording signal Dk is performed. The UCR process 307 is generally realized by subtracting the color recording signal Dk from the color recording signals Dc, Dm, and Dy, as shown in Expression (29).
Dc ′ = Dc−Dk
Dm '= Dm-Dk
Dy '= Dy-Dk
… (29)
[0016]
Next, FIG. 4 shows an example of a block diagram of an image processing apparatus according to the present invention, and the present invention will be described below with reference to FIG.
A color image signal (Dr, Dg, Db) output from an image signal input device (not shown) is output to a hue area determination circuit 401 (hue area determination means), a correction amount calculation circuit 402 (correction amount calculation means), and a high saturation correction circuit 403 ( High brightness correction means) and the brightness correction circuit 404 (brightness correction means).
The hue area determination circuit 401 is a circuit that determines which partial color space the color image signal (Dr, Dg, Db) belongs to, and the details thereof are shown in FIG.
Referring to FIG. 8, the color image signals (Dr, Dg, Db) are input to the fx value calculation circuit 901.
The fx value operation circuit 901 is a circuit that performs each of the product-sum operations illustrated in the above equations (7) to (12) and outputs a result. The operation results fc, fm, fy, fr, fg, and fb are area codes. Output to the generation circuit 902.
The area code generation circuit 902 performs the comparison and the logical operation exemplified in the expression (13) to determine which partial color space belongs to, and, for example, generates an area code signal code as shown below according to the result. Output.
If the partial color space is CB, the area code is 0
In the case of the BM partial color space, the area code: 1
If the partial color space is MR, the area code is 2
For the RY partial color space, area code: 3
If the color space is YG, the area code is 4
If the partial color space is GC, the area code is 5
… (30)
As described above, according to the fx value calculation circuit 901 and the area code generation circuit 902, the color space of the color image signal (Dr, Dg, Db) is converted into the achromatic color axis N (Dr = Dg = Db) and the primary colors C, M, and Y and the secondary colors R, G, and B, and divides the plane into six partial color spaces. The input color image signals (Dr, Dg, and Db) are divided into six partial color spaces. The hue region determination circuit 401 that determines which partial color space belongs to can be realized.
[0017]
On the other hand, the correction amount calculation circuit 402 calculates a minimum correction amount X2 in the K direction of the achromatic axis N required to keep the input color image signals (Dr, Dg, Db) within the color reproduction range of the printer. In this circuit, the area code signal code obtained by the hue area determination circuit 401 is also input. FIG. 15 shows the details.
Referring to FIG. 15, an X coefficient memory 1601 to which the area code signal code is input stores coefficients Rx, Gx, Bx, and Cx for each partial color space calculated by the above-described equations (17) and (18). A circuit including a memory or the like outputs coefficients Rx, Gx, Bx, and Cx of the corresponding partial color space to the X-value calculation circuit 1602 according to the input area code signal code.
An X value operation circuit 1602 to which the color image signals (Dr, Dg, Db) are input is a circuit that performs the product-sum operation shown in the above equation (14) and outputs the result, and the operation result X1 is a comparator 1603 and a selector. Output to 1604.
The comparator 1603 is a circuit for comparing the input operation result X1 with “value 0”, and the comparison result is output to the selector 1604.
The selector 1604 is a circuit for selectively outputting the input operation result X1 or “value 0”, and outputs it as a correction amount X2. Here, the operation of the selector 1604 is controlled by the comparison result of the comparator 1603. When the operation result X1 is smaller than 0, “value 0” is selectively output.
[0018]
On the other hand, the high saturation correction circuit 403 has a high saturation (away from the achromatic axis) and does not fall within the color reproduction range of the printer even if it is moved in the K direction of the achromatic axis N (the direction of low lightness). This circuit performs correction when the color does not become the correction amount indicating no correction. The region code signal code obtained by the hue region determination circuit 401 and the correction amount X2 obtained by the correction amount calculation circuit 402 are also input. . FIG. 16 shows the details.
Referring to FIG. 16, an S coefficient memory 1701 to which the area code signal code is input stores coefficients Rs, Gs, Bs, and Cs for each partial color space calculated by the above equations (21) and (22). A circuit composed of a memory or the like outputs coefficients Rs, Gs, Bs, and Cs of the corresponding partial color space to the S value calculation circuit 1702 according to the input area code value code.
The S value calculation circuit 1702 to which the color image signals (Dr, Dg, Db) are input is a circuit that performs the product-sum operation shown in the above equation (19) and outputs the result. The calculation result S is output to the comparator 1703. Is done.
The comparator 1703 is a circuit for comparing the input operation result S with “value 1”, and the comparison result is output to the selector 1704.
The selector 1704 is a circuit for selectively outputting the input correction amount X2 or “value 0”, and outputs the correction amount X2 as the correction amount X3. Here, the operation of the selector 1704 is controlled by the comparison result of the comparator 1703, and when the operation result S exceeds 1, “value 0” is selectively output.
As described above, according to the X coefficient memory 1601, the X value calculation circuit 1602, the comparator 1603, and the selector 1604, the K of the achromatic color axis N which is the minimum necessary for keeping the input color within the color reproduction range of the printer. The correction amount calculation circuit 402 that calculates the correction amount in the direction can be realized. Even if the correction amount X2 output from the correction amount calculation circuit 402 is output as it is without passing through the high saturation correction circuit 403, it is effective for colors outside the color reproduction range of many printers.
However, according to the S coefficient memory 1701, the S value calculation circuit 1702, the comparator 1703, and the selector 1704, the saturation is high (away from the achromatic axis) and the K direction of the achromatic axis N (the direction of low brightness). , It is possible to realize a high-saturation correction circuit 403 that does not correct a color that does not fall within the color reproduction range of the printer even if the color is moved to the color reproduction range of the printer. The correction amount of the axis N in the K direction can be calculated more accurately.
Note that the coefficients of the equations (7) to (12) in the fx value calculation circuit 901 and the coefficients of the X coefficient memory 1601 and the S coefficient memory 1701 can be rewritten, and these control the entire image processing apparatus. It is set in advance by the system control circuit 411.
[0019]
Next, the correction amount X3 obtained by the high saturation correction circuit 403 is input to the correction amount adjustment circuit 405 (correction amount adjustment means).
The correction amount adjustment circuit 405 is a circuit for adjusting how much the input correction amount X3 is reflected on the color image signal (Dr, Dg, Db). For example, when the adjustment amount is α (= 0 to 1), , (23) is performed by a multiplier or the like, and the calculated X4 is output as an actual correction amount. Note that the correction amount adjustment circuit 405 is not essential to the present invention, but the operator who performs image processing does not want the correction according to the present invention (α = 0) or judges that the correction is too strong. (0 <α <1) is provided so as to be adjustable in the case. The adjustment amount α is input from an adjustment amount setting circuit 406 that can be set by the operator. In addition, since the degree of necessity of this adjustment often depends on the type of image to be handled, it is possible to select an image type such as a colored pencil or a crayon, and even if the system control circuit 411 sets the adjustment amount α in conjunction with this. good.
Next, the correction amount correction amount X4 obtained by the correction amount adjustment circuit 405 is input to the brightness correction circuit 407 (brightness correction unit).
The brightness correction circuit 407 is a circuit that corrects the color image signal (Dr, Dg, Db) in the brightness direction based on the input correction amount X4, and performs, for example, an operation shown in Expression (24) by an adder or the like. Then, the calculated Dr ', Dg', and Db 'are output as color image signals.
As described above, in the image processing apparatus according to the present invention, a color having a high brightness and being outside the color reproduction range of the printer is moved in the K direction of the achromatic color axis N to be changed to a color within the color reproduction range of the printer. Is converted (when α = 1). In addition, since the image moves in the achromatic color axis direction, it is possible to perform correction while maintaining the chromaticity, and an image comparable to the original image can be obtained.
Next, the color image signals (Dr ′, Dg ′, Db ′) obtained by the brightness correction circuit 407 are input to a color conversion circuit 408 (color conversion means).
The color conversion circuit 408 converts the input color image signals (Dr ', Dg', Db ') into color recording signals (Dc, Dm, Dy, Dy, K) corresponding to the color materials C, M, Y, and K used in the printer. Dk).
In the color conversion circuit 408 of the present invention, the color space of the color image signals (Dr ′, Dg ′, Db ′) is set to the achromatic axis N (Dr ′ = Dg ′ = Db ′), which is the same as FIG. Each of the color image signals (Dr ′, Dg ′, Db ′) is divided into six partial color spaces by dividing the plane into the planes passing the secondary colors C, M, Y and the secondary colors R, G, B. It is determined which partial color space it belongs to, and processing is performed according to the result of the determination of the partial color space. For this reason, a circuit equivalent to the hue area determination circuit 401 is required for the color image signals (Dr ′, Dg ′, Db ′).
[0020]
However, since the brightness correction circuit 407 of the present invention performs the correction while maintaining the chromaticity as described above, the determination result based on the color image signals (Dr ′, Dg ′, Db ′) and the color image signals (Dr, Dg) , Db) are the same. Therefore, the color conversion circuit 408 of the present invention performs processing with reference to the area code signal code of the hue area determination circuit 401. FIG. 17 shows the details.
Referring to FIG. 17, the C coefficient memory 1801, the M coefficient memory 1802, the Y coefficient memory 1803, and the K coefficient memory 1804, to which the area code signal code is input, include the parts calculated by the above equations (27) and (28). A circuit including a memory for storing coefficients Mcr, Mcg, Mcb, Mcc, coefficients Mmr, Mmg, Mmb, Mmc, coefficients Myr, Myg, Myb, Myc and coefficients Mkr, Mkg, Mkb, Mkc for each color space. Then, the coefficients of the partial color space corresponding to the input area code signal code are output to the corresponding C operation circuit 1805, M operation circuit 1806, Y operation circuit 1807, and K operation circuit 1808, respectively.
The C operation circuit 1805, the M operation circuit 1806, the Y operation circuit 1807, and the K operation circuit 1808, to which the color image signals (Dr ', Dg', Db ') are input, perform the product-sum operation shown in the above equation (25). The color recording signals (Dc, Dm, Dy, Dk) are output as a result.
As described above, the color conversion circuit 408 converts the input color image signals (Dr ′, Dg ′, Db ′) according to the area code signal code of the hue area determination circuit 401 into the color materials C, Since it is converted into color recording signals (Dc, Dm, Dy, Dk) corresponding to M, Y, and K, it is possible to determine which partial color space the input color image signal (Dr ′, Dg ′, Db ′) belongs to. It can be realized without making a judgment.
Note that the coefficients of the above-described C coefficient memory 1801, M coefficient memory 1802, Y coefficient memory 1803, and K coefficient memory 1804 are rewritable, and are set in advance by a system control circuit 411 that controls the entire image processing apparatus. ing.
Next, the color recording signals (Dc, Dm, Dy, Dk) obtained by the color conversion circuit 408 are input to the UCR circuit 409.
[0021]
Here, it is assumed that the color recording signals (Dc, Dm, Dy) output from the color conversion circuit 408 do not use the K color material (Dk = 0). Therefore, it is necessary to correct the color recording signals Dc, Dm, and Dy according to the color recording signal Dk, and the UCR circuit 409 plays this role. FIG. 18 shows the details.
Referring to FIG. 18, color recording signals Dc, Dm, and Dy are input to CUCR circuit 1901, MUCR circuit 1902, and YUCR circuit 1903, respectively, and color recording signal Dk is input to each of UCR circuits 1901-1903.
The CUCR circuit 1901, the MUCR circuit 1902, and the YUCR circuit 1903 perform, for example, an operation as shown in the above equation (29) by using an adder or the like, and calculate the calculated Dc ′, Dm ′, and Dy ′ in a color recording signal. Is output as
As described above, the UCR circuit 409 corrects the color recording signals Dc, Dm, and Dy according to the color recording signal Dk. The color recording signals (Dc ′, Dm ′, Dy ′, Dk) of the UCR circuit 409 are output to an image signal output device (not shown) and used for recording an image.
In the above-described hue area determination processing 301 and hue area determination circuit 401, the color image signals (Dr, Dg, Db) are handled in a three-dimensional color space, but the achromatic color axis N is mapped to one point. You may make it handle on a two-dimensional plane.
For example, when the partial color space shown in FIG. 6 is mapped onto a plane having two axes of difference signals “Dg-Dr” and “Db-Dg” of a color image signal, the result is as shown in FIG. That is, the color on the achromatic axis N (Dnr = Dng = Dnb) is
(Dng-Dnr, Dnb-Dng) = (0, 0) (31)
Are mapped to one point n, and the primary colors C, M, and Y and the secondary colors R, G, and B of the printer are arranged around the point n. Then, the six partial color spaces are mapped to regions divided by straight lines connecting the achromatic color n and C, M, Y, R, G, and B, respectively.
here,
GR = Dg−Dr (32)
BG = Db−Dg (33)
And In this case, straight lines connecting the achromatic color n and C, M, Y, R, G, and B are as follows.
BG = (Dcb−Dcg) / (Dcg−Dcr) · GR (however, Dcg−Dcr ≠ 0) (34)
BG = (Dmb−Dmg) / (Dmg−Dmr) · GR (However, Dmg−Dmr ≠ 0) (35)
BG = (Dyb−Dyg) / (Dyg−Dyr) · GR (however, Dyg−Dyr ≠ 0) (36)
BG = (Drb−Drg) / (Drg−Drr) · GR (However, Drg−Drr ≠ 0) (37)
BG = (Dgb−Dgg) / (Dgg−DGR) · GR (however, Dgg−DGR ≠ 0) (38)
BG = (Dbb−DBG) / (DBG−Dbr) · GR (DBG−Dbr ≠ 0) (39)
[0022]
When the right sides of the equations (34) to (39) are fc ′, fm ′, fy ′, fr ′, fg ′, and fb ′, respectively, the difference signals (Db−Dg, Dg−Dr) of the color image signals are obtained. Which side of the straight line is located can be determined by the magnitude relationship between the calculation results of fc ′, fm ′, fy ′, fr ′, fg ′, fb ′ and BG (= Db−Dg). Therefore, it can be determined which of the above-described partial color spaces the color image signal (Dr, Dg, Db) belongs to.
fc ′ = (Dcb−Dcg) / (Dcg−Dcr) · GR (40)
fm ′ = (Dmb−Dmg) / (Dmg−Dmr) · GR (41)
fy ′ = (Dyb−Dyg) / (Dyg−Dyr) · GR (42)
fr ′ = (Drb−Drg) / (Drg−Drr) · GR (43)
fg ′ = (Dgb−Dgg) / (Dgg−DGR) · GR (44)
fb ′ = (Dbb−DBG) / (DBG−Dbr) · GR (45)
More specifically, in general,
If BG ≦ fc ′ and BG> fb ′, it belongs to the CB partial color space
If BG ≦ fb ′ and BG <fm ′, it belongs to the BM partial color space
If BG ≧ fm ′ and BG <fr ′, it belongs to the MR partial color space
If BG ≧ fr ′ and BG <fy ′, it belongs to the RY partial color space
If BG ≧ fy ′ and BG> fg ′, it belongs to the YG partial color space
If BG ≦ fg ′ and BG ≧ fc ′, it belongs to the GC partial color space
… (46)
It becomes. In addition, since the achromatic color (Dr = Dg = Db) also belongs to any of the partial color spaces, the equal sign is attached to the two inequalities only in the GC partial color space in the above, but the achromatic color (Dr = Dg = Db) may belong to any partial color space.
[0023]
FIG. 10 shows an example of a flowchart of the hue region determination processing according to the present invention, and the present invention will be described below with reference to FIG.
First, the input color image signal (Dr, Dg, Db) is subjected to a two-dimensional plane mapping in which the achromatic axis N is mapped to one point, and a two-dimensional processing 1101 for obtaining two-dimensional coordinate values is performed. This corresponds to, for example, the equations (32) and (33) described above.
Next, an evaluation value calculation process 1102 for calculating an evaluation value based on the obtained two-dimensional coordinate values is performed. This evaluation value corresponds to, for example, fc ′, fm ′, fy ′, fr ′, fg ′, fb ′ in the above equations (40) to (45). Note that the slope of each equation, for example, "(Dcb-Dcg) / (Dcg-Dcr)" may be obtained in advance.
Next, based on the obtained two-dimensional coordinate values and evaluation values, a hue area determination process is performed to determine which partial color space belongs to. This corresponds to, for example, the above equation (46).
As described above, according to the hue region determination processing shown in FIG. 10, it is possible to determine which partial color space the input color image signal (Dr, Dg, Db) belongs to, and determine the achromatic color axis N Is handled in a two-dimensional plane mapped to one point, so that the processing is easier than in the case of handling in a three-dimensional color space.
[0024]
FIG. 11 shows an example of a block diagram of a hue region determination circuit according to the present invention. Hereinafter, the present invention will be described with reference to FIG.
The hue region determination circuit shown in FIG. 11 is a circuit for performing the above-described hue region determination processing. Is done.
The difference circuit 1201 is a circuit that calculates the difference exemplified in Expression (32), and the calculation result GR is output to the fx ′ value calculation circuit 1203. The difference circuit 1102 is a circuit that calculates the difference exemplified in the equation (33), and the calculation result BG is output to the area code generation circuit 1204.
The fx ′ value operation circuit 1203 is a circuit that performs the multiplications exemplified in the equations (40) to (45) and outputs the results, and the operation results fc ′, fm ′, fy ′, fr ′, fg ′, fb ′. Is output to the area code generation circuit 1204.
The region code generation circuit 1204 performs the comparison and the logical operation exemplified in the above equation (46) to determine which partial color space belongs to, and outputs the exemplified region code value code according to the result.
As described above, according to the hue region determination circuit shown in FIG. 11, it is determined which partial color space the input color image signal (Dr, Dg, Db) belongs to, and the region code corresponding to the result is determined. Since a value can be output and the achromatic color axis N is handled on a two-dimensional plane mapped to one point, the circuit scale is reduced as compared with a case where the achromatic color axis N is handled as it is in a three-dimensional color space.
Note that the coefficients of the equations (40) to (45) in the fx 'value calculation circuit 1203 described above are rewritable, and are set in advance by a system control circuit 1205 that controls the entire image processing apparatus.
In the above-described hue region determination processing in FIG. 10 and the hue region determination circuit in FIG. 11, the color image signal (Dr, Dg, Db) is mapped on a two-dimensional plane where the achromatic axis N is mapped to one point. However, as shown in FIG. 9, for example, the hue area can be determined by calculating and handling the hue angle HUE with the specific direction as a reference (= 0). The hue angle HUE in this case is calculated from the coordinate values (Dg-Dr, Db-Dg) of the difference signal by a trigonometric function or the like.
[0025]
Further, as described below, an alternative amount (pseudo hue angle H) that increases monotonously with respect to the hue angle HUE may be calculated and handled.
In this method, a plane having two axes of difference signals GR (= Dg-Dr) and BG (= Db-Dg) of a color image signal is equally divided into, for example, eight regions as shown in FIG. It is first determined in which area the signal is located. Here, the values Ha of “0 to 7” are sequentially assigned to the respective areas. This value Ha corresponds to a higher pseudo hue angle, and specifically, the following processing is performed.
If GR> 0 and BG> 0 and BG ≦ GR, Ha = 0
If GR> 0 and BG> 0 and BG> GR, Ha = 1
If GR ≦ 0 and BG> 0 and BG> −GR, Ha = 2
If GR ≦ 0 and BG> 0 and BG ≦ −GR, Ha = 3
Ha = 4 if GR ≦ 0 and BG ≦ 0 and BG> GR
Ha = 5 if GR ≦ 0 and BG ≦ 0 and BG ≦ GR
If GR> 0 and BG ≦ 0 and BG ≦ −GR, Ha = 6
If GR> 0 and BG ≦ 0 and BG> −GR, Ha = 7
… (47)
Next, the coordinate values (GR, BG) of the difference signal are rotated according to the result to obtain coordinate values (gr, bg) moved to a specific area, for example, the area “Ha = 0” in FIG. . Specifically, the following processing is performed.
If Ha = 0, gr = GR, bg = BG
If Ha = 1, gr = GR + BG, bg = −GR + BG
If Ha = 2, gr = BG, bg = −GR
If Ha = 3, gr = −GR + BG, bg = −GR−BG
If Ha = 4, gr = GR, bg = BG
If Ha = 5, gr = -GR-BG, bg = GR-BG
If Ha = 6, gr = GR, bg = BG
If Ha = 7, gr = GR−BG, bg = GR + BG
… (48)
When the coordinates are purely rotated, gr and bg must be multiplied by 1 / √2 when Ha = 1, 3, 5, and 7, respectively. However, since the purpose here is to detect only the angle, the processing of 1 / √2 times is omitted.
[0026]
Next, an amount representing an angle at the coordinate position (gr, bg), for example, a ratio Hb between gr and bg is calculated.
Hb = bg / gr (However, if gr = 0, Hb = 0) (49)
This value Hb indirectly represents the angle at the time of moving to the area “Ha = 0”, and corresponds to the lower pseudo hue angle.
Next, a final pseudo hue angle H is calculated from the obtained upper pseudo hue angle Ha and lower pseudo hue angle Hb. In the above, the difference signal plane (GR, BG) is equally divided into eight regions, and this is rotated to the region “Ha = 0”, so that “bg ≦ gr”. Accordingly, “Hb ≦ 1” holds, and the monotonic increase is maintained even when the value is added to the value Ha. That is, the pseudo-hue angle H, which is a substitute amount that increases monotonously with respect to the hue angle HUE, can be obtained by the following equation.
H = Ha + Hb (50)
Also, if the pseudo hue angles of the primary colors C, M, and Y and the secondary colors R, G, and B of the printer obtained by the above-described procedure are Hc, Hm, Hy, Hr, Hg, and Hb, respectively. By comparing these with the obtained pseudo hue angle H, it is possible to determine which of the above-described partial color spaces the color image signal (Dr, Dg, Db) belongs to.
More specifically, in the case of the positional relationship of FIG.
If H ≧ Hc and H <Hb, it belongs to the CB partial color space
If H ≧ Hb and H <Hm, it belongs to the BM partial color space
If H ≧ Hm and H <Hr, it belongs to the MR partial color space
If H ≧ Hr or H <Hy, it belongs to the RY partial color space
If H ≧ Hy and H <Hg, it belongs to the YG partial color space
If H ≧ Hg and H <Hc, it belongs to the GC partial color space
… (51)
It becomes. In addition, since the achromatic color (Dr = Dg = Db) also belongs to any of the partial color spaces, “Ha = 5, Hb = 0”, that is, “H = 5” according to the equations (47) and (49). However, the achromatic color (Dr = Dg = Db) may be converted to any pseudo hue angle.
[0027]
FIG. 13 shows an example of a flowchart of the hue region determination processing according to the present invention, and the present invention will be described below with reference to FIG.
First, a two-dimensional processing 1401 for obtaining a two-dimensional coordinate by performing a two-dimensional plane mapping on the input color image signal (Dr, Dg, Db) in which the achromatic axis N is mapped to one point is performed. This is the same as the two-dimensional processing 1101 described above.
Next, a high-order hue determination process 1402 for determining a high-order pseudo hue angle Ha of the obtained two-dimensional coordinates is performed. This corresponds to, for example, the above equation (47).
Next, coordinate rotation processing 1403 for rotating the two-dimensional coordinates according to the obtained upper pseudo hue angle Ha and moving to a specific area is performed. This corresponds to, for example, the above equation (48).
Next, lower hue determination processing 1404 for determining a lower pseudo hue angle Hb according to the moved two-dimensional coordinates is performed. This corresponds to, for example, equation (49) described above.
Next, a pseudo hue angle H is calculated based on the obtained upper pseudo hue angle Ha and lower pseudo hue angle Hb, and the calculated primary hue angle H is determined in advance by a similar procedure. , Y, and the secondary colors R, G, and B are compared with Hc, Hm, Hy, Hr, Hg, and Hb, and a hue region determination process 1405 is performed to determine which partial color space belongs. This corresponds to, for example, the above equations (50) and (51).
As described above, according to the hue region determination processing shown in FIG. 13, it is possible to determine which partial color space the input color image signal (Dr, Dg, Db) belongs to, and to determine the hue angle HUE On the other hand, since the substitute amount (pseudo hue angle H) that increases monotonically is calculated and handled, the processing becomes easier compared to the case where the three-dimensional color space is handled as it is.
[0028]
FIG. 14 shows an example of a block diagram of a hue region determination circuit according to the present invention. Hereinafter, the present invention will be described with reference to FIG.
The hue area determination circuit in FIG. 14 is a circuit that performs the above-described hue area determination processing, and the input color image signals (Dr, Dg, Db) are input to difference circuits 1501 and 1502 (second two-dimensional unit). Is done.
The difference circuit 1501 is the same circuit as the difference circuit 1201 described above, and the difference circuit 1502 is the same circuit as the difference circuit 1102 described above, and the respective calculation results GR and BG are output to the upper hue determination circuit 1503 and the coordinate rotation circuit 1504. .
The upper hue determination circuit 1503 performs the comparison and the logical operation exemplified in the equation (47) to determine the upper pseudo hue angle Ha. The result is output to the coordinate rotation circuit 1504 and the lower hue determination circuit 1505. In the claims, the pseudo hue angle calculation means means the upper hue determination circuit 1503, the coordinate rotation circuit 1504, and the lower hue determination circuit 1505.
The coordinate rotation circuit 1504 is a circuit for rotating the difference signal (GR, BG) and moving it to a specific area according to the higher pseudo hue angle Ha as exemplified in the equation (48). (Gr, bg) is output to the lower hue determination circuit 1505.
The lower hue determination circuit 1505 is a circuit that calculates an amount representing an angle at the coordinate position exemplified in Expression (49), and the obtained lower pseudo hue angle Hb is output to the area code generation circuit 1505.
The area code generation circuit 1505 performs the comparison and the logical operation exemplified in the equation (51) to determine which partial color space belongs to, and outputs the exemplified area code value code according to the result.
As described above, according to the hue region determination circuit shown in FIG. 14, it is determined which partial color space the input color image signal (Dr, Dg, Db) belongs to, and the region code corresponding to the result is determined. Since a value can be output and a substitute amount (pseudo hue angle H) that increases monotonously with respect to the hue angle HUE is calculated and handled, the circuit scale is reduced as compared with a case where the three-dimensional color space is used as it is. .
Note that the pseudo hue angles Hc, Hm, Hy, Hr, Hg, and Hb in the above-described region code generation circuit 1505 in equation (51) are rewritable, and these are system control circuits 1506 that control the entire image processing apparatus. Is set in advance. In the above description, when the color image signal (Dr, Dg, Db) is mapped on a two-dimensional plane, the method has been described by way of example in equations (25) and (26), but the achromatic axis N is mapped to one point. Any other method may be used, and can be generally expressed by the following equation.
Two-dimensional coordinates (I, J)
I = Ri · Dr + Gi · Dg + Bi · Db
J = Rj · Dr + Gj · Dg + Bj · Db
Where ri + gi + bi = 0 rj + gj + bj = 0
… (52)
Therefore, the color image signal may be mapped onto a two-dimensional plane using the equation (52).
[0029]
【The invention's effect】
As described above, according to the first aspect of the present invention, the color space of the color image signal is divided by a plane passing through the achromatic axis N and the primary colors C, M, Y and the secondary colors R, G, B. Is divided into six partial color spaces, a hue area is determined to which partial color space the input color image signal belongs, and a correction amount for keeping the input color image signal within the color reproduction range of the printer is calculated. Since the input color image signal was corrected in the achromatic color axis direction based on the calculated correction amount, and the corrected color image signal was converted into a color recording signal corresponding to the color material of the printer according to the determined hue region, When inputting an image signal of a color out of the color reproduction range of the image output system, an image processing method for correcting the image signal in the brightness direction to obtain a printer image comparable to the original image can be easily realized. Can be.
According to the second aspect of the present invention, when the saturation of the input color image signal is high and does not fall within the color reproduction range of the printer even when corrected in the achromatic color axis direction, the correction amount is suppressed, Since the correction was made in the achromatic color axis direction based on the correction amount that suppressed the image signal, it was possible to suppress the correction amount of colors that were high in saturation and did not fall within the color reproduction range of the printer even when moved in the achromatic color axis direction Thus, a more accurate image processing method can be realized.
According to the third aspect of the present invention, since the calculated correction amount is adjusted and the input color image signal is corrected in the achromatic color axis direction based on the adjusted correction amount, the correction in the achromatic color axis direction is not desired. In this case, the adjustment can be made when it is determined that the correction is too strong, and an image processing method with excellent operability can be realized.
[0030]
According to the fourth aspect of the present invention, the suppressed correction amount is adjusted, and the input color image signal is corrected in the achromatic color axis direction based on the adjusted correction amount. When there is no correction or when it is determined that the correction is too strong, the adjustment can be performed, and an image processing method excellent in operability can be realized.
According to the fifth aspect of the present invention, the input color image signal is mapped to a two-dimensional plane where the achromatic axis is mapped to one point, and the hue region is determined. Thus, the processing is facilitated, and an easier image processing method can be realized.
According to the sixth aspect of the present invention, the input color image signal is mapped onto a two-dimensional plane where the achromatic axis is mapped to one point, and the color image signal is monotonically increased with respect to the hue angle of the mapped color image signal. Since the amount is calculated and the hue area is determined, the processing becomes easier as compared with the case where the three-dimensional color space is handled as it is, and an easier image processing method can be realized.
According to the seventh aspect of the present invention, a hue region determination unit that determines a hue region to which a color represented by an input color image signal belongs, and a color represented by the input color image signal according to the determined hue region. Correction amount calculating means for calculating a minimum amount of correction in the achromatic color axis direction required to be within the color reproduction range of the printer, and brightness correction means for correcting a color image signal in the achromatic color axis direction based on the correction amount And color conversion means for converting the corrected color image signal into a color recording signal corresponding to a color material of a printer in accordance with the determined hue region. Since the correction is performed in the chromatic axis direction, the hue area determination of the color image signal after correction is the same as the hue area determination of the color image signal before correction. By using the fixed result, when inputting an image signal of a color outside the color reproduction range of the image output system, the image signal is corrected in the brightness direction to obtain a simple image for obtaining a printer image comparable to the original image A processing device can be realized.
According to the invention described in claim 8, when the color represented by the input color image signal has a high saturation and does not fall within the color reproduction range of the printer even when moved in the achromatic color axis direction, the calculated correction amount Has a high saturation correction means for suppressing, the lightness correction means corrected the color image signal in the achromatic color axis direction based on the suppressed correction amount, so that the saturation is high, it is moved in the achromatic color axis direction Also, the amount of correction of colors that do not fall within the color reproduction range of the printer can be suppressed, and a more accurate image processing apparatus can be realized.
[0031]
According to the ninth aspect of the present invention, there is provided a correction amount adjusting means for adjusting the magnitude of the calculated correction amount, wherein the brightness correction means converts a color image signal into an achromatic color axis based on the adjusted correction amount. Since the correction is made in the direction, the correction can be performed when the correction in the achromatic color axis direction is not desired or when it is determined that the correction is too strong, and an image processing apparatus excellent in operability can be realized.
According to the tenth aspect of the present invention, the image processing apparatus further includes a correction amount adjusting unit that adjusts the magnitude of the suppressed correction amount, wherein the brightness correction unit converts the color image signal to an achromatic color based on the adjusted correction amount. Since the correction is performed in the axial direction, the adjustment can be performed when correction in the achromatic color axis direction is not desired or when it is determined that the correction is too strong, and an image processing apparatus with excellent operability can be realized.
According to an eleventh aspect of the present invention, the hue region determination unit includes a first two-dimensional unit that maps the input color image signal onto a two-dimensional plane in which an achromatic axis is mapped to one point. Therefore, the circuit scale is reduced as compared with the case where the three-dimensional color space is handled as it is, and a simpler image processing apparatus can be realized.
According to the twelfth aspect of the present invention, the hue region determining means maps the input color image signal to a two-dimensional plane in which an achromatic axis is mapped to one point, A pseudo hue angle calculating means for calculating an alternative amount that monotonically increases with respect to the hue angle of a color image signal mapped on a two-dimensional plane is provided. A smaller image processing device can be realized.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of a relationship between a color space of a color image signal (Dr, Dg, Db) of the present invention and a color reproduction range of a printer.
FIG. 2 is a sectional view of the color space of the color image signals (Dr, Dg, Db) of FIG. 1 cut along a plane through which an achromatic axis N passes.
FIG. 3 is a diagram showing a flow of an image processing method of the present invention.
FIG. 4 is a block diagram of an image processing apparatus according to the present invention.
FIG. 5 is a diagram of a color space of a color image signal of the present invention.
FIG. 6 shows that the color space of the color image signal (Dr, Dg, Db) of the present invention is defined by an achromatic axis N (Dr = Dg = Db), primary colors C, M, Y and secondary colors R, G, It is the figure divided by the plane which respectively passes through B.
7 is a cross-sectional view of the color space of the color image signal of FIG. 5 of the present invention cut along a plane through which an achromatic axis N passes.
FIG. 8 is a circuit diagram for determining which partial color space the color image signal (Dr, Dg, Db) of the present invention belongs to.
9 is a diagram in which the partial color space shown in FIG. 6 of the present invention is mapped onto a plane having two axes of difference signals “Dg-Dr” and “Db-Dg” of a color image signal.
FIG. 10 is a flowchart of a hue region determination process according to the present invention.
FIG. 11 is a block diagram of a hue region determination circuit according to the present invention.
FIG. 12 is a diagram in which a plane having two axes of a difference signal GR (= Dg−Dr) and BG (= Db−Dg) of a color image signal of the present invention is equally divided into eight regions.
FIG. 13 is a flowchart of a hue region determination process according to the present invention.
FIG. 14 is a block diagram of a hue region determination circuit according to the present invention.
FIG. 15 is a detailed diagram of a correction amount calculation circuit according to the present invention.
FIG. 16 is a detailed diagram of a high saturation correction circuit 403 of the present invention.
FIG. 17 is a detailed diagram of a color conversion circuit 408 of the present invention.
FIG. 18 is a detailed diagram of a UCR circuit 409 of the present invention.
FIG. 19 is a diagram illustrating color image signals of W and K, primary colors C, M, and Y and secondary colors R, G, and B of the printer of the present invention.
20 is a diagram showing optimum print signals of respective color materials of the printer corresponding to W and K, primary colors C, M, Y and secondary colors R, G, B of the printer shown in FIG. 19 of the present invention. is there.
FIG. 21 is a diagram illustrating a correspondence relationship between color image signals (Dr ′, Dg ′, Db ′) and color recording signals (Dc, Dm, Dy, Dk) in W, K, C, B of the present invention.
[Explanation of symbols]
401 hue area determination circuit, 402 correction amount calculation circuit, 403 high saturation correction circuit, 404 lightness correction circuit, 405 correction amount adjustment circuit, 406 adjustment amount setting circuit, 407 lightness correction circuit, 408 color conversion circuit, 409 UCR

Claims (12)

カラー画像信号の色空間を無彩色軸Nと1次色C、M、Yおよび2次色R、G、Bをそれぞれ通る平面で区切り、6つの部分色空間に分割し、入力カラー画像信号がどの部分色空間に属するかの色相領域を判定し、
前記入力カラー画像信号をプリンタの色再現範囲内とするための補正量を算出し、
算出した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正し、
前記判定した色相領域に応じて前記補正したカラー画像信号をプリンタの色材に対応したカラー記録信号に変換することを特徴とするカラー画像処理方法。
The color space of the color image signal is divided by a plane passing through the achromatic color axis N and the primary colors C, M, Y and the secondary colors R, G, B, and divided into six partial color spaces. Determine the hue area that belongs to which partial color space,
Calculating a correction amount for setting the input color image signal within the color reproduction range of the printer,
The input color image signal is corrected in the achromatic color axis direction based on the calculated correction amount,
A color image processing method comprising: converting the corrected color image signal into a color recording signal corresponding to a color material of a printer according to the determined hue region.
前記入力カラー画像信号の彩度が高く、無彩色軸方向に補正してもプリンタの色再現範囲内に入らない場合、前記補正量を抑制し、前記入力カラー画像信号を抑制した補正量に基づいて無彩色軸方向に補正することを特徴とする請求項1記載のカラー画像処理方法。If the saturation of the input color image signal is high and does not fall within the color reproduction range of the printer even when corrected in the achromatic color axis direction, the correction amount is suppressed, and based on the correction amount that suppresses the input color image signal. 2. The color image processing method according to claim 1, wherein the correction is performed in an achromatic color axis direction. 前記算出された補正量を調整し、該調整した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正することを特徴とする請求項1記載のカラー画像処理方法。2. The color image processing method according to claim 1, wherein the calculated correction amount is adjusted, and the input color image signal is corrected in the achromatic axis direction based on the adjusted correction amount. 前記抑制された補正量を調整し、該調整した補正量に基づいて入力カラー画像信号を無彩色軸方向に補正することを特徴とする請求項2記載のカラー画像処理方法。3. The color image processing method according to claim 2, wherein the suppressed correction amount is adjusted, and the input color image signal is corrected in the achromatic color axis direction based on the adjusted correction amount. 入力したカラー画像信号を無彩色軸が1点に写像される2次元平面に写像して色相領域を判定することを特徴とする請求項1ないし4記載のカラー画像処理方法。5. The color image processing method according to claim 1, wherein the input color image signal is mapped to a two-dimensional plane where the achromatic axis is mapped to one point to determine a hue area. 入力したカラー画像信号を無彩色軸が1点に写像される2次元平面に写像し、写像されたカラー画像信号の色相角に対して単調増加となる代替量を算出し、色相領域を判定することを特徴とする請求項1ないし4記載のカラー画像処理方法。The input color image signal is mapped to a two-dimensional plane where the achromatic axis is mapped to one point, and a substitute amount that increases monotonically with respect to the hue angle of the mapped color image signal is calculated to determine a hue area. 5. The color image processing method according to claim 1, wherein: 入力されたカラー画像信号が表す色が属する色相領域を判定する色相領域判定手段と、
前記判定した色相領域に応じて、前記入力カラー画像信号が表す色をプリンタの色再現範囲内とするために最低限必要な無彩色軸方向の補正量を算出する補正量算出手段と、
前記補正量を基にカラー画像信号を無彩色軸方向に補正する明度補正手段と、前記判定した色相領域に応じて、前記補正されたカラー画像信号をプリンタの色材に対応したカラー記録信号に変換する色変換手段と、
を有することを特徴としたカラー画像処理装置。
Hue region determining means for determining a hue region to which a color represented by the input color image signal belongs;
Correction amount calculation means for calculating a minimum amount of correction in the achromatic color axis direction necessary for setting the color represented by the input color image signal within the color reproduction range of the printer, according to the determined hue region,
A lightness correction unit that corrects a color image signal in the achromatic color axis direction based on the correction amount; and, in accordance with the determined hue region, converts the corrected color image signal into a color recording signal corresponding to a color material of a printer. Color conversion means for converting;
A color image processing apparatus comprising:
前記入力カラー画像信号の表す色が、彩度が高くて無彩色軸方向に移動させてもプリンタの色再現範囲内に入らない時に、前記算出した補正量を抑制する高彩度修正手段を有し、
前記明度補正手段は前記抑制された補正量を基にカラー画像信号を無彩色軸方向に補正することを特徴とする請求項7のカラー画像処理装置。
When the color represented by the input color image signal has high saturation and does not fall within the color reproduction range of the printer even when moved in the achromatic color axis direction, the high color saturation correction means for suppressing the calculated correction amount,
8. The color image processing apparatus according to claim 7, wherein said brightness correction means corrects a color image signal in an achromatic color axis direction based on said suppressed correction amount.
前記算出した補正量の大きさを調整する補正量調整手段を有し、
前記明度補正手段は前記調整された補正量を基にカラー画像信号を無彩色軸方向に補正するこを特徴とする請求項7のカラー画像処理装置。
Having a correction amount adjusting means for adjusting the magnitude of the calculated correction amount,
8. The color image processing apparatus according to claim 7, wherein said brightness correction means corrects the color image signal in the achromatic color axis direction based on the adjusted correction amount.
前記抑制された補正量の大きさを調整する補正量調整手段を有し、
前記明度補正手段は前記調整された補正量を基にカラー画像信号を無彩色軸方向に補正することを特徴とする請求項8のカラー画像処理装置。
Having a correction amount adjusting means for adjusting the magnitude of the suppressed correction amount,
9. The color image processing apparatus according to claim 8, wherein said brightness correction means corrects the color image signal in the achromatic color axis direction based on the adjusted correction amount.
前記色相領域判定手段は、入力されたカラー画像信号を無彩色軸が1点に写像される2次元平面に写像する第1の2次元化手段を備えたことを特徴とする請求項7乃至10のカラー画像処理装置。11. The device according to claim 7, wherein the hue region determination unit includes a first two-dimensional unit that maps the input color image signal onto a two-dimensional plane in which an achromatic axis is mapped to one point. Color image processing device. 前記色相領域判定手段は、入力されたカラー画像信号を無彩色軸が1点に写像される2次元平面に写像する第2の2次元化手段と、前記2次元平面に写像されたカラー画像信号の色相角に対して単調増加となる代替量を算出する擬似色相角算出手段とを備えたことを特徴とする請求項7乃至10のカラー画像処理装置。The hue region determination means includes: a second two-dimensional conversion means for mapping the input color image signal on a two-dimensional plane in which an achromatic axis is mapped to one point; and a color image signal mapped on the two-dimensional plane. 11. The color image processing apparatus according to claim 7, further comprising: a pseudo hue angle calculating unit configured to calculate a substitute amount that increases monotonously with respect to the hue angle.
JP2003028891A 2003-02-05 2003-02-05 Color image processing method and color image processing apparatus Pending JP2004242040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003028891A JP2004242040A (en) 2003-02-05 2003-02-05 Color image processing method and color image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003028891A JP2004242040A (en) 2003-02-05 2003-02-05 Color image processing method and color image processing apparatus

Publications (1)

Publication Number Publication Date
JP2004242040A true JP2004242040A (en) 2004-08-26

Family

ID=32956216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003028891A Pending JP2004242040A (en) 2003-02-05 2003-02-05 Color image processing method and color image processing apparatus

Country Status (1)

Country Link
JP (1) JP2004242040A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188128A (en) * 2006-01-11 2007-07-26 Omron Corp Measuring method and measuring apparatus using color image
US8675961B2 (en) 2007-08-09 2014-03-18 Seiko Epson Corporation Image processing system, display device, program and information storage medium for correction of color information
CN110784701A (en) * 2018-07-30 2020-02-11 三星显示有限公司 Display apparatus and image processing method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188128A (en) * 2006-01-11 2007-07-26 Omron Corp Measuring method and measuring apparatus using color image
US8675961B2 (en) 2007-08-09 2014-03-18 Seiko Epson Corporation Image processing system, display device, program and information storage medium for correction of color information
CN110784701A (en) * 2018-07-30 2020-02-11 三星显示有限公司 Display apparatus and image processing method thereof

Similar Documents

Publication Publication Date Title
JP2994153B2 (en) Color signal converter
US7764411B2 (en) Color processing apparatus and method, and storage medium storing color processing program
US7403205B2 (en) Fast primary mapping and gamut adaptation to construct three dimensional lookup tables
US6897988B1 (en) Image processing apparatus, image processing method, and storage medium for color matching
KR101166388B1 (en) Color space conversion apparatus and control method for thereof
JP5043513B2 (en) Color processing apparatus and method
JPH11341296A (en) Color gamut conversion method and color gamut conversion device
US7944594B2 (en) Image processing device and an image processing method for curbing the amount of color material consumed and suppressing a deterioration in image quality
US7990575B2 (en) Color processing apparatus and method for performing gamut mapping
US8427696B2 (en) Color processing method and apparatus thereof
US6922197B2 (en) Method of generating color separation table
JP5440195B2 (en) Color profile creation method, image processing apparatus for creating color profile, and control program for image processing apparatus
US20100156929A1 (en) Ridge-based color gamut mapping
JP4137393B2 (en) Image processing apparatus, image processing method, color conversion table creation method, and recording medium
US7229146B2 (en) System and method for characterizing a printing device
JP2004242040A (en) Color image processing method and color image processing apparatus
JP2004104777A (en) Color gamut mapping method, color gamut mapping device, color gamut mapping program, and storage medium
JP2554366B2 (en) Method of estimating color reproduction characteristics using color patches
US20070230780A1 (en) Hue correction system and method thereof
JP4164944B2 (en) Color gamut compression apparatus and color gamut compression method
KR100408508B1 (en) Method and apparatus for processing color, signal using color difference plane separation
JP2004013361A (en) Image processing apparatus, image processing method, and program for causing computer to execute the method
JP2003078774A (en) Color adjustment method, program for implementing the color adjustment method and medium for storing the program
JP5630231B2 (en) Color adjustment method, color adjustment apparatus, color adjustment program, and medium storing color adjustment program
EP1495631B1 (en) System and method for characterizing a printing device