JP2014204299A - Imaging apparatus and method for controlling the same - Google Patents

Imaging apparatus and method for controlling the same Download PDF

Info

Publication number
JP2014204299A
JP2014204299A JP2013079147A JP2013079147A JP2014204299A JP 2014204299 A JP2014204299 A JP 2014204299A JP 2013079147 A JP2013079147 A JP 2013079147A JP 2013079147 A JP2013079147 A JP 2013079147A JP 2014204299 A JP2014204299 A JP 2014204299A
Authority
JP
Japan
Prior art keywords
parallax
resolution
image
amount
eye image
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.)
Pending
Application number
JP2013079147A
Other languages
Japanese (ja)
Inventor
亮 及川
Akira Oikawa
亮 及川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2013079147A priority Critical patent/JP2014204299A/en
Publication of JP2014204299A publication Critical patent/JP2014204299A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus for changing parallax information in accordance with a resolution of a captured image.SOLUTION: An image sensor 505 of an imaging apparatus comprises pixel units each of which includes a plurality of photoelectric conversion sections which generate image signals by photoelectrically converting beams which have passed divided different regions of an exit pupil of an imaging optical system with respect to one micro-lens. The imaging apparatus: sets a resolution of the image signals which are outputted by the image sensor; detects an amount of parallax of right-eye image data and left-eye image data which are generated on the basis of the image signals outputted by the image sensor; and edits the detected amount of parallax in accordance with the set resolution.

Description

本発明は、撮像装置および撮像装置の制御方法に関する。   The present invention relates to an imaging apparatus and a method for controlling the imaging apparatus.

近年、3次元(3D)シネマや3Dディスプレイなど、立体映像関連機器の普及が急速に進んでいる。立体映像撮影は従来からフィルム式カメラなどでも行われてきたが、デジタル撮像装置の普及に伴い、デジタルカメラやデジタルビデオカメラ等により立体映像を生成するための元画像が撮影されるようになってきている。   In recent years, the spread of stereoscopic video related devices such as a three-dimensional (3D) cinema and a 3D display has been rapidly increasing. Although stereoscopic video shooting has been conventionally performed with a film-type camera or the like, an original image for generating a stereoscopic video is being shot with a digital camera or a digital video camera along with the spread of digital imaging devices. ing.

ユーザが立体映像を鑑賞する仕組みとしては、対象物を左目で見た像及び右目で見た像に対応するように、左右方向に視差を持たせた、右目用画像と左目用画像のデータが用意される。各画像をユーザが右目と左目でそれぞれ見ることで立体視可能である。その方法には、視差バリア方式やレンチキュラ方式などのように鑑賞対象の映像を視差分割する方法がある。また左右で特性の異なるフィルタを介して、ユーザの左目と右目に異なる映像を提示する方法などが知られている。   As a mechanism for a user to view a stereoscopic video, data of a right-eye image and a left-eye image that have a parallax in the left-right direction so as to correspond to an image of an object viewed with the left eye and an image viewed with the right eye are Prepared. A user can view each image stereoscopically by looking at the right eye and the left eye. As such a method, there is a method of dividing an image to be viewed by parallax, such as a parallax barrier method or a lenticular method. There is also known a method of presenting different videos for the left and right eyes of the user through filters having different characteristics on the left and right.

一方、立体映像として鑑賞可能な画像の撮影方法として、異なる視点での画像を同時に撮影する方法が、特許文献1および2に開示されている。特許文献1は、複数の微小レンズが形成され、該微小レンズの各々に近接して、対を成すフォトダイオードが1対以上配置されている固体撮像素子を開示する。フォトダイオード対のうち、一方のフォトダイオードの出力から第1の画像信号が得られ、他方のフォトダイオードの出力から第2の画像信号が得られる。第1及び第2の画像信号を、左目用画像、右目用画像としてそれぞれ用いることで、ユーザの立体映像の鑑賞が可能となる。   On the other hand, Patent Documents 1 and 2 disclose a method for simultaneously capturing images from different viewpoints as a method for capturing an image that can be viewed as a stereoscopic video. Patent Document 1 discloses a solid-state imaging device in which a plurality of microlenses are formed, and one or more pairs of photodiodes are arranged in proximity to each of the microlenses. A first image signal is obtained from the output of one of the photodiode pairs, and a second image signal is obtained from the output of the other photodiode. By using the first and second image signals as the left-eye image and the right-eye image, respectively, the user can view the stereoscopic video.

また、特許文献2は、第1の画像のそれぞれの画素に適用されるべきシフトに対応する出力値を持つ出力要素を有する出力視差マップを開示する。この出力視差マップと第1の画像とに基づいて、第2の画像を生成することができる。   Patent Document 2 discloses an output parallax map having an output element having an output value corresponding to a shift to be applied to each pixel of the first image. A second image can be generated based on the output parallax map and the first image.

撮影したステレオ画像を表示装置にて表示する際に、表示装置のディスプレイの大きさと鑑賞者の位置によって、得られる立体感が異なる。視差マップに保存されている視差量は、立体感を表現した値であるが、視差量と、表示装置のディスプレイの大きさとが適合していないと、表示装置がステレオ画像を表示しても不自然な立体感となってしまう。例えば、立体感を得られなかったり、立体感が多すぎて眼の疲労を起こしてしまったりする。特許文献3は、ステレオ画像の視差を変更する視差変更装置によって視差を変更した画像を、ステレオ表示装置にて再生するシステムを開示している。   When a captured stereo image is displayed on a display device, the stereoscopic effect obtained differs depending on the size of the display of the display device and the position of the viewer. The amount of parallax stored in the parallax map is a value representing a stereoscopic effect, but if the amount of parallax and the display size of the display device do not match, the display device will not display a stereo image. It becomes a natural three-dimensional effect. For example, the stereoscopic effect may not be obtained, or the stereoscopic effect may be excessive and cause eye fatigue. Patent Document 3 discloses a system that reproduces an image whose parallax has been changed by a parallax changing device that changes the parallax of a stereo image on a stereo display device.

特開昭58−24105号公報JP-A-58-24105 特表2008−518317号公報Special table 2008-518317 特開2010−045584号公報JP 2010-045584 A

特許文献3が開示しているシステムは、情報取得部から取得したステレオ表示装置のディスプレイの大きさに基づいて視差量を変換したステレオ画像を表示する。しかし、このシステムは、再生時にディスプレイの大きさに応じた視差の補正は行えるが、撮影画像の解像度に応じた補正を考慮していないので、ステレオ画像を表示する際に、解像度の低い画像における立体感が損なわれてしまう。また、このシステムでは、出力するディスプレイに撮影画像をピクセル等倍で表示する際には、適切な立体感のあるステレオ画像を提供することができない。   The system disclosed in Patent Literature 3 displays a stereo image obtained by converting the parallax amount based on the display size of the stereo display device acquired from the information acquisition unit. However, this system can correct the parallax according to the size of the display during playback, but does not consider the correction according to the resolution of the captured image. The three-dimensional effect is impaired. Further, in this system, when a captured image is displayed at the same pixel magnification on the output display, a stereo image having an appropriate stereoscopic effect cannot be provided.

本発明は、撮影画像の解像度に応じて視差情報を変更する撮像装置の提供を目的とする。   An object of the present invention is to provide an imaging apparatus that changes parallax information according to the resolution of a captured image.

本発明の一実施形態の撮像装置は、一つのマイクロレンズに対して撮像光学系の射出瞳の分割された異なる領域を通過した光束を光電変換して画像信号を生成する複数の光電変換部を有する画素部を備える撮像素子と、前記撮像素子が出力する画像信号の解像度を設定する設定手段と、前記撮像素子の出力する画像信号に基づいて生成される左目用画像データと右目用画像データの視差量を検出する検出手段と、前記検出された視差量を、前記設定手段により設定された解像度に応じて編集する編集手段とを備える。   An imaging apparatus according to an embodiment of the present invention includes a plurality of photoelectric conversion units that generate an image signal by photoelectrically converting a light beam that has passed through different regions of an exit pupil of an imaging optical system with respect to one microlens. An image sensor including a pixel unit, setting means for setting a resolution of an image signal output from the image sensor, and left-eye image data and right-eye image data generated based on the image signal output from the image sensor. Detection means for detecting the amount of parallax, and editing means for editing the detected amount of parallax according to the resolution set by the setting means.

本発明の撮像装置によれば、解像度に応じた適切な立体感のあるステレオ画像を提供することができる。   According to the imaging apparatus of the present invention, it is possible to provide a stereo image having an appropriate stereoscopic effect according to the resolution.

撮像装置が適用する撮像素子の構成例を概略的に示す図である。It is a figure showing roughly the example of composition of the image sensor which an imaging device applies. 撮像素子の画素の構成例を示す図である。It is a figure which shows the structural example of the pixel of an image pick-up element. 撮影レンズの射出瞳から出た光束が撮像素子に入射する様子を表した概念図である。It is the conceptual diagram showing a mode that the light beam which came out of the exit pupil of the imaging lens injects into an image pick-up element. 本実施形態の撮像装置の構成例を示す図である。It is a figure which shows the structural example of the imaging device of this embodiment. 本実施形態における視差マップの生成処理の一例を示す図である。It is a figure which shows an example of the production | generation process of the parallax map in this embodiment. 撮像装置が生成する画像データのファイル構造の一例である。It is an example of the file structure of the image data which an imaging device produces | generates. 視差量の編集例を説明する図である。It is a figure explaining the example of editing of the amount of parallax. 視差量の編集例を説明する図である。It is a figure explaining the example of editing of the amount of parallax. 視差マップの生成処理を説明するフローチャートである。It is a flowchart explaining the production | generation process of a parallax map. 視差量の拡大処理の例を説明するフローチャートである。It is a flowchart explaining the example of the expansion process of the amount of parallax. 解像度に応じた視差拡大処理が行われた際の視差マップの例を示す図である。It is a figure which shows the example of the parallax map at the time of the parallax expansion process according to the resolution being performed. 視差マップの生成処理を説明するフローチャートである。It is a flowchart explaining the production | generation process of a parallax map. 視差量の拡大処理の例を説明するフローチャートである。It is a flowchart explaining the example of the expansion process of the amount of parallax. 視差拡大テーブルの一例を示す図である。It is a figure which shows an example of a parallax expansion table.

図1は、本実施形態の撮像装置が適用する撮像素子の構成例を概略的に示す図である。撮像素子100は、画素アレイ101と、画素アレイ101における行を選択する垂直選択回路102と、画素アレイ101における列を選択する水平選択回路104を含む。読み出し回路103は、画素アレイ101中の画素のうち垂直選択回路102によって選択される画素の信号を読み出す。読み出し回路103は、信号を蓄積するメモリ、ゲインアンプ、AD変換器などを列毎に有する。   FIG. 1 is a diagram schematically illustrating a configuration example of an imaging element applied by the imaging apparatus of the present embodiment. The image sensor 100 includes a pixel array 101, a vertical selection circuit 102 that selects a row in the pixel array 101, and a horizontal selection circuit 104 that selects a column in the pixel array 101. The readout circuit 103 reads out the signal of the pixel selected by the vertical selection circuit 102 among the pixels in the pixel array 101. The reading circuit 103 includes a memory for storing signals, a gain amplifier, an AD converter, and the like for each column.

シリアルインターフェース(SI)部105は、各回路の動作モードなどを外部回路(例えば、図4中のシステム制御部509やタイミング発生部507)からの指示に従って決定する。垂直選択回路102は、画素アレイ101の複数の行を順次選択し、読み出し回路103に画素信号を取り出す。また水平選択回路104は、読み出し回路103によって読み出された複数の画素信号を列毎に順次選択する。なお、撮像素子100は、図1に示す構成要素以外に、例えば、垂直選択回路102、水平選択回路104、読み出し回路103等にタイミング信号を提供するタイミングジェネレータや、制御回路等が存在するが、これらの詳細な説明は省略する。   The serial interface (SI) unit 105 determines an operation mode of each circuit according to an instruction from an external circuit (for example, the system control unit 509 or the timing generation unit 507 in FIG. 4). The vertical selection circuit 102 sequentially selects a plurality of rows in the pixel array 101 and extracts pixel signals to the readout circuit 103. The horizontal selection circuit 104 sequentially selects a plurality of pixel signals read by the reading circuit 103 for each column. In addition to the components shown in FIG. 1, the image sensor 100 includes, for example, a timing generator that provides a timing signal to the vertical selection circuit 102, the horizontal selection circuit 104, the readout circuit 103, a control circuit, and the like. These detailed explanations are omitted.

図2は、撮像素子100の画素の構成例を示す図である。図2(A)は1画素の構成を概略的に示す。図2(B)は、画素アレイ101の配置を示す。図2(A)に示す画素201は、光学素子としてのマイクロレンズ202と、受光素子としての複数のフォトダイオード(以下、PDと略記する)とを有する。   FIG. 2 is a diagram illustrating a configuration example of pixels of the image sensor 100. FIG. 2A schematically shows the configuration of one pixel. FIG. 2B shows the arrangement of the pixel array 101. A pixel 201 illustrated in FIG. 2A includes a microlens 202 as an optical element and a plurality of photodiodes (hereinafter abbreviated as PD) as light receiving elements.

図2(A)には、1画素に左側のPD203と右側のPD204の2個を設けた例を示すが、3個以上(例えば、4個または9個)のPDを用いてもよい。PD203は、受光した光束を光電変換して左目用画像を出力する。PD204は、受光した光束を光電変換して右目用画像を出力する。なお、画素201は、図示の構成要素以外にも、例えば、PD信号を読み出し回路103に取り出す画素増幅アンプや、行選択スイッチ、PD信号のリセットスイッチなどを備える。   FIG. 2A illustrates an example in which two pixels, the left PD 203 and the right PD 204, are provided in one pixel, but three or more (for example, four or nine) PDs may be used. The PD 203 photoelectrically converts the received light beam and outputs a left-eye image. The PD 204 photoelectrically converts the received light beam and outputs a right-eye image. The pixel 201 includes, for example, a pixel amplification amplifier that extracts a PD signal to the reading circuit 103, a row selection switch, a PD signal reset switch, and the like in addition to the illustrated components.

画素アレイ101は、2次元画像を提供するため、図2(B)に示す多数の画素301から304のように、2次元アレイ状に配列して構成される。PD301L、302L、303L、304Lは、図2(A)中のPD203に相当する。また、PD301R、302R、303R、304Rは、図2(A)中のPD204に相当する。すなわち、本実施形態の撮像装置は、各々が、左目用画像を出力する第1の光電変換部(PD203)と、右目用画像を出力する第2の光電変換部(PD204)とを有する複数の画素部を備える撮像素子を備える。   In order to provide a two-dimensional image, the pixel array 101 is arranged in a two-dimensional array like a large number of pixels 301 to 304 shown in FIG. The PDs 301L, 302L, 303L, and 304L correspond to the PD 203 in FIG. PDs 301R, 302R, 303R, and 304R correspond to the PD 204 in FIG. That is, the imaging apparatus according to the present embodiment includes a plurality of first photoelectric conversion units (PD 203) that output a left-eye image and a second photoelectric conversion unit (PD 204) that outputs a right-eye image. An imaging device including a pixel portion is provided.

次に、図2(B)に示す画素構成を有する撮像素子100の受光について説明する。図3は、撮影レンズの射出瞳から出た光束が撮像素子100に入射する様子を表した概念図である。   Next, light reception of the imaging element 100 having the pixel configuration illustrated in FIG. FIG. 3 is a conceptual diagram illustrating a state in which a light beam emitted from the exit pupil of the photographing lens enters the image sensor 100.

画素アレイ101は、マイクロレンズ202と、カラーフィルタ403と、PD404および405を有する。PD404、PD405は、図2(A)中のPD203、PD204にそれぞれ相当する。   The pixel array 101 includes a microlens 202, a color filter 403, and PDs 404 and 405. PD 404 and PD 405 correspond to PD 203 and PD 204 in FIG.

図3において、マイクロレンズ202に対して、撮影レンズの射出瞳406から出た光束の中心を光軸409とする。射出瞳406から出た光は、光軸409を中心として撮像素子100に入射する。一部領域407、408は、撮影レンズの射出瞳406の領域である。光線410、411は、一部領域407を通過する光の最外周の光線である。光線412、413は、一部領域408を通過する光の最外周の光線である。   In FIG. 3, the center of the light beam emitted from the exit pupil 406 of the photographing lens with respect to the microlens 202 is an optical axis 409. The light emitted from the exit pupil 406 enters the image sensor 100 with the optical axis 409 as the center. Partial areas 407 and 408 are areas of the exit pupil 406 of the photographing lens. Light rays 410 and 411 are the outermost light rays of the light passing through the partial region 407. Light rays 412 and 413 are the outermost light rays of the light passing through the partial region 408.

射出瞳406から出る光束のうち、光軸409を境界線として、上側の光束はPD405に入射し、下側の光束はPD404に入射する。つまり、PD404とPD405は、各々、撮影光学系の射出瞳の分割された異なる領域からの光束を受光する。このように各受光素子は射出瞳での異なる領域の光を検出するため、点光源からの光が暈けた状態で撮影される状況では、それぞれに異なった形状の撮影画像が得られることになる。   Out of the light beams emitted from the exit pupil 406, with the optical axis 409 as a boundary line, the upper light beam enters the PD 405, and the lower light beam enters the PD 404. That is, the PD 404 and the PD 405 each receive light beams from different regions obtained by dividing the exit pupil of the photographing optical system. In this way, each light receiving element detects light in a different region at the exit pupil, and therefore, in a situation where light is taken from a point light source, photographed images having different shapes can be obtained. .

図4は、本実施形態の撮像装置の構成例を示す図である。図4を参照して、図1に示す撮像素子100の、撮像装置であるデジタルカメラへの適用例について説明する。なお、本実施形態の制御方法は、図4に示す撮像装置が備える処理部の機能によって実現される。撮像光学系を構成するレンズ部501は、被写体からの光を撮像素子505に結像する。撮像素子505は、図1に示す撮像素子100に相当し、図2(B)に示す画素構成を有する。   FIG. 4 is a diagram illustrating a configuration example of the imaging apparatus according to the present embodiment. With reference to FIG. 4, an application example of the image sensor 100 shown in FIG. 1 to a digital camera which is an image pickup apparatus will be described. Note that the control method of the present embodiment is realized by the function of the processing unit included in the imaging apparatus shown in FIG. The lens unit 501 constituting the imaging optical system forms an image of light from the subject on the imaging element 505. The imaging element 505 corresponds to the imaging element 100 illustrated in FIG. 1 and has a pixel configuration illustrated in FIG.

レンズ駆動装置502は、ズーム制御、フォーカス制御、絞り制御などを行う。メカニカルシャッタ503は、シャッタ駆動装置504によって制御される。撮像素子505は、レンズ部501により結像した被写体像を画像信号に変換する。撮像信号処理回路506は、撮像素子505の出力する画像信号に対して各種の処理や補正を行う。タイミング発生部507は、撮像素子505や撮像信号処理回路506に必要なタイミング信号を出力する。   The lens driving device 502 performs zoom control, focus control, aperture control, and the like. The mechanical shutter 503 is controlled by a shutter driving device 504. The image sensor 505 converts the subject image formed by the lens unit 501 into an image signal. The imaging signal processing circuit 506 performs various processes and corrections on the image signal output from the imaging element 505. The timing generator 507 outputs a timing signal necessary for the image sensor 505 and the image signal processing circuit 506.

システム制御部509は、各種演算を行い、撮像装置全体を制御する。不図示のCPU(中央演算処理装置)がプログラムを実行することでシステム制御部509の機能を実現する。本実施形態に特有の動作として、システム制御部509は、撮像素子505が出力する画像信号の解像度を設定する。また、システム制御部509は、画像合成回路513が生成した合成画像と、視差マップ生成回路514が生成した視差マップとに基づいて、3次元表示用の左目用画像と右目用画像とを生成する。視差マップ生成回路514により視差マップが生成され、求められた視差マップはメモリ部508に蓄積される。   A system control unit 509 performs various calculations and controls the entire imaging apparatus. A function of the system control unit 509 is realized by a CPU (Central Processing Unit) (not shown) executing a program. As an operation specific to the present embodiment, the system control unit 509 sets the resolution of the image signal output by the image sensor 505. Further, the system control unit 509 generates a left-eye image and a right-eye image for three-dimensional display based on the synthesized image generated by the image synthesis circuit 513 and the parallax map generated by the parallax map generation circuit 514. . A parallax map is generated by the parallax map generation circuit 514, and the obtained parallax map is stored in the memory unit 508.

視差マップ生成回路514は、左目用画像と右目用画像を用いて、視差量を算出し、システム制御部509から指定された視差範囲に補正して視差マップを生成する。システム制御部509は、視差マップに基づいて3次元表示用の画像データを生成し、表示手段(不図示)を通じて再生することによって、ユーザに立体画像を鑑賞させる。システム制御部509は、例えば、撮像装置に接続されたステレオ表示装置に3次元表示用の画像データを送信して表示させる。なお、システム制御部509は、左目用画像と右目用画像と基づいて、位相差の検知を行って、位相差AFを実現することもできる。   The parallax map generation circuit 514 calculates a parallax amount using the left-eye image and the right-eye image, corrects the parallax range specified by the system control unit 509, and generates a parallax map. The system control unit 509 generates image data for three-dimensional display based on the parallax map, and reproduces it through display means (not shown), thereby allowing the user to view a stereoscopic image. For example, the system control unit 509 transmits and displays image data for three-dimensional display on a stereo display device connected to the imaging device. Note that the system control unit 509 can also realize phase difference AF by detecting a phase difference based on the left-eye image and the right-eye image.

メモリ部508は、画像データを一時的に記憶するメモリを備える。記憶媒体制御インターフェース部(以下、I/F部と略記する)510は、記録媒体511に画像データ(画像ファイル)などを記録し、または記録媒体511から画像データを読み出すために設けられる。撮像装置に着脱可能な記録媒体511は、半導体メモリ等である。外部I/F部512は、外部装置との間でデータを送受する。   The memory unit 508 includes a memory that temporarily stores image data. A storage medium control interface unit (hereinafter abbreviated as I / F unit) 510 is provided for recording image data (image file) or the like on the recording medium 511 or reading image data from the recording medium 511. The recording medium 511 that can be attached to and detached from the imaging apparatus is a semiconductor memory or the like. The external I / F unit 512 transmits / receives data to / from an external device.

撮像信号処理回路506は、撮像素子505が出力する撮像データを左目用画像と右目用画像に振り分けて画像処理を行う。メモリ部508は、撮像信号処理回路506の出力データ、画像合成回路513によって生成された合成画像、視差マップ生成回路514によって生成された視差マップを記憶する記憶手段として機能する。   The imaging signal processing circuit 506 performs image processing by distributing imaging data output from the imaging element 505 into a left-eye image and a right-eye image. The memory unit 508 functions as a storage unit that stores output data of the imaging signal processing circuit 506, a composite image generated by the image composition circuit 513, and a parallax map generated by the parallax map generation circuit 514.

画像合成回路513は、左目用画像データと右目用画像データとに基づいて、合成画像データを生成する。具体的には、画像合成回路513は、左目用画像と右目用画像とを画素毎に加算平均処理することで左目用画像と右目用画像とを合成し、合成画像を生成する。これにより、撮像素子505から読み出された画像信号に基づく左目画像と右目画像とで被写体の形状が異なって撮影されていても、画像合成回路513による処理によって、被写体の形状が補間され、正しい形状の画像データが生成される。なお、画像合成回路513が、必要なPD信号のみを取得して合成画像を生成するようにしてもよい。   The image composition circuit 513 generates composite image data based on the left-eye image data and the right-eye image data. Specifically, the image synthesis circuit 513 synthesizes the left-eye image and the right-eye image by performing an averaging process on the left-eye image and the right-eye image for each pixel to generate a synthesized image. Thereby, even if the left eye image and the right eye image based on the image signal read from the image sensor 505 are photographed with different shapes, the shape of the subject is interpolated by the processing by the image composition circuit 513 and correct. Shape image data is generated. Note that the image composition circuit 513 may acquire only necessary PD signals and generate a composite image.

画像合成回路513は、例えば、図2(B)のPD301L乃至304Rが出力する画像信号のうち、PD301L、302L、303L、304Lが出力する画像信号から左目用画像を生成する。また、画像合成回路513は、PD301R、302R、303R、304Rが出力する画像信号から右目用画像を生成する。また、画像合成回路513は、PD301Lの出力とPD301Rの出力とを加算し、PD302Lの出力とPD302Rの出力とを加算し、PD303Lの出力とPD303Rの出力とを加算し、PD304Lの出力とPD304Rの出力とを加算する。これにより、合成画像が生成される。   For example, among the image signals output from the PDs 301L to 304R in FIG. 2B, the image composition circuit 513 generates a left-eye image from the image signals output from the PDs 301L, 302L, 303L, and 304L. The image composition circuit 513 generates a right eye image from the image signals output from the PDs 301R, 302R, 303R, and 304R. Further, the image composition circuit 513 adds the output of PD301L and the output of PD301R, adds the output of PD302L and the output of PD302R, adds the output of PD303L and the output of PD303R, and outputs the output of PD304L and the output of PD304R. Add the output. Thereby, a composite image is generated.

測光装置515は、被写体の明るさを測る。圧縮伸長回路520は、記憶した画像データを所定の画像圧縮方法(例えば、適応離散コサイン変換(ADCT)等)で圧縮し、画像圧縮された画像データをメモリ部508に書き込む。また、圧縮伸長回路520は、メモリ508から読み出した画像データを伸長し、伸長した画像データをメモリ部508に書き込む。   The photometric device 515 measures the brightness of the subject. The compression / decompression circuit 520 compresses the stored image data by a predetermined image compression method (for example, adaptive discrete cosine transform (ADCT) or the like), and writes the compressed image data in the memory unit 508. The compression / decompression circuit 520 decompresses the image data read from the memory 508 and writes the decompressed image data to the memory unit 508.

図5は、本実施形態における視差マップの生成処理の一例を示す図である。図5(A)中の符号601は、被写体を撮影して得られる構図を示す。符号602、603、604は、被写体を示す。図5(A)中に示す構図では、被写体602、603、604は、この順に上から並んでいる。また、被写体は、図5(C)に示すように、奥行き方向に並んで配置されている。符号604が最も近い被写体、符号602が最も遠い被写体である。   FIG. 5 is a diagram illustrating an example of a disparity map generation process according to the present embodiment. Reference numeral 601 in FIG. 5A indicates a composition obtained by photographing a subject. Reference numerals 602, 603, and 604 denote subjects. In the composition shown in FIG. 5A, the subjects 602, 603, and 604 are arranged in this order from the top. In addition, the subject is arranged side by side in the depth direction as shown in FIG. Reference numeral 604 is the closest subject, and reference numeral 602 is the farthest subject.

図5(B)は、図5(A)に示す構図を撮影して得られるステレオ画像を示す。画像605は左目用画像であり、画像606は右目用画像である。左目用画像605には、被写体602、603、604が、それぞれ、607L、608L、609Lとして示される。右目用画像606には、被写体602、603、604が、それぞれ、607R、608R、609Rとして示される。   FIG. 5B shows a stereo image obtained by photographing the composition shown in FIG. An image 605 is a left-eye image, and an image 606 is a right-eye image. In the left-eye image 605, subjects 602, 603, and 604 are shown as 607L, 608L, and 609L, respectively. In the right-eye image 606, subjects 602, 603, and 604 are shown as 607R, 608R, and 609R, respectively.

左目用画像605における被写体と右目用画像606における当該被写体との間には、位置ずれがある。本実施形態では、位置ずれの量を視差量と定義する。視差マップ生成回路514は、まず、公知のパターンマッチング法を用いて、左目用画像605と右目用画像606に含まれる被写体を検知する。視差マップ生成回路514は、検知した被写体毎に、左目用画像における被写体の位置と右目用画像における被写体の位置とに基づいて、視差量を算出し、算出した視差量の情報(視差量情報)を持つ視差マップを生成する。なお、視差マップが含む視差量の情報は、メモリ部508に記憶される画像データまたは画像ファイルに含めてもよいし、関連付けされたファイルとして保存してもよい。この例では、視差量の情報は画像ファイルに含まれているものとする。   There is a positional shift between the subject in the left-eye image 605 and the subject in the right-eye image 606. In the present embodiment, the amount of positional deviation is defined as the amount of parallax. First, the parallax map generation circuit 514 detects subjects included in the left-eye image 605 and the right-eye image 606 using a known pattern matching method. For each detected subject, the parallax map generation circuit 514 calculates a parallax amount based on the position of the subject in the left-eye image and the position of the subject in the right-eye image, and information on the calculated parallax amount (parallax amount information) A parallax map having Note that the information on the amount of parallax included in the parallax map may be included in image data or an image file stored in the memory unit 508, or may be saved as an associated file. In this example, it is assumed that information on the amount of parallax is included in the image file.

図5(B)中の符号610は、被写体602の左目用画像605における位置を基準とする、右目用画像606における位置のずれ量、つまり607Lと607Rとの間の視差量を示す。同様に、符号611は、被写体604の左目用画像605における位置を基準とする、右目用画像606における位置のずれ量、つまり609Lと609Rとの間の視差量を示す。被写体603については、左目用画像605における位置と右目用画像606における位置とが同じである。すなわち、被写体603については、視差量がない。   Reference numeral 610 in FIG. 5B indicates a positional shift amount in the right-eye image 606 based on the position of the subject 602 in the left-eye image 605, that is, a parallax amount between 607L and 607R. Similarly, reference numeral 611 indicates a positional shift amount in the right-eye image 606 with reference to the position of the subject 604 in the left-eye image 605, that is, a parallax amount between 609L and 609R. For the subject 603, the position in the left-eye image 605 and the position in the right-eye image 606 are the same. That is, the subject 603 has no amount of parallax.

ここで、視差量によって立体感が変動する理由について図6を用いて説明する。図6は立体映像の観賞時の様子を模式的に示す図である。符号701は表示装置のスクリーン面である。符号702は観察者、符号703Lは観察者の左目、符号703Rは観察者の右目を示す。点線は、スクリーン面に映し出される各々の被写体が左目703L、右目703Rに投影される様子を模式的に示す。   Here, the reason why the stereoscopic effect varies depending on the amount of parallax will be described with reference to FIG. FIG. 6 is a diagram schematically showing a state of viewing a stereoscopic image. Reference numeral 701 denotes a screen surface of the display device. Reference numeral 702 indicates an observer, reference numeral 703L indicates the left eye of the observer, and reference numeral 703R indicates the right eye of the observer. The dotted lines schematically show how each subject projected on the screen is projected onto the left eye 703L and the right eye 703R.

スクリーン面701には、左目用画像、右目用画像が、それぞれ、左目のみ、右目のみに投影されるように表示される。左目用画像での被写体607L、608L、609Lの映像が、左目303Lに投影され、右目用画像での被写体607R、608R、609Rの映像が右目703Rに投影される。これにより、左目用画像での被写体607L、右目用画像での被写体607Rで表現される被写体602は、ステレオ表示装置のスクリーン面より奥の、符号704に示す位置に存在するように見える。   On the screen surface 701, a left-eye image and a right-eye image are displayed so as to be projected only on the left eye and only on the right eye, respectively. The images of the subjects 607L, 608L, and 609L in the left-eye image are projected onto the left eye 303L, and the images of the subjects 607R, 608R, and 609R in the right-eye image are projected onto the right eye 703R. As a result, the subject 602 represented by the subject 607L in the left-eye image and the subject 607R in the right-eye image appears to be present at the position indicated by reference numeral 704 at the back of the screen surface of the stereo display device.

また、左目用画像での被写体608L、右目用画像での被写体608Rで表現される被写体603は、ステレオ表示装置のスクリーン面の705の位置に存在するように見える。さらに、左目用画像での被写体609L、右目用画像での被写体609Rで表現される被写体604は、ステレオ表示装置のスクリーン面より手前の706の位置に飛び出して存在するように見える。つまり、これらの被写体の奥行き量や飛び出し量は、左目用画像と右目用画像の被写体の視差量に依存し、視差量610が被写体602の奥行き量、視差量611が被写体604の飛び出し量を示している。左目用画像と右目用画像の視差量は右目と左目の視差を示し、視差量が奥行き量や飛び出し量を決定する。視差マップ生成回路514は、上述した視差量を求める。左目用画像605と右目用画像606に含まれる被写体を検知し、被写体のシフト量を求めることで、視差量を検出することが可能となる。   Also, the subject 603 represented by the subject 608L in the left-eye image and the subject 608R in the right-eye image appears to be present at the position 705 on the screen surface of the stereo display device. Furthermore, the subject 604 represented by the subject 609L in the left-eye image and the subject 609R in the right-eye image appears to jump out to a position 706 in front of the screen surface of the stereo display device. That is, the depth amount and the pop-out amount of these subjects depend on the parallax amount of the subject of the left-eye image and the right-eye image, the parallax amount 610 indicates the depth amount of the subject 602, and the parallax amount 611 indicates the pop-up amount of the subject 604. ing. The parallax amount between the left-eye image and the right-eye image indicates the parallax of the right eye and the left eye, and the parallax amount determines the depth amount and the pop-out amount. The parallax map generation circuit 514 obtains the above-described parallax amount. By detecting a subject included in the left-eye image 605 and the right-eye image 606 and obtaining the shift amount of the subject, the amount of parallax can be detected.

図7および図8は、視差量の編集処理の例を説明する図である。図7は、視差マップの生成例を示す。図7中の801は、被写体の側面図である。802は、被写体の正面図である。803は被写体から得られる視差マップの例である。視差マップ803においては、被写体の背景部分の視差は0、四角い被写体の視差は1、丸い被写体の視差は2である。視差の値は、整数値であってもよいし、マイナスの値や実数をとってもよい。   7 and 8 are diagrams illustrating an example of a parallax amount editing process. FIG. 7 shows an example of generating a parallax map. 801 in FIG. 7 is a side view of the subject. 802 is a front view of the subject. Reference numeral 803 denotes an example of a parallax map obtained from a subject. In the parallax map 803, the parallax of the background portion of the subject is 0, the parallax of the square subject is 1, and the parallax of the round subject is 2. The parallax value may be an integer value, a negative value, or a real number.

図8は、視差マップの視差量の編集例を示す。図8(A)中の804は左目用画像と右目用画像とから生成した合成画像である。図8(B)中の805は左目用画像である。図8(C)中の806は右目用画像である。図8(D)中の807は視差マップである。   FIG. 8 shows an example of editing the parallax amount of the parallax map. In FIG. 8A, reference numeral 804 denotes a composite image generated from the left-eye image and the right-eye image. Reference numeral 805 in FIG. 8B denotes an image for the left eye. Reference numeral 806 in FIG. 8C denotes an image for the right eye. In FIG. 8D, reference numeral 807 denotes a parallax map.

システム制御部509は、視差マップ生成回路514に指示して、視差マップ707の視差量を編集(重み付け)することができる。   The system control unit 509 can instruct the parallax map generation circuit 514 to edit (weight) the parallax amount of the parallax map 707.

図8(E)中の810は、重み付けされ、視差量が2倍となった視差マップである。システム制御部509は、視差マップ810と合成画像804とに基づいて、視差拡大した左目画像808(図8(F))と視差拡大した右目画像809(図8(G))とを、3次元表示用画像データとして生成する。本実施形態では、システム制御部509は、撮影画像の解像度に応じて、視差量の編集処理(拡大処理)を実行する。   A parallax map 810 in FIG. 8E is weighted and the parallax amount is doubled. Based on the parallax map 810 and the composite image 804, the system control unit 509 three-dimensionally displays the parallax-enlarged left-eye image 808 (FIG. 8F) and the parallax-enlarged right-eye image 809 (FIG. 8G). Generated as display image data. In the present embodiment, the system control unit 509 executes a parallax amount editing process (enlargement process) according to the resolution of the captured image.

(実施例1)
図9は、実施例1の撮像装置が実行する視差マップの生成処理を説明するフローチャートである。
Example 1
FIG. 9 is a flowchart illustrating a parallax map generation process executed by the imaging apparatus according to the first embodiment.

まず、システム制御部509が、撮影画像の解像度に応じて、視差量の拡大処理を実行する(ステップS901)。続いて、システム制御部509が、拡大処理後の視差量を有する視差マップを生成する(ステップS902)。そして、システム制御部509が、生成した視差マップをメモリ部508に記憶する(ステップS903)。   First, the system control unit 509 executes a parallax amount enlargement process according to the resolution of the captured image (step S901). Subsequently, the system control unit 509 generates a parallax map having the parallax amount after the enlargement process (step S902). Then, the system control unit 509 stores the generated parallax map in the memory unit 508 (step S903).

図10は、図9のステップS901における視差量の拡大処理の例を説明するフローチャートである。本実施例では、視差量を拡大するか否かの判断処理の基準となる解像度(基準解像度)を予め設定しておく。そして、撮像装置は、基準解像度と異なる解像度で撮影が行われた場合に、視差量の拡大を行う。   FIG. 10 is a flowchart for explaining an example of the parallax amount expansion processing in step S901 in FIG. In this embodiment, a resolution (reference resolution) serving as a reference for determining whether to increase the amount of parallax is set in advance. Then, the imaging device enlarges the amount of parallax when shooting is performed at a resolution different from the reference resolution.

まず、システム制御部509が、撮影画像の解像度を確認する(ステップS1001)。次に、システム制御部509が、ステップS1001で確認された撮影画像の解像度が予め設定された基準解像度と異なるかを判断する(ステップS1002)。撮影画像の解像度が基準解像度と同様である場合は、ステップS1003に進む。そして、システム制御部509が、視差量の拡大率(視差拡大率)として1を設定する。これにより、撮影時の視差量がそのまま適用される。   First, the system control unit 509 confirms the resolution of the captured image (step S1001). Next, the system control unit 509 determines whether the resolution of the captured image confirmed in step S1001 is different from a preset reference resolution (step S1002). If the resolution of the captured image is the same as the reference resolution, the process proceeds to step S1003. Then, the system control unit 509 sets 1 as a parallax amount enlargement rate (parallax enlargement rate). Thereby, the parallax amount at the time of photographing is applied as it is.

撮影画像の解像度が基準解像度と異なる場合は、処理がステップS1004に進む。そして、システム制御部509が、撮影画像の解像度に応じて、視差量の拡大率を算出する(ステップS1004)。具体的には、システム制御部509は、予めメモリ部508に記憶された視差拡大テーブルを参照して、視差量の拡大率を算出する。   If the resolution of the captured image is different from the reference resolution, the process proceeds to step S1004. Then, the system control unit 509 calculates an enlargement ratio of the parallax amount according to the resolution of the captured image (step S1004). Specifically, the system control unit 509 refers to a parallax expansion table stored in advance in the memory unit 508, and calculates a parallax amount expansion rate.

図14は、視差拡大テーブルの一例を示す図である。視差拡大テーブルには、画像サイズと視差拡大率とが紐付けられて設定されている。画像サイズは、撮影画像の解像度のサイズである。視差拡大率は、視差量の補正情報(拡大率)である。本実施例では、視差拡大率は、図10のステップS1006で算出される視差量の拡大に用いられる。   FIG. 14 is a diagram illustrating an example of the parallax expansion table. In the parallax magnification table, an image size and a parallax magnification rate are set in association with each other. The image size is the size of the resolution of the captured image. The parallax magnification rate is correction information (magnification rate) of the parallax amount. In the present embodiment, the parallax magnification rate is used for enlarging the parallax amount calculated in step S1006 of FIG.

撮影画像の解像度が低いほど、紐付けられている視差拡大率が高い。これにより、図10のステップS1004において、システム制御部509は、撮影画像の解像度が低いほど高い視差拡大率を算出する。なお、本発明において、視差拡大率の算出方法は、視差拡大テーブルを用いて行う方法に限定されない。例えば、システム制御部509が、撮影画像の解像度のサイズの、基準解像度のサイズに対する比率(サイズ比率)に基づいて、視差拡大率を求めるようにしてもよい。また、システム制御部509が、撮影画像の解像度のサイズの、基準解像度のサイズに対する比率から決まる補正率に所定の係数を演算した値を視差拡大率として算出してもよい。   The lower the resolution of the captured image, the higher the parallax magnification rate associated with it. Accordingly, in step S1004 in FIG. 10, the system control unit 509 calculates a higher parallax magnification rate as the resolution of the captured image is lower. In the present invention, the method for calculating the parallax magnification rate is not limited to the method performed using the parallax magnification table. For example, the system control unit 509 may obtain the parallax magnification rate based on the ratio (size ratio) of the resolution size of the captured image to the size of the reference resolution. Further, the system control unit 509 may calculate a value obtained by calculating a predetermined coefficient as a correction factor determined from the ratio of the resolution size of the captured image to the size of the reference resolution as the parallax magnification rate.

次に、ステップS1005からステップS1008の処理が、撮影画像の全画素分実行される。具体的には、システム制御部509が、撮影された左目用画像、右目用画像の1画素分の視差量を算出する(ステップS1006)。   Next, the processing from step S1005 to step S1008 is executed for all the pixels of the captured image. Specifically, the system control unit 509 calculates the amount of parallax for one pixel of the captured left-eye image and right-eye image (step S1006).

次に、システム制御部509が、ステップS1006で算出された視差量を、ステップS1003,S1004で算出された視差拡大率で乗算する(ステップS1007)。これにより、視差量が拡大される。システム制御部509は、拡大された視差量をメモリ508に記憶する。   Next, the system control unit 509 multiplies the parallax amount calculated in step S1006 by the parallax magnification calculated in steps S1003 and S1004 (step S1007). Thereby, the amount of parallax is expanded. The system control unit 509 stores the enlarged amount of parallax in the memory 508.

次に、システム制御部509が、視差量の算出対象の画素を次に配置される画素に変更して、ステップS1006の処理に戻る。撮影画像の全画素分、上記の処理が繰り返される。   Next, the system control unit 509 changes the pixel for which the amount of parallax is to be calculated to a pixel to be arranged next, and returns to the process of step S1006. The above process is repeated for all pixels of the captured image.

図11は、解像度に応じた視差拡大処理が行われた際の視差マップの例を示す図である。図11(A)は、撮影により撮像素子505から読み出された画像データと、視差マップとを示す。符号1101は撮影により撮像素子505から読み出された左目用画像である。符号1102は、右目用画像である。符号1103は視差マップである。視差マップ1103は、左目用画像1101と右目用画像1102とから得られる。   FIG. 11 is a diagram illustrating an example of a parallax map when the parallax enlargement process according to the resolution is performed. FIG. 11A shows image data read from the image sensor 505 by photographing and a parallax map. Reference numeral 1101 denotes a left-eye image read from the image sensor 505 by photographing. Reference numeral 1102 denotes a right-eye image. Reference numeral 1103 denotes a parallax map. The parallax map 1103 is obtained from the left-eye image 1101 and the right-eye image 1102.

図11(B)は、解像度に応じた視差量の編集処理後の画像データと視差マップの例を示す。図11(A)に示す撮影画像(左目用画像、右目用画像)は、システム制御部509によって、撮像装置で設定されている解像度の画像サイズに変換される。システム制御部509は、当該変換後の画像サイズに応じて、視差量を編集する。符号1104は、視差量の編集後の左目用画像を示す。符号1105は、視差量の編集後の右目用画像を示す。符号1106は、編集後の視差量を有する視差マップを示す。   FIG. 11B shows an example of the image data and the parallax map after the editing process of the parallax amount according to the resolution. The captured image (left-eye image and right-eye image) shown in FIG. 11A is converted by the system control unit 509 into an image size having a resolution set in the imaging device. The system control unit 509 edits the parallax amount according to the converted image size. Reference numeral 1104 denotes a left-eye image after the parallax amount is edited. Reference numeral 1105 denotes a right-eye image after editing the parallax amount. Reference numeral 1106 indicates a parallax map having a parallax amount after editing.

図11(C)は、解像度に応じた視差量の編集処理後の画像データと視差マップの他の例を示す。図11(C)に示す例では、図11(B)に示す例において設定されている解像度よりも低い解像度で撮影されたものとする。撮影画像の解像度が低いので、システム制御部509は、視差量の拡大率を大きくする。これにより、図11(C)に示す左目用画像1107、右目用画像1108、視差マップ1109が得られる。   FIG. 11C shows another example of image data and a parallax map after editing processing of the parallax amount according to the resolution. In the example shown in FIG. 11C, it is assumed that the image is taken at a resolution lower than the resolution set in the example shown in FIG. Since the resolution of the captured image is low, the system control unit 509 increases the enlargement ratio of the parallax amount. As a result, a left-eye image 1107, a right-eye image 1108, and a parallax map 1109 shown in FIG.

本実施例の撮像装置は、撮影画像の解像度に応じて左目用画像と右目用画像との視差量を変更するので、解像度の低い画像を撮影した場合においても、適切な立体感を得ることができるステレオ画像を生成することができる。   Since the imaging apparatus of the present embodiment changes the amount of parallax between the left-eye image and the right-eye image according to the resolution of the captured image, an appropriate stereoscopic effect can be obtained even when an image with a low resolution is captured. A stereo image that can be generated can be generated.

(実施例2)
図12は、実施例2の撮像装置が実行する視差マップの生成処理を説明するフローチャートである。
(Example 2)
FIG. 12 is a flowchart illustrating a disparity map generation process performed by the imaging apparatus according to the second embodiment.

まず、システム制御部509が、撮影した左目用画像と右目用画像とに基づいて、それぞれの画素ごとの視差量を算出して、視差マップの生成を行う(ステップS1201)。続いて、システム制御部509が、撮影画像の解像度に応じて、上記ステップS1201で生成された視差マップが有する視差量の拡大処理を実行する(ステップS1202)。そして、システム制御部509が、拡大処理後の視差量を有する視差マップをメモリ部508に記憶する(ステップS1203)。   First, the system control unit 509 calculates a parallax amount for each pixel based on the captured left-eye image and right-eye image, and generates a parallax map (step S1201). Subsequently, the system control unit 509 executes a process of enlarging the amount of parallax included in the parallax map generated in step S1201 according to the resolution of the captured image (step S1202). Then, the system control unit 509 stores the parallax map having the parallax amount after the enlargement process in the memory unit 508 (step S1203).

図13は、図12のステップS1202における視差量の拡大処理の例を説明するフローチャートである。
まず、システム制御部509が、撮影画像の解像度を確認する(ステップS1301)。次に、システム制御部509が、ステップS1301で確認された撮影画像の解像度が予め設定された基準解像度と異なるかを判断する(ステップS1302)。撮影画像の解像度が基準解像度と同様である場合は、処理を抜けて、図12のステップS1201で生成された視差マップがそのまま保存される。
FIG. 13 is a flowchart illustrating an example of the parallax amount enlargement process in step S1202 of FIG.
First, the system control unit 509 confirms the resolution of the captured image (step S1301). Next, the system control unit 509 determines whether the resolution of the captured image confirmed in step S1301 is different from a preset reference resolution (step S1302). When the resolution of the captured image is the same as the reference resolution, the process is exited, and the parallax map generated in step S1201 in FIG. 12 is stored as it is.

撮影画像の解像度が基準解像度と異なる場合は、処理がステップS1303に進む。そして、システム制御部509が、撮影画像の解像度に応じて、視差拡大率を算出する(ステップS1004)。ステップS1004における視差拡大率の算出処理は、図10のステップS1006における視差量の拡大率の算出処理と同様である。   If the resolution of the captured image is different from the reference resolution, the process proceeds to step S1303. Then, the system control unit 509 calculates the parallax magnification rate according to the resolution of the captured image (step S1004). The process for calculating the parallax magnification in step S1004 is the same as the process for calculating the magnification of the parallax amount in step S1006 in FIG.

次に、システム制御部509が、視差マップの情報をメモリ部508から読み出す(ステップS1304)。そして、システム制御部509が、読み出した視差マップが有する視差量を、上記ステップS1303で算出した視差拡大率で拡大して、当該拡大後の視差量を有する視差マップをメモリ部508に書き戻す。この書き戻された視差マップの情報が、図12のステップS1203において保存される。   Next, the system control unit 509 reads information on the parallax map from the memory unit 508 (step S1304). Then, the system control unit 509 enlarges the parallax amount included in the read parallax map by the parallax enlargement ratio calculated in step S1303, and writes the parallax map having the enlarged parallax amount back to the memory unit 508. The rewritten parallax map information is stored in step S1203 of FIG.

実施例2の撮像装置によれば、生成済みの視差マップが有する視差量を、撮影画像の解像度に応じて編集することを可能とし、解像度の低い画像を撮影した場合においても適切な立体感を得ることができるステレオ画像を生成することができる。   According to the imaging apparatus of the second embodiment, it is possible to edit the amount of parallax included in the generated parallax map according to the resolution of the captured image, and an appropriate stereoscopic effect can be obtained even when an image with a low resolution is captured. A stereo image that can be obtained can be generated.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.

201 画素
202 マイクロレンズ
203、204 PD
201 pixels 202 microlenses 203, 204 PD

Claims (9)

一つのマイクロレンズに対して撮像光学系の射出瞳の分割された異なる領域を通過した光束を光電変換して画像信号を生成する複数の光電変換部を有する画素部を備える撮像素子と、
前記撮像素子が出力する画像信号の解像度を設定する設定手段と、
前記撮像素子の出力する画像信号に基づいて生成される左目用画像データと右目用画像データの視差量を検出する検出手段と、
前記検出された視差量を、前記設定手段により設定された解像度に応じて編集する編集手段とを備える
ことを特徴とする撮像装置。
An imaging device including a pixel unit having a plurality of photoelectric conversion units that photoelectrically convert light beams that have passed through different regions divided by the exit pupil of the imaging optical system with respect to one microlens;
Setting means for setting the resolution of the image signal output by the image sensor;
Detecting means for detecting a parallax amount between left-eye image data and right-eye image data generated based on an image signal output from the image sensor;
An imaging apparatus comprising: an editing unit that edits the detected amount of parallax according to the resolution set by the setting unit.
前記編集された視差量を有する、3次元表示用の画像データの生成に用いる視差マップを生成する生成手段を備える
ことを特徴とする請求項1に記載の撮像装置。
The imaging apparatus according to claim 1, further comprising a generation unit configured to generate a parallax map that is used to generate image data for three-dimensional display having the edited parallax amount.
一つのマイクロレンズに対して撮像光学系の射出瞳の分割された異なる領域を通過した光束を光電変換して画像信号を生成する複数の光電変換部を有する画素部を備える撮像素子と、
前記撮像素子が出力する画像信号の解像度を設定する設定手段と、
前記撮像素子の出力する画像信号に基づいて生成される左目用画像データと右目用画像データの視差量を検出し、検出された視差量を有する、3次元表示用の画像データの生成に用いる視差マップを生成する視差マップ生成手段と、
前記生成された視差マップが有する視差量を、前記設定手段により設定された解像度に応じて編集する編集手段とを備える
ことを特徴とする撮像装置。
An imaging device including a pixel unit having a plurality of photoelectric conversion units that photoelectrically convert light beams that have passed through different regions divided by the exit pupil of the imaging optical system with respect to one microlens;
Setting means for setting the resolution of the image signal output by the image sensor;
The parallax used for generating the image data for three-dimensional display having the detected parallax amount by detecting the parallax amount of the left-eye image data and the right-eye image data generated based on the image signal output from the image sensor Parallax map generating means for generating a map;
An imaging apparatus comprising: an editing unit that edits the parallax amount of the generated parallax map in accordance with the resolution set by the setting unit.
前記編集手段は、前記設定手段により設定された解像度が予め決められた基準解像度と異なるかを判断し、前記設定手段により設定された解像度が前記基準解像度と異なる場合に、前記視差量を編集する
ことを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。
The editing unit determines whether the resolution set by the setting unit is different from a predetermined reference resolution, and edits the parallax amount when the resolution set by the setting unit is different from the reference resolution. The image pickup apparatus according to claim 1, wherein the image pickup apparatus is an image pickup apparatus.
前記編集手段は、前記設定手段により設定された解像度が前記基準解像度と異なる場合に、予め記憶手段に記憶された視差量の補正情報を用いて、前記視差量を編集する
ことを特徴とする請求項4に記載の撮像装置。
The editing means, when the resolution set by the setting means is different from the reference resolution, edits the parallax amount using the parallax amount correction information stored in the storage means in advance. Item 5. The imaging device according to Item 4.
前記編集手段は、前記設定手段により設定された解像度が前記基準解像度と異なる場合に、前記設定手段により設定された解像度と前記基準解像度とのサイズ比率に基づいて、前記視差量を編集する
ことを特徴とする請求項4に記載の撮像装置。
The editing means edits the parallax amount based on a size ratio between the resolution set by the setting means and the reference resolution when the resolution set by the setting means is different from the reference resolution. The imaging apparatus according to claim 4, wherein the imaging apparatus is characterized.
前記編集手段は、前記設定手段により設定された解像度が低いほど、前記視差量を高い拡大率で拡大する
ことを特徴とする請求項4乃至6のいずれか1項に記載の撮像装置。
The imaging apparatus according to any one of claims 4 to 6, wherein the editing unit enlarges the parallax amount at a higher magnification rate as the resolution set by the setting unit is lower.
一つのマイクロレンズに対して撮像光学系の射出瞳の分割された異なる領域を通過した光束を光電変換して画像信号を生成する複数の光電変換部を有する画素部を備える撮像素子を備える撮像装置の制御方法であって、
前記撮像素子が出力する画像信号の解像度を設定する工程と、
前記撮像素子の出力する画像信号に基づいて生成される左目用画像データと右目用画像データの視差量を検出する工程と、
前記検出された視差量を、前記設定された解像度に応じて編集する工程とを有する
ことを特徴とする制御方法。
An imaging apparatus including an imaging device including a pixel unit having a plurality of photoelectric conversion units that photoelectrically convert light beams that have passed through different regions divided by an exit pupil of an imaging optical system with respect to one microlens. Control method,
Setting the resolution of the image signal output by the imaging device;
Detecting a parallax amount between left-eye image data and right-eye image data generated based on an image signal output from the image sensor;
A step of editing the detected amount of parallax in accordance with the set resolution.
一つのマイクロレンズに対して撮像光学系の射出瞳の分割された異なる領域を通過した光束を光電変換して画像信号を生成する複数の光電変換部を有する画素部を備える撮像素子を備える撮像装置の制御方法であって、
前記撮像素子が出力する画像信号の解像度を設定する工程と、
前記撮像素子の出力する画像信号に基づいて生成される左目用画像データと右目用画像データの視差量を検出し、検出された視差量を有する、3次元表示用の画像データの生成に用いる視差マップを生成する工程と、
前記生成された視差マップが有する視差量を、前記設定された解像度に応じて編集する工程とを有する
ことを特徴とする制御方法。
An imaging apparatus including an imaging device including a pixel unit having a plurality of photoelectric conversion units that photoelectrically convert light beams that have passed through different regions divided by an exit pupil of an imaging optical system with respect to one microlens. Control method,
Setting the resolution of the image signal output by the imaging device;
The parallax used for generating the image data for three-dimensional display having the detected parallax amount by detecting the parallax amount of the left-eye image data and the right-eye image data generated based on the image signal output from the image sensor Generating a map;
And a step of editing a parallax amount of the generated parallax map according to the set resolution.
JP2013079147A 2013-04-05 2013-04-05 Imaging apparatus and method for controlling the same Pending JP2014204299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013079147A JP2014204299A (en) 2013-04-05 2013-04-05 Imaging apparatus and method for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013079147A JP2014204299A (en) 2013-04-05 2013-04-05 Imaging apparatus and method for controlling the same

Publications (1)

Publication Number Publication Date
JP2014204299A true JP2014204299A (en) 2014-10-27

Family

ID=52354378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013079147A Pending JP2014204299A (en) 2013-04-05 2013-04-05 Imaging apparatus and method for controlling the same

Country Status (1)

Country Link
JP (1) JP2014204299A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938604A (en) * 2021-09-22 2022-01-14 深圳市汇顶科技股份有限公司 Focusing method, focusing device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005073049A (en) * 2003-08-26 2005-03-17 Sharp Corp Device and method for reproducing stereoscopic image
JP2010098479A (en) * 2008-10-15 2010-04-30 Sony Corp Display apparatus, display method, and display system
WO2011118065A1 (en) * 2010-03-23 2011-09-29 富士フイルム株式会社 Imaging device and control method therefor, and three-dimensional information measuring device
JP2013061440A (en) * 2011-09-13 2013-04-04 Canon Inc Imaging device and control method of imaging device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005073049A (en) * 2003-08-26 2005-03-17 Sharp Corp Device and method for reproducing stereoscopic image
JP2010098479A (en) * 2008-10-15 2010-04-30 Sony Corp Display apparatus, display method, and display system
WO2011118065A1 (en) * 2010-03-23 2011-09-29 富士フイルム株式会社 Imaging device and control method therefor, and three-dimensional information measuring device
JP2013061440A (en) * 2011-09-13 2013-04-04 Canon Inc Imaging device and control method of imaging device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938604A (en) * 2021-09-22 2022-01-14 深圳市汇顶科技股份有限公司 Focusing method, focusing device, electronic equipment and storage medium
CN113938604B (en) * 2021-09-22 2023-05-09 深圳市汇顶科技股份有限公司 Focusing method, focusing device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9341935B2 (en) Image capturing device
US10587860B2 (en) Imaging apparatus and method for controlling same
CN103098459B (en) Stereo photographic device and shadow correction method
RU2567438C1 (en) Image forming device and method of controlling same
JP6053276B2 (en) Imaging apparatus, control method therefor, and image processing apparatus
JP6004741B2 (en) Image processing apparatus, control method therefor, and imaging apparatus
JP5924943B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2014022888A (en) Image pickup device and image pickup device manufacturing method
JP5864992B2 (en) Imaging apparatus and control method thereof, and image processing apparatus and control method thereof
JP5704885B2 (en) Imaging device, imaging method, and imaging control program
JP5895587B2 (en) Image recording apparatus, image recording method, image reproducing apparatus, and image reproducing method
JP2014204299A (en) Imaging apparatus and method for controlling the same
JP5911276B2 (en) Imaging apparatus, control method therefor, and image processing apparatus
JP6366793B2 (en) Image processing apparatus, control method therefor, and imaging apparatus
JP6172949B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGE PROCESSING DEVICE, AND IMAGE PROCESSING DEVICE CONTROL METHOD
JP6177305B2 (en) Imaging apparatus and control method thereof, and image processing apparatus and control method thereof
JP2014090252A (en) Image processing device and control method for the same, image pickup device and control method for the same and image processing program
JP6433474B2 (en) Imaging apparatus and control method thereof
JP6230266B2 (en) Imaging apparatus, image processing apparatus, and control method
JP2012147087A (en) Apparatus and method for generating image
JP2016154360A (en) Imaging apparatus and control method therefor
JP5963483B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2013157726A (en) Imaging apparatus and method for controlling imaging apparatus
JP5307189B2 (en) Stereoscopic image display device, compound eye imaging device, and stereoscopic image display program
JP2012060512A (en) Multi-eye imaging apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160401

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170307

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180116