JP7313865B2 - Imaging device and control method - Google Patents
Imaging device and control method Download PDFInfo
- Publication number
- JP7313865B2 JP7313865B2 JP2019068849A JP2019068849A JP7313865B2 JP 7313865 B2 JP7313865 B2 JP 7313865B2 JP 2019068849 A JP2019068849 A JP 2019068849A JP 2019068849 A JP2019068849 A JP 2019068849A JP 7313865 B2 JP7313865 B2 JP 7313865B2
- Authority
- JP
- Japan
- Prior art keywords
- setting
- moving image
- image
- orientation
- record
- 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.)
- Active
Links
Images
Landscapes
- Indication In Cameras, And Counting Of Exposures (AREA)
- Studio Devices (AREA)
Description
本発明は、画像を撮影する際の撮像装置の姿勢情報を記録するか否かを設定可能な撮像装置及び制御方法に関する。 The present invention relates to an image pickup apparatus and a control method capable of setting whether or not to record posture information of the image pickup apparatus when an image is taken.
従来、動画は横長の画角で撮影し、再生するのが一般的であった。近年、スマートフォンなど縦長の画面を持つ携帯端末が普及したことに伴い、動画を縦長の画角で撮影、再生するケースが増えている。縦長の画面を持つ携帯端末での再生を想定した動画を撮影する場合、従来の横長の画角を持つカメラであれば縦位置に構えて動画撮影を行えばよい。このとき、動画ファイルに、縦位置で撮影したことを示す姿勢情報が付加されていないと、携帯端末で再生したときに画面いっぱいの高解像度で動画が表示できないことや画面の天地方向と動画の天地方向が一致せずに縦長画角の動画が横向きに表示されてしまう。静止画で撮影した画像を静止画ファイルに記録する際に、撮影時のカメラの姿勢情報を静止画ファイルに付加することは一般的に行われている。また、動画ファイルにカメラの姿勢情報を付加する方法についても、特許文献1に開示されている。 In the past, moving images were generally shot with a landscape angle of view and played back. In recent years, with the widespread use of mobile terminals having vertically long screens, such as smartphones, there are increasing cases of shooting and playing back videos with a vertically long angle of view. When shooting a moving image intended for playback on a mobile terminal having a vertically long screen, a conventional camera with a horizontally long angle of view can be held in the vertical position to shoot the moving image. At this time, if the orientation information indicating that the video was shot in the vertical position is not added to the video file, the video cannot be displayed in high resolution on the full screen when played back on a mobile terminal, or the vertical direction of the screen does not match the vertical direction of the video, and the video with a vertical angle of view is displayed horizontally. When an image shot as a still image is recorded in a still image file, it is common practice to add information about the orientation of the camera at the time of shooting to the still image file. Japanese Patent Application Laid-Open No. 2002-200001 also discloses a method of adding camera orientation information to a moving image file.
参考文献1では動画ファイルに縦位置や逆さ位置で撮影した場合のカメラの回転状態(姿勢)を示す姿勢情報を付加する方法が示されている。しかしながら、従来の静止画の姿勢情報の付加方法との関係は開示されていない。カメラで検出したカメラの姿勢情報を画像に付加して記録するかしないかの設定を静止画と動画共通にしてしまうと、互いに意図しない姿勢情報が付加されてしまう場合があるという課題がある。 Reference 1 describes a method of adding orientation information indicating the rotational state (orientation) of a camera when shooting in a vertical or upside-down position to a moving image file. However, there is no disclosure of the relationship with the conventional method of adding posture information to a still image. If the setting of whether or not to add the orientation information of the camera detected by the camera to the image and record it is made common to the still image and the moving image, there is a problem that unintended orientation information may be added to each other.
上述の課題を解決するため、本発明の撮像装置は、
撮像部を有する撮像装置であって、撮像装置の姿勢を検出する検出手段と、撮像部により撮影した静止画又は動画を記録媒体に記録するように制御する制御手段と、撮像部により撮影した静止画と共に、検出手段により検出した姿勢に基づく姿勢情報を記録するか否かをユーザ操作に応じて設定するための第1の設定手段と、
撮像部により撮影した動画と共に、検出手段により検出した姿勢に基づく姿勢情報を記録するか否かをユーザ操作に応じて設定するための第2の設定手段と、
を有し、静止画と共に姿勢情報を記録するか否か、及び、静止画を再生する際に姿勢情報に基づいて回転して表示するか否かを第1の設定手段によりユーザ操作に応じて設定可能であるのに対し、動画と共に姿勢情報を記録するか否かを第2の設定手段によりユーザ操作に応じて設定可能であるが、動画を再生する際に姿勢情報に基づいて回転して表示するか否かはユーザ操作に応じて設定不可である、ことを特徴とする。
In order to solve the above problems, the imaging device of the present invention includes:
an imaging device having an imaging unit, the detecting means for detecting the posture of the imaging device; the control means for controlling recording of a still image or moving image taken by the imaging unit on a recording medium;
a second setting means for setting, according to a user operation, whether or not to record posture information based on the posture detected by the detection means together with the moving image captured by the imaging unit;
and whether or not to record the orientation information together with the still image and whether to rotate and display the still image based on the orientation information when reproducing the still image can be set according to the user operation by the first setting means.
本発明により、姿勢情報の記録について、静止画と動画とで個別に設定することが可能となり、静止画と動画とで、それぞれの再生時の目的や環境に合った姿勢情報の記録を設定することができる。 According to the present invention, recording of posture information can be individually set for a still image and a moving image, and recording of the posture information can be set for each of the still image and the moving image according to the purpose and environment at the time of reproduction.
以下、図面を参照して本発明の好適な実施形態を説明する。 Preferred embodiments of the present invention will be described below with reference to the drawings.
図1に本発明の撮像装置の一例としてのカメラ100の外観図を示す。液晶モニタ27は画像や各種情報を表示する表示部である。シャッターボタン61は静止画撮影の指示を行うための操作部である。動画記録ボタン65は動画撮影の開始と終了の指示を行うための操作部である。モード切替スイッチ60は各種モードを切り替えるための操作部である。静止画モードと動画モードを切り替える操作もモード切替スイッチ60により設定する。操作部70はユーザからの各種操作を受け付ける各種スイッチ、ボタン、ダイヤル等の操作部材より成る操作部である。電源スイッチ74は、電源オン、電源オフを切り替えるための押しボタンである。記録媒体200はメモリカードやハードディスク等の記録媒体である。記録媒体200は、カメラ100との通信が可能となり、記録や再生が可能となる。
FIG. 1 shows an external view of a
図2は、本実施形態によるカメラ100の構成例を示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of the
図2において、撮影レンズ103はズームレンズ、フォーカスレンズを含むレンズ群である。シャッター101は絞り機能を備えるシャッターである。撮像部22は光学像を電気信号に変換するCCDやCMOS素子等で構成される撮像素子である。A/D変換器23は、アナログ信号をデジタル信号に変換する。A/D変換器23は、撮像部22から出力されるアナログ信号をデジタル信号に変換するために用いられる。バリア102は、カメラ100の、撮影レンズ103を含む撮像系を覆うことにより、撮影レンズ103、シャッター101、撮像部22を含む撮像系の汚れや破損を防止する。
In FIG. 2, a photographing
画像処理部24は、A/D変換器23からのデータ、又は、メモリ制御部15からのデータに対し所定の画素補間、縮小といったリサイズ処理や色変換処理を行う。また、画像処理部24では、撮像した画像データを用いて所定の演算処理が行われ、得られた演算結果に基づいてシステム制御部50が露光制御、測距制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理が行われる。画像処理部24では更に、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。
The
A/D変換器23からの出力データは、画像処理部24及びメモリ制御部15を介して、或いは、メモリ制御部15を介してメモリ32に直接書き込まれる。メモリ32は、撮像部22によって得られA/D変換器23によりデジタルデータに変換された画像データや、液晶モニタ27に表示するための画像データを格納する。メモリ32は、所定枚数の静止画像や所定時間の動画像および音声を格納するのに十分な記憶容量を備えている。
Output data from the A/
また、メモリ32は画像表示用のメモリ(ビデオメモリ)を兼ねている。D/A変換器13は、メモリ32に格納されている画像表示用のデータをアナログ信号に変換して液晶モニタ27に供給する。こうして、メモリ32に書き込まれた表示用の画像データはD/A変換器13を介して液晶モニタ27により表示される。液晶モニタ27は、LCD等の表示器上に、D/A変換器13からのアナログ信号に応じた表示を行う。A/D変換器23によって一度A/D変換されメモリ32に蓄積されたデジタル信号をD/A変換器13においてアナログ変換し、液晶モニタ27に逐次転送して表示することで、スルー画像表示(ライブビュー表示)を行える。
The
不揮発性メモリ56は、電気的に消去・記録可能な記録媒体としてのメモリであり、例えばEEPROM等が用いられる。不揮発性メモリ56には、システム制御部50の動作用の定数、プログラム等が記憶される。ここでいう、プログラムとは、本実施形態にて後述する各種フローチャートを実行するためのコンピュータプログラムを含む。図4、図7のフローチャートの処理も、不揮発性メモリ56に記録されているプログラムを、システム制御部50が読み出して実行することにより実現される。
The
システム制御部50は、カメラ100全体を制御し、1つ以上のプロセッサから構成される。システム制御部50は、前述した不揮発性メモリ56に記録されたプログラム読み出して、読み出したプリグラムを実行することで、各ブロックを制御し、後述する本実施形態の各処理を実現する。システムメモリ52には、RAMが用いられる。システムメモリ52には、システム制御部50の動作用の定数、変数、不揮発性メモリ56から読み出したプログラム等を展開する。また、システム制御部50はメモリ32、D/A変換器13等を制御することにより表示制御も行う。
A
システムタイマー53は各種制御に用いる時間や、内蔵された時計の時間を計測する計時部である。 A system timer 53 is a timer that measures the time used for various controls and the time of a built-in clock.
モード切替スイッチ60、シャッターボタン61、動画記録ボタン65、操作部70はシステム制御部50に各種の動作指示を入力するための操作手段である。
A
モード切替スイッチ60は、システム制御部50の動作モードを静止画記録モード、動画撮影モード等のいずれかに切り替える。静止画記録モードに含まれるモードとして、オート撮影モード、オートシーン判別モード、マニュアルモード、撮影シーン別の撮影設定となる各種シーンモード、プログラムAEモード、カスタムモード等がある。動画撮影モードに含まれるモードとして、オート撮影モード、マニュアルモード、プログラムAEモード、カスタムモード等がある。第1シャッタースイッチ62は、カメラ100に設けられたシャッターボタン61の操作途中、いわゆる半押し(撮影準備指示)でONとなり第1シャッタースイッチ信号SW1を発生する。第1シャッタースイッチ信号SW1により、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作を開始する。
A
第2シャッタースイッチ64は、シャッターボタン61の操作完了、いわゆる全押し(撮影指示)でONとなり、第2シャッタースイッチ信号SW2を発生する。システム制御部50は、第2シャッタースイッチ信号SW2により、撮像部22からの信号読み出しから記録媒体200に画像データを書き込むまでの一連の撮影処理の動作を開始する。
The
操作部70の各操作部材は、液晶モニタ27等に表示される種々の機能アイコンを選択操作することなどにより、場面ごとに適宜機能が割り当てられ、各種機能ボタンとして作用する。機能ボタンとしては、例えば上下左右の4方向ボタンやSETボタン、コントローラホイール、メニューボタン、電子ダイヤル、終了ボタン、戻るボタン、画像送りボタン、ジャンプボタン、絞込みボタン、属性変更ボタン等がある。例えば、メニューボタンが押されると各種の設定可能なメニュー画面が液晶モニタ27等に表示される。利用者は、液晶モニタ27等に表示されたメニュー画面と、上下左右の4方向ボタンやSETボタンとを用いて直感的に各種設定を行うことができる。
Each operation member of the
電源制御部80は、電池検出回路、DC-DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部80は、その検出結果及びシステム制御部50の指示に基づいてDC-DCコンバータを制御し、必要な電圧を必要な期間、記録媒体200を含む各部へ供給する。
The
電源部30は、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる。記録媒体I/F18は、メモリカードやハードディスク等の記録媒体200とのインターフェースである。記録媒体200は、撮影された画像を記録するためのメモリカード等の記録媒体であり、半導体メモリや光ディスク、磁気ディスク等から構成される。
The
通信部54は、無線または有線ケーブルによって接続し、映像信号や音声信号等の送受信を行う。通信部54は無線LAN(Local Area Network)やインターネットとも接続可能である。通信部54は撮像部22で撮像した画像(スルー画像を含む)や、記録媒体200に記録された画像を送信可能であり、また、外部機器から画像データやその他の各種情報を受信することができる。
The
姿勢検知部55は重力方向に対するカメラ100の姿勢が0度、90度、180度、270度のいずれかであることを検知し、検知した姿勢をシステム制御部50に通知する。システム制御部50は、姿勢検知部55で検知された姿勢に基づいて、撮像部22で撮影された画像が、カメラ100を横に構えて撮影された画像であるか、縦に構えて撮影された画像なのかを判別可能である。システム制御部50は、姿勢検知部55で検知結果の姿勢に応じた向き情報(姿勢情報)を撮像部22で撮像された画像の画像ファイルに付加したり、画像を回転して記録したり、検出した姿勢に応じた向き情報を液晶モニタ27に表示したりすることが可能である。姿勢検知部55としては、加速度センサやジャイロセンサーなどを用いることができる。
The orientation detection unit 55 detects that the orientation of the
カメラ100は、モード切替スイッチ60により静止画撮影モードが設定されている場合は、システム制御部50は、静止画撮影動作を実行する。静止画撮影モードでは、シャッターボタン61が半押し操作されると第1シャッタースイッチ信号SW1が発生し、システム制御部50は、撮影準備処理(AF処理、AE処理、AWB処理、EF処理等)の動作を実行する。そして、シャッターボタン61が全押し操作されると第2シャッタースイッチ信号SW2が発生し、システム制御部50により、静止画撮影処理が実行される。静止画撮影処理では、撮像部22で撮像により得られた信号をA/D変換器23でデジタルデータ(画像データ)に変換し、画像処理部24により静止画用の画像処理を実行して、メモリ32に書き込む。そして、システム制御部50は、メモリに書き込まれた画像データからJPEG等の画像ファイルを生成して、記録媒体I/F18を介して記録媒体200に記録する。シャッターボタン61の全押し操作が継続されると、連写撮影モードとなり、シャッターボタン61の全押しが解除されるまで静止画撮影処理を繰り返し実行して連続的に複数枚の画像(連続画像)を撮影して記録する。
When the
動画撮影モードが設定されている場合は、動画記録ボタン65が操作されて動画撮影開始指示が入力されると、システム制御部50は動画撮影処理を開始する。動画撮影処理は、再び動画記録ボタン65が操作されて動画撮影終了指示が入力されるまで継続される。動画記録ボタン65ではなく他のボタンを用いて動画撮影開始指示、動画撮影終了指示を入力するようにしてもよい。動画撮影処理では、撮像部22で設定されたフレームレートで連続的に撮像を行い、撮像により得られた信号をA/D変換器23でデジタルデータに変換して連続画像、つまり動画データを取得する。取得した動画データに対して画像処理部24により動画用の画像処理を実行して、メモリ32に書き込む。そして、システム制御部50は、メモリに書き込まれた複数の連続画像データ(動画データ)からMPEG等の動画ファイルを生成して、記録媒体I/F18を介して記録媒体200に記録する記録制御を行う。動画ファイルの記録処理では、動画の撮影の完了や動画ファイルの完成を待たずに、動画ファイルを作成して処理が完了した動画データから順次記録し、動画データの記録完了後に動画ファイルとして必要な情報を記録して動画ファイルの記録処理を完了する。
When the
なお、本実施形態のカメラ100は、シャッターボタン61の他に動画記録ボタン65を有しているため、静止画撮影モードが設定されている場合であっても、動画記録ボタン65を操作することにより動画の撮影は可能とする。それに対して、動画撮影モードが設定されている場合は、静止画の撮影は不可能であり、シャッターボタン61が押下されたとしても、静止画の撮影は行わない。あるいは、シャッターボタン61が押下されたことに応じて、動画の撮影を行うようにしてもよい。
Since the
また、撮影モードの設定に関わらず、シャッターボタン61が操作された場合は静止画撮影処理を行い、動画記録ボタン65が操作された場合は動画撮影処理を行うようにしてもよい。
Still image shooting processing may be performed when the
次に、画像に姿勢検知部55により検出したカメラ100の姿勢情報(横位置情報、及び縦位置情報)を付加して記録しない場合と付加して記録した場合、それぞれについて、各装置での画像の表示状態について図3を参照して説明する。図3は、横長の表示画面を持つカメラ100での撮影時、縦長の表示画面を持つ携帯端末での再生時、および、横長の表示画面を持つパソコン画面での再生時のそれぞれについて、画像の表示状態を示している。なお、本実施形態のカメラ100における再生時の画像表示処理については、後に図7を参照して説明する。縦位置情報を付加可能とする設定であるか、付加しない設定であるかに関わらず、カメラ100は、撮影した画像を横長の状態の横長画像を記録するものとする。そして、縦位置情報を付加可能と設定している場合は、横長画像に、カメラを回転せずに撮影した場合は横位置情報を付加し、カメラ100を90度または270度回転して撮影した場合は、縦位置情報を付加するものとする。また、縦位置情報を付加しない設定の場合は、カメラ100の姿勢に関わらず、横位置情報を付加するものとする。
Next, the display state of an image on each device will be described with reference to FIG. FIG. 3 shows the display state of an image when it is captured by the
まず、縦位置情報を画像に付加しない設定でカメラ100を横位置、つまり、カメラ100を回転せずに回転角が0度の状態(301)で撮影した画像を、携帯端末で再生する場合、PC画面で再生する場合について説明する。この場合、画像には横位置情報が記録される。携帯端末を縦にして再生すると、画像は正方向で表示される(302)。ただし、縦長の画面に横長の画像を画像全体が収まるように表示するため、上下に空白領域が設けられて画像の表示領域が小さくなり、画像の表示解像度が低くなる。一方、携帯端末を横にして再生すると、表示画面の天地状態が変わったため、302の状態のときに対して画像が90度回転して表示される(303)。この状態では、画像と携帯端末の天地方向が一致し、表示画面が横長な状態となるため、画像は表示画面いっぱいに表示され、解像度が高く表示される(303)。パソコン画面では通常画面が横向き固定されているため、携帯端末を横にした状態と同じように画像の表示領域がパソコン画面全体となり、大きくなるため、表示解像度が高く表示される(304)。
First, the case where an image captured with the
縦位置情報を画像に付加しない設定でカメラ100を縦位置、つまり、カメラ100を90度又は270度回転した状態(305)で撮影した画像を再生する場合について説明する。画像には横位置情報が記録され、画像の姿勢情報と画像の天地状態が異なった状態となる。携帯端末を縦にして再生すると、縦位置情報を付加されておらず横位置情報が付加されているため、302と同じ状態で画像が表示され、画像の天地状態と携帯端末の天地状態が一致しない状態で表示される(306)。携帯端末を横にして再生した場合も、縦位置情報を付加されておらず横位置情報が付加されているため、303と同じ状態で画像が表示され、画像の天地状態と携帯端末の天地状態が一致しない状態で表示される(307)。パソコン画面で再生する場合も、縦位置情報を付加されておらず横位置情報が付加されているため、304と同じ状態で画像が表示され、画像の天地状態とパソコン画面の天地状態が一致しない状態で表示される(308)。縦位置情報を付加しない設定でカメラを縦位置で撮影する場合は、画像に縦位置情報が付加されず横位置情報が付加されるため、携帯端末やパソコン画面等の再生装置では横位置で撮影した場合と区別することができず、天地状態が一致しない状態で表示されてしまう。そのため、画像を閲覧、視聴しにくくなってしまう。
A case will be described in which an image captured with the
縦位置情報を付加可能に設定してカメラ100を横位置、つまり、カメラ100を回転せずに回転角が0度の状態(309)で撮影した画像を再生する場合について説明する。この場合、画像には横位置情報が付加される。携帯端末を縦にして再生すると、カメラ100を回転しない状態で撮影された画像で、横位置情報が記録されているため、302と同じ状態で画像が表示され、画像の天地状態と携帯端末の天地状態が一致した状態で表示される(310)。携帯端末を横にして再生すると、カメラ100を回転しない状態で撮影された画像のため、横位置情報が記録されているため、303と同じ状態で画像が表示され、画像の天地状態と携帯端末の天地状態が一致した状態で表示される(311)。パソコン画面で再生するときも、カメラ100を回転しない状態で撮影された画像で、横位置情報が記録されているため、304と同じ状態で画像が表示され、画像の天地状態とパソコン画面の天地状態が一致した状態で表示される(312)。
A case will be described where vertical position information can be added and an image captured with the
縦位置情報を付加可能に設定してカメラ100を縦位置、つまり、カメラ100を90度又は270度回転した状態(313)で撮影し、縦位置情報を付加した画像を再生する場合について説明する。この場合、画像には縦位置情報が付加される。携帯端末を縦にして再生すると、画像に縦位置情報が付加して記録されているため、画像と携帯端末の天地方向を一致させるために、縦位置情報に応じて画像は回転して表示される(314)。画像を回転することにより、画像と携帯端末の天地方向が一致するだけでなく、表示画面も回転後の画像も縦長の状態となるため、画像は表示画面いっぱいに表示され、解像度高く表示される。携帯端末を横にして再生すると、画像と携帯端末の天地方向は一致させた状態で表示される(315)。この場合、表示画面と画像の長辺方向が異なるので、解像度が低く表示される。パソコン画面では、縦位置情報に応じて回転して画像が表示される(316)。画像とパソコン画面の天地方向は一致しているが、画像とパソコン画面の長辺方向が異なっているため、解像度が低く表示される。
A case will be described in which the addition of vertical position information is enabled, the
ここで説明した表示方法は一例であり、画像再生のソフトウェアの仕様や再生装置のハードウェアの仕様により動作が異なる場合がある。307で示すケースでは、携帯端末の姿勢検知を無効にすることができれば、端末自体を回転させることによって314のように正方向で解像度高く画像を閲覧することができる。ただし、通常、携帯端末の姿勢検知は有効になっており画像を再生する毎に姿勢検知を無効に切り換えるのは煩わしい。 The display method described here is just an example, and the operation may differ depending on the specifications of the image reproduction software and the hardware specifications of the reproduction apparatus. In the case indicated by 307, if the attitude detection of the mobile terminal can be disabled, by rotating the terminal itself, an image can be viewed in the positive direction with high resolution as indicated by 314. FIG. However, orientation detection of a mobile terminal is normally enabled, and it is troublesome to disable orientation detection each time an image is reproduced.
また、静止画再生ソフトは画像の縦横情報に対応して画像を回転させて表示するものが多いが動画再生プレイヤーは縦長の画像に対応していないこともあり、ユーザの再生装置の環境により画像へ縦位置情報を付加する必要性が異なる。さらに、撮影した静止画をパソコンなどに取り込み、一括で画像処理を実行する場合など画像が回転していないほうが処理しやすくなるケースもあり、撮影画像の使用目的によっても縦位置情報の必要性が異なってくる。なお、画像再生時にファイル個別に縦位置情報を書き換えすることができれば、撮影した画像の用途が変わった場合に対応することができる。 Still image playback software often rotates and displays images according to the vertical and horizontal information of the image, but video playback players do not support vertically long images, and the need to add vertical position information to images varies depending on the environment of the user's playback device. Furthermore, there are cases in which it is easier to process still images if they are not rotated, such as when capturing still images into a computer and executing image processing all at once. Note that if the vertical position information can be rewritten for each file at the time of image reproduction, it is possible to cope with the case where the use of the photographed image changes.
以上、説明してきたようにユーザごとに、画像再生の用途や環境の違いがあるため、静止画ファイルと動画ファイルに縦位置情報を個別に設定できることが望まれる。 As described above, each user has a different image reproduction purpose and environment. Therefore, it is desirable to be able to set vertical position information separately for still image files and moving image files.
そのため、本実施形態のカメラ100では、画像に対してカメラ100で検出した縦位置情報(姿勢情報)を付加して記録するかを、静止画と動画とでそれぞれ個別に設定できるようにしている。
Therefore, in the
縦位置情報(姿勢情報)を付加するかの設定について、図5を参照して説明する。図5は設定画面の表示例である。 The setting of whether to add vertical position information (orientation information) will be described with reference to FIG. FIG. 5 is a display example of the setting screen.
システム制御部50は、ユーザにより、操作部70のメニューボタンが押されたことを判定すると、図5(1)のメニューのトップ画面を液晶モニタ27に表示する。図5(1)のように、メニュートップ画面では静止画縦位置情報の付加の設定項目と動画縦位置情報の付加の設定項目が選択できる。メニュートップ画面において、上下ボタンを操作することにより設定項目の選択を変更でき、セットボタンが操作されると、設定項目の選択を決定することができる。通常は他のカメラ設定項目も設定可能であるが本実施例では縦位置情報の付加処理の説明に関係のない項目は省略する。
When the
メニュートップ画面において静止画縦位置情報の付加の設定項目が選択され決定されると、システム制御部50は、図5(2)の静止画縦位置情報付加設定画面を液晶モニタ27に表示する。静止画縦位置情報付加設定画面では、静止画に縦位置情報を付加可能とするかしないかを、静止画姿勢情報記録設定として設定可能である。また、同時に縦位置情報を付加した画像をカメラで再生するときに回転させて表示するかしないかの回転表示設定も設定することができる。回転表示設定は、静止画姿勢情報付加設定で縦位置情報を付加可能とすることが設定されたときのみ、回転表示をすることが設定できるようにするとよい。静止画縦位置情報付加設定画面で設定された静止画姿勢情報記録設定、及び、回転表示設定の各設定は、不揮発性メモリ56に記憶される。
When the setting item for addition of still image vertical position information is selected and determined on the menu top screen, the
メニュートップ画面において動画縦位置情報の付加の設定項目が選択され決定されると、システム制御部50は、図5(3)の動画縦位置情報付加設定画面を液晶モニタ27に表示する。動画縦位置情報付加設定画面では、動画に縦位置情報を付加可能とするか付加しないかを、動画姿勢情報記録設定として設定可能である。動画縦位置情報付加設定画面で設定された動画姿勢情報記録設定の設定は、不揮発性メモリ56に記憶される。
When the setting item for addition of moving image vertical position information is selected and determined on the menu top screen, the
このように、本実施形態のカメラ100では、画像撮影時のカメラ100の姿勢が縦位置となった場合に、縦位置であることを示す姿勢情報を画像と共に記録するかの設定を、静止画、動画それぞれについて個別に設定可能にしている。
As described above, in the
図5(2)、図5(3)は、静止画姿勢情報記録設定と動画姿勢情報記録設定を行うための設定画面の一例であり、静止画、動画それぞれについて姿勢情報として縦位置情報を記録可能とするかを個別に設定可能であれば、これに限定されない。 FIGS. 5(2) and 5(3) are examples of setting screens for setting still image orientation information recording settings and moving image orientation information recording settings, and are not limited to these as long as it is possible to individually set whether or not vertical position information can be recorded as orientation information for each of a still image and a moving image.
図6を参照して、静止画姿勢情報記録設定と動画姿勢情報記録設定のための設定画面の変形例を説明する。 A modification of the setting screen for the still image orientation information recording setting and the moving image orientation information recording setting will be described with reference to FIG.
図6(1)は、メニューボタンが操作されたことに応じて、システム制御部50が液晶モニタに表示するメニュー画面である。メニュー画面には、撮影に関する設定タブ601と、再生に関する設定タブ602と、カメラの機能に関する設定タブ603が表示されており、操作部70の十字キーを操作して、タブ601~603を選択すると、それぞれのタブに応じた設定項目が表示される。図6(1)は、カメラの機能に関する設定タブ603が選択された状態を示している。カメラの機能に関する設定においては、静止画姿勢情報記録設定のための設定項目601、動画姿勢情報記録設定のための設定項目602だけでなく、設定項目1~設定項目3(603~605)等の他の設定項目の設定も可能である。600はカーソルであり、現在選択されている設定項目を示している。図6(1)では、設定項目2(604)が選択されている状態である。上下ボタンへの操作があると、システム制御部50は、カーソル600を移動して表示させ、SETボタンへの操作があると、システム制御部50は、選択中の設定項目の設定のための画面を表示する。静止画姿勢情報記録設定のための設定項目601には、「縦位置画像回転表示」という文字列が表示されており、動画姿勢情報記録設定のための設定項目60には、「縦位置情報の付加」という文字列と、動画を示すアイコンとが表示されている。
FIG. 6(1) shows a menu screen displayed on the liquid crystal monitor by the
静止画姿勢情報記録設定のための設定項目601が選択された状態でセットボタンが押下されると、システム制御部50は、図6(2)のような静止画用縦位置情報設定画面を表示する。また、動画姿勢情報記録設定のための設定項目602が選択された状態でセットボタンが押下されると、システム制御部50は、図6(3)のような動画用縦位置情報設定画面を表示する。
When the set button is pressed while the
静止画用縦位置情報設定画面では、図6(2)のように、選択肢群として、3つの選択肢が表示される。なお、静止画用縦位置情報設定画面では、静止画に撮影時に検出した姿勢情報記録するかしないかの静止画姿勢情報記録設定だけでなく、画像をカメラ100で再生するときに姿勢情報に基づいて回転させて表示するかしないかの回転表示設定も設定される。ここで、静止画に撮影時に検出した姿勢情報記録する設定とは、撮影時のカメラの姿勢が記録されることになるため、縦位置情報を付加可能とする設定である。また、撮影時に検出した姿勢情報記録しない設定とは、カメラの姿勢に関わらず横位置を示す姿勢情報が記録されることになるため、縦位置情報を付加しない設定である。
On the still image vertical position information setting screen, three options are displayed as an option group, as shown in FIG. 6(2). In addition, on the still image vertical position information setting screen, not only the still image orientation information recording setting indicating whether or not to record the orientation information detected at the time of photographing of the still image but also the rotation display setting indicating whether or not to rotate and display the image based on the orientation information when the image is reproduced by the
1つ目の選択肢611は、回転表示設定として、再生時に画像を回転して表示することを設定し、かつ、静止画姿勢情報記録設定として、撮影時に検出した姿勢情報を記録することを設定するための選択肢である。選択肢611には、回転表示をすることを示す「する」という文字列と、カメラを示すアイコンと、PCを示すアイコンとを表示する。本実施形態では、PCを示すアイコンとしたが、カメラ以外の再生装置であれば他の装置を示すアイコンでもよい。ここのような表示を行うことにより、カメラ100において姿勢情報に基づく回転表示が行われること、他の再生装置においても姿勢情報に基づく回転表示が行われるようにするために、姿勢情報を記録することが分かる。
The
2つ目の選択肢612は、回転表示設定として、再生時に画像を回転して表示しないことを設定し、かつ、静止画姿勢情報記録設定として、撮影時に検出した姿勢情報を記録することを設定するための選択肢である。選択肢612には、選択肢611と同様に「する」という文字列と、PCのアイコンを表示するが、カメラのアイコンは表示しない。このような表示を行うことにより、カメラ100においては、再生時に姿勢情報に基づく回転表示は行わないこと、かつ、PC等では、勢情報に基づく回転表示は行われる、つまり、撮影時に検出した姿勢情報自体は画像と共に記録されることが分かる。
A
3つ目の選択肢613は、回転表示設定として、再生時に画像を回転して表示しないことを設定し、かつ、静止画姿勢情報記録設定として、撮影時に検出した姿勢情報を記録しないことを設定するための選択肢である。選択肢613では、再生時に姿勢情報に基づく回転表示をしないことを示す「しない」という文字列が表示される。これにより、カメラ100において再生時に姿勢情報に基づく回転表示を行わないこと、また、PC等でも、姿勢情報に基づく回転表示を行わない、つまり、撮影時の姿勢情報を記録しないこと、が分かる。
A
このように選択肢群を表示することで、回転表示設定と静止画姿勢情報記録設定の2つの設定値を1つの選択肢で設定することや、それぞれの選択肢でどのような設定値が設定されるのかを大きな表示領域を使用せずに分かりやすく表示することができる。 By displaying the option group in this way, it is possible to set two setting values of rotation display setting and still image attitude information recording setting with one option, and to display what kind of setting value is set by each option in an easy-to-understand manner without using a large display area.
614はカーソルで、現在選択されている選択肢を示している。上下ボタンの操作に応じて、システム制御部50はカーソル614を移動させる。セットボタンが操作されると、システム制御部50は、現在選択されている選択肢に対応する静止画姿勢情報記録設定、回転表示設定を不揮発性メモリ56に記憶し、静止画用縦位置情報設定画面を終了する。
A
動画用縦位置情報設定画面では、図6(3)のように、選択肢群として、2つの選択肢が表示される。なお、動画用縦位置情報設定画面では、動画に撮影時に検出した姿勢情報を記録するかしないかの動画姿勢情報記録設定が設定される。つまり、動画用縦位置情報設定画面では、回転表示設定は設定しない。ここで、動画に撮影時に検出した姿勢情報記録する設定とは、撮影時のカメラの姿勢が記録されることになるため、縦位置情報を付加可能とする設定である。また、動画に撮影時に検出した姿勢情報記録しない設定とは、カメラの姿勢に関わらず横位置を示す姿勢情報が記録されることになるため、縦位置情報を付加しない設定である。 On the video vertical position information setting screen, two options are displayed as an option group, as shown in FIG. 6(3). On the moving image vertical position information setting screen, a moving image orientation information recording setting is set as to whether or not to record the orientation information detected at the time of shooting the moving image. In other words, the rotation display setting is not set on the video vertical position information setting screen. Here, the setting for recording the orientation information detected at the time of shooting in the moving image is a setting that enables the addition of vertical position information because the orientation of the camera at the time of shooting is recorded. Also, the setting of not recording orientation information detected at the time of shooting a moving image is a setting that does not add vertical position information because orientation information indicating the horizontal position is recorded regardless of the orientation of the camera.
1つ目の選択肢621は、動画において撮影時に検出したカメラ100の姿勢情報を記録することを設定するための選択肢であり、姿勢情報を記録することを示す「する」という文字列が表示される。
The
2つ目の選択肢622は、動画において撮影時に検出したカメラ100の姿勢情報を記録しないことを設定するための選択肢であり、姿勢情報を記録しないことを示す「しない」という文字列が表示される。
The
623はカーソルで、現在選択されている選択肢を示している。上下ボタンの操作に応じて、システム制御部50はカーソル623を移動させる。セットボタンが操作されると、システム制御部50は、現在選択されている選択肢に対応する動画姿勢情報記録設定を不揮発性メモリ56に記憶し、動画用縦位置情報設定画面を終了する。
A
以上、図6を参照して静止画用縦位置情報設定画面と動画用縦位置情報設定画面の変形例を説明した。上記の変形例では、静止画姿勢情報記録設定の設定項目と、動画姿勢情報記録設定の設定項目を、メニュー画面の、カメラの機能に関する設定タブ603が選択された場合に表示されるものとしたが、撮影に関する設定タブ601が選択された場合に表示するようにしてもよい。撮影に関する設定タブ601の選択で表示する場合、カメラの撮影モードに応じて、静止画姿勢情報記録設定の設定項目と、動画姿勢情報記録設定の設定項目を表示するか否かを切り替えるようにしてもよい。例えば、静止画撮影モードの場合は、静止画姿勢情報記録設定の設定項目を表示して動画姿勢情報記録設定の設定項目を非表示とし、動画撮影モードの場合は、動画姿勢情報記録設定の設定項目を表示し、静止画姿勢情報記録設定の設定項目を非表示にしてもよい。あるいは、静止画撮影モードにおいても動画撮影ボタン65により動画撮影が可能であれば、静止画撮影モードの場合には静止画姿勢情報記録設定の設定項目と動画姿勢情報記録設定の設定項目の両方を表示する。そして、動画撮影モードの場合は、動画姿勢情報記録設定の設定項目を表示し、静止画姿勢情報記録設定の設定項目は表示しないようにしてもよい。
The modified examples of the vertical position information setting screen for still images and the vertical position information setting screen for moving images have been described above with reference to FIG. In the above modified example, the setting items for the still image orientation information recording setting and the setting items for the moving image orientation information recording setting are displayed when the
次に、図4のフローチャートを用いてカメラ100における撮影モード時の処理について説明する。なお、図4のフローチャートの処理は、システム制御部50が、不揮発性メモリ56に記録されているプログラムを読み出して、プログラムに基づいて各部の制御や演算処理を行うことにより実行される。
Next, processing in the shooting mode of the
まず、S401において、システム制御部50は、姿勢検知部55の出力結果、つまり、姿勢検知部55が検出したカメラ100の姿勢を取得する。
First, in S<b>401 , the
次に、S402において、システム制御部50は、静止画撮影のためにユーザによりシャッターボタン61が押されたか否かの判定を行う。シャッターボタンが押されたと判定された場合は、S403に進み、シャッターボタンが操作されていない場合は、S407へ進む。
Next, in S402, the
S403では、システム制御部50は、静止画撮影処理を実行する。静止画撮影処理では、撮像部22で撮像により得られた信号をA/D変換器23でデジタルデータ(画像データ)に変換し、画像処理部24により静止画用の画像処理を実行して、メモリ32に書き込む。そして、システム制御部50は、メモリに書き込まれた画像データからJPEG等の画像ファイルを生成する。
In S403, the
次に、S404において、システム制御部50は、不揮発性メモリ56に記憶されている静止画姿勢情報記録設定の設定値を読み出す。この設定値は、前に説明したように、設定画面においてユーザに設定された設定値である。静止画姿勢情報記録設定として撮影時に検出したカメラの姿勢情報を記録すること、つまり、静止画に縦位置情報を付加可能であることが設定されている場合は、S405に進む。そして、撮影時に検出したカメラの姿勢情報を記録しない、つまり、縦位置情報を付加しないことが設定されている場合は、S406に進む。
Next, in S<b>404 , the
S405では、システム制御部50は、S401で姿勢検知部55により検出された角度(0度、90度、180度、270度のいずれか)を示す姿勢情報を静止画ファイルのメタデータとして付加する。そして、姿勢情報が付加された静止画ファイルを記録媒体200に記録する。なお、S405において静止画ファイルに付加される姿勢情報は、静止画撮影の直前に姿勢検知部55により検出されたものであるため、静止画撮影時のカメラ100姿勢である。静止画撮影の指示の直後に姿勢検知部55によりカメラ100の姿勢を検出し、姿勢情報を記録するようにしてもよい。本実施形態では、姿勢情報として、0度、90度、180度、270度のいずれかを示す情報を記録するものとしたが、姿勢検知部55によりにより検出した0度~360度の角度情報を姿勢情報として記録するようにしてもよい。このように、S405では、カメラ100が、90度、または、270度回転した姿勢であることを示す、縦位置情報を、静止画ファイルに付加して記録可能としている。そして、S418に進む。
In S405, the
S406では、システム制御部50は、静止画姿勢情報記録設定として撮影時に検出した姿勢情報を記録しないことが設定されているので、S401で検出した姿勢の姿勢情報を静止画ファイルのメタデータに付加しない。その代わり、S401で検出した姿勢に関わらず、0度を示す情報(横位置情報)を静止画ファイルに付加する。そして、静止画ファイルを記録媒体200に記録する。つまり、カメラの姿勢が縦位置であることを示す縦位置情報は静止画ファイルに付加されないことになる。その後、S418に進む。
In S406, the
S407では、システム制御部50は、動画記録ボタン65が押されたか、つまり、動画記録開始指示が入力されたか否かの判定を行う。動画記録開始ボタンが押された場合は、S408に進み、動画記録開始ボタンが押されていない場合は、S418に進む。
In S407, the
S408では、システム制御部50は、不揮発性メモリ56に記憶されている動画姿勢情報記録設定の設定値を読み出し、動画姿勢情報記録設定として撮影時に検出した姿勢情報を記録する設定がされているか否かを判定する。撮影時に検出した姿勢情報を記録する、つまり、縦位置情報を付加可能であることが設定されている場合はS409に進む。そして、撮影時に検出した姿勢情報を記録しない、つまり、縦位置情報を付加しないことが設定されている場合はS411へ進む。
In S408, the
S409では、システム制御部50は、現在の動画の撮影モード/記録モードが、チャプタ―情報ありの動画ファイルとして動画を記録するモードであるかを判定する。チャプター情報ありの動画を記録すると判定された場合は、S410に進み、チャプタ―情報なしの動画を記録すると判定された場合は、S411に進む。
In S409, the
S410では、システム制御部50は、S401で姿勢検知部55が検出したカメラ100の姿勢(0度、90度、180度、270度の角度のうちの何れか)を、これから撮影して記録する動画の姿勢情報として設定し、メモリ32に記録する。S401で検出した姿勢は、動画撮影直前のカメラの姿勢となるため、動画撮影開始時(動画データの記録開始時)のカメラ100の姿勢である。動画撮影開始の指示の直後に姿勢検知部55によりカメラ100の姿勢を検出し、姿勢情報を設定するようにしてもよい。
In S410, the
S411では、システム制御部は、回転角度が0度を示す姿勢情報をこれから撮影して記録する動画の姿勢情報として設定し、メモリ32に記録する。S411では、検出したカメラの姿勢に応じた姿勢情報を記録しない、つまり、縦位置情報を記録しないようにするため、S401で姿勢検知部55が検出したカメラ100の姿勢に関わらず、0度を示す姿勢情報(横位置情報)が設定される。
In S<b>411 , the system control unit sets posture information indicating a rotation angle of 0 degrees as posture information of a moving image to be shot and recorded from now on, and records it in the
ここで、チャプター情報を持つ動画とは、複数回の撮影開始指示で撮影された複数の異なる動画を連続して再生する目的で記録される動画であり、複数の動画ファイルに互いの関連情報を持っている。それぞれの動画ファイルが関連性を持っており、各動画ファイルの動画データが一連の動画のチャプターとして構成されるものである。チャプター情報を持つ動画として、本実施例では、4秒程度の短時間の動画を撮影するスナップショット動画モードや、静止画撮影を行うと同時に短時間の動画記録を行う撮影モードで撮影された動画等がある。これらの動画は連続して再生することが前提のため、チャプターごとに動画の姿勢情報が異なると動画の再生中に縦横の画面比が切り換わってしまい視聴しにくくなってしまう。この視聴のしにくさを避けるために、本実施形態においては、チャプター情報を持つ動画ファイルには検出したカメラの姿勢に応じた姿勢情報を記録しないようにしている。つまり、動画撮影時にカメラ100の姿勢が縦位置であったとしても、縦位置を示す姿勢情報を付加せずに、横位置であることを示す姿勢情報を付加するようにする。
Here, a moving image having chapter information is a moving image that is recorded for the purpose of continuously playing back a plurality of different moving images shot by a plurality of shooting start instructions, and the plurality of moving image files have mutual related information. Each moving image file is related, and the moving image data of each moving image file is configured as a series of chapters of moving images. In the present embodiment, moving images having chapter information include a snapshot moving image mode in which a short moving image of about 4 seconds is shot, and a moving image shot in a shooting mode in which a short moving image is recorded while shooting a still image. Since these videos are assumed to be played continuously, if the orientation information of the videos differs for each chapter, the aspect ratio will change during playback of the videos, making it difficult to watch. In order to avoid this difficulty in viewing, in the present embodiment, posture information corresponding to the detected camera posture is not recorded in a moving image file having chapter information. In other words, even if the orientation of the
S412において、システム制御部50は、動画記録処理を実行するように制御する。動画記録処理では、撮像部22で設定されたフレームレートで連続的に撮像を行い、撮像により得られた信号をA/D変換器23でデジタルデータに変換して連続画像、つまり動画データを取得する。取得した動画データに対して画像処理部24により動画用の画像処理及び圧縮符号化処理を実行して、複数の連続画像データ(動画データ)をメモリ32に書き込む。そして、システム制御部50は、メモリ32に書き込まれた複数の連続画像データ(動画データ)をMPEG等の動画ファイルとして、記録媒体I/F18を介して記録媒体200に記録する記録制御を行う。
In S412, the
S413では、システム制御部は、再度動画記録ボタン65がユーザに操作されて、動画記録終了指示が入力されたかを判定する。動画記録終了指示が入力されたと判定された場合はS414に進み、動画記録終了指示が入力されていない場合はS415に進む。
In S413, the system control unit determines whether the moving
S414では、システム制御部は、動画記録処理を停止し、メモリ32に書き込まれた動画データの記録媒体200への記録を完了させて動画記録開始指示から動画記録終了指示までに撮影して得られた動画データを、動画ファイルとして記録媒体200に記録する。そして、S414では、メモリ32に設定されている姿勢情報を読み出し、メモリ32から読み出した姿勢情報を動画ファイルのメタデータとして記録する。つまり、S410またはS411で設定された姿勢情報、あるいは、ファイル分割処理を行った場合にS417で設定された姿勢情報を、動画ファイルのメタデータに付加して、動画ファイルを記録媒体200に記録する。S410で姿勢情報が設定されている場合は、動画の撮影開始時に検出されたカメラの姿勢情報が動画ファイルに付加されるため、縦位置情報を付加可能となる。S411で姿勢情報が設定されている場合は、カメラの姿勢に関わらず、回転していないことを示す0度の横位置情報が動画ファイルの姿勢情報として記録されるため、縦位置情報は記録されないことになる。S417で設定される姿勢情報については、後に説明する。
In S414, the system control unit stops the moving image recording process, completes the recording of the moving image data written in the
S415では、動画記録処理中に、ファイル分割条件が満たされて、ファイル分割処理が発生するか否かを判定する。ファイルフォーマットの制約によっては1つのファイルサイズの上限が決まっている場合がある。そのため、動画記録中にファイルサイズの上限に達した場合はファイル分割処理を行いさせて、別の新たな動画ファイルに続きの動画データを記録し続けるファイル分割処理を行う。ファイル分割処理を行う場合は、S416に進み、ファイル分割処理を行わない場合は、S412へ戻り、動画記録処理を継続する。 In S415, it is determined whether or not the file division condition is satisfied during the moving image recording process and the file division process occurs. The upper limit of the size of one file may be determined depending on the restrictions of the file format. Therefore, when the file size reaches the upper limit during moving image recording, file division processing is performed, and file division processing is performed to continue recording subsequent moving image data in another new moving image file. If the file splitting process is to be performed, the process proceeds to S416, and if the file splitting process is not to be performed, the process returns to S412 to continue the moving image recording process.
S416では、システム制御部50は、ファイル分割処理を実行し、これまでメモリ32に記録されている動画データを動画ファイルとして記録し、動画ファイルをクローズする。このとき、システム制御部50は、S414と同様に、メモリ32に設定されている姿勢情報を読み出し、メモリ32から読み出した姿勢情報を動画ファイルのメタデータとして記録する。つまり、動画ファイルのメタデータとして、S410またはS411で設定された姿勢情報、あるいは、既に前にもファイル分割処理が行われている場合は、S417でファイル分割処理を行った場合に設定された姿勢情報が記録される。ファイル分割処理により、ファイル分割される前の動画ファイル(つまり、撮影開始時の動画データが含まれる動画ファイル)には、通常のファイル分割をしない場合と同様に、姿勢情報が記録される。
In S416, the
S417では、システム制御部50は、ファイル分割処理により別の新たな動画ファイルを生成し、以降は、S412の動画記録処理においては、新たに生成した分割後の動画ファイルに動画データが記録する。そして、分割後の動画ファイルには、分割前の動画ファイルと同じ姿勢情報が記録されるように設定する。分割前の動画ファイルには、メモリ32に設定されている姿勢情報が記録されるので、メモリ32の姿勢情報の設定を変更せずに次回の動画ファイルの記録終了時にも、同じ姿勢情報が記録されるようにする。そして、S412に進み、新たに作成した分割後の動画ファイルへの動画記録処理を実行する。
In S417, the
このように、動画ファイルを記録する場合は、動画姿勢情報記録設定や、チャプター情報がある動画の記録であるか否か、ファイル分割処理を行うか否かに応じて、姿勢情報の記録方法を切り替えている。 In this way, when recording a moving image file, the recording method of the attitude information is switched according to the moving image attitude information recording setting, whether or not the recording is for a moving image with chapter information, and whether or not file division processing is to be performed.
動画姿勢情報記録設定においてカメラで検出した姿勢情報を記録すると設定されている場合は、動画撮影時に検出した姿勢情報を動画ファイルに記録している。ただし、チャプター情報ありの動画ファイルの場合、複数の動画ファイルを連続再生することを目的としているため、検出した姿勢情報ではなく、カメラを回転していないことを示す特定の姿勢情報(本実施形態では0度を示す情報)を記録するようにしている。そして、通常は、動画ファイルに記録される動画データを撮影開始した時に検出したカメラの姿勢情報を記録する。しかし、ファイル分割処理を行って、新たな動画ファイルを分割後の動画ファイルとして生成して、続きの動画データを記録する場合は、分割後の動画ファイルには、分割前の動画ファイルに記録された姿勢情報と同じ姿勢情報を記録するようにする。つまり、ファイル分割処理により生成された2番目以降の動画ファイルには最初のファイルと同じ姿勢情報を引き継いて記録する。これも、分割された複数の動画ファイルを連続再生する際に、動画再生中に縦横の画面比が切り換わるのを避けるためである。 If the orientation information detected by the camera is set to be recorded in the movie orientation information recording settings, the orientation information detected during movie shooting is recorded in the movie file. However, in the case of a moving image file with chapter information, since the purpose is to continuously reproduce a plurality of moving image files, specific attitude information indicating that the camera is not rotated (in this embodiment, information indicating 0 degrees) is recorded instead of the detected attitude information. Ordinarily, the posture information of the camera detected when the moving image data recorded in the moving image file is started is recorded. However, when file division processing is performed to generate a new moving image file as a divided moving image file, and the continuation moving image data is recorded, the same attitude information as that recorded in the moving image file before division is recorded in the divided moving image file. That is, the second and subsequent moving image files generated by the file division process take over and record the same posture information as the first file. This is also to avoid switching the aspect ratio during playback of a plurality of divided moving image files.
S418では、システム制御部50は、操作部70が操作され、撮影モードが終了する操作が行われたか否かを判定する。システム制御部50は、撮影モードが終了の操作があった場合は、本処理を終了し、撮影モードが終了の操作がない場合は、S401に戻り、処理を繰り返す。
In S418, the
以上が、撮影モードにおける処理である。 The above is the processing in the shooting mode.
次に、図7を参照してカメラ100における再生モードでの画像表示処理について説明する。
Next, image display processing in the playback mode in
図7は、再生モードにおける画像表示処理を示すフローチャートである。このフローチャートの処理は、システム制御部50が、不揮発性メモリ56に記録されているプログラムを読み出して、プログラムに基づいて各部の制御や演算処理を行うことにより実行される。
FIG. 7 is a flowchart showing image display processing in playback mode. The processing of this flowchart is executed by the
まず、S701において、システム制御部50は、記録媒体200から、表示対象となる画像ファイルを読み出す。表示対象として読みだす画像ファイルは、最新の画像ファイルから1つずつ順に読みだす。
First, in S<b>701 , the
次に、S702において、システム制御部50は、S701で読みだした表示対象の画像ファイルが、静止画ファイルであるか、動画ファイルであるかを判定する。システム制御部50は、画像ファイルの拡張子やメタデータから、表示対象の画像ファイルが、静止画ファイルであるか動画ファイルであるかを判定する。静止画ファイルと判定される場合は、S703に進み、静止画ファイルではなく、動画ファイルである場合は、S706に進む。
Next, in S702, the
S703では、システム制御部50は、不揮発性メモリ56から、再生するときに回転させて表示するかしないかを示す回転表示の設定値を読み出し、回転表示することが設定されている場合はS704に進み、回転表示しないことが設定されている場合は、S706に進む。
In S703, the
次に、S704では、システム制御部50は、S701で読みだした表示対象の静止画ファイルのメタデータから、姿勢情報(縦位置情報)を読み出し、読み出した姿勢情報が0度であるかを判定する。姿勢情報が0度でない場合は、S705に進み、姿勢情報が0度の場合、または、姿勢情報が記録されていない場合は、S706に進む。
Next, in S704, the
S705では、システム制御部は、S701で読み出した画像ファイルの画像データを、その画像ファイルのメタデータの姿勢情報に記録されている角度に応じて回転して、液晶モニタ27に表示する。画像を回転して表示する際には、回転した画像全体が表示画面に収まるように表示する。つまり、画像の左右に空白領域を付加して表示する。空白領域は、黒色で表示してもよいし、白色で表示してもよいし、画像に応じて決定された色で表示してもよい。そして、S707に進む。
In S705, the system control unit rotates the image data of the image file read out in S701 according to the angle recorded in the orientation information of the metadata of the image file and displays it on the
S706では、システム制御部50は、S701で読みだした画像ファイルの画像データを回転せずに液晶モニタ27表示する。そして、S707に進む。
In S706, the
S707では、システム制御部50は、ユーザにより左右ボタンが操作され、画像送り(戻し)の指示があったか否かを判定する。システム制御部50は、画像送り(戻し)の指示があった場合は、次の画像ファイルに対する表示処理を行うため、S701に戻る。画像送りの指示の場合は、次の画像ファイルについてS701以降の処理を行い、画像戻しの指示の場合は、前の画像ファイルについてS701以降の処理を行う。
In S707, the
S708では、システム制御部50は、ユーザの操作により、再生モード終了の指示や、他の処理の指示等を含む、画像表示処理の終了の指示があったかを判定する。システム制御部50は、画像表示処理の終了の指示がない場合は、S707に戻り、画像表示処理の終了の指示があった場合は、本処理を終了する。
In S708, the
このように、本実施形態のカメラ100では、画像ファイルが動画ファイルの場合は、設定画面で設定された画像の回転表示の設定や画像ファイルの姿勢情報に関わらず、動画データを回転せずに表示することになる。それに対し、画像ファイルが静止画ファイルの場合は、設定画面によって画像の回転表示(回転して再生)の設定と、画像ファイルの姿勢情報とに応じて、画像データを回転して表示することになる。
As described above, in the
本実施形態のカメラ100では、動画データについては、回転せずに表示している。画像を回転して表示すると、画像が小さく表示されることになり、また、回転処理の処理負荷が増加してしまう。動画の場合は、1つの動画の再生中は画像の縦横位置状態は同じとなるため、カメラ100の向きを変えて閲覧すればよい。それに対し、静止画を順次再生する場合は、静止画によって姿勢情報が異なる。画像毎に画像の縦横姿勢に応じてカメラ100の向きを変えて閲覧することは手間となってしまう。そのため、本実施形態のカメラ100では、静止画を順次再生するような場合であっても画像を確認しやすいように、姿勢情報に応じて回転して表示することが回転表示の設定に応じて可能となるようにしている。
In the
[その他の実施形態]
以上、本実施例ではカメラの縦位置情報付加方法について説明した。システム制御部50による制御は1つのハードウェア(CPU等のプロセッサ)が行ってもよいし、複数のハードウェアが処理を分担することで、装置全体の制御を行ってもよい。また、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。さらに、上述した各実施形態は本発明の一実施形態を示すものにすぎず、各実施形態を適宜組み合わせることも可能である。
[Other embodiments]
As described above, in the present embodiment, the method for adding vertical position information of the camera has been described. The control by the
また、上述の実施形態の機能を実現するソフトウェアのプログラムを、記録媒体から直接、或いは有線/無線通信を用いてプログラムを実行可能なコンピュータを有するシステム又は装置に供給し、そのプログラムを実行する場合も本発明に含む。 The present invention also includes the case where a software program that implements the functions of the above-described embodiments is supplied directly from a recording medium or via wired/wireless communication to a system or apparatus having a computer capable of executing the program, and the program is executed.
従って、本発明の機能処理をコンピュータで実現するために、該コンピュータに供給、インストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明の機能処理を実現するためのコンピュータプログラム自体も本発明に含まれる。 Therefore, in order to implement the functional processing of the present invention in a computer, the program code itself supplied and installed in the computer also implements the present invention. In other words, the present invention also includes the computer program itself for realizing the functional processing of the present invention.
プログラムを供給するための記録媒体としては、例えば、ハードディスク等の磁気記録媒体、光/光磁気記憶媒体、不揮発性の半導体メモリでもよい。 The recording medium for supplying the program may be, for example, a magnetic recording medium such as a hard disk, an optical/magneto-optical storage medium, or a nonvolatile semiconductor memory.
Claims (17)
前記撮像装置の姿勢を検出する検出手段と、
前記撮像部により撮影した静止画又は動画を記録媒体に記録するように制御する制御手段と、
前記撮像部により撮影した静止画と共に、前記検出手段により検出した姿勢に基づく姿勢情報を記録するか否かをユーザ操作に応じて設定するための第1の設定手段と、
前記撮像部により撮影した動画と共に、前記検出手段により検出した姿勢に基づく姿勢情報を記録するか否かをユーザ操作に応じて設定するための第2の設定手段と、
を有し、
静止画と共に姿勢情報を記録するか否か、及び、静止画を再生する際に姿勢情報に基づいて回転して表示するか否かを前記第1の設定手段によりユーザ操作に応じて設定可能であるのに対し、
動画と共に姿勢情報を記録するか否かを前記第2の設定手段によりユーザ操作に応じて設定可能であるが、動画を再生する際に姿勢情報に基づいて回転して表示するか否かはユーザ操作に応じて設定不可である、
ことを特徴とする撮像装置。 An imaging device having an imaging unit,
detection means for detecting the attitude of the imaging device;
a control means for controlling to record a still image or a moving image captured by the imaging unit on a recording medium;
a first setting means for setting , according to a user operation , whether or not to record posture information based on the posture detected by the detection means together with the still image captured by the imaging unit;
a second setting means for setting , according to a user operation , whether or not to record posture information based on the posture detected by the detection means together with the moving image captured by the imaging unit;
has
Whether or not the orientation information is recorded together with the still image, and whether or not the still image is rotated and displayed based on the orientation information when the still image is played back can be set by the first setting means according to the user's operation.
Whether or not to record the posture information together with the moving image can be set according to the user operation by the second setting means, but it is not possible to set according to the user operation whether or not to rotate and display the moving image based on the posture information when reproducing the moving image.
An imaging device characterized by:
前記再生手段は、静止画を再生する際には、前記第1の設定手段により設定された前記姿勢情報に基づいて回転して表示するか否かの設定に応じて、前記姿勢情報に基づいて静止画を回転して再生し、動画を再生する際には、前記姿勢情報に基づいた回転をせずに動画を再生することを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。 a reproducing means for reproducing the image recorded on the recording medium;
4. The imaging apparatus according to claim 1, wherein when reproducing a still image, the reproducing unit rotates and reproduces the still image based on the orientation information according to the setting of whether or not to rotate and display the still image based on the orientation information set by the first setting unit, and reproduces the moving image without rotating based on the orientation information when reproducing the moving image .
前記表示制御手段は、動画と共に姿勢情報を記録するか否かを設定するための第2の選択肢群を前記設定画面に表示するように制御し、前記第2の設定手段は、前記第2の選択肢群のうちのいずれか1つの選択肢の選択に応じて、動画と共に姿勢情報を記録するか否かを設定するThe display control means controls to display on the setting screen a second option group for setting whether or not to record the posture information together with the moving image, and the second setting means sets whether or not to record the posture information together with the moving image according to selection of one of the options in the second option group.
ことを特徴とする請求項5に記載の撮像装置。6. The imaging device according to claim 5, characterized in that:
前記第1の設定手段による静止画に関する設定のための第1の選択肢群として、
姿勢情報に基づいて画像を回転して再生するように設定し、かつ、静止画と共に前記検出手段により検出した姿勢に基づく姿勢情報を記録する姿勢情報を記録するように設定するための第1の選択肢と、
姿勢情報に基づいて画像を回転せずに再生するように設定し、かつ、静止画と共に前記検出手段により検出した姿勢に基づく姿勢情報を記録する姿勢情報を記録するように設定するための第2の選択肢と、
姿勢情報に基づいて画像を回転せずに再生するように設定し、かつ、静止画と共に前記検出手段により検出した姿勢に基づく姿勢情報を記録する姿勢情報を記録しないように設定するための第3の選択肢と、
を前記設定画面に表示するように制御し、
前記第1の設定手段による動画に関する設定のための第2の選択肢群として、
動画と共に前記検出手段により検出した姿勢に基づく姿勢情報を記録する姿勢情報を記録するように設定するための第4の選択肢と、
動画と共に前記検出手段により検出した姿勢に基づく姿勢情報を記録する姿勢情報を記録しないように設定するための第5の選択肢と、
を前記設定画面に表示するように制御する、
ことを特徴とする請求項5乃至7のいずれか1項に記載の撮像装置。 The display control means is
As a first option group for settings related to still images by the first setting means ,
a first option for setting to rotate and reproduce an image based on the orientation information and to record the orientation information based on the orientation detected by the detection means together with the still image;
a second option for setting to reproduce the image based on the orientation information without rotation and to record the orientation information based on the orientation detected by the detection means together with the still image;
a third option for setting to reproduce an image without rotation based on the orientation information and not to record the orientation information based on the orientation detected by the detection means together with the still image;
to be displayed on the setting screen,
As a second option group for settings related to moving images by the first setting means,
a fourth option for recording orientation information based on the orientation detected by the detection means together with the moving image;
a fifth option for setting not to record the orientation information based on the orientation detected by the detection means together with the moving image;
to be displayed on the setting screen,
8. The imaging apparatus according to any one of claims 5 to 7, characterized by:
ことを特徴とする請求項8に記載の撮像装置。 The display control means displays, as the first option, a first character string indicating that the image is to be rotated and reproduced based on the orientation information, a first icon indicating an imaging device, and a second icon indicating a playback device other than the imaging device, as the second option, the first icon is not displayed, and the first character string and the second icon are displayed. Control to display 3 character strings,
9. The imaging apparatus according to claim 8 , characterized by:
前記制御手段は、動画の撮影開始時には、前記第2の設定手段による設定に応じて、前記検出手段により検出した姿勢に基づく姿勢情報を記録するかを制御し、前記所定の条件を満たしたことに応じて、複数の動画ファイルに分割して記録するために、新たな動画ファイルに動画を記録する場合は、前記動画の撮影開始時に検出された姿勢に基づく姿勢情報を記録するように制御することを特徴とする請求項1乃至11のいずれか1項に記載の撮像装置。 further comprising recording control means for performing control to divide and record the moving image being recorded into a plurality of files when a predetermined condition is satisfied during recording of the moving image;
12. The image capturing apparatus according to claim 1, wherein the control unit controls whether or not to record the orientation information based on the orientation detected by the detection unit according to the setting by the second setting unit at the start of shooting a moving image, and controls to record the orientation information based on the orientation detected at the start of shooting the moving image when recording the moving image in a new moving image file in order to divide and record the moving image into a plurality of moving image files in accordance with the satisfaction of the predetermined condition.
前記表示制御手段は、前記撮像装置の動作モードに応じて、前記第2の設定項目を表示しないように制御することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。 display control means for controlling a display unit to display a first setting item set by the first setting means and a second setting item set by the second setting means;
5. The imaging apparatus according to any one of claims 1 to 4 , wherein said display control means controls not to display said second setting item according to an operation mode of said imaging apparatus.
前記撮像装置により撮影した静止画と共に、当該静止画を撮影した際の前記撮像装置の姿勢を示す姿勢情報を記録するか否かをユーザ操作に応じて設定するための第1の設定工程と、
前記撮像装置により撮影した動画と共に、当該動画を撮影した際の前記撮像装置の姿勢を示す姿勢情報を記録するか否かをユーザ操作に応じて設定するための第2の設定工程と、
を有し、
静止画と共に姿勢情報を記録するか否か、及び、静止画を再生する際に姿勢情報に基づいて回転して表示するか否かを前記第1の設定工程においてユーザ操作に応じて設定可能であるのに対し、
動画と共に姿勢情報を記録するか否かを前記第2の設定工程においてユーザ操作に応じて設定可能であるが、動画を再生する際に姿勢情報に基づいて回転して表示するか否かはユーザ操作に応じて設定不可である、
ことを特徴とする制御方法。 a control step of controlling to record a still image or moving image captured by an imaging device on a recording medium;
a first setting step for setting , according to a user operation, whether or not to record posture information indicating the posture of the imaging device when the still image was captured together with the still image captured by the imaging device;
a second setting step for setting, according to a user operation , whether or not to record, together with a moving image captured by the imaging device, orientation information indicating the attitude of the imaging device when the moving image was shot;
has
Whether or not to record orientation information together with a still image, and whether or not to rotate and display a still image based on the orientation information when reproducing the still image can be set according to the user operation in the first setting step.
Whether or not to record the orientation information together with the moving image can be set according to the user operation in the second setting step.
A control method characterized by:
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019068849A JP7313865B2 (en) | 2019-03-29 | 2019-03-29 | Imaging device and control method |
| US16/830,115 US11438509B2 (en) | 2019-03-29 | 2020-03-25 | Imaging apparatus configured to record orientation of the imaging apparatus when an image is captured |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019068849A JP7313865B2 (en) | 2019-03-29 | 2019-03-29 | Imaging device and control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020167623A JP2020167623A (en) | 2020-10-08 |
| JP7313865B2 true JP7313865B2 (en) | 2023-07-25 |
Family
ID=72716117
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019068849A Active JP7313865B2 (en) | 2019-03-29 | 2019-03-29 | Imaging device and control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7313865B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7703377B2 (en) * | 2021-06-21 | 2025-07-07 | キヤノン株式会社 | Imaging device, information processing device, and control method and program thereof |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003274366A (en) | 2002-03-12 | 2003-09-26 | Canon Inc | Image processing apparatus, image processing method, program, and recording medium |
| JP2009077228A (en) | 2007-09-21 | 2009-04-09 | Toshiba Corp | Imaging apparatus and control method thereof |
| JP2013149234A (en) | 2011-12-21 | 2013-08-01 | Panasonic Corp | Electronic apparatus |
| US20140140677A1 (en) | 2012-11-19 | 2014-05-22 | Lg Electronics Inc. | Video display device and method of displaying video |
| JP2015029227A (en) | 2013-07-30 | 2015-02-12 | キヤノン株式会社 | Electronic apparatus and control method therefor |
| US20150356081A1 (en) | 2014-06-04 | 2015-12-10 | Grandios Technologies, Llc | Advanced camera management function |
| WO2016103428A1 (en) | 2014-12-25 | 2016-06-30 | キヤノン株式会社 | Display control device and method for controlling same |
-
2019
- 2019-03-29 JP JP2019068849A patent/JP7313865B2/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003274366A (en) | 2002-03-12 | 2003-09-26 | Canon Inc | Image processing apparatus, image processing method, program, and recording medium |
| JP2009077228A (en) | 2007-09-21 | 2009-04-09 | Toshiba Corp | Imaging apparatus and control method thereof |
| JP2013149234A (en) | 2011-12-21 | 2013-08-01 | Panasonic Corp | Electronic apparatus |
| US20140140677A1 (en) | 2012-11-19 | 2014-05-22 | Lg Electronics Inc. | Video display device and method of displaying video |
| JP2015029227A (en) | 2013-07-30 | 2015-02-12 | キヤノン株式会社 | Electronic apparatus and control method therefor |
| US20150356081A1 (en) | 2014-06-04 | 2015-12-10 | Grandios Technologies, Llc | Advanced camera management function |
| WO2016103428A1 (en) | 2014-12-25 | 2016-06-30 | キヤノン株式会社 | Display control device and method for controlling same |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020167623A (en) | 2020-10-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7091065B2 (en) | Record control device, control method and program of record control device | |
| US8643761B2 (en) | Camera and control method of camera | |
| CN105578030A (en) | Image capturing apparatus and control method thereof | |
| US9819857B2 (en) | Electronic apparatus, control method for the same, and image capturing apparatus | |
| JP6312423B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
| JP5975771B2 (en) | Display control device, display control method, program, and storage medium | |
| JP7313865B2 (en) | Imaging device and control method | |
| JP2021002746A (en) | Image processing device, image processing method, and program | |
| US11438509B2 (en) | Imaging apparatus configured to record orientation of the imaging apparatus when an image is captured | |
| JP2020150501A (en) | Image output devices, image display devices, and their methods | |
| JP6173055B2 (en) | Display control apparatus, method, program, and storage medium | |
| JP2015022339A (en) | Electronic device and control method thereof | |
| JP6399897B2 (en) | Display control apparatus and control method thereof | |
| JP2019110374A (en) | Imaging apparatus and its control method | |
| JP6742833B2 (en) | Information processing apparatus and information processing method | |
| JP7781612B2 (en) | Display control device, control method thereof, program, and recording medium | |
| JP6418901B2 (en) | Image processing apparatus, control method therefor, program, and storage medium | |
| JP2023179219A (en) | Image reproduction device and its control method, program, storage medium | |
| JP2023177625A (en) | Image reproduction device and its control method, program, storage medium | |
| JP6460785B2 (en) | Electronic device and control method of electronic device | |
| JP7086722B2 (en) | Display control device and its control method | |
| JP6971735B2 (en) | Electronic devices, control methods for electronic devices, and programs | |
| JP2016082276A (en) | Imaging device | |
| JP2026071964A (en) | Imaging device, control method, and program | |
| JP6487666B2 (en) | Imaging apparatus, control method therefor, program, and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220225 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20221111 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221227 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230220 |
|
| 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: 20230613 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230712 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 7313865 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |