JPH04167866A - Color picture processing method - Google Patents

Color picture processing method

Info

Publication number
JPH04167866A
JPH04167866A JP2295639A JP29563990A JPH04167866A JP H04167866 A JPH04167866 A JP H04167866A JP 2295639 A JP2295639 A JP 2295639A JP 29563990 A JP29563990 A JP 29563990A JP H04167866 A JPH04167866 A JP H04167866A
Authority
JP
Japan
Prior art keywords
color
signal
hue
picture
saturation
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
JP2295639A
Other languages
Japanese (ja)
Inventor
Yoshihisa Fujiwara
義久 藤原
Hirokazu Genno
広和 源野
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2295639A priority Critical patent/JPH04167866A/en
Publication of JPH04167866A publication Critical patent/JPH04167866A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an excellent picture by deciding a color adjustment quantity while taking attributes of an input color picture signal entirely into account, implementing fuzzy inference so as to adjust the color thereby implementing preferred picture correction processing totally in details. CONSTITUTION:A color scanner is used to scan an original picture to obtain an RGB color signal thereby converting the color signal into a color space lightness, saturation, hue polar coordinate color picture signal. To which part of a face the signal data belongs is obtained as the adaptability to a fuzzy set for each color attribute. A membership function to discriminate lips, cheeks and forehead for each lightness, saturation and hue is defined by utilizing the difference from the existing area and the adaptability is obtained by utilizing the function to obtain to which part of the face each picture element belongs for the lightness, saturation and hue. Based on the final color adjustment quantity obtained in this way, a converted color picture signal is corrected to obtain a preferred face color, the signal is converted into a YMC signal as a color print signal. The signal is converted into the RGB signal when it is displayed on a CRT.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、カラー画像処理方法に関するものであり、特
にカラープリンタ、カラー複写機、カラーデイスプレィ
装置等において、肌色を美しく表現し得る方法に関する
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial Application Field The present invention relates to a color image processing method, and in particular to a method that can express skin tones beautifully in color printers, color copying machines, color display devices, etc. Regarding.

(ロ)従来の技術 たとえば、カラー複写機において、入力されたカラー原
画を忠実に複写するのではなく、原画を基に、肌色の美
しいカラーコピー画を得たい場合がある。この場合、特
に重要となるのは顔色である。
(b) Prior Art For example, in a color copying machine, there are cases where it is desired to obtain a color copy image with beautiful skin tones based on the original color image, rather than faithfully copying the inputted color original image. In this case, complexion is particularly important.

1989年画像電子学会第18巻第5号「色空間におけ
るカラー画像処理の選択的色調整」には、曖昧さを考慮
した色調整が提案されているが、色相情報と彩度情報し
か処理しておらず、その処理対象領域において重み付は
処理を行っているが、処理領域は一領域だけだあった。
In 1989, ``Selective Color Adjustment for Color Image Processing in Color Space,'' Vol. 18, No. 5 of the Institute of Image Electronics Engineers of Japan, proposes color adjustment that takes ambiguity into account, but only hue information and saturation information are processed. Although the weighting process was performed in the target area, only one area was processed.

(ハ)発明が解決しようとする課題 上記従来技術によれば、顔色全体を、同一の色相あるい
は彩度方向に色調整することができる。
(C) Problems to be Solved by the Invention According to the above-mentioned prior art, the color of the entire complexion can be adjusted to the same hue or saturation.

しかし、厳密には、顔色は唇、頬、額などの各部位の色
を総合したものであるがら、より美しく且つきめ細かく
色調整するためには、顔の各部位毎に色調整することが
望ましい。
However, strictly speaking, the complexion is the sum of the colors of each part of the face, such as lips, cheeks, and forehead, but in order to make the color more beautiful and fine-grained, it is desirable to adjust the color for each part of the face. .

そこで、本発明は、色相、彩度、明度の3情報全てを考
慮し、且つ顔の各部位毎に色調整を行うことにより、好
ましい顔色調整を行わんとするものである。
Therefore, the present invention aims to perform preferable facial color adjustment by taking into account all three pieces of information: hue, saturation, and brightness, and performing color adjustment for each part of the face.

(ニ)課題を解決するための手段 本発明は、先づ、 入力されたカラー画像信号を色空間
L”(明度)、Cヮb′(彩度)、Hlb’(色相)系
カラー画像信号に変換し、次にこの変換カラー画像信号
のH8、Cmb′、H3,“の各属性値が、予め定めら
れた顔の各部位に対して適合する程度を求める。
(d) Means for Solving the Problems The present invention first converts an input color image signal into a color space L'' (lightness), Cwab' (chroma), and Hlb' (hue) system color image signal. Then, the extent to which each attribute value of H8, Cmb', H3, and " of this converted color image signal matches each predetermined part of the face is determined.

更に、顔の各部位毎に且つH8、Cm b′、Hab’
の各属性毎に予め規定された色調整量及び前記ステップ
にて求められた適合度に基づいて、前記変換カラー画像
信号のL*、Cab′、Hloの各属性毎に、色調整量
を求め、この色調整量に基づいて、前記変換カラー画像
信号を補正する。
Furthermore, for each part of the face, H8, Cm b', Hab'
A color adjustment amount is determined for each attribute of L*, Cab', and Hlo of the converted color image signal based on a predefined color adjustment amount for each attribute and the degree of conformance determined in the step. , the converted color image signal is corrected based on this color adjustment amount.

更に、適合度を、顔の各部位毎に且つH3、c lb”
IH,、’の各属性毎に定められたメンバーシップ関数
のメンバーシップ値として決定するよう構成とする。
Furthermore, the goodness of fit is determined for each part of the face and H3, c lb”
The configuration is such that it is determined as a membership value of a membership function determined for each attribute of IH,,'.

そして、顔の各部位毎に且つLl、Cab′、Hloの
各属性毎に予め規定された色調整量及び前記メンバーシ
ップ値に基づいてファジィ推論を行うことにより、変換
カラー画像信号のL″、Cab″、H3,。
Then, by performing fuzzy inference based on the membership value and the color adjustment amount predefined for each part of the face and each attribute of Ll, Cab', and Hlo, L'' of the converted color image signal, Cab'', H3,.

の各属性毎に、色調整量を求める構成とする。The configuration is such that the color adjustment amount is determined for each attribute.

(ホ)作用 上記構成によれば、 入力されたカラー画像信号の3つ
の属性であるL”(明度)、c、2(彩度)、H3,°
(色相)を全て考慮して、顔の各部位毎に、色調整量を
決定されることになる。
(E) Effect According to the above configuration, the three attributes of the input color image signal are L" (lightness), c, 2 (chroma), H3, °
The amount of color adjustment is determined for each part of the face, taking into account all (hue).

更に、ファジィ推論を行って色調整を行うことにより、
3つの属性を考慮した画像処理が簡単な構成で実現でき
る。
Furthermore, by performing fuzzy inference and performing color adjustment,
Image processing that takes three attributes into consideration can be realized with a simple configuration.

(へ)実施例 以下、好ましい顔色を得るようにカラー画像処理する場
合について、第1図に示すフロチャートに基づいて説明
する。この実施例はカラー複写機の例である。
(F) Example Hereinafter, a case in which color image processing is performed to obtain a preferable complexion will be explained based on the flowchart shown in FIG. This embodiment is an example of a color copying machine.

先づ、原画をカラースキャナーにて走査することにより
、RGBカラー信号を得る。このRGBカラー信号はC
IE (国際照明委員会)が定めた色空間L”(明度)
、C−b”(彩度)、H−b’(色相)極座標系カラー
画像信号に変換される。
First, an RGB color signal is obtained by scanning the original image with a color scanner. This RGB color signal is C
Color space L” (lightness) defined by IE (International Commission on Illumination)
, C-b'' (saturation), and H-b' (hue) are converted into polar coordinate system color image signals.

次に変換されたし”、Cab”、H1b’信号データ(
画素)が、顔のどの部位に属するがを、色の各=  4
 − 属性即ち明度、彩度、色相毎に、ファジィ集合に対する
適合度として、求める。
Next, the converted ", Cab", H1b' signal data (
Each pixel (pixel) belongs to which part of the face, each color = 4
- Find the degree of suitability for the fuzzy set for each attribute, ie, brightness, saturation, and hue.

即ち、顔色を構成する唇、頬、額の色は明度、彩度、色
相から構成される色空間においてその存在領域が異なる
ことが、知られている。−船釣に、頬の色相は額の色相
に比べて赤方向に高く、頬の彩度は額の彩度の比較して
やや高い等の事実が知られている。かかる存在領域の相
違を利用して、明度、彩度、色相毎に、第2図、第3図
、第4図に示すような唇、頬、額を判別する為のメンバ
ーシップ関数を定義する。そして、このメンバーシップ
関数を利用して適合度を求めることにより、各画素が顔
のどの部位に属するかを、明度、彩度、色相毎に求める
That is, it is known that the colors of lips, cheeks, and forehead that make up the complexion have different regions in a color space composed of lightness, saturation, and hue. - It is known that when fishing on a boat, the hue of the cheeks is higher in the red direction than the hue of the forehead, and the saturation of the cheeks is slightly higher than the saturation of the forehead. Utilizing such differences in the existence areas, membership functions for distinguishing lips, cheeks, and forehead as shown in FIGS. 2, 3, and 4 are defined for each brightness, saturation, and hue. . Then, by determining the degree of compatibility using this membership function, it is determined to which part of the face each pixel belongs for each brightness, saturation, and hue.

例えば、ある画素のL″、Cah”、H8,゛の値をそ
れぞれL”1、C,b”l、H1b’lとすると、この
画素の唇に対する適合度は、 明度 L1=μLl(L”l ) 彩度 C1=μc1(C1b。1) 色相 H1=μmI(Hab’ 1 )となる。
For example, if the values of L'', Cah'', H8, ゛ of a certain pixel are respectively L''1, C, b''l, H1b'l, the degree of suitability of this pixel to the lips is: Lightness L1=μLl(L” l) Saturation C1=μc1 (C1b.1) Hue H1=μmI (Hab' 1 ).

これらの値のうち、最小値を、この画素の唇に対する適
合度とする。この値をμC1とする。
Among these values, the minimum value is taken as the degree of suitability of this pixel to the lips. Let this value be μC1.

同様に、頬に対する適合度は、 明度 L2=μm、2(L傘1) 彩度 C2=μ。r(C、b” 1 )色相 H2=μ
R1(Hahol)となる。
Similarly, the suitability for cheeks is: Lightness L2=μm, 2(L Umbrella 1) Saturation C2=μm. r(C, b” 1) Hue H2=μ
It becomes R1 (Hahol).

これらの値のうち、最小値を、この画素の頬に対する適
合度とする。この値をμb1とする。
Among these values, the minimum value is defined as the degree of suitability of this pixel for the cheek. Let this value be μb1.

同様に、額に対する適合度は、 明度 L3=μLl(L’l) 彩度 C3” 11 cs(C、b” 1 )色相 H
3=μll5cHsb’ 1 )  となる。
Similarly, the suitability for the forehead is: Lightness L3=μLl(L'l) Saturation C3" 11 cs(C, b" 1) Hue H
3=μll5cHsb' 1 ).

これらの値のうち、最小値を、この画素の額に対する適
合度とする。この値をμC1とする。
Among these values, the minimum value is taken as the degree of suitability of this pixel to the forehead. Let this value be μC1.

かようにして、一つの画素の、唇、頬、額に対する適合
度μal、μb1、μC1が決定される。
In this way, the degrees of suitability μal, μb1, and μC1 of one pixel for lips, cheeks, and forehead are determined.

さて、次の表は、唇、頬、額のそれぞれについて、明度
、彩度、色相の各方向に対する色調整量を示している。
Now, the following table shows the amount of color adjustment in each direction of brightness, saturation, and hue for each of the lips, cheeks, and forehead.

この調整量は予め決められた量である。This adjustment amount is a predetermined amount.

唇 明度方向 11 彩度方向 C1 色相方向 hl 頬 明度方向 j2 彩度方向 C2 色相方向 h2 額 明度方向 13 彩度方向 C3 色相方向 h3 この予め定められた色調整量を、前記適合度に基づいて
修正して、最終的な色調整量を求める。
Lips Lightness direction 11 Saturation direction C1 Hue direction hl Cheeks Lightness direction j2 Saturation direction C2 Hue direction h2 Forehead Lightness direction 13 Saturation direction C3 Hue direction h3 This predetermined color adjustment amount is corrected based on the degree of suitability. to determine the final color adjustment amount.

即ち、簡略化ファジィ推論を利用し、重み付は重心法に
より、色調整量を求める。
That is, the color adjustment amount is determined by using simplified fuzzy inference and weighting by the centroid method.

即ち、画素1の明度方向の色調整量ΔLは画素1の彩度
方向の色調整量ΔCは 画素1の色相方向の色調整量△Hは として、それぞれ求めることができる。
That is, the color adjustment amount ΔL of the pixel 1 in the brightness direction, the color adjustment amount ΔC of the pixel 1 in the saturation direction, and the color adjustment amount ΔH of the pixel 1 in the hue direction can be determined, respectively.

かようにして、求められた最終的な色調整量に基づいて
、変換カラー画像信号を補正し、好ましい顔色を得る。
In this manner, the converted color image signal is corrected based on the determined final color adjustment amount to obtain a desirable complexion.

この信号をY(イエロー)、M(マゼンダ)、C(シア
ン)信号に変換して出力することによりカラープリント
用信号を得る。CRTデイスプレィ装置にて表示する場
合にはRGB信号に変換する。
A signal for color printing is obtained by converting this signal into Y (yellow), M (magenta), and C (cyan) signals and outputting them. When displaying on a CRT display device, it is converted into an RGB signal.

(ト)発明の効果 以上述べた本発明によれば、例えば、好ましい顔色を得
る為の画像補正処理を、総合的に且つきめ細かく行うこ
とができ、良好な画像を得ることができる。
(G) Effects of the Invention According to the present invention described above, for example, image correction processing for obtaining a desirable complexion can be comprehensively and precisely performed, and a good image can be obtained.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明にかかる画像処理方法のフローチャート
を示す図、第2図、第3図及び第4図はそれぞれ明度、
彩度、色相毎に、唇、頬、額を判別する為のメンバーシ
ップ関数を示す図である。
FIG. 1 is a diagram showing a flowchart of the image processing method according to the present invention, and FIGS. 2, 3, and 4 respectively show brightness,
FIG. 7 is a diagram showing membership functions for determining lips, cheeks, and forehead for each saturation and hue.

Claims (2)

【特許請求の範囲】[Claims] (1)入力されたカラー画像信号を色空間L^*(明度
)、C_a_b^*(彩度)、H_a_b′(色相)系
カラー画像信号に変換する変換ステップと、 前記変換カラー画像信号のL^*、C_a_b^*、H
_a_b′の各属性値が、予め定められた顔の各部位に
対して適合する程度を求めるステップと、 顔の各部位毎に且つL^*、C_a_b^*、H_a_
b′の各属性毎に予め規定された色調整量及び前記ステ
ップにて求められた適合度に基づいて、前記変換カラー
画像信号のL^*、C_a_b^*、H_a_b′の各
属性毎に、色調整量を求めるステップと 前記ステップにて求められたL^*、C_a_b^*、
H_a_b′の各属性毎の色調整量に基づいて、前記変
換カラー画像信号を補正する補正ステップ とを有することを特徴とするカラー画像処理方法。
(1) A conversion step of converting the input color image signal into color space L^* (lightness), C_a_b^* (chroma), H_a_b' (hue) system color image signals, and L of the converted color image signal. ^*, C_a_b^*, H
a step of determining the extent to which each attribute value of _a_b' matches each predetermined part of the face;
For each attribute of L^*, C_a_b^*, H_a_b' of the converted color image signal, based on the predefined color adjustment amount for each attribute of b' and the degree of suitability determined in the step, The step of calculating the color adjustment amount and the L^*, C_a_b^*,
A color image processing method comprising: a correction step of correcting the converted color image signal based on a color adjustment amount for each attribute of H_a_b'.
(2)適合度の決定が、顔の各部位毎に且つL^*、C
_a_b^*、H_a_b′の各属性毎に定められたメ
ンバーシップ関数のメンバーシップ値として決定され、
顔の各部位毎に且つL^*、C_a_b^*、H_a_
b′の各属性毎に予め規定された色調整量及び前記メン
バーシップ値に基づいてファジィ推論を行うことにより
変換カラー画像信号のL^*、C_a_b^*、H_a
_b′の各属性毎に、色調整量を求めることを特徴とす
る請求項1に記載のカラー画像処理方法。
(2) The degree of fitness is determined for each part of the face and L^*,C
It is determined as the membership value of the membership function defined for each attribute of _a_b^*, H_a_b′,
For each part of the face and L^*, C_a_b^*, H_a_
L^*, C_a_b^*, H_a of the converted color image signal by performing fuzzy inference based on the predefined color adjustment amount and the membership value for each attribute of b'
2. The color image processing method according to claim 1, wherein a color adjustment amount is determined for each attribute of _b'.
JP2295639A 1990-10-31 1990-10-31 Color picture processing method Pending JPH04167866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2295639A JPH04167866A (en) 1990-10-31 1990-10-31 Color picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2295639A JPH04167866A (en) 1990-10-31 1990-10-31 Color picture processing method

Publications (1)

Publication Number Publication Date
JPH04167866A true JPH04167866A (en) 1992-06-15

Family

ID=17823260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2295639A Pending JPH04167866A (en) 1990-10-31 1990-10-31 Color picture processing method

Country Status (1)

Country Link
JP (1) JPH04167866A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0927952A1 (en) * 1997-12-30 1999-07-07 STMicroelectronics S.r.l. Digital image color correction device employing fuzzy logic
US7348992B2 (en) 2002-07-26 2008-03-25 Samsung Electronics Co., Ltd. Apparatus for and method of color compensation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0927952A1 (en) * 1997-12-30 1999-07-07 STMicroelectronics S.r.l. Digital image color correction device employing fuzzy logic
US6272239B1 (en) 1997-12-30 2001-08-07 Stmicroelectronics S.R.L. Digital image color correction device and method employing fuzzy logic
US7348992B2 (en) 2002-07-26 2008-03-25 Samsung Electronics Co., Ltd. Apparatus for and method of color compensation

Similar Documents

Publication Publication Date Title
JP2887158B2 (en) Image processing device
CA2406350C (en) Image processing method and apparatus, storage medium and program
US5875260A (en) Image processing apparatus and method for altering color image signals
EP1489833A1 (en) Image processing apparatus, image processing method, color adjustment method, and color adjustment system
US20090027732A1 (en) Image processing apparatus, image processing method, and computer program
JP3273204B2 (en) Color separation image processing method and apparatus for four-color printer
JP2001216498A (en) Method and device for processing image signal and medium with recorded image signal processing program
JP2002016818A (en) Color correction method and device, and recording medium
JPH06333039A (en) Method and device for airbrushing
JP2005124172A (en) Image forming method and system for monochromatic reproduction of color image
JP2003324623A (en) Color conversion apparatus, program and table in the same, and table preparing apparatus and program in the same
JPH065875B2 (en) Method and apparatus for image correction
JP2998278B2 (en) Mono-color editing method and apparatus in color image recording apparatus
Spaulding et al. UltraColor: A new gamut-mapping strategy
JPH1023267A (en) Sharpness-processing unit for image
JPH06121159A (en) Color image processor
JP2001175843A (en) Image processing method, image processor and storage medium
JP3794182B2 (en) Color image signal processing apparatus and color image signal processing method
JPH04167866A (en) Color picture processing method
Bonnier et al. Spatial and color adaptive gamut mapping: A mathematical framework and two new algorithms
JPH0824342B2 (en) Image artificial coloring method
EP1199882A2 (en) Transforms for display or printing digital images
JP2002281332A (en) Color transformation device and method, and program and recording medium therefor
JP2002094826A (en) Image processing unit, image forming unit and method for processing image
JP2000184221A (en) Image processor and image processing method