JP4576941B2 - Information processing apparatus and method, program, and image processing apparatus - Google Patents
Information processing apparatus and method, program, and image processing apparatus Download PDFInfo
- Publication number
- JP4576941B2 JP4576941B2 JP2004261444A JP2004261444A JP4576941B2 JP 4576941 B2 JP4576941 B2 JP 4576941B2 JP 2004261444 A JP2004261444 A JP 2004261444A JP 2004261444 A JP2004261444 A JP 2004261444A JP 4576941 B2 JP4576941 B2 JP 4576941B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- directory
- image
- stored
- new
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、情報処理装置および方法、プログラム、並びに画像処理装置に関し、特に、静止画と動画をそれぞれ異なるディレクトリに格納して記録する場合において、記録された順番を容易に管理することができる情報処理装置および方法、プログラム、並びに画像処理装置に関する。 Information The present invention relates to an information processing apparatus and method, a program, and an image processing apparatus, in particular, in the case of recording by storing still images and videos to different directories, which can be easily manage the recorded order The present invention relates to a processing apparatus and method, a program, and an image processing apparatus .
デジタルカメラ等の撮影機器では、通常、撮影が行われると、撮影された順番が分かるようにファイル名が付けられ、例えば、撮影された順番に、そのファイル(正確にはそのアイコン)やサムネイル画像が表示されるようになっている。このように、撮影された順番にファイルのアイコンやサムネイル画像を表示することにより、例えばユーザは、撮影した順番を容易に把握でき、例えば表示させる画像を適切に選択することができる。 In a photographing device such as a digital camera, usually, when photographing is performed, a file name is given so that the order of photographing is known. For example, in the order of photographing, the file (exactly its icon) or thumbnail image Is displayed. In this way, by displaying the file icons and thumbnail images in the order of shooting, for example, the user can easily grasp the order of shooting, and for example, can appropriately select an image to be displayed.
ところで、デジタルカメラは、近年、高性能CPUの登場により、静止画のみならず動画が撮影できるようになっている。 By the way, in recent years, with the advent of high-performance CPUs, digital cameras can shoot not only still images but also moving images.
そこで、動画および静止画の撮影を行うことができる従来のデジタルカメラでは、撮影した静止画および動画において共通に撮影した順番を付けるために、動画および静止画の両方のファイルを、静止画の記録に関するDCF(Design rule for Camera File system)規格で定められたディレクトリに格納し、そこに格納した順番に応じたファイル名を付すようになされている(以下、第1のファイル格納方法と称する)。 Therefore, with a conventional digital camera that can shoot moving images and still images, both the moving image and still image files can be recorded in order to assign a common shooting order for the captured still images and moving images. Are stored in a directory defined by the DCF (Design Rule for Camera File System) standard, and file names are assigned according to the order of storage (hereinafter referred to as a first file storage method).
また静止画や動画のファイルを別のディレクトリに格納するが、静止画のファイルと動画のファイルを関連付けたインデックスファイル(例えば、記録された順番を記憶しているファイル)を用意し、そのインデックスファイルを参照することで、撮影した順番を確認することができるようにした方法(以下、第2のファイル格納方法と称する)も考えられている。 Still image and video files are stored in a separate directory, but an index file (for example, a file that stores the recorded order) that associates the still image file with the video file is prepared. A method (hereinafter referred to as a second file storage method) is also conceivable in which the order in which images are taken can be confirmed by referring to.
しかしながら第1のファイル格納方法では、静止画しか取り扱うことができない機器では、DCFディレクトリ内にある動画ファイルは何等意味を持たないにもかかわらず、静止画記録時には、その動画ファイルの番号を使用しないようにする必要があるなど、ファイル管理が煩雑になる課題があった。 However, in the first file storage method, on a device that can only handle still images, the movie file number in the DCF directory has no meaning, but the movie file number is not used when recording a still image. There is a problem that file management becomes complicated.
また第2のファイル格納方法では、別途インデックスファイルを用意する必要があるとともに、例えばそのインデックスファイルがユーザの誤操作等で削除されてしまった場合、ディレクトリの関連性が分からなくなるなどの課題があった。 In the second file storage method, it is necessary to prepare a separate index file. For example, if the index file is deleted due to an erroneous operation by the user, there is a problem that the relevance of the directory cannot be understood. .
本発明はこのような状況に鑑みてなされたものであり、静止画および動画のファイルを異なるディレクトリに記録する場合においても、撮影した順番を容易に管理できるようにするものである。 The present invention has been made in view of such a situation, and makes it possible to easily manage the order of shooting even when still and moving image files are recorded in different directories.
本発明の情報処理装置は、同一の識別子を割り当てた複数のディレクトリを生成する生成手段と、新たなファイルをディレクトリに格納する際に、同一の識別子を有する複数のディレクトリに格納されているすべてのファイルのファイル名を読み出し、読み出されたファイル名に基づくファイル番号の中から最も大きいファイル番号に1を加算したものを新たなファイルのファイル番号とし、新たなファイルのファイル番号に基づくファイル名を新たなファイルに付してファイルの種類に応じたディレクトリに格納して記録するファイル管理手段とを備える。 Information processing apparatus of the present invention includes: a generating means for generating a plurality of directories that assigned the same identifier, when storing a new file in a directory, all stored in a plurality of directories with the same identifier The file name of the file is read out, the file number based on the read file name plus the largest file number plus 1 is the file number of the new file, and the file name based on the file number of the new file is File management means for attaching to a new file and storing and recording in a directory corresponding to the type of the file .
表示手段と、制御手段とを備え、ファイル管理手段は、同一の識別子を有する複数のディレクトリに格納されているすべてのファイルのファイル名を読み出し、制御手段は、ファイル名に基づくファイル番号に応じた順番にファイルを示す情報を表示手段に表示することができる。 Display means and control means, the file management means reads out the file names of all files stored in a plurality of directories having the same identifier, and the control means responds to the file number based on the file name Information indicating the files in order can be displayed on the display means .
本発明の情報処理方法は、同一の識別子を割り当てた複数のディレクトリを生成する生成ステップと、新たなファイルをディレクトリに格納する際に、同一の識別子を有する複数のディレクトリに格納されているすべてのファイルのファイル名を読み出し、読み出されたファイル名に基づくファイル番号の中から最も大きいファイル番号に1を加算したものを新たなファイルのファイル番号とし、新たなファイルのファイル番号に基づくファイル名を新たなファイルに付してファイルの種類に応じたディレクトリに格納して記録するファイル管理ステップとを含む。 Information processing method of the present invention includes a generation step of generating a plurality of directories that assigned the same identifier, when storing a new file in a directory, all stored in a plurality of directories with the same identifier The file name of the file is read out, the file number based on the read file name plus the largest file number plus 1 is the file number of the new file, and the file name based on the file number of the new file is A file management step of attaching to a new file and storing and recording in a directory corresponding to the type of the file .
本発明のプログラムは、同一の識別子を割り当てた複数のディレクトリを生成する生成ステップと、新たなファイルをディレクトリに格納する際に、同一の識別子を有する複数のディレクトリに格納されているすべてのファイルのファイル名を読み出し、読み出されたファイル名に基づくファイル番号の中から最も大きいファイル番号に1を加算したものを新たなファイルのファイル番号とし、新たなファイルのファイル番号に基づくファイル名を新たなファイルに付してファイルの種類に応じたディレクトリに格納して記録するファイル管理ステップとを含む。 The program of the present invention generates a plurality of directories assigned the same identifier, and stores all files stored in a plurality of directories having the same identifier when a new file is stored in the directory. The file name is read out, and the file number based on the read file name plus the largest file number plus 1 is used as the file number of the new file, and the file name based on the file number of the new file is renewed. And a file management step for storing and recording in a directory corresponding to the file type .
本発明の情報処理装置および方法、並びにプログラムにおいては、同一の識別子を割り当てた複数のディレクトリが生成され、新たなファイルがディレクトリに格納される際に、同一の識別子を有する複数のディレクトリに格納されているすべてのファイルのファイル名が読み出され、読み出されたファイル名に基づくファイル番号の中から最も大きいファイル番号に1が加算されたものが新たなファイルのファイル番号とされ、新たなファイルのファイル番号に基づくファイル名が新たなファイルに付されてファイルの種類に応じたディレクトリに格納されて記録される。
本発明の画像処理装置は、同一の識別子を割り当てた複数のディレクトリを生成する生成手段と、新たな画像ファイルをディレクトリに格納する際に、同一の識別子を有する複数のディレクトリに格納されているすべての画像ファイルのファイル名を読み出し、読み出されたファイル名に基づくファイル番号の中から最も大きいファイル番号に1を加算したものを新たな画像ファイルのファイル番号とし、新たな画像ファイルのファイル番号に基づくファイル名を新たな画像ファイルに付して画像ファイルの種類に応じたディレクトリに格納して記録するファイル管理手段とを備える。
本発明の画像処理装置においては、同一の識別子を割り当てた複数のディレクトリが生成され、新たな画像ファイルがディレクトリに格納される際に、同一の識別子を有する複数のディレクトリに格納されているすべての画像ファイルのファイル名が読み出され、読み出されたファイル名に基づくファイル番号の中から最も大きいファイル番号に1が加算されたものが新たな画像ファイルのファイル番号とされ、新たな画像ファイルのファイル番号に基づくファイル名が新たな画像ファイルに付されて画像ファイルの種類に応じたディレクトリに格納されて記録される。
Information processing apparatus and method of the present invention, and the program is generated a plurality of directories that assigned the same identifier, when a new file is stored in the directory, is stored in a plurality of directories with the same identifier The file names of all the files that have been read are read, and the file number based on the read file name plus 1 is added to the largest file number as the new file number. A file name based on the file number is attached to a new file , stored in a directory corresponding to the file type, and recorded.
The image processing apparatus according to the present invention includes a generating unit that generates a plurality of directories to which the same identifier is assigned, and all the information stored in the plurality of directories having the same identifier when a new image file is stored in the directory. The file name of the image file is read out, the file number based on the read file name is added with 1 to the largest file number, and the file number of the new image file is set as the file number of the new image file. File management means for assigning a file name based on the new image file and storing and recording it in a directory corresponding to the type of the image file.
In the image processing apparatus of the present invention, when a plurality of directories to which the same identifier is assigned are generated and a new image file is stored in the directory, all of the directories stored in the plurality of directories having the same identifier are stored. The file name of the image file is read out, and the file number based on the read file name is obtained by adding 1 to the largest file number as the file number of the new image file. A file name based on the file number is attached to a new image file, stored in a directory corresponding to the type of the image file, and recorded.
本発明によれば、静止画および動画のファイルを異なるディレクトリに記録する場合においても、撮影した順番を容易に管理することができる。 According to the present invention, even when still and moving image files are recorded in different directories, the order of shooting can be easily managed.
図1は、本発明を適用したデジタルカメラ1の構成例を示している。このデジタルカメラ1は、静止画および動画を撮影することができる。 FIG. 1 shows a configuration example of a digital camera 1 to which the present invention is applied. The digital camera 1 can shoot still images and moving images.
CPU(Central Processing Unit)11は、ROM(Read Only Memory)12に記録されているプログラムに従って各種の処理を実行する。RAM13にはまた、CPU11が各種の処理を実行する上において必要なデータなども適宜記憶される。
A CPU (Central Processing Unit) 11 executes various processes according to a program recorded in a ROM (Read Only Memory) 12. The
ドライブ14は、磁気ディスク、光ディスク、光磁気ディスク、ハードディスク、或いは半導体メモリなどよりなる記録媒体15に、CPU11から供給された画像データを記録したり、記録媒体15に記録されている画像データを読み出してCPU11に供給する。
The drive 14 records the image data supplied from the
またドライブ14は、記録媒体15がリムーバブルであり記録媒体15にデジタルカメラ1で動作するプログラムが格納されている場合、記録媒体15からそれを読み出し、CPU11が、それを実行するようにすることもできる。
In addition, when the
カメラ部21は、レンズ、CCD(Charged Coupled Device)などから構成されており、撮像の結果得られた画像データを画像処理部22に供給する。
The
画像処理部22は、カメラ部21から供給された画像データに対してガンマ変換、色空間変換、ホワイトバランス等の画像処理を行い、その結果得られた画像データを、CPU11に供給する。
The
静止画コーディック部23は、CPU11から供給された、画像処理部22により処理された画像データに対してJPEG(Joint Photographic Experts Group)圧縮処理を施し、その結果得られた画像データ(静止画の画像データ)をCPU11に戻す。静止画コーディック部23はまた、CPU11から供給された、例えば記録媒体15に格納されていたJPEG圧縮画像データに対してJPEG伸張処理を行い、その結果得られた静止画の画像データ(YUVフォーマットのデジタル画像データ)をCPU11に戻す。
The still
動画コーディック部24は、CPU11から供給された、画像処理部22により処理された動画データ(YUVデジタル画像データ)に対してMPEG(Moving Picture Experts Group)圧縮処理を施し、その結果得られた動画の画像データをCPU11に戻す。動画コーディック部24はまた、CPU11から供給された、例えば記録媒体15に格納されていたMPEG圧縮画像データに対してMPEG伸張処理を行い、その結果得られた動画の画像データ(YUVフォーマットのデジタル画像データ)をCPU11に戻す。
The moving
表示制御部25は、CPU11から供給された画像データ(YUVデジタル画像データ)を、RGB信号に変換して、LCD(Liquid Crystal Display)等から構成されている表示部26に供給して表示させる。
The
シャッタスイッチ27は、静止画撮影の際にユーザにより操作されるスイッチである。 The shutter switch 27 is a switch operated by the user when taking a still image.
操作ボタン群28は、例えば十字キー、決定ボタンなどの、ユーザがデジタルカメラ1を操作する上で必要なボタン群である。なお静止画を撮影するための静止画撮影モードまたは通常の動画を撮影するための動画撮影モードは、この操作ボタン群28の所定のボタンが操作されることで設定される。 The operation button group 28 is a button group necessary for the user to operate the digital camera 1, such as a cross key and a determination button. Note that a still image shooting mode for shooting a still image or a moving image shooting mode for shooting a normal moving image is set by operating a predetermined button of the operation button group 28.
図2は、デジタルカメラ1の機能的構成例を示す。 FIG. 2 shows a functional configuration example of the digital camera 1.
画像データ入力部51は、カメラ部21(図1)で取り込まれた画像データを入力し、入力した画像データをカメラ制御部52に供給する。
The image
カメラ制御部52は、中央制御部62の制御に従って、画像データ入力部51から供給された画像データから、静止画用の画像データを生成して静止画処理部53に供給したり、動画用の画像データを生成して動画処理部54に供給する。
The
静止画処理部53は、中央制御部62の制御に従い、カメラ制御部52から供給された静止画の画像データに対するJPEG圧縮処理を静止画コーディック部23に要求し、静止画コーディック部23は供給された静止画の画像データに対してJPEG圧縮処理を施し(以下、簡単のために、適宜、静止画処理部53がJPEG圧縮処理を施すと記載する)、その結果得られた画像データをファイル管理部55に供給する。静止画処理部53はまた、中央制御部62の制御に従い、ファイル管理部55から供給された、記録媒体15に記録されていたJPEG圧縮画像データに対するJPEG伸張処理を静止画コーディック部23に要求し、静止画コーディック部23は供給されたJPEG圧縮画像データに対してJPEG伸張処理を行い(以下、簡単のために、適宜、静止画処理部53がJPEG伸張処理を行うと記載する)、その結果得られた画像データを中央制御部62に供給する。
The still
動画処理部54は、中央制御部62の制御に従い、カメラ制御部52から供給された動画の画像データに対するMPEG圧縮処理を動画コーディック部24に要求し、動画コーディック部24は供給された動画の画像データに対してMPEG圧縮処理を施し(以下、簡単のために、適宜、動画処理部54がMPEG圧縮処理を施すと記載する)、その結果得られた画像データを、ファイル管理部55に供給する。
Under the control of the
動画処理部54はまた、中央制御部62の制御に従い、ファイル管理部55から供給された、記録媒体15に格納されているMPEG圧縮画像データに対するMPEG伸張処理を動画コーディック部24に要求し、動画コーディック部24は供給されたMPEG圧縮画像データに対してMPEG伸張処理を行い(以下、簡単のために、適宜、動画処理部54がMPEG伸張処理を行うと記載する)、その結果得られた動画の画像データを、中央制御部62に供給する。
The moving
ファイル管理部55は、静止画処理部53および動画処理部54から供給された静止画および動画の画像データを、それぞれ異なるディレクトリに格納して記録媒体15に記録する。
The
ファイル管理部55は、図3に示すように、静止画を記録するディレクトリと動画を記録するディレクトリを、例えば、記録媒体15のトップディレクトリTOP/の下にそれぞれ別個に設け、それらに同一の識別子を割り当てるとともに(100番)、その識別子(100番)を含むディレクトリ名を付与する(例えば、先頭3文字を識別子の番号とするディレクトリ名を付与する)。
As shown in FIG. 3, the
図3の例では、静止画を記録するディレクトリは、トップディレクトリTOP/の下のディレクトリDCIM/の下に設けられ、100MSDCFがディレクトリ名として付与されている。また動画を記録するディレクトリは、トップディレクトリTOP/の下のディレクトリMP_ROOT/の下に設けられ、100MNV01がディレクトリ名として付与されている。 In the example of FIG. 3, the directory for recording still images is provided under the directory DCIM / under the top directory TOP /, and 100MSDCF is assigned as the directory name. A directory for recording moving images is provided under the directory MP_ROOT / under the top directory TOP /, and 100MNV01 is assigned as the directory name.
その詳細は後述するがファイル管理部55は、画像を記録する際、同一のディレクトリ識別子を有するディレクトリ(図3の例の場合、ディレクトリ100MSDCF/とディレクトリ100MNV01の両方のディレクトリ)に格納されているファイル名を読み出す。そしてファイル名は、例えば同一のディレクトリ識別子を有するディレクトリに格納された順番を表す連番(以下、ファイル番号と称する)を含んで付与されているので、ファイル管理部55は、最も大きいファイル番号に1を加算して得られた番号を含むファイル名を、いま記録する画像のファイル名とする。
Although details will be described later, the
ファイル管理部55は、記録する画像が静止画であれば、決定したファイル名に静止画用の拡張子(JPG)を付して、ディレクトリ100MSDCF/に記録し、記録する画像が動画であれば、決定したファイル名に動画用の拡張子(MP4)を付して、ディレクトリ100MNV01/に記録する。
If the image to be recorded is a still image, the
すなわちこのように静止画および動画を異なるディレクトリに記録する場合において、それぞれのディレクトリに同じ識別子を与えるとともに、同じ識別子を有するディレクトリ全体としてそこに記録された順番を示す情報を含んでファイル名を決定するようにしたので、静止画および動画が異なるディレクトリに記録される場合においても、そのファイル名から撮影の順番(記録された順番)を容易に管理することができる。 That is, when still images and moving images are recorded in different directories in this way, the same identifier is given to each directory, and the file name is determined including information indicating the order in which the entire directory having the same identifier is recorded there. As a result, even when still images and moving images are recorded in different directories, the shooting order (recorded order) can be easily managed from the file name.
図2に戻り制御信号入力部61は、シャッタスイッチ27および操作ボタン群28に対するユーザの操作に応じた信号を入力し、中央制御部62に供給する。
Returning to FIG. 2, the control
中央制御部62は、制御信号入力部61から入力された信号に応じてカメラ制御部52、静止画処理部53、動画処理部54、およびファイル管理部55を制御し、静止画または動画の撮影およびその画像の再生を行わせる。
The
次に、デジタルカメラ1における記録処理を、図4のフローチャートを参照して説明する。 Next, recording processing in the digital camera 1 will be described with reference to the flowchart of FIG.
操作ボタン群28に対して、撮影を開始する操作がなされると、ステップS1において、中央制御部62は、制御信号入力部61から記録が要求された旨を表す信号を受信する。
When an operation for starting photographing is performed on the operation button group 28, the
ステップS2において、中央制御部62は、いまから記録する画像が静止画であるかまたは動画であるかを判定し、静止画であると判定した場合(例えば、操作ボタン群28が、静止画撮影モードを設定するように操作されていた場合)、ステップS3に進む。
In step S2, the
ステップS3において、中央制御部62は、静止画処理部53に対して静止画記録指令を出力する。
In step S <b> 3, the
ステップS4において、静止画処理部53は、静止画処理を行う。具体的には、静止画処理部53は、カメラ制御部52に対して静止画の画像データの供給を要求するとともに、その要求に応じてカメラ制御部52から供給された撮影された静止画の画像データに対して、JPEG圧縮処理を行う。ステップS5において、静止画処理部53は、静止画処理を施した画像をファイル管理部55に供給し、その記録を要求する。
In step S4, the still
ステップS6において、ファイル管理部55は、ここで記録する静止画のディレクトリの識別子を決定する。この例の場合、ディレクトリの識別子は100番とされる。
In step S6, the
ステップS7において、ファイル管理部55は、ステップS6で決定した識別子を含むディレクトリ名を有するディレクトリから、そこに格納されているすべてのファイル名を読み出す。
In step S7, the
例えば、図3の例では、ディレクトリ100MSDCF/およびディレクトリ100MNV01/が100番の識別子を含むディレクトリ名を有しているので、ディレクトリ100MSDCF/からファイルFa1とファイルFa2のファイル名(DSC00001、DSC00003)が、そしてディレクトリ100MNV01から、ファイルFb1とファイルFb2のファイル名(M4V00002、M4V00004)がそれぞれ読み出される。 For example, in the example of FIG. 3, since the directory 100MSDCF / and the directory 100MNV01 / have directory names including the identifier of the number 100, the file names (DSC00001, DSC00003) of the file Fa1 and the file Fa2 from the directory 100MSDCF / Then, the file names (M4V00002, M4V00004) of the file Fb1 and the file Fb2 are read from the directory 100MNV01.
ステップS8において、ファイル管理部55は、ステップS7で読み出したファイル名に基づいて、ここで記録する画像のファイル名を決定する。
In step S8, the
具体的には、ファイル名はDSC×××××またM4V×××××の形態を有しており、ファイル名の中の“×××××”部分に、同一の識別子を含むディレクトリ名を有するディレクトリに記録される順番を表す番号(ファイル番号)が組み込まれるようになされている。すなわち図3の例では、ファイルFa1が第1番目に、ファイルFb1が第2番目に、ファイルFa2が第3番目に、そしてファイルFb2が第4番目に、100番の識別子を含むディレクトリ名を有するディレクトリに格納されたことになる。 Specifically, the file name has a format of DSCxxxxxx or M4Vxxxxxx, and a directory containing the same identifier in the "xxxxxx" part of the filename. A number (file number) indicating the order of recording in a directory having a name is incorporated. That is, in the example of FIG. 3, the file Fa1 has the directory name including the 100th identifier, the file Fb1 the second, the file Fa2 the third, and the file Fb2 the fourth. It is stored in the directory.
そこでファイル管理部55は、読み出したファイル名の中の最も大きいファイル番号(図3の例では、00004番)に1を加算して得た番号(000005番)を、いまから記録する静止画のファイル番号とし、そのファイル名を、それを含む静止画用のファイル名(DSC00005)とする。
Therefore, the
ステップS9において、ファイル管理部55は、静止画処理部53から供給された静止画を、図5に示すように、決定したファイル名(DSC00005)に静止画用の拡張子(JPG)が付されたファイルFa3として、静止画が格納されるディレクトリ100MSDCF/に格納する。
In step S9, the
一方ステップS2で、いまから記録する画像が動画であると判定された場合、ステップS10に進む。 On the other hand, if it is determined in step S2 that the image to be recorded is a moving image, the process proceeds to step S10.
ステップS10において、中央制御部62は、動画処理部54に対して動画記録指令を出力する。
In step S <b> 10, the
ステップS11において、動画処理部54は、動画処理を行う。具体的には、動画処理部54は、カメラ制御部52に対して動画の画像データの供給を要求するとともに、その要求に応じてカメラ制御部52から供給された撮影された動画の画像データに対して、MPEG圧縮処理を行う。
In step S11, the moving
ステップS12において、動画処理部54は、動画処理を施した画像をファイル管理部55に供給し、その記録を要求する。
In step S12, the moving
ステップS13において、ファイル管理部55は、ここで記録する動画のディレクトリの識別子を決定する。この例の場合、ディレクトリの識別子は100番とされる。
In step S13, the
ステップS14において、ファイル管理部55は、ステップS13で決定した識別子を含むディレクトリ名を有するディレクトリから、そこに格納されているすべてのファイル名を読み出す。
In step S14, the
例えば、図5に示すようなファイルが記録されている場合、ディレクトリ100MSDCF/およびディレクトリ100MNV01/が100番の識別子を含むディレクトリ名を有しているので、ディレクトリ100MSDCF/からファイルFa1乃至Fa3のファイル名(DSC00001、DSC00003、DSC00005)が、そしてディレクトリ100MNV01から、ファイルFb1とファイルFb2のファイル名(M4V00002、M4V00004)がそれぞれ読み出される。 For example, when files as shown in FIG. 5 are recorded, since the directory 100MSDCF / and the directory 100MNV01 / have directory names including the identifier No. 100, the file names of the files Fa1 to Fa3 from the directory 100MSDCF / (DSC00001, DSC00003, DSC00005) and the file names (M4V00002, M4V00004) of the file Fb1 and the file Fb2 are read from the directory 100MNV01.
ステップS15において、ファイル管理部55は、ステップS14で読み出したファイル名に基づいて、ここで記録するファイル名を決定する。
In step S15, the
具体的には、ステップS8における場合と同様に、ファイル管理部55は、読み出したファイル名の中の最も大きいファイル番号(図5の例では、00005番)に1を加算して得た番号(00006番)を、いま記録する動画のファイル番号とし、それを含む動画用のファイル名(M4V00006)を、いま記録される動画のファイル名とする。
Specifically, as in the case of step S8, the
ステップS16において、ファイル管理部55は、動画処理部54から供給された動画を、図6に示すように、決定したファイル名(M4V00006)に動画用の拡張子(MP4)が付されたファイルFb3として、動画が格納されるディレクトリ100MNV01/に格納する。
In step S16, the
以上のようにして静止画または動画が記録される。 A still image or a moving image is recorded as described above.
次に、例えば表示する画像をユーザが決めるときに参照されるファイルのリスト表示処理を、図7のフローチャートを参照して説明する。 Next, for example, a file list display process referred to when the user determines an image to be displayed will be described with reference to a flowchart of FIG.
ステップS21において、中央制御部62は、制御信号入力部61からファイルのリスト表示が要求されたことを表す信号を受信すると、ステップS22において、所定のディレクトリ識別子(この例の場合、100番の識別子)を含むディレクトリ名を有するディレクトリに格納されているファイルのファイル名の提供を、ファイル管理部55に要求する。
In step S21, when the
ステップS23において、ファイル管理部55は、100番の識別子を含むディレクトリ名を有するディレクトリに格納されているファイルのファイル名をすべて読み出して、中央制御部62に供給する。
In step S <b> 23, the
ステップS24において、中央制御部62は、ファイル管理部55から供給されたファイル名から、例えばファイル番号の小さい順からファイルのアイコンを並べて、表示部63に表示する。すなわちファイル番号は、撮影された順番(100番の識別子を含むディレクトリ名を有するディレクトリに記録された順番)毎に付けられているので、ファイル番号の順にファイルのアイコンを表示すれば、ファイルのアイコンを撮影された順番に表示することができる。
In step S24, the
次に、記録媒体15に記録された画像を再生する場合の動作を、図8のフローチャートを参照して説明する。
Next, an operation for reproducing an image recorded on the
ステップS51において、中央制御部62は、指定されたファイルの再生をファイル管理部55に要求する。例えば図7の処理で表示された所定のファイルのアイコンが、再生するファイルであるとして指定されると、そのファイルの再生がファイル管理部55に要求される。
In step S51, the
ステップS52において、ファイル管理部55は、再生が要求されたファイルの拡張子を参照し、そのファイルが動画であるか静止画であるかを中央制御部62に通知する。
In step S52, the
ステップS53において、中央制御部62は、ファイル管理部55からの通知に基づいて、再生が要求されたファイルが動画であるかまたは静止画であるかを判定し、静止画であると判定した場合、ステップS54に進み、静止画処理部53に対して、指定されたファイルの再生を要求する。
In step S53, based on the notification from the
ステップS55において、静止画処理部53は、指定されたファイルの提供をファイル管理部55に要求し、その要求に応じてファイル管理部55から供給されたその静止画を伸張し、その結果得られた画像データを中央制御部62に供給する。中央制御部62は、供給された画像データを表示部63に供給して表示する。
In step S55, the still
ステップS53で動画であると判定された場合、ステップS56に進み、中央制御部62は、動画処理部54に対して、指定されたファイルの再生を要求する。
If it is determined in step S53 that the movie is a moving image, the process proceeds to step S56, and the
次にステップS57において、動画処理部54は、指定されたファイルの提供をファイル管理部55に要求し、その要求に応じてファイル管理部55から供給されたその動画を伸張し、その結果得られた画像データを中央制御部62に供給する。中央制御部62は、供給された画像データを表示部63に供給して表示する。
In step S57, the moving
以上のようにして画像が再生される。 An image is reproduced as described above.
なお、本明細書において、記録媒体により提供されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 In the present specification, the step of describing the program provided by the recording medium is not limited to the processing performed in chronological order according to the described order, but is not necessarily performed in chronological order. It also includes processes that are executed individually.
1 デジタルカメラ, 11 CPU, 12 ROM, 13 RAM, 14 ドライブ, 15 記録媒体, 21 カメラ部, 22 画像処理部, 23 静止画コーディック部, 24 動画コーディック部, 25 表示制御部, 26 表示部, 51 画像データ入力部, 52 カメラ制御部, 53 静止画処理部, 54 動画処理部, 56 ファイル管理部, 61 制御信号入力部, 62 中央制御部, 63 表示部 DESCRIPTION OF SYMBOLS 1 Digital camera, 11 CPU, 12 ROM, 13 RAM, 14 Drive, 15 Recording medium, 21 Camera part, 22 Image processing part, 23 Still image codec part, 24 Movie codec part, 25 Display control part, 26 Display part, 51 Image data input unit, 52 Camera control unit, 53 Still image processing unit, 54 Movie processing unit, 56 File management unit, 61 Control signal input unit, 62 Central control unit, 63 Display unit
Claims (5)
同一の識別子を割り当てた複数の前記ディレクトリを生成する生成手段と、
新たなファイルを前記ディレクトリに格納する際に、前記同一の識別子を有する複数の前記ディレクトリに格納されているすべての前記ファイルのファイル名を読み出し、読み出された前記ファイル名に基づくファイル番号の中から最も大きいファイル番号に1を加算したものを前記新たなファイルのファイル番号とし、前記新たなファイルのファイル番号に基づくファイル名を前記新たなファイルに付して前記ファイルの種類に応じた前記ディレクトリに格納して記録するファイル管理手段と
を備える情報処理装置。 A plurality of file types, in the information processing apparatus for recording and stored in different directories,
Generating means for generating a plurality of the directories assigned the same identifier;
When a new file is stored in the directory, the file names of all the files stored in the plurality of directories having the same identifier are read, and the file number based on the read file name The file number of the new file is obtained by adding 1 to the largest file number from 1 and the file name based on the file number of the new file is attached to the new file, and the directory according to the type of the file information processing apparatus and a file management means for recording stored in.
制御手段と
を備え、
前記ファイル管理手段は、同一の識別子を有する複数の前記ディレクトリに格納されているすべての前記ファイルの前記ファイル名を読み出し、
前記制御手段は、前記ファイル名に基づく前記ファイル番号に応じた順番に前記ファイルを示す情報を前記表示手段に表示する
請求項1に記載の情報処理装置。 Display means;
Control means and
With
The file management means reads the file names of all the files stored in a plurality of the directories having the same identifier,
The control means displays information indicating the file on the display means in an order corresponding to the file number based on the file name.
Information processing apparatus according to claim 1.
同一の識別子を割り当てた複数の前記ディレクトリを生成する生成ステップと、
新たなファイルを前記ディレクトリに格納する際に、前記同一の識別子を有する複数の前記ディレクトリに格納されているすべての前記ファイルのファイル名を読み出し、読み出された前記ファイル名に基づくファイル番号の中から最も大きいファイル番号に1を加算したものを前記新たなファイルのファイル番号とし、前記新たなファイルのファイル番号に基づくファイル名を前記新たなファイルに付して前記ファイルの種類に応じた前記ディレクトリに格納して記録するファイル管理ステップと
を含む情報処理方法。 A plurality of file types, the information processing method of an information processing apparatus for recording and stored in different directories,
Generating a plurality of said directories assigned the same identifier;
When a new file is stored in the directory, the file names of all the files stored in the plurality of directories having the same identifier are read, and the file number based on the read file name The file number of the new file is obtained by adding 1 to the largest file number from 1 and the file name based on the file number of the new file is attached to the new file, and the directory according to the type of the file information processing method including the file management step of recording stored in.
同一の識別子を割り当てた複数の前記ディレクトリを生成する生成ステップと、
新たなファイルを前記ディレクトリに格納する際に、前記同一の識別子を有する複数の前記ディレクトリに格納されているすべての前記ファイルのファイル名を読み出し、読み出された前記ファイル名に基づくファイル番号の中から最も大きいファイル番号に1を加算したものを前記新たなファイルのファイル番号とし、前記新たなファイルのファイル番号に基づくファイル名を前記新たなファイルに付して前記ファイルの種類に応じた前記ディレクトリに格納して記録するファイル管理ステップと
前記入力ステップにより入力された前記画像を、前記同一の識別子を有するディレクトリに格納される順番を表す情報を付して、前記画像の種類に応じた前記ディレクトリに格納して記録する記録ステップと
を含むプログラム。 A plurality of types of files, a program which is executed by a processor for controlling the information processing apparatus and stored in different directories recorded respectively,
Generating a plurality of said directories assigned the same identifier;
When a new file is stored in the directory, the file names of all the files stored in the plurality of directories having the same identifier are read, and the file number based on the read file name The file number of the new file is obtained by adding 1 to the largest file number from 1 and the file name based on the file number of the new file is attached to the new file, and the directory according to the type of the file A file management step for storing and recording the image, and the image input by the input step with information indicating the order in which the image is stored in the directory having the same identifier, and the directory corresponding to the type of the image Recording step to store and record in
Including programs.
同一の識別子を割り当てた複数の前記ディレクトリを生成する生成手段と、 Generating means for generating a plurality of the directories assigned the same identifier;
新たな画像ファイルを前記ディレクトリに格納する際に、前記同一の識別子を有する複数の前記ディレクトリに格納されているすべての前記画像ファイルのファイル名を読み出し、読み出された前記ファイル名に基づくファイル番号の中から最も大きいファイル番号に1を加算したものを前記新たな画像ファイルのファイル番号とし、前記新たな画像ファイルのファイル番号に基づくファイル名を前記新たな画像ファイルに付して前記画像ファイルの種類に応じた前記ディレクトリに格納して記録するファイル管理手段と When storing a new image file in the directory, file names of all the image files stored in the plurality of directories having the same identifier are read, and file numbers based on the read file names The file number of the new image file is obtained by adding 1 to the largest file number from among the file numbers, and a file name based on the file number of the new image file is attached to the new image file. File management means for storing and recording in the directory according to type;
を備える画像処理装置。 An image processing apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004261444A JP4576941B2 (en) | 2004-09-08 | 2004-09-08 | Information processing apparatus and method, program, and image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004261444A JP4576941B2 (en) | 2004-09-08 | 2004-09-08 | Information processing apparatus and method, program, and image processing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006080781A JP2006080781A (en) | 2006-03-23 |
JP4576941B2 true JP4576941B2 (en) | 2010-11-10 |
Family
ID=36159885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004261444A Expired - Fee Related JP4576941B2 (en) | 2004-09-08 | 2004-09-08 | Information processing apparatus and method, program, and image processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4576941B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4871079B2 (en) * | 2006-09-04 | 2012-02-08 | シャープ株式会社 | Content receiving apparatus and content receiving method |
US8493471B2 (en) | 2009-01-26 | 2013-07-23 | Panasonic Corporation | Imaging apparatus, recording apparatus, file management apparatus and display apparatus |
JP5036781B2 (en) * | 2009-10-09 | 2012-09-26 | 三菱電機株式会社 | Data processing apparatus, data processing method, and program |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000287163A (en) * | 1999-03-31 | 2000-10-13 | Sony Corp | Recording and reproducing device and recording medium |
JP2002149456A (en) * | 2000-11-07 | 2002-05-24 | Matsushita Electric Ind Co Ltd | Portable storage medium, file management method in portable storage medium, and portable terminal |
JP2002369106A (en) * | 2001-04-06 | 2002-12-20 | Sony Corp | Digital camera and data transfer method |
JP2003032607A (en) * | 2001-07-13 | 2003-01-31 | Canon Inc | Image-recording apparatus |
JP2003037805A (en) * | 2001-07-25 | 2003-02-07 | Konica Corp | Camera |
JP2003281854A (en) * | 2002-03-26 | 2003-10-03 | Canon Inc | Information processor, image processor, information processing system, information recording method memory medium, and program |
JP2003333470A (en) * | 2002-05-16 | 2003-11-21 | Fuji Photo Film Co Ltd | Data management method for digital camera |
JP2004032690A (en) * | 2002-03-26 | 2004-01-29 | Eastman Kodak Co | System for capturing and archiving moving video segment |
JP2004070983A (en) * | 2002-08-01 | 2004-03-04 | Canon Inc | Reproducing device |
JP2004096582A (en) * | 2002-09-03 | 2004-03-25 | Sony Corp | Method for managing files, program of file-managing method and recorder |
-
2004
- 2004-09-08 JP JP2004261444A patent/JP4576941B2/en not_active Expired - Fee Related
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000287163A (en) * | 1999-03-31 | 2000-10-13 | Sony Corp | Recording and reproducing device and recording medium |
JP2002149456A (en) * | 2000-11-07 | 2002-05-24 | Matsushita Electric Ind Co Ltd | Portable storage medium, file management method in portable storage medium, and portable terminal |
JP2002369106A (en) * | 2001-04-06 | 2002-12-20 | Sony Corp | Digital camera and data transfer method |
JP2003032607A (en) * | 2001-07-13 | 2003-01-31 | Canon Inc | Image-recording apparatus |
JP2003037805A (en) * | 2001-07-25 | 2003-02-07 | Konica Corp | Camera |
JP2003281854A (en) * | 2002-03-26 | 2003-10-03 | Canon Inc | Information processor, image processor, information processing system, information recording method memory medium, and program |
JP2004032690A (en) * | 2002-03-26 | 2004-01-29 | Eastman Kodak Co | System for capturing and archiving moving video segment |
JP2003333470A (en) * | 2002-05-16 | 2003-11-21 | Fuji Photo Film Co Ltd | Data management method for digital camera |
JP2004070983A (en) * | 2002-08-01 | 2004-03-04 | Canon Inc | Reproducing device |
JP2004096582A (en) * | 2002-09-03 | 2004-03-25 | Sony Corp | Method for managing files, program of file-managing method and recorder |
Also Published As
Publication number | Publication date |
---|---|
JP2006080781A (en) | 2006-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8428423B2 (en) | Reproducing apparatus for video data | |
KR101189980B1 (en) | Recording device and method, reproduction device and method, and recording medium | |
JP4560422B2 (en) | Imaging apparatus and control method thereof | |
JPH114404A (en) | Digital still camera | |
JP2009118215A (en) | Imaging apparatus | |
US20060244847A1 (en) | Electronic camera device, image recording apparatus and image recording application software | |
US20150264261A9 (en) | Recording apparatus and method, reproducing apparatus and method, and program | |
JP2009225361A (en) | Recording device and recording method, and editing device and editing method | |
JP2011077654A (en) | Imaging apparatus, control method thereof and program | |
KR101385168B1 (en) | Image data recording apparatus | |
JP2005197785A (en) | Image pickup apparatus and image pickup method | |
JP4576941B2 (en) | Information processing apparatus and method, program, and image processing apparatus | |
JP2004193695A (en) | Recording and reproducing apparatus and method | |
JP2008027474A (en) | Video recording method and device | |
JP4231588B2 (en) | Electronic camera device | |
JP2015023317A5 (en) | Image management apparatus, image management method, program, and storage medium | |
US8676039B2 (en) | Recording apparatus, control method thereof, and non-transitory computer-readable storage medium | |
JP3264970B2 (en) | Digital camera | |
JP2002185841A (en) | Image-reproducing device and electronic camera, and image-reproducing method | |
KR101480407B1 (en) | Digital image processing apparatus, method for controlling the same and medium of recording the method | |
JP2008067117A (en) | Video image recording method, apparatus, and medium | |
JP4464235B2 (en) | Imaging device | |
JP4298583B2 (en) | Imaging device and mobile phone | |
JP6504927B2 (en) | Recording apparatus and control method of recording apparatus | |
JP2024070954A (en) | Image capture device and method for controlling image capture device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070831 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091112 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100108 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100204 |
|
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: 20100727 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100809 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130903 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4576941 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130903 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |