[go: up one dir, main page]

JP2015035784A - Image processing apparatus, method, and program - Google Patents

Image processing apparatus, method, and program Download PDF

Info

Publication number
JP2015035784A
JP2015035784A JP2013166989A JP2013166989A JP2015035784A JP 2015035784 A JP2015035784 A JP 2015035784A JP 2013166989 A JP2013166989 A JP 2013166989A JP 2013166989 A JP2013166989 A JP 2013166989A JP 2015035784 A JP2015035784 A JP 2015035784A
Authority
JP
Japan
Prior art keywords
image
file path
series
shooting
unit
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.)
Pending
Application number
JP2013166989A
Other languages
Japanese (ja)
Inventor
中瀬 雄一
Yuichi Nakase
雄一 中瀬
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 JP2013166989A priority Critical patent/JP2015035784A/en
Publication of JP2015035784A publication Critical patent/JP2015035784A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To appropriately set a file path for a representative image in a case where material images are stored by a series of consecutive photographing and the representative image related to the series of material images is produced during the photographing.SOLUTION: In a digital camera 100 that stores material images by a series of consecutive photographing and produces a representative image related to the series of material images during the photographing, when the series of consecutive photographing is started, a file path out of a DCF naming rule, for example, is decided as a temporal file path so as not to be overlapped with a file path for the series of material images stored by the photographing. While the series of consecutive photographing is performed, the material image is stored in a file path decided in an ascending order of the DCF naming rule for each photographing, and the representative image is recorded in the temporal file path. After termination of the photographing of the series of material images, the temporal file path is changed to a file path continuous to the file path of the last material image.

Description

本発明は、一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する画像処理装置、方法及びプログラムに関する。   The present invention relates to an image processing apparatus, method, and program for storing a material image by a series of photographing and creating a representative image related to the series of material images during the photographing.

従来、画像処理装置には、所定の命名規則に従って画像を保存する場合に、記録媒体内の命名済みの画像と名前が重複せずかつ記録媒体の命名済み画像の確認を終える前に画像の新規撮影を実現するものが提案されている。特許文献1では、撮影されたデジタル画像データを、一時記録ディレクトリ中に一時記録ファイル名を付けて記録媒体に記録し、さらに、この一時記録ファイル名を管理用ファイル名に変換するようにしたので、電源オン時から短時間で撮影可能な状態になり、シャッターチャンスを逃すことなく撮影することができる。   Conventionally, when an image is stored in accordance with a predetermined naming rule, the image processing apparatus has a name that does not overlap with the name of the named image in the recording medium, and before the confirmation of the named image on the recording medium is completed, a new image is created. Something that realizes photography has been proposed. In Patent Document 1, the captured digital image data is recorded on a recording medium with a temporary recording file name in the temporary recording directory, and the temporary recording file name is converted into a management file name. The camera can shoot in a short time after the power is turned on, and can shoot without missing a photo opportunity.

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

しかしながら、特許文献1では、一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する場合に、代表画像のファイルパスをどのように取り扱うかについては検討されていない。例えば所定の命名規則の構成により代表画像のファイルパスが生成できない場合について検討されていない。また、再生モード移行時には即座に代表画像を閲覧できるようにするのが好ましいが、一連の素材画像のファイルパスと代表画像のファイルパスとの関係によっては、それが難しくなることもある。   However, Patent Document 1 discusses how to handle a file path of a representative image when a material image is stored by a series of photographing and a representative image related to the series of material images is created during the photographing. It has not been. For example, the case where the file path of the representative image cannot be generated due to the configuration of a predetermined naming rule has not been studied. In addition, it is preferable that the representative image can be viewed immediately upon transition to the reproduction mode, but this may be difficult depending on the relationship between the file path of the series of material images and the file path of the representative image.

本発明は上記のような点に鑑みてなされたものであり、一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する場合に、代表画像のファイルパスを適切に設定できるようにすることを目的とする。   The present invention has been made in view of the above points. When a material image is stored by a series of photographing and a representative image related to the series of material images is created during the photographing, a representative image file is created. The purpose is to be able to set the path appropriately.

本発明の画像処理装置は、一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する画像処理装置であって、一連の撮影を開始するに際して、該撮影により保存される一連の素材画像のファイルパスと重複しないように代表画像の仮ファイルパスを決定する決定手段と、一連の撮影を行っている間は、撮影毎に所定の命名規則に従って順序づけられたファイルパスに前記素材画像を保存するとともに、前記決定手段で決定した仮ファイルパスに代表画像を記録する記録制御手段とを備えたことを特徴とする。   The image processing apparatus of the present invention is an image processing apparatus that stores a material image by a series of photographing and creates a representative image related to the series of material images during the photographing. A determination means for determining a temporary file path of a representative image so as not to overlap with a file path of a series of material images stored by shooting, and during a series of shooting, each shooting is ordered according to a predetermined naming rule. And a recording control unit for storing the representative image in the temporary file path determined by the determination unit.

本発明によれば、一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する場合に、代表画像のファイルパスを適切に設定することができる。   According to the present invention, when a material image is stored by a series of photographing and a representative image related to the series of material images is created during the photographing, the file path of the representative image can be appropriately set.

第1の実施形態に係るデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera which concerns on 1st Embodiment. 第1の実施形態に係るデジタルカメラの撮影記録処理を示すフローチャートである。It is a flowchart which shows the imaging | photography recording process of the digital camera which concerns on 1st Embodiment. 第1の実施形態に係るデジタルカメラにおけるファイル構成を示す図である。It is a figure which shows the file structure in the digital camera which concerns on 1st Embodiment. 第1の実施形態に係るデジタルカメラの再生処理を示すフローチャートである。It is a flowchart which shows the reproduction process of the digital camera which concerns on 1st Embodiment. 第2の実施形態に係るデジタルカメラの撮影記録処理を示すフローチャートである。It is a flowchart which shows the imaging | photography recording process of the digital camera which concerns on 2nd Embodiment. 第2の実施形態に係るデジタルカメラにおけるファイル構成を示す図である。It is a figure which shows the file structure in the digital camera which concerns on 2nd Embodiment.

以下、添付図面を参照して、本発明の好適な実施形態について説明する。
(第1の実施形態)
以下に説明する実施形態では、本発明を適用した画像処理装置として、動画及び静止画を撮影、記録することができるデジタルカメラについて説明する。デジタルカメラは、特定の記録モード(以下、素材保存撮影モードと呼ぶ)において、画像記録の指示が入力されたことに応じて一連の撮影により素材画像を撮影保存し、一連の素材画像に関連する代表画像を作成する。素材保存撮影モードの例としては、一定間隔で撮影した静止画を素材画像とし、各素材画像を1以上のフレーム画像とした動画を代表画像とするモードがある。また、一定間隔で撮影した静止画を素材画像とし、各素材画像を重畳合成した合成静止画を代表画像とするモードがある。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
(First embodiment)
In the embodiments described below, a digital camera capable of shooting and recording moving images and still images will be described as an image processing apparatus to which the present invention is applied. In a specific recording mode (hereinafter referred to as a material storage photographing mode), a digital camera captures and stores a material image by a series of photographing in response to an image recording instruction being input, and relates to a series of material images. Create a representative image. As an example of the material preserving shooting mode, there is a mode in which still images taken at regular intervals are used as material images, and a moving image in which each material image is one or more frame images is used as a representative image. In addition, there is a mode in which still images taken at regular intervals are used as material images, and synthesized still images obtained by superimposing and combining the material images are used as representative images.

図1は、第1の実施形態に係るデジタルカメラ100の構成を示すブロック図である。
制御部101は、例えばCPU(MPU)、メモリ(DRAM、SRAM)等からなり、各種処理(プログラム)を実行してデジタルカメラ100の各ブロックを制御したり、各ブロック間でのデータ転送を制御したりする。また、制御部101は、ユーザからの操作を受け付ける操作部102からの操作信号に応じて、デジタルカメラ100の各ブロックを制御する。また、制御部101は、後述の画像処理部111によって得られた画像を解析し、その解析結果に応じて、デジタルカメラ100の各ブロックを制御する。
FIG. 1 is a block diagram illustrating a configuration of a digital camera 100 according to the first embodiment.
The control unit 101 includes, for example, a CPU (MPU), a memory (DRAM, SRAM), etc., executes various processes (programs) to control each block of the digital camera 100, and controls data transfer between the blocks. To do. Further, the control unit 101 controls each block of the digital camera 100 in accordance with an operation signal from the operation unit 102 that receives an operation from the user. The control unit 101 analyzes an image obtained by an image processing unit 111 described later, and controls each block of the digital camera 100 according to the analysis result.

操作部102は、例えば電源ボタン、静止画記録ボタン、動画記録開始ボタン、ズーム調整ボタン、オートフォーカスボタン等の撮影に関連する各種操作を入力するスイッチ類を含む。また、メニュー表示ボタン、決定ボタン、その他カーソルキー、ポインティングデバイス、タッチパネル等を含む。ユーザによりこれらのキーやボタンが操作されると、制御部101に操作信号を送信する。   The operation unit 102 includes 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. In addition, a menu display button, a determination button, other cursor keys, a pointing device, a touch panel, and the like are included. When these keys and buttons are operated by the user, an operation signal is transmitted to the control unit 101.

バス103は、各種データや信号をデジタルカメラ100の各ブロックに送るための汎用バスである。   The bus 103 is a general-purpose bus for sending various data and signals to each block of the digital camera 100.

撮像部110は、レンズにより取り込まれた被写体の光学像を、絞りにより光量を制御して、CCDセンサやCMOSセンサ等の撮像素子により画像信号に変換し、アナログデジタル変換をして画像処理部111に送信する。
画像処理部111は、入力されたデジタル画像信号に、設定値に基づいてホワイトバランスや色、明るさ等を調整する画質調整処理を行う。画像処理部111により処理された画像信号は、制御部101の制御下でメモリ104や映像出力部150や表示制御部131に送信される。
本実施形態において、撮像部110は「光学ズーム」機能、「光学防振」機能を有し、画像処理部111は「電子ズーム」機能、「電子防振」機能を有する。ここで、「光学ズーム」機能、「電子ズーム」機能は、ユーザの操作に応じて、得られる画像を拡大する機能である。また、「光学防振」機能、「電子防振」機能は、デジタルカメラ100本体の振動による画像の揺れを防止する機能である。これらの機能は、制御部101の制御下で同時に使用されたり、交互に使用されたり、単独で使用されたりする。
ここで、「光学ズーム」機能とは、ユーザにより操作部102のズームキーが操作されたことに応じて、撮像部110のレンズを移動させることにより、取り込まれる被写体の光学像を拡大/縮小する機能である。また、「電子ズーム」機能とは、ユーザにより操作部102のズームキーが操作されたことに応じて、画像処理部111が、撮像部110により生成された画像のうち一部を切り出した画像を拡大した画像信号を生成する処理である。また、「光学防振」機能とは、不図示の振動検出部からの加速度信号の値に基づいて、レンズの移動量を算出し、撮像部110のレンズを移動させることにより、取得される画像の揺れを防止する機能である。また、「電子防振」機能とは、不図示の振動検出部からの加速度信号の値に基づいて、画像処理部111が、撮像部110により取得された画像信号の位置を調整することにより、画像の揺れを防止する機能である。また、「電子防振」機能は、不図示の振動検出部からの加速度信号の値に基づいて、撮像部110の撮像素子における読み出し位置をずらすことによっても実現できる。これらの機能は公知の技術であるため、詳細な説明は省略する。
The imaging unit 110 controls the amount of light of an optical image of a subject captured by a lens using an aperture, converts the optical image into an image signal using an imaging element such as a CCD sensor or a CMOS sensor, performs analog-digital conversion, and performs an image processing unit 111. Send to.
The image processing unit 111 performs image quality adjustment processing for adjusting white balance, color, brightness, and the like on the input digital image signal based on setting values. The image signal processed by the image processing unit 111 is transmitted to the memory 104, the video output unit 150, and the display control unit 131 under the control of the control unit 101.
In the present embodiment, the imaging unit 110 has an “optical zoom” function and an “optical image stabilization” function, and the image processing unit 111 has an “electronic zoom” function and an “electronic image stabilization” function. Here, the “optical zoom” function and the “electronic zoom” function are functions for enlarging an obtained image in accordance with a user operation. The “optical image stabilization” function and the “electronic image stabilization” function are functions for preventing image shake due to vibration of the digital camera 100 main body. These functions are used simultaneously under the control of the control unit 101, used alternately, or used alone.
Here, the “optical zoom” function is a function of enlarging / reducing an optical image of a captured subject by moving the lens of the imaging unit 110 in response to the user operating the zoom key of the operation unit 102. It is. In addition, the “electronic zoom” function refers to an enlargement of an image obtained by cutting out a part of the image generated by the imaging unit 110 by the image processing unit 111 in response to the user operating the zoom key of the operation unit 102. This is a process for generating the processed image signal. The “optical image stabilization” function is an image acquired by calculating the amount of lens movement based on the value of an acceleration signal from a vibration detection unit (not shown) and moving the lens of the imaging unit 110. This is a function to prevent shaking. Further, the “electronic image stabilization” function means that the image processing unit 111 adjusts the position of the image signal acquired by the imaging unit 110 based on the value of an acceleration signal from a vibration detection unit (not shown). This function prevents the image from shaking. The “electronic image stabilization” function can also be realized by shifting the readout position of the image sensor of the imaging unit 110 based on the value of an acceleration signal from a vibration detection unit (not shown). Since these functions are well-known techniques, detailed description is omitted.

音声入力部120は、例えば内蔵された無指向性のマイク又は音声入力端子を介して接続された外部マイク等により、デジタルカメラ100の周囲の音声を集音(収音)し、アナログデジタル変換をして音声処理部121に送信する。
音声処理部121は、入力されたデジタル音声信号のレベルの適正化処理等の音声に関する処理を行う。音声処理部121により処理された音声信号は、制御部101の制御下でメモリ104に送信される。
The audio input unit 120 collects (collects) sound around the digital camera 100 using, for example, a built-in omnidirectional microphone or an external microphone connected via an audio input terminal, and performs analog-digital conversion. And transmitted to the voice processing unit 121.
The sound processing unit 121 performs sound-related processing such as level optimization processing of the input digital sound signal. The audio signal processed by the audio processing unit 121 is transmitted to the memory 104 under the control of the control unit 101.

メモリ104は、画像処理部111、音声処理部121により得られた画像信号、音声信号を一時的に記憶する。
画像処理部111、音声処理部121は、メモリ104に一時的に記憶された画像信号や音声信号を読み出して画像信号の符号化、音声信号の符号化等を行い、圧縮画像信号、圧縮音声信号等を生成する。画像処理部111、音声処理部121により生成された圧縮画像信号、圧縮音声信号は、制御部101の制御下で記録再生部140に送信される。
The memory 104 temporarily stores the image signal and the audio signal obtained by the image processing unit 111 and the audio processing unit 121.
The image processing unit 111 and the audio processing unit 121 read out the image signal and the audio signal temporarily stored in the memory 104 and perform the encoding of the image signal, the encoding of the audio signal, and the like, and the compressed image signal and the compressed audio signal And so on. The compressed image signal and the compressed audio signal generated by the image processing unit 111 and the audio processing unit 121 are transmitted to the recording / reproducing unit 140 under the control of the control unit 101.

記録再生部140は、記録媒体141に対して画像処理部111、音声処理部121により生成された圧縮画像信号、圧縮音声信号、その他撮影に関する制御データ等を記録する。また、音声信号を圧縮符号化しない場合、制御部101の制御下で、音声処理部121により生成された音声信号と画像処理部111により生成された圧縮画像信号とを記録再生部140に送信し、記録媒体141に記録する。
また、記録再生部140は、記録媒体141に記録された圧縮画像信号、圧縮音声信号、音声信号、各種データ、プログラムを読み出す(再生する)。記録再生部140により読み出された圧縮画像信号、圧縮音声信号は、制御部101の制御下で画像処理部111、音声処理部121に送信される。画像処理部111、音声処理部121は、圧縮画像信号、圧縮音声信号を一時的にメモリ104に記憶し、所定の手順で復号し、復号した音声信号を音声出力部151に、復号化した画像信号を映像出力部150や表示制御部131に送信する。また、音声信号が記録媒体141に非圧縮記録されている場合、制御部101の制御下で、音声信号を直接音声出力部151に送信する。
記録媒体141は、デジタルカメラ100に内蔵された記録媒体であっても、着脱可能な記録媒体であってもよく、デジタルカメラ100で生成した圧縮画像信号、圧縮音声信号、音声信号、各種データ等を記録することができればよい。記録媒体141は、例えばハードディスク、光ディスク、光磁気ディスク、CD−R、DVD−R、磁気テープ、不揮発性の半導体メモリ、フラッシュメモリ等のあらゆる方式の記録媒体を含む。
The recording / reproducing unit 140 records, on the recording medium 141, the compressed image signal, the compressed audio signal generated by the image processing unit 111 and the audio processing unit 121, and other control data related to shooting. When the audio signal is not compression-encoded, the audio signal generated by the audio processing unit 121 and the compressed image signal generated by the image processing unit 111 are transmitted to the recording / reproducing unit 140 under the control of the control unit 101. To the recording medium 141.
The recording / reproducing unit 140 reads (reproduces) a compressed image signal, a compressed audio signal, an audio signal, various data, and a program recorded on the recording medium 141. The compressed image signal and the compressed audio signal read by the recording / reproducing unit 140 are transmitted to the image processing unit 111 and the audio processing unit 121 under the control of the control unit 101. The image processing unit 111 and the audio processing unit 121 temporarily store the compressed image signal and the compressed audio signal in the memory 104, decode them in a predetermined procedure, and decode the decoded audio signal to the audio output unit 151. The signal is transmitted to the video output unit 150 and the display control unit 131. Further, when the audio signal is uncompressed and recorded on the recording medium 141, the audio signal is directly transmitted to the audio output unit 151 under the control of the control unit 101.
The recording medium 141 may be a recording medium built in the digital camera 100 or a detachable recording medium. A compressed image signal, a compressed audio signal, an audio signal, various data, etc. generated by the digital camera 100 may be used. Can be recorded. The recording medium 141 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.

音声出力部151は、例えば音声出力端子からなり、接続されたイヤホンやスピーカ等から音声を出力するために音声信号を送信する。また、音声出力部151は、デジタルカメラ100に内蔵され、音声信号にかかる音声を出力するスピーカであってもよい。
映像出力部150は、例えば映像出力端子からなり、接続された外部ディスプレイ等に映像を表示するために画像信号を送信する。
音声出力部151及び映像出力部150は、統合された1つの端子、例えばHDMI(High-Definition Multimedia Interface)(登録商標)端子のような端子であってもよい。
The audio output unit 151 includes, for example, an audio output terminal, and transmits an audio signal in order to output audio from a connected earphone or speaker. In addition, the audio output unit 151 may be a speaker that is built in the digital camera 100 and outputs audio related to an audio signal.
The video output unit 150 includes a video output terminal, for example, and transmits an image signal to display the video on a connected external display or the like.
The audio output unit 151 and the video output unit 150 may be a single integrated terminal, for example, a terminal such as a High-Definition Multimedia Interface (HDMI) (registered trademark) terminal.

表示制御部131は、画像処理部111から送信された画像信号による映像や、デジタルカメラ100を操作するための操作画面(メニュー画面)等を表示部130に表示する。
表示部130は、例えば液晶ディスプレイ、有機ELディスプレイ、電子ペーパー等の表示デバイスであればよい。
The display control unit 131 displays an image based on the image signal transmitted from the image processing unit 111, an operation screen (menu screen) for operating the digital camera 100, and the like on the display unit 130.
The display unit 130 may be a display device such as a liquid crystal display, an organic EL display, or electronic paper.

ここで、本実施形態に係るデジタルカメラ100の通常の動作について説明する。
ユーザが操作部102の電源ボタンを操作すると、操作部102から制御部101に起動の指示が出される。この指示を受けて、制御部101は、不図示の電源供給部を制御して、デジタルカメラ100の各ブロックに対して電源を供給する。
電源が供給されると、制御部101は、操作部102のモード切り換えスイッチが、例えば静止画撮影モード、動画撮影モード、再生モードのいずれであるかを操作部102からの操作信号により確認する。
静止画撮影モードでは、撮影待機状態でユーザが操作部102の静止画記録ボタンを操作することにより撮影を行い、圧縮画像信号が記録媒体141に記録される。そして、再び撮影待機状態になる。
動画撮影モードでは、撮影待機状態でユーザが操作部102の動画記録開始ボタンを操作することにより撮影を開始し、その間、圧縮画像信号と圧縮音声信号又は音声信号が記録媒体141に記録される。そして、ユーザが操作部102の動画記録終了ボタンを操作することにより撮影を終了し、再び撮影待機状態になる。
再生モードでは、ユーザが選択したファイルに関する圧縮画像信号や圧縮音声信号又は音声信号を記録媒体141から再生して、音声出力部151から音声信号を出力し、表示部130に映像を表示する。
Here, a normal operation of the digital camera 100 according to the present embodiment will be described.
When the user operates the power button of the operation unit 102, a start instruction is issued from the operation unit 102 to the control unit 101. Upon receiving this instruction, the control unit 101 controls a power supply unit (not shown) to supply power to each block of the digital camera 100.
When the power is supplied, the control unit 101 checks whether the mode change switch of the operation unit 102 is, for example, a still image shooting mode, a moving image shooting mode, or a reproduction mode, based on an operation signal from the operation unit 102.
In the still image shooting mode, the user performs shooting by operating the still image recording button of the operation unit 102 in the shooting standby state, and the compressed image signal is recorded on the recording medium 141. And it will be in a photography standby state again.
In the moving image shooting mode, the user starts shooting by operating the moving image recording start button of the operation unit 102 in the shooting standby state, and during that time, the compressed image signal and the compressed audio signal or the audio signal are recorded on the recording medium 141. Then, when the user operates the moving image recording end button of the operation unit 102, the shooting is finished, and the shooting standby state is entered again.
In the reproduction mode, a compressed image signal, a compressed audio signal, or an audio signal related to a file selected by the user is reproduced from the recording medium 141, an audio signal is output from the audio output unit 151, and an image is displayed on the display unit 130.

静止画撮影モードについて説明する。操作部102により静止画撮影モードが設定されると、前述のようにまず、制御部101は、デジタルカメラ100の各ブロックを撮影待機状態に設定する。
撮影待機状態で、画像処理部111は、画像信号を表示制御部131に送信し、表示部130に画像信号に関する映像を表示する。ユーザはこのようにして表示された画面を見ながら撮影の準備を行うことができる。
撮影待機状態で、ユーザが操作部102の静止画記録ボタンを操作することにより撮影指示信号が送信されると、制御部101は、撮影制御信号をデジタルカメラ100の各ブロックに送信して、以下のような動作をさせるように制御する。
撮像部110は、レンズにより取り込まれた被写体の光学像を撮像素子により画像信号に変換し、アナログデジタル変換して、画像処理部111に送信する。画像処理部111は、入力されたデジタル画像信号の画質調整処理(ホワイトバランスや色、明るさ等)を設定値に基づいて処理する。画像処理部111により処理された画像信号は、メモリ104や映像出力部150や表示制御部131に送信される。ここで、表示部130に表示された映像を見ることで、ユーザは撮影した静止画を確認することができる。そして、画像処理部111は、メモリ104に一時的に記憶された画像信号を読み出して所定の符号化を行い、圧縮画像信号を生成し、記録再生部140に出力する。記録再生部140は、UDF、FAT等のファイルシステム管理の下に、圧縮画像信号を静止画ファイルとして記録媒体141に書き込んでいく。
制御部101は、画像処理部111による符号化の動作が終了すると、撮影待機状態に移行するように制御信号をデジタルカメラ100の各ブロックに送信して、撮影待機状態に戻る。
The still image shooting mode will be described. When the still image shooting mode is set by the operation unit 102, the control unit 101 first sets each block of the digital camera 100 to the shooting standby state as described above.
In the shooting standby state, the image processing unit 111 transmits an image signal to the display control unit 131 and displays a video related to the image signal on the display unit 130. The user can prepare for shooting while looking at the screen displayed in this way.
When the shooting instruction signal is transmitted by the user operating the still image recording button of the operation unit 102 in the shooting standby state, the control unit 101 transmits the shooting control signal to each block of the digital camera 100, and the following. It controls to make the operation like.
The imaging unit 110 converts the optical image of the subject captured by the lens into an image signal by the imaging device, performs analog-digital conversion, and transmits the image signal to the image processing unit 111. The image processing unit 111 performs image quality adjustment processing (white balance, color, brightness, etc.) of the input digital image signal based on the set value. The image signal processed by the image processing unit 111 is transmitted to the memory 104, the video output unit 150, and the display control unit 131. Here, by viewing the video displayed on the display unit 130, the user can check the captured still image. Then, the image processing unit 111 reads the image signal temporarily stored in the memory 104, performs predetermined encoding, generates a compressed image signal, and outputs the compressed image signal to the recording / reproducing unit 140. The recording / playback unit 140 writes the compressed image signal to the recording medium 141 as a still image file under file system management such as UDF or FAT.
When the encoding operation by the image processing unit 111 is completed, the control unit 101 transmits a control signal to each block of the digital camera 100 so as to shift to the shooting standby state, and returns to the shooting standby state.

次に、動画撮影モードについて説明する。操作部102により動画撮影モードが設定されると、前述のようにまず、制御部101は、デジタルカメラ100の各ブロックを撮影待機状態に設定する。
撮影待機状態で、画像処理部111は、画像信号を表示制御部131に送信し、表示部130に画像信号に関する映像を表示する。ユーザはこのようにして表示された画面を見ながら撮影の準備を行うことができる。
撮影待機状態で、ユーザが操作部102の動画記録開始ボタンを操作することにより撮影開始の指示信号が送信されると、制御部101は、撮影開始の制御信号をデジタルカメラ100の各ブロックに送信して、以下のような動作をさせるように制御する。
撮像部110は、レンズにより取り込まれた被写体の光学像を撮像素子により画像信号に変換し、アナログデジタル変換して、画像処理部111に送信する。画像処理部111は、入力されたデジタル画像信号の画質調整処理(ホワイトバランスや色、明るさ等)を設定値に基づいて処理する。画像処理部111で処理された画像信号は、表示制御部131、メモリ104に送信される。表示制御部131は、受信した画像信号に関する映像を表示部130に表示する。
一方、音声入力部120は、マイクにより得られたアナログ音声信号をデジタル変換して、得られたデジタル音声信号を音声処理部121に送信する。音声処理部121は、入力されたデジタル音声信号のレベルの適正化処理等をして音声信号を出力する。音声処理部121により処理された音声信号は、メモリ104に送信される。
そして、画像処理部111、音声処理部121は、メモリ104に一時的に記憶された画像信号や音声信号を読み出して所定の符号化を行い、圧縮画像信号、圧縮音声信号等を生成する。制御部101は、これらの圧縮画像信号、圧縮音声信号を合成し、データストリームを形成し、記録再生部140に出力する。記録再生部140は、UDF、FAT等のファイルシステム管理の下に、データストリームを一つの動画ファイルとして記録媒体141に書き込んでいく。また、音声を圧縮しない場合、制御部101は、音声処理部121により生成された音声信号を画像処理部111で生成された圧縮画像信号とともに、記録再生部140に出力する。記録再生部140は、UDF、FAT等のファイルシステム管理の下に、データストリームを一つの動画ファイルとして記録媒体141に書き込んでいく。以上の動作を撮影中は継続する。
Next, the moving image shooting mode will be described. When the moving image shooting mode is set by the operation unit 102, as described above, the control unit 101 first sets each block of the digital camera 100 to the shooting standby state.
In the shooting standby state, the image processing unit 111 transmits an image signal to the display control unit 131 and displays a video related to the image signal on the display unit 130. The user can prepare for shooting while looking at the screen displayed in this way.
When a shooting start instruction signal is transmitted by the user operating the moving image recording start button of the operation unit 102 in the shooting standby state, the control unit 101 transmits a shooting start control signal to each block of the digital camera 100. Then, control is performed so as to perform the following operation.
The imaging unit 110 converts the optical image of the subject captured by the lens into an image signal by the imaging device, performs analog-digital conversion, and transmits the image signal to the image processing unit 111. The image processing unit 111 performs image quality adjustment processing (white balance, color, brightness, etc.) of the input digital image signal based on the set value. The image signal processed by the image processing unit 111 is transmitted to the display control unit 131 and the memory 104. The display control unit 131 displays a video related to the received image signal on the display unit 130.
On the other hand, the audio input unit 120 digitally converts an analog audio signal obtained by the microphone, and transmits the obtained digital audio signal to the audio processing unit 121. The sound processing unit 121 performs a process for optimizing the level of the input digital sound signal and outputs a sound signal. The audio signal processed by the audio processing unit 121 is transmitted to the memory 104.
Then, the image processing unit 111 and the audio processing unit 121 read out the image signal and the audio signal temporarily stored in the memory 104, perform predetermined encoding, and generate a compressed image signal, a compressed audio signal, and the like. The control unit 101 synthesizes the compressed image signal and the compressed audio signal to form a data stream, and outputs the data stream to the recording / reproducing unit 140. The recording / playback unit 140 writes the data stream to the recording medium 141 as a single moving image file under file system management such as UDF or FAT. When the audio is not compressed, the control unit 101 outputs the audio signal generated by the audio processing unit 121 to the recording / reproducing unit 140 together with the compressed image signal generated by the image processing unit 111. The recording / playback unit 140 writes the data stream to the recording medium 141 as a single moving image file under file system management such as UDF or FAT. The above operation is continued during shooting.

また、撮影の間、ユーザによる操作部102の操作に応じて、又は画像処理部111により生成された画像信号の解析結果に応じて、制御部101は、撮像部110や画像処理部111、音声処理部121等に各種制御信号を送信している。例えばレンズの移動や絞り調整等をさせるための制御信号を撮像部110に送信するとともに、画像や音声を調整するための制御信号を画像処理部111、音声処理部121に送信する。
また、同様に撮影の間、ユーザにより操作部102のズームキーを操作することで、制御部101の制御下で、撮像部110の「光学ズーム」機能や、画像処理部111の「電子ズーム」機能を動作させることができる。また、不図示の振動検出部により検出された加速度信号に基づいて、制御部101の制御下で、撮像部110の「光学防振」機能や、画像処理部111の「電子防振」機能が動作している。
In addition, during the shooting, the control unit 101 performs the imaging unit 110, the image processing unit 111, and the sound according to the operation of the operation unit 102 by the user or the analysis result of the image signal generated by the image processing unit 111. Various control signals are transmitted to the processing unit 121 and the like. For example, a control signal for adjusting the lens movement or aperture adjustment is transmitted to the imaging unit 110, and a control signal for adjusting an image or sound is transmitted to the image processing unit 111 and the sound processing unit 121.
Similarly, during shooting, the user operates the zoom key of the operation unit 102 to control the “optical zoom” function of the imaging unit 110 and the “electronic zoom” function of the image processing unit 111 under the control of the control unit 101. Can be operated. Further, under the control of the control unit 101 based on an acceleration signal detected by a vibration detection unit (not shown), the “optical image stabilization” function of the imaging unit 110 and the “electronic image stabilization” function of the image processing unit 111 are provided. It is working.

そして、ユーザが操作部102の動画記録終了ボタンを操作することにより撮影終了の指示信号が制御部101に送信されると、制御部101は、撮影終了の制御信号をデジタルカメラ100の各ブロックに送信して、以下のような動作をさせるように制御する。
画像処理部111、音声処理部121は、画像信号、音声信号のメモリ104への送信を停止する。そして、メモリ104に記憶されている残りの画像信号と音声信号とを読み出して所定の符号化を行い、圧縮画像信号、圧縮音声信号等を生成する。制御部101は、これらの最後の圧縮画像信号、圧縮音声信号を合成し、データストリームを形成し、記録再生部140に出力する。音声を圧縮しない場合、制御部101は、音声処理部121により生成された音声信号と、圧縮画像信号とを記録再生部140に出力する。記録再生部140は、UDF、FAT等のファイルシステム管理の下に、データストリームを一つの動画ファイルとして記録媒体141に書き込んでいく。
Then, when a shooting end instruction signal is transmitted to the control unit 101 by the user operating the moving image recording end button of the operation unit 102, the control unit 101 sends a shooting end control signal to each block of the digital camera 100. Transmit and control to operate as follows.
The image processing unit 111 and the sound processing unit 121 stop transmitting the image signal and the sound signal to the memory 104. Then, the remaining image signal and audio signal stored in the memory 104 are read out and subjected to predetermined encoding to generate a compressed image signal, a compressed audio signal, and the like. The control unit 101 synthesizes these last compressed image signal and compressed audio signal to form a data stream and outputs it to the recording / reproducing unit 140. When the audio is not compressed, the control unit 101 outputs the audio signal generated by the audio processing unit 121 and the compressed image signal to the recording / reproducing unit 140. The recording / playback unit 140 writes the data stream to the recording medium 141 as a single moving image file under file system management such as UDF or FAT.

そして、データストリームの供給が停止したら、制御部101は、サムネイルを生成するために、以下のような動作をさせるように制御する。
記録再生部140は、記録媒体141に記録した動画ファイルの先頭フレームの圧縮画像信号を読み出し、画像処理部111に送信する。画像処理部111は、圧縮画像信号を一時的にメモリ104に記憶させ、所定の手順で復号する。次に、画像処理部111は、得られた画像信号に対してサムネイル用の所定の符号化を行い、サムネイル用圧縮画像信号を生成する。画像処理部111により生成されたサムネイル用圧縮画像信号は、記録再生部140に出力される。記録再生部140は、UDF、FAT等のファイルシステム管理の下に、サムネイル用圧縮画像を、基となる動画ファイルに結合させるように記録媒体141に書き込み、動画ファイルを完成させるとともに記録動作を停止する。
制御部101は、記録動作が停止すると、撮影待機状態に移行するように制御信号をデジタルカメラ100の各ブロックに送信して、撮影待機状態に戻る。
Then, when the supply of the data stream is stopped, the control unit 101 controls to perform the following operation in order to generate a thumbnail.
The recording / reproducing unit 140 reads the compressed image signal of the first frame of the moving image file recorded on the recording medium 141 and transmits the compressed image signal to the image processing unit 111. The image processing unit 111 temporarily stores the compressed image signal in the memory 104 and decodes it according to a predetermined procedure. Next, the image processing unit 111 performs predetermined encoding for thumbnails on the obtained image signal, and generates a compressed image signal for thumbnail. The thumbnail compressed image signal generated by the image processing unit 111 is output to the recording / reproducing unit 140. The recording / playback unit 140 writes the compressed thumbnail image to the recording medium 141 so as to be combined with the underlying moving image file under file system management such as UDF or FAT, completes the moving image file, and stops the recording operation. To do.
When the recording operation stops, the control unit 101 transmits a control signal to each block of the digital camera 100 so as to shift to the shooting standby state, and returns to the shooting standby state.

次に、再生モードについて説明する。操作部102により再生モードが設定されると、制御部101は、再生状態に移行するように制御信号をデジタルカメラ100の各ブロックに送信して、以下のような動作をさせるように制御する。
記録再生部140は、記録媒体141に記録された圧縮画像信号からなる静止画ファイル、或いは圧縮画像信号と圧縮音声信号又は音声信号とからなる動画ファイルを読み出す。記録再生部140により読み出された圧縮画像信号、圧縮音声信号は、画像処理部111、音声処理部121に送信される。圧縮されていない音声信号であれば、音声信号が音声出力部151に送信される。画像処理部111、音声処理部121は、圧縮画像信号、圧縮音声を一時的にメモリ104に記憶し、所定の手順で復号する。画像処理部111、音声処理部121により復号化された音声信号は音声出力部151に、復号化された画像信号は映像出力部150や表示制御部131に送信される。表示制御部131は、入力された画像信号にかかる映像を表示部130に表示し、音声出力部151は、入力された音声信号にかかる音声を内蔵されたスピーカや、接続されたイヤホンやスピーカから出力する。
Next, the playback mode will be described. When the reproduction mode is set by the operation unit 102, the control unit 101 transmits a control signal to each block of the digital camera 100 so as to shift to the reproduction state, and performs control as follows.
The recording / playback unit 140 reads a still image file composed of a compressed image signal recorded on the recording medium 141 or a moving image file composed of a compressed image signal and a compressed audio signal or audio signal. The compressed image signal and the compressed audio signal read out by the recording / reproducing unit 140 are transmitted to the image processing unit 111 and the audio processing unit 121. If the audio signal is not compressed, the audio signal is transmitted to the audio output unit 151. The image processing unit 111 and the sound processing unit 121 temporarily store the compressed image signal and the compressed sound in the memory 104 and decode them according to a predetermined procedure. The audio signal decoded by the image processing unit 111 and the audio processing unit 121 is transmitted to the audio output unit 151, and the decoded image signal is transmitted to the video output unit 150 and the display control unit 131. The display control unit 131 displays an image related to the input image signal on the display unit 130, and the audio output unit 151 receives a sound related to the input audio signal from a built-in speaker or a connected earphone or speaker. Output.

以上のように、本実施形態に係るデジタルカメラ100は、静止画、動画の記録、再生を行う。   As described above, the digital camera 100 according to the present embodiment records and reproduces still images and moving images.

操作部102からの操作信号により素材保存撮影モードが確定すると、制御部101は、図2に示す素材保存撮影モードにおける撮影記録処理を開始する。本実施形態において、素材保存撮影モードでは、一定間隔で撮影した静止画を素材画像とし、各素材画像を1以上のフレーム画像とした動画を代表画像とするものとする。   When the material storage photographing mode is determined by the operation signal from the operation unit 102, the control unit 101 starts the photographing recording process in the material preservation photographing mode shown in FIG. In the present embodiment, in the material preserving shooting mode, a still image taken at regular intervals is used as a material image, and a moving image in which each material image is one or more frame images is used as a representative image.

ステップS201で、制御部101は、操作部102より撮影開始の指示があったと判定したならば、ステップS202に進む。   If it is determined in step S201 that the control unit 101 has received an instruction to start shooting from the operation unit 102, the process proceeds to step S202.

次に、ステップS202で、制御部101は、一連の撮影を開始するに際して、代表画像である動画の仮ファイルパスを決定する。
ここで、DCF(Design rule for Camera File system)規格では、例えば図3(a)に示すように、ルートディレクトリ301の下にサブディレクトリが位置する(例えばサブディレクト302を参照)。サブディレクトリの先頭3文字は重複しない100〜999の番号(ディレクトリ番号)となる。また、サブディレクトリの下で管理されるファイルの名前は、「4文字の英数字+4桁の連番数字(0001〜9999).拡張子」で構成される(例えばファイル303を参照)。以下の説明では、「ディレクトリ番号−ファイル番号(4桁の連番数字)」をDCF番号とも呼ぶ。
代表画像の仮ファイルパスは、DCFにより規定されるファイルパスに従い、命名保存される一連の素材画像(素材静止画)のディレクトリ番号及びファイル番号と重複しないファイルパスとする。
すなわち、DCF命名規則に準じて重複しない番号に命名するか、DCF命名規則外のファイルパスとするかの方法等が挙げられる。前者のDCF命名規則に準じて重複しない番号に命名する一例として、図3(a)のディレクトリ304、ファイル305に示すように、DCF最大番号「999−9999」である最終ファイルパスに仮ファイルパスを設定する。これは、素材保存撮影モードにおいて、代表画像を素材画像より大きいDCF番号のファイルパスにする場合の最大番号である。後者のDCF命名規則外のファイルパスとする一例として、図3(b)に示すように、DCF命名規則外のディレクトリ「MISC」314、ファイル「TMP.MP4」315のように仮ファイルパスを決定する。
Next, in step S202, the control unit 101 determines a temporary file path of a moving image that is a representative image when starting a series of photographing.
Here, in the DCF (Design Rule for Camera File system) standard, for example, as shown in FIG. 3A, a subdirectory is located under the root directory 301 (see, for example, the subdirectory 302). The first three characters of the subdirectory are numbers (directory numbers) 100 to 999 that do not overlap. The name of the file managed under the subdirectory is composed of “four alphanumeric characters + four-digit serial number (0001 to 9999) .extension” (see, for example, the file 303). In the following description, “directory number−file number (four-digit serial number)” is also called a DCF number.
The temporary file path of the representative image is a file path that does not overlap with the directory number and file number of a series of material images (material still images) that are named and stored according to the file path defined by the DCF.
That is, a method of naming a number that does not overlap according to the DCF naming rule, or a file path outside the DCF naming rule, and the like. As an example of naming non-overlapping numbers according to the former DCF naming rule, as shown in the directory 304 and the file 305 in FIG. 3A, a temporary file path is added to the final file path having the DCF maximum number “999-9999”. Set. This is the maximum number when the representative image is set to a file path having a DCF number larger than that of the material image in the material saving photographing mode. As an example of the latter file path outside the DCF naming rule, a temporary file path is determined as shown in a directory “MISC” 314 and a file “TMP.MP4” 315 outside the DCF naming rule, as shown in FIG. To do.

次に、一連の撮影を開始し、ステップS203で、制御部101は、素材画像である静止画DCFファイルパスを決定する。素材画像はDCF番号順に昇順に命名されていく。例えばDCF番号「999−9993」まで画像が記録されている記録媒体においては、図3(b)に示すように、最初の素材画像はDCF番号「999−9994」としてファイルパスが決定される。   Next, a series of photographing is started, and in step S203, the control unit 101 determines a still image DCF file path that is a material image. The material images are named in ascending order in the DCF number order. For example, in a recording medium on which images up to DCF number “999-9993” are recorded, the file path is determined with DCF number “999-9994” for the first material image, as shown in FIG.

次に、ステップS204で、制御部101の制御下で素材画像の撮影が行われ、ステップS205で、ステップS203において決定したファイルパスに素材画像を保存する。
次に、ステップS206で、ステップS204において撮影した素材画像を、先に決定された仮ファイルパスに、代表画像の動画を構成する一つ以上のフレームとして追記する。
In step S204, a material image is taken under the control of the control unit 101. In step S205, the material image is stored in the file path determined in step S203.
Next, in step S206, the material image photographed in step S204 is added as one or more frames constituting the moving image of the representative image to the previously determined temporary file path.

次に、ステップS207では操作部102より撮影停止の指示があったか否か、ステップS208では所定枚数撮影終了したか否かを判定する。いずれかがYesと判定されたならばステップS210に進み、いずれもがNoと判定がされたならばステップS209に進む。ステップS208について補足すると、例えば素材保存撮影モードが予め撮影時及び撮影インターバル時間が設定されたような撮影モードである場合、設定された撮影時間及び設定されたインターバル時間によって決まる撮影枚数が終了したことを持って肯定的な判断とする。   Next, in step S207, it is determined whether or not an instruction to stop shooting is given from the operation unit 102, and in step S208, whether or not a predetermined number of shots have been completed. If any is determined to be Yes, the process proceeds to step S210, and if any is determined to be No, the process proceeds to step S209. Supplementing step S208, for example, when the material storage shooting mode is a shooting mode in which shooting and shooting interval time are set in advance, the number of shots determined by the set shooting time and the set interval time has ended. Take positive judgment.

次に、ステップS209で、制御部101は、DCF命名2枚以上可能であるか否かを判定する。すなわち、次に撮影する素材画像と、代表画像を保存するためのDCFファイルパスを確保できるか否かを判定する。Yesと判定されたならばステップS203に戻り、Noと判定されたならばステップS210に進む。
この判定は、最終ディレクトリに対して行う他、ディレクトリ単位で行ってもよい。ディレクトリ単位で行う場合、一連の素材画像と代表画像が同一のディレクトリに保存される。素材画像と代表画像は関連性のある画像であるので、同一のディレクトリに保存した方が好ましいと考えるユーザにとって利便性が高い。
また、例えば現在記録中のディレクトリにDCF規則上、すなわちファイル数上限、ファイル番号上限の制約で素材画像と代表画像が全て保存できないと判断されたならば、新たなディレクトリ(一般的には現在のディレクトリ番号を1インクリメントしたディレクトリ)に素材画像のファイルパスを決定するようにしてもよい。
また、撮影日毎に撮影画像をディレクトリ別に保存するような場合、一連の素材画像と代表画像は一連の撮影中に日付が変わったとしても、撮影開始時の素材画像と同一のディレクトリに保存することができ、利便性が上がる。
Next, in step S209, the control unit 101 determines whether two or more DCF names are possible. That is, it is determined whether a DCF file path for saving the material image to be photographed next and the representative image can be secured. If it determines with Yes, it will return to step S203, and if it determines with No, it will progress to step S210.
This determination may be performed for each directory in addition to the final directory. When performed in directory units, a series of material images and representative images are stored in the same directory. Since the material image and the representative image are related images, it is convenient for the user who thinks that it is preferable to save the image in the same directory.
Also, for example, if it is determined that the material image and the representative image cannot all be stored in the current recording directory due to DCF rules, that is, the upper limit of the number of files and the upper limit of the file number, a new directory (generally the current directory) The file path of the material image may be determined as a directory obtained by incrementing the directory number by one.
In addition, when saving shot images by directory for each shooting date, a series of material images and representative images should be saved in the same directory as the source image at the start of shooting even if the date changes during the series of shooting. Can improve convenience.

ステップS203に戻ると、DCF昇順にて次のファイルパスを決定して撮影を続ける。これは、図3(c)のファイル313に示すように、DCF昇順にて素材画像を保存していくことである。そして、ステップS206で、素材画像は、先に決定された仮ファイルパスに、代表画像の動画を構成するフレームとして順次追記されていくことになる。   When the process returns to step S203, the next file path is determined in the ascending order of DCF, and shooting is continued. This is to save the material images in ascending order of DCF as shown in the file 313 in FIG. In step S206, the material image is sequentially added as a frame constituting the moving image of the representative image to the previously determined temporary file path.

ステップS210で、制御部101は、代表画像のDCFファイルパスを決定する。そして、ステップS211で、制御部101は、ステップS202において決定した仮ファイルパスを、ステップS210において決定したDCFファイルパスに変更する。これは、例えば図3(c)のディレクトリ「MISC」314、ファイル「TMP.MP4」315で特定される仮ファイルパスを、図3(d)のファイル316に示すように素材画像群に連続するDCF番号に変更することとである。   In step S210, the control unit 101 determines the DCF file path of the representative image. In step S211, the control unit 101 changes the temporary file path determined in step S202 to the DCF file path determined in step S210. For example, the temporary file path specified by the directory “MISC” 314 and the file “TMP.MP4” 315 in FIG. 3C is continuous with the material image group as shown in the file 316 in FIG. Changing to a DCF number.

操作部102からの操作信号により再生モードが確定すると、制御部101は、前述した再生モードを開始する。図4は、再生モードにおける再生処理を示すフローチャートである。
ステップS401で、制御部101は初期画像を設定する。初期画像は、DCF規格のディレクトリ番号が最大のディレクトリ内のファイル番号が最大の画像である。すなわち、撮影毎にファイル番号をインクリメントしファイル名を決定し、新規ディレクトリに撮影する際はディレクトリ番号をインクリメントしてディレクトリ名を決定するような場合、最後に撮影した画像となる。
次に、ステップS402で、制御部101の制御下で画像再生処理を行い、表示部130に画像を表示する。
次に、ステップS403、S404、S406で、制御部101は、ユーザの操作部102を介した指示要求を処理する。ステップS403では、再生モード終了の指示の有無を判定し、再生モード終了の指示があれば再生処理を抜ける。ステップS403において再生モード終了の指示がなければ、ステップS404に進む。ステップS404では、画像送り指示の有無を判定し、画像送り指示があれば、ステップS405でDCF番号順で次又は前の画像を再生画像として決定し、ステップS402に戻る。ステップS404において画像送り指示がなければ、ステップS406に進む。ステップS406では、その他の処理指示の有無を判定する。その他の処理とは、例えば画像消去、画像編集、画像送信等である。その他の処理指示がなければ、ステップS403に戻り、その他の処理指示があれば、ステップS407で指示に応じた処理を行い、ステップS403に戻る。
When the playback mode is determined by the operation signal from the operation unit 102, the control unit 101 starts the above-described playback mode. FIG. 4 is a flowchart showing the playback process in the playback mode.
In step S401, the control unit 101 sets an initial image. The initial image is an image having the largest file number in the directory having the largest directory number in the DCF standard. That is, the file number is incremented for each shooting to determine the file name, and when shooting to a new directory, the directory number is incremented to determine the directory name, and the last shot image is obtained.
In step S <b> 402, image reproduction processing is performed under the control of the control unit 101, and an image is displayed on the display unit 130.
Next, the control part 101 processes the instruction | indication request | requirement via a user's operation part 102 by step S403, S404, S406. In step S403, it is determined whether or not there is an instruction to end the playback mode. If there is an instruction to end the playback mode, the playback process is exited. If there is no instruction to end the reproduction mode in step S403, the process proceeds to step S404. In step S404, the presence / absence of an image advance instruction is determined. If there is an image advance instruction, the next or previous image is determined as a reproduced image in order of DCF number in step S405, and the process returns to step S402. If there is no image feed instruction in step S404, the process proceeds to step S406. In step S406, the presence / absence of another processing instruction is determined. Examples of other processes include image deletion, image editing, and image transmission. If there is no other processing instruction, the process returns to step S403. If there is another processing instruction, the process according to the instruction is performed in step S407, and the process returns to step S403.

以上のように、一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する場合に、代表画像を、一連の素材画像の撮影を終了する前に記録媒体にファイルパスが未解決になることなくファイル保存することが可能となる。
また、一連の素材画像の撮影の終了後に、代表画像のファイルパスが素材画像群に連続するDCF番号となるようにしたので、再生モード移行時に即座に代表画像を閲覧することが可能となる。
また、低消費電力を実現するために一連の素材画像の撮影中にデジタルカメラ100がスリープ状態等に移行するようにすることがある。この場合でも、その時点までに撮影された素材画像により作成した代表画像をファイル保存し、非揮発なものとしているので継続して代表画像の構築が可能である。
As described above, when a material image is stored by a series of shooting and a representative image related to the series of material images is created during the shooting, the representative image is recorded before the shooting of the series of material images is finished. The file can be saved on the medium without the file path being unsolved.
In addition, since the file path of the representative image is set to the DCF number that is continuous with the material image group after the series of material image captures, the representative image can be viewed immediately upon transition to the reproduction mode.
In order to realize low power consumption, the digital camera 100 may shift to a sleep state or the like during a series of material image capturing. Even in this case, since the representative image created by the material images photographed up to that point is saved in a file and is made non-volatile, the representative image can be continuously constructed.

(第2の実施形態)
次に、第2の実施形態を説明する。なお、デジタルカメラ100の構成及び基本的な動作は第1の実施形態と同様であり、以下では、第1の実施形態との相違点を中心に説明する。
操作部102からの操作信号により素材保存撮影モードが確定すると、制御部101は、図5に示す素材保存撮影モードにおける撮影記録処理を開始する。本実施形態において、素材保存撮影モードでは、一定間隔で撮影した静止画を素材画像とし、各素材画像を1以上のフレーム画像とした動画を代表画像とするものとする。
(Second Embodiment)
Next, a second embodiment will be described. Note that the configuration and basic operation of the digital camera 100 are the same as those in the first embodiment, and the following description will focus on differences from the first embodiment.
When the material storage photographing mode is determined by the operation signal from the operation unit 102, the control unit 101 starts the photographing recording process in the material preservation photographing mode shown in FIG. In the present embodiment, in the material preserving shooting mode, a still image taken at regular intervals is used as a material image, and a moving image in which each material image is one or more frame images is used as a representative image.

ステップS501で、制御部101は、操作部102より記録開始の指示があったと判定したならば、ステップS502に進む。   If the control unit 101 determines in step S501 that a recording start instruction has been received from the operation unit 102, the process proceeds to step S502.

次に、ステップS502で、制御部101は、素材画像の予定保存枚数を算出する。これは、例えば素材保存撮影モードが予め撮影時及び撮影インターバル時間が設定されたような撮影モードである場合、設定された撮影時間及び設定されたインターバル時間によって決まる撮影枚数から定めることができる。   Next, in step S502, the control unit 101 calculates the planned number of material images to be stored. This can be determined from the number of shots determined by the set shooting time and the set interval time when, for example, the material storage shooting mode is a shooting mode in which shooting and shooting interval time are set in advance.

次に、ステップS503で、制御部101は、一連の撮影を開始するに際して、代表画像である動画の仮ファイルパスを決定する。仮ファイルパスは、ステップS502において算出した素材画像の予定保存枚数分、DCF昇順に素材画像のファイルパスを決定したと仮定し、最後のファイルパスに連続するファイルパスとする。例えば予定保存枚数が5枚であった場合、最終保存状態を図6(b)に示すように想定し、図6(a)のファイル317に示すように、素材画像の保存予定を飛ばした代表画像のファイルパスを決定する。   In step S503, the control unit 101 determines a temporary file path of a moving image that is a representative image when starting a series of photographing. Assuming that the file path of the material image is determined in the DCF ascending order for the planned number of material images calculated in step S502, the temporary file path is a file path that is continuous with the last file path. For example, if the planned number of stored images is five, the final stored state is assumed as shown in FIG. 6B, and the material image storage schedule is skipped as shown in the file 317 in FIG. 6A. Determine the image file path.

次に、一連の撮影を開始し、ステップS504で、制御部101は、素材画像である静止画DCFファイルパスを決定する。第1の実施形態でも述べたように、素材画像はDCF番号順に昇順に命名されていく。   Next, a series of shooting is started, and in step S504, the control unit 101 determines a still image DCF file path that is a material image. As described in the first embodiment, the material images are named in ascending order in the DCF number order.

次に、ステップS505で、制御部101の制御下で素材画像の撮影が行われ、ステップS506で、ステップS504において決定したファイルパスに素材画像を保存する。
次に、ステップS507で、ステップS505において撮影した素材画像を、先に決定された仮ファイルパスに、代表画像の動画を構成する一つ以上のフレームとして追記する。
In step S505, a material image is shot under the control of the control unit 101. In step S506, the material image is stored in the file path determined in step S504.
Next, in step S507, the material image photographed in step S505 is added as one or more frames constituting the moving image of the representative image to the previously determined temporary file path.

次に、ステップS508で、制御部101は予定保存枚数分の撮影が終了したか否かを判定する。Noと判定されたならばステップS509に進み、Yesと判定されたならば本処理を抜ける。
次に、ステップS509で、制御部101は操作部102より撮影停止の指示があったかを否かを判定する。Noと判定がされたならばステップS504に戻り、Yesと判定されたならばステップS510に進む。
Next, in step S508, the control unit 101 determines whether or not shooting for the planned number of stored images has been completed. If it determines with No, it will progress to step S509, and if it determines with Yes, it will exit this process.
In step S <b> 509, the control unit 101 determines whether an instruction to stop shooting is given from the operation unit 102. If it determines with No, it will return to step S504, and if it determines with Yes, it will progress to step S510.

ステップS504に戻ると、DCF昇順にて次のファイルパスを決定して撮影を続ける。これは、図6(b)のファイル303に示すように、DCF昇順にて素材画像を保存していくことである。そして、ステップS507で、素材画像は、先に決定された仮ファイルパスに、代表画像の動画を構成するフレームとして順次追記されていくことになる。   Returning to step S504, the next file path is determined in ascending order of DCF, and shooting is continued. This is to save the material images in ascending order of DCF as shown in the file 303 in FIG. In step S507, the material images are sequentially added as frames constituting the moving image of the representative image to the previously determined temporary file path.

ステップS510で、制御部101は、代表画像のDCFファイルパスを決定する。そして、ステップS511で、制御部101は、ステップS503において決定した仮ファイルパスを、ステップS510において決定したDCFファイルパスに変更する。
操作部102より撮影停止の指示があった場合は、ステップS502において算出した素材画像の予定保存枚数に達する前に撮影が終了している。そのため、ステップS503において決定した仮ファイルパスと最後の素材画像のファイルパスの間にDCF番号上の空きがある。例えば図6(b)において、ステップS502において算出した予定保存枚数が5枚であったが、「IMG_0005.JPG」を撮影せずにユーザにより停止指示があった場合である。この場合、ステップS503において決定した仮ファイルパス「MVI_0006.MOV」317を「MVI_0005.MOV」に変更する。
In step S510, the control unit 101 determines the DCF file path of the representative image. In step S511, the control unit 101 changes the temporary file path determined in step S503 to the DCF file path determined in step S510.
If there is an instruction to stop shooting from the operation unit 102, shooting has ended before the planned number of material images stored in step S502 is reached. Therefore, there is a space on the DCF number between the temporary file path determined in step S503 and the file path of the last material image. For example, in FIG. 6B, the number of scheduled storages calculated in step S502 is five, but this is a case where the user gives a stop instruction without photographing “IMG_0005.JPG”. In this case, the temporary file path “MVI — 0006.MOV” 317 determined in step S503 is changed to “MVI — 0005.MOV”.

なお、上記実施形態では、本発明を適用した画像処理装置の例としてデジタルカメラを説明したが、これ以外にも携帯電話等であってもよい。
(その他の実施形態)
また、本発明は、以下の処理を実行することによっても実現される。すなわち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
In the above embodiment, a digital camera has been described as an example of an image processing apparatus to which the present invention is applied. However, other than this, a mobile phone or the like may be used.
(Other embodiments)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

100:デジタルカメラ、101:制御部、102:操作部、103:バス、104:メモリ、110:撮像部、111:画像処理部、120:音声入力部、121:音声処理部、130:表示部、131:表示制御部、140:記録再生部、141:記録媒体、150:音声出力部、150:映像出力部   DESCRIPTION OF SYMBOLS 100: Digital camera, 101: Control part, 102: Operation part, 103: Bus, 104: Memory, 110: Imaging part, 111: Image processing part, 120: Audio | voice input part, 121: Audio | voice processing part, 130: Display part 131: Display control unit 140: Recording / playback unit 141: Recording medium 150: Audio output unit 150: Video output unit

Claims (13)

一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する画像処理装置であって、
一連の撮影を開始するに際して、該撮影により保存される一連の素材画像のファイルパスと重複しないように代表画像の仮ファイルパスを決定する決定手段と、
一連の撮影を行っている間は、撮影毎に所定の命名規則に従って順序づけられたファイルパスに前記素材画像を保存するとともに、前記決定手段で決定した仮ファイルパスに代表画像を記録する記録制御手段とを備えたことを特徴とする画像処理装置。
An image processing apparatus that stores a material image by a series of photographing and creates a representative image related to the series of material images during the photographing,
Determining means for determining a temporary file path of a representative image so as not to overlap with a file path of a series of material images stored by the shooting when starting a series of shooting;
While performing a series of shootings, a recording control unit that saves the material image in a file path ordered according to a predetermined naming rule for each shooting and records a representative image in the temporary file path determined by the determination unit An image processing apparatus comprising:
前記所定の命名規則における一つ以上のファイルパスの空きを確保するように一連の撮影を終了させる終了手段を備えたことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising an ending unit configured to end a series of photographing so as to secure one or more file path spaces in the predetermined naming rule. 一連の素材画像の撮影の終了後、前記決定手段で決定した仮ファイルパスを、最後の素材画像のファイルパスに連続するファイルパスに変更する変更手段を備えたことを特徴とする請求項1又は2に記載の画像処理装置。   2. The apparatus according to claim 1, further comprising: a changing unit that changes the temporary file path determined by the determining unit to a file path that is continuous with the file path of the last material image after a series of material image capturing ends. 2. The image processing apparatus according to 2. 前記決定手段は、前記所定の命名規則に従った最終ファイルパスを仮ファイルパスとすることを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the determination unit sets a final file path according to the predetermined naming rule as a temporary file path. 前記決定手段は、前記所定の命名規則に従わないファイルパスを仮ファイルパスとすることを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the determination unit sets a file path that does not follow the predetermined naming rule as a temporary file path. 前記決定手段は、素材画像の予定保存枚数を算出し、前記算出した予定保存枚数における最後の素材画像のファイルパスに連続するファイルパスを仮ファイルパスとすることを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   The determination means calculates a planned number of material images to be stored, and sets a file path continuous with a file path of the last material image in the calculated planned number of stored images as a temporary file path. The image processing apparatus according to any one of the above. 前記算出した予定保存枚数に達する前に撮影が終了した場合、前記決定手段で決定した仮ファイルパスを、最後の素材画像のファイルパスに連続するファイルパスに変更する変更手段を備えたことを特徴とする請求項6に記載の画像処理装置。   When shooting is completed before reaching the calculated planned number of stored images, the temporary file path determined by the determining unit is provided with a changing unit that changes the file path to be continuous with the file path of the last material image. The image processing apparatus according to claim 6. 前記所定の命名規則はDCF規格であることを特徴とする請求項1乃至7のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the predetermined naming rule is a DCF standard. 一定間隔で撮影した静止画を素材画像とし、各素材画像を1以上のフレーム画像とした動画を代表画像とすることを特徴とする請求項1乃至8のいずれか1項に記載の画像処理装置。   9. The image processing apparatus according to claim 1, wherein still images taken at regular intervals are used as material images, and a moving image in which each material image is one or more frame images is used as a representative image. . 前記終了手段は、前記所定の命名規則に従った最終ディレクトリにおいて一つ以上のファイルパスの空きを確保するように一連の撮影を終了させることを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the ending unit ends a series of photographing so as to secure one or more file path spaces in a final directory according to the predetermined naming rule. 前記終了手段は、前記素材画像と前記代表画像とを同一のディレクトリに保存するように、一連の撮影を終了させることを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the ending unit ends a series of photographing so as to save the material image and the representative image in the same directory. 一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する画像処理方法であって、
一連の撮影を開始するに際して、該撮影により保存される一連の素材画像のファイルパスと重複しないように代表画像の仮ファイルパスを決定するステップと、
一連の撮影を行っている間は、撮影毎に所定の命名規則に従って順序づけられたファイルパスに前記素材画像を保存するとともに、前記決定した仮ファイルパスに代表画像を記録するステップとを有することを特徴とする画像処理方法。
An image processing method for storing a material image by a series of shooting and creating a representative image related to the series of material images during the shooting,
Determining a temporary file path of a representative image so as not to overlap with a file path of a series of material images stored by the shooting when starting a series of shooting;
A step of storing the material image in a file path ordered according to a predetermined naming rule for each shooting and recording a representative image in the determined temporary file path during a series of shootings. A featured image processing method.
一連の撮影により素材画像を保存し、該撮影中に一連の素材画像に関連する代表画像を作成する画像処理装置としてコンピュータを機能させるためのプログラムであって、
一連の撮影を開始するに際して、該撮影により保存される一連の素材画像のファイルパスと重複しないように代表画像の仮ファイルパスを決定する決定手段と、
一連の撮影を行っている間は、撮影毎に所定の命名規則に従って順序づけられたファイルパスに前記素材画像を保存するとともに、前記決定手段で決定した仮ファイルパスに代表画像を記録する記録制御手段としてコンピュータを機能させるためのプログラム。
A program for causing a computer to function as an image processing apparatus that saves a material image by a series of photographing and creates a representative image related to the series of material images during the photographing,
Determining means for determining a temporary file path of a representative image so as not to overlap with a file path of a series of material images stored by the shooting when starting a series of shooting;
While performing a series of shootings, a recording control unit that saves the material image in a file path ordered according to a predetermined naming rule for each shooting and records a representative image in the temporary file path determined by the determination unit As a program to make the computer function as.
JP2013166989A 2013-08-09 2013-08-09 Image processing apparatus, method, and program Pending JP2015035784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013166989A JP2015035784A (en) 2013-08-09 2013-08-09 Image processing apparatus, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013166989A JP2015035784A (en) 2013-08-09 2013-08-09 Image processing apparatus, method, and program

Publications (1)

Publication Number Publication Date
JP2015035784A true JP2015035784A (en) 2015-02-19

Family

ID=52543995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013166989A Pending JP2015035784A (en) 2013-08-09 2013-08-09 Image processing apparatus, method, and program

Country Status (1)

Country Link
JP (1) JP2015035784A (en)

Similar Documents

Publication Publication Date Title
JP4777180B2 (en) Imaging apparatus and control method thereof
US9197815B2 (en) Image management apparatus and image management method
JP5683301B2 (en) Image recording device
JP6643008B2 (en) Image processing apparatus, control method thereof, control program, and storage medium
JP2018074523A (en) Imaging device, control method thereof, program, and recording medium
JP6282136B2 (en) Imaging apparatus and control method thereof
JP2015023317A5 (en) Image management apparatus, image management method, program, and storage medium
JP4349288B2 (en) Imaging apparatus, image processing method, and program
JP6278353B2 (en) RECORDING DEVICE, RECORDING METHOD, PROGRAM, AND IMAGING DEVICE
JP2015035784A (en) Image processing apparatus, method, and program
JP6463967B2 (en) Imaging apparatus and control method thereof
JP6395532B2 (en) Image recording apparatus and method, and program
CN103167238A (en) Method and apparatus for reproducing image, and computer-readable storage medium
JP6566826B2 (en) Image processing apparatus, control method thereof, and control program
JP2020182164A (en) Imaging device, its control method and program
JP5332797B2 (en) Imaging apparatus, imaging method, and program
JP2007318773A (en) Imaging apparatus, image processing method, and program
JP5704945B2 (en) Imaging apparatus, control method therefor, and program
JP6598670B2 (en) Image processing apparatus, control method thereof, and program
JP4355857B2 (en) Movie recording apparatus, file creation method, and program
JP2016063256A (en) Imaging apparatus, control method therefor, and program
JP2012009951A (en) Imaging apparatus and method of recording moving image
JP6552193B2 (en) Imaging device and control method of recording device
JP5182405B2 (en) Movie recording apparatus and program
JP5866896B2 (en) Image editing apparatus and editing program