Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7313865B2 - Imaging device and control method - Google Patents
[go: Go Back, main page]

JP7313865B2 - Imaging device and control method - Google Patents

Imaging device and control method Download PDF

Info

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
Application number
JP2019068849A
Other languages
Japanese (ja)
Other versions
JP2020167623A (en
Inventor
修一郎 松島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019068849A priority Critical patent/JP7313865B2/en
Priority to US16/830,115 priority patent/US11438509B2/en
Publication of JP2020167623A publication Critical patent/JP2020167623A/en
Application granted granted Critical
Publication of JP7313865B2 publication Critical patent/JP7313865B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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.

特開2014-123888号広報Japanese Unexamined Patent Publication No. 2014-123888

参考文献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.

本発明の撮像装置の一例としてのカメラの外観図である。1 is an external view of a camera as an example of an imaging device of the present invention; FIG. カメラ100の構成例を示すブロック図である。2 is a block diagram showing a configuration example of a camera 100; FIG. 縦位置情報と、各装置での画像表示状態を示した図である。FIG. 10 is a diagram showing vertical position information and an image display state in each device; 撮影モード時の処理を示すフローチャートである。4 is a flow chart showing processing in a shooting mode; 縦位置情報付加設定のためのメニュー画面の表示例である。It is a display example of a menu screen for vertical position information addition setting. 縦位置情報付加設定のためのメニュー画面の表示の変形例である。FIG. 11 is a modified example of display of a menu screen for vertical position information addition setting; FIG. 再生モードにおける画像表示処理を示すフローチャートである。4 is a flowchart showing image display processing in playback mode;

以下、図面を参照して本発明の好適な実施形態を説明する。 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 camera 100 as an example of the imaging device of the present invention. The liquid crystal monitor 27 is a display unit that displays images and various information. A shutter button 61 is an operation unit for instructing still image shooting. A movie record button 65 is an operation unit for instructing the start and end of movie shooting. A mode changeover switch 60 is an operation unit for switching between various modes. An operation for switching between the still image mode and the moving image mode is also set by the mode switch 60 . The operation unit 70 is an operation unit including operation members such as various switches, buttons, and dials for receiving various operations from the user. The power switch 74 is a push button for switching between power on and power off. A recording medium 200 is a recording medium such as a memory card or a hard disk. The recording medium 200 can communicate with the camera 100 and can record and reproduce.

図2は、本実施形態によるカメラ100の構成例を示すブロック図である。 FIG. 2 is a block diagram showing a configuration example of the camera 100 according to this embodiment.

図2において、撮影レンズ103はズームレンズ、フォーカスレンズを含むレンズ群である。シャッター101は絞り機能を備えるシャッターである。撮像部22は光学像を電気信号に変換するCCDやCMOS素子等で構成される撮像素子である。A/D変換器23は、アナログ信号をデジタル信号に変換する。A/D変換器23は、撮像部22から出力されるアナログ信号をデジタル信号に変換するために用いられる。バリア102は、カメラ100の、撮影レンズ103を含む撮像系を覆うことにより、撮影レンズ103、シャッター101、撮像部22を含む撮像系の汚れや破損を防止する。 In FIG. 2, a photographing lens 103 is a lens group including a zoom lens and a focus lens. A shutter 101 is a shutter having an aperture function. The imaging unit 22 is an imaging element configured by a CCD, CMOS element, or the like that converts an optical image into an electric signal. The A/D converter 23 converts analog signals into digital signals. The A/D converter 23 is used to convert the analog signal output from the imaging section 22 into a digital signal. The barrier 102 covers the imaging system including the imaging lens 103 of the camera 100 to prevent the imaging system including the imaging lens 103, the shutter 101, and the imaging unit 22 from being soiled or damaged.

画像処理部24は、A/D変換器23からのデータ、又は、メモリ制御部15からのデータに対し所定の画素補間、縮小といったリサイズ処理や色変換処理を行う。また、画像処理部24では、撮像した画像データを用いて所定の演算処理が行われ、得られた演算結果に基づいてシステム制御部50が露光制御、測距制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理が行われる。画像処理部24では更に、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。 The image processing unit 24 performs resizing processing such as predetermined pixel interpolation and reduction, and color conversion processing on the data from the A/D converter 23 or the data from the memory control unit 15 . Further, the image processing unit 24 performs predetermined arithmetic processing using captured image data, and the system control unit 50 performs exposure control and distance measurement control based on the obtained arithmetic results. As a result, TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-emission) processing are performed. The image processing unit 24 further performs predetermined arithmetic processing using the captured image data, and also performs TTL AWB (Auto White Balance) processing based on the obtained arithmetic results.

A/D変換器23からの出力データは、画像処理部24及びメモリ制御部15を介して、或いは、メモリ制御部15を介してメモリ32に直接書き込まれる。メモリ32は、撮像部22によって得られA/D変換器23によりデジタルデータに変換された画像データや、液晶モニタ27に表示するための画像データを格納する。メモリ32は、所定枚数の静止画像や所定時間の動画像および音声を格納するのに十分な記憶容量を備えている。 Output data from the A/D converter 23 is directly written into the memory 32 via the image processing section 24 and the memory control section 15 or via the memory control section 15 . The memory 32 stores image data obtained by the imaging unit 22 and converted into digital data by the A/D converter 23 and image data to be displayed on the liquid crystal monitor 27 . The memory 32 has a storage capacity sufficient to store a predetermined number of still images, moving images for a predetermined period of time, and audio.

また、メモリ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 memory 32 also serves as an image display memory (video memory). The D/A converter 13 converts image display data stored in the memory 32 into an analog signal and supplies the analog signal to the liquid crystal monitor 27 . Thus, the image data for display written in the memory 32 is displayed on the liquid crystal monitor 27 via the D/A converter 13 . The liquid crystal monitor 27 performs display corresponding to the analog signal from the D/A converter 13 on a display such as an LCD. A digital signal that has been A/D converted by the A/D converter 23 and stored in the memory 32 is analog-converted by the D/A converter 13 and sequentially transferred to the liquid crystal monitor 27 for display, whereby through image display (live view display) can be performed.

不揮発性メモリ56は、電気的に消去・記録可能な記録媒体としてのメモリであり、例えばEEPROM等が用いられる。不揮発性メモリ56には、システム制御部50の動作用の定数、プログラム等が記憶される。ここでいう、プログラムとは、本実施形態にて後述する各種フローチャートを実行するためのコンピュータプログラムを含む。図4、図7のフローチャートの処理も、不揮発性メモリ56に記録されているプログラムを、システム制御部50が読み出して実行することにより実現される。 The nonvolatile memory 56 is a memory as an electrically erasable/recordable recording medium, and for example, an EEPROM or the like is used. The nonvolatile memory 56 stores constants, programs, etc. for the operation of the system control unit 50 . The program here includes a computer program for executing various flowcharts described later in this embodiment. The processing of the flowcharts of FIGS. 4 and 7 is also realized by the system control unit 50 reading and executing the program recorded in the nonvolatile memory 56 .

システム制御部50は、カメラ100全体を制御し、1つ以上のプロセッサから構成される。システム制御部50は、前述した不揮発性メモリ56に記録されたプログラム読み出して、読み出したプリグラムを実行することで、各ブロックを制御し、後述する本実施形態の各処理を実現する。システムメモリ52には、RAMが用いられる。システムメモリ52には、システム制御部50の動作用の定数、変数、不揮発性メモリ56から読み出したプログラム等を展開する。また、システム制御部50はメモリ32、D/A変換器13等を制御することにより表示制御も行う。 A system control unit 50 controls the entire camera 100 and is composed of one or more processors. The system control unit 50 reads out the program recorded in the non-volatile memory 56 described above and executes the read program to control each block and realize each process of this embodiment described later. A RAM is used for the system memory 52 . In the system memory 52, constants and variables for operation of the system control unit 50, programs read from the nonvolatile memory 56, and the like are expanded. The system control unit 50 also performs display control by controlling the memory 32, the D/A converter 13, and the like.

システムタイマー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 mode changeover switch 60 , a shutter button 61 , a moving image recording button 65 , and an operation section 70 are operation means for inputting various operation instructions to the system control section 50 .

モード切替スイッチ60は、システム制御部50の動作モードを静止画記録モード、動画撮影モード等のいずれかに切り替える。静止画記録モードに含まれるモードとして、オート撮影モード、オートシーン判別モード、マニュアルモード、撮影シーン別の撮影設定となる各種シーンモード、プログラムAEモード、カスタムモード等がある。動画撮影モードに含まれるモードとして、オート撮影モード、マニュアルモード、プログラムAEモード、カスタムモード等がある。第1シャッタースイッチ62は、カメラ100に設けられたシャッターボタン61の操作途中、いわゆる半押し(撮影準備指示)でONとなり第1シャッタースイッチ信号SW1を発生する。第1シャッタースイッチ信号SW1により、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作を開始する。 A mode switch 60 switches the operation mode of the system control unit 50 between a still image recording mode, a moving image shooting mode, and the like. Modes included in the still image recording mode include an auto shooting mode, an auto scene determination mode, a manual mode, various scene modes for shooting settings for each shooting scene, a program AE mode, a custom mode, and the like. Modes included in the moving image shooting mode include an auto shooting mode, a manual mode, a program AE mode, a custom mode, and the like. The first shutter switch 62 is turned on when the shutter button 61 provided on the camera 100 is pressed halfway (imaging preparation instruction), and generates a first shutter switch signal SW1. Operations such as AF (autofocus) processing, AE (automatic exposure) processing, AWB (automatic white balance) processing, and EF (flash pre-emission) processing are started by the first shutter switch signal SW1.

第2シャッタースイッチ64は、シャッターボタン61の操作完了、いわゆる全押し(撮影指示)でONとなり、第2シャッタースイッチ信号SW2を発生する。システム制御部50は、第2シャッタースイッチ信号SW2により、撮像部22からの信号読み出しから記録媒体200に画像データを書き込むまでの一連の撮影処理の動作を開始する。 The second shutter switch 64 is turned ON when the operation of the shutter button 61 is completed, that is, when the shutter button 61 is fully pressed (imaging instruction), and generates a second shutter switch signal SW2. In response to the second shutter switch signal SW2, the system control unit 50 starts a series of photographing processing operations from reading out signals from the imaging unit 22 to writing image data in the recording medium 200. FIG.

操作部70の各操作部材は、液晶モニタ27等に表示される種々の機能アイコンを選択操作することなどにより、場面ごとに適宜機能が割り当てられ、各種機能ボタンとして作用する。機能ボタンとしては、例えば上下左右の4方向ボタンやSETボタン、コントローラホイール、メニューボタン、電子ダイヤル、終了ボタン、戻るボタン、画像送りボタン、ジャンプボタン、絞込みボタン、属性変更ボタン等がある。例えば、メニューボタンが押されると各種の設定可能なメニュー画面が液晶モニタ27等に表示される。利用者は、液晶モニタ27等に表示されたメニュー画面と、上下左右の4方向ボタンやSETボタンとを用いて直感的に各種設定を行うことができる。 Each operation member of the operation unit 70 is appropriately assigned a function for each scene by selecting and operating various function icons displayed on the liquid crystal monitor 27 or the like, and acts as various function buttons. The function buttons include, for example, up, down, left, and right four-direction buttons, a SET button, a controller wheel, a menu button, an electronic dial, an end button, a return button, an image forward button, a jump button, a narrow-down button, an attribute change button, and the like. For example, when the menu button is pressed, a menu screen allowing various settings is displayed on the liquid crystal monitor 27 or the like. The user can intuitively perform various settings by using the menu screen displayed on the liquid crystal monitor 27 or the like, the up, down, left, and right four-direction buttons and the SET button.

電源制御部80は、電池検出回路、DC-DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部80は、その検出結果及びシステム制御部50の指示に基づいてDC-DCコンバータを制御し、必要な電圧を必要な期間、記録媒体200を含む各部へ供給する。 The power control unit 80 is composed of a battery detection circuit, a DC-DC converter, a switch circuit for switching blocks to be energized, and the like, and detects whether or not a battery is installed, the type of battery, and the remaining amount of the battery. Also, the power supply control unit 80 controls the DC-DC converter based on the detection results and instructions from the system control unit 50, and supplies necessary voltage to each unit including the recording medium 200 for a necessary period.

電源部30は、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる。記録媒体I/F18は、メモリカードやハードディスク等の記録媒体200とのインターフェースである。記録媒体200は、撮影された画像を記録するためのメモリカード等の記録媒体であり、半導体メモリや光ディスク、磁気ディスク等から構成される。 The power supply unit 30 includes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, an AC adapter, or the like. A recording medium I/F 18 is an interface with a recording medium 200 such as a memory card or hard disk. A recording medium 200 is a recording medium such as a memory card for recording captured images, and is composed of a semiconductor memory, an optical disk, a magnetic disk, or the like.

通信部54は、無線または有線ケーブルによって接続し、映像信号や音声信号等の送受信を行う。通信部54は無線LAN(Local Area Network)やインターネットとも接続可能である。通信部54は撮像部22で撮像した画像(スルー画像を含む)や、記録媒体200に記録された画像を送信可能であり、また、外部機器から画像データやその他の各種情報を受信することができる。 The communication unit 54 is connected wirelessly or by a wired cable, and transmits and receives video signals, audio signals, and the like. The communication unit 54 can be connected to a wireless LAN (Local Area Network) or the Internet. The communication unit 54 can transmit images (including through images) captured by the imaging unit 22 and images recorded on the recording medium 200, and can receive image data and other various information from external devices.

姿勢検知部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 camera 100 with respect to the direction of gravity is 0 degrees, 90 degrees, 180 degrees, or 270 degrees, and notifies the system control unit 50 of the detected orientation. Based on the posture detected by the posture detection unit 55, the system control unit 50 can determine whether the image captured by the imaging unit 22 is the image captured with the camera 100 held horizontally or the image captured with the camera 100 held vertically. The system control unit 50 can add orientation information (attitude information) corresponding to the orientation detected by the orientation detection unit 55 to the image file of the image captured by the imaging unit 22, rotate and record the image, and display orientation information corresponding to the detected orientation on the liquid crystal monitor 27. An acceleration sensor, a gyro sensor, or the like can be used as the posture detection unit 55 .

カメラ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 mode switch 60 of the camera 100 is set to the still image shooting mode, the system control unit 50 executes a still image shooting operation. In the still image shooting mode, when the shutter button 61 is half-pressed, the first shutter switch signal SW1 is generated, and the system control unit 50 executes shooting preparation processing (AF processing, AE processing, AWB processing, EF processing, etc.). Then, when the shutter button 61 is fully pressed, a second shutter switch signal SW2 is generated, and the system control section 50 executes still image shooting processing. In the still image photographing process, the signal obtained by imaging by the imaging unit 22 is converted into digital data (image data) by the A/D converter 23, and the image processing unit 24 executes image processing for the still image and writes it to the memory 32. Then, the system control unit 50 generates an image file such as JPEG from the image data written in the memory, and records it on the recording medium 200 via the recording medium I/F 18 . When the shutter button 61 is fully pressed continuously, a continuous photographing mode is entered, and still image photographing processing is repeatedly executed until the shutter button 61 is fully pressed to continuously photograph and record a plurality of images (continuous images).

動画撮影モードが設定されている場合は、動画記録ボタン65が操作されて動画撮影開始指示が入力されると、システム制御部50は動画撮影処理を開始する。動画撮影処理は、再び動画記録ボタン65が操作されて動画撮影終了指示が入力されるまで継続される。動画記録ボタン65ではなく他のボタンを用いて動画撮影開始指示、動画撮影終了指示を入力するようにしてもよい。動画撮影処理では、撮像部22で設定されたフレームレートで連続的に撮像を行い、撮像により得られた信号をA/D変換器23でデジタルデータに変換して連続画像、つまり動画データを取得する。取得した動画データに対して画像処理部24により動画用の画像処理を実行して、メモリ32に書き込む。そして、システム制御部50は、メモリに書き込まれた複数の連続画像データ(動画データ)からMPEG等の動画ファイルを生成して、記録媒体I/F18を介して記録媒体200に記録する記録制御を行う。動画ファイルの記録処理では、動画の撮影の完了や動画ファイルの完成を待たずに、動画ファイルを作成して処理が完了した動画データから順次記録し、動画データの記録完了後に動画ファイルとして必要な情報を記録して動画ファイルの記録処理を完了する。 When the movie recording button 65 is operated and a movie shooting start instruction is input when the movie shooting mode is set, the system control unit 50 starts movie shooting processing. The moving image shooting process is continued until the moving image recording button 65 is operated again and a moving image shooting end instruction is input. Instead of the moving image recording button 65, other buttons may be used to input a moving image shooting start instruction and a moving image shooting end instruction. In the moving image capturing process, images are continuously captured at a frame rate set by the image capturing unit 22, and the signals obtained by the capturing are converted into digital data by the A/D converter 23 to acquire continuous images, that is, moving image data. The acquired moving image data is subjected to moving image processing by the image processing unit 24 and written in the memory 32 . Then, the system control unit 50 generates a moving image file such as MPEG from a plurality of continuous image data (moving image data) written in the memory, and performs recording control to record it on the recording medium 200 via the recording medium I/F 18 . In the recording processing of the moving image file, the moving image file is created without waiting for the completion of the shooting of the moving image or the completion of the moving image file, the moving image file is sequentially recorded from the moving image data for which the processing is completed, and after the recording of the moving image data is completed, the necessary information as the moving image file is recorded to complete the recording processing of the moving image file.

なお、本実施形態のカメラ100は、シャッターボタン61の他に動画記録ボタン65を有しているため、静止画撮影モードが設定されている場合であっても、動画記録ボタン65を操作することにより動画の撮影は可能とする。それに対して、動画撮影モードが設定されている場合は、静止画の撮影は不可能であり、シャッターボタン61が押下されたとしても、静止画の撮影は行わない。あるいは、シャッターボタン61が押下されたことに応じて、動画の撮影を行うようにしてもよい。 Since the camera 100 of the present embodiment has a moving image recording button 65 in addition to the shutter button 61, it is possible to shoot moving images by operating the moving image recording button 65 even when the still image shooting mode is set. On the other hand, when the moving image shooting mode is set, still image shooting is impossible, and even if the shutter button 61 is pressed, still image shooting is not performed. Alternatively, moving images may be captured in response to pressing of the shutter button 61 .

また、撮影モードの設定に関わらず、シャッターボタン61が操作された場合は静止画撮影処理を行い、動画記録ボタン65が操作された場合は動画撮影処理を行うようにしてもよい。 Still image shooting processing may be performed when the shutter button 61 is operated, and moving image shooting processing may be performed when the moving image recording button 65 is operated, regardless of the setting of the shooting mode.

次に、画像に姿勢検知部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 camera 100 having a landscape display screen, when it is played back on a mobile terminal with a landscape display screen, and when it is played back on a personal computer screen with a landscape display screen. Image display processing during playback in the camera 100 of this embodiment will be described later with reference to FIG. Regardless of whether the vertical position information can be added or not, the camera 100 records the captured image as a horizontally long image. When the vertical position information is set to be addable, the horizontal position information is added when the image is taken without rotating the camera, and the vertical position information is added when the image is taken with the camera 100 rotated by 90 degrees or 270 degrees. Also, in the case of setting not to add vertical position information, horizontal position information is added regardless of the orientation of the camera 100 .

まず、縦位置情報を画像に付加しない設定でカメラ100を横位置、つまり、カメラ100を回転せずに回転角が0度の状態(301)で撮影した画像を、携帯端末で再生する場合、PC画面で再生する場合について説明する。この場合、画像には横位置情報が記録される。携帯端末を縦にして再生すると、画像は正方向で表示される(302)。ただし、縦長の画面に横長の画像を画像全体が収まるように表示するため、上下に空白領域が設けられて画像の表示領域が小さくなり、画像の表示解像度が低くなる。一方、携帯端末を横にして再生すると、表示画面の天地状態が変わったため、302の状態のときに対して画像が90度回転して表示される(303)。この状態では、画像と携帯端末の天地方向が一致し、表示画面が横長な状態となるため、画像は表示画面いっぱいに表示され、解像度が高く表示される(303)。パソコン画面では通常画面が横向き固定されているため、携帯端末を横にした状態と同じように画像の表示領域がパソコン画面全体となり、大きくなるため、表示解像度が高く表示される(304)。 First, the case where an image captured with the camera 100 in the horizontal position without adding the vertical position information to the image, that is, with the rotation angle of 0 degrees without rotating the camera 100 (301) is played back on the mobile terminal or on the PC screen will be described. In this case, lateral position information is recorded in the image. When played back with the mobile terminal held vertically, the image is displayed in the normal orientation (302). However, since a horizontally long image is displayed so that the entire image fits on a vertically long screen, blank areas are provided at the top and bottom, the display area of the image is reduced, and the display resolution of the image is lowered. On the other hand, when the mobile terminal is placed horizontally and played back, the image is rotated 90 degrees from the state 302 and displayed (303) because the orientation of the display screen has changed. In this state, the vertical direction of the image matches that of the portable terminal, and the display screen is horizontally long. Therefore, the image is displayed on the entire display screen with high resolution (303). Since the screen of a personal computer is usually fixed in landscape orientation, the display area of the image becomes the entire personal computer screen as if the portable terminal is laid horizontally, and the image is displayed at a high display resolution (304).

縦位置情報を画像に付加しない設定でカメラ100を縦位置、つまり、カメラ100を90度又は270度回転した状態(305)で撮影した画像を再生する場合について説明する。画像には横位置情報が記録され、画像の姿勢情報と画像の天地状態が異なった状態となる。携帯端末を縦にして再生すると、縦位置情報を付加されておらず横位置情報が付加されているため、302と同じ状態で画像が表示され、画像の天地状態と携帯端末の天地状態が一致しない状態で表示される(306)。携帯端末を横にして再生した場合も、縦位置情報を付加されておらず横位置情報が付加されているため、303と同じ状態で画像が表示され、画像の天地状態と携帯端末の天地状態が一致しない状態で表示される(307)。パソコン画面で再生する場合も、縦位置情報を付加されておらず横位置情報が付加されているため、304と同じ状態で画像が表示され、画像の天地状態とパソコン画面の天地状態が一致しない状態で表示される(308)。縦位置情報を付加しない設定でカメラを縦位置で撮影する場合は、画像に縦位置情報が付加されず横位置情報が付加されるため、携帯端末やパソコン画面等の再生装置では横位置で撮影した場合と区別することができず、天地状態が一致しない状態で表示されてしまう。そのため、画像を閲覧、視聴しにくくなってしまう。 A case will be described in which an image captured with the camera 100 in the vertical position, that is, with the camera 100 rotated by 90 degrees or 270 degrees (305) is played back without adding vertical position information to the image. Lateral position information is recorded in the image, and the attitude information of the image and the orientation of the image are different. When the mobile terminal is set vertically and reproduced, the image is displayed in the same state as 302 because the vertical position information is not added but the horizontal position information is added, and the image is displayed in a state in which the top and bottom of the image and the top and bottom of the mobile terminal do not match each other (306). Even when the mobile terminal is turned horizontally and reproduced, the image is displayed in the same state as 303 because the vertical position information is not added but the horizontal position information is added, and the image is displayed in a state in which the top and bottom of the image and the top and bottom of the mobile terminal do not match each other (307). When reproduced on the personal computer screen, the vertical position information is not added but the horizontal position information is added, so the image is displayed in the same state as 304, and is displayed in a state where the top and bottom of the image and the top and bottom of the personal computer screen do not match each other (308). When the vertical position information is not added to the image and the horizontal position information is added to the image when the vertical position information is not added to the image, it is impossible to distinguish the image from the horizontal position on a reproducing device such as a mobile terminal or a personal computer screen, and the image is displayed in a state in which the vertical position does not match. Therefore, it becomes difficult to browse and view images.

縦位置情報を付加可能に設定してカメラ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 camera 100 in the horizontal position, that is, with the rotation angle of 0 degrees (309) without rotating the camera 100 is reproduced. In this case, lateral position information is added to the image. When the mobile terminal is set vertically and reproduced, the image is displayed in the same state as 302 because the image is taken without rotating the camera 100 and the horizontal position information is recorded, and the image is displayed in a state in which the top and bottom of the image match the top and bottom of the mobile terminal (310). When the mobile terminal is laid down and played back, the image is taken without rotating the camera 100 and the horizontal position information is recorded, so the image is displayed in the same state as 303, and the image is displayed in a state in which the top and bottom of the image match the top and bottom of the mobile terminal (311). When the image is reproduced on the personal computer screen, the image is photographed without rotating the camera 100 and the horizontal position information is recorded, so the image is displayed in the same state as 304, and the image is displayed in the same state as the personal computer screen (312).

縦位置情報を付加可能に設定してカメラ100を縦位置、つまり、カメラ100を90度又は270度回転した状態(313)で撮影し、縦位置情報を付加した画像を再生する場合について説明する。この場合、画像には縦位置情報が付加される。携帯端末を縦にして再生すると、画像に縦位置情報が付加して記録されているため、画像と携帯端末の天地方向を一致させるために、縦位置情報に応じて画像は回転して表示される(314)。画像を回転することにより、画像と携帯端末の天地方向が一致するだけでなく、表示画面も回転後の画像も縦長の状態となるため、画像は表示画面いっぱいに表示され、解像度高く表示される。携帯端末を横にして再生すると、画像と携帯端末の天地方向は一致させた状態で表示される(315)。この場合、表示画面と画像の長辺方向が異なるので、解像度が低く表示される。パソコン画面では、縦位置情報に応じて回転して画像が表示される(316)。画像とパソコン画面の天地方向は一致しているが、画像とパソコン画面の長辺方向が異なっているため、解像度が低く表示される。 A case will be described in which the addition of vertical position information is enabled, the camera 100 is set to the vertical position, that is, the camera 100 is rotated by 90 degrees or 270 degrees (313), and the image to which the vertical position information is added is reproduced. In this case, vertical position information is added to the image. When the portable terminal is set vertically and reproduced, the image is recorded with the vertical position information added thereto, so that the image is rotated and displayed according to the vertical position information in order to match the vertical direction of the image with that of the portable terminal (314). By rotating the image, not only the orientation of the image matches that of the mobile terminal, but also the display screen and the image after rotation become vertically long, so the image is displayed on the full display screen with high resolution. When the mobile terminal is placed horizontally and played back, the image and the mobile terminal are displayed in the same orientation (315). In this case, since the long side direction of the display screen and the image are different, the resolution is displayed low. On the personal computer screen, the image is rotated according to the vertical position information and displayed (316). Although the top and bottom directions of the image and the computer screen are the same, the image and the computer screen are displayed in a lower resolution because the long side direction of the image and the computer screen are different.

ここで説明した表示方法は一例であり、画像再生のソフトウェアの仕様や再生装置のハードウェアの仕様により動作が異なる場合がある。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 camera 100 of the present embodiment, it is possible to individually set whether to add the vertical position information (orientation information) detected by the camera 100 to the image and record the still image and the moving image.

縦位置情報(姿勢情報)を付加するかの設定について、図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 system control unit 50 determines that the user has pressed the menu button of the operation unit 70, the system control unit 50 displays the top screen of the menu in FIG. As shown in FIG. 5(1), on the menu top screen, a setting item for adding still image vertical position information and a setting item for adding moving image vertical position information can be selected. On the menu top screen, the selection of the setting item can be changed by operating the up and down buttons, and the selection of the setting item can be determined by operating the set button. Normally, other camera setting items can also be set, but in this embodiment, items irrelevant to the explanation of vertical position information addition processing are omitted.

メニュートップ画面において静止画縦位置情報の付加の設定項目が選択され決定されると、システム制御部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 system control unit 50 displays the still image vertical position information addition setting screen of FIG. On the still image vertical position information addition setting screen, it is possible to set whether or not vertical position information can be added to a still image as a still image orientation information recording setting. At the same time, it is also possible to set a rotation display setting as to whether or not to rotate and display an image to which vertical position information is added when the image is reproduced by the camera. As for the rotation display setting, it is preferable that the rotation display can be set only when vertical position information can be added in the still image orientation information addition setting. The settings of the still image orientation information recording setting and the rotation display setting set on the still image vertical position information addition setting screen are stored in the nonvolatile memory 56 .

メニュートップ画面において動画縦位置情報の付加の設定項目が選択され決定されると、システム制御部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 system control unit 50 displays the moving image vertical position information addition setting screen of FIG. On the moving image vertical position information addition setting screen, it is possible to set whether vertical position information can be added to moving images or not as a moving image orientation information recording setting. The setting of the moving image orientation information recording setting set on the moving image vertical position information addition setting screen is stored in the nonvolatile memory 56 .

このように、本実施形態のカメラ100では、画像撮影時のカメラ100の姿勢が縦位置となった場合に、縦位置であることを示す姿勢情報を画像と共に記録するかの設定を、静止画、動画それぞれについて個別に設定可能にしている。 As described above, in the camera 100 of the present embodiment, when the camera 100 is in the vertical position when taking an image, the setting as to whether or not to record the orientation information indicating the vertical position together with the image can be individually set for each of the still image and the moving image.

図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 system control unit 50 in response to the operation of the menu button. The menu screen displays a setting tab 601 related to shooting, a setting tab 602 related to playback, and a setting tab 603 related to camera functions. When the cross key of the operation unit 70 is operated to select tabs 601 to 603, setting items corresponding to the respective tabs are displayed. FIG. 6(1) shows a state in which a setting tab 603 related to camera functions is selected. In settings related to camera functions, in addition to setting item 601 for still image orientation information recording setting and setting item 602 for moving image orientation information recording setting, other setting items such as setting item 1 to setting item 3 (603 to 605) can also be set. A cursor 600 indicates the currently selected setting item. In FIG. 6(1), setting item 2 (604) is selected. When the up and down buttons are operated, the system control unit 50 moves and displays the cursor 600, and when the SET button is operated, the system control unit 50 displays a screen for setting the currently selected setting item. A setting item 601 for still image orientation information recording setting displays a character string "vertical position image rotation display", and a setting item 60 for moving image orientation information recording setting displays a character string "addition of vertical position information" and an icon indicating a moving image.

静止画姿勢情報記録設定のための設定項目601が選択された状態でセットボタンが押下されると、システム制御部50は、図6(2)のような静止画用縦位置情報設定画面を表示する。また、動画姿勢情報記録設定のための設定項目602が選択された状態でセットボタンが押下されると、システム制御部50は、図6(3)のような動画用縦位置情報設定画面を表示する。 When the set button is pressed while the setting item 601 for still image orientation information recording setting is selected, the system control unit 50 displays a still image vertical position information setting screen as shown in FIG. 6B. Further, when the set button is pressed with the setting item 602 for moving image orientation information recording setting selected, the system control unit 50 displays a moving image vertical position information setting screen as shown in FIG. 6(3).

静止画用縦位置情報設定画面では、図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 camera 100 are set. Here, the setting of recording the orientation information detected at the time of photographing in the still image is a setting that enables the addition of vertical position information since the orientation of the camera at the time of photographing is recorded. Also, the setting of not recording the orientation information detected at the time of shooting means that the orientation information indicating the horizontal position is recorded regardless of the orientation of the camera, and thus the vertical position information is not added.

1つ目の選択肢611は、回転表示設定として、再生時に画像を回転して表示することを設定し、かつ、静止画姿勢情報記録設定として、撮影時に検出した姿勢情報を記録することを設定するための選択肢である。選択肢611には、回転表示をすることを示す「する」という文字列と、カメラを示すアイコンと、PCを示すアイコンとを表示する。本実施形態では、PCを示すアイコンとしたが、カメラ以外の再生装置であれば他の装置を示すアイコンでもよい。ここのような表示を行うことにより、カメラ100において姿勢情報に基づく回転表示が行われること、他の再生装置においても姿勢情報に基づく回転表示が行われるようにするために、姿勢情報を記録することが分かる。 The first option 611 is an option for setting to rotate and display an image during playback as a rotation display setting, and to set recording of posture information detected at the time of shooting as a still image posture information recording setting. The option 611 displays a character string “Yes” indicating rotation display, an icon indicating a camera, and an icon indicating a PC. In this embodiment, the icon indicates a PC, but an icon indicating a playback device other than a camera may be used. By performing such a display, it can be understood that the orientation information is recorded so that the rotation display based on the orientation information is performed in the camera 100 and the rotation display based on the orientation information is performed in other playback devices.

2つ目の選択肢612は、回転表示設定として、再生時に画像を回転して表示しないことを設定し、かつ、静止画姿勢情報記録設定として、撮影時に検出した姿勢情報を記録することを設定するための選択肢である。選択肢612には、選択肢611と同様に「する」という文字列と、PCのアイコンを表示するが、カメラのアイコンは表示しない。このような表示を行うことにより、カメラ100においては、再生時に姿勢情報に基づく回転表示は行わないこと、かつ、PC等では、勢情報に基づく回転表示は行われる、つまり、撮影時に検出した姿勢情報自体は画像と共に記録されることが分かる。 A second option 612 is an option for setting not to rotate and display an image during playback as a rotation display setting, and for setting recording of posture information detected at the time of shooting as a still image posture information recording setting. As with the option 611, the option 612 displays the character string "do" and the icon of the PC, but does not display the icon of the camera. By performing such a display, it can be understood that the camera 100 does not rotate display based on the orientation information during playback, and that the rotation display based on the orientation information is performed on a PC or the like, that is, the orientation information itself detected at the time of shooting is recorded together with the image.

3つ目の選択肢613は、回転表示設定として、再生時に画像を回転して表示しないことを設定し、かつ、静止画姿勢情報記録設定として、撮影時に検出した姿勢情報を記録しないことを設定するための選択肢である。選択肢613では、再生時に姿勢情報に基づく回転表示をしないことを示す「しない」という文字列が表示される。これにより、カメラ100において再生時に姿勢情報に基づく回転表示を行わないこと、また、PC等でも、姿勢情報に基づく回転表示を行わない、つまり、撮影時の姿勢情報を記録しないこと、が分かる。 A third option 613 is an option for setting not to rotate and display an image during playback as a rotation display setting, and to set not to record orientation information detected at the time of shooting as a still image orientation information recording setting. An option 613 displays a character string "no" indicating that rotation display based on orientation information is not performed during playback. This makes it possible to know that the camera 100 does not rotate display based on the orientation information during playback, and that the PC or the like does not perform rotation display based on the orientation information, that is, does not record the orientation information at the time of shooting.

このように選択肢群を表示することで、回転表示設定と静止画姿勢情報記録設定の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 cursor 614 indicates the currently selected option. The system control unit 50 moves the cursor 614 according to the operation of the up and down buttons. When the set button is operated, the system control unit 50 stores the still image orientation information recording setting and rotation display setting corresponding to the currently selected option in the nonvolatile memory 56, and terminates the still image vertical position information setting screen.

動画用縦位置情報設定画面では、図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 first option 621 is an option for setting recording of the orientation information of the camera 100 detected during shooting of the moving image, and displays a character string "Yes" indicating that the orientation information is to be recorded.

2つ目の選択肢622は、動画において撮影時に検出したカメラ100の姿勢情報を記録しないことを設定するための選択肢であり、姿勢情報を記録しないことを示す「しない」という文字列が表示される。 The second option 622 is an option for setting not to record the orientation information of the camera 100 detected during shooting of the moving image, and displays a character string "not" indicating that the orientation information is not to be recorded.

623はカーソルで、現在選択されている選択肢を示している。上下ボタンの操作に応じて、システム制御部50はカーソル623を移動させる。セットボタンが操作されると、システム制御部50は、現在選択されている選択肢に対応する動画姿勢情報記録設定を不揮発性メモリ56に記憶し、動画用縦位置情報設定画面を終了する。 A cursor 623 indicates the currently selected option. The system control unit 50 moves the cursor 623 according to the operation of the up and down buttons. When the set button is operated, the system control unit 50 stores the moving image orientation information recording setting corresponding to the currently selected option in the nonvolatile memory 56, and exits the moving image vertical position information setting screen.

以上、図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 setting tab 603 regarding the camera function on the menu screen is selected, but they may be displayed when the setting tab 601 regarding shooting is selected. When displaying by selecting the setting tab 601 related to shooting, whether or not to display setting items for still image orientation information recording settings and setting items for moving image orientation information recording settings may be switched according to the shooting mode of the camera. For example, in the case of the still image shooting mode, the setting items of the still image orientation information recording setting may be displayed and the setting items of the moving image orientation information recording setting may be hidden, and in the case of the moving image shooting mode, the setting items of the moving image orientation information recording setting may be displayed and the setting items of the still image orientation information recording setting may be hidden. Alternatively, if moving image shooting is possible with the moving image shooting button 65 even in the still image shooting mode, both setting items for still image attitude information recording setting and moving image attitude information recording setting are displayed in the still image shooting mode. In the case of the moving image shooting mode, the setting items for the moving image orientation information recording setting may be displayed, and the setting items for the still image orientation information recording setting may not be displayed.

次に、図4のフローチャートを用いてカメラ100における撮影モード時の処理について説明する。なお、図4のフローチャートの処理は、システム制御部50が、不揮発性メモリ56に記録されているプログラムを読み出して、プログラムに基づいて各部の制御や演算処理を行うことにより実行される。 Next, processing in the shooting mode of the camera 100 will be described with reference to the flowchart of FIG. The processing of the flowchart of FIG. 4 is executed by the system control unit 50 reading out a program recorded in the nonvolatile memory 56 and controlling each unit and performing arithmetic processing based on the program.

まず、S401において、システム制御部50は、姿勢検知部55の出力結果、つまり、姿勢検知部55が検出したカメラ100の姿勢を取得する。 First, in S<b>401 , the system control unit 50 acquires the output result of the orientation detection unit 55 , that is, the orientation of the camera 100 detected by the orientation detection unit 55 .

次に、S402において、システム制御部50は、静止画撮影のためにユーザによりシャッターボタン61が押されたか否かの判定を行う。シャッターボタンが押されたと判定された場合は、S403に進み、シャッターボタンが操作されていない場合は、S407へ進む。 Next, in S402, the system control unit 50 determines whether or not the user has pressed the shutter button 61 for still image shooting. If it is determined that the shutter button has been pressed, the process advances to S403, and if the shutter button has not been operated, the process advances to S407.

S403では、システム制御部50は、静止画撮影処理を実行する。静止画撮影処理では、撮像部22で撮像により得られた信号をA/D変換器23でデジタルデータ(画像データ)に変換し、画像処理部24により静止画用の画像処理を実行して、メモリ32に書き込む。そして、システム制御部50は、メモリに書き込まれた画像データからJPEG等の画像ファイルを生成する。 In S403, the system control unit 50 executes still image shooting processing. In the still image photographing process, the signal obtained by imaging by the imaging unit 22 is converted into digital data (image data) by the A/D converter 23, and the image processing unit 24 executes image processing for the still image and writes it to the memory 32. Then, the system control unit 50 generates an image file such as JPEG from the image data written in the memory.

次に、S404において、システム制御部50は、不揮発性メモリ56に記憶されている静止画姿勢情報記録設定の設定値を読み出す。この設定値は、前に説明したように、設定画面においてユーザに設定された設定値である。静止画姿勢情報記録設定として撮影時に検出したカメラの姿勢情報を記録すること、つまり、静止画に縦位置情報を付加可能であることが設定されている場合は、S405に進む。そして、撮影時に検出したカメラの姿勢情報を記録しない、つまり、縦位置情報を付加しないことが設定されている場合は、S406に進む。 Next, in S<b>404 , the system control unit 50 reads the setting value of the still image orientation information recording setting stored in the nonvolatile memory 56 . This setting value is the setting value set by the user on the setting screen, as described above. If the recording of the orientation information of the camera detected at the time of shooting is set as the still image orientation information recording setting, that is, if it is set that vertical position information can be added to the still image, the process advances to step S405. If it is set not to record the orientation information of the camera detected at the time of shooting, that is, if it is set not to add vertical position information, the process advances to step S406.

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 system control unit 50 adds posture information indicating the angle (one of 0, 90, 180, and 270 degrees) detected by the posture detection unit 55 in S401 as metadata of the still image file. Then, the still image file to which the posture information is added is recorded on the recording medium 200 . Note that the orientation information added to the still image file in S405 is detected by the orientation detection unit 55 immediately before the still image is captured, so it is the orientation of the camera 100 when the still image was captured. The orientation of the camera 100 may be detected by the orientation detection unit 55 immediately after the instruction to shoot a still image, and the orientation information may be recorded. In the present embodiment, information indicating any one of 0 degrees, 90 degrees, 180 degrees, and 270 degrees is recorded as the posture information. In this way, in S405, the vertical position information indicating that the camera 100 is rotated by 90 degrees or 270 degrees can be added to the still image file and recorded. Then, the process proceeds to S418.

S406では、システム制御部50は、静止画姿勢情報記録設定として撮影時に検出した姿勢情報を記録しないことが設定されているので、S401で検出した姿勢の姿勢情報を静止画ファイルのメタデータに付加しない。その代わり、S401で検出した姿勢に関わらず、0度を示す情報(横位置情報)を静止画ファイルに付加する。そして、静止画ファイルを記録媒体200に記録する。つまり、カメラの姿勢が縦位置であることを示す縦位置情報は静止画ファイルに付加されないことになる。その後、S418に進む。 In S406, the system control unit 50 does not record the orientation information detected at the time of shooting as the still image orientation information recording setting, so the orientation information of the orientation detected in S401 is not added to the metadata of the still image file. Instead, regardless of the orientation detected in S401, information indicating 0 degrees (horizontal position information) is added to the still image file. Then, the still image file is recorded on the recording medium 200 . In other words, vertical position information indicating that the camera is in the vertical position is not added to the still image file. After that, the process proceeds to S418.

S407では、システム制御部50は、動画記録ボタン65が押されたか、つまり、動画記録開始指示が入力されたか否かの判定を行う。動画記録開始ボタンが押された場合は、S408に進み、動画記録開始ボタンが押されていない場合は、S418に進む。 In S407, the system control unit 50 determines whether the moving image recording button 65 has been pressed, that is, whether or not a moving image recording start instruction has been input. If the moving image recording start button has been pressed, the process proceeds to S408, and if the moving image recording start button has not been pressed, the process proceeds to S418.

S408では、システム制御部50は、不揮発性メモリ56に記憶されている動画姿勢情報記録設定の設定値を読み出し、動画姿勢情報記録設定として撮影時に検出した姿勢情報を記録する設定がされているか否かを判定する。撮影時に検出した姿勢情報を記録する、つまり、縦位置情報を付加可能であることが設定されている場合はS409に進む。そして、撮影時に検出した姿勢情報を記録しない、つまり、縦位置情報を付加しないことが設定されている場合はS411へ進む。 In S408, the system control unit 50 reads the setting value of the moving image orientation information recording setting stored in the nonvolatile memory 56, and determines whether or not the setting to record the orientation information detected at the time of shooting is set as the moving image orientation information recording setting. If orientation information detected at the time of shooting is recorded, that is, if vertical position information can be added, the process advances to step S409. Then, if it is set not to record the orientation information detected at the time of shooting, that is, if it is set not to add vertical position information, the process advances to step S411.

S409では、システム制御部50は、現在の動画の撮影モード/記録モードが、チャプタ―情報ありの動画ファイルとして動画を記録するモードであるかを判定する。チャプター情報ありの動画を記録すると判定された場合は、S410に進み、チャプタ―情報なしの動画を記録すると判定された場合は、S411に進む。 In S409, the system control unit 50 determines whether the current moving image shooting mode/recording mode is a mode for recording a moving image as a moving image file with chapter information. If it is determined to record a moving image with chapter information, the process advances to S410, and if it is determined to record a moving image without chapter information, the process advances to S411.

S410では、システム制御部50は、S401で姿勢検知部55が検出したカメラ100の姿勢(0度、90度、180度、270度の角度のうちの何れか)を、これから撮影して記録する動画の姿勢情報として設定し、メモリ32に記録する。S401で検出した姿勢は、動画撮影直前のカメラの姿勢となるため、動画撮影開始時(動画データの記録開始時)のカメラ100の姿勢である。動画撮影開始の指示の直後に姿勢検知部55によりカメラ100の姿勢を検出し、姿勢情報を設定するようにしてもよい。 In S410, the system control unit 50 sets the orientation of the camera 100 detected by the orientation detection unit 55 in S401 (one of 0, 90, 180, and 270 degrees) as orientation information for a moving image to be shot and recorded, and records it in the memory 32. The orientation detected in S401 is the orientation of the camera 100 immediately before moving image shooting, and thus is the orientation of camera 100 at the start of moving image shooting (at the start of recording moving image data). The posture of the camera 100 may be detected by the posture detection unit 55 immediately after the instruction to start moving image shooting, and the posture information may be set.

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 memory 32 . In S411, orientation information corresponding to the detected orientation of the camera is not recorded, that is, in order not to record vertical position information, orientation information (horizontal position information) indicating 0 degrees is set regardless of the orientation of the camera 100 detected by the orientation detection unit 55 in S401.

ここで、チャプター情報を持つ動画とは、複数回の撮影開始指示で撮影された複数の異なる動画を連続して再生する目的で記録される動画であり、複数の動画ファイルに互いの関連情報を持っている。それぞれの動画ファイルが関連性を持っており、各動画ファイルの動画データが一連の動画のチャプターとして構成されるものである。チャプター情報を持つ動画として、本実施例では、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 camera 100 is vertical at the time of moving image shooting, the orientation information indicating the horizontal orientation is added instead of the orientation information indicating the vertical orientation.

S412において、システム制御部50は、動画記録処理を実行するように制御する。動画記録処理では、撮像部22で設定されたフレームレートで連続的に撮像を行い、撮像により得られた信号をA/D変換器23でデジタルデータに変換して連続画像、つまり動画データを取得する。取得した動画データに対して画像処理部24により動画用の画像処理及び圧縮符号化処理を実行して、複数の連続画像データ(動画データ)をメモリ32に書き込む。そして、システム制御部50は、メモリ32に書き込まれた複数の連続画像データ(動画データ)をMPEG等の動画ファイルとして、記録媒体I/F18を介して記録媒体200に記録する記録制御を行う。 In S412, the system control unit 50 controls to execute the moving image recording process. In the moving image recording process, images are continuously captured at a frame rate set by the imaging unit 22, and the signals obtained by the imaging are converted into digital data by the A/D converter 23 to acquire continuous images, that is, moving image data. The image processing unit 24 performs image processing for moving images and compression encoding processing on the acquired moving image data, and writes a plurality of continuous image data (moving image data) in the memory 32 . Then, the system control unit 50 performs recording control to record the plurality of continuous image data (moving image data) written in the memory 32 as a moving image file such as MPEG in the recording medium 200 via the recording medium I/F 18 .

S413では、システム制御部は、再度動画記録ボタン65がユーザに操作されて、動画記録終了指示が入力されたかを判定する。動画記録終了指示が入力されたと判定された場合はS414に進み、動画記録終了指示が入力されていない場合はS415に進む。 In S413, the system control unit determines whether the moving image recording button 65 has been operated by the user again to input a moving image recording end instruction. If it is determined that the moving image recording end instruction has been input, the process proceeds to S414, and if the moving image recording end instruction has not been input, the process proceeds to S415.

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 memory 32 to the recording medium 200, and records the moving image data obtained by shooting from the moving image recording start instruction to the moving image recording end instruction on the recording medium 200 as a moving image file. Then, in S414, the orientation information set in the memory 32 is read, and the orientation information read out from the memory 32 is recorded as metadata of the moving image file. That is, the orientation information set in S410 or S411, or the orientation information set in S417 when file division processing is performed, is added to the metadata of the movie file, and the movie file is recorded on the recording medium 200. If the orientation information is set in S410, the orientation information of the camera detected at the start of moving image shooting is added to the moving image file, so vertical position information can be added. If the orientation information is set in S411, regardless of the orientation of the camera, the horizontal position information of 0 degrees indicating no rotation is recorded as the orientation information of the moving image file, so the vertical position information is not recorded. The orientation information set in S417 will be described later.

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 system control unit 50 executes file division processing, records the moving image data recorded in the memory 32 so far as a moving image file, and closes the moving image file. At this time, the system control unit 50 reads the orientation information set in the memory 32 and records the orientation information read from the memory 32 as metadata of the moving image file, as in S414. That is, as the metadata of the moving image file, the orientation information set in S410 or S411, or if the file division processing has already been performed, the orientation information set when the file division processing was performed in S417 is recorded. By the file splitting process, posture information is recorded in the moving image file before file splitting (that is, the moving image file containing the moving image data at the start of shooting) in the same way as when the file is not split normally.

S417では、システム制御部50は、ファイル分割処理により別の新たな動画ファイルを生成し、以降は、S412の動画記録処理においては、新たに生成した分割後の動画ファイルに動画データが記録する。そして、分割後の動画ファイルには、分割前の動画ファイルと同じ姿勢情報が記録されるように設定する。分割前の動画ファイルには、メモリ32に設定されている姿勢情報が記録されるので、メモリ32の姿勢情報の設定を変更せずに次回の動画ファイルの記録終了時にも、同じ姿勢情報が記録されるようにする。そして、S412に進み、新たに作成した分割後の動画ファイルへの動画記録処理を実行する。 In S417, the system control unit 50 generates another new moving image file by file division processing, and thereafter, in the moving image recording processing of S412, moving image data is recorded in the newly generated divided moving image file. Then, the moving image file after division is set to record the same posture information as that of the moving image file before division. Since the posture information set in the memory 32 is recorded in the moving picture file before division, the same posture information is recorded even when the recording of the next moving picture file is finished without changing the setting of the posture information in the memory 32.例文帳に追加Then, the process advances to S412 to execute moving image recording processing to the newly created divided moving image file.

このように、動画ファイルを記録する場合は、動画姿勢情報記録設定や、チャプター情報がある動画の記録であるか否か、ファイル分割処理を行うか否かに応じて、姿勢情報の記録方法を切り替えている。 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 system control unit 50 determines whether or not the operation unit 70 has been operated to end the shooting mode. The system control unit 50 terminates this process if there is an operation to end the shooting mode, and returns to S401 and repeats the process if there is no operation to end the shooting mode.

以上が、撮影モードにおける処理である。 The above is the processing in the shooting mode.

次に、図7を参照してカメラ100における再生モードでの画像表示処理について説明する。 Next, image display processing in the playback mode in camera 100 will be described with reference to FIG.

図7は、再生モードにおける画像表示処理を示すフローチャートである。このフローチャートの処理は、システム制御部50が、不揮発性メモリ56に記録されているプログラムを読み出して、プログラムに基づいて各部の制御や演算処理を行うことにより実行される。 FIG. 7 is a flowchart showing image display processing in playback mode. The processing of this flowchart is executed by the system control unit 50 reading out a program recorded in the nonvolatile memory 56 and controlling each unit and performing arithmetic processing based on the program.

まず、S701において、システム制御部50は、記録媒体200から、表示対象となる画像ファイルを読み出す。表示対象として読みだす画像ファイルは、最新の画像ファイルから1つずつ順に読みだす。 First, in S<b>701 , the system control unit 50 reads an image file to be displayed from the recording medium 200 . Image files to be read as display targets are read one by one from the newest image file.

次に、S702において、システム制御部50は、S701で読みだした表示対象の画像ファイルが、静止画ファイルであるか、動画ファイルであるかを判定する。システム制御部50は、画像ファイルの拡張子やメタデータから、表示対象の画像ファイルが、静止画ファイルであるか動画ファイルであるかを判定する。静止画ファイルと判定される場合は、S703に進み、静止画ファイルではなく、動画ファイルである場合は、S706に進む。 Next, in S702, the system control unit 50 determines whether the image file to be displayed read in S701 is a still image file or a moving image file. The system control unit 50 determines whether the image file to be displayed is a still image file or a moving image file from the extension and metadata of the image file. If it is determined to be a still image file, the process advances to S703, and if it is not a still image file but a moving image file, the process advances to S706.

S703では、システム制御部50は、不揮発性メモリ56から、再生するときに回転させて表示するかしないかを示す回転表示の設定値を読み出し、回転表示することが設定されている場合はS704に進み、回転表示しないことが設定されている場合は、S706に進む。 In S703, the system control unit 50 reads from the non-volatile memory 56 a setting value for rotating display that indicates whether or not to rotate and display during playback, and proceeds to S704 if rotating display is set, and proceeds to S706 if not rotating display is set.

次に、S704では、システム制御部50は、S701で読みだした表示対象の静止画ファイルのメタデータから、姿勢情報(縦位置情報)を読み出し、読み出した姿勢情報が0度であるかを判定する。姿勢情報が0度でない場合は、S705に進み、姿勢情報が0度の場合、または、姿勢情報が記録されていない場合は、S706に進む。 Next, in S704, the system control unit 50 reads posture information (vertical position information) from the metadata of the still image file to be displayed read in S701, and determines whether the read posture information is 0 degrees. If the orientation information is not 0 degrees, the process advances to S705, and if the orientation information is 0 degrees or the orientation information is not recorded, the process advances to S706.

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 liquid crystal monitor 27. FIG. When the image is rotated and displayed, it is displayed so that the entire rotated image fits within the display screen. That is, the image is displayed with blank areas added to the left and right of the image. The blank area may be displayed in black, white, or a color determined according to the image. Then, the process proceeds to S707.

S706では、システム制御部50は、S701で読みだした画像ファイルの画像データを回転せずに液晶モニタ27表示する。そして、S707に進む。 In S706, the system control unit 50 displays the image data of the image file read out in S701 on the liquid crystal monitor 27 without rotation. Then, the process proceeds to S707.

S707では、システム制御部50は、ユーザにより左右ボタンが操作され、画像送り(戻し)の指示があったか否かを判定する。システム制御部50は、画像送り(戻し)の指示があった場合は、次の画像ファイルに対する表示処理を行うため、S701に戻る。画像送りの指示の場合は、次の画像ファイルについてS701以降の処理を行い、画像戻しの指示の場合は、前の画像ファイルについてS701以降の処理を行う。 In S707, the system control unit 50 determines whether or not the user has operated the left/right button to instruct image forwarding (returning). When the system control unit 50 receives an image forwarding (returning) instruction, the system control unit 50 returns to S701 in order to perform display processing for the next image file. In the case of an image forwarding instruction, the processing after S701 is performed for the next image file, and in the case of the image returning instruction, the processing after S701 is performed for the previous image file.

S708では、システム制御部50は、ユーザの操作により、再生モード終了の指示や、他の処理の指示等を含む、画像表示処理の終了の指示があったかを判定する。システム制御部50は、画像表示処理の終了の指示がない場合は、S707に戻り、画像表示処理の終了の指示があった場合は、本処理を終了する。 In S708, the system control unit 50 determines whether an instruction to end the image display process including an instruction to end the reproduction mode, an instruction to perform other processing, or the like has been issued by the user's operation. The system control unit 50 returns to S707 if there is no instruction to end the image display process, and ends this process if there is an instruction to end the image display process.

このように、本実施形態のカメラ100では、画像ファイルが動画ファイルの場合は、設定画面で設定された画像の回転表示の設定や画像ファイルの姿勢情報に関わらず、動画データを回転せずに表示することになる。それに対し、画像ファイルが静止画ファイルの場合は、設定画面によって画像の回転表示(回転して再生)の設定と、画像ファイルの姿勢情報とに応じて、画像データを回転して表示することになる。 As described above, in the camera 100 of the present embodiment, when the image file is a moving image file, the moving image data is displayed without being rotated regardless of the image rotation display setting set on the setting screen and the orientation information of the image file. On the other hand, when the image file is a still image file, the image data is rotated and displayed according to the image rotation display (reproduced by rotation) setting on the setting screen and the attitude information of the image file.

本実施形態のカメラ100では、動画データについては、回転せずに表示している。画像を回転して表示すると、画像が小さく表示されることになり、また、回転処理の処理負荷が増加してしまう。動画の場合は、1つの動画の再生中は画像の縦横位置状態は同じとなるため、カメラ100の向きを変えて閲覧すればよい。それに対し、静止画を順次再生する場合は、静止画によって姿勢情報が異なる。画像毎に画像の縦横姿勢に応じてカメラ100の向きを変えて閲覧することは手間となってしまう。そのため、本実施形態のカメラ100では、静止画を順次再生するような場合であっても画像を確認しやすいように、姿勢情報に応じて回転して表示することが回転表示の設定に応じて可能となるようにしている。 In the camera 100 of this embodiment, moving image data is displayed without being rotated. If an image is rotated and displayed, the image will be displayed in a smaller size, and the processing load of the rotation process will increase. In the case of moving images, since the vertical and horizontal positions of the images remain the same during the reproduction of one moving image, the images can be viewed by changing the orientation of the camera 100 . On the other hand, when still images are reproduced sequentially, posture information differs depending on the still images. It is troublesome to change the orientation of the camera 100 for each image according to the orientation of the image. Therefore, in the camera 100 of the present embodiment, it is possible to rotate and display images according to the orientation information so that the images can be easily confirmed even when the still images are sequentially reproduced, according to the rotation display setting.

[その他の実施形態]
以上、本実施例ではカメラの縦位置情報付加方法について説明した。システム制御部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 system control unit 50 may be performed by one piece of hardware (a processor such as a CPU), or may be performed by a plurality of pieces of hardware sharing the processing to control the entire apparatus. In addition, although the present invention has been described in detail based on its preferred embodiments, the present invention is not limited to these specific embodiments, and various forms that do not depart from the gist of the present invention are also included in the present invention. Furthermore, each embodiment described above merely shows one embodiment of the present invention, and it is also possible to combine each embodiment as appropriate.

また、上述の実施形態の機能を実現するソフトウェアのプログラムを、記録媒体から直接、或いは有線/無線通信を用いてプログラムを実行可能なコンピュータを有するシステム又は装置に供給し、そのプログラムを実行する場合も本発明に含む。 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の設定手段による設定に基づいて前記検出手段により検出した姿勢を示す姿勢情報を静止画と共に記録するか否かを制御し、動画を記録する際には、前記第2の設定手段による設定に基づいて前記検出手段により検出した姿勢を示す姿勢情報を動画と共に記録するか否かを制御することを特徴とする請求項1に記載の撮像装置。 2. The imaging apparatus according to claim 1, wherein when recording a still image, said control means controls whether or not to record together with the still image the attitude information indicating the attitude detected by said detecting means based on the setting by said first setting means, and when recording a moving image, controls whether or not to record together with the moving image the attitude information indicating the attitude detected by said detecting means based on the setting made by said second setting means. 前記制御手段は、前記検出手段により検出した姿勢に基づく姿勢情報を記録しない設定がされている場合は、前記撮像装置が回転していない状態である所定の姿勢であることを示す姿勢情報を撮影した静止画又は動画と共に記録するように制御する、ことを特徴とする請求項2に記載の撮像装置。 3. The imaging apparatus according to claim 2, wherein, when the orientation information based on the orientation detected by the detection unit is set not to be recorded , the control unit performs control to record the orientation information indicating that the imaging apparatus is in a predetermined orientation in which the imaging apparatus is not rotated, together with the photographed still image or moving image. 前記記録媒体に記録された画像を再生する再生手段を有し、
前記再生手段は、静止画を再生する際には、前記第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 .
設定画面を表示するように制御する表示制御手段を更に有することを特徴とする請求項1に記載の撮像装置。2. The imaging apparatus according to claim 1, further comprising display control means for controlling display of the setting screen. 前記設定画面において静止画用縦位置情報設定のための第1の設定項目が選択されたときに、前記表示制御手段は、静止画と共に姿勢情報を記録するか否か、及び、静止画を再生する際に姿勢情報に基づいて回転して表示するか否かを設定するための第1の選択肢群を前記設定画面に表示するように制御し、前記第1の設定手段は、前記第1の選択肢群のうちのいずれか1つの選択肢の選択に応じて、静止画と共に姿勢情報を記録するか否か、及び、静止画を再生する際に姿勢情報に基づいて回転して表示するか否かを設定し、前記設定画面において動画用縦位置情報設定のための第2の設定項目が選択されたときに、When a first setting item for setting vertical position information for a still image is selected on the setting screen, the display control means controls to display on the setting screen a first option group for setting whether or not to record the orientation information together with the still image and whether or not to rotate and display the still image based on the orientation information when reproducing the still image, and the first setting means controls whether or not to record the orientation information along with the still image according to the selection of any one option from the first option group. and whether or not to rotate and display a still image based on the orientation information when reproducing the still image, and when the second setting item for moving image vertical position information setting is selected on the setting screen
前記表示制御手段は、動画と共に姿勢情報を記録するか否かを設定するための第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の設定項目と前記第2の設定項目を同時に表示させることを特徴とする請求項6に記載の撮像装置。7. The imaging apparatus according to claim 6, wherein said display control means simultaneously displays said first setting item and said second setting item on said setting screen. 前記表示制御手段は、
前記第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:
前記表示制御手段は、前記第1の選択肢には、姿勢情報に基づいて画像を回転して再生することを示す第1の文字列と、撮像装置を示す第1のアイコンと、撮像装置以外の再生装置を示す第2のアイコンと、を表示し、前記第2の選択肢には、前記第1のアイコンは表示せず、前記第1の文字列と、前記第2のアイコンと、を表示し、前記第3の選択肢には、姿勢情報に基づいて画像を回転せずに再生することを示す第3の文字列を表示するように制御する、
ことを特徴とする請求項に記載の撮像装置。
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:
前記第1の設定項目は文字列で表示し、前記第2の設定項目は、文字列と動画に関するアイコンとを表示することを特徴とする請求項6に記載の撮像装置。 7. The imaging apparatus according to claim 6, wherein the first setting item is displayed as a character string, and the second setting item is displayed as a character string and an icon related to moving images. 前記制御手段は、チャプター情報を有する動画、又は、複数回の撮影指示により撮影された複数の動画が1つの動画として記録される動画の場合は、前記第2の設定手段による設定に関わらず、動画と共に前記検出手段により検出された姿勢に基づく姿勢情報を記録しないように制御することを特徴とする請求項1乃至10のいずれか1項に記載の撮像装置。 11. The imaging apparatus according to any one of claims 1 to 10 , wherein, in the case of a moving image having chapter information or a moving image in which a plurality of moving images shot by a plurality of shooting instructions are recorded as one moving image, the control means controls not to record posture information based on the posture detected by the detecting means together with the moving image regardless of the setting by the second setting means. 動画の記録中に所定の条件を満たした場合に、記録中の動画を複数のファイルに分割して記録するように制御する記録制御手段を更に有し、
前記制御手段は、動画の撮影開始時には、前記第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.
前記制御手段は、動画と共に前記検出手段により検出した姿勢に基づく姿勢情報を記録する場合は、前記動画の撮影開始時に前記検出手段により検出した姿勢に基づく姿勢情報を記録するように制御することを特徴とする請求項1乃至12のいずれか1項に記載の撮像装置。 13. The imaging apparatus according to any one of claims 1 to 12 , wherein, when the orientation information based on the orientation detected by the detection unit is recorded along with the moving image, the control unit performs control to record the orientation information based on the orientation detected by the detection unit when shooting of the moving image is started. 前記第1の設定手段により設定される第1の設定項目と、前記第2の設定手段により設定される第2の設定項目と、を表示部に表示するように制御する表示制御手段を有し、
前記表示制御手段は、前記撮像装置の動作モードに応じて、前記第2の設定項目を表示しないように制御することを特徴とする請求項1乃至のいずれか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:
コンピュータを、請求項1乃至14のいずれか1項に記載の前記撮像装置の各手段として機能させるためのプログラム。 A program for causing a computer to function as each means of the imaging apparatus according to any one of claims 1 to 14 . 請求項15に記載の制御方法をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute the control method according to claim 15 .
JP2019068849A 2019-03-29 2019-03-29 Imaging device and control method Active JP7313865B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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