JP5724677B2 - Moving image photographing apparatus and moving image photographing method - Google Patents

Moving image photographing apparatus and moving image photographing method Download PDF

Info

Publication number
JP5724677B2
JP5724677B2 JP2011142827A JP2011142827A JP5724677B2 JP 5724677 B2 JP5724677 B2 JP 5724677B2 JP 2011142827 A JP2011142827 A JP 2011142827A JP 2011142827 A JP2011142827 A JP 2011142827A JP 5724677 B2 JP5724677 B2 JP 5724677B2
Authority
JP
Japan
Prior art keywords
unit
switching
image
imaging
moving 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.)
Expired - Fee Related
Application number
JP2011142827A
Other languages
Japanese (ja)
Other versions
JP2013012822A (en
Inventor
昇 米岡
昇 米岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2011142827A priority Critical patent/JP5724677B2/en
Publication of JP2013012822A publication Critical patent/JP2013012822A/en
Application granted granted Critical
Publication of JP5724677B2 publication Critical patent/JP5724677B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本件開示は、2つの撮像素子を有する動画像撮影装置および動画像撮影方法に関する。   The present disclosure relates to a moving image capturing apparatus and a moving image capturing method having two image sensors.

携帯端末や電子カメラなどの撮像装置に搭載されている撮像素子は、長時間にわたって駆動し続けると過熱してしまう場合がある。撮像素子の過熱を防ぐために、従来は、電子カメラなどの制御プログラムなどにより、動画像の連続撮影時間を制限する技術が提案されている。   An imaging element mounted on an imaging apparatus such as a portable terminal or an electronic camera may be overheated if driven for a long time. In order to prevent overheating of the image sensor, conventionally, there has been proposed a technique for limiting the continuous shooting time of moving images by a control program such as an electronic camera.

また、複数の撮像素子を有する携帯端末を用いてテレビ電話サービスを利用する際に、温度時間テーブルに基づいて、複数の撮像素子を同時に駆動するモードの継続時間を制限する技術が提案されている(特許文献1参照)。   In addition, when using a videophone service using a mobile terminal having a plurality of image sensors, a technique for limiting the duration of a mode in which a plurality of image sensors are simultaneously driven based on a temperature time table has been proposed. (See Patent Document 1).

特開2007−195043号公報JP 2007-195043 A

ところで、3次元(3D)動画像の撮影のために、視差を持って配置された2つの撮像部を有する動画像撮影装置が実用化されている。このような動画像撮影装置に搭載された2つの撮像部は、それぞれ2次元(2D)動画像の取得にも利用することができる。   By the way, in order to capture a three-dimensional (3D) moving image, a moving image capturing device having two imaging units arranged with parallax has been put into practical use. The two imaging units mounted on such a moving image capturing apparatus can also be used for obtaining a two-dimensional (2D) moving image, respectively.

本件開示の装置および方法は、視差を持って配置された2つの撮像部を有する動画像撮影装置により、長時間の2次元動画像の撮影を実現することを目的とする。   An object of the apparatus and method disclosed herein is to realize long-time two-dimensional moving image shooting with a moving image shooting apparatus having two imaging units arranged with parallax.

一つの観点による動画像撮影装置は、異なる視点から共通の被写体を撮像する2つの撮像部と、2つの撮像部を交互に撮像動作させ、撮像動作させている撮像部によって得られる画像を出力する切り替え部を有し、切り替え部によって出力される画像を用いて、2次元動画像データを生成する生成部と、切り替えに先立って、2つの撮像部によって得られる画像に含まれる共通の被写体についての視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして検出する検出部とを備え、切り替え部は、検出部によって検出された切り替えタイミングに基づいて、2つの撮像部による撮像動作の切り替えを制御する。
検出部は、切り替え部によって撮像動作させられている方の撮像部の動作継続時間が所定の制限時間に到達する前に設けた所定の探索期間において、他方の撮像部を所定の時間間隔で動作させることにより、他方の撮像部による画像を取得する第1取得部と、第1取得部によって得られた画像と切り替え部によって出力される画像との間の視差を評価する評価部と、評価部による評価結果に基づいて、2つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして特定する特定部とを備える。あるいは、生成部は、検出部によって検出された切り替えタイミングに基づいて設定した所定の移行期間において、切り替え部によって撮像動作させられている方の撮像部と同期して、他方の撮像部を動作させることにより、他方の撮像部による画像を取得する第2取得部と、切り替え部によって出力される画像と第2取得部で得られる画像とに基づいて補間画像を生成する補間部と、移行期間において、切り替え部によって出力される画像に代えて、補間部で得られる補間画像を含む2次元動画像データを出力する出力制御部とを備える。
A moving image capturing apparatus according to one aspect causes two imaging units that capture a common subject from different viewpoints and two imaging units to alternately perform an imaging operation, and outputs an image obtained by the imaging unit that is performing the imaging operation. A generation unit that includes a switching unit and generates two-dimensional moving image data using an image output by the switching unit; and a common subject included in an image obtained by the two imaging units prior to switching. A detection unit that detects a timing at which the parallax becomes smaller than a predetermined threshold as a switching timing, and the switching unit controls switching of imaging operations by the two imaging units based on the switching timing detected by the detection unit. .
The detection unit operates the other imaging unit at a predetermined time interval in a predetermined search period provided before the operation duration time of the imaging unit whose imaging operation is performed by the switching unit reaches a predetermined time limit. A first acquisition unit that acquires an image from the other imaging unit, an evaluation unit that evaluates a parallax between the image obtained by the first acquisition unit and the image output by the switching unit, and an evaluation unit And a specifying unit that specifies the timing at which the parallax between the images obtained by the two imaging units becomes smaller than a predetermined threshold as the switching timing. Alternatively, the generation unit operates the other imaging unit in synchronization with the imaging unit that is imaged by the switching unit in a predetermined transition period set based on the switching timing detected by the detection unit. In the transition period, a second acquisition unit that acquires an image from the other imaging unit, an interpolation unit that generates an interpolation image based on the image output by the switching unit and the image obtained by the second acquisition unit, And an output control unit that outputs two-dimensional moving image data including an interpolation image obtained by the interpolation unit, instead of the image output by the switching unit.

別の観点による動画像撮影方法は、異なる視点から共通の被写体を撮像する2つの撮像部を交互に切り替えて動作させることにより、2次元動画像データを取得する際に、切り替えに先立って、2つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして検出し、検出された切り替えタイミングに基づいて、2つの撮像部の動作の切り替えを制御する。
切り替えタイミングを検出するにあたっては、切り替えによって動作させられている方の撮像部の動作継続時間が所定の制限時間に到達する前に設けた所定の探索期間において、他方の撮像部を所定の時間間隔で動作させることにより、他方の撮像部による画像を取得し、取得された画像と切り替えによって動作させられている方の撮像部によって得られる画像との間の視差を評価し、評価結果に基づいて、2つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして特定する。あるいは、2次元動画像データを取得するにあたっては、検出された切り替えタイミングに基づいて設定した所定の移行期間において、切り替えによって動作させられている方の撮像部と同期して、他方の撮像部を動作させることにより、他方の撮像部による画像を取得し、取得される画像と切り替えによって動作させられている方の撮像部によって得られる画像とに基づいて補間画像を生成し、移行期間において、切り替えによって動作させられている方の撮像部によって得られる画像に代えて、生成される補間画像を含む2次元動画像データを出力する。
A moving image capturing method according to another aspect is configured such that, when two-dimensional moving image data is acquired by alternately switching two imaging units that capture a common subject from different viewpoints, A timing at which the parallax between images obtained by two imaging units becomes smaller than a predetermined threshold is detected as a switching timing, and switching of operations of the two imaging units is controlled based on the detected switching timing.
In detecting the switching timing, in the predetermined search period provided before the operation duration time of the imaging unit operated by switching reaches the predetermined time limit, the other imaging unit is set at a predetermined time interval. To obtain the image by the other imaging unit, evaluate the parallax between the acquired image and the image obtained by the imaging unit operated by switching, and based on the evaluation result A timing at which the parallax between images obtained by the two imaging units becomes smaller than a predetermined threshold is specified as a switching timing. Alternatively, when acquiring the two-dimensional moving image data, in the predetermined transition period set based on the detected switching timing, the other imaging unit is synchronized with the imaging unit operated by switching. By operating, an image is acquired by the other imaging unit, and an interpolated image is generated based on the acquired image and an image obtained by the imaging unit that is operated by switching. The two-dimensional moving image data including the generated interpolated image is output instead of the image obtained by the image pickup unit operated by.

本件開示の装置および方法によれば、視差を持って配置された2つの撮像部を有する動画像撮影装置により、長時間の2次元動画像の撮影を実現することができる。   According to the apparatus and method of the present disclosure, it is possible to capture a long-time two-dimensional moving image by using a moving image capturing apparatus having two imaging units arranged with parallax.

動画像撮影装置の一実施形態を示す図である。It is a figure which shows one Embodiment of a moving image imaging device. 動画像撮影動作を説明する図である。It is a figure explaining a moving image imaging operation. 動画像撮影装置の状態遷移図の一例を示す図である。It is a figure which shows an example of the state transition diagram of a moving image imaging device. 動画像撮影装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a moving image imaging device. 撮像部を切り替える処理のフローチャートである。It is a flowchart of the process which switches an imaging part. 視差を評価する処理を説明する図である。It is a figure explaining the process which evaluates parallax. 視差を評価する処理のフローチャートである。It is a flowchart of the process which evaluates parallax. 補間画像の生成処理を説明する図である。It is a figure explaining the production | generation process of an interpolation image. 補間画像を生成する処理のフローチャートである。It is a flowchart of the process which produces | generates an interpolation image.

以下、図面に基づいて、本発明の実施形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1に、動画像撮影装置の一実施形態を示す。   FIG. 1 shows an embodiment of a moving image photographing apparatus.

図1に示した動画像撮影装置は、2つの撮像部101L,101Rと、生成部110と、検出部120とを含んでいる。2つの撮像部101L,101Rは、例えば、3次元動画像あるいは3次元静止画像の撮影を目的として、人間の左右の目に相当する視差を持つように配置されている。   The moving image capturing apparatus illustrated in FIG. 1 includes two imaging units 101L and 101R, a generation unit 110, and a detection unit 120. The two imaging units 101L and 101R are arranged so as to have a parallax corresponding to the left and right eyes of a human for the purpose of capturing a three-dimensional moving image or a three-dimensional still image, for example.

生成部110は、2つの撮像部101L,101Rの一方に撮像動作を実行させるとともに、他方を待機状態とすることにより、2つの撮像部101L,101Rを交互に切り替えて動作させる。また、生成部110は、これらの撮像部101L,101Rで得られる画像に基づいて、2次元動画像mvを生成する。そして、生成部110は、生成した2次元動画像mvを、出力端子Voutを介して出力する。   The generation unit 110 causes one of the two imaging units 101L and 101R to perform an imaging operation and sets the other to a standby state, thereby switching the two imaging units 101L and 101R to operate. Further, the generation unit 110 generates a two-dimensional moving image mv based on images obtained by the imaging units 101L and 101R. Then, the generation unit 110 outputs the generated two-dimensional moving image mv via the output terminal Vout.

検出部120は、2つの撮像部101L,101Rで得られる画像に基づいて、例えば、これらの撮像部101L,101Rが共通して捉えている被写体についての視差が所定の閾値以下となるタイミングを切り替えタイミングTcとして検出する。検出部120は、例えば、撮像部101Lが動作中である場合に、この撮像部101Lの連続動作時間が過熱の防止のために設定された制限時間に到達する前に、撮像部101Rへの切り替えタイミングTcを検出してもよい。   Based on the images obtained by the two imaging units 101L and 101R, for example, the detection unit 120 switches the timing at which the parallax for the subject captured in common by the imaging units 101L and 101R is equal to or less than a predetermined threshold. Detected as timing Tc. For example, when the imaging unit 101L is operating, the detection unit 120 switches to the imaging unit 101R before the continuous operation time of the imaging unit 101L reaches the time limit set to prevent overheating. The timing Tc may be detected.

そして、検出部120によって検出された切り替えタイミングTcに基づいて、生成部110は、2つの撮像部101L,101Rの動作状態の切り替えを制御する。これにより、例えば、動作中の撮像部101Lと待機中の撮像部101Rとで得られる2つの画像に共通する被写体の視差が小さくなったときに、生成部110は、撮像部101Lを待機状態に切り替え、撮像部101Rを動作状態に切り替えることができる。   Then, based on the switching timing Tc detected by the detection unit 120, the generation unit 110 controls switching of the operation states of the two imaging units 101L and 101R. Thereby, for example, when the parallax of the subject common to two images obtained by the imaging unit 101L in operation and the imaging unit 101R in standby decreases, the generation unit 110 puts the imaging unit 101L in a standby state. Switching, the imaging unit 101R can be switched to the operating state.

このように、本件開示の動画像撮影装置は、2つの撮像部101L,101Rの切り替えに先立って、好適な切り替えタイミングTcを探索し、この探索で検出した切り替えタイミングTcに基づいて、2つの撮像部101L,101Rの切り替えを実行する。これにより、本件開示の動画像撮影装置の生成部110は、切り替えによる不連続性の少ない2次元動画像mvを生成することができる。   As described above, the moving image capturing apparatus disclosed herein searches for a suitable switching timing Tc prior to switching between the two imaging units 101L and 101R, and performs two imaging based on the switching timing Tc detected in this search. Switching between the units 101L and 101R is executed. Thereby, the production | generation part 110 of the moving image imaging device of this indication can produce | generate the two-dimensional moving image mv with few discontinuities by switching.

このようにして、本件開示の動画像撮影装置は、視差を持って配置された2つの撮像部101L,101Rを切り替え動作させながら、切り替え前後での画像の変化が抑制された長時間の2次元動画像を撮影することができる。   In this way, the moving image capturing apparatus disclosed in the present disclosure is a long-time two-dimensional image in which changes in images before and after switching are suppressed while switching the two imaging units 101L and 101R arranged with parallax. A moving image can be taken.

次に、本件開示の動画像撮影装置に含まれる生成部110および検出部120について説明する。   Next, the generation unit 110 and the detection unit 120 included in the moving image shooting apparatus disclosed herein will be described.

生成部110は、切り替え部102と、第2取得部111と、補間部112と、出力制御部113とを含んでいる。   The generation unit 110 includes a switching unit 102, a second acquisition unit 111, an interpolation unit 112, and an output control unit 113.

切り替え部102は、動画像撮影装置に搭載された2つの撮像部101L,101Rを交互に駆動する。以下の説明では、2つの撮像部101L,101Rのうち、切り替え部102によって撮像動作させられている方を動作中の撮像部101と称し、他方を待機中の撮像部101と称する。切り替え部102は、検出部120によって検出される切り替えタイミングTcに基づいて、2つの撮像部101L,101Rの動作状態の切り替えを制御する。   The switching unit 102 alternately drives the two imaging units 101L and 101R mounted on the moving image capturing apparatus. In the following description, of the two image capturing units 101L and 101R, the image capturing operation performed by the switching unit 102 is referred to as an active image capturing unit 101, and the other is referred to as a standby image capturing unit 101. The switching unit 102 controls switching of the operation states of the two imaging units 101L and 101R based on the switching timing Tc detected by the detection unit 120.

また、切り替え部102は、例えば、動作中の撮像部101を動画像撮影のための所定のフレームレートで駆動することにより、動作中の撮像部101から各フレームの画像を取得し、取得した画像を順次に出力する。例えば、撮像部101Lが動作中の撮像部101である場合に、切り替え部102は、上述したフレームレートに対応するフレーム間隔tfごとに、撮像部101Lによって得られる画像GLを順次に出力する。なお、切り替え部102が動作中の撮像部101に適用するフレームレートは、例えば、毎秒30フレームとしてよい。   In addition, the switching unit 102 acquires the image of each frame from the operating imaging unit 101 by driving the operating imaging unit 101 at a predetermined frame rate for moving image shooting, for example. Are output sequentially. For example, when the imaging unit 101L is the active imaging unit 101, the switching unit 102 sequentially outputs the images GL obtained by the imaging unit 101L at every frame interval tf corresponding to the above-described frame rate. Note that the frame rate applied to the imaging unit 101 in which the switching unit 102 is operating may be, for example, 30 frames per second.

切り替え部102によって出力される画像は、出力制御部113と補間部112とに入力される。   The image output by the switching unit 102 is input to the output control unit 113 and the interpolation unit 112.

また、第2取得部111は、検出部120によって検出された切り替えタイミングTcの後に設定される所定の時間を有する移行期間にわたって、待機中の撮像部101を動作中の撮像部101の撮像動作に同期して駆動させる。これにより、第2取得部111は、上述した移行期間にわたって、動作中の撮像部101と同時に撮影された画像を、待機中の撮像部101から取得する。   In addition, the second acquisition unit 111 changes the standby imaging unit 101 to the imaging operation of the imaging unit 101 that is operating over a transition period having a predetermined time set after the switching timing Tc detected by the detection unit 120. Drive synchronously. Accordingly, the second acquisition unit 111 acquires, from the standby imaging unit 101, an image that is captured simultaneously with the operating imaging unit 101 over the transition period described above.

補間部112は、第2取得部111によって取得された画像と、切り替え部102によって出力される動作中の撮像部101によって得られる画像とを合成することにより、補間画像Gintを生成する。以下の説明では、補間部112による合成処理の対象となる画像のうち、動作中の撮像部101で得られた画像を切り替え元の画像GBと称する。一方、第2取得部111によって取得される画像は、切り替え先となる待機中の撮像部101によって得られた画像であるので、切り替え先の画像GFと称する。   The interpolating unit 112 generates an interpolated image Gint by combining the image acquired by the second acquiring unit 111 and the image obtained by the imaging unit 101 in operation output by the switching unit 102. In the following description, an image obtained by the imaging unit 101 in operation among the images to be combined by the interpolation unit 112 is referred to as a switching source image GB. On the other hand, the image acquired by the second acquisition unit 111 is an image obtained by the standby imaging unit 101 that is the switching destination, and is referred to as a switching destination image GF.

また、図1に示した出力制御部113は、検出部120によって検出される切り替えタイミングTcに応じて、切り替え部102によって出力される画像と補間部112によって生成される補間画像Gintとを切り替えて出力する。出力制御部113は、通常は、切り替え部102によって出力される各フレームの画像を順次に出力することによって2次元動画像mvを生成する。一方、上述した移行期間にわたって、出力制御部113は、切り替え部102の出力に代えて、補間部112によって得られる各フレームの補間画像Gintを2次元動画像mvの一部として順次に出力する。   Further, the output control unit 113 illustrated in FIG. 1 switches between the image output by the switching unit 102 and the interpolation image Gint generated by the interpolation unit 112 in accordance with the switching timing Tc detected by the detection unit 120. Output. The output control unit 113 normally generates the two-dimensional moving image mv by sequentially outputting the image of each frame output by the switching unit 102. On the other hand, over the transition period described above, the output control unit 113 sequentially outputs the interpolation image Gint of each frame obtained by the interpolation unit 112 as a part of the two-dimensional moving image mv instead of the output of the switching unit 102.

図2に、動画像撮影動作を説明する図を示す。図2において、撮像部101Lによる撮像動作で得られる画像GLを白い矩形で示す。また、図2に示した網掛けを付した矩形は、撮像部101Rによる撮像動作で得られる画像GRを示す。   FIG. 2 is a diagram illustrating a moving image shooting operation. In FIG. 2, an image GL obtained by the imaging operation by the imaging unit 101L is shown by a white rectangle. A shaded rectangle shown in FIG. 2 indicates an image GR obtained by an imaging operation by the imaging unit 101R.

図2は、動作中の撮像部101を撮像部101Lから撮像部101Rに切り替える過程で、各撮像部101L,101Rで得られる画像GL,GRと、動画像撮影装置から出力される2次元動画像mvとの関係を示している。   FIG. 2 shows images GL and GR obtained by the respective imaging units 101L and 101R in the process of switching the imaging unit 101 in operation from the imaging unit 101L to the imaging unit 101R, and a two-dimensional video image output from the video imaging device. The relationship with mv is shown.

また、図2に示した符号Tcは、検出部120によって検出される切り替えタイミングを示す。図2に示した例において、この切り替えタイミングTc以前の期間において、出力制御部113によって出力される2次元動画像mvは、動作中の撮像部101である撮像部101Lで得られた画像GLに基づいて生成される。   Moreover, the code | symbol Tc shown in FIG. 2 shows the switching timing detected by the detection part 120. FIG. In the example illustrated in FIG. 2, the two-dimensional moving image mv output by the output control unit 113 in the period before the switching timing Tc is an image GL obtained by the imaging unit 101L that is the imaging unit 101 in operation. Based on.

第2取得部111は、例えば、図2に示すように、切り替えタイミングTcから所定の時間tpが経過した後に、待機中の撮像部101を、動作中の撮像部101と同等のフレームレートで駆動する動作を開始してもよい。なお、図2の例において、移行期間は、切り替えタイミングTcから時間tpが経過した後の時間trの期間である。この移行期間の長さは、例えば、上述したフレーム間隔tfの自然数m倍としてもよい。この移行期間において、第2取得部111は、待機中の撮像部101によってフレーム間隔tfごとに得られる各フレームの画像を切り替え先の画像GFとして取得する。   For example, as illustrated in FIG. 2, the second acquisition unit 111 drives the standby imaging unit 101 at a frame rate equivalent to that of the operating imaging unit 101 after a predetermined time tp has elapsed from the switching timing Tc. The operation may be started. In the example of FIG. 2, the transition period is a period of time tr after the time tp has elapsed from the switching timing Tc. The length of the transition period may be, for example, a natural number m times the frame interval tf described above. In this transition period, the second acquisition unit 111 acquires an image of each frame obtained for each frame interval tf by the standby imaging unit 101 as a switching destination image GF.

そして、図1に示した補間部112は、図2に示すように、2つの撮像部101L,101Rからそれぞれフレーム間隔tfごとに得られる画像GL,GRを、それぞれ切り替え元の画像GB,切り替え先の画像GFとして合成する。この合成処理により、補間部112は、2つの撮像部101L,101Rの中間の視点を持つ仮想的な撮像部に対応する補間画像Gintをフレーム間隔tfごとに生成する。   Then, as shown in FIG. 2, the interpolation unit 112 shown in FIG. 1 converts the images GL and GR obtained from the two imaging units 101L and 101R at the frame intervals tf, respectively, into the switching source image GB and the switching destination, respectively. Is synthesized as an image GF. By this synthesis processing, the interpolation unit 112 generates an interpolated image Gint corresponding to a virtual imaging unit having an intermediate viewpoint between the two imaging units 101L and 101R at every frame interval tf.

上述した移行期間にわたって、出力制御部113は、この補間部112によって生成された補間画像Gintを、切り替え部102によって出力される画像に代えて、2次元動画像mvの一部として出力する。なお、図2の例において、二重線で表した矩形は、移行期間において補間部112によって生成される補間画像Gintを示す。   Over the transition period described above, the output control unit 113 outputs the interpolation image Gint generated by the interpolation unit 112 as a part of the two-dimensional moving image mv instead of the image output by the switching unit 102. In the example of FIG. 2, a rectangle represented by a double line indicates an interpolation image Gint generated by the interpolation unit 112 during the transition period.

このようにして、移行期間が経過した後に、切り替え部102は、2つの撮像部101L,101Rの動作状態を切り替える。例えば、切り替え部102は、それまで動作させていた動作中の撮像部101に対する駆動動作を停止し、待機中の撮像部101に対する駆動動作を開始する。   Thus, after the transition period elapses, the switching unit 102 switches the operation states of the two imaging units 101L and 101R. For example, the switching unit 102 stops the driving operation for the imaging unit 101 that has been operating until then, and starts the driving operation for the imaging unit 101 that is on standby.

例えば、図2に示した例において、符号Taを付した矢印は、撮像部101Lから撮像部101Rへの切り替えが実行されるタイミングを示す。このタイミングTaにおいて、切り替え部102は、撮像部101Lの撮像動作を停止させる一方、移行期間において動作を開始した撮像部101Rの撮像動作はそのまま継続させる。これにより、図2に示すように、上述したタイミングTa以降は、フレーム間隔tfごとに撮像部101Rによって得られる画像GRが、2次元動画像mvの一部として出力される。   For example, in the example illustrated in FIG. 2, an arrow with a symbol Ta indicates a timing at which switching from the imaging unit 101L to the imaging unit 101R is executed. At this timing Ta, the switching unit 102 stops the imaging operation of the imaging unit 101L, while continuing the imaging operation of the imaging unit 101R that started the operation during the transition period. As a result, as shown in FIG. 2, after the timing Ta described above, the image GR obtained by the imaging unit 101R is output as a part of the two-dimensional moving image mv at every frame interval tf.

一方、図1に例示した検出部120は、第1取得部121と、評価部122と、特定部123と、タイマ124とを含んでいる。   On the other hand, the detection unit 120 illustrated in FIG. 1 includes a first acquisition unit 121, an evaluation unit 122, a specification unit 123, and a timer 124.

第1取得部121は、例えば、タイマ124からの制御信号STに応じて、待機中の撮像部101を周期的に駆動する動作を開始する。第1取得部121は、例えば、待機中の撮像部101を所定の時間間隔tdごとに駆動することにより、この待機中の撮像部101で得られる画像を周期的に取得する。なお、この時間間隔tdは、例えば、フレーム間隔tfの自然数n倍に設定してもよい。   For example, the first acquisition unit 121 starts an operation of periodically driving the imaging unit 101 that is on standby in response to the control signal ST from the timer 124. The first acquisition unit 121 periodically acquires an image obtained by the standby imaging unit 101 by, for example, driving the standby imaging unit 101 at every predetermined time interval td. The time interval td may be set to a natural number n times the frame interval tf, for example.

図1に示したタイマ124は、動作中の撮像部101が撮像動作を継続することが可能な残り時間Tremを示す内部値を保持しており、この内部値を時間の経過に応じて減じる動作を行う。タイマ124は、例えば、上述した切り替え部102が撮像部101の切り替えを実行したタイミングを示す制御信号RSに応じて、内部値に、撮像部101の過熱を防ぐために設定された制限時間に相当する値を初期値としてセットしてもよい。また、タイマ124は、時間の経過に応じて減じられた内部値が、所定の時間Dsを示す値に到達したときに、制御信号STを出力することによって、第1取得部121に動作を開始させる。   The timer 124 shown in FIG. 1 holds an internal value indicating the remaining time Trem that allows the imaging unit 101 in operation to continue the imaging operation, and the internal value is decreased as time elapses. I do. The timer 124 corresponds to, for example, a time limit set in order to prevent the imaging unit 101 from being overheated according to the control signal RS indicating the timing at which the switching unit 102 described above performs switching of the imaging unit 101. A value may be set as an initial value. In addition, the timer 124 starts the operation of the first acquisition unit 121 by outputting the control signal ST when the internal value reduced with the passage of time reaches a value indicating the predetermined time Ds. Let

例えば、図2に示した符号Tsは、動作中となっている撮像部101Lが撮像動作を継続している時間が、撮像部101の過熱を防ぐために設定された制限時間に到達するタイミングを示す。上述したタイマ124は、このタイミングTsから上述した時間Dsだけ遡った時点で制御信号STを出力することにより、第1取得部121の動作を開始させる。   For example, the symbol Ts illustrated in FIG. 2 indicates the timing at which the time during which the imaging unit 101L that is operating continues the imaging operation reaches the time limit set to prevent the imaging unit 101 from overheating. . The above-described timer 124 starts the operation of the first acquisition unit 121 by outputting the control signal ST at a time point that is earlier than the timing Ts by the above-described time Ds.

このようにして、動作中の撮像部101による撮像動作が継続可能なうちに、第1取得部121による待機中の撮像部101の画像を取得する動作を開始させることができる。   In this way, while the imaging operation by the imaging unit 101 in operation can be continued, the operation of acquiring the image of the imaging unit 101 on standby by the first acquisition unit 121 can be started.

また、図1に示した評価部122は、切り替え部102によって出力される画像と第1取得部121が取得した画像とを比較することにより、2つの撮像部101L,101Rが共通して捉えている被写体についての視差を評価する。特定部123は、評価部122による評価結果に基づいて、2つの撮像部101L,101Rが共通して捉えている被写体についての視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングTcとして特定する。このようにして、検出部120は、2つの撮像部101L,101Rが共通して捉えている被写体についての視差が所定の閾値よりも小さくなる切り替えタイミングTcを検出することができる。   In addition, the evaluation unit 122 illustrated in FIG. 1 compares the image output by the switching unit 102 with the image acquired by the first acquisition unit 121 so that the two imaging units 101L and 101R can capture the same. Evaluate the parallax for the subject. Based on the evaluation result by the evaluation unit 122, the specifying unit 123 specifies, as the switching timing Tc, a timing at which the parallax for the subject captured by the two image pickup units 101L and 101R in common is smaller than a predetermined threshold. In this way, the detection unit 120 can detect the switching timing Tc at which the parallax for the subject captured by the two imaging units 101L and 101R in common is smaller than the predetermined threshold.

図2に示した符号T1,T2,T3は、上述した第1取得部121が、待機中となっている撮像部101Rから画像GRを取得するタイミングの例を示す。図2の例は、タイミングT3で、2つの撮像部101L,101Rからそれぞれ得られる画像GL,GRを比較した結果に基づいて、切り替えタイミングTcが検出された場合を示している。   Reference numerals T1, T2, and T3 illustrated in FIG. 2 indicate examples of timing at which the above-described first acquisition unit 121 acquires the image GR from the imaging unit 101R that is on standby. The example of FIG. 2 illustrates a case where the switching timing Tc is detected based on the result of comparing the images GL and GR respectively obtained from the two imaging units 101L and 101R at the timing T3.

このようにして検出された切り替えタイミングTcに基づいて、生成部110は、上述したようにして、補間部112によって生成した補間画像Gintを出力する移行期間を経て、2つの撮像部101L,101Rを切り替える。   Based on the switching timing Tc detected in this way, the generation unit 110 causes the two imaging units 101L and 101R to pass through a transition period in which the interpolation image Gint generated by the interpolation unit 112 is output as described above. Switch.

動画像撮影装置に搭載された2つの撮像部101L,101Rの切り替えに先立って、このような移行期間を設けることにより、切り替えに伴う視点の変化が出力される2次元動画像mvに及ぼす影響を更に抑制することができる。これにより、本件開示の動画像撮影装置は、視点の異なる2つの撮像部101L,101Rを切り替えながら、自然な連続性を維持した2次元動画像を出力することができる。   By providing such a transition period prior to switching between the two imaging units 101L and 101R mounted on the moving image capturing apparatus, the influence of the change in the viewpoint caused by the switching on the output two-dimensional moving image mv is affected. Further suppression can be achieved. As a result, the moving image capturing device disclosed herein can output a two-dimensional moving image maintaining natural continuity while switching between the two imaging units 101L and 101R having different viewpoints.

図3に、本件開示の動画像撮影装置の状態遷移図の一例を示す。   FIG. 3 shows an example of a state transition diagram of the moving image shooting apparatus disclosed herein.

図3に示した符号PLは、図1に示した撮像部101Lが単独で撮像動作している状態を示す。また、符号Ps(L→R)は、撮像部101Lから撮像部101Rへの切り替えタイミングを探索している状態を示す。そして、符号Pt(L→R)は、撮像部101Lから撮像部101Rへの切り替えに先立つ移行期間に対応する状態を示す。また、符号PRは、図1に示した撮像部101Rが単独で撮像動作している状態を示す。また、符号Ps(R→L)は、撮像部101Rから撮像部101Lへの切り替えタイミングを探索している状態を示す。そして、符号Pt(R→L)は、撮像部101Rから撮像部101Lへの切り替えに先立つ移行期間に対応する状態を示す。   A symbol PL illustrated in FIG. 3 indicates a state where the imaging unit 101L illustrated in FIG. A symbol Ps (L → R) indicates a state in which the switching timing from the imaging unit 101L to the imaging unit 101R is searched. A symbol Pt (L → R) indicates a state corresponding to a transition period prior to switching from the imaging unit 101L to the imaging unit 101R. Reference sign PR indicates a state in which the imaging unit 101R illustrated in FIG. A symbol Ps (R → L) indicates a state in which the switching timing from the imaging unit 101R to the imaging unit 101L is being searched for. A symbol Pt (R → L) indicates a state corresponding to a transition period prior to switching from the imaging unit 101R to the imaging unit 101L.

図3に示したように、本件開示の動画像撮影装置の状態は、状態PL,状態Ps(L→R),状態Pt(L→R)、状態PR,状態Ps(R→L)、状態Pt(R→L)を循環的遷移する過程で、2つの撮像部101L,101Rを切り替え動作させる。これにより、個々の撮像部101L,101Rに設定された過熱防止のための連続動作時間に対する制限にかかわらず、本件開示の動画像撮影装置は、長時間の2次元動画像の撮影を実現することができる。なお、図2に示した符号PLは、動画像撮影装置の状態が状態PLである期間を示す。また、図2に示した符号Ps(L→R)は、動画像撮影装置の状態が状態Ps(L→R)である期間を示す。同様に、図2に示した符号Pt(L→R)は、動画像撮影装置の状態が状態Pt(L→R)である期間を示す。そして、図2に示した符号PRは、動画像撮影装置の状態が状態PRである期間を示す。   As shown in FIG. 3, the state of the moving image capturing device disclosed herein is as follows: state PL, state Ps (L → R), state Pt (L → R), state PR, state Ps (R → L), state In the process of making a cyclic transition of Pt (R → L), the two imaging units 101L and 101R are switched. As a result, the moving image shooting device disclosed herein can realize long-time two-dimensional moving image shooting, regardless of restrictions on the continuous operation time for preventing overheating set in the individual imaging units 101L and 101R. Can do. In addition, the code | symbol PL shown in FIG. 2 shows the period when the state of a moving image imaging device is the state PL. Moreover, the code | symbol Ps (L-> R) shown in FIG. 2 shows the period when the state of a moving image imaging device is state Ps (L-> R). Similarly, a symbol Pt (L → R) illustrated in FIG. 2 indicates a period in which the state of the moving image capturing apparatus is the state Pt (L → R). 2 indicates a period in which the state of the moving image capturing apparatus is the state PR.

図4に、動画像撮影装置のハードウェア構成の一例を示す。   FIG. 4 shows an example of the hardware configuration of the moving image capturing apparatus.

図4に例示した動画像撮影装置は、2つの撮像部101L,101Rと、画像処理用のプロセッサ21と、メモリ22と、記録処理部23と、メモリコントローラ24とを含んでいる。2つの撮像部101L,101Rと、プロセッサ21と、メモリ22と、記録処理部23との各部は、メモリコントローラ24を介して互いに接続されている。   The moving image capturing apparatus illustrated in FIG. 4 includes two imaging units 101L and 101R, an image processing processor 21, a memory 22, a recording processing unit 23, and a memory controller 24. The two imaging units 101L and 101R, the processor 21, the memory 22, and the recording processing unit 23 are connected to each other via a memory controller 24.

図4に例示した動画像撮影装置は、例えば、3次元動画像撮影機能を有するデジタルビデオカメラあるいはデジタルカメラなどである。そして、2つの撮像部101L,101Rは、例えば、3次元動画像あるいは3次元静止画像の撮影を目的として、人間の左右の目に相当する視差を持つように配置されている。また、記録処理部23は、例えば、メモリカードなどの着脱可能な記録媒体との間で、画像データなどの記録処理および読出処理を実行する。   The moving image shooting apparatus illustrated in FIG. 4 is, for example, a digital video camera or a digital camera having a three-dimensional moving image shooting function. The two imaging units 101L and 101R are arranged so as to have a parallax corresponding to the left and right eyes of a human for the purpose of capturing a three-dimensional moving image or a three-dimensional still image, for example. The recording processing unit 23 performs recording processing and reading processing of image data and the like with a detachable recording medium such as a memory card, for example.

また、動画像撮影装置は、装置制御用のプロセッサ28と、外部インタフェース(外部I/F)29と、操作パネル30とを含んでもよい。プロセッサ28と、外部インタフェース29、操作パネル30およびメモリコントローラ24とは、互いにバスを介して接続されている。外部インタフェース29は、プロセッサ28の制御の下で、例えば、パーソナルコンピュータなどとメモリ22との間のデータのやり取りを媒介する。   Further, the moving image photographing apparatus may include a processor 28 for controlling the apparatus, an external interface (external I / F) 29, and an operation panel 30. The processor 28, the external interface 29, the operation panel 30, and the memory controller 24 are connected to each other via a bus. The external interface 29 mediates exchange of data between, for example, a personal computer and the memory 22 under the control of the processor 28.

メモリ22は、2つの撮像部101L,101Rを交互に動作させるための切り替え処理プログラムを格納している。プロセッサ21は、この切り替え処理プログラムに従って撮像部101L,101Rの動作を制御することにより、図1に示した生成部110および検出部120の機能を実現する。   The memory 22 stores a switching processing program for operating the two imaging units 101L and 101R alternately. The processor 21 implements the functions of the generation unit 110 and the detection unit 120 illustrated in FIG. 1 by controlling the operations of the imaging units 101L and 101R according to the switching processing program.

なお、例えば、外部インタフェース29を利用して、パーソナルコンピュータなどを経由して切り替え処理プログラムを読み込み、読み込んだ切り替え処理プログラムをメモリ22に格納させてもよい。   For example, the switching process program may be read using a personal computer or the like using the external interface 29, and the read switching process program may be stored in the memory 22.

また、図4に示した撮像部101Rは、撮像素子25Rと、駆動制御部26Rと、フォーマット変換部27Rとを含んでいる。同様に、撮像部101Lは、撮像素子25Lと、駆動制御部26Lと、フォーマット変換部27Lとを含んでいる。   The imaging unit 101R illustrated in FIG. 4 includes an imaging element 25R, a drive control unit 26R, and a format conversion unit 27R. Similarly, the imaging unit 101L includes an imaging element 25L, a drive control unit 26L, and a format conversion unit 27L.

駆動制御部26R,26Lは、それぞれ撮像素子25R,25Lによる撮像動作を駆動する。また、駆動制御部26R,26Lは、撮像素子25R,25Lによる撮像動作で得られた信号から画像GR,GLを生成する。フォーマット変換部27R,27Lは、駆動制御部26R,26Lで生成された画像GR,GLのデータ形式を、YCbCr形式などの出力用のデータ形式に変換する。   The drive controllers 26R and 26L drive the imaging operation by the imaging elements 25R and 25L, respectively. Further, the drive control units 26R and 26L generate images GR and GL from signals obtained by the imaging operation by the imaging elements 25R and 25L. The format conversion units 27R and 27L convert the data format of the images GR and GL generated by the drive control units 26R and 26L into an output data format such as a YCbCr format.

動画像撮影装置が3次元動画像の撮影を行う場合に、撮像部101R,101Lは動画像撮影のための所定のフレームレートで並行して動作する。そして、フォーマット変換部27R,27Lは、出力用のデータ形式に変換した画像GR,GLを、動画像撮影のためのフレームレートに対応するフレーム間隔tfごとに、メモリコントローラ24を介してメモリ22に格納する。また、記録処理部23は、メモリ22に格納された出力用のデータ形式の画像GR,GLを記録媒体に記録する処理を行う。なお、記録処理部23は、画像GR,GLの記録媒体に記録する過程で、例えば、MPEG方式などに基づいた圧縮処理を行ってもよい。   When the moving image capturing apparatus captures a three-dimensional moving image, the imaging units 101R and 101L operate in parallel at a predetermined frame rate for moving image capturing. Then, the format conversion units 27R and 27L store the images GR and GL converted into the output data format in the memory 22 via the memory controller 24 for each frame interval tf corresponding to the frame rate for moving image shooting. Store. In addition, the recording processing unit 23 performs a process of recording the images GR and GL in the output data format stored in the memory 22 on a recording medium. Note that the recording processing unit 23 may perform compression processing based on, for example, the MPEG method in the process of recording the recording medium of the images GR and GL.

一方、動画像撮影装置が2次元動画像の撮影を行う際に、プロセッサ21は、撮像部101R,101Lを交互に切り替えて動作させる処理を行う。   On the other hand, when the moving image capturing apparatus captures a two-dimensional moving image, the processor 21 performs processing for switching the image capturing units 101R and 101L alternately.

なお、動画像撮影装置は、例えば、プロセッサ28の制御の下で、操作パネル30などを介して撮影者が入力したモード切り替え指示に応じて、3次元動画像を撮影するモードと2次元動画像を撮影するモードとを切り替えて動作してもよい。また、プロセッサ28は、動画像撮影装置の各部を制御することにより、3次元静止画像および2次元静止画像の撮影を行ってもよい。   Note that the moving image capturing apparatus, for example, a mode for capturing a three-dimensional moving image and a two-dimensional moving image in response to a mode switching instruction input by the photographer via the operation panel 30 or the like under the control of the processor 28. The operation mode may be switched to a mode for shooting. Further, the processor 28 may capture a 3D still image and a 2D still image by controlling each part of the moving image capturing apparatus.

例えば、モード切り替え指示により、2次元動画像を撮影するモードへの切り替えが指示されたときに、プロセッサ21は、2つの撮像部101L,101Rを交互に切り替えて2次元動画像を生成する処理を開始する。   For example, when switching to a mode for capturing a two-dimensional moving image is instructed by a mode switching instruction, the processor 21 performs a process of generating a two-dimensional moving image by alternately switching the two imaging units 101L and 101R. Start.

そして、一方の撮像部101の連続動作時間が、過熱防止のために設定された制限時間に近づいたときに、プロセッサ21は、切り替え処理プログラムの実行を開始する。例えば、プロセッサ21は、図1に示したタイマ124について説明したように、制限時間から連続動作時間を差し引いて得られる残り時間Tremが時間Dsとなったときに、切り替え処理プログラムの実行を開始してもよい。なお、この時間Dsは、例えば、2つの撮像部101L,101Rの切り替えに好適なタイミングを探索するために要する時間と、上述した移行期間とを考慮して決定してもよい。   When the continuous operation time of one imaging unit 101 approaches the time limit set for preventing overheating, the processor 21 starts executing the switching process program. For example, as described for the timer 124 shown in FIG. 1, the processor 21 starts executing the switching processing program when the remaining time Trem obtained by subtracting the continuous operation time from the time limit becomes the time Ds. May be. Note that the time Ds may be determined in consideration of, for example, the time required to search for a suitable timing for switching between the two imaging units 101L and 101R and the transition period described above.

図5に、撮像部101R,101Lを切り替える処理のフローチャートを示す。   FIG. 5 shows a flowchart of processing for switching the imaging units 101R and 101L.

プロセッサ21は、まず、待機中の撮像部101から画像を取得するタイミングを制御するための変数tに初期値0を設定する(ステップS11)。次いで、プロセッサ21は、動作中の撮像部101で得られる画像を、2次元動画像mvの一部として出力する(ステップS12)。ステップS12において、プロセッサ21は、動作中の撮像部101に含まれるフォーマット変換部27に対して、変換済みの画像をメモリコントローラ24を介して出力させてもよい。   First, the processor 21 sets an initial value 0 to a variable t for controlling the timing of acquiring an image from the imaging unit 101 that is on standby (step S11). Next, the processor 21 outputs an image obtained by the imaging unit 101 in operation as a part of the two-dimensional moving image mv (step S12). In step S <b> 12, the processor 21 may cause the format conversion unit 27 included in the operating imaging unit 101 to output the converted image via the memory controller 24.

その後、プロセッサ21は、変数tが待機中の撮像部101から画像を取得する時間間隔td未満であるか否かを判定する(ステップS13)。なお、この時間間隔tdは、例えば、図2に示したように、フレーム間隔tfの整数n倍としてもよい。変数tの値が時間間隔td未満である場合に(ステップS13の肯定判定)、プロセッサ21は、ステップS14で変数tにフレーム間隔tfを加算した後に、ステップS12の処理に戻る。   Thereafter, the processor 21 determines whether or not the variable t is less than the time interval td for acquiring an image from the imaging unit 101 that is on standby (step S13). The time interval td may be an integer n times the frame interval tf as shown in FIG. 2, for example. When the value of the variable t is less than the time interval td (Yes determination in step S13), the processor 21 adds the frame interval tf to the variable t in step S14, and then returns to the process of step S12.

図5に示したステップS11〜ステップS14を繰り返して、動作中の撮像部101で得られたnフレームの画像を出力したときに、上述した変数tの値は時間間隔tdに等しくなる。このとき、プロセッサ21は、ステップS13の肯定判定として、ステップS15の処理に進む。   When the steps S11 to S14 shown in FIG. 5 are repeated and an image of n frames obtained by the imaging unit 101 in operation is output, the value of the variable t described above becomes equal to the time interval td. At this time, the processor 21 proceeds to the process of step S15 as an affirmative determination of step S13.

ステップS15で、プロセッサ21は、待機中の撮像部101を駆動して1フレームの画像を取得する。例えば、プロセッサ21は、待機中の撮像部101に含まれる駆動制御部26を介して撮像素子25を一時的に駆動し、待機中の撮像部101に含まれるフォーマット変換部27と、メモリ22、メモリコントローラ24を介して、1フレームの画像を取得すればよい。このように、プロセッサ21が、ステップS15の処理を実行することにより、図1に示した第1取得部121の機能を実現してもよい。   In step S <b> 15, the processor 21 drives the imaging unit 101 that is on standby, and acquires an image of one frame. For example, the processor 21 temporarily drives the imaging device 25 via the drive control unit 26 included in the standby imaging unit 101, the format conversion unit 27 included in the standby imaging unit 101, the memory 22, and the like. An image of one frame may be acquired via the memory controller 24. Thus, the processor 21 may realize the function of the first acquisition unit 121 illustrated in FIG. 1 by executing the process of step S15.

次いで、プロセッサ21は、ステップS15で得られた画像とステップS12で得られた画像とに基づいて、これらの画像に共通して捉えられた被写体についての2つの撮像部101R,Lの視差を評価する(ステップS16)。このように、プロセッサ21が、ステップS16の処理を実行することにより、図1に示した評価部122の機能を実現してもよい。なお、ステップS16の処理の詳細については後述する。   Next, the processor 21 evaluates the parallax of the two imaging units 101R and L with respect to the subject captured in common in these images based on the image obtained in step S15 and the image obtained in step S12. (Step S16). Thus, the processor 21 may implement the function of the evaluation unit 122 illustrated in FIG. 1 by executing the process of step S16. Details of the process in step S16 will be described later.

そして、プロセッサ21は、ステップS16で得られた評価結果で示される視差の大きさと所定の閾値との比較結果に基づいて、動作中の撮像部101から待機中の撮像部101への切り替えが可能であるか否かを判定する(ステップS17)。なお、ステップS17において、プロセッサ21がステップS16で得られた評価結果と比較する閾値を決定する手法については後述する。   Then, the processor 21 can switch from the active imaging unit 101 to the standby imaging unit 101 based on the comparison result between the magnitude of the parallax indicated by the evaluation result obtained in step S16 and a predetermined threshold value. It is determined whether or not (step S17). Note that, in step S17, a method for determining a threshold value for the processor 21 to compare with the evaluation result obtained in step S16 will be described later.

ステップS16で得られた評価結果で示される視差の大きさが上述した閾値よりも大きい場合に(ステップS17の否定判定)、プロセッサ21は、ステップS18に進む。このステップS18で、プロセッサ21は、動作中の撮像部101を連続動作させられる残り時間Tremが、上述した時間Deよりも大きいか否かを判定する。なお、ステップS18において、プロセッサ21が残り時間Tremと比較する時間Deは、例えば、図2に示した時間Dsよりも短い時間であって、移行期間に相当する時間trよりも長い時間に設定してもよい。   When the magnitude of the parallax indicated by the evaluation result obtained in step S16 is larger than the above-described threshold value (negative determination in step S17), the processor 21 proceeds to step S18. In step S <b> 18, the processor 21 determines whether or not the remaining time Trem in which the imaging unit 101 in operation can be continuously operated is larger than the above-described time De. In step S18, the time De that the processor 21 compares with the remaining time Trem is set to a time that is shorter than the time Ds shown in FIG. 2 and longer than the time tr corresponding to the transition period, for example. May be.

動作中の撮像部101に対応する残り時間Tremが上述した時間Deよりも大きい場合に(ステップS18の肯定判定)、プロセッサ21は、ステップS11の処理に戻る。そして、プロセッサ21は、待機中の撮像部101から新たな画像を取得する処理を開始する。   When the remaining time Trem corresponding to the imaging unit 101 in operation is larger than the above-described time De (positive determination in step S18), the processor 21 returns to the process in step S11. Then, the processor 21 starts a process of acquiring a new image from the imaging unit 101 that is on standby.

このようにしてステップS11〜ステップS18の処理を繰り返すことにより、プロセッサ21は、上述した時間間隔tdで、待機中の撮像部101である撮像部101Rによって得られる画像GRを取得する。   In this way, by repeating the processing of step S11 to step S18, the processor 21 acquires the image GR obtained by the imaging unit 101R that is the standby imaging unit 101 at the time interval td described above.

そして、例えば、図2にタイミングT3で取得した画像GRと画像GLとについて得られた評価結果が上述した閾値以下である場合に(ステップS17の肯定判定)、プロセッサ21は、撮像部101Lから撮像部101Rへの切り替えが可能になったと判断する。このように、プロセッサ21が、ステップS17の処理を実行することにより、図1に示した特定部123の機能を実現してもよい。   For example, when the evaluation result obtained for the image GR and the image GL acquired at timing T3 in FIG. 2 is equal to or less than the above-described threshold value (Yes determination in step S17), the processor 21 captures an image from the image capturing unit 101L. It is determined that switching to the unit 101R is possible. As described above, the function of the specifying unit 123 illustrated in FIG. 1 may be realized by the processor 21 executing the process of step S17.

ステップS17の肯定判定の場合に、プロセッサ21は、図5に示したステップS19の処理に進む。ステップS19で、プロセッサ21は、動作中の撮像部101で得られる画像を切り替え元の画像GBとして取得するとともに、待機中の撮像部101で得られる画像を切り替え先の画像GFとして取得する。例えば、プロセッサ21は、待機中の撮像部101に含まれる駆動制御部26を介して、撮像素子25を動画像撮影のためのフレームレートで駆動してもよい。この駆動処理によって駆動制御部26Rで得られた画像GRを、プロセッサ21は、切り替え先の画像GFとして取得する。このように、プロセッサ21が、ステップS19の処理を実行することにより、図1に示した第2取得部111の機能を実現してもよい。   If the determination in step S17 is affirmative, the processor 21 proceeds to the process of step S19 shown in FIG. In step S <b> 19, the processor 21 acquires an image obtained by the imaging unit 101 in operation as the switching source image GB and acquires an image obtained by the standby imaging unit 101 as the switching destination image GF. For example, the processor 21 may drive the imaging element 25 at a frame rate for moving image shooting via the drive control unit 26 included in the standby imaging unit 101. The processor 21 acquires the image GR obtained by the drive control unit 26R by this drive processing as the switching destination image GF. Thus, the processor 21 may realize the function of the second acquisition unit 111 illustrated in FIG. 1 by executing the process of step S19.

次いで、プロセッサ21は、ステップS19で取得した切り替え元の画像GBおよび切り替え先の画像GFに基づいて、補間画像Gintを生成する(ステップS20)。このように、プロセッサ21が、ステップS20の処理を実行することにより、図1に示した補間部112の機能を実現してもよい。なお、ステップS20の処理の詳細については後述する。   Next, the processor 21 generates an interpolated image Gint based on the switching source image GB and the switching destination image GF acquired in step S19 (step S20). Thus, the processor 21 may implement the function of the interpolation unit 112 illustrated in FIG. 1 by executing the process of step S20. Details of the processing in step S20 will be described later.

次に、プロセッサ21は、ステップS20で生成した補間画像Gintを、切り替え元の画像GBの代わりに、2次元動画像データの一部として出力する(ステップS21)。このようにして、プロセッサ21がステップS21の処理を実行することにより、図1に示した出力制御部113の機能を実現してもよい。   Next, the processor 21 outputs the interpolated image Gint generated in step S20 as part of the two-dimensional moving image data instead of the switching source image GB (step S21). Thus, the function of the output control unit 113 shown in FIG. 1 may be realized by the processor 21 executing the process of step S21.

その後、プロセッサ21は、ステップS22において、図2に例示した時間trを有する移行期間が終了したと判定するまで、ステップS19〜ステップS22の処理を繰り返す。   After that, the processor 21 repeats the processing from step S19 to step S22 until it is determined in step S22 that the transition period having the time tr illustrated in FIG. 2 has ended.

例えば、図2に示した移行期間Pt(L→R)において、プロセッサ21は、ステップS19〜ステップS22の処理を繰り返す。この処理の過程で、プロセッサ21は、撮像部101Lおよび撮像部101Rから各フレームの画像GLおよび画像GRを取得するごとに、ステップS20の処理を実行することにより、各フレームの補間画像Gintを生成する。そして、このようにして生成した各フレームの補間画像Gintを、プロセッサ21は、2次元動画像mvの一部として出力する。   For example, in the transition period Pt (L → R) shown in FIG. 2, the processor 21 repeats the processing from step S19 to step S22. In the course of this process, the processor 21 generates the interpolated image Gint of each frame by executing the process of step S20 each time the image GL and the image GR of each frame are acquired from the imaging unit 101L and the imaging unit 101R. To do. Then, the processor 21 outputs the interpolation image Gint of each frame generated in this way as a part of the two-dimensional moving image mv.

なお、プロセッサ21は、待機中の撮像部101を動画撮影用のフレームレートで駆動するのに先立って、図2の例のように、所定の予備時間tpを設けてもよい。この場合に、プロセッサ21は、上述したようにして切り替え可能なタイミングT3が検出されてから予備時間tpが経過した後に、ステップS19〜ステップS22の移行処理を開始する。一方、上述した予備時間tpが不要である場合に、プロセッサ21は、ステップS17で、切り替え可能なタイミングを検出したときに、ステップS19〜ステップS22の移行処理を開始してもよい。   Note that the processor 21 may provide a predetermined spare time tp as shown in the example of FIG. 2 prior to driving the standby imaging unit 101 at the moving image shooting frame rate. In this case, the processor 21 starts the transition process from step S19 to step S22 after the preliminary time tp has elapsed since the switchable timing T3 was detected as described above. On the other hand, when the above-described preliminary time tp is not necessary, the processor 21 may start the transition process of step S19 to step S22 when detecting a switchable timing in step S17.

ステップS19〜ステップS22の移行処理を開始してから時間trが経過したときに(ステップS22の肯定判定)、プロセッサ21は、2つの撮像部101R,101Lの動作状態を切り替える処理を行う(ステップS23)。例えば、プロセッサ21は、動作中の撮像部101L内の駆動制御部26Lを介して、撮像部101Lを休止状態にする。その一方、プロセッサ21は、撮像部101R内の駆動制御部26Rを介して、この撮像部101Rによる撮像動作を継続させる。このようにして、プロセッサ21によって、撮像部101Lと撮像部101Rとの役割を切り替えた後の動画像撮影装置の状態は、撮像部101Rの単独動作状態PRに遷移する。   When the time tr elapses after the start of the transition process from step S19 to step S22 (affirmative determination in step S22), the processor 21 performs a process of switching the operation states of the two imaging units 101R and 101L (step S23). ). For example, the processor 21 puts the imaging unit 101L into a sleep state via the drive control unit 26L in the operating imaging unit 101L. On the other hand, the processor 21 continues the imaging operation by the imaging unit 101R via the drive control unit 26R in the imaging unit 101R. In this way, the state of the moving image capturing apparatus after the roles of the imaging unit 101L and the imaging unit 101R are switched by the processor 21 transitions to the single operation state PR of the imaging unit 101R.

図3に示した単独動作期間PRにおいて、撮像部101Rは、撮像部101Lに代わって、動画撮影用のフレームレートに対応するフレーム間隔tfで画像GRを生成する。そして、この画像GRは、そのまま2次元動画像mvの一部として、メモリコントローラ24を介してメモリ22に格納される。   In the single operation period PR shown in FIG. 3, the imaging unit 101R generates an image GR at a frame interval tf corresponding to the frame rate for moving image shooting, instead of the imaging unit 101L. This image GR is stored in the memory 22 via the memory controller 24 as it is as a part of the two-dimensional moving image mv.

このように、本件開示の動画像撮影装置は、撮像部101Lから撮像部101Rへの切り替えを実現することができる。そして、撮像部101Rを動作中の撮像部101とし、撮像部101Lを待機中の撮像部101として動作させた後、上述した切り替え処理を再び行うことにより、撮像部101Rから撮像部101Lへの切り替えを実現することができる。   As described above, the moving image shooting apparatus disclosed herein can realize switching from the imaging unit 101L to the imaging unit 101R. Then, the imaging unit 101R is set as the active imaging unit 101, the imaging unit 101L is operated as the standby imaging unit 101, and then the switching process described above is performed again, whereby the switching from the imaging unit 101R to the imaging unit 101L is performed. Can be realized.

このように、図4に例示したハードウェア構成を有する動画像撮影装置により、図3に示した6つの状態を循環的に遷移する過程で、2つの撮像部101L,101Rを交互に切り替えながら長時間の2次元動画像撮影を行う動画像撮影装置を実現することができる。   As described above, the moving image capturing apparatus having the hardware configuration illustrated in FIG. 4 can be operated while the two imaging units 101L and 101R are alternately switched in the process of cyclically changing the six states illustrated in FIG. It is possible to realize a moving image shooting apparatus that performs time-based two-dimensional moving image shooting.

なお、図5に例示したフローチャートのように、ステップS17の否定判定の場合でも、残り時間Tremが時間De以下であると判定したときに(ステップS18の否定判定)、プロセッサ21は、ステップS19〜ステップS22の移行処理を実行してもよい。   Note that, as in the flowchart illustrated in FIG. 5, even in the case of a negative determination in step S <b> 17, when it is determined that the remaining time Trem is equal to or less than the time De (negative determination in step S <b> 18), the processor 21 performs steps S <b> 19 to S <b> 19. You may perform the transfer process of step S22.

例えば、時間Deに、上述した移行期間に相当する時間trに所定の猶予時間を加算した時間を設定してもよい。この場合に、プロセッサ21は、動作中の撮像部101の連続動作時間が過熱防止のために設定された制限時間に到達する前に、確実に、待機中の撮像部101への切り替えを完了させることができる。   For example, a time obtained by adding a predetermined grace time to the time tr corresponding to the transition period described above may be set as the time De. In this case, the processor 21 reliably completes switching to the standby imaging unit 101 before the continuous operation time of the imaging unit 101 in operation reaches the time limit set to prevent overheating. be able to.

また、ステップS16で得られた評価結果により、2つの撮像部101L,101Rの視差が極めて小さいことが示された場合などに、プロセッサ21は、ステップS19〜ステップS22の移行処理をスキップしてもよい。例えば、遠くの山並みなどの風景を撮影している場合などには、主要な被写体である風景に対する2つの撮像部101L,101Rの視差は非常に小さくなる。したがって、プロセッサ21は、ステップS16で得られた評価結果と、このような場合について2つの撮像部101L,101Rの視差を評価した結果に相当する閾値とを比較することにより、上述した移行処理をスキップするか否かを判定してもよい。   Further, when the evaluation result obtained in step S16 indicates that the parallax between the two imaging units 101L and 101R is extremely small, the processor 21 may skip the transition process from step S19 to step S22. Good. For example, when photographing a landscape such as a distant mountain range, the parallax between the two imaging units 101L and 101R with respect to the landscape that is the main subject becomes very small. Therefore, the processor 21 compares the evaluation result obtained in step S16 with the threshold corresponding to the result of evaluating the parallax of the two imaging units 101L and 101R in such a case, thereby performing the transition process described above. It may be determined whether or not to skip.

また、図4に例示したプロセッサ21に代えて、図5に示した撮像部を切り替える処理のためのプログラムを組み込んだデジタルシグナルプロセッサ(DSP:Digital Signal Processor)などのハードウェアを用いてもよい。   Further, instead of the processor 21 illustrated in FIG. 4, hardware such as a digital signal processor (DSP) incorporating a program for switching the imaging unit illustrated in FIG. 5 may be used.

次に、2つの撮像部101L,101Rの視差を評価する処理について説明する。   Next, processing for evaluating the parallax between the two imaging units 101L and 101R will be described.

図6に、視差を評価する処理を説明する図を示す。図6において、符号GL,GRは、それぞれ撮像部101L,101Rで得られた画像GL,GRを示す。また、図6に示した各画像GLにおいて、符号MBは、画像GLをN×N画素の小領域に分割して得られるブロックの一つである。なお、各ブロックの大きさは、例えば、16画素×16画素としてもよい。図6においては、図の見易さのために、個々のブロックの大きさを拡大して示している。   FIG. 6 illustrates a process for evaluating the parallax. In FIG. 6, symbols GL and GR indicate images GL and GR obtained by the imaging units 101L and 101R, respectively. Further, in each image GL shown in FIG. 6, the code MB is one of blocks obtained by dividing the image GL into small regions of N × N pixels. The size of each block may be, for example, 16 pixels × 16 pixels. In FIG. 6, the size of each block is shown enlarged for easy viewing.

図6(A),(B)は、2つの撮像部101L,101Rにより、樹木を含む風景を背景として近距離にいる人物を同時に撮影して得られた画像GL,GRの例である。   FIGS. 6A and 6B are examples of images GL and GR obtained by simultaneously photographing a person at a short distance with a landscape including a tree as a background by the two imaging units 101L and 101R.

図6(A),(B)に示した画像GL,GRに共通して含まれる人物についての視差は、例えば、画像GLの人物の部分に含まれるブロックMBについて、画像GRとブロックマッチングを行って得られる視差ベクトルVdに基づいて求めることができる。図6(B)において、符号MB’は、画像GLに含まれるブロックMBについてのブロックマッチングによって画像GRから検出された領域を示す。画像GLのブロックMBについての画像GRとの視差ベクトルVdは、例えば、画像GLのブロックMBの左上の画素の位置を基準として、画像GRの領域MB’の左上の画素の位置を示すベクトルとして求めることができる。   For example, the parallax regarding the person included in common in the images GL and GR shown in FIGS. 6A and 6B performs block matching with the image GR for the block MB included in the person portion of the image GL. Can be obtained based on the parallax vector Vd obtained in this way. In FIG. 6B, a symbol MB ′ indicates an area detected from the image GR by block matching for the block MB included in the image GL. The disparity vector Vd with respect to the image GR for the block MB of the image GL is obtained, for example, as a vector indicating the position of the upper left pixel of the region MB ′ of the image GR with reference to the position of the upper left pixel of the block MB of the image GL. be able to.

また、図6(C),(D)は、2つの撮像部101L,101Rにより、背景となる樹木に近い位置にある車両を同時に撮影して得られた画像GL,GRの例である。また、図6(D)に示した符号符号MB’は、画像GLに含まれるブロックMBについてのブロックマッチングによって画像GRから検出された領域を示す。そして、図6(C)に示した符号Vdは、画像GLに含まれる車両の像の一部を含むブロック部分MBについての視差ベクトルを示す。   FIGS. 6C and 6D are examples of images GL and GR obtained by simultaneously capturing images of a vehicle that is close to a background tree by the two imaging units 101L and 101R. Further, a code symbol MB ′ illustrated in FIG. 6D indicates a region detected from the image GR by block matching for the block MB included in the image GL. And the code | symbol Vd shown in FIG.6 (C) shows the parallax vector about the block part MB containing a part of image of the vehicle contained in the image GL.

図6(A)、(C)に示した視差ベクトルVdの比較から分かるように、図6(A),(B)に示した画像GL,GRに含まれる人物についての視差に比べて、図6(C),(D)に示した画像GL,GRに含まれる車両についての視差は小さい。このように、2つの撮像部101L,101Rによって同時に得られる画像GL,GRに共通して含まれる被写体の視差が小さいときに、撮像部101L,101Rの切り替えれば、切り替え前後での画像の急激な変化を抑制することができる。   As can be seen from the comparison of the disparity vectors Vd shown in FIGS. 6A and 6C, compared to the disparity for the person included in the images GL and GR shown in FIGS. The parallax for the vehicles included in the images GL and GR shown in 6 (C) and (D) is small. As described above, when the parallax of the subject included in common in the images GL and GR obtained simultaneously by the two imaging units 101L and 101R is small, if the imaging units 101L and 101R are switched, the images before and after the switching are suddenly changed. Change can be suppressed.

ところで、図6(A),(B)に示した画像GL,GRに共通に含まれる樹木の部分を互いに比較すると、樹木の部分についての視差は、人物についての視差に比べて小さいことがわかる。また、図6(C),(D)に示した画像GL,GRにおいても、同様に、樹木の部分についての視差と、車両についての視差とは異なっている。   By the way, when the tree parts commonly included in the images GL and GR shown in FIGS. 6A and 6B are compared with each other, it is understood that the parallax for the tree part is smaller than the parallax for the person. . Similarly, in the images GL and GR shown in FIGS. 6C and 6D, the parallax for the tree portion is different from the parallax for the vehicle.

このように、2つの撮像部101L,101Rによって同時に得られる画像GL,GRに共通して含まれる各被写体の視差は、それぞれ異なっているので、この画像GL,GR間の視差は、各被写体についての視差ベクトルに基づいて評価することが望ましい。   As described above, since the parallax of the subjects included in common in the images GL and GR obtained simultaneously by the two imaging units 101L and 101R is different, the parallax between the images GL and GR is different for each subject. It is desirable to evaluate based on the parallax vector.

画像GLと画像GRとの間の視差の大きさは、例えば、画像GLに含まれる各ブロックについて求めた視差ベクトルVdに基づいて評価することができる。例えば、各ブロックについて求めた視差ベクトルVdの平均値を、画像GLと画像GRとの間の視差の大きさを示す評価指標としてもよい。   The magnitude of the parallax between the image GL and the image GR can be evaluated based on, for example, the parallax vector Vd obtained for each block included in the image GL. For example, an average value of the parallax vectors Vd obtained for each block may be used as an evaluation index indicating the magnitude of the parallax between the image GL and the image GR.

このように、各ブロックについて求めた視差ベクトルVdの平均値を評価指標の一つとすることにより、人間の視覚による印象と同様に、近距離に被写体が存在する画像GL,GRについての視差が、被写体の位置が背景に近い場合よりも大きいと判定することができる。   In this way, by using the average value of the parallax vectors Vd obtained for each block as one of the evaluation indexes, the parallax for the images GL and GR in which the subject is present at a short distance can be obtained, similar to the human visual impression. It can be determined that the position of the subject is larger than when the subject is close to the background.

図7に、2つの撮像部101L,101Rの視差を評価する処理のフローチャートを示す。図7に示したステップS31〜ステップS37の処理は、図5に示したステップS16の処理の一例である。   FIG. 7 shows a flowchart of processing for evaluating the parallax between the two imaging units 101L and 101R. The process of step S31 to step S37 illustrated in FIG. 7 is an example of the process of step S16 illustrated in FIG.

プロセッサ21は、まず、動作中の撮像部101で得られた切り替え元の画像GBをN×N画素のブロックに分割する(ステップS31)。例えば、プロセッサ21は、切り替え元の画像GBを16×16画素あるいは8×8画素のブロックに分割してもよい。   First, the processor 21 divides the switching source image GB obtained by the imaging unit 101 in operation into blocks of N × N pixels (step S31). For example, the processor 21 may divide the switching source image GB into blocks of 16 × 16 pixels or 8 × 8 pixels.

次いで、プロセッサ21は、切り替え元の画像GBを分割して得られた各ブロックについて、待機中の撮像部101で得られた切り替え先の画像GFとのブロックマッチング処理を行う(ステップS32)。S32の処理で、プロセッサ21は、まず、切り替え元の画像GBに含まれるブロックの一つを順に選択する。次いで、このブロックMBについて、プロセッサ21は、切り替え先の画像GFから最も類似している領域MB’を検出する。そして、切り替え元の画像GBに含まれるブロックMBの位置と切り替え先の画像GFに含まれる領域MB’の位置とに基づいて、ブロックMBに対応する視差ベクトルVdを算出する。また、このとき、プロセッサ21は、ブロックMBに含まれる各画素と領域MB’に含まれる各画素との差分の絶対値をブロックMBに含まれる全画素について積算することにより、差分絶対値和SAD(Sum of Absolute Difference)を算出する。   Next, the processor 21 performs block matching processing on each block obtained by dividing the switching source image GB with the switching destination image GF obtained by the standby imaging unit 101 (step S32). In the process of S32, the processor 21 first sequentially selects one of the blocks included in the switching source image GB. Next, for this block MB, the processor 21 detects the most similar area MB ′ from the switching destination image GF. Then, based on the position of the block MB included in the switching source image GB and the position of the region MB ′ included in the switching destination image GF, a disparity vector Vd corresponding to the block MB is calculated. At this time, the processor 21 adds the absolute value of the difference between each pixel included in the block MB and each pixel included in the region MB ′ to all the pixels included in the block MB, thereby calculating the difference absolute value sum SAD. Calculate (Sum of Absolute Difference).

次に、プロセッサ21は、ステップS32の処理で算出した視差ベクトルVdを、例えば、当該ブロックMBを識別するブロック番号に対応して保持する(ステップS33)。プロセッサ21は、例えば、切り替え元の画像GBに含まれる全ブロックに対応して視差ベクトルVdを保持するための領域をメモリ22に確保し、この領域に、ステップS32で算出した視差ベクトルVdを格納してもよい。次いで、プロセッサ21は、ステップS32で算出した差分絶対値和SADを総和Sに加算する(ステップS34)。なお、プロセッサ21は、上述したステップS33とステップS34の処理を逆の順序で実行してもよい。   Next, the processor 21 holds the disparity vector Vd calculated in the process of step S32, for example, corresponding to the block number for identifying the block MB (step S33). For example, the processor 21 secures an area for holding the disparity vector Vd corresponding to all blocks included in the switching source image GB in the memory 22, and stores the disparity vector Vd calculated in step S32 in this area. May be. Next, the processor 21 adds the difference absolute value sum SAD calculated in step S32 to the total sum S (step S34). Note that the processor 21 may execute the processes in steps S33 and S34 described above in the reverse order.

その後、プロセッサ21は、切り替え元の画像GBに含まれる全てのブロックについて、上述したステップS32からステップS34の処理が完了したか否かを判定する(ステップS35)。   Thereafter, the processor 21 determines whether or not the processing from step S32 to step S34 described above has been completed for all blocks included in the switching source image GB (step S35).

未処理のブロックがある場合に(ステップS35の否定判定)、プロセッサ21は、ステップS32の処理に戻る。そして、新たに選択したブロックについて、ステップS32〜ステップS34の処理を実行する。   When there is an unprocessed block (No at Step S35), the processor 21 returns to the process at Step S32. And the process of step S32-step S34 is performed about the newly selected block.

このようにして、プロセッサ21は、切り替え元の画像GBに含まれる各ブロックについて、ステップS32〜ステップS34の処理を繰り返して実行する。そして、全てのブロックについてステップS32〜ステップS34の処理が完了したときに(ステップS35の肯定判定)、プロセッサ21は、ステップS36処理に進む。   In this way, the processor 21 repeatedly executes the processing from step S32 to step S34 for each block included in the switching source image GB. Then, when the processing in steps S32 to S34 is completed for all the blocks (Yes determination in step S35), the processor 21 proceeds to processing in step S36.

ステップS36で、プロセッサ21は、上述したステップS33で各ブロックについて保持した視差ベクトルVdに基づいて、平均視差ベクトルVdavを算出する。例えば、プロセッサ21は、各ブロックのブロック番号に対応してメモリ22に格納した視差ベクトルVdを読み出し、読み出した視差ベクトルVdの平均値を求めることにより、平均視差ベクトルVdavを求めてもよい。   In step S36, the processor 21 calculates the average parallax vector Vdav based on the parallax vector Vd held for each block in step S33 described above. For example, the processor 21 may obtain the average disparity vector Vdav by reading the disparity vector Vd stored in the memory 22 corresponding to the block number of each block and obtaining the average value of the read disparity vectors Vd.

その後、プロセッサ21は、ステップS36で求めた平均視差ベクトルVdavと、総和Sとを2つの画像GB,GFの視差の大きさを示す指標として出力する(ステップS37)。なお、総和Sは、プロセッサ21が、1フレームに含まれる全てのブロックについて上述したステップS32〜ステップS34の処理を実行する過程で、各ブロックについて得られた差分絶対値和SADを積算していくことによって得られる。   Thereafter, the processor 21 outputs the average parallax vector Vdav obtained in step S36 and the sum S as indices indicating the magnitudes of the parallaxes of the two images GB and GF (step S37). Note that the total sum S is obtained by integrating the sum of absolute differences SAD obtained for each block in the process in which the processor 21 executes the processing of steps S32 to S34 described above for all the blocks included in one frame. Can be obtained.

このようにして求めた平均視差ベクトルVdavは、図6を用いて説明したように、切り替え元の画像GBと切り替え先の画像GFとの視差の大きさを示している。また、1フレームに含まれる差分絶対値和SADを積算した値である総和Sは、各ブロックについて得られた視差ベクトルが確からしいときに小さい値となる。逆に、例えば、撮像部101L,101Rの一方に撮影者の指がかかっている場合のように、各ブロックについて得られる視差ベクトルの確からしさが低い場合には、差分絶対値和SADの総和Sは大きな値となる。   The average parallax vector Vdav obtained in this way indicates the magnitude of parallax between the switching source image GB and the switching destination image GF, as described with reference to FIG. Further, the sum S, which is a value obtained by integrating the sum of absolute differences SAD included in one frame, becomes a small value when the disparity vector obtained for each block is likely. Conversely, for example, when the likelihood of the disparity vector obtained for each block is low, such as when the photographer's finger is placed on one of the imaging units 101L and 101R, the sum S of the absolute difference value sum SAD is low. Is a large value.

このようにして求めた平均視差ベクトルVdavと差分絶対値和SADの総和Sとを評価指標とすることにより、プロセッサ21は、図5に示したステップS17の処理で、2つの画像GB、GFの視差が小さいか否かを高い確度で判定することができる。
例えば、プロセッサ21は、ステップS17の処理で評価結果と比較する閾値として、平均視差ベクトルVdavについての閾値Thvと差分絶対値和SADの総和Sについての閾値Thsを用いてもよい。
By using the average parallax vector Vdav thus obtained and the sum S of the absolute difference sum SAD as an evaluation index, the processor 21 performs processing for the two images GB and GF in step S17 shown in FIG. Whether or not the parallax is small can be determined with high accuracy.
For example, the processor 21 may use the threshold Thv for the average parallax vector Vdav and the threshold Ths for the sum S of the absolute difference sum SAD as the threshold to be compared with the evaluation result in the process of step S17.

なお、平均視差ベクトルVdavについての閾値Thvに好適な値および差分絶対値和の総和Sについての閾値Thsに好適な値は、例えば、2つの撮像素子に備えられたレンズの光軸の関係や撮像素子の解像度により異なる。このため、製品の開発段階などに、動画像撮影装置によって視差があるシーンを撮影した3D静止画像および視差が無いシーンを撮影した3D静止画像に基づいて、動画像撮影装置ごとに閾値Thv,Thsを決定しておくことが望ましい。例えば、視差があるシーンを撮影した3D静止画像について得られる平均視差ベクトルVdの範囲と、視差が無いシーンを撮影した3D静止画像について得られる平均視差ベクトルVdの分布との範囲とをそれぞれ求めておく。そして、これらの範囲を互いに比較した結果に基づいて、平均視差ベクトルVdavについての閾値Thvを決定してもよい。同様に、視差があるシーンを撮影した3D静止画像に対応する差分絶対値和SADの総和Sの範囲と、視差が無いシーンを撮影した3D静止画像に対応する差分絶対値和SADの総和Sの範囲とをそれぞれ求めておく。そして、これらの範囲を互いに比較した結果に基づいて、差分絶対値和SADの総和Sについての閾値Thsを決定してもよい。   It should be noted that a value suitable for the threshold Thv for the average parallax vector Vdav and a value suitable for the threshold Ths for the total sum S of absolute differences are, for example, the relationship between the optical axes of the lenses provided in the two image sensors and the imaging It depends on the resolution of the element. For this reason, at the product development stage or the like, threshold values Thv and Ths are set for each moving image shooting device based on a 3D still image obtained by shooting a scene with parallax by a moving image shooting device and a 3D still image obtained by shooting a scene without parallax. It is desirable to decide. For example, the range of the average parallax vector Vd obtained for a 3D still image obtained by photographing a scene with parallax and the range of the distribution of the average parallax vector Vd obtained for a 3D still image obtained by photographing a scene without parallax are obtained. deep. Then, the threshold value Thv for the average parallax vector Vdav may be determined based on the result of comparing these ranges with each other. Similarly, the range of the sum S of the absolute difference sum SAD corresponding to the 3D still image obtained by photographing the scene with parallax and the sum S of the absolute difference sum SAD corresponding to the 3D still image obtained by photographing the scene without the parallax. Find each range. Then, based on the result of comparing these ranges with each other, the threshold Ths for the sum S of the absolute difference value sum SAD may be determined.

本件開示の動画像撮影装置は、上述したようにして求めた評価指標に基づいて、2つの撮像部101L,101Rの切り替えタイミングを決定する。これにより、本件開示の動画像撮影装置によれば、出力される2次元動画像の連続性を維持しやすいタイミングで、2つの撮像部101L,101Rを切り替えることができる。したがって、本件開示の動画像撮影装置によれば、2つの撮像部101L,101Rの切り替えながら、違和感の少ない長時間の2次元動画像を撮影することができる。   The moving image capturing apparatus disclosed herein determines the switching timing of the two imaging units 101L and 101R based on the evaluation index obtained as described above. Thereby, according to the moving image imaging device of the present disclosure, the two imaging units 101L and 101R can be switched at a timing at which the continuity of the output two-dimensional moving image is easily maintained. Therefore, according to the moving image capturing device of the present disclosure, it is possible to capture a long-time two-dimensional moving image with little discomfort while switching between the two imaging units 101L and 101R.

次に、補間画像の生成処理について説明する。   Next, an interpolation image generation process will be described.

図8に、補間画像を生成する処理を説明する図を示す。図8において、符号GBは動作中の撮像部101で得られた切り替え元の画像を示す。また、符号GFは、待機中の撮像部101で得られた切り替え先の画像を示す。また、符号Gintは、2つの画像GB,GFに基づいて生成される補間画像を示す。   FIG. 8 is a diagram illustrating processing for generating an interpolation image. In FIG. 8, symbol GB indicates a switching source image obtained by the imaging unit 101 in operation. Reference numeral GF indicates a switching destination image obtained by the imaging unit 101 in standby. A symbol Gint indicates an interpolation image generated based on the two images GB and GF.

図8に示した符号MBは、生成対象の補間画像Gintに含まれるブロックである。また、画像GBにおいて、このブロックMBに相当する位置のブロックを符号MBbで示し、画像GFにおいて、このブロックMBに相当する位置のブロックを符号MBfで示した。また、図8に示した符号Vdは、画像GBに含まれるブロックMBbについて、画像GFとのブロックマッチング処理を行って検出された視差ベクトルを示す。   The code MB shown in FIG. 8 is a block included in the interpolation image Gint to be generated. In the image GB, a block at a position corresponding to the block MB is indicated by a symbol MBb, and in the image GF, a block at a position corresponding to the block MB is indicated by a symbol MBf. Moreover, the code | symbol Vd shown in FIG. 8 shows the parallax vector detected by performing the block matching process with the image GF about the block MBb contained in the image GB.

生成対象の補間画像Gintの視点を、切り替え元の画像GBの視点と切り替え先の画像GFの視点との間を比α:1−αで内分する位置に対応させて、補間画像GintのブロックMBに含まれる各画素を生成する方法を説明する。   A block of the interpolated image Gint is generated by associating the viewpoint of the interpolation image Gint to be generated with a position that internally divides the viewpoint of the switching source image GB and the viewpoint of the switching destination image GF by a ratio α: 1−α. A method for generating each pixel included in the MB will be described.

切り替え元の画像GBにおいて、上述したブロックMBbからブロックMB対応の参照画像Bbに向かうベクトルVbは、上述した視差ベクトルVdと係数αとを用いて式(1)で表される。また、切り替え先の画像GFにおいて、上述したブロックMBfからブロックMB対応の参照画像Bfへ向かうベクトルVfは、上述した視差ベクトルVdと係数αとを用いて式(2)で表される。   In the switching source image GB, the vector Vb from the block MBb to the reference image Bb corresponding to the block MB is expressed by Expression (1) using the parallax vector Vd and the coefficient α. In the switching destination image GF, the vector Vf from the block MBf to the reference image Bf corresponding to the block MB is expressed by the equation (2) using the parallax vector Vd and the coefficient α.

Vf=Vd×(1.0−α) ・・・(1)
Vb=−Vd×α ・・・(2)
つまり、上述した式(1)、(2)で示されるベクトルVb,Vfに基づいて、生成対象の補間画像GintのブロックMBを生成する際に参照する画像GBにおける参照画像Bbと画像Gfにおける参照画像Bfとをそれぞれ求めることができる。
Vf = Vd × (1.0−α) (1)
Vb = −Vd × α (2)
That is, based on the vectors Vb and Vf expressed by the above-described equations (1) and (2), the reference image Bb in the image GB and the reference in the image Gf that are referred to when the block MB of the interpolation image Gint to be generated is generated. Each of the images Bf can be obtained.

そして、補間画像GintのブロックMBに含まれる各画素P(x,y)は、画像GBにおける参照画像Bbに含まれる各画素Pb(x,y)および画像Gfにおける参照画像Bfに含まれる各画素Pf(x,y)を用いて、式(3)のように表される。   The pixels P (x, y) included in the block MB of the interpolated image Gint are the pixels Pb (x, y) included in the reference image Bb in the image GB and the pixels included in the reference image Bf in the image Gf. Using Pf (x, y), it is expressed as in equation (3).

P(x,y)=β×Pf(x,y)+(1.0−β)×Pb(x,y) ・・・(3)
なお、式(3)において係数βの値は、上述した係数αの増大に伴って0〜1までの範囲で単調に増大するように設定してもよい。このように係数α、βを調整することにより、移行期間の開始から終了に近づくに従って切り替え先画像GFに近づくように、切り替え元画像GBと切り替え先画像GFとの合成比率を調整しながら、補間画像Gintを生成することができる。
P (x, y) = β × Pf (x, y) + (1.0−β) × Pb (x, y) (3)
In Equation (3), the value of the coefficient β may be set so as to increase monotonously in the range of 0 to 1 as the coefficient α is increased. By adjusting the coefficients α and β in this way, the interpolation is performed while adjusting the synthesis ratio of the switching source image GB and the switching destination image GF so as to approach the switching destination image GF as the transition period starts and ends. An image Gint can be generated.

図9に、補間画像を生成する処理のフローチャートを示す。図9に示したステップS41〜ステップS48の処理は、図5に示したステップS20の処理の一例である。   FIG. 9 shows a flowchart of processing for generating an interpolation image. The process of step S41 to step S48 illustrated in FIG. 9 is an example of the process of step S20 illustrated in FIG.

ステップS41で、プロセッサ21は、まず、ステップS19で取得した切り替え元画像GBと生成対象の補間画像Gintを、それぞれN画素×N画素のブロックに分割する。   In step S41, the processor 21 first divides the switching source image GB and the generation target interpolation image Gint acquired in step S19 into blocks of N pixels × N pixels, respectively.

次に、プロセッサ21は、生成対象の補間画像Gintに適用する係数αおよび係数βの値を決定する(ステップS42)。プロセッサ21は、ステップS42の処理で、生成対象の補間画像Gintが移行期間内で占める位置に基づいて、移行期間の経過に伴って数値0に近い値から数値1に近づくように、係数αおよび係数βを決定してもよい。例えば、移行期間にMフレームの補間画像を生成する場合に、プロセッサ21は、k番目に生成される補間画像Gintに適用する係数α、βの値を、値k/(M+1)に基づいて決定してもよい。   Next, the processor 21 determines the values of the coefficient α and the coefficient β to be applied to the generation target interpolation image Gint (step S42). Based on the position occupied by the interpolation image Gint to be generated in the transition period in the process of step S42, the processor 21 adjusts the coefficient α and the coefficient α so as to approach the numerical value 1 from the value close to the numerical value 0 as the transition period elapses. The coefficient β may be determined. For example, when generating an M-frame interpolation image during the transition period, the processor 21 determines the values of the coefficients α and β to be applied to the k-th generated interpolation image Gint based on the value k / (M + 1). May be.

次に、プロセッサ21は、切り替え元画像GBに含まれるブロックMBbについて、順次に、切り替え先画像GFとの間でブロックマッチングを行うことにより、それぞれの視差ベクトルVdを求める(ステップS43)。プロセッサ21は、例えば、切り替え元画像GBに含まれるブロックMBbの一つを走査順などに基づいて処理対象として選択する。選択したブロックMBbについてのブロックマッチングを行うことにより、プロセッサ21は、切り替え先画像GFにおいて最も類似している領域を検出する。そして、プロセッサ21は、検出した領域の位置を、切り替え先の画像GFにおいて、上述したブロックMBbに対応するブロックの位置を基準として示す視差ベクトルVdを求めてもよい。   Next, the processor 21 sequentially obtains each disparity vector Vd by performing block matching with the switching destination image GF for the block MBb included in the switching source image GB (step S43). For example, the processor 21 selects one of the blocks MBb included in the switching source image GB as a processing target based on the scanning order. By performing block matching for the selected block MBb, the processor 21 detects the most similar region in the switching destination image GF. Then, the processor 21 may obtain a disparity vector Vd indicating the position of the detected region with reference to the position of the block corresponding to the block MBb described above in the switching destination image GF.

次いで、プロセッサ21は、上述した式(1)、(2)を用いて、切り替え元の画像GBおよび切り替え先の画像GFにおいて、それぞれ生成対象のブロックMBに対応する参照画像Bb,Bfの位置を示すベクトルVb,Vfを求める(ステップS44)。なお、ステップS44の処理で、プロセッサ21は、ベクトルVb,Vfを小数精度で求めることが望ましい。   Next, the processor 21 uses the above-described equations (1) and (2) to determine the positions of the reference images Bb and Bf corresponding to the generation target block MB in the switching source image GB and the switching destination image GF, respectively. The indicated vectors Vb and Vf are obtained (step S44). In the process of step S44, the processor 21 desirably obtains the vectors Vb and Vf with decimal precision.

次に、プロセッサ21は、ステップS44で求めたベクトルVb,Vfに基づいて、参照画像Bb,Bfを生成する(ステップS45)。プロセッサ21は、例えば、小数精度で求められたベクトルVb,Vfで示される参照画像Bb,Bfに含まれる各画素Pb(x,y)、Pf(x,y)を、切り替え元画像GBおよび切り替え先画像GFに補間フィルタを適用することによって求めることが望ましい。   Next, the processor 21 generates reference images Bb and Bf based on the vectors Vb and Vf obtained in step S44 (step S45). For example, the processor 21 converts the pixels Pb (x, y) and Pf (x, y) included in the reference images Bb and Bf indicated by the vectors Vb and Vf obtained with decimal precision into the switching source image GB and the switching. It is desirable to obtain the previous image GF by applying an interpolation filter.

このようにして生成した参照画像Bb,Bfに含まれる各画素Pb(x,y)、Pf(x,y)に基づいて、プロセッサ21は、上述した式(3)を用いて、補間画像Gint内のブロックMBに含まれる各画素P(x,y)を生成する(ステップS46)。   Based on the pixels Pb (x, y) and Pf (x, y) included in the reference images Bb and Bf generated in this way, the processor 21 uses the above-described equation (3) to calculate the interpolated image Gint. Each pixel P (x, y) included in the block MB is generated (step S46).

次いで、プロセッサ21は、生成対象のブロックMBに含まれる全ての画素の生成が完了したか否かを判定する(ステップS47)。未生成の画素がある場合に(ステップS47の否定判定)、プロセッサ21は、ステップS46の処理に戻って、次の画素を生成する処理を実行する。   Next, the processor 21 determines whether or not the generation of all the pixels included in the generation target block MB has been completed (step S47). When there is an ungenerated pixel (No determination in step S47), the processor 21 returns to the process of step S46 and executes a process of generating the next pixel.

ステップS46,S47を繰り返すことにより、生成対象のブロックに含まれる全ての画素の生成が完了したときに(ステップS47の肯定判定)、プロセッサ21は、ステップS48の処理に進む。このステップS48で、プロセッサ21は、補間画像Gintに含まれる全てのブロックMBの生成が完了したか否かを判定する。   When the generation of all the pixels included in the generation target block is completed by repeating steps S46 and S47 (Yes determination in step S47), the processor 21 proceeds to the process of step S48. In step S48, the processor 21 determines whether or not the generation of all the blocks MB included in the interpolation image Gint has been completed.

未だ生成されていないブロックMBがある場合に(ステップS48の否定判定)、プロセッサ21は、ステップS43の処理に戻って、次のブロックMBを生成する処理を開始する。   When there is a block MB that has not yet been generated (No determination in step S48), the processor 21 returns to the process of step S43 and starts a process of generating the next block MB.

そして、補間画像Gintに含まれる全てのブロックMBについて、ステップS43〜ステップS47に示した生成処理を完了したときに(ステップS48の肯定判定)、プロセッサ21は、補間画像Gintの生成処理を終了する。   When the generation process shown in steps S43 to S47 is completed for all the blocks MB included in the interpolation image Gint (Yes determination in step S48), the processor 21 ends the generation process of the interpolation image Gint. .

このようにして、本件開示の動画像撮影装置は、移行期間の経過に伴って、切り替え元画像GBから切り替え先画像GFに次第に近づくような補間画像Gintを生成することができる。これにより、本件開示の動画像撮影装置は、長時間の2次元動画像撮影において、2つの撮像部101L,101Rを切り替える際の視点の変化が、出力画像の変化となって現れることを抑制することができる。したがって、本件開示の動画像撮影装置によれば、2つの撮像部101L,101Rの切り替えながら、視聴者に違和感を覚えさせない長時間の2次元動画像を撮影することができる。   In this way, the moving image capturing device disclosed herein can generate an interpolated image Gint that gradually approaches the switching destination image GF from the switching source image GB as the transition period elapses. As a result, the moving image capturing device disclosed herein suppresses the change in the viewpoint when the two image capturing units 101L and 101R are switched from appearing as a change in the output image in long-time two-dimensional moving image capturing. be able to. Therefore, according to the moving image capturing device disclosed herein, it is possible to capture a long-time two-dimensional moving image that does not make the viewer feel uncomfortable while switching between the two imaging units 101L and 101R.

101L,101R…撮像部;110…生成部;111…第2取得部;112…補間部;113…出力制御部;120…検出部;121…第1取得部;122…評価部;123…特定部;21,28…プロセッサ;22…メモリ;23…記録処理部;24…メモリコントローラ;25…撮像素子;26…駆動制御部;27…フォーマット変換部;29…外部インタフェース(I/F);30…操作パネル 101L, 101R ... Imaging unit; 110 ... Generation unit; 111 ... Second acquisition unit; 112 ... Interpolation unit; 113 ... Output control unit; 120 ... Detection unit; 121 ... First acquisition unit; 122 ... Evaluation unit; Unit: 21, 28 ... Processor; 22 ... Memory; 23 ... Recording processing unit; 24 ... Memory controller; 25 ... Imaging device; 26 ... Drive control unit; 27 ... Format conversion unit: 29 ... External interface (I / F); 30 ... Operation panel

Claims (5)

異なる視点から共通の被写体を撮像する2つの撮像部と、
前記2つの撮像部を交互に撮像動作させ、撮像動作させている前記撮像部によって得られる画像を出力する切り替え部を有し、
前記切り替え部によって出力される画像を用いて、2次元動画像データを生成する生成部と、
前記切り替えに先立って、前記2つの撮像部によって得られる画像に含まれる前記共通の被写体についての視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして検出する検出部とを備え、
前記切り替え部は、前記検出部によって検出された切り替えタイミングに基づいて、前記2つの撮像部による撮像動作の切り替えを制御し、
前記検出部は、
前記切り替え部によって撮像動作させられている方の前記撮像部の動作継続時間が所定の制限時間に到達する前に設けた所定の探索期間において、他方の前記撮像部を所定の時間間隔で動作させることにより、前記他方の撮像部による画像を取得する第1取得部と、
前記第1取得部によって得られた画像と前記切り替え部によって出力される画像との間の視差を評価する評価部と、
前記評価部による評価結果に基づいて、前記2つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを前記切り替えタイミングとして特定する特定部とを備える
ことを特徴とする動画像撮影装置。
Two imagers that image a common subject from different viewpoints;
A switching unit that alternately images the two imaging units and outputs an image obtained by the imaging unit that is performing the imaging operation;
A generating unit that generates two-dimensional moving image data using the image output by the switching unit;
Prior to the switching, including a detection unit that detects, as a switching timing, a timing at which a parallax for the common subject included in images obtained by the two imaging units is smaller than a predetermined threshold,
The switching unit controls switching of the imaging operation by the two imaging units based on the switching timing detected by the detection unit,
The detector is
The other imaging unit is operated at a predetermined time interval in a predetermined search period provided before the operation continuation time of the imaging unit that is imaged by the switching unit reaches a predetermined time limit. A first acquisition unit that acquires an image from the other imaging unit;
An evaluation unit that evaluates the parallax between the image obtained by the first acquisition unit and the image output by the switching unit;
A moving image comprising: a specifying unit that specifies, as the switching timing, a timing at which a parallax between images obtained by the two imaging units becomes smaller than a predetermined threshold based on an evaluation result by the evaluation unit. Shooting device.
異なる視点から共通の被写体を撮像する2つの撮像部と、
前記2つの撮像部を交互に撮像動作させ、撮像動作させている前記撮像部によって得られる画像を出力する切り替え部を有し、
前記切り替え部によって出力される画像を用いて、2次元動画像データを生成する生成部と、
前記切り替えに先立って、前記2つの撮像部によって得られる画像に含まれる前記共通の被写体についての視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして検出する検出部とを備え、
前記切り替え部は、前記検出部によって検出された切り替えタイミングに基づいて、前記2つの撮像部による撮像動作の切り替えを制御し、
前記生成部は、
前記検出部によって検出された切り替えタイミングに基づいて設定した所定の移行期間において、前記切り替え部によって撮像動作させられている方の前記撮像部と同期して、他方の前記撮像部を動作させることにより、前記他方の撮像部による画像を取得する第2取得部と、
前記切り替え部によって出力される画像と前記第2取得部で得られる画像とに基づいて補間画像を生成する補間部と、
前記移行期間において、前記切り替え部によって出力される画像に代えて、前記補間部で得られる補間画像を含む2次元動画像データを出力する出力制御部とを備える
ことを特徴とする動画像撮影装置。
Two imagers that image a common subject from different viewpoints;
A switching unit that alternately images the two imaging units and outputs an image obtained by the imaging unit that is performing the imaging operation;
A generating unit that generates two-dimensional moving image data using the image output by the switching unit;
Prior to the switching, including a detection unit that detects, as a switching timing, a timing at which a parallax for the common subject included in images obtained by the two imaging units is smaller than a predetermined threshold,
The switching unit controls switching of the imaging operation by the two imaging units based on the switching timing detected by the detection unit,
The generator is
By operating the other imaging unit in synchronization with the imaging unit being imaged by the switching unit in a predetermined transition period set based on the switching timing detected by the detection unit A second acquisition unit that acquires an image from the other imaging unit;
An interpolation unit that generates an interpolation image based on the image output by the switching unit and the image obtained by the second acquisition unit;
In the transition period, in place of the image output by the switching unit, an output control unit that outputs two-dimensional moving image data including an interpolation image obtained by the interpolation unit is provided. .
請求項に記載の動画像撮影装置において、
前記補間部は、
前記移行期間の開始から終了に近づくに従って前記他方の撮像部の視点で得られる画像に近づくように、前記切り替え部によって出力される画像と前記第2取得部で取得される画像との合成比率を調整する
ことを特徴とする動画像撮影装置。
The moving image photographing device according to claim 2 ,
The interpolation unit
The synthesis ratio of the image output by the switching unit and the image acquired by the second acquisition unit so as to approach the image obtained from the viewpoint of the other imaging unit as it approaches the end from the start of the transition period. A moving image photographing device characterized by adjusting.
異なる視点から共通の被写体を撮像する2つの撮像部を交互に切り替えて動作させることにより、2次元動画像データを取得する際に、
前記切り替えに先立って、前記2つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして検出し、
前記検出された切り替えタイミングに基づいて、前記2つの撮像部の動作の切り替えを制御し、
前記切り替えタイミングを検出するにあたっては、
前記切り替えによって動作させられている方の前記撮像部の動作継続時間が所定の制限時間に到達する前に設けた所定の探索期間において、他方の前記撮像部を所定の時間間隔で動作させることにより、前記他方の撮像部による画像を取得し、
取得された画像と前記切り替えによって動作させられている方の前記撮像部によって得られる画像との間の視差を評価し、
評価結果に基づいて、前記2つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを前記切り替えタイミングとして特定する
ことを特徴とする動画像撮影方法。
When acquiring two-dimensional moving image data by alternately switching and operating two imaging units that capture a common subject from different viewpoints,
Prior to the switching, a timing at which the parallax between images obtained by the two imaging units is smaller than a predetermined threshold is detected as a switching timing,
Based on the detected switching timing, control the switching of the operations of the two imaging units ,
In detecting the switching timing,
By operating the other imaging unit at a predetermined time interval in a predetermined search period provided before the operation duration time of the imaging unit that is operated by the switching reaches a predetermined time limit , Obtaining an image by the other imaging unit,
Evaluate the parallax between the acquired image and the image obtained by the imaging unit that is operated by the switching,
A moving image capturing method characterized in that , based on an evaluation result, a timing at which a parallax between images obtained by the two imaging units becomes smaller than a predetermined threshold is specified as the switching timing .
異なる視点から共通の被写体を撮像する2つの撮像部を交互に切り替えて動作させることにより、2次元動画像データを取得する際に、When acquiring two-dimensional moving image data by alternately switching and operating two imaging units that capture a common subject from different viewpoints,
前記切り替えに先立って、前記2つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして検出し、  Prior to the switching, a timing at which the parallax between images obtained by the two imaging units is smaller than a predetermined threshold is detected as a switching timing,
前記検出された切り替えタイミングに基づいて、前記2つの撮像部の動作の切り替えを制御し、  Based on the detected switching timing, control the switching of the operations of the two imaging units,
前記2次元動画像データを取得するにあたっては、  In obtaining the two-dimensional moving image data,
前記検出された切り替えタイミングに基づいて設定した所定の移行期間において、前記切り替えによって動作させられている方の前記撮像部と同期して、他方の前記撮像部を動作させることにより、前記他方の撮像部による画像を取得し、  In the predetermined transition period set based on the detected switching timing, the other imaging unit is operated by operating the other imaging unit in synchronization with the imaging unit operated by the switching. Part of the image,
取得される画像と前記切り替えによって動作させられている方の前記撮像部によって得られる画像とに基づいて補間画像を生成し、  Generating an interpolated image based on the acquired image and the image obtained by the imaging unit operated by the switching,
前記移行期間において、前記切り替えによって動作させられている方の前記撮像部によって得られる画像に代えて、生成される補間画像を含む2次元動画像データを出力する  In the transition period, two-dimensional moving image data including an interpolation image to be generated is output instead of an image obtained by the imaging unit that is operated by the switching.
ことを特徴とする動画像撮影方法。  A moving image photographing method characterized by the above.
JP2011142827A 2011-06-28 2011-06-28 Moving image photographing apparatus and moving image photographing method Expired - Fee Related JP5724677B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011142827A JP5724677B2 (en) 2011-06-28 2011-06-28 Moving image photographing apparatus and moving image photographing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011142827A JP5724677B2 (en) 2011-06-28 2011-06-28 Moving image photographing apparatus and moving image photographing method

Publications (2)

Publication Number Publication Date
JP2013012822A JP2013012822A (en) 2013-01-17
JP5724677B2 true JP5724677B2 (en) 2015-05-27

Family

ID=47686361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011142827A Expired - Fee Related JP5724677B2 (en) 2011-06-28 2011-06-28 Moving image photographing apparatus and moving image photographing method

Country Status (1)

Country Link
JP (1) JP5724677B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9344626B2 (en) 2013-11-18 2016-05-17 Apple Inc. Modeless video and still frame capture using interleaved frames of video and still resolutions
JP6137081B2 (en) * 2014-07-29 2017-05-31 株式会社デンソー Car equipment
KR102238794B1 (en) * 2015-03-25 2021-04-09 한국전자통신연구원 Method for increasing film speed of video camera
JP6454238B2 (en) * 2015-07-07 2019-01-16 日本電信電話株式会社 Video editing apparatus, video editing method, and video editing program
JP2018082405A (en) * 2016-11-18 2018-05-24 シャープ株式会社 Processor switching apparatus, monitoring camera, processor switching method, control program, and recording medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011091750A (en) * 2009-10-26 2011-05-06 Fujifilm Corp Stereoscopic image pick-up apparatus and method of controlling the same
JP2011114382A (en) * 2009-11-24 2011-06-09 Victor Co Of Japan Ltd Moving picture imaging apparatus and moving picture imaging method

Also Published As

Publication number Publication date
JP2013012822A (en) 2013-01-17

Similar Documents

Publication Publication Date Title
TWI462052B (en) Information processing system, information processing device, image capturing device and information processing method
US8384802B2 (en) Image generating apparatus and image regenerating apparatus
US8502863B2 (en) Stereoscopic imaging apparatus
CN103460242B (en) Information processing device, information processing method, and data structure of location information
US20110304706A1 (en) Video camera providing videos with perceived depth
KR20180002607A (en) Pass-through display for captured images
JP5724677B2 (en) Moving image photographing apparatus and moving image photographing method
JP5371845B2 (en) Imaging apparatus, display control method thereof, and three-dimensional information acquisition apparatus
US20110304693A1 (en) Forming video with perceived depth
JP5304714B2 (en) Pseudo stereoscopic image generation apparatus and camera
EP3316568B1 (en) Digital photographing device and operation method therefor
JP5467993B2 (en) Image processing apparatus, compound-eye digital camera, and program
JP5874192B2 (en) Image processing apparatus, image processing method, and program
JP5952782B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP6155471B2 (en) Image generating apparatus, imaging apparatus, and image generating method
JPWO2014148031A1 (en) Image generating apparatus, imaging apparatus, and image generating method
JP4953770B2 (en) Imaging device
US8917316B2 (en) Photographing equipment
JP2016036081A (en) Image processing device, method and program, and recording medium
JP7325266B2 (en) IMAGING CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD, AND PROGRAM
JP6318547B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP6268550B2 (en) Ranging device, imaging device, and ranging method
JP5671900B2 (en) Imaging apparatus, imaging method, and program
JP2011239006A (en) Compound-eye imaging digital camera and operation control method thereof
JP2017135651A (en) Imaging apparatus and its control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140304

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150212

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150303

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150316

R150 Certificate of patent or registration of utility model

Ref document number: 5724677

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees