JP2012002859A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2012002859A
JP2012002859A JP2010135071A JP2010135071A JP2012002859A JP 2012002859 A JP2012002859 A JP 2012002859A JP 2010135071 A JP2010135071 A JP 2010135071A JP 2010135071 A JP2010135071 A JP 2010135071A JP 2012002859 A JP2012002859 A JP 2012002859A
Authority
JP
Japan
Prior art keywords
image
unit
filter
subject
structured
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
Application number
JP2010135071A
Other languages
Japanese (ja)
Inventor
Hirosaku Hamada
啓作 浜田
Takeshi Matsuo
武史 松尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2010135071A priority Critical patent/JP2012002859A/en
Publication of JP2012002859A publication Critical patent/JP2012002859A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Exposure Control For Cameras (AREA)
  • Stroboscope Apparatuses (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve a problem that, when a photographic image for obtaining distance information is photographed with a photographing condition for photographing an ordinary photographic image for appreciation, exposure is not enough and a dark image is obtained resulting in difficulty in calculation of distance information.SOLUTION: An imaging device includes an imaging element for detecting a subject light flux incoming through an optical system by separating it into a plurality of wavelength bands, a structured aperture arranged while intersecting with the optical axis of the optical system, an insertion/pull-out mechanism for inserting/pulling-out the structured aperture to/from the subject light flux, and a photographing controller for controlling a normal image photographing to be performed by pulling out the structured aperture by the insertion/pull-out mechanism and an auxiliary image photographing to be performed by inserting the structured aperture by the insertion/pull-out mechanism. The photographing controller changes the photographing condition between the normal image photographing and the auxiliary image photographing.

Description

本発明は、撮像装置に関する。   The present invention relates to an imaging apparatus.

レンズ光学系の一部に複雑な開口形状を有するマスクを設けた撮影レンズを介して撮影されたデジタル画像データから、被写体の距離情報を算出して、任意の深さに焦点を合わせた画像データを再構成する技術が知られている(例えば非特許文献1)。   Image data focused on an arbitrary depth by calculating distance information of the subject from digital image data taken through a taking lens provided with a mask having a complex aperture shape in a part of the lens optical system Is known (for example, Non-Patent Document 1).

また、それぞれ異なる開口形状を有するマスクを入れ替えて複数枚のデジタル画像を取得することで、距離情報の高精度化を図る技術が知られている(例えば非特許文献2)。
[先行技術文献]
[特許文献]
[非特許文献1]A. Levin, R. Fergus, F. Durand and W. Freeman "Image and Depth from a conventional Camera with a Coded Aperture", SIGGRAPH 2007
[非特許文献2]C. Zhou, S. Lin and S. Nayar "Coded Aperture Pairs for Depth from Defocus", ICCV 2009
In addition, there is known a technique for improving the accuracy of distance information by replacing a plurality of masks having different opening shapes and acquiring a plurality of digital images (for example, Non-Patent Document 2).
[Prior art documents]
[Patent Literature]
[Non-Patent Document 1] A. Levin, R. Fergus, F. Durand and W. Freeman "Image and Depth from a conventional Camera with a Coded Aperture", SIGGRAPH 2007
[Non-Patent Document 2] C. Zhou, S. Lin and S. Nayar "Coded Aperture Pairs for Depth from Defocus", ICCV 2009

上述のように、距離情報を取得するには少なくとも特殊な開口形状を有するマスクである構造化開口を光学系に配置する。したがって、距離情報を取得するための撮影画像を、観賞用としての通常の撮影画像を撮影するときの撮影条件で撮影すると、露光量が足りずに暗い画像となり、距離情報の算出に支障をきたしていた。   As described above, in order to obtain distance information, a structured aperture that is a mask having at least a special aperture shape is arranged in the optical system. Therefore, if a photographed image for obtaining distance information is photographed under photographing conditions for photographing a normal photographed image for viewing, the exposure amount is insufficient and the image becomes dark, which hinders calculation of distance information. It was.

上記課題を解決するために、本発明の態様における撮像装置は、光学系を介して入射する被写体光束を複数の波長帯に分離して検出する撮像素子と、光学系の光軸に交差して配設される構造化開口と、構造化開口を被写体光束に対して挿抜する挿抜機構と、挿抜機構により構造化開口を抜出して実行する本画像撮影と、挿抜機構により構造化開口を挿入して実行する補助画像撮影を制御する撮影制御部とを備え、撮影制御部は、本画像撮影と補助画像撮影で撮影条件を変更する。   In order to solve the above-described problems, an imaging apparatus according to an aspect of the present invention intersects an optical element of an optical system, an imaging element that separates and detects a subject light beam incident via the optical system into a plurality of wavelength bands. A structured aperture to be disposed, an insertion / extraction mechanism for inserting / extracting the structured aperture with respect to the subject light beam, a main image photographing performed by extracting the structured aperture by the insertion / extraction mechanism, and a structured aperture being inserted by the insertion / extraction mechanism A shooting control unit that controls auxiliary image shooting to be executed, and the shooting control unit changes shooting conditions for main image shooting and auxiliary image shooting.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。   It should be noted that the above summary of the invention does not enumerate all the necessary features of the present invention. In addition, a sub-combination of these feature groups can also be an invention.

従来の構造化開口を説明する説明図である。It is explanatory drawing explaining the conventional structured opening. 本実施形態に係る一眼レフカメラの要部断面図である。It is principal part sectional drawing of the single-lens reflex camera which concerns on this embodiment. 本実施形態に係る構造化開口ユニットの外観図である。It is an external view of the structured opening unit concerning this embodiment. 構造化開口ユニットをレンズユニットに装着する様子を示す図である。It is a figure which shows a mode that a structured opening unit is attached to a lens unit. 撮像素子の画素上に配置されたカラーフィルタの説明図である。It is explanatory drawing of the color filter arrange | positioned on the pixel of an image pick-up element. 撮像素子の画素が感度を有する波長帯と、構造化開口のそれぞれのフィルタ部が透過する波長帯の関係を示す図である。It is a figure which shows the relationship between the wavelength band which the pixel of an image pick-up element has a sensitivity, and the wavelength band which each filter part of structured opening permeate | transmits. 一眼レフカメラのシステム構成を概略的に示すブロック図である。1 is a block diagram schematically showing a system configuration of a single-lens reflex camera. 補助撮影画像の取得から距離情報の算出までの処理フローを示す図である。It is a figure which shows the processing flow from acquisition of an auxiliary captured image to calculation of distance information. 他の構造化開口の構成を示す図である。It is a figure which shows the structure of another structured opening. 更に他の構造化開口の構成を示す図である。It is a figure which shows the structure of another structure opening. 更に他の構造化開口の構成を示す図である。It is a figure which shows the structure of another structure opening. 構造化開口の他の配置位置を説明する説明図である。It is explanatory drawing explaining the other arrangement position of structured opening. 本撮影画像および補助撮影画像の取得フローを示す図である。It is a figure which shows the acquisition flow of a main imaging | photography image and an auxiliary | assistant imaging | photography image. 補助撮影画像から本撮影画像の距離情報を算出する算出処理の説明図である。It is explanatory drawing of the calculation process which calculates the distance information of a main captured image from an auxiliary captured image. 本撮影画像と補助撮影画像の撮影シーケンスについて説明する図である。It is a figure explaining the imaging | photography sequence of a main captured image and an auxiliary captured image. 本撮影画像と補助撮影画像の他の撮影シーケンスについて説明する図である。It is a figure explaining other photography sequences of a main photography picture and an auxiliary photography picture. 本撮影画像と補助撮影画像の他の撮影シーケンスについて説明する図である。It is a figure explaining other photography sequences of a main photography picture and an auxiliary photography picture.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.

図1は、従来の構造化開口を説明する説明図である。図1の(a)は、複雑な開口形状を有する構造化開口の正面図である。構造化開口は、保持枠101にフィルタ102が支持されて構成されている。フィルタ102は、被写体光束を遮断する遮断フィルタ部103と、被写体光束を透過させる透過フィルタ部104を有する。図示するように、透過フィルタ部104は2次元的に複雑な形状を有しており、これにより、被写体空間において深さ方向に異なる位置から入射する点像を、撮像素子の受光面上で特徴的な形状をもって結像させる。すなわち、このような開口形状を有する構造化開口を撮影レンズの瞳近傍に配置すれば、深さ方向である各距離に応じた点像分布関数(PSF)を大きく異ならせることができる。各距離に応じた点像分布関数を大きく異ならせることができれば、被写体画像の各領域における被写体までの距離を精度良く算出することができる。なおここでは、ひとつの開口形状に対応して各距離に応じたPSFが1セット用意される場合の構造化開口を、シングルコーデッドアパーチャと呼ぶ。   FIG. 1 is an explanatory view for explaining a conventional structured opening. FIG. 1A is a front view of a structured opening having a complicated opening shape. The structured opening is configured with a filter 102 supported by a holding frame 101. The filter 102 includes a blocking filter unit 103 that blocks the subject light beam and a transmission filter unit 104 that transmits the subject light beam. As shown in the figure, the transmission filter unit 104 has a two-dimensionally complicated shape, and this allows point images incident from different positions in the depth direction in the subject space to be featured on the light receiving surface of the image sensor. An image is formed with a specific shape. That is, if a structured aperture having such an aperture shape is arranged in the vicinity of the pupil of the photographing lens, the point spread function (PSF) corresponding to each distance in the depth direction can be greatly varied. If the point spread function corresponding to each distance can be varied greatly, the distance to the subject in each region of the subject image can be calculated with high accuracy. Here, a structured opening when one set of PSFs corresponding to each distance is prepared corresponding to one opening shape is referred to as a single coded aperture.

シングルコーデッドアパーチャを用いた被写体画像から距離情報を算出する具体的な手法について説明する。被写体画像の距離情報は、被写体画像に写る各々の被写体に対するカメラからの距離を含む。算出によって得られる推定画像は、いわゆる距離画像に類する。   A specific method for calculating distance information from a subject image using a single coded aperture will be described. The distance information of the subject image includes the distance from the camera to each subject appearing in the subject image. The estimated image obtained by the calculation is similar to a so-called distance image.

シングルコーデッドアパーチャを介して撮影された撮影画像をy、オリジナルの被写体画像をx、PSFをfとすると、結像方程式は式(1)として表される。

Figure 2012002859
The image captured through the single coded aperture y, the original subject image x, when the PSF and f d, the imaging equation is expressed as Equation (1).
Figure 2012002859

するとPSFであるfdが既知であれば、撮影画像yを利用して式(1)を満たすようなオリジナル被写体画像xを推定することができる。   Then, if the PSF fd is known, the original subject image x satisfying the expression (1) can be estimated using the captured image y.

そして、PSFの構造は、被写体の深さである基準ピント位置からのずれによって変化する。したがって、被写体の深さと、推定に使用するPSFの深さが一致しているときに、最も良好なオリジナル被写体画像を推定できる。推定プロセスは、式(2)で表現することができる。

Figure 2012002859
The PSF structure changes depending on the deviation from the reference focus position, which is the depth of the subject. Therefore, the best original subject image can be estimated when the depth of the subject matches the depth of the PSF used for estimation. The estimation process can be expressed by equation (2).
Figure 2012002859

Figure 2012002859
Figure 2012002859

以上のプロセスを各深さのPSFに対して全て行い、エラーが最小となるPSFを見つけ、そのPSFに対応した深さをマップにすれば距離情報が得られる。   The above process is performed for all the depth PSFs to find the PSF with the smallest error, and the depth corresponding to the PSF is mapped to obtain the distance information.

しかし、ステップS2の解である、デコンボリュージョンエラーを最小にする推定被写体画像はひとつではないという問題がある。したがって、デコンボリュージョンエラーを最小にする推定被写体画像が、真の被写体と近似する画像とはならない場合がある。また、被写体の深さとPSFの深さが一致していなくとも、そのような特殊解を見つけてデコンボリュージョンエラーを最小にしてしまう場合がある。   However, there is a problem that there is not one estimated subject image that minimizes the deconvolution error, which is the solution of step S2. Therefore, the estimated subject image that minimizes the deconvolution error may not be an image that approximates the true subject. Even if the depth of the subject does not match the depth of the PSF, such a special solution may be found and the deconvolution error may be minimized.

このような問題を解決すべく、推定被写体画像に「画像らしさ」を評価する制約項を加える。この場合、式(2)は以下の式(3)のように表現される。

Figure 2012002859
In order to solve such a problem, a constraint term for evaluating “image quality” is added to the estimated subject image. In this case, the expression (2) is expressed as the following expression (3).
Figure 2012002859

関数g(x)が制約項である。λは制約項の重み係数である。例えば、一般的に画像は滑らかな構図を持つので、その微分値はゼロに近い。したがって、制約項に画像の微分値を示す関数を設定することにより、デコンボリュージョンエラーを最小にし、かつその微分値も小さいという「画像らしさ」を有するオリジナル被写体画像のみが推定され、深さを精度良く推定することができる。微分値を示す関数の例としては、式(4)が挙げられる。

Figure 2012002859
以上の処理手順により深さ測定を行うことができる。 The function g (x) is a constraint term. λ is a weighting factor of the constraint term. For example, since an image generally has a smooth composition, its differential value is close to zero. Therefore, by setting a function indicating the differential value of the image in the constraint term, only the original subject image having an “image quality” that minimizes the deconvolution error and has a small differential value is estimated, and the depth is set. It can be estimated with high accuracy. As an example of the function indicating the differential value, there is the formula (4).
Figure 2012002859
The depth can be measured by the above processing procedure.

図1の(b−1)は、楕円形の開口形状を有する構造化開口の正面図である。構造化開口は、保持枠111にフィルタ112が支持されて構成されている。フィルタ112は、被写体光束を遮断する遮断フィルタ部113と、被写体光束を透過させる透過フィルタ部114を有する。保持枠111は円形枠であり、その中心は撮影レンズの光軸と一致するが、円形を成す透過フィルタ部114は、光軸に対して偏心している。   FIG. 1B-1 is a front view of a structured opening having an elliptical opening shape. The structured opening is configured with a filter 112 supported by a holding frame 111. The filter 112 includes a blocking filter unit 113 that blocks the subject light beam and a transmission filter unit 114 that transmits the subject light beam. The holding frame 111 is a circular frame, the center of which coincides with the optical axis of the photographing lens, but the circular transmission filter unit 114 is eccentric with respect to the optical axis.

このように単純な円形開口を持つ構造化開口では、深さの変化に対するPSFの変化が小さいので、シングルコーデッドアパーチャとして深さを算出すると推定誤差が大きくなる。図1の(a)では、複雑な開口形状とすることにより推定誤差の低減を図ったが、ここでは、(b−1)の状態で第1の撮影画像を取得し、(b−1)の構造化開口を反転させた(b−2)の状態で第2の撮影画像を取得することにより、推定誤差の低減を図る。つまり、(b−1)の開口形状に対応して各距離に応じたPSFを1セットと、(b−2)の開口形状に対応して各距離に応じたPSFを1セット用意する。このような場合の構造化開口を、コーデッドアパーチャペアと呼ぶ。   In such a structured opening having a simple circular opening, the change in PSF with respect to the change in depth is small. Therefore, if the depth is calculated as a single coded aperture, the estimation error increases. In FIG. 1A, the estimation error is reduced by using a complicated aperture shape, but here, the first captured image is acquired in the state of (b-1), and (b-1) By obtaining the second photographed image in the state of (b-2) with the structured aperture inverted, the estimation error is reduced. That is, one set of PSF corresponding to each distance corresponding to the opening shape of (b-1) and one set of PSF corresponding to each distance corresponding to the opening shape of (b-2) are prepared. A structured aperture in such a case is called a coded aperture pair.

コーデッドアパーチャペアを用いた被写体画像から距離情報を算出する具体的な手法について、説明する。コーデッドアパーチャペアの場合、開口形状が単純であるので、シングルコーデッドアパーチャにおける処理を空間周波数領域において展開することができる。   A specific method for calculating distance information from a subject image using a coded aperture pair will be described. In the case of a coded aperture pair, since the aperture shape is simple, processing in a single coded aperture can be developed in the spatial frequency domain.

異なる2つの開口によりそれぞれ撮影された第1画像と第2画像のフーリエ変換をF、F、各深さdについて取得したPSFのフーリエ変換をK 、k 、オリジナル被写体画像xのフーリエ変換をFとすると、結像方程式は式(5)として表される。

Figure 2012002859
The Fourier transforms of the first image and the second image captured by two different apertures are F 1 and F 2 , the Fourier transform of the PSF acquired for each depth d is K 1 d , k 2 d , and the original subject image x If the Fourier transform of is F 0 , the imaging equation is expressed as equation (5).
Figure 2012002859

式(5)によれば、式(1)と比較して、畳み込み積分が単純な掛け算となることがわかる。このとき、式(3)に対応するデコンボリュージョンエラーを記述すると式(6)のようになる。

Figure 2012002859
According to equation (5), it can be seen that the convolution integral is a simple multiplication as compared with equation (1). At this time, when a deconvolution error corresponding to Equation (3) is described, Equation (6) is obtained.
Figure 2012002859

Figure 2012002859
Figure 2012002859
Figure 2012002859
Figure 2012002859

深さマップの構築プロセスは以下の処理による。   The depth map construction process is as follows.

Figure 2012002859
Figure 2012002859

この手法では、シングルコーデッドアパーチャの場合とは異なり、推定プロセスを繰り返す必要がなく、かつ単純な計算式によって導き出されるので、計算速度が非常に速い。なお、シングルコーデッドアパーチャにおいてこのような手法を適用できない理由は、シングルコーデッドアパーチャのPSFは非常に複雑な形状をしているので、そのフーリエ変換もエラーが大きいからである。   In this method, unlike the case of the single coded aperture, it is not necessary to repeat the estimation process, and the calculation speed is very fast because it is derived by a simple calculation formula. The reason why such a method cannot be applied to the single coded aperture is that the PSF of the single coded aperture has a very complicated shape, and the Fourier transform has a large error.

以上の従来の手法においては、それぞれに問題点を抱えている。シングルコーデッドアパーチャの場合、コーデッドアパーチャペアに比べて計算速度が非常に遅く、また、複雑な開口形状を通過した被写体画像は特定の周波数成分が抜け落ちるという問題があった。一方、コーデッドアパーチャペアの場合、同一被写体に対して開口位置を変えて少なくとも二枚の撮影画像を取得するので、画像間に被写体のずれが生じる。画像間で被写体がずれると、被写体領域ごとの深さを正確に推定することができない。画像間で被写体にずれを生じさせないためには、カメラを三脚に固定すること、被写体が動かないことなどの制約が課され、広範な被写体に対応できなくなる。   Each of the above conventional methods has problems. In the case of a single coded aperture, there is a problem that the calculation speed is much slower than that of a coded aperture pair, and a specific frequency component is lost in a subject image that has passed through a complicated aperture shape. On the other hand, in the case of a coded aperture pair, since the aperture position is changed with respect to the same subject and at least two shot images are acquired, the subject is displaced between the images. If the subject shifts between images, the depth for each subject region cannot be estimated accurately. In order to prevent the subject from shifting between images, restrictions such as fixing the camera on a tripod and preventing the subject from moving are imposed, making it impossible to handle a wide range of subjects.

そこで、本実施形態においては、このような問題に対処すべく、コーデッドアパーチャペアに改良を加えて一眼レフカメラに適用する。以下に本実施形態について説明する。   Therefore, in the present embodiment, in order to cope with such a problem, the coded aperture pair is improved and applied to a single-lens reflex camera. This embodiment will be described below.

図2は、本実施形態に係る一眼レフカメラ200の要部断面図である。一眼レフカメラ200は、撮影レンズであるレンズユニット210とカメラボディであるカメラユニット230が組み合わされて撮像装置として機能する。   FIG. 2 is a cross-sectional view of a main part of the single-lens reflex camera 200 according to the present embodiment. The single-lens reflex camera 200 functions as an imaging device by combining a lens unit 210 that is a photographing lens and a camera unit 230 that is a camera body.

レンズユニット210は、光軸201に沿って配列されたレンズ群211を備える。レンズ群211には、フォーカスレンズ212、ズームレンズ213が含まれる。また、光軸201に沿って、絞り214および構造化開口ユニット300も配列される。構造化開口ユニット300は、被写体光束に対して挿抜することができる。構造化開口ユニット300が被写体光束に対して挿入されると、構造化開口は、光軸201に交差して配設される。アクチュエータ215は、構造化開口ユニット300が被写体光束に対して挿入されたときに構造化開口を回転させる。   The lens unit 210 includes a lens group 211 arranged along the optical axis 201. The lens group 211 includes a focus lens 212 and a zoom lens 213. An aperture 214 and a structured aperture unit 300 are also arranged along the optical axis 201. The structured aperture unit 300 can be inserted into and removed from the subject light flux. When the structured aperture unit 300 is inserted into the subject light beam, the structured aperture is disposed so as to intersect the optical axis 201. The actuator 215 rotates the structured aperture when the structured aperture unit 300 is inserted into the subject light beam.

レンズユニット210は、フォーカスレンズ212、絞り214およびアクチュエータ215の駆動などレンズユニット210の制御および演算を司るレンズシステム制御部216を備える。レンズユニット210を構成する各要素は、レンズ鏡筒217に支持されている。   The lens unit 210 includes a lens system control unit 216 that controls and calculates the lens unit 210 such as driving of the focus lens 212, the diaphragm 214, and the actuator 215. Each element constituting the lens unit 210 is supported by the lens barrel 217.

また、レンズユニット210は、カメラユニット230との接続部にレンズマウント218を備え、カメラユニット230が備えるカメラマウント231と係合して、カメラユニット230と一体化する。レンズマウント218およびカメラマウント231はそれぞれ、機械的な係合部の他に電気的な接続部も備え、カメラユニット230からレンズユニット210への電力の供給および相互の通信を実現している。   The lens unit 210 includes a lens mount 218 at a connection portion with the camera unit 230, and engages with the camera mount 231 included in the camera unit 230 to be integrated with the camera unit 230. Each of the lens mount 218 and the camera mount 231 includes an electrical connection portion in addition to a mechanical engagement portion, and realizes power supply from the camera unit 230 to the lens unit 210 and mutual communication.

カメラユニット230は、レンズユニット210から入射される被写体像を反射するメインミラー232と、メインミラー232で反射された被写体像が結像するピント板234を備える。メインミラー232は、回転軸233周りに回転して、光軸201を中心とする被写体光束中に斜設される状態と、被写体光束から退避する状態を取り得る。ピント板234側へ被写体像を導く場合は、メインミラー232は被写体光束中に斜設される。また、ピント板234は、撮像素子243の受光面と共役の位置に配置されている。   The camera unit 230 includes a main mirror 232 that reflects a subject image incident from the lens unit 210 and a focus plate 234 on which the subject image reflected by the main mirror 232 is formed. The main mirror 232 rotates around the rotation axis 233 and can take a state of being obliquely provided in the subject light flux centered on the optical axis 201 and a state of being retracted from the subject light flux. When the subject image is guided to the focus plate 234 side, the main mirror 232 is provided obliquely in the subject light flux. Further, the focus plate 234 is disposed at a position conjugate with the light receiving surface of the image sensor 243.

ピント板234で結像した被写体像は、ペンタプリズム235で正立像に変換され、接眼光学系236を介してユーザに観察される。また、ペンタプリズム235の射出面上方にはAEセンサ237が配置されており、被写体像の輝度分布を検出する。   The subject image formed on the focusing screen 234 is converted into an erect image by the pentaprism 235 and observed by the user via the eyepiece optical system 236. An AE sensor 237 is disposed above the exit surface of the pentaprism 235, and detects the luminance distribution of the subject image.

斜設状態におけるメインミラー232の光軸201の近傍領域は、ハーフミラーとして形成されており、入射される光束の一部が透過する。透過した光束は、メインミラー232と連動して動作するサブミラー238で反射されて、AF光学系239へ導かれる。AF光学系239を通過した被写体光束は、AFセンサ240へ入射される。AFセンサ240は、受光した被写体光束から位相差信号を検出する。なお、サブミラー238は、メインミラー232が被写体光束から退避する場合は、メインミラー232に連動して被写体光束から退避する。   The region near the optical axis 201 of the main mirror 232 in the oblique state is formed as a half mirror, and a part of the incident light beam is transmitted. The transmitted light beam is reflected by the sub mirror 238 that operates in conjunction with the main mirror 232, and is guided to the AF optical system 239. The subject luminous flux that has passed through the AF optical system 239 enters the AF sensor 240. The AF sensor 240 detects a phase difference signal from the received subject light beam. The sub mirror 238 retracts from the subject light beam in conjunction with the main mirror 232 when the main mirror 232 retracts from the subject light beam.

斜設されたメインミラー232の後方には、光軸201に沿って、フォーカルプレーンシャッタ241、光学ローパスフィルタ242、撮像素子243が配列されている。フォーカルプレーンシャッタ241は、撮像素子243へ被写体光束を導くときに開放状態を取り、その他のときに遮蔽状態を取る。光学ローパスフィルタ242は、撮像素子243の画素ピッチに対する被写体像の空間周波数を調整する役割を担う。そして、撮像素子243は、例えばCMOSセンサなどの光電変換素子であり、受光面で結像した被写体像を電気信号に変換する。   A focal plane shutter 241, an optical low-pass filter 242, and an image sensor 243 are arranged along the optical axis 201 behind the oblique main mirror 232. The focal plane shutter 241 takes an open state when the subject light flux is guided to the image sensor 243, and takes a shielding state at other times. The optical low-pass filter 242 plays a role of adjusting the spatial frequency of the subject image with respect to the pixel pitch of the image sensor 243. The image sensor 243 is a photoelectric conversion element such as a CMOS sensor, for example, and converts the subject image formed on the light receiving surface into an electric signal.

撮像素子243で光電変換された電気信号は、メイン基板244に搭載されたDSPである画像処理部246で画像データに処理される。メイン基板244には、画像処理部246の他に、カメラユニット230のシステムを統合的に制御するMPUであるカメラシステム制御部245が搭載されている。カメラシステム制御部245は、カメラシーケンスを管理すると共に、各構成要素の入出力処理等を行う。   The electrical signal photoelectrically converted by the image sensor 243 is processed into image data by the image processing unit 246 which is a DSP mounted on the main board 244. In addition to the image processing unit 246, a camera system control unit 245, which is an MPU that integrally controls the system of the camera unit 230, is mounted on the main board 244. The camera system control unit 245 manages the camera sequence and performs input / output processing of each component.

カメラユニット230の背面には液晶モニタ等による表示部247が配設されており、画像処理部246で処理された被写体画像が表示される。表示部247は、撮影後の静止画像に限らず、ビューファインダとしてのEVF画像、各種メニュー情報、撮影情報等を表示する。また、カメラユニット230には、着脱可能な二次電池248が収容され、カメラユニット230に限らず、レンズユニット210にも電力を供給する。   A display unit 247 such as a liquid crystal monitor is disposed on the back surface of the camera unit 230, and a subject image processed by the image processing unit 246 is displayed. The display unit 247 displays not only a still image after shooting, but also an EVF image as a viewfinder, various menu information, shooting information, and the like. The camera unit 230 houses a detachable secondary battery 248 and supplies power to the lens unit 210 as well as the camera unit 230.

また、ペンタプリズム235の近傍には使用状態と収納状態を取り得るフラッシュ249を備えており、使用状態においてカメラシステム制御部245の制御により被写体を照射する。フラッシュ249の近傍には、被写体を照射するパターン投光部250を備えており、被写体に対して幾何的模様等であるパターンを投光する。   A flash 249 that can be used and stored is provided near the pentaprism 235, and the subject is irradiated under the control of the camera system controller 245 in the used state. In the vicinity of the flash 249, a pattern light projecting unit 250 that irradiates the subject is provided, and a pattern such as a geometric pattern is projected onto the subject.

図3は、本実施形態に係る構造化開口ユニット300の外観図である。図3(a)は光軸201方向から見た正面図であり、図3(b)は側面図である。   FIG. 3 is an external view of the structured opening unit 300 according to the present embodiment. 3A is a front view seen from the direction of the optical axis 201, and FIG. 3B is a side view.

構造化開口ユニット300は、保持枠301、フィルタ302、ベース部307、外周部308および把持部309を主な構成要素とする。保持枠301は、中心部分が中空の円筒形を成し、フィルタ302は、保持枠301の中空部分に張設されて固定されている。保持枠301の外周部にはギア306が全周にわたって設けられている。保持枠301は、ベース部307に回転機構を介して連結され、図示する矢印方向へ回転自在に支持されている。ベース部307は、保持枠301の中空部分と同様に、被写体光束範囲に中空部分を有する。したがって、保持枠301にフィルタ302が張設されていなければ、構造化開口ユニット300をレンズユニット210へ装着しても、被写体光束に何ら影響を与えない。   The structured opening unit 300 includes a holding frame 301, a filter 302, a base portion 307, an outer peripheral portion 308, and a grip portion 309 as main components. The holding frame 301 has a hollow cylindrical shape at the center, and the filter 302 is stretched and fixed to the hollow part of the holding frame 301. A gear 306 is provided on the entire outer periphery of the holding frame 301. The holding frame 301 is connected to the base portion 307 via a rotation mechanism, and is supported so as to be rotatable in the direction of the arrow shown in the drawing. Similarly to the hollow portion of the holding frame 301, the base portion 307 has a hollow portion in the subject light flux range. Therefore, if the filter 302 is not stretched on the holding frame 301, even if the structured aperture unit 300 is attached to the lens unit 210, the subject luminous flux is not affected at all.

ベース部307の端部には外周部308と把持部309が一体的に形成されている。ユーザは、把持部309を掴んで構造化開口ユニット300をレンズユニット210に対して挿抜する。   An outer peripheral portion 308 and a grip portion 309 are integrally formed at the end of the base portion 307. The user inserts and removes the structured opening unit 300 with respect to the lens unit 210 by grasping the grip 309.

フィルタ302は、被写体光束を遮断する遮断フィルタ部303、赤色の波長帯を透過させるRフィルタ部304および青色の波長帯を透過させるBフィルタ部305から構成される。図示するようにRフィルタ部304とBフィルタ部305は、フィルタ302の中心を通る光軸201に対して、それぞれ偏心した位置であって互いに対称となる位置に設けられている。別言すれば、遮断フィルタ部303の中心に対して、それぞれ偏心した位置であって互いに対称となる位置に設けられた2つの開口に、赤色の波長帯を透過させるRフィルタ部304と青色の波長帯を透過させるBフィルタ部305が形成されている。   The filter 302 includes a blocking filter unit 303 that blocks a subject light beam, an R filter unit 304 that transmits a red wavelength band, and a B filter unit 305 that transmits a blue wavelength band. As shown in the figure, the R filter unit 304 and the B filter unit 305 are provided at positions that are eccentric with respect to the optical axis 201 passing through the center of the filter 302 and are symmetrical with each other. In other words, the R filter unit 304 that transmits the red wavelength band and the blue filter in two openings provided at positions that are eccentric with respect to the center of the cutoff filter unit 303 and are symmetric with each other. A B filter 305 that transmits the wavelength band is formed.

フィルタ302を固定する保持枠301は、上述のように矢印方向へ回転するので、Rフィルタ部304とBフィルタ部305の光軸201に対する相対的な位置関係は、保持枠301の回転に伴って変化する。例えば、保持枠301が180度回転されると、図示するRフィルタ部304とBフィルタ部305の位置関係が逆転して、左側にRフィルタ部304が、右側にBフィルタ部305が配置されることになる。つまり、構造化開口ユニット300は、光軸201を中心に回転させてRフィルタ部304とBフィルタ部305の位置関係を変更させる自転機構を備える。   Since the holding frame 301 that fixes the filter 302 rotates in the direction of the arrow as described above, the relative positional relationship between the R filter unit 304 and the B filter unit 305 with respect to the optical axis 201 is accompanied by the rotation of the holding frame 301. Change. For example, when the holding frame 301 is rotated 180 degrees, the positional relationship between the R filter unit 304 and the B filter unit 305 shown in the figure is reversed, and the R filter unit 304 is arranged on the left side and the B filter unit 305 is arranged on the right side. It will be. That is, the structured aperture unit 300 includes a rotation mechanism that rotates around the optical axis 201 to change the positional relationship between the R filter unit 304 and the B filter unit 305.

図4は、構造化開口ユニット300をレンズユニット210に装着する様子を示す図である。図4(a)は、構造化開口ユニット300をレンズユニット210に挿し込む直前の様子を示し、図4(b)は、装着された様子を示す。   FIG. 4 is a diagram illustrating a state in which the structured aperture unit 300 is attached to the lens unit 210. FIG. 4A shows a state immediately before the structured aperture unit 300 is inserted into the lens unit 210, and FIG. 4B shows a state where the structured opening unit 300 is attached.

ユーザは、把持部309を把持して、構造化開口ユニット300をレンズ鏡筒217に設けられた装着スリット219へ挿し込む。すると、構造化開口ユニット300は、ベース部307の側面がレンズ鏡筒217の内部に設けられた挿抜ガイド220に案内されて、フィルタ302の中心が光軸201と一致する位置に到達する。フィルタ302の中心が光軸201と一致する位置に到達すると、外周部308が装着スリット219に嵌合し、外周部308の外面がレンズ鏡筒217の外観面と一致する。同時に、ギア306は、アクチュエータ215の駆動ギアと噛合する。このように、構造化開口ユニット300がレンズユニット210と一体化されると、レンズシステム制御部216は、アクチュエータ215により保持枠301を回転させることができ、光軸201周りにRフィルタ部304とBフィルタ部305の位置関係を変更することができる。   The user grips the grip portion 309 and inserts the structured opening unit 300 into the mounting slit 219 provided in the lens barrel 217. Then, in the structured opening unit 300, the side surface of the base portion 307 is guided by the insertion / extraction guide 220 provided inside the lens barrel 217, and reaches the position where the center of the filter 302 coincides with the optical axis 201. When the center of the filter 302 reaches a position that coincides with the optical axis 201, the outer peripheral portion 308 is fitted into the mounting slit 219, and the outer surface of the outer peripheral portion 308 matches the outer appearance surface of the lens barrel 217. At the same time, the gear 306 meshes with the drive gear of the actuator 215. Thus, when the structured aperture unit 300 is integrated with the lens unit 210, the lens system control unit 216 can rotate the holding frame 301 by the actuator 215, and the R filter unit 304 around the optical axis 201. The positional relationship of the B filter unit 305 can be changed.

図5は、撮像素子243の画素上に配置されたカラーフィルタの説明図である。本実施例におけるカラーフィルタの配列は、いわゆるベイヤー配列であり、4画素を1組として、各画素上にR画素フィルタ、G画素フィルタ、G画素フィルタおよびB画素フィルタが設けられている。したがって、各画素が感度を有する波長帯は、それぞれに設けられた画素フィルタによって規制される。例えば、R画素フィルタが設けられた画素は、赤色の波長帯に対して感度を持つ。撮像素子243の全体としては、2次元的に配列された画素のそれぞれが離散的にR画素フィルタ、G画素フィルタおよびB画素フィルタのいずれかを備えることになるので、撮像素子243は、入射する被写体光束をそれぞれの波長帯に分離して検出していると言える。換言すれば、撮像素子243は、受光面に結像する被写体像をRGBの3つの波長帯に分離して光電変換する。   FIG. 5 is an explanatory diagram of color filters arranged on the pixels of the image sensor 243. The arrangement of the color filters in this embodiment is a so-called Bayer arrangement, and an R pixel filter, a G pixel filter, a G pixel filter, and a B pixel filter are provided on each pixel as a set of four pixels. Therefore, the wavelength band in which each pixel has sensitivity is regulated by the pixel filter provided for each pixel. For example, a pixel provided with an R pixel filter has sensitivity to a red wavelength band. As the entire image sensor 243, each of the two-dimensionally arranged pixels is discretely provided with any one of an R pixel filter, a G pixel filter, and a B pixel filter, and therefore the image sensor 243 is incident. It can be said that the object luminous flux is detected separately for each wavelength band. In other words, the image sensor 243 performs photoelectric conversion by separating the subject image formed on the light receiving surface into three wavelength bands of RGB.

図6は、撮像素子243の画素が感度を有する波長帯と、構造化開口のそれぞれのフィルタ部が透過する波長帯の関係を示す図である。図は、縦軸に透過率(%)を、横軸に波長(nm)を示す。透過率が高い波長の光ほど、画素を構成するフォトダイオードに到達することを表す。   FIG. 6 is a diagram illustrating a relationship between a wavelength band in which a pixel of the image sensor 243 has sensitivity and a wavelength band transmitted through each filter portion of the structured aperture. In the figure, the vertical axis represents transmittance (%), and the horizontal axis represents wavelength (nm). It represents that the light having a higher transmittance reaches the photodiode constituting the pixel.

B曲線601は、B画素フィルタが設けられた画素の感度を示し、同様にG曲線602はG画素フィルタが設けられた画素の感度を、R曲線603はR画素フィルタが設けられた画素の感度を示す。図示されるように、隣り合う波長帯であるB曲線601とG曲線602、および、G曲線602とR曲線603は若干の重なり部分を有しており、一方、互いに離れた波長帯であるB曲線601とR曲線603は互いに交わることが無い。すなわち、B画素フィルタが設けられた画素は、青色波長帯と共に若干の緑色波長帯にも感度を有するが、赤色波長帯には感度を有さない。同様に、R画素フィルタが設けられた画素は、赤色波長帯と共に若干の緑色波長帯にも感度を有するが、青色波長帯には感度を有さない。一方、G画素フィルタが設けられた画素は、緑色波長帯と共に若干の赤色波長帯にも青色波長帯にも感度を有する。   The B curve 601 indicates the sensitivity of the pixel provided with the B pixel filter, the G curve 602 indicates the sensitivity of the pixel provided with the G pixel filter, and the R curve 603 indicates the sensitivity of the pixel provided with the R pixel filter. Indicates. As shown in the figure, the B curve 601 and the G curve 602 which are adjacent wavelength bands, and the G curve 602 and the R curve 603 have some overlapping portions, while the B curve which is a wavelength band apart from each other. The curve 601 and the R curve 603 do not cross each other. That is, the pixel provided with the B pixel filter is sensitive to the green wavelength band as well as the blue wavelength band, but has no sensitivity to the red wavelength band. Similarly, a pixel provided with an R pixel filter has sensitivity in the green wavelength band as well as in the red wavelength band, but does not have sensitivity in the blue wavelength band. On the other hand, a pixel provided with a G pixel filter has sensitivity in both the red wavelength band and the blue wavelength band as well as the green wavelength band.

構造化開口のBフィルタ部305は、矢印611の波長帯を透過させる。同様に、Rフィルタ部304は、矢印613の波長帯を透過させる。したがって、B画素フィルタが設けられた画素は、構造化開口のBフィルタ部305を透過した被写体光束に対して感度を持ち、R画素フィルタが設けられた画素は、構造化開口のRフィルタ部304を透過した被写体光束に対して感度を持つと言える。上述のように、B画素フィルタが設けられた画素は赤色波長帯には感度を有さず、R画素フィルタが設けられた画素は青色波長帯には感度を有さない。したがって、別言すれば、B画素フィルタが設けられた画素は、構造化開口のRフィルタ部304を透過した被写体光束に対して感応せず、R画素フィルタが設けられた画素は、構造化開口のBフィルタ部305を透過した被写体光束に対して感応しない。   The structured aperture B filter 305 transmits the wavelength band indicated by the arrow 611. Similarly, the R filter unit 304 transmits the wavelength band indicated by the arrow 613. Accordingly, a pixel provided with the B pixel filter has sensitivity to a subject light beam transmitted through the B filter unit 305 of the structured aperture, and a pixel provided with the R pixel filter is an R filter unit 304 of the structured aperture. It can be said that it has sensitivity to the subject luminous flux that has passed through. As described above, the pixel provided with the B pixel filter does not have sensitivity in the red wavelength band, and the pixel provided with the R pixel filter does not have sensitivity in the blue wavelength band. Therefore, in other words, the pixel provided with the B pixel filter is not sensitive to the subject light beam transmitted through the R filter unit 304 of the structured aperture, and the pixel provided with the R pixel filter is not structured. It is not sensitive to the subject light flux that has passed through the B filter section 305 of the camera.

すると、Rフィルタ部304を開口とする赤色波長帯の被写体画像と、Bフィルタ部305を開口とする青色波長帯の被写体画像を、一度の撮影により取得することができる。すなわち、波長帯分離を利用することにより、図1(b−1)と(b−2)を用いて説明したコーデッドアパーチャペアにおける二度の撮影動作を、一度の撮影動作で済ますことができる。それぞれの開口位置および透過波長帯に対応した各深さのPSFを予め用意しておけば、図1を用いて説明したコーデッドアパーチャペアによる距離算出の手法をこれらの画像に適用することができる。一度の撮影により異なる2つの開口を通過する被写体画像をそれぞれ取得することができるので、画像間に生じる被写体の動き、撮影者の手振れの影響を受けることが無く、距離情報を精度良く算出することができる。   Then, a subject image in the red wavelength band with the R filter unit 304 as an aperture and a subject image in the blue wavelength band with the B filter unit 305 as an aperture can be acquired by one shooting. That is, by using the wavelength band separation, the two imaging operations in the coded aperture pair described with reference to FIGS. 1B-1 and 1B-2 can be performed by a single imaging operation. If PSFs having respective depths corresponding to the respective aperture positions and transmission wavelength bands are prepared in advance, the distance calculation method using the coded aperture pair described with reference to FIG. 1 can be applied to these images. Since it is possible to acquire subject images that pass through two different apertures by one shooting, the distance information can be calculated accurately without being affected by the movement of the subject between the images and the camera shake of the photographer. Can do.

なお、このように撮影される赤色波長帯の被写体画像と青色波長帯の被写体画像は、それぞれR画素フィルタが設けられた画素の出力のみ、または、B画素フィルタが設けられた画素の出力のみを集めて互いに分離されるので、通常の撮影における画像処理とは異なる画像処理により形成される。したがって、ここでは通常の撮影により取得される撮影画像を本撮影画像と呼び、構造化開口を用いて取得される撮影画像を補助撮影画像と呼ぶ。本撮影画像は構造化開口ユニット300をレンズユニット210から抜出して撮影された画像であり、補助撮影画像は構造化開口ユニット300をレンズユニット210へ装着して撮影された画像である。   In addition, the subject image of the red wavelength band and the subject image of the blue wavelength band photographed in this way are only the output of the pixel provided with the R pixel filter or the output of the pixel provided with the B pixel filter, respectively. Since they are collected and separated from each other, they are formed by image processing different from image processing in normal photographing. Therefore, here, a captured image acquired by normal imaging is referred to as a main captured image, and a captured image acquired using the structured aperture is referred to as an auxiliary captured image. The actual captured image is an image captured by extracting the structured aperture unit 300 from the lens unit 210, and the auxiliary captured image is an image captured by attaching the structured aperture unit 300 to the lens unit 210.

このように、撮像素子243が入射する被写体光束を複数の波長帯に分離して検出する性質を利用して補助撮影画像を取得すると、次に、被写体の色依存が問題となる。すなわち、上述の構造化開口の場合、Rフィルタ部304を開口とする赤色波長帯の被写体画像は、Rフィルタ部304が透過する色成分を持つ被写体のみが像として現れ、遮断する色成分しか持たない被写体は像として現れない。同じく、Bフィルタ部305を開口とする青色波長帯の被写体画像は、Bフィルタ部305が透過する色成分を持つ被写体のみが像として現れ、遮断する色成分しか持たない被写体は像として現れない。このような被写体に対しては、精度の良い距離情報を算出することができない。   As described above, when an auxiliary captured image is acquired by using the property of detecting and separating the subject luminous flux incident on the imaging element 243 into a plurality of wavelength bands, the color dependency of the subject becomes a problem. In other words, in the case of the above-described structured aperture, the subject image in the red wavelength band having the R filter unit 304 as the aperture has only a color component that blocks only the subject having the color component transmitted by the R filter unit 304 and blocks it. No subject appears as an image. Similarly, in the subject image in the blue wavelength band having the B filter unit 305 as an opening, only the subject having the color component transmitted by the B filter unit 305 appears as an image, and the subject having only the blocked color component does not appear as an image. For such a subject, accurate distance information cannot be calculated.

そこで、一度の撮影により取得できる距離情報を更に精度を高めたいときには、Rフィルタ部304とBフィルタ部305を反転させてもう一度補助撮影画像を取得する。つまり、アクチュエータ215を駆動して保持枠301を180度回転させて、同一被写体に対して再度撮影を行う。このとき、反転されたそれぞれのフィルタ部に対応した各深さのPSFを予め用意しておけば、同様にコーデッドアパーチャペアの手法を適用することができる。このように補助撮影画像を二度取得すると、一度目の撮影において一方の開口位置から得られた被写体画像に像が現れない領域が存在しても、二度目の撮影においては同一の開口位置から得られる被写体画像の当該領域に像が現れることが期待できる。したがって、距離情報の精度を高めることができる。   Therefore, when it is desired to further improve the accuracy of the distance information that can be acquired by one imaging, the R filter unit 304 and the B filter unit 305 are inverted and an auxiliary captured image is acquired again. That is, the actuator 215 is driven to rotate the holding frame 301 by 180 degrees, and the same subject is imaged again. At this time, if a PSF of each depth corresponding to each inverted filter unit is prepared in advance, the coded aperture pair method can be similarly applied. When the auxiliary captured image is acquired twice in this way, even if there is a region where no image appears in the subject image obtained from one opening position in the first shooting, the same opening position is used in the second shooting. It can be expected that an image appears in the region of the obtained subject image. Therefore, the accuracy of distance information can be increased.

次に、本実施形態に係る一眼レフカメラ200のシステム構成を説明する。図7は、一眼レフカメラ200のシステム構成を概略的に示すブロック図である。一眼レフカメラ200のシステムは、レンズユニット210とカメラユニット230のそれぞれに対応して、レンズシステム制御部216を中心とするレンズ制御系と、カメラシステム制御部245を中心とするカメラ制御系により構成される。そして、レンズ制御系とカメラ制御系は、レンズマウント218とカメラマウント231によって接続される接続部を介して、相互に各種データ、制御信号の授受を行う。   Next, the system configuration of the single-lens reflex camera 200 according to the present embodiment will be described. FIG. 7 is a block diagram schematically showing the system configuration of the single-lens reflex camera 200. The system of the single-lens reflex camera 200 includes a lens control system centered on the lens system control unit 216 and a camera control system centered on the camera system control unit 245 corresponding to the lens unit 210 and the camera unit 230, respectively. Is done. The lens control system and the camera control system exchange various data and control signals with each other via a connection portion connected by the lens mount 218 and the camera mount 231.

カメラ制御系に含まれる画像処理部246は、カメラシステム制御部245からの指令に従って、撮像素子243で光電変換された撮像信号を画像データに処理する。本撮影画像において処理された画像データは、表示部247へ送られて、例えば撮影後の一定時間の間表示される。これに並行して、処理された画像データは、所定の画像フォーマットに加工され、外部接続IF254を介して外部メモリに記録される。画像処理部246は、補助撮影画像として撮影された撮像信号から、波長帯ごとに分離された被写体画像を生成する。生成された被写体画像は距離情報算出部251へ引き渡され、距離情報算出部251は、上述の手法により距離情報を算出する。算出された距離情報は、カメラメモリ252へ記録される。   An image processing unit 246 included in the camera control system processes an imaging signal photoelectrically converted by the imaging element 243 into image data in accordance with a command from the camera system control unit 245. The image data processed in the actual photographed image is sent to the display unit 247 and displayed for a certain time after photographing, for example. In parallel with this, the processed image data is processed into a predetermined image format and recorded in the external memory via the external connection IF 254. The image processing unit 246 generates a subject image separated for each wavelength band from an imaging signal captured as an auxiliary captured image. The generated subject image is transferred to the distance information calculation unit 251, and the distance information calculation unit 251 calculates the distance information by the above-described method. The calculated distance information is recorded in the camera memory 252.

カメラメモリ252は、例えばフラッシュメモリなどの不揮発性メモリであり、生成された撮影画像の一時的な記録場所としての他に、一眼レフカメラ200を制御するプログラム、各種パラメータなどを記録する役割を担う。ワークメモリ253は、例えばRAMなどの高速アクセスできるメモリであり、処理中の画像データを一時的に保管する役割などを担う。   The camera memory 252 is a non-volatile memory such as a flash memory, for example, and plays a role of recording a program for controlling the single-lens reflex camera 200, various parameters, and the like in addition to a temporary recording place of the generated captured image. . The work memory 253 is a memory that can be accessed at high speed, such as a RAM, and has a role of temporarily storing image data being processed.

レリーズスイッチ255は押し込み方向に2段階のスイッチ位置を備えており、カメラシステム制御部245は、第1段階のスイッチであるSW1がONになったことを検出すると、AFセンサ39から位相差情報を取得する。そして、レンズシステム制御部216へフォーカスレンズ212の駆動情報を送信する。また、AEセンサ237から被写体像の輝度分布を取得して露出値を決定する。さらに、第2段階のスイッチであるSW2がONになったことを検出すると、予め定められた処理フローに従って本撮影画像の取得、または、補助撮影画像の取得を実行する。本撮影画像の取得と補助撮影画像の取得についての処理フローについては後述する。   The release switch 255 has a two-stage switch position in the push-in direction, and the camera system control unit 245 detects phase difference information from the AF sensor 39 when detecting that the first-stage switch SW1 is turned on. get. Then, the drive information of the focus lens 212 is transmitted to the lens system control unit 216. Also, the exposure value is determined by obtaining the luminance distribution of the subject image from the AE sensor 237. Furthermore, when it is detected that SW2 which is the second-stage switch is turned on, acquisition of the main captured image or acquisition of the auxiliary captured image is executed according to a predetermined processing flow. A processing flow for acquiring the main captured image and the auxiliary captured image will be described later.

フラッシュ249は、カメラシステム制御部245の制御に従って被写体を照射する。また、同様にパターン投光部250は、カメラシステム制御部245の制御に従って投光パターンを被写体に投光する。   The flash 249 irradiates the subject under the control of the camera system control unit 245. Similarly, the pattern projector 250 projects the projection pattern onto the subject under the control of the camera system controller 245.

レンズシステム制御部216は、カメラシステム制御部245からの制御信号を受けて各種動作を実行する。レンズメモリ221は、レンズユニット210に固有であるPSFを保管している。距離情報算出部251は、カメラシステム制御部245およびレンズシステム制御部216を介して、レンズメモリ221からPSFを取得する。また、構造化開口駆動部222は、レンズシステム制御部216の指示に従ってアクチュエータ215を駆動する。   The lens system control unit 216 receives various control signals from the camera system control unit 245 and executes various operations. The lens memory 221 stores a PSF that is unique to the lens unit 210. The distance information calculation unit 251 acquires the PSF from the lens memory 221 via the camera system control unit 245 and the lens system control unit 216. Further, the structured aperture driving unit 222 drives the actuator 215 in accordance with an instruction from the lens system control unit 216.

図8は、補助撮影画像の取得から距離情報の算出までの処理フローを示す図である。本フローにおける一連の処理は、カメラシステム制御部245が操作部材を介してユーザから指示を受け付けたとき、または、予め定められた制御プログラムに距離算出処理が組み込まれているとき等に開始される。   FIG. 8 is a diagram illustrating a processing flow from acquisition of an auxiliary captured image to calculation of distance information. A series of processes in this flow is started when the camera system control unit 245 receives an instruction from the user via the operation member or when a distance calculation process is incorporated in a predetermined control program. .

ステップS801では、画像処理部246が処理対象となる補助撮影画像を取得する。画像処理部246は、処理対象の補助撮影画像として、撮像素子243から出力された画像信号をそのまま取得しても良いし、撮影後に距離情報を算出しないまま記録部に記録されている補助撮影画像を読み出して取得しても良い。したがって、本実施形態においてはカメラユニット230を画像処理装置として距離情報の算出を実行するが、距離情報の算出は、カメラとは別個の独立した画像処理装置で実行することもできる。例えば、PCを例にすれば、カメラとの間に記録媒体を介在させ、記録媒体に記録された補助撮影画像を読み出して処理することもできるし、有線、無線によりカメラと接続した状態を確立すれば、補助撮影画像の撮影と連動して処理することもできる。   In step S801, the image processing unit 246 acquires an auxiliary captured image to be processed. The image processing unit 246 may acquire the image signal output from the image sensor 243 as the auxiliary captured image to be processed as it is, or the auxiliary captured image recorded in the recording unit without calculating the distance information after shooting. May be read and acquired. Therefore, in the present embodiment, the distance information is calculated using the camera unit 230 as the image processing apparatus, but the distance information can be calculated by an independent image processing apparatus separate from the camera. For example, taking a PC as an example, a recording medium can be interposed between the camera and an auxiliary captured image recorded on the recording medium can be read and processed, or a state where the camera is connected to the camera by wire or wirelessly can be established. If so, processing can be performed in conjunction with the shooting of the auxiliary captured image.

画像処理部246は、ステップS802で、補助撮影画像から、Rフィルタ部304を通過して形成された赤色画像、すなわち、R画素フィルタが設けられた画素の出力から形成される画像を抽出する。同様に、Bフィルタ部305を通過して形成された青色画像を抽出する。画像処理部246は、このように波長帯別画像を抽出すると、これらの画像を距離情報算出部251へ引き渡す。   In step S802, the image processing unit 246 extracts a red image formed through the R filter unit 304, that is, an image formed from the output of the pixel provided with the R pixel filter, from the auxiliary captured image. Similarly, a blue image formed through the B filter unit 305 is extracted. When the image processing unit 246 extracts the wavelength band-specific images in this way, the image processing unit 246 delivers these images to the distance information calculation unit 251.

距離情報算出部251は、波長帯別画像を受け取ると、ステップS803で、レンズメモリ221に保管されているレンズユニット210のPSFを取得する。なお、距離情報の算出処理が補助撮影画像の撮影動作と連続しない場合には、レンズユニット210が他のレンズユニット210に交換されている場合もあるので、距離情報算出部251は、他の保管場所からPSFを取得するように構成しても良い。   When the distance information calculation unit 251 receives the image by wavelength band, in step S803, the distance information calculation unit 251 acquires the PSF of the lens unit 210 stored in the lens memory 221. Note that when the distance information calculation process is not continuous with the auxiliary image capturing operation, the lens unit 210 may be replaced with another lens unit 210, so the distance information calculation unit 251 stores other information. You may comprise so that PSF may be acquired from a place.

例えば、補助画像データは、撮影処理時にレンズメモリ221に記録されているPSFをEXIF情報などの付帯情報として取り込むこともできるし、カメラメモリ252は、レンズユニット210が装着されるタイミングでレンズメモリ221からPSFを取り込むこともできる。したがって、距離情報算出部251は、補助撮影画像の付帯情報、カメラメモリ252などからPSFを取得することもできる。なお、距離情報算出部251は、補助撮影画像の付帯情報として記録されているレンズユニット情報と開口位置情報から、カメラメモリ252などの記録部に記録されているPSFから使用すべきPSFを特定することもできる。このような場合は、補助撮影画像の撮影時に用いられたレンズユニットの情報を取得するステップと、当該レンズユニットに対応するそれぞれのPSFを取得するステップとを分けて処理すると良い。   For example, the auxiliary image data can be taken in PSF recorded in the lens memory 221 at the time of shooting processing as supplementary information such as EXIF information, and the camera memory 252 has the lens memory 221 at the timing when the lens unit 210 is attached. PSF can also be imported from Therefore, the distance information calculation unit 251 can also acquire the PSF from the auxiliary information of the auxiliary captured image, the camera memory 252 and the like. The distance information calculation unit 251 specifies the PSF to be used from the PSF recorded in the recording unit such as the camera memory 252 from the lens unit information and the aperture position information recorded as supplementary information of the auxiliary captured image. You can also. In such a case, it is preferable to separately process the step of acquiring information on the lens unit used at the time of capturing the auxiliary captured image and the step of acquiring each PSF corresponding to the lens unit.

距離情報算出部251は、このように取得した波長帯別画像とこれに対応したPSFを用いて、ステップS804で、距離情報を算出する。距離情報は、上述のようにコーデッドアパーチャペアの手法を用いて算出される。なお、算出された距離情報は、距離画像データとして別途独立したファイルを生成しても良いし、補助撮影画像に付帯して記録しても良い。別途独立したファイルを生成する場合には、補助撮影画像に対してリンク情報を記録する。算出された距離情報は、例えば、同一距離と判断された被写体が存在する画素領域情報と当該距離をセットとして、距離ごとに複数セット分リスト化されたテーブル形式のデータ構造を有する。算出できる距離の分解能は、PSFがどれだけの距離ピッチごとに用意されているかに依存するので、高い分解能を得たい場合には、細かい距離ピッチで刻んだPSFを予め用意すれば良い。以上により一連の処理フローを終了する。   In step S804, the distance information calculation unit 251 calculates distance information using the thus obtained image for each wavelength band and the corresponding PSF. The distance information is calculated using the coded aperture pair method as described above. The calculated distance information may be generated as a separate image file as the distance image data, or may be recorded along with the auxiliary captured image. When a separate file is generated separately, link information is recorded for the auxiliary captured image. The calculated distance information has, for example, a data structure in a table format in which a plurality of sets are listed for each distance, with the pixel area information in which the subject determined to be the same distance exists and the distance as a set. Since the resolution of the distance that can be calculated depends on how many distance pitches the PSF is prepared, if a high resolution is desired, a PSF that is engraved with a fine distance pitch may be prepared in advance. A series of processing flow is complete | finished by the above.

構造化開口を回転させて二度の補助撮影画像を行った場合には、それぞれの補助撮影画像に対して上述のフローを繰り返す。ただし、一枚目の補助撮影画像を用いて算出した結果、距離情報が抜け落ちた領域が無ければ、二枚目の補助撮影画像の処理を実行することなくそのまま終了しても良い。なお、二枚目の補助撮影画像の処理により、一枚目の補助撮影画像の処理で距離情報が抜け落ちた領域を修正するのみならず、互いに算出された距離情報を比較することによりエラーチェックを行うこともできる。   When the auxiliary opening image is performed twice by rotating the structured opening, the above-described flow is repeated for each auxiliary shooting image. However, as a result of calculation using the first auxiliary captured image, if there is no area where the distance information is missing, the processing may be terminated without executing the processing of the second auxiliary captured image. It should be noted that the processing of the second auxiliary captured image not only corrects the area where the distance information has been lost in the processing of the first auxiliary captured image, but also checks the error by comparing the distance information calculated with each other. It can also be done.

以上の説明においては、構造化開口としてRフィルタ部304とBフィルタ部305の2つの開口を有する構造化開口ユニット300を例に説明したが、構造化開口には他にもさまざまバリエーションが存在する。その例を以下に説明する。   In the above description, the structured opening unit 300 having two openings of the R filter unit 304 and the B filter unit 305 has been described as an example of the structured opening, but there are various other variations in the structured opening. . An example of this will be described below.

図9は、他の構造化開口400の構成を示す図である。図3のフィルタ302がRフィルタ部304およびBフィルタ部305の2つのフィルタ部を有するのに対して、構造化開口400のフィルタ402は、Rフィルタ部404およびBフィルタ部405に加え、緑色の波長帯を透過させるGフィルタ部406を有する。   FIG. 9 is a diagram showing a configuration of another structured opening 400. The filter 302 of FIG. 3 has two filter parts, an R filter part 304 and a B filter part 305, whereas the filter 402 of the structured aperture 400 has a green color in addition to the R filter part 404 and the B filter part 405. A G filter unit 406 that transmits the wavelength band is included.

具体的な構造として、保持枠401は、中心部分が中空の円筒形を成し、フィルタ402は、保持枠401の中空部分に張設されて固定されている。保持枠401の外周部にはギア407が全周にわたって設けられている。したがって、保持枠301に代えて保持枠401を構造化開口ユニット300に適用すれば、上述の使用形態と同様の使用形態を実現させることができる。   As a specific structure, the holding frame 401 has a hollow cylindrical shape at the center, and the filter 402 is stretched and fixed to the hollow portion of the holding frame 401. A gear 407 is provided on the entire outer periphery of the holding frame 401. Therefore, if the holding frame 401 is applied to the structured opening unit 300 in place of the holding frame 301, a usage pattern similar to the usage pattern described above can be realized.

図示するように、Rフィルタ部404、Gフィルタ部406およびBフィルタ部405は、フィルタ402の中心を通る光軸201に対して、それぞれ偏心した位置であって互いに120度の間隔を成す対称位置に設けられている。別言すれば、遮断フィルタ部403の中心に対して、それぞれ偏心した位置であって互いに120度の間隔を成す対称位置に設けられた3つの開口に、赤色の波長帯を透過させるRフィルタ部404、緑色の波長帯を透過させるGフィルタ部406および青色の波長帯を透過させるBフィルタ部405が形成されている。   As shown in the figure, the R filter unit 404, the G filter unit 406, and the B filter unit 405 are symmetrical positions that are decentered with respect to the optical axis 201 passing through the center of the filter 402 and are spaced from each other by 120 degrees. Is provided. In other words, an R filter unit that transmits a red wavelength band through three apertures provided at symmetrical positions that are 120 degrees apart from each other, with respect to the center of the cutoff filter unit 403. 404, a G filter unit 406 that transmits the green wavelength band, and a B filter unit 405 that transmits the blue wavelength band.

Gフィルタ部406を加えることにより、撮像素子243におけるG画素フィルタが設けられた画素の出力である緑色画像を補助撮影画像として利用することができる。このように構造化開口を設定すれば、撮像素子243が分離する波長帯を余すことなく利用でき、距離情報の精度向上に寄与する。具体的には、それぞれの開口位置および透過波長帯に対応した各深さのPSFを予め用意しておけば、図1を用いて説明したコーデッドアパーチャペアによる距離算出の手法をこれらの画像に適用することができる。ただし、各計算式において、i=1、2、3とする。さらに、自転機構を利用して各フィルタ部の相対的な位置関係を変更して補助撮影画像を取得すれば、より精度の高い距離情報を算出することができる。   By adding the G filter unit 406, a green image that is an output of a pixel provided with a G pixel filter in the image sensor 243 can be used as an auxiliary captured image. If the structured aperture is set in this way, the wavelength band separated by the image pickup device 243 can be used without fail, which contributes to improving the accuracy of distance information. Specifically, if a PSF of each depth corresponding to each aperture position and transmission wavelength band is prepared in advance, the distance calculation method using the coded aperture pair described with reference to FIG. 1 is applied to these images. can do. However, in each calculation formula, i = 1, 2, and 3. Furthermore, if the auxiliary captured image is acquired by changing the relative positional relationship between the filter units using the rotation mechanism, it is possible to calculate distance information with higher accuracy.

なお、上述のように、G画素フィルタが設けられた画素は、緑色波長帯と共に若干の赤色波長帯にも青色波長帯にも感度を有するので、緑色画像は、Rフィルタ部404およびBフィルタ部405を通過した被写体光束の影響を受けている。したがって、緑色画像は純粋にGフィルタ部406の開口を通過した被写体光束による画像とは言えないので、距離情報を算出する処理においては、緑色画像を補助的に利用することが好ましい。この意味において、開口を2つに設定する場合には、互いの被写体光束の影響を受けにくいように、撮像素子が分離する複数の波長帯において互いに最も離れた波長帯に対応するフィルタをそれぞれ用いることが好ましいと言える。   Note that, as described above, the pixel provided with the G pixel filter has sensitivity in the red wavelength band and the blue wavelength band as well as the green wavelength band. It is influenced by the subject luminous flux that has passed through 405. Therefore, since the green image cannot be said to be an image of the subject light flux that has passed through the opening of the G filter unit 406 purely, it is preferable to use the green image in the process of calculating the distance information. In this sense, when two apertures are set, filters corresponding to the wavelength bands farthest from each other in a plurality of wavelength bands separated by the image sensor are used so that they are not easily affected by the light fluxes of the subject. It can be said that it is preferable.

また、補助撮影画像から、赤色画像、緑色画像および青色画像が抽出できれば、被写体画像としてカラー画像を形成できる。したがって、構造化開口を介しながらも一定画質の視認用画像を取得することができる。   If a red image, a green image, and a blue image can be extracted from the auxiliary captured image, a color image can be formed as the subject image. Therefore, it is possible to obtain a visual image with constant image quality through the structured opening.

図10は、更に他の構造化開口500の構成を示す図である。図3を用いて説明した構造化開口ユニット300は、自転機構を利用してRフィルタ部304とBフィルタ部305の相対位置を反転させた。また、本撮影画像を撮影するときは構造化開口ユニット300をレンズユニット210から抜出し、補助撮影画像を撮影するときは構造化開口ユニット300をレンズユニット210へ装着した。これに対し、構造化開口500は、公転機構を利用してRフィルタ部とBフィルタ部の相対位置を反転させ、本撮影画像を撮影するときもレンズユニット210から抜出することを要しない。   FIG. 10 is a diagram showing a configuration of still another structured opening 500. In the structured opening unit 300 described with reference to FIG. 3, the relative positions of the R filter unit 304 and the B filter unit 305 are reversed using a rotation mechanism. Further, the structured aperture unit 300 was extracted from the lens unit 210 when the actual captured image was captured, and the structured aperture unit 300 was attached to the lens unit 210 when the auxiliary captured image was captured. On the other hand, the structured opening 500 does not need to be extracted from the lens unit 210 when the relative position of the R filter unit and the B filter unit is reversed using a revolving mechanism to capture the actual captured image.

レンズ鏡筒517は、少なくとも構造化開口500を内包する部位において断面が広く設定されている。なお、図4を用いて説明したレンズ鏡筒217に相当する外形は、点線511に相当する。構造化開口500は、3つの開口を有する保持枠501と、そのうちの2つの開口に張設されたフィルタ522,532を主な構成要素とする。保持枠501の中心には回転軸510が設けられており、保持枠501はレンズ鏡筒517に対して回転自在に軸支されている。保持枠501は全体として円形を成し、その外周部分には全集にわたって内向きにギア506が設けられている。ギア506は、レンズ鏡筒517内に支持されたアクチュエータ515と直接またはギアトレインを介して連結されており、保持枠501は、アクチュエータ515の駆動により回転軸510回りに回転する。   The lens barrel 517 has a wide cross section at least in a portion including the structured opening 500. Note that an outer shape corresponding to the lens barrel 217 described with reference to FIG. 4 corresponds to a dotted line 511. The structured opening 500 mainly includes a holding frame 501 having three openings, and filters 522 and 532 that are stretched in two of the openings. A rotation shaft 510 is provided at the center of the holding frame 501, and the holding frame 501 is rotatably supported with respect to the lens barrel 517. The holding frame 501 has a circular shape as a whole, and an outer peripheral portion is provided with a gear 506 inward over the entire collection. The gear 506 is connected to the actuator 515 supported in the lens barrel 517 directly or via a gear train, and the holding frame 501 rotates around the rotation shaft 510 by driving the actuator 515.

保持枠501は、回転軸510を中心として互いに120度の間隔を成す対称位置に、被写体光束と略同じ大きさ開口を3つ備えている。そのうちの一つにフィルタ522が、他の一つにフィルタ532が張設され、残り一つは被写体光束の全部を通過させる全開口542である。そして、レンズシステム制御部216は、アクチュエータ515の駆動により、フィルタ522、532および全開口542のうちのいずれか一つを、光軸201を中心とする被写体光束中に配設することができる。つまり、被写体光束にフィルタ522、532および全開口542のいずれかを挿抜することができる。   The holding frame 501 is provided with three apertures that are approximately the same size as the subject light beam at symmetrical positions that are spaced 120 degrees apart from each other about the rotation axis 510. One of them is a filter 522, the other is a filter 532, and the other is a full aperture 542 that allows the entire subject light beam to pass through. Then, the lens system control unit 216 can arrange any one of the filters 522 and 532 and the full aperture 542 in the subject light flux centered on the optical axis 201 by driving the actuator 515. In other words, any of the filters 522 and 532 and the full opening 542 can be inserted into and removed from the subject light flux.

フィルタ522は、フィルタ302と同様に、被写体光束を遮断する遮断フィルタ部523、赤色の波長帯を透過させるRフィルタ部524および青色の波長帯を透過させるBフィルタ部525から構成される。赤色の波長帯を透過させるRフィルタ部524と青色の波長帯を透過させるBフィルタ部525は、遮断フィルタ部523の中心に対して、それぞれ偏心した位置であって互いに対称となる位置に設けられたペアとなる2つの開口にそれぞれ形成されている。   Similar to the filter 302, the filter 522 includes a blocking filter unit 523 that blocks the subject light beam, an R filter unit 524 that transmits the red wavelength band, and a B filter unit 525 that transmits the blue wavelength band. The R filter unit 524 that transmits the red wavelength band and the B filter unit 525 that transmits the blue wavelength band are provided at positions that are eccentric with respect to the center of the cutoff filter unit 523 and are symmetrical to each other. Each of the two openings forming a pair is formed.

同様に、フィルタ532も、被写体光束を遮断する遮断フィルタ部533、赤色の波長帯を透過させるRフィルタ部534および青色の波長帯を透過させるBフィルタ部535から構成される。赤色の波長帯を透過させるRフィルタ部534と青色の波長帯を透過させるBフィルタ部535は、遮断フィルタ部533の中心に対して、それぞれ偏心した位置であって互いに対称となる位置に設けられたペアとなる2つの開口にそれぞれ形成されている。   Similarly, the filter 532 includes a blocking filter unit 533 that blocks a subject light beam, an R filter unit 534 that transmits a red wavelength band, and a B filter unit 535 that transmits a blue wavelength band. The R filter unit 534 that transmits the red wavelength band and the B filter unit 535 that transmits the blue wavelength band are provided at positions that are eccentric with respect to the center of the cutoff filter unit 533 and are symmetrical to each other. Each of the two openings forming a pair is formed.

そして、フィルタ522の開口のペアとフィルタ532の開口のペアは、保持枠501が120度回転されたときに一致するように配置されている。また、Rフィルタ部524とBフィルタ部525の相対位置関係は、Rフィルタ部534とBフィルタ部535の相対位置関係と逆転して形成されている。したがって、被写体光束にフィルタ522を配設したときとフィルタ532を配設したときで、ちょうどRフィルタ部とBフィルタ部の関係が入れ替わった状態を実現する。   The pair of openings of the filter 522 and the pair of openings of the filter 532 are arranged so as to coincide when the holding frame 501 is rotated 120 degrees. Further, the relative positional relationship between the R filter unit 524 and the B filter unit 525 is formed in reverse to the relative positional relationship between the R filter unit 534 and the B filter unit 535. Therefore, the state in which the relationship between the R filter portion and the B filter portion is just exchanged is realized when the filter 522 is disposed in the subject light flux and when the filter 532 is disposed.

なお、保持枠501のうち、3つの開口を形成するプレート部分は非透過部材で形成することが好ましい。さらには、植毛紙等の遮光部材で表面を処理することが好ましい。このような対策により、鏡筒内の迷光を遮断することが期待できる。   In addition, it is preferable to form the plate part which forms three openings among the holding frames 501 with a non-transmissive member. Furthermore, it is preferable to treat the surface with a light shielding member such as flocked paper. Such measures can be expected to block stray light in the lens barrel.

以上のように構造化開口500を構成すれば、ユーザによる構造化開口ユニットの挿抜動作を省くことができる。すなわち、レンズシステム制御部216がアクチュエータ515を駆動して自動的に、本撮影画像を撮影するときには全開口542を被写体光束に配置させ、補助撮影画像を撮影するときにはフィルタ522,532を被写体光束に配置させることができる。なお、保持枠501にフィルタを張設する開口をさらに追加して、構造化開口400の3つのフィルタ部が順次相対的な位置関係を変えながら被写体光束に挿抜されるように構成しても良い。   If the structured opening 500 is configured as described above, the user can omit the insertion and removal operation of the structured opening unit. In other words, the lens system control unit 216 automatically drives the actuator 515 to automatically place the full aperture 542 in the subject light beam when shooting the actual captured image, and to set the filters 522 and 532 as the subject light beam when shooting the auxiliary captured image. Can be placed. In addition, an opening for extending a filter may be further added to the holding frame 501 so that the three filter portions of the structured opening 400 can be inserted into and removed from the subject light flux while sequentially changing the relative positional relationship. .

図11は、更に他の構造化開口700の構成を示す図である。これまでに説明した構造化開口は、遮断フィルタ部に設けられた開口にRフィルタ部、Gフィルタ部、Bフィルタ部のいずれかを配して構成されていた。このような構成は、撮像素子243を構成する画素に設けられた画素フィルタのいずれかの波長帯に一致させることを目的としている。これに対し、構造化開口700のフィルタ構成は、フィルタ302と補色の関係にある。   FIG. 11 is a diagram showing a configuration of still another structured opening 700. The structured opening described so far has been configured by arranging any of the R filter part, the G filter part, and the B filter part in the opening provided in the cutoff filter part. Such a configuration is intended to match one of the wavelength bands of the pixel filter provided in the pixel constituting the image sensor 243. In contrast, the filter configuration of the structured aperture 700 has a complementary color relationship with the filter 302.

保持枠701は、中心部分が中空の円筒形を成し、フィルタ702は、保持枠701の中空部分に張設されて固定されている。保持枠701の外周部にはギア706が全周にわたって設けられている。したがって、保持枠301に代えて保持枠701を構造化開口ユニット300に適用すれば、構造化開口ユニット300の使用形態と同様の使用形態を実現させることができる。   The holding frame 701 has a hollow cylindrical shape at the center, and the filter 702 is stretched and fixed to the hollow part of the holding frame 701. A gear 706 is provided on the entire outer periphery of the holding frame 701. Therefore, if the holding frame 701 is applied to the structured opening unit 300 in place of the holding frame 301, a usage pattern similar to the usage pattern of the structured opening unit 300 can be realized.

フィルタ702は、被写体光束を透過する透過フィルタ部703、シアンの波長帯を透過させるCフィルタ部704およびイエローの波長帯を透過させるYフィルタ部705から構成される。図示するようにCフィルタ部704とYフィルタ部705は、フィルタ702の中心を通る光軸201に対して、それぞれ偏心した位置であって互いに対称となる位置に設けられている。別言すれば、透過フィルタ部703の中心に対して、それぞれ偏心した位置であって互いに対称となる位置に設けられた2つの開口に、シアンの波長帯を透過させるCフィルタ部704とイエローの波長帯を透過させるYフィルタ部705が形成されている。   The filter 702 includes a transmission filter unit 703 that transmits a subject light beam, a C filter unit 704 that transmits a cyan wavelength band, and a Y filter unit 705 that transmits a yellow wavelength band. As shown in the figure, the C filter unit 704 and the Y filter unit 705 are provided at positions that are eccentric with respect to the optical axis 201 passing through the center of the filter 702 and are symmetrical to each other. In other words, the C filter unit 704 that transmits the cyan wavelength band to the two openings provided at positions that are eccentric with respect to the center of the transmission filter unit 703 and symmetrical with each other, and the yellow filter A Y filter portion 705 that transmits the wavelength band is formed.

シアンは赤色の補色であり、Cフィルタ部704は、被写体光束のうち赤色の波長帯を遮断するが青色と緑色の波長帯を通過させる。イエローは青色の補色であり、Yフィルタ部705は、被写体光束のうち青色の波長帯を遮断するが赤色と緑色の波長帯を通過させる。したがって、R画素フィルタが設けられた画素の出力を集めて生成される赤色画像は、Cフィルタ部704に入射する赤色の被写体光束が遮断された被写体画像であり、Cフィルタ部704の偏心位置に基づいた偏りを持った被写体画像である。同様に、B画素フィルタが設けられた画素の出力を集めて生成される青色画像は、Yフィルタ部705に入射する青色の被写体光束が遮断された被写体画像であり、Yフィルタ部705の偏心位置に基づいた偏りを持った被写体画像である。   Cyan is a complementary color of red, and the C filter unit 704 blocks the red wavelength band of the subject luminous flux but allows the blue and green wavelength bands to pass. Yellow is a complementary color of blue, and the Y filter unit 705 blocks the blue wavelength band of the subject light flux but allows the red and green wavelength bands to pass therethrough. Therefore, the red image generated by collecting the outputs of the pixels provided with the R pixel filter is a subject image in which the red subject luminous flux incident on the C filter unit 704 is blocked, and is located at the eccentric position of the C filter unit 704. This is a subject image having a bias based on it. Similarly, the blue image generated by collecting the outputs of the pixels provided with the B pixel filter is a subject image in which the blue subject luminous flux incident on the Y filter unit 705 is blocked, and the eccentric position of the Y filter unit 705 This is a subject image having a bias based on.

したがって、それぞれの開口位置および遮断波長帯に対応した各深さのPSFを予め用意しておけば、図1を用いて説明したコーデッドアパーチャペアによる距離算出の手法をこれらの画像に適用することができる。一度の撮影により異なる2つの開口を通過する被写体画像をそれぞれ取得することができることは構造化開口ユニット300と同様であり、画像間に生じる被写体の動き、撮影者の手振れの影響を受けることが無く、距離情報を精度良く算出することができる。   Therefore, if PSFs having respective depths corresponding to the respective aperture positions and cut-off wavelength bands are prepared in advance, the distance calculation method using the coded aperture pair described with reference to FIG. 1 can be applied to these images. it can. Similar to the structured aperture unit 300, it is possible to acquire subject images that pass through two different apertures by one image capture, without being affected by subject movement between the images and the camera shake of the photographer. The distance information can be calculated with high accuracy.

また、緑色の波長帯は、フィルタ702のいずれの部分によっても遮断されないので、G画素フィルタが設けられた画素の出力は、本撮影画像の撮影における出力とほぼ同様である。したがって、赤色画像と青色画像と共に緑色画像も取得できるので、被写体画像としてカラー画像を形成できる。これにより、構造化開口を介しながらも一定画質の視認用画像を取得することができる。なお、緑色の補色であるマゼンタの波長帯を透過させるMフィルタ部も含めれば、構造化開口400、500の形態にもこのような補色関係にあるフィルタ部を適用することができる。   Further, since the green wavelength band is not blocked by any part of the filter 702, the output of the pixel provided with the G pixel filter is substantially the same as the output in capturing the actual captured image. Therefore, since a green image can be acquired together with a red image and a blue image, a color image can be formed as a subject image. As a result, it is possible to obtain a visual image with a constant image quality through the structured opening. In addition, if the M filter part that transmits the magenta wavelength band that is the complementary color of green is included, the filter part having such a complementary color relationship can also be applied to the forms of the structured openings 400 and 500.

次に、構造化開口を配設する位置について説明する。上述の実施形態においては図2で示すように、構造化開口をレンズユニット210の瞳位置またはその近傍に配設した。しかし、構造化開口の配設位置はレンズユニット210の瞳位置近傍に限らない。図12は、構造化開口の他の配設位置を説明する説明図である。   Next, the position where the structured opening is disposed will be described. In the above-described embodiment, as shown in FIG. 2, the structured aperture is disposed at or near the pupil position of the lens unit 210. However, the arrangement position of the structured aperture is not limited to the vicinity of the pupil position of the lens unit 210. FIG. 12 is an explanatory diagram for explaining another arrangement position of the structured opening.

一眼レフカメラ800は、レンズユニット810とカメラユニット830とから構成される。レンズユニット810の瞳位置801を通過した被写体光束は一次結像面831に結像する。一次結像面831で一旦結像した被写体光束は、さらに光学系を介して撮像素子843の受光面である二次結像面に結像する。構造化開口802は、一次結像面831と二次結像面である撮像素子843の受光面の間に位置する、瞳位置801と共役な位置に配設される。すなわち、構造化開口は、レンズユニットの瞳位置またはその近傍に限らず、これに共役な位置またはその近傍に配設しても良い。特に、一眼レフカメラのようにレンズ交換式カメラの場合、カメラユニット側に構造化開口を設ければ、レンズユニットごとに構造化開口を配設しなくても良い。   The single lens reflex camera 800 includes a lens unit 810 and a camera unit 830. The subject luminous flux that has passed through the pupil position 801 of the lens unit 810 forms an image on the primary imaging plane 831. The subject light beam once imaged on the primary imaging surface 831 further forms an image on the secondary imaging surface which is the light receiving surface of the image sensor 843 via the optical system. The structured aperture 802 is disposed at a position conjugate with the pupil position 801, which is located between the primary imaging plane 831 and the light receiving surface of the imaging element 843 that is the secondary imaging plane. That is, the structured aperture is not limited to the pupil position of the lens unit or the vicinity thereof, but may be disposed at a position conjugate to the pupil position or the vicinity thereof. In particular, in the case of an interchangeable lens camera such as a single-lens reflex camera, if a structured opening is provided on the camera unit side, the structured opening need not be provided for each lens unit.

以上の実施形態においては、一眼レフカメラを例に説明したが、光学ファインダを持たないレンズ交換式カメラ、レンズユニットが一体化されたコンパクトカメラ、動画撮影を行うこともできるビデオカメラといった撮像装置に対しても適用することができる。   In the above embodiments, a single-lens reflex camera has been described as an example. However, in an imaging apparatus such as an interchangeable lens camera that does not have an optical finder, a compact camera in which a lens unit is integrated, and a video camera that can also perform moving image shooting. It can also be applied to.

また、以上の実施形態においては、撮像素子としてベイヤー配列のカラーフィルタを有する単板式撮像素子を例に説明したが、他のカラーフィルタ配列であっても良く、さらには、RGBに限らず他の波長帯を透過させるフィルタが配列されていても良い。この場合、構造化開口のフィルタ部は、撮像素子のカラーフィルタの波長帯に応じて透過および遮断波長帯が選択される。また、カラーフィルタを持たず、フォトダイオードの奥行き方向に異なる感応波長帯を有する撮像素子に対しても適用できる。この場合、構造化開口のフィルタ部は、フォトダイオードの奥行き方向で分離される波長帯に応じて透過および遮断波長帯が選択される。さらには、単板の撮像素子を備えるカメラに限らず、例えばRGBのそれぞれに分けられた三板式カメラのような、入射する被写体光束を複数の波長帯に分離してそれぞれの波長帯を独立して受光する複数の撮像素子を備えるカメラに対しても適用することができる。   In the above embodiment, a single-plate image sensor having a Bayer array color filter as an image sensor has been described as an example. However, other color filter arrays may be used, and not limited to RGB. A filter that transmits the wavelength band may be arranged. In this case, for the filter portion of the structured aperture, transmission and cutoff wavelength bands are selected according to the wavelength band of the color filter of the image sensor. Further, the present invention can be applied to an image pickup element that does not have a color filter and has different sensitive wavelength bands in the depth direction of the photodiode. In this case, the transmission and cut-off wavelength bands are selected for the filter portion of the structured aperture according to the wavelength bands separated in the depth direction of the photodiode. Furthermore, the present invention is not limited to a camera having a single-plate image sensor, but separates the incident light flux into a plurality of wavelength bands, such as a three-plate camera divided into RGB, for example, to make each wavelength band independent. The present invention can also be applied to a camera including a plurality of image sensors that receive light.

次に、図2等を用いて説明した、構造化開口ユニット300を適用した一眼レフカメラ200による撮影シーケンスの例を説明する。ただし、バリエーションとして説明した他の構成の構造化開口、構造化開口の配設位置、撮像素子の種類、数等についても、適宜組み合わせて適用し得る。   Next, an example of an imaging sequence by the single-lens reflex camera 200 to which the structured aperture unit 300 is applied, which has been described with reference to FIG. 2 and the like, will be described. However, the structured openings of other configurations described as variations, the positions of the structured openings, the types and the number of image pickup elements, and the like can be applied in appropriate combinations.

図13は、本撮影画像および補助撮影画像の取得フローを示す図である。撮影シーケンスが開始されると、カメラシステム制御部245は、ステップS1301で、これから行う撮影動作が本撮影画像の撮影動作か、補助撮影画像の撮影動作かを判断する。本撮影画像の撮影動作であると判断したときは、ステップS1302へ進む。   FIG. 13 is a diagram illustrating a flow of acquiring a main captured image and an auxiliary captured image. When the shooting sequence is started, the camera system control unit 245 determines in step S1301 whether the shooting operation to be performed from now is the shooting operation of the main shooting image or the shooting operation of the auxiliary shooting image. If it is determined that it is a shooting operation of the actual captured image, the process proceeds to step S1302.

ステップS1302でカメラシステム制御部245は、ユーザにより構造化開口ユニット300が被写体光束から抜出されているか否かを判断する。抜出さているか否かは、例えば、アクチュエータ215を回転させたときに検出される負荷の大小により判断できる。または、フォトインタラプタなどのセンサを設けて判断しても良い。なお、図10を用いて説明した構造化開口500のような公転機構を採用する場合は、ステップS1302の判断処理に代えて、アクチュエータ515により全開口542を被写体光束に挿入する動作処理を実行する。   In step S1302, the camera system control unit 245 determines whether or not the structured aperture unit 300 is extracted from the subject light beam by the user. Whether or not it has been extracted can be determined by, for example, the magnitude of the load detected when the actuator 215 is rotated. Alternatively, it may be determined by providing a sensor such as a photo interrupter. When a revolution mechanism such as the structured opening 500 described with reference to FIG. 10 is employed, an operation process for inserting the entire opening 542 into the subject light beam by the actuator 515 is executed instead of the determination process in step S1302. .

カメラシステム制御部245は、構造化開口ユニット300が抜出されたと判断したらステップS1303へ進む。抜出されるまではステップS1302で待機する。   If the camera system control unit 245 determines that the structured opening unit 300 has been extracted, the process advances to step S1303. It waits in step S1302 until it is extracted.

ステップS1303では、カメラシステム制御部245は、レリーズスイッチ255のSW1がONにされるのを待って、被写体の測光を行う。具体的には、カメラシステム制御部245は、AEセンサ237から被写体像の輝度分布を取得する。カメラシステム制御部245は、被写体像の輝度分布を取得したら、ステップS1304に進み、露出値を算出する。ここで、露出値とは、撮像素子243を被写体光束に露光する露光時間、被写体光束を制限する絞り214の絞り値、および撮像素子243の読み出しゲインに対応するISO感度の3つの数値である。   In step S1303, the camera system control unit 245 performs subject photometry after waiting for SW1 of the release switch 255 to be turned on. Specifically, the camera system control unit 245 acquires the luminance distribution of the subject image from the AE sensor 237. After acquiring the luminance distribution of the subject image, the camera system control unit 245 proceeds to step S1304 and calculates the exposure value. Here, the exposure value is three numerical values of an exposure time for exposing the image sensor 243 to the subject light beam, an aperture value of the diaphragm 214 for limiting the subject light beam, and ISO sensitivity corresponding to the readout gain of the image sensor 243.

露出値は、カメラメモリに予め記録されたプログラム線図によって決定される。例えば、ユーザにより絞り優先モードに設定されている場合は、カメラシステム制御部245は、ユーザが設定した絞り値はそのままにして、露光時間と撮像感度を一定のルールに即して設定されているプログラム線図上の値により決定する。   The exposure value is determined by a program diagram recorded in advance in the camera memory. For example, when the aperture priority mode is set by the user, the camera system control unit 245 sets the exposure time and imaging sensitivity according to certain rules while keeping the aperture value set by the user. Determined by the values on the program diagram.

また、カメラシステム制御部245は、SW1がONにされると、測光処理の他にも合焦動作などの撮影準備処理を実行する。合焦動作は、AFセンサ240から取得された位相差情報に基づいて、レンズシステム制御部216がフォーカスレンズ212を駆動することにより実現される。   Further, when SW1 is turned on, the camera system control unit 245 executes photographing preparation processing such as focusing operation in addition to the photometry processing. The focusing operation is realized when the lens system control unit 216 drives the focus lens 212 based on the phase difference information acquired from the AF sensor 240.

撮影準備処理が終了すると、カメラシステム制御部245は、ステップS1305へ進み、レリーズスイッチ255のSW2がONにされるのを待って、本撮影画像の取得動作を実行する。具体的には、メインミラー232およびサブミラー238を被写体光束から退避させ、決定された露出値に従って絞り214およびフォーカルプレーンシャッタ241を動作させる。さらに、フォーカルプレーンシャッタ241が開放されている間に撮像素子243の各画素に蓄積された電荷を読み出し、画像処理部246に予め設定されたフォーマットに従って画像ファイルを生成させ、当該画像ファイルを記録部に記録する。   When the shooting preparation process is completed, the camera system control unit 245 proceeds to step S1305, and waits for the SW2 of the release switch 255 to be turned on, and executes the actual shooting image acquisition operation. Specifically, the main mirror 232 and the sub mirror 238 are retracted from the subject light beam, and the diaphragm 214 and the focal plane shutter 241 are operated according to the determined exposure value. Further, the electric charge accumulated in each pixel of the image sensor 243 is read while the focal plane shutter 241 is opened, the image processing unit 246 is caused to generate an image file in accordance with a preset format, and the image file is recorded in the recording unit. To record.

カメラシステム制御部245は、一連の本撮影画像の撮影動作が終了したらステップS1306へ進み、引き続き補助撮影画像の撮影動作が指示されているか否かを判断する。補助撮影画像の撮影動作が指示されていなければ、一連の処理を終了する。   The camera system control unit 245 proceeds to step S1306 when a series of main image capturing operations has been completed, and determines whether or not an auxiliary image capturing operation has been instructed. If the auxiliary photographing image photographing operation is not instructed, the series of processes is terminated.

カメラシステム制御部245は、ステップS1301またはステップS1306で補助撮影画像の撮影動作が指示されていると判断したら、ステップS1307へ進み、ユーザにより構造化開口ユニット300が被写体光束中に装着されているか否かを判断する。カメラシステム制御部245は、構造化開口ユニット300が装着されるまでステップS1307で待機する。なお、図10を用いて説明した構造化開口500のような公転機構を採用する場合は、ステップS1307の判断処理に代えて、アクチュエータ515によりフィルタ522またはフィルタ532を被写体光束に挿入する動作処理を実行する。   If the camera system control unit 245 determines in step S1301 or step S1306 that an instruction to capture an auxiliary captured image is instructed, the process advances to step S1307, and whether or not the structured aperture unit 300 is mounted in the subject luminous flux by the user. Determine whether. The camera system control unit 245 waits in step S1307 until the structured aperture unit 300 is mounted. When a revolution mechanism such as the structured opening 500 described with reference to FIG. 10 is employed, an operation process for inserting the filter 522 or the filter 532 into the subject light beam by the actuator 515 instead of the determination process in step S1307. Execute.

カメラシステム制御部245は、構造化開口ユニット300が装着されたと判断したらステップS1308へ進む。補助撮影画像の撮影動作は、被写体光束中に構造化開口を介在させて実行するので、撮像素子243に到達する被写体光束の光学的条件が、本撮影画像の撮影動作時とは大きく異なる。簡単には、撮像素子243に到達する被写体光束が構造化開口によって制限されるので、本撮影画像の撮影条件と同じ条件では暗い画像が取得されることになる。そこで、カメラシステム制御部245は、補助撮影画像の撮影条件を、本撮影画像の撮影条件とは異ならせる。   If the camera system control unit 245 determines that the structured aperture unit 300 is attached, the process proceeds to step S1308. Since the photographing operation of the auxiliary photographed image is executed with the structured aperture interposed in the subject light flux, the optical condition of the subject light flux reaching the image sensor 243 is greatly different from that during the photographing operation of the main photographed image. In brief, since the subject luminous flux reaching the image sensor 243 is limited by the structured aperture, a dark image is obtained under the same conditions as the shooting conditions of the main shooting image. Therefore, the camera system control unit 245 makes the shooting condition of the auxiliary shooting image different from the shooting condition of the main shooting image.

そこで、本実施形態においては、カメラシステム制御部245は、補助撮影画像の撮影動作時にフラッシュ249を動作させて被写体を照射する。カメラシステム制御部245は、ステップS1308へ進むと、SW1がONにされるのを待って、フラッシュ249の事前照射動作であるプリ発光を行い、被写体の測光を行う。具体的には、カメラシステム制御部245は、AEセンサ237から被写体像のプリ発光時における輝度分布を取得する。   Therefore, in the present embodiment, the camera system control unit 245 irradiates the subject by operating the flash 249 during the operation of capturing the auxiliary captured image. In step S1308, the camera system control unit 245 waits for the SW1 to be turned on, performs pre-light emission as a pre-irradiation operation of the flash 249, and performs subject photometry. Specifically, the camera system control unit 245 acquires the luminance distribution from the AE sensor 237 when the subject image is pre-flashed.

カメラシステム制御部245は、被写体像の輝度分布を取得したら、ステップS1309へ進み、露出値を算出する。このときの露出値はフラッシュ249の発光を前提とした値であり、したがって、カメラシステム制御部245は、ステップS1310へ進み、撮影動作時におけるフラッシュ249の照射量を決定する。なお、照射量の算出は、AEセンサ237から得られる輝度分布情報から行っても良いが、本撮影画像の撮影動作時にもフラッシュ249を照射させたのであれば、当該撮影動作時における照射量から、補助撮影画像の撮影動作における照射量を算出しても良い。具体的には、構造化開口を被写体光束中に介在させることによりカットされる光量は事前の実験等により把握されるので、これに応じて低下する露出段数分に相当する光量を本撮影画像の撮影動作時における照射量に足して算出する。   After acquiring the luminance distribution of the subject image, the camera system control unit 245 proceeds to step S1309 and calculates the exposure value. The exposure value at this time is a value based on the premise that the flash 249 emits light. Therefore, the camera system control unit 245 proceeds to step S1310 and determines the irradiation amount of the flash 249 during the photographing operation. The irradiation amount may be calculated from the luminance distribution information obtained from the AE sensor 237. However, if the flash 249 is irradiated even during the photographing operation of the actual captured image, the irradiation amount is calculated from the irradiation amount during the photographing operation. Alternatively, the irradiation amount in the shooting operation of the auxiliary captured image may be calculated. Specifically, the amount of light that is cut by interposing the structured aperture in the subject luminous flux is ascertained by a prior experiment or the like, and thus the amount of light corresponding to the number of exposure steps that decreases according to this is obtained. Calculated by adding to the irradiation amount during the shooting operation.

なお、ステップS1309における露出値の算出は、ステップS1310のフラッシュ249の照射量の決定とセットで実行されるが、露出値のうちISO感度については、ステップS1304で算出されるISO感度よりも大きく設定すると良い。すなわち、補助撮影画像における被写体のぶれは、距離情報の算出に悪影響を及ぼし精度の低下を招くので、撮像素子243に対する露光時間は短いことが好ましい。そこで、露光時間を短くすべく、ISO感度を大きく設定する。補助撮影画像はユーザの鑑賞画像ではないので、距離情報の算出に影響しない限りにおいてISO感度が大きく設定されても良い。したがって、カメラシステム制御部245が設定し得るISO感度の上限は、本撮影画像の撮影動作時の値と補助撮影画像の撮影動作時の値で異なり、補助撮影画像の撮影動作時の値の方が大きい。   Note that the calculation of the exposure value in step S1309 is executed in combination with the determination of the irradiation amount of the flash 249 in step S1310, but the ISO sensitivity of the exposure value is set larger than the ISO sensitivity calculated in step S1304. Good. In other words, the blurring of the subject in the auxiliary captured image adversely affects the calculation of the distance information and causes a decrease in accuracy. Therefore, it is preferable that the exposure time for the image sensor 243 is short. Therefore, in order to shorten the exposure time, the ISO sensitivity is set large. Since the auxiliary captured image is not a user-viewed image, the ISO sensitivity may be set large as long as it does not affect the calculation of the distance information. Therefore, the upper limit of the ISO sensitivity that can be set by the camera system control unit 245 differs depending on the value at the time of the photographing operation of the main photographic image and the value at the time of the photographing operation of the auxiliary photographic image. Is big.

このように撮影動作時における露出値と照射量が決定されると、カメラシステム制御部245は、ステップS1311へ進み、レリーズスイッチ255のSW2がONにされるのを待って、第1補助撮影画像の取得動作を実行する。具体的には、メインミラー232およびサブミラー238を被写体光束から退避させ、決定された露出値に従って絞り214およびフォーカルプレーンシャッタ241を動作させる。このとき、決定された照射量に従ってフラッシュ249を動作させ被写体を照射する。さらに、フォーカルプレーンシャッタ241が開放されている間に撮像素子243の各画素に蓄積された電荷を読み出し、画像処理部246に赤色画像および青色画像を含む補助撮影画像ファイルを生成させ、当該画像ファイルを記録部に記録する。   When the exposure value and the irradiation amount during the shooting operation are determined in this way, the camera system control unit 245 proceeds to step S1311, waits for the SW2 of the release switch 255 to be turned on, and waits for the first auxiliary captured image. Execute the acquisition operation. Specifically, the main mirror 232 and the sub mirror 238 are retracted from the subject light beam, and the diaphragm 214 and the focal plane shutter 241 are operated according to the determined exposure value. At this time, the flash 249 is operated according to the determined irradiation amount to irradiate the subject. Further, the electric charge accumulated in each pixel of the image sensor 243 is read while the focal plane shutter 241 is opened, and the auxiliary image file including the red image and the blue image is generated by the image processing unit 246, and the image file Is recorded in the recording unit.

さらにカメラシステム制御部245は、ステップS1312へ進み、レンズシステム制御部216およびアクチュエータ215を介して構造化開口ユニット300の保持枠301を回転させ、Rフィルタ部304とBフィルタ部305の相対的な位置関係を反転させる。   Further, the camera system control unit 245 proceeds to step S1312, rotates the holding frame 301 of the structured aperture unit 300 via the lens system control unit 216 and the actuator 215, and makes the relative relationship between the R filter unit 304 and the B filter unit 305. Invert the positional relationship.

そして、ステップS1313へ進み、同じ露出値と照射量で第2補助撮影画像の取得動作を実行する。具体的な処理は第1補助撮影画像の取得動作と同様である。以上により一連の処理を終了する。   Then, the process proceeds to step S1313, and the second auxiliary captured image acquisition operation is executed with the same exposure value and irradiation amount. The specific process is the same as the operation for acquiring the first auxiliary captured image. Thus, a series of processing ends.

なお、本フローにおいては、補助撮影画像として、Rフィルタ部304とBフィルタ部305を反転させて二度撮影動作を行った。しかし、上述のように一枚の補助撮影画像からも距離情報は算出できるので、特に精度を求めないのであれば第2補助撮影画像の取得を省いても構わない。または、第1補助撮影画像を解析して、被写体領域中に距離を算出できない領域があると判断されたときに、第2補助撮影画像の取得を実行しても良い。また、構造化開口400のように緑色画像も利用する場合には、3つのフィルタ部の相対的な位置関係を変えつつ三度の撮影動作を実行しても良い。   In this flow, as the auxiliary captured image, the R filter unit 304 and the B filter unit 305 are reversed and a photographing operation is performed twice. However, since the distance information can be calculated from one auxiliary captured image as described above, the acquisition of the second auxiliary captured image may be omitted if accuracy is not particularly required. Alternatively, the second auxiliary captured image may be acquired when the first auxiliary captured image is analyzed and it is determined that there is a region in which the distance cannot be calculated in the subject region. When a green image is also used as in the structured opening 400, the photographing operation may be executed three times while changing the relative positional relationship of the three filter units.

また、本フローにおいては、補助撮影画像の撮影動作時にフラッシュ249を照射させて構造化開口による光量低下を補った。しかし、被写体環境によってはフラッシュ249を照射させずに他の撮影条件を変更することにより光量低下を補っても良い。例えば、上述のように、ISO感度を大きな値に設定する。または、予め定められた露光時間を下限として、露光時間を長めに設定しても良い。つまり、カメラシステム制御部245は、本撮影画像の撮影条件に比較して、補助撮影画像の撮影条件を、被写体光束をより取り込む、取り込んだ光をより増幅する方向に変更すればよい。   Further, in this flow, the flash 249 is irradiated during the shooting operation of the auxiliary shooting image to compensate for the light amount reduction due to the structured opening. However, depending on the subject environment, the reduction in the amount of light may be compensated by changing other shooting conditions without irradiating the flash 249. For example, as described above, the ISO sensitivity is set to a large value. Alternatively, the exposure time may be set longer with a predetermined exposure time as a lower limit. That is, the camera system control unit 245 may change the shooting condition of the auxiliary captured image in a direction that captures the subject luminous flux and amplifies the captured light as compared to the shooting condition of the actual captured image.

また、本フローにおいては構造化開口ユニット300を利用することを前提に説明したが、図1を用いて説明した従来のシングルコーデッドアパーチャ、コーデッドアパーチャペアを利用する場合であっても、撮像素子243に到達する被写体光束が構造化開口によって制限されることに変わりはない。したがって、いずれの構造化開口を利用する場合であっても、カメラシステム制御部245は、補助撮影画像の撮影条件と本撮影画像の撮影条件を異ならせることが好ましい。   Further, in this flow, the description has been made on the assumption that the structured aperture unit 300 is used. However, even when the conventional single coded aperture or coded aperture pair described with reference to FIG. 1 is used, the image sensor 243 is used. The subject light flux that reaches is still limited by the structured aperture. Therefore, regardless of which structured aperture is used, the camera system control unit 245 preferably makes the shooting conditions for the auxiliary shooting image different from the shooting conditions for the main shooting image.

また、従来のシングルコーデッドアパーチャ、コーデッドアパーチャペアを利用する場合であれば、被写体を照射する照射光に赤外光を利用しても良い。赤外光を利用すれば、被写体が人物であるような場合に、まぶしいと感じさせることなく補助撮影画像を取得することができる。   Further, in the case of using a conventional single coded aperture or coded aperture pair, infrared light may be used as irradiation light for irradiating the subject. If infrared light is used, an auxiliary captured image can be acquired without feeling dazzling when the subject is a person.

次に、補助撮影画像から算出された距離情報を本撮影画像に適用する手法について説明する。上述のように補助撮影画像は構造化開口を介して取得されるので、たとえRGBのそれぞれの像を得たとしても、本撮影画像に対しては画質が劣化する。つまり、補助撮影画像は、観賞用の画像としては好ましくない。   Next, a method for applying the distance information calculated from the auxiliary captured image to the actual captured image will be described. As described above, since the auxiliary captured image is acquired through the structured aperture, even if RGB images are obtained, the image quality is deteriorated with respect to the actual captured image. That is, the auxiliary captured image is not preferable as an ornamental image.

一方で、被写体領域の距離情報として有効に利用されるのは、本撮影画像に写る被写体に対する距離情報である。したがって、本撮影画像と補助撮影画像を連続的に取得して、補助撮影画像から得られた被写体の距離情報を本撮影画像に適用することが好ましい。しかしながら、連続的に撮影する場合であっても、被写体が動いていたり、カメラを持つユーザの手が揺れていると、それぞれに写る被写体には相互にずれが生じることになる。すると、算出した距離情報をそのまま本撮影画像に適用できない。そこで、本実施形態においては、それぞれに写る被写体に生じた相互のずれを移動ベクトルとして算出し、この移動ベクトルを用いて距離情報を補正する。   On the other hand, what is effectively used as the distance information of the subject area is distance information with respect to the subject in the captured image. Therefore, it is preferable to acquire the main captured image and the auxiliary captured image continuously and apply the subject distance information obtained from the auxiliary captured image to the main captured image. However, even in the case of continuous shooting, if the subject is moving or the hand of the user holding the camera is shaking, there will be a shift between the subjects shown in each. Then, the calculated distance information cannot be applied to the actual captured image as it is. Therefore, in the present embodiment, a mutual shift generated in each of the captured subjects is calculated as a movement vector, and distance information is corrected using this movement vector.

図14は、補助撮影画像から本撮影画像の距離情報を算出する算出処理の説明図である。ここでは、連続撮影により取得された一枚目の第1本撮影画像、補助撮影画像、二枚目の第2本撮影画像を取り込んで、補助撮影画像から算出された距離情報を第1本撮影画像および第2本撮影画像へ適用する場合について説明する。また、ここでは、それぞれの撮影画像を取得してシーケンシャルに距離情報を算出する場合について説明する。したがって、本実施形態では具体的な算出処理は一眼レフカメラ200の距離情報算出部251が実行するが、上述のように、算出処理は、カメラ内で実行しなくても、例えばPCなどの独立した画像処理装置で実行することもできる。   FIG. 14 is an explanatory diagram of a calculation process for calculating distance information of the main captured image from the auxiliary captured image. Here, the first first captured image, the auxiliary captured image, and the second second captured image acquired by continuous shooting are captured, and the distance information calculated from the auxiliary captured image is used for the first actual captured image. A case of applying to an image and a second actual captured image will be described. Here, a case will be described in which each captured image is acquired and distance information is calculated sequentially. Therefore, in the present embodiment, the specific calculation process is executed by the distance information calculation unit 251 of the single-lens reflex camera 200. However, as described above, the calculation process is not executed in the camera, but an independent device such as a PC is used. It can also be executed by the image processing apparatus.

連続的に撮影された第1本撮影画像、補助撮影画像、第2本撮影画像は、それぞれ時刻t1、t2、t3に撮影された撮影画像である。それぞれの撮影時刻は、ワークメモリ253でそれぞれの撮影画像に対応させて記憶されている。あるいは、それぞれの画像ファイルのタグ情報に記録されていても良い。   The first actual captured image, the auxiliary captured image, and the second actual captured image continuously captured are captured images captured at times t1, t2, and t3, respectively. Each photographing time is stored in the work memory 253 in correspondence with each photographed image. Alternatively, it may be recorded in tag information of each image file.

時刻t1に撮影された第1本撮影画像には、図示するように、移動体901と静止体902が写っている。そして、時刻t3に撮影された第2本撮影画像にも、移動体901と静止体902が写っているが、これらの相対位置は第1本撮影画像における相対位置と異なっている。そこで、それぞれの画像領域に対して小領域を設定し、互いの画像間で2次元的に走査してマッチングを行う。マッチングの高い小領域間を囲んで同一被写体と推定される被写体領域を分類すると、移動体901と静止体902を分離することができる。   As shown in the drawing, a moving body 901 and a stationary body 902 are shown in the first actual captured image captured at time t1. The moving body 901 and the stationary body 902 are also shown in the second actual captured image captured at time t3, but their relative positions are different from the relative positions in the first actual captured image. Therefore, a small region is set for each image region, and matching is performed by two-dimensional scanning between the images. By classifying subject regions that are estimated to be the same subject around small regions with high matching, the moving body 901 and the stationary body 902 can be separated.

移動体901として分離されたそれぞれの領域を、移動体枠910、911として示す。すると、例えば、第1本撮影画像における移動体枠910の重心位置と、第2本撮影画像における移動体枠911の重心位置の差分を計算することにより、時刻t1から時刻t3の間に移動体901が移動した移動量を取得することができる。つまり、それぞれの画像の2次元方向を座標系とする画像座標系における移動ベクトル920を算出することができる。   Respective areas separated as the moving body 901 are shown as moving body frames 910 and 911. Then, for example, by calculating the difference between the centroid position of the moving body frame 910 in the first captured image and the centroid position of the moving body frame 911 in the second captured image, the moving body between time t1 and time t3 is calculated. The amount of movement 901 has moved can be acquired. That is, the movement vector 920 in the image coordinate system in which the two-dimensional direction of each image is the coordinate system can be calculated.

距離情報算出部251は、補助撮影画像からは各領域における距離情報を算出しているので、補助撮影画像における移動体901と静止体902のそれぞれの距離情報を把握している。また、補助撮影画像は時刻t2に撮影された画像であるから、時刻t1と時刻t2に対する時刻t3の内分比に応じて移動ベクトル920を分割すれば、時刻t1から時刻t2に対する移動ベクトル921と、時刻t2から時刻t3に対する移動ベクトル922を算出することができる。   Since the distance information calculation unit 251 calculates distance information in each area from the auxiliary captured image, the distance information calculation unit 251 grasps distance information of each of the moving body 901 and the stationary body 902 in the auxiliary captured image. Further, since the auxiliary captured image is an image captured at time t2, if the movement vector 920 is divided according to the internal division ratio of time t3 with respect to time t1 and time t2, the movement vector 921 from time t1 to time t2 The movement vector 922 from time t2 to time t3 can be calculated.

移動ベクトル921と移動体枠910が算出できれば、補助撮影画像に移動ベクトル921の分だけ移動された移動体枠910を当てはめて当該領域の距離情報を取得できる。この距離情報が第1本撮影画像の移動体枠910における距離情報となる。また、静止体902に対応する領域はそのまま共通の距離情報として採用できる。なお、補助撮影画像の静止体902のうち移動体901に隠れている領域は、第1本撮影画像に対して距離情報を直接持ち得ないが、例えば周りの距離情報から補間処理を施すことにより補うことができる。   If the movement vector 921 and the moving body frame 910 can be calculated, the distance information of the area can be acquired by applying the moving body frame 910 moved by the movement vector 921 to the auxiliary captured image. This distance information becomes the distance information in the moving body frame 910 of the first captured image. In addition, the area corresponding to the stationary body 902 can be directly used as common distance information. Note that the area hidden in the moving body 901 of the stationary body 902 of the auxiliary captured image cannot have distance information directly with respect to the first captured image, but for example, by performing interpolation processing from the surrounding distance information Can be supplemented.

同様に、補助撮影画像から第2本撮影画像に対する移動体901の移動ベクトル922と移動体枠911を用いて、第2本撮影画像の移動体901の距離情報を算出することができる。また、静止体902に対応する領域、移動体901に隠れる領域も同様に処理できる。   Similarly, distance information of the moving body 901 in the second captured image can be calculated from the auxiliary captured image using the movement vector 922 and the moving body frame 911 of the moving body 901 relative to the second actual captured image. Further, an area corresponding to the stationary body 902 and an area hidden by the moving body 901 can be processed in the same manner.

なお、上述の例においては、二枚の本撮影画像の間に補助撮影画像が挟まれた場合を説明したが、例えば二枚の本撮影画像の後に補助撮影画像が取得されても良い。その場合、二枚の本撮影画像から取得された移動ベクトルを撮影時刻に応じて外分すれば良い。   In the above example, the case where the auxiliary captured image is sandwiched between the two main captured images has been described. However, for example, the auxiliary captured image may be acquired after the two main captured images. In that case, the movement vector acquired from the two main photographed images may be divided in accordance with the photographing time.

以上の手順により、補助撮影画像と共に連続して撮影される本撮影画像の距離情報を取得することができる。なお、補助撮影画像は、距離情報の精度を高めたい場合には、例えばRフィルタ部304とBフィルタ部305を反転させた二枚を取得するが、その場合は、第1本撮影画像と第2本撮影画像の間に二枚の補助撮影画像が介在することになる。二枚の補助撮影画像を介在させる場合には、それぞれの撮影時刻を考慮して移動ベクトルを算出すれば良い。   According to the above procedure, distance information of the main captured image continuously captured together with the auxiliary captured image can be acquired. In addition, when the accuracy of distance information is to be improved, for example, two auxiliary captured images obtained by inverting the R filter unit 304 and the B filter unit 305 are acquired. In this case, the first captured image and the first captured image are obtained. Two auxiliary captured images are interposed between the two captured images. When two auxiliary photographed images are interposed, the movement vector may be calculated in consideration of each photographing time.

ただし、被写体中に移動体が存在する場合には、本撮影画像間の時間差が大きくなるので、間に撮影される補助撮影画像を一枚にすることが好ましい。その意味において、ユーザの手作業を介する構造化開口ユニット300のような挿抜機構ではなく、フィルタ部と開口部を自動的に切り替えることのできる、例えば図10を用いて説明した構造化開口500のような構成を採用することが好ましい。   However, when there is a moving body in the subject, the time difference between the main captured images becomes large, so it is preferable to use one auxiliary captured image captured in the meantime. In that sense, instead of the insertion / extraction mechanism such as the structured opening unit 300 through manual operation of the user, the filter portion and the opening portion can be automatically switched. For example, the structured opening 500 described with reference to FIG. It is preferable to adopt such a configuration.

また、本フローにおいては構造化開口としていずれの構成も採用できる。すなわち、図1を用いて説明した従来のシングルコーデッドアパーチャ、コーデッドアパーチャペアを利用する場合であっても、連続して本撮影画像と補助撮影画像を取得すれば、上述のフローを再現することができる。   In this flow, any structure can be adopted as the structured opening. That is, even when the conventional single coded aperture and the coded aperture pair described with reference to FIG. 1 are used, the above-described flow can be reproduced if the main captured image and the auxiliary captured image are continuously acquired. it can.

上述の説明においては、第1本撮影画像と第2本撮影画像の間で移動ベクトルを算出した。すなわち、構造化開口の影響を受けない画像どうしで移動ベクトルを算出することにより、移動ベクトルの精度を高めた。しかし、構造化開口の影響を無視し得れば、本撮影画像と補助撮影画像の二枚に対して同様の手法を採用できる。つまり、補助撮影画像にも移動体901は写っているので、本撮影画像との間でマッチング処理を行えば、両者間の移動ベクトルを算出することができる。算出された移動ベクトルと移動体枠を適用して、補助撮影画像の距離情報を本撮影画像の距離情報として補正できるのは、上述の処理と同様である。このように、本撮影画像と補助撮影画像間で直接的に距離情報の補正処理を実行する場合、撮影時刻による内分処理を伴わないので、それぞれの撮影時刻が記録されていなくても良い。また、当然ながら二枚の本撮影画像が取得されていなくても良い。   In the above description, the movement vector is calculated between the first actual captured image and the second actual captured image. That is, the accuracy of the movement vector is improved by calculating the movement vector between images that are not affected by the structured aperture. However, if the influence of the structured aperture can be ignored, the same technique can be adopted for the two images of the main image and the auxiliary image. That is, since the moving body 901 is also reflected in the auxiliary captured image, if a matching process is performed with the actual captured image, a movement vector between them can be calculated. The distance information of the auxiliary captured image can be corrected as the distance information of the main captured image by applying the calculated movement vector and moving body frame, as in the above-described process. As described above, when the correction process of the distance information is directly executed between the main photographic image and the auxiliary photographic image, since the internal division process based on the photographic time is not involved, each photographic time may not be recorded. Of course, two actual captured images may not be acquired.

次に、本撮影画像と補助撮影画像の撮影シーケンスのバリエーションについて説明する。図15は、本撮影画像と補助撮影画像の撮影シーケンスについて説明する図である。カメラシステム制御部245は、ステップS1501で本撮影画像の撮影を実行すると、SW2のON、OFFに関わらず、続けて補助撮影画像の撮影を実行する。補助撮影画像の撮影の後、ステップS1503でSW2のONが継続されていれば、ステップS1504で再び本撮影画像の撮影を実行し、これを繰り返す。カメラシステム制御部245は、ステップS1503でSW2がOFFであることを検知して一連の撮影シーケンスを終了する。つまり、最初の本撮影画像の撮影後に一枚の補助撮影画像を撮影する。これにより、連続して取得される本撮影画像の距離情報を算出することができる。   Next, variations of the shooting sequence of the main shooting image and the auxiliary shooting image will be described. FIG. 15 is a diagram for explaining a shooting sequence of the main shooting image and the auxiliary shooting image. When the camera system control unit 245 executes the shooting of the main shooting image in step S1501, the camera system control unit 245 continuously executes the shooting of the auxiliary shooting image regardless of whether the SW2 is ON or OFF. After the auxiliary captured image is captured, if SW2 is kept on in step S1503, the actual captured image is captured again in step S1504, and this is repeated. In step S1503, the camera system control unit 245 detects that SW2 is OFF, and ends the series of shooting sequences. That is, one auxiliary captured image is captured after the first actual captured image is captured. Thereby, it is possible to calculate the distance information of the main captured images that are continuously acquired.

図16は、本画撮影像と補助撮影画像の他の撮影シーケンスについて説明する図である。カメラシステム制御部245は、ステップS1601で本撮影画像の撮影を実行し、ステップS1602で、続けてSW2のONが検出されれば、本撮影画像の撮影を繰り返す。OFFであることが検知されればステップS1603へ進んで、SW2のON、OFFに関わらず続けて補助撮影画像の撮影を実行し、一連の撮影シーケンスを終了する。つまり、連続する本撮影画像の撮影後に一枚の補助撮影画像を撮影する。これにより、連続して取得される本撮影画像の距離情報を算出することができる。   FIG. 16 is a diagram for explaining another shooting sequence of the main image and the auxiliary shooting image. In step S1601, the camera system control unit 245 executes the shooting of the main shooting image. If SW2 is continuously detected in step S1602, the camera system control unit 245 repeats the shooting of the main shooting image. If it is detected that it is OFF, the process proceeds to step S1603, and the auxiliary captured image is continuously captured regardless of whether SW2 is ON or OFF, and the series of imaging sequences is completed. That is, one auxiliary photographed image is photographed after successive continuous photographed images are photographed. Thereby, it is possible to calculate the distance information of the main captured images that are continuously acquired.

図17は、本画撮影像と補助撮影画像の他の撮影シーケンスについて説明する図である。カメラシステム制御部245は、SW2のONが検出されると、ステップS1701でフラグmに0を代入する。そして、ステップS1702でSW2のONが継続して検出されれば、ステップS1703へ進み、まずフラグmをカウントアップする。続けてステップS1704へ進み本撮影画像を撮影する。カメラシステム制御部245は、ステップS1705へ進み、フラグmが予め定められたmと等しいか否かを判断する。等しくなければステップS1702へ戻って本撮影画像の撮影を繰り返す。等しければステップS1706へ進み、補助撮影画像を撮影して、再びステップS1701へ戻る。ステップS1702でSW2のOFFが検出されると、カメラシステム制御部245は一連の撮影シーケンスを終了する。つまり、予め定められたm枚の本撮影画像の撮影ごとに一枚の補助撮影画像を撮影する。これにより、連続して取得される本撮影画像の距離情報を算出することができる。 FIG. 17 is a diagram for explaining another shooting sequence of the main image shooting image and the auxiliary shooting image. When the ON of SW2 is detected, the camera system control unit 245 assigns 0 to the flag m in step S1701. If it is detected in step S1702 that SW2 is continuously turned on, the process proceeds to step S1703, and first the flag m is counted up. Subsequently, the process proceeds to step S1704 to shoot a main photographic image. The camera system control unit 245 proceeds to step S1705, it is determined whether equal m 0 the flag m is predetermined. If they are not equal, the process returns to step S1702 to repeat the photographing of the actual photographed image. If they are equal, the process proceeds to step S1706, an auxiliary captured image is captured, and the process returns to step S1701 again. When SW2 OFF is detected in step S1702, the camera system control unit 245 ends a series of shooting sequences. That is, one auxiliary captured image is captured every time a predetermined number of M 0 main captured images are captured. Thereby, it is possible to calculate the distance information of the main captured images that are continuously acquired.

以上の撮影シーケンスは互いに組み合わせても良い。また、前回実行された補助撮影画像の撮影との間に実行された本撮影画像の撮影の回数を考慮して補助撮影を実行するか否かを決定しても良い。   The above imaging sequences may be combined with each other. In addition, it may be determined whether or not to perform auxiliary shooting in consideration of the number of times of shooting of the main shooting image executed before the shooting of the auxiliary shooting image executed last time.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。   The order of execution of each process such as operations, procedures, steps, and stages in the apparatus, system, program, and method shown in the claims, the description, and the drawings is particularly “before” or “prior to”. It should be noted that the output can be realized in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the description, and the drawings, even if it is described using “first”, “next”, etc. for convenience, it means that it is essential to carry out in this order. It is not a thing.

101、111 保持枠、102、112 フィルタ、103、113 遮断フィルタ部、104、114 透過フィルタ部、200 一眼レフカメラ、201 光軸、210 レンズユニット、211 レンズ群、212 フォーカスレンズ、213 ズームレンズ、214 絞り、215 アクチュエータ、216 レンズシステム制御部、217 レンズ鏡筒、218 レンズマウント、219 装着スリット、220 挿抜ガイド、221 レンズメモリ、222 構造化開口駆動部、230 カメラユニット、231 カメラマウント、232 メインミラー、233 回転軸、234 ピント板、235 ペンタプリズム、236 接眼光学系、237 AEセンサ、238 サブミラー、239 AF光学系、240 AFセンサ、241 フォーカルプレーンシャッタ、242 光学ローパスフィルタ、243 撮像素子、244 メイン基板、245 カメラシステム制御部、246 画像処理部、247 表示部、248 二次電池、249 フラッシュ、250 パターン投光部、251 距離情報算出部、252 カメラメモリ、253 ワークメモリ、254 外部接続IF、255 レリーズスイッチ、300 構造化開口ユニット、301 保持枠、302 フィルタ、303 遮断フィルタ部、304 Rフィルタ部、305 Bフィルタ部、306 ギア、307 ベース部、308 外周部、309 把持部、400 構造化開口、401 保持枠、402 フィルタ、404 Rフィルタ部、405 Bフィルタ部、406 Gフィルタ部、407 ギア、500 構造化開口、501 保持枠、506 ギア、510 回転軸、511 点線、515 アクチュエータ、517 レンズ鏡筒、522,532 フィルタ、523 遮断フィルタ部、524 Rフィルタ部、525 Bフィルタ部、542 全開口、533 遮断フィルタ部、534 Rフィルタ部、535 Bフィルタ部、601 B曲線、602 G曲線、603 R曲線、611、613 矢印、700 構造化開口、701 保持枠、702 フィルタ、703 透過フィルタ部、704 Cフィルタ部、705 Yフィルタ部、706 ギア、800 一眼レフカメラ、801 瞳位置、802 構造化開口、810 レンズユニット、830 カメラユニット、831 一次結像面、843 撮像素子、901 移動体、902 静止体、910、911 移動体枠、920、921、922 移動ベクトル 101, 111 holding frame, 102, 112 filter, 103, 113 blocking filter unit, 104, 114 transmission filter unit, 200 single-lens reflex camera, 201 optical axis, 210 lens unit, 211 lens group, 212 focus lens, 213 zoom lens, 214 Aperture, 215 Actuator, 216 Lens system control unit, 217 Lens barrel, 218 Lens mount, 219 Mounting slit, 220 Insertion / extraction guide, 221 Lens memory, 222 Structured aperture drive unit, 230 Camera unit, 231 Camera mount, 232 Main Mirror, 233 Rotating shaft, 234 Focus plate, 235 Penta prism, 236 Eyepiece optical system, 237 AE sensor, 238 Sub mirror, 239 AF optical system, 240 AF sensor, 241 Four Ruplane shutter, 242 Optical low-pass filter, 243 Image sensor, 244 Main board, 245 Camera system control unit, 246 Image processing unit, 247 Display unit, 248 Secondary battery, 249 Flash, 250 pattern light projecting unit, 251 Distance information calculation , 252 Camera memory, 253 Work memory, 254 External connection IF, 255 Release switch, 300 Structured opening unit, 301 Holding frame, 302 Filter, 303 Blocking filter, 304 R filter, 305 B filter, 306 Gear, 307 base part, 308 outer periphery part, 309 grip part, 400 structured opening, 401 holding frame, 402 filter, 404 R filter part, 405 B filter part, 406 G filter part, 407 gear, 500 structured opening, 501 Holding frame, 506 gear, 510 rotating shaft, 511 dotted line, 515 actuator, 517 lens barrel, 522, 532 filter, 523 blocking filter section, 524 R filter section, 525 B filter section, 542 full opening, 533 blocking filter section, 534 R filter section, 535 B filter section, 601 B curve, 602 G curve, 603 R curve, 611, 613 arrow, 700 structured aperture, 701 holding frame, 702 filter, 703 transmission filter section, 704 C filter section, 705 Y filter section, 706 gear, 800 single-lens reflex camera, 801 pupil position, 802 structured aperture, 810 lens unit, 830 camera unit, 831 primary imaging plane, 843 image sensor, 901 moving body, 902 stationary body, 910, 911 Moving body frame, 92 , 921 and 922 movement vector

Claims (8)

光学系を介して入射する被写体光束を複数の波長帯に分離して検出する撮像素子と、
前記光学系の光軸に交差して配設される構造化開口と、
前記構造化開口を前記被写体光束に対して挿抜する挿抜機構と、
前記挿抜機構により前記構造化開口を抜出して実行する本画像撮影と、前記挿抜機構により前記構造化開口を挿入して実行する補助画像撮影を制御する撮影制御部と
を備え、
前記撮影制御部は、前記本画像撮影と前記補助画像撮影で撮影条件を変更する撮像装置。
An image sensor that separates and detects a subject luminous flux incident through an optical system into a plurality of wavelength bands;
A structured aperture disposed across the optical axis of the optical system;
An insertion / extraction mechanism for inserting / extracting the structured aperture with respect to the subject luminous flux;
A main image capturing unit that extracts and executes the structured opening by the insertion / extraction mechanism; and an imaging control unit that controls auxiliary image capturing that is performed by inserting the structured opening by the insertion / extraction mechanism;
The imaging control unit is an imaging apparatus that changes imaging conditions between the main image shooting and the auxiliary image shooting.
前記構造化開口は、前記複数の波長帯のうちの一つである第1波長帯を透過または遮断する第1フィルタと、前記複数の波長帯のうちの一つであって前記第1波長帯とは異なる第2波長帯を透過または遮断する第2フィルタを、前記光学系の光軸に対してそれぞれ偏心した位置に設けられた第1開口および第2開口に有する請求項1に記載の撮像装置。   The structured aperture includes a first filter that transmits or blocks a first wavelength band that is one of the plurality of wavelength bands, and one of the plurality of wavelength bands that is the first wavelength band. 2. The imaging according to claim 1, wherein a second filter that transmits or blocks a second wavelength band different from the first wavelength is provided in a first opening and a second opening provided at positions decentered with respect to the optical axis of the optical system. apparatus. 被写体を照射する照射部を備え、
前記撮影制御部は、前記補助画像撮影を実行するときは、前記照射部により前記被写体を照射する請求項1または2に記載の撮像装置。
An irradiation unit for irradiating the subject,
The imaging apparatus according to claim 1, wherein the imaging control unit irradiates the subject with the irradiation unit when performing the auxiliary image capturing.
前記撮影制御部は、前記挿抜機構により前記構造化開口を挿入した後に前記照射部の事前照射を行って適切な照射量を算出した後に、前記照射量により前記照射部を照射させて前記補助画像撮影を実行する請求項3に記載の撮像装置。   The imaging control unit performs pre-irradiation of the irradiation unit after the structured opening is inserted by the insertion / extraction mechanism, calculates an appropriate irradiation amount, and then irradiates the irradiation unit with the irradiation amount, thereby the auxiliary image. The imaging apparatus according to claim 3, wherein imaging is performed. 前記照射部の照射光は赤外光である請求項3または4に記載の撮像装置。   The imaging device according to claim 3, wherein the irradiation light of the irradiation unit is infrared light. 前記撮影制御部は、前記本画像撮影を実行するときにも前記照射部により前記被写体を照射する場合は、前記本画像撮影における前記照射部の照射量に基づいて前記補助画像撮影における照射量を算出する請求項3または4に記載の撮像装置。   In the case where the subject is irradiated by the irradiation unit even when the main image shooting is performed, the shooting control unit determines the irradiation amount in the auxiliary image shooting based on the irradiation amount of the irradiation unit in the main image shooting. The imaging device according to claim 3 or 4, wherein the imaging device is calculated. 前記撮影制御部は、前記撮像素子の読み出しゲインに対応するISO感度を、前記本画像撮影における設定よりも前記補助画像撮影における設定を大きくする請求項1から6のいずれか1項に記載の撮像装置。   The imaging according to any one of claims 1 to 6, wherein the imaging control unit sets the ISO sensitivity corresponding to the readout gain of the imaging device to a larger setting in the auxiliary image shooting than the setting in the main image shooting. apparatus. 前記補助画像撮影における前記ISO感度の設定上限値は、前記本画像撮影における設定上限値と異なる請求項7に記載の撮像装置。   The imaging apparatus according to claim 7, wherein a set upper limit value of the ISO sensitivity in the auxiliary image shooting is different from a set upper limit value in the main image shooting.
JP2010135071A 2010-06-14 2010-06-14 Imaging device Withdrawn JP2012002859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010135071A JP2012002859A (en) 2010-06-14 2010-06-14 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010135071A JP2012002859A (en) 2010-06-14 2010-06-14 Imaging device

Publications (1)

Publication Number Publication Date
JP2012002859A true JP2012002859A (en) 2012-01-05

Family

ID=45534958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010135071A Withdrawn JP2012002859A (en) 2010-06-14 2010-06-14 Imaging device

Country Status (1)

Country Link
JP (1) JP2012002859A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016061609A (en) * 2014-09-16 2016-04-25 キヤノン株式会社 Distance measuring device, imaging apparatus, and distance measuring method
US10841493B2 (en) 2018-09-13 2020-11-17 Kabushiki Kaisha Toshiba Optical filter, imaging device, and ranging device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016061609A (en) * 2014-09-16 2016-04-25 キヤノン株式会社 Distance measuring device, imaging apparatus, and distance measuring method
US10841493B2 (en) 2018-09-13 2020-11-17 Kabushiki Kaisha Toshiba Optical filter, imaging device, and ranging device

Similar Documents

Publication Publication Date Title
JP5517514B2 (en) Imaging apparatus and control method thereof
JP6062656B2 (en) Imaging apparatus, control method, and program
JP5947601B2 (en) FOCUS DETECTION DEVICE, ITS CONTROL METHOD, AND IMAGING DEVICE
JP2012022308A (en) Imaging device
JP5898481B2 (en) Imaging apparatus and focus detection method
JP5644468B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL PROGRAM
JP2013013050A (en) Imaging apparatus and display method using imaging apparatus
US10986262B2 (en) Imaging apparatus, control method, and non-transitory storage medium
JP5482799B2 (en) Electronic camera
JP2007323030A (en) Imaging device, control method thereof, image processing apparatus, image processing method, imaging system and program
JP2007053427A (en) Imaging apparatus, image processing method and program
JP5714931B2 (en) Imaging device
US9591203B2 (en) Image processing apparatus, image processing method, recording medium, and image pickup apparatus
JP5241347B2 (en) Imaging device
JP5510094B2 (en) Image processing apparatus and image processing program
JP2008242185A (en) Digital camera and autofocus device
JP2015207851A (en) image processing method, image processing apparatus, imaging apparatus, image processing program, and storage medium
JP2012002859A (en) Imaging device
JP2012002870A (en) Imaging device, photographic lens, and image processing program
JP2012022309A (en) Imaging device
JP2012088169A (en) Distance information acquisition device and imaging apparatus
JP2012107956A (en) Device for acquiring distance information, imaging divice, and structured aperture unit
JP6997544B2 (en) Imaging device and its control method, program, storage medium
JP5144469B2 (en) Imaging apparatus and control method thereof
US11736658B2 (en) Image pickup apparatus, image pickup method, and storage medium

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