[go: up one dir, main page]

JPH11191871A - Image processor - Google Patents

Image processor

Info

Publication number
JPH11191871A
JPH11191871A JP9357139A JP35713997A JPH11191871A JP H11191871 A JPH11191871 A JP H11191871A JP 9357139 A JP9357139 A JP 9357139A JP 35713997 A JP35713997 A JP 35713997A JP H11191871 A JPH11191871 A JP H11191871A
Authority
JP
Japan
Prior art keywords
image
image data
dynamic range
image processing
compression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9357139A
Other languages
Japanese (ja)
Other versions
JPH11191871A5 (en
Inventor
Toru Matama
徹 真玉
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 JP9357139A priority Critical patent/JPH11191871A/en
Publication of JPH11191871A publication Critical patent/JPH11191871A/en
Publication of JPH11191871A5 publication Critical patent/JPH11191871A5/ja
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To stably prepare the print of high picture quality reproducing an image close to an impression at the time of watching an original scene by performing the compressing processing of the dynamic range of an image corresponding to the compressing conditions of the set dynamic range. SOLUTION: At a processor 10, out-of-focus image data processed by the dynamic range compressing table of a second look-up table(LUT) 82 are added to main image data processed by a first matrix computing element (MTX) 76. Thus, overlaid printing processing is performed while non-linearly compressing the dynamic range of image data, the dynamic range of output image data and the gradation or density of light/dark parts are made proper, and an output image is provided as the print reproducing the image of high picture quality for a person to get the same impression as the time of watching the original (photographed) scene. The dynamic range compressing table of the second LUT 82 is a table for providing processing image data for appropriately compressing the dynamic range or the like of out-of-focus image data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フィルムに撮影さ
れた画像を光電的に読み取り、この画像が再現されたプ
リント(写真)を得るデジタルフォトプリンタ等に利用
される画像処理装置の技術分野に属する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technical field of an image processing apparatus used for a digital photo printer or the like which photoelectrically reads an image photographed on a film and obtains a print (photograph) in which the image is reproduced. Belong.

【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. Surface-exposing the photosensitive material,
So-called direct exposure (analog 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】デジタルフォトプリンタでは、画像をデジ
タルの画像データとして、画像データ処理によって焼付
時の露光条件を決定することができるので、逆光やスト
ロボ撮影等に起因する画像の飛びやツブレの補正、シャ
ープネス(鮮鋭化)処理、カラーフェリアや濃度フェリ
アの補正、アンダー露光やオーバー露光の補正、周辺光
量不足の補正等を好適に行って、従来の直接露光では得
られなかった高品位なプリントを得ることができる。し
かも、複数画像の合成や画像分割、さらには文字の合成
等も画像データ処理によって行うことができ、用途に応
じて自由に編集/処理したプリントも出力可能である。
しかも、デジタルフォトプリンタによれば、画像をプリ
ント(写真)として出力するのみならず、画像データを
コンピュータ等に供給したり、フロッピーディスク等の
記録媒体に保存しておくこともできるので、画像データ
を、写真以外の様々な用途に利用することができる。
In a digital photo printer, exposure conditions at the time of printing can be determined by image data processing using an image as digital image data, so that image skipping and blurring caused by backlight, strobe photography, and the like can be corrected, and sharpness can be reduced. Properly perform (sharpening) processing, correction of color feria and density feria, correction of underexposure and overexposure, correction of insufficient peripheral light quantity, etc. to obtain high-quality prints that could not be obtained by conventional direct exposure Can be. In addition, synthesis of a plurality of images, image division, and synthesis of characters can be performed by image data processing, and prints that have been freely edited / processed according to the intended use can be output.
Moreover, according to the digital photo printer, not only can the image be output as a print (photo), but also the image data can be supplied to a computer or the like or stored on a recording medium such as a floppy disk. Can be used for various purposes other than photography.

【0005】このようなデジタルフォトプリンタは、基
本的に、フィルムに記録された画像を光電的に読み取る
スキャナ(画像読取装置)、読み取った画像を画像処理
して記録用の画像データ(露光条件)とする画像処理装
置、および、この画像データに応じて感光材料を走査露
光して現像処理を施してプリントとするプリンタ(画像
記録装置)より構成される。
Such a digital photo printer basically includes a scanner (image reading device) that photoelectrically reads an image recorded on a film, image processing of the read image, and recording image data (exposure conditions). And a printer (image recording apparatus) that scans and exposes the photosensitive material in accordance with the image data, performs development processing, and prints.

【0006】スキャナでは、光源から射出された読取光
をフィルムに入射して、フィルムに撮影された画像を担
持する投影光を得て、この投影光を結像レンズによって
CCDセンサ等のイメージセンサに結像して光電変換す
ることにより画像を読み取り、必要に応じて各種の画像
処理を施した後に、フィルムの画像データ(画像データ
信号)として画像処理装置に送る。画像処理装置は、ス
キャナによって読み取られた画像データから画像処理条
件を設定して、設定した条件に応じた画像処理を画像デ
ータに施し、画像記録のための出力画像データ(露光条
件)としてプリンタに送る。プリンタでは、例えば、光
ビーム走査露光を利用する装置であれば、画像処理装置
から送られた画像データに応じて光ビームを変調して、
感光材料を二次元的に走査露光(焼付け)して潜像を形
成し、次いで、所定の現像処理等を施して、フィルムに
撮影された画像が再生されたプリント(写真)とする。
In a scanner, reading light emitted from a light source is incident on a film to obtain projection light carrying an image photographed on the film, and the projection light is transmitted to an image sensor such as a CCD sensor by an imaging lens. The image is read by forming an image and performing photoelectric conversion, and after performing various types of image processing as necessary, the image is sent to the image processing apparatus as image data (image data signal) of the film. The image processing apparatus sets image processing conditions from image data read by a scanner, performs image processing according to the set conditions on the image data, and outputs the image data to a printer as output image data (exposure conditions) for image recording. send. In the printer, for example, if the device uses light beam scanning exposure, the light beam is modulated according to the image data sent from the image processing device,
The photosensitive material is two-dimensionally scanned and exposed (printed) to form a latent image, and then subjected to a predetermined developing process and the like, so that an image photographed on the film is reproduced (printed).

【0007】[0007]

【発明が解決しようとする課題】ところで、フィルムに
撮影された画像の撮影条件は一定ではなく、ストロボ撮
影や逆光シーン等、明暗(濃度)の差が大きい場合、す
なわち画像のダイナミックレンジが非常に広い場合も多
々ある。このようなフィルム画像を通常の方法で露光し
てプリントを作成すると、明部(ハイライト)もしくは
暗部(シャドー)のいずれかの画像がつぶれてしまう場
合がある。例えば、人物を逆光で撮影した場合、人物が
好適な画像となるように露光を行うと、空のような明る
い部分は白く飛んでしまい、逆に、空が好適な画像とな
るように露光を行うと、人物が黒くつぶれてしまう。
By the way, the photographing conditions of an image photographed on a film are not constant, and when there is a large difference between light and dark (density) such as a strobe photograph or a backlight scene, that is, the dynamic range of the image is very large. There are many cases where it is wide. When a print is created by exposing such a film image by a normal method, an image in either a bright portion (highlight) or a dark portion (shadow) may be lost. For example, when a person is photographed in backlight, if a person is exposed to obtain a suitable image, a bright portion such as the sky will fly white, and conversely, the exposure will be performed so that the sky will be a suitable image. If you do, the person will be crushed black.

【0008】そのため、明暗の大きなフィルム画像を原
画として感光材料の露光を行う場合には、いわゆる覆い
焼きが行われている。覆い焼きとは、中間濃度の部分に
は通常の露光を行い、画像が飛びそうな明部は露光量を
増加し、また、画像がつぶれそうな暗部の露光量を低減
することにより、フィルムに撮影された画像の大きな明
暗を補正し、人間が原シーンを見た時の印象に近くなる
ように、画面全体に渡って適正な画像が再生されたプリ
ントを得る技術である。
Therefore, when exposing a photosensitive material using a film image having a large brightness as an original image, so-called dodging is performed. Dodging means that normal exposure is applied to parts of intermediate density, bright areas where the image is likely to fly increase the exposure, and dark areas where the image is likely to collapse reduce the exposure on the film. This is a technique for correcting a large brightness of a photographed image and obtaining a print in which an appropriate image is reproduced over the entire screen so as to approximate an impression when a human looks at an original scene.

【0009】従来の直接露光による装置では、露光光路
中に遮光板やNDフィルタ等を挿入して露光を行う方
法、露光光源の光量を部分的に変更する方法、フィルム
に撮影された画像の明暗を反転したモノクロフィルムを
作成して、これを重ねて露光を行う方法等により、フィ
ルムに撮影された画像に応じて露光量を部分的に変更し
て覆い焼きが行われている。これに対して、デジタルフ
ォトプリンタでは、画像データ処理によって、明部およ
び/または暗部を好適に再現するように画像のダイナミ
ックレンジを圧縮することにより(以下、覆い焼き処理
とする)、前記直接露光での覆い焼きよりも高い自由度
で、人間が原シーンを見た時の印象に近い画像を再現す
ることができ、本出願人は、先にその方法を提案してい
る(特開平9−18704号、同9−130609号の
各公報等参照)。
In a conventional apparatus using direct exposure, a method of performing exposure by inserting a light-shielding plate or an ND filter in an exposure optical path, a method of partially changing the amount of light of an exposure light source, and the method of adjusting the brightness of an image photographed on a film. For example, dodging is performed by partially changing the exposure amount in accordance with an image photographed on a film by, for example, a method in which a monochrome film is formed by reversing the above method, and the exposure is performed by overlapping the monochrome film. On the other hand, in the digital photo printer, the direct exposure is performed by compressing the dynamic range of an image by image data processing so as to appropriately reproduce a bright portion and / or a dark portion (hereinafter referred to as dodging process). It is possible to reproduce an image close to the impression when a human sees the original scene with a higher degree of freedom than dodging in the above-mentioned method. 18704, 9-130609, etc.).

【0010】一般的に、デジタルの画像データ処理で
は、フィルムに撮影された画像を光電的に読み取って、
得られた画像データを解析して、覆い焼き処理等の画像
処理条件を設定して、画像データ処理を行っている。と
ころが、原画像のシーンの種類、原シーンの輝度、光線
の状態によっては、フィルムに撮影された画像(これを
再現した画像)と、人間が原シーンを見た印象とは異な
る場合も多い。そのため、画像データに応じた最適な覆
い焼き処理の条件を設定しても、出力画像を人間が原シ
ーンを見た時の印象に近付けるのには限界がある。
Generally, in digital image data processing, an image photographed on a film is photoelectrically read, and
The obtained image data is analyzed, image processing conditions such as dodging processing are set, and image data processing is performed. However, depending on the scene type of the original image, the luminance of the original scene, and the state of the light rays, an image photographed on a film (an image reproduced from the film) often differs from the impression that a human saw the original scene. For this reason, even if the optimal dodging conditions are set in accordance with the image data, there is a limit to how close the output image can be to the impression when a person views the original scene.

【0011】本発明の目的は、前記従来技術の問題点を
解決することにあり、フィルムに撮影された画像から得
られた画像データ等を処理して出力用の画像データとす
る、前述のデジタルフォトプリンタに好適に利用される
画像処理装置であって、原画像のシーンの種類、輝度、
撮影時の光線の状態等に応じて、最適な画像処理条件を
設定して、直接露光における覆い焼きの効果を付与する
画像ダイナミックレンジの圧縮処理(覆い焼き処理)を
行うことができ、画像状態によらず、人間が原シーンを
見た時の印象に近い画像を安定して再生することを可能
にする画像処理装置を提供することにある。
An object of the present invention is to solve the above-mentioned problems of the prior art, and to process image data or the like obtained from an image photographed on a film into image data for output as described above. An image processing apparatus suitably used for a photo printer, which includes a scene type, luminance,
It is possible to set an optimal image processing condition in accordance with the state of light rays at the time of photographing and to perform a compression process of an image dynamic range that gives a dodging effect in direct exposure (dodging process). Regardless, it is an object of the present invention to provide an image processing apparatus capable of stably reproducing an image close to an impression when a human looks at an original scene.

【0012】[0012]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、撮影によって得られた画像の画像データ
に所定の画像処理を施し、出力用の画像データとする画
像処理装置であって、前記画像の撮影情報の取得手段
と、前記画像データおよび前記取得手段が取得した撮影
情報から、前記画像のダイナミックレンジの圧縮条件を
設定する設定手段と、前記設定手段が設定したダイナミ
ックレンジの圧縮条件に応じて、前記画像のダイナミッ
クレンジの圧縮処理を行う処理手段とを有することを特
徴とする画像処理装置を提供する。
According to an aspect of the present invention, there is provided an image processing apparatus for performing predetermined image processing on image data of an image obtained by photographing to obtain output image data. Means for acquiring shooting information of the image, setting means for setting a compression condition of a dynamic range of the image from the image data and the shooting information acquired by the acquiring means, and a dynamic range set by the setting means. Processing means for compressing the dynamic range of the image according to compression conditions.

【0013】また、前記設定手段が、前記画像データか
ら算出された画像特徴量を用いてダイナミックレンジの
圧縮条件を設定するのが好ましい。
[0013] Preferably, the setting means sets a compression condition of a dynamic range using an image feature amount calculated from the image data.

【0014】[0014]

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

【0015】図1に、本発明の画像処理装置を利用する
デジタルフォトプリンタの一例のブロック図が示され
る。図1に示されるデジタルフォトプリンタ(以下、フ
ォトプリンタ10とする)は、基本的に、フィルムFに
撮影された画像を光電的に読み取るスキャナ(画像読取
装置)12と、読み取られた画像データ(画像情報)の
画像処理やフォトプリンタ10全体の操作および制御等
を行う画像処理装置14と、画像処理装置14から出力
された画像データに応じて変調した光ビームで感光材料
Aを画像露光し、現像処理して(仕上り)プリントとし
て出力するプリンタ16とを有して構成される。また、
画像処理装置14には、様々な条件の入力(設定)、処
理の選択や指示、色/濃度補正などの指示等を入力する
ためのキーボード18aおよびマウス18bを有する操
作系18と、スキャナ12で読み取られた画像、各種の
操作指示、様々な条件の設定/登録画面等を表示するデ
ィスプレイ20が接続される。
FIG. 1 is a block diagram showing an example of a digital photo printer using the image processing apparatus 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 that photoelectrically reads an image captured on a film F, and read image data ( An image processing unit 14 that performs image processing of image information), operation and control of the entire photo printer 10, and the like, and imagewise exposes the photosensitive material A with a light beam modulated according to image data output from the image processing unit 14. And a printer 16 for developing and outputting as a (finished) print. Also,
The image processing apparatus 14 includes an operation system 18 having a keyboard 18a and a mouse 18b for inputting (setting) various conditions, selecting and instructing processing, and instructions for color / density correction, and the like. A display 20 for displaying a read image, various operation instructions, a setting / registration screen for various conditions, and the like is connected.

【0016】スキャナ12は、フィルムF等に撮影され
た画像を1コマずつ光電的に読み取る装置で、光源22
と、可変絞り24と、画像をR(赤)、G(緑)および
B(青)の三原色に分解するためのR、GおよびBの3
枚の色フィルタを有し、回転して任意の色フィルタを光
路に作用する色フィルタ板26と、フィルムFに入射す
る読取光をフィルムFの面方向で均一にする拡散ボック
ス28と、結像レンズユニット32と、フィルムの1コ
マの画像を読み取るエリアセンサであるCCDセンサ3
4と、アンプ(増幅器)36とを有して構成される。
The scanner 12 is a device that photoelectrically reads an image photographed on a film F or the like one frame at a time.
And a variable aperture 24 and R, G and B for separating the image into three primary colors of R (red), G (green) and B (blue).
A color filter plate 26 having a plurality of color filters and rotating to apply an arbitrary color filter to an optical path; a diffusion box 28 for making reading light incident on the film F uniform in a surface direction of the film F; A lens unit 32 and a CCD sensor 3 serving as an area sensor for reading one frame image of the film;
4 and an amplifier (amplifier) 36.

【0017】図示例のフォトプリンタ10においては、
新写真システム(Advanced Photo System)や135サイ
ズのネガ(あるいはリバーサル)フィルム等のフィルム
の種類やサイズ、ストリップスやスライド等のフィルム
の形態等に応じて、スキャナ12の本体に装着自在な専
用のキャリア30が用意されており、キャリア30を交
換することにより、各種のフィルムや処理に対応するこ
とができる。フィルムに撮影され、プリント作成に供さ
れる画像(コマ)は、このキャリア30によって所定の
読取位置に搬送、保持される。また、周知のように、新
写真システムのフィルムには、磁気記録媒体が形成さ
れ、カートリッジIDやフィルム種等が記録されてお
り、さらに、撮影時や現像時等に、撮影日時、撮影時の
ストロボ発光の有無、撮像倍率、撮影シーンID、主要
部位置の情報、現像機の種類等の各種のデータが記録可
能である。新写真システムのフィルム(カートリッジ)
に対応するキャリア30には、この磁気情報の読取手段
が配置されており、フィルムを読取位置に搬送する際に
磁気情報を読み取り、前記各種の情報が画像処理装置1
4に送られる。
In the illustrated example of the photo printer 10,
Depending on the type and size of the film, such as a new photo system (Advanced Photo System) or 135 size negative (or reversal) film, the form of the film such as strips and slides, etc. The carrier 30 is prepared, and by exchanging the carrier 30, it is possible to cope with various films and processes. An image (frame) photographed on a film and provided for print creation is conveyed and held at a predetermined reading position by the carrier 30. Further, as is well known, a magnetic recording medium is formed on the film of the new photographic system, and a cartridge ID, a film type, and the like are recorded. Various data such as the presence or absence of strobe light emission, imaging magnification, shooting scene ID, information on the position of the main part, and the type of developing machine can be recorded. New photo system film (cartridge)
The magnetic information reading means is arranged on the carrier 30 corresponding to the image processing apparatus 1 and reads the magnetic information when the film is transported to the reading position.
4

【0018】このようなスキャナ12においては、光源
22から射出され、可変絞り24によって光量調整さ
れ、色フィルタ板26を通過して色調整され、拡散ボッ
クス28で拡散された読取光が、キャリア30によって
所定の読取位置に保持されたフィルムFの1コマに入射
して、透過することにより、フィルムFに撮影されたこ
のコマの画像を担持する投影光を得る。フィルムFの投
影光は、結像レンズユニット32によってCCDセンサ
34の受光面に結像され、CCDセンサ34によって光
電的に読み取られ、その出力信号がアンプ36で増幅さ
れて、画像処理装置14に送られる。CCDセンサ34
は、例えば、1380×920画素のエリアCCDセン
サである。
In such a scanner 12, the reading light emitted from the light source 22, the amount of light is adjusted by the variable aperture 24, the color is adjusted by passing through the color filter plate 26, and diffused by the diffusion box 28 is transmitted to the carrier 30. As a result, the light enters one frame of the film F held at a predetermined reading position and is transmitted therethrough, thereby obtaining projection light carrying an image of the frame photographed on the film F. The projection light of the film F is formed into an image on the light receiving surface of the CCD sensor 34 by the imaging lens unit 32, is read photoelectrically by the CCD sensor 34, and its output signal is amplified by the amplifier 36 and transmitted to the image processing device 14. Sent. CCD sensor 34
Is, for example, an area CCD sensor having 1380 × 920 pixels.

【0019】スキャナ12においては、このような画像
読取を、色フィルタ板26の各色フィルタを順次挿入し
て3回行うことにより、1コマの画像をR,GおよびB
の3原色に分解して読み取る。ここで、フォトプリンタ
10においては、プリントを出力するための画像読み取
り(本スキャン)に先立ち、画像処理条件等を決定する
ために、画像を低解像度で読み取るプレスキャンを行
う。従って、1コマで、合計6回の画像読み取りが行わ
れる。
In the scanner 12, such an image reading is performed three times by sequentially inserting the respective color filters of the color filter plate 26, so that one frame of image is read out by R, G and B.
And read out. Here, in the photo printer 10, a pre-scan for reading an image at a low resolution is performed in order to determine image processing conditions and the like, before reading an image for printing a print (main scan). Therefore, a total of six image readings are performed in one frame.

【0020】スキャナ12は、エリアCCDセンサを用
い、色フィルタ板26によって読取光を調整することに
より、原稿画像(フィルムFの投影光)を3原色に分解
して画像の読み取りを行っているが、本発明の画像処理
装置に画像データを供給するスキャナとしては、R,G
およびBの3原色のそれぞれの読み取りに対応する3つ
のラインCCDセンサを用い、フィルムFをキャリアで
走査搬送しつつスリット状の読取光(投影光)によって
画像読取を行う、いわゆるスリット走査によって画像を
読み取る画像読取装置であってもよい。
The scanner 12 uses an area CCD sensor and adjusts reading light with a color filter plate 26 to separate an original image (projection light of the film F) into three primary colors and read the image. As scanners for supplying image data to the image processing apparatus of the present invention, R, G
An image is read by so-called slit scanning, in which three line CCD sensors corresponding to reading of the three primary colors of B and B are used to scan and convey the film F with a carrier while reading an image with slit-shaped reading light (projection light). An image reading device for reading may be used.

【0021】図示例のフォトプリンタ10は、ネガやリ
バーサル等のフィルムに撮影された画像を光電的に読み
取るスキャナ12を画像処理装置14の画像データ供給
源としているが、画像処理装置14に画像データを供給
する画像データ供給源としては、スキャナ12以外に
も、デジタルカメラやデジタルビデオカメラ等の撮像デ
バイス、反射原稿の画像を読み取る画像読取装置、LA
N(Local Area Network)やコンピュータ通信ネットワー
ク等の通信手段、メモリカードやMO(光磁気記録媒
体)等のメディア(記録媒体)等の、各種の画像読取手
段や撮像手段、画像データの記憶手段等が各種使用可能
である。
The illustrated photo printer 10 uses a scanner 12 that photoelectrically reads an image photographed on a film such as a negative or a reversal as an image data supply source of the image processing device 14. The image data supply source that supplies the image data includes an image pickup device such as a digital camera and a digital video camera, an image reading device that reads an image of a reflection document, and an LA in addition to the scanner 12.
Communication means such as N (Local Area Network) and computer communication network; various image reading means and imaging means such as a memory card and a medium (recording medium) such as MO (magneto-optical recording medium); storage means for image data; Can be used in various ways.

【0022】前述のように、スキャナ12からの出力信
号(画像データ)は、画像処理装置14(以下、処理装
置14とする)に出力される。図2に処理装置14のブ
ロック図を示す。処理装置14は、本発明の画像処理装
置にかかるものであり、データ処理部38、プレスキャ
ン(フレーム)メモリ40、本スキャン(フレーム)メ
モリ42、条件設定部44、表示画像処理部46、およ
び本スキャン画像処理部48を有して構成される。な
お、図2は、主に画像処理関連の部位を示すものであ
り、処理装置14には、これ以外にも、処理装置14を
含むフォトプリンタ10全体の制御や管理を行うCP
U、フォトプリンタ10の作動等に必要な情報を記憶す
るメモリ、本スキャンの際の可変絞り24の絞り値やC
CDセンサ34の蓄積時間を決定する手段等が配置さ
れ、また、操作系18やディスプレイ20は、このCP
U等(CPUバス)を介して各部位に接続される。
As described above, the output signal (image data) from the scanner 12 is output to the image processing device 14 (hereinafter, referred to as the processing device 14). FIG. 2 shows a block diagram of the processing device 14. The processing device 14 is related to the image processing device of the present invention, and includes a data processing unit 38, a prescan (frame) memory 40, a main scan (frame) memory 42, a condition setting unit 44, a display image processing unit 46, It has a main scan image processing unit 48. FIG. 2 mainly shows parts related to image processing. The processing device 14 includes a CP that controls and manages the entire photo printer 10 including the processing device 14.
U, a memory for storing information necessary for operation of the photo printer 10, etc .;
Means for determining the storage time of the CD sensor 34 and the like are arranged. The operation system 18 and the display 20
It is connected to each part via U etc. (CPU bus).

【0023】スキャナ12から出力されたR,Gおよび
Bの各出力信号は、A/D(アナログ/デジタル)変
換、Log変換、DCオフセット補正、暗時補正、シェ
ーディング補正等を行うデータ処理部38で処理されて
デジタルの画像データとされ、プレスキャン(画像)デ
ータはプレスキャンメモリ40に、本スキャン(画像)
データは本スキャンメモリ42に、それぞれ記憶(格
納)される。なお、プレスキャンデータと本スキャンデ
ータは、解像度(画素密度)と信号レベルが異なる以外
は、基本的に同じデータである。
The R, G, and B output signals output from the scanner 12 are subjected to A / D (analog / digital) conversion, Log conversion, DC offset correction, dark time correction, shading correction, and the like. The pre-scan (image) data is stored in the pre-scan memory 40 in the main scan (image).
The data is stored (stored) in the main scan memory 42, respectively. The pre-scan data and the main scan data are basically the same data except that the resolution (pixel density) and the signal level are different.

【0024】プレスキャンメモリ40に記憶された画像
情報は表示画像処理部46および条件設定部44に、本
スキャンメモリ42に記憶された画像情報は本スキャン
画像処理部48に、それぞれ読み出される。
The image information stored in the pre-scan memory 40 is read out to the display image processing unit 46 and the condition setting unit 44, and the image information stored in the main scan memory 42 is read out to the main scan image processing unit 48.

【0025】条件設定部44は、セットアップ(処理条
件設定)部50と、キー補正部52と、パラメータ統合
部54とを有する。セットアップ部50は、基礎となる
画像処理条件を設定する部分で、プレスキャンメモリ4
0に記憶された画像データから、濃度ヒストグラムの作
成、ハイライト(最高濃度)、シャドー(最低濃度)、
平均濃度、LATD(大面積透過濃度)等の画像特徴量
の算出を行い、画像処理条件の設定、具体的には、グレ
イバランス(カラーバランス)調整、画像ダイナミック
レンジの圧縮処理(以下、覆い焼き処理とする)等の各
種の画像処理を行うルックアップテーブル(LUT)の
作成や補正係数(処理係数)の算出等を行う。ここで、
本発明にかかる処理装置14においては、覆い焼き処理
の処理条件は、前記画像特徴量に加え、取得した撮影情
報も加味して設定される。これらの画像処理条件につい
ては、後に詳述する。
The condition setting section 44 has a setup (processing condition setting) section 50, a key correction section 52, and a parameter integration section 54. The setup unit 50 is a part for setting the basic image processing conditions.
From the image data stored in 0, create a density histogram, highlight (highest density), shadow (lowest density),
Image characteristics such as average density and LATD (large area transmission density) are calculated, and image processing conditions are set, specifically, gray balance (color balance) adjustment, image dynamic range compression processing (hereinafter, dodging) For example, a look-up table (LUT) for performing various types of image processing, such as processing, is calculated, and a correction coefficient (processing coefficient) is calculated. here,
In the processing device 14 according to the present invention, the processing conditions of the dodging processing are set in consideration of the acquired photographing information in addition to the image feature amount. These image processing conditions will be described later in detail.

【0026】キー補正部52は、図3に示される、キー
ボード18aに設定された調整キー56等を用いたオペ
レータの指示(入力)に応じて、画像処理条件の補正量
を演算する。図示例の調整キー56では、一例として、
全体濃度(D)、シアン(C)濃度、マゼンタ濃度
(M)、イエロー(Y)濃度、階調(γ)、明部(ハイ
ライト側α light)、および暗部(シャドー側 α dar
k)を、それぞれ調整することができ、オペレータは、後
述するディスプレイ20に表示された画像を見ながら検
定を行い、必要に応じて各パラメータの(+)キーおよ
び(−)キーの押圧して、所望の状態に画像を調整し、
すなわち画像処理条件の調整を行う。
The key correction section 52 calculates the correction amount of the image processing condition in accordance with the instruction (input) of the operator using the adjustment key 56 or the like set on the keyboard 18a shown in FIG. With the adjustment key 56 in the illustrated example, as an example,
Overall density (D), cyan (C) density, magenta density (M), yellow (Y) density, gradation (γ), bright part (highlight α light), and dark part (shadow α dar)
k) can be adjusted individually, and the operator performs the test while viewing the image displayed on the display 20 described later, and presses the (+) key and (-) key of each parameter as necessary. Adjust the image to the desired state,
That is, the image processing conditions are adjusted.

【0027】パラメータ統合部54は、セットアップ部
50によって設定された画像処理条件と、キー補正部5
2による補正量とを統合して、最終的に設定された画像
処理条件とする。従って、調整キー56による入力が無
い場合には、本スキャンデータ(出力画像)の画像処理
条件は、セットアップ部50によって設定された画像処
理条件となる。また、パラメータ統合部54は、画像処
理条件を統合・設定すると、表示画像処理部46および
本スキャン画像処理部48の所定部位(ハード)に設定
し、各画像データは、この画像処理条件に応じた処理を
施される。従って、調整キー56からの入力があり、先
にパラメータ統合部54で設定された画像処理条件が変
更されると、これに応じてディスプレイ20の画像も変
化する。
The parameter integration unit 54 is configured to store the image processing conditions set by the setup unit 50 and the key correction unit 5
And the correction amount obtained in Step 2 is integrated to obtain the finally set image processing condition. Therefore, when there is no input from the adjustment key 56, the image processing conditions of the main scan data (output image) are the image processing conditions set by the setup unit 50. When the parameter integration unit 54 integrates and sets the image processing conditions, the parameter integration unit 54 sets the image processing conditions in predetermined portions (hardware) of the display image processing unit 46 and the main scan image processing unit 48, and each image data is set according to the image processing conditions. Process. Therefore, when an input is made from the adjustment key 56 and the image processing condition previously set by the parameter integration unit 54 is changed, the image on the display 20 changes accordingly.

【0028】表示画像処理部46は、プレスキャンメモ
リ40に記憶されたプレスキャンデータを読み出し、条
件設定部44で設定された画像処理条件に応じた画像処
理を施し、ディスプレイ20表示用の画像データとする
部位で、第1LUT58、第1マトリクス演算器(MT
X)60、第2MTX62、ローパスフィルタ(LP
F)64、第2LUT66、第3LUT68、信号変換
器70、および加算器72を有して構成される。一方、
本スキャン画像処理部48は、本スキャンメモリ42に
記憶された本スキャンデータを読み出し、条件設定部4
4で設定された画像処理条件に応じて所定の画像処理を
施し、プリンタ16による画像記録のための出力画像デ
ータとする部位で、第1LUT74、第1MTX76、
第2MTX78、LPF80、第2LUT82、第3L
UT84、および加算器86を有して構成される。な
お、本スキャン画像処理部48には、さらに、シャープ
ネス(鮮鋭化)処理を行うシャープネス処理部が設けら
れてもよい。
The display image processing section 46 reads out the pre-scan data stored in the pre-scan memory 40, performs image processing in accordance with the image processing conditions set by the condition setting section 44, and outputs image data for display on the display 20. The first LUT 58 and the first matrix computing unit (MT
X) 60, second MTX 62, low-pass filter (LP)
F) 64, a second LUT 66, a third LUT 68, a signal converter 70, and an adder 72. on the other hand,
The main scan image processing unit 48 reads the main scan data stored in the main scan memory 42 and
The first LUT 74, the first MTX 76, the first LUT 74, the first MTX 76, which perform predetermined image processing according to the image processing conditions set in step 4 and output the image data by the printer 16.
Second MTX 78, LPF 80, second LUT 82, third L
It has a UT 84 and an adder 86. Note that the main scan image processing unit 48 may further include a sharpness processing unit that performs a sharpness (sharpening) process.

【0029】上記説明より明らかなように、両画像処理
部はほぼ同様の構成を有し、画素数(解像度)が異なる
以外は、基本的に、同じ処理条件が設定され、同様の画
像処理が行われる。以下、本スキャン画像処理部48を
代表例として両画像処理部を説明する。
As apparent from the above description, the two image processing units have almost the same configuration, and basically the same processing conditions are set except that the number of pixels (resolution) is different. Done. Hereinafter, both image processing units will be described using the main scan image processing unit 48 as a representative example.

【0030】第1LUT74(第1LUT58)は、本
スキャンメモリ42(プレスキャンメモリ40)に記憶
された画像データを読み出し、グレイバランスの調整、
明るさ(濃度)補正および階調補正を行うもので、それ
ぞれの補正や調整を行うためのLUTがカスケード接続
されて構成されている。第1LUT74の各LUTは、
前述の条件設定部44によって作成、設定される。
The first LUT 74 (first LUT 58) reads out image data stored in the main scan memory 42 (pre-scan memory 40), adjusts the gray balance,
It performs brightness (density) correction and gradation correction, and is configured by cascading LUTs for performing respective corrections and adjustments. Each LUT of the first LUT 74 is
It is created and set by the condition setting unit 44 described above.

【0031】図4に第1LUT74に設定されるテーブ
ルの一例を示す。図4(a)はグレイバランスの調整テ
ーブルで、セットアップ部50は、ハイライトおよびシ
ャドーから、公知の方法でグレイバランスを取ってこの
調整テーブルを作成する。また、調整キー56からの入
力があった場合には、キー補正部52で補正量が算出さ
れ、パラメータ統合部54でこの補正量とセットアップ
部50が作成した調整テーブルとが統合され、調整テー
ブルのR、GおよびBの各テーブルの傾きが変化する。
図4(b)は明るさ補正の補正テーブルで、セットアッ
プ部50は、濃度ヒストグラムやハイライトおよびシャ
ドーから、公知のセットアップアルゴリズムを用いて、
この補正テーブルを作成する。また、この補正テーブル
は、グレイバランスの調整テーブルと同様に、前述の調
整キー56の濃度(D)キーの入力によって図4(b)
に示されるように調整される。図4(c)は階調の補正
テーブルで、セットアップ部50は、濃度ヒストグラム
やハイライトおよびシャドーから、公知のセットアップ
アルゴリズムを用いて、この補正テーブルを作成する。
また、この補正テーブルは、グレイバランスの調整テー
ブルと同様に、前述の調整キー56の階調(γ)キーの
入力によって図4(c)に示されるように調整される。
FIG. 4 shows an example of a table set in the first LUT 74. FIG. 4A shows a gray balance adjustment table. The setup unit 50 creates this adjustment table by taking a gray balance from highlights and shadows by a known method. When an input is made from the adjustment key 56, the correction amount is calculated by the key correction unit 52, and the correction amount and the adjustment table created by the setup unit 50 are integrated by the parameter integration unit 54, and the adjustment table is adjusted. Of the R, G, and B tables change.
FIG. 4B shows a correction table for brightness correction. The setup unit 50 uses a known setup algorithm based on a density histogram, highlights and shadows.
This correction table is created. Also, this correction table is obtained by inputting the density (D) key of the adjustment key 56 as shown in FIG.
Is adjusted as shown in FIG. 4C shows a gradation correction table. The setup unit 50 creates this correction table from a density histogram, highlights and shadows using a known setup algorithm.
Also, this correction table is adjusted as shown in FIG. 4C by inputting the gradation (γ) key of the above-mentioned adjustment key 56, similarly to the gray balance adjustment table.

【0032】第1MTX76(第1MTX60)は、第
1LUT74で処理された画像データの彩度補正を行う
もので、得られる出力画像(情報)が適切な色に仕上が
るように、フィルムFの分光特性や感光材料(印画紙)
の分光特性、現像処理の特性等に応じて設定されたマト
リクス演算を行い、彩度補正を行う。
The first MTX 76 (first MTX 60) corrects the saturation of the image data processed by the first LUT 74. The first MTX 76 (first MTX 60) adjusts the spectral characteristics of the film F so that the obtained output image (information) is finished in an appropriate color. Photosensitive material (photographic paper)
A matrix operation set in accordance with the spectral characteristics of the image data, the characteristics of the development processing, and the like is performed to perform saturation correction.

【0033】第1MTX76で処理された画像情報は、
加算器86(加算器72)と、覆い焼き処理を行うため
の画像データを生成するための第2MTX78(第2M
TX62)とに送られる。なお、覆い焼き処理を施さな
い場合は、第1MTX76と後述する第3LUT84
(第1MTX60と第3LUT68)とがバイパスして
接続され、覆い焼き処理用の画像情報の生成は行われな
い。また、これらの処理の有無は、オペレータの入力に
よるモード選択、条件設定部44での演算結果から判断
する方法等で決定すればよい。
The image information processed by the first MTX 76 is
An adder 86 (adder 72) and a second MTX 78 (2M) for generating image data for performing dodging processing
TX62). When the dodging process is not performed, the first MTX 76 and a third LUT 84 described later are used.
(The first MTX 60 and the third LUT 68) are connected by bypass, and image information for dodging processing is not generated. The presence or absence of these processes may be determined by a mode selection based on an operator's input, a method of judging from a calculation result in the condition setting unit 44, or the like.

【0034】第2MTX78(第2MTX62)は、第
1MTX76から送られるR、GおよびBの画像データ
から、読み取った画像の明暗画像データを生成する。明
暗画像データの生成方法としては、R、GおよびBの画
像データの平均値の3分の1を取る方法、YIQ規定を
用いてカラー画像データを明暗画像データに変換する方
法等が例示される。YIQ規定を用いて明暗画像データ
を得る方法としては、例えば、下記式により、YIQ規
定のY成分のみを、R、GおよびBの画像データから算
出する方法が例示される。 Y=0.3R+0.59G+0.11B
The second MTX 78 (second MTX 62) generates bright / dark image data of the read image from the R, G, and B image data sent from the first MTX 76. Examples of the method of generating bright and dark image data include a method of taking one-third of the average value of the R, G, and B image data, and a method of converting color image data into bright and dark image data using the YIQ rule. . As a method of obtaining bright and dark image data using the YIQ rule, for example, a method of calculating only the Y component of the YIQ rule from the R, G, and B image data by the following equation is exemplified. Y = 0.3R + 0.59G + 0.11B

【0035】LPF80(LPF64)は、第2MTX
78で生成された明暗画像データをLPFで処理して、
低周波数成分を取り出すことにより、明暗画像を2次元
的にボカして、読み取った画像のボケ画像データを得る
ものである。このLPF80に用いるLPFとしては、
ボケ画像生成に通常用いられるFIR(Finite Impulse
Respones) 型のLPFを用いてもよいが、小型の回路で
大きく画像をボカしたボケ画像データを生成できる点
で、IIR(Infinite ImpulseRespones) 型のLPFを
用いるのが好ましい。また、LPF80の代わりに、メ
ディアンフィルタ(MF)を用いてもよい。MFを用い
ることにより、エッジを保存して、平坦部のノイズ(高
周波成分)をカットしたボケ画像データが得られるとい
う点で好ましい。また、MFの前記利点を生かした上
で、大きく画像をボカしたボケ画像データを生成できる
という点で、MFとLPFとを併用して、両者で得られ
た画像を重み付け加算するのが、特に好ましい。
The LPF 80 (LPF 64) is a second MTX
The light and dark image data generated in 78 is processed by the LPF,
By extracting the low-frequency component, the light and dark image is two-dimensionally blurred to obtain blurred image data of the read image. As the LPF used for the LPF 80,
FIR (Finite Impulse) commonly used for blurred image generation
A Respones (LP) type LPF may be used, but an IIR (Infinite Impulse Responses) type LPF is preferably used because blurred image data in which a large image is blurred can be generated by a small circuit. Further, a median filter (MF) may be used instead of the LPF 80. Use of the MF is preferable in that blurred image data in which noise (high-frequency components) in a flat portion is cut can be obtained while preserving edges. In addition, it is particularly advantageous to use the MF and the LPF together and to weight and add the images obtained by using the MF and the LPF in that the blurred image data in which the image is largely blurred can be generated while taking advantage of the advantage of the MF. preferable.

【0036】ここで、前述のように、プレスキャン画像
データと本スキャン画像データとでは画像の解像度が異
なるので、同じLPFを用いて処理を行うと、ディスプ
レイ20に表示される画像と、プリントに再現される画
像とが異なるものになってしまう。そのため、プレスキ
ャン画像データを処理するLPF64と、本スキャン画
像データを処理するLPF80とで、解像度に応じて周
波数特性を変える必要がある。具体的には、解像度比率
分だけディスプレイ20の表示に用いるボケ画像データ
のボカシ量を少なくすればよく、解像度比率をm、LP
F64のカットオフ周波数をfc(p) 、LPF80のカ
ットオフ周波数をfc(f) とすると、 fc(p) ≒mfc(f) となるようにLPFを設計すればよい。
Here, as described above, since the resolution of the image is different between the pre-scan image data and the main scan image data, if the processing is performed using the same LPF, the image displayed on the display 20 and the print will not be printed. The reproduced image will be different. Therefore, it is necessary to change the frequency characteristics of the LPF 64 for processing the pre-scan image data and the LPF 80 for processing the main scan image data according to the resolution. Specifically, the blur amount of the blurred image data used for the display on the display 20 may be reduced by the resolution ratio, and the resolution ratio is set to m, LP
Assuming that the cutoff frequency of F64 is fc (p) and the cutoff frequency of LPF 80 is fc (f), the LPF may be designed so that fc (p) (mfc (f).

【0037】LPF64で生成されたボケ画像データ
は、第2LUT82(第2LUT66)に送られ、ダイ
ナミックレンジ圧縮テーブルによって処理される。
The blurred image data generated by the LPF 64 is sent to the second LUT 82 (second LUT 66) and processed by the dynamic range compression table.

【0038】フィルムFに撮影可能な画像の濃度領域
は、プリントにおける再現域よりも広いのが通常であ
り、例えば、逆光シーンやストロボ撮影では、プリント
の再現域を大きく超えた濃度範囲(最低濃度と最高濃度
との差=ダイナミックレンジ)の画像が撮影される場合
もある。この場合には、全画像データ(画素)をプリン
ト上に再現することはできず、再現域を超えるフィルム
高濃度部(読取信号強度弱)すなわち被写体の明部はプ
リント上で白く飛び、逆に、再現域を超えるフィルム低
濃度部すなわち被写体の暗部はプリント上で黒くつぶれ
てしまう。そのため、画像データを全て再現した画像を
得るためには、画像データのダイナミックレンジを圧縮
して、プリントの再現域に対応させる必要がある。つま
り、従来の直接露光による覆い焼きと同様の効果を付与
するように、中間濃度部分の階調を変化させずに明部お
よび暗部の濃度を調整して、ダイナミックレンジを圧縮
するように画像データを処理(覆い焼き処理)する必要
がある。
The density range of an image that can be photographed on the film F is generally wider than the reproduction range in printing. For example, in a backlight scene or flash photography, the density range (minimum density) greatly exceeds the reproduction range of printing. In some cases, an image having a difference between the maximum density and the maximum density (dynamic range) is captured. In this case, the entire image data (pixels) cannot be reproduced on the print, and the high-density portion of the film (reading signal intensity is weak) exceeding the reproduction range, that is, the bright portion of the subject jumps white on the print, and conversely. The low-density portion of the film exceeding the reproduction range, that is, the dark portion of the subject is blackened on the print. Therefore, in order to obtain an image in which all the image data is reproduced, it is necessary to compress the dynamic range of the image data to correspond to the reproduction range of the print. In other words, the image data is adjusted so that the dynamic range is compressed by adjusting the density of the light and dark areas without changing the gradation of the intermediate density area so as to provide the same effect as dodging by conventional direct exposure. Must be processed (dodging).

【0039】図示例の処理装置10では、第1MTX7
6で処理された主となる画像データに、この第2LUT
82のダイナミックレンジ圧縮テーブルで処理されたボ
ケ画像データを加算することにより、画像データのダイ
ナミックレンジを非線形に圧縮して覆い焼き処理を行
い、出力画像データのダイナミックレンジおよび明部/
暗部の階調や濃度を適正なものとして、人が原シーン
(撮影シーン)を見た時と同じ印象を受ける、高画質な
画像が再現されたプリントを得られる出力画像データと
する。すなわち、第2LUT82のダイナミックレンジ
圧縮テーブルとは、前記ボケ画像データの画像処理を行
って、主となる画像データのダイナミックレンジ等を適
切に圧縮する処理用画像データを得るためのテーブルで
ある。
In the illustrated processing apparatus 10, the first MTX7
The second LUT is added to the main image data processed in step 6.
By adding the blurred image data processed by the dynamic range compression table 82, the dynamic range of the image data is non-linearly compressed to perform a dodging process, and the dynamic range and bright /
It is assumed that the gradation and the density of the dark portion are appropriate, and the image data is output image data which gives the same impression as when the person views the original scene (shooting scene) and which can obtain a print in which a high-quality image is reproduced. That is, the dynamic range compression table of the second LUT 82 is a table for performing image processing of the blurred image data and obtaining processing image data for appropriately compressing the dynamic range and the like of main image data.

【0040】このダイナミックレンジ圧縮テーブル(以
下、圧縮テーブルとする)も、セットアップ部50が作
成する。ここで、従来の装置では、プレスキャンデータ
のみを用いて圧縮テーブルを作成しているが、本発明に
おいては、プレスキャンデータに加え、撮影情報を参照
して圧縮テーブルを作成する。本発明においては、この
ような構成を有することにより、人が原シーン(撮影シ
ーン)を見た時と同じ印象を受ける、高画質な画像(画
像データ)を、より安定的に出力することを可能にして
いる。
The dynamic range compression table (hereinafter, referred to as a compression table) is also created by the setup unit 50. Here, in the conventional apparatus, the compression table is created using only the pre-scan data, but in the present invention, the compression table is created with reference to the shooting information in addition to the pre-scan data. In the present invention, by having such a configuration, it is possible to more stably output a high-quality image (image data) which gives the same impression as when a person views an original scene (shooting scene). Making it possible.

【0041】図示例においては、この圧縮テーブルは、
下記のように作成される。まず、全体的な(ダイナミッ
クレンジ)圧縮率αを算出して、これを用いる圧縮関数
f(α)を設定する。セットアップ部50には、例え
ば、図5に示されるような関数が設定されており、この
関数を用いて、画像データのダイナミックレンジ(D
R)から、圧縮率αを算出する。この関数では、ダイナ
ミックレンジが閾値DRthよりも小さい場合には圧縮率
αが0になっており、ダイナミックレンジが小さい画像
の場合には、ダイナミックレンジの圧縮処理を行わない
ようになっている。これは、ダイナミックレンジが小さ
い画像に圧縮処理を施すと、画像のコントラストが小さ
くなり、逆に画質低下を招くからである。また、本発明
者らの検討で、画像中に存在する電灯等、スポット的な
最明部の画像は、ダイナミックレンジ圧縮処理によって
階調を出すよりもプリント上の最低濃度に飛ばしたほう
が良好な画像が得られることが分かっている。そのた
め、図5に示される関数では、ダイナミックレンジが閾
値DRmax よりも大きくなっても、それ以上は圧縮率α
は下限値αmax より小さくならないように設定されてい
る。
In the illustrated example, this compression table is
It is created as follows. First, an overall (dynamic range) compression rate α is calculated, and a compression function f (α) using this is set. For example, a function as shown in FIG. 5 is set in the setup unit 50, and the dynamic range (D
R), the compression ratio α is calculated. In this function, when the dynamic range is smaller than the threshold DRth, the compression ratio α is 0, and in the case of an image having a small dynamic range, the compression processing of the dynamic range is not performed. This is because, when compression processing is performed on an image having a small dynamic range, the contrast of the image is reduced, and conversely, the image quality is reduced. Further, according to the study of the present inventors, it is better to skip the image of the brightest spot like a light such as an electric light existing in the image to the lowest density on the print than to output the gradation by the dynamic range compression processing. It has been found that images can be obtained. Therefore, in the function shown in FIG. 5, even if the dynamic range is larger than the threshold DRmax, the compression rate α
Is set so as not to become smaller than the lower limit value αmax.

【0042】この圧縮率αを用いて、全体的な圧縮関数
f(α)を作成する。この圧縮関数f(α)は、図6
(a)に示されるように、ある信号値を基準値Y0 すな
わち横軸(出力0)との交点として、傾きが圧縮率αと
なる単純減少関数である。この基準値Y0 は基準濃度で
あって、主被写体等の画像の中心となる濃度に応じて適
宜設定すればよい。例えば、人物が主被写体である場合
には、肌色と略同一の濃度であるプリント濃度で0.5
〜0.7の間が例示され、好ましくは0.6程度であ
る。
Using the compression ratio α, an overall compression function f (α) is created. This compression function f (α) is calculated as shown in FIG.
As shown in (a), the signal is a simple decreasing function in which the slope is the compression ratio α with a certain signal value as the intersection with the reference value Y 0, that is, the horizontal axis (output 0). The reference value Y 0 is a reference density, and may be set as appropriate according to the density at the center of an image of a main subject or the like. For example, when a person is the main subject, a print density that is substantially the same as the skin color is 0.5%.
0.70.7 is exemplified, and preferably about 0.6.

【0043】さらに、セットアップ部は50は、明部の
(ダイナミックレンジ)圧縮率αli ght 、および暗部の
(ダイナミックレンジ)圧縮率αdarkを設定して、明部
の圧縮関数flight ( αlight ) 、および暗部の圧縮関
数fdark(αdark) を作成する。明部の圧縮関数f
light ( αlight ) は、図6(b)に示されるように、
前記基準値Y0 より明部側において横軸(出力0)より
も下方(マイナス側)となる減少関数で、直線部分の傾
きが、明部の圧縮率αlight となる関数で、基準値Y 0
よりも暗部側の出力は0である。この圧縮率α
light は、濃度ヒストグラムやハイライト等の画像特徴
量に応じて、覆い焼き処理によって得られた明部の画像
データがプリントの画像再現域の画像データとなるよう
に設定される。他方、暗部の圧縮関数fdark(αdark)
は、図5(c)に示されるように、前記基準値Y0 より
暗部側において横軸よりも上方となる減少関数で、直線
部分の傾きが、暗部の圧縮率αdarkとなる関数で、基準
値Y0 よりも明部側の出力は0である。この圧縮率α
darkも、同様に、濃度ヒストグラムやシャドー等の画像
特徴量に応じて、暗部の画像データがプリントの画像再
現域の画像データとなるように設定される。
Further, the setup section 50 has a bright section
(Dynamic range) Compression rate αli ght, And in the dark
(Dynamic range) Compression rate αdarkAnd set
Compression function flightlight) And compression
Number fdarkdark). Bright part compression function f
lightlight) Is, as shown in FIG.
The reference value Y0From the horizontal axis (output 0) on the brighter side
Is also a decreasing function that goes downward (minus side),
Compression rate α of bright partlightThe reference value Y 0
The output on the darker side is 0. This compression ratio α
lightAre image features such as density histograms and highlights
Bright part image obtained by dodging according to the amount
Make sure that the data is the image data for the image reproduction area of the print.
Is set to On the other hand, the compression function fdarkdark)
Is the reference value Y as shown in FIG.0Than
A decreasing function above the horizontal axis on the dark side, and a straight line
The inclination of the part is the compression ratio α of the dark partdarkFunction
Value Y0The output on the brighter side is 0. This compression ratio α
darkSimilarly, images such as density histograms and shadows
Depending on the feature amount, the image data in the dark area is
The setting is made so as to be the image data of the current area.

【0044】ここで、本発明においては、明部の圧縮率
αlight および暗部の圧縮率αdarkは、プレスキャンデ
ータのみから設定されるのではなく、前述のように、条
件設定部44(セットアップ部50)が取得した撮影情
報を加味して設定される。
Here, in the present invention, the compression ratio α light of the bright portion and the compression ratio α dark of the dark portion are not set only from the pre-scan data, but as described above, the condition setting portion 44 (setup The setting is made in consideration of the photographing information acquired by the section 50).

【0045】例えば、撮影情報として、ストロボ発光有
り、撮影倍率大(所定値以上)の情報を得た場合には、
この画像は、近距離でストロボ撮影したシーン(近接ス
トロボシーン)であると判断できる。この場合には、濃
度を上げる明るさ補正を行った上で、暗部を大きく圧縮
して覆い焼き処理を行った方が、より人が撮影シーンを
見た際に近い印象を受ける画像が得られるので、覆い焼
き処理の暗部の圧縮率αdarkを通常よりも大きくする。
また、撮影情報としてストロボ発光なしの情報を得、か
つ画像データがハイライト部の輝度が高く、ヒストグラ
ムが二つの山を持っている場合には、この画像は、逆光
で撮影されたシーン(逆光シーン)であると判断でき、
明るい側の山が背景で、暗い側の山が主要部(例えば人
物)に相当する。この場合には、濃度を低下する明るさ
補正を行った上で、明部を大きく圧縮して覆い焼き処理
を行った方が、同様に好ましいので、覆い焼き処理の明
部の圧縮率αlight を通常よりも大きくする。
For example, in the case where information of strobe emission and large photographic magnification (more than a predetermined value) is obtained as photographic information,
This image can be determined to be a scene shot by flash at a short distance (close-up flash scene). In this case, it is better to perform the dodging process by largely compressing the dark part after performing the brightness correction to increase the density, and obtain an image that gives an impression closer to that when a person looks at the shooting scene. Therefore, the compression ratio α dark of the dark part of the dodging process is set larger than usual.
If information without flash emission is obtained as shooting information, and the image data has high brightness in the highlight portion and the histogram has two peaks, this image is a scene shot in backlight (backlit scene). Scene)
The mountain on the bright side corresponds to the background, and the mountain on the dark side corresponds to the main part (for example, a person). In this case, it is similarly preferable to perform the dodging process by largely compressing the bright portion after performing the brightness correction for decreasing the density, and thus the compression ratio α light of the bright portion in the dodging process is similarly preferable. Is larger than usual.

【0046】また、新写真システムでは、フィルムFに
撮影シーン(シーンID)を磁気記録することができ
る。これを利用して、例えば、撮影情報として撮影シー
ン(シーンID)の「夜景ポートレート」を取得した場
合には、濃度を上げる明るさ補正を行った上で、覆い焼
き処理の暗部の圧縮率αdarkを通常よりも大きくする。
あるいは、撮影情報として同様に「雪」を取得した場合
には、覆い焼き処理の明部の圧縮率αlightを通常より
も大きくする。
In the new photographic system, a shooting scene (scene ID) can be magnetically recorded on the film F. By using this, for example, when the “night scene portrait” of the shooting scene (scene ID) is acquired as the shooting information, after performing the brightness correction to increase the density, the compression ratio of the dark part of the dodging process Make α dark larger than usual.
Alternatively, when “snow” is similarly acquired as the photographing information, the compression ratio α light of the bright part of the dodging process is set to be larger than usual.

【0047】このような、撮影情報に応じた明部の圧縮
率αlight および暗部の圧縮率αda rkの設定方法には特
に限定はなく、例えば、撮影情報を利用して判別できる
シーンに応じて、圧縮率αlight や圧縮率αdarkを補正
する補正係数を実験やシュミレーションによって予め設
定して記憶しておき、判別したシーンに応じた補正係数
を読み出し、この補正係数を用いてプレスキャンデータ
から算出した圧縮率α light や圧縮率αdarkを補正すれ
ばよい。あるいは、近接ストロボシーンや撮影シーン
「雪」等の場合は、圧縮率を補正して圧縮テーブルを作
成するよりも、専用の圧縮テーブルを使用した方が好ま
しい場合も多いので、実験やシュミレーションによって
シーンに応じた専用の圧縮テーブルを作成・記憶してお
き、判別したシーンに応じて、専用の圧縮テーブルを読
み出して、これを用いてもよい。
As described above, the compression of the bright portion according to the photographing information
Rate αlightAnd compression ratio α of dark areada rkThe setting method of
There is no limitation, for example, it is possible to determine using photographing information
Depending on the scene, the compression ratio αlightAnd compression ratio αdarkCorrect
Correction factor to be set in advance by experiment or simulation.
Correction coefficient according to the determined scene
Read out the prescan data using this correction coefficient.
Compression rate α calculated from lightAnd compression ratio αdarkCorrect
I just need. Alternatively, close-up strobe scenes or shooting scenes
In the case of snow, etc., the compression ratio is corrected and a compression table is created.
It is better to use a dedicated compression table than to
In many cases, experimentation and simulation
Create and store a dedicated compression table for each scene
The dedicated compression table according to the determined scene.
This may be used.

【0048】撮影情報としては、撮影シーン(シーンI
D)、撮影時のストロボ発光の有無、撮影倍率、主要被
写体位置、撮影者意図情報、撮影者好み情報等が例示さ
れる。撮影時に、ファインダーをのぞいた状態で仕上り
を予測して、ハイライト側圧縮、シャドー側圧縮のオン
/オフなどを撮影者意図情報として入力してもよい。あ
るいは撮影者の好みに応じて同様のオン/オフを入力し
てもよい。
The shooting information includes a shooting scene (scene I
D), the presence / absence of strobe light emission at the time of photographing, photographing magnification, main subject position, photographer intention information, photographer preference information, and the like. At the time of photographing, the finish may be predicted while looking through the viewfinder, and ON / OFF of highlight-side compression and shadow-side compression may be input as photographer intention information. Alternatively, similar on / off may be input according to the photographer's preference.

【0049】また、これらの撮影情報の取得手段には特
に限定はなく、各種の方法が利用可能である。例えば、
新写真システムのフィルムFであれば、ストロボ発光の
有無、撮影倍率、主要被写体位置、撮影日時、撮影シー
ン(シーンID)等の情報が磁気記録できるので、キャ
リア30が読み取った磁気情報から撮影情報を取得する
ことができる。あるいは、キーボード18aのファンク
ションキー等を利用して、シーンに応じたファンクショ
ンキー(例えば、F1「夜景ポートレート」、F2
「雪」等)を決めておき、検定等の際にディスプレイ2
0に表示された画像からオペレータがシーンを判別し、
これをキーボード18aで入力することにより、条件設
定部44(セットアップ部50)が、このシーンの情報
を撮影情報として取得して、プレスキャンデータから設
定された覆い焼き処理の条件を調整あるいは再設定して
もよい。さらに、スキャナ12ではなく、デジタルカメ
ラやデジタルビデオカメラ等で撮影された画像の画像フ
ァイルであれば、画像ファイルのヘッダに各種の撮影情
報が記録されているので、これを利用してもよく、ある
いは、パーソナルコンピュータに接続可能なカメラで撮
影したフィルムであれば、カメラから撮影情報を取得し
てもよい。
The means for acquiring the photographing information is not particularly limited, and various methods can be used. For example,
In the case of the film F of the new photographic system, information such as the presence / absence of strobe light emission, photographing magnification, main subject position, photographing date and time, and photographing scene (scene ID) can be magnetically recorded. Can be obtained. Alternatively, function keys (for example, F1 “Night view portrait”, F2
"Snow" etc.), and display 2 at the time of certification etc.
The operator determines the scene from the image displayed at 0,
By inputting this with the keyboard 18a, the condition setting unit 44 (setup unit 50) acquires information on this scene as shooting information, and adjusts or resets the dodging process conditions set from the prescan data. May be. Further, if the image file is an image file of an image taken by a digital camera, a digital video camera, or the like instead of the scanner 12, various kinds of shooting information are recorded in the header of the image file. Alternatively, if the film is shot by a camera connectable to a personal computer, shooting information may be acquired from the camera.

【0050】このようにして、全体的な圧縮関数f
(α)、明部の圧縮関数flight ( αli ght ) 、および
暗部の圧縮関数fdark(αdark) を算出した後、下記式
に示されるように、これらを加算して圧縮関数ftotal
(α)を作成し、この圧縮関数f total (α)を用い
て、第2LUT82の圧縮テーブルを作成する。 ftotal (α)=f(α)+flight ( αlight ) +f
dark(αdark) あるいは、前述のようにシーンに応じた圧縮テーブルが
記憶されている場合には、判別したシーンに応じた圧縮
テーブルを読み出す。圧縮テーブルは、パラメータ統合
部54に送られ、パラメータ統合部54によって第2L
UT82(66)に設定される。
Thus, the overall compression function f
(Α), compression function f of the bright partlightli ght) ,and
Compression function fdarkdark), And the following equation
As shown in FIG.total
(Α) is created and this compression function f totalUsing (α)
Thus, a compression table of the second LUT 82 is created. ftotal(Α) = f (α) + flightlight) + F
darkdarkAlternatively, as mentioned above, the compression table corresponding to the scene
If stored, compression according to the determined scene
Read the table. Compression table, parameter integration
To the second L
The UT 82 (66) is set.

【0051】上記圧縮テーブルの作成方法によれば、基
準値Y0 を固定して、明部および暗部の圧縮率を独立で
設定することにより、ダイナミックレンジ圧縮が中間濃
度部分の階調に変化を与えることなく、明部および暗部
のみを調整してダイナミックレンジ圧縮を行うことがで
きる。しかも、ダイナミックレンジ圧縮による画像全体
の明るさ変化も防止できるので、前述の第1LUT74
による明るさ補正を独立したものとでき、画像処理条件
の設定を容易にすることができる。
According to the method of creating the compression table, the dynamic range compression changes the gradation of the intermediate density portion by fixing the reference value Y 0 and independently setting the compression ratio of the bright portion and the dark portion. Without giving, the dynamic range compression can be performed by adjusting only the bright part and the dark part. In addition, since the change in brightness of the entire image due to the dynamic range compression can be prevented, the first LUT 74 described above is used.
Can be made independent, and setting of image processing conditions can be facilitated.

【0052】なお、圧縮関数flight ( αlight ) と圧
縮関数fdark(αdark) が、図6(d)および(e)に
示されるような関数となってしまった場合には、点Pお
よび点Qでγが不連続になることによるアーチファクト
が出てしまうので、前述の図6(b)および(c)に示
されるように、微分係数が滑らかになるような関数とし
て、アーチファクトが出ないようにするのが好ましい。
この点に関しては、特開平3−222577号公報に詳
述されている。
When the compression function f lightlight ) and the compression function f darkdark ) become functions as shown in FIGS. 6D and 6E , the point P 6 and (g), an artifact appears due to discontinuity of γ at the point Q. As shown in FIGS. 6B and 6C, the artifact appears as a function that makes the differential coefficient smooth. It is preferable not to do so.
This point is described in detail in JP-A-3-222577.

【0053】設定された圧縮テーブル(圧縮関数)の全
体の圧縮率α、明部の圧縮率αligh t 、および暗部の圧
縮率αdarkは、前述の調整キー56の階調(γ)キー、
明部の調整キー(α light)および暗部の調整キー(α
dark)の押圧によって調整され、例えば、オペレータに
よる検定によってこれらのキーが押圧されると、それに
応じた調整量がキー補正部52によって算出され、第2
LUT82(66)に設定された圧縮テーブルが調整さ
れる。
[0053] set the overall compression ratio of the compression table (compression function) alpha, compression ratio alpha ligh t of the bright portion, and a dark portion of the compression ratio alpha dark is the aforementioned adjustment key 56 gradation (gamma) key,
Light adjustment key (α light) and dark adjustment key (α
dark), for example, when these keys are pressed by an operator's verification, the corresponding adjustment amount is calculated by the key correction unit 52, and the second
The compression table set in the LUT 82 (66) is adjusted.

【0054】以上の説明では、第2LUT82には画像
を圧縮するための画像データを作成する圧縮テーブルを
設定しているが、フィルムFに撮影された画像がアンダ
ー/オーバー露光である場合には、これを修正するため
に、アンダー露光の場合は暗部の階調を立て、オーバー
露光の場合には明部の階調を立てる、すなわち、画像が
アンダー/オーバー露光である場合には、画像のダイナ
ミックレンジを伸長するのが好ましい。従って、この場
合には、第2LUT82に、画像データを伸長する処理
を行うための画像データを作成するダイナミックレンジ
伸張テーブルを設定してもよい。なお、この点に関して
は、本出願人による特願平8−157200号の明細書
に詳述されている。
In the above description, the compression table for creating the image data for compressing the image is set in the second LUT 82. However, when the image photographed on the film F is under / overexposed, In order to correct this, the gradation of the dark part is set in the case of underexposure, and the gradation of the bright part is set in the case of overexposure. Preferably, the range is extended. Therefore, in this case, a dynamic range expansion table for creating image data for performing a process of expanding image data may be set in the second LUT 82. This point is described in detail in the specification of Japanese Patent Application No. 8-157200 by the present applicant.

【0055】このようにして第2LUT82で処理され
たボケ画像データは、加算器86(加算器72)に送ら
れる。加算器86では、第1MTX76によって処理さ
れて直接加算器86に送られた主たる画像データとボケ
画像データ(明暗画像データ)とを加算する。これによ
り、主たる画像データのダイナミックレンジを圧縮す
る、覆い焼き処理が行われる。
The blurred image data processed by the second LUT 82 is sent to the adder 86 (adder 72). The adder 86 adds the main image data processed by the first MTX 76 and sent directly to the adder 86 with the blurred image data (bright and dark image data). Thus, dodging processing for compressing the dynamic range of the main image data is performed.

【0056】より詳細には、圧縮テーブルで処理された
ボケ画像データは、図6から明らかなように、明部がマ
イナスで、暗部がプラスの画像データとなる。従って、
第1MTX76によって処理された主たる画像データ
に、このボケ画像データを加算することにより、主たる
画像データの明部は小さく、暗部は嵩挙げされ、すなわ
ち画像データのダイナミックレンジが圧縮される。ま
た、第2LUT82の通過帯域は大面積コントラストに
相当し、局所的なコントラストは第2LUT82の通過
帯域よりも高周波成分であるので、この成分は、第2L
UT82を通過したボケ画像データでは圧縮されない。
従って、加算器86で加算されて得られた画像は、局所
的なコントラストを維持した状態でダイナミックレンジ
を圧縮された、高画質な画像となる。
More specifically, the blurred image data processed by the compression table is, as is apparent from FIG. 6, image data in which a bright portion is minus and a dark portion is plus. Therefore,
By adding the blurred image data to the main image data processed by the first MTX 76, the bright part of the main image data is small and the dark part is raised, that is, the dynamic range of the image data is compressed. In addition, the pass band of the second LUT 82 corresponds to a large area contrast, and the local contrast is a higher frequency component than the pass band of the second LUT 82.
The blurred image data that has passed through the UT 82 is not compressed.
Therefore, the image obtained by the addition by the adder 86 is a high-quality image in which the dynamic range is compressed while maintaining the local contrast.

【0057】第3LUT84(第3LUT68)は、加
算器86による加算で得られた画像データを、最終的な
出力媒体の特性に応じた出力画像データに変換する階調
変換テーブルである。すなわち、第3LUT68は、例
えば、3D−LUTによって、プレスキャンデータをデ
ィスプレイ20への表示に応じた画像データに、第3L
UT84は、同様に3D−LUTによって、本スキャン
画像データを感光材料Zの発色に、それぞれ好適に対応
する画像データとなるように、それぞれ階調変換する。
The third LUT 84 (third LUT 68) is a gradation conversion table for converting the image data obtained by the addition by the adder 86 into output image data according to the characteristics of the final output medium. That is, the third LUT 68 converts the pre-scan data into image data corresponding to the display on the display 20 using the 3D-LUT, for example.
The UT 84 similarly performs a gradation conversion on the main scan image data by the 3D-LUT so that the main scan image data becomes image data suitably corresponding to the color development of the photosensitive material Z.

【0058】このようにして、第3LUT68から出力
されたプレスキャンデータは、信号変換器70によって
ディスプレイ20に対応する信号に変換され、さらに、
D/A変換器88によってD/A変換されて、ディスプ
レイ20に表示される。ここで、ディスプレイ20に表
示される画像と、プリンタ16に送られて再生されるプ
リントの画像は、各種の画像処理や覆い焼き処理とし
て、同様の画像処理が施されたものであり、従って、デ
ィスプレイ20には、プリントの画像と同様の画像が表
示される。
As described above, the pre-scan data output from the third LUT 68 is converted into a signal corresponding to the display 20 by the signal converter 70.
The data is D / A converted by the D / A converter 88 and displayed on the display 20. Here, the image displayed on the display 20 and the print image transmitted to and reproduced by the printer 16 have been subjected to similar image processing as various image processing and dodging processing. The display 20 displays an image similar to the print image.

【0059】オペレータはディスプレイ20に表示され
た画像を見て検定を行い、必要に応じて、前述のよう
に、調整キー56の各キーを押圧して、画像の調整を行
うことができる。オペレータによる調整キー56のキー
入力は、キー補正部52に送られ、画像処理条件の補正
量とされ、パラメータ統合部21おいて、この補正量と
セットアップ部50が設定した画像処理条件とが統合さ
れて、キー補正後の新たな画像処理条件が設定され、あ
るいは、パラメータ統合部21が両画像処理部に設定し
た画像処理条件を補正量に応じて調整する。すなわち、
前述の第1LUT74(58)の各補正テーブル、第2
LUT82(66)の圧縮テーブル、ならびに第3LU
T84(68)における階調変換テーブルは、調整キー
56によるキー入力によって調整され、これに応じて、
ディスプレイ20に表示される画像も変化する。
The operator looks at the image displayed on the display 20 to make a test, and if necessary, presses each of the adjustment keys 56 as described above to adjust the image. The key input of the adjustment key 56 by the operator is sent to the key correction unit 52 to be a correction amount of the image processing condition, and the parameter integration unit 21 integrates the correction amount and the image processing condition set by the setup unit 50. Then, new image processing conditions after key correction are set, or the image processing conditions set by the parameter integration unit 21 for both image processing units are adjusted according to the correction amount. That is,
Each correction table of the first LUT 74 (58) described above,
Compression table of LUT 82 (66) and third LU
The gradation conversion table in T84 (68) is adjusted by key input using the adjustment key 56, and accordingly,
The image displayed on the display 20 also changes.

【0060】一方、本スキャン画像処理部18の第3L
UT84における処理が終了して、プリントの画像記録
に応じた画像データとされた本スキャン画像データは、
出力用の画像データとしてプリンタ16に送られる。
On the other hand, the third L of the main scan image processing unit 18
After the processing in the UT 84 is completed, the main scan image data which is image data corresponding to the print image recording is
The image data is sent to the printer 16 as image data for output.

【0061】以下、処理装置14の作用を説明すること
により、本発明の画像処理装置について、より詳細に説
明する。
Hereinafter, the operation of the processing device 14 will be described, and the image processing device of the present invention will be described in more detail.

【0062】プレスキャンメモリ40にプレスキャンデ
ータが記憶されると、条件設定部44にのセットアップ
部50がこれを読み出し、濃度ヒストグラムの作成、ハ
イライトやシャドー等の画像特徴量の算出を行う。これ
と並行して、可変絞り24の絞り値決定等の本スキャン
の読取条件が設定されてスキャナ12が調整され、次い
で、スキャナ12では本スキャンが行われ、本スキャン
データが、順次、本スキャンメモリ40に転送・記憶さ
れる。なお、処理装置14には、条件設定部44には、
オペレータによるキー入力による情報(指示)、キャリ
ア30によってフィルムFから読み取られた磁気情報が
送られ、条件設定部44は、その中から撮影情報を取得
している。
When the pre-scan data is stored in the pre-scan memory 40, the set-up unit 50 in the condition setting unit 44 reads out the pre-scan data, creates a density histogram, and calculates image features such as highlights and shadows. In parallel with this, the reading conditions of the main scan, such as the determination of the aperture value of the variable aperture 24, are set, and the scanner 12 is adjusted. Then, the scanner 12 performs the main scan, and the main scan data is sequentially converted to the main scan. The data is transferred and stored in the memory 40. In the processing device 14, the condition setting unit 44 includes
The information (instruction) by the key input by the operator and the magnetic information read from the film F by the carrier 30 are sent, and the condition setting unit 44 acquires the photographing information from the information.

【0063】一方、条件設定部44のセットアップ部5
0は、作成した濃度ヒストグラムや、算出した画像特徴
量等を用いて、第1LUT74および58のグレイバラ
ンス調整テーブル、明るさ補正テーブルおよび階調補正
テーブル、第2LUT82および66の圧縮テーブル、
第3LUT84および88の階調変換テーブルを作成し
て、すなわち画像処理条件を設定し、パラメータ統合部
54に出力する。ここで、第2LUT82および66の
圧縮テーブルは、前述のように、プレスキャンデータの
みならず、取得した撮影情報も加味して設定される。パ
ラメータ統合部54は、送られた画像処理条件を、表示
画像処理部46および本スキャン画像処理部48の対応
する部位に転送し、設定する。
On the other hand, the setup section 5 of the condition setting section 44
0 is a gray balance adjustment table of the first LUTs 74 and 58, a brightness correction table and a gradation correction table, a compression table of the second LUTs 82 and 66, using the created density histogram, the calculated image feature amount, and the like.
The tone conversion tables of the third LUTs 84 and 88 are created, that is, image processing conditions are set, and output to the parameter integration unit 54. Here, as described above, the compression tables of the second LUTs 82 and 66 are set in consideration of not only the pre-scan data but also the acquired shooting information. The parameter integration unit 54 transfers and sets the transmitted image processing conditions to the corresponding parts of the display image processing unit 46 and the main scan image processing unit 48.

【0064】画像処理条件が設定されると、表示画像処
理部46の第1LUT58がプレスキャンメモリ40か
らプレスキャンデータを読み出し、設定された各テーブ
ルによる処理を行い、次いで、第1MTX60で色補正
が施される。第1MTX60で処理された画像データ
は、加算器72および第2MTX62に送られる。第2
MTX62は、送られた画像データから読み取った画像
の明暗画像データを生成し、この明暗画像データは、L
PF64によってボケ画像データとされ、さらに、第2
LUT66において圧縮テーブルで処理され、覆い焼き
処理用のボケ画像データとして加算器72に送られる。
加算器72では、第1MTX60で処理された主たる画
像データと、ボケ画像データとが加算され、主たる画像
データのダイナミックレンジが圧縮されて、ディスプレ
イ20表示用の画像データが生成される。
When the image processing conditions are set, the first LUT 58 of the display image processing unit 46 reads out the pre-scan data from the pre-scan memory 40, performs processing according to the set tables, and then performs color correction with the first MTX 60. Will be applied. The image data processed by the first MTX 60 is sent to the adder 72 and the second MTX 62. Second
The MTX 62 generates bright and dark image data of an image read from the sent image data.
The image data is converted into blurred image data by the PF 64,
The data is processed by the compression table in the LUT 66 and sent to the adder 72 as blurred image data for dodging processing.
The adder 72 adds the main image data processed by the first MTX 60 and the blurred image data, compresses the dynamic range of the main image data, and generates image data for display on the display 20.

【0065】加算器72から出力された画像データは、
第3LUT68においてディスプレイ20による表示に
応じた画像となるように色変換され、信号変換器70に
よってディスプレイ20による表示に応じた信号に変換
され、D/A変換器88でアナログ信号とされて、ディ
スプレイ20に表示される。
The image data output from the adder 72 is
The color is converted in the third LUT 68 so as to form an image corresponding to the display on the display 20, converted into a signal in accordance with the display on the display 20 by the signal converter 70, converted into an analog signal in the D / A converter 88, and displayed. 20 is displayed.

【0066】オペレータは、ディスプレイ20に表示さ
れた画像を見て検定を行い、必要に応じて調整キー56
を用いて各種の調整を行う。調整キー56による入力が
あると、キー補正部52で画像処理条件の補正量が演算
されて、パラメータ統合部54によって、この補正量と
セットアップ部50が設定した画像処理条件とが統合さ
れて、画像処理条件が再設定あるいは変更され、表示画
像処理部46および本スキャン画像処理部48の各LU
Tに設定されるテーブルがそれに応じて変更され、ディ
スプレイ20の画像が変化する。なお、この検定の際
に、オペレータが画像からシーンを判別して、これをキ
ーボード18aのファンクションキー等を用いて入力
し、これに応じて第2LUT82および66の圧縮テー
ブルが調整等されてもよいのは前述のとおりである。
The operator looks at the image displayed on the display 20 to perform verification, and if necessary, adjusts the adjustment key 56.
Various adjustments are made using. When there is an input from the adjustment key 56, the correction amount of the image processing condition is calculated by the key correction unit 52, and the correction amount and the image processing condition set by the setup unit 50 are integrated by the parameter integration unit 54, The image processing conditions are reset or changed, and the LUs of the display image processing unit 46 and the main scan image processing unit 48 are changed.
The table set in T is changed accordingly, and the image on the display 20 changes. At the time of this verification, the operator may determine the scene from the image and input the scene using the function keys of the keyboard 18a, and the compression tables of the second LUTs 82 and 66 may be adjusted accordingly. Is as described above.

【0067】オペレータが画像が適正(検定OK)であ
ると判断すると、出力(例えば、プリント開始)の指示
が出され、これにより画像処理条件が確定し、本スキャ
ン画像処理部48の第1LUT74が本スキャンメモリ
42から本スキャン画像データを読み出す。
When the operator determines that the image is proper (test OK), an instruction for output (for example, printing start) is issued, whereby the image processing conditions are determined, and the first LUT 74 of the main scan image processing unit 48 is turned on. The main scan image data is read from the main scan memory 42.

【0068】以下、前述のプレスキャンデータと同様
に、本スキャン画像データは、第1LUT74に設定さ
れた各テーブルによってグレイバランス調整、明るさ補
正および階調補正を行われ、次いで、第1MTX76で
色補正が施され、加算器86と第2MTX78とに送ら
れる。第2MTX78は、送られた画像データから明暗
画像データを生成し、この明暗画像データは、LPF8
0によってボケ画像データとされ、さらに、第2LUT
82において圧縮テーブルで処理され、覆い焼き処理用
のボケ画像データとして加算器86に送られる。加算器
86では、第1MTX76で処理された主たる画像デー
タと、ボケ画像データとが加算され、主たる画像データ
のダイナミックレンジが圧縮されて、さらに第3LUT
84で階調変換されて、画像記録に応じた出力画像デー
タとしてプリンタ16に送られる。
Hereinafter, similarly to the above-described pre-scan data, the main scan image data is subjected to gray balance adjustment, brightness correction, and gradation correction by the respective tables set in the first LUT 74, and then to the first MTX 76 The correction is performed and sent to the adder 86 and the second MTX 78. The second MTX 78 generates bright and dark image data from the sent image data, and the bright and dark image data is
0 is regarded as blurred image data, and the second LUT
At 82, the data is processed by the compression table and sent to the adder 86 as blurred image data for dodging processing. In the adder 86, the main image data processed by the first MTX 76 and the blurred image data are added, the dynamic range of the main image data is compressed, and the third LUT is further added.
The tone is converted in 84 and sent to the printer 16 as output image data corresponding to the image recording.

【0069】なお、オペレータによる検定は必ずしも行
われる必要はなく、検定なしでプリント作成を行うよう
に構成してもよい。この場合には、例えば、セットアッ
プ部50が画像処理条件を設定し、パラメータ統合部5
4が各LUTに設定した時点で画像処理条件が確定し、
第1LUT74が本スキャン画像データを読み出しを開
始し、画像処理を行う。検定の有無は、作業モードとし
て選択できるようにするのが好ましい。
It should be noted that the verification by the operator is not necessarily performed, and the print may be created without the verification. In this case, for example, the setup unit 50 sets the image processing conditions and the parameter integration unit 5
4 is set in each LUT, the image processing conditions are determined,
The first LUT 74 starts reading main scan image data, and performs image processing. It is preferable that the presence or absence of the test can be selected as a work mode.

【0070】前述のように、処理装置14で処理された
画像データは、プリンタ16に送られる。プリンタ16
は、感光材料(印画紙)を画像データに応じて露光して
潜像を記録し、感光材料に応じた現像処理を施して(仕
上り)プリントとして出力するものである。例えば、感
光材料をプリントに応じた所定長に切断した後に、バッ
クプリントの記録、感光材料(印画紙)の分光感度特性
に応じた、R露光、G露光およびB露光の3種の光ビー
ムを画像データ(記録画像)に応じて変調して主走査方
向に偏向し、主走査方向と直交する副走査方向に感光材
料を搬送することによる潜像の記録等を行い、潜像を記
録した感光材料に、発色現像、漂白定着、水洗等の所定
の湿式現像処理を行い、乾燥してプリントとした後に、
仕分けして集積する。
As described above, the image data processed by the processing device 14 is sent to the printer 16. Printer 16
Is to expose a photosensitive material (photographic paper) in accordance with image data to record a latent image, perform development processing in accordance with the photosensitive material, and output as a (finished) 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 light is modulated in accordance with image data (recorded image), deflected in the main scanning direction, and a latent image is recorded by transporting a photosensitive material in a sub-scanning direction orthogonal to the main scanning direction. The material is subjected to a predetermined wet development process such as color development, bleach-fixing, and washing with water, and after drying to produce a print,
Sort and accumulate.

【0071】以上、本発明の画像処理装置について詳細
に説明したが、本発明は上述の例に限定はされず、本発
明の要旨を逸脱しない範囲において、各種の改良や変更
等を行ってもよいのはもちろんである。
The image processing apparatus of the present invention has been described in detail above. However, the present invention is not limited to the above-described example, and various modifications and changes can be made without departing from the gist of the present invention. Of course it is good.

【0072】[0072]

【発明の効果】以上、詳細に発明したように、本発明の
画像処理装置によれば、原画像のシーンの種類、輝度、
撮影時の光線の状態等に応じて、最適な画像処理条件を
設定して、画像ダイナミックレンジの圧縮処理(覆い焼
き処理)を行うことができ、画像状態によらず、人間が
原シーンを見た時の印象に近い画像を再生した高画質な
プリントを安定して作成することができる。
As described above, according to the image processing apparatus of the present invention, the scene type, luminance,
Optimum image processing conditions can be set according to the state of light rays at the time of shooting, etc., and image dynamic range compression processing (dodging processing) can be performed. It is possible to stably create a high-quality print that reproduces an image close to the impression when the image is displayed.

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

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

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

【図3】 図1に示される画像処理装置に接続される調
整キーの一例の概念図である。
FIG. 3 is a conceptual diagram illustrating an example of an adjustment key connected to the image processing apparatus illustrated in FIG. 1;

【図4】 図1に示される画像処理装置に設定されるL
UTで、(a)はグレイバランス調整LUTを、(b)
は明るさ補正LUTを、(c)は階調補正LUTを、そ
れぞれ示す。
FIG. 4 is a diagram illustrating L set in the image processing apparatus shown in FIG. 1;
In the UT, (a) shows the gray balance adjustment LUT, (b)
Indicates a brightness correction LUT, and (c) indicates a gradation correction LUT.

【図5】 図1に示される画像処理装置における覆い焼
き処理の全体の圧縮率の関数を示すグラフである。
5 is a graph showing a function of the overall compression ratio of the dodging process in the image processing apparatus shown in FIG. 1;

【図6】 (a)、(b)、(c)、(d)および
(e)は、図1に示される画像処理装置で用いられる圧
縮関数の一例をそれぞれ示す。
FIGS. 6A, 6B, 6C, 6D, and 6E show examples of compression functions used in the image processing apparatus shown in FIG.

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

10 (デジタル)フォトプリンタ 12 スキャナ 14 (画像)処理装置 16 プリンタ 18 操作系 18a キーボード 18b マウス 20 ディスプレイ 22 光源 24 可変絞り 26 色フィルタ板 28 拡散ボックス 32 結像レンズユニット 34 CCDセンサ 36 アンプ 38 データ処理部 40 プレスキャン(フレーム)メモリ 42 本スキャン(フレーム)メモリ 44 条件設定部 46 表示画像処理部 48 本スキャン画像処理部 50 セットアップ部 52 キー補正部 54 パラメータ統合部 56 調整キー 58,74 第1LUT 60,76 第1MTX 62,78 第2MTX 64,80 LPF 66,82 第2LUT 68,84 第3LUT 70 信号変換器 72,86 加算器 88 D/A変換器 Reference Signs List 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 CCD sensor 36 Amplifier 38 Data processing Unit 40 Pre-scan (frame) memory 42 Main scan (frame) memory 44 Condition setting unit 46 Display image processing unit 48 Main scan image processing unit 50 Setup unit 52 Key correction unit 54 Parameter integration unit 56 Adjustment keys 58, 74 First LUT 60 , 76 First MTX 62, 78 Second MTX 64, 80 LPF 66, 82 Second LUT 68, 84 Third LUT 70 Signal converter 72, 86 Adder 88 D / A converter

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】撮影によって得られた画像の画像データに
所定の画像処理を施し、出力用の画像データとする画像
処理装置であって、 前記画像の撮影情報の取得手段と、 前記画像データおよび前記取得手段が取得した撮影情報
から、前記画像のダイナミックレンジの圧縮条件を設定
する設定手段と、 前記設定手段が設定したダイナミックレンジの圧縮条件
に応じて、前記画像のダイナミックレンジの圧縮処理を
行う処理手段とを有することを特徴とする画像処理装
置。
1. An image processing apparatus which performs predetermined image processing on image data of an image obtained by photographing to obtain image data for output, comprising: means for acquiring photographing information of the image; Setting means for setting a compression condition of the dynamic range of the image from the photographing information obtained by the obtaining means; and performing compression processing of the dynamic range of the image according to the compression condition of the dynamic range set by the setting means. An image processing apparatus comprising: processing means.
【請求項2】前記設定手段が、前記画像データから算出
された画像特徴量を用いてダイナミックレンジの圧縮条
件を設定する請求項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the setting unit sets a compression condition of a dynamic range using an image feature amount calculated from the image data.
JP9357139A 1997-12-25 1997-12-25 Image processor Pending JPH11191871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9357139A JPH11191871A (en) 1997-12-25 1997-12-25 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9357139A JPH11191871A (en) 1997-12-25 1997-12-25 Image processor

Publications (2)

Publication Number Publication Date
JPH11191871A true JPH11191871A (en) 1999-07-13
JPH11191871A5 JPH11191871A5 (en) 2005-04-07

Family

ID=18452584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9357139A Pending JPH11191871A (en) 1997-12-25 1997-12-25 Image processor

Country Status (1)

Country Link
JP (1) JPH11191871A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002156711A (en) * 2000-11-16 2002-05-31 Olympus Optical Co Ltd Printer and electronic camera
JP2006236068A (en) * 2005-02-25 2006-09-07 Fuji Photo Film Co Ltd Image processor, image processing method and program
US7190844B2 (en) 2002-02-22 2007-03-13 Konica Corporation Image processing method, storage medium, image processor and image recorder
JP2008227787A (en) * 2007-03-12 2008-09-25 Fujifilm Corp Image processing apparatus and method, and program
JP2008252700A (en) * 2007-03-30 2008-10-16 Canon Inc Image processing apparatus and image processing method
JP2008278519A (en) * 2001-01-17 2008-11-13 Seiko Epson Corp Output image adjustment for image files
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
JP2009260565A (en) * 2008-04-15 2009-11-05 Canon Inc Imaging apparatus and control method thereof, and program
JP2011048392A (en) * 2010-11-08 2011-03-10 Olympus Corp Printer apparatus and image forming method for printer apparatus
JP2011066736A (en) * 2009-09-18 2011-03-31 Canon Inc Image processing apparatus, image processing method, and program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002156711A (en) * 2000-11-16 2002-05-31 Olympus Optical Co Ltd Printer and electronic camera
JP2008278519A (en) * 2001-01-17 2008-11-13 Seiko Epson Corp Output image adjustment for image files
US7190844B2 (en) 2002-02-22 2007-03-13 Konica Corporation Image processing method, storage medium, image processor and image recorder
US7650045B2 (en) 2003-07-18 2010-01-19 Canon Kabushiki Kaisha Image processing apparatus and method
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
JP2006236068A (en) * 2005-02-25 2006-09-07 Fuji Photo Film Co Ltd Image processor, image processing method and program
JP2008227787A (en) * 2007-03-12 2008-09-25 Fujifilm Corp Image processing apparatus and method, and program
JP2008252700A (en) * 2007-03-30 2008-10-16 Canon Inc Image processing apparatus and image processing method
US8498016B2 (en) 2007-03-30 2013-07-30 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2009260565A (en) * 2008-04-15 2009-11-05 Canon Inc Imaging apparatus and control method thereof, and program
JP2011066736A (en) * 2009-09-18 2011-03-31 Canon Inc Image processing apparatus, image processing method, and program
JP2011048392A (en) * 2010-11-08 2011-03-10 Olympus Corp Printer apparatus and image forming method for printer apparatus

Similar Documents

Publication Publication Date Title
JP4081219B2 (en) Image processing method and image processing apparatus
JP3584389B2 (en) Image processing method and image processing apparatus
JPH11175699A (en) Picture processor
JPH11355591A (en) Picture processing method
JPH11261821A (en) Image processing method
JPH11239269A (en) Image processing method
JP3696345B2 (en) Image processing method and apparatus
JP3436688B2 (en) Image playback device
JP3913356B2 (en) Image processing method
US6459500B1 (en) Image processing apparatus
JPH11191871A (en) Image processor
US6256424B1 (en) Image filter circuit
JP2000156785A (en) Image processing method and image processor
JP3408770B2 (en) Image processing device
JP2000011188A (en) Method for processing image and device therefor
JPH11289447A (en) Picture processing method and picture processor
JP3667929B2 (en) Image reading device
JP2001222710A (en) Device and method for image processing
JPH11225270A (en) Image processing method and image processor
JP3939428B2 (en) Image processing method and apparatus
US20020012126A1 (en) Image processing method and apparatus
JPH1013680A (en) Image processing method and image processor
US6700685B1 (en) Image processing apparatus
JP3929210B2 (en) Image processing method and apparatus
JP2001245153A (en) Image processing method and apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040512

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040512

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070302

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070403