JP2007042033A - Color correction apparatus and image display device - Google Patents
Color correction apparatus and image display device Download PDFInfo
- Publication number
- JP2007042033A JP2007042033A JP2005228191A JP2005228191A JP2007042033A JP 2007042033 A JP2007042033 A JP 2007042033A JP 2005228191 A JP2005228191 A JP 2005228191A JP 2005228191 A JP2005228191 A JP 2005228191A JP 2007042033 A JP2007042033 A JP 2007042033A
- Authority
- JP
- Japan
- Prior art keywords
- color
- coordinate
- movement amount
- weight
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、色補正装置および画像表示装置に関し、特に、画像の色をより好ましく補正することができるようにする色補正装置および画像表示装置に関するものである。 The present invention relates to a color correction apparatus and an image display apparatus, and more particularly to a color correction apparatus and an image display apparatus that can correct the color of an image more preferably.
従来のカラーテレビジョンなどに搭載される色補正装置および画像表示装置では、表示デバイス特性による色の誤差を補正し、できるだけ原画像に忠実になるように色再現を行っていた。 In a color correction apparatus and an image display apparatus mounted on a conventional color television or the like, a color error due to display device characteristics is corrected and color reproduction is performed so as to be as faithful as possible to the original image.
一方、人間は特定の色に対して敏感である。例えば、空の色、人物の顔の色、草木の色、桜の色、花の色、土の色、野菜の色などは現実のものと結びついて連想可能な、思い起こせる色といわれ、記憶色と呼ばれている。その中で、特に、人間の肌の肌色、風景画の空の空色、草木の緑色の色には敏感といわれている。一般に、記憶色では、実際の色よりもその特徴が強調され、より鮮やかに記憶されるため、実際の色とは異なることが知られている。よって、忠実な色の再現よりも、記憶色に近い色の再現を行う方がより人間にとって好ましく感じられるといわれている。 On the other hand, humans are sensitive to specific colors. For example, sky color, human face color, plant color, cherry blossom color, flower color, soil color, vegetable color, etc. are said to be reminiscent colors that can be associated with the real thing, memory colors is called. Among them, it is said that it is particularly sensitive to the skin color of human skin, the sky sky color of landscapes, and the green color of plants. In general, it is known that a memory color is different from an actual color because its characteristics are emphasized and stored more vividly than an actual color. Therefore, it is said that it is more preferable for human beings to reproduce colors close to memory colors than to reproduce faithful colors.
この記憶色は、国、地方、年齢などにより異なるため、装置の使用対象となる国、地方、年齢のデータが収集され、主観評価から得られるデータを統計処理し、予め決定される色である。通常は、記憶色はある色領域に分布するものであり、その代表色を目標色として色補正を行っている。 Since this memory color varies depending on the country, region, age, etc., data on the country, region, and age that the device is to be used for is collected, and the data obtained from the subjective evaluation is statistically processed and determined in advance. . Normally, memory colors are distributed in a certain color area, and color correction is performed using the representative colors as target colors.
本明細書において、「特定の色」とは、記憶色のように、予め個別に決定される色領域の代表色であり、目標色である。 In this specification, the “specific color” is a representative color of a color region that is individually determined in advance, such as a memory color, and is a target color.
一般的に、記憶色補正では、画像中に含まれる記憶色に近い色をより記憶色に近づくように補正する。そこで、記憶色以外の色に対する影響を抑えるため、記憶色に近い色の領域を抽出し、その領域のみ補正を行っていた。例えば、画像中の風景画では、風景にある青空の領域の色が、記憶色の空色に補正されて出力される。 In general, in the memory color correction, a color close to the memory color included in the image is corrected so as to be closer to the memory color. Therefore, in order to suppress the influence on colors other than the memory color, a color area close to the memory color is extracted and only the area is corrected. For example, in the landscape image in the image, the color of the blue sky region in the landscape is corrected to the sky blue of the memory color and output.
しかし、記憶色の領域を抽出し、その領域のみ局所的な補正を行う場合、補正を行っていない領域との色の変化が急激なものとなり、その境界部分に擬似輪郭が発生するといった問題点があった。 However, when a memory color area is extracted and local correction is performed only on that area, the color change from the area that has not been corrected becomes abrupt and a pseudo contour is generated at the boundary. was there.
この問題を回避するために、画像全体に含まれる記憶色の領域の統計量を算出し、主な被写体が何かを判断し、画像を「ポートレート画像」、「風景画像」、「小人物画像」などのカテゴリに分類して、このカテゴリ毎に色補正を切り替える方法が開発されている。 To avoid this problem, calculate the statistic of the memory color area included in the entire image, determine what the main subject is, and define the image as a “portrait image”, “landscape image”, “small person image” And a method of switching color correction for each category has been developed.
具体的には、人物が比較的広い範囲に映っている「ポートレート画像」に対し、記憶色の領域(例えば、人物の肌の領域)のみを抽出し、人物の肌色領域の輝度のみを補正した場合、肌色の領域とその周辺の輝度の差が急激なものとなり、擬似輪郭が目立つ。 Specifically, for a “portrait image” in which a person appears in a relatively wide range, only the memory color area (for example, the person's skin area) is extracted, and only the brightness of the person's skin color area is corrected. In this case, the difference in brightness between the skin color area and the surrounding area becomes abrupt, and the pseudo contour is conspicuous.
そこで、人物の肌の領域(肌色領域)、風景の空の領域(空色領域)、草木の緑の領域(緑色領域)など所定の記憶色に近似している領域(以下、単に「記憶色領域」と記す)の画像全体に占める割合を算出し、カテゴリに分類する。次に、カテゴリに応じて、局所的な領域に記憶色補正を実行するか、実行しないかを判定し処理を切り替え、これにより、擬似輪郭の発生を抑えていた(例えば特許文献1)。
しかしながら、上記従来の構成では、記憶色補正を行う場合、記憶色領域と記憶色領域以外の境界付近で色の変化が発生する。さらに、動画像ではこの変化が目立ちやすい。また、記憶色補正では補正効果をより高めるため、記憶色から離れるほどより記憶色に近づけるように補正量を増やし、領域の境界付近で急激な色の変化が起こりやすいといった課題がある。 However, in the above-described conventional configuration, when memory color correction is performed, a color change occurs near the boundary between the memory color area and the memory color area. Further, this change is conspicuous in moving images. Further, in memory color correction, in order to further improve the correction effect, there is a problem that the amount of correction is increased so as to be closer to the memory color as the distance from the memory color increases, and a rapid color change is likely to occur near the boundary of the region.
本発明は、急激な色の変化を抑え、画像の色をより好ましく補正するための色補正装置および画像表示装置を提供することを目的とする。 An object of the present invention is to provide a color correction apparatus and an image display apparatus for suppressing an abrupt color change and more preferably correcting an image color.
上記目的を達成するために、本発明の色補正装置は、色座標値に対応して予め設定した座標移動量に基づいて、入力した画像データの色座標値を移動させるための第1の座標移動量を算出する第1座標移動量算出部と、予め定められた色領域から色領域外に向けて減少する重み関数に基づいて、色座標値に応じて色重みを算出する色重み算出部と、第1の座標移動量に色重みを乗じて第2の座標移動量を算出する第2座標移動量算出部と、第2の座標移動量に基づいて色座標値を移動させる座標移動部とを備えたことを特徴とする。 In order to achieve the above object, the color correction apparatus according to the present invention includes a first coordinate for moving the color coordinate value of the input image data based on a coordinate movement amount set in advance corresponding to the color coordinate value. A first coordinate movement amount calculation unit that calculates a movement amount, and a color weight calculation unit that calculates a color weight according to a color coordinate value based on a weight function that decreases from a predetermined color region toward the outside of the color region A second coordinate movement amount calculation unit that calculates a second coordinate movement amount by multiplying the first coordinate movement amount by a color weight, and a coordinate movement unit that moves a color coordinate value based on the second coordinate movement amount It is characterized by comprising.
このような構成により、予め定められた色領域と色領域外の境界付近の急激な色の変化を抑え、画像中の色座標値を移動させることができる。 With such a configuration, it is possible to suppress a rapid color change near a boundary between a predetermined color area and the color area, and to move a color coordinate value in the image.
また、予め定められた色領域が複数あり、色重み算出部は、色領域毎に重みを算出する構成であってもよい。 Further, there may be a plurality of predetermined color regions, and the color weight calculation unit may be configured to calculate weights for each color region.
このような構成により、予め定められた色領域毎に重みを算出でき、色領域毎に最適な重みを算出できる。 With such a configuration, a weight can be calculated for each predetermined color area, and an optimum weight can be calculated for each color area.
また、色座標値は色相値、彩度値、明度値より指定する構成であってもよい。 Further, the color coordinate value may be specified from a hue value, a saturation value, and a brightness value.
このような構成により、色相値、彩度値、明度値を独立に処理できる。 With such a configuration, the hue value, saturation value, and brightness value can be processed independently.
また、座標移動部は、色座標値と第2の座標移動量を加算することで、色座標値を移動させる構成としてもよい。 Further, the coordinate moving unit may be configured to move the color coordinate value by adding the color coordinate value and the second coordinate movement amount.
このような構成により、回路規模を抑えて、色座標値を移動させることができる。 With such a configuration, the color coordinate value can be moved while suppressing the circuit scale.
また、入力した画像データの色相値を変更するオフセット値を設定可能とした記憶部を備えた構成であってもよい。 Moreover, the structure provided with the memory | storage part which enabled the setting of the offset value which changes the hue value of the input image data may be sufficient.
このような構成により、予め定められた色領域の検出範囲を変更でき、画像の色の特徴に合わせて色座標値を移動できる。 With such a configuration, the detection range of a predetermined color area can be changed, and the color coordinate value can be moved in accordance with the color characteristics of the image.
また、色補正装置は、更に、画像データをフレーム単位またはフィールド単位で記憶する画像メモリと、画像メモリに記憶された画像データから所定の条件の色成分を検出する色成分検出部と、検出した色成分のうち、色相成分のヒストグラムを作成し、ヒストグラムの分布に基づいてオフセット値を算出するオフセット算出部と、算出されたオフセット値を記憶部に設定する設定部とを備えた構成であってもよい。 The color correction apparatus further detects an image memory that stores image data in units of frames or fields, and a color component detection unit that detects a color component of a predetermined condition from the image data stored in the image memory. Among the color components, a configuration is provided that includes an offset calculation unit that creates a hue component histogram and calculates an offset value based on the distribution of the histogram, and a setting unit that sets the calculated offset value in a storage unit. Also good.
このような構成により、予め定められた色領域と色領域外の境界付近の急激な色の変化をより目立たないようにできる。 With such a configuration, it is possible to make an abrupt color change near a predetermined color region and a boundary outside the color region less noticeable.
また、所定の条件の色成分は、所定の彩度領域内で、かつ所定の明度領域内にある色成分であることが好ましい。 Moreover, it is preferable that the color component of the predetermined condition is a color component in a predetermined saturation region and in a predetermined lightness region.
このような構成により、所定の彩度領域内で、かつ所定の明度領域内にある色成分を検出でき、より特定の色に近い色成分のみを検出できる。 With such a configuration, it is possible to detect color components within a predetermined saturation region and within a predetermined lightness region, and it is possible to detect only color components closer to a specific color.
また、設定された色温度に基づいてオフセット値を決定する構成であってもよい。 Further, the offset value may be determined based on the set color temperature.
このような構成により、設定される色温度に合わせて色領域の検出範囲を変更でき、画像の特徴に合わせて色座標値を移動できる。 With such a configuration, the detection range of the color area can be changed according to the set color temperature, and the color coordinate value can be moved according to the feature of the image.
また、本発明の画像表示装置は、通信または放送された画像データを受信するデータ受信部と、受信された画像データの色座標値を移動させる色補正装置と、色補正装置により移動された色座標値の画像データを表示する表示部とを備えたことを特徴とする。 The image display device of the present invention includes a data receiving unit that receives image data transmitted or broadcasted, a color correction device that moves a color coordinate value of the received image data, and a color moved by the color correction device. And a display unit for displaying image data of coordinate values.
このような構成により、予め定められた色領域と色領域外の境界付近の急激な色の変化を抑え、画像中の色座標値を移動できる画像表示装置ができる。 With such a configuration, an image display apparatus that can suppress a rapid color change near a boundary between a predetermined color area and the outside of the color area and move a color coordinate value in the image can be provided.
本発明によれば、急激な色の変化を抑え、画像の色をより好ましく補正するための色補正装置および画像表示装置を提供できる。 ADVANTAGE OF THE INVENTION According to this invention, the color correction apparatus and image display apparatus for suppressing the rapid color change and correcting the color of an image more preferably can be provided.
以下、本発明の実施の形態について、図面を用いて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(第1の実施の形態)
まず、第1の実施の形態である色補正装置について説明する。図1は、第1の実施の形態における色補正装置1のブロック図である。
(First embodiment)
First, the color correction apparatus according to the first embodiment will be described. FIG. 1 is a block diagram of a
図1において、色空間変換部5は、Ri(赤)、Gi(緑)、Bi(青)で指定されるRGB色座標の画像データ(Ri、Gi、Bi)を、色相、彩度、明度で指定されるHSV色座標の画像データ(H、S、V)に変換する。ここで、Hは色相、Sは彩度、Vは明度であり、色相データ101、彩度データ102、明度データ103を出力する。変換の詳細は後述する。
In FIG. 1, a color
次に、色領域判定部2は、色相データ101から予め定めた色領域を検出し、判定信号202を出力する。例えば、人物の顔の肌色領域、風景画の空の空色領域、草木の緑色領域などの色領域を予め定め、その色領域を判定する。また、検出する色相を変更するための色相変更データ203を出力する。色相変更データ203の詳細は後述する。
Next, the color
次に、色重み算出部3は、判定信号202と色相変更データ203とを入力し、色相軸、彩度軸、明度軸のそれぞれに対して予め設定した重み関数に基づいて、入力した画像データの色座標値に応じた重みを算出し、色重み信号301(Kg)を出力する。色重み信号301(Kg)は、色座標値を移動させるための移動量の大きさを変更する重み信号である。
Next, the color
次に、第1座標移動量算出部4は、判定信号202と色相変更データ203と色重み信号301を入力し、色相データ101、彩度データ102、明度データ103に対し予め定めた特定の色の色座標値に近づけるため移動方向と大きさを決定し、第1の座標移動量を算出し、移動量δh、移動量δs、移動量δvを出力する。
Next, the first coordinate movement
ここで、特定の色とは、例えば、人間が印象として記憶している代表的な色合いを実験的に求め、予め定めた色である。例えば、人物の肌の代表的な色、風景の空の代表的な色、草木の緑の代表的な色のデータを収集し、主観評価データを統計処理し決定した代表色であり、目標色である。 Here, the specific color is, for example, a color determined in advance by experimentally obtaining a representative color that is stored as an impression by human beings. For example, it is a representative color that is determined by collecting data of representative colors of human skin, representative colors of the sky in landscapes, and representative colors of greenery of plants and statistically processing subjective evaluation data. It is.
次に、第2座標移動量算出部8は、色重み信号301(Kg)と第1の座標移動量である移動量δh、移動量δs、移動量δvとを入力し、色相データ101、彩度データ102、明度データ103に対し予め定めた特定の色の色座標値に近づけるための第2の座標移動量を算出し、色相移動量401(Δh)、彩度移動量402(Δs)、明度移動量403(Δv)を出力する。
Next, the second coordinate movement
次に、座標移動部9は、色相移動量401(Δh)、彩度移動量402(Δs)、明度移動量403(Δv)と、色相データ101、彩度データ102、明度データ103とをそれぞれ加算処理し、入力された画像データの色座標値を特定の色の色座標値に近づけるように移動させる。
Next, the coordinate moving
具体的には、加算器11は色相データ101と色相移動量401(Δh)を加算し、加算器12は彩度データ102と彩度移動量402(Δs)を加算し、加算器13は明度データ103と明度移動量403(Δv)を加算する。
Specifically, the
ここで、色座標値が移動すると色が変化する。よって、移動量が大きいほど色の変化が大きい。よって、特定の色の色座標値に近づけるように移動するということは、特定の色に近づくように色補正することと同じである。 Here, the color changes as the color coordinate value moves. Therefore, the greater the amount of movement, the greater the color change. Therefore, moving so as to approach the color coordinate value of a specific color is the same as performing color correction so as to approach the specific color.
次に、色空間逆変換部6は、HSV色座標で指定される画像データ(H、S、V)をRGB色座標で指定される画像データ(Ro、Go、Bo)に逆変換し、出力する。逆変換の詳細は後述する。
Next, the color space
次に、第1の実施の形態における色補正装置1について、さらに詳しく説明する。
Next, the
まず、図2、図3を用いて色領域判定部2を説明する。図2は、色領域判定部2のブロック図、図3は、色選択部21の説明図である。図2において、色選択部21は、人物の顔の肌色領域、風景画の空の空色領域、草木の緑色領域などの色領域を予め定め、色相データ101から肌色領域、空色領域、緑色領域などの色領域を検出し、判定信号202を出力する。判定信号202は、図3に示すように、色相に対して、判定信号が設定される。ここで、例えば、色相の位相で0≦θ<60は肌色領域とし、判定信号202として「0」を割り当てる。同様に、判定信号202の割り当てとして、60≦θ<180は緑色領域とし「1」を割り当て、180≦θ<300は空色領域とし「2」を割り当て、300≦θ<360は肌色領域とし「0」を割り当てる。
First, the color
なお、色選択部21は色相データ101をそのまま入力することで、色相の任意の角度で色領域を検出するようにしたが、予め固定した角度を単位に検出してもよい。例えば、色相を30度単位で12の領域に分割しもよい。この場合、色相データ101の上位4ビットのみ検出すればよい。
Note that the
次に、検出する色領域の範囲を変更する場合について説明する。位相変更部22は、判定信号202に従って、レジスタ24、レジスタ25、レジスタ26の出力を選択し、各レジスタに設定されている色相のオフセット値を出力する。これにより、独立に色領域毎の色の検出範囲を変更できる。例えば、レジスタ24には肌色領域に対するオフセット値を設定し信号241を出力する。同様に、レジスタ25には緑色領域に対するオフセット値を設定し信号242を出力する。レジスタ26には空色領域に対するオフセット値を設定し信号243を出力する。位相変更部22は、各レジスタからの出力を判定信号202に従って選択し、変更データ244を出力する。また、加算器23は、色相データ101から位相変更部22の変更データ244を減算した色相変更データ203を出力する。
Next, the case where the range of the color area to be detected is changed will be described. The
なお、レジスタに必要なビット数は、色相の検出範囲、分解能によって決定する。例えば、0〜127まで1ステップ単位で検出する場合は、7ビット必要となる。この場合、レジスタの上位ビットは符号ビットとなり、色相をシフトさせる色方向を決定する。 The number of bits required for the register is determined by the hue detection range and resolution. For example, when detecting from 0 to 127 in units of 1 step, 7 bits are required. In this case, the upper bits of the register are sign bits and determine the color direction in which the hue is shifted.
また、色相変更データ203には、色相データ101のデータ精度がNビットの分解能で表現されるとき、下位Lビット(N>L)を用いるようにした。必要なビット数は、色相の検出範囲、分解能によって決定する。例えば、0〜255まで1ステップ単位で検出する場合は、8ビット必要となる。
The
次に、図4、図5、図6を用いて色重み算出部3について説明する。色重み算出部3は、色相軸に沿った重みKhと、彩度軸に沿った重みKsと、明度軸に沿った重みKvとに基づいて、色座標値に対応した移動量の大きさを変更する色重み信号301(Kg)を出力する。
Next, the color
まず、図4において、色相重み算出部31は、色相軸に対して、特定の色との近似度に応じてどの程度の移動量で処理するかを予め決定した重み関数に基づいて、移動量の大きさを変える重みKhを画像データの色相に対応して算出する。
First, in FIG. 4, the hue
具体的には、色相軸に対して、図5(a)に示すように、肌色領域の中心Psにおいて重みKhは最大値「1」を出力し、Psから離れた下限であるP1と上限であるP3で最小値「0」を出力する。ここで、縦軸は重みKhを表すものとし、横軸は色相を表すものである。色相は0から360度まで値が変化する。 Specifically, with respect to the hue axis, as shown in FIG. 5A, the weight Kh outputs the maximum value “1” at the center Ps of the flesh color region, and the lower limit P1 and the upper limit away from Ps. The minimum value “0” is output at a certain P3. Here, the vertical axis represents the weight Kh, and the horizontal axis represents the hue. The hue value varies from 0 to 360 degrees.
同様に、図5(d)に示すように、空色領域の中心Pbにおいて重みKhは最大値「1」を出力し、Pbから離れた下限であるP6と上限であるP9で最小値「0」を出力する。ここで、縦軸は重みKhを表すものとし、横軸は色相を表すものである。ここで、縦軸は重みKhを表すものとし、横軸は色相を表すものである。色相は0から360度まで値が変化する。 Similarly, as shown in FIG. 5D, the weight Kh outputs the maximum value “1” at the center Pb of the sky blue region, and the minimum value “0” at the lower limit P6 and the upper limit P9. Is output. Here, the vertical axis represents the weight Kh, and the horizontal axis represents the hue. Here, the vertical axis represents the weight Kh, and the horizontal axis represents the hue. The hue value varies from 0 to 360 degrees.
また、図5(g)に示すように、緑色領域の中心Pgにおいて重みKhは最大値「1」を出力し、Pgから離れた下限値のP3と上限値のP6で最小値「0」を出力する。ここで、縦軸は重みKhを表すものとし、横軸は色相を表すものである。色相は0から360度まで値が変化する。 Further, as shown in FIG. 5G, the weight Kh outputs the maximum value “1” at the center Pg of the green region, and the minimum value “0” is set between the lower limit value P3 and the upper limit value P6 that are separated from Pg. Output. Here, the vertical axis represents the weight Kh, and the horizontal axis represents the hue. The hue value varies from 0 to 360 degrees.
即ち、色相について、予め決定した特定の色と一致する色相Ps、Pb、Pgで最大となり、Ps、Pb、Pgから離れるに従って減少するようにしている。Ps、Pb、Pgは、国、地方、年齢などにより異なるため、装置の使用対象となる国、地方、年齢などのデータを収集し、主観評価データを統計処理し、予め目標色を決定する。 That is, the hue is maximized at hues Ps, Pb, and Pg that match a predetermined specific color, and decreases with distance from Ps, Pb, and Pg. Since Ps, Pb, and Pg differ depending on the country, region, age, and the like, data such as the country, region, age, etc., to which the apparatus is to be used is collected, subject evaluation data is statistically processed, and a target color is determined in advance.
また、判定信号202に従って、どの特定の色の領域に対する重みKhを出力するかを決定する。例えば、判定信号202が「0」であれば、肌色領域の重みKhを出力する。同様に、判定信号202が「1」であれば、緑色領域の重みKh、判定信号202が「2」であれば、空色領域の重みKhを出力する。
In addition, according to the
ここで、色相重み算出部31の動作について図6を用いて説明する。図6において、重み関数は、予め定めた色領域から色領域外に向けて連続して減少するように設定している。例えば、予め定めた色領域は記憶色領域に基づく領域であり、肌色領域としてはP1からP2が通常設定される領域である。しかし、本発明では重みの変化範囲を下限値はP1からP9にし、上限値はP2からP3に拡大する。よって、重みKhが肌色Psで最大値「1」とし、下限値のP9側、上限値のP3側で減少するようにしている。
Here, the operation of the hue
同様に、通常設定される緑色領域はP4からP5であるが、緑色領域の色相の下限値をP4からP3に拡大し、上限値をP5からP6に拡大する。重みKhが緑色Pgで最大値「1」とし、下限値のP3側、上限値のP6側で減少するようにしている。 Similarly, the normally set green region is P4 to P5, but the lower limit value of the hue of the green region is expanded from P4 to P3, and the upper limit value is expanded from P5 to P6. The weight Kh is green Pg and has a maximum value “1”, and decreases on the lower limit P3 side and the upper limit P6 side.
また、通常設定される空色領域の色相の範囲はP7からP8であるが、空色領域の下限値をP7からP6にし、上限値をP8からP9に拡大し、重みKhが空色Pbで最大値「1」とし、下限値のP6側、上限値のP9側で減少するようにしている。 Further, the hue range of the normally set sky blue area is P7 to P8, but the lower limit value of the sky blue area is increased from P7 to P6, the upper limit value is increased from P8 to P9, the weight Kh is the maximum value “ 1 ”, and decreases on the P6 side of the lower limit value and the P9 side of the upper limit value.
以上のように、重みKhは、予め定めた色領域から色領域外に向けて連続して減少するように設定しているので、特定の色への補正あり、補正なしの2値的な変化がなくなる。また、色相軸における重みの変化範囲を拡大することで、重みKhの変化をなだらかにできる。よって、予め定めた色領域と色領域外との境界付近での急激な色の変化を抑えることができる。 As described above, the weight Kh is set so as to continuously decrease from a predetermined color area toward the outside of the color area, and therefore, a binary change with correction to a specific color and without correction. Disappears. Further, the change in the weight Kh can be made gentle by expanding the change range of the weight on the hue axis. Therefore, it is possible to suppress a rapid color change near the boundary between the predetermined color area and the outside of the color area.
次に、彩度重み算出部32は、各特定の色毎に、彩度軸に対して、移動量の大きさを変更する重みKsを画像データの色座標値の彩度に対応して算出する。具体的には、図5(b)、図5(e)、図5(h)に示すように、重みKsを定める。ここで、縦軸は重みKsを表すものとし、横軸は彩度を表すものとする。彩度は0から255まで値が変化する。
Next, the saturation
また、判定信号202に従って、どの特定の色の領域に対する重みを出力するかを決定する。例えば、判定信号202が「0」であれば、肌色領域の重みKsを出力する。同様に、判定信号202が「1」であれば、緑色領域の重みKs、判定信号202が「2」であれば、空色領域の重みKsを出力する。
Further, in accordance with the
次に、明度重み算出部33は、各特定の色毎に、明度軸に対して、移動量の大きさを変更する重みKvを画像データの色座標値の明度に対応して算出する。具体的には、図5(c)、図5(f)、図5(i)に示すように、重みKvを定める。ここで、縦軸は重みKvを表すものとし、横軸は明度を表すものとする。明度は0から255まで値が変化する。
Next, the lightness
また、判定信号202に従って、どの特定の色の領域に対する重みを出力するかを決定する。例えば、判定信号202が「0」であれば、肌色領域の重みKvを出力する。同様に、判定信号202が「1」であれば、緑色領域の重みKv、判定信号202が「2」であれば、空色領域の重みKvを出力する。
Further, in accordance with the
以上のように定められた各重みKh、重みKs、重みKvは、それぞれ乗算器34、乗算器35で乗算され、色座標値の移動量の大きさを変更する色重み信号301(Kg)は、次の式により算出される。
The weights Kh, weights Ks, and weights Kv determined as described above are multiplied by the
なお、色重み信号301(Kg)は、重みKh、重みKs、重みKvの最小値としてもよく、同様に移動量の大きさ変更することができる。これにより、回路規模の大きい乗算器を削減できるので、ハードウェアの回路規模を小さくできる。 The color weight signal 301 (Kg) may be the minimum value of the weight Kh, the weight Ks, and the weight Kv, and the amount of movement can be changed similarly. As a result, multipliers having a large circuit scale can be reduced, and the hardware circuit scale can be reduced.
このように、色重み信号301(Kg)は、色相軸に沿った重みKhと、彩度軸に沿った重みKsと、明度軸に沿った重みKvとに基づいて、定められる。 In this way, the color weight signal 301 (Kg) is determined based on the weight Kh along the hue axis, the weight Ks along the saturation axis, and the weight Kv along the lightness axis.
なお、重みKh、重みKs、重みKvの各色相軸、彩度軸、明度軸上での減少度合いは、一定であってもよいし、n次の曲線で近似した非線形な重みの変化であってもよい。 The degree of decrease of the weight Kh, the weight Ks, and the weight Kv on the hue axis, the saturation axis, and the brightness axis may be constant or may be a non-linear change in weight approximated by an nth-order curve. May be.
なお、色相重み算出部31、彩度重み算出部32、明度重み算出部33は、ハードウェア・ロジックで構成してもよいし、ルックアップテーブル(以下、「LUT」と記す)で構成してもよい。LUTで構成することで、複雑な重みも予め作成することができ、リード・オンリー・メモリ(以下、「ROM」と記す)で提供することができる。また、重みを更新できるようにするため、書き換え可能なメモリ、例えば、ランダム・アクセス・メモリ(以下、「RAM」と記す)で構成してもよい。
The hue
次に、図4、図7を用いて第1座標移動量算出部4について説明する。
Next, the first coordinate movement
図4において、色相移動量算出部41は、入力した画像データの色座標値の色相が各特定の色に近づくように、移動量δhを算出する。具体的には、図7(a)に示すように、色相軸において、肌色領域の色座標値がPsに近づくように移動量δhを算出する。ここで、符号が異なると移動方向が反対になる。同様に、図7(d)に示すように、空色領域の色座標値がPbに近づくように移動量δhを算出する。また、図7(g)に示すように、緑色領域の色座標値がPgに近づくように移動量δhを算出する。
In FIG. 4, a hue movement
ここで、縦軸は移動量δhを表すものとし、横軸は色相を表すものとする。色相は0から360度まで値が変化する。 Here, the vertical axis represents the movement amount δh, and the horizontal axis represents the hue. The hue value varies from 0 to 360 degrees.
なお、それぞれ肌色領域をPs、空色領域をPb、緑色領域をPgの特定の色に近づくように移動量を算出したが、例えば、空色をより青く見せるように空色領域全体の色相を一方向に回転する移動量を算出してもよく、草木の緑色の印象を強めるために緑色領域全体の色相を一方向に回転する移動量を算出してもよい。いずれも、より人間の印象に近い色合いを再現することができる。 Note that the movement amount was calculated so as to approach the specific colors of Ps for the flesh-color area, Pb for the sky-color area, and Pg for the green-color area, but for example, the hue of the entire sky-blue area is unidirectional to make the sky blue appear more blue. The amount of movement that rotates may be calculated, or the amount of movement that rotates the hue of the entire green region in one direction may be calculated in order to enhance the green impression of plants. In both cases, it is possible to reproduce a hue closer to a human impression.
また、どの特定の色に対する移動量δhを出力するかは、判定信号202に従って決定する。例えば、判定信号202が「0」であれば、肌色領域の移動量δhを出力する。同様に、判定信号202が「1」であれば、緑色領域の移動量δh、判定信号202が「2」であれば、空色領域の移動量δhを出力する。
Further, which specific color the movement amount δh is output to is determined according to the
また、色相が肌色Ps、空色Pb、緑色Pgから離れるほど移動量を増加するようにしている。このため、特定の色から離れた色ほど特定の色に近づくように移動量が大きくなっている、色補正の効果がより強くなるようにしている。結果、より人間にとって好ましい色再現を実現している。 Further, the movement amount is increased as the hue is separated from the skin color Ps, sky blue Pb, and green Pg. For this reason, the amount of movement is increased so that the color farther from the specific color approaches the specific color, and the effect of color correction is made stronger. As a result, color reproduction that is more favorable for human beings is realized.
次に、彩度移動量算出部42は、各特定の色の領域毎に、彩度の軸に対して、移動量δsを算出する。具体的には、図7(b)、図7(e)、図7(h)に示すように、移動量δsを定める。ここで、縦軸は移動量δsを表すものとし、横軸は彩度を表すものとする。彩度は0から255まで値が変化する。
Next, the saturation movement
また、どの特定の色に対する移動量δsを出力するかは、判定信号202に従って決定する。例えば、判定信号202が「0」であれば、肌色領域の移動量δsを出力する。同様に、判定信号202が「1」であれば、緑色領域の移動量δs、判定信号202が「2」であれば、空色領域の移動量δsを出力する。
Further, which specific color the movement amount δs is output is determined according to the
次に、明度移動量算出部43は、各特定の色の領域毎に、明度の軸に対して、移動量δvを算出する。具体的には、図7(c)、図7(f)、図7(i)に示すように、移動量δvを定める。ここで、縦軸は移動量δvを表すものとし、横軸は明度を表すものとする。明度は0から255まで値が変化する。
Next, the lightness movement
また、どの特定の色に対する移動量δvを出力するかは、判定信号202に従って決定する。例えば、判定信号202が「0」であれば、肌色領域の移動量δvを出力する。同様に、判定信号202が「1」であれば、緑色領域の移動量δv、判定信号202が「2」であれば、空色領域の移動量δvを出力する。
Further, which specific color the movement amount δv is output is determined according to the
以上のように、第1座標移動量算出部4は、入力される画像データの色相、彩度、明度に応じて、予め設定している、色座標値を移動させるための第1の座標移動量である移動量δh、移動量δs、移動量δvを出力する。
As described above, the first coordinate movement
次に、第2座標移動量算出部8は、乗算器44〜46により、入力した各移動量δh、移動量δs、移動量δvにそれぞれ色重み信号301(Kg)を乗算し、第2の座標移動量である色相移動量401(Δh)、彩度移動量402(Δs)、明度移動量403(Δv)を出力する。このように色重み信号301によって、色座標値の移動の大きさを変更できる。即ち、色補正の効き方、強さが変更できる。これにより、予め定めた色領域から色領域外までを連続的に色補正しても、予め定めた色領域外では、色座標値の移動量はなだらかに、かつ、十分に減少しているため、色補正が、画像中の予め定めた色領域外の色に与える影響を抑えられる。
Next, the second coordinate movement
よって、予め定めた色領域から色領域外の境界付近で、特定の色への補正あり、補正なしの2値的な処理の切り替えをなくすことができ、急激な色の変化を抑えることができる。 Therefore, it is possible to eliminate binary processing switching with or without correction to a specific color in the vicinity of the boundary outside the color area from a predetermined color area, and abrupt color change can be suppressed. .
なお、色相移動量算出部41、彩度移動量算出部42、明度移動量算出部43は、ハードウェア・ロジックで構成してもよいし、LUTで構成してもよい。LUTで構成することで、複雑な移動量も予め作成することができ、ROMなどで提供することができる。
The hue movement
また、移動量の大きさを更新できるようにするため、書き換え可能なメモリ、例えば、RAMで構成してもよい。 Moreover, in order to be able to update the magnitude | size of movement amount, you may comprise by rewritable memory, for example, RAM.
第1座標移動量算出部4の第1の座標移動量を、色重み信号301で重み付けするようにしたことで、色座標値の移動方向と移動量の大きさをそれぞれ独立に設定可能になり、個々の機能を簡易な関数で近似できるようになる。従って、回路を簡素化できる。
Since the first coordinate movement amount of the first coordinate movement
また、色重み算出部3と第1座標移動量算出部4と第2座標移動量算出部8の演算を予め処理し、画像データ(H、S、V)を入力し、出力データ(Δh、Δs、Δv)を出力する1つのLUTで構成してもよい。これにより、複雑な演算を予め行うことができ、高速化できる。
Further, the operations of the color
次に、座標移動部9は、色相移動量401(Δh)、彩度移動量402(Δs)、明度移動量(Δv)と、色相データ101、彩度データ102、明度データ103とをそれぞれ加算処理し、入力された画像データの色座標値を特定の色の色座標値に移動する。
Next, the coordinate moving
具体的には、加算器11は色相データ101と色相移動量401(Δh)を加算し、加算器12は彩度データ102と彩度移動量402(Δs)を加算し、加算器13は明度データ103と明度移動量403(Δv)を加算する。
Specifically, the
これにより、入力した画像データ(H、S、V)は、補正後の画像データ(H’、S’、V’)に変換される。変換は、次の3つの式で表される。 As a result, the input image data (H, S, V) is converted into corrected image data (H ′, S ′, V ′). The conversion is expressed by the following three expressions.
ここで、δh、δs、δvは第1の座標移動量、Kgは色重み、Δh、Δs、Δvは第2の座標移動量である。 Here, δh, δs, and δv are first coordinate movement amounts, Kg is a color weight, and Δh, Δs, and Δv are second coordinate movement amounts.
次に、色空間逆変換部6は、HSV色座標で指定される画像データをRGB色座標で指定される画像データに逆変換する。これにより、画像データ(Ro、Go、Bo)が出力される。
Next, the color space
以上のように第1の実施の形態によれば、色相が肌色Ps、緑色Pg、空色Pbから離れるほど移動量を増加するようにしている。このため、特定の色から離れた色ほど特定の色に近づくように移動され、色補正の効果がより強くなるようにしている。結果、より人間にとって好ましい色再現を実現している。 As described above, according to the first embodiment, the amount of movement increases as the hue moves away from the skin color Ps, green Pg, and sky blue Pb. For this reason, as the color is farther from the specific color, the color is moved closer to the specific color, so that the effect of color correction becomes stronger. As a result, color reproduction that is more favorable for human beings is realized.
また、移動量の大きさを変更する色重み信号301(Kg)は、予め設定される重み関数に基づき、予め定めた色領域から色領域外に向けて連続的に減少するように設定している。これによって、境界付近で、特定の色への補正あり、補正なしの2値的な処理の切り替えをなくすことができ、境界付近での急激な色の変化を抑えることができる。 Further, the color weight signal 301 (Kg) for changing the magnitude of the movement amount is set so as to continuously decrease from a predetermined color area toward the outside of the color area based on a preset weight function. Yes. As a result, it is possible to eliminate binary processing switching with or without correction to a specific color near the boundary, and abrupt color change near the boundary can be suppressed.
また、重み関数の変化は、予め定めた色領域から色領域外に向けてなだらかに、かつ、減少しているので、画像中の予め定めた色領域以外の色に与える影響は抑えられている。 Further, since the change of the weight function is gradually and decreasing from the predetermined color area toward the outside of the color area, the influence on the color other than the predetermined color area in the image is suppressed. .
(第2の実施の形態)
次に、第2の実施の形態について、図8から図10を用いて説明する。以下、第1の実施の形態と同様の点については、重複を避けるため、説明を省略する。
(Second Embodiment)
Next, a second embodiment will be described with reference to FIGS. Hereinafter, in order to avoid duplication about the point similar to 1st Embodiment, description is abbreviate | omitted.
第2の実施の形態が第1の実施の形態と異なる点は、色領域判定部2に対して、色相の変更に用いるオフセット値701を画像解析部7を用いて求める点である。
The second embodiment is different from the first embodiment in that an offset
図8において、画像解析部7は、画像データ(H、S、V)から所定の彩度領域内で、かつ所定の明度領域内の色相データ101を検出する検出部と、検出した色相データ101を記録するフレームメモリと、記録した色相データのヒストグラムを作成するヒストグラム作成部と、作成されたヒストグラムの分布から予め定めた色領域と色領域外との境界付近の分布量を検出し、境界付近の分布量が小さくなるようにオフセット値を算出し、レジスタ24、レジスタ25、レジスタ26にオフセット値701(ΔX1、ΔX2、ΔX3)を設定する設定部より構成される。この構成により、色座標値の移動によって境界付近に発生しやすい急激な色の変化を抑える。
In FIG. 8, the
なお、画像の解析をフレーム単位でなく、フィールド単位とすることで、フレームメモリをフィールドメモリとしてもよい。つまり所定の画像領域が確保できればよい。 Note that the frame memory may be a field memory by analyzing an image in units of fields instead of in units of frames. That is, it is only necessary to secure a predetermined image area.
また、他の機能として、色補正装置10がCRT、プラズマディスプレイパネル、液晶パネルなどの表示部を備えるデジタルテレビに組み込まれた場合、画像解析部7は、外部より設定される色温度に基づいて色座標値の移動の目標値を変更する。例えば、操作ボタンにより色温度が高く設定されると、デジタルテレビに表示される色は青み方向にシフトする。そのため、オフセット値701(ΔX1、ΔX2、ΔX3)を大きくする。
As another function, when the
これにより、色温度に合わせて、移動の目標となる色を青み方向に移動できる。例えば、色領域判定部2はオフセット値701を入力し、図10に示すように、オフセット値(ΔX3)により、空色領域の検出の中心を青み方向へシフトしている。同様に、オフセット値ΔX1、オフセット値ΔX2により、肌色領域、緑色領域の検出の中心を青み方向へシフトできる。
As a result, the target color can be moved in the blue direction in accordance with the color temperature. For example, the color
なお、各オフセット値は同じでもよいし、異なってもよい。独立に色を調整するためには、図9に示すレジスタ24、レジスタ25、レジスタ26にΔX1、ΔX2、ΔX3をそれぞれ設定すればよい。
Each offset value may be the same or different. In order to independently adjust the colors, ΔX1, ΔX2, and ΔX3 may be set in the
これにより、色温度に基づいて目標値も変更でき、色温度に最適な色再現が実現できる。 As a result, the target value can also be changed based on the color temperature, and color reproduction optimal for the color temperature can be realized.
また、デジタルカメラなどの撮影データのホワイトバランスを検出することで、カラーバランスがずれていると判断したときに、オフセット値を調整してもよい。 Further, the offset value may be adjusted when it is determined that the color balance is shifted by detecting the white balance of the photographing data of a digital camera or the like.
これにより、夕焼け、照明光などの外光の影響による色の偏りを補正できる。 As a result, it is possible to correct color deviation due to the influence of external light such as sunset and illumination light.
次に、図11、図12を用いて、図1に示す色空間変換部5、色空間逆変換部6について詳細に説明する。
Next, the color
画像データは、Red(R)、Green(G)、Blue(B)の光源を発光させる表示デバイス信号として、図11のようなRGB色座標で表現される画像データであることが多い。 The image data is often image data represented by RGB color coordinates as shown in FIG. 11 as a display device signal that emits light from Red (R), Green (G), and Blue (B).
そこで、RGB色座標で表現される画像データを、HSV色座標で表現される画像データに変換する。HSV座標系は正確には円柱座標系であるが、図12に示すように色空間はRGBCMYを頂点とする六角錐で表されることが多い。Hは色相であり、Rの方向を「0」として反時計周りに0度から360度で表される。Sは色鮮やかさを示す彩度であり、中心線の部分が「0」で、円周方向に向かうに従って増加する。Vは明るさを示す明度である。角錐の頂点の部分が黒であり、底面(図12では上部の六角形)の中心が白である。 Therefore, the image data expressed by RGB color coordinates is converted into image data expressed by HSV color coordinates. The HSV coordinate system is exactly a cylindrical coordinate system, but as shown in FIG. 12, the color space is often represented by a hexagonal pyramid having RGBCMY as its apex. H is a hue, and is represented by 0 to 360 degrees counterclockwise with the direction of R being “0”. S is the saturation indicating the vividness, and the center line portion is “0” and increases as it goes in the circumferential direction. V is lightness indicating brightness. The apex of the pyramid is black, and the center of the bottom surface (upper hexagon in FIG. 12) is white.
色空間変換部5において、RGB色座標で指定される画像データからHSV色座標で指定される画像データへの変換は、次の3つの式によって行われる。ただし、0≦R、G、B≦MAX、0≦S、V≦MAX、0≦V≦360、nは入力するRGB色座標で表現される画像データのビット数とする。
In the color
色空間逆変換部6の逆変換式については、次の通りである。
The inverse transformation formula of the color space
一般に、RGB色空間の定義閾とHSV色空間の定義閾は等しく、その定義閾内の補正であれば、1対1に写像することができる。 In general, the definition threshold of the RGB color space is equal to the definition threshold of the HSV color space, and if the correction is within the definition threshold, one-to-one mapping can be performed.
一方、RGBでもHSVでもない色空間、例えば、YCbCr色空間は、彩度の高い領域でRGBの定義閾をオーバーしており、補正後にRGB空間に戻すと色がクリップしてしまうことがある。よって、YCbCr色空間を用いる場合は、RGBの定義閾をオーバーしないように、検出するようにすればよい。 On the other hand, a color space that is neither RGB nor HSV, for example, the YCbCr color space, exceeds the RGB definition threshold in a high-saturation region, and the color may be clipped if it is returned to the RGB space after correction. Therefore, when the YCbCr color space is used, detection may be performed so as not to exceed the RGB definition threshold.
以上のように第2の実施の形態によれば、画像解析部7は、フレーム単位またはフィールド単位でメモリに記録した画像データ(H、S、V)から所定の彩度領域内で、かつ、所定の明度領域内の色相データ101を検出し、色相データのヒストグラムを作成する。例えば、明度領域が50から255であり、かつ、彩度領域内が50から255である。そして、その分布から予め定めた色領域と色領域外との境界付近の分布量を検出し、境界付近の分布量が小さくなるようにオフセット値を算出し、レジスタ24、レジスタ25、レジスタ26にオフセット値701(ΔX1、ΔX2、ΔX3)を設定する。この構成により、色補正によって境界付近に発生しやすい急激な色の変化を抑えることができる。
As described above, according to the second embodiment, the
また、色補正装置1または色補正装置10をCRT、プラズマディスプレイパネル、液晶パネルなどの表示部を備えるデジタルテレビに組み込んでもよい。デジタルテレビでは、通信あるいは放送された画像データを受信するデータ受信部と、受信された画像データの色座標値を色補正装置1または色補正装置10で移動し、移動された色座標値の画像データを表示部で表示する。
Further, the
これにより、予め定めた色領域と色領域以外の境界付近の急激な色の変化を抑え、人間にとってより好ましい色補正を実現できる。また、色補正装置10のデジタルテレビへの組み込みによって、画像解析部7は、外部より設定される色温度に基づいてオフセット値701を変更し、色座標値を移動させる目標値を変更する。これにより、より好ましい色再現が実現できる。
As a result, a rapid color change near a predetermined color region and a boundary other than the color region can be suppressed, and color correction more preferable for human beings can be realized. Further, by incorporating the
また、デジタルテレビに代えて、携帯端末、情報処理装置、デジタルスチルカメラなどの画像表示装置、プリンタなどの画像出力装置に本発明の色補正装置1または色補正装置10を組み込み、色補正しても同様により好ましい色再現が実現できる。
Further, the
なお、上述した色補正装置1、色補正装置10の一連の処理は、集積回路などのハードウェアにより実行させてもよいし、CPU、DSPなどによるソフトウェアにより実行してもよい。ソフトウェアにより実行する場合、そのソフトウェアを実行させる装置は、例えば、図13に示されるようなコンピュータにより構成される。
The series of processes of the
図13において、CPU81はROM82に記憶されているプログラム、または、記録部86からRAM83にロードされたプログラムに従って各種の処理を実行する。RAM83には、またCPU81が各種の処理を実行する上において必要なデータなどが適宜記憶される。
In FIG. 13, the
CPU81、ROM82、およびRAM83はバス91を介して相互に接続されている。このバス91には、キーボード、マウスなどの入力部84、CRT、プラズマディスプレイパネル、液晶パネルなどのディスプレイよりなる出力部85、ハードディスクなどより構成される記憶部86、モデム、ターミナル・アダプタなどにより構成される通信部87が接続されている。通信部87は、ネットワークを介して通信処理を行う。
The
また、通信部87に放送用画像データの受信部を備え、通信または放送された符号化画像データを受信部で復号化して、色補正装置1または色補正装置10が処理できる画像データに変換してもよい。これにより、入力した画像データをCPU81で色補正装置1、もしくは、色補正装置10の処理ステップを実行し、出力部85で表示することで、デジタルテレビが実現できる。
Also, the
ここで、色補正装置1の処理ステップとは、色座標値に対応して予め設定した座標移動量に基づいて、入力した画像データの色座標値を移動させるための第1の座標移動量を算出する第1座標移動量算出ステップと、予め定められた色領域から色領域外に向けて減少する重み関数に基づいて、色座標値に応じて色重みを算出する色重み算出ステップと、第1の座標移動量に色重みを乗じて第2の座標移動量を算出する第2座標移動量算出ステップと、第2の座標移動量に基づいて色座標値を移動させる座標移動ステップとを実行する。
Here, the processing step of the
また、同様に、色補正装置10の処理ステップとは、色補正装置1の実行ステップに、更に、画像データをフレーム単位、またはフィールド単位で画像メモリに記憶するステップと、画像メモリに記憶された画像データから所定の条件の色成分を検出する色成分検出ステップと、検出した色成分のうち、色相成分のヒストグラムを作成し、ヒストグラムの分布に基づいてオフセット値を算出するオフセット値算出ステップと、算出されたオフセット値を記憶部に設定する設定ステップとを実行すればよい。
Similarly, the processing steps of the
以上の処理ステップは、ROM82、記録部86に格納されたプログラムにより、逐次CPU81で実行される。ここで、オフセット値の記憶などはRAM83を用いるようにすればよい。
The above processing steps are sequentially executed by the
また、バス91にはドライブ88が接続され、磁気ディスク、光磁気ディスク、光ディスクなどのディスク89または半導体メモリ90などが適宜接続され、それらから読み出されたコンピュータプログラムが、必要に応じて記録部86にインストールされる。
Also, a
なお、一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムは、予めコンピュータに専用のハードウェアで組み込んでもよい。 When a series of processing is executed by software, a program constituting the software may be incorporated in advance in a computer with dedicated hardware.
また、各種プログラムをコンピュータにインストールして各種の機能を実行してもよい。例えば、汎用のパーソナルコンピュータなどは、各種プログラムがネットワークを経由してインストールされる。または、各種プログラムが記録媒体により提供され、パーソナルコンピュータにインストールされる。 Various programs may be installed in a computer to execute various functions. For example, in a general-purpose personal computer, various programs are installed via a network. Alternatively, various programs are provided by a recording medium and installed in a personal computer.
この記録媒体として、図13に示すように、装置本体とは別に、プログラムが記録されているディスク89または半導体メモリ90などを用いてもよいし、装置本体のROM82、記録部86に予め組み込んで提供してもよい。
As this recording medium, as shown in FIG. 13, a
また、本発明の実施の形態において、色空間として、HSV色空間を用いたが、RGB、CMYK、CIE−LAB、YCbCrなどの色空間であってもよい。例えば、CIE−LAB色空間の場合、色空間上の距離と人間が感じる色の差異の度合いが比例するため、色重み関数、移動量などの決定が容易となる。 In the embodiment of the present invention, the HSV color space is used as the color space. However, a color space such as RGB, CMYK, CIE-LAB, YCbCr may be used. For example, in the case of the CIE-LAB color space, since the distance in the color space is proportional to the degree of color difference perceived by humans, it is easy to determine the color weight function, the amount of movement, and the like.
また、HSV色空間は六角錐モデルを用いたが、双六角錐モデルなどの他の近似モデルを用いてもよい。 The HSV color space uses a hexagonal pyramid model, but other approximate models such as a bihexagonal pyramid model may be used.
本発明に係る色補正装置および画像表示装置によれば、急激な色の変化を抑え、画像の色をより好ましく補正することができ、カラーテレビジョン装置、携帯端末、情報処理装置、デジタルスチルカメラなどの画像表示装置、プリンタなどの画像出力装置に利用することができる。 According to the color correction device and the image display device of the present invention, it is possible to suppress an abrupt color change and more preferably correct the color of an image. A color television device, a portable terminal, an information processing device, a digital still camera It can be used for image display devices such as printers and image output devices such as printers.
1,10 色補正装置
2 色領域判定部
3 色重み算出部
4 第1座標移動量算出部
5 色空間変換部
6 色空間逆変換部
7 画像解析部
8 第2座標移動量算出部
9 座標移動部
21 色選択部
22 位相変更部
24,25,26 レジスタ
31 色相重み算出部
32 彩度重み算出部
33 明度重み算出部
41 色相移動量算出部
42 彩度移動量算出部
43 明度移動量算出部
DESCRIPTION OF
Claims (9)
予め定められた色領域から色領域外に向けて減少する重み関数に基づいて、前記色座標値に応じて色重みを算出する色重み算出部と、
前記第1の座標移動量に前記色重みを乗じて第2の座標移動量を算出する第2座標移動量算出部と、
前記第2の座標移動量に基づいて前記色座標値を移動させる座標移動部とを備えた色補正装置。 A first coordinate movement amount calculation unit for calculating a first coordinate movement amount for moving the color coordinate value of the input image data based on a coordinate movement amount set in advance corresponding to the color coordinate value;
A color weight calculation unit that calculates a color weight according to the color coordinate value based on a weight function that decreases from a predetermined color region toward the outside of the color region;
A second coordinate movement amount calculation unit for calculating a second coordinate movement amount by multiplying the first coordinate movement amount by the color weight;
A color correction apparatus comprising: a coordinate moving unit that moves the color coordinate value based on the second coordinate movement amount.
と、
前記画像メモリに記憶された画像データから所定の条件の色成分を検出する色成分検出部と、
検出した前記色成分のうち、色相成分のヒストグラムを作成し、前記ヒストグラムの分布に基づいて前記オフセット値を算出するオフセット算出部と、
前記オフセット値を前記記憶部に設定する設定部とを備えたことを特徴とする請求項5記載の色補正装置。 An image memory for storing the image data in frame units or field units;
A color component detection unit for detecting a color component of a predetermined condition from the image data stored in the image memory;
Among the detected color components, an offset calculation unit that creates a histogram of hue components and calculates the offset value based on the distribution of the histogram;
The color correction apparatus according to claim 5, further comprising: a setting unit that sets the offset value in the storage unit.
受信された前記画像データの色座標値を移動させる請求項1記載の色補正装置と、
前記色補正装置により移動された前記色座標値の画像データを表示する表示部とを備えた画像表示装置。 A data receiving unit for receiving image data transmitted or broadcast;
The color correction device according to claim 1, wherein the color coordinate value of the received image data is moved.
An image display device comprising: a display unit that displays image data of the color coordinate value moved by the color correction device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005228191A JP2007042033A (en) | 2005-08-05 | 2005-08-05 | Color correction apparatus and image display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005228191A JP2007042033A (en) | 2005-08-05 | 2005-08-05 | Color correction apparatus and image display device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007042033A true JP2007042033A (en) | 2007-02-15 |
Family
ID=37799924
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005228191A Pending JP2007042033A (en) | 2005-08-05 | 2005-08-05 | Color correction apparatus and image display device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007042033A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009170966A (en) * | 2008-01-10 | 2009-07-30 | Canon Inc | Image processing apparatus, image processing method, and program |
JP2009225424A (en) * | 2008-02-18 | 2009-10-01 | Fuji Xerox Co Ltd | Color correction coefficient generator and program |
JP2009296113A (en) * | 2008-06-03 | 2009-12-17 | Mitsubishi Electric Corp | Image display device |
JP2009302922A (en) * | 2008-06-13 | 2009-12-24 | Seiko Epson Corp | Image processor, integrated circuit device, and electronic appliance |
JP2010021990A (en) * | 2008-06-13 | 2010-01-28 | Seiko Epson Corp | Image processor, integrated circuit device, and electronic apparatus |
JP2014102511A (en) * | 2007-08-13 | 2014-06-05 | Samsung Electronics Co Ltd | Rgb-to-rgbw color separation method, system, and conversion system |
-
2005
- 2005-08-05 JP JP2005228191A patent/JP2007042033A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014102511A (en) * | 2007-08-13 | 2014-06-05 | Samsung Electronics Co Ltd | Rgb-to-rgbw color separation method, system, and conversion system |
JP2009170966A (en) * | 2008-01-10 | 2009-07-30 | Canon Inc | Image processing apparatus, image processing method, and program |
JP2009225424A (en) * | 2008-02-18 | 2009-10-01 | Fuji Xerox Co Ltd | Color correction coefficient generator and program |
JP4666069B2 (en) * | 2008-02-18 | 2011-04-06 | 富士ゼロックス株式会社 | Color correction coefficient generating apparatus and program |
JP2009296113A (en) * | 2008-06-03 | 2009-12-17 | Mitsubishi Electric Corp | Image display device |
JP2009302922A (en) * | 2008-06-13 | 2009-12-24 | Seiko Epson Corp | Image processor, integrated circuit device, and electronic appliance |
JP2010021990A (en) * | 2008-06-13 | 2010-01-28 | Seiko Epson Corp | Image processor, integrated circuit device, and electronic apparatus |
US8300932B2 (en) | 2008-06-13 | 2012-10-30 | Seiko Epson Corporation | Image processor, integrated circuit device, and electronic apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3880553B2 (en) | Image processing method and apparatus | |
US8600154B2 (en) | Image processing apparatus and image processing method | |
JP4870617B2 (en) | Image data automatic mapping method and image processing device | |
JP4375781B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP4117284B2 (en) | Color space conversion method, color image color adjustment device, color adjustment method, and computer-readable recording medium recording the program | |
JP4870618B2 (en) | Image data automatic mapping method and image processing device | |
US8290259B2 (en) | Device adaptively switching color emphasis processing for image | |
JP5107355B2 (en) | Method, apparatus, and program for gamut mapping to reproduction gamut narrower than input gamut | |
KR101927968B1 (en) | METHOD AND DEVICE FOR DISPLAYING IMAGE BASED ON METADATA, AND RECORDING MEDIUM THEREFOR | |
JP2006033382A (en) | Image processing apparatus and method thereof | |
JP2007042033A (en) | Color correction apparatus and image display device | |
JP2000123164A (en) | Image processor and its method | |
JP2740409B2 (en) | Sharpness processing device | |
JP2000207548A (en) | Method for controlling tone scale of digital image | |
JP3673092B2 (en) | Image quality adjusting apparatus, image quality adjusting method, and recording medium recording image adjusting program | |
JP2008072604A (en) | Image processing system, apparatus, medium, and program | |
KR20160001897A (en) | Image Processing Method and Apparatus for Integrated Multi-scale Retinex Based on CIELAB Color Space for Preserving Color | |
JP4708866B2 (en) | Lookup table creation device and method, and lookup table creation program | |
JP2004080100A (en) | Method and apparatus for creating color conversion table, method and apparatus for converting colors, and imaging apparatus | |
US20140327695A1 (en) | Image processing apparatus and control method therefor | |
JP2006203431A (en) | Image processing apparatus and method of processing image | |
JP5069599B2 (en) | Video conversion apparatus, video conversion method, and video conversion program | |
JP2000123165A (en) | Image processor and its method | |
JP4100848B2 (en) | Image processing method and image processing apparatus | |
JP7028062B2 (en) | Image correction program, image correction method, and image correction device |