JP2006237798A - Device for correcting color image of skin of human being and its method - Google Patents

Device for correcting color image of skin of human being and its method Download PDF

Info

Publication number
JP2006237798A
JP2006237798A JP2005046831A JP2005046831A JP2006237798A JP 2006237798 A JP2006237798 A JP 2006237798A JP 2005046831 A JP2005046831 A JP 2005046831A JP 2005046831 A JP2005046831 A JP 2005046831A JP 2006237798 A JP2006237798 A JP 2006237798A
Authority
JP
Japan
Prior art keywords
weighting function
skin color
hue
correcting
image processing
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
JP2005046831A
Other languages
Japanese (ja)
Inventor
Shiyoubou Chiyou
小▲忙▼ 張
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2005046831A priority Critical patent/JP2006237798A/en
Publication of JP2006237798A publication Critical patent/JP2006237798A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To conduct the color-image correction processing of the skin of a human being generating no existence of discontinuousness and no color shade after correction in the correction processing in a region of a color of the skin of the human being such as a TV image. <P>SOLUTION: A device for correcting the color image of the skin of the human being is constituted by being provided with a polar coordinate system transformation means transformed into a polar coordinate system so as to easily correct a color as mentioned later, a weighting W(θ) arithmetic means in the angular direction of a hue, and a weighting W(r) arithmetic means in the radial direction of the hue from a Cr/Cb orthogonal coordinate system. A formula 5 to which a weighting function W(θ) in the angular direction θ of the hue is reflected is carried out to the formula 4. The annihilation of colors in an area aehda and the area fbcg shown in Fig. 2 can be avoided, and the color shade can be removed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、テレビ、カメラ、DVDなどの映像機器に搭載し、人肌の色の領域を補正する画像処理に関する。   The present invention relates to image processing that is mounted on video equipment such as a television, a camera, and a DVD and corrects a human skin color area.

ITU−R BT.601規格は輝度Y、色差Cr/Cbと赤R、緑G、青Bとの関係は、下記に示す数式1で定められているが、人肌の色は人種によって異なるが、通常は赤色Rと黄色Yeとの間の領域に分布している。

Figure 2006237798
ITU-R BT. In the 601 standard, the relationship between luminance Y, color difference Cr / Cb and red R, green G, and blue B is defined by Equation 1 below, but the color of human skin varies depending on the race, but is usually red. It is distributed in the region between R and yellow Ye.
Figure 2006237798

上記肌色の領域について後述する肌色補正を行うと、例えば、TVの映像に表示される人の顔や皮膚は健康できれいに表示される効果がある。また、後述する従来技術に示すように、上記肌色の領域を更に肌領域を狭めると、黄色人種であるアジア人等の肌色は、赤っぽく表示され、若々しく表示されるという効果があり、従来、肌色補正画像処理は、映像機器等に搭載されている。   When skin color correction described later is performed on the skin color region, for example, the human face and skin displayed on the TV image are effectively and clearly displayed. Moreover, as shown in the prior art to be described later, when the skin color area is further narrowed, the skin color of Asian people such as yellow races is displayed in reddish, and the effect of being displayed in a youthful manner. Conventionally, skin color correction image processing is installed in video equipment and the like.

従来の人肌の色領域の補正処理について以下に説明する。   A conventional human skin color area correction process will be described below.

デジタル画像においてRGBは、それぞれ同じビット数で表している。このとき、色差CrとCbの取り得る値の範囲が異なる。そのため、CrとCbを同一範囲に収め、後述する極座標変換を容易にするために、上記数式1のCrCbにおける式について正規化処理を行い、下記に示す数式2を得る。

Figure 2006237798
In the digital image, RGB is represented by the same number of bits. At this time, the range of values that the color differences Cr and Cb can take are different. Therefore, in order to keep Cr and Cb in the same range and to facilitate polar coordinate conversion to be described later, normalization processing is performed on the formula in CrCb of Formula 1 to obtain Formula 2 shown below.
Figure 2006237798

図8は、色差Cbを横軸として、色差Crを縦軸とした直交座標系において、赤(R)、黄色(Ye)、緑色(G)、シアン(C)、青色(B)、マゼンタ(M)の色相を表す図である。   FIG. 8 shows a red (R), yellow (Ye), green (G), cyan (C), blue (B), magenta (in a rectangular coordinate system with the color difference Cb as the horizontal axis and the color difference Cr as the vertical axis. It is a figure showing the hue of M).

肌色補正を行うために、図8に示すCb−Cr座標系を下記の数式3に示す極座標系に変える。ここで、θは色の特性を表す色相で、rはその色相に対する彩度である。   In order to perform skin color correction, the Cb-Cr coordinate system shown in FIG. 8 is changed to the polar coordinate system shown in the following Equation 3. Here, θ is a hue representing a color characteristic, and r is a saturation with respect to the hue.

カメラの場合はCCDの色再現性、テレビの場合はパネルの色再現性に差が存在し、商品に設定する人肌の色データは、メーカによって異なるが、一般性を失わせないため、人肌の色相をθ1とする。

Figure 2006237798
There is a difference in CCD color reproducibility in the case of cameras and panel color reproducibility in the case of TV, and the human skin color data set for the product differs depending on the manufacturer. Let the skin hue be θ1.
Figure 2006237798

図9は、デジタル画像処理において、従来の肌色補正の領域を示す図である。   FIG. 9 is a diagram showing a conventional skin color correction region in digital image processing.

肌色補正は、下記に示す数式4で行われる。補正エリアは、r1<r<r2、θ1−Δθ1<θ<θ1+Δθ1で定められた範囲である。

Figure 2006237798
The skin color correction is performed by Equation 4 shown below. The correction area is a range defined by r1 <r <r2, θ1−Δθ1 <θ <θ1 + Δθ1.
Figure 2006237798

ここで、kは係数で、0から1までの範囲で設定できる。kは小さいほど、補正は強くなる。   Here, k is a coefficient and can be set in the range from 0 to 1. The smaller k is, the stronger the correction is.

図2は、肌色補正前のエリアと補正後のエリア変化を示す図である。   FIG. 2 is a diagram illustrating an area before skin color correction and an area change after correction.

従来の補正の肌色がaefbcghdaで囲まれたエリアに分布していたが、補正後の肌色はefgheで囲まれたエリアに圧縮されている。補正後の肌色は、補正前より理想の肌色の色相θ1に集中したことが分かる。   Conventional correction skin color is distributed in the area surrounded by aefbcghda, but the corrected skin color is compressed into the area surrounded by efghhe. It can be seen that the skin color after the correction is concentrated on the hue θ1 of the ideal skin color than before the correction.

しかしながら、図2に示す「aehda」で囲まれたエリアと「fbcgf」で囲まれたエリアにある色は補正画像から無くなることから、補正後の画像にエリアの境目「aefb」と「dhgc」において、その境目の上と下に色の不連続が存在する。これらの原因で補正後の画像に色むらが生じるという問題点がある。   However, since the colors in the area surrounded by “aehda” and the area surrounded by “fbcgf” shown in FIG. 2 disappear from the corrected image, the corrected image has an area boundary “aefb” and “dhgc”. , There are discontinuities in color above and below the border. For these reasons, there is a problem in that color unevenness occurs in the corrected image.

また、CCDやパネルの特性によって肌色理想位置θ1の両側に補正すべきエリアが対称でないことがあるので、θ1においてその両側に非対称エリアでの補正が望ましい。   Further, the area to be corrected on both sides of the flesh color ideal position θ1 may not be symmetric depending on the characteristics of the CCD and the panel. Therefore, it is desirable to correct the asymmetric area on both sides of θ1.

また、人種によって同様に非対称エリアの補正も求められている。   Similarly, correction of asymmetric areas is also required depending on race.

本発明は、上記従来の問題点に鑑みてなされたものであって、人肌色の領域における補正処理において、補正後に不連続の存在がなく色むらが生じない人肌の色画像補正装置及びその方法を提供することを目的としている。   The present invention has been made in view of the above-described conventional problems, and in a correction process in a human skin color region, there is no discontinuity after correction and no color unevenness occurs in the human skin color image correction device and its It aims to provide a method.

上記課題を解決するために、本発明に係る人肌の色画像補正装置及びその方法は、以下の特徴を備えている。   In order to solve the above problems, a human skin color image correction apparatus and method according to the present invention have the following features.

本発明に係る人肌の色画像補正装置は、肌色領域を理想の肌色の近付の領域に領域を狭める補正を行う肌色補正画像処理装置であって、直交座標系の色差信号Cr、Cbを極座標系に変換する極座標系変換手段と、前記極座標系による色相方向の補正を行う重み付け関数演算手段と、を備え、前記色相方向の補正を行う重み付け関数演算手段により前記補正した領域における色相方向の境界付近の色むらを低減することを特徴とする。   A human skin color image correction apparatus according to the present invention is a skin color correction image processing apparatus that performs correction to narrow a skin color area to an area close to an ideal skin color, and uses color difference signals Cr and Cb in an orthogonal coordinate system. A polar coordinate system converting means for converting to a polar coordinate system; and a weighting function calculating means for correcting the hue direction by the polar coordinate system; and a hue direction in the region corrected by the weighting function calculating means for correcting the hue direction. It is characterized by reducing color unevenness in the vicinity of the boundary.

また、本発明に係る人肌の色画像補正装置は、さらに、前記極座標系による彩度方向の補正を行う重み付け関数演算手段を備え、前記補正した領域において彩度方向の境界付近の色むらを低減することを特徴とする。   Further, the human skin color image correction device according to the present invention further comprises weighting function calculation means for correcting the saturation direction by the polar coordinate system, and color unevenness near the boundary in the saturation direction in the corrected region. It is characterized by reducing.

また、本発明に係る人肌の色画像補正装置は、補正すべき領域において、前記色相方向の角度が非対称となる補正領域を補正の対象領域とすることより、人種の肌色や機器の特性に対して、より柔軟性の高い補正を行うことを特徴とする。   Further, the human skin color image correction apparatus according to the present invention uses the correction area in which the angle in the hue direction is asymmetric in the area to be corrected as a correction target area. In contrast, correction with higher flexibility is performed.

また、本発明に係る人肌の色画像補正装置において、前記色相方向の補正を行う重み付け関数演算手段は、前記色相の角度において対称的な線形重み付け関数を用いたことを特徴とする。   In the human skin color image correction apparatus according to the present invention, the weighting function calculation means for correcting the hue direction uses a linear weighting function that is symmetrical with respect to the hue angle.

また、本発明に係る人肌の色画像補正装置において、前記色相方向の補正を行う重み付け関数演算手段は、前記色相の角度において非対称的な線形重み付け関数を用いたことを特徴とする。   In the human skin color image correction apparatus according to the present invention, the weighting function calculation means for correcting the hue direction uses a linear weighting function that is asymmetric in the hue angle.

また、本発明に係る人肌の色画像補正装置において、前記色相方向の補正を行う重み付け関数演算手段は、前記色相の角度において非線形重み付け関数を用いたことを特徴とする。   In the human skin color image correction apparatus according to the present invention, the weighting function calculation means for correcting the hue direction uses a nonlinear weighting function for the hue angle.

また、本発明に係る人肌の色画像補正装置において、前記色相方向の補正を行う重み付け関数演算手段は、色相の角度において任意の重み付け関数を実現できるLUTを用いたことを特徴とする。   In the human skin color image correction apparatus according to the present invention, the weighting function calculation means for correcting the hue direction uses an LUT capable of realizing an arbitrary weighting function in the hue angle.

また、本発明に係る人肌の色画像補正装置において、前記極座標系による彩度方向の補正を行う重み付け関数演算手段は、前記彩度における重み付け関数が逆台形型の関数を用いたことを特徴とする。   In the human skin color image correction apparatus according to the present invention, the weighting function calculation means for correcting the saturation direction by the polar coordinate system uses an inverted trapezoidal function as the weighting function in the saturation. And

また、本発明に係る人肌の色画像補正装置において、前記極座標系による彩度方向の補正を行う重み付け関数演算手段は、彩度において任意の重み付け関数を実現できるLUTを用いたことを特徴とする。   In the human skin color image correction apparatus according to the present invention, the weighting function calculation means for correcting the saturation direction by the polar coordinate system uses an LUT that can realize an arbitrary weighting function in saturation. To do.

本発明に係る人肌の色画像補正方法は、肌色領域を理想の肌色の近付の領域に領域を狭める補正を行う肌色補正画像処理方法であって、直交座標系の色差信号Cr、Cbを極座標系に変換する極座標系変換ステップと、前記極座標系による色相方向の補正を行う重み付け関数演算ステップと、を備え、前記色相方向の補正を行う重み付け関数演算ステップにより前記補正した領域における色相方向の境界付近の色むらを低減することを特徴とする。   A human skin color image correction method according to the present invention is a skin color correction image processing method for performing a correction to narrow a skin color area to an area close to an ideal skin color, and the color difference signals Cr and Cb of an orthogonal coordinate system are obtained. A polar coordinate system converting step for converting to a polar coordinate system; and a weighting function calculating step for correcting the hue direction by the polar coordinate system, and the hue direction in the region corrected by the weighting function calculating step for correcting the hue direction. It is characterized by reducing color unevenness in the vicinity of the boundary.

また、本発明に係る人肌の色画像補正方法は、さらに、前記極座標系による彩度方向の補正を行う重み付け関数演算ステップを備え、前記補正した領域における彩度方向の境界付近の色むらを低減することを特徴とする。   In addition, the human skin color image correction method according to the present invention further includes a weighting function calculation step for correcting the saturation direction by the polar coordinate system, and the color unevenness near the boundary of the saturation direction in the corrected region. It is characterized by reducing.

また、本発明に係る人肌の色画像補正方法は、補正すべき領域において、前記色相方向の角度が非対称となる補正領域を補正の対象領域とすることより、人種の肌色や機器の特性に対して、より柔軟性の高い補正を行うことを特徴とする。   Further, the human skin color image correction method according to the present invention uses the correction area in which the angle in the hue direction is asymmetric in the area to be corrected as a correction target area. In contrast, correction with higher flexibility is performed.

また、本発明に係る人肌の色画像補正方法において、前記色相方向の補正を行う重み付け関数演算ステップは、前記色相の角度において対称的な線形重み付け関数を用いて演算することを特徴とする。   In the human skin color image correction method according to the present invention, the weighting function calculation step for correcting the hue direction is performed using a linear weighting function symmetric with respect to the hue angle.

また、本発明に係る人肌の色画像補正方法において、前記色相方向の補正を行う重み付け関数演算ステップは、前記色相の角度において非対称的な線形重み付け関数を用いて演算することを特徴とする。   In the human skin color image correction method according to the present invention, the weighting function calculation step for correcting the hue direction is performed using an asymmetric linear weighting function in the hue angle.

また、本発明に係る人肌の色画像補正方法において、前記色相方向の補正を行う重み付け関数演算ステップは、前記色相の角度において非線形重み付け関数を用いて演算することを特徴とする。   In the human skin color image correction method according to the present invention, the weighting function calculation step for correcting the hue direction may be performed using a nonlinear weighting function at the hue angle.

また、本発明に係る人肌の色画像補正方法において、前記色相方向の補正を行う重み付け関数演算ステップは、色相の角度において任意の重み付け関数を実現できるLUTを用いることを特徴とする。   In the human skin color image correction method according to the present invention, the weighting function calculation step for correcting the hue direction uses an LUT capable of realizing an arbitrary weighting function in the hue angle.

また、本発明に係る人肌の色画像補正方法において、前記極座標系による彩度方向の補正を行う重み付け関数演算ステップは、前記彩度における重み付け関数が逆台形型の関数を用いて演算することを特徴とする。   In the human skin color image correction method according to the present invention, the weighting function calculation step of correcting the saturation direction by the polar coordinate system may be performed by using a function of an inverted trapezoidal weighting function in the saturation. It is characterized by.

また、本発明に係る人肌の色画像補正方法において、前記極座標系による彩度方向の補正を行う重み付け関数演算ステップは、彩度において任意の重み付け関数を実現できるLUTを用いたことを特徴とする。   In the human skin color image correction method according to the present invention, the weighting function calculation step for correcting the saturation direction by the polar coordinate system uses an LUT that can realize an arbitrary weighting function in saturation. To do.

以上説明したように、本発明に係る人肌の色画像補正装置及びその方法によれば、θとrにおける重み付け関数を設けて、色の消失や不連続性を無くすことができる。   As described above, according to the human skin color image correction apparatus and method according to the present invention, it is possible to eliminate the color loss and discontinuity by providing the weighting functions in θ and r.

また、本発明に係る人肌の色画像補正装置及びその方法によれば、理想肌色の色相において非対称の補正エリアを使うことにより、人種や機器の特性の違いを考慮した補正を行うことができる。   Further, according to the human skin color image correction apparatus and method according to the present invention, it is possible to perform correction in consideration of differences in race and device characteristics by using an asymmetric correction area in the hue of the ideal skin color. it can.

また、本発明に係る人肌の色画像補正装置及びその方法によれば、ソフトウエアにより実現を図る他、ハードウエアの実現に柔軟性を持たせるために、複雑な非線形型重み付け関数等を生成するにあたって、ルックアップテーブル(「LUT」)を用いて、補正処理を短時間で処理することができる。   Further, according to the human skin color image correction apparatus and method according to the present invention, in addition to implementation by software, a complex nonlinear weighting function or the like is generated in order to provide flexibility in hardware implementation. In doing so, correction processing can be performed in a short time using a look-up table (“LUT”).

以下、本発明に係る人肌の色画像補正装置の一実施形態について、図面を参照して詳細に説明する。   Hereinafter, an embodiment of a human skin color image correction apparatus according to the present invention will be described in detail with reference to the drawings.

なお、この実施形態の説明では、本発明に係る人肌の色画像補正装置について詳述するが、本発明に係る人肌の色画像補正方法については、本発明に係る人肌の色画像補正装置が採用している方法であることから、当該本発明に係る人肌の色画像補正方法については、以下の説明に含まれる。   In the description of this embodiment, the human skin color image correction apparatus according to the present invention will be described in detail. However, the human skin color image correction method according to the present invention will be described. Since the method is adopted by the apparatus, the human skin color image correction method according to the present invention is included in the following description.

図1は、本発明に係る人肌の色画像補正装置の第1の実施形態を示すブロック構成図である。   FIG. 1 is a block diagram showing a first embodiment of a human skin color image correcting apparatus according to the present invention.

同図において、人肌の色画像補正装置は、クロマ信号Cr/Cbを受けて、図8に示すCr/Cb直交座標系から、後述する色補正を行い易いように極座標系に変換する極座標系変換手段10と、肌色補正領域を定めるために、図9に示すように理想的な肌色の中心の色相θ1を記憶する記憶手段11と、色相の角度方向の重み付けW(θ)演算手段12と、色相の半径方向の重み付けW(r)演算手段13と、色相の角度方向の重み付けW(θ)演算手段12及び色相の半径方向の重み付けW(r)演算手段13に対して、入力する一定係数値kを記憶する記憶手段と、を備えて構成されている。   In the figure, a human skin color image correction apparatus receives a chroma signal Cr / Cb and converts it from a Cr / Cb orthogonal coordinate system shown in FIG. 8 into a polar coordinate system so that color correction described later can be easily performed. In order to determine the skin color correction area, the conversion means 10, a storage means 11 for storing the ideal hue θ1 of the center of the skin color, as shown in FIG. 9, a hue angle direction weighting W (θ) calculation means 12, The hue radial weight W (r) computing means 13, the hue angular weight W (θ) computing means 12, and the hue radial weight W (r) computing means 13 are input to the constant. Storage means for storing the coefficient value k.

次に、上記に示した構成を備える人肌の色画像補正装置の色むらを解消させる動作を以下に説明する。   Next, an operation for eliminating the color unevenness of the human skin color image correction apparatus having the above-described configuration will be described.

上述した数式4に、色相の角度方向θの重み付け関数W(θ)を反映させて、下記に示す数式5が得られる。この関数W(θ)の関数値を演算する手段が、重み付けW(θ)演算手段12である。

Figure 2006237798
By reflecting the weighting function W (θ) of the hue angle direction θ in the above-described Expression 4, the following Expression 5 is obtained. The means for calculating the function value of the function W (θ) is the weighting W (θ) calculation means 12.
Figure 2006237798

上記に示す数式5を実行し、補正した画像は、図2に示すエリアaehdaとエリアfbcgの色の消滅を避けることができ、色むらの解消ができる。   The image corrected by executing Equation 5 shown above can avoid the disappearance of the colors of the areas aehda and area fbcg shown in FIG.

ここで、図3は、θにおける重み付け関数の例を示した図であり、演算が簡易であるリニア関数を示したものである。   Here, FIG. 3 is a diagram showing an example of the weighting function at θ, and shows a linear function that is easy to calculate.

また、数式4に、彩度方向rの重み付け関数を反映させて、下記に示す数式6が得られる。この関数W(r)の関数値を演算する手段が、重み付けW(r)演算手段13である。

Figure 2006237798
Further, the following Expression 6 is obtained by reflecting the weighting function in the saturation direction r in Expression 4. The means for calculating the function value of the function W (r) is the weighting W (r) calculation means 13.
Figure 2006237798

上記に示す数式6を実行し、補正した画像は、図2に示す境目aefbと境目dhgcの上下にある色の連続性を保つことができるので、色むらの低減が可能となる。   The corrected image obtained by executing Equation 6 shown above can maintain the continuity of the colors above and below the boundary aefb and the boundary dhgc shown in FIG. 2, so that color unevenness can be reduced.

ここで、図4は、rにおける重み付け関数の例を示した図である。図4に示すように、Δr1とΔr2は0から(r2−r1)/2の間にある正数である。   Here, FIG. 4 is a diagram illustrating an example of a weighting function in r. As shown in FIG. 4, Δr1 and Δr2 are positive numbers between 0 and (r2-r1) / 2.

さらに、数式5と数式6を同じ式に纏めて、θとrの両方の重み付け関数を反映させて下記に示す数式7が得られる。

Figure 2006237798
Further, Equation 5 and Equation 6 are combined into the same equation, and the following Equation 7 is obtained by reflecting both the weighting functions of θ and r.
Figure 2006237798

このように、θとrにおける2つの重み関数を設け、これらの関数を組み込んだ上記数式7を実行し、補正した画像は、θとrの両方向における色の消滅と色の不連続より生じた色むらを改善することができる。   In this way, two weighting functions in θ and r are provided, and the above formula 7 in which these functions are incorporated is executed, and the corrected image is caused by the disappearance of color and discontinuity in both directions of θ and r. Color unevenness can be improved.

次に、θ1に関して非対称補正エリアの場合における補正処理について説明する。   Next, correction processing in the case of an asymmetric correction area with respect to θ1 will be described.

図5は、θ1の両側に異なるΔθ1とΔθ2を有する非対称補正エリアを示す図である。   FIG. 5 is a diagram showing an asymmetric correction area having different Δθ1 and Δθ2 on both sides of θ1.

図5に示す非対称補正エリアは、下記の数式8で表される。

Figure 2006237798
The asymmetric correction area shown in FIG.
Figure 2006237798

図5に示す非対称補正エリアにおける重み付け関数W(r)は変らないが、θにおける重み付け関数W(θ)は、例えば、図3に対して図7に示すような関数に変る。重み付け関数W(r)及びW(θ)を数式8に反映させて、下記に示す数式9が得られる。

Figure 2006237798
Although the weighting function W (r) in the asymmetric correction area shown in FIG. 5 does not change, the weighting function W (θ) in θ changes to a function shown in FIG. 7 with respect to FIG. 3, for example. By reflecting the weighting functions W (r) and W (θ) in Equation 8, Equation 9 shown below is obtained.
Figure 2006237798

RGBは0−255(8ビット)の場合に、数式2から得た輝度信号Yの範囲は、0−255で、色差信号Cr/Cbの範囲は、−128〜+127になる。また、数式3から得たθの範囲は0−360で、rの範囲は0−180となる。ここで、簡略のために演算範囲は、正数としている。   When RGB is 0-255 (8 bits), the range of the luminance signal Y obtained from Equation 2 is 0-255, and the range of the color difference signal Cr / Cb is -128 to +127. Also, the range of θ obtained from Equation 3 is 0-360, and the range of r is 0-180. Here, for simplicity, the calculation range is a positive number.

肌色の理想色相は、θ1=123°であるが、アジア人種の肌に黄色が多いのでΔθ2をΔθ1より広く設定している。   The ideal hue of skin color is θ1 = 123 °. However, Δθ2 is set wider than Δθ1 because Asian skin has a lot of yellow.

ここで、数式7又は数式9に、代入するその他のパラメータを数式10に纏めている。

Figure 2006237798
Here, other parameters to be substituted in Expression 7 or Expression 9 are summarized in Expression 10.
Figure 2006237798

次に、非対称補正エリアにおいて補正する場合の具体的な重み付け関数W(θ)、W(r)の形状について以下に説明する。   Next, specific shapes of the weighting functions W (θ) and W (r) when correction is performed in the asymmetric correction area will be described below.

図6に示したθにおける重み付け関数W(θ)は、下記に示す数式11で表すことができる。

Figure 2006237798
The weighting function W (θ) at θ shown in FIG. 6 can be expressed by Equation 11 shown below.
Figure 2006237798

また、図4のrにおける重み付け関数W(r)は、下記に示す数式12で表すことができる。

Figure 2006237798
Further, the weighting function W (r) in r of FIG. 4 can be expressed by the following formula 12.
Figure 2006237798

なお、上記示したθにおける重み付け関数は、線形関数を使用しているが、非線形関数を使用しても一般性が失わない。例えば、θにおける、余弦関数を使った非線形重み付け関数は、下記に示す数式13のように表すことができる。この場合の重み付け関数は、図7に示す形状になる。

Figure 2006237798
The weighting function at θ shown above uses a linear function, but generality is not lost even if a nonlinear function is used. For example, a non-linear weighting function using a cosine function in θ can be expressed as Equation 13 shown below. The weighting function in this case has the shape shown in FIG.
Figure 2006237798

数式10の関連パラメータ値を数式11及び数式12に代入して、夫々、具体的な重み付け関数を得ることができる。このようにして得た重み付け係数W(θ)及びW(r)と、同様に、数式10の関連パラメータを数式9に代入して、具体的な肌色補正を実現する数式を得ることができる。   By substituting the related parameter values of Equation 10 into Equations 11 and 12, specific weighting functions can be obtained respectively. Similarly, the weighting coefficients W (θ) and W (r) obtained in this manner and the related parameters of Expression 10 are substituted into Expression 9 to obtain an expression that realizes specific skin color correction.

以上説明したように、ITU−R BT.601のCr,Cb座標系を使って肌色補正方法を述べているが、他の座標系(例えば、IQ座標系、ITU−R BT.709のCrCb座標系)においても一般性が失わない。   As described above, ITU-R BT. Although the skin color correction method is described using the Cr, Cb coordinate system of 601, generality is not lost even in other coordinate systems (for example, IQ coordinate system, CrCb coordinate system of ITU-R BT.709).

また、θにおける重み関数は、解析式で表せない複雑な非線形重み付け関数やハードウエアで計算できない関数が必要な場合がある。このような場合には、LUT(Look Up Table)を使って重み付け関数を実現すれば、この問題を解決できる。例えば、128要素を有するLUTを使って、数式13を実現する場合は、まずθ1−Δθ1とθ1+Δθ2の間の(Δθ1+Δθ2)を128等分し、1等分をΔθで表す。このLUTをLθ(i)と記すれば、iは0−127正数である。iΔθにおけるW(θ)の値をLθ(i)に記憶しておけば、LUTの作成が完了する。LUTを参照する時には、iΔθのiを持ってLθ(i)を利用すればよい。   Further, the weighting function for θ may require a complicated nonlinear weighting function that cannot be expressed by an analytical expression or a function that cannot be calculated by hardware. In such a case, this problem can be solved by implementing a weighting function using a LUT (Look Up Table). For example, when the expression 13 is realized using an LUT having 128 elements, (Δθ1 + Δθ2) between θ1−Δθ1 and θ1 + Δθ2 is first divided into 128 equal parts, and one equal part is represented by Δθ. If this LUT is written as Lθ (i), i is a 0-127 positive number. If the value of W (θ) at iΔθ is stored in Lθ (i), creation of the LUT is completed. When referring to the LUT, Lθ (i) may be used with i of iΔθ.

これと同様に、彩度(r方向)における重み付け関数もLUT化することができる。   Similarly, the weighting function in saturation (r direction) can also be converted into an LUT.

本発明に係る人肌の色画像補正装置の第1の実施形態を示すブロック構成図である。1 is a block configuration diagram showing a first embodiment of a human skin color image correction device according to the present invention. FIG. 肌色補正前のエリアと補正後のエリア変化を示す図である。It is a figure which shows the area before skin color correction, and the area change after correction | amendment. θにおける重み付け関数の例であり、演算が簡易であるリニア関数を示した図である。It is an example of a weighting function in θ, and is a diagram showing a linear function that is easy to calculate. rにおける重み付け関数の例を示した図である。It is the figure which showed the example of the weighting function in r. θ1の両側に異なるΔθ1とΔθ2を有する非対称補正エリアを示す図である。It is a figure which shows the asymmetrical correction area which has (DELTA) (theta) 1 and (DELTA) (theta) 2 which are different in the both sides of (theta) 1. 非対称補正エリアにおいて補正する場合の重み付け関数W(θ)を示す図である。It is a figure which shows weighting function W ((theta)) in the case of correct | amending in an asymmetrical correction area. 非対称補正エリアにおいて補正する場合の非線形関数である余弦関数を使った重み付け関数W(θ)を示す図である。It is a figure which shows the weighting function W ((theta)) using the cosine function which is a nonlinear function in the case of correct | amending in an asymmetric correction area. 色差Cbを横軸として、色差Crを縦軸とした直交座標系において、赤(R)、黄色(Ye)、緑色(G)、シアン(C)、青色(B)、マゼンタ(M)の色相を表す図である。Hue of red (R), yellow (Ye), green (G), cyan (C), blue (B), and magenta (M) in an orthogonal coordinate system with the color difference Cb as the horizontal axis and the color difference Cr as the vertical axis FIG. 従来の肌色補正の領域を示す図である。It is a figure which shows the area | region of the conventional skin color correction.

符号の説明Explanation of symbols

10 極座標変換手段
11 理想的な肌色の中心の色相θ1を記憶する記憶手段
12 色相の方向の重み付けW(θ)演算手段
13 彩度の方向の重み付けW(r)演算手段
14 一定係数値kを記憶する記憶手段
10 Polar coordinate conversion means 11 Storage means 12 for storing the ideal hue θ1 of the flesh color center Hue direction weighting W (θ) calculation means 13 Saturation direction weighting W (r) calculation means 14 Constant coefficient value k Storage means for storing

Claims (18)

肌色領域を理想の肌色近付の領域に領域を狭める補正を行う肌色補正画像処理装置であって、
直交座標系の色差信号Cr、Cbを極座標系に変換する極座標系変換手段と、
前記極座標系による色相方向の補正を行う重み付け関数演算手段と、を備え、
前記色相方向の補正を行う重み付け関数演算手段により前記補正した領域における色相方向の境界付近の色むらを低減することを特徴とする肌色補正画像処理装置。
A skin color correction image processing apparatus that performs correction to narrow a skin color area to an area close to an ideal skin color,
Polar coordinate system conversion means for converting the color difference signals Cr and Cb of the orthogonal coordinate system into a polar coordinate system;
Weighting function calculation means for correcting the hue direction by the polar coordinate system,
A skin color-corrected image processing apparatus, characterized in that color unevenness near a boundary in a hue direction in the corrected region is reduced by a weighting function calculation means for correcting the hue direction.
さらに、前記極座標系による彩度方向の補正を行う重み付け関数演算手段を備え、
前記補正した領域において彩度方向の境界付近の色むらを低減することを特徴とする請求項1に記載の肌色補正画像処理装置。
Furthermore, a weighting function calculating means for correcting the saturation direction by the polar coordinate system is provided,
The skin color correction image processing apparatus according to claim 1, wherein color unevenness near a boundary in a saturation direction is reduced in the corrected region.
補正すべき領域において、前記色相方向の角度が非対称となる補正領域を補正の対象領域とすることより、人種の肌色や機器の特性に対して、より柔軟性の高い補正を行うことを特徴とする請求項1又は請求項2に記載の肌色補正画像処理装置。   In a region to be corrected, a correction region in which the angle in the hue direction is asymmetric is set as a correction target region, so that more flexible correction is performed on the skin color of the race and the characteristics of the device. The skin color correction image processing apparatus according to claim 1 or 2. 前記色相方向の補正を行う重み付け関数演算手段は、前記色相の角度において対称的な線形重み付け関数を用いたことを特徴とする請求項1に記載の肌色補正画像処理装置。   The skin color correction image processing apparatus according to claim 1, wherein the weighting function calculation unit that corrects the hue direction uses a linear weighting function that is symmetric with respect to the hue angle. 前記色相方向の補正を行う重み付け関数演算手段は、前記色相の角度において非対称的な線形重み付け関数を用いたことを特徴とする請求項3に記載の肌色補正画像処理装置。   4. The skin color correction image processing apparatus according to claim 3, wherein the weighting function calculating means for correcting the hue direction uses a linear weighting function that is asymmetric with respect to the hue angle. 前記色相方向の補正を行う重み付け関数演算手段は、前記色相の角度において非線形重み付け関数を用いたことを特徴とする請求項1又は請求項3に記載の肌色補正画像処理装置。   4. The skin color correction image processing apparatus according to claim 1, wherein the weighting function calculation means for correcting the hue direction uses a non-linear weighting function for the hue angle. 前記色相方向の補正を行う重み付け関数演算手段は、色相の角度において任意の重み付け関数を実現できるLUTを用いたことを特徴とする請求項1又は請求項3に記載の肌色補正画像処理装置。   The skin color correction image processing apparatus according to claim 1 or 3, wherein the weighting function calculation means for correcting the hue direction uses an LUT that can realize an arbitrary weighting function in the hue angle. 前記極座標系による彩度方向の補正を行う重み付け関数演算手段は、前記彩度における重み付け関数が逆台形型の関数を用いたことを特徴とする請求項2に記載の肌色補正画像処理装置。   3. The skin color correction image processing apparatus according to claim 2, wherein the weighting function calculation means for correcting the saturation direction by the polar coordinate system uses an inverted trapezoidal function as the weighting function for the saturation. 前記極座標系による彩度方向の補正を行う重み付け関数演算手段は、彩度において任意の重み付け関数を実現できるLUTを用いたことを特徴とする請求項2に記載の肌色補正画像処理装置。   The skin color correction image processing apparatus according to claim 2, wherein the weighting function calculation means for correcting the saturation direction by the polar coordinate system uses an LUT that can realize an arbitrary weighting function in saturation. 肌色領域を理想の肌色近付の領域に領域を狭める補正を行う肌色補正画像処理方法であって、
直交座標系の色差信号Cr、Cbを極座標系に変換する極座標系変換ステップと、
前記極座標系による色相方向の補正を行う重み付け関数演算ステップと、を備え、
前記色相方向の補正を行う重み付け関数演算ステップにより前記補正した領域における色相方向の境界付近の色むらを低減することを特徴とする肌色補正画像処理方法。
A skin color correction image processing method for performing correction for narrowing a skin color area to an area close to an ideal skin color,
A polar coordinate system converting step for converting the color difference signals Cr and Cb of the orthogonal coordinate system into a polar coordinate system;
A weighting function calculation step for correcting the hue direction by the polar coordinate system,
A skin color correction image processing method characterized by reducing color unevenness near a boundary in a hue direction in the corrected region by a weighting function calculation step for correcting the hue direction.
さらに、前記極座標系による彩度方向の補正を行う重み付け関数演算ステップを備え、
前記補正した領域における彩度方向の境界付近の色むらを低減することを特徴とする請求項10に記載の肌色補正画像処理方法。
Furthermore, a weighting function calculation step for correcting the saturation direction by the polar coordinate system is provided,
The skin color correction image processing method according to claim 10, wherein color unevenness near a boundary in a saturation direction in the corrected region is reduced.
さらに、前記極座標系による彩度方向の補正を行う重み付け関数演算手段を備え、
前記補正した領域において彩度方向の境界付近の色むらを低減することを特徴とする請求項1に記載の肌色補正画像処理装置。

補正すべき領域において、前記色相方向の角度が非対称となる補正領域を補正の対象領域とすることより、人種の肌色や機器の特性に対して、より柔軟性の高い補正を行うことを特徴とする請求項10又は請求項11に記載の肌色補正画像処理方法。
Furthermore, a weighting function calculating means for correcting the saturation direction by the polar coordinate system is provided,
The skin color correction image processing apparatus according to claim 1, wherein color unevenness near a boundary in a saturation direction is reduced in the corrected region.

In a region to be corrected, a correction region in which the angle in the hue direction is asymmetric is set as a correction target region, so that more flexible correction is performed on the skin color of the race and the characteristics of the device. The skin color correction image processing method according to claim 10 or 11.
前記色相方向の補正を行う重み付け関数演算ステップは、前記色相の角度において対称的な線形重み付け関数を用いて演算することを特徴とする請求項10に記載の肌色補正画像処理方法。   The skin color correction image processing method according to claim 10, wherein the weighting function calculation step of correcting the hue direction is performed using a linear weighting function that is symmetric with respect to the hue angle. 前記色相方向の補正を行う重み付け関数演算ステップは、前記色相の角度において非対称的な線形重み付け関数を用いて演算することを特徴とする請求項12に記載の肌色補正画像処理方法。   The skin color correction image processing method according to claim 12, wherein the weighting function calculation step of correcting the hue direction is performed using a linear weighting function that is asymmetric with respect to the hue angle. 前記色相方向の補正を行う重み付け関数演算ステップは、前記色相の角度において非線形重み付け関数を用いて演算することを特徴とする請求項10又は請求項12に記載の肌色補正画像処理方法。   13. The skin color correction image processing method according to claim 10, wherein the weighting function calculation step for correcting the hue direction is performed using a nonlinear weighting function at the hue angle. 前記色相方向の補正を行う重み付け関数演算ステップは、色相の角度において任意の重み付け関数を実現できるLUTを用いることを特徴とする請求項10又は請求項12に記載の肌色補正画像処理方法。   13. The skin color correction image processing method according to claim 10, wherein the weighting function calculation step for correcting the hue direction uses an LUT that can realize an arbitrary weighting function in the hue angle. 前記極座標系による彩度方向の補正を行う重み付け関数演算ステップは、前記彩度における重み付け関数が逆台形型の関数を用いて演算することを特徴とする請求項11に記載の肌色補正画像処理方法。   12. The skin color correction image processing method according to claim 11, wherein in the weighting function calculation step of correcting the saturation direction by the polar coordinate system, the weighting function in the saturation is calculated using an inverted trapezoidal function. . 前記極座標系による彩度方向の補正を行う重み付け関数演算ステップは、彩度において任意の重み付け関数を実現できるLUTを用いたことを特徴とする請求項11に記載の肌色補正画像処理方法。   12. The skin color correction image processing method according to claim 11, wherein the weighting function calculation step of correcting the saturation direction by the polar coordinate system uses an LUT that can realize an arbitrary weighting function in saturation.
JP2005046831A 2005-02-23 2005-02-23 Device for correcting color image of skin of human being and its method Pending JP2006237798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005046831A JP2006237798A (en) 2005-02-23 2005-02-23 Device for correcting color image of skin of human being and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005046831A JP2006237798A (en) 2005-02-23 2005-02-23 Device for correcting color image of skin of human being and its method

Publications (1)

Publication Number Publication Date
JP2006237798A true JP2006237798A (en) 2006-09-07

Family

ID=37045002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005046831A Pending JP2006237798A (en) 2005-02-23 2005-02-23 Device for correcting color image of skin of human being and its method

Country Status (1)

Country Link
JP (1) JP2006237798A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009105632A (en) * 2007-10-23 2009-05-14 Sharp Corp Device and method for processing flesh color correction image
EP2079243A2 (en) 2008-01-09 2009-07-15 Sharp Kabushiki Kaisha Image processor, image processing method and computer program
JP2019128810A (en) * 2018-01-25 2019-08-01 富士ゼロックス株式会社 Information processing apparatus and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009105632A (en) * 2007-10-23 2009-05-14 Sharp Corp Device and method for processing flesh color correction image
EP2079243A2 (en) 2008-01-09 2009-07-15 Sharp Kabushiki Kaisha Image processor, image processing method and computer program
US8134611B2 (en) 2008-01-09 2012-03-13 Sharp Kabushiki Kaisha Image processor, image processing method and recording medium
JP2019128810A (en) * 2018-01-25 2019-08-01 富士ゼロックス株式会社 Information processing apparatus and program
JP7013886B2 (en) 2018-01-25 2022-02-01 富士フイルムビジネスイノベーション株式会社 Information processing equipment and programs

Similar Documents

Publication Publication Date Title
KR100736939B1 (en) Intelligence type color gamut management method
US9472162B2 (en) Method of mapping source colors from a source color gamut into a target color gamut
US10270943B2 (en) Hue changing color gamut mapping
US10602027B2 (en) Color gamut mapping using a lightness mapping based also on the lightness of cusp colors belonging to different constant-hue leaves
JP2006340105A (en) Image processing method, profile generating method, and image processing apparatus
US20110234622A1 (en) Color correction device and color correction method
US20160379595A1 (en) Color gamut mapping based on the mapping of cusp colors defined in a linear device-based color space
JP2004252620A (en) Image processing device and method, and program
EP1560417A2 (en) System and method for clipping values of pixels in one color space so not to exceed the limits of a second color space
JP2007251709A (en) Color correction method, color correction apparatus, and color correction program
US8014600B1 (en) Intelligent saturation of video data
JP2010183232A (en) Color gamut conversion device
EP3590252B1 (en) Hue changing color gamut mapping
JP2006237798A (en) Device for correcting color image of skin of human being and its method
JP2007019970A (en) Device and method for color correction
JP4423226B2 (en) Color adjustment method and apparatus
JP2009105632A (en) Device and method for processing flesh color correction image
JP4745081B2 (en) Image processing apparatus and image processing method
US20160165098A1 (en) Method for correcting color using rgb data
JP2006229729A (en) Blue expanded image processor and blue expanded image processing method
JP2002152540A (en) Apparatus and method for processing color image signal
KR20080081702A (en) Device and method of realtime image processing
JP5041538B2 (en) System and method for adjusting color image quality
JP2007036563A (en) Method of correcting color tone
JP2012039274A (en) Color space conversion device, image processing device, image display device, and color space conversion method

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20070302

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091104

A521 Written amendment

Effective date: 20091221

Free format text: JAPANESE INTERMEDIATE CODE: A523

A02 Decision of refusal

Effective date: 20100202

Free format text: JAPANESE INTERMEDIATE CODE: A02