JP6552375B2 - IMAGE PROCESSING DEVICE, IMAGING DEVICE, AND IMAGE PROCESSING PROGRAM - Google Patents

IMAGE PROCESSING DEVICE, IMAGING DEVICE, AND IMAGE PROCESSING PROGRAM Download PDF

Info

Publication number
JP6552375B2
JP6552375B2 JP2015203371A JP2015203371A JP6552375B2 JP 6552375 B2 JP6552375 B2 JP 6552375B2 JP 2015203371 A JP2015203371 A JP 2015203371A JP 2015203371 A JP2015203371 A JP 2015203371A JP 6552375 B2 JP6552375 B2 JP 6552375B2
Authority
JP
Japan
Prior art keywords
image
filter
imaging
data
image restoration
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.)
Expired - Fee Related
Application number
JP2015203371A
Other languages
Japanese (ja)
Other versions
JP2017076883A (en
Inventor
祥吾 松本
祥吾 松本
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2015203371A priority Critical patent/JP6552375B2/en
Publication of JP2017076883A publication Critical patent/JP2017076883A/en
Application granted granted Critical
Publication of JP6552375B2 publication Critical patent/JP6552375B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、撮像により生成された画像に対する画像処理(画像回復処理)を行う画像処理技術に関する。   The present invention relates to an image processing technique for performing image processing (image restoration processing) on an image generated by imaging.

デジタルカメラ等の撮像装置により被写体を撮像して得られた画像には、撮像光学系(以下、単に光学系という)の球面収差、コマ収差、像面湾曲、非点収差等に起因する画像劣化成分としてのぼけ成分が含まれる。このようなぼけ成分は、無収差で回折の影響もない場合に被写体の一点から出た光束が撮像面上で再度一点に集まるべきものが、ある広がりをもって像を結ぶことで発生する。   An image obtained by imaging a subject with an imaging device such as a digital camera has image degradation caused by spherical aberration, coma aberration, field curvature, astigmatism, etc. of an imaging optical system (hereinafter simply referred to as an optical system). The blur component as a component is included. Such a blur component is generated when a light beam emitted from one point of a subject to be collected again at one point on the imaging surface when an aberration is not caused and there is no influence of diffraction is formed by forming an image with a certain spread.

ここにいうぼけ成分は、光学的には、点像分布関数(Point Spread Function:PSF)により表され、ピントのずれによるぼけとは異なる。また、カラー画像での色にじみも、光学系の軸上色収差、色の球面収差、色のコマ収差が原因であるものに関しては、光の波長ごとのぼけ方の相違と言うことができる。   The blur component referred to here is optically represented by a point spread function (PSF), which is different from blur due to defocus. In addition, color bleeding in a color image can also be said to be a difference in blurring for each wavelength of light with respect to axial chromatic aberration, chromatic spherical aberration, and chromatic coma aberration of the optical system.

点像分布関数(PSF)をフーリエ変換して得られる光学伝達関数(Optical Transfer Function:OTF)は、収差の周波数成分情報であり、複素数で表される。OTFの絶対値、すなわち振幅成分を、MTF(Modulation Transfer Function)といい、位相成分をPTF(Phase Transfer Function)という。MTFおよびPTFはそれぞれ、収差による画像劣化の振幅成分および位相成分の周波数特性である。ここでは、位相成分を位相角として以下の式で表す。Re(OTF)およびIm(OTF)はそれぞれ、OTFの実部および虚部を表す。
PTF=tan-1(Im(OTF)/Re(OTF))
このように、光学系のOTFは、画像の振幅成分と位相成分に対して劣化を与えるため、劣化画像は被写体の各点がコマ収差のように非対称にぼけた状態になる。
An optical transfer function (OTF) obtained by Fourier-transforming a point spread function (PSF) is frequency component information of an aberration, and is represented by a complex number. The absolute value of the OTF, that is, the amplitude component is referred to as MTF (Modulation Transfer Function), and the phase component is referred to as PTF (Phase Transfer Function). MTF and PTF are frequency characteristics of an amplitude component and a phase component of image degradation due to aberration, respectively. Here, the phase component is expressed as the phase angle by the following equation. Re (OTF) and Im (OTF) represent the real part and the imaginary part of the OTF, respectively.
PTF = tan -1 (Im (OTF) / Re (OTF))
As described above, since the OTF of the optical system degrades the amplitude component and the phase component of the image, the degraded image is in a state where each point of the object is blurred asymmetrically like coma.

また、倍率色収差は、光の波長ごとの結像倍率の相違により結像位置がずれ、これを撮像装置の分光特性に応じてRGB等の色成分として取得することで発生する。したがって、RGB間で結像位置がずれることはもとより、各色成分内にも波長ごとの結像位置のずれ、すなわち位相ずれによる像の広がりが発生する。このため、正確には倍率色収差は単なる平行シフトの色ずれではないが、特に説明が無い限り、色ずれを倍率色収差と同じものとして扱う。   The chromatic aberration of magnification occurs when the imaging position shifts due to the difference in imaging magnification for each wavelength of light, and this is acquired as a color component such as RGB according to the spectral characteristics of the imaging device. Therefore, in addition to the shift of the imaging position between RGB, the shift of the imaging position for each wavelength, that is, the spread of the image due to the phase shift occurs in each color component. For this reason, although the magnification chromatic aberration is not simply a color shift of parallel shift, the color shift is treated as the same as the magnification chromatic aberration unless otherwise described.

劣化画像(入力画像)における振幅成分(MTF)の劣化と位相成分(PTF)の劣化を補正する方法として、光学系のOTFの情報を用いるものが知られている。この方法は、画像回復や画像復元とも呼ばれており、以下、この光学系のOTFの情報を用いて劣化画像を補正(低減)する処理を画像回復処理と称する。そして、詳細は後述するが、画像回復処理の方法の1つとして、OTFの逆特性を有する実空間の画像回復フィルタを入力画像に対して畳み込む(コンボリューション)方法が知られている。   As a method of correcting the deterioration of the amplitude component (MTF) and the deterioration of the phase component (PTF) in the deteriorated image (input image), it is known to use the information of the OTF of the optical system. This method is also referred to as image restoration and image restoration. Hereinafter, processing for correcting (reducing) a deteriorated image using the information of the OTF of the optical system is referred to as image restoration processing. And although details will be described later, as one of methods of image restoration processing, there is known a method of convolving an input image with an image restoration filter of real space having inverse characteristics of OTF.

画像回復処理を効果的に行うためには、光学系のより正確なOTFを得る必要があるが、OTFは光学系の種類、焦点距離、絞り値、被写体までの距離等の撮像装置の撮像パラメータの組み合わせによって変化する。このため、画像回復処理に用いる画像回復フィルタまたはOTFも撮像パラメータの組み合わせに応じて変更する必要がある。   In order to effectively perform the image restoration process, it is necessary to obtain a more accurate OTF of the optical system. The OTF is an imaging parameter of the imaging device such as the type of the optical system, the focal length, the aperture value, and the distance to the subject. Varies depending on the combination. For this reason, it is necessary to change the image restoration filter or OTF used for the image restoration processing according to the combination of imaging parameters.

ただし、全ての撮像パラメータの組み合わせに対応する画像回復フィルタやOTFのデータを保持しようとすると、保持するデータ量が膨大になる。保持するデータ量を削減するためには、保持するデータとしての画像回復フィルタやOTFを離散的な撮像パラメータに対応するものに限定することが考えられる。また、OTFを近似する近似式の係数のデータを保持することで、OTFや画像回復フィルタを直接保持する場合よりもデータ量を削減することもできる。この場合、係数を近似式に代入してOTFを取得し、該OTFから画像回復フィルタを生成する。   However, if it is going to hold the data of the image restoration filter and OTF corresponding to the combination of all the imaging parameters, the amount of data to hold will be huge. In order to reduce the amount of data to be held, it is conceivable to limit the image restoration filter and the OTF as data to be held to those corresponding to discrete imaging parameters. In addition, holding data of coefficients of an approximate expression that approximates OTF can also reduce the amount of data compared to the case of directly holding an OTF or an image restoration filter. In this case, an OTF is obtained by substituting the coefficient into the approximate expression, and an image restoration filter is generated from the OTF.

これらの方法により保持データ量を削減することはできるが、さらなる問題として、撮像パラメータが異なる撮像により得られた複数の画像に対して画像回復処理を行う場合、画像ごとにOTFを取得して画像回復フィルタを生成する必要があることが挙げられる。   Although the amount of retained data can be reduced by these methods, as a further problem, when performing image restoration processing on a plurality of images obtained by imaging with different imaging parameters, an OTF is acquired for each image and the image is acquired. It is necessary to generate a recovery filter.

特許文献1には、OTFを用いて生成した画像回復フィルタを保持しておき、撮像時の撮像パラメータからその保持した画像回復フィルタの再利用の可否を判断する方法が開示されている。この方法では、画像回復フィルタの再利用が可能な場合には、保持している画像回復フィルタを再利用する。また、特許文献2には、ある撮像パラメータ範囲内(互いに若干異なる撮像パラメータ)での撮像により得られた複数の画像に対して同じ画像回復フィルタ(または同じOTFから生成した画像回復フィルタ)を用いて画像回復処理を行う方法が開示されている。   Patent Document 1 discloses a method of holding an image restoration filter generated using OTF and determining whether or not the held image restoration filter can be reused from an imaging parameter at the time of imaging. In this method, when it is possible to reuse the image restoration filter, the image restoration filter that is held is reused. In Patent Document 2, the same image restoration filter (or an image restoration filter generated from the same OTF) is used for a plurality of images obtained by imaging within a certain imaging parameter range (imaging parameters slightly different from each other). A method for performing image restoration processing is disclosed.

特開2013−161278号公報JP, 2013-161278, A 特開2012−156714号公報JP, 2012-156714, A

しかしながら、特許文献1にて開示された方法では、保持している画像回復フィルタに対応する撮像パラメータとは異なる撮像パラメータでの撮像により得られた画像に対して画像回復フィルタを生成するためには、その撮像パラメータの取得から処理を行う。このため、画像回復フィルタの生成に時間を要する。   However, in the method disclosed in Patent Document 1, in order to generate an image restoration filter for an image obtained by imaging with an imaging parameter different from the imaging parameter corresponding to the image restoration filter that is held, Then, processing is performed from acquisition of the imaging parameter. For this reason, it takes time to generate the image restoration filter.

また、特許文献2にて開示された方法では、若干ではあっても互いに異なる撮像パラメータでの撮像により得られた画像に対して同じ画像回復フィルタを用いるため、それら全ての画像に対して必ずしも良好な画像回復処理を行うことができるとは限らない。   Further, in the method disclosed in Patent Document 2, since the same image restoration filter is used for images obtained by imaging with mutually different imaging parameters even if slightly, it is not necessarily good for all the images. Therefore, it is not always possible to perform an image restoration process.

本発明は、保持データ量を削減するとともに、画像回復処理に要する時間を短縮しつつ、撮像パラメータが異なる撮像により得られたそれぞれの画像に対して良好な画像回復処理を行えるようにした画像処理装置等を提供する。   The present invention is an image processing capable of performing good image restoration processing on each image obtained by imaging with different imaging parameters while reducing the amount of held data and shortening the time required for the image restoration processing. Provide devices etc.

本発明の一側面としての画像処理装置は、撮像パラメータが可変である撮像手段により生成された入力画像に対する処理を行う。該画像処理装置は、入力画像の生成時における撮像パラメータに応じた撮像手段の光学伝達関数に関するデータとしてのOTFデータを取得し、該OTFデータを用いて画像回復フィルタを生成するフィルタ生成手段と、入力画像に対して画像回復フィルタを用いた画像回復処理を行う画像回復処理手段と、入力画像としての第1の画像に対する画像回復フィルタである第1のフィルタの生成に用いられたOTFデータを、第1の画像の生成時における撮像パラメータに対応付けて記憶手段に記憶させる記憶処理手段とを有する。フィルタ生成手段は、第1の画像とは異なる入力画像としての第2の画像に対する画像回復フィルタである第2のフィルタを生成する際に、記憶手段に記憶された少なくとも1つのOTFデータにおいて、第2の画像の生成時における撮像パラメータに対して一致する又は差が所定値以下である撮像パラメータに対応付けられたOTFデータとしての利用可能OTFデータの探索を行い、利用可能OTFデータが存在する場合には該利用可能OTFデータを用いて第2のフィルタを生成することを特徴とする。   An image processing apparatus according to one aspect of the present invention performs processing on an input image generated by an imaging unit whose imaging parameters are variable. The image processing apparatus acquires OTF data as data relating to an optical transfer function of an imaging unit according to an imaging parameter at the time of generation of an input image, and a filter generation unit that generates an image restoration filter using the OTF data; Image restoration processing means for performing image restoration processing using an image restoration filter on the input image, and OTF data used for generating the first filter which is an image restoration filter for the first image as the input image, Storage processing means for storing in the storage means in association with the imaging parameters at the time of generation of the first image. When generating the second filter that is an image restoration filter for the second image as the input image different from the first image, the filter generation means generates at least one of the OTF data stored in the storage means. When available OTF data exists as a result of searching for available OTF data as OTF data corresponding to an imaging parameter that matches or is less than or equal to the imaging parameter at the time of generating the second image Is characterized in that a second filter is generated using the available OTF data.

なお、上記撮像手段と上記画像処理装置とを有する撮像装置も、本発明の他の一側面を構成する。   An imaging apparatus having the imaging unit and the image processing apparatus also constitutes another aspect of the present invention.

また、本発明の他の一側面としての画像処理プログラムは、撮像パラメータが可変である撮像手段により生成された入力画像に対する処理をコンピュータに実行させるコンピュータプログラムである。上記処理は、入力画像の生成時における撮像パラメータに応じた撮像手段の光学伝達関数に関するデータとしてのOTFデータを取得し、該OTFデータを用いて画像回復フィルタを生成するフィルタ生成処理と、入力画像に対して画像回復フィルタを用いた画像回復処理を行う画像回復処理と、入力画像としての第1の画像に対する画像回復フィルタである第1のフィルタの生成に用いられたOTFデータを、第1の画像の生成時における撮像パラメータに対応付けて記憶手段に記憶させる記憶処理とを含む。フィルタ生成処理は、第1の画像とは異なる入力画像としての第2の画像に対する画像回復フィルタである第2のフィルタを生成する際に、記憶手段に記憶された少なくとも1つのOTFデータにおいて、第2の画像の生成時における撮像パラメータに対して一致する又は差が所定値以下である撮像パラメータに対応付けられたOTFデータとしての利用可能OTFデータの探索を行い、利用可能OTFデータが存在する場合には該利用可能OTFデータを用いて第2のフィルタを生成することを特徴とする。   An image processing program according to another aspect of the present invention is a computer program that causes a computer to execute processing on an input image generated by an imaging unit whose imaging parameter is variable. The above process acquires OTF data as data relating to the optical transfer function of the imaging means according to the imaging parameters at the time of generation of the input image, and generates an image restoration filter using the OTF data; OTF data used to generate an image restoration process that performs an image restoration process using an image restoration filter on the first image and a first filter that is an image restoration filter for the first image as an input image Storage processing to be stored in the storage unit in association with the imaging parameter at the time of generation of the image. In the filter generation processing, when generating a second filter that is an image restoration filter for a second image as an input image different from the first image, the at least one OTF data stored in the storage unit is Search for available OTF data as OTF data associated with an imaging parameter that matches or differs from an imaging parameter at the time of generation of the image 2 when available OTF data exists Is characterized in that a second filter is generated using the available OTF data.

本発明によれば、保持データ量を削減するとともに、画像回復フィルタの生成、つまりは画像回復処理に要する時間を短縮しつつ、撮像パラメータが異なる撮像により得られたそれぞれの画像に対して良好な画像回復処理を行うことができる。   According to the present invention, while reducing the amount of retained data and reducing the time required for generating an image restoration filter, that is, image restoration processing, it is favorable for each image obtained by imaging with different imaging parameters. Image restoration processing can be performed.

本発明の実施例である画像処理装置を含む撮像装置の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an imaging apparatus including an image processing apparatus according to an embodiment of the present invention. 実施例におけるRAWデータを示す図。The figure which shows the RAW data in an Example. 実施例である撮像装置の画像処理部の構成を示すブロック図。FIG. 1 is a block diagram showing a configuration of an image processing unit of an imaging device which is an embodiment. 実施例における色成分および画像回復成分を示す図。FIG. 6 is a diagram illustrating color components and image restoration components in an embodiment. 実施例における色成分別の周波数特性を示す図。The figure which shows the frequency characteristic according to color component in an Example. 実施例における画像回復処理を示すフローチャート。6 is a flowchart showing image restoration processing in the embodiment. 実施例における画像回復フィルタを示す図。The figure which shows the image restoration filter in an Example. 実施例における画像回復フィルタを示す図。The figure which shows the image restoration filter in an Example. 実施例1における処理を示すフローチャート。3 is a flowchart showing processing in Embodiment 1. 実施例2における処理を示すフローチャート。6 is a flowchart showing processing in Example 2; 実施例3における処理を示すフローチャート。10 is a flowchart showing processing in the third embodiment.

以下、本発明の実施例について図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

まず、以下に説明する実施例にて用いる用語の定義と画像回復処理について説明する。
「入力画像」
入力画像は、撮像装置において撮像光学系により形成された被写体像を光電変換した撮像素子からの出力を用いて生成されたデジタル画像であり、例えばRGB色成分の情報を有するRAW画像(RAWデータ)である。入力画像は、レンズや光学フィルタ等の光学素子を含む撮像光学系の収差を含む光学伝達関数(以下、OTFという)により劣化した画像である。
First, definitions of terms used in the embodiments described below and image restoration processing will be described.
"Input image"
The input image is a digital image generated using an output from an imaging device obtained by photoelectrically converting an object image formed by an imaging optical system in an imaging device, and is, for example, a RAW image (RAW data) having information of RGB color components It is. The input image is an image degraded by an optical transfer function (hereinafter referred to as OTF) including aberration of an imaging optical system including an optical element such as a lens or an optical filter.

撮像光学系は、曲率を有するミラー(反射面)を含んでもよい。また、撮像光学系は、撮像装置に対して着脱(交換)が可能であってもよい。撮像装置において、撮像素子および該撮像素子の出力を用いて入力画像を生成する信号処理部により撮像系が構成される。撮像素子は、CMOSセンサやCCDセンサ等の光電変換素子により構成される。   The imaging optical system may include a mirror (reflection surface) having a curvature. In addition, the imaging optical system may be detachable (replaceable) with respect to the imaging device. In an imaging device, an imaging system is configured by an imaging element and a signal processing unit that generates an input image using an output of the imaging element. The imaging device is constituted by a photoelectric conversion device such as a CMOS sensor or a CCD sensor.

入力画像や出力画像には、撮像光学系の焦点距離および絞り値や撮像距離(被写体距離)等の撮像パラメータや、入力画像を補正するための各種補正情報が付帯されていてもよい。
[画像回復処理]
撮像装置により生成された入力画像(劣化画像)をg(x,y)とし、元の画像(劣化していない画像)をf(x,y)とし、光学伝達関数(以下、OTFという)のフーリエペアである点像分布関数(以下、PSFという)をh(x,y)とする。この場合、以下の式(1)が成り立つ。ただし、*はコンボリューション(畳み込み積分または積和)を示し、(x,y)は入力画像上の座標(位置)を示す。
g(x,y)=h(x,y)*f(x,y) …(1)
この式(1)をフーリエ変換して周波数面での表示形式に変換すると、以下の式(2)のように周波数ごとの積の形式になる。H(u,v)はPSFであるh(x,y)をフーリエ変換して得られたOTFである。G(u,v),F(u,v)はそれぞれ、g(x,y),f(x,y)をフーリエ変換して得られた関数である。(u,v)は2次元周波数面での座標、すなわち周波数を示す。
G(u,v)=H(u,v)・F(u,v) …(2)
劣化画像から元の画像を得るためには、以下の式(3)ように、上記式(2)の両辺をH(u,v)で除算すればよい。
G(u,v)/H(u,v)=F(u,v) …(3)
F(u,v)、すなわちG(u,v)/H(u,v)を逆フーリエ変換して実面に戻すことで、元の画像f(x,y)に相当する回復画像が得られる。
ここで、H−1(u,v)を逆フーリエ変換したものをRとすると、以下の式(4)のように実面での画像に対するコンボリューション処理を行うことで、同様に元の画像f(x,y)である回復画像を得ることができる。
g(x,y)*R(x,y)=f(x,y) …(4)
式(4)中のR(x,y)が画像回復フィルタである。入力画像が2次元画像であるとき、一般に画像回復フィルタも該2次元画像の各画素に対応したタップ(セル)を有する2次元フィルタとなる。また、一般に画像回復フィルタのタップ数(セル数)が多いほど画像回復精度が向上するため、出力画像としての要求画質、画像処理装置としての画像処理能力、PSFの広がり幅等に応じて実現可能なタップ数が設定される。
The input image and the output image may be accompanied by imaging parameters such as a focal length and an aperture value of the imaging optical system and an imaging distance (subject distance), and various correction information for correcting the input image.
[Image recovery processing]
Let g (x, y) be the input image (degraded image) generated by the imaging device, f (x, y) be the original image (image not degraded), and have an optical transfer function (hereinafter referred to as OTF) A point spread function (hereinafter referred to as PSF) that is a Fourier pair is represented by h (x, y). In this case, the following equation (1) holds. Note that * indicates convolution (convolution integration or sum of products), and (x, y) indicates coordinates (position) on the input image.
g (x, y) = h (x, y) * f (x, y) (1)
When this equation (1) is Fourier transformed into a display format on the frequency plane, it becomes a product format for each frequency as in the following equation (2). H (u, v) is an OTF obtained by Fourier transform of h (x, y), which is a PSF. G (u, v) and F (u, v) are functions obtained by Fourier transforming g (x, y) and f (x, y), respectively. (U, v) indicate coordinates in a two-dimensional frequency plane, that is, frequency.
G (u, v) = H (u, v) · F (u, v) (2)
In order to obtain the original image from the degraded image, both sides of the above equation (2) may be divided by H (u, v) as in the following equation (3).
G (u, v) / H (u, v) = F (u, v) (3)
By performing an inverse Fourier transform of F (u, v), that is, G (u, v) / H (u, v) back to the real plane, a recovered image corresponding to the original image f (x, y) is obtained. It is done.
Here, assuming that the inverse Fourier transform of H −1 (u, v) is R, the original image is similarly processed by performing convolution processing on the image in the real plane as in the following equation (4). We can obtain a recovered image which is f (x, y).
g (x, y) * R (x, y) = f (x, y) (4)
R (x, y) in the equation (4) is an image restoration filter. When the input image is a two-dimensional image, generally the image restoration filter is also a two-dimensional filter having taps (cells) corresponding to the respective pixels of the two-dimensional image. Also, in general, the image restoration accuracy improves as the number of taps (cell number) of the image restoration filter increases, so this can be realized according to the required image quality as an output image, the image processing capability as an image processing apparatus, the spread width of PSF, etc. The number of taps is set.

画像回復フィルタは、少なくとも収差の特性を反映している必要があるため、従来の水平垂直各3タップ程度のエッジ強調フィルタ(ハイパスフィルタ)等とは全く異なる。また、画像回復フィルタは、OTFに基づいて生成されるため、劣化画像(入力画像)における振幅成分と位相成分の劣化をともに高精度に補正することができる。   The image restoration filter needs to reflect at least the characteristics of the aberration, so it is completely different from the conventional horizontal and vertical three-tap edge emphasis filter (high pass filter) or the like. Further, since the image restoration filter is generated based on the OTF, it is possible to correct both the deterioration of the amplitude component and the phase component in the deteriorated image (input image) with high accuracy.

ただし、実際の画像にはノイズ成分が含まれる。このため、上記のようにOTFの完全な逆数をとって作成した画像回復フィルタを用いると、劣化画像が回復されるだけでなくノイズ成分が大幅に増幅されてしまう。これは、入力画像の振幅成分にノイズの振幅が付加されている状態に対して撮像光学系のMTF(振幅成分)を全周波数にわたって1に戻すようにMTFを持ち上げるためである。撮像光学系による振幅劣化であるMTFは1に戻るが、同時にノイズ成分のパワースペクトルも持ち上がってしまい、結果的にMTFを持ち上げる度合い、すなわち回復ゲインに応じてノイズが増幅されてしまう。したがってノイズ成分が含まれる入力画像からは鑑賞用画像として良好な回復画像が得られない。   However, the actual image includes a noise component. For this reason, when using the image restoration filter created by taking the perfect inverse of OTF as described above, not only the deteriorated image is recovered but also the noise component is significantly amplified. This is because the MTF is raised so that the MTF (amplitude component) of the imaging optical system is returned to 1 over the entire frequency in a state where the amplitude of noise is added to the amplitude component of the input image. The MTF, which is amplitude degradation due to the imaging optical system, returns to 1, but the power spectrum of the noise component also rises. As a result, the noise is amplified according to the degree to which the MTF is raised, that is, the recovery gain. Therefore, a good restored image cannot be obtained as an image for viewing from an input image containing a noise component.

ノイズ成分が含まれる画像を画像回復する方法としては、例えば式(5)に示すウィナーフィルタ(Wiener filter)のように画像信号とノイズ信号の強度比(SNR)に応じて回復度合いを制御する方法が知られている。   As a method of recovering an image including a noise component, for example, a method of controlling the degree of recovery according to the intensity ratio (SNR) of an image signal and a noise signal like a Wiener filter shown in Expression (5) It has been known.

M(u,v)はウィナーフィルタの周波数特性を示し、|H(u,v)|はOTFの絶対値(MTF)を示す。後述する実施例では、式(5)のM(u,v)が画像回復フィルタの周波数特性を示す。この方法は、周波数ごとに、MTFが小さいほど回復ゲインを抑制し、MTFが大きいほど回復ゲインを強くするものである。一般に、撮像光学系のMTFは、低周波数側が高く、高周波数側が低くなるため、実質的に画像信号の高周波数側の回復ゲインを抑制する方法となる。画像回復フィルタの具体例については後述する。 M (u, v) indicates the frequency characteristic of the Wiener filter, and | H (u, v) | indicates the absolute value (MTF) of OTF. In an embodiment to be described later, M (u, v) in equation (5) represents the frequency characteristic of the image restoration filter. In this method, for each frequency, the recovery gain is suppressed as the MTF is small, and the recovery gain is increased as the MTF is large. Generally, the MTF of the imaging optical system is high on the low frequency side and low on the high frequency side, so that it is a method of suppressing the recovery gain on the high frequency side of the image signal substantially. A specific example of the image restoration filter will be described later.

図1には、本発明の実施例1である画像処理装置を搭載した撮像装置100の構成を示している。撮像装置100において、絞り101aおよびフォーカスレンズ101bを含む撮像光学系101は、不図示の被写体から光束を結像させ、撮像素子102上に被写体像を形成する。本実施例では、撮像光学系101は交換レンズとして構成され、撮像装置本体に取り外し可能に装着されている。ただし、撮像光学系101が撮像装置100に一体に設けられていてもよい。   FIG. 1 shows the configuration of an imaging apparatus 100 equipped with an image processing apparatus according to a first embodiment of the present invention. In the image pickup apparatus 100, an image pickup optical system 101 including a diaphragm 101a and a focus lens 101b forms a light flux from an object (not shown) and forms an object image on the image pickup element 102. In this embodiment, the imaging optical system 101 is configured as an interchangeable lens, and is detachably attached to the imaging apparatus main body. However, the imaging optical system 101 may be integrally provided in the imaging apparatus 100.

撮像光学系101の絞り値は、絞り101aによって設定される。絞り101aが形成する絞り開口径を増減させることで、所定の複数の絞り値を設定可能である。   The aperture value of the imaging optical system 101 is set by the aperture 101a. A plurality of predetermined aperture values can be set by increasing or decreasing the aperture diameter of the aperture formed by the aperture 101a.

撮像素子102は、撮像光学系101により形成された被写体像を光電変換してアナログ撮像信号を出力する。撮像素子102から出力されたアナログ撮像信号は、A/Dコンバータ103によりデジタル撮像信号に変換され、該デジタル撮像信号は画像処理部104に入力される。撮像光学系101および撮像素子102により撮像手段が構成される。   The imaging element 102 photoelectrically converts the subject image formed by the imaging optical system 101 and outputs an analog imaging signal. An analog imaging signal output from the imaging element 102 is converted into a digital imaging signal by the A / D converter 103, and the digital imaging signal is input to the image processing unit 104. The imaging optical system 101 and the imaging element 102 constitute imaging means.

画像処理部104は、デジタル撮像信号に対して各種画像処理を行うことで、RAW画像としての撮像画像を生成する。そして、画像処理装置としての画像処理部104は、生成した撮像画像を、前述した画像回復処理およびその他の画像処理用の入力画像として取得する。すなわち、画像処理部104は、撮像画像を取得する画像取得手段を含む。   The image processing unit 104 performs various image processing on the digital imaging signal to generate a captured image as a RAW image. Then, the image processing unit 104 as an image processing apparatus acquires the generated captured image as an input image for the above-described image restoration processing and other image processing. That is, the image processing unit 104 includes an image acquisition unit that acquires a captured image.

また、画像処理部104は、状態検知部107から撮像装置100における可変の撮像パラメータの情報を取得する。本実施例における撮像パラメータは、撮像光学系101(交換レンズ)の種類(以下、レンズ種類という)と、撮像に際しての撮像光学系101の絞り値(以下、撮像絞り値という)と、撮像光学系101がズームレンズである場合のその焦点距離とを含む。また、撮像パラメータは、フォーカスレンズ101bの位置に対応する撮像距離(または被写体距離)および撮像素子102のISO感度を含む。なお、撮像パラメータは、必ずしもこれらレンズ種類、焦点距離、撮像距離、絞り値およびISO感度を全て含む必要はなく、これらのうち少なくとも1つを含めばよい。   Further, the image processing unit 104 acquires variable imaging parameter information in the imaging apparatus 100 from the state detection unit 107. The imaging parameters in this embodiment include the type of imaging optical system 101 (interchangeable lens) (hereinafter referred to as lens type), the aperture value of imaging optical system 101 at the time of imaging (hereinafter referred to as imaging aperture value), and the imaging optical system And the focal length when 101 is a zoom lens. Further, the imaging parameters include an imaging distance (or subject distance) corresponding to the position of the focus lens 101 b and the ISO sensitivity of the imaging element 102. The imaging parameters do not necessarily include all of the lens type, focal length, imaging distance, aperture value, and ISO sensitivity, and at least one of them may be included.

状態検知部107は、システムコントローラ110から直接に撮像パラメータの情報を取得することが可能であり、撮像光学系101に関する撮像パラメータの情報は撮像光学系101の動作を制御する光学系制御部106から取得することもできる。   The state detection unit 107 can directly acquire imaging parameter information from the system controller 110, and imaging parameter information regarding the imaging optical system 101 can be obtained from an optical system control unit 106 that controls the operation of the imaging optical system 101. It can also be acquired.

記憶部108は、画像回復フィルタを生成するためのOTFのデータまたは該OTFを用いた演算処理の結果を示すデータ(以下、これらのデータをまとめて、OTFに関するデータという)を記憶(保持)している。記憶部108は、データ記憶手段に相当する。   The storage unit 108 stores (holds) OTF data for generating an image restoration filter or data indicating a result of arithmetic processing using the OTF (hereinafter, these data are collectively referred to as OTF data). ing. The storage unit 108 corresponds to a data storage unit.

さらに、画像処理部104は、画像回復処理部111と補正処理部112とを含む。画像回復処理部111は、記憶部108から撮像パラメータに応じた画像回復フィルタを読み出し、該画像回復フィルタを用いて撮像画像に対して画像回復処理を行うことで回復画像を生成する。記憶部108にOTFに関するデータが記憶されている場合は、画像回復処理部111は撮像パラメータに応じたOTFに関するデータを読み出し、該撮像パラメータに応じた画像回復フィルタを生成して画像回復処理を行う。また、画像回復処理部111は、画像回復フィルタの生成に用いたOTFに関するデータを記憶部108に記憶させる。画像回復処理部111は、フィルタ生成処理を行うフィルタ生成手段、画像回復処理を行う画像回復処理手段および記憶処理を行う記憶処理手段として機能する。   Furthermore, the image processing unit 104 includes an image restoration processing unit 111 and a correction processing unit 112. The image restoration processing unit 111 reads an image restoration filter corresponding to the imaging parameter from the storage unit 108, and generates an restored image by performing an image restoration process on the pickup image using the image restoration filter. When data related to the OTF is stored in the storage unit 108, the image recovery processing unit 111 reads out data related to the OTF corresponding to the imaging parameter, generates an image recovery filter corresponding to the imaging parameter, and performs image recovery processing. . In addition, the image restoration processing unit 111 causes the storage unit 108 to store data related to the OTF used for generating the image restoration filter. The image restoration processing unit 111 functions as a filter generation unit that performs filter generation processing, an image restoration processing unit that performs image restoration processing, and a storage processing unit that performs storage processing.

補正処理部112は、画像回復処理前の撮像画像または回復画像に対して、画像回復処理以外の画像処理を行う。例えば、画像回復処理部111にて生成される回復画像は各画素がRGBの3つの色成分のうち1つの色成分しか有さない画像であるため、補正処理部112は回復画像に対して画素補間処理を行うことで、各画素が全ての色成分を有する出力画像を生成する。   The correction processing unit 112 performs image processing other than the image restoration processing on the captured image or the restored image before the image restoration processing. For example, since the restored image generated by the image restoration processing unit 111 is an image in which each pixel has only one color component among the three color components of RGB, the correction processing unit 112 applies pixels to the restored image. Interpolation processing produces an output image in which each pixel has all color components.

画像処理部104で生成された出力画像は、半導体メモリや光ディスク等の画像記録媒体109に所定のフォーマットで記録される。表示部105は、出力画像に対して所定の表示処理を行い、該表示処理後の表示用画像を表示する。   The output image generated by the image processing unit 104 is recorded in a predetermined format on an image recording medium 109 such as a semiconductor memory or an optical disk. The display unit 105 performs predetermined display processing on the output image, and displays the display image after the display processing.

以上のように構成される撮像装置100における全ての動作や処理は、システムコントローラ110により制御される。また、撮像光学系101の絞り101aおよびフォーカスレンズ101bの駆動は、システムコントローラ110からの指示に基づいて光学系制御部106が制御する。   All operations and processes in the imaging apparatus 100 configured as described above are controlled by the system controller 110. The optical system control unit 106 controls the drive of the diaphragm 101 a and the focus lens 101 b of the imaging optical system 101 based on an instruction from the system controller 110.

撮像光学系101は、光学ローパスフィルタや赤外線カットフィルタ等の光学フィルタを含んでもよい。光学ローパスフィルタ等のOTFに影響を与える光学フィルタを用いる場合には、その影響に対応する画像回復フィルタを生成することが好ましい。赤外カットフィルタを用いる場合においても、分光波長の点像分布関数(PSF)の積分値であるRGBチャンネルのそれぞれのPSF、特にRチャンネルのPSFに影響するため、画像回復フィルタを作成する時点での考慮が必要になる。また、撮像素子102の画素開口の形状も光学伝達関数に影響を与えるため、その影響を考慮して画像回復フィルタを生成することが好ましい。   The imaging optical system 101 may include an optical filter such as an optical low-pass filter or an infrared cut filter. When an optical filter that affects the OTF, such as an optical low-pass filter, is used, it is preferable to generate an image restoration filter corresponding to the influence. Even when the infrared cut filter is used, it affects each PSF of the RGB channel, particularly the PSF of the R channel, which is an integral value of the point spread function (PSF) of the spectral wavelength, and therefore, at the time of creating the image restoration filter. Consideration of In addition, since the shape of the pixel aperture of the image sensor 102 also affects the optical transfer function, it is preferable to generate the image restoration filter in consideration of the influence.

図3には、本実施例の画像処理部104における処理ブロックを示す。画像回復処理部111に入力される撮像画像は各画素に1色の色成分を持つRAWデータであり、その例を図2に示す。図2には、1画素がR,GまたはBの色成分を有するベイヤー配列のRAWデータを示している。   FIG. 3 shows processing blocks in the image processing unit 104 of this embodiment. The captured image input to the image restoration processing unit 111 is RAW data having a color component of one color in each pixel, and an example thereof is shown in FIG. FIG. 2 shows RAW data of a Bayer array in which one pixel has R, G or B color components.

本実施例では、画像回復処理部111においてG成分をG1とG2に分離し、R,G1,G2,Bの4つの画像回復成分に対して画像回復フィルタを適用する。図3に示すように4つの画像回復成分はそれぞれ、4つの回復フィルタ適用部1110〜1113に入力される。   In this embodiment, the G component is separated into G1 and G2 in the image restoration processing unit 111, and an image restoration filter is applied to four image restoration components of R, G1, G2 and B. As shown in FIG. 3, the four image restoration components are input to the four restoration filter application units 1110 to 1113, respectively.

RAWデータにおける各色成分と各画像回復成分の例を図4に示す。図4(a),(b),(c)はそれぞれ、RAWデータにおける3つの色成分であるG成分、R成分およびB成分を示している。図中に白で示す画素がそれぞれの色成分を表している。本実施例では図4(a)に示すG成分を、図4(d),(e)に示すG1成分とG2成分とに分けて、R,G1,G2,Bのそれぞれに対して画像回復処理を行う。これにより、画像回復成分R、画像回復成分B、画像回復成分G1および画像回復成分G2を生成する。   An example of each color component and each image restoration component in the RAW data is shown in FIG. FIGS. 4A, 4 B and 4 C respectively show G component, R component and B component which are three color components in RAW data. Pixels shown in white in the drawing represent respective color components. In this embodiment, the G component shown in FIG. 4A is divided into the G1 component and the G2 component shown in FIGS. 4D and 4E, and image restoration is performed for each of R, G1, G2, and B. Process. Thereby, the image restoration component R, the image restoration component B, the image restoration component G1 and the image restoration component G2 are generated.

図5(a),(b)には、撮像素子102における色成分ごとの画素配列の周波数特性を示している。これらの図において、図4(a)〜(e)で示した各色成分の光を感知できる画素(白)を1とし、光を感知できない画素(黒)を0として、それぞれの画素をm_G(x,y),m_R(x,y),m_B(x,y),m_G1(x,y),m_G2(x,y)とする。図5(a),(b)に示した周波数特性は、m_G(x,y),m_R(x,y),m_B(x,y),m_G1(x,y),m_G2(x,y)をフーリエ変換したものに相当する。   FIGS. 5A and 5B show the frequency characteristics of the pixel array for each color component in the imaging device 102. FIG. In these figures, a pixel (white) that can sense light of each color component shown in FIGS. 4A to 4E is set to 1, a pixel that can not detect light (black) is set to 0, and each pixel is set to m_G ( It is assumed that x, y), m_R (x, y), m_B (x, y), m_G1 (x, y), m_G2 (x, y). The frequency characteristics shown in FIGS. 5A and 5B are m_G (x, y), m_R (x, y), m_B (x, y), m_G1 (x, y), m_G2 (x, y). Is equivalent to the result of Fourier transform.

図5(a)は図4(a)に示したG成分の周波数特性を示している。この周波数特性は、図中に●で示す位置にのみ1が存在するくし型関数として表現される。一方、図5(b)は図4(b),(c)に示したR成分およびB成分の周波数特性を示しており、この周波数特性に対して図5(a)に示したG成分の周波数特性は異なっている。しかし、G成分をG1成分とG2成分に分離した場合の周波数特性は、R成分やB成分と同様に図5(b)に示すようになる。   FIG. 5A shows the frequency characteristic of the G component shown in FIG. This frequency characteristic is expressed as a comb-like function in which 1 is present only at positions indicated by ● in the figure. On the other hand, FIG. 5 (b) shows the frequency characteristics of the R component and the B component shown in FIGS. 4 (b) and 4 (c), and the frequency characteristics of the G component shown in FIG. The frequency characteristics are different. However, the frequency characteristics in the case where the G component is separated into the G1 component and the G2 component are as shown in FIG. 5 (b), similarly to the R component and the B component.

R,G,Bの3つの色成分に対する画像回復処理は、図5(a),(b)に示した通りG成分とR成分およびB成分とで周波数特性が異なることから、画像の高周波成分を含む領域で本来画像に存在しなかった偽色が発生する原因になる。このため、本実施例では、G成分をG1成分とG2成分に分離することで、R,G1,G2およびB成分のそれぞれの画素配列が互いに同じ周波数特性を示すようにする。これにより、画像回復処理の対象となる周波数帯域が共通になるため、画像回復処理による偽色の発生を抑えることができる。   The image restoration processing for the three color components R, G, and B has different frequency characteristics between the G component, the R component, and the B component as shown in FIGS. 5A and 5B. The false color which is not originally present in the image occurs in the area including. For this reason, in this embodiment, the G component is separated into the G1 component and the G2 component, so that the pixel arrays of the R, G1, G2, and B components exhibit the same frequency characteristics. As a result, since the frequency band to be subjected to the image restoration process is common, the generation of false colors due to the image restoration process can be suppressed.

R,G,Bの3つの色成分に対して画像回復処理を行う場合も、G成分に適用する画像回復フィルタの作り方によってはG成分の周波数帯域をR成分やB成分の周波数帯域に一致させることは可能である。ただし、その場合に回復される周波数帯域はG成分をG1成分とG2成分に分離した場合と同等である。前述したように画像回復処理では画像回復フィルタのコンボリューションを行うため、G成分をG1成分とG2成分に分離してから画像回復処理を行う方が、処理負荷の観点から有利である。   Even when image restoration processing is performed on three color components of R, G, and B, the frequency band of the G component is made to coincide with the frequency band of the R component and the B component depending on how to create the image restoration filter applied to the G component. It is possible. However, the frequency band recovered in that case is equivalent to the case where the G component is separated into the G1 component and the G2 component. As described above, since the image restoration filter is convoluted in the image restoration process, it is advantageous from the viewpoint of processing load to perform the image restoration process after separating the G component into the G1 component and the G2 component.

次に、本実施例において画像処理部104(画像回復処理部111)が行う画像回復処理の基本的な流れについて、図6のフローチャートを用いて説明する。画像処理コンピュータである画像処理部104は、コンピュータプログラムとしての画像処理プログラムに従って本処理を実行する。このことは、後述する他のフローチャートで示す画像回復処理についても同じである。   Next, a basic flow of image restoration processing performed by the image processing unit 104 (image restoration processing unit 111) in the present embodiment will be described using the flowchart of FIG. An image processing unit 104, which is an image processing computer, executes this processing according to an image processing program as a computer program. The same applies to the image restoration processing shown in other flowcharts to be described later.

ステップS201では、画像回復処理部111は、状態検知部107から前述した撮像パラメータの情報を取得する。   In step S201, the image restoration processing unit 111 acquires the information of the imaging parameter described above from the state detection unit 107.

次にステップS202では、画像回復処理部111は、R,GおよびB成分を含む入力画像としてのRAWデータから、図4(b)〜(e)に示したR,G1,G2およびB成分のデータ(以下、色成分データという)を生成する。この際、画像回復処理の対象となる色成分(以下、処理対象色成分という)以外の色成分の部分に0を設定したデータとして、R,G1,G2,Bをそれぞれ処理対象色成分とする4つの色成分データを生成してもよい。また、処理対象色成分以外の色成分の部分を間引いた1/4サイズのデータとして、R,G1,G2,Bをそれぞれ処理対象色成分とする4つの色成分データを生成してもよい。   Next, in step S202, the image recovery processing unit 111 generates the R, G1, G2 and B components shown in FIGS. 4B to 4E from the RAW data as the input image including the R, G and B components. Data (hereinafter referred to as color component data) is generated. At this time, R, G1, G2, and B are treated color components as data in which 0 is set to portions of color components other than the color components to be subjected to image restoration processing (hereinafter referred to as processing color components). Four color component data may be generated. In addition, four color component data may be generated with R, G1, G2, and B as processing target color components, respectively, as quarter-size data in which portions of color components other than the processing target color components are thinned out.

次にステップS203では、画像回復処理部111は、ステップS201で取得した撮像パラメータに対応する画像回復フィルタであって、R,G1,G2,B成分のそれぞれに適用する4つの画像回復フィルタを図1に示した記憶部108から読み出す(選択する)。   Next, in step S203, the image restoration processing unit 111 is an image restoration filter corresponding to the imaging parameter acquired in step S201, and illustrates four image restoration filters to be applied to each of the R, G1, G2, and B components. 1 is read (selected) from the storage unit 108 shown in FIG.

このとき、記憶部108での保存データ量を低減するために、予め離散的に選択された複数の撮像パラメータに対応する画像回復フィルタのデータのみが記憶部108に保存されている場合がある。この場合は、離散的な複数の撮像パラメータのうち実際の撮像パラメータに近い2つ以上の撮像パラメータに対応する画像回復フィルタのデータを用いた補間処理によって、実際の撮像パラメータに対応する画像回復フィルタを生成するようにしてもよい。また、記憶部108に画像回復フィルタを生成するためのOTFに関するデータが保存されている場合は、撮像パラメータに対応するOTFに関するデータから画像回復フィルタを生成する。   At this time, in order to reduce the amount of data stored in the storage unit 108, only the data of the image restoration filter corresponding to the plurality of imaging parameters discretely selected in advance may be stored in the storage unit 108. In this case, an image restoration filter corresponding to an actual imaging parameter is obtained by interpolation processing using data of an image restoration filter corresponding to two or more imaging parameters close to the actual imaging parameter among a plurality of discrete imaging parameters. May be generated. Further, when the data on the OTF for generating the image restoration filter is stored in the storage unit 108, the image restoration filter is generated from the data on the OTF corresponding to the imaging parameter.

画像回復フィルタを図7(a),(b)を用いて説明する。これらの図に示す画像回復フィルタは、各画素がRGBの3つの色成分を有する画像の各色成分データ(各色プレーン)に適用する画像回復フィルタの例である。画像回復フィルタは、撮像光学系の収差特性や要求される画像回復精度に応じてタップ数が決められる。この例では、11×11タップの2次元画像回復フィルタを示している。このように画像回復フィルタを100以上のタップ数を有する2次元フィルタとすることで、撮像光学系において発生する球面収差、コマ収差、軸上色収差、軸外色フレア等の結像位置から大きく広がる収差による劣化を良好に回復することができる。   The image restoration filter will be described with reference to FIGS. 7 (a) and 7 (b). The image restoration filter shown in these figures is an example of the image restoration filter applied to each color component data (each color plane) of an image in which each pixel has three color components of RGB. The number of taps of the image restoration filter is determined according to the aberration characteristic of the imaging optical system and the required image restoration accuracy. In this example, an 11 × 11 tap 2D image restoration filter is shown. In this way, the image restoration filter is a two-dimensional filter having a tap number of 100 or more, so that it greatly spreads from the imaging position such as spherical aberration, coma aberration, axial chromatic aberration, off-axis color flare, etc. occurring in the imaging optical system. Deterioration due to aberration can be recovered satisfactorily.

図7(a)では、各タップ内の値(係数値)を省略しているが、この画像回復フィルタの1つの断面を図7(b)に示す。画像回復フィルタの各タップ内の値の分布が、収差によって空間的に広がった信号値(PSF)を、理想的には元の1点に戻す役割を果たす。   Although the values (coefficient values) in the respective taps are omitted in FIG. 7A, one cross section of the image restoration filter is shown in FIG. 7B. The distribution of the values in each tap of the image restoration filter serves to return the signal value (PSF) spatially spread by the aberration to an original one point ideally.

画像回復処理では、画像回復フィルタの各タップの値が、入力画像における各タップに対応する画素に対してコンボリューション(畳み込み積分や積和ともいう)される。コンボリューションの処理では、ある画素の信号値を改善するために、その画素を画像回復フィルタの中心と一致させる。そして、入力画像と画像回復フィルタの対応画素ごとに入力画像の信号値と画像回復フィルタのタップの値(係数値)との積をとり、その総和を中心画素の信号値として置き換える。   In the image restoration process, the value of each tap of the image restoration filter is convoluted (also referred to as convolution integration or product-sum) with respect to a pixel corresponding to each tap in the input image. In the convolution process, in order to improve the signal value of a certain pixel, the pixel is matched with the center of the image restoration filter. Then, for each corresponding pixel of the input image and the image restoration filter, the product of the signal value of the input image and the value (coefficient value) of the tap of the image restoration filter is taken, and the sum is replaced as the signal value of the central pixel.

画像回復フィルタは、撮影光学系のOTFの逆関数に基づいて設計した関数を逆フーリエ変換して得ることができる。例えば、ウィナーフィルタを用いる場合には、式(5)を逆フーリエ変換することで、実際に入力画像に畳み込む実空間の画像回復フィルタを作成することができる。また、画像回復フィルタを生成するためのOTFには、撮像光学系のみならず、画像処理部104に入力される撮像画像に対するOTFを劣化させる要因を含めることができる。例えば、ローパスフィルタはOTFの周波数特性に対して高周波成分を抑制し、また、撮像素子の画素開口の形状や開口率もOTFの周波数特性に影響する。他にも、光源の分光特性や各種波長フィルタの分光特性がOTFの周波数特性に影響する。これらを含めた広義のOTFに基づいて画像回復フィルタを作成することが望ましい。   The image restoration filter can be obtained by performing an inverse Fourier transform on a function designed based on the inverse function of the OTF of the photographing optical system. For example, in the case of using a Wiener filter, it is possible to create a real-space image restoration filter that is actually convoluted with the input image by performing inverse Fourier transform on Equation (5). In addition, the OTF for generating the image restoration filter can include not only the imaging optical system but also a factor that degrades the OTF with respect to the captured image input to the image processing unit 104. For example, the low pass filter suppresses high frequency components with respect to the frequency characteristic of OTF, and the shape and aperture ratio of the pixel aperture of the imaging device also affect the frequency characteristic of OTF. Besides, the spectral characteristics of the light source and the spectral characteristics of various wavelength filters affect the frequency characteristics of the OTF. It is desirable to create an image restoration filter based on OTF in a broad sense including these.

なお、上記4つの色成分データのそれぞれに対して生成される画像回復フィルタは、色収差に応じて互いに若干異なる。すなわち、図7(b)に示す断面図が画像回復フィルタごとに異なる。また、画像回復フィルタのタップ配列は、必ずしも図7(a)に示したような正方配列である必要はなく、任意に設定することができる。   The image restoration filters generated for each of the four color component data slightly differ from each other according to the chromatic aberration. That is, the cross-sectional view shown in FIG. 7B differs for each image restoration filter. Further, the tap arrangement of the image restoration filter does not necessarily have to be a square arrangement as shown in FIG. 7A, and can be set arbitrarily.

各色プレーンに適用する画像回復フィルタに対して、図8(a),(b)には、各画素が1つの色成分のみを有するRAWデータに適用する画像回復フィルタの例を示す。この画像回復フィルタは、処理対象色成分を有する画素に対して0以外のフィルタ係数を保持する画像回復フィルタであり、0以外のフィルタ係数を保持する箇所を図中に白で示し、0のフィルタ係数を保持する箇所を黒で示している。   FIGS. 8A and 8B show an example of an image restoration filter applied to RAW data in which each pixel has only one color component, with respect to the image restoration filter applied to each color plane. This image restoration filter is an image restoration filter that holds a filter coefficient other than 0 for pixels having a color component to be processed, and indicates a part holding a filter coefficient other than 0 in white in the figure, and a filter of 0 The part holding the coefficient is shown in black.

図8(a)には、R,G,Bの3つの色成分に対し画像回復処理を行う場合におけるR成分およびB成分に適用する画像回復フィルタを示し、図8(b)にはG成分に適用する画像回復フィルタを示す。ただし、本実施例ではG成分をG1成分とG2成分に分離してそれらに画像回復フィルタを適用するため、R,G1,G2およびB成分のいずれにも図8(a)に示す画像回復フィルタを用いる。   FIG. 8A shows an image restoration filter applied to the R component and the B component when image restoration processing is performed on the three color components R, G, and B, and FIG. 8B shows the G component. Shows the image restoration filter applied to However, in this embodiment, since the G component is separated into the G1 component and the G2 component and the image restoration filter is applied to them, the image restoration filter shown in FIG. 8A is used for any of the R, G1, G2, and B components. Is used.

図6において、次にステップS204では、画像回復処理部111は、ステップS203で選択した色成分(R,G1,G2,B)ごとの画像回復フィルタを、対応する色成分の各画素に対してコンボリューションする。このコンボリューション処理により、撮像光学系101で発生した収差による画像の劣化成分を除去または低減することができる。また、色成分ごとに画像回復フィルタを用いることで色収差も補正することができる。   In FIG. 6, next, in step S204, the image restoration processing unit 111 applies the image restoration filter for each color component (R, G1, G2, B) selected in step S203 to each pixel of the corresponding color component. Convolve. By this convolution processing, it is possible to remove or reduce an image degradation component due to the aberration generated in the imaging optical system 101. Also, chromatic aberration can be corrected by using an image restoration filter for each color component.

本実施例で行うコンボリューション処理は、図4(b)〜(e)に示した4つの色成分データに対して図8(a)に示した画像回復フィルタをコンボリューションする処理である。この処理において、ステップS202で分離した各色成分データの種類に応じて画像回復フィルタの保持方法や適用方法を適宜変更すればよい。例えば、処理対象色成分以外の色成分の部分に0を設定したR,G1,G2,Bの色成分データを用意した場合は、コンボリューションを行う画素を処理対象色成分の画素に限定することで、余計な演算を省くことができる。また、処理対象色成分以外の色成分の部分を間引いた1/4サイズのR,G1,G2,Bの色成分データを用意した場合は、使用されるフィルタ係数以外の係数を間引いた画像回復フィルタを用意する。これにより、1/4サイズの色成分データにそのまま該画像回復フィルタを適用することができる。   The convolution process performed in this embodiment is a process for convolving the image restoration filter shown in FIG. 8A with respect to the four color component data shown in FIGS. 4B to 4E. In this process, the image restoration filter holding method and application method may be appropriately changed according to the type of each color component data separated in step S202. For example, when R, G1, G2, and B color component data in which 0 is set in the color component portion other than the processing target color component are prepared, the pixels to be subjected to convolution are limited to the processing target color component pixels. Thus, unnecessary calculations can be omitted. In addition, when 1 / 4-sized R, G1, G2, and B color component data obtained by thinning out color component portions other than the color component to be processed is prepared, image restoration is performed by thinning out coefficients other than the filter coefficients used. Prepare a filter. As a result, the image restoration filter can be directly applied to the color component data of ¼ size.

これらいずれの場合に用いる画像回復フィルタでも、図7(a)に示した各画素がRGBの3つの色成分を有する画像に適用する画像回復フィルタや図8(b)に示した分離されないG成分に適用する画像回復フィルタに比べて、有効なフィルタ係数の数が少ない。このため、コンボリューション処理の負荷を低減することができる。こうして、画像回復処理部111による画像回復処理が終了する。   The image restoration filter used in any of these cases is an image restoration filter applied to an image in which each pixel shown in FIG. 7A has three RGB color components, or an unseparated G component shown in FIG. 8B. The number of effective filter coefficients is smaller than the image restoration filter applied to. For this reason, the load of convolution processing can be reduced. Thus, the image restoration processing by the image restoration processing unit 111 is completed.

なお、OTFは同じ撮像パラメータにおいても像高(画角)に応じて変化する。このため、画像回復フィルタを像高ごとに変更して画像回復処理を行うことが望ましい。具体的には、ステップS203とS204において、各色成分データの画素ごとに異なる画像回復フィルタを選択して適用することが望ましい。   Note that OTF changes according to the image height (field angle) even with the same imaging parameter. For this reason, it is desirable to perform image restoration processing by changing the image restoration filter for each image height. Specifically, in steps S203 and S204, it is desirable to select and apply a different image restoration filter for each pixel of each color component data.

また、本実施例では、画像回復フィルタの適用を画像回復処理として説明しているが、歪曲補正処理、周辺光量補正処理およびノイズ低減処理等の他の処理を図6に示した処理の前後や途中に挿入して、それらを含む全体の処理を画像回復処理としてもよい。   Further, although the application of the image restoration filter is described as the image restoration processing in this embodiment, other processing such as distortion correction processing, peripheral light amount correction processing and noise reduction processing may be performed before or after the processing shown in FIG. The entire process including the process may be inserted as an image restoration process.

画像回復処理部111にて画像回復処理が行われた4つの色成分データは、補正処理部112に入力される。これら4つの色成分データはベイヤー配列における色成分ごとのデータであるので、補正処理部112はこれらの色成分データに対して補間処理を行うことで画素ごとにR,G,Bの3つの色成分を有する画像データを生成する。また、補正処理部112は、この補間処理の他に、ガンマ補正やカラーバランス調整等の現像処理を行い、最終的な出力画像のデータを生成する。   The four color component data on which the image restoration processing has been performed by the image restoration processing unit 111 are input to the correction processing unit 112. Since these four color component data are data for each color component in the Bayer array, the correction processing unit 112 performs interpolation processing on these color component data to obtain three colors of R, G, and B for each pixel. Generate image data having components. In addition to the interpolation processing, the correction processing unit 112 performs development processing such as gamma correction and color balance adjustment to generate data of a final output image.

次に、本実施例における画像回復処理(画像回復方法)について、図9に示すフローチャートを用いて説明する。ステップS301において、画像回復処理部111は、今回の画像回復処理の対象である撮像画像(第2の画像:以下、今回の処理対象画像という)に対して適用する画像回復フィルタ(第2のフィルタ)の生成に必要なOTFに関するデータの算出処理を行う。具体的には、画像回復処理部111は、処理対象画像の色成分データに対する画像回復処理において用いる画像回復フィルタの生成に必要なOTFに関するデータ(以下、必要OTFデータという)を算出する。   Next, image restoration processing (image restoration method) in the present embodiment will be described with reference to the flowchart shown in FIG. In step S301, the image recovery processing unit 111 applies an image recovery filter (second filter) to be applied to a captured image (second image: hereinafter referred to as a current process target image) which is a target of the current image recovery processing. Calculation processing of data related to OTF necessary for generation of. Specifically, the image restoration processing unit 111 calculates data related to the OTF (hereinafter referred to as necessary OTF data) necessary for generating an image restoration filter used in the image restoration process on color component data of the processing target image.

次にステップS302では、画像回復処理部111は、データ検索処理を行う。本実施例では、以前に別の撮像画像(第1の画像)に対して画像回復処理を行った際に画像回復フィルタ(第1のフィルタ)を生成するために必要な演算処理が行われたOTFに関するデータ(以下、処理済みOTFデータという)が記憶部108に記憶されている。画像回復フィルタを生成するために必要な演算処理(以下、フィルタ生成用演算処理という)は、後に説明するステップS306で行われる。画像回復処理部111は、ステップS301で算出した必要OTFデータに対して、記憶部108内に再利用可能な使用済みOTFデータ(利用可能OTFデータ)が存在するか否かを検索する。本実施例において処理済みOTFデータが再利用可能か否かは、撮像画像の生成時の撮像パラメータ(以下、単に撮像画像の撮像パラメータという)に基づいて判定する。   Next, in step S302, the image restoration processing unit 111 performs data search processing. In this embodiment, when image restoration processing is performed on another captured image (first image) before, arithmetic processing necessary to generate an image restoration filter (first filter) is performed. Data related to the OTF (hereinafter referred to as processed OTF data) is stored in the storage unit 108. Arithmetic processing required to generate an image restoration filter (hereinafter referred to as filter generation arithmetic processing) is performed in step S306 described later. The image restoration processing unit 111 searches the used OTF data that can be reused (usable OTF data) in the storage unit 108 for the necessary OTF data calculated in step S301. In the present embodiment, whether or not processed OTF data can be reused is determined based on imaging parameters at the time of generation of a captured image (hereinafter, simply referred to as imaging parameters of a captured image).

前述したように、本実施例における撮像パラメータは、レンズ種類、焦点距離、撮像距離、絞り値およびISO感度であり、記憶部108に記憶されている処理済みOTFデータは上記別の撮像画像の撮像パラメータに対応付けられている。画像回復処理部111は、処理済みOTFデータに対応付けられた撮像パラメータと今回の処理対象画像の撮像パラメータとを比較する。そして、これら撮像パラメータが一致する場合に、その撮像パラメータに対応する処理済みOTFデータが再利用可能と判定する。   As described above, the imaging parameters in the present embodiment are the lens type, the focal length, the imaging distance, the aperture value, and the ISO sensitivity, and the processed OTF data stored in the storage unit 108 is the imaging of the other captured image. It is associated with the parameter. The image restoration processing unit 111 compares the imaging parameter associated with the processed OTF data with the imaging parameter of the current processing target image. Then, when these imaging parameters match, it is determined that the processed OTF data corresponding to the imaging parameter is reusable.

次にステップS303では、画像回復処理部111は、ステップS302において再利用可能な処理済みOTFデータが存在したか否かを判定し、存在した場合はステップS304に進み、存在しなかった場合はステップS305に進む。   In step S303, the image restoration processing unit 111 determines whether there is processed OTF data that can be reused in step S302. If there is, the process proceeds to step S304. The process proceeds to S305.

ステップS304では、画像回復処理部111は、記憶部108から、今回の処理対象画像の撮像パラメータに対応する、つまりは再利用可能な処理済みOTFデータを取得する。そして、ステップS308に進む。   In step S304, the image restoration processing unit 111 acquires, from the storage unit 108, processed OTF data corresponding to the imaging parameter of the current processing target image, that is, reusable. Then, the process proceeds to step S308.

一方、ステップS305では、画像回復処理部111は、記憶部108から、今回の処理対象画像の撮像パラメータに対応するOTFに関するデータとして、まだフィルタ生成用演算処理が行われていないデータを取得する。以下の説明において、このフィルタ生成用演算処理が行われていないOTFに関するデータを、未処理OTFデータという。   On the other hand, in step S305, the image restoration processing unit 111 acquires, from the storage unit 108, data that has not yet been subjected to filter generation calculation processing as data related to the OTF corresponding to the imaging parameter of the current processing target image. In the following description, the data related to the OTF that has not been subjected to the filter generation calculation process is referred to as unprocessed OTF data.

そして、次のステップS306では、画像回復処理部111は、ステップS305で取得した未処理OTFデータに対してフィルタ生成用演算処理を行う。フィルタ生成用演算処理は、具体的には、フィルタ生成に使用する各OTFデータに対して、撮像パラメータに応じてそれぞれ重み付けを行う。   Then, in the next step S306, the image restoration processing unit 111 performs filter generation calculation processing on the unprocessed OTF data acquired in step S305. Specifically, the filter generation calculation process weights each OTF data used for filter generation according to the imaging parameter.

さらにステップS307では、画像回復処理部111は、ステップS306でフィルタ用演算処理の結果得られた処理済みOTFデータを、今回の処理対象画像の撮像パラメータに対応付けて記憶部108に記憶させる。そして、ステップS308に進む。   In step S307, the image restoration processing unit 111 stores the processed OTF data obtained as a result of the filter calculation process in step S306 in the storage unit 108 in association with the imaging parameter of the current processing target image. Then, the process proceeds to step S308.

ステップS308では、画像回復処理部111は、R,G1,G2,Bの色成分データごとの必要OTFデータに対応する処理済みOTFデータを全て取得したか否か、すなわち画像回復処理に使用する全ての画像回復フィルタの生成が可能か否かを判定する。全ての必要OTFデータに対応する処理済みOTFデータを取得していない場合は、ステップS302に戻ってステップSS304またはステップSS305〜S307の処理を繰り返す。全ての必要OTFデータに対応する処理済みOTFデータを取得した場合はステップS309に進む。   In step S308, the image restoration processing unit 111 determines whether or not all processed OTF data corresponding to the necessary OTF data for each of R, G1, G2, and B color component data has been acquired, that is, all used for image restoration processing. It is determined whether or not the image restoration filter can be generated. If the processed OTF data corresponding to all necessary OTF data has not been acquired, the process returns to step S302 and repeats the process of step SS304 or steps SS305 to S307. If the processed OTF data corresponding to all necessary OTF data is acquired, the process proceeds to step S309.

前述したように、本実施例では、画像回復処理部111は、ステップS302〜S308において1つの必要OTFデータに対応する処理済みOTFデータを取得する処理を行う。そして、4つの色成分データのそれぞれに対する必要OTFデータに対応する処理済みOTFデータの全てが取得されるまでそれを繰り返す。これに対して、ステップS302で4つの色成分データの全てに対する必要OTFデータを算出し、続くステップS303〜S307にてこれら必要OTFデータに対応する処理済みOTFデータを一括して取得してもよい。   As described above, in the present embodiment, the image restoration processing unit 111 performs processing for acquiring processed OTF data corresponding to one required OTF data in steps S302 to S308. Then, it is repeated until all of the processed OTF data corresponding to the required OTF data for each of the four color component data is acquired. On the other hand, necessary OTF data for all four color component data may be calculated in step S302, and processed OTF data corresponding to these necessary OTF data may be acquired in a lump in subsequent steps S303 to S307. .

例えば、ステップS302で8つの必要OTFデータが算出され、そのうちの一部(ここでは4つ)に対応する再利用可能な処理済みOTFデータがあり、残りの4つに対応する処理済みOTFデータを新たに取得する場合について説明する。この場合は、ステップS304で4つの再利用可能な処理済みOTFデータを記憶部108から取得し、残りの4つの未処理OTFデータに対する処理をステップS305〜S307で一度に行う。これにより、ステップS302〜S307の繰り返しおよびステップS308での画像回復フィルタの生成が可能か否かの判定を行うことなく、ステップS309に進むことができる。   For example, eight necessary OTF data are calculated in step S302, there are reusable processed OTF data corresponding to some of them (here, four), and processed OTF data corresponding to the remaining four are stored. The case of newly acquiring will be described. In this case, four reusable processed OTF data are acquired from the storage unit 108 in step S304, and the remaining four unprocessed OTF data are processed at once in steps S305 to S307. As a result, the process can proceed to step S309 without repeating the steps S302 to S307 and determining whether the image restoration filter can be generated in the step S308.

ステップS309では、画像回復処理部111は、ステップS304およびステップS306で取得した処理済みOTFデータを用いて、画像回復処理に必要な全ての画像回復フィルタを生成する。   In step S309, the image restoration processing unit 111 generates all the image restoration filters necessary for the image restoration process using the processed OTF data acquired in step S304 and step S306.

そして、ステップS310では、画像回復処理部111は、ステップS309で生成した画像回復フィルタを用いて撮像画像(各色成分データ)に対する画像回復処理を行う。こうして、画像回復処理を終了する。   Then, in step S310, the image restoration processing unit 111 performs an image restoration process on the captured image (each color component data) using the image restoration filter generated in step S309. Thus, the image restoration process is ended.

本実施例では、以前に別の撮像画像に対する画像回復処理を行った際に使用した処理済みOTFデータを撮像パラメータと対応付けて記憶部108に保存しておき、それを今回の画像回復処理において再利用可能としている。今回の画像回復処理において処理済みOTFデータを再利用することで、新規に利用する未処理OTFデータに対するフィルタ生成用演算処理が必要最低限で済み、画像回復処理に要する時間を短縮することができる。   In the present embodiment, the processed OTF data used when the image restoration process for another captured image was previously performed is stored in the storage unit 108 in association with the imaging parameter, and this is stored in the current image restoration process. Reusable. By reusing the processed OTF data in the current image restoration process, the filter generation calculation process for the newly used unprocessed OTF data can be minimized, and the time required for the image restoration process can be shortened. .

なお、画像回復処理を初めて行う場合等、処理済みOTFデータがまだ記憶部108に保存されていない場合は、ステップS303で再利用可能な処理済みOTFデータはないと判定してステップS305〜S307の処理を行えばよい。これにより、次の撮像画像に対する画像回復処理に要する時間を短縮することができる。   If the processed OTF data is not yet stored in the storage unit 108, such as when image restoration processing is performed for the first time, it is determined that there is no processed OTF data that can be reused in step S303, and steps S305 to S307 are performed. It is sufficient to carry out the processing. Thereby, the time required for the image restoration process for the next captured image can be shortened.

次に、本発明の実施例2について説明する。本実施例では、実施例1に対して、撮像パラメータをより詳細に判定して画像回復フィルタ自体を再利用することで、より画像回復処理に要する時間を短縮する。本実施例において、実施例1の構成要素と共通する構成要素については実施例1と同じ符号を付す。   Next, a second embodiment of the present invention will be described. In the present embodiment, the time required for the image restoration process is further shortened by determining the imaging parameters in more detail and reusing the image restoration filter itself as compared with the first embodiment. In the present embodiment, the components common to the components of the first embodiment are assigned the same reference numerals as the first embodiment.

図10のフローチャートには、本実施例においての画像処理部104(画像回復処理部111)が行う画像回復処理の流れを示している。   The flowchart in FIG. 10 shows the flow of image restoration processing performed by the image processing unit 104 (image restoration processing unit 111) in the present embodiment.

本実施例でも、以前に別の撮像画像に対して画像回復処理を行った際に使用された処理済みOTFデータがその撮像画像の撮像パラメータと対応付けられて記憶部108に記憶されている。また、本実施例では、その以前の画像回復処理において生成した画像回復フィルタも該撮像パラメータと対応付けられて記憶部108に記憶されている。撮像画像のデータは、レンズ種類、焦点距離、撮像距離、絞り値およびISO感度である撮像パラメータの情報を含んでいる。   Also in the present embodiment, processed OTF data used when an image restoration process was previously performed on another captured image is stored in the storage unit 108 in association with the imaging parameter of the captured image. In this embodiment, the image restoration filter generated in the previous image restoration process is also stored in the storage unit 108 in association with the imaging parameter. The data of the captured image includes information of lens type, focal length, imaging distance, aperture value, and imaging parameter which is ISO sensitivity.

ステップS401では、画像回復処理部111は、今回の処理対象画像の撮像パラメータを、記憶部108に記憶されている処理済みOTFデータおよび画像回復フィルタに対応付けられている撮像パラメータと比較する。そして、ステップS402に進む。   In step S <b> 401, the image restoration processing unit 111 compares the imaging parameter of the current processing target image with the imaging parameter associated with the processed OTF data and the image restoration filter stored in the storage unit 108. Then, the process proceeds to step S402.

ステップS402では、画像回復処理部111は、ステップS401の比較においてレンズ種類、焦点距離、撮像距離、絞り値およびISO感度の全てが一致する撮像パラメータ(以下、共通撮像パラメータという)が記憶部108内に存在するか否かを判定する。また、画像回復処理部111は、ステップS401の比較において、レンズ種類、焦点距離、撮像距離、絞り値およびISO感度の全ての差が所定値以下である撮像パラメータ(以下、類似撮像パラメータという)が記憶部108内に存在するか否かも判定する。共通撮像パラメータまたは類似撮像パラメータが記憶部108内に存在する場合はステップS403に進み、いずれも存在しない場合はステップS404に進む。   In step S402, the image restoration processing unit 111 stores in the storage unit 108 imaging parameters (hereinafter referred to as common imaging parameters) that match all of the lens type, focal length, imaging distance, aperture value, and ISO sensitivity in the comparison in step S401. To determine if it exists. In addition, the image restoration processing unit 111 sets an imaging parameter (hereinafter, referred to as a similar imaging parameter) in which all differences of the lens type, focal length, imaging distance, aperture value, and ISO sensitivity are equal to or less than a predetermined value It is also determined whether or not it exists in the storage unit 108. When the common imaging parameter or the similar imaging parameter exists in the storage unit 108, the process proceeds to step S403, and when none exists, the process proceeds to step S404.

ステップS403では、画像回復処理部111は、記憶部108から共通または類似撮像パラメータに対応付けられている再利用可能な画像回復フィルタ(利用可能フィルタ)を取得する。   In step S403, the image restoration processing unit 111 acquires, from the storage unit 108, a reusable image restoration filter (usable filter) associated with the common or similar imaging parameter.

一方、ステップS404では、画像回復処理部111は、ステップS401での比較においてISO感度以外の撮像パラメータの全てが一致する又はISO感度以外の撮像パラメータの差が上記所定値以下であるか否かを判定する。つまり、レンズ種類、焦点距離、撮像距離および絞り値についてのみ共通または類似する撮像パラメータ(以下、部分共通または部分類似撮像パラメータという)が記憶部108内に存在するか否かを判定する。部分共通または部分類似撮像パラメータが記憶部108内に存在する場合はステップS405に進み、そうでない場合はステップS406に進む。   On the other hand, in step S404, the image restoration processing unit 111 determines whether all of the imaging parameters other than ISO sensitivity match in the comparison in step S401 or whether the difference of imaging parameters other than ISO sensitivity is equal to or less than the predetermined value. judge. That is, it is determined whether or not there is an imaging parameter that is common or similar only for the lens type, focal length, imaging distance, and aperture value (hereinafter referred to as a partially common or partially similar imaging parameter) in the storage unit 108. If the partial common or partial similar imaging parameter exists in the storage unit 108, the process proceeds to step S405, and if not, the process proceeds to step S406.

ステップS405では、画像回復処理部111は、記憶部108から、部分共通または部分類似撮像パラメータに対応付けられている処理済みOTFデータを取得する。ISO感度の相違は、画像回復フィルタの回復強度にのみ関わり、画像回復フィルタのデータ自体とは関係がない。このため、本ステップでは、画像回復処理部111は、画像回復フィルタの生成に必要な全ての処理済みOTFデータを一括して取得する。この後、ステップS414に進む。   In step S405, the image restoration processing unit 111 acquires processed OTF data associated with the partial common or partial similar imaging parameter from the storage unit 108. The difference in ISO sensitivity relates only to the restoration strength of the image restoration filter, not to the data of the image restoration filter itself. Therefore, in this step, the image restoration processing unit 111 collectively acquires all processed OTF data necessary for generating an image restoration filter. After this, the process proceeds to step S414.

ステップS406〜S413では、画像回復処理部111は、実施例1(図9)のステップS301〜S308と同じ処理を行う。ステップS413にて全ての必要OTFデータに対応する処理済みOTFデータを取得していない場合はステップS406に戻り、全ての必要OTFデータに対応する処理済みOTFデータを取得した場合はステップS414に進む。なお、本実施例においても、ステップS406で4つの色成分データの全てに対する必要OTFデータを算出し、続くステップS407〜S412にてこれら必要OTFデータに対応する処理済みOTFデータを一括して取得してもよい。   In steps S406 to S413, the image restoration processing unit 111 performs the same processing as steps S301 to S308 in the first embodiment (FIG. 9). If processed OTF data corresponding to all necessary OTF data is not acquired in step S413, the process returns to step S406, and if processed OTF data corresponding to all necessary OTF data is acquired, the process proceeds to step S414. Also in this embodiment, necessary OTF data for all four color component data is calculated in step S406, and processed OTF data corresponding to these necessary OTF data is collectively acquired in subsequent steps S407 to S412. May be.

ステップS414では、画像回復処理部111は、ステップS405,S409およびS412で取得した処理済みOTFデータを用いて、画像回復処理に必要な全ての画像回復フィルタを生成する。   In step S414, the image restoration processing unit 111 generates all image restoration filters necessary for the image restoration processing using the processed OTF data acquired in steps S405, S409, and S412.

次にステップS415では、画像回復処理部111は、ステップS414で生成した画像回復フィルタを、今回の処理対象画像の撮像パラメータと対応付けて記憶部108に記憶させる。   Next, in step S415, the image restoration processing unit 111 stores the image restoration filter generated in step S414 in the storage unit 108 in association with the imaging parameter of the current processing target image.

そして、ステップS416では、画像回復処理部111は、ステップS403で取得した再利用可能な画像回復フィルタまたはステップS414で生成した画像回復フィルタ用いて撮像画像(各色成分データ)に対する画像回復処理を行う。こうして、画像回復処理を終了する。   In step S416, the image restoration processing unit 111 performs image restoration processing on the captured image (each color component data) using the reusable image restoration filter acquired in step S403 or the image restoration filter generated in step S414. Thus, the image restoration process is ended.

本実施例では、以前に別の撮像画像に対する画像回復処理を行った際に使用した処理済みOTFデータおよび画像回復フィルタを撮像パラメータと対応付けて記憶部108に保存しておき、それらを今回の画像回復処理において再利用可能としている。今回の画像回復処理において画像回復フィルタを再利用することで、実施例1に比べてより画像回復処理に要する時間を短縮することができる。また、撮像パラメータのうちISO感度のみが異なる場合には、画像回復フィルタの生成に必要な全ての処理済みOTFデータを一度に取得することができるので、判定や探索の処理に要する時間を短縮することができる。   In the present embodiment, the processed OTF data and the image restoration filter that were used when the image restoration process for another captured image was performed previously are stored in the storage unit 108 in association with the imaging parameter, and these are stored in the storage unit 108. Reusable in the image restoration process. By reusing the image restoration filter in the current image restoration process, the time required for the image restoration process can be shortened more than in the first embodiment. Further, when only the ISO sensitivity is different among the imaging parameters, all processed OTF data necessary for generating the image restoration filter can be acquired at a time, thereby reducing the time required for the determination and search processing. be able to.

次に、本発明の実施例3について説明する。本実施例では、撮像光学系101を有する交換レンズ(レンズ種類)の変更の有無を判定することで、より画像回復処理に要する時間を短縮する。本実施例において、実施例1,2の構成要素と共通する構成要素については実施例1,2と同じ符号を付す。   Next, Embodiment 3 of the present invention will be described. In this embodiment, the time required for the image restoration process can be further shortened by determining the presence or absence of the change of the interchangeable lens (lens type) having the imaging optical system 101. In the present embodiment, the components common to the components of the first and second embodiments are given the same reference numerals as the first and second embodiments.

図11のフローチャートには、本実施例においての画像処理部104(画像回復処理部111)が行う画像回復処理の流れを示している。本実施例でも、以前に別の撮像画像に対して画像回復処理を行った際に使用された処理済みOTFデータがその撮像画像の撮像パラメータと対応付けられて記憶部108に記憶されている。また、本実施例では、その以前の画像回復処理において生成した画像回復フィルタも該撮像パラメータと対応付けられて記憶部108に記憶されている。撮像画像のデータは、レンズ種類、焦点距離、撮像距離、絞り値およびISO感度である撮像パラメータの情報を含んでいる。   The flowchart of FIG. 11 shows the flow of image restoration processing performed by the image processing unit 104 (image restoration processing unit 111) in this embodiment. Also in this embodiment, the processed OTF data used when the image restoration processing was performed on another captured image before is stored in the storage unit 108 in association with the imaging parameter of the captured image. Further, in the present embodiment, the image restoration filter generated in the previous image restoration processing is also stored in the storage unit 108 in association with the imaging parameter. The captured image data includes information on imaging parameters such as lens type, focal length, imaging distance, aperture value, and ISO sensitivity.

ステップS501では、画像回復処理部111は、今回の処理対象画像の撮像パラメータに含まれるレンズ種類を、記憶部108に記憶されている処理済みOTFデータおよび画像回復フィルタに対応付けられている撮像パラメータに含まれるレンズ種類と比較する。   In step S501, the image restoration processing unit 111 sets the lens type included in the imaging parameter of the current processing target image to the imaging parameter associated with the processed OTF data and the image restoration filter stored in the storage unit 108. Compare with the lens types included in.

次にステップS502では、画像回復処理部111は、ステップS501の比較においてレンズ種類が不一致か否か、つまりは交換レンズが変更(交換)されたか否かを判定する。交換レンズが変更された場合はステップS503に進み、変更されていない場合はステップS507に進む。   Next, in step S502, the image restoration processing unit 111 determines whether the lens types do not match in the comparison of step S501, that is, whether the interchangeable lens has been changed (replaced). If the interchangeable lens has been changed, the process proceeds to step S503, and if not changed, the process proceeds to step S507.

ステップS503では、画像回復処理部111は、以前に別の撮像画像に対して画像回復処理を行った際に記憶部108に保存した処理済みOTFデータおよび画像回復フィルタとしての不要記憶データを、記憶部108から削除(破棄)する。OTFは交換レンズの光学特性により異なるため、交換レンズが変更されると、既に記憶部108に保存された処理済みOTFデータや画像回復フィルタを利用できなくなる。このため、本実施例では、交換レンズが変更された時点で、変更前の交換レンズに対応して記憶部108に保存されていた不要記憶データを削除する。   In step S503, the image recovery processing unit 111 stores the processed OTF data and the unnecessary storage data as the image recovery filter stored in the storage unit 108 when the image recovery process was previously performed on another captured image. Delete (discard) from the part 108. Since the OTF varies depending on the optical characteristics of the interchangeable lens, if the interchangeable lens is changed, the processed OTF data and the image restoration filter that are already stored in the storage unit 108 cannot be used. Therefore, in this embodiment, when the interchangeable lens is changed, unnecessary storage data stored in the storage unit 108 corresponding to the interchangeable lens before the change is deleted.

ただし、このステップの処理を必ずしも行う必要はない。例えば、記憶部108に複数のシュルの交換レンズに対応する処理済みOTFデータおよび画像回復フィルタを保存しておける容量がある場合は本ステップの処理を省いてもよい。この場合、取り外された交換レンズを再度使用して撮像することで生成された撮像画像に対して画像回復処理を行う際に、保存されている処理済みOTFデータおよび画像回復フィルタを再利用することができる。   However, the process of this step is not necessarily performed. For example, when the storage unit 108 has a capacity for storing processed OTF data and image restoration filters corresponding to a plurality of interchangeable lenses, the process of this step may be omitted. In this case, when performing an image restoration process on a captured image generated by imaging again using the removed interchangeable lens, reuse the stored processed OTF data and the image restoration filter. Can do.

次にステップS504〜S506では、画像回復処理部111は、実施例1(図9)のステップS305〜S307および実施例2(図10)のステップS410〜S412と同じ処理を行う。そして、ステップS520に進む。   Next, in steps S504 to S506, the image restoration processing unit 111 performs the same processing as steps S305 to S307 in the first embodiment (FIG. 9) and steps S410 to S412 in the second embodiment (FIG. 10). Then, the process proceeds to step S520.

一方、ステップS507〜S519では、画像回復処理部111は、実施例2のステップS401〜S413と同じ処理を行う。そして、ステップS519にて全ての必要OTFデータに対応する処理済みOTFデータを取得していない場合はステップS513に戻り、全ての必要OTFデータに対応する処理済みOTFデータを取得した場合はステップS520に進む。なお、ステップS501で判定したレンズ種類が単焦点レンズを示す場合は焦点距離が一定であるので、処理済みOTFデータに対する探索に用いる撮像パラメータとしての焦点距離は用いなくてもよい。   On the other hand, in steps S507 to S519, the image restoration processing unit 111 performs the same processing as steps S401 to S413 in the second embodiment. If the processed OTF data corresponding to all necessary OTF data is not acquired in step S519, the process returns to step S513, and if the processed OTF data corresponding to all necessary OTF data is acquired, the process returns to step S520. move on. Note that when the lens type determined in step S501 indicates a single focus lens, the focal length is constant, so the focal length as an imaging parameter used for searching for processed OTF data may not be used.

また、本実施例においても、ステップS512で4つの色成分データの全てに対する必要OTFデータを算出し、続くステップS513〜S518にてこれら必要OTFデータに対応する処理済みOTFデータを一括して取得してもよい。   Also in the present embodiment, necessary OTF data for all four color component data is calculated in step S512, and processed OTF data corresponding to these necessary OTF data is collectively acquired in subsequent steps S513 to S518. May be.

ステップS520では、画像回復処理部111は、ステップS511,S515およびS518で取得した処理済みOTFデータを用いて、画像回復処理に必要な全ての画像回復フィルタを生成する。   In step S520, the image restoration processing unit 111 generates all the image restoration filters necessary for the image restoration processing using the processed OTF data acquired in steps S511, S515, and S518.

次にステップS521では、画像回復処理部111は、ステップS520で生成した画像回復フィルタを、今回の処理対象画像の撮像パラメータと対応付けて記憶部108に記憶させる。   Next, in step S521, the image restoration processing unit 111 stores the image restoration filter generated in step S520 in the storage unit 108 in association with the imaging parameter of the current processing target image.

そして、ステップS522では、画像回復処理部111は、ステップS509で取得した再利用可能な画像回復フィルタまたはステップS520で生成した画像回復フィルタ用いて撮像画像(各色成分データ)に対する画像回復処理を行う。こうして、画像回復処理を終了する。   In step S522, the image restoration processing unit 111 performs image restoration processing on the captured image (each color component data) using the reusable image restoration filter acquired in step S509 or the image restoration filter generated in step S520. Thus, the image restoration process is ended.

本実施例では、ステップS513での処理済みOTFデータに対する検索に先だって、装着されている交換レンズの種類を比較する。そして、交換レンズが変更された場合は、記憶部108に記憶されている別の交換レンズに対応する処理済みOTFデータや画像回復フィルタを破棄する。これにより、交換レンズが変更された場合に、ステップS513において別の交換レンズに対応する処理済みOTFデータ等に対する余計な検索が不要となり、より画像回復処理に要する時間を短縮することができる。   In the present embodiment, prior to the search for the processed OTF data in step S513, the types of mounted interchangeable lenses are compared. Then, when the interchangeable lens is changed, the processed OTF data and the image restoration filter corresponding to another interchangeable lens stored in the storage unit 108 are discarded. As a result, when the interchangeable lens is changed, an extra search for the processed OTF data corresponding to another interchangeable lens in step S513 is not necessary, and the time required for the image restoration process can be further shortened.

実施例1〜3では、画像処理装置(画像処理部104)を搭載した撮像装置について説明したが、実施例1〜3にて説明した画像回復処理は、パーソナルコンピュータにインストールされた画像処理プログラムに従ってパーソナルコンピュータが行うこともできる。この場合、パーソナルコンピュータが本発明の実施例4としての画像処理装置に相当する。パーソナルコンピュータは、撮像装置により生成された画像回復処理前の撮像画像(入力画像)を、該撮像装置から有線/無線通信を介して、または他のパーソナルコンピュータからインターネット等の回線を介して取得する。撮像画像が記録された画像記録媒体を介して該撮像画像を取得してもよい。そして、撮像画像を取得したパーソナルコンピュータは、画像処理プログラムによって画像回復処理を行い、その結果得られた回復画像等の出力画像を出力する。
(その他の実施例)
本発明は、上述の実施例の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
In the first to third embodiments, the image pickup apparatus equipped with the image processing apparatus (the image processing unit 104) has been described. However, the image restoration process described in the first to third embodiments follows the image processing program installed in the personal computer It can also be done by a personal computer. In this case, the personal computer corresponds to the image processing apparatus as the fourth embodiment of the present invention. The personal computer acquires a captured image (input image) generated by the imaging device before the image restoration processing from the imaging device via wired / wireless communication or from another personal computer via a line such as the Internet. . The captured image may be acquired via an image recording medium in which the captured image is recorded. Then, the personal computer that has acquired the captured image performs an image restoration process according to an image processing program, and outputs an output image such as a restored image obtained as a result.
(Other embodiments)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. Can also be realized. It can also be implemented by a circuit (eg, an ASIC) that implements one or more functions.

以上説明した各実施例は代表的な例にすぎず、本発明の実施に際しては、各実施例に対して種々の変形や変更が可能である。   The embodiments described above are only representative examples, and various modifications and changes can be made to the embodiments when the present invention is implemented.

101 撮像光学系
104 画像処理部
108 記憶部
111 画像回復処理部
101 Imaging optical system 104 Image processing unit 108 Storage unit 111 Image restoration processing unit

Claims (8)

撮像パラメータが可変である撮像手段により生成された入力画像に対する処理を行う画像処理装置であって、
前記入力画像の生成時における前記撮像パラメータに応じた前記撮像手段の光学伝達関数に関するデータとしてのOTFデータを取得し、該OTFデータを用いて画像回復フィルタを生成するフィルタ生成手段と、
前記入力画像に対して前記画像回復フィルタを用いた画像回復処理を行う画像回復処理手段と、
前記入力画像としての第1の画像に対する前記画像回復フィルタである第1のフィルタの生成に用いられた前記OTFデータを、前記第1の画像の生成時における前記撮像パラメータに対応付けて記憶手段に記憶させる記憶処理手段とを有し、
前記フィルタ生成手段は、前記第1の画像とは異なる前記入力画像としての第2の画像に対する前記画像回復フィルタである第2のフィルタを生成する際に、
前記記憶手段に記憶された少なくとも1つの前記OTFデータにおいて、前記第2の画像の生成時における前記撮像パラメータに対して一致する又は差が所定値以下である撮像パラメータに対応付けられたOTFデータとしての利用可能OTFデータの探索を行い、
前記利用可能OTFデータが存在する場合には該利用可能OTFデータを用いて前記第2のフィルタを生成することを特徴とする画像処理装置。
An image processing apparatus that performs processing on an input image generated by an imaging unit whose imaging parameters are variable,
A filter generation unit that acquires OTF data as data on an optical transfer function of the imaging unit according to the imaging parameter at the time of generation of the input image, and generates an image restoration filter using the OTF data;
Image restoration processing means for performing an image restoration process using the image restoration filter on the input image;
The OTF data used to generate the first filter that is the image restoration filter for the first image as the input image is associated with the imaging parameter at the time of generation of the first image and stored in the storage unit Storage processing means for storing,
When the filter generation unit generates a second filter that is the image restoration filter for a second image as the input image different from the first image,
In at least one of the OTF data stored in the storage means, as the OTF data associated with an imaging parameter that matches or differs from the imaging parameter at the time of generation of the second image. Search for available OTF data,
An image processing apparatus characterized by generating the second filter using the available OTF data when the available OTF data exists.
前記フィルタ生成手段は、前記第2のフィルタの生成に用いる複数の前記OTFデータのうち一部のOTFデータが前記利用可能OTFデータとして存在し、残りのOTFデータが前記利用可能OTFデータとして存在しない場合は、前記利用可能OTFデータと新たに取得した前記残りのOTFデータとを用いて前記第2のフィルタを生成することを特徴とする請求項1に記載の画像処理装置。   The filter generation means includes a part of the plurality of OTF data used for generating the second filter as the usable OTF data, and the remaining OTF data does not exist as the usable OTF data. 2. The image processing apparatus according to claim 1, wherein the second filter is generated using the available OTF data and the newly acquired remaining OTF data. 前記撮像パラメータは、前記撮像手段が有する光学系の種類、前記光学系の焦点距離、前記光学系の絞り値、前記撮像手段から被写体までの距離および前記撮像手段のISO感度のうち少なくとも1つを含むことを特徴とする請求項1または2に記載の画像処理装置。   The imaging parameter includes at least one of a type of an optical system included in the imaging unit, a focal length of the optical system, an aperture value of the optical system, a distance from the imaging unit to a subject, and ISO sensitivity of the imaging unit. The image processing apparatus according to claim 1, further comprising: 前記記憶処理手段は、前記第1のフィルタを前記第1の画像の生成時における前記撮像パラメータに対応付けて前記記憶手段に記憶させ、
前記フィルタ生成手段は、
前記記憶手段に記憶された少なくとも1つの前記第1のフィルタにおいて、前記第2の画像の生成時における前記撮像パラメータに対して一致する又は差が所定値以下である撮像パラメータに対応付けられた第1のフィルタとしての利用可能フィルタの探索を行い、
前記利用可能フィルタが存在する場合には該利用可能フィルタを前記第2のフィルタとして取得することを特徴とする請求項1から3のいずれか一項に記載の画像処理装置。
The storage processing unit stores the first filter in the storage unit in association with the imaging parameter at the time of generation of the first image,
The filter generation unit
The at least one first filter stored in the storage means is associated with an imaging parameter that matches or differs from the imaging parameter at the time of generation of the second image. Search for available filters as one filter,
The image processing apparatus according to any one of claims 1 to 3, wherein when the available filter is present, the available filter is acquired as the second filter.
前記フィルタ生成手段は、
前記撮像手段の光学系の種類を判定し、
前記記憶手段の記憶データが、該判定した光学系の種類とは異なる種類の光学系に対するデータである場合は、前記探索を行わずに前記第2のフィルタの生成に用いる前記OTFデータを取得することを特徴とする請求項1から4のいずれか一項に記載の画像処理装置。
The filter generation means includes
Determining the type of optical system of the imaging means;
When the storage data of the storage means is data for an optical system of a type different from the determined type of optical system, the OTF data used to generate the second filter is acquired without performing the search. The image processing apparatus according to any one of claims 1 to 4, characterized in that:
前記記憶処理手段は、
前記撮像手段の光学系の種類を判定し、
前記記憶手段の記憶データが、該判定した光学系の種類とは異なる種類の光学系に対するデータである場合は前記記憶データを削除することを特徴とする請求項1から5のいずれか一項に記載の画像処理装置。
The storage processing means includes
Determining the type of optical system of the imaging means;
The storage data is deleted when the storage data of the storage means is data for a type of optical system different from the type of the determined optical system, according to any one of claims 1 to 5, wherein the storage data is deleted. The image processing apparatus described.
撮像パラメータが可変である撮像手段と、
前記撮像手段により生成された入力画像に対する処理を行う請求項1から5のいずれか一項に記載の画像処理装置とを有することを特徴とする撮像装置。
Imaging means with variable imaging parameters;
6. An imaging apparatus comprising: the image processing apparatus according to claim 1 that performs processing on an input image generated by the imaging unit.
撮像パラメータが可変である撮像手段により生成された入力画像に対する処理をコンピュータに実行させるコンピュータプログラムであって、
前記処理は、
前記入力画像の生成時における前記撮像パラメータに応じた前記撮像手段の光学伝達関数に関するデータとしてのOTFデータを取得し、該OTFデータを用いて画像回復フィルタを生成するフィルタ生成処理と、
前記入力画像に対して前記画像回復フィルタを用いた画像回復処理を行う画像回復処理と、
前記入力画像としての第1の画像に対する前記画像回復フィルタである第1のフィルタの生成に用いられた前記OTFデータを、前記第1の画像の生成時における前記撮像パラメータに対応付けて記憶手段に記憶させる記憶処理とを含み、
前記フィルタ生成処理は、前記第1の画像とは異なる前記入力画像としての第2の画像に対する前記画像回復フィルタである第2のフィルタを生成する際に、
前記記憶手段に記憶された少なくとも1つの前記OTFデータにおいて、前記第2の画像の生成時における前記撮像パラメータに対して一致する又は差が所定値以下である撮像パラメータに対応付けられたOTFデータとしての利用可能OTFデータの探索を行い、
前記利用可能OTFデータが存在する場合には該利用可能OTFデータを用いて前記第2のフィルタを生成することを特徴とする画像処理プログラム。
A computer program for causing a computer to execute processing on an input image generated by an imaging means whose imaging parameters are variable,
The process is
A filter generation process of acquiring OTF data as data relating to an optical transfer function of the imaging unit according to the imaging parameter at the time of generation of the input image, and generating an image restoration filter using the OTF data;
An image restoration process for performing an image restoration process using the image restoration filter on the input image;
The OTF data used to generate the first filter that is the image restoration filter for the first image as the input image is associated with the imaging parameter at the time of generation of the first image and stored in the storage unit Storage processing to be stored,
The filter generation process generates a second filter that is the image restoration filter for the second image as the input image different from the first image.
In at least one of the OTF data stored in the storage means, as the OTF data associated with an imaging parameter that matches or differs from the imaging parameter at the time of generation of the second image. Search for available OTF data,
An image processing program that generates the second filter using the available OTF data when the available OTF data exists.
JP2015203371A 2015-10-15 2015-10-15 IMAGE PROCESSING DEVICE, IMAGING DEVICE, AND IMAGE PROCESSING PROGRAM Expired - Fee Related JP6552375B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015203371A JP6552375B2 (en) 2015-10-15 2015-10-15 IMAGE PROCESSING DEVICE, IMAGING DEVICE, AND IMAGE PROCESSING PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015203371A JP6552375B2 (en) 2015-10-15 2015-10-15 IMAGE PROCESSING DEVICE, IMAGING DEVICE, AND IMAGE PROCESSING PROGRAM

Publications (2)

Publication Number Publication Date
JP2017076883A JP2017076883A (en) 2017-04-20
JP6552375B2 true JP6552375B2 (en) 2019-07-31

Family

ID=58549564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015203371A Expired - Fee Related JP6552375B2 (en) 2015-10-15 2015-10-15 IMAGE PROCESSING DEVICE, IMAGING DEVICE, AND IMAGE PROCESSING PROGRAM

Country Status (1)

Country Link
JP (1) JP6552375B2 (en)

Also Published As

Publication number Publication date
JP2017076883A (en) 2017-04-20

Similar Documents

Publication Publication Date Title
JP5824297B2 (en) Image processing apparatus and method, and imaging apparatus
JP7016835B2 (en) Image processing method, image processing device, image processing system, learned weight manufacturing method, and program
JP6327922B2 (en) Image processing apparatus, image processing method, and program
JP5818586B2 (en) Image processing apparatus and image processing method
JP5868076B2 (en) Image processing apparatus and image processing method
JP4942216B2 (en) Image processing method, image processing apparatus, imaging apparatus, and program
EP2557536B1 (en) Optical transfer function based image restoration
JP5409589B2 (en) Image processing method, image processing program, image processing apparatus, and imaging apparatus
JP6525718B2 (en) Image processing apparatus, control method therefor, and control program
JP5991749B2 (en) Image processing apparatus and method
JP2010086138A (en) Image processing method, image processing apparatus, and image pickup apparatus
JP2011211669A (en) Image processing apparatus, image pickup apparatus and image processing program
JP6594101B2 (en) Image processing apparatus, image processing method, and image processing program
WO2014119768A1 (en) Image pickup apparatus, image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP4891301B2 (en) Image processing method, image processing apparatus, and imaging apparatus
JP5653464B2 (en) Imaging apparatus, image processing apparatus, image processing method, image processing program, and storage medium
JP5730036B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program.
JP5268533B2 (en) Image processing method, image processing apparatus, imaging apparatus, and image processing program
JP2012156715A (en) Image processing device, imaging device, image processing method, and program
JP5425135B2 (en) Image processing method, image processing apparatus, imaging apparatus, and image processing program
JP5645981B2 (en) Imaging apparatus, image processing apparatus, image processing method, image processing program, and storage medium
JP6552375B2 (en) IMAGE PROCESSING DEVICE, IMAGING DEVICE, AND IMAGE PROCESSING PROGRAM
JP5344647B2 (en) Image processing method, image processing apparatus, and image processing program
JP2017050662A (en) Image processing system, imaging apparatus, and image processing program
JP2017123532A (en) Image processing device, imaging device, image processing method, image processing 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: 20181002

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190527

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190702

R151 Written notification of patent or utility model registration

Ref document number: 6552375

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees