JP2006086870A - Dynamic image reproducing unit - Google Patents
Dynamic image reproducing unit Download PDFInfo
- Publication number
- JP2006086870A JP2006086870A JP2004270175A JP2004270175A JP2006086870A JP 2006086870 A JP2006086870 A JP 2006086870A JP 2004270175 A JP2004270175 A JP 2004270175A JP 2004270175 A JP2004270175 A JP 2004270175A JP 2006086870 A JP2006086870 A JP 2006086870A
- Authority
- JP
- Japan
- Prior art keywords
- moving image
- image data
- rotation
- rotation processing
- reproduction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
本発明は、天地方向を表す回転情報を持つ動画像データを再生する動画像再生装置に関する。 The present invention relates to a moving image reproduction apparatus that reproduces moving image data having rotation information indicating a vertical direction.
近年、デジタルカメラ及びデジタルビデオカメラなど、動画像又は静止画像のデジタル画像データを記録する機器の普及が進んでおり、デジタルカメラ機能を搭載した携帯端末の普及も進んできている。 In recent years, devices such as digital cameras and digital video cameras that record digital image data of moving images or still images have been spread, and portable terminals equipped with a digital camera function have also been spread.
デジタルカメラでは記録媒体として小型メモリカードが広く利用されており、静止画像データだけでなく動画像データを記録できるものも、数多く登場している。デジタルビデオカメラでは、記録媒体として磁気テープだけでなく、小型メモリカード及び光磁気ディスクのようなランダムアクセス可能な記録媒体を使用するものが登場している。 In digital cameras, a small memory card is widely used as a recording medium, and many cameras that can record moving image data as well as still image data have appeared. Some digital video cameras use not only a magnetic tape but also a randomly accessible recording medium such as a small memory card and a magneto-optical disk as a recording medium.
ランダムアクセス可能な記録媒体を使用するカメラでは、画像データをファイルの形式で保存する。画像データを作成する際には、撮影状態及び撮影日時などの付加情報を画像データに付加して記録するのが一般的である。動画を記録する際には、時間によって変化する撮影情報などの付加情報はフレーム毎に記録される。 In a camera using a randomly accessible recording medium, image data is stored in a file format. When creating image data, additional information such as a shooting state and a shooting date is generally added to the image data and recorded. When recording a moving image, additional information such as shooting information that changes with time is recorded for each frame.
ところで、このようなデジタルカメラを通常状態より右に90度傾けて横向きに静止画像データを撮影した場合には、静止画像データ自身は横向きに記録されることになる。このようにして撮影された静止画像データを表示する場合、静止画像データが左90度横向きになって表示されてしまう。 By the way, when such a digital camera is tilted 90 degrees to the right from the normal state and still image data is photographed horizontally, the still image data itself is recorded horizontally. When still image data shot in this way is displayed, the still image data is displayed horizontally 90 degrees left.
この問題の解決のために、重力センサを使って撮影時のカメラの向きを検出し、静止画像データに回転情報を付加して記録するデジタルカメラも登場してきている(例えば、特許文献1参照)。このようなデジタルカメラで撮影された静止画データを表示する際には、画像データに付加されている回転情報を元にして自動的に画像データを正しい方向に回転して表示する。これにより、撮影時のデジタルカメラの向きに関わらず、自動的に正しい向きでの画像データの表示が可能となる。
従来のビデオカメラでは、横向きに撮影するということは一般的には行われなかった。即ち、動画像データは、静止画のように回転した向きで撮影されることはなかった。 Conventional video cameras generally do not shoot sideways. That is, the moving image data is not photographed in the rotated direction like a still image.
ところが近年、デジタルカメラで容易に動画撮影が可能となり、また機器の小型化が進んだことによって、デジタルカメラを用いて横向きに動画像を撮影することが多くなってきている。このような状況にありながら、静止画像の場合と違って、動画像データでは自動的に正しい向きに回転して表示することができなかった。 However, in recent years, it has become easy to shoot moving images with a digital camera, and with the progress of miniaturization of devices, moving images have been frequently photographed horizontally using a digital camera. Despite this situation, unlike the case of still images, moving image data cannot be automatically rotated and displayed in the correct orientation.
また、常に同じ向きに傾けて動画撮影を行った場合、動画像データの表示時にユーザが明示的に動画像データ全体に回転処理を行うことで、向きを合わせて再生表示することは可能である。しかし動画の撮影中にカメラを回転することが可能であるので、カメラを回転させながら撮影した動画像データを再生した場合には、うまく画像の向きを合わせて再生表示できない。 In addition, when moving images are always tilted in the same direction, the user can explicitly perform rotation processing on the entire moving image data when the moving image data is displayed, so that it can be reproduced and displayed in the same direction. . However, since the camera can be rotated during moving image shooting, when moving image data shot while the camera is rotated is reproduced, it is not possible to reproduce and display the image with its orientation properly adjusted.
本発明は、このような不都合を解消する動画像再生装置を提示することを目的とする。 It is an object of the present invention to provide a moving image playback apparatus that solves such inconveniences.
本発明に係る動画像再生装置は、動画像データと、前記動画像データに係る動画像の所定のタイミングにおける天地方向の向きを示す姿勢情報とを記録媒体から再生する再生手段と、前記再生手段により再生された姿勢情報に従い、前記再生手段により再生された動画像データを回転処理する回転処理手段と、前記回転処理手段により処理された動画像データを表示装置に出力する出力手段とを具備することを特徴とする。 The moving image reproducing apparatus according to the present invention reproduces moving image data and attitude information indicating the orientation of the moving image related to the moving image data at a predetermined timing from a recording medium, and the reproducing unit Rotation processing means for rotating the moving image data reproduced by the reproducing means according to the posture information reproduced by the reproduction means, and output means for outputting the moving image data processed by the rotation processing means to a display device. It is characterized by that.
本発明によれば、カメラの向きを変えながら撮影した動画像データでも、動画像データの再生時に自動的に回転処理を行うので、常に画像の向きに合わせて再生表示することが可能となる。 According to the present invention, even with moving image data shot while changing the direction of the camera, the rotation processing is automatically performed when the moving image data is reproduced, so that it is possible to always reproduce and display the image in accordance with the direction of the image.
以下、図面を参照して、本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施例の概略構成ブロック図を示す。210は動画像データ再生装置の動作を制御する演算処理装置(CPU)である。ハードディスク220には、動画像データと、動画像データを再生する動画像再生プログラムが記録されている。
FIG. 1 shows a schematic block diagram of an embodiment of the present invention. An arithmetic processing unit (CPU) 210 controls the operation of the moving image data reproduction device. The
ハードディスク220に記録される動画像データは、Motion JPEG方式で圧縮されており、各フレームには、動画撮影時における撮影装置の回転姿勢(天地方向の回転角度)が、回転情報として1度単位で付加されている。勿論、Motion JPEG以外の圧縮方式も利用可能である。
The moving image data recorded on the
CPU210は、ハードディスク220に記録される動画像データ再生プログラムを読み込み、実行する。ハードディスク220に記録される動画像データ再生プログラムは、動画像データを読み込む動画像データ取得手段と、回転情報を読み込む回転情報取得手段と、画像の向きに合わせて回転して表示するかどうかをユーザが設定するための表示設定手段と、回転情報に応じて画像の向きが合うように画像を回転処理する回転処理手段と、動画像データを再生表示する動画像再生表示手段と、回転情報に応じて音声モードを切り替える音声モード切替え手段と、動画像再生表示時に画像の向きを示す回転情報を表示する回転情報表示手段とから構成されている。
The
230は、内部メモリである。240は、CRTディスプレイ又は液晶パネルなどの表示部(ディスプレイ)である。245は、ステレオ音声を出力可能なスピーカである。250は、キーボードとマウスからなる操作部である。
230 is an internal memory.
260は、外部記録媒体を読み込むためのドライブである。270は、CD−ROM又はDVD−ROMなどの外部記録媒体である。280は、コンピュータ内部の各処理部を相互に接続する、PCIバス等の内部バスである。
Reference numeral 260 denotes a drive for reading an external recording medium.
動画像データ再生プログラムは、操作部250を用いて操作することができる。ユーザは、キーボードやマウスなど一般的に使用されている操作部を使用することで、動画像データを選択し、動画像データ再生プログラムを実行することができる。
The moving image data reproduction program can be operated using the
本実施例では、ハードディスク220にプログラムが記録されている例を示すが、プログラムがCD−ROMなどの外部記録媒体270に記録されており、記録媒体ドライブ260を介してCPU210に読み込み、実行させる形態でも良い。また同様に、ネットワーク上に動画像再生プログラムがあってもよい。
In this embodiment, an example in which a program is recorded on the
図2は、動画像データ再生プログラムによる再生処理のフローチャートを示す。本実施例では、画像をそのまま表示する非回転表示モードと、画像をその回転情報に従って回転して表示する回転表示モードとを具備する。表示設定の初期状態は、非回転表示モードである。図3は、動画像データ再生プログラムによる画面例を示す。 FIG. 2 shows a flowchart of the reproduction process by the moving image data reproduction program. The present embodiment includes a non-rotation display mode in which an image is displayed as it is and a rotation display mode in which the image is rotated and displayed according to the rotation information. The initial state of the display setting is a non-rotation display mode. FIG. 3 shows an example of a screen by the moving image data reproduction program.
ステップS100では、ハードディスク220に記録されている動画像データから、圧縮された1フレーム分の動画像データを読み込む。ステップS110では、ステップS100で読み込んだ圧縮動画像データをデコードし、各フレームに付加されている付加情報を取り出す。ステップS100とステップS110の処理が、動画像データ取得手段又は機能となる。
In step S100, the compressed moving image data for one frame is read from the moving image data recorded on the
ステップS120では、ステップS110で取得した付加情報から回転情報を取得する。ステップS120の処理が、回転情報取得手段又は機能となる。 In step S120, rotation information is acquired from the additional information acquired in step S110. The process of step S120 becomes a rotation information acquisition unit or function.
ステップS130では、表示モードか回転表示モードか非回転表示モードかを判定する。非回転表示モードではステップS140に移行し、回転表示モードではステップS150に移行する。 In step S130, it is determined whether the display mode is the rotation display mode or the non-rotation display mode. In the non-rotation display mode, the process proceeds to step S140, and in the rotation display mode, the process proceeds to step S150.
ステップS140では、ステップS120で取得した回転情報を元に、画像データの上方向がわかるように画像の上方向を矢印で表示す。ステップS140の処理が、回転情報表示手段又は機能となる。 In step S140, the upward direction of the image is displayed with an arrow so that the upward direction of the image data can be understood based on the rotation information acquired in step S120. The process of step S140 becomes a rotation information display means or function.
ここで、非回転表示モードでの表示画面を説明する。操作部250により動画像データ再生プログラムに指示を入力する。
Here, a display screen in the non-rotation display mode will be described. An instruction is input to the moving image data reproduction program by the
図3において、3−Aは表示設定変更ボタンである。このボタン3−Aを押すと、表示モードが回転表示モードに切り替わる。3−Bは再生停止を指示するストップボタンである。このボタン3−Bを押すと、動画像データ再生プログラムは、動画像再生を停止する。 In FIG. 3, 3-A is a display setting change button. When this button 3-A is pressed, the display mode is switched to the rotation display mode. 3-B is a stop button for instructing to stop reproduction. When this button 3-B is pressed, the moving image data reproduction program stops moving image reproduction.
3−Cは再生開始を指示する再生ボタンである。このボタン3−Cを押すと、動画像再生プログラムは、動画像データの再生を開始する。 3-C is a playback button for instructing the start of playback. When this button 3-C is pressed, the moving image reproduction program starts reproduction of moving image data.
3−Dは動画像データの再生画面であり、この領域に、動画像データの再生画像が表示される。 3-D is a playback screen for moving image data, and a playback image of moving image data is displayed in this area.
3−Eは、再生画面3−Dに表示されている動画像データの回転情報を表示する領域である。本実施例では、再生画面に表示されている画像の上方向を矢印で表示する。動画像データの再生時には、矢印3−Eは、画像の回転に合わせた向きで表示される。 3-E is an area for displaying rotation information of moving image data displayed on the reproduction screen 3-D. In this embodiment, the upward direction of the image displayed on the playback screen is displayed with an arrow. At the time of reproduction of moving image data, the arrow 3-E is displayed in an orientation that matches the rotation of the image.
図4は、回転しながら撮影された動画像データを、非回転表示モードで再生するときの、時間とともに変化する画面例を示す。図4で示すように、時間の経過とともに再生画像が回転すると同時に、矢印3−Eも回転して表示される。このように回転情報を表示することで、常に再生画像の上方向が示されることとなり、非常にわかりやすくなる。 FIG. 4 shows an example of a screen that changes with time when moving image data shot while rotating is reproduced in the non-rotation display mode. As shown in FIG. 4, at the same time as the reproduced image rotates with the passage of time, the arrow 3-E also rotates and is displayed. By displaying the rotation information in this way, the upward direction of the reproduced image is always indicated, which is very easy to understand.
回転表示モードでの動作を説明する。回転表示モードでは、先に説明したように、ステップS130からステップS150に移行する。ステップS150では、ステップS120で取得した情報を元にして、画像の回転角度を判断する。上方向を回転角度0度として、画像の回転角度が45度以上315度未満だった場合には、ステップS160に移行し、それ以外の角度だった場合には、ステップS170に移行する。 The operation in the rotation display mode will be described. In the rotation display mode, as described above, the process proceeds from step S130 to step S150. In step S150, the rotation angle of the image is determined based on the information acquired in step S120. When the rotation angle is 0 degree and the rotation angle of the image is 45 degrees or more and less than 315 degrees, the process proceeds to step S160. Otherwise, the process proceeds to step S170.
ステップS160では、ステレオで記録されている音声データをモノラルに変換する。これは、画像を回転して表示した場合には、ステレオで記録された音の方向性が不自然になってしまうからである。ステップS150とステップS160の処理が、音声モード切替え手段又は機能となる。 In step S160, the audio data recorded in stereo is converted to monaural. This is because when the image is rotated and displayed, the directionality of the sound recorded in stereo becomes unnatural. The processing of step S150 and step S160 is a voice mode switching means or function.
ステップS170では、ステップS120で取得した画像の回転情報を元に、画像の天地情報が一致するように、再生画像を回転する。ステップS170の処理が、回転処理手段又は機能となる。 In step S170, based on the rotation information of the image acquired in step S120, the reproduced image is rotated so that the top and bottom information of the image matches. The process of step S170 becomes a rotation processing means or function.
ステップS180では、画像データの表示処理と音声データの出力処理を行う。ステップS180の処理が、動画像再生表示手段又は機能となる。 In step S180, image data display processing and audio data output processing are performed. The process of step S180 becomes a moving image reproduction display means or function.
図5は、回転表示モードでの表示例を示す。5−Aは表示設定変更ボタンである。このボタン5−Aを押すと、非回転表示モードに切り替えることができる。5−Bは再生停止を指示するストップボタンである。このボタン5−Bを押すと、動画像データ再生プログラムは、動画像データの再生を停止する。5−Cは再生開始を指示する再生ボタンである。このボタン5−Cを押すと、動画像データ再生プログラムは、動画像データの再生を開始する。ボタン5−A,5−B,5−Cの機能は、非回転表示モードのボタン3−A,3−B,3−Cと同様である。 FIG. 5 shows a display example in the rotation display mode. 5-A is a display setting change button. When the button 5-A is pressed, the mode can be switched to the non-rotation display mode. 5-B is a stop button for instructing to stop reproduction. When this button 5-B is pressed, the moving image data reproduction program stops reproduction of moving image data. 5-C is a playback button for instructing the start of playback. When this button 5-C is pressed, the moving image data reproduction program starts reproducing moving image data. The functions of the buttons 5-A, 5-B, 5-C are the same as those of the buttons 3-A, 3-B, 3-C in the non-rotation display mode.
5−Dは動画像データの再生画面ウインドウであり、各ボタン5−A,5−B,5−Cとは分離して表示される。再生画面ウインドウ5−Dは、画像の回転情報を元に、画像の天地情報が一致するように、再生画像の中央を中心に回転されて、表示される。再生画面のサイズは、面積が常に一定になるように自動調整される。 Reference numeral 5-D denotes a moving image data reproduction screen window, which is displayed separately from the buttons 5-A, 5-B, 5-C. The playback screen window 5-D is rotated and displayed around the center of the playback image so that the top and bottom information of the image matches based on the rotation information of the image. The size of the playback screen is automatically adjusted so that the area is always constant.
動画像データの再生時には、再生画面ウインドウ5−Dが画像の回転情報に合わせた角度に回転されて、表示される。図6は、回転しながら撮影された動画像データの再生画面の時間変化例を示す。但し、図6では、再生画面ウインドウのみを図示してある。 When the moving image data is reproduced, the reproduction screen window 5-D is rotated and displayed at an angle according to the rotation information of the image. FIG. 6 shows a time change example of a playback screen of moving image data shot while rotating. However, in FIG. 6, only the playback screen window is shown.
図6に示すように、本実施例では、どの時点でも再生画像が正立するように、再生画面ウインドウそのものを回転処理する。 As shown in FIG. 6, in this embodiment, the playback screen window itself is rotated so that the playback image stands upright at any time.
このように、回転情報に応じて再生画面ウインドウを回転処理することで、常に再生画像の上方向が一致することになり、非常に見やすい画像となる。 In this way, by rotating the playback screen window according to the rotation information, the upper direction of the playback image always coincides, and the image becomes very easy to see.
図2に戻り、ステップS190では、表示設定変更ボタンが押されたかどうかを判断する。表示設定変更ボタンが押された場合、ステップS200に移行し、表示設定変更ボタンが押されていない場合、ステップS210に移行する。 Returning to FIG. 2, in step S190, it is determined whether the display setting change button has been pressed. If the display setting change button has been pressed, the process proceeds to step S200. If the display setting change button has not been pressed, the process proceeds to step S210.
ステップS200では、表示モードを現在のモードとは逆のモードに変更する。即ち、現在の表示モードが回転表示モードであれば、非回転表示モードに変更し、非回転表示モードであれば、回転表示モードに変更する。ステップS190及びステップS200からなる処理が、表示設定手段又は機能となる。 In step S200, the display mode is changed to a mode opposite to the current mode. That is, if the current display mode is the rotation display mode, the mode is changed to the non-rotation display mode, and if the current display mode is the non-rotation display mode, the mode is changed to the rotation display mode. The process consisting of step S190 and step S200 is a display setting means or function.
ステップS210では、ストップボタンが押されたかどうかを判断する。ストップボタンが押された場合は、再生処理を終了し、ストップボタンが押されていない場合には、ステップS220に移行する。 In step S210, it is determined whether or not the stop button has been pressed. If the stop button has been pressed, the reproduction process is terminated. If the stop button has not been pressed, the process proceeds to step S220.
ステップS220では、最後まで動画像データを再生したかどうかを判断する。最後まで再生した場合には、再生処理を終了し、最後まで再生していない場合には、次のフレームの処理に移るためにステップS100に移行する。 In step S220, it is determined whether moving image data has been reproduced to the end. If it has been played to the end, the playback process is terminated, and if it has not been played to the end, the process proceeds to step S100 in order to move to the next frame process.
ステップS100からステップ220の処理を繰り返すことで、動画像データの各フレームが逐次、再生される。 By repeating the processing from step S100 to step 220, each frame of the moving image data is sequentially reproduced.
上記の構成により、カメラの向きを変えながら撮影された動画像データでも、動画像データの再生時に、再生画像が正立するように再生画面ウインドウを回転するので、ユーザは、再生画像を常に正立状態で観察できる。また、回転情報に応じて音声モードを切り替えることにより、音の左右のバランスが崩れることもなく、不自然にならない。 With the above configuration, even with moving image data shot while changing the direction of the camera, the reproduction screen window is rotated so that the reproduced image is upright when the moving image data is reproduced. Observable in a standing state. Further, by switching the sound mode according to the rotation information, the left / right balance of the sound is not lost, and it is not unnatural.
回転表示しない場合でも、動画像データの再生時に回転情報を一緒に表示することにより、ユーザは、撮影時のカメラの方向を容易に認識できる。 Even when the rotation display is not performed, the user can easily recognize the direction of the camera at the time of shooting by displaying the rotation information together when reproducing the moving image data.
図7は、本発明の第2実施例であるデジタルカメラの概略構成ブロック図を示す。510は被写体の光学像を電気信号に変換する撮像部(カメラ部)である。520は音声を電気信号に変換するマイクである。530は、アナログ信号をデジタル信号に変換するA/D変換器である。540は、カメラの天地情報を検出する回転情報検出部である。550は、デジタル画像データを例えば、Motion JPEG方式で圧縮符号化する圧縮機能を具備するエンコーダである。560は、記録媒体との間でデータのやり取りを行うメディアアクセス制御部である。570は、ランダムアクセス可能な記録媒体であり、動画像データなどのデジタルデータをデータファイルとして記録可能である。本実施例では、動画像データはMotion JPEG方式で圧縮されており、各フレームの付加情報として1度単位の回転情報が付加されている。動画像の圧縮方式は、Motion JPEG方式以外の別の方式でも良い。
FIG. 7 shows a schematic block diagram of a digital camera according to the second embodiment of the present invention.
580は、操作パネル及び/又はリモコンなどからなる操作部である。590は、装置全体の動作を制御するシステムコントローラであり、マイクロコンピュータを有する。600は、圧縮符号化されたデジタルデータを復号するデコーダである。610は、動画像データの回転情報を取得する回転情報取得部である。
An
620は、動画像データを回転処理する回転処理部である。630は、モニタに表示する画面を作成する表示画面作成部である。640は、音声モードを変更する音声モード切替え部である。
A
650は、デジタル信号をアナログ信号に変換するD/A変換器である。660は、表示部であるモニタである。670は、音声を出力するステレオスピーカである。
図7に示すデジタルカメラの動作を説明する。本実施例のデジタルカメラは、動画像データの再生モードと記録モードを具備する。再生モードでは、動画像データの再生時に画像の向きに合わせて回転して表示するかどうかをユーザが設定できる。記録モードでは、動画像データの記録時にデジタルカメラの回転情報を付加情報として自動的に動画像データに付加して記録する。 The operation of the digital camera shown in FIG. 7 will be described. The digital camera of this embodiment has a moving image data playback mode and recording mode. In the playback mode, the user can set whether or not to rotate and display the moving image data according to the orientation of the image. In the recording mode, when moving image data is recorded, rotation information of the digital camera is automatically added as additional information to the moving image data and recorded.
再生モードの動作を説明する。図8は、動画像データ再生処理のフローチャートを示す。 The operation in the playback mode will be described. FIG. 8 shows a flowchart of the moving image data reproduction process.
再生モードでは、ユーザは、操作部580を用いて、動画像データの再生と停止を指示でき、再生画像の表示モードを設定できる。表示モードには、再生画像をそのまま表示する非回転表示モードと、回転情報に基づいて、再生画像が正立するように回転して表示する回転表示モードとがある。システムコントローラ580は、操作部580の操作に応じて各部を、再生動作及び設定を制御する。
In the playback mode, the user can use the
例えば、操作部580は、ユーザによって再生操作が行われた場合、システムコントローラ590に再生指示命令を送信し、停止操作が行われた場合にはシステムコントローラ590に停止指示命令を送信する。また、表示設定が変更された場合は、操作部580は、表示設定変更命令をシステムコントローラ590に送信する。
For example, the
システムコントローラ590は再生指示命令を受け取ると、再生の対象となる動画像データの再生処理を行うために、メディアアクセス部560に再生命令を送る。メディアアクセス部560は再生命令を取得すると、記録媒体570から動画像データの1フレーム分の画像データと音声データを読み込み、デコーダ600に送信する。この処理が、図8のステップS800に対応する。
When the
デコーダ600は、メディアアクセス部560から受け取った1フレーム分の画像データと音声データをそれぞれデコードし、デコードした画像データを回転処理部620に供給し、デコードした音声データを音声モード切替え部640に供給する。また、デコーダ600は、動画像データに付加されている付加情報を取り出し、取り出した付加情報を回転情報取得部610に供給する。デコーダ600の処理が、図8のステップS810に対応する。
The
回転情報取得部610は、デコーダ600から受け取った付加情報から回転情報を取り出す。回転情報取得部610の処理が、図8のステップS820に対応する。
The rotation
回転処理部620は、デコーダ600からデコード済み画像データを受け取り、システムコントローラ590から現在の表示設定情報を受け取る。そして、回転処理部620は、表示設定が回転表示しない設定であった場合は、回転処理せずに画像データを表示画面作成部630に送信する。回転表示モードである場合、回転処理部620は、回転情報に応じて画像データを回転し、回転処理した画像データを表示画面作成部630に送信する。本実施例では、回転情報は1度単位で記録されているが、回転処理部620での回転処理は、90度単位で実行される。回転処理部620の処理が、図8のステップS830及びステップS840の部分に対応する。
The
回転処理は、具体的には、上方向を回転角度0度とした場合に右方向の回転角度に応じて、次のように実行される。即ち、0度以上で45度未満のときは、回転処理を行わない。45度以上135度以下のときは、90度左に回転する。135度より大きく225度未満の時は、180度回転する。225度以上315度以下の時は、右に90度回転する。315度より大きい場合は、回転処理を行わない。 Specifically, the rotation process is executed as follows according to the rotation angle in the right direction when the upper direction is set to 0 degree. That is, when the angle is 0 degree or more and less than 45 degrees, the rotation process is not performed. When it is 45 degrees or more and 135 degrees or less, it rotates 90 degrees to the left. When it is greater than 135 degrees and less than 225 degrees, it rotates 180 degrees. When it is 225 degrees or more and 315 degrees or less, it rotates 90 degrees to the right. If it is greater than 315 degrees, the rotation process is not performed.
表示画面作成部630は、画像の上方向を示すために、画像の上方向を示す矢印を画像に重ねて表示する。回転表示モードでは、矢印も再生画像と同様に回転して表示される。また、表示画面作成部630は、回転処理部620で右90度又は左90度に回転処理した場合、回転処理済みの画像データが画面に収まるように画像データを縮小し、縮小した画像を画面中央に配置する。これは、パーソナルコンピュータで表示する場合と異なり、デジタルカメラのモニタ660の画像表示領域が固定サイズであるためである。本実施例では、モニタ660の表示領域のサイズは、640x480ドットであるとする。表示画面作成部630の処理が、図8のステップS850に対応する。
The display
図9は、縮小して画面に収まるように配置される画像例を示す。図9(A)は、回転処理する前の画像データであり、右方向に90度傾いている。画像サイズは640x480ピクセルとする。画像の方向を正しくするために、図9(A)に示す画像を左90度回転処理した画像を図9(B)に示す。図9(B)に示す画像の画像サイズは480x640ピクセルとなる。図9(B)に示す画像の全体を、モニタの表示領域である640x480ドットの領域に表示するために縮小処理して中央に配置した画像を、図9(C)に示す。左右に140x480ピクセルの黒領域を表示し、中央に360x480ピクセルに縮小した画像データを配置する。図9では、左90度回転処理する場合を例示したが、右90度回転処理した場合も同様の処理となる。 FIG. 9 shows an example of an image arranged so as to be reduced and fit on the screen. FIG. 9A shows image data before being rotated, and is tilted 90 degrees to the right. The image size is 640 × 480 pixels. FIG. 9B shows an image obtained by rotating the image shown in FIG. 9A 90 degrees to the left in order to correct the image direction. The image size of the image shown in FIG. 9B is 480 × 640 pixels. FIG. 9C shows an image arranged in the center after being reduced in order to display the entire image shown in FIG. 9B in a 640 × 480 dot area which is a display area of the monitor. A black area of 140 × 480 pixels is displayed on the left and right, and image data reduced to 360 × 480 pixels is arranged in the center. Although FIG. 9 illustrates the case of rotating 90 degrees left, the same processing is performed when rotating 90 degrees to the right.
音声モード切替え部640は、デコーダ600からデコード済み音声データを受け取り、システムコントローラ590から現在の表示設定情報を受け取る。音声データ切替え部640は、回転表示モードでは、回転情報に応じて音声データをモノラル形式に変換し、モノラル化した音声データをD/A変換器650に出力する。本実施例では、上方向を回転角度0度として画像の回転角度が45度以上315度未満だった場合に、音声データをモノラル変換処理を実行するが、それ以外の角度の場合には、モノラル変換処理を行わない。また、非回転表示モードでは、音声モード切替え部640は、入力した音声データをそのままD/A変換器650に供給する。音声モード切替え部640の処理は、図8のステップS860からステップS880の処理に対応する。
The audio
D/A変換器650は、画像データ及び音声データをそれぞれアナログ画像信号及びアナログ音声信号に変換し、画像信号をモニタ660に、音声信号をスピーカ670に供給する。モニタ660は、入力する画像従う画像を表示し、スピーカ670は、入力する音声信号に応じた音声を出力する。これらの処理が、図8のステップS890に対応する。
The D /
図10は、非回転表示モードでの動画像再生表示例であって、回転しながら撮影された動画像を、本実施例の動画像再生装置で再生した場合の表示状態の時間経過を示す。わかりやすいように、画像の上方向を0度とした場合の回転角度を図の右側に付記してある。図10に示すように、時間の経過とともに表示画像が回転し、画像の右下に表示される矢印も回転して表示される。このように回転情報を表示することで、常に再生画像の上方向が示されることとなり、非常にわかりやすくなる。 FIG. 10 shows an example of moving image playback display in the non-rotation display mode, and shows the time lapse of the display state when a moving image shot while rotating is played back by the moving image playback apparatus of this embodiment. For easy understanding, the rotation angle when the upper direction of the image is 0 degree is added to the right side of the figure. As shown in FIG. 10, the display image rotates with the passage of time, and the arrow displayed at the lower right of the image is also rotated and displayed. By displaying the rotation information in this way, the upward direction of the reproduced image is always indicated, which is very easy to understand.
図11は、回転表示モードでの動画像再生表示例を示す。図11は、図10と同じ動画像を、回転表示モードで再生表示した場合の表示状態の時間経過を示す。図10と同様に、画像の上方向を0度とした場合の回転角度を図の右側に付記してある。図11に示すように、画像の天地情報が90度単位で一致するように、時間の経過とともに画像を90度単位で回転処理して表示する。また、画像を回転して表示した場合は、画像の上方向を示す矢印も回転して表示する。図11に示す例では、回転角度が45度以上になった時に画像を左に90度回転して表示している。このように回転情報に応じて画像を90度単位で回転処理して表示することで、再生画像の上方向が著しく不一致になることがなく、見やすい画像となる。 FIG. 11 shows an example of moving image playback display in the rotation display mode. FIG. 11 shows the elapsed time of the display state when the same moving image as FIG. 10 is reproduced and displayed in the rotation display mode. As in FIG. 10, the rotation angle when the upper direction of the image is 0 degree is added to the right side of the figure. As shown in FIG. 11, the image is rotated and displayed in units of 90 degrees as time passes so that the top and bottom information of the images match in units of 90 degrees. When the image is rotated and displayed, an arrow indicating the upward direction of the image is also rotated and displayed. In the example shown in FIG. 11, when the rotation angle becomes 45 degrees or more, the image is rotated 90 degrees to the left and displayed. Thus, by rotating and displaying the image in units of 90 degrees according to the rotation information, the upper direction of the reproduced image does not become significantly inconsistent, and the image is easy to see.
本実施例では、ビデオカメラに備え付けられたモニタに画像を表示する場合を説明したが、TVなどの外部モニタに出力する場合にも、本実施例は適用され得る。また、USB又はIEEE1394を用いたデジタルデータでのストリーミング出力の場合にも適用される。 In the present embodiment, the case where an image is displayed on a monitor provided in the video camera has been described. However, the present embodiment can also be applied to a case where an image is output to an external monitor such as a TV. The present invention is also applied to the case of streaming output with digital data using USB or IEEE1394.
動画像の再生処理中に操作部580を操作して表示モードを変更した場合、操作部580はシステムコントローラ590に表示設定変更命令を送信する。システムコントローラ590は操作部580からの表示設定変更命令に従い、表示モードを切り替える。即ち、現在の表示モードが回転表示モードであれば、非回転表示モードに変更し、現在の表示モードが非回転表示モードであれば、回転表示モードに変更する。これらの処理が、図8のステップS900とステップS910の処理に対応する。
When the display unit is changed by operating the
また動画像再生処理中に操作部580を操作して停止操作が行われた場合、操作部580はシステムコントローラ590に停止指示命令を送信する。システムコントローラ590は停止指示命令に従い、再生処理を終了するためにメディアアクセス部560に再生停止命令を送る。メディアアクセス部560は再生停止命令を取得すると、記録媒体570から動画像データを読み込む処理を終了する。これらの処理が図8のステップS920に対応する。
Further, when a stop operation is performed by operating the
以上の動作を動画像データの最後まで繰り返し行うことで、動画像データが再生表示される。 By repeating the above operation until the end of the moving image data, the moving image data is reproduced and displayed.
次に、記録モードの動作を説明する。カメラ510は、被写体の光学像を電気信号に変換し、その電気信号をA/D変換器530に供給する。マイク520はステレオマイクであり、音声を電気信号に変換してA/D変換器530に供給する。
Next, the operation in the recording mode will be described. The
A/D変換器530は、カメラ510とマイク520から受け取ったアナログ信号をデジタル信号に変換し、デジタル化した画像データと音声データを、エンコーダ550とD/A変換器650の両方に送る。回転情報検出部540は、デジタルカメラの天地情報を示す回転情報を検出し、回転情報をエンコーダ550に送信する。
The A /
エンコーダ550は、デジタル化された画像データと音声データを圧縮し、また、回転情報検出部540から取得した回転情報を付加情報として圧縮画像データに付加する。エンコーダ550は圧縮したデータをメディアアクセス制御部560に供給する。本実施例では、画像データの圧縮形式はMotion JPEG形式であるが、その他の圧縮形式も利用可能である。
The
操作部580により、ユーザは画像の記録及び停止を指示できる。操作部580は、操作に応じた操作指示命令をシステムコントローラ590に送る。例えば、操作部580は、ユーザによって記録操作が行われた場合は、システムコントローラ590に記録指示命令を送信する。また、停止操作が行われた場合には、システムコントローラ590に停止指示命令を送信する。また、記録モードと再生モードの切り替え操作も、操作部580で行える。
The
システムコントローラ590は、操作部580からの指示を受信してメディアアクセス制御部560等を制御する。具体的には、システムコントローラ590は、操作部580から記録指示命令が送られてくると、カメラで撮影している画像を保存するためにメディアアクセス制御部560に画像データの記録開始命令を送る。また、システムコントローラ590は、操作部580から停止指示命令を受信すると、メディアアクセス制御部560に記録停止命令を送る。
The
メディアアクセス制御部560は、システムコントローラ590から画像データの記録開始命令を受け取ると、エンコーダ550からの画像データを記録媒体570に動画像データファイルとして記録する処理を開始する。また、メディアアクセス制御部560は、画像データの記録処理を行っている時に、システムコントローラ590から記録停止命令を受け取ると、記録処理を終了する。
Upon receiving an image data recording start command from the
上記のような構成とすることにより、本実施例では、カメラの向きを変えながら撮影された動画像でも、再生時に自動的に回転処理を行うので、画像をその向きに合わせて再生表示することが可能となる。 With the above configuration, in this embodiment, even a moving image shot while changing the direction of the camera is automatically rotated at the time of playback, so that the image is reproduced and displayed in accordance with the direction. Is possible.
さらに、回転処理を行った場合には必ず固定サイズに収まるように縮小してから表示するので、テレビやデジタルカメラのような固定サイズでしか表示できない場合でも、違和感なく再生が可能となる。 Further, when the rotation process is performed, the image is displayed after being reduced so as to fit in the fixed size, so that even if it can be displayed only in the fixed size such as a television or a digital camera, it can be reproduced without a sense of incongruity.
回転情報に応じて音声モードを切り替えるので、音の左右のバランスが崩れることもなく不自然にならない。 Since the sound mode is switched according to the rotation information, the left / right balance of the sound is not lost and the sound is not unnatural.
特定の説明用の実施例を参照して本発明を説明したが、特許請求の範囲に規定される本発明の技術的範囲を逸脱しないで、上述の実施例に種々の変更・修整を施しうることは、本発明の属する分野の技術者にとって自明であり、このような変更・修整も本発明の技術的範囲に含まれる。 Although the invention has been described with reference to specific illustrative embodiments, various modifications and alterations may be made to the above-described embodiments without departing from the scope of the invention as defined in the claims. This is obvious to an engineer in the field to which the present invention belongs, and such changes and modifications are also included in the technical scope of the present invention.
210:CPU
220:HD
230:メモリ
240:ディスプレイ
245:スピーカ
250:操作部
260:記録媒体ドライブ
270:外部記録媒体
280.:内部バス
510:撮像部(カメラ部)
520:マイク
530:A/D変換器
540:回転情報検出部
550:エンコーダ
560:メディアアクセス制御部
570:記録媒体
580:操作部
590:システムコントローラ
600:デコーダ
610:回転情報取得部
620:回転処理部
630:表示画面作成部
640:音声モード切替え部
650:D/A変換器
660:モニタ
670:ステレオスピーカ
210: CPU
220: HD
230: Memory 240: Display 245: Speaker 250: Operation unit 260: Recording medium drive 270:
520: Microphone 530: A / D converter 540: Rotation information detection unit 550: Encoder 560: Media access control unit 570: Recording medium 580: Operation unit 590: System controller 600: Decoder 610: Rotation information acquisition unit 620: Rotation processing Unit 630: Display screen creation unit 640: Audio mode switching unit 650: D / A converter 660: Monitor 670: Stereo speaker
Claims (12)
前記再生手段により再生された姿勢情報に従い、前記再生手段により再生された動画像データを回転処理する回転処理手段と、
前記回転処理手段により処理された動画像データを表示装置に出力する出力手段
とを具備することを特徴とする動画像再生装置。 Reproducing means for reproducing moving image data and posture information indicating the direction of the vertical direction at a predetermined timing of the moving image related to the moving image data from a recording medium;
Rotation processing means for rotating the moving image data reproduced by the reproduction means according to the posture information reproduced by the reproduction means;
An apparatus for outputting a moving image, comprising: output means for outputting the moving image data processed by the rotation processing means to a display device.
前記変換手段は、前記動画像の幹が所定の角度の範囲であった場合に、前記再生された音声データの出力形式をモノラル形式に変換して出力することを特徴とする請求項10に記載の動画像再生装置。 The audio data is recorded on the recording medium in a stereo format,
11. The conversion unit according to claim 10, wherein when the trunk of the moving image is within a predetermined angle range, the output format of the reproduced audio data is converted into a monaural format and output. Video playback device.
前記出力手段は、前記設定手段により前記回転処理が禁止された場合に、前記動画像の向きを示す回転情報を前記動画像データに多重して出力する
ことを特徴とする請求項2に記載の動画像再生装置。 Furthermore, it comprises setting means for setting whether or not to execute rotation processing by the rotation processing means,
3. The output unit according to claim 2, wherein the output unit multiplexes and outputs the rotation information indicating the direction of the moving image on the moving image data when the rotation process is prohibited by the setting unit. Video playback device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004270175A JP2006086870A (en) | 2004-09-16 | 2004-09-16 | Dynamic image reproducing unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004270175A JP2006086870A (en) | 2004-09-16 | 2004-09-16 | Dynamic image reproducing unit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006086870A true JP2006086870A (en) | 2006-03-30 |
Family
ID=36165000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004270175A Withdrawn JP2006086870A (en) | 2004-09-16 | 2004-09-16 | Dynamic image reproducing unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006086870A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010028198A (en) * | 2008-07-15 | 2010-02-04 | Nikon Corp | Imaging apparatus |
KR101337917B1 (en) | 2006-12-13 | 2013-12-05 | 삼성전자주식회사 | Digital moving picture processing apparatus and method of controlling the same |
WO2014077497A1 (en) | 2012-11-19 | 2014-05-22 | Lg Electronics Inc. | Video display device and method of displaying video |
-
2004
- 2004-09-16 JP JP2004270175A patent/JP2006086870A/en not_active Withdrawn
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101337917B1 (en) | 2006-12-13 | 2013-12-05 | 삼성전자주식회사 | Digital moving picture processing apparatus and method of controlling the same |
JP2010028198A (en) * | 2008-07-15 | 2010-02-04 | Nikon Corp | Imaging apparatus |
WO2014077497A1 (en) | 2012-11-19 | 2014-05-22 | Lg Electronics Inc. | Video display device and method of displaying video |
KR20140064058A (en) * | 2012-11-19 | 2014-05-28 | 엘지전자 주식회사 | Display device for displaying video and method thereof |
EP2920638A4 (en) * | 2012-11-19 | 2016-07-27 | Lg Electronics Inc | Video display device and method of displaying video |
US9462218B2 (en) | 2012-11-19 | 2016-10-04 | Lg Electronics Inc. | Video display device and method of displaying video |
CN104813220B (en) * | 2012-11-19 | 2018-07-06 | Lg电子株式会社 | The method of video display devices and display video |
KR101978214B1 (en) * | 2012-11-19 | 2019-05-14 | 엘지전자 주식회사 | Display device for displaying video and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2294814B1 (en) | Media reproduction for audio visual entertainment | |
WO2011099299A1 (en) | Video extraction device, image capturing apparatus, program, and recording medium | |
KR20050113058A (en) | Method and apparatus for compounding taken image in mobile terminal having camera | |
JP2006295652A (en) | Display processor and display processing method | |
JP6319491B2 (en) | Imaging apparatus and control method | |
JP2009278568A (en) | Image processing device and image processing method | |
JP2006203334A (en) | Image recording apparatus, control method thereof and program | |
JP2007110223A (en) | Image processor, imaging apparatus and image processing method, and computer program | |
JP2009290318A (en) | Image capturing apparatus and zooming adjustment method | |
JP6583458B2 (en) | Imaging apparatus and control method | |
JP2006086870A (en) | Dynamic image reproducing unit | |
JP2013118518A (en) | Imaging apparatus | |
JP2015106843A (en) | Imaging device, imaging control method and program | |
US20170061581A1 (en) | Image processing device that performs image rotation processing, method of controlling the same, and storage medium | |
JP2005328279A (en) | Recording device | |
JP6583457B2 (en) | Imaging apparatus and control method | |
JP6119447B2 (en) | Imaging system and control method | |
JP2005318180A (en) | Hard disk recorder and video recording apparatus | |
JP2011130134A (en) | Imaging apparatus and imaging system | |
CN102591107B (en) | Messaging device and information processing method | |
JP2007324663A (en) | Video camera | |
JP2000299800A (en) | Image pickup method and device and storage medium | |
JP2007124548A (en) | Imaging device | |
JP2005080219A (en) | Image reproducing apparatus | |
JP2005252797A (en) | Digital camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20071204 |