JP5724677B2 - Moving image photographing apparatus and moving image photographing method - Google Patents
Moving image photographing apparatus and moving image photographing method Download PDFInfo
- 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
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).
ところで、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.
以下、図面に基づいて、本発明の実施形態について詳細に説明する。 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
生成部110は、2つの撮像部101L,101Rの一方に撮像動作を実行させるとともに、他方を待機状態とすることにより、2つの撮像部101L,101Rを交互に切り替えて動作させる。また、生成部110は、これらの撮像部101L,101Rで得られる画像に基づいて、2次元動画像mvを生成する。そして、生成部110は、生成した2次元動画像mvを、出力端子Voutを介して出力する。
The
検出部120は、2つの撮像部101L,101Rで得られる画像に基づいて、例えば、これらの撮像部101L,101Rが共通して捉えている被写体についての視差が所定の閾値以下となるタイミングを切り替えタイミングTcとして検出する。検出部120は、例えば、撮像部101Lが動作中である場合に、この撮像部101Lの連続動作時間が過熱の防止のために設定された制限時間に到達する前に、撮像部101Rへの切り替えタイミングTcを検出してもよい。
Based on the images obtained by the two
そして、検出部120によって検出された切り替えタイミングTcに基づいて、生成部110は、2つの撮像部101L,101Rの動作状態の切り替えを制御する。これにより、例えば、動作中の撮像部101Lと待機中の撮像部101Rとで得られる2つの画像に共通する被写体の視差が小さくなったときに、生成部110は、撮像部101Lを待機状態に切り替え、撮像部101Rを動作状態に切り替えることができる。
Then, based on the switching timing Tc detected by the
このように、本件開示の動画像撮影装置は、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
このようにして、本件開示の動画像撮影装置は、視差を持って配置された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
次に、本件開示の動画像撮影装置に含まれる生成部110および検出部120について説明する。
Next, the
生成部110は、切り替え部102と、第2取得部111と、補間部112と、出力制御部113とを含んでいる。
The
切り替え部102は、動画像撮影装置に搭載された2つの撮像部101L,101Rを交互に駆動する。以下の説明では、2つの撮像部101L,101Rのうち、切り替え部102によって撮像動作させられている方を動作中の撮像部101と称し、他方を待機中の撮像部101と称する。切り替え部102は、検出部120によって検出される切り替えタイミングTcに基づいて、2つの撮像部101L,101Rの動作状態の切り替えを制御する。
The
また、切り替え部102は、例えば、動作中の撮像部101を動画像撮影のための所定のフレームレートで駆動することにより、動作中の撮像部101から各フレームの画像を取得し、取得した画像を順次に出力する。例えば、撮像部101Lが動作中の撮像部101である場合に、切り替え部102は、上述したフレームレートに対応するフレーム間隔tfごとに、撮像部101Lによって得られる画像GLを順次に出力する。なお、切り替え部102が動作中の撮像部101に適用するフレームレートは、例えば、毎秒30フレームとしてよい。
In addition, the
切り替え部102によって出力される画像は、出力制御部113と補間部112とに入力される。
The image output by the
また、第2取得部111は、検出部120によって検出された切り替えタイミングTcの後に設定される所定の時間を有する移行期間にわたって、待機中の撮像部101を動作中の撮像部101の撮像動作に同期して駆動させる。これにより、第2取得部111は、上述した移行期間にわたって、動作中の撮像部101と同時に撮影された画像を、待機中の撮像部101から取得する。
In addition, the
補間部112は、第2取得部111によって取得された画像と、切り替え部102によって出力される動作中の撮像部101によって得られる画像とを合成することにより、補間画像Gintを生成する。以下の説明では、補間部112による合成処理の対象となる画像のうち、動作中の撮像部101で得られた画像を切り替え元の画像GBと称する。一方、第2取得部111によって取得される画像は、切り替え先となる待機中の撮像部101によって得られた画像であるので、切り替え先の画像GFと称する。
The interpolating
また、図1に示した出力制御部113は、検出部120によって検出される切り替えタイミングTcに応じて、切り替え部102によって出力される画像と補間部112によって生成される補間画像Gintとを切り替えて出力する。出力制御部113は、通常は、切り替え部102によって出力される各フレームの画像を順次に出力することによって2次元動画像mvを生成する。一方、上述した移行期間にわたって、出力制御部113は、切り替え部102の出力に代えて、補間部112によって得られる各フレームの補間画像Gintを2次元動画像mvの一部として順次に出力する。
Further, the
図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
図2は、動作中の撮像部101を撮像部101Lから撮像部101Rに切り替える過程で、各撮像部101L,101Rで得られる画像GL,GRと、動画像撮影装置から出力される2次元動画像mvとの関係を示している。
FIG. 2 shows images GL and GR obtained by the
また、図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
第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
そして、図1に示した補間部112は、図2に示すように、2つの撮像部101L,101Rからそれぞれフレーム間隔tfごとに得られる画像GL,GRを、それぞれ切り替え元の画像GB,切り替え先の画像GFとして合成する。この合成処理により、補間部112は、2つの撮像部101L,101Rの中間の視点を持つ仮想的な撮像部に対応する補間画像Gintをフレーム間隔tfごとに生成する。
Then, as shown in FIG. 2, the
上述した移行期間にわたって、出力制御部113は、この補間部112によって生成された補間画像Gintを、切り替え部102によって出力される画像に代えて、2次元動画像mvの一部として出力する。なお、図2の例において、二重線で表した矩形は、移行期間において補間部112によって生成される補間画像Gintを示す。
Over the transition period described above, the
このようにして、移行期間が経過した後に、切り替え部102は、2つの撮像部101L,101Rの動作状態を切り替える。例えば、切り替え部102は、それまで動作させていた動作中の撮像部101に対する駆動動作を停止し、待機中の撮像部101に対する駆動動作を開始する。
Thus, after the transition period elapses, the
例えば、図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
一方、図1に例示した検出部120は、第1取得部121と、評価部122と、特定部123と、タイマ124とを含んでいる。
On the other hand, the
第1取得部121は、例えば、タイマ124からの制御信号STに応じて、待機中の撮像部101を周期的に駆動する動作を開始する。第1取得部121は、例えば、待機中の撮像部101を所定の時間間隔tdごとに駆動することにより、この待機中の撮像部101で得られる画像を周期的に取得する。なお、この時間間隔tdは、例えば、フレーム間隔tfの自然数n倍に設定してもよい。
For example, the
図1に示したタイマ124は、動作中の撮像部101が撮像動作を継続することが可能な残り時間Tremを示す内部値を保持しており、この内部値を時間の経過に応じて減じる動作を行う。タイマ124は、例えば、上述した切り替え部102が撮像部101の切り替えを実行したタイミングを示す制御信号RSに応じて、内部値に、撮像部101の過熱を防ぐために設定された制限時間に相当する値を初期値としてセットしてもよい。また、タイマ124は、時間の経過に応じて減じられた内部値が、所定の時間Dsを示す値に到達したときに、制御信号STを出力することによって、第1取得部121に動作を開始させる。
The
例えば、図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
このようにして、動作中の撮像部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
また、図1に示した評価部122は、切り替え部102によって出力される画像と第1取得部121が取得した画像とを比較することにより、2つの撮像部101L,101Rが共通して捉えている被写体についての視差を評価する。特定部123は、評価部122による評価結果に基づいて、2つの撮像部101L,101Rが共通して捉えている被写体についての視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングTcとして特定する。このようにして、検出部120は、2つの撮像部101L,101Rが共通して捉えている被写体についての視差が所定の閾値よりも小さくなる切り替えタイミングTcを検出することができる。
In addition, the
図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
このようにして検出された切り替えタイミングTcに基づいて、生成部110は、上述したようにして、補間部112によって生成した補間画像Gintを出力する移行期間を経て、2つの撮像部101L,101Rを切り替える。
Based on the switching timing Tc detected in this way, the
動画像撮影装置に搭載された2つの撮像部101L,101Rの切り替えに先立って、このような移行期間を設けることにより、切り替えに伴う視点の変化が出力される2次元動画像mvに及ぼす影響を更に抑制することができる。これにより、本件開示の動画像撮影装置は、視点の異なる2つの撮像部101L,101Rを切り替えながら、自然な連続性を維持した2次元動画像を出力することができる。
By providing such a transition period prior to switching between the two
図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
図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
図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
図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
また、動画像撮影装置は、装置制御用のプロセッサ28と、外部インタフェース(外部I/F)29と、操作パネル30とを含んでもよい。プロセッサ28と、外部インタフェース29、操作パネル30およびメモリコントローラ24とは、互いにバスを介して接続されている。外部インタフェース29は、プロセッサ28の制御の下で、例えば、パーソナルコンピュータなどとメモリ22との間のデータのやり取りを媒介する。
Further, the moving image photographing apparatus may include a
メモリ22は、2つの撮像部101L,101Rを交互に動作させるための切り替え処理プログラムを格納している。プロセッサ21は、この切り替え処理プログラムに従って撮像部101L,101Rの動作を制御することにより、図1に示した生成部110および検出部120の機能を実現する。
The
なお、例えば、外部インタフェース29を利用して、パーソナルコンピュータなどを経由して切り替え処理プログラムを読み込み、読み込んだ切り替え処理プログラムをメモリ22に格納させてもよい。
For example, the switching process program may be read using a personal computer or the like using the
また、図4に示した撮像部101Rは、撮像素子25Rと、駆動制御部26Rと、フォーマット変換部27Rとを含んでいる。同様に、撮像部101Lは、撮像素子25Lと、駆動制御部26Lと、フォーマット変換部27Lとを含んでいる。
The
駆動制御部26R,26Lは、それぞれ撮像素子25R,25Lによる撮像動作を駆動する。また、駆動制御部26R,26Lは、撮像素子25R,25Lによる撮像動作で得られた信号から画像GR,GLを生成する。フォーマット変換部27R,27Lは、駆動制御部26R,26Lで生成された画像GR,GLのデータ形式を、YCbCr形式などの出力用のデータ形式に変換する。
The
動画像撮影装置が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
一方、動画像撮影装置が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
なお、動画像撮影装置は、例えば、プロセッサ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
例えば、モード切り替え指示により、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
そして、一方の撮像部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
図5に、撮像部101R,101Lを切り替える処理のフローチャートを示す。
FIG. 5 shows a flowchart of processing for switching the
プロセッサ21は、まず、待機中の撮像部101から画像を取得するタイミングを制御するための変数tに初期値0を設定する(ステップS11)。次いで、プロセッサ21は、動作中の撮像部101で得られる画像を、2次元動画像mvの一部として出力する(ステップS12)。ステップS12において、プロセッサ21は、動作中の撮像部101に含まれるフォーマット変換部27に対して、変換済みの画像をメモリコントローラ24を介して出力させてもよい。
First, the processor 21 sets an
その後、プロセッサ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
次いで、プロセッサ21は、ステップS15で得られた画像とステップS12で得られた画像とに基づいて、これらの画像に共通して捉えられた被写体についての2つの撮像部101R,Lの視差を評価する(ステップS16)。このように、プロセッサ21が、ステップS16の処理を実行することにより、図1に示した評価部122の機能を実現してもよい。なお、ステップS16の処理の詳細については後述する。
Next, the processor 21 evaluates the parallax of the two
そして、プロセッサ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
そして、例えば、図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
ステップ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
次いで、プロセッサ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
次に、プロセッサ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
その後、プロセッサ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
なお、プロセッサ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
図3に示した単独動作期間PRにおいて、撮像部101Rは、撮像部101Lに代わって、動画撮影用のフレームレートに対応するフレーム間隔tfで画像GRを生成する。そして、この画像GRは、そのまま2次元動画像mvの一部として、メモリコントローラ24を介してメモリ22に格納される。
In the single operation period PR shown in FIG. 3, the
このように、本件開示の動画像撮影装置は、撮像部101Lから撮像部101Rへの切り替えを実現することができる。そして、撮像部101Rを動作中の撮像部101とし、撮像部101Lを待機中の撮像部101として動作させた後、上述した切り替え処理を再び行うことにより、撮像部101Rから撮像部101Lへの切り替えを実現することができる。
As described above, the moving image shooting apparatus disclosed herein can realize switching from the
このように、図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
なお、図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
また、図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
図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
図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
図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
図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
ところで、図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
画像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
プロセッサ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
その後、プロセッサ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
その後、プロセッサ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
このようにして求めた平均視差ベクトル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
次に、補間画像の生成処理について説明する。 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
次に、プロセッサ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
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つの撮像部による撮像動作の切り替えを制御し、
前記検出部は、
前記切り替え部によって撮像動作させられている方の前記撮像部の動作継続時間が所定の制限時間に到達する前に設けた所定の探索期間において、他方の前記撮像部を所定の時間間隔で動作させることにより、前記他方の撮像部による画像を取得する第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次元動画像データを出力する出力制御部とを備える
ことを特徴とする動画像撮影装置。 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つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを前記切り替えタイミングとして特定する
ことを特徴とする動画像撮影方法。 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つの撮像部によって得られる画像間の視差が所定の閾値よりも小さくなるタイミングを切り替えタイミングとして検出し、 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.
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)
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)
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 |
-
2011
- 2011-06-28 JP JP2011142827A patent/JP5724677B2/en not_active Expired - Fee Related
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 |