JP2012133708A - File recording device, control method thereof, program and storage medium - Google Patents
File recording device, control method thereof, program and storage medium Download PDFInfo
- Publication number
- JP2012133708A JP2012133708A JP2010287084A JP2010287084A JP2012133708A JP 2012133708 A JP2012133708 A JP 2012133708A JP 2010287084 A JP2010287084 A JP 2010287084A JP 2010287084 A JP2010287084 A JP 2010287084A JP 2012133708 A JP2012133708 A JP 2012133708A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- recording medium
- file
- directory
- recorded
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
本発明は、例えば画像ファイルを扱うデジタルカメラのように、データファイルを記録するためのファイルシステムを有するファイル記録装置およびその制御方法に関する。 The present invention relates to a file recording apparatus having a file system for recording a data file, such as a digital camera that handles image files, and a control method therefor.
従来CCDなどの固体撮像素子を用いて撮像した画像をデジタル画像に変換し、静止画像や動画像を固体メモリ素子を有するメモリカードに記録・再生するデジタルカメラが普及している。このようなデジタルカメラでは、撮像レンズを通過した被写体光束がCCD等の固体撮像素子に到達して形成される被写体像を電気信号に変換して画像信号として出力する。そして、固体撮像素子から出力された画像信号に画像処理回路内でさまざまな変換処理を施し、最終的にはメモリカード等の記録媒体に画像ファイルとして保存する。 2. Description of the Related Art Conventionally, a digital camera that converts an image captured using a solid-state image sensor such as a CCD into a digital image and records / reproduces a still image or a moving image on a memory card having a solid-state memory element is widely used. In such a digital camera, a subject image formed by the subject luminous flux that has passed through the imaging lens reaches a solid-state imaging device such as a CCD is converted into an electrical signal and output as an image signal. The image signal output from the solid-state imaging device is subjected to various conversion processes in the image processing circuit, and finally stored as an image file in a recording medium such as a memory card.
デジタルカメラの記録媒体上の画像ファイルを、FATファイルシステムを用いて管理する規格として、DCF(CIPA規格:Design rule for Camera File system)が現在広く用いられている。一般的にデジタルカメラではDCF規格に則り、ファイルを番号付きのファイル名で管理する。すなわち、記録媒体にあるディレクトリ名やファイル名は重複しない番号で管理され、記録順にファイル番号やディレクトリ番号を一つずつ増やしてファイル名やディレクトリを作成していく。DCF規格では、ディレクトリ名は xxxyyyy(xxx:100〜999 までの数値、y: 任意の文字)、ファイル名は YYYYXXXX(XXXX: 0001〜9999 までの数値、Y: 自由文字)から構成される。またDCF規格ではDCFファイル名と同一番号を持つDCFオブジェクトが定義されており、複数ファイルで1つのオブジェクトを構成する仕組みが用意されている。 As a standard for managing an image file on a recording medium of a digital camera using a FAT file system, DCF (CIPA standard: Design rule for Camera File system) is currently widely used. Generally, a digital camera manages files with numbered file names in accordance with the DCF standard. In other words, directory names and file names on the recording medium are managed by numbers that do not overlap, and file names and directories are created by increasing the file numbers and directory numbers one by one in the order of recording. In the DCF standard, the directory name is composed of xxxyyyy (xxx: numeric value from 100 to 999, y: any character), and the file name is YYYYXXX (XXXX: numeric value from 0001 to 9999, Y: free character). In the DCF standard, a DCF object having the same number as the DCF file name is defined, and a mechanism for configuring one object with a plurality of files is prepared.
このようなDCF規格を記録媒体に記録する場合、DCFディレクトリ作成時にその中に格納されるファイル数を予測することが困難である。そこで通常の書き換え可能な記録媒体にDCFディレクトリを生成する場合、ディレクトリとして成立する最低限のクラスタ数(=1)を確保してディレクトリを生成する。このように最低限のクラスタ数(=1)で作成したディレクトリにDCFファイルのエントリ情報を追加し続けていき、エントリが1クラスタ内に確保できなくなったところで、新規にもう1クラスタをエントリに割り当てる方法でディレクトリを拡張していた。 When recording such a DCF standard on a recording medium, it is difficult to predict the number of files stored in the DCF directory when it is created. Therefore, when generating a DCF directory on a normal rewritable recording medium, the directory is generated with a minimum number of clusters (= 1) established as a directory. Thus, the DCF file entry information is continuously added to the directory created with the minimum number of clusters (= 1), and when the entry cannot be secured in one cluster, another one cluster is newly assigned to the entry. Was expanding the directory in a way.
なお、一方のメディアに記録されているデータを他方のメディアにコピーするときに、コピー先のメディアにサブディレクトリを作成する技術に関し、コピー先メディアの残容量に応じてサブディレクトリのサイズを設定する技術が開示されている。(特許文献1を参照) It should be noted that, when data recorded on one medium is copied to the other medium, the size of the subdirectory is set according to the remaining capacity of the copy destination medium in relation to a technique for creating a subdirectory on the copy destination medium. Technology is disclosed. (See Patent Document 1)
ところで近年FATファイルシステムを搭載したライトワンス型の記録媒体が開発されている。このライトワンス型の記録媒体は、データの書き込みが1度だけ可能であり、記録済データの変更や消去が出来ない。 Recently, a write-once recording medium equipped with a FAT file system has been developed. In this write-once recording medium, data can be written only once, and recorded data cannot be changed or erased.
このライトワンス型の記録媒体を用いて前記DCFディレクトリを作成する場合、従来のようにディレクトリ拡張を行うときにFATのクラスタチェーンの情報を書き換えることが出来ない。つまり、ライトワンス型の記録媒体を用いる場合、ファイルを追加記録していき、ディレクトリエントリが1クラスタ内に確保できなくなったところで、新規にもう1クラスタを追加で割り当てる為のクラスタチェーンの更新が出来ない。そのため、ディレクトリ作成時に割り当てた1クラスタ分に割り当て可能な数しかDCFディレクトリ内にファイルを作成することができない。 When the DCF directory is created using this write-once type recording medium, the FAT cluster chain information cannot be rewritten when the directory is expanded as in the prior art. In other words, when a write-once type recording medium is used, additional files are recorded and when the directory entry cannot be secured in one cluster, the cluster chain can be updated to newly allocate another cluster. Absent. Therefore, files can be created in the DCF directory as many as the number that can be assigned to one cluster assigned at the time of directory creation.
記録する画像ファイル等のデータファイルをディレクトリ単位に仕分ける手法は、画像ファイルの管理手段として有効である。この時ライトワンス型記録媒体使用時に、ディレクトリ内に格納できるファイル数が1つのクラスタサイズで制限されてしまうと、これまでよりはるかに多くのディレクトリが生成されることになり、画像管理上は不都合が生じる。さらに書き換え可能型の記録媒体と併用する場合、記録媒体毎に1ディレクトリ内に記録可能なファイル数が異なることとなり、同様に画像管理上の不都合が発生してしまう。 A method of sorting data files such as image files to be recorded in units of directories is effective as image file management means. At this time, if the number of files that can be stored in a directory is limited by one cluster size when using a write-once recording medium, a much larger number of directories will be generated than before, which is inconvenient for image management. Occurs. Further, when used in combination with a rewritable recording medium, the number of files that can be recorded in one directory differs from recording medium to recording medium, which similarly causes inconvenience in image management.
本発明の課題は上記不都合を解消し、装着された記録媒体の種別等によらず統一したDCFファイルの作成規則を有したデジタルカメラを提供することである。 An object of the present invention is to provide a digital camera having a DCF file creation rule that is uniform regardless of the type of a recording medium that is mounted, in which the above inconvenience is eliminated.
上記目的を達成するため、本発明のファイル記録装置は、FATファイルシステムを用いて、データファイルを記録媒体に記録するファイル記録装置であって、記録媒体を装着する装着部と、装着部に装着された記録媒体が、ライトワンス型記録媒体か、書き換え可能型記録媒体化を判定する判定手段と、判定手段によりライトワンス型記録媒体と判定した場合には、新規にディレクトリを生成する場合に、あらかじめ決められた複数のクラスタを、当該ディレクトリに記録するファイルに対応したエントリを記録するための領域に割り当て、判定手段により書き換え可能型記録媒体と判定した場合には、新規にディレクトリを生成する場合に、1つのクラスタを、当該ディレクトリに記録するファイルに対応したエントリを記録するための領域に割り当てるようにFATを記録する記録手段とを有することを特徴とする。 In order to achieve the above object, a file recording apparatus of the present invention is a file recording apparatus for recording a data file on a recording medium using a FAT file system, and a mounting section for mounting the recording medium and a mounting section for mounting the recording medium When the determined recording medium is a write-once type recording medium or a determination unit that determines whether the recording medium is a rewritable type recording medium, and the determination unit determines that the recording medium is a write-once type recording medium, When a plurality of predetermined clusters are allocated to an area for recording an entry corresponding to a file to be recorded in the directory, and a new directory is generated when the determination unit determines that the recording medium is a rewritable recording medium In order to record an entry corresponding to a file to be recorded in one directory for each cluster It characterized by having a recording means for recording the FAT to assign the frequency.
本発明によれば、FATファイルシステムでファイルを記録する場合に、ライトワンス型の記録媒体を用いた場合に、書き換え可能型記録媒体を用いた場合のディレクトリ作成規則を保証することが可能になる。特に1つのディレクトリに記録可能なデータファイルの戸数に上限を設定してある場合には、ライトワンス型の記録媒体を用いた場合でも、書き換え可能型記録媒体を用いた場合と同じ上限値を適用することが可能になる。 According to the present invention, when a file is recorded with the FAT file system, it is possible to guarantee a directory creation rule when a rewritable recording medium is used when a write-once recording medium is used. . In particular, when an upper limit is set for the number of data files that can be recorded in one directory, the same upper limit is applied even when a write-once type recording medium is used, even when a rewritable type recording medium is used. It becomes possible to do.
以下、図面を参照して本発明の好適な実施形態を説明する。 Preferred embodiments of the present invention will be described below with reference to the drawings.
図1は、本実施形態によるデジタルカメラ100の構成例を示すブロック図である。図1において、100はデジタルカメラである。21は撮影レンズからなる光学系である。22は光学像を電気信号に変換するCCDやCMOS素子等で構成される撮像部である。23はアナログ信号をデジタル信号に変換するA/D変換器であり、撮像部22から出力されるアナログ信号をデジタル信号に変換する場合に用いられる。
FIG. 1 is a block diagram illustrating a configuration example of the
31はマイクで、音声制御部32と接続され、音声制御部32の出力は前記A/D変換器23に入力され、アナログ信号がデジタル信号に変換される。
12はタイミング発生部であり、撮像部22、A/D変換器23、D/A変換器13、音声制御部32にクロック信号や制御信号を供給する。タイミング発生部12はメモリ制御部15及びシステム制御部17により制御される。
A
24は画像処理部であり、A/D変換器23からのデータ、又は、メモリ制御部15からのデータに対し所定の画素補間、縮小といったリサイズ処理や色変換処理等を行う。画像処理部24ではまた、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御部17が露光制御、測距制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理が行われる。画像処理部24では更に、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理といった現像処理も行っている。
An
A/D変換器23からの出力データは、画像処理部24及びメモリ制御部15を介して、或いは、直接メモリ制御部15を介して、30のメモリに書き込まれる。メモリ30は、撮影した静止画像を格納するためのメモリである。
Output data from the A /
16は圧縮・伸長部であり、適応離散コサイン変換(ADCT)等により画像データを非可逆な圧縮伸張や可逆な圧縮・伸張処理を行う。またシャッターボタン11の操作をトリガに、メモリ30に格納された撮影画像データを読み込んで圧縮処理を行い、処理を終えたデータをメモリ30に書き込む。圧縮・伸張部16によりメモリ30に書き込まれた画像データは、システム制御部17においてファイル化され、インタフェース18を介して記録媒体200に記録される。
A compression /
また、メモリ30は画像表示用のメモリを兼ねている。13はD/A変換器、14はLCD等からなる画像表示部であり、メモリ30に書き込まれた表示用の画像データはD/A変換器13を介して画像表示部14により表示される。
The
17はデジタルカメラ100全体を制御するシステム制御部であり、29はシステム制御部17の動作用の定数、変数、プログラム等を記憶するシステムメモリである。
11はシャッターボタンであり、第1シャッタースイッチSW1(10)と第2シャッタースイッチSW2(11)とを含む。
25はユーザがデジタルカメラ100の記録画質を決定するための記録画質設定部であり、JPEG記録時の圧縮率や画像サイズを設定することが出来る。さらに記録画質設定部25は、A/D変換後メモリ30に保持された画像をそのまま記録するRAW記録モードや、映像と音声の記録を行う動画記録モード等の他の記録形式を記録するモードを設定することもできる。
第1シャッタースイッチSW1(10)は、デジタルカメラ100に設けられたシャッターボタン61の操作途中(半押し)でONとなる。これによりデジタルカメラ100に対して、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。
The first shutter switch SW <b> 1 (10) is turned on while the shutter button 61 provided in the
第2シャッタースイッチSW2(11)は、シャッターボタン11の操作完了(全押し)でONとなる。これによりデジタルカメラ100に対して、撮像部22からの信号読み出しから記録媒体200に画像データを書き込むまでの一連の撮像処理の動作開始を指示する。
The second shutter switch SW2 (11) is turned on when the operation of the
録音ボタン(31)は、マイク31から入力される音声データを記録部19に記録するための指示部材である。システム制御部17は録音ボタン(31)からの録音開始指示を受け取り、記録部19に記録されたDCFオブジェクトの構成ファイルとして音声ファイルを生成する。
The recording button (31) is an instruction member for recording audio data input from the
20はファイル管理部で、圧縮・伸張部16で圧縮処理されメモリ30に保持された画像データを記録部19に記録する際のファイル化を行う。さらに、記録部19に記録されたディレクトリおよびファイルを解析して、前記ファイル化する際に用いるファイル名やディレクトリ名を決定する処理等を行う。そしてシステム制御部17は、ファイル管理部25で決定したファイル名やディレクトリ名を用いて、インタフェース18を介して記録媒体200に画像ファイル等のデータファイルを記録する。
A
18はメモリカードやハードディスク等の記録媒体200とのインタフェースであり、25は該記録媒体200とインタフェース18との接続のためのコネクタである。28は記録媒体を装着する装着部として機能するコネクタ25に記録媒体200が装着されているか否かを検知する記録媒体着脱検知部である。
200はメモリカードやハードディスク等の記録媒体である。記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部19、デジタルカメラ100とのインタフェース27、及び記録媒体200とデジタルカメラ100とを接続するためのコネクタ26を備えている。
続いて図6を用いてDCF規格に即したディレクトリ構造を説明する。記録部(19)はFATファイルシステムでフォーマットされたデータが記録されている。記録部(19)は、通常MBR(Master Boot Record)領域、BOOT セクタ領域、FAT(File Allocation Table)領域、ディレクトリエントリ領域、データ領域から構成されている。FATファイルシステムではディレクトリエントリおよびデータ領域はFATと呼ばれるクラスタの連結情報に基づいてデータの記録位置および空き容量が管理される。記録部(19)には図6のようなディレクトリ構造が記録されている。ルートディレクトリ(601:最上位ディレクトリ)にはDCIMディレクトリ(602)が記録される。DCIMディレクトリ(602)内には、XXXYYYYY (XXX: 0−9 数字で構成されるファイル番号, Y: 自由文字)で構成されるDCFディレクトリが記録される(603,604,605)。DCFディレクトリ100IMAGE(603)内には、DCF基本ファイルと呼ばれるJPEGファイルが記録される(606、608、610、611)。DCF基本ファイルは同一のファイル番号を有するファイルと共にDCFオブジェクトを構成する。例えば、DCF基本ファイルIMG_0002.JPG(608)はRAW画像ファイルIMG_0002.CR2(607)と共にDCFオブジェクトを構成することが可能である。同様にDCF基本ファイルIMG_0003.JPG(610)は動画記録されたファイルIMG_0003.MOV(609)と、DCFオブジェクトを構成することが可能である。さらに前記録音ボタン(31)からの指示による音声記録処理(S208)においてDCF基本ファイルIMG_0004.JPG(611)と音声ファイルIMG_0004.WAVとでDCFオブジェクトを構成することができる。 Next, a directory structure conforming to the DCF standard will be described with reference to FIG. The recording unit (19) records data formatted in the FAT file system. The recording unit (19) is generally composed of an MBR (Master Boot Record) area, a BOOT sector area, a FAT (File Allocation Table) area, a directory entry area, and a data area. In the FAT file system, a directory entry and a data area are managed for data recording position and free space based on cluster connection information called FAT. A directory structure as shown in FIG. 6 is recorded in the recording unit (19). A DCIM directory (602) is recorded in the root directory (601: top directory). In the DCIM directory (602), a DCF directory composed of XXXXYYYYY (XXX: file number composed of 0-9 numerals, Y: free character) is recorded (603, 604, 605). In the DCF directory 100IMAGE (603), JPEG files called DCF basic files are recorded (606, 608, 610, 611). The DCF basic file constitutes a DCF object together with files having the same file number. For example, the DCF basic file IMG_0002. JPG (608) is a RAW image file IMG_0002. It is possible to construct a DCF object with CR2 (607). Similarly, the DCF basic file IMG_0003. JPG (610) is a file IMG_0003. MOV (609) and DCF objects can be constructed. Further, in the voice recording process (S208) according to the instruction from the recording button (31), the DCF basic file IMG_0004. JPG (611) and an audio file IMG_0004. A DCF object can be configured with WAV.
本実施例記載のデジタルカメラでは1ディレクトリに記録可能なDCFオブジェクト数を2000と定めている。前述したようにDCFディレクトリ中にはDCFオブジェクトを構成することにより、1オブジェクト複数ファイル有することが可能であり、かつファイル番号仕様から9999オブジェクト所有することが可能である。一般に1つのディレクトリに格納されるファイル数が増えるとディレクトリサーチ処理に時間がかかる。ディレクトリサーチ処理に時間がかかると、後述する撮影画像に対しファイル名を生成する処理や、記録部19に記録された画像ファイルをメモリ30に読み込んで画像表示部14に表示する再生機能実行時の応答速度に影響が生じる。一般的にデジタルカメラではDCF規則とは別にデジタルカメラが1ディレクトリ中に生成可能なDCFオブジェクト数を制限することで、上記応答速度維持している。
In the digital camera described in this embodiment, the number of DCF objects that can be recorded in one directory is set to 2000. As described above, by configuring a DCF object in the DCF directory, it is possible to have one object and a plurality of files, and it is possible to have 9999 objects from the file number specification. Generally, when the number of files stored in one directory increases, the directory search process takes time. When the directory search process takes time, a process for generating a file name for a captured image, which will be described later, or a playback function for reading an image file recorded in the
例えば、1つのディレクトリに2000枚の画像を記録するように設計したデジタルカメラを考える。そして、デジタルカメラ100ではDCFディレクトリ101IMAGE(604)内にIMG_0001.JPG(613)からIMG_2000.JPG(615)までの静止画が記録された状態で、次の撮影処理を行った場合を考える。すると、後述するディレクトリ新規作成機能を用いて新規のDCFディレクトリ102IMAGE(605)を作成し、そのディレクトリに新規ファイルIMG_0001.JPG(616)を作成し、記録部19に記録することになる。
For example, consider a digital camera designed to record 2000 images in one directory. In the
続いて図2を用いて本デジタルカメラの動作フローを説明する。電源ON(S201) するとシステム制御部(17)では、記録媒体200の初期化を行うとともに、記録媒体種別判定部(28)において記録媒体判定処理を実行する(S202)。記録媒体判定は、記録媒体からその種類情報を読み出し、記録媒体200の種別として読み込み専用のリードオンリー型記録媒体、ライトワンス型記録媒体、書き換え可能型記録媒体の種別判定を行う。さらに続けて、システム制御部(17)は、記録部19に記録されているFATデータを読み出し、空きクラスタ数を検索することで、空き容量の算出をおこなう。
Next, the operation flow of the digital camera will be described with reference to FIG. When the power is turned on (S201), the system control unit (17) initializes the
次にディレクトリ生成部(31)において新規記録判定処理(S203)を行う。新規記録判定処理の内容は、後述する。ここで新規記録不可と判断した場合、電源オフの指示待ち(S209)となる。新規記録判定(S203)の結果新規記録可と判断した場合(S204)、前述したシャッタースイッチSW2(11)押下指示に基づく撮影開始指示(S205)を受けると、図4を用いて後述する撮影処理(S206)を実行する。システム制御部17は録音ボタン(31)からの録音開始指示を受け取ると(S207)、図5を用いて後述する録音記録処理(S208)を実行する。システム制御部17は電源オフ指示を検出するまで(S209)上記処理を繰り返し、電源オフ指示を受け取ると(S209)、終了する(S210)。
Next, a new record determination process (S203) is performed in the directory generation unit (31). The contents of the new record determination process will be described later. If it is determined that new recording is not possible, the apparatus waits for a power-off instruction (S209). When it is determined that new recording is possible as a result of the new recording determination (S203) (S204), upon receiving a shooting start instruction (S205) based on the instruction to press the shutter switch SW2 (11) described above, a shooting process described later with reference to FIG. (S206) is executed. When receiving a recording start instruction from the recording button (31) (S207), the
図3ではディレクトリ生成部(31)において実行される、新規記録可能判定処理(S203)の処理フローについて説明する。ディレクトリ生成部(31)ではシステムメモリ(29)に最大ディレクトリ番号(M)、新規ディレクトリ番号(M‘)、最大ファイル番号(m)、新規ファイル番号(m’)、ファイル数(fc)、記録部19に記録されたFATの空きクラスタ数を保持する。新規記録可能判定処理(S203)は処理開始時に新規ディレクトリ番号(M’)を0で初期化する(S301)。
FIG. 3 describes the process flow of the new recordability determination process (S203) executed by the directory generation unit (31). In the directory generation unit (31), the maximum directory number (M), the new directory number (M ′), the maximum file number (m), the new file number (m ′), the number of files (fc), and the recording are recorded in the system memory (29). The number of empty FAT clusters recorded in the
続いてルートディレクトリをサーチする(S302)。図6のようなディレクトリ構成の場合ルートディレクトリサーチ(S302)をすることで、DCIMディレクトリ(602)を検出することができる。ここでDCIMディレクトリが存在する場合(S303)、DCIMディレクトリサーチを行う(S304)。図6ではDCIMディレクトリ(602)をサーチすることで、DCFディレクトリ100IMAGE(603)、101IMAGE(604)、102IMAGE(605)を検出できる。ここでディレクトリ生成部31はDCIMディレクトリから検出したDCFディレクトリのうち最大ディレクトリ番号を有するディレクトリを特定し(S305)、そのディレクトリ番号を変数Mとしてシステムメモリ29に記憶する。図6の場合102IMAGE(605)が該当する。続いてディレクトリ生成部(31)は最大ディレクトリをサーチする(S306)。
Subsequently, the root directory is searched (S302). In the case of the directory structure as shown in FIG. 6, the DCIM directory (602) can be detected by performing the root directory search (S302). If a DCIM directory exists (S303), a DCIM directory search is performed (S304). In FIG. 6, the
最大ディレクトリをサーチすることで、DCFオブジェクトを構成するファイルを列挙することが可能である。例えば102IMAGE(605)をサーチするとIMG_0001.JPG(616)を検出することができる。ここでディレクトリ中に格納されたDCFファイル数をfcという変数でシステムメモリ29に記憶するとともに、DCFオブジェクト数をOcという変数名で記憶する。図6の100IMAGEディレクトリ(603)が最大ディレクトリの場合、fcは7であるが、Ocは4となる。またこのときDCFファイルに記録されたファイル番号のうち最大ファイル番号をmという変数名でシステムメモリ29に記録する。続いて前述したファイル数(fc)の比較処理を行う(S310)。
By searching the maximum directory, it is possible to enumerate the files constituting the DCF object. For example, when 102IMAGE (605) is searched, IMG_0001. JPG (616) can be detected. Here, the number of DCF files stored in the directory is stored in the
ここで比較対象となる数値は記録媒体判定処理(S202)で判定された記録媒体の種別に応じて変更することができる。本実施例のデジタルカメラでは最大ファイル数はライトワンス型記録媒体の場合上限値として2000を制限し、書き換え可能型記録媒体の場合ファイル数上限値を設けない。ファイル数(fc)が上限値より少ない場合(S310)、最大ファイル番号の次の番号(m+1)が作成可能な数値であるかの判断を行う(S311)。例えばm=9999の場合次の番号は生成できない。最大ファイル番号の次の番号(m+1)が生成可能な場合、現在の最大ディレクトリ番号(M)および最大ファイル番号(m)をシステムメモリ(29)に記録する。 Here, the numerical value to be compared can be changed according to the type of the recording medium determined in the recording medium determination process (S202). In the digital camera of the present embodiment, the maximum number of files is limited to 2000 as an upper limit in the case of a write-once recording medium, and no upper limit is set in the case of a rewritable recording medium. If the number of files (fc) is less than the upper limit (S310), it is determined whether the number (m + 1) next to the maximum file number is a numerical value that can be created (S311). For example, when m = 9999, the next number cannot be generated. When the number (m + 1) next to the maximum file number can be generated, the current maximum directory number (M) and the maximum file number (m) are recorded in the system memory (29).
一方ファイル数(fc)が上限値以上の場合(本実施系では2000以上)新規ディレクトリに新規ファイルを作成可能するために、最大ディレクトリ番号(M)の次のディレクトリ(M+1)の作成可能判定(S313)を行う。次のディレクトリが作成可能な場合新規ディレクトリ番号(M‘)を現在の最大ディレクトリ番号(M)から1つ増やし(M=M+1)、新規作成ファイル番号(m‘)を1に設定する。続いて最大ディレクトリ番号(M)に対し次のディレクトリ番号が生成できない場合(S313)、最大ディレクトリ番号(M)および最大ファイル番号(m)に−1を設定する。記録部(19)にDCIMディレクトリが存在しない場合最大ディレクトリ番号(M)および最大ファイル番号(m)は共に0で設定する。この状態で最大ディレクトリ番号(M)および最大ファイル番号(m)をシステムメモリ(29)に記憶する(S312)。続いてシステムメモリ(29)に記憶された最大ファイル番号(M)および最大ファイル番号(m)がマイナスの場合(S317)、画像表示部(14)に「ファイル名が作れません」等の警告表示を行う(S318)。最大ファイル番号(M)および最大ファイル番号(m)が0以上の場合、新規記録可能判定処理(S203)を終了する(S319)。 On the other hand, if the number of files (fc) is greater than or equal to the upper limit (2000 or more in this embodiment), it is possible to create a directory (M + 1) next to the maximum directory number (M) in order to create a new file in a new directory ( S313) is performed. When the next directory can be created, the new directory number (M ′) is incremented by 1 from the current maximum directory number (M) (M = M + 1), and the newly created file number (m ′) is set to 1. Subsequently, when the next directory number cannot be generated for the maximum directory number (M) (S313), -1 is set to the maximum directory number (M) and the maximum file number (m). When the DCIM directory does not exist in the recording unit (19), the maximum directory number (M) and the maximum file number (m) are both set to 0. In this state, the maximum directory number (M) and the maximum file number (m) are stored in the system memory (29) (S312). Subsequently, when the maximum file number (M) and the maximum file number (m) stored in the system memory (29) are negative (S317), a warning such as “Cannot create file name” is displayed on the image display unit (14). Display is performed (S318). When the maximum file number (M) and the maximum file number (m) are 0 or more, the new record enable determination process (S203) is terminated (S319).
図4では本実施例を搭載したデジタルカメラ100の撮影処理(S206)について説明する。撮影処理を開始すると(S401)、システム制御部17は前記記録媒体判定処理(S202)で判定した記録媒体種別を参照する。書き換え可能型記録媒体の場合(S402)、シャッター開閉を伴う露光処理(S405)を行い、続いて撮像部22からメモリ(30)に読み出した画像の現像および圧縮処理(S406)を行い記録媒体(19)に記録できるデータ形式としてメモリ(30)に格納する。メモリ(30)に格納された記録前のデータは後述する記録処理(S407)を通して、記録部(19)に記録され、撮影処理(S206)を終了する。
FIG. 4 describes the photographing process (S206) of the
一方記録媒体判定処理(S202)においてライトワンス型記録媒体であると判断した場合(S402)、現在の撮影モード判定を行う(S403)。撮影モード判定では例えば、取り直し機能を有するような撮影モードでは、取り直し処理を記録部(19)に記録されたディレクトリエントリを書き換えることで実現する場合、ライトワンス型記録媒体ではこの書き換え処理ができないために実現できない機能となる。 On the other hand, when it is determined in the recording medium determination process (S202) that the recording medium is a write-once type recording medium (S402), the current shooting mode is determined (S403). In the shooting mode determination, for example, in a shooting mode having a read-out function, when the read-out process is realized by rewriting the directory entry recorded in the recording unit (19), this rewrite process cannot be performed on the write-once recording medium. It becomes a function that cannot be realized.
なお、RAWファイル記録時にJPEGファイルを同時に記録したり、動画記録と同時に静止画ファイルを同時に記録するような、一度に複数ファイルを記録するような記録モードを実行できないように制御している。 Control is performed so that a recording mode in which a plurality of files are recorded at a time, such as simultaneously recording a JPEG file at the time of RAW file recording or simultaneously recording a still image file simultaneously with moving image recording, cannot be executed.
なぜなら、1つのディレクトリに作成可能な上限数(例えば2000)を設定してあるが、一度に複数ファイルを記録するモードの場合には2000回の撮影よりも少ない回数で上限数2000に達してしまう。1階の撮影で高速連射画像を記録するようなモードの場合は、数回の撮影で2000枚を超えてしまう設計もあり、この様な場合にはディレクトリが過剰に生成されてしまう可能性がある。つまり、撮影時にさしあたり複数の画像を記録しておき、後に記録部(19)の書き換え処理を前提とした撮影モードは、ライトワンス型記録媒体のように書き換えが出来ないメディアを使用しているときには不向きである。このため、撮影モード判定(S403)でNG判定を行い、画像表示部(14)に「記録できません」等の警告表示(S404)を行い、撮影処理(S206)を終了する(S408)。 This is because an upper limit number (for example, 2000) that can be created in one directory is set, but in the mode in which a plurality of files are recorded at a time, the upper limit number 2000 is reached in fewer times than 2000 shootings. . In the case of a mode in which high-speed continuous shooting images are recorded by shooting on the first floor, there is a design that exceeds 2000 images by shooting several times, and in such a case, directories may be generated excessively. is there. That is, a plurality of images are recorded at the time of shooting, and the shooting mode based on the rewriting process of the recording unit (19) is used when a medium that cannot be rewritten such as a write-once recording medium is used. It is unsuitable. Therefore, an NG determination is made in the shooting mode determination (S403), a warning display (S404) such as “Cannot record” is displayed on the image display unit (14), and the shooting process (S206) is terminated (S408).
続いて図5〜8を用いて記録処理(S407)について説明する。ここで図6では本画像記録装置を用いて記録媒体200に記録されるファイル構成を示す。
Next, the recording process (S407) will be described with reference to FIGS. Here, FIG. 6 shows a file structure recorded on the
記録処理を開始すると(S501)、システムメモリ(29)に記録された新規ディレクトリ番号(M‘)が0より大きいの場合、最大ファイル番号(m)を用いて新規ファイル名を作成する(S507)。ここで、新規ディレクトリ番号(M’)が0より以下の場合、記録媒体判定処理(S202)において判定した記録媒体(200)の種別を参照する。(S503)その結果、ライトワンス型記録媒体の場合(S505)、1ディレクトリに作成可能なファイル数上限値(本実施例では2000)と記録部(19)がフォーマットされているクラスタサイズ(CS)とファイルシステムで特定されるエントリサイズ(DS)を用いて新規に作成するディレクトリに必要なクラスタ数(NC)を以下の式を用いて算出する(S505)。なお1つのファイルに対応するエントリサイズDSは32byteの場合を想定する。
NC=ROUNDUP(2000/(CS/DS))。
When the recording process is started (S501), if the new directory number (M ′) recorded in the system memory (29) is larger than 0, a new file name is created using the maximum file number (m) (S507). . Here, when the new directory number (M ′) is less than 0, the type of the recording medium (200) determined in the recording medium determination process (S202) is referred to. (S503) As a result, in the case of a write-once recording medium (S505), the upper limit number of files that can be created in one directory (2000 in this embodiment) and the cluster size (CS) in which the recording unit (19) is formatted. The number of clusters (NC) required for the newly created directory is calculated using the following formula using the entry size (DS) specified by the file system (S505). It is assumed that the entry size DS corresponding to one file is 32 bytes.
NC = ROUNDUP (2000 / (CS / DS)).
このときのFAT構成を図8に示す。クラスタサイズCS=16KBでのFATファイルシステムの場合、1ディレクトリに2000ファイル作成するには、NC=4が必要となり、0x0Bクラスタから0x0Eクラスタまでの連続4クラスタをFAT上に確保するようにFATを記録する(801)。このように、1つのディレクトリに記録可能なファイルの最大数に基づく複数のクラスタを一括してFATに確保するためのクラスタチェーンの情報を記録する。 FIG. 8 shows the FAT configuration at this time. In case of FAT file system with cluster size CS = 16KB, NC = 4 is required to create 2000 files in 1 directory, and FAT is secured so that 4 consecutive clusters from 0x0B cluster to 0x0E cluster are secured on FAT. Record (801). In this manner, cluster chain information for securing a plurality of clusters based on the maximum number of files that can be recorded in one directory in a FAT is recorded.
なお、1つのディレクトリに記録可能なファイルの最大数は上記の2000に限定されるものではなく、設計や規格の都合などにより適宜変更可能である。また、記録媒体のクラスタサイズやエントリサイズに応じて、新規にディレクトリを作成するときに確保すべきクラスタの数も変更しなければならないことは言うまでもない。 Note that the maximum number of files that can be recorded in one directory is not limited to the above-described 2000, and can be changed as appropriate depending on the design and the convenience of the standard. Needless to say, the number of clusters to be secured when a new directory is created must be changed according to the cluster size and entry size of the recording medium.
一方記録媒体(200)が書き換え可能型記録媒体である場合、新規に作成するディレクトリのクラスタ数として1クラスタを確保する(S504)。クラスタサイズ16KBでFATファイルシステムの場合、“.”と“..”ディレクトリ用に2エントリ消費するため、S504にて確保したディレクトリエントリで作成可能なファイル数は510個となる。 On the other hand, when the recording medium (200) is a rewritable recording medium, one cluster is secured as the number of clusters of a newly created directory (S504). In the case of a FAT file system with a cluster size of 16 KB, two entries are consumed for the “.” And “..” directories, so the number of files that can be created with the directory entry secured in S504 is 510.
このときのFAT構成を図7に示す。この場合0xBの1クラスタのみが確保される(701)。 FIG. 7 shows the FAT configuration at this time. In this case, only one cluster of 0xB is secured (701).
上記記録媒体(200)の種別により確保したクラスタ数をもってディレクトリを作成する(S506)。続いて現像処理(S406)によって作成された撮影画像データのファイル名を最大ファイル番号mを用いて作成する(S507)。 A directory is created with the number of clusters secured according to the type of the recording medium (200) (S506). Subsequently, the file name of the photographed image data created by the development process (S406) is created using the maximum file number m (S507).
次に記録媒体判定処理(S202)で記録媒体(200)がライトワンス型記録媒体の場合、ファイルエントリを作成するためのエントリ領域はステップ505の計算において確保される。そして新規に作成したファイル名を用いてファイル記録を行い(S512)終了する(S513)。一方書き換え可能型記録媒体の場合(S508)、新規ファイルを新クラスタに記録する必要があると判断した場合(S509)、追加するクラスタとしてクラスタ数を1と設定し(S510)、ディレクトリを拡張する(S511)。 “/DCIM/101IMAGE/IMG_0511.JPG”を作成する場合を例に説明する。直前に記録媒体200に記録した“IMG_0510.JPG”に対応するエントリはクラスタ0x0208まで消費し、そのディレクトリエントリでS504で確保したクラスタ(0x0B)を消費してしまう。そこで“IMG_0511.JPG”ファイルを作成するためには新たにディレクトリ用のクラスタを割り当てる必要がある。ファイル管理部20はFATの空きクラスタの中から最小番号の0x0209クラスタを用いてこのディレクトリ拡張(S511)を行う。このとき0x0Bクラスタの終端コード0xFFFFを新規に割り当てられた0x0209クラスタ番号に書き換えてFATのクラスタチェーンを更新する。拡張用に割り当てられるクラスタ数はS510にて1と決定するため0x0209クラスタは終端コード0xFFFFで記録されFATは702の状態になるように記録する。このまま割り当てられた0x0209クラスタを用いて“IMG_1022.JPG”まで記録し、クラスタを0x0406まで消費したとする。この状態で“IMG_1023.JPG”を記録する場合も同様にS510にて0x0209クラスタの終端コードを0x0407に変更し、0x0407クラスタに対し終端コードを記録することでディレクトリを拡張する(703)。さらに静止画記録を継続し、“IMG_1533.JPG”を作成する際に再度ディレクトリが0x0605クラスタを用いてディレクトリ拡張を行う(704)。このように記録媒体200が書き換え可能型記録媒体の場合、ディレクトリ拡張時に必要なクラスタを1つずつ消費することで101IMAGEディレクトリに2000ファイルを作成することを可能とし、かつクラスタの消費を最小限に抑制することが可能である。
Next, when the recording medium (200) is a write-once recording medium in the recording medium determination process (S202), an entry area for creating a file entry is secured in the calculation in
一方記録媒体200がライトワンス型記録媒体の場合、上記FAT上のクラスタ書き換え処理が行うことができず、事前に撮影可能枚数に応じた複数のクラスタをディレクトリ作成時に確保する。
On the other hand, when the
新ファイルをディレクトリ拡張を伴わず記録可能な場合(S509)、そのままメモリ(30)に格納してある画像データのファイル記録(S512)し、本記録処理を終了する(S513)。 If the new file can be recorded without directory extension (S509), the image data stored in the memory (30) is recorded as it is (S512), and the recording process is terminated (S513).
上記の実施例では画像ファイルを扱うデジタルカメラで説明したが、FATを扱うファイルシステムであれば、画像ファイル以外のデータファイルを扱うファイル記録装置に適用可能である。 In the above embodiment, the digital camera that handles image files has been described. However, any file system that handles FAT can be applied to a file recording apparatus that handles data files other than image files.
特に、1つのディレクトリに記録するファイルの数に上限数を設けてある装置において、書き換え可能型記録媒体を使用する場合に1つのディレクトリに記録可能な不データファイルの上限数を保証することも出来る。 In particular, in an apparatus in which an upper limit is set for the number of files recorded in one directory, the upper limit for the number of non-data files that can be recorded in one directory can be guaranteed when a rewritable recording medium is used. .
図9は録音ボタン(31)を用いて音声記録処理(S208)を行う場合のフローを示している。音声記録処理(S208)を実行するとDCFディレクトリ内のファイル数を保証することができなくなることから、ライトワンス型記録媒体(S502)では音声記録を制限する。このとき画像表示部(14)に「記録できません」等の警告表示を行う(S506)。一方書き換え可能型記録媒体の場合、最大ディレクトリ番号(M)および最大ファイル番号(m)を用いて音声記録用ファイル名を生成し(S503)、録音終了まで(S505)、音声を記録する(S504)。録音終了指示を受け取ったところで録音処理を終了する(S507)。 FIG. 9 shows a flow when the sound recording process (S208) is performed using the recording button (31). If the voice recording process (S208) is executed, the number of files in the DCF directory cannot be guaranteed, so the write-once recording medium (S502) limits voice recording. At this time, a warning message such as “Cannot record” is displayed on the image display section (14) (S506). On the other hand, in the case of a rewritable recording medium, an audio recording file name is generated using the maximum directory number (M) and the maximum file number (m) (S503), and until the end of recording (S505), the audio is recorded (S504). ). When the recording end instruction is received, the recording process is ended (S507).
(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other examples)
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, or the like) of the system or apparatus reads the program. It is a process to be executed.
またコンピュータ可読の記憶媒体から読み出されたプログラムコードが前述した実施の形態の機能を実現することにより、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 Further, the program code read from the computer-readable storage medium realizes the functions of the above-described embodiments, so that the program code and the storage medium storing the program code constitute the present invention.
Claims (7)
前記記録媒体を装着する装着部と、
前記装着部に装着された前記記録媒体が、ライトワンス型記録媒体か、書き換え可能型記録媒体かを判定する判定手段と、
前記判定手段によりライトワンス型記録媒体と判定した場合には、新規にディレクトリを生成する場合に、あらかじめ決められた複数のクラスタを、当該ディレクトリに記録するファイルに対応したエントリを記録するための領域に割り当て、前記判定手段により書き換え可能型記録媒体と判定した場合には、新規にディレクトリを生成する場合に、1つのクラスタを、当該ディレクトリに記録するファイルに対応したエントリを記録するための領域に割り当てるようにFATを記録する記録手段とを有することを特徴とするファイル記録装置。 A file recording apparatus for recording a data file on a recording medium using a FAT file system,
A mounting portion for mounting the recording medium;
Determination means for determining whether the recording medium mounted on the mounting portion is a write-once recording medium or a rewritable recording medium;
An area for recording entries corresponding to files to be recorded in a plurality of predetermined clusters when a new directory is generated when the determination unit determines that the medium is a write-once type recording medium. If the determination unit determines that the recording medium is a rewritable recording medium, when a new directory is generated, one cluster is set in an area for recording an entry corresponding to a file to be recorded in the directory. A file recording apparatus comprising: a recording unit that records the FAT so as to be allocated.
前記判定手段によりライトワンス型記録媒体と判定した場合には、1度の撮影で複数の画像ファイルを生成して記録媒体に記録する撮影モードでの撮影が出来ないように制御する制御手段をさらに有することを特徴とする請求項1〜3のいずれか1項に記載のファイル記録装置。 The data recording device is a digital camera;
If the determination means determines that the recording medium is a write-once recording medium, the control means further controls to prevent shooting in a shooting mode in which a plurality of image files are generated and recorded on the recording medium in one shooting. The file recording apparatus according to claim 1, wherein the file recording apparatus is provided.
前記装着部に装着された前記記録媒体が、ライトワンス型記録媒体か、書き換え可能型記録媒体化を判定する判定工程と、
前記判定工程によりライトワンス型記録媒体と判定した場合には、新規にディレクトリを生成する場合に、あらかじめ決められた複数のクラスタを、当該ディレクトリに記録するファイルに対応したエントリを記録するための領域に割り当て、前記判定工程により書き換え可能型記録媒体と判定した場合には、新規にディレクトリを生成する場合に、1つのクラスタを、当該ディレクトリに記録するファイルに対応したエントリを記録するための領域に割り当てるようにFATを記録する記録工程とを有することを特徴とするファイル記録装置の制御方法。 A method for controlling a file recording apparatus that has a mounting unit for mounting the recording medium and records a data file on the recording medium using a FAT file system,
A determination step of determining whether the recording medium mounted on the mounting portion is a write-once recording medium or a rewritable recording medium;
An area for recording an entry corresponding to a file to be recorded in a plurality of predetermined clusters when a new directory is generated when it is determined as a write-once type recording medium by the determination step. If the directory is determined to be a rewritable recording medium in the determination step, when a new directory is generated, one cluster is set as an area for recording an entry corresponding to a file recorded in the directory. And a recording step of recording the FAT so as to be assigned.
データファイルが記録される記録媒体が、ライトワンス型記録媒体か、書き換え可能型記録媒体化を判定する判定工程と、
前記判定工程によりライトワンス型記録媒体と判定した場合には、新規にディレクトリを生成する場合に、あらかじめ決められた複数のクラスタを、当該ディレクトリに記録するファイルに対応したエントリを記録するための領域に割り当て、前記判定工程により書き換え可能型記録媒体と判定した場合には、新規にディレクトリを生成する場合に、1つのクラスタを、当該ディレクトリに記録するファイルに対応したエントリを記録するための領域に割り当てるようにFATを記録する記録工程とを有することを特徴とするプログラム。 A program for executing a file recording method for recording a data file on a recording medium using a FAT file system by being read and executed by a computer, the file recording method comprising:
A determination step of determining whether the recording medium on which the data file is recorded is a write-once recording medium or a rewritable recording medium;
An area for recording an entry corresponding to a file to be recorded in a plurality of predetermined clusters when a new directory is generated when it is determined as a write-once type recording medium by the determination step. If the directory is determined to be a rewritable recording medium in the determination step, when a new directory is generated, one cluster is set as an area for recording an entry corresponding to a file recorded in the directory. And a recording step of recording the FAT so as to be allocated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010287084A JP2012133708A (en) | 2010-12-24 | 2010-12-24 | File recording device, control method thereof, program and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010287084A JP2012133708A (en) | 2010-12-24 | 2010-12-24 | File recording device, control method thereof, program and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012133708A true JP2012133708A (en) | 2012-07-12 |
Family
ID=46649205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010287084A Pending JP2012133708A (en) | 2010-12-24 | 2010-12-24 | File recording device, control method thereof, program and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012133708A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111630706A (en) * | 2018-01-25 | 2020-09-04 | 三洋电机株式会社 | Power supply device, vehicle provided with power supply device, and power storage device |
-
2010
- 2010-12-24 JP JP2010287084A patent/JP2012133708A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111630706A (en) * | 2018-01-25 | 2020-09-04 | 三洋电机株式会社 | Power supply device, vehicle provided with power supply device, and power storage device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5025104B2 (en) | Imaging apparatus, control method therefor, and computer program | |
JP4560422B2 (en) | Imaging apparatus and control method thereof | |
JP2006197243A (en) | Imaging apparatus and method, program, and storage medium | |
JP2011182381A (en) | Image processing device and image processing method | |
JP5072292B2 (en) | Imaging apparatus and control method thereof | |
JP2011077654A (en) | Imaging apparatus, control method thereof and program | |
JP6679409B2 (en) | Imaging device, remote control device, control method and program, and storage medium | |
JP5836578B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM | |
JP4757206B2 (en) | Image processing apparatus, image processing apparatus control method, and computer program | |
JP2007036587A (en) | Imaging apparatus and its control method | |
JP2012133708A (en) | File recording device, control method thereof, program and storage medium | |
JP5794657B2 (en) | Imaging control apparatus and imaging control method | |
JP4942164B2 (en) | Moving image format file generation method, moving image format file generation apparatus, and storage medium | |
JP2007124150A (en) | Apparatus and method for image processing, and for processing image data file, computer program, and recording medium | |
JP4776967B2 (en) | RECORDING / REPRODUCING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP2004112708A (en) | Digital camera, and image data regeneration method of digital camera | |
JP5495670B2 (en) | Imaging device, control method thereof, and program | |
KR101138604B1 (en) | Camera having voice auto-recognition/search module and voice auto-recognition/search module using the same | |
JP7212477B2 (en) | Recording device, recording method, and program | |
JP7171298B2 (en) | Recording device, recording method, and program | |
JP5159473B2 (en) | Imaging device | |
JP2017022559A (en) | Recording device and control method for recording device | |
JP5225478B2 (en) | Imaging apparatus, control method therefor, and computer program | |
KR101362774B1 (en) | Method for controlling digital photographing apparatus, and digital photographing apparatus adopting the method | |
JP2014096190A (en) | Recording device and control method of the same, program and storage medium |