JP2009017222A - Color adjustment apparatus, color adjustment method, and integrated circuit of color adjustment apparatus - Google Patents

Color adjustment apparatus, color adjustment method, and integrated circuit of color adjustment apparatus Download PDF

Info

Publication number
JP2009017222A
JP2009017222A JP2007176538A JP2007176538A JP2009017222A JP 2009017222 A JP2009017222 A JP 2009017222A JP 2007176538 A JP2007176538 A JP 2007176538A JP 2007176538 A JP2007176538 A JP 2007176538A JP 2009017222 A JP2009017222 A JP 2009017222A
Authority
JP
Japan
Prior art keywords
color
signal
difference
saturation
maximum value
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.)
Withdrawn
Application number
JP2007176538A
Other languages
Japanese (ja)
Inventor
Yoshiki Izumi
芳規 和泉
Akihiro Yoshizawa
昭浩 吉澤
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.)
Panasonic Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2007176538A priority Critical patent/JP2009017222A/en
Publication of JP2009017222A publication Critical patent/JP2009017222A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a color adjustment apparatus, a color adjustment method, and an integrated circuit of the color adjustment apparatus which reduces noise generated in a saturation signal S, and performs more delicate color adjustment when an image signal has a low luminance like monochrome. <P>SOLUTION: The color adjustment apparatus is provided with: a color space conversion unit 1 which converts a color signal into three signals of a hue signal, a saturation signal, and a lightness signal; a saturation correction unit 2 which corrects the saturation signal output from the color space conversion unit 1. The saturation correction unit 2 includes a detection unit 3 which detects the maximum value and the minimum value of the color signal, a discrimination unit 4 which discriminates an operation method based on a difference of the maximum value and the minimum value of the color signal detected by the detection unit 3, and an operation unit 5 which corrects the saturation signal based on the operation method discriminated by the discrimination unit 4. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、RGB−HSV変換後にカラー画像信号に対して色調整を行う色調整装置、色調整方法および色調整装置の集積回路に関する。   The present invention relates to a color adjustment device that performs color adjustment on a color image signal after RGB-HSV conversion, a color adjustment method, and an integrated circuit of the color adjustment device.

モニター等の表示装置において、入力された色信号を表示する際、使用条件等に合わせて所望の色再現性を持つ画像出力にするために、色調整処理が行われている。色調整処理を行う際、色相、彩度、明度の3つの属性で表されるHSV色空間は、人間が色を知覚する方法と類似しているため、色調整しやすく、広く利用されている。これは、入力データである色信号のRGB色空間を色相、彩度、明度で表されるHSV色空間に変換し、HSV色空間上で色調整処理を行った後、元のRGB色空間に逆変換することで実現される。   When displaying an input color signal in a display device such as a monitor, color adjustment processing is performed in order to obtain an image output having a desired color reproducibility in accordance with usage conditions and the like. When performing color adjustment processing, the HSV color space represented by the three attributes of hue, saturation, and brightness is similar to the method of human perception of color, so that color adjustment is easy and widely used. . This is because the RGB color space of the color signal that is the input data is converted into an HSV color space represented by hue, saturation, and lightness, color adjustment processing is performed on the HSV color space, and then the original RGB color space is restored. This is realized by inverse transformation.

HSV色空間の表現方法として、円柱モデルと円錐モデルがある。円錐モデルは、円柱モデルに比べて色空間が小さくなるため、よりきめ細かい色調整には不向きである。特許文献1に記載の色調整装置は、円柱モデルのRGB−HSV色空間変換式を用いて、入力データとなる色信号を色相、彩度、明度に変換し、色相、彩度、明度それぞれによって他の出力を調整している。   There are a cylindrical model and a cone model as a representation method of the HSV color space. The cone model has a smaller color space than the cylindrical model, and is not suitable for finer color adjustment. The color adjustment device described in Patent Document 1 converts a color signal serving as input data into hue, saturation, and brightness using an RGB-HSV color space conversion formula of a cylindrical model, and the hue, saturation, and brightness respectively. Other output is adjusted.

特開2003−250058号公報JP 2003-250058 A

特許文献1に記載の色調整装置は、周知技術であるRGB−HSV色空間変換式を用いて、色空間の変換を実行する。入力データである色信号R、G、Bの最大値をMAX、最小値をMINとすると、彩度信号Sは次式により求められる。   The color adjustment apparatus described in Patent Document 1 performs color space conversion using an RGB-HSV color space conversion formula that is a well-known technique. When the maximum value of the color signals R, G, and B as input data is MAX and the minimum value is MIN, the saturation signal S is obtained by the following equation.

Figure 2009017222
Figure 2009017222

色信号R、G、Bの信号レベルはそれぞれ0〜255の値をとり、彩度信号Sの信号レベルは0〜1の値をとる。例えば、式(1)より彩度信号Sは表1のように変化する。   The signal levels of the color signals R, G, and B each take a value of 0 to 255, and the signal level of the saturation signal S takes a value of 0 to 1. For example, the saturation signal S changes as shown in Table 1 from Equation (1).

Figure 2009017222
Figure 2009017222

このように、円柱モデルにおいては、低輝度のモノクロに近い画像信号の場合、彩度信号Sが1と0を繰り返す現象が発生する。低輝度とは、色信号R、G、Bのすべての信号レベルが小さい場合をいう。この現象により、彩度信号Sには低輝度のモノクロに近い部分に強調されたノイズが発生するという問題があった。   As described above, in the cylindrical model, a phenomenon in which the saturation signal S repeats 1 and 0 occurs in the case of an image signal close to monochrome with low luminance. Low luminance means a case where all signal levels of the color signals R, G, and B are small. Due to this phenomenon, the saturation signal S has a problem that noise is emphasized in a portion close to low luminance monochrome.

本発明は、前記課題を解決するもので、低輝度のモノクロに近い画像信号の場合に、彩度信号Sに発生するノイズを低減でき、よりきめ細やかな色調整をすることができる色調整装置を提供することを目的とする。   The present invention solves the above-described problems, and can reduce noise generated in the saturation signal S in the case of a low-brightness monochrome image signal, thereby enabling finer color adjustment. The purpose is to provide.

本発明に係る色調整装置は、色信号を、色相信号、彩度信号、明度信号の3つの信号に変換する色空間変換部と、色空間変換部から出力される彩度信号を補正する彩度補正部とを備え、彩度補正部は、色信号の最大値及び最小値を検出する検出部と、検出部により検出された色信号の最大値と最小値の差に基づいて演算方法を判定する判定部と、判定部により判定された演算方法に基づいて彩度信号を補正演算する演算部とを含む。   The color adjustment device according to the present invention includes a color space conversion unit that converts a color signal into three signals of a hue signal, a saturation signal, and a brightness signal, and a saturation that corrects the saturation signal output from the color space conversion unit. A saturation correction unit, a saturation correction unit that detects a maximum value and a minimum value of the color signal, and a calculation method based on a difference between the maximum value and the minimum value of the color signal detected by the detection unit. A determination unit for determining, and a calculation unit for correcting and calculating the saturation signal based on the calculation method determined by the determination unit.

判定部が、色信号の最大値と最小値の差が第1の所定値以上であると判定したときは、演算部は色空間変換部から出力される彩度信号をそのまま出力し、判定部が、色信号の最大値と最小値の差が第1の所定値未満であると判定したときは、演算部は色信号の最大値と最小値の差に基づいて補正係数を算出し、色空間変換部から出力される彩度信号に補正係数を乗算し、その乗算結果を出力してもよい。   When the determination unit determines that the difference between the maximum value and the minimum value of the color signal is equal to or greater than the first predetermined value, the calculation unit outputs the saturation signal output from the color space conversion unit as it is, and the determination unit However, when it is determined that the difference between the maximum value and the minimum value of the color signal is less than the first predetermined value, the calculation unit calculates a correction coefficient based on the difference between the maximum value and the minimum value of the color signal, The saturation signal output from the space conversion unit may be multiplied by a correction coefficient, and the multiplication result may be output.

判定部が、色信号の最大値と最小値の差が第2の所定値以上第1の所定値未満であると判定したときは、演算部は色信号の最大値と最小値の差に基づいて補正係数を算出し、色空間変換部から出力される彩度信号に補正係数を乗算し、その乗算結果を出力し、判定部が、色信号の最大値と最小値の差が第2の所定値未満であると判定したときは、演算部は0を出力してもよい。   When the determination unit determines that the difference between the maximum value and the minimum value of the color signal is greater than or equal to the second predetermined value and less than the first predetermined value, the calculation unit is based on the difference between the maximum value and the minimum value of the color signal. The correction coefficient is calculated, the saturation signal output from the color space conversion unit is multiplied by the correction coefficient, the multiplication result is output, and the determination unit determines that the difference between the maximum value and the minimum value of the color signal is the second value. When it is determined that the value is less than the predetermined value, the calculation unit may output 0.

本発明に係る色調整方法は、色信号を、色相信号、彩度信号、明度信号の3つの信号に変換する色空間変換ステップと、色信号の最大値及び最小値を検出する検出ステップと、検出ステップにより検出された色信号の最大値と最小値の差に基づいて演算方法を判定する判定ステップと、判定ステップにより判定された演算方法に基づいて、色空間変換ステップにより変換された彩度信号を補正演算する演算ステップとを含む。   The color adjustment method according to the present invention includes a color space conversion step for converting a color signal into three signals of a hue signal, a saturation signal, and a brightness signal, a detection step for detecting the maximum value and the minimum value of the color signal, A determination step for determining a calculation method based on the difference between the maximum value and the minimum value of the color signal detected by the detection step, and the saturation converted by the color space conversion step based on the calculation method determined by the determination step And a calculation step for correcting the signal.

判定ステップにおいて、色信号の最大値と最小値の差が第1の所定値以上であると判定したときは、演算ステップにおいて、色空間変換ステップにより変換された彩度信号をそのまま出力し、判定ステップにおいて、色信号の最大値と最小値の差が第1の所定値未満であると判定したときは、演算ステップにおいて、色信号の最大値と最小値の差に基づいて補正係数を算出し、色空間変換ステップにより変換された彩度信号に補正係数を乗算し、その乗算結果を出力してもよい。   In the determination step, when it is determined that the difference between the maximum value and the minimum value of the color signal is equal to or greater than the first predetermined value, the saturation signal converted by the color space conversion step is output as it is in the calculation step, and the determination is performed. In the step, when it is determined that the difference between the maximum value and the minimum value of the color signal is less than the first predetermined value, the correction coefficient is calculated based on the difference between the maximum value and the minimum value of the color signal in the calculation step. The saturation signal converted by the color space conversion step may be multiplied by a correction coefficient, and the multiplication result may be output.

判定ステップにおいて、色信号の最大値と最小値の差が第2の所定値以上第1の所定値未満であると判定したときは、演算ステップにおいて、色信号の最大値と最小値の差に基づいて補正係数を算出し、色空間変換ステップにより変換された彩度信号に補正係数を乗算し、その乗算結果を出力し、判定ステップにおいて、色信号の最大値と最小値の差が第2の所定値未満であると判定したときは、演算ステップにおいて、0を出力してもよい。   In the determination step, when it is determined that the difference between the maximum value and the minimum value of the color signal is greater than or equal to the second predetermined value and less than the first predetermined value, the difference between the maximum value and the minimum value of the color signal is calculated in the calculation step. A correction coefficient is calculated based on the saturation signal, and the saturation signal converted by the color space conversion step is multiplied by the correction coefficient, and the multiplication result is output. In the determination step, the difference between the maximum value and the minimum value of the color signal is the second value. If it is determined that the value is less than the predetermined value, 0 may be output in the calculation step.

本発明に係る集積回路は、上記色調整装置を備える。   An integrated circuit according to the present invention includes the color adjusting device.

本発明の色調整装置によれば、低輝度のモノクロに近い画像信号の場合に、彩度信号Sに発生するノイズを低減でき、よりきめ細やかな色調整をすることができる。   According to the color adjustment apparatus of the present invention, noise generated in the saturation signal S can be reduced and finer color adjustment can be performed in the case of an image signal close to monochrome with low luminance.

以下に、本発明の実施の形態について、図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the drawings.

実施の形態1
本発明に係る色調整装置は、HSV色空間における円柱モデルを修正して新たに作り出した円柱円錐モデルを利用するものである。まず、円柱モデルを説明し、その後円柱円錐モデルを説明する。
[円柱モデル]
本実施の形態の色調整装置は一部円柱モデルを採用するので、以下円柱モデルについて説明する。図1(a)はHSV色空間における円柱モデルの斜視図であり、図1(b)は図1(a)の縦断面図である。色相Hoは円状の外周に沿って変化し、彩度Soは円の中心からの距離に伴って変化し、明度Voは底面から上に向かって変化する。円柱モデルは、中程度の明度の画像信号において、色が鮮やかであり且つ画像がくっきり見えるため、画像再現性が良いという特徴を有する。
[色調整装置の構成]
図2は、本発明の実施の形態1による色調整装置の構成を示すブロック図である。本実施の形態の色調整装置は、入力データである色信号R、G、Bを、円柱モデルの色相信号Ho、彩度信号So、明度信号Voに変換する色空間変換部1を備える。色空間変換部1において、色信号R、G、Bの最大値をMAX、最小値をMINとすると、色相信号Ho、彩度信号So、明度信号Voはそれぞれ次式により求められる。
Embodiment 1
The color adjustment apparatus according to the present invention uses a cylindrical cone model newly created by correcting a cylindrical model in the HSV color space. First, the cylindrical model will be described, and then the cylindrical cone model will be described.
[Cylinder model]
Since the color adjustment apparatus according to the present embodiment adopts a partial cylindrical model, the cylindrical model will be described below. FIG. 1A is a perspective view of a cylindrical model in the HSV color space, and FIG. 1B is a longitudinal sectional view of FIG. The hue Ho changes along the outer circumference of the circle, the saturation So changes with the distance from the center of the circle, and the lightness Vo changes from the bottom to the top. The cylindrical model has a feature that the image reproducibility is good because the image is bright and the image can be clearly seen in the image signal of medium brightness.
[Configuration of Color Adjustment Device]
FIG. 2 is a block diagram showing the configuration of the color adjustment apparatus according to Embodiment 1 of the present invention. The color adjustment apparatus according to the present embodiment includes a color space conversion unit 1 that converts color signals R, G, and B, which are input data, into a hue signal Ho, a saturation signal So, and a lightness signal Vo of a cylindrical model. In the color space conversion unit 1, when the maximum value of the color signals R, G, and B is MAX and the minimum value is MIN, the hue signal Ho, the saturation signal So, and the lightness signal Vo are obtained by the following equations, respectively.

Figure 2009017222
Figure 2009017222
Figure 2009017222
Figure 2009017222
Figure 2009017222
Figure 2009017222

本実施の形態の色調整装置は、さらに色空間変換部1から出力される彩度信号Soを補正する彩度補正部2を備える。彩度補正部2は、入力データとなる色信号R、G、Bの最大値MAX及び最小値MINを検出する検出部3と、検出部3により検出された色信号R、G、Bの最大値MAXと最小値MINの差Dに基づいて演算パターンを判定する判定部4と、判定部4により判定された演算パターンに基づいて彩度信号Soを補正演算し、演算結果を補正彩度信号Scとして出力する演算部5とを含む。色信号R、G、Bの最大値MAXと最小値MINの差Dはモノクロ度合いを表す。   The color adjustment apparatus according to the present embodiment further includes a saturation correction unit 2 that corrects the saturation signal So output from the color space conversion unit 1. The saturation correction unit 2 includes a detection unit 3 that detects the maximum value MAX and the minimum value MIN of the color signals R, G, and B serving as input data, and the maximum of the color signals R, G, and B detected by the detection unit 3. A determination unit 4 that determines a calculation pattern based on a difference D between the value MAX and the minimum value MIN; a saturation signal So that is corrected based on the calculation pattern determined by the determination unit 4; and a calculation result that is a corrected saturation signal And an arithmetic unit 5 that outputs as Sc. A difference D between the maximum value MAX and the minimum value MIN of the color signals R, G, B represents the degree of monochrome.

[円柱円錐モデル]
図3は、本発明の実施の形態1の色調整装置による彩度補正処理の概念図である。図3(a)は本実施の形態の円柱円錐モデルの斜視図であり、図3(b)は図3(a)の縦断面図である。色相は円状の外周に沿って変化し、彩度は円の中心からの距離に伴って変化し、明度は図3(b)において下から上に向かって変化する。本実施の形態の色調整装置は、円柱モデルにおいて彩度信号の精度が確保できる領域Aでは円柱モデルを採用し、彩度信号の精度が怪しい領域Bでは円錐モデルの考え方を採用し、彩度信号が不定な領域Cでは彩度信号を0にする。具体的には、モノクロでない領域(領域A)、すなわち色信号R、G、Bの最大値MAXと最小値MINの差Dが第1の所定値以上の領域においては、補正彩度信号Scに円柱モデルを用いて算出した彩度信号Soを設定し、モノクロに近い領域(領域B)、すなわち差Dが第2の所定値以上第1の所定値未満の領域においては、補正彩度信号Scに円錐モデルの考え方を用いて彩度信号Soを減衰させた値を設定し、モノクロ領域(領域C)、すなわち差Dが第2の所定値未満の領域においては、補正彩度信号Scに極小値、例えば0を設定する。第1の所定値は第2の所定値より大きい。
[Cylindrical cone model]
FIG. 3 is a conceptual diagram of saturation correction processing by the color adjusting apparatus according to the first embodiment of the present invention. FIG. 3A is a perspective view of the cylindrical cone model of the present embodiment, and FIG. 3B is a longitudinal sectional view of FIG. The hue changes along the outer circumference of the circle, the saturation changes with the distance from the center of the circle, and the lightness changes from the bottom to the top in FIG. The color adjustment apparatus according to the present embodiment employs a cylindrical model in the region A where the accuracy of the saturation signal can be ensured in the cylindrical model, and adopts the concept of the cone model in the region B where the accuracy of the saturation signal is suspicious. In the region C where the signal is indefinite, the saturation signal is set to zero. Specifically, in a non-monochrome area (area A), that is, an area where the difference D between the maximum value MAX and the minimum value MIN of the color signals R, G, B is equal to or greater than the first predetermined value, the corrected saturation signal Sc The saturation signal So calculated using the cylindrical model is set, and the corrected saturation signal Sc is set in an area close to monochrome (area B), that is, in an area where the difference D is greater than or equal to the second predetermined value and less than the first predetermined value. Is set to a value obtained by attenuating the saturation signal So using the concept of a conical model, and in the monochrome region (region C), that is, the region where the difference D is less than the second predetermined value, the corrected saturation signal Sc is minimal. A value, for example, 0 is set. The first predetermined value is greater than the second predetermined value.

[動作説明]
図4は、本発明の実施の形態1の色調整装置による処理(メインルーチン)を示すフローチャートである。本実施の形態において、色信号R、G、Bの信号レベルはそれぞれ0〜255の値をとる。入力データである色信号R、G、Bが入力される(S1)。色空間変換部1は、円柱モデルの変換式を用いて、色信号R、G、Bを色相信号Ho、彩度信号So、明度信号Voに変換する(S2)。検出部3は、色信号R、G、Bの最大値MAX及び最小値MINを検出する(S3)。判定部4は、検出部3により検出された色信号R、G、Bの最大値MAXと最小値MINの差Dを算出する(S4)。最大値MAXと最小値MINの差Dが第1の所定値以上か否かを判断する(S5)。例えば、第1の所定値は2(=64)である。最大値MAXと最小値MINの差Dが第1の所定値以上のとき(S5でYes)、すなわち領域Aのとき、演算部5は補正彩度信号Scに色空間変換部1から出力された彩度信号Soをそのまま設定し(S6)、補正彩度信号Scを出力する(S7)。
[Description of operation]
FIG. 4 is a flowchart showing processing (main routine) by the color adjusting apparatus according to the first embodiment of the present invention. In the present embodiment, the signal levels of the color signals R, G, and B each take a value of 0 to 255. Color signals R, G, and B, which are input data, are input (S1). The color space conversion unit 1 converts the color signals R, G, and B into a hue signal Ho, a saturation signal So, and a lightness signal Vo using a cylindrical model conversion formula (S2). The detection unit 3 detects the maximum value MAX and the minimum value MIN of the color signals R, G, B (S3). The determination unit 4 calculates the difference D between the maximum value MAX and the minimum value MIN of the color signals R, G, B detected by the detection unit 3 (S4). It is determined whether or not the difference D between the maximum value MAX and the minimum value MIN is greater than or equal to a first predetermined value (S5). For example, the first predetermined value is 2 6 (= 64). When the difference D between the maximum value MAX and the minimum value MIN is equal to or larger than the first predetermined value (Yes in S5), that is, in the area A, the calculation unit 5 outputs the corrected saturation signal Sc from the color space conversion unit 1. The saturation signal So is set as it is (S6), and the corrected saturation signal Sc is output (S7).

最大値MAXと最小値MINの差Dが第1の所定値未満のとき(S5でNo)、色空間変換部1から出力された彩度信号Soにノイズが発生するため、この彩度信号Soを補正する。最大値MAXと最小値MINの差Dが第2の所定値以上か否かを判断する(S8)。第2の所定値は、第1の所定値より小さく、例えば2(=8)である。最大値MAXと最小値MINの差Dが第2の所定値以上のとき(S8でYes)、すなわち領域Bのとき、演算部5は差Dに応じて彩度信号Soを補正し、補正結果を補正彩度信号Scに設定する(S9)。最大値MAXと最小値MINの差Dが第2の所定値未満のとき(S8でNo)、すなわち領域Cのとき、補正彩度信号Scに0を設定する(S10)。最後に、演算部5は補正彩度信号Scを出力する(S7)。 When the difference D between the maximum value MAX and the minimum value MIN is less than the first predetermined value (No in S5), noise is generated in the saturation signal So output from the color space conversion unit 1, so this saturation signal So Correct. It is determined whether or not the difference D between the maximum value MAX and the minimum value MIN is greater than or equal to a second predetermined value (S8). The second predetermined value is smaller than the first predetermined value, for example, 2 3 (= 8). When the difference D between the maximum value MAX and the minimum value MIN is greater than or equal to the second predetermined value (Yes in S8), that is, in the region B, the calculation unit 5 corrects the saturation signal So according to the difference D, and the correction result Is set to the corrected saturation signal Sc (S9). When the difference D between the maximum value MAX and the minimum value MIN is less than the second predetermined value (No in S8), that is, in the region C, 0 is set to the corrected saturation signal Sc (S10). Finally, the calculation unit 5 outputs the corrected saturation signal Sc (S7).

図5は、図4のステップS9の彩度補正処理(サブルーチン)を示すフローチャートである。演算部5は最大値MAXと最小値MINの差Dを正規化し(S11)、正規化した結果を補正係数Cに設定する(S12)。図6(a)に、本発明の実施の形態1による色調整装置の補正係数Cと最大値MAXと最小値MINの差Dとの関係を示す。正規化とは、図6(a)に示すように、差Dが64のとき補正係数Cを1とし、差Dが8のとき補正係数Cが0となるように、差Dが減少するとともに補正係数Cも減少させることである。具体的には、補正係数Cは次式により表される。   FIG. 5 is a flowchart showing the saturation correction process (subroutine) in step S9 of FIG. The calculation unit 5 normalizes the difference D between the maximum value MAX and the minimum value MIN (S11), and sets the normalized result as the correction coefficient C (S12). FIG. 6A shows the relationship between the correction coefficient C, the maximum value MAX, and the difference D between the minimum values MIN of the color adjustment apparatus according to Embodiment 1 of the present invention. As shown in FIG. 6A, normalization means that the difference D decreases as the correction coefficient C becomes 1 when the difference D is 64 and the correction coefficient C becomes 0 when the difference D is 8. The correction coefficient C is also reduced. Specifically, the correction coefficient C is expressed by the following equation.

Figure 2009017222
Figure 2009017222

色空間変換部1から出力された彩度信号Soに補正係数Cを乗算し(S13)、乗算結果を補正彩度信号Scに設定する(S14)。   The saturation signal So output from the color space conversion unit 1 is multiplied by the correction coefficient C (S13), and the multiplication result is set in the corrected saturation signal Sc (S14).

以下、図6を用いて本実施の形態の色調整装置における彩度補正処理の一例を説明する。図6(b)は、最小値MINが0である場合の、彩度信号Soおよび補正彩度信号Scと最大値MAXと最小値MINの差Dとの関係を示す図である。例えば、差Dが0のときは最大値MAXも0、最小値MINも0であり、差Dが64のときは最大値MAXが64、最小値MINが0である。図6(c)は、最小値MINが1である場合の、彩度信号Soおよび補正彩度信号Scと最大値MAXと最小値MINの差Dとの関係を示す図である。例えば、差Dが0のときは最大値MAXも1、最小値MINも1であり、差Dが64のときは最大値MAXが65、最小値MINが1である。補正彩度信号Scは、彩度信号Soに図6(a)の補正係数Cを乗算した乗算結果である。   Hereinafter, an example of the saturation correction process in the color adjustment apparatus of the present embodiment will be described with reference to FIG. FIG. 6B is a diagram illustrating the relationship between the saturation signal So and the corrected saturation signal Sc, and the difference D between the maximum value MAX and the minimum value MIN when the minimum value MIN is zero. For example, when the difference D is 0, the maximum value MAX is also 0 and the minimum value MIN is 0, and when the difference D is 64, the maximum value MAX is 64 and the minimum value MIN is 0. FIG. 6C is a diagram illustrating the relationship between the saturation signal So and the corrected saturation signal Sc, and the difference D between the maximum value MAX and the minimum value MIN when the minimum value MIN is 1. For example, when the difference D is 0, the maximum value MAX is 1 and the minimum value MIN is 1, and when the difference D is 64, the maximum value MAX is 65 and the minimum value MIN is 1. The corrected saturation signal Sc is a multiplication result obtained by multiplying the saturation signal So by the correction coefficient C of FIG.

円柱モデルにおいて彩度信号の精度が確保できる、差Dが64以上の領域Aにおいて、本実施の形態の色調整装置は、円柱モデルの変換式から算出される彩度信号Soをそのまま補正彩度信号Scとして出力する。モノクロでない画像信号の場合、色空間の広い円柱モデルを用いることにより、よりきめ細かい色調整をすることができる。   In the region A in which the accuracy of the saturation signal can be ensured in the cylinder model and the difference D is 64 or more, the color adjustment apparatus of the present embodiment corrects the saturation signal So calculated from the conversion equation of the cylinder model as it is. Output as signal Sc. In the case of a non-monochrome image signal, finer color adjustment can be performed by using a cylindrical model having a wide color space.

また、円柱モデルにおいて彩度信号の精度が怪しい、差Dが8以上64未満の領域Bにおいて、本実施の形態の色調整装置は、円柱モデルの変換式から算出される彩度信号Soを円錐モデルの考え方を用いて補正し、補正結果を補正彩度信号Scとして出力する。モノクロに近い画像信号の場合、図6(b)、図6(c)に示すように、補正により彩度信号Soを減衰させるため、ノイズが重畳されにくくなる。   Further, in the region B where the accuracy of the saturation signal is suspicious in the cylinder model and the difference D is 8 or more and less than 64, the color adjustment apparatus of the present embodiment applies the saturation signal So calculated from the conversion equation of the cylinder model to the cone. Correction is performed using the concept of the model, and the correction result is output as a corrected saturation signal Sc. In the case of an image signal close to monochrome, as shown in FIGS. 6B and 6C, the saturation signal So is attenuated by correction, so that noise is hardly superimposed.

また、円柱モデルにおいて彩度信号が不定な、差Dが8未満の領域Cにおいて、本実施の形態の色調整装置は、補正彩度信号Scとして0を出力する。これにより、モノクロ画像信号の場合、ノイズが発生しない。   In the region C in which the saturation signal is indefinite in the cylindrical model and the difference D is less than 8, the color adjustment apparatus according to the present embodiment outputs 0 as the corrected saturation signal Sc. Thereby, no noise is generated in the case of a monochrome image signal.

以上のように、本実施の形態の色調整装置は、モノクロに近い画像信号の場合、彩度信号Soを減衰させ、最終的には0に収束させることにより、彩度信号Sに発生するノイズを低減でき、よりきめ細やかな色調整をすることができる。   As described above, in the case of an image signal close to monochrome, the color adjustment apparatus according to the present embodiment attenuates the saturation signal So and finally converges to 0, thereby generating noise in the saturation signal S. Can be reduced, and finer color adjustments can be made.

実施の形態2
実施の形態1による色調整装置は、入力信号を3つ領域に分類し、領域毎の補正方法を用いて彩度信号を補正している。これに対して、本実施の形態による色調整装置は、入力信号を2つの領域に分類し、領域毎の補正方法を用いて彩度信号を補正している。
Embodiment 2
The color adjustment apparatus according to the first embodiment classifies input signals into three regions and corrects the saturation signal using a correction method for each region. In contrast, the color adjustment apparatus according to the present embodiment classifies the input signal into two regions and corrects the saturation signal using a correction method for each region.

本実施の形態の色調整装置の構成は、実施の形態1の色調整装置の構成と同じであるため、説明を省略する。   Since the configuration of the color adjustment apparatus according to the present embodiment is the same as the configuration of the color adjustment apparatus according to the first embodiment, description thereof is omitted.

[動作説明]
図7は、本発明の実施の形態2の色調整装置による処理(メインルーチン)を示すフローチャートである。ステップS1〜ステップS7は、実施の形態1と同様の処理であるため、説明を省略する。ステップS5において、最大値MAXと最小値MINの差Dが第1の所定値である64未満のとき(S5でNo)、色空間変換部1から出力された彩度信号Soにノイズが発生するため、演算部5は彩度信号Soを補正し、補正結果を補正彩度信号Scに設定し(S15)、補正彩度信号Scを出力する(S7)。
[Description of operation]
FIG. 7 is a flowchart showing processing (main routine) by the color adjusting apparatus according to the second embodiment of the present invention. Steps S1 to S7 are the same as those in the first embodiment, and thus the description thereof is omitted. In step S5, when the difference D between the maximum value MAX and the minimum value MIN is less than the first predetermined value 64 (No in S5), noise is generated in the saturation signal So output from the color space conversion unit 1. Therefore, the calculation unit 5 corrects the saturation signal So, sets the correction result to the corrected saturation signal Sc (S15), and outputs the corrected saturation signal Sc (S7).

図8は、図7のステップS15の彩度補正処理(サブルーチン)を示すフローチャートである。演算部5は最大値MAXと最小値MINの差Dを2(=16)段階に正規化し(S16)、正規化した結果を補正係数Cに設定する(S12)。以下の表に、最大値MAXと最小値MINの差Dと補正係数Cとの関係を示す。 FIG. 8 is a flowchart showing the saturation correction process (subroutine) in step S15 of FIG. The calculation unit 5 normalizes the difference D between the maximum value MAX and the minimum value MIN in 2 4 (= 16) stages (S16), and sets the normalized result as the correction coefficient C (S12). The following table shows the relationship between the difference D between the maximum value MAX and the minimum value MIN and the correction coefficient C.

Figure 2009017222
Figure 2009017222

すなわち、最大値MAXと最小値MINの差Dを4で除算したときの商をAとすると、補正係数Cは次式により表される。   That is, assuming that the quotient when the difference D between the maximum value MAX and the minimum value MIN is divided by 4, the correction coefficient C is expressed by the following equation.

Figure 2009017222
Figure 2009017222

ステップS13、ステップS14は、実施の形態1と同様の処理であるため、説明を省略する。表(2)より、最大値MAXと最小値MINの差Dが4未満のとき補正係数Cは0となり、その結果、補正彩度信号Scも0となる。   Steps S13 and S14 are the same processes as those in the first embodiment, and thus description thereof is omitted. From the table (2), when the difference D between the maximum value MAX and the minimum value MIN is less than 4, the correction coefficient C is 0, and as a result, the correction saturation signal Sc is also 0.

上記処理をより具体的に説明する。ステップS4で算出した最大値MAXと最小値MINの差Dを10ビットで表す。上位4ビットを整数部、下位6ビットを小数部とする。整数部を読み出し、整数部に1があるか否かを判断する(S5)。整数部に1が1つでもあるとき、すなわち差Dが2(=64)以上のとき(S5でYes)、小数部を読み出すことなく、ステップS6、7に進む。一方、整数部に1が全くないとき、すなわち差Dが2(=64)未満のとき(S5でNo)、小数部の下位2ビットを切り捨て、残りの上位4ビットを読み出し、小数部の上位4ビットの値(A)を2(=16)段階に正規化(小数化)する(S16)。正規化した結果すなわち小数値を補正係数Cに設定し(S12)、ステップ13、14に進む。 The above process will be described more specifically. The difference D between the maximum value MAX and the minimum value MIN calculated in step S4 is represented by 10 bits. The upper 4 bits are the integer part and the lower 6 bits are the decimal part. The integer part is read, and it is determined whether or not there is 1 in the integer part (S5). When there is even 1 in the integer part, that is, when the difference D is 2 6 (= 64) or more (Yes in S5), the process proceeds to steps S6 and S7 without reading out the decimal part. On the other hand, when there is no 1 in the integer part, that is, when the difference D is less than 2 6 (= 64) (No in S5), the lower 2 bits of the decimal part are rounded down, and the remaining higher 4 bits are read out. The value (A) of the upper 4 bits is normalized (decimated) to 2 4 (= 16) stages (S16). The normalized result, that is, the decimal value is set as the correction coefficient C (S12), and the process proceeds to steps 13 and 14.

以上のように、円柱モデルにおいて彩度信号の精度が確保できる、差Dが64以上の領域Aにおいて、本実施の形態の色調整装置は、実施の形態1と同様に、円柱モデルの変換式から算出される彩度信号Soをそのまま補正彩度信号Scとして出力する。色空間の広い円柱モデルを用いることにより、よりきめ細かい色調整をすることができる。   As described above, in the region A in which the accuracy of the saturation signal can be ensured in the cylindrical model and the difference D is 64 or more, the color adjustment device of the present embodiment is similar to the first embodiment in the conversion formula of the cylindrical model. The saturation signal So calculated from the above is output as the corrected saturation signal Sc as it is. By using a cylindrical model with a wide color space, finer color adjustment can be performed.

また、円柱モデルにおいて彩度信号の精度が怪しいまたは彩度信号が不定な、差Dが64未満の領域B、Cにおいて、本実施の形態の色調整装置は、円柱モデルの変換式から算出される彩度信号Soを円錐モデルの考え方を用いて段階的に補正し、補正結果を補正彩度信号Scとして出力する。具体的には、彩度信号Soを16段階に減衰させ、最終的に0に収束させて、補正彩度信号Scとして出力する。これにより、実施の形態1と同様に、ノイズが重畳されにくくなる。   Further, in the regions B and C in which the accuracy of the saturation signal in the cylinder model is suspicious or the saturation signal is indefinite and the difference D is less than 64, the color adjustment apparatus of the present embodiment is calculated from the conversion equation of the cylinder model. The saturation signal So is corrected step by step using the concept of a cone model, and the correction result is output as a corrected saturation signal Sc. Specifically, the saturation signal So is attenuated to 16 levels, finally converged to 0, and output as the corrected saturation signal Sc. This makes it difficult for noise to be superimposed as in the first embodiment.

本発明に係る色調整装置は、低輝度のモノクロに近い画像信号の場合に、彩度信号Sに発生するノイズを低減できるという効果を有し、画像表示装置の色調整装置として有用である。   The color adjustment device according to the present invention has an effect that noise generated in the saturation signal S can be reduced in the case of an image signal close to monochrome with low luminance, and is useful as a color adjustment device for an image display device.

HSV色空間における円柱モデルの概念図Conceptual diagram of cylindrical model in HSV color space 本発明の実施の形態1による色調整装置の構成を示すブロック図1 is a block diagram showing a configuration of a color adjustment apparatus according to Embodiment 1 of the present invention. 本発明の実施の形態1の色調整装置による彩度補正処理の概念図Conceptual diagram of saturation correction processing by the color adjustment apparatus according to the first embodiment of the present invention. 本発明の実施の形態1の色調整装置による処理(メインルーチン)を示すフローチャートThe flowchart which shows the process (main routine) by the color adjustment apparatus of Embodiment 1 of this invention. 図4のステップS9の彩度補正処理(サブルーチン)を示すフローチャートFlowchart showing the saturation correction process (subroutine) in step S9 of FIG. 本発明の実施の形態1の色調整装置における彩度補正処理の一例を示す図The figure which shows an example of the saturation correction process in the color adjustment apparatus of Embodiment 1 of this invention. 本発明の実施の形態2の色調整装置による処理(メインルーチン)を示すフローチャートThe flowchart which shows the process (main routine) by the color adjustment apparatus of Embodiment 2 of this invention. 図7のステップS15の彩度補正処理(サブルーチン)を示すフローチャートFlowchart showing the saturation correction process (subroutine) in step S15 of FIG.

符号の説明Explanation of symbols

1 色空間変換部
2 彩度補正部
3 検出部
4 判定部
5 演算部
1 Color space conversion unit 2 Saturation correction unit 3 Detection unit 4 Determination unit 5 Calculation unit

Claims (7)

色信号を、色相信号、彩度信号、明度信号の3つの信号に変換する色空間変換部と、
前記色空間変換部から出力される彩度信号を補正する彩度補正部とを備え、
前記彩度補正部は、
色信号の最大値及び最小値を検出する検出部と、
前記検出部により検出された色信号の最大値と最小値の差に基づいて演算方法を判定する判定部と、
前記判定部により判定された演算方法に基づいて彩度信号を補正演算する演算部とを含むことを特徴とする色調整装置。
A color space conversion unit that converts a color signal into three signals of a hue signal, a saturation signal, and a brightness signal;
A saturation correction unit for correcting a saturation signal output from the color space conversion unit,
The saturation correction unit
A detection unit for detecting the maximum value and the minimum value of the color signal;
A determination unit that determines a calculation method based on a difference between the maximum value and the minimum value of the color signal detected by the detection unit;
A color adjustment apparatus comprising: a calculation unit that corrects and calculates a saturation signal based on the calculation method determined by the determination unit.
前記判定部が、色信号の最大値と最小値の差が第1の所定値以上であると判定したときは、前記演算部は前記色空間変換部から出力される彩度信号をそのまま出力し、
前記判定部が、色信号の最大値と最小値の差が第1の所定値未満であると判定したときは、前記演算部は色信号の最大値と最小値の差に基づいて補正係数を算出し、前記色空間変換部から出力される彩度信号に前記補正係数を乗算し、その乗算結果を出力することを特徴とする請求項1記載の色調整装置。
When the determination unit determines that the difference between the maximum value and the minimum value of the color signal is equal to or greater than the first predetermined value, the calculation unit outputs the saturation signal output from the color space conversion unit as it is. ,
When the determination unit determines that the difference between the maximum value and the minimum value of the color signal is less than the first predetermined value, the calculation unit calculates a correction coefficient based on the difference between the maximum value and the minimum value of the color signal. 2. The color adjustment apparatus according to claim 1, wherein the color adjustment device calculates, multiplies the saturation signal output from the color space conversion unit by the correction coefficient, and outputs the multiplication result.
前記判定部が、色信号の最大値と最小値の差が第2の所定値以上第1の所定値未満であると判定したときは、前記演算部は色信号の最大値と最小値の差に基づいて補正係数を算出し、前記色空間変換部から出力される彩度信号に前記補正係数を乗算し、その乗算結果を出力し、
前記判定部が、色信号の最大値と最小値の差が第2の所定値未満であると判定したときは、前記演算部は0を出力することを特徴とする請求項2記載の色調整装置。
When the determination unit determines that the difference between the maximum value and the minimum value of the color signal is greater than or equal to the second predetermined value and less than the first predetermined value, the calculation unit determines the difference between the maximum value and the minimum value of the color signal. A correction coefficient is calculated based on the color signal, the saturation signal output from the color space conversion unit is multiplied by the correction coefficient, and the multiplication result is output,
3. The color adjustment according to claim 2, wherein when the determination unit determines that the difference between the maximum value and the minimum value of the color signal is less than a second predetermined value, the calculation unit outputs 0. 4. apparatus.
色信号を、色相信号、彩度信号、明度信号の3つの信号に変換する色空間変換ステップと、
色信号の最大値及び最小値を検出する検出ステップと、
前記検出ステップにより検出された色信号の最大値と最小値の差に基づいて演算方法を判定する判定ステップと、
前記判定ステップにより判定された演算方法に基づいて、前記色空間変換ステップにより変換された彩度信号を補正演算する演算ステップとを含むことを特徴とする色調整方法。
A color space conversion step for converting the color signal into three signals of a hue signal, a saturation signal, and a brightness signal;
A detection step for detecting a maximum value and a minimum value of the color signal;
A determination step of determining a calculation method based on a difference between the maximum value and the minimum value of the color signal detected by the detection step;
A color adjustment method comprising: a calculation step of correcting the saturation signal converted by the color space conversion step based on the calculation method determined by the determination step.
前記判定ステップにおいて、色信号の最大値と最小値の差が第1の所定値以上であると判定したときは、前記演算ステップにおいて、前記色空間変換ステップにより変換された彩度信号をそのまま出力し、
前記判定ステップにおいて、色信号の最大値と最小値の差が第1の所定値未満であると判定したときは、前記演算ステップにおいて、色信号の最大値と最小値の差に基づいて補正係数を算出し、前記色空間変換ステップにより変換された彩度信号に前記補正係数を乗算し、その乗算結果を出力することを特徴とする請求項4記載の色調整方法。
In the determination step, when it is determined that the difference between the maximum value and the minimum value of the color signal is equal to or greater than the first predetermined value, the saturation signal converted by the color space conversion step is output as it is in the calculation step. And
In the determination step, when it is determined that the difference between the maximum value and the minimum value of the color signal is less than the first predetermined value, the correction coefficient is calculated based on the difference between the maximum value and the minimum value of the color signal in the calculation step. 5. The color adjustment method according to claim 4, further comprising: multiplying the saturation signal converted by the color space conversion step by the correction coefficient and outputting the multiplication result.
前記判定ステップにおいて、色信号の最大値と最小値の差が第2の所定値以上第1の所定値未満であると判定したときは、前記演算ステップにおいて、色信号の最大値と最小値の差に基づいて補正係数を算出し、前記色空間変換ステップにより変換された彩度信号に前記補正係数を乗算し、その乗算結果を出力し、
前記判定ステップにおいて、色信号の最大値と最小値の差が第2の所定値未満であると判定したときは、前記演算ステップにおいて、0を出力することを特徴とする請求項5記載の色調整方法。
In the determination step, when it is determined that the difference between the maximum value and the minimum value of the color signal is greater than or equal to a second predetermined value and less than the first predetermined value, the maximum value and minimum value of the color signal are determined in the calculation step. A correction coefficient is calculated based on the difference, the saturation signal converted by the color space conversion step is multiplied by the correction coefficient, and the multiplication result is output.
6. The color according to claim 5, wherein in the determination step, when it is determined that the difference between the maximum value and the minimum value of the color signal is less than a second predetermined value, 0 is output in the calculation step. Adjustment method.
請求項1乃至3のいずれかに記載の色調整装置を備えた集積回路。   An integrated circuit comprising the color adjusting device according to claim 1.
JP2007176538A 2007-07-04 2007-07-04 Color adjustment apparatus, color adjustment method, and integrated circuit of color adjustment apparatus Withdrawn JP2009017222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007176538A JP2009017222A (en) 2007-07-04 2007-07-04 Color adjustment apparatus, color adjustment method, and integrated circuit of color adjustment apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007176538A JP2009017222A (en) 2007-07-04 2007-07-04 Color adjustment apparatus, color adjustment method, and integrated circuit of color adjustment apparatus

Publications (1)

Publication Number Publication Date
JP2009017222A true JP2009017222A (en) 2009-01-22

Family

ID=40357562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007176538A Withdrawn JP2009017222A (en) 2007-07-04 2007-07-04 Color adjustment apparatus, color adjustment method, and integrated circuit of color adjustment apparatus

Country Status (1)

Country Link
JP (1) JP2009017222A (en)

Cited By (3)

* 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
JP2011529875A (en) * 2008-08-01 2011-12-15 ドン ファ ファーマシューティカル カンパニー リミテッド Pharmaceutical composition for preventing or treating osteoporosis comprising a benzamidine derivative or a salt thereof and alendronic acid or a salt thereof
JP2011529876A (en) * 2008-08-01 2011-12-15 ドン ファ ファーマシューティカル カンパニー リミテッド Pharmaceutical composition for preventing or treating osteoporosis, comprising a benzamidine derivative or a salt thereof and bisphosphonate

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011529875A (en) * 2008-08-01 2011-12-15 ドン ファ ファーマシューティカル カンパニー リミテッド Pharmaceutical composition for preventing or treating osteoporosis comprising a benzamidine derivative or a salt thereof and alendronic acid or a salt thereof
JP2011529876A (en) * 2008-08-01 2011-12-15 ドン ファ ファーマシューティカル カンパニー リミテッド Pharmaceutical composition for preventing or treating osteoporosis, comprising a benzamidine derivative or a salt thereof and bisphosphonate
JP2010278680A (en) * 2009-05-27 2010-12-09 Ikegami Tsushinki Co Ltd Specific color detection circuit

Similar Documents

Publication Publication Date Title
JP4831067B2 (en) Image processing apparatus, image processing method, image processing program product, and imaging apparatus
US9336581B2 (en) Method for correcting gradations and device or method for determining threshold of epsilon filter
KR100435178B1 (en) Contour correction device
JP2009059119A (en) Gradation correction device, gradation correction method and gradation correction program
JP2007060457A (en) Image signal processor and processing method
JP2009021905A (en) Contour enhancement apparatus
CN101677408A (en) Image processing apparatus, image processing method, and program
US20140348428A1 (en) Dynamic range-adjustment apparatuses and methods
JPWO2010061493A1 (en) Video processing apparatus and video processing method
JP2010113709A (en) Sharpness correction apparatus and method
US10348932B2 (en) Image processing apparatus, method of controlling the same, and non-transitory computer-readable storage medium that decrease the lightness of pixels, except for a highlight region, based on a generated lightness histogram
JP2009017222A (en) Color adjustment apparatus, color adjustment method, and integrated circuit of color adjustment apparatus
JP3255258B2 (en) Image display device
JP5279830B2 (en) Video signal processing device and video display device
JP5067218B2 (en) Video signal processing device, display device, and video signal processing method
JP5295854B2 (en) Image processing apparatus and image processing program
JP4804271B2 (en) Image processing apparatus and control method thereof
JP2007259434A (en) Image processing apparatus and method of the same
JP2009296210A (en) Image processor and image processing method
JP2004112737A (en) Semiconductor integrated circuit
JP2009005159A (en) Image processor
JP2004235700A (en) Image processing apparatus, image processing method, and program therefor
JP2010026690A (en) Image processing device
JP2010258502A (en) Image processing apparatus and method
JP2003150130A (en) Outline emphasizing circuit of liquid crystal display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100208

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20110315