JP2000134486A - Image processing unit, image processing method and storage medium - Google Patents

Image processing unit, image processing method and storage medium

Info

Publication number
JP2000134486A
JP2000134486A JP10300811A JP30081198A JP2000134486A JP 2000134486 A JP2000134486 A JP 2000134486A JP 10300811 A JP10300811 A JP 10300811A JP 30081198 A JP30081198 A JP 30081198A JP 2000134486 A JP2000134486 A JP 2000134486A
Authority
JP
Japan
Prior art keywords
red
eye
image processing
correction
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
JP10300811A
Other languages
Japanese (ja)
Inventor
Hitoshi Oonoda
仁 大野田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP10300811A priority Critical patent/JP2000134486A/en
Publication of JP2000134486A publication Critical patent/JP2000134486A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To correct red-eye by varying a data correction amount with respect to original image data in a red-eye area depending on a place in the red-eye area (e.g. middle or surrounding of the red-eye area) so as to generate a more natural face image. SOLUTION: In a distribution state of a saturation (a) and a lightness (b) of an original image along a line of a red-eye area, the red-eye is corrected by reducing the saturation and the lightness of the original image. A degree of this reduction changes depending on a place in the red-eye area. The reduction rate of saturation (e) and lightness (d) with respect to the original image is expressed in percentage. Then the reduction rate is changed larger toward the center of the red area to obtain a distribution of the saturation (c) and lightness (d) after the correction. Then an arithmetic operation of restoring the color space expressed by the hue of the original image and the saturation and the lightness after the correction to a color space of the original image data is conducted and generation of an image whose red-eye is corrected is made complete. Or stepwise reduction in the saturation (g) and lightness (h) is effective.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フラッシュ撮影な
どで赤目が生じた人物像を含む顔画像によって生じた顔
画像中の赤目を修正する画像処理装置及び画像処理方法
及び記憶媒体に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus, an image processing method, and a storage medium for correcting red eyes in a face image generated by a face image including a person image having red eyes in flash photography or the like. .

【0002】[0002]

【従来の技術】銀塩カメラ、デジタルカメラを問わず、
暗い場所で人物をフラッシュ撮影すると、被写体の目が
赤く移ってしまう赤目という現象が知られている。
2. Description of the Related Art Regardless of a silver halide camera or a digital camera,
2. Description of the Related Art When a person is photographed in a dark place by flash, a phenomenon called red-eye, in which the subject's eyes move red, is known.

【0003】今日では、人物をデジタルカメラで撮影し
たデジタル画像データ、あるいは銀塩カメラで撮影した
フィルムをスキャナで読み込んだデジタル画像データに
おいて、赤目領域を別の色に変更することにより赤目を
除去することが行われる。
[0003] Today, in digital image data obtained by photographing a person with a digital camera or digital image data obtained by reading a film photographed by a silver halide camera with a scanner, red-eye is removed by changing the red-eye area to another color. Is done.

【0004】こうした画像データに対して赤目除去を行
う場合、赤目が生じている領域の1点をマウスなどのポ
インティング・デバイスでオペレータが指示したり、あ
るいはオペレータが赤目領域を囲むように領域を指定し
て、その範囲内の赤い領域の色を全て変更するなどの方
法が存在する。
[0004] When red-eye removal is performed on such image data, an operator instructs one point of an area where a red-eye occurs by using a pointing device such as a mouse, or the operator designates an area so as to surround the red-eye area. Then, there is a method of changing all the colors of the red area within the range.

【0005】また、赤目領域を囲む領域を非常におおざ
っぱに指示すると、指定した範囲内から赤目の領域を自
動的に検出して修正を行う方法が、本出願人により開示
されている。
[0005] Also, a method of automatically detecting and correcting a red-eye region from a specified range when a region surrounding the red-eye region is very roughly indicated is disclosed by the present applicant.

【0006】赤目領域が手動で指定、あるいは自動で検
出された後、赤目領域は別の色に変更されるが、この変
更方法として、次のような方法が従来存在した。 (1) 候補となる何種類かの色を提示し、オペレータがそ
の中から選択した色で、赤目領域を塗り替える方法。 (2) 候補となる修正色を多段階に変化させて提示し、オ
ペレータがその中から選択した色で、赤目領域を塗り替
える方法。 (3) 赤目領域の彩度を低減することにより、無彩色に近
づけて赤目を目立たなくする方法。 (4) 赤目領域の明度を低減することにより、黒に近づけ
て赤目を目立たなくする方法。 (5) (3)と(4)の両方を行う方法。
After the red-eye area is manually designated or automatically detected, the red-eye area is changed to another color. The following methods have been conventionally used as this changing method. (1) A method of presenting several types of candidate colors and repainting the red-eye area with a color selected by the operator. (2) A method in which candidate correction colors are changed in multiple stages and presented, and the red-eye area is repainted with a color selected by the operator. (3) A method of reducing the saturation of the red-eye area to make the red-eye less conspicuous by approaching an achromatic color. (4) A method of reducing the brightness of the red-eye area to make the red-eye less noticeable by approaching black. (5) A method of performing both (3) and (4).

【0007】[0007]

【発明が解決しようとする課題】しかしながら、単純に
色を置き換える (1) や (2) のような従来方法では、赤
目領域を単一色で塗りつぶしてしまうので、修正しても
不自然になってしまうことがあるという欠点があった。
However, in the conventional methods such as (1) and (2), which simply replace the color, the red-eye area is filled with a single color, so that even if the correction is made, it becomes unnatural. There was a drawback that it could happen.

【0008】これに対して、(3)や(4)の方法は、原画像
のもつ彩度や明度をある一定の比率で低減するので、原
画像の情報が修正結果にもある程度反映され、(1)や(2)
に比べてより自然な修正になる場合が多かった。しか
し、赤目が生じなかった場合の人物の目と比較すると、
不自然に見えてしまうことがあるという欠点があった。
On the other hand, in the methods (3) and (4), the saturation and brightness of the original image are reduced at a certain ratio, so that the information of the original image is reflected to the correction result to some extent. (1) or (2)
In many cases, the correction was more natural than in. However, when compared to the eyes of a person without red eyes,
There is a drawback that it may look unnatural.

【0009】また、(3)や(4)の方法は色を単純に置き換
えるのではなく、彩度と明度を低減するだけなので、任
意の色合いで赤目を修正することができないという欠点
があった。
Further, the methods (3) and (4) have a drawback that red-eye cannot be corrected with an arbitrary hue because the color and brightness are not simply replaced but the saturation and brightness are reduced. .

【0010】また、従来の方法では操作者が赤目の修正
レベルの調整を試みても思い通りの調整が行いにくいと
いう欠点があった。
Further, the conventional method has a drawback that it is difficult to perform the desired adjustment even if the operator attempts to adjust the red-eye correction level.

【0011】本発明は、より自然な顔画像が生成できる
赤目修正が可能な画像処理方法を提供することである。
An object of the present invention is to provide an image processing method capable of generating a more natural face image and capable of correcting red eyes.

【0012】更には、より自然な顔画像が生成できる赤
目修正でありながら、さらに目の色を任意の色調に設定
することが可能な画像処理方法を提供することである。
It is still another object of the present invention to provide an image processing method capable of setting an eye color to an arbitrary color tone while performing red eye correction capable of generating a more natural face image.

【0013】更には、操作者が赤目修正の修正の具合を
容易に調整することができる方法を提供することであ
る。
Another object of the present invention is to provide a method by which an operator can easily adjust the degree of red-eye correction.

【0014】更には、フラッシュによる目の反射光の効
果を残し、より生き生きとした顔画像が生成できる赤目
修正が可能な画像処理方法を提供することである。
It is still another object of the present invention to provide an image processing method capable of red-eye correction capable of generating a more lively face image while leaving the effect of reflected light of an eye by a flash.

【0015】本出願にかかる第5の発明の目的は、より
自然な顔画像が生成できる赤目修正が可能な画像処理装
置を提供することである。
A fifth object of the present invention is to provide an image processing apparatus capable of generating a more natural face image and capable of red-eye correction.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するた
め、第1、8の発明は、赤目領域の原画像データに対する
データ修正量を、赤目領域内の場所(例えば赤目領域の
中央や周辺)によって可変としたことを特徴とする。
In order to achieve the above object, the first and eighth aspects of the present invention provide a method for determining the amount of data correction for the original image data in the red-eye area at a location within the red-eye area (for example, the center or periphery of the red-eye area). It is characterized by being variable.

【0017】また、第2、9の発明は、赤目修正を原画像
データの彩度あるいは明度、あるいはその両方を修正す
ることにより行い、さらに彩度あるいは明度の修正量を
赤目領域内の場所によって可変としたことを特徴とす
る。
According to the second and ninth inventions, the red-eye correction is performed by correcting the saturation or lightness of the original image data, or both, and the amount of correction of the saturation or lightness is further changed according to the location in the red-eye area. It is characterized by being variable.

【0018】また、第3、10の発明は、赤目修正を原画像
のデータの彩度あるいは明度あるいはその両方を低減す
ることにより行い、さらに彩度あるいは明度の低減量を
赤目領域の中心もしくは重心に向かうほど大きくしたこ
とを特徴とする。
According to the third and tenth aspects of the present invention, the red-eye correction is performed by reducing the saturation and / or lightness of the data of the original image, and the amount of reduction of the saturation and / or lightness is further reduced by the center or the center of gravity of the red-eye area. It is characterized by increasing the size as it goes toward.

【0019】また、第4、11の発明は、赤目修正を原
画像データの彩度あるいは明度、あるいはその両方を修
正することにより行い、さらに彩度あるいは明度の修正
量を赤目領域内の場所によって可変とし、さらに赤目領
域の色相成分を独立に設定可能としたことを特徴とす
る。
According to the fourth and eleventh aspects of the present invention, the red-eye correction is performed by correcting the saturation and / or the brightness of the original image data, and the amount of correction of the saturation and / or the brightness is further changed depending on the location in the red-eye area. It is variable, and the hue component of the red-eye region can be set independently.

【0020】また、第5、12の発明は、操作者が修正量を
調整する場合には赤目領域の彩度と明度あるいは色相の
成分を独立に制御できるようにしたことを特徴とする。
Further, the fifth and twelfth inventions are characterized in that when the operator adjusts the correction amount, the saturation and brightness or hue components of the red-eye area can be controlled independently.

【0021】また、第6、13の発明は、赤目領域の原画像
データに対するデータ修正量を、赤目領域内の場所によ
って可変とし、さらに赤目領域の周辺のエッジ部では、
領域の内側から外側に向かうほど赤目の修正量が段階的
に少なくなるようにしたことを特徴とする。
According to the sixth and thirteenth inventions, the data correction amount for the original image data in the red-eye area is made variable depending on the location in the red-eye area.
It is characterized in that the amount of red-eye correction gradually decreases from the inside to the outside of the region.

【0022】また、第7、14の発明は、赤目領域の内部に
フラッシュなどの光源反射などで生じるキャッチライト
が存在した場合には、そのキャッチライト領域に対して
の明度の修正量は、キャッチライト領域周辺の赤目領域
に対する明度の修正量より少なくするようにしたことを
特徴とする。
Further, in the seventh and fourteenth inventions, when a catchlight generated by reflection of a light source such as a flash is present inside the red-eye area, the amount of correction of the brightness for the catchlight area is determined by the catch amount. It is characterized in that the correction amount is smaller than the lightness correction amount for the red-eye region around the light region.

【0023】[0023]

【発明の実施の形態】(第1の実施形態)はじめに、本
発明を適用する画像処理装置の全体構成を図1を参照し
て説明する。図1は本発明を適用する画像処理装置の一
例であるとしてのパーソナルコンピュータのブロック構
成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) First, an overall configuration of an image processing apparatus to which the present invention is applied will be described with reference to FIG. FIG. 1 is a block diagram of a personal computer as an example of an image processing apparatus to which the present invention is applied.

【0024】図中21は装置の全体制御を司るCPU、22は
処理画像を表示するCRTなどのディスプレイ、23は操作
者よりの各種指示データなどを入力するキーボード、24
は処理プログラムなどを記憶しているROM、25は各種処
理結果を一時的に記憶するRAM、26は本実施形態の各種
赤目修正処理を行うプログラムなどを記憶するハードデ
ィスクドライブ(HDD)などの記憶装置、27は外部の装置
と通信回線31を介して通信するための通信インターフェ
イスである。
In the figure, reference numeral 21 denotes a CPU for controlling the entire apparatus, 22 denotes a display such as a CRT for displaying a processed image, 23 denotes a keyboard for inputting various kinds of instruction data from an operator, etc.
Is a ROM that stores processing programs, etc., 25 is a RAM that temporarily stores various processing results, and 26 is a storage device such as a hard disk drive (HDD) that stores a program for performing various red-eye correction processing of the present embodiment. And 27 are communication interfaces for communicating with external devices via the communication line 31.

【0025】また28は、入力補助手段としてのマウスな
どのポインティング装置である。29はCCDなどのイメー
ジセンサを含み、被写体を撮影してデジタル画像信号を
生成する画像入力装置である。これらの各構成は、内部
バス30を介して接続されている。後述の赤目修正処理の
対象となるデジタル画像信号は、画像入力装置29により
得られた情報であっても、外部の画像処理装置(例え
ば、デジタルカメラ、フィルムスキャナ、反射原稿スキ
ャナなど)からの情報を通信インターフェイス27を介し
て入手したものでもよい。
Reference numeral 28 denotes a pointing device such as a mouse as input assisting means. An image input device 29 includes an image sensor such as a CCD and generates a digital image signal by photographing a subject. These components are connected via an internal bus 30. The digital image signal to be subjected to the red-eye correction processing described later may be information obtained from the image input device 29 or information from an external image processing device (for example, a digital camera, a film scanner, a reflective original scanner, etc.). May be obtained via the communication interface 27.

【0026】以上の構成を備える本発明の第1の実施形
態における赤目修正の画像処理を図2のフローチャート
を参照して以下に説明する。以下の画像処理は前述した
ROM24に記憶されたプログラムに従ってCPU21
により処理を行うことにより実現する。
The image processing for red-eye correction according to the first embodiment of the present invention having the above configuration will be described below with reference to the flowchart of FIG. The following image processing is executed by the CPU 21 according to the program stored in the ROM 24 described above.
It is realized by performing the processing according to.

【0027】まず、ステップS1において、操作者が画像
中の赤目領域を指定する。指定の方法にはさまざまな方
法が存在するが、ここでは赤目の中心位置と大きさを操
作者が入力する方法を説明する。図3のように赤目領域
の中心をマウスなどのポインティング装置28で指示する
と、ガイド円101が表示される。ここで、画面上の操作
部材である、拡大ボタン102、縮小ボタン103を押して、
ガイド円101が赤目領域の周辺にほぼ一致するように指
定する。以上の操作により赤目領域を指定した後、指定
が確定したことを装置に伝えるため、除去ボタン104を
押す。
First, in step S1, the operator specifies a red-eye area in an image. Although there are various methods for designating, a method in which the operator inputs the center position and size of the red eye will be described here. As shown in FIG. 3, when the center of the red-eye region is pointed by a pointing device 28 such as a mouse, a guide circle 101 is displayed. Here, pressing the enlargement button 102 and the reduction button 103, which are operation members on the screen,
The guide circle 101 is specified so as to substantially coincide with the periphery of the red-eye area. After the red-eye area is specified by the above operation, the removal button 104 is pressed in order to inform the apparatus that the specification has been confirmed.

【0028】次に、ステップS2において、赤目領域の正
確な検出を行う。すなわち、ステップS1で指定したガイ
ド円101の内部の画素1つ1つに対して、赤目領域を構成
する画素か否かを判定する。
Next, in step S2, a correct detection of the red-eye region is performed. That is, it is determined whether or not each of the pixels inside the guide circle 101 specified in step S1 is a pixel constituting the red-eye area.

【0029】画素が赤目を構成するか画素であるか否か
の判定は、画素の色に基づいて判定を行う。画像の色を
現わすデータ表現として、色相・彩度・明度による色の
表現方法がある。
The determination as to whether or not a pixel constitutes red eye or a pixel is made based on the color of the pixel. As a data expression representing the color of an image, there is a color expression method based on hue, saturation, and brightness.

【0030】色相は色あいを角度値で表現したものであ
り、0°から360°まで 赤色 〜 黄色 〜 緑色 〜 水色
〜 青色 〜 紫色 〜 赤色 と滑らかに色あいが循環して
表現される。
Hue is an expression of hue as an angle value, and ranges from 0 ° to 360 ° from red to yellow to green to light blue.
~ Blue ~ Purple ~ Red Colors are smoothly circulated and expressed.

【0031】彩度は鮮やかさを0.0〜1.0の数値で表現し
たものであり、0.0が白、灰色、黒などの無彩色を現わ
し、数値が大きくなるほど鮮やかになり、1.0がもっと
も鮮やかな色であることを現わす。
Saturation is the degree of vividness represented by a numerical value from 0.0 to 1.0, where 0.0 represents an achromatic color such as white, gray, or black. It shows that it is.

【0032】明度は明るさを数値で表現したものであ
り、0.0がもっとも暗く、数値が大きくなるほど明るく
なり1.0でもっとも明るい色であることを現わす。
Brightness is a numerical representation of brightness, where 0.0 is the darkest, and the larger the numerical value, the brighter and the brightest color is 1.0.

【0033】画像データとして一般的なRGBのデータ表
現から、色相(Hue)、彩度(Saturation)、明度(Luminosi
ty)を表現するHSLデータへの変換は次式で行うことがで
きる。
From image data represented by general RGB data, hue (Hue), saturation (Saturation), and lightness (Luminosi
Conversion to HSL data expressing ty) can be performed by the following equation.

【0034】S = (R2+G2+B2-R*G-R*B-B*G)0.5 L = (R+G+B)/3 H = 360*(a tan-1((R-L)*(30.5)/(G B)))) / (2π) ただし、 a = π/2 : G > B a = 3*π : G < B H = 1 : G = B である。S = (R 2 + G 2 + B 2 -R * GR * BB * G) 0.5 L = (R + G + B) / 3 H = 360 * (a tan -1 ((RL) * ( 3 0.5 ) / (GB)))) / (2π) where a = π / 2: G> B a = 3 * π: G <BH = 1: G = B.

【0035】ここで、R: 赤、B:青、G:緑、H:色相、S:
彩度、L:明度である。また、それぞれの数値の範囲は、
色相Hに関しては−180以上、180未満、他は全て0.0以上
1.0以下で演算されることを想定した式である。
Here, R: red, B: blue, G: green, H: hue, S:
Saturation, L: lightness. Also, the range of each numerical value is
Hue H is -180 or more, less than 180, all others are 0.0 or more
This is an expression that is assumed to be calculated below 1.0.

【0036】なお、明度・彩度・色相系で表現される色
空間には異なるいくつかの種類があるが、本実施形態で
はその一例を示したものであり、他の色空間(ex.H
VC、HSI等)いずれを用いてもよいのは明らかであ
る。
There are several different types of color spaces represented by the lightness / saturation / hue system. In the present embodiment, an example is shown, and other color spaces (ex.H.
It is obvious that any of them can be used.

【0037】赤目領域の各画素に対してHSLに変換後の
値を演算して、例えば −30 < H < 30 S > 0.5 L > 0.5 を満たす画素を赤目の候補画素として判断する。
The value of each pixel in the red-eye area after being converted to HSL is calculated, and a pixel satisfying, for example, −30 <H <30S>0.5L> 0.5 is determined as a red-eye candidate pixel.

【0038】例えば図4の様に、ガイド円101中に赤目候
補画素が見つかった場合、それらを公知技術であるクラ
スタリングという画像処理によって、赤目候補画素の集
合クラスタとして扱い、その中から最大のクラスタを赤
目領域として判断する。
For example, as shown in FIG. 4, when red eye candidate pixels are found in the guide circle 101, they are treated as a set cluster of red eye candidate pixels by image processing called clustering, which is a known technique, and the largest cluster among them is Is determined as a red-eye area.

【0039】例えば、図4の場合最大画素数で構成され
るクラスタ41が赤目領域として決定される。
For example, in the case of FIG. 4, the cluster 41 composed of the maximum number of pixels is determined as the red-eye area.

【0040】尚、他の赤目検出アルゴリズムを用いて赤
目領域を決定してもよいのは明らかである。
It is clear that the red-eye region may be determined by using another red-eye detection algorithm.

【0041】次に図2のステップS3、赤目除去処理に入
る。
Next, in step S3 in FIG.

【0042】従来の赤目除去処理では、赤目領域として
検出された画素を、操作者が指示した色に置き換える方
法や、赤目領域の彩度と明度をある一定レベルまで低減
するように修正する方法が存在した。
In the conventional red-eye removal processing, a method of replacing a pixel detected as a red-eye region with a color designated by an operator, or a method of correcting the saturation and brightness of the red-eye region so as to reduce them to a certain level. Were present.

【0043】本実施形態では、赤目領域中の場所に応じ
て彩度と明度の修正量を可変とする方法を説明する。
In the present embodiment, a method will be described in which the saturation and brightness correction amounts are made variable in accordance with the location in the red-eye area.

【0044】図4の赤目領域41を例にとって説明する。
図5の(a)、(b)はそれぞれ図4の赤目領域のライン43に沿
った原画像の彩度と明度の分布状態である。
A description will be given by taking the red eye region 41 of FIG. 4 as an example.
(A) and (b) of FIG. 5 are the distribution states of the saturation and brightness of the original image along the red-eye area line 43 in FIG. 4, respectively.

【0045】これらの原画像の彩度と明度の値を低減し
て赤目修正を行うが、本実施形態ではこの低減の度合を
赤目領域の場所によって変化を持たせる。図5の(c)、
(d)はそれぞれ原画像に対する彩度と明度の低減率をパ
ーセンテージで表現したものである。
Red-eye correction is performed by reducing the saturation and brightness values of these original images. In the present embodiment, the degree of this reduction varies depending on the location of the red-eye region. Fig. 5 (c),
(d) expresses the saturation and lightness reduction rates of the original image in percentage.

【0046】本実施形態では図5(c)、(d)のように、赤
目領域の中心に向かうほど低減の度合が強くなるように
変化させる。ここで中心とは赤目領域を囲む矩形の中心
であってもよいし、あるいは画像処理の分野では公知の
重心を用いてもよい。
In the present embodiment, as shown in FIGS. 5C and 5D, the degree of reduction is changed so that the degree of reduction increases toward the center of the red-eye area. Here, the center may be the center of a rectangle surrounding the red-eye area, or a center of gravity known in the field of image processing may be used.

【0047】このようにした場合、赤目領域の各画素の
色を修正するが、その修正後の彩度と明度は (修正後の彩度)=(原画像の彩度)×(彩度低減率
〔%〕)/ 100 (修正後の明度)=(原画像の明度)×(明度低減率
〔%〕)/ 100 によって計算され、その修正後の分布は図5(e)、(f)の
ようになる。ここで、原画像の色相と、修正後の彩度、
修正後の明度で表現される色空間からもとの画像データ
の色空間に戻す演算を行い赤目を修正した画像の生成が
完了する。
In this case, the color of each pixel in the red-eye area is corrected, and the corrected saturation and lightness are (corrected saturation) = (saturation of original image) × (saturation reduction) Rate [%]) / 100 (brightness after correction) = (brightness of original image) × (brightness reduction rate [%]) / 100, and the distribution after correction is shown in FIGS. 5 (e) and 5 (f). become that way. Here, the hue of the original image, the saturation after correction,
An operation of returning the color space expressed by the corrected lightness to the color space of the original image data is performed, and the generation of the image in which the red-eye is corrected is completed.

【0048】また、彩度と明度の低減のさせかたは図5
(c)、(d)のように線形滑らかに変化させるだけでなく、
非線形に変化させてもよい。また、図5(g)、(h)のよう
に(少なくとも2段階以上で)段階的に低下させるよう
にしても類似の効果が得られることは言うまでもない。
FIG. 5 shows how to reduce saturation and lightness.
(c), (d)
It may be changed non-linearly. It is needless to say that a similar effect can be obtained even if it is reduced stepwise (at least in two or more steps) as shown in FIGS. 5 (g) and 5 (h).

【0049】また、赤目領域の周辺での彩度と明度の低
減レベルは図5(c)、(d)ではそれぞれ50%、70%として
設定されているが、この低減レベルは画像の状態を判断
して自動的に設定してもよい。また、彩度と明度の低減
レベルを操作者が任意に設定できるようにすると、彩度
・明度というのは人間の知覚に近い表現であるので、従
来の方法より操作者の意図通りに低減レベルの設定が可
能になる。
The reduction levels of the saturation and lightness around the red-eye area are set to 50% and 70% in FIGS. 5 (c) and 5 (d), respectively. It may be determined and set automatically. Also, if the operator can set the saturation and brightness reduction levels arbitrarily, the saturation / brightness is an expression close to human perception. Can be set.

【0050】この結果、新たに生成された画像は、赤目
領域の中心ほど彩度あるいは明度が低くなるように表現
される。人間の目は中心に瞳孔がありその周辺に光彩が
ある。したがって、通常、目の中心は暗く見えるのが自
然な状態である。本実施形態による赤目修正を実施する
と、まるで瞳孔があるかの如く目の中心ほど暗く見える
ように修正が行われるため、従来の方法より自然な顔画
像を生成することが可能となる。
As a result, the newly generated image is expressed such that the saturation or brightness becomes lower toward the center of the red-eye area. The human eye has a pupil in the center and a glow around it. Therefore, it is usually natural that the center of the eye looks dark. When the red-eye correction according to the present embodiment is performed, the correction is performed such that the center of the eye looks darker as if there is a pupil, so that a more natural face image can be generated than in the conventional method.

【0051】また、操作者が彩度と明度の低減レベルを
任意設定できるようにすることにより、従来の方法より
操作者の意図通りに低減レベルの設定が可能となる。
Further, by enabling the operator to arbitrarily set the saturation and lightness reduction levels, it is possible to set the reduction levels as intended by the operator than in the conventional method.

【0052】(第2の実施形態)第1の実施形態において
は、赤目領域として検出された各画素の彩度と明度に修
正を加えたが、本実施形態では第1の実施形態の内容に
加えて、さらに色相にも変更を加える。
(Second Embodiment) In the first embodiment, the saturation and lightness of each pixel detected as a red-eye area are modified, but in the present embodiment, the contents of the first embodiment are modified. In addition, the hue is further changed.

【0053】図4のライン43における色相の分布を図6の
ライン61に示す。
The hue distribution on line 43 in FIG. 4 is shown in line 61 in FIG.

【0054】本実施形態においては、赤目領域に対する
各画素の色相を、操作者が任意の値に変化させることに
より、赤目修正後の色合いを制御する。
In the present embodiment, the hue of each pixel with respect to the red-eye region is changed by the operator to an arbitrary value, thereby controlling the hue after the red-eye correction.

【0055】すなわち、図中のライン61の色相分布をラ
イン62のように赤目領域の色相が−110°付近に変更す
ると修正後の目の色は青みを帯びるようになる。また、
彩度は実施例1の図5(e)で示したように原画像よりも低
減しているので、青く変化させても修正後の彩度は低
く、やや青みを帯びる程度で、不自然な青色になること
はなく、自然な色に変換することができる。
That is, when the hue distribution of the line 61 in the drawing is changed to the vicinity of -110 ° in the red eye region as shown by the line 62, the corrected eye color becomes bluish. Also,
Since the saturation is lower than that of the original image as shown in FIG. 5 (e) of the first embodiment, the saturation after correction is low even if it is changed to blue, slightly bluish, and unnatural. It does not become blue and can be converted to a natural color.

【0056】また、色相分布を図6の63ように色相が110
°付近変更すると、緑色がかった目の色に修正すること
ができる。この例では、赤目領域の色相分布をそのまま
平行移動して色を変化させており、原画像の持つパター
ンが保存して、より自然な修正画像を得られるようにし
ている。
The hue distribution is set to 110 as shown in FIG.
° By changing the vicinity, it can be corrected to greenish eye color. In this example, the hue distribution of the red-eye region is translated as it is to change the color, and the pattern of the original image is preserved so that a more natural corrected image can be obtained.

【0057】このように任意の色味に変化させる場合、
彩度の低減量は少なくとも周辺で無彩色にならない程度
に設定する。逆に、色味を与えたくない場合には、彩度
の低減量は、赤目領域全体で無彩色に近くなるように設
定すればよい。
When the color is changed to an arbitrary color as described above,
The amount of reduction in saturation is set to such an extent that at least the periphery does not become achromatic. Conversely, if it is not desired to give a hue, the saturation reduction amount may be set so as to be close to an achromatic color in the entire red-eye region.

【0058】この設定は、色味を与える際には低減レベ
ルを変えるという処理を自動的に行ってもよいが、操作
者が彩度、明度および色相をマニュアル操作により、任
意に変更できる様にしてもよい。
This setting may automatically perform processing of changing the reduction level when giving a color. However, the setting is made so that the operator can arbitrarily change the saturation, lightness and hue by manual operation. You may.

【0059】このように、第1の実施形態と同様の彩度
と明度の修正に加えて、色相の修正を行うことにより、
赤目を修正しなおかつ自然に目の色を任意の色に着色す
ることができる。
As described above, by correcting the hue in addition to the correction of the saturation and the lightness as in the first embodiment,
The red eye can be corrected and the eye color can be naturally colored to any color.

【0060】本実施形態によると、新たに生成された画
像は、赤目領域の中心ほど彩度あるいは明度が低くなる
ように表現される。人間の目は中心に瞳孔がありその周
辺に光彩がある。通常、目の中心は暗く見えるのが自然
な状態であり、光彩に色が付いているものである。本実
施形態による赤目修正を実施すると、まるで瞳孔がある
かの如く目の中心ほど暗く見えるように修正が行われ、
さらに周辺の光彩に相当する領域に、自然な色味を与え
ることができ、非常に自然な赤目修正画像を生成するこ
とが可能となる。
According to the present embodiment, the newly generated image is expressed such that the saturation or brightness becomes lower toward the center of the red-eye area. The human eye has a pupil in the center and a glow around it. Usually, it is natural for the center of the eye to appear dark, and the glow is colored. When the red eye correction according to the present embodiment is performed, the correction is performed so that the center of the eye looks darker as if there is a pupil,
Further, a natural tint can be given to an area corresponding to the surrounding glow, and a very natural red-eye correction image can be generated.

【0061】(第3の実施形態)第3の実施形態について
説明する。本実施形態においても、全体構成は図1で示
した構成図に基づくパーソナルコンピュータを例に構成
される。
(Third Embodiment) A third embodiment will be described. Also in the present embodiment, the entire configuration is configured using a personal computer based on the configuration diagram shown in FIG. 1 as an example.

【0062】また、図2に示すステップS1の赤目領域指
定と、ステップS2の赤目領域の検出の内容は同じであ
る。本実施形態においてはステップS3の赤目除去処理の
内容が異なる。
Further, the contents of the red-eye area designation in step S1 and the detection of the red-eye area in step S2 shown in FIG. 2 are the same. In the present embodiment, the content of the red-eye removal processing in step S3 is different.

【0063】赤目領域の検出により図6の44の赤目領域
が検出された場合、原画像の彩度と明度の値を低減して
赤目修正を行うが、本実施形態ではこの低減の度合を、
図7のように設定する。図中(a)と(b)はそれぞれ彩度と
明度の低減率をパーセンテージで表現したものである。
When the red-eye region 44 in FIG. 6 is detected by detecting the red-eye region, red-eye correction is performed by reducing the saturation and brightness values of the original image. In the present embodiment, the degree of this reduction is
Set as shown in FIG. In the figures, (a) and (b) express the reduction rates of the saturation and the lightness, respectively, as percentages.

【0064】本実施形態では赤目領域の周辺の彩度と明
度の低減率を滑らかに変化させている。こうすることに
より、赤目修正領域とまわりの領域の画像の変化が滑ら
かになり、従来より自然な赤目修正画像を生成すること
が可能となる。
In the present embodiment, the saturation and lightness reduction rates around the red-eye area are smoothly changed. By doing so, the change in the image of the red-eye correction area and the surrounding area becomes smooth, and a more natural red-eye correction image than before can be generated.

【0065】(第4の実施形態)第4の実施形態について
説明する。本実施形態においても、全体構成は図1で示
した構成図に基づくパーソナルコンピュータを例に説明
する。
(Fourth Embodiment) A fourth embodiment will be described. Also in the present embodiment, the entire configuration will be described using a personal computer based on the configuration diagram shown in FIG. 1 as an example.

【0066】また、図2に示すステップS1の赤目領域指
定と、ステップS2の赤目領域の検出の内容は同じであ
る。本実施形態においてはステップS3の赤目除去処理の
内容が異なる。
The details of the red-eye area designation in step S1 shown in FIG. 2 and the detection of the red-eye area in step S2 are the same. In the present embodiment, the content of the red-eye removal processing in step S3 is different.

【0067】赤目領域の検出により図6の44の赤目領域
が検出された場合、赤領域の内部に46で示したような赤
目領域とは判断されない画素群が検出されることがあ
る。これは多くの場合、フラッシュの反射光などで生じ
るキャッチライトであることが多い。
When the red-eye region 44 in FIG. 6 is detected by the detection of the red-eye region, a pixel group which is not determined to be a red-eye region as indicated by 46 in the red region may be detected. In many cases, this is a catch light generated by reflected light of a flash or the like.

【0068】キャッチライトは被写体の表情を生き生き
と表現するのに好ましく感じられることが多いが、従来
の方法によれば赤目領域内部は全体に明度が低減される
ので、キャッチライト像が暗くなってしまうことがあっ
た。
Although the catchlight is often felt to express the expression of the subject lively, according to the conventional method, the brightness inside the red-eye area is reduced as a whole, so that the catchlight image becomes dark. There was sometimes.

【0069】そこで、本実施例ではキャッチライト領域
に対しての明度の修正量を、キャッチライト領域周辺の
赤目の修正量よりも低く設定することによりキャッチラ
イトの効果を残す。
Therefore, in the present embodiment, the effect of the catchlight is left by setting the correction amount of the brightness to the catchlight region to be smaller than the correction amount of the red eye around the catchlight region.

【0070】図9はキャッチライトが存在した場合の原
画像に対する明度の低減率をパーセンテージで表現した
ものである。基本的には第1の実施形態と同様に、赤目
領域の中心に向かうほど低減の度合が強くなるように変
化させているが、キャッチライト部では明度の低減の度
合を減らしている。図9の例ではキャッチライト部の明
度の低減の値は100%になっており、原画像の明度がそ
のまま保存される。(図中の点線はキャッチライト部が
なかった場合の修正量の例である。)
FIG. 9 is a graph showing, as a percentage, the reduction rate of the brightness of the original image when the catchlight exists. Basically, as in the first embodiment, the degree of reduction is increased so as to approach the center of the red-eye region, but the degree of reduction in brightness is reduced in the catchlight portion. In the example of FIG. 9, the value of the brightness reduction of the catchlight portion is 100%, and the brightness of the original image is stored as it is. (The dotted line in the figure is an example of the correction amount when there is no catchlight part.)

【0071】ここで重要なのは彩度の修正量はキャッチ
ライト部がなかった場合と同じ修正量としていることで
ある。キャッチライト部と赤目部の境界は薄い赤になっ
ているが、彩度の修正量は通常と同様にすることによ
り、この薄い赤が無彩色に近づくように修正され自然な
キャッチライト画像とすることができる。
What is important here is that the correction amount of the saturation is the same correction amount as when there is no catchlight portion. The boundary between the catchlight portion and the red-eye portion is pale red, but the amount of saturation correction is the same as usual, so that this pale red is corrected to approach an achromatic color and a natural catchlight image is obtained. be able to.

【0072】本実施形態によると、新たに生成された画
像は、赤目領域の中心ほど彩度あるいは明度が低くなる
ように表現される。人間の目は中心に瞳孔がありその周
辺に光彩がある。したがって、通常、目の中心は暗く見
えるのが自然な状態であり、本発明による赤目修正を実
施すると、まるで瞳孔があるかの如く目の中心ほど暗く
見えるように修正が行われるが、キャッチライトが存在
した場合にはその明度を保ち、さらにキャッチライト部
が無彩色に近く修正されるので赤目による不自然な着色
をキャッチライト部から取り除くことができ、生き生き
とした表示を保った状態で自然な赤目修正画像を生成す
ることが可能となる。
According to the present embodiment, the newly generated image is expressed such that the saturation or brightness becomes lower toward the center of the red-eye area. The human eye has a pupil in the center and a glow around it. Therefore, normally, it is natural that the center of the eye looks dark, and when the red-eye correction according to the present invention is performed, the correction is performed so that the center of the eye looks darker as if there is a pupil. Is present, its brightness is maintained, and the catchlight portion is corrected to be almost achromatic, so that unnatural coloring due to red eyes can be removed from the catchlight portion, and the display is kept alive and natural. It is possible to generate a natural red-eye correction image.

【0073】(その他の実施形態)実施形態1〜4につ
いては、前述した実施形態の機能を実装した画像処理装
置を用いて説明したが、前述した実施形態の機能を、実
現するソフトウェアのプログラムコードを記録した記憶
媒体を、システムあるいは装置に供給し、そのシステム
あるいは装置のコンピュータ(またはCPUやMPU)が記憶
媒体に格納されたプログラムコードを読み出し実行する
ことによっても達成されることは言うまでもない。
(Other Embodiments) The first to fourth embodiments have been described using the image processing apparatus equipped with the functions of the above-described embodiments. However, the program codes of software for realizing the functions of the above-described embodiments are provided. It is needless to say that the present invention can also be achieved by supplying a storage medium having recorded therein to a system or an apparatus, and reading and executing a program code stored in the storage medium by a computer (or CPU or MPU) of the system or the apparatus.

【0074】この場合、記憶媒体から読み出されたプロ
グラムコード自体が前述した実施形態の機能を実現する
ことになり、そのプログラムコードを記憶した記憶媒体
としては、例えばフロッピーディスク、ハードディス
ク、光ディスク、光磁気ディスク、CD-ROM、CD-R、磁気
テープ、不揮発性のメモリカード、ROMなどを用いるこ
とができる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment. Examples of the storage medium storing the program code include a floppy disk, a hard disk, an optical disk, and an optical disk. A magnetic disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like can be used.

【0075】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0076】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPUなどが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実施される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is performed by the processing is also included.

【0077】[0077]

【発明の効果】以上説明したように、請求項1、8の発明
によれば、赤目領域の原画像データに対するデータ修正
量を、赤目領域内の場所によって可変とすることによ
り、従来より自然な顔画像の生成が可能な赤目修正を実
現することができる。
As described above, according to the first and eighth aspects of the present invention, the amount of data correction to the original image data in the red-eye area is made variable depending on the location in the red-eye area, thereby providing a more natural image than in the past. It is possible to realize red-eye correction capable of generating a face image.

【0078】また、請求項2、9の発明によれば、赤目領
域の原画像データの彩度あるいは明度あるいはその両方
の修正量を赤目領域内における場所によって可変とする
ことにより、従来より自然な顔画像の生成が可能な赤目
修正を実現することができる。
According to the second and ninth aspects of the present invention, the correction amount of the saturation and / or the brightness of the original image data of the red-eye area is made variable depending on the position in the red-eye area, thereby providing a more natural image than the conventional one. It is possible to realize red-eye correction capable of generating a face image.

【0079】また、請求項3、10の発明によれば、赤目領
域の原画像データの彩度あるいは明度あるいはその両方
が赤目領域の中心もしくは重心に近いほど低くなるよう
に修正を行うことにより、あたかも瞳孔が存在するかの
ような修正画像を生成することができ、従来より自然な
顔画像の生成が可能な赤目修正を実現することができ
る。
According to the third and tenth aspects of the present invention, the correction is performed such that the saturation and / or the brightness of the original image data of the red-eye area become lower as the center or the center of gravity of the red-eye area becomes closer. It is possible to generate a corrected image as if a pupil exists, and it is possible to realize red-eye correction capable of generating a more natural face image than before.

【0080】また、請求項4、11の発明によれば、彩
度や明度などを低減したうえで、赤目領域の各画素の色
相を所望の値に修正することにより、原画像のパターン
を残した状態で自然な着色を行うことができ、さらに周
辺の光彩に相当する領域に、自然な色味を与えることが
でき、非常に自然な赤目修正画像を生成することが可能
となる。
According to the fourth and eleventh aspects of the present invention, the color of each pixel in the red-eye region is corrected to a desired value after reducing the saturation and the brightness, so that the pattern of the original image is retained. In this state, natural coloring can be performed, and a natural tint can be given to an area corresponding to the surrounding glow, so that a very natural red-eye correction image can be generated.

【0081】また、請求項5、12の発明によれば、赤目領
域の彩度と明度あるいは色相の修正量を操作者が任意に
設定できるようにしたことにより、人間の感覚に合った
赤目修正のレベル調節が可能となる。
According to the fifth and twelfth aspects of the present invention, the operator can arbitrarily set the amount of correction of the saturation and lightness or the hue of the red-eye area, so that the red-eye correction according to the human sense can be performed. Can be adjusted.

【0082】また、請求項6、13の発明によれば、赤目領
域の周辺の彩度と明度の低減率を滑らかに変化させるこ
とにより、赤目修正領域とまわりの領域の画像の変化が
滑らかになり、従来よりより自然な赤目修正画像を生成
することが可能となる。
According to the sixth and thirteenth aspects of the present invention, by smoothly changing the saturation and brightness reduction rates around the red-eye area, the image of the red-eye correction area and the surrounding area can be smoothly changed. That is, it is possible to generate a more natural red-eye correction image than before.

【0083】また、請求項7、14の発明によれば、赤目領
域内にキャッチライトが存在した場合にはその明度を保
ち、さらにキャッチライト部が無彩色に近く修正される
ので赤目による不自然な着色をキャッチライト部から取
り除くことができ、生き生きとした表示を保った状態で
自然な赤目修正画像を生成することが可能となる。
According to the invention of claims 7 and 14, when a catchlight is present in the red-eye area, its brightness is maintained, and the catchlight portion is corrected to be nearly achromatic, so that the unnaturalness due to red-eye occurs. Coloring can be removed from the catchlight portion, and a natural red-eye correction image can be generated while maintaining a lively display.

【0084】また、請求項15の発明によれば、従来より
自然な顔画像の生成が可能な赤目修正を行うことができ
る記憶媒体を提供することが可能となる。
According to the fifteenth aspect of the present invention, it is possible to provide a storage medium capable of performing a red-eye correction capable of generating a more natural face image than ever before.

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

【図1】本発明の実施例における画像処理装置の構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】本発明の実施例における赤目修正処理を示すフ
ローチャートである。
FIG. 2 is a flowchart illustrating a red-eye correction process according to the embodiment of the present invention.

【図3】本発明の実施例における赤目領域指定方法の一
例を示す図である。
FIG. 3 is a diagram illustrating an example of a red-eye area designation method according to the embodiment of the present invention.

【図4】本発明の実施例における赤目領域の例である。FIG. 4 is an example of a red-eye area according to the embodiment of the present invention.

【図5】本発明の実施例における彩度と明度に対する修
正方法を説明する図である。
FIG. 5 is a diagram illustrating a method for correcting saturation and brightness in an embodiment of the present invention.

【図6】本発明の実施例における色相に対する修正方法
を説明する図である。
FIG. 6 is a diagram illustrating a method of correcting a hue according to the embodiment of the present invention.

【図7】本発明の実施例における彩度と明度に対する修
正方法を説明する図である。
FIG. 7 is a diagram illustrating a method for correcting saturation and brightness in an embodiment of the present invention.

【図8】本発明の実施例におけるキャッチライトを含ん
だ赤目領域の例である。
FIG. 8 is an example of a red-eye area including a catchlight according to the embodiment of the present invention.

【図9】本発明の実施例におけるキャッチライトを含ん
だ赤め領域に対する明度の修正方法を説明する図であ
る。
FIG. 9 is a diagram illustrating a method of correcting the brightness of a reddish area including a catchlight according to the embodiment of the present invention.

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

21 CPU 22 ディスプレイ 23 キーボード 24 ROM 25 RAM 26 記憶装置 27 通信インターフェース 28 ポインティング装置 29 画像入力装置 30 内部バス 31 通信回路 41 赤目領域例 42 他の領域 43 説明用のライン 44 キャッチライトを含んだ赤目領域例 45 説明用のライン 46 キャッチライト部 61 未修正時の色相例 62 色相の修正例1 63 色相の修正例2 101 ガイド円 102 拡大ボタン 103 縮小ボタン 104 除去ボタン 105 画像表示ウィンドウ 106 説明用のボックス 107 ポインタ REFERENCE SIGNS LIST 21 CPU 22 display 23 keyboard 24 ROM 25 RAM 26 storage device 27 communication interface 28 pointing device 29 image input device 30 internal bus 31 communication circuit 41 red eye region example 42 other region 43 explanatory line 44 red eye region including catch light Example 45 Explanation line 46 Catch light part 61 Uncorrected hue example 62 Hue correction example 1 63 Hue correction example 2 101 Guide circle 102 Enlarge button 103 Reduce button 104 Remove button 105 Image display window 106 Description box 107 pointer

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 顔画像中の赤目を画像処理により修正す
る画像処理方法において、赤目領域のデータ修正量を赤
目領域内における場所によって可変としたことを特徴と
する画像処理方法。
1. An image processing method for correcting red eyes in a face image by image processing, wherein an amount of data correction in a red eye region is variable depending on a position in the red eye region.
【請求項2】 赤目領域の各画素の彩度あるいは明度あ
るいはその両方の修正量を、赤目領域内における場所に
よって可変としたことを特徴とする請求項1の画像処理
方法。
2. The image processing method according to claim 1, wherein the correction amount of the saturation and / or the brightness of each pixel in the red-eye region is made variable depending on the location in the red-eye region.
【請求項3】 赤目領域の各画素の彩度あるいは明度あ
るいはその両方が、赤目領域の中心もしくは重心に近い
ほど低くなるように、赤目修正を行うことを特徴とする
請求項2の画像処理方法。
3. The image processing method according to claim 2, wherein red-eye correction is performed such that the saturation and / or brightness of each pixel in the red-eye region becomes lower as the pixel is closer to the center or the center of gravity of the red-eye region. .
【請求項4】 赤目領域の各画素の色相を所望の値に修
正して、赤目修正を行うことを特徴とする請求項2乃至3
の画像処理方法。
4. The method according to claim 2, wherein the hue of each pixel in the red-eye area is corrected to a desired value to perform red-eye correction.
Image processing method.
【請求項5】 赤目領域の彩度、明度あるいは色相の修
正量を操作者が任意に設定できることを特徴とする請求
項2乃至4の画像処理方法。
5. The image processing method according to claim 2, wherein an operator can arbitrarily set a correction amount of the saturation, lightness, or hue of the red-eye region.
【請求項6】 赤目領域のエッジ部分の修正量が、赤目
領域の外側に向かうほど少なくなるように、赤目修正を
行うことを特徴とする請求項1乃至5の画像処理方法。
6. The image processing method according to claim 1, wherein the red-eye correction is performed such that the correction amount of the edge portion of the red-eye region becomes smaller toward the outside of the red-eye region.
【請求項7】 赤目領域内部でキャッチライトと判断さ
れた領域は、その周辺の領域より明度の修正量を少なく
することを特徴とする請求項1の画像処理方法。
7. The image processing method according to claim 1, wherein an area determined as a catchlight inside the red-eye area has a smaller brightness correction amount than a peripheral area.
【請求項8】 顔画像中の赤目領域を検出する検出手
段、 前記赤目領域に対するデータ修正量を前記赤目領域内の
位置に応じて可変にする制御手段とを有することを特徴
とする画像処理装置。
8. An image processing apparatus comprising: detecting means for detecting a red-eye area in a face image; and control means for changing a data correction amount for the red-eye area according to a position in the red-eye area. .
【請求項9】 前記制御手段による赤目領域のデータ修
正とは、彩度もしくは明度の少なくとも一方についての
修正であることを特徴とする請求項8記載の画像処理装
置。
9. The image processing apparatus according to claim 8, wherein the data correction of the red-eye region by the control means is correction of at least one of saturation and brightness.
【請求項10】 前記制御手段による赤目領域のデータ
修正とは、前記赤目領域における中心もしくは重心ほど
彩度もしくは明度の少なくとも一方のレベルを低減する
処理であることを特徴とする請求項9記載の画像処理装
置。
10. The method according to claim 9, wherein the data correction of the red-eye region by the control means is a process of reducing at least one of the level of saturation and lightness toward the center or the center of gravity in the red-eye region. Image processing device.
【請求項11】 前記制御手段による赤目領域のデータ
修正とは、赤目領域の色相を所望の値に修正する処理で
あることを特徴とする請求項9、10記載の画像処理装
置。
11. The image processing apparatus according to claim 9, wherein the data correction of the red-eye region by the control unit is a process of correcting the hue of the red-eye region to a desired value.
【請求項12】 前記彩度、明度、色相の修正量を操作
者が任意に設定可能であることを特徴とする請求項9乃
至11記載の画像処理装置。
12. The image processing apparatus according to claim 9, wherein an operator can arbitrarily set the correction amounts of the saturation, lightness, and hue.
【請求項13】 前記制御手段は赤目領域のエッジ部分
の修正量が、前記赤目領域の外側ほど小さくなるように
処理することを特徴とする請求項8乃至12記載の画像
処理装置。
13. The image processing apparatus according to claim 8, wherein the control unit performs processing so that a correction amount of an edge portion of the red-eye area becomes smaller toward the outside of the red-eye area.
【請求項14】 前記制御手段は、前記赤目領域内部で
あってキャッチライト領域は、該キャッチライト領域の
周辺より明度の修正量を小さくすることを特徴とする請
求項8記載の画像処理装置。
14. An image processing apparatus according to claim 8, wherein said control means makes the amount of correction of brightness smaller in the catchlight area inside the red-eye area than in the periphery of the catchlight area.
【請求項15】 請求項1〜7項の何れか1項に記載の
画像処理方法の手順をコンピュータに実行させるための
プログラムを格納した記憶媒体。
15. A storage medium storing a program for causing a computer to execute the procedure of the image processing method according to claim 1. Description:
JP10300811A 1998-10-22 1998-10-22 Image processing unit, image processing method and storage medium Pending JP2000134486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10300811A JP2000134486A (en) 1998-10-22 1998-10-22 Image processing unit, image processing method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10300811A JP2000134486A (en) 1998-10-22 1998-10-22 Image processing unit, image processing method and storage medium

Publications (1)

Publication Number Publication Date
JP2000134486A true JP2000134486A (en) 2000-05-12

Family

ID=17889396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10300811A Pending JP2000134486A (en) 1998-10-22 1998-10-22 Image processing unit, image processing method and storage medium

Country Status (1)

Country Link
JP (1) JP2000134486A (en)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003026278A1 (en) * 2001-09-14 2003-03-27 Pixology Limited Image processing to remove red-eye features
GB2385736A (en) * 2002-02-22 2003-08-27 Pixology Software & Systems Detection of red eye features in digital images by determination of the profile of image pixel values along a row of values
WO2006011635A1 (en) * 2004-07-30 2006-02-02 Canon Kabushiki Kaisha Image processing method and apparatus, image sensing apparatus, and program
JP2006040230A (en) * 2004-07-30 2006-02-09 Canon Inc Image processing method and its device, imaging apparatus and program
JP2006040232A (en) * 2004-07-30 2006-02-09 Canon Inc Image processor and its method, imaging apparatus, program
JP2006059092A (en) * 2004-08-19 2006-03-02 Noritsu Koki Co Ltd Catchlight synthesis method
JP2006072743A (en) * 2004-09-02 2006-03-16 Noritsu Koki Co Ltd Catch light composition method and device
JP2006072742A (en) * 2004-09-02 2006-03-16 Noritsu Koki Co Ltd Catch light composition method and device
US7042505B1 (en) 1997-10-09 2006-05-09 Fotonation Ireland Ltd. Red-eye filter method and apparatus
JP2006236303A (en) * 2004-06-14 2006-09-07 Fuji Photo Film Co Ltd Image processing apparatus, its method, and image processing program
JP2006301981A (en) * 2005-04-21 2006-11-02 Noritsu Koki Co Ltd Pupil correction processing apparatus and method thereof
JP2007221836A (en) * 2007-06-01 2007-08-30 Seiko Epson Corp Apparatus, method and program of correcting red-eye
JP2007221835A (en) * 2007-06-01 2007-08-30 Seiko Epson Corp Apparatus, method and program of correcting red-eye
JP2007287166A (en) * 2007-06-01 2007-11-01 Seiko Epson Corp Red-eye correcting device, red-eye correcting method and red-eye correcting program
CN100366047C (en) * 2004-04-23 2008-01-30 诺日士钢机株式会社 Method for red eye correction, program, and device thereof
US7352394B1 (en) 1997-10-09 2008-04-01 Fotonation Vision Limited Image modification based on red-eye filter analysis
JP2009064459A (en) * 2008-10-24 2009-03-26 Konica Minolta Business Technologies Inc Program for correcting red eye in image, recording medium and pink eye correction method
CN100531320C (en) * 2003-12-24 2009-08-19 佳能株式会社 Image processing apparatus, method thereof, and image sensing apparatus
US7738015B2 (en) 1997-10-09 2010-06-15 Fotonation Vision Limited Red-eye filter method and apparatus
US7852384B2 (en) 1997-10-09 2010-12-14 Fotonation Vision Limited Detecting red eye filter and apparatus using meta-data
US7865036B2 (en) 2005-11-18 2011-01-04 Tessera Technologies Ireland Limited Method and apparatus of correcting hybrid flash artifacts in digital images
US7869628B2 (en) 2005-11-18 2011-01-11 Tessera Technologies Ireland Limited Two stage detection for photographic eye artifacts
US7953252B2 (en) 2005-11-18 2011-05-31 Tessera Technologies Ireland Limited Two stage detection for photographic eye artifacts
US7962629B2 (en) 2005-06-17 2011-06-14 Tessera Technologies Ireland Limited Method for establishing a paired connection between media devices
US7965875B2 (en) 2006-06-12 2011-06-21 Tessera Technologies Ireland Limited Advances in extending the AAM techniques from grayscale to color images
US8055067B2 (en) 2007-01-18 2011-11-08 DigitalOptics Corporation Europe Limited Color segmentation
US8126217B2 (en) 2005-11-18 2012-02-28 DigitalOptics Corporation Europe Limited Two stage detection for photographic eye artifacts
US8126208B2 (en) 2003-06-26 2012-02-28 DigitalOptics Corporation Europe Limited Digital image processing using face detection information
US8233674B2 (en) 2007-03-05 2012-07-31 DigitalOptics Corporation Europe Limited Red eye false positive filtering using face location and orientation
US8265388B2 (en) 2004-10-28 2012-09-11 DigitalOptics Corporation Europe Limited Analyzing partial face regions for red-eye detection in acquired digital images
US8520093B2 (en) 2003-08-05 2013-08-27 DigitalOptics Corporation Europe Limited Face tracker and partial face tracker for red-eye filter method and apparatus

Cited By (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7619665B1 (en) 1997-10-09 2009-11-17 Fotonation Ireland Limited Red eye filter for in-camera digital image processing within a face of an acquired subject
US7916190B1 (en) 1997-10-09 2011-03-29 Tessera Technologies Ireland Limited Red-eye filter method and apparatus
US7852384B2 (en) 1997-10-09 2010-12-14 Fotonation Vision Limited Detecting red eye filter and apparatus using meta-data
US7787022B2 (en) 1997-10-09 2010-08-31 Fotonation Vision Limited Red-eye filter method and apparatus
US8203621B2 (en) 1997-10-09 2012-06-19 DigitalOptics Corporation Europe Limited Red-eye filter method and apparatus
US7352394B1 (en) 1997-10-09 2008-04-01 Fotonation Vision Limited Image modification based on red-eye filter analysis
US7042505B1 (en) 1997-10-09 2006-05-09 Fotonation Ireland Ltd. Red-eye filter method and apparatus
US7738015B2 (en) 1997-10-09 2010-06-15 Fotonation Vision Limited Red-eye filter method and apparatus
WO2003026278A1 (en) * 2001-09-14 2003-03-27 Pixology Limited Image processing to remove red-eye features
GB2385736A (en) * 2002-02-22 2003-08-27 Pixology Software & Systems Detection of red eye features in digital images by determination of the profile of image pixel values along a row of values
GB2385736B (en) * 2002-02-22 2005-08-24 Pixology Ltd Detection and correction of red-eye features in digital images
US8131016B2 (en) 2003-06-26 2012-03-06 DigitalOptics Corporation Europe Limited Digital image processing using face detection information
US8126208B2 (en) 2003-06-26 2012-02-28 DigitalOptics Corporation Europe Limited Digital image processing using face detection information
US8224108B2 (en) 2003-06-26 2012-07-17 DigitalOptics Corporation Europe Limited Digital image processing using face detection information
US8520093B2 (en) 2003-08-05 2013-08-27 DigitalOptics Corporation Europe Limited Face tracker and partial face tracker for red-eye filter method and apparatus
CN100531320C (en) * 2003-12-24 2009-08-19 佳能株式会社 Image processing apparatus, method thereof, and image sensing apparatus
CN100366047C (en) * 2004-04-23 2008-01-30 诺日士钢机株式会社 Method for red eye correction, program, and device thereof
JP2006236303A (en) * 2004-06-14 2006-09-07 Fuji Photo Film Co Ltd Image processing apparatus, its method, and image processing program
JP2006040232A (en) * 2004-07-30 2006-02-09 Canon Inc Image processor and its method, imaging apparatus, program
US7894666B2 (en) 2004-07-30 2011-02-22 Canon Kabushiki Kaisha Image processing method and apparatus, image sensing apparatus, and program
EP1774466A1 (en) * 2004-07-30 2007-04-18 Canon Kabushiki Kaisha Image processing method and apparatus, image sensing apparatus, and program
EP1774466A4 (en) * 2004-07-30 2009-10-21 Canon Kk Image processing method and apparatus, image sensing apparatus, and program
WO2006011635A1 (en) * 2004-07-30 2006-02-02 Canon Kabushiki Kaisha Image processing method and apparatus, image sensing apparatus, and program
JP2006040230A (en) * 2004-07-30 2006-02-09 Canon Inc Image processing method and its device, imaging apparatus and program
JP4537143B2 (en) * 2004-07-30 2010-09-01 キヤノン株式会社 Image processing apparatus and method, imaging apparatus, and program
JP4537142B2 (en) * 2004-07-30 2010-09-01 キヤノン株式会社 Image processing method and apparatus, imaging apparatus, and program
JP2006059092A (en) * 2004-08-19 2006-03-02 Noritsu Koki Co Ltd Catchlight synthesis method
JP4507082B2 (en) * 2004-08-19 2010-07-21 ノーリツ鋼機株式会社 Catch light synthesis method
JP2006072743A (en) * 2004-09-02 2006-03-16 Noritsu Koki Co Ltd Catch light composition method and device
JP2006072742A (en) * 2004-09-02 2006-03-16 Noritsu Koki Co Ltd Catch light composition method and device
US8265388B2 (en) 2004-10-28 2012-09-11 DigitalOptics Corporation Europe Limited Analyzing partial face regions for red-eye detection in acquired digital images
JP4650078B2 (en) * 2005-04-21 2011-03-16 ノーリツ鋼機株式会社 Pupil correction processing apparatus and method
JP2006301981A (en) * 2005-04-21 2006-11-02 Noritsu Koki Co Ltd Pupil correction processing apparatus and method thereof
US7962629B2 (en) 2005-06-17 2011-06-14 Tessera Technologies Ireland Limited Method for establishing a paired connection between media devices
US8126218B2 (en) 2005-11-18 2012-02-28 DigitalOptics Corporation Europe Limited Two stage detection for photographic eye artifacts
US8180115B2 (en) 2005-11-18 2012-05-15 DigitalOptics Corporation Europe Limited Two stage detection for photographic eye artifacts
US7869628B2 (en) 2005-11-18 2011-01-11 Tessera Technologies Ireland Limited Two stage detection for photographic eye artifacts
US7953252B2 (en) 2005-11-18 2011-05-31 Tessera Technologies Ireland Limited Two stage detection for photographic eye artifacts
US7865036B2 (en) 2005-11-18 2011-01-04 Tessera Technologies Ireland Limited Method and apparatus of correcting hybrid flash artifacts in digital images
US8175342B2 (en) 2005-11-18 2012-05-08 DigitalOptics Corporation Europe Limited Two stage detection for photographic eye artifacts
US7970184B2 (en) 2005-11-18 2011-06-28 Tessera Technologies Ireland Limited Two stage detection for photographic eye artifacts
US7970183B2 (en) 2005-11-18 2011-06-28 Tessera Technologies Ireland Limited Two stage detection for photographic eye artifacts
US8160308B2 (en) 2005-11-18 2012-04-17 DigitalOptics Corporation Europe Limited Two stage detection for photographic eye artifacts
US8131021B2 (en) 2005-11-18 2012-03-06 DigitalOptics Corporation Europe Limited Two stage detection for photographic eye artifacts
US8126217B2 (en) 2005-11-18 2012-02-28 DigitalOptics Corporation Europe Limited Two stage detection for photographic eye artifacts
US7965875B2 (en) 2006-06-12 2011-06-21 Tessera Technologies Ireland Limited Advances in extending the AAM techniques from grayscale to color images
US8055067B2 (en) 2007-01-18 2011-11-08 DigitalOptics Corporation Europe Limited Color segmentation
US8233674B2 (en) 2007-03-05 2012-07-31 DigitalOptics Corporation Europe Limited Red eye false positive filtering using face location and orientation
JP4492642B2 (en) * 2007-06-01 2010-06-30 セイコーエプソン株式会社 Red-eye correction device, red-eye correction method, and red-eye correction program
JP4492644B2 (en) * 2007-06-01 2010-06-30 セイコーエプソン株式会社 Red-eye correction device, red-eye correction method, and red-eye correction program
JP4492643B2 (en) * 2007-06-01 2010-06-30 セイコーエプソン株式会社 Red-eye correction device, red-eye correction method, and red-eye correction program
JP2007287166A (en) * 2007-06-01 2007-11-01 Seiko Epson Corp Red-eye correcting device, red-eye correcting method and red-eye correcting program
JP2007221835A (en) * 2007-06-01 2007-08-30 Seiko Epson Corp Apparatus, method and program of correcting red-eye
JP2007221836A (en) * 2007-06-01 2007-08-30 Seiko Epson Corp Apparatus, method and program of correcting red-eye
JP4640490B2 (en) * 2008-10-24 2011-03-02 コニカミノルタビジネステクノロジーズ株式会社 Program for correcting red eye in image, recording medium, and red eye correction method
JP2009064459A (en) * 2008-10-24 2009-03-26 Konica Minolta Business Technologies Inc Program for correcting red eye in image, recording medium and pink eye correction method

Similar Documents

Publication Publication Date Title
JP2000134486A (en) Image processing unit, image processing method and storage medium
US20200105221A1 (en) Color Rendering for Images in Extended Dynamic Range Mode
US9639965B2 (en) Adjusting color attribute of an image in a non-uniform way
US7447351B2 (en) Color level graphical user interface
CN105574918B (en) A kind of material adding method, device and the terminal of 3D models
US7545976B2 (en) Method and apparatus for associating image enhancement with color
CN111127591B (en) Image hair dyeing processing method, device, terminal and storage medium
JP5527931B2 (en) Apparatus and method for improving visibility of video
US6262778B1 (en) Image processing system
EP1139284B1 (en) Method and apparatus for performing local color correction
JP2005527880A (en) User definable image reference points
JP2002207474A (en) Image displaying state modification method
WO2023124722A1 (en) Image processing method and apparatus, electronic device, and computer-readable storage medium
WO1999017254A1 (en) Digital redeye removal
JP2006081151A (en) Graphical user interface for keyer
JP5253047B2 (en) Color processing apparatus and method
JP2008282204A (en) Image processor and image processing method
JPH10302061A (en) Digital processing method combining color cast removal and contrast emphasis of digital color image
US9092889B2 (en) Image processing apparatus, image processing method, and program storage medium
JPH11146219A (en) Image processing device and method and medium recording image processing program
JP2008011286A (en) Image processing program and image processor
CN111462158B (en) Image processing method and device, intelligent equipment and storage medium
CN110780961B (en) Method for adjusting character color of application interface, storage medium and terminal equipment
JP2009010636A (en) Adaption histogram equalization method, and adaption histogram equalization apparatus
US11217205B2 (en) Method and apparatus for rendering contents for vision accessibility

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050711

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050719

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050920

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060413