JP2009302906A - Image processor, integrated circuit device, and electronic appliance - Google Patents
Image processor, integrated circuit device, and electronic appliance Download PDFInfo
- Publication number
- JP2009302906A JP2009302906A JP2008155168A JP2008155168A JP2009302906A JP 2009302906 A JP2009302906 A JP 2009302906A JP 2008155168 A JP2008155168 A JP 2008155168A JP 2008155168 A JP2008155168 A JP 2008155168A JP 2009302906 A JP2009302906 A JP 2009302906A
- Authority
- JP
- Japan
- Prior art keywords
- value
- correction
- image data
- hue
- input
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、画像処理装置、集積回路装置及び電子機器等に関する。 The present invention relates to an image processing device, an integrated circuit device, an electronic device, and the like.
画像処理においては、様々な形式の色空間が用いられている。その1つに、HSV形式の色空間での画像処理がある。例えば、人間の色覚が肌色や空色などの記憶色に対して特に敏感であることから、HSV形式の色空間において記憶色を補正することで人間にとって自然な発色の画像表示を得ることができる。 In image processing, various types of color spaces are used. One of them is image processing in an HSV format color space. For example, since human color vision is particularly sensitive to memory colors such as skin color and sky blue, it is possible to obtain an image display with a natural color for humans by correcting the memory color in the HSV color space.
また、画像処理後の表示画像を表示する電気光学パネル(例えば、液晶パネル)には固有の表示特性があり、ガンマ補正(表示特性の補正)を行うことで表示画像の色彩等を正確に表示させることができる。 In addition, electro-optical panels (for example, liquid crystal panels) that display a display image after image processing have inherent display characteristics. By performing gamma correction (display characteristic correction), the color of the display image is accurately displayed. Can be made.
ところで、従来はHSV形式の色空間での画像処理の後に電気光学パネルの表示特性に合わせたガンマ補正を行っていた。しかしながら、画像処理での色の補正は微妙な調整であるため、その後にガンマ補正が行われると色の補正がずれてしまうという課題があった。 Conventionally, after image processing in the HSV color space, gamma correction is performed in accordance with the display characteristics of the electro-optical panel. However, since color correction in image processing is a delicate adjustment, there is a problem in that color correction is shifted when gamma correction is performed thereafter.
さらに、HSV形式の色空間での画像処理においては、補正された色と補正されていない色の境界で大きな色の差が生じ、境界部分が目立ってしまうという課題もあった。この課題に対し従来は、補正する色相領域の境界に近づくにつれて補正値をゼロに漸近させることで大きな色の差が生じないようにしていた(例えば、特許文献1)。 Furthermore, in the image processing in the HSV format color space, there is a problem that a large color difference occurs at the boundary between the corrected color and the uncorrected color, and the boundary portion becomes conspicuous. Conventionally, a large color difference is prevented from occurring by making the correction value asymptotically approach zero as approaching the boundary of the hue region to be corrected (for example, Patent Document 1).
しかしながら、従来の対策では補正する色相領域の境界で補正値がゼロとなるため、補正の自由度が限られるという課題があった。
本発明の幾つかの態様によれば、正確に色の補正ができる画像処理装置、集積回路装置及び電子機器を提供できる。 According to some aspects of the present invention, it is possible to provide an image processing device, an integrated circuit device, and an electronic apparatus that can correct color accurately.
本発明は、入力RGB画像データに対して電気光学パネルの表示特性に合わせたガンマ補正を行い、補正後RGB画像データを出力するガンマ補正部と、前記補正後RGB画像データをHSV形式の画像データに変換し、入力HSV画像データを出力する第1の色空間変換部と、前記入力HSV画像データに対して補正を行い、出力HSV画像データを出力する補正部と、前記出力HSV画像データをRGB形式の画像データに変換して、出力RGB画像データを出力する第2の色空間変換部と、を含む画像処理装置に関係する。 The present invention performs gamma correction on input RGB image data in accordance with display characteristics of an electro-optic panel, and outputs corrected RGB image data. The corrected RGB image data is converted into HSV format image data. A first color space conversion unit that converts the input HSV image data, outputs the HSV image data, corrects the input HSV image data, and outputs the output HSV image data. The present invention relates to an image processing apparatus including a second color space conversion unit that converts image data into a format and outputs output RGB image data.
本発明によれば、入力RGB画像データに対してガンマ補正部によりガンマ補正が行われ、得られた補正後RGB画像データが入力HSV画像データに変換される。そしてこの入力HSV画像データに対して補正部により補正が行われ、得られた出力HSV画像データが、出力RGB画像データに変換されて出力される。このように本発明では、RGB画像をHSV画像に変換して補正を行う画像処理装置において、補正部の前段側にガンマ補正部が設けられる。 According to the present invention, gamma correction is performed on the input RGB image data by the gamma correction unit, and the obtained corrected RGB image data is converted into input HSV image data. Then, the input HSV image data is corrected by the correction unit, and the obtained output HSV image data is converted into output RGB image data and output. As described above, in the present invention, in the image processing apparatus that performs correction by converting the RGB image into the HSV image, the gamma correction unit is provided on the upstream side of the correction unit.
例えば、補正部の後段側にガンマ補正部がある場合、補正部が行う補正が後段側のガンマ補正により不正確になるという課題がある。すなわち、補正部に入力される画像データと電気光学パネルに表示される表示画像ではガンマ補正分だけ色が異なっているため、表示画像を基に補正すると正確に補正できないという課題がある。 For example, when there is a gamma correction unit on the rear side of the correction unit, there is a problem that the correction performed by the correction unit becomes inaccurate due to the gamma correction on the rear side. In other words, the image data input to the correction unit and the display image displayed on the electro-optical panel are different in color by the amount of gamma correction, and therefore there is a problem that correction cannot be performed accurately if correction is performed based on the display image.
この点、本発明では、ガンマ補正部の後段側に補正部がある。そのため、補正部に入力される画像データと電気光学パネルに表示される表示画像で色を一致させることができる。これにより、電気光学パネルの表示特性に応じたガンマ補正に影響されることなく、表示画像に基づいて正確に補正することができる。 In this regard, in the present invention, the correction unit is provided on the rear side of the gamma correction unit. Therefore, the color can be matched between the image data input to the correction unit and the display image displayed on the electro-optical panel. Thereby, it is possible to correct accurately based on the display image without being affected by the gamma correction according to the display characteristics of the electro-optical panel.
また本発明では、前記補正部は、前記入力HSV画像データのうちの入力色相値が、複数の色相領域のうちのどの色相領域に対応するかを判定し、判定信号を出力する色相領域判定部と、前記入力色相値と前記判定信号を用いて補正値を求め、前記補正値により前記入力色相値を補正する変換部と、を含んでもよい。 In the present invention, the correction unit determines which hue region of the plurality of hue regions corresponds to the input hue value in the input HSV image data, and outputs a determination signal. And a conversion unit that obtains a correction value using the input hue value and the determination signal and corrects the input hue value based on the correction value.
本発明では、色相領域判定部により入力色相値が色相領域に属する値か否かが判定される。これにより、所望の色相領域に対して補正できる。また、変換部が入力色相値と判定信号を受けて補正値を求める。これにより、複数の色相領域の各色相領域に対応する補正値を求め、各色相領域の色相値を独立に補正できる。 In the present invention, the hue area determination unit determines whether or not the input hue value belongs to the hue area. Thereby, it can correct | amend with respect to a desired hue area | region. In addition, the conversion unit receives the input hue value and the determination signal and obtains a correction value. Thereby, the correction value corresponding to each hue area of the plurality of hue areas can be obtained, and the hue value of each hue area can be independently corrected.
また本発明では、前記補正部は、前記入力HSV画像データのうちの入力色相値が複数の色相領域のうちのどの色相領域に対応するかを判定し、判定信号を出力する色相領域判定部と、前記入力色相値と前記判定信号を用いて補正値を求め、前記補正値により前記入力HSV画像データのうちの入力彩度値を補正する変換部と、を含んでもよい。 In the present invention, the correction unit may determine which hue region of the plurality of hue regions corresponds to the input hue value of the input HSV image data, and output a determination signal. A conversion unit that obtains a correction value using the input hue value and the determination signal and corrects an input saturation value of the input HSV image data using the correction value.
本発明では、変換部が入力色相値と判定信号を受けて彩度値を補正するための補正値を求める。これにより、複数の色相領域の各色相領域に対応する補正値を求め、各色相領域の彩度値を独立に補正できる。 In the present invention, the conversion unit receives the input hue value and the determination signal and obtains a correction value for correcting the saturation value. Thereby, the correction value corresponding to each hue area of the plurality of hue areas can be obtained, and the saturation value of each hue area can be independently corrected.
また本発明では、前記変換部は、前記入力色相値と補正基準ターゲット値との差分の絶対値である第1の差分値を求め、補正基準差分値と前記第1の差分値との差分の絶対値である第2の差分値を求め、前記第2の差分値を用いて前記補正値を求めてもよい。 In the present invention, the conversion unit obtains a first difference value that is an absolute value of a difference between the input hue value and the correction reference target value, and calculates a difference between the correction reference difference value and the first difference value. A second difference value that is an absolute value may be obtained, and the correction value may be obtained using the second difference value.
本発明では、補正基準ターゲット値と補正基準差分値を用いて補正値を求める。これにより、色相領域の境界で補正値を任意の値にすることができる。また、差分の絶対値である第1の差分値と第2の差分値を用いて補正値を求める。これにより、補正値の特性線を複数の直線の組み合わせで構成できる。このように、簡単な一次式で求めた補正値で複雑な補正を実現できる。 In the present invention, the correction value is obtained using the correction reference target value and the correction reference difference value. As a result, the correction value can be set to an arbitrary value at the boundary of the hue region. Further, the correction value is obtained using the first difference value and the second difference value which are absolute values of the difference. Thereby, the characteristic line of the correction value can be constituted by a combination of a plurality of straight lines. In this way, complex correction can be realized with a correction value obtained by a simple linear expression.
さらに本発明によれば、複数の色相領域を隣接して設けた場合には、色相領域の境界での補正値を隣接する色相領域で等しくできる。これにより、色相領域の境界で補正値をゼロにすることなく色相領域の境界で色の急激な差が生じてしまうことを防止できる。 Furthermore, according to the present invention, when a plurality of hue regions are provided adjacent to each other, the correction value at the boundary of the hue regions can be made equal between the adjacent hue regions. Thereby, it is possible to prevent a sudden color difference from occurring at the boundary of the hue region without setting the correction value to zero at the boundary of the hue region.
また本発明では、前記変換部は、前記第2の差分値と補正係数を乗算処理して前記補正値を求めてもよい。 In the present invention, the conversion unit may obtain the correction value by multiplying the second difference value by a correction coefficient.
本発明によれば、補正係数を調整することにより補正値の大きさ及び正負を調整することができる。これにより、補正の方向と補正値の特性線の傾きを調整できる。例えば、隣接した色相領域の境界において、補正値の特性線の傾きを変化させることもできる。このように、自由度の高い補正を実現できる。 According to the present invention, the magnitude and positive / negative of the correction value can be adjusted by adjusting the correction coefficient. As a result, the direction of correction and the inclination of the characteristic line of the correction value can be adjusted. For example, the slope of the characteristic line of the correction value can be changed at the boundary between adjacent hue regions. In this way, correction with a high degree of freedom can be realized.
また本発明では、前記補正基準ターゲット値と前記補正基準差分値と前記補正係数を設定する係数レジスタを含み、前記変換部は、前記色相領域判定部からの前記判定結果に基づいて、前記係数レジスタから前記補正基準ターゲット値と前記補正基準差分値と前記補正係数を読み出してもよい。 The present invention further includes a coefficient register for setting the correction reference target value, the correction reference difference value, and the correction coefficient, and the conversion unit is configured to use the coefficient register based on the determination result from the hue area determination unit. The correction reference target value, the correction reference difference value, and the correction coefficient may be read out.
本発明によれば、複数の色相領域の各色相領域に対して独立して補正基準ターゲット値、補正基準差分値及び補正係数を設定できる。そのため、色相領域判定部の判定結果に基づいて各色相領域に対応する補正値を求めることができる。これにより、複数の色相領域を独立の補正値で補正できる。 According to the present invention, the correction reference target value, the correction reference difference value, and the correction coefficient can be set independently for each hue region of the plurality of hue regions. Therefore, a correction value corresponding to each hue area can be obtained based on the determination result of the hue area determination unit. Thereby, a plurality of hue regions can be corrected with independent correction values.
また本発明では、前記補正部は、前記入力HSV画像データのうちの入力色相値が、複数の色相領域のうちのどの色相領域に対応するかを判定し、判定信号を出力する色相領域判定部と、前記判定信号と前記入力色相値と前記入力HSV画像データのうちの入力彩度値を用いて補正値を求め、前記補正値により前記入力色相値を補正する変換部と、を含んでもよい。 In the present invention, the correction unit determines which hue region of the plurality of hue regions corresponds to the input hue value in the input HSV image data, and outputs a determination signal. And a conversion unit that obtains a correction value using an input saturation value of the determination signal, the input hue value, and the input HSV image data, and corrects the input hue value based on the correction value. .
本発明によれば、彩度値に依存した補正値を求めることができる。これにより、複数の色相領域において色相値だけでなく彩度値に応じた補正値により入力色相値を補正することができる。 According to the present invention, a correction value depending on the saturation value can be obtained. As a result, in the plurality of hue regions, the input hue value can be corrected not only with the hue value but also with a correction value corresponding to the saturation value.
また本発明では、前記補正部は、前記入力HSV画像データのうちの入力色相値が、複数の色相領域のうちのどの色相領域に対応するかを判定し、判定信号を出力する色相領域判定部と、前記判定信号と前記入力色相値と前記入力HSV画像データのうちの入力彩度値を用いて補正値を求め、前記補正値により前記入力彩度値を補正する変換部と、を含んでもよい。 In the present invention, the correction unit determines which hue region of the plurality of hue regions corresponds to the input hue value in the input HSV image data, and outputs a determination signal. And a conversion unit that obtains a correction value using an input saturation value of the determination signal, the input hue value, and the input HSV image data, and corrects the input saturation value by the correction value. Good.
本発明によれば、複数の色相領域において色相値だけでなく彩度値に応じた補正値により入力彩度値を補正することができる。 According to the present invention, it is possible to correct an input saturation value with a correction value corresponding to a saturation value as well as a hue value in a plurality of hue regions.
また本発明では、前記変換部は、前記入力色相値と補正基準ターゲット値との差分の絶対値である第1の差分値を求め、補正基準差分値と前記第1の差分値との差分の絶対値である第2の差分値を求め、前記入力彩度値を用いて乗算係数を求め、前記第2の差分値と前記乗算係数を乗算処理して前記補正値を求めてもよい。 In the present invention, the conversion unit obtains a first difference value that is an absolute value of a difference between the input hue value and the correction reference target value, and calculates a difference between the correction reference difference value and the first difference value. A second difference value that is an absolute value may be obtained, a multiplication coefficient may be obtained using the input saturation value, and the correction value may be obtained by multiplying the second difference value and the multiplication coefficient.
本発明によれば、第2の差分値に入力彩度値を用いて求めた乗算係数を乗算処理する。これにより、入力彩度値に応じた補正値を実現できる。具体的には、補正値の特性線を複数の直線の組み合わせで構成することができ、さらに入力彩度値に応じた補正値にすることができる。 According to the present invention, the second differential value is multiplied by the multiplication coefficient obtained using the input saturation value. Thereby, the correction value according to the input saturation value can be realized. Specifically, the characteristic line of the correction value can be composed of a combination of a plurality of straight lines, and can be set to a correction value corresponding to the input saturation value.
また本発明では、前記変換部は、前記入力彩度値と彩度係数を乗算処理して前記乗算係数を求め、前記第2の差分値と前記乗算係数を乗算処理して前記補正値を求めてもよい。 In the present invention, the conversion unit multiplies the input saturation value and a saturation coefficient to obtain the multiplication coefficient, and multiplies the second difference value and the multiplication coefficient to obtain the correction value. May be.
本発明によれば、彩度係数を調整することで補正値の大きさ及び正負を調整することができる。これにより、補正の方向及び補正値の変化率を調整できる。 According to the present invention, the magnitude and positive / negative of the correction value can be adjusted by adjusting the saturation coefficient. Thereby, the direction of correction and the change rate of the correction value can be adjusted.
また本発明では、前記変換部は、前記入力彩度値を変換処理して変換彩度値を出力する彩度変換処理部を有し、前記変換彩度値を用いて乗算係数を求め、前記第2の差分値と前記乗算係数を乗算処理して前記補正値を求めてもよい。 In the present invention, the conversion unit includes a saturation conversion processing unit that converts the input saturation value and outputs a converted saturation value, obtains a multiplication coefficient using the converted saturation value, and The correction value may be obtained by multiplying the second difference value and the multiplication coefficient.
本発明によれば、変換彩度値に依存する補正値を求めることができる。これにより、彩度値に対して任意の依存性を持つ補正を実現できる。例えば、彩度値の一部範囲で補正強度を強くすることもできる。このように、本発明によればさらに自由度の高い補正を実現できる。 According to the present invention, a correction value depending on the converted saturation value can be obtained. Thereby, the correction | amendment which has arbitrary dependence with respect to a saturation value is realizable. For example, the correction intensity can be increased in a partial range of the saturation value. Thus, according to the present invention, correction with a higher degree of freedom can be realized.
また本発明では、前記変換部は、前記変換彩度値と彩度係数を乗算処理して前記乗算係数を求め、前記第2の差分値と前記乗算係数を乗算処理して前記補正値を求めてもよい。 In the present invention, the conversion unit multiplies the converted saturation value and a saturation coefficient to obtain the multiplication coefficient, and multiplies the second difference value and the multiplication coefficient to obtain the correction value. May be.
本発明によれば、彩度係数を調整することで変換彩度値に依存する補正値の大きさ及び正負を調整することができる。 According to the present invention, it is possible to adjust the magnitude and positive / negative of the correction value depending on the converted saturation value by adjusting the saturation coefficient.
また本発明は、入力RGB画像データに対して電気光学パネルの表示特性に合わせたガンマ補正を行い、補正後RGB画像データを出力するガンマ補正部と、前記補正後RGB画像データをHSV形式の画像データに変換し、入力HSV画像データを出力する第1の色空間変換部と、前記入力HSV画像データに対して補正を行い、出力HSV画像データを出力する補正部と、前記出力HSV画像データをRGB形式の画像データに変換して、出力RGB画像データを出力する第2の色空間変換部と、を含み、前記補正部は、前記入力HSV画像データに対して補正を行い、第1の補正後HSV画像データを出力する第1の補正部と、前記第1の補正後HSV画像データに対して補正を行い、第2の補正後HSV画像データを前記出力HSV画像データとして出力する第2の補正部と、を有する画像処理装置に関係する。 The present invention also provides a gamma correction unit that performs gamma correction on input RGB image data in accordance with display characteristics of an electro-optical panel and outputs corrected RGB image data, and the corrected RGB image data is converted into an HSV format image. A first color space conversion unit that converts the data into data and outputs the input HSV image data; a correction unit that corrects the input HSV image data and outputs the output HSV image data; and the output HSV image data. A second color space conversion unit that converts the image data into RGB format image data and outputs the output RGB image data. The correction unit corrects the input HSV image data, and performs first correction. A first correction unit that outputs post-HSV image data; and correction of the first post-correction HSV image data, and output of the second post-correction HSV image data to the output HSV It relates to an image processing apparatus having a second correcting unit for outputting as an image data.
本発明によれば、入力RGB画像データに対してガンマ補正部によりガンマ補正が行われ、得られた補正後RGB画像データが入力HSV画像データに変換される。次に、この入力HSV画像データに対して第1の補正部により補正が行われ、得られた第1の補正後HSV画像データに対して第2の補正部により補正が行われる。そして、得られた第2の補正後HSV画像データが出力RGB画像データに変換されて出力される。このように本発明では、補正部の前段側にガンマ補正部が設けられる画像処理装置において、カスケードに接続された第1の補正部と第2の補正部が設けられる。 According to the present invention, gamma correction is performed on the input RGB image data by the gamma correction unit, and the obtained corrected RGB image data is converted into input HSV image data. Next, the input HSV image data is corrected by the first correction unit, and the obtained first corrected HSV image data is corrected by the second correction unit. Then, the obtained second corrected HSV image data is converted into output RGB image data and output. As described above, in the present invention, in the image processing apparatus in which the gamma correction unit is provided on the upstream side of the correction unit, the first correction unit and the second correction unit connected in cascade are provided.
例えば、本発明によれば複数の色相領域において自由度の高い補正を行うことができる。しかしながら、補正部が1段の場合には、色相領域を重複して設定できないという課題がある。 For example, according to the present invention, correction with a high degree of freedom can be performed in a plurality of hue regions. However, when the correction unit has one stage, there is a problem that the hue region cannot be set in an overlapping manner.
この点、本発明では、第1の補正部と第2の補正部を用いて補正する。これにより、色相領域を重複して設定できる。具体的には、第1の補正部が重複する色相領域の一方を補正し、第2の補正部が他方の色相領域を補正できる。これにより、補正値を重ね合わせることで容易に補正値を設定できる。 In this regard, in the present invention, correction is performed using the first correction unit and the second correction unit. Thereby, the hue area can be set redundantly. Specifically, one of the hue regions where the first correction unit overlaps can be corrected, and the second correction unit can correct the other hue region. Thereby, the correction value can be easily set by superimposing the correction values.
また本発明は、上記のいずれかに記載の画像処理装置を含む集積回路装置に関係する。 The present invention also relates to an integrated circuit device including any of the image processing devices described above.
また本発明は、上記に記載の集積回路装置を含む電子機器に関係する。 The present invention also relates to an electronic device including the integrated circuit device described above.
以下、本発明の好適な実施の形態について詳細に説明する。なお以下に説明する本実施形態は特許請求の範囲に記載された本発明の内容を不当に限定するものではなく、本実施形態で説明される構成の全てが本発明の解決手段として必須であるとは限らない。 Hereinafter, preferred embodiments of the present invention will be described in detail. The present embodiment described below does not unduly limit the contents of the present invention described in the claims, and all the configurations described in the present embodiment are indispensable as means for solving the present invention. Not necessarily.
1.画像処理装置の構成例
図1に、本実施形態の画像処理装置の構成例を示す。本実施形態の画像処理装置は、RGB(R:赤、G:緑、B:青)形式の画像データに対して、電気光学パネルの表示特性に応じたガンマ補正を行う。そして、本実施形態の画像処理装置は、ガンマ補正後の画像データに対してHSV形式の色空間において色の補正を行う。
1. Configuration Example of Image Processing Device FIG. 1 shows a configuration example of an image processing device according to the present embodiment. The image processing apparatus according to the present embodiment performs gamma correction on image data in RGB (R: red, G: green, B: blue) format according to the display characteristics of the electro-optical panel. Then, the image processing apparatus according to the present embodiment performs color correction on the image data after the gamma correction in the HSV format color space.
例えば、本実施形態の画像処理装置は、電気光学パネルとして液晶パネルの表示特性に応じたガンマ補正を行うことができる。なお、以下では、本実施形態の画像処理装置について液晶パネルの表示特性に応じたガンマ補正を行う場合を例に説明する。但し、本発明は、例えばELパネル(EL:Electro Luminescence)等の電気光学パネルの表示特性に応じたガンマ補正を行う場合にも適用できる。 For example, the image processing apparatus of the present embodiment can perform gamma correction according to the display characteristics of a liquid crystal panel as an electro-optical panel. In the following description, the image processing apparatus according to the present embodiment will be described by taking an example of performing gamma correction according to the display characteristics of the liquid crystal panel. However, the present invention can also be applied when performing gamma correction according to display characteristics of an electro-optical panel such as an EL panel (EL: Electro Luminescence).
図1に示す本実施形態の画像処理装置は、ガンマ補正部40、第1の色空間変換部20、補正部10、第2の色空間変換部30を含む。
The image processing apparatus according to this embodiment shown in FIG. 1 includes a
ガンマ補正部40は、入力された入力RGB画像データ(Rin,Gin,Bin)に対して液晶パネルの表示特性に応じたガンマ補正を行い、ガンマ補正後の補正後RGB画像データ(Rin’,Gin’,Bin’)を出力する。
The
具体的には、液晶パネルの表示特性は、RGBの各成分に対応する液晶の透過率やバックライト(照明)の光源の特性等によって、RGBの各成分で異なる表示特性となる。そして、ガンマ補正部40は、RGBの各成分に対して液晶パネルの表示特性に応じたガンマ補正を行って表示画像のグレースケール(又は白色ポイント)を補正する。すなわち、ガンマ補正部40は、表示特性の成分間の差を打ち消すように画像データを補正することで表示画像のグレースケールを補正する。
Specifically, the display characteristics of the liquid crystal panel differ depending on the RGB components depending on the transmittance of the liquid crystals corresponding to the RGB components, the characteristics of the light source of the backlight (illumination), and the like. Then, the
より具体的には、ガンマ補正部40は、画像データRinに対して液晶パネルのR成分の表示特性に対応するガンマ補正を行って、画像データRin’を出力する。同様にガンマ補正部40は、画像データGinに対してG成分の表示特性に対応するガンマ補正を行って画像データGin’を出力し、画像データBinに対してB成分の表示特性に対応するガンマ補正を行って画像データBin’を出力する。
More specifically, the
例えば、ガンマ補正部40が行うガンマ補正は、入力値に対応する出力値を参照して出力できるルックアップテーブル等により実現できる。
For example, the gamma correction performed by the
なお、いわゆるガンマ2.2等の階調補正は例えば図10に示すドライバ110において行われ、この階調補正は、ガンマ補正部40によるガンマ補正とは区別される。また、ガンマ補正部40によるガンマ補正は、映像機器から入力された画像データのガンマを正規化するための補正ではなく、電気光学パネルの表示特性を補正するためのガンマ補正である。
Note that tone correction such as so-called gamma 2.2 is performed by the
次に、色空間変換部20は、入力された画像データの色空間を変換する。具体的には、色空間変換部20は、ガンマ補正部40からの画像データ(Rin’,Gin’,Bin’)を受けてHSV(H:色相、S:彩度、V:明度)形式の画像データに変換する。そして、色空間変換部20は、変換後の画像データである入力HSV画像データ(Hin,Sin,Vin)を出力する。
Next, the color
例えば、色空間変換部20が行う色空間の変換は、例えば乗算器や加算器等を用いた演算等によって実現できる。
For example, the color space conversion performed by the color
補正部10は、HSV画像データに対して画像処理を行う。具体的には、色空間変換部20からの画像データ(Hin,Sin,Vin)を補正して、補正後の画像データである出力HSV画像データ(Hout,Sout,Vout)を出力する。
The
より具体的には、後に図4(A)等で説明するように、補正部10は色相領域CRに対して色の補正を行う。例えば、補正部10は、入力色相値Hinが色相領域CRに属するか否かを判定し、属すると判定された場合には色相領域CRに対応する補正値ΔHを求める。そして、補正部10は、求められた補正値ΔHによって入力色相値Hinを補正する。
More specifically, as will be described later with reference to FIG. 4A and the like, the
なお、補正部10は、後に図2で説明する第1の構成例又は図7で説明する第2の構成例によって実現できる。また、補正部10が求める補正値は、後に下式(1)〜(16)で説明する補正値の演算手法の具体例によって実現できる。
The
色空間変換部30は、補正部10からの出力HSV画像データ(Hout,Sout,Vout)を受けてRGB形式の画像データに変換し、変換後の出力RGB画像データ(Rout,Gout,Bout)を出力する。色空間変換部20と同様に、色空間変換部30が行う色空間の変換は、例えば乗算器や加算器等を用いた演算によって実現できる。
The color
ここで、比較例として、仮に図1において第2の色空間変換部30の後段にガンマ補正部40を設けた場合を考える。比較例では、補正部10はガンマ補正されていない画像データに対して補正を行うことになる。一方、液晶パネルには、ガンマ補正された後の画像データが表示画像として表示される。
Here, as a comparative example, let us consider a case where a
上述のように、ガンマ補正は液晶パネルの表示特性を補正することで画像データのグレースケールを補正する。そのため、比較例では、補正部10が補正するHSV画像データのグレースケールと液晶パネルの表示画像のグレースケールにはずれが生じる。HSV画像データの色の補正では、表示画像の色を視覚的に確認しながら微妙な色の調整を行うため、表示画像と補正対象のグレースケールにずれがあると、表示画像を基に設定した色の補正と実際の画像データにおける色の補正にずれが生じる。
As described above, the gamma correction corrects the gray scale of the image data by correcting the display characteristics of the liquid crystal panel. Therefore, in the comparative example, there is a difference between the gray scale of the HSV image data corrected by the
このように、HSV画像データの補正の後段でガンマ補正を行う場合、正確に補正値を設定できないという課題があった。 As described above, when gamma correction is performed after the correction of HSV image data, there is a problem in that a correction value cannot be set accurately.
この点、本実施形態の画像処理装置では、ガンマ補正部40の後段で補正部10がHSV画像データの補正を行う。そのため、補正部10には液晶パネルの表示特性に応じてグレースケールが補正された画像データが入力される。これにより、表示画像と補正対象のグレースケールが一致するため、表示画像を基に設定した色の補正と実際の画像データにおける色の補正にずれが生じない。
In this regard, in the image processing apparatus of the present embodiment, the
このように、本実施形態によれば、表示画像の色を視覚的に確認しながら微妙な色の調整を行う際に、正確に補正値を設定することができる。 As described above, according to the present embodiment, the correction value can be accurately set when performing fine color adjustment while visually confirming the color of the display image.
2.補正部の構成例、補正値の演算手法の具体例
2.1.第1の構成例
図2に、補正部10の第1の構成例を示す。第1の構成例の画像補正手法によれば、2つの基準となる値(補正基準ターゲット値HT、補正基準差分値A)を用いた一次式によって、HSV形式の色空間において自由度の高い補正値を実現することができる。
2. Configuration example of correction unit, specific example of correction value calculation method 2.1. First Configuration Example FIG. 2 shows a first configuration example of the
具体的には、図2に示す第1の構成例は、色相領域判定部50と変換部60(色補正部)を含み、第1の構成例には入力色相値Hin,入力彩度値Sin,入力明度値Vinから成る入力HSV画像データが入力される。色相領域判定部50は、色相値Hinが、設定された色相領域(色相範囲)に対応する色相値であるかを判定し、判定信号JSを出力する。変換部60は、判定信号JSを受けて補正値ΔHを求める。そして、変換部60は、補正値ΔHによって色相値Hinを補正し、補正後の色相値Houtを出力する。
Specifically, the first configuration example illustrated in FIG. 2 includes a hue
図3(A)を用いて第1の構成例の画像補正手法について説明する。ここで、図3(A)に示す円は、HSV形式の色空間のうち色相及び彩度についての色空間を表す。具体的には、色相を円の円周方向に表し、彩度を円の半径方向に表す。 The image correction method of the first configuration example will be described with reference to FIG. Here, a circle shown in FIG. 3A represents a color space for hue and saturation in the HSV format color space. Specifically, the hue is expressed in the circumferential direction of the circle, and the saturation is expressed in the radial direction of the circle.
図3(A)に示すように、例えば色相領域CRとして色相値RL〜RHの範囲が設定される。この場合、色相領域判定部50は、色相値Hinが色相領域CRに入る値であるか否かを判定し、対応する判定信号JSを出力する。具体的には、色相値Hinが色相領域CRに入る場合には色相領域CRに対応する判定信号JSを出力し、色相値Hinが色相領域CRに入らない場合には色相領域CR以外の領域に対応する判定信号JSを出力する。変換部60は、判定信号JSが色相領域CRに対応する場合には、色相領域CRに対応する補正値ΔHを求める。具体的には、補正値ΔHは色相値Hin又は彩度値Sinの関数として求められる。そして変換部60は、画像データ(Hin,Sin,Vin)を画像データ(Hin+ΔH,Sin,Vin)に補正し、出力HSV画像データ(Hout,Sout,Vout)として出力する。この補正値ΔHによる補正は、図3(A)の円上において、画像データ(Hin,Sin,Vin)に対応する点を円周方向において移動させることに相当する。
As shown in FIG. 3A, for example, a range of hue values RL to RH is set as the hue region CR. In this case, the hue
なお、変換部60は、判定信号JSを受けて補正値ΔSを求め、彩度値Sinを補正することもできる。図3(B)に示すように、変換部60は、判定信号JSが色相領域CRに対応する場合には、色相領域CRに対応する補正値ΔSを求める。補正値ΔSは色相値Hin又は彩度値Sinの関数として求められる。そして変換部60は、画像データ(Hin,Sin,Vin)を画像データ(Hin,Sin+ΔS,Vin)に補正し、画像データ(Hout,Sout,Vout)として出力する。この補正値ΔSによる補正は、図3(B)の円上において画像データ(Hin,Sin,Vin)に対応する点を円の半径方向において移動させることに相当する。
The
2.2.補正値の演算手法の具体例
2.2.1.色相値の関数である補正値の演算手法の具体例
次に、補正値ΔHの演算手法について具体例を用いて説明する。なお、補正値ΔSの演算手法についても同様の具体例を適用できるため、以下では補正値ΔHの演算手法の具体例について説明する。
2.2. Specific example of correction value calculation method 2.2.1. Specific Example of Calculation Method of Correction Value that is a Function of Hue Value Next, a calculation method of the correction value ΔH will be described using a specific example. Since a similar specific example can be applied to the calculation method of the correction value ΔS, a specific example of the calculation method of the correction value ΔH will be described below.
下式(1)に、補正値ΔHの演算手法の第1の具体例を示す。下式(1)に示すように、変換部60は、入力された色相値Hinと補正基準ターゲット値HTの差分を求め、その絶対値を第1の差分値D1(第1の差分絶対値)として求める。次に変換部60は、補正基準差分値Aと差分値D1の差分を求め、その絶対値を第2の差分値D2(第2の差分絶対値)として求める。第1の具体例においては、変換部60は差分値D2を補正値ΔHとして用いる。
The following formula (1) shows a first specific example of a method for calculating the correction value ΔH. As shown in the following equation (1), the
ここで、補正基準ターゲット値HTは色相領域CR内の色相値であり、補正基準差分値Aは、色相領域CRに関わらず任意の値である。また、色相領域CRは、図3(A)、図3(B)に示すように補正基準ターゲット値HTを基準として低色相側領域幅HOL,高色相側領域幅HOHによって設定される。具体的には、色相領域CRは、色相値RL=HT−HOL,RH=HT+HOHによって設定される。これらの値HT、A、HOL、HOHは、例えば後述する図9に示す係数レジスタ300からのレジスタ値によって設定される。
Here, the correction reference target value HT is a hue value in the hue region CR, and the correction reference difference value A is an arbitrary value regardless of the hue region CR. Further, the hue region CR is set by the low hue side region width HOL and the high hue side region width HOH with reference to the correction reference target value HT as shown in FIGS. 3 (A) and 3 (B). Specifically, the hue region CR is set by the hue values RL = HT−HOL and RH = HT + HOH. These values HT, A, HOL, and HOH are set by register values from a
ところで、HSV形式の色空間において特定の領域に補正を行うと領域の境界で色の急激な差が生じるため、表示画像上でその色の差が擬似的な輪郭として見えるという課題があった。 By the way, if a specific area is corrected in the HSV format color space, a sharp color difference occurs at the boundary between the areas, and there is a problem that the color difference appears as a pseudo contour on the display image.
例えば比較例として、領域の境界においてゼロとなる補正値を用いて補正を行う手法が考えられる。この比較例によれば、補正値を徐々にゼロに近づけることで領域の境界に近づくに従って補正による色の変化が小さくなり、領域の境界での色の急激な差を防止することができる。 For example, as a comparative example, a method of performing correction using a correction value that becomes zero at the boundary of the region can be considered. According to this comparative example, the correction value is gradually brought closer to zero, so that the color change due to the correction becomes smaller as the region boundary is approached, and a sudden color difference at the region boundary can be prevented.
しかしながら、この比較例では領域の境界において補正値を必ずゼロにする必要があるため、補正値の設定範囲が制限されるという課題があった。 However, in this comparative example, there is a problem that the correction value setting range is limited because the correction value must be zero at the boundary of the region.
この点、上記第1の具体例では、補正基準差分値Aを用いて補正値ΔHを求める。これにより、色相領域CRの境界で補正値ΔHを任意の値にすることができる。また、差分の絶対値を用いることで簡単な一次式にも関わらず複雑な補正値ΔHを実現することができる。さらに、後述のように複数の色相領域を設けることもでき、領域の境界で補正値ΔHの特性線をなめらかに接続することで境界での色の急激な差を防止することができる。このように、本実施形態によれば自由度の高い補正を行うことができる。 In this regard, in the first specific example, the correction value ΔH is obtained using the correction reference difference value A. Thereby, the correction value ΔH can be set to an arbitrary value at the boundary of the hue region CR. Further, by using the absolute value of the difference, a complex correction value ΔH can be realized in spite of a simple linear expression. Further, as described later, a plurality of hue regions can be provided, and by connecting the characteristic line of the correction value ΔH smoothly at the boundary between the regions, it is possible to prevent an abrupt color difference at the boundary. Thus, according to the present embodiment, correction with a high degree of freedom can be performed.
図4(A)〜図4(D)を用いてさらに詳細に説明する。図4(A)〜図4(D)は、色相範囲CRにおける補正値ΔHの特性線の例である。 This will be described in more detail with reference to FIGS. 4A to 4D are examples of characteristic lines of the correction value ΔH in the hue range CR.
図4(A)に示すようにA=HOL=HOHに設定した場合、Hin=HTで補正値ΔHが最も大きく、色相領域CRの境界(色相値RL及びRH)で補正値ΔH=0にすることができる。 As shown in FIG. 4A, when A = HOL = HOH is set, the correction value ΔH is the largest when Hin = HT, and the correction value ΔH = 0 is set at the boundary (hue values RL and RH) of the hue region CR. be able to.
次に図4(B)に示すようにA=0に設定した場合、Hin=HTで補正値ΔH=0とし、色相領域CRの境界でΔH=0でない補正値ΔHにすることもできる。 Next, when A = 0 is set as shown in FIG. 4B, the correction value ΔH = 0 when Hin = HT, and the correction value ΔH other than ΔH = 0 at the boundary of the hue region CR.
また図4(C)に示すようにA>HOLかつA>HOHに設定した場合、Hin=HTで補正値ΔHが最も大きく色相領域CRの境界でΔH=0でない補正値にすることができる。 Further, as shown in FIG. 4C, when A> HOL and A> HOH are set, the correction value ΔH is the largest when Hin = HT, and the correction value other than ΔH = 0 can be set at the boundary of the hue region CR.
さらに、図4(D)に示すように0<A<HOLかつ0<A<HOHに設定した場合、色相領域CR内で補正値ΔHの特性線の折れ曲がりを複数設けることができる。 Further, as shown in FIG. 4D, when 0 <A <HOL and 0 <A <HOH are set, a plurality of bent characteristic lines of the correction value ΔH can be provided in the hue region CR.
このように、補正基準差分値Aの値を調整することで色相領域CRの境界において任意の補正値ΔHを実現できる。また、補正値ΔHは色相値Hinの一次式であるため直線で構成されるが、差分値D1,D2の絶対値を用いることで複数の直線で構成することができる。 In this way, by adjusting the correction reference difference value A, an arbitrary correction value ΔH can be realized at the boundary of the hue region CR. Further, although the correction value ΔH is a linear expression because it is a linear expression of the hue value Hin, it can be constituted by a plurality of straight lines by using the absolute values of the difference values D1 and D2.
ここで、下式(2)に示す補正値ΔHの演算手法の第2の具体例のように、変換部60は差分値D2と係数C(補正係数)を乗算して補正値ΔHを求めることもできる。係数Cは正又は負の数である。
Here, as in the second specific example of the calculation method of the correction value ΔH shown in the following equation (2), the
このように、係数Cを差分値D2に乗算することで、補正値ΔHを正の値又は負の値に設定することができ、補正値ΔHの大きさを調整することができる。これにより、補正の方向及び、色相値Hinに対する補正値ΔHの変化の傾きを調整できる。第2の具体例によれば、さらに幅広い補正値ΔHの調整を実現できる。 Thus, by multiplying the difference value D2 by the coefficient C, the correction value ΔH can be set to a positive value or a negative value, and the magnitude of the correction value ΔH can be adjusted. As a result, the correction direction and the slope of the change in the correction value ΔH with respect to the hue value Hin can be adjusted. According to the second specific example, an even wider adjustment of the correction value ΔH can be realized.
また、下式(3)に示す補正値ΔHの演算手法の第3の具体例のように、変換部60は差分値D2と係数Cを乗算した結果にオフセットDを加算して補正値ΔHを求めることもできる。オフセットDは正又は負の数である。
Further, as in the third specific example of the calculation method of the correction value ΔH shown in the following equation (3), the
これにより、色相領域CR全体を一様に補正することができる。具体的には、オフセットDを調整することで、色相領域CR全体を同一の方向に同一の補正量で色の補正を行うことができる。 As a result, the entire hue region CR can be corrected uniformly. Specifically, by adjusting the offset D, the entire hue region CR can be corrected in the same direction with the same correction amount.
さらに、下式(4),(5)に示す補正値ΔHの演算手法の第4の具体例のように、変換部60は補正値ΔHL又はΔHHを補正値ΔHとして求めることもできる。すなわち、変換部60は、色相値Hinが色相領域CRのうちの低色相側領域(色相値RL〜補正基準ターゲット値HTの範囲)に対応する場合には補正値ΔHLを補正値ΔHとして求めることができる。また、色相値Hinが色相領域CRのうちの高色相側領域(補正基準ターゲット値HT〜色相値RHの範囲)に対応する場合には補正値ΔHHを補正値ΔHとして求めることができる。ここで、補正基準差分値ALとAHは独立した値である。同様に、係数CLとCH(補正係数)、オフセットDLとDHもそれぞれ独立した値である。
Furthermore, as in the fourth specific example of the calculation method of the correction value ΔH shown in the following equations (4) and (5), the
なお、色相領域判定部50は、入力された色相値Hinが低色相側領域に入る値であるか、高色相側領域に入る値であるかを判定して、対応する判定信号JSを出力する。
The hue
第4の具体例によれば、補正値ΔHL,ΔHHを用いて補正することができる。これにより、低色相側領域と高色相側領域で独立して補正値ΔHを調整することができる。このように、第4の具体例によれば自由度の高い補正を実現できる。 According to the fourth specific example, correction can be performed using the correction values ΔHL and ΔHH. Thereby, the correction value ΔH can be adjusted independently in the low hue side region and the high hue side region. Thus, according to the fourth specific example, correction with a high degree of freedom can be realized.
ここで、本実施形態では複数の色相領域を設けることもできる。具体的には、本実施形態では色相領域1〜色相領域k(第1〜第kの色相領域。kは自然数)を設定できる。そして、変換部60は色相領域1〜色相領域kに対応する補正値ΔH1〜補正値ΔHkを求めることができる。
Here, in the present embodiment, a plurality of hue regions may be provided. Specifically, in the present embodiment,
より具体的には、下式(6),(7)に補正値ΔHの演算手法の第5の具体例を示す。下式(6)に示すように、変換部60は、色相値Hinが色相領域n(nは、k以下の自然数)のうちの低色相側領域n(第nの低色相側領域)に対応する場合、補正値ΔHLnを補正値ΔHとして求める。また、下式(7)に示すように、色相値Hinが色相領域nのうちの高色相側領域n(第nの高色相側領域)に対応する場合、補正値ΔHHnを補正値ΔHとして求める。ここで、補正基準差分値AL1〜ALk,AH1〜AHkは独立した値である。同様に、補正基準ターゲット値HT1〜HTk、係数CL1〜CLk,CH1〜CHk、オフセットDL1〜DLk,DH1〜DHkもそれぞれ独立した値である。
More specifically, the following formulas (6) and (7) show a fifth specific example of the calculation method of the correction value ΔH. As shown in the following equation (6), the
なお、色相領域判定部50は、入力された色相値Hinが低色相側領域nに入る値であるか及び高色相側領域nに入る値であるかを判定して、対応する判定信号JSを出力する。
The hue
ところで、前述の比較例においては、擬似的な輪郭の発生を防止するために色相領域の境界において補正値をゼロにしていた。そのため、補正の調整幅が制限されるという課題があった。 Incidentally, in the above-described comparative example, the correction value is set to zero at the boundary of the hue region in order to prevent the generation of a pseudo contour. For this reason, there is a problem that the adjustment range of correction is limited.
この点、第5の具体例によれば、色相領域の境界において補正値ΔHの特性線を任意の値で接続することができる。また、複数の色相領域で独立に補正値ΔHを調整することができる。図5を用いて説明する。図5に示すのは、複数の色相領域として色相領域1〜色相領域4(k=4)を隣接して設けた場合の補正値ΔHの例である。
In this regard, according to the fifth specific example, the characteristic line of the correction value ΔH can be connected with an arbitrary value at the boundary of the hue region. Further, the correction value ΔH can be adjusted independently in a plurality of hue regions. This will be described with reference to FIG. FIG. 5 shows an example of the correction value ΔH when
例えば、図5のLA1に示すように、補正基準差分値A等を調整することで色相領域1の境界において補正値ΔHをゼロ以外の値にすることができる。またLA2に示すようにオフセットD等を調整することで補正値ΔHを一定の値にすることもできる。そして、LA3に示すように、補正基準差分値A等を調整することで色相領域の境界以外でも補正値ΔHをゼロにすることもできる。LA4、LA5に示すように、係数Cを調整することで補正値ΔHを正の値又は負の値にすることもできる。
For example, as indicated by LA1 in FIG. 5, the correction value ΔH can be set to a value other than zero at the boundary of the
このように、複数の色相領域で独立に補正値ΔHを調整することができる。そのため、簡単な直線の組み合わせのみで自由度の高い補正を実現できる。 In this way, the correction value ΔH can be independently adjusted in a plurality of hue regions. Therefore, correction with a high degree of freedom can be realized only by a combination of simple straight lines.
さらに、図5のLA6に示すように、隣接する色相領域1と色相領域2の境界において、LA1及びLA2に示す補正値ΔHを等しい値に調整することもできる。これにより、直線の傾きを途中で変化させることもできる。
Furthermore, as indicated by LA6 in FIG. 5, the correction value ΔH shown in LA1 and LA2 can be adjusted to the same value at the boundary between the
このように、本実施形態によれば色相領域の境界で補正値の特性線を任意の値で接続できる。そのため、色相領域の境界での急激な色の変化を防止することができる。これにより、急激な色の変化で生じる擬似的な輪郭の発生を防止するとともに、自由度の高い補正を実現できる。さらに、簡単な一次式を用いて補正するため、2次式等を用いた場合に比べて回路規模を増大させることなく自由度の高い補正を実現できる。 Thus, according to this embodiment, the characteristic line of the correction value can be connected with an arbitrary value at the boundary of the hue region. Therefore, a sudden color change at the boundary of the hue region can be prevented. As a result, it is possible to prevent the generation of a pseudo contour caused by a sudden color change and to realize correction with a high degree of freedom. Furthermore, since correction is performed using a simple primary expression, correction with a high degree of freedom can be realized without increasing the circuit scale as compared with the case where a secondary expression or the like is used.
なお、図5では色相領域が隣接する場合を説明したが、本実施形態は複数の色相領域が離れている場合にも適用できる。 In addition, although FIG. 5 demonstrated the case where the hue area | region was adjacent, this embodiment is applicable also when the several hue area | region is separated.
2.2.2.彩度値の関数である補正値の演算手法の具体例
図2に示す補正部10の第1の構成例では、入力された彩度値Sinを用いて補正値ΔHを求めることもできる。これにより、色相値Hinだけでなく彩度値Sinにも依存した画像補正を行うことができるため、第1〜第5の具体例と比べてさらに画像データの画質を向上することができる。
2.2.2. Specific Example of Calculation Method of Correction Value that is Function of Saturation Value In the first configuration example of the
下式(8)に補正値ΔHの演算手法の第6の具体例を示す。下式(8)に示すように、変換部60は彩度値Sinと係数B(彩度係数)を乗算して乗算係数MC(=B*Sin)を求めることができる。そして、変換部60は差分値D2に乗算係数MCを乗算して補正値ΔHを求めることができる。ここで、係数Bは正又は負の数である。
The following formula (8) shows a sixth specific example of the calculation method of the correction value ΔH. As shown in the following equation (8), the
これにより、彩度値Sinに依存した補正を実現できる。また、係数Bによって補正値の符号と大きさを調整することができる。 Thereby, the correction depending on the saturation value Sin can be realized. Further, the sign and size of the correction value can be adjusted by the coefficient B.
下式(9)に示す補正値ΔHの演算手法の第7の具体例のように、変換部60は彩度値Sinと係数Bを乗算した結果に係数C(補正係数)を加算して乗算係数MC(=B*Sin+C)を求めることもできる。
As in the seventh specific example of the calculation method of the correction value ΔH shown in the following equation (9), the
第7の具体例によれば、彩度値Sinに依存する補正と第1〜第5の具体例で説明した彩度値Sinに依存しない補正を足し合わせることができる。すなわち、係数Bと係数Cを調整することで、補正値Δを彩度値Sinの任意の一次式で調整することができる。これにより、彩度値に依存する補正値と色相値にのみ依存する補正値を直感的に組み合わせて補正値を決定できる。 According to the seventh specific example, the correction depending on the saturation value Sin and the correction not depending on the saturation value Sin described in the first to fifth specific examples can be added together. That is, by adjusting the coefficient B and the coefficient C, the correction value Δ can be adjusted by an arbitrary linear expression of the saturation value Sin. Thus, the correction value can be determined by intuitively combining the correction value that depends on the saturation value and the correction value that depends only on the hue value.
また、下式(10),(11)に示す補正値ΔHの演算手法の第8の具体例ように、変換部60は、彩度値Sinを変換処理した変換彩度値LUT[Sin]を用いて補正値ΔHを求めることもできる。この変換処理は、任意の変換規則(変換式)に従って彩度値Sinを変換する処理である。
Further, as in the eighth specific example of the calculation method of the correction value ΔH shown in the following equations (10) and (11), the
図6に、変換彩度値LUT[Sin]を用いた補正の例を模式的に示す。具体的には、線LB1上の点(Hin,Sin)が、補正値ΔHによって線LB2上の点(Hin+ΔH,Sin)に補正される例を示す。LB2に示すように、変換彩度値LUT[Sin]を用いて補正値ΔHを求めることで、彩度値Sinに対して任意の依存性を持つ補正値ΔHを実現できる。このように、本実施形態によれば彩度値Sinに応じた所望の補正を行うことができる。 FIG. 6 schematically shows an example of correction using the converted saturation value LUT [Sin]. Specifically, an example in which the point (Hin, Sin) on the line LB1 is corrected to the point (Hin + ΔH, Sin) on the line LB2 by the correction value ΔH is shown. As shown in LB2, by obtaining the correction value ΔH using the converted saturation value LUT [Sin], the correction value ΔH having an arbitrary dependency on the saturation value Sin can be realized. Thus, according to this embodiment, desired correction according to the saturation value Sin can be performed.
なお、任意の変換則による変換処理は、例えば図9で後述するルックアップテーブル240を用いて実現することができる。 Note that the conversion process based on an arbitrary conversion rule can be realized using, for example, a lookup table 240 described later with reference to FIG.
ここで下式(12)に示す補正値ΔHの演算手法の第9の具体例のように、変換部60は、第3の具体例と同様にオフセットDを加算して補正値ΔHを求めることもできる。また、下式(13),(14)に示す補正値ΔHの演算手法の第10の具体例のように、変換部60は、第3の具体例と同様に色相領域のうちの低色相側領域と高色相側領域に対応する補正値を求めることもでき、第4の具体例と同様に複数の色相領域に対応する補正値を求めることもできる。
Here, as in the ninth specific example of the calculation method of the correction value ΔH shown in the following expression (12), the
これにより、複数の色相領域において彩度値Sinに依存した補正を行うことができる。また、オフセットDを調整することで、彩度値Sinに依存した補正と色相領域全体で一様な補正を足し合わせることができる。 Thereby, correction depending on the saturation value Sin can be performed in a plurality of hue regions. Further, by adjusting the offset D, it is possible to add correction that depends on the saturation value Sin and correction that is uniform over the entire hue region.
なお、例えば下式(15)のように、上記第1〜第10の具体例を補正値ΔSにも適用できる。また、第1の構成例は、補正値ΔVを求めて明度値Vinを補正することもできる。この場合も、例えば下式(16)のように上記第1〜第10の具体例を補正値ΔVに適用できる。 For example, as in the following equation (15), the first to tenth specific examples can be applied to the correction value ΔS. In the first configuration example, the lightness value Vin can be corrected by obtaining the correction value ΔV. Also in this case, for example, the first to tenth specific examples can be applied to the correction value ΔV as in the following equation (16).
2.3.第2の構成例
図7に補正部10の第2の構成例を示す。第2の構成例は、図2で説明した第1の構成例が行う画像処理をカスケードに行うものであり、第1の補正部70、第2の補正部80を含む。
2.3. Second Configuration Example FIG. 7 shows a second configuration example of the
具体的には、カスケードの初段である第1の補正部70は、入力HSV画像データ(Hin,Sin,Vin)を補正して第1の補正後HSV画像データ(H1,S1,V1)を出力する。次に、カスケードの次段である補正部80が、初段から入力される画像データ(H1,S1,V1)を補正して、第2の補正後HSV画像データ(H2,S2,V2)を出力HSV画像データ(Hout,Sout,Vout)として出力する。
Specifically, the
より具体的には、第1の補正部70は、第1の色相領域判定部72、第1の変換部74を含む。色相領域判定部72は、入力色相値Hinが色相領域に対応する色相値であるかを判定し、第1の判定信号JS1を出力する。変換部74は、画像データ(Hin,Sin,Vin)のうち少なくとも1つの値を補正する。
More specifically, the
例えば、少なくとも1つの値として色相値Hinを補正する。この場合、変換部74は判定信号JS1を受けて第1の補正値ΔH1を求める。そして、補正値ΔH1によって色相値Hinを補正し、第1の補正後色相値H1(=Hin+ΔH1)を出力する。但し補正部70は、入力彩度値Sinを補正してもよく、入力明度値Vinを補正してもよい。また、画像データ(Hin,Sin,Vin)のうち一部を補正してもよく、全てを補正してもよい。
For example, the hue value Hin is corrected as at least one value. In this case, the
また、第2の補正部80は、第2の色相領域判定部82、第2の変換部84を含む。色相領域判定部82は、第1の補正後色相値H1が色相領域に対応する色相値であるかを判定し、第2の判定信号JS2を出力する。変換部84は、画像データ(H1,S1,V1)のうち少なくとも1つの値を補正する。例えば、変換部84は、変換部74と同様に少なくとも1つの値として色相値H1を補正する。
The
なお、第1の補正部70と第2の補正部80の構成及び動作は、図2〜図6及び上式(1)〜(16)で説明した構成例と同様の構成及び動作であるので、説明を省略する。
The configurations and operations of the
ところで、図2等で説明した補正部10の第1の構成例では、複数の色相領域に対して自由度の高い画像補正を行うことができる。しかしながら、重複した色相領域に対して補正を行うことが困難な場合があるという課題もあった。
Incidentally, in the first configuration example of the
この点、図7に示す補正部10の第2の構成例によれば、補正部をカスケード接続させたことで重複した色相領域に対して容易に補正することができる。この点について図8(A)、図8(B)を用いて説明する。
In this regard, according to the second configuration example of the
比較のため、図8(A)を用いて1段の補正部で補正する場合について説明する。補正部が1段の場合、色相領域を重複させて設定することができない。そのため、重複する色相領域CR1,CR2を領域I〜IIIに分割して設定する必要がある。そして、領域II,IIIに対しては補正値ΔH1を設定し、領域Iに対しては補正値ΔH1とΔH2を合成した補正値を設定する必要がある。このように、補正部1段の場合には設定すべき色相領域の数が増え、補正値も複雑なものとなってしまう。 For comparison, a case where correction is performed by a one-stage correction unit will be described with reference to FIG. When the correction unit has one stage, it is not possible to set the hue area overlappingly. Therefore, it is necessary to divide and set overlapping hue regions CR1 and CR2 into regions I to III. Then, it is necessary to set a correction value ΔH1 for the regions II and III, and set a correction value for the region I by combining the correction values ΔH1 and ΔH2. Thus, in the case of a single correction unit, the number of hue regions to be set increases, and the correction value becomes complicated.
この点、第2の構成例によれば重複した色相領域を従属的に(カスケードに)補正できる。すなわち、図8(A)に示すように、色相領域CR1を補正値ΔH1で補正した後、重複する色相領域CR2を補正値ΔH2で補正できる。このように、補正部が1段である場合と比較して、複雑な補正値の設定を行う必要がない。例えば、広い範囲を補正した後にその中の一部を微調整したい場合などに直感的に補正値を設定することができる。 In this regard, according to the second configuration example, the overlapping hue regions can be corrected in a cascade manner. That is, as shown in FIG. 8A, after the hue region CR1 is corrected with the correction value ΔH1, the overlapping hue region CR2 can be corrected with the correction value ΔH2. Thus, it is not necessary to set a complicated correction value as compared with the case where the correction unit is one stage. For example, the correction value can be intuitively set when it is desired to finely adjust a part of the wide range after correction.
さらに、第2の構成例によれば第1の補正部70と第2の補正部80が画像データのうちの異なる成分を補正することもできる。例えば、図8(B)に示すように、色相領域CR1を補正値ΔH1で補正し、色相領域CR2を補正値ΔS2で補正することもできる。
Furthermore, according to the second configuration example, the
なお上述の通り、第1の補正部70と第2の補正部80については、図2に示す補正部10の第1の構成例と同様であるとして説明を省略した。具体的には、以下の用語の読み替えにより、図2等でした第1の構成例の説明を第1の補正部70と第2の補正部80に適用できる。
As described above, the
第1の補正部70と図2に示す構成例は次のように対応する。第1の補正部70の色相領域判定部72と変換部74はそれぞれ図2に示す色相領域判定部50と変換部60に対応する。第1の補正部70の第1の判定信号JS1と第1の補正値ΔH1は図2の構成例の判定信号JSと補正値ΔHに対応する。第1の補正部70が出力する第1の補正後HSV画像データ(H1,S1,V1)は図2の構成例が出力するHSV画像データ(Hout,Sout,Vout)に対応する。
The
また、第2の補正部80と図2に示す構成例は次のように対応する。第2の補正部80の色相領域判定部82と変換部84はそれぞれ図2の色相領域判定部50と変換部60に対応する。第2の補正部80の第2の判定信号JS2と第2の補正値ΔH2は図2の構成例の判定信号JSと補正値ΔHに対応する。第2の補正部80に入力される第1の補正後HSV画像データ(H1,S1,V1)は、図2の構成例に入力されるHSV画像データ(Hin,Sin,Vin)に対応する。
The
3.詳細な構成例
図9に、補正部10の詳細な構成例を示す。なお、図9に示すのは、図2で説明した補正部10の第1の構成例に対応する詳細な構成例である。同様に、図9の構成例は、図7で説明した第1の補正部70の詳細な構成例としても適用でき、第2の補正部80の詳細な構成例としても適用できる。また以下では、図2で説明した色相領域判定部等の各構成要素には同じ符号を付して説明を省略する。
3. Detailed Configuration Example FIG. 9 shows a detailed configuration example of the
図9に示す構成例は、k個の色相領域(kは自然数)において上式(13),(14)(第10の具体例)の補正値を用いて色相値Hin又は彩度値Sinを補正する場合に適用した補正部10の構成例である。この構成例では、レジスタ値MODが設定されることで色相値Hinを補正する色相補正モード又は彩度値Sinを補正する彩度補正モードが選択される。
In the configuration example shown in FIG. 9, the hue value Hin or the saturation value Sin is calculated using the correction values of the above formulas (13) and (14) (tenth specific example) in k hue regions (k is a natural number). It is a structural example of the correction |
具体的には、図9の構成例は、係数レジスタ300、色相領域判定部50、係数選択部210、補正差分値演算部220、LUT240、乗算係数演算部230、乗算部250、加算部260、マルチプレクサ272,274,276、オフセット加算部282,284,286を含む。
Specifically, the configuration example of FIG. 9 includes a
係数レジスタ300には、k個の色相領域それぞれに対応する補正基準ターゲット値、低色相側領域幅、高色相側領域幅、補正基準差分値、補正係数、彩度係数、オフセット(HT1〜HTk等)がレジスタ値として設定される。また、係数レジスタ300にはモードMODがレジスタ値として設定される。例えば、図10に示すホストコンピュータ106から係数レジスタ300にレジスタ値が設定される。
The
係数選択部210は、色相領域判定部50からの判定信号JSを受けて係数レジスタ300からレジスタ値を読み出す。具体的には、係数レジスタ300から入力されるレジスタ値のうち、色相値Hinが属する色相領域に対応するレジスタ値を選択して、補正基準ターゲット値HT、補正基準差分値A、係数B、係数C、オフセットHOF,SOF,VOFとして出力する。例えば、色相値Hinが色相領域n(nはk以下の自然数)の高色相側領域にある場合には、係数選択部210はレジスタ値AL1〜ALk,AH1〜AHkからAHnを選択して補正基準差分値Aとして出力する。
The
補正差分値演算部220は、色相値Hin及び、係数選択部210からの補正基準ターゲット値HTと補正基準差分値Aを受けて、差分値D2(=|A−|Hin−HT||)を演算して出力する。
The correction difference
LUT240(彩度変換処理部)は、彩度値Sinをルックアップテーブルにより変換彩度値LUT[Sin]に変換処理して出力する。LUT[Sin]は、ルックアップテーブルにより彩度値Sinから一意に決まる値である。なお、LUT240は、ルックアップテーブルでなく他の演算(例えば乗算器、加算器による演算)により変換処理を行ってもよい。
The LUT 240 (saturation conversion processing unit) converts the saturation value Sin into a converted saturation value LUT [Sin] using a lookup table and outputs the converted value. LUT [Sin] is a value uniquely determined from the saturation value Sin by a lookup table. Note that the
乗算係数演算部230は、係数B,Cと変換彩度値LUT[Sin]を受けて乗算係数MCを出力する。乗算係数演算部230は、係数Bと変換彩度値LUT[Sin]を乗算する乗算処理を行い、乗算処理の結果と係数Cを加算する加算処理を行って乗算係数MC(=B*LUT[Sin]+C)を演算する。なお、BとLUT[Sin]の乗算処理及びCの加算処理は他の値の乗算や加算を含んでもよい。
Multiplication
乗算部250は、補正差分値演算部220からの差分値D2と乗算係数演算部230からの乗算係数MCの乗算処理を行い、補正値ΔH(又はΔS。但しオフセットを除く)を出力する。なお、D2とMCの乗算処理は他の値の乗算や加算を含んでもよい。
The
マルチプレクサ272には、色相値Hin、彩度値Sinが入力される。そして、マルチプレクサ272は、レジスタ値MODを受けて色相補正モードの場合には色相値Hinを出力し、彩度補正モードの場合には彩度値Sinを出力する。
The
加算器260は、マルチプレクサ272の出力と乗算器250からの補正値の加算処理を行い、色相値(Hin+ΔH)又は彩度値(Sin+ΔS)を出力する。
The
マルチプレクサ274には、色相値Hin、色相値(Hin+ΔH)、レジスタ値MODが入力され、マルチプレクサ276には、彩度値Sin、彩度値(Sin+ΔS)、レジスタ値MODが入力される。そして、色相補正モードの場合には、マルチプレクサ274が色相値(Hin+ΔH)を出力し、マルチプレクサ276が彩度値Sinを出力する。また、彩度補正モードの場合には、マルチプレクサ274が色相値Hinを出力し、マルチプレクサ276が彩度値(Sin+ΔS)を出力する。
The
オフセット加算部282は、明度値Vinと係数選択部210からのオフセットVOFを加算し、明度値Voutを出力する。また、オフセット加算部284は、マルチプレクサ274の出力と係数選択部210からのオフセットHOFを加算して色相値Houtを出力する。オフセット加算部286は、マルチプレクサ276の出力と係数選択部210からのオフセットSOFを加算して彩度値Soutを出力する。
The offset
なお、本発明の補正部は図9に示す詳細な構成例に限定されず、変形実施が可能である。例えば、本発明の補正部は、色相値Hinや彩度値Sinだけでなく明度値Vinを差分値D2を用いた補正値で補正することもできる。また、本発明の補正部は、上記第10の具体例だけでなく上記他の具体例で説明した補正値を用いて補正を行うこともできる。 In addition, the correction | amendment part of this invention is not limited to the detailed structural example shown in FIG. 9, A deformation | transformation implementation is possible. For example, the correction unit of the present invention can correct not only the hue value Hin and the saturation value Sin but also the lightness value Vin with a correction value using the difference value D2. In addition, the correction unit of the present invention can perform correction using the correction values described in the other specific examples as well as the tenth specific example.
4.携帯電話端末
図10に携帯電話端末(電子機器)の構成例を示す。図10では、携帯電話端末100(電子機器)に画像表示制御装置108(集積回路装置)が搭載されている。この携帯電話端末100は、アンテナANと、通信/画像処理部102と、CCDカメラ104と、ホストコンピュータ106と、画像表示制御装置108と、ドライバ110(パネルドライバ112とバックライトドライバ114を含む)と、表示パネル(例えば液晶パネル(LCD))116と、バックライト(LED)118を含む。
4). Mobile Phone Terminal FIG. 10 shows a configuration example of a mobile phone terminal (electronic device). In FIG. 10, the image display control device 108 (integrated circuit device) is mounted on the mobile phone terminal 100 (electronic device). The
通信/画像処理部102は、アンテナANを介して画像データを受信する。ホストコンピュータ106は、通信/画像処理部102が受信した画像データと制御信号を画像表示制御装置108に出力する。CCDカメラ104は、撮影した画像データを画像表示制御装置108に出力する。
The communication /
画像表示制御装置108は、本発明の画像処理装置を含み、ホストコンピュータ106やCCDカメラ104から入力された画像データに対して図1等で説明した画像処理(画像補正)を行う。そして、画像表示制御装置108は、画像処理された画像データに基づいてドライバ110に制御信号を出力する。ここで、画像表示制御装置108は、表示画像に応じて適応的にバックライト減光を行う調光部を含むこともできる。また、表示画像及びバックライト減光に応じて適応的に輝度や彩度の補正を行う輝度彩度補正部を含むこともできる。この場合、画像表示制御装置108は、本発明の画像処理及び輝度彩度補正部の画像処理が行われた後の画像データをパネルドライバ112に出力し、調光部が出力するバックライト減光量をバックライトドライバ114に出力する。
The image
そして、ドライバ110は、表示パネル116及びバックライト118を駆動する。具体的には、パネルドライバ112は画像表示制御装置108からの画像データを受けて表示パネル116を駆動する。また、バックライトドライバ114は、画像表示制御装置108からのバックライト減光量を受けてバックライト118を駆動する。
The
なお、画像表示制御装置108は、ドライバ110とは別個の集積回路装置であってもよく、ドライバ110に搭載されてもよい。また、画像表示制御装置108は、ドライバ110のコントローラに搭載されてもよく、駆動制御装置(ドライバとコントローラが一体化されたもの)に搭載されてもよい。
The image
なお、上記のように本実施形態について詳細に説明したが、本発明の新規事項および効果から実体的に逸脱しない多くの変形が可能であることは当業者には容易に理解できるであろう。従って、このような変形例はすべて本発明の範囲に含まれるものとする。例えば、明細書又は図面において、少なくとも一度、より広義又は同義な異なる用語(第1の差分値、第2の差分値、補正係数、彩度係数、彩度変換処理部、変換彩度値等)と共に記載された用語(差分値D1、差分値D2、係数C、係数B、ルックアップテーブル、LUT[Sin]等)は、明細書又は図面のいかなる箇所においても、その異なる用語に置き換えることができる。また色相領域判定部、変換部、第1,第2の補正部、第1,第2の色空間変換部、係数レジスタ、係数選択部、補正差分値演算部、彩度変換処理部、乗算係数演算部、集積回路装置、電子機器等の構成、動作も本実施形態で説明したものに限定に限定されず、種々の変形実施が可能である。 Although the present embodiment has been described in detail as described above, it will be easily understood by those skilled in the art that many modifications can be made without departing from the novel matters and effects of the present invention. Accordingly, all such modifications are intended to be included in the scope of the present invention. For example, in the specification or drawings, at least once, different terms having a broader meaning or the same meaning (first difference value, second difference value, correction coefficient, saturation coefficient, saturation conversion processing unit, converted saturation value, etc.) The terms (difference value D1, difference value D2, coefficient C, coefficient B, look-up table, LUT [Sin], etc.) described together with can be replaced with the different terms anywhere in the specification or drawings. . Also, a hue area determination unit, a conversion unit, first and second correction units, first and second color space conversion units, a coefficient register, a coefficient selection unit, a correction difference value calculation unit, a saturation conversion processing unit, a multiplication coefficient The configurations and operations of the arithmetic unit, the integrated circuit device, the electronic device, and the like are not limited to those described in this embodiment, and various modifications can be made.
20 第1の色空間変換部、30 第2の色空間変換部、40 ガンマ補正部、
50 色相領域判定部、60 変換部、70 第1の補正部、
72 第1の色相領域判定部、74 第1の変換部、80 第2の補正部、
82 第2の色相領域判定部、84 第2の変換部、100 電子機器、
102 通信/画像処理部、104 CCDカメラ、106 ホストコンピュータ、
108 集積回路装置、110 ドライバ、112 パネルドライバ、
114 バックライトドライバ、116 表示パネル、118 バックライト、
210 係数選択部、220 補正差分値演算部、230 乗算係数演算部、
240 彩度変換処理部、250 乗算部、260 加算部、
272,274,276 マルチプレクサ、
282,284,286 オフセット加算部、300 係数レジスタ、
Hin 入力色相値、Sin 入力彩度値、Vin 入力明度値、
CR 色相領域、ΔH,ΔS 補正値、HT 補正基準ターゲット値、
A 補正基準差分値、C 補正係数、B 彩度係数、
HOF,SOF,VOF オフセット、
Rin,Gin,Bin 入力RGB画像データ、
Rout,Gout,Bout 出力RGB画像データ、
Hout,Sout,Vout 出力HSV画像データ、
H1,S1,V1 第1の補正後HSV画像データ、
H2,S2,V2 第2の補正後HSV画像データ
20 first color space conversion unit, 30 second color space conversion unit, 40 gamma correction unit,
50 hue area determination unit, 60 conversion unit, 70 first correction unit,
72 first hue region determination unit, 74 first conversion unit, 80 second correction unit,
82 second hue region determination unit, 84 second conversion unit, 100 electronic device,
102 communication / image processing unit, 104 CCD camera, 106 host computer,
108 integrated circuit device, 110 driver, 112 panel driver,
114 backlight driver, 116 display panel, 118 backlight,
210 coefficient selection unit, 220 correction difference value calculation unit, 230 multiplication coefficient calculation unit,
240 saturation conversion processing unit, 250 multiplication unit, 260 addition unit,
272, 274, 276 multiplexers,
282, 284, 286 Offset adder, 300 coefficient register,
Hin input hue value, Sin input saturation value, Vin input brightness value,
CR hue area, ΔH, ΔS correction value, HT correction reference target value,
A correction reference difference value, C correction coefficient, B saturation coefficient,
HOF, SOF, VOF offset,
Rin, Gin, Bin Input RGB image data,
Rout, Gout, Bout output RGB image data,
Hout, Sout, Vout output HSV image data,
H1, S1, V1 first corrected HSV image data,
H2, S2, V2 Second corrected HSV image data
Claims (15)
前記補正後RGB画像データをHSV形式の画像データに変換し、入力HSV画像データを出力する第1の色空間変換部と、
前記入力HSV画像データに対して補正を行い、出力HSV画像データを出力する補正部と、
前記出力HSV画像データをRGB形式の画像データに変換して、出力RGB画像データを出力する第2の色空間変換部と、
を含むことを特徴とする画像処理装置。 A gamma correction unit that performs gamma correction according to the display characteristics of the electro-optical panel on the input RGB image data, and outputs the corrected RGB image data;
A first color space conversion unit that converts the corrected RGB image data into image data in HSV format and outputs input HSV image data;
A correction unit that corrects the input HSV image data and outputs output HSV image data;
A second color space conversion unit that converts the output HSV image data into RGB format image data and outputs the output RGB image data;
An image processing apparatus comprising:
前記補正部は、
前記入力HSV画像データのうちの入力色相値が、複数の色相領域のうちのどの色相領域に対応するかを判定し、判定信号を出力する色相領域判定部と、
前記入力色相値と前記判定信号を用いて補正値を求め、前記補正値により前記入力色相値を補正する変換部と、
を含むことを特徴とする画像処理装置。 In claim 1,
The correction unit is
A hue area determination unit that determines which hue area of the plurality of hue areas corresponds to an input hue value of the input HSV image data, and outputs a determination signal;
A conversion unit that obtains a correction value using the input hue value and the determination signal, and corrects the input hue value by the correction value;
An image processing apparatus comprising:
前記補正部は、
前記入力HSV画像データのうちの入力色相値が、複数の色相領域のうちのどの色相領域に対応するかを判定し、判定信号を出力する色相領域判定部と、
前記入力色相値と前記判定信号を用いて補正値を求め、前記補正値により前記入力HSV画像データのうちの入力彩度値を補正する変換部と、
を含むことを特徴とする画像処理装置。 In claim 1,
The correction unit is
A hue area determination unit that determines which hue area of the plurality of hue areas corresponds to an input hue value of the input HSV image data, and outputs a determination signal;
A conversion unit that obtains a correction value using the input hue value and the determination signal, and corrects an input saturation value of the input HSV image data by the correction value;
An image processing apparatus comprising:
前記変換部は、
前記入力色相値と補正基準ターゲット値との差分の絶対値である第1の差分値を求め、補正基準差分値と前記第1の差分値との差分の絶対値である第2の差分値を求め、前記第2の差分値を用いて前記補正値を求めることを特徴とする画像処理装置。 In claim 2 or 3,
The converter is
A first difference value that is an absolute value of a difference between the input hue value and the correction reference target value is obtained, and a second difference value that is an absolute value of the difference between the correction reference difference value and the first difference value is obtained. An image processing apparatus characterized in that the correction value is obtained using the second difference value.
前記変換部は、
前記第2の差分値と補正係数を乗算処理して前記補正値を求めることを特徴とする画像処理装置。 In claim 4,
The converter is
An image processing apparatus, wherein the correction value is obtained by multiplying the second difference value and a correction coefficient.
前記補正基準ターゲット値と前記補正基準差分値と前記補正係数を設定する係数レジスタを含み、
前記変換部は、
前記色相領域判定部からの前記判定結果に基づいて、前記係数レジスタから前記補正基準ターゲット値と前記補正基準差分値と前記補正係数を読み出すことを特徴とする画像処理装置。 In claim 5,
A coefficient register for setting the correction reference target value, the correction reference difference value, and the correction coefficient;
The converter is
An image processing apparatus, wherein the correction reference target value, the correction reference difference value, and the correction coefficient are read from the coefficient register based on the determination result from the hue area determination unit.
前記補正部は、
前記入力HSV画像データのうちの入力色相値が、複数の色相領域のうちのどの色相領域に対応するかを判定し、判定信号を出力する色相領域判定部と、
前記判定信号と前記入力色相値と前記入力HSV画像データのうちの入力彩度値を用いて補正値を求め、前記補正値により前記入力色相値を補正する変換部と、
を含むことを特徴とする画像処理装置。 In claim 1,
The correction unit is
A hue area determination unit that determines which hue area of the plurality of hue areas corresponds to an input hue value of the input HSV image data, and outputs a determination signal;
A conversion unit that obtains a correction value using an input saturation value of the determination signal, the input hue value, and the input HSV image data, and corrects the input hue value using the correction value;
An image processing apparatus comprising:
前記補正部は、
前記入力HSV画像データのうちの入力色相値が、複数の色相領域のうちのどの色相領域に対応するかを判定し、判定信号を出力する色相領域判定部と、
前記判定信号と前記入力色相値と前記入力HSV画像データのうちの入力彩度値を用いて補正値を求め、前記補正値により前記入力彩度値を補正する変換部と、
を含むことを特徴とする画像処理装置。 In claim 1,
The correction unit is
A hue area determination unit that determines which hue area of the plurality of hue areas corresponds to an input hue value of the input HSV image data, and outputs a determination signal;
A conversion unit that obtains a correction value using an input saturation value of the determination signal, the input hue value, and the input HSV image data, and corrects the input saturation value by the correction value;
An image processing apparatus comprising:
前記変換部は、
前記入力色相値と補正基準ターゲット値との差分の絶対値である第1の差分値を求め、補正基準差分値と前記第1の差分値との差分の絶対値である第2の差分値を求め、前記入力彩度値を用いて乗算係数を求め、前記第2の差分値と前記乗算係数を乗算処理して前記補正値を求めることを特徴とする画像処理装置。 In claim 7 or 8,
The converter is
A first difference value that is an absolute value of a difference between the input hue value and the correction reference target value is obtained, and a second difference value that is an absolute value of the difference between the correction reference difference value and the first difference value is obtained. An image processing apparatus comprising: obtaining a multiplication coefficient using the input saturation value; and multiplying the second difference value by the multiplication coefficient to obtain the correction value.
前記変換部は、
前記入力彩度値と彩度係数を乗算処理して前記乗算係数を求め、前記第2の差分値と前記乗算係数を乗算処理して前記補正値を求めることを特徴とする画像処理装置。 In claim 9,
The converter is
An image processing apparatus, wherein the input saturation value and a saturation coefficient are multiplied to obtain the multiplication coefficient, and the second difference value and the multiplication coefficient are multiplied to obtain the correction value.
前記変換部は、
前記入力彩度値を変換処理して変換彩度値を出力する彩度変換処理部を有し、
前記変換彩度値を用いて乗算係数を求め、前記第2の差分値と前記乗算係数を乗算処理して前記補正値を求めることを特徴とする画像処理装置。 In claim 9,
The converter is
A saturation conversion processing unit that converts the input saturation value and outputs the converted saturation value;
An image processing apparatus, wherein a multiplication coefficient is obtained using the converted saturation value, and the correction value is obtained by multiplying the second difference value and the multiplication coefficient.
前記変換部は、
前記変換彩度値と彩度係数を乗算処理して前記乗算係数を求め、前記第2の差分値と前記乗算係数を乗算処理して前記補正値を求めることを特徴とする画像処理装置。 In claim 11,
The converter is
An image processing apparatus, comprising: multiplying the converted saturation value and a saturation coefficient to obtain the multiplication coefficient; and multiplying the second difference value and the multiplication coefficient to obtain the correction value.
前記補正後RGB画像データをHSV形式の画像データに変換し、入力HSV画像データを出力する第1の色空間変換部と、
前記入力HSV画像データに対して補正を行い、出力HSV画像データを出力する補正部と、
前記出力HSV画像データをRGB形式の画像データに変換して、出力RGB画像データを出力する第2の色空間変換部と、
を含み、
前記補正部は、
前記入力HSV画像データに対して補正を行い、第1の補正後HSV画像データを出力する第1の補正部と、
前記第1の補正後HSV画像データに対して補正を行い、第2の補正後HSV画像データを前記出力HSV画像データとして出力する第2の補正部と、
を有することを特徴とする画像処理装置。 A gamma correction unit that performs gamma correction according to the display characteristics of the electro-optical panel on the input RGB image data, and outputs the corrected RGB image data;
A first color space conversion unit that converts the corrected RGB image data into image data in HSV format and outputs input HSV image data;
A correction unit that corrects the input HSV image data and outputs output HSV image data;
A second color space conversion unit that converts the output HSV image data into RGB format image data and outputs the output RGB image data;
Including
The correction unit is
A first correction unit that performs correction on the input HSV image data and outputs first corrected HSV image data;
A second correction unit that corrects the first corrected HSV image data and outputs the second corrected HSV image data as the output HSV image data;
An image processing apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008155168A JP5120084B2 (en) | 2008-06-13 | 2008-06-13 | Image processing apparatus, integrated circuit device, and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008155168A JP5120084B2 (en) | 2008-06-13 | 2008-06-13 | Image processing apparatus, integrated circuit device, and electronic apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009302906A true JP2009302906A (en) | 2009-12-24 |
JP5120084B2 JP5120084B2 (en) | 2013-01-16 |
Family
ID=41549341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008155168A Active JP5120084B2 (en) | 2008-06-13 | 2008-06-13 | Image processing apparatus, integrated circuit device, and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5120084B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015508602A (en) * | 2012-01-20 | 2015-03-19 | ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. | Image display method and apparatus |
CN105225647A (en) * | 2015-10-15 | 2016-01-06 | 小米科技有限责任公司 | Luminance regulating method and device |
WO2020118926A1 (en) * | 2018-12-11 | 2020-06-18 | 惠科股份有限公司 | Display panel driving method, driving system, and display device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09116756A (en) * | 1995-10-23 | 1997-05-02 | Konica Corp | Digital gradation converter |
JPH09331463A (en) * | 1996-06-12 | 1997-12-22 | Dainippon Printing Co Ltd | Color correction system |
JPH11112823A (en) * | 1997-10-08 | 1999-04-23 | Seiko Epson Corp | Method for deciding ink color generating quantity in inking, its device and medium recording its program |
JP2002015314A (en) * | 2000-04-28 | 2002-01-18 | Fuji Photo Film Co Ltd | Image outputting method, device, and storage medium |
JP2004356930A (en) * | 2003-05-29 | 2004-12-16 | Matsushita Electric Ind Co Ltd | Apparatus and method for adjusting color |
JP2005204229A (en) * | 2004-01-19 | 2005-07-28 | Olympus Corp | Image processing apparatus, image processing method, and image processing program |
JP2006013836A (en) * | 2004-06-25 | 2006-01-12 | Seiko Epson Corp | Image data processing for processing color image data of color image |
JP2007036514A (en) * | 2005-07-26 | 2007-02-08 | Sharp Corp | Image conversion system |
JP2007150943A (en) * | 2005-11-30 | 2007-06-14 | Sony Corp | Color adjusting device, displaying device, printing device, image processing device, color adjusting method, displaying method of graphical user interface, and program |
JP2007236415A (en) * | 2006-03-03 | 2007-09-20 | Olympus Medical Systems Corp | Living body observation apparatus |
-
2008
- 2008-06-13 JP JP2008155168A patent/JP5120084B2/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09116756A (en) * | 1995-10-23 | 1997-05-02 | Konica Corp | Digital gradation converter |
JPH09331463A (en) * | 1996-06-12 | 1997-12-22 | Dainippon Printing Co Ltd | Color correction system |
JPH11112823A (en) * | 1997-10-08 | 1999-04-23 | Seiko Epson Corp | Method for deciding ink color generating quantity in inking, its device and medium recording its program |
JP2002015314A (en) * | 2000-04-28 | 2002-01-18 | Fuji Photo Film Co Ltd | Image outputting method, device, and storage medium |
JP2004356930A (en) * | 2003-05-29 | 2004-12-16 | Matsushita Electric Ind Co Ltd | Apparatus and method for adjusting color |
JP2005204229A (en) * | 2004-01-19 | 2005-07-28 | Olympus Corp | Image processing apparatus, image processing method, and image processing program |
JP2006013836A (en) * | 2004-06-25 | 2006-01-12 | Seiko Epson Corp | Image data processing for processing color image data of color image |
JP2007036514A (en) * | 2005-07-26 | 2007-02-08 | Sharp Corp | Image conversion system |
JP2007150943A (en) * | 2005-11-30 | 2007-06-14 | Sony Corp | Color adjusting device, displaying device, printing device, image processing device, color adjusting method, displaying method of graphical user interface, and program |
JP2007236415A (en) * | 2006-03-03 | 2007-09-20 | Olympus Medical Systems Corp | Living body observation apparatus |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015508602A (en) * | 2012-01-20 | 2015-03-19 | ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. | Image display method and apparatus |
EP2779150A4 (en) * | 2012-01-20 | 2015-06-17 | Huawei Device Co Ltd | Image display method and device |
US9390678B2 (en) | 2012-01-20 | 2016-07-12 | Huawei Device Co., Ltd. | Image display method and device |
CN105225647A (en) * | 2015-10-15 | 2016-01-06 | 小米科技有限责任公司 | Luminance regulating method and device |
CN105225647B (en) * | 2015-10-15 | 2018-09-18 | 小米科技有限责任公司 | Luminance regulating method and device |
WO2020118926A1 (en) * | 2018-12-11 | 2020-06-18 | 惠科股份有限公司 | Display panel driving method, driving system, and display device |
US11355078B2 (en) | 2018-12-11 | 2022-06-07 | HKC Corporation Limited | Display panel driving method, driving system and display device |
Also Published As
Publication number | Publication date |
---|---|
JP5120084B2 (en) | 2013-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080170031A1 (en) | Method for performing chromatic adaptation while displaying image, and corresponding display circuit and device | |
JP4976404B2 (en) | Liquid crystal display | |
US10755620B2 (en) | Tone correction data preparation device, tone correction device, electronic apparatus, and tone correction data preparation method | |
US9691347B2 (en) | Image processing apparatus, image processing method, display panel driver and display apparatus | |
US20080266315A1 (en) | Method and apparatus for displaying images having wide color gamut | |
JP2007157116A (en) | Apparatus for adjusting specific color attribute and method therefor | |
EP1370072B1 (en) | Color conversion device and color conversion method | |
EP1835727B1 (en) | Color correction method, color correction device, and color correction program | |
US20090147099A1 (en) | Method of performing auto white balance in ycbcr color space | |
US8248432B2 (en) | Display apparatus and method of image enhancement thereof | |
JP2008065185A (en) | Display controller, display device, display system, and display control method | |
CN112671998B (en) | Fine-adjustable color gamut mapping device | |
JP5120084B2 (en) | Image processing apparatus, integrated circuit device, and electronic apparatus | |
JP5206573B2 (en) | Image processing apparatus, integrated circuit device, and electronic apparatus | |
RU2430487C1 (en) | Video converter, video display and video conversion method | |
JP4047859B2 (en) | Color correction apparatus and method for flat panel display device | |
JP6815099B2 (en) | Color adjustment circuit, display driver and display device | |
JP5067270B2 (en) | Image processing apparatus, integrated circuit device, and electronic apparatus | |
JP2005057543A (en) | System and method for panel display television adjustment, and panel display television | |
JP2001282190A (en) | Liquid crystal display device, medium, and information assembly | |
JP2008098814A (en) | Video-signal processor | |
US20080112024A1 (en) | Image processing apparatus, image processing method, image processing program, recording medium storing image processing program, and image display apparatus | |
WO2019116463A1 (en) | Image display device and image display method | |
JP2005051745A (en) | Color temperature correcting circuit | |
JP2006270592A (en) | Image processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110608 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120416 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120424 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120614 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120717 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120905 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120925 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121008 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151102 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5120084 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |