JP2000115509A - Image processing method and image processor - Google Patents

Image processing method and image processor

Info

Publication number
JP2000115509A
JP2000115509A JP10276679A JP27667998A JP2000115509A JP 2000115509 A JP2000115509 A JP 2000115509A JP 10276679 A JP10276679 A JP 10276679A JP 27667998 A JP27667998 A JP 27667998A JP 2000115509 A JP2000115509 A JP 2000115509A
Authority
JP
Japan
Prior art keywords
image
aberration
correction parameter
lens
aberration correction
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
JP10276679A
Other languages
Japanese (ja)
Other versions
JP4204673B2 (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 JP27667998A priority Critical patent/JP4204673B2/en
Priority to US09/301,538 priority patent/US6603885B1/en
Publication of JP2000115509A publication Critical patent/JP2000115509A/en
Priority to US10/201,895 priority patent/US6856707B2/en
Priority to US10/201,447 priority patent/US6862373B2/en
Application granted granted Critical
Publication of JP4204673B2 publication Critical patent/JP4204673B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To output an image with high image quality without distortion and color slurring by applying scaling processing to aberration correction parameter based on at least one of an electronic magnification, number of input pixels, a size of an input image and a size of an output image and using the aberration correction parameter that is scaling-processed for the parameter corresponding to a pixel unit of output image data to correction an aberration of the image resulting from a lens used to photograph an image. SOLUTION: A correction parameter supply section 74 stores an aberration correction parameter of an image corresponding to various lens types at an image forming plane. A correction parameter supply section 74 selects a aberration correction parameter corresponding to a lens type used to photograph the image and gives the parameter to a correction parameter conversion section 75. The correction parameter conversion section 75 applies scaling processing to the aberration correction parameter and gives it to an aberration correction section 72 as the aberration correction parameter in the unit of pixels of the output image. The aberration correction section 72 uses the aberration correction parameter received from the correction parameter conversion section 75 to correct a distortion and a magnification chromatic aberration of the image.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルの画像処
理方法および画像処理装置の技術分野に属し、詳しく
は、フィルム画像を光電的に読み取り、この画像が再現
されたプリント(写真)を得るデジタルフォトプリンタ
等において、レンズ付きフィルムや安価なコンパクトカ
メラやデジタルカメラ等の性能の高くないレンズで撮影
された画像であっても、レンズの収差による画質劣化の
ない、高画質な画像を得ることができる画像処理方法お
よび画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention belongs to the technical field of a digital image processing method and a digital image processing apparatus. More specifically, the present invention relates to a digital image processing apparatus for reading a film image photoelectrically and obtaining a print (photograph) in which the image is reproduced. In a photo printer or the like, it is possible to obtain a high-quality image without deterioration in image quality due to lens aberration, even if the image is taken with a lens with a low performance such as a film with a lens, an inexpensive compact camera or a digital camera. The present invention relates to a possible image processing method and an image processing apparatus.

【0002】[0002]

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

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

【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. By suitably performing (sharpening) processing or the like, a high-quality print that cannot be obtained by conventional direct exposure can be obtained. In addition, the composition of images and characters can be performed by image data processing, and prints that have been freely edited / processed according to the intended use can be output.

【0005】しかも、デジタルフォトプリンタによれ
ば、フィルムに撮影された画像以外にも、デジタルカメ
ラで撮影された画像やコンピュータで処理した画像もプ
リントして出力でき、また、プリント以外にも、画像デ
ータをコンピュータ等に供給したり、フロッピーディス
ク等の記録媒体に保存しておくこともできるので、画像
データを、写真以外の様々な用途に利用することができ
る。
Further, according to the digital photo printer, in addition to the image photographed on the film, an image photographed by a digital camera or an image processed by a computer can be printed and output. Since the data can be supplied to a computer or the like or can be stored in a recording medium such as a floppy disk, the image data can be used for various purposes other than a photograph.

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

【0007】[0007]

【発明が解決しようとする課題】ところで、フィルムに
撮影された画像をプリントに再生した際の画質劣化の一
因として、カメラのレンズ性能に起因する、いわゆるレ
ンズ収差による画質劣化が挙げられる。
One of the causes of image quality deterioration when an image photographed on a film is reproduced on a print is image quality deterioration due to so-called lens aberration caused by camera lens performance.

【0008】例えば、1枚のレンズであっても、R
(赤)光、G(緑)光、およびB(青)光では屈折率が
異なる。そのため、シーン中の同位置でも、R光、G光
およびB光でフィルム上での結像位置が異なる、いわゆ
る倍率色収差を生じ、フィルムに撮影された画像を再生
すると、得られた画像に色ズレが生じてしまう。また、
適正な撮影画像を得るためには、シーン中の光軸に垂直
な平面は、光軸に対して垂直な同一平面上に結像される
必要がある。ところが、通常のレンズでは、結像面が光
軸方向にずれる、いわゆる歪曲収差を生じて結像画像が
歪み、フィルムに撮影された画像を再生すると、得られ
た画像が歪みを有するものとなってしまう。さらに、レ
ンズの性能に応じて生じる、中心部よりも周辺部の方が
画像が暗くなってしまう周辺光量の低下や、ピント位置
がフィルムの面方向で異なることに起因するピントボケ
等も、画質劣化の原因となっている。
For example, even with one lens, R
The (red) light, G (green) light, and B (blue) light have different refractive indexes. Therefore, even at the same position in the scene, the so-called chromatic aberration of magnification occurs at the same position on the film between the R light, the G light, and the B light. Deviation occurs. Also,
In order to obtain an appropriate captured image, a plane perpendicular to the optical axis in the scene needs to be formed on the same plane perpendicular to the optical axis. However, with a normal lens, the image plane shifts in the direction of the optical axis, so-called distortion occurs, and the formed image is distorted. When an image captured on a film is reproduced, the obtained image has distortion. Would. Furthermore, the image quality is also degraded due to a decrease in the amount of peripheral light, which causes the image to be darker in the peripheral part than in the central part, and out-of-focus caused by the focus position being different in the plane direction of the film, which occurs depending on the performance of the lens. Is the cause.

【0009】一眼レフカメラ等のように、ある程度のコ
ストを掛けられるカメラであれば、精度の高いレンズを
用い、さらに複数枚のレンズを組み合わせることによ
り、各種の収差を補正して、フィルムに適正画像を撮影
することができる。しかしながら、レンズ付きフィルム
やコンパクトカメラのように、安価であることが要求さ
れるカメラでは、レンズにコストを掛けることができな
いため、フィルムに撮影された画像に収差が生じてしま
う。その結果、プリントとして再生された画像が、色ズ
レや歪を有するものとなってしまう。
For a camera such as a single-lens reflex camera, which can incur a certain amount of cost, a high-precision lens is used, and a combination of a plurality of lenses is used to correct various aberrations so that the film can be properly adjusted. Images can be taken. However, in a camera that is required to be inexpensive, such as a film with a lens and a compact camera, the cost of the lens cannot be increased, so that an aberration occurs in an image photographed on the film. As a result, an image reproduced as a print has color misregistration and distortion.

【0010】本発明の目的は、前記従来技術の問題点を
解決することにあり、レンズ付きフィルム、安価なコン
パクトカメラ、安価なデジタルカメラによって撮影され
た画像であっても、画像処理によって、レンズの性能に
起因する画像の収差(レンズの収差に起因する画質劣
化)を補正して、歪や色ズレ等のない高画質な画像を出
力することを可能にする、デジタルの画像処理方法およ
び画像処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art. Even if an image is taken by a film with a lens, an inexpensive compact camera, or an inexpensive digital camera, the lens can be processed by image processing. Digital image processing method and image that corrects image aberrations (image quality deterioration due to lens aberrations) due to the performance of the image and enables to output high-quality images without distortion, color shift, etc. An object of the present invention is to provide a processing device.

【0011】[0011]

【課題を解決するための手段】すなわち、本発明の画像
処理方法は、光学的に撮影された画像から得られた入力
画像データに画像処理を施して、出力用の出力画像デー
タとするに際し、予め設定されている前記画像を撮影し
たレンズの前記画像の結像面における収差補正パラメー
タを、前記出力画像データを得るための電子変倍率、前
記入力画像データの入力画素数、入力画像のサイズ、お
よび出力画像のサイズの少なくとも1つによってスケー
リング処理して、前記出力画像データの画素単位に対応
する収差補正パラメータとし、この画素単位の収差補正
パラメータを用いて、画像を撮影したレンズに起因する
画像の収差を補正することを特徴とする画像処理方法を
提供する。
That is, the image processing method of the present invention performs image processing on input image data obtained from an optically captured image to obtain output image data for output. Aberration correction parameters on the image forming surface of the image of the lens that captured the image set in advance, the electronic magnification for obtaining the output image data, the number of input pixels of the input image data, the size of the input image, And scaling processing by at least one of the sizes of the output image to obtain an aberration correction parameter corresponding to a pixel unit of the output image data, and using the aberration correction parameter in the pixel unit, an image caused by a lens that has captured the image. An image processing method characterized by correcting aberrations of

【0012】また、本発明の画像処理装置は、光学的に
撮影された画像から得られた入力画像データに画像処理
を施して、出力用の出力画像データとする画像処理装置
であって、前記画像を撮影したレンズを判別する判別情
報を取得する取得手段、画像を撮影するレンズの結像面
におけるレンズ収差を補正する収差補正パラメータを記
憶する記憶手段、前記取得手段が取得した判別情報に応
じて、前記記憶手段から対応するレンズの前記結像面に
おける収差補正パラメータを選択する選択手段、前記出
力画像データを得るための電子変倍率、前記入力画像デ
ータの入力画素数、入力画像のサイズ、および出力画像
のサイズの少なくとも1つによって、前記選択手段が選
択した結像面における収差補正パラメータをスケーリン
グ処理して、前記出力画像データの画素単位に対応する
収差補正パラメータに変換する変換手段、および、前記
変換手段が変換した画素単位に対応する収差補正パラメ
ータを用いて、画像を撮影したレンズに起因する画像の
収差を補正する補正手段を有することを特徴とする画像
処理装置を提供する。
An image processing apparatus according to the present invention is an image processing apparatus that performs image processing on input image data obtained from an optically captured image to obtain output image data for output. Acquiring means for acquiring identification information for identifying a lens that has captured an image; storage means for storing an aberration correction parameter for correcting a lens aberration on an image forming surface of a lens for capturing an image; Selecting means for selecting an aberration correction parameter on the imaging surface of the corresponding lens from the storage means, an electronic magnification for obtaining the output image data, the number of input pixels of the input image data, the size of the input image, And at least one of the size of the output image and scaling processing of the aberration correction parameter on the image plane selected by the selection unit, A conversion unit that converts the image data into an aberration correction parameter corresponding to a pixel unit, and an aberration correction parameter corresponding to the pixel unit converted by the conversion unit, using the aberration correction parameter corresponding to the pixel unit to correct the aberration of the image caused by the lens that captured the image. There is provided an image processing apparatus having a correction unit for performing correction.

【0013】また、前記本発明において、前記画像は、
写真フィルムに撮影された画像であって、前記入力画像
のサイズは、前記写真フィルムからの画像の読み取りサ
イズであるのが好ましく、また、前記収差が、倍率色収
差、歪曲収差、ピントボケ、および周辺光量低下の少な
くとも1つであるのが好ましい。
In the present invention, the image is:
Preferably, the size of the input image is an image taken on a photographic film, and the size of the input image is a reading size of the image from the photographic film, and the aberration is chromatic aberration of magnification, distortion, defocus, and peripheral light amount. Preferably at least one of the reductions.

【0014】さらに、前記補正手段が、前記収差補正パ
ラメータと画像位置の情報とを用いて、倍率色収差に起
因する3原色の基準となる色に対する他の色の画像位置
のずれ量を算出し、この倍率色収差に起因するずれ量
と、歪曲収差に起因する前記基準となる色の画像位置の
ずれ量とを用いて、歪曲収差と倍率色収差を補正した各
画像の適正な位置を算出し、この適正な位置を用いて歪
曲収差および倍率色収差を補正し、あるいは、この適正
な位置を用いて電子変倍処理を行なうのが好ましい。
Further, the correcting means calculates a shift amount of an image position of another color from a reference color of the three primary colors caused by the chromatic aberration of magnification, using the aberration correction parameter and information on the image position. Using the shift amount caused by this chromatic aberration of magnification and the shift amount of the image position of the reference color caused by the distortion, an appropriate position of each image corrected for the distortion and the chromatic aberration of magnification is calculated. It is preferable to correct distortion and chromatic aberration of magnification using an appropriate position, or to perform electronic scaling processing using the appropriate position.

【0015】[0015]

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

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

【0017】スキャナ12は、フィルムF等に撮影され
た画像を1コマずつ光電的に読み取る装置で、光源22
と、可変絞り24と、フィルムFに入射する読取光をフ
ィルムFの面方向で均一にする拡散ボックス28と、結
像レンズユニット32と、R(赤)、G(緑)およびB
(青)の各画像読取に対応するラインCCDセンサを有
するイメージセンサ34と、アンプ(増幅器)36と、
A/D(アナログ/デジタル)変換器38とを有して構
成される。
The scanner 12 is a device for photoelectrically reading an image photographed on a film F or the like one frame at a time.
A variable aperture 24, a diffusion box 28 for making the reading light incident on the film F uniform in the surface direction of the film F, an imaging lens unit 32, R (red), G (green), and B
An image sensor 34 having a line CCD sensor corresponding to each image reading of (blue), an amplifier 36,
An A / D (analog / digital) converter 38 is provided.

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

【0019】スキャナ12において、フィルムFに撮影
された画像を読み取る際には、光源22から射出され、
可変絞り24によって光量調整された読取光が、キャリ
ア30によって所定の読取位置に位置されたフィルムF
に入射して、透過することにより、フィルムFに撮影さ
れた画像を担持する投影光を得る。
When the scanner 12 reads an image photographed on the film F, the image is emitted from the light source 22.
The reading light, the light amount of which is adjusted by the variable aperture 24, is transmitted to the film F positioned at a predetermined reading position by the carrier 30.
, And is transmitted therethrough to obtain projection light carrying an image photographed on the film F.

【0020】キャリア30は、図2(A)に示されるよ
うに、所定の読取位置にフィルムFを位置しつつ、イメ
ージセンサ34のラインCCDセンサの延在方向(主走
査方向)と直交する副走査方向に、フィルムFの長手方
向を一致して搬送する、読取位置を副走査方向に挟んで
配置される搬送ローラ対30aおよび30bと、フィル
ムFの投影光を所定のスリット状に規制する、読取位置
に対応して位置する主走査方向に延在するスリット40
aを有するマスク40とを有する。フィルムFは、この
キャリア30によって読取位置に位置されて副走査方向
に搬送されつつ、読取光を入射される。これにより、結
果的にフィルムFが主走査方向に延在するスリット40
aによって2次元的にスリット走査され、フィルムFに
撮影された各コマの画像が読み取られる。
As shown in FIG. 2A, the carrier 30 holds the film F at a predetermined reading position, and has a sub-scanning direction orthogonal to the extending direction (main scanning direction) of the line CCD sensor of the image sensor 34. A pair of transport rollers 30a and 30b arranged so as to sandwich the reading position in the sub-scanning direction and convey the film F in the scanning direction and the longitudinal direction of the film F, and regulate the projection light of the film F into a predetermined slit shape; Slit 40 extending in the main scanning direction located corresponding to the reading position
a having a. The film F receives the reading light while being transported in the sub-scanning direction while being positioned at the reading position by the carrier 30. As a result, as a result, the film 40 has the slit 40 extending in the main scanning direction.
The two-dimensional slit scan is performed by a, and the image of each frame captured on the film F is read.

【0021】周知のように、新写真システムのフィルム
には、磁気記録媒体が形成されており、新写真システム
のフィルム(カートリッジ)に対応するキャリア30に
は、この磁気記録媒体に記録された情報を読み取り、ま
た、必要な情報を記録する磁気ヘッド42が配置されて
いる。フィルムFの磁気記録媒体に記録された情報は、
磁気ヘッド42で読み取られて、スキャナ12本体から
画像処理装置14等の必要な部位に送られ、あるいは、
各種の情報が磁気ヘッド42によってフィルムFの磁気
記録媒体に記録される。また、図中符号44は、フィル
ムに光学的に記録されるDXコード、拡張DXコード、
FNSコード等のバーコードや、フィルムに光学的に記
録された各種の情報、コマ中の画像撮影領域等を読み取
るためのセンサであり、センサ44で読み取られた各種
の情報が画像処理装置14等の所定部位に送られる。
As is well known, a magnetic recording medium is formed on the film of the new photographic system, and a carrier 30 corresponding to the film (cartridge) of the new photographic system has information recorded on the magnetic recording medium. And a magnetic head 42 for recording necessary information. The information recorded on the magnetic recording medium of the film F is
The data is read by the magnetic head 42 and sent from the main body of the scanner 12 to a necessary portion such as the image processing device 14, or
Various kinds of information are recorded on the magnetic recording medium of the film F by the magnetic head 42. Reference numeral 44 in the figure denotes a DX code optically recorded on the film, an extended DX code,
A sensor for reading a bar code such as an FNS code, various information optically recorded on a film, an image photographing area in a frame, and the like. To a predetermined site.

【0022】前述のように、読取光は、所定の読取位置
において、キャリア30に保持されたフィルムFを透過
して画像を担持する投影光となり、この投影光は、結像
レンズユニット32によってイメージセンサ34の受光
面に結像される。図2(B)に示されるように、イメー
ジセンサ34は、R画像を読み取るラインCCDセンサ
34R、G画像を読み取るラインCCDセンサ34G、
およびB画像を読み取るラインCCDセンサ34Bを有
する、いわゆる3ラインのカラーCCDセンサで、各ラ
インCCDセンサは、前述のように主走査方向に延在し
ている。フィルムFの投影光は、このイメージセンサ3
4によって、R、GおよびBの3原色に分解されて光電
的に読み取られる。イメージセンサ34の出力信号は、
アンプ36で増幅され、A/D変換器38でデジタル信
号とされて、画像処理装置14に送られる。
As described above, at a predetermined reading position, the reading light is transmitted through the film F held by the carrier 30 and becomes projection light for carrying an image. An image is formed on the light receiving surface of the sensor 34. As shown in FIG. 2B, the image sensor 34 includes a line CCD sensor 34R for reading an R image, a line CCD sensor 34G for reading a G image,
And a line CCD sensor 34B having a line CCD sensor 34B for reading the B image. Each line CCD sensor extends in the main scanning direction as described above. The projection light of the film F is transmitted to the image sensor 3
4, the light is separated into three primary colors of R, G and B and read photoelectrically. The output signal of the image sensor 34 is
The signal is amplified by the amplifier 36, converted into a digital signal by the A / D converter 38, and sent to the image processing device 14.

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

【0024】なお、本発明において、スキャナは、この
ようなスリット走査によるものに限定はされず、エリア
CCDセンサを用い、1コマの画像の全面を一度に読み
取る、面露光を利用するものであってもよい。また、フ
ォトプリンタ10は、ネガやリバーサル等のフィルムに
撮影された画像を光電的に読み取るスキャナ12以外に
も、反射原稿の画像を読み取る画像読取装置、デジタル
カメラやデジタルビデオカメラ等の撮像デバイス、コン
ピュータ通信等の通信手段、MO(光磁気記録媒体)等
の記録媒体などの、各種の供給源から画像データを受け
取って、プリントを作成することができる。すなわち、
本発明は、デジタルカメラ等の撮像デバイスで光学的に
撮影された画像(画像データ)にも好適に利用可能であ
る。
In the present invention, the scanner is not limited to the one using the slit scanning, but uses a surface exposure that reads the entire surface of one frame at a time using an area CCD sensor. You may. In addition to the scanner 12 that photoelectrically reads an image captured on a film such as a negative or a reversal, the photo printer 10 also includes an image reading device that reads an image of a reflection original, an imaging device such as a digital camera or a digital video camera, Image data can be received from various sources such as a communication means such as a computer communication or a recording medium such as an MO (magneto-optical recording medium) and a print can be created. That is,
The present invention can also be suitably used for images (image data) optically captured by an imaging device such as a digital camera.

【0025】前述のように、スキャナ12からの出力信
号(画像データ)は、画像処理装置14に出力される。
図3に画像処理装置(以下、処理装置14とする)のブ
ロック図を示す。処理装置14は、データ処理部50、
Log変換器52、プレスキャンメモリ54、本スキャ
ンメモリ56、プレスキャン処理部58、本スキャン処
理部60、および条件設定部62を有して構成される。
なお、図3は、主に画像処理関連の部位を示しており、
処理装置14には、これ以外にも、処理装置14を含む
フォトプリンタ10全体の制御や管理を行うCPU、フ
ォトプリンタ10の作動等に必要な情報を記憶するメモ
リ等が配置される。また、操作系18やディスプレイ2
0は、このCPU等(CPUバス)を介して各部位に接
続される。
As described above, the output signal (image data) from the scanner 12 is output to the image processing device 14.
FIG. 3 shows a block diagram of an image processing device (hereinafter, referred to as a processing device 14). The processing device 14 includes a data processing unit 50,
It includes a Log converter 52, a pre-scan memory 54, a main scan memory 56, a pre-scan processing unit 58, a main scan processing unit 60, and a condition setting unit 62.
FIG. 3 mainly shows parts related to image processing.
The processing device 14 further includes a CPU that controls and manages the entire photo printer 10 including the processing device 14, a memory that stores information necessary for the operation of the photo printer 10, and the like. The operation system 18 and the display 2
0 is connected to each part via the CPU or the like (CPU bus).

【0026】スキャナ12から出力されたR,Gおよび
Bの各デジタル信号は、データ処理部50において、D
Cオフセット補正、暗時補正、シェーディング補正等の
所定のデータ処理を施された後に、Log変換器52で
変換されてデジタル画像(濃度)データとされ、プレス
キャン(画像)データはプレスキャンメモリ54に、本
スキャン(画像)データは本スキャンメモリ56に、そ
れぞれ記憶される。なお、プレスキャンデータと本スキ
ャンデータは、解像度(画素密度)と信号レベルが異な
る以外は、基本的に同じデータである。
The R, G and B digital signals output from the scanner 12 are converted by the data processing section 50 into D
After performing predetermined data processing such as C offset correction, dark time correction, and shading correction, the data is converted by the Log converter 52 into digital image (density) data, and the prescan (image) data is stored in the prescan memory 54. The main scan (image) data is stored in the main scan memory 56. The pre-scan data and the main scan data are basically the same data except that the resolution (pixel density) and the signal level are different.

【0027】プレスキャンメモリ54に記憶されたプレ
スキャンデータはプレスキャン処理部58において、本
スキャンメモリ56に記憶された本スキャンデータは本
スキャン処理部60において、それぞれ処理される。プ
レスキャン処理部58は、画像処理部64およびデータ
変換部66を有して構成される。他方、本スキャン処理
部60は、画像処理部68、データ変換部70、補正パ
ラメータ供給部74、および補正パラメータ変換部75
を有して構成される。
The pre-scan data stored in the pre-scan memory 54 is processed in the pre-scan processing section 58, and the main scan data stored in the main scan memory 56 is processed in the main scan processing section 60. The pre-scan processing unit 58 includes an image processing unit 64 and a data conversion unit 66. On the other hand, the main scan processing unit 60 includes an image processing unit 68, a data conversion unit 70, a correction parameter supply unit 74, and a correction parameter conversion unit 75.
Is configured.

【0028】プレスキャン処理部58の画像処理部64
と、本スキャン処理部60の画像処理部68は、共に、
後述する条件設定部62が設定した画像処理条件に応じ
て、スキャナ12によって読み取られた画像(画像デー
タ)に所定の画像処理を施す部位である。画像処理部6
4および68は、処理する画像データの画素密度が異な
り、また、画像処理部64が収差補正部72を有さない
以外は、基本的に同じ処理を行なうので、以下の説明
は、本スキャン処理部60の画像処理部68を代表例と
して行なう。なお、本発明においては、プレスキャン処
理部58の画像処理部64にも、収差補正部を設けて、
必要に応じて、プレスキャン画像にも後述する収差補正
を行なってもよい。
The image processing section 64 of the prescan processing section 58
And the image processing unit 68 of the main scan processing unit 60
It is a part that performs predetermined image processing on an image (image data) read by the scanner 12 according to an image processing condition set by a condition setting unit 62 described later. Image processing unit 6
4 and 68 basically perform the same processing except that the pixel density of the image data to be processed is different, and the image processing unit 64 does not have the aberration correction unit 72. The image processing unit 68 of the unit 60 is performed as a representative example. In the present invention, the image processing unit 64 of the prescan processing unit 58 is also provided with an aberration correction unit,
If necessary, the prescanned image may be subjected to aberration correction described later.

【0029】画像処理部68(64)のLUTは、LU
T(ルックアップテーブル)によって、画像の色バラン
ス調整、コントラスト調整(階調処理)、および明るさ
調整(濃度調整)を行なう部位である。また、MTX
は、マトリクス演算によって、画像の彩度調整を行なう
部位である。
The LUT of the image processing unit 68 (64) is LU
This is a portion for performing color balance adjustment, contrast adjustment (gradation processing), and brightness adjustment (density adjustment) of an image by using a T (lookup table). Also, MTX
Is a part for adjusting the saturation of an image by a matrix operation.

【0030】本スキャン処理部60の画像処理部68に
は、MTXとブロック68Aとの間に、画像を撮影した
カメラのレンズ特性に起因する歪曲収差および倍率色収
差の補正、ならびに電子変倍処理を行う、収差補正部7
2が配置される。また、収差補正部72には、補正パラ
メータ供給部74および補正パラメータ変換部75が接
続される。
The image processing section 68 of the main scan processing section 60 includes between the MTX and the block 68A correction of distortion and chromatic aberration of magnification caused by the lens characteristics of the camera that has captured the image, and electronic zooming processing. Perform aberration correction unit 7
2 are arranged. In addition, a correction parameter supply unit 74 and a correction parameter conversion unit 75 are connected to the aberration correction unit 72.

【0031】補正パラメータ供給部74には、画像を撮
影する各種のレンズ種に対応して、画像の結像面、すな
わちフィルム面やデジタルカメラ等のイメージセンサの
受光面における、画像の収差を補正(レンズの収差特性
に起因する画質劣化を補正)する収差補正パラメータが
記憶されており、図示例においては、各種のレンズ種に
対応して、倍率色収差を補正する収差補正パラメータ、
および歪曲収差を補正する収差補正パラメータが記憶さ
れている。補正パラメータ供給部74は、レンズ種の判
別情報を取得して、フィルムF等に画像を撮影したレン
ズ種を判別し、記憶している収差補正パラメータを検索
して、判別したレンズの収差補正パラメータ選択し、補
正パラメータ変換部75に供給する。
The correction parameter supply unit 74 corrects the image aberration on the image forming surface of the image, that is, on the light receiving surface of an image sensor such as a digital camera or the like, corresponding to various kinds of lenses for photographing the image. An aberration correction parameter for correcting image quality deterioration caused by the aberration characteristic of the lens is stored. In the illustrated example, an aberration correction parameter for correcting chromatic aberration of magnification, corresponding to various lens types,
Further, aberration correction parameters for correcting distortion are stored. The correction parameter supply unit 74 obtains the lens type determination information, determines the lens type that has captured the image on the film F or the like, searches the stored aberration correction parameters, and determines the aberration correction parameters of the determined lens. And supplies it to the correction parameter converter 75.

【0032】なお、本発明においては、全ての画像に収
差補正をかけるのに限定はされず、一眼レフのように高
性能なレンズを有するカメラで撮影された、レンズ収差
の無い、あるいは極めて少ない画像には、収差補正をか
ける必要はない。収差補正の要・不要は、例えば、画像
を撮影したレンズ種(カメラの機種)に応じて判断して
もよく、あるいは、補正パラメータ供給部74に、画像
を撮影したレンズ種のレンズ特性が記憶されているか否
かで決定してもよい。
It should be noted that the present invention is not limited to the case where all the images are subjected to the aberration correction. The image taken by a camera having a high-performance lens such as a single-lens reflex camera has no or very little lens aberration. There is no need to apply aberration correction to the image. The necessity / absence of aberration correction may be determined according to, for example, the type of lens (camera model) that captured the image, or the lens parameters of the type of lens that captured the image are stored in the correction parameter supply unit 74. It may be determined based on whether or not it has been performed.

【0033】フィルムF等に画像を撮影したレンズ種を
判別する判別情報、およびその所得手段には特に限定は
なく、各種の方法が利用可能である。通常は、カメラの
機種が判ればレンズ種が判別できるので、例えば、新写
真システムのカメラであれば、フィルムFにカメラの機
種やレンズ種を磁気記録し、プリント作成時にスキャナ
12(キャリア30)において読み取り、これを用いて
カメラの機種すなわちレンズ種を判別することができ
る。また、カメラによってフィルムFにレンズ種(カメ
ラの機種)の情報を光学的に焼き付け、これをキャリア
30のセンサ44で読み取ってもよい。レンズ付きフィ
ルムであれば、製造時に、これらの情報を磁気記録ある
いは焼き付けておいて、これを利用してレンズ種を判別
してもよい。あるいは、デジタルカメラ等の撮像デバイ
スであれば、画像データ(データファイル)のヘッダに
カメラの機種やレンズ種を記録してもよい。さらに、受
け付け時に、カメラの機種を顧客に聞いて記録してお
き、プリント作成時にオペレータがこれをキーボード1
8a等で入力して、レンズ種を判別してもよい。
There is no particular limitation on the discrimination information for discriminating the type of the lens that has captured the image on the film F or the like, and there are no particular limitations on the means for obtaining the information, and various methods can be used. Normally, the lens type can be determined if the model of the camera is known. For example, in the case of a camera of a new photo system, the camera type and the lens type are magnetically recorded on the film F, and the scanner 12 (carrier 30) is used at the time of printing. , And using this, the model of the camera, that is, the lens type can be determined. Alternatively, information of the lens type (model of the camera) may be optically printed on the film F by the camera, and the information may be read by the sensor 44 of the carrier 30. In the case of a film with a lens, such information may be magnetically recorded or printed at the time of manufacture, and this may be used to determine the type of lens. Alternatively, in the case of an imaging device such as a digital camera, the camera model and lens type may be recorded in the header of the image data (data file). Further, at the time of reception, the model of the camera is asked to the customer and recorded.
The lens type may be discriminated by inputting at 8a or the like.

【0034】前述のように、補正パラメータ供給部74
は、画像を撮影したレンズ種に対応する収差補正パラメ
ータを選択して、補正パラメータ変換部75に供給す
る。ここで、補正パラメータ供給部74に記憶されてい
る収差補正パラメータは、画像を撮影したカメラの結像
面における収差の補正に対応するものであり、例えば、
結像面上における位置に対応するmm単位のパラメータ
である。補正パラメータ変換部75は、この結像面にお
ける収差補正パラメータを、画像の電子変倍率、入力画
素数(すなわち、電子変倍処理前の画素数、もしくは処
理装置14が取り込んだ画素数)、スキャナ12による
フィルムFの読取サイズ(入力画像サイズ)、および出
力画像サイズ(出力画素数)の少なくとも1つによっ
て、スケーリング(scaling)処理して、出力画像の画素
単位の収差補正パラメータとし、収差補正部72に供給
するものである。
As described above, the correction parameter supply unit 74
Selects an aberration correction parameter corresponding to the lens type that has captured the image, and supplies the selected parameter to the correction parameter conversion unit 75. Here, the aberration correction parameters stored in the correction parameter supply unit 74 correspond to the correction of the aberration on the image forming plane of the camera that has captured the image.
This is a parameter in mm unit corresponding to the position on the image plane. The correction parameter conversion unit 75 converts the aberration correction parameter on the image forming surface into an electronic scaling factor of the image, the number of input pixels (that is, the number of pixels before the electronic scaling process, or the number of pixels captured by the processing device 14), a scanner, and the like. 12, a scaling process is performed on at least one of the read size (input image size) of the film F and the output image size (the number of output pixels) to obtain an aberration correction parameter for each pixel of the output image. 72.

【0035】フィルム等に光学的に撮影された画像をプ
リントに再生する際において、レンズに起因する画像の
収差は、出力するプリントサイズ(すなわち出力画素
数)等の入/出力条件によって異なる。従って、収差を
適正に補正するためには、補正パラメータをプリントサ
イズ等に応じて変える必要がある。しかしながら、多数
のレンズ種に対応して、出力する可能性があるプリント
サイズ等の各種の条件の全てに対応して補正パラメータ
を持つためには、大きな容量のメモリが必要となり、効
率やコストの点で不利である。これに対し、本発明にお
いては、各種のレンズに対応して、結像面における収差
を補正する収差補正パラメータを記憶しておき、これを
電子変倍率、入力画素数、フィルム読取サイズ、および
出力画像サイズの少なくとも一つによって、スケーリン
グ処理して、出力画像の画素単位に対応する収差補正パ
ラメータとすることにより、レンズに起因する画像の収
差補正を行う画像処理において、上記不都合を解消し
て、効率のよい画像処理装置の実現を可能としている。
When reproducing an image optically photographed on a film or the like into a print, the aberration of the image due to the lens differs depending on input / output conditions such as the output print size (ie, the number of output pixels). Therefore, in order to properly correct the aberration, it is necessary to change the correction parameter according to the print size or the like. However, in order to have a correction parameter corresponding to all of various conditions such as a print size that may be output corresponding to a large number of lens types, a large capacity memory is required, and efficiency and cost are reduced. Disadvantageous in that. On the other hand, in the present invention, aberration correction parameters for correcting aberrations on the image forming surface are stored in correspondence with various lenses, and these are stored in an electronic magnification, the number of input pixels, the film reading size, and the output. By performing scaling processing by at least one of the image sizes and setting aberration correction parameters corresponding to pixel units of the output image, in the image processing of correcting aberration of the image caused by the lens, the above-described disadvantage is solved. It is possible to realize an efficient image processing device.

【0036】スケーリング処理を、電子変倍率、入力画
素数、フィルム読取サイズ、および出力画像サイズのい
ずれを用いて行なうかは、フォトプリンタ10のシステ
ム構成に応じて、適宜選択、設定すればよい。例えば、
フィルムの読取サイズやイメージセンサからの出力エリ
ア(入力画像サイズ)が固定で、出力画像サイズが可変
である場合には、電子変倍率および入力画素数のみでス
ケーリング処理を行なえばよい。出力画像サイズは、電
子変倍率および入力画素数で決まるので、不要である。
Whether the scaling process is performed using the electronic scaling factor, the number of input pixels, the film reading size, or the output image size may be appropriately selected and set according to the system configuration of the photo printer 10. For example,
When the reading size of the film and the output area (input image size) from the image sensor are fixed and the output image size is variable, the scaling process may be performed only with the electronic magnification and the number of input pixels. The output image size is unnecessary because it is determined by the electronic scaling factor and the number of input pixels.

【0037】これに対し、入力画像サイズおよび出力画
像サイズが、共に可変であるフォトプリンタであれば、
電子変倍率、入力画素数、およびフィルム読取サイズ
(によってスケーリング処理を行なう。フィルムFの画
像を光電的に読み取るスキャナでは、より好適な画像情
報を得るために、出力するプリントサイズ、例えば、1
35フィルムのパノラマサイズとLサイズ、新写真シス
テムのCタイプ、HタイプおよびPタイプでフィルムF
の読取サイズを変えている装置も多い。通常のレンズで
は、フィルム面上の位置によって収差は異なるものであ
り、従って、フィルムFの読取サイズによって収差特性
は異なる。そのため、このようなスキャナに対応する場
合には、電子変倍率および入力画素数に加え、フィルム
Fの読取サイズも加味してスケーリング処理を行なう。
また、デジタルカメラであれば、同様に、イメージセン
サの出力エリアを加味する。
On the other hand, if the input image size and the output image size are both variable in a photo printer,
The scaling process is performed according to the electronic magnification, the number of input pixels, and the film reading size. In a scanner that photoelectrically reads an image on the film F, in order to obtain more preferable image information, the print size to be output, for example, 1
35 film panorama size and L size, new photo system C type, H type and P type film F
Many devices change the reading size of a document. In a normal lens, the aberration varies depending on the position on the film surface, and therefore, the aberration characteristic varies depending on the read size of the film F. Therefore, when such a scanner is used, the scaling process is performed in consideration of the read size of the film F in addition to the electronic magnification and the number of input pixels.
In the case of a digital camera, the output area of the image sensor is similarly taken into account.

【0038】また、入力画素数が固定の系であれば、電
子変倍率および出力画像サイズのいずれかを用いれば、
スケーリング処理を行うことができる。但し、入力画素
数が固定であっても、入力画像サイズ(形等)が異なる
場合には、先と同様に、入力画像サイズも加える必要が
ある。出力画像サイズが固定の系であれば、入力画素数
および電子変倍率のいずれか、あるいは、同様にさらに
入力画像サイズによってスケーリング処理を行なうこと
ができる。
If the number of input pixels is fixed, if either the electronic magnification or the output image size is used,
A scaling process can be performed. However, even if the number of input pixels is fixed, if the input image size (shape and the like) is different, it is necessary to add the input image size as described above. If the output image size is a fixed system, scaling processing can be performed according to either the number of input pixels or the electronic scaling factor, or similarly, the input image size.

【0039】スケーリング処理の方法には特に限定はな
く、収差補正パラメータ等に応じて、電子変倍率や入力
画素数等を加味し、結像面上の位置に対応する収差補正
パラメータを、出力画像の画素に対応する収差補正パラ
メータに変換(換算)するスケーリング処理を行なえば
よい。また、電子変倍率、入力画素数、入力画像サイ
ズ、および出力画像サイズは、出力プリントサイズの入
力やフィルムサイズ(フィルムのタイプ)の入力等のオ
ペレータによる指示や、前述の新写真システムのフィル
ムへの磁気記録、フィルムへの光学的な記録、画像デー
タのヘッダへの記録等によって知見すればよい。なお、
フィルムサイズはスキャナ12に装着されるキャリア3
0によって知見してもよい。さらに、フィルムFに記録
された磁気情報や光学的な情報等から、画像撮影時の焦
点距離を取得して、この焦点距離に応じて収差補正パラ
メータを補正してもよい。
There is no particular limitation on the method of the scaling process, and the aberration correction parameter corresponding to the position on the image plane is converted into an output image in consideration of the electronic magnification and the number of input pixels according to the aberration correction parameter and the like. A scaling process for converting (converting) to the aberration correction parameter corresponding to the pixel of the above may be performed. The electronic magnification, the number of input pixels, the input image size, and the output image size can be specified by an operator such as input of an output print size, input of a film size (film type), or the like to the film of the above-described new photographic system. Can be obtained by magnetic recording, optical recording on a film, recording of image data on a header, and the like. In addition,
The film size is the carrier 3 mounted on the scanner 12.
It may be known by 0. Further, the focal length at the time of image capturing may be acquired from magnetic information or optical information recorded on the film F, and the aberration correction parameter may be corrected according to the focal length.

【0040】収差補正パラメータにも特に限定はなく、
例えば、収差補正を行う補正関数や補正係数であっても
よく、収差補正部72で収差補正に用いる補正関数に掛
かるあるいはこの補正関数を補正する、係数や関数であ
ってもよい。また、一般的に、歪曲収差や倍率色収差等
のレンズの収差の特性は、レンズの光軸すなわちフィル
ムFに撮影された画像の中心からの距離(例えば、x−
yで示される)をパラメータとする3次関数で、ある程
度まで近似できるので、この3次関数そのものを収差補
正パラメータとして持ってもよく、あるいは、この3次
関数に掛かるあるいはこれを補正する係数や関数を収差
補正パラメータとしてもよい。
The aberration correction parameters are not particularly limited.
For example, a correction function or a correction coefficient for performing the aberration correction may be used, or a coefficient or a function that multiplies the correction function used for the aberration correction by the aberration correction unit 72 or corrects the correction function. In general, the characteristics of aberrations of a lens such as distortion and chromatic aberration of magnification are determined by the distance from the optical axis of the lens, that is, the center of an image captured on the film F (for example, x-
(indicated by y) as a parameter, which can be approximated to a certain extent, so that the cubic function itself may be used as an aberration correction parameter, or a coefficient that is applied to or corrects the cubic function, The function may be used as the aberration correction parameter.

【0041】収差補正部72は、補正パラメータ変換部
75から供給された収差補正パラメータを用いて、画像
の歪曲収差および倍率色収差の補正を行うものであり、
図示例においては、好ましい態様として、この収差補正
パラメータと、画像データの位置(画素位置)の情報、
例えば、中心画素(撮影レンズの光軸の中心に対応する
画素)からの座標位置(中心画素から何画素目か)とを
用いて、歪曲収差および倍率色収差の補正、ならびに電
子変倍処理を行なう。なお、この座標は、例えば、x−
y座標でも極座標でもよく、画素の位置が相対的に検出
できれば、各種の位置情報が利用可能である。また、収
差補正を行なわない画像については、収差補正部72で
は電子変倍処理のみが行なわれる。
The aberration corrector 72 corrects image distortion and chromatic aberration of magnification using the aberration correction parameters supplied from the correction parameter converter 75.
In the illustrated example, as preferable aspects, the aberration correction parameter and information on the position (pixel position) of image data,
For example, correction of distortion and chromatic aberration of magnification and electronic scaling processing are performed using a coordinate position (the number of pixels from the center pixel) from a center pixel (a pixel corresponding to the center of the optical axis of the photographing lens). . This coordinate is, for example, x-
The y-coordinate or the polar coordinate may be used, and various position information can be used as long as the position of the pixel can be relatively detected. For an image for which aberration correction is not performed, the aberration corrector 72 performs only electronic scaling processing.

【0042】なお、マスク等によって切り出された画像
の中心が、ほぼ撮影時のレンズの光軸の中心として考え
られる場合には、切り出された画像の中心の画素をレン
ズの光軸の中心として、各種の収差(歪曲収差、倍率色
収差、周辺光量、画像ボケ)を補正してもよい。
When the center of an image cut out by a mask or the like is considered to be almost the center of the optical axis of the lens at the time of photographing, the center pixel of the cut out image is set as the center of the optical axis of the lens. Various aberrations (distortion, lateral chromatic aberration, peripheral light amount, image blur) may be corrected.

【0043】ここで、倍率色収差および歪曲収差の補正
を別々に行うと、演算に時間がかかり、また、補間演算
も複数回行う必要が生じるため、画質が劣化するという
問題がある。そのため、好ましくは、収差補正パラメー
タと画素位置とを用いて、R、GおよびBの3原色の基
準となる色(通常はG)を基準として、RとBの像倍率
を変換して、RおよびBの画像をG画像に合わせて倍率
色収差を補正し、その後、G画像の歪曲収差を補正し
て、画像の倍率色収差および歪曲収差を補正する。
Here, if the correction of the chromatic aberration of magnification and the distortion is separately performed, it takes a long time to perform the calculation, and the interpolation calculation needs to be performed a plurality of times. Therefore, preferably, the image magnification of R and B is converted by using the aberration correction parameter and the pixel position with reference to the reference colors (usually G) of the three primary colors of R, G, and B to obtain R The chromatic aberration of magnification is corrected by matching the images of B and B to the G image, and then the distortion of the G image is corrected to correct the chromatic aberration of magnification and the distortion of the image.

【0044】すなわち、倍率色収差に起因する基準色
(G)に対するRおよびBの画素位置のずれ量と、歪曲
収差に起因する基準色の画素位置のずれ量とから、各画
素毎の適正位置を算出し、算出された各画素の適正位置
の情報を用いて、各画素の画像データを補間演算するこ
とによって、フィルムに撮影された画像の倍率色収差お
よび歪曲収差を補正した画像データを得る。従って、歪
曲収差についてはG画像に対する演算のみを行なえばよ
いので、演算量や補間演算を減らして、より好適な補正
を行なうことができる。
That is, the appropriate position for each pixel is determined from the shift amount of the R and B pixel positions with respect to the reference color (G) caused by the chromatic aberration of magnification and the shift amount of the pixel position of the reference color caused by the distortion. By calculating and interpolating the image data of each pixel using the calculated information on the appropriate position of each pixel, image data obtained by correcting the chromatic aberration of magnification and the distortion of the image photographed on the film is obtained. Accordingly, since only the calculation for the G image needs to be performed for the distortion, the amount of calculation and interpolation calculation can be reduced, and more suitable correction can be performed.

【0045】ここで、前記スケーリング処理にも影響を
与えているが、画像処理装置では、通常、画像データ処
理による画像の拡大もしくは縮小、すなわち、電子変倍
処理を行って、画像(画像データ)を出力画像に応じた
サイズにして出力する。この電子変倍処理は、通常、画
像データを補間演算することにより行なわれる。ところ
が、前記倍率色収差および歪曲収差の補正でも補間演算
が必要であるため、2回の補間が行われる結果となり、
画質が劣化してしまう場合もある。
Here, although the scaling processing is also affected, the image processing apparatus usually enlarges or reduces an image by image data processing, that is, performs an electronic scaling process to obtain an image (image data). Is output in a size corresponding to the output image. This electronic scaling process is usually performed by performing an interpolation operation on image data. However, since the interpolation calculation is necessary even in the correction of the chromatic aberration of magnification and the distortion, the result is that the interpolation is performed twice,
The image quality may deteriorate.

【0046】そのため、より好ましくは、前記算出され
た各画素の適正位置の情報を用いて、画像データを電子
変倍率に応じたN倍補間することにより、同時に画像の
電子変倍処理を行なう。言い換えれば、倍率色収差およ
び歪曲収差による画素位置のずれ量を算出して、各画素
が本来どの位置にあるべきであるかを知見し、この適正
な位置に応じて画像データのN倍補間演算を行って電子
変倍処理を行なう。これにより、1回の補間演算で、歪
曲収差および倍率色収差の補正と、電子変倍処理とを行
なうことができる。
For this reason, it is more preferable that the image data is interpolated N times according to the electronic magnification using the information on the calculated appropriate position of each pixel, thereby simultaneously performing the electronic magnification processing of the image. In other words, the shift amount of the pixel position due to the chromatic aberration of magnification and the distortion aberration is calculated to find out where each pixel should be originally located, and the N-times interpolation calculation of the image data is performed according to the appropriate position. To perform the electronic scaling process. Thereby, the correction of the distortion and the chromatic aberration of magnification and the electronic scaling process can be performed by one interpolation operation.

【0047】図示例の収差補正部72は、上記処理方法
を実施する部位であり、図4の概念図に示されるよう
に、座標変換処理部72Aと、拡大縮小処理部72Bと
を有して構成される。なお、図4において、ir,ig
およびibは、それぞれMTXから供給された画像デー
タ(入力画像データ)の画素位置(アドレス)を; I
r,IgおよびIbは、倍率色収差および歪曲収差を補
正された画像データの画素位置を;ΔrおよびΔbは、
それぞれ倍率色収差によるGの画素位置に対するRおよ
びBの画素位置のずれ量(すなわち補正量)を; D
は、歪曲収差によるGの画素位置のずれ量を; それぞ
れ示す。
The aberration corrector 72 in the illustrated example is a part for performing the above-described processing method. As shown in the conceptual diagram of FIG. 4, the aberration corrector 72 includes a coordinate conversion processor 72A and an enlargement / reduction processor 72B. Be composed. In FIG. 4, ir, ig
And ib represent the pixel position (address) of the image data (input image data) supplied from MTX, respectively;
r, Ig and Ib denote the pixel positions of the image data in which the chromatic aberration of magnification and the distortion have been corrected;
The shift amounts (that is, correction amounts) of the R and B pixel positions with respect to the G pixel position due to the chromatic aberration of magnification, respectively;
Indicates the amount of shift of the G pixel position due to distortion;

【0048】収差補正部72においては、MTXから画
像データが供給されると、座標変換処理部72Aにおい
て、補正パラメータ変換部75から供給された(倍率色
収差の)収差補正パラメータを用いて、RおよびBの画
像データの各画素位置irおよびibにおける、Gの画
像データigに対する倍率色収差によるずれ量Δrおよ
びΔbを算出し、さらに、補正パラメータ変換部75か
ら供給された(歪曲収差の)収差補正パラメータを用い
てGの入力画像データigの歪曲収差によるずれ量Dを
算出する。
In the aberration corrector 72, when the image data is supplied from the MTX, the coordinate conversion processor 72A uses the aberration correction parameters (of the chromatic aberration of magnification) supplied from the correction parameter converter 75 to calculate R and R. The shift amounts Δr and Δb due to chromatic aberration of magnification with respect to the G image data ig at the pixel positions ir and ib of the B image data are calculated, and the aberration correction parameters (of distortion) supplied from the correction parameter conversion unit 75 are calculated. Is used to calculate the shift amount D of the G input image data ig due to distortion.

【0049】次いで、Rの入力画像データの各画素位置
irに前記ΔrとDを加えて、倍率色収差および歪曲収
差を補正されたRの画像データの画素位置Irを算出
し、Bの入力画像データの各画素位置ibに前記Δbと
Dを加えて、倍率色収差および歪曲収差を補正されたB
の画像データの画素位置Ibを算出し、Gの入力画像デ
ータの各画素位置igに前記Dを加えて、倍率色収差お
よび歪曲収差を補正されたBの画像データの画素位置I
bを算出する。すなわち、この計算では、G画像を基準
として、R画像およびB画像の倍率色収差を補正して、
全画像をG画像に位置合わせして、G画像の歪曲収差に
よるずれ量Dを用いて、全体の歪曲収差を補正して、
R,GおよびBの各画像の倍率色収差および歪曲収差を
補正された画素位置を算出している。
Next, Δr and D are added to each pixel position ir of the R input image data to calculate a pixel position Ir of the R image data in which the chromatic aberration of magnification and distortion have been corrected, and the B input image data B in which the chromatic aberration of magnification and the distortion have been corrected by adding Δb and D to each pixel position ib of
The pixel position Ib of the B image data corrected for the chromatic aberration of magnification and the distortion is calculated by adding the D to each pixel position ig of the G input image data.
b is calculated. That is, in this calculation, the chromatic aberration of magnification of the R image and the B image is corrected based on the G image,
The entire image is aligned with the G image, and the entire distortion is corrected using the shift amount D due to the distortion of the G image,
The pixel positions of the R, G, and B images in which the chromatic aberration of magnification and the distortion have been corrected are calculated.

【0050】次いで、拡大縮小処理部72Bにおいて、
この倍率色収差および歪曲収差を補正された画素位置I
r,IgおよびIbを用いて、拡大/縮小倍率に応じた
画像データの補間処理(N倍補間)を行なうことにより
画像の変倍を行ない、倍率色収差および歪曲収差を補正
され、かつ電子変倍処理を行われた画像データとして、
ブロック68Aに出力する。電子変倍処理の方法には特
に限定はなく、公知の方法が各種利用可能であり、例え
ば、バイリニア補間を用いる方法、スプライン補間を用
いる方法等が例示される。
Next, in the enlargement / reduction processing section 72B,
The pixel position I corrected for this chromatic aberration of magnification and distortion.
Using r, Ig, and Ib, the image is scaled by performing interpolation (N-fold interpolation) of the image data in accordance with the enlargement / reduction magnification, thereby correcting magnification chromatic aberration and distortion, and electronic scaling. As the processed image data,
Output to block 68A. 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.

【0051】なお、歪曲収差の補正を行なうと、再現領
域の画像が無くなる、いわゆるケラレを生じる場合があ
るので、歪曲収差の補正を行う場合には、通常よりも
0.1%〜5%程度、高い変倍率で電子変倍処理(補
間)を行なうのが好ましい。また、その際の電子変倍率
は、レンズ種に応じて各種設定してもよい。また、歪曲
収差の量は、画像の縦と横で異なる場合があるので、そ
れに応じて、縦と横で電子変倍処理の変倍率を変えても
よい。
When the distortion is corrected, the image in the reproduction area may be lost, that is, so-called vignetting may occur. Therefore, when the correction of the distortion is performed, it is 0.1% to 5% higher than usual. It is preferable to perform electronic scaling processing (interpolation) at a high scaling factor. Further, the electronic magnification at that time may be variously set according to the lens type. In addition, since the amount of distortion may differ between the vertical and horizontal directions of the image, the magnification of the electronic magnification processing may be changed between the vertical and horizontal directions.

【0052】図示例の装置においては、好ましい態様と
して、歪曲収差および倍率色収差の両者を補正している
が、いずれか一方のみを行なってもよい。この場合に
も、収差補正と電子変倍処理とを別々に行なうのではな
く、前述の方法と同様に、収差に起因するズレ量を補正
した画像の適正位置を算出し、この適正位置の情報を用
いて、画像データのN倍補間を行って電子変倍処理を行
うのが好ましい。
In the illustrated example, both distortion and lateral chromatic aberration are corrected as a preferable mode, but only one of them may be performed. Also in this case, instead of separately performing the aberration correction and the electronic scaling process, the appropriate position of the image in which the amount of deviation caused by the aberration has been corrected is calculated in the same manner as described above, and the information on the appropriate position is calculated. It is preferable to perform the electronic scaling process by performing N-fold interpolation of the image data using

【0053】さらに、歪曲収差や倍率色収差のみなら
ず、あるいはそれに代えて、レンズに起因するピントボ
ケ(PSF:Point Spread Function)や周辺光量低下等
の収差を補正する、結像面における収差補正パラメータ
も記憶しておき、先と同様にスケーリング処理を行って
出力画像の画素に対応する収差補正パラメータとして、
前記収差補正に加え、あるいはそれに代えて、ピントボ
ケ補正や周辺光量補正も行なうようにしてもよい。
Further, in addition to the distortion and the chromatic aberration of magnification, an aberration correction parameter on the image forming surface for correcting aberrations such as a focus blur (PSF: Point Spread Function) and a decrease in peripheral light amount due to the lens is also included. In advance, the scaling processing is performed in the same manner as described above, and as an aberration correction parameter corresponding to the pixel of the output image,
In addition to or instead of the aberration correction, focus blur correction and peripheral light amount correction may be performed.

【0054】画像処理部64のMTX、および収差補正
部72で処理された画像データは、次いで、ブロック6
4Aおよび68Aで処理される。ブロック64Aおよび
68Aは、シャープネス処理、覆い焼き処理(中間階調
を維持した画像ダイナミックレンジの圧縮)、文字や画
像の合成等の、前述の各種の処理以外の画像処理を行な
う部位である。
The MTX of the image processing section 64 and the image data processed by the aberration correction section 72 are then sent to block 6
Processed at 4A and 68A. Blocks 64A and 68A are portions for performing image processing other than the above-described various processing such as sharpness processing, dodging processing (compression of image dynamic range while maintaining intermediate gradation), and synthesis of characters and images.

【0055】画像処理部64および68で処理された画
像データは、データ変換部66および70に送られる。
プレスキャン処理部58のデータ変換部66は、画像処
理部64によって処理された画像データを、3D(三次
元)−LUT等を用いて変換して、ディスプレイ20に
よる表示に対応する画像データにする。なお、必要に応
じて、このデータ変換部66で電子変倍処理を行なって
もよい。他方、本スキャン処理部60のデータ変換部7
0は、同様に、画像処理部68によって処理された画像
データを3D−LUTを用いて変換し、プリンタ16に
よる画像記録に対応する画像データとしてプリンタ16
に供給する。
The image data processed by the image processing units 64 and 68 are sent to the data conversion units 66 and 70.
The data conversion unit 66 of the pre-scan processing unit 58 converts the image data processed by the image processing unit 64 by using a 3D (three-dimensional) -LUT or the like to obtain image data corresponding to the display on the display 20. . If necessary, the data conversion unit 66 may perform an electronic scaling process. On the other hand, the data conversion unit 7 of the main scan processing unit 60
0 similarly converts the image data processed by the image processing unit 68 using the 3D-LUT, and converts the converted image data into image data corresponding to image recording by the printer 16.
To supply.

【0056】プレスキャン処理部58および本スキャン
処理部60による各種の処理条件は、条件設定部62に
よって設定される。この条件設定部62は、セットアッ
プ部72、キー補正部78およびパラメータ統合部80
を有して構成される。
Various processing conditions by the prescan processing section 58 and the main scan processing section 60 are set by the condition setting section 62. The condition setting section 62 includes a setup section 72, a key correction section 78, and a parameter integration section 80.
Is configured.

【0057】セットアップ部72は、プレスキャンデー
タを用いて、本スキャンの読み取り条件を設定すると共
に、施す画像処理を選択して、画像処理部64および6
8やデータ変換部66および70における画像処理条件
を設定し、パラメータ統合部80に供給する。具体的に
は、セットアップ部76は、プレスキャンデータから、
濃度ヒストグラムの作成や、平均濃度、ハイライト(最
低濃度)、シャドー(最高濃度)等の画像特徴量の算出
等を行ない、加えて、必要に応じて行われるオペレータ
による指示に応じて、本スキャンの読み取り条件を設定
し、また、前述の色バランス調整等を行なうLUTや彩
度調整を行うマトリクス演算式の作成等の画像処理条件
を決定する。
The setup section 72 sets the reading conditions for the main scan using the pre-scan data, selects the image processing to be performed, and selects the image processing sections 64 and 6.
8 and the image processing conditions in the data conversion units 66 and 70 are set and supplied to the parameter integration unit 80. Specifically, the setup unit 76 calculates
It creates a density histogram, calculates image features such as average density, highlight (lowest density), shadow (highest density), etc. In addition, the main scan is performed according to an operator's instruction performed as necessary. Are set, and image processing conditions such as creation of an LUT for performing the above-described color balance adjustment and a matrix operation expression for performing the saturation adjustment are determined.

【0058】キー補正部78は、キーボード18a等に
よる、明るさ、色、階調、彩度等の補正指示に応じて、
画像の補正量を算出して、パラメータ統合部80に供給
するものである。パラメータ統合部80は、セットアッ
プ部76が設定した画像処理条件を受け取り、供給され
た画像処理条件をプレスキャン処理部58および本スキ
ャン処理部60の所定部位に設定し、さらに、キー補正
部78で算出された補正量に応じて、この補正を行なう
LUT等を作成して所定の部位に設定し、また、各部位
に設定した画像処理条件を補正する。
The key correction section 78 responds to a correction instruction for brightness, color, gradation, saturation, etc., from the keyboard 18a or the like.
The correction amount of the image is calculated and supplied to the parameter integration unit 80. The parameter integration unit 80 receives the image processing conditions set by the setup unit 76, sets the supplied image processing conditions in predetermined portions of the pre-scan processing unit 58 and the main scan processing unit 60, and further sets the key correction unit 78 In accordance with the calculated correction amount, an LUT or the like for performing this correction is created and set for a predetermined part, and the image processing conditions set for each part are corrected.

【0059】以下、スキャナ12および処理装置14の
作用を説明する。オペレータがフィルムFに対応するキ
ャリア30をスキャナ12に装填し、キャリア30の所
定位置にフィルムF(カートリッジ)をセットし、作成
するプリントサイズ等の必要な指示を入力した後に、プ
リント作成開始を指示する。このプリントサイズの情報
等は、処理装置14に送られ、画像処理部68や補正パ
ラメータ変換部75が、電子変倍率、入力画素数、フィ
ルム読取サイズ、出力画像サイズ等に関する情報を得
る。
Hereinafter, the operation of the scanner 12 and the processing device 14 will be described. After the operator loads the carrier 30 corresponding to the film F into the scanner 12, sets the film F (cartridge) at a predetermined position of the carrier 30, and inputs necessary instructions such as a print size to be created, and then instructs to start printing. I do. The print size information and the like are sent to the processing device 14, and the image processing unit 68 and the correction parameter conversion unit 75 obtain information on the electronic magnification, the number of input pixels, the film reading size, the output image size, and the like.

【0060】前記プリント作成開始の指示により、スキ
ャナ12の可変絞り24の絞り値やイメージセンサ(ラ
インCCDセンサ)34の蓄積時間がプレスキャンの読
取条件に応じて設定され、その後、キャリア30がフィ
ルムFをプレスキャンに応じた速度で副走査方向に搬送
して、プレスキャンが開始され、前述のように所定の読
取位置において、フィルムFがスリット走査されて投影
光がイメージセンサ34に結像して、フィルムFに撮影
された画像がR,GおよびBに分解されて光電的に読み
取られる。
In response to the print start instruction, the aperture value of the variable aperture 24 of the scanner 12 and the storage time of the image sensor (line CCD sensor) 34 are set according to the prescan reading conditions. F is conveyed in the sub-scanning direction at a speed corresponding to the pre-scan, and the pre-scan is started. At the predetermined reading position, the film F is slit-scanned and the projection light forms an image on the image sensor 34 as described above. Thus, the image photographed on the film F is decomposed into R, G, and B and photoelectrically read.

【0061】また、このフィルムFの搬送の際に、キャ
リア30の磁気ヘッド42によってフィルムFに磁気記
録された情報が読み取られ、また、センサ44によって
光学的に記録された各種の情報が読まれ、必要な情報が
処理装置14等の所定の部位に送られ、例えば、処理装
置14の補正パラメータ供給部74がレンズ種の判別情
報を得る。なお、判別情報等は、オペレータによる入力
等、各種の方法で提供されてもよいのは、前述のとおり
である。
When the film F is transported, information magnetically recorded on the film F is read by the magnetic head 42 of the carrier 30, and various information optically recorded by the sensor 44 are read. The necessary information is sent to a predetermined portion of the processing device 14 or the like. For example, the correction parameter supply unit 74 of the processing device 14 obtains identification information of the lens type. Note that the determination information and the like may be provided by various methods such as input by an operator, as described above.

【0062】なお、プレスキャンおよび本スキャンは、
1コマずつ行なってもよく、全コマあるいは所定の複数
コマずつ、連続的にプレスキャンおよび本スキャンを行
なってもよい。以下の例では、説明を簡潔にするため
に、1コマの画像読取を例に説明を行う。
The pre-scan and the main scan include
The prescan and the main scan may be performed one frame at a time, or continuously for all frames or for a predetermined plurality of frames. In the following example, one frame of image reading will be described as an example to simplify the description.

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

【0064】プレスキャンメモリ54にプレスキャンデ
ータが記憶されると、条件設定部62のセットアップ部
76がこれを読み出し、濃度ヒストグラムの作成、ハイ
ライトやシャドー等の画像特徴量の算出等を行ない、本
スキャンの読取条件を設定してスキャナ12に供給し、
また、階調調整等の各種の画像処理条件を設定し、パラ
メータ統合部80に供給する。パラメータ統合部76
は、供給された画像処理条件を、プレスキャン処理部5
6および本スキャン処理部58の所定部位(ハードウエ
ア)に設定する。
When the pre-scan data is stored in the pre-scan memory 54, the setup unit 76 of the condition setting unit 62 reads out the pre-scan data, creates a density histogram, and calculates image features such as highlights and shadows. The reading conditions for the main scan are set and supplied to the scanner 12,
Further, various image processing conditions such as gradation adjustment are set and supplied to the parameter integration unit 80. Parameter integration unit 76
Indicates the supplied image processing conditions to the pre-scan processing unit 5
6 and a predetermined portion (hardware) of the main scan processing section 58.

【0065】検定を行う場合には、プレスキャン処理部
62によってプレスキャンデータがプレスキャンメモリ
54から読み出され、画像処理部64おいて設定された
画像処理条件で画像処理され、さらに、データ変換部6
6で変換され、シュミレーション画像としてディスプレ
イ20に表示される。オペレータは、ディスプレイ20
の表示を見て、画像すなわち処理結果の確認(検定)を
行ない、必要に応じて、キーボード18aに設定された
調整キー等を用いて色、濃度、階調等を補正する。この
調整の入力は、キー補正部78に送られ、キー補正部7
8は補正入力に応じた補正量を算出し、これをパラメー
タ統合部76に送る。パラメータ統合部76は、この補
正量に応じて、これを実行するための補正条件を設定
し、また、先に設定した画像処理条件の補正等を行な
う。従って、この補正すなわちオペレータによる調整入
力に応じて、ディスプレイ20に表示される画像も変化
する。
When performing a test, pre-scan data is read from the pre-scan memory 54 by the pre-scan processing unit 62, subjected to image processing under the image processing conditions set in the image processing unit 64, and further subjected to data conversion. Part 6
6 and displayed on the display 20 as a simulation image. The operator operates the display 20
, The image, that is, the processing result is confirmed (verified), and the color, density, gradation, and the like are corrected using the adjustment keys and the like set on the keyboard 18a as necessary. The input of this adjustment is sent to the key correction unit 78 and the key correction unit 7
8 calculates a correction amount according to the correction input, and sends it to the parameter integration unit 76. The parameter integration unit 76 sets a correction condition for executing the correction in accordance with the correction amount, and corrects the previously set image processing condition. Therefore, the image displayed on the display 20 also changes according to the correction, that is, the adjustment input by the operator.

【0066】オペレータは、このコマの画像が適正(検
定OK)であると判定すると、キーボード18a等を用
いてプリント出力を指示する。これにより、画像処理条
件が確定し、スキャナ12において可変絞り24の絞り
値等が設定された本スキャンの読取条件に応じて設定さ
れると共に、キャリア30が本スキャンに対応する速度
でフィルムFを搬送し、本スキャンが開始される。な
お、検定を行なわない場合には、パラメータ統合部80
による本スキャン処理部60への画像処理条件の設定を
終了した時点で画像処理条件が確定し、本スキャンが開
始される。このような検定の有無は、モードとして選択
可能にするのが好ましい。
When the operator determines that the image of this frame is proper (OK), the operator instructs a print output using the keyboard 18a or the like. As a result, the image processing conditions are fixed, the aperture value of the variable aperture 24 is set in the scanner 12 in accordance with the reading conditions of the main scan, and the carrier 30 moves the film F at a speed corresponding to the main scan. Then, the main scan is started. When the test is not performed, the parameter integration unit 80
When the setting of the image processing conditions in the main scan processing unit 60 is completed, the image processing conditions are determined, and the main scan is started. It is preferable that the presence or absence of such a test can be selected as a mode.

【0067】本スキャンは、可変絞り24の絞り値等の
読取条件が設定された本スキャンの読取条件となる以外
はプレスキャンと同様に行なわれ、イメージセンサ34
からの出力信号はアンプ36で増幅されて、A/D変換
器38でデジタル信号とされ、処理装置14のデータ処
理部50で処理されて、Log変換器52で本スキャン
データとされ、本スキャンメモリ56に送られる。本ス
キャンデータが本スキャンメモリ54に送られると、本
スキャン処理部60によって読み出され、画像処理部6
8のLUTおよびMTXで階調調整や彩度調整が施さ
れ、次いで、収差補正部72に送られる。
The main scan is performed in the same manner as the pre-scan except that the read conditions such as the aperture value of the variable aperture 24 are set for the main scan.
Is amplified by an amplifier 36, is converted into a digital signal by an A / D converter 38, is processed by a data processing unit 50 of the processing device 14, is converted into a main scan data by a Log converter 52, and is converted into a main scan data. The data is sent to the memory 56. When the main scan data is sent to the main scan memory 54, the main scan data is read out by the main scan processing unit 60 and
The gradation adjustment and the saturation adjustment are performed by the 8 LUTs and MTX, and then sent to the aberration corrector 72.

【0068】一方、補正パラメータ供給部74は、取得
した判別情報からレンズ種を判別し、対応するレンズ種
の結像面における収差補正パラメータを読み出し、これ
を補正パラメータ変換部75に送る。補正パラメータ変
換部75は、供給された結像面における収差補正パラメ
ータを、入力されたプリントサイズの情報等から知見し
た電子変倍率、入力画素数、フィルム読取サイズ(入力
画像サイズ)、出力画像サイズ等によってスケーリング
処理して、出力画像データの画素単位に対応する収差補
正パラメータとし、これを収差補正部72に送る。
On the other hand, the correction parameter supply section 74 determines the lens type from the obtained determination information, reads out the aberration correction parameter of the corresponding lens type on the image plane, and sends it to the correction parameter conversion section 75. The correction parameter conversion unit 75 converts the supplied aberration correction parameter on the imaging plane into an electronic magnification, an input pixel number, a film reading size (input image size), and an output image size, which are found from input print size information and the like. The output image data is subjected to scaling processing to obtain an aberration correction parameter corresponding to a pixel unit of the output image data, which is sent to the aberration correction unit 72.

【0069】収差補正部72は、供給された収差補正パ
ラメータと画像データの画素位置とから、前述のように
して、座標変換処理部72Aにおいて、倍率色収差およ
び歪曲収差を補正した画素位置Ir,IgおよびIbを
算出して、拡大縮小処理部72Bに送る。拡大縮小処理
部72Bでは、画素位置Ir,IgおよびIbを用い
て、画像データのN倍補間を行って画像の電子変倍を行
ない、収差補正および電子変倍処理を施された画像デー
タとしてブロック68Aに出力する。なお、収差補正を
行なわない画像は、座標変換処理部72Aでは何の処理
も行なわれず、拡大縮小処理部72Bで電子変倍処理の
みが行なわれる。
The aberration correction unit 72 calculates the pixel positions Ir and Ig in which the chromatic aberration of magnification and the distortion have been corrected in the coordinate conversion processing unit 72A as described above, based on the supplied aberration correction parameters and the pixel positions of the image data. And Ib are calculated and sent to the scaling processor 72B. The enlargement / reduction processing section 72B performs electronic magnification of the image by performing N-times interpolation of the image data using the pixel positions Ir, Ig, and Ib, and blocks the image data as a result of the aberration correction and the electronic magnification processing. 68A. Note that an image for which aberration correction is not performed is not subjected to any processing in the coordinate conversion processing unit 72A, and is only subjected to electronic scaling processing in the scaling processing unit 72B.

【0070】画像データは、さらに、ブロック68Aに
おいてシャープネス処理や覆い焼き処理等の必要な画像
処理を施され、データ変換部70に送られ、次いで、画
像データ変換部70においてプリンタ16による画像記
録に応じた画像データに変換され、プリンタ16に送ら
れる。
The image data is further subjected to necessary image processing such as sharpness processing and dodging processing in block 68A, sent to the data conversion unit 70, and then sent to the image data conversion unit 70 for image recording by the printer 16. The image data is converted to corresponding image data and sent to the printer 16.

【0071】プリンタ16は、感光材料(印画紙)を画
像データに応じて露光して潜像を記録し、感光材料に応
じた現像処理を施して(仕上り)プリントとして出力す
るものである。例えば、感光材料をプリントに応じた所
定長に切断した後に、バックプリントの記録、感光材料
(印画紙)の分光感度特性に応じた、赤(R)露光、緑
(G)露光および青(B)露光Gの3種の光ビームを画
像データ(記録画像)に応じて変調すると共に、主走査
方向に偏向し、主走査方向と直交する副走査方向に感光
材料を搬送することによる潜像の記録等を行い、潜像を
記録した感光材料に、発色現像、漂白定着、水洗等の所
定の湿式現像処理を行い、乾燥してプリントとした後
に、仕分けして集積する。
The printer 16 exposes a photosensitive material (printing paper) in accordance with image data to record a latent image, performs a developing process in accordance with the photosensitive material, and outputs a print (finished). For example, after the photosensitive material is cut into a predetermined length corresponding to the print, recording of the back print, red (R) exposure, green (G) exposure, and blue (B) according to the spectral sensitivity characteristics of the photosensitive material (photographic paper). 3) The three types of light beams of exposure G are modulated according to image data (recorded image), deflected in the main scanning direction, and conveyed in a sub-scanning direction orthogonal to the main scanning direction to form a latent image. After performing recording and the like, the photosensitive material on which the latent image has been recorded is subjected to predetermined wet development processing such as color development, bleach-fixing, and washing with water, dried, printed, sorted, and accumulated.

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

【0073】[0073]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、ズーム機能を有する安価なコンパクトカメラ等
で撮影された画像であっても、好適に歪曲収差や倍率色
収差等の収差補正を行なうことができ、高画質な画像が
再生されたプリントを出力することができる。
As described above in detail, according to the present invention, even if an image is taken by an inexpensive compact camera or the like having a zoom function, it is possible to preferably correct aberrations such as distortion and chromatic aberration of magnification. Can be performed, and a print in which a high-quality image is reproduced can be output.

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

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

【図2】 (A)は、図1に示されるデジタルフォトプ
リンタのキャリアの概念図を、(B)は、図1に示され
るデジタルフォトプリンタのイメージセンサの概念図
を、それぞれ示す。
2A is a conceptual diagram of a carrier of the digital photo printer shown in FIG. 1, and FIG. 2B is a conceptual diagram of an image sensor of the digital photo printer shown in FIG.

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

【図4】 図3に示される画像処理装置の収差補正部の
概念図である。
4 is a conceptual diagram of an aberration correction unit of the image processing device shown in FIG.

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

10 (デジタル)フォトプリンタ 12 スキャナ 14 (画像)処理装置 16 プリンタ 18 操作系 20 ディスプレイ 22 光源 24 可変絞り 28 拡散ボックス 32 結像レンズユニット 34 イメージセンサ 36 アンプ 38 A/D変換器 40 マスク 42 磁気ヘッド 44 センサ 50 データ処理部 52 Log変換器 54 プレスキャンメモリ 56 本スキャンメモリ 58 プレスキャン処理部 60 本スキャン処理部 62 条件設定部 64,68 画像処理部 66,70 データ変換部 72 収差補正部 74 補正パラメータ供給部 75 補正パラメータ変換部 76 セットアップ部 78 キー補正部 80 パラメータ統合部 10 (Digital) Photo Printer 12 Scanner 14 (Image) Processing Device 16 Printer 18 Operation System 20 Display 22 Light Source 24 Variable Aperture 28 Diffusion Box 32 Imaging Lens Unit 34 Image Sensor 36 Amplifier 38 A / D Converter 40 Mask 42 Magnetic Head 44 sensor 50 data processing unit 52 log converter 54 prescan memory 56 main scan memory 58 prescan processing unit 60 main scan processing unit 62 condition setting unit 64, 68 image processing unit 66, 70 data conversion unit 72 aberration correction unit 74 correction Parameter supply unit 75 Correction parameter conversion unit 76 Setup unit 78 Key correction unit 80 Parameter integration unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】光学的に撮影された画像から得られた入力
画像データに画像処理を施して、出力用の出力画像デー
タとするに際し、 予め設定されている前記画像を撮影したレンズの前記画
像の結像面における収差補正パラメータを、前記出力画
像データを得るための電子変倍率、前記入力画像データ
の入力画素数、入力画像のサイズ、および出力画像のサ
イズの少なくとも1つによってスケーリング処理して、
前記出力画像データの画素単位に対応する収差補正パラ
メータとし、 この画素単位の収差補正パラメータを用いて、画像を撮
影したレンズに起因する画像の収差を補正することを特
徴とする画像処理方法。
1. An image processing method for input image data obtained from an optically captured image to obtain output image data for output, wherein a predetermined image of the lens is used for capturing the image. By subjecting the aberration correction parameter on the image plane to scaling processing by at least one of an electronic scaling factor for obtaining the output image data, the number of input pixels of the input image data, the size of the input image, and the size of the output image. ,
An image processing method, wherein an aberration correction parameter corresponding to a pixel unit of the output image data is used, and using the aberration correction parameter in the pixel unit, an aberration of an image caused by a lens that has captured the image is corrected.
【請求項2】光学的に撮影された画像から得られた入力
画像データに画像処理を施して、出力用の出力画像デー
タとする画像処理装置であって、 前記画像を撮影したレンズを判別する判別情報を取得す
る取得手段、 画像を撮影するレンズの結像面におけるレンズ収差を補
正する収差補正パラメータを記憶する記憶手段、 前記取得手段が取得した判別情報に応じて、前記記憶手
段から対応するレンズの前記結像面における収差補正パ
ラメータを選択する選択手段、 前記出力画像データを得るための電子変倍率、前記入力
画像データの入力画素数、入力画像のサイズ、および出
力画像のサイズの少なくとも1つによって、前記選択手
段が選択した結像面における収差補正パラメータをスケ
ーリング処理して、前記出力画像データの画素単位に対
応する収差補正パラメータに変換する変換手段、 および、前記変換手段が変換した画素単位に対応する収
差補正パラメータを用いて、画像を撮影したレンズに起
因する画像の収差を補正する補正手段を有することを特
徴とする画像処理装置。
2. An image processing apparatus which performs image processing on input image data obtained from an optically captured image to obtain output image data for output, wherein a lens that has captured the image is determined. Acquisition means for acquiring the discrimination information, storage means for storing an aberration correction parameter for correcting a lens aberration on an image forming surface of a lens for photographing an image, and a correspondence from the storage means according to the discrimination information acquired by the acquisition means. Selecting means for selecting an aberration correction parameter on the image forming surface of the lens; at least one of an electronic magnification for obtaining the output image data, the number of input pixels of the input image data, the size of the input image, and the size of the output image The scaling processing is performed on the aberration correction parameter on the image plane selected by the selection unit, and the pixel data of the output image data is subjected to scaling processing. A conversion unit that converts the image into a corresponding aberration correction parameter; and a correction unit that uses the aberration correction parameter corresponding to a pixel unit converted by the conversion unit to correct the aberration of the image caused by the lens that captured the image. An image processing apparatus characterized by the above-mentioned.
【請求項3】前記画像は、写真フィルムに撮影された画
像であって、前記入力画像のサイズは、前記写真フィル
ムからの画像の読み取りサイズである請求項2に記載の
画像処理装置。
3. The image processing apparatus according to claim 2, wherein the image is an image photographed on a photographic film, and the size of the input image is a read size of an image from the photographic film.
【請求項4】前記収差が、倍率色収差、歪曲収差、ピン
トボケ、および周辺光量低下の少なくとも1つである請
求項2または3に記載の画像処理装置。
4. The image processing apparatus according to claim 2, wherein the aberration is at least one of chromatic aberration of magnification, distortion, out-of-focus, and reduction in peripheral light amount.
JP27667998A 1998-04-30 1998-09-30 Image processing method and image processing apparatus Expired - Fee Related JP4204673B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP27667998A JP4204673B2 (en) 1998-09-30 1998-09-30 Image processing method and image processing apparatus
US09/301,538 US6603885B1 (en) 1998-04-30 1999-04-29 Image processing method and apparatus
US10/201,895 US6856707B2 (en) 1998-04-30 2002-07-25 Image processing method and apparatus
US10/201,447 US6862373B2 (en) 1998-04-30 2002-07-25 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27667998A JP4204673B2 (en) 1998-09-30 1998-09-30 Image processing method and image processing apparatus

Publications (2)

Publication Number Publication Date
JP2000115509A true JP2000115509A (en) 2000-04-21
JP4204673B2 JP4204673B2 (en) 2009-01-07

Family

ID=17572818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27667998A Expired - Fee Related JP4204673B2 (en) 1998-04-30 1998-09-30 Image processing method and image processing apparatus

Country Status (1)

Country Link
JP (1) JP4204673B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1523172A3 (en) * 2003-10-07 2007-12-12 Sony Corporation Image pick-up apparatus, image processing apparatus and method of correcting chromatic aberration of lens

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1523172A3 (en) * 2003-10-07 2007-12-12 Sony Corporation Image pick-up apparatus, image processing apparatus and method of correcting chromatic aberration of lens
US7425988B2 (en) 2003-10-07 2008-09-16 Sony Corporation Image pick-up apparatus, image processing apparatus and method of correcting chromatic aberration of lens

Also Published As

Publication number Publication date
JP4204673B2 (en) 2009-01-07

Similar Documents

Publication Publication Date Title
US7433089B2 (en) Image processor
JPH11175699A (en) Picture processor
JP2002207242A (en) Camera and image forming system
JP2000083157A (en) Image processing method and image processing unit
JPH11261797A (en) Image processing method
JP3998369B2 (en) Image processing method and image processing apparatus
JPH10233919A (en) Image processor
JP2000067215A (en) Image processing method
US6958825B2 (en) Print system
JPH11177802A (en) Image processor
JP3783817B2 (en) Image processing method and image processing apparatus
JP3549413B2 (en) Image processing method and image processing apparatus
JP3667929B2 (en) Image reading device
JP3631370B2 (en) Image processing method and image processing apparatus
JP2003189169A (en) Image processing apparatus
JPH1169277A (en) Image-processing method and device
JP2001086332A (en) Image processor
JPH11249241A (en) Image processing method and image processing device
JP3625370B2 (en) Image processing method and image processing apparatus
JP4204673B2 (en) Image processing method and image processing apparatus
US20010033370A1 (en) Image processing method and image processing apparatus
JP2000092309A (en) Image processing method and image processor
JPH11308470A (en) Print system
JP3434716B2 (en) Image processing method and image processing apparatus
JP2004120480A (en) Image processing method and apparatus thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051226

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060822

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061020

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061207

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070123

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070223

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080716

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080811

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080909

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081015

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

Free format text: PAYMENT UNTIL: 20111024

Year of fee payment: 3

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: 20121024

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees