JP5658580B2 - Imaging apparatus, control method therefor, program, and recording medium - Google Patents

Imaging apparatus, control method therefor, program, and recording medium Download PDF

Info

Publication number
JP5658580B2
JP5658580B2 JP2011017113A JP2011017113A JP5658580B2 JP 5658580 B2 JP5658580 B2 JP 5658580B2 JP 2011017113 A JP2011017113 A JP 2011017113A JP 2011017113 A JP2011017113 A JP 2011017113A JP 5658580 B2 JP5658580 B2 JP 5658580B2
Authority
JP
Japan
Prior art keywords
image
aspect ratio
shooting
mode
recording operation
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
JP2011017113A
Other languages
Japanese (ja)
Other versions
JP2012160784A5 (en
JP2012160784A (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 JP2011017113A priority Critical patent/JP5658580B2/en
Publication of JP2012160784A publication Critical patent/JP2012160784A/en
Publication of JP2012160784A5 publication Critical patent/JP2012160784A5/ja
Application granted granted Critical
Publication of JP5658580B2 publication Critical patent/JP5658580B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Description

本発明は、静止画撮影と動画撮影といったような複数種類の記録動作が可能な撮像装置、及びその制御方法に関する。   The present invention relates to an imaging apparatus capable of a plurality of types of recording operations such as still image shooting and moving image shooting, and a control method thereof.

従来、静止画のアスペクト比と動画のアスペクト比をそれぞれ独立に設定することができる撮像装置が提案されている(特許文献1)。特許文献1では、同一のスルー画像の表示画面において、静止画のアスペクト比と動画のアスペクト比との双方を識別可能に表示することが記載されている。   2. Description of the Related Art Conventionally, there has been proposed an imaging apparatus capable of independently setting the still image aspect ratio and the moving image aspect ratio (Patent Document 1). Japanese Patent Application Laid-Open No. 2004-228561 describes that both the still image aspect ratio and the moving image aspect ratio are displayed in a distinguishable manner on the same through-image display screen.

また、撮像される画像の一部の領域に対して画像処理を施すことも行われている。特許文献2では、車載カメラによる車両周辺の撮像画像をモニタ画面に表示するとき、撮像画像の一部エリアと前記一部エリアを除いた他エリアとで画像表示の鮮鋭度を異ならせる技術が記載されている。   In addition, image processing is also performed on a partial area of an image to be captured. Japanese Patent Application Laid-Open No. 2004-228561 describes a technique for differentiating the sharpness of image display between a partial area of a captured image and another area excluding the partial area when a captured image around a vehicle by an in-vehicle camera is displayed on a monitor screen. Has been.

特開2006−148273号公報JP 2006-148273 A 特許第3941926号Japanese Patent No. 3944926

静止画のアスペクト比と動画のアスペクト比をそれぞれ独立に設定することができる撮像装置(特許文献1)で、画像の一部の領域に対して視覚的効果を加える画像効果処理(特許文献2)を、ユーザが指定した位置(領域)に基づいて施すことを考える。ここで、画像効果処理を施すための位置(領域)を静止画と動画で共通に指定するものとすると、静止画と動画で設定されたアスペクト比が異なる場合に、静止画と動画とで画像処理を施した結果の印象が食い違う可能性がある。すなわち、画像効果処理を施すための位置を指定した際のユーザの意図とは異なる画像処理結果となる画像が記録されてしまう。これは、静止画と動画のアスペクト比が異なるために、画像効果処理のために指定した位置が静止画と動画とで異なってしまうことに起因する。   Image effect processing that adds a visual effect to a partial region of an image (Patent Document 1) with an imaging device (Patent Document 1) that can independently set an aspect ratio of a still image and an aspect ratio of a moving image. Is considered based on the position (area) designated by the user. Here, if the position (area) for performing image effect processing is specified in common for still images and moving images, the still images and the moving images will differ if the aspect ratios set for the still images and moving images are different. There is a possibility that the impression of the result of processing is different. That is, an image having an image processing result different from the user's intention when the position for performing the image effect processing is designated is recorded. This is because the position specified for the image effect processing differs between the still image and the moving image because the aspect ratios of the still image and the moving image are different.

本発明は上述した課題に鑑みてなされたものであり、ユーザが指定した位置に基づいて画像効果処理を施す撮影を、異なる種類の記録動作(例えば静止画と動画)において、ユーザの意図どおりに実行させ得る撮像装置を提供することを目的とする。   The present invention has been made in view of the above-described problems, and performs shooting that performs image effect processing based on a position designated by a user in different types of recording operations (for example, still images and moving images) as intended by the user. An object is to provide an imaging apparatus that can be executed.

上記の目的を達成するための本発明の一態様による撮像装置は以下の構成を備える。すなわち、
数種類の記録動作が可能な撮像装置であって、
ユーザの操作に応じて第1の記録動作のための第1のアスペクト比を設定する第1の設定手段と、
ユーザの操作に応じて第2の記録動作のための第2のアスペクト比を設定する第2の設定手段と、
前記第1のアスペクト比でもって表示部への画像表示を行なう表示制御手段と、
前記画像表示により前記表示部に表示されている画像において範囲をユーザに指定させる指定手段と、
前記第1または第2の記録動作で撮影された画像に、前記指定手段で指定された範囲を用いて画像処理を施す画像処理手段と、
前記第2の記録動作での撮影を前記画像処理を施しながら行う場合は、前記第2の記録動作におけるアスペクト比を前記第1のアスペクト比に変更して撮影を実行し、そうでない場合は前記第2のアスペクト比で前記第2の記録動作による撮影を実行する実行手段と、を備える。
In order to achieve the above object, an imaging apparatus according to an aspect of the present invention has the following arrangement. That is,
A double several recording operation image pickup apparatus capable,
First setting means for setting a first aspect ratio for the first recording operation in accordance with a user operation;
Second setting means for setting a second aspect ratio for the second recording operation in accordance with a user operation;
Display control means for displaying an image on the display unit with the first aspect ratio;
Designation means for allowing the user to designate a range in the image displayed on the display unit by the image display;
Image processing means for performing image processing on the image photographed by the first or second recording operation using a range designated by the designation means;
When shooting in the second recording operation is performed while performing the image processing, shooting is performed by changing the aspect ratio in the second recording operation to the first aspect ratio, and otherwise, the shooting is performed. Execution means for executing photographing by the second recording operation at a second aspect ratio.

本発明によれば、ユーザが指定した位置に基づいて画像効果処理を施す撮影を、異なる種類の記録動作(例えば静止画と動画)において、ユーザの意図どおりに実行させることが可能となる。   According to the present invention, it is possible to perform photographing that performs image effect processing based on a position designated by the user as intended by the user in different types of recording operations (for example, still images and moving images).

本発明の撮像装置の一例としてのデジタルカメラの外観図。1 is an external view of a digital camera as an example of an imaging apparatus of the present invention. 本実施形態のデジタルカメラの構成を示すブロック図。1 is a block diagram illustrating a configuration of a digital camera according to an embodiment. デジタルカメラ100の全体的な動作のフローチャート。5 is a flowchart of the overall operation of the digital camera 100. デジタルカメラ100の静止画記録モードのフローチャート。4 is a flowchart of a still image recording mode of the digital camera 100. デジタルカメラ100の静止画記録モードのフローチャート。4 is a flowchart of a still image recording mode of the digital camera 100. デジタルカメラ100のアスペクト比切替処理を示すフローチャート。5 is a flowchart showing an aspect ratio switching process of the digital camera 100. デジタルカメラ100の動画ボタン撮影処理を示すフローチャート。5 is a flowchart showing a moving image button shooting process of the digital camera 100. デジタルカメラ100の動画記録モード処理を示すフローチャート。5 is a flowchart showing moving image recording mode processing of the digital camera 100. 実施形態の効果を説明する図。The figure explaining the effect of embodiment.

以下、添付の図面を参照して本発明の好適な実施形態の一例について説明する。尚、以下に説明する実施形態では、本発明による装置、方法を静止画像と動画といった複数種類の記録動作による撮影が可能なデジタルカメラである撮像装置に適用した場合を例にして説明する。   Hereinafter, an example of a preferred embodiment of the present invention will be described with reference to the accompanying drawings. In the embodiments described below, a case where the apparatus and method according to the present invention are applied to an imaging apparatus that is a digital camera capable of shooting by a plurality of types of recording operations such as still images and moving images will be described as an example.

《デジタルカメラの構成について》
図1Aに本実施形態による撮像装置としてのデジタルカメラの外観図を示す。表示部28は例えば液晶パネル(LCD)等を具備し、画像や各種情報を表示するのに用いられる。シャッターボタン61は撮影指示を行うための操作ボタンである。動画ボタン63は動画撮影を開始・終了の指示を行うための操作ボタンである。モード切替スイッチ60は各種モードを切り替えるための操作部である。コネクタ112は接続ケーブル111とデジタルカメラ100とを接続するためのコネクタである。操作部70はユーザからの各種操作を受け付ける各種スイッチ、ボタン、タッチパネル等の操作部材を含む。コントローラホイール73は操作部70に含まれる回転操作可能な操作部材である。電源スイッチ72は、デジタルカメラ100における電源のオン、オフを切り替える。記録媒体200は、メモリカードやハードディスク等の記録媒体である。記録媒体スロット201は記録媒体200を格納するためのスロットである。記録媒体スロット201に格納された記録媒体200は、デジタルカメラ100との通信が可能となる。蓋202は記録媒体スロット201を開閉するための蓋である。
《Digital camera configuration》
FIG. 1A shows an external view of a digital camera as an imaging apparatus according to the present embodiment. The display unit 28 includes a liquid crystal panel (LCD), for example, and is used to display images and various information. The shutter button 61 is an operation button for giving a shooting instruction. The moving image button 63 is an operation button for instructing start / end of moving image shooting. The mode switch 60 is an operation unit for switching various modes. The connector 112 is a connector for connecting the connection cable 111 and the digital camera 100. The operation unit 70 includes operation members such as various switches, buttons, and a touch panel that receive various operations from the user. The controller wheel 73 is a rotatable operation member included in the operation unit 70. The power switch 72 switches on / off the power supply in the digital camera 100. The recording medium 200 is a recording medium such as a memory card or a hard disk. The recording medium slot 201 is a slot for storing the recording medium 200. The recording medium 200 stored in the recording medium slot 201 can communicate with the digital camera 100. A lid 202 is a lid for opening and closing the recording medium slot 201.

図1Bは、本実施形態によるデジタルカメラ100の構成例を示すブロック図である。図1Bにおいて、撮影レンズ103はズームレンズ、フォーカスレンズを含むレンズ群である。シャッター101は絞り機能を備えた機械的なシャッターである。撮像部22は光学像を電気信号に変換するCCDやCMOS素子等で構成される撮像素子を有する。A/D変換器23は、撮像部22から出力されるアナログ信号をデジタル信号に変換する。レンズバリア102は、デジタルカメラ100の、撮影レンズ103を含む撮像系を覆うことにより、撮影レンズ103、シャッター101、撮像部22を含む撮像系の汚れや破損を防止する。   FIG. 1B is a block diagram illustrating a configuration example of the digital camera 100 according to the present embodiment. In FIG. 1B, the photographing lens 103 is a lens group including a zoom lens and a focus lens. The shutter 101 is a mechanical shutter having an aperture function. The imaging unit 22 has an imaging device composed of a CCD, a CMOS device, or the like that converts an optical image into an electrical signal. The A / D converter 23 converts the analog signal output from the imaging unit 22 into a digital signal. The lens barrier 102 covers the imaging system including the imaging lens 103 of the digital camera 100, thereby preventing the imaging system including the imaging lens 103, the shutter 101, and the imaging unit 22 from becoming dirty or damaged.

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

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

また、メモリ32は画像表示用のメモリ(ビデオメモリ)を兼ねている。D/A変換器13は、メモリ32に格納されている画像表示用のデータをアナログ信号に変換して表示部28に供給する。こうして、メモリ32に書き込まれた表示用の画像データはD/A変換器13を介して表示部28により表示される。表示部28は、LCD等の表示器上に、D/A変換器13からのアナログ信号に応じた表示を行う。A/D変換器23によって一度A/D変換されメモリ32に蓄積されたデジタル信号をD/A変換器13においてアナログ変換し、表示部28に逐次転送して表示することで、スルー画像表示を行なうことができる。こうして、表示部28はリアルタイムな動画表示を行って電子ビューファインダとしての機能を提供する。   The memory 32 also serves as an image display memory (video memory). The D / A converter 13 converts the image display data stored in the memory 32 into an analog signal and supplies the analog signal to the display unit 28. Thus, the display image data written in the memory 32 is displayed on the display unit 28 via the D / A converter 13. The display unit 28 performs display according to the analog signal from the D / A converter 13 on a display such as an LCD. A digital signal once A / D converted by the A / D converter 23 and stored in the memory 32 is converted into an analog signal by the D / A converter 13 and sequentially transferred to the display unit 28 for display. Can be done. In this way, the display unit 28 provides a function as an electronic viewfinder by performing real-time moving image display.

不揮発性メモリ56は、電気的に消去・記録可能なメモリであり、例えばEEPROM等が用いられる。不揮発性メモリ56には、システム制御部50の動作用の定数、プログラム等が記憶される。ここでいう、プログラムとは、本実施形態にて後述する各種フローチャートを実行するためのプログラムを含む。   The nonvolatile memory 56 is an electrically erasable / recordable memory, and for example, an EEPROM or the like is used. The nonvolatile memory 56 stores constants, programs, and the like for operating the system control unit 50. Here, the program includes a program for executing various flowcharts described later in the present embodiment.

システム制御部50は、デジタルカメラ100全体を制御する。システム制御部50はコンピュータを含み、そのコンピュータが前述した不揮発性メモリ56に記録されたプログラムを実行することで、後述する本実施形態の各処理を実現する。システムメモリ52は、例えばRAMによって構成され、システム制御部50の動作用の定数、変数、不揮発性メモリ56から読み出したプログラム等を展開するのに用いられる。また、システム制御部50はメモリ32、D/A変換器13、表示部28等を制御することにより表示制御も行う。システムタイマー53は各種制御に用いる時間や、内蔵された時計の時間を計測する。   The system control unit 50 controls the entire digital camera 100. The system control unit 50 includes a computer, and the computer executes the program recorded in the nonvolatile memory 56 described above, thereby realizing each process of the present embodiment described later. The system memory 52 is composed of, for example, a RAM, and is used to develop constants and variables for operation of the system control unit 50, a program read from the nonvolatile memory 56, and the like. The system control unit 50 also performs display control by controlling the memory 32, the D / A converter 13, the display unit 28, and the like. The system timer 53 measures the time used for various controls and the time of a built-in clock.

モード切替スイッチ60、第1シャッタースイッチ61、第2シャッタースイッチ62、動画ボタン63、操作部70はシステム制御部50に各種の動作指示を入力するためのユーザインターフェースである。   The mode switch 60, the first shutter switch 61, the second shutter switch 62, the moving image button 63, and the operation unit 70 are user interfaces for inputting various operation instructions to the system control unit 50.

モード切替スイッチ60は、システム制御部50の動作モードを静止画記録モード、動画記録モード、再生モード等のいずれかに切り替える。静止画記録モードに含まれるモードとして、オート撮影モード、オートシーン判別モード、マニュアルモード、撮影シーン別の撮影設定となる各種シーンモード、プログラムAEモード、カスタムモード等がある。モード切替スイッチ60で、静止画記録モードに含まれるこれらのモードのいずれかに直接切り替えられる。あるいは、モード切替スイッチ60で静止画記録モードに一旦切り換えた後に、静止画記録モードに含まれるこれらのモードのいずれかに、他の操作部材を用いて切り替えるようにしてもよい。同様に、動画記録モードにも複数のモードが含まれていてもよい。   The mode switch 60 switches the operation mode of the system control unit 50 to any one of a still image recording mode, a moving image recording mode, a reproduction mode, and the like. Modes included in the still image recording mode include an auto shooting mode, an auto scene discrimination mode, a manual mode, various scene modes for shooting settings for each shooting scene, a program AE mode, a custom mode, and the like. The mode changeover switch 60 can directly switch to one of these modes included in the still image recording mode. Alternatively, after switching to the still image recording mode once with the mode switch 60, the mode may be switched to any one of these modes included in the still image recording mode using another operation member. Similarly, the moving image recording mode may include a plurality of modes.

シャッターボタン61は第1シャッタースイッチ62aと第2シャッタースイッチ62bとを含む。第1シャッタースイッチ62aは、デジタルカメラ100に設けられたシャッターボタン61の操作途中、いわゆる半押し(撮影準備指示)でONとなり第1シャッタースイッチ信号SW1を発生する。第1シャッタースイッチ信号SW1により、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作を開始する。第2シャッタースイッチ62bは、シャッターボタン61の操作完了、いわゆる全押し(撮影指示)でONとなり、第2シャッタースイッチ信号SW2を発生する。システム制御部50は、第2シャッタースイッチ信号SW2により、撮像部22からの信号読み出しから記録媒体200に画像データを書き込むまでの一連の撮影処理の動作を開始する。   The shutter button 61 includes a first shutter switch 62a and a second shutter switch 62b. The first shutter switch 62a is turned on when a shutter button 61 provided in the digital camera 100 is being operated, so-called half-press (shooting preparation instruction), and generates a first shutter switch signal SW1. In response to the first shutter switch signal SW1, operations such as AF (autofocus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, and EF (flash pre-emission) processing are started. The second shutter switch 62b is turned on when the operation of the shutter button 61 is completed, so-called full depression (shooting 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 shooting processing operations from reading a signal from the imaging unit 22 to writing image data on the recording medium 200.

動画ボタン63は、動画撮影開始、終了の指示を行う。動画開始時にはシステム制御部50は、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理等の動作を行う。そして、システム制御部50は、撮像部22からの信号読み出しを行い、メモリ制御部15を介して、メモリ32に書き込むと同時に記録媒体200にも書き込むことで、動画データの書き込み(動画記録)をする。動画終了時には、メモリ32に保存されている残りの動画データを記録媒体200に書き込み、動画記録を終了する。   The moving image button 63 gives instructions for starting and ending moving image shooting. At the start of the moving image, the system control unit 50 performs operations such as AF (autofocus) processing, AE (automatic exposure) processing, and AWB (auto white balance) processing. Then, the system control unit 50 reads out the signal from the imaging unit 22, and writes the moving image data (moving image recording) by writing to the recording medium 200 at the same time as writing to the memory 32 via the memory control unit 15. To do. When the moving image ends, the remaining moving image data stored in the memory 32 is written to the recording medium 200, and the moving image recording ends.

操作部70の各操作部材は、表示部28に表示される種々の機能アイコンを選択操作することなどにより、適宜機能が割り当てられ、各種機能ボタンとして作用する。機能ボタンとしては、例えば、終了ボタン、戻るボタン、画像送りボタン、ジャンプボタン、絞込みボタン、属性変更ボタン等がある。例えば、メニューボタンが押されると各種の設定可能なメニュー画面が表示部28に表示される。利用者は、表示部28に表示されたメニュー画面と、上下左右の4方向ボタンやSETボタンとを用いて直感的に各種設定を行うことができる。   Each operation member of the operation unit 70 is appropriately assigned a function by selecting and operating various function icons displayed on the display unit 28, and functions as various function buttons. Examples of the function buttons include an end button, a return button, an image advance button, a jump button, a narrowing button, and an attribute change button. For example, when a menu button is pressed, various setting menu screens are displayed on the display unit 28. The user can make various settings intuitively using the menu screen displayed on the display unit 28, and the four-way button and the SET button.

コントローラホイール73は、操作部70に含まれる回転操作可能な操作部材であり、方向ボタンと共に選択項目を指示する際などに使用される。コントローラホイール73を回転操作すると、操作量に応じて電気的なパルス信号が発生する。このパルス信号によって、コントローラホイール73が回転操作された角度や、何回転したかなどを判定することができる。システム制御部50は、このパルス信号に基づいてデジタルカメラ100の各部を制御する。なお、コントローラホイール73は回転操作が検出できる操作部材であればどのようなものでもよい。例えば、ユーザの回転操作に応じてコントローラホイール73自体が回転してパルス信号を発生するダイヤル操作部材であってもよい。また、タッチセンサよりなる操作部材で、コントローラホイール73自体は回転せず、コントローラホイール73上でのユーザの指の回転動作などを検出するものであってもよい(いわゆる、タッチホイール)。   The controller wheel 73 is a rotatable operation member included in the operation unit 70, and is used when a selection item is instructed together with a direction button. When the controller wheel 73 is rotated, an electrical pulse signal is generated according to the operation amount. From this pulse signal, it is possible to determine the angle at which the controller wheel 73 is rotated, how many rotations, and the like. The system control unit 50 controls each unit of the digital camera 100 based on the pulse signal. The controller wheel 73 may be any operation member that can detect a rotation operation. For example, it may be a dial operation member that generates a pulse signal by rotating the controller wheel 73 itself according to the rotation operation of the user. Further, an operation member made of a touch sensor may detect the rotation operation of the user's finger on the controller wheel 73 without rotating the controller wheel 73 itself (so-called touch wheel).

電源制御部80は、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部80は、その検出結果及びシステム制御部50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体200を含む各部へ供給する。   The power control unit 80 includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like, and detects whether or not a battery is installed, the type of battery, and the remaining battery level. Further, the power control unit 80 controls the DC-DC converter based on the detection result and an instruction from the system control unit 50, and supplies a 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. The recording medium I / F 18 is an interface with the recording medium 200 such as a memory card or a hard disk. The recording medium 200 is a recording medium such as a memory card for recording a captured image, and includes a semiconductor memory, a magnetic disk, or the like.

《デジタルカメラ100の全体動作について》
図2は、本実施形態のデジタルカメラ100の全体的な動作を説明するフローチャートである。このフローチャートにおける各処理は、システム制御部50が不揮発性メモリ56等に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。
<< Overall Operation of Digital Camera 100 >>
FIG. 2 is a flowchart for explaining the overall operation of the digital camera 100 of the present embodiment. Each process in the flowchart is realized by the system control unit 50 expanding and executing a program stored in the nonvolatile memory 56 or the like in the system memory 52.

電源スイッチ72が操作され電源がオンに切り替わると、S201においてシステム制御部50は、フラグや制御変数等を初期化する。続いて、S202において、システム制御部50は、記録媒体200に記録されているファイルに関する管理処理を開始する。S203以降では、モード切替スイッチ60がどのモードに切り替えられているかを判定し、それに応じた動作を実行する。S203でモード切替スイッチ60が静止画記録モード処理に切替えられていると判定した場合、処理はS204へ進み、システム制御部50は、静止画記録モード処理を実行する。静止画記録モード処理については図3A,図3Bを用いて後述する。また、S205でモード切替スイッチ60が動画記録モードに切替えられていると判定された場合、処理はSS206へ進み、システム制御部50は、動画記録モード処理を実行する。動画記録モード処理については図6を用いて後述する。S207でモード切替スイッチ60が再生モードに切り替えられていると判定された場合、処理はS208へ進み、システム制御部50は再生モード処理を実行する。   When the power switch 72 is operated to turn on the power, the system control unit 50 initializes flags, control variables, and the like in S201. Subsequently, in S <b> 202, the system control unit 50 starts management processing related to the file recorded on the recording medium 200. In S203 and after, it is determined to which mode the mode changeover switch 60 has been switched, and an operation corresponding to that is executed. If it is determined in S203 that the mode switch 60 has been switched to the still image recording mode process, the process proceeds to S204, and the system control unit 50 executes the still image recording mode process. The still image recording mode process will be described later with reference to FIGS. 3A and 3B. If it is determined in S205 that the mode switch 60 has been switched to the moving image recording mode, the process proceeds to SS206, and the system control unit 50 executes the moving image recording mode process. The moving image recording mode process will be described later with reference to FIG. If it is determined in S207 that the mode switch 60 has been switched to the playback mode, the process proceeds to S208, and the system control unit 50 executes the playback mode process.

また、その他のモードに設定されていた場合、処理はS209へ進み、システム制御部50は選択されたモードに応じた処理を実行する。その他のモードとしては例えば記録媒体200に格納されたファイルの送信を行う送信モード処理、外部機器からファイルを受信して記録媒体200に格納する受信モード処理などが含まれる。S204、S206、S208、S209のうちのモード切替スイッチ60によって設定されたモードに対応した処理を実行した後、処理はS210へ進む。S210において、システム制御部50は電源スイッチ72の設定位置を判断する。電源スイッチ72が電源オンに設定されていれば、S203に処理を戻し、上述した処理を繰り返す。一方、電源スイッチ72が電源オフに設定されていたならば、処理はS210からS211へ進み、システム制御部50は終了処理を行う。終了処理には、例えば以下の処理が含まれる。すなわち、表示部28の表示を終了状態に変更し、レンズバリア102を閉じて撮像部を保護する。また、フラグや制御変数等を含むパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源供給が不要な部分への電源を遮断する。S211の終了処理が完了すると、本処理を終了し、デジタルカメラ100は電源OFF状態へと移行する。   If another mode has been set, the process proceeds to S209, and the system control unit 50 executes a process according to the selected mode. Other modes include, for example, a transmission mode process for transmitting a file stored in the recording medium 200, a reception mode process for receiving a file from an external device and storing it in the recording medium 200, and the like. After executing the process corresponding to the mode set by the mode switch 60 among S204, S206, S208, and S209, the process proceeds to S210. In S210, the system control unit 50 determines the set position of the power switch 72. If the power switch 72 is set to power-on, the process returns to S203 and the above-described process is repeated. On the other hand, if the power switch 72 is set to power off, the process proceeds from S210 to S211 and the system control unit 50 performs an end process. The termination process includes, for example, the following process. That is, the display on the display unit 28 is changed to the end state, and the lens barrier 102 is closed to protect the imaging unit. In addition, parameters, setting values, and setting modes including flags and control variables are recorded in the nonvolatile memory 56, and the power to parts where power supply is unnecessary is cut off. When the end process of S211 is completed, this process ends, and the digital camera 100 shifts to a power-off state.

《静止画記録モード処理について》
図3A、図3Bは静止画記録モード処理を示すフローチャートであり、前述した図2のS204の処理の詳細である。この静止画記録モード処理における各処理は、システム制御部50が不揮発性メモリ56等に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。尚、図3A,図3Bに示される静止画記録モード処理は、モード切替スイッチ60により他のモードへの切替が行われた場合や電源スイッチ72がOFFにセットされた場合に、割り込み処理等により終了するものとする。
《Still image recording mode processing》
3A and 3B are flowcharts showing still image recording mode processing, and are details of the processing in S204 of FIG. 2 described above. Each process in the still image recording mode process is realized by the system control unit 50 expanding and executing a program stored in the nonvolatile memory 56 or the like in the system memory 52. Note that the still image recording mode processing shown in FIGS. 3A and 3B is performed by interrupt processing when the mode switch 60 is switched to another mode or when the power switch 72 is set to OFF. It shall end.

システム制御部50は、静止画記録モードを開始すると、S301において撮影モードを確定する。撮影モードの確定は、不揮発性メモリ56より前回の静止画記録モード終了時における撮影モードを取得してシステムメモリ52に格納することでなされる。本実施形態のデジタルカメラ100は、静止画記録モードに含まれる撮影モードとして例えば以下のような撮影モードを有する。   When starting the still image recording mode, the system control unit 50 determines the shooting mode in S301. The shooting mode is determined by acquiring the shooting mode at the end of the previous still image recording mode from the nonvolatile memory 56 and storing it in the system memory 52. The digital camera 100 according to the present embodiment has, for example, the following shooting modes as shooting modes included in the still image recording mode.

オートモード:カメラの各種パラメータが、計測された露出値に基づいてデジタルカメラ100に組み込まれたプログラムにより自動的に決定されるモード。
マニュアルモード:カメラの各種パラメータをユーザが自由に変更可能なモード。
シーンモード:撮影シーンに適したシャッター速度や絞り値、ストロボ発光状態、感度設定等の組み合わせが自動で設定される。
Auto mode: A mode in which various parameters of the camera are automatically determined by a program incorporated in the digital camera 100 based on the measured exposure value.
Manual mode: A mode in which the user can freely change various camera parameters.
Scene mode: A combination of shutter speed, aperture value, strobe lighting, sensitivity setting, etc. suitable for the shooting scene is automatically set.

尚、シーンモードには、例えば更に以下のようなモードが含まれる。
ポートレートモード:背景をぼかして人物を浮き立たせるようにして人物撮影に特化したモード。
夜景モード:人物にストロボ光をあて背景を遅いシャッター速度で記録する、夜景シーンに特化したモード。
風景モード:広がりのある風景シーンに特化したモード。
ナイト&スナップモード:三脚なしで夜景と人物をきれいに撮るのに適したモード。
キッズ&ペットモード:よく動き回る子供やペットをシャッターチャンスを逃さず撮影可能にしたモード。
新緑&紅葉モード:新緑等の木々や葉を色鮮やかに撮影するのに適したモード。
パーティーモード:蛍光灯や電球のもとで、手振れを抑えて被写体に忠実な色味で撮影するモード。
スノーモード:雪景色をバックにしても人物が暗くならず、青みも残さず撮影するモード。
ビーチモード:太陽光の反射の強い海面や砂浜でも、人物などが暗くならずに撮影可能なモード。
花火モード:打ち上げ花火を最適な露出で鮮やかに撮影するためのモード。
水族館モード:屋内の水槽内の魚などを撮影するのに適した感度、ホワイトバランス、色味を設定するモード。
水中モード:水中に最適なホワイトバランスに設定し、青みを押さえた色合いで撮影するモード。
ジオラマ風モード:指定した範囲の上下をボカして遠距離感があるように見せる画像効果処理のあるモード。例えば特願2010−024602号公報に記載されたモードである。
The scene mode further includes the following modes, for example.
Portrait mode: A mode that specializes in portrait photography by blurring the background and making people stand out.
Night scene mode: A mode specialized for night scenes in which a person is flashed and the background is recorded at a slow shutter speed.
Landscape mode: A mode specialized for wide landscape scenes.
Night & Snap Mode: A mode suitable for taking beautiful night views and people without a tripod.
Kids & Pet Mode: A mode that allows you to take pictures of kids and pets that move around without missing a photo opportunity.
Fresh green & autumn leaves mode: Mode suitable for shooting trees and leaves of fresh greens in vivid colors.
Party mode: A mode that shoots in a color faithful to the subject while suppressing camera shake under a fluorescent light bulb.
Snow mode: A mode in which a person does not darken even when the snow scene is in the background, and leaves no blue.
Beach mode: A mode in which people can shoot without darkness even on the surface of the sea or sand where the sunlight is strongly reflected.
Fireworks mode: A mode for shooting fireworks vividly with optimal exposure.
Aquarium mode: A mode to set sensitivity, white balance, and color suitable for shooting fish in an indoor aquarium.
Underwater mode: A mode in which the white balance is set to be optimal for underwater, and the image is shot with a hue that reduces bluishness.
Diorama-like mode: A mode with image effect processing that blurs the top and bottom of the specified range to make it look like a long distance. For example, this is a mode described in Japanese Patent Application No. 2010-024602.

撮影モードが確定されると、続くS302において、システム制御部50は、撮像部22からの画像データを表示するスルー表示を行う。スルー表示とは、撮像部22で撮像されている画像を記録媒体200に記録することなくほぼリアルタイムの動画で表示部28に表示するもの(電子ビューファインダ)で、これを見て撮影者は画角の確認や撮影のタイミングを計ることができる。なお、S302によるスルー表示(電子ビューファインダ)では、静止画記録に対して設定されているアスペクト比で表示される。この際、後述のS405と同様に、たとえばピラーボックスやサイドブラックを用いてアスペクト比を示すような表示が行なわれる。   When the shooting mode is determined, in subsequent S302, the system control unit 50 performs through display for displaying the image data from the imaging unit 22. The through display is a display (electronic viewfinder) that displays an image captured by the image capturing unit 22 on the display unit 28 as a substantially real-time moving image without being recorded on the recording medium 200. You can check the corners and measure the shooting timing. In the through display (electronic viewfinder) in S302, the image is displayed with the aspect ratio set for still image recording. At this time, in a manner similar to S405 described later, for example, a display showing the aspect ratio is performed using a pillar box or side black.

S303において、システム制御部50は、電池等により構成される電源部30の残容量や、記録媒体200の有無や残容量がデジタルカメラ100の動作に問題があるか否かを、電源制御部80を用いて判定する。問題があるならば、処理はS304に進み、システム制御部50は、表示部28などを用いて画像や音声により所定の警告表示を行い、処理をS301に戻す。電源部30や記録媒体200の状態に問題が無いならば、処理はS305に進む。   In step S <b> 303, the system control unit 50 determines whether the remaining capacity of the power supply unit 30 configured by a battery, the presence / absence of the recording medium 200, and the remaining capacity has a problem in the operation of the digital camera 100. Determine using. If there is a problem, the process proceeds to S304, and the system control unit 50 performs a predetermined warning display with an image or sound using the display unit 28 or the like, and returns the process to S301. If there is no problem in the state of the power supply unit 30 and the recording medium 200, the process proceeds to S305.

S305において、システム制御部50は、撮影モード切替操作が行われたか否かを判定する。撮影モード切替操作とは、静止画記録モード内における、オートモード、マニュアルモード、各種シーンモードの中から、現在設定されている撮影モードを他の撮影モードに切り替える操作である。これは、操作部70を操作し、撮影モード変更メニュー画面などを開いて任意の撮影モードを選択することなどにより行われる。撮影モード切替操作が行われたと判定された場合、処理はS306に進み、そうでない場合はS307に進む。S306において、システム制御部50は、撮影モード切替操作に応じた撮影モードに変更する。   In step S305, the system control unit 50 determines whether a shooting mode switching operation has been performed. The shooting mode switching operation is an operation for switching the currently set shooting mode to another shooting mode from among the auto mode, manual mode, and various scene modes in the still image recording mode. This is performed by operating the operation unit 70, opening a shooting mode change menu screen or the like, and selecting an arbitrary shooting mode. If it is determined that the shooting mode switching operation has been performed, the process proceeds to S306, and if not, the process proceeds to S307. In step S306, the system control unit 50 changes the shooting mode according to the shooting mode switching operation.

S307において、システム制御部50は、現在の撮影モードが位置指定付き画像効果処理が必要なモードであるか否かを判定する。位置指定付き画像効果処理が必要なモードとは、ユーザが指定した領域に基づいて、撮像された画像の一部の領域について画像効果処理を施すモードのことである。例えば、シーンモードの一つである上述のジオラマ風モードがこのような位置指定付き画像効果処理に該当する。位置指定付き画像効果処理が必要なモードであると判定されると(例えば現在の撮影モードがジオラマ風モードであると判定すると)処理はS308に進み、そうでない場合はS311に進む。   In step S <b> 307, the system control unit 50 determines whether the current shooting mode is a mode that requires position-added image effect processing. The mode that requires image effect processing with position designation is a mode in which image effect processing is performed on a partial area of a captured image based on an area designated by the user. For example, the above-described diorama-like mode, which is one of the scene modes, corresponds to such an image effect process with position designation. If it is determined that the image effect processing with position specification is necessary (for example, if it is determined that the current shooting mode is a diorama-like mode), the processing proceeds to S308. If not, the processing proceeds to S311.

S308において、システム制御部50は、撮像された画像(ここではスルー画像)の指定された一部の領域(以下、画像効果位置ともいう)に基づいて画像効果処理を施す。例えばジオラマ風モードであれば、指定された一部の領域(範囲)の外部をぼかす処理を施す。S309において、システム制御部50は、操作部70を介して画像効果処理のために指定されている画像効果位置を変更する操作が行われたか否かを判定する。画像効果位置を変更する操作が行われたと判定されると、処理はS310に進み、行われていないと判定されるとS311に進む。S310において、システム制御部50は、画像効果位置を変更する操作に応じて、画像効果位置を変更し、変更後の位置を不揮発性メモリに記録する。そして、変更後の画像効果位置に基づいて、撮像された画像(ここではスルー画像)に画像効果処理を施す。   In step S308, the system control unit 50 performs image effect processing based on a specified partial area (hereinafter, also referred to as an image effect position) of a captured image (here, a through image). For example, in the diorama style mode, a process of blurring the outside of a specified part of the region (range) is performed. In step S <b> 309, the system control unit 50 determines whether an operation for changing the image effect position designated for image effect processing has been performed via the operation unit 70. If it is determined that an operation for changing the image effect position has been performed, the process proceeds to S310, and if it is determined that the operation has not been performed, the process proceeds to S311. In S310, the system control unit 50 changes the image effect position in accordance with an operation for changing the image effect position, and records the changed position in the nonvolatile memory. Then, based on the changed image effect position, image effect processing is performed on the captured image (here, a through image).

S311において、システム制御部50は、基本動画画質設定を変更する変更操作があったか否かを判定する。基本動画画質設定の変更操作があった場合には、処理はS312に進み、そうでない場合には処理はS315へ進む。基本動画画質設定の変更操作は、操作部70を操作し、動画の画質変更メニューなどを開いて(表示部28に表示させて)、任意の画質を選択する操作である。画質変更メニューでは、例えば、HD画質(1280×720ピクセル、アスペクト比16:9)/SD画質(640×480ピクセル、アスペクト比4:3)/ミニ画質(320×240、アスペクト比4:3)の中から任意の画質を選択することが可能である。また、このように、動画画質にはアスペクト比が対応付けられている。   In step S311, the system control unit 50 determines whether or not there has been a change operation for changing the basic moving image quality setting. If there is an operation for changing the basic moving image quality setting, the process proceeds to S312; otherwise, the process proceeds to S315. The change operation of the basic moving image quality setting is an operation of selecting an arbitrary image quality by operating the operation unit 70 to open a moving image quality change menu or the like (displayed on the display unit 28). In the image quality change menu, for example, HD image quality (1280 × 720 pixels, aspect ratio 16: 9) / SD image quality (640 × 480 pixels, aspect ratio 4: 3) / mini image quality (320 × 240, aspect ratio 4: 3) Any image quality can be selected from the list. As described above, the moving image quality is associated with the aspect ratio.

S312において、システム制御部50は、現在の撮影モードが位置指定付き画像効果処理が必要なモードであるか否かを判定する。この判定の処理は上述したS307の処理と同様である。現在の撮影モードが画像効果処理が必要なモードではないと判定すると処理はS313に進み、画像効果処理が必要なモードであると判定すると処理はS314に進む。   In step S312, the system control unit 50 determines whether or not the current shooting mode is a mode that requires position-specified image effect processing. This determination processing is the same as the processing in S307 described above. If it is determined that the current shooting mode is not a mode that requires image effect processing, the process proceeds to S313, and if it is determined that the image effect processing is necessary, the process proceeds to S314.

S313において、システム制御部50は、基本動画画質設定の変更操作に応じて基本動画画質設定を変更し、変更後の基本動画画質設定を不揮発性メモリ56に記録する。S314では、システム制御部50は、基本動画画質設定の変更操作を無効とする(無視する)。この時、操作が無効となった旨を表示部28に表示しても良い。これは、静止画記録モードにおける位置指定付き画像効果処理が必要なモードでは、動画ボタン63の操作で動画撮影を行った場合、動画の画質は静止画用に設定されているアスペクト比に基づいた画質に自動設定されてしまうためである。この場合基本動画画質設定を変更してもその時点では反映されないため、ユーザの混乱を招くことを防止するために、本実施形態のデジタルカメラ100では、そのような基本動画画質設定の変更操作を行わせないようにしている。   In step S <b> 313, the system control unit 50 changes the basic moving image quality setting according to the change operation of the basic moving image quality setting, and records the changed basic moving image quality setting in the nonvolatile memory 56. In S314, the system control unit 50 invalidates (ignores) the change operation of the basic moving image quality setting. At this time, an indication that the operation is invalid may be displayed on the display unit 28. This is because in the still image recording mode in which the image effect processing with position designation is necessary, when moving image shooting is performed by operating the moving image button 63, the image quality of the moving image is based on the aspect ratio set for the still image. This is because the image quality is automatically set. In this case, even if the basic video image quality setting is changed, it is not reflected at that time. Therefore, in order to prevent the user from being confused, the digital camera 100 according to the present embodiment performs such an operation for changing the basic video image quality setting. I am trying not to do it.

次に、S315において、システム制御部50は、スルー表示される画像信号中に人の顔が存在するか否かを検出する顔検出を行う。システム制御部50は、顔検出処理において人の顔が検出された場合、画像信号中において検出した顔の位置座標、サイズ(幅、高さ)、検出個数、信頼性係数等を顔情報としてシステムメモリ52に記憶する。顔検出処理において顔が検出されなかった場合はシステムメモリ52内の位置座標、サイズ(幅、高さ)、検出個数、信頼性係数等の領域に0を設定する。   Next, in S315, the system control unit 50 performs face detection for detecting whether or not a human face is present in the through-displayed image signal. When a human face is detected in the face detection process, the system control unit 50 uses the position coordinates, size (width, height), number of detections, reliability coefficient, etc. detected in the image signal as face information. Store in the memory 52. When a face is not detected in the face detection process, 0 is set in areas such as position coordinates, size (width, height), detected number, reliability coefficient, etc. in the system memory 52.

続いてS316において、システム制御部50は、ユーザによるアスペクト比切替操作があったか否かを判定する。アスペクト比切替操作があったと判定すると処理はS317に進み、システム制御部50は、アスペクト比切替処理を行う。アスペクト比切替操作とは、例えば、ユーザが操作部70を操作することによって、アスペクト比切替メニューを開き、任意のアスペクト比を選択する操作である。選択可能なアスペクト比としては、4:3、3:2、16:9、1:1などがある。なお、現在の撮影モードが位置指定付き画像効果処理を必要とするモード(例えばジオラマ風モード)である場合には、動画のアスペクト比と共通とすることのできるアスペクト比(4:3と16:9)に選択肢を制限するとよい。アスペクト比切替処理の詳細については、図4を用いて後述する。S317が終了すると処理はS318へ進む。   Subsequently, in S316, the system control unit 50 determines whether or not the user has performed an aspect ratio switching operation. If it is determined that an aspect ratio switching operation has been performed, the process proceeds to S317, and the system control unit 50 performs an aspect ratio switching process. The aspect ratio switching operation is, for example, an operation for opening an aspect ratio switching menu and selecting an arbitrary aspect ratio when the user operates the operation unit 70. Selectable aspect ratios include 4: 3, 3: 2, 16: 9, 1: 1, and the like. In addition, when the current shooting mode is a mode that requires image effect processing with position designation (for example, a diorama-like mode), an aspect ratio (4: 3 and 16: It is recommended to limit the options to 9). Details of the aspect ratio switching process will be described later with reference to FIG. When S317 ends, the process proceeds to S318.

続いてS318において、システム制御部50は、第1シャッタースイッチ信号SW1がONしているか否かを判定する(撮影準備指示受付)。第1シャッタースイッチ信号SW1がOFFの場合は、処理はS319に進む。一方、第1シャッタースイッチ信号SW1がONの場合は、処理はS321に進む。   Subsequently, in S318, the system control unit 50 determines whether or not the first shutter switch signal SW1 is ON (photographing preparation instruction reception). If the first shutter switch signal SW1 is OFF, the process proceeds to S319. On the other hand, if the first shutter switch signal SW1 is ON, the process proceeds to S321.

S319では、システム制御部50は、動画ボタン63を操作することによる動画撮影指示があったか否かを判定する。動画ボタン63からの動画撮影指示があった場合はS320に進む。動が撮影指示がなかった場合は、処理はS305に戻り、上述の処理が繰り返される。S320では、システム制御部50は、動画ボタン撮影処理(動画ボタン63の操作によって行われる動画撮影処理)を行う。動画ボタン撮影処理については図5を用いて後述する。   In S <b> 319, the system control unit 50 determines whether or not there is a moving image shooting instruction by operating the moving image button 63. If there is a moving image shooting instruction from the moving image button 63, the process proceeds to S320. If there is no shooting instruction, the process returns to S305 and the above-described process is repeated. In S320, the system control unit 50 performs moving image button shooting processing (moving image shooting processing performed by operating the moving image button 63). The moving image button shooting process will be described later with reference to FIG.

S321において、システム制御部50は、撮影準備動作を行う。システム制御部50は、測距処理を行って撮影レンズ103の焦点を被写体に合わせるとともに(オートフォーカス処理)、測光処理を行って絞り値及びシャッタースピードを決定する(露出決定処理)。尚、測光処理において、必要であればフラッシュの設定も行われる。このとき、S315において顔が検出されていれば、検出した顔の範囲で測距を行う顔AFを行うようにすることも可能である。   In S321, the system control unit 50 performs a shooting preparation operation. The system control unit 50 performs a distance measurement process to focus the photographing lens 103 on the subject (autofocus process), and performs a photometry process to determine an aperture value and a shutter speed (exposure determination process). In the photometric process, a flash is set if necessary. At this time, if a face is detected in S315, it is possible to perform face AF for performing distance measurement within the detected face range.

次に、S322、S323において、システム制御部50は、第1シャッタースイッチ信号SW1と第2シャッタースイッチ信号SW2のON/OFF状態を判定する。第1シャッタースイッチ信号SW1がONした状態で第2シャッタースイッチ信号SW2がONになると、処理はS322からS324へ進む。第1シャッタースイッチ信号SW1がOFFになると(第2シャッタースイッチ信号SW2がONせずに、更に第1シャッタースイッチ信号SW1も解除された場合)、処理はS323からS305へ戻る。また、第1シャッタースイッチ信号SW1がON、第2シャッタースイッチ信号SW2がOFFの間は、S322,S323の処理が繰り返される。   Next, in S322 and S323, the system control unit 50 determines ON / OFF states of the first shutter switch signal SW1 and the second shutter switch signal SW2. If the second shutter switch signal SW2 is turned on while the first shutter switch signal SW1 is turned on, the process proceeds from S322 to S324. When the first shutter switch signal SW1 is turned off (when the second shutter switch signal SW2 is not turned on and the first shutter switch signal SW1 is also released), the process returns from S323 to S305. Further, while the first shutter switch signal SW1 is ON and the second shutter switch signal SW2 is OFF, the processes of S322 and S323 are repeated.

第2シャッタースイッチ信号SW2がONになると、S324において、システム制御部50は、表示部28の表示状態をスルー表示から固定色表示状態(例えば黒一色の表示)に設定する。そして、S325において、システム制御部50は、露光処理や現像処理を含む、設定されているアスペクト比での撮影処理を実行する。尚、露光処理では、撮像部22、A/D変換器23を経て得られた画像データが、画像処理部24及びメモリ制御部15を介して、或いはA/D変換器23から直接メモリ制御部15を介して、メモリ32に書き込まれる。また、現像処理では、システム制御部50が、メモリ制御部15を用いて、そして必要に応じて画像処理部24を用いて、メモリ32に書き込まれた画像データを読み出して各種処理を行う。この際、画像効果処理(位置指定付き画像効果処理を含む)が必要なモードであれば、画像データに対して画像効果処理を施す。また、設定されているアスペクト比での切り出しも行われる。   When the second shutter switch signal SW2 is turned on, in S324, the system control unit 50 sets the display state of the display unit 28 from the through display to the fixed color display state (for example, black display). In step S325, the system control unit 50 executes shooting processing with a set aspect ratio including exposure processing and development processing. In the exposure process, the image data obtained through the image pickup unit 22 and the A / D converter 23 is sent from the image processing unit 24 and the memory control unit 15 or directly from the A / D converter 23 to the memory control unit. 15 to the memory 32. In the development process, the system control unit 50 uses the memory control unit 15 and, if necessary, the image processing unit 24 to read the image data written in the memory 32 and perform various processes. At this time, if the mode requires image effect processing (including image effect processing with position designation), the image effect processing is performed on the image data. In addition, clipping with the set aspect ratio is also performed.

次に、システム制御部50は、S326において、表示部28に対し撮影処理で得られた画像データのクイックレビュー表示を行う。クイックレビュー表示とは、撮影画像の確認のために、被写体の撮影後記録媒体への記録前に、予め決められた時間(レビュー時間)だけ画像データを表示部28に表示する処理である。S327において、システム制御部50は撮影処理で得られた画像データを画像ファイルとして記録媒体200に対して書き込む記録処理を実行する。   Next, in S326, the system control unit 50 performs a quick review display of the image data obtained by the photographing process on the display unit 28. The quick review display is a process for displaying the image data on the display unit 28 for a predetermined time (review time) before recording on the recording medium after photographing the subject for confirmation of the photographed image. In step S327, the system control unit 50 executes a recording process in which the image data obtained by the imaging process is written as an image file on the recording medium 200.

S328において、システム制御部50は、第2シャッタースイッチ信号SW2のON/OFF状態を判定する。第2シャッタースイッチ信号SW2がONの場合は、S328の判定を繰り返すことにより、第2シャッタースイッチ信号SW2がOFFになるのを待つ。この間、上記クイックレビュー表示を継続させる。即ち、S327の記録処理が終了した際に、第2シャッタースイッチ信号SW2が放されるまで、表示部28におけるクイックレビュー表示が継続される。このように構成することにより、ユーザは、シャッターボタン61の全押し状態を継続することで、クイックレビュー表示を用いた撮影画像データの確認を入念に行うことが可能となる。S328において、第2シャッタースイッチ信号SW2がOFFであると判定されると、すなわちユーザがシャッターボタン61から手を放すなどして全押し状態が解除されると、処理はS329へ進む。   In S328, the system control unit 50 determines the ON / OFF state of the second shutter switch signal SW2. When the second shutter switch signal SW2 is ON, the determination of S328 is repeated to wait for the second shutter switch signal SW2 to be OFF. During this time, the quick review display is continued. That is, when the recording process of S327 is completed, the quick review display on the display unit 28 is continued until the second shutter switch signal SW2 is released. With this configuration, the user can carefully check the captured image data using the quick review display by continuing to fully press the shutter button 61. In S328, when it is determined that the second shutter switch signal SW2 is OFF, that is, when the fully pressed state is released by releasing the hand from the shutter button 61 or the like, the process proceeds to S329.

S329において、システム制御部50は、予め定められたクイックレビュー表示のレビュー時間が経過したか否かを判定する。レビュー時間が経過していなければレビュー時間が経過するのを待ち、レビュー時間が経過すると処理はS330に進む。   In step S329, the system control unit 50 determines whether a predetermined review time for quick review display has elapsed. If the review time has not elapsed, the process waits for the review time to elapse. If the review time has elapsed, the process proceeds to S330.

S330において、システム制御部50は、表示部28の表示状態をクイックレビュー表示からスルー表示状態に戻す。この処理により、クイックレビュー表示によって撮影画像データを確認した後、表示部28の表示状態は次の撮影のために撮像部22からの画像データを逐次表示するスルー表示状態に自動的に切り替わることになる。   In S330, the system control unit 50 returns the display state of the display unit 28 from the quick review display to the through display state. With this processing, after the captured image data is confirmed by the quick review display, the display state of the display unit 28 is automatically switched to a through display state in which the image data from the imaging unit 22 is sequentially displayed for the next shooting. Become.

そして、S331において、システム制御部50は、第1シャッタースイッチ信号SW1のON/OFFを判定し、第1シャッタースイッチ信号SW1がONの場合はS322へ、OFFの場合はS305へ処理を戻す。即ち、シャッターボタン61の半押し状態が継続している(第1シャッタースイッチ信号SW1がON)場合は、システム制御部50は次の撮影に備える(S322)。一方、シャッターボタン61が放された状態(第1シャッタースイッチ信号SW1がOFF)であったならば、システム制御部50は、一連の撮影動作を終えて撮影待機状態に戻る(S305)。   In S331, the system control unit 50 determines whether the first shutter switch signal SW1 is ON / OFF. If the first shutter switch signal SW1 is ON, the process returns to S322, and if it is OFF, the process returns to S305. That is, when the shutter button 61 is half-pressed (the first shutter switch signal SW1 is ON), the system control unit 50 prepares for the next shooting (S322). On the other hand, if the shutter button 61 has been released (the first shutter switch signal SW1 is OFF), the system control unit 50 ends the series of shooting operations and returns to the shooting standby state (S305).

《アスペクト比切替処理(S317)について》
図4はアスペクト比切替処理のフローチャートであり、前述した図3AのS317における処理の詳細である。このアスペクト比切替処理における各処理は、システム制御部50が不揮発性メモリ56等に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。
<< Aspect ratio switching process (S317) >>
FIG. 4 is a flowchart of the aspect ratio switching process, showing details of the process in S317 of FIG. 3A described above. Each process in the aspect ratio switching process is realized by the system control unit 50 expanding and executing a program stored in the nonvolatile memory 56 or the like in the system memory 52.

S401において、システム制御部50は、アスペクト比切替操作で選択されたアスペクト比が切替前のアスペクト比と同じか否かの判定を行う。選択されたアスペクト比が切替前のアスペクト比と異なる場合、すなわちアスペクト比が変更された場合、処理はS402に進む。一方、アスペクト比切替操作で選択されたアスペクト比と切替前のアスペクト比が同じ場合は、アスペクト比の変更は無いので本処理を終了する。   In step S401, the system control unit 50 determines whether or not the aspect ratio selected by the aspect ratio switching operation is the same as the aspect ratio before switching. If the selected aspect ratio is different from the aspect ratio before switching, that is, if the aspect ratio is changed, the process proceeds to S402. On the other hand, when the aspect ratio selected by the aspect ratio switching operation is the same as the aspect ratio before switching, the aspect ratio is not changed and the process is terminated.

S402において、システム制御部50は、静止画のアスペクト比をアスペクト比切替操作で選択されたアスペクト比に変更し、変更後のアスペクト比を不揮発性メモリ56に記録する。次に、S404において、システム制御部50は、表示部28に表示されているスルー画像に対して、例えばピラーボックスやサイドブラックを表示することでS403で記録したアスペクト比を示す表示を行う。ピラーボックスやサイドブラックは半透過にしたり枠だけの表示にしたりしてアスペクト比を識別できるようにしてもよい。   In S <b> 402, the system control unit 50 changes the aspect ratio of the still image to the aspect ratio selected by the aspect ratio switching operation, and records the changed aspect ratio in the nonvolatile memory 56. Next, in S404, the system control unit 50 displays the aspect ratio recorded in S403 by displaying, for example, a pillar box or side black on the through image displayed on the display unit 28. The pillar box and side black may be made semi-transparent or display only with a frame so that the aspect ratio can be identified.

S404において、システム制御部50は、現在の撮影モードが位置指定付き画像効果処理を必要とするモードであるか否かを判定する。これは上述したS307の処理と同様である。現在の撮影モードが位置指定付き画像効果処理を必要とするモードではないと判定されるとアスペクト比変更処理を終了し、位置指定付き画像効果処理を必要とするモードであると判定されると処理はS405に進む。   In step S <b> 404, the system control unit 50 determines whether the current shooting mode is a mode that requires image effect processing with position designation. This is the same as the process of S307 described above. If it is determined that the current shooting mode is not a mode that requires position-designated image effect processing, the aspect ratio change processing ends, and if it is determined that the mode requires position-designated image effect processing, processing is performed. Advances to S405.

S405において、システム制御部50は、変更後のアスペクト比において、変更前のアスペクト比で設定されていた画像効果位置に対応する位置y2を算出する。例えば、画像効果位置の縦方向(y方向)の位置が指定されていた場合、位置y2は以下の(式1)により算出される。
y2=Y2×y1/Y1 …(式1)
ただし、
・変更前のアスペクト比での画像全体の縦方向のサイズ:Y1
・変更前のアスペクト比で設定されていた画像効果位置の中心の、変更前のアスペクト比での画像全体に対するY方向の位置:y1
・変更後のアスペクト比での画像全体の縦方向のサイズ:Y2
・変更後のアスペクト比で設定される画像効果位置の中心の、変更後のアスペクト比での画像全体に対するY方向の位置:y2
このようにして、アスペクト比の変化に対応して画像効果位置が自動的に修正される。なお、画像効果位置の横方向(X方向)の位置が指定されていた場合、上記の(式1)と同様の算出をX方向に対して行うことで、画像効果位置が修正される。
In step S <b> 405, the system control unit 50 calculates a position y <b> 2 corresponding to the image effect position set with the aspect ratio before change in the aspect ratio after change. For example, when the position of the image effect position in the vertical direction (y direction) is designated, the position y2 is calculated by the following (Equation 1).
y2 = Y2 * y1 / Y1 (Formula 1)
However,
-Vertical size of the entire image at the aspect ratio before change: Y1
The position in the Y direction with respect to the entire image at the aspect ratio before change at the center of the image effect position set at the aspect ratio before change: y1
-The vertical size of the entire image at the changed aspect ratio: Y2
The position of the center of the image effect position set with the changed aspect ratio in the Y direction with respect to the entire image with the changed aspect ratio: y2
In this way, the image effect position is automatically corrected in accordance with the change in aspect ratio. When the position in the horizontal direction (X direction) of the image effect position is designated, the image effect position is corrected by performing the same calculation as in (Expression 1) above with respect to the X direction.

S406において、システム制御部50は、S405で算出した画像効果位置情報により、表示部28に表示されている画像(ここではスルー画像)上に画像効果をかけて表示部28への表示を開始する。S407において、システム制御部50は、S402で設定した変更後の静止画のアスペクト比に対応する動画画質を、修正動画画質として不揮発性メモリ56に記録する。このような修正動画画質設定は、前述の基本動画画質設定とは別途に記録されるものであり、位置指定付き画像効果処理が必要なモードで動画の撮影が行われた場合に一時的に利用される。なお、静止画のアスペクト比に対応する動画画質としては、静止画のアスペクト比4:3に対しては前述のSD画質が、静止画のアスペクト比16:9に対しては前述のHD画質が対応する。このようにすることで、静止画記録モードのうち、画像効果処理が必要なモードにおいては、静止画のアスペクト比と動画のアスペクト比が同じものとなる。   In S <b> 406, the system control unit 50 starts the display on the display unit 28 by applying an image effect on the image (here, a through image) displayed on the display unit 28 based on the image effect position information calculated in S <b> 405. . In S407, the system control unit 50 records the moving image quality corresponding to the changed still image aspect ratio set in S402 in the nonvolatile memory 56 as the modified moving image quality. These modified movie image quality settings are recorded separately from the basic movie image quality settings described above, and are temporarily used when a movie is shot in a mode that requires position-added image effect processing. Is done. Note that the moving image quality corresponding to the still image aspect ratio is the above-mentioned SD image quality for still image aspect ratio 4: 3, and the aforementioned HD image quality for still image aspect ratio 16: 9. Correspond. In this way, among the still image recording modes, in the mode that requires image effect processing, the aspect ratio of the still image and the aspect ratio of the moving image are the same.

[動画ボタン撮影処理]
図5に、動画ボタン撮影処理のフローチャートを示す。動画ボタン撮影処理は前述の図3BにおけるS320の処理の詳細である。この処理における各処理は、システム制御部50が不揮発性メモリ56等に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。
[Movie button shooting process]
FIG. 5 shows a flowchart of the moving image button shooting process. The moving image button shooting process is the details of the process of S320 in FIG. 3B described above. Each processing in this processing is realized by the system control unit 50 expanding and executing a program stored in the nonvolatile memory 56 or the like in the system memory 52.

S501において、システム制御部50は、現在の撮影モードが位置指定付き画像効果処理を必要とするモードであるか否かを判定する。これは図3AのS307の処理と同様である。現在の撮影モードが、位置指定付き画像効果処理が必要なモードであると判定されると処理はS502に進み、そうでないと判定されると処理はS503に進む。   In step S501, the system control unit 50 determines whether or not the current shooting mode is a mode that requires an image effect process with position designation. This is the same as the process of S307 in FIG. 3A. If it is determined that the current shooting mode is a mode that requires image effect processing with position designation, the process proceeds to S502, and if it is not, the process proceeds to S503.

S502において、システム制御部50は、不揮発性メモリ56に記録されている、静止画アスペクト比に対応した動画画質である、修正動画画質設定で動画の記録(動画撮影)を開始する。撮影された動画は記録媒体200に記録される。一方S503では、システム制御部50は、不揮発性メモリ56に記録されている基本動画画質設定で動画の記録を開始する。   In step S <b> 502, the system control unit 50 starts recording a moving image (moving image shooting) with a modified moving image quality setting that is recorded in the nonvolatile memory 56 and has a moving image quality corresponding to the still image aspect ratio. The captured moving image is recorded on the recording medium 200. On the other hand, in step S <b> 503, the system control unit 50 starts recording a moving image with the basic moving image quality setting recorded in the nonvolatile memory 56.

S504において、システム制御部50は、動画撮影の終了指示があったか否かを判定する。終了指示があった場合は、処理はS505へ進み、なかった場合は動画の撮影を継続する。なお、動画撮影の終了指示とは、再度動画ボタン63が押下されたり、再生モードなどの他のモードに移行する操作である。S505において、システム制御部50は、動画の記録を終了し、当該動画の記録によって記録媒体200に生成された動画ファイルをクローズする処理などの動画記録終了処理を行い、動画ボタン撮影処理を終了する。   In step S504, the system control unit 50 determines whether there is an instruction to end moving image shooting. If there is an end instruction, the process proceeds to S505, and if not, moving image shooting is continued. Note that the moving image shooting end instruction is an operation of pressing the moving image button 63 again or shifting to another mode such as a playback mode. In step S505, the system control unit 50 ends moving image recording, performs moving image recording end processing such as processing to close a moving image file generated on the recording medium 200 by recording the moving image, and ends the moving image button shooting processing. .

このように、動画ボタン63の操作による動画撮影では、現在の静止画記録モードが画像効果処理を必要とするモードであるかどうかが判定される。そして、現在の静止画記録モードが画像効果処理を必要とするモードである場合には、動画用にユーザが設定した基本動画画質ではなく、静止画記録のアスペクト比に合わせた静止画アスペクト比に対応した修正動画画質で動画が記録される。これによって、ユーザスルー画像を見ながら設定した画像効果位置に対して、記録された動画のアスペクト比がスルー画像と異なるために画像効果がかけられている位置が不自然になるといったことを防ぐことができる。   Thus, in moving image shooting by operating the moving image button 63, it is determined whether or not the current still image recording mode is a mode that requires image effect processing. If the current still image recording mode is a mode that requires image effect processing, the still image aspect ratio that matches the aspect ratio of the still image recording is used instead of the basic movie image quality set by the user for the movie. The movie is recorded with the corresponding modified movie image quality. This prevents the position where the image effect is applied from becoming unnatural because the aspect ratio of the recorded video is different from the through image with respect to the image effect position set while viewing the user through image. Can do.

[動画記録モード処理]
図6に、動画記録モード処理のフローチャートを示す。以下で説明する動画記録モード処理は前述の図2におけるS206の処理の詳細である。この処理における各処理は、システム制御部50が不揮発性メモリ56等に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。
[Movie recording mode processing]
FIG. 6 shows a flowchart of the moving image recording mode process. The moving image recording mode process described below is the details of the process of S206 in FIG. Each processing in this processing is realized by the system control unit 50 expanding and executing a program stored in the nonvolatile memory 56 or the like in the system memory 52.

まず、S601において、システム制御部50は、表示部28にスルー表示を行う。S602において、システム制御部50は、ユーザによる基本動画画質設定の変更操作があったか否かを判定する。この処理は前述した図3AのS311と同様の処理である。基本動画画質設定の変更操作があった場合、処理はS603に進み、そうでない場合はS604に進む。S603において、システム制御部50は、基本動画画質設定の変更操作に応じて基本動画画質設定を変更し、変更後の基本動画画質設定を不揮発性メモリ56に記録する。   First, in step S <b> 601, the system control unit 50 performs through display on the display unit 28. In step S602, the system control unit 50 determines whether or not the user has changed the basic moving image quality setting operation. This process is the same process as S311 of FIG. 3A described above. If there is an operation for changing the basic moving image quality setting, the process proceeds to S603, and if not, the process proceeds to S604. In step S <b> 603, the system control unit 50 changes the basic moving image quality setting according to the change operation of the basic moving image quality setting, and records the changed basic moving image quality setting in the nonvolatile memory 56.

S604において、システム制御部50は、動画記録指示があったか否かを判定する。動画記録指示があった場合には処理はS605に進み、なかった場合には処理はS608に進む。動画記録指示はシャッターボタン61あるいは動画ボタン63の操作によって行われる。S608では、動画記録モードの終了操作(他のモードへの変更操作、電源オフなどの操作)があったか否かを判定する。終了操作が無かった場合は、処理はS601へもどり、終了操作があった場合は本動画記録モード処理を終了する。   In step S604, the system control unit 50 determines whether there is a moving image recording instruction. If there is an instruction to record a moving image, the process proceeds to S605, and if not, the process proceeds to S608. The moving image recording instruction is performed by operating the shutter button 61 or the moving image button 63. In S608, it is determined whether or not there is an operation for ending the moving image recording mode (an operation for changing to another mode, an operation for turning off the power, etc.). If there is no end operation, the process returns to S601. If there is an end operation, the moving image recording mode process ends.

S605において、システム制御部50は、不揮発性メモリに記録された基本動画画質設定で動画の記録を開始する。S606において、システム制御部50は、動画の記録の終了指示があったか否かを判定する。終了指示がなかった場合は動画の記録(撮影)を継続し、終了指示があった場合はS607に進む。S607において、システム制御部50は、動画の記録を終了し、当該動画の記録によって記録媒体200に生成された動画ファイルをクローズする処理などの動画記録終了処理を行う。その後、処理は、S601へ戻る。   In step S <b> 605, the system control unit 50 starts recording a moving image with the basic moving image quality setting recorded in the nonvolatile memory. In step S606, the system control unit 50 determines whether there is an instruction to end the recording of the moving image. If there is no end instruction, recording (shooting) of the moving image is continued, and if there is an end instruction, the process proceeds to S607. In step S <b> 607, the system control unit 50 ends moving image recording, and performs moving image recording end processing such as processing for closing a moving image file generated on the recording medium 200 by recording the moving image. Thereafter, the process returns to S601.

次に、図7を用いて、上述した実施形態による効果について説明する。   Next, the effect by embodiment mentioned above is demonstrated using FIG.

図7(a)に、静止画アスペクト比を4:3、基本動画画質設定をHD画質(16:9)としていた場合に、上記実施形態を適用せずに、ジオラマ風モードでスルー表示(EVF表示)を行った場合の表示例と、記録される静止画像と動画像の模式図を示す。この場合、ユーザは、4:3のスルー画像を見ながらジオラマ風モードの画像効果位置を調整する。そして、静止画撮影を行った場合は4:3の静止画が記録され、ジオラマ風モードでの画像効果処理はユーザが意図した領域に施される。しかしながら、ジオラマ風モードで動画ボタン63の操作によって動画撮影を行った場合には記録される動画は16:9となる。この場合、4:3の時の画像効果位置に対応する位置とはいえ、16:9における画像効果位置は、4:3のスルー画像を見ながら設定した時のユーザの印象とは異なる位置になってしまう。特に、4:3のスルー画像において最下部の位置を画像効果位置にしていた場合、16:9の動画ではスルー画像のときに見えていた最下部の被写体が欠けるため、ユーザの印象の違いはより顕著である。   In FIG. 7A, when the still image aspect ratio is 4: 3 and the basic video image quality setting is HD image quality (16: 9), through display in the diorama mode without applying the above embodiment (EVF A display example when performing (display) and a schematic diagram of a recorded still image and moving image are shown. In this case, the user adjusts the image effect position in the diorama mode while viewing the 4: 3 through image. When still image shooting is performed, a 4: 3 still image is recorded, and image effect processing in the diorama-style mode is performed on an area intended by the user. However, when moving image shooting is performed by operating the moving image button 63 in the diorama mode, the recorded moving image is 16: 9. In this case, although the position corresponds to the image effect position at 4: 3, the image effect position at 16: 9 is at a position different from the user's impression when set while viewing the 4: 3 through image. turn into. In particular, when the bottom position in the 4: 3 through image is set as the image effect position, the lowermost subject that was visible in the through image is missing in the 16: 9 video, so the difference in the impression of the user is More prominent.

これに対し、上記実施形態の構成を適用した場合を図7(b)、図7(c)に示す。   On the other hand, the case where the structure of the said embodiment is applied is shown in FIG.7 (b) and FIG.7 (c).

図7(b)に、静止画アスペクト比を4:3、基本動画画質設定をHD画質(16:9)としていた場合に、本実施形態を適用して、ジオラマ風モードでスルー表示(EVF表示)行った場合の表示例と、記録される静止画像と動画像の模式図を示す。この場合、ユーザは4:3のスルー画像を見ながらジオラマ風モードの画像効果位置を調整する。そして、静止画撮影を行った場合は4:3の静止画が記録され、ジオラマ風モードでの画像効果処理はユーザが意図した領域に施される。さらに、ジオラマ風モードで動画ボタン63の操作によって動画撮影を行った場合にも、記録される動画は4:3のアスペクト比となるので、スルー画像を見ながら設定した時のユーザの意図と同じ位置に画像効果処理を施した動画が記録される。   In FIG. 7B, when the still image aspect ratio is 4: 3 and the basic video image quality setting is HD image quality (16: 9), this embodiment is applied and through display (EVF display) is performed in the diorama mode. ) A display example in the case of performing, and a schematic diagram of a recorded still image and moving image are shown. In this case, the user adjusts the image effect position in the diorama mode while viewing the 4: 3 through image. When still image shooting is performed, a 4: 3 still image is recorded, and image effect processing in the diorama-style mode is performed on an area intended by the user. Furthermore, even when a movie is shot by operating the movie button 63 in the diorama-like mode, the recorded movie has an aspect ratio of 4: 3, which is the same as the user's intention when setting while viewing the through image. A moving image that has been subjected to image effect processing is recorded at the position.

図7(c)に、静止画アスペクト比を16:9、基本動画画質設定をSD画質(4:3)としていた場合に、本実施形態を適用して、ジオラマ風モードでスルー表示(EVF表示)行った場合の表示例と、記録される静止画像と動画像の模式図を示す。この場合、ユーザは16:9のスルー画像を見ながらジオラマ風モードの画像効果位置を調整する。そして、静止画撮影を行った場合は16:9の静止画が記録され、ジオラマ風モードでの画像効果処理はユーザが意図した領域に施される。さらに、ジオラマ風モードで動画ボタン63の操作によって動画撮影を行った場合にも、記録される動画は16:9のアスペクト比となるので、スルー画像を見ながら設定した時のユーザの意図と同じ位置に画像効果処理を施した動画が記録される。   In FIG. 7C, when the still image aspect ratio is 16: 9 and the basic moving image quality setting is SD image quality (4: 3), this embodiment is applied to display through in the diorama mode (EVF display). ) A display example in the case of performing, and a schematic diagram of a recorded still image and moving image are shown. In this case, the user adjusts the image effect position in the diorama mode while viewing the 16: 9 through image. When still image shooting is performed, a 16: 9 still image is recorded, and image effect processing in the diorama-style mode is performed on an area intended by the user. Furthermore, even when a movie is shot by operating the movie button 63 in the diorama mode, the recorded movie has an aspect ratio of 16: 9, which is the same as the user's intention when setting while viewing the through image. A moving image that has been subjected to image effect processing is recorded at the position.

以上説明したように、本実施形態によれば、ユーザが指定した位置に基づいて行う画像効果処理を施す撮影モードにおいて、静止画でも動画でも、ユーザの意図したとおりの位置に画像効果処理を施すことが可能となる。   As described above, according to the present embodiment, in the shooting mode in which the image effect process is performed based on the position designated by the user, the image effect process is performed at a position as intended by the user, whether a still image or a moving image. It becomes possible.

上記実施形態では、第1の記録動作としての静止画記録モードにおける静止画撮影(S325)のために第1のアスペクト比が、第2の記録動作としての静止画記録モードにおける動画撮影(S320)のために第2のアスペクト比が設定されている。これらアスペクト比は、第1の設定処理(S317)や第2の設定処理(S603)によって、個別に、独立して設定されるものである。そして、第2の記録動作において、位置指定付き画像効果処理を伴う撮影によって実行する際には、第1の記録動作に設定された第1のアスペクト比と一致するように動画記録画質を変更してる。しかしながら、本発明は、このような構成に限られるものではない。例えば、動画記録モードにおいて静止画記録を行うときに、位置指定付き画像効果処理を伴う撮影が指定されている場合には静止画記録のアスペクト比を動画記録のアスペクト比と一致するように設定するものとしてもよい。この場合、第1の記録モードを動画記録モードにおける動画撮影、第2の記録モードを動画記録モードにおける静止画撮影とした構成となる。すなわち、第1の記録モードと第2の記録モードは、個別にアスペクト比を設定可能な複数種類の記録動作のうちから選択されたものであればよい。   In the above-described embodiment, the first aspect ratio is set for moving image shooting in the still image recording mode as the second recording operation (S320) for still image shooting in the still image recording mode as the first recording operation (S325). Therefore, a second aspect ratio is set. These aspect ratios are individually and independently set by the first setting process (S317) and the second setting process (S603). In the second recording operation, when the image recording is performed with the image effect processing with position designation, the moving image recording image quality is changed so as to match the first aspect ratio set in the first recording operation. I'm. However, the present invention is not limited to such a configuration. For example, when performing still image recording in the movie recording mode, if shooting with image effect processing with position designation is specified, the aspect ratio of still image recording is set to match the aspect ratio of movie recording It may be a thing. In this case, the first recording mode is a moving image shooting in the moving image recording mode, and the second recording mode is a still image shooting in the moving image recording mode. That is, the first recording mode and the second recording mode may be selected from a plurality of types of recording operations in which the aspect ratio can be individually set.

なお、システム制御部50の制御は1つのハードウェアが行ってもよいし、複数のハードウェアが処理を分担することで、装置全体の制御を行ってもよい。   The control of the system control unit 50 may be performed by one piece of hardware, or the entire apparatus may be controlled by a plurality of pieces of hardware sharing the processing.

また、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこのような特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。   Further, although the present invention has been described in detail based on preferred embodiments thereof, the present invention is not limited to such specific embodiments, and various forms without departing from the gist of the present invention are also described. Included in the invention.

また、上述した実施形態においては、本発明をデジタルカメラに適用した場合を例にして説明したが、これはこの例に限定されず、動画と静止画との撮影が可能な撮像装置であれば適用可能である。すなわち、本発明はデジタルカメラ、デジタル一眼レフカメラ、デジタルビデオカメラ、カメラ付きPDA、カメラ付き携帯電話端末、カメラ付き音楽プレーヤー、カメラ付きゲーム機、カメラ付き電子ブックリーダーなどに適用可能である。   In the above-described embodiment, the case where the present invention is applied to a digital camera has been described as an example. However, the present invention is not limited to this example, and any imaging device capable of shooting moving images and still images can be used. Applicable. That is, the present invention can be applied to a digital camera, a digital single-lens reflex camera, a digital video camera, a PDA with a camera, a mobile phone terminal with a camera, a music player with a camera, a game machine with a camera, an electronic book reader with a camera, and the like.

(他の実施形態)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other embodiments)
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program code. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.

Claims (8)

数種類の記録動作が可能な撮像装置であって、
ユーザの操作に応じて第1の記録動作のための第1のアスペクト比を設定する第1の設定手段と、
ユーザの操作に応じて第2の記録動作のための第2のアスペクト比を設定する第2の設定手段と、
前記第1のアスペクト比でもって表示部への画像表示を行なう表示制御手段と、
前記画像表示により前記表示部に表示されている画像において範囲をユーザに指定させる指定手段と、
前記第1または第2の記録動作で撮影された画像に、前記指定手段で指定された範囲を用いて画像処理を施す画像処理手段と、
前記第2の記録動作での撮影を前記画像処理を施しながら行う場合は、前記第2の記録動作におけるアスペクト比を前記第1のアスペクト比に変更して撮影を実行し、そうでない場合は前記第2のアスペクト比で前記第2の記録動作による撮影を実行する実行手段と、を備えることを特徴とする撮像装置。
A double several recording operation image pickup apparatus capable,
First setting means for setting a first aspect ratio for the first recording operation in accordance with a user operation;
Second setting means for setting a second aspect ratio for the second recording operation in accordance with a user operation;
Display control means for displaying an image on the display unit with the first aspect ratio;
Designation means for allowing the user to designate a range in the image displayed on the display unit by the image display;
Image processing means for performing image processing on the image photographed by the first or second recording operation using a range designated by the designation means;
When shooting in the second recording operation is performed while performing the image processing, shooting is performed by changing the aspect ratio in the second recording operation to the first aspect ratio; otherwise, the shooting is performed. An imaging apparatus comprising: execution means for executing imaging by the second recording operation at a second aspect ratio.
前記第1の記録動作は静止画撮影であり、前記第2の記録動作は動画撮影であることを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the first recording operation is still image shooting, and the second recording operation is moving image shooting. 前記表示制御手段による前記表示部への画像表示は、電子ビューファインダを提供するリアルタイムな動画表示であることを特徴とする請求項1または2に記載の撮像装置。   The image pickup apparatus according to claim 1, wherein the image display on the display unit by the display control unit is a real-time moving image display that provides an electronic viewfinder. 前記動画撮影では、動画の記録画質とアスペクト比が対応付けられており、
前記第2の設定手段では動画の記録画質を設定することにより前記第2のアスペクト比を設定し、
前記実行手段では、前記第2の記録動作での撮影を前記画像処理を施しながら行う場合に、前記第1のアスペクト比に対応した動画の記録画質で前記第2の記録動作による撮影を実行する、ことを特徴とする請求項2に記載の撮像装置。
In the video shooting, the video recording quality and the aspect ratio are associated with each other,
The second setting means sets the second aspect ratio by setting the recording quality of the moving image,
The execution means executes shooting by the second recording operation at a moving image recording quality corresponding to the first aspect ratio when shooting by the second recording operation is performed while performing the image processing. The imaging apparatus according to claim 2.
前記指定手段により前記範囲が指定された後に前記第1の記録動作のアスペクト比の設定が変更された場合には、変更後のアスペクト比にしたがって、前記範囲を自動的に修正する修正手段を更に備えることを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   If the setting of the aspect ratio of the first recording operation is changed after the range is specified by the specifying means, a correcting means for automatically correcting the range according to the changed aspect ratio is further provided. The imaging apparatus according to claim 1, further comprising: an imaging apparatus according to claim 1. 数種類の記録動作が可能な撮像装置の制御方法であって、
第1の設定手段が、ユーザの操作に応じて第1の記録動作のための第1のアスペクト比を設定する工程と、
第2の設定手段が、ユーザの操作に応じて第2の記録動作のための第2のアスペクト比を設定する工程と、
表示制御手段が、前記第1のアスペクト比でもって表示部への画像表示を行なう工程と、
指定手段が、前記画像表示により前記表示部に表示されている画像において範囲をユーザに指定させる工程と、
画像処理手段が、前記第1または第2の記録動作で撮影された画像に、指定された前記範囲を用いて画像処理を施す工程と、
実行手段が、前記第2の記録動作での撮影を前記画像処理を施しながら行う場合は、前記第2の記録動作におけるアスペクト比を前記第1のアスペクト比に変更して撮影を実行し、そうでない場合は前記第2のアスペクト比で前記第2の記録動作による撮影を実行する工程と、を備えることを特徴とする撮像装置の制御方法。
A method of controlling a multi several recording operation image pickup apparatus capable,
A first setting means for setting a first aspect ratio for the first recording operation in accordance with a user operation;
A second setting unit setting a second aspect ratio for the second recording operation in response to a user operation;
Display control means for displaying an image on the display unit with the first aspect ratio;
A step of causing a user to designate a range in an image displayed on the display unit by the image display;
Image processing means for performing image processing on the image captured by the first or second recording operation using the designated range;
When the execution unit performs shooting in the second recording operation while performing the image processing, the shooting is performed by changing the aspect ratio in the second recording operation to the first aspect ratio, and so on. If not, a step of performing photographing by the second recording operation at the second aspect ratio is provided.
コンピュータを、請求項1乃至5のいずれか1項に記載された撮像装置の各手段として機能させるためのプログラム。 The program for functioning a computer as each means of the imaging device described in any one of Claims 1 thru | or 5 . コンピュータを、請求項1乃至5のいずれか1項に記載された撮像装置の各手段として機能させるためのプログラムを格納したコンピュータが読み取り可能な記録媒体。 A computer- readable recording medium storing a program for causing a computer to function as each unit of the imaging apparatus according to any one of claims 1 to 5 .
JP2011017113A 2011-01-28 2011-01-28 Imaging apparatus, control method therefor, program, and recording medium Active JP5658580B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011017113A JP5658580B2 (en) 2011-01-28 2011-01-28 Imaging apparatus, control method therefor, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011017113A JP5658580B2 (en) 2011-01-28 2011-01-28 Imaging apparatus, control method therefor, program, and recording medium

Publications (3)

Publication Number Publication Date
JP2012160784A JP2012160784A (en) 2012-08-23
JP2012160784A5 JP2012160784A5 (en) 2014-02-27
JP5658580B2 true JP5658580B2 (en) 2015-01-28

Family

ID=46840995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011017113A Active JP5658580B2 (en) 2011-01-28 2011-01-28 Imaging apparatus, control method therefor, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5658580B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10168882B2 (en) 2013-06-09 2019-01-01 Apple Inc. Device, method, and graphical user interface for switching between camera interfaces

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4522232B2 (en) * 2004-11-17 2010-08-11 キヤノン株式会社 Imaging device
JP4621152B2 (en) * 2006-02-16 2011-01-26 キヤノン株式会社 Imaging device, control method thereof, and program
JP5418020B2 (en) * 2009-06-29 2014-02-19 株式会社ニコン Imaging device

Also Published As

Publication number Publication date
JP2012160784A (en) 2012-08-23

Similar Documents

Publication Publication Date Title
JP6247527B2 (en) Imaging apparatus, control method, program, and storage medium
US9838609B2 (en) Image capturing apparatus, control apparatus and control method for controlling zooming function
JP5988860B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
US9538097B2 (en) Image pickup apparatus including a plurality of image pickup units and method of controlling the same
JP5875388B2 (en) Electronic device, control method of electronic device, program, and storage medium
JP6200265B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2011039206A (en) Image capturing apparatus and method of controlling the same
JP6953296B2 (en) Imaging control device and its control method
JP2008109221A (en) Imaging device
JP6312423B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP5975656B2 (en) Electronic device, control method of electronic device, program, and storage medium
JP6736410B2 (en) Imaging device, control method of imaging device, program, and storage medium
JP6758843B2 (en) Shooting control device and its control method
JP5658580B2 (en) Imaging apparatus, control method therefor, program, and recording medium
JP6238671B2 (en) Display control device and control method of display control device
JP2013157918A (en) Electronic apparatus, control method for electronic apparatus, program, and recording medium
JP4238448B2 (en) Electronic camera
JP6200194B2 (en) Imaging apparatus, control method therefor, and program
JP6598661B2 (en) Imaging control apparatus, control method, and program
JP6257310B2 (en) Imaging apparatus, imaging control method, and program
JP2012034199A (en) Imaging device, control method, program and recording medium for imaging device
JP6461284B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP6045612B2 (en) Display control apparatus and control method thereof
JP2015037289A (en) Image recording device, control method of the same, and program
JP6278702B2 (en) Imaging apparatus, control method therefor, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140108

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140909

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: 20141031

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141128

R151 Written notification of patent or utility model registration

Ref document number: 5658580

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151