JP4956479B2 - Image file management apparatus and digital camera - Google Patents

Image file management apparatus and digital camera Download PDF

Info

Publication number
JP4956479B2
JP4956479B2 JP2008117410A JP2008117410A JP4956479B2 JP 4956479 B2 JP4956479 B2 JP 4956479B2 JP 2008117410 A JP2008117410 A JP 2008117410A JP 2008117410 A JP2008117410 A JP 2008117410A JP 4956479 B2 JP4956479 B2 JP 4956479B2
Authority
JP
Japan
Prior art keywords
file
image
trash
display
image file
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
Application number
JP2008117410A
Other languages
Japanese (ja)
Other versions
JP2009267948A (en
Inventor
文雄 中丸
恒史 遠藤
岳志 三沢
敏 中村
幹夫 渡辺
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2008117410A priority Critical patent/JP4956479B2/en
Publication of JP2009267948A publication Critical patent/JP2009267948A/en
Application granted granted Critical
Publication of JP4956479B2 publication Critical patent/JP4956479B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は画像ファイル管理装置及びデジタルカメラに係り、特に記憶メディア内の画像ファイルを削除して、整理する画像ファイル管理装置及びデジタルカメラに関する。   The present invention relates to an image file management apparatus and a digital camera, and more particularly to an image file management apparatus and a digital camera that delete and organize image files in a storage medium.

デジタルカメラでは、撮影により得られた画像のデータを所定フォーマットの画像ファイル(たとえば、Exifファイル)として、メモリカード等の記憶メディアに保存する。   In a digital camera, image data obtained by shooting is stored in a storage medium such as a memory card as an image file (for example, an Exif file) in a predetermined format.

近年、デジタルカメラ等に使用される記憶メディアは、その容量が大容量化しており、1つの記憶メディアに大量の画像ファイルが保存できるようになっている。   In recent years, storage media used for digital cameras and the like have increased in capacity, and a large amount of image files can be stored in one storage medium.

しかし、1つの記憶メディアに大量の画像ファイルが保存されていると、閲覧時に見たい画像をなかなか見つけ出すことができないという不具合が生じる。   However, if a large number of image files are stored in one storage medium, there is a problem that it is difficult to find an image that is desired to be viewed at the time of browsing.

そこで、ユーザは、必要に応じて不要な画像ファイルを削除し、格納されている画像ファイルを整理する必要が生じる。   Therefore, the user needs to delete unnecessary image files as necessary and organize stored image files.

一般に画像ファイルの削除は、削除対象の画像ファイルの画像をモニタに表示させ、削除の指示を行った後、確認(本当に削除するか否かの確認)の動作を行ってから、実際に削除される。   In general, when deleting an image file, the image of the image file to be deleted is displayed on the monitor, and after the deletion instruction is given, a confirmation (confirmation of whether or not to delete) is performed, and then the image file is actually deleted. The

しかし、このような確認動作を行った場合であっても、誤って画像ファイルを削除してしまう場合がある。   However, even when such a confirmation operation is performed, the image file may be deleted by mistake.

そこで、特許文献1では、削除が指示された画像の画像ファイルを圧縮して保存することにより、記憶メディアの記憶容量を圧迫せずに、削除した画像を復元できるようにすることを提案している。   Therefore, Patent Document 1 proposes that the deleted image can be restored without compressing the storage capacity of the storage medium by compressing and saving the image file of the image instructed to be deleted. Yes.

また、特許文献2では、記憶メディア内のファイルの閲覧性を向上させるために、ファイルをまとめる指示が行われると、まとめる指示があった複数のファイルのファイル名から共通部分を抽出し、抽出した共通部分を元にディレクトリ名をつけて、そのディレクトリにファイルを移動させることが提案されている。
特開平9−219648号公報 特開平8−314781号公報
In Patent Document 2, in order to improve the browsing of files in a storage medium, when an instruction for grouping files is given, a common part is extracted and extracted from the file names of a plurality of files for which the grouping instruction is given. It has been proposed to assign a directory name based on the common part and move the file to that directory.
Japanese Patent Laid-Open No. 9-219648 JP-A-8-314781

しかしながら、特許文献1の方法は、削除・復元時に圧縮、伸張処理が必要になるため、削除、復元の処理に時間がかかるという欠点がある。また、削除した画像を個別に復元させるには、削除した画像をモニタに表示させる必要があるが、この場合にも伸張処理が必要になるため、表示までに時間がかかり、操作性が悪いという欠点がある。   However, the method of Patent Document 1 has a drawback in that it takes time for the deletion and restoration processes because compression and decompression processes are required at the time of deletion and restoration. In addition, in order to restore deleted images individually, it is necessary to display the deleted images on the monitor, but in this case as well, expansion processing is required, so it takes time to display and the operability is poor. There are drawbacks.

一方、特許文献2の方法は、ファイルを移動させているだけなので、全体のファイル数は変わらず、ソートや検索処理などを行う場合に時間がかかるという欠点がある。   On the other hand, since the method of Patent Document 2 only moves files, the total number of files does not change, and there is a drawback that it takes time to perform sorting and search processing.

本発明はこのような事情に鑑みてなされたもので、削除した画像ファイルを簡単に確認でき、簡単に復元、完全削除することができる画像ファイル管理装置及びデジタルカメラを提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an image file management apparatus and a digital camera that can easily confirm a deleted image file, and can easily restore and completely delete the image file. .

請求項1に係る発明は、前記目的を達成するために、記憶手段と、表示手段と、前記記憶手段に記憶されている画像ファイルの表示を指示する画像ファイル表示指示手段と、前記画像ファイル表示指示手段からの指示に応じて、前記記憶手段に記憶されている画像ファイルの画像を前記表示手段に表示させる画像ファイル表示制御手段と、前記表示手段に表示された画像の中から少なくとも1つを選択して、その削除を指示する削除指示手段と、前記削除指示手段で削除が指示された画像の画像ファイルを1つにまとめたゴミ箱ファイルを生成するゴミ箱ファイル生成手段と、前記ゴミ箱ファイル生成手段で生成されたゴミ箱ファイルを前記記憶手段に記憶させるとともに、前記削除指示手段で削除が指示された画像の画像ファイルを前記記憶手段から削除する記憶制御手段と、前記ゴミ箱ファイルに格納されている個々の画像ファイルの画像に対して個別に表示のON/OFFを設定する表示設定手段と、前記表示設定手段で設定された個々の画像ファイルの表示設定情報を前記ゴミ箱ファイルの所定領域に記録する設定情報記録手段と、前記記憶手段に記憶されているゴミ箱ファイルに対して、格納されている画像ファイルの展開表示を指示するゴミ箱ファイル展開表示指示手段と、前記ゴミ箱ファイル展開表示指示手段からの指示に応じて、前記ゴミ箱ファイルに格納されている画像ファイルの画像を前記表示手段に表示させるゴミ箱ファイル展開表示制御手段であって、前記表示設定情報に基づき、表示設定がONにされている画像ファイルの画像のみを前記表示手段に表示させるゴミ箱ファイル展開表示制御手段と、を備えたことを特徴とする画像ファイル管理装置を提供する。   In order to achieve the object, the invention according to claim 1 is a storage means, a display means, an image file display instruction means for instructing display of an image file stored in the storage means, and the image file display. In response to an instruction from the instruction means, at least one of the image file display control means for causing the display means to display an image of the image file stored in the storage means and the image displayed on the display means. Deletion instruction means for selecting and instructing the deletion, a trash file generation means for generating a trash file in which image files of images instructed to be deleted by the deletion instruction means are combined, and the trash file generation means The trash box file generated in step (b) is stored in the storage unit, and the image file of the image instructed to be deleted by the deletion instruction unit is stored in the storage unit. Storage control means for deleting from the means, display setting means for individually setting display ON / OFF for the images of the individual image files stored in the trash box file, and individual settings set by the display setting means Setting information recording means for recording the display setting information of the image file in a predetermined area of the trash box file, and a trash box for instructing the expanded display of the stored image file with respect to the trash box file stored in the storage means In response to an instruction from the file expansion display instruction means and the trash box file expansion display instruction means, a trash box file expansion display control means for causing the display means to display an image of an image file stored in the trash box file, Based on the display setting information, only the image of the image file whose display setting is ON is displayed on the display means. Further comprising a, a trash file expansion display control means for providing an image file management apparatus according to claim.

請求項1に係る発明によれば、削除された画像ファイルが、1つのファイル(ゴミ箱ファイル)に格納される。ゴミ箱ファイルに格納された画像ファイルは、必要に応じて表示手段に表示させることができ、かつ、その表示/非表示を個別に設定することができる(個別に表示のON/OFFを設定することができる。)。これにより、ゴミ箱ファイルの中身を簡単に確認することができ、また、削除した画像ファイルの要/不要の整理も簡単に行うことができる。   According to the first aspect of the present invention, the deleted image file is stored in one file (trash box file). The image file stored in the trash can file can be displayed on the display means as required, and the display / non-display of the image file can be set individually (individually set ON / OFF of display) Can do that.) As a result, the contents of the trash can file can be easily confirmed, and the necessary / unnecessary arrangement of the deleted image file can be easily performed.

請求項2に係る発明は、前記目的を達成するために、前記記憶手段に記憶されているゴミ箱ファイルに対して、表示設定がOFFにされている画像ファイルの削除を指示する完全削除指示手段と、前記完全削除指示手段からの削除指示に応じて、前記ゴミ箱ファイルから表示設定がOFFにされている画像ファイルを削除するとともに、該画像ファイルが削除された後のゴミ箱ファイルの表示設定情報を更新するゴミ箱ファイル編集手段と、を備えたことを特徴とする請求項1に記載の画像ファイル管理装置を提供する。   In order to achieve the above object, the invention according to claim 2 is a complete deletion instruction means for instructing deletion of an image file whose display setting is OFF with respect to a trash box file stored in the storage means. In response to the deletion instruction from the complete deletion instruction means, the image file whose display setting is turned off is deleted from the trash box file, and the display setting information of the trash box file after the image file is deleted is updated. The image file management apparatus according to claim 1, further comprising: a trash box file editing unit.

請求項2に係る発明によれば、完全削除指示手段から完全削除が指示されると、ゴミ箱ファイルに格納されている画像ファイルのうち、表示設定がOFFにされている画像ファイルが、ゴミ箱ファイルから削除される。これにより、ファイルサイズを縮小することができる。   According to the second aspect of the present invention, when complete deletion is instructed by the complete deletion instructing unit, among the image files stored in the trash can file, the image file whose display setting is OFF is selected from the trash can file. Deleted. Thereby, the file size can be reduced.

請求項3に係る発明は、前記目的を達成するために、前記表示手段に表示されたゴミ箱ファイル内の画像ファイルの中から少なくとも1つを選択して、その復元を指示する復元指示手段と、前記復元指示手段で復元が指示された画像ファイルを前記ゴミ箱ファイルから抽出し、復元する画像ファイル復元手段と、前記画像ファイル復元手段で復元された画像ファイルを前記ゴミ箱ファイルから削除するとともに、該画像ファイルが削除された後のゴミ箱ファイルの表示設定情報を更新するゴミ箱ファイル編集手段と、を備えたことを特徴とする請求項1に記載の画像ファイル管理装置を提供する。   In order to achieve the object, the invention according to claim 3 selects at least one of the image files in the trash box file displayed on the display means, and instructs the restoration instruction means to restore it. The image file instructed to be restored by the restoration instructing means is extracted from the trash can file and restored, and the image file restored by the image file restoring means is deleted from the trash can file. 2. The image file management apparatus according to claim 1, further comprising: a trash box file editing unit that updates display setting information of the trash box file after the file is deleted.

請求項3に係る発明によれば、削除した画像ファイル(ゴミ箱ファイルに格納された画像ファイル)を復元することができる。この際、復元する画像ファイルを確認するために、ゴミ箱ファイルの中身を確認する必要があるが、必要な画像ファイルのみが表示手段に表示されるため、簡単に目的の画像ファイルを探し出すことができる。   According to the third aspect of the present invention, it is possible to restore a deleted image file (an image file stored in a trash can file). At this time, in order to confirm the image file to be restored, it is necessary to confirm the contents of the trash can file. However, since only the necessary image file is displayed on the display means, the target image file can be easily found. .

請求項4に係る発明は、前記目的を達成するために、前記記憶手段に記憶されているゴミ箱ファイルに対して、表示設定がOFFにされている画像ファイルの削除を指示する完全削除指示手段と、前記表示手段に表示されたゴミ箱ファイル内の画像ファイルの中から少なくとも1つを選択して、その復元を指示する復元指示手段と、前記復元指示手段で復元が指示された画像ファイルを前記ゴミ箱ファイルから抽出し、復元する画像ファイル復元手段と、前記完全削除指示手段からの削除指示に応じて、前記ゴミ箱ファイルから表示設定がOFFにされている画像ファイルを削除するとともに、前記画像ファイル復元手段で復元された画像ファイルを前記ゴミ箱ファイルから削除し、かつ、該画像ファイルが削除された後のゴミ箱ファイルの表示設定情報を更新するゴミ箱ファイル編集手段と、を備えたことを特徴とする請求項1に記載の画像ファイル管理装置を提供する。   According to a fourth aspect of the present invention, there is provided a complete deletion instruction means for instructing deletion of an image file whose display setting is turned off with respect to a trash file stored in the storage means in order to achieve the object. Selecting at least one of the image files in the trash box file displayed on the display means and instructing to restore the selected image file; and restoring the image file instructed to be restored by the restoration instruction means to the trash An image file restoring unit that extracts and restores from the file, and deletes the image file whose display setting is turned off from the trash box file in response to a deletion instruction from the complete deletion instruction unit, and the image file restoration unit Delete the image file restored in step 2 from the trash file, and the trash file after the image file is deleted. Providing an image file management apparatus according a trash file editing means for updating indicates setting information, further comprising an in claim 1, wherein.

請求項4に係る発明によれば、完全削除指示手段から完全削除が指示されると、ゴミ箱ファイルに格納されている画像ファイルのうち、表示設定がOFFにされている画像ファイルが、ゴミ箱ファイルから削除される。また、復元指示手段で復元を指示すると、削除した画像ファイル(ゴミ箱ファイルに格納された画像ファイル)を復元することができる。   According to the fourth aspect of the present invention, when complete deletion is instructed from the complete deletion instructing unit, among the image files stored in the trash can file, the image file whose display setting is OFF is selected from the trash can file. Deleted. Further, when restoration is instructed by the restoration instruction means, the deleted image file (image file stored in the trash box file) can be restored.

請求項5に係る発明は、前記目的を達成するために、前記記憶手段に記憶されているゴミ箱ファイルの表示/非表示を設定するゴミ箱ファイル表示設定手段を備え、該ゴミ箱ファイル表示設定手段の設定が表示にされている場合、前記画像ファイル表示制御手段は、前記画像ファイル表示指示手段からの表示指示に応じて、前記記憶手段に記憶されている画像ファイルの画像を前記表示手段に表示させるとともに、前記ゴミ箱ファイルに格納されている所定の代表画像を前記表示手段に表示させることを特徴とする請求項1〜4のいずれか一項に記載の画像ファイル管理装置を提供する。   In order to achieve the above object, the invention according to claim 5 includes a trash file display setting means for setting display / non-display of the trash file stored in the storage means, and setting of the trash box file display setting means. Is displayed, the image file display control means causes the display means to display an image of the image file stored in the storage means in response to a display instruction from the image file display instruction means. The image file management apparatus according to claim 1, wherein a predetermined representative image stored in the trash box file is displayed on the display unit.

請求項5に係る発明によれば、通常の画像ファイルと同様にゴミ箱ファイルを表示手段に表示させることができ、かつ、その表示/非表示を任意に設定することができる。そして、表示させる場合は、ゴミ箱ファイルに格納された所定の代表画像が表示手段に表示される。ゴミ箱ファイルを表示させることにより、ゴミ箱ファイルの存在を確認することができる。また、ゴミ箱ファイルを非表示とすることにより、不用意にゴミ箱ファイルが削除されるのを防止できるとともに、画像の閲覧性を向上させることができる。   According to the fifth aspect of the present invention, the trash can file can be displayed on the display means in the same way as a normal image file, and the display / non-display can be arbitrarily set. Then, when displaying, a predetermined representative image stored in the trash box file is displayed on the display means. By displaying the trash file, the existence of the trash file can be confirmed. Further, by hiding the trash box file, it is possible to prevent the trash box file from being inadvertently deleted, and to improve the viewability of the image.

請求項6に係る発明は、前記目的を達成するために、前記代表画像を生成する代表画像生成手段を備え、該代表画像生成手段は、前記ゴミ箱ファイルに格納されている画像ファイルの画像を所定の規則に従って配列した画像を代表画像として生成することを特徴とする請求項5に記載の画像ファイル管理装置を提供する。   In order to achieve the above object, the invention according to claim 6 includes representative image generation means for generating the representative image, and the representative image generation means is configured to store an image of an image file stored in the trash box file in a predetermined manner. The image file management apparatus according to claim 5, wherein an image arranged according to the rule is generated as a representative image.

請求項6に係る発明によれば、ゴミ箱ファイルに格納されている画像ファイルの画像を所定の規則に従って配列した画像が代表画像として生成される。これにより、代表画像を表示させるだけで、ゴミ箱ファイルの中身を確認することができる。   According to the invention of claim 6, an image in which the images of the image file stored in the trash can file are arranged according to a predetermined rule is generated as the representative image. As a result, the contents of the trash box file can be confirmed simply by displaying the representative image.

請求項7に係る発明は、前記目的を達成するために、請求項1〜6のいずれか一項に記載の画像ファイル管理装置を備えたことを特徴とするデジタルカメラを提供する。   According to a seventh aspect of the present invention, there is provided a digital camera comprising the image file management apparatus according to any one of the first to sixth aspects, in order to achieve the object.

請求項7に係る発明によれば、撮影により得られた画像の整理を簡単に行うことができる。   According to the seventh aspect of the present invention, it is possible to easily organize images obtained by photographing.

本発明によれば、削除した画像ファイルを簡単に確認でき、簡単に復元、完全削除することができる。   According to the present invention, a deleted image file can be easily confirmed, and can be easily restored and completely deleted.

以下、添付図面に従って本発明に係る画像ファイル管理装置及びデジタルカメラの好ましい実施の形態について説明する。   Preferred embodiments of an image file management apparatus and a digital camera according to the present invention will be described below with reference to the accompanying drawings.

<デジタルカメラの構成>
図1、図2は、それぞれ本発明が適用されたデジタルカメラの外観構成を示す正面斜視図と背面斜視図である。
<Configuration of digital camera>
1 and 2 are a front perspective view and a rear perspective view, respectively, showing the external configuration of a digital camera to which the present invention is applied.

同図に示すように、このデジタルカメラ10は、いわゆるコンパクトカメラであり、そのカメラボディ(カメラ本体)12は、片手で把持可能な薄い箱状に形成されている。   As shown in the figure, the digital camera 10 is a so-called compact camera, and its camera body (camera body) 12 is formed in a thin box shape that can be held with one hand.

カメラボディ12の正面には、図1に示すように、撮影レンズ14、フラッシュ16、スピーカ18、AF補助光ランプ20等が設けられており、上面には、シャッタボタン22、モードレバー24、電源ボタン26等が設けられている。   As shown in FIG. 1, a photographing lens 14, a flash 16, a speaker 18, an AF auxiliary light lamp 20, and the like are provided on the front surface of the camera body 12, and a shutter button 22, a mode lever 24, a power source are provided on the upper surface. A button 26 and the like are provided.

一方、カメラボディ12の背面には、図2に示すように、モニタ28、ズームボタン30、再生ボタン32、削除ボタン34、十字ボタン36、MENU/OKボタン38、DISP/BACKボタン40等が設けられており、側面には、外部接続端子42が設けられている。   On the other hand, as shown in FIG. 2, a monitor 28, a zoom button 30, a play button 32, a delete button 34, a cross button 36, a MENU / OK button 38, a DISP / BACK button 40, and the like are provided on the back of the camera body 12. The external connection terminal 42 is provided on the side surface.

また、図示されていないが、カメラボディ12の底面には、三脚ネジ穴及び開閉自在なバッテリカバーが設けられており、バッテリカバーの内側には、バッテリを収納するためのバッテリ収納室及びメモリカードを装着するためのメモリカードスロットが設けられている。   Although not shown, a tripod screw hole and an openable / closable battery cover are provided on the bottom surface of the camera body 12, and a battery storage chamber and a memory card for storing the battery are provided inside the battery cover. Is provided with a memory card slot.

撮影レンズ14は、沈胴式のズームレンズで構成されており、デジタルカメラ10の電源をONすると、カメラボディ12から繰り出される。なお、撮影レンズ14のズーム機構や沈胴機構については、公知の技術なので、ここでは、その具体的な構成についての説明は省略する。   The photographic lens 14 is constituted by a retractable zoom lens, and is extended from the camera body 12 when the digital camera 10 is turned on. Since the zoom mechanism and the retracting mechanism of the photographic lens 14 are well-known techniques, a description of their specific configuration is omitted here.

フラッシュ16は、キセノン管で構成されており、暗い被写体を撮影する場合や逆光時などに必要に応じて発光される。   The flash 16 is composed of a xenon tube, and emits light as necessary when photographing a dark subject or in backlight.

AF補助光ランプ20は、たとえば高輝度LED構成されており、AF時に必要に応じて発光される。   The AF auxiliary light lamp 20 is composed of, for example, a high-intensity LED, and emits light as necessary during AF.

シャッタボタン22は、いわゆる「半押し」と「全押し」が可能な二段ストローク式の押下スイッチで構成されている。デジタルカメラ10は、このシャッタボタン22を半押しすると撮影準備処理、すなわち、AE(Automatic Exposure:自動露出)、AF(Auto Focus:自動焦点合わせ)、AWB(Automatic White Balance:自動ホワイトバランス)の各処理を行い、全押すると、画像の撮影・記録処理を行う。   The shutter button 22 is constituted by a two-stage stroke type push switch capable of so-called “half press” and “full press”. When the shutter release button 22 is half-pressed, the digital camera 10 performs shooting preparation processing, that is, each of AE (Automatic Exposure), AF (Auto Focus), and AWB (Automatic White Balance). When the image is processed and fully pressed, the image is captured and recorded.

モードレバー24は、撮影モードの設定に用いられる。このモードレバー24は、シャッタボタン22の周りを回動自在に設けられており、「SP位置」、「AUTO位置」、「M位置」、「動画位置」にセット可能に設けられている。デジタルカメラ10は、このモードレバー24を「SP位置」にセットすることにより、「シーンプログラム撮影モード」に設定され、撮影シーンに応じた露出制御、撮影制御を行うモードに設定される。また、「AUTO位置」にセットすることにより、「オート撮影モード」に設定され、露出制御を全自動で行うモードに設定される。また、「M位置」に設定されることにより、「マニュアル撮影モード」に設定され、露出設定を手動で行うモードに設定される。また、「動画位置」に設定することにより、「動画撮影モード」に設定され、動画を撮影するモードに設定される。   The mode lever 24 is used for setting the shooting mode. The mode lever 24 is provided so as to be rotatable around the shutter button 22 and can be set at the “SP position”, “AUTO position”, “M position”, and “moving picture position”. The digital camera 10 is set to the “scene program shooting mode” by setting the mode lever 24 to the “SP position”, and is set to a mode for performing exposure control and shooting control according to the shooting scene. Also, by setting the “AUTO position”, the “auto shooting mode” is set, and the mode is set to perform the exposure control fully automatically. Also, by setting the “M position”, the “manual shooting mode” is set, and the exposure setting is manually set. Also, by setting the “moving image position”, the “moving image shooting mode” is set, and the moving image shooting mode is set.

なお、「シーンプログラム撮影モード」としては、たとえば、人物撮影を行う「人物撮影モード」、風景撮影を行う「風景撮影モード」、スポーツ撮影を行う「スポーツ撮影モード」、夜景撮影を行う「夜景撮影モード」、水中撮影を行う「水中撮影モード」等が用意されており、メニュー画面で設定可能にされている。   As the “scene program shooting mode”, for example, a “person shooting mode” for shooting a person, a “landscape shooting mode” for shooting a landscape, a “sport shooting mode” for shooting a sport, or a “night scene shooting” for shooting a night scene. "Mode", "Underwater shooting mode" for underwater shooting, etc. are prepared and can be set on the menu screen.

電源ボタン26は、デジタルカメラ10の電源をON/OFFするのに用いられ、所定時間(たとえば、2秒)押下されることにより、デジタルカメラ10の電源が、ON/OFFされる。   The power button 26 is used to turn on / off the power of the digital camera 10 and is turned on / off when pressed for a predetermined time (for example, 2 seconds).

モニタ28は、カラーLCDで構成されている。このモニタ28は、撮影済み画像の再生表示に利用されるとともに、各種設定時にGUIとして利用される。また、撮影時には、撮像素子で捉えた画像がスルー表示されて、電子ファインダとしても利用される。   The monitor 28 is composed of a color LCD. The monitor 28 is used for reproducing and displaying captured images, and is used as a GUI during various settings. At the time of shooting, an image captured by the image sensor is displayed through and used as an electronic viewfinder.

ズームボタン30は、撮影レンズ14及び再生画像のズーム指示に用いられ、望遠側及び拡大側へのズームを指示するズームテレボタンと、広角側及び縮小側へのズームを指示するズームワイドボタンとで構成されている。   The zoom button 30 is used to instruct the zoom of the photographing lens 14 and the reproduced image, and includes a zoom tele button for instructing zooming to the telephoto side and the enlargement side, and a zoom wide button for instructing zooming to the wide angle side and the reduction side. It is configured.

再生ボタン32は、再生モードへの切り替え指示に用いられる。すなわち、デジタルカメラ10は、撮影中、この再生ボタン32が押されると、再生モードに切り替えられる。また、電源OFFの状態でこの再生ボタン32が押されると、再生モードの状態でデジタルカメラ10が起動する。   The playback button 32 is used for an instruction to switch to the playback mode. That is, the digital camera 10 is switched to the playback mode when the playback button 32 is pressed during shooting. When the playback button 32 is pressed while the power is off, the digital camera 10 is activated in the playback mode.

削除ボタン34は、再生中の画像に対する削除指示に用いられる。すなわち、画像再生中に、この削除ボタン34が押されると、モニタ28に再生表示されている画像に対して削除指示が行われる。この削除ボタン34が押されると、モニタ28上に削除の実行を確認するメッセージが表示され、実行が指示(MENU/OKボタンの押下)された後、対象画像の画像ファイルがメモリカード152から削除される。   The delete button 34 is used for an instruction to delete an image being reproduced. That is, when the delete button 34 is pressed during image reproduction, an instruction to delete the image reproduced and displayed on the monitor 28 is issued. When the delete button 34 is pressed, a message confirming execution of the deletion is displayed on the monitor 28. After execution is instructed (pressing the MENU / OK button), the image file of the target image is deleted from the memory card 152. Is done.

なお、この画像ファイルは、見かけ上、メモリカード152からは削除されるが、所定のゴミ箱ファイルに格納されて、必要に応じて復元される。この点については、後に詳述する。   Although this image file is apparently deleted from the memory card 152, it is stored in a predetermined trash box file and restored as necessary. This will be described in detail later.

十字ボタン36は、上下左右4方向に押圧操作可能に設けられており、各方向には、カメラの設定状態に応じた機能が割り当てられる。   The cross button 36 is provided so that it can be pressed in four directions, up, down, left, and right, and a function corresponding to the setting state of the camera is assigned to each direction.

たとえば、撮影時には、左ボタンにマクロ機能のON/OFFを切り替える機能が割り当てられ、右ボタンにフラッシュモードを切り替える機能が割り当てられる。また、上ボタンにモニタ28の明るさを替える機能が割り当てられ、下ボタンにセルフタイマのON/OFFを切り替える機能が割り当てられる。   For example, at the time of shooting, a function for switching the macro function ON / OFF is assigned to the left button, and a function for switching the flash mode is assigned to the right button. In addition, a function for changing the brightness of the monitor 28 is assigned to the upper button, and a function for switching ON / OFF of the self-timer is assigned to the lower button.

また、再生時には、左ボタンにコマ送りの機能が割り当てられ、右ボタンにコマ戻しの機能が割り当てられる。   Further, during playback, a frame advance function is assigned to the left button, and a frame return function is assigned to the right button.

また、各種設定時には、モニタ28に表示されたカーソルを各ボタンの方向に移動させる機能が割り当てられる。   In various settings, a function for moving the cursor displayed on the monitor 28 in the direction of each button is assigned.

なお、本実施の形態のデジタルカメラ10において、フラッシュモードには、オート発光モード(撮影シーンに応じて自動的にフラッシュが発光される)と、強制発光モード(強制的にフラッシュが発光される)と、発光禁止モード(発光が禁止される)と、スローシンクロモード(スローシャッタ撮影が行われる)、赤目軽減発光モード(赤目軽減処理が行われる)、二枚撮りモード(1回の記録指示(シャッタボタンの全押し)でフラッシュON画像とフラッシュOFF画像の二枚の画像を撮影する)が用意されており、十字ボタン36の右ボタンを押すたびに順次モードが切り替わるようにされている。   In the digital camera 10 of the present embodiment, the flash mode includes an auto flash mode (the flash is automatically emitted according to the shooting scene) and a forced flash mode (the flash is forcibly emitted). Flash emission mode (flash emission is prohibited), slow sync mode (slow shutter shooting is performed), red-eye reduction flash mode (red-eye reduction processing is performed), double-shoot mode (single recording instruction ( Two images, a flash ON image and a flash OFF image) are prepared by fully pressing the shutter button), and the mode is switched sequentially each time the right button of the cross button 36 is pressed.

MENU/OKボタン38は、メニュー画面の呼び出し(MENU機能)に用いられるとともに、選択内容の確定、処理の実行指示等(OK機能)に用いられ、デジタルカメラ10の設定状態に応じて割り当てられる機能が切り替えられる。   The MENU / OK button 38 is used to call a menu screen (MENU function), and is used to confirm selection contents, execute a process, etc. (OK function), and is assigned according to the setting state of the digital camera 10. Is switched.

なお、メニュー画面では、たとえば、画像サイズ(記録画素数)の設定、感度の設定、記録方式(圧縮/RAW画像データ記録)の設定、ホワイトバランスの設定、測光方式の設定、AF方式の設定、セルフタイマの設定、デジタルズーム機能の設定、連写機能の設定、DPOFの設定等、デジタルカメラ10が有する各種機能の設定が行われる。   On the menu screen, for example, image size (recording pixel number) setting, sensitivity setting, recording method (compression / RAW image data recording) setting, white balance setting, photometry method setting, AF method setting, Various functions of the digital camera 10 such as a self-timer setting, a digital zoom function setting, a continuous shooting function setting, and a DPOF setting are set.

DISP/BACKボタン40は、モニタ28の表示内容の切り替え指示(DISP機能)に用いられるとともに、入力操作のキャンセル等の指示(BACK機能)に用いられ、デジタルカメラ10の設定状態に応じて割り当てられる機能が切り替えられる。   The DISP / BACK button 40 is used for a display content switching instruction (DISP function) of the monitor 28 and an instruction for canceling an input operation (BACK function), and is assigned according to the setting state of the digital camera 10. The function is switched.

外部接続端子42は、パソコンやプリンタ等の外部機器にカメラを接続するための通信インタフェイスである(たとえば、USB、IEEE1394等)。デジタルカメラ10は、この外部接続端子42に専用のケーブルを接続して、パソコン等の外部機器に接続することができる。   The external connection terminal 42 is a communication interface for connecting the camera to an external device such as a personal computer or a printer (for example, USB, IEEE 1394, etc.). The digital camera 10 can be connected to an external device such as a personal computer by connecting a dedicated cable to the external connection terminal 42.

図3は、本実施の形態のデジタルカメラ10の電気的構成を示すブロック図である。   FIG. 3 is a block diagram showing an electrical configuration of the digital camera 10 of the present embodiment.

同図に示すように、デジタルカメラ10は、CPU110、操作部(シャッタボタン22、モードレバー24、電源ボタン26、ズームボタン30、再生ボタン32、削除ボタン34、十字ボタン36、MENU/OKボタン38、DISP/BACKボタン40等)112、ROM116、フラッシュROM118、メモリ(SDRAM)120、VRAM122、撮影レンズ14、ズーム制御部124、絞り・シャッタ制御部126、フォーカス制御部128、撮像素子134、撮像素子制御部136、アナログ信号処理部138、A/D変換器140、デジタル信号処理部142、AF検出部144、AE/AWB検出部146、圧縮伸張処理部148、メディアコントローラ150、メモリカード(記憶メディア)152、表示制御部154、OSD(On−Screen Display)部156、モニタ28、フラッシュ制御部158、フラッシュ16、通信制御部160、通信インタフェイス162等を備えて構成されている。   As shown in the figure, the digital camera 10 includes a CPU 110, an operation unit (shutter button 22, mode lever 24, power button 26, zoom button 30, play button 32, delete button 34, cross button 36, MENU / OK button 38. , DISP / BACK button 40, etc.) 112, ROM 116, flash ROM 118, memory (SDRAM) 120, VRAM 122, photographing lens 14, zoom control unit 124, aperture / shutter control unit 126, focus control unit 128, image sensor 134, image sensor Control unit 136, analog signal processing unit 138, A / D converter 140, digital signal processing unit 142, AF detection unit 144, AE / AWB detection unit 146, compression / decompression processing unit 148, media controller 150, memory card (storage medium) 152, display control 154, OSD (On-Screen Display) unit 156, a monitor 28, a flash control unit 158, a flash 16, a communication control unit 160, is configured to include a communication interface 162 or the like.

CPU110は、デジタルカメラ10の全体の動作を統括制御する制御手段として機能し、操作部112からの入力に基づき所定の制御プログラムに従って各部を制御する。   The CPU 110 functions as a control unit that performs overall control of the overall operation of the digital camera 10, and controls each unit according to a predetermined control program based on an input from the operation unit 112.

バス114を介して接続されたROM116には、このCPU110が実行する制御プログラム及び制御に必要な各種データ等が格納される。また、フラッシュROM118には、ユーザ設定情報等のデジタルカメラ10の動作に関する各種設定情報や画像ファイル等が格納される。すなわち、このフラッシュROM118は、内部メモリとしても機能し、画像ファイルの保存先として指定された場合、このフラッシュROM118に撮影により得られた画像ファイルが格納される。   The ROM 116 connected via the bus 114 stores a control program executed by the CPU 110 and various data necessary for control. The flash ROM 118 stores various setting information related to the operation of the digital camera 10 such as user setting information, an image file, and the like. That is, the flash ROM 118 also functions as an internal memory. When the flash ROM 118 is designated as an image file storage destination, the image file obtained by photographing is stored in the flash ROM 118.

メモリ(SDRAM)120は、CPU110の演算作業用領域として利用されるとともに、画像データの一時記憶領域として利用され、VRAM122は、表示用の画像データ専用の一時記憶領域として利用される。   The memory (SDRAM) 120 is used as a calculation work area for the CPU 110 and is also used as a temporary storage area for image data, and the VRAM 122 is used as a temporary storage area dedicated to image data for display.

撮影レンズ14は、ズームレンズ14Z、絞り・シャッタユニット14I、フォーカスレンズ14F等を含んで構成されている。   The taking lens 14 includes a zoom lens 14Z, an aperture / shutter unit 14I, a focus lens 14F, and the like.

ズームレンズ14Zは、図示しないズームレンズアクチュエータに駆動されて光軸に沿って前後移動する。これにより、撮影レンズ14の焦点距離が可変する。CPU110は、ズーム制御部124を介してズームレンズアクチュエータの駆動を制御することにより、ズームレンズ14Zの移動を制御し、ズーミングを行う。   The zoom lens 14Z is driven by a zoom lens actuator (not shown) and moves back and forth along the optical axis. As a result, the focal length of the photographic lens 14 varies. The CPU 110 controls the movement of the zoom lens 14Z by controlling the driving of the zoom lens actuator via the zoom control unit 124, and performs zooming.

フォーカスレンズ14Fは、図示しないフォーカスレンズアクチュエータに駆動されて光軸に沿って前後移動する。これにより、撮影レンズ14の結像位置が変化する。CPU110は、フォーカス制御部128を介してフォーカスレンズアクチュエータの駆動を制御することにより、フォーカスレンズ14Fの移動を制御し、フォーカシングを行う。   The focus lens 14F is driven by a focus lens actuator (not shown) and moves back and forth along the optical axis. Thereby, the imaging position of the photographic lens 14 changes. The CPU 110 controls the movement of the focus lens 14 </ b> F by controlling the drive of the focus lens actuator via the focus control unit 128 and performs focusing.

絞り・シャッタユニット14Iは、図示しない絞りとメカシャッタを備えている。絞りは、絞り・シャッタユニット14Iに内蔵された図示しない絞りアクチュエータに駆動されて動作し、これにより、撮像素子134への入射光量が調整される。CPU110は、絞り・シャッタ制御部126を介して絞りアクチュエータの駆動を制御することにより、絞りの動作を制御し、撮像素子134への入射光量(絞り値)を制御する。メカシャッタは、絞り・シャッタユニット14Iに内蔵された図示しないシャッタアクチュエータに駆動されて動作し、これにより、撮像素子134の露光/遮光が行われる。CPU110は、絞り・シャッタ制御部126を介してシャッタアクチュエータの駆動を制御することにより、メカシャッタの動作を制御し、撮像素子134の露光/遮光を制御する。   The aperture / shutter unit 14I includes an aperture and a mechanical shutter (not shown). The diaphragm operates by being driven by a diaphragm actuator (not shown) built in the diaphragm / shutter unit 14I, and thereby the amount of light incident on the image sensor 134 is adjusted. The CPU 110 controls the operation of the diaphragm by controlling the driving of the diaphragm actuator via the diaphragm / shutter controller 126, and controls the amount of light incident on the image sensor 134 (aperture value). The mechanical shutter operates by being driven by a shutter actuator (not shown) built in the aperture / shutter unit 14I, whereby the image sensor 134 is exposed / light-shielded. The CPU 110 controls the operation of the mechanical shutter by controlling the driving of the shutter actuator via the aperture / shutter controller 126, and controls the exposure / light shielding of the image sensor 134.

撮像素子134は、所定のカラーフィルタ配列のカラーCCDやカラーCMOSセンサ等で構成される(本例では、カラーCCD(たとえば、ベイヤ配列))。CPU110は、撮像素子制御部136を介して撮像素子134を駆動し、撮影レンズ14を通して撮像した被写体画像を画像信号として出力させる。   The image sensor 134 is configured by a color CCD or color CMOS sensor having a predetermined color filter array (in this example, a color CCD (for example, Bayer array)). The CPU 110 drives the image sensor 134 via the image sensor control unit 136 and outputs a subject image captured through the photographing lens 14 as an image signal.

アナログ信号処理部138は、撮像素子134から出力される画像信号を相関二重サンプリング処理するとともに増幅する。   The analog signal processing unit 138 performs correlated double sampling processing and amplifies the image signal output from the image sensor 134.

A/D変換器140は、アナログ信号処理部138から出力されたアナログの画像信号をデジタルの画像信号に変換する。   The A / D converter 140 converts the analog image signal output from the analog signal processing unit 138 into a digital image signal.

デジタル信号処理部142は、CPU110からの指令に従い、A/D変換器140から出力される画像信号を取り込み、所定の信号処理を施して輝度信号Yと色差信号Cr、CbとからなるY/Cの画像信号を生成する。また、CPU110からの指令に従い、Y/Cの画像信号に色調補正処理、階調補正処理等の各種画像処理を施す。   The digital signal processing unit 142 takes in an image signal output from the A / D converter 140 in accordance with a command from the CPU 110, performs predetermined signal processing, and performs Y / C consisting of a luminance signal Y and color difference signals Cr and Cb. The image signal is generated. Further, in accordance with a command from the CPU 110, various image processing such as color tone correction processing and gradation correction processing is performed on the Y / C image signal.

AF検出部144は、A/D変換器140から出力されるR、G、Bの各色の画像信号を取り込み、AF制御に必要な焦点評価値を算出する。このAF検出部144は、G信号の高周波成分のみを通過させるハイパスフィルタ、絶対値化処理部、画面に設定された所定のフォーカスエリア内の信号を切り出すフォーカスエリア抽出部、及び、フォーカスエリア内の絶対値データを積算する積算部を含み、この積算部で積算されたフォーカスエリア内の絶対値データを焦点評価値としてCPU110に出力する。   The AF detection unit 144 captures R, G, and B color image signals output from the A / D converter 140 and calculates a focus evaluation value necessary for AF control. The AF detection unit 144 includes a high-pass filter that allows only a high-frequency component of the G signal to pass, an absolute value processing unit, a focus area extraction unit that extracts a signal within a predetermined focus area set on the screen, and a focus area An integration unit for integrating the absolute value data is included, and the absolute value data in the focus area integrated by the integration unit is output to the CPU 110 as a focus evaluation value.

CPU110は、AF制御時、このAF検出部144から出力される焦点評価値が極大となる位置をサーチし、その位置にフォーカスレンズ14Fを移動させることにより、主要被写体への焦点合わせを行う。すなわち、CPU110は、AF制御時、まず、フォーカスレンズ14Fを至近から無限遠まで移動させ、その移動過程で一定間隔おきに逐次AF検出部144から焦点評価値を取得する。そして、その焦点評価値が極大となる位置を検出し、検出された焦点評価値が極大の位置を合焦位置と判定して、その位置にフォーカスレンズ14Fを移動させる。これにより、フォーカスエリアに位置する被写体(主要被写体)に撮影レンズ14の焦点が合わせられる。   During the AF control, the CPU 110 searches for a position where the focus evaluation value output from the AF detection unit 144 is maximized, and moves the focus lens 14F to that position, thereby performing focusing on the main subject. That is, during the AF control, the CPU 110 first moves the focus lens 14F from the closest distance to infinity, and sequentially acquires the focus evaluation value from the AF detector 144 at regular intervals during the movement process. Then, the position where the focus evaluation value is maximized is detected, the position where the detected focus evaluation value is maximized is determined as the in-focus position, and the focus lens 14F is moved to that position. As a result, the photographing lens 14 is focused on the subject (main subject) located in the focus area.

なお、焦点評価値が極大の位置が検出されない場合(たとえば、低コントラスト時)、CPU110は、AFエラーと判定し、所定の警告を行う(たとえば、モニタ28へのエラーメッセージの表示)。   If the position at which the focus evaluation value is maximum is not detected (for example, at low contrast), the CPU 110 determines that an AF error has occurred and issues a predetermined warning (for example, displaying an error message on the monitor 28).

AE/AWB検出部146は、A/D変換器140から出力されるR、G、Bの各色の画像信号を取り込み、AE制御及びAWB制御に必要な積算値を算出する。すなわち、このAE/AWB検出部146は、一画面を複数のエリア(たとえば、8×8=64エリア)に分割し、分割されたエリアごとにR、G、B信号の積算値を算出する。   The AE / AWB detection unit 146 takes in the image signals of R, G, and B colors output from the A / D converter 140 and calculates integrated values necessary for AE control and AWB control. That is, the AE / AWB detection unit 146 divides one screen into a plurality of areas (for example, 8 × 8 = 64 areas), and calculates an integrated value of R, G, and B signals for each divided area.

CPU110は、AE制御時、このAE/AWB検出部146で算出されたエリアごとのR、G、B信号の積算値を取得し、被写体の明るさ(測光値)を求めて、適正な露光量を得るための露出設定を行う。すなわち、感度、絞り値、シャッタスピード、フラッシュ発光の要否を設定する。   At the time of AE control, the CPU 110 acquires an integrated value of R, G, B signals for each area calculated by the AE / AWB detection unit 146, obtains the brightness (photometric value) of the subject, and obtains an appropriate exposure amount. Set the exposure to obtain That is, sensitivity, aperture value, shutter speed, and necessity of flash emission are set.

また、CPU110は、AWB制御時、AE/AWB検出部146で算出されたエリアごとのR、G、B信号の積算値をデジタル信号処理部142に加える。デジタル信号処理部142は、得られた積算値に基づいてホワイトバランス調整用のゲイン値を算出するとともに、光源種を検出する。   In addition, the CPU 110 adds the integrated values of R, G, and B signals for each area calculated by the AE / AWB detection unit 146 to the digital signal processing unit 142 during AWB control. The digital signal processing unit 142 calculates a gain value for white balance adjustment based on the obtained integrated value, and detects a light source type.

圧縮伸張処理部148は、CPU110からの指令に従い、入力された画像データに所定形式(たとえば、JPEG形式)の圧縮処理を施し、圧縮画像データを生成する。また、CPU110からの指令に従い、入力された圧縮画像データに所定形式の伸張処理を施し、非圧縮のY/Cの画像データを生成する。   The compression / decompression processing unit 148 performs compression processing in a predetermined format (for example, JPEG format) on the input image data in accordance with a command from the CPU 110 to generate compressed image data. Further, in accordance with a command from the CPU 110, the input compressed image data is subjected to a decompression process in a predetermined format to generate uncompressed Y / C image data.

なお、撮影された画像をRAW画像データとして記録することもできる。この場合、圧縮処理は行われずに、A/D変換後の画像データが、所定のファイル形式でそのままメモリカード152に記録される。   Note that the photographed image can also be recorded as RAW image data. In this case, the compression processing is not performed, and the image data after A / D conversion is recorded in the memory card 152 as it is in a predetermined file format.

メディアコントローラ150は、CPU110からの指令に従い、メモリカード152に対してデータの読み/書きを制御する。メモリカード152は、上記のようにカメラ本体に設けられたメディアスロットに着脱自在に装填される。   The media controller 150 controls reading / writing of data with respect to the memory card 152 in accordance with a command from the CPU 110. The memory card 152 is detachably loaded into the media slot provided in the camera body as described above.

表示制御部154は、CPU110からの指令に従い、モニタ28への表示を制御する。すなわち、CPU110からの指令に従い、入力された画像信号をモニタ28に表示するための信号形式に変換してモニタ28に出力する。また、CPU110からの指令に従い、OSD部156から加えられる文字、図形、記号等のOSD信号を画像信号に混合して、モニタ28に出力する。   The display control unit 154 controls display on the monitor 28 in accordance with a command from the CPU 110. That is, in accordance with a command from the CPU 110, the input image signal is converted into a signal format for display on the monitor 28 and output to the monitor 28. Further, in accordance with a command from the CPU 110, an OSD signal such as a character, a figure, or a symbol added from the OSD unit 156 is mixed with an image signal and output to the monitor 28.

OSD部156は、キャラクタジェネレータを含み、CPU110からの指令に従い、モニタ28に表示する文字(警告メッセージや撮影情報(絞り、感度、シャッタ速度等)、撮影日時、撮影可能枚数、ファイル名等)、図形(顔検出枠、撮影補助線)、記号(フォーカスフレーム、電池残量マーク等)等の信号(OSD信号)を生成する。OSD部156で生成されたOSD信号は、表示制御部154に出力され、画像信号に混合されて液晶モニタ28に出力される。これにより、撮影画像や再生画像に文字情報等が重ねて表示される。   The OSD unit 156 includes a character generator, and displays characters (warning messages, shooting information (aperture, sensitivity, shutter speed, etc.), shooting date / time, number of shots, file name, etc.) displayed on the monitor 28 in accordance with a command from the CPU 110. A signal (OSD signal) such as a figure (face detection frame, auxiliary shooting line), a symbol (focus frame, remaining battery level mark, etc.) is generated. The OSD signal generated by the OSD unit 156 is output to the display control unit 154, mixed with the image signal, and output to the liquid crystal monitor 28. As a result, character information and the like are superimposed on the captured image and the reproduced image.

フラッシュ制御部158は、CPU110からの指令に従い、フラッシュ16の発光を制御する。   The flash control unit 158 controls light emission of the flash 16 in accordance with a command from the CPU 110.

通信制御部160は、CPU110からの指令に従い、通信インタフェイス162を介して接続された外部機器との間の通信を制御する。なお、本デジタルカメラ10は、通信インタフェイス162を介してパソコンに接続されると、ストレージデバイスとして認識され、メモリカード152に格納されたデータの送受信が可能になる。   The communication control unit 160 controls communication with an external device connected via the communication interface 162 in accordance with a command from the CPU 110. Note that when the digital camera 10 is connected to a personal computer via the communication interface 162, the digital camera 10 is recognized as a storage device, and data stored in the memory card 152 can be transmitted and received.

次に、以上のように構成された本実施の形態のデジタルカメラ10による処理動作について説明する。   Next, the processing operation by the digital camera 10 of the present embodiment configured as described above will be described.

まず、基本的な撮影、再生の処理動作について説明する。   First, basic photographing and reproduction processing operations will be described.

撮影はデジタルカメラ10のモードを撮影モードに設定することにより行われる。撮影モードの設定は、電源OFFの状態で電源ボタン26を押圧操作することにより、あるいは、再生モードの状態でシャッタボタン22を押圧操作することにより行われる。   Shooting is performed by setting the mode of the digital camera 10 to the shooting mode. The shooting mode is set by pressing the power button 26 while the power is off, or by pressing the shutter button 22 when the playback mode is set.

デジタルカメラ10のモードが撮影モードに設定されると、まず、撮像素子134で捉えた画像がモニタ28にスルー表示される。すなわち、撮像素子134で連続的に画像が撮像され、その画像が連続的に処理されて、スルー画像用の画像データが生成される。生成された画像データは、VRAM122を介して順次表示制御部154に加えられ、表示用の信号形式に変換されて、モニタ28に出力される。これにより、撮像素子134で捉えた画像がモニタ28にスルー表示される。撮影者は、このモニタ28に表示されたスルー画像を見て構図を決定し、シャッタボタン22を半押しする。   When the mode of the digital camera 10 is set to the shooting mode, first, an image captured by the image sensor 134 is displayed through on the monitor 28. That is, images are continuously picked up by the image pickup device 134, and the images are continuously processed to generate image data for through images. The generated image data is sequentially added to the display control unit 154 via the VRAM 122, converted into a display signal format, and output to the monitor 28. As a result, the image captured by the image sensor 134 is displayed through on the monitor 28. The photographer determines the composition by looking at the through image displayed on the monitor 28 and presses the shutter button 22 halfway.

シャッタボタン22が半押しされると、CPU110にS1ON信号が入力される。CPU110は、このS1ON信号の入力に応動して、撮影準備処理、すなわちAE、AF、AWBの各処理を実行する。   When the shutter button 22 is half-pressed, an S1 ON signal is input to the CPU 110. In response to the input of the S1 ON signal, the CPU 110 executes shooting preparation processing, that is, AE, AF, and AWB processing.

まず、撮像素子134から出力された画像信号をアナログ信号処理部138、A/D変換器140を介してAE/AWB検出部146及びAF検出部144に加える。   First, the image signal output from the image sensor 134 is added to the AE / AWB detection unit 146 and the AF detection unit 144 via the analog signal processing unit 138 and the A / D converter 140.

AE/AWB検出部146は、入力された画像信号からAE制御及びAWB制御に必要な積算値を算出し、CPU110に出力する。CPU110は、このAE/AWB検出部146から得られた積算値に基づき被写体輝度を算出し、適正露出を得るための感度、絞り値、シャッタスピード等を決定する。また、ホワイトバランス補正のためにAE/AWB検出部146から得られた積算値をデジタル信号処理部142に加える。   The AE / AWB detection unit 146 calculates an integrated value necessary for AE control and AWB control from the input image signal, and outputs the integrated value to the CPU 110. The CPU 110 calculates subject brightness based on the integrated value obtained from the AE / AWB detection unit 146, and determines sensitivity, aperture value, shutter speed, and the like for obtaining proper exposure. The integrated value obtained from the AE / AWB detection unit 146 is added to the digital signal processing unit 142 for white balance correction.

また、AF検出部144は、入力された画像信号からAF制御に必要な積算値を算出し、CPU110に出力する。CPU110は、このAF検出部144からの出力に基づきフォーカス制御部128介してフォーカスレンズ14Fの移動を制御し、撮影レンズ14の焦点を主要被写体に合わせる。   In addition, the AF detection unit 144 calculates an integrated value necessary for AF control from the input image signal and outputs it to the CPU 110. The CPU 110 controls the movement of the focus lens 14F via the focus control unit 128 based on the output from the AF detection unit 144, and focuses the photographing lens 14 on the main subject.

撮影者は、モニタ28に表示されるスルー画像を見てピント状態等を確認し、撮影実行を指示する。すなわち、シャッタボタン22を全押しする。   The photographer looks at the through image displayed on the monitor 28, confirms the focus state and the like, and instructs the execution of photographing. That is, the shutter button 22 is fully pressed.

シャッタボタン22が全押しされると、CPU110にS2ON信号が入力される。CPU110は、このS2ON信号に応動して、本撮影の処理を実行する。   When the shutter button 22 is fully pressed, an S2 ON signal is input to the CPU 110. In response to the S2 ON signal, the CPU 110 executes the main photographing process.

まず、上記AE制御の結果求めた感度、絞り値、シャッタスピードで撮像素子134を露光し、記録用の画像を撮像する。   First, the image sensor 134 is exposed with the sensitivity, aperture value, and shutter speed obtained as a result of the AE control, and a recording image is captured.

撮像素子134から出力された記録用の画像信号は、アナログ信号処理部138、A/D変換器140を介してデジタル信号処理部142に加えられる。デジタル信号処理部142は、入力された画像信号に所定の信号処理を施して、輝度データYと色差データCr、Cbとからなる画像データ(Y/Cデータ)を生成する。   The recording image signal output from the image sensor 134 is added to the digital signal processing unit 142 via the analog signal processing unit 138 and the A / D converter 140. The digital signal processing unit 142 performs predetermined signal processing on the input image signal to generate image data (Y / C data) composed of luminance data Y and color difference data Cr and Cb.

生成された画像データは、圧縮伸張処理部148に加えられ、所定の圧縮処理が施されたのち、メモリ120に格納される。CPU110は、このメモリ120に格納された圧縮画像データに撮影に関する所定の情報を付加し、所定フォーマット(本実施の形態のデジタルカメラではExif)の画像ファイルとして、メディアコントローラ150を介してメモリカード152に記録する。   The generated image data is added to the compression / decompression processing unit 148, subjected to predetermined compression processing, and then stored in the memory 120. The CPU 110 adds predetermined information regarding photographing to the compressed image data stored in the memory 120, and forms an image file of a predetermined format (Exif in the digital camera of the present embodiment) via the media controller 150 as a memory card 152. To record.

図4に示すように、Exif規格の画像ファイルは、ファイルのヘッダ部分に画像の付属情報をタグ形式で記録できるようにされており、その付属情報タグには、バージョンに関する情報や画像データの特性に関する情報、構造に関する情報、ユーザ情報、関連ファイル情報、日時に関する情報、撮影条件に関する情報、IFDへのポインタに関する情報等の撮影した画像に関する撮影データがタグ形式で記録できるようにされている。   As shown in FIG. 4, an Exif-standard image file is configured such that image auxiliary information can be recorded in a tag format in the header portion of the file. The auxiliary information tag includes information about the version and characteristics of image data. The shooting data related to the shot image such as the information related to the structure, the information related to the structure, the user information, the related file information, the information related to the date and time, the information related to the shooting condition, and the information related to the pointer to the IFD can be recorded in the tag format.

また、撮影条件に関するタグには、撮影時の露出時間やFナンバー、露出プログラム、スペクトル感度、ISOスピードレート、光電変換関数、シャッタスピード、絞り値、輝度値、露出補正値、レンズ最小F値、被写体距離、測光方式、光源、フラッシュ、レンズ焦点距離、フラッシュ強度、空間周波数応答、焦点面の幅の解像度、焦点面の高さの解像度、焦点面解像度単位、被写体位置、露出インデックス、センサ方式、ファイルソース、シーンタイプ、CFAパターン等が記録できるようにされている。   Also, tags relating to shooting conditions include exposure time and F number at the time of shooting, exposure program, spectral sensitivity, ISO speed rate, photoelectric conversion function, shutter speed, aperture value, brightness value, exposure correction value, lens minimum F value, subject Distance, metering method, light source, flash, lens focal length, flash intensity, spatial frequency response, focal plane width resolution, focal plane height resolution, focal plane resolution unit, subject position, exposure index, sensor method, file The source, scene type, CFA pattern, etc. can be recorded.

また、ユーザ情報に関するタグには、メーカーノート、ユーザコメントが記録できるようにされており、このメーカーノート、ユーザコメントにカメラやユーザ固有の各種情報を記録できるようにされている。   In addition, a maker note and a user comment can be recorded in a tag relating to user information, and various information unique to the camera and the user can be recorded in the maker note and the user comment.

また、Exif規格の画像ファイルは、ファイルのヘッダ部分にサムネイル画像(主画像の縮小画像)を記録できるようにされており、このサムネイル画像を利用することにより、モニタへの高速表示が可能にされている。   Further, an Exif standard image file can record a thumbnail image (a reduced image of the main image) in the header portion of the file. By using this thumbnail image, high-speed display on a monitor is possible. ing.

さらに、Exif規格の画像ファイルは、データの先端にSOIマーカ(Start Of Image)が記録されるとともに、終端にEOIマーカ(End Of Image)が記録され、ファイルの始まりと終わりを認識できるようにされている。   Furthermore, an Exif standard image file has an SOI marker (Start Of Image) recorded at the top of the data and an EOI marker (End Of Image) recorded at the end so that the beginning and end of the file can be recognized. ing.

撮影された画像データは、これらの付属情報が付された画像ファイル(Exifファイル)としてメモリカード152に記録される。   The captured image data is recorded on the memory card 152 as an image file (Exif file) with the attached information.

なお、記録形式としてRAW画像データ記録が選択されている場合は、A/D変換後の画像データ(RAW画像データ)が、所定フォーマットの画像ファイル(RAW画像ファイル)としてメモリカード152に記録される。このRAW画像ファイルも、そのヘッダ部分に撮影に関する所定の情報がタグ形式で付加されて記録される。   When RAW image data recording is selected as the recording format, the image data (RAW image data) after A / D conversion is recorded in the memory card 152 as an image file (RAW image file) in a predetermined format. . This RAW image file is also recorded by adding predetermined information related to photographing to the header portion in a tag format.

また、画像ファイルは、所定のカメラファイルシステム規格(本例では、DCF規格(Design rule for Camera File system規格))に従ってメモリカード152に記録される。   The image file is recorded on the memory card 152 in accordance with a predetermined camera file system standard (in this example, the DCF standard (Design rule for Camera File system standard)).

以上のようにしてメモリカード152に記録された画像は、デジタルカメラ10のモードを再生モードに設定することにより、モニタ28に再生表示される。すなわち、再生ボタン32を押圧操作し、デジタルカメラ10のモードが、再生モードに設定されると、CPU110は、メディアコントローラ150を介してメモリカード152に最後に記録された画像ファイルの圧縮画像データを読み出す。   The image recorded on the memory card 152 as described above is reproduced and displayed on the monitor 28 by setting the mode of the digital camera 10 to the reproduction mode. That is, when the playback button 32 is pressed and the mode of the digital camera 10 is set to the playback mode, the CPU 110 stores the compressed image data of the image file last recorded on the memory card 152 via the media controller 150. read out.

メモリカード152から読み出された圧縮画像データは、圧縮伸張処理部148に加えられ、非圧縮の画像データとされたのちVRAM122に加えられる。そして、VRAM122から表示制御部154を介してモニタ28に出力される。これにより、メモリカード152に記録されている画像が、モニタ28に再生表示される。   The compressed image data read from the memory card 152 is added to the compression / decompression processing unit 148, converted into non-compressed image data, and then added to the VRAM 122. Then, the data is output from the VRAM 122 to the monitor 28 via the display control unit 154. As a result, the image recorded on the memory card 152 is reproduced and displayed on the monitor 28.

画像のコマ送りは、十字ボタン36の右キー及び左キーにて行われ、右キーが押圧操作されると、次の画像がメモリカード152から読み出され、モニタ28に再生表示される。また、左キーが押圧操作されると、1つ前の画像がメモリカード152から読み出され、モニタ28に再生表示される。   The frame advance of the image is performed by the right key and the left key of the cross button 36. When the right key is pressed, the next image is read from the memory card 152 and reproduced and displayed on the monitor 28. When the left key is pressed, the previous image is read from the memory card 152 and reproduced and displayed on the monitor 28.

なお、RAW画像ファイルの場合は、デジタル信号処理部142で所定の信号処理が施されて、モニタ28に再生表示される。   In the case of a RAW image file, the digital signal processing unit 142 performs predetermined signal processing and reproduces and displays it on the monitor 28.

以上のように、本実施の形態のデジタルカメラ10は、カメラのモードを撮影モードに設定し、シャッタボタン22を全押しすることにより、画像の記録が行われる。そして、記録された画像は、カメラのモードを再生モードに設定することにより、モニタ28に再生表示される。   As described above, the digital camera 10 according to the present embodiment records an image by setting the camera mode to the shooting mode and pressing the shutter button 22 fully. The recorded image is reproduced and displayed on the monitor 28 by setting the camera mode to the reproduction mode.

<画像ファイルの削除処理>
上記のように、撮影された画像は、すべてメモリカード152に記録されるが、記録枚数が多くなると、閲覧性が低下し、見たい画像がすぐに見つけ出せなくする。
<Image file deletion process>
As described above, all the captured images are recorded on the memory card 152. However, as the number of recorded images increases, the viewability decreases and the desired image cannot be found immediately.

そこで、必要に応じて適宜不要な画像を削除し、メモリカード152に記録されている画像を整理する必要がある。   Therefore, it is necessary to delete unnecessary images as necessary and organize the images recorded on the memory card 152.

画像の削除は、再生モードの下、削除対象の画像ファイルの画像をモニタ28に再生表示させ、削除ボタン34を押下することにより行われる。   The image is deleted by displaying the image of the image file to be deleted on the monitor 28 and pressing the delete button 34 in the playback mode.

CPU110は、画像再生中に削除ボタン34が押下されたことを検知すると、モニタ28に削除実行を確認するメッセージ(たとえば、「削除しますか? OK/CANCEL」)を表示させる。   When the CPU 110 detects that the delete button 34 has been pressed during image reproduction, the CPU 110 displays a message (for example, “Do you want to delete? OK / CANCEL”) to confirm execution of the deletion on the monitor 28.

ユーザは、このメッセージを確認し、削除を実行する場合は、MENU/OKボタン38を押下し、指示を取り消す場合は、DISP/BACKボタン40を押下する。   The user confirms this message and presses the MENU / OK button 38 to execute deletion, and presses the DISP / BACK button 40 to cancel the instruction.

CPU110は、この操作部からの入力に応じて、その後の処理を実行する。すなわち、DISP/BACKボタン40が押下された場合は、通常の再生時の状態に復帰し、MENU/OKボタン38が押下された場合は、削除対象の画像ファイルをメモリカード152から削除する。   CPU 110 executes subsequent processing in response to an input from the operation unit. That is, when the DISP / BACK button 40 is pressed, the normal playback state is restored, and when the MENU / OK button 38 is pressed, the image file to be deleted is deleted from the memory card 152.

ここで、この削除対象の画像ファイルは、メモリカード152から削除されると同時に所定のゴミ箱ファイルに格納される。すなわち、見かけ上はメモリカード152から削除されるが、所定のゴミ箱ファイルに格納されて保管される。したがって、必要に応じて復元することができる。   Here, the image file to be deleted is deleted from the memory card 152 and simultaneously stored in a predetermined trash box file. That is, it is apparently deleted from the memory card 152 but stored in a predetermined trash box file. Therefore, it can be restored as necessary.

このゴミ箱ファイルは、図5に示すように、削除された画像ファイルを1つにまとめて格納するファイル(いわゆる、マルチページファイル)であり、削除された画像ファイルは、すべてこのゴミ箱ファイルに格納される。   As shown in FIG. 5, the trash file is a file (so-called multi-page file) that stores the deleted image files together, and all the deleted image files are stored in the trash file. The

なお、図5は、メモリカード152内に[DSCF0001]、[DSCF0002]、[DSCF0003]、[DSCF0004]、[DSCF0005]の5つの画像ファイルが記録されている場合において、[DSCF0001]、[DSCF0002]、[DSCF0004]の3つの画像ファイルを削除したときの状態を示している。この場合、[DSCF0001]、[DSCF0002]、[DSCF0004]の3つの画像ファイルが、1つのゴミ箱ファイル([TRSH0001])に格納される。そして、メモリカード152には、ゴミ箱ファイルと画像ファイル[DSCF0003]と[DSCF0005]とが残る。   FIG. 5 shows the case where five image files [DSCF0001], [DSCF0002], [DSCF0003], [DSCF0004], and [DSCF0005] are recorded in the memory card 152, [DSCF0001] and [DSCF0002]. , [DSCF0004] shows a state when the three image files are deleted. In this case, three image files [DSCF0001], [DSCF0002], and [DSCF0004] are stored in one trash box file ([TRSH0001]). Then, the trash box file and the image files [DSCF0003] and [DSCF0005] remain in the memory card 152.

図6は、ゴミ箱ファイルのデータ構造を示す概略図である。同図に示すように、ゴミ箱ファイルは、代表画像領域D1と削除画像領域D2とを有している。   FIG. 6 is a schematic diagram showing the data structure of a trash can file. As shown in the figure, the trash box file has a representative image area D1 and a deleted image area D2.

削除画像領域D2は、削除された画像ファイルを格納する領域である。削除された画像ファイルは、そのデータ構造(Exif規格)を維持したまま、削除された順に、この削除画像領域D2に格納される。この際、各画像ファイルには、そのデータの先端にSOIマーカが記録されるとともに、終端にEOIマーカが記録される。これにより、各画像ファイルの始まりと終わりを認識することができる。   The deleted image area D2 is an area for storing a deleted image file. The deleted image files are stored in the deleted image area D2 in the order of deletion while maintaining the data structure (Exif standard). At this time, in each image file, an SOI marker is recorded at the leading end of the data and an EOI marker is recorded at the end. Thereby, the start and end of each image file can be recognized.

代表画像領域D1は、削除画像領域D2に格納された削除済みの画像ファイルの1つを選択し、その画像ファイルの画像を代表画像として格納する領域である。本例では、一番最初に削除された画像ファイルの画像を代表画像として格納する。   The representative image area D1 is an area for selecting one of the deleted image files stored in the deleted image area D2 and storing the image of the image file as a representative image. In this example, the image of the image file deleted first is stored as a representative image.

この代表画像領域D1は、Exif規格に準じて構成される。したがって、ゴミ箱ファイルの認識ができない機器であっても、Exifファイルを認識可能な機器であれば、少なくともこの代表画像領域D1に格納された画像(代表画像)を表示することができる。   The representative image area D1 is configured according to the Exif standard. Accordingly, even if the device cannot recognize the trash box file, at least the image (representative image) stored in the representative image area D1 can be displayed as long as the device can recognize the Exif file.

この代表画像領域D1のヘッダ部分に設けられたIFD0領域(0th IFD)のExif IFD領域には、本ファイル(ゴミ箱ファイル)が、削除画像領域D2を含むか否かを示す削除画像領域有無情報、及び、削除画像領域D2を含む場合に、削除画像Index情報の格納場所を示す情報(ポインタ)が格納される。したがって、ゴミ箱ファイルを認識可能な機器は、このIFD0領域(0th IFD)を読み込むことで、ゴミ箱ファイルか否かを判定することができる。   In the Exif IFD area of the IFD0 area (0th IFD) provided in the header portion of the representative image area D1, deleted image area presence / absence information indicating whether this file (trash can file) includes the deleted image area D2; When the deleted image area D2 is included, information (pointer) indicating the storage location of the deleted image index information is stored. Therefore, a device that can recognize a trash can file can determine whether it is a trash can file by reading this IFD0 area (0th IFD).

また、このIFD0領域(0th IFD)には、本ファイルにおける削除画像ファイルの格納場所(各画像ファイルのSOIマーカのアドレス)を示す削除画像識別IFD(1)、…、IFD(n)が格納される。したがって、ゴミ箱ファイルを認識可能な機器は、このIFD0領域(0th IFD)を読み込むことで、各画像ファイルの格納位置を認識することができる。   Also, in this IFD0 area (0th IFD), deleted image identification IFD (1),..., IFD (n) indicating the storage location of the deleted image file in this file (SOI marker address of each image file) is stored. The Therefore, a device capable of recognizing the trash can file can recognize the storage position of each image file by reading this IFD0 area (0th IFD).

一方、IFD1領域(1st IFD)には、削除した画像ファイルのサムネイル画像が格納される。したがって、ゴミ箱ファイルを認識可能な機器において、ゴミ箱ファイル内に格納されている各画像ファイルをモニタに一覧表示する場合は、このIFD1領域(1st IFD)に格納されたサムネイル画像を利用して、モニタに表示させることができる。   On the other hand, the thumbnail image of the deleted image file is stored in the IFD1 area (1st IFD). Therefore, when displaying a list of each image file stored in the trash can file on a monitor capable of recognizing the trash can file, the thumbnail image stored in this IFD1 area (1st IFD) is used to monitor the image file. Can be displayed.

なお、ヘッダの他の領域には、格納した画像の情報が、そのまま記録される。したがって、本例の場合、一番最初に削除された画像ファイルの画像の情報が、そのまま記録され、サムネイル画像も、一番最初に削除された画像ファイルのサムネイルが記録される。   In the other area of the header, the stored image information is recorded as it is. Therefore, in this example, the image information of the image file deleted first is recorded as it is, and the thumbnail of the image file deleted first is also recorded as the thumbnail image.

また、上記のように、代表画像領域D1は、Exif規格に準じて構成されているので、ゴミ箱ファイルの認識ができない機器であっても、代表画像領域D1の情報を読み出すことにより、モニタに画像を表示することができる。この場合、代表画像領域D1に格納された画像(代表画像)が表示される(本例の場合、最初に削除された画像ファイルの画像が表示される)。   In addition, as described above, the representative image area D1 is configured according to the Exif standard, so even if the device cannot recognize the trash can file, the information on the representative image area D1 is read to display an image on the monitor. Can be displayed. In this case, the image (representative image) stored in the representative image area D1 is displayed (in the case of this example, the image of the image file deleted first is displayed).

なお、本例では、代表画像領域D1のIFD0領域(0th IFD)に削除した画像ファイルの情報を記録する構成としているが、この他、メーカーノートに削除した画像ファイルの情報(ゴミ箱ファイルの内部情報(ファイル数や削除した日時、画像情報など))を記録するようにしてもよい。すなわち、Exifファイルに準じた構成でヘッダに記録された情報から、少なくとも格納されている画像ファイルの数、領域(開始アドレスと終了アドレス)が読み取れる構成であればよい。   In this example, the information of the deleted image file is recorded in the IFD0 area (0th IFD) of the representative image area D1, but in addition to this, the information of the deleted image file (internal information of the trash can file) (Number of files, date and time of deletion, image information, etc.)) may be recorded. In other words, any configuration may be used as long as at least the number of stored image files and the area (start address and end address) can be read from the information recorded in the header in a configuration according to the Exif file.

また、ゴミ箱ファイルは、削除された画像ファイルと同じディレクトリ(フォルダ)に記録される。   Also, the trash box file is recorded in the same directory (folder) as the deleted image file.

ここで、上記のように、本実施の形態のデジタルカメラ10では、DCF規格に従ってメモリカード152に画像ファイルが格納される。   Here, as described above, in the digital camera 10 of the present embodiment, the image file is stored in the memory card 152 in accordance with the DCF standard.

図7に示すように、DCF規格では、ルートディレクトリの直下にDCFイメージディレクトリ(「DCIM」)が生成され、そのDCFイメージディレクトリ(「DCIM」)の下位層にDCFディレクトリ(「100_FUJI」、「101_FUJI」、…)が生成される。撮影により画像の画像ファイルは、このDCFディレクトリ(「100_FUJI」、「101_FUJI」、…)に格納される。   As shown in FIG. 7, in the DCF standard, a DCF image directory (“DCIM”) is generated directly under the root directory, and DCF directories (“100_FUJI”, “101_FUJI” are created in a lower layer of the DCF image directory (“DCIM”). ", ...) is generated. An image file of an image obtained by shooting is stored in this DCF directory (“100_FUJI”, “101_FUJI”,...).

したがって、ゴミ箱ファイルは、DCFディレクトリ(DCFフォルダ)単位で生成され、DCFディレクトリに格納される。   Therefore, the trash box file is generated in units of DCF directories (DCF folders) and stored in the DCF directory.

なお、DCFディレクトリのディレクトリ名は、先頭3文字がディレクトリ番号、そのディレクトリ番号に続く5文字が自由文字で構成される(本例では、自由文字を「_FUJI」で構成している)。   The directory name of the DCF directory is composed of a directory number as the first three characters and a free character as the five characters following the directory number (in this example, the free character is composed of “_FUJI”).

また、ファイル名は、先頭4文字が自由文字、その自由文字に続く4文字がファイル番号で構成される(本例では、自由文字を「DSCF」で構成している(ゴミ箱ファイルについては、自由文字を「TRSH」で構成している)。   In the file name, the first 4 characters are composed of free characters, and the 4 characters following the free characters are composed of file numbers (in this example, the free characters are composed of “DSCF”. The characters are composed of “TRSH”).

図8は、ゴミ箱ファイルの生成処理の手順を示すフローチャートである。   FIG. 8 is a flowchart showing the procedure of the trash file generation process.

上記のように、画像ファイルの削除は、再生モードの下、削除対象とする画像ファイルの画像をモニタ28に表示させ、削除ボタン34を押下することにより行われる。   As described above, the image file is deleted by displaying the image of the image file to be deleted on the monitor 28 and pressing the delete button 34 in the playback mode.

まず、ユーザは、カメラのモードを再生モードに設定し、削除対象とする画像ファイルの画像をモニタ28に表示させる(ステップS10)。   First, the user sets the camera mode to the playback mode, and displays the image of the image file to be deleted on the monitor 28 (step S10).

CPU110は、操作部112からの入力に基づいて、削除ボタン34が押下されたか否か、すなわち、削除が指示されたか否かを判定する(ステップS11)。   Based on the input from the operation unit 112, the CPU 110 determines whether or not the delete button 34 has been pressed, that is, whether or not deletion has been instructed (step S11).

削除が指示されたと判定すると、CPU110は、削除確認のメッセージ(たとえば、「この画像を削除しますか?」等)をモニタ28に表示させる(ステップS12)。ユーザは、このメッセージを確認し、削除を実行する場合は、MENU/OKボタン38を押下し、指示を取り消す場合は、DISP/BACKボタン40を押下する。CPU110は、操作部からの入力に基づいて、削除の実行が指示されたか否かを判定する(ステップS13)。そして、削除実行が指示されると、CPU110は、当該削除対象の画像ファイルが格納されているフォルダ(ディレクトリ)にゴミ箱ファイルが存在するか否かを判定する(ステップS14)。   If it is determined that the deletion has been instructed, the CPU 110 displays a deletion confirmation message (for example, “Do you want to delete this image?”) On the monitor 28 (step S12). The user confirms this message and presses the MENU / OK button 38 to execute deletion, and presses the DISP / BACK button 40 to cancel the instruction. CPU110 determines whether execution of deletion was instruct | indicated based on the input from an operation part (step S13). When deletion is instructed, the CPU 110 determines whether a trash box file exists in the folder (directory) in which the image file to be deleted is stored (step S14).

ここで、削除対象の画像ファイルが格納されているフォルダにゴミ箱ファイルが存在していないと判定すると、CPU110は、新規にゴミ箱ファイルを作成する(ステップS15)。上記のように、ゴミ箱ファイルは、代表画像領域D1に、最初に削除指示された画像を代表画像として格納するとともに、そのヘッダ部に所要の情報を記録して生成される。CPU110は、その新規に作成したゴミ箱ファイルに削除指示された画像の画像ファイルを追記する(ステップS16)。これにより、削除指示された画像の画像ファイルが格納されたゴミ箱ファイルが生成される。   If it is determined that there is no trash can file in the folder in which the image file to be deleted is stored, the CPU 110 creates a new trash can file (step S15). As described above, the trash box file is generated by storing the image first instructed to be deleted as a representative image in the representative image area D1 and recording necessary information in the header portion thereof. CPU 110 adds the image file of the image instructed to be deleted to the newly created trash can file (step S16). As a result, a trash box file storing the image file of the image instructed to be deleted is generated.

一方、上記ステップS14で既にゴミ箱ファイルが存在していると判定すると、CPU110は、その既存のゴミ箱ファイルに削除指示された画像の画像ファイルを追記する(ステップS16)。これにより、削除指示された画像の画像ファイルが、追加して格納されたゴミ箱ファイルが生成される。   On the other hand, if it is determined in step S14 that the trash box file already exists, the CPU 110 adds the image file of the image instructed to be deleted to the existing trash box file (step S16). As a result, a trash box file in which the image file of the image instructed to be deleted is additionally stored is generated.

このように、CPU110は、削除実行の指示を受けると、その削除指示された画像の画像ファイルをゴミ箱ファイルに格納する。CPU110は、このゴミ箱ファイルへの格納処理を行った後、削除指示された画像の画像ファイルをメモリカード152から削除する(ステップS17)。   As described above, when the CPU 110 receives an instruction to execute deletion, the CPU 110 stores the image file of the image instructed to be deleted in the trash box file. After performing the storage process in the trash file, the CPU 110 deletes the image file of the image instructed to be deleted from the memory card 152 (step S17).

この後、CPU110は、操作部112からの入力に基づいて、再生モードの終了が指示されたか否かを判定し(ステップS18)、再生モードの終了が指示されると、処理を終了する。   Thereafter, the CPU 110 determines whether or not the end of the playback mode is instructed based on the input from the operation unit 112 (step S18), and ends the process when the end of the playback mode is instructed.

なお、画像ファイルが削除された場合、モニタ28には、次の画像ファイルの画像(ファイル番号が、次の画像ファイルの画像)が再生表示される。   When the image file is deleted, the image of the next image file (file number is the image of the next image file) is reproduced and displayed on the monitor 28.

以上のように、本実施の形態のデジタルカメラでは、画像の削除が指示されると、その削除指示された画像の画像ファイルが、ゴミ箱ファイルに格納された後、メモリカード152から削除される。そして、このゴミ箱ファイルは、1つのファイルで構成され、削除された画像ファイルが逐次追記されて生成される。このように削除指示された画像ファイルを1つのファイルとして保管することにより、画像ファイルの管理、閲覧性を向上させることができる。   As described above, in the digital camera according to the present embodiment, when an image deletion is instructed, the image file of the image instructed to be deleted is stored in the trash box file and then deleted from the memory card 152. The trash can file is composed of one file, and the deleted image file is sequentially added and generated. By storing the image file instructed to be deleted as one file in this way, it is possible to improve the management and viewability of the image file.

なお、本例では、削除が指示された後、一度、削除実行を確認する処理を行っているが(ステップS12及びステップS13)、当該確認の処理は行わずに、削除するようにしてもよい。   In this example, after deletion is instructed, a process for confirming the execution of deletion is performed once (steps S12 and S13). However, the confirmation may be performed without performing the confirmation process. .

また、本例では、削除指示された画像ファイルをすべて1つのゴミ箱ファイルに格納するようにしているが、1つのゴミ箱ファイルに格納できる画像ファイルの数に上限値を設定し、上限値に達したら、ゴミ箱ファイルを新規に生成するようにしてもよい。この場合、上限値は、ユーザが設定できるようにしてもよいし、また、固定値としてもよい。   Further, in this example, all the image files instructed to be deleted are stored in one trash can file, but an upper limit is set for the number of image files that can be stored in one trash can file. Alternatively, a new trash can file may be generated. In this case, the upper limit value may be set by the user, or may be a fixed value.

また、本例では、DCFディレクトリごとにゴミ箱ファイルを生成(削除された画像ファイルと同じディレクトリにゴミ箱ファイルを格納)しているが、ゴミ箱ファイルの格納は、これに限定されるものではない。別途、ゴミ箱ファイルのみを格納するディレクトリを生成(たとえば、DCFイメージルートディレクトリの直下に生成)し、当該ディレクトリにゴミ箱ファイルを格納するようにしてもよい。この場合、ディレクトリ単位でゴミ箱ファイルを生成してもよいし、また、画像ファイルの格納元のディレクトリに関わらず、共通のゴミ箱ファイルを生成してもよい。また、メモリカード152に格納するのではなく、フラッシュROM118等の内部メモリに格納するようにしてもよい。   In this example, a trash box file is generated for each DCF directory (the trash box file is stored in the same directory as the deleted image file), but storage of the trash box file is not limited to this. Separately, a directory for storing only the trash box file may be generated (for example, generated immediately below the DCF image root directory), and the trash box file may be stored in the directory. In this case, a trash can file may be generated for each directory, or a common trash can file may be generated regardless of the directory from which the image file is stored. Further, instead of being stored in the memory card 152, it may be stored in an internal memory such as the flash ROM 118.

<ゴミ箱ファイルに格納された画像ファイルの表示設定>
さて、上記のように、本実施の形態のデジタルカメラでは、削除した画像ファイルが1つのゴミ箱ファイルに格納される。
<Display settings for image files stored in Trash file>
As described above, in the digital camera of the present embodiment, the deleted image file is stored in one trash can file.

ゴミ箱ファイルに格納された画像ファイルは、必要に応じて復元させることができる。後述するように、この復元の操作は、ゴミ箱ファイルに格納されている画像ファイルの画像をモニタ28に表示させ、目的とする画像に対して復元の指示を与えることにより行われる。   The image file stored in the trash box file can be restored as necessary. As will be described later, this restoration operation is performed by displaying the image of the image file stored in the trash box file on the monitor 28 and giving a restoration instruction to the target image.

ところで、ゴミ箱ファイルに格納されている画像ファイルのなかには、一応確保しておきたいものもあれば、まったく不要のものも存在する。   By the way, among the image files stored in the trash box file, there are some which need to be secured, and some which are not necessary at all.

したがって、不要な画像ファイルは、中身の閲覧時に表示されないようにすることが好ましい。   Therefore, it is preferable not to display unnecessary image files when browsing the contents.

本実施の形態のデジタルカメラでは、ゴミ箱ファイルに格納された画像ファイルの表示/非表示の設定(表示のON/OFFの設定)を個別に行うことができる。   In the digital camera according to the present embodiment, display / non-display setting (display ON / OFF setting) of the image file stored in the trash can file can be individually performed.

以下、このゴミ箱ファイルに格納された画像ファイルの表示設定(表示のON/OFFの設定)の処理について説明する。   Hereinafter, the display setting (display ON / OFF setting) processing of the image file stored in the trash box file will be described.

図9は、ゴミ箱ファイルに格納された画像ファイルの表示設定の処理手順を示すフローチャートである。   FIG. 9 is a flowchart illustrating a processing procedure for display setting of the image file stored in the trash box file.

ゴミ箱ファイルに格納された個々の画像ファイルの表示設定は、あらかじめ用意された表示設定機能(具体的には表示設定処理を行うプログラム)を呼び出して行われる。この表示設定機能の呼び出しは、メニュー画面で行われる。すなわち、あらかじめメニュー項目の一つとして、「ゴミ箱ファイルの中身の表示設定」の項目が用意されており、この項目がメニュー画面で選択されると、所定の表示設定の機能が呼び出される。   The display setting of each image file stored in the trash box file is performed by calling a display setting function (specifically, a program for performing display setting processing) prepared in advance. This display setting function is called on the menu screen. That is, as one of the menu items, an item “display setting of the contents of the trash box file” is prepared in advance, and when this item is selected on the menu screen, a predetermined display setting function is called.

したがって、この処理を行う場合、まず、ユーザは、メニュー画面で表示設定機能の呼び出しの処理を行う(ステップS20)。   Therefore, when performing this process, first, the user performs a process of calling a display setting function on the menu screen (step S20).

CPU110は、表示設定機能が呼び出されると、所定の制御プログラムに従って、表示設定の処理を実行する。   When the display setting function is called, the CPU 110 executes display setting processing according to a predetermined control program.

まず、CPU110は、CPU110は、ユーザにディレクトリ(フォルダ)を選択させる(ステップS21)。すなわち、表示設定を行う画像ファイルが格納されているディレクトリの選択をさせる。この選択処理は、たとえば、メモリカード152のDCFイメージルートディレクトリに生成されているDCFディレクトリをモニタ28に一覧表示させ、その1つを選択させることにより行われる。   First, the CPU 110 causes the user to select a directory (folder) (step S21). That is, a directory in which an image file for display setting is stored is selected. This selection process is performed, for example, by displaying a list of DCF directories generated in the DCF image root directory of the memory card 152 and selecting one of them.

ディレクトリの選択が行われると、CPU110は、メモリカード152にアクセスし、そのディレクトリにゴミ箱ファイルが存在するか否かを判定する(ステップS22)。ここで、選択されたディレクトリにゴミ箱ファイルが存在しないと判定すると、CPU110は、所定のエラーメッセージ(たとえば、「復元可能な画像がありません」等)をモニタ28に表示させる(ステップS38)。   When a directory is selected, the CPU 110 accesses the memory card 152 and determines whether or not a trash box file exists in the directory (step S22). If it is determined that there is no trash box file in the selected directory, the CPU 110 displays a predetermined error message (for example, “no image that can be restored”) on the monitor 28 (step S38).

一方、選択されたディレクトリにゴミ箱ファイルが存在する場合、CPU110は、そのゴミ箱ファイルの解析処理を行う(ステップS23)。すなわち、そのゴミ箱ファイルに格納されている画像ファイルの総数等を確認する処理を行う。そして、その解析結果に基づき、パラメータNにゴミ箱ファイルに格納されている画像ファイルの総数を設定する(ステップS24)。また、パラメータnに1を設定する(ステップS25)。   On the other hand, if a trash box file exists in the selected directory, the CPU 110 performs an analysis process on the trash box file (step S23). That is, a process for confirming the total number of image files stored in the trash box file is performed. Based on the analysis result, the total number of image files stored in the trash can file is set in the parameter N (step S24). Further, 1 is set to the parameter n (step S25).

この後、CPU110は、ゴミ箱ファイルに格納されたnコマ目の画像ファイルの画像をモニタ28に表示させる(ステップS26)。   Thereafter, the CPU 110 displays the image of the nth frame image file stored in the trash box file on the monitor 28 (step S26).

ここでは、nが1に設定されているので、1コマ目の画像ファイルの画像がモニタ28に表示される。   Here, since n is set to 1, the image of the first frame image file is displayed on the monitor 28.

図10は、モニタ28の表示例を示す図である。同図に示すように、モニタ28には、画面中央に読み出した画像ファイルの画像(nコマ目の画像)が表示される。そして、その画像の上下左右に十字ボタン36に割り当てられた機能のアイコンが表示される。   FIG. 10 is a diagram illustrating a display example of the monitor 28. As shown in the figure, the image of the read image file (the nth frame image) is displayed on the monitor 28 at the center of the screen. Then, icons of functions assigned to the cross button 36 are displayed on the top, bottom, left, and right of the image.

ここで、本実施の形態のデジタルカメラ10では、表示設定のモード時、十字ボタン36の右ボタンにコマ送り、左ボタンにコマ戻し、上ボタンに表示のON設定、下ボタンに表示のOFF設定の機能が割り当てられる。したがって、画像の右側にコマ送りのアイコン、左側にコマ戻しのアイコン、上側に表示のON設定(表示)のアイコン、下側に表示のOFF設定(非表示)のアイコンが表示される。   Here, in the digital camera 10 of the present embodiment, in the display setting mode, the right button of the cross button 36 is frame-advanced, the left button is frame-returned, the upper button is set to display ON, and the lower button is set to display OFF. Function is assigned. Accordingly, a frame advance icon is displayed on the right side of the image, a frame return icon is displayed on the left side, an ON setting (display) icon is displayed on the upper side, and an OFF setting (non-display) icon is displayed on the lower side.

CPU110は、読み出した画像ファイルの画像をモニタ28に表示させるとともに、これらのアイコン画像を表示させる。   The CPU 110 displays the image of the read image file on the monitor 28 and displays these icon images.

なお、画面左上隅のアイコンは、現在のモードを示すアイコンであり、現在のモードが表示設定のモードであることを示している。   The icon in the upper left corner of the screen is an icon indicating the current mode, and indicates that the current mode is a display setting mode.

また、画面右上隅の表示は、現在のコマ番号(表示される画像に付与される通し番号)を示しており、分子が現在のコマ番号、分母がゴミ箱ファイル内に格納されている画像ファイルの総数を示している(コマ番号/総数)。   The display in the upper right corner of the screen shows the current frame number (the serial number assigned to the displayed image), the numerator is the current frame number, and the denominator is the total number of image files stored in the trash file. (Frame number / total number).

また、画面右下隅の表示は、表示中の画像の現在の表示設定を示しており、ON又はOFFが表示される。なお、初期設定では、すべてONにされている。したがって、本表示設定の処理を行わない場合、ゴミ箱ファイルに格納された画像ファイルは、その展開表示時にすべて表示される。   The display at the lower right corner of the screen indicates the current display setting of the image being displayed, and is displayed as ON or OFF. In the initial setting, all are set to ON. Therefore, when the display setting process is not performed, all the image files stored in the trash box file are displayed at the time of development display.

ユーザは、このモニタ28の表示に基づいて必要な操作を行う。すなわち、現在、モニタ28に表示されている画像の表示設定がONに設定されている場合において、その表示設定をOFFに切り替えたい場合は、十字ボタン36の下ボタンを押下する。一方、現在、モニタ28に表示されている画像の表示設定がOFFに設定されている場合において、その表示設定をONに切り替えたい場合は、十字ボタン36の上ボタンを押下する。また、現在の表示設定を切り替えずに次の画像を確認する場合は、十字ボタン36の右ボタンを押下し、前の画像を確認する場合は、十字ボタン36の左ボタンを押下する。さらに、表示設定の機能を終了する場合は、DISP/BACKボタン40を押下する。   The user performs necessary operations based on the display on the monitor 28. That is, when the display setting of the image currently displayed on the monitor 28 is set to ON, the lower button of the cross button 36 is pressed to switch the display setting to OFF. On the other hand, when the display setting of the image currently displayed on the monitor 28 is set to OFF, the upper button of the cross button 36 is pressed to switch the display setting to ON. Further, when the next image is confirmed without switching the current display setting, the right button of the cross button 36 is pressed, and when the previous image is confirmed, the left button of the cross button 36 is pressed. Further, when the display setting function is terminated, the DISP / BACK button 40 is pressed.

CPU110は、操作部112からの入力に基づき、キー入力の有無を判定し(ステップS27)、入力されたキー操作に応じた処理を実行する。   The CPU 110 determines whether or not there is a key input based on the input from the operation unit 112 (step S27), and executes a process corresponding to the input key operation.

・十字ボタン36の上ボタンが押下された場合
上記のように、十字ボタン36の上ボタンが押下されると、現在表示中の画像の表示設定がONに設定される。
When the upper button of the cross button 36 is pressed As described above, when the upper button of the cross button 36 is pressed, the display setting of the currently displayed image is set to ON.

十字ボタン36の上ボタンが押下されると、現在表示中の画像の表示設定をONに設定(表示フラグ:1(有効フラグ))し、その情報をゴミ箱ファイルの所定領域に記録する(ステップS28)。記憶領域としては、たとえば、代表画像領域D1のヘッダ部分に設けられたメーカーノートに記録する。あるいは、当該画像ファイルのヘッダ部分に設けられたメーカーノートに記録する。   When the upper button of the cross button 36 is pressed, the display setting of the currently displayed image is set to ON (display flag: 1 (valid flag)), and the information is recorded in a predetermined area of the trash box file (step S28). ). As the storage area, for example, it is recorded in a maker note provided in the header portion of the representative image area D1. Alternatively, it is recorded in a maker note provided in the header portion of the image file.

この後、CPU110は、パラメータnに1を加算する(ステップS29)。そして、1加算した後のパラメータnが、パラメータN(ゴミ箱ファイル内の総数)を超えているか否か判定する(ステップS34)。すなわち、最終コマの画像ファイルであったか否かを判定する。   Thereafter, the CPU 110 adds 1 to the parameter n (step S29). Then, it is determined whether or not the parameter n after adding 1 exceeds the parameter N (total number in the trash box file) (step S34). That is, it is determined whether the image file is the last frame.

ここで、パラメータnが、パラメータNを超えていないと判定すると、ステップS26の処理に戻り、次のコマをモニタ28に表示させる。   If it is determined that the parameter n does not exceed the parameter N, the process returns to step S26 and the next frame is displayed on the monitor 28.

一方、パラメータnが、パラメータNを超えていると判定すると、CPU110は、パラメータnに1を設定し、ステップS26の処理に戻る。すなわち、最初のコマをモニタ28に表示させる。  On the other hand, when determining that the parameter n exceeds the parameter N, the CPU 110 sets 1 to the parameter n and returns to the process of step S26. That is, the first frame is displayed on the monitor 28.

このように、十字ボタン36の上ボタンが押下されると、現在表示中の画像の表示設定がONに設定されるとともに、コマ送りされる。   As described above, when the upper button of the cross button 36 is pressed, the display setting of the currently displayed image is set to ON and the frame is advanced.

・十字ボタン36の下ボタンが押下された場合
上記のように、十字ボタン36の下ボタンが押下されると、現在表示中の画像の表示設定がOFFに設定される。
When the lower button of the cross button 36 is pressed As described above, when the lower button of the cross button 36 is pressed, the display setting of the currently displayed image is set to OFF.

十字ボタン36の下ボタンが押下されると、現在表示中の画像の表示設定をOFFに設定(表示フラグ:0(無効フラグ))し、その情報をゴミ箱ファイルの所定領域に記録する(ステップS30)。   When the lower button of the cross button 36 is pressed, the display setting of the currently displayed image is set to OFF (display flag: 0 (invalid flag)), and the information is recorded in a predetermined area of the trash box file (step S30). ).

この後、CPU110は、パラメータnに1を加算する(ステップS31)。そして、1加算した後のパラメータnが、パラメータNを超えているか否か判定する(ステップS34)。   Thereafter, the CPU 110 adds 1 to the parameter n (step S31). Then, it is determined whether or not the parameter n after adding 1 exceeds the parameter N (step S34).

ここで、パラメータnが、パラメータNを超えていないと判定すると、ステップS26の処理に戻り、次のコマをモニタ28に表示させる。一方、パラメータnが、パラメータNを超えていると判定すると、CPU110は、パラメータnに1を設定し、ステップS26の処理に戻る。すなわち、最初のコマをモニタ28に表示させる。   If it is determined that the parameter n does not exceed the parameter N, the process returns to step S26 and the next frame is displayed on the monitor 28. On the other hand, when determining that the parameter n exceeds the parameter N, the CPU 110 sets 1 to the parameter n and returns to the process of step S26. That is, the first frame is displayed on the monitor 28.

このように、十字ボタン36の下ボタンが押下されると、現在表示中の画像の表示設定がOFFに設定されるとともに、コマ送りされる。   As described above, when the lower button of the cross button 36 is pressed, the display setting of the currently displayed image is set to OFF and the frame is advanced.

・十字ボタン36の右ボタンが押下された場合
上記のように、十字ボタン36の右ボタンが押下されると、コマ送りされる。
When the right button of the cross button 36 is pressed As described above, when the right button of the cross button 36 is pressed, the frame is advanced.

十字ボタン36の右ボタンが押下されると、CPU110は、パラメータnに1を加算する(ステップS32)。そして、1加算した後のパラメータnが、パラメータNを超えているか否か判定する(ステップS34)。   When the right button of the cross button 36 is pressed, the CPU 110 adds 1 to the parameter n (step S32). Then, it is determined whether or not the parameter n after adding 1 exceeds the parameter N (step S34).

ここで、パラメータnが、パラメータNを超えていないと判定すると、ステップS26の処理に戻り、次のコマをモニタ28に表示させる。一方、パラメータnが、パラメータNを超えていると判定すると、CPU110は、パラメータnに1を設定し、ステップS26の処理に戻る。すなわち、最初のコマをモニタ28に表示させる。   If it is determined that the parameter n does not exceed the parameter N, the process returns to step S26 and the next frame is displayed on the monitor 28. On the other hand, when determining that the parameter n exceeds the parameter N, the CPU 110 sets 1 to the parameter n and returns to the process of step S26. That is, the first frame is displayed on the monitor 28.

・十字ボタン36の左ボタンが押下された場合
上記のように、十字ボタン36の左ボタンが押下されると、コマ戻しされる。
When the left button of the cross button 36 is pressed As described above, when the left button of the cross button 36 is pressed, the frame is returned.

十字ボタン36の左ボタンが押下されると、CPU110は、パラメータnから1を除算する(ステップS33)。そして、1除算した後のパラメータnが、0か否か判定する(ステップS36)。   When the left button of the cross button 36 is pressed, the CPU 110 divides 1 from the parameter n (step S33). Then, it is determined whether or not the parameter n after division by 1 is 0 (step S36).

ここで、パラメータnが0ではないと判定すると、ステップS26の処理に戻り、一つ前のコマをモニタ28に表示させる。一方、パラメータnが、0であると判定すると、CPU110は、パラメータnにNを設定し、ステップS26の処理に戻る。すなわち、最終コマの画像をモニタ28に表示させる。   If it is determined that the parameter n is not 0, the process returns to step S26, and the previous frame is displayed on the monitor 28. On the other hand, when determining that the parameter n is 0, the CPU 110 sets N to the parameter n and returns to the process of step S26. That is, the last frame image is displayed on the monitor 28.

・DISP/BACKボタン40が押下された場合
上記のように、DISP/BACKボタン40が押下されると、CPU110は、表示設定の機能を終了する。この場合、直前のモードに復帰する。すなわち、直前のモードが、撮影モードの場合は、撮影モードに復帰し、再生モードの場合は、再生モードに復帰する。
When DISP / BACK Button 40 is Pressed As described above, when the DISP / BACK button 40 is pressed, the CPU 110 ends the display setting function. In this case, the previous mode is restored. That is, when the immediately preceding mode is the shooting mode, the mode returns to the shooting mode, and when the mode is the playback mode, the mode returns to the playback mode.

なお、上記の例では、ゴミ箱ファイルに格納された画像ファイルを1コマずつモニタ28に表示させているが、複数コマをまとめて表示するようにしてもよい。たとえば、モニタ28の表示領域に2×2コマの表示領域を設け、4コマ分の画像をまとめて表示するようにしてもよいし、3×3コマの表示領域を設け、9コマ分の画像をまとめて表示するようにしてもよい。また、これらの表示形態をユーザが選択できるようにしてもよい。   In the above example, the image files stored in the trash box file are displayed on the monitor 28 frame by frame, but a plurality of frames may be displayed together. For example, a display area of 2 × 2 frames may be provided in the display area of the monitor 28, and an image for 4 frames may be displayed collectively, or a display area of 3 × 3 frames may be provided to provide an image for 9 frames. May be displayed together. Moreover, you may enable it for a user to select these display forms.

なお、このように複数コマの画像を表示する場合は、たとえば、カーソルや選択枠等の選択手段で特定の画像を選択できるようにし、当該選択手段で選択された画像に対して、表示設定ができるようにする。   When displaying images of a plurality of frames in this way, for example, a specific image can be selected by a selection unit such as a cursor or a selection frame, and display settings are set for the image selected by the selection unit. It can be so.

また、上記の例では、表示設定が切り替えられるたびに逐次、その情報をゴミ箱ファイルに記録(表示設定の情報を更新)するようにしているが、設定した情報をメモリ120等にまとめて記憶しておき、処理の最後にゴミ箱ファイルに記録するようにしてもよい(最後に一括して更新するようにしてもよい。)。   In the above example, each time the display setting is switched, the information is sequentially recorded in the trash box file (display setting information is updated). However, the set information is collectively stored in the memory 120 or the like. In addition, it may be recorded in a trash box file at the end of processing (may be updated in a batch at the end).

<ゴミ箱ファイルに格納された画像ファイルの表示方法>
次に、ゴミ箱ファイルに格納された画像ファイルの表示方法について説明する。
<Display method of image file stored in trash file>
Next, a method for displaying the image file stored in the trash box file will be described.

上記のように、ゴミ箱ファイルに格納された画像ファイルの表示は、表示設定に基づいて行われる。すなわち、表示設定がONにされている画像のみが表示される。   As described above, the display of the image file stored in the trash box file is performed based on the display setting. That is, only an image whose display setting is ON is displayed.

図11は、ゴミ箱ファイルに格納された画像ファイルの表示処理の手順を示すフローチャートである。   FIG. 11 is a flowchart showing the procedure for displaying the image file stored in the trash box file.

ゴミ箱ファイルに格納された画像ファイルの表示は、ゴミ箱ファイルに対して展開表示の指示を与えることにより行われる。   The display of the image file stored in the trash box file is performed by giving an instruction to expand and display the trash box file.

なお、上記のように、ゴミ箱ファイルは、その代表画像領域D1がExif形式に準じて生成されているため、デジタルカメラ10のモードを再生モードにすると、代表画像領域D1に格納された画像(代表画像)がモニタに表示される。すなわち、再生モード時にコマ送り又はコマ戻しされて、ゴミ箱ファイルが表示される番になると、そのゴミ箱ファイルの代表画像領域D1に格納された画像がモニタ28に表示される。   As described above, since the representative image area D1 of the trash can file is generated according to the Exif format, when the mode of the digital camera 10 is set to the reproduction mode, the image stored in the representative image area D1 (representative Image) is displayed on the monitor. That is, when the frame is forwarded or backed in the playback mode and the trash box file is displayed, the image stored in the representative image area D1 of the trash box file is displayed on the monitor 28.

ユーザは、このゴミ箱ファイルの代表画像がモニタに表示された状態でデジタルカメラ10に対して、展開表示の指示を与えて、ゴミ箱ファイルに格納されている画像の表示を指示する(たとえば、MENU/OKボタン38を押下して、展開表示を指示する。)。   In a state where the representative image of the trash box file is displayed on the monitor, the user gives an instruction to display the image to the digital camera 10 and instructs the display of the image stored in the trash box file (for example, MENU / The user presses the OK button 38 to instruct development display).

なお、この展開表示の指示方法は一例であり、他の方法でゴミ箱ファイルの展開表示を指示するようにすることもできる。たとえば、メニュー項目の一つにゴミ箱ファイルの展開表示の指示の項目を用意しておき、メニュー画面でゴミ箱ファイルの展開表示を指示するようにすることもできる。   Note that this expansion display instruction method is an example, and other methods may be used to instruct expansion display of the trash box file. For example, an item for instructing to expand and display a trash can file can be prepared in one of the menu items, and an instruction to expand and display the trash can file can be instructed on the menu screen.

CPU110は、ゴミ箱ファイルの展開表示の指示が入力されると(ステップS40)、指定されたゴミ箱ファイルにアクセスし、そのゴミ箱ファイルの解析処理を行う(ステップS41)。そして、その解析結果に基づき、パラメータMにゴミ箱ファイルに格納されている画像ファイルの総数を設定する(ステップS42)。また、パラメータmに1を設定する(ステップS43)。   When an instruction to expand and display a trash box file is input (step S40), the CPU 110 accesses the designated trash box file and performs an analysis process on the trash box file (step S41). Based on the analysis result, the total number of image files stored in the trash box file is set in the parameter M (step S42). Further, 1 is set to the parameter m (step S43).

この後、CPU110は、mコマ目の画像ファイルの表示設定を確認し、表示設定がONにされているか否かを判定する(ステップS44)。   Thereafter, the CPU 110 confirms the display setting of the image file of the m-th frame and determines whether or not the display setting is turned on (step S44).

この判定の結果、mコマ目の画像ファイルの表示設定がONにされていると判定すると、CPU110は、そのmコマ目の画像ファイルの画像をモニタ28に表示させる(ステップS45)。   As a result of this determination, if it is determined that the display setting for the m-th frame image file is ON, the CPU 110 displays the image of the m-th frame image file on the monitor 28 (step S45).

図12は、モニタ28の表示例を示す図である。同図に示すように、モニタ28には、画面中央に読み出した画像ファイルの画像(mコマ目の画像)が表示される。そして、その画像の左右に十字ボタン36に割り当てられた機能のアイコンが表示される。本例の場合、画像の右側にコマ送りのアイコン、左側にコマ戻しのアイコンが表示される。   FIG. 12 is a diagram illustrating a display example of the monitor 28. As shown in the figure, the image of the read image file (m-th frame image) is displayed on the monitor 28 at the center of the screen. Then, icons of functions assigned to the cross button 36 are displayed on the left and right of the image. In this example, a frame advance icon is displayed on the right side of the image, and a frame return icon is displayed on the left side.

CPU110は、読み出した画像ファイルの画像をモニタ28に表示させるとともに、これらのアイコン画像を表示させる。   The CPU 110 displays the image of the read image file on the monitor 28 and displays these icon images.

なお、画面左上隅のアイコンは、現在のモードを示すアイコンであり、現在のモードが展開表示のモードであることを示している。   The icon in the upper left corner of the screen is an icon indicating the current mode, and indicates that the current mode is an expanded display mode.

また、画面右上隅の表示は、現在のコマ番号(表示される画像に付与される通し番号)を示しており、分子が現在のコマ番号、分母が表示される画像ファイルの総数(表示設定がONにされている画像ファイルの総数)を示している。   The display in the upper right corner of the screen shows the current frame number (serial number assigned to the displayed image). The total number of image files in which the numerator is the current frame number and the denominator is displayed (display setting is ON). The total number of image files that have been selected.

一方、上記ステップS44において、mコマ目の画像ファイルの表示設定がOFFにされていると判定すると、CPU110は、パラメータmに1を加算し(ステップS53)、加算後のパラメータmが、パラメータM(ゴミ箱ファイル内の総数)を超えているか否か判定する(ステップS54)。すなわち、最終コマの画像ファイルであるか否かを判定する。   On the other hand, if it is determined in step S44 that the display setting of the image file of the m-th frame is turned off, the CPU 110 adds 1 to the parameter m (step S53), and the parameter m after the addition is the parameter M. It is determined whether or not (the total number in the trash box file) is exceeded (step S54). That is, it is determined whether the image file is the last frame.

ここで、パラメータmが、パラメータMを超えていないと判定すると、ステップS44の処理に戻り、次のコマの表示設定を確認する。   If it is determined that the parameter m does not exceed the parameter M, the process returns to step S44 and the display setting of the next frame is confirmed.

一方、パラメータmが、パラメータMを超えていると判定すると、CPU110は、パラメータmに1を設定し、ステップS44の処理に戻る。すなわち、最初のコマの表示設定を確認する。   On the other hand, when determining that the parameter m exceeds the parameter M, the CPU 110 sets 1 to the parameter m and returns to the process of step S44. That is, the display setting of the first frame is confirmed.

このように、表示設定がOFFにされている画像ファイルについてはスキップし、表示設定がONにされている画像ファイルまで自動的にコマ送りされる。これにより、表示設定がONにされている画像ファイルの画像のみがモニタ28に表示される。   As described above, the image file whose display setting is turned off is skipped, and the frame is automatically advanced to the image file whose display setting is turned on. As a result, only the image of the image file whose display setting is ON is displayed on the monitor 28.

一方、ユーザは、モニタ28に表示された画像を確認し、次の画像を見る場合は、十字ボタン36の右ボタンを押下し、一つ前の画像を見る場合は、十字ボタン36の左ボタンを押下する。また、ゴミ箱ファイルの展開表示を終了する場合は、DISP/BACKボタン40を押下する。   On the other hand, the user checks the image displayed on the monitor 28 and presses the right button of the cross button 36 when viewing the next image, and presses the left button of the cross button 36 when viewing the previous image. Press. When the expanded display of the trash box file is to be ended, the DISP / BACK button 40 is pressed.

CPU110は、キー入力の有無を判定し(ステップS46)、入力された操作情報に応じた処理を実行する。   CPU110 determines the presence or absence of key input (step S46), and performs the process according to the input operation information.

・十字ボタン36の右ボタンが押下された場合
上記のように、十字ボタン36の右ボタンが押下されると、コマ送りされる。
When the right button of the cross button 36 is pressed As described above, when the right button of the cross button 36 is pressed, the frame is advanced.

十字ボタン36の右ボタンが押下されると、CPU110は、パラメータmに1を加算する(ステップS47)。そして、1加算した後のパラメータmが、パラメータMを超えているか否か判定する(ステップS48)。   When the right button of the cross button 36 is pressed, the CPU 110 adds 1 to the parameter m (step S47). Then, it is determined whether or not the parameter m after adding 1 exceeds the parameter M (step S48).

ここで、パラメータmが、パラメータMを超えていないと判定すると、ステップS44の処理に戻り、次のコマの表示設定を確認する。一方、パラメータmが、パラメータMを超えていると判定すると、CPU110は、パラメータmに1を設定し、ステップS44の処理に戻る。すなわち、最初のコマの表示設定を確認する。   If it is determined that the parameter m does not exceed the parameter M, the process returns to step S44 to confirm the display setting of the next frame. On the other hand, when determining that the parameter m exceeds the parameter M, the CPU 110 sets 1 to the parameter m and returns to the process of step S44. That is, the display setting of the first frame is confirmed.

・十字ボタン36の左ボタンが押下された場合
上記のように、十字ボタン36の左ボタンが押下されると、コマ戻しされる。
When the left button of the cross button 36 is pressed As described above, when the left button of the cross button 36 is pressed, the frame is returned.

十字ボタン36の左ボタンが押下されると、CPU110は、パラメータmから1を除算する(ステップS50)。そして、1除算した後のパラメータmが、0か否か判定する(ステップS51)。   When the left button of the cross button 36 is pressed, the CPU 110 divides 1 from the parameter m (step S50). Then, it is determined whether or not the parameter m after division by 1 is 0 (step S51).

ここで、パラメータmが0ではないと判定すると、ステップS44の処理に戻り、一つ前のコマの表示設定を確認する。一方、パラメータmが、0であると判定すると、CPU110は、パラメータmにMを設定し、ステップS44の処理に戻る。すなわち、最終コマの表示設定を確認する。   If it is determined that the parameter m is not 0, the process returns to step S44 and the display setting of the previous frame is confirmed. On the other hand, when determining that the parameter m is 0, the CPU 110 sets M to the parameter m and returns to the process of step S44. That is, the display setting of the last frame is confirmed.

・DISP/BACKボタン40が押下された場合
上記のように、DISP/BACKボタン40が押下されると、CPU110は、展開表示の処理を終了する。この場合、ゴミ箱ファイルの次の画像ファイルがモニタ28に再生表示される(メニュー画面でゴミ箱ファイルの展開表示を指示した場合には、直前のモードに復帰する。)。
When the DISP / BACK button 40 is pressed As described above, when the DISP / BACK button 40 is pressed, the CPU 110 ends the expanded display process. In this case, the next image file of the trash box file is reproduced and displayed on the monitor 28 (when the expansion display of the trash box file is instructed on the menu screen, the previous mode is restored).

このように、本実施の形態のデジタルカメラでは、ゴミ箱ファイル内の画像を確認する際、必要な画像のみ表示させることができるので、目的とする画像を容易に探し出すことができ、管理閲覧性を向上させることができる。   As described above, in the digital camera according to the present embodiment, when confirming the image in the trash can file, only the necessary image can be displayed, so that the target image can be easily found, and management viewability is improved. Can be improved.

また、表示/非表示の設定を行っているだけなので、必要な場合にいつでも復元させることができる。   Moreover, since only display / non-display settings are performed, it can be restored whenever necessary.

また、表示/非表示の設定を行っているだけなので、処理に負担が掛からず、処理能力の低い機器においても、待ち時間等を発生させずに、軽快に表示処理動作を行うことができる。   In addition, since only display / non-display settings are performed, no burden is imposed on processing, and even a device with low processing capacity can perform display processing operation lightly without generating a waiting time or the like.

なお、上記の例では、ゴミ箱ファイルに格納された画像ファイルを1コマずつモニタ28に表示させているが、複数コマをまとめて表示するようにしてもよい。   In the above example, the image files stored in the trash box file are displayed on the monitor 28 frame by frame, but a plurality of frames may be displayed together.

<ゴミ箱ファイル内の画像ファイルの復元方法>
さて、上記のように、本実施の形態のデジタルカメラでは、ゴミ箱ファイル内の画像を任意に展開表示させることができる。したがって、この展開表示中に画像ファイルの復元指示ができるようにすることが好ましい。同様に展開表示中に画像ファイルの表示設定(表示OFFの設定)ができるようにすることが好ましい。
<Restoring image file in trash file>
As described above, in the digital camera of the present embodiment, an image in the trash can file can be arbitrarily expanded and displayed. Therefore, it is preferable that an instruction to restore the image file can be given during the expanded display. Similarly, it is preferable that the display setting (display OFF setting) of the image file can be performed during the expanded display.

以下、ゴミ箱ファイル内の画像の展開表示中に画像ファイルの復元指示、表示設定を行う場合の処理について説明する。   Hereinafter, a process in the case where an image file restoration instruction and display setting are performed during the expansion display of an image in the trash can file will be described.

ゴミ箱ファイルの展開表示中における画像ファイルの復元指示、及び、表示設定は、復元対象の画像、又は、表示設定をOFFにする画像が、モニタ28に表示されている時に、所定のキー操作を行うことにより行われる。   The instruction to restore the image file and display settings during the display of the expanded display of the trash can file are performed by performing a predetermined key operation when the image to be restored or the image for which the display setting is turned off is displayed on the monitor 28. Is done.

本例では、目的画像の表示中に十字ボタン36の上ボタンが押下されると、復元指示が入力され、下ボタンが押下されると、表示設定がOFFにされる。   In this example, when the upper button of the cross button 36 is pressed while the target image is displayed, a restoration instruction is input, and when the lower button is pressed, the display setting is turned off.

図13は、ゴミ箱ファイルの展開表示中に画像ファイルの復元処理及び表示設定を行う場合の処理の手順を示すフローチャートである。   FIG. 13 is a flowchart illustrating a processing procedure when image file restoration processing and display setting are performed during display of a trash box file expanded.

なお、展開表示中に表示設定がONにされている画像のみが表示される点は、上述した展開表示時の処理の手順と同じである。   Note that only the image for which the display setting is ON during the expanded display is displayed, which is the same as the procedure of the process during the expanded display described above.

したがって、ここでは、画像ファイルの復元処理及び表示設定の処理についてのみ説明する。   Therefore, only the image file restoration processing and display setting processing will be described here.

上記のように、本例では、画像表示中に十字ボタン36の上ボタンが押下されると、復元指示が入力され、下ボタンが押下されると、表示設定がOFFに設定される(右ボタンが押下された場合はコマ送り、左ボタンが押下された場合はコマ戻し)。   As described above, in this example, when the upper button of the cross button 36 is pressed during image display, a restoration instruction is input, and when the lower button is pressed, the display setting is set to OFF (right button If frame is pressed, frame advance is performed, and if the left button is pressed, frame reverse is performed).

図14は、モニタ28の表示例を示す図である。同図に示すように、モニタ28には、画面中央に読み出した画像ファイルの画像(mコマ目の画像)が表示される。そして、その画像の上下左右に十字ボタン36に割り当てられた機能のアイコンが表示される。本例の場合、画像の右側にコマ送りのアイコン、左側にコマ戻しのアイコン、上側に復元のアイコン、下側に表示のOFF設定のアイコンが表示される。   FIG. 14 is a diagram illustrating a display example of the monitor 28. As shown in the figure, the image of the read image file (m-th frame image) is displayed on the monitor 28 at the center of the screen. Then, icons of functions assigned to the cross button 36 are displayed on the top, bottom, left, and right of the image. In this example, a frame advance icon is displayed on the right side of the image, a frame return icon is displayed on the left side, a restore icon is displayed on the upper side, and an OFF setting icon is displayed on the lower side.

CPU110は、読み出した画像ファイルの画像をモニタ28に表示させるとともに、これらのアイコン画像を表示させる。   The CPU 110 displays the image of the read image file on the monitor 28 and displays these icon images.

ユーザは、このモニタ28の表示に基づいて必要な操作を行う。すなわち、現在、モニタ28に表示されている画像を復元する場合には、十字ボタン36の上ボタンを押下する。一方、現在、モニタ28に表示されている画像の表示設定をOFFにする場合(非表示とする場合)は、十字ボタン36の下ボタンを押下する。また、次の画像を確認する場合は、十字ボタン36の右ボタンを押下し、前の画像を確認する場合は、十字ボタン36の左ボタンを押下する。さらに、ゴミ箱ファイルの展開表示を終了する場合は、DISP/BACKボタン40を押下する。   The user performs necessary operations based on the display on the monitor 28. That is, when the image currently displayed on the monitor 28 is restored, the upper button of the cross button 36 is pressed. On the other hand, when the display setting of the image currently displayed on the monitor 28 is turned off (when not displayed), the lower button of the cross button 36 is pressed. Also, when confirming the next image, the right button of the cross button 36 is pressed, and when confirming the previous image, the left button of the cross button 36 is pressed. Further, when the expansion display of the trash box file is finished, the DISP / BACK button 40 is pressed.

CPU110は、操作部112からの入力に基づき、キー入力の有無を判定し(ステップS45)、入力されたキー操作に応じた処理を実行する。   The CPU 110 determines whether or not there is a key input based on the input from the operation unit 112 (step S45), and executes a process according to the input key operation.

なお、右ボタン、左ボタン、DISP/BACKボタン40が押下されたときの処理内容は、上述した展開表示時と同じなので、ここでは上ボタン又は下ボタンが押下されたときの処理について説明する。   Note that the processing contents when the right button, the left button, and the DISP / BACK button 40 are pressed are the same as those in the above-described expanded display, and therefore, the processing when the upper button or the lower button is pressed will be described here.

・十字ボタン36の右ボタンが押下された場合
上記のように、十字ボタン36の上ボタンが押下されると、表示中の画像の復元処理が行われる(ステップS60)。
When the right button of the cross button 36 is pressed As described above, when the upper button of the cross button 36 is pressed, the restoration processing of the image being displayed is performed (step S60).

図15は、復元処理の手順を示すフローチャートである。   FIG. 15 is a flowchart showing the procedure of the restoration process.

同図に示すように、まず、CPU110は、復元対象画像(現在表示中の画像)の画像ファイルをゴミ箱ファイルから抽出する(ステップS70)。   As shown in the figure, first, the CPU 110 extracts an image file of an image to be restored (currently displayed image) from the trash box file (step S70).

次に、抽出した画像ファイルを元に画像ファイルを新規作成する(ステップS71)。すなわち、単独のExifファイルとして必要な情報を付加(必要に応じて削除)して、画像ファイルを新規に作成する。なお、本例では、削除した画像ファイルは、ほぼそのままの状態でゴミ箱ファイルに格納されるので、ゴミ箱ファイルを抽出するだけ(必要に応じてヘッダのタグ情報を修正)で画像ファイルを復元することができる。   Next, a new image file is created based on the extracted image file (step S71). That is, necessary information is added (deleted as necessary) as a single Exif file, and a new image file is created. In this example, the deleted image file is stored in the trash box file almost as it is, so that the image file can be restored simply by extracting the trash box file (modifying header tag information as necessary). Can do.

画像ファイルの復元後、CPU110は、ゴミ箱ファイルから復元した画像ファイルの格納領域を削除し(ステップS72)、ファイルの基本情報(格納数などヘッダに記録される情報)を更新する。そして、パラメータMから1を除算するとともに(ステップS73)、パラメータmから1を除算して(ステップS74)、元のフローに復帰する。   After restoring the image file, the CPU 110 deletes the storage area of the restored image file from the trash box file (step S72), and updates the basic information (information recorded in the header such as the number of storages) of the file. Then, 1 is subtracted from the parameter M (step S73), and 1 is subtracted from the parameter m (step S74) to return to the original flow.

この後、CPU110は、パラメータmに1を加算し(ステップS61)、1加算した後のパラメータmが、パラメータMを超えているか否か判定し(ステップS48)、パラメータmが、パラメータMを超えていないと判定すると、ステップS44の処理に戻り、次のコマの表示設定を確認する。また、パラメータmが、パラメータMを超えていると判定すると、パラメータmに1を設定し、ステップS44の処理に戻って、最初のコマの表示設定を確認する。   Thereafter, the CPU 110 adds 1 to the parameter m (step S61), determines whether the parameter m after adding 1 exceeds the parameter M (step S48), and the parameter m exceeds the parameter M. If it is determined that it is not, the process returns to step S44 and the display setting of the next frame is confirmed. If it is determined that the parameter m exceeds the parameter M, the parameter m is set to 1, and the process returns to step S44 to confirm the display setting of the first frame.

このように、表示中に十字ボタン36の上ボタンが押下されると、復元処理が行われ、削除された画像ファイルが復元される。   As described above, when the upper button of the cross button 36 is pressed during display, a restoration process is performed, and the deleted image file is restored.

・十字ボタン36の左ボタンが押下された場合
上記のように、十字ボタン36の下ボタンが押下されると、現在表示中の画像の表示設定がOFFにされる。
When the left button of the cross button 36 is pressed As described above, when the lower button of the cross button 36 is pressed, the display setting of the currently displayed image is turned off.

CPU110は、十字ボタン36の下ボタンが押下されると、現在表示中の画像に対して、表示設定をOFFに設定し、その情報をゴミ箱ファイルの所定領域に記録する(ステップS62)。   When the lower button of the cross button 36 is pressed, the CPU 110 sets the display setting to OFF for the currently displayed image and records the information in a predetermined area of the trash box file (step S62).

この後、CPU110は、パラメータmに1を加算し(ステップS63)、1加算した後のパラメータmが、パラメータMを超えているか否かを判定する(ステップS48)。そして、パラメータmが、パラメータMを超えていないと判定すると、ステップS44の処理に戻り、次のコマを表示設定を確認する。また、パラメータmが、パラメータMを超えていると判定すると、パラメータmに1を設定し、ステップS44の処理に戻って、最初のコマの表示設定を確認する。   Thereafter, the CPU 110 adds 1 to the parameter m (step S63), and determines whether or not the parameter m after adding 1 exceeds the parameter M (step S48). If it is determined that the parameter m does not exceed the parameter M, the process returns to step S44, and the display setting of the next frame is confirmed. If it is determined that the parameter m exceeds the parameter M, the parameter m is set to 1, and the process returns to step S44 to confirm the display setting of the first frame.

このように、ゴミ箱ファイルの展開表示中に画像の復元処理を行うことにより、復元しようとする画像を簡単に見つけ出すことができ、利便性が向上する。   In this way, by performing the image restoration process during the development display of the trash can file, it is possible to easily find the image to be restored, and the convenience is improved.

なお、上記の例では、復元した画像ファイルをゴミ箱ファイルから削除しているが、削除せずに残しておいてもよい。この場合、表示設定をOFFに切り替えるようにしてもよい。   In the above example, the restored image file is deleted from the trash box file, but it may be left without being deleted. In this case, the display setting may be switched to OFF.

また、上記の例では、復元と同時に元の画像ファイルをゴミ箱ファイルから削除しているが、削除処理は別のタイミングで実施するようにしてもよい。たとえば、ゴミ箱ファイルの展開表示終了後に実施するようにしてもよい。これにより、複数の画像ファイルを復元したような場合に一括して削除処理を行うことができるので、処理効率を向上させることができる。   In the above example, the original image file is deleted from the trash box file simultaneously with the restoration. However, the deletion process may be performed at another timing. For example, it may be carried out after the end of the trash box file display. As a result, when a plurality of image files are restored, the deletion process can be performed collectively, so that the processing efficiency can be improved.

<ゴミ箱ファイル内の画像ファイルの完全削除>
上記のように、ゴミ箱ファイル内の各画像ファイルに対して表示/非表示の設定を個別に行うことにより、ゴミ箱ファイル内の画像の閲覧、管理性を向上させることができ、また、処理負荷の低減を図ることができる。
<Permanently delete image files in trash file>
As described above, by individually setting display / non-display for each image file in the trash can file, it is possible to improve the viewing and manageability of the images in the trash can file, and to reduce the processing load. Reduction can be achieved.

その一方で不要な画像ファイルが、いつまでも残存することにより、記憶メディアの記憶容量を圧迫する不具合がある。   On the other hand, there is a problem that an unnecessary image file remains indefinitely, thereby pressing the storage capacity of the storage medium.

したがって、ゴミ箱ファイル内の不要な画像ファイルは完全に削除できるようにすることが好ましい。   Therefore, it is preferable that unnecessary image files in the trash box file can be completely deleted.

この場合、ゴミ箱ファイル内の画像ファイルを個別に削除することもできるが、不要な画像ファイルを一括して削除することにより、効率的に処理することができる。   In this case, the image files in the trash can file can be individually deleted, but can be efficiently processed by deleting unnecessary image files all at once.

本実施の形態のデジタルカメラ10では、表示設定がOFFにされている画像ファイルをゴミ箱ファイルから一括して削除する機能(以下、清掃機能という。)を備えている。以下、この清掃機能について説明する。   The digital camera 10 according to the present embodiment has a function (hereinafter referred to as a cleaning function) that collectively deletes image files whose display settings are OFF from the trash box file. Hereinafter, this cleaning function will be described.

清掃機能の呼び出しは、メニュー画面で行われる。すなわち、あらかじめメニュー項目の一つとして、「ゴミ箱ファイルの清掃」の項目が用意されており、この項目がメニュー画面で選択されると、清掃の機能が呼び出される(清掃の処理プログラムが実行される。)。   The cleaning function is called on the menu screen. That is, as one of the menu items, an item “cleaning the trash box file” is prepared in advance, and when this item is selected on the menu screen, a cleaning function is called (cleaning processing program is executed). .)

なお、ゴミ箱ファイルが複数存在する場合は、清掃処理を実行するゴミ箱ファイルの選択処理が行われる。   If there are a plurality of trash files, a trash file selection process for performing the cleaning process is performed.

なお、処理の実行の指示方法は、これに限定されるものではなく、たとえば、ゴミ箱ファイルの再生表示中(代表画像の再生表示中)に清掃指示を与えられるようにしてもよい。   The process execution instruction method is not limited to this. For example, a cleaning instruction may be given during reproduction display of a trash box file (reproduction display of a representative image).

CPU110は、清掃の指示が入力されると、ゴミ箱ファイルを解析し、図16に示すように、表示設定がOFFにされている画像ファイルを削除して、ゴミ箱ファイルを再構築する。   When the cleaning instruction is input, the CPU 110 analyzes the trash can file, deletes the image file whose display setting is OFF, and reconstructs the trash can file as shown in FIG.

図17は、清掃処理の手順を示すフローチャートである。   FIG. 17 is a flowchart showing the procedure of the cleaning process.

清掃指示が入力されると(ステップS80)、CPU110は、ゴミ箱ファイルを解析し(ステップS81)、その解析結果に基づいて、表示設定OFFの画像ファイルが存在するか否かを判定する(ステップS82)。   When a cleaning instruction is input (step S80), the CPU 110 analyzes the trash box file (step S81), and determines whether there is an image file with display setting OFF based on the analysis result (step S82). ).

ここで、ゴミ箱ファイル内に表示設定OFFの画像ファイルが存在しないと判定すると、処理を終了する(必要に応じてエラーメッセージを表示して終了する。)
一方、ゴミ箱ファイル内に表示設定OFFの画像ファイルが存在すると判定すると、その画像ファイル以降に表示設定ONの画像ファイルが存在するか否かを判定する(ステップS83)。
If it is determined that there is no image file whose display setting is OFF in the trash box file, the process ends (an error message is displayed if necessary and the process ends).
On the other hand, if it is determined that an image file with display setting OFF exists in the trash box file, it is determined whether or not there is an image file with display setting ON after the image file (step S83).

ここで、その表示設定OFFの画像ファイル以降に表示設定がONの画像ファイルが存在すると判定すると、図18(b)に示すように、その表示設定がOFFの画像ファイルの領域に以降の画像ファイルをコピーする(ステップS84)。たとえば、図18の例では、同図(a)に示すように、画像ファイルAについては表示設定ON、画像ファイルBについては表示設定OFF、画像ファイルCについては表示設定OFF、画像ファイルDについては表示設定ONの設定がなされているので、同図(b)に示すように、表示設定OFFの画像ファイルB、Cの領域に、それ以降の画像ファイルである画像ファイルDをコピーする。   If it is determined that there is an image file whose display setting is ON after the image file whose display setting is OFF, as shown in FIG. 18B, the subsequent image file is placed in the area of the image file whose display setting is OFF. Is copied (step S84). For example, in the example of FIG. 18, as shown in FIG. 18A, the display setting is ON for the image file A, the display setting is OFF for the image file B, the display setting is OFF for the image file C, and the image file D is Since the display setting ON is set, the image file D, which is the subsequent image file, is copied to the areas of the image files B and C with the display setting OFF as shown in FIG.

この後、CPU110は、更に、表示設定がOFFの画像ファイルの有無を判定し(ステップS84)、表示設定がOFFの画像ファイルが存在すると判定すると、ステップS83に戻って、その画像ファイル以降に表示設定ONの画像ファイルが存在するか否かを判定する。   Thereafter, the CPU 110 further determines whether or not there is an image file whose display setting is OFF (step S84). If it is determined that there is an image file whose display setting is OFF, the CPU 110 returns to step S83 to display the image file after that image file. It is determined whether there is an image file whose setting is ON.

ここで、その表示設定OFFの画像ファイル以降に表示設定ONの画像ファイルが存在しないと判定すると、CPU110は、当該ゴミ箱ファイルの管理情報を更新し(ステップS86)、処理を終了する。この場合、図18(c)に示すように、最終の画像ファイル以降の領域が開放される。すなわち、図18に示す例では、最終の画像ファイルである画像ファイルDの終端以降の領域が開放される。   If the CPU 110 determines that there is no image file with the display setting ON after the image file with the display setting OFF, the CPU 110 updates the management information of the trash box file (step S86) and ends the process. In this case, as shown in FIG. 18C, the area after the last image file is released. That is, in the example shown in FIG. 18, the area after the end of the image file D which is the final image file is released.

これにより、図18(d)に示すように、ゴミ箱ファイル内には、表示設定ONの画像ファイルのみが残される。なお、管理情報の更新は、たとえば、表示設定のON/OFFの設定情報を代表画像領域のヘッダ部分に記録している場合には、当該表示設定情報を最新の情報の情報に更新する。また、併せて該当する関連情報を最新のものに更新する。   As a result, as shown in FIG. 18D, only the image file whose display setting is ON is left in the trash box file. The management information is updated, for example, when the display setting ON / OFF setting information is recorded in the header portion of the representative image area, the display setting information is updated to the latest information. In addition, the relevant information is updated to the latest information.

このように、不要な画像ファイルをゴミ箱ファイルから削除(完全削除)することにより、ゴミ箱ファイルのファイルサイズを縮小させることができる。また、一括して削除することにより、効率的に処理することができる。   In this way, by deleting (completely deleting) unnecessary image files from the trash can file, the file size of the trash can file can be reduced. Moreover, it can process efficiently by deleting collectively.

<ゴミ箱ファイル内の画像ファイルの個別削除>
上記の例では、ゴミ箱ファイル内の表示設定がOFFの画像ファイルを一括して削除することとしているが、個別に削除できるようにしてもよい。
<Individual deletion of image files in trash file>
In the above example, the image files whose display setting is OFF in the trash can file are collectively deleted, but may be individually deleted.

以下、ゴミ箱ファイル内の画像ファイルを個別に削除する場合について説明する。   Hereinafter, a case where the image files in the trash box file are individually deleted will be described.

図19は、ゴミ箱ファイルに格納された画像ファイルを個別に削除する時の処理の手順を示すフローチャートである。   FIG. 19 is a flowchart showing a processing procedure when individually deleting image files stored in the trash can file.

ゴミ箱ファイルに格納された画像ファイルの個別削除の処理は、カメラのモードを個別削除モードに設定して行われる(ステップS90)。個別削除モードへの移行は、メニュー画面で行われる。   The individual deletion process of the image file stored in the trash box file is performed by setting the camera mode to the individual deletion mode (step S90). Transition to the individual deletion mode is performed on the menu screen.

カメラのモードが、個別削除モードに設定されると、CPU110は、ユーザにディレクトリ(フォルダ)の選択をさせる(ステップS91)。すなわち、完全削除する画像ファイルが格納されているディレクトリの選択処理を行わせる。この選択処理は、たとえば、メモリカード152のDCFイメージルートディレクトリに生成されているDCFディレクトリをモニタ28に一覧表示させ、その1つを選択させることにより行われる。   When the camera mode is set to the individual deletion mode, the CPU 110 allows the user to select a directory (folder) (step S91). That is, the selection process of the directory storing the image file to be completely deleted is performed. This selection process is performed, for example, by displaying a list of DCF directories generated in the DCF image root directory of the memory card 152 and selecting one of them.

ディレクトリの選択が行われると、CPU110は、メモリカード152にアクセスし、そのディレクトリにゴミ箱ファイルが存在するか否かを判定する(ステップS92)。ここで、選択されたディレクトリにゴミ箱ファイルが存在しないと判定すると、CPU110は、所定のエラーメッセージ(たとえば、「ゴミ箱ファイルがありません」等)をモニタ28に表示させる(ステップS99)。   When the directory is selected, the CPU 110 accesses the memory card 152 and determines whether or not a trash box file exists in the directory (step S92). If it is determined that there is no trash can file in the selected directory, the CPU 110 displays a predetermined error message (for example, “no trash can file”) on the monitor 28 (step S99).

一方、選択されたディレクトリにゴミ箱ファイルが存在する場合は、そのゴミ箱ファイルに格納されている画像ファイルの画像をモニタ28に表示させる(ステップS93)。ユーザは、操作部を利用して、このモニタ28に表示された画像の中から完全に削除する画像を選択し、完全削除の実行を指示する(ステップS94)。   On the other hand, if a trash box file exists in the selected directory, the image of the image file stored in the trash box file is displayed on the monitor 28 (step S93). Using the operation unit, the user selects an image to be completely deleted from the images displayed on the monitor 28 and instructs execution of the complete deletion (step S94).

ここで、画像の表示は、たとえば、1コマずつ行われるものとし、十字ボタン36の右ボタンの押下でコマ送り、左ボタンの押下でコマ戻しが行われる。そして、下ボタンの押下で完全削除の指示が行われる。ユーザは、十字ボタン36の右ボタン又は左ボタンの押下で完全削除する画像をモニタ28に表示させ、表示されたところで下ボタンを押下する。これにより、削除する画像が選択され、完全削除の指示が入力される。   Here, it is assumed that the image is displayed frame by frame, for example, frame advance is performed by pressing the right button of the cross button 36, and frame return is performed by pressing the left button. Then, an instruction for complete deletion is issued by pressing the down button. The user causes the monitor 28 to display an image to be completely deleted by pressing the right button or the left button of the cross button 36, and presses the down button when displayed. As a result, an image to be deleted is selected, and a complete deletion instruction is input.

削除させる画像が選択され、完全削除の指示が入力されると、CPU110は、削除の実行を確認するメッセージ(たとえば、「この画像を完全に削除しますか?」等)をモニタ28に表示させる(ステップS95)。ユーザは、このメッセージを見て、完全削除の実行を指示する場合は、MENU/OKボタン38を押下し、処理をキャンセルする場合は、DISP/BACKボタン40を押下する。   When an image to be deleted is selected and an instruction for complete deletion is input, CPU 110 causes monitor 28 to display a message confirming execution of the deletion (for example, “Do you want to delete this image completely?”). (Step S95). The user views the message and presses the MENU / OK button 38 when instructing execution of complete deletion, and presses the DISP / BACK button 40 when canceling the process.

CPU110は、操作部112からの入力に基づき、完全削除の実行が指示されたか否かを判定する(ステップS96)。そして、完全削除の実行が指示されたと判定すると、選択された画像の画像ファイルをゴミ箱ファイルから削除する。すなわち、その画像ファイルが格納されているゴミ箱ファイルの領域を削除する(ステップS47)。   Based on the input from the operation unit 112, the CPU 110 determines whether execution of complete deletion has been instructed (step S96). If it is determined that execution of complete deletion has been instructed, the image file of the selected image is deleted from the trash box file. That is, the trash box file area in which the image file is stored is deleted (step S47).

なお、この削除処理は、上記のように、削除対象の画像ファイルが格納されている領域を完全に削除して、ゴミ箱ファイルを再構築するようにしてもよいし、削除対象の画像ファイルが格納されている領域をNULLとして、削除するようにしてもよい。   Note that, as described above, this deletion processing may be performed by completely deleting the area where the image file to be deleted is stored and reconstructing the trash box file, or storing the image file to be deleted. The deleted area may be deleted as NULL.

この後、CPU110は、画像ファイルの完全削除の処理を継続するか否かを問い合わせるメッセージをモニタ28に表示させる。ユーザは、このメッセージに確認して、操作部112から処理の継続の要否を入力する。   Thereafter, the CPU 110 causes the monitor 28 to display a message asking whether to continue the process of complete deletion of the image file. The user confirms this message and inputs whether or not to continue the process from the operation unit 112.

CPU110は、操作部112の入力に基づいて、処理の継続の要否を判定し(ステップS98)、処理の終了が指示されたと判定すると、処理を終了する。一方、継続する場合は、ステップS91に戻り、上記処理を再度実行する。   Based on the input from the operation unit 112, the CPU 110 determines whether or not it is necessary to continue the process (step S98). If it is determined that the end of the process is instructed, the process ends. On the other hand, when continuing, it returns to step S91 and performs the said process again.

このように、ゴミ箱ファイル内の画像ファイルを個別に削除(完全削除)することもできる。   In this way, the image files in the trash can file can be individually deleted (completely deleted).

なお、本モードでは、表示設定のON/OFFに関わらず、ゴミ箱ファイル内のすべての画像ファイルが表示される。   In this mode, all image files in the trash box file are displayed regardless of whether the display setting is ON / OFF.

なお、上記の例では、削除処理のみを行うようにしているが、同時に復元処理もできるようにしてもよい。   In the above example, only the deletion process is performed, but the restoration process may be performed at the same time.

図20は、ゴミ箱ファイルに格納された画像ファイルを復元/削除する処理の手順を示すフローチャートである。   FIG. 20 is a flowchart showing a procedure of processing for restoring / deleting an image file stored in a trash box file.

この処理は、カメラのモードをゴミ箱ファイル編集モードに設定して行われる(ステップS100)。ゴミ箱ファイル編集モードへの移行は、たとえば、メニュー画面で行われる。   This process is performed by setting the camera mode to the trash box file editing mode (step S100). The transition to the trash box file editing mode is performed on a menu screen, for example.

カメラのモードが、ゴミ箱ファイル編集モードに設定されると、CPU110は、ユーザにディレクトリ(フォルダ)の選択をさせる(ステップS101)。すなわち、編集対象とするゴミ箱ファイルが格納されているディレクトリの選択処理を行わせる。   When the camera mode is set to the trash box file editing mode, the CPU 110 allows the user to select a directory (folder) (step S101). That is, the selection processing of the directory storing the trash box file to be edited is performed.

ディレクトリの選択が行われると、CPU110は、メモリカード152にアクセスし、そのディレクトリにゴミ箱ファイルが存在するか否かを判定する(ステップS102)。ここで、選択されたディレクトリにゴミ箱ファイルが存在しないと判定すると、CPU110は、所定のエラーメッセージ(たとえば、「ゴミ箱ファイルがありません」等)をモニタ28に表示させる(ステップS115)。   When a directory is selected, the CPU 110 accesses the memory card 152 and determines whether a trash box file exists in the directory (step S102). If it is determined that there is no trash can file in the selected directory, the CPU 110 displays a predetermined error message (for example, “no trash can file”) on the monitor 28 (step S115).

一方、選択されたディレクトリにゴミ箱ファイルが存在する場合は、そのゴミ箱ファイルに格納されている画像ファイルの画像をモニタ28に表示させる(ステップS103)。   On the other hand, if there is a trash box file in the selected directory, the image of the image file stored in the trash box file is displayed on the monitor 28 (step S103).

ここで、画像の表示は、たとえば、1コマずつ行われるものとし、十字ボタン36の右ボタンの押下でコマ送り、左ボタンの押下でコマ戻しが行われる。また、上ボタンの押下で復元指示、下ボタンの押下で完全削除の指示が行われる。   Here, it is assumed that the image is displayed frame by frame, for example, frame advance is performed by pressing the right button of the cross button 36, and frame return is performed by pressing the left button. In addition, a restoration instruction is issued by pressing the upper button, and a complete deletion instruction is issued by pressing the lower button.

CPU110は、操作部112からの入力に基づいて、画像のコマ送り、コマ戻しの指示が行われたか否かを判定する(ステップS104)。   Based on the input from the operation unit 112, the CPU 110 determines whether or not an instruction for frame advance / return of an image has been issued (step S104).

ここで、コマ送りが指示されると、CPU110は、次に削除された画像ファイルの画像をモニタ28に表示させ、コマ戻しが表示されると、その前に削除された画像ファイルの画像(最初に削除された画像ファイルの場合は、最後に削除された画像ファイルの画像)をモニタ28に表示させる(ステップS105)。   Here, when frame advance is instructed, the CPU 110 displays the image of the next deleted image file on the monitor 28, and when the frame reverse is displayed, the image of the previously deleted image file (first In the case of the image file deleted in step S105, the last deleted image file image) is displayed on the monitor 28 (step S105).

このように、ユーザは、十字ボタン36の右ボタン又は左ボタンの操作により、復元又は完全削除を希望する画像をモニタ28の画面上に表示させる。   As described above, the user displays an image desired to be restored or completely deleted on the screen of the monitor 28 by operating the right button or the left button of the cross button 36.

そして、復元又は完全削除を希望する画像ファイルの画像がモニタ28に表示されたところで、十字ボタン36の上ボタン又は下ボタンを押下する。すなわち、モニタ28に表示された画像の復元を希望する場合は、十字ボタン36の上ボタンを押下し、削除を希望する場合は、下ボタンを押下する。   When the image of the image file desired to be restored or completely deleted is displayed on the monitor 28, the upper button or the lower button of the cross button 36 is pressed. That is, when it is desired to restore the image displayed on the monitor 28, the upper button of the cross button 36 is pressed, and when the deletion is desired, the lower button is pressed.

上記ステップS104でコマ送り/コマ戻しが指示されていないと判定すると、CPU110は、操作部からの入力に基づいて、表示画像の復元又は削除が指示されたか否かを判定する(ステップS106)。   If it is determined in step S104 that frame advance / frame return is not instructed, the CPU 110 determines whether display image restoration or deletion has been instructed based on an input from the operation unit (step S106).

ここで、復元が指示されたと判定すると(十字ボタン36の上ボタンが押下されたと判定すると)、CPU110は、復元実行を確認するメッセージ(たとえば、「この画像を復元しますか?」等)をモニタ28に表示させる(ステップS107)。ユーザは、このメッセージを見て、復元実行を指示する場合は、MENU/OKボタン38を押下し、処理をキャンセルする場合は、DISP/BACKボタン40を押下する。   If it is determined that restoration is instructed (when it is determined that the upper button of the cross button 36 is pressed), the CPU 110 displays a message for confirming restoration (for example, “Do you want to restore this image?”). It is displayed on the monitor 28 (step S107). The user views the message and presses the MENU / OK button 38 when instructing to execute restoration, and presses the DISP / BACK button 40 when canceling the process.

CPU110は、操作部112からの入力に基づき、復元の実行が指示されたか否かを判定する(ステップS108)。そして、復元の実行が指示されたと判定すると、選択された画像の画像ファイルをゴミ箱ファイルから抽出し、その画像ファイルを復元する(ステップS109)。そして、復元した画像ファイルが格納されていたゴミ箱ファイルの領域を削除する(ステップS110)。   CPU110 determines whether execution of restoration was instructed based on an input from operation unit 112 (step S108). If it is determined that execution of restoration is instructed, the image file of the selected image is extracted from the trash box file, and the image file is restored (step S109). Then, the area of the trash box file in which the restored image file is stored is deleted (step S110).

この後、CPU110は、復元処理の継続を問い合わせるメッセージをモニタ28に表示させる。ユーザは、このメッセージに確認して、操作部112から復元処理の継続の要否を入力する。CPU110は、操作部112の入力に基づいて、復元処理の継続の要否を判定し(ステップS114)、復元処理の終了が指示されたと判定すると、処理を終了する。これにより、所望の画像を復元することができる。   Thereafter, the CPU 110 causes the monitor 28 to display a message for inquiring the continuation of the restoration process. The user confirms this message and inputs the necessity of continuing the restoration process from the operation unit 112. Based on the input from the operation unit 112, the CPU 110 determines whether or not the continuation of the restoration process is necessary (step S114). Thereby, a desired image can be restored.

一方、上記ステップS106にて、削除が指示されたと判定すると(十字ボタン36の下ボタンが押下されたと判定すると)、CPU110は、削除実行を確認するメッセージ(たとえば、「この画像を完全に削除しますか?」等)をモニタ28に表示させる(ステップS71)。ユーザは、このメッセージを見て、完全削除の実行を指示する場合は、MENU/OKボタン38を押下し、処理をキャンセルする場合は、DISP/BACKボタン40を押下する。   On the other hand, when it is determined in step S106 that deletion has been instructed (when it is determined that the lower button of the cross button 36 has been pressed), the CPU 110 confirms the deletion execution (for example, “Delete this image completely”). Etc.? "Is displayed on the monitor 28 (step S71). The user views the message and presses the MENU / OK button 38 when instructing execution of complete deletion, and presses the DISP / BACK button 40 when canceling the process.

CPU110は、操作部112からの入力に基づき、削除の実行が指示されたか否かを判定する(ステップS112)。そして、削除の実行が指示されたと判定すると、選択された画像の画像ファイルをゴミ箱ファイルから削除する(ステップS113)。   CPU110 determines whether execution of deletion was instruct | indicated based on the input from the operation part 112 (step S112). If it is determined that execution of deletion has been instructed, the image file of the selected image is deleted from the trash box file (step S113).

この後、CPU110は、復元処理の継続を問い合わせるメッセージをモニタ28に表示させる。ユーザは、このメッセージに確認して、操作部112から復元処理の継続の要否を入力する。CPU110は、操作部112の入力に基づいて、復元処理の継続の要否を判定し(ステップS114)、復元処理の終了が指示されたと判定すると、処理を終了する。これにより、不要な画像ファイルをゴミ箱ファイルから削除し、メモリカード152から完全に削除することができる。   Thereafter, the CPU 110 causes the monitor 28 to display a message for inquiring the continuation of the restoration process. The user confirms this message and inputs the necessity of continuing the restoration process from the operation unit 112. Based on the input from the operation unit 112, the CPU 110 determines whether or not the continuation of the restoration process is necessary (step S114). As a result, unnecessary image files can be deleted from the trash box file and completely deleted from the memory card 152.

このように、1つのモード(ゴミ箱ファイル編集モード)で画像ファイルの復元と完全削除を行うようにすることもできる。これにより、効率よく画像ファイルの管理を行うことができる。   In this manner, the image file can be restored and completely deleted in one mode (trash box file editing mode). As a result, the image file can be efficiently managed.

なお、本例では、十字ボタン36の右ボタンをコマ送り、左ボタンをコマ戻し、上ボタンを復元、下ボタンを削除に割り当てているが、たとえば、十字ボタン36の右ボタンを削除、左ボタンを復元、上ボタンをコマ送り、下ボタンをコマ戻しに割り当てるようにしてもよい。   In this example, the right button of the cross button 36 is forwarded, the left button is moved back, the upper button is restored, and the lower button is assigned to delete. For example, the right button of the cross button 36 is deleted, the left button May be restored, the upper button may be forwarded frame by frame, and the lower button may be assigned to frame backward.

また、モニタ28には、十字ボタン36に割り当てられた機能をアイコンで表示することが好ましい。   Further, it is preferable that the function assigned to the cross button 36 is displayed on the monitor 28 as an icon.

<ゴミ箱ファイルの他の例>
上記のように、本実施の形態のデジタルカメラでは、Exif形式に準じてゴミ箱ファイルを生成している。そして、その代表画像領域D1には、最初に削除された画像ファイルの画像を代表画像として格納している。このように生成されたゴミ箱ファイルは、通常のExifファイルと同様に扱うことができ、Exifファイルを認識可能な機器で開くと、代表画像(最初に削除された画像ファイルの画像)がモニタに表示される。
<Other examples of trash files>
As described above, the digital camera according to the present embodiment generates a trash box file according to the Exif format. In the representative image area D1, the image of the image file deleted first is stored as a representative image. The trash file generated in this way can be handled in the same way as a normal Exif file. When the Exif file is opened on a device that can recognize the file, a representative image (image of the image file that was deleted first) is displayed on the monitor. Is done.

しかし、このような表示は、通常の画像ファイルと混同を生じるおそれがあり、誤って削除されるおそれがある。   However, such a display may be confused with a normal image file and may be deleted by mistake.

したがって、ゴミ箱ファイルは、一見して他の画像ファイルと識別できるようにすることがより好ましい。   Therefore, it is more preferable that the trash can file can be distinguished from other image files at a glance.

このため、代表画像領域D1には、ゴミ箱ファイルであることが認識できる画像を代表画像として格納することが好ましい。   For this reason, it is preferable to store an image that can be recognized as a trash can file as a representative image in the representative image area D1.

このような画像としては、図21に示すような画像が考えられる。同図(a)〜(c)は、ゴミ箱ファイル内に格納されている画像ファイルの画像をインデックス表示したものである。   As such an image, an image as shown in FIG. 21 can be considered. FIGS. 9A to 9C show images of image files stored in the trash can file as indexes.

同図(a)は、ゴミ箱ファイル内に格納されている特定の画像ファイルの画像(たとえば、最初に削除された4つの画像ファイルの画像)を整列させてインデックス表示させたものを代表画像としたものであり、各画像を縦横に整列させて構成されている(この例では2×2で整列)。   FIG. 4A shows a representative image obtained by arranging and indexing images of a specific image file (for example, images of four image files deleted first) stored in a trash can file. Each image is arranged vertically and horizontally (in this example, 2 × 2).

同図(b)は、ゴミ箱ファイル内に格納されている特定の画像ファイルの画像(たとえば、最初に削除された5つの画像ファイルの画像)をランダムにインデックス表示させたものを代表画像としたものであり、各画像をランダムに配置して構成されている。   FIG. 4B shows a representative image obtained by randomly displaying images of a specific image file (for example, images of five image files deleted first) stored in a trash can file. Each image is arranged at random.

同図(c)は、ゴミ箱ファイル内に格納されている全画像ファイルの画像をインデックス表示させたものを代表画像としたものであり、各画像を縦横に整列させて構成されている。   FIG. 6C shows a representative image obtained by indexing all the image files stored in the trash can file, and is configured by arranging the images vertically and horizontally.

一方、同図(d)は、ゴミ箱の図柄を代表画像としたものである。   On the other hand, FIG. 6D shows a trash can symbol as a representative image.

図21(d)に示す画像を代表画像として使用する場合は、当該画像の画像ファイルをあらかじめ用意しておき(たとえば、ROM116やフラッシュROM118等に格納しておく)、ゴミ箱ファイルの生成時に当該画像ファイルを使用して、ゴミ箱ファイルを生成する。   When the image shown in FIG. 21D is used as a representative image, an image file of the image is prepared in advance (for example, stored in the ROM 116, the flash ROM 118, or the like), and the image is generated when the trash box file is generated. Generate a trash file using the file.

一方、図21(a)〜(c)に示すように、ゴミ箱ファイル内に格納されている画像ファイルの画像を利用する場合は、ゴミ箱ファイルの生成時に代表画像を生成する。   On the other hand, as shown in FIGS. 21A to 21C, when using the image of the image file stored in the trash box file, the representative image is generated when the trash box file is generated.

図22は、ゴミ箱ファイル内に格納されている画像のインデックス画像を代表画像とする場合のゴミ箱ファイルの生成処理の手順を示すフローチャートである。   FIG. 22 is a flowchart showing a procedure of a trash box file generation process when an index image of an image stored in the trash box file is used as a representative image.

なお、本フローチャートは、図21(a)に示す画像をゴミ箱ファイルの代表画像として生成する場合のフローチャートである。すなわち、最初に削除された4つの画像ファイルの画像からインデックス画像を生成し、当該インデックス画像を代表画像とする場合のフローチャートである。   This flowchart is a flowchart when the image shown in FIG. 21A is generated as a representative image of the trash can file. That is, this is a flowchart in the case where an index image is generated from images of four image files deleted first and the index image is used as a representative image.

再生モードの状態で画像ファイルの削除を行う点は上記と同じである。まず、ユーザは、カメラのモードを再生モードに設定し、削除対象とする画像ファイルの画像をモニタ28に表示させる(ステップS120)。   The point that the image file is deleted in the playback mode is the same as described above. First, the user sets the camera mode to the playback mode, and displays the image of the image file to be deleted on the monitor 28 (step S120).

CPU110は、操作部112からの入力に基づいて、削除ボタン34が押下されたか否か、すなわち、削除が指示されたか否かを判定する(ステップS121)。   Based on the input from the operation unit 112, the CPU 110 determines whether or not the delete button 34 has been pressed, that is, whether or not deletion has been instructed (step S121).

削除が指示されたと判定すると、CPU110は、削除確認のメッセージをモニタ28に表示させる(ステップS122)。ユーザは、このメッセージを確認し、削除を実行する場合は、MENU/OKボタン38を押下し、指示を取り消す場合は、DISP/BACKボタン40を押下する。CPU110は、操作部からの入力に基づいて、削除の実行が指示されたか否かを判定する(ステップS123)。そして、削除実行が指示されると、CPU110は、当該削除対象の画像ファイルが格納されているフォルダ(ディレクトリ)にゴミ箱ファイルが存在するか否かを判定する(ステップS124)。   When determining that the deletion is instructed, the CPU 110 displays a deletion confirmation message on the monitor 28 (step S122). The user confirms this message and presses the MENU / OK button 38 to execute deletion, and presses the DISP / BACK button 40 to cancel the instruction. CPU110 determines whether execution of deletion was instruct | indicated based on the input from an operation part (step S123). When deletion is instructed, the CPU 110 determines whether or not a trash box file exists in the folder (directory) in which the deletion target image file is stored (step S124).

ここで、削除対象の画像ファイルが格納されているフォルダにゴミ箱ファイルが存在していないと判定すると、CPU110は、新規にゴミ箱ファイルを作成する(ステップS12)。   If it is determined that there is no trash can file in the folder storing the image file to be deleted, the CPU 110 newly creates a trash can file (step S12).

この後、ゴミ箱ファイルの代表画像の更新の要否を判定する(ステップS126)。すなわち、最初に削除された4つの画像ファイルの画像からインデックス画像が生成されているか否かを判定する。   Thereafter, it is determined whether or not the representative image of the trash can file needs to be updated (step S126). That is, it is determined whether or not an index image has been generated from the images of the four image files deleted first.

ここで、最初に削除された4つの画像ファイルの画像からインデックス画像が生成されていないと判定すると(代表画像の更新が必要と判定すると)、CPU110は、インデックス画像の生成処理(代表画像の更新処理)を行う(ステップS127)。すなわち、削除された画像ファイルの画像を利用して、デジタル信号処理部142にインデックス画像の生成処理を行わせる。そして、生成されたインデックス画像を代表画像として、ゴミ箱ファイルを生成する。すなわち、生成されたインデックス画像を代表画像として、代表画像領域D1に格納する。   If it is determined that the index image has not been generated from the images of the first deleted four image files (when it is determined that the representative image needs to be updated), the CPU 110 generates an index image (representative image update). Process) (step S127). In other words, the digital signal processing unit 142 is caused to perform index image generation processing using the image of the deleted image file. Then, a trash can file is generated using the generated index image as a representative image. That is, the generated index image is stored in the representative image area D1 as a representative image.

この代表画像の更新処理は、インデックス画像が完成されるまで、すなわち、4つの画像ファイルが削除されるまで行われる。   This update process of the representative image is performed until the index image is completed, that is, until the four image files are deleted.

CPU110は、このようにして作成されたゴミ箱ファイルに削除指示された画像の画像ファイルを記録する(ステップS128)。そして、削除指示された画像の画像ファイルをメモリカード152から削除する(ステップS129)。   The CPU 110 records the image file of the image instructed to be deleted in the trash box file created in this way (step S128). Then, the image file of the image instructed to be deleted is deleted from the memory card 152 (step S129).

この後、CPU110は、操作部112からの入力に基づいて、再生モードの終了が指示されたか否かを判定し(ステップS130)、再生モードの終了が指示されると、処理を終了する。   Thereafter, the CPU 110 determines whether or not the end of the playback mode is instructed based on the input from the operation unit 112 (step S130), and ends the process when the end of the playback mode is instructed.

このようにして生成されたゴミ箱ファイルは、その表示時にゴミ箱ファイルに格納されている画像ファイルの画像(最初に削除された4枚分の画像)がインデックス表示された画像が表示され、他の画像ファイルから容易に識別できるようになる。また、その内容物の確認も行うことができるようになる。   The trash file generated in this way displays an image in which the images of the image files stored in the trash file at the time of display (images for the first four deleted images) are displayed as indexes. It can be easily identified from the file. Also, the contents can be confirmed.

なお、本例では、最初に削除された4枚の画像ファイルの画像からインデックス画像を生成するようにしているが、インデックス画像を生成する画像、及び、その枚数は、これに限定されるものではない。たとえば、最後に削除された4枚の画像ファイルの画像からインデックス画像を生成するようにしてもよいし(この場合、削除するたびにインデックス画像を更新する)、また、一定枚数ごとに抽出した画像からインデックス画像を生成するようにしてもよい。   In this example, the index image is generated from the images of the four image files that are deleted first. However, the image for generating the index image and the number of images are not limited to this. Absent. For example, an index image may be generated from the images of the last four deleted image files (in this case, the index image is updated each time the image is deleted), or images extracted every certain number of images. An index image may be generated from.

また、図21(c)に示すように、ゴミ箱ファイルに格納されている画像ファイルの画像すべてをインデックス表示させた画像を代表画像とする場合は、画像ファイルを削除するたびに、代表画像を更新する処理が行われる。   Further, as shown in FIG. 21C, when the image obtained by indexing all the images of the image file stored in the trash can file is used as the representative image, the representative image is updated every time the image file is deleted. Processing is performed.

また、インデックス画像を生成する場合は、ゴミ箱ファイルであることが、より明瞭に認識できるようにするため、背景に所定の図柄(たとえば、ゴミ箱の画等)を合成することが好ましい。   In addition, when generating an index image, it is preferable to synthesize a predetermined pattern (for example, a trash can image) on the background so that it can be clearly recognized that the file is a trash can file.

なお、インデックス画像で代表画像を生成する場合、その生成タイミングは、画像の削除時(ゴミ箱ファイルへの追記時)やゴミ箱ファイルの生成時に限らず、任意のタイミングで行うことができるようにしてもよい。   When generating a representative image from an index image, the generation timing is not limited to the time of image deletion (addition to a trash can file) or the generation of a trash can file, but may be performed at an arbitrary timing. Good.

また、特定の画像ファイルからインデックス画像を生成して代表画像とする場合、そのインデックス画像に用いられた画像の表示設定がOFFにされると、表示設定がONの画像から改めて代表画像を生成するようにしてもよい。   In addition, when an index image is generated from a specific image file and used as a representative image, when the display setting of the image used for the index image is turned OFF, a representative image is generated again from the image with the display setting ON. You may do it.

また、すべての画像ファイルからインデックス画像を生成して代表画像を生成する場合は、表示設定がONにされている画像ファイルの画像のみを利用して代表画像を生成するようにしてもよい。また、この場合、表示設定が切り替えられた場合は、改めて代表画像を生成するようにしてもよい。   Further, when generating a representative image by generating index images from all image files, the representative image may be generated using only the image of the image file whose display setting is ON. In this case, when the display setting is switched, a representative image may be generated again.

<ゴミ箱ファイルの表示方法の他の例>
上記のように、本実施の形態のデジタルカメラでは、Exif形式に準じてゴミ箱ファイルを生成しており、Exifファイルを認識可能な機器で開くと、代表画像領域D1に格納された代表画像がモニタに表示される。
<Other examples of how to display trash files>
As described above, in the digital camera according to the present embodiment, a trash can file is generated according to the Exif format. When the Exif file is opened by a device that can recognize the representative image, the representative image stored in the representative image area D1 is monitored. Is displayed.

ここで、上記のように、ゴミ箱ファイルに格納されている削除済み画像のインデックス画像が代表画像として格納されている場合は、そのインデックス画像がモニタに表示されるので、他の画像ファイルと容易に区別することができる。   Here, as described above, when the index image of the deleted image stored in the trash can file is stored as the representative image, the index image is displayed on the monitor, so it can be easily compared with other image files. Can be distinguished.

しかし、インデックス画像が代表画像として格納されていない場合は、他の画像ファイルと容易に区別できないおそれがある。   However, if the index image is not stored as a representative image, it may not be easily distinguishable from other image files.

そこで、ゴミ箱ファイルを表示する場合は、ゴミ箱ファイルに格納されている画像をインデックス表示させることが好ましい。   Therefore, when displaying a trash box file, it is preferable to display an index of images stored in the trash box file.

以下、ゴミ箱ファイルを表示する場合の処理について説明する。   Hereinafter, a process for displaying a trash box file will be described.

図23は、ゴミ箱ファイルに格納されている画像をインデックス表示する場合の処理手順を示すフローチャートである。   FIG. 23 is a flowchart showing a processing procedure when an image stored in the trash box file is displayed as an index.

上記のように、再生モードに設定すると(ステップS140)、メモリカード152に記録されている画像ファイルの画像がモニタに表示される。   As described above, when the playback mode is set (step S140), the image of the image file recorded on the memory card 152 is displayed on the monitor.

まず、CPU110は、表示対象とする画像のファイルが、ゴミ箱ファイルか否かを判定する(ステップS141)。   First, the CPU 110 determines whether the image file to be displayed is a trash box file (step S141).

ここで、ゴミ箱ファイルではないと判定すると、CPU110は、通常の表示処理の方式に従って当該画像ファイルの画像をモニタ28に表示させる(ステップS148)。   If the CPU 110 determines that the file is not a trash can file, the CPU 110 displays the image of the image file on the monitor 28 in accordance with a normal display processing method (step S148).

一方、表示対象とする画像ファイルがゴミ箱ファイルと判定すると、CPU110は、そのゴミ箱ファイルを解析する(ステップS142)。そして、代表画像領域D1に代表画像として、インデックス画像が格納されているか否かを判定する(ステップS143)。   On the other hand, if the image file to be displayed is determined to be a trash box file, the CPU 110 analyzes the trash box file (step S142). Then, it is determined whether or not an index image is stored as a representative image in the representative image area D1 (step S143).

なお、代表画像領域D1に格納されている代表画像が、インデックス画像か否かの判定は、たとえば、代表画像領域D1のヘッダの情報を読み取って判定する。したがって、インデックス画像を代表画像として記録する場合は、代表画像領域D1のヘッダに当該画像がインデックス画像であることを示す情報を記録しておく。   Whether or not the representative image stored in the representative image area D1 is an index image is determined by, for example, reading the header information of the representative image area D1. Therefore, when an index image is recorded as a representative image, information indicating that the image is an index image is recorded in the header of the representative image area D1.

CPU110は、代表画像として格納されている画像がインデックス画像であると判定すると、その代表画像として格納されたインデックス画像をモニタ28に表示させる(ステップS144)。これにより、当該ファイルがゴミ箱ファイルであること、及び、その中身を確認することができる。   When CPU 110 determines that the image stored as the representative image is an index image, CPU 110 displays the index image stored as the representative image on monitor 28 (step S144). Thereby, it is possible to confirm that the file is a trash box file and its contents.

なお、代表画像として格納されているインデックス画像のサムネイルが格納されている場合には、このサムネイルをモニタに表示させるようにしてもよい。これにより、インデックス画像を素早く表示させることができる。   If thumbnails of index images stored as representative images are stored, these thumbnails may be displayed on the monitor. Thereby, the index image can be displayed quickly.

一方、代表画像としてインデックス画像が格納されていないと判定すると、そのゴミ箱ファイルに格納されている画像ファイルからインデックス画像を生成する(ステップS145)。この際、表示設定がONにされている画像ファイルの画像でインデックス画像を生成する。   On the other hand, if it is determined that no index image is stored as a representative image, an index image is generated from the image file stored in the trash box file (step S145). At this time, an index image is generated with the image of the image file whose display setting is ON.

そして、生成したインデックス画像をモニタ28に表示させる(ステップS146)。これにより、当該ファイルがゴミ箱ファイルであること、及び、その中身を確認することができる。   Then, the generated index image is displayed on the monitor 28 (step S146). Thereby, it is possible to confirm that the file is a trash box file and its contents.

なお、インデックス画像を代表画像として生成する場合、各画像ファイルにサムネイルが格納されている場合には、そのサムネイルを利用してインデックス画像を生成するようにしてもよい。   Note that when an index image is generated as a representative image, if a thumbnail is stored in each image file, the index image may be generated using the thumbnail.

このように、ゴミ箱ファイルの代表画像(代表画像領域D1に格納される画像)としてインデックス画像が記録されていない場合であっても、ゴミ箱ファイルに格納された各画像ファイルからインデックス画像を生成し、これをモニタに表示させることにより、通常の画像ファイルとゴミ箱ファイルとを容易に見分けることができる。また、ゴミ箱ファイルの中身を容易に確認することができる。   As described above, even when the index image is not recorded as the representative image of the trash can file (the image stored in the representative image area D1), the index image is generated from each image file stored in the trash can file, By displaying this on the monitor, a normal image file and a trash can file can be easily distinguished. In addition, the contents of the trash can file can be easily confirmed.

なお、本例では、ゴミ箱ファイルの代表画像としてインデックス画像が記録されている場合、これを利用してゴミ箱ファイルの表示を行っているが、インデックス画像の有無にかかわらず、ゴミ箱ファイルに格納された画像ファイルからインデックス画像を生成し、これをモニタに表示させるようにしてもよい。   In this example, if an index image is recorded as the representative image of the trash can file, the trash bin file is displayed using this index image, but it is stored in the trash can file regardless of the presence or absence of the index image. An index image may be generated from the image file and displayed on a monitor.

また、インデックス画像は、ゴミ箱ファイルに格納されているすべての画像ファイルの画像をから生成してもよいし、特定の画像ファイルの画像(たとえば、最初に削除されたN枚、最後に削除されたN枚(Nは整数))から生成してもよい。また、その配列形態も種々の態様をとることができる。   In addition, the index image may be generated from images of all image files stored in the trash file, or an image of a specific image file (for example, N images deleted first, last deleted) N sheets (N is an integer)) may be generated. Moreover, the arrangement | sequence form can also take a various aspect.

また、ゴミ箱ファイルの画像の表示の際には、ゴミ箱ファイルに格納されている画像の枚数も同時に表示させることが好ましい。これにより、格納枚数も把握することができる。   Further, when displaying the image of the trash can file, it is preferable to simultaneously display the number of images stored in the trash can file. Thereby, the number of stored sheets can also be grasped.

また、このゴミ箱ファイルの内容を個別に表示する場合には、現在表示中の画像が、全体の中で何枚目の画像かを識別できる表示(たとえば、全体の枚数が102枚で3枚目の表示ならば、「3/102枚」と表示する等)を併せて表示することが好ましい。   In addition, when the contents of the trash box file are individually displayed, a display that can identify the number of images currently being displayed (for example, the total number is 102 and the third image is displayed). Is preferably displayed together with “3/102 sheets”.

<ゴミ箱ファイルの表示方法の他の例2>
上記のように、本実施の形態のデジタルカメラでは、Exif形式に準じてゴミ箱ファイルを生成しており、Exifファイルを認識可能な機器で開くと、代表画像領域D1に格納された代表画像がモニタに表示される。
<Other example 2 of display method of trash file>
As described above, in the digital camera according to the present embodiment, a trash can file is generated according to the Exif format. When the Exif file is opened by a device that can recognize the representative image, the representative image stored in the representative image area D1 is monitored. Is displayed.

ゴミ箱ファイルは、不要な画像ファイルを1つにまとめ、必要に応じて復元できるようにしたものであるから、その表示は必要な場合だけでよい(たとえば、展開表示時や復元時、完全削除時など)。   The trash can file is a collection of unnecessary image files that can be restored if necessary. Therefore, the trash box file need only be displayed when necessary (for example, when expanded, restored, or completely deleted). Such).

そこで、ゴミ箱ファイルの表示/非表示を任意に設定できるようにすることが好ましい。   Therefore, it is preferable that display / non-display of the trash can file can be arbitrarily set.

以下、ゴミ箱ファイルの表示/非表示を任意に設定し、ゴミ箱ファイルを表示する場合の処理について説明する。   In the following, a description will be given of processing in a case where display / non-display of the trash box file is arbitrarily set and the trash box file is displayed.

ゴミ箱ファイルの表示/非表示の設定は、たとえば、メニュー画面で行われる。すなわち、メニュー項目の1つとして、ゴミ箱ファイルの表示/非表示の設定項目を用意しておき、この項目を選択して、表示/非表示(表示のON/OFF)の設定ができるようにする。   The display / non-display setting of the trash box file is performed on a menu screen, for example. That is, as one of the menu items, a setting item for displaying / hiding the trash box file is prepared, and this item can be selected to set display / non-display (display ON / OFF). .

設定された情報は、たとえば、フラッシュROM118に格納される。CPU110は、このゴミ箱ファイルの表示/非表示の設定に応じてゴミ箱ファイルの表示処理を行う。   The set information is stored in the flash ROM 118, for example. The CPU 110 performs a trash file display process in accordance with the display / non-display setting of the trash file.

図24は、ゴミ箱ファイルの表示/非表示の設定が行われた場合における画像ファイルの再生処理の手順を示すフローチャートである。   FIG. 24 is a flowchart showing the procedure of the image file reproduction process when the trash box file display / non-display setting is performed.

まず、カメラのモードが、再生モードに設定されると(ステップS160)。メモリカード152に格納されている画像ファイルの読み出しが行われる(ステップS161)。この際、最初に読み出すファイルは、特に限定されないが、ここでは、一番最後に撮影された画像ファイルとする。   First, when the camera mode is set to the playback mode (step S160). The image file stored in the memory card 152 is read (step S161). At this time, the file to be read first is not particularly limited, but here, it is assumed that the image file is taken last.

CPU110は、読み出した画像ファイルが、ゴミ箱ファイルか否かを判定する(ステップS162)。   The CPU 110 determines whether or not the read image file is a trash box file (step S162).

ここで、読み出した画像ファイルが、ゴミ箱ファイルでないと判定すると、CPU110は、通常の処理に従って、その画像ファイルの画像をモニタ28に表示させる(ステップS164)。   If the CPU 110 determines that the read image file is not a trash can file, the CPU 110 displays the image of the image file on the monitor 28 according to normal processing (step S164).

一方、読み出し画像ファイルが、ゴミ箱ファイルであると判定すると、CPU110は、フラッシュROM118に格納された設定情報に基づき、ゴミ箱ファイルの表示設定がONにされているか否かを判定する(ステップS163)。   On the other hand, when determining that the read image file is a trash box file, the CPU 110 determines whether or not the display setting of the trash box file is turned on based on the setting information stored in the flash ROM 118 (step S163).

ここで、ゴミ箱ファイルの表示設定がONに設定されていると判定すると、CPU110は、その画像ファイルの画像(代表画像の画像)をモニタ28に表示させる(ステップS164)。   If the CPU 110 determines that the display setting of the trash box file is set to ON, the CPU 110 displays the image of the image file (representative image) on the monitor 28 (step S164).

一方、ゴミ箱ファイルの表示設定がOFFに設定されていると判定すると、CPU110は、その画像の表示は行わず、次の画像ファイルの読み出しを行う(ステップS161)。   On the other hand, when determining that the display setting of the trash box file is set to OFF, the CPU 110 does not display the image but reads the next image file (step S161).

この後、CPU110は、操作部112からの入力に基づいて、コマ送り/コマ戻しの操作が行われたか否かを判定する(ステップS165)。そして、コマ送り/コマ戻しの操作が行われたと判定すると、上記ステップS161に戻り、次の画像ファイル(コマ送り字)又は前の画像ファイル(コマ戻し時)の読み出しを行う。また、コマ送り/コマ戻しの操作が行われていないと判定すると、再生モードの終了が指示されたか否かを判定し(ステップS166)、再生モードの終了が指示されたと判定すると、画像の再生処理を終了する。   Thereafter, the CPU 110 determines whether or not a frame advance / frame return operation has been performed based on an input from the operation unit 112 (step S165). If it is determined that a frame advance / frame return operation has been performed, the process returns to step S161 to read out the next image file (frame advance character) or the previous image file (at the time of frame return). If it is determined that the frame advance / return operation has not been performed, it is determined whether or not the end of the playback mode has been instructed (step S166). If it is determined that the end of the playback mode has been instructed, the image playback is performed. The process ends.

このように、ゴミ箱ファイルの表示/非表示を設定できることにより、ゴミ箱ファイルを誤って削除するのを防止でき、また、使い勝手も向上させることができる。   As described above, the display / non-display of the trash box file can be set, so that the trash box file can be prevented from being accidentally deleted, and the usability can be improved.

なお、本例では、ゴミ箱ファイルの表示設定をフラッシュROM118に記録する構成としているが、ゴミ箱ファイル自体に記録するようにしてもよい(たとえば、メーカーノート等に記録)。   In this example, the display setting of the trash box file is recorded in the flash ROM 118, but may be recorded in the trash box file itself (for example, recorded in a maker note or the like).

また、本例では、ゴミ箱ファイルの表示設定を一括して行っているが、各ゴミ箱ファイルごとに個別に表示/非表示を設定するようにしてもよい。   In this example, the display setting of the trash can file is collectively performed, but display / non-display may be set individually for each trash can file.

<ゴミ箱ファイルの格納形態の他の例>
上記実施の形態では、メモリカードに生成されたDCFディレクトリごとにゴミ箱ファイルを生成している。すなわち、削除された画像ファイルと同じディレクトリにゴミ箱ファイルを格納している。
<Another example of storage form of trash file>
In the above embodiment, a trash box file is generated for each DCF directory generated in the memory card. That is, the trash box file is stored in the same directory as the deleted image file.

しかし、ゴミ箱ファイルの格納場所は、これに限定されるものではない。以下、このゴミ箱ファイルの格納形態について説明する。   However, the storage location of the trash box file is not limited to this. Hereinafter, a storage form of the trash box file will be described.

図25は、メモリカードのディレクトリ構造の他の例を示す概略図である。同図に示すように、この例では、メモリカードをDCFイメージルートディレクトリにゴミ箱ファイルを格納している。このように、画像ファイルが格納されたディレクトリ(フォルダ)ごとにゴミ箱ファイルを格納するのではなく、DCFイメージルートディレクトリごとに格納することもできる。   FIG. 25 is a schematic diagram showing another example of the directory structure of the memory card. As shown in the figure, in this example, the trash box file is stored in the DCF image root directory of the memory card. As described above, instead of storing the trash box file for each directory (folder) in which the image file is stored, it can be stored for each DCF image root directory.

この場合、ゴミ箱ファイル自体は、画像ファイルが格納されたディレクト単位で生成するようにしてもよいし、また、画像ファイルが格納されたディレクトに関係なく、1つにまとめて生成するようにしてもよい。   In this case, the trash can file itself may be generated in units of directories in which image files are stored, or may be generated as a single unit regardless of the directory in which the image files are stored. Good.

図26は、メモリカードのディレクトリ構造の他の例を示す概略図である。同図に示すように、この例では、DCFイメージルートディレクトリの直下にゴミ箱ファイルを格納するための専用のディレクトリ(フォルダ)を生成し、そのディレクトリにゴミ箱ファイルを格納している。   FIG. 26 is a schematic diagram showing another example of the directory structure of the memory card. As shown in the figure, in this example, a dedicated directory (folder) for storing a trash box file is generated directly under the DCF image root directory, and the trash box file is stored in that directory.

この場合も、ゴミ箱ファイル自体は、画像ファイルが格納されたディレクト単位で生成するようにしてもよいし、また、画像ファイルが格納されたディレクトに関係なく、1つにまとめて生成するようにしてもよい。   Also in this case, the trash can file itself may be generated for each directory in which the image file is stored, or may be generated as a single unit regardless of the directory in which the image file is stored. Also good.

図27は、ゴミ箱ファイルの格納形態の他の例の説明図である。同図に示すように、この例では、撮影により得られた画像の画像ファイルは、メモリカード152に格納し、ゴミ箱ファイルは、内蔵メモリであるフラッシュROM118に格納している。   FIG. 27 is an explanatory diagram of another example of the storage form of the trash box file. As shown in the figure, in this example, an image file of an image obtained by photographing is stored in a memory card 152, and a trash box file is stored in a flash ROM 118 which is a built-in memory.

これにより、メモリカード152がカメラから取り外され、他の機器で読み取られた際、ゴミ箱ファイルを誤って削除してしまうのを有効に防止することができる。また、他の機器がゴミ箱ファイルを認識できずに、不具合が発生するのを有効に防止することができる。   Thereby, when the memory card 152 is removed from the camera and read by another device, it is possible to effectively prevent the trash box file from being accidentally deleted. In addition, it is possible to effectively prevent a malfunction from occurring because other devices cannot recognize the trash box file.

この場合も、ゴミ箱ファイル自体は、画像ファイルが格納されたメモリカードのディレクト単位で生成するようにしてもよいし、また、画像ファイルが格納されたメモリカードのディレクトに関係なく、1つにまとめて生成するようにしてもよい。   In this case as well, the trash can file itself may be generated in units of the direction of the memory card in which the image file is stored. May be generated.

なお、上記のように、ゴミ箱ファイルは、これを認識できない機器で読み取ろうとすると、不具合を発生させるおそれがある。   As described above, if the trash box file is read by a device that cannot recognize the trash box file, a problem may occur.

そこで、ゴミ箱ファイルは、選択的に外部の機器に認識させないようにすることが好ましい。   Therefore, it is preferable that the trash box file is not selectively recognized by an external device.

この方法としては、たとえば、ファイルの属性を隠しファイルに設定したりすること考えられる。   As this method, for example, the attribute of the file may be set to a hidden file.

また、本実施の形態のデジタルカメラは、通信インタフェイス162を介してパソコン等の外部機器に接続でき、接続された場合はストレージデバイスとして認識されるので、外部機器に接続された場合には、外部機器側にゴミ箱ファイルを通知しないことで、ゴミ箱ファイルを認識させないことができる。   In addition, the digital camera of this embodiment can be connected to an external device such as a personal computer via the communication interface 162. When connected, the digital camera is recognized as a storage device. By not notifying the external device side of the trash box file, the trash box file can be prevented from being recognized.

さらに、ゴミ箱ファイルを機器の内部メモリ(上記の例では、フラッシュROM118)に格納する場合には、内部メモリ自体を外部機器に認識(通知)させないことで、ゴミ箱ファイルが外部機器に認識されるのを防止することができる。   Further, when the trash box file is stored in the internal memory of the device (the flash ROM 118 in the above example), the trash bin file is recognized by the external device by not allowing the external device to recognize (notify) the internal memory itself. Can be prevented.

<その他の実施の形態>
上記実施の形態では、本発明をデジタルカメラに適用した場合を例に説明したが、本発明の適用は、これに限定されるものではない。画像を記憶する記憶手段と、その記憶手段に記憶された画像ファイルを表示する機能を有する機器であれば、同様に適用することができ、同様の作用効果を奏することができる。特に、パソコンの場合には、上記の各機能を所定のプログラムによって実現させることができる。
<Other embodiments>
In the above embodiment, the case where the present invention is applied to a digital camera has been described as an example. However, the application of the present invention is not limited to this. Any device having a storage unit that stores an image and a function of displaying an image file stored in the storage unit can be applied in the same manner, and the same effects can be obtained. In particular, in the case of a personal computer, the above functions can be realized by a predetermined program.

また、上記実施の形態では、ゴミ箱ファイルをExif形式に準じて構成しているが、ゴミ箱ファイルの構成は、これに限定されるものではない。すなわち、削除された複数の画像ファイルをまとめて、1つのファイルとして格納できる構成のものであればよい。   In the above embodiment, the trash box file is configured according to the Exif format, but the configuration of the trash box file is not limited to this. In other words, any configuration may be used as long as a plurality of deleted image files can be stored together as one file.

また、格納する画像ファイルについても、上記実施の形態では、Exifファイルを格納する場合を例に説明したが、格納する画像ファイルの形式についても、特に限定されるものではなく、他の形式の画像ファイルを削除する場合についても、同様に適用することができる。したがって、たとえば、RAW画像ファイルを格納することもできる。   Also, with regard to the image file to be stored, in the above embodiment, the case where the Exif file is stored has been described as an example, but the format of the image file to be stored is not particularly limited, and an image of another format is stored. The same applies to the case of deleting a file. Therefore, for example, a RAW image file can be stored.

この場合、ゴミ箱ファイルにExifファイルとRAW画像ファイル等の他の画像ファイルを混在して格納するようにしてもよいが、ファイル形式ごとにゴミ箱ファイルを生成するようにしてもよい。すなわち、たとえば、Exifファイルは、Exifファイル用のゴミ箱ファイル、RAW画像ファイルは、RAW画像ファイル用のゴミ箱ファイルを個別に生成し、分別して格納するようにしてもよい。   In this case, other image files such as an Exif file and a RAW image file may be mixed and stored in the trash can file, but a trash can file may be generated for each file format. That is, for example, an Exif file may be generated separately for an Exif file trash box file, and a RAW image file may be generated separately and stored separately for a RAW image file.

また、RAW画像ファイルを格納する場合には、当該RAW画像データを所定フォーマットで圧縮し、圧縮後の画像ファイルを格納するようにしてもよい。この場合、圧縮方式は、可逆圧縮でもよいし、また、非可逆圧縮でもよい。非可逆圧縮の場合は、RAW画像ファイルに格納された、RAW画像データをJPEG圧縮し、RAW画像ファイルをExifファイルに変換して、格納するようにしてもよい。   When storing a RAW image file, the RAW image data may be compressed in a predetermined format, and the compressed image file may be stored. In this case, the compression method may be lossless compression or lossy compression. In the case of irreversible compression, the RAW image data stored in the RAW image file may be JPEG compressed, and the RAW image file may be converted into an Exif file and stored.

また、上記実施の形態では、ゴミ箱ファイルをDCF規格に準じてメモリカードに記録する構成としているが、ゴミ箱ファイルを格納する方法や、ゴミ箱ファイル名の付与方法は、これに限定されるものではない。   In the above embodiment, the trash box file is recorded on the memory card in accordance with the DCF standard. However, the method of storing the trash box file and the method of assigning the trash box file name are not limited to this. .

さらに、上記実施の形態では、静止画の画像ファイルを削除する場合について説明したが、動画の画像ファイルを削除する場合も同様に適用することができる。この場合、動画は動画ファイルは、動画の画像ファイルごとにゴミ箱ファイルに格納するようにしてもよいし、また、静止画と動画のファイルを混在させてゴミ箱ファイルに格納するようにしてもよい。   Further, in the above embodiment, the case of deleting a still image file has been described. However, the present invention can be similarly applied to the case of deleting a moving image file. In this case, the moving image file may be stored in a trash can file for each image file of the moving image, or a still image and a moving image file may be mixed and stored in the trash can file.

また、本実施の形態では、削除指示した画像をゴミ箱ファイルに格納するようにしているが、削除指示時にゴミ箱ファイルに格納するか、完全に削除するかを選択できるようにし、ゴミ箱ファイルに格納することが選択された場合にのみ、ゴミ箱ファイルに格納するようにしてもよい(完全削除が指示された場合は、ゴミ箱ファイルには格納せずに、完全にメモリカードから消去する。)。   In this embodiment, the image that has been instructed to be deleted is stored in the trash can file. However, when the delete instruction is issued, the user can select whether the image is to be stored in the trash can file or completely deleted, and the image is stored in the trash can file. It may be stored in the trash box file only when the user selects the item (when complete deletion is instructed, it is not stored in the trash box file but is completely deleted from the memory card).

本発明が適用されたデジタルカメラの外観構成を示す正面斜視図The front perspective view which shows the external appearance structure of the digital camera to which this invention was applied 本発明が適用されたデジタルカメラの外観構成を示す背面斜視図The rear perspective view showing the appearance composition of the digital camera to which the present invention is applied 本実施の形態のデジタルカメラの電気的構成を示すブロック図Block diagram showing the electrical configuration of the digital camera of the present embodiment Exifファイルのデータ構造の概略図Schematic diagram of the data structure of an Exif file ゴミ箱ファイルの概念図Conceptual diagram of trash file ゴミ箱ファイルのデータ構造を示す概略図Schematic diagram showing the data structure of the trash file ディレクトリ構造の概略図Schematic diagram of directory structure ゴミ箱ファイルの生成処理の手順を示すフローチャートFlow chart showing the procedure of the trash file generation process ゴミ箱ファイルに格納された画像ファイルの表示設定の処理手順を示すフローチャートFlowchart showing processing procedure for display setting of image file stored in trash file モニタの表示例を示す図Figure showing a monitor display example ゴミ箱ファイルに格納された画像ファイルの表示処理の手順を示すフローチャートFlowchart showing the procedure for displaying image files stored in the trash file モニタの表示例を示す図Figure showing a monitor display example ゴミ箱ファイルの展開表示中に画像ファイルの復元処理及び表示設定を行う場合の処理の手順を示すフローチャートThe flowchart which shows the procedure of the process in the case of performing a restoration process and display setting of an image file during the expansion display of a trash box file モニタの表示例を示す図Figure showing a monitor display example 復元処理の手順を示すフローチャートFlow chart showing the procedure of restoration processing 清掃処理の概念図Conceptual diagram of cleaning process 清掃処理の手順を示すフローチャートFlow chart showing the procedure of the cleaning process 清掃処理の手順の概念図Conceptual diagram of the cleaning process procedure ゴミ箱ファイルに格納された画像ファイルを個別に削除する時の処理の手順を示すフローチャートFlow chart showing the processing procedure when individually deleting image files stored in the trash file ゴミ箱ファイルに格納された画像ファイルを復元/削除する処理の手順を示すフローチャートFlowchart showing a procedure for restoring / deleting an image file stored in the trash file ゴミ箱ファイルのモニタへの表示例を示す図Figure showing a display example of the trash file on the monitor ゴミ箱ファイル内に格納されている画像のインデックス画像を代表画像とする場合のゴミ箱ファイルの生成処理の手順を示すフローチャートThe flowchart which shows the procedure of the production | generation process of a trash box file in case the index image of the image stored in a trash box file is made into a representative image. ゴミ箱ファイルに格納されている画像をインデックス表示する場合の処理手順を示すフローチャートA flowchart showing a processing procedure for displaying an index stored in an image stored in a trash can file ゴミ箱ファイルの表示/非表示の設定が行われた場合の画像の再生処理の手順を示すフローチャートFlowchart showing the procedure of image playback processing when the trash box file display / non-display setting is performed メモリカードのディレクトリ構造の他の例を示す概略図Schematic diagram showing another example of the directory structure of the memory card メモリカードのディレクトリ構造の他の例を示す概略図Schematic diagram showing another example of the directory structure of the memory card ゴミ箱ファイルの格納形態の他の例の説明図Explanatory drawing of another example of storage form of trash file

符号の説明Explanation of symbols

10…デジタルカメラ、12…カメラボディ、14…撮影レンズ、16…フラッシュ、18…スピーカ、20…AF補助光ランプ、22…シャッタボタン、24…モードレバー、26…電源ボタン、30…ズームボタン、32…再生ボタン、34…削除ボタン、36…十字ボタン、38…MENU/OKボタン、40…DISP/BACKボタン、42…顔検出ボタン、110…CPU、112…操作部、116…ROM、118…フラッシュROM、120…メモリ(SDRAM)、122…VRAM、134…撮像素子、136…撮像素子制御部、138…アナログ信号処理部、140…A/D変換器、142…デジタル信号処理部、144…AF検出部、146…AE/AWB検出部、148…圧縮伸張処理部、150…メディアコントローラ、152…メモリカード(記憶メディア)、154…表示制御部、156…OSD(On−Screen Display)部、158…フラッシュ制御部、160…通信制御部、162…通信インタフェイス   DESCRIPTION OF SYMBOLS 10 ... Digital camera, 12 ... Camera body, 14 ... Shooting lens, 16 ... Flash, 18 ... Speaker, 20 ... AF auxiliary light lamp, 22 ... Shutter button, 24 ... Mode lever, 26 ... Power button, 30 ... Zoom button, 32 ... Play button, 34 ... Delete button, 36 ... Cross button, 38 ... MENU / OK button, 40 ... DISP / BACK button, 42 ... Face detection button, 110 ... CPU, 112 ... Operation unit, 116 ... ROM, 118 ... Flash ROM, 120 ... Memory (SDRAM), 122 ... VRAM, 134 ... Image sensor, 136 ... Image sensor controller, 138 ... Analog signal processor, 140 ... A / D converter, 142 ... Digital signal processor, 144 ... AF detection unit, 146... AE / AWB detection unit, 148... Compression / decompression processing unit, 150. Roller, 152 ... memory card (storage medium), 154 ... display controller, 156 ... OSD (On-Screen Display) unit, 158 ... flash control unit, 160 ... communication control unit, 162 ... communication interface

Claims (7)

記憶手段と、
表示手段と、
前記記憶手段に記憶されている画像ファイルの表示を指示する画像ファイル表示指示手段と、
前記画像ファイル表示指示手段からの指示に応じて、前記記憶手段に記憶されている画像ファイルの画像を前記表示手段に表示させる画像ファイル表示制御手段と、
前記表示手段に表示された画像の中から少なくとも1つを選択して、その削除を指示する削除指示手段と、
前記削除指示手段で削除が指示された画像の画像ファイルを1つにまとめたゴミ箱ファイルを生成するゴミ箱ファイル生成手段と、
前記ゴミ箱ファイル生成手段で生成されたゴミ箱ファイルを前記記憶手段に記憶させるとともに、前記削除指示手段で削除が指示された画像の画像ファイルを前記記憶手段から削除する記憶制御手段と、
前記ゴミ箱ファイルに格納されている個々の画像ファイルの画像に対して個別に表示のON/OFFを設定する表示設定手段と、
前記表示設定手段で設定された個々の画像ファイルの表示設定情報を前記ゴミ箱ファイルの所定領域に記録する設定情報記録手段と、
前記記憶手段に記憶されているゴミ箱ファイルに対して、格納されている画像ファイルの展開表示を指示するゴミ箱ファイル展開表示指示手段と、
前記ゴミ箱ファイル展開表示指示手段からの指示に応じて、前記ゴミ箱ファイルに格納されている画像ファイルの画像を前記表示手段に表示させるゴミ箱ファイル展開表示制御手段であって、前記表示設定情報に基づき、表示設定がONにされている画像ファイルの画像のみを前記表示手段に表示させるゴミ箱ファイル展開表示制御手段と、
を備えたことを特徴とする画像ファイル管理装置。
Storage means;
Display means;
Image file display instruction means for instructing display of an image file stored in the storage means;
In response to an instruction from the image file display instruction unit, an image file display control unit that causes the display unit to display an image of the image file stored in the storage unit;
A deletion instruction means for selecting at least one of the images displayed on the display means and instructing the deletion;
A trash can file generating means for generating a trash file in which image files of images instructed to be deleted by the delete instruction means are combined;
A storage control unit for storing the trash box file generated by the trash box file generation unit in the storage unit, and for deleting the image file of the image instructed to be deleted by the deletion instruction unit;
Display setting means for individually setting ON / OFF of display for images of individual image files stored in the trash box file;
Setting information recording means for recording display setting information of individual image files set by the display setting means in a predetermined area of the trash can file;
A trash can file expansion display instruction means for instructing expansion display of a stored image file with respect to a trash file stored in the storage means;
In response to an instruction from the trash can file development display instruction means, a trash can file development display control means for causing the display means to display an image of an image file stored in the trash box file, based on the display setting information, A trash can file development display control means for causing the display means to display only the image of the image file whose display setting is ON;
An image file management apparatus comprising:
前記記憶手段に記憶されているゴミ箱ファイルに対して、表示設定がOFFにされている画像ファイルの削除を指示する完全削除指示手段と、
前記完全削除指示手段からの削除指示に応じて、前記ゴミ箱ファイルから表示設定がOFFにされている画像ファイルを削除するとともに、該画像ファイルが削除された後のゴミ箱ファイルの表示設定情報を更新するゴミ箱ファイル編集手段と、
を備えたことを特徴とする請求項1に記載の画像ファイル管理装置。
A complete deletion instruction means for instructing deletion of an image file whose display setting is turned off with respect to the trash file stored in the storage means;
In response to the deletion instruction from the complete deletion instruction means, the image file whose display setting is turned off is deleted from the trash box file, and the display setting information of the trash box file after the image file is deleted is updated. Trash file editing means,
The image file management apparatus according to claim 1, further comprising:
前記表示手段に表示されたゴミ箱ファイル内の画像ファイルの中から少なくとも1つを選択して、その復元を指示する復元指示手段と、
前記復元指示手段で復元が指示された画像ファイルを前記ゴミ箱ファイルから抽出し、復元する画像ファイル復元手段と、
前記画像ファイル復元手段で復元された画像ファイルを前記ゴミ箱ファイルから削除するとともに、該画像ファイルが削除された後のゴミ箱ファイルの表示設定情報を更新するゴミ箱ファイル編集手段と、
を備えたことを特徴とする請求項1に記載の画像ファイル管理装置。
A restoration instruction means for selecting at least one of the image files in the trash box file displayed on the display means and instructing the restoration;
Image file restoration means for extracting and restoring the image file instructed for restoration by the restoration instruction means from the trash box file;
Deleting the image file restored by the image file restoring means from the trash file, and updating the trash file editing means for updating display setting information of the trash file after the image file is deleted;
The image file management apparatus according to claim 1, further comprising:
前記記憶手段に記憶されているゴミ箱ファイルに対して、表示設定がOFFにされている画像ファイルの削除を指示する完全削除指示手段と、
前記表示手段に表示されたゴミ箱ファイル内の画像ファイルの中から少なくとも1つを選択して、その復元を指示する復元指示手段と、
前記復元指示手段で復元が指示された画像ファイルを前記ゴミ箱ファイルから抽出し、復元する画像ファイル復元手段と、
前記完全削除指示手段からの削除指示に応じて、前記ゴミ箱ファイルから表示設定がOFFにされている画像ファイルを削除するとともに、前記画像ファイル復元手段で復元された画像ファイルを前記ゴミ箱ファイルから削除し、かつ、該画像ファイルが削除された後のゴミ箱ファイルの表示設定情報を更新するゴミ箱ファイル編集手段と、
を備えたことを特徴とする請求項1に記載の画像ファイル管理装置。
A complete deletion instruction means for instructing deletion of an image file whose display setting is turned off with respect to the trash file stored in the storage means;
A restoration instruction means for selecting at least one of the image files in the trash box file displayed on the display means and instructing the restoration;
Image file restoration means for extracting and restoring the image file instructed for restoration by the restoration instruction means from the trash box file;
In response to a deletion instruction from the complete deletion instruction unit, the image file whose display setting is turned off is deleted from the trash file, and the image file restored by the image file restoration unit is deleted from the trash file. And a trash file editing means for updating the display setting information of the trash file after the image file is deleted,
The image file management apparatus according to claim 1, further comprising:
前記記憶手段に記憶されているゴミ箱ファイルの表示/非表示を設定するゴミ箱ファイル表示設定手段を備え、該ゴミ箱ファイル表示設定手段の設定が表示にされている場合、前記画像ファイル表示制御手段は、前記画像ファイル表示指示手段からの表示指示に応じて、前記記憶手段に記憶されている画像ファイルの画像を前記表示手段に表示させるとともに、前記ゴミ箱ファイルに格納されている所定の代表画像を前記表示手段に表示させることを特徴とする請求項1〜4のいずれか一項に記載の画像ファイル管理装置。   A trash box file display setting unit for setting display / non-display of the trash box file stored in the storage unit, and when the setting of the trash box file display setting unit is displayed, the image file display control unit includes: In response to a display instruction from the image file display instruction unit, the image of the image file stored in the storage unit is displayed on the display unit, and a predetermined representative image stored in the trash box file is displayed. The image file management apparatus according to claim 1, wherein the image file management apparatus is displayed on a unit. 前記代表画像を生成する代表画像生成手段を備え、該代表画像生成手段は、前記ゴミ箱ファイルに格納されている画像ファイルの画像を所定の規則に従って配列した画像を代表画像として生成することを特徴とする請求項5に記載の画像ファイル管理装置。   Representative image generating means for generating the representative image, wherein the representative image generating means generates, as a representative image, an image in which the images of the image file stored in the trash can file are arranged according to a predetermined rule. The image file management apparatus according to claim 5. 請求項1〜6のいずれか一項に記載の画像ファイル管理装置を備えたことを特徴とするデジタルカメラ。   A digital camera comprising the image file management device according to claim 1.
JP2008117410A 2008-04-28 2008-04-28 Image file management apparatus and digital camera Expired - Fee Related JP4956479B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008117410A JP4956479B2 (en) 2008-04-28 2008-04-28 Image file management apparatus and digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008117410A JP4956479B2 (en) 2008-04-28 2008-04-28 Image file management apparatus and digital camera

Publications (2)

Publication Number Publication Date
JP2009267948A JP2009267948A (en) 2009-11-12
JP4956479B2 true JP4956479B2 (en) 2012-06-20

Family

ID=41393197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008117410A Expired - Fee Related JP4956479B2 (en) 2008-04-28 2008-04-28 Image file management apparatus and digital camera

Country Status (1)

Country Link
JP (1) JP4956479B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5585565B2 (en) * 2011-10-31 2014-09-10 キヤノンマーケティングジャパン株式会社 File management apparatus, file management apparatus control method, and program thereof
KR101332811B1 (en) 2012-02-24 2013-11-27 주식회사 팬택 Device with message hidden function and method for hiding and restoring message thereof
JP6064743B2 (en) * 2013-03-28 2017-01-25 富士通株式会社 Deletion control program, deletion control method, and deletion control device
JP2018077711A (en) * 2016-11-10 2018-05-17 株式会社Nttドコモ Image evaluation device and image evaluation program
KR102356349B1 (en) * 2017-06-16 2022-02-08 후아웨이 테크놀러지 컴퍼니 리미티드 File processing method and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4215286B2 (en) * 1995-05-18 2009-01-28 セイコーエプソン株式会社 Storage device content organization system and storage device content organization method
JPH1185577A (en) * 1997-09-10 1999-03-30 Toshiba Corp Information processor, file managing method and recording medium

Also Published As

Publication number Publication date
JP2009267948A (en) 2009-11-12

Similar Documents

Publication Publication Date Title
KR100731192B1 (en) Image sensing apparatus and control method thereof
US7409411B2 (en) File management program, file management method, file management apparatus, imaging device and recording medium
US7714925B2 (en) Method of marking desired images in a digital image processing apparatus using a go to function
JP4340806B2 (en) Image processing apparatus, method, and program
JP4809294B2 (en) Image recording apparatus and image recording method
JP2008011194A (en) Image processing apparatus
JP4671053B2 (en) Image recording apparatus and image recording method
JP5068690B2 (en) Image recording apparatus and method
JP4956479B2 (en) Image file management apparatus and digital camera
JP4168268B2 (en) Electronics
JP4725854B2 (en) Image display device and image display method
JP4693651B2 (en) Imaging apparatus and control method thereof
JP5115367B2 (en) Imaging device
JP2009265815A (en) Image file management device and digital camera
JP2008172653A (en) Imaging apparatus, image management method, and program
JP4860495B2 (en) Imaging device
JP2007213231A (en) Image processor
JP2007323322A (en) Photographing device and photographing device control method
JP2005117249A (en) Photography system
JP5400942B2 (en) Image recording apparatus and method
JP4310711B2 (en) Information processing apparatus and recording medium
KR100673959B1 (en) Method of controlling digital image processing apparatus for fast file management, and digital image processing apparatus using the method
JP2005210411A (en) Image reproducing device and image recording device
JP5042980B2 (en) Camera with audio playback function
JP2007019620A (en) Imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120210

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150323

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees