JP4407549B2 - Shooting device, video playback device, video recording / playback program - Google Patents
Shooting device, video playback device, video recording / playback program Download PDFInfo
- Publication number
- JP4407549B2 JP4407549B2 JP2005077295A JP2005077295A JP4407549B2 JP 4407549 B2 JP4407549 B2 JP 4407549B2 JP 2005077295 A JP2005077295 A JP 2005077295A JP 2005077295 A JP2005077295 A JP 2005077295A JP 4407549 B2 JP4407549 B2 JP 4407549B2
- Authority
- JP
- Japan
- Prior art keywords
- moving image
- acceleration
- recording
- frame
- shooting
- 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
本発明は、動画を撮影する機能が搭載された撮影装置、動画再生装置、動画記録再生プログラムに関する。 The present invention relates to a photographing apparatus equipped with a function for photographing a moving picture, a moving picture reproducing apparatus, and a moving picture recording and reproducing program.
従来、記録/再生型のデジタルカメラにおいて、重力方向に対するカメラ本体の姿勢(横位置や縦位置等)を検出し、記録モード時にこの検出したカメラ本体の姿勢情報を画像データと共に記録し、再生モード時にこの記録した姿勢情報に応じて再生画像をモニタ上に見やすい向きで表示する(即ち、モニタの上下位置と再生画像の実際の上下位置が略一致するように表示する)ものが知られている。 Conventionally, in a recording / playback type digital camera, the posture (horizontal position, vertical position, etc.) of the camera body relative to the direction of gravity is detected, and the detected posture information of the camera body is recorded together with image data in the recording mode. Sometimes, a playback image is displayed on the monitor in an easy-to-view direction according to the recorded posture information (that is, the vertical position of the monitor is displayed so that the actual vertical position of the playback image substantially matches). .
このような表示機能を持った従来のデジタルカメラにおいて、流し撮り等、重力以外の加速度がカメラ本体に作用している状態で撮影すると、センサがカメラ本体の姿勢を誤って検出することがある。傾斜センサがカメラ姿勢を誤って検出すると、この誤った姿勢情報が画像データと共に記録され、再生モード時に再生画像がモニタ上に見づらい向きで表示されてしまう。 In a conventional digital camera having such a display function, when shooting is performed in a state where acceleration other than gravity is applied to the camera body, such as panning, the sensor may erroneously detect the posture of the camera body. If the tilt sensor erroneously detects the camera posture, the wrong posture information is recorded together with the image data, and the reproduced image is displayed on the monitor in a direction that is difficult to see in the reproduction mode.
こうしたことに対して、従来では、流し撮り等で重力以外の加速度がカメラ本体に作用している状態で撮影した場合でも、加速度が所定値未満のときは撮像時に検出したカメラ本体の姿勢情報を撮像した画像データと共に記録し、加速度が所定値以上のときは姿勢情報を無効とすることで、カメラ本体の姿勢を誤って検出することなく、常に再生画像を見やすい向きでモニタに表示することができるデジタルカメラが考えられている(例えば特許文献1)。
このように従来のデジタルカメラでは、重力以外のカメラ装置に対して作用する加速度を検出し、この加速度を利用して再生画像を見やすい向きとなるように表示制御していた。 As described above, in a conventional digital camera, acceleration acting on a camera device other than gravity is detected, and display control is performed using this acceleration so that a reproduced image can be easily viewed.
しかしながら従来では、静止画に対して再生画像の向きを変更する表示制御をするだけであり、撮影時に検出される加速度を動画に対する表示制御に利用するものではなかった。 However, conventionally, only display control for changing the orientation of a reproduced image with respect to a still image is performed, and acceleration detected at the time of shooting is not used for display control for a moving image.
本発明の課題は、動画撮影時に取得される装置に作用する加速度を利用した動画の記録再生が可能な撮影装置、動画再生装置、動画記録再生プログラムを提供することにある。 An object of the present invention is to provide a photographing device, a moving image reproducing device, and a moving image recording / reproducing program capable of recording / reproducing a moving image using acceleration acting on a device acquired at the time of moving image photographing.
請求項1記載の発明は、複数のフレーム画像からなる動画を撮影する撮影手段と、前記撮影手段による動画撮影時の加速度を取得する加速度取得手段と、前記加速度取得手段によって取得された加速度に応じて、前記撮影手段によって撮影された動画のフレーム数を調整するフレーム調整手段と、前記フレーム調整手段によりフレーム数が調整された動画を記録する記録手段とを具備したことを特徴とする。 According to a first aspect of the present invention, there is provided a photographing means for photographing a moving image composed of a plurality of frame images, an acceleration obtaining means for obtaining an acceleration during moving image photographing by the photographing means, and an acceleration obtained by the acceleration obtaining means. And a frame adjusting unit that adjusts the number of frames of the moving image shot by the shooting unit, and a recording unit that records the moving image whose number of frames is adjusted by the frame adjusting unit.
請求項2記載の発明は、請求項1記載の発明において、前記フレーム調整手段は、前記加速度取得手段によって取得された加速度に応じてフレーム画像を間引きして、再生時に動きの早い動画となるようにフレーム数を調整することを特徴とする。 According to a second aspect of the present invention, in the first aspect of the invention, the frame adjustment unit thins out the frame image according to the acceleration acquired by the acceleration acquisition unit so that the moving image has a fast motion during reproduction. The number of frames is adjusted.
請求項3記載の発明は、請求項1記載の発明において、前記フレーム調整手段は、前記加速度取得手段によって取得された加速度に応じてフレーム画像を補間して、再生時に動きの遅い動画となるようにフレーム数を調整することを特徴とする。 According to a third aspect of the present invention, in the first aspect of the invention, the frame adjustment unit interpolates a frame image according to the acceleration acquired by the acceleration acquisition unit, so that a moving image with a slow motion is generated during reproduction. The number of frames is adjusted.
請求項4記載の発明は、請求項1記載の発明において、前記撮影手段による動画撮影時の速度を取得する速度取得手段と、前記速度取得手段によって取得された速度がゼロとなった場合に、前記記録手段による動画の記録を一時停止させる停止手段と、前記停止手段によって動画の記録が一時停止されている時に、前記速度取得手段によって取得された速度が変化した場合に、前記記録手段による動画の記録を再開させる再開手段とをさらに具備したことを特徴とする。 According to a fourth aspect of the present invention, in the first aspect of the invention, when the speed acquisition unit that acquires the speed at the time of moving image shooting by the shooting unit and the speed acquired by the speed acquisition unit become zero, A stopping means for temporarily stopping the recording of the moving image by the recording means, and a moving image by the recording means when the speed acquired by the speed acquiring means changes when the recording of the moving image is temporarily stopped by the stopping means. And resuming means for resuming recording.
請求項5記載の発明は、複数のフレーム画像からなる動画を撮影する撮影手段と、前記撮影手段による動画撮影時の加速度を取得する加速度取得手段と、前記加速度取得手段によって取得された加速度を示す加速度データを前記撮影手段によって撮影された動画と共に記録する記録手段と、前記記録手段に記録された前記加速度データが示す加速度に応じて、前記動画のフレーム数を調整するフレーム調整手段と、前記フレーム調整手段によりフレーム数が調整された動画を再生する動画再生手段とを具備したことを特徴とする。
The invention described in
請求項6記載の発明は、請求項1または請求項5記載の発明において、前記加速度取得手段は、前記撮影手段による動画の撮影方向に対する加速度を取得することを特徴とする。 A sixth aspect of the invention is characterized in that, in the first or fifth aspect of the invention, the acceleration acquisition means acquires acceleration in the moving image shooting direction by the shooting means.
請求項7記載の発明は、複数のフレーム画像からなる動画と、この動画の撮影時の加速度を示す加速度データとを記録する記録手段と、前記記録手段に記録された前記加速度データが示す加速度に応じて、前記動画のフレーム数を調整するフレーム調整手段と、前記フレーム調整手段によりフレーム数が調整された動画を再生する動画再生手段とを具備したことを特徴とする。 According to a seventh aspect of the present invention, there is provided recording means for recording a moving image composed of a plurality of frame images and acceleration data indicating acceleration at the time of shooting the moving image, and acceleration indicated by the acceleration data recorded in the recording means. Accordingly, the apparatus includes a frame adjusting unit that adjusts the number of frames of the moving image and a moving image reproducing unit that reproduces the moving image whose number of frames is adjusted by the frame adjusting unit.
請求項8記載の発明は、請求項7記載の発明において、前記フレーム調整手段は、前記記録手段に記録された前記加速度データが示す加速度に応じてフレーム画像を間引きして、再生時に動きの早い動画となるようにフレーム数を調整することを特徴とする。
The invention according to claim 8 is the invention according to
請求項9記載の発明は、請求項8記載の発明において、前記フレーム調整手段は、前記記録手段に記録された前記加速度データが示す加速度に応じてフレーム画像を補間して、再生時に動きの遅い動画となるようにフレーム数を調整することを特徴とする。 According to a ninth aspect of the invention, in the eighth aspect of the invention, the frame adjusting means interpolates a frame image according to the acceleration indicated by the acceleration data recorded in the recording means, and moves slowly during reproduction. It is characterized by adjusting the number of frames so as to become a moving image.
請求項10記載の発明は、請求項8記載の発明において、前記記録手段に記録された動画の撮影時の速度を取得する速度取得手段をさらに具備し、前記再生手段は、前記速度取得手段により取得された速度がゼロとなった場合に前記動画の再生を一時停止させる停止手段と、前記速度取得手段によって取得された速度が変化した場合に、前記動画の再生を再開させる再開手段とを具備したことを特徴とする。
The invention described in
請求項11記載の発明は、撮影装置に搭載されるコンピュータを、複数のフレーム画像からなる動画を撮影する撮影手段と、前記撮影手段による動画撮影時の加速度を取得する加速度取得手段と、前記加速度取得手段によって取得された加速度に応じて、前記撮影手段によって撮影された動画のフレーム数を調整するフレーム調整手段と、前記フレーム調整手段によりフレーム数が調整された動画を記録する記録手段として機能させることを特徴とする。 According to an eleventh aspect of the present invention, there is provided a computer mounted on the photographing apparatus, a photographing unit that photographs a moving image including a plurality of frame images, an acceleration obtaining unit that obtains an acceleration during moving image photographing by the photographing unit, and the acceleration. A frame adjusting unit that adjusts the number of frames of the moving image shot by the shooting unit according to the acceleration acquired by the acquiring unit; and a recording unit that records the moving image whose frame number is adjusted by the frame adjusting unit. It is characterized by that.
請求項12記載の発明は、撮影装置に搭載されるコンピュータを、複数のフレーム画像からなる動画を撮影する撮影手段と、前記撮影手段による動画撮影時の加速度を取得する加速度取得手段と、前記加速度取得手段によって取得された加速度を示す加速度データを前記撮影手段によって撮影された動画と共に記録する記録手段と、前記記録手段に記録された前記加速度データが示す加速度に応じて、前記動画のフレーム数を調整するフレーム調整手段と、前記フレーム調整手段によりフレーム数が調整された動画を再生する動画再生手段として機能させることを特徴とする。 According to a twelfth aspect of the present invention, there is provided a computer mounted on the photographing apparatus, a photographing unit that photographs a moving image including a plurality of frame images, an acceleration obtaining unit that obtains an acceleration during moving image photographing by the photographing unit, and the acceleration Recording means for recording acceleration data indicating the acceleration acquired by the acquisition means together with the moving image shot by the shooting means, and the number of frames of the moving image according to the acceleration indicated by the acceleration data recorded in the recording means. It is characterized by functioning as a frame adjusting means for adjusting and a moving picture reproducing means for reproducing a moving picture whose number of frames has been adjusted by the frame adjusting means.
請求項1,11記載の発明によれば、複数のフレーム画像からなる動画を撮影する際に動画撮影時の装置が移動する加速度を取得し、この加速度に応じて動画のフレーム数を調整することにより、撮影記録時に加速度が急激に変化した場合に動画のフレーム数を変化させて「速い動画」あるいは逆に「遅い動画」となるような映像効果を加えて記録することができる。例えば、加速度が一定の場合はその動画の再生速度を定速とし、速度が遅くなっていく変化ならば動画も次第に遅くなり、速度情報が速くなっていく変化ならば動画も次第に速くなるようにすることもできる。 According to the first and eleventh aspects of the present invention, when a moving image composed of a plurality of frame images is captured, the moving acceleration of the device during moving image acquisition is acquired, and the number of frames of the moving image is adjusted according to the acceleration Thus, when the acceleration changes abruptly at the time of shooting and recording, the number of frames of the moving image can be changed to add a video effect such that a “fast moving image” or conversely a “slow moving image” is recorded. For example, if the acceleration is constant, the playback speed of the video is set to a constant speed, and if the speed decreases, the video gradually slows, and if the speed information increases, the video gradually increases. You can also
請求項2記載の発明によれば、請求項1の発明の効果に加えて、加速度に応じてフレーム画像を間引きすることで、再生時に動きの早い動画となるよう映像効果を加えることができる。 According to the second aspect of the present invention, in addition to the effect of the first aspect of the invention, a video effect can be added so that a moving image has a fast motion during reproduction by thinning out the frame image according to the acceleration.
請求項3記載の発明によれば、請求項1の発明の効果に加えて、加速度に応じてフレーム画像を補間することで、再生時に動きの遅い動画となるように映像効果を加えることができる。
According to the invention of
請求項4記載の発明によれば、請求項1の発明の効果に加えて、撮影時の装置が移動する速度がゼロとなった場合、すなわち停止状態となった場合には動画の記録を一時停止し、また速度が変化し始めることで記録を再開することで、変化のある動画のみを撮影して記録することが可能となる。 According to the fourth aspect of the present invention, in addition to the effect of the first aspect of the invention, when the moving speed of the apparatus at the time of photographing becomes zero, that is, when the moving state is stopped, the moving image recording is temporarily performed. By stopping and resuming recording when the speed starts to change, it is possible to shoot and record only moving images with changes.
請求項5記載の発明によれば、複数のフレーム画像からなる動画を撮影する際に動画撮影時の装置が移動する加速度を取得して動画とを共に記録し、この加速度に応じて動画のフレーム数を調整することにより、撮影記録時に加速度が急激に変化した場合に動画のフレーム数を変化させて「速い動画」あるいは逆に「遅い動画」となるような映像効果を加えて記録することができる。例えば、加速度が一定の場合はその動画の再生速度を定速(等倍速)とし、速度が遅くなっていく変化ならば動画も次第に遅くなり、速度情報が速くなっていく変化ならば動画も次第に速くなるようにすることもできる。 According to the fifth aspect of the present invention, when a moving image composed of a plurality of frame images is captured, the moving acceleration of the device at the time of capturing the moving image is acquired and recorded together with the moving image, and the moving image frame is recorded according to the acceleration. By adjusting the number, when the acceleration changes suddenly during recording, you can change the number of frames of the movie and add a video effect that makes it “fast movie” or conversely “slow movie” it can. For example, if the acceleration is constant, the playback speed of the video is set to a constant speed (same speed), and if the speed decreases, the video gradually slows, and if the speed information increases, the video gradually It can also be faster.
請求項6記載の発明によれば、請求項1または請求項5の発明の効果に加えて、動画の撮影方向(すなわちカメラ装置のレンズが正対する向き)に対する加速度を取得することにより、例えば進行方向に向けて動画を撮影することで、進行方向への加速度に応じたフレーム調整がされた動画とすることができる。 According to the sixth aspect of the invention, in addition to the effect of the first or fifth aspect of the invention, the acceleration in the shooting direction of the moving image (that is, the direction in which the lens of the camera device faces directly) is acquired, for example. By capturing a moving image in the direction, it is possible to obtain a moving image in which the frame is adjusted according to the acceleration in the traveling direction.
請求項7記載の発明によれば、複数のフレーム画像からなる動画と、この動画の撮影時の加速度を示す加速度データとを取得して記録することで、この記録された加速度に応じて動画のフレーム数を調整することにより、撮影記録時に加速度が急激に変化した場合に動画のフレーム数を変化させて「速い動画」あるいは逆に「遅い動画」となるような映像効果を加えて再生することができる。 According to the seventh aspect of the present invention, by acquiring and recording a moving image composed of a plurality of frame images and acceleration data indicating the acceleration at the time of shooting the moving image, the moving image is recorded according to the recorded acceleration. By adjusting the number of frames, if the acceleration changes abruptly during shooting and recording, the number of frames of the movie is changed to add a video effect that makes it “fast movie” or conversely “slow movie”. Can do.
請求項8記載の発明によれば、請求項7の発明の効果に加えて、加速度に応じてフレーム画像を間引きすることで、再生時に動きの早い動画となるよう映像効果を加えることができる。 According to the eighth aspect of the invention, in addition to the effect of the seventh aspect of the invention, by thinning out the frame image according to the acceleration, it is possible to add a video effect so that a moving image has a fast motion during reproduction.
請求項9記載の発明によれば、請求項7の発明の効果に加えて、加速度に応じてフレーム画像を補間することで、再生時に動きの遅い動画となるように映像効果を加えることができる。 According to the ninth aspect of the invention, in addition to the effect of the seventh aspect of the invention, by interpolating the frame image in accordance with the acceleration, it is possible to add a video effect so that a moving image with slow motion is produced during reproduction. .
請求項10記載の発明によれば、請求項7の発明の効果に加えて、撮影時の装置が移動する速度がゼロとなった場合、すなわち停止状態で撮影されたことが判別される場合には動画の再生を一時停止し、また速度が変化し始めることで再生を再開することで、動画を記録した際の移動/停止の変化に合わせた動画の再生が可能となる。
According to the invention of
以下、図面を参照して本発明の実施の形態について説明する。
図1は、本発明の実施の形態におけるカメラ装置1(撮影装置)の機能構成を示すブロック図である。本実施形態におけるカメラ装置1は、静止画だけでなく動画を記録再生可能な機能が搭載された電子スチルカメラ、ビデオカメラ、カメラ付携帯電話、カメラ付情報通信端末等に適用することが可能である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of a camera apparatus 1 (imaging apparatus) according to an embodiment of the present invention. The
図1に示すカメラ装置1において、静止画を撮影する静止画撮影モードにおいては、レンズ光学系において、モータ(M)10の駆動により絞り位置や通常撮影に応じたレンズ位置に撮影レンズ11が移動される。また、撮影レンズ11は、ズーム操作に応じて、図示せぬモータの駆動により繰り出し/収納される。撮影レンズ11の撮影光軸後方に配置された撮像素子であるCCD(Charge Coupled Device)12は、タイミング発生器(TG)13、垂直ドライバ14によって走査駆動され、一定周期毎に結像した光像に対応する光電変換出力を1画面分出力する。
In the
この光電変換出力は、アナログ値の信号の状態でRGBの各原色成分毎に適宜ゲイン調整された後に、サンプルホールド(S/H)回路15でサンプルホールドされ、A/D変換器16でデジタルデータに変換され、さらに信号処理部17で画素補間処理及びγ補正処理を含むカラープロセス処理が行なわれて、デジタル値の輝度信号Y及び色差信号Cb,Crが生成され、DMA(Direct Memory Access)コントローラ18に出力される。
The photoelectric conversion output is appropriately gain-adjusted for each primary color component of RGB in the state of an analog value signal, sampled and held by a sample hold (S / H)
DMAコントローラ18は、信号処理部17の出力する輝度信号Y及び色差信号Cb,Crを、同じく信号処理部17からの複合同期信号、メモリ書込みイネーブル信号、及びクロック信号を用いて一度DMAコントローラ18内部のバッファに書込み、DRAMインタフェース(I/F)20を介してバッファメモリとして使用されるDRAM21にDMA転送を行なう。
The
制御部25は、CPUと、該CPUで実行される動作プログラムやデータ等を固定的に記録したROM、及びワークメモリとして使用されるRAM等により構成され、このカメラ装置1全体の制御動作を司る。
The
制御部25は、輝度及び色差信号のDRAM21へのDMA転送終了後に、この輝度及び色差信号をDRAMインタフェース20を介してDRAM21より読出し、VRAMコントローラ26を介してVRAM27に書込む。
After completing the DMA transfer of the luminance and color difference signals to the
デジタルビデオエンコーダ28は、輝度及び色差信号をVRAMコントローラ26を介してVRAM27より定期的に読出し、これらのデータを元にビデオ信号を発生して表示部29に出力する。
The
表示部29は、撮影モード時にはモニタ表示部(電子ファインダ)として機能し、デジタルビデオエンコーダ28からのビデオ信号に基づいた表示を行なうことで、その時点でVRAMコントローラ26から取込んでいる画像情報に基づく画像(スルー画像)をリアルタイムに表示することになる。
The
表示部29にスルー画像がリアルタイムに表示されている表示状態で、静止画像を撮影するタイミングでキー入力部37のシャッタキーが操作されると、トリガ信号を発生する。
When a through image is displayed in real time on the
制御部25は、このトリガ信号に応じてその時点でCCD12の駆動を停止した後、自動露出処理を実行して適正な露出値を得て、レンズ光学系の絞りとCCD12の露光時間を制御してあらためて撮像を実行させる。
In response to this trigger signal, the
こうして新たに得られた1フレーム分の画像データがDRAM21にDMA転送されて書込まれた後、制御部25がDRAM21に書込まれている1フレーム分の画像データを読出して圧縮伸張部30に転送する。圧縮伸張部30は、画像データに対して、JPEG(Joint Photographic Experts Group)により画像データを符号化する。
After the newly obtained image data for one frame is DMA-transferred and written in the
符号化された画像データは、カメラ装置1の記録媒体として着脱自在に装着されている不揮発性のメモリカード32、あるいはメモリカード32が装着されていない場合は固定的に内蔵されている不揮発性の内蔵メモリ33に書き込まれる。
The encoded image data is a
そして、1フレーム分のメモリカード32または内蔵メモリ33への画像データの書込み終了に伴なって、制御部25は、CCD12からDRAM21を経由したスルー画像を表示部29においてモニタ表示させる駆動を再開する。
Then, with the completion of the writing of the image data to the
また、制御部25には、キー入力部37、音声処理部40、ストロボ駆動部41、及び加速度検出部46が接続される。
The
キー入力部37は、電源キー、シャッタキー、モードスイッチ、メニューキー、選択キー、及び十字キー(カーソルキー)等から構成され、それらのキー操作に伴なう信号は直接制御部25へ送出される。
The
音声処理部40は、PCM音源等の音源回路を備え、音声の録音時にはマイクロホン部(MIC)42より入力された音声信号をデジタル化して音声データとして入力する。音声処理部40により入力された音声データは、圧縮伸張部30により所定のデータファイル形式、例えばMP3(MPEG-1 Audio Layer-3)規格に従ってデータ圧縮して音声データファイルを作成してメモリカード32または内蔵メモリ33へ記録される。また、音声の再生時にはメモリカード32または内蔵メモリ33から読み出された音声データファイルは、圧縮伸張部30により伸張され、音声処理部40によりアナログ化される。音声処理部40は、スピーカ部(SP)43を駆動して、拡声放音させる。
The
さらに音声処理部40は、制御部25からの制御に基づいて、各種動作音、例えばシャッタキーの操作に伴う擬似的なシャッタ音、他のキーの操作に伴うビープ音等も発生してスピーカ部43より拡声放音させる。
Furthermore, the
ストロボ駆動部41は、静止画像撮影時に図示しないストロボ用の大容量コンデンサを充電した上で、制御部25からの制御に基づいてストロボ発光部45を閃光駆動する。
The
また、本実施形態におけるカメラ装置1は、動画撮影の機能が設けられている。カメラ装置1は、キー入力部37に設けられた所定のキーが操作されることで動画撮影モードが設定される。カメラ装置1は、動画撮影モードにおいては、図示しないレリーズボタンに対する操作により撮影指示が入力されると、所定周期での動画データ(及び音声データ)の取得(動画撮影)を開始すると共に、動画撮影時における装置に対して作用する加速度の検出を加速度検出部46により行う。加速度検出部46は、例えば圧電素子タイプの加速度センサが用いられる。
In addition, the
例えば、動画撮影では、1/30secの周期(フレームレート)でCCD12によるサンプリングを行うことにより順次、フレーム画像を取り込むと共に、加速度検出部46により例えば数フレーム画像毎にカメラ装置1に加わる加速度が取得される。
For example, in moving image shooting, the
動画撮影時に入力される動画データ(音声データ)、加速度データは圧縮伸張部30に転送され、圧縮伸張部30により符号化された上でメモリカード32または内蔵メモリ33に記録される。本実施形態では、動画データ(音声データ)と同期させて、加速度データが記憶されるものとする(詳細については後述する(図3参照))。
Moving image data (audio data) and acceleration data input at the time of moving image shooting are transferred to the compression /
なお、図1に示す構成では、加速度検出部46を設けて加速度データを取得しているが、速度センサを設け、このセンサにより検出される速度データから演算により加速度を取得する、あるいは変位センサを設けて変位データから演算によりから加速度を取得する構成とすることもできる。
In the configuration shown in FIG. 1, the
(第1実施形態)
次に、第1実施形態におけるカメラ装置1の動作について説明する。第1実施形態では、動画撮影時に取得される加速度をもとにして、その時に撮影された動画の表示制御(動画編集)を実行して記録/再生する。
(First embodiment)
Next, the operation of the
はじめに、動画撮影時の動作について、図2に示すフローチャートを参照しながら説明する。 First, the operation during moving image shooting will be described with reference to the flowchart shown in FIG.
まず、動画撮影が開始されると(ステップA1)、動画撮影時のカメラ装置1に対して作用する加速度の検出が加速度検出部46により実行され(ステップA2)、それと共に動画の撮影と音声の入力が実行される。動画の撮影では、所定のフレームレート(例えば1/30sec)でCCD12によるサンプリングを行うことにより順次、フレーム画像を取り込み、そのフレーム画像のデータをDRAM21に一時記憶する(ステップA3,A4)。また、音声の入力では、マイクロホン部42から入力される音声を音声処理部40を通じて音声データとして取得してDRAM21に一時記憶させる。
First, when moving image shooting is started (step A1), detection of acceleration acting on the
一方、加速度検出部46により検出された加速度に対しては、有効ベクトル/スカラ検出が行われ、加速度の方向とその大きさ(加速度値)を加速度データとしてDRAM21に一時記憶させる(ステップA9,A10)。第1実施形態においては加速度検出部46では、少なくとも撮影レンズ11が向いている一定の方向、すなわち撮影方向に対して加わる加速度を検出するものとする。また、この撮影方向だけでなく、他の複数方向の加速度(例えば撮影方向に対して垂直な上下左右方向)についても検出するようにしても良い。何れの方向の加速度を取得して利用するかは、撮影された動画に対する表示制御(動画編集)の目的により異なり、特定の方向についての加速度を検出可能な加速度検出部46(変位センサ)を設けて構成する、あるいは多方向の変位を検出できる変位センサを設けて、必要に応じた方向で検出された加速度のみを有効として取得するようにしても良い。
On the other hand, effective vector / scalar detection is performed on the acceleration detected by the
DRAM21に一時記憶された動画データと音声データは、圧縮伸張部30に送られて符号化(圧縮)され、またDRAM21に一時記憶された加速度データを同期するようにして埋め込んだ(多重化した)、例えばストリーム形式のデータにしてメモリカード32または内蔵メモリ33に書き込まれる(ステップA11)。なお、図1に示す構成では、動画データの記憶先をメモリカード32または内蔵メモリ33としているが、長時間の動画を記録再生するためにより大容量の記憶装置が実装されていても良い。
The moving image data and audio data temporarily stored in the
以上の処理を、例えば図示しないレリーズスイッチ等の操作により撮影の終了が指示されるまで継続して実行される(ステップA12)。 The above processing is continuously executed until the end of shooting is instructed by operating a release switch (not shown), for example (step A12).
図3には、加速度を動画データに同期させて埋め込む記録形式の一例を示している。図3では、MPEG形式のデータとした場合の例を示している。MPEGでは、映像、音声を独立したオブジェクトとして扱うため、加速度についても独立したオブジェクトとして扱うことで動画データと共に記録されるようにする。 FIG. 3 shows an example of a recording format in which acceleration is embedded in synchronization with moving image data. FIG. 3 shows an example in the case of MPEG format data. In MPEG, since video and audio are handled as independent objects, acceleration is also handled as an independent object so that it is recorded together with moving image data.
すなわち、図3(a)に示すように、ファイルヘッダ(各種ファイル情報)、映像オブジェクト(映像ヘッダ、実データ列)、音声オブジェクト(音声ヘッダ、実データ列)、加速度オブジェクト(加速度ヘッダ、実データ列/デリミタ(同期用情報))を含むデータとして記録される。 That is, as shown in FIG. 3A, a file header (various file information), a video object (video header, actual data string), an audio object (audio header, actual data string), an acceleration object (acceleration header, actual data) Column / delimiter (information for synchronization)).
図3(b)には、動画(フレーム画像)の時系列に同期させて加速度データ(加速度オブジェクト)を埋め込んだファイル形式の一例を示している。 FIG. 3B shows an example of a file format in which acceleration data (acceleration object) is embedded in synchronization with a time series of moving images (frame images).
図3(b)に示す例では、2フレーム画像に1つの加速度データを埋め込んでいる。加速度オブジェクトの1,2,3,4…のそれぞれの加速度フィールドには、加速度量のデータが含まれている。また、「D」(8と9のフィールドの間)には、同期のずれを防ぐためのデリミタコードが埋め込まれている。「加速度ヘッダ」には、加速度の単位/加速度データが何フレームに1つであるかなどを示す情報が含まれている。 In the example shown in FIG. 3B, one acceleration data is embedded in the two-frame image. Each acceleration field of 1, 2, 3, 4... Of the acceleration object includes acceleration amount data. In addition, a delimiter code is embedded in “D” (between the fields 8 and 9) to prevent synchronization loss. The “acceleration header” includes information indicating the unit of acceleration / acceleration data per frame.
次に、動画データと共に加速度データが記録されたファイルを再生する場合の動作について、図4に示すフローチャートを参照しながら説明する。 Next, an operation for reproducing a file in which acceleration data is recorded together with moving image data will be described with reference to the flowchart shown in FIG.
まず、キー入力部37の所定のキー操作により再生モードに設定され、記録装置(メモリカード32または内蔵メモリ33)に記録されたファイルから再生対象が選択され再生実行が指示されたものとする。制御部25は、この再生実行の指示に応じて、該当するファイルを読み出して動画再生を開始させる(ステップB1)。
First, assume that a playback mode is set by a predetermined key operation of the
制御部25は、再生対象として選択されたファイルに加速度データ埋め込まれているかを、例えばファイルヘッダに含まれる情報を参照して判別する。ここで、加速度データが含まれている場合(ステップB2、Yes)、動画(映像)、音声のデータに先んじて加速度データを読み出して一時記憶する(ステップB3,B4)。
The
そして、ファイル中の符号化された動画データと音声データとを、それぞれ圧縮伸張部30により伸張(デコード)する(ステップB5,B9)。 Then, the encoded moving image data and audio data in the file are respectively decompressed (decoded) by the compression / decompression unit 30 (steps B5 and B9).
ここで、加速度データが示す加速度量が正を示す場合(ステップB6、正)、すなわち加速しながら動画の撮影が行われていた場合には、フレーム画像を加速度値に応じて間引く動画編集を実行した上で表示部29において表示させる(ステップB7,B13)。 Here, when the acceleration amount indicated by the acceleration data is positive (step B6, positive), that is, when a moving image is being shot while accelerating, the moving image editing is performed in which the frame image is thinned out according to the acceleration value. After that, it is displayed on the display unit 29 (steps B7 and B13).
一方、加速度データが示す加速度量が負を示す場合(ステップB6、負)、すなわち減速しながら動画の撮影が行われていた場合には、フレーム画像を加速度値に応じて補間する動画編集を実行した上で表示部29において表示させる(ステップB8,B13)。 On the other hand, when the acceleration amount indicated by the acceleration data is negative (step B6, negative), that is, when a moving image is being shot while decelerating, the moving image editing is performed to interpolate the frame image according to the acceleration value. After that, it is displayed on the display unit 29 (steps B8 and B13).
なお、加速度データがない場合、及び加速度データが示す加速度値がゼロである場合には、フレーム間引き/補間を行わず、撮影されたままの動画を表示部29において表示させる(ステップB13)。
When there is no acceleration data and when the acceleration value indicated by the acceleration data is zero, the
図5(a)には、動画データに埋め込まれた加速度データが示す加速度の変化を示し、図5(b)には、加速度に応じた画像編集(フレーム間引き、フレーム補間)の様子を示している。 FIG. 5A shows the change in acceleration indicated by the acceleration data embedded in the moving image data, and FIG. 5B shows the state of image editing (frame thinning, frame interpolation) corresponding to the acceleration. Yes.
図5(a)は、例えば比較的速度の速いパンニングや被写体に近付く動作をしながら動画を撮影した場合に検出される加速度の変化を示すもので、加速度が正(動き始め)の段階ではフレームを間引くことで、動画中の被写体の動きが早くなるように動画編集が行われ、加速度が負(停止直前)の段階ではフレームを補間することで、動画中の被写体の動きが遅くなるように動画編集が行われる。 FIG. 5A shows a change in acceleration detected when, for example, moving images are shot while panning or moving closer to the subject at a relatively high speed, and a frame is displayed when the acceleration is positive (beginning of movement). The video editing is performed so that the movement of the subject in the video becomes faster by thinning out, and the motion of the subject in the video is slowed by interpolating the frame when the acceleration is negative (immediately before stopping) Video editing is performed.
フレーム補間は、単純にフレームコピーして補間するのではなく、倍密度走査の偶数/奇数フィールド補間のように、フレーム間差異から演算によりフレーム信号を生成するようにすれば、フレーム補間することによる動画の不自然さを低減することができる。 Frame interpolation is not simply copying and interpolating frames, but if frame signals are generated by calculation from inter-frame differences, such as even / odd field interpolation in double-density scanning, it is based on frame interpolation. Unnaturalness of moving images can be reduced.
なお、間引くあるいは補間するフレーム数やその間隔などについては、加速度値、加速度の変化率、あるいはどのような映像効果を加えるかなどによって決められるものとする。 It should be noted that the number of frames to be thinned out or interpolated and the interval between them are determined by the acceleration value, the rate of change of acceleration, or what kind of video effect is applied.
一方、音声データに対しては、加速度データが示す加速度量の正負を前述と同様にして判別し(ステップB10)、それに応じて音声データに対して音声変調を加えて、音声処理部40を通じてスピーカ部43から出力させる。例えば、動画データに対してフレームを補間/間引きすることにより変化する動画の長さと一致するように、音声の長さ(及び音程)を調整する。なお、音声については加速度量に応じて変調するのではなく、無音にすることで、フレームの間引き/補間がされたことを音声により把握できるようにしても良い。
On the other hand, for audio data, the sign of the acceleration amount indicated by the acceleration data is discriminated in the same manner as described above (step B10), and audio modulation is applied to the audio data accordingly, and the speaker is passed through the
こうして、動画データに同期して埋め込まれた加速度データに応じて、フレーム画像を間引きあるいは補間しながら動画の再生を継続して実行する。そして、キー入力部37に対するキー操作により再生停止が指示された場合、あるいは動画ファイルを最後まで再生し終わると(ステップB14、Yes)、再生処理を終了する。
Thus, in accordance with the acceleration data embedded in synchronization with the moving image data, the reproduction of the moving image is continuously executed while thinning or interpolating the frame image. Then, when the reproduction stop is instructed by a key operation on the
以下、前述した処理を利用する場合の具体例について説明する。 Hereinafter, a specific example in the case of using the above-described processing will be described.
例えば、比較的速度の速いパンニングや被写体に近付く動作をしながら動画の撮影をした場合、加速度が正の段階では動画のフレームを間引いて再生することで早送り風の動画にして、劇画的に速い動きを誇張した効果を加え、逆に停止する直前ではフレームを補間することで動きが遅い動画にして、シーンをじっくり見せるようにすることができる。 For example, when shooting a movie while panning at a relatively high speed or moving closer to the subject, when the acceleration is positive, the movie is thinned out and played to make a fast-forward movie, making it dramatic. By adding the effect of exaggerating the movement, and interpolating the frame just before stopping, it is possible to make the moving picture slowly move so that the scene can be seen carefully.
なお、前述した説明では、動画撮影時に取得された加速度が正の場合にはフレームを間引き、負の場合にはフレームを補間するとして説明しているが、その逆とすることも可能である。 In the above description, the frame is thinned out when the acceleration acquired at the time of moving image shooting is positive, and the frame is interpolated when the acceleration is negative, but the reverse is also possible.
なお、前述した説明では、動画データと共に加速度を同期させて記録して、再生時に加速度に応じて表示制御をするとしているが、図2に示すフローチャートに示す動画撮影時の処理において、動画データを記憶装置に書き込む前に(ステップA11)、動画と共に検出された加速度に応じた動画編集処理、すなわち図4のフローチャートに示すようなフレーム間引きあるいはフレーム補間をした上で動画データ(フレーム画像)を記録するようにしても良い。この場合、記録された動画データについては、一般の動画データと同様にして再生することで、動画撮影時にカメラ装置1に加えられた加速度に応じた表示制御がされた動画を再生出力することができる。従って、動画データと共に加速度データを共に記録しておかなくても、動画撮影時に取得された加速度を利用した動画の再生が可能となる。
In the above description, the acceleration is recorded together with the moving image data, and the display control is performed according to the acceleration at the time of reproduction. However, in the processing at the time of moving image shooting shown in the flowchart of FIG. Before writing to the storage device (step A11), the moving image editing process corresponding to the acceleration detected together with the moving image, that is, the moving image data (frame image) is recorded after frame thinning or frame interpolation as shown in the flowchart of FIG. You may make it do. In this case, the recorded moving image data can be reproduced in the same manner as general moving image data, thereby reproducing and outputting a moving image whose display is controlled according to the acceleration applied to the
また、前述した説明では、撮影時に取得された加速度データを、映像と音声のデータとは独立して、時系列的に映像及び音声と同期するようにして記録しているが(図3(b))、その他の形式に加速度データを記録するようにしても良い。 In the above description, the acceleration data acquired at the time of shooting is recorded so as to be synchronized with the video and audio in time series independently of the video and audio data (FIG. 3B). )), Acceleration data may be recorded in other formats.
例えば、音声データに周波数変調して畳み込み記録しておく方法、動画データの空き周波数領域に周波数変調して畳み込む方法、空いている音声トラックに信号処理(ディジタイズ)して記録する方法などを用いることも可能である。この場合、各方法に応じた加速度データを抽出する機能を設けて、再生時に抽出できるように構成される。 For example, use a method of convolution recording with frequency modulation of audio data, a method of frequency modulation and convolution with an empty frequency region of moving image data, a method of recording with signal processing (digitizing) on an empty audio track, etc. Is also possible. In this case, a function for extracting acceleration data corresponding to each method is provided, and the function can be extracted during reproduction.
また、加速度データを動画データ(音声データ)と同期させて記録しているが、動画データ(フレーム画像)との関連付けがされていれば、加速度データを動画データとは独立して記録しておくこともできる。 The acceleration data is recorded in synchronization with the moving image data (sound data), but if the association is made with the moving image data (frame image), the acceleration data is recorded independently of the moving image data. You can also
また、前述した説明では、カメラ装置1において撮影した動画を自装置において再生表示するものとして説明しているが、動画撮影時に取得された加速度データが埋め込まれた動画ファイルを、例えばメモリカード32を介して(あるいはネットワークを介して送信することで)他の動画再生装置において読み込ませ、この動画再生装置で再生表示するようにしても良い。動画再生装置は、メモリカード32から動画ファイルを読み込んで記憶し、この動画ファイルを対象として、図4に示すフローチャートと同様の処理を実行することで、動画撮影時に取得された加速度に応じて表示制御(フレーム間引き、フレーム補間)された動画を出力することができる。
In the above description, the moving image shot by the
(第2実施形態)
次に、第2実施形態について説明する。第1実施形態では、動画撮影時にカメラ装置1に対して作用する加速度を検出し、この加速度に応じて表示制御(動画編集)を行うものとして説明しているが、第2実施形態では、動画撮影時のカメラ装置1の移動速度を取得し、この速度値をもとにした表示制御を実行する。
(Second Embodiment)
Next, a second embodiment will be described. In the first embodiment, the acceleration acting on the
図1に示す構成では、加速度を検出するための加速度検出部46のみが設けられているが、この構成の場合、加速度検出部46により検出された加速度値を時間積分する演算によって速度値を取得するものとする(さらに時間積分すれば変位値が得られる)。なお、速度センサを設けて速度値を取得する構成とすることも可能である。また、変位センサを設け、このセンサから検出される変位値をもとに演算により速度を取得することもできる。
In the configuration shown in FIG. 1, only the
次に、動画データと共に加速度データが記録されたファイルを再生する場合の動作について、図6に示すフローチャートを参照しながら説明する。なお、加速度データが埋め込まれた動画データのファイルの作成については、第1実施形態と同様にして実行されるものとして説明を省略する。また、図6のフローチャートでは、動画の再生のみを対象として説明している(音声の再生出力については省略している)。 Next, an operation for reproducing a file in which acceleration data is recorded together with moving image data will be described with reference to the flowchart shown in FIG. Note that the creation of the moving image data file in which the acceleration data is embedded is executed in the same manner as in the first embodiment, and the description thereof is omitted. Further, in the flowchart of FIG. 6, only the reproduction of a moving image is described (the audio reproduction output is omitted).
まず、キー入力部37の所定のキー操作により再生モードに設定され、記録装置(メモリカード32または内蔵メモリ33)に記録されたファイルから再生対象が選択され再生実行が指示されたものとする。制御部25は、この再生実行の指示に応じて、該当するファイルを読み出して動画再生を開始させる(ステップC1)。
First, assume that a playback mode is set by a predetermined key operation of the
制御部25は、再生対象として選択されたファイルに加速度データ埋め込まれているかを、例えばファイルヘッダに含まれる情報を参照して判別する。ここで、加速度データが含まれている場合(ステップC2、Yes)、動画(映像)データに先んじて加速度データを読み出し、この加速度データをもとに速度データを演算して取得して一時記憶する(ステップC3,C4,C5)。
The
そして、ファイル中の符号化された動画データを、圧縮伸張部30により伸張(デコード)する(ステップC6)。 Then, the encoded moving image data in the file is decompressed (decoded) by the compression / decompression unit 30 (step C6).
ここで、速度データが示す速度値に合わせて、フレーム画像を補間あるいは間引くことによるフレーム調整を行う(ステップC7)。例えば、速度が所定値以上である場合に、その速度値が高いほどフレームを補間し、また速度が所定値以下である場合に、その速度が低いほどフレームを間引くようにフレーム調整を実行する。こうして、フレームの補間/間引きによる動画編集を実行した上で表示部29において表示させる(ステップC8)。 Here, in accordance with the speed value indicated by the speed data, frame adjustment is performed by interpolating or thinning out the frame image (step C7). For example, when the speed is equal to or higher than a predetermined value, the frame is interpolated as the speed value is higher, and when the speed is lower than the predetermined value, the frame adjustment is executed so that the frame is thinned out as the speed is lower. In this way, the moving image editing by frame interpolation / decimation is executed and displayed on the display unit 29 (step C8).
なお、加速度データがない場合、及び加速度データが示す加速度値がゼロである場合には、フレーム間引き/補間を行わず、撮影されたままの動画を表示部29において表示させる(ステップC6〜C8)。
When there is no acceleration data and when the acceleration value indicated by the acceleration data is zero, the
図7(a)には、動画撮影時のカメラ装置1が移動する速度の変化を示し、図7(b)には、速度に応じた画像編集(フレーム間引き、フレーム補間)の様子を示している。
FIG. 7A shows a change in speed at which the
図7(a)は、例えば比較的高速の状態から速度を低下させて一定速度の状態を経て、さらに速度を低下させて最後に停止した場合の速度の変化を示している。この場合、高速状態にある段階ではフレームを補間し、低速状態にある段階でフレームを間引くことで、動画全体に渡って動画の動きが一定となるように動画編集が行われる。なお、フレーム補間については、第1実施形態と同様にして行われるものとする。 FIG. 7A shows a change in speed when, for example, the speed is lowered from a relatively high speed state to go through a constant speed state and then further lowered to stop. In this case, the moving image editing is performed so that the motion of the moving image is constant over the entire moving image by interpolating the frame at the stage of the high speed state and thinning out the frame at the stage of the low speed state. Note that frame interpolation is performed in the same manner as in the first embodiment.
また、動画データから取得された加速度(または速度)データから動画撮影時の速度がゼロ、すなわち停止した状態で動画の撮影が行われていたことが判別された場合には、図7(b)に示すように全てのフレームを間引いている。すなわち、動画の再生を一時停止させる。そして、動画データから取得された加速度(または速度)データから変化したことが判別された場合に動画の再生を再開させる。これにより、カメラ装置1が停止状態にあり変化のない動画の撮影している場合には、この停止時の動画が再生出力されないようにすることができる。
If it is determined from the acceleration (or speed) data acquired from the moving image data that the moving image is shot at a speed of zero, that is, in a stopped state, FIG. 7B. As shown, all frames are thinned out. That is, the reproduction of the moving image is paused. Then, when it is determined that there is a change from the acceleration (or velocity) data acquired from the moving image data, the reproduction of the moving image is resumed. As a result, when the
こうして、動画データに同期して埋め込まれた加速度データから算出された速度に応じて、フレーム画像を間引きあるいは補間しながら動画の再生を継続して実行する。そして、キー入力部37に対するキー操作により再生停止が指示された場合、あるいは動画ファイルを最後まで再生し終わると(ステップC9、Yes)、再生処理を終了する。
Thus, the reproduction of the moving image is continuously executed while thinning out or interpolating the frame image in accordance with the speed calculated from the acceleration data embedded in synchronization with the moving image data. Then, when the reproduction stop is instructed by a key operation on the
なお、図6のフローチャートに示す処理では、動画データ中に埋め込まれた加速度データをもとに速度データを算出して求める場合について示しているが、前述した図2のフローチャートに示す処理において、動画撮影中のカメラ装置1の移動速度を取得して、速度データを前述した加速度データの場合と同様にして動画データに埋め込み、この速度データを読み出して前述した処理を実行するようにしても良い。
The process shown in the flowchart of FIG. 6 shows the case where the speed data is calculated and obtained based on the acceleration data embedded in the video data, but in the process shown in the flowchart of FIG. The moving speed of the
また、前述した説明では、動画撮影時の速度が高速である場合にはフレームを補間し、低速の場合にはフレームを間引くとして説明しているが、その逆とすることも可能である。 In the above description, the frame is interpolated when the speed at the time of moving image shooting is high, and the frame is thinned out when the speed is low, but the reverse is also possible.
また、前述した説明では、動画データと共に加速度を同期させて記録して、再生時に加速度に応じて表示制御をするとしているが、図2に示すフローチャートに示す動画撮影時の処理において、動画データを記憶装置に書き込む前に(ステップA11)、動画撮影時に取得される速度に応じた動画編集処理、すなわち図6のフローチャートで説明したフレーム調整(フレーム間引き/補間)をした上で動画データ(フレーム画像)を記録するようにしても良い。この場合、記録された動画データについては、一般の動画データと同様にして再生することで、動画撮影時のカメラ装置1の移動速度に応じた表示制御がされた動画を再生出力することができる。従って、動画データと共に加速度データ(あるいは速度データ)を共に記録しておかなくても、動画撮影時に取得された速度を利用した動画の再生が可能となる。
In the above description, the acceleration is recorded together with the moving image data, and the display control is performed according to the acceleration at the time of reproduction. However, in the processing at the time of moving image shooting shown in the flowchart of FIG. Before writing to the storage device (step A11), the moving image editing process corresponding to the speed acquired at the time of moving image shooting, that is, the frame adjustment (frame thinning / interpolation) described in the flowchart of FIG. ) May be recorded. In this case, the recorded moving image data can be reproduced and output in the same manner as general moving image data, whereby a moving image whose display is controlled according to the moving speed of the
なお、速度に応じた動画編集処理をした上で動画データを記録する場合、動画撮影時に取得された速度がゼロとなった場合に、動画の記録を一時停止させ、動画の記録が一時停止されている時に、速度が変化した場合に、動画の記録を再開させる。これにより、停止している時に撮影される動画が記録されないので、再生時にはその部分をスキップした動画を再生することができる。 When recording video data after performing video editing processing according to the speed, video recording is paused and video recording is paused when the speed acquired during video recording becomes zero. When the speed changes, the recording of the movie is resumed. As a result, a moving image that is shot when stopped is not recorded, and a moving image that skips that portion can be reproduced during reproduction.
また、第1実施形態と同様にして、カメラ装置1において再生するだけでなく、他の動画再生装置において動画を再生出力させることも可能である。
Further, in the same manner as in the first embodiment, not only the
以下、前述した処理を利用する場合の具体例について説明する。 Hereinafter, a specific example in the case of using the above-described processing will be described.
(1)バーチャル道案内
例えば、自宅までの道順の風景を撮影した動画のファイルを他者へ渡し、他者が動画を再生しながら自宅までの道順を辿ることができるようにする。
(1) Virtual route guidance
For example, a moving image file that captures the scenery of the route to the home is passed to another person so that the other person can follow the route to the home while playing the moving image.
この場合、動画撮影時の移動速度が変動したとしても、第2実施形態で説明したように、速度が上がった場合にはフレーム画像が補間され、また速度が低下した場合にはフレーム画像が間引きされ、さらに一時停止した時には動画の撮影の停止(あるいは再生時のスキップ)がされるので、行程の全体を通して一定速度で進行しながら撮影したような動画を他者に提供することができる。 In this case, even if the moving speed at the time of moving image fluctuation varies, as described in the second embodiment, the frame image is interpolated when the speed increases, and the frame image is thinned when the speed decreases. In addition, when the video is paused, the video recording is stopped (or skipped during playback), so that it is possible to provide a video that is captured while proceeding at a constant speed throughout the entire process.
その動画を受け取った他者は、道順の風景を撮影した動画を見ながら道を辿り歩行する。他者が実際に見ている風景と動画表示の風景に差が生じることもあるが、このとき他者が動画のズレを修正する(具体的にはコマ送り/コマ戻しなど)ことができる機能を動画再生装置に設けておけば問題ない。最終的に、他者は動画の撮影者と全く同じ道順を、立ち止まりながらも完全にトレースして撮影者の自宅に辿り着くことができる。 The other person who receives the video walks along the road while watching the video of the scenery of the route. There may be a difference between the scenery that the other person actually sees and the scenery of the video display. At this time, the function that the other person can correct the deviation of the video (specifically, frame advance / rewind) If this is provided in the video playback device, there is no problem. Eventually, the other person can reach the photographer's home by tracing the exact same route as the photographer of the video, while still tracing.
(2)ハイスピード動画
例えば、100kmのドライブ道程、合計2時間で撮影される動画を、フレーム画像を間引きすることでハイスピードでダイジェスト記録する。2時間を10分間に圧縮して再生しようとする場合、12倍速の動画として記録すれば良いことになる。しかし、高速動画とは言え信号待ちなどで停止する場合には、動画上の動きが停止してしまいその部分が冗長になるため撮影時の検出速度がゼロに達した場合には動画を記録せず一時停止状態にする。また、加速度/速度変化量に応じてフレーム画像の間引き(スピード調整)を制御する、すなわち低速時/減速時に間引くフレーム画像の数を増加することにより、常に等速でハイスピードに行程を撮影することが可能となる。
(2) High speed video
For example, a moving image shot in a total of 2 hours over a drive distance of 100 km is digest-recorded at high speed by thinning out frame images. When 2 hours are compressed into 10 minutes and played back, it can be recorded as a 12 × moving image. However, even if it is a high-speed movie, it stops when waiting for a signal, etc., so the motion on the movie stops and the part becomes redundant, so if the detection speed at the time of shooting reaches zero, record the movie. Instead, pause. In addition, frame images are thinned out (speed adjustment) according to the amount of acceleration / speed change, that is, by increasing the number of frame images to be thinned out at low speed / deceleration, the process is always photographed at a high speed at a constant speed. It becomes possible.
(3)簡易万歩計(登録商標)/距離計
例えば、歩行しながらあるいは車中から動画を撮影したものとする。このとき、その変位量(総走行距離)は加速度から演算可能であるため、前述のように動画撮影時にその加速度を動画データヘ埋め込み記録しておくことで、歩行距離や走行距離を簡易的に求めることができる。この時、前述した「(2)ハイスピード動画」で示したハイスピード記録をすれば、長時間の記録でも容量の大きな動画になってしまうことを回避できるのでメモ的に使用できる。そして、動画の再生時に、加速度データから算出された変位量(歩行距離、走行距離)を同時に表示することで、動画の変化と共に変位量を提示することができる。
(3) Simple pedometer (registered trademark) / distance meter
For example, it is assumed that a moving image is taken while walking or from the vehicle. At this time, since the displacement amount (total travel distance) can be calculated from the acceleration, the walking distance and travel distance can be easily obtained by embedding and recording the acceleration in the moving image data at the time of moving image shooting as described above. be able to. At this time, if the high-speed recording shown in “(2) High-speed moving image” described above is performed, it is possible to avoid a large-capacity moving image even when recording for a long time, so that it can be used as a memo. And at the time of reproduction | regeneration of a moving image, the displacement amount (walking distance, running distance) calculated from acceleration data can be displayed simultaneously, and a displacement amount can be shown with the change of a moving image.
なお、前述した説明では、速度がゼロとなった場合には、動画の撮影/再生を一時停止し、速度が変化した場合に動画の撮影/再生を再開するものとしているが、オペレータによって一時停止状態を解除して動画の撮影/再生を再開させる操作手段を設ける構成としても良い。 In the above description, the video recording / playback is paused when the speed becomes zero, and the video shooting / playback is resumed when the speed changes. An operation means for canceling the state and restarting shooting / playback of the moving image may be provided.
また、前述した説明では、動画撮影モードでは動画撮影時の加速度(速度、変位)を検出して動画データと共に記録するものとして説明しているが、この動画撮影時の加速度(速度、変位)を検出して記録する動作を実行するか否かをオペレータが予め任意に設定できるようにしても良い。 In the above description, in the movie shooting mode, the acceleration (speed, displacement) at the time of movie shooting is detected and recorded together with the movie data. However, the acceleration (speed, displacement) at the time of movie shooting is described. It may be possible for the operator to arbitrarily set in advance whether or not to perform the operation of detecting and recording.
また、前述した説明では、加速度(あるいは速度、変位)に応じて画像フレームの間引き/補間などのフレーム調整を実行するものとして説明しているが、検出された加速度値が予め設定された一定のスレッショルド値よりも大きく変化しない場合は、フレーム調整を行わず動画の再生速度が変化しないようにしても良い。 In the above description, the frame adjustment such as the thinning / interpolation of the image frame is executed according to the acceleration (or speed, displacement), but the detected acceleration value is set to a predetermined value. If the value does not change more than the threshold value, the moving image playback speed may not be changed without adjusting the frame.
また、カメラ装置1に搭載されるコンピュータに実行させることのできる動画再生プログラムを、例えば磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリなどの記録媒体に書き込んで、あるいは通信媒体を通じて提供することができる。動画再生プログラムによりコンピュータの動作を制御することで、前述した実施形態における機能をカメラ装置1において実現することができる。
In addition, a moving image reproduction program that can be executed by a computer mounted on the
1…カメラ装置、10…モータ(M)、11…撮影レンズ、12…CCD、13…タイミング発生器(TG)、14…垂直ドライバ、15…サンプルホールド回路(S/H)、16…A/D変換器、17…信号処理部、18…DMAコントローラ、20…DRAMインタフェース(I/F)、21…DRAM、25…制御部、26…VRAMコントローラ、27…VRAM、28…デジタルビデオエンコーダ、29…表示部、30…圧縮伸張部、32…メモリカード、33…内蔵メモリ、37…キー入力部、40…音声処理部、41…ストロボ駆動部、42…マイクロホン部(MIC)、43…スピーカ部(SP)、45…ストロボ発光部、46…加速度検出部。
DESCRIPTION OF
Claims (12)
前記撮影手段による動画撮影時の加速度を取得する加速度取得手段と、
前記加速度取得手段によって取得された加速度に応じて、前記撮影手段によって撮影された動画のフレーム数を調整するフレーム調整手段と、
前記フレーム調整手段によりフレーム数が調整された動画を記録する記録手段と
を具備したことを特徴とする撮影装置。 Photographing means for photographing a moving image composed of a plurality of frame images;
Acceleration acquisition means for acquiring acceleration during moving image shooting by the shooting means;
A frame adjusting unit that adjusts the number of frames of the moving image shot by the shooting unit according to the acceleration acquired by the acceleration acquiring unit;
An imaging apparatus comprising: a recording unit that records a moving image whose number of frames is adjusted by the frame adjusting unit.
前記加速度取得手段によって取得された加速度に応じてフレーム画像を間引きして、再生時に動きの早い動画となるようにフレーム数を調整することを特徴とする請求項1記載の撮影装置。 The frame adjusting means includes
2. The photographing apparatus according to claim 1, wherein frame images are thinned according to the acceleration acquired by the acceleration acquisition means, and the number of frames is adjusted so that a moving image has a fast motion during reproduction.
前記加速度取得手段によって取得された加速度に応じてフレーム画像を補間して、再生時に動きの遅い動画となるようにフレーム数を調整することを特徴とする請求項1記載の撮影装置。 The frame adjusting means includes
2. The photographing apparatus according to claim 1, wherein a frame image is interpolated according to the acceleration acquired by the acceleration acquisition means, and the number of frames is adjusted so that a moving image having a slow motion is produced during reproduction.
前記速度取得手段によって取得された速度がゼロとなった場合に、前記記録手段による動画の記録を一時停止させる停止手段と、
前記停止手段によって動画の記録が一時停止されている時に、前記速度取得手段によって取得された速度が変化した場合に、前記記録手段による動画の記録を再開させる再開手段と
をさらに具備したことを特徴とする請求項1記載の撮影装置。 Speed acquisition means for acquiring a speed at the time of moving image shooting by the shooting means;
When the speed acquired by the speed acquisition means becomes zero, stop means for temporarily stopping the recording of the moving image by the recording means,
When the recording of the moving image is temporarily stopped by the stopping means, the recording apparatus further comprises a restarting means for resuming recording of the moving image by the recording means when the speed acquired by the speed acquiring means changes. The imaging apparatus according to claim 1.
前記撮影手段による動画撮影時の加速度を取得する加速度取得手段と、
前記加速度取得手段によって取得された加速度を示す加速度データを前記撮影手段によって撮影された動画と共に記録する記録手段と、
前記記録手段に記録された前記加速度データが示す加速度に応じて、前記動画のフレーム数を調整するフレーム調整手段と、
前記フレーム調整手段によりフレーム数が調整された動画を再生する動画再生手段と
を具備したことを特徴とする撮影装置。 Photographing means for photographing a moving image composed of a plurality of frame images;
Acceleration acquisition means for acquiring acceleration during moving image shooting by the shooting means;
Recording means for recording acceleration data indicating the acceleration obtained by the acceleration obtaining means together with the moving image photographed by the photographing means;
Frame adjusting means for adjusting the number of frames of the moving image according to the acceleration indicated by the acceleration data recorded in the recording means;
An imaging apparatus comprising: a moving image reproducing unit that reproduces a moving image whose number of frames is adjusted by the frame adjusting unit.
前記記録手段に記録された前記加速度データが示す加速度に応じて、前記動画のフレーム数を調整するフレーム調整手段と、
前記フレーム調整手段によりフレーム数が調整された動画を再生する動画再生手段と
を具備したことを特徴とする動画再生装置。 Recording means for recording a moving image composed of a plurality of frame images and acceleration data indicating acceleration at the time of shooting the moving image;
Frame adjusting means for adjusting the number of frames of the moving image according to the acceleration indicated by the acceleration data recorded in the recording means;
A moving image reproducing apparatus comprising: a moving image reproducing unit that reproduces a moving image whose number of frames is adjusted by the frame adjusting unit.
前記記録手段に記録された前記加速度データが示す加速度に応じてフレーム画像を間引きして、再生時に動きの早い動画となるようにフレーム数を調整することを特徴とする請求項7記載の動画再生装置。 The frame adjusting means includes
8. The moving image reproduction according to claim 7, wherein the frame image is thinned out in accordance with the acceleration indicated by the acceleration data recorded in the recording means, and the number of frames is adjusted so that the moving image has a fast motion during reproduction. apparatus.
前記記録手段に記録された前記加速度データが示す加速度に応じてフレーム画像を補間して、再生時に動きの遅い動画となるようにフレーム数を調整することを特徴とする請求項7記載の動画再生装置。 The frame adjusting means includes
8. The moving image reproduction according to claim 7, wherein a frame image is interpolated according to the acceleration indicated by the acceleration data recorded in the recording means, and the number of frames is adjusted so that a moving image having a slow motion is produced during reproduction. apparatus.
前記再生手段は、
前記速度取得手段により取得された速度がゼロとなった場合に前記動画の再生を一時停止させる停止手段と、
前記速度取得手段によって取得された速度が変化した場合に、前記動画の再生を再開させる再開手段と
を具備したことを特徴とする請求項7記載の動画再生装置。 It further comprises speed acquisition means for acquiring the speed at the time of shooting the moving image recorded in the recording means,
The reproducing means includes
Stop means for temporarily stopping playback of the video when the speed acquired by the speed acquisition means becomes zero;
8. The moving image reproducing apparatus according to claim 7, further comprising a restarting unit that restarts reproduction of the moving image when the speed acquired by the speed acquiring unit changes.
複数のフレーム画像からなる動画を撮影する撮影手段と、
前記撮影手段による動画撮影時の加速度を取得する加速度取得手段と、
前記加速度取得手段によって取得された加速度に応じて、前記撮影手段によって撮影された動画のフレーム数を調整するフレーム調整手段と、
前記フレーム調整手段によりフレーム数が調整された動画を記録する記録手段として機能させることを特徴とする動画記録再生プログラム。 The computer installed in the imaging device
Photographing means for photographing a moving image composed of a plurality of frame images;
Acceleration acquisition means for acquiring acceleration during moving image shooting by the shooting means;
A frame adjusting unit that adjusts the number of frames of the moving image shot by the shooting unit according to the acceleration acquired by the acceleration acquiring unit;
A moving picture recording / reproducing program that functions as a recording means for recording a moving picture whose number of frames has been adjusted by the frame adjusting means.
複数のフレーム画像からなる動画を撮影する撮影手段と、
前記撮影手段による動画撮影時の加速度を取得する加速度取得手段と、
前記加速度取得手段によって取得された加速度を示す加速度データを前記撮影手段によって撮影された動画と共に記録する記録手段と、
前記記録手段に記録された前記加速度データが示す加速度に応じて、前記動画のフレーム数を調整するフレーム調整手段と、
前記フレーム調整手段によりフレーム数が調整された動画を再生する動画再生手段として機能させることを特徴とする動画記録再生プログラム。 The computer installed in the imaging device
Photographing means for photographing a moving image composed of a plurality of frame images;
Acceleration acquisition means for acquiring acceleration during moving image shooting by the shooting means;
Recording means for recording acceleration data indicating the acceleration obtained by the acceleration obtaining means together with the moving image photographed by the photographing means;
Frame adjusting means for adjusting the number of frames of the moving image according to the acceleration indicated by the acceleration data recorded in the recording means;
A moving image recording / reproducing program that functions as a moving image reproducing unit that reproduces a moving image whose number of frames is adjusted by the frame adjusting unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005077295A JP4407549B2 (en) | 2005-03-17 | 2005-03-17 | Shooting device, video playback device, video recording / playback program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005077295A JP4407549B2 (en) | 2005-03-17 | 2005-03-17 | Shooting device, video playback device, video recording / playback program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006262135A JP2006262135A (en) | 2006-09-28 |
JP4407549B2 true JP4407549B2 (en) | 2010-02-03 |
Family
ID=37100868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005077295A Expired - Fee Related JP4407549B2 (en) | 2005-03-17 | 2005-03-17 | Shooting device, video playback device, video recording / playback program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4407549B2 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4089742B2 (en) | 2006-10-13 | 2008-05-28 | 富士ゼロックス株式会社 | Document management system and document disposal apparatus |
JP4735597B2 (en) * | 2007-04-25 | 2011-07-27 | 日本ビクター株式会社 | Image recording apparatus and image recording / reproducing apparatus |
JP2009200985A (en) * | 2008-02-25 | 2009-09-03 | Hitachi Ltd | Video processing apparatus |
JP5176857B2 (en) * | 2008-10-14 | 2013-04-03 | パナソニック株式会社 | Movie editing device |
JP5459077B2 (en) * | 2010-05-31 | 2014-04-02 | 株式会社ニコン | Digital camera |
JP6224913B2 (en) * | 2013-05-10 | 2017-11-01 | アイキューブド研究所株式会社 | Image output apparatus, image output method, and program |
EP2993895A1 (en) | 2014-09-05 | 2016-03-09 | Canon Kabushiki Kaisha | Image capturing apparatus and control method therefor |
CN105828010B (en) * | 2016-03-28 | 2018-11-27 | 广东欧珀移动通信有限公司 | It is a kind of based on the video recording method and device dynamically taken pictures |
CN110622517A (en) * | 2018-01-19 | 2019-12-27 | 深圳市大疆创新科技有限公司 | Video processing method and device |
JP2023044735A (en) * | 2020-03-05 | 2023-04-03 | ソニーグループ株式会社 | Information processing device, image display system, and image display method |
-
2005
- 2005-03-17 JP JP2005077295A patent/JP4407549B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006262135A (en) | 2006-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4407549B2 (en) | Shooting device, video playback device, video recording / playback program | |
USRE36338E (en) | Electronic still camera for recording and regenerating image data and sound data | |
US8571378B2 (en) | Image capturing apparatus and recording method | |
JP4777180B2 (en) | Imaging apparatus and control method thereof | |
JPWO2011099299A1 (en) | Video extraction device, photographing device, program, and recording medium | |
JP4938615B2 (en) | Video recording / playback device | |
JP4958758B2 (en) | Recording apparatus, reproducing apparatus, recording method, reproducing method, and program | |
JP2012015830A (en) | Camera | |
JP2010081457A (en) | Information recording/reproducing apparatus and video camera | |
JP2009194770A (en) | Imaging device, moving image reproducing apparatus, and program thereof | |
JP2007036538A (en) | Recording control apparatus and method for number of people in moving picture and still picture reproducing apparatus and method | |
JP4743084B2 (en) | Recording apparatus and recording program | |
JP5600405B2 (en) | Image processing apparatus, image processing method, and program | |
JP4208613B2 (en) | Imaging device | |
JP3881168B2 (en) | Digital camera and operation control method thereof, and image reproducing apparatus and method | |
JP5683301B2 (en) | Image recording device | |
JP5118465B2 (en) | Recording apparatus, reproducing apparatus, recording method, reproducing method, and program | |
JP4973497B2 (en) | Captured image recording apparatus, captured image recording method, captured image playback apparatus, captured image playback method, and captured image recording / playback system | |
JP2002300445A (en) | Imaging device, imaging method, program and storage medium | |
JP2005348178A (en) | Moving picture recording apparatus and moving picture indicator method, and storage medium | |
WO2004068488A1 (en) | Magnetic recording/reproduction device | |
JP2006311145A (en) | Imaging apparatus, reproducing apparatus, control method, and program | |
JP2006005610A (en) | Panoramic video recording and reproducing device | |
JP5948927B2 (en) | Image processing apparatus, image processing method, program, and imaging apparatus | |
JP4586565B2 (en) | Camera device and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080305 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091015 |
|
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: 20091020 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091102 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4407549 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121120 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131120 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |