JPH11331543A - Image processing method and device therefor - Google Patents

Image processing method and device therefor

Info

Publication number
JPH11331543A
JPH11331543A JP13900398A JP13900398A JPH11331543A JP H11331543 A JPH11331543 A JP H11331543A JP 13900398 A JP13900398 A JP 13900398A JP 13900398 A JP13900398 A JP 13900398A JP H11331543 A JPH11331543 A JP H11331543A
Authority
JP
Japan
Prior art keywords
correction
image
aberration
image data
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP13900398A
Other languages
Japanese (ja)
Other versions
JP3631370B2 (en
Inventor
Atsushi Enomoto
淳 榎本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP13900398A priority Critical patent/JP3631370B2/en
Priority to US09/315,036 priority patent/US6747757B1/en
Publication of JPH11331543A publication Critical patent/JPH11331543A/en
Application granted granted Critical
Publication of JP3631370B2 publication Critical patent/JP3631370B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To correct the aberration including the magnification color aberration, distortion aberration, etc., even when the lens characteristic cannot the acquired by setting the aberration correction level at its initial value to give the aberration correction processing to the input image data, designating the correction level in plural steps and correcting the aberration of the input image data. SOLUTION: A scanner 12 of a digital photoprinter 10 reads photoelectrically a photographed image, and an image processor 14 processes the read image data and performs the total operation, control, etc., of the photoprinter 10. A printer 16 exposes the image to a sensitive material by means of the light beam that is modulated according to the image data outputted from the processor 14 and develops the sensitive material to output it as a print. The processor 14 also has a monitor 20 which is used by an operator to designate a correction level based on the read image and also displays various operating instructions, the set/registered screens of various conditions, etc.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フィルムに撮影さ
れた画像を光電的に読み取り、この画像が再現されたプ
リント(写真)を得るデジタルフォトプリンタ等におい
て、レンズ付フィルムや安価なコンパクトカメラ等で撮
影された画像で発生する倍率色収差や歪曲収差を補正す
る画像処理方法および画像処理装置の技術分野に属す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital photo printer or the like for obtaining a print (photograph) of an image photographed on a film photoelectrically and reproducing the image. The present invention belongs to the technical field of an image processing method and an image processing apparatus for correcting chromatic aberration of magnification and distortion generated in an image photographed in the above.

【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. This is performed by so-called direct exposure (analog exposure) that exposes a material surface.

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

【0004】デジタルフォトプリンタでは、画像をデジ
タルの画像データとして、画像データ処理によって焼付
時の露光条件を決定することができるので、逆光やスト
ロボ撮影等に起因する画像の飛びやツブレの補正、シャ
ープネス(鮮鋭化)処理、周辺光量不足の補正等を好適
に行って、従来の直接露光では得られなかった高品位な
プリントを得ることができる。ところが、フィルムに撮
影記録された画像に歪みが生じている場合、前記の補正
を行ってプリント出力画像の画質を向上することができ
ない場合がある。この画像の歪みの原因として、画像を
撮影したカメラに装着されるレンズの性能に起因する倍
率色収差および歪曲収差が挙げられる。
In a digital photo printer, exposure conditions at the time of printing can be determined by image data processing using an image as digital image data, so that image skipping and blurring caused by backlight, strobe photography, and the like can be corrected, and sharpness can be reduced. (Sharpening) processing, correction of insufficient peripheral light amount, etc. are suitably performed, and a high-quality print that cannot be obtained by conventional direct exposure can be obtained. However, when the image photographed and recorded on the film is distorted, it may not be possible to improve the image quality of the print output image by performing the above-described correction. Causes of this image distortion include chromatic aberration of magnification and distortion due to the performance of a lens attached to a camera that has captured the image.

【0005】カラー画像は、赤(R)、緑(G)および
青(B)の3原色によって形成されるが、レンズの屈折
率(結像倍率)は波長によって微妙に異なるため、R、
GおよびBの光の結像倍率が異り、すなわち倍率色収差
が生じる。その結果、フィルムに撮影された画像を再生
すると、得られた画像に色ずれが生じてしまう。また、
良好な撮影画像を得るためには、光軸に対して垂直な平
面は、結像面でそれに対応して結像される必要がある
が、通常のレンズでは、結像位置が光軸方向にずれを生
じ、結像画像に歪(ディストーション)すなわち歪曲収
差を生じる。そのため、フィルムに撮影された画像を再
生すると、得られた画像が歪んだものとなってしまう。
[0005] A color image is formed by three primary colors of red (R), green (G) and blue (B). Since the refractive index (imaging magnification) of a lens slightly differs depending on the wavelength, R, R
The imaging magnifications of the G and B lights are different, that is, lateral chromatic aberration occurs. As a result, when an image captured on a film is reproduced, a color shift occurs in the obtained image. Also,
In order to obtain a good captured image, a plane perpendicular to the optical axis needs to be imaged correspondingly on the image plane, but with a normal lens, the image position is shifted in the optical axis direction. Displacement occurs, causing distortion (distortion) in the formed image. Therefore, when an image captured on film is reproduced, the obtained image is distorted.

【0006】一眼レフ等の様にある程度のコストを掛け
られるカメラであれば、精度の高いレンズを用い、さら
に複数枚のレンズを組み合わせることにより、倍率色収
差や歪曲収差等の各種の収差を補正してフィルムに適正
画像を撮影することができる。しかしながら、レンズ付
フィルムやコンパクトカメラ等ではレンズにコストを掛
けることができないため、フィルムに撮影された画像に
倍率色収差、歪曲収差が生じてしまう。その結果、プリ
ントとして再生された画像が歪を有するものとなってし
まう。
A camera such as a single-lens reflex camera, which can afford a certain amount of cost, uses a high-precision lens and combines a plurality of lenses to correct various aberrations such as chromatic aberration of magnification and distortion. To shoot a proper image on film. However, a lens-equipped film, a compact camera, or the like cannot add cost to the lens, so that chromatic aberration of magnification and distortion occur in an image photographed on the film. As a result, an image reproduced as a print has distortion.

【0007】このようなプリント出力画像の画質を向上
することができない画質の劣化の問題に対して、レンズ
情報取得手段を介して得られるレンズの収差特性に応じ
て画像の収差の補正を行う画像処理方法や画像処理装置
に関する技術が、特開平6ー311425号公報およ
び、特開平9ー281613号公報(特願平8ー928
04号)に開示されている。これらの技術によって、レ
ンズに起因した収差を補正することができ、画像周辺部
の画質の劣化の低下を防ぎ、常に高品質の画像を得るこ
とができると指摘されている。
[0007] In order to solve the problem of image quality deterioration that cannot improve the image quality of a print output image, an image whose image aberration is corrected in accordance with the aberration characteristic of the lens obtained through the lens information obtaining means. Japanese Patent Application Laid-Open Nos. 6-311425 and 9-281613 (Japanese Patent Application No. 8-928)
No. 04). It is pointed out that these techniques can correct aberrations caused by the lens, prevent deterioration of image quality in the peripheral portion of the image, and always obtain a high-quality image.

【0008】[0008]

【発明が解決しようとする課題】しかし、予め撮影レン
ズに関する情報が得られない場合や撮影レンズの収差特
性が得られない場合、撮影レンズに起因する歪曲収差や
倍率色収差の補正を上記技術で解決することはできず、
画質の劣化を防ぐことはできない。また、レンズの収差
特性を得、補正関数や補正式に基づいて歪みのない高画
質な画像を得たとしても、歪曲収差の補正を行うこと
で、図1に示す矩形画像2はレンズの収差特性に応じ
て、糸巻型の画像4aまたは樽型の画像4bとなる。こ
のように、矩形画像が糸巻型4aまたは樽型4bの画像
となるため、出力プリントとして所定の矩形画像を出力
するには、糸巻型4a内の領域6aまたは外側領域8
a、また、樽型4b内の領域6bまたは外側領域8bを
出力する必要がある。しかし、領域8aまたは8bは出
力プリントされる画像内に画像のない斜線領域、いわゆ
る画像のけられが発生するため出力するプリント画像と
して好ましくない。そこで、領域6aや6bの領域を所
望のプリントサイズに拡大し、プリント画像として出力
するのが好ましい。
However, when information about the taking lens is not obtained in advance or when the aberration characteristic of the taking lens is not obtained, the correction of distortion and chromatic aberration of magnification caused by the taking lens is solved by the above-mentioned technology. Can not do,
Image quality degradation cannot be prevented. Further, even if the aberration characteristic of the lens is obtained and a high-quality image without distortion is obtained based on the correction function or the correction formula, the rectangular image 2 shown in FIG. Depending on the characteristics, the image becomes a pin-shaped image 4a or a barrel-shaped image 4b. As described above, since the rectangular image is an image of the pin type 4a or the barrel type 4b, in order to output a predetermined rectangular image as an output print, the area 6a or the outside area 8 in the pin type 4a.
a, it is necessary to output the area 6b or the outer area 8b in the barrel 4b. However, the area 8a or 8b is not preferable as a print image to be output because a hatched area where there is no image in the output print image, that is, so-called image blurring occurs. Therefore, it is preferable that the area of the areas 6a and 6b be enlarged to a desired print size and output as a print image.

【0009】しかし、本来の撮影された画像は領域4a
または4bの範囲内であるにも係わらず領域6aまたは
領域6bをプリント出力するため、撮影したにも係わら
ずプリント出力されない領域、すなわち画欠け、いわゆ
る画像のけられが存在する。とくに、その領域に重要な
画像情報、例えば人物などの主要被写体が撮影されてい
る場合、プリント出力されず、また、人物写真の場合、
頭部が切れる場合も多い。レンズの収差が大きな安価な
コンパクトカメラ等で撮影された場合、歪曲収差の補正
量は大きいため、撮影したにも係わらずプリント出力さ
れない領域が大きく、画像情報が十分にプリント出力さ
れない場合が多くなる。
However, the original photographed image is in the area 4a.
Alternatively, since the area 6a or the area 6b is printed out in spite of being within the range of 4b, there is an area which is not printed out even though the image is taken, that is, there is a missing image, that is, a so-called image blur. In particular, when important image information is captured in the area, for example, a main subject such as a person is not printed out, and in the case of a person photograph,
The head is often cut off. When an image is taken with an inexpensive compact camera or the like in which the lens aberration is large, the amount of distortion aberration correction is large, so that the area that is not printed out despite taking the image is large, and the image information is often not sufficiently printed out. .

【0010】そこで、本発明の目的は、上記従来従来技
術の問題点を解決すべく、レンズ特性を得ることができ
なかった場合でも、倍率色収差や歪曲収差等の収差の補
正が可能であり、さらに主要被写体などの重要な画像情
報が必ずプリント出力されるように、画像のけられを考
慮して適切な収差の補正処理を施すことのできる画像処
理方法および画像処理装置を提供することにある。
Accordingly, an object of the present invention is to solve the above-mentioned problems of the prior art, and to correct aberrations such as chromatic aberration of magnification and distortion even when lens characteristics cannot be obtained. It is still another object of the present invention to provide an image processing method and an image processing apparatus capable of performing appropriate aberration correction processing in consideration of image blur so that important image information such as a main subject is always printed out. .

【0011】[0011]

【課題を解決するための手段】前記目的を達成するため
に、本発明第1の態様は、撮影レンズを用いて光学的に
撮影された画像から入力画像データを得、この入力画像
データに対して前記画像の位置情報を用いて、倍率色収
差および歪曲収差の少なくとも一つの収差を補正するに
際し、始めに、前記収差の補正レベルを初期値に設定し
て、前記入力画像データに前記収差の補正処理を施した
後に、この収差補正結果をモニタに表示し、前記補正レ
ベルを前記初期値に対して複数段階で指定可能にしてお
き、前記補正レベルを前記複数段階の一つを指定する毎
に、指定された段階の補正レベルに応じて再び前記入力
画像データに対して前記収差の補正処理を行ない、その
収差補正結果をモニタに表示することを特徴とする画像
処理方法を提供するものである。
In order to achieve the above object, a first aspect of the present invention is to obtain input image data from an image optically photographed by using a photographing lens, and When correcting at least one of chromatic aberration of magnification and distortion using the position information of the image, first, the correction level of the aberration is set to an initial value, and the correction of the aberration is performed on the input image data. After performing the processing, the aberration correction result is displayed on a monitor, and the correction level can be specified in a plurality of steps with respect to the initial value. Each time the correction level is specified in one of the plurality of steps, And performing an aberration correction process on the input image data again according to a correction level at a designated stage, and displaying a result of the aberration correction on a monitor. It is intended.

【0012】その際、前記初期値は、デフォルト値であ
り、前記補正レベルの指定は、このデフォルト値、また
は前記画像に応じた収差パターンに応じて予め設定され
た前記倍率色収差および前記歪曲収差の補正関数の少な
くとも一つの収差の補正関数の補正係数を前記デフォル
ト値に対して複数用意しておき、これらの複数の補正係
数の一つを指定することが好ましく、また、前記初期値
は、前記画像の画素位置情報と前記撮影レンズのレンズ
特性によって自動的に定まる補正値、あるいは、オペレ
ータの指示によって定まる補正値であり、前記補正レベ
ルの指定は、前記撮影レンズのレンズ特性に応じて、あ
るいは、オペレータの指示によって設定される前記倍率
色収差および前記歪曲収差の補正関数の少なくとも一つ
の収差の補正関数の補正係数を前記補正値に対して複数
用意しておき、これらの複数の補正係数の一つを指定す
ることが好ましい。
At this time, the initial value is a default value, and the correction level is specified by the default value or the magnification chromatic aberration and the distortion aberration preset according to an aberration pattern corresponding to the image. Preferably, a plurality of correction coefficients of at least one aberration correction function of the correction function are prepared for the default value, and one of the plurality of correction coefficients is specified, and the initial value is A correction value automatically determined by the pixel position information of the image and the lens characteristics of the photographic lens, or a correction value determined by an operator's instruction, and the specification of the correction level is performed according to the lens characteristics of the photographic lens, or A correction function for at least one of the magnification chromatic aberration and the distortion aberration correction function set by an operator's instruction Leave prepare a plurality of correction coefficients to the correction value, it is preferable to specify one of the plurality of correction factors.

【0013】さらに、前記倍率色収差および歪曲色収差
の少なくとも一つの収差の補正は、前記画像の第一の方
向およびこの第一の方向と直交する第二の方向の少なく
とも一方について行われることが好ましく、指定された
前記補正レベルに応じて前記収差が補正処理され、前記
モニタに表示された前記補正結果は、取り消され、前記
補正レベルが初期値である収差補正結果の状態の画像デ
ータまたは前記収差補正前の状態の前記入力画像データ
に戻されることが好ましい。また、指定された前記補正
レベルに応じて前記収差補正の結果生じるプリントでき
ない量を算出し、プリント有効エリアを前記収差補正画
像とともに前記モニタに表示することが好ましい。
Preferably, the correction of at least one of the lateral chromatic aberration and the distortion chromatic aberration is performed in at least one of a first direction of the image and a second direction orthogonal to the first direction. The aberration is corrected in accordance with the specified correction level, the correction result displayed on the monitor is canceled, and the image data or the aberration correction is in the state of the aberration correction result in which the correction level is an initial value. Preferably, the input image data is returned to the previous state. It is preferable that an unprintable amount resulting from the aberration correction is calculated according to the specified correction level, and a print effective area is displayed on the monitor together with the aberration corrected image.

【0014】また、前記倍率色収差および歪曲収差の少
なくとも一方の収差の補正処理に先だって、前記入力画
像データに基づいて前記収差補正処理前の画像を前記モ
ニタ表示し、プリント範囲を指定し、指定されたプリン
ト範囲内で補正レベルを複数段階で変化させた前記収差
の補正処理を行ない、前記収差補正が最大となる補正処
理を行うことが好ましい。
Further, prior to the correction of at least one of the chromatic aberration of magnification and the distortion, the image before the aberration correction is displayed on the monitor based on the input image data, and a print range is designated. It is preferable to perform the aberration correction processing in which the correction level is changed in a plurality of steps within the print range, and perform the correction processing that maximizes the aberration correction.

【0015】本発明第2の態様は、撮影レンズを用いて
光学的に撮影された画像から入力画像データを得、この
入力画像データに対して前記画像の位置情報を用いて、
倍率色収差および歪曲収差の少なくとも一つの収差を補
正するに際し、前記収差の補正が、前記撮影された画像
領域の中からプリント範囲を指定し、指定されたプリン
ト範囲から定まる画像のけられ量から、前記収差の補正
関数の補正係数を算出し、この算出された補正係数と前
記収差の補正関数とを用いて前記収差の補正を行うこと
を特徴とする画像処理方法を提供するものである。
According to a second aspect of the present invention, input image data is obtained from an image optically photographed using a photographing lens, and position information of the image is used for the input image data.
Upon correcting at least one aberration of chromatic aberration of magnification and distortion, the correction of the aberration specifies a print range from the captured image area, from the amount of image shaking determined from the specified print range, An image processing method is provided wherein a correction coefficient of the aberration correction function is calculated, and the aberration is corrected using the calculated correction coefficient and the aberration correction function.

【0016】本発明第3の態様は、撮影レンズを用いて
光学的に撮影された画像から入力画像データを得、この
入力画像データに対して前記画像の位置情報を用いて、
倍率色収差および歪曲収差の少なくとも一つの収差を補
正する画像処理装置であって、前記入力画像データに基
づいて前記収差の補正後の画像を表示する画像表示装置
と、前記収差の補正レベルの初期値を取得する取得手段
と、この取得手段によって取得された前記補正レベルを
複数段階で指定する指定手段と、前記取得手段によって
取得された前記補正レベルの初期値、あるいは前記指定
手段によって指定された補正レベルの段階に応じて、前
記収差を補正する補正手段とを有し、その指定手段が、
前記取得手段によって取得された前記補正レベルの初期
値に応じて、前記補正手段によって前記収差の補正処理
をして、その補正結果を前記画像表示装置に表示した
後、表示された補正画像から前記補正レベルの段階を指
定し、指定された前記補正レベルの段階に応じて前記収
差の補正処理を行ない、その補正結果を画像表示装置に
表示することを特徴とする画像処理装置を提供するもの
である。
According to a third aspect of the present invention, input image data is obtained from an image optically photographed using a photographing lens, and position information of the image is used for the input image data.
An image processing apparatus for correcting at least one of chromatic aberration of magnification and distortion, an image display apparatus for displaying an image after the correction of the aberration based on the input image data, and an initial value of a correction level of the aberration Obtaining means for obtaining the correction level obtained by the obtaining means in a plurality of stages; an initial value of the correction level obtained by the obtaining means; or a correction specified by the specifying means. Correction means for correcting the aberration according to the level of the level, and the designation means,
According to the initial value of the correction level obtained by the obtaining unit, the correction unit performs the aberration correction process, and displays the correction result on the image display device. An image processing apparatus is provided, wherein a stage of a correction level is designated, the aberration is corrected according to the designated stage of the correction level, and the correction result is displayed on an image display device. is there.

【0017】[0017]

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

【0018】図2に、本発明の画像処理方法を実施する
本発明の画像処理装置を利用したデジタルフォトプリン
タの一例のブロック図が示される。図2に示されるデジ
タルフォトプリンタ10は、基本的に、フィルムFに撮
影された画像を光電的に読み取るスキャナ(画像読取装
置)12と、読み取られた画像データ(画像情報)の画
像処理やフォトプリンタ10全体の操作および制御等を
行う画像処理装置14と、画像処理装置14から出力さ
れた出力画像データに応じて変調した光ビームで感光材
料を画像露光し、現像処理して(仕上り)プリントとし
て出力するプリンタ16とを有して構成される。また、
画像処理装置14には、スキャナ12で読み取られた画
像をみてオペレータが補正レベルを指定するために用
い、かつ、各種の操作指示、様々な条件の設定/登録画
面等を表示するモニタ20が含まれ、また補正レベルの
調整をはじめ様々な条件の入力(設定)、処理の選択や
支持、色/濃度補正などの指示等を入力するためのキー
ボード18aおよびマウス18bを有する操作系18が
接続されている。
FIG. 2 is a block diagram showing an example of a digital photo printer using the image processing apparatus of the present invention for implementing the image processing method of the present invention. A digital photo printer 10 shown in FIG. 2 basically includes a scanner (image reading device) 12 that photoelectrically reads an image photographed on a film F, and image processing (photo information) of read image data (image information). An image processing device 14 that performs operations and control of the entire printer 10, and a photosensitive material is image-exposed with a light beam modulated according to output image data output from the image processing device 14, developed, and printed (finished). And a printer 16 that outputs the image data as an image. Also,
The image processing apparatus 14 includes a monitor 20 that is used by an operator to specify a correction level by looking at an image read by the scanner 12 and that displays various operation instructions, setting / registration screens for various conditions, and the like. An operation system 18 having a keyboard 18a and a mouse 18b for inputting (setting) various conditions including adjustment of correction levels, selecting and supporting processing, and inputting instructions such as color / density correction is connected. ing.

【0019】スキャナ12は、フィルムF等に撮影され
た画像を光電的に読み取る装置で、光源22と、可変絞
り24と、フィルムFに入射する読取光をフィルムFの
面方向で均一にする拡散ボックス28と、結像レンズユ
ニット32と、画像を読み取るフォトセンサであるCC
Dセンサ34と、アンプ(増幅器)36とを有し、さら
に、スキャナ12の本体に装着自在な専用のキャリア3
0から構成される。
The scanner 12 is a device that photoelectrically reads an image photographed on the film F or the like. The light source 22, the variable stop 24, and a diffusion device that makes the reading light incident on the film F uniform in the surface direction of the film F. A box 28, an imaging lens unit 32, and a photo sensor CC for reading an image
A dedicated carrier 3 which has a D sensor 34 and an amplifier 36 and is attachable to the main body of the scanner 12.
It consists of 0.

【0020】キャリア30は、例えば24枚取りの13
5サイズのフィルムや新写真システムAPSのカートリ
ッジやレンズ付きフィルム等の、長尺なフィルムに対応
する各種専用のキャリアが用意されており、図3(A)
に模式的に示されるように、所定の読み取り位置にフィ
ルムFを保持しつつ、CCDセンサ34のラインCCD
センサの延在方向(主走査方向)と直行する副走査方向
に、フィルムFの長手方向を一致して搬送する、読み取
り位置を副走査方向に挟んで配置される搬送ローラ対3
0aおよび30bと、フィルムFの投影光を所定のスリ
ット状に規制する、読み取り位置に対応して位置する主
走査方向に延在するスリット29aを有するマスク2
9、更に、磁気読み取り書き込み装置31とを有する。
The carrier 30 is made of, for example,
Various dedicated carriers for long films, such as 5-size films, cartridges of the new photo system APS, and films with lenses, are prepared.
As shown schematically, while holding the film F at a predetermined reading position, the line CCD of the CCD sensor 34
A pair of transport rollers 3 that transports the film F in a sub-scanning direction that is orthogonal to the direction in which the sensor extends (the main scanning direction) and that conveys the film F with the reading position interposed in the sub-scanning direction.
0a and 30b, and a mask 2 having slits 29a extending in the main scanning direction and located in correspondence with the reading position, for regulating projection light of the film F into a predetermined slit shape.
9, and a magnetic read / write device 31.

【0021】CCDセンサ34は、図3(B)に模式的
に示すように、R画像の読み取りを行うラインCCDセ
ンサ34R、G画像の読み取りを行うラインCCDセン
サ34G、B画像の読み取りを行うラインCCDセンサ
34Bを有するラインセンサで、R、G、Bの順で各ラ
インセンサは主走査方向に延在している。フィルムFの
投影光は、このCCDセンサによってR、GおよびBの
3原色に分解されて光電的に読み取られる。
As schematically shown in FIG. 3B, the CCD sensor 34 has a line CCD sensor 34R for reading an R image, a line CCD sensor 34G for reading a G image, and a line for reading a B image. In the line sensor having the CCD sensor 34B, each line sensor extends in the main scanning direction in the order of R, G, and B. The projection light of the film F is separated into three primary colors of R, G and B by this CCD sensor and read photoelectrically.

【0022】スキャナ12における画像のCCDセンサ
34での読み取りは、プリントPを出力するための画像
読み取り(本スキャン)に先立ち、画像処理条件等を決
定するために、画像を低解像度で読み取るプレスキャン
を行ない画像処理条件を決定し、さらにオペレータがモ
ニタ20で調整し確認した後、高解像度で画像を読み取
る本スキャンを行うため、プレスキャンと本スキャンの
2回行われる。プレスキャンにおいては、光源22から
射出され、可変絞り24によって光量調整され拡散ボッ
クス28を通して均一にされた読み取り光が、キャリア
30によって所定の読み取り位置に保持され搬送されて
いるフィルムFに入射して、透過することにより、フィ
ルムFに撮影された画像を担持する投影光を得る。フィ
ルムFの投影光は、結像レンズユニット32によってC
CDセンサ34の受光面に結像され、CCDセンサ34
によって光電的に読み取られ、その出力信号は、アンプ
36で増幅され、入力画像データとして画像処理装置1
4に送られる。この一連の動作は、各撮影コマごとに行
われるのではなく、フィルム一本分を一定速度で連続し
て一気に読み取る。
The reading of the image by the CCD sensor 34 in the scanner 12 is performed by a pre-scan in which the image is read at a low resolution in order to determine image processing conditions and the like prior to image reading (main scan) for outputting the print P. Are performed to determine the image processing conditions, and after the operator makes adjustments and checks on the monitor 20, the main scan for reading the image at high resolution is performed, so that the prescan and the main scan are performed twice. In the pre-scan, the read light emitted from the light source 22, the light amount of which is adjusted by the variable aperture 24 and made uniform through the diffusion box 28 is incident on the film F held and transported at a predetermined reading position by the carrier 30. , The projection light carrying the image captured on the film F is obtained. The projection light of the film F is converted by the imaging lens unit 32 into C light.
An image is formed on the light receiving surface of the CD sensor 34 and the CCD sensor 34
The output signal is photoelectrically read by an amplifier 36, and the output signal is amplified by an amplifier 36, and is input to the image processing apparatus 1 as image data.
4 This series of operations is not performed for each photographing frame, but for one film at a time at a constant speed.

【0023】フィルムFを画像コマの区別なく一定速度
で連続して一気に読み取る際、例えば図4に示す新写真
システムの場合、フィルムFの先端の領域S1や各コマ
G1、G2等の上部および下部の領域S2に焼き付けら
れたバーコードも同時にCCDセンサ34で読み取る。
収差の大きなレンズで撮影されたレンズ付きフィルムで
は、撮影レンズが予め判っているので図4に示す領域S
1に、使用されるレンズのタイプごとにレンズタイプの
認識コードを、フィルムのロットコードの一部分とし
て、潜像焼き付けし、現像後にバーコードがフィルムF
上に表示されるようになっているものもある。これによ
って、画像をスキャナ12で読み込むプレスキャンの
際、画像とともにバーコードを読むことができ、撮影レ
ンズタイプ認識コードを取得することが可能となる。
When reading the film F continuously at a constant speed without discriminating the image frames, for example, in the case of the new photographic system shown in FIG. 4, the upper and lower portions of the top region S1 of the film F and each frame G1, G2, etc. The barcode printed on the area S2 is also read by the CCD sensor 34 at the same time.
In the case of a film with a lens photographed by a lens having a large aberration, the photographing lens is known in advance, so that the region S shown in FIG.
First, a lens type recognition code for each type of lens used is printed as a part of the lot code of the film, and a latent image is printed.
Some are shown above. Thereby, at the time of pre-scanning in which the image is read by the scanner 12, the barcode can be read together with the image, and the photographic lens type recognition code can be obtained.

【0024】また、図4に示す新写真システムAPSの
フィルムでは、フィルムFの裏面(非乳化剤)面に、フ
ィルムFの各コマG1、G2等の上部および下部の領域
S2に磁気記録層が設けられており、磁気記録情報とし
て、撮影レンズ情報や画像撮影時刻を記録することがで
きるが、プレスキャンの際に、図3(A)に示す磁気読
み取り書き込み装置31を用いて、記録された磁気情報
を読み取り、画像処理装置14に送られる。これによっ
て、撮影されたレンズの種類やレンズタイプ認識コード
等の各種の情報を取得することができる。また、カート
リッジ33に装着されたICメモリから撮影されたレン
ズの種類やレンズタイプ認識コード等の各種の情報を取
得することができる。
In the film of the new photographic system APS shown in FIG. 4, a magnetic recording layer is provided in the upper and lower regions S2 of each frame G1, G2, etc. of the film F on the back surface (non-emulsifier) of the film F. The imaging lens information and the image shooting time can be recorded as the magnetic recording information. However, at the time of the pre-scan, the recorded magnetic information is recorded by using the magnetic reading / writing device 31 shown in FIG. The information is read and sent to the image processing device 14. As a result, it is possible to acquire various types of information such as the type of the photographed lens and the lens type recognition code. Further, it is possible to acquire various types of information such as the type of the photographed lens and the lens type recognition code from the IC memory mounted on the cartridge 33.

【0025】本スキャンにおいては、プレスキャンと同
様に、光源22から射出され、可変絞り24によって光
量調整され拡散ボックス28を通して均一にされた読み
取り光が、キャリア30によって所定の読み取り位置に
保持され搬送されているフィルムFに入射して、透過す
ることにより、フィルムFに撮影された画像を担持する
投影光を得る。フィルムFの投影光は、結像レンズユニ
ット32によってCCDセンサ34の受光面に結像さ
れ、CCDセンサ34によって光電的に読み取られ、そ
の出力信号は、アンプ36で増幅され、入力画像データ
として画像処理装置14に送られる。この一連の動作
は、プレスキャンと異なり、後述するプレスキャンの際
得られた各画像コマの中心位置情報に基づいて各撮影コ
マごとに行われる。
In the main scan, similarly to the pre-scan, the reading light emitted from the light source 22, the light amount of which is adjusted by the variable aperture 24 and made uniform through the diffusion box 28 is held at a predetermined reading position by the carrier 30 and conveyed. When the light enters the transmitted film F and is transmitted therethrough, projection light carrying an image photographed on the film F is obtained. The projection light of the film F is imaged on the light receiving surface of the CCD sensor 34 by the imaging lens unit 32, is read photoelectrically by the CCD sensor 34, and its output signal is amplified by the amplifier 36, and the image signal is input as image data. It is sent to the processing device 14. This series of operations is performed for each photographing frame based on the center position information of each image frame obtained at the time of the prescan described later, unlike the prescan.

【0026】画像処理装置14の一実施形態のブロック
図が図5に示される。画像処理装置14は、スキャナ1
2で得られた入力画像データに所定の画像処理を施しプ
リンタに出力するもので、データ処理部38、プレスキ
ャンメモリ40、本スキャンメモリ42、プレスキャン
画像処理部44、本スキャン画像処理部46、条件設定
部48、および補正係数設定部60から構成される。
A block diagram of one embodiment of the image processing device 14 is shown in FIG. The image processing device 14 includes the scanner 1
The data processing unit 38, the pre-scan memory 40, the main scan memory 42, the pre-scan image processing unit 44, and the main scan image processing unit 46 perform predetermined image processing on the input image data obtained in step 2 and output the result to a printer. , A condition setting unit 48, and a correction coefficient setting unit 60.

【0027】データ処理部38では、スキャナ12から
出力されたR,GおよびBの各出力信号は、A/D(ア
ナログ/デジタル)変換、Log変換、DCオフセット
補正、暗時補正、シェーディング補正等を行い、デジタ
ルの入力画像データとされ、プレスキャン(画像)デー
タはプレスキャンメモリ40に、本スキャン(画像)デ
ータは本スキャンメモリ42に、それぞれ記憶(格納)
される。
In the data processing section 38, the R, G and B output signals output from the scanner 12 are converted into A / D (analog / digital), Log, DC offset, dark, shading, etc. The pre-scan (image) data is stored in the pre-scan memory 40, and the main scan (image) data is stored (stored) in the main scan memory 42.
Is done.

【0028】プレスキャンメモリ40および本スキャン
メモリ42には、データ処理部38で処理された入力画
像データが記憶され、必要に応じて、画像処理を施して
出力するために、プレスキャン画像処理部44、また
は、本スキャン画像処理部46に呼び出される。
The pre-scan memory 40 and the main scan memory 42 store the input image data processed by the data processing section 38, and perform a pre-scan image processing section to perform image processing and output as necessary. 44 or the main scan image processing unit 46.

【0029】プレスキャン画像処理部44は、画像処理
部50と画像データ変換部52とからなり、画像処理部
50は、画像データ抽出部49とLUT・MTX演算部
62と画像補正部51と画像処理部53とから構成され
る。
The pre-scan image processing unit 44 includes an image processing unit 50 and an image data conversion unit 52. The image processing unit 50 includes an image data extraction unit 49, an LUT / MTX operation unit 62, an image correction unit 51, And a processing unit 53.

【0030】画像データ抽出部49は、プレスキャン時
に画像とともに同時に取り込んだデータの中から、ロッ
トコードの一部分である撮影レンズタイプ認識コードを
抽出し、認識し、補正係数設定部60に撮影レンズタイ
プ認識コードを送る。また、フィルム1本分のデータか
ら撮影画像を検出し、切り出し、画像の中心位置を算出
し、画像補正部51へ送る。中心位置を算出するのは、
後述する倍率色収差や歪曲収差の補正に用いる補正関数
である補正式が画像の中心位置からの関数で表現されて
いるからである。また、算出されたプレスキャン画像デ
ータの中心位置は、本スキャン画像データとある程度の
精度で対応づけられており、その対応を利用することで
本スキャン画像データの画像データの中心位置を定める
ことができる。なお、ロットコードの一部分である撮影
レンズタイプ認識コードを抽出できないか、また、レン
ズタイプ認識コードを認識できない場合、予め装置自体
にデフォルトとして、あるいはオペレータによって補正
レベルを指定して設定された収差特性の補正関数である
補正式を収差の補正式として採用し、画像補正部51へ
送る。
The image data extracting unit 49 extracts and recognizes a photographing lens type recognition code, which is a part of the lot code, from the data taken simultaneously with the image at the time of the pre-scanning. Send recognition code. Further, a photographed image is detected and cut out from the data of one film, the center position of the image is calculated, and the calculated center position is sent to the image correction unit 51. To calculate the center position,
This is because a correction formula, which is a correction function used for correcting lateral chromatic aberration and distortion, which will be described later, is expressed by a function from the center position of the image. In addition, the calculated center position of the pre-scan image data is associated with the main scan image data with a certain degree of accuracy, and by utilizing the correspondence, the center position of the image data of the main scan image data can be determined. it can. If the photographing lens type recognition code, which is a part of the lot code, cannot be extracted, or if the lens type recognition code cannot be recognized, the aberration characteristic set in advance as a default in the apparatus itself or by specifying a correction level by an operator is set. Is adopted as the aberration correction equation, and is sent to the image correction unit 51.

【0031】LUT・MTX演算部62では、色バラン
ス調整、コントラスト補正、および明るさ補正の画像処
理を行う。画像補正部51では、後述する補正係数設定
部60で定められた撮影レンズ特性に基づいた補正式を
用いて、倍率色収差の補正、歪曲収差の補正、および、
電子変倍処理による画像の拡大縮小を行っている。ま
た、本発明の画像処理方法の特徴とするところの、スキ
ャン画像の収差補正をするために、モニタ20に表示さ
れた画像を見ながら複数段階の補正レベルの一つを指定
して調整された補正式で倍率色収差や歪曲収差の補正処
理をする処理方法を実施している部分であり、また、プ
リント範囲、すなわち、プリント出力領域を指定して、
指定された領域から定まるプリントできない量、すなわ
ち画像のけられ量を算出し、それに基づいて補正式に用
いる補正係数を算出し、この補正係数を用いた補正式で
倍率色収差や歪曲収差の補正処理をする処理方法を実施
している部分である。画像処理部53では、画像補正部
51で画像データの収差の補正や電子変倍処理等を行っ
た後、オペレータの指示に応じてシャープネス処理や覆
い焼き処理等を行う。画像データ変換部52では、画像
処理部50で画像処理の施された画像データを、モニタ
20の表示に対応する画像データに加工するため、3D
(三次元)−LUT等を用いて変換する。
The LUT / MTX operation unit 62 performs color balance adjustment, contrast correction, and brightness correction image processing. The image correction unit 51 corrects lateral chromatic aberration, corrects distortion, and uses a correction formula based on a photographing lens characteristic determined by a correction coefficient setting unit 60 described later.
The image is enlarged or reduced by electronic scaling. Further, in order to correct the aberration of the scanned image, which is a feature of the image processing method of the present invention, the image is adjusted by designating one of a plurality of correction levels while viewing the image displayed on the monitor 20. It is the part that implements the processing method of correcting the chromatic aberration of magnification and distortion with the correction formula, and also specifies the print range, that is, the print output area,
The non-printable amount determined from the designated area, that is, the image blurring amount, is calculated, and the correction coefficient used in the correction formula is calculated based on the calculated amount. The correction process using the correction coefficient is used to correct chromatic aberration of magnification and distortion. This is the part that implements the processing method. In the image processing unit 53, after the image correction unit 51 performs the correction of the aberration of the image data, the electronic scaling process, and the like, the image processing unit 53 performs a sharpness process, a dodging process, and the like according to an instruction of the operator. The image data conversion unit 52 converts the image data subjected to the image processing by the image processing unit 50 into image data corresponding to the display on the monitor 20 in 3D.
(Three-dimensional) -Convert using LUT or the like.

【0032】本スキャン画像処理部46は、画像処理部
54および画像データ変換部58から構成される。画像
処理部54は、さらにLUT・MTX演算部64と画像
補正部56と画像処理部57に細分される。LUT・M
TX演算部64は、本スキャン画像データについて、プ
レスキャン画像データにおいて決定された画像処理条件
下、色バランス調整、コントラスト補正(階調処理)、
明るさ補正がLUT(ルックアップテーブル)による処
理によって、また、彩度補正がMTX演算によって公知
の方法で行われる。画像補正部56では、プレスキャン
画像データで決定された補正式を用いて、倍率色収差の
補正と歪曲収差の補正、および電子変倍処理による画像
処理を行う。画像処理部57では、オペレータの指示に
応じてシャープネス処理や覆い焼き処理等を行う。画像
データ変換部58では、画像処理部54で画像処理の施
された画像データを、プリンタ16にプリント出力する
出力画像データに加工するため、3D(三次元)−LU
T等を用いて変換する。
The main scan image processing section 46 includes an image processing section 54 and an image data conversion section 58. The image processing unit 54 is further subdivided into an LUT / MTX operation unit 64, an image correction unit 56, and an image processing unit 57. LUT ・ M
The TX calculation unit 64 performs color balance adjustment, contrast correction (gradation processing), and color correction on the main scan image data under the image processing conditions determined in the pre-scan image data.
The brightness correction is performed by a process using an LUT (lookup table), and the saturation correction is performed by a known method by an MTX operation. The image correction unit 56 performs the correction of the chromatic aberration of magnification and the correction of the distortion, and the image processing by the electronic scaling process using the correction formula determined by the pre-scan image data. The image processing unit 57 performs a sharpness process, a dodging process, and the like according to an instruction from the operator. The image data conversion unit 58 converts the image data subjected to the image processing in the image processing unit 54 into output image data to be printed out to the printer 16 by 3D (three-dimensional) -LU.
Conversion is performed using T or the like.

【0033】条件設定部48は、プレスキャン画像デー
タがプレスキャンメモリ40から読み出され、画像処理
条件を決定するのに用いられる。具体的には、プレスキ
ャン画像データから、濃度ヒストグラムの作成や、平均
濃度、LATD(大面積透過濃度)、ハイライト(最低
濃度)、シャドー(最高濃度)等の画像特徴量の算出等
を行い、加えて、必要に応じて行われるオペレータによ
る指示に応じて、グレイバランス調整等のテーブル(L
UT)や彩度補正を行うマトリクス演算の作成等の画像
処理条件を決定する。決定された画像処理条件は、さら
に、キー補正部74で条件が調整され、画像処理条件が
再設定される。また、後述する補正レベルの指定やプリ
ント範囲を指定するためにキー入力が利用され、さら
に、プリント出力するためのプリントサイズ、出力画素
数、電子変倍係率等の出力条件が18aのキーボードや
18bのマウスによって指定することができる。
The condition setting section 48 is used to read pre-scan image data from the pre-scan memory 40 and determine image processing conditions. Specifically, from the pre-scanned image data, a density histogram is created, and image feature values such as average density, LATD (large area transmission density), highlight (lowest density), and shadow (highest density) are calculated. In addition, a table (L) for gray balance adjustment or the like is provided in accordance with an operator's instruction performed as necessary.
UT) and image processing conditions such as creation of a matrix operation for performing saturation correction. The determined image processing conditions are further adjusted by the key correction unit 74, and the image processing conditions are reset. A key input is used to specify a correction level and a print range, which will be described later. In addition, the output conditions such as the print size, the number of output pixels, and the electronic zooming ratio for printing are set to 18a. 18b.

【0034】補正係数設定部60は、撮影レンズタイプ
認識コード毎に倍率色収差や歪曲収差の補正式や補正係
数を記憶しており、画像データ抽出部49において、抽
出され認識された撮影レンズタイプ認識コードに対応し
たレンズの倍率色収差特性と歪曲収差特性の補正式や補
正係数をロードし、補正式や補正係数を得る。ここで補
正式とは、具体的には撮影画像の第一の方向と第二の方
向を各々x方向とy方向として、画像の位置座標(x,
y)とした場合、x方向およびy方向の補正量Dxおよ
びDyがxとyの高次多項式で表されたものを言い、補
正係数とは、この多項式に係る各項の係数を言う。本実
施例では、補正式および補正係数を高次多項式とその係
数で表しているが、これに限られない。また、補正レベ
ルとは、補正レベルの大小に応じて補正係数を定め、収
差の補正の強度を設定するレベルを言う。撮影レンズタ
イプ認識コードを抽出できないか、また、レンズタイプ
認識コードを認識できない場合は、画像データ抽出部4
9ですでにデフォルトとして、あるいは、オペレータの
指定によって定められた補正式がすでに得られている。
また、得られた補正係数を持った補正式はミリ単位の補
正式となっているので、補正式を出力画像の画素単位の
補正式に合わせるべく、スキャナ12の入力画素数、プ
リント出力サイズ、プリント出力画素数および電子変倍
率とから決まるプリント出力画像の画素単位の補正係数
を算出し補正式を得る。さらに、レンズ収差の補正を行
うと矩形画像の周辺領域で撮影画像のない画像のけられ
が発生するため、予め設定される電子変倍係数より大き
な電子変倍係数で拡大し、なおかつ所望のプリントサイ
ズに納めるために不必要に拡大しない最小の拡大係数に
微調整するが、その拡大係数の微調係数算出のためにプ
リントできない量、すなわち画像のけられ量の算出を行
う。
The correction coefficient setting unit 60 stores a correction formula and a correction coefficient for chromatic aberration of magnification and distortion for each photographing lens type recognition code. The image data extracting unit 49 recognizes the photographing lens type extracted and recognized. The correction formula and the correction coefficient for the chromatic aberration of magnification and distortion of the lens corresponding to the code are loaded to obtain the correction formula and the correction coefficient. Here, the correction formula specifically refers to the position coordinates (x, x, y) of the image assuming that the first direction and the second direction of the captured image are the x direction and the y direction, respectively.
In the case of y), the correction amounts Dx and Dy in the x direction and the y direction are expressed by higher-order polynomials of x and y, and the correction coefficient is a coefficient of each term related to the polynomial. In the present embodiment, the correction equation and the correction coefficient are represented by a higher-order polynomial and its coefficient, but the present invention is not limited to this. The correction level refers to a level at which a correction coefficient is determined according to the magnitude of the correction level and the intensity of aberration correction is set. If the photographing lens type recognition code cannot be extracted or the lens type recognition code cannot be recognized, the image data extraction unit 4
In step 9, a correction formula determined as a default or specified by an operator has already been obtained.
Further, since the correction formula having the obtained correction coefficient is a correction formula in millimeter units, the number of input pixels of the scanner 12, the print output size, and the like are adjusted in order to match the correction formula with the correction formula in pixel units of the output image. A correction coefficient for each pixel of the print output image determined from the number of print output pixels and the electronic magnification is calculated to obtain a correction equation. Further, when the lens aberration is corrected, an image without a photographed image occurs in a peripheral area of the rectangular image, so that the image is enlarged with an electronic variable magnification coefficient larger than a preset electronic variable coefficient and a desired print is performed. Fine adjustment is made to the minimum enlargement coefficient that does not unnecessarily enlarge the image in order to fit in the size. However, in order to calculate the fine adjustment coefficient of the enlargement coefficient, the amount that cannot be printed, that is, the image blurring amount is calculated.

【0035】なお、レンズタイプ認識コードごとに倍率
色収差と歪曲収差の補正式の補正係数が記憶されている
が、必要に応じて、図示されない補正係数供給部からF
D(フロッピーディスク)、MO(光磁気ディスク)
や、Zip等の各種記憶媒体によって新規レンズタイプ
の補正係数をアップデートすることができる。また、イ
ンターネット等のネットワークの使用に加えて、電話回
線を使用して補正係数をアップデートしてもよい。ま
た、得られた補正係数を持った補正式はミリ単位の補正
式となっているので、補正式を出力画像の画素単位の補
正式に合わせるべく、スキャナ12の入力画素数、プリ
ント出力サイズ、プリント出力画素数および電子変倍率
とから決まるプリント出力画像の画素単位の補正係数を
算出し補正式を得ているが、入力画素数、プリント出力
サイズ、プリント出力画素数および電子変倍率の各条件
によって決まる補正係数を予め求めておいてテーブルと
して記憶させ、条件にあった補正係数を直接呼び出して
もよい。
The correction coefficients for the chromatic aberration of magnification and the distortion are stored for each lens type recognition code. If necessary, a correction coefficient supply unit (not shown) supplies F
D (Floppy disk), MO (Magneto-optical disk)
Also, the correction coefficient of the new lens type can be updated by various storage media such as Zip. Further, in addition to using a network such as the Internet, the correction coefficient may be updated using a telephone line. Further, since the correction formula having the obtained correction coefficient is a correction formula in millimeters, the number of input pixels of the scanner 12, the print output size, and the like are adjusted so that the correction formula matches the correction formula in pixel units of the output image. The correction formula is calculated by calculating the pixel-by-pixel correction coefficient of the print output image determined from the number of print output pixels and the electronic magnification, but each condition of the number of input pixels, the print output size, the number of print output pixels, and the electronic magnification is used. It is also possible to obtain the correction coefficient determined in advance and store it as a table, and directly call the correction coefficient that meets the conditions.

【0036】なお、図5は主に画像処理関連の部位を示
すものであり、画像処理装置14には、これ以外にも、
画像処理装置14を含むフォトプリンタ10全体の制御
や管理を行うCPU、フォトプリンタ10の作動等に必
要な情報を記憶するメモリ、本スキャンの際の可変絞り
24の絞り値やCCDセンサ34の蓄積時間を決定する
手段等が配置される。モニタ20は、入力画像データに
施すべき画像処理が適切かどうか、とくに倍率色収差お
よび歪曲収差の補正が適切かどうか、オペレータが確
認、決定するものであり、画像データ変換部52を介し
て画像処理装置14と接続される。
FIG. 5 mainly shows parts related to the image processing.
A CPU for controlling and managing the entire photo printer 10 including the image processing device 14, a memory for storing information necessary for the operation of the photo printer 10 and the like, an aperture value of the variable aperture 24 at the time of the main scan, and an accumulation of the CCD sensor 34 Means for determining time and the like are arranged. The monitor 20 is used by an operator to confirm and determine whether or not image processing to be performed on input image data is appropriate, particularly, whether or not correction of lateral chromatic aberration and distortion is appropriate. Connected to the device 14.

【0037】本発明に係る画像処理方法を実施する画像
処理装置は基本的に以上のように構成されるが、以下に
その作用および本発明の画像処理方法について、図5及
び図6を参照して説明する。図6は、本発明の画像処理
装置を適用するデジタルフォトプリンタで実施される本
発明の画像処理方法によるプリント出力の一例の概略フ
ローを示すフローチャートである。プレスキャンメモリ
40に記憶されたプレスキャン画像データは、画像条件
設定部72から呼び出され、濃度ヒストグラムの作成
や、平均濃度、LATD(大面積透過濃度)、ハイライ
ト(最低濃度)、シャドー(最高濃度)等の画像特徴量
の算出等を行い、加えて、必要に応じて行われるオペレ
ータによる指示に応じて、グレイバランス調整等のテー
ブル(LUT)や彩度補正を行うマトリクス演算(MT
X)の作成等の画像処理条件を決定する。決定された画
像処理条件は、さらに、キー補正部74で条件が調整さ
れ、画像処理条件が再設定され,パラメータ統合部76
で条件がすべて統合され、画像処理部50に送られる。
The image processing apparatus for carrying out the image processing method according to the present invention is basically configured as described above. The operation and the image processing method of the present invention will be described below with reference to FIGS. Will be explained. FIG. 6 is a flowchart illustrating a schematic flow of an example of a print output by the image processing method of the present invention performed by the digital photo printer to which the image processing device of the present invention is applied. The pre-scan image data stored in the pre-scan memory 40 is called from the image condition setting unit 72 to create a density histogram, average density, LATD (large area transmission density), highlight (lowest density), shadow (highest). Calculation of image characteristic amounts such as density), a table (LUT) for gray balance adjustment, etc., and a matrix operation (MT) for performing saturation correction in accordance with an instruction from an operator performed as necessary.
X) Image processing conditions such as creation are determined. The determined image processing conditions are further adjusted by the key correction unit 74, the image processing conditions are reset, and the parameter integration unit 76
Are integrated, and sent to the image processing unit 50.

【0038】一方、画像データ抽出部49は、スキャナ
12で読み込まれたフィルム1本のデータをプレスキャ
ンメモリ40から呼び出し、フィルムFの領域S1(図
4参照)に記録されているロットコードコード内の撮影
レンズ認識コードを認識する。撮影レンズタイプ認識コ
ードを認識した場合、認識されたコードを補正係数設定
部60に送る。撮影レンズタイプ認識コードが無い場合
や認識されない場合、デフォルトとして、あるいは、オ
ペレータの指定によって定められた補正式を採用し、そ
の補正式を画像補正部51へ送る。デフォルトとして、
あるいは、オペレータの指定によって定められた補正式
を用いるのは、収差の特性が撮影レンズに係わらず概略
決まっており、補正の強さのみが異なる場合が多い為、
その概略決まっている収差を補正する補正式を採用する
のである。また、プレスキャン画像データはLUT・M
TX演算部62で色バランス調整、コントラスト補正
(階調処理)、明るさ補正等がオペレータの指示された
処理条件によって処理された後、画像補正処理部51へ
送る。
On the other hand, the image data extracting unit 49 calls the data of one film read by the scanner 12 from the pre-scan memory 40, and reads out the data of the lot code recorded in the area S1 of the film F (see FIG. 4). Recognize the shooting lens recognition code. When the photographing lens type recognition code is recognized, the recognized code is sent to the correction coefficient setting unit 60. If there is no photographic lens type recognition code or if the photographic lens type recognition code is not recognized, a correction formula determined as a default or specified by an operator is adopted, and the correction formula is sent to the image correction unit 51. By default,
Alternatively, the correction formula determined by the operator's designation is used because the aberration characteristics are roughly determined regardless of the photographing lens and only the correction strength is often different.
The correction formula for correcting the roughly determined aberration is adopted. The pre-scan image data is LUT / M
After the color balance adjustment, contrast correction (gradation processing), brightness correction, and the like are processed by the TX calculation unit 62 according to the processing conditions instructed by the operator, it is sent to the image correction processing unit 51.

【0039】また、画像データ抽出部49では、プレス
キャンメモリ40から呼び出されたデータがフィルム1
本のデータであるので、そのデータから画像の1コマに
相当する画像データを検出し、LUT・MTX処理部6
2に送るとともに、画像の中心位置等の位置情報を算出
する(図6に示す工程104)。画像データの中心位置
を算出するのは、倍率色収差や歪曲収差の補正に用いる
補正式が画像データの中心位置からの関数で表現されて
いるからであり、また、算出されたプレスキャン画像デ
ータの中心位置は、本スキャン画像データとある程度の
精度で対応づけられており、その対応を利用することで
本スキャン画像データの画像データの中心位置を定める
ことができるからである。算出された画像の位置情報
を、倍率色収差や歪曲収差の補正(図6に示す工程10
8)を行う補正式に用いるため、画像補正部51に送
る。
In the image data extracting section 49, the data called from the pre-scan memory 40 is stored in the film 1
Since the data is book data, image data corresponding to one frame of the image is detected from the data, and the LUT / MTX processing unit 6 detects the image data.
2 and calculate position information such as the center position of the image (step 104 shown in FIG. 6). The center position of the image data is calculated because the correction formula used for correcting the lateral chromatic aberration and the distortion is expressed as a function from the center position of the image data. This is because the center position is associated with the main scan image data with a certain degree of accuracy, and by utilizing the correspondence, the center position of the image data of the main scan image data can be determined. The position information of the calculated image is corrected for chromatic aberration of magnification and distortion (step 10 shown in FIG. 6).
The data is sent to the image correction unit 51 for use in the correction formula for performing 8).

【0040】補正係数設定部60では、スキャナ12で
読み込まれたバーコードの中から抽出され、補正係数設
定部60に送られた撮影レンズタイプ認識コードに応じ
た倍率色収差と歪曲収差の補正係数を、補正係数記憶部
からロードし、撮影レンズの特性の抽出を行う(図6に
示す工程102)。呼び出されたレンズの特性の補正係
数は、収差補正する補正式の関数の係数に相当し、ミリ
単位の補正係数となっている。そのため、スキャナ12
の入力画素数、モニタ表示サイズ、モニタ表示画素数お
よび電子変倍率とから決まる画像の画素単位の補正係数
を算出する。また、歪曲収差の補正を行うと矩形画像の
周辺領域で撮影画像のない画像のけられが発生するた
め、プリント出力領域を図1に示す6aや6bのように
設定し、その範囲が妥当であるかチェックできるよう
に、モニタ20にプリント出力枠が表示されるが、その
範囲を定めるために、補正式に応じて定まる画像のけら
れ量の算出(図6に示す工程106)を行う。画像のけ
られ量とは、図1で示す斜線領域の縦方向、横方向の画
素数をいう。
The correction coefficient setting unit 60 extracts the correction coefficients for the chromatic aberration of magnification and the distortion according to the photographing lens type recognition code extracted from the barcode read by the scanner 12 and sent to the correction coefficient setting unit 60. , Loaded from the correction coefficient storage unit, and the characteristics of the taking lens are extracted (step 102 shown in FIG. 6). The called correction coefficient of the characteristic of the lens corresponds to a coefficient of a function of a correction formula for correcting aberration, and is a correction coefficient in units of millimeters. Therefore, the scanner 12
Then, a correction coefficient for each pixel of an image determined from the number of input pixels, the monitor display size, the number of monitor display pixels, and the electronic scaling factor is calculated. Further, if the distortion is corrected, an image without a captured image occurs in the peripheral area of the rectangular image. Therefore, the print output area is set to 6a or 6b shown in FIG. 1, and the range is appropriate. A print output frame is displayed on the monitor 20 so that it can be checked whether or not the image is present. In order to determine the range, the amount of image blur determined according to the correction formula is calculated (step 106 shown in FIG. 6). The amount of image blur refers to the number of pixels in the vertical and horizontal directions of the hatched area shown in FIG.

【0041】算出された画素単位の補正係数を持った倍
率色収差や歪曲収差の補正式が画像補正部51に送ら
れ、また算出された画像のけられ量は、プレスキャン画
像をオペレータが確認し検定するために表示するモニタ
20に送られる。プレスキャン画像とともに画像のけら
れ量から定まる矩形のプリント出力領域を表示するため
である。
The correction formula for the chromatic aberration of magnification and the distortion having the calculated correction coefficient for each pixel is sent to the image correction section 51, and the calculated image shift amount is checked by the operator by checking the prescan image. Sent to monitor 20 for display for verification. This is for displaying a rectangular print output area determined by the amount of image blurring together with the prescan image.

【0042】本実施例においては、プレスキャン画像デ
ータについて倍率色収差と歪曲収差の補正を行い、矩形
のプリント出力領域を表示しているが、迅速な補正処理
のために倍率色収差と歪曲収差の補正を行うことなく電
子変倍処理を行ったプレスキャン画像とプリント出力領
域をモニタ20に表示させてもよい。その場合、プレス
キャン画像データは補正されないため、プリント出力領
域は矩形でなくなる。この場合においても、本発明の目
的である、撮影された重要な画像情報をプリント出力で
切り落とすことなく画像の最適な補正を行うことができ
るからである。
In this embodiment, the chromatic aberration of magnification and distortion are corrected for the prescanned image data, and a rectangular print output area is displayed. However, the correction of chromatic aberration of magnification and distortion is performed for quick correction processing. Alternatively, the pre-scanned image subjected to the electronic scaling process and the print output area may be displayed on the monitor 20 without performing the processing. In this case, the pre-scanned image data is not corrected, so that the print output area is not rectangular. Even in this case, the purpose of the present invention is to perform optimal correction of an image without cutting out important photographed image information in a printout.

【0043】プレスキャン画像データは、LUT・MT
X処理部62で所定の処理が施された後、撮影レンズ補
正係数設定部60から送られた補正式、画像抽出部49
から送られてきた画像データの中心位置、および補正す
べき画像の画素位置情報を用いて、画像収差補正部51
で倍率色収差補正、歪曲収差補正、および電子変倍処理
(図6に示す工程108)を行い、また必要に応じて図
示されないスキャナによる色ずれ補正を行う。撮影レン
ズ特性が得られたかどうかに係わりなく、画像の位置情
報を用いて本スキャン画像データの画像の補正を行うた
めの補正式の確定方法については後述する。
The pre-scan image data is LUT / MT
After the X processing unit 62 performs predetermined processing, the correction formula and the image extraction unit 49 sent from the photographic lens correction coefficient setting unit 60 are used.
Using the center position of the image data sent from the camera and the pixel position information of the image to be corrected.
The chromatic aberration correction, the distortion aberration correction, and the electronic magnification change processing (step 108 shown in FIG. 6) are performed by the, and the color misregistration is corrected by a scanner (not shown) as necessary. Regardless of whether or not the photographing lens characteristics are obtained, a method of determining a correction formula for correcting the image of the main scan image data using the position information of the image will be described later.

【0044】電子変倍処理が倍率色収差補正および歪曲
収差補正の後に行なわれのは、適切な位置情報を用いて
画像の拡大縮小を行う必要があるからである。モニタの
表示サイズや画素数に応じて、倍率色収差や歪曲収差の
補正された画像データを拡大縮小する電子変倍率Kを算
出し、それを用いて電子変倍処理を行う。処理された画
像データは、画像処理部53に送られる。電子変倍処理
の方法には特に限定はなく、公知の方法が各種利用可能
であり、例えば、バイリニア補間を用いる方法、スプラ
イン補間を用いる方法等が例示される。
The electronic scaling process is performed after the correction of the chromatic aberration of magnification and the correction of the distortion, because it is necessary to enlarge or reduce the image using appropriate position information. In accordance with the display size and the number of pixels of the monitor, an electronic magnification K for enlarging or reducing the image data in which the chromatic aberration of magnification and distortion are corrected is calculated, and the electronic magnification processing is performed using the electronic magnification. The processed image data is sent to the image processing unit 53. There is no particular limitation on the method of the electronic scaling process, and various known methods can be used. Examples thereof include a method using bilinear interpolation and a method using spline interpolation.

【0045】画像補正部51で補正処理が施された後、
画像処理部53に送られ、シャープネス処理や覆い焼き
処理等を行い、その後画像データ変換部52に送られ、
モニタ表示用画像データに変換され、セットアップされ
(図6に示す工程110)、モニタ20に表示(図6に
示す工程112)される。
After the image processing section 51 performs the correction processing,
The image data is sent to the image processing unit 53 to perform a sharpness process, a dodging process, and the like.
The image data is converted into monitor display image data, set up (step 110 shown in FIG. 6), and displayed on the monitor 20 (step 112 shown in FIG. 6).

【0046】さて、本スキャン画像データ(ファインス
キャン画像データ)に対して倍率色収差補正、歪曲収差
補正(図6に示す工程108)のための補正レベルを指
定して補正式を確定する方法は、本発明の画像処理方法
および画像処理装置の処理手段の特徴とするところであ
る。すなわち、デフォルト設定されたデフォルト値やオ
ペレータが指示した補正値、また撮影されたレンズ特性
によって定まる補正値に応じて収差の補正がされた補正
結果の画像をモニタ20に表示し、表示された画像を見
ながら複数の指定できる補正レベルの中から補正レベル
を指定して補正係数を調整して得られる補正式でプリン
ト出力する画像の倍率色収差や歪曲収差の補正処理を
し、また、指定されたプリント範囲から定まる画像のけ
られ量から、収差の補正式の補正係数を算出し、その算
出した補正係数を用いた補正式でプリント出力する画像
の倍率色収差や歪曲収差の補正処理をする。各々の補正
処理方法のフローが図7および図8にそれぞれ示されて
いる。
A method of specifying a correction level for chromatic aberration of magnification and distortion correction (step 108 shown in FIG. 6) for the main scan image data (fine scan image data) and determining the correction formula is as follows. This is a feature of the image processing method and the processing means of the image processing apparatus of the present invention. That is, an image of a correction result in which aberration is corrected in accordance with a default value set by default, a correction value designated by an operator, and a correction value determined by a photographed lens characteristic is displayed on the monitor 20, and the displayed image is displayed. The correction process is performed by adjusting the correction coefficient by specifying a correction level from a plurality of correction levels that can be specified while observing the chromatic aberration and distortion of the image to be printed and output. A correction coefficient of an aberration correction formula is calculated from the amount of image shift determined by the print range, and a process of correcting chromatic aberration of magnification and distortion of an image to be printed out is performed by a correction formula using the calculated correction coefficient. The flow of each correction processing method is shown in FIGS. 7 and 8, respectively.

【0047】図7に示す補正処理方法のフローから説明
する。まず最初、プレスキャン画像データから撮影レン
ズタイプ認識コードであるバーコードを読み込み、撮影
レンズ特性が抽出されたか判断する(図7に示す工程2
00)。抽出された場合は、上述した撮影レンズ特性に
応じて定まる補正式に基づく補正結果の画像をモニタ2
0に表示する(図7に示す工程202)。抽出されない
場合は、デフォルト設定されたデフォルト値やオペレー
タが指示した補正値を初期値とし、その初期値に応じた
補正レベルに基づく補正結果の画像をモニタ20に表示
する(図7に示す工程204)。このように補正式をデ
フォルト設定したり、オペレータに選択させることがで
きるのは、撮影レンズの歪曲収差特性および倍率色収差
特性はおよそ決まっており、補正レベルのみが異なる場
合が多いからである。
The flow of the correction processing method shown in FIG. 7 will be described. First, a bar code, which is a photographing lens type recognition code, is read from the pre-scan image data, and it is determined whether or not photographing lens characteristics have been extracted (step 2 shown in FIG. 7).
00). When the image is extracted, the image of the correction result based on the correction equation determined according to the above-described photographing lens characteristics is displayed on the monitor 2.
0 (step 202 shown in FIG. 7). If not extracted, a default value set as default or a correction value designated by the operator is used as an initial value, and an image of a correction result based on a correction level corresponding to the initial value is displayed on the monitor 20 (step 204 shown in FIG. 7). ). The reason why the correction formula can be set by default or selected by the operator is that the distortion aberration characteristic and the chromatic aberration of magnification of the photographing lens are approximately determined, and only the correction level is often different.

【0048】オペレータはモニタ20を見て、補正レベ
ルを指定して調整する必要があるか判断する(図7に示
す工程206)。調整が不要と判断した場合は、撮影レ
ンズ特性に応じて定まる補正式または、初期値に応じた
補正レベルによって定まる補正式が確定し(図7に示す
工程214)、本スキャン画像データの補正処理のため
の補正式とする。一方、調整が必要と判断した場合は、
オペレータは複数の選択できる補正レベルの中から補正
レベルを指定する(図7に示す工程208)。補正レベ
ルは収差を補正する補正量を3〜5段階に分けて調整す
るもので、補正レベルは収差補正に用いる補正式の係数
である補正係数の大小を定めるものである。補正レベル
は、オペレータが操作系18から入力できるようになっ
ている。また、撮影レンズによっては、糸巻型の収差特
性の他樽型の収差特性もあるので選択できるようになっ
ている。補正レベルの指定により補正係数を調整して補
正式を調整し、図9(A)の(a)および(b)に示さ
れる様に、その調整された補正式に基づく補正結果の画
像をモニタ20に表示する(図7に示す工程210)。
オペレータは、補正結果の画像を見て、最適な画像また
は好みの画像や気に入った画像(以下、最高な画像で代
表する)かどうか判断する(図7に示す工程212)。
最適と判断した場合は、指定した補正レベルにより補正
式が確定し、本スキャン画像データの補正に用いられ
る。最適と判断されない場合は、補正結果の画像データ
は取り消され、リセットされ(図7に示す工程21
6)、撮影レンズ特性に応じて定まる補正式に基づく収
差補正結果(図7に示す工程202)や初期値に応じた
補正レベルに基づく収差補正結果(図7に示す工程20
4)などの自動収差補正結果の状態(画像データやモニ
タ表示)に戻される、あるいは収差補正前の状態(入力
画像データや入力画像モニタ表示)に戻される、この
後、再度補正レベルの指定を行うことができる(図7に
示す工程208)。この再度の補正レベルの指定は何度
でも行うことができる。
The operator looks at the monitor 20 and determines whether it is necessary to specify and adjust the correction level (step 206 shown in FIG. 7). If it is determined that the adjustment is unnecessary, a correction formula determined according to the photographing lens characteristic or a correction formula determined according to the correction level corresponding to the initial value is determined (step 214 shown in FIG. 7), and the correction processing of the main scan image data is performed. And a correction formula for On the other hand, if you decide that adjustments are needed,
The operator specifies a correction level from a plurality of selectable correction levels (step 208 shown in FIG. 7). The correction level adjusts the amount of correction for correcting aberration in three to five stages, and the correction level determines the magnitude of a correction coefficient, which is a coefficient of a correction formula used for aberration correction. The correction level can be input by the operator from the operation system 18. Further, depending on the photographing lens, there are barrel-shaped aberration characteristics in addition to the pincushion-type aberration characteristics, so that it can be selected. The correction expression is adjusted by adjusting the correction coefficient by designating the correction level, and as shown in FIGS. 9A and 9B, the image of the correction result based on the adjusted correction expression is monitored. 20 (step 210 shown in FIG. 7).
The operator looks at the image of the correction result and determines whether it is an optimal image, a favorite image, or a favorite image (hereinafter, represented by the best image) (Step 212 shown in FIG. 7).
If it is determined to be optimal, the correction formula is determined based on the specified correction level, and is used for correcting the main scan image data. If it is not determined that the image data is optimum, the image data of the correction result is canceled and reset (step 21 shown in FIG. 7).
6), an aberration correction result based on a correction formula determined according to the photographing lens characteristic (step 202 shown in FIG. 7) and an aberration correction result based on a correction level according to the initial value (step 20 shown in FIG. 7)
4) Return to the state of the automatic aberration correction result (image data or monitor display) or return to the state before aberration correction (input image data or input image monitor display), and then specify the correction level again (Step 208 shown in FIG. 7). The second correction level can be specified any number of times.

【0049】また、図7に示す工程208の補正レベル
の指定および工程210の補正結果の画像のモニタへの
表示に替えて、主要被写体がプリント出力されないこと
を防止する点から、工程202や工程204で表示され
た補正結果の画像内にマウス18b等を用いてプリント
範囲を指定し、指定されたプリント範囲内で補正レベル
を複数段階で変化させた収差の補正処理を行ない、その
収差補正が最大となる補正処理を行った結果の画像をモ
ニタに表示させてもよい。
In place of designating the correction level in step 208 and displaying the image of the correction result in step 210 on the monitor shown in FIG. 7, it is possible to prevent the main subject from being printed out. A print range is specified in the image of the correction result displayed at 204 using the mouse 18b or the like, and an aberration correction process in which the correction level is changed in a plurality of steps within the specified print range is performed. An image obtained as a result of performing the maximum correction processing may be displayed on a monitor.

【0050】上述の方法で歪曲収差および倍率色収差の
補正処理を行うが、この補正処理は撮影画像の画像位置
を変更する補正処理で、補正処理前の画像データを基に
して、撮影画像の第一の方向およびこの第一の方向と直
交する第二の方向の補正量を一度に計算する二次元的補
正処理を行う方法に替えて、撮影画像の第一の方向およ
び第二の方向の各々について、倍率色収差補正および歪
曲収差補正の補正処理を、それぞれ別々に、一次元的に
処理する補正処理方法を行っている。
The correction processing of the distortion and the chromatic aberration of magnification is performed by the above-described method. This correction processing is a correction processing for changing the image position of the captured image, and is based on the image data before the correction processing. In place of the method of performing a two-dimensional correction process of calculating the correction amount in one direction and a second direction orthogonal to the first direction at a time, each of the first direction and the second direction of the captured image With respect to the correction method, the correction processing of the correction of the chromatic aberration of magnification and the correction of the distortion is performed separately and one-dimensionally.

【0051】従来の二次元的補正処理方法では補正処理
前および補正処理後の画像データも記憶しなければなら
ず、メモリは膨大になり、処理速度も遅く実用上問題が
多かったが、この方法によって、一次元的補正処理を行
ない、メモリの節約および処理速度の向上さらには処理
装置の簡素化が図られる。とくに、レンズ付フィルム等
で、撮影レンズからみてフィルムの長手方向と直角方向
(第一の方向)で凹ましている場合、第一の方向の収差
補正量が小さく、その方向で補正をしなくてもよい場合
がある。その様な場合、第二の方向の補正処理を行えば
実用上ほとんど問題がなくなり、処理速度の点から利点
がある。また、図9(c)のように、補正レベルを画像
の縦方向と横方向で変えることができるため、プリント
出力範囲を縦横独立に変更することが可能となり、オペ
レータの補正処理の自由度が広がり、プリント出力領域
を広げかつより歪みのない高画質な画像を提供すること
ができる利点がある。また、縦横どちらか一方のみの補
正処理を行ってもかまわない。
In the conventional two-dimensional correction processing method, the image data before and after the correction processing must also be stored, so that the memory is enormous, the processing speed is slow, and there are many practical problems. As a result, the one-dimensional correction processing is performed, saving the memory, improving the processing speed, and simplifying the processing device. In particular, when a film with a lens or the like is concave in a direction (first direction) perpendicular to the longitudinal direction of the film as viewed from the taking lens, the amount of aberration correction in the first direction is small, and correction is not performed in that direction. May be good. In such a case, if the correction processing in the second direction is performed, there is practically no problem, and there is an advantage in terms of processing speed. Further, as shown in FIG. 9C, since the correction level can be changed in the vertical and horizontal directions of the image, the print output range can be changed independently in the vertical and horizontal directions, and the degree of freedom of the correction processing by the operator is increased. There is an advantage that it is possible to provide a high-quality image that is widened, a print output area is widened, and distortion-free. Further, only one of the vertical and horizontal correction processes may be performed.

【0052】モニタ20への画像表示において、画像と
ともに、プリント出力領域を同時に表示する。図6に示
す工程106において画像のけられ量を補正レベルに応
じて算出しているため、そのけられ量を用いて表示する
ことが可能である。プリント出力領域を同時に表示する
のは、歪曲収差の補正処理によってプリント出力されな
い範囲に主要被写体等の重要な情報が含まれていない
か、確認するためである。
In displaying an image on the monitor 20, the print output area is displayed simultaneously with the image. In the step 106 shown in FIG. 6, since the image shift amount is calculated according to the correction level, it is possible to display using the shift amount. The print output area is displayed at the same time in order to confirm whether or not important information such as a main subject is included in a range that is not printed out by the distortion aberration correction processing.

【0053】次に、図8に示す補正処理方法のフローを
説明する。図8に示す補正処理方法は、図7の補正処理
方法の替わりに用いてもよい。まず、プレスキャン画像
データから撮影レンズタイプ認識コードを含むロットコ
ードを読み込み、撮影レンズ特性が抽出されたか判断
(図8に示す工程300)する。抽出された場合は、上
述した撮影レンズ特性に応じて定まる補正式に基づく補
正後の画像をモニタ20に表示する(図8に示す工程3
02)。抽出されない場合は、デフォルト設定されたデ
フォルト値やオペレータが指示した補正値を初期値と
し、その初期値に応じた補正レベルに基づく補正結果の
画像をモニタ20に表示する(図8に示す工程30
4)。このように補正式をデフォルト設定したり、オペ
レータに指示させることができるのは、撮影レンズの歪
曲収差特性および倍率色収差特性は、撮影レンズに係わ
らず概略決まっており、補正レベルのみが異なる場合が
多いからである。
Next, the flow of the correction processing method shown in FIG. 8 will be described. The correction processing method shown in FIG. 8 may be used instead of the correction processing method shown in FIG. First, a lot code including a photographing lens type recognition code is read from the pre-scan image data, and it is determined whether photographing lens characteristics have been extracted (step 300 shown in FIG. 8). If extracted, the image after correction based on the above-described correction formula determined according to the photographing lens characteristics is displayed on the monitor 20 (Step 3 shown in FIG. 8).
02). If not extracted, a default value set by default or a correction value designated by an operator is set as an initial value, and an image of a correction result based on a correction level corresponding to the initial value is displayed on the monitor 20 (Step 30 shown in FIG. 8).
4). As described above, the correction formula can be set by default or the operator can be instructed because the distortion aberration characteristic and the magnification chromatic aberration characteristic of the photographing lens are roughly determined regardless of the photographing lens, and only the correction level may be different. Because there are many.

【0054】オペレータはモニタ20を見て、補正レベ
ルを指定して調整する必要があるか判断する(図8に示
す工程306)。調整が不要と判断した場合は、レンズ
特性に応じて定まる補正式または、デフォルト設定され
たデフォルト値やオペレータが指示した補正値を初期値
として、その初期値に応じた補正レベルから定まる補正
式を確定し(図8の工程316)、本スキャン画像デー
タを取り込み確定した補正式で補正処理がされた後、プ
リント出力される。一方、調整が必要と判断した場合
は、オペレータがモニタ20を見ながら、撮影画像領域
の中のプリント範囲を指定する(図8に示す工程30
8)。例えば、主要被写体が途中で切れたりしないため
に範囲を設定する。歪曲収差の補正された画像は補正の
レベルが強い場合は、それに応じて画像のけられ量が大
きくなり、矩形画像としてプリント出力する場合、切り
落とす領域が大きくなる。そのため、図9(B)に示す
様に切り落としてはならないプリント範囲を指定するこ
とで、その範囲で補正すべき補正係数を画像のけられ量
より一意的に定めることができる。つまり、指定される
プリント出力範囲を定め、指定されたプリント範囲から
補正係数を自動算出する(図8に示す工程310)。算
出された補正係数により調整された補正式に基づいて補
正結果の画像をモニタ表示する(図8に示す工程31
2)。オペレータはモニタ20を見て補正結果の画像は
最適か判断する(図8に示す工程314)。最適と判断
した場合は補正式を確定する(図8に示す工程31
6)。一方、補正結果の画像が最適でないと判断される
場合は、例えばプリント範囲が狭いため、必要以上に補
正を強くする場合もあるが、その場合、補正結果の画像
は最適でないと判断され、補正結果のデータが取り消さ
れ、リセットされ(図8に示す工程318)、撮影レン
ズ特性に応じて定まる補正式に基づく収差補正結果(図
8に示す工程302)や初期値に応じた補正レベルに基
づく収差補正結果(図8に示す工程304)などの自動
収差補正結果の状態(画像データやモニタ表示)に戻さ
れる、あるいは収差補正前の状態(入力画像データや入
力画像モニタ表示)に戻される、この後、再度プリント
範囲を指定できる(図8に示す工程308)。その後、
本スキャンが行われ、この確定された補正式で本スキャ
ン画像データの補正処理が行われる。
The operator looks at the monitor 20 and determines whether it is necessary to specify and adjust the correction level (step 306 shown in FIG. 8). If it is determined that adjustment is not necessary, a correction formula determined based on the lens characteristics or a correction formula determined from a correction level corresponding to the initial value, with a default value set by default or a correction value specified by the operator as an initial value. It is determined (step 316 in FIG. 8), the main scan image data is taken in, corrected by the determined correction formula, and printed out. On the other hand, if it is determined that adjustment is necessary, the operator designates a print range in the captured image area while looking at the monitor 20 (step 30 shown in FIG. 8).
8). For example, a range is set so that the main subject is not cut off halfway. When the level of correction is high in an image in which distortion has been corrected, the amount by which the image is blurred increases accordingly, and when a rectangular image is printed out, the area to be cut off increases. Therefore, by specifying a print range that should not be cut off as shown in FIG. 9B, a correction coefficient to be corrected in that range can be uniquely determined from the amount of image blurring. That is, a designated print output range is determined, and a correction coefficient is automatically calculated from the designated print range (step 310 shown in FIG. 8). An image of the correction result is displayed on a monitor based on the correction formula adjusted by the calculated correction coefficient (step 31 shown in FIG. 8).
2). The operator looks at the monitor 20 and determines whether the corrected image is optimal (step 314 shown in FIG. 8). If it is determined to be optimal, the correction equation is determined (step 31 shown in FIG. 8).
6). On the other hand, when it is determined that the image of the correction result is not optimal, for example, the correction range may be strengthened more than necessary because the print range is narrow. The resulting data is canceled and reset (step 318 shown in FIG. 8), and is based on the aberration correction result (step 302 shown in FIG. 8) based on the correction formula determined according to the photographing lens characteristics and the correction level according to the initial value. The state is returned to the state of the automatic aberration correction result (image data or monitor display) such as the aberration correction result (step 304 shown in FIG. 8), or is returned to the state before the aberration correction (input image data or input image monitor display). Thereafter, the print range can be specified again (step 308 shown in FIG. 8). afterwards,
A main scan is performed, and correction processing of the main scan image data is performed using the determined correction formula.

【0055】プリント範囲の指定の替わりに、画像のけ
られ領域、すなわち、矩形画像としてプリント出力する
場合に切り落としてもよい領域を指定してもよい。ま
た、プレスキャン画像データから補正式が確定されるま
での一連の補正処理の間、図7に示す工程208から工
程216までのフローと、図8に示す工程308から工
程318 までのフローとを、工程208または306の
工程以降において、適宜選択できるようにしてもよい。
以上が図7および図8に示した補正処理方法のフローの
説明である。なお、この処理方法は、倍率色収差や歪曲
収差の補正処理についての処理方法であるが、倍率色収
差や歪曲収差のみならず、レンズに起因する周辺光量低
下やピントボケ等を補正処理してもよい。
Instead of specifying the print range, an area where an image is cut off, that is, an area that may be cut off when a printout is performed as a rectangular image may be specified. Also, during a series of correction processing until the correction formula is determined from the prescan image data, the flow from step 208 to step 216 shown in FIG. 7 and the flow from step 308 to step 318 shown in FIG. , And after step 208 or step 306, it may be possible to select as appropriate.
The above is the description of the flow of the correction processing method shown in FIGS. Note that this processing method is a processing method for correcting magnification chromatic aberration and distortion, but may correct not only magnification chromatic aberration and distortion, but also a decrease in peripheral light amount and out-of-focus caused by a lens.

【0056】このようにして、プレスキャン画像データ
より倍率色収差補正および歪曲収差補正の補正式が確定
され、その補正式を用いて本スキャン画像データが処理
される。本スキャンは、プレスキャンと異なり、スキャ
ナ12で高解像度で読み、プレスキャン画像で定められ
た画像処理条件で入力画像データである本スキャン画像
データの画像処理を行い、プリント出力するための出力
画像データを得る。プレスキャンが終了した際、フィル
ムFは最後の画像のコマまでフィルムカートリッジ33
から引き出されており、本スキャンはその状態からフィ
ルムFの巻き戻しを利用して、画像のコマの読み取りが
行われる。その際、各画像のフィルム上のコマの中心位
置がプレスキャン画像データの画像中心位置から算出さ
れるので、中心位置情報を利用して、各コマ毎に画像を
本スキャンする。スキャナ12から出力されたR,Gお
よびBの各出力信号は、A/D(アナログ/デジタル)
変換、Log変換、DCオフセット補正、暗時補正、シ
ェーディング補正等を行い、デジタルの入力画像データ
とされ、本スキャン画像データ(ファインスキャン画像
データ)は本スキャンメモリ42に記憶(格納)され
る。
In this way, the correction formulas for chromatic aberration of magnification and distortion correction are determined from the pre-scan image data, and the main scan image data is processed using the correction formulas. The main scan differs from the prescan in that the scanner 12 reads the image at high resolution, performs image processing on the main scan image data as input image data under image processing conditions determined by the prescan image, and outputs an output image for printing. Get the data. When the prescan is completed, the film F is loaded into the film cartridge
In the main scan, the frame of the image is read using the rewinding of the film F from that state. At this time, the center position of the frame on the film of each image is calculated from the image center position of the pre-scanned image data, so that the image is fully scanned for each frame using the center position information. R, G and B output signals output from the scanner 12 are A / D (analog / digital)
Conversion, Log conversion, DC offset correction, darkness correction, shading correction, and the like are performed to obtain digital input image data, and the main scan image data (fine scan image data) is stored (stored) in the main scan memory 42.

【0057】本スキャンメモリ42に記憶された本スキ
ャン画像データ(ファインスキャンデータ)は、LUT
・MTX処理部64に送られ、プレスキャン画像につい
てオペレータで調整され決定された画像処理条件に基づ
いて、グレイバランス調整等のテーブル(LUT)や彩
度補正を行うマトリクス演算(MTX)によって各種の
画像処理を行う。LUT・MTX処理部64で処理され
た後、画像補正部56に送られる。画像補正部56で
は、プレスキャン画像データによって確定された補正式
を用いて本スキャン画像データについて倍率色収差の補
正と歪曲収差の補正を行い、その後電子変倍処理を行う
(図6に示す工程108)。この場合、本スキャン画像
データはプリント出力用データとして出力されるため、
プリンタの出力画素数およびプレスキャン時に設定され
た出力条件であるプリンタ出力サイズや入力画像データ
の画素数等に応じて補正係数は変化し、モニタ20に表
示するためのプレスキャン画像データで確定した補正係
数と異なる。この本スキャン画像データに用いる補正式
は、プレスキャン画像についてオペレータにより補正式
が確定された時点で算出される。また、歪曲収差の補正
を行うと矩形画像の周辺領域で撮影画像のない画像のけ
られが発生するため、予め設定される電子変倍係数より
大きな電子変倍率で拡大し、なおかつ所望のプリントサ
イズに納めるために、不必要に拡大して撮影画像の一部
を切り落とさない最小の電子変倍率に微調整するが、そ
の電子変倍率の微調係数の算出のために、プリント出力
サイズ(図6に示す工程100)および上述した方法で
確定した収差補正の補正式に基づいて、画像のけられ量
の算出(図6に示す工程106)を行ない、この算出さ
れた画像のけられ量を用いて、画像のけられの生じない
ための電子変倍率Kの微調係数αを算出する。微調係数
αと電子変倍率Kの積αKが、本スキャン画像データに
電子変倍処理をする電子変倍率となる。
The main scan image data (fine scan data) stored in the main scan memory 42 is an LUT
Various kinds of data are sent to the MTX processing unit 64 by using a table (LUT) for gray balance adjustment and a matrix operation (MTX) for performing saturation correction based on image processing conditions adjusted and determined by the operator for the prescan image. Perform image processing. After being processed by the LUT / MTX processing unit 64, it is sent to the image correction unit 56. The image correction unit 56 corrects the chromatic aberration of magnification and the distortion of the main scan image data using the correction formula determined by the pre-scan image data, and then performs the electronic scaling process (step 108 shown in FIG. 6). ). In this case, since the main scan image data is output as print output data,
The correction coefficient changes according to the number of output pixels of the printer and the output conditions set at the time of prescan, such as the printer output size and the number of pixels of input image data, and is determined by the prescan image data to be displayed on the monitor 20. Different from the correction coefficient. The correction formula used for the main scan image data is calculated when the correction formula for the pre-scan image is determined by the operator. Further, if the distortion is corrected, an image without a photographed image is generated in a peripheral area of the rectangular image, so that the image is enlarged at an electronic magnification larger than a preset electronic magnification coefficient, and a desired print size is obtained. In order to calculate the fine adjustment coefficient of the electronic scaling factor, the print output size (see FIG. 6) is adjusted. Based on the correction formula for aberration correction determined by the above-described method, the image blur amount is calculated (step 106 shown in FIG. 6), and the calculated image blur amount is used. , A fine adjustment coefficient α of the electronic scaling factor K for preventing the image from being blurred. The product αK of the fine adjustment coefficient α and the electronic scaling factor K is an electronic scaling factor for performing electronic scaling processing on the main scan image data.

【0058】これらの確定した補正式、電子変倍率Kお
よび微調係数αを用いて画像データの補正を行う。補正
は上述した様に、メモリの節約および補正処理速度の向
上の観点から、撮影された画像から入力画像データを得
る時に決まる画像の第一の方向および第一の方向と直交
した第二の方向の各々について、倍率色収差補正および
歪曲収差補正の補正処理を、それぞれ別々に、一次元的
に処理する。その際、プレスキャン画像データ同様に、
一方向のみの補正処理を行ってもかまわない。画像補正
部56で倍率色収差の補正、歪曲収差の補正、必要に応
じたスキャナの色ずれ補正および電子変倍処理を行った
後、画像処理部57へ送られる。画像処理部57では、
シャープネス処理や覆い焼き処理等を必要に応じて行
い、その後画像データ変換部58に送られる(図6に示
す工程110のセットアップその他)。画像データ変換
部58でプリンタ出力用のデータに画像変換され、プリ
ンタ16に出力画像データとして送られる(図6に示す
工程116)。
The image data is corrected using the determined correction formula, electronic scaling factor K and fine adjustment coefficient α. As described above, the first direction of the image determined when obtaining the input image data from the captured image and the second direction orthogonal to the first direction are determined from the viewpoint of saving the memory and improving the correction processing speed as described above. For each of the above, the correction processing of the magnification chromatic aberration correction and the distortion aberration correction is separately and one-dimensionally processed. At that time, like the pre-scan image data,
Correction processing in only one direction may be performed. After being subjected to magnification chromatic aberration correction, distortion aberration correction, scanner color shift correction and electronic scaling processing as required by the image correction unit 56, the image data is sent to the image processing unit 57. In the image processing unit 57,
Sharpness processing, dodging processing, and the like are performed as necessary, and then sent to the image data conversion unit 58 (setup of step 110 shown in FIG. 6 and others). The image data is converted into data for printer output by the image data converter 58 and sent to the printer 16 as output image data (step 116 shown in FIG. 6).

【0059】プリンタ16は、供給された出力画像デー
タに応じて感光材料(印画紙)を露光して潜像を記録す
る記録装置(焼付装置)と、露光材の感光材料に所定の
処理を施してプリントとして出力するプロセサ(現像装
置)とから構成される。記録装置では、感光材料をプリ
ントに応じた所定長に切断した後、感光材料の分光感度
特性に応じたR露光、G露光、B露光の3種のビームを
画像処理装置14から出力された出力画像データに応じ
て変調して主走査方向に偏向するとともに、主走査方向
と直交する副走査方向に感光材料を搬送することによ
り、前記光ビームで感光材料を2次元的に走査露光して
潜像を記録し、プロセサに供給する。感光材料を受け取
ったプロセサは、発色現象、漂白定着、水洗等の所定の
湿式現像処理を行い、乾燥してプリントとしてフィルム
1本分等の所定単位に仕分けして集積する。
The printer 16 exposes a photosensitive material (printing paper) in accordance with the supplied output image data to record a latent image thereon, and performs a predetermined process on the exposed photosensitive material. And a processor (developing device) for outputting as a print. The recording device cuts the photosensitive material into a predetermined length corresponding to the print, and outputs three types of beams of R exposure, G exposure, and B exposure according to the spectral sensitivity characteristics of the photosensitive material. The light beam is modulated in accordance with the image data and deflected in the main scanning direction, and the photosensitive material is conveyed in the sub-scanning direction orthogonal to the main scanning direction. The image is recorded and supplied to the processor. The processor that has received the photosensitive material performs a predetermined wet developing process such as color development, bleach-fixing, and washing with water, and then dries and sorts the prints into predetermined units such as one film to accumulate.

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

【0061】[0061]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、倍率色収差補正および歪曲収差補正をするため
に、モニタに表示された画像を見ながら補正レベルを指
定して確定した補正式で、また、プリント範囲を指定し
て最適な補正レベルに調整した補正式で倍率色収差や歪
曲収差の補正処理をする処理方法を実施することで、レ
ンズ特性を得ることができなかった場合でも、倍率色収
差および歪曲収差の補正が可能であり、さらに撮影され
た重要な画像情報が必ずプリント出力されるように適切
な補正処理を施すことのできる画像処理方法および画像
処理装置を提供することができる。
As described above in detail, according to the present invention, in order to correct the chromatic aberration of magnification and the distortion, the correction determined by specifying the correction level while viewing the image displayed on the monitor. Even if the lens characteristics could not be obtained by implementing the processing method of correcting the chromatic aberration of magnification and distortion by using the correction formula in which the print range was specified and adjusted to the optimum correction level by specifying the print range, It is possible to provide an image processing method and an image processing apparatus which can correct lateral chromatic aberration and distortion, and can perform appropriate correction processing so that important photographed image information is always printed out. it can.

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

【図1】 歪曲収差補正前の画像と補正後の画像の外郭
を示した概念図である。
FIG. 1 is a conceptual diagram showing an outline of an image before distortion correction and an image after correction.

【図2】 本発明の画像処理方法を実施し、また本発明
の画像再生装置を含んだ再生装置の一実施例のブロック
図である。
FIG. 2 is a block diagram of an embodiment of a reproducing apparatus that implements the image processing method of the present invention and includes the image reproducing apparatus of the present invention.

【図3】 (A)は、図1に示す画像処理装置に用いら
れる画像読み取り装置の要部を模式的に示す斜視図であ
り、(B)は(A)に示す画像読み取り装置に用いられ
るCCDラインセンサの配置を示した模式図である。
FIG. 3A is a perspective view schematically showing a main part of an image reading apparatus used in the image processing apparatus shown in FIG. 1, and FIG. 3B is used in the image reading apparatus shown in FIG. FIG. 2 is a schematic diagram illustrating an arrangement of CCD line sensors.

【図4】 図1に示される画像読み取り装置にセットさ
れるフィルムの平面図である。
FIG. 4 is a plan view of a film set in the image reading apparatus shown in FIG.

【図5】 本発明である画像処理装置の一実施例を示す
ブロック図である。
FIG. 5 is a block diagram showing an embodiment of the image processing apparatus according to the present invention.

【図6】 本発明である画像処理方法のフローの一例を
示すフローチャートである。
FIG. 6 is a flowchart illustrating an example of a flow of an image processing method according to the present invention.

【図7】 本発明である画像処理方法のフローの一例を
詳細に示すフローチャートである。
FIG. 7 is a flowchart showing an example of the flow of an image processing method according to the present invention in detail.

【図8】 本発明である画像処理方法のフローの他の一
例を詳細に示すフローチャートである。
FIG. 8 is a flowchart showing another example of the flow of the image processing method according to the present invention in detail.

【図9】 (A)および(B)は、本発明の画像処理方
法でモニタに表示される画面の一例である。
FIGS. 9A and 9B are examples of a screen displayed on a monitor by the image processing method of the present invention.

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

10 (デジタル)フォトプリンタ 12 スキャナ 14 画像処理装置 16 プリンタ 18 操作系 18a キーボード 18b マウス 20 モニタ 22 光源 24 可変絞り 28 拡散ボックス 29 マスク 30 キャリア 31 磁気読み取り書き込み装置 32 結像レンズユニット 33 フィルムカートリッジ 34 CCDセンサ 36 アンプ 38 データ処理部 40 プレスキャン(フレーム)メモリ 42 本スキャン(フレーム)メモリ 44 プレスキャン画像処理部 46 本スキャン画像処理部 48 条件設定部 49 画像データ抽出部 50,54 (画像)処理部 51,56 画像補正部 52,58 画像データ変換部 53,57 画像処理部 60 補正係数設定部 62,64 LUT・MTX演算部 72 (画像処理条件)設定部 74 キー補正部 76 パラメータ統合部 10 (Digital) Photo Printer 12 Scanner 14 Image Processing Device 16 Printer 18 Operation System 18a Keyboard 18b Mouse 20 Monitor 22 Light Source 24 Variable Aperture 28 Diffusion Box 29 Mask 30 Carrier 31 Magnetic Read / Write Device 32 Imaging Lens Unit 33 Film Cartridge 34 CCD Sensor 36 Amplifier 38 Data processing unit 40 Prescan (frame) memory 42 Main scan (frame) memory 44 Prescan image processing unit 46 Main scan image processing unit 48 Condition setting unit 49 Image data extraction unit 50, 54 (Image) processing unit 51, 56 Image correction unit 52, 58 Image data conversion unit 53, 57 Image processing unit 60 Correction coefficient setting unit 62, 64 LUT / MTX calculation unit 72 (Image processing condition) setting unit 74 Key correction unit 7 Parameter integration unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】撮影レンズを用いて光学的に撮影された画
像から入力画像データを得、この入力画像データに対し
て前記画像の位置情報を用いて、倍率色収差および歪曲
収差の少なくとも一つの収差を補正するに際し、 始めに、前記収差の補正レベルを初期値に設定して、前
記入力画像データに前記収差の補正処理を施した後に、
この収差補正結果をモニタに表示し、前記補正レベルを
前記初期値に対して複数段階で指定可能にしておき、 前記補正レベルを前記複数段階の一つを指定する毎に、
指定された段階の補正レベルに応じて再び前記入力画像
データに対して前記収差の補正処理を行ない、その収差
補正結果をモニタに表示することを特徴とする画像処理
方法。
An input image data is obtained from an image optically photographed by using a photographing lens, and at least one of chromatic aberration of magnification and distortion is obtained by using positional information of the image with respect to the input image data. In correcting, first, the aberration correction level is set to an initial value, and after performing the aberration correction processing on the input image data,
This aberration correction result is displayed on a monitor, and the correction level can be specified in a plurality of steps with respect to the initial value. Each time the correction level is specified in one of the plurality of steps,
An image processing method, wherein the aberration correction processing is performed again on the input image data according to a correction level at a designated stage, and the aberration correction result is displayed on a monitor.
【請求項2】前記初期値は、デフォルト値であり、 前記補正レベルの指定は、このデフォルト値、または前
記画像に応じた収差パターンに応じて予め設定された前
記倍率色収差および前記歪曲収差の補正関数の少なくと
も一つの収差の補正関数の補正係数を前記デフォルト値
に対して複数用意しておき、これらの複数の補正係数の
一つを指定することである請求項1に記載の画像処理方
法。
2. The method according to claim 1, wherein the initial value is a default value, and the correction level is specified by the correction of the chromatic aberration of magnification and the distortion preset according to the default value or an aberration pattern corresponding to the image. 2. The image processing method according to claim 1, wherein a plurality of correction coefficients of at least one aberration correction function are prepared for the default value, and one of the plurality of correction coefficients is designated.
【請求項3】前記初期値は、前記画像の画素位置情報と
前記撮影レンズのレンズ特性によって自動的に定まる補
正値、あるいは、オペレータの指示によって定まる補正
値であり、 前記補正レベルの指定は、前記撮影レンズのレンズ特性
に応じて、あるいは、オペレータの指示によって設定さ
れる前記倍率色収差および前記歪曲収差の補正関数の少
なくとも一つの収差の補正関数の補正係数を前記補正値
に対して複数用意しておき、これらの複数の補正係数の
一つを指定することである請求項1に記載の画像処理方
法。
3. The method according to claim 1, wherein the initial value is a correction value automatically determined by pixel position information of the image and a lens characteristic of the photographing lens, or a correction value determined by an instruction of an operator. A plurality of correction coefficients of at least one aberration correction function of the chromatic aberration of magnification and the correction function of the distortion set according to the lens characteristics of the photographing lens or according to an instruction of an operator are prepared for the correction value. 2. The image processing method according to claim 1, wherein one of the plurality of correction coefficients is designated.
【請求項4】前記倍率色収差および歪曲色収差の少なく
とも一つの収差の補正は、前記画像の第一の方向および
この第一の方向と直交する第二の方向の少なくとも一方
について行われる請求項1〜3のいずれかに記載の画像
処理方法。
4. The method according to claim 1, wherein the correction of at least one of the lateral chromatic aberration and the distortion chromatic aberration is performed in at least one of a first direction of the image and a second direction orthogonal to the first direction. 3. The image processing method according to any one of 3.
【請求項5】指定された前記補正レベルに応じて前記収
差が補正処理され、前記モニタに表示された前記補正結
果は、取り消され、前記補正レベルが初期値である収差
補正結果の状態の画像データまたは前記収差補正前の状
態の前記入力画像データに戻される請求項1〜4のいず
れかに記載の画像処理方法。
5. An image in which the aberration is corrected in accordance with the specified correction level, the correction result displayed on the monitor is canceled, and the aberration correction result is in an initial state of the correction level. The image processing method according to claim 1, wherein the input image data is returned to data or the input image data in a state before the aberration correction.
【請求項6】指定された前記補正レベルに応じて前記収
差補正の結果生じるプリントできない量を算出し、プリ
ント有効エリアを前記収差補正画像とともに前記モニタ
に表示する請求項1〜5のいずれかに記載の画像処理方
法。
6. The monitor according to claim 1, wherein an unprintable amount resulting from the aberration correction is calculated according to the specified correction level, and a print effective area is displayed on the monitor together with the aberration corrected image. The image processing method described in the above.
【請求項7】請求項1〜6のいずれかに記載の画像処理
方法であって、前記倍率色収差および歪曲収差の少なく
とも一方の収差の補正処理に先だって、前記入力画像デ
ータに基づいて前記収差補正処理前の画像を前記モニタ
表示し、プリント範囲を指定し、 指定されたプリント範囲内で補正レベルを複数段階で変
化させた前記収差の補正処理を行ない、 前記収差補正が最大となる補正処理を行うことを特徴と
する画像処理方法。
7. The image processing method according to claim 1, wherein the correction of the aberration is performed based on the input image data prior to the correction of at least one of the chromatic aberration of magnification and the distortion. The image before processing is displayed on the monitor, a print range is specified, and the correction processing of the aberration is performed in which the correction level is changed in a plurality of steps within the specified print range. An image processing method characterized by performing.
【請求項8】撮影レンズを用いて光学的に撮影された画
像から入力画像データを得、この入力画像データに対し
て前記画像の位置情報を用いて、倍率色収差および歪曲
収差の少なくとも一つの収差を補正するに際し、 前記収差の補正が、前記撮影された画像領域の中からプ
リント範囲を指定し、指定されたプリント範囲から定ま
る画像のけられ量から、前記収差の補正関数の補正係数
を算出し、この算出された補正係数と前記収差の補正関
数とを用いて前記収差の補正を行うことを特徴とする画
像処理方法。
8. An input image data is obtained from an image optically photographed using a photographing lens, and at least one of chromatic aberration of magnification and distortion is obtained by using positional information of the image with respect to the input image data. When correcting the aberration, the correction of the aberration specifies a print range from the captured image area, and calculates the correction coefficient of the correction function of the aberration from the amount of image blur determined from the specified print range. And correcting the aberration by using the calculated correction coefficient and the correction function of the aberration.
【請求項9】撮影レンズを用いて光学的に撮影された画
像から入力画像データを得、この入力画像データに対し
て前記画像の位置情報を用いて、倍率色収差および歪曲
収差の少なくとも一つの収差を補正する画像処理装置で
あって、 前記入力画像データに基づいて前記収差の補正後の画像
を表示する画像表示装置と、 前記収差の補正レベルの初期値を取得する取得手段と、 この取得手段によって取得された前記補正レベルを複数
段階で指定する指定手段と、 前記取得手段によって取得された前記補正レベルの初期
値、あるいは前記指定手段によって指定された補正レベ
ルの段階に応じて、前記収差を補正する補正手段とを有
し、 その指定手段が、 前記取得手段によって取得された前記補正レベルの初期
値に応じて、前記補正手段によって前記収差の補正処理
をして、その補正結果を前記画像表示装置に表示した
後、 表示された補正画像から前記補正レベルの段階を指定
し、指定された前記補正レベルの段階に応じて前記補正
レベルの段階に応じて前記収差の補正処理を行ない、そ
の補正結果を画像表示装置に表示することを特徴とする
画像処理装置。
9. Input image data is obtained from an image optically photographed using a photographing lens, and at least one of chromatic aberration of magnification and distortion is obtained by using position information of the image with respect to the input image data. An image display device that displays an image after the aberration is corrected based on the input image data, an obtaining unit that obtains an initial value of the aberration correction level, and an obtaining unit that obtains an initial value of the aberration correction level. Designation means for designating the correction level acquired in a plurality of stages, and the aberration according to the initial value of the compensation level acquired by the acquisition means or the stage of the compensation level designated by the designation means Correction means for correcting, wherein the designating means is provided by the correcting means according to the initial value of the correction level acquired by the acquiring means. After performing the correction process of the aberration and displaying the correction result on the image display device, the stage of the correction level is designated from the displayed corrected image, and the correction is performed according to the designated stage of the correction level. An image processing apparatus, wherein the correction processing of the aberration is performed according to a level stage, and the correction result is displayed on an image display device.
JP13900398A 1998-05-20 1998-05-20 Image processing method and image processing apparatus Expired - Fee Related JP3631370B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP13900398A JP3631370B2 (en) 1998-05-20 1998-05-20 Image processing method and image processing apparatus
US09/315,036 US6747757B1 (en) 1998-05-20 1999-05-20 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13900398A JP3631370B2 (en) 1998-05-20 1998-05-20 Image processing method and image processing apparatus

Publications (2)

Publication Number Publication Date
JPH11331543A true JPH11331543A (en) 1999-11-30
JP3631370B2 JP3631370B2 (en) 2005-03-23

Family

ID=15235217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13900398A Expired - Fee Related JP3631370B2 (en) 1998-05-20 1998-05-20 Image processing method and image processing apparatus

Country Status (1)

Country Link
JP (1) JP3631370B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172275A (en) * 2004-12-17 2006-06-29 Noritsu Koki Co Ltd Image processing method and image processor
WO2007129444A1 (en) * 2006-04-14 2007-11-15 Nikon Corporation Image distortion correction method, distortion correction program, and optical device
JP2008228071A (en) * 2007-03-14 2008-09-25 Nikon Corp Method, program and device for distortion correction, and imaging apparatus
JP2010072761A (en) * 2008-09-16 2010-04-02 Canon Inc Image processing device, image processing method, and program
US8699760B2 (en) 2008-09-16 2014-04-15 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008081575A1 (en) 2006-12-27 2008-07-10 Nikon Corporation Distortion correcting method, distortion correcting device, distortion correcting program, and digital camera

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172275A (en) * 2004-12-17 2006-06-29 Noritsu Koki Co Ltd Image processing method and image processor
WO2007129444A1 (en) * 2006-04-14 2007-11-15 Nikon Corporation Image distortion correction method, distortion correction program, and optical device
JP4798221B2 (en) * 2006-04-14 2011-10-19 株式会社ニコン Image distortion correction method, distortion correction program, and optical apparatus
US8120676B2 (en) 2006-04-14 2012-02-21 Nikon Corporation Image distortion correcting method, carrier medium carrying distortion correcting program, and optical apparatus
JP2008228071A (en) * 2007-03-14 2008-09-25 Nikon Corp Method, program and device for distortion correction, and imaging apparatus
JP2010072761A (en) * 2008-09-16 2010-04-02 Canon Inc Image processing device, image processing method, and program
US8699760B2 (en) 2008-09-16 2014-04-15 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP3631370B2 (en) 2005-03-23

Similar Documents

Publication Publication Date Title
US6747757B1 (en) Image processing method and apparatus
JP3766308B2 (en) Camera and image forming system
JPH11175699A (en) Picture processor
US6646760B1 (en) Image processing method and apparatus
JPH1186021A (en) Image processor
US6507704B2 (en) Pseudo-zoom camera and image processing system using the pseudo-zoom camera
US6324345B1 (en) Photographic film with recorded information, method of acquiring the information recorded on photographic film, image processing method using the acquired information, and print system using the same
US6584287B2 (en) Camera and image forming system using the camera
JP3998369B2 (en) Image processing method and image processing apparatus
JP3451202B2 (en) Image processing method
JP3783817B2 (en) Image processing method and image processing apparatus
JP3631370B2 (en) Image processing method and image processing apparatus
US20030053099A1 (en) Image reader for efficiently and properly operating a scanner and an image processing unit
JP3549413B2 (en) Image processing method and image processing apparatus
US6674466B1 (en) Image processing apparatus utilizing light distribution characteristics of an electronic flash
JP2001086332A (en) Image processor
JP3808742B2 (en) Pseudo zoom camera
JP2000324339A (en) Picture processing method and its device
US6633418B1 (en) Image reading method and image reading apparatus
US7099048B2 (en) Image reproducing method and image reproducing apparatus
JP3625370B2 (en) Image processing method and image processing apparatus
JP3653661B2 (en) Image processing device
JP3576812B2 (en) Image processing apparatus and image processing method
JPH11313214A (en) Image processing method and image processing unit
JP4204673B2 (en) Image processing method and image processing apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040506

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040705

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041216

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071224

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081224

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081224

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091224

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101224

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101224

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111224

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111224

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121224

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121224

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20131224

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees