JP2008228071A - Method, program and device for distortion correction, and imaging apparatus - Google Patents

Method, program and device for distortion correction, and imaging apparatus Download PDF

Info

Publication number
JP2008228071A
JP2008228071A JP2007065386A JP2007065386A JP2008228071A JP 2008228071 A JP2008228071 A JP 2008228071A JP 2007065386 A JP2007065386 A JP 2007065386A JP 2007065386 A JP2007065386 A JP 2007065386A JP 2008228071 A JP2008228071 A JP 2008228071A
Authority
JP
Japan
Prior art keywords
distortion
image
correction
distortion correction
information
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
JP2007065386A
Other languages
Japanese (ja)
Other versions
JP4893390B2 (en
Inventor
Tsukasa Murata
司 村田
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2007065386A priority Critical patent/JP4893390B2/en
Publication of JP2008228071A publication Critical patent/JP2008228071A/en
Application granted granted Critical
Publication of JP4893390B2 publication Critical patent/JP4893390B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method, program and device for distortion correction and imaging apparatus in which distortion residual correction can be performed with small information missing and high correction accuracy. <P>SOLUTION: A distortion correction method of the present invention includes: a recognition step (S3) of recognizing distortion of a photographic image designated by a user on the basis of attached information of the photographic image; an input step (S4) of causing the user to input the distortion to be made residual in the photographic image after distortion correction; and a correction step (S6) of calculating a correction expression of distortion correction to be applied to the photographic image on the basis of both the recognized distortion and the input distortion and applying the distortion correction to the photographic image in accordance with the correction expression. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、撮影画像へディジタル処理により歪曲補正を施す歪曲補正方法、歪曲補正プログラム、歪曲補正装置、撮像装置に関する。   The present invention relates to a distortion correction method, a distortion correction program, a distortion correction apparatus, and an imaging apparatus that perform distortion correction on a captured image by digital processing.

特許文献1には、モニタ上に撮影画像を表示しながらユーザに歪曲補正の補正特性を指定させ、その補正特性で歪曲補正処理を実行するプリンタが開示されている。このプリンタによれば、撮影レンズの歪曲収差に起因して撮影画像に生じた歪曲をゼロとする他、撮影画像に対し任意の歪曲を残存させることも可能である。以下、撮影画像の歪曲をゼロとするための歪曲補正を「歪曲抑制補正」と称し、撮影画像に任意の歪曲を残存させるための歪曲補正を「歪曲残存補正」と称す。   Japanese Patent Application Laid-Open No. 2004-228561 discloses a printer that allows a user to specify a correction characteristic for distortion correction while displaying a captured image on a monitor and executes a distortion correction process using the correction characteristic. According to this printer, in addition to setting the distortion generated in the photographed image due to the distortion aberration of the photographing lens to zero, it is possible to leave arbitrary distortion in the photographed image. Hereinafter, the distortion correction for reducing the distortion of the photographed image to zero is referred to as “distortion suppression correction”, and the distortion correction for allowing arbitrary distortion to remain in the photographed image is referred to as “distortion residual correction”.

歪曲抑制補正は、撮影画像の歪曲抑制を最優先とする場合に有効であり、歪曲残存補正は、撮影画像の歪曲抑制と撮影画像の周辺画像欠けとのバランスを考慮する場合などに有効である。例えば、一眼レフレックスのカメラで撮影した画像のように、ユーザが光学ファインダを見ながら撮影した撮影画像では、その周辺部にも重要な被写体が存在していることがあるが、その撮影画像に歪曲抑制補正を施すとその被写体が欠けてしまう可能性があるので、歪曲残存補正が有効である。
特開平11−331543号公報
The distortion suppression correction is effective when priority is given to distortion suppression of the captured image, and the distortion remaining correction is effective when considering the balance between distortion suppression of the captured image and lack of peripheral images in the captured image. . For example, in an image taken by a user while looking at the optical viewfinder, such as an image taken with a single-lens reflex camera, there may be an important subject in the periphery of the image. Since the subject may be lost when the distortion suppression correction is performed, the distortion remaining correction is effective.
JP-A-11-331543

しかしながら、撮影画像の歪曲がゼロでない限り、歪曲残存補正の補正特性をユーザが指定するのは極めて難しい。歪曲残存補正の補正特性には、撮影画像に残存させるべき歪曲だけでなく、撮影画像に生じていた歪曲をも反映させる必要があるからである。
仮に、撮影画像に歪曲抑制補正を施してから歪曲残存補正を施すのであれば、歪曲残存補正の補正特性に、撮影画像に生じていた歪曲を反映させる必要は無い。しかし、撮影画像に対し歪曲抑制補正と歪曲残存補正とを順に施すと、歪曲補正処理の回数が2回に増えるので、その分だけ情報欠け(周辺画像欠けや補間誤差)の量も2倍になる。
However, it is extremely difficult for the user to specify the correction characteristics for distortion remaining correction unless the distortion of the captured image is zero. This is because the distortion remaining correction needs to reflect not only the distortion that should remain in the captured image but also the distortion that has occurred in the captured image.
If the distortion remaining correction is performed after the distortion suppression correction is performed on the captured image, it is not necessary to reflect the distortion that has occurred in the captured image in the correction characteristics of the distortion remaining correction. However, if the distortion suppression correction and the distortion remaining correction are sequentially performed on the photographed image, the number of distortion correction processes increases to twice, so the amount of information loss (neighboring image loss or interpolation error) is doubled accordingly. Become.

そこで本発明は、情報欠けが小さく補正精度の高い歪曲残存補正が可能な歪曲補正方法、歪曲補正プログラム、歪曲補正装置、撮像装置を提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to provide a distortion correction method, a distortion correction program, a distortion correction apparatus, and an imaging apparatus capable of performing distortion remaining correction with small information loss and high correction accuracy.

本発明の歪曲補正方法は、ユーザが指定した撮影画像の附随情報に基づき、その撮影画像の歪曲を認識する認識手順と、歪曲補正後の前記撮影画像に残存させるべき歪曲を前記ユーザに入力させる入力手順と、前記認識された歪曲と前記入力された歪曲との双方に基づき前記撮影画像へ施すべき歪曲補正の補正式を算出し、その補正式で前記撮影画像へ歪曲補正を施す補正手順とを含むことを特徴とする。   The distortion correction method of the present invention allows the user to input a recognition procedure for recognizing distortion of a photographed image based on incidental information of the photographed image specified by the user and distortion to be left in the photographed image after distortion correction. An input procedure, a correction procedure for calculating a distortion correction to be performed on the captured image based on both the recognized distortion and the input distortion, and a correction procedure for performing distortion correction on the captured image using the correction formula; It is characterized by including.

なお、前記補正手順では更に、前記入力された歪曲の情報を、前記歪曲補正後の前記撮影画像の付随情報に加えることが望ましい。
また、前記附随情報に加えられる情報は、無歪曲画像上の位置の関数で表された前記歪曲の情報であることが望ましい。
また、前記認識手順では、前記ユーザの指定した撮影画像が未補正画像であった場合には、その撮影画像の撮影時における撮影レンズのレンズポジションと、その撮影レンズの歪曲収差情報とに基づき、前記撮影画像の歪曲を認識することが望ましい。
In the correction procedure, it is preferable that the input distortion information is added to the accompanying information of the captured image after the distortion correction.
The information added to the accompanying information is preferably information on the distortion expressed as a function of a position on the undistorted image.
Further, in the recognition procedure, when the photographed image designated by the user is an uncorrected image, based on the lens position of the photographing lens at the time of photographing the photographed image and the distortion aberration information of the photographing lens, It is desirable to recognize distortion of the captured image.

また、前記認識手順では、前記ユーザの指定した撮影画像に有意な附随情報が無かった場合には、前記撮影画像の歪曲をゼロとみなすことが望ましい。
また、本発明の歪曲補正プログラムは、本発明の何れかの歪曲補正方法をコンピュータに実行させることを特徴とする。
また、本発明の歪曲補正装置は、ユーザが指定した撮影画像の附随情報に基づき、その撮影画像の歪曲を認識する認識手段と、歪曲補正後の前記撮影画像に残存させるべき歪曲を前記ユーザに入力させる入力手段と、前記認識された歪曲と前記入力された歪曲との双方に基づき前記撮影画像へ施すべき歪曲補正の補正式を算出し、その補正式で前記撮影画像へ歪曲補正を施す補正手段とを備えることを特徴とする。
In the recognition procedure, if there is no significant accompanying information in the captured image designated by the user, it is desirable that the distortion of the captured image is regarded as zero.
The distortion correction program of the present invention causes a computer to execute any one of the distortion correction methods of the present invention.
In addition, the distortion correction apparatus of the present invention provides a recognition means for recognizing distortion of a photographed image based on incidental information of the photographed image specified by the user, and distortion to be left in the photographed image after distortion correction to the user. A correction formula for correcting distortion to be applied to the captured image based on both the input means to be input and the recognized distortion and the input distortion, and correction for performing distortion correction on the captured image using the correction formula Means.

なお、前記補正手段は更に、前記入力された歪曲の情報を、前記歪曲補正後の前記撮影画像の付随情報に加えることが望ましい。
また、前記附随情報に加えられる情報は、無歪曲画像上の位置の関数で表された前記歪曲の情報であることが望ましい。
また、前記認識手段は、前記ユーザの指定した撮影画像が未補正画像であった場合には、その撮影画像の撮影時における撮影レンズのレンズポジションと、その撮影レンズの歪曲収差情報とに基づき、前記撮影画像の歪曲を認識することが望ましい。
It is preferable that the correction unit further adds the input distortion information to the accompanying information of the captured image after the distortion correction.
The information added to the accompanying information is preferably information on the distortion expressed as a function of a position on the undistorted image.
In addition, when the captured image designated by the user is an uncorrected image, the recognizing unit, based on the lens position of the photographing lens at the time of photographing the photographed image, and distortion aberration information of the photographing lens, It is desirable to recognize distortion of the captured image.

また、前記認識手段は、前記ユーザの指定した撮影画像に有意な附随情報が無かった場合には、前記撮影画像の歪曲をゼロとみなすことが望ましい。
また、本発明の撮像装置は、撮影画像を取得する撮像装置と、前記撮像装置が取得した撮影画像へ歪曲補正を施す本発明の何れかの歪曲補正装置とを備えたことを特徴とする。
Further, it is desirable that the recognition means regards the distortion of the captured image as zero when there is no significant accompanying information in the captured image designated by the user.
In addition, an imaging apparatus according to the present invention includes an imaging apparatus that acquires a captured image and any one of the distortion correction apparatuses according to the present invention that performs distortion correction on the captured image acquired by the imaging apparatus.

本発明によれば、情報欠けが小さく補正精度の高い歪曲残存補正が可能な歪曲補正方法、歪曲補正プログラム、歪曲補正装置、撮像装置が実現する。   According to the present invention, a distortion correction method, a distortion correction program, a distortion correction apparatus, and an imaging apparatus capable of performing distortion residual correction with small missing information and high correction accuracy are realized.

[実施形態]
以下、本発明の実施形態としてカメラシステムを説明する。
図1は、カメラシステムの構成を説明する図である。図1に示すとおり、カメラシステムはディジタルカメラ10とコンピュータ21とを備える。
ディジタルカメラ10には、レンズポジションが可変の撮影レンズ11が装着される。撮影レンズ11のレンズポジションとは、撮影レンズ11の焦点位置dと焦点距離fとの組み合わせのことである。撮影レンズ11が形成した被写体像は、撮影時にディジタルカメラ10の撮像素子が画像Iへと変換する。ディジタルカメラ10は、その画像Iの画像ファイルを作成し、ディジタルカメラ10のメモリ(カードメモリなど)へ保存する。
[Embodiment]
Hereinafter, a camera system will be described as an embodiment of the present invention.
FIG. 1 is a diagram illustrating the configuration of a camera system. As shown in FIG. 1, the camera system includes a digital camera 10 and a computer 21.
The digital camera 10 is equipped with a photographing lens 11 whose lens position is variable. The lens position of the photographic lens 11 is a combination of the focal position d and the focal length f of the photographic lens 11. The subject image formed by the photographing lens 11 is converted into an image I by the image sensor of the digital camera 10 at the time of photographing. The digital camera 10 creates an image file of the image I and stores it in a memory (such as a card memory) of the digital camera 10.

ディジタルカメラ10がコンピュータ21へ接続されると、ディジタルカメラ10はコンピュータ21の制御下に入る。この状態でコンピュータ21は、ディジタルカメラ10のメモリに保存されている画像ファイルをコンピュータ21へ転送させ、それをコンピュータ21のメモリ(ハードディスクなど)へ保存する。
コンピュータ21には予め歪曲補正プログラムがインストールされており、その歪曲補正プログラムに従って動作する。以下に説明するコンピュータ21の動作は、何れもこの歪曲補正プログラムに従うものとする。
When the digital camera 10 is connected to the computer 21, the digital camera 10 is under the control of the computer 21. In this state, the computer 21 transfers the image file stored in the memory of the digital camera 10 to the computer 21 and stores it in the memory (such as a hard disk) of the computer 21.
The computer 21 is preinstalled with a distortion correction program, and operates according to the distortion correction program. It is assumed that the operation of the computer 21 described below follows this distortion correction program.

コンピュータ21は、画像の歪曲をゼロとするための歪曲抑制補正と、ユーザの指定した歪曲を画像に残存させるための歪曲残存補正との双方を行うことが可能である。その際、コンピュータ21は、モニタ22a上に必要な情報を表示し、ユーザはその情報を確認しながら入力器22bを操作して必要な情報をコンピュータ21へ入力する。
ここで、ディジタルカメラ10からコンピュータ21へと転送された画像ファイルは、図1(A)に示すとおり画像Iのデータが書き込まれた画像記憶領域AIと、画像Iの附随情報が書き込まれたタグ領域Atとを有している。この附随情報には、少なくとも撮影レンズ11のレンズ種類情報ILと、撮影時における撮影レンズ11のレンズポジション(d,f)の値とが含まれている。なお、他のディジタルカメラからコンピュータ21へと転送された画像ファイルも、同様の情報を有しているものとする。
The computer 21 can perform both the distortion suppression correction for making the distortion of the image zero and the distortion remaining correction for allowing the distortion specified by the user to remain in the image. At that time, the computer 21 displays necessary information on the monitor 22a, and the user operates the input device 22b while confirming the information to input the necessary information to the computer 21.
Here, as shown in FIG. 1A, the image file transferred from the digital camera 10 to the computer 21 includes an image storage area AI in which data of the image I is written, and a tag in which incidental information of the image I is written. And an area At. This additional information includes at least the lens type information IL of the photographing lens 11 and the value of the lens position (d, f) of the photographing lens 11 at the time of photographing. It is assumed that the image file transferred from the other digital camera to the computer 21 has the same information.

したがって、コンピュータ21は、個々の画像の付随情報に基づき、個々の画像に生じている歪曲を既知とすることができる。但し、それを可能とするために、コンピュータ21は、図1(B)に示すとおり予めレンズ情報テーブルを記憶している。以下、レンズ情報テーブルの内容を詳しく説明する。
通常、撮影レンズが画像に与える歪曲量Dは、無歪曲画像上の位置の関数で表される。無歪曲画像上の位置を像高比r(=像高/最大像高)で表すと、歪曲量Dは像高比rの関数で式(1)のとおり表される。以下、像高比rの関数で表された歪曲量D(r)を「歪曲量分布D(r)」と称す。
Therefore, the computer 21 can make the distortion occurring in each image known based on the accompanying information of each image. However, in order to make this possible, the computer 21 stores a lens information table in advance as shown in FIG. Hereinafter, the contents of the lens information table will be described in detail.
Usually, the distortion amount D given to the image by the photographing lens is expressed as a function of the position on the undistorted image. When the position on the undistorted image is expressed by an image height ratio r (= image height / maximum image height), the distortion amount D is expressed as a function of the image height ratio r as shown in Expression (1). Hereinafter, the distortion amount D (r) expressed as a function of the image height ratio r is referred to as “distortion amount distribution D (r)”.

Figure 2008228071
Figure 2008228071

但し、歪曲量分布D(r)を規定する係数Aは、撮影レンズのレンズポジション(d,f)に応じて変化する。つまり、係数Aは、レンズポジション(d,f)の関数であり、例えば以下の式(2)で表される。   However, the coefficient A that defines the distortion distribution D (r) varies depending on the lens position (d, f) of the photographic lens. That is, the coefficient A is a function of the lens position (d, f), and is expressed by, for example, the following formula (2).

Figure 2008228071
Figure 2008228071

また、歪曲量分布D(r)を規定する係数Bも、撮影レンズのレンズポジション(d,f)に応じて変化する。つまり、係数Bは、レンズポジション(d,f)の関数であり、例えば以下の式(3)で表される。   The coefficient B that defines the distortion distribution D (r) also changes according to the lens position (d, f) of the taking lens. That is, the coefficient B is a function of the lens position (d, f), and is expressed by, for example, the following formula (3).

Figure 2008228071
Figure 2008228071

また、歪曲量分布D(r)を規定する係数Cも、撮影レンズのレンズポジション(d,f)に応じて変化する。つまり、係数Cは、レンズポジション(d,f)の関数であり、例えば以下の式(4)で表される。   The coefficient C that defines the distortion amount distribution D (r) also changes according to the lens position (d, f) of the photographic lens. That is, the coefficient C is a function of the lens position (d, f), and is expressed by, for example, the following formula (4).

Figure 2008228071
Figure 2008228071

そして、式(2),(3),(4)における36個の係数Γ00,Γ01,Γ02,Γ10,Γ11,Γ12,Γ20,Γ21,Γ22,Γ30,Γ31,Γ32,Δ00,Δ01,Δ02,Δ10,Δ11,Δ12,Δ20,Δ21,Δ22,Δ30,Δ31,Δ32,Λ00,Λ01,Λ02,Λ10,Λ11,Λ12,Λ20,Λ21,Λ22,Λ30,Λ31,Λ32の値の組み合わせは、撮影レンズの種類(仕様)によって決まる。 Then, the 36 coefficients Γ 00 , Γ 01 , Γ 02 , Γ 10 , Γ 11 , Γ 12 , Γ 20 , Γ 21 , Γ 22 , Γ 30 , Γ in the equations (2), (3), (4) 31 , Γ 32 , Δ 00 , Δ 01 , Δ 02 , Δ 10 , Δ 11 , Δ 12 , Δ 20 , Δ 21 , Δ 22 , Δ 30 , Δ 31 , Δ 32 , Λ 00 , Λ 01 , Λ 02 , The combination of values of Λ 10 , Λ 11 , Λ 12 , Λ 20 , Λ 21 , Λ 22 , Λ 30 , Λ 31 , and Λ 32 is determined by the type (specification) of the taking lens.

したがって、これら36個の係数(Γ00,Γ01,…,Λ32)の値を撮影レンズの種類毎に格納したものが、図1(B)に示したレンズ情報テーブルである。
例えば、画像Iに生じている歪曲量分布を既知とする場合、コンピュータ21は、画像Iに附随するレンズ種類情報ILから画像Iの撮影に使用された撮影レンズの種類を認識し、その種類に対応する係数(Γ00,Γ01,…,Λ32)の値をレンズ情報テーブルから読み出し、それらの値を式(1)〜(4)へ代入することにより、画像Iに生じている歪曲量分布D(r)の算出式D(r)=D(r,d,f)を導出する。そして、画像Iに附随するレンズポジション(d,f)の値をその算出式D(r)=D(r,d,f)に当てはめれば、画像Iに生じている歪曲量分布D(r)が既知となる。
Therefore, the lens information table shown in FIG. 1B stores the values of these 36 coefficients (Γ 00 , Γ 01 ,..., Λ 32 ) for each type of photographing lens.
For example, when the distortion amount distribution occurring in the image I is known, the computer 21 recognizes the type of the photographing lens used for photographing the image I from the lens type information IL attached to the image I, and sets the type. The values of the corresponding coefficients (Γ 00 , Γ 01 ,..., Λ 32 ) are read from the lens information table, and those values are substituted into the equations (1) to (4). A calculation formula D (r) = D (r, d, f) for the distribution D (r) is derived. Then, if the value of the lens position (d, f) associated with the image I is applied to the calculation formula D (r) = D (r, d, f), the distortion amount distribution D (r generated in the image I ) Becomes known.

なお、コンピュータ21は、式(1)〜(4)の各々を予め記憶しているものとする。
また、ここでは式(1)の項数を3とし、式(2),(3),(4)の項数を12としたので、レンズ情報テーブルに格納される係数の個数(レンズ種類毎の個数)が36となったが、式(1)の項数と、式(2)〜(4)の項数とが異なれば、その個数は36以外の数になることもある。
It is assumed that the computer 21 stores each of the formulas (1) to (4) in advance.
Here, since the number of terms in equation (1) is 3, and the number of terms in equations (2), (3), and (4) is 12, the number of coefficients stored in the lens information table (for each lens type). However, if the number of terms in equation (1) is different from the number of terms in equations (2) to (4), the number may be other than 36.

また、本実施形態のコンピュータ21は、前述した歪曲残存補正を行うに当たり、歪曲補正後の画像に残存させるべき歪曲量分布をユーザに指定させるが、この歪曲量分布は前述した歪曲量分布と同じ関数型(式(1))で表せるものとする。したがって、この場合ユーザは式(1)中の3つの係数A,B,Cの値を指定することになる。
以下、歪曲補正に関するコンピュータ21の動作を詳しく説明する。
In addition, when performing the above-described distortion remaining correction, the computer 21 according to the present embodiment allows the user to specify a distortion amount distribution that should remain in the image after distortion correction. This distortion amount distribution is the same as the above-described distortion amount distribution. It can be expressed as a function type (formula (1)). Therefore, in this case, the user designates the values of the three coefficients A, B, and C in the equation (1).
Hereinafter, the operation of the computer 21 relating to distortion correction will be described in detail.

図2は、歪曲補正に関するコンピュータ21の動作フローチャートである。
先ず、コンピュータ21は、メモリに保存されている画像ファイルの一覧をユーザに提示し、歪曲補正の対象とすべき元画像を指定させる(ステップS1)。なお、呈示される画像ファイルの中には、1回も歪曲補正処理の施されていない未補正画像(画像Iなど)の画像ファイルと、少なくとも1回は歪曲補正処理の施された既補正画像の画像ファイルとが混在している可能性があるが、先ずは、未補正画像である画像Iが元画像として指定され、ユーザが補正後の画像として画像I’を得ようとした場合を説明する(図3参照)。以下、画像Iを「元画像I」と称し、補正後の画像I’を「補正後画像I’」と称す。
FIG. 2 is an operation flowchart of the computer 21 regarding distortion correction.
First, the computer 21 presents a list of image files stored in the memory to the user and designates an original image that is to be subjected to distortion correction (step S1). In addition, in the presented image file, an image file of an uncorrected image (image I or the like) that has not been subjected to distortion correction processing once, and an already corrected image that has been subjected to distortion correction processing at least once. However, first, the case where the image I which is an uncorrected image is designated as the original image and the user tries to obtain the image I ′ as the corrected image will be described first. (See FIG. 3). Hereinafter, the image I is referred to as “original image I”, and the corrected image I ′ is referred to as “corrected image I ′”.

元画像Iが指定されると(ステップS1YES)、コンピュータ21は、その元画像Iをモニタ22aへ表示する(ステップS2)。図3に示すとおり、この元画像Iには歪曲が生じており、その歪曲量分布は撮影レンズ11の歪曲収差に起因したものである。
その一方で、コンピュータ21は、元画像Iに附随するレンズ種類情報ILと、元画像Iに附随するレンズポジション(d,f)の値と、予め記憶したレンズ情報テーブルとに基づき、元画像Iに生じている歪曲量分布D(r)を既知とする(ステップS3)。その方法は前述したとおりである。以下、この歪曲量分布D(r)を「現歪曲量分布D(r)」と称す。現歪曲量分布D(r)は、図3(A)に示すとおり、無歪曲画像Iiを基準として元画像Iの歪曲量分布を表したものである。
When the original image I is designated (step S1 YES), the computer 21 displays the original image I on the monitor 22a (step S2). As shown in FIG. 3, the original image I is distorted, and the distortion amount distribution is caused by the distortion aberration of the photographing lens 11.
On the other hand, the computer 21 is based on the lens type information IL attached to the original image I, the value of the lens position (d, f) attached to the original image I, and the lens information table stored in advance. Is assumed to be known (step S3). The method is as described above. Hereinafter, this distortion amount distribution D (r) is referred to as “current distortion amount distribution D (r)”. The current distortion amount distribution D (r) represents the distortion amount distribution of the original image I with reference to the undistorted image I i as shown in FIG.

その後、コンピュータ21は、ユーザからの歪曲補正の指示を待機する(ステップS4)。この状態でユーザは補正後画像I’に残存させるべき歪曲量分布D’(r)の3つの係数A,B,Cの値をコンピュータ21へ指定する。以下、ユーザが指定した歪曲量分布D’(r)を「指定歪曲量分布D’(r)」と称す。
指定歪曲量分布D’(r)は、図3(B)に示すとおり、無歪曲画像Iiを基準として補正後画像I’の歪曲量分布を表したものである。したがって、この指定歪曲量分布D’(r)と、前述した現歪曲量分布D(r)とに基づけば、元画像Iと補正後画像I’との関係が分かるはずである。
Thereafter, the computer 21 waits for a distortion correction instruction from the user (step S4). In this state, the user designates the values of the three coefficients A, B, and C of the distortion amount distribution D ′ (r) to be left in the corrected image I ′ to the computer 21. Hereinafter, the distortion amount distribution D ′ (r) specified by the user is referred to as “specified distortion amount distribution D ′ (r)”.
The designated distortion amount distribution D ′ (r) represents the distortion amount distribution of the corrected image I ′ with reference to the undistorted image I i as shown in FIG. 3B. Therefore, based on the specified distortion amount distribution D ′ (r) and the above-described current distortion amount distribution D (r), the relationship between the original image I and the corrected image I ′ should be understood.

そこで、コンピュータ21は、現歪曲量分布D(r)と指定歪曲量分布D’(r)とに基づき、図3(1)に示すとおり、補正後画像I’を基準とした元画像Iの歪曲量分布Dnew(r)を算出し、その歪曲量分布Dnew(r)により、元画像Iから補正後画像I’への座標変換式を作成する(ステップS5)。このステップS5の詳細は後述する。
そして、コンピュータ21は、その座標変換式を使用して元画像Iへ歪曲補正処理を施し、補正後画像I’を得ると共に(ステップS6)、補正後画像I’をモニタ22aへ表示する(ステップS7)。
Therefore, the computer 21 based on the current distortion amount distribution D (r) and the designated distortion amount distribution D ′ (r), as shown in FIG. 3 (1), the original image I based on the corrected image I ′. A distortion amount distribution D new (r) is calculated, and a coordinate conversion formula from the original image I to the corrected image I ′ is created from the distortion amount distribution D new (r) (step S5). Details of step S5 will be described later.
Then, the computer 21 performs distortion correction processing on the original image I using the coordinate conversion formula to obtain a corrected image I ′ (step S6), and displays the corrected image I ′ on the monitor 22a (step S6). S7).

その後、ユーザから補正後画像I’の保存指示が入力されると(ステップS8)、コンピュータ21は補正後画像I’の画像ファイルを作成し、その画像ファイルをメモリへ保存する(ステップS9)。
したがって、未補正画像(画像Iなど)に対する歪曲残存補正は、1回の歪曲補正処理だけで確実に行われる。よって、この歪曲残存補正は、情報欠けが少なく、高精度である。
Thereafter, when an instruction to save the corrected image I ′ is input from the user (step S8), the computer 21 creates an image file of the corrected image I ′ and stores the image file in the memory (step S9).
Therefore, the distortion remaining correction for the uncorrected image (image I or the like) is reliably performed by only one distortion correction process. Therefore, this distortion remaining correction is highly accurate with few missing information.

しかも、ステップS9においてコンピュータ21は、図4(A)に示すとおり、補正後画像I’の画像ファイルのタグ領域Atに、補正後画像I’に生じている歪曲量分布の情報、すなわち直前のステップS4にて指定された指定歪曲量分布D’(r)の情報(係数A,B,Cの値)を書き込む。
したがって、既補正画像(画像I’など)の画像ファイルには、図4(A)に示すとおり、既補正画像(画像I’など)に生じている現歪曲量分布の情報(係数A,B,Cの値)がそのまま書き込まれる。
Moreover, in step S9, as shown in FIG. 4A, the computer 21 stores information on the distribution of the distortion amount generated in the corrected image I ′ in the tag area At of the image file of the corrected image I ′, that is, the immediately preceding information. Information (values of coefficients A, B, and C) of the specified distortion amount distribution D ′ (r) specified in step S4 is written.
Therefore, in the image file of the already corrected image (image I ′, etc.), as shown in FIG. 4A, information (coefficients A, B) of the current distortion amount distribution occurring in the already corrected image (image I ′, etc.). , C values) are written as they are.

したがって、それ以降のステップS1において既補正画像(画像I’など)が元画像として指定された場合にも、コンピュータ21は高精度な歪曲残存補正を行うことができる。
次に、既補正画像である画像I’が元画像として指定され、ユーザが補正後の画像として画像I”を得ようとした場合を説明する(図3参照)。以下、画像I’を「元画像I’」と称し、補正後の画像I”を「補正後画像I”」と称す。
Therefore, even when a corrected image (image I ′ or the like) is designated as the original image in the subsequent step S1, the computer 21 can perform highly accurate distortion remaining correction.
Next, a case will be described in which an image I ′ that is a corrected image is designated as an original image and the user tries to obtain an image I ″ as a corrected image (see FIG. 3). The original image I ′ ”is referred to, and the corrected image I ″ is referred to as“ corrected image I ″ ”.

元画像I’が指定されると(ステップS1YES)、コンピュータ21は、その元画像I’をモニタ22aへ表示する(ステップS2)。図3に示すとおり、この元画像I’には歪曲が生じており、その歪曲量分布は、前回の歪曲補正後に起因したものである。
その一方で、コンピュータ21は、元画像I’に附随する係数A,B,Cの値(図4(A)参照)を式(1)に当てはめることにより、元画像I’に生じている歪曲量分布D’(r)を既知とする(ステップS3)。以下、この歪曲量分布D’(r)を「現歪曲量分布D’(r)」と称す。現歪曲量分布D’(r)は、図3(B)に示すとおり、無歪曲画像Iiを基準として元画像I’の歪曲量分布を表したものである。
When the original image I ′ is designated (step S1 YES), the computer 21 displays the original image I ′ on the monitor 22a (step S2). As shown in FIG. 3, the original image I ′ is distorted, and the distortion amount distribution is caused after the previous distortion correction.
On the other hand, the computer 21 applies the values of the coefficients A, B, and C attached to the original image I ′ (see FIG. 4A) to the equation (1), thereby causing distortion occurring in the original image I ′. The quantity distribution D ′ (r) is assumed to be known (step S3). Hereinafter, this distortion amount distribution D ′ (r) is referred to as “current distortion amount distribution D ′ (r)”. As shown in FIG. 3B, the current distortion amount distribution D ′ (r) represents the distortion amount distribution of the original image I ′ with the undistorted image I i as a reference.

その後、コンピュータ21は、ユーザからの歪曲補正の指示を待機する(ステップS4)。この状態でユーザは補正後画像I”に残存させるべき歪曲量分布D”(r)の3つの係数A,B,Cの値をコンピュータ21へ指定する。以下、ユーザが指定した歪曲量分布D”(r)を「指定歪曲量分布D”(r)」と称す。
指定歪曲量分布D”(r)は、図3(C)に示すとおり、無歪曲画像Iiを基準として補正後画像I”の歪曲量分布を表したものである。したがって、この指定歪曲量分布D”(r)と、前述した現歪曲量分布D’(r)とに基づけば、元画像I’と補正後画像I”との関係が分かるはずである。
Thereafter, the computer 21 waits for a distortion correction instruction from the user (step S4). In this state, the user designates to the computer 21 the values of the three coefficients A, B, and C of the distortion amount distribution D ″ (r) that should remain in the corrected image I ″. Hereinafter, the distortion amount distribution D ″ (r) designated by the user is referred to as “designated distortion amount distribution D ″ (r)”.
As shown in FIG. 3C, the designated distortion amount distribution D ″ (r) represents the distortion amount distribution of the corrected image I ″ with reference to the undistorted image I i . Therefore, the relationship between the original image I ′ and the corrected image I ″ should be understood based on the specified distortion amount distribution D ″ (r) and the above-described current distortion amount distribution D ′ (r).

そこで、コンピュータ21は、現歪曲量分布D’(r)と指定歪曲量分布D”(r)とに基づき、図3(2)に示すとおり、補正後画像I”を基準とした元画像I’の歪曲量分布D’new(r)を算出し、その歪曲量分布D’new(r)により、元画像I’から補正後画像I”への座標変換式を作成する(ステップS5)。このステップS5の詳細は後述する。 Therefore, the computer 21 based on the current distortion amount distribution D ′ (r) and the specified distortion amount distribution D ″ (r), as shown in FIG. 3B, the original image I based on the corrected image I ″. A distortion amount distribution D ′ new (r) of “′” is calculated, and a coordinate conversion formula from the original image I ′ to the corrected image I ″ is created based on the distortion amount distribution D ′ new (r) (step S5). Details of step S5 will be described later.

そして、コンピュータ21は、その座標変換式を使用して元画像I’へ歪曲補正処理を施し、補正後画像I”を得ると共に(ステップS6)、補正後画像I”をモニタ22aへ表示する(ステップS7)。
その後、ユーザから補正後画像I”の保存指示が入力されると(ステップS8)、コンピュータ21は補正後画像I”の画像ファイルを作成し、その画像ファイルをメモリへ保存する(ステップS9)。
Then, the computer 21 performs distortion correction processing on the original image I ′ using the coordinate conversion formula to obtain a corrected image I ″ (step S6), and displays the corrected image I ″ on the monitor 22a (step S6). Step S7).
Thereafter, when an instruction to save the corrected image I ″ is input from the user (step S8), the computer 21 creates an image file of the corrected image I ″ and stores the image file in the memory (step S9).

したがって、既補正画像(画像I’など)に対する歪曲残存補正は、1回の歪曲補正処理だけで確実に行われる。よって、この歪曲残存補正は、情報欠けが少なく、高精度である。
しかも、ステップS9においてコンピュータ21は、図4(B)に示すとおり、補正後画像I”の画像ファイルのタグ領域Atに、補正後画像I”に生じている歪曲量分布の情報、すなわち直前のステップS4にて指定された指定歪曲量分布D”(r)の情報(係数A,B,Cの値)を書き込む。
Therefore, the distortion remaining correction for the already corrected image (image I ′ or the like) is reliably performed by only one distortion correction process. Therefore, this distortion remaining correction is highly accurate with few missing information.
Moreover, in step S9, as shown in FIG. 4B, the computer 21 stores information on the distribution of the amount of distortion generated in the corrected image I ″ in the tag area At of the image file of the corrected image I ″, that is, the immediately preceding information. Information (values of coefficients A, B, and C) of the specified distortion amount distribution D ″ (r) specified in step S4 is written.

以上のコンピュータ21の動作によれば、情報欠けの少ない高精度な歪曲残存補正を、同じ画像に対し繰り返し施すことも可能である(但し、トータルの画像欠けは、繰り返しの回数だけ増える。)。
また、以上のコンピュータ21の動作によれば、前述したステップS4においてユーザが指定歪曲量分布をゼロとする(係数A,B,Cの値を0とする)だけで、歪曲抑制補正を行うことも可能である。
According to the operation of the computer 21 described above, it is also possible to repeatedly perform the distortion correction with high accuracy with little information loss on the same image (however, the total image loss increases by the number of repetitions).
Further, according to the operation of the computer 21 described above, the distortion suppression correction is performed only by the user setting the specified distortion amount distribution to zero (the values of the coefficients A, B, and C are set to 0) in step S4 described above. Is also possible.

[ステップS5の詳細]
以下、図5を参照してステップS5を詳細に説明する。ここでは代表して画像Iから画像I’への座標変換式(図5(1))の作成方法を説明する。他の画像同士の座標変換式も同様に作成することができる。
元画像Iから補正後画像I’への座標変換式(図5(1))は、元画像Iから無歪曲画像Iiへの座標変換式(図5(A))と、無歪曲画像Iiから補正後画像I’への座標変換式(図5(B))とを合成したものである。
[Details of Step S5]
Hereinafter, step S5 will be described in detail with reference to FIG. Here, as a representative example, a method of creating a coordinate conversion formula (FIG. 5A) from the image I to the image I ′ will be described. Coordinate conversion formulas for other images can be similarly created.
The coordinate conversion formula (FIG. 5 (1)) from the original image I to the corrected image I ′ is the same as the coordinate conversion formula (FIG. 5 (A)) from the original image I to the undistorted image I i . This is a combination of the coordinate conversion formula (FIG. 5B) from i to the corrected image I ′.

先ず、元画像Iから無歪曲画像Iiへの座標変換式(図5(A))を考える。
元画像Iに生じている歪曲量分布は前述したとおりD(r)であるが、この歪曲量分布D(r)を表現する像高比rは、無歪曲画像Ii上の像高比riである。よって、ここでは歪曲量分布D(r)をD(ri)と表す。この場合、元画像Iから無歪曲画像Iiへの座標変換式は、元画像I上の座標をV=(x,y)、無歪曲画像Ii上の座標をVi=(xi,yi)とおくと、式(5)で表される。
First, consider the coordinate conversion formula (FIG. 5A) from the original image I to the undistorted image I i .
As described above, the distortion amount distribution generated in the original image I is D (r), and the image height ratio r representing the distortion amount distribution D (r) is the image height ratio r on the undistorted image I i. i . Therefore, here, the distortion amount distribution D (r) is represented as D (r i ). In this case, coordinate conversion formula from the original image I to the non-distorted image I i is the coordinate of V = on the original image I (x, y), the coordinates on the non-distorted image I i V i = (x i , If y i ), then it is expressed by equation (5).

Figure 2008228071
Figure 2008228071

次に、無歪曲画像Iiから補正後画像I’への座標変換式(図5(B))を考える。
補正後画像I’に残存させるべき歪曲量分布は前述したとおりD’(r)であるが、この歪曲量分布D’(r)を表現する像高比rは、無歪曲画像Ii上の像高比riである。よって、ここでは歪曲量分布D’(r)をD’(ri)と表す。この場合、無歪曲画像Iiから補正後画像I’への座標変換式は、無歪曲画像Ii上の座標をV=(xi,yi)、補正後画像I’上の座標をV’=(x’,y’)とおくと、式(6)で表される。
Next, consider the coordinate conversion formula (FIG. 5B) from the undistorted image I i to the corrected image I ′.
As described above, the distortion amount distribution to be left in the corrected image I ′ is D ′ (r), and the image height ratio r representing the distortion amount distribution D ′ (r) is on the undistorted image I i . The image height ratio r i . Therefore, here, the distortion amount distribution D ′ (r) is represented as D ′ (r i ). In this case, the coordinate conversion formula from the undistorted image I i to the corrected image I ′ is V = (x i , y i ) on the undistorted image I i and V is the coordinate on the corrected image I ′. If '= (x', y ') is set, it is expressed by equation (6).

Figure 2008228071
Figure 2008228071

したがって、元画像Iから補正後画像I’への座標変換式(図5(1))は、式(5)、式(6)より、式(7)であることがわかる。   Therefore, it can be seen that the coordinate conversion equation (FIG. 5 (1)) from the original image I to the corrected image I ′ is the equation (7) from the equations (5) and (6).

Figure 2008228071
Figure 2008228071

なお、式(7)中のDnew(ri)は、補正後画像I’を基準とした元画像Iの歪曲量分布を、無歪曲画像Ii上の像高比riで表したものである。この歪曲量分布Dnew(ri)も、他の歪曲量分布と同じ関数型(式(1))で近似されるものとする。
この式(7)を元画像Iから補正後画像I’への座標変換式として使用するためには、式(7)中の歪曲量分布Dnew(ri)を、補正後画像I’上の像高比r’で表された歪曲量分布Dnew(r’)に置換しておく必要がある(式(8)を参照)。
Note that D new (r i ) in equation (7) represents the distortion amount distribution of the original image I with the corrected image I ′ as a reference, expressed as an image height ratio r i on the undistorted image I i. It is. This distortion amount distribution D new (r i ) is also approximated by the same function type (equation (1)) as other distortion amount distributions.
In order to use this equation (7) as a coordinate conversion equation from the original image I to the corrected image I ′, the distortion amount distribution D new (r i ) in the equation (7) is represented on the corrected image I ′. It is necessary to replace with the distortion amount distribution D new (r ′) represented by the image height ratio r ′ (see equation (8)).

Figure 2008228071
Figure 2008228071

ここで、歪曲量分布Dnew(ri)から歪曲量分布Dnew(r’)への置換は、以下のとおり行われる。
先ず、式(7)中の歪曲量分布D’(ri)は、歪曲量の定義より、以下の式(9)のとおり表される。
Here, the replacement from the distortion amount distribution D new (r i ) to the distortion amount distribution D new (r ′) is performed as follows.
First, the distortion amount distribution D ′ (r i ) in the equation (7) is expressed as the following equation (9) from the definition of the distortion amount.

Figure 2008228071
Figure 2008228071

よって、式(10)が成り立つ。   Therefore, Expression (10) is established.

Figure 2008228071
Figure 2008228071

また、式(7)中の定義より、式(11)が成り立つ。   Moreover, Formula (11) is formed from the definition in Formula (7).

Figure 2008228071
Figure 2008228071

また、前述したとおり、歪曲量分布D(ri)を規定する係数A,B,Cの値と、歪曲量分布D’(ri)を規定する係数A,B,Cの値とは、それぞれ既知である。
したがって、式(10),(11)中のriへ数値を代入すれば、riの値と、それに対応するr’の値と、それに対応するDnew(ri)の値とがそれぞれ既知となる。riの値を様々に変化させながらこれを繰り返せば、r’の値と、Dnew(ri)の値との対応表が完成する。
As described above, the values of the coefficients A, B, and C that define the distortion amount distribution D (r i ) and the values of the coefficients A, B, and C that define the distortion amount distribution D ′ (r i ) are: Each is known.
Therefore, if a numerical value is substituted into r i in the equations (10) and (11), the value of r i , the value of r ′ corresponding thereto, and the value of D new (r i ) corresponding thereto are respectively obtained. Become known. By repeating this while changing the value of r i in various ways, a correspondence table between the value of r ′ and the value of D new (r i ) is completed.

そして、この対応表のデータを歪曲量分布Dnew(r’)の定義式(12)へフィッティングし、その定義式(12)の係数A,B,Cの値を決定すれば、歪曲量分布Dnew(r’)が得られる。 Then, by fitting the data of this correspondence table to the definition equation (12) of the distortion amount distribution D new (r ′) and determining the values of the coefficients A, B, and C of the definition equation (12), the distortion amount distribution is obtained. D new (r ′) is obtained.

Figure 2008228071
Figure 2008228071

これによって、歪曲量分布Dnew(ri)から歪曲量分布Dnew(r’)への置換が完了である。
[その他]
なお、上述した実施形態において、式(1)〜(4)、又はユーザの指定する歪曲量分布、さらに前述の歪曲量分布Dnew(r’)は、前述したものに限定されることはない。例えば、式(1)の代わりに、式(13)、或いは(14)で示すような別の式を使用してもよいし、Dnew(r’)の項にさらに高次の項が含まれていてもよい。
Thereby, the replacement of the distortion amount distribution D new (r i ) with the distortion amount distribution D new (r ′) is completed.
[Others]
In the above-described embodiment, the distortion amount distribution specified by the equations (1) to (4) or the user, and the above-described distortion amount distribution D new (r ′) are not limited to those described above. . For example, instead of the expression (1), another expression as shown in the expression (13) or (14) may be used, and a higher order term is included in the term of D new (r ′). It may be.

D(r)≡Ar3+Br2 …(13)
D(r)≡Ar3+Br2+Cr …(14)
因みに、画像に生じる歪曲パターンが複雑であるほど、式(1)の項数を多くすることが望ましい。また、レンズポジションd,fによる歪曲パターンの変動が複雑であるほど、式(2)〜(4)の項数を多くすることが望ましい。
D (r) ≡Ar 3 + Br 2 (13)
D (r) ≡Ar 3 + Br 2 + Cr (14)
Incidentally, it is desirable to increase the number of terms in Equation (1) as the distortion pattern generated in the image is more complicated. Further, it is desirable to increase the number of terms in the equations (2) to (4) as the variation of the distortion pattern due to the lens positions d and f becomes more complicated.

また、上述した実施形態では、ユーザの指定した画像の画像ファイルに有意な附随情報(=画像の歪曲量分布を既知とするために必要な情報)が書き込まれていることを前提としたが、実際は、有意な附随情報が書き込まれていない場合もあり得る。その場合、コンピュータ21は、その画像に生じている歪曲量分布をゼロとみなして前述した動作をすればよい。   In the above-described embodiment, it is assumed that significant accompanying information (= information necessary to make the distortion amount distribution of the image known) is written in the image file of the image specified by the user. In fact, significant accompanying information may not be written. In this case, the computer 21 may perform the above-described operation by regarding the distortion amount distribution generated in the image as zero.

また、上述した実施形態において、コンピュータ21に対する歪曲補正プログラムのインストールは、例えば、CD−ROMなどの記録媒体やインターネットを介して行われる。
また、上述した実施形態において、歪曲補正プログラムの内容(具体的には、レンズ情報テーブル)は、新種の撮影レンズが発売される度に更新されることが望ましい。更新情報は、撮影レンズの製造者がインターネット上で公開し、それをユーザがインターネット経由でコンピュータへダウンロードすればよい。
In the above-described embodiment, the distortion correction program is installed in the computer 21 via, for example, a recording medium such as a CD-ROM or the Internet.
In the above-described embodiment, it is desirable that the content of the distortion correction program (specifically, the lens information table) is updated every time a new type of photographing lens is released. The update information may be released by the manufacturer of the taking lens on the Internet, and the user may download it to the computer via the Internet.

また、上述した実施形態において、コンピュータ21の動作の一部又は全部を、ディジタルカメラ10に実行させたり、画像編集機能を備えた他の機器(プリンタ、画像ストレージャ)などに実行させたりしてもよい。   In the embodiment described above, some or all of the operations of the computer 21 may be executed by the digital camera 10 or may be executed by another device (printer, image storage) having an image editing function. Good.

図1は、カメラシステムの構成を説明する図である。FIG. 1 is a diagram illustrating the configuration of a camera system. 図2は、コンピュータ21の動作フローチャートである。FIG. 2 is an operation flowchart of the computer 21. 画像I,I’,I”の関係を説明する図である。It is a figure explaining the relationship of image I, I ', I ". 画像I’,I”の画像ファイルの構成を説明する図である。It is a figure explaining the structure of the image file of image I ', I ". ステップS5を説明する図である。It is a figure explaining step S5.

符号の説明Explanation of symbols

10…ディジタルカメラ,21…コンピュータ,11…撮影レンズ
10 ... digital camera, 21 ... computer, 11 ... taking lens

Claims (12)

ユーザが指定した撮影画像の附随情報に基づき、その撮影画像の歪曲を認識する認識手順と、
歪曲補正後の前記撮影画像に残存させるべき歪曲を前記ユーザに入力させる入力手順と、
前記認識された歪曲と前記入力された歪曲との双方に基づき前記撮影画像へ施すべき歪曲補正の補正式を算出し、その補正式で前記撮影画像へ歪曲補正を施す補正手順と
を含むことを特徴とする歪曲補正方法。
A recognition procedure for recognizing distortion of the captured image based on additional information of the captured image specified by the user;
An input procedure for allowing the user to input distortion to be left in the captured image after distortion correction;
A correction procedure for calculating a distortion correction to be performed on the captured image based on both the recognized distortion and the input distortion, and a correction procedure for performing distortion correction on the captured image using the correction formula. A characteristic distortion correction method.
請求項1に記載の歪曲補正方法において、
前記補正手順では更に、
前記入力された歪曲の情報を、前記歪曲補正後の前記撮影画像の付随情報に加える
ことを特徴とする歪曲補正方法。
The distortion correction method according to claim 1,
The correction procedure further includes:
The distortion correction method, wherein the inputted distortion information is added to accompanying information of the captured image after the distortion correction.
請求項2に記載の歪曲補正方法において、
前記附随情報に加えられる情報は、
無歪曲画像上の位置の関数で表された前記歪曲の情報である
ことを特徴とする歪曲補正方法。
The distortion correction method according to claim 2,
Information added to the accompanying information is:
The distortion correction method, wherein the distortion information is expressed as a function of a position on an undistorted image.
請求項1〜請求項3の何れか一項に記載の歪曲補正方法において、
前記認識手順では、
前記ユーザの指定した撮影画像が未補正画像であった場合には、その撮影画像の撮影時における撮影レンズのレンズポジションと、その撮影レンズの歪曲収差情報とに基づき、前記撮影画像の歪曲を認識する
ことを特徴とする歪曲補正方法。
In the distortion correction method according to any one of claims 1 to 3,
In the recognition procedure,
When the photographed image designated by the user is an uncorrected image, the distortion of the photographed image is recognized based on the lens position of the photographing lens at the time of photographing the photographed image and the distortion aberration information of the photographing lens. A distortion correction method characterized by:
請求項1〜請求項4の何れか一項に記載の歪曲補正方法において、
前記認識手順では、
前記ユーザの指定した撮影画像に有意な附随情報が無かった場合には、前記撮影画像の歪曲をゼロとみなす
ことを特徴とする歪曲補正方法。
In the distortion correction method according to any one of claims 1 to 4,
In the recognition procedure,
A distortion correction method, wherein, when there is no significant incidental information in a captured image designated by the user, distortion of the captured image is regarded as zero.
請求項1〜請求項5の何れか一項に記載の歪曲補正方法をコンピュータに実行させる
ことを特徴とする歪曲補正プログラム。
A distortion correction program that causes a computer to execute the distortion correction method according to any one of claims 1 to 5.
ユーザが指定した撮影画像の附随情報に基づき、その撮影画像の歪曲を認識する認識手段と、
歪曲補正後の前記撮影画像に残存させるべき歪曲を前記ユーザに入力させる入力手段と、
前記認識された歪曲と前記入力された歪曲との双方に基づき前記撮影画像へ施すべき歪曲補正の補正式を算出し、その補正式で前記撮影画像へ歪曲補正を施す補正手段と
を備えることを特徴とする歪曲補正装置。
Recognizing means for recognizing distortion of the photographed image based on the incidental information of the photographed image designated by the user;
Input means for allowing the user to input distortion to be left in the captured image after distortion correction;
A correction means for calculating a distortion correction to be performed on the captured image based on both the recognized distortion and the input distortion, and correcting means for correcting the distortion on the captured image using the correction expression. Characteristic distortion correction device.
請求項7に記載の歪曲補正装置において、
前記補正手段は更に、
前記入力された歪曲の情報を、前記歪曲補正後の前記撮影画像の付随情報に加える
ことを特徴とする歪曲補正装置。
The distortion correction apparatus according to claim 7,
The correction means further includes
The distortion correction apparatus, wherein the input distortion information is added to accompanying information of the captured image after the distortion correction.
請求項8に記載の歪曲補正装置において、
前記附随情報に加えられる情報は、
無歪曲画像上の位置の関数で表された前記歪曲の情報である
ことを特徴とする歪曲補正装置。
The distortion correction apparatus according to claim 8, wherein
Information added to the accompanying information is:
The distortion correction apparatus, wherein the distortion information is expressed by a function of a position on an undistorted image.
請求項7〜請求項9の何れか一項に記載の歪曲補正装置において、
前記認識手段は、
前記ユーザの指定した撮影画像が未補正画像であった場合には、その撮影画像の撮影時における撮影レンズのレンズポジションと、その撮影レンズの歪曲収差情報とに基づき、前記撮影画像の歪曲を認識する
ことを特徴とする歪曲補正装置。
In the distortion correction apparatus according to any one of claims 7 to 9,
The recognition means is
When the photographed image designated by the user is an uncorrected image, the distortion of the photographed image is recognized based on the lens position of the photographing lens at the time of photographing the photographed image and the distortion aberration information of the photographing lens. A distortion correction device characterized by that.
請求項7〜請求項10の何れか一項に記載の歪曲補正装置において、
前記認識手段は、
前記ユーザの指定した撮影画像に有意な附随情報が無かった場合には、前記撮影画像の歪曲をゼロとみなす
ことを特徴とする歪曲補正装置。
In the distortion correction device according to any one of claims 7 to 10,
The recognition means is
The distortion correction apparatus according to claim 1, wherein if there is no significant accompanying information in the captured image designated by the user, the distortion of the captured image is regarded as zero.
撮影画像を取得する撮像装置と、
前記撮像装置が取得した撮影画像へ歪曲補正を施す請求項7〜請求項11の何れか一項に記載の歪曲補正装置と
を備えたことを特徴とする撮像装置。
An imaging device for acquiring a captured image;
An image pickup apparatus comprising: the distortion correction apparatus according to any one of claims 7 to 11 which performs distortion correction on a captured image acquired by the image pickup apparatus.
JP2007065386A 2007-03-14 2007-03-14 Distortion correction program, distortion correction apparatus, and imaging apparatus Active JP4893390B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007065386A JP4893390B2 (en) 2007-03-14 2007-03-14 Distortion correction program, distortion correction apparatus, and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007065386A JP4893390B2 (en) 2007-03-14 2007-03-14 Distortion correction program, distortion correction apparatus, and imaging apparatus

Publications (2)

Publication Number Publication Date
JP2008228071A true JP2008228071A (en) 2008-09-25
JP4893390B2 JP4893390B2 (en) 2012-03-07

Family

ID=39846119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007065386A Active JP4893390B2 (en) 2007-03-14 2007-03-14 Distortion correction program, distortion correction apparatus, and imaging apparatus

Country Status (1)

Country Link
JP (1) JP4893390B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11331543A (en) * 1998-05-20 1999-11-30 Fuji Photo Film Co Ltd Image processing method and device therefor
JP2003006035A (en) * 2001-06-20 2003-01-10 Sony Corp Data processor, data processing method and computer readable storage medium having data processing program stored thereon
JP2003163882A (en) * 2001-11-22 2003-06-06 Fuji Photo Film Co Ltd Image processing system, imaging apparatus, image processing apparatus, image processing method, and program
JP2003219246A (en) * 2002-01-23 2003-07-31 Nikon Corp Electronic camera and electronic camera system
JP2004013461A (en) * 2002-06-06 2004-01-15 Fuji Photo Film Co Ltd Image processing system and digital imaging apparatus
JP2005286482A (en) * 2004-03-29 2005-10-13 Sanyo Electric Co Ltd Distortion correcting apparatus and imaging apparatus provided with distortion correcting apparatus
JP2006081145A (en) * 2004-08-10 2006-03-23 Ricoh Co Ltd Image recording apparatus
JP2007073034A (en) * 2005-08-10 2007-03-22 Seiko Epson Corp Image processing content determination apparatus, image processing content determination program, and image processing content determination method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11331543A (en) * 1998-05-20 1999-11-30 Fuji Photo Film Co Ltd Image processing method and device therefor
JP2003006035A (en) * 2001-06-20 2003-01-10 Sony Corp Data processor, data processing method and computer readable storage medium having data processing program stored thereon
JP2003163882A (en) * 2001-11-22 2003-06-06 Fuji Photo Film Co Ltd Image processing system, imaging apparatus, image processing apparatus, image processing method, and program
JP2003219246A (en) * 2002-01-23 2003-07-31 Nikon Corp Electronic camera and electronic camera system
JP2004013461A (en) * 2002-06-06 2004-01-15 Fuji Photo Film Co Ltd Image processing system and digital imaging apparatus
JP2005286482A (en) * 2004-03-29 2005-10-13 Sanyo Electric Co Ltd Distortion correcting apparatus and imaging apparatus provided with distortion correcting apparatus
JP2006081145A (en) * 2004-08-10 2006-03-23 Ricoh Co Ltd Image recording apparatus
JP2007073034A (en) * 2005-08-10 2007-03-22 Seiko Epson Corp Image processing content determination apparatus, image processing content determination program, and image processing content determination method

Also Published As

Publication number Publication date
JP4893390B2 (en) 2012-03-07

Similar Documents

Publication Publication Date Title
JP4614657B2 (en) Method and system for reducing update frequency of image processing means
JP5153846B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP5535053B2 (en) Image processing apparatus and image processing method
JP2019121252A (en) Image processing method, image processing apparatus, image processing program and storage medium
US20020141005A1 (en) Image processing program and image processing apparatus
US20130050539A1 (en) Image processing program, image processing method, image processing apparatus, and image pickup apparatus
JP5479187B2 (en) Image processing apparatus and imaging apparatus using the same
WO2020202572A1 (en) Image processing system, estimation device, processing method, and program
JP5541750B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP4893390B2 (en) Distortion correction program, distortion correction apparatus, and imaging apparatus
US10339637B2 (en) Image processing apparatus, image pickup apparatus, image processing method, and non-transitory computer-readable storage medium for correcting deterioration of image
US9727956B2 (en) Image processing apparatus, image pickup apparatus, image processing method, and non-transitory computer-readable storage medium
JP5018052B2 (en) Image processing apparatus and image processing program for correcting image color
JP6385206B2 (en) Image processing apparatus, imaging apparatus, image processing method, image processing program, and storage medium
JP2008182684A (en) Distortion correcting method, distortion correcting device, distortion correcting program, and digital camera
JP5321108B2 (en) Camera, lens aberration correction program, and computer-readable recording medium recording lens aberration correction program
JP2008167062A (en) Distortion correcting method, distortion correcting device, distortion correction program and digital camera
JP6635822B2 (en) Image processing apparatus and image processing method
US11258974B2 (en) Imaging apparatus, control method of imaging apparatus, imaging system, and storage medium
JP2010011050A (en) Moving picture processing unit, image recording device integrated with camera, moving picture reproducing device, remote control system, moving picture processing program, storage medium, and moving picture processing system
JP2014127776A (en) Image processing device, image processing method, and program
JP4763419B2 (en) Image processing device
JP2009038646A (en) Image processing device, method, and program
JP2017123532A (en) Image processing device, imaging device, image processing method, image processing program and recording medium
JP2002288652A (en) Image processing device, method, program and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100310

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110301

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111021

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111205

R150 Certificate of patent or registration of utility model

Ref document number: 4893390

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150106

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150106

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250