JP2017069902A - Image processing apparatus, control method therefor and control program - Google Patents

Image processing apparatus, control method therefor and control program Download PDF

Info

Publication number
JP2017069902A
JP2017069902A JP2015196777A JP2015196777A JP2017069902A JP 2017069902 A JP2017069902 A JP 2017069902A JP 2015196777 A JP2015196777 A JP 2015196777A JP 2015196777 A JP2015196777 A JP 2015196777A JP 2017069902 A JP2017069902 A JP 2017069902A
Authority
JP
Japan
Prior art keywords
moving image
file
combined
control unit
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015196777A
Other languages
Japanese (ja)
Other versions
JP6566826B2 (en
JP2017069902A5 (en
Inventor
佑樹 筑比地
Yuki Tsuihiji
佑樹 筑比地
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 JP2015196777A priority Critical patent/JP6566826B2/en
Publication of JP2017069902A publication Critical patent/JP2017069902A/en
Publication of JP2017069902A5 publication Critical patent/JP2017069902A5/ja
Application granted granted Critical
Publication of JP6566826B2 publication Critical patent/JP6566826B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the occurrence of a case of giving a user an operational contradiction that a combined moving image file can be preserved during combining moving image files.SOLUTION: At the combination of a plurality of moving image files into one combined moving image file, if a moving image file is selected from among the plurality of moving image files, a control unit 101 generates work history information which identifies the selected moving image file. If there is an available capacity in a recording medium sufficient for preserving the combined moving image file, the control unit 101 performs the combination processing of the moving image files using the work history information.SELECTED DRAWING: Figure 5

Description

本発明は、画像処理装置、およびその制御方法、および制御プログラムに関し、特に、複数の動画像ファイルを結合して一つの動画像ファイルを生成する画像処理装置に関する。   The present invention relates to an image processing apparatus, a control method therefor, and a control program, and more particularly to an image processing apparatus that combines a plurality of moving image files to generate one moving image file.

従来、デジタルカメラ、ビデオカメラ、又は携帯電話機およびスマートフォンなどの端末装置において、複数の動画ファイルを結合して1つの動画ファイルを生成するようにしたものがある。そして、結合すべき動画ファイルを選択している際にバッテリー切れ又は予期せぬシャットダウンなどが発生した場合に備えて、直近の選択状態を作業履歴ファイルとして記録媒体に保存するようにしたものがある。   Conventionally, there is a digital camera, a video camera, or a terminal device such as a mobile phone and a smartphone that combines a plurality of moving image files to generate one moving image file. And in case of running out of battery or unexpected shutdown when selecting video files to be combined, there is one that saves the latest selection state as a work history file on the recording medium .

ところが、直近の作業履歴ファイルを用いて再度動画像ファイルの選択(結合選択)を行う場合、結合選択を行う前のユーザー操作によっては、記録媒体の空き容量が変化してしまうことがある。そして、記録媒体の空き容量が不足している場合でも、作業履歴ファイルが記録媒体に存在する関係上、選択した動画ファイルを記録媒体に保存可能であるという操作上の矛盾をユーザーに与える恐れがある。   However, when the moving image file is selected again (combined selection) using the latest work history file, the free capacity of the recording medium may change depending on the user operation before performing the combined selection. Even when the recording medium has insufficient free space, the operation history file may exist on the recording medium, which may cause the user to have an operational contradiction that the selected video file can be stored on the recording medium. is there.

一方、画像の編集履歴を記録して、編集を途中で終了した画像データを保存し直すことなく編集された画像を再生表示するようにした出力装置がある(特許文献1参照)。さらに、撮影シーンに最適なBGMを自動的に挿入できるようにした撮像記録装置がある(特許文献2参照)。   On the other hand, there is an output device that records an editing history of an image and reproduces and displays the edited image without re-saving the image data that has been edited halfway (see Patent Document 1). Furthermore, there is an imaging and recording apparatus that can automatically insert an optimum BGM for a shooting scene (see Patent Document 2).

特開2006−48826号公報JP 2006-48826 A 特開2004−221666号公報JP 2004-221666 A

上述の特許文献1に記載の出力装置では、編集を途中で終了した画像データを保存し直すことなく編集された画像を再生表示することが記載されているものの、記録媒体の空き容量が不足している際の操作上の矛盾を解消することは困難である。   Although the output device described in Patent Document 1 describes that an edited image is reproduced and displayed without re-storing image data that has been edited halfway, the recording medium has insufficient free space. It is difficult to eliminate operational contradictions when

また、特許文献2に記載の撮像記録装置では、撮影シーンに最適なBGMを挿入することが記載されているものの、同様に、記録媒体の空き容量が不足している際の操作上の矛盾を解消することは困難である。   In addition, although the imaging and recording apparatus described in Patent Document 2 describes that an optimal BGM is inserted into a shooting scene, similarly, there is an operation contradiction when the recording medium has insufficient free space. It is difficult to eliminate.

従って、本発明の目的は、動画ファイルの結合を行う際にユーザーに結合動画ファイルの保存が行えるという操作上の矛盾を与えることのない画像処理装置、その制御方法、および制御プログラムを提供することにある。   Accordingly, it is an object of the present invention to provide an image processing apparatus, a control method thereof, and a control program that do not give an operational contradiction that a combined moving image file can be saved to a user when combining moving image files. It is in.

上記の目的を達成するため、本発明による画像処理装置は、複数の動画ファイルを結合して一つの結合動画ファイルとする画像処理装置であって、前記複数の動画ファイルから結合する動画ファイルを選択した際、選択された前記動画ファイルを特定する作業履歴情報を生成する生成手段と、前記結合動画ファイルを保存するための記録媒体に、前記結合動画ファイルを保存する空き容量が存在するか否かを判定する判定手段と、前記判定手段によって前記空き容量が存在すると判定された場合に、前記作業履歴情報を用いて動画ファイルの結合処理を行う結合処理手段と、を有することを特徴とする。   To achieve the above object, an image processing apparatus according to the present invention is an image processing apparatus that combines a plurality of moving image files into one combined moving image file, and selects a moving image file to be combined from the plurality of moving image files. Whether or not there is a free space for storing the combined moving image file in the generation unit that generates the work history information for specifying the selected moving image file and the recording medium for storing the combined moving image file. And a combination processing unit for performing a combination process of moving image files using the work history information when the determination unit determines that the free space exists.

本発明による制御方法は、複数の動画ファイルを結合して一つの結合動画ファイルとする画像処理装置の制御方法であって、前記複数の動画ファイルから結合する動画ファイルを選択した際、選択された前記動画ファイルを特定する作業履歴情報を生成する生成ステップと、前記結合動画ファイルを保存するための記録媒体に、前記結合動画ファイルを保存する空き容量が存在するか否かを判定する判定ステップと、前記判定ステップで前記空き容量が存在すると判定された場合に、前記作業履歴情報を用いて動画ファイルの結合処理を行う結合処理ステップと、を有することを特徴とする。   The control method according to the present invention is a control method of an image processing apparatus that combines a plurality of moving image files into one combined moving image file, and is selected when a moving image file to be combined is selected from the plurality of moving image files. A generating step for generating work history information for specifying the moving image file; and a determining step for determining whether or not a recording medium for storing the combined moving image file has a free space for storing the combined moving image file; A combination processing step of performing a combination processing of moving image files using the work history information when it is determined in the determination step that the free space exists.

本発明による制御プログラムは、複数の動画ファイルを結合して一つの結合動画ファイルとする画像処理装置で用いられる制御プログラムであって、前記画像処理装置が備えるコンピュータに、前記複数の動画ファイルから結合する動画ファイルを選択した際、選択された前記動画ファイルを特定する作業履歴情報を生成する生成ステップと、前記結合動画ファイルを保存するための記録媒体に、前記結合動画ファイルを保存する空き容量が存在するか否かを判定する判定ステップと、前記判定ステップで前記空き容量が存在すると判定された場合に、前記作業履歴情報を用いて動画ファイルの結合処理を行う結合処理ステップと、を実行させることを特徴とする。   A control program according to the present invention is a control program used in an image processing apparatus that combines a plurality of moving image files into one combined moving image file, and combines the plurality of moving image files into a computer included in the image processing apparatus. When the moving image file to be selected is selected, a generation step for generating work history information for specifying the selected moving image file, and a recording medium for storing the combined moving image file have a free space for storing the combined moving image file. A determination step for determining whether or not there exists, and a combination processing step for performing a combination processing of moving image files using the work history information when it is determined in the determination step that the free space exists. It is characterized by that.

本発明によれば、空き容量が存在すると判定された場合に、作業履歴情報を用いて動画ファイルの結合処理を行う。これによって、動画ファイルの結合を行う際にユーザーに結合動画ファイルの保存が行えるという操作上の矛盾を与えることがない。   According to the present invention, when it is determined that there is a free space, the moving image file is combined using the work history information. As a result, there is no operational inconsistency that the combined moving image file can be saved to the user when combining the moving image files.

本発明の実施の形態による画像処理装置の1つである撮像装置の一例についてその構成を示すブロック図である。1 is a block diagram illustrating a configuration of an example of an imaging apparatus that is one of image processing apparatuses according to an embodiment of the present invention. 図1に示すカメラで生成される作業履歴ファイルのフォーマットの一例を示す図である。It is a figure which shows an example of the format of the work history file produced | generated with the camera shown in FIG. 図1に示すカメラで用いられる階層型ファイル構造の一例を示す図である。It is a figure which shows an example of the hierarchical file structure used with the camera shown in FIG. 図1に示すカメラで行われる再生モード処理の一例を説明するためのフローチャートである。6 is a flowchart for explaining an example of a playback mode process performed by the camera shown in FIG. 1. 図4に示す動画ミックス処理の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the moving image mixing process shown in FIG. 図5に示す結合動画選択処理を説明するためのフローチャートである。It is a flowchart for demonstrating the combined moving image selection process shown in FIG. 図4に示す動画ミックス処理の他の例を説明するためのフローチャートである。6 is a flowchart for explaining another example of the moving image mixing process shown in FIG. 4. 図7に示す作業履歴動作処理を説明するためのフローチャートである。It is a flowchart for demonstrating the work history operation | movement process shown in FIG. 図5又は図7に示す動画ミックス処理において表示部に表示されるガイダンス表示の一例を説明するための図であり、(a)および(b)は動画ファイルミックス画面の一例を示す図、(c)は動画結合画面を示す図、(d)は選択済み動画の選択解除画面を示す図、(e)は記録媒体に記録された画像の削除を行う際の削除画面を示す図である。FIG. 8 is a diagram for explaining an example of guidance display displayed on the display unit in the video mix process shown in FIG. 5 or FIG. 7, and (a) and (b) are diagrams showing an example of a video file mix screen; () Is a diagram showing a moving image combination screen, (d) is a diagram showing a selection cancellation screen for a selected moving image, and (e) is a diagram showing a deletion screen when deleting an image recorded on a recording medium. 図5又は図7に示す動画ミックス処理において表示部に表示される動画選択画面および削除画像選択画面の一例を説明するための図であり、(a)〜(c)は動画選択画面を示す図、(d)は削除画像選択画面を示す図である。FIG. 8 is a diagram for describing an example of a moving image selection screen and a deletion image selection screen displayed on the display unit in the moving image mixing process illustrated in FIG. 5 or FIG. (D) is a figure which shows a deletion image selection screen.

図1は、本発明の実施の形態による画像処理装置の1つである撮像装置の一例についてその構成を示すブロック図である。なお、以下の説明では、撮像装置としてデジタルカメラ(以下単にカメラと呼ぶ)を例に挙げて説明するが、撮像装置は携帯電話機又はスマートフォンなどの端末装置であってもよい。   FIG. 1 is a block diagram showing a configuration of an example of an imaging apparatus which is one of image processing apparatuses according to an embodiment of the present invention. In the following description, a digital camera (hereinafter simply referred to as a camera) will be described as an example of the imaging device. However, the imaging device may be a terminal device such as a mobile phone or a smartphone.

カメラ100は制御部101を備えており、制御部101は、例えば、CPU(MPU)、メモリ(DRAM又はSRAM)、および不揮発性メモリ(EEPROM)を有している。そして、制御部101は不揮発性メモリに記録された各種プログラムを実行してカメラ100を制御する。さらに、制御部101は、ユーザーの操作を受け付ける操作部102から操作信号を受けて、当該操作信号に応じてカメラ100を制御する。また、制御部101は、後述する画像処理部111および113で得られた画像を解析して、当該解析結果に応じてカメラ100を制御する。   The camera 100 includes a control unit 101. The control unit 101 includes, for example, a CPU (MPU), a memory (DRAM or SRAM), and a nonvolatile memory (EEPROM). Then, the control unit 101 controls the camera 100 by executing various programs recorded in the nonvolatile memory. Furthermore, the control unit 101 receives an operation signal from the operation unit 102 that receives a user operation, and controls the camera 100 according to the operation signal. In addition, the control unit 101 analyzes images obtained by image processing units 111 and 113 described later, and controls the camera 100 according to the analysis result.

操作部102は、例えば、電源ボタン、静止画記録ボタン、動画記録開始ボタン、ズーム調整ボタン、およびオートフォーカスボタンなどの撮影に関連する各種操作を入力するボタン類(スイッチ類)を有している。さらに、操作部102には、メニュー表示ボタン、決定ボタン、その他カーソルキー、ポインティングデバイス、およびタッチパネルなどが備えられている。そして、ユーザーによってこれらのキー又はボタンなどが操作されると、操作部102は、操作に応じた操作信号を制御部101に送る。   The operation unit 102 includes buttons (switches) for inputting various operations related to shooting such as a power button, a still image recording button, a moving image recording start button, a zoom adjustment button, and an autofocus button. . Further, the operation unit 102 includes a menu display button, a determination button, other cursor keys, a pointing device, a touch panel, and the like. When these keys or buttons are operated by the user, the operation unit 102 sends an operation signal corresponding to the operation to the control unit 101.

なお、バス103は、各種データ、制御信号、および指示信号などをカメラ100の各ブロックに送るための汎用バスである。   The bus 103 is a general-purpose bus for sending various data, control signals, instruction signals, and the like to each block of the camera 100.

不揮発性メモリ105は、電気的に消去・記録可能なメモリであり、制御部101の動作用の定数およびプログラムなどが記憶される。撮像部110は、レンズを介して受けた光学像(被写体像)を絞りによってその光量を制御し、CCDセンサ又はCMOSセンサなどの撮像素子に結像する。そして、撮像素子は光学像に応じた画像信号(アナログ画像信号)を出力する。さらに、撮像部110は、当該アナログ画像信号をA/D変換をしてデジタル画像信号を画像処理部111に送る。   The nonvolatile memory 105 is an electrically erasable and recordable memory, and stores constants and programs for the operation of the control unit 101. The imaging unit 110 controls the amount of light of an optical image (subject image) received through a lens by a diaphragm, and forms an image on an imaging element such as a CCD sensor or a CMOS sensor. The image sensor outputs an image signal (analog image signal) corresponding to the optical image. Further, the imaging unit 110 performs A / D conversion on the analog image signal and sends the digital image signal to the image processing unit 111.

画像処理部111は、デジタル画像信号に対して予め設定された設定値に基づいてホワイトバランス、色、および明るさなどを調整する画質調整処理を行って画像データを出力する。   The image processing unit 111 performs image quality adjustment processing for adjusting white balance, color, brightness, and the like based on setting values set in advance for the digital image signal, and outputs image data.

制御部101は画像データをメモリ104、後述する映像出力部150および表示制御部131に送る。   The control unit 101 sends the image data to the memory 104, a video output unit 150 and a display control unit 131 which will be described later.

撮像部110は「光学ズーム」機能および「光学防振」機能を備えている。また、画像処理部111は「電子ズーム」機能および「電子防振」機能を備えている。「光学ズーム」機能および「電子ズーム」機能の各々はユーザー操作に応じて画像を拡大するための機能である。また、「光学防振」機能および「電子防振」機能の各々は、カメラ100の振動に起因する画像の揺れを防止すためのる機能である。そして、これらの機能は、制御部101の制御下で、同時に用いられるか又は交互に用いられる。さらには、これら機能の各々は単独で用いられることもある。   The imaging unit 110 has an “optical zoom” function and an “optical image stabilization” function. The image processing unit 111 has an “electronic zoom” function and an “electronic image stabilization” function. Each of the “optical zoom” function and the “electronic zoom” function is a function for enlarging an image in accordance with a user operation. Each of the “optical image stabilization” function and the “electronic image stabilization” function is a function for preventing image shake caused by the vibration of the camera 100. These functions are used simultaneously or alternately under the control of the control unit 101. Furthermore, each of these functions may be used alone.

撮像部110は、ユーザーによるズームキーの操作に応じて、「光学ズーム」機能によってレンズを光軸に沿って移動させ、光学像を拡大又は縮小する。画像処理部111は、ユーザーによるズームキーの操作に応じて、「電子ズーム」機能によって撮像部110で得られた画像の一部を切り出した画像を拡大する。   The imaging unit 110 enlarges or reduces the optical image by moving the lens along the optical axis by the “optical zoom” function according to the operation of the zoom key by the user. The image processing unit 111 enlarges an image obtained by cutting out a part of the image obtained by the imaging unit 110 by the “electronic zoom” function in accordance with the operation of the zoom key by the user.

撮像部110は、制御部101の制御下で、振動検出部(図示せず)で得られた加速度信号に基づいて、「光学防振」機能によってレンズを光軸に交差する方向に移動して、画像の揺れを防止する。画像処理部111は、制御部101の制御下で、上記の加速度信号に基づいて、「電子防振」機能によって撮像部110で得られた画像の揺れを防止する。   Under the control of the control unit 101, the imaging unit 110 moves the lens in a direction intersecting the optical axis by an “optical image stabilization” function based on an acceleration signal obtained by a vibration detection unit (not shown). , Prevent image shake. Under the control of the control unit 101, the image processing unit 111 prevents shaking of the image obtained by the imaging unit 110 by the “electronic image stabilization” function based on the acceleration signal.

なお、「電子防振」機能については、加速度信号に基づいて、撮像素子において画素読み出し位置をずらすことによっても画像の揺れを防止することができる。これらの機能については既知であるので、詳細な説明は省略する。   As for the “electronic image stabilization” function, image shaking can also be prevented by shifting the pixel readout position in the image sensor based on the acceleration signal. Since these functions are known, a detailed description is omitted.

音声入力部120は、例えば、内蔵の無指向性マイク又は音声入力端子を介して接続された外部マイクによって、カメラ100の周囲の音声(音響)を集音する。そして、音声入力部120は、集音の結果得られた音声信号をA/D変換してデジタル音声信号として音声処理部121に送る。   The audio input unit 120 collects sound (sound) around the camera 100 using, for example, a built-in omnidirectional microphone or an external microphone connected via an audio input terminal. Then, the audio input unit 120 performs A / D conversion on the audio signal obtained as a result of the sound collection, and sends it to the audio processing unit 121 as a digital audio signal.

音声処理部121は、デジタル音声信号のレベルを適正化処理などの音声処理によって適正化した後、デジタル音声信号を制御部101に送る。そして、制御部101はデジタル音声信号を音声データとしてメモリ104に記録する。この結果、メモリ104には、画像データおよび音声データが一時的に記憶される。   The audio processing unit 121 optimizes the level of the digital audio signal by audio processing such as optimization processing, and then sends the digital audio signal to the control unit 101. Then, the control unit 101 records the digital audio signal in the memory 104 as audio data. As a result, the memory 104 temporarily stores image data and audio data.

画像処理部111は、メモリ104に記憶された画像データを読み出して圧縮符号化を行って、圧縮画像データを生成する。そして、制御部101は圧縮画像データを記録再生部140に送る。   The image processing unit 111 reads out the image data stored in the memory 104, performs compression encoding, and generates compressed image data. Then, the control unit 101 sends the compressed image data to the recording / reproducing unit 140.

同様に、音声処理部121は、メモリ104に記憶された音声データを読み出して圧縮符号化を行って、圧縮音声データを生成する。そして、制御部101は圧縮音声データを記録再生部140に送る。   Similarly, the audio processing unit 121 reads out audio data stored in the memory 104, performs compression encoding, and generates compressed audio data. Then, the control unit 101 sends the compressed audio data to the recording / reproducing unit 140.

記録再生部140は、圧縮画像データ、圧縮音声データ、およびその他撮影に関する制御データ(各種データ)などを記録媒体141に記録する。なお、音声データを圧縮符号化しない場合には、制御部101は音声データおよび圧縮画像データを記録再生部140に送る。そして、記録再生部140は音声データおよび圧縮画像データを記録媒体141に記録する。   The recording / playback unit 140 records compressed image data, compressed audio data, and other shooting-related control data (various data) on the recording medium 141. When the audio data is not compression-encoded, the control unit 101 sends the audio data and the compressed image data to the recording / reproducing unit 140. Then, the recording / reproducing unit 140 records the audio data and the compressed image data on the recording medium 141.

記録媒体141は、カメラ100に内蔵の記録媒体であってもよく、カメラ100に対して取外し可能な記録媒体でもよい。例えば、記録媒体141として、ハードディスク、光ディスク、光磁気ディスク、CD−R、DVD−R、磁気テープ、不揮発性の半導体メモリ、又はフラッシュメモリが用いられる。   The recording medium 141 may be a recording medium built in the camera 100 or a recording medium removable from the camera 100. For example, as the recording medium 141, a hard disk, an optical disk, a magneto-optical disk, a CD-R, a DVD-R, a magnetic tape, a nonvolatile semiconductor memory, or a flash memory is used.

記録再生部140は、記録媒体141に記録された圧縮画像データ、圧縮音声データ(又は音声データ)、および各種データなどを読み出す(つまり、再生する)。そして、制御部101は、これら圧縮画像データおよび圧縮音声データ(又は音声データ)を画像処理部111および音声処理部121に送る。   The recording / reproducing unit 140 reads (that is, reproduces) compressed image data, compressed audio data (or audio data), various data, and the like recorded on the recording medium 141. Then, the control unit 101 sends the compressed image data and the compressed audio data (or audio data) to the image processing unit 111 and the audio processing unit 121.

画像処理部111は圧縮画像データをメモリ104に一時的に記憶する。画像処理部111は圧縮画像データを所定の手順で復号化して画像データを得る。そして、画像処理部111は画像データを映像出力部150および表示制御部131に送る。   The image processing unit 111 temporarily stores the compressed image data in the memory 104. The image processing unit 111 decodes the compressed image data according to a predetermined procedure to obtain image data. Then, the image processing unit 111 sends the image data to the video output unit 150 and the display control unit 131.

同様にして、音声処理部121は、圧縮音声データをメモリ104に一時的に記憶する。音声処理部121は圧縮音声データを所定の手順で復号化して音声データを得る。そして、音声処理部121は音声データを音声出力部151に送る。なお、音声データが記録媒体141に非圧縮記録されている場合には、制御部101は音声データを直接音声出力部151に送る。   Similarly, the audio processing unit 121 temporarily stores the compressed audio data in the memory 104. The audio processing unit 121 decodes the compressed audio data according to a predetermined procedure to obtain audio data. Then, the voice processing unit 121 sends the voice data to the voice output unit 151. When the audio data is recorded in the recording medium 141 in a non-compressed manner, the control unit 101 sends the audio data directly to the audio output unit 151.

音声出力部151は、例えば、音声出力端子を有している。音声出力部151は音声出力端子に接続されたイヤホン又はスピーカなどから音声データに応じた音声を送出する。なお、音声出力部151は、カメラ100に内蔵のスピーカであってもよい。   The audio output unit 151 has an audio output terminal, for example. The audio output unit 151 transmits audio corresponding to audio data from an earphone or a speaker connected to the audio output terminal. Note that the audio output unit 151 may be a speaker built in the camera 100.

映像出力部150は、例えば、映像出力端子を備えている。映像出力部150は、映像出力端子に接続された外部ディスプレイなどに画像データに応じた画像を表示する。   The video output unit 150 includes, for example, a video output terminal. The video output unit 150 displays an image corresponding to the image data on an external display or the like connected to the video output terminal.

なお、音声出力部151および映像出力部150は、統合された1つの出力端子、例えば、HDMI(High−Definition Multimedia Interface:登録商標)端子を備えるようにしてもよい。   Note that the audio output unit 151 and the video output unit 150 may include an integrated output terminal, for example, an HDMI (High-Definition Multimedia Interface: registered trademark) terminal.

表示制御部131は、画像データに応じた映像(画像)を表示部130に表示する。さらに、表示制御部131は、制御部101の制御下でカメラ100を操作するための操作画面(メニュー画面)などを表示部130に表示する。なお、表示部130は、例えば、液晶ディスプレイ、有機ELディスプレイ、又は電子ペーパーなどの表示デバイスであればいずれのデバイスを用いてもよい。   The display control unit 131 displays a video (image) corresponding to the image data on the display unit 130. Further, the display control unit 131 displays an operation screen (menu screen) for operating the camera 100 under the control of the control unit 101 on the display unit 130. The display unit 130 may be any device as long as it is a display device such as a liquid crystal display, an organic EL display, or electronic paper.

通信部152は、カメラ100と外部装置との間で通信を行うために用いられる。通信部152は、制御部101の制御下で、例えば、音声データ、画像データ、圧縮音声データ、および圧縮画像データなどを送受する。   The communication unit 152 is used to perform communication between the camera 100 and an external device. The communication unit 152 transmits and receives, for example, audio data, image data, compressed audio data, and compressed image data under the control of the control unit 101.

さらに、通信部152は、撮影開始および終了コマンドなどの撮影に係る制御信号、その他の情報を外部装置との間で送受する。通信部152として、例えば、赤外線通信モジュール、Bluetooth(登録商標)通信モジュール、無線LAN通信モジュール、WirelessUSB、およびGPS受信機などの無線通信モジュールが用いられる。   Furthermore, the communication unit 152 transmits and receives control signals related to shooting such as shooting start and end commands and other information to and from an external device. As the communication unit 152, for example, a wireless communication module such as an infrared communication module, a Bluetooth (registered trademark) communication module, a wireless LAN communication module, a Wireless USB, and a GPS receiver is used.

続いて、図1に示すカメラ100の撮影動作(通常動作)について説明する。   Next, the photographing operation (normal operation) of the camera 100 shown in FIG. 1 will be described.

ユーザーが操作部102に備えられた電源ボタンを操作すると、操作部102から制御部101に起動指示が送られる。この起動指示に応答して、制御部101は、電源供給部(図示せず)を制御して、カメラ100に電源を供給する。   When the user operates a power button provided on the operation unit 102, an activation instruction is sent from the operation unit 102 to the control unit 101. In response to this activation instruction, the control unit 101 controls a power supply unit (not shown) to supply power to the camera 100.

電源が供給されると、制御部101は、操作部102に備えられたモード切り換えスイッチが静止画撮影モード、動画撮影モード、又は再生モードのいずれのモードであるかを確認する。静止画撮影モードにおいては、制御部101は撮影待機状態においてユーザーが操作部102に備えられた静止画記録ボタンを操作すると撮影を行う。そして、前述のように、圧縮画像データが記録媒体141に記録される。その後、制御部101は撮影待機状態となる。   When the power is supplied, the control unit 101 checks whether the mode switch provided in the operation unit 102 is in the still image shooting mode, the moving image shooting mode, or the playback mode. In the still image shooting mode, the control unit 101 performs shooting when the user operates a still image recording button provided in the operation unit 102 in a shooting standby state. Then, as described above, the compressed image data is recorded on the recording medium 141. Thereafter, the control unit 101 enters a shooting standby state.

動画撮影モードにおいては、制御部101は撮影待機状態においてユーザーが操作部102に備えられた動画記録開始ボタンを操作すると撮影を開始する。そして、操作部102に備えられた動画記録終了ボタンが操作されるまで、圧縮画像データおよび圧縮音声データ(又は音声データ)が記録媒体141に記録される。ユーザーが動画記録終了ボタンを操作すると、制御部101は動画撮影を終了して、撮影待機状態となる。   In the moving image shooting mode, the control unit 101 starts shooting when the user operates a moving image recording start button provided in the operation unit 102 in a shooting standby state. The compressed image data and the compressed audio data (or audio data) are recorded on the recording medium 141 until the moving image recording end button provided in the operation unit 102 is operated. When the user operates the moving image recording end button, the control unit 101 ends moving image shooting and enters a shooting standby state.

再生モードにおいては、制御部101は、記録再生部140を制御してユーザーの選択に応じて圧縮画像データ又は圧縮音声データ(又は音声データ)を記録媒体141から再生する。そして、前述のようにして音声データに応じた音声が音声出力部151からを出力され、画像データに応じた画像が表示部130に表示される。   In the reproduction mode, the control unit 101 controls the recording / reproducing unit 140 to reproduce the compressed image data or the compressed audio data (or audio data) from the recording medium 141 according to the user's selection. Then, as described above, sound corresponding to the sound data is output from the sound output unit 151, and an image corresponding to the image data is displayed on the display unit 130.

ここで、図1に示すカメラ100で行われる静止画撮影モードについてさらに説明する。   Here, the still image shooting mode performed by the camera 100 shown in FIG. 1 will be further described.

前述のように静止画撮影モードが設定されると、制御部101はカメラ100を撮影待機状態とする。撮影待機状態においては、画像処理部111は画像データを表示制御部131に送る。これによって、表示制御部131は画像データに応じた画像を表示部130に表示する。ユーザーは、表示部130に表示された画面を確認しつつ撮影の準備を行うことができる。   As described above, when the still image shooting mode is set, the control unit 101 sets the camera 100 in a shooting standby state. In the shooting standby state, the image processing unit 111 sends image data to the display control unit 131. As a result, the display control unit 131 displays an image corresponding to the image data on the display unit 130. The user can prepare for shooting while checking the screen displayed on the display unit 130.

撮影待機状態において、ユーザーが静止画記録ボタンを操作すると(撮影指示を行うと)、制御部101はカメラ100を制御して、以下の動作を実行させる。   When the user operates the still image recording button in the shooting standby state (when a shooting instruction is given), the control unit 101 controls the camera 100 to execute the following operation.

前述のようにして、撮像部110はデジタル画像信号を画像処理部111に送る。画像処理部111はデジタル画像信号に対して画質調整処理を行って、画像データを生成する。そして、制御部101は画像データをメモリ104、映像出力部150、および表示制御部131に送る。ユーザーは表示部130に表示された画像を見て、撮影の結果得られた静止画を確認することができる。   As described above, the imaging unit 110 sends a digital image signal to the image processing unit 111. The image processing unit 111 performs image quality adjustment processing on the digital image signal to generate image data. Then, the control unit 101 sends the image data to the memory 104, the video output unit 150, and the display control unit 131. The user can check the still image obtained as a result of shooting by looking at the image displayed on the display unit 130.

画像処理部111は、メモリ104に記憶された画像データを読み出して圧縮符号化を行う。そして、制御部101は圧縮画像データを記録再生部140に出力する。記録再生部140は、UDF又はFATなどのファイルシステム管理に基づいて、圧縮画像データを静止画ファイルとして記録媒体141に記録する。   The image processing unit 111 reads out image data stored in the memory 104 and performs compression coding. Then, the control unit 101 outputs the compressed image data to the recording / reproducing unit 140. The recording / playback unit 140 records the compressed image data as a still image file on the recording medium 141 based on file system management such as UDF or FAT.

なお、画像処理部111による圧縮符号化処理が終了すると、制御部101はカメラ100を撮影待機状態とする。   When the compression encoding process by the image processing unit 111 is completed, the control unit 101 puts the camera 100 into a shooting standby state.

次に、図1に示すカメラで行われる動画撮影モードについてさらに説明する。   Next, the moving image shooting mode performed by the camera shown in FIG. 1 will be further described.

前述のように動画撮影モードが設定されると、制御部101はカメラ100を撮影待機状態とする。撮影待機状態においては、画像処理部111は画像データを表示制御部131に送る。これによって、表示制御部131は画像データに応じた画像を表示部130に表示する。ユーザーは、表示部130に表示された画面を確認しつつ撮影の準備を行うことができる。   As described above, when the moving image shooting mode is set, the control unit 101 sets the camera 100 in a shooting standby state. In the shooting standby state, the image processing unit 111 sends image data to the display control unit 131. As a result, the display control unit 131 displays an image corresponding to the image data on the display unit 130. The user can prepare for shooting while checking the screen displayed on the display unit 130.

撮影待機状態において、ユーザーが動画記録開始ボタンを操作すると、制御部101はカメラ100を制御して、以下の動作を実行させる。   When the user operates the moving image recording start button in the shooting standby state, the control unit 101 controls the camera 100 to execute the following operation.

前述のようにして、撮像部110はデジタル画像信号を画像処理部111に送る。画像処理部111はデジタル画像信号に対して画質調整処理を行って、画像データを生成する。そして、制御部101は画像データをメモリ104および表示制御部131に送る。表示制御部131は画像データに応じた画像(動画)を表示部130に表示する。   As described above, the imaging unit 110 sends a digital image signal to the image processing unit 111. The image processing unit 111 performs image quality adjustment processing on the digital image signal to generate image data. Then, the control unit 101 sends the image data to the memory 104 and the display control unit 131. The display control unit 131 displays an image (moving image) corresponding to the image data on the display unit 130.

一方、音声入力部120からデジタル音声信号が音声処理部121に送られる。前述のように、音声処理部121はデジタル音声信号のレベルを適正化処理して音声データを出力する。そして、制御部101は、音声処理部121によって得られた音声データをメモリ104に送る。   On the other hand, a digital audio signal is sent from the audio input unit 120 to the audio processing unit 121. As described above, the audio processing unit 121 optimizes the level of the digital audio signal and outputs audio data. Then, the control unit 101 sends the audio data obtained by the audio processing unit 121 to the memory 104.

画像処理部111および音声処理部121は、前述のように、所定の圧縮符号化を行って圧縮画像データおよび圧縮音声データを生成する。制御部101は、これら圧縮画像データおよび圧縮音声データを合成して、データストリームを形成する。そして、制御部101は当該データストリームを記録再生部140に出力する。   As described above, the image processing unit 111 and the audio processing unit 121 perform predetermined compression encoding to generate compressed image data and compressed audio data. The control unit 101 combines these compressed image data and compressed audio data to form a data stream. Then, the control unit 101 outputs the data stream to the recording / reproducing unit 140.

記録再生部140は、UDF又はFATなどのファイルシステム管理に基づいて、データストリームを一つの動画ファイルとして記録媒体141に記録する。なお、音声データを圧縮符号化しない場合に、制御部101は、圧縮画像データおよび音声データを合成して、データストリームを形成する。上述の動作は動画撮影終了の指示あるまで継続する。   The recording / playback unit 140 records the data stream on the recording medium 141 as one moving image file based on file system management such as UDF or FAT. When the audio data is not compressed and encoded, the control unit 101 synthesizes the compressed image data and the audio data to form a data stream. The above-described operation continues until an instruction to end moving image shooting is given.

撮影中、ユーザー操作に応じて又は画像データの解析結果に応じて、制御部101は撮像部110、画像処理部111、および音声処理部121を制御する。例えば、制御部101はレンズの移動および絞り調整などを行うため撮像部110を制御する。また、制御部101は画像データおよび音声データを調整するため画像処理部111および音声処理部121を制御する。   During shooting, the control unit 101 controls the imaging unit 110, the image processing unit 111, and the audio processing unit 121 in accordance with a user operation or an analysis result of image data. For example, the control unit 101 controls the imaging unit 110 to perform lens movement and aperture adjustment. The control unit 101 also controls the image processing unit 111 and the audio processing unit 121 to adjust the image data and the audio data.

さらに、撮影中に、ユーザーがズームキーを操作すると、制御部101は撮像部110の「光学ズーム」機能および画像処理部111の「電子ズーム」機能を動作させる。なお、撮影中においては、制御部101は撮像部110の「光学防振」機能および画像処理部111の「電子防振」機能を動作させる。   Further, when the user operates the zoom key during shooting, the control unit 101 operates the “optical zoom” function of the imaging unit 110 and the “electronic zoom” function of the image processing unit 111. During shooting, the control unit 101 operates the “optical image stabilization” function of the image capturing unit 110 and the “electronic image stabilization” function of the image processing unit 111.

ユーザーが動画記録終了ボタンを操作すると、制御部101は撮影終了のためカメラ100を以下のように制御する。   When the user operates the moving image recording end button, the control unit 101 controls the camera 100 as follows to end the shooting.

画像処理部111および音声処理部121は、それぞれ画像データおよび音声データのメモリ104への出力を停止する。そして、画像処理部111および音声処理部121は、メモリ104に記憶された残りの画像データおよび音声データを読み出して所定の圧縮符号化を行う。   The image processing unit 111 and the sound processing unit 121 stop outputting the image data and the sound data to the memory 104, respectively. Then, the image processing unit 111 and the audio processing unit 121 read the remaining image data and audio data stored in the memory 104 and perform predetermined compression encoding.

制御部101は、これらの圧縮画データおよび圧縮音声データを合成して、データストリームを形成し記録再生部140に出力する。なお、音声データを圧縮符号化しない場合には、制御部101は、圧縮画データおよび音声データを合成して、データストリームを形成し記録再生部140に出力する。   The control unit 101 synthesizes these compressed image data and compressed audio data to form a data stream and outputs it to the recording / reproducing unit 140. When the audio data is not compression-encoded, the control unit 101 synthesizes the compressed image data and the audio data, forms a data stream, and outputs the data stream to the recording / reproducing unit 140.

記録再生部140は、前述のように、データストリームを一つの動画ファイルとして記録媒体141に記録する。記録媒体141の記録が終了すると、制御部101はサムネイルを生成するため、カメラ100を次のように制御する。   As described above, the recording / reproducing unit 140 records the data stream on the recording medium 141 as one moving image file. When the recording on the recording medium 141 is completed, the control unit 101 controls the camera 100 as follows in order to generate a thumbnail.

記録再生部140は記録媒体141に記録された動画ファイルの先頭フレームに位置する圧縮画像データを読み出して、画像処理部111に送る。画像処理部111は圧縮画像データを一時的にメモリ104に記憶する。そして、画像処理部111は圧縮画像データを所定の手順で復号化して画像データを得る。   The recording / playback unit 140 reads the compressed image data located in the first frame of the moving image file recorded on the recording medium 141 and sends the compressed image data to the image processing unit 111. The image processing unit 111 temporarily stores the compressed image data in the memory 104. Then, the image processing unit 111 decodes the compressed image data according to a predetermined procedure to obtain image data.

次に、画像処理部111は画像データに対してサムネイル用の所定の圧縮符号化を行って、サムネイル用の圧縮画像データを生成する。そして、制御部101は、サムネイル用の圧縮画像データを記録再生部140に出力する。   Next, the image processing unit 111 performs predetermined compression encoding for thumbnails on the image data to generate compressed image data for thumbnails. Then, the control unit 101 outputs the compressed image data for thumbnails to the recording / reproducing unit 140.

記録再生部140は、UDF又はFATなどのファイルシステム管理に基づいて、サムネイル用の圧縮画像データを、元の動画ファイルに結合させて記録媒体141に書き込む。そして、記録再生部140は動画ファイルを完成させた後、記録動作を停止する。制御部101は、記録動作が停止すると、カメラ100を撮影待機状態とする。   Based on file system management such as UDF or FAT, the recording / playback unit 140 combines the compressed image data for thumbnails with the original moving image file and writes the compressed video data to the recording medium 141. The recording / playback unit 140 completes the moving image file and then stops the recording operation. When the recording operation is stopped, the control unit 101 places the camera 100 in a shooting standby state.

なお、ユーザーによる操作部102の操作に応じて、制御部101は著作権者名および作成者名を不揮発性メモリ105に記憶する。そして、制御部101は、操作部102が操作される都度、不揮発性メモリ105に記憶された著作権者名および作成者名を変更する。不揮発性メモリ105に記憶された著作権者名および作成者名は、撮影処理に応じて静止画ファイル又は動画ファイルにメタデータとして記録される。   Note that the control unit 101 stores the copyright owner name and the creator name in the nonvolatile memory 105 in accordance with the operation of the operation unit 102 by the user. The control unit 101 changes the copyright owner name and the creator name stored in the nonvolatile memory 105 each time the operation unit 102 is operated. The copyright holder name and creator name stored in the non-volatile memory 105 are recorded as metadata in a still image file or a moving image file in accordance with the shooting process.

ところで、動画モードとして、通常記録を行う通常動画モードがある。さらに、動画モードとして、通常、早送り、スロー、又はリプレイなど再生効果を選択して短編動画を記録するショートクリップ動画モードがある。また、動画モードして、シャッタースピードおよび絞りを設定可能なマニュアル動画モード、ミニチュア模型のような効果および早送りによる動きを楽しめるジオラマ風動画モードなどがある。   By the way, as a moving image mode, there is a normal moving image mode in which normal recording is performed. Furthermore, as a moving image mode, there is a short clip moving image mode in which a short moving image is recorded by selecting a reproduction effect such as normal fast-forward, slow, or replay. In addition, there are a moving image mode, a manual moving image mode in which the shutter speed and aperture can be set, a diorama-like moving image mode in which you can enjoy the effects of a miniature model and fast-forward movement.

上述の静止画撮影モードおよび動画撮影モードにおいて記録される静止画ファイルおよび動画ファイルは、DCF(Design rule for Camera File system)に従って記録されるものとする。   It is assumed that the still image file and the moving image file recorded in the above-described still image shooting mode and moving image shooting mode are recorded in accordance with a DCF (Design rule for Camera File system).

次に、図1に示すカメラ100で行われる再生モードについてさらに説明する。   Next, the playback mode performed by the camera 100 shown in FIG. 1 will be further described.

操作部102により再生モードが設定されると、制御部101は、カメラ100を再生状態に移行させて以下の動作を行う。   When the playback mode is set by the operation unit 102, the control unit 101 shifts the camera 100 to the playback state and performs the following operation.

記録再生部140は、制御部101の制御下で記録媒体141に記録された静止画ファイル又は動画ファイルを読み出す。なお、以下の説明では、動画ファイルを読み出したものとして説明する。   The recording / playback unit 140 reads a still image file or a moving image file recorded on the recording medium 141 under the control of the control unit 101. In the following description, it is assumed that a moving image file has been read.

制御部101は圧縮画像データおよび圧縮音声データをそれぞれ画像処理部111および音声処理部121に送る。なお、音声データが圧縮符号化されていない場合には、制御部101は、音声出力部151に音声データを送る。   The control unit 101 sends the compressed image data and the compressed audio data to the image processing unit 111 and the audio processing unit 121, respectively. If the audio data is not compressed and encoded, the control unit 101 sends the audio data to the audio output unit 151.

画像処理部111および音声処理部121は、それぞれ圧縮画像データおよび圧縮音声データを一時的にメモリ104に記憶する。そして、画像処理部111および音声処理部121は、それぞれ圧縮画像データおよび圧縮音声データを所定の手順で復号化する。   The image processing unit 111 and the audio processing unit 121 temporarily store the compressed image data and the compressed audio data in the memory 104, respectively. Then, the image processing unit 111 and the sound processing unit 121 decode the compressed image data and the compressed sound data, respectively, according to a predetermined procedure.

制御部101は、復号化によって得られた音声データを音声出力部151に送り、画像データを映像出力部150および表示制御部131に送る。表示制御部131は、画像データに応じた映像(画像)を表示部130に表示する。一方、音声出力部151は、音声データに応じた音声を内蔵スピーカ又は音声出力部151に接続されたイヤホン又はスピーカから出力する。   The control unit 101 sends audio data obtained by decoding to the audio output unit 151 and sends image data to the video output unit 150 and the display control unit 131. The display control unit 131 displays a video (image) corresponding to the image data on the display unit 130. On the other hand, the audio output unit 151 outputs audio corresponding to the audio data from the built-in speaker or the earphone or speaker connected to the audio output unit 151.

ところで、ユーザーは記録媒体141に記録された複数の動画ファイルから所望の動画ファイルを選択して、これら選択した動画ファイルを結合して1つの動画ファイルを生成したいことがある。この際には、制御部101は、ユーザーによる動画ファイルの選択履歴を作業履歴情報(以下作業履歴ファイルともいう)として記録媒体141に保存する。この作業履歴ファイルは、選択された動画ファイルを特定するための情報である。   By the way, the user may select a desired moving image file from a plurality of moving image files recorded on the recording medium 141 and combine the selected moving image files to generate one moving image file. At this time, the control unit 101 stores the selection history of the moving image file by the user in the recording medium 141 as work history information (hereinafter also referred to as work history file). This work history file is information for specifying the selected moving image file.

図2は、図1に示すカメラで生成される作業履歴ファイルのフォーマットの一例を示す図である。   FIG. 2 is a diagram showing an example of the format of a work history file generated by the camera shown in FIG.

図示の作業履歴ファイルでは、例えば、CTGファイルフォーマットが用いられており、作業履歴ファイルは、ファイル情報を管理するHeader(ヘッダー)201と動画ファイルにおいて必要なデータを抽出したObjectInfo202とを有している。Header201およびObjectInfo202において各情報のデータ長は4バイトである。Header201に格納された情報は主に作業履歴を読み出して使用する際の整合性チェックに用いられる。   In the illustrated work history file, for example, the CTG file format is used, and the work history file includes a header (header) 201 that manages file information and an ObjectInfo 202 that extracts necessary data in the moving image file. . In Header 201 and ObjectInfo 202, the data length of each information is 4 bytes. The information stored in the header 201 is mainly used for consistency check when the work history is read and used.

Header201において、FileSizeCheckSum(ファイルサイズチェックサム)203は作業履歴ファイルのファイルサイズについてその信頼性を検査するための情報である。FileVersino204は作業履歴ファイルのバージョンを示す情報である。ファイルバージョンはアップデートされた際などに更新される。TotalObject205は選択した動画ファイルの個数を示す情報である。また、ModelID206はカメラ100の機種固有の番号を示す情報である。   In Header 201, FileSizeCheckSum (file size checksum) 203 is information for checking the reliability of the file size of the work history file. FileVersino 204 is information indicating the version of the work history file. The file version is updated when it is updated. TotalObject 205 is information indicating the number of selected moving image files. Model ID 206 is information indicating a model-specific number of the camera 100.

ObjectInfo202において、ObjectID1 207は1番目に選択した動画ファイルのユニークID(識別ID:固有番号)を示す情報である。FrameCount1 208は1番目に選択した動画ファイルのフレーム数を示す情報である。CreateTime1 209は1番目に選択した動画ファイルの作成時間を示す情報である。ObjectID1 210はN番目(Nは1以上の整数)に選択した動画ファイルのユニークID(識別ID)を示す情報である。FrameCountN 211はN番目に選択した動画ファイルのフレーム数を示す情報である。CreateTime1 212はN番目に選択した動画ファイルの作成時間を示す情報である。   In ObjectInfo 202, ObjectID1 207 is information indicating the unique ID (identification ID: unique number) of the first selected moving image file. FrameCount1 208 is information indicating the number of frames of the first selected moving image file. CreateTime1 209 is information indicating the creation time of the first selected moving image file. ObjectID1 210 is information indicating the unique ID (identification ID) of the Nth (N is an integer equal to or greater than 1) selected video file. FrameCountN 211 is information indicating the number of frames of the Nth selected moving image file. CreateTime1 212 is information indicating the creation time of the Nth selected moving image file.

このようにして、作業履歴ファイルにおいて、選択した動画ファイルの数が増加すると、ObjectID、FrameCount、およびCreateTimeの数が増加する。   Thus, when the number of selected moving image files in the work history file increases, the number of ObjectID, FrameCount, and CreateTime increases.

図3は、図1に示すカメラ100で用いられる階層型ファイル構造の一例を示す図である。   3 is a diagram showing an example of a hierarchical file structure used in the camera 100 shown in FIG.

図1に関連して説明したように、静止画ファイルおよび動画ファイルについてはDCFに従って記録される。階層型ファイル301において、DCFイメージルートディレクトリ(DCIM)のCONONMSCフォルダ中にファイル名をSC0001.CTGとして作業履歴ファイル302が保存される。   As described with reference to FIG. 1, still image files and moving image files are recorded in accordance with DCF. In the hierarchical file 301, the file name is SC0001. In the CONONMSC folder of the DCF image root directory (DCIM). A work history file 302 is stored as a CTG.

図4は、図1に示すカメラで行われる再生モード処理の一例を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は制御部101の制御下で行われる。   FIG. 4 is a flowchart for explaining an example of a playback mode process performed by the camera shown in FIG. Note that the processing according to the illustrated flowchart is performed under the control of the control unit 101.

再生モード処理を開始すると、制御部101は記録媒体141から最新の画像データ(以下画像情報ともいう)を得て当該画像データに応じた画像を表示制御部131によって表示部130に表示する(ステップS401)。そして、制御部101は操作部102においてMenuボタンが押し下げられたか否かを判定する。つまり、制御部101はMenu画面に遷移するか否かを判定する(ステップS402)。   When the playback mode process is started, the control unit 101 obtains the latest image data (hereinafter also referred to as image information) from the recording medium 141, and displays an image corresponding to the image data on the display unit 130 by the display control unit 131 (step S1). S401). Then, the control unit 101 determines whether or not the Menu button has been pressed in the operation unit 102. That is, the control unit 101 determines whether or not to transit to the Menu screen (step S402).

Menu画面に遷移すると判定した場合(ステップS402において、YES)、制御部101はMenu画面を表示部130に表示して、Menu画面において短編動画の結合を行う動画ファイルミックスが選択されたか否か判定する(ステップS403)。   When it is determined that the screen is to be changed to the Menu screen (YES in Step S402), the control unit 101 displays the Menu screen on the display unit 130, and determines whether or not a video file mix for combining short videos is selected on the Menu screen. (Step S403).

なお、動画ファイルミックスとは、複数の動画ファイルを結合して、1つの動画ファイルとして記録媒体141に保存する処理をいう。ここでは、動画ファイルミックスにおいては、短編動画のショートクリップ動画を結合するものとして説明するが、結合する動画ファイルはこれに限定されない。   Note that the moving image file mix refers to a process of combining a plurality of moving image files and storing them in the recording medium 141 as one moving image file. Here, in the moving image file mix, the short clip moving image of the short moving image is described as being combined, but the moving image file to be combined is not limited to this.

動画ファイルミックスが選択されると(ステップS403において、YES)、制御部101は、後述する動画ミックス処理を行う(ステップS404)。そして、制御部101は再生モードを終了するか否かを判定する(ステップS405)。再生モードを終了すると判定すると(ステップS405において、YES)、制御部101は再生モード処理を終了する。一方、再生モードを終了しないと判定すると(ステップS405において、NO)、制御部101はステップS402の処理に戻る。   When the moving image file mix is selected (YES in step S403), the control unit 101 performs a moving image mix process described later (step S404). Then, the control unit 101 determines whether or not to end the reproduction mode (step S405). If it is determined to end the playback mode (YES in step S405), control unit 101 ends the playback mode process. On the other hand, if it is determined not to end the playback mode (NO in step S405), control unit 101 returns to the process in step S402.

動画ファイルミックスが選択されないと(ステップS403において、YES)、制御部101は操作部102の操作に応じたその他のMenu処理を行う(ステップS406)。そして、制御部101はステップS405の処理に進む。なお、その他のMenu処理には、例えば、画像のリサイズ処理、トリミング処理、および印刷設定がある。   If the moving image file mix is not selected (YES in step S403), the control unit 101 performs other menu processing according to the operation of the operation unit 102 (step S406). Then, the control unit 101 proceeds to the process of step S405. Other menu processing includes, for example, image resizing processing, trimming processing, and print settings.

Menu画面に遷移しないと判定した場合(ステップS402において、NO)、制御部101は操作部102の操作に応じたその他の再生処理を行う(ステップS407)。そして、制御部101はステップS405の処理に進む。なお、その他の再生処理には、例えば画像消去、画像編集、および画像送信がある。   When it is determined that the screen does not transit to the Menu screen (NO in step S402), the control unit 101 performs other reproduction processing according to the operation of the operation unit 102 (step S407). Then, the control unit 101 proceeds to the process of step S405. Other reproduction processes include, for example, image deletion, image editing, and image transmission.

図5は、図4に示す動画ミックス処理の一例を説明するためのフローチャートである。   FIG. 5 is a flowchart for explaining an example of the moving image mixing process shown in FIG.

動画ミックス処理を開始すると、制御部101は記録媒体141においてライトプロテクトが「入」であるか否かを判定する(ステップS501)。ライトプロテクトが「切」であると(ステップS501において、NO)、制御部101は、動画ファイルミックス処理において結合して得られた動画ファイル(結合動画ファイル)のファイル名が作成可能であるか否かを判定する(ステップS502)。   When the moving image mixing process is started, the control unit 101 determines whether or not the write protection is “ON” in the recording medium 141 (step S501). If the write protection is “OFF” (NO in step S501), the control unit 101 can create a file name of the moving image file (combined moving image file) obtained by combining in the moving image file mixing process. Is determined (step S502).

ここでは、結合動画ファイル名は、DCF(Design rure for Camera File system)によって規定されるファイルパスに従って命名保存される。DCF規格に規定されるファイルパスに従って命名を行う際に、既にDCF最大ディレクトリ(ディレクトリ番号:999)に最大ファイル番号(ファイル番号:9999)が存在していると、制御部101は結合動画ファイル名が作成できないと判定する。   Here, the combined moving image file name is named and stored in accordance with a file path defined by a DCF (Design rule for Camera File system). When naming according to the file path specified in the DCF standard, if the maximum file number (file number: 9999) already exists in the DCF maximum directory (directory number: 999), the control unit 101 determines the combined movie file name. It is determined that cannot be created.

結合動画ファイル名の作成が可能であると(ステップS502において、YES)、制御部101は、動画ファイルミックスで用いる短編動画のショートクリップ動画1ファイルにおける最大ファイルサイズを算出する。そして、制御部101は当該最大ファイルサイズと記録媒体141の空き容量とを比較して、その比較結果に応じて空き容量が存在するか否かを判定する(ステップS503)。   If it is possible to create a combined movie file name (YES in step S502), control unit 101 calculates the maximum file size in one short clip movie file of the short movie used in the movie file mix. Then, the control unit 101 compares the maximum file size with the free capacity of the recording medium 141, and determines whether there is free capacity according to the comparison result (step S503).

ショートクリップ動画1ファイルの最大ファイルサイズを算出する際には、制御部101はショートクリップ動画1ファイルの最大時間をフレーム数に換算する。そして、制御部101は動画のビットレート、サムネイルサイズ、およびビデオ方式(NTSC/PAL)のフレームレートを考慮してフレーム数をファイルサイズに変換する。   When calculating the maximum file size of one short clip video file, the control unit 101 converts the maximum time of one short clip video file into the number of frames. Then, the control unit 101 converts the number of frames into a file size in consideration of the bit rate of the moving image, the thumbnail size, and the frame rate of the video system (NTSC / PAL).

なお、最大ファイルサイズと記録媒体141の空き容量とを比較する際には、ショートクリップ動画1ファイルのファイルサイズおよび記録媒体の空き容量をカメラに最適なクラスタサイズに変換して比較することが望ましい。   When comparing the maximum file size and the free capacity of the recording medium 141, it is desirable to compare the file size of one short clip moving image file and the free capacity of the recording medium after converting them to a cluster size optimum for the camera. .

空き容量があると(ステップS503において、YES)、制御部101は記録媒体141にショートクリップ動画(つまり、対象動画)が存在するか否かを判定する(ステップS504)。ショートクリップ動画が存在する場合(ステップS504において、YES)、制御部101は表示部130に後述する動画結合を行うか否かを選択するための画面(動画ファイルミックス画面)を表示する。そして、制御部101は動画結合が選択されたか否かを判定する(ステップS505)。   If there is free space (YES in step S503), control unit 101 determines whether or not a short clip moving image (that is, a target moving image) exists on recording medium 141 (step S504). When the short clip moving image exists (YES in step S504), the control unit 101 displays a screen (moving image file mix screen) for selecting whether to perform moving image combining described later on the display unit 130. Then, the control unit 101 determines whether moving image combination is selected (step S505).

動画結合が選択されると、つまり、動画結合を行うと判定すると(ステップS505において、YES)、制御部101は記録媒体141に作業履歴ファイルが存在し、かつ作業履歴があるか否かを判定する(ステップS506)。作業履歴ファイルに作業履歴が存在すると(ステップS506において、YES)、制御部101は作業履歴ファイルに記録されているObjectInfo202におけるオブジェクトのフレーム数を加算する。そして、制御部101は、動画のビットレート、サムネイルサイズ、およびビデオ方式(NTSC/PAL)のフレームレートを考慮して、当該フレーム数に基づいてファイルサイズを算出する(ステップS507)。   If it is determined that movie combination is selected, that is, if movie combination is to be performed (YES in step S505), control unit 101 determines whether a work history file exists on recording medium 141 and whether there is a work history. (Step S506). If the work history exists in the work history file (YES in step S506), the control unit 101 adds the number of frames of the object in the ObjectInfo 202 recorded in the work history file. Then, the control unit 101 calculates the file size based on the number of frames in consideration of the bit rate of the moving image, the thumbnail size, and the frame rate of the video system (NTSC / PAL) (step S507).

続いて、制御部101は記録媒体141の空き容量を算出する(ステップS508)。なお、ステップS507およびS508で求めるファイルサイズおよび空き容量はカメラ100に最適なクラスタサイズに変換することが望ましい。   Subsequently, the control unit 101 calculates the free capacity of the recording medium 141 (step S508). Note that it is desirable to convert the file size and free space obtained in steps S507 and S508 to a cluster size optimum for the camera 100.

次に、制御部101はステップS507で求めたファイルサイズとステップS508で求めた空き容量とを比較して、当該比較結果に応じて結合動画ファイルを記録媒体141に保存可能であるか否かを判定する(ステップS509)。保存可能な空き容量が存在すると(ステップS509において、YES)、制御部101は作業履歴を使用するか否かを判定する(ステップS510)。ここでは、後述するように、制御部101は動画結合画面を表示部130に表示して、ユーザーによる作業履歴の使用が選択されたか否かを判定する。   Next, the control unit 101 compares the file size obtained in step S507 with the free space obtained in step S508, and determines whether the combined moving image file can be stored in the recording medium 141 according to the comparison result. Determination is made (step S509). If there is a storable free space (YES in step S509), control unit 101 determines whether or not to use the work history (step S510). Here, as will be described later, the control unit 101 displays a moving image combination screen on the display unit 130 and determines whether or not the use of the work history by the user has been selected.

作業履歴を使用すると判定すると(ステップS510において、YES)、制御部101は後述する結合選択画面を表示部130に表示する(ステップS511)。一方、作業履歴を使用しないと判定すると(ステップS510において、NO)、制御部101は作業履歴をクリアする(ステップS512)。そして、制御部101はステップS511の処理に進む。   If it is determined that the work history is to be used (YES in step S510), control unit 101 displays a combination selection screen described later on display unit 130 (step S511). On the other hand, when it is determined that the work history is not used (NO in step S510), control unit 101 clears the work history (step S512). Then, the control unit 101 proceeds to the process of step S511.

ステップS511の処理の後、制御部513は、後述の動画結合選択処理を行って(ステップS513)、動画ミックス処理を終了する。   After the process of step S511, the control unit 513 performs a moving image combination selection process described later (step S513), and ends the moving image mixing process.

ステップS509において、保存可能な空き容量が存在しないと(ステップS509において、NO)、制御部101はステップS512の処理に進む。また、ステップS506において、作業履歴が存在しないと(ステップS506において、NO)、制御部101はステップS511の処理に進む。   If there is no storable free space in step S509 (NO in step S509), the control unit 101 proceeds to the process of step S512. If no work history exists in step S506 (NO in step S506), control unit 101 proceeds to the process in step S511.

ライトプロテクトが「入」であると(ステップS501において、YES)、制御部101は、操作部102の操作に応じて結合動画ファイルの再生が選択されたか否かを判定する(ステップS514)。結合動画ファイルの再生が選択されると(ステップS514において、YES)、制御部101は結合動画ファイルを再生する結合動画再生処理を行う(ステップS515)。そして、制御部101は動画ミックス処理を終了する。一方、結合動画ファイルの再生が選択されないと(ステップS514において、NO)、制御部101は動画ミックス処理を終了する。   If the write protect is “ON” (YES in step S501), control unit 101 determines whether or not playback of the combined moving image file has been selected in accordance with the operation of operation unit 102 (step S514). When playback of the combined moving image file is selected (YES in step S514), control unit 101 performs combined moving image playback processing for playing back the combined moving image file (step S515). And the control part 101 complete | finishes a moving image mixing process. On the other hand, if playback of the combined video file is not selected (NO in step S514), control unit 101 ends the video mix process.

なお、結合動画ファイル名の作成が可能でないと(ステップS502において、NO)、制御部101はステップS514の処理に進む。同様に、ステップS502において、空き容量がないと(ステップS503において、NO)、制御部101はステップS514の処理に進む。また、ショートクリップ動画が存在しないと(ステップS504において、NO)、制御部101はステップS514の処理に進む。さらに、動画結合を行わない判定すると(ステップS505において、NO)、制御部101はステップS514の処理に進む。   If it is not possible to create a combined moving image file name (NO in step S502), control unit 101 proceeds to the process in step S514. Similarly, if there is no free space in step S502 (NO in step S503), control unit 101 proceeds to the process in step S514. If there is no short clip moving image (NO in step S504), control unit 101 proceeds to the process in step S514. Further, if it is determined not to combine the moving images (NO in step S505), control unit 101 proceeds to the process in step S514.

図6は、図5に示す結合動画選択処理を説明するためのフローチャートである。   FIG. 6 is a flowchart for explaining the combined moving image selection process shown in FIG.

結合動画選択処理を開始すると、制御部101は、結合のため選択されたショートクリップ動画(選択済み動画)が存在するか否かを判定する(ステップS601)。選択済み動画が存在すると(ステップS601において、YES)、制御部101は、選択済みショートクリップ動画(選択済み動画)の解除を行うか否かを判定する(ステップS602)。なお、ユーザーは、後述するように操作部102を用いて選択済み動画の解除を行うことができる。   When the combined moving image selection process is started, the control unit 101 determines whether there is a short clip moving image (selected moving image) selected for combining (step S601). If there is a selected video (YES in step S601), control unit 101 determines whether or not to cancel the selected short clip video (selected video) (step S602). Note that the user can cancel the selected moving image using the operation unit 102 as described later.

選択済み動画の解除を行う場合には(ステップS602において、YES)、制御部101は、選択済動画の解除処理を行う(ステップS603)。そして、制御部101はステップS601の処理に戻る。   When canceling the selected moving image (YES in step S602), the control unit 101 performs the cancellation processing of the selected moving image (step S603). And the control part 101 returns to the process of step S601.

なお、選択済み解除処理の際には、制御部101は、メモリ104に展開した作業履歴をクリアして、記録媒体141に保存されているSC0001.CTGファイルを更新する。また、作業履歴をクリアする際には、制御部101は、図2に示すHeaderのTotalObject205の数を1つ減らし、ObjectInfo202に保存するObjectID、FrameCount、およびreateTimeを削除する。   In the selected release process, the control unit 101 clears the work history expanded in the memory 104 and stores the SC0001. Update the CTG file. Further, when clearing the work history, the control unit 101 reduces the number of Header TotalObjects 205 shown in FIG. 2 by 1 and deletes the ObjectID, FrameCount, and rateTime stored in the ObjectInfo 202.

選択済み動画が存在しないと(ステップS601において、NO)、制御部101は、動画ファイル結合選択を終了するか否かを判定する(ステップS604)。動画ファイル結合選択を終了する場合には(ステップS604において、YES)、制御部101は結合動画選択処理を終了する。   If there is no selected moving image (NO in step S601), the control unit 101 determines whether or not to end the moving image file combination selection (step S604). When the moving image file combination selection is to be ended (YES in step S604), the control unit 101 ends the combined moving image selection process.

一方、動画ファイル結合選択を終了しない場合には(ステップS604において、NO)、制御部101は、結合動画ファイルを選択するか否かを判定する(ステップS605)。結合動画ファイルを選択する場合には(ステップS605において、YES)、制御部101は、後述するようにして動画ファイルの選択処理を行う(ステップS606)。   On the other hand, when the moving image file combination selection is not terminated (NO in step S604), the control unit 101 determines whether to select a combined moving image file (step S605). When selecting a combined moving image file (YES in step S605), the control unit 101 performs a moving image file selection process as described later (step S606).

続いて、操作部102の操作に応じて、制御部101は動画ファイルの結合を行うか否かを判定する(ステップS607)。選択した動画ファイルの結合を行う場合には(ステップS607において、YES)、制御部101は、選択された動画ファイルの結合処理を行う(ステップS608)。なお、動画ファイルの結合処理には、結合した動画ファイルを確認するプレビュー、動画ファイルを結合する動画ファイル結合、BGMを付与するBGM選択、および色フィルターを結合動画ファイルに付与する色効果付与処理がある。その後、制御部101は結合動画選択処理を終了する。   Subsequently, according to the operation of the operation unit 102, the control unit 101 determines whether or not to combine moving image files (step S607). When the selected moving image files are to be combined (YES in step S607), the control unit 101 performs a combining process of the selected moving image files (step S608). The movie file combining process includes a preview for confirming the combined movie file, a movie file combination for combining movie files, a BGM selection for adding BGM, and a color effect applying process for adding a color filter to the combined movie file. is there. Thereafter, the control unit 101 ends the combined moving image selection process.

選択した動画ファイルの結合を行わない場合には(ステップS607において、NO)、制御部101はステップS601の処理に戻る。なお、結合動画ファイルを選択しない場合には(ステップS605において、NO)、制御部101は結合動画選択処理を終了する。   If the selected moving image files are not combined (NO in step S607), control unit 101 returns to the process in step S601. If the combined moving image file is not selected (NO in step S605), the control unit 101 ends the combined moving image selection process.

図7は、図4に示す動画ミックス処理の他の例を説明するためのフローチャートである。なお、図7において、図5に示すフローチャートのステップと同一のステップについては同一の参照符号を付して説明を省略する。   FIG. 7 is a flowchart for explaining another example of the moving image mixing process shown in FIG. In FIG. 7, the same steps as those in the flowchart shown in FIG.

図5で説明したステップS509において、保存可能な空き容量が存在しないと(ステップS509において、NO)、制御部101は、後述する作業履歴動作処理を行う(ステップS716)。そして、制御部101はステップS511の処理に進む。   If there is no storable free space in step S509 described with reference to FIG. 5 (NO in step S509), the control unit 101 performs a work history operation process described later (step S716). Then, the control unit 101 proceeds to the process of step S511.

図8は、図7に示す作業履歴動作処理を説明するためのフローチャートである。   FIG. 8 is a flowchart for explaining the work history operation process shown in FIG.

作業履歴動作処理を開始すると、制御部101は、表示部130に記録媒体141の空き容量が不足している旨をガイダンスとして表示する(ステップS801)。そして、制御部101は作業履歴に保存されている選択動画ファイルの解除を行うか否かを判定する(ステップS802)。選択動画ファイルを解除する場合(ステップS802において、YES)、制御部101は結合動画ファイルサイズをする(ステップS803)。なお、動画ファイルサイズの算出については、図5のステップS507で説明したようにして行われる。   When the work history operation process is started, the control unit 101 displays on the display unit 130 that the recording medium 141 has insufficient free space as guidance (step S801). Then, the control unit 101 determines whether or not to cancel the selected moving image file stored in the work history (step S802). When canceling the selected moving image file (YES in step S802), the control unit 101 sets the combined moving image file size (step S803). Note that the calculation of the moving image file size is performed as described in step S507 in FIG.

続いて、制御部101は記録媒体141の空き容量を算出する(ステップS804)。なお、空き容量の算出については、図5のステップS508で説明してようにして行われる。   Subsequently, the control unit 101 calculates the free capacity of the recording medium 141 (step S804). The calculation of the free space is performed as described in step S508 of FIG.

次に、制御部101は、選択した動画ファイルの結合した結果、記録媒体141に保存可能であるか否かを判定する(ステップS805)。空き容量が存在する場合、つまり、保存可能であると(ステップS805において、YES)、制御部101は作業履歴動作処理を終了する。一方、保存可能な空き容量が存在しないと(ステップS805において、NO)、制御部101はステップS801の処理に戻る。   Next, the control unit 101 determines whether or not the selected moving image files can be stored in the recording medium 141 as a result of the combination (step S805). If the free space exists, that is, if it can be stored (YES in step S805), control unit 101 ends the work history operation process. On the other hand, if there is no storable free space (NO in step S805), control unit 101 returns to the process in step S801.

選択動画ファイルを解除しない場合(ステップS802において、NO)、制御部101は記録媒体141(メディア)に保存されている静止画ファイルおよび動画ファイルを選択的に削除するか否かを判定する(ステップS806)。選択削除を行う場合には(ステップS806において、YES)、制御部101は記録媒体141に保存されている静止画ファイルおよび動画ファイルの一覧を表示部130に表示する(ステップS807)。   When the selected moving image file is not released (NO in step S802), the control unit 101 determines whether to selectively delete the still image file and the moving image file stored in the recording medium 141 (medium) (step S802). S806). When performing selective deletion (YES in step S806), the control unit 101 displays a list of still image files and moving image files stored in the recording medium 141 on the display unit 130 (step S807).

続いて、制御部101は、ユーザー操作に応じて削除をする画像を選択する(ステップS808)。そして、制御部101は選択した画像を記録媒体141から削除する(ステップS809)。その後、制御部101はステップS803の処理に進む。なお、選択削除を行わない場合には(ステップS806において、NO)、制御部101はステップS802の処理に戻る。   Subsequently, the control unit 101 selects an image to be deleted according to a user operation (step S808). Then, the control unit 101 deletes the selected image from the recording medium 141 (step S809). Thereafter, the control unit 101 proceeds to the process of step S803. Note that if the selective deletion is not performed (NO in step S806), the control unit 101 returns to the process of step S802.

ところで、削除した画像が結合用に選択されていたショートクリップ動画の場合には、制御部101は図2に示すHeaderのTotalObject205の数を1つ減らす。さらに、制御部101は、ObjectInfo202に保存するObjectID、FrameCount、およびCreateTimeを削除して、記録媒体141に保存されたSC0001.CTGファイルを更新する。   By the way, when the deleted image is a short clip moving image that has been selected for combination, the control unit 101 reduces the number of TotalObjects 205 of the Header shown in FIG. Further, the control unit 101 deletes the ObjectID, FrameCount, and CreateTime stored in the ObjectInfo 202, and deletes the SC0001. Update the CTG file.

ここで、上述の動画ミックス処理において、表示部130に表示される画面の一例について説明する。   Here, an example of a screen displayed on the display unit 130 in the above-described moving image mixing process will be described.

図9は、図5又は図7に示す動画ミックス処理において表示部130に表示されるガイダンス表示の一例を説明するための図である。そして、図9(a)および図9(b)は動画ファイルミックス画面の一例を示す図であり、図9(c)は動画結合画面を示す図である。また、図9(d)は選択済み動画の選択解除画面を示す図であり、図9(e)は記録媒体に記録された画像の削除を行う際の削除画面を示す図である。   FIG. 9 is a diagram for explaining an example of guidance display displayed on the display unit 130 in the moving image mixing process shown in FIG. 5 or 7. FIG. 9A and FIG. 9B are diagrams illustrating an example of a moving image file mix screen, and FIG. 9C is a diagram illustrating a moving image combination screen. FIG. 9D is a diagram showing a selection cancellation screen for a selected moving image, and FIG. 9E is a diagram showing a deletion screen when an image recorded on the recording medium is deleted.

また、図10は図5又は図7に示す動画ミックス処理において表示部130に表示される動画選択画面および削除画像選択画面の一例を説明するための図である。そして、図10(a)〜図10(c)は動画選択画面を示す図であり、図10(d)は削除画像選択画面を示す図である。   FIG. 10 is a diagram for explaining an example of a moving image selection screen and a deletion image selection screen displayed on the display unit 130 in the moving image mixing process shown in FIG. 5 or FIG. 10 (a) to 10 (c) are diagrams showing a moving image selection screen, and FIG. 10 (d) is a diagram showing a deletion image selection screen.

図5で説明したステップS505の処理において、制御部101は、図9(a)に示す動画ファイル未ミックス画面901を表示部130に表示する。図9(a)においては、“動画の結合”ボタン902および”結合した動画の再生”ボタン912が表示されている。   In the process of step S505 described with reference to FIG. 5, the control unit 101 displays the moving image file unmixed screen 901 illustrated in FIG. In FIG. 9A, a “Combine Movie” button 902 and a “Play Combined Movie” button 912 are displayed.

なお、ステップS504の処理において、結合可能なショートクリップ動画(対象動画)が存在しないと(ステップS504において、NO)、前述のように、制御部101はステップS514の処理に進む。この際、制御部101は、図9(b)に示すように、“動画の結合”ボタンをグレーアウト(選択禁止)して、“動画の結合”ボタン903として表示する。   If there is no short clip moving image (target moving image) that can be combined in the process of step S504 (NO in step S504), the control unit 101 proceeds to the process of step S514 as described above. At this time, as shown in FIG. 9B, the control unit 101 grays out (selection prohibition) the “Combine Movies” button and displays it as a “Combine Movie” button 903.

ステップS505の処理では、ユーザーが“動画の結合”ボタン902を押し下げると、制御部101はステップS506の処理に進む。一方、ユーザーが”結合した動画の再生”ボタン912を押し下げると、制御部101はステップS514の処理に進む。   In the process of step S505, when the user depresses the “Merge movie” button 902, the control unit 101 proceeds to the process of step S506. On the other hand, when the user depresses the “play combined video” button 912, the control unit 101 proceeds to the process of step S514.

図5で説明したステップS510の処理において、制御部101は、図9(c)に示す動画結合画面904を表示部130に表示する。図9(c)においては、”前回の内容をもとにして編集しますか?”というガイダンスが表示されるとともに、“はい”ボタン913および”いいえ”ボタン914が表示されている。   In the process of step S510 described with reference to FIG. 5, the control unit 101 displays the moving image combination screen 904 illustrated in FIG. In FIG. 9C, guidance “Do you want to edit based on the previous contents?” Is displayed, and “Yes” button 913 and “No” button 914 are displayed.

ステップS510の処理では、ユーザーが“はい”ボタン913を押し下げると、制御部101はステップS511の処理に進む。作業履歴を使用する場合には、制御部101は履歴作業ファイルをメモリ104に展開する。一方、ユーザーが”いいえ”ボタン914を押し下げると、制御部101はステップS512の処理に進む。   In the process of step S510, when the user depresses the “Yes” button 913, the control unit 101 proceeds to the process of step S511. When the work history is used, the control unit 101 expands the history work file in the memory 104. On the other hand, when the user depresses the “No” button 914, the control unit 101 proceeds to the process of step S512.

図8で説明したステップS801の処理において、制御部101は、図9(d)に示す選択解除画面905を表示部130に表示する。図9(d)においては、”カード残量が足りません。選択した動画の選択を解除しますか?”というガイダンスが表示されるとともに、“はい”ボタンおよび”いいえ”ボタンが表示されている。   In the process of step S801 described with reference to FIG. 8, the control unit 101 displays a selection cancellation screen 905 illustrated in FIG. In FIG. 9 (d), a guidance “Not enough card remaining. Are you sure you want to deselect the selected video?” Is displayed, and “Yes” and “No” buttons are displayed. Yes.

ステップS802の処理において、ユーザーが“はい”ボタンを押し下げると、制御部101はステップS803の処理に進む。一方、ユーザーが”いいえ”ボタンを押し下げると、制御部101はステップS806の処理に進む。   When the user depresses the “Yes” button in the process of step S802, the control unit 101 proceeds to the process of step S803. On the other hand, when the user depresses the “No” button, the control unit 101 proceeds to the process of step S806.

ステップS806の処理においては、制御部101は、図9(e)に示す削除画面906を表示部130に表示する。図9(e)においては、”カード残量が足りません。保存されている画像の削除を行いますか?”というガイダンスが表示されるとともに、“はい”ボタンおよび”いいえ”ボタンが表示されている。   In the process of step S806, the control unit 101 displays a deletion screen 906 shown in FIG. In FIG. 9 (e), a guidance “Insufficient card remaining. Are you sure you want to delete the saved image?” Is displayed, and “Yes” and “No” buttons are displayed. ing.

ステップS806の処理において、ユーザーが“はい”ボタンを押し下げると、制御部101はステップS807の処理に進む。一方、ユーザーが”いいえ”ボタンを押し下げると、制御部101はステップS802の処理に戻る。   If the user depresses the “Yes” button in the process of step S806, the control unit 101 proceeds to the process of step S807. On the other hand, when the user depresses the “No” button, the control unit 101 returns to the process of step S802.

図6に示すステップS605の処理においては、制御部101は、図10(a)に示す動画選択画面907を表示部130に表示する。ここでは、”動画を選択してください”というガイダンスとともに、動画”1”〜動画”5”が動画一覧として表示されている。   In the process of step S605 illustrated in FIG. 6, the control unit 101 displays the moving image selection screen 907 illustrated in FIG. Here, videos “1” to “5” are displayed as a movie list together with the guidance “Please select a movie”.

いま、ユーザーが動画選択画面907において、動画”2”および動画”4”を選択動画916として選択したとする。これによって、制御部101はステップS606の処理において、図10(b)に示す動画選択画面908を表示部130に表示する。ここでは、選択された動画”2”および動画”4”がグレーアウト表示され、さらに、画面の下部に選択された動画”2”および動画”4”が選択動画915として表示される。   Now, assume that the user selects the moving image “2” and the moving image “4” as the selected moving images 916 on the moving image selection screen 907. Accordingly, the control unit 101 displays the moving image selection screen 908 shown in FIG. 10B on the display unit 130 in the process of step S606. Here, the selected moving image “2” and moving image “4” are grayed out, and the selected moving image “2” and moving image “4” are displayed as the selected moving image 915 at the bottom of the screen.

この際、制御部101はメモリ104に展開された作業履歴ファイルにおいてHeaderのTotalObject205の数を一つ増加させる。さらに、制御部101はObjectInfo202にObjectID、FrameCount、およびCreateTimeを保存して、記録媒体141に保存されたSC0001.CTGファイルを更新する。なお、SC0001.CTGファイルが存在しない場合には、制御部101は当該ファイルを生成する。   At this time, the control unit 101 increases the number of Header TotalObjects 205 in the work history file expanded in the memory 104 by one. Further, the control unit 101 stores the ObjectID, FrameCount, and CreateTime in the ObjectInfo 202, and stores the SC0001. Update the CTG file. SC0001. When the CTG file does not exist, the control unit 101 generates the file.

図6に示すステップS602の処理においては、制御部101は、図10(b)に示す動画選択画面908を表示部130に表示する。ここで、ユーザーが動画”2”の選択を解除すると、制御部101は、図10(c)に示す動画選択画面909を表示部130に表示する。ここでは、選択動画910において動画”2”がグレーアウトされ、動画一覧において、動画”2”のグレーアウトが解除される。   In the process of step S602 illustrated in FIG. 6, the control unit 101 displays the moving image selection screen 908 illustrated in FIG. Here, when the user cancels the selection of the moving image “2”, the control unit 101 displays a moving image selection screen 909 shown in FIG. Here, the moving image “2” is grayed out in the selected moving image 910, and the gray out of the moving image “2” is canceled in the moving image list.

図8に示すステップS807の処理においては、制御部101は、図10(d)に示す削除画像択画面911を表示部130に表示する。図10(d)においては、”削除したい画像を選択してください”というガイダンスが表示されるとともに、記録媒体141に保存された画像の一覧が表示される。   In the process of step S807 shown in FIG. 8, the control unit 101 displays a deletion image selection screen 911 shown in FIG. In FIG. 10D, a guidance “Please select an image you want to delete” is displayed, and a list of images stored in the recording medium 141 is displayed.

ステップS808の処理において、ユーザが削除画像選択画面911で削除した画像にチェック917を入れると、制御部101はステップS809において、チェックを917を入れた、つまり、選択した画像を記録媒体141から削除する。   In the process of step S808, when the user checks the image 917 deleted on the deletion image selection screen 911, the control unit 101 checks 917 in step S809, that is, deletes the selected image from the recording medium 141. To do.

このように、本発明の実施の形態では、直近の作業履歴を用いると記録媒体の空き容量が不足して結合動画ファイルを保存ができない場合には、作業履歴をクリアして選択した動画ファイルを結合して保存ができないということをユーザーに知らせる。これによって、ユーザーに結合動画ファイルの保存が行えるという操作上の矛盾を与えないことができる。   As described above, according to the embodiment of the present invention, when the latest work history is used and the combined movie file cannot be saved due to insufficient free space on the recording medium, the selected movie file is cleared by clearing the work history. Inform users that they cannot be merged and saved. As a result, it is possible to prevent the user from having an operation inconsistency that the combined moving image file can be saved.

上述の説明から明らかなように、図1に示す例においては、制御部101がファイル生成手段および判定手段として機能し、制御部101および画像処理部111が結合処理手段として機能する。また、制御部101および表示制御部131は報知手段として機能し、制御部101および記録再生部140は削除手段として機能する。なお、上記の作業履歴情報は、画像処理装置の電源をオフにしても消去されない記憶領域に保持され、画像処理装置の電源が再度オンになった後、制御部101は、結合動画ファイルを生成ため、記憶領域に保持された作業履歴情報を参照する。   As is clear from the above description, in the example shown in FIG. 1, the control unit 101 functions as a file generation unit and a determination unit, and the control unit 101 and the image processing unit 111 function as a combination processing unit. In addition, the control unit 101 and the display control unit 131 function as a notification unit, and the control unit 101 and the recording / playback unit 140 function as a deletion unit. Note that the above work history information is held in a storage area that is not erased even when the image processing apparatus is turned off. After the image processing apparatus is turned on again, the control unit 101 generates a combined moving image file. Therefore, the work history information held in the storage area is referred to.

以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。   As mentioned above, although this invention was demonstrated based on embodiment, this invention is not limited to these embodiment, Various forms of the range which does not deviate from the summary of this invention are also contained in this invention. .

また、上記の実施の形態の機能を制御方法として、この制御方法を画像処理装置に実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを制御プログラムとして、当該制御プログラムを画像処理装置が備えるコンピュータに実行させるようにしてもよい。なお、制御プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。   Further, the function of the above embodiment may be used as a control method, and this control method may be executed by the image processing apparatus. In addition, a program having the functions of the above-described embodiments may be used as a control program, and the control program may be executed by a computer included in the image processing apparatus. The control program is recorded on a computer-readable recording medium, for example.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給する。そして、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium. It can also be realized by a process in which one or more processors in the computer of the system or apparatus read and execute the program. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

101 制御部
102 操作部
110 撮像部
111 画像処理部
120 音声入力部
121 音声処理部
130 表示部
131 表示制御部
140 記録再生部
141 記録媒体
DESCRIPTION OF SYMBOLS 101 Control part 102 Operation part 110 Imaging part 111 Image processing part 120 Audio | voice input part 121 Audio | voice processing part 130 Display part 131 Display control part 140 Recording / reproducing part 141 Recording medium

Claims (11)

複数の動画ファイルを結合して一つの結合動画ファイルとする画像処理装置であって、
前記複数の動画ファイルから結合する動画ファイルを選択した際、選択された前記動画ファイルを特定する作業履歴情報を生成する生成手段と、
前記結合動画ファイルを保存するための記録媒体に、前記結合動画ファイルを保存する空き容量が存在するか否かを判定する判定手段と、
前記判定手段によって前記空き容量が存在すると判定された場合に、前記作業履歴情報を用いて動画ファイルの結合処理を行う結合処理手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus that combines a plurality of video files into one combined video file,
Generating means for generating work history information for identifying the selected moving image file when selecting a moving image file to be combined from the plurality of moving image files;
Determining means for determining whether or not there is a free capacity for storing the combined moving image file in a recording medium for storing the combined moving image file;
When the determination unit determines that the free space exists, a combination processing unit that performs a combination process of moving image files using the work history information;
An image processing apparatus comprising:
前記判定手段は、前記作業履歴情報に基づき前記結合動画ファイルのファイルサイズを求め、当該ファイルサイズの前記結合動画ファイルを保存する空き容量が存在するか否かを判定することを特徴とする請求項1に記載の画像処理装置。   The determination means determines a file size of the combined moving image file based on the work history information, and determines whether or not there is a free capacity for storing the combined moving image file of the file size. The image processing apparatus according to 1. 前記結合処理手段は、前記作業履歴情報を用いることなく前記複数の動画ファイルから結合する動画ファイルを選択する場合には、前記作業履歴情報をクリアすることを特徴とする請求項1又は2に記載の画像処理装置。   3. The work history information is clear when the combination processing unit selects a moving image file to be combined from the plurality of moving image files without using the work history information. 4. Image processing apparatus. 前記作業履歴情報には、少なくとも、前記選択した動画ファイルの各々の固有番号、フレーム数が記録されていることを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein at least the unique number and the number of frames of each of the selected moving image files are recorded in the work history information. 前記判定手段によって前記空き容量が存在しないと判定された場合に、前記結合動画ファイルの保存ができない旨の報知を行う報知手段を有することを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。   5. The information processing apparatus according to claim 1, further comprising a notification unit that notifies that the combined moving image file cannot be stored when the determination unit determines that the free space does not exist. The image processing apparatus described. 前記報知手段は、前記結合動画ファイルの保存ができない旨を表示部にガイダンスとして表示することを特徴とする請求項5に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the notification unit displays on the display unit as guidance that the combined moving image file cannot be stored. 前記報知手段は、前記結合動画ファイルを生成する際に選択された動画ファイルを前記作業履歴情報により特定される前記動画ファイルのうちから、前記結合動画ファイルの生成に用いない動画ファイルを選択するための画面を表示部に表示することを特徴とする請求項5又は6に記載の画像処理装置。   The notification means selects a video file that is not used to generate the combined video file from among the video files specified by the work history information as a video file selected when generating the combined video file. The image processing apparatus according to claim 5, wherein the screen is displayed on a display unit. 前記報知手段は、前記記録媒体に保存された画像ファイルを選択的に削除するための削除画面を表示部に表示することを特徴とする請求項5乃至7のいずれか1項に記載の画像処理装置。   The image processing according to claim 5, wherein the notification unit displays a deletion screen for selectively deleting an image file stored in the recording medium on a display unit. apparatus. 前記作業履歴情報は、前記画像処理装置の電源をオフにしても消去されない記憶領域に保持されており、
前記画像処理装置の電源が再度オンになった後、前記結合処理手段は、前記結合動画ファイルを生成ために、前記記憶領域に保持された作業履歴情報を参照することを特徴とする請求項1乃至8のいずれか1項に記載の画像処理装置。
The work history information is held in a storage area that is not erased even when the image processing apparatus is turned off.
The combined processing means refers to work history information held in the storage area to generate the combined moving image file after the image processing apparatus is turned on again. 9. The image processing device according to any one of 1 to 8.
複数の動画ファイルを結合して一つの結合動画ファイルとする画像処理装置の制御方法であって、
前記複数の動画ファイルから結合する動画ファイルを選択した際、選択された前記動画ファイルを特定する作業履歴情報を生成する生成ステップと、
前記結合動画ファイルを保存するための記録媒体に、前記結合動画ファイルを保存する空き容量が存在するか否かを判定する判定ステップと、
前記判定ステップで前記空き容量が存在すると判定された場合に、前記作業履歴情報を用いて動画ファイルの結合処理を行う結合処理ステップと、
を有することを特徴とする制御方法。
A method of controlling an image processing apparatus by combining a plurality of video files into a single combined video file,
A generation step of generating work history information for identifying the selected video file when selecting a video file to be combined from the plurality of video files;
A determination step of determining whether or not there is a free capacity for storing the combined moving image file in a recording medium for storing the combined moving image file;
A combination processing step of performing a combination processing of moving image files using the work history information when it is determined in the determination step that the free space exists;
A control method characterized by comprising:
複数の動画ファイルを結合して一つの結合動画ファイルとする画像処理装置で用いられる制御プログラムであって、
前記画像処理装置が備えるコンピュータに、
前記複数の動画ファイルから結合する動画ファイルを選択した際、選択された前記動画ファイルを特定する作業履歴情報を生成する生成ステップと、
前記結合動画ファイルを保存するための記録媒体に、前記結合動画ファイルを保存する空き容量が存在するか否かを判定する判定ステップと、
前記判定ステップで前記空き容量が存在すると判定された場合に、前記作業履歴情報を用いて動画ファイルの結合処理を行う結合処理ステップと、
を実行させることを特徴とする制御プログラム。
A control program used in an image processing apparatus that combines a plurality of moving image files into a combined moving image file,
In the computer provided in the image processing apparatus,
A generation step of generating work history information for identifying the selected video file when selecting a video file to be combined from the plurality of video files;
A determination step of determining whether or not there is a free capacity for storing the combined moving image file in a recording medium for storing the combined moving image file;
A combination processing step of performing a combination processing of moving image files using the work history information when it is determined in the determination step that the free space exists;
A control program characterized by causing
JP2015196777A 2015-10-02 2015-10-02 Image processing apparatus, control method thereof, and control program Active JP6566826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015196777A JP6566826B2 (en) 2015-10-02 2015-10-02 Image processing apparatus, control method thereof, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015196777A JP6566826B2 (en) 2015-10-02 2015-10-02 Image processing apparatus, control method thereof, and control program

Publications (3)

Publication Number Publication Date
JP2017069902A true JP2017069902A (en) 2017-04-06
JP2017069902A5 JP2017069902A5 (en) 2018-11-15
JP6566826B2 JP6566826B2 (en) 2019-08-28

Family

ID=58492966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015196777A Active JP6566826B2 (en) 2015-10-02 2015-10-02 Image processing apparatus, control method thereof, and control program

Country Status (1)

Country Link
JP (1) JP6566826B2 (en)

Also Published As

Publication number Publication date
JP6566826B2 (en) 2019-08-28

Similar Documents

Publication Publication Date Title
JP5783737B2 (en) Image pickup apparatus and moving image recording apparatus control method
JP2013258510A (en) Imaging device, and method and program of controlling the same
JP5082973B2 (en) Video recording system and imaging apparatus
JP2012161012A (en) Moving picture recorder
JP2012156587A (en) Video recording device
US10200616B2 (en) Image processing device that performs image rotation processing, method of controlling the same, and storage medium
JP5818599B2 (en) Movie recording device
JP5683301B2 (en) Image recording device
JP5713701B2 (en) Movie recording device
JP5769434B2 (en) Movie recording device, information processing device
JP5990055B2 (en) Imaging apparatus and control method thereof
JP5773855B2 (en) Image processing device
JP6566826B2 (en) Image processing apparatus, control method thereof, and control program
JP2015023317A (en) Image management device, control method thereof, program, and storage medium
JP2015023317A5 (en) Image management apparatus, image management method, program, and storage medium
JP6463967B2 (en) Imaging apparatus and control method thereof
JP6395532B2 (en) Image recording apparatus and method, and program
JP5889459B2 (en) Recording device
JP6218489B2 (en) Image processing device
JP6079907B2 (en) Image editing apparatus and editing program
JP2017011630A (en) Image processor and imaging system
JP6478626B2 (en) Recording apparatus, control method therefor, and program
JP2021061542A (en) Imaging apparatus and control method for the same, and program
JP2016063256A (en) Imaging apparatus, control method thereof, and program
JP5866896B2 (en) Image editing apparatus and editing program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180928

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190423

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190619

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190730

R151 Written notification of patent or utility model registration

Ref document number: 6566826

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151