JP2634511B2 - Red-eye correction method for photo prints and pictorial hard copy device - Google Patents

Red-eye correction method for photo prints and pictorial hard copy device

Info

Publication number
JP2634511B2
JP2634511B2 JP20004891A JP20004891A JP2634511B2 JP 2634511 B2 JP2634511 B2 JP 2634511B2 JP 20004891 A JP20004891 A JP 20004891A JP 20004891 A JP20004891 A JP 20004891A JP 2634511 B2 JP2634511 B2 JP 2634511B2
Authority
JP
Japan
Prior art keywords
red
eye
color
original image
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP20004891A
Other languages
Japanese (ja)
Other versions
JPH0519382A (en
Inventor
真平 池上
隆章 寺下
誠 村越
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 JP20004891A priority Critical patent/JP2634511B2/en
Publication of JPH0519382A publication Critical patent/JPH0519382A/en
Application granted granted Critical
Publication of JP2634511B2 publication Critical patent/JP2634511B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Exposure In Printing And Copying (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリント写真の赤目修
正方法及びピクトリアルハードコピー装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for correcting red-eye in printed photographs and a pictorial hardcopy apparatus.

【0002】[0002]

【従来の技術】最近、望遠撮影可能なズームコンパクト
カメラの普及が目覚ましい。このズームコンパクトカメ
ラで望遠ストロボ撮影を行うと、赤目の発生確率が急増
するため、この赤目現象は写真業界の深刻な問題となり
つつある。このような赤目を解消するために、従来、フ
ラッシュ発光の前に、キセノンフラッシュやタングステ
ンランプ等により予備発光する機能をカメラに付与した
ものもある。これにより、被写体となる人物の瞳孔の開
度を小さくして赤目の発生を軽減することが行われてい
る。これは、瞳孔の開度が小さいときには赤目の発生が
少ないという事実を利用したものである。
2. Description of the Related Art Recently, zoom compact cameras capable of telephoto photography have been remarkably popularized. When telephoto flash photography is performed with this zoom compact camera, the probability of occurrence of red-eye increases rapidly, and this red-eye phenomenon is becoming a serious problem in the photographic industry. In order to eliminate such red eyes, some cameras have conventionally been provided with a function of performing preliminary light emission by a xenon flash, a tungsten lamp, or the like before flash light emission. As a result, the occurrence of red eyes is reduced by reducing the degree of opening of the pupil of a person as a subject. This utilizes the fact that the occurrence of red eyes is small when the pupil opening is small.

【0003】しかし、上記従来の方法は、赤目の発生を
完全に防止できない、また、予備発光によって、人物の
表情が不自然になる、予備発光を行うための特殊な機構
を必要とする、等の重大な欠点を有する。また、赤目が
発生した場合に、このカラー写真に加筆修正(スポッテ
ィング)を施して、赤目を修正することも行われてい
る。しかし、この方法は熟練した作業者の手作業に頼っ
た方法なので、カラー写真の価格が極めて高くなるとい
う問題がある。
However, the above-mentioned conventional method cannot completely prevent the occurrence of red-eye, makes the expression of a person unnatural due to the preliminary light emission, and requires a special mechanism for performing the preliminary light emission. Has significant disadvantages. In addition, when red-eye occurs, correction (spotting) is performed on the color photograph to correct the red-eye. However, since this method relies on the manual operation of a skilled worker, there is a problem that the price of a color photograph is extremely high.

【0004】また、特開平2−64532号公報には、
赤目発生に関する撮影情報検出手段及びそれらの情報の
記録手段を有するカメラと、これら情報を可視化する情
報出力装置とが開示されている。上記カメラで記録され
た情報は情報出力装置により自動的に検出され、これに
基づき赤目発生の情報が出力される。このように、赤目
の発生を自動的に検出することができるものの、その修
正は従来と同じように、スポッティングに頼るため同様
の問題がある。
[0004] Also, Japanese Patent Application Laid-Open No. 2-64532 discloses that
A camera having photographing information detecting means for occurrence of red-eye and recording means for such information, and an information output device for visualizing such information are disclosed. The information recorded by the camera is automatically detected by the information output device, and based on this information, information on the occurrence of red eyes is output. As described above, although the occurrence of red-eye can be automatically detected, the correction has a similar problem because it depends on spotting as in the related art.

【0005】また、特開平2−114253号公報に
は、焼き込みや覆い焼きが可能なプリンタが開示されて
いる。このプリンタは拡散板上で焼き込み位置を調節
し、これにより赤目を修正する。しかしながら、上記プ
リンタでは赤目領域のみを焼き込んだり、覆い焼きする
ために専用の複雑な装置が必要になり、装置構成が大掛
かりになるという問題がある。
Japanese Patent Laid-Open Publication No. 2-114253 discloses a printer capable of burning and dodging. The printer adjusts the burn position on the diffuser, thereby correcting red eye. However, in the above-described printer, a dedicated complicated device is required for burning or dodging only the red-eye region, and there is a problem that the device configuration becomes large.

【0006】本発明は上記従来の欠点を解消するために
なされたものであり、構成を簡単にして、しかも赤目を
熟練を要することなく簡単に修正することができるよう
にしたプリント写真の赤目の修正方法及びピクトリアル
ハードコピー装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional drawbacks, and has a simple structure and can easily correct the red-eye without requiring skill. It is an object to provide a correction method and a pictorial hardcopy device.

【0007】上記目的を達成するために、本発明は、原
画の各点を測光して画像データを得る工程と、赤目領域
を指定する工程と、赤目領域を所望の瞳孔の色に変換す
る工程と、変換したデータに基づきカラーペーパーに原
画をプリントする工程とを有するものである。
In order to achieve the above object, the present invention provides a method of photometrically measuring each point of an original image to obtain image data, a step of specifying a red-eye area, and a step of converting the red-eye area into a desired pupil color. And printing an original image on color paper based on the converted data.

【0008】また、別の発明は、撮影の際に記録された
撮影情報を読み取る手段と、読み取った撮影情報から赤
目が発生しているか否かを判定する手段と、原画の各点
を測光して画像データを得る手段と、赤目が発生してい
ると判定される時に、赤目領域を抽出する手段と、抽出
した赤目領域を予め設定された瞳孔の色に変換する手段
と、変換したデータに基づき原画をプリントする手段と
から、ピクトリアルハードコピー装置を構成したもので
ある。
Another aspect of the present invention is a means for reading photographing information recorded at the time of photographing, a means for judging whether or not red-eye has occurred from the read photographing information, and a means for metering each point of an original image. Means for obtaining image data, means for extracting a red-eye area when it is determined that red-eye has occurred, means for converting the extracted red-eye area to a preset pupil color, and And a means for printing an original image based on the image data.

【0009】[0009]

【作用】現像処理済のネガフイルムのプリント対象コマ
を三色分解測光する。この測光値と必要に応じて記録さ
れた撮影情報とに基づき赤目が発生しているか否かを判
定する。また、自動判定の他に、ネガフイルムのプリン
ト対象コマを観察して露光補正量を入力するネガ検定の
際に、赤目が発生しているか否かをマニュアル判定す
る。そして、赤目が発生している場合には、デジタル画
像処理機能を有するプリンタにより赤目を修正する。こ
の修正は、赤目を無くして通常の瞳孔の色となるよう
に、赤目領域の測光データを色補正することにより行
う。そして、この補正した色情報に基づきプリント対象
コマの画像をカラーペーパーにプリントする。
The photo frame to be printed on the developed negative film is subjected to three-color separation photometry. It is determined whether or not red-eye has occurred based on the photometric value and the photographing information recorded as necessary. In addition to the automatic determination, a manual determination is made as to whether or not red-eye has occurred during a negative test for inputting an exposure correction amount by observing a print target frame of a negative film. If red-eye occurs, the red-eye is corrected by a printer having a digital image processing function. This correction is performed by performing color correction on the photometry data in the red-eye region so that the red-eye is eliminated and the pupil becomes a normal pupil color. Then, the image of the print target frame is printed on color paper based on the corrected color information.

【0010】[0010]

【実施例】図1は本発明を実施したピクトリアルハード
コピー装置を示す概略図である。現像処理済みのネガフ
イルム10はフイルムキャリア11にセットされる。フ
イルムキャリア11は、周知のようにフイルム送りロー
ラ対12を制御してプリント対象コマをプリント位置に
セットする。このセットは、プリント対象コマのエッジ
を検出することにより行う外に、予めネガフイルムのプ
リント対象コマに付されたノッチを検出することにより
行ってもよい。プリント位置にセットされたコマは、光
源部13により照明される。また、フイルムキャリア1
1のフイルム入口側には磁気読取りヘッド28が配置さ
れており、ネガフイルム10の磁気記録層に記録された
主要被写体の位置情報等の撮影情報を読み取る。磁気読
取り部29は、磁気読取りヘッド28からの信号を各種
撮影情報に変換し、これを画像処理部20に送る。画像
処理部20は、撮影情報を露光量決定や赤目判定に用い
る。
FIG. 1 is a schematic view showing a pictorial hard copy apparatus embodying the present invention. The developed negative film 10 is set on a film carrier 11. As is well known, the film carrier 11 controls the film feed roller pair 12 to set the frame to be printed at the print position. This setting may be performed not only by detecting the edge of the frame to be printed but also by detecting a notch previously attached to the frame to be printed on the negative film. The frame set at the print position is illuminated by the light source unit 13. Also, film carrier 1
A magnetic read head 28 is disposed on the entrance side of the film 1, and reads image information such as position information of a main subject recorded on the magnetic recording layer of the negative film 10. The magnetic reading unit 29 converts a signal from the magnetic reading head 28 into various kinds of photographing information, and sends this to the image processing unit 20. The image processing unit 20 uses the photographing information for determining the amount of exposure and determining red-eye.

【0011】光源部13は、周知のように、光源14と
フイルタ15とミキシングボックス16とから構成され
ている。このプリント対象コマの画像はレンズ17によ
りCCDからなる撮像部18に結像される。撮像部18
は、三色画像信号を画像処理部20に送る。画像処理部
20は、後に詳しく説明するように、プリント対象コマ
を微小な各点に分解し、これら各点の画像データに基づ
き、モニターのカラーCRT22にシミュレート画像を
表示する。
The light source unit 13 includes a light source 14, a filter 15, and a mixing box 16, as is well known. The image of the frame to be printed is formed by the lens 17 on the imaging unit 18 composed of a CCD. Imaging unit 18
Sends a three-color image signal to the image processing unit 20. As will be described later in detail, the image processing unit 20 decomposes the frame to be printed into minute points, and displays a simulated image on the color CRT 22 of the monitor based on the image data of each point.

【0012】また、画像処理部20には赤目修正部23
が接続されている。赤目修正部23はライトペン制御部
24を備えており、ライトペン25で指示された赤目領
域を黒,茶,青等の目の色に変更する。変更する目の色
のカラーパレット26は、画面内に表示され、これをラ
イトペン25で指定することで、指定した目の色となる
ように赤目領域を変更することができる。
The image processing unit 20 includes a red-eye correction unit 23.
Is connected. The red-eye correction unit 23 includes a light pen control unit 24, and changes the red-eye area designated by the light pen 25 to an eye color such as black, brown, or blue. The color palette 26 of the eye color to be changed is displayed on the screen, and by specifying this with the light pen 25, the red-eye area can be changed so as to have the specified eye color.

【0013】ライトペン25で指定した赤目領域データ
とこの領域の色変更データとは、画像処理部20に送ら
れる。画像処理部20は、この変換されたデータをプリ
ンタ27に送る。プリンタ27は、画像処理部20から
のデータに基づきカラーペーパーにプリントを行う。
The red eye area data specified by the light pen 25 and the color change data of this area are sent to the image processing section 20. The image processing unit 20 sends the converted data to the printer 27. The printer 27 performs printing on color paper based on data from the image processing unit 20.

【0014】図2は、画像処理部20のブロック図であ
る。撮像部18からの画像データはA/D変換器30を
経てデジタル化され、これが乗算器31に入る。乗算器
31はノイズ除去のために係数(1−K)を画像データ
に乗じる。この画像データは、セレクタ32を介して加
算器33に入り、乗算器34からのデータと加算され3
ポートのビデオメモリ35に入力される。このビデオメ
モリ35は、それぞれ転送速度の異なった画像データを
出力する。このように2系統の出力を有することで、転
送速度の異なった周辺機器(例えば、CRTディスプレ
ィと写真プリンタ等のように極端に転送速度が違うも
の)へほぼ同時期に画像データを出力することができ
る。ここで、転送速度の遅い方を出力1とし、転送速度
の速い方を出力2とする。出力1は、カメラ入力と同じ
速度とプリンタへ出力するための転送速度との2種類の
速度を持ち、出力2はCRTへの表示のための転送速度
を持つ。
FIG. 2 is a block diagram of the image processing section 20. The image data from the imaging unit 18 is digitized via an A / D converter 30, which enters a multiplier 31. The multiplier 31 multiplies the image data by a coefficient (1-K) to remove noise. This image data enters the adder 33 via the selector 32 and is added to the data from the multiplier 34 to add
It is input to the video memory 35 of the port. The video memory 35 outputs image data having different transfer speeds. By having two outputs in this manner, image data can be output to peripheral devices having different transfer speeds (for example, those having extremely different transfer speeds such as a CRT display and a photographic printer) almost simultaneously. Can be. Here, the output with the lower transfer speed is referred to as output 1, and the output with the higher transfer speed is referred to as output 2. Output 1 has two speeds, the same speed as the camera input and the transfer speed for outputting to the printer, and output 2 has the transfer speed for display on the CRT.

【0015】出力1から出力された画像データは乗算器
34に入り、ノイズ除去のための係数(K)が掛けら
れ、加算器33に入る。ここで読み出された画像データ
は1フレーム前の画像であることはいうまでもない。こ
のようにして、画像データのノイズ成分を除去する。ま
た、乗算器34の係数(K)を「1」にして、入力側の
データを任意のデータセレクタ32によって強制的に
「0」にし、セレクタ36をその領域のみ出力1をON
にし、更に転送速度を倍にし、かつ読み出したデータを
1画素毎に間引いて加算器に入力すれば、1フレーム前
の画像を1/2に縮小した画像が現フレームに嵌め込ま
れる(これをピクチャー・イン・ピクチャーと呼ぶ)。
また、間引きを行わず、書込みの位置のみを制御すれば
同じ画像を半分ずつ並べて表示することもできる。
The image data output from the output 1 enters a multiplier 34, is multiplied by a coefficient (K) for noise removal, and enters an adder 33. It goes without saying that the image data read out here is an image one frame before. Thus, the noise component of the image data is removed. Further, the coefficient (K) of the multiplier 34 is set to “1”, the data on the input side is forcibly set to “0” by an arbitrary data selector 32, and the output 1 is turned ON only in the area of the selector 36.
Further, if the transfer speed is doubled and the read data is thinned out one pixel at a time and input to the adder, an image obtained by reducing the image of one frame before by half is fitted into the current frame (this is -Called in-picture).
If only the writing position is controlled without thinning, the same image can be displayed side by side by half.

【0016】出力2からの画像データはルックアップテ
ーブルメモリ40,41(以下LUTと呼ぶ)を通って
γ補正等が施され、セレクタ42を介してD/A変換器
43に入りアナログ信号に変換されてモニタCRT22
へ出力される。ここで、LUT40は、赤目領域用であ
り、LUT41は赤目領域を除いた領域用である。な
お、LUT40,41は高速なメモリから構成されてい
る。これら赤目領域用LUT40は、赤目を通常の瞳孔
の色に変換するためのものであり、必要に応じて人種に
合わせたデータが予めROM等に記憶されており、所望
の色、例えば黒等を指定することで該当するデータがR
OMから読みだされ、これがマイクロプロセサによりL
UT40に書き込まれる。また、通常領域用LUT41
には、ネガフイルムの画像をカラーCRT22に表示す
るために必要な変換データが書き込まれている。
The image data from the output 2 is subjected to gamma correction and the like through look-up table memories 40 and 41 (hereinafter referred to as LUT), and enters a D / A converter 43 via a selector 42 to be converted into an analog signal. Monitor CRT22
Output to Here, the LUT 40 is for a red-eye area, and the LUT 41 is for an area excluding the red-eye area. The LUTs 40 and 41 are composed of high-speed memories. The red-eye area LUT 40 is for converting red eye into a normal pupil color, and data according to race is stored in advance in a ROM or the like as necessary, and a desired color such as black is used. By specifying, the corresponding data is R
Read from the OM, which is
Written to UT40. In addition, the normal area LUT 41
The conversion data necessary for displaying the image of the negative film on the color CRT 22 is written therein.

【0017】セレクタ42は赤目領域のデータについて
は、LUT40からの出力をD/Aコンバータ43に送
り、また赤目領域以外の領域については、LUT41か
らの出力をD/Aコンバータ43に送る。これにより、
赤目領域が通常のプリントのような例えば黒目にされて
CRT22に表示される。各LUT40,41には、各
アドレスに対応したデータをあらかじめマイクロプロセ
サ45から書き込むことで、赤目領域とこれ以外の領域
との色調変換が行える。マイクロプロセサ45は、LU
Tのデータの書き換えの外に、色補正マトリックスの係
数、乗算器の係数等を自由に書き換えることができる。
The selector 42 sends the output from the LUT 40 to the D / A converter 43 for the data in the red-eye area, and sends the output from the LUT 41 to the D / A converter 43 for the area other than the red-eye area. This allows
The red-eye area is displayed on the CRT 22 as, for example, black-eye as in a normal print. By writing data corresponding to each address into the LUTs 40 and 41 from the microprocessor 45 in advance, the color tone conversion between the red-eye region and the other region can be performed. The microprocessor 45 is an LU
In addition to rewriting the data of T, the coefficient of the color correction matrix, the coefficient of the multiplier, and the like can be freely rewritten.

【0018】フリーズされた画像データをプリンタへ転
送する時は、画像データはビデオメモリ35の出力1か
ら読み出される。この画像データは、補正用のLUT5
0により、前記LUT40と同じように、赤目領域が通
常の瞳孔の色に変換され、その他の領域はLUT51に
より、ネガフイルムの画像をカラーペーパーにプリント
するために必要な色変換が行われる。色変換された画像
データは、色補正マトリックス回路51によりカラーペ
ーパー等の色特性に合わせられ、プリンタ用インターフ
ェイス52を介して、プリンタ53へ送られる。プリン
タ53としては光学式カラープリンタの外に、感熱方式
のカラープリンタやインクジェット方式のカラープリン
タを用いることができる。光学式プリンタは周知のよう
に、記録スタイラスとしてCRTや液晶表示パネル、レ
ーザービーム等の光ビームを用い、記録媒体として感光
材料を用いる。
When transferring the frozen image data to the printer, the image data is read from the output 1 of the video memory 35. This image data is stored in a correction LUT 5
As in the case of the LUT 40, the red-eye region is converted to a normal pupil color, and the LUT 51 performs the necessary color conversion for printing the negative film image on color paper, in the other regions. The color-converted image data is adjusted to the color characteristics of color paper or the like by a color correction matrix circuit 51 and sent to a printer 53 via a printer interface 52. As the printer 53, a thermal color printer or an ink jet color printer can be used in addition to the optical color printer. As is well known, an optical printer uses a CRT or a liquid crystal display panel, a light beam such as a laser beam as a recording stylus, and uses a photosensitive material as a recording medium.

【0019】なお、上記実施例は、ネガフイルム10を
用いてカラーペーパーにプリントすることでピクトリア
ルハードコピーを得たが、この外に、カラーポジフイル
ム等の原画像からも同様にしてピクトリアルハードコピ
ーを作成することができる。また、電子スチルカメラ等
のデジタル化した画像データからピクトリアルハードコ
ピーを作成してもよい。
In the above embodiment, a pictorial hard copy was obtained by printing on a color paper using the negative film 10. In addition, a pictorial hard copy was similarly obtained from an original image such as a color positive film. You can make a copy. Further, a pictorial hard copy may be created from digitized image data of an electronic still camera or the like.

【0020】また、上記実施例では、ハードウェアによ
り画像処理部20を構成したが、この他に、パソコンに
よる画像処理ソフトを用いてマニュアル操作により赤目
修正を行うようにしてもよい。パソコンとしては例えば
マッキントッシュ(商品名)を用い、ソフトとしては例
えば、カラー画像処理ソフト Adobe Photoshop(商品
名)を用いる。
In the above-described embodiment, the image processing unit 20 is configured by hardware. Alternatively, the red-eye correction may be performed by manual operation using image processing software by a personal computer. As the personal computer, for example, Macintosh (product name) is used, and as the software, for example, color image processing software Adobe Photoshop (product name) is used.

【0021】また、上記実施例では、赤目の判定及びそ
の修正をマニュアルで行っているが、これは自動で行う
ようにしてもよい。赤目の自動判定を行う場合には、撮
影の際にフイルムの磁気記録層等に記録される撮影情報
を用いる。そして、赤目の発生コマを特定した後は、こ
れに対しマニュアル修正やオート修正を行うようにして
もよい。撮影情報としては、カメラ側で撮影条件から赤
目が発生するか否かを判定して、これを記録し、プリン
ト時にこの赤目発生情報を用いるようにしてもよい。
Further, in the above embodiment, the determination of the red eye and the correction thereof are performed manually, but this may be performed automatically. When performing automatic red-eye determination, photographing information recorded on a magnetic recording layer or the like of the film at the time of photographing is used. After specifying the frame in which red-eye occurs, manual correction or automatic correction may be performed on the frame. As the photographing information, the camera may determine from the photographing conditions whether or not red-eye occurs, record this, and use this red-eye occurrence information during printing.

【0022】更には、カメラ側で赤目の発生を判定する
代わりに、プリンタ側で撮影情報から赤目が発生してい
るか否かを判定するようにしてもよい。この場合には、
カメラのタイプ、ストロボ発光の有無、LV値、レンズ
焦点距離(F)、撮影距離(D)等の撮影情報を用いて
赤目が発生しているか否かを判定する。例えば、図3に
示すように、カメラのタイプがコンパクトカメラ、特に
ズームコンパクトカメラであり、LV値が8以下、Fが
50mm以上、特に70mm以上、Dが2m以上、特に3m
以上の時に、赤目が発生していると判定する。そして、
赤目が発生している場合には、これを警報等でオペレー
タに知らせ、この後は、上記実施例と同じように、マニ
ュアル操作により赤目の修正を行う。
Further, instead of determining the occurrence of red-eye on the camera side, the printer may determine whether or not red-eye has occurred based on the photographing information. In this case,
It is determined whether or not red-eye has occurred using photographing information such as the type of camera, whether or not strobe light is emitted, an LV value, a lens focal length (F), and a photographing distance (D). For example, as shown in FIG. 3, the camera type is a compact camera, particularly a zoom compact camera, and has an LV value of 8 or less, F of 50 mm or more, particularly 70 mm or more, and D of 2 m or more, especially 3 m.
At this time, it is determined that red-eye has occurred. And
If red-eye has occurred, this is notified to the operator by an alarm or the like, and thereafter, as in the above-described embodiment, the red-eye is corrected by manual operation.

【0023】更には、マニュアル操作に代えて、図4に
示すように、自動的に赤目修正を行うようにしてもよ
い。この場合には、赤目となる色の各色(R,G,B)
の範囲を過去の統計データにより予め決定しておく。こ
のとき、フイルムの種類や露光条件により各色の範囲を
決定しておくことで、より一層精度よく赤目範囲を決定
することができる。赤目領域の判定に際し、予め赤目を
判定するための領域を主要部位置情報等により絞ってお
くことが好ましい。この場合には、先ず主要部位置情報
で被写体の顔の部分を抽出し、この顔の領域から目が位
置する領域を指定することで、赤目を判定する領域をか
なり絞り込むことができる。
Further, instead of manual operation, red-eye correction may be automatically performed as shown in FIG. In this case, each color of red eye color (R, G, B)
Is determined in advance based on past statistical data. At this time, by determining the range of each color according to the type of the film and the exposure conditions, the red-eye range can be determined with higher accuracy. In determining the red-eye area, it is preferable to narrow down the area for determining red-eye in advance based on main part position information or the like. In this case, the area of the face of the subject is first extracted from the main part position information, and the area where the eyes are located is specified from the area of the face, so that the area for determining red eyes can be narrowed down considerably.

【0024】顔の領域の画面上での位置の特定は、以下
のようにして行う。 撮影時に被写体距離データをフ
イルムの記録媒体に記録しておき、これをプリント時に
読み出して、これとプリント対象コマの画像データとか
ら顔サイズを推定し、これにより原画の顔領域を判定す
る(特開平2−287531号公報)。撮影時に被写
体距離データをフイルムの記録媒体に記録する。プリン
タ側では、被写体距離データ毎に主要部を示すパターン
を予め決定しておき、プリント時に被写体距離データに
応じて選択したパターンにより主要部である顔領域を特
定する(特願平1−176416号)。 複数の測距
エリアのうち、主要被写体が存在する測距エリアの情報
をフイルムに記録し、この情報を用いて顔領域を決定す
る(特願平1−232487号)。 測定された主要
被写体の輝度と、この主要被写体の画面上での位置を撮
影時に記録媒体に記録する。プリント時にこれら記録情
報を用いて顔領域を特定する(特願平1−269957
号)。 作画意図や主要被写体位置情報を撮影時にフ
イルムにマニュアル操作で記録し、この情報を用いて主
要画像部を決定する(特願平1−186827号,同1
−186828号)。 測距時の主要部と撮影時の主
要部とのイメージ信号を比較して主要部の画面内での記
録位置を検出し、これをフイルムに記録する。プリント
時にこの主要部位置情報を用いて主要画像部を決定する
(特願平1−208834号)。 被写体の検出範囲
を指定する手段と、検出範囲内に存在する被写体の距離
及び画面上での位置を検出する手段とを用いて画面上の
主要被写体位置を特定し、これをフイルムに記録する
(特願平1−301776号)。 上記〜のよう
に、撮影時に主要被写体を特定するための情報を記録す
ることなく、画像データから主要部の位置を特定する方
法としては、画像データ中の肌色データに基づき主要部
を特定するもの(特開昭52−156624号公報)
や、背景部を除去することで主要部を特定するもの(特
開昭59−65835号公報)等がある。
The position of the face area on the screen is specified as follows. The subject distance data is recorded on the film recording medium at the time of photographing, is read out at the time of printing, and the face size is estimated from this and the image data of the frame to be printed, thereby determining the face area of the original image. JP-A-2-287531). At the time of photographing, subject distance data is recorded on a film recording medium. On the printer side, a pattern indicating a main part is determined in advance for each subject distance data, and a face area which is a main part is specified by a pattern selected according to the subject distance data at the time of printing (Japanese Patent Application No. 1-176416). ). Among the plurality of ranging areas, information on the ranging area where the main subject is present is recorded on a film, and a face area is determined using this information (Japanese Patent Application No. 1-223487). The measured luminance of the main subject and the position of the main subject on the screen are recorded on a recording medium at the time of shooting. At the time of printing, the face area is specified by using the recorded information (Japanese Patent Application No. 1-269957).
issue). The intention of drawing and the main subject position information are manually recorded on the film at the time of shooting, and the main image portion is determined using this information (Japanese Patent Application No. 1-186827, 1).
-186828). The image signals of the main part at the time of distance measurement and the main part at the time of shooting are compared to detect the recording position of the main part in the screen, and this is recorded on a film. At the time of printing, a main image portion is determined using the main portion position information (Japanese Patent Application No. 1-208834). A main subject position on the screen is specified using means for designating the detection range of the subject and means for detecting the distance of the subject present in the detection range and the position on the screen, and this is recorded on a film ( Japanese Patent Application No. 1-301776). As described above, as a method of specifying the position of the main part from the image data without recording information for specifying the main subject at the time of shooting, a method of specifying the main part based on skin color data in the image data (JP-A-52-156624)
Also, there is a method in which a main part is specified by removing a background part (Japanese Patent Laid-Open No. 59-65835).

【0025】赤目か否かの判定は、絞り込んだ領域中の
各点の画像データが赤目であることを示す範囲内にある
か否かにより行う。先ず、図5に示すように、各点の画
像データRiから赤色系回路60のCRi 算出部61に
より、数式1により赤色の平均濃度からのずれ量を示す
CRi を求める。
The determination as to whether or not the eye is a red eye is made based on whether or not the image data of each point in the narrowed area is within a range indicating that the eye is a red eye. First, as shown in FIG. 5, the CRi calculating unit 61 of the red-related circuit 60 calculates CRi, which indicates the amount of deviation from the average density of red, from the image data Ri of each point using Equation 1.

【0026】[0026]

【数1】CRi=Ri−(Ri+Gi+Bi)/3## EQU1 ## CRi = Ri- (Ri + Gi + Bi) / 3

【0027】そして、色範囲検出部62の比較器63,
64により、CRi が数式2の不等式を満足するか否か
を判定する。
The comparator 63 of the color range detecting section 62
According to 64, it is determined whether or not CRi satisfies the inequality of Equation 2.

【0028】[0028]

【数2】KRmin <CRi<KRmaxKRmin <CRi <KRmax

【0029】各比較器63,64には、色範囲指定のた
めの基準値入力部65,66が接続されていて、これに
はマイクロプロセサから基準値KRmin ,KRmax が入
力される。色範囲検出部62の判定信号は、赤目検出部
70に入力される。同様に他の緑色系,青色系の各回路
71,72により、数式3,数式4に基づきCGi ,C
Bi が求められ、数式5,数式6に基づき所定の色範囲
に属するか否か検出される。これらの検出信号も、赤目
検出部70に入力される。
The comparators 63 and 64 are connected to reference value input sections 65 and 66 for designating a color range, to which reference values KRmin and KRmax are input from a microprocessor. The determination signal of the color range detection unit 62 is input to the red-eye detection unit 70. Similarly, the other green and blue circuits 71 and 72 calculate CGi, C
Bi is determined, and it is detected based on Equations 5 and 6 whether or not it belongs to a predetermined color range. These detection signals are also input to the red-eye detection unit 70.

【0030】[0030]

【数3】CGi=Gi−(Ri+Gi+Bi)/3CGi = Gi− (Ri + Gi + Bi) / 3

【0031】[0031]

【数4】CBi=Bi−(Ri+Gi+Bi)/3CBi = Bi- (Ri + Gi + Bi) / 3

【0032】[0032]

【数5】KGmin <CGi<KGmaxKGmin <CGi <KGmax

【0033】[0033]

【数6】KBmin <CBi<KBmax## EQU6 ## KBmin <CBi <KBmax

【0034】赤目検出部70はアンド回路75から構成
されており、R,G,Bの3系列の判定信号の論理積に
より赤目発生か否かを判別する。すなわち、CRi , C
Gi, CBi が各不等式を満たす場合に、赤目が発生し
ていると判定する。なお、これら不等式中の基準値KR
min , KRmax , KGmin , KGmax , KBmin , KB
max は予め統計的手法により求めておく。
The red-eye detecting section 70 is composed of an AND circuit 75, and determines whether or not red-eye has occurred based on the logical product of three determination signals of R, G, and B. That is, CRi, C
If Gi and CBi satisfy each inequality, it is determined that red-eye has occurred. Note that the reference value KR in these inequalities is
min, KRmax, KGmin, KGmax, KBmin, KB
max is determined in advance by a statistical method.

【0035】次に、赤目であると判定した時に、色切換
え部80により赤目に相当する領域を別の色(例えば、
黒)に置き換える。すなわち、判別信号がオンならば指
定色Rrに切り換える。また、判別信号がオフならば、
入力Ri をそのまま出力Roとする。なお、本実施例で
は、各色を8ビットのデータとして取り扱っており、こ
の色切換え部80のアンド回路81は、図6に示すよう
にアンド回路82A〜82Hから構成されている。
Next, when it is determined that the eye is a red eye, the area corresponding to the red eye is changed to another color (for example,
Black). That is, if the determination signal is on, the color is switched to the designated color Rr. If the discrimination signal is off,
The input Ri is directly used as the output Ro. In this embodiment, each color is handled as 8-bit data, and the AND circuit 81 of the color switching unit 80 includes AND circuits 82A to 82H as shown in FIG.

【0036】なお、単に色を置き換えるだけでは、生き
生きとした目にならない場合には、単純な色の置き換え
に代えて、図7に示すようにLUT85を用いて明度あ
るいは彩度を落とす方向に画像データを変換する。これ
により、原情報が活きてくるので、不自然な感じを与え
ることは少なくなる。
If the eyes do not come to life simply by replacing the colors, instead of the simple replacement of the colors, the LUT 85 is used as shown in FIG. Transform the data. As a result, the original information comes to life, and the appearance of unnatural feeling is reduced.

【0037】次に、実施結果について説明する。一般的
なズームコンパクトカメラにカラーネガフイルムSHG
−400を装填して、70mmの望遠フラッシュ撮影を、
予備発光有りと無しに分けて行った。そして、撮影済の
ネガフイルムを通常と同じように、現像処理し従来のプ
ロセスでプリントを作成した。予備発光有りの場合に
は、赤目は軽症であるが修正を要するレベルであった。
また、顔の表情は予備発光のために不自然となってい
た。予備発光無しの場合には、赤目は顕著であった。し
かし、顔の表情は自然であった。これら2つの画像デー
タをネガフイルムからスキャナーを用いて読み取り、次
に赤目の修正をマッキントッシュのパソコンとカラー画
像処理ソフト( Adobe Photoshop)とを用いて行った。
更に、カラーペーパーにレザープリンタ( Proceeding
of Image Analysis TechniquesAnd Applications
(SPSE) Tucson Az(1981) P30-P37) で露光してカ
ラープリントを作成した。この結果、上記予備発光有り
及び無し共に、赤目は修正されており、表情の自然な予
備発光無しの方が好ましい写真となった。
Next, the results of the implementation will be described. Color negative film SHG for general zoom compact camera
With the -400 loaded, you can shoot a 70mm telephoto flash,
The test was performed separately with and without preliminary light emission. Then, the photographed negative film was developed in the same manner as usual, and a print was formed by a conventional process. With the preliminary light emission, the red-eye was mild but at a level requiring correction.
In addition, the facial expression was unnatural due to preliminary light emission. In the case where there was no preliminary light emission, red eyes were remarkable. However, the facial expression was natural. These two image data were read from the negative film using a scanner, and then the red-eye was corrected using a Macintosh personal computer and color image processing software (Adobe Photoshop).
In addition, a leather printer (Proceeding
of Image Analysis TechniquesAnd Applications
(SPSE) Tucson Az (1981) P30-P37) to make a color print. As a result, the red-eye was corrected in both the presence and absence of the preliminary light emission, and the photograph without natural preliminary light emission with a natural expression was more preferable.

【0038】[0038]

【発明の効果】以上説明したように、本発明によれば、
原画の各点を測光して画像データを得て、赤目が発生し
ていると判定される時に、画像データから赤目領域を抽
出し、抽出した赤目領域を予め設定された瞳孔の色に変
換するようにしたから、スポッティングのように熟練を
要することなく赤目の修正を簡単にしかも仕上がりよく
行うことができる。しかも、撮影情報から赤目が発生し
ているか否か判定して、赤目が発生していると判定され
る時に、抽出した赤目領域を予め設定された瞳孔の色に
変換して、カラーペーパーに原画をプリントすること
で、自動的に赤目の修正を行うこともできる。
As described above, according to the present invention,
Each point of the original image is measured to obtain image data, and when it is determined that red-eye has occurred, a red-eye region is extracted from the image data, and the extracted red-eye region is converted into a preset pupil color. Thus, the correction of red-eye can be performed easily and with good finish without requiring skill such as spotting. In addition, it is determined whether or not red-eye has occurred based on the photographing information. When it is determined that red-eye has occurred, the extracted red-eye region is converted into a preset pupil color, and the original image is printed on color paper. You can also automatically correct red-eye by printing.

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

【図1】本発明を実施した写真プリンタを示す概略図で
ある。
FIG. 1 is a schematic view showing a photographic printer embodying the present invention.

【図2】画像処理部のブロック図である。FIG. 2 is a block diagram of an image processing unit.

【図3】撮影情報から赤目を自動判定するためのフロー
チャートである。
FIG. 3 is a flowchart for automatically determining red-eye from photographing information.

【図4】赤目を自動修正するためのフローチャートであ
る。
FIG. 4 is a flowchart for automatically correcting red eyes.

【図5】赤目を自動修正するための回路図である。FIG. 5 is a circuit diagram for automatically correcting red eyes.

【図6】色切換え部のアンド回路の詳細を示す回路図で
ある。
FIG. 6 is a circuit diagram showing details of an AND circuit of a color switching unit.

【図7】LUTを用いて赤目を修正するための回路図で
ある。
FIG. 7 is a circuit diagram for correcting red-eye using an LUT.

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

10 ネガフイルム 18 撮像部 20 画像処理部 22 モニターCRT 25 ライトペン 60 赤色系回路 62 色範囲検出部 70 赤目検出部 71 緑色系回路 72 青色系回路 80 色切換え部 DESCRIPTION OF SYMBOLS 10 Negative film 18 Image pick-up part 20 Image processing part 22 Monitor CRT 25 Light pen 60 Red system circuit 62 Color range detection part 70 Red eye detection part 71 Green system circuit 72 Blue system circuit 80 Color switching part

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ストロボ撮影で赤目が発生した写真原画
から写真プリントを作成する方法において、原画の各点
を測光して画像データを得る工程と、赤目領域を指定す
る工程と、赤目領域を所望の瞳孔の色に変換する工程
と、変換したデータに基づき原画をカラーペーパーにプ
リントする工程とを有することを特徴とする写真プリン
トの赤目修正方法。
1. A method for producing a photographic print from a photographic original image in which red-eye has occurred during stroboscopic photographing, comprising the steps of: metering each point of the original image to obtain image data; specifying a red-eye region; A step of converting the pupil color into a pupil color and a step of printing an original image on color paper based on the converted data.
【請求項2】 ストロボ撮影で赤目が発生したピクトリ
アル原画からピクトリアルハードコピーを作成する装置
において、撮影の際に記録された撮影情報を読み取る手
段と、読み取った撮影情報から赤目が発生しているか否
かを判定する手段と、原画の各点を測光して画像データ
を得る手段と、赤目が発生していると判定される時に、
赤目領域を抽出する手段と、抽出した赤目領域を予め設
定された瞳孔の色に変換する手段と、変換したデータに
基づき原画をプリントする手段とを有することを特徴と
するピクトリアルハードコピー装置。
2. An apparatus for producing a pictorial real hard copy from a pictorial original image in which red eyes have been generated by flash photography, means for reading photography information recorded at the time of photography, and red eye occurring from the read photography information. Means for determining whether or not there is, a means for photometrically measuring each point of the original image to obtain image data, and when it is determined that red-eye has occurred,
A pictorial hard copy apparatus comprising: means for extracting a red-eye area; means for converting the extracted red-eye area into a predetermined pupil color; and means for printing an original image based on the converted data.
JP20004891A 1991-07-15 1991-07-15 Red-eye correction method for photo prints and pictorial hard copy device Expired - Fee Related JP2634511B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20004891A JP2634511B2 (en) 1991-07-15 1991-07-15 Red-eye correction method for photo prints and pictorial hard copy device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20004891A JP2634511B2 (en) 1991-07-15 1991-07-15 Red-eye correction method for photo prints and pictorial hard copy device

Publications (2)

Publication Number Publication Date
JPH0519382A JPH0519382A (en) 1993-01-29
JP2634511B2 true JP2634511B2 (en) 1997-07-30

Family

ID=16417965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20004891A Expired - Fee Related JP2634511B2 (en) 1991-07-15 1991-07-15 Red-eye correction method for photo prints and pictorial hard copy device

Country Status (1)

Country Link
JP (1) JP2634511B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7853048B2 (en) 2007-03-15 2010-12-14 Omron Corporation Pupil color correction device and program

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2907120B2 (en) * 1996-05-29 1999-06-21 日本電気株式会社 Red-eye detection correction device
US7630006B2 (en) * 1997-10-09 2009-12-08 Fotonation Ireland Limited Detecting red eye filter and apparatus using meta-data
US7024035B1 (en) 1999-09-07 2006-04-04 Fuji Photo Film Co., Ltd. Method of setting region to be subjected to red eye correction and red eye correcting method
US7289664B2 (en) 2002-01-17 2007-10-30 Fujifilm Corporation Method of detecting and correcting the red eye
JP4574249B2 (en) * 2004-06-29 2010-11-04 キヤノン株式会社 Image processing apparatus and method, program, and imaging apparatus
JP4175425B2 (en) 2007-03-15 2008-11-05 オムロン株式会社 Pupil color correction apparatus and program
JP4492644B2 (en) * 2007-06-01 2010-06-30 セイコーエプソン株式会社 Red-eye correction device, red-eye correction method, and red-eye correction program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7853048B2 (en) 2007-03-15 2010-12-14 Omron Corporation Pupil color correction device and program

Also Published As

Publication number Publication date
JPH0519382A (en) 1993-01-29

Similar Documents

Publication Publication Date Title
US7289664B2 (en) Method of detecting and correcting the red eye
JP3011432B2 (en) Color image processing equipment
JP4172663B2 (en) Image processing method
JP3728744B2 (en) Printing method and apparatus
JP2001148780A (en) Method for setting red-eye correction area and red-eye correction method
JP2003204459A (en) Digital camera and image reproducing apparatus
JP2003209683A (en) Image processing equipment and image processing method
JP2634511B2 (en) Red-eye correction method for photo prints and pictorial hard copy device
JP4281244B2 (en) Image forming apparatus, image data processing method, and recording medium recording image data processing program
JP2001358928A (en) Image correction device
JP3358033B2 (en) Image correction device and image correction method
JP4655210B2 (en) Density correction curve generation method and density correction curve generation module
JPH09261505A (en) Color correction condition calculating method, printing, exposure quantity deciding method, image processing method, image processor, image forming device, printing, exposure device and storage medium
JPS62186247A (en) Method for determining quantity of exposure for photographic printing
JP3964796B2 (en) Red-eye detection and correction method
JPH1075374A (en) Image processing unit and its method
JPS63305335A (en) Method and device for correcting shading of video printer
JP2001177732A (en) Image processor
JP3862198B2 (en) ID photo photographing apparatus, image processing apparatus and ID photo creating system
JPH11249241A (en) Image processing method and image processing device
JP4333016B2 (en) Image forming apparatus, image data processing method, and recording medium recording image data processing program
JP2634511C (en)
JP2682753B2 (en) Pictorial hard copy device
JP4285868B2 (en) Main subject extraction method, image processing apparatus, and imaging apparatus
JP2749801B2 (en) How to set color image analysis conditions

Legal Events

Date Code Title Description
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

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20080425

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20090425

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

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20090425

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

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20100425

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

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees