JP2000224607A - Image processor - Google Patents

Image processor

Info

Publication number
JP2000224607A
JP2000224607A JP11020298A JP2029899A JP2000224607A JP 2000224607 A JP2000224607 A JP 2000224607A JP 11020298 A JP11020298 A JP 11020298A JP 2029899 A JP2029899 A JP 2029899A JP 2000224607 A JP2000224607 A JP 2000224607A
Authority
JP
Japan
Prior art keywords
saturation
image
correction amount
component
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11020298A
Other languages
Japanese (ja)
Inventor
Fumio Fujimura
文男 藤村
Shinichi Takarada
真一 宝田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11020298A priority Critical patent/JP2000224607A/en
Publication of JP2000224607A publication Critical patent/JP2000224607A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To automatically correct a saturation optimum corresponding to the sharpness of an image. SOLUTION: An input image is separated into color data and luminance data by a color converting means 12, the correction quantity of the saturation is calculated from the respective data by a saturation correction quantity calculating means 13, and the saturation is corrected by a saturation correcting means 14. In the saturation correction quantity calculating means 13, concerning the image of a low saturation, the saturation correction quantity is suppressed so that over correction is prevented from being loaded to an achromatic portion. Besides, the image is divided into several areas, the saturation correction is performed on the basis of a saturation level in the area of the highest saturation level, a saturation level in the area of most contours or a saturation level in the area where skin colors are distributed much, and the optimum saturation correction matched with human senses is performed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置に関
し、特にテレビジョン、スキャナ、プリンタ、デジタル
スチルカメラ等において、画像の色の彩度を調整する,
彩度補正を行うものに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to adjusting the color saturation of an image in a television, a scanner, a printer, a digital still camera, and the like.
It relates to a device for performing saturation correction.

【0002】[0002]

【従来の技術】画像の鮮やかさを補正する彩度補正の手
段として、従来、例えば特開平8−329217号公報
に示された,画像の彩度変換方法および画像の彩度変換
装置がある。以下にこの従来例について説明する。図9
はこの従来例としての彩度変換装置のブロック図であ
る。図9において、111は画像入力手段、112はバ
ッファ、113は均等知覚色空間変換手段、114は彩
度変換量算出手段、115は彩度変換手段、116は逆
均等知覚色空間変換手段、117は画像出力手段であ
る。
2. Description of the Related Art Conventionally, as a means of correcting saturation for correcting the vividness of an image, for example, there is a method for converting the saturation of an image and a device for converting the saturation of an image disclosed in Japanese Patent Application Laid-Open No. 8-329217. Hereinafter, this conventional example will be described. FIG.
FIG. 1 is a block diagram of a saturation conversion device as a conventional example. 9, reference numeral 111 denotes an image input unit, 112 denotes a buffer, 113 denotes a uniform perceived color space conversion unit, 114 denotes a saturation conversion amount calculation unit, 115 denotes a saturation conversion unit, and 116 denotes an inversely perceived color space conversion unit. Is an image output means.

【0003】以下にその動作について説明する。処理す
べき画像は画像入力手段111により入力され、バッフ
ァ112に一旦蓄積された後、彩度変換量算出手段11
4および均等知覚色空間変換手段113に入力される。
彩度変換量算出手段114では入力画像の彩度の広がり
を判断し、彩度を上げるための係数xを算出する。ま
た、均等知覚色空間変換手段113では、入力画像デー
タをRGB(赤、緑および青)の色空間あるいはYMC
(イエロー、マゼンタおよびシアン)の色空間から均等
知覚色空間(CIE1976(L* a* b* )等)に変
換する。そして、彩度変換手段115により、色成分を
係数xによりx倍することにより彩度を強調し、逆均等
知覚色空間変換手段116にて元の色空間に変換し、画
像出力手段117により彩度を強調した画像を出力す
る。
The operation will be described below. The image to be processed is input by the image input unit 111, and is temporarily stored in the buffer 112.
4 and the uniform perceived color space conversion means 113.
The saturation conversion amount calculating means 114 determines the spread of the saturation of the input image and calculates a coefficient x for increasing the saturation. The uniform perceived color space conversion means 113 converts the input image data into an RGB (red, green and blue) color space or a YMC color space.
(Yellow, magenta and cyan) color space is converted to a uniform perceived color space (such as CIE1976 (L * a * b *)). Then, the saturation is enhanced by multiplying the color component by a factor x by the saturation conversion means 115, the original color space is converted by the inverse uniform perceived color space conversion means 116, and the color is converted by the image output means 117. Outputs an image with emphasized degrees.

【0004】彩度変換量算出手段114では、係数xを
算出する際に、画像の彩度が低い画像は彩度の広がりが
小さいため、彩度をより強く強調するためにxの値を大
きくして彩度の補正を行う。一方、彩度が高い画像では
彩度の広がりが大きくなるため、それに合わせて係数x
を小さくして強調量を抑えている。
When calculating the coefficient x, the saturation conversion amount calculation means 114 increases the value of x in order to emphasize the saturation more strongly, since the image having a low saturation has a small spread of the saturation. To correct the saturation. On the other hand, in an image with high saturation, the spread of saturation is large, and accordingly, the coefficient x
To reduce the amount of emphasis.

【0005】彩度の広がりは各画素の彩度成分をあらわ
す輝度値、R+G−2Gを算出して各輝度値毎の画素数
をあらわすヒストグラムを作成し、輝度値の大きい方か
ら画素数を積算してあらかじめ設定したしきい値を超え
た点の輝度値とし、これを基に図10のように彩度補正
係数xを算出している。
The spread of the saturation is calculated by calculating a luminance value, R + G-2G, representing the saturation component of each pixel, creating a histogram representing the number of pixels for each luminance value, and integrating the number of pixels from the larger luminance value. Then, a luminance value at a point exceeding a preset threshold value is used, and based on this luminance value, a saturation correction coefficient x is calculated as shown in FIG.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、この従
来の画像の彩度変換装置によれば、彩度が低い画像に対
しては強い彩度強調を施してしまうため、例えば画像全
体にビルが写っているような彩度の低い画像では、画像
全体の彩度が低いと判断されてしまうため、過度の彩度
強調がかかり、本来無彩色部分であるところに色がつい
てしまったり、また図11のようにビルBの前に人物P
が立っている場合などでは、人物Pに対してビルBが画
面全体に占める割合が大きいため、やはり画像全体の彩
度が低いと判断されてしまい、人物Pに対して過度の彩
度強調がなされてしまうという問題を有していた。
However, according to the conventional image saturation conversion apparatus, a strong saturation enhancement is applied to an image having low saturation, so that, for example, a building appears in the entire image. In a low-saturation image as described above, the saturation of the entire image is determined to be low, so that excessive saturation enhancement is applied, and a color which is originally an achromatic portion is added to the image. Person P in front of building B like
In the case where is standing, the ratio of the building B to the entire screen is large relative to the person P, so that the saturation of the entire image is also determined to be low. Had the problem of being done.

【0007】この発明は、上記のような従来のものの問
題を解決するためになされたもので、最適な彩度補正を
行うことができる画像処理装置を得ることを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and has as its object to provide an image processing apparatus capable of performing optimal saturation correction.

【0008】[0008]

【課題を解決するための手段】本願の請求項1の発明に
係る画像処理装置は、画像の彩度を画像の鮮やかさに合
わせて補正する画像処置装置において、入力画像の色デ
ータおよび輝度データから彩度の補正量を算出する彩度
補正量算出手段と、該彩度補正量算出手段により算出さ
れた補正量に基づき彩度の補正を行う彩度補正手段とを
備え、前記彩度補正量算出手段は、入力画像の彩度成分
が基準値より小さい場合には彩度成分の大きさに応じて
徐々に大きくなる補正量を算出し、彩度成分が基準値よ
り大きい場合には彩度補正量を彩度成分の大きさに応じ
て徐々に小さくなる補正量を算出するようにしたもので
ある。
An image processing apparatus according to a first aspect of the present invention is an image processing apparatus for correcting the saturation of an image in accordance with the vividness of the image. A saturation correction amount calculating unit that calculates a saturation correction amount from the image data; and a saturation correction unit that performs saturation correction based on the correction amount calculated by the saturation correction amount calculation unit. The amount calculating means calculates a correction amount that gradually increases according to the size of the saturation component when the saturation component of the input image is smaller than the reference value, and calculates the saturation amount when the saturation component is larger than the reference value. The degree of correction is calculated such that the degree of correction decreases gradually in accordance with the magnitude of the saturation component.

【0009】また、本願の請求項2の発明に係る画像処
理装置は、請求項1に記載の画像処理装置において、前
記彩度補正量算出手段は、入力画像の彩度成分を抽出す
る彩度成分抽出手段と、該彩度成分抽出手段により抽出
した彩度成分から彩度補正量を演算する彩度補正量演算
手段とを有するようにしたものである。
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the saturation correction amount calculating means extracts a saturation component of the input image. The image processing apparatus includes a component extracting unit and a saturation correction amount calculating unit that calculates a saturation correction amount from the saturation component extracted by the saturation component extracting unit.

【0010】また、本願の請求項3の発明に係る画像処
理装置は、請求項1に記載の画像処理装置において、前
記彩度補正量算出手段は、入力画像を複数の領域に分割
する領域分割手段と、前記分割された複数の領域のそれ
ぞれに対し画像データの彩度成分を抽出する彩度成分抽
出手段と、前記複数の領域毎に抽出した彩度成分から最
も彩度成分の大きい領域の彩度成分をもとに画像全体の
彩度を補正する彩度補正量を演算する彩度補正量演算手
段とを有するようにしたものである。
According to a third aspect of the present invention, in the image processing apparatus according to the first aspect, the saturation correction amount calculating means divides the input image into a plurality of areas. Means, a saturation component extraction means for extracting a saturation component of image data for each of the plurality of divided regions, and a saturation component extraction region for each of the plurality of regions. And a chroma correction amount calculating means for calculating a chroma correction amount for correcting the chroma of the entire image based on the chroma component.

【0011】また、本願の請求項4の発明に係る画像処
理装置は、請求項1に記載の画像処理装置において、前
記彩度補正量算出手段は、入力画像を複数の領域に分割
する領域分割手段と、前記分割された複数の領域のそれ
ぞれに対し画像データの輪郭成分を抽出する輪郭成分抽
出手段と、前記複数の領域毎に抽出した輪郭成分の平均
値を算出する輪郭成分平均化手段と、前記輪郭成分の平
均値が最も大きい領域の画像データの彩度成分を抽出す
る彩度成分抽出手段と、前記抽出した彩度成分から画像
全体の彩度を補正する彩度補正量を演算する彩度補正量
演算手段とを有するようにしたものである。
According to a fourth aspect of the present invention, in the image processing apparatus according to the first aspect, the saturation correction amount calculating means is configured to divide the input image into a plurality of areas. Means, a contour component extracting means for extracting a contour component of image data for each of the plurality of divided areas, and a contour component averaging means for calculating an average value of the contour components extracted for each of the plurality of areas. A saturation component extracting means for extracting a saturation component of the image data in an area where the average value of the contour components is the largest, and a saturation correction amount for correcting the saturation of the entire image from the extracted saturation component. And a saturation correction amount calculating means.

【0012】また、本願の請求項5の発明に係る画像処
理装置は、請求項1に記載の画像処理装置において、前
記彩度補正量算出手段は、入力画像を複数の領域に分割
する領域分割手段と、前記分割された複数の領域のそれ
ぞれに対し画像データの肌色成分を抽出する肌色成分抽
出手段と、前記肌色成分が最も多く分布する領域の画像
データの彩度成分を抽出する彩度成分抽出手段と、前記
抽出した彩度成分から画像全体の彩度を補正する彩度補
正量を演算する彩度補正量演算手段とを有するようにし
たものである。
According to a fifth aspect of the present invention, in the image processing apparatus according to the first aspect, the saturation correction amount calculating means is configured to divide the input image into a plurality of areas. Means, a flesh color component extracting means for extracting a flesh color component of image data for each of the plurality of divided regions, and a chroma component for extracting a chroma component of image data in a region where the flesh color component is distributed most. The image processing apparatus further includes an extraction unit and a saturation correction amount calculation unit that calculates a saturation correction amount for correcting the saturation of the entire image from the extracted saturation component.

【0013】[0013]

【発明の実施の形態】以下に、本願の請求項1ないし請
求項5に記載された発明の実施の形態について図を参照
しながら説明する。 (実施の形態1)図1は、請求項1に対応する、本発明
の原理的構成を示す画像処理装置のブロック図である。
図1において、11は画像入力手段であり、処理すべき
画像データが入力される。12は色変換手段であり、入
力画像データの表色系を、輝度データおよび色データの
組に変換する。13は彩度補正量算出手段であり、画像
の色データをもとに彩度データを作成し、その彩度情報
から彩度補正量を決定する。14は彩度補正手段であ
り、彩度補正量算出手段13の補正量をもとに彩度の補
正を行う。15は色変換手段であり、輝度データおよび
色データの組をもとの画像データの表色系に変換する。
16は処理された画像データを出力する画像出力手段で
ある。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a first embodiment of the present invention; (Embodiment 1) FIG. 1 is a block diagram of an image processing apparatus according to a first aspect of the present invention, showing a basic configuration of the present invention.
In FIG. 1, reference numeral 11 denotes an image input means for inputting image data to be processed. Reference numeral 12 denotes a color conversion unit that converts a color system of the input image data into a set of luminance data and color data. Reference numeral 13 denotes a saturation correction amount calculating unit that creates saturation data based on the color data of the image, and determines a saturation correction amount from the saturation information. Reference numeral 14 denotes a saturation correction unit that performs saturation correction based on the correction amount of the saturation correction amount calculation unit 13. Reference numeral 15 denotes color conversion means for converting a set of luminance data and color data into a color system of the original image data.
Reference numeral 16 denotes an image output unit that outputs processed image data.

【0014】次に、動作について説明する。画像入力手
段11により、例えばビデオキャプチャーによりテレビ
ジョン信号をキャプチャーしたデータ,スキャナからの
読み取りデータ,デジタルスチルカメラからのデータ等
が入力され、その入力されたデータの種類としては赤
(R)、緑(G)および青(B)のデータがある。
Next, the operation will be described. For example, data obtained by capturing a television signal by video capture, data read from a scanner, data from a digital still camera, and the like are input by the image input unit 11, and the types of the input data are red (R) and green. (G) and blue (B) data.

【0015】色変換手段12では入力した画像データR
GBを輝度データ(Y)と色データ(Cr、Cb)とに
変換する。例えば国際無線通信諮問委員会のRec60
1−2では、この画像データRGBから、輝度データ
(Y)と色データ(Cr、Cb)への変換は、変換式 Y=0.299R+0.587*G+0.114G Cr=0.713(R−Y) Cb=0.564(B−Y) により変換されるものとなっている。この変換式をもと
に、入力画像を輝度データおよび色データに変換する。
In the color conversion means 12, the input image data R
GB is converted into luminance data (Y) and color data (Cr, Cb). For example, Rec60 of the International Radio Communication Advisory Committee
In 1-2, the conversion from the image data RGB into the luminance data (Y) and the color data (Cr, Cb) is performed by the conversion formula Y = 0.299R + 0.587 * G + 0.114G Cr = 0.713 (R− Y) Cb = 0.564 (B−Y). The input image is converted into luminance data and color data based on the conversion formula.

【0016】彩度補正量算出手段13では、入力された
色データ(Cr、Cb)から彩度データを算出し、その
彩度レベルに基づき彩度の補正量を算出する。
The saturation correction amount calculating means 13 calculates saturation data from the input color data (Cr, Cb), and calculates a saturation correction amount based on the saturation level.

【0017】図2は、この彩度補正量算出手段13の構
成を示すブロック図であり、これは本願の請求項2の発
明に対応するものである。この図2の彩度補正量算出手
段は、彩度データ作成手段21および彩度レベル算出手
段22からなり、入力画像の彩度成分を抽出する彩度成
分抽出手段と、彩度補正係数発生手段23からなり、彩
度成分抽出手段により抽出した彩度成分から彩度補正量
を演算する彩度補正量演算手段とから構成されるもので
ある。
FIG. 2 is a block diagram showing the configuration of the saturation correction amount calculating means 13, which corresponds to the second aspect of the present invention. The saturation correction amount calculation means in FIG. 2 includes a saturation data creation means 21 and a saturation level calculation means 22, and includes a saturation component extraction means for extracting a saturation component of the input image, and a saturation correction coefficient generation means. 23 and a saturation correction amount calculating means for calculating a saturation correction amount from the saturation component extracted by the saturation component extracting means.

【0018】まず、彩度データ作成手段21により色デ
ータCrおよびCbから彩度データSへの変換を行うも
のである。その変換は、変換式 S=√(Cr2 +Cb2 ) を用いて行う。
First, the color data Cr and Cb are converted into the chroma data S by the chroma data creating means 21. The conversion is performed using a conversion equation S = √ (Cr2 + Cb2).

【0019】次に、彩度レベル算出手段22では彩度デ
ータSから画像の彩度レベル、すなわち入力画像の鮮や
かさの度合いを算出する。彩度レベルは彩度データSの
平均値または最大値にて決定する。平均値にて算出する
場合には彩度レベルは、 (彩度レベル)=(全彩度データ)/(全画素数) となる。
Next, the saturation level calculation means 22 calculates the saturation level of the image, that is, the degree of vividness of the input image, from the saturation data S. The saturation level is determined by the average value or the maximum value of the saturation data S. When calculating with the average value, the saturation level is (saturation level) = (all saturation data) / (total number of pixels).

【0020】また、最大値にて算出する場合には、入力
彩度データの最大値をそのまま使用するのではなくて、
図3に示すように入力画像の彩度データが分布している
場合、各彩度データ毎の分布数があるしきい値TH1を
越え、なおかつその中の最大の彩度レベルAを最大値に
することにより、ノイズに影響されることなく彩度レベ
ルを算出することができる。また彩度レベルの最大値か
らの分布の積算量があるしきい値を越える彩度レベルを
最大値として算出してもよい。
When the calculation is performed using the maximum value, the maximum value of the input saturation data is not used as it is.
As shown in FIG. 3, when the saturation data of the input image is distributed, the number of distributions of each saturation data exceeds a certain threshold value TH1, and the maximum saturation level A among them exceeds the maximum value. By doing so, the saturation level can be calculated without being affected by noise. Alternatively, a saturation level at which the integrated amount of the distribution from the maximum value of the saturation level exceeds a certain threshold value may be calculated as the maximum value.

【0021】そして、彩度レベルを基に彩度補正係数を
彩度補正係数発生手段23にて算出する。彩度補正係数
発生手段23では図4に示す彩度レベルと補正係数の関
係をもとに補正係数を算出する。図4において、彩度レ
ベルが小さい場合には元々無彩色に近い画像であるとし
て補正量を小さくし、また彩度レベルが大きい場合にも
十分鮮やかな画像であるとして補正量を抑制するような
補正係数を算出する。すなわち、彩度レベルがL2まで
は彩度レベルが大きくなるにつれて補正係数が大きくな
るような特性をもたせ、彩度レベルがL2からL3まで
は彩度レベルが大きくなるにつれて補正係数が小さくな
るような特性をもたせ、彩度レベルがL3以上では画像
の彩度レベルが十分に大きいため、補正係数を1、即ち
彩度の補正を行わないような特性をもたせている。
Then, a saturation correction coefficient is calculated by the saturation correction coefficient generating means 23 based on the saturation level. The saturation correction coefficient generation means 23 calculates a correction coefficient based on the relationship between the saturation level and the correction coefficient shown in FIG. In FIG. 4, when the saturation level is small, it is assumed that the image is originally close to an achromatic color, and the correction amount is small, and when the saturation level is large, the image is sufficiently vivid and the correction amount is suppressed. Calculate the correction coefficient. That is, a characteristic is provided such that the correction coefficient increases as the saturation level increases up to the saturation level L2, and the correction coefficient decreases as the saturation level increases from the saturation level L2 to L3. When the saturation level is equal to or higher than L3, the saturation level of the image is sufficiently large. Therefore, the correction coefficient is 1, that is, the saturation correction is not performed.

【0022】例えば補正係数を図4中のK1のように設
定した場合、彩度レベルに対する補正係数は次式にて算
出される。 (彩度レベル)<L2の場合、 (補正係数)=(彩度レベル)/L2+1 L2≦(彩度レベル)<L3の場合、 (補正係数)=(彩度レベル)/(L2−L3) +2−L2/(L2−L3) ={(彩度レベル)−L2}/(L2−L3)+2 となり、(彩度レベル)がL2からL3に向けて増加す
るにつれて、補正係数は最大値(この場合は2)から次
第に減少する。 L3≦(彩度レベル)の場合 (補正係数)=1.0 また、図4中のK2に示すように補正係数を設定するこ
とにより、彩度レベルがL1より小さい場合には入力画
像が無彩色に近い画像であると判断して補正係数=1.
0として彩度の補正を行わないようにしてもよい。この
ように補正係数を設定することにより、無彩色が多い画
像に対して過度の彩度補正がかかるのを防止することが
できる。なお彩度レベルと補正係数の関係を図4に示す
ように決めているが、この対応付けは、補正係数の特性
が、上に凸の形状をもつものであればこれに限るもので
はない。また補正係数の数値例についてもこの図4の例
に限るものではない。
For example, when the correction coefficient is set as K1 in FIG. 4, the correction coefficient for the saturation level is calculated by the following equation. When (saturation level) <L2, (correction coefficient) = (saturation level) / L2 + 1 When L2 ≦ (saturation level) <L3, (correction coefficient) = (saturation level) / (L2-L3) + 2-L2 / (L2-L3) = {(saturation level) -L2} / (L2-L3) +2, and as the (saturation level) increases from L2 to L3, the correction coefficient becomes the maximum value ( In this case, it gradually decreases from 2). When L3 ≦ (saturation level) (correction coefficient) = 1.0 Also, by setting a correction coefficient as indicated by K2 in FIG. It is determined that the image is close to coloring, and the correction coefficient = 1.
The saturation may not be corrected by setting it to 0. By setting the correction coefficient in this manner, it is possible to prevent an image having many achromatic colors from being subjected to excessive saturation correction. Although the relationship between the saturation level and the correction coefficient is determined as shown in FIG. 4, this association is not limited to this as long as the characteristic of the correction coefficient has an upwardly convex shape. Further, the numerical value example of the correction coefficient is not limited to the example of FIG.

【0023】図1の彩度補正手段14では、図2の彩度
補正係数発生手段23から発生する補正係数により彩度
の補正を行う。彩度の補正は色変換手段12で変換され
た色信号に対して補正係数を乗ずることによりこれを行
う。すなわち色データCr,Cbに対して、 Cr' =Cr×(補正係数) Cb' =Cb×(補正係数) として補正後の色データCr' およびCb' を算出する
ことにより、彩度の補正を行う。
The saturation correction means 14 shown in FIG. 1 corrects the saturation using the correction coefficient generated from the saturation correction coefficient generation means 23 shown in FIG. Saturation is corrected by multiplying the color signal converted by the color conversion means 12 by a correction coefficient. That is, for the color data Cr and Cb, the corrected color data Cr ′ and Cb ′ are calculated as Cr ′ = Cr × (correction coefficient) Cb ′ = Cb × (correction coefficient), thereby correcting the saturation. Do.

【0024】次に、図1の色変換手段15において、輝
度データ(Y)と色データ(Cr',Cb' )から元の
RGBデータに変換する。この場合の変換式は、 R=Y+1.4026Cr' G=Y−0.7144Cr' −0.3444Cb' B=Y+1.7730Cb' となる。変換後の画像データは画像出力手段16にて出
力される。
Next, the color conversion means 15 of FIG. 1 converts the luminance data (Y) and the color data (Cr ', Cb') into the original RGB data. The conversion formula in this case is as follows: R = Y + 1.4026 Cr ′ G = Y−0.7144 Cr′−0.3444 Cb ′ B = Y + 1.7730 Cb ′ The converted image data is output by the image output means 16.

【0025】このように、本実施の形態1によれば、入
力された画像データを輝度データと色データとに変換
し、色データから彩度データを算出し、その彩度レベル
に基づき、彩度レベルが小さい間は彩度レベルが大きく
なるにつれて補正係数が大きくなり、彩度レベルがある
値を越えてさらに大きくなるにつれて補正係数が小さく
なり、画像の彩度レベルが十分大きくなると、補正係数
が1、即ち彩度の補正を行わないような補正係数を算出
し、色データにこの補正係数を乗ずることにより彩度補
正を行い、この彩度補正された色データと輝度データを
元の入力データと同じ形式の画像データに戻すことによ
り、無彩色が多い画像に対して過度の彩度補正がかかる
のを防止でき、最適な彩度補正を行うことができる。
As described above, according to the first embodiment, input image data is converted into luminance data and color data, saturation data is calculated from the color data, and the saturation data is calculated based on the saturation level. While the saturation level is low, the correction coefficient increases as the saturation level increases, and the correction coefficient decreases as the saturation level exceeds a certain value, and decreases when the saturation level of the image is sufficiently high. Is 1, that is, a correction coefficient for not performing the saturation correction is calculated, and the saturation correction is performed by multiplying the color data by the correction coefficient. By returning the image data to the same format as the data, it is possible to prevent the image having many achromatic colors from being subjected to excessive saturation correction, and to perform optimal saturation correction.

【0026】(実施の形態2)次に、入力画像を複数の
領域に分割し、領域毎に彩度レベルを算出して彩度の補
正を行う場合について以下に説明する。これは、本願の
請求項3の発明に対応するものであり、まず入力画像を
図5に示すようにいくつかの領域、この図5の例では#
1ないし#9の領域に分割し、各領域毎に彩度補正デー
タを作成して彩度レベルを算出し、最も大きい彩度レベ
ルを画像全体の彩度レベルとして彩度の補正を行うよう
にするものである。
(Embodiment 2) Next, a case where an input image is divided into a plurality of regions, a saturation level is calculated for each region, and saturation is corrected will be described below. This corresponds to the invention of claim 3 of the present application. First, the input image is divided into several areas as shown in FIG. 5, and in the example of FIG.
The image data is divided into regions # 1 to # 9, and saturation correction data is created for each region to calculate a saturation level. The saturation correction is performed using the largest saturation level as the saturation level of the entire image. Is what you do.

【0027】入力画像が例えば図11に示すようにビル
Bの前に人物Pが立っているようなものの場合、画像全
体にわたって彩度レベルを算出して彩度補正を行ったの
では、図5の領域#1、#2、#3、#4、#6、#
7、#9に相当する領域では無彩色成分が多いため、鮮
やかさを増す方向、つまり大きい彩度補正がかかってし
まう。これはビルの彩度レベルに合わせた形で彩度補正
がなされてしまうためである。そこで、図1の彩度補正
量算出手段13を図6に示すように構成し、分割した領
域毎に彩度レベルを算出し、その中で最も彩度レベルが
大きい領域を基準にして画像全体の彩度補正を行うよう
にすると、例えば領域#5の人物を基準にした彩度補正
を行うことが可能となり、最適な彩度補正ができる。
If the input image is such that a person P stands in front of a building B as shown in FIG. 11, for example, if the saturation level is calculated for the entire image and the saturation correction is performed, then FIG. Areas # 1, # 2, # 3, # 4, # 6, #
In areas corresponding to # 7 and # 9, there are many achromatic components, and therefore, a direction of increasing vividness, that is, a large saturation correction is applied. This is because saturation correction is performed in a form that matches the saturation level of the building. Therefore, the saturation correction amount calculating means 13 shown in FIG. 1 is configured as shown in FIG. 6, and calculates the saturation level for each of the divided areas. When the saturation correction is performed, for example, it is possible to perform the saturation correction based on the person in the region # 5, and the optimum saturation correction can be performed.

【0028】この図6の彩度補正量算出手段は、領域分
割手段61からなり、入力画像を複数の領域に分割する
領域分割手段と、彩度データ作成手段62および彩度レ
ベル算出手段63からなり、分割された複数の領域のそ
れぞれに対し画像データの彩度成分を抽出する彩度成分
抽出手段と、彩度レベル最大値算出手段64および彩度
補正係数発生手段65からなり、複数の領域毎に抽出し
た彩度成分から最も彩度成分の大きい領域の彩度成分を
もとに画像全体の彩度を補正する彩度補正量を演算する
彩度補正量演算手段とから構成されるものである。
The saturation correction amount calculating means shown in FIG. 6 includes an area dividing means 61, and an area dividing means for dividing an input image into a plurality of areas, and a saturation data creating means 62 and a saturation level calculating means 63. And a saturation component extraction unit for extracting a saturation component of image data for each of the plurality of divided regions; a saturation level maximum value calculation unit 64 and a saturation correction coefficient generation unit 65; A saturation correction amount calculating means for calculating a saturation correction amount for correcting the saturation of the entire image based on the saturation component of the region having the largest saturation component from the extracted saturation components It is.

【0029】まず領域分割手段61により画像を複数の
領域に分割し、各領域毎の彩度データを彩度データ作成
手段62にて作成し、領域毎の彩度レベルを彩度レベル
算出手段63にて算出する。次に彩度レベル最大値算出
手段64にて各領域毎の彩度レベルから最大の彩度レベ
ルを算出し、その彩度レベルを基に彩度補正係数を彩度
補正係数発生手段65にて算出する。
First, the image is divided into a plurality of areas by the area dividing means 61, and the saturation data for each area is created by the saturation data creating means 62, and the saturation level for each area is calculated by the saturation level calculating means 63. Is calculated. Next, the maximum saturation level calculation unit 64 calculates the maximum saturation level from the saturation level of each region, and based on the saturation level, calculates a saturation correction coefficient by the saturation correction coefficient generation unit 65. calculate.

【0030】その際、彩度補正係数を従来例の図10に
示すような特性を用いて決定しても過度の補正がかかる
ことはない。これは、上述のように、画像を複数の領域
に分割し、各領域毎に彩度補正データを作成して彩度レ
ベルを算出し、最も大きい彩度レベルを画像全体の彩度
レベルとして彩度の補正を行うようにしているため、画
像全体のなかで彩度が低い部分が多くを占めるような画
像の場合、その彩度の低い部分にひきずられて、彩度の
高い部分までもが過度に補正されてしまい、元々彩度の
高い部分に対して過度の彩度強調がなされてしまう,と
いう不具合が生じることはなくなるものである。また、
彩度補正係数を図4に示すような特性を用いて決定する
ことにより、さらに最適な彩度補正を行うことができ
る。
At this time, even if the saturation correction coefficient is determined using the characteristic shown in FIG. 10 of the conventional example, no excessive correction is applied. That is, as described above, the image is divided into a plurality of regions, saturation correction data is created for each region, the saturation level is calculated, and the largest saturation level is set as the saturation level of the entire image. Since the saturation correction is performed, if the image has low saturation in the whole image, it will be shifted to the low saturation part, and even the high saturation part will be shifted. This eliminates the problem that the correction is excessively performed and the excessively high saturation is originally applied to the high saturation portion. Also,
By determining the saturation correction coefficient using the characteristics shown in FIG. 4, more optimal saturation correction can be performed.

【0031】このように、本実施の形態2によれば、入
力画像を複数の領域に分割し、領域毎に彩度レベルを算
出して、その彩度レベルの最大値を求め、この最大の彩
度レベルを画像全体の彩度レベルとして彩度の補正を行
うようにしているため、画像全体のなかで彩度が低い部
分が多くを占めるような画像であっても、その彩度が低
い部分に基づいて彩度補正係数を発生することがなくな
るので、元々彩度の高い部分に対して過度の彩度強調が
なされてしまうのを防止できる。
As described above, according to the second embodiment, the input image is divided into a plurality of regions, the saturation level is calculated for each region, and the maximum value of the saturation level is obtained. Since the saturation level is used as the saturation level of the entire image and the saturation is corrected, even if the image has a low saturation portion in the entire image, the saturation is low. Since the saturation correction coefficient is not generated based on the portion, it is possible to prevent the portion having originally high saturation from being excessively emphasized.

【0032】(実施の形態3)次に、入力画像を領域分
割し、領域毎に輪郭成分を抽出して彩度の補正を行う場
合について以下に説明する。これは、本願の請求項4の
発明に対応するものであり、この場合の彩度補正量算出
手段13は図7に示すような構成となる。この図7の彩
度補正量算出手段は、領域分割手段71からなり、入力
画像を複数の領域に分割する領域分割手段と、輪郭デー
タ算出手段72からなり、分割された複数のそれぞれに
対し画像データの輪郭成分を抽出する輪郭成分抽出手段
と、輪郭データ平均値算出手段73からなり、複数の領
域毎に抽出した輪郭成分の平均値を算出する輪郭成分平
均化手段と、作業領域指定手段74,彩度データ作成手
段75,彩度レベル算出手段76からなり、輪郭成分の
平均値が最も大きい領域の画像データの彩度成分を抽出
する彩度成分抽出手段と、彩度補正係数発生手段77か
らなり、抽出した彩度成分から画像全体の彩度を補正す
る彩度補正量を演算する彩度補正量演算手段とから構成
されるものである。
(Embodiment 3) Next, a case where an input image is divided into regions and a contour component is extracted for each region to correct the saturation will be described below. This corresponds to the invention of claim 4 of the present application. In this case, the saturation correction amount calculating means 13 has a configuration as shown in FIG. The saturation correction amount calculating means in FIG. 7 includes an area dividing means 71, an area dividing means for dividing an input image into a plurality of areas, and an outline data calculating means 72. A contour component extracting means for extracting a contour component of data, and a contour data average value calculating means 73, a contour component averaging means for calculating an average value of the contour components extracted for each of a plurality of regions, and a work area designating means 74 A saturation component extracting unit for extracting a saturation component of image data in a region where the average value of the contour components is the largest, and a saturation correction coefficient generating unit 77. And a saturation correction amount calculating means for calculating a saturation correction amount for correcting the saturation of the entire image from the extracted saturation components.

【0033】この彩度補正量算出手段には図1の色変換
手段12から出た輝度データと色データの両方が入力さ
れる。色変換手段12から出力された輝度データを領域
分割手段71にて領域毎に分割し、領域毎の輪郭データ
を輪郭データ算出手段72にて算出する。輪郭データは
注目画素とその周辺画素の差の絶対値で算出する。例え
ば注目画素とその上,下,左,右に位置する画素で輪郭
データを求める場合は、 (輪郭データ)=|(注目画素データ)−(上画素デー
タ)−(下画素データ)−(左画素データ)−(右画素
データ)| となる。
Both the luminance data and the color data output from the color conversion means 12 in FIG. 1 are input to the saturation correction amount calculation means. The luminance data output from the color conversion unit 12 is divided into regions by the region dividing unit 71, and contour data for each region is calculated by the contour data calculating unit 72. The contour data is calculated from the absolute value of the difference between the target pixel and its surrounding pixels. For example, when contour data is obtained from a target pixel and pixels located above, below, left, and right, (contour data) = | (target pixel data) − (upper pixel data) − (lower pixel data) − (left (Pixel data) − (right pixel data) |

【0034】次に領域毎の輪郭データの平均値を輪郭デ
ータ平均値算出回路73にて算出し、最も平均値の大き
い領域を算出して彩度データを算出する領域を作業領域
指定手段74にて指定する。この作業領域に従ってその
範囲の彩度データを彩度データ作成手段75にて作成
し、彩度レベル算出手段76にて彩度の平均値または最
大値にて彩度レベルを算出し、彩度補正係数発生手段7
7にて彩度レベルを基に彩度の補正係数を発生させ、彩
度の補正を行う。
Next, the average value of the outline data for each area is calculated by the outline data average value calculation circuit 73, the area having the largest average value is calculated, and the area for calculating the saturation data is sent to the work area specifying means 74. To specify. According to this work area, the saturation data of the range is created by the saturation data creation means 75, and the saturation level is calculated by the saturation level calculation means 76 using the average value or the maximum value of the saturation, and the saturation correction is performed. Coefficient generating means 7
At 7, a saturation correction coefficient is generated based on the saturation level, and the saturation is corrected.

【0035】このように、本実施の形態3によれば、輪
郭成分の最も多い領域の彩度レベルを基に全体の彩度を
決定することにより、最も画像のなかで目立つ輪郭の多
い部分を中心に彩度の補正を行うようにしたので、見た
目に最適な彩度補正を行うことができる。
As described above, according to the third embodiment, the overall saturation is determined on the basis of the saturation level of the region having the largest number of contour components. Since the saturation correction is performed at the center, it is possible to perform an optimally correct saturation correction.

【0036】その際、補正係数を従来例の図10に示す
ような特性を用いて決定しても過度の補正がかかること
はない。これは、画像全体のなかで彩度が低い部分が多
くを占めるような画像であっても、その彩度が低い部分
に基づいて彩度補正係数を発生することがなくなるから
である。また彩度補正係数を図4に示すような特性を用
いて決定することにより、最も画像のなかで目立つ輪郭
の多い部分を中心に彩度の補正を行うので、見た目に最
適な彩度補正を行うことができる。
At this time, even if the correction coefficient is determined using the characteristic shown in FIG. 10 of the conventional example, no excessive correction is applied. This is because, even in an image in which a low-saturation portion occupies a large portion in the entire image, a saturation correction coefficient is not generated based on the low-saturation portion. Further, by determining the saturation correction coefficient using the characteristics shown in FIG. 4, the saturation correction is performed centering on the most conspicuous portion in the image, so that the optimum saturation correction can be achieved. It can be carried out.

【0037】(実施の形態4)次に、入力画像を複数の
領域に分割し、各領域毎に肌色成分を抽出して彩度の補
正を行う場合について以下に説明する。これは本願の請
求項5の発明に対応し、この時の彩度補正量算出手段1
3は図8に示すような構成となる。この図8の彩度補正
量算出手段は、領域分割手段81からなり、入力画像を
複数の領域に分割する領域分割手段と、肌色データ抽出
手段82からなり、分割された複数の領域のそれぞれに
対し画像データの肌色成分を抽出する肌色成分抽出手段
と、肌色データ分布数算出手段83,作業領域指定手段
84,彩度データ作成手段85,彩度レベル算出手段8
6からなり、肌色成分が最も多く分布する領域の画像デ
ータの彩度成分を抽出する彩度成分抽出手段と、彩度補
正係数発生手段87からなり、抽出した彩度成分から画
像全体の彩度を補正する彩度補正量を演算する彩度補正
量演算手段とから構成されるものである。
(Embodiment 4) Next, a case in which an input image is divided into a plurality of regions, skin color components are extracted for each region, and saturation is corrected will be described below. This corresponds to the invention of claim 5 of the present application.
3 has a configuration as shown in FIG. The saturation correction amount calculating means in FIG. 8 includes an area dividing means 81, an area dividing means for dividing an input image into a plurality of areas, and a flesh color data extracting means 82. On the other hand, a skin color component extracting unit for extracting a skin color component of image data, a skin color data distribution number calculating unit 83, a work area designating unit 84, a saturation data creating unit 85, and a saturation level calculating unit 8
6, and a saturation correction coefficient generating means 87 for extracting a saturation component of the image data of the area where the skin color component is distributed most. The saturation of the entire image is calculated from the extracted saturation component. And a saturation correction amount calculating means for calculating a saturation correction amount for correcting the color difference.

【0038】まず、図1の色変換手段12から出力され
た色データを領域分割手段81にて複数の領域に分割
し、それぞれの領域毎に肌色である画素を肌色データ抽
出手段82にて抽出する。肌色であるかどうかの判断は
色データCrおよびCbから色相データHを求め、その
色相データが、ある範囲の数値である場合にその画素を
肌色と判断する。この色相データは次式にて算出され
る。 H=tan-1(Cr/Cb) 図12は色相と肌色の分布の関係を示す図であり、肌色
はある特定の色相領域に分布している。従って色相デー
タHがH1からH2までの値であるとき、肌色であると
して抽出を行う。このH1、H2の値としては例えばH
1=110°、H2=130°とする。肌色データ分布
数算出回路83では領域毎の肌色データの分布数を計測
する。次に肌色データの最も分布数の多い領域を算出
し、彩度データを算出する領域を作業領域指定手段84
にて指定する。
First, the color data output from the color conversion means 12 shown in FIG. 1 is divided into a plurality of areas by the area dividing means 81, and a skin color pixel is extracted by the skin color data extracting means 82 for each area. I do. To determine whether the pixel is a skin color, the hue data H is obtained from the color data Cr and Cb, and if the hue data is a numerical value within a certain range, the pixel is determined to be a skin color. This hue data is calculated by the following equation. H = tan-1 (Cr / Cb) FIG. 12 is a diagram showing the relationship between the hue and the flesh color distribution, and the flesh color is distributed in a specific hue region. Therefore, when the hue data H has a value from H1 to H2, it is extracted as a flesh color. The values of H1 and H2 are, for example, H
1 = 110 ° and H2 = 130 °. The skin color data distribution number calculation circuit 83 measures the distribution number of the skin color data for each area. Next, an area in which the number of distributions of the skin color data is largest is calculated, and an area in which the saturation data is calculated is designated as the work area designating means 84.
Specify with.

【0039】この作業領域に従ってその範囲の彩度デー
タを彩度データ作成手段85にて作成し、彩度レベル算
出手段86にて彩度の平均値または最大値にて彩度レベ
ルを算出し、彩度補正係数発生手段87にて彩度レベル
を基に彩度の補正係数を発生させ、彩度の補正を行う。
この場合、H1,H2の値はH1=110゜、H2=1
30゜である必要はなく、画像処理装置の特性に合わせ
て設定すればよい。このように肌色の最も多く分布して
いる領域の彩度レベルを基に全体の彩度を決定すること
により、画面のなかで中心となる人物を基準に最適な彩
度の補正を行うことができる。
According to the work area, the saturation data in the range is created by the saturation data creation means 85, and the saturation level calculation means 86 calculates the saturation level by the average value or the maximum value of the saturation. Saturation correction coefficient generation means 87 generates a saturation correction coefficient based on the saturation level, and performs saturation correction.
In this case, the values of H1 and H2 are H1 = 110 ° and H2 = 1.
The angle does not need to be 30 ° and may be set according to the characteristics of the image processing apparatus. In this way, by determining the overall saturation based on the saturation level of the area where the most skin color is distributed, it is possible to perform optimal saturation correction based on the person at the center of the screen it can.

【0040】その際、補正係数を従来例の図10に示す
ような特性を用いて決定しても過度の補正がかかること
はない。これは、画像全体のなかで彩度が低い部分が多
くを占めるような画像であっても、画面のなかで中心と
なる人物を基準に彩度補正を実行できるため、その彩度
が低い部分に基づいて彩度補正係数を発生することがな
くなるからである。また、彩度補正係数を図4に示すよ
うな特性を用いて決定することにより、さらに最適な彩
度補正を行うことができる。
At this time, even if the correction coefficient is determined using the characteristic shown in FIG. 10 of the conventional example, no excessive correction is applied. This is because, even if an image has low saturation in the entire image, saturation correction can be performed based on the person at the center of the screen. This is because there is no need to generate a saturation correction coefficient based on Further, by determining the saturation correction coefficient using the characteristics shown in FIG. 4, more optimal saturation correction can be performed.

【0041】[0041]

【発明の効果】以上のように、本願の請求項1の発明に
係る画像処理装置によれば、画像の彩度を画像の鮮やか
さに合わせて補正する画像処置装置において、入力画像
の色データおよび輝度データから彩度の補正量を算出す
る彩度補正量算出手段と、該彩度補正量算出手段により
算出された補正量に基づき彩度の補正を行う彩度補正手
段とを備え、前記彩度補正量算出手段は、入力画像の彩
度成分が基準値より小さい場合には彩度成分の大きさに
応じて徐々に大きくなる補正量を算出し、彩度成分が基
準値より大きい場合には彩度補正量を彩度成分の大きさ
に応じて徐々に小さくなる補正量を算出するようにした
ので、画像の彩度を画像の鮮やかさに合わせて補正する
際に、彩度の低い画像に対しては彩度補正量を抑制する
ことができ、無彩色部分に過度の補正がかかるのを防止
することができる効果がある。
As described above, according to the image processing apparatus of the first aspect of the present invention, in the image processing apparatus for correcting the saturation of an image in accordance with the vividness of the image, the color data of the input image And a saturation correction amount calculation unit that calculates a saturation correction amount from the luminance data, and a saturation correction unit that performs saturation correction based on the correction amount calculated by the saturation correction amount calculation unit, The saturation correction amount calculating means calculates a correction amount that gradually increases according to the size of the saturation component when the saturation component of the input image is smaller than the reference value, and calculates the correction amount when the saturation component is larger than the reference value. Calculates the amount of saturation correction that gradually decreases in accordance with the size of the saturation component, so when correcting the saturation of an image to match the vividness of the image, The saturation correction amount can be suppressed for low images, There is an effect that it is possible to prevent the portion to excessive correction from being applied.

【0042】また、本願の請求項2の発明に係る画像処
理装置によれば、請求項1に記載の画像処理装置におい
て、前記彩度補正量算出手段は、入力画像の彩度成分を
抽出する彩度成分抽出手段と、該彩度成分抽出手段によ
り抽出した彩度成分から彩度補正量を演算する彩度補正
量演算手段とを有するようにしたので、画像の彩度を画
像の鮮やかさに合わせて補正する際に、彩度の低い画像
に対しては彩度補正量を抑制することができ、無彩色部
分に過度の補正がかかるのを防止することができる装置
の具体的な構成が得られる効果がある。
According to the image processing apparatus of the second aspect of the present invention, in the image processing apparatus of the first aspect, the saturation correction amount calculating means extracts a saturation component of the input image. The image processing apparatus further includes a chroma component extracting unit and a chroma correction amount calculating unit that calculates a chroma correction amount from the chroma component extracted by the chroma component extracting unit. Specific configuration of an apparatus that can suppress the amount of saturation correction for an image with low saturation when correcting according to the image, and can prevent excessive correction from being applied to an achromatic portion. The effect is obtained.

【0043】また、本願の請求項3の発明に係る画像処
理装置によれば、請求項1に記載の画像処理装置におい
て、前記彩度補正量算出手段は、入力画像を複数の領域
に分割する領域分割手段と、前記分割された複数の領域
のそれぞれに対し画像データの彩度成分を抽出する彩度
成分抽出手段と、前記複数の領域毎に抽出した彩度成分
から最も彩度成分の大きい領域の彩度成分をもとに画像
全体の彩度を補正する彩度補正量を演算する彩度補正量
演算手段とを有するようにしたので、無彩色の画像デー
タと、有彩色の画像データとが混在している場合におい
ても最も彩度の大きい領域での彩度情報をもとに補正量
を決定することができ、最適な彩度補正を行うことがで
きる効果がある。
According to the image processing apparatus of the third aspect of the present invention, in the image processing apparatus of the first aspect, the saturation correction amount calculating means divides the input image into a plurality of areas. Region dividing means, a saturation component extracting means for extracting a saturation component of image data for each of the plurality of divided regions, and a largest saturation component from the saturation components extracted for each of the plurality of regions. A means for calculating a saturation correction amount for correcting the saturation of the entire image based on the saturation component of the region, so that achromatic image data and chromatic image data In the case where are mixed, the correction amount can be determined based on the saturation information in the region with the largest saturation, and there is an effect that the optimum saturation correction can be performed.

【0044】また、本願の請求項4の発明に係る画像処
理装置によれば、請求項1に記載の画像処理装置におい
て、前記彩度補正量算出手段は、入力画像を複数の領域
に分割する領域分割手段と、前記分割された複数の領域
のそれぞれに対し画像データの輪郭成分を抽出する輪郭
成分抽出手段と、前記複数の領域毎に抽出した輪郭成分
の平均値を算出する輪郭成分平均化手段と、前記輪郭成
分の平均値が最も大きい領域の画像データの彩度成分を
抽出する彩度成分抽出手段と、前記抽出した彩度成分か
ら画像全体の彩度を補正する彩度補正量を演算する彩度
補正量演算手段とを有するようにしたので、輪郭成分の
多いところ、つまり画像の中心となる部分の彩度情報を
もとに補正量を決めることができ、最適な彩度補正を行
うことができる効果がある。
According to the image processing apparatus of the present invention, in the image processing apparatus of the first aspect, the saturation correction amount calculating means divides the input image into a plurality of areas. Region dividing means; contour component extracting means for extracting a contour component of image data for each of the plurality of divided areas; contour component averaging for calculating an average value of the contour components extracted for each of the plurality of areas Means, a saturation component extracting means for extracting a saturation component of the image data of the region where the average value of the contour components is the largest, and a saturation correction amount for correcting the saturation of the entire image from the extracted saturation component. Since there is provided a saturation correction amount calculating means for calculating, it is possible to determine the correction amount based on the saturation information of a portion having a large number of contour components, that is, a central portion of the image, so that the optimum saturation correction is performed. The effect that can be performed There is.

【0045】また、本願の請求項5の発明に係る画像処
理装置によれば、請求項1に記載の画像処理装置におい
て、前記彩度補正量算出手段は、入力画像を複数の領域
に分割する領域分割手段と、前記分割された複数の領域
のそれぞれに対し画像データの肌色成分を抽出する肌色
成分抽出手段と、前記肌色成分が最も多く分布する領域
の画像データの彩度成分を抽出する彩度成分抽出手段
と、前記抽出した彩度成分から画像全体の彩度を補正す
る彩度補正量を演算する彩度補正量演算手段とを有する
ようにしたので、画像の中で最も注目される人物の彩度
情報をもとに彩度補正量を算出でき、人間の感性にあっ
た最適な彩度補正を行うことができる効果がある。
According to a fifth aspect of the present invention, in the image processing apparatus according to the first aspect, the saturation correction amount calculating means divides the input image into a plurality of regions. Region dividing means, skin color component extracting means for extracting a flesh color component of image data for each of the plurality of divided regions, and chroma for extracting a chroma component of image data of a region where the flesh color component is most distributed. Since the image processing apparatus has the saturation component extracting means and the saturation correction amount calculating means for calculating the saturation correction amount for correcting the saturation of the entire image from the extracted saturation components, the image is most noticed in the image. The saturation correction amount can be calculated based on the saturation information of the person, and there is an effect that the optimum saturation correction suited to human sensitivity can be performed.

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

【図1】本発明の実施の形態1における画像処理装置の
全体ブロック図
FIG. 1 is an overall block diagram of an image processing apparatus according to a first embodiment of the present invention.

【図2】本発明の実施の形態1における彩度補正量算出
手段のブロック図
FIG. 2 is a block diagram of a saturation correction amount calculating unit according to the first embodiment of the present invention;

【図3】本発明の実施の形態1における彩度データの分
布図
FIG. 3 is a distribution diagram of chroma data according to the first embodiment of the present invention.

【図4】本発明の実施の形態1における彩度補正係数発
生手段の特性図
FIG. 4 is a characteristic diagram of a saturation correction coefficient generation unit according to the first embodiment of the present invention.

【図5】本発明の実施の形態2における領域分割の説明
FIG. 5 is an explanatory diagram of area division according to Embodiment 2 of the present invention;

【図6】本発明の実施の形態2における彩度補正量算出
手段のブロック図
FIG. 6 is a block diagram of a saturation correction amount calculating unit according to the second embodiment of the present invention;

【図7】本発明の実施の形態3における彩度補正量算出
手段のブロック図
FIG. 7 is a block diagram of a saturation correction amount calculating unit according to the third embodiment of the present invention;

【図8】本発明の実施の形態4における彩度補正量算出
手段のブロック図
FIG. 8 is a block diagram of a saturation correction amount calculating unit according to the fourth embodiment of the present invention.

【図9】従来の画像の彩度変換装置のブロック図FIG. 9 is a block diagram of a conventional image saturation conversion device.

【図10】従来の画像の彩度変換方法の説明図FIG. 10 is an explanatory diagram of a conventional image saturation conversion method.

【図11】本発明の実施の形態1ないし4における入力
画像サンプルを示す図
FIG. 11 is a diagram showing an input image sample according to the first to fourth embodiments of the present invention.

【図12】本発明の実施の形態4における色相と肌色分
布の関係図
FIG. 12 is a diagram showing the relationship between hue and skin color distribution according to the fourth embodiment of the present invention.

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

11 画像入力手段 12,15 色変換手段 13 彩度補正量算出手段 14 彩度補正手段 15 色変換手段 16 画像出力手段 21,62,75,85 彩度データ作成手段 22,63,76,86 彩度レベル算出手段 23,65,77,87 彩度補正係数発生手段 61,71,81 領域分割手段 64 彩度レベル最大値算出手段 72 輪郭データ算出手段 73 輪郭データ平均値算出手段 74,84 作業領域指定手段 82 肌色データ抽出手段 83 肌色データ分布数算出手段 DESCRIPTION OF SYMBOLS 11 Image input means 12, 15 Color conversion means 13 Saturation correction amount calculation means 14 Saturation correction means 15 Color conversion means 16 Image output means 21, 62, 75, 85 Saturation data creation means 22, 63, 76, 86 Saturation level calculation means 23, 65, 77, 87 Saturation correction coefficient generation means 61, 71, 81 Area dividing means 64 Saturation level maximum value calculation means 72 Outline data calculation means 73 Outline data average value calculation means 74, 84 Work area Designating means 82 Skin color data extracting means 83 Skin color data distribution number calculating means

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 CA01 CB01 CE17 DC16 DC25 5C066 AA03 AA05 BA20 CA17 DA01 DC01 EA05 EB03 EB07 EB11 EC02 EE02 EF02 GA02 GB01 HA06 JA02 KA13 KD03 KD06 KE01 KM11 LA02 5C077 MP08 PP35 PP37 PP43 PP46 5C079 HB06 LA02 NA01  ──────────────────────────────────────────────────続 き Continued on front page F term (reference) 5B057 CA01 CB01 CE17 DC16 DC25 5C066 AA03 AA05 BA20 CA17 DA01 DC01 EA05 EB03 EB07 EB11 EC02 EE02 EF02 GA02 GB01 HA06 JA02 KA13 KD03 KD06 KE01 KM11 LA02 5C037 PP08 LA02 NA01

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画像の彩度を画像の鮮やかさに合わせて
補正する画像処置装置において、 入力画像の色データおよび輝度データから彩度の補正量
を算出する彩度補正量算出手段と、 該彩度補正量算出手段により算出された補正量に基づき
彩度の補正を行う彩度補正手段とを備え、 前記彩度補正量算出手段は、入力画像の彩度成分が基準
値より小さい場合には彩度成分の大きさに応じて徐々に
大きくなる補正量を算出し、彩度成分が基準値より大き
い場合には彩度補正量を彩度成分の大きさに応じて徐々
に小さくなる補正量を算出することを特徴とする画像処
理装置。
1. An image processing apparatus for correcting the saturation of an image in accordance with the vividness of the image, comprising: a saturation correction amount calculating means for calculating a saturation correction amount from color data and luminance data of an input image; Saturation correction means for correcting the saturation based on the correction amount calculated by the saturation correction amount calculation means, wherein the saturation correction amount calculation means is provided when the saturation component of the input image is smaller than a reference value. Calculates a correction amount that gradually increases according to the size of the saturation component, and when the saturation component is larger than the reference value, the correction amount that gradually decreases according to the size of the saturation component An image processing apparatus for calculating an amount.
【請求項2】 請求項1に記載の画像処理装置におい
て、 前記彩度補正量算出手段は、 入力画像の彩度成分を抽出する彩度成分抽出手段と、 該彩度成分抽出手段により抽出した彩度成分から彩度補
正量を演算する彩度補正量演算手段とを有するものであ
ることを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein the saturation correction amount calculating unit extracts a saturation component of an input image, and extracts the saturation component from the input image. An image processing apparatus comprising: a saturation correction amount calculating unit configured to calculate a saturation correction amount from a saturation component.
【請求項3】 請求項1に記載の画像処理装置におい
て、 前記彩度補正量算出手段は、 入力画像を複数の領域に分割する領域分割手段と、 前記分割された複数の領域のそれぞれに対し画像データ
の彩度成分を抽出する彩度成分抽出手段と、 前記複数の領域毎に抽出した彩度成分から最も彩度成分
の大きい領域の彩度成分をもとに画像全体の彩度を補正
する彩度補正量を演算する彩度補正量演算手段とを有す
るものであることを特徴とする画像処理装置。
3. The image processing apparatus according to claim 1, wherein the saturation correction amount calculating unit includes: a region dividing unit that divides an input image into a plurality of regions; A saturation component extracting means for extracting a saturation component of the image data, and correcting a saturation of the entire image based on a saturation component of a region having a largest saturation component from the saturation components extracted for each of the plurality of regions. A color saturation correction amount calculating means for calculating a color saturation correction amount.
【請求項4】 請求項1に記載の画像処理装置におい
て、 前記彩度補正量算出手段は、 入力画像を複数の領域に分割する領域分割手段と、 前記分割された複数の領域のそれぞれに対し画像データ
の輪郭成分を抽出する輪郭成分抽出手段と、 前記複数の領域毎に抽出した輪郭成分の平均値を算出す
る輪郭成分平均化手段と、 前記輪郭成分の平均値が最も大きい領域の画像データの
彩度成分を抽出する彩度成分抽出手段と、 前記抽出した彩度成分から画像全体の彩度を補正する彩
度補正量を演算する彩度補正量演算手段とを有するもの
であることを特徴とする画像処理装置。
4. The image processing apparatus according to claim 1, wherein the saturation correction amount calculating unit includes: a region dividing unit that divides an input image into a plurality of regions; Contour component extracting means for extracting a contour component of image data; contour component averaging means for calculating an average value of the contour components extracted for each of the plurality of regions; image data of a region having the largest average value of the contour components And a saturation correction amount calculating means for calculating a saturation correction amount for correcting the saturation of the entire image from the extracted saturation components. Characteristic image processing device.
【請求項5】 請求項1に記載の画像処理装置におい
て、 前記彩度補正量算出手段は、 入力画像を複数の領域に分割する領域分割手段と、 前記分割された複数の領域のそれぞれに対し画像データ
の肌色成分を抽出する肌色成分抽出手段と、 前記肌色成分が最も多く分布する領域の画像データの彩
度成分を抽出する彩度成分抽出手段と、 前記抽出した彩度成分から画像全体の彩度を補正する彩
度補正量を演算する彩度補正量演算手段とを有するもの
であることを特徴とする画像処理装置。
5. The image processing apparatus according to claim 1, wherein the saturation correction amount calculating unit includes: an area dividing unit that divides an input image into a plurality of areas; Skin color component extraction means for extracting a skin color component of image data; saturation component extraction means for extracting a saturation component of image data in an area where the skin color component is distributed most; and An image processing apparatus comprising: a saturation correction amount calculating unit configured to calculate a saturation correction amount for correcting saturation.
JP11020298A 1999-01-28 1999-01-28 Image processor Pending JP2000224607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11020298A JP2000224607A (en) 1999-01-28 1999-01-28 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11020298A JP2000224607A (en) 1999-01-28 1999-01-28 Image processor

Publications (1)

Publication Number Publication Date
JP2000224607A true JP2000224607A (en) 2000-08-11

Family

ID=12023258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11020298A Pending JP2000224607A (en) 1999-01-28 1999-01-28 Image processor

Country Status (1)

Country Link
JP (1) JP2000224607A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002135559A (en) * 2000-10-20 2002-05-10 Noritsu Koki Co Ltd Image forming device, image data processing method and recording medium with image data processing program recorded thereon
JP2002245446A (en) * 2001-02-20 2002-08-30 Nec Corp Color image processor and its method
JP2003111007A (en) * 2001-09-27 2003-04-11 Fuji Photo Film Co Ltd Image processing system, imaging apparatus, image processor, image processing method and program
WO2003103299A1 (en) * 2002-06-03 2003-12-11 セイコーエプソン株式会社 Image display device, image display method, and computer-readable recording medium containing image display program
WO2006025120A1 (en) * 2004-09-01 2006-03-09 Mitsubishi Denki Kabushiki Kaisha Image display apparatus and image display method
KR100612494B1 (en) 2004-06-07 2006-08-14 삼성전자주식회사 Apparatus and method for saturation comtrolling of color image
JP2007219792A (en) * 2006-02-16 2007-08-30 Matsushita Electric Ind Co Ltd Image processing device and its method, program, and recording medium
KR100839959B1 (en) 2003-09-01 2008-06-20 삼성전자주식회사 Display apparatus
US7443453B2 (en) 2005-02-15 2008-10-28 Quanta Computer, Inc. Dynamic image saturation enhancement apparatus
CN102111546A (en) * 2009-12-25 2011-06-29 佳能株式会社 Method for processing image, image processing apparatus, and imaging apparatus
JP2011135511A (en) * 2009-12-25 2011-07-07 Canon Inc Image processing method, image processing apparatus, and imaging device
JP2011135519A (en) * 2009-12-25 2011-07-07 Canon Inc Image processing apparatus, image processing method, and program
JP2012130076A (en) * 2012-03-19 2012-07-05 Canon Inc Image processing method, image processing device, and imaging device
JP2013013131A (en) * 2012-08-30 2013-01-17 Canon Inc Image processing method, imaging apparatus, control method of the same and program
JP2013176144A (en) * 2013-05-01 2013-09-05 Canon Inc Image processing method, image processor and imaging apparatus
US8723982B2 (en) 2009-10-15 2014-05-13 Olympus Corporation Image processing device, storage medium, and image processing method that corrects saturation, specific color and spatial frequency of an obtained image
US8970746B2 (en) 2009-10-15 2015-03-03 Olympus Corporation Image processing device, storage medium, and image processing method for correcting an image
CN104937918A (en) * 2013-01-20 2015-09-23 高通股份有限公司 Fast vector error diffusion

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002135559A (en) * 2000-10-20 2002-05-10 Noritsu Koki Co Ltd Image forming device, image data processing method and recording medium with image data processing program recorded thereon
JP2002245446A (en) * 2001-02-20 2002-08-30 Nec Corp Color image processor and its method
JP4666274B2 (en) * 2001-02-20 2011-04-06 日本電気株式会社 Color image processing apparatus and method
JP2003111007A (en) * 2001-09-27 2003-04-11 Fuji Photo Film Co Ltd Image processing system, imaging apparatus, image processor, image processing method and program
WO2003103299A1 (en) * 2002-06-03 2003-12-11 セイコーエプソン株式会社 Image display device, image display method, and computer-readable recording medium containing image display program
US7088372B2 (en) 2002-06-03 2006-08-08 Seiko Epson Corporation Image display apparatus, image display method and computer-readable recording medium storing image display program
US7683912B2 (en) 2002-06-03 2010-03-23 Seiko Epson Corporation Image display apparatus, image display method and computer-readable recording medium storing image display program
KR100839959B1 (en) 2003-09-01 2008-06-20 삼성전자주식회사 Display apparatus
KR100612494B1 (en) 2004-06-07 2006-08-14 삼성전자주식회사 Apparatus and method for saturation comtrolling of color image
WO2006025120A1 (en) * 2004-09-01 2006-03-09 Mitsubishi Denki Kabushiki Kaisha Image display apparatus and image display method
US7443453B2 (en) 2005-02-15 2008-10-28 Quanta Computer, Inc. Dynamic image saturation enhancement apparatus
JP2007219792A (en) * 2006-02-16 2007-08-30 Matsushita Electric Ind Co Ltd Image processing device and its method, program, and recording medium
JP4626534B2 (en) * 2006-02-16 2011-02-09 パナソニック株式会社 Image processing apparatus and method, program, and recording medium
US8970746B2 (en) 2009-10-15 2015-03-03 Olympus Corporation Image processing device, storage medium, and image processing method for correcting an image
US8723982B2 (en) 2009-10-15 2014-05-13 Olympus Corporation Image processing device, storage medium, and image processing method that corrects saturation, specific color and spatial frequency of an obtained image
JP2011135509A (en) * 2009-12-25 2011-07-07 Canon Inc Method for processing image, image processing apparatus, and imaging apparatus
JP2011135519A (en) * 2009-12-25 2011-07-07 Canon Inc Image processing apparatus, image processing method, and program
JP2011135511A (en) * 2009-12-25 2011-07-07 Canon Inc Image processing method, image processing apparatus, and imaging device
US8947554B2 (en) 2009-12-25 2015-02-03 Canon Kabushiki Kaisha Method for processing image, image processing apparatus, and imaging apparatus
CN102111546A (en) * 2009-12-25 2011-06-29 佳能株式会社 Method for processing image, image processing apparatus, and imaging apparatus
JP2012130076A (en) * 2012-03-19 2012-07-05 Canon Inc Image processing method, image processing device, and imaging device
JP2013013131A (en) * 2012-08-30 2013-01-17 Canon Inc Image processing method, imaging apparatus, control method of the same and program
CN104937918A (en) * 2013-01-20 2015-09-23 高通股份有限公司 Fast vector error diffusion
JP2013176144A (en) * 2013-05-01 2013-09-05 Canon Inc Image processing method, image processor and imaging apparatus

Similar Documents

Publication Publication Date Title
JP4666274B2 (en) Color image processing apparatus and method
EP1383341B1 (en) Method and apparatus for adaptively enhancing colors in color images
US8199227B2 (en) Image-signal processing apparatus for performing space-variant image-signal processing
JP2000224607A (en) Image processor
JP3959909B2 (en) White balance adjustment method and adjustment device
JP2003230160A (en) Color picture saturation adjustment apparatus and method therefor
JPH06197216A (en) Texture soil eliminating method
JPH0974494A (en) Color reproduction area correction method, color reproduction area correction device and recording medium
JP3972816B2 (en) Image processing apparatus and color system conversion method
US8064693B2 (en) Methods of and apparatus for adjusting colour saturation in an input image
JP2004312467A (en) Imaging systems, image processing program
JPH1169186A (en) Method for setting color correction function
JPH11250227A (en) Method and device for correcting face area and record medium for recording face area correction program
US20050068587A1 (en) Monotone conversion process for color images
JPH06121159A (en) Color image processor
JP2003123063A (en) Image processor
TWI531246B (en) Color adjustment method and its system
EP1895781B1 (en) Method of and apparatus for adjusting colour saturation
Bonnier et al. Spatial and color adaptive gamut mapping: A mathematical framework and two new algorithms
WO2006106750A1 (en) Image processing device, image processing method, and image processing program
CN109600596B (en) Nonlinear colorless constant white balance method
JP2002094826A (en) Image processing unit, image forming unit and method for processing image
JP2000165906A (en) Method and device for automatic white balance control
JP2000261685A (en) Method of improving color image quality and device
JP2002314827A (en) Image processing method, image processing device, image forming device equipped therewith, image processing program, and recording medium