JP3791593B2 - Image processing apparatus, image processing method, program, and recording medium - Google Patents

Image processing apparatus, image processing method, program, and recording medium Download PDF

Info

Publication number
JP3791593B2
JP3791593B2 JP2001134554A JP2001134554A JP3791593B2 JP 3791593 B2 JP3791593 B2 JP 3791593B2 JP 2001134554 A JP2001134554 A JP 2001134554A JP 2001134554 A JP2001134554 A JP 2001134554A JP 3791593 B2 JP3791593 B2 JP 3791593B2
Authority
JP
Japan
Prior art keywords
conversion
hue
image processing
lightness
processing apparatus
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.)
Expired - Fee Related
Application number
JP2001134554A
Other languages
Japanese (ja)
Other versions
JP2002330300A (en
Inventor
政史 金井
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001134554A priority Critical patent/JP3791593B2/en
Publication of JP2002330300A publication Critical patent/JP2002330300A/en
Application granted granted Critical
Publication of JP3791593B2 publication Critical patent/JP3791593B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、プリンタ、プロジェクタ等のための画像処理、特にR(赤)G(緑)B(青)の3色で表現される画像データを使用機器、ユーザの好み等に合わせて色変換処理する画像処理装置、画像処理方法、プログラムおよび記録媒体に関する。
【0002】
【従来の技術】
印刷処理における色変換は、画質劣化を補正して良好な色再現性を保つために必須の技術である。また、モニタ・プロジェクタなどの表示装置においても、使用条件などに合わせた所望の色再現を行うために色変換処理が行われている。
【0003】
【発明が解決しようとする課題】
しかし、マトリックス演算方式の色変換の場合、印画の非線型性によって好適な色変換を実現することができない。また、赤、青、緑、イエロー(Y)、シアン(C)、マゼンタ(M)の6色相(基準色相)間における明度変換量を独立して補正できないため、全色空間において良好な色変換を実現することができない。
【0004】
本発明は、上記問題点を解決するためになされたもので、基準色相間の領域における明度変換量を基準色相毎に独立して補正可能な画像処理装置、画像処理方法、プログラムおよび記録媒体を提供することを課題とする。
【0005】
【課題を解決するための手段】
上記課題に鑑み、請求項1に記載の発明は、RGB色空間において、RGB画像入力データに対して所望の画像処理を施す画像処理装置であって、前記RGB画像入力データが示す変換前色点の色相を判定する色相判定手段と、明度変換量を規定する明度変換パラメータを入力するためのパラメータ入力手段と、当該色相判定手段の判定結果および入力された明度変換パラメータに応じて、白または黒に向かって直線的に前記変換前色点を明度変換する明度変換手段と、を備え、前記RGB画像入力データの明度変換を行うように構成される。
【0006】
以上のように構成された、RGB色空間において、RGB画像入力データに対して所望の画像処理を施す画像処理装置によれば、色相判定手段によって前記RGB画像入力データが示す変換前色点の色相が判定され、パラメータ入力手段によって明度変換量を規定する明度変換パラメータが入力される。そして、色相判定手段の判定結果および入力された明度変換パラメータに応じて、明度変換手段によって、白または黒に向かって直線的に前記変換前色点が明度変換され、前記RGB画像入力データの明度変換が行われる。
【0007】
また、請求項2に記載の発明は、請求項1に記載の画像処理装置であって、前記色相判定手段が、前記RGB画像入力データが示す変換前色点が、RGB色空間内において複数に分割された色相領域のいずれに属するかを判定し、当該判定結果に応じて、前記明度変換手段が明度変換を行うように構成される。
【0008】
さらに、請求項3に記載の発明は、請求項2に記載の画像処理装置であって、前記色相判定手段が、前記RGB画像入力データが示す変換前色点が、R−Y色相領域、Y−G色相領域、G−C色相領域、C−B色相領域、B−M色相領域、M−R色相領域のいずれに属するかを判定するように構成される。
【0009】
また、請求項4に記載の発明は、請求項1乃至3のいづれか一項に記載の画像処理装置であって、前記明度変換手段は、入力された明度変換パラメータが正の場合に白に向かって直線的に前記変換前色点を明度変換し、負の場合に黒に向かって直線的に前記変換前色点を明度変換するように構成される。
【0010】
さらに、請求項5に記載の発明は、請求項1乃至4のいづれか一項に記載の画像処理装置であって、前記明度変換パラメータは、RGBCMYの各色相に対して独立に設定可能であるように構成される。
【0011】
また、請求項6に記載の発明は、請求項1乃至5のいづれか一項に記載の画像処理装置であって、前記色相判定手段による判定結果と、入力された明度変換パラメータとに基づき、前記RGB画像入力データの明度変換量を計算する明度変換量計算手段を備えて構成される。
【0012】
さらに、請求項7に記載の発明は、請求項1乃至6のいづれか一項に記載の画像処理装置であって、前記RGB画像入力データが示す変換前色点の色相に基づき、前記明度変換手段による明度変換量に対して所望の重み付け処理を施す重み付け手段を備え、前記重み付けされた明度変換量に基づきRGB画像入力データの明度変換を行うように構成される。
【0013】
また、請求項8に記載の発明は、請求項7に記載の画像処理装置であって、前記重み付け手段は、前記変換前色点がグレイ軸に近づくにつれて明度変換量が減少するように重み付けを行うように構成される。
【0014】
さらに、請求項9に記載の発明は、請求項7または8に記載の画像処理装置であって、前記重み付け手段は、所定の基準色相に関する明度変換量が、基準色相において最大で、当該基準色相から離れるに従って減少し、隣接する基準色相で最小になるように構成される。
【0015】
また、請求項10に記載の発明は、RGB色空間において、RGB画像入力データに対して所望の画像処理を施す画像処理方法であって、前記RGB画像入力データが示す変換前色点の色相を判定する色相判定工程と、明度変換量を規定する明度変換パラメータを入力するためのパラメータ入力工程と、当該色相判定工程の判定結果および入力された明度変換パラメータに応じて、白または黒に向かって直線的に前記変換前色点を明度変換する明度変換工程と、を備え、前記RGB画像入力データの明度変換を行うように構成される。
【0016】
さらに、請求項11に記載の発明は、RGB色空間において、RGB画像入力データに対して施される所望の画像処理をコンピュータに実行させるためのプログラムであって、前記RGB画像入力データが示す変換前色点の色相を判定する色相判定処理と、明度変換量を規定する明度変換パラメータを入力するためのパラメータ入力処理と、当該色相判定処理の判定結果および入力された明度変換パラメータに応じて、白または黒に向かって直線的に前記変換前色点を明度変換する明度変換処理と、を備え、前記RGB画像入力データの明度変換を行う画像処理をコンピュータに実行させるように構成される。
【0017】
また、請求項12に記載の発明は、請求項11に記載のプログラムを記録したコンピュータによって読取可能な記録媒体である。
【0018】
【発明の実施の形態】
以下、図面を参照して、本発明の好適な実施の形態について説明する。当該実施形態では、プロジェクタにおける画像処理について説明する。
【0019】
図1に、本発明の一実施形態にかかるプロジェクタ内の画像処理部100の機能ブロック図を示す。
【0020】
本発明の一実施形態にかかるプロジェクタ内の画像処理部100は、アナログ形式の画像入力信号をデジタル信号に変換するA/D変換部110と、RGB画像入力データに基づき色相を判定する色相判定部115と、RGB画像入力信号に対して所望の明度変換を行う明度変換部120と、デジタル信号をアナログ信号に変換するためのD/A変換部130と、液晶ライトバルブを駆動して画像の投影表示を行うためのL/V(ライトバルブ)駆動部140と、を備えて構成される。
【0021】
さらに、明度変換部120は、各色相毎に明度変換パラメータを入力するためのパラメータ入力部120aと、前記色相判定部115によって判定された色相と入力された明度変換パラメータとに基づき、前記RGB画像入力データの明度変換量を計算する変換量計算部120bと、前記色相判定部によって判定された色相に基づき、前記明度変換量に対して重み付け処理を施す重み付け部120cと、を備えて構成される。
【0022】
図2に、明度変換部120による処理を説明するための6つの色相領域を示す。明度変換部120による変換は全てRGB空間において行われる。
【0023】
色相は、図2に示すように6つの領域に分けて、それぞれの領域毎に明度変換を行う。すなわち、色相判定部115によってRGB画像入力データに基づき色相が判定され、判定結果に基づき各領域毎に明度変換が行われる。
【0024】
そして、パラメータ入力部120aによって、R,G,B,C,M,Yの各色相に対して、明度変換量を規定する明度変換パラメータが入力される。入力される明度変換パラメータの範囲は、−128以上で127以下である。図2の各領域ではRGBCMYのうちの2色に関する明度変換パラメータが明度変換量の計算に関係する。例えば、図2の領域1ではRおよびYの明度変換パラメータが明度変換量の計算に関係する。換言すれば、RGBCMYの各明度変換量は、それぞれ隣り合った2つの色相領域に影響する。例えば、Rならば領域1および領域6に影響する。
【0025】
そして、重み付け部120cは、図3に示すように、例えばRの場合、RGBCMYの各変換量が各原色(RGB空間の頂点)で最大となり、隣の色相やグレイ軸に近づくに従って小さくなるように重み付けを行う。このような重み付けを行うことで、明度変換後もRGB空間の連続性が維持される。重み付け処理については以下に詳述する。
【0026】
色相判定部115および明度変換部120の動作
次に、図4を参照して、本発明の一実施形態にかかるプロジェクタの画像処理部100内の色相判定部115および明度変換部120の動作を説明する。
【0027】
なお、以下に説明する色相判定部115および明度変換部120による明度変換処理は、プロジェクタのプログラム格納部(図示せず)に記録された画像処理プログラムを実行することによって行われる。前記プログラム格納部は、画像処理プログラムを記録した媒体を構成する。さらに、当該画像処理プログラム自体も、本願発明の範囲内に包含される。
【0028】
まず、プロジェクタの使用が開始されると、色相判定部115は、RGB画像入力データのR,G,B値の大小関係を求め(S10)、RGB画像入力データが図2に示す色相領域1〜6またはグレイ(Gray)領域のいずれに属するかを判定する。すなわち、色相判定部115は、
(1) R≧G>Bのとき、R−Y領域(図2の色相領域1)であると判定してR−Y領域における明度変換処理を行い(S12)、
(2) G>R≧Bのとき、Y−G領域(図2の色相領域2)であると判定してY−G領域における明度変換処理を行い(S14)、
(3) G≧B>Rのとき、G−C領域(図2の色相領域3)であると判定してG−C領域における明度変換処理を行い(S16)、
(4) B>G≧Rのとき、C−B領域(図2の色相領域4)であると判定してC−B領域における明度変換処理を行い(S18)、
(5) B≧R>Gのとき、B−M領域(図2の色相領域5)であると判定してB−M領域における明度変換処理を行い(S20)、
(6) R>B≧Gのとき、M−R領域(図2の色相領域6)であると判定してM−R領域における明度変換処理を行い(S22)、
(7) R=G=Bのとき、グレイ領域(無変換の領域)であると判定して明度変換処理を行わない(S24)。
【0029】
次に、図5を参照して、各色相領域における明度変換部120による処理を説明する。当該実施形態では、R≧G>Bのとき、すなわちR−Y領域(図2の色相領域1)における明度変換処理に関して説明する。当該明度変換処理は、図2に示す他の色相領域2〜6についても色相領域1と同様であるため、その説明を省略する。
【0030】
図5に示すように、まず、パラメータ入力部120aから変換量算出部120bに対して、明度変換量を規定するパラメータ(当該明細書において「明度変換パラメータ」と称する)が入力される(S30)。明度変換パラメータは、
RL:Rの明度変換パラメータ(−128≦RL≦127)
GL:Gの明度変換パラメータ(−128≦GL≦127)
BL:Bの明度変換パラメータ(−128≦BL≦127)
CL:Cの明度変換パラメータ(−128≦CL≦127)
ML:Mの明度変換パラメータ(−128≦ML≦127)
YL:Yの明度変換パラメータ(−128≦YL≦127)
と定義される。
【0031】
次に、変換量算出部120bによる明度変換量の算出処理が行われる(S32)。明度変換パラメータが正、すなわちRL>0の場合、RGB空間において、点P(R,G,B)は白(W)に向かって点P’(R’,G’,B’)に変換される。一方、明度変換パラメータが負、すなわちRL<0の場合、RGB空間において、点P(R,G,B)は黒(K)に向かって点P’(R’,G’,B’)に変換される。
【0032】
以下の明度変換処理は、RLが正の場合と負の場合とに分けて説明する。
(1) 明度変換パラメータが正、すなわちRL>0の場合
図6に、RGB空間を、点Rを通りグレイ軸を含む平面で切った場合の断面を示す。明度変換パラメータが正のときは、図6に示すように、点Pは線分WP上の点P’に変換される。点Pが線分WR上の点である場合には、関係式:
PP’=2RL×PW/255 … (1)
が成立する。
【0033】
次に、重み付け部120cは、所望の重み付け処理を行う(S34)。
【0034】
まず、重み付け部120cは、図7に示すように、線分WR上に存在しない点に関しては、点Pがグレイ軸(線分WK)に近づくにつれて明度変換量が減少するように重み付けを行う。このときの重み付け係数は、R−Y領域において、(R−B)/(255−B)となる。
【0035】
さらに、重み付け部120cは、図8に示すように、色相に関しても重み付け処理を行う。すなわち、Rの明度変換は、Rの頂点を含む色相(基準色相)において1で、当該基準色相から離れるに従って減少し、Yの頂点を含む色相(隣接する基準色相)で0になるようにする。このような重み付け係数は、(R−G)/(R−B)である。
【0036】
したがって、RLが正の場合は、明度変換量PP’=(ΔR,ΔG,ΔB)は、
【0037】
【数1】

Figure 0003791593
のように表される。
(2) 明度変換パラメータが負、すなわちRL<0の場合
図9に、RGB空間を、点Rを通りグレイ軸を含む平面で切った場合の断面を示す。明度変換パラメータが負のときは、図9に示すように、点Pは線分PK上の点P’に変換される。
【0038】
次に、重み付け部120cは、所望の重み付け処理を行う(S34)。
【0039】
まず、重み付け部120cは、図7に示すように、線分KR上に存在しない点に関しては、点Pがグレイ軸(線分WK)に近づくにつれて明度変換量が減少するように重み付けを行う。このときの重み付け係数は、R−Y領域において、
(R−B)/Rとなる。
【0040】
さらに、重み付け部120cは、明度変換パラメータが正の場合と同様に、図8に示すような色相に関する重み付け処理を行う。すなわち、Rの明度変換は、Rの頂点を含む色相(基準色相)において1で、当該基準色相から離れるに従って減少し、Yの頂点を含む色相(隣接する基準色相)で0になるようにする。このような重み付け係数は、(R−G)/(R−B)である。
【0041】
したがって、RLが負の場合は、明度変換量PP’=(ΔR,ΔG,ΔB)は、
【0042】
【数2】
Figure 0003791593
のように表される。
【0043】
また、図10に示すように、Yの明度変換における色相に関する重み付けは、Yの頂点を含む色相(基準色相)において1で、当該基準色相から離れるに従って減少し、Rの頂点を含む色相(隣接する基準色相)で0になるようにする。このような重み付け係数は、(G−B)/(R−B)である。すなわち、Yの明度変換における色相に関する重み付けは、Rの明度変換における色相に関する重み付け係数(R−G)/(R−B)を(G−B)/(R−B)に変更することによって行われる。
【0044】
したがって、Yの明度変換における色相に関する重み付けは、YL≧0のとき
【0045】
【数3】
Figure 0003791593
であり、YL<0のとき
【0046】
【数4】
Figure 0003791593
となる。
【0047】
最終的なR−Y領域における変換量は、RLに関する変換量とYLに関する変換量とを重ね合せたものとなる。この際、RL,YLの正負によって式の形が異なる部分((1)変換する方向(W方向またはK方向)、(2)グレイ軸に近づくにつれて明度変換量が減少するという重み付け)に関しては、RLおよびYLに関して色相についての重み付けした結果が正または負かに基づいて決定する。
【0048】
最終的な変換量は、
L=(R−G)×2RL/255+(G−B)×2YL/255 … (6)
L>0のとき
【0049】
【数5】
Figure 0003791593
L<0のとき
【0050】
【数6】
Figure 0003791593
となる。
【0051】
以上のようにして、当該実施形態による画像処理装置によれば、基準色相間の領域における明度変換量を基準色相毎に独立に、且つ隣の領域との連続性が失われないように設定できるので、全色空間において良好な色変換を実現することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかるプロジェクタ内の画像処理部100の機能ブロック図である。
【図2】明度変換部120による処理を説明するための6つの色相領域を示す図である。
【図3】重み付け部120cによる重み付け処理を説明するための図である。
【図4】本発明の一実施形態にかかる色相判定部115および明度変換部120の動作を説明するためのフローチャートである。
【図5】各色相領域における明度変換部120の動作を説明するためのフローチャートである。
【図6】変換量算出部120bによる明度変換量の算出処理を説明するための図(1)である。
【図7】変換量算出部120bによる明度変換量の算出処理を説明するための図(2)である。
【図8】重み付け部120cによるRに対する重み付け処理を説明するための図である。
【図9】変換量算出部120bによる明度変換量の算出処理を説明するための図(3)である。
【図10】重み付け部120cによるYに対する重み付け処理を説明するための図である。
【符号の説明】
100 画像処理部
110 A/D変換部
115 色相判定部
120 明度変換部
120a パラメータ入力部
120b 変換量算出部
120c 重み付け部
130 D/A変換部
140 L/V駆動部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to image processing for printers, projectors, and the like, in particular, color conversion processing of image data expressed in three colors of R (red), G (green), and B (blue) according to the use device, user preference, and the like The present invention relates to an image processing apparatus, an image processing method, a program, and a recording medium.
[0002]
[Prior art]
Color conversion in the printing process is an essential technique for correcting image quality deterioration and maintaining good color reproducibility. Also, in a display device such as a monitor / projector, color conversion processing is performed in order to perform desired color reproduction according to usage conditions.
[0003]
[Problems to be solved by the invention]
However, in the case of matrix conversion color conversion, suitable color conversion cannot be realized due to the non-linearity of the print. In addition, since the amount of lightness conversion between the six hues (reference hues) of red, blue, green, yellow (Y), cyan (C), and magenta (M) cannot be independently corrected, good color conversion is possible in the entire color space. Cannot be realized.
[0004]
The present invention has been made to solve the above-described problems, and provides an image processing apparatus, an image processing method, a program, and a recording medium that can independently correct a lightness conversion amount in an area between reference hues for each reference hue. The issue is to provide.
[0005]
[Means for Solving the Problems]
In view of the above problems, the invention according to claim 1 is an image processing apparatus that performs desired image processing on RGB image input data in an RGB color space, and the pre-conversion color point indicated by the RGB image input data A hue determination means for determining the hue of the image, a parameter input means for inputting a lightness conversion parameter for defining the lightness conversion amount, white or black depending on the determination result of the hue determination means and the input lightness conversion parameter Brightness conversion means for linearly converting the pre-conversion color point toward the image, and configured to perform brightness conversion of the RGB image input data.
[0006]
According to the image processing apparatus configured to perform desired image processing on the RGB image input data in the RGB color space configured as described above, the hue of the pre-conversion color point indicated by the RGB image input data by the hue determination unit And a lightness conversion parameter that defines the lightness conversion amount is input by the parameter input means. Then, according to the determination result of the hue determination means and the input brightness conversion parameter, the brightness conversion means linearly converts the color point before conversion toward white or black, and the brightness of the RGB image input data Conversion is performed.
[0007]
The invention according to claim 2 is the image processing apparatus according to claim 1, wherein the hue determination unit includes a plurality of pre-conversion color points indicated by the RGB image input data in the RGB color space. It is configured to determine which of the divided hue regions belongs and the lightness conversion means performs lightness conversion according to the determination result.
[0008]
Furthermore, the invention described in claim 3 is the image processing apparatus according to claim 2, wherein the hue determination unit is configured such that the pre-conversion color point indicated by the RGB image input data is an RY hue region, Y -G hue region, GC hue region, CB hue region, BM hue region, or MR hue region is configured to be determined.
[0009]
The invention described in claim 4 is the image processing apparatus according to any one of claims 1 to 3, wherein the lightness conversion means turns to white when the input lightness conversion parameter is positive. Then, the color point before the conversion is linearly converted to lightness, and when negative, the color point before conversion is linearly converted toward black.
[0010]
Furthermore, the invention according to claim 5 is the image processing apparatus according to any one of claims 1 to 4, wherein the brightness conversion parameter can be set independently for each hue of RGBCMY. Configured.
[0011]
The invention according to claim 6 is the image processing apparatus according to any one of claims 1 to 5, wherein, based on the determination result by the hue determination unit and the input brightness conversion parameter, It comprises lightness conversion amount calculating means for calculating the lightness conversion amount of the RGB image input data.
[0012]
Furthermore, the invention according to claim 7 is the image processing apparatus according to any one of claims 1 to 6, wherein the lightness conversion means is based on a hue of a color point before conversion indicated by the RGB image input data. Weighting means for applying a desired weighting process to the lightness conversion amount according to the above, and is configured to perform lightness conversion of RGB image input data based on the weighted lightness conversion amount.
[0013]
The invention according to claim 8 is the image processing apparatus according to claim 7, wherein the weighting unit performs weighting so that the lightness conversion amount decreases as the pre-conversion color point approaches the gray axis. Configured to do.
[0014]
Further, the invention according to claim 9 is the image processing apparatus according to claim 7 or 8, wherein the weighting unit has a maximum lightness conversion amount with respect to a predetermined reference hue in the reference hue, and the reference hue. It is configured so as to decrease as it moves away from the image, and to be minimized at the adjacent reference hue.
[0015]
According to a tenth aspect of the present invention, there is provided an image processing method for performing desired image processing on RGB image input data in an RGB color space, wherein the hue of a pre-conversion color point indicated by the RGB image input data is determined. A hue determination step for determining, a parameter input step for inputting a lightness conversion parameter for defining a lightness conversion amount, and toward white or black depending on the determination result of the hue determination step and the input lightness conversion parameter A brightness conversion step of linearly converting the color point before conversion, and configured to perform brightness conversion of the RGB image input data.
[0016]
The invention according to claim 11 is a program for causing a computer to execute desired image processing performed on RGB image input data in the RGB color space, the conversion indicated by the RGB image input data. According to the hue determination process for determining the hue of the previous color point, the parameter input process for inputting a lightness conversion parameter for defining the lightness conversion amount, the determination result of the hue determination process and the input lightness conversion parameter, Brightness conversion processing for linearly converting the pre-conversion color point toward white or black, and configured to cause a computer to execute image processing for performing brightness conversion of the RGB image input data.
[0017]
A twelfth aspect of the present invention is a computer-readable recording medium on which the program according to the eleventh aspect is recorded.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. In this embodiment, image processing in the projector will be described.
[0019]
FIG. 1 is a functional block diagram of an image processing unit 100 in a projector according to an embodiment of the present invention.
[0020]
An image processing unit 100 in a projector according to an embodiment of the present invention includes an A / D conversion unit 110 that converts an analog image input signal into a digital signal, and a hue determination unit that determines a hue based on RGB image input data. 115, a lightness conversion unit 120 for performing a desired lightness conversion on the RGB image input signal, a D / A conversion unit 130 for converting a digital signal into an analog signal, and driving a liquid crystal light valve to project an image And an L / V (light valve) driving unit 140 for performing display.
[0021]
Further, the lightness conversion unit 120 is configured to input the lightness conversion parameter for each hue, the RGB image based on the hue determined by the hue determination unit 115 and the input lightness conversion parameter. A conversion amount calculation unit 120b that calculates a lightness conversion amount of input data, and a weighting unit 120c that performs weighting processing on the lightness conversion amount based on the hue determined by the hue determination unit. .
[0022]
FIG. 2 shows six hue regions for explaining the processing by the lightness conversion unit 120. All conversions by the lightness conversion unit 120 are performed in the RGB space.
[0023]
The hue is divided into six areas as shown in FIG. 2, and brightness conversion is performed for each area. That is, the hue determination unit 115 determines the hue based on the RGB image input data, and performs brightness conversion for each region based on the determination result.
[0024]
Then, the parameter input unit 120a inputs a lightness conversion parameter that defines the lightness conversion amount for each hue of R, G, B, C, M, and Y. The range of the input brightness conversion parameter is -128 or more and 127 or less. In each area of FIG. 2, the lightness conversion parameters for two colors of RGBCMY are related to the calculation of the lightness conversion amount. For example, in the region 1 of FIG. 2, the R and Y lightness conversion parameters are related to the calculation of the lightness conversion amount. In other words, each RGBCMY brightness conversion amount affects two adjacent hue regions. For example, if R, region 1 and region 6 are affected.
[0025]
Then, as shown in FIG. 3, for example, in the case of R, the weighting unit 120c maximizes each RGBCMY conversion amount for each primary color (the vertex of the RGB space) and decreases as it approaches the adjacent hue or gray axis. Perform weighting. By performing such weighting, the continuity of the RGB space is maintained even after the brightness conversion. The weighting process will be described in detail below.
[0026]
Operations of Hue Determination Unit 115 and Lightness Conversion Unit 120 Next, operations of the hue determination unit 115 and the lightness conversion unit 120 in the image processing unit 100 of the projector according to the embodiment of the present invention will be described with reference to FIG. To do.
[0027]
Note that the brightness conversion processing by the hue determination unit 115 and the brightness conversion unit 120 described below is performed by executing an image processing program recorded in a program storage unit (not shown) of the projector. The program storage unit constitutes a medium on which an image processing program is recorded. Further, the image processing program itself is also included within the scope of the present invention.
[0028]
First, when the use of the projector is started, the hue determination unit 115 obtains a magnitude relationship between the R, G, and B values of the RGB image input data (S10), and the RGB image input data is displayed in the hue regions 1 to 1 shown in FIG. 6 or a gray region is determined. That is, the hue determination unit 115
(1) When R ≧ G> B, it is determined that the region is the RY region (hue region 1 in FIG. 2), and brightness conversion processing is performed in the RY region (S12).
(2) When G> R ≧ B, it is determined that the region is the YG region (hue region 2 in FIG. 2), and brightness conversion processing is performed in the YG region (S14).
(3) When G ≧ B> R, it is determined that the region is the GC region (hue region 3 in FIG. 2), and brightness conversion processing is performed in the GC region (S16).
(4) When B> G ≧ R, it is determined that the area is the CB area (hue area 4 in FIG. 2), and brightness conversion processing is performed in the CB area (S18).
(5) When B ≧ R> G, it is determined that the region is the BM region (hue region 5 in FIG. 2), and brightness conversion processing is performed in the BM region (S20).
(6) When R> B ≧ G, it is determined that the region is the MR region (hue region 6 in FIG. 2), and brightness conversion processing is performed in the MR region (S22).
(7) When R = G = B, it is determined that the region is a gray region (non-conversion region), and brightness conversion processing is not performed (S24).
[0029]
Next, processing by the lightness conversion unit 120 in each hue region will be described with reference to FIG. In the present embodiment, the brightness conversion process in the case of R ≧ G> B, that is, the RY area (hue area 1 in FIG. 2) will be described. The lightness conversion process is the same as the hue region 1 for the other hue regions 2 to 6 shown in FIG.
[0030]
As shown in FIG. 5, first, a parameter that defines a lightness conversion amount (referred to as “lightness conversion parameter” in the specification) is input from the parameter input unit 120a to the conversion amount calculation unit 120b (S30). . The brightness conversion parameter is
RL: R lightness conversion parameter (−128 ≦ RL ≦ 127)
GL: G lightness conversion parameter (−128 ≦ GL ≦ 127)
BL: B lightness conversion parameter (−128 ≦ BL ≦ 127)
CL: C lightness conversion parameter (−128 ≦ CL ≦ 127)
ML: M lightness conversion parameter (−128 ≦ ML ≦ 127)
YL: Y brightness conversion parameter (−128 ≦ YL ≦ 127)
Is defined.
[0031]
Next, a lightness conversion amount calculation process is performed by the conversion amount calculation unit 120b (S32). When the lightness conversion parameter is positive, that is, RL> 0, the point P (R, G, B) is converted to the point P ′ (R ′, G ′, B ′) toward white (W) in the RGB space. The On the other hand, if the lightness conversion parameter is negative, that is, RL <0, the point P (R, G, B) is pointed to the point P ′ (R ′, G ′, B ′) toward black (K) in the RGB space. Converted.
[0032]
The following brightness conversion process will be described separately for the case where RL is positive and the case where RL is negative.
(1) When the lightness conversion parameter is positive, that is, when RL> 0, FIG. 6 shows a cross section when the RGB space is cut by a plane passing through the point R and including the gray axis. When the lightness conversion parameter is positive, the point P is converted to a point P ′ on the line segment WP as shown in FIG. When the point P is a point on the line segment WR, the relational expression:
PP ′ = 2RL × PW / 255 (1)
Is established.
[0033]
Next, the weighting unit 120c performs a desired weighting process (S34).
[0034]
First, as shown in FIG. 7, the weighting unit 120c weights points that do not exist on the line segment WR so that the lightness conversion amount decreases as the point P approaches the gray axis (line segment WK). The weighting coefficient at this time is (RB) / (255-B) in the RY region.
[0035]
Further, as shown in FIG. 8, the weighting unit 120c performs weighting processing on the hue. That is, the lightness conversion of R is 1 in the hue including the R vertex (reference hue), decreases as the distance from the reference hue increases, and becomes 0 in the hue including the Y vertex (adjacent reference hue). . Such a weighting factor is (R−G) / (R−B).
[0036]
Therefore, when RL is positive, the lightness conversion amount PP ′ = (ΔR, ΔG, ΔB) is
[0037]
[Expression 1]
Figure 0003791593
It is expressed as
(2) When the lightness conversion parameter is negative, that is, when RL <0, FIG. 9 shows a cross section when the RGB space is cut by a plane passing through the point R and including the gray axis. When the lightness conversion parameter is negative, the point P is converted to a point P ′ on the line segment PK, as shown in FIG.
[0038]
Next, the weighting unit 120c performs a desired weighting process (S34).
[0039]
First, as illustrated in FIG. 7, the weighting unit 120 c performs weighting on points that do not exist on the line segment KR so that the lightness conversion amount decreases as the point P approaches the gray axis (line segment WK). The weighting coefficient at this time is in the RY region.
(RB) / R.
[0040]
Further, the weighting unit 120c performs a weighting process related to the hue as illustrated in FIG. 8 as in the case where the lightness conversion parameter is positive. That is, the lightness conversion of R is 1 in the hue including the R vertex (reference hue), decreases as the distance from the reference hue increases, and becomes 0 in the hue including the Y vertex (adjacent reference hue). . Such a weighting factor is (R−G) / (R−B).
[0041]
Therefore, when RL is negative, the lightness conversion amount PP ′ = (ΔR, ΔG, ΔB) is
[0042]
[Expression 2]
Figure 0003791593
It is expressed as
[0043]
Also, as shown in FIG. 10, the weight related to the hue in the lightness conversion of Y is 1 in the hue including the Y vertex (reference hue), and decreases with increasing distance from the reference hue, and the hue including the R vertex (adjacent). The reference hue is set to 0. Such a weighting coefficient is (GB) / (RB). That is, the weighting relating to the hue in the brightness conversion of Y is performed by changing the weighting coefficient (RG) / (RB) relating to the hue in the brightness conversion of R to (GB) / (RB). Is called.
[0044]
Therefore, the weighting related to the hue in the brightness conversion of Y is when YL ≧ 0.
[Equation 3]
Figure 0003791593
And when YL <0
[Expression 4]
Figure 0003791593
It becomes.
[0047]
The final conversion amount in the RY region is obtained by superimposing the conversion amount related to RL and the conversion amount related to YL. At this time, with respect to the parts where the form of the expression differs depending on whether RL and YL are positive or negative ((1) the conversion direction (W direction or K direction), (2) the weighting that the lightness conversion amount decreases as it approaches the gray axis) A decision is made based on whether the weighted result for hue for RL and YL is positive or negative.
[0048]
The final conversion amount is
L = (R−G) × 2RL / 255 + (GB) × 2YL / 255 (6)
When L> 0 [0049]
[Equation 5]
Figure 0003791593
When L <0 [0050]
[Formula 6]
Figure 0003791593
It becomes.
[0051]
As described above, according to the image processing apparatus of the present embodiment, the lightness conversion amount in the region between the reference hues can be set independently for each reference hue and so as not to lose continuity with the adjacent region. Therefore, good color conversion can be realized in the entire color space.
[Brief description of the drawings]
FIG. 1 is a functional block diagram of an image processing unit 100 in a projector according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating six hue regions for explaining processing by the lightness conversion unit 120;
FIG. 3 is a diagram for explaining weighting processing by a weighting unit 120c.
FIG. 4 is a flowchart for explaining operations of a hue determination unit 115 and a lightness conversion unit 120 according to an embodiment of the present invention.
FIG. 5 is a flowchart for explaining the operation of a lightness conversion unit 120 in each hue region.
FIG. 6 is a diagram (1) for explaining lightness conversion amount calculation processing by a conversion amount calculation unit 120b;
FIG. 7 is a diagram (2) for explaining lightness conversion amount calculation processing by a conversion amount calculation unit 120b;
FIG. 8 is a diagram for explaining a weighting process for R by a weighting unit 120c.
FIG. 9 is a diagram (3) for explaining lightness conversion amount calculation processing by the conversion amount calculation unit 120b;
FIG. 10 is a diagram for explaining a weighting process for Y by a weighting unit 120c.
[Explanation of symbols]
100 Image Processing Unit 110 A / D Conversion Unit 115 Hue Determination Unit 120 Brightness Conversion Unit 120a Parameter Input Unit 120b Conversion Amount Calculation Unit 120c Weighting Unit 130 D / A Conversion Unit 140 L / V Drive Unit

Claims (12)

RGB色空間において、RGB画像入力データに対して所望の画像処理を施す画像処理装置であって、
前記RGB画像入力データが示す変換前色点の色相を判定する色相判定手段と、
明度変換量を規定する明度変換パラメータを入力するためのパラメータ入力手段と、
当該色相判定手段の判定結果および入力された明度変換パラメータに応じて、白または黒に向かって直線的に前記変換前色点を明度変換する明度変換手段と、
を備え、前記RGB画像入力データの明度変換を行う画像処理装置。
An image processing apparatus that performs desired image processing on RGB image input data in an RGB color space,
Hue determination means for determining the hue of the pre-conversion color point indicated by the RGB image input data;
Parameter input means for inputting a lightness conversion parameter that defines the lightness conversion amount;
Lightness conversion means for performing lightness conversion of the pre-conversion color point toward white or black according to the determination result of the hue determination means and the input lightness conversion parameter;
An image processing apparatus for performing brightness conversion of the RGB image input data.
請求項1に記載の画像処理装置であって、
前記色相判定手段が、
前記RGB画像入力データが示す変換前色点が、RGB色空間内において複数に分割された色相領域のいずれに属するかを判定し、
当該判定結果に応じて、前記明度変換手段が明度変換を行う画像処理装置。
The image processing apparatus according to claim 1,
The hue determination means;
Determining whether the pre-conversion color point indicated by the RGB image input data belongs to a plurality of hue regions divided in the RGB color space;
An image processing apparatus in which the lightness conversion means performs lightness conversion according to the determination result.
請求項2に記載の画像処理装置であって、
前記色相判定手段が、
前記RGB画像入力データが示す変換前色点が、R−Y色相領域、Y−G色相領域、G−C色相領域、C−B色相領域、B−M色相領域、M−R色相領域のいずれに属するかを判定する画像処理装置。
The image processing apparatus according to claim 2,
The hue determination means;
The pre-conversion color point indicated by the RGB image input data is any of an RY hue area, a YG hue area, a GC hue area, a CB hue area, a BM hue area, and an MR hue area. Image processing apparatus for determining whether the image belongs to.
請求項1乃至3のいづれか一項に記載の画像処理装置であって、
前記明度変換手段は、
入力された明度変換パラメータが正の場合に白に向かって直線的に前記変換前色点を明度変換し、負の場合に黒に向かって直線的に前記変換前色点を明度変換する画像処理装置。
An image processing apparatus according to any one of claims 1 to 3, wherein
The brightness conversion means includes
Image processing for performing lightness conversion of the pre-conversion color point toward white when the input lightness conversion parameter is positive, and performing lightness conversion of the pre-conversion color point toward black when negative apparatus.
請求項1乃至4のいづれか一項に記載の画像処理装置であって、
前記明度変換パラメータは、RGBCMYの各色相に対して独立に設定可能である、画像処理装置。
An image processing apparatus according to any one of claims 1 to 4, wherein
The lightness conversion parameter can be set independently for each hue of RGBCMY.
請求項1乃至5のいづれか一項に記載の画像処理装置であって、
前記色相判定手段による判定結果と、入力された明度変換パラメータとに基づき、前記RGB画像入力データの明度変換量を計算する明度変換量計算手段を備える画像処理装置。
An image processing apparatus according to any one of claims 1 to 5,
An image processing apparatus comprising lightness conversion amount calculation means for calculating a lightness conversion amount of the RGB image input data based on a determination result by the hue determination means and an input lightness conversion parameter.
請求項1乃至6のいづれか一項に記載の画像処理装置であって、
前記RGB画像入力データが示す変換前色点の色相に基づき、前記明度変換手段による明度変換量に対して所望の重み付け処理を施す重み付け手段を備え、
前記重み付けされた明度変換量に基づきRGB画像入力データの明度変換を行う画像処理装置。
The image processing apparatus according to any one of claims 1 to 6,
Based on the hue of the pre-conversion color point indicated by the RGB image input data, comprising weighting means for performing a desired weighting process on the lightness conversion amount by the lightness conversion means;
An image processing apparatus that performs brightness conversion of RGB image input data based on the weighted brightness conversion amount.
請求項7に記載の画像処理装置であって、
前記重み付け手段は、
前記変換前色点がグレイ軸に近づくにつれて明度変換量が減少するように重み付けを行う、画像処理装置。
The image processing apparatus according to claim 7,
The weighting means is
An image processing apparatus that performs weighting so that the amount of brightness conversion decreases as the pre-conversion color point approaches the gray axis.
請求項7または8に記載の画像処理装置であって、
前記重み付け手段は、
所定の基準色相に関する明度変換量が、基準色相において最大で、当該基準色相から離れるに従って減少し、隣接する基準色相で最小になるようにする、画像処理装置。
The image processing apparatus according to claim 7 or 8,
The weighting means is
An image processing apparatus, wherein a lightness conversion amount relating to a predetermined reference hue is maximized in the reference hue, decreases as the distance from the reference hue increases, and becomes minimum in an adjacent reference hue.
RGB色空間において、RGB画像入力データに対して所望の画像処理を施す画像処理方法であって、
前記RGB画像入力データが示す変換前色点の色相を判定する色相判定工程と、
明度変換量を規定する明度変換パラメータを入力するためのパラメータ入力工程と、
当該色相判定工程の判定結果および入力された明度変換パラメータに応じて、白または黒に向かって直線的に前記変換前色点を明度変換する明度変換工程と、
を備え、前記RGB画像入力データの明度変換を行う画像処理方法。
An image processing method for performing desired image processing on RGB image input data in an RGB color space,
A hue determination step of determining a hue of a color point before conversion indicated by the RGB image input data;
A parameter input step for inputting a lightness conversion parameter for defining a lightness conversion amount;
In accordance with the determination result of the hue determination step and the input lightness conversion parameter, a lightness conversion step of performing lightness conversion of the pre-conversion color point toward white or black,
An image processing method for performing brightness conversion of the RGB image input data.
RGB色空間において、RGB画像入力データに対して施される所望の画像処理をコンピュータに実行させるためのプログラムであって、前記RGB画像入力データが示す変換前色点の色相を判定する色相判定処理と、
明度変換量を規定する明度変換パラメータを入力するためのパラメータ入力処理と、
当該色相判定処理の判定結果および入力された明度変換パラメータに応じて、白または黒に向かって直線的に前記変換前色点を明度変換する明度変換処理と、を備え、前記RGB画像入力データの明度変換を行う画像処理をコンピュータに実行させるためのプログラム。
A hue determination process for causing a computer to execute desired image processing performed on RGB image input data in an RGB color space, and determining a hue of a color point before conversion indicated by the RGB image input data When,
Parameter input processing for inputting a lightness conversion parameter that defines the lightness conversion amount;
Brightness conversion processing for linearly converting the pre-conversion color point toward white or black according to the determination result of the hue determination processing and the input brightness conversion parameter, and the RGB image input data A program for causing a computer to execute image processing for performing lightness conversion.
請求項11に記載のプログラムを記録したコンピュータによって読取可能な記録媒体。A computer-readable recording medium on which the program according to claim 11 is recorded.
JP2001134554A 2001-05-01 2001-05-01 Image processing apparatus, image processing method, program, and recording medium Expired - Fee Related JP3791593B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001134554A JP3791593B2 (en) 2001-05-01 2001-05-01 Image processing apparatus, image processing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001134554A JP3791593B2 (en) 2001-05-01 2001-05-01 Image processing apparatus, image processing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2002330300A JP2002330300A (en) 2002-11-15
JP3791593B2 true JP3791593B2 (en) 2006-06-28

Family

ID=18982209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001134554A Expired - Fee Related JP3791593B2 (en) 2001-05-01 2001-05-01 Image processing apparatus, image processing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP3791593B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4874877B2 (en) * 2007-06-19 2012-02-15 富士フイルム株式会社 Image processing apparatus, method, and program
JP5909405B2 (en) * 2012-04-27 2016-04-26 ルネサスエレクトロニクス株式会社 Semiconductor device

Also Published As

Publication number Publication date
JP2002330300A (en) 2002-11-15

Similar Documents

Publication Publication Date Title
US7345787B2 (en) Accuracy of color conversion profile
JP4766691B2 (en) Gradation correction table creation method and apparatus
US8204304B2 (en) Color gamut mapping by forming curved cross-sectional surfaces
JP4990507B2 (en) Image main color component adjustment apparatus, image main color component adjustment method, and image main color component adjustment program
US7450267B2 (en) Accuracy of color conversion profile
US7760398B2 (en) Color conversion table generation method and color conversion table generation device
JP4130744B2 (en) Image processing apparatus and image processing method
US7369272B2 (en) Accuracy of color conversion profile
US10834292B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP2001036757A5 (en)
JP3791593B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP5324405B2 (en) Color processing apparatus and method, and image forming apparatus
US20070230780A1 (en) Hue correction system and method thereof
JP3791592B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4019304B2 (en) Image processing apparatus, image processing method, program, and recording medium
US20100302596A1 (en) Color look up table adjusting apparatus, recording medium on which a color look up table adjusting program is recorded and color look up table adjusting system
JP2002330299A (en) Image processor, image processing method, program and recording medium
JPH05300367A (en) Color correction method
JPH10285415A (en) Color correction device, color correction method, medium-storing color correction program, and color printer
JP4051919B2 (en) Color image signal processing apparatus, color image signal processing method, and color image signal processing program
JP2004128585A (en) Color correction table forming method, control program, storing medium, and apparatus thereof
JP2003179764A (en) Color correction table fomring method and apparatus, control program and storage medium
JP4675155B2 (en) Color data processing method, color data processing system, color data processing program, and recording medium recording the same
JP5777322B2 (en) Color processing apparatus and color processing method
JP2002281328A (en) Method for creating color conversion table

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051206

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060315

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060328

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090414

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100414

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110414

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110414

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120414

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130414

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130414

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140414

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees