JP2001197296A - Image processing method and image processor - Google Patents

Image processing method and image processor

Info

Publication number
JP2001197296A
JP2001197296A JP2000329179A JP2000329179A JP2001197296A JP 2001197296 A JP2001197296 A JP 2001197296A JP 2000329179 A JP2000329179 A JP 2000329179A JP 2000329179 A JP2000329179 A JP 2000329179A JP 2001197296 A JP2001197296 A JP 2001197296A
Authority
JP
Japan
Prior art keywords
image
eye
eyes
closed
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.)
Granted
Application number
JP2000329179A
Other languages
Japanese (ja)
Other versions
JP4043708B2 (en
Inventor
Yasuharu Iwaki
康晴 岩城
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2000329179A priority Critical patent/JP4043708B2/en
Publication of JP2001197296A publication Critical patent/JP2001197296A/en
Application granted granted Critical
Publication of JP4043708B2 publication Critical patent/JP4043708B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing method and an image processor for opening the closed eyes of a portrait image, correcting the failure and outputting an image having the eyes opened. SOLUTION: When the prescribed image processing is applied to the inputted image data and these data are outputted, the image processing includes correction to open the closed eyes in the image.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、目を閉じた人物の
顔画像を目を開いた顔画像に修正して出力する画像処理
方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and apparatus for correcting a face image of a person with closed eyes into a face image with opened eyes and outputting the corrected face image.

【0002】[0002]

【従来の技術】写真撮影において、撮影の瞬間に瞬きを
してしまったり、ストロボ撮影で目をつむってしまった
りして、目を閉じた写真ができてしまう場合がある。特
に、人物写真の場合、目は重要な要素であり、目を閉じ
た写真は写真品質上好ましくない。撮り直しが可能な場
合はよいが、撮り直しが困難な場合には、そのような撮
影の失敗を修正することが望まれる。このようなとき、
従来は、熟練者がペンを用いてレタッチ修正を行ってい
た。
2. Description of the Related Art In photography, sometimes a person blinks at the moment of photography or closes his eyes by flash photography, resulting in a photograph with closed eyes. In particular, in the case of a portrait photograph, eyes are an important factor, and a photograph with closed eyes is not preferable in terms of photographic quality. It is good if re-taking is possible, but if re-taking is difficult, it is desirable to correct such a shooting failure. In such a case,
Conventionally, a skilled person has performed retouch correction using a pen.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、前記従
来のペンを用いたレタッチによる修正方法は、熟練した
作業者の手作業に頼った方法であるため、手間と時間が
かかり、写真の価格が高くなってしまうという問題があ
った。本発明は、前記従来の問題に鑑みてなされたもの
であり、目を閉じた人物画像に対して、目を開かせる処
理を行い、撮影の失敗を修正し、目を開いた画像を出力
することのできる画像処理方法および装置を提供するこ
とを課題とする。
However, the conventional retouching method using retouching using a pen relies on the manual work of a skilled worker, and therefore takes time and effort, and the cost of photographs is high. There was a problem that would be. The present invention has been made in view of the above-described conventional problems, and performs processing to open eyes on a human image with closed eyes, corrects a failure in photographing, and outputs an image with opened eyes. An object of the present invention is to provide an image processing method and apparatus capable of performing the above.

【0004】[0004]

【課題を解決するための手段】前記課題を解決するため
に、本発明の第1の態様は、入力された画像データに対
し所定の画像処理を施し、出力する画像処理方法であっ
て、前記画像処理が、目を瞑っている状態の人物画像に
対し、該瞑っている目を開いている状態の目の画像に修
正する目修正処理を含むことを特徴とする画像処理方法
を提供するものである。
According to a first aspect of the present invention, there is provided an image processing method for performing predetermined image processing on input image data and outputting the image data. An image processing method, wherein the image processing includes an eye correction process of correcting a person image in a state in which the eyes are closed with an image of the eyes in a state in which the eyes are closed. It is.

【0005】また、前記目修正処理は、目を瞑っている
画像に対し、同一人物または同一人物以外の開いている
目の画像を合成する合成処理であるのが好ましく、ある
いは開いている目のサンプルが予め複数準備されてお
り、その中から選択した目を前記瞑っている目に合成す
る合成処理であることが好ましい。
[0005] Preferably, the eye correcting process is a synthesizing process for synthesizing an image of an eye with closed eyes with an image of an open eye of the same person or a person other than the same person. Preferably, a plurality of samples are prepared in advance, and the synthesis process is to synthesize the selected eye from the closed eye.

【0006】また、前記合成処理は、該合成する画像に
おける目の大きさ、角度、瞼、瞳および目周辺の色、濃
度を被合成画像に合わせるよう調整する処理を含むこと
が好ましい。
It is preferable that the synthesizing process includes a process of adjusting the size, angle, eyelid, pupil and color around the eye and density of the image to be synthesized so as to match the image to be synthesized.

【0007】また、前記被合成画像の目周辺の色濃度、
両目の位置、両目の距離、目の大きさ、顔の大きさとい
う画像の特徴のうち1つ以上の特徴に基づいて、前記調
整を自動的に行うことが好ましい。
The color density around the eyes of the image to be synthesized is
It is preferable that the adjustment is automatically performed based on at least one of image features such as the position of both eyes, the distance between both eyes, the size of eyes, and the size of a face.

【0008】また、前記合成する画像の目の大きさ、角
度、色、濃度、アスペクト比を変更するメニューに基づ
いて、前記調整をオペレータが手動で行うことが好まし
い。なお、ここでアスペクト比とは、目の部分の縦横の
比をいう。
Preferably, the adjustment is manually performed by an operator based on a menu for changing the eye size, angle, color, density, and aspect ratio of the image to be synthesized. Here, the aspect ratio refers to the ratio of the length and width of the eye portion.

【0009】また、目を瞑っている状態の画像と目を開
いている状態の画像とを対比し、目の画像の形状の特徴
に基づいて、瞼上の点の動きを推定し、前記目修正処理
を行うことが好ましい。また、目を瞑っている状態の画
像を入力信号、目を開いている状態の画像を教師信号と
して、瞑っている目から開いた目への画像変換を学習
し、学習した変換に基づいて瞑っている目を開かせる前
記目修正処理を行うのが好ましい。
Further, the image in which the eyes are closed and the image in which the eyes are open are compared, and the movement of a point on the eyelid is estimated based on the characteristic of the shape of the eye image. It is preferable to perform a correction process. Also, using the image with the eyes closed as an input signal and the image with the eyes open as a teacher signal, the image conversion from the closed eyes to the open eyes is learned, and the image conversion based on the learned conversion is performed. It is preferable to perform the eye correction processing for opening the closed eyes.

【0010】また、前記目修正処理において、目を開く
度合いを調整可能としたことが好ましい。
It is preferable that the degree of opening the eyes can be adjusted in the eye correction processing.

【0011】また、睫毛の長さ、睫毛の向き、瞼の一
重、二重を指定して、目を瞑っている状態の画像を所定
の目の開いた状態の画像に修正可能としたことが好まし
い。
[0011] Further, by designating the length of the eyelashes, the direction of the eyelashes, the single eyelid, and the double eyelid, it is possible to correct an image in which the eyes are closed to an image in which predetermined eyes are open. preferable.

【0012】また、前記目修正処理は、さらに、レタッ
チ機能を有することが好ましい。
Further, it is preferable that the eye correction processing further has a retouch function.

【0013】また、前記目修正処理が、片目のみ瞑って
いる場合の、瞑っている目の画像を修正する際、開いて
いる目および周辺の特徴を利用するものであることが好
ましい。
[0013] It is preferable that the eye correction process uses features of an open eye and surroundings when correcting an image of a closed eye when only one eye is closed.

【0014】また、前記周辺の特徴として、瞳の色及び
大きさ、睫毛の長さ、瞼および目周辺の肌の色、瞼の一
重、二重、目の位置、目の大きさおよび形のうち少なく
とも1つ以上の情報を利用することが好ましい。また、
瞳、瞳孔の位置、形を調整可能として両目の視線を調整
できるのが好ましい。
The peripheral features include the color and size of the pupil, the length of the eyelashes, the skin color around the eyelids and the eyes, the single eyelid, the double eyelid, the position of the eyes, the size and shape of the eyes. It is preferable to use at least one piece of information. Also,
It is preferable that the position of the pupil, the position of the pupil, and the shape of the pupil can be adjusted to adjust the line of sight of both eyes.

【0015】また、同様に前記課題を解決するために、
本発明の第2の態様は、画像入力手段より画像データを
入力し、所定の画像処理を施し、画像出力手段に出力す
る画像処理装置であって、目を瞑っている状態の人物画
像に対し、該瞑っている目を開いている状態の目の画像
に修正する目修正処理手段を備えたことを特徴とする画
像処理装置を提供するものである。また、本発明の第2
の態様は、上記画像処理装置であって、さらに、画像表
示装置をを有し、 前記目修正処理手段が瞑っている目
を開かせる前記目修正処理実行中には、前記画像表示装
置に目の周辺の拡大画像を表示できるように制御するこ
とを特徴とする画像処理装置を提供するものである。
[0015] Similarly, in order to solve the above-mentioned problems,
A second aspect of the present invention is an image processing apparatus that receives image data from an image input unit, performs predetermined image processing, and outputs the image data to an image output unit. The present invention also provides an image processing apparatus comprising eye correction processing means for correcting the closed eyes to an image of an open eye. Further, the second aspect of the present invention
In the above-mentioned image processing apparatus, the image processing apparatus may further include an image display device, wherein the eye correction processing unit causes the image display device to open the closed eyes while the eye correction process is being performed. The present invention provides an image processing apparatus characterized in that control is performed so that an enlarged image around the image can be displayed.

【0016】[0016]

【発明の実施の形態】以下、本発明に係る画像処理方法
および装置について、添付の図面に示される好適実施形
態を基に、詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image processing method and apparatus according to the present invention will be described in detail based on preferred embodiments shown in the accompanying drawings.

【0017】図1は、本発明の画像処理方法を実施する
画像処理装置を適用するデジタルフォトプリンタの一実
施形態を示すブロック図である。図1に示すデジタルフ
ォトプリンタ(以下、フォトプリンタという)10は、
フィルムFに撮影された画像を光電的に読み取るスキャ
ナ(画像読取装置)12と、このスキャナ12で読み取
られた画像データ(画像情報)に対する画像処理やフォ
トプリンタ10全体の操作および制御等を行う画像処理
装置14と、この画像処理装置14から出力された画像
データに応じて変調した光ビームで感光材料(印画紙)
を画像露光し、現像処理して(仕上がり)画像をプリン
トとして出力する画像記録装置(プリンタ)16と、を
有する。画像処理装置14には、様々な条件の入力、設
定、処理の選択や指示、色/濃度補正などの指示等を入
力するためのキーボード18aおよびマウス18bを有
する操作系18と、スキャナ12で読み取られた画像、
各種の操作指示、様々な条件の設定/登録画面等を表示
し、オペレータがこれを見ながら画像の検定を行うモニ
タ20が接続される。また、画像処理装置14は、メデ
ィアからの画像データ記録再生手段やネットワーク等の
通信手段を介しての画像データの配信手段などの画像デ
ータ入出力手段40とも接続され、これらの画像データ
入出力手段40を通じて画像データの入力を行うように
してもよいし、また、これらの画像データ入出力手段4
0に画像データを出力するようにしてもよい。
FIG. 1 is a block diagram showing an embodiment of a digital photo printer to which an image processing apparatus for implementing the image processing method of the present invention is applied. A digital photo printer (hereinafter referred to as a photo printer) 10 shown in FIG.
A scanner (image reading device) 12 that photoelectrically reads an image captured on the film F, and an image that performs image processing on image data (image information) read by the scanner 12 and operation and control of the entire photo printer 10 Processing device 14 and a photosensitive material (photographic paper) using a light beam modulated according to image data output from the image processing device 14
And an image recording device (printer) 16 for exposing the image to an image, developing the image, and outputting a (finished) image as a print. The image processing apparatus 14 includes an operation system 18 having a keyboard 18a and a mouse 18b for inputting various conditions such as input, setting, selection and instruction of processing, and instructions for color / density correction, and the like. Images,
A monitor 20 for displaying various operation instructions, setting / registration screens for various conditions, and the like, and performing image verification while the operator views them, is connected. The image processing apparatus 14 is also connected to image data input / output means 40 such as image data recording / reproducing means from a medium and image data distribution means via communication means such as a network. The image data may be input through the image data input / output means 4.
0 may be output.

【0018】スキャナ12は、フィルムF等に撮影され
た画像を1コマずつ光電的に読み取る装置で、光源22
と、可変絞り24と、フィルムFに入射する読取光をフ
ィルムFの面方向で均一にする拡散ボックス26と、フ
ィルムFのキャリア28と、結像レンズユニット30
と、R(赤)、G(緑)およびB(青)の各色画像濃度
の読取に対応する3ラインCCDセンサを有するイメー
ジセンサ32と、アンプ(増幅器)33と、A/D(ア
ナログ/デジタル)変換器34とを有する。
The scanner 12 is a device that photoelectrically reads an image photographed on a film F or the like one frame at a time.
A variable aperture 24, a diffusion box 26 for making the reading light incident on the film F uniform in the surface direction of the film F, a carrier 28 of the film F, and an imaging lens unit 30
, An image sensor 32 having a three-line CCD sensor corresponding to reading of image densities of R (red), G (green), and B (blue), an amplifier (amplifier) 33, and an A / D (analog / digital). ) A converter 34.

【0019】フォトプリンタ10においては、スキャナ
12の本体に装着自在な専用のキャリア28が、新写真
システム(Advanced Photo System)や135サイズ
のネガ(あるいはリバーサル)フィルム等のフィルムF
の種類やサイズ、ストリップスやスライド等のフィルム
の形態等に応じて用意されており、キャリア28の交換
によって、各種のフィルムや処理に対応することができ
る。フィルムに撮影され、プリント作成に供される画像
(コマ)は、このキャリア28によって所定の読取位置
に搬送される。また、周知のように、新写真システムの
フィルムには、磁気記録媒体が形成され、カートリッジ
IDやフィルム種等が記録されており、また、撮影時や
現像時等に、撮影や現像日時、カメラや現像機の機種等
の各種のデータが記録可能である。新写真システムのフ
ィルム(カートリッジ)に対応するキャリア28には、
この磁気情報の読取手段が配置されており、フィルムを
読取位置に搬送する際に磁気情報を読み取り、これらの
各種の情報が画像処理装置14に送られる。
In the photo printer 10, a dedicated carrier 28 that can be freely mounted on the main body of the scanner 12 includes a film F such as a new photographic system (advanced photo system) or a 135 size negative (or reversal) film.
Are prepared in accordance with the type and size of the film, the form of the film such as strips and slides, and the like, and can be adapted to various films and processes by replacing the carrier 28. An image (frame) photographed on a film and provided for printing is conveyed by the carrier 28 to a predetermined reading position. Also, as is well known, a magnetic recording medium is formed on the film of the new photographic system, and a cartridge ID, a film type, etc. are recorded. And various data such as the model of the developing machine can be recorded. The carrier 28 corresponding to the film (cartridge) of the new photo system includes:
The magnetic information reading means is arranged, reads the magnetic information when the film is transported to the reading position, and sends these various kinds of information to the image processing device 14.

【0020】このようなスキャナ12において、フィル
ムFに撮影された画像を読み取る際には、光源22から
射出され、可変絞り24および拡散ボックス26によっ
て光量調整された均一な読取光が、キャリア28によっ
て所定の読取位置に位置されたフィルムFに入射して、
透過することにより、フィルムFに撮影された画像を担
持する投影光を得る。なお、カラー画像信号は、このよ
うにフィルムを透過した光を読み取ることによって入力
されるものには限定されず、反射原稿でもよいし、ある
いはデジタルカメラによって撮影された画像を用いても
よい。さらに、メディアやネットワーク等を介して画像
データ入出力手段40から入力されるようにしてもよ
い。
When reading an image photographed on the film F in such a scanner 12, a uniform reading light emitted from the light source 22 and adjusted in light amount by the variable aperture 24 and the diffusion box 26 is transmitted by the carrier 28. Incident on the film F located at the predetermined reading position,
By transmitting the light, projection light carrying an image photographed on the film F is obtained. The color image signal is not limited to a signal input by reading the light transmitted through the film as described above, and may be a reflection original or an image captured by a digital camera. Further, the image data may be input from the image data input / output unit 40 via a medium or a network.

【0021】図示例のキャリア28は、24枚取りの1
35サイズのフィルムや新写真システムのカートリッジ
等の、長尺なフィルムF(ストリップス)に対応するも
のであり、所定の読取位置にフィルムFを位置しつつ、
イメージセンサ32の、例えば、RGBの3ラインCC
Dセンサの延在方向(主走査方向)と直交する副走査方
向に、フィルムFの長手方向を一致させて搬送する。フ
ィルムFは、このキャリア28によって読取位置に位置
されて副走査方向に搬送されつつ、読取光を入射され
る。読取光は、主走査方向に延在するスリットにより規
制され、結果的にフィルムFが2次元的に走査され、フ
ィルムFに撮影された各コマの画像が読み取られる。
In the illustrated example, the carrier 28 is a 24
It corresponds to a long film F (strips) such as a 35-size film or a cartridge of a new photo system, and while positioning the film F at a predetermined reading position,
For example, three lines CC of RGB of the image sensor 32
The film F is conveyed in such a manner that the longitudinal direction of the film F coincides with the sub-scanning direction orthogonal to the extending direction (main scanning direction) of the D sensor. The film F is positioned at the reading position by the carrier 28, and is conveyed in the sub-scanning direction, and receives the reading light. The reading light is regulated by a slit extending in the main scanning direction. As a result, the film F is two-dimensionally scanned, and an image of each frame captured on the film F is read.

【0022】フィルムFの投影光は、結像レンズユニッ
ト30によってイメージセンサ32の受光面に結像され
る。イメージセンサ32は、それぞれ、R画像、G画像
およびB画像の読み取りを行うラインCCDセンサを有
する、いわゆる3ラインのカラーCCDセンサで、各ラ
インCCDセンサは、前述のように主走査方向に延在し
ている。フィルムFの投影光は、このイメージセンサ3
2によって、R、GおよびBの3原色に分解されて光電
的に読み取られる。イメージセンサ32から出力された
R、GおよびBの各出力信号は、アンプ33で増幅され
て、A/D変換器34に送られ、A/D変換器34にお
いて、それぞれ、例えば12bitのRGBデジタル画
像データに変換された後、画像処理装置14に出力され
る。
The projection light of the film F is imaged on the light receiving surface of the image sensor 32 by the imaging lens unit 30. The image sensor 32 is a so-called three-line color CCD sensor having a line CCD sensor for reading an R image, a G image, and a B image, and each line CCD sensor extends in the main scanning direction as described above. are doing. The projection light of the film F is transmitted to the image sensor 3
2, the light is separated into three primary colors of R, G, and B and read photoelectrically. Each output signal of R, G and B output from the image sensor 32 is amplified by an amplifier 33 and sent to an A / D converter 34, where the A / D converter 34 outputs, for example, a 12-bit RGB digital signal. After being converted into image data, it is output to the image processing device 14.

【0023】なお、スキャナ12においては、フィルム
Fに撮影された画像を読み取るに際し、低解像度で読み
取るプレスキャン(第1回目の画像読取)と、出力画像
の画像データを得るためのファインスキャン(第2回目
の画像読取)との2回の画像読取を行う。ここで、プレ
スキャンは、スキャナ12が対象とするフィルムFの全
ての画像を、イメージセンサ32が飽和することなく読
み取れるように、予め設定されたプレスキャン読取条件
で行われる。一方、ファインスキャンは、プレスキャン
データから、その画像(コマ)の最低濃度よりも若干低
い濃度でイメージセンサ32が飽和するように、各コマ
毎に設定されたファインスキャンの読取条件で行われ
る。なお、プレスキャンおよびファインスキャン出力画
像信号は、解像度および出力画像信号レベルが異なる以
外は、基本的に同様な画像データである。
In the scanner 12, when reading an image photographed on the film F, a pre-scan (first image reading) for reading at low resolution and a fine scan (first image reading) for obtaining image data of an output image are performed. (2nd image reading). Here, the pre-scan is performed under preset pre-scan reading conditions so that the image sensor 32 can read all images of the film F to be scanned by the scanner 12 without saturation. On the other hand, the fine scan is performed under the fine scan reading conditions set for each frame from the pre-scan data so that the image sensor 32 is saturated at a density slightly lower than the minimum density of the image (frame). The prescan and fine scan output image signals are basically the same image data except that the resolution and the output image signal level are different.

【0024】なお、フォトプリンタ10に用いられるス
キャナ12は、このようなスリット走査読取を行うもの
に限定されず、1コマのフィルム画像の全面を一度に読
み取る面状読取を行うものであってもよい。この場合に
は、例えばエリアCCDセンサなどのエリアセンサを用
い、光源22とフィルムFとの間にR、GおよびBの各
色フィルタの挿入手段を設け、光源22からの射出光の
光路に挿入して、色フィルタを透過した読取光をフィル
ムF全面に照射して、透過光をエリアCCDセンサに結
像させてフィルム全画像を読み取ることを、R、Gおよ
びBの各色フィルタを切り換えて順次行うことで、フィ
ルムFに撮影された画像を3原色に分解して読み取る。
Note that the scanner 12 used in the photo printer 10 is not limited to one that performs such a slit scan reading, and may be one that performs a planar reading that reads the entire surface of one frame of film image at a time. Good. In this case, for example, an area sensor such as an area CCD sensor is used, and means for inserting R, G, and B color filters are provided between the light source 22 and the film F, and inserted into the optical path of the light emitted from the light source 22. The reading light transmitted through the color filters is irradiated onto the entire surface of the film F, and the transmitted light is imaged on the area CCD sensor to read the entire image of the film by sequentially switching the R, G, and B color filters. Accordingly, the image photographed on the film F is separated into three primary colors and read.

【0025】前述したように、スキャナ12から出力さ
れるデジタル画像データ信号は、本発明の画像処理方法
を実施する画像処理装置14に出力される。図2に、こ
の画像処理装置(以下、処理装置という。)14のブロ
ック図を示す。処理装置14は、LOG変換部42、プ
レスキャンデータ処理部44、ファインスキャンデータ
処理部46およびセットアップ部48を有する。なお、
図2は主に画像処理関連の部分を示すものであり、処理
装置14には、これ以外にも、処理装置14を含むフォ
トプリンタ10全体の制御や管理を行うCPU、フォト
プリンタ10の作動等に必要な情報を記録するメモリ等
が配設され、また、操作系18やモニタ20は、このC
PU等(CPUバス)を介して各部分に接続される。
As described above, the digital image data signal output from the scanner 12 is output to the image processing device 14 that performs the image processing method of the present invention. FIG. 2 is a block diagram of the image processing apparatus (hereinafter, referred to as a processing apparatus) 14. The processing device 14 includes a LOG conversion unit 42, a pre-scan data processing unit 44, a fine scan data processing unit 46, and a setup unit 48. In addition,
FIG. 2 mainly shows parts related to image processing. The processing device 14 also includes a CPU that controls and manages the entire photo printer 10 including the processing device 14, an operation of the photo printer 10, and the like. A memory or the like for recording necessary information is provided, and the operation system 18 and the monitor 20
Each part is connected via a PU or the like (CPU bus).

【0026】スキャナ12から処理装置14に入力され
たR、GおよびBの画像信号は、必要に応じてDCオフ
セット補正、暗時補正、欠陥画素補正、シェーディング
補正等の読取画像データの補正を行った後、LOG変換
部42に入力される。LOG変換部42は、例えば、ル
ックアップテーブル(LUT)を用いて、対数変換処理
してデジタル画像データを階調変換してデジタル画像濃
度データに変換するものである。
The R, G, and B image signals input from the scanner 12 to the processing unit 14 perform correction of read image data such as DC offset correction, dark time correction, defective pixel correction, and shading correction as necessary. After that, it is input to the LOG converter 42. The LOG conversion unit 42 performs a logarithmic conversion process using, for example, a look-up table (LUT) to convert the digital image data into gradations and convert the image data into digital image density data.

【0027】LOG変換部42でデジタル画像濃度デー
タに変換された、プレスキャン画像データおよびファイ
ンスキャン画像データは、それぞれのメモリに記憶(格
納)される。プレスキャン画像データは、プレスキャン
データ処理部44に読みだされ、ファインスキャン画像
データは、ファインスキャンデータ処理部46に読みだ
される。なお、処理装置14には、メディア、ネットワ
ーク等を介して画像データ入出力手段40から画像デー
タを入力することもできる。
The pre-scan image data and the fine scan image data converted into digital image density data by the LOG conversion section 42 are stored (stored) in respective memories. The pre-scan image data is read by the pre-scan data processing unit 44, and the fine scan image data is read by the fine scan data processing unit 46. Note that image data can also be input to the processing device 14 from the image data input / output unit 40 via a medium, a network, or the like.

【0028】プレスキャンデータ処理部44は、プレス
キャン画像データに対し、モニタ20に表示するのに必
要な種々の画像処理を施すものであり、色および濃度の
階調を変換する階調変換部50、目修正処理部52およ
び色再現変換部54とを有する。階調変換部50は、後
述するセットアップ部48が設定した画像処理条件に従
って、スキャナ12によって読み取られた画像データに
対し、所望の画質で、後述するモニタ20のCRT表示
画面にカラー画像が再生可能なように、ルックアップテ
ーブル(以下、LUTで代表させる)やマトリックス
(以下、MTXで代表させる)演算により、色変換、濃
度変換、階調補正等の所定の画像処理を施すものであ
る。目修正処理部52は、モニタ表示用の画像に対し、
閉じた目を開かせる目修正処理を行うものである。色再
現変換部54は、画像処理されたモニタ表示用の画像デ
ータを、モニタ20の解像度に合わせるために必要に応
じて間引いて、3D(3次元)LUT等を用いて、モニ
タ20による表示に対応する画像データに変換して、モ
ニタ20に表示させるためのものである。なお、階調変
換部50における処理条件は、後述するセットアップ部
48で設定される。
The pre-scan data processing section 44 performs various image processing required for displaying on the monitor 20 on the pre-scan image data. The pre-scan data processing section 44 converts the pre-scan image data into gradations of color and density. 50, an eye correction processing unit 52, and a color reproduction conversion unit 54. The gradation conversion unit 50 can reproduce a color image on the CRT display screen of the monitor 20 described later with desired image quality for the image data read by the scanner 12 according to the image processing conditions set by the setup unit 48 described later. In this way, predetermined image processing such as color conversion, density conversion, and gradation correction is performed by a lookup table (hereinafter, represented by LUT) or matrix (hereinafter, represented by MTX) calculation. The eye correction processing unit 52 performs processing on the monitor display image.
The eye correction processing for opening the closed eyes is performed. The color reproduction conversion unit 54 thins out the image data for monitor display that has been subjected to the image processing as necessary in order to match the resolution of the monitor 20, and uses the 3D (three-dimensional) LUT or the like to display the image data on the monitor 20. The data is converted into corresponding image data and displayed on the monitor 20. The processing conditions in the gradation conversion unit 50 are set by a setup unit 48 described later.

【0029】一方、ファインスキャンデータ処理部46
は、ファインスキャン画像データに対し、画像記録装置
16からカラープリントとして出力するのに必要な種々
の画像処理および本発明の閉じた目を開かせる処理およ
びその他の画像処理を実行する部位であり、拡縮処理部
56、階調変換部58、画像記憶部60、目画像変換部
62、シャープネス処理部64および色再現変換部66
を有している。拡縮処理部56は、画像出力手段に応じ
て入力画像に対して拡縮処理を行うものであり、階調変
換部58は、画像データの色および濃度の階調を変換す
るものである。画像記憶部60は、目画像変換処理で用
いるために、目を開いた画像を記憶しておくためのもの
である。目画像変換部62は、プレスキャンデータ処理
部44で行った目修正処理のデータに基づいて出力用画
像の目を閉じた状態の画像を目を開いた状態の画像に変
換するものである。また、シャープネス処理部64は、
画像のエッジを強調し、画像を鮮鋭化するものであり、
色再現変換部66は、各種画像処理の施された画像デー
タを、例えば3DLUT等を用いて、プリンタ16によ
る画像記録に対応する画像データに変換するものであ
る。
On the other hand, the fine scan data processing section 46
Is a portion for performing various image processing necessary for outputting fine scan image data from the image recording device 16 as a color print, processing for opening closed eyes of the present invention, and other image processing; Enlargement / reduction processing unit 56, gradation conversion unit 58, image storage unit 60, eye image conversion unit 62, sharpness processing unit 64, and color reproduction conversion unit 66
have. The enlargement / reduction processing section 56 performs enlargement / reduction processing on an input image according to the image output means, and the gradation conversion section 58 converts the gradation of color and density of image data. The image storage unit 60 is for storing an image with the eyes opened for use in the eye image conversion process. The eye image conversion unit 62 converts the image of the output image with the eyes closed with the eyes open based on the data of the eye correction processing performed by the prescan data processing unit 44. Also, the sharpness processing unit 64
It emphasizes the edges of the image and sharpens the image.
The color reproduction conversion unit 66 converts image data subjected to various types of image processing into image data corresponding to image recording by the printer 16 using, for example, a 3DLUT.

【0030】なお、ファインスキャンデータ処理部46
における画像処理条件は、セットアップ部48で設定さ
れる。セットアップ部48は、ファインスキャンデータ
処理部46における各種の画像処理条件を設定する。こ
のセットアップ部48は、パラメータ算出部68、キー
補正部70を有する。セットアップ部48は、プレスキ
ャン画像データ等を用いて、ファインスキャンの読取条
件を設定してスキャナ12に供給し、また、プレスキャ
ンデータ処理部44およびファインスキャンデータ処理
部46の画像処理条件を作成(演算)する。
The fine scan data processing section 46
Are set by the setup unit 48. The setup unit 48 sets various image processing conditions in the fine scan data processing unit 46. The setup unit 48 includes a parameter calculation unit 68 and a key correction unit 70. The setup unit 48 sets the scanning conditions of the fine scan using the prescanned image data and the like and supplies the conditions to the scanner 12, and also creates the image processing conditions of the prescan data processing unit 44 and the fine scan data processing unit 46. (Calculation).

【0031】具体的には、パラメータ算出部68は、プ
レスキャン画像データから、濃度ヒストグラムの作成
や、平均濃度、LATD(大面積透過濃度)、ハイライ
ト(最低濃度)、シャドー(最高濃度)等の画像特徴量
の算出を行う。算出した画像特徴量から、その画像の最
低濃度よりも若干低濃度でイメージセンサ32が飽和す
るように、ファインスキャンの読取条件、例えば、光源
22の光量、可変絞り24の絞り値、イメージセンサ3
2の蓄積時間等を設定する。なお、ファインスキャンの
読取条件は、プレスキャンの読取条件に対して、イメー
ジセンサの出力レベルに対応する全ての要素を変更して
もよく、前記絞り値等のいずれか1つの要素のみを変更
するものでもよく、絞り値と蓄積時間等の複数の要素の
みを変更するものでもよい。さらに、パラメータ算出部
68は、濃度ヒストグラムや画像特徴量と、必要に応じ
て行われるオペレータによる指示等に応じて、前述の色
バランス調整や階調調整等の画像処理条件を設定する。
More specifically, the parameter calculation section 68 creates a density histogram from the prescanned image data, and calculates an average density, LATD (large area transmission density), highlight (lowest density), shadow (highest density), and the like. Is calculated. From the calculated image feature amount, the scanning conditions of the fine scan, such as the light amount of the light source 22, the aperture value of the variable aperture 24, the image sensor 3, and the like, are set so that the image sensor 32 is saturated at a density slightly lower than the minimum density of the image.
2 is set. The fine scan reading condition may change all the elements corresponding to the output level of the image sensor with respect to the prescan reading condition, or change only one element such as the aperture value. Alternatively, only a plurality of factors such as the aperture value and the accumulation time may be changed. Further, the parameter calculation unit 68 sets image processing conditions such as the above-described color balance adjustment and gradation adjustment according to the density histogram, the image feature amount, and an instruction from an operator performed as necessary.

【0032】キー補正部70は、キーボード18aや操
作系18に設けられたキー(図示せず)によって設定さ
れた濃度(明るさ)、色、コントラスト、シャープネ
ス、彩度等の調整量やマウス18bで入力された各種の
指示等に応じて、画像処理条件の調整量(例えば、LU
Tの補正量等)を算出し、パラメータを設定するもので
ある。設定された、画像処理条件を示すパラメータは、
プレスキャンデータ処理部44およびファインスキャン
データ処理部46に送られる。さらに、キー補正部70
で算出された調整量に応じて、各部分に設定した画像処
理条件を補正(調整)し、あるいは画像処理条件を再設
定する。
The key correction unit 70 includes an adjustment amount such as density (brightness), color, contrast, sharpness, and saturation set by a key (not shown) provided on the keyboard 18a and the operation system 18, and a mouse 18b. The amount of adjustment of the image processing condition (for example, LU)
A correction amount of T or the like is calculated and parameters are set. The set parameters indicating the image processing conditions are:
The data is sent to the pre-scan data processing unit 44 and the fine scan data processing unit 46. Further, the key correction unit 70
The image processing conditions set for each part are corrected (adjusted) or the image processing conditions are reset according to the adjustment amount calculated in step (1).

【0033】図3に、目修正処理部52の概略を示す。
図3に示すように、目修正処理部52は、開目処理部7
2、目特徴量特定部74およびマニュアル調整部76と
を含んでいる。開目処理部72は、目修正処理の中心を
なす部分である。開目処理は、いろいろな方法があり、
以下説明するように、開目処理部72は、それに応じた
構成となる。目特徴量特定部74は、開目処理の前提と
なる目の位置や大きさ等の情報を設定する部分である。
マニュアル調整部76は、以上の各調整をオペレータが
モニタ20の表示を見ながら手動で行う部分である。
FIG. 3 shows an outline of the eye correction processing section 52.
As shown in FIG. 3, the eye correction processing unit 52 includes an eye opening processing unit 7.
2. It includes an eye feature specifying unit 74 and a manual adjusting unit 76. The eye opening processing section 72 is a part that forms the center of the eye correction processing. There are various methods for opening eyes,
As described below, the eye opening processing unit 72 has a configuration corresponding thereto. The eye feature specifying unit 74 is a part for setting information such as the position and size of the eyes, which is the premise of the eye opening process.
The manual adjustment section 76 is a section where the operator manually performs each of the above adjustments while watching the display on the monitor 20.

【0034】第1の目修正方法は、閉じている目の画像
に開いている目の画像を合成するものである。このと
き、開目処理部72は、図4に示すように、合成すべき
開いている目画像を格納する開目画像記憶部78と、実
際に画像合成を行う目画像合成部80とを含んでいる。
The first eye correction method is to synthesize an image of an open eye with an image of a closed eye. At this time, as shown in FIG. 4, the eye opening processing unit 72 includes an eye opening image storage unit 78 for storing an open eye image to be synthesized, and an eye image synthesizing unit 80 for actually performing image synthesis. In.

【0035】以下、第1の目修正処理方法について説明
する。これは、例えば、現在処理している1本のフィル
ム中の他のコマに、同一人物の、目を開いている画像が
撮影されている場合に、その開いた目の画像を閉じた目
の画像に合成しようというものである。そのため、1本
分のフィルムをプレスキャンして、例えば、オペレータ
がモニタ20の表示を見ながら指定して、同一人物の、
目を開いている画像を開目画像記憶部78に格納してお
く。なお、閉じた目の画像に合成するために、開目画像
記憶部78に格納しておく目を開いている画像は、同一
フィルムの同一人物の画像に限定されず、他のフィルム
の画像であっても、同一人物以外の、すなわち他人の開
目画像であっても良い。オペレータがモニタ20の表示
を見て画像処理条件を決定するために画像の検定を行っ
ている際、目を閉じている画像があった場合に、ユーザ
の注文あるいはオペレータの判断により、開目処理が実
行される。
Hereinafter, the first eye correction processing method will be described. This is because, for example, when an image of the same person whose eyes are open is captured in another frame in one film currently being processed, the image of the open eyes is closed. It is intended to be combined with an image. Therefore, one film is pre-scanned, and for example, the operator designates the film while viewing the display on the monitor 20, and
The image with the eyes open is stored in the eye opening image storage unit 78. In addition, the image with the opened eyes stored in the open-eye image storage unit 78 to be combined with the image of the closed eyes is not limited to the image of the same person on the same film, and may be an image of another film. Even if there is, it may be an eye opening image of a person other than the same person, that is, another person. When the operator examines the image on the display of the monitor 20 to determine the image processing conditions, and there is an image in which the eyes are closed, the eye opening processing is performed according to the order of the user or the judgment of the operator. Is executed.

【0036】開目処理に入ると、まず目特徴量特定部7
4において、目を瞑っている画像の瞼の大きさ、左右の
目と目の距離、顔の大きさ等から目の大きさが推定され
る。また、目特徴量特定部74は、左右の目と目の位置
関係、顔の角度から、目の部分の角度を推定する。目特
徴量特定部74は、これらの情報により、開目画像記憶
部78から、この条件に近い、目を開いた画像を合成す
べき画像として選び、開いた目の画像の大きさをこれに
合わせる。また、合成すべき開いた目の画像の角度を、
被合成画像の目の角度に合わせるようにする。さらに、
目特徴量特定部74は、被合成画像である目を閉じてい
る画像の瞼の周辺の色、濃度から、合成すべき目を開い
ている方の画像の色および濃度をこれに合わせる。
When the eye opening process is started, first, the eye characteristic amount specifying unit 7
In 4, the size of the eyes is estimated from the size of the eyelids, the distance between the left and right eyes, the size of the face, and the like of the image in which the eyes are closed. Further, the eye feature specifying unit 74 estimates the angle of the eye from the positional relationship between the left and right eyes and the eye and the angle of the face. Based on the information, the eye feature specifying unit 74 selects, from the eye opening image storage unit 78, an image with open eyes that is close to this condition as an image to be synthesized, and sets the size of the image of the open eye to this. Match. Also, the angle of the open eye image to be synthesized
The angle should be adjusted to the eye angle of the combined image. further,
The eye feature quantity specifying unit 74 matches the color and density of the image with the eyes open to be combined based on the color and density around the eyelids of the image with eyes closed, which is the image to be combined.

【0037】次に、目画像合成部80において、目を閉
じている画像に、上で選定され、合成が適切に行われる
ように処理された、目を開いた画像が合成される。これ
は、実際には、図5に示すように、閉じている目の周辺
82を取り去り、その代わりに開いた目の周辺84を嵌
め込むものである。その後、マニュアル調整部76にお
いて、オペレータがモニタ20の表示を見ながら指示す
ることによって、目の位置や色、濃度等の画像調整が行
われる。
Next, in the eye image synthesizing section 80, the image with the eyes closed, which has been selected above and processed so as to be appropriately synthesized, is synthesized with the image with the eyes closed. This actually removes the periphery 82 of the closed eye and fits the periphery 84 of the open eye instead, as shown in FIG. Thereafter, in the manual adjustment unit 76, an image adjustment such as an eye position, a color, a density, and the like is performed by an operator giving an instruction while watching the display on the monitor 20.

【0038】なお、以上の処理は、可能な所はコンピュ
ータによる処理で自動で行ってもよいが、全ての処理を
オペレータがモニタ20を見ながら手動で行うようにし
てもよい。また、合成すべき開いた目の画像は、上のよ
うに処理中のフィルム1本分の画像から選ぶばかりでな
く、データベース化された過去の画像データから、顧客
コードにより、同一顧客の目を開いた画像または類似し
た他人、例えば、兄弟姉妹などの目を開いた画像を引っ
張ってくるようにしてもよい。また、上記合成におい
て、合成すべき開いた目の画像を被合成画像である閉じ
た目の画像に、大きさや色濃度等を合わせる調整は、被
合成画像の特徴の内、目周辺の色濃度、両目の位置、両
目の間隔、瞑っている目の大きさ、顔の大きさ等の特徴
に基づいて上記のように目特徴量特定部74において自
動調整されるようになっていてもよいし、あるいは前記
調整は、被合成画像の大きさ、角度、色、濃度、アスペ
クト比を変更するためのメニューに基づいて、オペレー
タが手動で行うようにしてもよい。
The above processing may be performed automatically by computer processing where possible, but all processing may be performed manually by the operator while watching the monitor 20. The image of the open eye to be synthesized is not only selected from the image of one film being processed as described above, but also the same customer's eye can be identified by the customer code from the past image data in the database. An open image or a similar person, for example, an image with open eyes such as a sibling may be pulled. In addition, in the synthesis, the adjustment of the size and color density of the image of the open eye to be synthesized with the image of the closed eye, which is the image to be synthesized, is performed by adjusting the color density around the eyes among the features of the image to be synthesized. The eye feature amount specifying unit 74 may automatically adjust as described above based on features such as the position of both eyes, the distance between both eyes, the size of the closed eyes, and the size of the face. Alternatively, the adjustment may be manually performed by an operator based on a menu for changing the size, angle, color, density, and aspect ratio of the combined image.

【0039】こうして、目修正処理部52の開目処理部
72の目画像合成部80において合成され、マニュアル
調整部76において調整された開いた目の合成画像(部
分)の位置データや画像データが、プレスキャンデータ
処理部44の目修正処理部52からファインスキャンデ
ータ処理部46の画像記憶部60および目画像変換部6
2に送られる。なお、目修正処理部52で得られた開い
た目の合成画像の画像データの代わりに、目修正処理部
52による目修正前後の目の合成部分の画像データの差
分を画像記憶部60や目画像変換部62に送るようにし
ても良いし、あるいは、目画像合成部80で合成に用い
た開いた目の画像データや合成に用いたパラメータやマ
ニュアル調整部76での調整に用いた調整パラメータを
送るようにしても良い。
In this manner, the position data and the image data of the synthesized image (part) of the open eyes synthesized by the eye image synthesis unit 80 of the eye opening processing unit 72 of the eye correction processing unit 52 and adjusted by the manual adjustment unit 76 are obtained. From the eye correction processing unit 52 of the pre-scan data processing unit 44 to the image storage unit 60 and the eye image conversion unit 6 of the fine scan data processing unit 46.
Sent to 2. Note that, instead of the image data of the synthesized image of the opened eyes obtained by the eye correction processing unit 52, the difference between the image data of the synthesized part of the eyes before and after the eye correction by the eye correction processing unit 52 is stored in the image storage unit 60 or the eye. The image data may be sent to the image conversion unit 62, or the image data of the open eyes used for synthesis in the eye image synthesis unit 80, the parameters used for synthesis, and the adjustment parameters used for adjustment in the manual adjustment unit 76. May be sent.

【0040】次に、第2の目修正処理方法について説明
する。この第2の目修正処理は、2次元的な形状の特徴
に基づいて変換を行うものである。具体的には、例え
ば、目を閉じている画像、半目の画像、目を開いた画像
から、対称点の動きをモデル化し、モーフィングのよう
に、モデル化された各部の動きに基づいて、形態的に画
像の変換を行うものである。
Next, a second eye correction processing method will be described. The second eye correction process performs a conversion based on the characteristics of a two-dimensional shape. Specifically, for example, from the image with the eyes closed, the half-eyed image, and the image with the eyes open, the movement of the symmetry point is modeled, and morphing is performed based on the movement of each modeled part, such as morphing. This is to perform image conversion.

【0041】第2の目修正処理における開目処理部17
2は、図4に示す開目処理部72の代りに図3に示す目
修正処理部52に適用されるもので、図6に示すよう
に、画像記憶部86、モデル作成部88、目画像変換部
90を含んでいる。画像記憶部86は、瞼上の点の動き
をモデル化するためのデータとなる、同一人物または同
一人物以外の人物(他人)についての、目を閉じている
画像、半目の画像、目を開いた画像等を記憶するもので
ある。画像データとしては、現在処理中のフィルム1本
分の画像の中から記憶してもよいし、それだけでは不足
する場合には、同一顧客または他人、たとえば兄弟姉妹
や父母や類似の顔立ちの他人等の過去の画像データをデ
ータベースから読み出すようにしてもよい。
The eye opening processing section 17 in the second eye correction processing
2 is applied to the eye correction processing unit 52 shown in FIG. 3 instead of the eye opening processing unit 72 shown in FIG. 4, and as shown in FIG. 6, an image storage unit 86, a model creation unit 88, an eye image A conversion unit 90 is included. The image storage unit 86 is an image of the same person or a person other than the same person (another person) with closed eyes, a half-eye image, and opened eyes for data for modeling the movement of a point on the eyelid. The stored image and the like are stored. The image data may be stored from the image of one film currently being processed, or if that alone is insufficient, the same customer or another person, such as a sibling, a parent or another person with similar facial features, etc. May be read from the database.

【0042】モデル作成部88は、画像記憶部86か
ら、同一人物または他人についての、例えば、図7に示
すような目を閉じた画像92、半目の画像94、目を開
いた画像96を読み出して、これらを基にモデルを作成
する。例えば、目を閉じた画像92において、瞼上の点
P0、Q0を指定し、これらの点がどのように移って行
くかを追跡する。このとき、点P0、Q0は、それぞ
れ、半目の画像94においてはP1、Q1となり、目を
開いた画像96においては、P2、Q2となったとす
る。これらの点から、これらの点がP0→P1→P2、
およびQ0→Q1→Q2と動く途中の状態を推定する。
瞼上の他の点も同様に動くものと考えられ、これにより
上記目を閉じた状態から完全に目を開いた状態に移る間
における目の形状も推定され、閉じた目が開く場合に、
瞼上の各点がどのように動くかというモデルが構築され
る。
The model creating section 88 reads, for example, an image 92 with closed eyes, an image 94 with half eyes, and an image 96 with eyes opened, as shown in FIG. 7, for the same person or another person from the image storage section 86. And create a model based on these. For example, in the image 92 with the eyes closed, the points P0 and Q0 on the eyelid are designated, and how these points move is tracked. At this time, it is assumed that the points P0 and Q0 are respectively P1 and Q1 in the half image 94, and P2 and Q2 in the image 96 with the eyes opened. From these points, these points become P0 → P1 → P2,
And the state during the movement of Q0 → Q1 → Q2 is estimated.
The other points on the eyelids are also considered to move in the same way, whereby the shape of the eyes during the transition from the closed state to the fully opened state is also estimated, and when the closed eyes are opened,
A model is built of how each point on the eyelid moves.

【0043】目画像変換部90は、作成されたモデルに
基づいて、閉じた状態の目の画像を開いた状態の目の画
像に変換する。このモデルによれば、目を閉じた状態か
ら目を完全に開いた状態までの間における任意の状態の
表示が可能であり、徐々に目を開かせることもでき、そ
のシーンに応じた表情を作ることができる。また、一旦
モデルを作成しておけば、このモデルを記憶しておくこ
とにより、次回、同一の顧客または類似の他人につい
て、目を閉じた人物画像の処理をする機会があった場合
に、このモデルを用いて容易に、目を閉じた状態の画像
の修正を行うことができる。
The eye image conversion unit 90 converts the closed eye image into the open eye image based on the created model. According to this model, it is possible to display an arbitrary state from a state in which the eyes are closed to a state in which the eyes are completely opened, and the eyes can be gradually opened, and the expression according to the scene can be displayed. Can be made. Also, once a model is created, by storing this model, the next time the same customer or another similar person has the opportunity to process a person image with closed eyes, It is possible to easily correct the image with the eyes closed using the model.

【0044】こうして、目修正処理部52の開目処理部
172の目画像変換部90において変換され、マニュア
ル調整部76において調整された開いた目への変換画像
(部分)の位置データや画像データが、プレスキャンデ
ータ処理部44の目修正処理部52からファインスキャ
ンデータ処理部46の画像記憶部60および目画像変換
部62に送られる。なお、開いた目への変換画像の画像
データの代わりに、目の変換画像部分の目修正前のプレ
スキャンデータと目修正後の画像データとの差分を送る
ようにしても良いし、あるいは、モデル作成部86でモ
デル作成に用いた複数の目の画像データやモデル作成に
用いたパラメータや目画像変換部90で開いた目への変
換に用いた変換パラメータやマニュアル調整部76での
調整に用いた調整パラメータを送るようにしても良い。
In this way, the position data and image data of the converted image (part) to the open eyes converted by the manual adjustment unit 76 and converted by the eye image conversion unit 90 of the eye opening processing unit 172 of the eye correction processing unit 52 Is sent from the eye correction processing unit 52 of the pre-scan data processing unit 44 to the image storage unit 60 and the eye image conversion unit 62 of the fine scan data processing unit 46. In addition, instead of the image data of the converted image to the opened eyes, the difference between the pre-scanned pre-scanned image data and the corrected eye image data of the converted image portion of the eye may be sent, or The image data of a plurality of eyes used in the model creation by the model creation unit 86, the parameters used in the model creation, the conversion parameters used in the conversion to the eyes opened in the eye image conversion unit 90, and the adjustment by the manual adjustment unit 76 The used adjustment parameters may be sent.

【0045】次に、第3の目修正処理方法について説明
する。これは、同一人物または他人の、目を閉じている
状態の画像と、目を開いている状態の画像のデータを収
集し、目を閉じている状態の画像を入力データとし、目
を開いている状態の画像を教師データとして、その変換
規則を学習し、その変換規則に基づいて画像変換し、目
を閉じた状態の画像の修正をしようというものである。
Next, a third eye correction processing method will be described. This is to collect the data of the same person or another person's eyes with eyes closed and images with eyes open, use the images with eyes closed as input data, open eyes The conversion rule is learned using the image in the state where the image is in the teaching data, the image is converted based on the conversion rule, and the image with the eyes closed is modified.

【0046】第3の目修正処理における開目処理部27
2は、図4に示す開目処理部72の代りに図3に示す目
修正処理部52に適用されるもので、図8に示すよう
に、画像記憶部98、変換規則学習部100、目画像変
換部102を含んでいる。画像記憶部98は、同一人物
または他人の、目を閉じている状態の画像と、目を開い
ている状態の画像とを記憶するためのものである。変換
規則学習部100は、画像記憶部98の画像を読み出し
て、図9に示すように同一人物または他人の、目を閉じ
ている状態の画像104を入力データ(信号)とし、目
を開いている状態の画像106を教師データ(信号)と
して、その変換規則を学習するものである。例えば、1
本のフィルムの中で、複数のコマに同じような人物があ
った場合に、例えば、異なるコマにおける人物の同一性
または類似性を示す情報が撮影情報等にあると、シーン
が異なってもその同一人物または類似した他人に関す
る、目を開いた状態の画像と目を閉じた状態の画像とを
対応付けることができ、これにより、目を閉じた状態の
画像を目を開いた状態の画像に変換する際の規則を学習
する。目画像変換部102は、学習の結果確立された変
換規則によって、閉じた目の画像を開いた目の画像に変
換する。
The eye opening processing section 27 in the third eye correction processing
2 is applied to the eye correction processing unit 52 shown in FIG. 3 instead of the eye opening processing unit 72 shown in FIG. 4, and as shown in FIG. 8, an image storage unit 98, a conversion rule learning unit 100, An image conversion unit 102 is included. The image storage unit 98 is for storing an image of the same person or another person with their eyes closed and an image with their eyes open. The conversion rule learning unit 100 reads the image from the image storage unit 98, uses the image 104 of the same person or another person with closed eyes as input data (signal) as shown in FIG. The conversion rule is learned by using the image 106 in the present state as teacher data (signal). For example, 1
In a film of a book, when there is a similar person in a plurality of frames, for example, if information indicating the identity or similarity of a person in different frames is included in shooting information or the like, even if the scene is different, Open-eye and closed-eye images of the same person or a similar person can be associated with each other, thereby converting the closed-eye image to an open-eye image. Learn the rules when doing The eye image conversion unit 102 converts a closed eye image into an open eye image according to a conversion rule established as a result of learning.

【0047】上述した学習を行うシステムとしては、特
に限定されるものではないが、具体的には、例えば、ニ
ューラル・ネットワークやGA(ジェネリック・アルゴ
リズム)あるいは高次多項式による近似等が考えられ
る。
The system for performing the above-mentioned learning is not particularly limited, but specifically, for example, an approximation using a neural network, a GA (generic algorithm), a high-order polynomial, or the like can be considered.

【0048】次に、第4の目修正処理方法について説明
する。これは、人の目および瞼の開閉運動の力学的運動
解析結果に基づいて画像変換を行うものである。第4の
目修正処理における開目処理部372は、図4に示す開
目処理部72の代りに図3に示す目修正処理部52に適
用されるもので、図10に示すように、目・瞼データ抽
出部108、力学的運動解析部110、目画像変換部1
12を含んでいる。
Next, a fourth eye correction processing method will be described. In this method, image conversion is performed based on the result of the dynamic motion analysis of the human eye and eyelid opening / closing motion. The eye opening processing unit 372 in the fourth eye correction processing is applied to the eye correction processing unit 52 shown in FIG. 3 instead of the eye opening processing unit 72 shown in FIG. 4, and as shown in FIG. -Eyelid data extraction unit 108, mechanical motion analysis unit 110, eye image conversion unit 1
12 is included.

【0049】目・瞼データ抽出部108は、次の力学的
運動解析のために目、瞼上の複数点を指定するものであ
る。力学的運動解析部110は、目・瞼データ抽出部1
08によって指定された点に対し、力学的運動解析を行
い、目を開いた状態の画像を作ろうというものである。
具体的には、人間の目の構造、組織、筋肉の位置やその
運動に基づいて、瞼、睫毛の運動を解析して、定式化す
る。瞼を閉じた画像から、瞼、睫毛を認識し、あるい
は、オペレータの指示により、瞼、睫毛を特定して、目
を開かせる動作を運動方程式に基づいて行い、目を開い
た画像を得る。
The eye / eyelid data extraction unit 108 designates a plurality of points on the eyes and eyelids for the next dynamic motion analysis. The mechanical movement analysis unit 110 includes the eye / eyelid data extraction unit 1
A dynamic motion analysis is performed on the point designated by 08 to create an image with the eyes open.
Specifically, the eyelids and eyelash movements are analyzed and formalized based on the positions and movements of the structure, tissue, and muscles of the human eye. The eyelids and eyelashes are recognized from the image with the eyelids closed, or the eyelids and eyelashes are specified by an operator's instruction, and an operation of opening the eyes is performed based on the equation of motion to obtain an image with the eyes opened.

【0050】目画像変換部112は、上で得た、目を開
いた状態の画像を、目を閉じた状態の画像に合成するよ
うにしてもよいし、あるいは、解析結果に基づき、瞼を
徐々に開いていき、開いた瞼の間に瞳を書き込むように
してもよい。この方法は、運動方程式を定式化するのが
大変であると思われるが、ひとたび定式化されれば、瞼
上の点を与えるだけで、目を開いた画像がかなり正確に
求められる。
The eye image conversion unit 112 may combine the above-obtained image with the eyes open with the image with the eyes closed, or may convert the eyelids based on the analysis result. You may make it open gradually and write a pupil between the opened eyelids. This method seems to be difficult to formulate the equation of motion, but once formulated, the image with the eyes open can be determined fairly accurately just by giving the points on the eyelids.

【0051】なお、第3および第4の目修正処理方法を
実施する開目処理部272および372を適用する目修
正処理部52で得られた開いた目への変換画像(部分)
の位置データや画像データは、第2の目修正処理方法を
実施する開目処理部72および172を適用する目修正
処理部52で得られた場合と同様に、プレスキャンデー
タ処理部44の目修正処理部52からファインスキャン
データ処理部46の画像記憶部60および目画像変換部
62に送られる。また、同様に、開いた目への変換画像
の画像データの代わりに、目修正前後の画像データとの
差分を送るようにしても良いし、あるいは、変換学習部
100や力学的運動解析部110で用いたパラメータや
目画像変換部90で用いた変換パラメータやマニュアル
調整部76での調整に用いた調整パラメータを送るよう
にしても良い。
The converted eyes (parts) obtained by the eye correction processing unit 52 applying the eye opening processing units 272 and 372 for implementing the third and fourth eye correction processing methods (parts)
The position data and image data of the pre-scan data processing unit 44 are obtained in the same manner as those obtained by the eye correction processing unit 52 that applies the eye opening processing units 72 and 172 that execute the second eye correction processing method. It is sent from the correction processing unit 52 to the image storage unit 60 and the eye image conversion unit 62 of the fine scan data processing unit 46. Similarly, instead of the image data of the converted image for the open eyes, a difference between the image data before and after the eye correction may be sent, or the conversion learning unit 100 or the dynamic motion analysis unit 110 Alternatively, the parameters used in step (1), the conversion parameters used in the eye image conversion unit 90, and the adjustment parameters used for adjustment in the manual adjustment unit 76 may be sent.

【0052】以上の目修正処理方法において、瞳や瞳孔
の位置や形を調整可能にすることにより、両目の視線を
調整でき、その結果、両目の視線を合わせるようにする
ことができる。また、上記目修正処理方法において、睫
毛の長さ、睫毛の向き、瞼の一重、二重等を指定するこ
とにより、それに合った開目画像を作ったり、合成した
りして、所望の画像に変換することができる。さらに、
上記目修正処理方法において、オペレータがマニュアル
で修正を行う、いわゆるレタッチ機能を備えることによ
り、よりきめ細かな調整が可能となる。
In the above-described eye correction processing method, by making the position and shape of the pupil and the pupil adjustable, the eyes of both eyes can be adjusted, and as a result, the eyes of both eyes can be matched. Also, in the eye correction processing method, by specifying the eyelash length, eyelash direction, single eyelid, double eyelid, and the like, an eye opening image suitable for the eye opening image is created or synthesized, and a desired image is formed. Can be converted to further,
In the above eye correction processing method, by providing a so-called retouch function in which an operator makes a manual correction, more fine-tuned adjustment becomes possible.

【0053】なお、上記各目修正処理方法において、プ
レスキャンデータ処理部44の目修正処理部52におけ
る、目開け処理時やレタッチ時等の目を開ける処理の実
行中には、モニタ20に修正すべき目の周辺の拡大画像
を表示できるように制御するのが好ましい。図11に、
目修正処理部52による合成処理を実施する表示画面1
20の一例を示す。同図に示す表示画面120には、図
5に示す人物の修正すべき目の周辺部の拡大画像122
が表示され、図中右側には上から開いている目の5種の
代表的なサンプル124a、124b、124c、12
4d、124eが、図中下側には左側から登録参照ボタ
ン126a、他コマ参照ボタン126b、編集ボタン1
26c、レタッチボタン126d等の選択ボタンなど
が、GUI(グラフィックユーザインターフェース)と
して表示されている。
In each of the eye correction processing methods described above, the correction is performed on the monitor 20 while the eye correction processing unit 52 of the pre-scan data processing unit 44 is performing the eye opening processing such as the eye opening processing or the retouching. It is preferable to control so that an enlarged image around the eye to be displayed can be displayed. In FIG.
Display screen 1 for performing the combining process by the eye correction processing unit 52
20 shows an example. The display screen 120 shown in FIG. 5 includes an enlarged image 122 of the periphery of the eye to be corrected shown in FIG.
Are displayed on the right side of the figure, and five representative samples 124a, 124b, 124c, 12
4d and 124e, on the lower side in the figure, a registration reference button 126a, another frame reference button 126b, and an edit button 1
Selection buttons such as 26c and a retouch button 126d are displayed as a GUI (graphic user interface).

【0054】このように、モニタ20の表示画面120
には、目開け処理を実行する時、修正対象の目の周辺部
の拡大画像122を表示できるが、表示画面120への
目の周辺部の拡大表示範囲は、指定させても良く、ま
た、コマ画像の中から顔を抽出して、顔の大きさから自
動的に決めるようにしても良い。また、登録参照ボタン
126aを押下することにより、図11に示すように、
表示画面120上に、予め登録されている代表的な目の
候補(開いた目のサンプル124a〜124e)を表示
して、合成する開いた目のサンプルを選択することがで
きる。なお、予め登録されている開いた目のサンプルの
リストに新たな目のサンプルを登録できるようにしても
良いし、リストから登録されている目のサンプルを削除
できるようにしても良い。また、開いた目を合成する時
には、合成先の目の周辺の情報、例えば、肌の色濃度や
目の大きさなどに基づいて、合成する開いた目を自動調
整するようにしても良い。
As described above, the display screen 120 of the monitor 20
Can display an enlarged image 122 of the periphery of the eye to be corrected when performing the eye opening process. However, the enlarged display range of the periphery of the eye on the display screen 120 may be designated. A face may be extracted from a frame image and automatically determined based on the size of the face. By pressing the registration reference button 126a, as shown in FIG.
The representative eye candidates (open eye samples 124a to 124e) registered in advance are displayed on the display screen 120, and an open eye sample to be synthesized can be selected. It should be noted that a new eye sample may be registered in the open eye sample list registered in advance, or a registered eye sample may be deleted from the list. When combining the open eyes, the open eyes to be combined may be automatically adjusted based on information around the eyes to be combined, for example, skin color density and eye size.

【0055】次に、他コマ参照ボタン126bを押下す
ることにより、同一件内の他のコマを表示して参照する
ことができ、同一人物または類似の他人の目を開いてい
る画像から、目を取り出して修正対象の閉じた目に合成
することができる。また、編集ボタン126cにより、
片目または両目について、目の大きさ、角度、色、アス
ペクト比や、瞼の一重、二重や、睫毛の長さ、向きや、
瞳の位置、瞳孔の位置等が変更でき、視線等も調整でき
る。さらに、レタッチボタン126dにより、レタッチ
作業(点描画、線描画、色塗り等)を行うことができ
る。
Next, by depressing the other frame reference button 126b, another frame in the same item can be displayed and referenced, and the same person or a similar person's eyes with the eyes open can be selected from the images. Can be taken out and combined with the closed eyes to be corrected. In addition, by the edit button 126c,
For one or both eyes, eye size, angle, color, aspect ratio, single eyelid, double eyelid, eyelash length, orientation,
The position of the pupil, the position of the pupil, and the like can be changed, and the line of sight can be adjusted. Further, the retouching operation (dot drawing, line drawing, color painting, etc.) can be performed by the retouch button 126d.

【0056】こうして、上記各目修正処理方法を実施す
る目修正処理部52で得られた開いた目の合成画像や変
換画像(部分)の位置データや画像データ、目修正前後
の画像データとの差分または合成または変換するのに用
いる開いた目の画像データ、学習パラメータや解析パラ
メータや変換パラメータや調整パラメータは、プレスキ
ャンデータ処理部44の目修正処理部52からファイン
スキャンデータ処理部46の画像記憶部60および目画
像変換部62に送られ、記憶される。一方、ファインス
キャンデータ処理部46においては、目画像変換部62
は、拡縮処理部56による拡縮、階調変換部58による
色濃度階調変換が施されたファインスキャンデータに、
画像記憶部60から記憶されている、開いた目の合成画
像や変換画像(部分)の位置データや画像データ、目修
正前後の画像データとの差分または合成または変換する
のに用いる開いた目の画像データ、学習パラメータや解
析パラメータや変換パラメータや調整パラメータ等を用
いて、閉じた目の画像を先に設定された適切な開いた目
にする処理を行う。
In this way, the position data and image data of the synthesized image and the converted image (part) of the open eyes obtained by the eye correction processing unit 52 that executes the above-described eye correction processing method, and the image data before and after the eye correction The image data of the open eyes used for the difference or synthesis or conversion, the learning parameters, the analysis parameters, the conversion parameters, and the adjustment parameters are converted from the eye correction processing unit 52 of the prescan data processing unit 44 to the image of the fine scan data processing unit 46. The data is sent to the storage unit 60 and the eye image conversion unit 62 and stored. On the other hand, in the fine scan data processing section 46, the eye image conversion section 62
Represents the fine scan data that has been subjected to the enlargement / reduction by the enlargement / reduction processing unit 56 and the color density gradation conversion by the gradation conversion unit 58,
The difference between the position data and image data of the synthesized image and the converted image (part) of the open eye stored in the image storage unit 60 and the image data before and after the eye correction or the open eye used for synthesis or conversion. Using the image data, the learning parameters, the analysis parameters, the conversion parameters, the adjustment parameters, and the like, a process of turning the image of the closed eye into the previously set appropriate open eye is performed.

【0057】ここで、画像記憶部60に開いた目の合成
画像や変換画像の位置データや画像データが記憶されて
いる場合には、これらの位置データや画像データは、低
解像度のプレスキャンデータに基づくものであるので、
目画像変換部62は、補間等の処理により、ファインス
キャンデータと同じ解像度にした後、ファインスキャン
データの修正対象の目の周辺の位置データに合わせて目
修正画像データの合成処理または変換処理を施して、閉
じた目を開いた目に修正することができる。次に、画像
記憶部60に目修正画像の位置データと目修正前後の画
像データとの差分が記憶されている場合には、これらの
位置データや差分データは、低解像度のプレスキャンデ
ータに基づくものであるので、目画像変換部62は、補
間などの処理により、ファインスキャンデータと同じ解
像度にした後、ファインスキャンデータの修正対象の目
の周辺の位置データに合わせて差分データの加算処理を
施して、閉じた目を開いた目に修正することができる。
なお、差分データは、修正対象の目の周辺以外は0であ
るので、修正対象の目の周辺に限定されず、コマ画像全
体に取っても良く、こうすることで、目画像変換部62
による処理を簡略化できる。
Here, when the position data and the image data of the synthesized image and the converted image of the opened eyes are stored in the image storage unit 60, the position data and the image data are low-resolution pre-scan data. Is based on
The eye image conversion unit 62 sets the same resolution as the fine scan data by a process such as interpolation, and then performs a synthesis process or a conversion process of the eye correction image data in accordance with the position data around the eye to be corrected of the fine scan data. To correct closed eyes to open eyes. Next, when a difference between the position data of the eye-corrected image and the image data before and after the eye correction is stored in the image storage unit 60, the position data and the difference data are based on the low-resolution pre-scan data. Therefore, the eye image conversion unit 62 sets the resolution to the same as that of the fine scan data by a process such as interpolation, and then adds the difference data in accordance with the position data around the eye to be corrected in the fine scan data. To correct closed eyes to open eyes.
Since the difference data is 0 except for the periphery of the eye to be corrected, the difference data is not limited to the periphery of the eye to be corrected, and may be taken for the entire frame image.
Can be simplified.

【0058】さらに、画像記憶部60に合成または変換
するのに用いる開いた目の画像データ、学習パラメータ
や解析パラメータや変換パラメータや調整パラメータが
記憶されている場合には、目画像変換部62の構成を目
修正処理部52と略同一の構成にすることにより、目修
正処理部52による開目処理と同様な処理を行って、閉
じた目を開いた目に修正することができる。もちろん、
開いた目の画像データが低解像度のプレスキャンデータ
である場合には、目画像変換部62は、補間などの処理
により、ファインスキャンデータと同じ解像度にするこ
とはいうまでもない。なお、画像記憶部60に記憶する
データや目画像変換部62の構成や機能は、特に制限的
ではなく、目修正処理部52による開目処理の種類や方
式によってあるいは得られるデータに応じて、適宜設定
すれば良い。
Further, when image data of open eyes used for synthesizing or converting, learning parameters, analysis parameters, conversion parameters, and adjustment parameters are stored in the image storage section 60, By making the configuration substantially the same as that of the eye correction processing unit 52, the same processing as the eye opening processing by the eye correction processing unit 52 can be performed to correct the closed eyes to the open eyes. of course,
When the image data of the opened eyes is low-resolution pre-scan data, it goes without saying that the eye image conversion unit 62 sets the same resolution as the fine scan data by performing processing such as interpolation. The data stored in the image storage unit 60 and the configuration and function of the eye image conversion unit 62 are not particularly limited, and may be determined according to the type or method of the eye opening processing performed by the eye correction processing unit 52 or data obtained. What is necessary is just to set suitably.

【0059】以上のようにして、閉じた目が開いた目に
修正されたファインスキャンデータは、シャープネス処
理部64による鮮鋭化および色再現変換部66による出
力デバイスデータへの変換処理を受けた後、出力デバイ
スに応じた出力画像データとして、カラープリントとし
て出力するためにプリンタ16に、メディアに記録する
ためまたは通信手段を介して配信するために画像データ
入出力手段40に出力される。
As described above, the fine scan data in which the closed eyes are corrected to the open eyes is subjected to the sharpening processing by the sharpness processing unit 64 and the conversion processing to the output device data by the color reproduction conversion unit 66. The image data is output to the printer 16 for output as a color print as output image data corresponding to the output device, and to the image data input / output means 40 for recording on a medium or distributing via communication means.

【0060】また、上述した、第1〜第4の目修正方法
のいずれにおいても、修正すべき画像の片目が開いてい
る場合には、その開いている目の画像の情報を利用する
ことができる。目の画像の情報としては、目およびその
周辺の特徴、すなわち、開いている目の、瞳の色および
大きさ、睫毛の長さ、瞼や目の周辺の肌の色、瞼の一
重、二重等の種類、目の位置、目の大きさおよび形等が
考えられる。瞑っている目を開いた状態の目に修正する
際に、これらの情報を利用して、例えば、瞳の色を同じ
にしたり、睫毛の長さを同じにしたり、目の大きさを同
じにしたりする等の処理を行うことで、瞑った目を開か
せる目修正処理をより簡単に、より的確に行うことがで
きる。
In any of the first to fourth eye correction methods described above, when one eye of an image to be corrected is open, information on the image of the open eye may be used. it can. The information of the eye image includes the features of the eye and its surroundings, that is, the color and size of the eyes that are open, the length of the eyelashes, the color of the eyelids and the skin around the eyes, the single eyelid, The type of weight and the like, the position of the eyes, the size and shape of the eyes, and the like can be considered. This information can be used to correct the closed eyes with the eyes open, for example, to make the eyes the same color, the same eyelash length, and the same eye size. By performing such processing as eyelashing, the eye correction processing for opening the meditated eyes can be performed more easily and more accurately.

【0061】このように、目修正処理において、片目が
開いている場合には、その開いている目およびその周辺
の特徴を利用することは、非常に有効である。このと
き、さらに簡単に目修正処理を行おうとすれば、開いて
いる方の目を反転して、瞑っている目の上に合成するこ
ともできる。
As described above, in the eye correction processing, when one eye is open, it is very effective to use the features of the open eye and its surroundings. At this time, if the eye correction processing is to be performed more easily, the open eye can be inverted and combined with the eye that is closing.

【0062】このように本実施形態によれば、目を閉じ
た状態の画像を簡単に目を開いた状態の画像に変換する
ことができ、撮影の失敗を修正することができる。ま
た、本発明はこの他にも、例えば、開いている口を閉じ
るとか、小さな子供が撮影時に顔が横を向いてしまった
場合に顔を正面を向かせる等の処理にも応用が可能であ
る。以上、本発明の画像処理方法および装置について種
々の実施例を挙げて詳細に説明したが、本発明は、以上
の例には限定されず、本発明の要旨を逸脱しない範囲に
おいて、各種の改良や変更を行ってもよいのはもちろん
である。
As described above, according to the present embodiment, it is possible to easily convert an image with eyes closed to an image with eyes open, and to correct shooting failure. In addition, the present invention can be applied to other processing such as closing an open mouth, or turning a face to the front when a small child turns to the side during shooting. is there. As described above, the image processing method and apparatus of the present invention have been described in detail with reference to various embodiments. However, the present invention is not limited to the above examples, and various improvements may be made without departing from the gist of the present invention. Of course, changes may be made.

【0063】[0063]

【発明の効果】以上説明した通り、本発明によれば、目
を閉じた状態の人物画像に対して、目を開かせる処理を
行い、撮影の失敗を修正し、目を開いた状態の画像を得
ることができる。
As described above, according to the present invention, a process of opening eyes is performed on a human image with eyes closed to correct a photographing failure, and an image with eyes open is corrected. Can be obtained.

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

【図1】 本発明の画像処理方法を実施する画像処理装
置を適用するデジタルフォトプリンタの一実施形態を示
すブロック図である。
FIG. 1 is a block diagram illustrating an embodiment of a digital photo printer to which an image processing apparatus that performs an image processing method of the present invention is applied.

【図2】 図1に示すの画像処理装置の一実施例の概略
を示すブロック図である。
FIG. 2 is a block diagram schematically showing an embodiment of the image processing apparatus shown in FIG.

【図3】 図2に示す画像処理装置の目修正処理部の一
実施例の概略を示すブロック図である。
FIG. 3 is a block diagram schematically illustrating an embodiment of an eye correction processing unit of the image processing apparatus illustrated in FIG. 2;

【図4】 図3に示す目修正処理部の、本実施形態にお
ける第1の目修正処理を行う開目処理部の一実施例の概
略を示すブロック図である。
4 is a block diagram schematically illustrating an example of an eye opening processing unit that performs a first eye correction process according to the embodiment of the eye correction processing unit illustrated in FIG. 3;

【図5】 本実施形態の第1の目修正処理における開目
処理の様子の一例を示す説明図である。
FIG. 5 is an explanatory diagram showing an example of a state of an eye opening process in a first eye correction process of the embodiment.

【図6】 図3に示す目修正処理部に適用される、本実
施形態における第2の目修正処理を行う開目処理部の一
実施例の概略を示すブロック図である。
6 is a block diagram schematically illustrating an example of an eye opening processing unit that performs a second eye correction process according to the present embodiment and is applied to the eye correction processing unit illustrated in FIG. 3;

【図7】 この実施形態の第2の目修正処理における開
目処理の一例を示す説明図である。
FIG. 7 is an explanatory diagram showing an example of an eye opening process in a second eye correction process of the embodiment.

【図8】 図3に示す目修正処理部に適用される、本実
施形態における第3の目修正処理を行う開目処理部の一
実施例の概略を示すブロック図である。
8 is a block diagram schematically illustrating an example of an eye opening processing unit that performs a third eye correction process according to the present embodiment, which is applied to the eye correction processing unit illustrated in FIG. 3;

【図9】 この実施形態の第3の目修正処理における開
目処理の一例を示す説明図である。
FIG. 9 is an explanatory diagram illustrating an example of an eye opening process in a third eye correction process according to the embodiment;

【図10】 図3に示す目修正処理部に適用される、本
実施形態における第4の目修正処理を行う開目処理部の
一実施例の概略を示すブロック図である。
10 is a block diagram schematically illustrating an example of an eye opening processing unit that performs a fourth eye correction process according to the present embodiment, which is applied to the eye correction processing unit illustrated in FIG. 3;

【図11】 本発明の画像処理方法を実施する合成処理
を行う画像表示装置の表示画面の一実施例の概略を示す
説明図である。
FIG. 11 is an explanatory view schematically showing an embodiment of a display screen of an image display device which performs a synthesizing process for implementing the image processing method of the present invention.

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

10 デジタルフォトプリンタ 12 スキャナ 14 画像処理装置 16 画像記録装置 18 操作系 18a キーボード 18b マウス 20 モニタ 22 光源 24 可変絞り 26 拡散ボックス 28 キャリア 30 結像レンズユニット 32 イメージセンサ 34 A/D変換器 40 画像データ入出力手段 42 LOG変換部 44 プレスキャンデータ処理部 46 ファインスキャンデータ処理部 48 セットアップ部 50、58 階調変換部 52 目修正処理部 54、66 色再現変換部 56 拡縮処理部 60、86、98 画像記憶部 62、90、102、112 目画像変換部 64 シャープネス処理部 68 パラメータ算出部 70 キー補正部 72、172、272、372 開目処理部 74 目特徴量特定部 76 マニュアル調整部 78 開目画像記憶部 80 目画像合成部 88 モデル作成部 100 変換規則学習部 108 目・瞼データ抽出部 110 力学的運動解析部 120 表示画面 DESCRIPTION OF SYMBOLS 10 Digital photo printer 12 Scanner 14 Image processing device 16 Image recording device 18 Operation system 18a Keyboard 18b Mouse 20 Monitor 22 Light source 24 Variable aperture 26 Diffusion box 28 Carrier 30 Imaging lens unit 32 Image sensor 34 A / D converter 40 Image data Input / output means 42 LOG conversion unit 44 prescan data processing unit 46 fine scan data processing unit 48 setup unit 50, 58 gradation conversion unit 52 eye correction processing unit 54, 66 color reproduction conversion unit 56 scaling processing unit 60, 86, 98 Image storage unit 62, 90, 102, 112 Eye image conversion unit 64 Sharpness processing unit 68 Parameter calculation unit 70 Key correction unit 72, 172, 272, 372 Opening processing unit 74 Eye feature value specifying unit 76 Manual adjustment unit 78 Opening Image Part 80 th image synthesizing unit 88 modeling unit 100 conversion rule learning unit 108 eyes, eyelid data extraction unit 110 Mechanical motion analysis unit 120 display screen

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification code FI Theme coat ゛ (Reference)

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】入力された画像データに対し、所定の画像
処理を施し、出力する画像処理方法であって、 前記画像処理が、目を瞑っている状態の人物画像に対
し、該瞑っている目を開いている状態の目の画像に修正
する目修正処理を含むことを特徴とする画像処理方法。
1. An image processing method for performing predetermined image processing on input image data and outputting the image data, wherein the image processing is performed on a person image in a state where eyes are closed. An image processing method comprising: an eye correction process for correcting an image of an eye in a state where the eyes are open.
【請求項2】前記目修正処理は、目を瞑っている画像に
対し、同一人物の開いている目の画像を合成する合成処
理である請求項1に記載の画像処理方法。
2. The image processing method according to claim 1, wherein the eye correcting process is a synthesizing process for synthesizing an image of the same person with open eyes on an image of which the eyes are closed.
【請求項3】前記目修正処理は、目を瞑っている画像に
対し、同一人物以外の開いている目の画像を合成する合
成処理である請求項1に記載の画像処理方法。
3. The image processing method according to claim 1, wherein the eye correcting process is a synthesizing process of synthesizing an image of an open eye of a person other than the same person with an image of a closed eye.
【請求項4】前記目修正処理は、開いている目のサンプ
ルが予め複数準備されており、その中から選択した目を
前記瞑っている目に合成する合成処理である請求項1に
記載の画像処理方法。
4. The eye correction process according to claim 1, wherein a plurality of open eye samples are prepared in advance, and a selected eye is synthesized from the plurality of open eye samples. Image processing method.
【請求項5】前記合成処理は、該合成する画像における
目の大きさ、角度、瞼、瞳および目周辺の色、濃度を被
合成画像に合わせるよう調整する処理を含む請求項2〜
4のいずれか1項に記載の画像処理方法。
5. The synthesizing process includes a process of adjusting an eye size, an angle, eyelids, pupils, and colors and densities around an eye in an image to be synthesized so as to match an image to be synthesized.
5. The image processing method according to any one of 4.
【請求項6】前記被合成画像の目周辺の色濃度、両目の
位置、両目の距離、目の大きさ、顔の大きさという画像
の特徴のうち1つ以上の特徴に基づいて、前記調整を自
動的に行う請求項5に記載の画像処理方法。
6. The adjustment based on at least one of image characteristics such as color density around eyes of the combined image, positions of both eyes, distance between eyes, size of eyes, and size of face. 6. The image processing method according to claim 5, wherein the image processing is automatically performed.
【請求項7】前記合成する画像の目の大きさ、角度、
色、濃度、アスペクト比を変更するメニューに基づい
て、前記調整をオペレータが手動で行う請求項5に記載
の画像処理方法。
7. The eye size, angle,
6. The image processing method according to claim 5, wherein the adjustment is manually performed by an operator based on a menu for changing a color, a density, and an aspect ratio.
【請求項8】目を瞑っている状態の画像と目を開いてい
る状態の画像とを対比し、目の画像の形状の特徴に基づ
いて、瞼上の点の動きを推定し、前記目修正処理を行う
請求項1に記載の画像処理方法。
8. An image in which the eyes are closed and an image in which the eyes are open are compared, and the movement of a point on the eyelid is estimated based on the characteristic of the shape of the eye. The image processing method according to claim 1, wherein the correction processing is performed.
【請求項9】目を瞑っている状態の画像を入力信号、目
を開いている状態の画像を教師信号として、瞑っている
目から開いた目への画像変換を学習し、学習した変換に
基づいて瞑っている目を開かせる前記目修正処理を行う
請求項1に記載の画像処理方法。
9. An image conversion from a closed eye to an open eye is learned by using the image with the closed eyes as an input signal and the image with the open eyes as a teacher signal, and the learned conversion is performed. The image processing method according to claim 1, wherein the eye correction processing for opening the eyes that are closed based on the eye correction processing is performed.
【請求項10】前記目修正処理において、目を開く度合
いを調整可能とした請求項8または9に記載の画像処理
方法。
10. The image processing method according to claim 8, wherein the degree of opening the eyes can be adjusted in the eye correction processing.
【請求項11】睫毛の長さ、睫毛の向き、瞼の一重、二
重を指定して、前記目を瞑っている状態の画像を、所定
の目を開いた状態の画像に修正可能とした請求項8また
は9に記載の画像処理方法。
11. An eyelash-closed image can be corrected to a predetermined eye-opened image by designating eyelash length, eyelash direction, single eyelid, and double eyelid. The image processing method according to claim 8.
【請求項12】前記目修正処理は、さらに、レタッチ機
能を有する請求項1〜11のいずれか1項に記載の画像
処理方法。
12. The image processing method according to claim 1, wherein said eye correction processing further has a retouch function.
【請求項13】前記目修正処理が、片目のみ瞑っている
場合の、瞑っている目の画像を修正する際、開いている
目および周辺の特徴を利用するものである請求項1に記
載の画像処理方法。
13. The method according to claim 1, wherein the eye correction process uses features of an open eye and surroundings when correcting an image of a closed eye when only one eye is closed. Image processing method.
【請求項14】前記周辺の特徴として、瞳の色及び大き
さ、睫毛の長さ、瞼および目周辺の肌の色、瞼の一重、
二重、目の位置、目の大きさおよび形のうち少なくとも
1つ以上の情報を利用する請求項13に記載の画像処理
方法。
14. The peripheral features include the color and size of the pupil, the length of the eyelashes, the skin color around the eyelids and the eyes, the single eyelids,
14. The image processing method according to claim 13, wherein at least one of information of double, eye position, eye size and shape is used.
【請求項15】瞳、瞳孔の位置、形を調整可能として両
目の視線を調整できる請求項1〜14のいずれかに記載
の画像処理方法。
15. The image processing method according to claim 1, wherein the pupil and the position and shape of the pupil can be adjusted to adjust the line of sight of both eyes.
【請求項16】画像入力手段より画像データを入力し、
所定の画像処理を施し、画像出力手段に出力する画像処
理装置であって、 目を瞑っている状態の人物画像に対し、該瞑っている目
を開いている状態の目の画像に修正する目修正処理手段
を備えたことを特徴とする画像処理装置。
16. Image data is input from image input means.
An image processing apparatus for performing predetermined image processing and outputting the processed image to an image output unit, wherein an eye for correcting a person image with eyes closed is changed to an image of eyes with eyes closed with eyes closed. An image processing apparatus comprising correction processing means.
【請求項17】請求項16に記載の画像処理装置であっ
てさらに、画像表示装置をを有し、 前記目修正処理手段が瞑っている目を開かせる前記目修
正処理実行中には、前記画像表示装置に目の周辺の拡大
画像を表示できるように制御することを特徴とする画像
処理装置。
17. The image processing apparatus according to claim 16, further comprising an image display device, wherein said eye correction processing means opens the closed eye, and executes said eye correction processing. An image processing apparatus for controlling an image display device to display an enlarged image around the eyes.
JP2000329179A 1999-10-29 2000-10-27 Image processing method and apparatus Expired - Lifetime JP4043708B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000329179A JP4043708B2 (en) 1999-10-29 2000-10-27 Image processing method and apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP30799599 1999-10-29
JP11-307995 1999-10-29
JP2000329179A JP4043708B2 (en) 1999-10-29 2000-10-27 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JP2001197296A true JP2001197296A (en) 2001-07-19
JP4043708B2 JP4043708B2 (en) 2008-02-06

Family

ID=26565366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000329179A Expired - Lifetime JP4043708B2 (en) 1999-10-29 2000-10-27 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP4043708B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2389982A (en) * 2002-06-04 2003-12-24 Hewlett Packard Development Co Image correction system replacing closed eyes with open eyes
JP2006053718A (en) * 2004-08-11 2006-02-23 Noritsu Koki Co Ltd Photographic processor
WO2008099627A1 (en) * 2007-02-15 2008-08-21 Sony Corporation Image processing device and image processing method
WO2008149576A1 (en) * 2007-06-05 2008-12-11 Konami Digital Entertainment Co., Ltd. Image processor, image processing method, program, and information storage medium
US8107771B2 (en) 2007-03-19 2012-01-31 Sony Corporation Image processing apparatus and image processing method
US8363910B2 (en) 2007-03-08 2013-01-29 Sony Corporation Image processing device, image processing method, and program
US8456536B2 (en) 2007-03-26 2013-06-04 Sony Corporation Image processing apparatus, image processing method and program with sightline detection
US8872929B2 (en) 2007-06-25 2014-10-28 Sony Corporation Picture imaging apparatus and imaging control method
KR101728042B1 (en) 2010-10-01 2017-04-18 삼성전자주식회사 Digital photographing apparatus and control method thereof
KR20200090536A (en) * 2019-01-21 2020-07-29 김윤호 Apparatus and method for composing image
KR20210015951A (en) * 2019-05-09 2021-02-10 선전 센스타임 테크놀로지 컴퍼니 리미티드 Image processing method and apparatus, electronic device, and storage medium

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2389982A (en) * 2002-06-04 2003-12-24 Hewlett Packard Development Co Image correction system replacing closed eyes with open eyes
GB2389982B (en) * 2002-06-04 2006-01-11 Hewlett Packard Development Co Image correction system and method
US7146026B2 (en) 2002-06-04 2006-12-05 Hewlett-Packard Development Company, L.P. Image correction system and method
JP2006053718A (en) * 2004-08-11 2006-02-23 Noritsu Koki Co Ltd Photographic processor
KR101401855B1 (en) 2007-02-15 2014-05-29 소니 주식회사 Image processing device and image processing method
WO2008099627A1 (en) * 2007-02-15 2008-08-21 Sony Corporation Image processing device and image processing method
US8482651B2 (en) 2007-02-15 2013-07-09 Sony Corporation Image processing device and image processing method
CN101617339B (en) * 2007-02-15 2013-07-03 索尼株式会社 Image processing device and image processing method
JP2008198062A (en) * 2007-02-15 2008-08-28 Sony Corp Image processor and image processing method
US8363910B2 (en) 2007-03-08 2013-01-29 Sony Corporation Image processing device, image processing method, and program
US8107771B2 (en) 2007-03-19 2012-01-31 Sony Corporation Image processing apparatus and image processing method
US8456536B2 (en) 2007-03-26 2013-06-04 Sony Corporation Image processing apparatus, image processing method and program with sightline detection
JP4764381B2 (en) * 2007-06-05 2011-08-31 株式会社コナミデジタルエンタテインメント Image processing apparatus, image processing method, and program
KR101050978B1 (en) 2007-06-05 2011-07-21 가부시키가이샤 코나미 데지타루 엔타테인멘토 Image processing apparatus, image processing method, program and information storage medium
JP2008304999A (en) * 2007-06-05 2008-12-18 Konami Digital Entertainment:Kk Image processor, image processing method and program
WO2008149576A1 (en) * 2007-06-05 2008-12-11 Konami Digital Entertainment Co., Ltd. Image processor, image processing method, program, and information storage medium
US8872929B2 (en) 2007-06-25 2014-10-28 Sony Corporation Picture imaging apparatus and imaging control method
KR101728042B1 (en) 2010-10-01 2017-04-18 삼성전자주식회사 Digital photographing apparatus and control method thereof
KR20200090536A (en) * 2019-01-21 2020-07-29 김윤호 Apparatus and method for composing image
KR102194909B1 (en) 2019-01-21 2020-12-24 김윤호 Apparatus and method for composing image
KR20210015951A (en) * 2019-05-09 2021-02-10 선전 센스타임 테크놀로지 컴퍼니 리미티드 Image processing method and apparatus, electronic device, and storage medium
KR102445193B1 (en) * 2019-05-09 2022-09-19 선전 센스타임 테크놀로지 컴퍼니 리미티드 Image processing method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
JP4043708B2 (en) 2008-02-06

Similar Documents

Publication Publication Date Title
US7289664B2 (en) Method of detecting and correcting the red eye
US6798921B2 (en) Method for image designating and modifying process
JP4291963B2 (en) Image processing method
US8068645B2 (en) Apparatus, method, and program for image processing
US7206445B2 (en) Method, apparatus and recording medium for image processing
US7251054B2 (en) Method, apparatus and recording medium for image processing
JP2005286395A (en) Image processing system and method therefor
JP2007193824A (en) Image processing method
US6898300B1 (en) Image processing method and apparatus
JP4043708B2 (en) Image processing method and apparatus
JP2006295303A (en) Image processing method, apparatus and program
JP3913604B2 (en) How to create ID photo
JP4172663B2 (en) Image processing method
JP2001148780A (en) Method for setting red-eye correction area and red-eye correction method
US7212674B1 (en) Method, apparatus and recording medium for face extraction
JP2000050080A (en) Digital photograph finishing system containing digital picture processing of film exposure lacking gamma, scene balance, contrast normalization and picture visualization
US20070014483A1 (en) Apparatus, method and program for image processing
JP2000050079A (en) Digital photograph finishing system containing digital picture processing of film exposure lacking gamma scene balance and picture visualization
JP2006350769A (en) Image processing device, method and program
JP4795988B2 (en) Image processing method
JP2001155174A (en) Method and device for image processing
JP4049986B2 (en) Output image area adjustment method
JP4482307B2 (en) Image processing device
JP2001223891A (en) Picture processing method
JP4507082B2 (en) Catch light synthesis method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050902

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071005

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071114

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4043708

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 3

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071005

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111122

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121122

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121122

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131122

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term