JP2001222710A - Device and method for image processing - Google Patents

Device and method for image processing

Info

Publication number
JP2001222710A
JP2001222710A JP2000031490A JP2000031490A JP2001222710A JP 2001222710 A JP2001222710 A JP 2001222710A JP 2000031490 A JP2000031490 A JP 2000031490A JP 2000031490 A JP2000031490 A JP 2000031490A JP 2001222710 A JP2001222710 A JP 2001222710A
Authority
JP
Japan
Prior art keywords
image
scene
density
image processing
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.)
Withdrawn
Application number
JP2000031490A
Other languages
Japanese (ja)
Inventor
Hiroaki Nakamura
博明 中村
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 JP2000031490A priority Critical patent/JP2001222710A/en
Publication of JP2001222710A publication Critical patent/JP2001222710A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processor capable of obtaining a high quality image more stably for images photographed in various scenes such as stably and appropriately reproducing the skin part of a person even in the case of photographing the person by using flash. SOLUTION: This image processor has a scene discriminating part discriminating an image scene from image information, a setting part which analyzes the image information and sets a compression processing condition with which image gradation is compressed through different intensities or characteristics in accordance with this analysis results and scene discrimination results by the scene discriminating part, and a processing part processing the image information in accordance with the compression processing condition set by the setting part to solve the above problem.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル写真プリ
ンタ等に利用されるデジタルの画像処理の技術分野に属
し、特に、フラッシュ撮影シーンや逆光シーンであって
も、明部や暗部のツブレを低減して高画質な画像の再生
を可能にする画像処理装置および画像処理方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention belongs to the technical field of digital image processing used in digital photographic printers and the like, and in particular, reduces blurring of bright and dark areas even in flash photography scenes and backlight scenes. And an image processing method capable of reproducing a high-quality image.

【0002】[0002]

【従来の技術】現在、ネガフィルム、リバーサルフィル
ム等の写真フィルム(以下、フィルムとする)に撮影さ
れた画像の感光材料(印画紙)への焼き付けは、フィル
ムの画像を感光材料に投影して露光する、いわゆる直接
露光が主流である。
2. Description of the Related Art At present, an image photographed on a photographic film (hereinafter referred to as a film) such as a negative film or a reversal film is printed on a photosensitive material (photographic paper) by projecting an image of the film onto the photosensitive material. Exposure, so-called direct exposure, is the mainstream.

【0003】これに対し、近年では、デジタル露光を利
用する焼付装置、すなわち、フィルムに記録された画像
を光電的に読み取って、読み取った画像をデジタル信号
とした後、種々の画像処理を施して記録用の画像データ
とし、この画像データに応じて変調した記録光によって
感光材料を走査露光して画像(潜像)を記録し、(仕上
り)プリントとするデジタルフォトプリンタが実用化さ
れた。
On the other hand, in recent years, a printing apparatus using digital exposure, that is, an image recorded on a film is photoelectrically read, the read image is converted into a digital signal, and then various image processing is performed. 2. Description of the Related Art Digital photo printers have been put to practical use, in which image data (latent images) are recorded by scanning and exposing a photosensitive material with recording light modulated in accordance with the image data, and the resulting images are printed.

【0004】デジタルフォトプリンタは、基本的に、フ
ィルムに読取光を入射して、その投影光を読み取ること
によって、フィルムに記録された画像を光電的に読み取
るスキャナ(画像読取装置)と、スキャナによって読み
取られた画像データやデジタルカメラ等から供給された
画像データに所定の処理を施し、画像記録のための画像
データすなわち露光条件とする画像処理装置と、画像処
理装置から出力された画像データに応じて、例えば光ビ
ーム走査によって感光材料を走査露光して潜像を記録す
るプリンタ(画像記録装置)と、プリンタによって露光
された感光材料に現像処理を施して、画像が再生された
(仕上り)プリントとするプロセサ(現像装置)とを有
して構成される。
A digital photo printer basically includes a scanner (image reading apparatus) that photoelectrically reads an image recorded on a film by reading light incident on the film and reading the projected light. A predetermined process is performed on the read image data or the image data supplied from the digital camera or the like, and the image data for image recording, that is, an image processing device that is used as an exposure condition, and an image data output from the image processing device. For example, a printer (image recording apparatus) that scans and exposes a photosensitive material by light beam scanning to record a latent image and develops the photosensitive material exposed by the printer to reproduce an image (finished) (Developing device).

【0005】このようなデジタルフォトプリンタによれ
ば、画像をデジタルの画像データとして、画像データの
処理によって画像の処理(適正化)を行うことができる
ので、階調調整、カラーバランス調整、色/濃度調整、
シャープネス(鮮鋭化)処理等を好適に行って、従来の
直接露光では得られなかった高品位なプリントを得るこ
とができる。しかも、デジタルフォトプリンタによれ
ば、デジタルカメラ等で撮影された画像もプリントとし
て出力することもできる。このような画像データの処理
による画像処理の一例として、直接露光によるプリント
における覆い焼き効果を付与することが挙げられる。
According to such a digital photo printer, the image can be processed (optimized) by processing the image data as digital image data, so that gradation adjustment, color balance adjustment, color / color adjustment can be performed. Density adjustment,
By suitably performing a sharpness (sharpening) process or the like, a high-quality print that cannot be obtained by conventional direct exposure can be obtained. Moreover, according to the digital photo printer, an image photographed by a digital camera or the like can be output as a print. As an example of image processing by processing such image data, giving a dodging effect in printing by direct exposure is given.

【0006】[0006]

【発明が解決しようとする課題】写真の撮影条件は多種
多様であり、例えば、フラッシュ撮影や逆光シーンのよ
うに、画像の明暗の差、すなわちフィルムに撮影された
画像の最低濃度から最高濃度までの領域(最高濃度と最
低濃度の差=画像濃度のダイナミックレンジ)が、非常
に広い場合も多々ある。ところが、感光材料(印画紙)
は、フィルムに比して再現可能な濃度範囲が狭い。その
ため、ダイナミックレンジが広いフィルム画像を用い
て、通常の方法で感光材料を露光(焼き付け)してプリ
ントを作成すると、画像が適正に再生されない場合があ
る。例えば、人物を逆光で撮影した場合、人物が好適な
画像となるように露光を行うと、プリントに再生された
画像では空のような明るい部分は白く飛んでしまい、逆
に、空が好適な画像となるように露光を行うと、人物が
黒くつぶれてしまう。
The photographing conditions of a photograph are various. For example, as in the case of flash photography or a backlight scene, the difference in brightness of an image, that is, from the minimum density to the maximum density of an image photographed on a film. (The difference between the highest density and the lowest density = dynamic range of image density) is often very wide. However, photosensitive materials (photographic paper)
Has a narrower reproducible density range than a film. Therefore, when a print is created by exposing (printing) a photosensitive material by a normal method using a film image having a wide dynamic range, the image may not be properly reproduced. For example, when a person is photographed in backlight, if a person is exposed so as to be a suitable image, a bright portion such as the sky will fly white in the image reproduced in the print, and conversely, the sky is preferable. When exposure is performed to form an image, a person is blackened.

【0007】そのため、従来の面露光による焼付装置で
は、ダイナミックレンジが広いフィルム画像からプリン
トを作成する際には、いわゆる覆い焼きが行われてい
る。覆い焼きとは、露光光路中に遮光板やNDフィルタ
等を挿入する等の方法を用いて、例えばネガフィルムか
らのプリント作成であれば、画像が飛びそうな明部は露
光量を増加し、逆に、画像がつぶれそうな暗部の露光量
を低減することにより、フィルムに撮影された画像の全
濃度領域が適正に再生されたプリントを得る技術であ
る。
Therefore, in a conventional printing apparatus using surface exposure, when a print is created from a film image having a wide dynamic range, so-called dodging is performed. Dodging means using a method such as inserting a light-shielding plate or an ND filter in the exposure light path. For example, if a print is made from a negative film, a bright portion where an image is likely to fly increases the exposure amount, Conversely, this technique is to obtain a print in which the entire density region of an image photographed on a film is properly reproduced by reducing the exposure amount in a dark portion where the image is likely to be crushed.

【0008】本出願人は、デジタルフォトプリンタ等に
おいて、このような直接露光における覆い焼きと同様の
効果を付与した画像の再生を、画像データの処理によっ
て可能にした画像処理方法および画像処理装置を先に提
案している(特開平10−13680号公報)。
The present applicant has developed an image processing method and an image processing apparatus in a digital photo printer or the like which enable reproduction of an image having the same effect as dodging in such direct exposure by processing image data. It has been previously proposed (JP-A-10-13680).

【0009】この画像処理(以下、便宜的に、覆い焼き
処理とする)は、スキャナ等から供給された画像(画像
データ)を解析して画像状態を判別し、この判別結果に
応じて、フィルムに撮影された全濃度領域が、プリンタ
等の出力装置で適正に再現されるように、画像の階調を
圧縮して、画像のダイナミックレンジを出力装置に応じ
た範囲となるように圧縮するものである。
In this image processing (hereinafter referred to as dodging processing for convenience), an image (image data) supplied from a scanner or the like is analyzed to determine an image state. A device that compresses the gradation of an image so that the entire density area photographed in the printer can be properly reproduced on an output device such as a printer, and compresses the dynamic range of the image so that the range is in accordance with the output device. It is.

【0010】具体的には、判別した画像状態に応じて、
画像の中間濃度部分は変化させずに、明部(低濃度部
分)および暗部(高濃度部分)を、独立で、線形もしく
は非線形に圧縮する。例えば、撮影シーンにおける明部
(ネガフィルムの高濃度部=再生画像の低濃度部)の画
像データが大きな数値となるシステムであれば、画像の
飛びそうな明部(画像データ大)の画像データは小さく
し、画像のつぶれそうな暗部の画像データは嵩上げする
ことにより、階調を圧縮する。従って、この覆い焼き処
理によれば、フィルムに撮影された極めて広い濃度領域
の画像を、安定して、適正に感光材料に再現することが
できる。
Specifically, according to the determined image state,
The bright part (low-density part) and the dark part (high-density part) are compressed independently, linearly or non-linearly, without changing the intermediate density part of the image. For example, in a system in which the image data of a bright portion (a high-density portion of a negative film = a low-density portion of a reproduced image) in a shooting scene has a large numerical value, image data of a bright portion (large image data) in which an image is likely to fly Is reduced, and the image data of the dark part where the image is likely to be crushed is raised to increase the gradation. Therefore, according to this dodging process, an image of an extremely wide density region photographed on a film can be stably and appropriately reproduced on a photosensitive material.

【0011】ここで、この覆い焼き処理は、画像の解析
によって、基本的に、撮影シーンであり得る最明部(す
なわち白)、および最暗部(すなわち黒)が、再生画像
で適正な白および黒となるように、画像の階調を圧縮す
る。ところが、このような覆い焼き処理を行っても、撮
影シーンによっては、画像の必要な濃度領域がとび、あ
るいはつぶれてしまう場合がある。例えば、フラッシュ
を用いて人物を撮影した場合には、撮影シーンの中で人
物の肌が最も明るい領域となる場合があり、この際に
は、覆い焼き処理を行っても、人物の肌部が白く飛ん
で、不適性な画像になってしまう場合が、稀にある。
In this dodging process, the lightest part (that is, white) and the darkest part (that is, black), which can be a photographic scene, are basically determined by analyzing the image so that white and black are appropriate in the reproduced image. The gradation of the image is compressed so as to be black. However, even if such a dodging process is performed, a necessary density region of an image may be skipped or crushed depending on a shooting scene. For example, when a person is photographed using a flash, the person's skin may be the brightest area in the photographed scene. In this case, even if the dodging process is performed, the person's skin is In rare cases, the image will fly white and become an inappropriate image.

【0012】本発明の目的は、前記従来技術の問題点を
解決することにあり、従来の直接露光のフォトプリンタ
における覆い焼きの効果を、画像データの処理によって
付与する、デジタルフォトプリンタ等に利用される画像
処理装置であって、例えば、フラッシュを用いて人物を
撮影したような場合であっても、安定して人物の肌部を
適正に再生できる等、様々なシーンで撮影された画像に
対して、より安定的に高画質な画像を得ることができる
画像処理方法、およびこの画像処理方法を実施する画像
処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art, and to use the present invention in a digital photo printer or the like which gives the effect of dodging in a conventional direct exposure photo printer by processing image data. Image processing device, for example, even in the case of shooting a person using a flash, it is possible to stably reproduce the skin portion of the person properly, such as images shot in various scenes On the other hand, an object of the present invention is to provide an image processing method capable of more stably obtaining a high-quality image, and an image processing apparatus for implementing the image processing method.

【0013】[0013]

【課題を解決するための手段】前記課題を解決するため
に、本発明の画像処理装置は、画像情報から、この画像
情報が担持する画像のシーンを判別するシーン判別部
と、前記画像情報を解析して、この解析結果および前記
シーン判別部によるシーン判別結果に応じて、異なる強
度もしくは特性で、画像の階調を圧縮する圧縮処理条件
を設定する設定部と、前記設定部が設定した圧縮処理条
件に応じて、画像情報を処理する処理部とを有すること
を特徴とする画像処理装置を提供する。
According to an aspect of the present invention, there is provided an image processing apparatus comprising: a scene determining unit configured to determine, from image information, a scene of an image carried by the image information; A setting unit configured to analyze and set a compression processing condition for compressing a gradation of an image with different intensities or characteristics according to the analysis result and the scene determination result by the scene determination unit; and a compression set by the setting unit. An image processing apparatus comprising: a processing unit configured to process image information according to a processing condition.

【0014】また、前記本発明の画像処理装置におい
て、前記シーン判別部は、再生画像において再生可能な
最低濃度が不用なシーンと必要なシーンとに画像のシー
ンを判別し、前記設定部は、前記最低濃度が不用なシー
ンは、最低濃度が必要なシーンよりも画像の明部を強く
圧縮するように圧縮処理条件を設定するのが好ましく、
さらに、前記画像の階調の圧縮は、特性の周波数成分に
よって、画像の明部と暗部とで別々に行うのが好まし
い。
In the image processing apparatus according to the present invention, the scene discriminating section discriminates a scene of the image into a scene which does not require a minimum reproducible density and a necessary scene in a reproduced image, and the setting section comprises: The scene where the minimum density is unnecessary, it is preferable to set the compression processing conditions so as to compress the bright part of the image more strongly than the scene where the minimum density is required,
Further, it is preferable that the compression of the gradation of the image is performed separately for the bright part and the dark part of the image depending on the frequency component of the characteristic.

【0015】さらに、本発明の画像処理方法は、画像情
報から、この画像情報が担持する画像のシーンを判別
し、画像情報の解析結果および前記シーンの判別結果に
応じて、異なる強度もしくは特性で、画像の階調を圧縮
することを特徴とする画像処理方法を提供する。
Further, according to the image processing method of the present invention, a scene of an image carried by the image information is discriminated from the image information, and different intensities or characteristics are determined according to the analysis result of the image information and the discrimination result of the scene. And an image processing method for compressing the gradation of an image.

【0016】また、前記本発明の画像処理方法におい
て、再生画像で再生可能な最低濃度が不用なシーンと必
要なシーンとに画像のシーンを判別し、最低濃度が不用
なシーンでは、最低濃度が必要なシーンよりも画像の明
部の階調を強く圧縮するのが好ましい。
Further, in the image processing method of the present invention, the scene of the image is discriminated into a scene which does not require the minimum density and a scene which does not need to be reproduced in the reproduced image. It is preferable to compress the gradation of the bright part of the image more strongly than the necessary scene.

【0017】さらに、本発明の画像処理装置および画像
処理方法においては、好ましくは、画像シーン毎に異な
る強度もしくは特性で、画像の階調を圧縮する。
Further, in the image processing apparatus and the image processing method of the present invention, preferably, the gradation of the image is compressed with a different intensity or characteristic for each image scene.

【0018】[0018]

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

【0019】図1に、本発明の画像処理方法を実施する
本発明の画像処理装置を利用するデジタルフォトプリン
タの一例のブロック図が示される。図1に示されるデジ
タルフォトプリンタ(以下、フォトプリンタ10とす
る)は、基本的に、スキャナ(画像読取装置)12と、
画像処理装置14と、プリンタ16とを有して構成され
る。また、画像処理装置14には、様々な条件の入力
(設定)、処理の選択や指示、色/濃度補正などの指示
等を入力するためのキーボード18aおよびマウス18
bを有する操作系18と、検定用のシュミレーション画
像、各種の操作指示等を表示するディスプレイ20が接
続される。
FIG. 1 is a block diagram showing an example of a digital photo printer using an image processing apparatus of the present invention for implementing the image processing method of the present invention. The digital photo printer (hereinafter referred to as a photo printer 10) shown in FIG. 1 basically includes a scanner (image reading device) 12 and
It has an image processing device 14 and a printer 16. The image processing apparatus 14 includes a keyboard 18a and a mouse 18 for inputting (setting) various conditions, selecting and instructing processing, and inputting instructions such as color / density correction.
The operation system 18 having b is connected to a display 20 for displaying a simulation image for verification, various operation instructions, and the like.

【0020】スキャナ12は、フィルムF等に撮影され
た画像を1コマずつ光電的に読み取る装置で、白色の光
源22と、可変絞り24と、色フィルタ板26と、フィ
ルムFに入射する読取光をフィルムFの面方向で均一に
する拡散ボックス28と、結像レンズユニット32と、
エリアCCDセンサであるイメージセンサ34と、アン
プ(増幅器)36と、A/D(アナログ/デジタル)変
換器38とを有して構成される。
The scanner 12 is a device that photoelectrically reads an image photographed on the film F or the like one frame at a time. The scanner 12 has a white light source 22, a variable diaphragm 24, a color filter plate 26, and a reading light incident on the film F. Box 28, an imaging lens unit 32,
An image sensor 34 which is an area CCD sensor, an amplifier (amplifier) 36, and an A / D (analog / digital) converter 38 are provided.

【0021】また、フォトプリンタ10においては、新
写真システム(Advanced Photo System)や135サイズ
のネガ(あるいはリバーサル)フィルム等のフィルムの
種類やサイズ、形態(スライドとフィルム等)等に応じ
て、スキャナ12の本体に装着自在な専用のキャリアが
用意されており、キャリアを交換することにより、各種
のフィルムや処理に対応することができる。フィルムに
撮影され、プリント作成に供される画像(コマ)は、こ
のキャリアによって所定の読取位置に搬送、保持され
る。
In the photo printer 10, a scanner is used in accordance with the type, size, form (slide and film, etc.) of a film such as a new photo system (Advanced Photo System) or a 135-size negative (or reversal) film. A dedicated carrier that can be freely attached to the main body 12 is prepared, and by changing the carrier, it is possible to cope with various films and processes. An image (frame) photographed on a film and provided for print production is conveyed and held at a predetermined reading position by this carrier.

【0022】ここで、フィルムFの幅方向両端部には、
フィルム種などの各種の情報を有する、DXコード、拡
張DXコード、FNSコード等のバーコードが、光学的
に記録されている。また、新写真システムのフィルムに
は、磁気記録媒体が形成されており、フィルムのIDナ
ンバー等のフィルム情報や、撮影時のフラッシュ使用の
有無や撮影日時等が記録されいる。DXコードや磁気記
録媒体が有する各情報は、フィルムFの画像読取の際に
キャリアにおいて読み取られ、各種の情報が画像処理装
置14に送られる。
Here, at both ends in the width direction of the film F,
A bar code, such as a DX code, an extended DX code, or an FNS code, having various information such as a film type is optically recorded. Further, a magnetic recording medium is formed on the film of the new photographic system, and film information such as an ID number of the film, whether or not a flash is used at the time of photographing, the photographing date and time, and the like are recorded. The DX code and various types of information included in the magnetic recording medium are read by the carrier when the image of the film F is read, and various types of information are sent to the image processing device 14.

【0023】このようなスキャナ12において、フィル
ムFに撮影された画像を読み取る際には、光源22から
射出され、可変絞り24によって光量調整された読取光
が、色フィルタ板26に入射して調光され、拡散ボック
ス28で拡散された後、キャリアによって所定の読取位
置に保持されたフィルムFに入射して、透過することに
より、フィルムFに撮影された画像を担持する投影光を
得る。この投影光は、結像レンズユニット32によって
イメージセンサ34の受光面に結像され、フィルムFに
撮影された画像が光電的に読み取られる。イメージセン
サ34の出力信号は、アンプ36で増幅され、A/D変
換器38でデジタル信号とされて、画像処理装置14に
送られる。
When reading an image photographed on the film F in such a scanner 12, the reading light emitted from the light source 22 and the light amount of which is adjusted by the variable aperture 24 enters the color filter plate 26 and is adjusted. After being illuminated and diffused by the diffusion box 28, the light is incident on the film F held at a predetermined reading position by the carrier and transmitted therethrough, thereby obtaining projection light carrying an image photographed on the film F. The projection light forms an image on the light receiving surface of the image sensor 34 by the imaging lens unit 32, and the image captured on the film F is photoelectrically read. The output signal of the image sensor 34 is amplified by the amplifier 36, converted into a digital signal by the A / D converter 38, and sent to the image processing device 14.

【0024】色フィルタ板26は、R(赤)、G(緑)
およびB(青)の各色フィルタを有するターレットで、
図示しない回転手段によって回転されて、各色フィルタ
を読取光の光路中に挿入する。図示例のスキャナ12に
おいては、色フィルタ板26の各色フィルタを順次挿入
して、3回の読み取りを行うことにより、フィルムFに
撮影された画像を、R、GおよびBの3原色に分解して
読み取る。
The color filter plate 26 is composed of R (red), G (green)
And a turret having B (blue) color filters,
Each color filter is inserted into the optical path of the reading light by being rotated by rotating means (not shown). In the illustrated example of the scanner 12, the color filters of the color filter plate 26 are sequentially inserted, and reading is performed three times, whereby the image captured on the film F is separated into three primary colors of R, G, and B. Read.

【0025】スキャナ12においては、フィルムFに撮
影された画像の読み取りを、低解像度で読み取るプレス
キャンと、プリントの出力に対応する画像データを得る
ための本スキャンとの、2回の画像読取で行う。プレス
キャンは、スキャナ12が対象とする全てのフィルムの
画像を、イメージセンサ34が飽和することなく読み取
れるように、あらかじめ設定された、プレスキャンの読
取条件で行われる。一方、本スキャンは、プレスキャン
データから、その画像(コマ)の最低濃度よりも若干低
い濃度でイメージセンサ34が飽和するように、各コマ
毎に設定された本スキャンの読取条件で行われる。従っ
て、プレスキャンと本スキャンの出力信号は、解像度と
出力レベルが異なる以外は、基本的に同じデータであ
る。
The scanner 12 reads an image photographed on the film F in two scans: a pre-scan for reading at a low resolution and a main scan for obtaining image data corresponding to print output. Do. The pre-scan is performed under pre-scan reading conditions set in advance so that the image of all the films targeted by the scanner 12 can be read without saturation of the image sensor 34. On the other hand, the main scan is performed under the main scan reading conditions set for each frame from the pre-scan data so that the image sensor 34 saturates at a density slightly lower than the minimum density of the image (frame). Therefore, the output signals of the prescan and the main scan are basically the same data except that the resolution and the output level are different.

【0026】本発明の画像処理装置に画像データを供給
する画像データ供給源は、このようなスキャナ12に限
定はされない。例えば、図示例のスキャナ12は、白色
光源と色フィルタ板とを用いて画像を3原色に分解した
が、これ以外にも、LED等を用いた、3原色の読取光
を個々に射出する光源を用いて画像を3原色に分解して
読み取るスキャナであってもよい。あるいは、エリアC
CDセンサではなく、3色のラインCCDセンサを用い
てスリット走査露光でフィルムの画像を読み取るスキャ
ナであってもよい。さらに、フィルムを光電的に読み取
るスキャナ以外にも、反射原稿の画像読取装置、デジタ
ルカメラの撮像デバイス、コンピュータ通信ネットワー
ク等の通信手段、フロッピーディスク等の記録媒体(そ
のドライブ)等の、各種の画像データ供給源から画像デ
ータを受け取って、画像処理を行ってもよい。
The image data supply source for supplying image data to the image processing apparatus of the present invention is not limited to such a scanner 12. For example, the illustrated scanner 12 separates an image into three primary colors using a white light source and a color filter plate, but other than this, a light source that emits reading light of the three primary colors using an LED or the like individually. A scanner that reads an image by separating the image into three primary colors by using a scanner may be used. Alternatively, area C
Instead of a CD sensor, a scanner that reads a film image by slit scanning exposure using a three-color line CCD sensor may be used. Further, in addition to a scanner for photoelectrically reading a film, various kinds of images such as an image reading device for a reflection original, an imaging device for a digital camera, communication means such as a computer communication network, and a recording medium (drive thereof) such as a floppy disk. Image processing may be performed by receiving image data from a data source.

【0027】前述のように、スキャナ12からの出力信
号(画像データ)は、画像処理装置14に出力される。
図2に、画像処理装置14のブロック図を示す。図2に
示されるように、画像処理装置14(以下、処理装置1
4とする)は、データ処理部46、Log変換器48、
プレスキャン(フレーム)メモリ50、本スキャン(フ
レーム)メモリ52、条件設定部54、プレスキャン処
理部56、および本スキャン処理部58を有して構成さ
れる。
As described above, the output signal (image data) from the scanner 12 is output to the image processing device 14.
FIG. 2 shows a block diagram of the image processing device 14. As shown in FIG. 2, the image processing apparatus 14 (hereinafter, processing apparatus 1)
4) is a data processing unit 46, a Log converter 48,
A pre-scan (frame) memory 50, a main scan (frame) memory 52, a condition setting unit 54, a pre-scan processing unit 56, and a main scan processing unit 58 are provided.

【0028】なお、図2は、主に画像処理関連の部位を
示しているが、処理装置14は、フォトプリンタ10全
体の制御や管理も行うものであり、図2に示した部位以
外にも、全体を制御するCPU、フォトプリンタ10の
作動等に必要な情報を記憶するメモリ等が配置される。
また、操作系18やディスプレイ20は、このCPU等
(CPUバス)を介して各部位に接続される。
Although FIG. 2 mainly shows parts related to image processing, the processing device 14 also controls and manages the entire photo printer 10, and other parts than those shown in FIG. , A CPU for controlling the whole, a memory for storing information necessary for the operation of the photo printer 10, and the like.
Further, the operation system 18 and the display 20 are connected to each part via the CPU or the like (CPU bus).

【0029】スキャナ12から出力されたR、Gおよび
Bの各出力データは、データ処理部46において、DC
オフセット補正、暗時補正、シェーディング補正等の所
定の処理を施される。次いで、データ処理部46で処理
された出力データは、Log変換器48において、例え
ばLUT(ルックアップテーブル)等によってLog変
換されて、デジタルの画像(濃度)データとされ、プレ
スキャン(画像)データはプレスキャンメモリ50に、
本スキャン(画像)データは本スキャンメモリ52に、
それぞれ記憶される。
The R, G, and B output data output from the scanner 12 are converted by the data processing unit 46 into DC data.
Predetermined processing such as offset correction, dark time correction, and shading correction is performed. Next, the output data processed by the data processing unit 46 is Log-converted by a Log converter 48 using, for example, an LUT (look-up table), and is converted into digital image (density) data. Is stored in the pre-scan memory 50,
The main scan (image) data is stored in the main scan memory 52,
Each is stored.

【0030】条件設定部54は、プレスキャン処理部5
6(その画像処理部68)および本スキャン処理部58
(その画像処理部72)における、各画像(コマ)の画
像処理条件を設定するものであり、シーン判別部60、
セットアップ部62、キー調整部64およびパラメータ
統合部66を有する。
The condition setting unit 54 includes a pre-scan processing unit 5
6 (the image processing unit 68) and the main scan processing unit 58
The image processing section 72 sets image processing conditions for each image (frame).
It has a setup unit 62, a key adjustment unit 64, and a parameter integration unit 66.

【0031】シーン判別部60は、プレスキャンメモリ
50に記憶されたプレスキャンデータを用いて、その画
像のシーンを判別する部位である。本発明において、シ
ーン判別部60は、基本的に、プリンタ16で再生可能
な最低濃度(Dmin)が不用なシーン(以下、人物ハ
イコンシーンとする)と、それ以外の、この最低濃度が
必要なシーン(以下、通常シーンとする)とに、各画像
のシーンを判別する。人物ハイコンシーンとは、フラッ
シュ撮影のポートレート等の、フラッシュ撮影でかつ画
像のコントラストが高い、人物の肌(特に顔)のように
重要な部分がプリントに再生された画像上で白く飛んで
しまう可能性があるシーンである。言い換えれば、人物
の顔などの重要な部分を適正に再生するために、プリン
トのDminの適正な再生を犠牲にしてもよいシーンで
ある。
The scene discriminating section 60 is a section for discriminating the scene of the image using the prescan data stored in the prescan memory 50. In the present invention, the scene discriminating unit 60 basically determines a scene that does not require the minimum density (Dmin) reproducible by the printer 16 (hereinafter referred to as a person high-con scene), and other scenes that require this minimum density. A scene (hereinafter, referred to as a normal scene) is determined for each image. A person high-con scene means that an important part, such as a person's skin (especially a face), such as a portrait of a flash, which has a high image contrast and flashes, flies white on an image reproduced in a print. This is a possible scene. In other words, this is a scene in which proper reproduction of the print Dmin may be sacrificed in order to properly reproduce an important part such as a person's face.

【0032】後に詳述するが、本発明の画像処理装置お
よび方法においては、人物ハイコンシーンは、通常シー
ンに比して、後述する画像処理部68および72におけ
る覆い焼き処理による明部(低濃度)領域の圧縮を強く
する。
As will be described in detail later, in the image processing apparatus and method according to the present invention, a person high-con scene has a bright part (low density) by dodging processing in image processing units 68 and 72 to be described later, as compared with a normal scene. ) Increase the area compression.

【0033】シーン判別部60におけるシーン判別の方
法には特に限定はなく、撮影条件、画像解析、画像特徴
量等をパラメータとして用いた、各種の方法が利用可能
である。
There is no particular limitation on the method of scene discrimination in the scene discriminating section 60, and various methods using photographing conditions, image analysis, image feature amounts, and the like as parameters can be used.

【0034】パラメータとしては、例えば、フラッシュ
撮影か否か、顔候補の抽出結果(中央にある、形状等)
ならびに顔候補領域の色/濃度、露光状態(例えばアン
ダーやオーバ 一例として、人物ハイコンシーンはアン
ダーが多い)、濃度ヒストグラムの形状(濃度分布)、
および画像の最大濃度および最低濃度(画像コントラス
ト)などの画像特徴量等が例示される。フラッシュ撮影
か否かは、プリント作成の依頼者から聞いてもよく、新
写真システムであれば、磁気記録媒体に記録された撮影
時のフラッシュ発光の有無の情報を利用すればよい。顔
抽出は、中央部検出、肌色検出、形状検出等による公知
の方法によればよい。濃度ヒストグラムの作成や画像コ
ントラスト等の画像特徴量の算出は、後述するような各
種の画像処理条件を設定(図示例では、セットアップ部
62が設定)する際に、通常、行うので、これを利用し
てもよい。さらに、濃度ヒストグラムを作成すれば、露
光状態を判別できる。
The parameters include, for example, whether or not flash shooting is performed and the result of face candidate extraction (center, shape, etc.).
And the color / density of the face candidate area, the exposure state (for example, undercuts and overs, as an example, a human high-con scene often has underscores), the density histogram shape (density distribution),
And image feature amounts such as the maximum density and the minimum density (image contrast) of the image. Whether or not to use flash photography may be heard from the client who made the print. In the case of a new photo system, information on whether or not a flash was fired at the time of photography recorded on the magnetic recording medium may be used. The face extraction may be performed by a known method using center detection, skin color detection, shape detection, and the like. The creation of the density histogram and the calculation of the image feature amount such as the image contrast are usually performed when various image processing conditions to be described later are set (in the illustrated example, set by the setup unit 62). May be. Further, if a density histogram is created, the exposure state can be determined.

【0035】また、これらをパラメータとしたシーン判
別方法としては、例えば、適宜設定された所定条件が当
てはまる画像(フラシュ撮影で、かつ、顔が中央に有
る、あるいは顔面積が全体の所定%以上等)を人物ハイ
コンシーンと判別する方法が例示される。また、各パラ
メータの数値化、判別関数の作成、閾値の設定等を行っ
て、画像が人物ハイコンシーンであるか通常シーンであ
るかを判別する方法も好適である。あるいは、画像が人
物ハイコンシーンか否かという、2値的な判定ではな
く、「人物ハイコンシーンである可能性が80%」「同
10%」等、人物ハイコンシーンである可能性の確率等
をもって、シーン判別としてもよい。このようなシーン
判別に用いるパラメータ、および判別方法や判別基準等
は、例えば、フォトプリンタ10の機種毎等に実験的に
適宜設定すればよい。
Examples of the scene discrimination method using these parameters as parameters include, for example, an image (flash photographing, where the face is at the center, or the face area is equal to or more than a predetermined% of the whole), which satisfies predetermined conditions that are appropriately set. ) Is determined as a person high-con scene. It is also preferable to use a method of quantifying each parameter, creating a discriminant function, setting a threshold, and the like, and discriminating whether the image is a person high-con scene or a normal scene. Alternatively, instead of a binary determination as to whether or not the image is a person high-con scene, the probability of being a person high-con scene, such as “the probability of being a person high-con scene is 80%” or “10% of the same” is used. , Scene determination. The parameters used for the scene determination, the determination method, the determination criterion, and the like may be appropriately set experimentally for each model of the photo printer 10, for example.

【0036】セットアップ部62は、プレスキャンデー
タを用いた画像解析によって、各コマ毎の画像処理条件
を設定する部位である。具体的には、プレスキャンデー
タを用いて、画像の濃度ヒストグラムの作成、および、
LATD(大面積透過濃度)、最低濃度や最高濃度等の
濃度ヒストグラムの所定頻度%点、平均濃度などの画像
特徴量の算出等を行い、濃度ヒストグラムや画像特徴
量、あるいはさらにシーン判別部60によるシーン判別
結果(覆い焼き処理の際に使用)を用いて、マトリクス
演算や画像処理アルゴリズムなどの公知の方法で、本ス
キャンの読取条件、ならびに画像処理部68および画像
処理部72における各種のLUTやマトリクス演算式等
の画像処理条件を算出する。この点については、後に詳
述する。
The setup section 62 is a section for setting image processing conditions for each frame by image analysis using prescan data. Specifically, using the pre-scan data, creation of a density histogram of an image, and
Calculation of image feature amounts such as LATD (Large Area Transmission Density), a predetermined frequency% point of a density histogram such as a minimum density and a maximum density, and an average density is performed. Using the scene determination result (used at the time of dodging processing), the reading conditions of the main scan, various LUTs and the like in the image processing unit 68 and the image processing unit 72 are determined by a known method such as a matrix operation or an image processing algorithm. An image processing condition such as a matrix operation expression is calculated. This will be described in detail later.

【0037】キー調整部64は、キーボード18aに設
定される、濃度調整キー、C(シアン)、M(マゼン
タ)、Y(イエロー)の各色の調整キー、階調(γ)調
整キー、明部調整キー、暗部調整キー、シャープネス調
整キー、彩度調整キー等の各種の調整キーや、マウス1
8bによって入力された各種の調整指示等に応じて、画
像の調整量を算出し、パラメータ統合部66に供給する
ものである。パラメータ統合部66は、セットアップ部
74が設定した画像処理条件を受け取り、この画像処理
条件をプレスキャン処理部56の画像処理部68および
本スキャン処理部58の画像処理部72に設定する。パ
ラメータ統合部66は、さらに、キー調整部64で算出
された画像の調整量に応じて、各部位に設定した画像処
理条件の調整(補正)や、その調整を行う補正条件の作
成、および両処理部への設定を行う。
The key adjustment unit 64 includes a density adjustment key, an adjustment key for each color of C (cyan), M (magenta), and Y (yellow), a gradation (γ) adjustment key, and a bright part set on the keyboard 18a. Various adjustment keys such as an adjustment key, a dark area adjustment key, a sharpness adjustment key, a saturation adjustment key, and a mouse 1
An image adjustment amount is calculated in accordance with various adjustment instructions and the like input by 8b and supplied to the parameter integration unit 66. The parameter integration unit 66 receives the image processing conditions set by the setup unit 74, and sets the image processing conditions in the image processing unit 68 of the pre-scan processing unit 56 and the image processing unit 72 of the main scan processing unit 58. The parameter integration unit 66 further adjusts (corrects) image processing conditions set for each part according to the adjustment amount of the image calculated by the key adjustment unit 64, creates correction conditions for performing the adjustment, and performs both adjustments. Make settings for the processing unit.

【0038】図示例の処理装置においては、基本的に、
プレスキャンメモリ50に記憶されたプレスキャンデー
タはプレスキャン処理部56において、本スキャンメモ
リ52に記憶された本スキャンデータは本スキャン処理
部58において、それぞれ処理される。プレスキャン処
理部56は、画像処理部68およびデータ変換部70を
有して構成される。他方、本スキャン処理部58は、画
像処理部72およびデータ変換部74を有して構成され
る。
In the illustrated processing apparatus, basically,
The pre-scan data stored in the pre-scan memory 50 is processed in the pre-scan processing unit 56, and the main scan data stored in the main scan memory 52 is processed in the main scan processing unit 58. The pre-scan processing unit 56 includes an image processing unit 68 and a data conversion unit 70. On the other hand, the main scan processing section 58 includes an image processing section 72 and a data conversion section 74.

【0039】プレスキャン処理部56の画像処理部68
と、本スキャン処理部58の画像処理部72は、処理す
る画像データの画素密度が異なる以外には、基本的に、
同様の構成を有し、同様の処理を行うものである。従っ
て、以下の説明は、本スキャン処理部56の画像処理部
72を代表例として例示し、説明する。
Image processing section 68 of prescan processing section 56
And the image processing unit 72 of the main scan processing unit 58 basically differs from the image processing unit 72 in that the pixel density of the image data to be processed is different.
It has a similar configuration and performs similar processing. Accordingly, in the following description, the image processing unit 72 of the main scan processing unit 56 will be exemplified and described.

【0040】画像処理部72(68)は、第1LUT7
6、第1マトリクス演算器(以下、MTXとする)78
および覆い焼き処理部80を有して構成される。前述の
ように、これの各処理部における画像処理条件は、条件
設定部54によって設定される。
The image processing section 72 (68) includes a first LUT 7
6. First matrix computing unit (hereinafter referred to as MTX) 78
And a dodging processing unit 80. As described above, the image processing conditions in each processing unit are set by the condition setting unit 54.

【0041】第1LUT76は、本スキャンメモリ52
(プレスキャンメモリ50)に記憶された画像データを
読み出し、グレイバランス(カラーバランス)補正、濃
度補正および階調補正を行うもので、それぞれの補正を
行うためのLUTがカスケード接続されて構成される。
第1MTX78は、第1LUT76で処理された画像
(画像データ)の色補正を行うものである。すなわち、
プリントに出力される画像が適切な色に仕上がるよう
に、フィルムFの分光特性や感光材料(印画紙)の分光
特性、現像処理の特性等に応じて設定されたマトリクス
演算を行い、色補正を行う。
The first LUT 76 is the main scan memory 52
The image data stored in the (pre-scan memory 50) is read out, and gray balance (color balance) correction, density correction, and gradation correction are performed. LUTs for performing the respective corrections are connected in cascade. .
The first MTX 78 performs color correction on an image (image data) processed by the first LUT 76. That is,
Matrix calculations set according to the spectral characteristics of the film F, the spectral characteristics of the photosensitive material (photographic paper), the characteristics of the development processing, and the like are performed so that the image output to the print has an appropriate color, and color correction is performed. Do.

【0042】覆い焼き処理部80は、覆い焼き処理(画
像データの処理による、直接露光のプリントにおける覆
い焼き効果の付与)を行う部位で、第2MTX78と、
ローパスフィルタ(LPF)84と、第2LUT86
と、加算器88とを有して構成される。覆い焼き処理を
行う場合には、第1MTX78で処理された画像データ
は、第2MTX78と、加算器88に送られる。他方、
覆い焼き処理を行わない場合には、第1MTX78とデ
ータ変換部74(70)とがバイパスして接続され、画
像データは第1MTX78からデータ変換部74に送ら
れる。
The dodging processing unit 80 is a part for performing dodging processing (giving a dodging effect in direct exposure printing by processing image data).
A low-pass filter (LPF) 84 and a second LUT 86
And an adder 88. When performing the dodging process, the image data processed by the first MTX 78 is sent to the second MTX 78 and the adder 88. On the other hand,
When the dodging process is not performed, the first MTX 78 and the data conversion unit 74 (70) are connected by bypass, and the image data is sent from the first MTX 78 to the data conversion unit 74.

【0043】第2MTX82は、第1MTX78から送
られるR、GおよびBの画像データから、この画像の明
暗画像の画像データ(明暗画像データ)を生成する。明
暗画像データの生成方法には、特に限定はなく、R、G
およびBの画像データの平均値の3分の1を取る方法、
YIQ規定を用いてカラー画像データを明暗画像データ
に変換する方法等が例示される。例えば、式「Y=0.
3R+0.59G+0.11B」により、YIQ規定の
Y成分のみをR、GおよびBの画像データから算出し
て、明暗画像データを得ればよい。
The second MTX 82 generates light / dark image data (light / dark image data) of this image from the R, G and B image data sent from the first MTX 78. There is no particular limitation on the method of generating the light and dark image data.
And taking one third of the average value of the image data of B and
A method of converting color image data into light and dark image data using the YIQ rule is exemplified. For example, the expression “Y = 0.
With 3R + 0.59G + 0.11B, only the Y component defined by the YIQ may be calculated from the R, G, and B image data to obtain bright and dark image data.

【0044】LPF84は、第2MTX74で生成され
た明暗画像データを処理して、低周波数成分を取り出す
ことにより、明暗画像を2次元的にボカして、読み取っ
た画像のボケ画像データを得るものである。LPF84
としては、ボケ画像データの生成に通常用いられるFI
R(FiniteImpulse Respones) 型のLPFを用いてもよ
いが、小型の回路で大きく画像をボカしたボケ画像デー
タを生成できる点で、IIR(Infinite Impulse Respon
es)型のLPFを用いるのが好ましい。
The LPF 84 processes the light and dark image data generated by the second MTX 74 and extracts low-frequency components, thereby two-dimensionally blurring the light and dark image to obtain blurred image data of the read image. is there. LPF84
Is an FI that is normally used for generating blurred image data.
An R (Finite Impulse Respones) type LPF may be used, but an IIR (Infinite Impulse Respones) is used because a small circuit can generate large blurred image data.
It is preferred to use an LPF of the es) type.

【0045】ここで、前述のように、プレスキャンデー
タと本スキャンデータとでは画像の解像度が異なるの
で、同じLPFを用いて処理を行うと、ディスプレイ2
0とプリンタ16とで、再生される画像が異なってしま
う。そのため、プレスキャンデータと本スキャンデータ
とでは、解像度に応じて、LPF84の周波数特性を変
える必要がある。具体的には、解像度比率分だけディス
プレイ20の表示に用いるボケ画像データのボカシ量を
少なくすればよい。すなわち、解像度比率をm、プレス
キャンデータのカットオフ周波数をfc(p) 、同本スキ
ャンデータをfc(f) とすると、「fc(p) ≒mfc
(f) 」となるようにLPFを設計すればよい。
Here, as described above, since the resolution of the image is different between the pre-scan data and the main scan data, if the processing is performed using the same LPF, the display 2
0 and the printer 16 reproduce images differently. Therefore, it is necessary to change the frequency characteristic of the LPF 84 between the pre-scan data and the main scan data according to the resolution. Specifically, the blur amount of blurred image data used for display on the display 20 may be reduced by the resolution ratio. That is, if the resolution ratio is m, the cutoff frequency of the pre-scan data is fc (p), and the main scan data is fc (f), "fc (p) ≒ mfc
(f) The LPF may be designed so as to satisfy "".

【0046】LPF58で生成されたボケ画像データ
は、第2LUT86において、階調圧縮LUT(以下、
圧縮LUTとする)で処理される。
The blurred image data generated by the LPF 58 is stored in a second LUT 86 by a gradation compression LUT (hereinafter, referred to as a LUT).
(LUT).

【0047】前述のように、フィルムFに撮影可能な画
像濃度領域は、プリントにおける濃度再現域よりも広い
のが通常であり、例えば、逆光シーンやフラッシュ撮影
では、プリントの再現域を大きく超えた濃度範囲の画像
が撮影される場合もある。
As described above, the image density area that can be photographed on the film F is generally wider than the density reproduction area in printing. For example, in a backlight scene or flash photography, the image density area greatly exceeds the reproduction area of printing. An image in a density range may be taken.

【0048】図4に、読み取られたネガフィルムの画像
データから、セットアップ部62が作成した濃度ヒスト
グラム(フィルム濃度)の一例を示す。プリントに再生
される画像における再現域が点線で示される濃度領域で
ある場合、a〜cに示される画像では、全ての画素をプ
リントに再現することはできない。具体的には、再現域
を超える高濃度部(読み取りの信号強度弱=図示例では
画像データ大)、すなわちプリント(撮影シーン)の明
部はとび、逆に、再現域を超える低濃度部すなわちプリ
ントの暗部はつぶれてしまう。そのため、画像データを
全て再現した画像を得るためには、画像の最高濃度から
最低濃度までの領域(画像濃度のダイナミックレンジ)
を、プリントの再現域に対応させる必要がある。つま
り、従来の直接露光による覆い焼きと同様の効果を付与
するように、画像の階調を圧縮することにより、ダイナ
ミックレンジを圧縮してプリントの再現域に対応させる
ように画像データを処理する必要がある。
FIG. 4 shows an example of a density histogram (film density) created by the setup section 62 from the read image data of the negative film. When the reproduction range in the image reproduced in the print is the density region indicated by the dotted line, all the pixels cannot be reproduced in the print in the images indicated by a to c. More specifically, the high-density portion exceeding the reproduction range (low reading signal intensity = large image data in the illustrated example), that is, the bright portion of the print (shooting scene) is skipped, and the low-density portion exceeding the reproduction range, The dark part of the print is crushed. Therefore, in order to obtain an image in which all of the image data is reproduced, the area from the highest density to the lowest density of the image (dynamic range of image density)
Must correspond to the reproduction range of the print. In other words, it is necessary to process the image data so as to compress the dynamic range by compressing the gradation of the image so as to give the same effect as the conventional dodging by direct exposure, and to correspond to the reproduction range of the print. There is.

【0049】図示例では、第1MTX78で処理された
主となる画像データに、この第2LUT86において圧
縮LUTで処理された前記ボケ画像データを加算するこ
とにより、主となる画像データの階調を圧縮して、プリ
ントによる濃度再生域に対応するものとする。これによ
り、出力する画像データの明部/暗部の階調や濃度およ
びダイナミックレンジを適正なものとして、フラッシュ
撮影シーンや逆光シーン等であっても、高画質な画像が
再生された適正なプリントを、安定して出力することが
可能になる。すなわち、第2LUT86の圧縮LUTと
は、主となる画像データの階調等を適切にする処理用画
像データを得るために、前記ボケ画像データの処理を行
うLUTである。
In the illustrated example, the gradation of the main image data is compressed by adding the blurred image data processed by the compression LUT in the second LUT 86 to the main image data processed by the first MTX 78. And corresponds to a density reproduction area by printing. As a result, the gradation, density, and dynamic range of the bright and dark portions of the image data to be output are set to be appropriate, and an appropriate print in which a high-quality image is reproduced can be obtained even in a flash shooting scene or a backlight scene. It is possible to output stably. In other words, the compression LUT of the second LUT 86 is an LUT that performs processing on the blurred image data in order to obtain processing image data that makes the gradation and the like of main image data appropriate.

【0050】この圧縮LUTは、画像解析の結果、およ
びシーン判別部60によるシーン判別結果から、セット
アップ部62が作成する。
The compressed LUT is created by the setup unit 62 from the result of the image analysis and the result of the scene determination by the scene determination unit 60.

【0051】セットアップ部62には、図5(A)に示
される、明部を圧縮するための基本LUTであるg
light 、および、図5(B)に示される、暗部を圧縮す
るための基本LUTであるgdarkとが記憶されており、
A×glight によって明部の圧縮LUTが、B×gdark
によって暗部の圧縮LUTが、それぞれ設定される。な
お、図5において、Tcは、顔の最適再現濃度で、通
常、濃度Dで0.4〜0.7程度である。
The setup section 62 has a basic LUT g shown in FIG.
light and g dark , which is a basic LUT for compressing a dark part shown in FIG.
The compression LUT of the bright part is changed to B × g dark by A × g light
The compression LUT of the dark part is set respectively. In FIG. 5, Tc is the optimum reproduction density of the face, and is usually about 0.4 to 0.7 in density D.

【0052】すなわち、セットアップ部44が自動設定
(オートセットアップ)する、覆い焼き処理の圧縮率f
auto(圧縮LUT)は、下記式、 fauto=A×glight +B×gdark で決定される。ここで、係数AおよびBは、0≦A≦
1、0≦B≦1であって、画像の状態、具体的には、明
部および暗部の頻度や、濃度ヒストグラムの最大濃度お
よび最小濃度、平均濃度等の画像特徴量に応じて適宜決
定され、明部および暗部の圧縮LUTが設定される。
That is, the compression ratio f of the dodging process automatically set (auto-setup) by the setup unit 44
auto (compression LUT) is determined by the following equation: f auto = A × g light + B × g dark Here, the coefficients A and B are 0 ≦ A ≦
1, 0 ≦ B ≦ 1, and is appropriately determined according to the state of the image, specifically, the frequency of the light and dark parts, and the image feature amounts such as the maximum density, the minimum density, and the average density of the density histogram. , A compression LUT for a bright part and a dark part are set.

【0053】すなわち、例えば、図4に一点鎖線で示さ
れるヒストグラムbの画像の場合、暗部(フィルムでは
低濃度)の頻度が高く、夜間のフラッシュ撮影等の画像
と判断できる。このような画像の場合には、明部側の圧
縮率を大きく、すなわち、g light に掛かる係数Aを大
きく設定する。夜間のフラッシュ撮影等では、通常、人
物等の主要被写体がヒストグラムの明部側(フィルム上
の高濃度側)にあるため、明るくとんだような画像にな
りがちであるが、このような処理を施すことにより、主
要被写体の濃度(明るさ)を適正にすることができる。
逆に、図4に二点鎖線で示されるヒストグラムcの画像
の場合、明部の頻度が高く、雪中のシーンや逆光シーン
の画像であると判断できる。このような画像場合には、
暗部側の圧縮率を大きく、すなわち、gdarkに掛かる係
数Bを大きく設定する。逆光シーン等では、通常、主要
被写体がヒストグラムの暗部側にあり、暗い画像になり
がちであるが、このような処理を施すことにより、主要
被写体を明るくして、高画質な画像とすることができ
る。また、濃度ヒストグラムの最大濃度および最小濃度
がプリントの再現域から大幅に外れている場合、すべて
の画像を良好に再現するためには、明部および暗部共に
圧縮率を大きくする必要がある。
That is, for example, as shown in FIG.
In the case of the image of histogram b,
(Low density) is frequently used, and images such as nighttime flash photography
Can be determined. In the case of such an image, the light side pressure
Large shrinkage, ie g lightLarge coefficient A
Set it properly. In night flash photography, etc.
The main subject such as an object is on the bright side of the histogram (on the film
High-density side of the image)
However, by performing such processing, the main
The density (brightness) of the subject of interest can be made appropriate.
Conversely, an image of a histogram c indicated by a two-dot chain line in FIG.
In the case of, scenes in snow or backlight
Can be determined. In the case of such an image,
Increase the compression ratio on the dark side, that is, gdarkPerson in charge of
Set the number B large. In backlit scenes, etc.
The subject is on the dark side of the histogram, resulting in a dark image.
However, by performing such processing,
Brightens the subject to create a high-quality image
You. Also, the maximum density and minimum density of the density histogram
Are significantly out of print gamut,
In order to reproduce the image of
It is necessary to increase the compression ratio.

【0054】係数AおよびBの決定方法としては、例え
ば、図4の濃度ヒストグラムにおいて、プリント再現域
から明部側に外れる濃度領域の広さをa、同暗部側に外
れる濃度領域の広さをb(共に、図4のaのヒストグラ
ムで例示する)とした際に、図6(A)に示されるよう
な、明部側に外れる濃度領域aと係数Aとの関係を示す
LUT、および図6(B)に示されるような、暗部側に
外れる濃度領域bと係数Bとの関係を示すLUTとを用
意しておき、これを用いてAおよびBを決定する方法が
例示される。
As a method for determining the coefficients A and B, for example, in the density histogram shown in FIG. 4, the width of the density area deviating from the print reproduction area to the bright part side is represented by a, and the width of the density area deviating from the same dark part side is represented by a. FIG. 6A shows an LUT indicating the relationship between the density area a and the coefficient A which deviate from the bright side, as shown in FIG. 6 (B), an LUT indicating the relationship between the density region b deviating on the dark side and the coefficient B is prepared, and a method of determining A and B using this is exemplified.

【0055】あるいは、図7(A)に示されるような、
暗部側の頻度(累積%=X%)と係数Aとの関係を示す
LUT、および、図7(B)に示されるような、明部側
の頻度(累積%=Y%)と係数Bとの関係を示すLUT
とを用意しておき、また、ヒストグラムから、図8に示
されるような濃度の累積ヒストグラムを作成し、暗部側
のプリント再現限界Pおよび明部側のプリント再現限界
Qから、累積ヒストグラムを用いて暗部の累積%および
明部の累積%を算出し、図7に示されるLUTを用いて
係数AおよびBを決定する方法も例示される。
Alternatively, as shown in FIG.
An LUT showing the relationship between the frequency on the dark side (cumulative% = X%) and the coefficient A, and the frequency on the light side (cumulative% = Y%) and the coefficient B as shown in FIG. LUT showing the relationship
8 is prepared from the histogram, and from the print reproduction limit P on the dark side and the print reproduction limit Q on the light side, the cumulative histogram is used. A method of calculating the cumulative percentage of the dark part and the cumulative percentage of the bright part and determining the coefficients A and B using the LUT shown in FIG. 7 is also exemplified.

【0056】あるいは、図6および図7に示されるLU
Tから係数AおよびBを算出し、両者の平均を取って係
数AおよびBを決定する方法、両者の大きい方を係数A
およびBとして決定する方法等も好適に例示される。さ
らに、ヒストグラムから、いずれのLUTを用いるかを
選択して、係数AおよびBを決定してもよい。
Alternatively, the LU shown in FIGS.
A method of calculating coefficients A and B from T, taking the average of both, and determining coefficients A and B,
And a method of determining as B are also suitably exemplified. Furthermore, the coefficients A and B may be determined by selecting which LUT to use from the histogram.

【0057】ここで、本発明にかかる画像処理装置14
においては、前述のように、条件設定部54のシーン判
別部60において、その画像が人物ハイコンシーンであ
るか、通常シーンであるかを判別する。セットアップ部
62は、この判別結果に応じて、画像が人物ハイコンシ
ーンの場合は、通常シーンよりも、明部の圧縮を強く掛
けるように圧縮LUTを作成する。また、人物ハイコン
シーンの場合には、この明部の圧縮によって、画像の最
低濃度(白)が、プリントで再生可能な最低濃度(Dm
in)よりも高くなってもよい。言い換えれば、人物ハ
イコンシーンの場合には、プリントに再生された画像に
おいて、白が適正でなくてもよい。
Here, the image processing apparatus 14 according to the present invention
As described above, the scene determination unit 60 of the condition setting unit 54 determines whether the image is a person high-con scene or a normal scene, as described above. The setup unit 62 creates a compression LUT according to the result of the determination so that if the image is a person high-con scene, the bright part is compressed more than the normal scene. Also, in the case of a person high-con scene, the compression of the bright portion reduces the minimum density (white) of the image to the minimum density (Dm
in). In other words, in the case of a person high-con scene, white may not be appropriate in the image reproduced in the print.

【0058】前述のように、覆い焼き処理によれば、画
像の階調を圧縮して、プリンタにおける濃度再現域に応
じたものとするので、フィルムに撮影された極めて広い
濃度領域の画像を、適正にプリントに再生することがで
きる。しかしながら、ポートレートをフラッシュ撮影し
たシーン等、人物ハイコンシーンでは、覆い焼き処理を
おこなっても、稀に、人物の肌部が白く飛んで、不適性
な画像となってしまう場合がある。ここで、覆い焼き処
理によって、明部の圧縮を強くかければ、人物ハイコン
シーンであっても、人物の肌等を安定して適正に再生す
ることが可能である。ところが、明部の圧縮を強く掛け
ると、通常シーン、例えば、雪上シーンの雪や空を背景
にしたシーンの雲等、白(最明部)を適正に再生する必
要があるシーンにおいて、プリントに再生された画像の
白が濁った感じになってしまい、画像として好ましくな
い。
As described above, according to the dodging process, the gradation of the image is compressed so as to correspond to the density reproduction range of the printer. The print can be properly reproduced. However, in a person high-con scene such as a scene in which a portrait is shot by flash, even if the dodging process is performed, the skin of the person may rarely fly white, resulting in an inappropriate image. Here, if the bright portion is strongly compressed by the dodging process, it is possible to stably and appropriately reproduce the skin and the like of a person even in a high-conscene scene of a person. However, if compression of bright parts is strongly applied, in a normal scene, for example, in a scene where it is necessary to appropriately reproduce white (the brightest part) such as snow in a snow scene or a cloud in a scene against the sky, it is difficult to print. The reproduced image becomes cloudy, which is not preferable as an image.

【0059】これに対し、本発明の画像処理装置(およ
び方法)においては、画像が人物ハイコンシーンか通常
シーンかを判別し、通常シーンの場合には、例えば撮影
シーンの白部がプリントのDminとなるように明部の
階調を圧縮し、人物ハイコンシーンの場合は、これより
も強く明部を圧縮する。従って、人物ハイコンシーンで
あっても、再生画像で顔等の主要被写体が飛ぶことがな
い。また、通常シーンであれば、雪や雲等の白を適正に
再生することができる。すなわち、本発明によれば、撮
影シーンによらず、高画質な画像が再生された高品位な
プリントを、安定して出力することができる。
On the other hand, the image processing apparatus (and method) according to the present invention determines whether an image is a person high-con scene or a normal scene. In the case of a person high-con scene, the bright part is compressed more strongly. Therefore, even in the case of a person high-con scene, a main subject such as a face does not fly in the reproduced image. In the case of a normal scene, white such as snow and clouds can be properly reproduced. That is, according to the present invention, it is possible to stably output a high-quality print in which a high-quality image is reproduced regardless of a shooting scene.

【0060】人物ハイコンシーンの際に、通常シーンよ
りも明部の圧縮を強くする方法としては、各種の方法が
利用可能である。例えば、人物ハイコンシーンの場合に
は、覆い焼きの圧縮率を決定する前記式「fauto=A×
light +B×gdark」において、係数Aに、さらに係
数aを乗算あるいは加算してもよい。また、図6(A)
に示されるLUTを通常シーンに対応する係数Aの決定
方法として、人物ハイコンシーンの場合には、係数Aを
決定するLUTとして、より傾きが急峻なLUTを用い
てもよい。あるいは、図6(B)に示されるLUTを通
常シーンに対応する係数Aの決定方法として、人物ハイ
コンシーンの場合には、係数Aを決定するLUTとし
て、より低頻度の領域から係数が立ち上がるLUTを用
いてもよい。
Various methods can be used as a method of increasing the compression of a bright part in a person high-con scene compared to a normal scene. For example, in the case of a person high-con scene, the above expression “f auto = A ×
In “g light + B × g dark ”, the coefficient A may be further multiplied or added by the coefficient a. FIG. 6A
As a method for determining the coefficient A corresponding to a normal scene, an LUT having a steeper slope may be used as the LUT for determining the coefficient A in the case of a person high-con scene. Alternatively, the LUT shown in FIG. 6B is used as a method for determining a coefficient A corresponding to a normal scene. In the case of a person high-con scene, an LUT in which a coefficient rises from a lower frequency region is used as an LUT for determining the coefficient A. May be used.

【0061】さらに、人物ハイコンシーンと通常シーン
とで、異なる圧縮特性を有する基準LUTを用いて、人
物ハイコンシーンの明部圧縮を、通常シーンよりも強く
行ってもよい。例えば、通常シーンの場合には、図5
(A)に示される基準LUTである(g light )を用
い、人物ハイコンシーンの場合には、図9に示されるよ
うな、明部の圧縮の立ち上がりが早く、かつ圧縮率も大
きくなる基準LUT(glight-2 )を用いる。
Further, a person high-con scene and a normal scene
With reference LUTs having different compression characteristics,
Bright compression of high-con scenes is stronger than normal scenes
May go. For example, in the case of a normal scene, FIG.
The reference LUT shown in FIG. light)
In the case of a person high-con scene, it is shown in FIG.
The compression rise of the bright part is fast and the compression ratio is large.
Reference LUT (glight-2) Is used.

【0062】また、前述のように、画像が人物ハイコン
シーンであるか通常シーンであるかのような2値的な判
別ではなく、「人物ハイコンシーンである可能性が80
%」「同10%」等、人物ハイコンシーンである可能性
の確率等をもって、シーン判別とする場合には、確率
(判別の信頼性)に応じて、確率の高い場合には圧縮を
強めに、逆に低い場合には圧縮を通常シーンに近づける
ように、明部の圧縮強度を連続的あるいは非連続的に変
化させてもよい。例えば、前述の係数Aにさらに係数a
を乗算あるいは加算する例において、人物ハイコンシー
ンである確率と係数aとの関係をLUT化しておき、係
数Aに乗算あるいは加算すればよい。
Further, as described above, instead of a binary decision as to whether the image is a person high-con scene or a normal scene, the image is not displayed.
%, 10%, etc., the probability of a person being a high-con scene, etc., is used for scene discrimination, depending on the probability (reliability of discrimination). Conversely, when the compression strength is low, the compression strength of the bright portion may be changed continuously or discontinuously so that the compression approaches the normal scene. For example, a coefficient a is added to the coefficient A described above.
Is multiplied or added, the relationship between the probability of being a person high-con scene and the coefficient a may be converted into an LUT, and the coefficient A may be multiplied or added.

【0063】本発明の画像処理装置においては、覆い焼
き処理による圧縮率は、セットアップ部62が自動設定
するのに限定はされず、オペレータのキーボード操作
(例えば、前記階調調整キー、明部調整キー、暗部調整
キー)に応じて、オペレータによる調整を前記圧縮率f
autoに加算して、圧縮LUTを作成してもよい。また、
本発明の画像処理装置においては、覆い焼き処理によっ
て、階調の圧縮のみならず、露光アンダー/オーバーの
画像の場合には、階調の伸張を行ってもよい。階調の伸
張は、例えば、図5に示される基本LUTと逆の特性を
有する基本LUTを用いて行えばよい。なお、オペレー
タによる圧縮率の調整、および階調の伸張に関しては、
本出願人による特開平10−13680号公報に詳述さ
れている。
In the image processing apparatus of the present invention, the compression ratio by the dodging process is not limited to being automatically set by the set-up unit 62, but may be operated by a keyboard operation of the operator (for example, the tone adjustment key, the bright portion adjustment). Key, dark area adjustment key), the compression ratio f is adjusted by the operator.
The compression LUT may be created by adding to auto . Also,
In the image processing apparatus of the present invention, not only the gradation compression but also the gradation expansion may be performed in the case of an underexposed / overexposed image by the dodging process. The gradation may be expanded using, for example, a basic LUT having characteristics opposite to those of the basic LUT shown in FIG. In addition, regarding the adjustment of the compression ratio and the expansion of the gradation by the operator,
It is described in detail in JP-A-10-13680 by the present applicant.

【0064】このようにして第2LUT86で処理され
たボケ画像データは、加算器88に送られる。加算器8
8では、第1MTX78によって処理されて直接加算器
88に送られた主たる画像データと、ボケ画像データと
を加算する。これにより、主たる画像データの階調を圧
縮して、面露光による覆い焼きを行ったのと同様の効果
を再生画像に付与する。
The blurred image data processed by the second LUT 86 is sent to the adder 88. Adder 8
In step 8, the main image data processed by the first MTX 78 and sent directly to the adder 88 is added to the blurred image data. Thereby, the gradation of the main image data is compressed, and the same effect as that obtained by performing dodging by surface exposure is given to the reproduced image.

【0065】より詳細には、第2LUT86において圧
縮LUTで処理されたボケ画像データは、明部(画像デ
ータ大)がマイナスで、逆に、暗部がプラスの画像デー
タとなる。従って、第1MTX78によって処理された
主たる画像データに、このボケ画像データを加算するこ
とにより、主たる画像データの明部は小さく、暗部は嵩
挙げされ、すなわち画像データの階調が圧縮され、画像
のダイナミックレンジがプリンタ16における出力濃度
領域に応じた画像データされる。ここで、本発明におい
ては、人物ハイコンシーンは明部がより大きく圧縮され
るのは、前述の通りである。
More specifically, in the blurred image data processed by the compression LUT in the second LUT 86, the bright portion (large image data) is minus and the dark portion is plus. Therefore, by adding this blurred image data to the main image data processed by the first MTX 78, the bright part of the main image data is small and the dark part is raised, that is, the gradation of the image data is compressed, and the gradation of the image data is compressed. The dynamic range is image data corresponding to the output density area in the printer 16. Here, in the present invention, the bright portion of the person high-con scene is compressed more as described above.

【0066】このようにして、覆い焼き処理を施され、
階調が圧縮された画像データは、プレスキャンデータは
データ変換部70に、本スキャンデータはデータ変換部
74に、それぞれ送られる。なお、加算機88と各変換
部との間には、シャープネス処理部等の各種の画像処理
部が配置されていてもよい。プレスキャン処理部56の
データ変換部70は、画像処理部68で処理されたプレ
スキャンデータを、3D(三次元)−LUT等を用い
て、ディスプレイ20による表示に対応する画像データ
に変換する部位である。他方、本スキャン処理部58の
データ変換部74は、同様に、画像処理部72で処理さ
れた本スキャンデータを3D−LUT等を用いて変換
し、プリンタ16による画像記録に対応する画像データ
に変換する部位である。
In this way, a dodging process is performed,
The pre-scan data of the compressed image data is sent to the data conversion unit 70, and the main scan data is sent to the data conversion unit 74. Note that various image processing units such as a sharpness processing unit may be arranged between the adder 88 and each conversion unit. The data conversion unit 70 of the prescan processing unit 56 converts the prescan data processed by the image processing unit 68 into image data corresponding to display on the display 20 using a 3D (three-dimensional) -LUT or the like. It is. On the other hand, the data conversion unit 74 of the main scan processing unit 58 similarly converts the main scan data processed by the image processing unit 72 using a 3D-LUT or the like, and converts the main scan data into image data corresponding to image recording by the printer 16. The part to be converted.

【0067】処理装置14において、プレスキャン処理
部54のデータ変換部66で処理された画像データはデ
ィスプレイ20に、他方、本スキャン処理部56のデー
タ変換部72で処理された画像データはプリンタ16
に、それぞれ送られる。ディスプレイ20には特に限定
はなく、CRT(Cathode Ray Tube)や液晶ディスプレイ
等の公知の表示手段が各種利用可能である。
In the processing unit 14, the image data processed by the data conversion unit 66 of the prescan processing unit 54 is displayed on the display 20, while the image data processed by the data conversion unit 72 of the main scan processing unit 56 is processed by the printer 16.
, Respectively. The display 20 is not particularly limited, and various known display means such as a CRT (Cathode Ray Tube) and a liquid crystal display can be used.

【0068】他方、プリンタ16は、本スキャン処理部
56から出力された画像データに応じて感光材料(印画
紙)を露光して潜像を記録し、感光材料に応じた現像処
理を施して(仕上り)プリントとして出力する。例え
ば、感光材料をプリントに応じた所定長に切断した後
に、バックプリントの記録、感光材料(印画紙)の分光
感度特性に応じた、R露光、G露光およびB露光の3種
の光ビームを画像データ(記録画像)に応じて変調する
と共に、主走査方向に偏向し、主走査方向と直交する副
走査方向に感光材料を搬送することによる潜像の記録等
を行い、潜像を記録した感光材料に、発色現像、漂白定
着、水洗等の所定の湿式現像処理を行い、乾燥してプリ
ントとした後に、仕分けして集積する。
On the other hand, the printer 16 exposes a photosensitive material (photographic paper) in accordance with the image data output from the main scan processing section 56 to record a latent image, and performs a developing process according to the photosensitive material ( Finish) Output as print. For example, after a photosensitive material is cut into a predetermined length corresponding to a print, three types of light beams, R exposure, G exposure, and B exposure, according to the back print recording and the spectral sensitivity characteristics of the photosensitive material (photographic paper) are applied. The latent image was recorded by modulating according to the image data (recorded image), deflecting in the main scanning direction, and recording the latent image by transporting the photosensitive material in the sub-scanning direction orthogonal to the main scanning direction. The photosensitive material is subjected to predetermined wet development processing such as color development, bleach-fixing, and washing with water, dried, printed, and then sorted and accumulated.

【0069】以下、フォトプリンタ10の作用を説明す
ることにより、本発明について、より詳細に説明する。
Hereinafter, the present invention will be described in more detail by describing the operation of the photo printer 10.

【0070】フィルムFのプリント作成を依頼されたオ
ペレータは、フィルムFに対応するキャリアをスキャナ
12に装填し、キャリアの所定位置にフィルムFをセッ
トし、作成するプリントサイズ等の必要な指示を入力し
た後に、プリント作成開始を指示する。これにより、ス
キャナ12の可変絞り24の絞り値やイメージセンサ3
4の蓄積時間がプレスキャンの読取条件に応じて設定さ
れ、その後、キャリアがフィルムFを搬送して、プリン
ト作成を行うコマが、読取位置に搬送される。また、こ
のフィルムFの搬送の際に、磁気記録媒体に記録された
磁気情報やDXコード等のバーコードが読まれ、必要な
情報が所定の部位に送られる。次いで、そのコマのプレ
スキャンが開始され、前述のように、色フィルタ板26
の各色フィルタが順次挿入され、それぞれにおける投影
光がイメージセンサ34によって読み取られることによ
り、そのコマの画像がR、GおよびBの3原色に分解さ
れて光電的に読み取られる。
The operator requested to make a print of the film F loads the carrier corresponding to the film F into the scanner 12, sets the film F at a predetermined position on the carrier, and inputs necessary instructions such as a print size to be created. After that, an instruction to start printing is issued. Thereby, the aperture value of the variable aperture 24 of the scanner 12 and the image sensor 3
The storage time of No. 4 is set according to the prescan reading conditions, and then the carrier transports the film F, and the frame for performing print creation is transported to the reading position. When the film F is transported, magnetic information and a bar code such as a DX code recorded on a magnetic recording medium are read, and necessary information is sent to a predetermined portion. Next, pre-scanning of the frame is started, and as described above, the color filter plate 26
Are sequentially inserted, and the projected light in each is read by the image sensor 34, whereby the image of the frame is separated into three primary colors of R, G, and B and read photoelectrically.

【0071】プレスキャンおよび本スキャンは、1コマ
ずつ行ってもよく、全コマまたは所定の複数コマずつ、
連続的にプレスキャンおよび本スキャンを行ってもよ
い。以下の例では、説明を簡略にし、作用を明瞭にする
ために、1コマずつプレスキャンおよび本スキャンを行
う場合を例に説明する。
The pre-scan and the main scan may be performed one frame at a time.
The pre-scan and the main scan may be performed continuously. In the following example, in order to simplify the description and clarify the operation, a case where the pre-scan and the main scan are performed frame by frame will be described as an example.

【0072】プレスキャンによるイメージセンサ34の
出力信号は、アンプ36で増幅されて、A/D変換器3
8に送られ、デジタル信号とされる。デジタル信号は、
処理装置14に送られ、データ処理部46で所定のデー
タ処理を施され、Log変換器48でデジタルの画像デ
ータであるプレスキャンデータとされ、プレスキャンメ
モリ50に記憶される。
The output signal of the image sensor 34 by the pre-scan is amplified by the amplifier 36, and the A / D converter 3
8 and converted into a digital signal. The digital signal is
The data is sent to the processing unit 14, subjected to predetermined data processing by the data processing unit 46, converted into digital image data by the Log converter 48, and stored in the prescan memory 50.

【0073】プレスキャンメモリ50にプレスキャンデ
ータが記憶されると、条件設定部54のセットアップ部
62がこれを読み出し、画像の濃度ヒストグラムの作
成、ハイライトやシャドー等の画像特徴量の算出等を行
い、そのコマの本スキャンの読取条件を設定してスキャ
ナ12に供給する。また、プレスキャンデータは、シー
ン判別部60も読み出し、前述のようにして、その画像
が人物ハイコンシーンか通常シーンかを判別し、判別結
果をセットアップ部62におくる。
When the pre-scan data is stored in the pre-scan memory 50, the setup section 62 of the condition setting section 54 reads out the pre-scan data and creates a density histogram of the image and calculates image feature amounts such as highlights and shadows. Then, the reading conditions for the main scan of the frame are set and supplied to the scanner 12. The pre-scan data is also read out by the scene determination unit 60, and determines whether the image is a person high-con scene or a normal scene as described above, and sends the determination result to the setup unit 62.

【0074】セットアップ部62は、さらに、濃度ヒス
トグラムや算出した画像特徴量、およびシーン判別部6
0による画像シーンの判別結果、あるいはさらに、必要
に応じて行われるオペレータの指示に応じて、第1LU
T76におけるLUT、第2LUT86における圧縮L
UT等、その画像(コマ)に対するプレスキャン処理部
56および本スキャン処理部58における画像処理条件
を設定し、パラメータ統合部66に供給する。なお、セ
ットアップ部62は、シーンが人物ハイコンシーンであ
る場合には、通常シーンよりも明部の圧縮を強く行うよ
うに、覆い焼き処理の条件すなわち圧縮LUTを作成す
るのは、前述の通りである。パラメータ統合部66は、
受け取った画像処理条件をプレスキャン処理部56およ
び本スキャン処理部58の所定部位に設定する。
The setup section 62 further includes a density histogram, the calculated image feature amount, and a scene determination section 6.
0, or in accordance with an operator's instruction performed as necessary, the first LU.
LUT in T76, compressed L in second LUT 86
Image processing conditions for the image (frame) such as the UT in the pre-scan processing section 56 and the main scan processing section 58 are set and supplied to the parameter integration section 66. When the scene is a person high-con scene, the setup unit 62 creates the condition of the dodging process, that is, the compressed LUT so as to compress the bright part more strongly than the normal scene, as described above. is there. The parameter integration unit 66
The received image processing conditions are set in predetermined portions of the pre-scan processing section 56 and the main scan processing section 58.

【0075】画像処理条件が設定されると、ディスプレ
イ20が検定画面となり、プレスキャン処理部54がプ
レスキャンメモリ50からプレスキャンデータを読み出
し、プレスキャン処理部56において、画像データが対
応する画像処理条件で処理され、プレスキャンデータを
再生した画像(プレスキャン画像)が、シュミレーショ
ン画像(仕上がり予想画像)としてディスプレイ20に
表示される。
When the image processing conditions are set, the display 20 becomes a verification screen, the pre-scan processing unit 54 reads out the pre-scan data from the pre-scan memory 50, and the pre-scan processing unit 56 executes the image processing corresponding to the image data. An image (pre-scan image) that is processed under the conditions and reproduces the pre-scan data is displayed on the display 20 as a simulation image (expected finish image).

【0076】次いで、オペレータはシュミレーション画
像を見て検定を行い、必要に応じて、キーボード18a
の調整キー等を用いて色、濃度、階調等を調整する。こ
の調整の入力は、キー調整部64に送られ、キー調整部
64は調整入力に応じた画像処理条件の調整量を算出
し、これをパラメータ統合部66に送る。パラメータ統
合部66は、送られた調整量に応じて、両画像処理部に
設定した画像処理条件の補正、前記調整を行う補正条件
の算出および両画像処理部への設定等の処理を行う。従
って、この補正すなわちオペレータによる調整入力に応
じて、ディスプレイ20に表示される画像も変化する。
Next, the operator performs verification by looking at the simulation image, and, if necessary, the keyboard 18a.
The color, density, gradation, etc. are adjusted using the adjustment keys and the like. The input of this adjustment is sent to the key adjustment unit 64, which calculates the adjustment amount of the image processing condition according to the adjustment input, and sends it to the parameter integration unit 66. The parameter integration unit 66 performs processing such as correction of image processing conditions set in both image processing units, calculation of correction conditions for performing the adjustment, and setting of both image processing units in accordance with the sent adjustment amount. Therefore, the image displayed on the display 20 also changes according to the correction, that is, the adjustment input by the operator.

【0077】オペレータは、画像が適正(検定OK)と
判断すると、出力指示を出す。これに応じて、画像処理
条件が確定し、本スキャンが開始される。なお、検定を
行わない場合には、パラメータ設定部66によって画像
処理条件が設定された時点で画像処理条件が確定し、本
スキャンが開始される。本スキャンは、イメージセンサ
34の蓄積時間や可変絞り24の絞り値が異なる以外
は、プレスキャンと同様に行われ、イメージセンサ34
からの出力信号はアンプ36で増幅されて、A/D変換
器38でデジタル信号とされ、処理装置14のデータ処
理部46で処理されて、Log変換器48で本スキャン
データとされ、本スキャンメモリ52に送られる。次い
で、本スキャン処理部58によって本スキャンメモリ5
2から本スキャンデータが読み出され、画像処理部72
において確定した画像処理条件で画像処理され、さら
に、画像データ変換部74で変換されてプリンタ16に
よる画像記録に対応する出力用の画像データとされ、プ
リンタ16に出力され、プリントが作成される。
When the operator determines that the image is proper (test OK), the operator issues an output instruction. In response, the image processing conditions are determined, and the main scan is started. If the test is not performed, the image processing conditions are determined when the image processing conditions are set by the parameter setting unit 66, and the main scan is started. The main scan is performed in the same manner as the pre-scan except that the accumulation time of the image sensor 34 and the aperture value of the variable aperture 24 are different.
Is amplified by an amplifier 36, is converted into a digital signal by an A / D converter 38, is processed by a data processing unit 46 of the processing device 14, is converted into a main scan data by a Log converter 48, and is converted into a main scan data. The data is sent to the memory 52. Next, the main scan memory 5 is operated by the main scan processing unit 58.
2, the main scan data is read out, and the image processing unit 72
The image processing is performed under the image processing conditions determined in, and further converted by the image data conversion unit 74 into image data for output corresponding to image recording by the printer 16, output to the printer 16, and a print is created.

【0078】以上、本発明の画像処理装置および画像処
理方法について詳細に説明したが、本発明は上記実施例
に限定はされず、本発明の要旨を逸脱しない範囲におい
て、各種の改良および変更を行ってもよいのはもちろん
である。
Although the image processing apparatus and the image processing method of the present invention have been described in detail above, the present invention is not limited to the above-described embodiment, and various improvements and modifications can be made without departing from the gist of the present invention. Of course you can do it.

【0079】[0079]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、例えば、フラッシュを用いて人物を撮影したよ
うな、人物ハイコンシーン場合であっても、安定して人
物の肌部を適正に再生できる等、様々なシーンで撮影さ
れた画像に対して、より安定的に高画質な画像を得るこ
とができる。
As described above in detail, according to the present invention, even in the case of a person high-con scene, for example, when a person is photographed using a flash, the skin portion of the person can be stably removed. For example, it is possible to more stably obtain a high-quality image with respect to an image photographed in various scenes such as being able to appropriately reproduce.

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

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

【図2】 図1に示されるデジタルフォトプリンタの画
像処理装置の一例のブロック図である。
FIG. 2 is a block diagram of an example of an image processing apparatus of the digital photo printer shown in FIG.

【図3】 図2に示される画像処理装置の画像処理部の
一例のブロック図である。
FIG. 3 is a block diagram illustrating an example of an image processing unit of the image processing apparatus illustrated in FIG. 2;

【図4】 濃度ヒストグラムの一例である。FIG. 4 is an example of a density histogram.

【図5】 (A)および(B)は、それぞれ、階調圧縮
LUTを作成するための基本LUTの一例である。
FIGS. 5A and 5B are examples of a basic LUT for creating a gradation compression LUT.

【図6】 (A)は図5(A)に示される基本LUTに
掛かる係数を決定するためのLUTの一例を、(B)は
図5(B)に示される基本LUTに掛かる係数を決定す
るためのLUTの一例を、それぞれ示す。
6A illustrates an example of an LUT for determining a coefficient applied to the basic LUT illustrated in FIG. 5A, and FIG. 6B illustrates an example of a coefficient applied to the basic LUT illustrated in FIG. 5B. An example of an LUT for performing this is shown below.

【図7】 (A)は図5(A)に示される基本LUTに
掛かる係数を決定するためのLUTの別の例を、(B)
は図5(B)に示される基本LUTに掛かる係数を決定
するためのLUTの別の例を、それぞれ示す。
FIG. 7A shows another example of an LUT for determining a coefficient applied to the basic LUT shown in FIG. 5A, and FIG.
Shows another example of the LUT for determining the coefficient applied to the basic LUT shown in FIG.

【図8】 濃度の累積ヒストグラムの一例である。FIG. 8 is an example of a cumulative histogram of density.

【図9】 明部を圧縮する基本LUTの別の例である。FIG. 9 is another example of a basic LUT for compressing a light portion.

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

10 (デジタル)フォトプリンタ 12 スキャナ 14 (画像)処理装置 16 プリンタ 18 操作系 18a キーボード 18b マウス 20 ディスプレイ 22 光源 24 可変絞り 26 色フィルタ板 28 拡散ボックス 32 結像レンズユニット 34 イメージセンサ 36 アンプ 38 A/D変換器 46 データ処理部 48 Log変換器 50 プレスキャン(フレーム)メモリ 52 本スキャン(フレーム)メモリ 54 条件設定部 56 プレスキャン処理部 58 本スキャン処理部 60 シーン判別部 62 セットアップ部 64 キー調整部 66 パラメータ統合部 68,72 画像処理部 70,74 データ変換部 76 第1LUT 78 第1MTX 80 覆い焼き処理部 82 第2MTX 84 LPF 86 第2LUT 88 加算器 DESCRIPTION OF SYMBOLS 10 (Digital) photo printer 12 Scanner 14 (Image) processing device 16 Printer 18 Operation system 18a Keyboard 18b Mouse 20 Display 22 Light source 24 Variable aperture 26 Color filter plate 28 Diffusion box 32 Imaging lens unit 34 Image sensor 36 Amplifier 38 A / D converter 46 Data processing unit 48 Log converter 50 Prescan (frame) memory 52 Main scan (frame) memory 54 Condition setting unit 56 Prescan processing unit 58 Main scan processing unit 60 Scene discrimination unit 62 Setup unit 64 Key adjustment unit 66 Parameter integration unit 68, 72 Image processing unit 70, 74 Data conversion unit 76 First LUT 78 First MTX 80 Dodging processing unit 82 Second MTX 84 LPF 86 Second LUT 88 Adder

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】画像情報から、この画像情報が担持する画
像のシーンを判別するシーン判別部と、 前記画像情報を解析して、この解析結果および前記シー
ン判別部によるシーン判別結果に応じて、異なる強度も
しくは特性で、画像の階調を圧縮する圧縮処理条件を設
定する設定部と、 前記設定部が設定した圧縮処理条件に応じて、画像情報
を処理する処理部とを有することを特徴とする画像処理
装置。
1. A scene discriminator for discriminating, from image information, a scene of an image carried by the image information, analyzing the image information, and according to the analysis result and the scene discrimination result by the scene discriminator, A setting unit that sets compression processing conditions for compressing the gradation of an image with different intensities or characteristics; and a processing unit that processes image information according to the compression processing conditions set by the setting unit. Image processing device.
【請求項2】前記シーン判別部は、再生画像において再
生可能な最低濃度が不用なシーンと必要なシーンとに画
像のシーンを判別し、前記設定部は、前記最低濃度が不
用なシーンは、最低濃度が必要なシーンよりも画像の明
部を強く圧縮するように圧縮処理条件を設定する請求項
1に記載の画像処理装置。
2. The scene discriminating section discriminates a scene of an image into a scene where a minimum reproducible density is unnecessary and a required scene in a reproduced image. The image processing apparatus according to claim 1, wherein the compression processing condition is set such that a bright portion of the image is compressed more strongly than a scene requiring the minimum density.
【請求項3】前記画像の階調の圧縮は、特性の周波数成
分によって、画像の明部と暗部とで別々に行う請求項1
または2に記載の画像処理装置。
3. The image according to claim 1, wherein the gradation of the image is compressed separately for a light portion and a dark portion of the image depending on a frequency component of the characteristic.
Or the image processing device according to 2.
【請求項4】画像情報から、この画像情報が担持する画
像のシーンを判別し、画像情報の解析結果および前記シ
ーンの判別結果に応じて、異なる強度もしくは特性で、
画像の階調を圧縮することを特徴とする画像処理方法。
4. A method according to claim 1, wherein a scene of an image carried by the image information is determined from the image information, and different intensities or characteristics are determined according to a result of the analysis of the image information and a result of the determination of the scene.
An image processing method comprising compressing the gradation of an image.
【請求項5】再生画像で再生可能な最低濃度が不用なシ
ーンと必要なシーンとに画像のシーンを判別し、最低濃
度が不用なシーンでは、最低濃度が必要なシーンよりも
画像の明部の階調を強く圧縮する請求項4に記載の画像
処理方法。
5. A scene of an image which is distinguished from a scene which does not require a minimum density and a scene which requires a minimum density which can be reproduced in a reproduced image. The image processing method according to claim 4, wherein the gradation is strongly compressed.
JP2000031490A 2000-02-09 2000-02-09 Device and method for image processing Withdrawn JP2001222710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000031490A JP2001222710A (en) 2000-02-09 2000-02-09 Device and method for image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000031490A JP2001222710A (en) 2000-02-09 2000-02-09 Device and method for image processing

Publications (1)

Publication Number Publication Date
JP2001222710A true JP2001222710A (en) 2001-08-17

Family

ID=18556233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000031490A Withdrawn JP2001222710A (en) 2000-02-09 2000-02-09 Device and method for image processing

Country Status (1)

Country Link
JP (1) JP2001222710A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005112428A1 (en) * 2004-05-18 2005-11-24 Konica Minolta Photo Imaging, Inc. Image processing method, image processing device, image recorder, and image processing program
JP2006236068A (en) * 2005-02-25 2006-09-07 Fuji Photo Film Co Ltd Image processor, image processing method and program
JP2006318255A (en) * 2005-05-13 2006-11-24 Konica Minolta Photo Imaging Inc Image processing method, image processor and image processing program
US7315657B2 (en) 2001-11-29 2008-01-01 Ricoh Company, Ltd. Image processing apparatus, image processing method, computer program and storage medium
US7359571B2 (en) 2002-02-19 2008-04-15 Fujifilm Corporation Method, apparatus and program for image processing
US7469072B2 (en) 2003-07-18 2008-12-23 Canon Kabushiki Kaisha Image processing apparatus and method
US7471847B2 (en) 2003-07-18 2008-12-30 Canon Kabushiki Kaisha Image processing method and apparatus for correcting image brightness distribution

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7315657B2 (en) 2001-11-29 2008-01-01 Ricoh Company, Ltd. Image processing apparatus, image processing method, computer program and storage medium
US7359571B2 (en) 2002-02-19 2008-04-15 Fujifilm Corporation Method, apparatus and program for image processing
US7469072B2 (en) 2003-07-18 2008-12-23 Canon Kabushiki Kaisha Image processing apparatus and method
US7471847B2 (en) 2003-07-18 2008-12-30 Canon Kabushiki Kaisha Image processing method and apparatus for correcting image brightness distribution
US7650045B2 (en) 2003-07-18 2010-01-19 Canon Kabushiki Kaisha Image processing apparatus and method
WO2005112428A1 (en) * 2004-05-18 2005-11-24 Konica Minolta Photo Imaging, Inc. Image processing method, image processing device, image recorder, and image processing program
JP2006236068A (en) * 2005-02-25 2006-09-07 Fuji Photo Film Co Ltd Image processor, image processing method and program
JP4667072B2 (en) * 2005-02-25 2011-04-06 富士フイルム株式会社 Image processing apparatus, image processing method, and program
JP2006318255A (en) * 2005-05-13 2006-11-24 Konica Minolta Photo Imaging Inc Image processing method, image processor and image processing program

Similar Documents

Publication Publication Date Title
JP4081219B2 (en) Image processing method and image processing apparatus
US6603878B1 (en) Image processing method
JPH11355591A (en) Picture processing method
JPH11239269A (en) Image processing method
JP3913356B2 (en) Image processing method
JP3696345B2 (en) Image processing method and apparatus
US6459500B1 (en) Image processing apparatus
JP3408770B2 (en) Image processing device
JP3405266B2 (en) Image processing method and apparatus
JPH11191871A (en) Image processor
JP2000156785A (en) Image processing method and image processor
JP2001218015A (en) Picture processing method and picture processor
JP2001222710A (en) Device and method for image processing
JP3823865B2 (en) Image processing method, image processing program, and recording medium on which image processing program is recorded
JP3964796B2 (en) Red-eye detection and correction method
US20020012126A1 (en) Image processing method and apparatus
JP2001177732A (en) Image processor
JP3939428B2 (en) Image processing method and apparatus
US6700685B1 (en) Image processing apparatus
JP2001245153A (en) Image processing method and apparatus
JPH11249241A (en) Image processing method and image processing device
JPH1153535A (en) Method and device for image reproduction
JPH1013680A (en) Image processing method and image processor
JP3929210B2 (en) Image processing method and apparatus
US20030164967A1 (en) Image processing method, image processing apparatus, and image processing program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070501