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
JP6332963B2 - Image processing apparatus and image processing apparatus control method - Google Patents
[go: Go Back, main page]

JP6332963B2 - Image processing apparatus and image processing apparatus control method - Google Patents

Image processing apparatus and image processing apparatus control method Download PDF

Info

Publication number
JP6332963B2
JP6332963B2 JP2013269687A JP2013269687A JP6332963B2 JP 6332963 B2 JP6332963 B2 JP 6332963B2 JP 2013269687 A JP2013269687 A JP 2013269687A JP 2013269687 A JP2013269687 A JP 2013269687A JP 6332963 B2 JP6332963 B2 JP 6332963B2
Authority
JP
Japan
Prior art keywords
still image
shooting
moving image
image data
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013269687A
Other languages
Japanese (ja)
Other versions
JP2015126392A (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 JP2013269687A priority Critical patent/JP6332963B2/en
Publication of JP2015126392A publication Critical patent/JP2015126392A/en
Application granted granted Critical
Publication of JP6332963B2 publication Critical patent/JP6332963B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Description

本発明は、画像処理装置及び画像処理装置の制御方法に関するものである。   The present invention relates to an image processing apparatus and an image processing apparatus control method.

従来、動画や静止画の画像の中から一部の画像を抽出して再生する、いわゆるダイジェスト再生機能を備えた画像処理装置が提案されている。特許文献1には、ユーザにより指定された人物が写っている画像と、指定された人物と関係性が高い人物が写っている画像を抽出して再生する情報処理装置が記載されている。   Conventionally, an image processing apparatus having a so-called digest reproduction function for extracting and reproducing a part of an image from a moving image or a still image has been proposed. Patent Document 1 describes an information processing apparatus that extracts and reproduces an image showing a person designated by a user and an image showing a person having a high relationship with the designated person.

特開2011−82915号公報JP 2011-82915 A

一方で、デジタルカメラで撮影した動画や静止画の中には、撮影条件によっては、ダイジェスト再生に不適切な画像が存在し、画像の選択条件によっては、ダイジェスト再生に不適切な画像を選択してしまうことがあった。   On the other hand, some movies and still images shot with a digital camera may be inappropriate for digest playback depending on the shooting conditions. Depending on the image selection conditions, images that are inappropriate for digest playback may be selected. There was a case.

そこで本発明は、記録された画像の中から一部の画像を抽出して再生する場合に、適切な画像を選択して再生できるようにすることを目的とする。   Accordingly, an object of the present invention is to select and reproduce an appropriate image when a part of the recorded image is extracted and reproduced.

上記目的を達成するために、本発明に係る画像処理装置は
撮影手段を有する画像処理装置であって、静止画記録指示に応じて、当該静止画撮影指示に応じて撮影した静止画と、静止画を撮影する前に撮影した静止画撮影前動画と、静止画撮影前動画を撮影中の画像処理装置の所定間隔毎の縦横姿勢を示す撮影前付加情報とを、記録媒体に記録するように制御する記録制御手段と、記録媒体に記録されている画像から、再生対象の画像を自動的に選択する再生制御手段とを有し、再生制御手段は、撮影前付加情報に基づいて、撮影中に画像処理装置の縦横姿勢が変化している静止画撮影前動画を判定し、画像処理装置の縦横姿勢が変化したと判定された静止画撮影前動画を再生対象として選択しないように制御することを特徴とする
In order to achieve the above object, an image processing apparatus according to the present invention provides :
An image processing apparatus having photographing means, in response to a still image recording instruction, a still image photographed according to the still image photographing instruction, a still image pre-shooting moving image photographed before photographing the still image, From the image recorded on the recording medium, recording control means for controlling the pre-shooting additional information indicating the vertical and horizontal postures at predetermined intervals of the image processing apparatus that is shooting the pre-shooting moving image to the recording medium, and the image recorded on the recording medium A reproduction control means for automatically selecting an image to be reproduced, and the reproduction control means is based on the pre-photographing additional information, and before and after taking a still image in which the vertical and horizontal postures of the image processing apparatus change during photographing. A moving image is determined, and control is performed so as not to select a moving image before still image shooting in which it is determined that the vertical and horizontal postures of the image processing apparatus have changed as a reproduction target .

記録された画像の中から一部の画像を抽出して再生する場合に、適切な画像を選択して再生できるようにすることができる。   When a part of the recorded images is extracted and reproduced, an appropriate image can be selected and reproduced.

本実施形態における画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image processing apparatus in this embodiment. 本実施形態における動画・静止画記録モードにおける記録制御に関するフローチャートである。It is a flowchart regarding the recording control in the moving image / still image recording mode in the present embodiment. 本実施形態における撮影後処理を説明するフローチャートである。It is a flowchart explaining the imaging | photography post-process in this embodiment. レビュー表示時の表示部104に表示される画像例を示す図である。It is a figure which shows the example of an image displayed on the display part 104 at the time of review display. 動画・静止画記録モードにおいて、記録される動画及び静止画に関する概略図である。It is the schematic regarding the moving image and still image which are recorded in a moving image and still image recording mode. 撮影指示前の付加情報を示す図である。It is a figure which shows the additional information before imaging | photography instruction | indication. 本実施形態における動画・静止画記録モードで記録したデータの再生処理に関するフローチャートである。It is a flowchart regarding the reproduction | regeneration processing of the data recorded by the moving image / still image recording mode in this embodiment. 再生モードにおけるアイコンの表示例を示す図である。It is a figure which shows the example of a display of the icon in reproduction | regeneration mode. アルバム再生モードにおけるアルバム再生処理に関するフローチャートである。It is a flowchart regarding the album playback processing in the album playback mode.

以下、添付図面を参照して、本発明の実施形態を説明する。   Embodiments of the present invention will be described below with reference to the accompanying drawings.

図1は、画像処理装置としてのカメラ100の構成例を示すブロック図である。カメラ100は、第1撮像部101、第2撮像部102、表示制御部103、表示部104、音声入力部105、音声処理部106、音声出力部107を有する。また、カメラ100は、姿勢検出部108、画像処理部109、操作部110、制御部111、メモリ112、記録再生部113、記録媒体114、信号処理部115、通信部116を有する。内部バス117は、カメラ100の各ブロックの間で、各種のデータやコマンドを転送するために用いられる。   FIG. 1 is a block diagram illustrating a configuration example of a camera 100 as an image processing apparatus. The camera 100 includes a first imaging unit 101, a second imaging unit 102, a display control unit 103, a display unit 104, an audio input unit 105, an audio processing unit 106, and an audio output unit 107. The camera 100 also includes an attitude detection unit 108, an image processing unit 109, an operation unit 110, a control unit 111, a memory 112, a recording / playback unit 113, a recording medium 114, a signal processing unit 115, and a communication unit 116. The internal bus 117 is used for transferring various data and commands between the blocks of the camera 100.

第1撮像部101及び第2撮像部102は、例えば、レンズユニット、絞り、シャッター、撮像素子などからなる。第1撮像部101及び第2撮像部102は、レンズにより取り込まれた被写体の光学像を、絞りにより光量を制御して、CCDセンサやCMOSセンサ等の撮像素子により画像信号に変換し、得られたアナログ画像信号をデジタル画像信号に変換する。変換されたデジタル画像信号は、一時的にメモリ112に記憶される。   The first imaging unit 101 and the second imaging unit 102 include, for example, a lens unit, a diaphragm, a shutter, and an imaging element. The first image pickup unit 101 and the second image pickup unit 102 are obtained by converting an optical image of a subject captured by a lens into an image signal using an image sensor such as a CCD sensor or a CMOS sensor by controlling a light amount by a diaphragm. The analog image signal is converted into a digital image signal. The converted digital image signal is temporarily stored in the memory 112.

本実施形態では、第1撮像部101はメインカメラとして、カメラ100の使用者が被写体を撮影するために用いるものであり、第2撮像部102はサブカメラとして、第1撮像部101とは反対方向で、カメラ100の使用者に向けられているものとする。第2撮像部102の設置される向きは、第1撮像部101の反対方向に限られず、第1撮像部101と異なる方向に設置されていればよい。   In the present embodiment, the first imaging unit 101 is used as a main camera for the user of the camera 100 to photograph a subject, and the second imaging unit 102 is a sub camera, opposite to the first imaging unit 101. It is assumed that the camera 100 is directed toward the user in the direction. The direction in which the second imaging unit 102 is installed is not limited to the direction opposite to the first imaging unit 101, and may be installed in a direction different from the first imaging unit 101.

表示制御部103は、表示部104に画像を表示するための表示制御を行うマイクロコンピュータであって、メモリ112に一時的に記憶されたデジタル画像信号を読み出して、表示部104に表示させる処理を行う。また、表示制御部103は、記録媒体114から記録再生部113によって読み出された動画ファイルや静止画ファイルに含まれる画像データを表示部104に表示させる処理も行う。表示部104は、例えばカメラ100に搭載された液晶パネルや有機ELパネル等であってもよいし、カメラ100とは別の表示装置(例えばテレビ、モニタ、プロジェクタ等)であってもよい。   The display control unit 103 is a microcomputer that performs display control for displaying an image on the display unit 104, and performs a process of reading a digital image signal temporarily stored in the memory 112 and displaying the digital image signal on the display unit 104. Do. The display control unit 103 also performs processing for causing the display unit 104 to display image data included in a moving image file or a still image file read from the recording medium 114 by the recording / playback unit 113. The display unit 104 may be, for example, a liquid crystal panel or an organic EL panel mounted on the camera 100, or may be a display device (for example, a television, a monitor, a projector, or the like) different from the camera 100.

音声入力部105は、例えば、内蔵された無指向性のマイクにより、カメラ100の周囲の音声を集音(収音)し、得られたアナログ音声信号を不図示のA/D変換部によりデジタル化してデジタル音声信号を取得する。そして音声入力部105で取得されたデジタル音声信号は、音声処理部106に送信される。   The audio input unit 105 collects (collects) audio around the camera 100 using, for example, a built-in omnidirectional microphone, and digitally outputs the obtained analog audio signal using an A / D conversion unit (not shown). To obtain a digital audio signal. The digital audio signal acquired by the audio input unit 105 is transmitted to the audio processing unit 106.

音声処理部106は、記録時においては、音声入力部105から送信されたデジタル音声信号に対して、レベルの適正化処理や周波数制限処理、雑音低減処理等の処理を行い、処理したデジタル音声信号をメモリ112に記憶させる。必要に応じて、音声処理部106は処理したデジタル音声信号を、例えばAC3、AAC等の公知の一般的な音声圧縮方式を用いて圧縮する処理を行う。また、音声処理部106は、再生時においては、記録媒体114から記録再生部113によって読み出された音声ファイルや動画ファイルに含まれる圧縮音声データを復号する処理を行う。   At the time of recording, the audio processing unit 106 performs processing such as level optimization processing, frequency limiting processing, noise reduction processing, and the like on the digital audio signal transmitted from the audio input unit 105, and the processed digital audio signal Is stored in the memory 112. If necessary, the audio processing unit 106 performs a process of compressing the processed digital audio signal using a known general audio compression method such as AC3 or AAC. Further, the audio processing unit 106 performs a process of decoding the compressed audio data included in the audio file or the moving image file read from the recording medium 114 by the recording / reproducing unit 113 during reproduction.

音声出力部107は、例えばスピーカや音声出力端子(アナログ端子/デジタル端子)である。例えば音声出力部107がスピーカであれば、音声処理部106で復号されたデジタル音声信号をアナログ音声信号に変換し、外部に音声として出力する。音声出力部107が音声出力端子の場合、音声処理部106が復号したデジタル音声信号をアナログ音声信号に変換して外部装置(外付けスピーカ等)に出力するか、デジタル音声信号をそのまま外部装置(光デジタル端子搭載のオーディオコンポ等)に出力する。   The audio output unit 107 is, for example, a speaker or an audio output terminal (analog terminal / digital terminal). For example, if the audio output unit 107 is a speaker, the digital audio signal decoded by the audio processing unit 106 is converted into an analog audio signal and output to the outside as audio. When the audio output unit 107 is an audio output terminal, the digital audio signal decoded by the audio processing unit 106 is converted into an analog audio signal and output to an external device (external speaker or the like), or the digital audio signal is directly output to the external device ( Output to an optical component equipped with an optical digital terminal).

姿勢検出部108は、カメラ100の姿勢を検知するための角度センサや縦横センサなどであり、制御部111は、姿勢検出部108により得られたカメラ100の姿勢に関する情報に基づいて、カメラ100が横位置であるか縦位置であるかを判定する。本実施形態で姿勢情報は、カメラ100が横位置(正位置)の場合に0度、カメラ100が横位置のときの右側面である第1面を下にした縦位置の場合に90度、第1面と反対側のカメラ100の左側面である第2面を下にした縦位置の場合に−90度とする。   The posture detection unit 108 is an angle sensor or a vertical / horizontal sensor for detecting the posture of the camera 100, and the control unit 111 is based on information about the posture of the camera 100 obtained by the posture detection unit 108. It is determined whether the position is horizontal or vertical. In this embodiment, the posture information is 0 degrees when the camera 100 is in the horizontal position (normal position), 90 degrees when the camera 100 is in the vertical position with the first surface, which is the right side when the camera 100 is in the horizontal position, In the case of the vertical position with the second surface, which is the left side surface of the camera 100 opposite to the first surface, facing down, the angle is set to −90 degrees.

画像処理部109は、メモリ112に記憶された画像信号に対し、ホワイトバランスや色、明るさなどをユーザに設定された設定値や、画像の特性から判定した設定値に基づいて画質調整処理を行うためのプログラムを搭載したマイクロコンピュータである。また、画像処理部109は、画像信号の示す画像の画素数を減らして、画像の大きさ(画角)を小さくしたり、画像を回転させたり、色変換することも可能で、RGBデータである画像信号をYUVデータに変換したり、またその逆の変換を行うことも可能である。処理された画像信号はメモリ112に再び記憶される。   The image processing unit 109 performs image quality adjustment processing on the image signal stored in the memory 112 based on setting values set by the user such as white balance, color, and brightness, or setting values determined from image characteristics. It is a microcomputer equipped with a program for performing. In addition, the image processing unit 109 can reduce the number of pixels of the image indicated by the image signal to reduce the size (view angle) of the image, rotate the image, or perform color conversion. It is also possible to convert a certain image signal into YUV data and vice versa. The processed image signal is stored in the memory 112 again.

また画像処理部109は、YUVデータに変換された画像信号から、パターンマッチング等を用いて、被写体の情報として、写っている人物の数や、それぞれの顔の大きさや位置、笑顔度、人物部分の画像の輝度などを検出する。更に画像処理部109は、同じタイミングで出力される第1撮像部101から出力される画像信号と、第2撮像部102から出力される画像信号とを、合成処理することも可能である。また、画像処理部109は、メニュー画面やアイコン等を生成し、更に第1撮像部101や第2撮像部102から出力される画像信号と、メニュー画面やアイコン等を合成することも可能である。   Further, the image processing unit 109 uses the pattern matching or the like from the image signal converted into the YUV data as the subject information, the number of people in the image, the size and position of each face, the smile level, the person part. The brightness of the image is detected. Furthermore, the image processing unit 109 can also combine the image signal output from the first imaging unit 101 output at the same timing and the image signal output from the second imaging unit 102. The image processing unit 109 can also generate a menu screen, an icon, and the like, and further synthesize the image signal output from the first imaging unit 101 and the second imaging unit 102 with the menu screen, the icon, and the like. .

操作部110は、例えば、電源ボタン、記録ボタン、ズーム調整ボタン、オートフォーカスボタン、再生ボタンなどの、画像の撮影・再生に関連する各種操作を入力するスイッチ等を有する。また、メニュー表示ボタン、決定ボタン、その他カーソルキー、ポインティングデバイス、タッチパネル等を備え、ユーザによりこれらのキーやボタン、タッチパネルが操作されると、制御部111に操作信号を送信する。   The operation unit 110 includes, for example, a switch for inputting various operations related to image shooting / playback, such as a power button, a record button, a zoom adjustment button, an autofocus button, and a playback button. In addition, a menu display button, a determination button, other cursor keys, a pointing device, a touch panel, and the like are provided, and an operation signal is transmitted to the control unit 111 when the user operates these keys, buttons, and touch panel.

制御部111は、不図示のROM等に記録されたカメラ100の制御プログラムをメモリ112に展開し、カメラ100の各ブロックを制御する。また、メモリ112は、ワークメモリとして一時的に制御プログラムやデータを格納する。   The control unit 111 develops a control program for the camera 100 recorded in a ROM (not shown) in the memory 112 and controls each block of the camera 100. The memory 112 temporarily stores a control program and data as a work memory.

記録再生部113は、下記の各処理を実行するプログラムを搭載したマイクロコンピュータである。記録再生部113は、動画記録時においては、信号処理部115により圧縮された動画データや音声処理部106により圧縮された音声データ、メモリ112に記憶された撮影日等の各種情報と共に、動画ファイルとして記録媒体114に記録する処理を行う。記録再生部113は、圧縮された動画データと音声データとから成るデータストリームを形成し、順次記録媒体114に記録し、ファイルヘッダ等を付加してFATやexFAT等のファイルフォーマットに適合した形で記録する。また記録再生部113は、静止画記録時においては、メモリ112に記憶されている静止画データを撮影日等の各種情報と共に、静止画ファイルとして記録媒体114に記録する処理を行う。再生時において、記録再生部113は、記録媒体114に記録された動画ファイルや静止画ファイルをファイルフォーマットに従って読み出す。   The recording / reproducing unit 113 is a microcomputer equipped with a program for executing the following processes. When recording a moving image, the recording / reproducing unit 113 stores a moving image file together with the moving image data compressed by the signal processing unit 115, the audio data compressed by the audio processing unit 106, and various information such as the shooting date stored in the memory 112. As shown in FIG. The recording / playback unit 113 forms a data stream composed of compressed moving image data and audio data, sequentially records it on a recording medium 114, adds a file header, etc., and conforms to a file format such as FAT or exFAT. Record. The recording / playback unit 113 performs processing for recording the still image data stored in the memory 112 as a still image file on the recording medium 114 together with various types of information such as the shooting date when recording a still image. At the time of reproduction, the recording / reproducing unit 113 reads out a moving image file or a still image file recorded on the recording medium 114 according to the file format.

記録媒体114は、カメラ100に内蔵された記録媒体でもよいし、取り外し可能な記録媒体でもよい。記録媒体114は、例えば、ハードディスク、光ディスク、光磁気ディスク、CD−R、DVD−R、磁気テープ、不揮発性の半導体メモリ、フラッシュメモリなどのあらゆる方式の記録媒体を含む。取り外し可能な記録媒体を用いる場合には、記録再生部113は、それらの取り外し可能な記録媒体を装着するためのインターフェースを含む。   The recording medium 114 may be a recording medium built in the camera 100 or a removable recording medium. The recording medium 114 includes all types of recording media such as a hard disk, an optical disk, a magneto-optical disk, a CD-R, a DVD-R, a magnetic tape, a nonvolatile semiconductor memory, and a flash memory. In the case of using removable recording media, the recording / playback unit 113 includes an interface for mounting these removable recording media.

信号処理部115は、第1撮像部101や第2撮像部102にて撮影された画像信号に対して、MPEG、JPEG等の公知の符号化方式に従う符号化処理を施し、その情報量を圧縮する。また、信号処理部115は、記録再生部113により記録媒体114から読み出された動画ファイルや静止画ファイルから、圧縮された動画データや静止画データを抽出し、復号化処理を行う。   The signal processing unit 115 performs an encoding process according to a known encoding method such as MPEG or JPEG on the image signal captured by the first imaging unit 101 or the second imaging unit 102, and compresses the information amount. To do. In addition, the signal processing unit 115 extracts compressed moving image data and still image data from the moving image file and still image file read from the recording medium 114 by the recording / reproducing unit 113, and performs a decoding process.

通信部116は、カメラ100と外部装置との間で、制御信号や動画ファイル、静止画ファイル、各種データ等を送受信するものであり、外部装置と有線または無線で接続する。なお、通信方式はどのような方式であってもよい。内部バス117は、カメラ100の各部の間で、各種のデータやコマンドを転送するために用いられる。   The communication unit 116 transmits and receives control signals, moving image files, still image files, various data, and the like between the camera 100 and the external device, and is connected to the external device by wire or wirelessly. Note that any communication method may be used. The internal bus 117 is used to transfer various data and commands between the units of the camera 100.

なお、表示制御部103、音声処理部106、画像処理部109、記録再生部113、信号処理部115の処理は、制御部111が不図示のROM等に記録された前述の処理を実行するためのプログラムをメモリ112に展開して実行する構成にしてもよい。   Note that the processing of the display control unit 103, the audio processing unit 106, the image processing unit 109, the recording / playback unit 113, and the signal processing unit 115 is performed by the control unit 111 executing the above-described processing recorded in a ROM (not shown) or the like. The program may be loaded into the memory 112 and executed.

ここで、本実施形態のカメラ100の静止画記録動作について説明する。制御部111は、ユーザが操作部110の電源ボタンを操作し、操作部110のモード切り換えスイッチが、例えば、「静止画記録モード」「動画記録モード」、「再生モード」等のどのモードであるかを操作部110からの指示信号により確認する。「静止画記録モード」であると判定すると、制御部111は以下の動作を開始する。   Here, the still image recording operation of the camera 100 of the present embodiment will be described. In the control unit 111, the user operates the power button of the operation unit 110, and the mode changeover switch of the operation unit 110 is, for example, any mode such as “still image recording mode”, “moving image recording mode”, “reproduction mode”, and the like. This is confirmed by an instruction signal from the operation unit 110. If it is determined that the mode is the “still image recording mode”, the control unit 111 starts the following operation.

制御部111は、カメラ100の各ブロックに、静止画記録の準備をさせる。操作部110から撮影開始の指示が入力されるまで、制御部111は、第1撮像部101や第2撮像部102から得られた画像信号をメモリ112に記憶させる。そして、制御部111は、メモリ112に記憶された画像信号を読み出させて表示部104に画像を表示させるように、表示制御部103を制御する。なお、画像処理部109により処理され、メモリ112に記憶された画像信号を読出させて表示部104に画像を表示させるように表示制御部103を制御しても良い。なお、本実施形態では、第1撮像部101や第2撮像部102から出力される画像信号のフレームレートは、30フレーム/秒であるとするが、任意に設定することができる。また、本実施形態では、記録する静止画のサイズ(画素数)を複数のサイズから選択した一つのサイズに設定することができる。   The control unit 111 causes each block of the camera 100 to prepare for still image recording. The control unit 111 causes the memory 112 to store the image signals obtained from the first imaging unit 101 and the second imaging unit 102 until a shooting start instruction is input from the operation unit 110. Then, the control unit 111 controls the display control unit 103 so that the image signal stored in the memory 112 is read and an image is displayed on the display unit 104. The display control unit 103 may be controlled so that the image signal processed by the image processing unit 109 and stored in the memory 112 is read and an image is displayed on the display unit 104. In the present embodiment, the frame rate of the image signal output from the first imaging unit 101 or the second imaging unit 102 is 30 frames / second, but can be arbitrarily set. In the present embodiment, the size (number of pixels) of a still image to be recorded can be set to one size selected from a plurality of sizes.

本実施形態においては、カメラ100は、同じタイミングで出力される第1撮像部101からの画像信号と、第2撮像部102からの画像信号とを、画像処理部109において合成処理して、1つの画像信号として処理を行うことが可能である。また、カメラ100は、第1撮像部101から出力される画像信号と、第2撮像部102から出力される画像信号とをそれぞれ別々に処理することも可能である。   In the present embodiment, the camera 100 combines the image signal from the first imaging unit 101 and the image signal from the second imaging unit 102 that are output at the same timing in the image processing unit 109, It is possible to process as one image signal. The camera 100 can also process the image signal output from the first imaging unit 101 and the image signal output from the second imaging unit 102 separately.

制御部111は、操作部110により撮影開始の指示が入力されたか否かを判定する。撮影開始の指示があると、制御部111は、第1撮像部101や第2撮像部102から得られた画像信号をメモリ112に記憶させ、メモリ112に記憶された画像信号に対して設定値に基づいて画質調整処理を施すように画像処理部109を制御する。また、制御部111は、画像処理部109で処理された画像信号をメモリ112に記憶させ、メモリ112に記憶された画像信号を符号化して静止画データを生成するように信号処理部115を制御する。次に制御部111は、信号処理部115で生成された静止画データをメモリ112に再び記憶させ、記憶された静止画データを静止画ファイルとして記録媒体114に記録するように記録再生部113を制御する。以上の処理が終了すると、制御部111は、再び静止画記録の準備状態に各ブロックを戻す。   The control unit 111 determines whether an instruction to start shooting is input from the operation unit 110. When there is an instruction to start shooting, the control unit 111 stores the image signal obtained from the first imaging unit 101 or the second imaging unit 102 in the memory 112, and sets a set value for the image signal stored in the memory 112. The image processing unit 109 is controlled to perform image quality adjustment processing based on the above. In addition, the control unit 111 stores the image signal processed by the image processing unit 109 in the memory 112 and controls the signal processing unit 115 to generate the still image data by encoding the image signal stored in the memory 112. To do. Next, the control unit 111 stores the still image data generated by the signal processing unit 115 in the memory 112 again, and causes the recording / reproducing unit 113 to record the stored still image data on the recording medium 114 as a still image file. Control. When the above processing is completed, the control unit 111 returns each block to the still image recording preparation state again.

ここで、本実施形態のカメラ100の動画記録動作について説明する。本実施形態のカメラ100は、ユーザが操作部110の電源ボタンを操作し、操作部110のモード切り換えスイッチが、例えば、「動画記録モード」、「再生モード」等のどのモードであるかを操作部110からの指示信号により確認する。そして、「動画記録モード」であると判定すると以下の動作を開始する。   Here, the moving image recording operation of the camera 100 of the present embodiment will be described. In the camera 100 according to the present embodiment, the user operates the power button of the operation unit 110, and the mode change switch of the operation unit 110 operates, for example, which mode is “movie recording mode”, “playback mode”, or the like. This is confirmed by an instruction signal from the unit 110. When it is determined that the video recording mode is set, the following operation is started.

制御部111は、カメラ100の各ブロックに、動画記録の準備をさせる。操作部110から撮影開始の指示が入力されるまで、制御部111は、第1撮像部101や第2撮像部102から得られた画像信号を順次メモリ112に記憶させる。そして、制御部111は、メモリ112に記憶された画像信号を読み出させて表示部104に画像を表示させるように、表示制御部103を制御する。なお、画像処理部109により処理され、メモリ112に記憶された画像信号を読出させて表示部104に画像を表示させるように表示制御部103を制御しても良い。なお、本実施形態では、第1撮像部101や第2撮像部102から出力される画像信号のフレームレートは、30フレーム/秒であるとする。また、本実施形態では、記録する動画のサイズ(画素数)を複数のサイズから選択した一つのサイズに設定することができる。   The control unit 111 causes each block of the camera 100 to prepare for moving image recording. The control unit 111 causes the memory 112 to sequentially store the image signals obtained from the first imaging unit 101 and the second imaging unit 102 until a shooting start instruction is input from the operation unit 110. Then, the control unit 111 controls the display control unit 103 so that the image signal stored in the memory 112 is read and an image is displayed on the display unit 104. The display control unit 103 may be controlled so that the image signal processed by the image processing unit 109 and stored in the memory 112 is read and an image is displayed on the display unit 104. In the present embodiment, it is assumed that the frame rate of the image signal output from the first imaging unit 101 or the second imaging unit 102 is 30 frames / second. In this embodiment, the size (number of pixels) of a moving image to be recorded can be set to one size selected from a plurality of sizes.

そして制御部111は、操作部110により撮影開始の指示が入力されたか否かを判定する。撮影開始の指示があると、制御部111は、第1撮像部101や第2撮像部102から得られた画像信号をメモリ112に記憶させ、メモリ112に記憶された画像信号に対して設定値に基づいて画質調整処理を施すように画像処理部109を制御する。制御部111は動画記録を継続している間、30フレーム/秒で第1撮像部101や第2撮像部102から出力される画像信号を順次、画像処理部109に処理させる。   Then, the control unit 111 determines whether an instruction to start shooting is input from the operation unit 110. When there is an instruction to start shooting, the control unit 111 stores the image signal obtained from the first imaging unit 101 or the second imaging unit 102 in the memory 112, and sets a set value for the image signal stored in the memory 112. The image processing unit 109 is controlled to perform image quality adjustment processing based on the above. While the moving image recording is continued, the control unit 111 causes the image processing unit 109 to sequentially process image signals output from the first imaging unit 101 and the second imaging unit 102 at 30 frames / second.

本実施形態においては、カメラ100は、同じタイミングで出力される第1撮像部101からの画像信号と、第2撮像部102からの画像信号とを、画像処理部109において合成処理して、1つの画像信号として処理を行うことが可能である。第1撮像部101と第2撮像部102のフレームレートが異なる場合、例えば第1撮像部101が30フレーム/秒で第2撮像部102が15フレーム/秒の場合は、2フレーム分の第1撮像部101の画像信号に、同じ第2撮像部102の画像信号を合成する。また、カメラ100は、ユーザ等の設定により、第1撮像部101から出力される画像信号と、第2撮像部102から出力される画像信号とをそれぞれ別々に処理することも可能である。そして、制御部111は、画像処理部109で処理された画像信号を、順次メモリ112に記憶させる。   In the present embodiment, the camera 100 combines the image signal from the first imaging unit 101 and the image signal from the second imaging unit 102 that are output at the same timing in the image processing unit 109, It is possible to process as one image signal. When the frame rates of the first imaging unit 101 and the second imaging unit 102 are different, for example, when the first imaging unit 101 is 30 frames / second and the second imaging unit 102 is 15 frames / second, the first of two frames The image signal of the second imaging unit 102 is combined with the image signal of the imaging unit 101. The camera 100 can also process the image signal output from the first image capturing unit 101 and the image signal output from the second image capturing unit 102 separately according to settings by the user or the like. Then, the control unit 111 sequentially stores the image signal processed by the image processing unit 109 in the memory 112.

次に、制御部111は、メモリ112に記憶された複数フレームの画像信号を順次圧縮して動画データを生成するように信号処理部115を制御する。制御部111は、このとき、各フレーム画像をフレーム内予測符号化フレーム、フレーム間予測符号化フレームとして圧縮符号化をするように信号処理部115を制御する。そして、制御部111は、信号処理部115で符号化された各フレーム画像を順次メモリ112に記憶させていく。   Next, the control unit 111 controls the signal processing unit 115 to sequentially compress the image signals of a plurality of frames stored in the memory 112 to generate moving image data. At this time, the control unit 111 controls the signal processing unit 115 so that each frame image is compression-coded as an intra-frame prediction encoded frame and an inter-frame prediction encoded frame. Then, the control unit 111 sequentially stores each frame image encoded by the signal processing unit 115 in the memory 112.

一方、撮影開始の指示があると、制御部111は、音声に関する処理を行うように各ブロックを制御する。制御部111は、音声入力部105から出力されるアナログ音声信号を順次音声処理部106に転送し、デジタル信号への変換、音質調整処理等を施すように音声処理部106を制御する。また、音声圧縮の設定がされている場合には、制御部111は設定に従って、例えばAC3、AACの音声圧縮方式で音声信号を圧縮するように音声処理部106を制御する。そして、制御部111は、音声処理部106で処理した音声データをメモリ112に順次記憶させていく。   On the other hand, when there is an instruction to start shooting, the control unit 111 controls each block so as to perform processing related to sound. The control unit 111 sequentially transfers the analog audio signal output from the audio input unit 105 to the audio processing unit 106, and controls the audio processing unit 106 to perform conversion into a digital signal, sound quality adjustment processing, and the like. When the audio compression is set, the control unit 111 controls the audio processing unit 106 so as to compress the audio signal using, for example, an AC3 or AAC audio compression method according to the setting. Then, the control unit 111 sequentially stores the audio data processed by the audio processing unit 106 in the memory 112.

次に制御部111は、メモリ112に記憶された動画データ、音声データを順次、記録媒体114に記録するように、記録再生部113を制御する。例えば、15フレーム分(0.5秒分)の動画データと、0.5秒分の音声データとを一組にし、必要な各種情報を付加したデータストリームを形成し、ファイルシステムに従って記録媒体114に記録するように、制御部111は記録再生部113を制御する。なお、記録再生部113は、30フレーム分(1秒分)の動画データと、1秒分の音声データとを一組としてデータストリームを形成しても良い。制御部111は、これらの動作を動画記録の停止の指示があるまで継続する。   Next, the control unit 111 controls the recording / reproducing unit 113 so that the moving image data and audio data stored in the memory 112 are sequentially recorded on the recording medium 114. For example, 15 frames (0.5 seconds) of moving image data and 0.5 seconds of audio data are combined as one set to form a data stream to which various necessary information is added, and the recording medium 114 according to the file system. The control unit 111 controls the recording / reproducing unit 113 so as to record. The recording / reproducing unit 113 may form a data stream by combining 30 frames (one second) of moving image data and one second of audio data. The control unit 111 continues these operations until an instruction to stop moving image recording is given.

そして、操作部110により撮影停止の指示が入力されると、制御部111は、画像処理部109の処理を停止させ、メモリ112に記憶された画像信号の圧縮符号化が終了した時点で信号処理部115の圧縮符号化処理を停止させる。そして、制御部111は、メモリ112に記憶されている圧縮済みの動画データ及び音声データを最後まで記録媒体114に記録してから動作を停止するように記録再生部113を制御する。必要に応じて、動画ファイルの動画データの先頭のフレームや先頭から数フレームの画像データを信号処理部115に送信して復号させ、復号されたデジタル画像信号の画素数を間引いたサムネイル画像データを生成して動画ファイルに関連づけて記録しても良い。この処理が終了すると、制御部111は、再び動画記録の準備状態に各ブロックを戻す。   When an instruction to stop shooting is input from the operation unit 110, the control unit 111 stops the processing of the image processing unit 109, and performs signal processing when the compression encoding of the image signal stored in the memory 112 is completed. The compression encoding process of the unit 115 is stopped. Then, the control unit 111 controls the recording / reproducing unit 113 to stop the operation after recording the compressed moving image data and audio data stored in the memory 112 to the recording medium 114 to the end. If necessary, the first frame of the moving image data of the moving image file and the image data of several frames from the beginning are transmitted to the signal processing unit 115 for decoding, and thumbnail image data obtained by thinning out the number of pixels of the decoded digital image signal is obtained. It may be generated and recorded in association with a moving image file. When this process ends, the control unit 111 returns each block to the ready state for moving image recording again.

本実施形態においてカメラ100は、画像データの記録モードとして、少なくとも通常記録モードと、動画・静止画記録モードを有する。通常記録モードは、ユーザ等により動画または静止画の記録指示を受け、指示に応じた動画または静止画のデータを、記録媒体に記録するモードである。一方動画・静止画記録モードは、ユーザ等からの1回の記録指示に対して、記録指示に対応した静止画データ、及び記録指示に対応した動画データを記録するモードである。図2は、動画・静止画記録モードが設定された状態における、カメラ100の記録制御を示すフローチャートである。図2の処理は、制御部111がカメラ100の各部を制御することにより実行される。記録待機状態にて動画・静止画記録モードが有効に設定され、操作部110からの指示により、動画・静止画記録モードが選択された場合に、図2の処理が開始される。   In this embodiment, the camera 100 has at least a normal recording mode and a moving image / still image recording mode as image data recording modes. The normal recording mode is a mode for receiving a moving image or still image recording instruction from a user or the like and recording moving image or still image data corresponding to the instruction on a recording medium. On the other hand, the moving image / still image recording mode is a mode for recording still image data corresponding to the recording instruction and moving image data corresponding to the recording instruction in response to one recording instruction from the user or the like. FIG. 2 is a flowchart showing recording control of the camera 100 in a state where the moving image / still image recording mode is set. 2 is executed by the control unit 111 controlling each unit of the camera 100. When the moving image / still image recording mode is set to be valid in the recording standby state and the moving image / still image recording mode is selected by an instruction from the operation unit 110, the processing of FIG. 2 is started.

ステップS201において制御部111は、静止画データの撮影指示前(記録指示前)の付加情報を取得する。取得する撮影指示前(記録指示前)の付加情報は、例えば姿勢検出部108から出力されるカメラ100の姿勢情報、第1撮像部101におけるオートフォーカス(AF)に関する情報やズーム動作の情報、画像処理部109から出力される被写体の情報等である。これらの撮影指示前の付加情報の各項目については後述する。撮影指示前の付加情報は、本実施形態においては1秒単位で取得してメモリ112に記憶されるが、撮影指示前の付加情報を記憶する時間間隔は任意に設定可能である。撮影指示前の付加情報を記憶する時間間隔は例えば0.5秒単位や2秒単位であってもよい。   In step S <b> 201, the control unit 111 acquires additional information before an instruction to capture still image data (before an instruction to record). Additional information before the shooting instruction (before the recording instruction) to be acquired includes, for example, posture information of the camera 100 output from the posture detection unit 108, information on autofocus (AF) in the first imaging unit 101, information on zoom operation, and images. This is information on the subject output from the processing unit 109. Each item of the additional information before the photographing instruction will be described later. In this embodiment, the additional information before the shooting instruction is acquired in units of one second and stored in the memory 112, but the time interval for storing the additional information before the shooting instruction can be arbitrarily set. The time interval for storing the additional information before the photographing instruction may be, for example, 0.5 second unit or 2 second unit.

ステップS202において制御部111は、メモリ112に記憶されている第2撮像部102(サブカメラ)の設定情報を取得する。サブカメラの設定情報には、現在のサブカメラの撮影設定が有効か無効かの情報や、第2撮像部102から取得した画像を、第1撮像部101(メインカメラ)から取得した画像に重畳して表示する際の表示位置や表示サイズの設定が含まれる。第2撮像部102から取得した画像の表示位置や表示サイズは、操作部110を介してユーザ等が設定可能である。ステップS203において制御部111は、取得したサブカメラの設定情報に基づいて、第2撮像部102(サブカメラ)の撮影設定が有効になっているかどうかを判定する。サブカメラの撮影設定の有効/無効は、操作部110により設定可能である。   In step S <b> 202, the control unit 111 acquires setting information for the second imaging unit 102 (sub camera) stored in the memory 112. In the sub-camera setting information, information indicating whether the current sub-camera shooting settings are valid or invalid, and an image acquired from the second imaging unit 102 are superimposed on an image acquired from the first imaging unit 101 (main camera). Display position and display size settings are included. The display position and display size of the image acquired from the second imaging unit 102 can be set by the user or the like via the operation unit 110. In step S203, the control unit 111 determines whether the shooting setting of the second imaging unit 102 (sub camera) is valid based on the acquired setting information of the sub camera. Validity / invalidity of the shooting setting of the sub camera can be set by the operation unit 110.

サブカメラの撮影設定が有効になっている場合、制御部111はステップS204に処理を進める。ステップS204で制御部111は、ステップS203で取得したサブカメラの設定情報に基づいて、第1撮像部101から取得した画像信号と第2撮像部102から取得した画像信号とを合成した画像信号を生成するように、画像処理部109を制御する。サブカメラの撮影設定が無効になっている場合には(ステップS203でNo)、ステップS205において制御部111は、第1撮像部101から取得した画像信号から、メモリ112に記憶するための画像信号を生成するように画像処理部109を制御する。   If the shooting setting of the sub camera is enabled, the control unit 111 advances the process to step S204. In step S <b> 204, the control unit 111 combines an image signal acquired from the first imaging unit 101 and an image signal acquired from the second imaging unit 102 based on the sub camera setting information acquired in step S <b> 203. The image processing unit 109 is controlled so as to be generated. When the shooting setting of the sub camera is invalid (No in step S203), in step S205, the control unit 111 stores the image signal to be stored in the memory 112 from the image signal acquired from the first imaging unit 101. The image processing unit 109 is controlled so as to generate.

ステップS206において制御部111は、ステップS204またはS205で生成された画像信号を順次メモリ112に記憶し、メモリ112に記憶された複数フレームの画像信号を順次圧縮して動画データを生成するように信号処理部115を制御する。音声信号について、制御部111は、音声入力部105から取得した音声データを圧縮するように音声処理部106を制御する。圧縮された動画データ及び音声データはメモリ112に記憶される。また制御部111は、ステップS204またはステップS205で生成された画像信号の表示サイズを調整するように画像処理部109を制御し、調整済みの画像信号を表示部104へ表示するように表示制御部103を制御する。   In step S206, the control unit 111 sequentially stores the image signals generated in step S204 or S205 in the memory 112, and sequentially compresses the image signals of a plurality of frames stored in the memory 112 to generate moving image data. The processing unit 115 is controlled. For the audio signal, the control unit 111 controls the audio processing unit 106 to compress the audio data acquired from the audio input unit 105. The compressed moving image data and audio data are stored in the memory 112. In addition, the control unit 111 controls the image processing unit 109 to adjust the display size of the image signal generated in step S204 or step S205, and displays the adjusted image signal on the display unit 104. 103 is controlled.

次にステップS207において制御部111は、操作部110を介して、動画・静止画記録モード以外の記録モードや再生モードなどへの変更指示があるかどうかを判定する。モードの変更があった場合(ステップS207でYes)、ステップS208において制御部111は、信号処理部115の画像信号の圧縮処理を停止させる。そしてステップS209において制御部111は、メモリ112に記憶した動画データ及び音声データと撮影指示前の付加情報とを消去して、動画・静止画記録モードの処理を終了し、変更されたモードの処理へ移る。   In step S207, the control unit 111 determines whether there is an instruction to change to a recording mode other than the moving image / still image recording mode, a playback mode, or the like via the operation unit 110. When the mode is changed (Yes in step S207), in step S208, the control unit 111 stops the image signal compression processing of the signal processing unit 115. In step S209, the control unit 111 deletes the moving image data and audio data stored in the memory 112 and the additional information before the shooting instruction, ends the processing of the moving image / still image recording mode, and processes the changed mode. Move on.

モードの変更がない場合(ステップS207でNo)には、ステップS210において制御部111は、取得している撮影指示前の付加情報と、メモリ112に記憶されているサブカメラの設定情報とのうち、変更された項目があるかどうかを判定する。ここでは、取得している撮影指示前の付加情報及びサブカメラの設定情報の項目全てについて、変更されたかどうかを判定してもよいし、所定の項目のみについて変更されたかどうかを判定してもよい。本実施形態においては、取得している撮影指示前の付加情報のカメラ100の姿勢情報と、サブカメラの設定情報のサブカメラの撮影設定が有効か無効かの情報と、第2撮像部102の画像の表示位置や表示サイズについての変更を判定する。   If there is no mode change (No in step S207), in step S210, the control unit 111 includes the acquired additional information before the shooting instruction and the sub camera setting information stored in the memory 112. Determine if there are any changed items. Here, it may be determined whether or not all items of the additional information and the sub camera setting information before the shooting instruction that have been acquired have been changed, or whether or not only predetermined items have been changed. Good. In the present embodiment, the additional information before the shooting instruction acquired, the posture information of the camera 100, the sub camera setting information, whether the sub camera shooting settings are valid or invalid, and the second imaging unit 102 A change in the display position and display size of the image is determined.

変更された項目がある場合(ステップS210でYes)、ステップS211において制御部111は、メモリ112に記憶した動画データ及び音声データと撮影指示前の付加情報とを消去し、ステップS201の処理へ戻る。例えば、撮影中にカメラ100の姿勢が横位置(0度)から縦位置(90度)に変わった場合、メモリ112に記憶した動画データ及び音声データと撮影指示前の付加情報とを消去し、ステップS201で制御部111は、撮影指示前の付加情報を新たに取得する。本実施形態においては、制御部111は、動画データの撮影中に、カメラ100の姿勢が所定以上変化した場合(例えば90度以上変化した場合)に、カメラ100の姿勢情報が変更したと判定する。   When there is a changed item (Yes in step S210), in step S211, the control unit 111 deletes the moving image data and audio data stored in the memory 112 and the additional information before the shooting instruction, and returns to the process of step S201. . For example, when the posture of the camera 100 changes from the horizontal position (0 degrees) to the vertical position (90 degrees) during shooting, the moving image data and audio data stored in the memory 112 and the additional information before the shooting instruction are deleted. In step S201, the control unit 111 newly acquires additional information before the shooting instruction. In the present embodiment, the control unit 111 determines that the posture information of the camera 100 has changed when the posture of the camera 100 has changed more than a predetermined value (for example, when it has changed by 90 degrees or more) during shooting of moving image data. .

撮影指示前の付加情報やサブカメラの設定情報が変更されたとき、それまでに記憶したデータを消去するのは、データに設定の変更が記録されてしまうからである。例えば、カメラ100の姿勢が変更された場合、画像の向きが変化した(画像が回転した)動画データが記録され、第2撮像部102の画像の表示位置が変更された場合、第2撮像部102の表示位置が変更される様子が動画データに記録される。このように設定の変更が記録された動画データは見づらくなってしまうため、撮影指示前の付加情報とサブカメラの設定情報とのうち、動画データの記録中に変更された項目がある場合、メモリ112に記憶したデータは消去される。   When the additional information before the shooting instruction or the setting information of the sub camera is changed, the data stored so far is erased because the setting change is recorded in the data. For example, when the orientation of the camera 100 is changed, moving image data in which the orientation of the image is changed (the image is rotated) is recorded, and when the display position of the image of the second imaging unit 102 is changed, the second imaging unit A state in which the display position 102 is changed is recorded in the moving image data. Since the moving image data in which the change of the setting is recorded in this way is difficult to see, if there is an item changed during the recording of the moving image data among the additional information before the shooting instruction and the setting information of the sub camera, the memory The data stored in 112 is erased.

撮影指示前の付加情報やサブカメラの設定情報で変更された項目がない場合(ステップS210でYes)、ステップS212で制御部111は、操作部110に含まれるシャッタースイッチ(SW)1が押下されたかどうかを判定する。本実施形態においてシャッタースイッチは、2段スイッチ構造となっており、1段目(半押し)をSW1とし、2段目(全押し)をSW2とする。SW1が押下状態になると、合焦処理またはオートフォーカス(AF)処理、自動露出処理、オートホワイトバランス(AWB)調整処理、AF補助光の発光処理等の動作開始を、ステップS213で制御部111が第1撮像部101に指示する。   If there is no changed item in the additional information before the shooting instruction or the setting information of the sub camera (Yes in step S210), the control unit 111 presses the shutter switch (SW) 1 included in the operation unit 110 in step S212. Determine whether or not. In this embodiment, the shutter switch has a two-stage switch structure, and the first stage (half press) is SW1, and the second stage (full press) is SW2. When SW1 is pressed, the control unit 111 starts operations such as focusing processing, autofocus (AF) processing, automatic exposure processing, auto white balance (AWB) adjustment processing, AF auxiliary light emission processing, and the like in step S213. The first imaging unit 101 is instructed.

ステップS212でSW1が押下されている状態でも、継続して撮影指示前の付加情報はメモリ112に記憶されている。ステップS212でSW1が押下されている状態では、撮影指示前の付加情報またはサブカメラの設定情報が変更されても、メモリ112に記憶されている動画データ及び音声データと撮影指示前の付加情報は消去されない。   Even when SW1 is pressed in step S212, the additional information before the shooting instruction is continuously stored in the memory 112. In the state where SW1 is pressed in step S212, the moving image data and audio data stored in the memory 112 and the additional information before the shooting instruction are stored even if the additional information before the shooting instruction or the setting information of the sub camera is changed. It will not be erased.

次にステップS214において制御部111は、シャッタースイッチ(SW)2が押下されたかどうか、つまり静止画の撮影(記録)指示がされたかどうかを判定する。SW2が押下(シャッタースイッチが全押し)状態になると、ステップS215において制御部111は、カメラ100の表示部104の画像表示を停止するように表示制御部103を制御する。更に、制御部111は、信号処理部115に動画の圧縮処理とメモリ112への圧縮した動画データの記憶処理を一時停止させる。そして、制御部111は、SW2が押下されたタイミングに対応した静止画の撮影を行うように、第1撮像部101を制御する。   Next, in step S214, the control unit 111 determines whether or not the shutter switch (SW) 2 has been pressed, that is, whether or not a still image shooting (recording) instruction has been issued. When SW2 is pressed (the shutter switch is fully pressed), in step S215, the control unit 111 controls the display control unit 103 to stop the image display on the display unit 104 of the camera 100. Further, the control unit 111 causes the signal processing unit 115 to temporarily stop the moving image compression processing and the storage processing of the compressed moving image data in the memory 112. Then, the control unit 111 controls the first imaging unit 101 so as to capture a still image corresponding to the timing when SW2 is pressed.

このとき、すでにメモリ112に記憶されている動画データ及び音声データと、撮影指示前の付加情報は保持しておく。ステップS212においてSW1が押下されない場合、及びステップS214においてSW2が押下されない場合には、制御部111は継続してステップS201以下の処理を行う。   At this time, the moving image data and audio data already stored in the memory 112 and additional information before the shooting instruction are held. When SW1 is not pressed in step S212, and when SW2 is not pressed in step S214, the control unit 111 continues to perform the processing from step S201.

本実施形態においては、SW2はSW1と同一部材で構成され、SW1とSW2の押下動作それぞれに異なる動作(ステップS213とステップS215)が割り当てられている。これに限らず、SW1及びSW2をタッチパネル等の所定ボタンで構成し、所定ボタンの選択動作で静止画撮影を行うための、SW1を押下状態にしたときの処理(ステップS213)とSW2を押下状態にしたときの処理(ステップS215)が行われてもよい。   In the present embodiment, SW2 is composed of the same member as SW1, and different operations (step S213 and step S215) are assigned to the pressing operations of SW1 and SW2. Not limited to this, SW1 and SW2 are configured by predetermined buttons such as a touch panel, and processing when SW1 is pressed (step S213) and SW2 are pressed to perform still image shooting by selecting the predetermined button. The process (step S215) when it is made may be performed.

次にステップS216において、制御部111は撮影後処理を行ってから本処理を終了する。図3を用いて、制御部111による撮影後処理について説明する。   In step S216, the control unit 111 performs post-shooting processing, and then ends this processing. The post-shooting process performed by the control unit 111 will be described with reference to FIG.

ステップS301にて制御部111は、ステップS214のSW2が押下されたタイミングに対応して、ステップS215で撮影された静止画である第1撮像部101の画像信号を、圧縮して静止画データを生成するように、信号処理部115を制御する。制御部111は、信号処理部115で処理された静止画データ、図2のステップS201で取得し記憶していた撮影指示前の付加情報、後述する静止画データの属性情報を静止画ファイルとして記録媒体114に記録するように記録再生部113を制御する。   In step S301, the control unit 111 compresses the still image data by compressing the image signal of the first imaging unit 101, which is the still image captured in step S215, at the timing when SW2 in step S214 is pressed. The signal processing unit 115 is controlled to generate. The control unit 111 records still image data processed by the signal processing unit 115, additional information before the shooting instruction acquired and stored in step S201 in FIG. 2, and attribute information of still image data described later as a still image file. The recording / reproducing unit 113 is controlled to record on the medium 114.

本実施形態において、ステップS301において生成される静止画データは、SW2が押下されたタイミングに対応した第1撮像部101からの画像信号とした。これに限らず、SW2が押下されたタイミングに対応した第2撮像部102(サブカメラ)からの画像信号を、第1撮像部101からの画像信号に合成して静止画データが生成されて記録されてもよい。また、第1撮像部101からの画像信号から生成される静止画データとは別に、第2撮像部102からの画像信号の静止画データが生成されて記録されてもよい。   In the present embodiment, the still image data generated in step S301 is an image signal from the first imaging unit 101 corresponding to the timing when SW2 is pressed. Not limited to this, still image data is generated and recorded by combining the image signal from the second imaging unit 102 (sub camera) corresponding to the timing at which SW2 is pressed with the image signal from the first imaging unit 101. May be. In addition to the still image data generated from the image signal from the first imaging unit 101, still image data of the image signal from the second imaging unit 102 may be generated and recorded.

ステップS302において制御部111は、SW2の押下前にメモリ112に記憶された動画データの記録時間がt0以上かどうかを判定する。t0は所定値であり任意に設定可能である。SW2の押下前にメモリ112に記憶された動画データの記録時間がt0以上である場合、ステップS303において制御部111は、SW2の押下前の動画データを、音声データと共に記録媒体114に記録するように、記録再生部113を制御する。   In step S302, the control unit 111 determines whether the recording time of the moving image data stored in the memory 112 before pressing SW2 is equal to or greater than t0. t0 is a predetermined value and can be set arbitrarily. When the recording time of the moving image data stored in the memory 112 before pressing SW2 is t0 or more, the control unit 111 records the moving image data before pressing SW2 on the recording medium 114 together with the audio data in step S303. In addition, the recording / reproducing unit 113 is controlled.

ステップS302において、SW2の押下前の動画データの記録時間がt0未満だった場合には、ステップS304において制御部111は、SW2の押下前の動画データ及び音声データと撮影指示前の付加情報とを消去する。   In step S302, if the recording time of the moving image data before pressing SW2 is less than t0, in step S304, the control unit 111 obtains the moving image data and audio data before pressing SW2 and the additional information before shooting instruction. to erase.

次にステップS305において制御部111は、サブカメラの撮影設定が有効か無効かを判定する。本実施形態のカメラ100では、SW2の押下前にメモリ112に記憶された動画データの記録時間や、サブカメラの撮影設定が有効か無効かで、静止画撮影後に、静止画データの記録に対応して生成する動画データの生成方法を異ならせる。   In step S305, the control unit 111 determines whether the shooting setting of the sub camera is valid or invalid. The camera 100 according to the present embodiment supports recording of still image data after still image shooting depending on whether the recording time of the moving image data stored in the memory 112 before the SW2 is pressed or whether the shooting setting of the sub camera is valid or invalid. The method of generating the moving image data to be generated is changed.

サブカメラの撮影設定が有効だった場合、画像処理部109は、各フレームが、SW2が押下されたタイミングに対応して記録された画像信号を含む画像信号からなる、ストップモーション動画データを生成する。   When the shooting setting of the sub camera is valid, the image processing unit 109 generates stop motion moving image data in which each frame includes an image signal including an image signal recorded corresponding to the timing when the SW2 is pressed. .

サブカメラの撮影設定が無効だった場合で、SW2の押下前にメモリ112に記憶された動画データの記録時間がt0以上であり、ストップモーション動画の設定が有効になっている場合には、画像処理部109はストップモーション動画データを生成する。一方、サブカメラの撮影設定が無効だった場合で、SW2の押下前にメモリ112に記憶された動画データの記録時間がt0未満の場合や、ストップモーション設定が無効の場合には、画像処理部109はストップモーション動画データを生成しない。   If the shooting setting of the sub camera is invalid and the recording time of the moving image data stored in the memory 112 before pressing SW2 is t0 or more and the stop motion moving image setting is enabled, the image The processing unit 109 generates stop motion video data. On the other hand, when the shooting setting of the sub camera is invalid and the recording time of the moving image data stored in the memory 112 before pressing SW2 is less than t0, or when the stop motion setting is invalid, the image processing unit 109 does not generate stop motion video data.

本実施形態の動画・静止画記録モードで、画像処理部109が静止画データの記録に対応して生成する動画データは、以下の3つのうちのいずれかとなる。すなわち、画像処理部109は、SW2押下前の動画データのみの動画データ、SW2押下前の動画データとストップモーション動画データとからなる動画データ、ストップモーション動画データのみの動画データのうちのいずれかの動画データを生成する。   In the moving image / still image recording mode of the present embodiment, the moving image data generated by the image processing unit 109 corresponding to the recording of the still image data is one of the following three. That is, the image processing unit 109 selects any one of moving image data including only moving image data before pressing SW2, moving image data including moving image data before pressing SW2 and stop motion moving image data, and moving image data including only stop motion moving image data. Generate video data.

サブカメラの撮影設定が有効だった場合(ステップS305でYes)、ステップS306において制御部111は、ストップモーション動画データを生成するための画像信号を生成するように画像処理部109を制御する。静止画データと動画データのアスペクト比が異なる場合、画像処理部109は、SW2が押下されたタイミングに対応して記録された静止画データを、動画データのアスペクト比になるように処理してストップモーション動画データ用の画像信号を生成する。例えば、静止画のアスペクト比が4:3で、動画のアスペクト比が16:9の場合、画像処理部109は、ストップモーション動画データ用の画像信号として、静止画の左右の領域を黒塗りにしてアスペクト比を16:9にした画像信号を生成する。   If the shooting setting of the sub camera is valid (Yes in step S305), in step S306, the control unit 111 controls the image processing unit 109 to generate an image signal for generating stop motion moving image data. When the still image data and the moving image data have different aspect ratios, the image processing unit 109 stops the still image data recorded corresponding to the timing when the SW2 is pressed so that the aspect ratio of the moving image data becomes the same. An image signal for motion video data is generated. For example, when the aspect ratio of the still image is 4: 3 and the aspect ratio of the moving image is 16: 9, the image processing unit 109 paints the left and right areas of the still image as black as an image signal for stop motion moving image data. Thus, an image signal with an aspect ratio of 16: 9 is generated.

ステップS307で制御部111は、ステップS306で生成したストップモーション動画データ用の画像信号とSW2押下のタイミングに対応した第1撮像部101の画像信号とに、第2撮像部102の画像信号を合成するように画像処理部109を制御する。ストップモーション動画データは、ステップS306で生成したストップモーション動画データ用の画像信号と、第2撮像部102の画像信号とを合成したストップモーション動画データ用の合成画像信号を用いて生成される。   In step S307, the control unit 111 combines the image signal of the second imaging unit 102 with the image signal for the stop motion moving image data generated in step S306 and the image signal of the first imaging unit 101 corresponding to the timing of SW2 pressing. The image processing unit 109 is controlled to do so. The stop motion moving image data is generated using the combined image signal for stop motion moving image data obtained by combining the image signal for stop motion moving image data generated in step S306 and the image signal of the second imaging unit 102.

また、SW2の押下のタイミングに対応した第1撮像部101の画像信号と、第2撮像部102の画像信号とが合成された画像信号は、表示部104でレビュー表示するための、レビュー表示用の合成画像信号である。ストップモーション動画データ用の合成画像信号及びレビュー表示用の合成画像信号の生成に用いられる第2撮像部102の画像信号は、静止画撮影後に表示部104でレビュー表示をする間に順次第2撮像部102で取得される画像信号である。本実施形態においては、制御部111は、ステップS215において静止画撮影後も、第2撮像部102に画像信号の取得を継続させる。   In addition, an image signal obtained by combining the image signal of the first imaging unit 101 and the image signal of the second imaging unit 102 corresponding to the timing of pressing the SW2 is used for review display for review display on the display unit 104. This is a composite image signal. The image signal of the second imaging unit 102 used to generate the composite image signal for stop motion moving image data and the composite image signal for review display is sequentially captured by the second imaging unit during review display on the display unit 104 after taking a still image. 2 is an image signal acquired by the unit 102. In the present embodiment, the control unit 111 causes the second imaging unit 102 to continue acquiring image signals even after taking a still image in step S215.

ステップS308で制御部111は、ステップS307で生成したレビュー表示用の合成画像信号をリサイズ処理するように画像処理部109を制御し、リサイズ処理した画像信号を表示部104へ表示するように表示制御部103を制御する。図4(a)は表示部104に表示されるレビュー表示の例を示しており、画像401は、SW2の押下のタイミングに対応した第1撮像部101の画像信号、画像402は第2撮像部102の画像信号である。画像401は、第1撮像部101から取得した静止している画像であるが、画像402は、レビュー表示をしている間に順次第2撮像部102で取得される画像信号が合成されるので、表示部104のうちの画像402の領域は動画が表示されることになる。   In step S308, the control unit 111 controls the image processing unit 109 to resize the composite image signal for review display generated in step S307, and performs display control to display the resized image signal on the display unit 104. The unit 103 is controlled. 4A shows an example of a review display displayed on the display unit 104. An image 401 is an image signal of the first imaging unit 101 corresponding to the timing of pressing SW2, and an image 402 is a second imaging unit. 102 is an image signal. The image 401 is a still image acquired from the first imaging unit 101, but the image 402 is synthesized with the image signals sequentially acquired by the second imaging unit 102 during the review display. In the area of the image 402 in the display unit 104, a moving image is displayed.

ステップS309において制御部111は、ステップS307で生成したストップモーション動画データ用の合成画像信号を圧縮して、ストップモーション動画データを生成するように信号処理部115を制御する。   In step S309, the control unit 111 controls the signal processing unit 115 to generate the stop motion moving image data by compressing the composite image signal for the stop motion moving image data generated in step S307.

ステップS310において制御部111は、ステップS310で生成されたストップモーション動画データの所用時間が所定の時間t1以上であるかどうかを判定する。時間t1は任意に設定可能である。ストップモーション動画データの所用時間が時間t1以上でない場合には、ストップモーション動画データの所用時間が時間t1になるまで、制御部111は、ステップS307からステップS309の処理を繰り返す。   In step S310, the control unit 111 determines whether the required time of the stop motion moving image data generated in step S310 is equal to or longer than a predetermined time t1. The time t1 can be set arbitrarily. If the required time of the stop motion video data is not equal to or longer than the time t1, the control unit 111 repeats the processing from step S307 to step S309 until the required time of the stop motion video data reaches the time t1.

ステップS317で制御部111は、所用時間が時間t1になったストップモーション動画データを、ステップS303で記録したSW2の押下前の動画データに追記する形で記録媒体114へ記録するように記録再生部113を制御し、図3の処理を終了する。   In step S317, the control unit 111 records and reproduces the stop motion moving image data with the required time of time t1 on the recording medium 114 in a form to be added to the moving image data before pressing SW2 recorded in step S303. 113 is controlled, and the processing of FIG.

サブカメラの撮影設定が無効だった場合、ステップS311において制御部111は、ステップS304の処理によって、SW2の押下前に記憶された動画データ及び音声データと撮影指示前の付加情報が消去されているか否かを判定する。SW2の押下前の動画データ及び音声データと撮影指示前の付加情報が消去されている場合には、静止画の撮影後に動画データを生成することなく、本処理を終了する。SW2の押下前にメモリ112に記憶された動画データの記録時間がt0未満で、サブカメラの撮影設定が無効だった場合には、撮影された静止画データのみが記録され、静止画データに対応する動画データは記録されない。   If the shooting setting of the sub camera is invalid, in step S311, the control unit 111 determines whether the moving image data and audio data stored before pressing SW2 and the additional information before the shooting instruction are deleted by the processing in step S304. Determine whether or not. If the moving image data and audio data before the SW2 is pressed and the additional information before the shooting instruction are deleted, the processing ends without generating the moving image data after shooting the still image. When the recording time of the moving image data stored in the memory 112 before pressing SW2 is less than t0 and the shooting setting of the sub camera is invalid, only the shot still image data is recorded and corresponds to the still image data. Movie data to be recorded is not recorded.

SW2の押下前の動画データ及び音声データと撮影指示前の付加情報が消去されていない場合、ストップモーション動画の設定が有効かどうかを制御部111が判定する(ステップS312)。ストップモーション動画の設定が有効な場合は、制御部111の処理はステップS313へ進め、ストップモーション動画の設定が無効な場合には、静止画の撮影後に動画データを生成することなく、本処理を終了する。ストップモーション動画の設定については、操作部110を介してユーザが任意に設定可能である。   If the moving image data and audio data before the SW2 is pressed and the additional information before the shooting instruction are not deleted, the control unit 111 determines whether the setting of the stop motion moving image is valid (step S312). If the setting of the stop motion video is valid, the process of the control unit 111 proceeds to step S313. If the setting of the stop motion video is invalid, the processing is performed without generating the video data after shooting the still image. finish. The setting of the stop motion video can be arbitrarily set by the user via the operation unit 110.

ステップS313において制御部111は、上述のステップS306における処理と同様に、ストップモーション動画データ用の画像信号(アスペクト比が動画用)を生成するように画像処理部109を制御する。ステップS314で制御部111は、SW2押下のタイミングの第1撮像部101の画像信号、つまりステップS301で記録した静止画データをリサイズ処理するように画像処理部109を制御する。更に制御部111は、地サイズ処理した静止画データを、表示部104にレビュー表示するように表示制御部103を制御する。図4(b)は表示部104に表示される画像信号の例を示しており、画像401は、SW2の押下のタイミングに対応した第1撮像部101の画像信号(ステップS301で記録した静止画データ)である。   In step S313, the control unit 111 controls the image processing unit 109 to generate an image signal for stop motion moving image data (the aspect ratio is for moving images), similarly to the processing in step S306 described above. In step S314, the control unit 111 controls the image processing unit 109 to resize the image signal of the first imaging unit 101 at the timing of pressing SW2, that is, the still image data recorded in step S301. Further, the control unit 111 controls the display control unit 103 so that the still image data subjected to the ground size processing is displayed on the display unit 104 for review. FIG. 4B shows an example of an image signal displayed on the display unit 104. An image 401 is an image signal of the first imaging unit 101 corresponding to the timing of pressing SW2 (the still image recorded in step S301). Data).

ステップS315において制御部111は、ステップS313で生成されたストップモーション動画データ用の画像信号を圧縮して、ストップモーション動画データを生成するように信号処理部115を制御する。ステップS316において制御部111は、ステップS315で生成されたストップモーション動画データの所用時間が所定の時間t2以上であるかどうかを判定する。時間t2は任意に設定可能である。ストップモーション動画データの所用時間が時間t2以上でない場合には、ストップモーション動画データの所用時間が時間t2になるまで、制御部111はステップS315の処理を行う。   In step S315, the control unit 111 controls the signal processing unit 115 to compress the image signal for stop motion moving image data generated in step S313 and generate stop motion moving image data. In step S316, the control unit 111 determines whether the required time of the stop motion video data generated in step S315 is equal to or longer than a predetermined time t2. The time t2 can be set arbitrarily. If the time required for the stop motion video data is not equal to or longer than the time t2, the control unit 111 performs the process of step S315 until the time required for the stop motion video data reaches the time t2.

ステップS317で制御部111は、所用時間が時間t2になったストップモーション動画データを、記録媒体114へ記録するように記録再生部113を制御し、図3の処理を終了する。   In step S317, the control unit 111 controls the recording / reproducing unit 113 to record the stop motion moving image data whose required time is time t2 on the recording medium 114, and ends the process of FIG.

本実施形態ではステップS310の判定で用いる時間t1と、ステップS316の判定で用いる時間t2は、時間t1が時間t2以上となるように設定されている。ステップS309で生成されるストップモーション動画では、レビュー表示中の第2撮像部102の画像が動画で合成されているため、レビュー表示中のカメラ100の使用者の表情を残すことができる。それに対し、ステップS315で生成されるストップモーション動画は、静止画のみからなるストップモーション動画であるため、ステップS309で生成されるストップモーション動画の方をより長く記録する構成としているが、特にこれに限定されない。   In the present embodiment, the time t1 used in the determination in step S310 and the time t2 used in the determination in step S316 are set such that the time t1 is equal to or greater than the time t2. In the stop motion moving image generated in step S309, since the image of the second imaging unit 102 during review display is synthesized with the moving image, the facial expression of the user of the camera 100 during review display can be left. On the other hand, since the stop motion video generated in step S315 is a stop motion video consisting of only still images, the stop motion video generated in step S309 is configured to be recorded longer. It is not limited.

図5は動画・静止画記録モードにおいて、記録される動画及び静止画に関する概略図である。図5(a)は、動画・静止画記録モードにおいて、SW2が押下されたタイミング(レリーズ)と、メモリ112に記憶されるデータを示す概略図である。2013年10月10日に、15時16分20秒にレリーズ1の撮影指示によって、動画データM1(501)と、静止画データP1(502)が、メモリ112に記憶される。更に、15時30分45秒にレリーズ2の撮影指示で、動画データM2(503)と静止画データP2(504)が、15時40分30秒にレリーズ3の撮影指示で、動画データM3(505)と静止画データP3(506)がそれぞれメモリ112に記憶される。   FIG. 5 is a schematic diagram relating to moving images and still images to be recorded in the moving image / still image recording mode. FIG. 5A is a schematic diagram showing the timing (release) when SW2 is pressed and the data stored in the memory 112 in the moving image / still image recording mode. On October 10, 2013, the moving image data M1 (501) and the still image data P1 (502) are stored in the memory 112 in accordance with the release 1 shooting instruction at 15:16:20. Furthermore, the movie data M2 (503) and the still image data P2 (504) are issued at 15:30:45 at the release 2 shooting instruction, and the movie data M3 ( 505) and still image data P3 (506) are stored in the memory 112, respectively.

図5(b)は、本実施形態において記録媒体114に記録されたデータを示す概略図である。SW2が押下された後、メモリ112に記憶された図5(a)に示す各データは、図3の処理を経て、静止画ファイルまたは動画ファイルとして、記録再生部113により記録媒体114に記録される。本実施形態においては、同じ日に記録されたデータを含むファイルは、1つのディレクトリ511(ディレクトリ名:100_1010)に格納される。ディレクトリ名及び各ファイル名はDCF(Design rule for Camera File System)に則って決定される。同一ディレクトリ内に格納される、動画・静止画記録モードで記録された動画ファイルと静止画ファイルについて、動画ファイル名に用いられる番号が、静止画ファイル名に用いられる番号より必ず小さくなるように、各ファイル名は決定される。通常の動画記録モードまたは静止画記録モードで記録された動画ファイルや静止画ファイルについては、ファイル名に使用されていない最も小さい番号を用いて、ファイルが記録される順にファイル名が決定される。   FIG. 5B is a schematic diagram showing data recorded on the recording medium 114 in the present embodiment. After the SW2 is pressed, each data shown in FIG. 5A stored in the memory 112 is recorded on the recording medium 114 by the recording / playback unit 113 as a still image file or a moving image file through the processing of FIG. The In the present embodiment, a file including data recorded on the same day is stored in one directory 511 (directory name: 100_1010). The directory name and each file name are determined in accordance with DCF (Design rule for Camera File System). For movie files and still image files that are stored in the same directory and recorded in the movie / still image recording mode, the number used for the movie file name must be smaller than the number used for the still image file name. Each file name is determined. For moving image files and still image files recorded in the normal moving image recording mode or still image recording mode, the file names are determined in the order in which the files are recorded using the smallest number that is not used as the file name.

本実施形態においては、同日に動画・静止画記録モードで記録された動画データは、一連の動画ストリームデータとして、所定のディレクトリ内に1つの動画ファイルに格納される。動画ファイル512(動画ファイル名:MDG_0001.MOV)には、図5(a)に示した、同日に行われた動画・静止画記録モードでの3回の撮影にそれぞれ対応した動画データが格納され、それぞれの動画データにはチャプタ番号が設定される。動画データの格納方法は、上述した方法に限らず、例えばそれぞれの撮影に対応した動画データを、別々の動画ファイルとしてディレクトリ内に格納してもよい。   In the present embodiment, moving image data recorded in the moving image / still image recording mode on the same day is stored as a series of moving image stream data in one moving image file in a predetermined directory. The moving image file 512 (moving image file name: MDG — 0001.MOV) stores moving image data corresponding to each of the three shootings in the moving image / still image recording mode performed on the same day as shown in FIG. A chapter number is set for each moving image data. The method for storing moving image data is not limited to the method described above, and for example, moving image data corresponding to each shooting may be stored in the directory as separate moving image files.

本実施形態において、動画・静止画記録モードで記録された動画データが格納された動画ファイルには、文字列「MDG」を含むファイル名が付与される。動画・静止画記録モードではない、通常の動画記録モードで記録された動画データは、他の動画データとは異なる1つの独立した動画ファイル(ファイル名に文字列「MDG」を含まない)としてディレクトリ内に格納される。   In this embodiment, a file name including the character string “MDG” is assigned to a moving image file storing moving image data recorded in the moving image / still image recording mode. The moving image data recorded in the normal moving image recording mode other than the moving image / still image recording mode is a directory as one independent moving image file (the file name does not include the character string “MDG”) different from other moving image data. Stored in.

チャプタ1(514)は、レリーズ1の撮影指示でメモリ112に記憶された動画データM1のみの動画データを示す。チャプタ2(515)は、レリーズ2の撮影指示でメモリ112に記憶された動画データM2と、静止画データP2から生成したストップモーション動画データの動画データを示す。チャプタ3(516)は、レリーズ3の撮影指示でメモリ112に記憶された静止画データP3から生成されたストップモーション動画データのみの動画データを示す。   Chapter 1 (514) indicates moving image data of only moving image data M1 stored in the memory 112 in response to the release 1 shooting instruction. Chapter 2 (515) indicates moving image data M2 stored in the memory 112 in response to the shooting instruction for release 2, and moving image data of stop motion moving image data generated from the still image data P2. Chapter 3 (516) indicates moving image data including only stop motion moving image data generated from the still image data P3 stored in the memory 112 in accordance with the release 3 shooting instruction.

動画ストリームデータに関するチャプタ参照情報が、動画ファイル512のヘッダ部分等に記録される。チャプタ参照情報の詳細について図5(c)を用いて説明する。チャプタ参照情報には、動画ファイルのサイズ(521)、動画ストリームデータの総フレーム数(522)が記録される。更に、設定されたチャプタ番号(523)と、各チャプタの撮影時間(524)、各チャプタの先頭のフレーム番号(525)、各チャプタのフレーム数(526)が記録される。更に、第2撮像部102(サブカメラ)の画像の表示位置(527)、各チャプタ中のストップモーション動画データの位置(528)が記録される。   Chapter reference information regarding the moving image stream data is recorded in the header portion of the moving image file 512 or the like. Details of the chapter reference information will be described with reference to FIG. In the chapter reference information, the size of the moving image file (521) and the total number of frames of moving image stream data (522) are recorded. Furthermore, the set chapter number (523), the shooting time of each chapter (524), the top frame number of each chapter (525), and the number of frames of each chapter (526) are recorded. Furthermore, the display position (527) of the image of the second imaging unit 102 (sub camera) and the position (528) of stop motion moving image data in each chapter are recorded.

チャプタ番号(523)は、動画・静止画記録モードでSW2が押下され、動画データが記録される度に追加される。各動画ストリームの撮影日時(524)は、動画・静止画記録モードでSW2が押下された日時、つまり、動画・静止画記録モードで記録された対応する静止画データの撮影日時と同じである。このように動画ストリームの撮影時間を、対応する静止画データの撮影日時と同じにして記録することで、動画・静止画記録モードで記録された動画データと対応する静止画データとが容易に認識可能となる。   The chapter number (523) is added each time SW2 is pressed in the moving image / still image recording mode and moving image data is recorded. The shooting date / time (524) of each moving image stream is the same as the shooting date / time of SW2 pressed in the moving image / still image recording mode, that is, the shooting date / time of the corresponding still image data recorded in the moving image / still image recording mode. In this way, by recording the shooting time of the video stream to be the same as the shooting date and time of the corresponding still image data, it is possible to easily recognize the moving image data recorded in the moving image / still image recording mode and the corresponding still image data. It becomes possible.

各チャプタの先頭のフレーム番号(525)は、動画ファイル512に記録された動画ストリーム全体における、各チャプタの先頭フレームのフレーム番号であり、これを用いると各チャプタの頭出し再生が容易に可能となる。第2撮像部102の画像の表示位置(527)は、第1撮像部101の画像の左上の座標を(X,Y)=(0,0)としたときに、重畳する第2撮像部102の画像の左上の座標X,Yと、第2撮像部102の画像の横幅W、縦幅Hからなる。チャプタ1のように、第2撮像部102の画像の横幅W及び縦幅Hの値が0の場合は、サブカメラの撮影設定が無効で、第2撮像部102の画像が重畳されていないことを示している。この第2撮像部102の画像の表示位置(527)の情報を用いて、第2撮像部102の画像のみをトリミングして再生することが可能になる。   The first frame number (525) of each chapter is the frame number of the first frame of each chapter in the entire moving image stream recorded in the moving image file 512. By using this, it is possible to easily find the beginning of each chapter. Become. The display position (527) of the image of the second imaging unit 102 is superimposed when the upper left coordinates of the image of the first imaging unit 101 are (X, Y) = (0, 0). And the horizontal width W and the vertical width H of the image of the second imaging unit 102. When the horizontal width W and the vertical width H of the image of the second imaging unit 102 are 0 as in chapter 1, the shooting setting of the sub camera is invalid and the image of the second imaging unit 102 is not superimposed. Is shown. Using the information of the image display position (527) of the second imaging unit 102, it is possible to trim and reproduce only the image of the second imaging unit 102.

ストップモーション動画データの位置(528)は、各チャプタの先頭フレームを0としたときの、ストップモーション動画部分のフレーム番号を示す。チャプタ1では、ストップモーション動画の部分は存在しない。そしてチャプタ2では、フレーム数180の動画データのうち、後半の90フレーム目から179フレーム目がストップモーション動画である。チャプタ3では、動画データのフレーム数180のうちの全てがストップモーション動画である。このようにストップモーション動画データの位置がわかることで、各動画データの中のストップモーション動画の部分のみを再生したり、ストップモーション動画以外の部分のみを再生したりすることが容易になる。   The position (528) of the stop motion moving image data indicates the frame number of the stop motion moving image portion when the first frame of each chapter is set to 0. In chapter 1, there is no stop motion video portion. In chapter 2, among the moving image data having 180 frames, the second half of the 90th frame to the 179th frame is a stop motion moving image. In chapter 3, all of the 180 frames of moving image data are stop motion moving images. By knowing the position of the stop motion moving image data in this way, it becomes easy to reproduce only the portion of the stop motion moving image in each moving image data or to reproduce only the portion other than the stop motion moving image.

それぞれの静止画の撮影に対応した動画データを、別々の動画ファイルとしてディレクトリ内に格納する場合には、それぞれの動画ファイルのヘッダ部分に、チャプタ番号(523)以外のチャプタ参照情報が格納される。   When moving image data corresponding to each still image is stored in the directory as separate moving image files, chapter reference information other than the chapter number (523) is stored in the header portion of each moving image file. .

ディレクトリ内に格納される静止画ファイル517(ファイル名:IMG_0002.JPG)、518(IMG_0003.JPG)、519(IMG_0004.JPG)は、レリーズ1、2、3のそれぞれの撮影指示で撮影された静止画データを含む。動画・静止画記録モードで記録されたそれぞれの静止画ファイルには、静止画データと共に、静止画データの属性情報と、動画・静止画記録モードでメモリ112に記憶していた撮影指示前の付加情報とが、ヘッダ部分に記録されている。通常の静止画記録モードで記録された静止画データを含む静止画ファイルには、静止画データと共に静止画データの属性情報が記録されている。   Still image files 517 (file name: IMG — 0002.JPG), 518 (IMG — 0003.JPG), and 519 (IMG — 0004.JPG) stored in the directory are still images shot according to the respective shooting instructions of releases 1, 2, and 3. Includes image data. Each still image file recorded in the moving image / still image recording mode includes still image data, attribute information of the still image data, and an addition before the shooting instruction stored in the memory 112 in the moving image / still image recording mode. Information is recorded in the header portion. In still image files including still image data recorded in the normal still image recording mode, attribute information of the still image data is recorded together with the still image data.

本実施形態において、動画・静止画記録モードで記録された動画データは、一連の動画ストリームデータとして1つの動画ファイルに格納されるため、静止画撮影の度にチャプタ参照情報及び格納するチャプタが増えて、動画ファイルの容量が大きくなる。よって、動画・静止画記録モードで記録された動画データに関する情報である撮影指示前の付加情報を、容量の大きなファイルのヘッダ部分に格納すると、検出に時間がかかる。そのため、本実施形態においては、動画・静止画記録モードで記録された対応する静止画データのヘッダ部分に、撮影指示前の付加情報を記録しておくことで、撮影指示前の付加情報の検出にかかる時間を短縮することができる。   In the present embodiment, moving image data recorded in the moving image / still image recording mode is stored in one moving image file as a series of moving image stream data, so that chapter reference information and chapters to be stored increase every time a still image is shot. This increases the capacity of the movie file. Therefore, if additional information before shooting instruction, which is information related to moving image data recorded in the moving image / still image recording mode, is stored in the header portion of a large-capacity file, it takes time to detect. For this reason, in the present embodiment, the additional information before the shooting instruction is recorded in the header portion of the corresponding still image data recorded in the moving image / still image recording mode, thereby detecting the additional information before the shooting instruction. It is possible to reduce the time required for

静止画データの属性情報とは、具体的には、静止画データを記録した撮像装置のメーカ名や機種名、撮影日時、画像の白とびや黒つぶれを判断できる被写体輝度、オートフォーカスによる焦点合わせの精度を示す合焦度、撮影時のサブカメラの設定情報等である。また、ユーザにより付与された画像の優先度を示すお気に入り度や、撮影時に合焦のためのAF補助光を発光したかどうかの情報、ユーザにより設定された任意の文字列(イベント名)等の情報を付加して、属性情報として記録してもよい。また、静止画データを画像処理部109で解析することにより、静止画データに含まれる人物やその数、人物の位置、顔の大きさ等の情報を属性情報として記録してもよい。その他撮影時の設定やサムネイル画像も、静止画データの属性情報として記録されている。   The attribute information of the still image data specifically includes the manufacturer name and model name of the imaging device that recorded the still image data, the shooting date and time, the subject brightness that can determine overexposure and underexposure of the image, and focusing by autofocus Are the degree of focus indicating the accuracy of the image, setting information of the sub camera at the time of shooting, and the like. Also, a favorite level indicating the priority of the image given by the user, information on whether or not AF auxiliary light for focusing is emitted at the time of shooting, an arbitrary character string (event name) set by the user, etc. Information may be added and recorded as attribute information. Further, by analyzing the still image data by the image processing unit 109, information such as the number of persons included in the still image data, the number of persons, the position of the person, and the size of the face may be recorded as attribute information. Other shooting settings and thumbnail images are also recorded as attribute information of still image data.

ここで撮影指示前の付加情報について、図6を用いて説明する。図6(a)に示すように、本実施形態において撮影指示前の付加情報は1秒単位で記録される。時間軸はSW2が押下された静止画撮影時を0とし、本実施形態では、撮影指示前の付加情報を静止画撮影の3秒前から保持しているが、撮影指示前の付加情報を保持する時間は任意に設定可能である。撮影指示前の付加情報を保持する時間は、例えば、動画・静止画記録モードにおいて、静止画撮影までに動画データが記録される時間に対応して決定される。   Here, the additional information before the photographing instruction will be described with reference to FIG. As shown in FIG. 6A, in the present embodiment, the additional information before the shooting instruction is recorded in units of one second. The time axis is set to 0 at the time of still image shooting when SW2 is pressed, and in this embodiment, the additional information before the shooting instruction is held from 3 seconds before the shooting of the still image, but the additional information before the shooting instruction is held. The time to perform can be arbitrarily set. For example, in the moving image / still image recording mode, the time for holding the additional information before the shooting instruction is determined in accordance with the time for which moving image data is recorded before still image shooting.

撮影指示前の付加情報として記録される項目は、カメラ100の姿勢情報、第1撮像部101におけるAF動作の有無の情報、ズーム動作の有無の情報、被写体の情報としてメインカメラに写っている人物の笑顔度の情報を例としてあげている(図6(a))。   The items recorded as additional information before the shooting instruction are the posture information of the camera 100, the information on the presence or absence of the AF operation in the first imaging unit 101, the information on the presence or absence of the zoom operation, and the person reflected in the main camera as the subject information. As an example, information on the degree of smile is shown (FIG. 6A).

カメラ100の姿勢情報は、前述したように、カメラ100が横位置(正位置)の場合に0度、カメラ100が横位置のときの右側面である第1面を下にした縦位置の場合に90度として、姿勢検出部108から取得したカメラ100の姿勢情報が記録される。第1撮像部101におけるAF動作の有無の情報は、合焦処理を行うために、第1撮像部101のフォーカスレンズや絞り等が動作中か停止しているかを示す。また、ズーム動作の有無の情報は、光学ズーム処理を行うために第1撮像部101のズームレンズ等が動作中か停止しているか、または、電子ズーム処理を行うための第1撮像部101で取得した画像信号の処理が行われている(動作中)か停止しているかを示す。第1撮像部101におけるAF動作の有無の情報、及びズーム動作の有無の情報は、制御部111から取得される。   As described above, the posture information of the camera 100 is 0 degree when the camera 100 is in the horizontal position (normal position), and when the camera 100 is in the vertical position with the first surface, which is the right side when the camera 100 is in the horizontal position, facing down. At 90 degrees, the posture information of the camera 100 acquired from the posture detection unit 108 is recorded. The information on the presence or absence of the AF operation in the first imaging unit 101 indicates whether the focus lens, the diaphragm, or the like of the first imaging unit 101 is operating or stopped to perform the focusing process. The information on the presence / absence of the zoom operation is based on whether the zoom lens of the first image capturing unit 101 is operating or stopped to perform the optical zoom process, or the first image capturing unit 101 for performing the electronic zoom process. Indicates whether processing of the acquired image signal is being performed (during operation) or stopped. Information on the presence / absence of the AF operation in the first imaging unit 101 and information on the presence / absence of the zoom operation are acquired from the control unit 111.

人物の笑顔度は、YUVデータに変換された画像信号からパターンマッチング等を用いて人物の顔部分が検出され、検出された顔部分の口角のあがり具合等から、被写体の人物が笑顔かどうかを示す値として、画像処理部109により検出される。本実施形態では、第1撮像部101から得られた画像信号から検出した人物の笑顔度を撮影指示前の付加情報として記録するが、加えて第2撮像部102から得られた画像信号から検出した人物の笑顔度を記録してもよい。また、撮影指示前の付加情報に記録する笑顔度は、複数人の笑顔度をそれぞれ記録してもよいし、複数人の笑顔度を考慮して算出した値を記録してもよい。本実施形態の人物の笑顔度は、第1撮像部101から得られた画像の画角に対して顔部分の面積が大きい所定の人数の笑顔度から求めた値に応じて、高(よく笑っている)、中(ある程度笑っている)、低(あまり笑っていない)の3段階で表わされる。   The degree of smile of a person is determined by detecting whether the person's face is detected from the image signal converted into YUV data using pattern matching or the like, and whether or not the subject person is smiling based on the degree of the mouth corner of the detected face. The value shown is detected by the image processing unit 109. In the present embodiment, the smile level of the person detected from the image signal obtained from the first image pickup unit 101 is recorded as additional information before the shooting instruction, but additionally detected from the image signal obtained from the second image pickup unit 102. The degree of smile of the person who made it may be recorded. In addition, as the smile level recorded in the additional information before the shooting instruction, the smile levels of a plurality of people may be recorded, or a value calculated in consideration of the smile levels of a plurality of people may be recorded. The smile level of the person in the present embodiment is high (well laughs well) according to the value obtained from the smile level of a predetermined number of people whose face area is larger than the angle of view of the image obtained from the first imaging unit 101. ), Medium (laughing to some extent), and low (not laughing very much).

撮影指示前の付加情報として、上述した項目以外の情報を記録してもよい。例えば、動画データを構成する各フレームを画像処理部109で解析することにより、動画データに含まれる人物や、人物の位置、顔の大きさ等が、撮影指示前の付加情報の項目として記録されていてもよい。   Information other than the items described above may be recorded as additional information before the shooting instruction. For example, by analyzing each frame constituting the moving image data by the image processing unit 109, the person included in the moving image data, the position of the person, the size of the face, and the like are recorded as additional information items before the shooting instruction. It may be.

図6(a)から、カメラ100の姿勢情報は、静止画撮影までずっと横位置(0度)で保持されていたことがわかる。また、AF動作は静止画撮影の2秒前に動作したのみであり、ズーム動作は3秒前に動作したのみであって、あとは動作が停止し、記録している画像が安定していることがわかる。また人物の笑顔度は、静止画撮影の3秒前から徐々に高くなっていることが分かる。   From FIG. 6A, it can be seen that the posture information of the camera 100 was held in the horizontal position (0 degree) until the still image was taken. Also, the AF operation was only performed 2 seconds before still image shooting, the zoom operation was only performed 3 seconds before, and the operation was stopped thereafter, and the recorded image was stable. I understand that. It can also be seen that the smile level of a person gradually increases from 3 seconds before still image shooting.

次に、動画・静止画記録モードで記録したデータの再生処理について、図7を用いて説明する。図7の処理は、制御部111がカメラ100の各部を制御することにより実行される。   Next, playback processing of data recorded in the moving image / still image recording mode will be described with reference to FIG. The processing in FIG. 7 is executed by the control unit 111 controlling each unit of the camera 100.

再生モードにおいて、通常の静止画記録モードや動画記録モードで記録された静止画ファイルや動画ファイルについては、静止画や動画のサムネイル画像等が撮影日時順に順次再生されて、表示部104に表示される。そして、動画のサムネイル画像が表示された際に、該サムネイル画像を選択すると、選択されたサムネイル画像に対応する動画データの再生が開始される。また静止画が表示された際には、操作部110を介して、表示された静止画の拡大縮小表示等が可能になる。   In the playback mode, for still image files and moving image files recorded in the normal still image recording mode and moving image recording mode, still images, thumbnail images of moving images, etc. are sequentially reproduced in order of shooting date and time and displayed on the display unit 104. The When a thumbnail image of a moving image is displayed, when the thumbnail image is selected, reproduction of moving image data corresponding to the selected thumbnail image is started. Further, when a still image is displayed, the displayed still image can be enlarged / reduced or the like via the operation unit 110.

それらに対して、動画・静止画記録モードで記録されたデータは、再生モードにおいて、記録された静止画データまたはそのサムネイル画像が再生されて、制御部111が表示制御部103を制御することにより表示部104に表示される(ステップS701)。このとき再生モードでは、動画・静止画記録モードで記録された動画データのサムネイル画像は表示されない。   On the other hand, the data recorded in the moving image / still image recording mode is reproduced by reproducing the recorded still image data or its thumbnail image in the reproduction mode, and the control unit 111 controls the display control unit 103. It is displayed on the display unit 104 (step S701). At this time, in the playback mode, the thumbnail image of the moving image data recorded in the moving image / still image recording mode is not displayed.

そして、ステップS702において制御部111は、表示された静止画データに関連した動画データを検索する。静止画データに関連した動画データとは、静止画データの動画・静止画記録モードでの記録に対応して生成された動画データ(対応チャプタ)と、静止画データと同日に、動画・静止画記録モードで記録した動画データ(関連チャプタ)を指す。   In step S702, the control unit 111 searches for moving image data related to the displayed still image data. Movie data related to still image data refers to movie data (corresponding chapters) generated in response to recording of still image data in movie / still image recording mode, and movie / still image on the same day as the still image data. Video data (related chapters) recorded in the recording mode.

まず制御部111は、表示された静止画データと同日に、動画・静止画記録モードで記録した動画データ(関連チャプタ)が格納されている動画ファイルを検索する。具体的には、まず制御部111は、記録媒体114に記録されている表示された静止画データを含む静止画ファイルと、同じディレクトリ内に格納されている動画ファイルを検索する。そして、制御部111は、同じディレクトリ内に格納されている動画ファイルのファイル名が文字列「MDG」を含むファイル名かどうかを判定する。表示された静止画データを含む静止画ファイルと、同じディレクトリ内に格納されている、ファイル名に文字列「MDG」が含む動画ファイルには、表示された静止画データと同日に、動画・静止画記録モードで記録した動画データが格納されている。   First, the control unit 111 searches for a moving image file storing moving image data (related chapters) recorded in the moving image / still image recording mode on the same day as the displayed still image data. Specifically, the control unit 111 first searches for a still image file including the displayed still image data recorded on the recording medium 114 and a moving image file stored in the same directory. Then, the control unit 111 determines whether the file name of the moving image file stored in the same directory is a file name including the character string “MDG”. The still image file including the displayed still image data and the moving image file stored in the same directory and including the character string “MDG” in the file name are displayed on the same day as the displayed still image data. Stores moving image data recorded in the image recording mode.

本実施形態では、動画・静止画記録モードで記録された動画ファイルかどうかを判定するのにファイル名を用いたが、これに限らず、動画ファイルのヘッダ部分等に図5(c)に示すチャプタ参照情報が記録されているかどうかで判定してもよい。   In this embodiment, the file name is used to determine whether the file is a moving image file recorded in the moving image / still image recording mode. However, the present invention is not limited to this, and the header portion of the moving image file and the like are shown in FIG. The determination may be made based on whether chapter reference information is recorded.

表示された静止画データと同日に、動画・静止画記録モードで記録された動画データを格納した動画ファイルが記録されていた場合、更に制御部111は、表示された静止画データの記録に対応して生成された動画データ(対応チャプタ)を検索する。具体的には、制御部111は、表示された静止画データと同日に、動画・静止画記録モードで記録された動画データを格納した動画ファイルのヘッダ部分等に記録されたチャプタ参照情報を用いて、対応チャプタを検索する。   When a moving image file storing moving image data recorded in the moving image / still image recording mode is recorded on the same day as the displayed still image data, the control unit 111 further supports recording of the displayed still image data. The moving image data (corresponding chapter) generated in this way is searched. Specifically, the control unit 111 uses the chapter reference information recorded in the header portion of the moving image file storing the moving image data recorded in the moving image / still image recording mode on the same day as the displayed still image data. To search for the corresponding chapter.

ステップS703で制御部111は、表示された静止画データに関連した動画データが記録媒体114に記録されているかどうかを、ステップS702の検索結果に基づいて判定する。記録媒体114に、表示された静止画データの対応チャプタか、表示された静止画データの関連チャプタのいずれかが記録されている場合、制御部111は処理をステップS704へ進める。表示された静止画データの対応チャプタと、表示された静止画データの関連チャプタのいずれも、記録媒体114に記録されていない場合、制御部111は処理をステップS707へ進める。   In step S703, the control unit 111 determines whether moving image data related to the displayed still image data is recorded on the recording medium 114 based on the search result in step S702. If either the corresponding chapter of the displayed still image data or the related chapter of the displayed still image data is recorded on the recording medium 114, the control unit 111 advances the process to step S704. If neither the corresponding chapter of the displayed still image data nor the related chapter of the displayed still image data is recorded on the recording medium 114, the control unit 111 advances the processing to step S707.

ステップS704で制御部111は、ステップS702の検索結果に基づいて、表示された静止画データに関連した動画データが記録されていることを示すアイコン等を、表示部104に表示するように、表示制御部103を制御する。   In step S704, the control unit 111 displays an icon or the like indicating that moving image data related to the displayed still image data is recorded on the display unit 104 based on the search result in step S702. The control unit 103 is controlled.

図8は、ステップS704におけるアイコンの表示例を示す。表示された静止画データの関連チャプタが記録媒体114に記録されている場合、表示された静止画データの関連チャプタの存在を示すアイコン(図8の802)が、表示部104に表示される。また、表示された静止画データの対応チャプタが記録媒体114に記録されている場合、表示された静止画データの対応チャプタの存在を示すアイコン(図8の803)が、表示部104に表示される。画像処理部109はこれらの各アイコンは生成して、表示する静止画データ(図8の801)に重畳する。制御部111はアイコンを重畳した静止画データを表示部104に表示するように、表示制御部103を制御する。   FIG. 8 shows an example of icon display in step S704. When the related chapter of the displayed still image data is recorded on the recording medium 114, an icon (802 in FIG. 8) indicating the presence of the related chapter of the displayed still image data is displayed on the display unit 104. Further, when the corresponding chapter of the displayed still image data is recorded on the recording medium 114, an icon (803 in FIG. 8) indicating the presence of the displayed corresponding chapter of the still image data is displayed on the display unit 104. The The image processor 109 generates these icons and superimposes them on the still image data to be displayed (801 in FIG. 8). The control unit 111 controls the display control unit 103 so that the still image data on which the icon is superimposed is displayed on the display unit 104.

図8(a)は、表示された静止画データの対応チャプタ、及び表示された静止画データの関連チャプタが、記録媒体114に記録されている場合の表示例である。図8(b)は、表示された静止画データの関連チャプタのみが、記録媒体114に記録されている場合の表示例である。また図8(c)は、表示された静止画データの対応チャプタと、表示された静止画データの関連チャプタのいずれも、記録媒体114に記録されていない場合の表示例である。   FIG. 8A is a display example when the corresponding chapter of the displayed still image data and the related chapter of the displayed still image data are recorded on the recording medium 114. FIG. 8B is a display example when only the related chapter of the displayed still image data is recorded on the recording medium 114. FIG. 8C shows a display example when neither the corresponding chapter of the displayed still image data nor the related chapter of the displayed still image data is recorded on the recording medium 114.

ステップS705において制御部111は、ステップS704で表示したアイコンに対応する動画データの再生指示が、ユーザによりなされたかどうかを判定する。本実施形態においては、ステップS704で表示した各アイコンは選択可能に構成されており、ユーザがアイコンを選択すると、アイコンに対応する動画データが再生されて、表示部104に表示される。   In step S705, the control unit 111 determines whether or not the user has instructed the reproduction of the moving image data corresponding to the icon displayed in step S704. In the present embodiment, each icon displayed in step S <b> 704 is configured to be selectable. When the user selects an icon, moving image data corresponding to the icon is reproduced and displayed on the display unit 104.

例えば、表示された静止画データの関連チャプタの存在を示すアイコン(図8の802)が選択されると、制御部111は、アイコンに対応する動画データである、表示された静止画データの関連チャプタを再生するように、記録再生部113を制御する。また、表示された静止画データの対応チャプタの存在を示すアイコン(図8の803)が選択されると、制御部111は、アイコンに対応する動画データである、表示された静止画データの対応チャプタを再生するように、記録再生部113を制御する。   For example, when an icon (802 in FIG. 8) indicating the presence of a related chapter of the displayed still image data is selected, the control unit 111 relates the displayed still image data, which is moving image data corresponding to the icon. The recording / reproducing unit 113 is controlled so as to reproduce the chapter. When an icon (803 in FIG. 8) indicating the presence of the corresponding chapter of the displayed still image data is selected, the control unit 111 corresponds to the displayed still image data that is moving image data corresponding to the icon. The recording / reproducing unit 113 is controlled so as to reproduce the chapter.

アイコンに対応する動画データの再生指示がなされた場合(ステップS705でYes)は、ステップS706で制御部111は、上述したように、再生指示がなされたアイコンに対応する動画データを再生するように、記録再生部113を制御する。そして、動画データの再生終了後、表示部104の表示が、静止画データと関連する動画を示すアイコンを表示している状態(ステップS704)に戻るように、制御部111は表示制御部103を制御する。   When the reproduction instruction of the moving image data corresponding to the icon is made (Yes in step S705), in step S706, the control unit 111 reproduces the moving image data corresponding to the icon instructed to reproduce as described above. The recording / reproducing unit 113 is controlled. Then, after the reproduction of the moving image data is finished, the control unit 111 changes the display control unit 103 so that the display on the display unit 104 returns to the state where the icon indicating the moving image related to the still image data is displayed (step S704). Control.

ステップS705において、アイコンに対応する動画データの再生指示がなされない場合、ステップS707において制御部111は、表示部104に表示する静止画データを変更する指示がなされたかどうかを判定する。ユーザは、操作部110を介して表示する静止画データを変更する指示を行うことが可能である。表示する静止画データを変更する指示を受けると(ステップS707でYes)、制御部111は、表示制御部103に表示する静止画データを変更させ、処理をステップS701へ戻す。表示する静止画データを変更する指示を受けていない場合(ステップS707でNo)、ステップS708において制御部111は、操作部110を介して、再生モード以外のモードへの変更指示やその他の処理の指示があるかどうかを判定する。制御部111は、モードの変更やその他の処理の指示がない場合には、処理をステップS704へ戻し、モードの変更やその他の処理の指示がある場合は、本処理を終了して、モードの変更やその他の処理を行う。   If it is determined in step S705 that no instruction to reproduce moving image data corresponding to the icon is given, the control unit 111 determines in step S707 whether an instruction to change still image data displayed on the display unit 104 has been issued. The user can issue an instruction to change still image data to be displayed via the operation unit 110. When receiving an instruction to change the still image data to be displayed (Yes in step S707), the control unit 111 changes the still image data to be displayed on the display control unit 103, and returns the process to step S701. When the instruction to change the still image data to be displayed has not been received (No in step S707), in step S708, the control unit 111 performs an instruction to change to a mode other than the playback mode or other processing via the operation unit 110. Determine if there are instructions. If there is no mode change or other processing instruction, the control unit 111 returns the process to step S704. If there is a mode change or other processing instruction, the control unit 111 ends this processing, and changes the mode. Make changes and other processing.

例えば図5に示す静止画データP2では、静止画データP2と同日に動画・静止画記録モードで記録された動画データ(関連チャプタ)と、静止画データP2の記録に対応して生成された動画データ(対応チャプタ)が共に記録媒体114に記録されている。静止画データP2を表示部104に表示した場合、図8(a)に示すように、静止画データP2(図8の801)と共に、アイコン802及びアイコン803が表示される。静止画データP2の関連チャプタは、動画ファイル512に格納されているチャプタ1(514)、チャプタ2(515)、チャプタ3(516)である。また、静止画データP2の対応チャプタは、チャプタ2(515)である。   For example, in the still image data P2 shown in FIG. 5, moving image data (related chapters) recorded in the moving image / still image recording mode on the same day as the still image data P2, and a moving image generated corresponding to the recording of the still image data P2. Both data (corresponding chapters) are recorded on the recording medium 114. When the still image data P2 is displayed on the display unit 104, as shown in FIG. 8A, an icon 802 and an icon 803 are displayed together with the still image data P2 (801 in FIG. 8). The related chapters of the still image data P2 are chapter 1 (514), chapter 2 (515), and chapter 3 (516) stored in the moving image file 512. The corresponding chapter of the still image data P2 is chapter 2 (515).

アイコン802が選択されると、静止画データP2の関連チャプタである、動画ファイル512に格納されている動画データ(チャプタ1(514)、チャプタ2(515)、チャプタ3(516))が再生される。また、アイコン803が選択されると、静止画データP2の対応チャプタである、チャプタ2(515)が再生される。   When the icon 802 is selected, moving image data (chapter 1 (514), chapter 2 (515), chapter 3 (516)) stored in the moving image file 512, which is a related chapter of the still image data P2, is reproduced. The When the icon 803 is selected, chapter 2 (515), which is a corresponding chapter of the still image data P2, is reproduced.

本実施形態では、ステップS704で、表示された静止画データに関連した動画データが記録媒体114に記録されている場合に、各アイコンを表示するように制御部111は処理を行った。これに限らず、ステップS704において制御部111は、表示された静止画データが動画・静止画記録モードで記録された際のサブカメラの撮影設定によって、表示するアイコンを変える制御を行ってもよい。表示された静止画データが動画・静止画記録モードで記録された際のサブカメラの撮影設定は、静止画データが格納されている静止画ファイルに格納された、静止画データの属性情報に記録されている。   In the present embodiment, in step S704, when moving image data related to the displayed still image data is recorded on the recording medium 114, the control unit 111 performs processing to display each icon. Not limited to this, in step S704, the control unit 111 may perform control to change the icon to be displayed depending on the shooting setting of the sub camera when the displayed still image data is recorded in the moving image / still image recording mode. . The shooting settings of the sub camera when the displayed still image data is recorded in the movie / still image recording mode is recorded in the attribute information of the still image data stored in the still image file in which the still image data is stored. Has been.

例えば制御部111は、動画・静止画記録モードでサブカメラの撮影設定を有効にして記録した静止画データには、記録媒体114に記録された対応チャプタに応じて、対応チャプタの存在を示すアイコンを重畳して表示するように表示制御部103を制御する。   For example, in the still image data recorded by enabling the sub camera shooting setting in the moving image / still image recording mode, the control unit 111 indicates the presence of the corresponding chapter according to the corresponding chapter recorded in the recording medium 114. The display control unit 103 is controlled so as to be superimposed and displayed.

一方制御部111は、動画・静止画記録モードでサブカメラの撮影設定を無効にして記録した静止画データの表示では、対応チャプタが記録媒体114に記録されていても、対応チャプタの存在を示すアイコンを表示しないように、表示制御部103を制御する。つまり、サブカメラの撮影設定を無効にして記録した静止画データでは、静止画データの関連チャプタのみを記録している場合も、関連チャプタと共に対応チャプタを記録している場合も、図8(b)のように関連チャプタの存在を示すアイコンのみが表示される。   On the other hand, the control unit 111 indicates the presence of the corresponding chapter even if the corresponding chapter is recorded on the recording medium 114 in the display of the still image data recorded with the shooting setting of the sub camera disabled in the moving image / still image recording mode. The display control unit 103 is controlled not to display the icon. That is, in the still image data recorded with the sub-camera shooting setting disabled, whether only the related chapter of the still image data is recorded or the corresponding chapter is recorded together with the related chapter, FIG. Only icons indicating the presence of related chapters are displayed as in ().

このような表示するアイコンを変える制御は、本実施形態のように、動画・静止画記録モードで記録された静止画データにサブカメラの画像が合成されない場合、サブカメラの画像が合成されている対応チャプタを容易に再生できるようにするためである。   In the control for changing the icon to be displayed, the sub camera image is combined when the sub camera image is not combined with the still image data recorded in the moving image / still image recording mode as in the present embodiment. This is because the corresponding chapter can be easily reproduced.

次に、アルバム再生処理について図9を用いて説明する。本実施形態においてカメラ100は、再生モードとして、通常の再生モードとは別にアルバム再生モードを有する。アルバム再生モードでは、動画・静止画記録モードで記録媒体114に記録された動画データ、または記録媒体114に記録された静止画データの少なくとも一方を用いて、快適な画像の確認を行えるような再生処理(ダイジェスト再生処理)が行われる。   Next, the album playback process will be described with reference to FIG. In the present embodiment, the camera 100 has an album playback mode as a playback mode in addition to the normal playback mode. In the album playback mode, playback is performed so that a comfortable image can be confirmed using at least one of moving image data recorded on the recording medium 114 in the moving image / still image recording mode and still image data recorded on the recording medium 114. Processing (digest reproduction processing) is performed.

アルバム再生モードでは、動画・静止画記録モードで記録媒体114に記録された動画データ、または記録媒体114に記録された静止画データの中で、アルバム再生を行うのに適さないデータは除外して再生を行う。アルバム再生を行うのに適さないデータは、例えば、撮影指示前の付加情報でカメラの姿勢が変化していたり、AF動作が安定していなかったりする動画データや、被写体輝度が低い静止画データなどである。本実施形態においては、アルバム再生モードで用いるデータは、動画・静止画記録モードで記録媒体114に記録された動画データ、及び動画・静止画記録モードを含む記録モードで記録媒体114に記録された静止画データから選択される。   In the album playback mode, the video data recorded on the recording medium 114 in the video / still image recording mode or the still image data recorded on the recording medium 114 is excluded from data that is not suitable for album playback. Perform playback. Data that is not suitable for album playback is, for example, moving image data in which the camera posture is changed or AF operation is not stable due to additional information before the shooting instruction, still image data with low subject brightness, etc. It is. In the present embodiment, the data used in the album playback mode is recorded on the recording medium 114 in the recording mode including the moving image data recorded on the recording medium 114 in the moving image / still image recording mode and the moving image / still image recording mode. Selected from still image data.

図9の処理は、操作部110を介してアルバム再生モードを開始する指示を受けて開始される。図9の処理は、制御部111が各部を制御することにより実行される。   The process of FIG. 9 is started upon receiving an instruction to start the album playback mode via the operation unit 110. The processing in FIG. 9 is executed by the control unit 111 controlling each unit.

ステップS901において制御部111は、動画・静止画記録モードで記録媒体114に記録された動画データ、または記録媒体114に記録された静止画データの中から、アルバム再生モードに用いる動画データまたは静止画データを抽出する条件を決定する。抽出条件は、ユーザにより任意で選択された動画データや静止画データとしてもよいし、静止画ファイルに格納されている静止画データの属性情報や撮影指示前の付加情報を用いて決定されてもよい。静止画データの属性情報や撮影指示前の付加情報を用いる場合は、抽出条件として、撮影日、写っている人物、静止画データまたは動画データに付加したイベント名等があげられる。例えば、アルバム再生モードを開始する指示を受けた際に表示部104に表示していた静止画データに基づいて、静止画データの撮影日、静止画データに含まれる人物、静止画データに付加されたイベント名等から、ユーザが選択して抽出条件を決定してもよい。   In step S901, the control unit 111 selects the moving image data or the still image used for the album playback mode from the moving image data recorded on the recording medium 114 in the moving image / still image recording mode or the still image data recorded on the recording medium 114. Determine the conditions for extracting data. The extraction condition may be moving image data or still image data arbitrarily selected by the user, or may be determined using attribute information of still image data stored in the still image file or additional information before shooting instructions. Good. When using attribute information of still image data or additional information before shooting instructions, the extraction date includes the shooting date, the person being photographed, the event name added to the still image data or the moving image data, and the like. For example, based on the still image data displayed on the display unit 104 when an instruction to start the album playback mode is received, the shooting date of the still image data, the person included in the still image data, and the still image data are added. The extraction condition may be determined by the user selecting from the event name or the like.

ステップS902において制御部111は、動画・静止画記録モードで記録媒体114に記録された動画データ、または記録媒体114に記録された静止画データの中から、ステップS901で決定された抽出条件に合致するデータを検出する。ステップS901で決定された抽出条件に合致する動画データまたは静止画データであるかどうかは、記録媒体114に記録された静止画データを含む静止画ファイルに格納された静止画データの属性情報や撮影指示前の付加情報を用いる。   In step S902, the control unit 111 matches the extraction condition determined in step S901 from the moving image data recorded on the recording medium 114 in the moving image / still image recording mode or the still image data recorded on the recording medium 114. Detect data to be used. Whether or not the moving image data or the still image data matches the extraction condition determined in step S901 is determined based on the attribute information of the still image data stored in the still image file including the still image data recorded on the recording medium 114 or the shooting. Use additional information before giving instructions.

例えばステップS901で決定された抽出条件が「撮影日が2013年10月10日」の場合、図5に示すディレクトリ511内に格納されている、動画・静止画記録モードで記録された動画データ及び全静止画データが、抽出条件に合致するデータとなる。図5では具体的には、動画データでは、チャプタ1(514)、チャプタ2(515)、チャプタ3(516)が、静止画データでは、静止画データP1、静止画データP2、静止画データP3が、抽出条件に合致するデータとなる。   For example, when the extraction condition determined in step S901 is “the shooting date is October 10, 2013”, the moving image data recorded in the moving image / still image recording mode stored in the directory 511 shown in FIG. All still image data is data that matches the extraction conditions. Specifically, in FIG. 5, chapter 1 (514), chapter 2 (515), and chapter 3 (516) are included in moving image data, and still image data P1, still image data P2, and still image data P3 are included in still image data. Is the data that matches the extraction conditions.

次に、ステップS902においてステップS901の抽出条件に基づいて検出されたデータが、ステップS903及びステップS904で、アルバム再生の対象データ(ステップS905)と非対象データ(ステップS906)とに振り分けられる。   Next, in step S902, the data detected based on the extraction condition in step S901 is distributed to album reproduction target data (step S905) and non-target data (step S906) in steps S903 and S904.

ステップS903において制御部111は、ステップS902で検出されたデータの中の動画データにおいて、各動画データに関する撮影指示前の付加情報から、カメラ100の姿勢情報が変化している動画データかどうかを判定する。図6(b)に示す撮影指示前の付加情報のように、カメラ100の姿勢情報が所定以上(90度以上)変化している動画データは、アルバム再生の非対象データとする(ステップS906)。このような動画データは、例えば図2のステップS212でSW1が押下されている状態で、カメラ100の姿勢情報が変化した場合に記録される。記録中にカメラの姿勢が変化している(カメラの向きが回転している)動画データは、再生中に画像の向きが変化して見づらいので、アルバム再生に不適切として、アルバム再生の対象から除外する。   In step S903, the control unit 111 determines whether the moving image data in the data detected in step S902 is moving image data in which the posture information of the camera 100 is changed from the additional information before the shooting instruction regarding each moving image data. To do. Like the additional information before the shooting instruction shown in FIG. 6B, the moving image data in which the posture information of the camera 100 has changed more than a predetermined (90 degrees or more) is set as non-target data for album reproduction (step S906). . Such moving image data is recorded, for example, when the posture information of the camera 100 changes while SW1 is pressed in step S212 of FIG. Video data with a camera orientation that changes during recording (camera orientation is rotated) is difficult to view because the orientation of the image changes during playback. exclude.

制御部111は、カメラ100の姿勢情報が変化していない動画データと、ステップS902で検出されたデータの中の静止画データにおいて、カメラ100の姿勢情報の変化以外のアルバム再生の非対象条件に合致するか否かを判定する(ステップS904)。カメラ100の姿勢情報の変化以外のアルバム再生の非対象条件について、動画データに関しては、例えば、AF動作またはズーム動作が安定していないもの(図6(c)、(d))、被写体の人物の笑顔度が低いもの(図6(e))が挙げられる。更に、静止画撮影時にAFのためのAF補助光を発光した静止画データに対応して生成された動画データも、アルバム再生の非対象条件としてもよい。これらの判定は、各動画データに対応した静止画データの付属情報や撮影指示前の付加情報に基づいて行われる。   The control unit 111 sets the non-target condition for album reproduction other than the change in the posture information of the camera 100 in the moving image data in which the posture information of the camera 100 has not changed and the still image data in the data detected in step S902. It is determined whether or not they match (step S904). Regarding the non-target conditions for album playback other than the change in the posture information of the camera 100, for example, regarding the moving image data, the AF operation or the zoom operation is not stable (FIGS. 6C and 6D), the person of the subject Are those with a low smile level (FIG. 6E). Furthermore, moving image data generated corresponding to still image data that emits AF auxiliary light for AF at the time of still image shooting may be a non-target condition for album reproduction. These determinations are made based on the attached information of the still image data corresponding to each moving image data and the additional information before the shooting instruction.

アルバム再生の非対象条件について、静止画データに関しては、例えば、被写体輝度が極端に高いものまたは低いもの(白とびまたは黒つぶれしているもの)や、合焦度が低いもの、お気に入り度が低いものが挙げられる。これらの判定は、各静止画データの属性情報に基づいて行われる。   Regarding the non-target conditions for album playback, for still image data, for example, the subject brightness is extremely high or low (overexposed or blackened), the focus level is low, or the favorite level is low Things. These determinations are made based on attribute information of each still image data.

ステップS903及びステップS904の判定を経て、アルバム再生の対象データと判定されたデータ(ステップS905)について、制御部111は、ステップS907の処理を行う。ステップS907において制御部111は、動画・静止画記録モードで記録された静止画データと、その静止画データの記録に対応して生成されたストップモーション動画データを含む動画データとが、アルバム再生の対象データに含まれるものを検索する。そして、アルバム再生の対象データに含まれる、動画・静止画記録モードで記録された静止画データか、その静止画データの記録に対応して生成された動画データのストップモーション動画部分かのどちらを、アルバム再生の対象データから除外する。   The control unit 111 performs the process of step S907 on the data (step S905) determined as the target data for album playback through the determinations of step S903 and step S904. In step S907, the control unit 111 converts the still image data recorded in the moving image / still image recording mode and the moving image data including the stop motion moving image data generated corresponding to the recording of the still image data into the album reproduction. Search the target data. Then, either the still image data recorded in the moving image / still image recording mode or the stop motion moving image portion of the moving image data generated corresponding to the recording of the still image data included in the target data of the album playback. , Exclude from album playback target data.

例えば、アルバム再生の対象データに、図5に示す静止画データP2と、チャプタ2(515)が含まれていた場合を考える。静止画データP2もチャプタ2(515)もアルバム再生に使用すると、静止画データP2と、静止画データP2を使用して生成されたチャプタ2(515)のストップモーション動画部分とが再生されることになり、シーンが重複して冗長な再生になってしまう。   For example, consider a case where the target data for album reproduction includes still image data P2 and chapter 2 (515) shown in FIG. When both the still image data P2 and the chapter 2 (515) are used for album reproduction, the still image data P2 and the stop motion video portion of the chapter 2 (515) generated using the still image data P2 are reproduced. Therefore, the scenes are duplicated and the reproduction becomes redundant.

そこで、アルバム再生の対象データに含まれる、静止画データP2か、チャプタ2(515)のストップモーション動画部分かのどちらを、アルバム再生の対象データから除外する。つまり、静止画データP2、または、チャプタ2(515)のうちの動画データM2の部分のみの動画データの、どちらかのみがアルバム再生の対象データに含まれるようにする。チャプタ2(515)のストップモーション動画部分は、動画ファイル512のヘッダ部分等に格納されているチャプタ参照情報(図5(c)の528)から検出可能である。   Therefore, either the still image data P2 or the stop motion video portion of chapter 2 (515) included in the target data for album playback is excluded from the target data for album playback. That is, only one of the still image data P2 or the moving image data of only the moving image data M2 portion of the chapter 2 (515) is included in the album reproduction target data. The stop motion moving image portion of chapter 2 (515) can be detected from the chapter reference information (528 in FIG. 5C) stored in the header portion of the moving image file 512 or the like.

また、静止画データP3とチャプタ3(516)が、アルバム再生の対象データに含まれていた場合を考える。チャプタ3(516)は、チャプタ参照情報から、静止画データP3を使用して生成されたストップモーション動画データのみからなる。よって、静止画データP3か、チャプタ3(516)のどちらが、アルバム再生の対象データから除外される。例えば、チャプタ3(516)のストップモーション動画部分に第2撮像部102の画像が合成されている場合、第2撮像部102の画像が合成されていない静止画データP3をアルバム再生の対象データから除外する。   Also, consider a case where still image data P3 and chapter 3 (516) are included in the target data for album playback. Chapter 3 (516) consists only of stop motion moving image data generated from the chapter reference information using still image data P3. Therefore, either the still image data P3 or the chapter 3 (516) is excluded from the album reproduction target data. For example, when the image of the second imaging unit 102 is synthesized with the stop motion moving image portion of the chapter 3 (516), the still image data P3 without the synthesized image of the second imaging unit 102 is used as the album reproduction target data. exclude.

次にステップS908において制御部111は、アルバム再生の対象データの中から、アルバム再生に使用する動画データまたは静止画データを選択する。アルバム再生の対象データ全てを選択してもよいし、撮影指示前の付加情報や静止画データの属性情報に基づいて、任意の基準でアルバム再生の対象データの中から、所定数のデータを選択、または再生時間が所定時間になるようにデータを選択してもよい。任意の基準とは、例えば、写っている人物の笑顔度が高いかどうか、人物が複数含まれるかどうか、お気に入り度が高いかどうか等が挙げられる。   In step S908, the control unit 111 selects moving image data or still image data to be used for album playback from the target data for album playback. You can select all the target data for album playback, or select a predetermined number of data from the target data for album playback based on additional information before shooting instructions and attribute information of still image data Alternatively, the data may be selected so that the reproduction time becomes a predetermined time. Examples of the arbitrary criteria include whether or not the person being photographed has a high smile level, whether or not a plurality of persons are included, and whether or not the favorite level is high.

ステップS909で制御部111は、ステップS908で選択されたデータを連続再生するアルバム再生データを生成するように信号処理部115を制御し、アルバム再生データを表示部104に表示(プレビュー表示)するように表示制御部103を制御する。連続再生するデータの順番は、撮影前の付加情報や静止画データの属性情報に基づいて任意に設定可能である。プレビュー表示中、操作部110を介して、アルバム再生データの再生の一時停止や再生の再開等の指示が可能である。続いてステップS910において制御部111は、生成したアルバム再生データを記録媒体114に記録して保存するかどうかを、ユーザに選択させる。制御部111は、生成したアルバム再生データを保存するかどうかを、ユーザに選択させる画面を生成するように画像処理部109を制御し、生成した画面を表示部104に表示するように表示制御部103を制御する。   In step S909, the control unit 111 controls the signal processing unit 115 to generate album reproduction data for continuously reproducing the data selected in step S908, and displays the album reproduction data on the display unit 104 (preview display). The display control unit 103 is controlled. The order of data to be continuously reproduced can be arbitrarily set based on additional information before photographing and attribute information of still image data. While the preview is being displayed, it is possible to instruct the playback of the album playback data to be paused or restarted via the operation unit 110. Subsequently, in step S910, the control unit 111 causes the user to select whether or not the generated album reproduction data is recorded and stored in the recording medium 114. The control unit 111 controls the image processing unit 109 to generate a screen that allows the user to select whether or not to save the generated album playback data, and displays the generated screen on the display unit 104. 103 is controlled.

生成したアルバム再生データを記録媒体114に記録して保存することが選択された場合、ステップS911において制御部111は、アルバム再生データを記録媒体114に記録して保存するように記録再生部113を制御して、アルバム再生処理を終了する。アルバム再生データを記録媒体114に記録して保存しない場合は、制御部111は、アルバム再生データを破棄してアルバム再生処理を終了する。   When it is selected that the generated album reproduction data is recorded and stored in the recording medium 114, in step S911, the control unit 111 causes the recording / reproducing unit 113 to record and save the album reproduction data in the recording medium 114. To finish the album reproduction process. When the album reproduction data is not recorded and stored in the recording medium 114, the control unit 111 discards the album reproduction data and ends the album reproduction process.

以上のように、記録された画像の中から一部の画像を抽出して再生する場合に、適切な画像を選択して再生できるようにして、快適な画像の確認を行うことができる。本実施形態においては、撮影中にカメラの姿勢が回転して変化している動画データや、アルバム再生に不適切な動画データ、または静止画データをアルバム再生の対象から除外することで、快適なアルバム再生を行うことができる。   As described above, when a part of the recorded images is extracted and reproduced, an appropriate image can be selected and reproduced so that a comfortable image can be confirmed. In the present embodiment, moving image data in which the camera posture changes during shooting, moving image data inappropriate for album playback, or still image data is excluded from the album playback target. You can play an album.

101 第1撮像部
102 第2撮像部
108 姿勢検出部
111 制御部
113 記録再生部
114 記録媒体
115 信号処理部
DESCRIPTION OF SYMBOLS 101 1st imaging part 102 2nd imaging part 108 Posture detection part 111 Control part 113 Recording / reproducing part 114 Recording medium 115 Signal processing part

Claims (4)

撮影手段を有する画像処理装置であって、
静止画記録指示に応じて、当該静止画撮影指示に応じて撮影した静止画と、前記静止画を撮影する前に撮影した静止画撮影前動画と、前記静止画撮影前動画を撮影中の前記画像処理装置の所定間隔毎の縦横姿勢を示す撮影前付加情報とを、記録媒体に記録するように制御する記録制御手段と、
前記記録媒体に記録されている画像から、再生対象の画像を自動的に選択する再生制御手段とを有し、
前記再生制御手段は、前記撮影前付加情報に基づいて、撮影中に前記画像処理装置の縦横姿勢が変化している静止画撮影前動画を判定し、前記画像処理装置の縦横姿勢が変化したと判定された静止画撮影前動画を再生対象として選択しないように制御することを特徴とする画像処理装置。
An image processing apparatus having photographing means,
In response to the still image recording instruction, the still image shot in accordance with the still image shooting instruction, the pre-still image moving image shot before shooting the still image, and the still image shooting moving image before shooting Recording control means for controlling the pre-shooting additional information indicating the vertical and horizontal postures at predetermined intervals of the image processing apparatus to be recorded on a recording medium;
Replay control means for automatically selecting a replay target image from the images recorded on the recording medium,
The playback control means determines a pre-still image moving image in which the vertical and horizontal postures of the image processing device are changing during shooting based on the pre-shooting additional information, and the vertical and horizontal postures of the image processing device have changed. An image processing apparatus that performs control so that a determined moving image before still image shooting is not selected as a reproduction target .
前記静止画記録指示を受け付ける前に、合焦処理、オートフォーカス処理、自動露出処理、オートホワイトバランス調整処理のうちの少なくとも1つを含む撮影前処理の実行を指示するための撮影前処理指示を受け付ける受付手段と、Before accepting the still image recording instruction, a pre-shooting process instruction for instructing execution of a pre-shooting process including at least one of a focusing process, an autofocus process, an automatic exposure process, and an auto white balance adjustment process is provided. Accepting means,
前記記録制御手段は、前記撮影前処理指示を受け付ける前に前記画像処理装置の縦横姿勢が変化した場合は、前記変化する前に撮影した動画を記録しないように制御し、前記撮影前処理指示を受け付けた後は、前記画像処理装置の縦横姿勢が変化したとしても、前記静止画記録指示を受け付ける前に撮影した動画を前記撮影前付加情報と共に記録するように制御することを特徴とする請求項1に記載の画像処理装置。The recording control unit performs control so as not to record a moving image shot before the change when the vertical and horizontal postures of the image processing apparatus change before receiving the pre-shooting processing instruction, and After the reception, even if the vertical and horizontal postures of the image processing apparatus change, control is performed so that a moving image shot before the still image recording instruction is received is recorded together with the pre-shooting additional information. The image processing apparatus according to 1.
前記再生制御手段は、撮影中に合焦処理の動作が行われている静止画撮影前動画を再生対象として選択しないように制御することを特徴とする請求項1に記載の画像処理装置。 It said reproduction control means, the image processing apparatus according to claim 1, wherein the controller controls so as not to select the video before the still image photographing operation of the focusing process is carried out as a reproduction target in shooting. 画像処理装置の制御方法であって、A control method for an image processing apparatus, comprising:
静止画記録指示に応じて、当該静止画撮影指示に応じて撮影した静止画と、前記静止画を撮影する前に撮影した静止画撮影前動画と、前記静止画撮影前動画を撮影中の前記画像処理装置の所定間隔毎の縦横姿勢を示す撮影前付加情報とを、記録媒体に記録するように制御する記録制御工程と、In response to the still image recording instruction, the still image shot in accordance with the still image shooting instruction, the pre-still image moving image shot before shooting the still image, and the still image shooting moving image before shooting A recording control step for controlling the pre-shooting additional information indicating the vertical and horizontal postures at predetermined intervals of the image processing apparatus to be recorded on a recording medium;
前記記録媒体に記録されている画像から、再生対象の画像を自動的に選択する再生制御工程とを有し、A reproduction control step of automatically selecting an image to be reproduced from images recorded on the recording medium,
前記再生制御工程では、前記撮影前付加情報に基づいて、撮影中に前記画像処理装置の縦横姿勢が変化している静止画撮影前動画を判定し、前記画像処理装置の縦横姿勢が変化したと判定された静止画撮影前動画を再生対象として選択しないように制御することを特徴とする画像処理装置の制御方法。In the reproduction control step, based on the pre-shooting additional information, a moving image before shooting a still image in which the vertical / horizontal posture of the image processing device is changing during shooting is determined, and the vertical / horizontal posture of the image processing device is changed. A control method for an image processing apparatus, wherein control is performed so that a determined moving image before still image shooting is not selected as a reproduction target.
JP2013269687A 2013-12-26 2013-12-26 Image processing apparatus and image processing apparatus control method Expired - Fee Related JP6332963B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013269687A JP6332963B2 (en) 2013-12-26 2013-12-26 Image processing apparatus and image processing apparatus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013269687A JP6332963B2 (en) 2013-12-26 2013-12-26 Image processing apparatus and image processing apparatus control method

Publications (2)

Publication Number Publication Date
JP2015126392A JP2015126392A (en) 2015-07-06
JP6332963B2 true JP6332963B2 (en) 2018-05-30

Family

ID=53536808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013269687A Expired - Fee Related JP6332963B2 (en) 2013-12-26 2013-12-26 Image processing apparatus and image processing apparatus control method

Country Status (1)

Country Link
JP (1) JP6332963B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6206699B2 (en) * 2012-03-14 2017-10-04 パナソニックIpマネジメント株式会社 Image processing apparatus, imaging apparatus, and computer program
JP2013239796A (en) * 2012-05-11 2013-11-28 Canon Inc Image processing device

Also Published As

Publication number Publication date
JP2015126392A (en) 2015-07-06

Similar Documents

Publication Publication Date Title
JP5568178B2 (en) How to summarize videos
US8000558B2 (en) Thumbnail generating apparatus and image shooting apparatus
US7417668B2 (en) Digital camera
JP2013533669A (en) Video summary instruction metadata storage
JP5251878B2 (en) Imaging apparatus and imaging method
EP2573758B1 (en) Method and apparatus for displaying summary video
JP2005260960A (en) Video shooting device for displaying OSD menu and display method thereof
JP2006345254A (en) Image capturing apparatus, control method therefor, program, and storage medium
JP2013118518A (en) Imaging apparatus
JP2010074323A (en) Recording apparatus and method, and recording and playback apparatus and method
JP5434337B2 (en) Image processing apparatus and program
JP6355333B2 (en) Imaging apparatus, image processing apparatus, image processing method, and program
JP4696921B2 (en) Image processing apparatus, still image generation method, program, and storage medium
JP2017046160A (en) Image processing apparatus, control method thereof, control program, and storage medium
JP6332963B2 (en) Image processing apparatus and image processing apparatus control method
JP2015106843A (en) Imaging device, imaging control method and program
JP4595832B2 (en) Imaging apparatus, program, and storage medium
JP2019140568A (en) Image processing system
JP2019140567A (en) Image processing system
JP5392244B2 (en) Imaging apparatus, control method, and program
JP5249078B2 (en) Imaging device
JP5045792B2 (en) Imaging apparatus and program
JP6463967B2 (en) Imaging apparatus and control method thereof
JP6249771B2 (en) Image processing apparatus, image processing method, and program
JP2010074517A (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171024

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180424

R151 Written notification of patent or utility model registration

Ref document number: 6332963

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees