JP2007019970A - Device and method for color correction - Google Patents

Device and method for color correction Download PDF

Info

Publication number
JP2007019970A
JP2007019970A JP2005200409A JP2005200409A JP2007019970A JP 2007019970 A JP2007019970 A JP 2007019970A JP 2005200409 A JP2005200409 A JP 2005200409A JP 2005200409 A JP2005200409 A JP 2005200409A JP 2007019970 A JP2007019970 A JP 2007019970A
Authority
JP
Japan
Prior art keywords
color correction
color
hue
saturation
dimensional lut
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
JP2005200409A
Other languages
Japanese (ja)
Inventor
万里子 ▲高▼橋
Mariko Takahashi
Narihiro Matoba
成浩 的場
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005200409A priority Critical patent/JP2007019970A/en
Publication of JP2007019970A publication Critical patent/JP2007019970A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and device for color correction with high practicability for achieving highly accurate color correction with specific color in a free manner in a simple configuration using a two-dimensional LUT(look up table) when performing color correction only in a specified area. <P>SOLUTION: The device converts an input image signal into each variable of hue H, lightness V and saturation C by using a predetermined expression, uses the two-dimensional LUT obtained by combining two variables among prepared hue H, lightness V and saturation C to apply color correction to the variables of the hue H, the lightness V and the saturation C converted from the input image signal by a color correcting means 12, and uses a second predetermined expression to color-corrected hue H', lightness V' and saturation C' to generate an output image. Then, it is possible to improve color correction accuracy and make a circuit scale small without lowering an operation processing speed. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、カラー画像の色補正をする際に、色補正装置に入力される画像信号を色補正信号に変換し、色補正信号の3つある成分のうち2つの成分を組合せ、色補正量を定めた2次元LUT(Look Up Table)を用いて色補正処理を行う色補正方法および色補正装置に関する。   The present invention converts an image signal input to a color correction device into a color correction signal when performing color correction of a color image, and combines two components of the three components of the color correction signal to obtain a color correction amount. The present invention relates to a color correction method and a color correction apparatus that perform color correction processing using a two-dimensional LUT (Look Up Table) that defines the above.

従来の色補正方法および色補正装置には、特開平9-326941号公報に示されるものがある。特開平9-326941号公報に提示された色補正装置は、基準色を設定する基準色設定手段と、入力された画像データから前記基準色に対し所定範囲内の色を抽出して、その色の代表色を算出する代表色演算手段と、前記基準色と前記代表色とに基づいて、入力された画像データに施すべき補正条件を設定する条件設定手段と、設定された条件に従った補正を、入力された画像データに対して行う補正手段とを具備することを特徴としている。   A conventional color correction method and color correction apparatus is disclosed in Japanese Patent Laid-Open No. 9-326941. Japanese Patent Laid-Open No. 9-326941 discloses a color correction device that extracts a color within a predetermined range with respect to the reference color from the input image data, and a reference color setting unit that sets a reference color. Representative color calculation means for calculating the representative color, condition setting means for setting a correction condition to be applied to the input image data based on the reference color and the representative color, and correction according to the set condition Correction means for performing the processing on the input image data.

その色補正手順は次のとおりである。RGB画像データは、1次元LUTと行列演算を用いてL*a*b*空間に近似変換される。このL*a*b*空間に近似変換されたa*b*が2次元LUTの参照により直行座標系からHCの極座標系へ変換がなされ、L*HC空間の画像データに変換され、色補正処理が施される。明度補正処理ではL*に対するレンジ補正が行われ、カラーバランス補正処理ではRGBデータを基にした色補正が行われる。色補正後のL*HCのうちHCデータを2次元LUTを参照しa*b*の直交座標系に変換した後、行列演算により出力のRGB画像データに変換される。2次元LUTは色補正量は保持せず色空間変換するためだけに使用し、色補正は1次元LUTを用いて行っている。   The color correction procedure is as follows. The RGB image data is approximated to an L * a * b * space using a one-dimensional LUT and matrix operation. The a * b * approximated to the L * a * b * space is converted from the orthogonal coordinate system to the HC polar coordinate system by referring to the two-dimensional LUT, converted to image data in the L * HC space, and color correction is performed. Processing is performed. In the lightness correction process, range correction for L * is performed, and in the color balance correction process, color correction based on RGB data is performed. Of L * HC after color correction, HC data is converted into an a * b * orthogonal coordinate system with reference to a two-dimensional LUT, and then converted into output RGB image data by matrix calculation. The two-dimensional LUT is used only for color space conversion without holding the color correction amount, and the color correction is performed using the one-dimensional LUT.

また、特開2004-112694号公報に示されるものもある。特開平2004-112694公報に提示された色補正方法は、色再現領域を部分的に伸長または収縮して色補正を行うことを特徴としている。色補正手段として3次元LUTを使用しているため、その演算速度は遅くリアルタイム処理には適さない。   Another example is disclosed in Japanese Patent Application Laid-Open No. 2004-112694. The color correction method presented in Japanese Patent Application Laid-Open No. 2004-112694 is characterized in that color correction is performed by partially expanding or contracting a color reproduction region. Since a three-dimensional LUT is used as the color correction means, the calculation speed is slow and not suitable for real-time processing.

特開平9-326941号公報JP-A-9-326941 特開2004-112694号公報JP 2004-112694 A

特開平9-326941号公報に示される従来の色補正は1次元LUTを用いている。1次元LUTは、色相H、明度V、彩度Cを独立に色補正できるが、例えば明度を色補正する場合、色相と彩度に関係なく、全ての色相、全ての彩度に対して明度の色補正がなされる。つまり、空の青色のみ明度を色補正することはできない。従って、特定色相の明度のみを色補正することはできないため、色補正の精度が低いという問題があった。   The conventional color correction disclosed in Japanese Patent Laid-Open No. 9-326941 uses a one-dimensional LUT. The one-dimensional LUT can independently perform hue correction for hue H, lightness V, and saturation C. For example, when color correction is performed for lightness, the lightness for all hues and all saturations regardless of hue and saturation. Color correction is made. That is, it is not possible to perform color correction on the brightness of only the blue sky. Therefore, there is a problem that the accuracy of color correction is low because it is not possible to perform color correction only for the lightness of a specific hue.

また、従来例特開2004-112694号公報に示されるものは、3次元LUTを適用して色補正を行っている。3次元LUTは特定の色相の特定の明度を補正することができるが、色補正しない色領域も3次元LUTによる大量の補間演算がなされ、その演算速度は遅くリアルタイム処理には適さないという問題があった。   Also, the conventional example disclosed in Japanese Patent Application Laid-Open No. 2004-112694 performs color correction by applying a three-dimensional LUT. The three-dimensional LUT can correct a specific lightness of a specific hue, but a color region that is not color-corrected is subjected to a large amount of interpolation calculation by the three-dimensional LUT, and the calculation speed is slow and is not suitable for real-time processing. there were.

この発明は、上記の課題を解決するためになされたもので、特定の領域のみ色補正する際に2次元LUTを用いた簡易な構成で、特定色を自由にかつ精度の高い色補正を実現する実用性の高い色補正方法および色補正装置を得ることを目的とする。   The present invention has been made to solve the above-described problem, and realizes color correction of a specific color freely and with a simple configuration using a two-dimensional LUT when performing color correction only on a specific area. An object of the present invention is to obtain a highly practical color correction method and color correction apparatus.

この発明に関る色補正装置は、
入力画像信号を、所定の式を用いて色相H、明度Vおよび彩度Cの各変数に変換する第一の画像信号変換手段と、
色相H、明度V、および彩度Cのうちの2つの変数を組合せた色補正用の2次元LUT(Look Up Table)が格納された2次元LUT格納手段と
入力画像信号が変換された色相H、明度Vおよび彩度Cの変数を2次元LUT格納手段の2次元LUTを基に色補正する色補正手段と、
色補正後の色相H’、明度V’、彩度C’に対して第二の所定の式を用いて出力画像信号を生成する第二の画像信号変換手段とを備えるものである。
The color correction apparatus according to the present invention is:
First image signal conversion means for converting an input image signal into variables of hue H, lightness V, and saturation C using a predetermined formula;
Two-dimensional LUT storage means for storing a two-dimensional LUT (Look Up Table) for color correction combining two variables of hue H, lightness V, and saturation C, and hue H obtained by converting the input image signal Color correction means for correcting the lightness V and saturation C variables based on the two-dimensional LUT of the two-dimensional LUT storage means;
And second image signal conversion means for generating an output image signal using a second predetermined formula for hue H ′, lightness V ′, and saturation C ′ after color correction.

また、この発明に関る色補正方法は、
入力画像信号を、所定の式を用いて色相H、明度Vおよび彩度Cの各変数に変換する第一の画像信号変換工程と、
色相H、明度V、および彩度Cのうち2つの変数を組合せた色補正用の2次元LUT(Look Up Table)を基に入力画像信号が変換された色相H、明度Vおよび彩度Cの何れかを色補正する色補正工程と、
色補正後の色相H’、明度V’、彩度C’に対して第二の所定の式を用いて出力画像を生成する第二の画像信号変換工程とを備えるものである。
Further, the color correction method according to the present invention is as follows:
A first image signal conversion step of converting an input image signal into hue H, brightness V, and saturation C variables using a predetermined formula;
The hue H, lightness V, and saturation C of the input image signal converted based on a two-dimensional LUT (Look Up Table) for color correction combining two variables of hue H, lightness V, and saturation C. A color correction process for correcting any of the colors;
And a second image signal conversion step of generating an output image using the second predetermined formula for hue H ′, lightness V ′, and saturation C ′ after color correction.

この発明に関る色補正方法および色補正装置は、入力画像信号を、所定の式を用いて色相H、明度Vおよび彩度Cの各変数に変換し、
予め作成された色相H、明度V、および彩度Cのうちの2つの変数を組合わせた2次元LUT(Look Up Table)を用いて、
入力画像信号から変換された色相H、明度Vおよび彩度Cの変数を色補正し、
色補正後の色相H’、明度V’、彩度C’に対して第二の所定の式を用いて出力画像を生成するため、演算処理速度を落とさずに特定色を自由に、かつ精度が向上する色補正を実現でき、さらに回路規模を小さくすることができる。その結果、色補正装置の小型化及び低コスト化を実現できる効果がある。
A color correction method and a color correction apparatus according to the present invention convert an input image signal into variables of hue H, lightness V, and saturation C using predetermined formulas,
Using a two-dimensional LUT (Look Up Table) that combines two variables of hue H, lightness V, and saturation C created in advance,
Color correction is performed for variables of hue H, brightness V, and saturation C converted from the input image signal,
Since the output image is generated using the second predetermined formula for the hue H ′, the lightness V ′, and the saturation C ′ after color correction, the specific color can be freely selected with high accuracy without reducing the calculation processing speed. Can be realized, and the circuit scale can be further reduced. As a result, the color correction device can be reduced in size and cost.

以下、この発明の実施の形態1について説明する。
実施の形態1.
図1はこの発明の実施の形態1による色補正装置の構成の一例を示す図である。図1において、第一の画像信号変換手段11は、入力される赤(R)、緑(G)、青(B)の入力画像信号1を色相H、明度V、彩度Cをパラメータとする色空間に変換しHVC変数を出力する。色補正手段12は、2次元LUT格納手段14に格納された色補正量を保持した2次元LUTを用いてHVC変数を補間演算により色補正を行い色補正後のH’V’C’変数を出力する。第二の画像信号変換手段13は、入力した色補正後のH’V’C’変数をR’G’B’の出力画像信号5に変換して出力する。
Embodiment 1 of the present invention will be described below.
Embodiment 1 FIG.
FIG. 1 is a diagram showing an example of the configuration of a color correction apparatus according to Embodiment 1 of the present invention. In FIG. 1, the first image signal converting means 11 uses the input image signal 1 of input red (R), green (G), and blue (B) as hue H, brightness V, and saturation C as parameters. Convert to color space and output HVC variable. The color correction unit 12 uses the two-dimensional LUT that holds the color correction amount stored in the two-dimensional LUT storage unit 14 to perform color correction on the HVC variable by interpolation, and sets the H′V′C ′ variable after color correction. Output. The second image signal conversion means 13 converts the input color-corrected H′V′C ′ variable into an output image signal 5 of R′G′B ′ and outputs it.

次に色補正方法の動作について説明する。第一の画像信号変換手段11は、第一の画像信号であるRGB信号を入力し、YCbCr色空間またはL*a*b*色空間などの色度座標に変換した後、人間の視覚的特性を有する色相H、明度V、彩度CのHVC変数に変換し出力する。HVC変数への変換方法は、前記色度座標に変換しないで、第一の画像信号であるRGB信号から直接変換してもよい。   Next, the operation of the color correction method will be described. The first image signal conversion means 11 receives the RGB signal as the first image signal, converts it into chromaticity coordinates such as YCbCr color space or L * a * b * color space, and then the human visual characteristics. Are converted into HVC variables of hue H, lightness V, and saturation C having The conversion method to the HVC variable may be directly converted from the RGB signal which is the first image signal without converting into the chromaticity coordinates.

色補正手段12は、入力した前記HVC変数と、2次元LUT格納手段14に格納され、予め設定されている2次元LUTまたはユーザにより設定された色補正量から作成された2次元LUTを用いて、補間演算により色補正後のH'V'C'を演算し出力する。   The color correction unit 12 uses the input HVC variable and a two-dimensional LUT stored in the two-dimensional LUT storage unit 14 and created from a preset two-dimensional LUT or a color correction amount set by the user. Then, H′V′C ′ after color correction is calculated and output by interpolation calculation.

第二の画像信号変換手段13は、前記H'V'C' 変数から前記所定の式の逆変換により出力画像信号5のR'G'B'信号に変換して出力する。   The second image signal conversion means 13 converts the H′V′C ′ variable into the R′G′B ′ signal of the output image signal 5 by the inverse conversion of the predetermined formula and outputs it.

次に、第一の画像信号変換処理11の動作について説明する。RGB信号からHVC変数への変換は、公知のHSI変換式、または三角関数を用いて変換する。ここで、明度Vは黒を0、白を入力画像信号1の最大ビット数となるように正規化する。色相Hは、6つの代表色をレッドR、イエローY、グリーンG、シアンC、ブルーB、マゼンタMとし、代表色相間のレンジが0から入力画像信号1の最大ビット数となるように設定する。また、色相Hは、求められる色相Hに加えて色相番号を保持する。色相番号はR、Y、G、C、B、Mの6つの代表色相を用いて表すものとする。色相Hを挟む代表色相のうち、色相Hの右側にある代表色相を第1の色相とし、左側にある色相を第2の色相とする。そして、これら第1及び第2の色相を色相Hの色相番号とする。   Next, the operation of the first image signal conversion process 11 will be described. Conversion from the RGB signal to the HVC variable is performed using a known HSI conversion formula or a trigonometric function. Here, the brightness V is normalized so that black is 0 and white is the maximum number of bits of the input image signal 1. The hue H is set so that the six representative colors are red R, yellow Y, green G, cyan C, blue B, and magenta M, and the range between the representative hues is 0 to the maximum number of bits of the input image signal 1. . The hue H holds a hue number in addition to the required hue H. The hue number is expressed using six representative hues of R, Y, G, C, B, and M. Of the representative hues that sandwich the hue H, the representative hue on the right side of the hue H is the first hue, and the hue on the left side is the second hue. These first and second hues are set as hue numbers of the hue H.

次に、色補正手段12の動作について説明する。図2は、色相と明度を組み合わたときの2次元LUTの一例である。図2の(a)は補正前の2次元LUTで、ここでは明度をV0〜V5、色相をH0〜H5までの補正したい階調および色相に応じて格子点を作成する。図2の(b)は色補正量を含む2次元LUTである。例えば、色相がH1とH2の間で、明度がV3とV4の間となる図2(a)の色P1は、図2(b)の色P2に変換される。H1とH2の間の色相の補間は線形補間する。図2に示すLUTを用いるとH1とH2の間で、V3とV4の間の色のみ明度を低く色補正することができる。1次元LUTを適用する場合、全色相に対して明度を調整することは可能であるが、2次元LUTを適用する場合のように、特定色相の特定明度の色のみを色補正することはできない。また、3次元LUTを用いると色補正の自由度は高くなるが、演算速度が非常にかかるためリアルタイム処理に向かない。   Next, the operation of the color correction unit 12 will be described. FIG. 2 is an example of a two-dimensional LUT when hue and lightness are combined. FIG. 2A shows a two-dimensional LUT before correction. Here, lattice points are created according to the gradation and hue to be corrected from lightness V0 to V5 and hue H0 to H5. FIG. 2B is a two-dimensional LUT including a color correction amount. For example, the color P1 in FIG. 2A with the hue between H1 and H2 and the lightness between V3 and V4 is converted to the color P2 in FIG. 2B. Interpolation of hue between H1 and H2 is linear interpolation. When the LUT shown in FIG. 2 is used, it is possible to perform color correction between H1 and H2 only for colors between V3 and V4 with low brightness. When the one-dimensional LUT is applied, it is possible to adjust the lightness for all hues, but it is not possible to perform color correction only on the specific lightness color of the specific hue as in the case of applying the two-dimensional LUT. . If a three-dimensional LUT is used, the degree of freedom of color correction is high, but it is not suitable for real-time processing because the calculation speed is very high.

また、色相と彩度を組合わせた2次元LUTについても同様に、補正前と補正後のLUTを用いて色補正を行う。   Similarly, for a two-dimensional LUT combining hue and saturation, color correction is performed using the LUT before and after correction.

2次元LUTには、補正したい6色相の補正前の色相Hおよび色相番号と、補正後の色相Hおよび色相番号と、各色相における補正したい6階調の補正前と補正後の階調をそれぞれ記述する。   In the two-dimensional LUT, the hue H and hue number before correction of the six hues to be corrected, the hue H and hue number after correction, and the six gradations before and after correction for each hue are corrected. Describe.

また、上記色相の補間において、H2から遠ざかるに連れて補間密度を低くするように非線形補間をしてもよい。さらに、H0〜H5、V0〜V5までを等間隔に設定してもよく、その場合は、補正後の2次元LUTの記述のみで、明度および彩度間隔幅を内部で保持する。   Further, in the hue interpolation, nonlinear interpolation may be performed so that the interpolation density decreases as the distance from H2 increases. Further, H0 to H5 and V0 to V5 may be set at equal intervals. In that case, the brightness and saturation interval width are held internally only by the description of the corrected two-dimensional LUT.

図2では、色相6ステップ、明度6ステップの例を示したが、ステップ数は6に限らず、演算速度がリアルタイムに対応できる範囲で大きくしても、また小さくしてもよい。   Although FIG. 2 shows an example of 6 steps of hue and 6 steps of lightness, the number of steps is not limited to 6, and may be increased or decreased within a range in which the calculation speed can be handled in real time.

また、2次元LUTの組合わせはこの限りではなく、特定明度における特定彩度、または特定彩度における特定明度の補正を行えるように、明度と彩度を組合わせて作成してもよい。   The combination of the two-dimensional LUTs is not limited to this, and the two-dimensional LUT may be created by combining the lightness and the saturation so that the specific saturation at the specific lightness or the specific lightness at the specific saturation can be corrected.

以上のように、この実施の形態1によれば、2次元LUTを用いて色補正を行うため、演算処理速度を落とさずに色補正精度を向上することができ、回路規模を小さくすることができる。その結果、色補正装置の小型化及び低コスト化を実現することができる。   As described above, according to the first embodiment, since color correction is performed using the two-dimensional LUT, the color correction accuracy can be improved without reducing the calculation processing speed, and the circuit scale can be reduced. it can. As a result, the color correction device can be reduced in size and cost.

実施の形態2.
以下、この発明の実施の形態2について説明する。実施の形態2は、色補正手段12で、1次元LUTと2次元LUTとの組み合わせて色補正する点が実施の形態1と異なる。図3は、実施の形態2における色補正装置の構成の一例を示したものである。画像全体の色を調整するために、色補正手段12は色相H、明度V,彩度Cのうちいずれか1つの変数を補正するための1次元LUTを格納した1次元LUT格納手段15と、残りの2つの変数における2次元LUTを格納した2次元LUT格納手段14を用いて色補正を行う。色補正を行う順番は、1次元LUT補正後に2次元LUT補正しても、2次元LUT補正後に1次元LUT補正を行ってもよい。
Embodiment 2. FIG.
The second embodiment of the present invention will be described below. The second embodiment is different from the first embodiment in that the color correction unit 12 performs color correction by combining a one-dimensional LUT and a two-dimensional LUT. FIG. 3 shows an example of the configuration of the color correction apparatus according to the second embodiment. In order to adjust the color of the entire image, the color correction unit 12 includes a one-dimensional LUT storage unit 15 that stores a one-dimensional LUT for correcting any one of the hue H, lightness V, and saturation C. Color correction is performed using the two-dimensional LUT storage unit 14 that stores the two-dimensional LUTs in the remaining two variables. The order of color correction may be two-dimensional LUT correction after one-dimensional LUT correction or one-dimensional LUT correction after two-dimensional LUT correction.

以上のように、この実施の形態2によれば、2次元LUTと1次元LUTを組合わせHVC変数の全てに色補正を行うため、補正の精度を向上できる。   As described above, according to the second embodiment, since the two-dimensional LUT and the one-dimensional LUT are combined to perform color correction on all of the HVC variables, the correction accuracy can be improved.

実施の形態3.
以下、この発明の実施の形態3について説明する。実施の形態3は、入力画像のモード、例えば夜景、人物、スポーツ、又は撮像装置の一機能として彩度アップモードがある場合、その彩度アップモード夫々に適した2次元LUTを作成できる点が実施の形態1と異なる。
図4は、実施の形態3における色補正装置の構成の一例を示す図である。2次元LUT設定手段16は、2次元LUT格納手段14に予め記憶されている数種類のLUTの中から入力画像のモード信号6に応じたLUTを選択し、2次元LUT設定手段16内のレジスタに設定し、色補正手段12の参照に供する
Embodiment 3 FIG.
The third embodiment of the present invention will be described below. In the third embodiment, when there is a saturation up mode as a function of an input image, for example, a night view, a person, a sport, or an imaging device, a two-dimensional LUT suitable for each of the saturation up modes can be created. Different from the first embodiment.
FIG. 4 is a diagram illustrating an example of the configuration of the color correction apparatus according to the third embodiment. The two-dimensional LUT setting unit 16 selects an LUT corresponding to the mode signal 6 of the input image from several types of LUTs stored in advance in the two-dimensional LUT storage unit 14 and stores it in a register in the two-dimensional LUT setting unit 16. Set and use for color correction means 12 reference

次に、2次元LUT設定手段16の動作について説明する。例えば、デジタルカメラや携帯電話などの撮像装置の機能として、彩度アップモードというものがある場合、2次元LUT格納手段14に予め記憶されている複数のLUTの中からユーザが設定した彩度アップモード用のLUTを選択し、2次元LUT設定手段16内のレジスタに設定する。色補正手段12が2次元LUT設定手段16内のこの彩度アップモード用のLUTを基に色補正を施すことにより彩度アップした画像が作成される。このとき、彩度アップモードは、撮影中に撮像装置が自動的にモード信号6を2次元LUT設定手段16に送信するようにしてもよい。また、設定モードは、彩度アップに限らず、夜景や霧雨時の風景、人物、スポーツなどの様々なモードに対応できるものとする。   Next, the operation of the two-dimensional LUT setting unit 16 will be described. For example, when there is a function called “saturation enhancement mode” as a function of an imaging apparatus such as a digital camera or a mobile phone, the saturation enhancement set by the user from a plurality of LUTs stored in advance in the two-dimensional LUT storage means 14 The mode LUT is selected and set in the register in the two-dimensional LUT setting means 16. The color correction unit 12 performs color correction based on the LUT for the saturation increase mode in the two-dimensional LUT setting unit 16 to create an image with increased saturation. At this time, in the saturation up mode, the imaging apparatus may automatically transmit the mode signal 6 to the two-dimensional LUT setting unit 16 during photographing. In addition, the setting mode is not limited to increasing the saturation, and can correspond to various modes such as a night view, a landscape during drizzle, a person, and sports.

以上のように、この実施の形態3によれば、予め記憶されている複数の2次元LUTから、入力画像のモードに応じた2次元LUTを選択し、2次元LUT設定手段に設定するため、ユーザが好みの色に色補正したり、撮影の状況に応じた色補正が簡単にできる効果がある。   As described above, according to the third embodiment, in order to select a two-dimensional LUT corresponding to the mode of the input image from a plurality of two-dimensional LUTs stored in advance, and to set the two-dimensional LUT setting means, There is an effect that the user can easily perform color correction to a favorite color or color correction according to a shooting situation.

実施の形態4.
以下、この発明の実施の形態4について説明する。実施の形態4は、色補正手段12で、特定明度の特定色相のみを補正できる点が実施の形態1と異なる。図5にこの実施の形態4における2次元LUTの構成図を示す。この図は図2と同様に、色相と明度の組合わせによる2次元LUTの例を示す。2次元LUTには、補正前と補正後の、色相、色相番号、明度の他に、明度階調に応じた色相の補正量の記述を追加する。この記述に基づき実施の形態1と同様に格子点の補間を行う。補間は、線形でも非線形でもよい。また、ここでは色相と明度の組合わせについて説明したが、色相と彩度の組合わせの場合も同様に、彩度の階調に応じた色相の補正量の記述を追加し、補間を行う。
Embodiment 4 FIG.
The fourth embodiment of the present invention will be described below. The fourth embodiment is different from the first embodiment in that the color correcting unit 12 can correct only a specific hue of a specific brightness. FIG. 5 shows a configuration diagram of the two-dimensional LUT in the fourth embodiment. This figure shows an example of a two-dimensional LUT by a combination of hue and lightness as in FIG. In addition to the hue, hue number, and brightness before and after correction, a description of the hue correction amount according to the brightness gradation is added to the two-dimensional LUT. Based on this description, lattice points are interpolated as in the first embodiment. The interpolation may be linear or non-linear. Also, the combination of hue and lightness has been described here, but in the case of the combination of hue and saturation as well, a description of the hue correction amount corresponding to the gradation of saturation is added and interpolation is performed.

以上のように、この実施の形態4によれば、明度階調また彩度の階調に応じた色相の補正量を2次元LTUに記述すれば、特定明度の特定色相の色、または特定彩度の特定色相の色を補正できる。   As described above, according to the fourth embodiment, if the hue correction amount corresponding to the lightness gradation or the saturation gradation is described in the two-dimensional LTU, the color of the specific hue of the specific lightness or the specific saturation is described. The color of a specific hue can be corrected.

以上のように、この実施の形態4によれば、色相H、明度Vおよび彩度Cのうち少なくとも2つの変数を組合わせた2次元LUTが、前記2つの変数のうちどちらか一方を基準として残りの変数を色補正する機能を備えるため、特定明度の特定色相の色、または特定彩度の特定色相の色を補正できる効果がある。   As described above, according to the fourth embodiment, a two-dimensional LUT combining at least two variables of hue H, lightness V, and saturation C is based on one of the two variables. Since the function of correcting the color of the remaining variables is provided, there is an effect that the color of the specific hue with the specific brightness or the color of the specific hue with the specific saturation can be corrected.

実施の形態5.
以下、この発明の実施の形態5について説明する。実施の形態5は、第二の画像信号変換手段13の後に色域圧縮手段17を施す点が、実施の形態1と異なる。図6は、実施の形態5の色補正装置の構成の一例を示したものである。この実施の形態は色域圧縮手段17により第二の画像信号変換手段13が出力用の画像信号(第二の画像信号)に変換した色のうち、基準の色再現域の外側となる色を色再現域内の色に変換する処理を行う。
Embodiment 5. FIG.
The fifth embodiment of the present invention will be described below. The fifth embodiment is different from the first embodiment in that a color gamut compression unit 17 is provided after the second image signal conversion unit 13. FIG. 6 shows an example of the configuration of the color correction apparatus according to the fifth embodiment. In this embodiment, out of the colors converted by the second image signal conversion unit 13 into the output image signal (second image signal) by the color gamut compression unit 17, colors outside the standard color gamut are selected. Performs conversion to a color within the color gamut.

次に色域圧縮手段17の動作について説明する。色補正手段12で演算、色補正された色相H’、明度V’、彩度C’から第二の画像信号変換手段13が第二の画像信号変換処理を施し、R’G’B’の画像信号を得る。ここでR’G’B’の画像信号のうちいずれか第二の画像信号のビット最大値または負の値をもつ色のみをLUTを用いて色域圧縮する。R’G’B’ の画像信号のうちの最大値と第二の画像信号のビット最大値との差分、または、R’G’B’ の画像信号のうちの最小値と0との差分のうち大きい方を基準としてLUTを参照し圧縮する比率を求める。この圧縮比率をR’G’B’ の画像信号に乗算してR’’G’’B’’ の画像信号とし、色域圧縮後の色として出力する。   Next, the operation of the color gamut compression means 17 will be described. The second image signal conversion means 13 performs the second image signal conversion processing from the hue H ′, lightness V ′, and saturation C ′ calculated and color-corrected by the color correction means 12, and R′G′B ′. An image signal is obtained. Here, among the R′G′B ′ image signals, only the color having the bit maximum value or the negative value of any of the second image signals is subjected to color gamut compression using the LUT. The difference between the maximum value of the R′G′B ′ image signal and the maximum bit value of the second image signal, or the difference between the minimum value of the R′G′B ′ image signal and 0 The ratio of compression is obtained by referring to the LUT based on the larger one. The compression ratio is multiplied by the R′G′B ′ image signal to obtain an R ″ G ″ B ″ image signal, which is output as a color after color gamut compression.

前記基準の色再現域とは、出力画像信号5における色再現域、またはsRGBなどの標準色空間でもよい。   The reference color gamut may be a color gamut in the output image signal 5 or a standard color space such as sRGB.

以上のように、この実施の形態5によれば、前記色補正後の色のうち、所定の色再現域の外側となる色がある場合に、色再現域内に色域圧縮処理を施す色域圧縮手段を備えるため、色の階調性を保持でき、高彩度、高明度、低明度側の再現性を向上する効果がある。   As described above, according to the fifth embodiment, when there is a color outside the predetermined color reproduction gamut among the colors after the color correction, the color gamut to be subjected to the color gamut compression processing in the color reproduction gamut. Since the compression means is provided, color gradation can be maintained, and there is an effect of improving reproducibility on the side of high saturation, high brightness, and low brightness.

実施の形態6.
以下、この発明の実施の形態6について説明する。実施の形態6は、色補正手段12の色補正処理の後に色域圧縮手段17による色域圧縮処理を施す点が、実施の形態5と異なる。図7は、実施の形態6の色補正装置の構成の一例を示したものである。色域圧縮手段17は色補正手段12で色補正した色のうち、基準の色再現域の外側となる色を色再現域内の色に変換処理する手段である。
Embodiment 6 FIG.
The sixth embodiment of the present invention will be described below. Embodiment 6 differs from Embodiment 5 in that color gamut compression processing by color gamut compression means 17 is performed after color correction processing by color correction means 12. FIG. 7 shows an example of the configuration of the color correction apparatus according to the sixth embodiment. The color gamut compression means 17 is a means for converting a color outside the reference color reproduction gamut out of the colors corrected by the color correction means 12 into a color within the color reproduction gamut.

次に色域圧縮手段17の動作について説明する。色補正手段12で演算され、色補正された、明度V’、彩度C’のうちいずれかが、第二の画像信号のビット最大値または、明度V’、彩度C’の取りうる最大の値より大きいか、負の値をもつ色のみをLUTを用いて色域圧縮する。明度V’、彩度C’のうちの最大値と、第二の画像信号のビット最大値または明度V’、彩度C’の取りうる最大の値との差分、または明度V’、彩度C’のうちの最小値と0との差分のうち大きい方を基準としてLUTを参照し圧縮する比率を求める。この圧縮比率を明度V’、彩度C’に乗算して明度V’’、彩度C’’とし、色域圧縮後の色として出力する。色域圧縮方法はこの限りではなく、他の色域圧縮方法と組合せてもよい。   Next, the operation of the color gamut compression means 17 will be described. One of the lightness V ′ and saturation C ′ calculated and color-corrected by the color correction means 12 is the maximum bit value of the second image signal, or the maximum possible brightness V ′ and saturation C ′. Only a color having a value larger than or negative with the LUT is subjected to color gamut compression using the LUT. The difference between the maximum value of lightness V ′ and saturation C ′ and the maximum bit value of the second image signal or the maximum value that lightness V ′ and saturation C ′ can take, or lightness V ′ and saturation The compression ratio is obtained by referring to the LUT with the larger of the differences between the minimum value of C ′ and 0 as a reference. By multiplying the compression ratio by the lightness V ′ and the saturation C ′, the lightness V ″ and the saturation C ″ are obtained and output as a color after color gamut compression. The color gamut compression method is not limited to this, and may be combined with other color gamut compression methods.

以上のように、この実施の形態6によれば、前記色補正後の色のうち、所定の色再現域の外側となる色がある場合に、色再現域内に色域圧縮処理を施す色域圧縮手段を備えるため、色の階調性を保持でき、高彩度、高明度、低明度側の再現性を向上する効果がある。   As described above, according to the sixth embodiment, when there is a color outside the predetermined color reproduction gamut among the colors after the color correction, the color gamut to be subjected to the color gamut compression processing in the color reproduction gamut. Since the compression means is provided, color gradation can be maintained, and there is an effect of improving reproducibility on the side of high saturation, high brightness, and low brightness.

この発明は、カラー画像の色調整をその機能の一部として含むデジタルカラー複写機、プリンタ、カラーデイスプレイ等、特に携帯電話機やDSC(Digital Steal Camera)等小型機器の色調整機能への適用に好適である。   INDUSTRIAL APPLICABILITY This invention is suitable for application to a color adjustment function of a small-sized device such as a digital color copying machine, a printer, a color display, etc. including color adjustment of a color image as a part of its function, particularly a mobile phone or a DSC (Digital Steal Camera). It is.

この発明の実施の形態1による色補正装置の構成を示す図である。It is a figure which shows the structure of the color correction apparatus by Embodiment 1 of this invention. この発明の実施の形態1による2次元LUTの構成図である。It is a block diagram of the two-dimensional LUT by Embodiment 1 of this invention. この発明の実施の形態2による色補正装置の構成を示す図である。It is a figure which shows the structure of the color correction apparatus by Embodiment 2 of this invention. この発明の実施の形態3による色補正装置の構成を示す図である。It is a figure which shows the structure of the color correction apparatus by Embodiment 3 of this invention. この発明の実施の形態4による2次元LUTの構成図である。It is a block diagram of the two-dimensional LUT by Embodiment 4 of this invention. この発明の実施の形態5による色補正装置の構成を示す図である。It is a figure which shows the structure of the color correction apparatus by Embodiment 5 of this invention. この発明の実施の形態6による色補正装置の構成を示す図である。It is a figure which shows the structure of the color correction apparatus by Embodiment 6 of this invention.

符号の説明Explanation of symbols

11;第一の画像信号変換手段、12;色補正手段、13;第二の画像信号変換手段、 14;2次元LUT格納手段、15;1次元LUT格納手段、16;2次元LUT設定手段、17;色域圧縮手段。 11; First image signal conversion means, 12; Color correction means, 13; Second image signal conversion means, 14; Two-dimensional LUT storage means, 15; One-dimensional LUT storage means, 16; Two-dimensional LUT setting means, 17: Color gamut compression means.

Claims (6)

入力画像信号を、所定の式を用いて色相H、明度Vおよび彩度Cの各変数に変換する第一の画像信号変換手段と、
色相H、明度V、および彩度Cのうちの2つの変数を組合せた色補正用の2次元LUT(Look Up Table)が格納された2次元LUT格納手段と
入力画像信号が変換された色相H、明度Vおよび彩度Cの変数を2次元LUT格納手段の2次元LUTを基に色補正する色補正手段と、
色補正後の色相H’、明度V’、彩度C’に対して第二の所定の式を用いて出力画像信号を生成する第二の画像信号変換手段とを備えたことを特徴とする色補正装置。
First image signal conversion means for converting an input image signal into variables of hue H, lightness V, and saturation C using a predetermined formula;
Two-dimensional LUT storage means storing a two-dimensional LUT (Look Up Table) for color correction combining two variables of hue H, lightness V, and saturation C, and hue H obtained by converting the input image signal Color correction means for correcting the lightness V and saturation C variables based on the two-dimensional LUT of the two-dimensional LUT storage means;
And second image signal conversion means for generating an output image signal using a second predetermined expression for hue H ′, lightness V ′, and saturation C ′ after color correction. Color correction device.
前記色補正手段は色相H、明度V,彩度Cのうちいずれか1つの変数を補正するための1次元LUTを基にする色補正と他の2つの変数を補正するための2次元LUTを基にする色補正とを組み合わせて色補正することを特徴とする請求項1記載の色補正装置。   The color correction means includes a color correction based on a one-dimensional LUT for correcting any one of hue H, lightness V, and saturation C and a two-dimensional LUT for correcting the other two variables. 2. The color correction apparatus according to claim 1, wherein color correction is performed in combination with color correction based on the color correction. 前記2次元LUT格納手段に予め記憶されている複数の2次元LUTから、入力画像信号モードに応じた2次元LUTを選択し設定する2次元LUT設定手段を備え、色補正手段は2次元LUT設定手段で選択された2次元LUTを基に色補正することを特徴とする請求項1または請求項2記載の色補正装置。   A two-dimensional LUT setting unit for selecting and setting a two-dimensional LUT corresponding to an input image signal mode from a plurality of two-dimensional LUTs stored in advance in the two-dimensional LUT storing unit; 3. The color correction apparatus according to claim 1, wherein color correction is performed based on the two-dimensional LUT selected by the means. 前記色相H、明度Vおよび彩度Cのうち少なくとも2つの変数を組合せた2次元LUTが、前記2つの変数のうちどちらか一方を基準として他の変数を色補正するテーブルとされた請求項1から請求項3のうちのいずれか1項記載の色補正装置。   The two-dimensional LUT in which at least two variables of the hue H, lightness V, and saturation C are combined is a table that corrects the color of the other variables based on one of the two variables. The color correction apparatus according to claim 1. 前記色補正手段による色補正の結果、所定の色再現域の外側となる色がある場合に、その色を色再現域内に変換する色域圧縮手段を備えることを特徴とする請求項1から請求項4のうちのいずれか1項記載の色補正装置。   The color gamut compression means for converting the color into the color gamut when there is a color outside the predetermined color gamut as a result of the color correction by the color correction means. Item 5. The color correction device according to any one of Items 4 to 4. 入力画像信号を、所定の式を用いて色相H、明度Vおよび彩度Cの各変数に変換する第一の画像信号変換工程と、
色相H、明度V、および彩度Cのうち2つの変数を組合せた色補正用の2次元LUT(Look Up Table)を基に入力画像信号が変換された色相H、明度Vおよび彩度Cの何れかを色補正する色補正工程と、
色補正後の色相H’、明度V’、彩度C’に対して第二の所定の式を用いて出力画像を生成する第二の画像信号変換工程とを備えたことを特徴とする色補正方法。
A first image signal conversion step of converting an input image signal into hue H, brightness V, and saturation C variables using a predetermined formula;
The hue H, lightness V, and saturation C of the input image signal converted based on a two-dimensional LUT (Look Up Table) for color correction combining two variables of hue H, lightness V, and saturation C. A color correction process for correcting any of the colors;
And a second image signal conversion step of generating an output image using a second predetermined formula for hue H ′, lightness V ′, and saturation C ′ after color correction. Correction method.
JP2005200409A 2005-07-08 2005-07-08 Device and method for color correction Pending JP2007019970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005200409A JP2007019970A (en) 2005-07-08 2005-07-08 Device and method for color correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005200409A JP2007019970A (en) 2005-07-08 2005-07-08 Device and method for color correction

Publications (1)

Publication Number Publication Date
JP2007019970A true JP2007019970A (en) 2007-01-25

Family

ID=37756710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005200409A Pending JP2007019970A (en) 2005-07-08 2005-07-08 Device and method for color correction

Country Status (1)

Country Link
JP (1) JP2007019970A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010015001A (en) * 2008-07-04 2010-01-21 Sharp Corp Image signal conversion device, image display and image signal conversion method
KR20120018586A (en) * 2010-08-23 2012-03-05 엘지디스플레이 주식회사 Display device
JP2012065089A (en) * 2010-09-15 2012-03-29 Mitsubishi Electric Corp Color correction device and display device
US8212836B2 (en) 2008-02-15 2012-07-03 Panasonic Corporation Color management module, color management apparatus, integrated circuit, display unit, and method of color management
JP2014072855A (en) * 2012-10-01 2014-04-21 Toshiba Corp Image display apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04334267A (en) * 1991-05-10 1992-11-20 Fuji Xerox Co Ltd Color correction system in color picture output device
JP2003061109A (en) * 2001-08-22 2003-02-28 Fuji Film Microdevices Co Ltd Color image signal processing method and color image signal processing apparatus using the same
JP2003219191A (en) * 2002-01-21 2003-07-31 Sharp Corp Image processor and image forming apparatus comprising it
JP2003348365A (en) * 2002-05-30 2003-12-05 Matsushita Electric Ind Co Ltd Apparatus and method for color conversion
JP2004215222A (en) * 2002-12-20 2004-07-29 Fuji Xerox Co Ltd Color transform processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04334267A (en) * 1991-05-10 1992-11-20 Fuji Xerox Co Ltd Color correction system in color picture output device
JP2003061109A (en) * 2001-08-22 2003-02-28 Fuji Film Microdevices Co Ltd Color image signal processing method and color image signal processing apparatus using the same
JP2003219191A (en) * 2002-01-21 2003-07-31 Sharp Corp Image processor and image forming apparatus comprising it
JP2003348365A (en) * 2002-05-30 2003-12-05 Matsushita Electric Ind Co Ltd Apparatus and method for color conversion
JP2004215222A (en) * 2002-12-20 2004-07-29 Fuji Xerox Co Ltd Color transform processing device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8212836B2 (en) 2008-02-15 2012-07-03 Panasonic Corporation Color management module, color management apparatus, integrated circuit, display unit, and method of color management
JP2010015001A (en) * 2008-07-04 2010-01-21 Sharp Corp Image signal conversion device, image display and image signal conversion method
KR20120018586A (en) * 2010-08-23 2012-03-05 엘지디스플레이 주식회사 Display device
KR101695027B1 (en) 2010-08-23 2017-01-10 엘지디스플레이 주식회사 Display Device
JP2012065089A (en) * 2010-09-15 2012-03-29 Mitsubishi Electric Corp Color correction device and display device
JP2014072855A (en) * 2012-10-01 2014-04-21 Toshiba Corp Image display apparatus

Similar Documents

Publication Publication Date Title
JP5481021B2 (en) Heterogeneous color gamut mapping method and apparatus
US9142187B2 (en) Semiconductor device, image processing system, and program
JP4495126B2 (en) Apparatus and method for adjusting specific color attributes
US9386189B2 (en) Device for converting color gamut and method thereof
KR101348369B1 (en) Color conversion method and apparatus for display device
US20090060326A1 (en) Image processing apparatus and method
JPWO2005048583A1 (en) Color correction apparatus and color correction method
US8731288B2 (en) Image processing techniques for color correction
JP2004356930A (en) Apparatus and method for adjusting color
KR100843088B1 (en) Apparatus and method for outputting wide color gamut space image
JP2006229925A (en) Dynamic image saturation enhancement apparatus
JP2005295405A (en) Color converting method and image processing apparatus
JP2004252620A (en) Image processing device and method, and program
JP2007215216A (en) Monotonization processing of color image
US9916811B2 (en) Color conversion data generation device, color conversion data generation method, and display device
JP2007019970A (en) Device and method for color correction
JP4001079B2 (en) Monotone processing of color image
US20130093915A1 (en) Multi-Illuminant Color Matrix Representation and Interpolation Based on Estimated White Points
JP2001211339A (en) Method and device for image processing and recording medium
JP5521934B2 (en) Color correction apparatus and display device
JP2008042711A (en) Color converter, color converting method, color conversion program, color conversion coefficient creating apparatus, color conversion coefficient creating method, and color conversion coefficient creation program
JP4007964B2 (en) Image processing apparatus, image processing method, and image processing program
JP2003244458A (en) Image display device and color conversion method
JP4633806B2 (en) Color correction techniques for color profiles
JP4069860B2 (en) Color conversion apparatus and color conversion method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080516

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100105

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100622