JP5633218B2 - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

Publication number
JP5633218B2
JP5633218B2 JP2010158936A JP2010158936A JP5633218B2 JP 5633218 B2 JP5633218 B2 JP 5633218B2 JP 2010158936 A JP2010158936 A JP 2010158936A JP 2010158936 A JP2010158936 A JP 2010158936A JP 5633218 B2 JP5633218 B2 JP 5633218B2
Authority
JP
Japan
Prior art keywords
image
filter
optical axis
filtering
optical system
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.)
Active
Application number
JP2010158936A
Other languages
Japanese (ja)
Other versions
JP2012023498A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010158936A priority Critical patent/JP5633218B2/en
Publication of JP2012023498A publication Critical patent/JP2012023498A/en
Application granted granted Critical
Publication of JP5633218B2 publication Critical patent/JP5633218B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

本発明は、光学系によって撮像された画像に対して処理を実行する画像処理装置に関する。   The present invention relates to an image processing apparatus that executes processing on an image captured by an optical system.

従来、光学系によって撮像された画像から、ボケを取り除く方法として、種々の画像処理方法が提案されている(例えば、特許文献1〜3参照)。特許文献1では、カラー画像に対して色滲みを軽減する処理において、軽減対象とする色滲み、及び色滲みの量の推定方方法を、画像の特性及び撮像条件に応じて変更することが開示されている。特許文献2では、ベイヤー配列の撮像素子による画像に対してデコンボリューションをかける方法が開示されている。特許文献3では、透明に近い生体材料を試料とし、試料透過光の減衰量から立体像を得る三次元画像取得装置が開示されている。   Conventionally, various image processing methods have been proposed as a method for removing blur from an image captured by an optical system (see, for example, Patent Documents 1 to 3). Japanese Patent Application Laid-Open No. 2004-228561 discloses that, in the process of reducing color blur on a color image, the color blur to be reduced and the method of estimating the amount of color blur are changed according to the image characteristics and imaging conditions. Has been. Patent Document 2 discloses a method for deconvolution of an image by a Bayer array image sensor. Patent Document 3 discloses a three-dimensional image acquisition apparatus that uses a biological material that is nearly transparent as a sample and obtains a three-dimensional image from the amount of attenuation of sample transmitted light.

特開2009−124598号公報JP 2009-124598 A 特開2009−89082号公報JP 2009-89082 A 特許4236123号公報Japanese Patent No. 4236123

上記従来技術では、光学系のPSF(Point Spread Function)に応じた画像復元フィルタリングに基づいた処理が実行される。しかしながら、光学系のPSFは、入射する光の角度(方向)によって変化することが多い。上記従来技術では、入射する光の角度によるPSFの変化を対応することができる画像復元フィルタリングは困難である。   In the above prior art, processing based on image restoration filtering according to the PSF (Point Spread Function) of the optical system is executed. However, the PSF of an optical system often varies depending on the angle (direction) of incident light. In the above prior art, it is difficult to perform image restoration filtering that can cope with a change in PSF due to the angle of incident light.

ゆえに、本発明は、入射する光の角度によるPSFの変化にも対応できる画像処理を可能にすることを目的する。   Therefore, an object of the present invention is to enable image processing that can cope with a change in PSF due to an angle of incident light.

本願開示の画像処理装置は、光学系を介して撮像された画像を処理する画像処理装置であって、前記画像に対して、前記光学系の伝達関数に応じたフィルタリングを実行するフィルタ処理部を備え、前記フィルタ処理部は、前記画像中の光軸中心に対応する位置から処理対象の位置までの距離に応じた係数を、光学系の光軸の方向に入射した光の伝達関数に対応する第1のフィルタ及び前記光軸に対して一定の角度をもって入射した光の伝達関数に対応する第2のフィルタにかけて線形結合することにより、前記画像中の処理対象の位置に応じて異なるフィルタデータを生成し、前記生成したフィルタデータを用いて、フィルタリングを実行する。
An image processing apparatus disclosed in the present application is an image processing apparatus that processes an image captured through an optical system, and includes a filter processing unit that performs filtering on the image according to a transfer function of the optical system. The filter processing unit corresponds to a transfer function of light incident in the direction of the optical axis of the optical system, with a coefficient corresponding to the distance from the position corresponding to the optical axis center in the image to the position to be processed. By linearly combining the first filter and the second filter corresponding to the transfer function of light incident at a certain angle with respect to the optical axis, different filter data depending on the position of the processing target in the image is obtained. And performing filtering using the generated filter data .

本願明細書の開示によれば、画角によるPSFの変化にも対応できる画像処理が可能になる。   According to the disclosure of the present specification, it is possible to perform image processing that can cope with a change in PSF depending on an angle of view.

図1は、第1の実施形態における画像処理装置を含む撮像装置の概略構成を示す機能ブロック図である。FIG. 1 is a functional block diagram illustrating a schematic configuration of an imaging apparatus including an image processing apparatus according to the first embodiment. 図2は、光学系に入射する光の経路の例を示す図である。FIG. 2 is a diagram illustrating an example of a path of light incident on the optical system. 図3の(a)、(b)、(c)は、それぞれ、図2の(a)、(b)及び(c)に示す光束のPSFの計算例を示している。(A), (b), and (c) of FIG. 3 show calculation examples of the PSF of the light beam shown in (a), (b), and (c) of FIG. 2, respectively. 図4の(a)、(b)、(c)は、それぞれ、図2の(a)、(b)及び(c)に示す光束のMTF(Modulation Transfer Function)の計算例を示している。FIGS. 4A, 4B, and 4C show calculation examples of the MTF (Modulation Transfer Function) of the light beam shown in FIGS. 2A, 2B, and 2C, respectively. 図5は、画像処理装置の詳細な構成の一例を示す機能ブロック図である。FIG. 5 is a functional block diagram illustrating an example of a detailed configuration of the image processing apparatus. 図6は、フィルタ処理部の動作例を示すフローチャートである。FIG. 6 is a flowchart illustrating an operation example of the filter processing unit. 図7は、画像領域におけるデコンボリューション分布の例を示す図である。FIG. 7 is a diagram illustrating an example of the deconvolution distribution in the image area. 図8は、デコンボリューション分布を説明するための図である。FIG. 8 is a diagram for explaining the deconvolution distribution. 図9も、デコンボリューション分布を説明するための図である。FIG. 9 is also a diagram for explaining the deconvolution distribution. 図10は、リファレンス分布計算の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of reference distribution calculation. 光学系における光軸中心光束と、最外画角光束の例を示す図である。It is a figure which shows the example of the optical axis center light beam in an optical system, and an outermost field angle light beam. 図12は、第2の実施形態にかかるフィルタ処理部の動作例を示すフローチャートである。FIG. 12 is a flowchart illustrating an operation example of the filter processing unit according to the second embodiment. 図13は、画像に予め設定される複数のゾーンの一例を示す図である。FIG. 13 is a diagram illustrating an example of a plurality of zones preset in an image. 図14は、画像に予め設定される複数のゾーンの他の例を示す図である。FIG. 14 is a diagram illustrating another example of a plurality of zones preset in an image.

(第1の実施形態)
[撮像装置の構成例]
図1は、第1の実施形態における画像処理装置を含む撮像装置の概略構成を示す機能ブロック図である。図1に示す撮像装置は、被写体Kからの光を像面に集光する光学系1、光学系1によって集光された被写体からの光を電子信号(アナログ信号)に変換する撮像素子2、撮像画像のアナログ信号をデジタル信号に変換するAFE(Analog front end)3、デジタル信号の画像に対してフィルタリング処理を実行する機能を含む画像処理装置4、フィルタリング処理を経た画像に対して更に必要な処理を施して表示画像を生成する後処理部5、後処理部5が生成した画像を表示する表示部9を備える。また、撮像装置は、さらに、光学系1を制御する駆動制御装置6と、AFE3、画像処理装置4及び後処理装置5を制御する制御装置7をさらに備える。
(First embodiment)
[Configuration example of imaging device]
FIG. 1 is a functional block diagram illustrating a schematic configuration of an imaging apparatus including an image processing apparatus according to the first embodiment. An imaging apparatus shown in FIG. 1 includes an optical system 1 that condenses light from a subject K on an image plane, an imaging element 2 that converts light from the subject collected by the optical system 1 into an electronic signal (analog signal), An AFE (Analog front end) 3 that converts an analog signal of a captured image into a digital signal, an image processing device 4 that includes a function of executing a filtering process on an image of the digital signal, and an image that has undergone a filtering process are further necessary A post-processing unit 5 that performs processing to generate a display image and a display unit 9 that displays an image generated by the post-processing unit 5 are provided. The imaging apparatus further includes a drive control device 6 that controls the optical system 1 and a control device 7 that controls the AFE 3, the image processing device 4, and the post-processing device 5.

光学系1は、レンズ11a、11b、11c、及び絞り12を含む。レンズ11a、11b、11c、及び絞り12は、被写体Kからの光を撮像素子1の撮像面に集光させて被写体の像を結像する。駆動制御装置6は、レンズ11a、11b、11cの位置や絞り12の絞り度合い等を制御することができる。なお、光学系1の構成は特定のものに限定されない。撮像素子2は、例えば、CCD/CMOS等の二次元撮像素子を含み、二次元撮像素子は、被写体の像を電子信号(画像信号)に変換してAFE3へ出力する。   The optical system 1 includes lenses 11 a, 11 b, 11 c and a diaphragm 12. The lenses 11a, 11b, 11c, and the diaphragm 12 focus the light from the subject K on the image pickup surface of the image pickup device 1 to form an image of the subject. The drive control device 6 can control the positions of the lenses 11 a, 11 b, 11 c, the diaphragm degree of the diaphragm 12, and the like. The configuration of the optical system 1 is not limited to a specific one. The image pickup device 2 includes, for example, a two-dimensional image pickup device such as a CCD / CMOS. The two-dimensional image pickup device converts an image of a subject into an electronic signal (image signal) and outputs the electronic signal to the AFE 3.

AFE3は、A/D(アナログデジタル)コンバータ31及びタイミングジェネレータ32を含む。タイミングジェネレータ32は、制御装置7からの制御信号に基づいて、撮像素子2の駆動に用いられるタイミングパルスを生成し、撮像素子2及びA/Dコンバータ31へ出力する。   The AFE 3 includes an A / D (analog / digital) converter 31 and a timing generator 32. The timing generator 32 generates a timing pulse used for driving the image sensor 2 based on a control signal from the control device 7 and outputs the timing pulse to the image sensor 2 and the A / D converter 31.

画像処理装置4は、A/Dコンバータ31でデジタル信号に変換された画像(RAW画像)を記録するRAWメモリ41と、その画像に対して、光学系1の伝達関数(PSFまたはOTF(Optical Transfer Function))に応じたフィルタデータを用いて、フィルタリングを実行するフィルタ処理部42を含む。フィルタ処理部42でフィルタリングを施された画像は画像メモリ8に記録される。   The image processing apparatus 4 includes a RAW memory 41 that records an image (RAW image) converted into a digital signal by the A / D converter 31, and a transfer function (PSF or OTF (Optical Transfer) of the optical system 1 for the image. Filter processing unit 42 that performs filtering using filter data according to Function)). The image filtered by the filter processing unit 42 is recorded in the image memory 8.

フィルタ処理部42では、画像中の処理対象の位置に応じて異なるフィルタデータを用いて、それぞれの位置においてフィルタリングを実行する。このように、画像中の位置に応じてフィルタを変えることで、光学系における光の入射角の違いによるOTFの違いにも対応したフィルタリングが可能になる。   The filter processing unit 42 performs filtering at each position using different filter data depending on the position to be processed in the image. Thus, by changing the filter according to the position in the image, it is possible to perform filtering corresponding to the difference in OTF due to the difference in the incident angle of light in the optical system.

フィルタ処理部42は、例えば、予め記録された光学系1の伝達関数に対応するフィルタを示すフィルタデータを、画像中の処理対象の位置に応じて補正し、当該補正したフィルタデータを用いて、画像中の処理対象の位置におけるフィルタリングを実行することができる。これにより、予め記録されるフィルタデータの量を抑えながらも、画像中の位置に応じて柔軟にフィルタを変えることができる。フィルタリング処理の詳細例については、後述する。   For example, the filter processing unit 42 corrects the filter data indicating the filter corresponding to the transfer function of the optical system 1 recorded in advance according to the position of the processing target in the image, and uses the corrected filter data. It is possible to perform filtering at a position to be processed in the image. This makes it possible to change the filter flexibly according to the position in the image while suppressing the amount of filter data recorded in advance. A detailed example of the filtering process will be described later.

フィルタデータは、例えば、デコンボリューションカーネルのように、フィルタリングに必要なパラメータの集合とすることができる。デコンボリューションカーネルは、具体的には、PSFに応じた円形の被写体の像の分布する領域と、領域における各画素の重みを表すデータ(このようなデータをデコンボリューション分布と称する)で表すことができる。リファレンス分布は、例えば、光学系1のPSFを基に計算することができる。ファイルデータは、フィルタ処理部の内部または外部のメモリに予め記録されていることが好ましい。   The filter data can be a set of parameters necessary for filtering, such as a deconvolution kernel. Specifically, the deconvolution kernel is represented by a region in which an image of a circular subject corresponding to the PSF is distributed and data representing the weight of each pixel in the region (such data is referred to as a deconvolution distribution). it can. The reference distribution can be calculated based on the PSF of the optical system 1, for example. The file data is preferably recorded in advance in a memory inside or outside the filter processing unit.

後処理部5は、フィルタリングされた画像を画像メモリ8から読み出して、フィルタリング以外に必要な処理を行って、表示するための画像を生成し、表示部9へ出力する。表示部9は、例えば、画像を記録するVRAM、及びVRAMの画像を出力するディスプレイを含む。なお、撮像装置は、表示機能を必ずしも備えなくてもよく、表示部9の替わりに、表示用の画像を記録する記録部(例えば、VRAM等)が設けられてもよい。   The post-processing unit 5 reads out the filtered image from the image memory 8, performs a process other than filtering, generates an image for display, and outputs the image to the display unit 9. The display unit 9 includes, for example, a VRAM that records an image and a display that outputs an image of the VRAM. Note that the imaging apparatus does not necessarily have a display function, and instead of the display unit 9, a recording unit (for example, a VRAM) that records an image for display may be provided.

画像処理装置4は、例えば、DSP(Digital Signal Processor)により構成することができる。この場合、RAWメモリ41は、DSP内蔵メモリであってもよいし、外部のメモリであってもよい。また、後処理部5、画像メモリ8、表示のためのVRAM等が画像処理装置4とともに一体のDSPで構成されてもよいし、画像処理装置4のフィルタ処理部のみが1つのDSPで構成されてもよい。あるいは、DSPのような特定処理専用プロセッサでなく、CPU等の汎用プロセッサが、所定のプログラムを実行することにより画像処理装置4の機能を実現することもできる。駆動制御装置6、制御装置7及び後処理部5も同様に、少なくとも1台の、特定処理専用プロセッサまたは汎用プロセッサにより構成することができる。   The image processing device 4 can be constituted by, for example, a DSP (Digital Signal Processor). In this case, the RAW memory 41 may be a DSP built-in memory or an external memory. Further, the post-processing unit 5, the image memory 8, the VRAM for display, and the like may be configured by an integrated DSP together with the image processing device 4, or only the filter processing unit of the image processing device 4 is configured by one DSP. May be. Alternatively, the function of the image processing apparatus 4 can be realized by a predetermined processor executing a predetermined program instead of a processor dedicated to specific processing such as a DSP. Similarly, the drive control device 6, the control device 7, and the post-processing unit 5 can be configured by at least one specific processing dedicated processor or general-purpose processor.

なお、プロセッサを画像処理装置4として機能させるプログラムやそれを記録した記録媒体も本発明の実施形態に含まれる。この記録媒体は、一過性でない(non-transitory)ものであり、信号そのものような一過性の媒体は含まれない。   Note that a program that causes a processor to function as the image processing apparatus 4 and a recording medium that records the program are also included in the embodiments of the present invention. This recording medium is non-transitory and does not include a transient medium such as the signal itself.

[光学系1における光の入射角による伝達関数の変化について]
図2は、光学系1に入射する光の経路の例を示す図である。図2では、(a)は、光学系1の光軸とほぼ同じ方向に入射する光束、すなわち、像面に垂直な方向に入射する光束、(b)は、光軸に対して一定の角度をもって入射する光束、(c)は、光軸に対する角度が最大となる場合の光束を示す。
[Change in transfer function depending on incident angle of light in optical system 1]
FIG. 2 is a diagram illustrating an example of a path of light incident on the optical system 1. In FIG. 2, (a) is a light beam that is incident in substantially the same direction as the optical axis of the optical system 1, that is, a light beam that is incident in a direction perpendicular to the image plane, and (b) is a fixed angle with respect to the optical axis. (C) indicates the light flux when the angle with respect to the optical axis is maximized.

図3の(a)、(b)及び(c)は、それぞれ、図2の(a)、(b)及び(c)に示す光束のPSFの計算例を示している。図3に示す例では、光束の光軸に対する角度が大きくなるにつれて、PSFの分布範囲が広がっている。このように、光学系1に入射する光の角度が変わると、PSFも変化する。   (A), (b), and (c) in FIG. 3 show calculation examples of the PSF of the light beam shown in (a), (b), and (c) in FIG. 2, respectively. In the example shown in FIG. 3, the PSF distribution range increases as the angle of the light beam with respect to the optical axis increases. Thus, when the angle of light incident on the optical system 1 changes, the PSF also changes.

図4の(a)、(b)及び(c)は、それぞれ、図2の(a)、(b)及び(c)に示す光束のMTF(Modulation Transfer Function)の計算例を示している。図4に示す例では、光束の光軸に対する角度が大きくなるにつれて、レスポンスが劣化している。   FIGS. 4A, 4B, and 4C show calculation examples of the MTF (Modulation Transfer Function) of the light beam shown in FIGS. 2A, 2B, and 2C, respectively. In the example shown in FIG. 4, the response deteriorates as the angle of the light beam with respect to the optical axis increases.

このように、光学系1に入射する光の角度が変化すると光の伝達関数が変化する。本実施形態では、画像処理装置4のフィルタ処理部42において、画像中に位置に応じて適用するフィルタを変化させている。そのため、光の角度の変化による伝達関数の変化にも対応できるフィルタリングが可能になる。   Thus, when the angle of light incident on the optical system 1 changes, the light transfer function changes. In the present embodiment, the filter processing unit 42 of the image processing apparatus 4 changes the filter to be applied according to the position in the image. Therefore, filtering that can cope with a change in transfer function due to a change in the angle of light is possible.

[フィルタリング処理の具体例]
ここで、フィルタ処理部42によるフィルタリング処理の具体例について説明する。なお、下記の処理は一例であり、フィルタ処理部42の動作は、下記の例に限定されない。図5は、画像処理装置4の詳細な構成の一例を示す機能ブロック図である。図5に示す画像処理装置4では、フィルタ処理部42は、コンボリューション演算部44及びコンボリューション制御部45を含む。コンボリューション演算部44は、画像処理装置4が備えるメモリ43に格納されたフィルタデータを用いて、RAWメモリ41に格納された画像に対するデコンボリューション処理を実行する。コンボリューション制御部45は、コンボリューション演算部44の動作を制御する。メモリ43は、例えば、リファレンス分布及び画像中の位置に対応する係数を含むフィルタデータを記録するレジスタである。
[Specific examples of filtering processing]
Here, a specific example of the filtering process by the filter processing unit 42 will be described. The following processing is an example, and the operation of the filter processing unit 42 is not limited to the following example. FIG. 5 is a functional block diagram illustrating an example of a detailed configuration of the image processing apparatus 4. In the image processing device 4 illustrated in FIG. 5, the filter processing unit 42 includes a convolution operation unit 44 and a convolution control unit 45. The convolution operation unit 44 uses the filter data stored in the memory 43 included in the image processing device 4 to execute a deconvolution process on the image stored in the RAW memory 41. The convolution control unit 45 controls the operation of the convolution calculation unit 44. The memory 43 is a register that records, for example, filter data including coefficients corresponding to the reference distribution and the position in the image.

図6は、フィルタ処理部42の動作例を示すフローチャートである。図6に示す例では、コンボリューション演算部44が、RAWメモリ41から画像を取得すると(Op1)、コンボリューション制御部45は、取得した画像中の処理対象位置、すなわち、フィルタをかける位置を決定する(Op2)。例えば、ラスタ走査の順に画素または局所領域を選択することにより、順次、処理対象位置を決定することができる。処理対象位置は、例えば、画素の座標または局所領域を示す座標で表すことができる。   FIG. 6 is a flowchart illustrating an operation example of the filter processing unit 42. In the example illustrated in FIG. 6, when the convolution operation unit 44 acquires an image from the RAW memory 41 (Op1), the convolution control unit 45 determines a processing target position in the acquired image, that is, a position to be filtered. (Op2). For example, the processing target position can be sequentially determined by selecting pixels or local regions in the order of raster scanning. The processing target position can be represented by, for example, coordinates of a pixel or coordinates indicating a local area.

処理対象位置が決定すると、コンボリューション制御部45は、その処理対象位置の光軸中心からの距離を算出する(Op3)。光軸中心は、光学系1の光軸が撮像面に交わる点に対応する画像上の点とすることができる。光学系1の光軸は、例えば、レンズ11などの光学素子の回転対称軸であることが多い。この場合、光軸中心は、画像の中心の画素とすることができる。   When the processing target position is determined, the convolution control unit 45 calculates the distance from the optical axis center of the processing target position (Op3). The optical axis center can be a point on the image corresponding to the point where the optical axis of the optical system 1 intersects the imaging surface. The optical axis of the optical system 1 is often a rotationally symmetric axis of an optical element such as the lens 11 in many cases. In this case, the center of the optical axis can be the center pixel of the image.

コンボリューション制御部45は、Op3で算出した光軸中心から距離を基に、その処理対象位置におけるフィルタを特定するフィルタデータを設定する(Op4)。ここでは、一例として、メモリ43に、予めリファレンス分布A、リファレンス分布B及び処理対象位置と係数との対応を示すマップデータが格納されている場合の例を説明する。リファレンス分布Aは、光学系1の光軸の方向に入射した光の伝達関数に対応する第1のフィルタを示すデータの一例であり、リファレンス分布Bは、光軸に対して一定の角度をもって入射した光の伝達関数に対応する第2のフィルタを示すデータの一例である。処理対象位置と係数とのマップデータは、光軸中心から処理対象の位置までの距離に応じた係数の一例を示すデータである。   The convolution control unit 45 sets filter data for specifying a filter at the processing target position based on the distance from the optical axis center calculated in Op3 (Op4). Here, as an example, an example will be described in which the map 43 indicating the correspondence between the reference distribution A, the reference distribution B, and the processing target position and the coefficient is stored in the memory 43 in advance. The reference distribution A is an example of data indicating a first filter corresponding to a transfer function of light incident in the direction of the optical axis of the optical system 1, and the reference distribution B is incident at a certain angle with respect to the optical axis. It is an example of the data which shows the 2nd filter corresponding to the transfer function of the light which was performed. The map data of the processing target position and the coefficient is data indicating an example of the coefficient corresponding to the distance from the center of the optical axis to the processing target position.

デコンボリューション分布は、例えば、円形の被写体であれば、撮影した画像にコンボリューション演算をおこなうことにより、元の円形に復元される分布を表すデータである。本実施形態では、画像における複数の基準となる領域(ここでは、光軸中心と最外位置)におけるデコンボリューション分布が、リファレンス分布A、Bとして、予めメモリ43に記録される。リファレンス分布A、Bにそれぞれ距離lに依存する係数a、bを掛けたものの和がデコンボリューション分布として算出される。このデコンボリューション分布が、光軸中心から距離lの位置におけるデコンボリューションカーネル(逆フィルタ)として、デコンボリューション処理に用いられる。このように、本実施形態では、光軸中心から処理対象位置までの距離lにより、リファレンス分布の係数a、bが決定される。   The deconvolution distribution is, for example, data representing a distribution that is restored to the original circle by performing a convolution operation on a captured image if the subject is a circle. In the present embodiment, deconvolution distributions in a plurality of reference regions (here, the optical axis center and the outermost position) in the image are recorded in advance in the memory 43 as reference distributions A and B. The sum of the reference distributions A and B multiplied by the coefficients a and b depending on the distance l is calculated as the deconvolution distribution. This deconvolution distribution is used for the deconvolution process as a deconvolution kernel (inverse filter) at a position 1 from the optical axis center. Thus, in this embodiment, the coefficients a and b of the reference distribution are determined by the distance l from the optical axis center to the processing target position.

図7は、画像領域Rにおけるデコンボリューション分布の例を示す図である。図7に示す例では、光軸中心Pからの距離l、光軸中心の周りの回転角θの位置におけるデコンボリューション分布D2が示されている。なお、デコンボリューション分布D1は、距離l、回転角90度の場合、デコンボリューション分布D3は、距離l、回転角0度の場合を示している。このように、デコンボリューション分布は、光軸中心Pからの距離と、光軸中心周りの回転角によって変化するものとして扱うことができる。これにより、光の入射角変化によるPSF変化に対応したデコンボリューション分布をデータで表すことが可能になる。   FIG. 7 is a diagram illustrating an example of the deconvolution distribution in the image region R. In the example shown in FIG. 7, the deconvolution distribution D2 at a position of the distance l from the optical axis center P and the rotation angle θ around the optical axis center is shown. The deconvolution distribution D1 shows a case where the distance is 1 and the rotation angle is 90 degrees, and the deconvolution distribution D3 shows a case where the distance is 1 and the rotation angle is 0 degrees. In this way, the deconvolution distribution can be treated as changing depending on the distance from the optical axis center P and the rotation angle around the optical axis center. As a result, the deconvolution distribution corresponding to the PSF change due to the change in the incident angle of light can be represented by data.

図8及び図9に示すように、デコンボリューション分布は、二重の楕円で表されるリファレンス分布Aと、それより大きい楕円で表されるリファレンス分布Bにそれぞれ距離lに依存する係数a=f1(l)、b=f2(l)をかけて線形結合した形で表すことができる。また、図9に示すように、デコンボリューション分布は、処理対象位置の回転角θに応じて回転されることで、処理対象位置をさらに考慮した分布とすることができる。 As shown in FIGS. 8 and 9, the deconvolution distribution includes a reference distribution A represented by a double ellipse and a reference distribution B represented by a larger ellipse, and a coefficient a = f depending on the distance l. 1 (l) and b = f 2 (l) can be expressed in a linearly coupled form. Also, as shown in FIG. 9, the deconvolution distribution can be a distribution that further considers the processing target position by being rotated according to the rotation angle θ of the processing target position.

コンボリューション制御部45は、メモリ43の処理対象位置と係数とのマップデータを参照し、Op3で算出した距離lに対応する係数a、bの値を取得する。この場合、マップデータとして、距離lと係数a、bとの対応関係を示すデータが予め記録されている。例えば、図5に示すメモリ43のマップデータの係数(a1,b1)、(a2,b2)、(a3,b3)、・・・に対応付けられる位置1、位置2、位置3・・・を、距離l1、l2、l3、・・・のように距離を示す値にするができる。 The convolution control unit 45 refers to the map data of the processing target position and the coefficient in the memory 43, and acquires the values of the coefficients a and b corresponding to the distance l calculated in Op3. In this case, as map data, data indicating the correspondence between the distance l and the coefficients a and b is recorded in advance. For example, position 1, position 2, position 3, etc. associated with the coefficients (a1, b1), (a2, b2), (a3, b3),... Of the map data in the memory 43 shown in FIG. , Distances l 1 , l 2 , l 3 ,...

そして、係数aとリファレンス分布Aとの積に、係数bとリファレンス分布Bとの積を加えたものに、回転角θに応じた回転処理を加えることで、その処理対象位置におけるデコンボリューション分布(デコンボリューションカーネル)を算出することができる。これにより、その処理対象位置におけるフィルタが決定される。   Then, by adding a product of the coefficient a and the reference distribution A to the product of the coefficient b and the reference distribution B, and applying a rotation process according to the rotation angle θ, a deconvolution distribution ( Deconvolution kernel) can be calculated. Thereby, a filter at the processing target position is determined.

なお、上記例では、リファレンス分布を距離l及び回転角θの双方に基づいて補正することで処理対象位置でのデコンボリューション分布を算出しているが、距離l及び回転角θの少なくともいずれか一方のみでリファレンス分布を補正することによっても処理対象位置に応じたフィルタを設定することはできる。   In the above example, the deconvolution distribution at the processing target position is calculated by correcting the reference distribution based on both the distance l and the rotation angle θ. However, at least one of the distance l and the rotation angle θ is calculated. It is also possible to set a filter according to the processing target position by correcting the reference distribution only.

デコンボリューション演算部44は、Op4にて設定されたフィルタを用いて、処理対象位置におけるデコンボリューション処理を実行する(Op5)。デコンボリューション処理は、例えば、デコンボリューション分布をフィルタとして用いたフィルタリング処理である。   The deconvolution operation unit 44 executes the deconvolution process at the processing target position using the filter set in Op4 (Op5). The deconvolution process is a filtering process using, for example, a deconvolution distribution as a filter.

上記Op2〜Op5の処理は、取得した画像の領域Rすべてについて終了するまで(Op6でYesと判定されるまで)繰り返される。これにより、取得した画像の領域Rについて、画像中の位置に応じて適切なフィルタを用いたフィルタリング処理が実行される。   The processes of Op2 to Op5 are repeated until all the regions R of the acquired image are completed (until determined to be Yes in Op6). Thereby, filtering processing using an appropriate filter is executed for the region R of the acquired image according to the position in the image.

なお、フィルタリング処理は上記例に限られない。例えば、フィルタの設定処理において、画像の全域を網羅するように、複数の位置ごとにデコンボリューションカーネルデータを予め記録しておき、処理対象位置の光軸中心Pからの距離に応じて、デコンボリューションカーネルデータを選択して、デコンボリューション処理を行ってもよい。あるいは、処理対象位置の光軸中心からの距離に応じて、係数kの値を選択し、予め記録されたデコンボリューションカーネル劣化データを係数倍した結果を、リファレンス分布のようなデコンボリューションカーネル基準データから減算してもよい。これによっても、処理対象位置に応じたフィルタデータを生成することができる。   The filtering process is not limited to the above example. For example, in the filter setting process, deconvolution kernel data is recorded in advance for each of a plurality of positions so as to cover the entire image, and the deconvolution is performed according to the distance from the optical axis center P of the processing target position. Deconvolution processing may be performed by selecting kernel data. Alternatively, the value of the coefficient k is selected according to the distance from the optical axis center of the processing target position, and the result obtained by multiplying the previously recorded deconvolution kernel degradation data by the coefficient is obtained as deconvolution kernel reference data such as a reference distribution. You may subtract from This also makes it possible to generate filter data according to the processing target position.

[リファレンス分布の計算例]
ここで、リファレンス分布のコンピュータによる計算例を説明する。図10は、リファレンス分布計算の一例を示すフローチャートである。図10に示す例では、予め計算された、光学系1における光軸に沿った光束(光軸中心光束)のPSF(A)と、画角の最外側に沿った光束(最外画角光束)のPSF(B)とが入力データとなる。
[Reference distribution calculation example]
Here, an example of calculation of the reference distribution by a computer will be described. FIG. 10 is a flowchart illustrating an example of reference distribution calculation. In the example shown in FIG. 10, the PSF (A) of the luminous flux along the optical axis in the optical system 1 (optical axis central luminous flux) and the luminous flux along the outermost angle of view (outermost angular luminous flux) calculated in advance. ) PSF (B) is input data.

図11は、光学系1における光軸中心光束F1と、最外画角光束F2の例を示す図である。図11に示す例では、光軸中心光束F1は、レンズ11a、11b、11cの回転対称軸に一致する光軸に沿って入射する光である。最外画角光束は、撮像面に対する入射角が最大となる光である。すなわち、光軸中心光束の像は画像の中心に対応し、最外画角光束の像は画像の外側に対応する。これらの光軸中心光束のPSF(A)及び最外画角光束のPSF(B)は、例えば、市販の光学系の設計支援ソフトウエアを用いたシミュレーションにより計算することができる。   FIG. 11 is a diagram illustrating an example of the optical axis central light beam F1 and the outermost field angle light beam F2 in the optical system 1. In the example shown in FIG. 11, the optical axis center light flux F1 is light incident along the optical axis that coincides with the rotational symmetry axis of the lenses 11a, 11b, and 11c. The outermost field angle light beam is light having the maximum incident angle with respect to the imaging surface. That is, the image of the light beam at the center of the optical axis corresponds to the center of the image, and the image of the light beam at the outermost angle of view corresponds to the outside of the image. The PSF (A) of the light beam at the center of the optical axis and the PSF (B) of the light beam at the outermost angle of view can be calculated, for example, by simulation using design support software for a commercially available optical system.

被写体の理想的な像をfと、光学系1を経て撮像された画像をgとすると、PSF(A)及びPSF(B)は、下記式の関係を有する。下記式において、*はコンボリューションを表す。   Assuming that an ideal image of the subject is f and an image captured through the optical system 1 is g, PSF (A) and PSF (B) have a relationship represented by the following equation. In the following formula, * represents convolution.

g=PSF(A)*f
g=PSF(B)*f
図10のOp11において、コンピュータは、入力したPSF(A)とPSF(B)のフーリエ変換値を算出するfとgのフーリエ変換値をそれぞれF、Gとすると、PSF(A)及びPSF(B)のフーリエ変換値H(A)、H(B)は、下記式の関係を有する。
g = PSF (A) * f
g = PSF (B) * f
In Op11 of FIG. 10, the computer calculates the Fourier transform values of the input PSF (A) and PSF (B). If the Fourier transform values of f and g are F and G, respectively, PSF (A) and PSF (B ) Fourier transform values H (A) and H (B) have the following relationship.

G=H(A)×F
G=H(B)×F
Op12において、コンピュータは、H(A)、H(B)それぞれについて逆数処理をして、例えば、下記式の関係を満たすようなH-1(A)、H-1(B)を算出する。
G = H (A) × F
G = H (B) × F
In Op12, the computer performs reciprocal processing for H (A) and H (B), and calculates H −1 (A) and H −1 (B) that satisfy the relationship of the following formula, for example.

F=H-1(A)×G
F=H-1(B)×G
Op13において、コンピュータは、H-1(A)、H-1(B)の逆フーリエ変換値h-1(A)、h-1(B)をそれぞれ算出する。このh-1(A)、h-1(B)をそれぞれ、上記のリファレンス分布(A)、リファレンス分布(B)として用いることができる。このように、本実施形態では、光学系1における代表的な複数の光束について、それぞれデコンボリューションカーネル(ここでは、リファレンス分布)を計算して記録しておくことができる。これにより、フィルタ処理部42は、画像中の処理対象位置に合うように、代表的なデコンボリューションカーネルの内挿あるいは外挿を計算してデコンボリューションカーネルを生成し、それを用いてデコンボリューション処理を実行することができる。
F = H −1 (A) × G
F = H −1 (B) × G
In Op 13, computer, H -1 (A), H -1 inverse Fourier transform value h -1 (A) of (B), calculates h -1 to (B), respectively. These h −1 (A) and h −1 (B) can be used as the reference distribution (A) and the reference distribution (B), respectively. Thus, in this embodiment, the deconvolution kernel (here, the reference distribution) can be calculated and recorded for each of a plurality of representative light beams in the optical system 1. Thereby, the filter processing unit 42 generates a deconvolution kernel by calculating the interpolation or extrapolation of a representative deconvolution kernel so as to match the processing target position in the image, and uses this to generate the deconvolution processing. Can be executed.

なお、リファレンス分布(A)、(B)として用いられるデータは上記例に限られない。例えば、上記2つの光束に加えて、さらに他の光束についてのPSFからリファレンス分布を計算して、3つ以上のリファレンス分布をメモリ43に予め記録しておくこともできる。また、リファレンス分布の基になるPSFの光束の組み合わせは、上記のように光軸中心と最外画角の組に限られず、光軸中心と最外画角の中間の光束のPSFを基にリファレンス分布を作成してもよい。   The data used as the reference distributions (A) and (B) is not limited to the above example. For example, in addition to the above two light fluxes, a reference distribution can be calculated from the PSF for other light fluxes, and three or more reference distributions can be recorded in the memory 43 in advance. Further, the combination of the PSF light fluxes on which the reference distribution is based is not limited to the pair of the optical axis center and the outermost angle of view as described above, but based on the PSF of the light flux intermediate between the optical axis center and the outermost angle of view. A reference distribution may be created.

(第2の実施形態)
図12は、第2の実施形態にかかるフィルタ処理部42の動作例を示すフローチャートである。図12において、図6と同じステップには同じ番号を付している。また、フィルタ処理部42を含む画像処理装置4及び撮像装置の構成は、第1の実施形態と同様にすることができる。
(Second Embodiment)
FIG. 12 is a flowchart illustrating an operation example of the filter processing unit 42 according to the second embodiment. In FIG. 12, the same steps as those in FIG. The configurations of the image processing device 4 and the imaging device including the filter processing unit 42 can be the same as those in the first embodiment.

図12に示す例では、コンボリューション演算部44が画像を取得すると(Op1)、コンボリューション制御部45は、処理対象となる領域(ゾーン)を画像中に設定する(Op2a)。以降のOp3〜Op5の処理は、Op2aで設定されたゾーンごとに実行される。Op2aにおいて、コンボリューション制御部45は、予め設定された画像中の複数のゾーンから処理対象となるゾーンを順次選択し、選択したゾーンに対してフィルタリング処理が繰り返される。   In the example shown in FIG. 12, when the convolution calculation unit 44 acquires an image (Op1), the convolution control unit 45 sets a region (zone) to be processed in the image (Op2a). The subsequent processes of Op3 to Op5 are executed for each zone set in Op2a. In Op2a, the convolution control unit 45 sequentially selects zones to be processed from a plurality of zones in a preset image, and the filtering process is repeated for the selected zones.

Op3では、処理対象のゾーンの代表点と光軸中心との距離lが算出される。各ゾーンの代表点は、特に限定されず、例えば、ゾーンの中心の位置座標でよいし、ゾーンの境界上の点でもよい。   In Op3, the distance l between the representative point of the zone to be processed and the optical axis center is calculated. The representative point of each zone is not particularly limited, and may be, for example, a position coordinate at the center of the zone or a point on the boundary of the zone.

Op4では、上記第1の実施形態と同様に、ゾーンの代表点の光軸中心Pからの距離lと当該代表点の光軸中心に垂直な軸周りの回転角θに基づいて、リファレンス分布(A)(B)を補正して、デコンボリューションカーネルを生成する処理が実行される。Op5では、Op4で生成されたデコンボリューションカーネルを用いてフィルタリングが実行される。   In Op4, as in the first embodiment, the reference distribution (based on the distance l from the optical axis center P of the representative point of the zone and the rotation angle θ around the axis perpendicular to the optical axis center of the representative point) A) A process of generating a deconvolution kernel by correcting (B) is executed. In Op5, filtering is performed using the deconvolution kernel generated in Op4.

このように、本実施形態では、画像を複数の領域に分割し、当該複数の領域(ゾーン)ごとに適用するフィルタのフィルタデータを変えて、フィルタリング処理が実行される。これにより、ゾーンごとに、PSFの変化に対応した適切なフィルタリングを実行することが可能になる。また、上記例では、各ゾーンにおけるフィルタデータは、Op4において、リファレンス分布(A)、(B)を、距離l、回転角θを使って補正することで生成されているが、各ゾーンのフィルタの設定方法はこれに限られない。例えば、ゾーンごとに予めデコンボリューションカーネルなどのフィルタデータをメモリ43に記録しておき、処理対象のゾーンが決定したら、そのゾーンに対応するデコンボリューションカーネルをメモリ43から読み出してフィルタリングに用いることもできる。   As described above, in this embodiment, the image is divided into a plurality of regions, and the filtering process is executed by changing the filter data of the filter applied to each of the plurality of regions (zones). This makes it possible to execute appropriate filtering corresponding to the change in PSF for each zone. In the above example, the filter data in each zone is generated by correcting the reference distributions (A) and (B) using the distance l and the rotation angle θ in Op4. The setting method is not limited to this. For example, filter data such as a deconvolution kernel is recorded in advance in the memory 43 for each zone, and when a zone to be processed is determined, the deconvolution kernel corresponding to that zone can be read from the memory 43 and used for filtering. .

図13は、画像に予め設定される複数のゾーンの一例を示す図である。図13に示す例では、取得画像領域Rを、光軸中心点Pを中心とする複数の同心円と、径方向に放射状に延びる直線とによってゾーンが区切られている。すなわち、補正対象とする画像領域が放射状に分割される。このように、複数のゾーンが放射状に配置されることによって、光軸中心から放射状に変化するPSFに応じたフィルタの設定が可能になる。   FIG. 13 is a diagram illustrating an example of a plurality of zones preset in an image. In the example shown in FIG. 13, the acquired image region R is divided into zones by a plurality of concentric circles centered on the optical axis center point P and straight lines extending radially in the radial direction. That is, the image area to be corrected is divided radially. As described above, by arranging the plurality of zones radially, it is possible to set a filter according to the PSF that changes radially from the center of the optical axis.

図14は、画像に予め設定される複数のゾーンの他の例を示す図である。図14に示す例では、各ゾーンは矩形になるように画像が分割される。また、画像中の光軸中心に対応する位置から遠いほど、ゾーンの面積が小さくなるよう各ゾーンが設定される。すなわち、光軸中心からの距離に応じて補正対象とする画像領域の面積を小さくすることができる。これにより、画像の周辺部ほどフィルタ設定を細かく変えることができる。PSFの変化の度合いは、光軸中心から離れるに従って大きくなる傾向がある。そのため、光軸中心から遠いゾーンほど面積を小さく設定することで、PSFの変化度合いにさらに適応したフィルタリングが可能になる。なお、図13、図14では、取得画像領域Rの4分の1の部分のみゾーンを示しており、その他のゾーンは省略している。   FIG. 14 is a diagram illustrating another example of a plurality of zones preset in an image. In the example shown in FIG. 14, the image is divided so that each zone is rectangular. Further, each zone is set so that the area of the zone becomes smaller as the position is farther from the position corresponding to the center of the optical axis in the image. That is, the area of the image area to be corrected can be reduced according to the distance from the center of the optical axis. Thereby, the filter setting can be changed more finely in the peripheral part of the image. The degree of change in PSF tends to increase as the distance from the optical axis center increases. Therefore, by setting the area smaller in the zone farther from the center of the optical axis, filtering that is more adapted to the degree of change in PSF can be performed. In FIGS. 13 and 14, only a quarter of the acquired image region R is shown as a zone, and the other zones are omitted.

以上、本発明の実施形態について説明した。上記実施形態によれば、画像中の位置に応じて適切なフィルタリングを施すことが可能になるので、PSFの変化に対応したボケ復元が可能になる。そのため、例えば、PSFの変化を抑えるための位相変調素子等を光学系1に挿入しなくても、フィルタリングによる画像の復元効果を得ることができる。その結果、光学系の簡素化も可能になる。すなわち、簡素な光学系を用いて取得画像の解像度を向上させることができる。   The embodiment of the present invention has been described above. According to the above-described embodiment, since it is possible to perform appropriate filtering according to the position in the image, it is possible to restore the blur corresponding to the change in the PSF. Therefore, for example, an image restoration effect by filtering can be obtained without inserting a phase modulation element or the like for suppressing a change in PSF into the optical system 1. As a result, the optical system can be simplified. That is, the resolution of the acquired image can be improved using a simple optical system.

なお、本発明は、上記第1〜第2の具体的な実施形態に限定されない。   In addition, this invention is not limited to the said 1st-2nd specific embodiment.

上記のように、画像処理装置に、光学系、撮像素子を加えた撮像装置も本発明の実施形態に含まれる。この撮像装置の用途は特に限定されない。上記撮像装置は、例えば、デジタルスチルカメラ、携帯電話搭載カメラ、携帯情報端末搭載カメラ、画像検査装置、自動制御用産業カメラ、情報コード読取装置等に用いることができる。   As described above, an imaging apparatus in which an optical system and an imaging element are added to the image processing apparatus is also included in the embodiment of the present invention. The use of this imaging device is not particularly limited. The imaging device can be used for, for example, a digital still camera, a mobile phone camera, a mobile information terminal camera, an image inspection device, an industrial camera for automatic control, an information code reader, and the like.

Claims (8)

光学系を介して撮像された画像を処理する画像処理装置であって、
前記画像に対して、前記光学系の伝達関数に応じたフィルタリングを実行するフィルタ処理部を備え、
前記フィルタ処理部は、前記画像中の光軸中心に対応する位置から処理対象の位置までの距離に応じた係数を、光学系の光軸の方向に入射した光の伝達関数に対応する第1のフィルタ及び前記光軸に対して一定の角度をもって入射した光の伝達関数に対応する第2のフィルタにかけて線形結合することにより、前記画像中の処理対象の位置に応じて異なるフィルタデータを生成し、前記生成したフィルタデータを用いて、フィルタリングを実行する、
画像処理装置。
An image processing apparatus that processes an image captured through an optical system,
A filtering unit that performs filtering on the image according to a transfer function of the optical system;
The filter processing unit uses a coefficient corresponding to a distance from a position corresponding to the optical axis center in the image to a processing target position as a first transfer function corresponding to the transfer function of light incident in the direction of the optical axis of the optical system. Filter data and a second filter corresponding to the transfer function of light incident at a certain angle with respect to the optical axis, thereby generating different filter data according to the position of the processing target in the image. , Filtering using the generated filter data ,
Image processing device.
前記フィルタ処理部は、予め記録された前記光学系の伝達関数に対応するフィルタを示すフィルタデータを前記画像中の処理対象の位置に応じて補正し、当該補正したフィルタデータを用いて、前記フィルタリングを実行する、請求項1に記載の画像処理装置。
The filter processing unit corrects filter data indicating a filter corresponding to a transfer function of the optical system recorded in advance according to a position of a processing target in the image, and uses the corrected filter data to perform the filtering The image processing apparatus according to claim 1, wherein:
前記フィルタ処理部は、The filter processing unit
前記フィルタを前記画像中の光軸中心に対応する点から処理対象の位置への方向に応じて補正し、当該補正したフィルタのフィルタデータを用いて、前記フィルタリングを実行する、請求項1または2に記載の画像処理装置。The filter is corrected according to a direction from a point corresponding to the optical axis center in the image to a position to be processed, and the filtering is executed using filter data of the corrected filter. An image processing apparatus according to 1.
前記フィルタ処理部は、予め記録された、前記光学系における入射角の異なる光それぞれに応じた複数の伝達関数に対応する複数のフィルタのフィルタデータのうち、前記画像中の処理対象の位置に応じたフィルタのフィルタデータを用いて前記フィルタリングを実行する、請求項1に記載の画像処理装置。The filter processing unit corresponds to a position of a processing target in the image among filter data of a plurality of filters corresponding to a plurality of transfer functions corresponding to light having different incident angles in the optical system, which is recorded in advance. The image processing apparatus according to claim 1, wherein the filtering is performed using filter data of the selected filter.
前記フィルタ処理部は、前記画像を複数の領域に分割し、当該複数の領域ごとに適用する前記フィルタのフィルタデータを、予め記録された前記伝達関数に応じたフィルタのフィルタデータから生成または選択し、当該生成または選択したフィルタデータを用いて領域ごとにフィルタリング処理を実行する、請求項1〜4のいずれか1項に記載の画像処理装置。The filter processing unit divides the image into a plurality of regions, and generates or selects filter data of the filter to be applied to each of the plurality of regions from filter data of a filter corresponding to the transfer function recorded in advance. The image processing apparatus according to claim 1, wherein filtering processing is executed for each region using the generated or selected filter data.
前記複数の領域は、前記画像中の光軸中心に対応する位置に対して放射状に配置される、請求項5に記載の画像処理装置。The image processing apparatus according to claim 5, wherein the plurality of regions are arranged radially with respect to a position corresponding to an optical axis center in the image.
前記画像中の光軸中心に対応する位置から遠いほど、前記領域の面積が小さくなるよう前記複数の領域が設定される、請求項5または6に記載の画像処理装置。The image processing apparatus according to claim 5, wherein the plurality of regions are set such that the area of the region decreases as the distance from the position corresponding to the optical axis center in the image increases.
コンピュータに、光学系を介して撮像された画像を処理させる画像処理プログラムであって、An image processing program for causing a computer to process an image captured through an optical system,
前記画像に対して、前記光学系の伝達関数に応じたフィルタリングを実行するフィルタ処理をコンピュータに実行させ、Causing the computer to perform a filtering process for performing filtering according to the transfer function of the optical system on the image;
前記フィルタ処理は、前記画像中の光軸中心に対応する位置から処理対象の位置までの距離に応じた係数を、光学系の光軸の方向に入射した光の伝達関数に対応する第1のフィルタ及び前記光軸に対して一定の角度をもって入射した光の伝達関数に対応する第2のフィルタにかけて線形結合することにより、前記画像中の処理対象の位置に応じて異なるフィルタデータを生成し、前記生成したフィルタデータを用いて、フィルタリングを実行するIn the filtering process, a coefficient corresponding to the distance from the position corresponding to the optical axis center in the image to the position to be processed is a first function corresponding to the transfer function of light incident in the direction of the optical axis of the optical system. The filter and the second filter corresponding to the transfer function of the light incident at a certain angle with respect to the optical axis are linearly combined to generate different filter data according to the position of the processing target in the image, Perform filtering using the generated filter data
ことを特徴とする、画像処理プログラム。An image processing program.
JP2010158936A 2010-07-13 2010-07-13 Image processing apparatus and image processing program Active JP5633218B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010158936A JP5633218B2 (en) 2010-07-13 2010-07-13 Image processing apparatus and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010158936A JP5633218B2 (en) 2010-07-13 2010-07-13 Image processing apparatus and image processing program

Publications (2)

Publication Number Publication Date
JP2012023498A JP2012023498A (en) 2012-02-02
JP5633218B2 true JP5633218B2 (en) 2014-12-03

Family

ID=45777402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010158936A Active JP5633218B2 (en) 2010-07-13 2010-07-13 Image processing apparatus and image processing program

Country Status (1)

Country Link
JP (1) JP5633218B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5949201B2 (en) 2012-06-20 2016-07-06 富士通株式会社 Image processing apparatus and program
JP6306811B2 (en) * 2012-06-22 2018-04-04 富士通株式会社 Image processing apparatus, information processing method, and program
JP5983373B2 (en) * 2012-12-07 2016-08-31 富士通株式会社 Image processing apparatus, information processing method, and program
JP6020123B2 (en) 2012-12-17 2016-11-02 富士通株式会社 Image processing apparatus, image processing method, and program
US9241142B2 (en) 2013-01-24 2016-01-19 Analog Devices Global Descriptor-based stream processor for image processing and method associated therewith
JP5933105B2 (en) * 2013-02-15 2016-06-08 富士フイルム株式会社 Image processing apparatus, imaging apparatus, filter generation apparatus, image restoration method, and program
JP6255892B2 (en) * 2013-10-23 2018-01-10 富士通株式会社 Image processing apparatus, image processing method, and program
JP2016052116A (en) 2014-08-28 2016-04-11 パナソニックIpマネジメント株式会社 Image processing device, image processing method and computer program
JP6549240B2 (en) * 2015-01-29 2019-07-24 ウィリアム マーシュ ライス ユニバーシティWilliam Marsh Rice University Lensless imaging system using an image sensor with one or more attenuation layers
CN104902188A (en) * 2015-06-19 2015-09-09 中科创达软件股份有限公司 Image processing method, system and image acquisition device
JP6448526B2 (en) * 2015-12-02 2019-01-09 キヤノン株式会社 Image processing apparatus, imaging apparatus, and image processing program
WO2017168986A1 (en) * 2016-03-31 2017-10-05 ソニー株式会社 Control device, endoscope image pickup device, control method, program, and endoscope system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004302123A (en) * 2003-03-31 2004-10-28 Matsushita Electric Ind Co Ltd Camera device
US8233073B2 (en) * 2006-03-29 2012-07-31 DitigalOptics Corporation Europe Limited Image capturing device with improved image quality
JP2007304525A (en) * 2006-05-15 2007-11-22 Ricoh Co Ltd Image input device, electronic equipment, and image input method
JP2008172321A (en) * 2007-01-09 2008-07-24 Olympus Imaging Corp Image pickup device for performing electric image recovery processing
JP2010085749A (en) * 2008-09-30 2010-04-15 Fujifilm Corp Optical system, imaging apparatus, imaging method, and program
JP4942216B2 (en) * 2008-09-30 2012-05-30 キヤノン株式会社 Image processing method, image processing apparatus, imaging apparatus, and program

Also Published As

Publication number Publication date
JP2012023498A (en) 2012-02-02

Similar Documents

Publication Publication Date Title
JP5633218B2 (en) Image processing apparatus and image processing program
JP5388671B2 (en) Imaging apparatus and image conversion method
RU2716843C1 (en) Digital correction of optical system aberrations
JP4942216B2 (en) Image processing method, image processing apparatus, imaging apparatus, and program
JP5824297B2 (en) Image processing apparatus and method, and imaging apparatus
JP5959976B2 (en) Image processing method, image processing program, image processing apparatus, and imaging apparatus
US8724008B2 (en) Image processing apparatus, image pickup apparatus, image processing method, and program for performing image restoration
JP2008516299A (en) Imaging apparatus and image modification processing method
JP5535053B2 (en) Image processing apparatus and image processing method
JP2010020758A5 (en)
JP2008245157A (en) Imaging device and method therefor
JP2013051599A5 (en)
JP6234623B2 (en) Image processing method, imaging apparatus using the same, image processing apparatus, and image processing program
US8648936B2 (en) Image processing apparatus and image processing method
US20150161771A1 (en) Image processing method, image processing apparatus, image capturing apparatus and non-transitory computer-readable storage medium
JP5730036B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program.
JP5541750B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP5425135B2 (en) Image processing method, image processing apparatus, imaging apparatus, and image processing program
CN111988517A (en) Image processing apparatus, lens apparatus, and image processing method
JP6415108B2 (en) Image processing method, image processing apparatus, imaging apparatus, image processing program, and storage medium
JP5425136B2 (en) Image processing method, image processing apparatus, imaging apparatus, and image processing program
JP6436840B2 (en) Image processing apparatus, imaging apparatus, image processing method, image processing program, and storage medium
JP6559011B2 (en) Image processing apparatus and image processing method
JP2007036799A (en) Image processing apparatus
JP5344647B2 (en) Image processing method, image processing apparatus, and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130507

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130701

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140220

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140422

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140701

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20140709

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140929

R150 Certificate of patent or registration of utility model

Ref document number: 5633218

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150