JP2001189871A - Color image processing method and color inage processor - Google Patents

Color image processing method and color inage processor

Info

Publication number
JP2001189871A
JP2001189871A JP37193499A JP37193499A JP2001189871A JP 2001189871 A JP2001189871 A JP 2001189871A JP 37193499 A JP37193499 A JP 37193499A JP 37193499 A JP37193499 A JP 37193499A JP 2001189871 A JP2001189871 A JP 2001189871A
Authority
JP
Japan
Prior art keywords
color
adjustment
rgb
value
image processing
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
JP37193499A
Other languages
Japanese (ja)
Inventor
Tei Hayashi
禎 林
Takafumi Ariyoshi
孝文 有吉
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.)
CHIPS TECHNOLOGY Inc I
I-CHIPS TECHNOLOGY Inc
Original Assignee
CHIPS TECHNOLOGY Inc I
I-CHIPS TECHNOLOGY Inc
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 CHIPS TECHNOLOGY Inc I, I-CHIPS TECHNOLOGY Inc filed Critical CHIPS TECHNOLOGY Inc I
Priority to JP37193499A priority Critical patent/JP2001189871A/en
Publication of JP2001189871A publication Critical patent/JP2001189871A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain natural color adjustment in RGB space by properly deciding a correction area. SOLUTION: A color adjustment area is decided by using a relative luminance value of an adjustment object color with respect to a representative color and an adjustment quantity with respect to a color in the adjustment area is calculated. Then color adjustment processing is applied to the color within the adjustment area based on the calculated adjustment quantity.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はRGB空間で行うカ
ラー画像の色調整技術に関し、特に、色補正(調整)領
域の判定方法の改良に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a color adjustment technique for a color image performed in an RGB space, and more particularly to an improvement in a method of determining a color correction (adjustment) area.

【0002】[0002]

【従来の技術】一般に、カラー画像における色の表現方
式としては、テレビ等に代表されるYUV方式とパソコ
ンに代表されるRGB方式とがある。YUV方式におい
ては、輝度(Y)と色成分(UV)によって画像の色を
特定する。一方、RGB方式においては、R(赤),G
(緑),B(青)の各成分の比率によって色を特定す
る。
2. Description of the Related Art In general, there are a YUV system represented by a television and an RGB system represented by a personal computer as a method of expressing colors in a color image. In the YUV method, the color of an image is specified by luminance (Y) and color component (UV). On the other hand, in the RGB system, R (red), G
The color is specified by the ratio of each component of (green) and B (blue).

【0003】RGB空間で画像の色調整(補正)を行う
場合、1つの代表色を指定し、その代表色を調整し、そ
の後に代表色の近傍の色を調整するのが一般的である。
When performing color adjustment (correction) of an image in an RGB space, it is general to designate one representative color, adjust the representative color, and then adjust colors near the representative color.

【0004】[0004]

【発明が解決しようとする課題】RGB空間において、
色はRGBの比率によって特定されるが、同じ色でも輝
度が異なる場合がある。このため、従来の色調整方法に
よると、同一色であっても輝度が異なるために補正領域
外となることがある。その結果、本来調整されるべきで
ありながら調整されない色が発生し、自然な色調整を行
うことができなかった。このような不具合は、グラデー
ション画像等のように輝度の異なる同一色が多数存在す
る場合に顕著に現れる。一方、YUV空間で色調整を行
う場合には、色差(U,V)を調整することになるた
め、基本的に上記のような問題は発生しない。
In the RGB space,
The color is specified by the ratio of RGB, but the same color may have different luminance. For this reason, according to the conventional color adjustment method, even if the colors are the same, the brightness may be different, and thus the colors may be outside the correction area. As a result, colors that should be adjusted but are not adjusted occur, and natural color adjustment cannot be performed. Such a problem is conspicuous when a large number of the same colors having different luminances exist, such as a gradation image. On the other hand, when performing color adjustment in the YUV space, since the color difference (U, V) is adjusted, the above-described problem does not basically occur.

【0005】また、RGBの色空間でカラー画像の色調
整を行う場合、何れかの色が飽和する(表現限度を超え
る)ことがあり、その結果、R,G,B成分の比率が変
わり、これが色ずれの原因となることがある。一方、Y
UV空間で画像の色調整処理を行う場合でも、色差U,
Vの何れかが飽和して色ずれの原因となることがある。
When color adjustment of a color image is performed in the RGB color space, one of the colors may be saturated (exceeding the expression limit), and as a result, the ratio of R, G, and B components changes, This may cause color misregistration. On the other hand, Y
Even when performing color adjustment processing of an image in the UV space, the color difference U,
Any of V may be saturated, causing color shift.

【0006】本発明は上記のような状況に鑑みてなされ
たものであり、適切な色調整領域判定を行うことによ
り、RGB空間において自然な色調整を行い得るカラー
画像処理方法及びカラー画像処理装置を提供することを
目的とする。
The present invention has been made in view of the above situation, and a color image processing method and a color image processing apparatus capable of performing natural color adjustment in an RGB space by performing appropriate color adjustment area determination. The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明の第1の態様に係るカラー画像処理方法にお
いては、代表色に対する入力画素の相対輝度値を用いて
色調整領域を判定し、入力画素に対する調整量を算出す
る。そして、入力画素が調整領域内にある場合には、算
出された調整量に基づいて当該入力画素に対して色調整
処理を施す。例えば、相対輝度値を入力画素のRGB画
素値に乗算することによって、当該領域判定において入
力画素の輝度が影響しないようにする。
In order to solve the above-mentioned problems, in a color image processing method according to a first aspect of the present invention, a color adjustment area is determined using a relative luminance value of an input pixel with respect to a representative color. Then, an adjustment amount for the input pixel is calculated. Then, when the input pixel is within the adjustment area, the color adjustment processing is performed on the input pixel based on the calculated adjustment amount. For example, by multiplying the RGB pixel value of the input pixel by the relative luminance value, the luminance of the input pixel is not affected in the area determination.

【0008】本発明の第2の態様に係るカラー画像処理
装置は、代表色に対する入力画素の相対輝度値を算出す
る相対輝度演算回路と;相対輝度演算回路によって求め
られた相対輝度値に基づいて、調整領域を判定する調整
領域判定回路とを備えている。更に、入力画素の色調整
値を算出して、入力画素が調整領域判定内にある場合に
は、算出された調整値に基づいて入力画素の色調整を行
う調整処理回路とを備えている。例えば、相対輝度値を
入力画素のRGB画素値に乗算する乗算器を備え、調整
領域判定回路においては、乗算器の出力を用いることに
より、領域判定において入力画素の輝度が影響しないよ
うにする。
[0008] A color image processing apparatus according to a second aspect of the present invention includes a relative luminance calculation circuit for calculating a relative luminance value of an input pixel with respect to a representative color; And an adjustment area determination circuit for determining an adjustment area. The image processing apparatus further includes an adjustment processing circuit that calculates a color adjustment value of the input pixel and performs color adjustment of the input pixel based on the calculated adjustment value when the input pixel is within the adjustment area determination. For example, a multiplier for multiplying the RGB pixel value of the input pixel by the relative luminance value is provided. In the adjustment region determination circuit, the output of the multiplier is used so that the luminance of the input pixel does not affect the region determination.

【0009】上記のような本発明においては、調整領域
の判定において入力画素(調整対象色)の輝度成分が影
響しないため、同一色(色合い)でありながら輝度の異
なる一部の色が調整領域外になるような不都合がなく、
自然な色調整を行うことが可能となる。すなわち、本発
明によれば、適切な調整領域判定を行うことにより、R
GB空間において自然な色調整を行い得るという格別な
効果がある。
In the present invention as described above, since the luminance component of the input pixel (color to be adjusted) does not affect the determination of the adjustment area, some colors having the same color (hue) but different luminances are adjusted. Without the inconvenience of going outside,
Natural color adjustment can be performed. That is, according to the present invention, by making an appropriate adjustment region determination, R
There is a special effect that natural color adjustment can be performed in the GB space.

【0010】上記のような本発明において、更に好まし
くは、調整値をRGB各色成分に加算する際に、RGB
の各色の飽和状態を検出し、その検出結果に基づいて加
算処理を調整する。これにより、何れかの色が飽和する
ことによる色ずれを防止することが可能となる。
[0010] In the present invention as described above, more preferably, when the adjustment value is added to each of the RGB color components, RGB values are used.
The saturation state of each color is detected, and the addition process is adjusted based on the detection result. This makes it possible to prevent color shift due to saturation of any color.

【0011】[0011]

【発明の実施の形態】以下本発明の実施の形態につい
て、添付図面に示された実施例に基づいて詳細に説明す
る。以下に示す実施例では、RGBディジタル画像のあ
る1つの色(代表色)とその近傍の色を補正する方法及
び装置を例にとって説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the embodiments shown in the accompanying drawings. In the embodiments described below, a method and apparatus for correcting one color (representative color) of an RGB digital image and colors in the vicinity thereof will be described as an example.

【0012】最初に本発明の基本原理について図1及び
図2を参照して説明する。図1は、本発明の実施例に係
るカラー画像の色調整領域判定方法の概念を説明するた
めの図であり、RGB色空間を示す。また、図2には本
実施例中の演算に適用される式を示す。
First, the basic principle of the present invention will be described with reference to FIGS. FIG. 1 is a diagram for explaining the concept of a color adjustment region determination method for a color image according to an embodiment of the present invention, and shows an RGB color space. FIG. 2 shows an equation applied to the calculation in the present embodiment.

【0013】本実施例においては、入力信号(RGB信
号)から輝度Yを図2の式(1)で求める。式(1)に
おいて、r、g、bは定数(r+g+b=1)であり、
例えば以下のような割合に設定する。 r=0.299 g=0.587 b=0.114
In this embodiment, the luminance Y is obtained from the input signal (RGB signal) by the equation (1) in FIG. In Equation (1), r, g, and b are constants (r + g + b = 1),
For example, the ratio is set as follows. r = 0.299 g = 0.587 b = 0.114

【0014】本実施例においては、所定の補正(調整)
領域内に存在する色合いの同じ色を全て補正すべく、R
GB信号を輝度で規格化する。「色合いが同じ」色と
は、RGBの」比率が一定の色を意味する。式(1)か
らわかるように、同じ色あいでも輝度が一定にはならな
い。すなわち、同じ色合いで全く輝度の異なる色が存在
し得るのである。本発明においては、輝度が異なっても
同じ色合いであれば、確実にその色が補正領域に入るよ
うにする。
In this embodiment, a predetermined correction (adjustment)
In order to correct all colors having the same hue existing in the region, R
The GB signal is normalized by luminance. The “same color” color means a color having a constant ratio of “RGB”. As can be seen from equation (1), the luminance is not constant even for the same hue. That is, there can be colors having the same hue and completely different luminances. In the present invention, even if the luminance is different, if the color is the same, it is ensured that the color enters the correction area.

【0015】次に、式(2)に基づいて、代表色(選択
色)の輝度Yを算出(指定)する。Yとしては、例
えば、輝度がダイナミックレンジの中心になる点を指定
する。RGB空間において、代表色の近傍にある補正対
象の領域は、その領域を球とした場合、式(3)に示す
範囲となる。式(3)に示す範囲は、図1においては、
を中心とし、半径Lの球の内部に相当する。
Next, the luminance Y 0 of the representative color (selected color) is calculated (designated) based on the equation (2). The Y 0, for instance, specify the point at which luminance is the center of the dynamic range. In the RGB space, the region to be corrected near the representative color has a range represented by Expression (3) when the region is a sphere. The range shown in equation (3) is, in FIG.
The k 0 as the center, corresponding to the inside of the sphere of radius L 0.

【0016】球kの内部を補正対象領域とすると、色
合いが同じで輝度の異なる色が当該領域から外れること
がある。そこで、本実施例においては、RGB空間の原
点(0)を頂点とし、球kが内接する円錐10の内部
を補正対象領域とする。このような設定(判定)方法を
式で示すと、式(4)のようになる。すなわち、入力画
素(対象画素)の画素値「P」に相対輝度「Y/Y」
を乗算する。これにより、RGB空間における輝度の影
響を吸収することができ、輝度が異なり色合いが同じ色
を全て補正対象とすることが可能となる。「Y/Y」
は、入力画素の輝度に対する選択色の相対輝度を示す。
[0016] When the internal region to be corrected is a sphere k 0, there is the color of different shades the same brightness is out of the area. Therefore, in this embodiment, the origin of the RGB space (0) and the vertex, the interior of the cone 10 the ball k 0 is inscribed with the region to be corrected. When such a setting (judgment) method is expressed by an equation, the equation (4) is obtained. That is, the relative luminance “Y 0 / Y” is added to the pixel value “P” of the input pixel (target pixel).
Multiply by This makes it possible to absorb the influence of luminance in the RGB space, and to correct all colors having different luminances and the same hue. "Y 0 / Y"
Indicates the relative luminance of the selected color with respect to the luminance of the input pixel.

【0017】式(4)で示した演算をハードウエアで実
現する場合には、式(5)に変換することが望ましい。
すなわち、除算の部分を全て乗算に変換する。「Y
は定数であるため、色補正対象領域の判定は乗算器のみ
で実現できる。なお、図1に示す例では、補正対象領域
を球体kが内接する円錐としたが、同様の思想によ
り、例えば、正八面体が内接する円錐とすることも可能
であるし、RGB空間の原点を頂点とする数学的に表現
可能な幾何学的立体とすることも可能である。
When the operation represented by the equation (4) is realized by hardware, it is desirable to convert the operation to the equation (5).
That is, all divisions are converted into multiplications. "Y 0"
Is a constant, the determination of the color correction target area can be realized only by the multiplier. In the example shown in FIG. 1, the correction target area is a cone in which the sphere k 0 is inscribed. However, with the same idea, for example, a cone in which a regular octahedron is inscribed may be used, or the origin of the RGB space may be used. It is also possible to use a mathematical solid that can be expressed mathematically with the vertex as a vertex.

【0018】式(5)の条件を満たす画素Pは、図1に
示す球体kの中心と原点とを結んだ直線上に中心も持
つ半径L×Y/Yの球体K内部に存在する。従っ
て、色補正の演算は、式(6)に示すとおりとなる。
The pixel P that satisfies the condition of the equation (5) exists inside the sphere K having a radius L 0 × Y / Y 0 also having a center on a straight line connecting the center of the sphere k 0 and the origin shown in FIG. I do. Therefore, the calculation of the color correction is as shown in Expression (6).

【0019】そして、最終的には式(6)及び式(7)
に基づき、式(8)に示す演算を行うことにより入力画
素の色調整(色補正)を行うことが出来る。なお、図2
の式(8)の第2項、 {Y/Y−(1/L)×|Pin−C×(Y/Y
)|}×ΔC は、特許請求の範囲の請求項に示されているΔPに相当
する。
Finally, equations (6) and (7)
By performing the calculation shown in equation (8) based on
Elementary color adjustment (color correction) can be performed. Note that FIG.
The second term of the equation (8), Y / Y0− (1 / L0) × | Pin-C0× (Y / Y
0) |} × ΔC0  Is equivalent to ΔP shown in the claims of the claims.
I do.

【0020】なお、明細書中において、「P」及び
「C」はRGB色空間におけるベクトル値を示す。ま
た、同様の意味で、図2〜図7において、イタリック書
体の「P」及び「C」はRGB色空間におけるベクトル
値を示すものとする。
In the specification, "P" and "C" indicate vector values in the RGB color space. In the same sense, in FIGS. 2 to 7, “P” and “C” in italic font indicate vector values in the RGB color space.

【0021】次に、上述した色調整領域判定方法を実現
する色調整判定装置を含む画像処理装置及び画像処理方
法について図3に示すブロック図を参照して説明する。
図3に示すカラー画像処理装置は、入力画素のデータ
(Pin)を出力する画像入力装置12と、修正領域指
定用メモリ14と、代表色(選択色)の色データC
び輝度データ1/Yを保持する代表色指定用メモリ1
6と、代表色の修正量ΔCを保持する修正量指定用メ
モリ18とを備えている。修正領域指定用メモリ14
は、代表色と入力画素(補正対象色)とのRGB空間に
おける距離の最大値Lを保持する。
Next, an image processing apparatus and an image processing method including the color adjustment determining apparatus for realizing the above-described color adjustment area determining method will be described with reference to the block diagram shown in FIG.
The color image processing device shown in FIG. 3 includes an image input device 12 for outputting input pixel data (P in ), a correction area designating memory 14, color data C 0 and luminance data 1 of a representative color (selected color). / Color memory 1 for designating representative color that holds 0
6 and a correction amount designating memory 18 for holding the correction amount ΔC 0 of the representative color. Correction area designation memory 14
Holds the maximum value L 0 of the distance in the RGB space of the representative color and the input pixel (correction target color).

【0022】本実施例に係るカラー画像処理装置は、更
に、図2に示す式(1)の演算を実行する相対輝度演算
回路20と、乗算器24と、式(5)の演算を実行する
ことによって色補正領域を判定する色補正領域判定回路
26と、式(8)に示す演算を実行する補正演算回路2
8と、セレクタ30と、画像出力装置32とを備えてい
る。
The color image processing apparatus according to the present embodiment further executes a relative luminance operation circuit 20 for executing the operation of Expression (1) shown in FIG. 2, a multiplier 24, and an operation of Expression (5). A color correction area determination circuit 26 that determines a color correction area by the above operation, and a correction calculation circuit 2 that performs a calculation shown in Expression (8)
8, a selector 30, and an image output device 32.

【0023】画像入力装置12の2つの出力端子の一方
は、セレクタ30及び色補正領域判定回路26の入力端
子に接続され、他方は相対輝度演算回路20の入力端子
に接続されている。そして、画像入力装置12から入力
画素のRGBデータPinが相対輝度演算回路20,セ
レクタ30及び色補正領域判定回路26に供給される。
修正領域指定用メモリ14の出力端子は、乗算回路22
の一方の入力端子に接続されており、代表色と入力画素
(補正対象色)とのRGB空間における距離の最大値L
を供給するようになっている。
One of the two output terminals of the image input device 12 is connected to the input terminal of the selector 30 and the input terminal of the color correction area judging circuit 26, and the other is connected to the input terminal of the relative luminance calculation circuit 20. Then, RGB data P in of the input pixel from the image input device 12 is supplied to the relative luminance calculation circuit 20, a selector 30 and the color correction region determining circuit 26.
The output terminal of the correction area designating memory 14 is
And the maximum value L of the distance in the RGB space between the representative color and the input pixel (correction target color).
0 is supplied.

【0024】代表色指定用メモリ16の出力端子の一方
は、相対輝度演算回路20の入力端子に接続され、他の
出力端子は乗算器24の入力端子に接続されている。そ
して、相対輝度演算回路20には輝度データ1/Y
供給し、乗算器24には代表色(選択色)の色データC
を供給するようになっている。修正量指定用メモリ1
8の出力端子は、補正演算回路28の入力端子に接続さ
れており、代表色の修正量ΔCを供給する。
One of the output terminals of the representative color designation memory 16 is connected to the input terminal of the relative luminance calculation circuit 20, and the other output terminal is connected to the input terminal of the multiplier 24. The luminance data 1 / Y 0 is supplied to the relative luminance calculation circuit 20, and the color data C of the representative color (selected color) is supplied to the multiplier 24.
0 is supplied. Correction amount designation memory 1
The output terminal 8 is connected to the input terminal of the correction operation circuit 28, and supplies the correction amount ΔC 0 of the representative color.

【0025】相対輝度演算回路20の出力端子は、色補
正領域判定回路26の入力端子と、乗算器24の入力端
子と、補正演算回路28の入力端子とに接続されてい
る。そして、色補正領域判定回路26,乗算器24及び
補正演算回路28に、相対輝度値Y/Yを供給するよ
うになっている。
The output terminal of the relative luminance calculation circuit 20 is connected to the input terminal of the color correction area judging circuit 26, the input terminal of the multiplier 24, and the input terminal of the correction calculation circuit 28. Then, the color correction region determining circuit 26, a multiplier 24 and the correction operation circuit 28, and supplies the relative luminance value Y / Y 0.

【0026】色補正領域判定回路26の出力端子は、補
正演算回路28の入力端子と、セレクタ30の入力端子
(制御端子)に接続されている。色補正領域判定回路2
6は、補正演算回路28に対しては入力画素Pinと球
kの中心からの距離Δrを求めるためのデータとして、
(1/L)×|Pin−C×(Y/Y)|を供給
する。また、セレクタ30に対しては、入力画素が補正
領域内か否かを示す制御信号を供給する。
The output terminal of the color correction area determination circuit 26 is connected to the input terminal of the correction operation circuit 28 and the input terminal (control terminal) of the selector 30. Color correction area determination circuit 2
6, as data for determining the distance Δr from the center of the input pixel P in the sphere k for correction calculation circuit 28,
(1 / L 0 ) × | P in −C 0 × (Y / Y 0 ) | Further, a control signal indicating whether or not the input pixel is within the correction area is supplied to the selector 30.

【0027】補正演算回路28の出力端子は、セレクタ
30の一つの入力端子に接続されている。補正演算回路
28は、修正量指定用メモリ18、相対輝度演算回路2
0及び色補正領域判定回路26から供給されるデータ ΔC、Y/Y,|Pin−C×(Y/Y)|×
1/L に基づいて、入力画素の補正値として、 Y/Y−|Pin−C×Y/Y|×1/L を算出する。補正演算回路28は、更に、式(8)に示
す演算に従って入力画素Pinの画素値RGBを補正す
る。
The output terminal of the correction operation circuit 28 is connected to a selector
30 are connected to one input terminal. Correction calculation circuit
28 is a memory 18 for designating a correction amount, a relative luminance calculation circuit 2
0 and data ΔC supplied from the color correction area determination circuit 260, Y / Y0, | Pin-C0× (Y / Y0) | ×
1 / L0  Y / Y as the correction value of the input pixel based on0− | Pin-C0× Y / Y0| × 1 / L0  Is calculated. The correction operation circuit 28 further calculates the equation (8)
Input pixel P according toinThe pixel value RGB of
You.

【0028】セレクタ30は、色補正領域判定回路26
からの制御信号に基づき、画像入力装置12から供給さ
れる色データPinと、補正演算回路28から供給され
る補正後の色データ Pin+{Y/Y−(1/L)×|Pin−C×
Y/Y|}×ΔC の何れか一方をPoutとして画像出力装置32に供給
する。すなわち、入力画素Pinが補正領域内の場合に
は、補正演算回路28から供給される補正後のデータを
選択し、入力画素Pinが補正領域外の場合には、画像
入力装置12から供給される入力データPinを選択す
る。
The selector 30 includes a color correction area determination circuit 26
Supplied from the image input device 12 based on the control signal from
Color data PinSupplied from the correction operation circuit 28
Color data P after correctionin+ {Y / Y0− (1 / L0) × | Pin-C0×
Y / Y0|} × ΔC0  Either of PoutTo the image output device 32
I do. That is, the input pixel PinIs within the correction area
Represents the corrected data supplied from the correction arithmetic circuit 28.
Select the input pixel PinIf is outside the correction area,
Input data P supplied from the input device 12inSelect
You.

【0029】補正演算回路28では、上記のような機能
の他に、飽和処理機能を付加することが好ましい。すな
わち、RGBの色補正の段階で何れかの色が飽和してし
まうことを防止する処理を行う。最初に、図4及び図5
を参照して飽和処理の第1の方法について説明する。以
下の説明においては、上述した式(8)中で {Y/Y−(1/L)×|Pin−C×Y/Y
|}×ΔC で示される値を、色補正成分ΔP(=ΔR、ΔG、Δ
B)として扱うものとする。
The correction operation circuit 28 has the above-described functions.
In addition, it is preferable to add a saturation processing function. sand
That is, one of the colors is saturated at the stage of the RGB color correction.
Perform a process to prevent sloshing. First, FIGS. 4 and 5
The first method of the saturation processing will be described with reference to FIG. Less than
In the following description, in equation (8) above, {Y / Y0− (1 / L0) × | Pin-C0× Y / Y0
|} × ΔC0  With the color correction component ΔP (= ΔR, ΔG, Δ
B).

【0030】第1の方法においては、最初に色補正成分
ΔP(=ΔR、ΔG、ΔB)をn(n>1)等分にし、
その値ΔP/n(=ΔR/n、ΔG/n、ΔB/n)を
各々の色に加算する。この段階で何れかの色が飽和した
場合には、加算を停止して得られた値を出力Pout
して画像出力装置32に出力する。何れの色も飽和しな
い場合には、更に、値ΔP/n(=ΔR/n、ΔG/
n、ΔB/n)を各々の色に加算する。このような動作
を最大でn回繰り返し、何れかの色が飽和した時点で加
算を停止して得られた値をPout信号(Rout,G
out,Bout)として画像出力装置32に出力す
る。
In the first method, first, the color correction components ΔP (= ΔR, ΔG, ΔB) are equally divided into n (n> 1),
The value ΔP / n (= ΔR / n, ΔG / n, ΔB / n) is added to each color. If any of the colors is saturated at this stage, the value obtained by stopping the addition is output to the image output device 32 as an output P out . When none of the colors is saturated, the value ΔP / n (= ΔR / n, ΔG /
n, ΔB / n) are added to each color. Such an operation is repeated at most n times, and when any color is saturated, the addition is stopped and the obtained value is used as a P out signal (R out , G out) .
out , B out ) to the image output device 32.

【0031】実際の演算処理においては、n=4の時に
特に演算が少なくて済む(ハードウエア構成を簡略化で
きる)ため、好ましい態様として、図4及び5に示すケ
ースでは、n=4としている。そして、この場合、3回
目の加算で赤(R)が飽和しているため、4回目の加算
を行うことなく、P+3ΔP/4を出力信号Pout
する。
In the actual arithmetic processing, the number of arithmetic operations is particularly small when n = 4 (the hardware configuration can be simplified). Therefore, in the preferred embodiment shown in FIGS. 4 and 5, n = 4. . In this case, since red (R) is saturated in the third addition, P + 3ΔP / 4 is used as the output signal P out without performing the fourth addition.

【0032】飽和状態の検出は、所謂オーバーフロー検
出によって実現できる。すなわち、8ビット+8ビット
の加算を行うときには、加算数及び被加算数ともに最上
位に「0」を付加して9ビットにして演算を行う。加算
の結果が8ビットのレンジを越えた時には9ビット目に
「1」が入る。従って、この9ビット目をR,G,Bに
ついて検出することによって、その色が飽和しているか
否かが判別できる。
The detection of the saturated state can be realized by a so-called overflow detection. That is, when performing the addition of 8 bits + 8 bits, “0” is added to the highest order in both the addition number and the augend, and the operation is performed with 9 bits. When the result of the addition exceeds the 8-bit range, "1" is entered at the ninth bit. Therefore, by detecting the ninth bit for R, G, and B, it can be determined whether the color is saturated.

【0033】色補正成分ΔPの分割は、4等分に限定さ
れないが、4等分にすることによってハードウエア構成
を簡略化する(演算数を減らす)ことが出来る。
The division of the color correction component ΔP is not limited to four, but by dividing it into four, the hardware configuration can be simplified (the number of operations can be reduced).

【0034】次に、補正演算回路28中における飽和処
理の第2の方法について説明する。第2の方法において
は、最初に色補正成分ΔP(=ΔR、ΔG、ΔB)をn
(n>1)等分にし、その値ΔP/n(=ΔR/n、Δ
G/n、ΔB/n)を各々の色に加算する。この段階で
何れかの色が飽和した場合には、値ΔP/2n(=ΔR
/2n、ΔG/2n、ΔB/2n)を各々の色から減算
する。そして、最終的には、P+ΔP/2n(=R+Δ
R/2n、G+ΔG/2n、B+ΔB/2nを出力信号
out(Rout,Gout,Bout)として画像
出力装置32(ディスプレイ装置)に出力する。
Next, a second method of the saturation processing in the correction operation circuit 28 will be described. In the second method, first, the color correction component ΔP (= ΔR, ΔG, ΔB) is set to n
(N> 1), and divide the value into ΔP / n (= ΔR / n, Δ
G / n, ΔB / n) are added to each color. If any color is saturated at this stage, the value ΔP / 2n (= ΔR
/ 2n, ΔG / 2n, ΔB / 2n) are subtracted from each color. And finally, P + ΔP / 2n (= R + Δ
R / 2n, G + ΔG / 2n, and B + ΔB / 2n are output to the image output device 32 (display device) as output signals P out (R out , G out , B out ).

【0035】一方、値ΔP/n(=ΔR/n、ΔG/
n、ΔB/n)を各々の色に加算した時点で何れの色も
飽和しない場合には、更に、値ΔP/2n(=ΔR/2
n、ΔG/2n、ΔB/2n)を各々の色に加算して、
加算処理を終了する。すなわち、P+3ΔP/2n(=
R+3ΔR/2n、G+3ΔG/2n、B+3ΔB/2
nを出力信号Pout(Rout,Gout
out)として画像出力装置32に出力する。
On the other hand, the value ΔP / n (= ΔR / n, ΔG /
If none of the colors is saturated at the time when n, ΔB / n) are added to each color, the value ΔP / 2n (= ΔR / 2)
n, ΔG / 2n, ΔB / 2n) for each color.
The addition processing ends. That is, P + 3ΔP / 2n (=
R + 3ΔR / 2n, G + 3ΔG / 2n, B + 3ΔB / 2
n is the output signal P out (R out , G out ,
B out ) to the image output device 32.

【0036】なお、図6及び図7に示す実施例において
は、上記第2の方法で、分割数nとして「2」を採用す
る。n=2とする主な理由は、上述した第1の方法と同
様にハードウエア構成の簡略化及び演算数の減少のため
である。
In the embodiment shown in FIGS. 6 and 7, "2" is adopted as the number of divisions n in the second method. The main reason for setting n = 2 is to simplify the hardware configuration and reduce the number of operations as in the first method described above.

【0037】第2の方法においても、飽和状態の検出
は、上述したオーバーフロー検出によって実現できる。
第2の方法によれば、2段階の加算(減算)処理によっ
て飽和処理を行うことができるため、第1の方法に比べ
て更にハードウエア構成を簡略化することが出来る。
Also in the second method, the detection of the saturated state can be realized by the overflow detection described above.
According to the second method, since the saturation processing can be performed by two-stage addition (subtraction) processing, the hardware configuration can be further simplified as compared with the first method.

【0038】図8は、本発明の他の実施例に係るカラー
画像の色調整領域判定方法の概念を説明するための図で
あり、RGB色空間を示す。本実施例においては、図1
及び図2に示した実施例に対し、色調整対象領域の判定
について更に改良したものとなっている。
FIG. 8 is a diagram for explaining the concept of a method for determining a color adjustment region of a color image according to another embodiment of the present invention, and shows an RGB color space. In this embodiment, FIG.
In addition to the embodiment shown in FIG. 2, the determination of the color adjustment target area is further improved.

【0039】図1に示す本実施例においては、RGB空
間の原点(0)を頂点とし、球kが内接する円錐10
の内部を補正対象領域としているが、図8に示す実施例
においては円錐100又は200の内部を補正対象領域
とする。輝度で規格化された色調整においては、人間の
目には輝度の低い、すなわち暗い部分で補正の効果が目
立ち過ぎてしまい、不自然となることがある。そこで、
図8に示す実施例においては、輝度の低い色に関しては
補正をしない(下の図)、或いは補正量を小さく(上の
図)している。本発明は相対輝度を用いて色調整を行う
ため、図8に示す実施例を具体的に実現する場合には、
相対輝度を求める箇所のみに改良を施すだけで済む。図
1に示す実施例においては、輝度値Y/Yを用いてい
るのに対し、図8に示す実施例においては、Y‘/Y
を用いる。すなわち、所謂マッピング処理を行う。
In the present embodiment shown in FIG. 1, the origin (0) of the RGB space is set as the vertex, and the cone 10 in which the sphere k 0 is inscribed.
Is set as the correction target area. In the embodiment shown in FIG. 8, the inside of the cone 100 or 200 is set as the correction target area. In the color adjustment standardized by the luminance, the effect of the correction may be too conspicuous to human eyes at low luminance, that is, in a dark part, which may be unnatural. Therefore,
In the embodiment shown in FIG. 8, the correction is not performed on the color with low luminance (lower figure) or the correction amount is made smaller (upper figure). Since the present invention performs color adjustment using relative luminance, when the embodiment shown in FIG. 8 is specifically realized,
It is only necessary to make an improvement in the part where the relative luminance is required. In the embodiment shown in FIG. 1, the luminance value Y / Y 0 is used, whereas in the embodiment shown in FIG. 8, Y ′ / Y 0 is used.
Is used. That is, a so-called mapping process is performed.

【0040】図8に示す実施例において、図1に示す実
施例と同様に、輝度Yを「Y=2R+4G+B」で定義
する場合には、図8に示す実施例は、例えば、Yの上位
5ビットを入力とする12ビット出力のROMを用いる
だけで実現可能となる。この場合、ROMの回路規模は
×5×12=2000ゲート程度となる。なお、書
き換え可能なルックアップテーブルを用いた場合には、
RGB色空間における補正対象領域の境界線を任意の曲
線とできる、すなわち、色調整の特性をユーザー定義と
することが可能となる。
In the embodiment shown in FIG. 8, similarly to the embodiment shown in FIG. 1, when the luminance Y is defined by “Y = 2R + 4G + B”, the embodiment shown in FIG. This can be realized only by using a 12-bit output ROM that inputs bits. In this case, the circuit scale of the ROM is about 25 × 5 × 12 = 2000 gates. When a rewritable lookup table is used,
The boundary of the correction target area in the RGB color space can be an arbitrary curve, that is, the color adjustment characteristics can be user-defined.

【0041】以上、本発明の実施例について説明した
が、本発明はこれらの実施例に何ら限定されるものでは
なく、特許請求の範囲に示された技術的思想の範疇にお
いて変更可能なものである。
Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments, but can be modified within the scope of the technical idea described in the claims. is there.

【0042】[0042]

【発明の効果】以上説明したように、本発明において
は、代表色に対する入力画素の相対輝度値を用いて色調
整領域を判定し、当該調整領域内にある色に対する調整
量を算出し、当該調整量に基づいて入力画素に対して色
調整処理を施す。このため、調整領域の判定において輝
度成分が影響せず、同一色(色合い)でありながら輝度
の異なる一部の色が調整領域外になることがなくなり、
自然な色調整を行うことが可能となる。すなわち、本発
明は、適切な補正領域判定を行うことにより、RGB空
間において自然な色調整を行い得るという格別な効果が
ある。
As described above, according to the present invention, the color adjustment area is determined using the relative luminance value of the input pixel with respect to the representative color, and the adjustment amount for the color within the adjustment area is calculated. A color adjustment process is performed on the input pixels based on the adjustment amount. For this reason, the luminance component does not affect the determination of the adjustment area, and some colors having the same color (hue) but different luminances do not fall outside the adjustment area.
Natural color adjustment can be performed. That is, the present invention has a special effect that natural color adjustment can be performed in the RGB space by performing appropriate correction region determination.

【0043】また、入力画素の色補正を行う際に、RG
B各値の飽和状況を検出し、その状況に応じた補正値を
加算することにより、色調整の際に飽和による色ずれを
発生することを防止することができる。
When performing color correction of an input pixel, RG
By detecting the saturation state of each value B and adding a correction value according to the state, it is possible to prevent the occurrence of a color shift due to saturation during color adjustment.

【図面の簡単な説明】[Brief description of the drawings]

【図1】図1は、本発明の基本概念(色調整領域)を示
す説明図である。
FIG. 1 is an explanatory diagram showing a basic concept (color adjustment area) of the present invention.

【図2】図2は、本発明の基本概念の演算方法を示す数
式などである。
FIG. 2 is a formula or the like showing a calculation method of a basic concept of the present invention.

【図3】図3は、本発明の実施例に係るカラー画像調整
装置の構成を示すブロック図である
FIG. 3 is a block diagram illustrating a configuration of a color image adjustment device according to an embodiment of the present invention.

【図4】図4は、本実施例に適用される色調整の飽和処
理における第1の方法を示すフローチャートである。
FIG. 4 is a flowchart illustrating a first method in a color adjustment saturation process applied to the embodiment;

【図5】図5は、図4に示す作用を模式的に示す説明図
である。
FIG. 5 is an explanatory diagram schematically showing the operation shown in FIG. 4;

【図6】図6は、色調整の飽和処理における第2の方法
を示すフローチャートである。
FIG. 6 is a flowchart illustrating a second method in a color adjustment saturation process.

【図7】図7は、図6に示す作用を模式的に示す説明図
である。
FIG. 7 is an explanatory diagram schematically showing the operation shown in FIG. 6;

【図8】図8は、本発明の他の実施例の基本概念(色調
整領域)を示す説明図である。
FIG. 8 is an explanatory diagram showing a basic concept (color adjustment area) of another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10、100,200 本発明の色調整領域(円錐形
他) 12 画像入力装置 14 修正領域指定用メモリ 16 代表色指定用メモリ 18 修正量指定用メモリ 20 相対輝度演算回路 22、24 乗算器 26 色補正領域判定回路 28 補正演算回路
10, 100, 200 Color adjustment area (cone etc.) of the present invention 12 Image input device 14 Memory for specifying correction area 16 Memory for specifying representative color 18 Memory for specifying correction amount 20 Relative luminance operation circuit 22, 24 Multiplier 26 Color Correction area judgment circuit 28 Correction operation circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 9/64 H04N 1/46 Z Fターム(参考) 5B057 BA25 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE17 CE18 CH08 CH11 CH18 DA08 DA17 DB02 DB06 DB09 DC03 DC36 5C066 AA03 AA13 CA08 CA11 DD06 EA03 EB01 EE04 EF03 GA01 GA05 GA11 GA32 GA33 GB01 HA02 JA01 KA12 KD02 KE02 KE07 KE11 KE16 5C077 LL01 LL19 PP32 PP34 PP37 PP43 PQ08 PQ12 PQ20 PQ22 5C079 HB01 HB04 LA02 LA10 LA24 LA31 LB01 MA01 MA02 MA11 NA05 5C082 AA01 AA02 BA12 BA34 BB02 CA12 CA54 MM10 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI theme coat ゛ (Reference) H04N 9/64 H04N 1/46 Z F-term (Reference) 5B057 BA25 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE17 CE18 CH08 CH11 CH18 DA08 DA17 DB02 DB06 DB09 DC03 DC36 5C066 AA03 AA13 CA08 CA11 DD06 EA03 EB01 EE04 EF03 GA01 GA05 GA11 GA32 GA33 GB01 HA02 JA01 KA12 KD02 KE02 KE07 KE11 KE16 5C077 LL01 LL19 PP32 P00P12 PP19 LA24 LA31 LB01 MA01 MA02 MA11 NA05 5C082 AA01 AA02 BA12 BA34 BB02 CA12 CA54 MM10

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】カラー画像の代表色及びその周辺の色をR
GB色空間で調整するカラー画像処理方法において、 入力画素について、前記代表色に対する相対輝度値を用
いて前記調整を行う領域を判定し、 前記入力画素に対する調整量を算出し、 前記入力画素が前記領域内と判定された場合には、前記
調整量に基づいて当該入力画素に対して色調整処理を施
すことを特徴とするカラー画像処理方法。
1. A representative color of a color image and its surrounding colors are represented by R
In a color image processing method for adjusting in a GB color space, for an input pixel, a region to be adjusted is determined using a relative luminance value with respect to the representative color, and an adjustment amount for the input pixel is calculated. A color image processing method comprising: performing a color adjustment process on the input pixel based on the adjustment amount when it is determined that the input pixel is within the area.
【請求項2】前記領域判定を行う際に、前記相対輝度値
を前記入力画素のRGB値に乗算することによって、当
該入力画素の輝度が影響しないようにすることを特徴と
する請求項1に記載のカラー画像処理方法。
2. The method according to claim 1, wherein, when the area is determined, the relative luminance value is multiplied by an RGB value of the input pixel so that the luminance of the input pixel is not affected. The color image processing method described in the above.
【請求項3】前記入力画素の輝度Yを以下の式(1)で
求め; Y=rR+gG+bB ・・・・(1) (r,g,bは定数であり、その合計がある定数となる
規格化された値とする。) 前記代表色の輝度Yを以下の式(2)で求め; Y=rR+gG+bB ・・・・(2) (r,g,bは定数であり、その合計がある定数となる
規格化された値とする。) 前記入力画素のRGB画素値をPとし、前記代表色のR
GB画素値をCとし、PとCとのRGB空間におけ
る距離の最大値をLとした時に、以下の式(3)を満
たす場合に、前記入力画素が前記領域内であると判定す
ることを特徴とする請求項2に記載のカラー画像処理方
法。 |P×(Y/Y)−C ≦ L ・・・・(3)
3. The luminance Y of the input pixel is obtained by the following equation (1): Y = rR + gG + bB (1) (where r, g, and b are constants, and the total is a constant. The luminance Y 0 of the representative color is obtained by the following equation (2): Y = rR 0 + gG 0 + bB 0 (2) (r, g, and b are constants) , The sum is a standardized value that is a certain constant.) The RGB pixel value of the input pixel is P, and the RGB value of the representative color is R.
When the GB pixel value is C 0 and the maximum value of the distance between P and C 0 in the RGB space is L 0 , when the following expression (3) is satisfied, it is determined that the input pixel is within the area. 3. The color image processing method according to claim 2, wherein: | P × (Y 0 / Y) −C 0 | 2 ≦ L 0 2 (3)
【請求項4】前記式(3)を以下の式(4)に変換し、
当該式(4)に基づいて前記調整領域を判定することを
特徴とする請求項3に記載のカラー画像処理方法。 {(1/L)×|P−C×(Y/Y)|}≦ (Y/Y ・・ ・(4)
4. The formula (3) is converted into the following formula (4):
4. The color image processing method according to claim 3, wherein the adjustment area is determined based on the equation (4). {(1 / L 0 ) × | P−C 0 × (Y / Y 0 ) |} 2 ≦ (Y / Y 0 ) 2 (4)
【請求項5】前記領域内の輝度の低い所定範囲を、他の
範囲に比べて狭くし、或いは当該範囲内での色調整を行
わないようにすることを特徴とする請求項1,2,3又
は4に記載のカラー画像処理方法。
5. A method according to claim 1, wherein a predetermined range of low brightness in said area is narrowed as compared with another range, or color adjustment is not performed within said range. 5. The color image processing method according to 3 or 4.
【請求項6】前記色調整処理は、前記調整量をRGB各
色成分に加算する工程と、前記RGBの各色の飽和状態
を検出し、その検出結果に基づいて加算処理を調整する
工程とを含むことを特徴とする請求項1,2,3,4又
は5に記載のカラー画像処理方法。
6. The color adjustment processing includes a step of adding the adjustment amount to each of RGB color components, and a step of detecting a saturation state of each of the RGB colors and adjusting the addition processing based on the detection result. The color image processing method according to claim 1, 2, 3, 4, or 5.
【請求項7】前記調整量をRGB各色成分に加算する工
程において、当該調整量を分割し、分割した調整量を段
階的に前記調整領域内のRGB成分に付加することを特
徴とする請求項6に記載のカラー画像処理方法。
7. The method according to claim 1, wherein in the step of adding the adjustment amount to each of the RGB components, the adjustment amount is divided, and the divided adjustment amounts are added stepwise to the RGB components in the adjustment region. 7. The color image processing method according to 6.
【請求項8】前記調整量をΔPとした時に、当該調整量
ΔPをΔP/nにn等分(n>1)し、RGB何れかの
色が飽和するまでΔP/nを各色に対して加算すること
を特徴とする請求項7に記載のカラー画像処理方法。
8. When the adjustment amount is ΔP, the adjustment amount ΔP is divided into n equal to ΔP / n (n> 1), and ΔP / n is calculated for each color until one of the RGB colors is saturated. 8. The color image processing method according to claim 7, wherein the addition is performed.
【請求項9】前記調整量をΔPとした時に、前記RGB
の各色に対して、最初にΔP/n(n>1)を加算し、 前記ΔP/nの加算によって、前記RGB何れかの色が
飽和した場合には、RGB各色からΔP/2nを減算
し、 前記ΔP/nの加算によって、前記RGB何れの色も飽
和しない場合には、RGB各色に対して更にΔP/2n
を加算するプロセスを有することを特徴とする請求項7
に記載のカラー画像処理方法。
9. When the adjustment amount is ΔP, the RGB values
First, ΔP / n (n> 1) is added to each of the colors. If any of the RGB colors is saturated by the addition of ΔP / n, ΔP / 2n is subtracted from each of the RGB colors. When none of the RGB colors is saturated by the addition of ΔP / n, ΔP / 2n is further added to each of the RGB colors.
8. The process of claim 7, further comprising the step of:
3. The color image processing method according to item 1.
【請求項10】カラー画像の代表色及びその周辺の色を
RGB色空間で調整するカラー画像処理装置において、 前記代表色に対する入力画素の相対輝度値を算出する相
対輝度演算回路と;前記相対輝度演算回路によって求め
られた前記相対輝度値に基づいて、前記調整を行う領域
を判定する調整領域判定回路と;前記入力画素に対する
調整量を算出して、当該調整値に基づいて前記入力画素
画素の色調整を行う調整処理回路とを備えたことを特徴
とするカラー画像処理装置。
10. A color image processing apparatus for adjusting a representative color of a color image and its surrounding colors in an RGB color space, a relative luminance calculation circuit for calculating a relative luminance value of an input pixel with respect to the representative color; An adjustment area determination circuit that determines an area for performing the adjustment based on the relative luminance value obtained by the arithmetic circuit; an adjustment amount for the input pixel is calculated; and an adjustment amount of the input pixel pixel is calculated based on the adjustment value. A color image processing apparatus comprising: an adjustment processing circuit for performing color adjustment.
【請求項11】前記相対輝度値を前記入力画素のRGB
画素値に乗算する乗算器を更に備え、前記調整領域判定
回路は、前記乗算器の出力を用いることにより、前記領
域判定において前記入力画素の輝度が影響しないように
することを特徴とする請求項10に記載のカラー画像処
理装置。
11. The method according to claim 11, wherein the relative luminance value is calculated by using RGB of the input pixel.
The apparatus according to claim 1, further comprising a multiplier for multiplying a pixel value, wherein the adjustment area determination circuit uses the output of the multiplier so that the brightness of the input pixel does not affect the area determination. A color image processing apparatus according to claim 10.
【請求項12】前記入力画素のRGB画素値Pを検出す
るとともに、当該入力画素の輝度Yを以下の式(1)に
基づいて算出する画像入力回路と; Y=rR+gG+bB ・・・・(1) (r,g,bは定数であり、その合計がある定数となる
規格化された値とする。) 前記代表色のRGB画素値Cと、以下の式(2)で表
される前記代表色の輝度Yとを保持する代表色指定用
メモリと; Y=rR+gG+bB ・・・・(2) (r,g,bは定数であり、その合計がある定数となる
規格化された値とする。) 前記代表色と入力画素とのRGB空間における距離の最
大値Lを保持する修正領域指定用メモリとを更に備
え、 前記調整領域判定回路は、前記画像入力回路、前記代表
色指定用メモリ及び修正領域指定用メモリからのデータ
に基づき、以下の式(3)を満たす色を調整対象として
判定することを特徴とする請求項11に記載のカラー画
像処理装置。 |P×(Y/Y)−C ≦ L ・・・・(3)
12. An image input circuit for detecting an RGB pixel value P of the input pixel and calculating a luminance Y of the input pixel based on the following equation (1): Y = rR + gG + bB (1) ) (r, g, b are constants. a normalized value becomes the sum is constant) and RGB pixel value C 0 of the representative color, the represented by the following formula (2) a memory for representative color designation for holding the luminance Y 0 of the representative colors; Y = rR 0 + gG 0 + bB 0 ···· (2) (r, g, b are constants, and the sum is constant the normalized value.) the representative color and further comprising a memory for modification region specified to hold the maximum value L 0 of the distance in the RGB space of the input pixel, the adjustment region determining circuit, the image input circuit The representative color designation memory and the correction area designation memory The color image processing apparatus according to claim 11, wherein a color satisfying the following expression (3) is determined as an adjustment target based on the data. | P × (Y 0 / Y) −C 0 | 2 ≦ L 0 2 (3)
【請求項13】前記調整領域判定回路は、前記式(3)
を変形することによって求められる以下の式(4)に示
される演算を行い、当該式(4)を満たす色を調整対象
として判定することを特徴とする請求項12に記載のカ
ラー画像処理装置。 {(1/L)×|P−C×(Y/Y)|}≦ (Y/Y ・・ ・(4)
13. The adjustment area determination circuit according to the above equation (3).
13. The color image processing apparatus according to claim 12, wherein an operation represented by the following equation (4), which is obtained by transforming, is performed, and a color satisfying the equation (4) is determined as an adjustment target. {(1 / L 0 ) × | P−C 0 × (Y / Y 0 ) |} 2 ≦ (Y / Y 0 ) 2 (4)
【請求項14】前記領域内の輝度の低い所定範囲を、他
の範囲に比べて狭くし、或いは当該範囲内での色調整を
行わないようにすることを特徴とする請求項10,1
1,12又は13に記載のカラー画像処理装置。
14. The apparatus according to claim 10, wherein a predetermined range in which the brightness is low in said area is narrowed as compared with another range, or color adjustment is not performed within said range.
14. The color image processing apparatus according to 1, 12, or 13.
【請求項15】前記調整処理回路は、前記調整値をRG
B各色成分に加算する際に、前記RGBの各色の飽和状
態を検出し、その検出結果に基づいて加算処理を調整す
ることを特徴とする請求項10,11,12,13又は
14に記載のカラー画像処理装置。
15. The adjustment processing circuit according to claim 1, wherein the adjustment value is RG
15. The method according to claim 10, wherein, when adding to each of the B color components, a saturation state of each of the RGB colors is detected, and the addition process is adjusted based on the detection result. Color image processing device.
【請求項16】前記調整処理回路は、前記調整値を分割
し、分割した調整値を段階的に前記色調整領域内のRG
B成分に付加することを特徴とする請求項10,11,
12,13,14又は15に記載のカラー画像処理装
置。
16. The adjustment processing circuit divides the adjustment value, and divides the adjusted adjustment value into RGs in the color adjustment area in a stepwise manner.
12. The method according to claim 10, wherein the component is added to the B component.
16. The color image processing apparatus according to 12, 13, 14, or 15.
【請求項17】前記調整処理回路は、前記調整値をΔP
をした時に、当該調整値ΔPをΔP/nにn等分し(n
>1)、RGB何れかの色が飽和するまで前記ΔP/n
を各色に対して加算することを特徴とする請求項16に
記載のカラー画像処理装置。
17. The adjustment processing circuit according to claim 17, wherein the adjustment value is ΔP
, The adjustment value ΔP is divided into n equal to ΔP / n (n
> 1), ΔP / n until one of the RGB colors is saturated
17. The color image processing apparatus according to claim 16, wherein is added for each color.
【請求項18】前記調整処理回路は、前記調整値をΔP
をした時に、前記RGBの各色に対して、最初にΔP/
n(n>1)を加算し;当該ΔP/nの加算によって、
前記RGB何れかの色が飽和した場合には、RGB各色
からΔP/2nを減算し;前記ΔP/nの加算によっ
て、前記RGB何れの色も飽和しない場合には、RGB
各色に対して更にΔP/2nを加算することを特徴とす
る請求項16に記載のカラー画像処理装置。
18. The adjustment processing circuit according to claim 18, wherein the adjustment value is ΔP
, First, ΔP /
n (n>1); by adding the ΔP / n,
If any of the RGB colors is saturated, ΔP / 2n is subtracted from each of the RGB colors; if none of the RGB colors is saturated by the addition of ΔP / n, RGB is added.
17. The color image processing apparatus according to claim 16, wherein ΔP / 2n is further added to each color.
JP37193499A 1999-12-27 1999-12-27 Color image processing method and color inage processor Pending JP2001189871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP37193499A JP2001189871A (en) 1999-12-27 1999-12-27 Color image processing method and color inage processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP37193499A JP2001189871A (en) 1999-12-27 1999-12-27 Color image processing method and color inage processor

Publications (1)

Publication Number Publication Date
JP2001189871A true JP2001189871A (en) 2001-07-10

Family

ID=18499561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP37193499A Pending JP2001189871A (en) 1999-12-27 1999-12-27 Color image processing method and color inage processor

Country Status (1)

Country Link
JP (1) JP2001189871A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010278680A (en) * 2009-05-27 2010-12-09 Ikegami Tsushinki Co Ltd Specific color detection circuit
CN108364620A (en) * 2018-03-30 2018-08-03 惠科股份有限公司 The driving method of liquid crystal display device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010278680A (en) * 2009-05-27 2010-12-09 Ikegami Tsushinki Co Ltd Specific color detection circuit
CN108364620A (en) * 2018-03-30 2018-08-03 惠科股份有限公司 The driving method of liquid crystal display device
CN108364620B (en) * 2018-03-30 2019-07-12 惠科股份有限公司 The driving method of liquid crystal display device
WO2019184388A1 (en) * 2018-03-30 2019-10-03 惠科股份有限公司 Driving method for liquid crystal display device
US11295682B2 (en) 2018-03-30 2022-04-05 HKC Corporation Limited Driving method for liquid crystal display device

Similar Documents

Publication Publication Date Title
CN111899182B (en) Color enhancement method and device
JP5107355B2 (en) Method, apparatus, and program for gamut mapping to reproduction gamut narrower than input gamut
US20080253650A1 (en) Image Processing Device, Image Processing Method, Image Processing Program Product, and Image-Capturing Device
US20110206280A1 (en) Image brightness controlling apparatus and method thereof
US7554557B2 (en) Device and method for image compression and decompression
US7986833B2 (en) Image processing method and apparatus for color enhancement and correction
JP2000134486A (en) Image processing unit, image processing method and storage medium
AU2013381285B2 (en) Color adjustment device, image display device, and color adjustment method
CN108876742B (en) Image color enhancement method and device
US8064693B2 (en) Methods of and apparatus for adjusting colour saturation in an input image
US20150339808A1 (en) Image processing apparatus, image processing method, program, and recording medium
US6894720B2 (en) Method and apparatus for applying tone mapping functions to color images
JP3126046B2 (en) Color adjustment method and color adjustment device for color image
JP4257036B2 (en) Histogram equalization method
WO2022120799A1 (en) Image processing method and apparatus, electronic device, and storage medium
JP2003520505A (en) Method and apparatus for modifying the color saturation of an electronically acquired image
JP2003523110A (en) Improve image signal
EP2802139B1 (en) Image color adjusting method and electronic device using the same
JP2001189871A (en) Color image processing method and color inage processor
KR101823256B1 (en) Image processing apparatus and method for image processing
JP2003304400A (en) Image processing apparatus and method, program, and recording medium
US20060279811A1 (en) Method for adjusting colors of image
EP1895781B1 (en) Method of and apparatus for adjusting colour saturation
JP2000261685A (en) Method of improving color image quality and device
JP2001223911A (en) Color image processing method and color image processor