JP2012147087A - Apparatus and method for generating image - Google Patents
Apparatus and method for generating image Download PDFInfo
- Publication number
- JP2012147087A JP2012147087A JP2011001978A JP2011001978A JP2012147087A JP 2012147087 A JP2012147087 A JP 2012147087A JP 2011001978 A JP2011001978 A JP 2011001978A JP 2011001978 A JP2011001978 A JP 2011001978A JP 2012147087 A JP2012147087 A JP 2012147087A
- Authority
- JP
- Japan
- Prior art keywords
- image
- images
- pixel
- image generation
- relative position
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、視差の異なる複数の画像を用いて単一の高解像度の画像を生成する画像生成装置及び方法に関する。 The present invention relates to an image generation apparatus and method for generating a single high-resolution image using a plurality of images having different parallaxes.
従来、マイクロレンズアレイにより単一の受光素子の受光面上に結像される複数の低解像度な物体縮小像から単一の高解像度な物体像を生成する画像再構成装置が知られている(特許文献1)。マイクロレンズアレイは、複数のマイクロレンズを二次元状に配列して一体化されている。この装置は、複数の物体縮小像を用いて物体縮小像間の相対位置を、基準の物体縮小画像に対する全ての物体縮小画像との相対位置を算定し、算定した相対位置に基づいて各物体縮小像の画素を、拡大した同一領域(所定の画像メモリ領域)上に再配置して多画素化した単一の物体像を生成し、その後、再配置した単一の物体象の欠失した画素の補間処理を行った後に、エッジ強調等の鮮鋭化処理を施して単一の高精細な合成画像を生成している。 2. Description of the Related Art Conventionally, there is known an image reconstruction device that generates a single high-resolution object image from a plurality of low-resolution object reduced images formed on a light-receiving surface of a single light-receiving element by a microlens array ( Patent Document 1). The microlens array is formed by integrating a plurality of microlenses in a two-dimensional manner. This device calculates the relative position between the reduced object images using a plurality of reduced object images, the relative position of all the reduced object images with respect to the reference reduced object image, and reduces each object based on the calculated relative position. Pixels of the image are rearranged on the same enlarged area (predetermined image memory area) to generate a single object image with multiple pixels, and then the rearranged pixels of the single object image deleted After performing the interpolation processing, sharpening processing such as edge enhancement is performed to generate a single high-definition composite image.
しかしながら、特許文献1に記載の発明では、基準の物体縮小像の画素を、拡大した同一領域にスケールに合わせて配置し、続いて他の物体縮小像の画素を相対位置に基づいて同一領域内に配置して単一の物体像を生成しているため、物体とマイクロレンズアレイとの物体距離によっては欠失画素を含むことになる。これにより、欠失画素をその周辺の画素値を用いて補間する補間処理が必要になり、処理に時間がかかるおそれがある。
However, in the invention described in
本発明は上記事情に鑑みてなされたものであり、画素補間等の面倒な処理を行わずに合成処理を簡便に行うことができる画像生成装置及び方法を提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image generation apparatus and method capable of simply performing a synthesis process without performing a troublesome process such as pixel interpolation.
本発明を例示する画像生成装置の一態様は、複数の画像のうちの基準の画像に対する残りの画像の相対位置を検出する相対位置検出手段と;前記複数の画像を、多画素化した仮想の画像領域上で前記検出した相対位置に基づいてずれがゼロとなるように重ね合わせる重合手段と;前記仮想の画像領域を構成する各画素の中心に、中心が最も近い画素を、重ね合わせた複数の画像の中から選択して配置していく画素配置手段と;を備えるものである。 An aspect of the image generating apparatus exemplifying the present invention includes: a relative position detecting unit that detects a relative position of a remaining image with respect to a reference image of a plurality of images; Superimposing means for superimposing on the image area based on the detected relative position so that the deviation is zero; a plurality of pixels in which the pixel closest to the center is superimposed on the center of each pixel constituting the virtual image area And a pixel arrangement unit that selects and arranges from among the images.
本発明の画像生成装置によれば、多画素化した仮想の画像領域を構成する各画素の中心に、中心が最も近い画素を、重ね合わせた複数の画像の中から選択して配置していくため、仮想の画像領域内で欠失する画素が生じることはがない。よって、補間処理を必要としないので、合成処理を簡素化することができる。 According to the image generating apparatus of the present invention, a pixel having the closest center is selected from a plurality of superimposed images and arranged at the center of each pixel constituting a virtual image area having multiple pixels. Therefore, pixels that are deleted in the virtual image region never occur. Therefore, since no interpolation process is required, the synthesis process can be simplified.
多眼カメラ10は、図1に示すように、16個の撮影開口11がカメラボディ12の前面に設けられている。各撮影開口11の奥には、撮影レンズ、及び撮像素子が配されており、これら撮影開口、撮影レンズ、及び撮像素子が個眼撮像部を構成する。
As shown in FIG. 1, the
各撮像素子は、例えば5M〜10Mの低画素で、かつ消費電力の少ない撮像素子が用いられている。また、各撮影レンズの光軸は、略平行になっている。各撮像素子は、撮影レンズの光軸に対して撮像面が垂直になるように配されている。 As each imaging device, for example, an imaging device with a low pixel of 5M to 10M and low power consumption is used. Further, the optical axes of the photographing lenses are substantially parallel. Each imaging element is arranged so that the imaging surface is perpendicular to the optical axis of the imaging lens.
多眼カメラ10は、カメラボディ12の上面にシャッタボタン13、及び電源スイッチ14が配されており、1回のシャッタレリーズにより、例えば16個の画像データを取得し、これら画像データを合成して高精細な一つの画像データを生成する。
The
撮影開口11は、二次元状に配列されている。撮影開口11のx,y方向の間隔は、疑似ランダム系列であるM系列に従った所定の周期パターンに設定される。この場合、M系列の自己相関関数は、デルタ(δ)関数に近く、ピーク以外では相関関数値が一定となる特徴を備えている。
The
なお、撮影開口11の間隔は、2値の疑似ランダム系列であれば、M系列以外に、Q系列(平方剰余系列)、Gold系列、Walsh符号等のものを使用することも可能である。また、撮影開口11は、二次元方向の間隔が疑似ランダム系列である所定の周期パターンに設定されていれば、16個に限ることはない。
In addition, as long as the space | interval of the imaging |
カメラボディ12の背後には、図2に示すように、LCD15が配されている。LCD15には、タッチパネル操作部が組み込まれている。変倍操作は、タッチパネル操作部を利用して操作する。勿論、LCD15には、メニューの文字や操作ボタン等の絵柄が表示され、操作し易くなっている。
An
図3に示すように、各撮像素子20には、AFE21、及びフレームメモリ22がそれぞれ接続されており、撮影レンズ23により結像する被写体像を撮像して画像信号をAFE21に出力する。
As shown in FIG. 3, each image sensor 20 is connected to an AFE 21 and a
AFE21は、周知のCDS(相関二重サンプリング)/AGC(ゲイン・コントロール・アンプ回路)、A/D、及び信号処理回路で構成されており、CPU24とともにTGから供給されるパルスに同期して動作する(図示なし)。信号処理回路は、デジタルの画像データを取り込み、画素欠陥補正やホワイトバランス補正、ガンマ補正などの補正を行う。
The AFE 21 includes a well-known CDS (correlated double sampling) / AGC (gain control amplifier circuit), A / D, and a signal processing circuit, and operates in synchronization with a pulse supplied from the TG together with the
CPU24には、LCD15に設けたタッチパネル操作部から各種の操作信号が入力される(図示なし)。CPU24は、1回のレリーズ操作で複数の画像データを各フレームメモリ22に同時に取り込む。各画像データは、低解像な縮小画像データとなっており、フレームメモリ22に個別に取り込まれた後、合成処理部25に読み出される。合成処理部25は、視差の異なる複数の画像データを利用して高解像度な合成画像データを生成する。
Various operation signals are input to the
また、多眼カメラ10には、測距部(測距手段)26、角速度センサ(振れ検出手段)27、移動量算出部(移動量算出手段)28、及び移動機構(移動手段)29が配されている。また、撮影レンズ23の合焦を個別に行う合焦機構30が撮影レンズ23毎に配されている。角速度センサ27は、多眼カメラ10のブレを検出し、検出したブレ情報を移動量算出部28に送る。
In addition, the
測距部26は、複数の画像データのうちの少なくとも2つの画像データを取り込み、これら2つの画像データに基づいて両画像の相対的なずれ量を求め、求めたずれ量から被写体距離を算出し、全ての合焦機構30を制御して、被写体距離に応じた合焦位置に全ての撮影レンズ23を個別に移動させる。
The
例えば三角測量の原理を用いた三角測距法では、2つの画像データを撮像した撮像素子20の中心間隔(基線長)d、撮影レンズ23の焦点距離f、視差δとすると、被写体距離Lを三角形の比例関係から成り立つ「L=f×d/δ」の式を用いて求める。求めた被写体距離の情報は、移動量算出部28に送られる。なお、2つの画像データは、基線長dが最も長い撮像素子20から得られる画像データを用いるのが好適である。
For example, in the triangulation method using the principle of triangulation, if the center distance (base line length) d of the image sensor 20 that captured two image data, the focal length f of the photographing
移動量算出部28は、角速度センサ27で検出した振れに基づいて移動機構29による撮像素子20毎の移動量を算出する。算出した移動量の情報は、移動機構29に送られる。これらの移動量の情報には、移動量以外に移動方向の情報も含んでいる。
The movement
移動機構29は、撮像素子20毎に配されており、例えばボイスコイルやステッピングモータ等のアクチュエータを含み、アクチュエータを利用して移動量算出部28で算出した移動量に基づいて撮像素子20を光軸に対して直交する方向に瞬時に移動させる。
The
ROM31は、各種プログラムやプログラムの実行に必要な設定値を予め記憶している。RAM32は、CPU24のワークメモリとして、また、各部の一時的なメモリとして使用される。これらCPU24、ROM31、RAM32、LCDドライバ33、I/F34、及び合成処理部25はバス35により接続されている。
The
なお、撮影レンズ23をズームレンズ、又は焦点距離切り替えタイプのレンズとしてもよい。この場合には、変倍操作に同期して全ての撮影レンズを変倍するように構成すればよい。
The photographing
CPU24は、画像合成部25で生成した合成画像データを、I/F34を介して記録部36に記録する。なお、圧縮部を設け、合成画像データを、例えばJPEG方式で圧縮した形式で記録してもよい。また、CPU24は、合成画像データに基づいて表示用画像データを生成し、表示用画像データをLCDドライバ33に送り、表示用画像データをLCDドライバ33の制御によりLCD15にスルー画像として表示する。
The
CPU24は、撮像素子20の電荷蓄積時間(電子シャッタ)を各々制御し、また、特定の撮像素子20から得られる画像データに基づいて被写体の輝度を測定し、この測定結果に基づいて全部の撮像素子20の電子シャッタの値を変えて露出を制御する。
The
合成処理部25は、図4に示すように、相対位置検出部40、重合部41、画素配置部42、ボケ除去処理部43、及び縮小処理部44で構成されている。相対位置検出部40は、複数の画像の位置合わせを行うために、複数の画像のうちの基準の画像に対する残りの画像との相対位置をそれぞれ算出する。重合部41は、複数の画像を、多画素化した仮想の画像領域上で各相対位置に基づいてズレがゼロとなるように重ね合わせる。画素配置部42は、前記仮想の画像領域を構成する各画素の中心に、中心が最も近い画素を、重ね合わせた複数の画像の中から選択して配置していくことで単一の高解像度な合成画像データを生成する。ボケ除去処理部43は、合成画像データに対して、例えばデコンボリューション処理を行ってボケの影響を取り除く。縮小処理部44は、ボケ除去処理済みの合成画像データに対して、例えばバイリニア法により縮小処理を行って最終的な合成画像データを出力する。
As illustrated in FIG. 4, the
次に上記構成の作用を、図5を参照しながら簡単に説明する。多眼カメラ10は、電源スイッチ14をオンすると、移動機構29が撮像素子20を初期位置にセットする(S−1)。初期位置は、撮像面の中心が光軸に一致する位置になっている。手振れ補正処理が開始される(S−2)。なお、手振れ補正処理についての詳しい説明は後述する。
Next, the operation of the above configuration will be briefly described with reference to FIG. When the
シャッタボタン13の半押し操作に応答して(S−3)、測距部26が被写体距離を算出し(S−4)、合焦機構30が被写体距離に基づいて全部の撮影レンズ23を合焦位置に移動させる(S−5)。そして、シャッタボタン13の全押し操作に応答して(S−6)、全ての撮像素子20を駆動して視差の異なる複数の画像データをフレームメモリ22に取り込むようにCPU24が制御する(S−7)。取得した複数の画像データは、合成処理部25に送られ、ここで、単一の高画質な合成画像データが生成される(S−8)。合成画像データは、記録部36に送られ、記録される(S−9)。なお、シャッタボタン13の全押し操作の後に、各撮影レンズ23の合焦動作を行うようにしてもよい。
In response to the half-pressing operation of the shutter button 13 (S-3), the
ここで、合成処理部25の処理について図6を参照しながら説明する。まず、撮影レンズ23a〜23dを、図7に示すように、2行(x方向)×2列(y方向)に配列した場合、各撮像素子20A〜20Dから取得したデジタルの画像データA〜Dには、図8に示すように、被写体50の縮小像50a〜50dが映っている。
Here, the processing of the
各画像データA〜Dの4つのマス目A1〜A4,B1〜B4,C1〜C4、D1〜D4は、各撮像素子20A〜20Dの2×2=4画素に対応する画素(ピクセル)を表している。図8に示す画像データA〜Dは、撮像素子20A〜20Dの姿勢を基準に縮小像50a〜50dを表示しており、縮小像50a〜50dは、撮影レンズ23a〜23d間の視差、及び撮影レンズ23a〜23dや撮像素子20A〜20Dのアライメント誤差等を含む姿勢で表示されている。
Four squares A1 to A4, B1 to B4, C1 to C4, and D1 to D4 of each image data A to D represent pixels (pixels) corresponding to 2 × 2 = 4 pixels of the
相対位置検出部40は、複数の画像データA〜Dを取り込み、ある基準の画像データA〜Dと任意の一つの画像データA〜Dとの縮小像50a〜50dの相関演算により縮小像50a〜50d間の相対位置を求めていくことで、基準の画像データA〜Dの縮小像50a〜50dに対する残りの画像データA〜Dの縮小像50a〜50d間の相対位置をそれぞれ算出する(S−10)。基準の画像データA〜Dに対する全ての画像データA〜Dのずれ量(シフト量)は、撮像素子20A〜20Dの画素を単位として求めればよい。
The relative
縮小像50a〜50d間の相対位置の検出は、エッジ座標の平均や輝度の重心等を用いる。これにより、縮小像50a〜50dと撮像素子A〜Dとの相対位置、すなわち、縮小像50a〜50dを基準とする各画像データA〜Dの姿勢ずれ(位置ずれ、回転ずれ、倍率ずれ)を検出することができる。画像データA〜Dは、縮小像50a〜50dの姿勢を基準に表示すると、図9に示すように、各画像データA〜Dの姿勢がずれている。
Detection of the relative position between the reduced
重合部41は、図10に示すように、複数の画像データA〜Dを、縮小像50a〜50dのずれ量がゼロになるように各画像データA〜Dを回転、平行、及び拡縮等の処理を行って、多画素化した仮想の画像領域(メモリ)51上で重ね合わせる(S−11)。仮想の画像領域51の画素51a〜51pは、各画像データA〜Dの画素B1〜B4,C1〜C4、D1〜D4の1/4のサイズに設定している。
As shown in FIG. 10, the
ここで、フレームメモリ22に記憶されているのは、画素単位のデータであって、仮想的な画像領域51の行列は、必ずしもフレームメモリ22の各画素と1対1に対応していない。従来、仮想的な画像領域51の1画素とフレームメモリ22の1画素とがずれているため、仮想的な画像領域51の1画素は、フレームメモリ22における複数画素の組み合わせに対応させている。そこで、仮想的な画像領域51の1画素の値を、対応するフレームメモリ22の複数画素によって画素補間をしていた。
Here, what is stored in the
しかし、本実施形態では、画素配置部42は、図11に示すように、仮想の画像領域51を構成する各画素51a〜51pの中心51aa〜51paに、中心A1a〜D1aが最も近い縮小像50a〜50dの画素A1〜A4,B1〜B4,C1〜C4、D1〜D4を、重ね合わせた複数の画像データA〜Dの中から選択して配置していく(S−12)。
However, in the present embodiment, as shown in FIG. 11, the
図11では、画像データA1の画素A1の中心A1aとの距離をH1、画像データB1の画素B1の中心B1aとの距離をH2、画像データC1の画素C1の中心C1aとの距離をH3、画像データD1の画素D1の中心D1aとの距離をH4として、中心51aaとの間の直線距離の関係をH3>H1>H2>H4とすると、仮想の画像領域51の画素51aに最も近いのは中心D1aであるので、中心D1aをもつ画像データDの画素D1の値がセットされる。続いて画素51bに最も近い中心をもつ画像データA〜Dの画素を、画素A2,B2、C2,D2の中から選択する。同様にして残りの画素51c〜51pに対しても選択していく。このようにして得た仮想の画像領域51の各画素の値は、画素配置部42に設けたバッファメモリに順次書き込まれる。これにより、画素補間が必要ないので、単一の高解像度な合成画像データを簡素に生成することができる。
In FIG. 11, the distance from the center A1a of the pixel A1 of the image data A1 is H1, the distance from the center B1a of the pixel B1 of the image data B1 is H2, the distance from the center C1a of the pixel C1 of the image data C1 is H3, and the image If the distance from the center D1a of the pixel D1 of the data D1 is H4 and the relationship of the linear distance to the center 51aa is H3> H1> H2> H4, the center closest to the
なお、縮小像と撮像位置との相対位置が良く再現する場合には、被写体距離毎に縮小像と撮像素子との相対位置関係を予め計測して記憶しておき、被写体距離に応じて相対位置を読み出して使用するように構成してもよい。 When the relative position between the reduced image and the imaging position is reproduced well, the relative positional relationship between the reduced image and the image sensor is measured and stored in advance for each subject distance, and the relative position according to the subject distance is stored. May be read and used.
バッファメモリから読み出した合成画像データに対して、ボケ除去処理部43は、例えばデコンボリューション処理を行ってボケの影響を取り除く(S−13)。そして、ボケ除去処理済みの合成画像データに対して、縮小処理部44は、例えばバイリニア法により縮小処理を行う(S−14)。合成処理部25は、縮小処理済みのデータを最終的な合成画像データとして出力する(S−15)。
The blur
上記実施形態では、仮想の画像領域の画素に、中心が最も近い画素を複数の画像データの中から選択して当て嵌めているが、中心までの距離があまりにも遠い画素を当て嵌める場合には問題が生じるおそれがある。この場合には、閾値を予め決めておき、閾値を越える距離の場合には、その仮想の画像領域の画素に対しては、その周辺の画素に基づいて補完するように構成してもよい。 In the above embodiment, the pixel having the closest center to the pixel of the virtual image region is selected from a plurality of pieces of image data and applied, but when applying a pixel that is too far from the center Problems may arise. In this case, a threshold value may be determined in advance, and if the distance exceeds the threshold value, the pixels in the virtual image area may be complemented based on the surrounding pixels.
多眼カメラ10としては、低画素の撮像素子20を用いて高い解像度の画像を得るのが好適である。そして、合成画像データの鮮鋭度の低下を防止するために、撮影レンズ23と撮像素子20との間にローパスフィルタ(低域通過フィルタ)を設けない。すなわちローパスフィルタを使用せずに撮像した画像データを用いて合成する。
As the
撮影レンズ23の光学解像度は、撮像素子20により定まるナイキスト解像度よりも、例えば2倍以上高く、また、合成画像データの解像度よりも低い。そこで、撮像素子20がローパスフィルタ無しの画像を撮像し、合成処理部25がローパスフィルタ無しの画像データを用いて合成する。なお、ローパスフィルタを設けても良い。その場合は前述の要領で帯域を設定する。
The optical resolution of the
上記のような構成により、撮像素子20により定まるナイキスト周波数以下の複数の画像を合成して撮影レンズ23と撮像素子20が持つ解像力を余さず引き出した、撮像素子20の解像度より高い解像度の画像データを得ることができる。
With the configuration as described above, a plurality of images having a Nyquist frequency or lower determined by the image sensor 20 are combined to draw out the resolving power of the
なお、手触れ補正処理については、図13に示すように、電源スイッチ14をオンすることに応答して角速度センサ27を常に監視する(S−16)。移動量算出部28は、角速度センサ27が振れを検出することに応答して(S−17)、検出した振れに基づいて移動機構29による撮像素子20毎の移動量を算出する(S−18)。移動機構29は、算出した移動量に応じて撮像素子20を移動させ、手ぶれを補正する(S−19)。
As for the hand touch correction process, as shown in FIG. 13, the angular velocity sensor 27 is constantly monitored in response to turning on the power switch 14 (S-16). In response to the angular velocity sensor 27 detecting the shake (S-17), the movement
上記実施形態では、撮像素子20を移動しているが、撮像素子20の代わりに、撮影レンズ23を移動するように構成してもよいし、両方を移動する構成としてもよい。
In the above embodiment, the image sensor 20 is moved. However, instead of the image sensor 20, the
上記実施形態で説明した撮像素子としては、CCDやCMOS等のイメージセンサを用いることができる。また、上記実施形態においては、撮像装置として多眼式のデジタルカメラを例に説明したが、本発明ではこれに限るものではなく、例えば、カメラ付き携帯電話やビデオカメラ等に本発明を適用しても良い。 As the image sensor described in the above embodiment, an image sensor such as a CCD or a CMOS can be used. In the above embodiment, a multi-lens digital camera has been described as an example of the imaging device. However, the present invention is not limited to this, and the present invention is applied to, for example, a camera-equipped mobile phone or a video camera. May be.
CMOSには、1回のシャッタレリーズに対して複数のフレーム画像データを高速に取り込むことが可能なタイプがある。このタイプを用いる場合、1回のシャッタレリーズで複数の画像データを撮像素子毎に時系列的に取得することができる。この場合は、画素配置部42の後に、フレーム画像データである合成画像データを平均処理する複数フレーム平均化手段を設ける。この複数フレーム平均化手段は、複数の撮影素子から先に取り込んだ画像データに基づいて生成した先の画像データに対して、前記撮像素子から次に取り込んだ画像データに基づいて生成した次の合成画像データを平均化処理していく。1回のシャッタレリーズで得られる撮像素子1個当たりの画像データの数に応じてこの処理を繰り返す。つまり、1回のシャッタレリーズで得られる撮像素子1個当たりの画像データに基づいて生成される複数の合成画像データを平均すればよい。なお、むやみに複数のフレーム画像データに分けて合成画像データを生成して平均化するよりも、平均フレーム画像データの枚数を減らして、複数のフレーム画像データを基準画素の座標により多く当て嵌めるように構成してもよい。
There is a type of CMOS that can capture a plurality of frame image data at a high speed for one shutter release. When this type is used, a plurality of image data can be acquired for each image sensor in a time series with one shutter release. In this case, a plurality of frame averaging means for averaging the composite image data which is the frame image data is provided after the
本発明の相対位置検出手段としては、2つの画像の被写体像間のシフト量に関する相関演算を行って、画像間の相対位置を算出する。同様な手順を繰り返すことで、ある基準の画像に対する残りの全ての画像の相対位置を算出する。 The relative position detection means of the present invention calculates the relative position between the images by performing a correlation calculation on the shift amount between the subject images of the two images. By repeating the same procedure, the relative positions of all the remaining images with respect to a certain reference image are calculated.
相対位置検出手段で検出した相対位置に基づいて撮影レンズから被写体までの距離を求めることができる。この場合には、少なくとも2つの画像の相関演算により被写体距離を求めることができる。算出した被写体距離には、撮影レンズや撮像素子のアライメント誤差分が反映されている。 The distance from the photographic lens to the subject can be obtained based on the relative position detected by the relative position detecting means. In this case, the subject distance can be obtained by the correlation calculation of at least two images. The calculated subject distance reflects the alignment error of the photographing lens and the image sensor.
視差の異なる複数の画像は、例えば他のデジタルカメラから取り込んで記録手段に記録した画像であってもよいし、該装置自身で撮像して取り込むように構成してもよい。この場合には、二次元状に配列した複数の撮影レンズと、前記撮影レンズにより結像される被写体像を個別に撮像する複数の撮像素子と、を備えればよい。基準の画像としては、複数の撮像素子のうちの配列略中心に配置した撮像素子から取得した画像とするのが好適である。 The plurality of images having different parallaxes may be, for example, images captured from other digital cameras and recorded in a recording unit, or may be configured to be captured and captured by the apparatus itself. In this case, a plurality of photographing lenses arranged two-dimensionally and a plurality of image sensors that individually capture subject images formed by the photographing lenses may be provided. It is preferable that the reference image is an image acquired from an image pickup element arranged at the approximate center of the plurality of image pickup elements.
撮影時に手振れを防止すると、より高解像度な画像を生成することができる。この場合には、撮影レンズ又は撮像素子の振れを検出する振れ検出手段と、各撮影レンズとこれに対応する撮像素子とを撮影光軸に直交する方向に相対的に移動させる移動手段と、前記撮影レンズと前記撮像素子とを相対的に移動させる移動手段の移動量を前記検出した振れに基づいて算出する移動量算出手段と、を備えればよい。 If camera shake is prevented during shooting, a higher resolution image can be generated. In this case, shake detecting means for detecting shake of the photographic lens or the image sensor, moving means for relatively moving each photographic lens and the corresponding image sensor in a direction perpendicular to the photographic optical axis, What is necessary is just to provide the movement amount calculation means for calculating the movement amount of the movement means for relatively moving the photographic lens and the imaging element based on the detected shake.
撮像装置としては、低画素の撮像素子を用いて高い解像度の画像を得るのが好適である。そして、合成画像の鮮鋭度の低下を防止するために、撮影レンズと撮像素子との間にローパスフィルタ(低域通過フィルタ)を用いないので取得する画像を用いて合成するのが好適である。撮影レンズの光学解像度は、撮影レンズと撮像素子等で構成される1つの撮像系である撮像部(カメラ)の数をmとすると撮像素子のピクセルピッチの、例えば2/√m倍以下とする(ピクセルピッチの2倍がナイキスト波長)。また、合成画像の画素数は、各撮像部の撮像素子の画素数をKとするとK〜mK画素とする。光学解像度はレンズのFナンバー:F、波長:λとすると、光学解像度=F×λである。たとえばλ=550nm、F=2.8とすると光学解像度は1.54μmとなる。最近の小型カメラモジュールの光学解像度は1/9インチ光学サイズのVGA撮像素子(出力画素640×480)で2.5μm程度であるので、例えば撮像部の数m=16とすると、2×2.5/4/0.55=2.2、つまりFナンバーを2.2以下とすると合成画素出力をm倍にできる。640×480×16=4915200と約500万画素出力となる。通常、収差の影響で解像力は理想通り得られないので、Fナンバーは1/2〜1/2.5倍程度に余裕を見ておいたほうが良い。その場合F=1.1〜0.88となる。より厳密には以下の合成出力のナイキスト波長における光学系のMTFが目標値以上になるように設計する。一般的な設計目標は最低10%である。 As an imaging device, it is preferable to obtain an image with a high resolution using a low-pixel imaging device. In order to prevent the sharpness of the composite image from being lowered, it is preferable to synthesize using an acquired image because a low-pass filter (low-pass filter) is not used between the photographing lens and the image sensor. The optical resolution of the photographic lens is, for example, 2 / √m times or less of the pixel pitch of the imaging device, where m is the number of imaging units (cameras) that are one imaging system including the photographic lens and the imaging device. (Two times the pixel pitch is the Nyquist wavelength). Further, the number of pixels of the composite image is K to mK pixels, where K is the number of pixels of the image sensor of each imaging unit. The optical resolution is F × λ where the F number of the lens is F and the wavelength is λ. For example, when λ = 550 nm and F = 2.8, the optical resolution is 1.54 μm. The optical resolution of a recent small camera module is about 2.5 μm with a 1/9 inch optical size VGA image pickup device (output pixel 640 × 480). For example, if the number of image pickup units m = 16, 2 × 2. If 5/4 / 0.55 = 2.2, that is, if the F number is 2.2 or less, the combined pixel output can be multiplied by m. 640 × 480 × 16 = 4915200, which is about 5 million pixel output. Usually, since the resolving power cannot be obtained as desired due to the influence of aberration, it is better to allow a margin of about 1/2 to 1 / 2.5 times the F number. In that case, F = 1.1 to 0.88. More strictly, the MTF of the optical system at the Nyquist wavelength of the following synthesized output is designed to be equal to or greater than the target value. A general design goal is a minimum of 10%.
撮像素子は光学的ローパスフィルタ無しの画像を取得し、合成処理手段はローパスフィルタ無しの画像を用いて合成するのが好適である。また光学的ローパスフィルタをそれぞれのレンズに用いる場合の減衰特性は、合成出力のナイキスト波長=2×撮像素子のピクセルピッチ×√(撮像素子数/出力画素数)以上で十分減衰するようなものを用いればよい。 It is preferable that the image pickup device acquires an image without an optical low-pass filter, and the combining processing unit combines the images using an image without a low-pass filter. The attenuation characteristics when using an optical low-pass filter for each lens are such that the Nyquist wavelength of the composite output = 2 × pixel pitch of the image sensor × √ (number of image sensors / number of output pixels) or more is sufficient. Use it.
各撮影レンズの前には、撮影開口が設けられている。撮影開口は撮影レンズ及び撮像素子と同じに二次元状に配列されている。撮影開口を二次元方向(x、y方向)に均等な間隔で配すると、生成画像の一部に周期的に変化するぼけ像(モアレ等)が生成される。そこで、各撮影開口のx、y方向の間隔を、2値の疑似ランダム系列である所定の周期パターンにそれぞれ設定するのが自然なぼけ画像が得られるので好適である。 In front of each photographing lens, a photographing aperture is provided. The photographing apertures are two-dimensionally arranged in the same manner as the photographing lens and the image sensor. When the photographing apertures are arranged at equal intervals in the two-dimensional direction (x, y direction), a blurred image (moire or the like) that periodically changes is generated in a part of the generated image. Therefore, it is preferable to set the intervals in the x and y directions of the photographing apertures to a predetermined periodic pattern that is a binary pseudo-random sequence because a natural blurred image can be obtained.
つまり、各撮影開口をx、y方向に配置する点列を0,1の2値に対応させてなる各撮影開口のx、y方向の配列パターンが、自己相関関数が略デルタ関数となる点列の個数を周期として周期的疑似ランダム系列をなすものである。 That is, the array pattern in the x and y directions of each imaging aperture corresponding to the binary sequence of 0 and 1 in which the point sequence for arranging each imaging aperture in the x and y directions is such that the autocorrelation function is a substantially delta function. A periodic pseudo-random sequence is formed with the number of columns as a period.
各撮影開口のx、y方向の間隔は、M系列に従った所定の周期パターンにするのが好適である。この場合、撮影開口を配置するx方向、及びy方向の点列の個数が(2nー1)個であり、撮影開口のx方向、及びy方向の間隔がM系列をなす。 The intervals in the x and y directions of the photographing apertures are preferably set to a predetermined periodic pattern according to the M series. In this case, the number of point sequences in the x direction and y direction in which the imaging aperture is arranged is (2n−1), and the intervals in the x direction and y direction of the imaging aperture form an M series.
なお、2値の疑似ランダム系列であれば、M系列以外に、Q系列(平方剰余系列)、Gold系列、Walsh符号等のものを使用することも可能である。 As long as it is a binary pseudo-random sequence, in addition to the M sequence, it is also possible to use a Q sequence (square remainder sequence), Gold sequence, Walsh code, or the like.
各撮像素子は、1回のシャッタリーズに応答して視差の異なる複数の画像を同時に取り込む。生成した高解像度の画像は、圧縮して記録部に記録するのが好適である。 Each image sensor simultaneously captures a plurality of images having different parallaxes in response to one shutter. The generated high resolution image is preferably compressed and recorded in the recording unit.
なお、本実施例ではカメラの配置をランダム配列にしたが、そのほかの実施例として、配置は従来通りの方眼配置とし、電気的にランダム配列となるカメラモジュールのみを選択しても良い。その場合、ランダム配列にM系列を用いても良いし、所定の確率密度関数を用いて、「0」と「1」を発生する乱数発生手段によって、アクティブとするカメラモジュールを撮影のたびに切り替えても良い。所定の確率密度関数は例えば均一関数。 In this embodiment, the camera arrangement is a random arrangement. However, as another embodiment, the arrangement may be a conventional grid arrangement, and only camera modules that are electrically random arrangement may be selected. In that case, the M sequence may be used for the random array, or the camera module to be activated is switched every time shooting is performed by a random number generating means for generating “0” and “1” using a predetermined probability density function. May be. The predetermined probability density function is, for example, a uniform function.
電気的に切り替え可能とする場合、例えばM系列乱数を使用する場合、使用する周期と、カメラ数を切り替えるようにしても良い。そうすることによってマクロ撮影など、物体とカメラが近づく場合、周期長とカメラ数を減らし、ボケを小さくし、ボケが大きすぎることを調整できる。 When electrical switching is possible, for example, when using M-sequence random numbers, the period to be used and the number of cameras may be switched. By doing so, when the object and the camera are close to each other, such as macro photography, the period length and the number of cameras can be reduced, the blur can be reduced, and the blur can be adjusted to be too large.
電気的に切り替える場合、出力画像の画素ごとに使用するカメラ数を切り替えても良い。そうすることにより、画像処理の利用を組み合わせ被写体ごとに最適なボケを作ることが可能となる。 When switching electrically, the number of cameras used for each pixel of the output image may be switched. By doing so, it is possible to create an optimum blur for each subject by combining the use of image processing.
電気的に切り替える場合、ピントの合ったところのカメラは画素数を増やすため多くのカメラを用い、ピントの合っていない、ボケ領域のカメラ数減らしても良い。 In the case of electrical switching, a large number of cameras may be used as the cameras in focus to increase the number of pixels, and the number of unfocused cameras in a blurred area may be reduced.
10 多眼カメラ
11 撮影開口
13 シャッタボタン
20 撮像素子
23 撮影レンズ
25 合成処理部
28 移動量算出部
29 移動機構
40 相対位置検出部
41 重合部
42 画素配置部
DESCRIPTION OF
Claims (9)
前記複数の画像のうちの基準の画像に対する残りの画像の相対位置を検出する相対位置検出手段と、
前記複数の画像を、多画素化した仮想の画像領域上で前記検出した相対位置に基づいてずれがゼロとなるように重ね合わせる重合手段と、
前記仮想の画像領域を構成する各画素の中心に、中心が最も近い画素を、重ね合わせた複数の画像の中から選択して配置していく画素配置手段と、
を備えることを特徴とする画像生成装置。 In an image generation apparatus that generates a single high-resolution image using a plurality of images having different parallaxes,
A relative position detecting means for detecting a relative position of the remaining image with respect to a reference image among the plurality of images;
A superimposing means for superimposing the plurality of images on a virtual image area having a plurality of pixels so that the deviation is zero based on the detected relative position;
A pixel arrangement unit that selects and arranges a pixel having the closest center at the center of each pixel constituting the virtual image region from a plurality of superimposed images;
An image generation apparatus comprising:
前記複数の画像のうちの少なくとも2つの画像の相関演算により被写体距離を算出する測距手段を備えることを特徴とする画像生成装置。 The image generation apparatus according to claim 1.
An image generating apparatus comprising distance measuring means for calculating a subject distance by a correlation calculation of at least two images of the plurality of images.
二次元状に配列した複数の撮影レンズと、
前記撮影レンズにより結像される被写体像を個別に撮像する複数の撮像素子と、
を備えていることを特徴とする画像生成装置。 The image generation apparatus according to claim 1 or 2,
A plurality of taking lenses arranged two-dimensionally;
A plurality of image sensors that individually image subject images formed by the photographing lens;
An image generation apparatus comprising:
前記撮影レンズとこれに対応する撮像素子とを撮影光軸に直交する方向に相対的に移動させる移動手段と、
該装置の振れを検出する振れ検出手段と、
前記撮影レンズと前記撮像素子とを相対的に移動させる前記移動手段の移動量を、前記検出した振れに基づいて算出する前記移動量算出手段と、
を備えたことを特徴とする画像生成装置。 The image generation apparatus according to claim 3.
Moving means for relatively moving the photographing lens and the image sensor corresponding thereto in a direction perpendicular to the photographing optical axis;
Shake detecting means for detecting shake of the device;
The movement amount calculating means for calculating the movement amount of the moving means for relatively moving the photographic lens and the imaging element based on the detected shake;
An image generation apparatus comprising:
前記各撮像素子は、ローパスフィルタ無しの画像を出力することを特徴とする画像生成装置。 In the image generation device according to claim 3 or 4,
Each of the image sensors outputs an image without a low-pass filter.
前記各撮影レンズの前に撮影開口を有し、
前記各撮影開口のx、y方向の間隔は、2値の疑似ランダム系列である所定の周期パターンにそれぞれ設定されていることを特徴とする画像生成装置。 The image generation device according to any one of claims 3 to 5,
Having a photographic aperture in front of each photographic lens;
An interval in the x and y directions of each imaging aperture is set to a predetermined periodic pattern that is a binary pseudo-random sequence.
前記撮影開口のx、y方向の間隔は、所定の周期パターンがM系列をなすことを特徴とする画像生成装置。 The image generation apparatus according to claim 6.
An image generating apparatus characterized in that a predetermined periodic pattern forms an M series with respect to an interval in the x and y directions of the photographing aperture.
前記複数の画像のうちの基準の画像に対する残りの画像の相対位置を算出する相対位置検出ステップと、
前記複数の画像を、多画素化した仮想の画像領域上で前記検出した相対位置に基づいてずれがゼロとなるように重ね合わせる重合ステップと、
前記仮想の画像領域を構成する各画素の中心に、中心が最も近い画素を、重ね合わせた複数の画像の中から選択して配置していく画素配置ステップと、
を含むことを特徴とする画像生成方法。 In an image generation method for generating a single high-resolution image using a plurality of images having different parallaxes,
A relative position detecting step of calculating a relative position of the remaining image with respect to a reference image among the plurality of images;
A superposition step of superimposing the plurality of images on a virtual image area having a plurality of pixels so that the deviation is zero based on the detected relative position;
A pixel arrangement step of selecting and arranging a pixel having the closest center at the center of each pixel constituting the virtual image region from a plurality of superimposed images;
An image generation method comprising:
前記複数の画像のうちの少なくとも2つの画像の相関演算により被写体距離を算出する測距ステップを含むことを特徴とする画像生成方法。 The image generation method according to claim 8.
An image generation method comprising a distance measuring step of calculating a subject distance by a correlation calculation of at least two images of the plurality of images.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011001978A JP2012147087A (en) | 2011-01-07 | 2011-01-07 | Apparatus and method for generating image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011001978A JP2012147087A (en) | 2011-01-07 | 2011-01-07 | Apparatus and method for generating image |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012147087A true JP2012147087A (en) | 2012-08-02 |
Family
ID=46790249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011001978A Withdrawn JP2012147087A (en) | 2011-01-07 | 2011-01-07 | Apparatus and method for generating image |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012147087A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016167014A1 (en) * | 2015-04-16 | 2016-10-20 | 三菱電機株式会社 | Image processing device and method, program, and recording medium |
CN111164959A (en) * | 2017-11-10 | 2020-05-15 | 奥林巴斯株式会社 | Image processing apparatus, image processing method, and image processing program |
-
2011
- 2011-01-07 JP JP2011001978A patent/JP2012147087A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016167014A1 (en) * | 2015-04-16 | 2016-10-20 | 三菱電機株式会社 | Image processing device and method, program, and recording medium |
JPWO2016167014A1 (en) * | 2015-04-16 | 2017-11-09 | 三菱電機株式会社 | Image processing apparatus and method, program, and recording medium |
US10269128B2 (en) | 2015-04-16 | 2019-04-23 | Mitsubishi Electric Corporation | Image processing device and method, and recording medium |
CN111164959A (en) * | 2017-11-10 | 2020-05-15 | 奥林巴斯株式会社 | Image processing apparatus, image processing method, and image processing program |
CN111164959B (en) * | 2017-11-10 | 2021-08-03 | 奥林巴斯株式会社 | Image processing apparatus, image processing method, and recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5739640B2 (en) | Imaging device and imaging apparatus | |
JP4985808B2 (en) | Imaging apparatus and program | |
JP5468482B2 (en) | Imaging device | |
JP6372983B2 (en) | FOCUS DETECTION DEVICE, ITS CONTROL METHOD, AND IMAGING DEVICE | |
EP2882183B1 (en) | Electronic apparatus and method of controlling the same | |
WO2012036019A1 (en) | Monocular 3d-imaging device, shading correction method for monocular 3d-imaging device, and program for monocular 3d-imaging device | |
JP2007221423A (en) | Imaging apparatus | |
JP2010230879A (en) | Double eye camera device | |
US9521395B2 (en) | Imaging apparatus and method for controlling same | |
JP2006162991A (en) | Stereoscopic image photographing apparatus | |
CN107637067B (en) | Image processing apparatus and image processing method | |
CN104580921A (en) | Imaging apparatus and its control method | |
RU2567438C1 (en) | Image forming device and method of controlling same | |
JP2011075677A (en) | Imaging apparatus and imaging method | |
JP2012133185A (en) | Imaging apparatus | |
JP2012133194A (en) | Imaging apparatus | |
JP2010157863A (en) | Compound-eye camera and image processing method | |
JP2012147087A (en) | Apparatus and method for generating image | |
JP6004741B2 (en) | Image processing apparatus, control method therefor, and imaging apparatus | |
JP7095774B2 (en) | Image sensor and image sensor | |
WO2016199381A1 (en) | Image processing apparatus and image processing method | |
JP2012124650A (en) | Imaging apparatus, and imaging method | |
JP6124703B2 (en) | Imaging apparatus and control method thereof | |
JP6728005B2 (en) | Imaging device, imaging method, and program | |
JP6138222B2 (en) | Image processing apparatus, imaging apparatus, control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140401 |