JP3791592B2 - 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
JP3791592B2
JP3791592B2 JP2001134450A JP2001134450A JP3791592B2 JP 3791592 B2 JP3791592 B2 JP 3791592B2 JP 2001134450 A JP2001134450 A JP 2001134450A JP 2001134450 A JP2001134450 A JP 2001134450A JP 3791592 B2 JP3791592 B2 JP 3791592B2
Authority
JP
Japan
Prior art keywords
hue
conversion
image processing
rgb
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
JP2001134450A
Other languages
Japanese (ja)
Other versions
JP2002330298A (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 JP2001134450A priority Critical patent/JP3791592B2/en
Publication of JP2002330298A publication Critical patent/JP2002330298A/en
Application granted granted Critical
Publication of JP3791592B2 publication Critical patent/JP3791592B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、プリンタ、プロジェクタ等のための画像処理、特にR(赤)G(緑)B(青)の3色で表現される画像データを使用機器、ユーザの好み等に合わせて色変換処理する画像処理装置、画像処理方法、プログラムおよび記録媒体に関する。
【0002】
【従来の技術】
印刷処理における色変換は、画質劣化を補正して良好な色再現性を保つために必須の技術である。また、モニタ・プロジェクタなどの表示装置においても、使用条件などに合わせた所望の色再現を行うために色変換処理が行われている。
【0003】
【発明が解決しようとする課題】
しかし、マトリックス演算方式の色変換の場合、印画の非線型性によって好適な色変換を実現することができない。また、赤、青、緑、イエロー(Y)、シアン(C)、マゼンタ(M)の6色相(基準色相)間における色相変換量を独立して補正できないため、全色空間において良好な色変換を実現することができない。
【0004】
本発明は、上記問題点を解決するためになされたもので、基準色相間の領域における色相変換量を基準色相毎に独立して補正可能な画像処理装置、画像処理方法、プログラムおよび記録媒体を提供することを課題とする。
【0005】
【課題を解決するための手段】
上記課題に鑑み、請求項1に記載の発明は、RGB色空間において、RGB画像入力データに対して所望の画像処理を施す画像処理装置であって、前記RGB画像入力データが示す変換前色点の色相を判定する色相判定手段と、当該色相判定手段の判定結果に応じて、RGB色空間の辺と平行な直線上の色点に前記変換前色点を色相変換する色相変換手段と、を備え、当該色相変換手段によって前記RGB画像入力データの色相変換を行うように構成される。
【0006】
以上のように構成された、RGB色空間において、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に記載の発明は、請求項4に記載の画像処理装置であって、前記色相変換パラメータは、RGBCMYの各色相に対して独立に設定可能であるように構成される。
【0011】
また、請求項6に記載の発明は、請求項4または5に記載の画像処理装置であって、前記色相判定手段による判定結果と、入力された色相変換パラメータとに基づき、前記RGB画像入力データの色相変換量を計算する色相変換量計算手段を備えるように構成される。
【0012】
さらに、請求項7に記載の発明は、請求項1乃至6のいづれか一項に記載の画像処理装置であって、同一色相の色点の集合が色相変換後も同一色相の色点の集合になるように、前記色相変換手段による色相変換量に対して所望の重み付けを施し、前記重み付けされた色相変換量に基づきRGB画像入力データの色相変換を行うように構成される。
【0013】
また、請求項8に記載の発明は、請求項7に記載の画像処理装置であって、変換前色点がグレイ軸に近い程、前記重み付けを小さくするように構成される。
【0014】
さらに、請求項9に記載の発明は、請求項1乃至8のいづれか一項に記載の画像処理装置であって、前記色相変換手段による色相変換の結果、色点が隣接色相領域に変換されてしまう場合、隣接境界において色相変換の方向を変更するように構成される。
【0015】
また、請求項10に記載の発明は、RGB色空間において、RGB画像入力データに対して所望の画像処理を施す画像処理方法であって、前記RGB画像入力データが示す変換前色点の色相を判定する色相判定工程と、当該色相判定工程の判定結果に応じて、RGB色空間の辺と平行な直線上の色点に前記変換前色点を色相変換する色相変換工程と、を備え、当該色相変換工程によって前記RGB画像入力データの色相変換を行うように構成される。
【0016】
さらに、請求項11に記載の発明は、RGB色空間において、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と、を備えて構成される。
【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】
そして、図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)。色相変換パラメータは、
Rh:Rの色相変換パラメータ(−128≦Rh≦127)
Gh:Gの色相変換パラメータ(−128≦Gh≦127)
Bh:Bの色相変換パラメータ(−128≦Bh≦127)
Ch:Cの色相変換パラメータ(−128≦Ch≦127)
Mh:Mの色相変換パラメータ(−128≦Mh≦127)
Yh:Yの色相変換パラメータ(−128≦Yh≦127)
と定義される。
【0031】
色相変換パラメータが正の場合には、R→Y→G→C→B→M→Rの方向に色相を回転させる。
【0032】
次に、変換量算出部120bによる色相変換量の算出処理が行われる(S32)。
【0033】
RGBCMYの各頂点の色は、色相変換量の分だけR−Y−G−C−B−M−Rの辺に沿って移動する。そして、頂点以外の色点に関しては、色相変換量に対して重み付け処理を行う。すなわち、RGB色空間の辺と平行な直線上の色点に、変換前色点を色相変換する。重み付け処理の一例として、Rhに関しては、R−Y領域では(R−G)/255、M−R領域では(R−B)/255の重み付けを行うものとする。このような重み付けを行うと、彩度変換前の色点がグレイ軸に近い程色相変換量が小さくなるので、図6に示すように、変換前に同一色相である色点の集合は、変換後も同一色相の色点の集合になる。
【0034】
R−Y−G−C−B−M−Rの辺に平行に移動する場合は、RGBのうちのどれか一つの成分を増減させればよい。図6に示す場合には、RおよびBの値はそのままでGの値のみを増加させればよい。すなわち、色相変換量を(ΔR,ΔG,ΔB)とすると、
ΔR=0
ΔG={(R−G)/255}×Rh
ΔB=0
となる。
【0035】
色相変換量の算出には、各領域ともに2つの色相領域の色相パラメータが影響する。例えば、R−Y領域における色相変換量は、RhとYhとによる色相変換量の重ね合せによって求められる。
(1) 色相変換の結果、R−Y領域から隣接する領域(Y−G領域またはM−R領域)に色点が移動しない場合(図7の(A)の場合:B−G<H<R−G)
R−Y領域における色相変換量を式によって表現すれば、
ΔR=0
ΔG={(R−G)/255}×Rh+{(G−B)/255}×Yh
ΔB=0
となる。
【0036】
以下の説明において、
ΔG={(R−G)/255}×Rh+{(G−B)/255}×Yh=H
とする。
【0037】
しかし、図7の(B)または(C)に示すように、色相変換の結果、R−Y領域から隣接する領域(Y−G領域またはM−R領域)に色点が移動する場合、変換方向が隣接領域との境界において変更される。
(2) R−Y領域から隣接するY−G領域に色点が変換される場合(図7の(B)の場合:R−G<H)
色相変換量を式で表現すると
ΔR=−{H−(R−G)}
ΔG=R−G
ΔB=0
となる。
(3) R−Y領域から隣接するM−R領域に色点が変換される場合(図7の(C)の場合:H<B−G<0)
色相変換量を式で表現すると
ΔR=0
ΔG=−(G−B)
ΔB=(−H)−(G−B)
となる。
【0038】
以上(1)〜(3)の場合を一つの式にまとめると、R−Y領域における点P(R,G,B)から点P’(R’,G’,B’)への色相変換の式は、色相変換量をΔR,ΔG,ΔBとすると、
R’=R+ΔR
G’=G+ΔG
B’=B+ΔB
であり、
ΔR=min[R−G−H,0]
ΔG=mid[B−R,H,R−G]
ΔB=max[B−G−H,0]
H={(R−G)/255}×Rh+{(G−B)/255}×Yh
となる。ここで、min[R−G−H,0]は、R−G−Hまたは0のうちの最小値をとることを意味し、mid[B−R,H,R−G]は、B−R,H,R−Gのうちの中央値をとることを意味し、max[B−G−H,0] は、B−G−Hまたは0のうちの最大値をとることを意味する。
【0039】
他の色相領域においても同様の色相変換処理を行う。
【0040】
以上のようにして、当該実施形態による画像処理装置によれば、基準色相間の領域における色相変換量を基準色相毎に独立に、且つ隣の領域との連続性が失われないように設定できるので、全色空間において良好な色変換を実現することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかるプロジェクタ内の画像処理部100の機能ブロック図である。
【図2】色相変換部120による処理を説明するための6つの色相領域を示す図である。
【図3】変換量算出部120bによる重み付け処理を説明するための図である。
【図4】本発明の一実施形態にかかる色相判定部115および色相変換部120の動作を説明するためのフローチャートである。
【図5】各色相領域における色相変換部120の動作を説明するためのフローチャートである。
【図6】変換量算出部120bによる色相変換量の算出処理を説明するための図(1)である。
【図7】変換量算出部120bによる色相変換量の算出処理を説明するための図(2)である。
【符号の説明】
100 画像処理部
110 A/D変換部
115 色相判定部
120 色相変換部
120a パラメータ入力部
120b 変換量算出部
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 hue conversion amount 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. An image processing apparatus, an image processing method, a program, and a recording medium capable of independently correcting a hue 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 unit that determines a hue of the color conversion unit, and a hue conversion unit that performs a hue conversion of the color point before conversion to a color point on a straight line parallel to a side of the RGB color space according to a determination result of the hue determination unit. And the hue conversion unit is configured to perform hue conversion of the RGB image input data.
[0006]
According to the image processing apparatus configured to perform the desired image processing on the RGB image input data in the RGB color space configured as described above, the hue determination unit determines the color point before conversion indicated by the RGB image input data. The hue is determined, and the hue conversion unit converts the hue point before conversion into a color point on a straight line parallel to the side of the RGB color space according to the determination result of the hue determination unit. Then, hue conversion of the RGB image input data is performed by the hue conversion means.
[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 hue conversion unit performs the hue 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]
According to a fourth aspect of the present invention, there is provided the image processing apparatus according to any one of the first to third aspects, wherein the hue conversion unit inputs a hue conversion parameter that defines a hue conversion amount. It is comprised so that an input means may be provided.
[0010]
Further, the invention described in claim 5 is the image processing apparatus according to claim 4, wherein the hue conversion parameter can be set independently for each hue of RGBCMY.
[0011]
The invention according to claim 6 is the image processing apparatus according to claim 4 or 5, wherein the RGB image input data is based on a determination result by the hue determination unit and an input hue conversion parameter. A hue conversion amount calculating means for calculating the hue conversion amount of
[0012]
Furthermore, the invention according to claim 7 is the image processing apparatus according to any one of claims 1 to 6, wherein a set of color points having the same hue is converted into a set of color points having the same hue even after hue conversion. As described above, a desired weight is applied to the hue conversion amount by the hue conversion means, and the hue conversion of the RGB image input data is performed based on the weighted hue conversion amount.
[0013]
The invention according to claim 8 is the image processing apparatus according to claim 7, wherein the weighting is decreased as the pre-conversion color point is closer to the gray axis.
[0014]
Furthermore, the invention according to claim 9 is the image processing apparatus according to any one of claims 1 to 8, wherein the color point is converted into an adjacent hue region as a result of the hue conversion by the hue conversion means. In such a case, the direction of hue conversion is changed at the adjacent boundary.
[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, and a hue conversion step for hue-converting the pre-conversion color point to a color point on a straight line parallel to a side of the RGB color space according to the determination result of the hue determination step, It is configured to perform hue conversion of the RGB image input data by a hue conversion process.
[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. Hue determination processing for determining the hue of the previous color point, and hue conversion processing for hue-converting the pre-conversion color point to a color point on a straight line parallel to the side of the RGB color space according to the determination result of the hue determination processing And is configured to cause the computer to execute image processing for performing hue conversion of the RGB image input data by the hue conversion processing.
[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 hue conversion unit 120 that performs a desired hue conversion on an RGB image input signal, a D / A conversion unit 130 for converting a digital signal into an analog signal, and a liquid crystal light valve to drive an image projection And an L / V (light valve) driving unit 140 for performing display.
[0021]
Further, the hue conversion unit 120 is configured to input the hue conversion parameter for each hue, the hue image determined by the hue determination unit 115 and the input hue conversion parameter based on the RGB image. And a conversion amount calculation unit 120b for calculating the hue conversion amount of the input data.
[0022]
FIG. 2 shows six hue regions for explaining the processing by the hue conversion unit 120. All conversions by the hue conversion unit 120 are performed in the RGB space.
[0023]
The hue is divided into six areas as shown in FIG. 2, and hue 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 hue conversion for each region based on the determination result.
[0024]
During this hue conversion, the parameter input unit 120a inputs a hue conversion parameter that defines the hue conversion amount for each of the hues R, G, B, C, M, and Y. The range of the input hue conversion parameter is from −128 to 127. In each area of FIG. 2, the hue conversion parameters for two colors of RGBCMY are related to the calculation of the hue conversion amount. For example, in region 1 in FIG. 2, the hue conversion parameters of R and Y are related to the calculation of the hue conversion amount. In other words, each RGBCMY hue conversion amount affects two adjacent hue regions. For example, if R, region 1 and region 6 are affected.
[0025]
As shown in FIG. 3, for example, in the case of R, weighting is performed so that each RGBCMY conversion amount becomes maximum for each primary color (the vertex of the RGB space) and decreases as it approaches the adjacent hue or gray axis. By performing such weighting, the continuity of the RGB space is maintained even after the hue conversion. The weighting process will be described in detail below.
[0026]
Operations of Hue Determination Unit 115 and Hue Conversion Unit 120 Next, operations of the hue determination unit 115 and the hue conversion unit 120 in the image processing unit 100 of the projector according to an embodiment of the present invention will be described with reference to FIG. To do.
[0027]
The hue conversion processing by the hue determination unit 115 and the hue 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 hue 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 a hue conversion process 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 hue conversion processing is performed in the GC region (S16).
(4) When B> G ≧ R, it is determined that the region is the CB region (hue region 4 in FIG. 2), and a hue conversion process is performed in the CB region (S18).
(5) When B ≧ R> G, it is determined that the region is the BM region (hue region 5 in FIG. 2), and a hue conversion process 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 hue 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 hue conversion processing is not performed (S24).
[0029]
Next, processing performed by the hue conversion unit 120 in each hue region will be described with reference to FIG. In the present embodiment, a hue conversion process in the case of R ≧ G> B, that is, the RY area (hue area 1 in FIG. 2) will be described. The hue conversion process is the same as the hue area 1 for the other hue areas 2 to 6 shown in FIG.
[0030]
As shown in FIG. 5, first, a parameter that defines a hue conversion amount (referred to as “hue conversion parameter” in the specification) is input from the parameter input unit 120a to the conversion amount calculation unit 120b (S30). . Hue conversion parameters are
Rh: R hue conversion parameter (−128 ≦ Rh ≦ 127)
Gh: G hue conversion parameter (−128 ≦ Gh ≦ 127)
Bh: B hue conversion parameter (−128 ≦ Bh ≦ 127)
Ch: C hue conversion parameter (−128 ≦ Ch ≦ 127)
Mh: M hue conversion parameter (−128 ≦ Mh ≦ 127)
Yh: Y hue conversion parameter (−128 ≦ Yh ≦ 127)
Is defined.
[0031]
When the hue conversion parameter is positive, the hue is rotated in the direction of R → Y → G → C → B → M → R.
[0032]
Next, a hue conversion amount calculation process is performed by the conversion amount calculation unit 120b (S32).
[0033]
The color of each vertex of RGBCMY moves along the side of R-Y-G-C-B-M-R by the hue conversion amount. For the color points other than the vertices, the hue conversion amount is weighted. That is, the hue point of the pre-conversion color point is converted to a color point on a straight line parallel to the side of the RGB color space. As an example of the weighting process, Rh is weighted (R−G) / 255 in the RY region and (R−B) / 255 in the MR region. When such weighting is performed, the hue conversion amount becomes smaller as the color point before saturation conversion is closer to the gray axis. Therefore, as shown in FIG. 6, a set of color points having the same hue before conversion is converted. After that, it becomes a set of color points of the same hue.
[0034]
When moving in parallel with the side of R-Y-G-C-B-M-R, any one component of RGB may be increased or decreased. In the case shown in FIG. 6, it is only necessary to increase the value of G while keeping the values of R and B as they are. That is, when the hue conversion amount is (ΔR, ΔG, ΔB),
ΔR = 0
ΔG = {(RG) / 255} × Rh
ΔB = 0
It becomes.
[0035]
The calculation of the hue conversion amount is affected by the hue parameters of the two hue areas in each area. For example, the hue conversion amount in the RY area is obtained by superimposing the hue conversion amounts by Rh and Yh.
(1) As a result of hue conversion, when the color point does not move from the RY area to the adjacent area (YG area or MR area) (in the case of FIG. 7A: BG <H < RG)
If the hue conversion amount in the RY region is expressed by an equation,
ΔR = 0
ΔG = {(RG) / 255} × Rh + {(GB) / 255} × Yh
ΔB = 0
It becomes.
[0036]
In the following description:
ΔG = {(RG) / 255} × Rh + {(GB) / 255} × Yh = H
And
[0037]
However, as shown in FIG. 7B or 7C, when the color point moves from the RY region to the adjacent region (YG region or MR region) as a result of the hue conversion, conversion is performed. The direction is changed at the boundary with the adjacent region.
(2) When color points are converted from the RY area to the adjacent YG area (in the case of FIG. 7B: RG <H)
When the hue conversion amount is expressed by an equation, ΔR = − {H− (R−G)}
ΔG = R−G
ΔB = 0
It becomes.
(3) When a color point is converted from an RY area to an adjacent MR area (in the case of (C) in FIG. 7: H <BG <0)
If the hue conversion amount is expressed by an equation, ΔR = 0
ΔG =-(GB)
ΔB = (− H) − (GB)
It becomes.
[0038]
The above cases (1) to (3) can be summarized as one expression. Hue conversion from the point P (R, G, B) to the point P ′ (R ′, G ′, B ′) in the RY region is performed. When the hue conversion amount is ΔR, ΔG, ΔB,
R ′ = R + ΔR
G ′ = G + ΔG
B ′ = B + ΔB
And
ΔR = min [R−G−H, 0]
ΔG = mid [BR, H, RG]
ΔB = max [B−G−H, 0]
H = {(R−G) / 255} × Rh + {(GB) / 255} × Yh
It becomes. Here, min [R−G−H, 0] means that R−G−H or the minimum value of 0 is taken, and mid [B−R, H, R−G] is B− This means taking the median value among R, H, and R-G, and max [B-G-H, 0] means taking the maximum value of B-G-H or 0.
[0039]
Similar hue conversion processing is performed in other hue regions.
[0040]
As described above, according to the image processing apparatus according to the present embodiment, the hue 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 hue conversion unit 120;
FIG. 3 is a diagram for explaining weighting processing by a conversion amount calculation unit 120b.
FIG. 4 is a flowchart for explaining operations of a hue determination unit 115 and a hue conversion unit 120 according to an embodiment of the present invention.
FIG. 5 is a flowchart for explaining the operation of the hue conversion unit 120 in each hue region;
FIG. 6 is a diagram (1) illustrating a hue conversion amount calculation process performed by a conversion amount calculation unit 120b.
FIG. 7 is a diagram (2) illustrating a hue conversion amount calculation process performed by the conversion amount calculation unit 120b.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 100 Image processing part 110 A / D conversion part 115 Hue determination part 120 Hue conversion part 120a Parameter input part 120b Conversion amount calculation part 130 D / A conversion part 140 L / V drive part

Claims (12)

RGB色空間において、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;
Hue conversion means for hue-converting the pre-conversion color point by increasing or decreasing any one component of RGB according to the determination result of the hue determination means;
An image processing apparatus that performs hue conversion of the RGB image input data by the hue conversion means.
請求項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 hue conversion means performs hue 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 one 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 it belongs to
請求項1乃至3のいづれか一項に記載の画像処理装置であって、
前記色相変換手段が
色相変換量を規定する色相変換パラメータを入力するためのパラメータ入力手段を備える画像処理装置。
An image processing apparatus according to any one of claims 1 to 3, wherein
An image processing apparatus comprising: a parameter input unit for the hue conversion unit to input a hue conversion parameter that defines a hue conversion amount.
請求項4に記載の画像処理装置であって、
前記色相変換パラメータは、RGBCMYの各色相に対して独立に設定可能である、画像処理装置。
The image processing apparatus according to claim 4,
The image processing apparatus, wherein the hue conversion parameter can be set independently for each hue of RGBCMY.
請求項4または5に記載の画像処理装置であって、
前記色相判定手段による判定結果と、入力された色相変換パラメータとに基づき、前記RGB画像入力データの色相変換量を計算する色相変換量計算手段を備える画像処理装置。
The image processing apparatus according to claim 4 or 5, wherein
An image processing apparatus comprising: a hue conversion amount calculation unit that calculates a hue conversion amount of the RGB image input data based on a determination result by the hue determination unit and an input hue conversion parameter.
請求項1乃至6のいづれか一項に記載の画像処理装置であって、
同一色相の色点の集合が色相変換後も同一色相の色点の集合になるように、前記色相変換手段による色相変換量に対して所望の重み付けを施し、
前記重み付けされた色相変換量に基づきRGB画像入力データの色相変換を行う画像処理装置。
The image processing apparatus according to any one of claims 1 to 6,
Applying a desired weight to the hue conversion amount by the hue conversion means so that a set of color points of the same hue becomes a set of color points of the same hue even after the hue conversion,
An image processing apparatus that performs hue conversion of RGB image input data based on the weighted hue conversion amount.
請求項7に記載の画像処理装置であって、
変換前色点がグレイ軸に近い程、前記重み付けを小さくする、画像処理装置。
The image processing apparatus according to claim 7,
An image processing apparatus that reduces the weighting as the pre-conversion color point is closer to the gray axis.
RGB色空間において、RGB画像入力データに対して所望の画像処理を施す画像処理装置であって、
前記RGB画像入力データが示す変換前色点の色相が、R−Y色相領域、Y−G色相領域、G−C色相領域、C−B色相領域、B−M色相領域、M−R色相領域のいずれに属するかを判定する色相判定手段と、
前記変換前色点を色相変換する色相変換手段と、
を備え、
前記色相変換手段は、所望の色相変換量Hが達成されるまで、
前記変換前色点の色相がいずれの前記色相領域に属するかに基づき、RGBのうちのどれか一つの成分を増減させることにより、前記変換前色点の色相が属する所属色相領域と、前記所属色相領域と隣接する隣接色相領域との境界線に達するまで色相変換を行ったと仮定した場合の仮定変換後色点におけるRGBのうちのどれか一つの成分(ただし、当該成分は前記隣接色相領域に基づき定められるものである)を増減させることに相当する色相変換を行うものである、
画像処理装置。
An image processing apparatus that performs desired image processing on RGB image input data in an RGB color space,
The hues of pre-conversion color points indicated by the RGB image input data are RY hue area, YG hue area, GC hue area, CB hue area, BM hue area, MR hue area. Hue determination means for determining which one of
Hue conversion means for performing hue conversion on the pre-conversion color point;
With
The hue conversion means until the desired hue conversion amount H is achieved,
Based on which hue region the hue of the pre-conversion color point belongs to, the assigned hue region to which the hue of the pre-conversion color point belongs, and the affiliation by increasing / decreasing any one component of RGB Assuming that the hue conversion is performed until the boundary between the hue area and the adjacent hue area is reached, any one component of RGB at the post-conversion color point (however, the component is included in the adjacent hue area). Is a hue conversion equivalent to increasing / decreasing).
Image processing device.
RGB色空間において、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 hue conversion step for hue-converting the pre-conversion color point by increasing or decreasing any one component of RGB according to the determination result of the hue determination step;
An image processing method for performing hue conversion of the RGB image input data by the hue conversion step.
RGB色空間において、RGB画像入力データに対して施される所望の画像処理をコンピュータに実行させるためのプログラムであって、
前記RGB画像入力データが示す変換前色点の色相を判定する色相判定処理と、
当該色相判定処理の判定結果に応じて、RGBのうちのどれか一つの成分を増減させることにより前記変換前色点を色相変換する色相変換処理と、
を備え、当該色相変換処理によって前記RGB画像入力データの色相変換を行う画像処理をコンピュータに実行させるためのプログラム。
A program for causing a computer to execute desired image processing performed on RGB image input data in an RGB color space,
A hue determination process for determining a hue of a color point before conversion indicated by the RGB image input data;
A hue conversion process for performing a hue conversion on the pre-conversion color point by increasing or decreasing any one component of RGB according to the determination result of the hue determination process;
A program for causing a computer to perform image processing for performing hue conversion of the RGB image input data by the hue conversion processing.
請求項11に記載のプログラムを記録したコンピュータによって読取可能な記録媒体。A computer-readable recording medium on which the program according to claim 11 is recorded.
JP2001134450A 2001-05-01 2001-05-01 Image processing apparatus, image processing method, program, and recording medium Expired - Fee Related JP3791592B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001134450A JP3791592B2 (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
JP2001134450A JP3791592B2 (en) 2001-05-01 2001-05-01 Image processing apparatus, image processing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2002330298A JP2002330298A (en) 2002-11-15
JP3791592B2 true JP3791592B2 (en) 2006-06-28

Family

ID=18982131

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP3791592B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006095496A1 (en) * 2005-03-10 2006-09-14 Sharp Kabushiki Kaisha Color changing device, program, image display, and portable terminal
JP4609674B2 (en) 2007-08-09 2011-01-12 セイコーエプソン株式会社 Image processing system, display device, program, and information storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
JP3600372B2 (en) Apparatus and method for correcting color gamut
US8204304B2 (en) Color gamut mapping by forming curved cross-sectional surfaces
JP4565642B2 (en) Image processing method and image processing apparatus
US20040120576A1 (en) Color signal correction device and method, and image processing system using the same and method thereof
US10834292B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
US20080043268A1 (en) Apparatus, method and medium outputting wide gamut space image
US20070188786A1 (en) Apparatus and method of mapping color gamut
KR20070082727A (en) Apparatus for gamut mapping and method for generating gamut boundary using the same
JP2001036757A5 (en)
EP1563483B1 (en) System and method of selective adjustment of a color display
JP3791592B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2000253264A (en) Color image signal processing unit and color image signal processing method
US7224833B2 (en) Method for fast color saturation control
JP5324405B2 (en) Color processing apparatus and method, and image forming apparatus
JP3791593B2 (en) Image processing apparatus, image processing method, program, and recording medium
US20070230780A1 (en) Hue correction system and method thereof
JP4019304B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2004007274A (en) Gradation conversion device and color conversion device
JP2002330299A (en) Image processor, image processing method, program and recording medium
JPH05300367A (en) Color correction method
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
JP2006237798A (en) Device for correcting color image of skin of human being and its method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060123

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