JPH1169277A - Image-processing method and device - Google Patents

Image-processing method and device

Info

Publication number
JPH1169277A
JPH1169277A JP9228160A JP22816097A JPH1169277A JP H1169277 A JPH1169277 A JP H1169277A JP 9228160 A JP9228160 A JP 9228160A JP 22816097 A JP22816097 A JP 22816097A JP H1169277 A JPH1169277 A JP H1169277A
Authority
JP
Japan
Prior art keywords
correction
image
data
camera
correction data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP9228160A
Other languages
Japanese (ja)
Inventor
Kimitoshi Nagao
公俊 長尾
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 JP9228160A priority Critical patent/JPH1169277A/en
Publication of JPH1169277A publication Critical patent/JPH1169277A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To eliminate the deterioration in image quality resulting from aberration of a lens of a camera and reduction in peripheral lamination in the case of applying processing to an image photographed by the camera. SOLUTION: A grating correction pattern is recorded in advance on a film, and a film scanner 2 reads data K denoting an image and the correction pattern from a film on which an image is photographed and which is developed by a development means 1. A correction data calculation means 3 calculates a correction data H for correcting an aberration resulting from a lens of a camera and reduction in a peripheral lumination. The correction means 4 corrects digital image data S0, obtained from the film scanner 2 based on the correction data H and a color-tone processing means 5 applies processing to the image data, and a digital printer 7 prints out an image.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、カメラにより撮影
された画像において、カメラのレンズに基づく収差や周
辺光量の低下などに起因する画質の劣化を除去すること
ができる画像処理方法および装置に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method and apparatus capable of removing, from an image photographed by a camera, image quality deterioration caused by aberrations due to a lens of the camera or a decrease in peripheral light amount. It is.

【0002】[0002]

【従来の技術】従来の写真用カメラのレンズは種々の収
差や周辺光量の低下などの画質劣化要因を含むものであ
る。すなわち、糸巻き型あるいは樽型の収差により画面
の周辺部が伸縮されるために撮影された画像が歪み、ま
た色収差により被写体の輪郭、とくにエッジの色つきが
生じるものである。さらに、周辺光量の低下により画面
の周辺部ほど光量が低下するため、撮影した画像は中央
部が明るく周辺部ほど暗いものとなってしまい濃度ムラ
が生じる。
2. Description of the Related Art The lens of a conventional photographic camera includes various aberrations and causes of image quality deterioration such as a decrease in peripheral light amount. That is, the captured image is distorted because the peripheral portion of the screen is expanded and contracted due to the pincushion or barrel type aberration, and the contour of the subject, particularly the edge, is colored due to the chromatic aberration. Further, since the light amount decreases in the peripheral portion of the screen due to the decrease in the peripheral light amount, the captured image becomes brighter in the central portion and darker in the peripheral portion, resulting in density unevenness.

【0003】ここで、一眼レフカメラやレンズシャッタ
を有するカメラなどの高級機種においては、複数のレン
ズを組み合わせて収差や周辺光量低下を補正しているた
め、上述したような画質の劣化は少ない。これに対し、
レンズ付きフイルムや普及型カメラに使用されている単
玉レンズなどの安価なレンズは収差や周辺光量低下の補
正が不十分であるため、上述した画質の劣化が大きいも
のである。また、周辺光量の低下は縦横比が大きいパノ
ラマサイズによる撮影を行う場合や広角レンズを使用し
て撮影を行う場合にとくに大きくなる。
Here, in a high-end model such as a single-lens reflex camera or a camera having a lens shutter, a plurality of lenses are combined to correct aberrations and a decrease in peripheral light amount. In contrast,
Inexpensive lenses such as lens-equipped films and single lenses used in widespread cameras have insufficient correction of aberrations and a decrease in the amount of peripheral light, so that the above-described image quality is greatly deteriorated. Further, the decrease in the amount of peripheral light is particularly large when photographing is performed in a panoramic size having a large aspect ratio or when photographing is performed using a wide-angle lens.

【0004】[0004]

【発明が解決しようとする課題】上述したカメラのレン
ズに基づく収差や周辺光量の低下を補正するためには、
撮影した画像の場所に依存する複雑な計算を必要とする
ため、フイルムの画像を感光材料に記録する光学的なプ
リントシステムにおいては、上記画質の劣化を除去する
ことは困難であった。また、レンズの種類に応じて収差
や周辺光量の低下の程度が異なるため、レンズの種類に
拘わらず収差などに起因する画質の劣化を除去すること
も困難であった。
In order to correct the above-described aberrations due to the lens of the camera and the decrease in the amount of peripheral light,
Because of the need for complicated calculations depending on the location of the photographed image, it has been difficult to remove the above-described deterioration in image quality in an optical printing system that records a film image on a photosensitive material. Also, since the degree of aberration and the amount of peripheral light decrease differs depending on the type of lens, it is also difficult to remove image quality deterioration due to aberration and the like regardless of the type of lens.

【0005】本発明は上記事情に鑑みなされたものであ
り、カメラのレンズに起因する画質の劣化を除去するこ
とができる画像処理方法および装置を提供することを目
的とするものである。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image processing method and apparatus capable of removing image quality deterioration caused by a camera lens.

【0006】[0006]

【発明が解決しようとする課題】本発明による画像処理
方法は、カメラにより撮影された画像に対して画像処理
を施す画像処理方法において、前記画像を表すデジタル
画像データを取得し、前記カメラのレンズに基づく画像
の劣化要因を補正する補正データに基づいて前記デジタ
ル画像データを補正することを特徴とするものである。
An image processing method according to the present invention is an image processing method for performing image processing on an image photographed by a camera, comprising: acquiring digital image data representing the image; The digital image data is corrected based on correction data for correcting a deterioration factor of an image based on the digital image data.

【0007】ここで、「カメラのレンズに基づく画像の
劣化要因」とは、カメラのレンズの収差や周辺光量の低
下など、画像の歪み、濃度ムラ、および色ずれの原因と
なる要因のことをいうものである。
[0007] The term "deterioration factor of an image based on a camera lens" refers to a factor that causes image distortion, density unevenness, and color misregistration such as a camera lens aberration and a decrease in peripheral light amount. It is said.

【0008】また、本発明による画像処理方法において
は、前記カメラにより予め撮影された補正パターンに基
づいて前記補正データを作成し、該作成された補正デー
タに基づいて前記デジタル画像データを補正するように
してもよく、さらには、前記補正データは前記レンズの
種類に応じて予め複数算出されるものであり、前記カメ
ラのレンズの種類に応じて前記複数の補正データから一
の補正データを選択し、該選択された補正データに基づ
いて前記デジタル画像データを補正するようにしてもよ
い。
Further, in the image processing method according to the present invention, the correction data is created based on a correction pattern photographed in advance by the camera, and the digital image data is corrected based on the created correction data. Furthermore, the correction data may be calculated in advance in accordance with the type of the lens, and one correction data may be selected from the plurality of correction data in accordance with the type of the lens of the camera. The digital image data may be corrected based on the selected correction data.

【0009】また、本発明による画像処理装置は、カメ
ラにより撮影された画像に対して画像処理を施す画像処
理装置において、前記画像を表すデジタル画像データを
取得する取得手段と、前記カメラのレンズに基づく画像
の劣化要因を補正する補正データに基づいて前記デジタ
ル画像データを補正する補正手段とを備えたことを特徴
とするものである。
An image processing apparatus according to the present invention is an image processing apparatus for performing image processing on an image photographed by a camera, comprising: an acquiring unit for acquiring digital image data representing the image; Correction means for correcting the digital image data based on correction data for correcting a deterioration factor of the image based on the digital image data.

【0010】また、本発明による画像処理装置において
は、前記カメラにより撮影された補正パターンに基づい
て前記補正データを作成する補正データ作成手段をさら
に備え、前記補正手段を、該補正データ作成手段により
作成された補正データに基づいて前記デジタル画像デー
タを補正する手段とすることが好ましい。
In the image processing apparatus according to the present invention, the image processing apparatus further comprises correction data generating means for generating the correction data based on the correction pattern photographed by the camera, wherein the correction means is provided by the correction data generating means. It is preferable that the digital image data is corrected based on the generated correction data.

【0011】さらに、前記レンズの種類に応じて予め複
数の補正データが記憶された記憶手段と、前記カメラの
レンズの種類に応じて前記記憶手段に記憶された複数の
補正データから一の補正データを選択する選択手段とを
さらに備え、前記補正手段を、前記選択手段により選択
された補正データに基づいて前記デジタル画像データを
補正する手段とすることが好ましい。
Further, a storage means in which a plurality of correction data are stored in advance according to the type of the lens, and one correction data from a plurality of correction data stored in the storage means in accordance with the type of the lens of the camera It is preferable that the image processing apparatus further includes a selection unit that selects the digital image data, wherein the correction unit is a unit that corrects the digital image data based on the correction data selected by the selection unit.

【0012】[0012]

【発明の効果】本発明の画像処理方法および装置によれ
ば、カメラにより撮影した画像を表すデジタル画像デー
タを取得し、このデジタル画像データに対して、カメラ
のレンズに基づく劣化要因を補正するための補正データ
により補正を行うようにしたため、デジタル画像データ
に存在するレンズの収差や周辺光量の低下に基づく画像
の劣化要因はこの補正データにより除去されることとな
る。したがって、補正されたデジタル画像データを可視
像として再生することにより、上述した収差による画像
の歪みや周辺光量の低下による濃度ムラなどの画質の劣
化のない再生画像を得ることができる。例えば、集合写
真などにおいて画像の端にある人物像が歪んだり建物の
形が歪むなどすることを防止することができる。
According to the image processing method and apparatus of the present invention, digital image data representing an image captured by a camera is obtained, and the digital image data is corrected for a deterioration factor based on a camera lens. The correction data is used to perform the correction, so that the image deterioration factors due to the lens aberration and the decrease in the peripheral light amount existing in the digital image data are removed by the correction data. Therefore, by reproducing the corrected digital image data as a visible image, it is possible to obtain a reproduced image without image quality deterioration such as image distortion due to the above-described aberration and density unevenness due to a decrease in peripheral light amount. For example, it is possible to prevent a person image at an end of an image from being distorted or a shape of a building from being distorted in a group photograph or the like.

【0013】また、カメラにより予め撮影された補正パ
ターンに基づいて補正データを作成することにより、そ
のカメラが有するレンズに固有の劣化要因を除去するこ
とができる補正データを作成することができる。したが
って、この補正データによってデジタル画像データを補
正することにより、レンズ固有の劣化要因が除去された
高画質の再生画像を得ることができる。
[0013] Further, by creating correction data based on a correction pattern photographed in advance by a camera, it is possible to create correction data capable of removing a deterioration factor inherent to a lens of the camera. Therefore, by correcting the digital image data with the correction data, it is possible to obtain a high-quality reproduced image from which the deterioration factors unique to the lens have been removed.

【0014】さらに、レンズの種類に応じて予め複数の
補正データを算出しておくことにより、処理を行うごと
に補正データを算出する必要が無くなるため、処理時間
を短縮することができる。
Further, by calculating a plurality of correction data in advance according to the type of lens, it is not necessary to calculate the correction data every time the processing is performed, so that the processing time can be shortened.

【0015】[0015]

【発明の実施の形態】以下図面を参照して本発明の実施
の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0016】図1は本発明の第1の実施の形態による画
像処理装置を適用した画像再生システムの構成を示す図
である。図1に示すように、本発明の第1の実施の形態
による画像処理装置を適用した画像再生システムは、カ
メラにより撮影が行われたフイルムを現像するための現
像手段1と、現像されたフイルムに記録された画像を表
すデジタル画像データS0を得るためのフイルムスキャ
ナ2と、後述するようにしてフイルムに記録された補正
パターンKに基づいてカメラのレンズに基づく画質の劣
化要因を除去するための補正データHを算出する補正デ
ータ算出手段3と、補正データ算出手段3により算出さ
れた補正データHに基づいてデジタル画像データS0を
補正する補正手段4および補正手段4により補正された
デジタル画像データS1に対して色・調子処理を施す色
・調子処理手段5からなる画像処理手段6と、画像処理
手段6において処理が施されたデジタル画像データS2
をプリント画像として再生するためのデジタルプリンタ
7とからなるものである。
FIG. 1 is a diagram showing a configuration of an image reproducing system to which an image processing device according to a first embodiment of the present invention is applied. As shown in FIG. 1, an image reproducing system to which an image processing apparatus according to a first embodiment of the present invention is applied includes a developing unit 1 for developing a film photographed by a camera, and a developed film. And a film scanner 2 for obtaining digital image data S0 representing an image recorded in the camera, and for removing a deterioration factor of image quality based on a camera lens based on a correction pattern K recorded on the film as described later. Correction data calculation means 3 for calculating correction data H, correction means 4 for correcting digital image data S0 based on correction data H calculated by correction data calculation means 3, and digital image data S1 corrected by correction means 4 Image processing means 6 comprising color / tone processing means 5 for applying color / tone processing to the image data; Digital image data S2
As a print image.

【0017】ここで、本実施の形態において撮影が行わ
れるカメラは、レンズ付きフイルムのように比較的安価
な撮影レンズが使用されるものであり、好ましくは、さ
らに焦点距離と絞りとが固定されているものである。そ
してこのような比較的安価なレンズは、高価なレンズと
比較して収差や周辺光量の低下が大きく、プリント画像
において画像の周辺部の歪みやエッジの色つきが生じ、
あるいは周辺部が暗くなる濃度ムラが生じるなどしてプ
リント画像の画質が劣化してしまうものである。本発明
は、レンズ付きフイルムの製造段階において、図2に示
すような格子状の補正パターンを予めフイルムに露光し
ておき、フイルムスキャナ2においてこの補正パターン
を読み取って補正データ算出手段3により補正データH
を求め、この補正データHに基づいてデジタル画像デー
タS0を補正して、レンズに起因する収差や周辺光量低
下などの画質劣化要因を除去することにより高画質の画
像を得るようにしたものである。なお、図2に示す格子
状の補正パターンは、格子の数が少ないと補正データH
の精度が悪くなり、格子が多いと精度がよくなるが補正
データHを算出するための時間が長くなる。このため、
35mmフイルムを使用する場合、格子の数は縦×横が
少なくとも5×7以上25×37程度であることが好ま
しい。また、格子の線の色はグレーまたは黒が好まし
く、線の幅はフイルムスキャナ2の走査開口と走査間隔
以上の幅、すなわち10μm〜1mm程度であることが
好ましい。さらに、補正パターンKは一定濃度(例えば
グレー)とされている。
Here, the camera in which the photographing is performed in the present embodiment uses a relatively inexpensive photographing lens such as a film with a lens. Preferably, the focal length and the aperture are further fixed. Is what it is. Such a relatively inexpensive lens has a large amount of aberration and a decrease in the amount of peripheral light compared to an expensive lens, and causes distortion and edge coloring of a peripheral portion of a printed image,
Alternatively, the image quality of the printed image is degraded due to density unevenness in which the peripheral portion becomes dark. According to the present invention, at the stage of manufacturing a film with a lens, a lattice-like correction pattern as shown in FIG. 2 is exposed to a film in advance, and the correction pattern is read by a film scanner 2 and corrected by a correction data calculation means 3. H
Is obtained, the digital image data S0 is corrected based on the correction data H, and a high-quality image is obtained by removing factors of image quality deterioration such as aberration caused by a lens and a decrease in peripheral light amount. . It should be noted that the grid-like correction pattern shown in FIG.
Becomes worse, and the accuracy becomes higher when there are many grids, but the time for calculating the correction data H becomes longer. For this reason,
When a 35 mm film is used, the number of grids is preferably at least 5 × 7 or more and about 25 × 37. The color of the grid lines is preferably gray or black, and the width of the lines is preferably equal to or greater than the scanning aperture and the scanning interval of the film scanner 2, that is, about 10 μm to 1 mm. Further, the correction pattern K has a constant density (for example, gray).

【0018】次いで、第1の実施の形態の動作について
説明する。まず、図2に示すような格子状の補正パター
ンを予め記録したフイルムを使用して写真の撮影を行
い、撮影済みのフイルムを現像手段1において現像す
る。このように現像手段1において現像されたフイルム
に記録された画像はフイルムスキャナ2において読み取
られ、これにより、フイルムに記録された画像を表すデ
ジタル画像データSおよび補正パターンを表すデータK
が得られる。補正パターンを表すデータKは補正データ
算出手段3に入力され、このデータKに基づいて補正デ
ータHが算出される。以下、補正データHの算出につい
て説明する。
Next, the operation of the first embodiment will be described. First, a photograph is taken using a film in which a lattice-like correction pattern as shown in FIG. 2 is recorded in advance, and the photographed film is developed by the developing means 1. The image recorded on the film developed by the developing means 1 is read by the film scanner 2, whereby the digital image data S representing the image recorded on the film and the data K representing the correction pattern are obtained.
Is obtained. Data K representing the correction pattern is input to the correction data calculation means 3, and correction data H is calculated based on the data K. Hereinafter, the calculation of the correction data H will be described.

【0019】カメラにより撮影が行われフイルムスキャ
ナ2において得られた補正パターンはカメラのレンズに
よる収差や周辺光量の低下により図2に示す格子状の補
正パターンが歪みまた周辺部ほど暗い濃度ムラが生じて
いるものである。補正データ算出手段3においてはこの
歪みを除去するように読み取られた補正パターンを幾何
学的に補正し、かつ濃度ムラが無くなるように濃度値を
補正する処理が行われるものである。
The correction pattern obtained by photographing with the camera and obtained by the film scanner 2 is such that the lattice-like correction pattern shown in FIG. Is what it is. The correction data calculating means 3 performs a process of geometrically correcting the correction pattern read so as to remove the distortion and correcting the density value so as to eliminate the density unevenness.

【0020】ここで、幾何学的な補正は、幾何学的歪み
を補正する理論的補正式を用いる方法、基準点を用いて
補正式を決定して補正する方法、理論的補正式と基準点
とを併用する方法が挙げられる(「画像解析ハンドブッ
ク、高木幹夫,下田陽久監修、東京大学出版会、199
1、pp423−444」、「デジタル画像処理、長尾
真監修、近代科学社、1978、pp181−185」
など参照)。本実施の形態においては、基準点を用いる
補正方法を採用する。なお、基準点を補正する幾何学的
補正方法については、例えばヘルマート変換、アフィン
変換、疑似アフィン変換、二次等角変換、二次元投影変
換あるいは高次多項式変換などが挙げられるが、本実施
の形態においてはアフィン変換を採用する。
Here, the geometric correction includes a method using a theoretical correction formula for correcting geometric distortion, a method for determining and correcting a correction formula using a reference point, a theoretical correction formula and a reference point. ("Image Analysis Handbook, Mikio Takagi, Supervised by Hirohisa Shimoda, University of Tokyo Press, 199
1, pp 423-444 "," Digital image processing, supervised by Makoto Nagao, Modern Science, 1978, pp 181-185 "
Etc.). In the present embodiment, a correction method using a reference point is adopted. The geometric correction method for correcting the reference point includes, for example, Helmert transformation, affine transformation, pseudo-affine transformation, quadratic conformal transformation, two-dimensional projection transformation, higher-order polynomial transformation, and the like. In the embodiment, an affine transformation is adopted.

【0021】幾何学的な歪みがない座標系(x,y)か
ら歪みを有する座標系(x′,y′)への変換は、一般
に次式(1)により表される。
The transformation from the coordinate system (x, y) having no geometric distortion to the coordinate system (x ', y') having distortion is generally represented by the following equation (1).

【0022】 x′=h1(x,y) y′=h2(x,y) (1) 但し、h1,h2は幾何学的変換関数である。本実施の
形態においては、幾何学的変換関数h1,h2は未知の
ものとして、図2に示す格子状の補正パターンを基準と
して、カメラのレンズにより歪んだ補正パターンの歪み
量を測定することにより幾何学的補正を行う。ここで、
アフィン変換を用いると、歪みのある座標(x′,
y′)と歪みのない座標(x,y)との関係は下記の式
(2)により表すことができる。
X ′ = h1 (x, y) y ′ = h2 (x, y) (1) where h1 and h2 are geometric transformation functions. In the present embodiment, the geometric transformation functions h1 and h2 are assumed to be unknown, and the distortion amount of the correction pattern distorted by the camera lens is measured with reference to the lattice-like correction pattern shown in FIG. Perform geometric correction. here,
Using the affine transformation, the distorted coordinates (x ′,
The relationship between y ′) and the coordinates (x, y) without distortion can be expressed by the following equation (2).

【0023】[0023]

【数1】 (Equation 1)

【0024】そして、図2に示す格子状の補正パターン
の各格子点の座標と、撮影された補正パターンにおける
各格子点の画素の座標とを求め、上記式(2)により各
格子点ごとに各格子点を対応付けるための変換マトリク
ス|A|,|B|を求める。なお、格子点間の画素につ
いては、直線補間あるいは曲線補間を用いて変換マトリ
クス|A|,|B|を求める。そして、画像の全画素に
ついて変換マトリクス|A|,|B|を算出し、かつこ
の変換マトリクス|A|,|B|の逆変換マトリクス|
A|-1,|B|-1(但し|B|-1=−|B|)を求める
ことにより、歪みのある座標(x′,y′)を歪みのな
い座標(x,y)に変換するための歪み補正データを得
ることができる。
Then, the coordinates of each grid point of the grid-like correction pattern shown in FIG. 2 and the coordinates of the pixel of each grid point in the photographed correction pattern are obtained, and for each grid point, the above equation (2) is used. The conversion matrices | A | and | B | for associating each grid point are obtained. For pixels between lattice points, conversion matrices | A | and | B | are obtained using linear interpolation or curve interpolation. Then, a conversion matrix | A |, | B | is calculated for all pixels of the image, and an inverse conversion matrix | of the conversion matrices | A |, | B |
By calculating A | -1 and | B | -1 (where | B | -1 =-| B |), the distorted coordinates (x ', y') are converted to the undistorted coordinates (x, y). It is possible to obtain distortion correction data for conversion.

【0025】一方、周辺光量低下の補正については、ま
ず歪み補正データにより撮影された補正パターンを幾何
学的に補正した後に、各格子状パターン間におけるパッ
チの平均濃度D′をこのパッチの中心画素の濃度として
求め、この濃度値が図2に示す補正パターンにおける各
パッチの中心濃度Dとなるように、フイルムに使用され
る感光材料の特性曲線すなわちD−log10E曲線を用
いて変換する。この変換を行うには、まずD−log10
E曲線を用いて各パッチの平均濃度D′を露光量E′に
変換し、次いでその濃度値が補正パターンのパッチの中
心濃度Dとなるように露光量軸方向のシフト量ΔEを求
める。また、このシフト量ΔEは補正パターンのパッチ
の中心濃度に基づいて算出されているため、中心画素間
の画素におけるシフト量ΔEは直線補間や曲線補間によ
り算出する。そして、このシフト量ΔEを濃度補正デー
タとして算出する。ここで、D−log10E曲線はカラ
ーネガフイルムやカラーリバーサルフイルムなどのフイ
ルム間においてそれほど大きく異ならないため、簡易な
処理としてはカラーネガフイルムとカラーリバーサルフ
イルムとの各々の平均的な特性曲線により近似してもよ
い。
On the other hand, regarding the correction of the decrease in the peripheral light amount, first, after correcting the correction pattern photographed by the distortion correction data geometrically, the average density D 'of the patch between the respective lattice-like patterns is determined by the central pixel of the patch. determined as the concentration, the density values so that the center concentration D of each patch in the correction pattern shown in FIG. 2, is converted using the characteristic curve i.e. D-log 10 E curve of the photosensitive material used in the film. To perform this conversion, first, D-log 10
Using the E curve, the average density D 'of each patch is converted into an exposure amount E', and then the shift amount .DELTA.E in the direction of the exposure amount axis is determined so that the density value becomes the central density D of the patch of the correction pattern. Further, since the shift amount ΔE is calculated based on the central density of the patch of the correction pattern, the shift amount ΔE in the pixels between the central pixels is calculated by linear interpolation or curve interpolation. Then, the shift amount ΔE is calculated as density correction data. Here, D-log 10 E curves are not different from so great between film such as a color negative film or color reversal film, approximated by the average characteristic curve of each of the color negative film and color reversal film is as simple process You may.

【0026】そして、このようにして算出された歪み補
正データおよび濃度補正データからなる補正データHに
基づいて、補正手段4においてデジタル画像データS0
に対してカメラのレンズ収差に起因する歪みおよび周辺
光量の低下に起因する濃度ムラを補正する処理が行われ
る。具体的には、歪みについては上記逆変換マトリクス
|A|-1,|B|-1に基づいて、収差により歪んだ画素
の座標を歪みのない座標に変換した後、各画素の濃度値
のデータを読み出すことにより、歪みが除去されたデジ
タル画像データS1を得ることができる。また、デジタ
ル画像データS0はR,G,Bの3色の色データからな
るため、各色データごとに歪みを除去する補正を行うこ
とにより、色収差による色ずれをも補正することができ
る。次いで、上記濃度シフト量ΔEに基づいて、各画素
の濃度をD−log10E曲線を参照しながら補正する。
これにより、レンズ収差による歪みおよび周辺光量低下
による濃度ムラが補正されたデジタル画像データS1を
得ることができる。
Then, based on the correction data H composed of the distortion correction data and the density correction data calculated in this way, the correction means 4 generates digital image data S0.
Then, a process for correcting the distortion caused by the lens aberration of the camera and the density unevenness caused by the decrease in the peripheral light amount is performed. Specifically, for the distortion, the coordinates of the pixel distorted by the aberration are converted into coordinates without distortion based on the inverse transformation matrices | A | -1 and | B | -1 . By reading the data, digital image data S1 from which distortion has been removed can be obtained. In addition, since the digital image data S0 is composed of three color data of R, G, and B, a color shift due to chromatic aberration can be corrected by performing correction for removing distortion for each color data. Then, based on the concentration shift amount Delta] E, the density of each pixel is corrected with reference to the D-log 10 E curve.
This makes it possible to obtain digital image data S1 in which distortion due to lens aberration and density unevenness due to a decrease in peripheral light amount have been corrected.

【0027】このように補正手段4において補正が行わ
れたデジタル画像データS1は色・調子処理手段5に入
力されて所定の画像処理が施され、画像処理が施された
デジタル画像データS2はデジタルプリンタ7において
プリント画像として再生される。このようにして得られ
たプリント画像は、レンズ収差による歪みやエッジの色
つき、さらには周辺光量低下による濃度ムラが除去され
た高画質の画像とすることができる。
The digital image data S1 thus corrected by the correction means 4 is input to the color / tone processing means 5 and subjected to predetermined image processing, and the digital image data S2 subjected to the image processing is converted to digital data. The image is reproduced as a print image in the printer 7. The print image thus obtained can be a high-quality image from which distortion due to lens aberration, coloring of edges, and density unevenness due to a decrease in peripheral light amount have been removed.

【0028】なお、上記第1の実施の形態においては、
銀塩フイルムに記録された画像を読み取って再生する画
像再生システムに本発明を適用した例について説明して
いるが、デジタルカメラにより取得されたデジタル画像
データを再生するシステムにも本発明を適用することが
できる。具体的には、デジタルカメラの不揮発性のメモ
リに格子状パターンを撮影することにより得られたデジ
タル補正データを記憶しておき、デジタルカメラにより
取得されたデジタル画像データを再生する際にこのデジ
タル補正データを読み出して上述したように補正データ
Hを算出し、この補正データHに基づいて補正手段4に
おいてデジタル画像データに対して補正を行えばよい。
また、上記不揮発性のメモリに補正データHを予め記憶
しておくようにしてもよい。
In the first embodiment,
Although an example in which the present invention is applied to an image reproducing system that reads and reproduces an image recorded on a silver halide film is described, the present invention is also applied to a system that reproduces digital image data obtained by a digital camera. be able to. Specifically, the digital correction data obtained by photographing the lattice pattern is stored in a nonvolatile memory of the digital camera, and the digital correction data is reproduced when the digital image data obtained by the digital camera is reproduced. The data may be read out to calculate the correction data H as described above, and the correction means 4 may perform correction on the digital image data based on the correction data H.
Further, the correction data H may be stored in the nonvolatile memory in advance.

【0029】次いで、本発明の第2の実施の形態につい
て説明する。図3は本発明の第2の実施の形態による画
像処理装置を適用した画像再生システムの構成を示す図
である。第2の実施の形態においては、補正データ算出
手段に代えて後述するようにしてフイルムに記録された
カメラのレンズデータDを読み取るためのデータ読取手
段10と、種々のレンズに対応する複数の補正データH
が記憶されたメモリ11とを備えたことが第1の実施の
形態と異なるものである。
Next, a second embodiment of the present invention will be described. FIG. 3 is a diagram showing a configuration of an image reproducing system to which the image processing device according to the second embodiment of the present invention is applied. In the second embodiment, instead of the correction data calculating means, a data reading means 10 for reading lens data D of a camera recorded on a film as described later, and a plurality of correction means corresponding to various lenses. Data H
Is different from the first embodiment in that the memory 11 in which is stored.

【0030】ここで、補正データHは、カメラの機種ご
とに予め図2に示す格子状の補正パターンを撮影して上
記第1の実施の形態と同様にして算出してメモリ11に
記憶しておく。なお、本実施の形態による画像再生シス
テムには、磁気情報を記録可能なフイルム(いわゆるA
PSフイルム)に撮影を行うAPSカメラを使用するこ
とができ、カメラ側において予めフイルムの磁気記録部
にカメラのレンズに関するデータを記録しておき、フイ
ルムスキャナ2により画像を読み取る際に、データ読取
手段10においてこのレンズに関するデータDも同時に
読み取り、読み取ったデータDに基づいてメモリ11か
らレンズに対応する補正データHを読み出して補正手段
4においてデジタル画像データS0を補正するものであ
る。
Here, the correction data H is calculated in the same manner as in the first embodiment by photographing a grid-like correction pattern shown in FIG. deep. The image reproducing system according to the present embodiment includes a film capable of recording magnetic information (a so-called A
An APS camera that performs photographing on a PS film can be used, and data relating to the lens of the camera is recorded in advance in the magnetic recording unit of the film on the camera side. At 10, the data D relating to the lens is read at the same time, the correction data H corresponding to the lens is read from the memory 11 based on the read data D, and the correction means 4 corrects the digital image data S 0.

【0031】次いで、第2の実施の形態の動作について
説明する。まず、撮影済みのフイルムを現像手段1にお
いて現像し、現像されたフイルムをフイルムスキャナ2
において読み取り、フイルムに記録された画像を表すデ
ジタル画像データS0を得る。これと同時にデータ読取
手段10によりフイルムの磁気記録部からカメラのレン
ズに関するデータDが読み出される。データ読取手段1
0はこのレンズに関するデータDに基づいて、フイルム
に撮影を行ったカメラのレンズに対応する補正データH
をメモリ11から読み出して補正手段4に入力する。補
正手段4においては、メモリ11から読み出された補正
データHに基づいて、上記第1の実施の形態と同様にし
て、デジタル画像データS0に対してカメラのレンズ収
差に起因する歪みおよび周辺光量の低下に起因する濃度
ムラを補正する処理が行われる。
Next, the operation of the second embodiment will be described. First, the photographed film is developed by the developing means 1, and the developed film is
To obtain digital image data S0 representing an image recorded on the film. At the same time, the data reading means 10 reads data D relating to the lens of the camera from the magnetic recording portion of the film. Data reading means 1
0 is correction data H corresponding to the lens of the camera that has photographed the film, based on the data D relating to the lens.
Is read from the memory 11 and input to the correction means 4. In the correction means 4, based on the correction data H read from the memory 11, in the same manner as in the first embodiment, the digital image data S 0 is subjected to distortion due to camera lens aberration and peripheral light intensity. Is performed to correct the density unevenness caused by the decrease in the image density.

【0032】このように補正手段4において補正が行わ
れたデジタル画像データS1は色・調子処理手段5に入
力されて所定の画像処理が施され、画像処理が施された
デジタル画像データS2はデジタルプリンタ7において
プリント画像として再生される。このようにして得られ
たプリント画像は、レンズ収差による歪みやエッジの色
つき、さらには周辺光量低下による濃度ムラが除去され
た高画質の画像とすることができる。
The digital image data S1 thus corrected by the correction means 4 is input to the color / tone processing means 5 and subjected to predetermined image processing, and the digital image data S2 subjected to the image processing is converted to digital data. The image is reproduced as a print image in the printer 7. The print image thus obtained can be a high-quality image from which distortion due to lens aberration, coloring of edges, and density unevenness due to a decrease in peripheral light amount have been removed.

【0033】なお、上記第2の実施の形態においては、
APSフイルムに記録された画像を読み取って再生する
画像再生システムに本発明を適用した例について説明し
ているが、デジタルカメラにより取得されたデジタル画
像データを再生するシステムにも本発明を適用すること
ができる。具体的には、デジタルカメラの撮影レンズに
関するデータをデジタルカメラに設けられた不揮発性の
メモリに記憶しておき、デジタルカメラにより取得され
たデジタル画像データを再生する際に、レンズに関する
データを読み出し、このデータに基づいてメモリ11か
ら補正データHを読み出し、この補正データHに基づい
て補正手段4においてデジタル画像データに対して補正
を行えばよい。
Incidentally, in the second embodiment,
Although an example in which the present invention is applied to an image reproducing system that reads and reproduces an image recorded on an APS film has been described, the present invention is also applicable to a system that reproduces digital image data acquired by a digital camera. Can be. Specifically, data related to the photographing lens of the digital camera is stored in a non-volatile memory provided in the digital camera, and when the digital image data acquired by the digital camera is reproduced, the data related to the lens is read out. The correction data H may be read from the memory 11 based on this data, and the correction means 4 may perform correction on the digital image data based on the correction data H.

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

【図1】本発明の第1の実施の形態による画像処理装置
を備えた画像再生システムの構成を示す概略図
FIG. 1 is a schematic diagram showing a configuration of an image reproduction system including an image processing device according to a first embodiment of the present invention;

【図2】格子状の補正パターンを示す図FIG. 2 is a diagram showing a grid-like correction pattern;

【図3】本発明の第2の実施の形態による画像処理装置
を備えた画像再生システムの構成を示す概略図
FIG. 3 is a schematic diagram showing a configuration of an image reproduction system including an image processing device according to a second embodiment of the present invention;

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

1 現像手段 2 フイルムスキャナ 3 補正データ算出手段 4 補正手段 5 色・調子処理手段 6 画像処理手段 7 デジタルプリンタ 10 データ読取手段 11 メモリ H 補正データ K 補正パターンを表すデータ S0,S1,S2 デジタル画像データ DESCRIPTION OF SYMBOLS 1 Developing means 2 Film scanner 3 Correction data calculation means 4 Correction means 5 Color / tone processing means 6 Image processing means 7 Digital printer 10 Data reading means 11 Memory H Correction data K Data representing a correction pattern S0, S1, S2 Digital image data

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 カメラにより撮影された画像に対して画
像処理を施す画像処理方法において、 前記画像を表すデジタル画像データを取得し、 前記カメラのレンズに基づく画像の劣化要因を補正する
補正データに基づいて前記デジタル画像データを補正す
ることを特徴とする画像処理方法。
1. An image processing method for performing image processing on an image captured by a camera, comprising: obtaining digital image data representing the image; and converting the digital image data into correction data for correcting an image deterioration factor based on a lens of the camera. An image processing method for correcting the digital image data based on the image data.
【請求項2】 前記カメラにより予め撮影された補正パ
ターンに基づいて前記補正データを作成し、該作成され
た補正データに基づいて前記デジタル画像データを補正
することを特徴とする請求項1記載の画像処理方法。
2. The digital camera according to claim 1, wherein the correction data is created based on a correction pattern photographed in advance by the camera, and the digital image data is corrected based on the created correction data. Image processing method.
【請求項3】 前記補正データは前記レンズの種類に応
じて予め複数算出され、 前記カメラのレンズの種類に応じて前記複数の補正デー
タから一の補正データを選択し、 該選択された補正データに基づいて前記デジタル画像デ
ータを補正することを特徴とする請求項1記載の画像処
理方法。
3. A plurality of correction data is calculated in advance according to the type of the lens, and one correction data is selected from the plurality of correction data according to a type of a lens of the camera; 2. The image processing method according to claim 1, wherein the digital image data is corrected based on the following.
【請求項4】 カメラにより撮影された画像に対して画
像処理を施す画像処理装置において、 前記画像を表すデジタル画像データを取得する取得手段
と、 前記カメラのレンズに基づく画像の劣化要因を補正する
補正データに基づいて前記デジタル画像データを補正す
る補正手段とを備えたことを特徴とする画像処理装置。
4. An image processing apparatus for performing image processing on an image captured by a camera, wherein: an obtaining unit for obtaining digital image data representing the image; and a correction unit for correcting a deterioration factor of the image based on a lens of the camera. An image processing apparatus comprising: a correction unit configured to correct the digital image data based on the correction data.
【請求項5】 前記カメラにより撮影された補正パター
ンに基づいて前記補正データを作成する補正データ作成
手段をさらに備え、 前記補正手段は、該補正データ作成手段により作成され
た補正データに基づいて前記デジタル画像データを補正
する手段であることを特徴とする請求項4記載の画像処
理装置。
5. The image processing apparatus according to claim 1, further comprising a correction data generating unit configured to generate the correction data based on the correction pattern photographed by the camera, wherein the correction unit performs the correction based on the correction data generated by the correction data generating unit. 5. The image processing apparatus according to claim 4, wherein the image processing device corrects the digital image data.
【請求項6】 前記レンズの種類に応じて予め複数の補
正データが記憶された記憶手段と、 前記カメラのレンズの種類に応じて前記記憶手段に記憶
された複数の補正データから一の補正データを選択する
選択手段とをさらに備え、 前記補正手段は、前記選択手段により選択された補正デ
ータに基づいて前記デジタル画像データを補正する手段
であることを特徴とする請求項4記載の画像処理装置。
6. A storage unit in which a plurality of correction data are stored in advance according to a type of the lens, and one correction data from a plurality of correction data stored in the storage unit in accordance with a type of a lens of the camera 5. The image processing apparatus according to claim 4, further comprising: a selection unit configured to select the digital image data based on the correction data selected by the selection unit. 6. .
JP9228160A 1997-08-25 1997-08-25 Image-processing method and device Withdrawn JPH1169277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9228160A JPH1169277A (en) 1997-08-25 1997-08-25 Image-processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9228160A JPH1169277A (en) 1997-08-25 1997-08-25 Image-processing method and device

Publications (1)

Publication Number Publication Date
JPH1169277A true JPH1169277A (en) 1999-03-09

Family

ID=16872180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9228160A Withdrawn JPH1169277A (en) 1997-08-25 1997-08-25 Image-processing method and device

Country Status (1)

Country Link
JP (1) JPH1169277A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002158915A (en) * 2000-09-05 2002-05-31 Inst Of Physical & Chemical Res Correction method of lens distortion of image
JP2006511900A (en) * 2002-12-20 2006-04-06 ワーナー ブラザーズ エンターテイメント インコーポレーテッド Reduction of resolution difference of separated colors
JP2007065886A (en) * 2005-08-30 2007-03-15 Fujitsu Ltd Distortion correction method, distortion correction program, recording medium recording this program and image processor
JP2009232118A (en) * 2008-03-21 2009-10-08 Canon Inc Image pickup apparatus and its control method
JP2011022867A (en) * 2009-07-16 2011-02-03 Fuji Xerox Co Ltd Image processing device, image processing system and program
JP2011085447A (en) * 2009-10-14 2011-04-28 Kurabo Ind Ltd Calibration method for scanner
JP2013059082A (en) * 2012-10-31 2013-03-28 Canon Inc Imaging apparatus and control method of the same
JP2014165538A (en) * 2013-02-21 2014-09-08 Canon Inc Image processing apparatus, image processing method, and program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002158915A (en) * 2000-09-05 2002-05-31 Inst Of Physical & Chemical Res Correction method of lens distortion of image
JP2006511900A (en) * 2002-12-20 2006-04-06 ワーナー ブラザーズ エンターテイメント インコーポレーテッド Reduction of resolution difference of separated colors
JP2007065886A (en) * 2005-08-30 2007-03-15 Fujitsu Ltd Distortion correction method, distortion correction program, recording medium recording this program and image processor
JP2009232118A (en) * 2008-03-21 2009-10-08 Canon Inc Image pickup apparatus and its control method
US8885071B2 (en) 2008-03-21 2014-11-11 Canon Kabushiki Kaisha Image pickup apparatus and control method for flash distribution
US9338365B2 (en) 2008-03-21 2016-05-10 Canon Kabushiki Kaisha Image pickup apparatus and control method therefor
JP2011022867A (en) * 2009-07-16 2011-02-03 Fuji Xerox Co Ltd Image processing device, image processing system and program
US8570609B2 (en) 2009-07-16 2013-10-29 Fuji Xerox Co., Ltd. Image processing device with image dilation processing, image processing system, image processing method and computer readable medium
JP2011085447A (en) * 2009-10-14 2011-04-28 Kurabo Ind Ltd Calibration method for scanner
JP2013059082A (en) * 2012-10-31 2013-03-28 Canon Inc Imaging apparatus and control method of the same
JP2014165538A (en) * 2013-02-21 2014-09-08 Canon Inc Image processing apparatus, image processing method, and program

Similar Documents

Publication Publication Date Title
US6853400B1 (en) System and method for correcting aberration of lenses through which images are projected
JP3766308B2 (en) Camera and image forming system
US7433089B2 (en) Image processor
JPH09181913A (en) Camera system
US6646760B1 (en) Image processing method and apparatus
JPH11261797A (en) Image processing method
JP3998369B2 (en) Image processing method and image processing apparatus
US6584287B2 (en) Camera and image forming system using the camera
JPH09200508A (en) Image processor
JPH1169277A (en) Image-processing method and device
JP3549413B2 (en) Image processing method and image processing apparatus
JP3783817B2 (en) Image processing method and image processing apparatus
JP2001086332A (en) Image processor
JP3631370B2 (en) Image processing method and image processing apparatus
JP3348898B2 (en) Degraded image restoration device, degraded image restoration system, and degraded image restoration method
JP2003189169A (en) Image processing apparatus
JP3625370B2 (en) Image processing method and image processing apparatus
JP4204673B2 (en) Image processing method and image processing apparatus
JP3908216B2 (en) Printing system
JP2000076428A (en) Aberration correcting method
JP2000324339A (en) Picture processing method and its device
JP3434716B2 (en) Image processing method and image processing apparatus
JPH10319518A (en) Color image forming device
JP2002182299A (en) Pseudo zoom camera and image processing system
JPH06311425A (en) Image correcting device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20041102