JP2002199203A - Correction method for photographed image - Google Patents

Correction method for photographed image

Info

Publication number
JP2002199203A
JP2002199203A JP2000396701A JP2000396701A JP2002199203A JP 2002199203 A JP2002199203 A JP 2002199203A JP 2000396701 A JP2000396701 A JP 2000396701A JP 2000396701 A JP2000396701 A JP 2000396701A JP 2002199203 A JP2002199203 A JP 2002199203A
Authority
JP
Japan
Prior art keywords
image
distortion
coordinates
lens
original image
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
JP2000396701A
Other languages
Japanese (ja)
Other versions
JP4059624B2 (en
Inventor
Kazumi Koike
和己 小池
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 JP2000396701A priority Critical patent/JP4059624B2/en
Priority to US10/025,467 priority patent/US7050205B2/en
Publication of JP2002199203A publication Critical patent/JP2002199203A/en
Application granted granted Critical
Publication of JP4059624B2 publication Critical patent/JP4059624B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a correction method for photographed image that employs a simple arithmetic expression so as to correct distortion of a photographing lens and distortion of an original image due to a curved exposure image during photographing. SOLUTION: Coordinates (Px, Py) representing a position of an ideal image point formed at exposure under the assumption that an exposed image is on a plane and correction parameters α, β, γ, RF, LC determined on the basis of the performance of the photographing lens, a radius of curvature of the exposed face, and a distance from a center of an emissive pupil of the photographing lens to a center of the exposed face are applied to the prescribed arithmetic expression to obtain a cross-reference between coordinates (Fx, Fy) of pixels on the original image and coordinates (Px, Py) on which the pixels are rearranged and the pixels of the original image are rearranged on the basis of the correspondence relationship.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、撮影レンズのディ
ストーション及び撮影時の露光画面の湾曲による原画像
の歪みを補正する撮影画像の補正方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for correcting a photographed image for correcting distortion of an original image due to distortion of a photographing lens and curvature of an exposure screen during photographing.

【0002】[0002]

【従来の技術】現在、写真撮影用の撮影装置としては、
一眼レフカメラやコンパクトカメラ等の他に、手軽に写
真撮影を楽しむことができるようにしたレンズ付きフイ
ルムユニットが知られている。レンズ付きフイルムユニ
ットは、撮影レンズやシャッタ装置などの撮影機構を組
み込んだユニット本体に予め未露光の写真フイルムを内
蔵させたもので、購入したその場ですぐに写真撮影がで
き、撮影後にもそのまま現像取扱い店に出せばよいとい
う簡便性から、一般に広く利用されている。
2. Description of the Related Art At present, as a photographing device for photographing,
In addition to a single-lens reflex camera, a compact camera, and the like, a film unit with a lens that enables a user to easily enjoy photography is known. A film unit with a lens is a unit that incorporates a photographic mechanism, such as a photographic lens and shutter device, with an unexposed photographic film built in beforehand. Because of the simplicity that they only need to be brought to a developing store, they are widely used in general.

【0003】上記のようなレンズ付きフイルムユニット
に搭載される撮影レンズは、一般に1〜2枚の樹脂製の
レンズから構成されている。このように1〜2枚のレン
ズで撮影レンズを構成した場合に、撮影レンズの性能だ
けで諸収差の改善を図り、画質を向上させるのは困難で
ある。このため、従来のレンズ付きフイルムユニットで
は、画質を劣化させる1つの要因である撮影レンズの像
面湾曲に対しては、物体側に曲率中心を持つようにして
露光画面の長手方向を湾曲させて写真フイルムを支持
し、この写真フイルムのフイルム面に露光を与えること
により、露光画面の全域でピントが良好に合うようにし
ている。
A photographing lens mounted on a film unit with a lens as described above generally comprises one or two resin lenses. When the photographing lens is composed of one or two lenses in this way, it is difficult to improve various aberrations and improve the image quality only by the performance of the photographing lens. For this reason, in the conventional film unit with a lens, with respect to the field curvature of the photographing lens, which is one factor that deteriorates the image quality, the longitudinal direction of the exposure screen is curved so as to have a center of curvature on the object side. By supporting the photographic film and exposing the film surface of the photographic film to light, good focus is achieved over the entire exposure screen.

【0004】また、画質を劣化させる要因としては、上
述した像面湾曲の他に、撮影レンズの性能に起因するデ
ィストーション(歪曲収差)が代表的である。ディスト
ーションは、射出瞳から結像面(フイルム面)までの距
離に応じて結像倍率が変わってしまうことによって発生
する。
[0004] In addition to the above-mentioned curvature of field, distortion (distortion) caused by the performance of a photographic lens is a typical cause of image quality deterioration. Distortion occurs when the imaging magnification changes according to the distance from the exit pupil to the imaging plane (film plane).

【0005】一眼レフカメラなどのように、ある程度コ
ストを掛けられるカメラであれば、多数のレンズを組み
合わせた精度の高い撮影レンズを用いることにより、デ
ィストーションを良好に補正した画像を写真フイルムに
写し込むことができる。しかしながら、レンズ付きフイ
ルムユニットや低価格帯のコンパクトカメラでは、撮影
レンズにあまりコストを掛けることができないため、写
真フイルムに写し込まれた画像のディスト−ションの発
生を十分に抑えることができていないのが現状である。
[0005] For a camera such as a single-lens reflex camera which can be costly to a certain extent, an image whose distortion has been well corrected is printed on a photographic film by using a high-precision photographing lens combining a large number of lenses. be able to. However, in the case of a film unit with a lens or a low-priced compact camera, the cost of the photographing lens cannot be increased so much that the occurrence of distortion of the image projected on the photographic film cannot be sufficiently suppressed. is the current situation.

【0006】上記のような画質の劣化の問題に対して、
ある情報取得手段を介して得られる撮影レンズの収差特
性に応じて画像の収差の補正を行う画像処理方法や画像
処理装置が特開平11−313214号公報,特開20
00−125174号公報で知られている。これらによ
れば、レンズ付きフイルムユニット等のようにディスト
ーションが発生するカメラで撮影された画像であって
も、画像処理によってディストーションを補正して歪み
のない高画質な画像が得られる。
[0006] To solve the problem of image quality deterioration as described above,
An image processing method and an image processing apparatus for correcting aberration of an image according to aberration characteristics of a photographing lens obtained through a certain information acquisition unit are disclosed in Japanese Patent Application Laid-Open Nos. 11-313214 and 20.
It is known from JP 00-125174. According to these, even if an image is captured by a camera that generates distortion, such as a film unit with a lens, distortion can be corrected by image processing to obtain a high-quality image without distortion.

【0007】例えば、特開平11−313214号公報
に記載されている画像処理方法では、写真フイルムに記
録された原画像をスキャナなどで光学的に読み取り、画
素ごとの原画像データとして抽出する際に、原画像を撮
影した撮影レンズのレンズ情報を同時に読み取り、得ら
れたレンズ情報に基づいて、デイストーションを補正す
る画像処理を原画像データに施し出力するものである。
この画像処理の際には、原画像データに設定された座標
値を、レンズ情報に応じて予め設定されている補正式、
及びその補正式に使用する補正係数によって座標変換
し、再配列することによって歪みを補正するものであ
る。また、特開2000−125174号公報に記載さ
れている画像処理方法では、デイストーションを補正す
る補正式として、歪み率f(r)=(r’−r)/r’
(但し、rは光軸からの距離、r’は距離rがデイスト
ーションにより変動した後の距離)の式を用いて、デイ
ストーションを補正する画像処理を施している。
For example, in an image processing method described in Japanese Patent Application Laid-Open No. H11-313214, when an original image recorded on a photographic film is optically read by a scanner or the like and extracted as original image data for each pixel. The lens information of the photographing lens that has photographed the original image is simultaneously read, and image processing for correcting distortion is performed on the original image data based on the obtained lens information and output.
At the time of this image processing, the coordinate values set in the original image data are corrected using a correction formula set in advance according to the lens information,
The coordinates are converted by a correction coefficient used in the correction formula, and the distortion is corrected by rearrangement. In the image processing method described in JP-A-2000-125174, a distortion rate f (r) = (r′−r) / r ′ is used as a correction equation for correcting distortion.
(Where r is the distance from the optical axis, and r 'is the distance after the distance r has fluctuated due to the distortion). Image processing for correcting the distortion is performed.

【0008】[0008]

【発明が解決しようとする課題】ところで、特開平11
−313214号公報に記載されている画像処理方法で
は、レンズ情報に応じて予め設定されている補正式が具
体的にあげられていない。もし、このような画像処理方
法に複雑な補正式を用いると、補正式を用いた演算処理
の過程で膨大な時間を要するために大量の写真フイルム
を取り扱う場合には適さない。
However, Japanese Patent Application Laid-Open No.
In the image processing method described in US Pat. No. 3,132,214, a correction formula that is set in advance in accordance with lens information is not specifically given. If a complicated correction formula is used in such an image processing method, an enormous amount of time is required in the course of arithmetic processing using the correction formula, which is not suitable for handling a large number of photographic films.

【0009】また、特開2000−125174号公報
に記載されている画像処理方法では、撮影レンズのディ
ストーションを補正する場合にのみにしか対応していな
い。しかしながら、上述したようにレンズ付きフイルム
ユニットのように、写真フイルムを湾曲させて支持した
場合においては、この湾曲によっても歪みが発生する。
したがって、撮影レンズのディストーションのみを補正
するだけでは、満足のいく画質を得ることができなかっ
た。
Further, the image processing method described in Japanese Patent Application Laid-Open No. 2000-125174 corresponds only to the case where distortion of a photographic lens is corrected. However, as described above, when a photographic film is supported by being curved, as in the case of a film unit with a lens, the curvature also causes distortion.
Therefore, satisfactory image quality cannot be obtained only by correcting the distortion of the taking lens.

【0010】本発明は上記の事情を考慮してなされたも
のであり、撮影レンズの性能に起因するディストーショ
ン及び露光時に写真フイルムが湾曲して支持されること
に起因した歪みの両方を簡単な演算処理によって補正す
ることができる撮影画像の補正方法を提供することを目
的とする。
The present invention has been made in view of the above circumstances, and provides a simple calculation of both distortion caused by the performance of a photographic lens and distortion caused by the photographic film being curved and supported during exposure. It is an object of the present invention to provide a method of correcting a captured image that can be corrected by processing.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の撮影画像の補正方法では、撮影レン
ズのディストーション及び撮影時の露光画面の湾曲によ
る原画像の歪みがないときの理想的な像点に対応する画
素の理想位置と、撮影レンズのディストーション及び撮
影時の露光画面の湾曲に応じて予め決められた補正パラ
メータとに基づいて、原画像上の位置を算出することに
より、原画像の各画素の位置に対する理想位置の対応関
係をそれぞれ求め、この対応関係に基づいて、原画像の
各画素を対応する理想位置に再配列するものである。
According to a first aspect of the present invention, there is provided a method for correcting a photographed image in which a distortion of an original image due to distortion of a photographing lens and curvature of an exposure screen during photographing is eliminated. By calculating the position on the original image based on the ideal position of the pixel corresponding to the ideal image point and the correction parameters predetermined according to the distortion of the shooting lens and the curvature of the exposure screen at the time of shooting. , The correspondence of the ideal position to the position of each pixel of the original image is obtained, and each pixel of the original image is rearranged to the corresponding ideal position based on this correspondence.

【0012】請求項2記載の撮影画像の補正方法では、
凹面を一方向にのみ湾曲させて撮影した原画像に対して
は、撮影レンズの光軸が写真フイルムと交わる位置を原
点とし、前記湾曲させた方向をX軸方向、X軸方向と直
交する方向をY軸方向としたXY平面座標系を設定し
て、平面とした露光画面上の任意の画素の位置と理位置
の座標をそれぞれ表し、理想位置のX座標をPx ,この
Y座標をPy とするとともに、この理想位置に対応する
原画像上の任意の画素の位置のX座標をFx ,このY座
標をFy とし、また撮影レンズのディストーションに応
じた補正パラメータをα,β,γとし、さらに前記湾曲
された露光画面の曲率半径RF と撮影レンズの射出瞳の
中心から撮影レンズの光軸が写真フイルムと交わる位置
までの距離LC とを露光画面の湾曲に応じた補正パラメ
ータとしたときに、 Fx =RF ・tan-1(Wx /(RF −Wz )) Fy =((LC −Wz )・DY ) /LC 但し、 Dx =Px ・(1+α・√R+β・R+γ・R2 ) DY =PY ・(1+α・√R+β・R+γ・R2 ) R =√(Px 2 +PY 2 ) Wx =(−Dx /(M・LC ))・(N−√(N2 −M・
x 2)−M・LC ) Wz =(N−√(N2 −M・Dx 2 ))/M M = 1+(Dx 2 /LC 2 ) N = RF +(Dx 2 /LC ) の式により、前記原画像上の各画素の位置と前記理想位
置との対応関係を求めるものである。
According to a second aspect of the present invention, there is provided a method for correcting a photographed image.
For an original image photographed with a concave surface curved only in one direction, the position where the optical axis of the photographing lens intersects the photographic film is defined as the origin, and the curved direction is the X-axis direction, and the direction orthogonal to the X-axis direction. Is set as the Y-axis direction, and the coordinates of an arbitrary pixel on the exposure screen and the coordinates of the physical position on the exposure screen are set, the X coordinate of the ideal position is P x , and the Y coordinate is P y , the X coordinate of the position of an arbitrary pixel on the original image corresponding to the ideal position is F x , the Y coordinate is F y, and the correction parameters corresponding to the distortion of the photographing lens are α, β, γ, and the curvature radius R F of the curved exposure screen and the distance L C from the center of the exit pupil of the taking lens to the position where the optical axis of the taking lens intersects the photographic film are corrected according to the curvature of the exposure screen. when a parameter, F x R F · tan -1 (W x / (R F -W z)) F y = ((L C -W z) · D Y) / L C where, D x = P x · ( 1 + α · √R + β · R + γ · R 2 ) D Y = P Y · (1 + α · √R + β · R + γ · R 2 ) R = √ (P x 2 + P Y 2 ) W x = (− D x / (M · L C )) · ( N-√ (N 2 -M
Dx 2 ) −M · L C ) W z = (N−√ (N 2 −M · D x 2 )) / M M = 1 + (D x 2 / L C 2 ) N = R F + (D x The relationship between the position of each pixel on the original image and the ideal position is determined by the expression 2 / L C ).

【0013】[0013]

【発明の実施の形態】図1にフイルム面を湾曲させるよ
うに支持して撮影を行うレンズ付きフイルムユニットの
一例を示す。レンズ付きフイルムユニット2は、各種撮
影機構が組み込まれたユニット本体3と、このユニット
本体3を部分的に覆う外装紙4とからなり、ユニット本
体3には未露光の写真フイルムが予め装填されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an example of a film unit with a lens for photographing while supporting the film surface to be curved. The lens-equipped film unit 2 includes a unit main body 3 in which various photographing mechanisms are incorporated, and an exterior paper 4 partially covering the unit main body 3. The unit main body 3 is pre-loaded with an unexposed photographic film. I have.

【0014】ユニット本体3の前面には、撮影レンズ
5,ファインダ6の対物側窓6a,ストロボ発光部7,
ストロボユニットをオン,オフするためのストロボ操作
部材8が設けられている。また、上面には、シャッタボ
タン9,残り撮影可能コマ数を表示するカウンタ窓1
0,ストロボ充電の完了を表示する表示用ライトガイド
11が突出される開口12が設けられている。さらに、
ユニット本体10の背面側には、1コマの撮影ごとに回
転操作される巻上げノブ13が露呈されている。
On the front surface of the unit body 3, a photographing lens 5, an object side window 6a of a finder 6, a strobe light emitting section 7,
A strobe operation member 8 for turning on / off the strobe unit is provided. On the upper surface, a shutter button 9 and a counter window 1 for displaying the number of remaining photographable frames are displayed.
0, an opening 12 from which a display light guide 11 for indicating completion of strobe charging is provided. further,
On the back side of the unit main body 10, a hoisting knob 13 that is operated to rotate every time one frame is shot is exposed.

【0015】図2にユニット本体3の分解斜視図を示
す。ユニット本体3は、本体基部15,前カバー16,
後カバー17,ストロボユニット18,電池19等から
構成され、このユニット本体3内にフイルムパトローネ
20が製造時に装填される。フイルムパトローネ20
は、135タイプのものであり、パトローネ21とネガ
タイプの写真フイルム22とからなる。
FIG. 2 is an exploded perspective view of the unit main body 3. The unit main body 3 includes a main body base 15, a front cover 16,
It comprises a rear cover 17, a strobe unit 18, a battery 19 and the like, and a film cartridge 20 is loaded into the unit body 3 at the time of manufacture. Film Patrone 20
Is a 135 type, and includes a patrone 21 and a negative type photo film 22.

【0016】本体基部15の前面中央部には、撮影レン
ズ5から写真フイルム22までの間の撮影光路を遮光す
る暗箱24が一体に形成されている。この暗箱24を挟
む両側方には、パトローネ21が収納されるパトローネ
室25と、パトローネ21から引き出されてロール状に
巻かれた写真フイルム22が収納されるフイルム室26
とが一体に設けられている。
In the center of the front surface of the main body base 15, a dark box 24 for shielding the photographing optical path from the photographing lens 5 to the photographic film 22 is integrally formed. On both sides of the dark box 24, a patrone room 25 for accommodating the patrone 21 and a film room 26 for accommodating the photographic film 22 drawn out of the patrone 21 and wound into a roll shape.
And are provided integrally.

【0017】暗箱24の外側には、シャッタボタン9の
押圧操作に応答してシャッタ羽根を駆動するシャッタ機
構やフイルムカウント機構等を構成する各種部品や撮影
レンズ5等が取り付けられる。暗箱24の背面には、写
真フイルム22上で撮影コマのサイズ、すなわち露光画
面22aを画定するアパーチャ(図示省略)が形成され
ている。露光画面22aは、約24×36mmとなって
おり、写真フイルム22の長手方向に長い長方形とされ
る。露光画面22aの中心は、撮影レンンズ5の撮影光
軸5aと一致するように画定される。
On the outside of the dark box 24, various components constituting a shutter mechanism, a film count mechanism, and the like for driving shutter blades in response to a pressing operation of the shutter button 9, a photographing lens 5, and the like are mounted. On the back surface of the dark box 24, an aperture (not shown) for defining a size of a photographed frame on the photo film 22, that is, an exposure screen 22a is formed. The exposure screen 22a has a size of about 24 × 36 mm and is a rectangle that is long in the longitudinal direction of the photographic film 22. The center of the exposure screen 22a is defined so as to coincide with the photographing optical axis 5a of the photographing lens 5.

【0018】パトローネ室25の上部には、巻上げノブ
13が回転自在に取り付けられている。この巻上げノブ
13の回転操作で写真フイルム22の撮影済の部分がパ
トローネ21内に巻き上げられ、未露光の部分がアパー
チャの背後にセットされる。
A winding knob 13 is rotatably mounted on the upper part of the patrone chamber 25. By rotating the winding knob 13, the photographed portion of the photographic film 22 is wound up into the patrone 21, and the unexposed portion is set behind the aperture.

【0019】前カバー16は、その前面にファインダ6
の対物側窓6aの他、撮影レンズ5や,ストロボ発光部
7,ストロボ操作部材8を露呈させる開口が形成されて
おり、本体基部15の前面を覆う。
The front cover 16 has a viewfinder 6 on its front surface.
In addition to the objective side window 6a, an opening for exposing the photographing lens 5, the strobe light emitting unit 7, and the strobe operation member 8 is formed, and covers the front surface of the main body base 15.

【0020】後カバー17は、本体基部15の背面を覆
うように取り付けられる。この後カバー17には、パト
ローネ室25とフイルム室26との底面を塞ぐ底蓋17
a,17bが一体に形成されている。フイルムパトロー
ネ20が装填された本体基部15に後カバー17を取り
付けた後に、底蓋17a,17bが閉鎖されてパトロー
ネ室25及びフイルム室26が光密に塞がれる。底蓋1
7aは、現像所で撮影済のフイルムパトローネ20を取
り出す際に開放される。
The rear cover 17 is attached so as to cover the rear surface of the main body base 15. Thereafter, a bottom cover 17 for closing the bottom surfaces of the patrone chamber 25 and the film chamber 26 is provided on the cover 17.
a and 17b are integrally formed. After the rear cover 17 is attached to the main body base 15 loaded with the film cartridge 20, the bottom covers 17a and 17b are closed, and the cartridge chamber 25 and the film chamber 26 are light-tightly closed. Bottom lid 1
Reference numeral 7a is opened when the film cartridge 20 which has been photographed at the developing laboratory is taken out.

【0021】後カバー17には、本体基部15のアパー
チャと対面する部分にフイルム支持面30が形成されて
いる。このフイルム支持面30と本体基部15との隙間
によって、パトローネ室25とフイルム室26とを連絡
するフイルム給送路が形成される。
The rear cover 17 is provided with a film support surface 30 at a portion facing the aperture of the main body base 15. The gap between the film support surface 30 and the main body base 15 forms a film feed path that connects the patrone chamber 25 to the film chamber 26.

【0022】フイルム支持面30は、物体側に向けて凹
状となるように写真フイルム22の給送方向が湾曲さ
れ、アパーチャの上下に設けられたフイルムガイドレー
ル(図示省略)は、フイルム支持面30側に凸状となる
ように写真フイルム22の給送方向に湾曲されている。
The feeding direction of the photographic film 22 is curved so that the film supporting surface 30 becomes concave toward the object side. It is curved in the feeding direction of the photographic film 22 so as to be convex on the side.

【0023】撮影レンズ5からの撮影光は、暗箱24内
に入射し、写真フイルム22の露光画面22a内に露光
を与える。アパーチャの背面側に位置決めされた露光画
面22aのフイルム面は、前述のフイルム支持面30と
ガイドレールとによって、図3に示すように、撮影レン
ズ側(物体側)に曲率中心を持つようにして、曲率半径
F で露光画面22aの長手方向を湾曲した形状で支持
される。これにより、撮影レンズ5の像面湾曲に起因す
るピントのボケを改善する。
The photographing light from the photographing lens 5 enters the dark box 24 and gives exposure to the exposure screen 22a of the photographic film 22. The film surface of the exposure screen 22a positioned on the back side of the aperture has a center of curvature on the photographing lens side (object side) as shown in FIG. 3 by the above-mentioned film support surface 30 and the guide rail. The exposure screen 22a is supported in a shape in which the longitudinal direction of the exposure screen 22a is curved with a radius of curvature R F. Thereby, the blurring of focus due to the curvature of field of the photographing lens 5 is improved.

【0024】ストロボユニット18は、各種電気部品が
取り付けられたプリント基板32、放電管やリフレク
タ,拡散板等からなるストロボ発光部7、充電スイッチ
33,シンクロスイッチ34,ストロボ操作部材8が一
体に形成されたスイッチ板35、このスイッチ板35を
スライド自在に支持する受け板36等から構成され、電
池19を電源としている。このストロボユニット18
は、ストロボ操作部材8が上方にスライドされて充電ス
イッチ33がオンとなると充電を行い、シャッタ羽根の
開閉に同期してシンクロスイッチ34がオンとなことで
ストロボ発光する。
The strobe unit 18 is formed integrally with a printed circuit board 32 on which various electric parts are mounted, a strobe light emitting portion 7 composed of a discharge tube, a reflector, a diffusion plate, etc., a charge switch 33, a synchro switch 34, and a strobe operation member 8. And a receiving plate 36 that slidably supports the switch plate 35, and uses the battery 19 as a power source. This strobe unit 18
Is charged when the flash operation member 8 is slid upward and the charging switch 33 is turned on, and the flash is emitted when the synchro switch 34 is turned on in synchronization with the opening and closing of the shutter blades.

【0025】上記レンズ付きフイルムユニットに装填さ
れる写真フイルム22には、そのレンズ付きフイルムユ
ニットの機種に固有の機種コードが光学的にサイドプリ
ントされている。本実施形態では、この従来より写真フ
イルム22にサイドプリントされている機種コードを利
用して、詳細を後述するように歪み補正処理の際に使用
する補正パラメータα,γ,β,LC ,RF を特定す
る。
A model code unique to the model of the lens-equipped film unit is optically side-printed on the photographic film 22 loaded in the lens-equipped film unit. In the present embodiment, the correction parameters α, γ, β, L C , and R used in the distortion correction processing will be described later in detail by using the model code side-printed on the photo film 22 in the related art. Specify F.

【0026】図4に本発明を実施したデジタルプリンタ
の構成を示す。このデジタルプリンタ40は、大別して
補正装置としての機能を有する画像入力部41と、印画
紙に画像をプリントする画像記録部42とからなる、画
像入力部41は、撮影装置の機種が入力される入力手段
としてのコードリーダ43,写真フイルム22の各露光
画面22aからカラー画像を読み取るスキャナ44,第
1画像メモリ45a,第2画像メモリ45b,画像処理
回路46、及びこれらを制御するコントローラ47等か
らなる。
FIG. 4 shows the configuration of a digital printer embodying the present invention. The digital printer 40 is roughly composed of an image input unit 41 having a function as a correction device and an image recording unit 42 for printing an image on photographic paper. The image input unit 41 receives the model of the photographing device. A code reader 43 as an input means, a scanner 44 for reading a color image from each exposure screen 22a of the photo film 22, a first image memory 45a, a second image memory 45b, an image processing circuit 46, and a controller 47 for controlling them Become.

【0027】デジタルプリンタ40に現像済みの写真フ
イルム22がセットされると、この写真フイルム22が
図示しない搬送機構によって搬送され、コードリーダ4
3を介してスキャナ44に送られる。
When the developed photo film 22 is set in the digital printer 40, the photo film 22 is transported by a transport mechanism (not shown), and
3 to the scanner 44.

【0028】コードリーダ43は、写真フイルム22を
照明する光源と、写真フイルム22の搬送路を挟んで光
源の反対側に配されたフォトセンサ等から構成されてお
り、現像によって顕在化した機種コードを搬送中の写真
フイルム22から光学的に読み取る。この機種コードの
読み取りは、写真フイルム1本毎に行われ、読み取られ
た機種コードはコントローラ47を介して画像処理回路
46に送られる。
The code reader 43 is composed of a light source for illuminating the photographic film 22, a photosensor disposed on the opposite side of the light source across the conveyance path of the photographic film 22, and the like. Is optically read from the photographic film 22 being conveyed. The reading of the model code is performed for each photo film, and the read model code is sent to the image processing circuit 46 via the controller 47.

【0029】スキャナ44は、写真フイルム22を平面
に支持するフイルムキャリア,ランプからの光を拡散し
てフイルムキャリアにセットされている露光画面22a
を照明する照明装置、露光画面22a内の原画像を読み
取るCCD、このCCDに原画像を結像させるレンズ等
から構成されている。
The scanner 44 is a film carrier for supporting the photographic film 22 on a flat surface, and an exposure screen 22a which is set on the film carrier by diffusing light from a lamp.
, An CCD for reading an original image in the exposure screen 22a, a lens for forming the original image on the CCD, and the like.

【0030】このスキャナ44は、写真フイルム22が
1コマ分送られる毎に、CCDで露光画面22a内の原
画像を赤色、青色、緑色で3色分解測光し、得られる光
電信号をA/D変換器48に送る。A/D変換器48
は、各色の光電信号をデジタル変換することにより、露
光画面22aの各位置の濃度をそれに応じた3色の画像
データに変換する。3色の画像データは、第1画像メモ
リ45aに書き込まれる。これにより、露光画面22a
内の原画像は、多数の画素に分解され、各画素の画像デ
ータは、露光画面22a上の位置と1対1に対応する第
1画像メモリ45aのアドレスに書き込まれる。なお、
画像データの種類はどのようなものであってもよく、3
色の画像データの代わりに、例えば輝度データと色デー
タとを画像データとしてもよい。
Each time the photographic film 22 is fed by one frame, the scanner 44 separates and measures the original image on the exposure screen 22a in three colors of red, blue and green by the CCD, and converts the obtained photoelectric signal into an A / D signal. Send to converter 48. A / D converter 48
Converts the density of each position on the exposure screen 22a into corresponding three-color image data by digitally converting the photoelectric signal of each color. The three color image data is written to the first image memory 45a. Thereby, the exposure screen 22a
Is decomposed into a number of pixels, and the image data of each pixel is written to the address of the first image memory 45a corresponding to the position on the exposure screen 22a on a one-to-one basis. In addition,
Any type of image data may be used.
Instead of color image data, for example, luminance data and color data may be used as image data.

【0031】画像処理回路46は、画像メモリ45aに
1画面分の画像データが書き込まれると、これを読み出
して所定の画像処理を行う。機種コードが記録されてい
る写真フイルム22に対しては、第1画像メモリ45a
から読み出した各画素を再配列するように画像データを
第2画像メモリ45bに補正画像データとして書き込む
ことによりに、撮影レンズ5のディス−ション及び露光
時に露光画面22a湾曲されていることに起因した歪み
を補正する歪み補正処理を行う。歪み補正処理後には、
歪み補正処理が施された補正画像の補正画像データに対
してプリント用の色補正やネガ・ポジ反転処理等の通常
画像処理を行う。通常画像処理が施された補正画像デー
タは、画像記録部42に送られる。
When image data for one screen is written into the image memory 45a, the image processing circuit 46 reads out the image data and performs predetermined image processing. For the photo film 22 in which the model code is recorded, the first image memory 45a is used.
By writing the image data as the corrected image data in the second image memory 45b so as to rearrange the pixels read from the camera, the exposure screen 22a is curved when the photographic lens 5 is distorted and exposed. A distortion correction process for correcting distortion is performed. After the distortion correction process,
Normal image processing such as color correction for printing and negative / positive inversion processing is performed on the corrected image data of the corrected image subjected to the distortion correction processing. The corrected image data subjected to the normal image processing is sent to the image recording unit 42.

【0032】なお、画像処理回路46は、歪み補正処理
を行うのに先立って、1本の写真フイルム22の各露光
画面22aに対して共通に用いる1画面分の補正用LU
T(ルックアップテーブル)をワークメモリ46aに作
成する。このように、1本の写真フイルム22に対して
共通な補正用LUTを用いて、歪み補正処理を行うこと
で処理時間を短縮している。
Prior to performing the distortion correction process, the image processing circuit 46 corrects one screen of correction LUs commonly used for each exposure screen 22a of one photographic film 22.
T (lookup table) is created in the work memory 46a. As described above, the processing time is shortened by performing the distortion correction processing on one photo film 22 using the common correction LUT.

【0033】画像処理回路46には、ワークメモリ46
aとEEPROM46bとが接続されている。ワークメ
モリ46aは、それに補正用LUTが作成される他、画
像処理回路46が画像処理を行う際に必要なデータを一
時的に記憶する作業用として用いられる。
The image processing circuit 46 includes a work memory 46
a and the EEPROM 46b are connected. The work memory 46a is used not only for creating a correction LUT but also for temporarily storing data required when the image processing circuit 46 performs image processing.

【0034】EEPROM46aには、前述の補正パラ
メータα,γ,β,LC ,RF が機種コード毎に書き込
まれており、画像処理回路46は、機種コードに対応し
た補正パラメータα,γ,β,LC ,RF を用いて歪み
補正処理を行う。なお、このように補正パラメータα,
γ,β,LC ,RF をEEEPROM46aに記憶する
ことで、レンズ付きフイルムユニットの新たな機種に対
応した補正パラメータα,γ,β,LC ,RF の追加を
可能としている。
[0034] The EEPROM46a, correction parameters above α, γ, β, L C , R F have been written for each model code, the image processing circuit 46, the correction parameter corresponding to the model code alpha, gamma, beta , L C , and R F to perform distortion correction processing. Note that the correction parameters α,
By storing γ, β, L C , and R F in the EEPROM 46a, it is possible to add correction parameters α, γ, β, L C , and R F corresponding to a new model of a film unit with a lens.

【0035】また、EEPROM46aには、理想像点
に対応した画素の理想位置として用いられる1画面分の
座標(Px ,Py )が書き込まれている。理想像点は、
撮影レンズ5にディス−ションがなく、また露光時に露
光画面22aが平面とされていると仮定したときに、露
光画面22a上に形成される像点であり、座標(Px
y )は、原画像の画素が歪み補正処理によって再配列
されるべき位置を後述するXY平面座標系を用いて表し
ている。なお、歪み補正が施された補正画像はスキャナ
44で読み取られた原画像と同様に多数の画素で構成さ
れるので、座標(Px ,Py )は、歪み補正後に想定す
る1画面の画素数分だけ用意しておけばよく、予め計算
によって決めることができる。
The coordinates (P x , P y ) for one screen used as an ideal position of a pixel corresponding to an ideal image point are written in the EEPROM 46a. The ideal image point is
Assuming that the taking lens 5 has no distortion and that the exposure screen 22a is flat at the time of exposure, it is an image point formed on the exposure screen 22a, and has coordinates (P x ,
P y ) represents the position where the pixels of the original image are to be rearranged by the distortion correction processing, using an XY plane coordinate system described later. Note that the corrected image subjected to the distortion correction is composed of a large number of pixels in the same manner as the original image read by the scanner 44. Therefore, the coordinates (P x , P y ) are the pixels of one screen assumed after the distortion correction. It only needs to be prepared for a few minutes and can be determined in advance by calculation.

【0036】画像記録部42は、画像メモリ51,赤
色、青色、緑色の各レーザ光を出力するレーザユニット
52,レーザユニット52の出力を制御するドライバ5
3,ポリゴンミラー54,Fθレンズ55,長尺のカラ
ー印画紙56を搬送する搬送機構(図示せず)等から構
成されている。
The image recording section 42 includes an image memory 51, a laser unit 52 for outputting red, blue and green laser beams, and a driver 5 for controlling the output of the laser unit 52.
3, a polygon mirror 54, an Fθ lens 55, a transport mechanism (not shown) for transporting a long color photographic paper 56, and the like.

【0037】画像入力部41からの補正画像データは、
画像メモリ51に書き込まれる。画像メモリ51の補正
画像データによってレーザユニット52の出力が制御さ
れ、高速回転するポリゴンミラー54にレーザ光が照射
される。これにより、カラー印画紙56の幅方向(搬送
方向と直交する方向)にレーザ光の走査が行われ、カラ
ー印画紙56をその長手方向に搬送することで露光画面
22aから得られた補正画像がカラー印画紙56に露光
される。露光されたカラー印画紙56は、図示しない現
像処理部で現像処理された後に1個の画像毎に切り分け
られてプリント写真とされる。
The corrected image data from the image input unit 41 is
The data is written to the image memory 51. The output of the laser unit 52 is controlled by the corrected image data in the image memory 51, and the polygon mirror 54 that rotates at high speed is irradiated with laser light. Thereby, the scanning of the laser light is performed in the width direction of the color photographic paper 56 (the direction orthogonal to the transport direction), and the corrected image obtained from the exposure screen 22a by transporting the color photographic paper 56 in the longitudinal direction is obtained. The color photographic paper 56 is exposed. The exposed color photographic paper 56 is developed by a developing unit (not shown), and then cut into single images to be printed photographs.

【0038】画像処理回路46が行う歪み補正処理につ
いて説明する。画像処理回路46は、図5に示すよう
に、露光画面22aの中心、すなわち露光画面22a上
の撮影光軸5aの位置を原点Oとし、露光画面22aの
長手方向(湾曲させた方向)をX軸、長手方向に直交す
る露光画面の幅方向をY軸としたXY平面座標系を用
い、平面とされた露光画面22aから読み取られた原画
像の任意の画素のX座標を「Fx 」,Y座標を「Fy
として、また補正後の座標、すなわち理想像点のX座標
を「Px 」,Y座標を「Py 」として処理する。
The distortion correction processing performed by the image processing circuit 46 will be described. As shown in FIG. 5, the image processing circuit 46 sets the center of the exposure screen 22a, that is, the position of the photographing optical axis 5a on the exposure screen 22a as the origin O, and sets the longitudinal direction (curved direction) of the exposure screen 22a to X Using the XY plane coordinate system in which the width direction of the exposure screen orthogonal to the axis and the longitudinal direction is the Y axis, the X coordinate of an arbitrary pixel of the original image read from the exposure screen 22a which is a plane is represented by “F x ”. Y coordinate is "F y "
And the corrected coordinates, that is, the X coordinate of the ideal image point is “P x ” and the Y coordinate is “P y ”.

【0039】そして、画像処理回路46は、次の演算式
(a),(b)により、座標(Fx,Fy )と座標(P
x ,Py )との対応関係を表す補正用LUTを作成し、
この補正用LUTに示される対応関係に基づいて座標
(Fx ,Fy )の画素を座標(Px ,Py )に再配列す
ることにより歪み補正を行う。
The image processing circuit 46 calculates the coordinates (F x , F y ) and the coordinates (P x ) according to the following arithmetic expressions (a) and (b).
x , P y ) is created,
The distortion correction is performed by rearranging the pixels at the coordinates (F x , F y ) to the coordinates (P x , P y ) based on the correspondence shown in the correction LUT.

【0040】 Fx =RF ・tan-1(Wx /(RF −Wz )) ・・・(a) Fy =((LC −Wz )・DY ) /LC ・・・・・・・(b) 但し、 Dx =Px ・(1+α・√R+β・R+γ・R2 ) DY =PY ・(1+α・√R+β・R+γ・R2 ) R =√(Px 2 +PY 2 ) Wx =(−Dx /(M・LC ))・(N−√(N2 −M・
x 2)−M・LC ) Wz =(N−√(N2 −M・Dx 2 ))/M M = 1+(Dx 2 /LC 2 ) N = RF +(Dx 2 /LC
F x = R F tan −1 (W x / (R F −W z )) (a) F y = ((L C −W z ) · D Y ) / L C ··· (B) where D x = P x · (1 + α · √R + β · R + γ · R 2 ) D Y = P Y · (1 + α · √R + β · R + γ · R 2 ) R = √ (P x 2 + P Y 2 ) W x = (− D x / (M · L C )) · (N−√ (N 2 −M ·
Dx 2 ) −M · L C ) W z = (N−√ (N 2 −M · D x 2 )) / M M = 1 + (D x 2 / L C 2 ) N = R F + (D x 2 / L C )

【0041】以下、上記演算式について説明する。露光
時の露光画面22aを平面と仮定したときに、ディスト
ーションを有する撮影レンズ5で撮影を行った場合、図
6に模式的に示すように、上記のXY平面座標系におい
て座標(Px ,Py )の位置に形成されるべき理想像点
PPは、撮影レンズ5のディストーションの影響を受け
て、座標(Dx ,Dy )の像点PDに形成される。
Hereinafter, the above arithmetic expressions will be described. Assuming that the exposure screen 22a at the time of the exposure is a plane, when the photographing is performed by the photographing lens 5 having the distortion, the coordinates (P x , P x) in the XY plane coordinate system are schematically shown in FIG. The ideal image point PP to be formed at the position y ) is formed at the image point PD at the coordinates (D x , D y ) under the influence of the distortion of the taking lens 5.

【0042】撮影レンズ5のディストーションは、一般
に理想像高R1 と結像像高R2 とを用いて「D=(R2
−R1 )/R1 」で表される。また、「レンズ設計法
(共立出版:松井吉哉著)初版8刷」の102ページに
記載されているように、3次収差係数V1 ,5次収差係
数V2 とすると、「D=−50・(V1 ・(N1 ・tan
ω)2 +(V2 /4)(N1 tan ω)4 」で表すことが
でき、この式中の「N1tan ω」は理想像高R1 に相当
する項である。このような式に理想像高を与えることに
より、露光画面22aを平面に支持したときのディスト
ーションによる結像位置、すなわち理想像点PPに対応
する像点PDの位置を求めることが可能である。
In general, the distortion of the photographing lens 5 is calculated by using the ideal image height R 1 and the formed image height R 2 as “D = (R 2
-R 1) / represented by R 1 ". Also, as described on page 102 of “Lens Design Method (Kyoritsu Shuppan: Yoshiya Matsui) First Edition, Eighth Printing”, assuming that the third-order aberration coefficient V 1 and the fifth-order aberration coefficient V 2 are “D = −50”・ (V 1・ (N 1・ tan
ω) 2 + (V 2/ 4) (N 1 tan ω) can be represented by 4 "," N 1 tan omega "in this formula is the term corresponding to the ideal image height R 1. By giving the ideal image height to such an expression, it is possible to obtain the image forming position by distortion when the exposure screen 22a is supported on a plane, that is, the position of the image point PD corresponding to the ideal image point PP.

【0043】この例では、上記の式に基づき、露光時の
露光画面22aを平面と仮定したときに、理想像点PP
と、これが撮影レンズ5のディストーションによってず
れる像点PDとの関係を、撮影レンズ5の性能によって
決まる補正パラメータα,β,γを用いて、次の
(1),(2)のように定義した。 Dx =Px ・(1+α・√R+β・R+γ・R2 )・・・(1) DY =PY ・(1+α・√R+β・R+γ・R2 )・・・(2) 但し、R=√(Px 2 +PY 2
In this example, based on the above equation, assuming that the exposure screen 22a at the time of exposure is a plane, the ideal image point PP
And the image point PD deviated by the distortion of the taking lens 5 are defined as the following (1) and (2) using correction parameters α, β, and γ determined by the performance of the taking lens 5. . D x = P x · (1 + α · √R + β · R + γ · R 2 ) (1) D Y = P Y · (1 + α · √R + β · R + γ · R 2 ) (2) where R = √ (P x 2 + P Y 2 )

【0044】ところで、上記のレンズ付きフイルムユニ
ット2のように、撮影レンズ5がディストーションを有
し、さらに像面湾曲を補正するために、露光時に露光画
面22aを湾曲させて支持した場合には、理想像点PP
は、露光画面22aが湾曲していることの影響を受け
て、像点PDからさらにずれた像点PFとして形成さ
れ、その像点PFは、スキャナ44で座標(Fx
y )から読み取られる。
In the case where the taking lens 5 has distortion and the exposure screen 22a is curved and supported at the time of exposure in order to correct the field curvature as in the case of the film unit with lens 2 described above, Ideal image point PP
Is formed as an image point PF further deviated from the image point PD under the influence of the curvature of the exposure screen 22a, and the image point PF is subjected to coordinates (F x ,
F y ).

【0045】図7に、撮影レンズ5の光軸方向をZ軸と
して、上記のXY平面座標系を拡張したXYZ座標系を
示す。この図7中の符号EPは、撮影レンズ5の射出瞳
の中心EP(座標(0,0,LC ))を、符号Rcは、
露光画面の曲率中心(座標(0,0,RF ))を表して
おり、射出瞳の中心EPのZ座標LC は、射出瞳の中心
EPから露光画面22aの中心までの距離と同じ値であ
り、曲率中心RcのZ座標RF は、露光画面22aの曲
率半径と同じ値である。なお、各軸の矢線の向きを各座
標の正方向とする。
FIG. 7 shows an XYZ coordinate system obtained by expanding the above XY plane coordinate system with the optical axis direction of the photographing lens 5 as the Z axis. 7 is a center EP (coordinates (0, 0, L C )) of the exit pupil of the photographing lens 5, and a symbol Rc is
The center of curvature of the exposed screen (coordinates (0,0, R F)) represents a, Z coordinates L C of the center EP of the exit pupil is equal to the distance from the center EP of the exit pupil to the center of the exposure window 22a , and the Z-coordinate R F of the center of curvature Rc, the same value as the radius of curvature of the exposed screen 22a. The direction of the arrow in each axis is defined as the positive direction of each coordinate.

【0046】平面とされた露光画面22aからスキャナ
44での読み取られる像点PFが、上記のXYZ座標系
において、露光時に湾曲された露光画面22a上の座標
(W x ,Wy ,Wz )で表される像点PWに形成される
とすると、Y軸方向から見た各像点PW,PF,PD,
及び曲率中心Rc,射出瞳の中心EPの関係は、図8に
示すようになる。
From the flat exposure screen 22a, the scanner
The image point PF read at 44 is in the XYZ coordinate system described above.
, Coordinates on the exposure screen 22a curved at the time of exposure
(W x, Wy, Wz) Is formed at the image point PW represented by
Then, each image point PW, PF, PD, viewed from the Y-axis direction,
FIG. 8 shows the relationship between the center of curvature Rc and the center EP of the exit pupil.
As shown.

【0047】図8の関係図からわかるように、像点PF
のX座標Fx は、原点Oと像点PWの間の弧(以下、弧
OWという)の長さと等しくなり、それは射出瞳の中心
EPから像点PDに向かう線分EP−PDと、弧OPの
交点の座標、すなわち像点PWのX座標Wx ,Z座標W
z を求めることによって得ることができる。そして、上
記線分EP−PDは次の(3)式によって、また弧OW
は次の(4)式によっ表される。 X=−(Dx /LC )・Z+Dx ・・・・(3) (Z−RF 2 +X2 =RF 2 ・・・・(4)
As can be seen from the relationship diagram of FIG.
The X coordinate F x, arc between the origin O and the image point PW (hereinafter, referred to as an arc OW) is equal to the length of it and the line segment EP-PD toward the image point PD from a center EP of the exit pupil, the arc The coordinates of the intersection of the OPs, that is, the X coordinate W x and the Z coordinate W of the image point PW
It can be obtained by finding z . Then, the line segment EP-PD is calculated by the following equation (3),
Is represented by the following equation (4). X = − (D x / L C ) · Z + D x (3) (Z−R F ) 2 + X 2 = R F 2 (4)

【0048】上記(3),(4)式により、像点PWの
X座標Wx ,Z座標Wz は、次の(5),(6)式によ
って求められる。なお、(5),(6)式は、弧OWす
なわち湾曲された露光画面22aと、線分EP−PDと
の交点が射出瞳の中心EPよりも原点O側にあることが
考慮されている。 Wx =(−Dx /(M・LC ))・(N−√(N2 −M・Dx 2)−M・LC ) ・・・・(5) Wz =(N−√(N2 −M・Dx 2 ))/M ・・・・・・・・・・・・(6) 但し、M=1+(Dx 2 /LC 2 ) N=RF +(Dx 2 /LC
From the above equations (3) and (4), the X coordinate W x and the Z coordinate W z of the image point PW are obtained by the following equations (5) and (6). Expressions (5) and (6) take into account that the intersection of the arc OW, that is, the curved exposure screen 22a and the line segment EP-PD is closer to the origin O than the center EP of the exit pupil. . W x = (− D x / (M · L C )) · (N−√ (N 2 −M · D x 2 ) −M · L C ) (5) W z = (N−√) (N 2 −MD D x 2 )) / M (6) where M = 1 + (D x 2 / L C 2 ) N = R F + (D x 2 / L C )

【0049】曲率半径の中心Rcから像点PWに向かう
線分Rc−PWと、撮影光軸(Z軸)とのなす角を「θ
x 」(ラジアン)とすると、弧OPの長さ、すなわち像
点PFのX座標Fx は、次の(7)式によって得られ
る。 Fx =RF ・θx ・・・(7)
An angle formed by a line segment Rc-PW from the center of curvature radius Rc to the image point PW and the photographing optical axis (Z axis) is represented by “θ”.
When x "(radian), the length of the arc OP, i.e. the X coordinate F x of an image point PF is obtained by the following equation (7). F x = R F · θ x (7)

【0050】そして、(7)式中の「θx 」は、
(5),(6)式より得られる像点PWのX座標Wx
Z座標Wz と、曲率半径の中心RcのZ座標RF とを用
いて、次の(8)式で表されるから、結果として上記
(a)式により、任意の理像像点PPに対応した像点P
FのX座標Fx を算出することができる。 θx =tan-1(Wx /(RF −Wz ))・・・(8)
Then, “θ x ” in the equation (7) is
X coordinates W x of the image point PW obtained from the equations (5) and (6),
By using the Z-coordinate W z, and Z coordinates R F of the center Rc of the radius of curvature, because is expressed by the following equation (8), the result as the equation (a), any physical image image point PP Corresponding image point P
It is possible to calculate the X coordinate F x of F. θ x = tan −1 (W x / (R F −W z )) (8)

【0051】一方、上記のXYZ座標系をX軸方向から
見た各像点PW,PF,PD,及び射出瞳の中心EPの
関係は、図9に示すようになる。射出瞳の中心EPから
像点PDに向かう線分EP−PDと、撮影光軸(Z軸)
とのなす角を「θy 」とすると、次の(9)式が成立
し、また像点PWのY座標Wy は、角度「θy 」と、像
点PWのZ座標Wz とを用いて次の(10)式のように
表すことができる。 tanθy =DY /LC ・・・(9) Wy =(LC −Wz )・tanθy ・・・(10)
On the other hand, the relationship between the image points PW, PF, PD and the center EP of the exit pupil when the above XYZ coordinate system is viewed from the X-axis direction is as shown in FIG. A line segment EP-PD from the center EP of the exit pupil to the image point PD, and a photographing optical axis (Z axis)
Is the angle formed by “θ y ”, the following equation (9) is established, and the Y coordinate W y of the image point PW is obtained by dividing the angle “θ y ” with the Z coordinate W z of the image point PW. It can be expressed as in the following equation (10). tan θ y = D Y / L C (9) W y = (L C −W z ) · tan θ y (10)

【0052】露光画面22aは、その長手方向(X軸方
向)を湾曲した形状で支持され、幅方向(Y軸方向)に
湾曲されていないから、像点PFのY座標Fy は、像点
PWのY座標Wy と同じになる(Fy =Wy )。したが
って、上記の式(9),(10)より得られる上記の
(b)によって、任意の理像像点PPに対応した像点P
FのY座標Fy を算出することができる。
[0052] exposure window 22a is supported by the curved shape of the longitudinal direction (X-axis direction), because not curved in a width direction (Y axis direction), Y-coordinate F y of the image point PF is the image point It becomes the same as the Y coordinate W y of the PW (F y = W y ). Therefore, by the above (b) obtained from the above equations (9) and (10), an image point P corresponding to an arbitrary image point PP is obtained.
It is possible to calculate the F Y coordinate F y.

【0053】結果的に、上記の演算式(a),(b)に
より、理想像点PPとした任意の画素の座標(Px ,P
Y )と、撮影レンズ5のデイストーションに応じた補正
パラメータα,β,γと、露光画面の湾曲に応じた各補
正パラメータRF ,LC とを用いて、理想像点PPとし
た画素に対応した像点PFである画素の座標(Fx ,F
y )との対応関係を得ることができる。
As a result, the coordinates (P x , P x ) of an arbitrary pixel as the ideal image point PP are obtained from the above-mentioned arithmetic expressions (a) and (b).
Y ), the correction parameters α, β, γ corresponding to the distortion of the photographing lens 5 and the respective correction parameters R F , L C corresponding to the curvature of the exposure screen, to obtain a pixel which is an ideal image point PP. The coordinates (F x , F x) of the pixel corresponding to the image point PF
y ) can be obtained.

【0054】なお、補正パラメータα,β,γは、レン
ズ付きフイルムユニット2に組み込まれる撮影レンズ5
の仕様から計算によって、あるいは実験的に決めること
ができる。また、前述のように補正パラメータRF は、
露光面22aの曲率半径であり、補正パラメータL
C は、撮影レンズ5の射出瞳の中心から露光画面22a
の中心までの距離であって、これらはレンズ付きフイル
ムユニット2及びそれに組み込まれた撮影レンズ5の仕
様から得られる。そして、各補正パラメータα,β,
γ,RF ,LC は、機種コードに対応づけてEEPRO
M46bに書き込まれる。
The correction parameters α, β, and γ are determined by the photographing lens 5 incorporated in the film unit 2 with a lens.
Can be determined by calculation or experimentally from the specifications. As described above, the correction parameter R F is
This is the radius of curvature of the exposure surface 22a.
C is the exposure screen 22a from the center of the exit pupil of the photographing lens 5.
Are obtained from the specifications of the film unit with lens 2 and the taking lens 5 incorporated therein. Then, each correction parameter α, β,
γ, R F and L C are associated with the model code and
Written to M46b.

【0055】補正用LUTの作成時では、画像処理回路
46は、EEPROM46から読み出した補正パラメー
タα,β,γ,LC ,RF を用いた演算式(a),
(b)に、理想像点PPの座標として予め用意されてい
る1画面分の各画素の座標(PxY )(Px ,PY
実数)をそれぞれ適用することにより、1画面分の座標
(Fx ,FY )(Fx ,FY は実数)を求める。そし
て、計算に用いた座標(Px,PY )と、その座標から
得られる座標(Fx ,FY )とを対応付けてワークメモ
リ46aに書き込むことにより、補正用LUTを作成す
る。
At the time of creating the correction LUT, the image processing circuit 46 calculates the arithmetic expressions (a) using the correction parameters α, β, γ, L C and R F read from the EEPROM 46.
By applying the coordinates (P x P Y ) (P x and P Y are real numbers) of each pixel for one screen prepared in advance as the coordinates of the ideal image point PP to (b), one screen is (F x , F Y ) (F x , F Y are real numbers). Then, the coordinates (P x , P Y ) used for the calculation and the coordinates (F x , F Y ) obtained from the coordinates are written in the work memory 46a in association with each other, thereby creating a correction LUT.

【0056】歪み補正処理時では、画像処理回路46
は、第1画像メモリ45aから各画素の画像データを順
次に読み出し、この読み出しの際に用いた第1画像メモ
リ45aのアドレスを座標(Fx ,FY )に変換し、得
られる座標(Fx ,FY )に対応する座標(Px
Y )を補正用LUTから取り出す。そして、取り出し
た座標(Px ,PY )を再びアドレスに変換し、そのア
ドレスを用いて第2画像メモリ45bに対象となる画像
データを書き込む。そして、この処理を各画素について
行う。このようにして、スキャナ44で読み込んだ第1
画像メモリ45a上に記憶されているの各画素の画像デ
ータを第2画像メモリ45bに書き込むことにより歪み
補正処理を行う。
In the distortion correction processing, the image processing circuit 46
Reads the image data of each pixel sequentially from the first image memory 45a, converts the address of the first image memory 45a used at the time of this reading into coordinates (F x , F Y ), and obtains the obtained coordinates (F x , F Y ) corresponding to coordinates (P x ,
P Y ) is taken out of the correction LUT. Then, the extracted coordinates (P x , P Y ) are converted into addresses again, and the target image data is written into the second image memory 45b using the addresses. Then, this process is performed for each pixel. In this manner, the first
The distortion correction processing is performed by writing the image data of each pixel stored in the image memory 45a to the second image memory 45b.

【0057】なお、この例では、第1画像メモリ45a
のアドレスを座標(Fx ,FY )に変換し、その座標
(Fx ,FY )に基づいて補正用LUTから得られる座
標(P x ,PY )を第2画像メモリ45bのアドレスに
変換しているが、座標(Fx ,FY )に対応する第1画
像メモリ45aのアドレスと、座標(Px ,PY )に対
応する第2画像メモリ45bのアドレスとを対応付けた
LUTを作成し、このLUTを用いて直接に補正前の第
1画像メモリ45aのアドレスから第2画像メモリ45
bのアドレスに変換してもよい。このようにすれば、処
理を高速化することができる。
In this example, the first image memory 45a
Address of coordinates (Fx, FY) And its coordinates
(Fx, FY) Based on the correction LUT
Mark (P x, PY) To the address of the second image memory 45b.
The coordinates (Fx, FYThe first stroke corresponding to)
The address of the image memory 45a and the coordinates (Px, PY) To
Corresponding to the address of the corresponding second image memory 45b.
Create an LUT and use this LUT to directly
From the address of the first image memory 45a to the second image memory 45
The address may be converted to the address b. In this way,
Processing can be sped up.

【0058】さらに、上記演算(a)は、「tan-1
の関数を含んでいるが、この関数は、いくつかの定数パ
ラメータを含む単純な式の近似関数とすることができ、
演算処理を高速化することが可能である。
Further, the above operation (a) is performed by using "tan -1 "
, Which can be an approximation to a simple expression with some constant parameters,
It is possible to speed up the arithmetic processing.

【0059】次に上記構成の作用について説明する。フ
イルムパトローネ20の写真フイルム22には、装填さ
れるレンズ付きフイルムユニット2に対応する機種コー
ドがサイドプリントされる。この写真フイルム22は、
パトローネ21とともにユニット本体3に装填される。
そして、完成したユニット本体3に外装紙4が貼付され
てレンズ付きフイルムユニット2が完成し、これが出荷
されてユーザのもとで撮影に供される。
Next, the operation of the above configuration will be described. A model code corresponding to the loaded film unit with lens 2 is side-printed on the photo film 22 of the film cartridge 20. This photo film 22
It is loaded into the unit body 3 together with the patrone 21.
Then, the exterior paper 4 is attached to the completed unit main body 3 to complete the lens-fitted film unit 2, which is shipped and provided for photographing under the user.

【0060】撮影を行う際には、まず巻き上げノブ13
を回転操作する。これにより、写真フイルム22が1コ
マ分巻き上げられるとともに、シャッタチャージが行わ
れる。この後、撮影者は、ファインダ6でフレーミング
を行ってからシャッタボタン9を押圧する。また、スト
ロボ撮影を行う場合には、ストロボ操作部材8を上方に
スライド移動し、充電完了後にシャッタボタン9を押圧
する。シャッタボタン9を押圧すると、シャッタ羽根が
揺動されてシャッタ開口が開閉される。
At the time of photographing, first, the winding knob 13
To rotate. As a result, the photo film 22 is wound up by one frame, and the shutter is charged. Thereafter, the photographer presses the shutter button 9 after framing with the viewfinder 6. To perform flash photography, the flash operation member 8 is slid upward and the shutter button 9 is pressed after charging is completed. When the shutter button 9 is pressed, the shutter blade swings and the shutter opening is opened and closed.

【0061】このシャッタ開口の開閉の間に、撮影レン
ズ5を透過した撮影光は、暗箱24内に入射し、アパー
チャ内に露呈されている写真フイルム22、すなわち露
光画面22a内のフイルム面に露光を与える。このとき
に、フイルム面はその長手方向が湾曲されて支持されて
いる。
During the opening and closing of the shutter opening, the photographing light transmitted through the photographing lens 5 enters the dark box 24 and exposes the photographic film 22 exposed in the aperture, ie, the film surface in the exposure screen 22a. give. At this time, the film surface is supported with its longitudinal direction being curved.

【0062】上記同様にして順次に撮影を行い、全コマ
の撮影終了後、ユーザは巻上げノブ13を連続的に回転
操作して、全ての写真フイルム22をパトローネ21に
収納する。そして、このレンズ付きフイルムユニット2
を現像所やDPE店に提出する。
The photographing is sequentially performed in the same manner as described above. After the photographing of all the frames is completed, the user rotates the winding knob 13 continuously to store all the photographic films 22 in the cartridge 21. And this film unit with lens 2
To a photo lab or DPE store.

【0063】現像所等では、ユニット本体3から撮影済
のフイルムパトローネ20を取り出す。取り出されたフ
イルムパトローネ20は、そのパトローネ21から写真
フイルム22が引き出されて分離される。そして、この
写真フイルム22は、所定の現像装置にかけられて現像
処理された後、デジタルプリンタ40にセットされる。
At a developing laboratory or the like, the photographed film cartridge 20 is taken out of the unit body 3. The photographic film 22 is taken out of the patrone 21 and separated from the patrone 21. The photographic film 22 is set in a digital printer 40 after being processed by a predetermined developing device.

【0064】デジタルプリンタ40は、写真フイルム2
2がセットされると、これの先端をスキャナ44に向け
て搬送する。この搬送中に、図10に示すように、コン
トローラ47は写真フイルム22に記録されている機種
コードをコードリーダ43を用いて読み取り、読み取っ
た機種コードを画像処理回路46に送る。
The digital printer 40 is a photo film 2
When 2 is set, the leading end is conveyed toward the scanner 44. During this conveyance, as shown in FIG. 10, the controller 47 reads the model code recorded on the photo film 22 using the code reader 43 and sends the read model code to the image processing circuit 46.

【0065】画像処理回路46は、機種コードを受け取
ると、これに対応した各補正パラメータα,β,γ,L
C ,RF をEEPROM46bから読み出す。そして、
これらの各補正パラメータα,β,γ,LC ,RF を用
いた演算式(a),(b)に、EEPROM46bから
読み出した1画面分の各画素の座標(Px ,PY )を順
次に適用することによって、各画素の座標(Px
Y )に対応した座標(F x ,FY )をそれぞれ求め
る。
The image processing circuit 46 receives the model code
Then, the corresponding correction parameters α, β, γ, L
C, RFIs read from the EEPROM 46b. And
Each of these correction parameters α, β, γ, LC, RFFor
The calculated equations (a) and (b) are converted from the EEPROM 46b.
The coordinates (Px, PY)
By applying the following, the coordinates (Px,
PY) (F) x, FY)
You.

【0066】なお、上記の補正用LUTを作成する際に
は、演算式(a),(b)を用いて1つの象限、例えば
第1象限だけについて演算を行い、第2〜第4象限につ
いては第1象限の演算結果の符号だけを変えると効率的
である。また、座標(Px ,PY )をEEPROM46
bに予め用意して置く代わりに、画素間隔に基づいて、
座標(Px ,PY )を所定のステップずつ増大、または
減少させて演算を順次に行ってもよい。
When the above-mentioned correction LUT is created, calculations are performed on one quadrant, for example, only the first quadrant, using the arithmetic expressions (a) and (b). It is efficient to change only the sign of the operation result in the first quadrant. The coordinates (P x , P Y ) are stored in the EEPROM 46.
b, instead of being prepared in advance, based on the pixel spacing,
The calculation may be performed sequentially by increasing or decreasing the coordinates (P x , P Y ) by predetermined steps.

【0067】上記の演算で得られる座標(Fx ,FY
と、その演算に用いた座標(Px ,PY )は、対応づけ
られてワークメモリ46aに書き込まれ、これにより補
正用LUTが作成される。。
The coordinates (F x , F Y ) obtained by the above calculation
And the coordinates (P x , P Y ) used for the calculation are written in the work memory 46a in association with each other, whereby a correction LUT is created. .

【0068】一方、搬送によって写真フイルム22の最
初の露光画面22aがスキャナ44のフィルムキャリア
に達すると、搬送が停止される。そして、この停止中に
露光画面22a内の原画像がスキャナ44で読み取ら
れ、A/D変換器48によって3色の画像データに変換
され、第1画像メモリ45aに書き込まれる。1画面分
の画像データが第1画像メモリ45aに書き込まれる
と、画像処理回路46は、図11に示すように、アドレ
スを指定して画像メモリ45から画像データを順次に読
み出す。
On the other hand, when the first exposure screen 22a of the photographic film 22 reaches the film carrier of the scanner 44 by the conveyance, the conveyance is stopped. During this stop, the original image in the exposure screen 22a is read by the scanner 44, converted into three-color image data by the A / D converter 48, and written into the first image memory 45a. When the image data for one screen is written in the first image memory 45a, the image processing circuit 46 sequentially reads out the image data from the image memory 45 by specifying an address, as shown in FIG.

【0069】画像処理回路46は、1個の画像データを
読み出すと、この画像データのアドレスを座標(Fx
Y )に変換する。次に、補正用LUTを用いて、座標
(F x ,FY )を対応する座標(Px ,PY )に変換す
る。そして、補正用LUTから得た座標(Px ,PY
をアドレスに変換した後、そのアドレスを用いて画像デ
ータを第2画像メモリ45bに補正画像データとして書
き込む。
The image processing circuit 46 converts one piece of image data
When read, the address of this image data is set to coordinates (Fx,
FY). Next, using the correction LUT,
(F x, FY) To the corresponding coordinates (Px, PYConvert to
You. Then, coordinates (P obtained from the correction LUT)x, PY)
Is converted to an address, and then the image
Data as corrected image data in the second image memory 45b.
Get in.

【0070】上記のようにして変換処理を行って、1個
の画像データを第2画像メモリ45bに書き込むと、新
たな画像データが画像メモリ45から読み出されて、上
記と同じ手順で変換処理が行われ、第1画像メモリ45
aから読み出した画像データが第2画像メモリ45bに
補正画像データとして書き込まれる。以降同様にして、
順次に画像データが読み出しながら変換処理を行って、
第2画像モリ45bに補正画像データが書き込まれる。
When the conversion processing is performed as described above and one piece of image data is written to the second image memory 45b, new image data is read from the image memory 45, and the conversion processing is performed in the same procedure as described above. Is performed, and the first image memory 45
The image data read from a is written into the second image memory 45b as corrected image data. Similarly,
The conversion process is performed while reading the image data sequentially,
The corrected image data is written to the second image memory 45b.

【0071】これにより、図12に模式的に示すよう
に、スキャナ44で読み取った原画像上での座標
(Fx ,FY )が、例えば座標(J+2,I−1)、座
標(J+1,I)、座標(J,I+1)の各画素の画像
データがD1,D2,D3であって、これらの画素に対
応する座標(Px ,PY )が(J,I−1)、座標
(J,I)、座標(J,I+1)であった場合には、歪
み補正処理により、座標(J,I−1)の補正画像デー
タがD1に、座標(J,I)の補正画像データがD2
に、座標(J+1,I+1)の補正画像データがD3に
となるようにして、原画像の各画素が第2画像メモリ4
5bに再配列して書き込まれる。なお、図12では、X
座標だけが変換される場合を描いてあるが、実際には、
対応関係に応じてY座標についても変換される。
Thus, as schematically shown in FIG. 12, the coordinates (F x , F Y ) on the original image read by the scanner 44 are, for example, the coordinates (J + 2, I−1) and the coordinates (J + 1, I), the image data of each pixel at the coordinates (J, I + 1) is D1, D2, D3, and the coordinates (P x , P Y ) corresponding to these pixels are (J, I−1) and the coordinates ( J, I) and the coordinates (J, I + 1), the corrected image data of the coordinates (J, I-1) is set to D1 and the corrected image data of the coordinates (J, I) is set by the distortion correction processing. D2
Then, each pixel of the original image is stored in the second image memory 4 so that the corrected image data of the coordinates (J + 1, I + 1) becomes D3.
5b is rearranged and written. In FIG. 12, X
Although the case where only coordinates are transformed is drawn, in actuality,
The Y coordinate is also converted according to the correspondence.

【0072】上記のようにして、第1画像メモリ45a
上の1画面分の全ての画素が第2画像メモリ45bに再
配列されて書き込まれることにより、歪み補正処理が完
了する。
As described above, the first image memory 45a
All the pixels for one screen above are rearranged and written in the second image memory 45b, thereby completing the distortion correction processing.

【0073】歪み補正処理が完了すると、画像処理回路
46は、第2画像メモリ45bの各補正画像データに対
して、プリント用の色補正、ネガポジ反転処理等の通常
画像処理を行い、通常画像処理を施した各補正画像デー
タを画像記録部42の画像メモリ51に書き込む。な
お、この通常画像処理に際して、露光ムラ,色収差等の
補正を行ってもよい。
When the distortion correction processing is completed, the image processing circuit 46 performs normal image processing such as color correction for printing and negative / positive inversion processing on each of the corrected image data in the second image memory 45b. Is written in the image memory 51 of the image recording unit 42. At the time of the normal image processing, exposure unevenness, chromatic aberration, and the like may be corrected.

【0074】画像記録部42は、1画面分の補正画像デ
ータが画像メモリ51に書き込まれると、これらの3色
の補正画像データに基づいてレーザユニット52を駆動
して、カラー印画紙56にカラー画像を潜像として記録
する。
When the corrected image data for one screen is written into the image memory 51, the image recording unit 42 drives the laser unit 52 based on the corrected image data of the three colors, and color-prints the color photographic paper 56. Record the image as a latent image.

【0075】1画面分のカラー画像の記録が開始される
と、次の露光画面22aがスキャナにセットされ、上記
と同じ手順によって歪み補正処理が行われる。なお、こ
のときにも最初に作成された補正用LUTが用いられ
る。1画面分の画像データに対して歪み補正処理が完了
後、通常画像処理を行ってから各補正画像データが画像
記録部42の画像メモリ51に書き込まれる。そして、
先に記録を開始したカラー画像の記録の完了後に、この
補正画像データに基づいてカラー印画紙56にカラー画
像が記録される。
When the recording of a color image for one screen is started, the next exposure screen 22a is set on the scanner, and the distortion correction processing is performed in the same procedure as described above. At this time, the correction LUT created first is used. After the distortion correction processing is completed for one screen of image data, normal image processing is performed, and then each corrected image data is written to the image memory 51 of the image recording unit 42. And
After the completion of the recording of the color image whose recording has been started first, the color image is recorded on the color photographic paper 56 based on the corrected image data.

【0076】以降、同様にして1本の写真フイルム22
の各露光画面22aから読み取ったカラー画像に対して
歪み補正処理、通常画像処理を行い、カラー印画紙56
にカラー画像を記録する。
Thereafter, in the same manner, one photographic film 22
The color image read from each exposure screen 22a is subjected to distortion correction processing and normal image processing, and
Record a color image in

【0077】露光されたカラー印画紙56は、現像処理
工程に送られ、現像、定着、乾燥等が行われてから、各
画像毎に切り分けられてデジタルプリンタ40からプリ
ント写真として排紙される。こうして得られるプリント
写真には、画像の歪みが補正補正されたカラー画像が写
っている。
The exposed color photographic paper 56 is sent to a developing process, where it is developed, fixed, dried, and the like, cut into individual images, and discharged from the digital printer 40 as a print photograph. The print photograph thus obtained contains a color image in which image distortion has been corrected and corrected.

【0078】[0078]

【実施例】次に実施例について説明する。なお、実施例
では、上記説明と共通な符号を付して説明する。この実
施例で使用するレンズ付きフイルムユニット2の撮影レ
ンズ5は、物体側の第1レンズと、露光画面側の第2レ
ンズとからなる2枚構成とした。
Next, an embodiment will be described. In the embodiments, description will be made with reference numerals common to the above description. The photographing lens 5 of the lens-fitted film unit 2 used in this embodiment has a two-lens configuration including a first lens on the object side and a second lens on the exposure screen side.

【0079】実施例で使用したレンズ付きフイルムユニ
ット2の仕様を以下に示す。 f=33.14mm FNo.=8.0 f1=104.37mm θ=34°
The specifications of the lens-fitted film unit 2 used in the examples are shown below. f = 33.14 mm FNo. = 8.0 f1 = 104.37 mm θ = 34 °

【0080】なお、上記データ中、「f」は撮影レンズ
5全体での合成焦点距離、「f1」は第1レンズの焦点
距離、「FNo.」は撮影レンズの開放値、「θ」は撮
影半画角である。また、露光画面22aは、撮影レンズ
5側に凹面となるように、その長手方向が曲率半径RF
=100mmで湾曲するように支持される。
In the above data, "f" is the combined focal length of the entire photographing lens 5, "f1" is the focal length of the first lens, "FNo." Is the open value of the photographing lens, and "θ" is the photographing distance. The angle of view is half. The longitudinal direction of the exposure screen 22a has a radius of curvature R F so that the exposure screen 22a has a concave surface on the photographing lens 5 side.
= 100 mm.

【0081】撮影レンズ5のレンズデータを次の表1に
示す。表1中の面番号は、物体側から順番に付した第1
レンズ,第2レンズの各レンズ面に付した番号であり、
間隔は次の面との間のレンズ厚みあるいは空気間隔を表
している(単位はmm)。また、像面の間隔の欄に示さ
れた数値は、近軸焦点位置から最良ピント位置までのズ
レ量であり、フイルム面が最良ピント位置にあることを
表している。さらに、表1中で(*)で示されるレンズ
面は、次の条件式を満たすように形成された非球面であ
り、その非球面係数を表2に示す。なお。式中のcは曲
率半径の逆数であり、hは光軸からの光線の高さであ
る。 条件式:Z=ch2 /[1+√{1−(1+k)c2
2 }]+Ah4 +Bh6 +Ch8 +Dh10
Table 1 below shows the lens data of the taking lens 5. The surface numbers in Table 1 are the first numbers given in order from the object side.
It is a number assigned to each lens surface of the lens and the second lens,
The space represents the lens thickness or air space between the lens and the next surface (unit: mm). The numerical value shown in the column of the image plane interval is a shift amount from the paraxial focus position to the best focus position, and indicates that the film surface is at the best focus position. Further, the lens surface indicated by (*) in Table 1 is an aspheric surface formed so as to satisfy the following conditional expression, and the aspheric surface coefficient is shown in Table 2. In addition. In the equation, c is the reciprocal of the radius of curvature, and h is the height of a ray from the optical axis. Condition: Z = ch 2 / [1 + √ {1- (1 + k) c 2 h
2 }] + Ah 4 + Bh 6 + Ch 8 + Dh 10

【0082】[0082]

【表1】 [Table 1]

【0083】[0083]

【表2】 [Table 2]

【0084】上述の仕様のレンズ付きフイルムユニット
2で撮影した場合の歪みの発生具合を光線追跡によって
調べた。その結果を撮影レンズ5の光軸に対する入射光
線の角度(θ1,θ2)と、入射光線の結像点の座標と
を用いて表3に示す。なお、表3及び以下に示す表5,
表6中の座標の値は、小数点以下が3桁となるように端
数を丸めてある。
The degree of distortion when photographing with the film unit with lens 2 having the above specifications was examined by ray tracing. The results are shown in Table 3 using the angles (θ1, θ2) of the incident light with respect to the optical axis of the photographing lens 5 and the coordinates of the image forming point of the incident light. Table 3 and Table 5 below
The values of the coordinates in Table 6 are rounded to three decimal places.

【0085】[0085]

【表3】 [Table 3]

【0086】上記表3において、角度θ1は、前述のZ
XY座標系において、撮影光軸を含むZX平面上におけ
る撮影光軸と入射光線のなす角度を、また角度θ2は撮
影光軸を含むZY平面上における撮影光軸と入射光線の
なす角度である。また、表3中の各座標は、露光画面2
2aを平面とした場合での像点PF(Fx ,FY )に相
当する座標で表しており、その単位はmmである。
In Table 3 above, the angle θ1 is the same as the aforementioned Z
In the XY coordinate system, the angle between the imaging optical axis on the ZX plane including the imaging optical axis and the incident light beam, and the angle θ2 is the angle between the imaging optical axis on the ZY plane including the imaging optical axis and the incident light beam. Further, each coordinate in Table 3 corresponds to the exposure screen 2
It is represented by coordinates corresponding to the image point PF (F x , F Y ) when 2a is a plane, and the unit is mm.

【0087】同じ角度θ1である場合には、各角度θ2
に対応するX座標は本来その角度θ1に応じた座標Px
と同じで一定に、また角度θ2が同じである場合には、
各角度θ1に対応するY座標は本来その角度θ2に応じ
た座標PY と同じで一定になるべきである。
If the angle θ1 is the same, each angle θ2
Is the coordinate P x originally corresponding to the angle θ1.
And the angle θ2 is the same,
The Y coordinate corresponding to each angle θ1 should be essentially the same as the coordinate P Y corresponding to the angle θ2.

【0088】ここで、角度θ1が「0°」,「7.84
4°」,「15.463°」,「22.686°」,
「29.424°」のときの理想像点PPの座標P
x は、順に「0」,「4.512」,「9.060」,
「13.690」,「18.472」(mm)である。
また、角度θ2が「0°」,「5.237°」,「1
0.36°」,「15.28°」,「19.92°」の
ときの理想像点PPの座標PYは、順に「0」,「3.
002」,「5.988」,「8.948」,「11.
870」(mm)である。
Here, the angle θ1 is “0 °”, “7.84”
4 ° ”,“ 15.463 ° ”,“ 22.686 ° ”,
Coordinate P of ideal image point PP at “29.424 °”
x is “0”, “4.512”, “9.060”,
"13.690" and "18.472" (mm).
Further, when the angle θ2 is “0 °”, “5.237 °”, “1”
The coordinates P Y of the ideal image point PP at “0.36 °”, “15.28 °”, and “19.92 °” are “0”, “3.
002 "," 5.988 "," 8.948 "," 11.
870 "(mm).

【0089】しかしながら、撮影レンズ5のディストー
ション及び露光時に露光画面22aが湾曲されているこ
とによって、表3の座標は座標(PY ,PY )とずれが
生じており、歪んでいることがわかる。
However, since the exposure screen 22a is curved at the time of distortion and exposure of the photographing lens 5, the coordinates in Table 3 are shifted from the coordinates (P Y , P Y ) and are distorted. .

【0090】上記のレンズ付きフイルムユニットに対し
て、各補正パラメータα,β,γ,LC ,RF を表4の
ように設定し、上記の入射光線の各角度θ1,θ2に対
応する各座標(Px ,PY )と、これに対応する座標
(Dx ,DY )と座標(Fx ,FY )とを上述の
(1),(2)式及び演算式(a),(b)を用いて求
めた結果を表5に示す。
[0090] with respect to the lens-fitted photo film unit, the correction parameter alpha, beta, gamma, set L C, the R F as shown in Table 4, corresponding to the angle .theta.1, .theta.2 of the incident ray each The coordinates (P x , P Y ), the corresponding coordinates (D x , D Y ), and the coordinates (F x , F Y ) are calculated using the above-described equations (1) and (2) and the arithmetic equations (a), Table 5 shows the results obtained using (b).

【0091】[0091]

【表4】 [Table 4]

【0092】[0092]

【表5】 [Table 5]

【0093】演算式(a)を用いて演算する際には、関
数「tan -1」の代わりに、その近似関数を「f(σ)=
δ・σ+ε・σ3 」と定義して、定数パラメータδ,ε
を最適化を行ったものを用いた。この最適化を行った近
似関数による補完精度を表6に示す。この表6から分か
るように、近似関数を用いても十分に高い精度の計算結
果が得られることがわかる。なお、δ=0.99939
35,ε=−0.3086605とした。
In the operation using the operation expression (a), instead of the function “tan −1 ”, its approximate function is expressed as “f (σ) =
δ · σ + ε · σ 3 ”and the constant parameters δ and ε
Was used after optimization. Table 6 shows the complementation accuracy by the optimized approximation function. As can be seen from Table 6, it is understood that a sufficiently high accuracy of the calculation result can be obtained even by using the approximation function. Note that δ = 0.99939
35, ε = −0.3086605.

【0094】[0094]

【表6】 [Table 6]

【0095】表3に示される光線追跡による座標と、表
4中に示される計算による座標(F x ,FY )との関係
を表7に示す。なお、表7中の誤差の値は、光線追跡に
よる座標及び計算による座標(Fx ,FY )の座標の値
を丸めないものを用いて絶対値として算出し、小数点以
下が3桁となるように端数を丸めてある。
The coordinates by the ray tracing shown in Table 3 and the table
4 (F x, FYRelationship with
Are shown in Table 7. The error values in Table 7 are used for ray tracing.
Coordinates and calculated coordinates (Fx, FY) Coordinate value
Is calculated as an absolute value using a non-rounded value.
Fractions are rounded down to three digits.

【0096】[0096]

【表7】 [Table 7]

【0097】表7から分かるように、演算式(a),
(b)によって得られる座標(Fx ,FY )と光線追跡
による座標とのずれは、最大でも0.012であり、精
度よく歪みが補正されることがわかる。
As can be seen from Table 7, the arithmetic expressions (a) and (a)
The deviation between the coordinates (F x , F Y ) obtained by (b) and the coordinates due to ray tracing is 0.012 at the maximum, and it can be seen that the distortion is corrected with high accuracy.

【0098】上記実施形態では、写真フイルムにサイド
プリントされている機種コードを利用して補正パラメー
タを特定しているが、パトローネの外側に機種コードを
記しておき、これを手動で、あるいは機械読み取りで入
力するようにしてもよい。また、補正パラメータを特定
できるものであれば、機種コード以外のものを利用して
もよく、補正パラメータを特定するための補正コードを
写真フイルムにサイドプリントしたり、パトローネの外
側等に記してもよい
In the above embodiment, the correction parameter is specified by using the model code side-printed on the photo film. However, the model code is described outside the patrone, and this is manually or mechanically read. May be input. In addition, as long as the correction parameter can be specified, a code other than the model code may be used.The correction code for specifying the correction parameter may be side-printed on the photo film or written on the outside of the cartridge. Good

【0099】補正コードを付与する場合には、同じ補正
パラメータを用いて補正を行うのであれば、レンズ付き
フイルムユニットの機種が異なる場合であっても同じも
のを付与してもよい。また、補正パラメータ自体を補正
コードとして採用してもよい。さらに、単に補正処理を
プリント時に実行させるための指示を補正コードとして
付与し、この補正コードを読み取ったときには予め決め
られた補正パラメータを用いて歪み補正処理を実行する
ようにしてもよい。
When the correction code is applied, the same code may be applied even if the type of the film unit with a lens is different as long as the correction is performed using the same correction parameter. Further, the correction parameter itself may be adopted as the correction code. Further, an instruction for simply executing the correction processing at the time of printing may be given as a correction code, and when the correction code is read, the distortion correction processing may be performed using a predetermined correction parameter.

【0100】また、上記実施形態では、レンズ付きフイ
ルムユニットによって撮影された写真フィルムに対して
歪み補正を行う例について説明したが、フイルム面を湾
曲させて支持するようにしたコンパクトカメラ等のカメ
ラで撮影された写真フイルムに対しても同様な処理を行
うことができる。カメラで用いられる135タイプの写
真フイルムからでは、撮影に使用されたカメラの種類
(機種)に応じた補正パラメータを特定することはでき
ないが、例えば作業者にカメラの機種名を伝え、この機
種名、あるいはこれに応じた補正コードをデジタルプリ
ンタに手動で入力するようにすれば、撮影に用いたカメ
ラの機種に応じた補正が可能となる。
In the above-described embodiment, an example has been described in which distortion is corrected for a photographic film photographed by a film unit with a lens. However, a camera such as a compact camera in which a film surface is curved and supported is used. The same processing can be performed on a photographed photo film. It is not possible to specify a correction parameter corresponding to the type (model) of the camera used for shooting from the 135-type photo film used in the camera. Alternatively, if a correction code corresponding to this is manually input to the digital printer, correction according to the model of the camera used for shooting can be performed.

【0101】さらに、上記実施形態では、135タイプ
の写真フイルムに対して補正を行う例を示したが、Adva
nced Photo SystemのIX240型式等の各種タイプの
写真フイルムを用いることができる。IX240型式の
写真フイルムでは、写真フイルムに透明な磁気記録層が
設けられているから、これに補正コード等を記録しても
よく、またこれに対応したカメラでは磁気記録層にデー
タを記録できるので、カメラ側で補正コード等を記録し
て、歪み補正処理の際に利用するようにしてもよい。
Further, in the above-described embodiment, an example has been shown in which correction is performed on a 135-type photographic film.
Various types of photographic film such as nced Photo System IX240 model can be used. In the IX240 type photographic film, a transparent magnetic recording layer is provided on the photographic film, so that a correction code or the like may be recorded on the transparent magnetic recording layer. In a camera corresponding to this, data can be recorded on the magnetic recording layer. Alternatively, a correction code or the like may be recorded on the camera side and used in the distortion correction processing.

【0102】上記では、プリント写真を作成するデジタ
ルプリンタに本発明を適用した例について説明したが、
これ以外の機器にも利用でき、また歪みを補正する独立
した補正装置にも利用できる。
In the above description, an example in which the present invention is applied to a digital printer for creating a print photograph has been described.
It can be used for other devices and also for an independent correction device for correcting distortion.

【0103】[0103]

【発明の効果】以上に述べたように、本発明によれば、
原画像上の各像点に対応する理想像点の位置の対応関係
を、理想像点の位置と、撮影レンズのディストーション
及び撮影時の露光画面の湾曲に応じて予め決められた補
正パラメータとに基づいて原画像上の像点の位置を算出
することにより求め、原画像の各像点を対応する理想像
点の位置に再配列するようにしたから、簡単な演算で処
理によって、撮影レンズのディストーション及び写真フ
イルムが露光時に湾曲されていることに起因した画像の
歪みを補正すいることができる。
As described above, according to the present invention,
The correspondence relationship between the positions of ideal image points corresponding to the respective image points on the original image is calculated based on the positions of the ideal image points and the correction parameters predetermined according to the distortion of the photographing lens and the curvature of the exposure screen during photographing. By calculating the position of the image point on the original image based on the original image, and re-arranging each image point of the original image to the position of the corresponding ideal image point, the processing of the photographing lens is performed by a simple calculation. It is possible to correct image distortion caused by distortion and photographic film being curved at the time of exposure.

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

【図1】フイルム面を湾曲して支持するレンズ付きフイ
ルムユニットの外観を示す斜視図である。
FIG. 1 is a perspective view showing the appearance of a film unit with a lens that supports a film surface in a curved manner.

【図2】レンズ付きフイルムユニットの構成を示す分解
斜視図である。
FIG. 2 is an exploded perspective view showing a configuration of a film unit with a lens.

【図3】撮影レンズとフイルム面の湾曲とを模式的に示
す説明図である。
FIG. 3 is an explanatory diagram schematically showing a photographing lens and a curvature of a film surface.

【図4】本発明を実施したデジタルプリンタの構成を示
すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of a digital printer embodying the present invention.

【図5】補正の際に用いる露光画面の座標を示す説明図
である。
FIG. 5 is an explanatory diagram showing coordinates of an exposure screen used for correction.

【図6】撮影レンズのディストーション及び写真フイル
ムが露光時に湾曲されていることに起因した像点の移動
を示す説明図である。
FIG. 6 is an explanatory diagram showing a movement of an image point caused by distortion of a photographing lens and curving of a photographic film during exposure.

【図7】写真フイルム及び曲率中心Rc,射出瞳の中心
EPの関係を示すXYZ座標系を示すものである。
FIG. 7 shows an XYZ coordinate system showing the relationship between the photographic film, the center of curvature Rc, and the center EP of the exit pupil.

【図8】図7の座標系をY軸方向から見た各像点PW,
PF,PD,及び曲率中心Rc,射出瞳の中心EPの関
係を示す説明図である。
FIG. 8 is a view showing each image point PW,
FIG. 4 is an explanatory diagram showing a relationship among PF, PD, a center of curvature Rc, and a center EP of an exit pupil.

【図9】図7の座標系をX軸方向から見た各像点PW,
PF,PD,及び射出瞳の中心EPの関係を示す説明図
である。
9 is a view showing each image point PW,
FIG. 4 is an explanatory diagram showing a relationship between PF, PD, and a center EP of an exit pupil.

【図10】補正用LUTの作成手順を示すフローチャー
トである。
FIG. 10 is a flowchart illustrating a procedure for creating a correction LUT.

【図11】画素を再配列する手順を示すフローチャート
である。
FIG. 11 is a flowchart illustrating a procedure for rearranging pixels.

【図12】再配列前と再配列後の画像データの関係を示
す説明図である。
FIG. 12 is an explanatory diagram illustrating a relationship between image data before rearrangement and image data after rearrangement.

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

22 写真フイルム 22a 露光画面 43 コードリーダ 44 スキャナ 45a,45b 画像メモリ 46 画像処理回路 46b EEPROM 22 Photo film 22a Exposure screen 43 Code reader 44 Scanner 45a, 45b Image memory 46 Image processing circuit 46b EEPROM

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 撮影レンズ側に凹面を向けて支持された
状態で撮影された写真フイルムの露光画面上の原画像を
多数の画素に分解して読み取り、これらの画素を再配列
することによって、撮影レンズのディストーション及び
撮影時の露光画面の湾曲による原画像の歪みを補正する
撮影画像の補正方法において、 撮影レンズのディストーション及び撮影時の露光画面の
湾曲による原画像の歪みがないときの理想的な像点に対
応した画素の理想位置と、撮影レンズのディストーショ
ン及び撮影時の露光画面の湾曲に応じて予め決められた
補正パラメータとに基づいて、原画像上の位置を算出す
ることにより、原画像の各画素の位置に対する理想位置
の対応関係をそれぞれ求め、この対応関係に基づいて、
原画像の各画素を対応する理想位置に再配列することを
特徴とする撮影画像の補正方法。
An original image on an exposure screen of a photographic film photographed with a concave surface facing the photographing lens side is decomposed into a large number of pixels and read, and these pixels are rearranged. Correction method for correcting the distortion of the original image due to the distortion of the exposure screen during shooting and the distortion of the exposure screen during shooting, the ideal image when there is no distortion of the original image due to the distortion of the shooting lens and the curvature of the exposure screen during shooting By calculating the position on the original image based on the ideal position of the pixel corresponding to the point and a correction parameter predetermined according to the distortion of the photographing lens and the curvature of the exposure screen at the time of photographing, the original image is calculated. The correspondence between the ideal position and the position of each pixel is obtained, and based on this correspondence,
A method for correcting a captured image, comprising rearranging each pixel of an original image to a corresponding ideal position.
【請求項2】 前記凹面を一方向にのみ湾曲させて撮影
した原画像に対しては、撮影レンズの光軸が写真フイル
ムと交わる位置を原点とし、前記湾曲させた方向をX軸
方向、X軸方向と直交する方向をY軸方向としたXY平
面座標系を設定して、平面とした露光画面上の任意の画
素の位置と前記理位置の座標をそれぞれ表し、理想位置
のX座標をPx ,このY座標をPy とするとともに、こ
の理想位置に対応する原画像上の任意の画素の位置のX
座標をFx ,このY座標をFyとし、また撮影レンズの
ディストーションに応じた補正パラメータをα,β,γ
とし、さらに前記湾曲された露光画面の曲率半径RF
撮影レンズの射出瞳の中心から撮影レンズの光軸が写真
フイルムと交わる位置までの距離LC とを露光画面の湾
曲に応じた補正パラメータとしたときに、 Fx =RF ・tan-1(Wx /(RF −Wz )) Fy =((LC −Wz )・DY ) /LC 但し、 Dx =Px ・(1+α・√R+β・R+γ・R2 ) DY =PY ・(1+α・√R+β・R+γ・R2 ) R =√(Px 2 +PY 2 ) Wx =(−Dx /(M・LC ))・(N−√(N2 −M・
x 2)−M・LC ) Wz =(N−√(N2 −M・Dx 2 ))/M M = 1+(Dx 2 /LC 2 ) N = RF +(Dx 2 /LC ) の式により、前記原画像上の各画素の位置と前記理想位
置との対応関係を求めることを特徴とする請求項1記載
の撮影画像の補正方法。
2. For an original image photographed with the concave surface curved only in one direction, the position where the optical axis of the photographing lens intersects the photographic film is set as the origin, and the curved direction is defined as the X-axis direction. An XY plane coordinate system in which the direction orthogonal to the axial direction is set as the Y axis direction is set, and the position of an arbitrary pixel on the exposure screen as a plane and the coordinates of the physical position are respectively represented. x , the Y coordinate is Py, and the X at the position of an arbitrary pixel on the original image corresponding to the ideal position
The coordinates are F x , the Y coordinates are F y, and the correction parameters corresponding to the distortion of the taking lens are α, β, γ
Further, the curvature radius R F of the curved exposure screen and the distance L C from the center of the exit pupil of the taking lens to the position where the optical axis of the taking lens intersects the photographic film are the correction parameters according to the curvature of the exposure screen. Where F x = R F · tan -1 (W x / (R F -W z )) F y = ((L C -W z ) · D Y ) / L C where D x = P x · (1 + α · √R + β · R + γ · R 2 ) D Y = P Y · (1 + α · √R + β · R + γ · R 2 ) R = √ (P x 2 + P Y 2 ) W x = (− D x / ( M · L C )) · (N−√ (N 2 −M ·
D x 2) -M · L C ) W z = (N-√ (N 2 -M · D x 2)) / M M = 1+ (D x 2 / L C 2) N = R F + (D x 2. The method according to claim 1, wherein the correspondence between the position of each pixel on the original image and the ideal position is obtained by the expression 2 / L C ).
JP2000396701A 2000-12-26 2000-12-27 How to correct captured images Expired - Fee Related JP4059624B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2000396701A JP4059624B2 (en) 2000-12-27 2000-12-27 How to correct captured images
US10/025,467 US7050205B2 (en) 2000-12-26 2001-12-26 Method of correcting image data picked up from photographic film

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000396701A JP4059624B2 (en) 2000-12-27 2000-12-27 How to correct captured images

Publications (2)

Publication Number Publication Date
JP2002199203A true JP2002199203A (en) 2002-07-12
JP4059624B2 JP4059624B2 (en) 2008-03-12

Family

ID=18861944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000396701A Expired - Fee Related JP4059624B2 (en) 2000-12-26 2000-12-27 How to correct captured images

Country Status (1)

Country Link
JP (1) JP4059624B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013038563A (en) * 2011-08-08 2013-02-21 Canon Inc Image processing method, image processing apparatus, image pickup apparatus, and image processing program
JP2014064304A (en) * 2013-11-13 2014-04-10 Canon Inc Image processing method, image processing apparatus, image pickup apparatus, and image processing program
US8792015B2 (en) 2011-08-08 2014-07-29 Canon Kabushiki Kaisha Image processing apparatus, image processing method, image pickup apparatus, and a non-transitory computer-readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013038563A (en) * 2011-08-08 2013-02-21 Canon Inc Image processing method, image processing apparatus, image pickup apparatus, and image processing program
US8792015B2 (en) 2011-08-08 2014-07-29 Canon Kabushiki Kaisha Image processing apparatus, image processing method, image pickup apparatus, and a non-transitory computer-readable storage medium
US9007482B2 (en) 2011-08-08 2015-04-14 Canon Kabushiki Kaisha Image processing method, image processing apparatus, image pickup apparatus, and non-transitory computer-readable storage medium
JP2014064304A (en) * 2013-11-13 2014-04-10 Canon Inc Image processing method, image processing apparatus, image pickup apparatus, and image processing program

Also Published As

Publication number Publication date
JP4059624B2 (en) 2008-03-12

Similar Documents

Publication Publication Date Title
JP2001287395A (en) Light emitting array unit for color printer
JPH10319517A (en) Image forming device and manufacture of film unit with lens
US6868231B2 (en) Imaging using silver halide films with micro-lens capture and optical reconstruction
US7050205B2 (en) Method of correcting image data picked up from photographic film
JP2000347352A (en) Photographic lens and film unit equipped with lens
US6546197B2 (en) Method and apparatus of correcting image data picked up from photographic film
JP4059624B2 (en) How to correct captured images
US6301442B1 (en) Optical instrument and image photographic method
US7161655B2 (en) Method for printing a developed photo film
JP2006267692A (en) Camera
JP4220670B2 (en) How to correct captured images
JP2001264903A (en) Correction method and device for photographed image
JP3894699B2 (en) How to correct captured images
US7292376B2 (en) Device for digitally generating images
JP2001318439A (en) Method for correcting light quantity unevenness of photographed image
JP3766537B2 (en) FILM UNIT WITH LENS AND PRINT PHOTO CREATION METHOD
JP3289171B2 (en) Photo printing device and image processing device
JPH11242274A (en) Camera and photographic print system
JP2001318441A (en) Camera and photographic printing device
JP2002023249A (en) Camera
JP2002099034A (en) Film unit with lens and method of producing print
JPH11184021A (en) Montage system by digital printing and camera
JP2002090860A (en) Film unit with lens and printing method
JP2000137282A (en) Film unit with lens and printed photograph producing method
JPH11187175A (en) Digital print system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050913

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070928

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071218

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

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees