JP2001245153A - Image processing method and apparatus - Google Patents
Image processing method and apparatusInfo
- Publication number
- JP2001245153A JP2001245153A JP2000387257A JP2000387257A JP2001245153A JP 2001245153 A JP2001245153 A JP 2001245153A JP 2000387257 A JP2000387257 A JP 2000387257A JP 2000387257 A JP2000387257 A JP 2000387257A JP 2001245153 A JP2001245153 A JP 2001245153A
- Authority
- JP
- Japan
- Prior art keywords
- basic
- image
- image processing
- image information
- gradation
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 182
- 230000006835 compression Effects 0.000 claims abstract description 139
- 238000007906 compression Methods 0.000 claims abstract description 139
- 230000006837 decompression Effects 0.000 claims abstract description 18
- 238000000034 method Methods 0.000 claims description 37
- 238000004458 analytical method Methods 0.000 claims description 13
- 238000004148 unit process Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 18
- 239000000463 material Substances 0.000 description 15
- 238000006243 chemical reaction Methods 0.000 description 13
- 238000012937 correction Methods 0.000 description 13
- 238000010191 image analysis Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000010354 integration Effects 0.000 description 9
- 230000001186 cumulative effect Effects 0.000 description 6
- 239000003086 colorant Substances 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000003595 spectral effect Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000009792 diffusion process Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 238000003705 background correction Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000001454 recorded image Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 229920006395 saturated elastomer Polymers 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000032258 transport Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Color, Gradation (AREA)
- Projection-Type Copiers In General (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【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, even in flash photography scenes and backlight scenes, bright portions are skipped and dark portions are lost. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and apparatus capable of rapidly performing image processing enabling high-quality image reproduction without images.
【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 as image data for recording, where a photosensitive material is scanned and exposed with recording light modulated according to the image data to record an image (latent image) and print (finished).
【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) (A developing device).
【0005】このようなデジタルフォトプリンタによれ
ば、画像をデジタルの画像データとして、画像データの
処理によって画像処理(画質調整)することができるの
で、階調調整、カラーバランス調整、色/濃度調整、シ
ャープネス(鮮鋭化)処理等を好適に行って、従来の直
接露光では得られなかった高品位なプリントを得ること
ができる。しかも、デジタルフォトプリンタによれば、
デジタルカメラ等で撮影された画像もプリントとして出
力することもできる。このような画像処理の一例とし
て、直接露光によるプリントにおける覆い焼き効果を画
像データの処理によって付与することが挙げられる。According to such a digital photo printer, an image can be processed as image data (image quality adjustment) by processing the image data as digital image data. Therefore, gradation adjustment, color balance adjustment, and color / density adjustment can be performed. By 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,
Images taken by a digital camera or the like can also be output as prints. As an example of such image processing, a dodging effect in printing by direct exposure may be given by processing image data.
【0006】[0006]
【発明が解決しようとする課題】写真の撮影条件は多種
多様であり、例えばフラッシュ撮影や逆光シーンのよう
に、画像の明暗の差、すなわちフィルムに撮影された画
像の最低濃度から最高濃度までの領域(最高濃度と最低
濃度の差=画像濃度のダイナミックレンジ)が、非常に
広い場合も多々ある。ところが、感光材料(印画紙)
は、フィルムに比して再現可能な濃度範囲が狭い。その
ため、ダイナミックレンジが広いフィルム画像を用い、
通常の方法で感光材料を露光(焼き付け)してプリント
を作成すると、画像が適正に再生されない場合がある。
例えば、人物を逆光で撮影したフィルム画像でプリント
を作成する場合、人物が好適な画像となるように露光を
行うと、空のような明るい部分は白く飛んでしまい、逆
に、空が好適な画像となるように露光を行うと、人物が
黒くつぶれてしまう。The photographing conditions of a photograph are various. For example, as in the case of flash photography or a backlit scene, the difference in the brightness of an image, that is, the difference from the minimum density to the maximum density of an image photographed on a film. In many cases, the area (the difference between the highest density and the lowest density = the dynamic range of the image density) is very wide. However, photosensitive materials (photographic paper)
Has a narrower reproducible density range than a film. Therefore, using a film image with a wide dynamic range,
When a print is created by exposing (printing) a photosensitive material by a normal method, an image may not be properly reproduced.
For example, when making a print with a film image of a person photographed against backlight, if a person is exposed so as to be a suitable image, a bright portion such as the sky will fly white, and conversely, the sky will be suitable. When exposure is performed to form an image, a person is blackened.
【0007】そのため、従来の面露光による焼付装置で
は、このようなダイナミックレンジの広いフィルム画像
からプリントを作成する場合には、いわゆる覆い焼きが
行われている。覆い焼きとは、露光光路中に遮光板やN
Dフィルタ等を挿入する等の方法を用いて、例えば、ネ
ガフィルムからのプリント作成であれば、画像が飛びそ
うな明部は露光量を増加し、逆に、画像がつぶれそうな
暗部の露光量を低減することにより、フィルムに撮影さ
れた画像の全濃度領域が適正に再生されたプリントを得
る技術である。Therefore, in a conventional printing apparatus using surface exposure, when a print is created from a film image having such a wide dynamic range, so-called dodging is performed. Dodging means that a light shielding plate or N
For example, in the case of printing from a negative film using a method such as inserting a D filter, etc., if the image is likely to fly, the light exposure is increased, and conversely, the exposure of the dark area where the image is likely to collapse is increased. This is a technique for obtaining a print in which the entire density area of an image photographed on film is properly reproduced by reducing the amount.
【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 (see Japanese Patent Application Laid-Open No. 10-13680).
【0009】この画像処理(以下、便宜的に、覆い焼き
処理とする)は、スキャナ等から供給された画像(画像
データ)を解析して、解析結果に応じて、フィルムに撮
影された全濃度領域が、プリンタ等の出力装置で適正に
再現されるように、画像の階調を圧縮(もしくは伸張)
し、画像のダイナミックレンジを出力装置に応じた範囲
となるように圧縮(伸張)するものである。This image processing (hereinafter referred to as dodging processing for convenience) analyzes an image (image data) supplied from a scanner or the like, and, based on the analysis result, calculates the total density photographed on the film. Compress (or decompress) image tones so that areas are properly reproduced on output devices such as printers
Then, the image is compressed (expanded) so that the dynamic range of the image becomes a range corresponding to the output device.
【0010】具体的には、画像の解析結果に応じて、画
像の中間濃度部分は変化させずに、明部(低濃度部分)
および暗部(高濃度部分)を、独立で、線形もしくは非
線形に圧縮する。例えば、撮影シーンにおける明部(ネ
ガフィルムの高濃度部=再生画像の低濃度部)の画像デ
ータが大きな数値となるシステムであれば、画像の飛び
そうな明部(画像データ大)は画像データを小さくし、
画像のつぶれそうな暗部は画像データを嵩上げすること
により、階調を圧縮する。More specifically, a bright portion (low-density portion) without changing the intermediate density portion of the image according to the analysis result of the image.
And the dark part (high density part) is compressed independently, linearly or nonlinearly. 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 photographing scene has a large numerical value, a bright portion (large image data) in which an image is likely to fly is represented by image data Smaller,
The dark part of the image that is likely to be crushed compresses the gradation by raising the image data.
【0011】従って、この覆い焼き処理によれば、フィ
ルムに撮影された極めて広い濃度領域の画像を、適正に
感光材料に再現することができ、逆光シーンやフラッシ
ュ撮影のようにダイナミックレンジの広い画像であって
も、明部のとびや暗部のつぶれを大幅に低減して、人物
の顔等の重要な被写体を適正に再生した、高画質な画像
が再生されたプリントを出力することができる。Therefore, according to this dodging process, an image of an extremely wide density region photographed on a film can be properly reproduced on a photosensitive material, and an image having a wide dynamic range such as a backlight scene or a flash photograph can be obtained. Even in this case, it is possible to output a print in which a high-quality image is reproduced, in which an important subject such as a person's face is properly reproduced by greatly reducing the jump of a bright portion and the collapse of a dark portion.
【0012】本発明の目的は、このような優れた特性を
有する覆い焼き処理を、従来に比して、より短い処理時
間で行うことができ、例えば、前述のデジタルフォトプ
リンタに利用することにより、プリント作成の生産性を
好適に向上できる画像処理方法および装置を提供するこ
とにある。An object of the present invention is to provide a dodging process having such excellent characteristics in a shorter processing time than in the past, for example, by using the above-described digital photo printer. Another object of the present invention is to provide an image processing method and apparatus capable of suitably improving the productivity of print creation.
【0013】[0013]
【課題を解決するための手段】前記課題を解決するため
に、本発明は、予め複数の基本圧縮特性もしくは基本伸
張特性を設定しておき、この複数の基本圧縮特性もしく
は基本伸張特性から1以上の基本圧縮特性もしくは基本
伸張特性を選択し、選択された1以上の基本圧縮特性も
しくは基本伸張特性を用いて画像情報の階調を圧縮もし
くは伸張することを特徴とする画像処理方法を提供する
ものである。In order to solve the above-mentioned problems, the present invention sets a plurality of basic compression characteristics or basic expansion characteristics in advance, and sets one or more of the plurality of basic compression characteristics or basic expansion characteristics in advance. Providing an image processing method characterized by selecting a basic compression characteristic or a basic expansion characteristic, and compressing or expanding the gradation of image information using the selected one or more basic compression characteristics or basic expansion characteristics. It is.
【0014】ここで、前記複数の基本圧縮特性もしくは
基本伸張特性は、原稿種、原稿サイズおよび前記画像情
報の解析結果の少なくとも1つに応じて予め設定されて
いるのが好ましい。また、前記1以上の基本圧縮特性も
しくは複数の基本伸張特性は、原稿種、原稿サイズおよ
び前記画像情報の解析結果の少なくとも1つに応じて選
択されるのが好ましい。Here, the plurality of basic compression characteristics or basic expansion characteristics are preferably set in advance in accordance with at least one of a document type, a document size, and a result of analyzing the image information. Preferably, the one or more basic compression characteristics or the plurality of basic expansion characteristics are selected according to at least one of a document type, a document size, and an analysis result of the image information.
【0015】また、前記原稿種は、ネガティブフィル
ム、リバーサルフィルムおよび白黒フィルムであり、前
記原稿サイズは、135サイズ、240サイズおよび1
20/220サイズであるのが好ましい。また、前記1
以上の基本圧縮特性もしくは複数の基本伸張特性は、マ
ニュアル操作で選択されるのが好ましい。また、前記基
本圧縮特性もしくは基本伸張特性は、パラメータまたは
ルックアップテーブルとして与えられるのが好ましい。The document types are a negative film, a reversal film and a black and white film, and the document sizes are 135 size, 240 size and 1 size.
Preferably it is a 20/220 size. The above 1
It is preferable that the above-mentioned basic compression characteristics or a plurality of basic expansion characteristics be selected by manual operation. Further, it is preferable that the basic compression characteristic or the basic expansion characteristic is given as a parameter or a look-up table.
【0016】また、本発明は、上記画像処理方法であっ
て、さらに前記画像情報を解析する工程を有し、前記選
択された1以上の基本圧縮特性もしくは基本伸張特性を
用いて前記画像情報の階調を圧縮もしくは伸張する工程
は、前記解析結果に応じて、前記選択された1以上の基
本圧縮特性もしくは基本伸張特性を用いて前記画像情報
の階調を圧縮もしくは伸張する処理条件を設定し、設定
された処理条件に応じて前記画像情報を処理することで
あることを特徴とする画像処理方法を提供するものであ
る。ここで、前記画像解析は、オートセットアップ演算
であるのが好ましい。The present invention also relates to the above-mentioned image processing method, further comprising a step of analyzing the image information, wherein the one or more selected basic compression characteristics or basic expansion characteristics are used for the image information. The step of compressing or expanding the gradation sets processing conditions for compressing or expanding the gradation of the image information using the selected one or more basic compression characteristics or basic expansion characteristics according to the analysis result. And processing the image information according to set processing conditions. Here, the image analysis is preferably an auto-setup operation.
【0017】また、前記選択された1以上の基本圧縮特
性もしくは基本伸張特性を用いて前記画像情報の階調を
圧縮もしくは伸張する工程は、マニュアル操作で、前記
選択された1以上の基本圧縮特性もしくは基本伸張特性
を用いて前記画像情報の階調を圧縮もしくは伸張する処
理条件を設定し、設定された処理条件に応じて前記画像
情報を処理することであるのが好ましい。また、前記処
理条件は、ルックアップテーブルとして、設定されるの
が好ましい。[0017] The step of compressing or expanding the gradation of the image information using the selected one or more basic compression characteristics or the basic expansion characteristics may be performed manually by the manual operation. Alternatively, it is preferable that a processing condition for compressing or expanding the gradation of the image information is set using a basic expansion characteristic, and the image information is processed according to the set processing condition. Preferably, the processing conditions are set as a look-up table.
【0018】また、本発明は、予め複数の基本圧縮特性
もしくは複数の基本伸張特性を設定しておき、この複数
の基本圧縮特性もしくは複数の基本伸張特性から1以上
の基本圧縮特性もしくは1以上の基本伸張特性を選択す
ると共に、画像情報を解析して、この解析結果に応じ
て、選択された1以上の基本圧縮特性もしくは1以上の
基本伸張特性を用いて前記画像情報の階調を圧縮もしく
は伸張する処理条件を設定し、設定された処理条件に応
じて、前記画像情報を処理することを特徴とする画像処
理方法を提供するものである。Further, according to the present invention, a plurality of basic compression characteristics or a plurality of basic expansion characteristics are set in advance, and one or more basic compression characteristics or one or more basic compression characteristics are calculated from the plurality of basic compression characteristics or the plurality of basic expansion characteristics. While selecting the basic expansion characteristic, the image information is analyzed, and the gradation of the image information is compressed or compressed using one or more selected basic compression characteristics or one or more basic expansion characteristics according to the analysis result. It is an object of the present invention to provide an image processing method characterized by setting processing conditions for expansion and processing the image information according to the set processing conditions.
【0019】さらに、本発明は、予め複数の基本圧縮特
性もしくは複数の基本伸張特性を設定しておき、この複
数の基本圧縮特性もしくは複数の基本伸張特性から1以
上の基本圧縮特性もしくは1以上の基本伸張特性を選択
し、マニュアル操作で、選択された1以上の基本圧縮特
性もしくは1以上の基本伸張特性を用いて前記画像情報
の階調を圧縮もしくは伸張する処理条件を設定し、設定
された処理条件に応じて、前記画像情報を処理すること
を特徴とする画像処理方法。Further, according to the present invention, a plurality of basic compression characteristics or a plurality of basic expansion characteristics are set in advance, and one or more basic compression characteristics or one or more basic compression characteristics are calculated from the plurality of basic compression characteristics or the plurality of basic expansion characteristics. A basic expansion characteristic is selected, and a processing condition for compressing or expanding the gradation of the image information using one or more selected basic compression characteristics or one or more basic expansion characteristics is set by a manual operation. An image processing method, wherein the image information is processed according to processing conditions.
【0020】また、本発明は、画像情報供給源から供給
された画像情報の階調の圧縮もしくは伸張に用いられ
る、予め設定された複数の基本圧縮特性もしくは基本伸
張特性から1以上の基本圧縮特性もしくは基本伸張特性
を選択する選択手段と、この選択手段によって選択され
た1以上の基本圧縮特性もしくは基本伸張特性を用いて
画像情報の階調を圧縮もしくは伸張する画像処理手段と
を有することを特徴とする画像処理装置を提供するもの
である。According to the present invention, at least one of a plurality of preset basic compression characteristics or basic expansion characteristics used for compression or expansion of gradation of image information supplied from an image information supply source is used. Alternatively, there is provided a selecting means for selecting a basic expansion characteristic, and an image processing means for compressing or expanding the gradation of image information using one or more basic compression characteristics or basic expansion characteristics selected by the selection means. Is provided.
【0021】また、本発明は、上記画像処理装置であっ
て、さらに、画像情報を解析し、この解析結果に応じ
て、この画像情報の階調を圧縮もしくは伸張する処理条
件を、前記選択手段によって選択された1以上の基本圧
縮特性もしくは基本伸張特性を用いて設定する設定部を
有し、前記画像処理手段は、この設定部によって設定さ
れた処理条件に応じて前記画像情報を処理することを特
徴とする画像処理装置を提供するものである。According to the present invention, there is provided the image processing apparatus, further comprising: analyzing the image information; and, according to a result of the analysis, a processing condition for compressing or expanding the gradation of the image information. A setting unit configured to set using one or more basic compression characteristics or basic expansion characteristics selected by the image processing unit, wherein the image processing unit processes the image information according to processing conditions set by the setting unit. An image processing apparatus characterized by the following.
【0022】また、本発明は、上記画像処理装置であっ
て、さらに、マニュアル操作で、前記画像情報の階調を
圧縮もしくは伸張する処理条件を、前記選択手段によっ
て前記選択された1以上の基本圧縮特性もしくは基本伸
張特性を用いて設定する設定部を有し、前記画像処理手
段は、この設定部によって設定された処理条件に応じ
て、前記画像情報を処理することを特徴とする画像処理
装置を提供するものである。The present invention also relates to the above image processing apparatus, further comprising: manually operating a condition for compressing or expanding the gradation of the image information by one or more of the basic conditions selected by the selecting means. An image processing apparatus having a setting unit for setting using a compression characteristic or a basic decompression characteristic, wherein the image processing unit processes the image information according to a processing condition set by the setting unit; Is provided.
【0023】また、前記選択手段は、画像情報源となっ
た画像の原稿種、画像情報源となった画像のサイズ、お
よび前記画像情報の解析結果の少なくとも1つに応じ
て、前記1以上の基本圧縮特性もしくは基本伸張特性の
選択を行うのが好ましい。[0023] The selecting means may select the one or more of the one or more according to at least one of a document type of an image serving as an image information source, a size of the image serving as an image information source, and an analysis result of the image information. It is preferable to select basic compression characteristics or basic expansion characteristics.
【0024】[0024]
【発明の実施の形態】本発明に係る画像処理方法および
装置を添付の図面に示す好適実施例に基づいて以下に詳
細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing method and apparatus according to the present invention will be described below in detail with reference to preferred embodiments shown in the accompanying drawings.
【0025】図1に、本発明の画像処理方法および装置
を利用するデジタルフォトプリンタの一実施例のブロッ
ク図が示される。図1に示されるデジタルフォトプリン
タ(以下、フォトプリンタとする)10は、基本的に、
スキャナ(画像読取装置)12と、画像処理装置14
と、プリンタ16とを有する。また、画像処理装置14
には、様々な条件の入力や設定、処理の選択や指示、色
/濃度補正などの指示等を入力するためのキーボード1
8aおよびマウス18bを有する操作系18と、検定用
シミュレーション画像、各種の操作指示等を表示するデ
ィスプレイ20が接続される。FIG. 1 is a block diagram showing one embodiment of a digital photo printer using the image processing method and apparatus of the present invention. A digital photo printer (hereinafter referred to as a photo printer) 10 shown in FIG.
A scanner (image reading device) 12 and an image processing device 14
And a printer 16. Further, the image processing device 14
Is a keyboard 1 for inputting various conditions such as input and setting, selection and instruction of processing, and instruction such as color / density correction.
An operation system 18 having a mouse 8b and a mouse 18b is connected to a display 20 for displaying a simulation image for verification, various operation instructions, and the like.
【0026】スキャナ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.
【0027】また、フォトプリンタ10においては、新
写真システム(Advanced Photo System)や135サイ
ズ、120/220サイズのネガ(あるいはリバーサ
ル)フィルム等のフィルムのサイズ、形態(スライドと
フィルム等)等に応じて、スキャナ12の本体に装着自
在な専用のキャリアが用意されており、キャリアを交換
することにより、各種のフィルムや処理に対応すること
ができる。従って、スキャナ12に装着されたキャリア
によって、読み取り(プリント作成)に供されるフィル
ムFのサイズ(原稿サイズ)を検出することができる。
フィルムに撮影され、プリント作成に供される画像(コ
マ)は、このキャリアによって所定の読取位置に搬送、
保持される。In the photo printer 10, the size and form (slides and films, etc.) of a film such as a new photo system (Advanced Photo System) or a 135 (120/220) size negative (or reversal) film or the like are determined. In addition, a dedicated carrier that can be freely attached to the main body of the scanner 12 is prepared, and by changing the carrier, it is possible to cope with various films and processes. Therefore, the size (original size) of the film F to be read (printed) can be detected by the carrier mounted on the scanner 12.
Images (frames) photographed on film and provided for printing are conveyed to a predetermined reading position by this carrier.
Will be retained.
【0028】フィルムFには、フィルム種などの各種の
情報を有する、DXコード、拡張DXコード、FNSコ
ード等のバーコードが、光学的に記録されている。ま
た、新写真システムのフィルムには、IDナンバーやフ
ィルム種等のフィルム情報や、撮影時のフラッシュ使用
の有無や撮影日時等の撮影情報が記録された磁気記録媒
体が形成されている。DXコードや磁気記録媒体が有す
る各情報から、原稿種を知見することができる。これら
の各情報は、フィルムFの画像読取の際に、キャリアに
おいて読み取られ、各種の情報が画像処理装置14に送
られる。A bar code such as a DX code, an extended DX code, or an FNS code, which has various information such as a film type, is optically recorded on the film F. The film of the new photographic system is formed with a magnetic recording medium in which film information such as an ID number and a film type, and shooting information such as whether or not a flash is used at the time of shooting and the shooting date and time are recorded. The document type can be known from the DX code and each information of the magnetic recording medium. These pieces of information are read by the carrier when reading the image of the film F, and various kinds of information are sent to the image processing device 14.
【0029】このようなスキャナ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.
【0030】色フィルタ板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 scanner 12, each color filter of the color filter plate 26 is 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.
【0031】スキャナ12においては、フィルムFに撮
影された画像の読み取りを、低解像度で読み取るプレス
キャンと、プリントの出力に対応する画像データを得る
ためのファインスキャンとの、2回の画像読取で行う。
この時、プレスキャンは、スキャナ12が対象とする全
てのフィルムの画像をイメージセンサ34が飽和するこ
となく読み取れるように、予め設定されたプレスキャン
読取条件で行われる。一方、ファインスキャンは、プレ
スキャンデータから、その画像(コマ)の最低濃度より
も若干低い濃度でイメージセンサ34が飽和するよう
に、各コマ毎に設定されたファインスキャン読取条件で
行われる。従って、プレスキャンとファインスキャンの
出力信号は、解像度と出力レベルが異なる以外は、基本
的に同じデータである。The scanner 12 reads an image photographed on the film F in two scans: a prescan for reading at a low resolution, and a fine scan for obtaining image data corresponding to print output. Do.
At this time, the pre-scan is performed under pre-scan reading conditions set in advance so that the image sensor 34 can read the images of all the films targeted by the scanner 12 without saturation. On the other hand, the fine scan is performed under the fine scan reading conditions set for each frame from the prescan data so that the image sensor 34 is saturated at a density slightly lower than the minimum density of the image (frame). Therefore, the output signals of the prescan and the fine scan are basically the same data except that the resolution and the output level are different.
【0032】本発明の画像処理装置に画像データを供給
する画像データ供給源は、このようなスキャナ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, 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) such as a floppy (registered trademark) disk. Alternatively, image processing may be performed by receiving image data from various image data supply sources.
【0033】前述のように、スキャナ12からの出力信
号(画像データ)は、画像処理装置14に出力される。
図2に、画像処理装置14のブロック図を示す。図2に
示されるように、画像処理装置(以下、処理装置とす
る)14は、データ処理部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 device (hereinafter, referred to as a processing device) 14 includes a data processing unit 46, a Log converter 48, a pre-scan (frame) memory 50, a fine scan (frame) memory 52, and a condition setting. It has a unit 54, a pre-scan processing unit 56, and a fine scan processing unit 58.
【0034】なお、図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).
【0035】スキャナ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,
Fine scan (image) data is stored in the fine scan memory 52, respectively.
【0036】条件設定部54は、プレスキャン処理部5
6(その画像処理部68)およびファインスキャン処理
部58(その画像処理部72)における、各画像(コ
マ)の画像処理条件を設定するものであり、セットアッ
プ部62、キー調整部64およびパラメータ統合部66
を有する。The condition setting section 54 includes a pre-scan processing section 5
6 (the image processing unit 68) and the fine scan processing unit 58 (the image processing unit 72) for setting image processing conditions of each image (frame). The setup unit 62, the key adjustment unit 64, and the parameter integration Part 66
Having.
【0037】セットアップ部62は、プレスキャンデー
タを用いた画像の解析(オートセットアップ演算処理)
によって、各コマ毎の画像処理条件を設定する部位であ
る。具体的には、プレスキャンデータを用いて、画像の
濃度ヒストグラムの作成、および、LATD(大面積透
過濃度)、最低濃度や最高濃度等の濃度ヒストグラムの
所定頻度%点、平均濃度などの画像特徴量の算出等を行
い、濃度ヒストグラムや画像特徴量を用いて、マトリク
ス演算や画像処理アルゴリズムなどの公知の方法で、フ
ァインスキャン読取条件、ならびに画像処理部68およ
び画像処理部72における各種のLUTやマトリクス演
算式等の画像処理条件を算出する。The setup section 62 analyzes an image using the prescan data (automatic setup calculation processing).
Is a part for setting image processing conditions for each frame. More specifically, a density histogram of an image is created using pre-scan data, and image characteristics such as LATD (large area transmission density), a predetermined frequency% point of the density histogram such as a minimum density and a maximum density, and an average density are used. Using the density histogram and the image feature amount, fine scan reading conditions, various LUTs and the like in the image processing unit 68 and the image processing unit 72 are calculated 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.
【0038】なお、セットアップ部62は、選択部62
aを有する。選択部62aは、その内部にメモリを備
え、このメモリには、予め設定された複数の基本圧縮特
性および複数の基本伸張特性が記憶されている。選択部
62aは、内蔵メモリに記憶された複数の基本圧縮特性
および基本伸張特性の中から、原稿種、原稿サイズ、画
像解析(オートアップ演算)の結果の少なくとも1つに
応じて1以上の基本圧縮(伸張)特性を選択する。セッ
トアップ部62は、選択部62aが選択した基本圧縮
(伸張)特性を用いて、覆い焼き処理の条件を設定す
る。すなわち、このセットアップ部62は、本発明に係
る画像処理方法を実施する本発明の画像処理装置を構成
する主要な部分である。この点に関しては、後に詳述す
る。It should be noted that the setup unit 62 includes a selection unit 62
a. The selection unit 62a includes a memory therein, and stores a plurality of preset basic compression characteristics and a plurality of basic expansion characteristics set in advance. The selection unit 62a selects one or more basic compression characteristics and / or expansion characteristics from at least one of a document type, a document size, and a result of image analysis (auto-up calculation) from among a plurality of basic compression characteristics and basic expansion characteristics stored in the built-in memory. Select the compression (expansion) characteristics. The setup unit 62 sets the conditions of the dodging process using the basic compression (expansion) characteristics selected by the selection unit 62a. That is, the setup section 62 is a main part of the image processing apparatus of the present invention that performs the image processing method of the present invention. This will be described in detail later.
【0039】キー調整部64は、キーボード18aに設
定される、濃度調整キー、C(シアン)、M(マゼン
タ)、Y(イエロー)の各色の調整キー、階調(γ;ガ
ンマ)調整キー、明部調整キー、暗部調整キー、シャー
プネス調整キー、彩度調整キー等の各種の調整キーや、
マウス18bによって入力された各種の調整指示等に応
じて、画像の調整量を算出し、パラメータ統合部66に
供給するものである。パラメータ統合部66は、セット
アップ部62が設定した画像処理条件を受け取り、この
画像処理条件を、プレスキャン処理部56の画像処理部
68およびファインスキャン処理部58の画像処理部7
2に設定する。パラメータ統合部66は、さらに、キー
調整部64で算出された画像の調整量に応じて、両処理
部に設定した画像処理条件の調整(補正)や、その調整
を行う補正条件の作成および両処理部への設定を行う。The key adjustment unit 64 includes a density adjustment key, an adjustment key for each of C (cyan), M (magenta), and Y (yellow), a gradation (γ; gamma) adjustment key, which are set on the keyboard 18a. Various adjustment keys such as bright adjustment key, dark adjustment key, sharpness adjustment key, saturation adjustment key,
In accordance with various adjustment instructions and the like input by the mouse 18b, an image adjustment amount is calculated and supplied to the parameter integration unit 66. The parameter integration unit 66 receives the image processing conditions set by the setup unit 62, and converts the image processing conditions into the image processing unit 68 of the prescan processing unit 56 and the image processing unit 7 of the fine scan processing unit 58.
Set to 2. The parameter integration unit 66 further adjusts (corrects) the image processing conditions set in the two processing units, creates correction conditions for performing the adjustment, and performs both adjustments in accordance with the image adjustment amount calculated by the key adjustment unit 64. Make settings for the processing unit.
【0040】図示例の処理装置においては、基本的に、
プレスキャンメモリ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 fine scan data stored in the fine scan memory 52 is processed in the fine scan processing unit 58. The pre-scan processing unit 56 has an image processing unit 68 and a data conversion unit 70. On the other hand, the fine scan processing unit 58 has an image processing unit 72 and a data conversion unit 74.
【0041】プレスキャン処理部56の画像処理部68
と、ファインスキャン処理部58の画像処理部72と
は、処理する画像データの画素密度が異なる以外には、
基本的に、同様の構成を有し、同様の処理を行うもので
ある。従って、以下の説明は、ファインスキャン処理部
58の画像処理部72を代表例として例示し、説明す
る。Image processing section 68 of prescan processing section 56
And the image processing unit 72 of the fine scan processing unit 58, except that the pixel density of the image data to be processed is different.
Basically, it has the same configuration and performs the same processing. Therefore, in the following description, the image processing unit 72 of the fine scan processing unit 58 will be exemplified and described.
【0042】画像処理部72(68)は、第1LUT7
6、第1マトリクス演算器(以下、MTXとする)78
および覆い焼き処理部80を有する。前述のように、こ
れの各処理部における画像処理条件は、条件設定部54
によって設定される。The image processing section 72 (68) includes the first LUT 7
6. First matrix computing unit (hereinafter referred to as MTX) 78
And a dodging unit 80. As described above, the image processing conditions in each processing unit are determined by the condition setting unit 54.
Is set by
【0043】第1LUT76は、ファインスキャンメモ
リ52(プレスキャンメモリ50)に記憶された画像デ
ータを読み出し、グレイバランス(カラーバランス)補
正、濃度補正および階調補正を行うもので、それぞれの
補正を行うためのLUTがカスケード接続されて構成さ
れる。第1MTX78は、第1LUT76で処理された
画像(画像データ)の色補正を行うものである。すなわ
ち、プリントに出力される画像が適切な色に仕上がるよ
うに、フィルムFの分光特性や感光材料(印画紙)の分
光特性、現像処理の特性等に応じて設定されたマトリク
ス演算を行い、色補正を行う。The first LUT 76 reads out the image data stored in the fine scan memory 52 (pre-scan memory 50) and performs gray balance (color balance) correction, density correction and gradation correction, and performs each correction. LUTs are cascade-connected. The first MTX 78 performs color correction on an image (image data) processed by the first LUT 76. That is, a matrix operation 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 is performed so that the image output to the print has an appropriate color. Make corrections.
【0044】覆い焼き処理部80は、デジタル覆い焼き
処理(デジタル画像データの処理による、直接露光プリ
ントにおける覆い焼き効果の付与)を行う部位で、第2
MTX82と、ローパスフィルタ(LPF)84と、第
2LUT86と、加算器88とを有する。覆い焼き処理
を行う場合には、第1MTX78で処理された画像デー
タは、第2MTX82と、加算器88に送られる。他
方、覆い焼き処理を行わない場合には、第1MTX78
とデータ変換部74(70)とがバイパスして接続さ
れ、画像データは第1MTX78からデータ変換部74
に送られる。The dodging processing section 80 is a part for performing digital dodging processing (giving a dodging effect in direct exposure printing by processing digital image data).
MTX 82, low-pass filter (LPF) 84, second LUT 86, and adder 88. When performing the dodging process, the image data processed by the first MTX 78 is sent to the second MTX 82 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 transferred from the first MTX 78 to the data conversion unit 74 (70).
Sent to
【0045】第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.
“3R + 0.59G + 0.11B” exemplifies a method in which only the Y component defined by the YIQ is calculated from the R, G, and B image data to obtain bright and dark image data.
【0046】LPF84は、第2MTX82で生成され
た明暗画像データを処理して、低周波数成分を取り出す
ことにより、明暗画像を2次元的にボカして、読み取っ
た画像のボケ画像データを得るものである。なお、LP
F84は、画像の階調を圧縮する際に用いられるもので
あり、画像の階調を伸張する場合には、第2MTX82
と第2LUT86とがバイパス接続され、第2MTXで
生成された明暗画像データが第2LUT86に送られ
る。The LPF 84 processes the light and dark image data generated by the second MTX 82 and extracts low-frequency components to two-dimensionally blur the light and dark image to obtain blurred image data of the read image. is there. Note that LP
F84 is used when compressing the gradation of the image, and when expanding the gradation of the image, the second MTX 82 is used.
And the second LUT 86 are bypass-connected, and the light and dark image data generated by the second MTX is sent to the second LUT 86.
【0047】LPF84としては、ボケ画像データの生
成に通常用いられるFIR(FiniteImpulse Respones)
型のLPFを用いてもよいが、小型の回路で大きく画像
をボカしたボケ画像データを生成できる点で、IIR(I
nfinite Impulse Respones)型のLPFを用いるのが好
ましい。As the LPF 84, a FIR (Finite Impulse Respones) generally used for generating blurred image data is used.
Type LPF may be used, but the IIR (I
It is preferable to use an LPF of the (nfinite Impulse Respones) type.
【0048】ここで、前述のように、プレスキャンデー
タとファインスキャンデータとでは画像の解像度が異な
るので、同じLPFを用いて処理を行うと、ディスプレ
イ20とプリンタ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 prescan data and the fine scan data, if the processing is performed using the same LPF, the image reproduced by the display 20 and the printer 16 will be displayed. Will be different. Therefore, it is necessary to change the frequency characteristic of the LPF 84 between the prescan data and the fine 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, the resolution ratio is m, and the cutoff frequency of the prescan data is fc (p).
And the fine scan data is fc (f),
The LPF may be designed so that “fc (p) ≒ mfc (f)”.
【0049】LPF84で生成されたボケ画像データ
(あるいは、第2MTXで生成された明暗画像データ)
は、第2LUT86において、階調圧縮(伸張)LUT
で処理される。Blurred image data generated by LPF 84 (or light and dark image data generated by second MTX)
Is a gradation compression (expansion) LUT in the second LUT 86.
Is processed.
【0050】前述のように、フィルム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 backlight scenes or flash photography, the density area greatly exceeds the reproduction area of printing. A range of images may be captured.
【0051】図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 area in printing is the density area indicated by the dotted line, a to c
In the image shown in (1), all the pixels cannot be reproduced in the print, and 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) On the contrary, the low density portion exceeding the reproduction range, that is, the dark portion of the print is crushed. Therefore, in order to obtain an image in which all the image data is reproduced, it is necessary to compress a region from the highest density to the lowest density of the image (dynamic range of the image density) so as to correspond to the print reproduction area. In other words, by compressing the gradation of the image (image data) so as to provide the same effect as the conventional dodging by direct exposure, the image data is compressed so that the dynamic range is compressed to correspond to the reproduction range of the print. Need to be processed.
【0052】一方、原稿となるフィルムFの画像がオー
バー露光の場合には、画像が全体的に高濃度になってし
まい、そのためプリントでは明部が軟調な画像になりが
ちである。逆にアンダー露光の場合には、画像が全体的
に低濃度になり、そのため、プリントでは暗部が軟調な
画像になりがちである。そのため、この際に高画質な画
像を得るためには、階調を立ててコントラストを上げる
必要がある。具体的には、プリントの再生域内で、オー
バー露光の場合には高濃度部(プリント上の明部)の階
調を立て、アンダー露光の場合には、低濃度部(プリン
ト上の暗部)の階調を立てる必要がある。つまりアンダ
ー/オーバー露光を修正する際には、逆に階調を伸張す
る必要がある。On the other hand, when the image on the film F serving as the original is overexposed, the image has a high density as a whole, so that the printed portion tends to be a soft image with a bright portion. On the other hand, in the case of underexposure, the image has a low density as a whole, and therefore, a printed image tends to have a soft tone in dark areas. Therefore, in order to obtain a high-quality image at this time, it is necessary to increase the contrast by increasing the gradation. Specifically, within the reproduction area of the print, the gradation of the high density portion (bright portion on the print) is set in the case of overexposure, and the low density portion (dark portion on the print) is set in the case of underexposure. It is necessary to make a gradation. In other words, when correcting under / over exposure, it is necessary to extend the gradation.
【0053】図示例では、第1MTX78で処理された
主となる画像データに、この第2LUT86において階
調圧縮(伸張)LUTで処理された前記ボケ画像データ
(明暗画像データ)を加算することにより、主となる画
像データの階調を非線形に圧縮もしくは伸張して、プリ
ントによる濃度再生域に対応するものとする。これによ
り、出力する画像データの明部/暗部の階調や濃度、ダ
イナミックレンジを適正なものとして、フラッシュ撮影
シーンや逆光シーン等であっても、高画質な画像が再生
された適正なプリントを、安定して出力することが可能
になる。すなわち、第2LUT86の階調圧縮(伸張)
LUTとは、主となる画像データの階調等を適切にする
処理用画像データを得るために、前述のボケ画像データ
(明暗画像データ)の処理を行うLUTである。In the illustrated example, the blurred image data (light and dark image data) processed by the gradation compression (expansion) LUT in the second LUT 86 is added to the main image data processed by the first MTX 78, It is assumed that the tone of the main image data is nonlinearly compressed or expanded to correspond to the density reproduction area by printing. As a result, the gradation, density, and dynamic range of the bright and dark parts of the image data to be output are set to be appropriate, and an appropriate print in which a high-quality image is reproduced is obtained even in a flash shooting scene or a backlight scene. It is possible to output stably. That is, gradation compression (expansion) of the second LUT 86
The LUT is an LUT that performs the above-described processing of the blurred image data (bright and dark image data) in order to obtain processing image data that appropriately adjusts the gradation and the like of main image data.
【0054】図示例においては、一例として、セットア
ップ部62の選択部62aには、図5(A)〜(C)に
示されるような、基本的な圧縮特性となる3つの基本圧
縮LUTが記憶されている。なお、図5(A)〜(C)
において、Ycは、濃度の中心で、例えば濃度Dで0.
8程度である。In the illustrated example, as an example, the selection section 62a of the setup section 62 stores three basic compression LUTs having basic compression characteristics as shown in FIGS. 5A to 5C. Have been. 5A to 5C.
In the formula, Yc is the center of the density, for example, the density D is equal to 0.1.
It is about 8.
【0055】図5(A)に示される基本圧縮LUTは、
明部および暗部の良好な再生を重視した圧縮特性であ
る。すなわち、中間階調を圧縮せずに、プリント再生範
囲を大きく超えている濃度領域を強く圧縮して階調を圧
縮することにより、明部のとびおよび暗部のつぶれを低
減し、両濃度域を好適に再生することができる。図5
(B)に示される基本圧縮LUTは、明部から暗部に渡
って、全体的に圧縮を行う圧縮特性である。この基本圧
縮LUTによれば、全体を中間濃度に近づけるように階
調を圧縮するので、適正画像の割合(合格率)向上でき
る。すなわち、この基本圧縮LUTは、処理装置14に
よる自動補正のみで出力可能(検定OK)なプリントの
比率を高め、ラボ店等における生産性を向上させる基本
圧縮LUTである。図5(C)に示される基本圧縮LU
Tは、明部はプリント再生範囲を大きく超える領域を大
きく圧縮して、暗部は全体的に圧縮をする圧縮特性であ
る。これに変えて、あるいは、これに加えて、図5
(C)と逆の圧縮特性を有する基本圧縮LUTを有して
もよい。The basic compression LUT shown in FIG.
This is a compression characteristic emphasizing good reproduction of bright and dark areas. In other words, by compressing the gradation by strongly compressing the density region that greatly exceeds the print reproduction range without compressing the intermediate gradation, the skipping of the bright part and the crushing of the dark part are reduced, and both the density regions are reduced. Reproduction can be suitably performed. FIG.
The basic compression LUT shown in (B) has a compression characteristic of performing overall compression from a bright portion to a dark portion. According to this basic compression LUT, since the gradation is compressed so that the whole becomes close to the intermediate density, the ratio (pass rate) of a proper image can be improved. That is, this basic compression LUT is a basic compression LUT that increases the ratio of prints that can be output (test OK) only by automatic correction by the processing device 14 and improves productivity in lab shops and the like. Basic compressed LU shown in FIG.
T is a compression characteristic in which a bright portion greatly compresses an area that greatly exceeds the print reproduction range, and a dark portion entirely compresses. Alternatively or additionally, FIG.
A basic compression LUT having a compression characteristic opposite to that of (C) may be provided.
【0056】選択部62aは、一例として、原稿種をパ
ラメータとして、例えばフィルムFが、ネガフィルム
か、リバーサルフィルムか、白黒フィルムかに応じて、
1つ、あるいは複数の基本圧縮LUTを選択する。すな
わち、この例では、各原稿種に応じて、1つ以上の基本
圧縮特性を定義することができる。なお、原稿種は、ス
キャナのキャリアで読み取られたDXコード等のバーコ
ードや新写真システムの磁気情報、オペレータによる入
力によって取得すればよい。この例においては、選択部
62aは、一例として、フィルムFがネガフィルムであ
る場合には、図5(B)に示される基本圧縮LUTを、
リバーサルフィルムおよび白黒フィルムである場合に
は、図5(A)に示される基本圧縮LUTを、それぞれ
を選択する。For example, the selection unit 62a uses the document type as a parameter, for example, according to whether the film F is a negative film, a reversal film, or a black and white film.
One or more basic compression LUTs are selected. That is, in this example, one or more basic compression characteristics can be defined according to each document type. The document type may be obtained by a bar code such as a DX code read by a scanner carrier, magnetic information of a new photo system, or an input by an operator. In this example, as an example, when the film F is a negative film, the selection unit 62a converts the basic compression LUT shown in FIG.
In the case of a reversal film and a monochrome film, each of the basic compression LUTs shown in FIG. 5A is selected.
【0057】また、基本圧縮LUTの選択パラメータと
しては、原稿サイズ、例えば、フィルムFが、135サ
イズか、240サイズか、120/220サイズかも好
適に利用可能である。すなわち、この例では、原稿サイ
ズに応じて、1つ以上の基本圧縮特性を定義することが
できる。なお、原稿サイズは、スキャナに装着されたキ
ャリア、スキャナのキャリアで読み取られたDXコード
等のバーコードや新写真システムの磁気情報、オペレー
タによる入力によって取得すればよい。この例において
は、選択部62aは、一例としてフィルムFが135サ
イズおよび240サイズである場合には、図5(B)に
示される基本圧縮LUTを、120/220サイズであ
る場合には、図5(A)に示される基本圧縮LUTを、
それぞれ選択する。As a selection parameter of the basic compression LUT, a document size, for example, 135, 240 or 120/220 size of the film F can be suitably used. That is, in this example, one or more basic compression characteristics can be defined according to the document size. The document size may be obtained by a carrier mounted on the scanner, a bar code such as a DX code read by the carrier of the scanner, magnetic information of the new photo system, or an input by an operator. In this example, when the film F has 135 size and 240 size, for example, the selection unit 62a determines the basic compression LUT shown in FIG. The basic compression LUT shown in FIG.
Select each.
【0058】また、基本圧縮LUTの選択パラメータと
しては、画像解析の結果や、オペレータによる選択/設
定も、好適である。画像解析の結果を用いる場合には、
解析結果として、原シーンの画像上における暗部領域と
明部領域との比率や、画像のコントラストなどを用いる
ことができる。例えば、明部領域が支配的な画像では、
逆光シーンの画像である可能性があるため、図5(C)
の基本圧縮特性を選択し、中間濃度より暗い部分の階調
圧縮が積極的に行われるようにする。また、コントラス
トが非常に大きい画像では、図5(B)の基本圧縮特性
を選択して、全体的に階調が圧縮されるようにすること
ができる。As a selection parameter of the basic compression LUT, a result of image analysis and selection / setting by an operator are also suitable. When using the results of image analysis,
As the analysis result, the ratio between the dark area and the light area on the image of the original scene, the contrast of the image, and the like can be used. For example, in an image where the bright area is dominant,
Since the image may be a backlight scene, FIG.
Is selected so that gradation compression of a portion darker than the intermediate density is positively performed. In the case of an image having a very high contrast, the basic compression characteristics shown in FIG. 5B can be selected so that the gradation is compressed as a whole.
【0059】すなわち、画像解析結果による基本圧縮L
UTの選択方法としては、例えば、濃度ヒストグラムの
情報を用いて、画像明暗部の比率が大きく、かつ、明暗
部の濃度差が大きい場合には、図5(A)に示される基
本圧縮LUTを、画像明部の比率が大きく、かつ、明部
の濃度が非常に大きい場合には、図5(C)に示される
基本圧縮LUTを、それ以外の場合には、図5(B)に
示される基本圧縮LUTを、それぞれ選択する。なお、
この際において、基本圧縮LUTの選択に用いる画像の
解析結果、例えば、画像の明部や暗部の、比率、濃度お
よび濃度差等は、フォトプリンタ10の装置特性等に応
じて、適宜設定すればよい。That is, the basic compression L based on the image analysis result
As a method of selecting the UT, for example, using the information of the density histogram, if the ratio of the image light and dark parts is large and the density difference between the light and dark parts is large, the basic compressed LUT shown in FIG. If the ratio of the bright portion of the image is large and the density of the bright portion is very large, the basic compressed LUT shown in FIG. 5C is used. Otherwise, the basic compressed LUT shown in FIG. The basic compression LUT to be used is selected. In addition,
At this time, the analysis result of the image used for selecting the basic compression LUT, for example, the ratio, the density, the density difference, etc. of the bright and dark portions of the image may be appropriately set according to the device characteristics of the photo printer 10 and the like. Good.
【0060】図5(A)〜(C)に示される基本圧縮L
UTは、明部から暗部まで、全濃度域のダイナミックレ
ンジの圧縮に対応するものである。しかしながら、本発
明はこれに限定はされず、明部と暗部とで独立した基本
圧縮LUTを複数ずつ有し、原稿種や原稿サイズ等の選
択パラメータに応じて、明部の基本圧縮LUTと暗部の
基本圧縮LUTを、それぞれ選択して、全濃度域のダイ
ナミックレンジ圧縮に対応する基本圧縮LUTとしても
よい。The basic compression L shown in FIGS.
The UT corresponds to the compression of the dynamic range of the entire density range from the bright part to the dark part. However, the present invention is not limited to this, and has a plurality of independent basic compression LUTs for the light part and the dark part. The basic compression LUT for the light part and the dark part are selected according to selection parameters such as the document type and document size. May be selected as the basic compression LUTs corresponding to the dynamic range compression of the entire density range.
【0061】図6(A)〜(D)に、その一例を示す。
図6(A)〜(D)に示される例において、図6(A)
および(C)は、明部の圧縮に対応するものであり、図
6(B)および(D)は、暗部の圧縮に対応するもので
ある。図6(A)〜(D)に示される基本圧縮LUT
は、図5(A)および(B)に示される基本圧縮LUT
を、Ycを境にして、明部側と暗部側とに分割した例で
ある。セットアップ部62の選択部62aは、例えば、
原稿種、原稿サイズ、画像解析結果およびオペレータに
よる選択/設定の1以上をパラメータとして、これに応
じて、明部を圧縮する図6(A)および(C)の基本圧
縮LUTの1以上と、暗部を圧縮する図6(B)および
(D)の基本圧縮LUTの1以上を選択し、両者を加算
して、全濃度域の圧縮に対応する基本圧縮LUTを作成
する。FIGS. 6A to 6D show an example.
In the example shown in FIGS. 6A to 6D, FIG.
6C and 6C correspond to compression of a light portion, and FIGS. 6B and 6D correspond to compression of a dark portion. Basic compression LUT shown in FIGS. 6 (A) to 6 (D)
Is a basic compression LUT shown in FIGS. 5A and 5B.
Is divided into a bright portion side and a dark portion side with Yc as a boundary. The selection unit 62a of the setup unit 62 includes, for example,
One or more of the document type, document size, image analysis result, and selection / setting by the operator are used as parameters, and one or more of the basic compression LUTs of FIGS. One or more of the basic compression LUTs of FIGS. 6B and 6D for compressing the dark part are selected, and the two are added to create a basic compression LUT corresponding to the compression of the entire density range.
【0062】本発明の画像処理装置において、選択する
基本圧縮LUTは、1つに限定はされず、前述のよう
に、複数であってもよい。この際には、例えば、選択し
た基本圧縮LUTを合成やカスケードして用いればよ
い。また、基本圧縮LUTの選択に用いるパラメータ
は、1つに限定はされず、複数のパラメータを用いて基
本特性LUTを選択してもよい。さらに、パラメータに
応じた基本圧縮LUTの選択方法にも特に限定はなく、
予め設定されたファイルとして選択部62aが持ってい
てもよく、あるいは、選択パラメータに応じてセットア
ップ部62が適宜決定してもよい。In the image processing apparatus of the present invention, the number of basic compression LUTs to be selected is not limited to one, but may be plural as described above. In this case, for example, the selected basic compression LUTs may be combined or cascaded and used. The parameter used for selecting the basic compression LUT is not limited to one, and the basic characteristic LUT may be selected using a plurality of parameters. Further, the method of selecting the basic compression LUT according to the parameters is not particularly limited.
The selection unit 62a may have the file as a preset file, or the setup unit 62 may appropriately determine the file according to the selection parameter.
【0063】セットアップ部62は、このようにして選
択部62aが選択した基本圧縮LUTを用いて、画像解
析に応じて覆い焼き処理条件を自動設定(オートセット
アップ)する。なお、セットアップ部62は、その選択
部62aが選択した基本圧縮LUTをそのま覆い焼き処
理条件として設定しても良いのはもちろんである。本発
明においては、このように複数の基本圧縮LUTや基本
伸張LUT(圧縮もしくは伸張特性)を予め設定してお
き、例えば、原稿種、原稿サイズ、画像解析結果、オペ
レータによる選択/設定等に応じて、基本圧縮LUT等
を選択して、これを用いて覆い焼き処理の圧縮(伸張)
LUT(覆い焼き処理の条件)を設定する。これによ
り、逆光シーンやストロボ撮影シーンであっても、明部
のとびや暗部のつぶれを大幅に低減できる覆い焼き処理
を、従来に比して迅速に行うことができ、例えば、フォ
トプリンタ10におけるプリントの生産性を、良好に向
上することができる。The setup unit 62 uses the basic compression LUT selected by the selection unit 62a in this way to automatically set dodging processing conditions according to image analysis (auto setup). The setup unit 62 may, of course, set the basic compression LUT selected by the selection unit 62a as the dodging processing condition. In the present invention, a plurality of basic compression LUTs and basic decompression LUTs (compression or expansion characteristics) are set in advance in this way, for example, according to the document type, document size, image analysis result, selection / setting by an operator, and the like. Then, select a basic compression LUT, etc., and use it to compress (expand) the dodging process
An LUT (condition of dodging process) is set. Thereby, even in a backlight scene or a flash photography scene, a dodging process capable of greatly reducing the jump of a bright portion and the collapse of a dark portion can be performed more quickly than in the past. Print productivity can be improved satisfactorily.
【0064】便宜的に、中間濃度であるYcを境にし
て、明部側の圧縮をglight 、暗部側の圧縮をgdarkと
すると、基本圧縮LUTは、 「基本圧縮LUT=glight +gdark」 で示される。図示例においては、セットアップ部62が
自動設定する、覆い焼き処理の圧縮率fauto(階調圧縮
LUT 以下、圧縮LUTとする)は、選択した基本圧
縮LUTを用いて、 「fauto=A×glight +B×gdark」 で決定される。ここで、係数AおよびBは、0≦A≦
1、0≦B≦1であって、画像の状態、具体的には、明
部および暗部の頻度や、濃度ヒストグラムの最大濃度お
よび最小濃度、平均濃度等の画像特徴量に応じて適宜決
定される。For the sake of convenience, assuming that the compression on the light side is g light and the compression on the dark side is g dark at the boundary of the intermediate density Yc, the basic compression LUT is: “Basic compression LUT = g light + g dark "Is indicated. In the illustrated example, the compression ratio f auto (gradation compression LUT, hereinafter referred to as compression LUT) of the dodging process, which is automatically set by the setup unit 62, is obtained by using the selected basic compression LUT, “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. You.
【0065】すなわち、例えば、図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
Increases the compression ratio on the dark side, that is, gdarkHang on
The coefficient B is set large. In backlit scenes, etc.
The subject of interest is on the dark side of the histogram, creating a dark image.
However, by performing such processing, the main
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.
【0066】係数AおよびBの決定方法としては、例え
ば、図4の濃度ヒストグラムにおいて、プリント再現域
から明部側に外れる濃度領域の広さをa、同暗部側に外
れる濃度領域の広さをb(共に、図4のaのヒストグラ
ムで例示する)とした際に、図7(A)に示されるよう
な、明部側に外れる濃度領域aと係数Aとの関係を示す
LUT、および図7(B)に示されるような、暗部側に
外れる濃度領域bと係数Bとの関係を示すLUTとを用
意しておき、これを用いてAおよびBを決定する方法が
例示される。As a method of 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 side is a, and the density of the density area deviating to the dark side is FIG. 7A shows an LUT showing the relationship between the density area a and the coefficient A which deviate from the bright part side, as shown in FIG. An example is shown in which a LUT indicating the relationship between the density region b deviating on the dark side and the coefficient B as shown in FIG. 7B is prepared, and A and B are determined using the LUT.
【0067】あるいは、図8(A)に示されるような、
暗部側の頻度(累積%=X%)と係数Aとの関係を示す
LUT、および、図8(B)に示されるような、明部側
の頻度(累積%=Y%)と係数Bとの関係を示すLUT
とを用意しておき、また、ヒストグラムから、図9に示
されるような濃度の累積ヒストグラムを作成し、暗部側
のプリント再現限界Pおよび明部側のプリント再現限界
Qから、累積ヒストグラムを用いて暗部の累積%および
明部の累積%を算出し、図7(A)および(B)に示さ
れるLUTを用いて係数AおよびBを決定する方法も例
示される。Alternatively, as shown in FIG.
An LUT indicating 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
9 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 FIGS. 7A and 7B is also exemplified.
【0068】あるいは図6(A)〜(D)および図7
(A)〜(B)に示されるLUTから係数AおよびBを
算出し、両者の平均を取って係数AおよびBを決定する
方法、両者の大きい方を係数AおよびBとして決定する
方法等も好適に例示される。さらに、ヒストグラムか
ら、いずれのLUTを用いるかを選択して、係数Aおよ
びBを決定してもよい。6 (A) to 6 (D) and FIG.
A method of calculating the coefficients A and B from the LUTs shown in (A) and (B) and determining the coefficients A and B by averaging the two, and a method of determining the larger of the two as the coefficients A and B, etc. It is preferably exemplified. Furthermore, the coefficients A and B may be determined by selecting which LUT to use from the histogram.
【0069】一方、前述のように、フィルムFの画像が
アンダー/オーバー露光である場合には、これを修正す
るために、アンダー露光の場合は暗部の階調を立て、オ
ーバー露光の場合には明部の階調を立てる。すなわち、
画像がアンダー/オーバー露光である場合には、セット
アップ部62は階調伸張LUT(以下、伸張LUTとす
る)を設定し、逆に画像の階調を伸張してダイナミック
レンジを伸張する。なお、画像がアンダー/オーバー露
光であることを判別する方法には特に限定はなく、濃度
ヒストグラムから得られる画像特徴量、平均濃度、最高
濃度や最低濃度等から判別する公知の方法によればよ
い。On the other hand, as described above, when the image of the film F is under / overexposed, to correct this, the gradation of the dark part is set in the case of underexposure, and in the case of overexposure, Raise the gradation of the bright part. That is,
If the image is under / overexposed, the setup unit 62 sets a gradation expansion LUT (hereinafter, referred to as expansion LUT), and expands the image gradation to expand the dynamic range. Note that there is no particular limitation on the method of determining that an image is under / overexposed, and a known method of determining from an image feature amount obtained from a density histogram, an average density, a maximum density, a minimum density, and the like may be used. .
【0070】セットアップ部62の選択部62aには、
一例として、図10(A)〜図10(C)に示される基
本伸張LUTが記憶されている。選択部62aは、圧縮
と同様、例えば、原稿種、原稿サイズ、画像解析結果お
よびオペレータによる選択/設定の1以上をパラメータ
として、これに応じて、図10(A)〜(C)に示され
る基本伸張LUTの1以上を選択する。The selection section 62a of the setup section 62 includes:
As an example, the basic expansion LUT shown in FIGS. 10A to 10C is stored. Similar to the compression, the selection unit 62a uses, for example, one or more of the document type, the document size, the image analysis result, and the selection / setting by the operator as parameters as shown in FIGS. 10A to 10C. Select one or more of the basic decompression LUTs.
【0071】一例として、オーバー露光の場合には図1
0(A)に示される基本伸張LUTを、アンダー露光の
場合には図10(B)に示される基本伸張LUTを、さ
らに、超アンダー露光もしくは超オーバー露光の場合に
は、図10(C)に示される基本伸張LUTを、それぞ
れ選択する。なお、基本伸張LUTの選択に用いる
(超)アンダー露光や(超)オーバー露光の判定は、フ
ォトプリンタ10の装置特性等に応じて適宜設定すれば
よい。As an example, in the case of overexposure, FIG.
0 (A), the basic expansion LUT shown in FIG. 10 (B) for underexposure, and FIG. 10 (C) for super underexposure or super overexposure. Are selected respectively. Note that the determination of (super) underexposure or (super) overexposure used for selecting the basic expansion LUT may be appropriately set according to the device characteristics of the photo printer 10 or the like.
【0072】以下、主にオーバー露光の補正を行うため
の明部の伸張をqover、主にアンダー露光の補正を行う
ための暗部の伸張をqunder とすると、前述の階調の圧
縮と同様に、基本伸張LUTが 「基本伸張LUT=qover+qunder 」 で示され、セットアップ部62が自動設定する、覆い焼
き処理の伸長率qauto(伸張LUT)は、選択した基本
伸張LUTを用いて、 「qauto=A×qunder +B×qover」 で決定される。Hereinafter, assuming that the expansion of the bright part for mainly correcting the overexposure is q over and the expansion of the dark part for mainly correcting the underexposure is q under , the same as the above-described gradation compression. The basic decompression LUT is indicated by “basic decompression LUT = q over + q under ”, and the extension rate q auto (decompression LUT) of the dodging process automatically set by the setup unit 62 is determined by using the selected basic decompression LUT. , “Q auto = A × q under + B × q over ”.
【0073】ここで、係数AおよびBは、同様に、0≦
A≦1、0≦B≦1であって、画像の状態、具体的に
は、濃度ヒストグラムの最小濃度とフィルムベース濃度
との差や、明部および暗部の頻度や、濃度ヒストグラム
の最大濃度および最小濃度や、平均濃度等の画像特徴量
に応じて適宜決定される。例えば、図11に示されるよ
うな、濃度ヒストグラムの最小濃度(Dmin ) とフィル
ムベース濃度との差に対する、係数AおよびBを示すテ
ーブルを作成しておき、これを用いて係数AおよびBを
決定する方法が例示される。Here, the coefficients A and B are similarly set such that 0 ≦
A ≦ 1, 0 ≦ B ≦ 1, and the state of the image, specifically, the difference between the minimum density of the density histogram and the film base density, the frequency of light and dark areas, the maximum density of the density histogram, It is appropriately determined according to the image feature amount such as the minimum density and the average density. For example, as shown in FIG. 11, a table showing coefficients A and B with respect to the difference between the minimum density (D min ) of the density histogram and the film base density is created, and the coefficients A and B are used by using this table. An example of a method for determining is shown.
【0074】本発明の画像処理装置においては、覆い焼
き処理による圧縮率や伸張率は、セットアップ部62が
自動設定するのに限定はされず、オペレータのキーボー
ド操作(例えば、前記階調調整キー、明部調整キー、暗
部調整キー)に応じて、オペレータによる調整を前記圧
縮率fautoや伸長率qautoに加算して、圧縮LUTや伸
張LUTを作成してもよい。なお、オペレータによる圧
縮率や伸長率の調整に関しては、本出願人による特開平
10−13680号公報に詳述されている。また、本発
明の画像処理装置は、階調の圧縮および伸張の両者を行
うのに限定はされず、例えば、基本圧縮LUTのみを複
数有し、階調の圧縮のみを行うものであってもよい。さ
らに、必要に応じて(例えば、ソフトフォーカス的な画
像がほしい場合)、LPF84で処理したボケ画像デー
タを用いて階調の伸張を行ってもよい。In the image processing apparatus of the present invention, the compression ratio and the expansion ratio by the dodging process are not limited to being automatically set by the setup unit 62, but may be operated by a keyboard operation of the operator (for example, the gradation adjustment key, The compression LUT and the decompression LUT may be created by adding the adjustment by the operator to the compression rate f auto and the decompression rate q auto in accordance with the light part adjustment key and the dark part adjustment key). The adjustment of the compression ratio and the expansion ratio by the operator is described in detail in Japanese Patent Application Laid-Open No. 10-13680 by the present applicant. Further, the image processing apparatus of the present invention is not limited to performing both gradation compression and decompression. For example, the image processing apparatus may include only a plurality of basic compression LUTs and perform only gradation compression. Good. Further, if necessary (for example, when a soft focus image is desired), the gradation may be expanded using the blurred image data processed by the LPF 84.
【0075】このようにして第2LUT86で処理され
たボケ画像データ(明暗画像データ)は、加算器88に
送られる。加算器88では、第1MTX78によって処
理されて直接加算器88に送られた主たる画像データ
と、ボケ画像データとを加算する。これにより、主たる
画像データの階調を圧縮(伸張)して、面露光による覆
い焼きを行ったのと同等の効果を付与する。The blurred image data (bright and dark image data) processed by the second LUT 86 is sent to the adder 88. The adder 88 adds the main image data processed by the first MTX 78 and sent directly to the adder 88, and the blurred image data. As a result, the gradation of the main image data is compressed (expanded), and the same effect as that obtained by performing dodging by surface exposure is provided.
【0076】より詳細には、第2LUT86において圧
縮LUTで処理されたボケ画像データは、明部(画像デ
ータ大)がマイナスで、逆に、暗部がプラスの画像デー
タとなる。従って、第1MTX78によって処理された
主たる画像データに、このボケ画像データを加算するこ
とにより、主たる画像データの明部は小さく、暗部は嵩
挙げされ、すなわち画像データのダイナミックレンジが
圧縮され、プリントにおける出力濃度領域に応じた画像
データにされる。逆に、伸張LUTで処理された明暗画
像データは、明部がプラスで、暗部がマイナスの画像デ
ータとなるので、主たる画像データに、この明暗画像デ
ータを加算することにより、画像データの階調が伸張さ
れる。More specifically, in the blurred image data processed by the compression LUT in the second LUT 86, the bright part (large image data) is minus and the dark part is plus image data. 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 bulky, that is, the dynamic range of the image data is compressed, and The image data is converted into image data corresponding to the output density area. Conversely, the bright and dark image data processed by the decompression LUT has positive light portions and negative dark portions. Therefore, by adding the bright and dark image data to the main image data, the gradation of the image data is obtained. Is stretched.
【0077】このようにして、覆い焼き処理を施され、
ダイナミックレンジが圧縮(伸張)された画像データ
は、プレスキャンデータはデータ変換部70に、ファイ
ンスキャンデータはデータ変換部74に、それぞれ送ら
れる。なお、加算機88と各変換部との間には、シャー
プネス処理部等の画像処理部が配置されていてもよい。
プレスキャン処理部56のデータ変換部70は、画像処
理部68で処理されたプレスキャンデータを、3D(三
次元)−LUT等を用いて、ディスプレイ20による表
示に対応する画像データに変換する部位である。他方、
ファインスキャン処理部58のデータ変換部74は、同
様に、画像処理部72で処理されたファインスキャンデ
ータを3D−LUT等を用いて変換し、プリンタ16に
よる画像記録に対応する画像データに変換する部位であ
る。In this way, a dodging process is performed,
As for the image data whose dynamic range has been compressed (expanded), the pre-scan data is sent to the data conversion unit 70, and the fine scan data is sent to the data conversion unit 74. Note that an image processing unit 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,
Similarly, the data conversion section 74 of the fine scan processing section 58 converts the fine scan data processed by the image processing section 72 using a 3D-LUT or the like, and converts the data into image data corresponding to image recording by the printer 16. Part.
【0078】処理装置14において、プレスキャン処理
部56のデータ変換部70で処理された画像データはデ
ィスプレイ20に、他方、ファインスキャン処理部58
のデータ変換部74で処理された画像データはプリンタ
16に、それぞれ送られる。ディスプレイ20には特に
限定はなく、CRT(Cathode Ray Tube)や液晶ディスプ
レイ等の公知の表示手段が各種利用可能である。In the processing device 14, the image data processed by the data conversion unit 70 of the prescan processing unit 56 is displayed on the display 20, while the fine scan processing unit 58 is
The image data processed by the data conversion unit 74 is sent to the printer 16. 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.
【0079】他方、プリンタ16は、ファインスキャン
処理部58から出力された画像データに応じて感光材料
(印画紙)を露光して潜像を記録し、感光材料に応じた
現像処理を施して(仕上り)プリントとして出力する。
例えば、感光材料をプリントに応じた所定長に切断した
後に、バックプリントの記録、感光材料(印画紙)の分
光感度特性に応じた、R露光、G露光およびB露光の3
種の光ビームを画像データ(記録画像)に応じて変調す
ると共に、主走査方向に偏向し、主走査方向と直交する
副走査方向に感光材料を搬送することによる潜像の記録
等を行い、潜像を記録した感光材料に、発色現像、漂白
定着、水洗等の所定の湿式現像処理を行い、乾燥してプ
リントとした後に、仕分けして集積する。On the other hand, the printer 16 exposes a photosensitive material (photographic paper) according to the image data output from the fine scan processing section 58 to record a latent image, and performs a developing process according to the photosensitive material ( Finish) Output as print.
For example, after the photosensitive material is cut into a predetermined length corresponding to the print, recording of the back print, R exposure, G exposure, and B exposure according to the spectral sensitivity characteristics of the photosensitive material (photographic paper).
The type of light beam is modulated in accordance with image data (recorded image), and is deflected in the main scanning direction to record a latent image by transporting the photosensitive material in a sub-scanning direction orthogonal to the main scanning direction. The photosensitive material on which the latent image has been recorded is subjected to predetermined wet development processing such as color development, bleach-fixing, and washing with water, dried, printed, sorted, and accumulated.
【0080】以下、フォトプリンタ10の作用を説明す
ることにより、本発明について、より詳細に説明する。Hereinafter, the present invention will be described in more detail by describing the operation of the photo printer 10.
【0081】フィルムFのプリント作成を依頼されたオ
ペレータは、フィルムFに対応するキャリアをスキャナ
12に装填し、キャリアの所定位置にフィルムFをセッ
トして、作成するプリントサイズ等の必要な指示を入力
した後に、プリント作成開始を指示する。これにより、
スキャナ12の可変絞り24の絞り値やイメージセンサ
34の蓄積時間がプレスキャンの読取条件に応じて設定
され、その後、キャリアがフィルムFを搬送して、プリ
ント作成を行うコマが、読取位置に搬送される。また、
このフィルムFの搬送の際に、DXコード等のバーコー
ドや磁気記録媒体に記録された磁気情報が読まれ、原稿
種、原稿サイズ(キャリアの装着情報でも可)等の必要
な情報がセットアップ部62の選択部62a等の所定部
位に送られる。次いで、そのコマのプレスキャンが開始
され、前述のように、色フィルタ板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 of the carrier, and gives necessary instructions such as a print size to be made. After inputting, the user instructs to start printing. This allows
The aperture value of the variable aperture 24 of the scanner 12 and the accumulation time of the image sensor 34 are set according to the prescan reading conditions, and then the carrier transports the film F, and the frame for printing is transported to the reading position. Is done. Also,
At the time of transporting the film F, barcodes such as DX codes and magnetic information recorded on a magnetic recording medium are read, and necessary information such as a document type and a document size (carrier mounting information is also acceptable) is set up. It is sent to a predetermined site such as the selecting section 62a. Next, the pre-scanning of the frame is started, and the color filters of the color filter plate 26 are sequentially inserted as described above, and the projection light in each is read by the image sensor 34, so that the image of the frame is R, G And B are separated into three primary colors and read photoelectrically.
【0082】プレスキャンおよびファインスキャンは、
1コマずつ行ってもよく、全コマまたは所定の複数コマ
ずつ、連続的にプレスキャンおよびファインスキャンを
行ってもよい。以下の例では、説明を簡略にし、作用を
明瞭にするために、1コマずつプレスキャンおよびファ
インスキャンを行う場合を例に説明する。Pre-scan and fine scan are
The prescan and the fine scan may be performed one frame at a time, or continuously for all frames or for a plurality of predetermined frames. In the following example, in order to simplify the description and clarify the operation, a case where pre-scan and fine scan are performed frame by frame will be described as an example.
【0083】プレスキャンによるイメージセンサ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
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.
【0084】プレスキャンメモリ50にプレスキャンデ
ータが記憶されると、条件設定部54のセットアップ部
62がこれを読み出し、画像の濃度ヒストグラムの作
成、ハイライトやシャドー等の画像特徴量の算出等を行
い、そのコマのファインスキャンの読取条件を設定して
スキャナ12に供給する。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 prepares a density histogram of the image and calculates image features such as highlights and shadows. Then, the reading conditions of the fine scan of the frame are set and supplied to the scanner 12.
【0085】セットアップ部62は、さらに、濃度ヒス
トグラムや算出した画像特徴量、あるいはさらに、必要
に応じて行われるオペレータの指示に応じて、第1LU
T76におけるLUT、第2LUTにおける圧縮LUT
(もしくは伸張LUT 以下省略)等、その画像(コ
マ)に対するプレスキャン処理部56およびファインス
キャン処理部58における画像処理条件を設定し、パラ
メータ統合部66に供給する。パラメータ統合部66
は、受け取った画像処理条件をプレスキャン処理部56
およびファインスキャン処理部58の所定部位に設定す
る。なお、第2LUTにおける圧縮LUTは、選択部6
2aが、記憶している複数の基本圧縮LUT(もしくは
基本伸張LUT 以下省略)から、原稿種、原稿サイ
ズ、画像解析結果、およびオペレータによる指示の1以
上のパラメータに応じて基本圧縮LUTを選択し、セッ
トアップ部62が、この基本圧縮LUTを用いて画像解
析に応じて作成するのは、前述のとおりである。The set-up section 62 further receives the first LU in response to the density histogram, the calculated image feature quantity, or the operator's instruction given as necessary.
LUT in T76, compressed LUT in second LUT
The image processing conditions for the image (frame) in the prescan processing unit 56 and the fine scan processing unit 58 are set, and the image processing conditions are supplied to the parameter integration unit 66. Parameter integration unit 66
The pre-scan processing unit 56
And it is set to a predetermined part of the fine scan processing unit 58. The compression LUT in the second LUT is selected by the selection unit 6
2a selects a basic compression LUT from a plurality of stored basic compression LUTs (or a basic decompression LUT), according to one or more parameters of a document type, a document size, an image analysis result, and an instruction from an operator. The setup unit 62 creates the basic compressed LUT according to the image analysis as described above.
【0086】画像処理条件が設定されると、ディスプレ
イ20が検定画面となり、プレスキャン処理部56がプ
レスキャンメモリ50からプレスキャンデータを読み出
し、画像処理部68において、画像データが対応する画
像処理条件で処理され、プレスキャンデータを再生した
画像(プレスキャン画像)が、シュミレーション画像
(仕上がり予想画像)としてディスプレイ20に表示さ
れる。When the image processing conditions are set, the display 20 becomes a verification screen, the prescan processing section 56 reads out the prescan data from the prescan memory 50, and the image processing section 68 displays the image processing conditions corresponding to the image data. , And an image obtained by reproducing the pre-scan data (pre-scan image) is displayed on the display 20 as a simulation image (finished expected image).
【0087】次いで、オペレータは、シミュレーション
画像を見て検定を行い、必要に応じて、キーボード18
aの調整キー等を用いて色、濃度、階調等を調整する。
この調整の入力は、キー調整部64に送られ、キー調整
部64は調整入力に応じた画像処理条件の調整量を算出
し、これをパラメータ統合部66に送る。パラメータ統
合部66は、送られた調整量に応じて、プレスキャン処
理部56およびファインスキャン処理部58に設定した
画像処理条件を補正し、また、前記調整を行う補正条件
を算出して両処理部の所定位置に設定する。従って、こ
の補正すなわちオペレータによる調整入力に応じて、デ
ィスプレイ20に表示される画像も変化する。Next, the operator performs verification by looking at the simulation image, and, if necessary,
The color, density, gradation, etc. are adjusted using the adjustment key a or 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 corrects the image processing conditions set in the prescan processing unit 56 and the fine scan processing unit 58 according to the sent adjustment amount, and calculates the correction conditions for performing the adjustment to perform both processing. Set at a predetermined position of the unit. Therefore, the image displayed on the display 20 also changes according to the correction, that is, the adjustment input by the operator.
【0088】オペレータは、画像が適正(検定OK)と
判断すると、出力指示を出す。これに応じて、画像処理
条件が確定し、ファインスキャンが開始される。なお、
検定を行わない場合には、パラメータ設定部66によっ
て画像処理条件が設定された時点で画像処理条件が確定
し、ファインスキャンが開始される。ファインスキャン
は、イメージセンサ34の蓄積時間や可変絞り24の絞
り値が異なる以外は、プレスキャンと同様に行われ、イ
メージセンサ34からの出力信号はアンプ36で増幅さ
れて、A/D変換器38でデジタル信号とされ、処理装
置14のデータ処理部46で処理されて、Log変換器
48でファインスキャンデータとされ、ファインスキャ
ンメモリ52に送られる。次いで、ファインスキャン処
理部58によってファインスキャンメモリ52からファ
インスキャンデータが読み出され、画像処理部72にお
いて確定した画像処理条件で画像処理され、さらに、画
像データ変換部74で変換されてプリンタ16による画
像記録に対応する出力用の画像データとされ、プリンタ
16に出力され、プリントが作成される。When the operator determines that the image is appropriate (test OK), the operator issues an output instruction. In response, the image processing conditions are determined, and fine scan is started. In addition,
When 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 fine scan is started. The fine 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, and the output signal from the image sensor 34 is amplified by the amplifier 36, and the A / D converter The digital signal is converted into a digital signal by 38, processed by the data processing section 46 of the processing device 14, converted into fine scan data by the Log converter 48, and sent to the fine scan memory 52. Next, the fine scan data is read from the fine scan memory 52 by the fine scan processing unit 58, image-processed under the image processing conditions determined by the image processing unit 72, further converted by the image data conversion unit 74, and processed by the printer 16. The image data is output as image data corresponding to image recording, output to the printer 16, and printed.
【0089】以上、本発明の画像処理方法および装置に
ついて種々の実施例を挙げて詳細に説明したが、本発明
は上記実施例に限定はされず、本発明の要旨を逸脱しな
い範囲において、各種の改良および変更を行ってもよい
のはもちろんである。Although the image processing method and apparatus of the present invention have been described in detail with reference to various embodiments, the present invention is not limited to the above-described embodiments, and various modifications may be made without departing from the spirit of the present invention. It goes without saying that improvements and changes may be made.
【0090】[0090]
【発明の効果】以上、詳細に説明したように、本発明に
よれば、逆光シーンやフラッシュ撮影シーンにおける、
明部のとびや暗部のつぶれを大幅に低減できる優れた特
性を有する覆い焼き処理を、従来に比して、より短い処
理時間で行うことができ、例えば、デジタルフォトプリ
ンタ等におけるプリント作成の生産性を好適に向上する
ことができる。As described in detail above, according to the present invention, in a backlight scene or a flash shooting scene,
The dodging process, which has excellent characteristics that can significantly reduce the jumping of bright areas and the crushing of dark areas, can be performed in a shorter processing time than in the past. Properties can be suitably improved.
【図1】 本発明の画像処理方法および装置を利用する
デジタルフォトプリンタの一実施例のブロック図であ
る。FIG. 1 is a block diagram of an embodiment of a digital photo printer using an image processing method and apparatus of the present invention.
【図2】 図1に示されるデジタルフォトプリンタの画
像処理装置の一実施例のブロック図である。FIG. 2 is a block diagram of an embodiment of the image processing apparatus of the digital photo printer shown in FIG.
【図3】 図2に示される画像処理装置の画像処理部の
一実施例のブロック図である。FIG. 3 is a block diagram of an embodiment of an image processing unit of the image processing apparatus shown in FIG. 2;
【図4】 濃度ヒストグラムの一例である。FIG. 4 is an example of a density histogram.
【図5】 (A),(B)および(C)は、それぞれ基
本圧縮LUTの一例を示す図である。FIGS. 5A, 5B, and 5C are diagrams each showing an example of a basic compression LUT.
【図6】 (A),(B),(C)および(D)は、そ
れぞれ基本圧縮LUTの別の例を示す図である。FIGS. 6A, 6B, 6C and 6D are diagrams each showing another example of a basic compression LUT.
【図7】 (A)および(B)は、それぞれ、基本圧縮
LUTにかかる係数を決定するためのLUTの一例を示
す図である。FIGS. 7A and 7B are diagrams illustrating examples of an LUT for determining a coefficient applied to a basic compression LUT.
【図8】 (A)および(B)は、それぞれ、基本圧縮
LUTにかかる係数を決定するためのLUTの別の例を
示す図である。FIGS. 8A and 8B are diagrams each showing another example of an LUT for determining a coefficient applied to a basic compression LUT.
【図9】 濃度の累積ヒストグラムの一例である。FIG. 9 is an example of a cumulative histogram of density.
【図10】 (A),(B)および(C)は、それぞれ
基本伸張LUTの一例である。FIGS. 10A, 10B, and 10C are examples of a basic decompression LUT, respectively.
【図11】 基本伸張LUTにかかる係数を決定するた
めのLUTの一例を示す図である。FIG. 11 is a diagram showing an example of an LUT for determining a coefficient for a basic decompression LUT.
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 ファインスキャン処理部 62 セットアップ部 62a 選択部 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 Finescan (frame) memory 54 Condition setting unit 56 Prescan processing unit 58 Finescan processing unit 62 Setup unit 62a Selection 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 (15)
特性を設定しておき、この複数の基本圧縮特性もしくは
基本伸張特性から1以上の基本圧縮特性もしくは基本伸
張特性を選択し、選択された1以上の基本圧縮特性もし
くは基本伸張特性を用いて画像情報の階調を圧縮もしく
は伸張することを特徴とする画像処理方法。A plurality of basic compression characteristics or basic expansion characteristics are set in advance, and one or more basic compression characteristics or basic expansion characteristics are selected from the plurality of basic compression characteristics or basic expansion characteristics. An image processing method characterized by compressing or expanding the gradation of image information using the above basic compression characteristics or basic expansion characteristics.
特性は、原稿種、原稿サイズおよび前記画像情報の解析
結果の少なくとも1つに応じて予め設定されている請求
項1に記載の画像処理方法。2. The image processing method according to claim 1, wherein the plurality of basic compression characteristics or basic expansion characteristics are set in advance according to at least one of a document type, a document size, and an analysis result of the image information. .
基本伸張特性は、原稿種、原稿サイズおよび前記画像情
報の解析結果の少なくとも1つに応じて選択される請求
項1または2に記載の画像処理方法。3. The method according to claim 1, wherein the one or more basic compression characteristics or the plurality of basic expansion characteristics are selected according to at least one of a document type, a document size, and a result of analyzing the image information. Image processing method.
ーサルフィルムおよび白黒フィルムであり、前記原稿サ
イズは、135サイズ、240サイズおよび120/2
20サイズである請求項2または3に記載の画像処理方
法。4. The original type is a negative film, a reversal film or a black and white film, and the original size is 135 size, 240 size and 120/2.
4. The image processing method according to claim 2, wherein the image processing method has a size of 20.
基本伸張特性は、マニュアル操作で選択される請求項1
または2に記載の画像処理方法。5. The method according to claim 1, wherein the one or more basic compression characteristics or the plurality of basic expansion characteristics are manually selected.
Or the image processing method according to 2.
は、パラメータまたはルックアップテーブルとして与え
られる請求項1〜5のいずれかに記載の画像処理方法。6. The image processing method according to claim 1, wherein said basic compression characteristic or basic expansion characteristic is given as a parameter or a look-up table.
方法であって、 さらに、前記画像情報を解析する工程を有し、 前記選択された1以上の基本圧縮特性もしくは基本伸張
特性を用いて前記画像情報の階調を圧縮もしくは伸張す
る工程は、前記解析結果に応じて、前記選択された1以
上の基本圧縮特性もしくは基本伸張特性を用いて前記画
像情報の階調を圧縮もしくは伸張する処理条件を設定
し、設定された処理条件に応じて前記画像情報を処理す
ることであることを特徴とする画像処理方法。7. The image processing method according to claim 1, further comprising a step of analyzing the image information, wherein the at least one selected basic compression characteristic or basic expansion characteristic is selected. Compressing or expanding the gradation of the image information by using the one or more selected basic compression characteristics or basic expansion characteristics according to the analysis result. An image processing method, comprising: setting processing conditions for decompression; and processing the image information according to the set processing conditions.
くは基本伸張特性を用いて前記画像情報の階調を圧縮も
しくは伸張する工程は、マニュアル操作で、前記選択さ
れた1以上の基本圧縮特性もしくは基本伸張特性を用い
て前記画像情報の階調を圧縮もしくは伸張する処理条件
を設定し、設定された処理条件に応じて前記画像情報を
処理することである請求項1〜6のいずれかに記載の画
像処理方法。8. The step of compressing or expanding the gradation of the image information by using the one or more selected basic compression characteristics or the basic expansion characteristics is performed by a manual operation. Alternatively, a processing condition for compressing or expanding the gradation of the image information is set using a basic expansion characteristic, and the image information is processed according to the set processing condition. The image processing method described in the above.
して設定される請求項7または8に記載の画像処理方
法。9. The image processing method according to claim 7, wherein the processing condition is set as a look-up table.
基本伸張特性を設定しておき、この複数の基本圧縮特性
もしくは複数の基本伸張特性から1以上の基本圧縮特性
もしくは1以上の基本伸張特性を選択すると共に、画像
情報を解析して、この解析結果に応じて、選択された1
以上の基本圧縮特性もしくは1以上の基本伸張特性を用
いて前記画像情報の階調を圧縮もしくは伸張する処理条
件を設定し、設定された処理条件に応じて、前記画像情
報を処理することを特徴とする画像処理方法。10. A plurality of basic compression characteristics or a plurality of basic expansion characteristics are set in advance, and one or more basic compression characteristics or one or more basic expansion characteristics are determined from the plurality of basic compression characteristics or the plurality of basic expansion characteristics. At the same time, the image information is analyzed and the selected one is selected according to the analysis result.
A processing condition for compressing or expanding the gradation of the image information is set using the above basic compression characteristics or one or more basic expansion characteristics, and the image information is processed according to the set processing conditions. Image processing method.
基本伸張特性を設定しておき、この複数の基本圧縮特性
もしくは複数の基本伸張特性から1以上の基本圧縮特性
もしくは1以上の基本伸張特性を選択し、マニュアル操
作で、選択された1以上の基本圧縮特性もしくは1以上
の基本伸張特性を用いて前記画像情報の階調を圧縮もし
くは伸張する処理条件を設定し、設定された処理条件に
応じて、前記画像情報を処理することを特徴とする画像
処理方法。11. A plurality of basic compression characteristics or a plurality of basic expansion characteristics are set in advance, and one or more basic compression characteristics or one or more basic expansion characteristics are determined from the plurality of basic compression characteristics or the plurality of basic expansion characteristics. The user selects and manually sets processing conditions for compressing or expanding the gradation of the image information using one or more selected basic compression characteristics or one or more basic expansion characteristics, and according to the set processing conditions. And processing the image information.
の階調の圧縮もしくは伸張に用いられる、予め設定され
た複数の基本圧縮特性もしくは基本伸張特性から1以上
の基本圧縮特性もしくは基本伸張特性を選択する選択手
段と、 この選択手段によって選択された1以上の基本圧縮特性
もしくは基本伸張特性を用いて画像情報の階調を圧縮も
しくは伸張する画像処理手段とを有することを特徴とす
る画像処理装置。12. A method of compressing or expanding gradation of image information supplied from an image information supply source, wherein one or more basic compression characteristics or basic expansion characteristics from a plurality of preset basic compression characteristics or basic expansion characteristics. And an image processing means for compressing or expanding the gradation of image information using one or more basic compression characteristics or basic expansion characteristics selected by the selection means. apparatus.
て、 さらに、画像情報を解析し、この解析結果に応じて、こ
の画像情報の階調を圧縮もしくは伸張する処理条件を、
前記選択手段によって選択された1以上の基本圧縮特性
もしくは基本伸張特性を用いて設定する設定部を有し、 前記画像処理手段は、この設定部によって設定された処
理条件に応じて前記画像情報を処理することを特徴とす
る画像処理装置。13. An image processing apparatus according to claim 12, further comprising: analyzing image information; and, according to a result of the analysis, processing conditions for compressing or expanding the gradation of the image information,
A setting unit configured to set using one or more basic compression characteristics or basic expansion characteristics selected by the selection unit, wherein the image processing unit sets the image information in accordance with a processing condition set by the setting unit; An image processing apparatus for performing processing.
て、 さらに、マニュアル操作で、前記画像情報の階調を圧縮
もしくは伸張する処理条件を、前記選択手段によって前
記選択された1以上の基本圧縮特性もしくは基本伸張特
性を用いて設定する設定部を有し、 前記画像処理手段は、この設定部によって設定された処
理条件に応じて前記画像情報を処理することを特徴とす
る画像処理装置。14. The image processing apparatus according to claim 12, further comprising: manually setting a processing condition for compressing or expanding the gradation of the image information to one or more of the one or more selected conditions by the selection unit. An image processing apparatus having a setting unit for setting using a basic compression characteristic or a basic decompression characteristic, wherein the image processing unit processes the image information according to processing conditions set by the setting unit; .
像の原稿種、画像情報源となった画像のサイズ、および
前記画像情報の解析結果の少なくとも1つに応じて、前
記1以上の基本圧縮特性もしくは基本伸張特性の選択を
行う請求項12〜14のいずれかに記載の画像処理装
置。15. The image processing apparatus according to claim 1, wherein the selecting unit is configured to determine the one or more of the at least one of: The image processing apparatus according to claim 12, wherein selection of a basic compression characteristic or a basic expansion characteristic is performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000387257A JP2001245153A (en) | 1999-12-20 | 2000-12-20 | Image processing method and apparatus |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11-360906 | 1999-12-20 | ||
| JP36090699 | 1999-12-20 | ||
| JP2000387257A JP2001245153A (en) | 1999-12-20 | 2000-12-20 | Image processing method and apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001245153A true JP2001245153A (en) | 2001-09-07 |
Family
ID=26581168
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000387257A Withdrawn JP2001245153A (en) | 1999-12-20 | 2000-12-20 | Image processing method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001245153A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006254374A (en) * | 2005-03-14 | 2006-09-21 | Fuji Photo Film Co Ltd | Image processing apparatus, image processing method and program thereof |
| JP2008117305A (en) * | 2006-11-07 | 2008-05-22 | Olympus Corp | Image processor |
| US7469072B2 (en) | 2003-07-18 | 2008-12-23 | Canon Kabushiki Kaisha | Image processing apparatus and method |
| JP2016158279A (en) * | 2011-05-11 | 2016-09-01 | アイキューブド研究所株式会社 | Image processor, image processing method, and program |
-
2000
- 2000-12-20 JP JP2000387257A patent/JP2001245153A/en not_active Withdrawn
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7469072B2 (en) | 2003-07-18 | 2008-12-23 | Canon Kabushiki Kaisha | Image processing apparatus and method |
| US7650045B2 (en) | 2003-07-18 | 2010-01-19 | Canon Kabushiki Kaisha | Image processing apparatus and method |
| JP2006254374A (en) * | 2005-03-14 | 2006-09-21 | Fuji Photo Film Co Ltd | Image processing apparatus, image processing method and program thereof |
| JP2008117305A (en) * | 2006-11-07 | 2008-05-22 | Olympus Corp | Image processor |
| JP2016158279A (en) * | 2011-05-11 | 2016-09-01 | アイキューブド研究所株式会社 | Image processor, image processing method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4081219B2 (en) | Image processing method and image processing apparatus | |
| US7076119B2 (en) | Method, apparatus, and program for image processing | |
| JP3584389B2 (en) | Image processing method and image processing apparatus | |
| JPH11355591A (en) | Picture processing method | |
| JP3696345B2 (en) | Image processing method and apparatus | |
| JP3913356B2 (en) | Image processing method | |
| US6459500B1 (en) | Image processing apparatus | |
| US7515181B2 (en) | Method, apparatus, and program for image processing on image data that have already been subjected to image processing | |
| JP2000156785A (en) | Image processing method and image processor | |
| JPH11191871A (en) | Image processor | |
| JP3408770B2 (en) | Image processing device | |
| JP3823865B2 (en) | Image processing method, image processing program, and recording medium on which image processing program is recorded | |
| JP2001222710A (en) | Device and method for image processing | |
| JP2001245153A (en) | Image processing method and apparatus | |
| US20020012126A1 (en) | Image processing method and apparatus | |
| JP3939428B2 (en) | Image processing method and apparatus | |
| JPH1013680A (en) | Image processing method and image processor | |
| US6700685B1 (en) | Image processing apparatus | |
| JPH1153535A (en) | Method and device for image reproduction | |
| JPH1153535A5 (en) | ||
| JP2000134498A (en) | Image processing method and unit | |
| JP2000057336A (en) | Method and device for processing image | |
| JP4091220B2 (en) | Image processing method and apparatus, and recording medium | |
| JPH11353477A (en) | Image processor, image processing method and recording medium recorded with software to execute the method | |
| JPH11341275A (en) | Image processor |
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: 20080304 |