JP2014060499A - Image processing device, image processing method, and program - Google Patents

Image processing device, image processing method, and program Download PDF

Info

Publication number
JP2014060499A
JP2014060499A JP2012203011A JP2012203011A JP2014060499A JP 2014060499 A JP2014060499 A JP 2014060499A JP 2012203011 A JP2012203011 A JP 2012203011A JP 2012203011 A JP2012203011 A JP 2012203011A JP 2014060499 A JP2014060499 A JP 2014060499A
Authority
JP
Japan
Prior art keywords
moving image
image file
file
still image
specified
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.)
Granted
Application number
JP2012203011A
Other languages
Japanese (ja)
Other versions
JP6071358B2 (en
Inventor
Eiji Yoshino
栄二 吉野
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 JP2012203011A priority Critical patent/JP6071358B2/en
Publication of JP2014060499A publication Critical patent/JP2014060499A/en
Application granted granted Critical
Publication of JP6071358B2 publication Critical patent/JP6071358B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device capable of solving problems caused when a plurality of still image files are associated with one video file, for example.SOLUTION: An image processing device comprises: specifying means that specifies a video file corresponding to a specified still image file among still image files; display control means that displays an image of video data of the specified video file on display means; and control means that performs control so as to select the specified still image file in response to the end of reproduction of the video data of the specified video file.

Description

本発明は、画像処理装置、画像処理方法、プログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program.

従来、画像処理装置として、動画の記録や再生が可能な撮像装置が知られている。これらの撮像装置には、たとえば特許文献1のように、動画撮影中の静止画撮影の指示に応じて、動画ファイルと静止画ファイルを再生し、関連づけ情報を記録することができる撮像装置が登場してきている。特許文献1の撮像装置は、静止画ファイルの静止画を表示しているときに、関連づけられた動画ファイルがある場合には、関連づけられた動画ファイルを再生することができる。   Conventionally, as an image processing apparatus, an imaging apparatus capable of recording and reproducing a moving image is known. In these imaging apparatuses, for example, as disclosed in Patent Document 1, an imaging apparatus capable of reproducing a moving image file and a still image file and recording association information in response to a still image shooting instruction during moving image shooting appears. Have been doing. When an image capturing apparatus disclosed in Patent Document 1 displays a still image of a still image file and there is an associated moving image file, the associated moving image file can be reproduced.

特開2002−300445号公報JP 2002-300445 A

しかし、特許文献1に開示された撮像装置においては、静止画ファイルと動画ファイルとが1対1に関連づけられており、例えば動画ファイル1つに対して、複数の静止画ファイルが関連づけられているものではなかった。   However, in the imaging device disclosed in Patent Document 1, a still image file and a moving image file are associated one-to-one, and for example, a plurality of still image files are associated with one moving image file. It was not a thing.

そこで、本発明は、例えば動画ファイル1つに対して、複数の静止画ファイルが関連づけられている場合に生じる問題を解決することができる画像処理装置を提供することを目的とする。   Therefore, an object of the present invention is to provide an image processing apparatus that can solve a problem that occurs when, for example, a plurality of still image files are associated with one moving image file.

このような目的を達成するために、本発明の画像処理装置は、複数のシーンから構成される動画データを含む動画ファイルと、各シーンに対応する静止画ファイルとを記録媒体から再生する再生手段と、前記静止画ファイルのうち指定された静止画ファイルに対応する動画ファイルを特定する特定手段と、前記特定された動画ファイルの動画データの画像を表示手段に表示する表示制御手段と、前記特定された動画ファイルの動画データの再生が終了したことに応じて、前記指定された静止画ファイルを選択するように制御する制御手段とを有することを特徴とする。   In order to achieve such an object, the image processing apparatus of the present invention reproduces a moving image file including moving image data composed of a plurality of scenes and a still image file corresponding to each scene from a recording medium. Specifying means for specifying a moving image file corresponding to a specified still image file among the still image files, display control means for displaying an image of moving image data of the specified moving image file on a display means, and the specifying Control means for controlling to select the designated still image file in response to the end of the reproduction of the moving image data of the specified moving image file.

本発明によれば、例えば動画ファイル1つに対して、複数の静止画ファイルが関連づけられている場合に生じる問題を解決することができる。   According to the present invention, for example, it is possible to solve a problem that occurs when a plurality of still image files are associated with one moving image file.

本実施例の撮像装置の構成を示す図である。It is a figure which shows the structure of the imaging device of a present Example. ダイジェストムービーモードの撮像装置の制御を示すフロー図である。It is a flowchart which shows control of the imaging device of digest movie mode. ダイジェストムービーモードで記録される静止画ファイル、動画ファイルの状態を説明するための図である。It is a figure for demonstrating the state of the still image file recorded by digest movie mode, and a moving image file. 本実施例の動画ファイルのフォーマットを示す図である。It is a figure which shows the format of the moving image file of a present Example. 本実施例の画像ファイルの情報を示す図である。It is a figure which shows the information of the image file of a present Example. 本実施例の再生モードにおける動作フローを示す図である。It is a figure which shows the operation | movement flow in the reproduction | regeneration mode of a present Example. 本実施例の再生モードにおける動作フローを示す図である。It is a figure which shows the operation | movement flow in the reproduction | regeneration mode of a present Example. 本実施例の再生モードにおける動作フローを示す図である。It is a figure which shows the operation | movement flow in the reproduction | regeneration mode of a present Example. 本実施例の再生モードにおける動作フローを示す図である。It is a figure which shows the operation | movement flow in the reproduction | regeneration mode of a present Example.

以下、図面を参照して本発明の実施例を詳細に説明するが、この発明は以下の実施の形態に限定されない。なお、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Hereinafter, examples of the present invention will be described in detail with reference to the drawings. However, the present invention is not limited to the following embodiments. The following embodiments do not limit the invention according to the claims, and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention.

なお、本実施例において説明される各機能ブロックは必ずしも個別のハードウェアである必要はない。すなわち、例えばいくつかの機能ブロックの機能は、1つのハードウェアにより実行されても良い。また、いくつかのハードウェアの連係動作により1つの機能ブロックの機能または、複数の機能ブロックの機能が実行されても良い。   Note that each functional block described in the present embodiment is not necessarily separate hardware. That is, for example, the functions of some functional blocks may be executed by one piece of hardware. In addition, the function of one functional block or the functions of a plurality of functional blocks may be executed by some hardware linked operations.

(実施例1)
本実施例では、画像処理装置として撮像装置を例にとって説明する。
Example 1
In this embodiment, an image pickup apparatus will be described as an example of the image processing apparatus.

本実施例の撮像装置100は、通常の「動画撮影モード」においては、1回の動画撮影の開始から終了までに撮影された動画データを1つのファイルとして記録媒体に記録することができる。また、通常の「静止画撮影モード」においては、1回の撮影指示に応じて撮影された静止画データを1つのファイルとして記録媒体に記録することができる。さらに、本実施例の撮像装置は、「ダイジェストムービーモード」を有する。この「ダイジェストムービーモード」では、静止画撮影の指示に応じて、撮影された静止画データを記録媒体に記録するだけでなく、静止画撮影の指示が入力されるまでに撮影された所定時間分の動画データを動画ファイルとして記録媒体に記録することができる。動画データについては、撮像装置に備えられたメモリに、エンコードした状態で一時的に記憶しておく。   In the normal “moving image shooting mode”, the image pickup apparatus 100 of the present embodiment can record moving image data shot from the start to the end of one moving image shooting as a single file on a recording medium. In the normal “still image shooting mode”, still image data shot in response to one shooting instruction can be recorded on a recording medium as one file. Furthermore, the imaging apparatus of the present embodiment has a “digest movie mode”. In this “digest movie mode”, not only the recorded still image data is recorded on the recording medium in response to the still image shooting instruction, but also for a predetermined time period until the still image shooting instruction is input. The moving image data can be recorded on a recording medium as a moving image file. The moving image data is temporarily stored in an encoded state in a memory provided in the imaging apparatus.

また、「ダイジェストムービーモード」においては、たとえば、同一日付に撮影された動画データをすべて連結した一つの動画データを作成し、記録媒体に記録することができる。この場合には、記録媒体に既に記録されている動画ファイルの動画データに対して、新規に撮影された動画データを静止画撮影の指示のあるごとに連結(追記)していく。また、連結されるたびに、各静止画撮影に対応する動画データを一つのチャプタに対応するものとして取り扱う。そのために、動画ファイルにはチャプタを示すためのチャプタデータが記録されることになる。また、チャプタデータには、静止画撮影の行われたタイミングを示す時間情報が記録されている。   Further, in the “digest movie mode”, for example, one moving image data obtained by connecting all moving image data shot on the same date can be created and recorded on a recording medium. In this case, the newly captured moving image data is connected (added) to the moving image data of the moving image file already recorded on the recording medium every time a still image shooting instruction is given. In addition, each time they are connected, moving image data corresponding to each still image shooting is handled as corresponding to one chapter. Therefore, chapter data for indicating a chapter is recorded in the moving image file. Further, in the chapter data, time information indicating the timing at which the still image shooting is performed is recorded.

撮像装置100は、「ダイジェストムービーモード」にモードが遷移すると、撮像部により得られた複数の画像を動画の各フレーム画像とした符号化動画データを作成し、メモリに順次記憶していく。所定時間以上過去の動画データについては、メモリ上で破棄または、上書きする。そして、静止画撮影の指示が入力されると、撮像部により得られた画像信号に基づいて、静止画データを作成し、記録媒体に記録する。このとき、それまでメモリに記憶していた所定時間分の動画データを動画ファイルとして記録媒体に記録するのである。記録媒体に既に記録されている動画ファイル(既存動画ファイル)の動画データに、この所定時間分の動画データを連結する場合には、メモリに一時的に記憶されている所定時間分の動画データを記録媒体に先に記録する。そして、その後、既存動画ファイルの動画データを解析し、連結位置を特定してから動画データの連結編集を行う。なお、本実施例の撮像装置100は、静止画撮影の指示に対応する動画をそれぞれ別々のチャプタとして区別するために、チャプタ情報を動画ファイルに格納する。このとき、チャプタデータには、静止画撮影の行われたタイミングを示す時間情報をテキストデータとして記載する。   When the mode transitions to the “digest movie mode”, the imaging apparatus 100 creates encoded moving image data in which a plurality of images obtained by the imaging unit are frame images of a moving image, and sequentially stores them in the memory. The past moving image data for a predetermined time or more is discarded or overwritten on the memory. When a still image shooting instruction is input, still image data is created based on the image signal obtained by the imaging unit and recorded on a recording medium. At this time, the moving image data for a predetermined time stored in the memory until then is recorded on the recording medium as a moving image file. When the video data for the predetermined time is connected to the video data of the video file (existing video file) already recorded on the recording medium, the video data for the predetermined time temporarily stored in the memory is stored. First record on the recording medium. After that, the moving image data of the existing moving image file is analyzed, and the connection position is specified, and then the moving image data is linked and edited. Note that the imaging apparatus 100 according to the present embodiment stores chapter information in a moving image file in order to distinguish moving images corresponding to still image shooting instructions as separate chapters. At this time, in the chapter data, time information indicating the timing at which the still image shooting is performed is described as text data.

また、本実施例の撮像装置100は、再生モードにおいて、「ダイジェストムービーモード」で記録された動画ファイルと静止画ファイルとを互いに関連づけることができる。しかも、静止画ファイルを再生しているときに、関連している動画ファイルを再生し、再生終了後に、再生していた静止画ファイルを再表示することができる。   The imaging apparatus 100 according to the present embodiment can associate a moving image file and a still image file recorded in the “digest movie mode” with each other in the reproduction mode. In addition, when a still image file is being played back, a related moving image file can be played back, and the played back still image file can be displayed again after the playback ends.

以下、このような撮像装置について、説明する。   Hereinafter, such an imaging apparatus will be described.

まず、図1を用いて本実施例の撮像装置100の全体構成を説明する。   First, the overall configuration of the imaging apparatus 100 of the present embodiment will be described with reference to FIG.

本実施例の撮像装置100は、図1に示すように、CPU101と、RAM102と、ROM103と、操作部104とを有する。また、撮像装置100は、撮像部110と、画像処理部111と、マイクユニット120と、音声処理部121と、スピーカユニット122とを有する。また、撮像装置100は、符号化復号化処理部130と、表示部140と、表示制御部141と、記録再生部150と、記録媒体151と、通信部160とを有する。   As illustrated in FIG. 1, the imaging apparatus 100 according to the present exemplary embodiment includes a CPU 101, a RAM 102, a ROM 103, and an operation unit 104. The imaging apparatus 100 includes an imaging unit 110, an image processing unit 111, a microphone unit 120, an audio processing unit 121, and a speaker unit 122. In addition, the imaging apparatus 100 includes an encoding / decoding processing unit 130, a display unit 140, a display control unit 141, a recording / playback unit 150, a recording medium 151, and a communication unit 160.

なお、CPUは、Central Processing Unitの略称である。RAMは、Random Access Memoryの略称である。   CPU is an abbreviation for Central Processing Unit. RAM is an abbreviation for Random Access Memory.

本実施例の撮像装置100において、CPU101は、RAM102をワークメモリとしてROM103に記録された各種プログラムをRAM102に展開し、プログラムに応じて撮像装置100の各ブロックを制御する。操作部104は、例えば、電源ボタン、記録ボタン、ズーム調整ボタン、オートフォーカスボタン、メニュー表示ボタン、モード切替スイッチ、決定ボタン等の各種操作を入力するスイッチ類を有する。また、カーソルキー、ポインティングデバイス、タッチパネル、ダイヤル等のどのようなタイプの操作子であってもよい。操作部104は、ユーザによりこれらのキーやボタン、タッチパネルが操作されるとCPU101に操作信号を送信する。操作部104の各操作部材は、表示部に表示される種々の機能アイコンを選択操作することなどにより、場面ごとに適宜機能が割り当てられ、各種機能ボタンとして作用する。機能ボタンとしては、例えば終了ボタン、戻るボタン、画像送りボタン、ジャンプボタン、絞込みボタン、属性変更ボタン等がある。例えば、メニューボタンが押されると各種の設定可能なメニュー画面が表示部に表示される。利用者は、表示部に表示されたメニュー画面と、上下左右の4方向ボタンやSETボタンとを用いて直感的に各種設定を行うことができる。なお、操作部104は、表示部に対する接触を検知可能なタッチパネルであってもよい。タッチパネルは、抵抗膜方式や静電容量方式、表面弾性波方式、赤外線方式、電磁誘導方式、画像認識方式、光センサ方式等、様々な方式のタッチパネルのうちいずれの方式のものを用いても良い。   In the imaging apparatus 100 according to the present exemplary embodiment, the CPU 101 develops various programs recorded in the ROM 103 using the RAM 102 as a work memory, and controls each block of the imaging apparatus 100 according to the program. The operation unit 104 includes switches for inputting various operations such as a power button, a record button, a zoom adjustment button, an autofocus button, a menu display button, a mode switch, and a determination button. Further, any type of operation element such as a cursor key, a pointing device, a touch panel, and a dial may be used. The operation unit 104 transmits an operation signal to the CPU 101 when these keys, buttons, and touch panel are operated by the user. Each operation member of the operation unit 104 is appropriately assigned a function for each scene by selecting and operating various function icons displayed on the display unit, and functions as various function buttons. Examples of the function buttons include an end button, a return button, an image advance button, a jump button, a narrowing button, and an attribute change button. For example, when a menu button is pressed, various setting menu screens are displayed on the display unit. The user can make various settings intuitively using the menu screen displayed on the display unit, and the four-way buttons and the SET button. Note that the operation unit 104 may be a touch panel that can detect contact with the display unit. The touch panel may be any of various types of touch panels such as a resistive film method, a capacitance method, a surface acoustic wave method, an infrared method, an electromagnetic induction method, an image recognition method, and an optical sensor method. .

撮像部110は、レンズにより取り込まれた被写体の光学像を、絞りにより光量を制御して、CCDセンサやCMOSセンサ等の撮像素子により画像信号に変換し、得られたアナログ画像信号をデジタル画像信号に変換して一時的にRAM102に記憶する。RAM102に記憶されたデジタル画像信号は、その後、画像処理部111に送信される。画像処理部111は、デジタル画像信号のホワイトバランスや色、明るさなどをユーザに設定された設定値や画像の特性から自動的に判定した設定値に基づいて調整する画質調整処理を行い、処理をしたデジタル画像信号を再びRAM102に記憶する。また、画質調整処理済みまたは未処理のデジタル画像信号を、後述の表示制御部141に送信し、表示部140に撮像中の画像として表示することもできる。また、再生時においては、画像処理部111は、記録媒体151から記録再生部150によって読出され、符号化復号化処理部130において復号化された静止画ファイルや動画ファイルに含まれる画像データの画質調整等を行う。そして、画質調整済みまたは未処理のデジタル画像信号を、後述の表示制御部141に送信し、表示部140に画像として表示することもできる。   The imaging unit 110 converts an optical image of a subject captured by a lens into an image signal using an imaging element such as a CCD sensor or a CMOS sensor by controlling a light amount by a diaphragm, and converts the obtained analog image signal into a digital image signal. And temporarily stored in the RAM 102. The digital image signal stored in the RAM 102 is then transmitted to the image processing unit 111. The image processing unit 111 performs an image quality adjustment process for adjusting the white balance, color, brightness, and the like of the digital image signal based on a setting value set by the user or a setting value automatically determined from the characteristics of the image. The digital image signal that has been processed is stored in the RAM 102 again. In addition, a digital image signal that has undergone image quality adjustment processing or an unprocessed digital image signal can be transmitted to a display control unit 141 described later and displayed on the display unit 140 as an image being captured. At the time of reproduction, the image processing unit 111 reads the image quality of the image data included in the still image file or the moving image file read from the recording medium 151 by the recording / reproducing unit 150 and decoded by the encoding / decoding processing unit 130. Make adjustments. Then, an image quality adjusted or unprocessed digital image signal can be transmitted to a display control unit 141 described later and displayed on the display unit 140 as an image.

符号化復号化処理部130では、記録時においては、画像処理部111により処理されRAM102に記憶されたデジタル画像信号に対して、画像圧縮処理を行い、圧縮された動画データや静止画データを生成し、RAM102に一時的に記憶する処理を行う。また、再生時においては、記録媒体151から読出された画像ファイルの圧縮された動画データや静止画データを復号してデジタル画像信号を抽出し、RAM102に記憶していく処理を行う。   At the time of recording, the encoding / decoding processing unit 130 performs image compression processing on the digital image signal processed by the image processing unit 111 and stored in the RAM 102 to generate compressed moving image data and still image data. Then, a process of temporarily storing in the RAM 102 is performed. Further, at the time of reproduction, a process is performed in which the compressed moving image data and still image data of the image file read from the recording medium 151 is decoded to extract a digital image signal and stored in the RAM 102.

たとえば、動画データを生成する際は、動画データの各フレームをフレーム内符号化して圧縮符号化された動画データを生成する。また、動画データの複数のフレーム間での差分や動き予測などを利用して圧縮符号化された動画データを生成してもよい。たとえばMotionJPEG、MPEG、H.264(MPEG4−Part10 AVC)、H.265/HEVC等の様々な圧縮符号化方式の動画データを生成することができる。一般に、フレーム内符号化されたフレーム画像データをIピクチャと呼び、前方のフレームとの差分を用いてフレーム間符号化された画像データをPピクチャと呼び、前方後方のフレームとの差分を用いてフレーム間符号化された画像データをBピクチャと呼ぶ。これらの圧縮方式は、公知の方式を用いており、本発明の特徴とは関係ないので説明を省略する。また、静止画データを生成する際には、JPEG等の一般的な圧縮符号化方式を用いるが、これらの圧縮符号化方式は、公知の方式を用いており、本発明の特徴とは関係ないので説明を省略する。なお、静止画データについては、撮像部110により得られたデジタル画像信号をそのまま記録する、いわゆるRAW画像データとしてもよい。   For example, when generating moving image data, each frame of the moving image data is intra-frame encoded to generate compression-encoded moving image data. Moreover, you may produce | generate the moving image data compression-coded using the difference between several flame | frames of moving image data, a motion estimation, etc. For example, Motion JPEG, MPEG, H.264. H.264 (MPEG4-Part10 AVC), H.264. It is possible to generate moving image data of various compression encoding schemes such as H.265 / HEVC. In general, intra-frame encoded frame image data is referred to as an I picture, and inter-frame encoded image data using a difference from the front frame is referred to as a P picture, and the difference from the front and rear frames is used. The inter-frame encoded image data is called a B picture. These compression methods use well-known methods and are not related to the features of the present invention, so the description is omitted. Further, when generating still image data, a general compression encoding method such as JPEG is used, but these compression encoding methods use known methods and are not related to the features of the present invention. Therefore, explanation is omitted. The still image data may be so-called RAW image data in which the digital image signal obtained by the imaging unit 110 is recorded as it is.

マイクユニット120は、たとえば、撮像装置100のハウジング内に内蔵された無指向性のマイクとAD変換部を有する。マイクユニット120では、マイクにより周囲の音声を集音(収音)し、取得したアナログ音声信号をAD変換部で、デジタル信号に変換してRAM102に一時的に記憶させる。RAM102に記憶されたデジタル音声信号は、その後、音声処理部121に送信される。音声処理部121では、記録時においては、RAM102に記憶されたデジタル音声信号の、レベルの適正化処理や雑音低減処理等の処理を行い、処理をしたデジタル音声信号を再びRAM102に記憶する。また、必要に応じて、音声信号を圧縮する処理を行う。音声圧縮方式については、AC3、AAC等の一般的な音声圧縮方式を用いているため説明を省略する。また、再生時においては、記録媒体151から記録再生部150によって読出された音声ファイルや動画ファイルに含まれる圧縮音声データ復号する処理や音声レベルの適正化処理、なども行い、順次RAM102に記憶する処理も行う。スピーカユニット122は、スピーカとDA変換部とを有する。スピーカユニット122では、音声処理部121によりRAM102に記憶されたデジタル音声信号を読出してアナログ音声信号に変換し、アナログ音声信号によりスピーカから音声を出力する。   The microphone unit 120 includes, for example, an omnidirectional microphone built in the housing of the imaging apparatus 100 and an AD conversion unit. In the microphone unit 120, ambient sound is collected (collected) by the microphone, and the acquired analog sound signal is converted into a digital signal by the AD converter and temporarily stored in the RAM 102. The digital audio signal stored in the RAM 102 is then transmitted to the audio processing unit 121. At the time of recording, the audio processing unit 121 performs processing such as level optimization processing and noise reduction processing on the digital audio signal stored in the RAM 102, and stores the processed digital audio signal in the RAM 102 again. Moreover, the process which compresses an audio | voice signal is performed as needed. As for the audio compression method, a general audio compression method such as AC3 or AAC is used, and the description thereof will be omitted. Further, at the time of reproduction, a process for decoding the compressed audio data included in the audio file or the moving image file read from the recording medium 151 by the recording / reproducing unit 150, a process for optimizing the audio level, and the like are performed and sequentially stored in the RAM 102. Processing is also performed. The speaker unit 122 includes a speaker and a DA converter. In the speaker unit 122, the digital audio signal stored in the RAM 102 is read out by the audio processing unit 121 and converted into an analog audio signal, and audio is output from the speaker using the analog audio signal.

表示部140は、例えば、液晶パネルとバックライトとからなり、表示制御部141の制御により画像を表示する。表示部140は液晶表示装置に限られず、例えば有機ELディスプレイ、LEDディスプレイなど、ユーザに画像を提供することができればどのようなものであっても良い。表示制御部141では、画像処理部111により処理され、RAM102に記憶されたデジタル画像信号に基づいて、表示部140に画像を表示する。   The display unit 140 includes, for example, a liquid crystal panel and a backlight, and displays an image under the control of the display control unit 141. The display unit 140 is not limited to a liquid crystal display device, and may be any device that can provide an image to a user, such as an organic EL display or an LED display. The display control unit 141 displays an image on the display unit 140 based on the digital image signal processed by the image processing unit 111 and stored in the RAM 102.

記録再生部150では、動画記録時においては、RAM102に記憶されている、符号化復号化処理部130により生成された圧縮動画データ及び、音声処理部121で生成された音声データ、撮影日等の各種情報とともに、動画ファイルとして記録媒体151に書き込む。また静止画記録時においては、RAM102に記憶されている静止画データを撮影日等の各種情報とともに静止画ファイルとして記録媒体151に記録する。動画ファイルを記録媒体151に記録する際は、圧縮動画データと音声データとからなるデータストリームを形成し、順次記録媒体151に記録していき、ファイルヘッダ等を付加してFATやexFAT等のファイルフォーマットに適合した形で動画ファイルを記録媒体に記録する。また、再生時においては、記録媒体151に記録された動画ファイルや静止画ファイルを前述のファイルフォーマットに従って読出す。読出された動画ファイルや静止画ファイルは、CPU101によりヘッダが解析され、圧縮された動画データ、静止画データが抽出される。抽出された圧縮動画データ、静止画データは、RAM102に記憶されて、符号化復号化処理部130により復号される。   In the recording / reproducing unit 150, when recording a moving image, the compressed moving image data generated by the encoding / decoding processing unit 130, the audio data generated by the audio processing unit 121, the shooting date, and the like stored in the RAM 102 are stored. Along with various information, it is written in the recording medium 151 as a moving image file. At the time of recording a still image, the still image data stored in the RAM 102 is recorded on the recording medium 151 as a still image file together with various information such as the shooting date. When recording a moving image file on the recording medium 151, a data stream composed of compressed moving image data and audio data is formed and sequentially recorded on the recording medium 151, and a file header or the like is added to a file such as FAT or exFAT. Record a video file on a recording medium in a form that conforms to the format. Further, at the time of reproduction, a moving image file or a still image file recorded on the recording medium 151 is read according to the aforementioned file format. The read moving image file and still image file are analyzed for headers by the CPU 101, and compressed moving image data and still image data are extracted. The extracted compressed moving image data and still image data are stored in the RAM 102 and decoded by the encoding / decoding processing unit 130.

また、記録媒体151は、撮像装置に内蔵された記録媒体でも、取外し可能な記録媒体でもよい。例えば、ハードディスク、光ディスク、光磁気ディスク、CD−R、DVD−R、磁気テープ、不揮発性の半導体メモリ、フラッシュメモリ、などのあらゆる方式の記録媒体を含む。取り外し可能な記録媒体を用いる場合には、記録再生部150は、それらの取り外し可能な記録媒体を装着、排出するための機構を含む。   Further, the recording medium 151 may be a recording medium built in the imaging apparatus or a removable recording medium. For example, the recording medium 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. When using removable recording media, the recording / reproducing unit 150 includes a mechanism for loading and unloading the removable recording media.

また、通信部160は、撮像装置100とは異なる外部装置との間で、制御信号や動画ファイル、静止画ファイル、各種データ等を送受信するものであり、有線接続、無線接続を問わず接続可能である。なお、通信方式はどのような方式であっても良い。   The communication unit 160 transmits and receives control signals, moving image files, still image files, various data, and the like to and from an external device different from the imaging device 100, and can be connected regardless of wired connection or wireless connection. It is. Note that any communication method may be used.

ここで、前述の画像処理部111、音声処理部121、符号化復号化処理部130、表示し制御部141、記録再生部150は、それぞれ、前述の各機能を実行するプログラムを搭載したマイクロコンピュータであってもよい。また、CPU101がROM103に記録された前述の処理を実行する為のプログラムをRAM102に展開して実行するようにしてもよい。   Here, each of the image processing unit 111, the audio processing unit 121, the encoding / decoding processing unit 130, the display control unit 141, and the recording / reproducing unit 150 described above is a microcomputer in which a program for executing each of the functions described above is installed. It may be. Further, the program for executing the above-described processing recorded in the ROM 103 by the CPU 101 may be loaded into the RAM 102 and executed.

なお、本実施例の撮像装置100は、一例として、「QuickTime(登録商標)フォーマット」で動画ファイルを記録するものとするが、どのようなフォーマットであっても良い。   Note that the imaging apparatus 100 according to the present exemplary embodiment records a moving image file in the “QuickTime (registered trademark) format” as an example, but any format may be used.

なお、本実施例では記録媒体151のファイル管理システムは組み込み機器で一般的に使用されているFATファイルシステムを使用するものとして説明をする。FATファイルシステムの技術自体は広く公知であるので、本実施例の特徴的な動作でのみその説明をする。また、FATファイルフォーマットであるNTFSフォーマットやexFATフォーマットなどを用いても良い。   In this embodiment, the file management system of the recording medium 151 will be described as using a FAT file system generally used in embedded devices. Since the technology of the FAT file system itself is widely known, only the characteristic operation of this embodiment will be described. Further, the NTFS format or the exFAT format which is a FAT file format may be used.

次に、本実施例の撮像装置100の動作について説明する。   Next, the operation of the imaging apparatus 100 according to the present embodiment will be described.

本実施例の撮像装置100は、ユーザによって操作部104を操作して電源を投入する指示が出されたことに応じて、不図示の電源供給部から、撮像装置の各ブロックに電源を供給する。   The imaging apparatus 100 according to the present exemplary embodiment supplies power to each block of the imaging apparatus from a power supply unit (not illustrated) in response to an instruction to turn on the power by operating the operation unit 104 by the user. .

電源が供給されると、CPU101は、操作部104により設定されたカメラのモードが、再生モードであるか、「ダイジェストムービーモード」、静止画記録モード、動画記録モードであるかを判定する。なお、本実施例において、静止画記録モード、動画記録モードは、特徴的な構成に関わらないので説明を割愛する。   When power is supplied, the CPU 101 determines whether the camera mode set by the operation unit 104 is a playback mode, a “digest movie mode”, a still image recording mode, or a moving image recording mode. In the present embodiment, the still image recording mode and the moving image recording mode are not related to the characteristic configuration, and thus description thereof is omitted.

次に、「ダイジェストムービーモード」について、図2のフロー図を用いて説明する。図2のフロー図は、ダイジェストムービーモードに設定されたときをスタートとするフロー図であり、CPU101がRAM102に展開したプログラムに基づいて、撮像装置100の各部を制御することにより、実行される処理である。なお、本実施形態において、動画データを順次追記していくか否かは、静止画記録の指示があった後で、動画データを記録媒体151に記録する前に行うものとする。すなわち、CPU101が、記録再生部150より、最後にダイジェストムービーモードで撮影された動画ファイルを読み出して撮影された日付の情報を確認する。そして、読み出された動画ファイルが当日に撮影されたものであれば、追記するものとし、異なる日に撮影されたものであれば、追記しないものとする。ダイジェストムービーモードにおいて撮影された動画は、たとえばダイジェストムービーモードで撮影された動画であることを示すための識別子「MDG」に4桁の整数を順次数字をインクリメントしたファイル名とする。このようにすることで、記録媒体151に記録されている識別子MDGを含む数字のもっとも大きい動画が最後に撮影されたものであることが容易に識別可能である。追記するか否かの条件については後述するが、追記するか否かの確認は、撮像装置100の起動時または、ダイジェストムービーモードへの切り替え時等に行ってもよい。   Next, the “digest movie mode” will be described with reference to the flowchart of FIG. The flowchart in FIG. 2 is a flowchart that starts when the digest movie mode is set, and is executed by the CPU 101 controlling each unit of the imaging apparatus 100 based on a program developed in the RAM 102. It is. In the present embodiment, whether or not to add the moving image data sequentially is determined after recording the still image and before recording the moving image data on the recording medium 151. That is, the CPU 101 reads out the moving image file that was last shot in the digest movie mode from the recording / playback unit 150 and confirms the information on the date when the movie was shot. If the read moving image file is taken on the same day, it is added. If it is taken on a different day, it is not added. The moving image shot in the digest movie mode is, for example, a file name obtained by sequentially incrementing a 4-digit integer in an identifier “MDG” for indicating that the moving image was shot in the digest movie mode. By doing in this way, it can be easily identified that the moving image having the largest number including the identifier MDG recorded on the recording medium 151 was taken last. The conditions for whether or not to add data will be described later, but confirmation of whether or not to add data may be performed when the imaging apparatus 100 is activated or when the mode is switched to the digest movie mode.

また、本実施形態においては、サムネイル画像の生成は、静止画撮影の指示が入力される毎に生成されるものとして説明する。この場合、追記した動画ファイルには複数のサムネイル画像が関連づけられることになる。しかし、追記する場合にはサムネイル画像を生成せずに、新規に動画ファイルを生成する場合にのみ、サムネイル画像を生成するようにしても良い。   In the present embodiment, the description will be made assuming that the thumbnail image is generated every time a still image shooting instruction is input. In this case, a plurality of thumbnail images are associated with the added moving image file. However, in the case of additional recording, a thumbnail image may be generated only when a moving image file is newly generated without generating a thumbnail image.

操作部104によりダイジェストムービーモードが設定されると、CPU101は、撮像装置100の各ブロックを制御し、以下の動作を実行させる。   When the digest movie mode is set by the operation unit 104, the CPU 101 controls each block of the imaging apparatus 100 and causes the following operations to be executed.

まず、撮像部110は、得られたデジタル画像信号をRAM102に送信し、一時的に記憶させる。そうすると、表示制御部141は、RAM102に記憶されたデジタル画像信号を読み出して表示部140に表示させる。また、画像処理部111は、RAM102に記憶されたデジタル画像信号を順次読み出して、前述の各種画質調整処理を行い、処理をしたデジタル画像信号を再びRAM102に記憶する。画像処理部111は、撮像部110で画像が撮像される度にこの処理を繰り返す。   First, the imaging unit 110 transmits the obtained digital image signal to the RAM 102 and temporarily stores it. Then, the display control unit 141 reads the digital image signal stored in the RAM 102 and causes the display unit 140 to display the digital image signal. The image processing unit 111 sequentially reads out the digital image signals stored in the RAM 102, performs the above-described various image quality adjustment processes, and stores the processed digital image signals in the RAM 102 again. The image processing unit 111 repeats this process every time an image is captured by the imaging unit 110.

また、符号化復号化処理部130は、画像処理部111によって処理されたデジタル画像信号を動画データとして符号化するための符号化処理を行う(S201)。例えば、符号化処理としては、MotionJPEG、MPEG、H.264(MPEG4−Part10 AVC)、等の様々な公知の圧縮符号化方式処理がある。本実施例においては、例えば、H.264におけるフレーム内予測符号化画像を含む動画データとなるように符号化処理を行うものとする。   The encoding / decoding processing unit 130 performs an encoding process for encoding the digital image signal processed by the image processing unit 111 as moving image data (S201). For example, the encoding process includes Motion JPEG, MPEG, H.264, and so on. There are various well-known compression encoding system processes such as H.264 (MPEG4-Part10 AVC). In the present embodiment, for example, H.264. It is assumed that the encoding process is performed so that the moving image data includes an intra-frame predictive encoded image in H.264.

また、このときCPU101は音声処理部121に、マイクユニット入力されたデジタル音声信号に対して種々の調整処理を適用した後、予め設定された音声用の符号化方式に従って符号化処理を実行し、得られた符号化された音声信号をRAM102に記憶させる。   At this time, the CPU 101 applies various adjustment processes to the digital audio signal input to the microphone unit in the audio processing unit 121, and then executes the encoding process according to a preset audio encoding method. The encoded audio signal obtained is stored in the RAM 102.

そして、符号化復号化処理部130、音声処理部121は、符号化された動画データと音声データをRAM102記憶していく(S202)。以後の説明では、音声データについては説明を省略するが、動画データとともに処理されるものとする。   Then, the encoding / decoding processing unit 130 and the audio processing unit 121 store the encoded moving image data and audio data in the RAM 102 (S202). In the following description, although explanation of audio data is omitted, it is assumed that it is processed together with moving image data.

本実施形態の撮像装置100においては、RAM102には、常に直前の予め定められた時間分の動画データが記憶されるようにRAM102に記憶されている動画データのうち、予め定められた時間より前に撮像された動画データを削除するようにしている。そのため、CPU101は、所定時間分以上の動画データがRAM102に記憶されたか否かを判定し(S203)、所定時間以上記憶されている場合(S203で、Yes)、所定時間よりも過去の時点で撮影された画像を示す動画データを破棄するようにしている。削除するデータのサイズは符号化単位で規定されるため、符号化方式によっては当該削除するデータのサイズをフレームまたは再生時間として決定することもできる。また、所定時間以上記憶されていない場合(S203で、No)、動画データの破棄を行わない。本実施例では所定時間は任意の時間であってよいが、例えば4秒、6秒、8秒など、ユーザが選択できるようにしても良い。そして、CPU101は、静止画撮影の指示が操作入力部112から入力されたか否かを判定し(S205)、静止画撮影の指示が入力されていない場合(S205でNo)、再びS201に戻り、動画データの生成処理、一時記憶を継続する。   In the imaging apparatus 100 according to the present embodiment, the RAM 102 always stores the moving image data for the predetermined time immediately before the predetermined time among the moving image data stored in the RAM 102 so that the moving image data for the predetermined time is stored. The moving image data picked up at the time is deleted. For this reason, the CPU 101 determines whether or not moving image data for a predetermined time or more has been stored in the RAM 102 (S203), and if it has been stored for a predetermined time or longer (Yes in S203), at a point in time that is earlier than the predetermined time. The moving image data indicating the photographed image is discarded. Since the size of the data to be deleted is defined in encoding units, the size of the data to be deleted can be determined as a frame or a reproduction time depending on the encoding method. In addition, when it is not stored for a predetermined time or longer (No in S203), the moving image data is not discarded. In the present embodiment, the predetermined time may be any time, but may be selected by the user, for example, 4 seconds, 6 seconds, 8 seconds, or the like. Then, the CPU 101 determines whether or not a still image shooting instruction is input from the operation input unit 112 (S205). If a still image shooting instruction is not input (No in S205), the process returns to S201 again. The generation processing and temporary storage of moving image data are continued.

なお、本実施形態では常に直前の予め定められた時間分の動画データがRAM102には記憶されるものとして説明するが、本発明の実施はこれに限らない。即ち、RAM102に記憶される動画データのサイズは定量可能なものであればよく、例えばフレーム数、GOP数(Group Of Pictures)、データサイズ等で規定される、予め定められた量であってよい。つまり、RAM102に記憶されている動画データは、当該動画データのサイズが予め定められたサイズ以上となった場合に、当該予め定められたサイズ未満のサイズとなるまで、動画データのフレームのうちの撮影時刻が古いフレームから順に削除されるようにしてもよい。   In the present embodiment, it is assumed that moving image data for a predetermined time immediately before is always stored in the RAM 102, but the present invention is not limited to this. That is, the size of the moving image data stored in the RAM 102 may be anything that can be quantified, and may be a predetermined amount defined by, for example, the number of frames, the number of GOPs (Group Of Pictures), the data size, and the like. . In other words, when the moving image data stored in the RAM 102 is larger than the predetermined size, the moving image data is stored in the frames of the moving image data until the size becomes less than the predetermined size. The shooting time may be deleted in order from the oldest frame.

ここで、静止画撮影の指示が入力された場合(S205でYes)、CPU101は、記録媒体151の記録可能容量をチェックするように記録再生部150を制御し、RAM102に一時的に記憶されている動画データの記録が可能であるか否かを判定しても良い。この判定は、RAM102に一時的に記憶されている動画データのサイズと、記録する静止画データの見込みサイズとの和が、記録媒体151の記録可能容量よりも小さいか否かを比較することにより判定される。静止画データの見込みサイズはたとえば4MBとしても良いし、記録サイズや画質等に応じて変更してもよい。   When a still image shooting instruction is input (Yes in S205), the CPU 101 controls the recording / playback unit 150 to check the recordable capacity of the recording medium 151, and is temporarily stored in the RAM 102. It may be determined whether or not the moving image data can be recorded. This determination is made by comparing whether the sum of the size of the moving image data temporarily stored in the RAM 102 and the expected size of the still image data to be recorded is smaller than the recordable capacity of the recording medium 151. Determined. The expected size of the still image data may be 4 MB, for example, or may be changed according to the recording size, image quality, or the like.

この判定により、動画データと、静止画データとを記録媒体151に記録できない場合には、静止画撮影のみを行い、動画データを記録しないようにしても良い。   If it is determined that the moving image data and the still image data cannot be recorded on the recording medium 151, only the still image shooting may be performed and the moving image data may not be recorded.

また、S205で静止画撮影の指示が入力されたときに、RAM102に例えば1秒未満や2秒未満等の短い時間分の動画データしか記憶されていない場合には、静止画撮影の指示を無効とするようにしても良い。この時間もユーザ画設定できるようにしても良い。   Also, when a still image shooting instruction is input in S205, if only a short amount of moving image data such as less than 1 second or less than 2 seconds is stored in the RAM 102, the still image shooting instruction is invalidated. You may make it. You may enable it to set a user image also during this time.

次に、静止画撮影の指示が入力された場合(S205でYes)、CPU101は、撮像部110に静止画データ用の撮影を実行させる(S210)。CPU101は、このとき並行して符号化復号化処理部130に、RAM102に記憶されている動画データの先頭フレームの画像を復号させ、サムネイル画像生成処理を実行させる(S211)。なお、本実施形態では記録される動画データのサムネイル画像は先頭フレームの画像から生成されるものとして説明するが、本発明の実施はこれに限らず、記録される動画データのフレームのうちのいずれかのフレームの画像から生成されればよい。すなわち、静止画撮影の指示があったときに、RAM102に記憶されている動画データのいずれかのフレームを用いたサムネイル画像が生成されればよい。このようにすることで、一度動画データの記録媒体へのファイル記録が終了してから、記録媒体から動画ファイルを読み出したりすることなく、動画データのサムネイルを生成することができるので、処理が早くなる。なお、静止画の撮影指示がなされたと判断した場合、CPU101は更なる静止画の撮影指示がなされても、指示を受け付けないよう制御する。   Next, when a still image shooting instruction is input (Yes in S205), the CPU 101 causes the imaging unit 110 to perform shooting for still image data (S210). At this time, the CPU 101 causes the encoding / decoding processing unit 130 to decode the image of the first frame of the moving image data stored in the RAM 102 and execute the thumbnail image generation processing (S211). In this embodiment, the thumbnail image of the moving image data to be recorded is described as being generated from the image of the first frame. However, the present invention is not limited to this, and any of the frames of the moving image data to be recorded is used. It may be generated from an image of such a frame. That is, a thumbnail image using any frame of the moving image data stored in the RAM 102 may be generated when a still image shooting instruction is given. In this way, it is possible to generate a thumbnail of the moving image data without reading the moving image file from the recording medium after the file recording of the moving image data to the recording medium is finished once, so that the processing is quick. Become. If it is determined that a still image shooting instruction has been issued, the CPU 101 performs control so that the instruction is not accepted even if a still image shooting instruction is issued.

次に、CPU101は、符号化復号化処理部130によるサムネイル画像生成処理が完了したか否かを判定し(S212)、処理が完了している場合には、次に、S210で撮影されたデジタル画像信号を静止画データとするべく、画像処理部111に現像処理を、符号化復号化処理部130に符号化処理を順次実行させる(S220)。このとき、CPU101は並行して、サムネイル生成処理で生成されたサムネイル画像をRAM102に一時記憶されている符号化済みの動画データのヘッダ情報に含めて、記録媒体151に記録するように記録再生宇150を制御する(S221)。ここで、静止画の現像処理(S220)とは、撮影時に各画素に対してその周辺画素から足りない色情報を集め与えることで色情報を補完し、フルカラー画像を作り出す「デモザイク」処理等を含む処理で、このほかに、ガンマ補正、ホワイトバランス調整などの処理を含んでも良い。   Next, the CPU 101 determines whether or not the thumbnail image generation processing by the encoding / decoding processing unit 130 has been completed (S212). If the processing has been completed, next, the digital image captured in S210 is determined. In order to convert the image signal into still image data, the image processing unit 111 sequentially executes development processing and the encoding / decoding processing unit 130 sequentially executes encoding processing (S220). At this time, in parallel, the CPU 101 includes the thumbnail image generated by the thumbnail generation process in the header information of the encoded moving image data temporarily stored in the RAM 102 and records it on the recording medium 151. 150 is controlled (S221). Here, the still image development process (S220) is a “demosaic” process for creating a full-color image by complementing color information by collecting and giving missing color information from its surrounding pixels to each pixel during shooting. In addition to this, processing such as gamma correction and white balance adjustment may be included.

CPU101は、前述した現像処理が終了すると、現像したデジタル画像データを再びRAM102に記憶させ、表示制御部141に読み出させて、表示部140に表示させる。これは、一般にデジタルカメラで撮影を行った直後に表示部140に、撮影画像を表示させる、所謂「レックレビュー」表示である。ちなみに、静止画撮影の指示がなされてから静止画の現像処理が終了するまでの間、表示部140には、何の画像も表示されておらず、黒画像が表示されている。また、代わりに「処理中」などの状態をユーザに提示するための表示をさせても良い。   When the above-described development processing is completed, the CPU 101 stores the developed digital image data in the RAM 102 again, causes the display control unit 141 to read it, and causes the display unit 140 to display it. This is a so-called “rec review” display in which a photographed image is displayed on the display unit 140 immediately after photographing with a digital camera. Incidentally, no image is displayed on the display unit 140 and a black image is displayed until the still image development process is completed after an instruction to shoot a still image is given. Alternatively, a display for presenting a status such as “processing” to the user may be displayed.

また、現像処理が終了すると、CPU101は、予め設定された静止画記録用の符号化方式に従って符号化復号化処理部130に符号化処理を実行させる。次にCPU101は、静止画の現像処理、符号化処理が終了したか否かを判定する(S222)。静止画の符号化処理が終了したと判定すると、(S222でYes)、CPU101は、生成された静止画データを記録再生部150に送り、記録媒体151に記録させる(S223)。そして、ユーザが操作入力部102を操作してダイジェストムービーモードを抜ける指示をしていないかぎり(S224でNo)、CPU101は、静止画の記録と並行して、動画の撮影、符号化処理(S201)を開始する。このとき、CPU101は、表示制御部141に、RAM102に記憶されたデジタル画像信号を読み出させ、再びスルー画像を表示部140に表示させる。   When the development process is completed, the CPU 101 causes the encoding / decoding processing unit 130 to execute the encoding process according to a preset encoding method for still image recording. Next, the CPU 101 determines whether or not the still image development process and the encoding process have been completed (S222). If it is determined that the still image encoding process has been completed (Yes in S222), the CPU 101 sends the generated still image data to the recording / playback unit 150 to be recorded on the recording medium 151 (S223). Then, unless the user operates the operation input unit 102 to give an instruction to exit the digest movie mode (No in S224), the CPU 101 captures and encodes a moving image in parallel with recording a still image (S201). ). At this time, the CPU 101 causes the display control unit 141 to read out the digital image signal stored in the RAM 102 and displays the through image on the display unit 140 again.

以上のように、本実施例の撮像装置100は、「ダイジェストムービーモード」において、動画ファイルと、静止画ファイルを記録する。   As described above, the imaging apparatus 100 according to the present exemplary embodiment records a moving image file and a still image file in the “digest movie mode”.

ここで、本実施例の「ダイジェストムービーモード」において、記録媒体151に既に記録されている動画ファイル(既存動画ファイル)の動画データに対して、新たに撮影された動画データ(新規動画データ)を連結(追記)する場合の例について説明する。たとえば、既存動画ファイルの記録された日付と、新規動画データの取得した日付(撮影時点でのカメラの日付設定でも良い)とが同じ場合には、動画データを連結するものとすると、図3に示すように記録される。図3は、撮影タイミングと、動画ファイル、静止画ファイルの記録状態を示すものである。   Here, in the “digest movie mode” of the present embodiment, the newly captured video data (new video data) is added to the video data of the video file (existing video file) already recorded on the recording medium 151. An example of connection (additional writing) will be described. For example, if the date when the existing video file was recorded and the date when the new video data was acquired (the camera date setting at the time of shooting may be the same), the video data should be concatenated as shown in FIG. Recorded as shown. FIG. 3 shows the shooting timing and the recording state of the moving image file and the still image file.

同一の撮影日を有する静止画ファイルP1、P2、及びP3は記録媒体151の1つのフォルダ(同一フォルダ内)に記録され、各静止画の撮影直前にRAM102に記憶された動画データは同じフォルダに1つの連結された動画ファイルとして記録される。また、静止画ファイルP1からP3とは異なる撮影日を有するP4及びP5は、静止画ファイルP1が記録されたフォルダとは異なるフォルダに記録されるものとする。このとき、静止画ファイルP4の撮影直前にRAM102に記憶された動画データが、当該動画データの途中で撮影日が変更された場合であっても、静止画ファイルP4の撮影日と同一のフォルダに記録されるように制御するものとする。すなわち、撮影指示の入力されたタイミングの日付情報によって、動画データを連結するか新規に保存するかのいずれかを決定することにもなる。   Still image files P1, P2, and P3 having the same shooting date are recorded in one folder (in the same folder) of the recording medium 151, and the moving image data stored in the RAM 102 immediately before shooting each still image is stored in the same folder. It is recorded as one linked moving image file. Further, P4 and P5 having shooting dates different from those of the still image files P1 to P3 are recorded in a folder different from the folder in which the still image file P1 is recorded. At this time, the moving image data stored in the RAM 102 immediately before shooting the still image file P4 is stored in the same folder as the shooting date of the still image file P4 even if the shooting date is changed in the middle of the moving image data. It shall be controlled to be recorded. That is, it is determined whether to link the moving image data or to newly save the moving image data, based on the date information at the timing when the shooting instruction is input.

また、本実施形態では、静止画撮影の指示が入力される毎に、動画データに対応するサムネイル画像を生成するものとして説明したが、たとえばP1の静止画データの撮影時に生成される動画データM1に対応するサムネイルは生成し、追記されるM2、M3の動画データのサムネイル画像を生成しないようにしても良い。このようにすると、動画ファイル1つについて、サムネイル画像を1つとすることができる。   Further, in the present embodiment, it has been described that a thumbnail image corresponding to moving image data is generated every time a still image shooting instruction is input. However, for example, moving image data M1 generated at the time of shooting P1 still image data. The thumbnails corresponding to may be generated, and the thumbnail images of the M2 and M3 moving image data to be added may not be generated. In this way, it is possible to have one thumbnail image for each moving image file.

次に、記録媒体151に記録される動画ファイルのファイルフォーマットについて説明する。図4は、本実施例の動画のファイルフォーマットを説明するための図である。   Next, the file format of the moving image file recorded on the recording medium 151 will be described. FIG. 4 is a diagram for explaining the file format of the moving image according to the present embodiment.

本実施例において、動画ファイルはMOVフォーマットで記録されている。なおMOVフォーマットでは、ファイルに記録されるデータは「アトム」と呼ばれるデータ構造の内部に記述され、アトムを単位としてファイルに記録される。各アトムはそれぞれ、「Sizeフィールド」、「Typeフィールド」を有する。「Sizeフィールド」は、Sizeフィールドを含む、アトム全体のデータサイズを表す4バイトのフィールドである。「Typeフィールド」は、アトムの種類を表す4バイトのタイプ識別子のフィールドである。なお、各アトムにおいて「Typeフィールド」以降のフィールドはアトムによってはオプションであるため、ここでは説明を省略する。また、アトム内に他のアトムを包含することが可能であり、それにより入れ子構造を実現している。MOVフォーマットで記録された動画ファイルは、図6に示すような構造で各アトムを格納している。   In this embodiment, the moving image file is recorded in the MOV format. In the MOV format, data recorded in a file is described in a data structure called “Atom” and recorded in the file in units of atoms. Each atom has a “Size field” and a “Type field”. The “Size field” is a 4-byte field that represents the data size of the entire atom including the Size field. The “Type field” is a 4-byte type identifier field indicating the kind of atom. In each atom, the fields after the “Type field” are optional depending on the atom, and the description thereof is omitted here. Further, it is possible to include other atoms in the atom, thereby realizing a nested structure. The moving image file recorded in the MOV format stores each atom in a structure as shown in FIG.

図4に示すように、MOVフォーマットの動画ファイルは、以下のアトムを有する。
ファイルの種別を表す、ftyp(ファイルタイプアトム)701。後述のmvhd(ムービーヘッダアトム)706やtrak(トラックアトム)707、708、709などを含む、音声や映像に関する情報を格納した、moov(ムービーアトム)702。音声や映像、テキストなどの実データが格納した、mdat(ムービーデータアトム)703。
As shown in FIG. 4, a moving image file in the MOV format has the following atoms.
Ftyp (file type atom) 701 representing the type of file. A moov (movie atom) 702 that stores information about audio and video, including mvhd (movie header atom) 706 and trak (track atom) 707, 708, 709, which will be described later. Mdat (movie data atom) 703 that stores actual data such as voice, video, and text.

また、moov(ムービーアトム)702には、以下のアトムが格納される。
任意のデータが格納された、udta(ユーザーデータアトム)704。撮像装置100のモデル名や通信部152で受信した撮像装置100の位置情報やUTC時刻などのメタデータが格納された、meta(メタデータアトム)705。動画の作成日時や修正日時、タイムスケール、Duraionなどが格納された、mvhd(ムービーヘッダアトム)706。映像用のtrak(トラックアトム)707。音声用のtrak(トラックアトム)708。テキスト用のtrak(トラックアトム)709。
The moov (movie atom) 702 stores the following atoms.
Udta (user data atom) 704 in which arbitrary data is stored. A meta (metadata atom) 705 in which metadata such as the model name of the image capturing apparatus 100, position information of the image capturing apparatus 100 received by the communication unit 152, and UTC time are stored. An mvhd (movie header atom) 706 that stores the creation date / time, modification date / time, time scale, duration, etc. of the movie. Trak (track atom) 707 for video. An audio trak (track atom) 708. A trak (track atom) 709 for text.

さらに、各trak(トラックアトム)707〜709には、以下のアトムが格納される。
そのトラックの作成日時やDuration(後述のチャンク内の各サンプルの間の時間的間隔)、そしてIDなどが格納した、tkhd(トラックヘッダアトム)710。なお、本実施例では、映像トラックのIDは1、音声トラックのIDは2、テキストトラックのIDは3、とする。トラック間の参照情報を格納したtref711。本実施例では、映像トラックがテキストトラックをチャプタとして参照するため、映像用のtref711には、テキストトラックのIDである3が記載され、それをチャプタとして参照するため、識別子として‘chap’と記載されている。音声トラックにおいても、も同様である。本実施例では、テキストトラックにはtrefは存在しなくて良い。
Further, the following atoms are stored in each trak (track atom) 707 to 709.
A tkhd (track header atom) 710 in which the creation date and time of the track, Duration (time interval between samples in a chunk to be described later), ID, and the like are stored. In this embodiment, the video track ID is 1, the audio track ID is 2, and the text track ID is 3. Tref 711 storing reference information between tracks. In the present embodiment, since the video track refers to the text track as a chapter, the video tref 711 describes 3 as the ID of the text track, and in order to refer to it as a chapter, describes “chap” as an identifier. Has been. The same applies to the audio track. In this embodiment, tref does not have to exist in the text track.

また、各trak(トラックアトム)707〜709には、以下のアトムも格納される。
1チャンクがいくつのサンプル(映像の場合はフレーム)数で構成されているかを示すstsc(サンプルチャンクアトム)712。本実施例では全ての映像チャンクが1チャンク=1サンプル(フレーム)から構成されるものとする。サンプル数と各サンプル間の時間的間隔(Duration)を格納した、stts(同期サンプルアトム)713。各サンプルのデータサイズを格納した、stsz(サンプルサイズアトム)714。各チャンクのファイルオフセットを格納したstco(チャンクオフセット)715。
Further, the following atoms are also stored in each trak (track atom) 707 to 709.
A stsc (sample chunk atom) 712 that indicates how many samples (frames in the case of video) each chunk is composed of. In this embodiment, it is assumed that all video chunks are composed of 1 chunk = 1 sample (frame). A stts (synchronous sample atom) 713 storing the number of samples and the time interval (Duration) between each sample. Stsz (sample size atom) 714 storing the data size of each sample. Stco (chunk offset) 715 storing the file offset of each chunk.

音声や映像、テキストなどの実データが格納した、mdat(ムービーデータアトム)703には、以下のアトムが格納される。
各チャプタのタイトルをテキストデータとして格納したテキストチャンク716、717。テキストチャンク716、717は、最初の領域には、後に続くテキストデータのデータサイズ(16進数)を示すデータが格納される。テキストデータ領域にはテキストデータがASCIIコードで格納される。本実施例では、「ダイジェストムービーモード」において静止画の撮影された撮影時刻をテキストデータとして記載する。すなわち、「ダイジェストムービーモード」で、12時34分56秒に静止画撮影の指示があった場合、記録媒体に記録される動画は、12時34分52秒〜12時34分56秒に対応する動画である。しかし、この動画のチャプタのタイトルを示すテキストチャンクのテキストデータとして、静止画撮影の指示があった12時34分56秒に対応するテキストデータが書き込まれる。
The following atoms are stored in mdat (movie data atom) 703 in which actual data such as audio, video, and text is stored.
Text chunks 716 and 717 storing the title of each chapter as text data. In the text chunks 716 and 717, data indicating the data size (hexadecimal number) of the text data that follows is stored in the first area. Text data is stored in the text data area in ASCII code. In this embodiment, the shooting time when a still image was shot in the “digest movie mode” is described as text data. In other words, in the “digest movie mode”, when there is an instruction to shoot a still image at 12:34:56, the moving image recorded on the recording medium corresponds to 12:34:52 to 12:34:56. It is a video to be. However, text data corresponding to 12:34:56 when a still image shooting instruction is given is written as text data of a text chunk indicating the title of the chapter of the moving image.

また、音声や映像、テキストなどの実データが格納した、mdat(ムービーデータアトム)703には、以下のアトムも格納される。
音声データチャンク718、719。映像データチャンク720、721、722等。図7において、アルファベットはピクチャの種類を示す。すなわち、フレーム内予測符号化されたIピクチャであるか、前方予測のフレーム間予測符号化されたPピクチャ、双方向予測のフレーム間予測符号化されたBピクチャのいずれかを示す。本実施例では、フレーム内予測符号化されたIピクチャであるためIが付されている。さらに、アルファベットの添え字の数字は先頭からのフレーム番号を表している。つまり、映像データチャンク720は、1番目のフレームがIピクチャ(フレーム内予測符号化ピクチャ)であることを表している。
In addition, the following atoms are also stored in mdat (movie data atom) 703 in which actual data such as voice, video, and text is stored.
Audio data chunks 718, 719. Video data chunks 720, 721, 722, etc. In FIG. 7, alphabets indicate the types of pictures. That is, it indicates either an I picture that has been subjected to intraframe prediction encoding, a P picture that has been subjected to interframe prediction encoding for forward prediction, or a B picture that has been subjected to interframe prediction encoding for bidirectional prediction. In the present embodiment, I is added because it is an I picture that has been intra-frame prediction encoded. Further, the alphabetic subscript number represents the frame number from the beginning. That is, the video data chunk 720 indicates that the first frame is an I picture (intra-frame predictive coded picture).

ここで、mdatアトム703のデータの格納状態について説明する。   Here, the data storage state of the mdat atom 703 will be described.

前述したようにmdatアトム703には、テキストチャンク、音声チャンク、映像チャンクが格納されている。なお、本実施例においては、音声チャンク1個と、映像チャンクを15個とを組として格納している。これは、音声データ0.5秒と、映像の15フレームが対応するようにするためにこのように記録している。しかし、格納方法この方式に限られない。さらに、本実施例のようにチャプタごとに、テキストチャンク716、717が格納される。これは、チャプタ1つにつき一つのテキストチャンクが対応する。すなわち、本実施例のように「ダイジェストムービーモード」で撮影を繰り返すと、撮影される度にテキストチャンクがmdatアトムに格納されることになる。テキストチャンクは、チャプタ一つに対応するものとなる。また、テキスト用のtrakアトムのテキスト用のsttsアトムにも、テキストチャンクのサンプルの再生間隔(Duration)が格納されている。   As described above, the mdat atom 703 stores text chunks, audio chunks, and video chunks. In the present embodiment, one audio chunk and 15 video chunks are stored as a set. This is recorded in this way so that 0.5 seconds of audio data corresponds to 15 frames of video. However, the storage method is not limited to this method. Furthermore, text chunks 716 and 717 are stored for each chapter as in this embodiment. This corresponds to one text chunk per chapter. That is, when shooting is repeated in the “digest movie mode” as in this embodiment, a text chunk is stored in the mdat atom every time shooting is performed. A text chunk corresponds to one chapter. In addition, a text chunk sample playback interval (Duration) is also stored in the text stts atom of the text trak atom.

動画ファイルはこのようなフォーマットで記録されている。   Movie files are recorded in this format.

そのため、たとえば、mdat内の任意の映像フレームや音声データ、またはチャプタにアクセスする場合には、moov702のstsz714およびstco715に格納されている情報を用いればよい。   Therefore, for example, when accessing an arbitrary video frame, audio data, or chapter in mdat, information stored in stsz 714 and stco 715 of moov 702 may be used.

ここで、静止画と動画のヘッダやチャプタに記録されている情報について説明する。   Here, information recorded in the headers and chapters of still images and moving images will be described.

図5は、記録媒体151に記録された動画ファイル、静止画ファイルの内容を説明するためのものである。図5において、本実施例を説明するのに不要なヘッダ情報などは省略している。   FIG. 5 is a diagram for explaining the contents of a moving image file and a still image file recorded on the recording medium 151. In FIG. 5, header information and the like unnecessary for describing the present embodiment are omitted.

図5に示すように、「ダイジェストムービーモード」で撮影された静止画ファイルのヘッダ領域には、撮影日時の情報と、「ダイジェストムービーモード」で撮影されたことを示す「MDGフラグ」が記載されている。また、「ダイジェストムービーモード」で撮影された動画ファイルのヘッダ領域には、動画ファイルの撮影日時の情報が記録されている。しかし、この撮影日時情報も、「ダイジェストムービーモード」で最初に撮影された静止画の撮影日時の情報と同じ日時が記載されている。また、本実施例の撮像装置100では、「ダイジェストムービーモード」で、静止画が撮影される度に動画を連結するが、連結される動画データは、それぞれ異なるチャプタとして取り扱う。そのために、「ダイジェストムービーモード」で撮影された動画ファイルのヘッダ領域には、各チャプタに対応する動画データのフレーム番号が記載されている。本実施例では、これらのチャプタ番号にさらに、静止画撮影のされた日時情報を関連づけて記載している。再生時には、指定されたチャプタ番号や撮影日時の情報に対応するフレーム番号を特定し、特定されたフレーム番号から再生を行うことができる。   As shown in FIG. 5, in the header area of a still image file shot in “digest movie mode”, information on the shooting date and time and “MDG flag” indicating that the movie was shot in “digest movie mode” are described. ing. In addition, information on the shooting date and time of the moving image file is recorded in the header area of the moving image file shot in the “digest movie mode”. However, this shooting date / time information also describes the same date / time as the shooting date / time information of the still image first shot in the “digest movie mode”. In the imaging apparatus 100 according to the present exemplary embodiment, in “digest movie mode”, a moving image is connected every time a still image is shot. The connected moving image data is handled as different chapters. Therefore, the frame number of the moving image data corresponding to each chapter is described in the header area of the moving image file shot in the “digest movie mode”. In the present embodiment, these chapter numbers are described in association with date / time information when the still image was taken. At the time of reproduction, it is possible to specify a frame number corresponding to the specified chapter number and shooting date / time information, and perform reproduction from the specified frame number.

また、動画データと共に記録されるテキストデータとしても、静止画撮影のされた日時を示す情報が記録されている。   Information indicating the date and time when the still image was taken is also recorded as text data recorded together with the moving image data.

次に、再生モードについて、説明する。   Next, the playback mode will be described.

本実施例の撮像装置100は、再生モードにおいて、静止画ファイルや動画ファイルの一覧画面を表示部140に表示する。なお、一覧画面は、静止画ファイルのみの一覧画面、動画ファイルのみの一覧画面、静止画ファイルと動画ファイル乃混在した一覧画面などを表示する。そして、指定された静止画ファイルを再生して、静止画ファイルの画像を表示部140に表示する。このとき、「ダイジェストムービーモード」で撮影された静止画ファイルを再生している場合は、対応する「ダイジェストムービーモード」で撮影された動画ファイルの存在を示す情報を表示する。ユーザによって対応する動画ファイルの再生を指示されると、対応する動画ファイルの再生を開始して良いか確認する画面を表示し、ユーザによって許可されると、対応する動画ファイルの再生を開始する。対応する動画ファイルの再生が終了すると、動画ファイルの一覧画面を表示し、最後に表示された動画ファイルを選択した状態で、ユーザの指示を待つ。   The imaging apparatus 100 according to the present embodiment displays a list screen of still image files and moving image files on the display unit 140 in the reproduction mode. The list screen displays a list screen of only still image files, a list screen of only moving image files, a list screen in which still image files and moving image files are mixed, and the like. Then, the designated still image file is reproduced, and the image of the still image file is displayed on the display unit 140. At this time, when a still image file shot in the “digest movie mode” is being reproduced, information indicating the presence of a moving image file shot in the corresponding “digest movie mode” is displayed. When the user gives an instruction to play the corresponding moving image file, a screen for confirming whether to start playing the corresponding moving image file is displayed. When the user permits, the playing of the corresponding moving image file is started. When the reproduction of the corresponding moving image file is completed, the moving image file list screen is displayed, and the user's instruction is waited with the moving image file displayed last being selected.

操作部104により再生モードが指定されると、CPU101は、再生状態に移行させるように制御信号を撮像装置100の各ブロックに送信し、図6、図7に示す再生制御フローを開始する。なお、図6、図7のフロー図に示す処理は、CPU101がRAM102に展開したプログラムに基づいて、撮像装置100の各部を制御することにより、実行される処理である。   When the playback mode is designated by the operation unit 104, the CPU 101 transmits a control signal to each block of the imaging apparatus 100 so as to shift to the playback state, and starts the playback control flow shown in FIGS. Note that the processing shown in the flowcharts of FIGS. 6 and 7 is processing that is executed by the CPU 101 controlling each unit of the imaging apparatus 100 based on a program developed in the RAM 102.

CPU101は、再生モードが指定されると、記録媒体151からファイルの一覧情報を読出すように記録再生部150を制御し、各ファイルを示す情報を表示部140に表示するように表示制御部141を制御する。各ファイルを示す情報としては、例えば、各ファイルに含まれる代表画像などである。また、CPU101は、各ファイルの選択状態を示す選択画像を表示部140に表示するように表示制御部141を制御する(S601)。   When the playback mode is designated, the CPU 101 controls the recording / playback unit 150 to read the file list information from the recording medium 151, and the display control unit 141 displays the information indicating each file on the display unit 140. To control. The information indicating each file is, for example, a representative image included in each file. Further, the CPU 101 controls the display control unit 141 to display a selection image indicating the selection state of each file on the display unit 140 (S601).

なお、本実施例においては、撮影モードにおいて撮影が行われた後に、再生モードに移行した場合は、最後に撮影された画像ファイルを選択した状態になるように選択画像を表示する。また、再生モードにおいて、再生が行われると、最後に再生していた画像を選択した状態になるように選択画像を表示する。   Note that in this embodiment, when the shooting mode is switched to the playback mode after shooting in the shooting mode, the selected image is displayed so that the last shot image file is selected. In addition, when playback is performed in the playback mode, the selected image is displayed so that the last played image is selected.

次に、CPU101は、操作部104からの操作信号に基づいて選択された静止画ファイルや動画ファイルの静止画データや動画データを記録媒体151から読出すように記録再生部150を制御する。そして、CPU101は、静止画データや動画データを復号するように符号化復号化処理部130を制御し、それらの画像を表示部140に表示するように表示制御部141を制御する(S602)。   Next, the CPU 101 controls the recording / reproducing unit 150 to read from the recording medium 151 still image data or moving image data of a still image file or a moving image file selected based on an operation signal from the operation unit 104. Then, the CPU 101 controls the encoding / decoding processing unit 130 to decode still image data and moving image data, and controls the display control unit 141 to display these images on the display unit 140 (S602).

このとき、CPU101は、読出したファイルが静止画ファイルである場合には、静止画ファイルのヘッダにMDGフラグが含まれているか否かを判定する。すなわち、選択した静止画ファイルが「ダイジェストムービーモード」で撮影された静止画であるか否かを判定する(S603)。   At this time, if the read file is a still image file, the CPU 101 determines whether or not the MDG flag is included in the header of the still image file. That is, it is determined whether or not the selected still image file is a still image shot in the “digest movie mode” (S603).

判定の結果、静止画ファイルのヘッダにMDGフラグが含まれていない場合(「ダイジェストムービーモード」で撮影された静止画でない場合)、CPU101は、他の指示があるまでは指定されたファイルの再生を継続する(S604でNo)。また、他の指示がある場合は、他の処理または、他の指定された画像ファイルに含まれる静止画データや動画データを示す画像を表示部140に表示するように表示制御部141を制御する(S604でYes)。   As a result of the determination, when the MDG flag is not included in the header of the still image file (when the still image is not captured in the “digest movie mode”), the CPU 101 plays the specified file until another instruction is given. (No in S604). When there is another instruction, the display control unit 141 is controlled so that an image indicating still image data or moving image data included in another processing or another designated image file is displayed on the display unit 140. (Yes in S604).

一方、判定の結果、静止画ファイルのヘッダにMDGフラグが含まれている場合(「ダイジェストムービーモード」で撮影された静止画である場合)、CPU101は、関連する動画ファイルが存在する旨を表示するように表示制御部141を制御する(S611)。   On the other hand, as a result of the determination, when the MDG flag is included in the header of the still image file (when the still image is shot in the “digest movie mode”), the CPU 101 displays that a related moving image file exists. The display control unit 141 is controlled to do so (S611).

そして、CPU101は、操作部104から関連する動画ファイルを再生する指示が入力されているか否かを判定する(S612)。判定の結果、入力がなければS604に処理を移す。判定の結果、関連する動画ファイルを再生する指示が入力されている場合(S612でYes)、関連する動画ファイルを再生するか否かを問うための確認画面を表示するように表示制御部141を制御する(S613)。そして、CPU101は、S613で確認画面を表示しているときに、動画ファイルを再生することを許可する指示が操作部104から入力されるかを判定する(S614)。S614で動画ファイルを再生することを許可する指示が入力されない場合には、処理をS611に移行する(S614でNo)。また、S614で動画ファイルを再生することを許可する指示が入力された場合には、関連する動画ファイルを再生するように、記録再生部150を制御する(S621)。   Then, the CPU 101 determines whether or not an instruction to play a related moving image file is input from the operation unit 104 (S612). If the result of determination is that there is no input, the process moves to S604. As a result of the determination, if an instruction to play the related video file is input (Yes in S612), the display control unit 141 is displayed so as to display a confirmation screen for asking whether to play the related video file. Control is performed (S613). Then, when the confirmation screen is displayed in S613, the CPU 101 determines whether an instruction for permitting reproduction of the moving image file is input from the operation unit 104 (S614). If an instruction to permit reproduction of the moving image file is not input in S614, the process proceeds to S611 (No in S614). If an instruction permitting the reproduction of the moving image file is input in S614, the recording / reproducing unit 150 is controlled to reproduce the related moving image file (S621).

このように、「ダイジェストムービーモード」で撮影された静止画を再生中に、関連する動画ファイルを再生するか否かを問い合わせるのは以下の理由がある。   As described above, the reason for inquiring whether or not to reproduce a related moving image file while reproducing a still image shot in the “digest movie mode” is as follows.

例えば、「ダイジェストムービーモード」で、多回数の撮影を行った場合。本実施例の撮像装置は、動画ファイルの再生終了後に再生終了した動画ファイルを選択した状態で停止し、元の画像を選択した状態に戻らない。そのため、元の静止画ファイルを選択する状態に戻すには、再度画像を探し出すために多くの操作を行わなくてはならなくなるからである。そのため、関連する動画ファイルを再生する場合は、S613のように、確認画面を表示するのである。なお、確認画面において、さらに、「現在表示している静止画ファイルの再生が、動画ファイルの再生後、自動的に行われない」旨の通知をしても良い。   For example, if you have taken a number of shots in "Digest Movie Mode". The image pickup apparatus according to the present embodiment stops after selecting the moving image file that has been reproduced after the reproduction of the moving image file, and does not return to the state in which the original image is selected. Therefore, in order to return to the state of selecting the original still image file, many operations must be performed in order to search for the image again. Therefore, when a related moving image file is reproduced, a confirmation screen is displayed as in S613. In addition, on the confirmation screen, a notification that “the reproduction of the currently displayed still image file is not automatically performed after the reproduction of the moving image file” may be made.

S621の処理が終了すると、CPU101は、再生モードが終了されたか否かを判定し(S622)、終了されていなければ、処理をS602から繰り返す。   When the process of S621 ends, the CPU 101 determines whether or not the playback mode is ended (S622). If not, the process is repeated from S602.

次に、再生中の静止画ファイルに対応する動画を再生する場合の処理(S621)を図7のフロー図を用いて説明する。   Next, processing (S621) in the case of reproducing a moving image corresponding to the still image file being reproduced will be described with reference to the flowchart of FIG.

再生中の静止画ファイルに対応する動画ファイルの再生の要求があると、CPU101は、静止画ファイルのヘッダに記録されている撮影日時情報を読出すように記録再生部150を制御する(S701)。次に、CPU101は、記録媒体151に記録されている動画ファイル(拡張子「MOV」のファイル)のうち、ファイル名に「MDG」が含まれる動画ファイルを特定する。次に、CPU101は、特定された動画ファイルの撮影日時情報を解析し、再生中の静止画ファイルの撮影日時情報と同じ日付の動画ファイルを特定する(S702)。   When there is a request for reproduction of a moving image file corresponding to the still image file being reproduced, the CPU 101 controls the recording / reproducing unit 150 to read the shooting date / time information recorded in the header of the still image file (S701). . Next, the CPU 101 specifies a moving image file including “MDG” in the file name among moving image files (files with an extension “MOV”) recorded on the recording medium 151. Next, the CPU 101 analyzes the shooting date / time information of the specified moving image file, and specifies a moving image file having the same date as the shooting date / time information of the still image file being played back (S702).

次に、CPU101は、特定された動画ファイルの動画データを読出すように記録再生部150を制御し、読出された動画データを先頭から順次復号するように符号化復号化処理部130を制御すると共に、復号された画像を表示するように表示制御部141を制御する(S703)。   Next, the CPU 101 controls the recording / reproducing unit 150 to read the moving image data of the specified moving image file, and controls the encoding / decoding processing unit 130 to sequentially decode the read moving image data from the top. At the same time, the display control unit 141 is controlled to display the decoded image (S703).

次に、CPU101は、再生された動画ファイルの動画データの再生が最後まで終了したか、またはユーザの操作部104の指示により中断したかを判定する(S704)。中断または終了していない場合(S704でNo)、CPU101は、動画の再生を継続するように記録再生部150、符号化復号化処理部130、表示制御部141をそれぞれ制御する。中断または終了した場合、S601と同様に、CPU101は、記録媒体151からファイルの一覧情報を読出すように記録再生部150を制御し、各ファイルを示す情報を表示部140に表示するように表示制御部141を制御する。このとき、動画ファイルを再生した後であるため、本実施例においては、最後に再生していた動画ファイルを選択した状態になるように選択画像を表示する(S705)。   Next, the CPU 101 determines whether the reproduction of the moving image data of the reproduced moving image file has been completed to the end or has been interrupted by an instruction from the user operation unit 104 (S704). If not interrupted or terminated (No in S704), the CPU 101 controls the recording / playback unit 150, the encoding / decoding processing unit 130, and the display control unit 141 so as to continue playback of the moving image. When interrupted or terminated, as in S601, the CPU 101 controls the recording / playback unit 150 to read the file list information from the recording medium 151, and displays information indicating each file on the display unit 140. The controller 141 is controlled. At this time, since the moving image file has been reproduced, in this embodiment, the selected image is displayed so that the moving image file that has been reproduced last is selected (S705).

このように、本実施例の撮像装置100は、「ダイジェストムービーモード」で撮影された静止画ファイルを再生している時に、関連する動画ファイルを再生することができる。そして、再生していた画像ファイルの再生が終了すると、再生していた画像ファイルを選択した状態で画像選択画面に戻るため、関連する動画ファイルを再生する直前に、動画ファイルの再生を行うか否かの問合せ画面を表示する。このようにすることで、複数の静止画ファイルが動画ファイルと関連付いているときに、関連付いている動画ファイルの再生後に元々再生していた静止画ファイルを自動的に再生できない場合に、意図しないファイル選択が行われないようにすることができる。   As described above, the imaging apparatus 100 according to the present embodiment can reproduce a related moving image file while reproducing a still image file shot in the “digest movie mode”. When the playback of the image file being played ends, the screen returns to the image selection screen with the image file being played selected, so whether or not to play the movie file immediately before playing the associated movie file. Display the inquiry screen. In this way, when multiple still image files are associated with a movie file, and the still image file originally played after the associated movie file cannot be played automatically, It is possible to prevent file selection not to be performed.

なお、本実施例においては、常に関連する動画ファイルを再生する直前に、動画ファイルの再生を行うか否かの問合せ画面を表示するものとした。しかし、たとえば、動画ファイルに関連付けられた静止画ファイル数が所定の閾値よりも少ない場合や、関連付けられた動画ファイルのファイル名に付加された番号の差が所定の閾値よりも小さい場合には問い合わせが面を表示しなくても良い。   In this embodiment, an inquiry screen as to whether or not to reproduce a moving image file is displayed immediately before reproducing a related moving image file. However, for example, if the number of still image files associated with a moving image file is less than a predetermined threshold value, or if the difference in the number added to the file name of the associated moving image file is smaller than a predetermined threshold value, an inquiry is made. May not display the surface.

なお、本実施例において、「ダイジェストムービーモード」で撮影された静止画ファイルの再生中に、対応する動画ファイルを再生する例について説明した。しかし、例えば、複数の静止画ファイルが、一つの動画ファイルかくシーンに対応するような場合には、本実施例の再生方法を適用することができる。すなわち、実施例1、2の再生モードにおける画像処理は、「ダイジェストムービーモード」以外の記録方式で記録された、静止画ファイルと動画ファイルの画像処理についても適用することができる。   In the present embodiment, the example in which the corresponding moving image file is reproduced while the still image file shot in the “digest movie mode” is reproduced has been described. However, for example, when a plurality of still image files correspond to one moving image file or scene, the reproduction method of this embodiment can be applied. That is, the image processing in the playback modes of the first and second embodiments can also be applied to image processing of still image files and moving image files recorded by a recording method other than the “digest movie mode”.

本実施例では、撮像装置を例にとって説明した。しかし、本実施例の再生処理を実行することができるものであれば、本発明を適用することができる。例えば、コンピュータ、タブレット型端末、スマートフォン、携帯電話、テレビ、等であっても良い。また、本実施例の削除処理をコンピュータに実行させる為のプログラムも本発明の思想に含まれる。   In this embodiment, the image pickup apparatus has been described as an example. However, the present invention can be applied as long as the reproduction processing of this embodiment can be executed. For example, it may be a computer, a tablet terminal, a smartphone, a mobile phone, a television, or the like. A program for causing a computer to execute the deletion process of this embodiment is also included in the concept of the present invention.

(実施例2)
本実施例においても、画像処理装置として、撮像装置を例に取って説明する。本実施例の撮像装置は、再生モードの動作以外は、実施例1の撮像装置100と同様の動作を行い、ブロック構成は図1と同様である。そのため、図1のブロック構成を用いて、説明を行う。
(Example 2)
Also in this embodiment, an image pickup apparatus will be described as an example of the image processing apparatus. The image pickup apparatus of the present embodiment performs the same operation as that of the image pickup apparatus 100 of the first embodiment except for the operation in the reproduction mode, and the block configuration is the same as FIG. Therefore, description will be made using the block configuration of FIG.

なお、ブロック構成の説明、「ダイジェストムービーモード」の説明は実施例1と同様であるため、説明を省略する。   The description of the block configuration and the description of the “digest movie mode” are the same as those in the first embodiment, and thus the description thereof is omitted.

次に、再生モードについて、説明する。   Next, the playback mode will be described.

本実施例の撮像装置100は、再生モードにおいて、静止画ファイルや動画ファイルの一覧画面を表示部140に表示する。なお、一覧画面は、静止画ファイルのみの一覧画面、動画ファイルのみの一覧画面、静止画ファイルと動画ファイル乃混在した一覧画面などを表示する。そして、指定された静止画ファイルを再生して、静止画ファイルの画像を表示部140に表示する。このとき、「ダイジェストムービーモード」で撮影された静止画ファイルを再生している場合は、対応する「ダイジェストムービーモード」で撮影された動画ファイルの存在を示す情報を表示する。ユーザによって対応する動画ファイルの再生を指示されると、対応する動画ファイルの再生を開始する。   The imaging apparatus 100 according to the present embodiment displays a list screen of still image files and moving image files on the display unit 140 in the reproduction mode. The list screen displays a list screen of only still image files, a list screen of only moving image files, a list screen in which still image files and moving image files are mixed, and the like. Then, the designated still image file is reproduced, and the image of the still image file is displayed on the display unit 140. At this time, when a still image file shot in the “digest movie mode” is being reproduced, information indicating the presence of a moving image file shot in the corresponding “digest movie mode” is displayed. When the user instructs the reproduction of the corresponding moving image file, the reproduction of the corresponding moving image file is started.

本実施例の撮像装置は、対応する動画ファイルの再生が終了すると、元々表示していた静止画ファイルを選択した状態または、再生した状態に戻る。また、動画ファイルの再生がユーザによる操作部104の操作により中断された場合には、中断された動画ファイル内のシーン(チャプタ)に対応する静止画ファイルを選択した状態または、再生した状態に戻る。   When the reproduction of the corresponding moving image file is completed, the imaging apparatus according to the present embodiment returns to a state where the originally displayed still image file is selected or reproduced. When the reproduction of the moving image file is interrupted by the operation of the operation unit 104 by the user, the state returns to the state where the still image file corresponding to the scene (chapter) in the interrupted moving image file is selected or reproduced. .

操作部104により再生モードが指定されると、CPU101は、再生状態に移行させるように制御信号を撮像装置100の各ブロックに送信し、図8、図9に示す再生制御フローを開始する。なお、図6、図7のフロー図に示す処理は、CPU101がRAM102に展開したプログラムに基づいて、撮像装置100の各部を制御することにより、実行される処理である。   When the playback mode is designated by the operation unit 104, the CPU 101 transmits a control signal to each block of the imaging apparatus 100 so as to shift to the playback state, and starts the playback control flow shown in FIGS. Note that the processing shown in the flowcharts of FIGS. 6 and 7 is processing that is executed by the CPU 101 controlling each unit of the imaging apparatus 100 based on a program developed in the RAM 102.

CPU101は、再生モードが指定されると、記録媒体151からファイルの一覧情報を読出すように記録再生部150を制御し、各ファイルを示す情報を表示部140に表示するように表示制御部141を制御する。各ファイルを示す情報としては、例えば、各ファイルに含まれる代表画像などである。また、CPU101は、各ファイルの選択状態を示す選択画像を表示部140に表示するように表示制御部141を制御する(S801)。   When the playback mode is designated, the CPU 101 controls the recording / playback unit 150 to read the file list information from the recording medium 151, and the display control unit 141 displays the information indicating each file on the display unit 140. To control. The information indicating each file is, for example, a representative image included in each file. In addition, the CPU 101 controls the display control unit 141 to display a selection image indicating the selection state of each file on the display unit 140 (S801).

なお、本実施例においては、撮影モードにおいて撮影が行われた後に、再生モードに移行した場合は、最後に撮影された画像ファイルを選択した状態になるように選択画像を表示する。なお、基本的に再生モードにおいて、再生が行われると、最後に再生していた画像を選択した状態になるように選択画像を表示する。しかし、「ダイジェストムービーモード」で撮影された動画ファイルの再生後は、再生中断のシーン(チャプタ)に対応する静止画ファイルまた、再生終了後は、元々再生していた静止画ファイルを選択した状態になるように選択画像を表示する。なお、選択した状態ではなく、静止画ファイルの静止画データを再生して表示部140に表示するようにしても良い。   Note that in this embodiment, when the shooting mode is switched to the playback mode after shooting in the shooting mode, the selected image is displayed so that the last shot image file is selected. Basically, when playback is performed in the playback mode, the selected image is displayed so that the last played image is selected. However, after playback of a movie file shot in “digest movie mode”, the still image file corresponding to the scene (chapter) where playback was interrupted is selected. The selected image is displayed so that Note that the still image data of the still image file may be reproduced and displayed on the display unit 140 instead of the selected state.

次に、CPU101は、操作部104からの操作信号に基づいて選択された静止画ファイルや動画ファイルの静止画データや動画データを記録媒体151から読出すように記録再生部150を制御する。そして、CPU101は、静止画データや動画データを復号するように符号化復号化処理部130を制御し、それらの画像を表示部140に表示するように表示制御部141を制御する(S802)。   Next, the CPU 101 controls the recording / reproducing unit 150 to read from the recording medium 151 still image data or moving image data of a still image file or a moving image file selected based on an operation signal from the operation unit 104. Then, the CPU 101 controls the encoding / decoding processing unit 130 to decode still image data and moving image data, and controls the display control unit 141 to display these images on the display unit 140 (S802).

このとき、CPU101は、読出したファイルが静止画ファイルである場合には、静止画ファイルのヘッダにMDGフラグが含まれているか否かを判定する。すなわち、選択した静止画ファイルが「ダイジェストムービーモード」で撮影された静止画であるか否かを判定する(S803)。   At this time, if the read file is a still image file, the CPU 101 determines whether or not the MDG flag is included in the header of the still image file. That is, it is determined whether or not the selected still image file is a still image shot in the “digest movie mode” (S803).

判定の結果、静止画ファイルのヘッダにMDGフラグが含まれていない場合(「ダイジェストムービーモード」で撮影された静止画でない場合)、CPU101は、他の指示があるまでは指定されたファイルの再生を継続する(S804でNo)。また、他の指示がある場合は、他の処理または、他の指定された画像ファイルに含まれる静止画データや動画データを示す画像を表示部140に表示するように表示制御部141を制御する(S804でYes)。   As a result of the determination, when the MDG flag is not included in the header of the still image file (when the still image is not captured in the “digest movie mode”), the CPU 101 plays the specified file until another instruction is given. (No in S804). When there is another instruction, the display control unit 141 is controlled so that an image indicating still image data or moving image data included in another processing or another designated image file is displayed on the display unit 140. (Yes in S804).

一方、判定の結果、静止画ファイルのヘッダにMDGフラグが含まれている場合(「ダイジェストムービーモード」で撮影された静止画である場合)、CPU101は、関連する動画ファイルが存在する旨を表示するように表示制御部141を制御する(S811)。   On the other hand, as a result of the determination, when the MDG flag is included in the header of the still image file (when the still image is shot in the “digest movie mode”), the CPU 101 displays that a related moving image file exists. The display control unit 141 is controlled to do so (S811).

そして、CPU101は、操作部104から関連する動画ファイルを再生する指示が入力されているか否かを判定する(S812)。判定の結果、入力がなければS804に処理を移す。判定の結果、関連する動画ファイルを再生する指示が入力されている場合(S812でYes)、関連する動画ファイルを再生するように、記録再生部150を制御する(S821)。本実施例においては、このとき、CPU101は、表示していた静止画ファイルを特定する情報をRAM102に一時的に記憶する。例えば、表示していた静止画ファイルを特定する情報としては、撮影日時情報であったり、ファイル名やファイルパスであったり、特定できる情報であればどのような情報であっても良い。   Then, the CPU 101 determines whether or not an instruction to play a related moving image file is input from the operation unit 104 (S812). If the result of determination is that there is no input, the process moves to S804. As a result of the determination, if an instruction to play the related video file is input (Yes in S812), the recording / playback unit 150 is controlled to play back the related video file (S821). In this embodiment, at this time, the CPU 101 temporarily stores in the RAM 102 information specifying the displayed still image file. For example, the information for specifying the displayed still image file may be shooting date / time information, a file name or a file path, or any information that can be specified.

S821の処理が終了すると、CPU101は、再生モードが終了されたか否かを判定し(S822)、終了されていなければ、処理をS802から繰り返す。   When the process of S821 ends, the CPU 101 determines whether or not the playback mode has ended (S822). If not, the process repeats from S802.

次に、再生中の静止画ファイルに対応する動画を再生する場合の処理(S821)を図9のフロー図を用いて説明する。   Next, a process (S821) in the case of reproducing a moving image corresponding to a still image file being reproduced will be described with reference to the flowchart of FIG.

再生中の静止画ファイルに対応する動画ファイルの再生の要求があると、CPU101は、静止画ファイルのヘッダに記録されている撮影日時情報を読出すように記録再生部150を制御する(S901)。次に、CPU101は、記録媒体151に記録されている動画ファイル(拡張子「MOV」のファイル)のうち、ファイル名に「MDG」が含まれる動画ファイルを特定する。次に、CPU101は、特定された動画ファイルの撮影日時情報を解析し、再生中の静止画ファイルの撮影日時情報と同じ日付の動画ファイルを特定する(S902)。   When there is a request for reproduction of a moving image file corresponding to the still image file being reproduced, the CPU 101 controls the recording / reproducing unit 150 to read the shooting date / time information recorded in the header of the still image file (S901). . Next, the CPU 101 specifies a moving image file including “MDG” in the file name among moving image files (files with an extension “MOV”) recorded on the recording medium 151. Next, the CPU 101 analyzes the shooting date / time information of the specified moving image file, and specifies a moving image file having the same date as the shooting date / time information of the still image file being played back (S902).

次に、CPU101は、特定された動画ファイルのヘッダを解析し、再生中の静止画ファイルの撮影日時情報と同じ時刻のシーン(チャプタ)を特定する。そして、特定されたシーン(チャプタ)の動画データを読出すように記録再生部150を制御し、読出された動画データを順次復号するように符号化復号化処理部130を制御すると共に、復号された画像を表示するように表示制御部141を制御する(S903)。なお、実施例1のように、特定された動画ファイルの動画データを先頭から順次復号するように符号化復号化処理部130を制御すると共に、復号された画像を表示するように表示制御部141を制御してもよい。   Next, the CPU 101 analyzes the header of the specified moving image file and specifies a scene (chapter) at the same time as the shooting date / time information of the still image file being reproduced. Then, the recording / playback unit 150 is controlled so as to read the moving image data of the specified scene (chapter), and the encoding / decoding processing unit 130 is controlled so as to sequentially decode the read moving image data, and the decoding is performed. The display control unit 141 is controlled to display the displayed image (S903). Note that, as in the first embodiment, the encoding / decoding processing unit 130 is controlled to sequentially decode the moving image data of the specified moving image file from the top, and the display control unit 141 displays the decoded image. May be controlled.

次に、CPU101は、再生された動画ファイルの動画データの再生がユーザの操作部104の指示により中断したかを判定する(S911)。中断した場合(S911でYes)、CPU101は、記録媒体151からファイルの一覧情報を読出すように記録再生部150を制御し、各ファイルを示す情報を表示部140に表示するように表示制御部141を制御する。このとき、CPU101は、動画ファイルの中断したシーン(チャプタ)に対応する静止画ファイルを選択した状態でファイル一覧を表示する(S912)。   Next, the CPU 101 determines whether the reproduction of the moving image data of the reproduced moving image file has been interrupted by an instruction from the operation unit 104 of the user (S911). When interrupted (Yes in S911), the CPU 101 controls the recording / playback unit 150 to read the file list information from the recording medium 151, and displays the information indicating each file on the display unit 140. 141 is controlled. At this time, the CPU 101 displays a file list in a state where the still image file corresponding to the interrupted scene (chapter) of the moving image file is selected (S912).

そのために、CPU101は、動画ファイルの中断したシーン(チャプタ)に対応する撮影時刻の情報を動画ファイルのヘッダに記録された、フレーム番号とチャプタと静止画の撮影時刻の関連づけられた情報から読出す。そして、CPU101は、記録媒体151に記録されている静止画ファイル(拡張子「JPG」のファイル)を特定する。次に、CPU101は、特定された動画ファイルの撮影日時情報を解析し、中断したシーン(チャプタ)に関連づけられた記録時間の静止画ファイルを特定する。そして、CPU101は、特定された静止画ファイルを選択した状態になるように選択画像を表示するように表示制御部141を制御する。なお、選択した状態ではなく、静止画ファイルの静止画データを再生して表示部140に表示するように表示制御部141を制御しても良い。また、本実施例では、中断したシーンに対応する静止画ファイルを表示するものとしたが、中断したシーンの一つ前のシーンに対応する静止画ファイルを表示するようにしても良い。その場合には、一つ前のチャプタに対応する撮影時刻の情報を読出して、同様の処理を行えば良い。   For this purpose, the CPU 101 reads out shooting time information corresponding to the interrupted scene (chapter) of the moving image file from information associated with the frame number, chapter, and still image shooting time recorded in the header of the moving image file. . Then, the CPU 101 identifies a still image file (file with extension “JPG”) recorded on the recording medium 151. Next, the CPU 101 analyzes shooting date / time information of the specified moving image file, and specifies a still image file having a recording time associated with the interrupted scene (chapter). Then, the CPU 101 controls the display control unit 141 so as to display the selected image so that the specified still image file is selected. Note that the display control unit 141 may be controlled so that still image data of a still image file is reproduced and displayed on the display unit 140 instead of being selected. In this embodiment, the still image file corresponding to the interrupted scene is displayed. However, the still image file corresponding to the scene immediately before the interrupted scene may be displayed. In that case, the same processing may be performed by reading the information of the photographing time corresponding to the previous chapter.

一方、CPU101は、再生された動画ファイルの動画データの再生がユーザの操作部104の指示により中断されず、再生終了した場合(S921でYes)。CPU101は、記録媒体151からファイルの一覧情報を読出すように記録再生部150を制御し、各ファイルを示す情報を表示部140に表示するように表示制御部141を制御する。このとき、CPU101は、動画ファイルの再生前に表示していた静止画ファイルを選択した状態でファイル一覧を表示する(S922)。   On the other hand, when the reproduction of the moving image data of the reproduced moving image file is not interrupted by an instruction from the operation unit 104 of the user and the reproduction ends (YES in S921). The CPU 101 controls the recording / playback unit 150 to read the file list information from the recording medium 151, and controls the display control unit 141 to display information indicating each file on the display unit 140. At this time, the CPU 101 displays a file list in a state where the still image file displayed before the reproduction of the moving image file is selected (S922).

そのために、CPU101は、S812の処理で、RAM102に一時的に記憶した、
表示していた静止画ファイルを特定するための情報を読出す。
Therefore, the CPU 101 temporarily stores the data in the RAM 102 in the process of S812.
Information for specifying the still image file being displayed is read.

そして、CPU101は、記録媒体151に記録されている静止画ファイル(拡張子「JPG」のファイル)のうち、RAMに記憶された、表示していた静止画ファイルを特定するための情報を特定する。そして、CPU101は、特定された静止画ファイルを選択した状態になるように選択画像を表示するように表示制御部141を制御する。なお、選択した状態ではなく、静止画ファイルの静止画データを再生して表示部140に表示するように表示制御部141を制御しても良い。   Then, the CPU 101 specifies information for specifying the displayed still image file stored in the RAM among the still image files (files with the extension “JPG”) recorded in the recording medium 151. . Then, the CPU 101 controls the display control unit 141 so as to display the selected image so that the specified still image file is selected. Note that the display control unit 141 may be controlled so that still image data of a still image file is reproduced and displayed on the display unit 140 instead of being selected.

このように、本実施例の撮像装置は、「ダイジェストムービーモード」で撮影された静止画ファイルを再生している時に、関連する動画ファイルを再生することができる。そして、再生していた動画ファイルの再生の終了後に、元々再生していた静止画ファイルをすぐに表示することができる。また、動画ファイルの再生をユーザが中断した場合には、中断したシーンに対応する静止画ファイルをすぐに表示することができる。   As described above, the image pickup apparatus according to the present embodiment can play back a related moving image file while playing back a still image file shot in the “digest movie mode”. Then, after the reproduction of the reproduced moving image file, the still image file that was originally reproduced can be displayed immediately. In addition, when the user interrupts playback of a moving image file, a still image file corresponding to the interrupted scene can be displayed immediately.

なお、本実施例において、動画ファイルの再生をユーザが中断した場合には、中断したシーンに対応する静止画ファイルを選択した状態で一覧画面を表示するものとした。しかし、再生の終了後に、元々表示していた静止画ファイルを選択した状態で一覧画面を表示しても良い。   In this embodiment, when the user interrupts the playback of the moving image file, the list screen is displayed with the still image file corresponding to the interrupted scene being selected. However, after the reproduction is finished, the list screen may be displayed with the still image file that was originally displayed being selected.

なお、本実施例においては、表示していた静止画ファイルに対応する動画ファイルを再生する場合には、動画データの先頭、または対応するチャプタから再生を行うものとした。しかし、例えば動画ファイルの対応するチャプタの動画データのみを再生して、その後、元々再生していた静止画ファイルの画像を表示するようにしても良い。   In this embodiment, when a moving image file corresponding to the displayed still image file is reproduced, the reproduction is performed from the beginning of the moving image data or the corresponding chapter. However, for example, only the moving image data of the corresponding chapter of the moving image file may be reproduced, and then the image of the still image file that was originally reproduced may be displayed.

また、実施例1のように、画像ファイルの再生の終了または中断によって、再生の終わった画像ファイルを選択した状態に戻る第1のモードか、実施例2のように、対応する静止画ファイルを選択した状態に戻る第2のモードかをユーザが自由に設定できるようにしても良い。この場合、実施例1の設定(第1のモード)であれば、S613の確認画面を表示するが、実施例2の設定(第2のモード)であれば、確認画面を表示しない。このようにすることで、設定に応じたスムーズな操作画可能になる。   In addition, the first mode returns to the state where the image file that has been reproduced is selected by the end or interruption of the reproduction of the image file as in the first embodiment, or the corresponding still image file as in the second embodiment. The user may be able to freely set the second mode for returning to the selected state. In this case, if the setting is in the first embodiment (first mode), the confirmation screen in S613 is displayed. If the setting is in the second embodiment (second mode), the confirmation screen is not displayed. In this way, a smooth operation image according to the setting is possible.

なお、本実施例において、「ダイジェストムービーモード」で撮影された静止画ファイルの再生中に、対応する動画ファイルを再生する例について説明した。しかし、例えば、複数の静止画ファイルが、一つの動画ファイルかくシーンに対応するような場合には、本実施例の再生方法を適用することができる。すなわち、実施例1、2の再生モードにおける画像処理は、「ダイジェストムービーモード」以外の記録方式で記録された、静止画ファイルと動画ファイルの画像処理についても適用することができる。   In the present embodiment, the example in which the corresponding moving image file is reproduced while the still image file shot in the “digest movie mode” is reproduced has been described. However, for example, when a plurality of still image files correspond to one moving image file or scene, the reproduction method of this embodiment can be applied. That is, the image processing in the playback modes of the first and second embodiments can also be applied to image processing of still image files and moving image files recorded by a recording method other than the “digest movie mode”.

本実施例では、撮像装置を例にとって説明した。しかし、本実施例の再生処理を実行することができるものであれば、本発明を適用することができる。例えば、コンピュータ、タブレット型端末、スマートフォン、携帯電話、テレビ、等であっても良い。また、本実施例の削除処理をコンピュータに実行させる為のプログラムも本発明の思想に含まれる。   In this embodiment, the image pickup apparatus has been described as an example. However, the present invention can be applied as long as the reproduction processing of this embodiment can be executed. For example, it may be a computer, a tablet terminal, a smartphone, a mobile phone, a television, or the like. A program for causing a computer to execute the deletion process of this embodiment is also included in the concept of the present invention.

なお、実施例1、2の撮像装置100は、基本的に、既存動画ファイルの動画データに対して、新規動画データを追記するものとするが、以下のような条件を満たす場合には、追記しないようにしている。
・追記対象の既存動画ファイルがプロテクトされている場合
記録媒体151に記録されている特定の動画ファイル「MDG_000X.MOV」がプロテクトされている場合には、ユーザがファイルの改変を望まないファイルである可能性が高いので、追記不可能とする。
・追記撮影によりファイルサイズが所定のサイズを超える場合
記録媒体151は、前述したようにたとえばFATファイルシステムで管理されている。その場合、たとえば、FAT32では、1ファイルあたり4GB以上になると読み込めなくなってしまう。そのため、次の撮影により「追記動画ファイル」が4GBを超える場合には、追記不可能とする。
・追記対象の既存動画ファルの動画のGOP構造に異常がある場合
記録媒体151に記録されている追記対象である特定の動画ファイル「MDG_000X.MOV」のチェックの結果、GOP構造に異常がある場合には、追記する動画データにまで影響が出てしまう可能性があるので、追記不可能とする。
・追記対象のファイルが無い場合
ダイジェストムービーモードで撮影された動画には、ファイル名として、「MDG_000X.MOV」という、MDGという識別子と通し番号4桁が付加されるようになっている。しかし、ファイル名に「MDG」を含む識別子の動画がない場合には、ダイジェストムービーモードで撮影された動画ファイルが存在しないので、追記不可能とする。また、撮像装置100の不図示の不揮発性メモリに最後にダイジェストムービーモードで記録した動画ファイルのファイル名を記録させておき、そのファイルが存在しない場合にも、追記不可能とする。
・追記対象の動画ファイルの撮影日が撮像装置に設定された日と異なる場合
ダイジェストムービーモードで同一撮影日に撮影された動画データを順次追記する場合には、日付の変更に伴って、別の動画ファイルを記録することになるので、追記不可能とする。
・追記対象の動画ファイルに関連づけられた地域設定が撮像装置に設定された地域と異なる場合
ダイジェストムービーモードで同一地域で撮影された動画データを順次追記する場合には、地域の変更に伴って、別の動画ファイルを記録することになるので、追記不可能とする。たとえば地域情報は、GPSユニットを用いて、得られた位置情報を用いても良いし、撮像装置の時計の設定時に選択する、「国」の情報を用いても良い。
・追記対象の動画ファイルに関連づけられた撮像装置の情報が、新規動画データを撮影する撮像装置と異なる場合
同一の撮像装置で、ダイジェストムービーモードで撮影された動画データのみを追記する場合には、記録媒体に記録された追記対象の動画ファイルに関連づけられた撮像装置の識別情報が、撮影を行う撮像装置と一致するかを確認する。そして、異なる場合には追記不可とする。
・動画記録設定が追記元の既存動画ファイルと同一でない場合
本実施例のように、既存動画ファイルに新規動画データを追記する場合には、動画の途中で、フレームレートや画像サイズ、GOP構成、動画符号化方式が変更されてしまうと、シームレスに再生できなくなってしまう可能性がある。そのため、既存動画ファイルの動画データと、新規動画データの動画記録設定が同一でない場合には、追記不可能とする。フレームレートや画像サイズ、GOP構成、動画符号化方式等の情報は、既存動画ファイルのファイルヘッダ等に記録されている。
・音声記録設定が追記元の既存動画ファイルと同一でない場合
本実施例のように、既存動画ファイルに新規動画データを追記する場合には、動画の途中で、音声のサンプリングレート、チャンネル数、ビット深度や、音声符号化方式等が変更されてしまうと、再生できなくなってしまう可能性がある。そのため、既存動画ファイルの動画データと、新規動画データファイルの音声記録設定が同一でない場合には、追記不可能とする。音声のサンプリングレートや、音声符号化方式等の情報は、既存動画ファイルのファイルヘッダ等に記録されている。
・記録媒体151の挿抜履歴がある場合
撮像装置100の起動時に、CPU101は、最後に連続動画撮影モードにおいて撮影した後に、記録媒体151が挿抜された履歴が、不図示の不揮発性メモリに残っている場合には、追記不可能とする。これは、記録媒体151に記録されている「MDG_000X.MOV」がコンピュータなどにより編集されてしまい、画像サイズなどが変更され、追記により動画ファイル自体が壊れたりする可能性を低減するためである。そのためには、追記対象の「MDG_000X.MOV」のファイルヘッダに記録されている撮影日時情報と、不揮発性メモリに残っている挿抜履歴の時間情報とを比較する。追記動画ファイル「MDG_000X.MOV」は、その動画に記録されている複数のシーンの動画データのうち、最初に撮影された時間情報をファイルヘッダに記録されるようになっている。
・追記撮影により動画再生時間が所定時間を超える場合
撮像装置100においては、所定時間(たとえば、30分)を超える撮影を望まない場合を考慮し、連続動画撮影モードにおいて、新たな撮影をすることにより、「追記動画ファイル」の動画データの再生時間が30分を超える場合には、追記不可能とする。そのためには、たとえば、ファイルヘッダに記載されている「追記動画ファイル」の再生時間を読み出して、29分58秒等であれば、追記不可能とするのである。
・追記元の動画ファイルの記録されているフォルダ内のファイル数が所定数以上になる場合
撮像装置100においては、静止画ファイルや動画ファイルを記録媒体151に記録するファイル数をDCFという規格に基づいて記録している。このDCF規格では、1つのフォルダ内に最大9999個のファイルを記録可能としているが、本実施例のように撮影を行った際に、静止画ファイルが新たに生成されるため、静止画ファイルが追記元の動画ファイルの格納されているフォルダに記録できないことがある。その場合には、関連する静止画ファイルと、追記元の動画ファイルとが異なるフォルダに格納されてしまい、ユーザが後で閲覧するときに見づらくなってしまう。そこで、このような場合には、追記をせずに、動画を新規なファイルとして記録し、なおかつ新しいフォルダに格納するものとする。ここでは9999個のファイルを上限として説明したが、999個でも良いし、900個でも良いし、100個でも良い。
Note that the imaging apparatus 100 according to the first and second embodiments basically appends new moving image data to the moving image data of the existing moving image file. I try not to.
When an existing moving image file to be added is protected When a specific moving image file “MDG — 000X.MOV” recorded on the recording medium 151 is protected, the user does not want to modify the file. Since there is a high possibility, appending is impossible.
When the file size exceeds a predetermined size due to additional recording The recording medium 151 is managed by, for example, the FAT file system as described above. In that case, for example, in FAT32, when it becomes 4 GB or more per file, it cannot be read. For this reason, if the “additional video file” exceeds 4 GB in the next shooting, the additional recording is impossible.
・ When there is an abnormality in the GOP structure of the moving image of the existing video file to be additionally recorded When there is an abnormality in the GOP structure as a result of checking the specific moving image file “MDG — 000X.MOV” to be added to the recording medium Since there is a possibility that moving image data to be additionally recorded may be affected, it is assumed that additional recording is impossible.
When there is no file to be additionally recorded A moving image shot in the digest movie mode is added with an MDG identifier “MDG — 000X.MOV” and a 4-digit serial number as a file name. However, if there is no moving image with an identifier including “MDG” in the file name, there is no moving image file shot in the digest movie mode, so that additional writing is impossible. Further, the file name of the moving image file recorded last in the digest movie mode is recorded in the non-illustrated non-volatile memory of the imaging apparatus 100, and additional recording is impossible even if the file does not exist.
・ When the shooting date of the movie file to be added is different from the date set on the imaging device When adding movie data shot on the same shooting date sequentially in digest movie mode, a different date will be added as the date changes. Since a moving image file is recorded, it is impossible to append.
・ When the region setting associated with the video file to be added is different from the region set in the imaging device When adding video data shot in the same region in digest movie mode sequentially, Since another video file is to be recorded, it is not possible to append. For example, the location information obtained using the GPS unit may be used as the area information, or “country” information selected when setting the clock of the imaging apparatus may be used.
・ When the information of the imaging device associated with the video file to be added is different from the imaging device that captures the new video data When adding only the video data shot in the digest movie mode with the same imaging device, It is confirmed whether the identification information of the imaging device associated with the moving image file to be added recorded on the recording medium matches the imaging device that performs shooting. If they are different, additional writing is impossible.
-When the video recording settings are not the same as the existing video file of the append source When adding new video data to the existing video file as in this embodiment, the frame rate, image size, GOP configuration, If the moving image encoding method is changed, there is a possibility that seamless playback cannot be performed. For this reason, when the moving image data of the existing moving image file and the moving image recording setting of the new moving image data are not the same, additional recording is impossible. Information such as a frame rate, an image size, a GOP configuration, and a moving image encoding method is recorded in a file header of an existing moving image file.
-When the audio recording settings are not the same as the existing video file of the append source When adding new video data to the existing video file as in this example, the audio sampling rate, number of channels, bit If the depth, the audio encoding method, or the like is changed, there is a possibility that playback cannot be performed. Therefore, when the moving image data of the existing moving image file and the audio recording setting of the new moving image data file are not the same, additional recording is impossible. Information such as an audio sampling rate and audio encoding method is recorded in a file header of an existing moving image file.
When there is an insertion / extraction history of the recording medium 151 When the imaging apparatus 100 is activated, the CPU 101 records the history of the insertion / extraction of the recording medium 151 in the non-illustrated non-volatile memory after the last shooting in the continuous movie shooting mode. If it is, appending is impossible. This is to reduce the possibility that “MDG — 000X.MOV” recorded on the recording medium 151 is edited by a computer or the like, the image size or the like is changed, and the moving image file itself is broken due to additional writing. For this purpose, the shooting date / time information recorded in the file header of “MDG — 000X.MOV” to be added is compared with the time information of the insertion / removal history remaining in the nonvolatile memory. In the additional recording moving image file “MDG — 000X.MOV”, time information first captured among moving image data of a plurality of scenes recorded in the moving image is recorded in a file header.
When the moving image playback time exceeds a predetermined time due to additional recording, the imaging apparatus 100 takes a new shooting in the continuous moving image shooting mode in consideration of the case where shooting exceeding a predetermined time (for example, 30 minutes) is not desired. Thus, when the reproduction time of the moving image data of the “additional recording moving image file” exceeds 30 minutes, the additional recording is impossible. For this purpose, for example, the playback time of the “additional video file” described in the file header is read out, and if it is 29 minutes 58 seconds or the like, additional recording is impossible.
-When the number of files in the folder in which the moving image file of the additional recording is recorded exceeds a predetermined number In the imaging apparatus 100, the number of files for recording still image files or moving image files on the recording medium 151 is based on a standard called DCF. Is recorded. In this DCF standard, a maximum of 9999 files can be recorded in one folder. However, since a still image file is newly generated when shooting is performed as in the present embodiment, Recording may not be possible in the folder in which the original video file is stored. In that case, the related still image file and the moving image file that is the additional recording source are stored in different folders, which makes it difficult for the user to view later. Therefore, in such a case, it is assumed that the moving image is recorded as a new file without additional writing and stored in a new folder. Here, 999 files are described as the upper limit, but 999 files, 900 files, 100 files, or 100 files may be used.

また、記録媒体151もしくは既存動画ファイルが壊れているなどの原因により、正常にチェックすることができなかった場合も、追記不可と判定する。   Further, even when the recording medium 151 or the existing moving image file cannot be normally checked due to a cause such as corruption, it is determined that additional writing is impossible.

本実施例では、撮像装置について説明した。撮像装置としては、一般的なコンパクトデジタルカメラ、デジタル一眼カメラ、ビデオカメラ、携帯電話が含まれる。また、本発明の技術を適用可能な装置は、撮像装置に限らず、たとえば、コンピュータであっても良い。   In this embodiment, the imaging apparatus has been described. Examples of the imaging device include a general compact digital camera, a digital single-lens camera, a video camera, and a mobile phone. An apparatus to which the technology of the present invention can be applied is not limited to an imaging apparatus, and may be a computer, for example.

(他の実施形態)
上述の実施形態は、システム或は装置のコンピュータ(或いはCPU、MPU等)によりソフトウェア的に実現することも可能である。従って、上述の実施形態をコンピュータで実現するために、該コンピュータに供給されるコンピュータプログラム自体も本発明を実現するものである。つまり、上述の実施形態の機能を実現するためのコンピュータプログラム自体も本発明の一つである。
(Other embodiments)
The above-described embodiment can also be realized in software by a computer of a system or apparatus (or CPU, MPU, etc.). Therefore, the computer program itself supplied to the computer in order to implement the above-described embodiment by the computer also realizes the present invention. That is, the computer program itself for realizing the functions of the above-described embodiments is also one aspect of the present invention.

なお、上述の実施形態を実現するためのコンピュータプログラムは、コンピュータで読み取り可能であれば、どのような形態であってもよい。例えば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等で構成することができるが、これらに限るものではない。上述の実施形態を実現するためのコンピュータプログラムは、記憶媒体又は有線/無線通信によりコンピュータに供給される。プログラムを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、磁気テープ等の磁気記憶媒体、MO、CD、DVD等の光/光磁気記憶媒体、不揮発性の半導体メモリなどがある。   The computer program for realizing the above-described embodiment may be in any form as long as it can be read by a computer. For example, it can be composed of object code, a program executed by an interpreter, script data supplied to the OS, but is not limited thereto. A computer program for realizing the above-described embodiment is supplied to a computer via a storage medium or wired / wireless communication. Examples of the storage medium for supplying the program include a magnetic storage medium such as a flexible disk, a hard disk, and a magnetic tape, an optical / magneto-optical storage medium such as an MO, CD, and DVD, and a nonvolatile semiconductor memory.

有線/無線通信を用いたコンピュータプログラムの供給方法としては、コンピュータネットワーク上のサーバを利用する方法がある。この場合、本発明を形成するコンピュータプログラムとなりうるデータファイル(プログラムファイル)をサーバに記憶しておく。プログラムファイルとしては、実行形式のものであっても、ソースコードであっても良い。そして、このサーバにアクセスしたクライアントコンピュータに、プログラムファイルをダウンロードすることによって供給する。この場合、プログラムファイルを複数のセグメントファイルに分割し、セグメントファイルを異なるサーバに分散して配置することも可能である。つまり、上述の実施形態を実現するためのプログラムファイルをクライアントコンピュータに提供するサーバ装置も本発明の一つである。   As a computer program supply method using wired / wireless communication, there is a method of using a server on a computer network. In this case, a data file (program file) that can be a computer program forming the present invention is stored in the server. The program file may be an executable format or a source code. Then, the program file is supplied by downloading to a client computer that has accessed the server. In this case, the program file can be divided into a plurality of segment files, and the segment files can be distributed and arranged on different servers. That is, a server apparatus that provides a client computer with a program file for realizing the above-described embodiment is also one aspect of the present invention.

また、上述の実施形態を実現するためのコンピュータプログラムを暗号化して格納した記憶媒体を配布し、所定の条件を満たしたユーザに、暗号化を解く鍵情報を供給し、ユーザの有するコンピュータへのインストールを許可してもよい。鍵情報は、例えばインターネットを介してホームページからダウンロードさせることによって供給することができる。また、上述の実施形態を実現するためのコンピュータプログラムは、すでにコンピュータ上で稼働するOSの機能を利用するものであってもよい。さらに、上述の実施形態を実現するためのコンピュータプログラムは、その一部をコンピュータに装着される拡張ボード等のファームウェアで構成してもよいし、拡張ボード等が備えるCPUで実行するようにしてもよい。   In addition, a storage medium in which the computer program for realizing the above-described embodiment is encrypted and distributed is distributed, and key information for decrypting is supplied to a user who satisfies a predetermined condition, and the user's computer Installation may be allowed. The key information can be supplied by being downloaded from a homepage via the Internet, for example. Further, the computer program for realizing the above-described embodiment may use an OS function already running on the computer. Further, a part of the computer program for realizing the above-described embodiment may be configured by firmware such as an expansion board attached to the computer, or may be executed by a CPU provided in the expansion board. Good.

Claims (15)

複数のシーンから構成される動画データを含む動画ファイルと、各シーンに対応する静止画ファイルとを記録媒体から再生する再生手段と、
前記静止画ファイルのうち指定された静止画ファイルに対応する動画ファイルを特定する特定手段と、
前記特定された動画ファイルの動画データの画像を表示手段に表示する表示制御手段と、
前記特定された動画ファイルの動画データの再生が終了したことに応じて、前記指定された静止画ファイルを選択するように制御する制御手段とを有することを特徴とする画像処理装置。
Reproducing means for reproducing a moving image file including moving image data composed of a plurality of scenes and a still image file corresponding to each scene from a recording medium,
A specifying means for specifying a moving image file corresponding to a specified still image file among the still image files;
Display control means for displaying on the display means an image of the moving image data of the specified moving image file;
An image processing apparatus comprising: control means for controlling to select the specified still image file in response to the end of reproduction of the moving image data of the specified moving image file.
前記制御手段は、前記特定された動画ファイルの動画データの再生が中断したことに応じて、前記指定された静止画ファイルを選択するように制御することを特徴とする請求項1記載の画像処理装置。   2. The image processing according to claim 1, wherein the control unit performs control so as to select the designated still image file in response to interruption of reproduction of the moving image data of the specified moving image file. apparatus. 前記制御手段は、前記特定された動画ファイルの動画データの再生が中断したことに応じて、前記中断したシーンまたは中断したシーンの一つ前のシーンに対応する静止画ファイルを選択するように制御することを特徴とする請求項1記載の画像処理装置。   The control means controls to select a still image file corresponding to the interrupted scene or a scene immediately before the interrupted scene in response to the interruption of the reproduction of the moving image data of the specified moving image file. The image processing apparatus according to claim 1, wherein: 前記表示制御手段は、前記特定された動画ファイルの動画データの先頭から表示手段に表示することを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the display control unit displays the moving image data of the identified moving image file on the display unit from the beginning. 前記表示制御手段は、前記特定された動画ファイルの動画データのうち前記指定された静止画ファイルに対応するシーンから表示手段に表示することを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。   4. The display device according to claim 1, wherein the display control unit displays the scene corresponding to the designated still image file in the moving image data of the specified moving image file on the display unit. 5. The image processing apparatus described. 前記表示制御手段は、前記特定された動画ファイルの動画データのうち前記指定された静止画ファイルに対応するシーンのみを表示手段に表示することを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。   4. The display control unit according to claim 1, wherein the display control unit displays only a scene corresponding to the designated still image file in the moving image data of the specified moving image file on the display unit. 5. An image processing apparatus according to 1. 前記制御手段は、第1のモードにおいては、前記特定された動画ファイルの動画データの再生が終了したことに応じて、前記特定された動画ファイルを選択し、第2のモードにおいては、前記特定された動画ファイルの動画データの再生が終了したことに応じて、前記指定された静止画ファイルを選択し、
前記表示制御手段は、前記第1のモードにおいては、前記特定された動画ファイルの再生を行うか否かを選択する画面を表示手段に表示し、前記第2のモードにおいては、前記特定された動画ファイルの再生を行うか否かを選択する画面を表示手段に表示しないことを特徴とする請求項1記載の画像処理装置。
In the first mode, the control means selects the specified moving image file in response to the end of reproduction of the moving image data of the specified moving image file, and in the second mode, the specified moving file. In response to the end of the playback of the video data of the selected video file, the designated still image file is selected,
The display control means displays on the display means a screen for selecting whether or not to play the specified moving image file in the first mode, and in the second mode, the specified control means. 2. The image processing apparatus according to claim 1, wherein a screen for selecting whether or not to reproduce a moving image file is not displayed on the display means.
複数のシーンから構成される動画データを含む動画ファイルと、各シーンに対応する静止画ファイルとを記録媒体から再生する再生ステップと、
前記静止画ファイルのうち指定された静止画ファイルに対応する動画ファイルを特定する特定ステップと、
前記特定された動画ファイルの動画データの画像を表示手段に表示する表示制御ステップと、
前記特定された動画ファイルの動画データの再生が終了したことに応じて、前記指定された静止画ファイルを選択するように制御する制御ステップとを有することを特徴とする画像処理方法。
A reproduction step of reproducing a moving image file including moving image data composed of a plurality of scenes and a still image file corresponding to each scene from a recording medium;
A specifying step of specifying a video file corresponding to the specified still image file among the still image files;
A display control step of displaying an image of the moving image data of the specified moving image file on a display means;
And a control step of controlling to select the designated still image file in response to the end of reproduction of the moving image data of the specified moving image file.
前記制御ステップにおいて、前記特定された動画ファイルの動画データの再生が中断したことに応じて、前記指定された静止画ファイルを選択するように制御することを特徴とする請求項8記載の画像処理方法。   9. The image processing according to claim 8, wherein in the control step, the designated still image file is controlled to be selected in response to the interruption of the reproduction of the moving image data of the specified moving image file. Method. 前記制御ステップにおいて、前記特定された動画ファイルの動画データの再生が中断したことに応じて、前記中断したシーンまたは中断したシーンの一つ前のシーンに対応する静止画ファイルを選択するように制御することを特徴とする請求項8記載の画像処理方法。   In the control step, when the reproduction of the moving image data of the specified moving image file is interrupted, control is performed so as to select a still image file corresponding to the interrupted scene or a scene immediately before the interrupted scene. The image processing method according to claim 8. 前記表示制御ステップにおいて、前記特定された動画ファイルの動画データの先頭から表示手段に表示することを特徴とする請求項8から10のいずれか1項に記載の画像処理方法。   11. The image processing method according to claim 8, wherein in the display control step, the moving image data of the identified moving image file is displayed on a display unit. 前記表示制御ステップにおいて、前記特定された動画ファイルの動画データのうち前記指定された静止画ファイルに対応するシーンから表示手段に表示することを特徴とする請求項8から10のいずれか1項に記載の画像処理方法。   11. The display according to claim 8, wherein, in the display control step, a scene corresponding to the specified still image file in the moving image data of the specified moving image file is displayed on a display unit. The image processing method as described. 前記表示制御ステップにおいて、前記特定された動画ファイルの動画データのうち前記指定された静止画ファイルに対応するシーンのみを表示手段に表示することを特徴とする請求項8から10のいずれか1項に記載の画像処理方法。   11. The display control step of displaying only a scene corresponding to the specified still image file in the moving image data of the specified moving image file on a display unit. An image processing method described in 1. 前記制御ステップは、第1のモードにおいては、前記特定された動画ファイルの動画データの再生が終了したことに応じて、前記特定された動画ファイルを選択し、第2のモードにおいては、前記特定された動画ファイルの動画データの再生が終了したことに応じて、前記指定された静止画ファイルを選択し、
前記表示制御ステップは、前記第1のモードにおいては、前記特定された動画ファイルの再生を行うか否かを選択する画面を表示手段に表示し、前記第2のモードにおいては、前記特定された動画ファイルの再生を行うか否かを選択する画面を表示手段に表示しないことを特徴とする請求項8記載の画像処理方法。
In the first mode, the control step selects the specified moving image file in response to the end of reproduction of the moving image data of the specified moving image file, and in the second mode, the specifying step In response to the end of the playback of the video data of the selected video file, the designated still image file is selected,
In the first mode, the display control step displays a screen for selecting whether or not to play back the specified moving image file on the display means, and in the second mode, the specified mode 9. The image processing method according to claim 8, wherein a screen for selecting whether to reproduce a moving image file is not displayed on the display means.
請求項1から7のいずれか1項に記載の画像処理装置の各手段としてコンピュータを機能させるプログラム。   A program that causes a computer to function as each unit of the image processing apparatus according to claim 1.
JP2012203011A 2012-09-14 2012-09-14 Image processing apparatus, image processing method, and program Expired - Fee Related JP6071358B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012203011A JP6071358B2 (en) 2012-09-14 2012-09-14 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012203011A JP6071358B2 (en) 2012-09-14 2012-09-14 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2014060499A true JP2014060499A (en) 2014-04-03
JP6071358B2 JP6071358B2 (en) 2017-02-01

Family

ID=50616620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012203011A Expired - Fee Related JP6071358B2 (en) 2012-09-14 2012-09-14 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP6071358B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016084779A1 (en) * 2014-11-27 2016-06-02 オリンパス株式会社 Image playback apparatus and image playback program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101911A (en) * 2001-09-25 2003-04-04 Sanyo Electric Co Ltd Image reproducing device
JP2006165679A (en) * 2004-12-02 2006-06-22 Casio Comput Co Ltd Moving picture reproducing system and program thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101911A (en) * 2001-09-25 2003-04-04 Sanyo Electric Co Ltd Image reproducing device
JP2006165679A (en) * 2004-12-02 2006-06-22 Casio Comput Co Ltd Moving picture reproducing system and program thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016084779A1 (en) * 2014-11-27 2016-06-02 オリンパス株式会社 Image playback apparatus and image playback program
JP5959787B1 (en) * 2014-11-27 2016-08-02 オリンパス株式会社 Image reproduction apparatus and image reproduction program
CN106464827A (en) * 2014-11-27 2017-02-22 奥林巴斯株式会社 Image playback apparatus and image playback program
US10015436B2 (en) 2014-11-27 2018-07-03 Olympus Corporation Image playback apparatus and computer-readable recording medium
CN106464827B (en) * 2014-11-27 2019-10-01 奥林巴斯株式会社 Image-reproducing means and imaging reconstruction method

Also Published As

Publication number Publication date
JP6071358B2 (en) 2017-02-01

Similar Documents

Publication Publication Date Title
EP2577662A1 (en) Video summary method
JP5783737B2 (en) Image pickup apparatus and moving image recording apparatus control method
JP6270555B2 (en) Image processing system, imaging apparatus, and control method thereof
JP2012161012A (en) Moving picture recorder
JP2009225361A (en) Recording device and recording method, and editing device and editing method
JP5082973B2 (en) Video recording system and imaging apparatus
US9565360B2 (en) Image data recording apparatus capable of recording still and moving images simultaneously
JP5284074B2 (en) Image processing apparatus and image processing method
JP2012156587A (en) Video recording device
JP5818599B2 (en) Movie recording device
JP5773855B2 (en) Image processing device
JP5713701B2 (en) Movie recording device
JP6071358B2 (en) Image processing apparatus, image processing method, and program
JP5769434B2 (en) Movie recording device, information processing device
JP6071357B2 (en) Image processing apparatus, image processing method, and program
JP6410483B2 (en) Image processing device
KR102557384B1 (en) Electronic apparatus and control method thereof
JP6049369B2 (en) Image processing apparatus and image processing apparatus control method
JP6071399B2 (en) Image processing apparatus and image processing apparatus control method
JP5889459B2 (en) Recording device
JP6218489B2 (en) Image processing device
JP2019075629A (en) Image processing system
JP4540752B2 (en) Content distribution system
JP2014121047A (en) Recorder, recording method and program
JP2014204167A (en) Imaging apparatus, imaging apparatus control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150901

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160809

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161007

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161227

R151 Written notification of patent or utility model registration

Ref document number: 6071358

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees