JP2010049658A - Image search device, image search method, program and recording medium - Google Patents

Image search device, image search method, program and recording medium Download PDF

Info

Publication number
JP2010049658A
JP2010049658A JP2008215696A JP2008215696A JP2010049658A JP 2010049658 A JP2010049658 A JP 2010049658A JP 2008215696 A JP2008215696 A JP 2008215696A JP 2008215696 A JP2008215696 A JP 2008215696A JP 2010049658 A JP2010049658 A JP 2010049658A
Authority
JP
Japan
Prior art keywords
attribute
file
directory
search
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008215696A
Other languages
Japanese (ja)
Other versions
JP2010049658A5 (en
JP5460001B2 (en
Inventor
Yuichi Nakase
雄一 中瀬
Yasuyuki Ogawa
康行 小川
Mika Tsukuda
美香 佃
Ai Yoshino
愛 吉野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2008215696A priority Critical patent/JP5460001B2/en
Publication of JP2010049658A publication Critical patent/JP2010049658A/en
Publication of JP2010049658A5 publication Critical patent/JP2010049658A5/ja
Application granted granted Critical
Publication of JP5460001B2 publication Critical patent/JP5460001B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image search device for searching for an image file at high speed, even when a large amount of image files are stored in a recording medium, based on management information for image search requiring less memory capacity. <P>SOLUTION: The image search device includes: an attribute management means which manages image files for each attribute and information for a directory including an image file having the attribute; a directory management means which manages image files for each directory and information for image file attribute in the directory; a determination means (S1204) which determines a directory including no image file having a specific attribute based on the information managed by the attribute management means and the directory management means; and a search means (S1205) which searches for an image file having the specific attribute from image files of directories which are not determined to include no image file having the specific attribute. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は,記録媒体に記録された画像ファイルから特定の属性を有する画像ファイルを検索する画像検索装置、画像検索方法、プログラム及び記録媒体に関する。   The present invention relates to an image search apparatus, an image search method, a program, and a recording medium that search for an image file having a specific attribute from image files recorded on a recording medium.

近年、記憶媒体の進歩により大量の画像ファイルを記録できるようになっており、大量の画像ファイルを含む記録媒体に対してのアクセスを減らし高速に検索、再生を行う方法が求められている。   2. Description of the Related Art In recent years, a large amount of image files can be recorded due to advances in storage media, and a method for searching and reproducing at high speed while reducing access to a recording medium containing a large amount of image files is required.

例えば特許文献1には、記録媒体上に画像ファイルを管理する抽出データファイルを作成し、抽出データファイルの記録を用いて記録媒体に記録されている画像ファイルの検索や再生を行う技術などが開示されている。
特開2007−116428号公報
For example, Patent Document 1 discloses a technique for creating an extracted data file for managing an image file on a recording medium, and searching for and reproducing the image file recorded on the recording medium using the recording of the extracted data file. Has been.
JP 2007-116428 A

特許文献1記載の方法では記録媒体上に抽出データファイルが作成できないような場合については考慮されていない。つまり、書き込み不可の記憶媒体や、記録媒体への書き込み機能を持たない画像検索装置においては抽出データファイルを作成できないため、画像ファイルの検索の度に抽出データを取得するため記録媒体へのアクセスが発生する。そのため、高速に画像ファイルを検索、再生することができない。また、大量の画像ファイルが記録媒体にある場合、抽出データファイル自体も大きくなり画像ファイルの検索、再生に時間がかかる。   The method described in Patent Document 1 does not consider a case where an extraction data file cannot be created on a recording medium. In other words, since an extracted data file cannot be created in a non-writable storage medium or an image search device that does not have a function of writing to a recording medium, the extracted data is acquired every time an image file is searched. appear. Therefore, the image file cannot be searched and reproduced at high speed. In addition, when a large number of image files are present on the recording medium, the extracted data file itself becomes large and it takes time to search for and reproduce the image file.

本発明は上記従来の課題に鑑みてなされたものであり、大量の画像ファイルが記録媒体にある場合でも、より少ないメモリ容量の画像検索用の管理情報に基づいて、高速に画像ファイルの検索ができる画像検索装置を提供することを目的とする。   The present invention has been made in view of the above-described conventional problems, and even when a large number of image files are present on a recording medium, image files can be searched at high speed based on management information for image search with a smaller memory capacity. An object of the present invention is to provide an image search apparatus capable of performing the above.

上記課題を解決するために、本発明の画像検索装置は、
画像ファイルが有し得る属性毎に、該属性を有する画像ファイルの有無と、該属性を有する画像ファイルが記録されたディレクトリの情報とを管理する属性管理手段と、
ディレクトリ毎に、該ディレクトリに記録された画像ファイルの有無と、該ディレクトリに記録された画像ファイルの属性に関する情報とを管理するディレクトリ管理手段と、
前記属性管理手段によって管理される情報と、前記ディレクトリ管理手段によって管理される情報とに基づいて、特定の属性を有する画像ファイルが記録されていないディレクトリを判定する判定手段と、
前記判定手段によって前記特定の属性を有する画像ファイルが記録されていないディレクトリと判定されなかったディレクトリに記録された画像ファイルを対象として、該特定の属性を有する画像ファイルを検索する検索手段と
を有することを特徴とする。
In order to solve the above problems, an image search apparatus according to the present invention provides:
Attribute management means for managing presence / absence of an image file having the attribute and information on a directory in which the image file having the attribute is recorded for each attribute that the image file may have,
Directory management means for managing the presence / absence of an image file recorded in the directory and information on the attribute of the image file recorded in the directory for each directory;
A determination unit that determines a directory in which an image file having a specific attribute is not recorded based on information managed by the attribute management unit and information managed by the directory management unit;
Search means for searching for an image file having the specific attribute for an image file recorded in a directory in which the image file having the specific attribute is not recorded by the determination unit. It is characterized by that.

本発明によれば、大量の画像ファイルが記録媒体にある場合でも、より少ないメモリ容量の画像検索用の管理情報に基づいて高速に画像ファイルの検索ができる。   According to the present invention, even when a large number of image files are present on a recording medium, image files can be searched at high speed based on management information for image search with a smaller memory capacity.

以下、図面を参照して本発明の好適な実施形態を説明する。   Preferred embodiments of the present invention will be described below with reference to the drawings.

[デジタルカメラの構成について]
図1(a)に本発明の画像検索装置の一例としてのデジタルカメラの外観図を示す。画像表示部28は画像や各種情報を表示する表示部である。シャッターボタン61は撮影指示を行うための操作部である。モードダイアル60は各種モードを切り替えるための操作部である。コネクタ112は接続ケーブルとデジタルカメラ100とのコネクタである。操作部70はユーザからの各種操作を受け付ける各種スイッチ、ボタン、タッチパネル等の操作部材より成る操作部である。記録媒体200はメモリカードやハードディスク等の記録媒体である。記録媒体スロット201は記録媒体200を格納するためのスロットである。記録媒体スロット201に格納された記録媒体200は、デジタルカメラ100との通信が可能となる。蓋203は記録媒体スロット201の蓋である。
[Digital camera configuration]
FIG. 1A shows an external view of a digital camera as an example of the image search apparatus of the present invention. The image display unit 28 is a display unit that displays images and various types of information. The shutter button 61 is an operation unit for issuing a shooting instruction. The mode dial 60 is an operation unit for switching various modes. The connector 112 is a connector between the connection cable and the digital camera 100. The operation unit 70 is an operation unit including operation members such as various switches, buttons, and a touch panel for receiving various operations from the user. The recording medium 200 is a recording medium such as a memory card or a hard disk. The recording medium slot 201 is a slot for storing the recording medium 200. The recording medium 200 stored in the recording medium slot 201 can communicate with the digital camera 100. A lid 203 is a lid of the recording medium slot 201.

図1(b)はデジタルカメラ100の構成ブロック図の例である。   FIG. 1B is an example of a configuration block diagram of the digital camera 100.

図1(b)において、100はデジタルカメラである。   In FIG. 1B, reference numeral 100 denotes a digital camera.

10は撮影レンズ、12は絞り機能を備えるシャッター、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をデジタル信号に変換するA/D変換器である。   Reference numeral 10 denotes a photographing lens, 12 denotes a shutter having a diaphragm function, 14 denotes an image sensor that converts an optical image into an electrical signal, and 16 denotes an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal.

18は撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。   A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16, and the D / A converter 26, and is controlled by the memory control circuit 22 and the system control circuit 50.

20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。   An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22.

また、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が制御を行いAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。   The image processing circuit 20 performs predetermined calculation processing using the captured image data, and the system control circuit 50 performs control based on the obtained calculation result to perform AF (autofocus) processing, AE (automatic exposure). ) Processing and EF (flash pre-emission) processing.

さらに、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。   Further, the image processing circuit 20 performs predetermined arithmetic processing using captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained arithmetic result.

22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。   A memory control circuit 22 controls the A / D converter 16, the timing generation circuit 18, the image processing circuit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression circuit 32.

A/D変換器16のデータが画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器16のデータが直接メモリ制御回路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。   The data of the A / D converter 16 is written into the image display memory 24 or the memory 30 via the image processing circuit 20 and the memory control circuit 22 or the data of the A / D converter 16 is directly passed through the memory control circuit 22. It is.

24は画像表示メモリ、26はD/A変換器、27はD/A変換器26の出力を外部モニタに出力するコネクタである。外部出力コネクタ27にコネクタが挿されている場合は外部出力接続検知手段108によりシステム制御回路50は外部出力状態を知る事が出来る。   Reference numeral 24 denotes an image display memory, 26 denotes a D / A converter, and 27 denotes a connector that outputs the output of the D / A converter 26 to an external monitor. When the connector is inserted in the external output connector 27, the system control circuit 50 can know the external output state by the external output connection detecting means 108.

28はTFT LCD等から成る画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28により表示される。   Reference numeral 28 denotes an image display unit composed of a TFT LCD or the like. Display image data written in the image display memory 24 is displayed by the image display unit 28 via the D / A converter 26.

画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダ機能を実現することが可能である。   If the image data captured using the image display unit 28 is sequentially displayed, the electronic viewfinder function can be realized.

また、画像表示部28は、システム制御回路50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合にはデジタルカメラ100の電力消費を大幅に低減することが出来る。   The image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control circuit 50. When the display is turned off, the power consumption of the digital camera 100 can be significantly reduced. I can do it.

30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。   Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a sufficient storage capacity to store a predetermined number of still images and a predetermined time of moving images.

これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。メモリ30は、記録媒体200や210の書き込みバッファとしても使われる。   Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the memory 30 at high speed. The memory 30 is also used as a write buffer for the recording media 200 and 210.

32は適応離散コサイン変換(ADCT)等により画像データを圧縮伸長する圧縮・伸長回路であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。   Reference numeral 32 denotes a compression / decompression circuit that compresses and decompresses image data by adaptive discrete cosine transform (ADCT) or the like, reads an image stored in the memory 30, performs compression processing or decompression processing, and stores the processed data in the memory 30. Write to.

40は絞り機能を備えるシャッター12を制御する露光制御手段であり、フラッシュ48と連携することによりフラッシュ調光機能も有するものである。   Reference numeral 40 denotes an exposure control means for controlling the shutter 12 having a diaphragm function, and has a flash light control function in cooperation with the flash 48.

42は撮影レンズ10のフォーカシングを制御する測距制御手段、44は撮影レンズ10のズーミングを制御するズーム制御手段、46はバリアである保護手段102の動作を制御するバリア制御手段である。   Reference numeral 42 denotes a distance measuring control means for controlling the focusing of the photographing lens 10, reference numeral 44 denotes a zoom control means for controlling zooming of the photographing lens 10, and reference numeral 46 denotes a barrier control means for controlling the operation of the protection means 102 as a barrier.

48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。   A flash 48 has an AF auxiliary light projecting function and a flash light control function.

露光制御手段40、測距制御手段42はTTL方式を用いて制御されており、撮像した画像データを画像処理回路20によって演算した演算結果に基づき、システム制御回路50が露光制御手段40、測距制御手段42に対して制御を行う。   The exposure control means 40 and the distance measurement control means 42 are controlled using the TTL method. Based on the calculation result obtained by calculating the captured image data by the image processing circuit 20, the system control circuit 50 performs the exposure control means 40 and the distance measurement. Control is performed on the control means 42.

50はデジタルカメラ100全体を制御するシステム制御回路である。システム制御回路50は、不揮発性メモリ56に記録されたプログラムを実行することで、後述する各実施例の処理を実現する。また、画像表示部28に対する画像の表示制御も行う。   A system control circuit 50 controls the entire digital camera 100. The system control circuit 50 executes the program recorded in the nonvolatile memory 56, thereby realizing the processing of each embodiment described later. In addition, image display control for the image display unit 28 is also performed.

52はシステム制御回路50の動作用の定数、変数、不揮発性メモリ56から読み出したプログラム等を展開するメモリである。   A memory 52 expands constants, variables, programs read from the nonvolatile memory 56, and the like for operation of the system control circuit 50.

54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカー等の表示部である。表示部54はデジタルカメラ100の操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。また、表示部54は、その一部の機能が光学ファインダ104内に設置されている。   Reference numeral 54 denotes a display unit such as a liquid crystal display device or a speaker that displays an operation state, a message, and the like using characters, images, sounds, and the like in accordance with execution of a program in the system control circuit 50. The display unit 54 is installed at a single or a plurality of positions near the operation unit of the digital camera 100 so as to be easily visible, and is configured by a combination of, for example, an LCD, an LED, and a sounding element. The display unit 54 has a part of its function installed in the optical viewfinder 104.

表示部54の表示内容のうち、LCD等に表示するものとしては、絞り値表示、露出補正表示、フラッシュ表示、マクロ撮影表示、ブザー設定表示、電池残量表示、エラー表示、記録媒体200及び210の着脱状態表示等がある。   Among the display contents of the display unit 54, what is displayed on the LCD or the like includes aperture value display, exposure correction display, flash display, macro shooting display, buzzer setting display, battery remaining amount display, error display, and recording media 200 and 210. There is an attachment / detachment state display.

また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示、等がある。   Among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes in-focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like.

56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。不揮発性メモリ56には、システム制御回路50の動作用の定数、プログラム等が記憶される。ここでいう、プログラムとは、後述の各実施例における各種フローチャートを実行するためのプログラムのことである。   Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory such as an EEPROM. The nonvolatile memory 56 stores constants, programs, and the like for operating the system control circuit 50. Here, the program is a program for executing various flowcharts in each embodiment described later.

58は記録媒体200や210のデータ記録速度や、取得するデータのデータレートを測定するために使われるタイマである。   A timer 58 is used to measure the data recording speed of the recording medium 200 or 210 and the data rate of the acquired data.

60、62、64、66、68及び70は、システム制御回路50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。   Reference numerals 60, 62, 64, 66, 68 and 70 are operation means for inputting various operation instructions of the system control circuit 50, and may be a single unit such as a switch, a dial, a touch panel, pointing by line-of-sight detection, or a voice recognition device. Consists of multiple combinations.

ここで、これらの操作手段の具体的な説明を行う。   Here, a specific description of these operating means will be given.

60はモードダイアルスイッチで、電源オフ、自動撮影モード、撮影モード(パノラマ撮影モード、動画撮影モード含む)、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することが出来る。   Reference numeral 60 denotes a mode dial switch for switching and setting each function mode such as power-off, automatic shooting mode, shooting mode (including panorama shooting mode and moving image shooting mode), playback mode, multi-screen playback / erase mode, PC connection mode, and the like. I can do it.

62はシャッタースイッチSW1で、シャッターボタン61の操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。   Reference numeral 62 denotes a shutter switch SW1, which is turned ON during the operation of the shutter button 61, and starts operations such as AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, and EF (flash pre-flash) processing. Instruct.

64はシャッタースイッチSW2で、シャッターボタン61の操作完了でONとなり、撮像素子14から読み出した信号をA/D変換器16、メモリ制御回路22を介してメモリ30に画像データを書き込む露光処理の動作開始を指示する。同時に、画像処理回路20やメモリ制御回路22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理という一連の処理の動作開始を指示する。また動画撮影の場合は動画撮影の開始・停止を指示する。
66は画像表示ON/OFFスイッチで、画像表示部28のON/OFFを設定することが出来る。
Reference numeral 64 denotes a shutter switch SW2, which is turned ON when the operation of the shutter button 61 is completed, and an exposure process operation in which the signal read from the image sensor 14 is written into the memory 30 via the A / D converter 16 and the memory control circuit 22. Instruct to start. At the same time, development processing using operations in the image processing circuit 20 and the memory control circuit 22, recording processing for reading out image data from the memory 30, compression in the compression / decompression circuit 32, and writing the image data to the recording medium 200 or 210 The operation start of a series of processes is instructed. In the case of moving image shooting, the start / stop of moving image shooting is instructed.
Reference numeral 66 denotes an image display ON / OFF switch that can set ON / OFF of the image display unit 28.

この機能により、光学ファインダ104を用いて撮影を行う際に、TFT LCD等から成る画像表示部への電流供給を遮断することにより、省電力を図ることが可能となる。   With this function, when photographing using the optical viewfinder 104, it is possible to save power by cutting off the current supply to the image display unit including a TFT LCD or the like.

68はクイックレビューON/OFFスイッチで、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定する。なお、本実施例では特に、画像表示部28をOFFとした場合におけるクイックレビュー機能の設定をする機能を備えるものとする。   Reference numeral 68 denotes a quick review ON / OFF switch, which sets a quick review function for automatically reproducing image data taken immediately after photographing. In this embodiment, it is assumed that a function for setting the quick review function when the image display unit 28 is turned off is provided.

操作部70は各種ボタンやタッチパネル等からなる。具体的に例示すると以下の通りとなる。メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン。再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン。各種機能の選択及び切り替えを設定する選択/切り替えボタン、各種機能の決定及び実行を設定する決定ボタン。画像表示部28のON/OFFを設定する表示ボタン。撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定するクイックレビューON/OFFスイッチ。撮影時にズームと広角を調節する、あるいは再生時に拡大/縮小を調節する、1画面表示/マルチ画面表示を切り替えるズーム操作部。JPEG(Joint Photographic Expert Group)圧縮の圧縮率を選択するため、或いは撮像素子の信号をそのままデジタル化して記録媒体に記録するCCDRAWモードを選択するための圧縮モードスイッチ。   The operation unit 70 includes various buttons and a touch panel. Specific examples are as follows. Menu button, set button, macro button, multi-screen playback page break button, flash setting button, single / continuous / self-timer switching button, menu move + (plus) button, menu move-(minus) button. Playback image move + (plus) button, playback image-(minus) button, shooting image quality selection button, exposure compensation button, date / time setting button. A selection / switch button for setting selection and switching of various functions, and a determination button for setting determination and execution of various functions. A display button for setting ON / OFF of the image display unit 28. Quick review ON / OFF switch that sets a quick review function that automatically plays back image data taken immediately after shooting. A zoom operation unit that switches between single-screen display and multi-screen display that adjusts the zoom and wide angle during shooting, or adjusts enlargement / reduction during playback. A compression mode switch for selecting a compression rate for JPEG (Joint Photographic Expert Group) compression, or for selecting a CCD RAW mode in which a signal from an image sensor is directly digitized and recorded on a recording medium.

電源制御手段80は、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいて、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。   The power supply control means 80 detects whether or not a battery is attached, the type of battery, and the remaining battery level, and based on the detection result and instructions from the system control circuit 50, each part including a recording medium for a necessary period of time To supply.

82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる電源手段である。   Reference numeral 82 denotes a connector, 84 denotes a connector, and 86 denotes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, an AC adapter, or the like.

90及び94はメモリカードやハードディスク等の記録媒体とのインターフェースである。92及び96はメモリカードやハードディスク等の記録媒体と接続を行うコネクタである。98はコネクタ92及び或いはコネクタ96に記録媒体200或いは210が装着されているか否かを検知する記録媒体着脱検知手段である。   Reference numerals 90 and 94 denote interfaces with recording media such as memory cards and hard disks. Reference numerals 92 and 96 denote connectors for connecting to a recording medium such as a memory card or a hard disk. Reference numeral 98 denotes recording medium attachment / detachment detecting means for detecting whether the recording medium 200 or 210 is attached to the connector 92 and / or the connector 96.

なお、本実施例では記録媒体を取り付けるインターフェース及びコネクタを2系統持つものとして説明している。もちろん、記録媒体を取り付けるインターフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインターフェース及びコネクタを組み合わせて備える構成としても構わない。   In this embodiment, it is assumed that there are two interfaces and connectors for attaching the recording medium. Of course, the interface and the connector for attaching the recording medium may have a single or a plurality of systems and any number of systems. Moreover, it is good also as a structure provided with combining the interface and connector of a different standard.

インターフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成して構わない。   The interface and connector may be configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like that conforms to a standard.

さらに、インターフェース90及び94、そしてコネクタ92及び96に各種通信カードを接続することにより、他機器との間で画像データや画像データに付属した管理情報を転送し合うことが出来る。   Further, by connecting various communication cards to the interfaces 90 and 94 and the connectors 92 and 96, image data and management information attached to the image data can be transferred to and from other devices.

102は、デジタルカメラ100のレンズ10を含む撮像部を覆う事により、撮像部の汚れや破損を防止するバリアである保護手段である。   Reference numeral 102 denotes protection means that is a barrier that prevents the imaging unit from being soiled or damaged by covering the imaging unit including the lens 10 of the digital camera 100.

104は光学ファインダであり、画像表示部28による電子ファインダ機能を使用すること無しに、光学ファインダのみを用いて撮影を行うことが可能である。また、光学ファインダ104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示などが設置されている。   Reference numeral 104 denotes an optical viewfinder, which can take an image using only the optical viewfinder without using the electronic viewfinder function of the image display unit 28. In the optical viewfinder 104, some functions of the display unit 54, for example, a focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are installed.

106は画像表示部開閉検知手段であり、画像表示部28が、画像表示部28の表示部分をデジタルカメラ100に向けて格納した格納状態にあるかどうかを検知することが出来る。   Reference numeral 106 denotes image display unit open / close detection means, which can detect whether or not the image display unit 28 is in a stored state in which the display portion of the image display unit 28 is stored facing the digital camera 100.

ここで、格納状態にあると検知したならば画像表示部28の表示動作を停止して不要な電力消費を禁止することが可能である。   Here, if the storage state is detected, the display operation of the image display unit 28 can be stopped and unnecessary power consumption can be prohibited.

108は外部出力コネクタ接続検知手段であり、外部出力コネクタ27に外部モニタが接続されているかどうかを検知することが出来る。ここで、接続状態にあると検知したならば画像表示部28の代わりに外部モニタを表示装置として用いることが可能である。   Reference numeral 108 denotes an external output connector connection detecting means, which can detect whether an external monitor is connected to the external output connector 27. Here, if it is detected that the connection state is established, an external monitor can be used as a display device instead of the image display unit 28.

110は通信手段で、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信、等の各種通信機能を有する。   A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication.

112は通信手段110によりデジタルカメラ100を他の機器と接続するコネクタ或いは無線通信の場合はアンテナである。   Reference numeral 112 denotes a connector for connecting the digital camera 100 to another device by the communication unit 110 or an antenna in the case of wireless communication.

114はマイクで、音声データ取得手段である。116はマイク114で得られた音声データをシステム制御回路50で取得するためにA/D変換するA/D変換機である。   Reference numeral 114 denotes a microphone, which is an audio data acquisition unit. Reference numeral 116 denotes an A / D converter that performs A / D conversion so that audio data obtained by the microphone 114 is acquired by the system control circuit 50.

118はスピーカーで、音声データ再生手段である。120はシステム制御回路50から出力されるデジタル音声データをスピーカー118で再生するためにD/A変換するD/A変換機である。   Reference numeral 118 denotes a speaker, which is a sound data reproducing means. Reference numeral 120 denotes a D / A converter that D / A converts digital audio data output from the system control circuit 50 to be reproduced by the speaker 118.

200はメモリカードやハードディスク等の記録媒体である。   Reference numeral 200 denotes a recording medium such as a memory card or a hard disk.

記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、デジタルカメラ100とのインターフェース204、デジタルカメラ100と接続を行うコネクタ206を備えている。   The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, or the like, an interface 204 with the digital camera 100, and a connector 206 for connecting with the digital camera 100.

また、この記録媒体200がPCMCIA規格のPC−CardやCF等の場合は、性能が記されている情報記憶回路を内蔵している事もある。   Further, when the recording medium 200 is a PCMCIA standard PC-Card, CF, or the like, an information storage circuit in which performance is recorded may be incorporated.

210はメモリカードやハードディスク等の記録媒体である。   Reference numeral 210 denotes a recording medium such as a memory card or a hard disk.

記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、デジタルカメラ100とのインターフェース214、デジタルカメラ100と接続を行うコネクタ216を備えている。   The recording medium 210 includes a recording unit 212 composed of a semiconductor memory, a magnetic disk, or the like, an interface 214 with the digital camera 100, and a connector 216 for connecting with the digital camera 100.

また、この記録媒体210がPCMCIA規格のPC−CardやCF等の場合は、性能が記されている情報記憶回路を内蔵している事もある。   Further, when the recording medium 210 is a PCMCIA standard PC-Card, CF, or the like, an information storage circuit in which performance is recorded may be incorporated.

[デジタルカメラの全体動作について]
図2は、本実施形態のデジタルカメラ100の全体的な動作を説明するフローチャートである。
[Overall operation of digital camera]
FIG. 2 is a flowchart for explaining the overall operation of the digital camera 100 of the present embodiment.

電源86が操作され電源がオンに切り替わると、S201においてシステム制御回路50はフラグや制御変数等を初期化する。この時ファイル情報リスト、属性情報リスト及びディレクトリ情報リストの領域のための一定の容量のメモリ領域をメモリ52に確保し、初期化しておく。ファイル情報リストについては図5、属性情報リストについては図6、ディレクトリ情報リストについては図7にて後述する。   When the power source 86 is operated and the power source is turned on, the system control circuit 50 initializes flags, control variables, and the like in S201. At this time, a memory area of a certain capacity for the file information list, attribute information list, and directory information list areas is secured in the memory 52 and initialized. The file information list will be described later with reference to FIG. 5, the attribute information list with reference to FIG. 6, and the directory information list with reference to FIG.

続いて、S202において、記録媒体200に記録されているファイルに関する管理処理を開始する。S202のファイル管理処理については、図3を用いて後述する。   Subsequently, in S202, management processing relating to the file recorded on the recording medium 200 is started. The file management process in S202 will be described later with reference to FIG.

次に、S203、S207において、システム制御回路50は、モードダイアル60の設定位置を判定する。撮影モードに設定されていたならば処理はS203からS204へ進み、撮影モード処理を実行する。モードダイアル60が再生モードに設定されていたならば、処理はS203、S207を経てS208へ進み、再生モード処理を実行する。S208の再生モード処理については、図8を用いて後述する。   Next, in S203 and S207, the system control circuit 50 determines the set position of the mode dial 60. If the shooting mode has been set, the process proceeds from S203 to S204, and the shooting mode process is executed. If the mode dial 60 is set to the playback mode, the process proceeds to S208 through S203 and S207, and the playback mode process is executed. The playback mode processing in S208 will be described later with reference to FIG.

また、その他のモードに設定されていた場合、処理はS209へ進み、システム制御回路50は選択されたモードに応じた処理を実行する。その他のモードとしては例えば記録媒体200に格納されたファイルの送信を行う送信モード処理、外部機器からファイルを受信して記録媒体200に格納する受信モード処理が含まれる。   If another mode has been set, the process proceeds to S209, and the system control circuit 50 executes a process according to the selected mode. Other modes include, for example, a transmission mode process for transmitting a file stored in the recording medium 200, and a reception mode process for receiving a file from an external device and storing it in the recording medium 200.

S204、S208、S209のうちのモードダイアル60によって設定されたモードに対応した処理を実行した後、処理はS205へ進む。S205において、システム制御回路50は電源86の設定位置を判定する。電源86が電源オンに設定されていれば、S203に処理を戻す。一方、電源86が電源オフに設定されていたならば、処理はS205からS206へ進み、システム制御回路50は終了処理を行う。終了処理には、例えば以下の処理が含まれる。画像表示部28の表示を終了状態に変更し、レンズバリア102を閉じて撮像部を保護し、フラグや制御変数等を含むパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源供給が不要な部分への電源を遮断する。S206の終了処理が完了すると、本処理を終了し、電源をOFF状態へ移行する。   After executing the process corresponding to the mode set by the mode dial 60 among S204, S208, and S209, the process proceeds to S205. In S205, the system control circuit 50 determines the set position of the power supply 86. If the power supply 86 is set to power on, the process returns to S203. On the other hand, if the power supply 86 is set to power off, the process proceeds from S205 to S206, and the system control circuit 50 performs an end process. The termination process includes, for example, the following process. The display of the image display unit 28 is changed to the end state, the lens barrier 102 is closed to protect the imaging unit, parameters, setting values, and setting modes including flags and control variables are recorded in the nonvolatile memory 56, and power is supplied. Shut off the power to the parts that do not need. When the termination process of S206 is completed, this process is terminated, and the power supply is shifted to the OFF state.

[ファイル管理処理について]
図3は、本実施形態のデジタルカメラ100のファイル管理処理を説明するフローチャートである。図3のフローチャートは、図2のS202の詳細を示している。
[About file management processing]
FIG. 3 is a flowchart for explaining file management processing of the digital camera 100 of this embodiment. The flowchart in FIG. 3 shows details of S202 in FIG.

S301において、システム制御回路50は、記録媒体200から最新画像情報を取得する。最新画像情報の取得を総枚数計算や属性情報リスト、ディレクトリ情報リスト、およびファイル情報リストの作成よりも先に行うことで、すばやく画像表示ができるというメリットがある。本実施形態においての最新画像とは、DCF規格を想定して画像のファイル名により判定される最大画像番号を持った画像ファイルである。   In step S <b> 301, the system control circuit 50 acquires the latest image information from the recording medium 200. By obtaining the latest image information before calculating the total number of images and creating the attribute information list, directory information list, and file information list, there is an advantage that images can be displayed quickly. The latest image in the present embodiment is an image file having the maximum image number determined by the file name of the image assuming the DCF standard.

S302において、システム制御回路50は、S301における最新画像情報の取得が正しく行われたかどうかをチェックする。最新画像情報を取得できなかった場合、システム制御回路50は、ファイル管理処理を終了する。尚、最新画像情報を取得できない場合とは、再生可能な画像ファイルが一枚もないような状態や、メディア不良によって画像情報が取得できなかったような状態等が考えられる。最新画像情報が取得できれば、少なくとも画像ファイルが1つは存在すると判定し、処理をS303へ進める。   In S302, the system control circuit 50 checks whether or not the latest image information has been correctly acquired in S301. When the latest image information cannot be acquired, the system control circuit 50 ends the file management process. Note that the case where the latest image information cannot be acquired includes a state where there is no reproducible image file or a state where the image information cannot be acquired due to a media failure. If the latest image information can be acquired, it is determined that at least one image file exists, and the process proceeds to S303.

S303において、システム制御回路50は、記録媒体200に記録されている画像ファイルの総枚数取得処理を開始する。このS303の処理はバックグランドで稼動し、その完了を待たずに次の処理に進むことができる。このようにすることで、多くの画像ファイルが記録媒体200に納められており、総枚数計算に時間がかかるような場合でも、総枚数の計算の完了を待たずに画像を閲覧することが可能になる。S303の総画像枚数計算処理については図4を用いて後述する。   In step S <b> 303, the system control circuit 50 starts a process for acquiring the total number of image files recorded on the recording medium 200. The process of S303 operates in the background, and can proceed to the next process without waiting for the completion. In this way, even when a large number of image files are stored in the recording medium 200 and it takes a long time to calculate the total number, it is possible to view the image without waiting for the completion of the calculation of the total number. become. The total image number calculation processing in S303 will be described later with reference to FIG.

[総画像枚数計算処理について]
図4は、本実施形態のデジタルカメラ100の総画像枚数計算処理を説明するフローチャートである。図4のフローチャートは、図3のS303の詳細を示している。
[Total image count calculation]
FIG. 4 is a flowchart for explaining the total image number calculation processing of the digital camera 100 of the present embodiment. The flowchart in FIG. 4 shows details of S303 in FIG.

S401において、システム制御回路50は、記録媒体200から最大ディレクトリを取得する。最大ディレクトリとは、図3のS301において最新画像情報を取得するために解析したディレクトリに該当する。最大ディレクトリから順にディレクトリを遡って総画像枚数の計算を行うことで、ディレクトリ名や取得した最新画像情報を活用できるというメリットがある。   In step S <b> 401, the system control circuit 50 acquires the maximum directory from the recording medium 200. The maximum directory corresponds to the directory analyzed to obtain the latest image information in S301 of FIG. By calculating the total number of images by tracing back the directory in order from the maximum directory, there is an advantage that the directory name and the latest acquired image information can be used.

続いてS402においてシステム制御回路50はS401あるいはS406で取得した情報よりディレクトリ番号を取得する。   In step S402, the system control circuit 50 acquires a directory number from the information acquired in step S401 or S406.

S403では、S402で取得したディレクトリ番号のディレクトリ内のファイルに関して、ファイル情報リスト作成処理を行う。S403のファイル情報リスト作成処理については図5を用いて後述する。   In S403, a file information list creation process is performed for the file in the directory having the directory number acquired in S402. The file information list creation processing in S403 will be described later with reference to FIG.

次に、S404においてS403で作成したファイル情報リストより、ディレクトリ情報リスト登録処理を行う。ディレクトリ情報リスト登録処理については、図7を用いて後述する。   Next, in S404, directory information list registration processing is performed from the file information list created in S403. The directory information list registration process will be described later with reference to FIG.

S405においてシステム制御回路50は記憶媒体200内に未解析のディレクトリがあるか否か判定する。未解析ディレクトリがないと判定すると、登録されたディレクトリ情報リストに基づいて各ディレクトリ内の総ファイル数を足し合わせることで総画像枚数計算処理を終了する。一方、未解析ディレクトリがあると判定するとS406へ進む。   In step S <b> 405, the system control circuit 50 determines whether there is an unanalyzed directory in the storage medium 200. If it is determined that there is no unanalyzed directory, the total number of images calculation process is completed by adding the total number of files in each directory based on the registered directory information list. On the other hand, if it is determined that there is an unanalyzed directory, the process proceeds to S406.

S406において、S402、S403,S404にて解析したディレクトリの次のディレクトリを取得してS402に処理を戻し、未解析ディレクトリがなくなるまで処理を続ける。   In S406, the directory next to the directory analyzed in S402, S403, and S404 is acquired, the process is returned to S402, and the process is continued until there is no unanalyzed directory.

[ファイル情報リスト作成処理について]
図5(a)は、本実施形態のデジタルカメラ100のファイル情報リスト作成処理(ファイル管理手段)を説明するフローチャートである。図5のフローチャートは、図4のS403の詳細を示している。また、本実施形態によるファイル情報リストの一例を図5(b)に示す。
[File information list creation process]
FIG. 5A is a flowchart for explaining file information list creation processing (file management means) of the digital camera 100 of this embodiment. The flowchart in FIG. 5 shows details of S403 in FIG. An example of the file information list according to this embodiment is shown in FIG.

S501において、システム制御回路50は、メモリ52を参照し、該当するディレクトリのファイル情報リストを保持しているか否かを判定する。既に該当するディレクトリのファイル情報リストが作成されていると判定すると、ファイル情報リスト作成処理を終了する。一方、該当するディレクトリのファイル情報リストを保持していない場合は、S502に処理を進めファイル情報リストを作成する。該当するディレクトリのファイル情報リストを保持していない場合とは、ファイル情報リストの領域が初期値の場合、あるいは別のディレクトリに対するファイル情報リストのみしかメモリ52に保持していない場合である。別のディレクトリに対するファイル情報リストのみしかメモリ52に保持していない場合には、ファイル情報リストの領域をクリアして、S502に処理を進める。このように、ファイル情報リストは一度に1つのディレクトリ分しか保持しない。よってファイル情報リストのためのメモリ容量としては1ディレクトリ分のファイル情報リストを保持できる容量があればよい。   In step S501, the system control circuit 50 refers to the memory 52 and determines whether or not the file information list of the corresponding directory is held. If it is determined that a file information list for the corresponding directory has already been created, the file information list creation process is terminated. On the other hand, if the file information list of the corresponding directory is not held, the process proceeds to S502 to create a file information list. The case where the file information list of the corresponding directory is not held is a case where the area of the file information list is an initial value, or only the file information list for another directory is held in the memory 52. If only the file information list for another directory is held in the memory 52, the file information list area is cleared and the process proceeds to S502. In this way, the file information list holds only one directory at a time. Therefore, the memory capacity for the file information list may be a capacity that can hold the file information list for one directory.

S502にて記録媒体200から該当ディレクトリ内の最小のファイル情報を取得する。ファイル情報としては、ディレクトリエントリ情報や、画像ファイルの内部に記載されている撮影日時などのメタデータが含まれる。また、その他アプリなどで登録されている情報などを利用してもよい。   In S502, the minimum file information in the corresponding directory is acquired from the recording medium 200. The file information includes directory entry information and metadata such as shooting date and time described inside the image file. In addition, information registered by other applications may be used.

次に、S503にてメモリ52のファイル情報リストにS502またはS507で取得したファイル情報を登録する。図5(b)に図示するように、本実施例ではファイル番号、ファイル名、撮影日時、プロテクト状態、隠し属性情報を登録するものとする。もちろん、S502またはS507で取得できるファイル情報であればこの他の属性を登録してもよい。   In step S503, the file information acquired in step S502 or S507 is registered in the file information list in the memory 52. As shown in FIG. 5B, in this embodiment, the file number, file name, shooting date / time, protection status, and hidden attribute information are registered. Of course, other attributes may be registered as long as the file information can be acquired in S502 or S507.

続いてS504にて、該当ディレクトリが属性情報未登録ディレクトリか否かを判定する。この判定は、メモリ52のディレクトリ情報リストのうち、該当ディレクトリの登録済みフラグの値を確認することで行う。登録済みフラグの値が初期値であればS505の属性情報リスト登録処理に進み、登録済みフラグの値が登録済みを示す値であればS505を実行せずにS506に進む。ディレクトリ情報リストについては図7を用いて後述する。S505の属性情報リスト登録処理については図6を用いて後述する。   In step S504, it is determined whether the directory is an attribute information unregistered directory. This determination is made by confirming the value of the registered flag of the corresponding directory in the directory information list in the memory 52. If the value of the registered flag is an initial value, the process proceeds to the attribute information list registration process of S505. If the value of the registered flag is a value indicating registered, the process proceeds to S506 without executing S505. The directory information list will be described later with reference to FIG. The attribute information list registration process in S505 will be described later with reference to FIG.

S506において、S503、S504およびS505の処理を行ったファイルがディレクトリ内の最大ファイルかどうかを判定する。S506にて最大ファイルであると判定した場合、ファイル情報リスト作成処理を終了し、最大ファイルでないと判定した場合はS507に進む。   In step S506, it is determined whether the file subjected to the processing in steps S503, S504, and S505 is the maximum file in the directory. If it is determined in S506 that the file is the maximum file, the file information list creation process is terminated. If it is determined that the file is not the maximum file, the process proceeds to S507.

S507ではS503,S504およびS505の処理を行ったファイルの次のファイルの情報を取得し、S503に処理を戻す。   In S507, the information of the file next to the file subjected to the processing in S503, S504, and S505 is acquired, and the process returns to S503.

尚、ファイル情報リストは全ディレクトリ分の情報を常に確保しておく必要はないため、必要に応じて作成することで、メモリ容量の節約ができるというメリットがある。また、一定数(本実施形態では1ディレクトリ分)のファイル情報リストを保存する領域を予め用意し有効活用することで、前述したメモリ容量の節約と共にメディアアクセスの回数も軽減でき高速に検索できるというメリットがある。   Note that the file information list does not always need to secure information for all directories, so that it is advantageous in that memory capacity can be saved by creating it as necessary. In addition, by preparing and effectively using an area for storing a certain number (one directory in this embodiment) of file information lists in advance, it is possible to reduce the number of media accesses and reduce the number of times of media access as described above. There are benefits.

[属性情報リスト登録処理について]
図6(a)は、本実施形態のデジタルカメラ100の属性情報リスト登録処理(属性管理手段)を説明するフローチャートである。図6(a)のフローチャートは、図5のS505の詳細を示している。また、本実施形態による属性情報リストの一例を図6(b)に示す。尚、本実施形態では属性情報リストに登録する属性を撮影日とし、デジタルカメラ100で撮影可能な日を1日毎ユニークな値になるように属性番号として設定している。しかしこれに限られるものではなく、例えば画像ファイルのファイル名を属性、アルファベット毎のユニークな値を属性番号として設定したり、或いはメタデータの他の情報を属性とし、その情報毎にユニークな値を関連付けて作成し属性番号として登録しても良い。属性情報リストには、前述した図2のS201の処理によって、属性番号と、各属性番号についての最小ディレクトリ番号、最大ディレクトリ番号、総ファイル数を記述する領域が用意されている。各属性番号についての最小ディレクトリ番号、最大ディレクトリ番号、総ファイル数は初期値「0」で用意される。なお、装置が認識しうる属性が予め全てわかる場合には、予め全ての属性の属性番号についての最小ディレクトリ番号、最大ディレクトリ番号、総ファイル数を記述する領域が初期値「0」で用意される。装置が認識しうる属性が予め全てわかる場合とは、例えば属性が撮影日であった場合である。デジタルカメラ100で設定できる日時が2008年1月1日から2099年12月31日であったとすると、デジタルカメラ100が属性として認識できる撮影日も2008年1月1日から2099年12月31日となる。その場合、2008年1月1日から2099年12月31日の全ての日付についての撮影日の属性番号を用意する。
[About attribute information list registration processing]
FIG. 6A is a flowchart for explaining attribute information list registration processing (attribute management means) of the digital camera 100 of this embodiment. The flowchart in FIG. 6A shows details of S505 in FIG. An example of the attribute information list according to this embodiment is shown in FIG. In the present embodiment, the attribute registered in the attribute information list is set as the shooting date, and the date that can be shot with the digital camera 100 is set as the attribute number so as to have a unique value every day. However, the present invention is not limited to this. For example, the file name of an image file is set as an attribute, a unique value for each alphabet is set as an attribute number, or other information of metadata is set as an attribute, and a unique value for each information is set. May be created in association with each other and registered as an attribute number. In the attribute information list, an area describing the attribute number, the minimum directory number, the maximum directory number, and the total number of files for each attribute number is prepared by the process of S201 in FIG. The minimum directory number, the maximum directory number, and the total number of files for each attribute number are prepared with an initial value “0”. When all the attributes that can be recognized by the apparatus are known in advance, areas for describing the minimum directory number, the maximum directory number, and the total number of files for the attribute numbers of all the attributes are prepared with an initial value “0”. . The case where all the attributes that can be recognized by the apparatus are known in advance is, for example, the case where the attribute is a shooting date. If the date and time that can be set by the digital camera 100 is from January 1, 2008 to December 31, 2099, the shooting date that can be recognized as an attribute by the digital camera 100 is also from January 1, 2008 to December 31, 2099. It becomes. In this case, the shooting date attribute numbers for all dates from January 1, 2008 to December 31, 2099 are prepared.

まずS601にて、システム制御回路50は属性の登録要求のあったファイルが含まれるディレクトリの番号と、登録する属性の属性番号を取得する。   First, in step S601, the system control circuit 50 acquires the number of a directory that includes a file for which an attribute registration request has been made, and the attribute number of the attribute to be registered.

次にS602にて、メモリ52に保存されている属性情報リスト内の最小の属性番号を取得する。   In step S602, the smallest attribute number in the attribute information list stored in the memory 52 is acquired.

続いて、S603にて、S602あるいはS607で取得した属性番号が、S601で取得した属性番号と同一であるかどうかを判定する。同一であればS604に進み、同一でないと判定すると、S607にて属性情報リスト内の次の属性番号を取得し、S603へ処理を戻す。   Subsequently, in S603, it is determined whether the attribute number acquired in S602 or S607 is the same as the attribute number acquired in S601. If they are the same, the process proceeds to S604. If it is determined that they are not the same, the next attribute number in the attribute information list is acquired in S607, and the process returns to S603.

S604でメモリ52に保存されている属性情報リスト内のうち、S603で同一であると判定された属性番号(該当属性)の画像ファイルの総ファイル数を更新する。この際、更新する前の総ファイル数が0であった場合は、属性情報リストのうち該当属性の最小ディレクトリ番号と最大ディレクトリ番号に、S601で取得した、登録要求のあった画像ファイルが含まれるディレクトリの番号を登録する。尚、本実施形態では該当する画像ファイルの総ファイル数を登録しているが、該当画像ファイルの有り無しを判定するフラグであっても良い。   In the attribute information list stored in the memory 52 in S604, the total number of image files having the attribute number (corresponding attribute) determined to be the same in S603 is updated. At this time, if the total number of files before the update is 0, the minimum directory number and the maximum directory number of the corresponding attribute in the attribute information list include the image file requested for registration acquired in S601. Register the directory number. In the present embodiment, the total number of corresponding image files is registered, but a flag for determining the presence or absence of the corresponding image file may be used.

続いてS605において、S601にて取得したディレクトリの番号が、属性情報リストのうち、該当属性の最小ディレクトリ番号以上であるか否かを判定する。S601で取得したディレクトリの番号が該当属性の最小ディレクトリ番号以上であればそのままS606へ進み、S601で取得したディレクトリの番号が該当属性の最小ディレクトリ番号より小さければS608に進む。S608では、属性情報リストのうち該当属性の最小ディレクトリ番号を更新する。   In step S605, it is determined whether the directory number acquired in step S601 is greater than or equal to the minimum directory number of the corresponding attribute in the attribute information list. If the directory number acquired in S601 is equal to or greater than the minimum directory number of the corresponding attribute, the process proceeds to S606 as it is, and if the directory number acquired in S601 is smaller than the minimum directory number of the corresponding attribute, the process proceeds to S608. In S608, the minimum directory number of the corresponding attribute in the attribute information list is updated.

次にS606において、S601にて取得したディレクトリの番号が、属性情報リストのうち、該当属性の最大ディレクトリ番号以下であるか否かを判定する。S601にて取得したディレクトリの番号が該当属性の最大ディレクトリ番号以下であれば属性情報リスト登録処理を終了し、S601にて取得したディレクトリの番号が該当属性の最大ディレクトリ番号より大きければS609に進む。S609では、属性情報リストのうち該当属性の最大ディレクトリ番号を更新する。   In step S606, it is determined whether the directory number acquired in step S601 is equal to or less than the maximum directory number of the attribute in the attribute information list. If the directory number acquired in S601 is equal to or smaller than the maximum directory number of the corresponding attribute, the attribute information list registration process is terminated. If the directory number acquired in S601 is larger than the maximum directory number of the corresponding attribute, the process proceeds to S609. In step S609, the maximum directory number of the attribute in the attribute information list is updated.

なお、本実施形態においては、ディレクトリの範囲を推定する情報として、最大ディレクトリと最小ディレクトリを登録しているが、ディレクトリ番号より算出されるハッシュ値や、ディレクトリ名から算出するユニークな値を登録しても良い。   In this embodiment, the maximum directory and the minimum directory are registered as information for estimating the directory range, but a hash value calculated from the directory number or a unique value calculated from the directory name is registered. May be.

[ディレクトリ情報リスト登録処理について]
図7(a)は、本実施形態のデジタルカメラ100のディレクトリ情報リスト登録処理(ディレクトリ管理手段)を説明するフローチャートである。図7(a)のフローチャートは、図4のS404の詳細を示している。また、本実施形態によるディレクトリ情報リストの一例を図7(b)に示す。
[About directory information list registration processing]
FIG. 7A is a flowchart for explaining directory information list registration processing (directory management means) of the digital camera 100 of this embodiment. The flowchart in FIG. 7A shows details of S404 in FIG. An example of the directory information list according to this embodiment is shown in FIG.

S701にて、図5のS502にて登録したファイル情報リストより該当ディレクトリの情報を取得する。   In step S701, the directory information is acquired from the file information list registered in step S502 of FIG.

次にS702において、S701で作成したディレクトリ内の画像ファイルの枚数をメモリ52のディレクトリ情報リストに登録する。   In step S <b> 702, the number of image files in the directory created in step S <b> 701 is registered in the directory information list in the memory 52.

続いて、S703においてS701で取得した該当ディレクトリの情報から、ディレクトリ内最小属性番号をディレクトリ情報リストに登録する。また同様に、S704においてディレクトリ内最大属性番号をディレクトリ情報リストに登録する。   Subsequently, in S703, the in-directory minimum attribute number is registered in the directory information list from the information on the corresponding directory acquired in S701. Similarly, in S704, the maximum attribute number in the directory is registered in the directory information list.

最後にS705において、ディレクトリ情報リストの該当ディレクトリの登録済みフラグを立てて(登録済みフラグの値に登録済みを示す値を記録する)、本ディレクトリ情報リスト登録処理を終了する。   Finally, in S705, a registered flag for the corresponding directory in the directory information list is set (a value indicating registration is recorded in the registered flag value), and the directory information list registration process is terminated.

本実施形態では図7(b)に示すとおり、ディレクトリの情報として、登録済みフラグ、ディレクトリ内最小属性番号、最大属性番号、総ファイル数を登録している。しかし、その他のファイル情報リストに登録されている情報を活用してディレクトリ毎のハッシュ値やファイルフォーマット毎の画像ファイル数、メタデータ毎の画像ファイル数などをディレクトリ情報として登録してもよい。   In this embodiment, as shown in FIG. 7B, a registered flag, a minimum attribute number in the directory, a maximum attribute number, and the total number of files are registered as directory information. However, the information registered in the other file information list may be used to register the hash value for each directory, the number of image files for each file format, the number of image files for each metadata, and the like as directory information.

[再生モード処理について]
図8は、本実施形態のデジタルカメラ100の再生モード処理を説明するフローチャートである。図8のフローチャートは、図2のS208の詳細を示している。
[About playback mode processing]
FIG. 8 is a flowchart for explaining the playback mode processing of the digital camera 100 of the present embodiment. The flowchart in FIG. 8 shows details of S208 in FIG.

S801にて、システム制御回路50は画像データを画像表示部28に表示する。ここで表示する画像データは、再生モード処理に遷移する直前の設定や操作内容に応じて異なる。例えば、S301にて取得した最新画像、前回再生モードを終了した際に最後に表示していた画像、またはS204の撮影モード処理にて最後に撮影された画像のいずれかが表示される。   In step S <b> 801, the system control circuit 50 displays image data on the image display unit 28. The image data to be displayed here differs depending on the setting and operation content immediately before the transition to the playback mode process. For example, the latest image acquired in S301, the image that was displayed last when the previous playback mode was ended, or the image that was captured last in the shooting mode processing in S204 is displayed.

次にS802にて、代表画像再生処理を指示する操作があったか否かを判定する。代表画像再生処理を指示する操作があったと判定すると、S803にて、記憶媒体200に記憶されている画像ファイルの属性毎の代表画像を再生する処理である代表画像再生処理を行い、その後S809へ進む。S803の代表画像再生処理については図9を用いて後述する。S802にて代表画像再生処理を指示する操作がないと判定するとS804へ進む。   In step S <b> 802, it is determined whether an operation for instructing the representative image reproduction process has been performed. If it is determined that an operation for instructing the representative image reproduction process has been performed, in step S803, the representative image reproduction process, which is a process for reproducing the representative image for each attribute of the image file stored in the storage medium 200, is performed, and then the process proceeds to step S809. move on. The representative image reproduction process in S803 will be described later with reference to FIG. If it is determined in S802 that there is no operation for instructing the representative image reproduction process, the process proceeds to S804.

S804では属性絞り込み再生処理を指示する操作があったか否かを判定する。属性絞り込み再生処理を指示する操作があったと判定すると、S805にて、属性毎に絞り込んだ画像ファイルの表示を行う処理である属性絞り込み再生処理を行い、その後S809へ進む。S805の属性絞り込み再生処理については図10を用いて後述する。S804で属性絞込み再生処理を指示する操作がないと判定するとS806へ進む。   In step S804, it is determined whether or not an operation for instructing attribute narrowing reproduction processing has been performed. If it is determined that there has been an operation for instructing attribute narrowing reproduction processing, in S805, attribute narrowing reproduction processing, which is processing for displaying an image file narrowed down for each attribute, is performed, and then the process proceeds to S809. The attribute narrowing reproduction process in S805 will be described later with reference to FIG. If it is determined in S804 that there is no operation for instructing attribute narrowing reproduction processing, the process proceeds to S806.

S806では属性ソート列挙処理を指示する操作があったか否かを判定する。属性ソート列挙処理を指示する操作があったと判定するとS807にて、属性順に画像ファイルを列挙表示する処理である属性ソート列挙処理を行い、その後S809へ進む。S807の属性ソート列挙処理については図11を用いて後述する。S806で属性ソート列挙処理がないと判定するとS808へ進みその他の処理を行う。   In S806, it is determined whether or not there has been an operation for instructing attribute sort enumeration processing. If it is determined that there has been an operation for instructing the attribute sort enumeration process, in S807, the attribute sort enumeration process, which is a process of enumerating and displaying image files in the attribute order, is performed, and then the process proceeds to S809. The attribute sort enumeration process in S807 will be described later with reference to FIG. If it is determined in step S806 that there is no attribute sort enumeration process, the process advances to step S808 to perform other processes.

S808では、画像を1枚ずつ送って閲覧するシングル画像再生処理、画像の編集処理、画像の削除処理、その他のアプリケーションでの処理などをユーザの操作に応じて行う。   In S808, single image reproduction processing for sending images one by one for viewing, image editing processing, image deletion processing, processing in other applications, and the like are performed according to user operations.

S809にてシステム制御回路50は、モードダイアル60の設定位置を判定し、再生モードでなければ処理を終了し、再生モードのままであれば再度処理をS802に戻す。   In step S809, the system control circuit 50 determines the set position of the mode dial 60. If the playback mode is not set, the process ends. If the playback mode remains, the process returns to step S802.

[代表画像再生処理について]
図9は、本実施形態のデジタルカメラ100の代表画像再生処理を説明するフローチャートである。図9のフローチャートは図8のS803の詳細を示している。図8のS803より代表画像再生処理要求があると、処理はS901に進む。
[Representative image playback processing]
FIG. 9 is a flowchart for explaining representative image reproduction processing of the digital camera 100 of the present embodiment. The flowchart in FIG. 9 shows details of S803 in FIG. If there is a representative image reproduction processing request from S803 in FIG. 8, the process proceeds to S901.

S901にてシステム制御回路50は、メモリ52に保存されている属性情報リストより最小の属性番号の属性情報(最大ディレクトリ番号、最小ディレクトリ番号、該当ファイル数)を取得し、検索属性番号に該最小の属性番号を設定する。検索属性番号とは、検索条件となる画像ファイルの属性の属性番号である。また、以下、検索条件となる画像ファイルの属性を検索属性と呼ぶ。   In step S901, the system control circuit 50 acquires attribute information (maximum directory number, minimum directory number, number of corresponding files) of the minimum attribute number from the attribute information list stored in the memory 52, and sets the minimum attribute number as the search attribute number. Set the attribute number of. The search attribute number is an attribute number of an attribute of an image file that is a search condition. Hereinafter, an attribute of an image file serving as a search condition is referred to as a search attribute.

続いてS902にて、S901またはS908で取得した検索属性番号の該当ファイル数より、検索属性番号の属性をもつファイルがあるかどうかを判定する。該当ファイル数が「0」ではなく、該当するファイルがある(検索属性番号の属性をもつ画像ファイルがある)と判定するとS903に進み、ないと判定するとS907に進む。   Subsequently, in S902, it is determined whether there is a file having the attribute of the search attribute number from the number of corresponding files of the search attribute number acquired in S901 or S908. If it is determined that the number of corresponding files is not “0” but there is a corresponding file (there is an image file having the attribute of the search attribute number), the process proceeds to S903, and if it is not determined, the process proceeds to S907.

S903では、検索属性番号の属性をもつ先頭のファイルを取得するための検索条件を設定する。検索条件は、検索するディレクトリの番号である検索ディレクトリ番号と、検索するファイル番号である検索ファイル番号よりなる。検索ディクトリ番号に検索属性番号の属性情報の最小ディレクトリ番号を設定し、検索ファイル番号に1(初期値)を設定する。これにより、検索属性番号の最小ディレクトリより小さいディレクトリについては検索対象としないことが設定され、無駄な検索を省いている。   In step S903, a search condition for acquiring the first file having the attribute of the search attribute number is set. The search condition includes a search directory number that is a directory number to be searched and a search file number that is a file number to be searched. The minimum directory number of the attribute information of the search attribute number is set as the search directory number, and 1 (initial value) is set as the search file number. As a result, a directory smaller than the minimum directory having the search attribute number is set not to be searched, and a useless search is omitted.

続いてS904にて、設定した検索ファイル番号以降のファイル番号で、最初に検索属性番号の属性をもつファイルを検索する該当ファイル検索処理を行う。該当ファイル検索処理については図12を用いて後述する。   In step S904, a corresponding file search process is performed to search for a file having the attribute of the search attribute number first with a file number after the set search file number. The relevant file search process will be described later with reference to FIG.

S905では、S904にて検索したファイルの画像情報を取得する。画像情報とはS904で検索したファイルのディレクトリ番号、ファイル名、ファイル番号や画像表示用の画像データなどである。   In S905, the image information of the file searched in S904 is acquired. The image information is the directory number, file name, file number, image data for image display, etc. of the file searched in S904.

続いてS906では、S905にて取得した画像データを画像表示部28に表示する。この時、必要であればS905にて取得した、ディレクトリ番号、ファイル名、ファイル番号等の画像データ以外の情報を画像データと共に表示しても良い。   In step S906, the image data acquired in step S905 is displayed on the image display unit 28. At this time, if necessary, information other than image data such as a directory number, a file name, and a file number acquired in S905 may be displayed together with the image data.

S907では終了条件を満たすか否かを判定する。終了であると判定した場合、代表画像再生処理を終了し、終了でないと判定するとS908に進む。   In S907, it is determined whether an end condition is satisfied. If it is determined that the process has been completed, the representative image reproduction process ends. If it is determined that the process has not ended, the process advances to step S908.

S908では、検索属性番号の次の属性番号が示す属性情報を取得し、検索属性番号に次の属性番号を設定した後、処理を再びS902に戻す。   In S908, the attribute information indicated by the attribute number next to the search attribute number is acquired, and after setting the next attribute number in the search attribute number, the process returns to S902 again.

[属性絞り込み再生処理について]
図10は、本実施形態のデジタルカメラ100の属性絞り込み再生処理を説明するフローチャートである。図10のフローチャートは図8のS805の詳細を示している。図8のS805より属性絞り込み再生処理要求があると、処理はS1001に進む。
[About attribute refinement playback processing]
FIG. 10 is a flowchart for explaining attribute narrowing reproduction processing of the digital camera 100 of the present embodiment. The flowchart in FIG. 10 shows details of S805 in FIG. If there is an attribute narrowing reproduction process request from S805 in FIG. 8, the process proceeds to S1001.

S1001にてシステム制御回路50は、メモリ52に保存されている属性情報リストより、ユーザから絞り込む属性として指定された属性に該当する属性情報(最大ディレクトリ番号、最小ディレクトリ番号、該当ファイル数)を取得する。また、検索属性番号に、ユーザから絞り込む属性として指定された属性の属性番号を設定する。   In step S <b> 1001, the system control circuit 50 acquires attribute information (maximum directory number, minimum directory number, number of corresponding files) corresponding to the attribute specified as an attribute to be narrowed down by the user from the attribute information list stored in the memory 52. To do. Further, the attribute number of the attribute designated as the attribute to be narrowed down by the user is set in the search attribute number.

続いてS1002にて、S1001で取得した検索属性番号の該当ファイル数より、検索属性番号の属性をもつファイルがあるかどうかを判定する。該当ファイル数が「0」ではなく、該当するファイルがある(検索属性番号の属性をもつ画像ファイルがある)と判定するとS1003に進み、ないと判定すると属性絞り込み再生処理を終了する。   Subsequently, in S1002, it is determined whether there is a file having the attribute of the search attribute number from the number of corresponding files of the search attribute number acquired in S1001. If it is determined that the number of corresponding files is not “0” but there is a corresponding file (there is an image file having the attribute of the search attribute number), the process proceeds to S1003.

S1003では、検索属性番号の属性をもつ先頭のファイルを取得するための検索条件を設定する。検索条件は、検索するディレクトリの番号である検索ディレクトリ番号と、検索するファイル番号である検索ファイル番号よりなる。検索ディクトリ番号に検索属性の最小ディレクトリ番号を設定し、検索ファイル番号に1(初期値)を設定する。これにより、検索属性番号の最小ディレクトリより小さいディレクトリについては検索対象としないことが設定され、無駄な検索を省いている。   In S1003, a search condition for acquiring the first file having the attribute of the search attribute number is set. The search condition includes a search directory number that is a directory number to be searched and a search file number that is a file number to be searched. The minimum directory number of the search attribute is set in the search directory number, and 1 (initial value) is set in the search file number. As a result, a directory smaller than the minimum directory having the search attribute number is set not to be searched, and a useless search is omitted.

続いてS1004にて、設定した検索ファイル番号以降のファイル番号で、最初に検索属性番号に該当するファイルを検索する該当ファイル検索処理を行う。該当ファイル検索処理については図12を用いて後述する。   In step S1004, a file search process is performed to search for a file corresponding to the search attribute number first with a file number after the set search file number. The relevant file search process will be described later with reference to FIG.

S1005では終了条件を満たすか否かを判定する。終了であると判定した場合属性絞り込み再生処理を終了し、終了でないと判定するとS1006へ進む。   In step S1005, it is determined whether an end condition is satisfied. If it is determined that the processing is finished, the attribute narrowing reproduction processing is finished. If it is determined that the processing is not finished, the processing proceeds to S1006.

S1006では、S1004で検索したファイルの画像情報を取得する。画像情報とはS1004で検索したファイルのディレクトリ番号、ファイル名、ファイル番号や画像表示用の画像データなどである。   In S1006, image information of the file searched in S1004 is acquired. The image information includes the directory number, file name, file number, image data for image display, and the like of the file searched in S1004.

続いてS1007にて、S1006で取得した画像データを画像表示部28に表示する。この時、必要であればS1006にて取得した、ディレクトリ番号、ファイル名、ファイル番号等の画像データ以外の情報を画像データと共に表示しても良い。   In step S1007, the image data acquired in step S1006 is displayed on the image display unit 28. At this time, if necessary, information other than image data such as a directory number, a file name, and a file number acquired in S1006 may be displayed together with the image data.

S1008では、S1004で検索されたファイルのファイル番号より大きいファイル番号で、さらに検索属性番号に該当する画像ファイルを検索するための検索条件を設定する。すなわち、検索ディレクトリ番号にS1006で取得したディレクトリ番号を設定する。検索ファイル番号には、ファイル情報リストを参照して、S1006で取得したファイル番号より大きいファイル番号で次に存在するファイル番号を取得して設定する。S1006で取得したファイル番号より大きいファイル番号で次に存在するファイル番号が存在しない場合は、エラー値(10000:最大ファイル番号より大きく、ファイル番号として有り得ない値)を検索ファイル番号に設定する。続いて処理をS1004に戻し再び該当ファイル検索処理を実行する。   In S1008, a search condition for searching for an image file corresponding to the search attribute number with a file number larger than the file number of the file searched in S1004 is set. That is, the directory number acquired in S1006 is set as the search directory number. The search file number is obtained by setting the next existing file number with a file number larger than the file number acquired in S1006 by referring to the file information list. If the file number that is larger than the file number acquired in S1006 and the next existing file number does not exist, an error value (10000: a value that is larger than the maximum file number and cannot be used as a file number) is set as the search file number. Subsequently, the process returns to S1004 to execute the file search process again.

[属性ソート列挙処理について]
図11は、本実施形態のデジタルカメラ100の属性ソート列挙処理を説明するフローチャートである。図11のフローチャートは図8のS807の詳細を示している。図8のS807より属性ソート列挙処理要求があると、処理はS1101に進む。
[About attribute sort enumeration processing]
FIG. 11 is a flowchart for explaining attribute sort enumeration processing of the digital camera 100 of the present embodiment. The flowchart in FIG. 11 shows details of S807 in FIG. If there is an attribute sort enumeration process request from S807 in FIG. 8, the process proceeds to S1101.

S1101にてシステム制御回路50は、メモリ52に保存されている属性情報リストより最小の属性番号の属性情報(最大ディレクトリ番号、最小ディレクトリ番号、該当ファイル数)を取得し、検索属性番号に該最小の属性番号を設定する。   In S1101, the system control circuit 50 obtains attribute information (maximum directory number, minimum directory number, number of corresponding files) of the minimum attribute number from the attribute information list stored in the memory 52, and sets the minimum attribute number as the search attribute number. Set the attribute number of.

続いてS1102にて、S1101またはS1110で取得した検索属性番号の該当ファイル数より検索属性番号の属性をもつファイルがあるかどうかを判定する。該当ファイル数が「0」ではなく、該当するファイルがある(検索属性番号の属性をもつ画像ファイルがある)と判定するとS1103に進み、該当するファイルがないと判定するとS1109に進む。   Subsequently, in S1102, it is determined whether there is a file having the attribute of the search attribute number from the number of corresponding files of the search attribute number acquired in S1101 or S1110. If it is determined that the number of corresponding files is not “0” but there is a corresponding file (there is an image file having a search attribute number attribute), the process proceeds to S1103, and if it is determined that there is no corresponding file, the process proceeds to S1109.

S1103では、検索属性番号の属性をもつ先頭のファイルを取得するための検索条件を設定する。検索条件は、検索するディレクトリの番号である検索ディレクトリ番号と、検索するファイル番号である検索ファイル番号よりなる。検索ディクトリ番号に検索属性番号の属性情報が示すの最小ディレクトリ番号を設定し、検索ファイル番号に1(初期値)を設定する。これにより、検索属性番号の最小ディレクトリより小さいディレクトリについては検索対象としないことが設定され、無駄な検索を省いている。   In S1103, a search condition for acquiring the first file having the attribute of the search attribute number is set. The search condition includes a search directory number that is a directory number to be searched and a search file number that is a file number to be searched. The minimum directory number indicated by the attribute information of the search attribute number is set in the search directory number, and 1 (initial value) is set in the search file number. As a result, a directory smaller than the minimum directory having the search attribute number is set not to be searched, and a useless search is omitted.

続いてS1104では、設定した検索ファイル番号以降のファイル番号で、最初に検索属性番号に該当するファイルを検索する該当ファイル検索処理を行う。該当ファイル検索処理については図12を用いて後述する。   In step S1104, a file search process is performed to search for a file corresponding to the search attribute number first with a file number after the set search file number. The relevant file search process will be described later with reference to FIG.

S1105ではS1104にて実行した該当ファイル検索処理の結果を確認し、該当ファイルが取得できたかどうかを判定する。該当ファイルがあると判定した場合はS1106に進み、該当ファイルが無かったと判定するとS1109に進む。   In step S1105, the result of the corresponding file search process executed in step S1104 is confirmed, and it is determined whether the corresponding file has been acquired. If it is determined that there is a corresponding file, the process proceeds to S1106. If it is determined that there is no corresponding file, the process proceeds to S1109.

S1106では、S1104で検索したファイルの画像情報を取得する。画像情報とはS1104で検索したファイルのディレクトリ番号、ファイル名、ファイル番号や画像表示用の画像データなどである。   In S1106, the image information of the file searched in S1104 is acquired. The image information includes the directory number, file name, file number, image data for image display, and the like of the file searched in S1104.

続いてS1107では、S1106で取得した画像データを画像表示部28に表示する。この時、必要であればS1106にて取得した、ディレクトリ番号、ファイル名、ファイル番号等の画像データ以外の情報を画像データと共に表示しても良い。   In step S1107, the image data acquired in step S1106 is displayed on the image display unit 28. At this time, if necessary, information other than image data such as a directory number, a file name, and a file number acquired in S1106 may be displayed together with the image data.

次にS1108では、S1104で検索されたファイルのファイル番号より大きいファイル番号で、さらに検索属性番号に該当する画像ファイルを検索するための検索条件を設定する。すなわち、検索ディレクトリ番号にはS1106で取得したディレクトリ番号を設定する。そして検索ファイル番号には、ファイル情報リストを参照して、S1106で取得したファイル番号より大きいファイル番号で次に存在するファイル番号を設定する。S1106で取得したファイル番号より大きいファイル番号で次に存在するファイル番号が存在しない場合は、エラー値(10000:最大ファイル番号より大きく、ファイル番号として有り得ない値)を検索ファイル番号に設定する。続いて処理をS1104に戻し再び該当ファイル検索処理を実行する。   In step S1108, a search condition for searching for an image file corresponding to the search attribute number with a file number larger than the file number of the file searched in step S1104 is set. That is, the directory number acquired in S1106 is set as the search directory number. The search file number is set to a file number that exists next with a file number larger than the file number acquired in S1106 with reference to the file information list. If the file number that is larger than the file number acquired in S1106 and the next existing file number does not exist, an error value (10000: a value that is larger than the maximum file number and cannot be used as a file number) is set as the search file number. Subsequently, the process returns to S1104 to execute the corresponding file search process again.

一方、S1109では終了条件を満たすか否かを判定する。終了であると判定した場合は属性ソート列挙処理を終了する。終了でないと判定するとS1110に進む。   On the other hand, in S1109, it is determined whether an end condition is satisfied. If it is determined that the process is finished, the attribute sort enumeration process is finished. If it is determined that the process has not ended, the process advances to step S1110.

S1110では、検索属性番号の次の属性番号が示す属性情報を取得し、検索属性に次の属性番号を設定した後、処理を再びS1102に戻す。   In S1110, the attribute information indicated by the attribute number next to the search attribute number is acquired, the next attribute number is set in the search attribute, and then the process returns to S1102.

[該当ファイル検索処理について]
図12は、本実施形態のデジタルカメラ100の該当ファイル検索処理を説明するフローチャートである。図12のフローチャートは、図9のS904、図10のSS1004および図11のS1104における該当ファイル検索処理の詳細を示している。
[Applicable file search processing]
FIG. 12 is a flowchart for explaining the corresponding file search process of the digital camera 100 of the present embodiment. The flowchart in FIG. 12 shows details of the corresponding file search process in S904 in FIG. 9, SS1004 in FIG. 10, and S1104 in FIG.

S904,S1004,S1104より該当ファイル検索処理要求があると、処理はS1201に進む。   If there is a corresponding file search process request from S904, S1004, and S1104, the process proceeds to S1201.

S1201において、システム制御部50は、検索情報を取得する。検索情報とは、設定された検索条件(検索ディレクトリ番号、検索ファイル番号)と、検索属性の最大ディレクトリ番号(属性情報リストより取得)である。   In step S1201, the system control unit 50 acquires search information. The search information is a set search condition (search directory number, search file number) and a maximum directory number of search attributes (obtained from the attribute information list).

続いてS1202では、メモリ52に保存されているディレクトリ情報リストより、検索ディレクトリ番号についてのディレクトリ情報(ディレクトリ内の最小属性番号、最大属性番号、総ファイル数)を取得する。   In step S1202, directory information (minimum attribute number, maximum attribute number, total number of files in the directory) for the search directory number is acquired from the directory information list stored in the memory 52.

S1203では、検索ディレクトリ番号と検索属性の最大ディレクトリ番号を比較し、検索ディレクトリ番号が最大ディレクトリ番号を越えていないか判定する。検索ディレクトリが最大ディレクトリ以下であると判定すると処理はS1204へ進み、検索ディレクトリが最大ディレクトリを越えていると判定すると該当するファイルは無いものとして、該当ファイル検索処理を終了する。この判定により、検索属性番号の最大ディレクトリより大きいディレクトリについては検索対象とならず、無駄な検索を省いている。   In S1203, the search directory number is compared with the maximum directory number of the search attribute to determine whether the search directory number exceeds the maximum directory number. If it is determined that the search directory is equal to or less than the maximum directory, the process proceeds to step S1204. If it is determined that the search directory exceeds the maximum directory, the corresponding file search process is terminated assuming that there is no corresponding file. By this determination, a directory larger than the maximum directory of the search attribute number is not searched and a useless search is omitted.

S1204にて、S1202で取得したディレクトリ情報とS1201にて取得した検索情報を用いて、検索ディレクトリに検索属性番号の属性情報を持つファイルがある可能性があるか否かを判定する。具体的には、ディレクトリ内の総ファイル数が「0」ではなく、検索属性番号がディレクトリ内の最小属性番号以上かつ最大属性番号以下であれば、検索属性番号の属性情報を持ったファイルが存在する可能性があると判定する。S1204にて、検索属性番号の属性情報を持ったファイルが存在する可能性があると判定するとS1205へ進み、検索属性番号の属性を持ったファイルが存在しないと判定するとS1207へ進む。このように、ディレクトリ情報リストと属性情報リストを参照するのみで、検索属性番号の属性をもったファイルが存在しないと判定されたディレクトリについては検索対象としないことで、無駄な検索処理を省いている。検索対象とならなかったディレクトリに含まれるファイルについては、ファイルアクセスを省けるので、その分高速な検索が可能となる。   In step S1204, the directory information acquired in step S1202 and the search information acquired in step S1201 are used to determine whether there is a possibility that there is a file having search attribute number attribute information in the search directory. Specifically, if the total number of files in the directory is not “0” and the search attribute number is greater than or equal to the minimum attribute number and less than or equal to the maximum attribute number in the directory, a file having attribute information of the search attribute number exists. It is determined that there is a possibility of If it is determined in S1204 that there is a possibility that a file having the attribute information of the search attribute number exists, the process proceeds to S1205. If it is determined that there is no file having the attribute of the search attribute number, the process proceeds to S1207. In this way, only the directory information list and the attribute information list are referred to, and a directory that is determined not to have a file having the attribute of the search attribute number is not included in the search target, thereby eliminating unnecessary search processing. Yes. Since a file access can be omitted for a file included in a directory that has not been searched, a higher speed search is possible.

S1205では、検索ディレクトリ番号についてのファイル情報リストから、検索属性番号の属性情報をもつファイルを検索する処理であるファイル情報リスト検索処理を実行する。ファイル情報リスト検索処理については図13を用いて後述する。   In step S1205, a file information list search process is executed, which is a process for searching for a file having the attribute information of the search attribute number from the file information list for the search directory number. The file information list search process will be described later with reference to FIG.

S1206では、S1205で実行したファイル情報検索処理にて検索属性番号の属性情報をもつファイルが見つかったか否かを判定する。検索属性番号のファイルが見つかったと判定すると該当ファイル検索処理を終了し、検索属性番号の属性情報をもつファイルが見つからなかったと判定するとS1207へ進む。   In step S1206, it is determined whether a file having the attribute information of the search attribute number is found in the file information search process executed in step S1205. If it is determined that the file having the search attribute number is found, the file search process is terminated. If it is determined that the file having the attribute information of the search attribute number is not found, the process proceeds to S1207.

S1207では、検索ディレクトリ番号を次のディレクトリ番号に設定し、かつ検索ファイル番号を1(初期値)に設定し直してS1202へ処理を戻す。   In S1207, the search directory number is set to the next directory number, and the search file number is reset to 1 (initial value), and the process returns to S1202.

[ファイル情報リスト検索処理について]
図13は、本実施形態のデジタルカメラ100のファイル情報リスト検索処理を説明するフローチャートである。図13のフローチャートは、図12のS1205におけるファイル情報リスト検索処理の詳細を示している。S1205よりファイル情報リスト検索処理要求があると、処理はS1301に進む。
[File information list search processing]
FIG. 13 is a flowchart for explaining file information list search processing of the digital camera 100 according to the present embodiment. The flowchart in FIG. 13 shows details of the file information list search process in S1205 in FIG. If there is a file information list search processing request from S1205, the processing proceeds to S1301.

S1301にてシステム制御部50は検索条件(検索ディレクトリ番号、検索ファイル番号)を取得する。   In S1301, the system control unit 50 acquires search conditions (search directory number, search file number).

続いてS1302にて、検索ディレクトリ番号のディレクトリに関して、図5で前述したファイル情報リスト作成処理を行う。   In step S1302, the file information list creation process described above with reference to FIG.

S1303では、検索ディレクトリについてのファイル情報リストの最大ファイル番号と、検索ファイル番号とを比較して、検索ファイル番号が最大ファイル番号以下であるか否かを判定する。検索ファイル番号が最大ファイル番号以下であると判定するとS1304へ進む。一方、検索ファイル番号が最大ファイル番号より大きいと判定すると、検索ディレクトリ内には検索属性をもつ該当ファイルが見つからなかったものとして、ファイル情報リスト検索処理を終了する。   In S1303, the maximum file number in the file information list for the search directory is compared with the search file number to determine whether the search file number is equal to or less than the maximum file number. If it is determined that the search file number is equal to or less than the maximum file number, the process proceeds to S1304. On the other hand, if it is determined that the search file number is larger than the maximum file number, the file information list search process is terminated assuming that the corresponding file having the search attribute is not found in the search directory.

S1304では、検索ファイル番号のファイル情報をファイル情報リストより取得する。   In S1304, the file information of the search file number is acquired from the file information list.

S1305では、S1304で取得したファイル情報を確認し、検索属性番号と同じ属性番号の属性があるか否かを判定する。検索属性番号と同じ属性番号の属性をもつと判定すると、検索属性番号の属性をもつ該当ファイルが見つかったものとしてファイル情報リスト検索処理を終了する。一方、検索属性番号と同じ属性番号の属性をもたないと判定するとS1306へ進む。なお、検索ファイル番号のファイルが該当ディレクトリに存在しなかった場合、すなわちS1304で検索ファイル番号のファイル情報をファイル情報リストより取得できなかった場合もS1306へ進む。   In step S1305, the file information acquired in step S1304 is checked to determine whether there is an attribute having the same attribute number as the search attribute number. If it is determined that the file has the attribute with the same attribute number as the search attribute number, the file information list search process is terminated assuming that the corresponding file having the attribute with the search attribute number is found. On the other hand, if it is determined that there is no attribute having the same attribute number as the search attribute number, the process proceeds to S1306. If the file with the search file number does not exist in the corresponding directory, that is, if the file information with the search file number cannot be acquired from the file information list in S1304, the process proceeds to S1306.

S1306では、次ファイル番号取得を行う。検索ディレクトリ番号についてのファイル情報リストから、検索ファイル番号の次に存在するファイル番号を取得し、検索ファイル番号を次のファイル番号に変更する。また、次のファイル番号が見つからなかった場合には、エラー値(10000:最大ファイル番号より大きく、ファイル番号として有り得ない値)を検索ファイル番号に設定する。S1306で次ファイル番号取得を行うと、処理をS1303へ戻す。   In step S1306, the next file number is acquired. The file number existing after the search file number is acquired from the file information list for the search directory number, and the search file number is changed to the next file number. If the next file number is not found, an error value (10000: a value larger than the maximum file number and an impossible file number) is set as the search file number. If the next file number is acquired in S1306, the process returns to S1303.

[撮影日による属性ソート列挙処理の例]
以下、扱う属性を撮影日とし、撮影日順に画像ファイルをソートして表示する例を説明する。
[Example of attribute sort enumeration by shooting date]
Hereinafter, an example will be described in which an attribute to be handled is a shooting date and image files are sorted and displayed in order of shooting date.

図14に、記録媒体200に保存されている画像ファイルとフォルダ構成の一例を示す。また、図15に図14に示した画像ファイルとフォルダ構成の場合の属性情報リスト、ディレクトリ情報リスト、ファイル情報リストの例を示す。図14の画像ファイルとフォルダ構成であれば、予め図2〜図7で前述した処理を経て、図15(a)の属性情報リスト1502、図15(b)のディレクトリ情報リスト1508が作成される。また、図14のディレクトリ番号100についてファイル情報リストを作成すれば、図15(c)のファイル情報リスト1513となる。撮影日順でこれらの画像ファイルをソートして表示するには、各リストを用いて、図11で前述した属性ソート列挙処理を行う。   FIG. 14 shows an example of the image file and folder configuration stored in the recording medium 200. FIG. 15 shows an example of the attribute information list, directory information list, and file information list in the case of the image file and folder structure shown in FIG. In the case of the image file and folder structure of FIG. 14, the attribute information list 1502 of FIG. 15A and the directory information list 1508 of FIG. 15B are created through the processing described above with reference to FIGS. . If a file information list is created for the directory number 100 in FIG. 14, the file information list 1513 in FIG. 15C is obtained. In order to sort and display these image files in order of shooting date, the attribute sort enumeration process described above with reference to FIG. 11 is performed using each list.

図11の属性ソート列挙処理を開始すると、まずS1101では、属性情報リスト1502より最小の属性番号に該当する属性情報を取得し、検索属性番号にその属性番号を設定する。ここでは最小の属性番号「0」に該当する属性情報1503(最小ディレクトリ番号「100」、最大ディレクトリ番号「300」、総ファイル数「3」)を取得し、検索属性番号に「0」を設定する。   When the attribute sort enumeration process of FIG. 11 is started, first, in S1101, the attribute information corresponding to the smallest attribute number is acquired from the attribute information list 1502, and the attribute number is set as the search attribute number. Here, attribute information 1503 corresponding to the minimum attribute number “0” (minimum directory number “100”, maximum directory number “300”, total number of files “3”) is acquired, and “0” is set as the search attribute number. To do.

次にS1102では、検索属性番号の属性情報の総ファイル数より、検索属性番号の属性をもつファイルがあるかどうかを判定する。ここでは検索属性番号「0」の属性情報1503から総ファイル数が「3」であることが確認できるので、検索属性番号「0」に該当するファイルがあると判定してS1103に進む。   In step S1102, it is determined whether there is a file having the attribute of the search attribute number based on the total number of files of the attribute information of the search attribute number. Here, since it can be confirmed from the attribute information 1503 of the search attribute number “0” that the total number of files is “3”, it is determined that there is a file corresponding to the search attribute number “0”, and the process proceeds to S1103.

S1103では検索属性番号の属性をもつ先頭のファイルを取得するための検索条件を設定する。ここでは、検索属性番号「0」の属性情報1503より、最小ディレクトリ番号「100」を取得して検索ディレクトリ番号として設定する。また、検索ファイル番号に「1」(初期値)を設定する。続いてS1104に進み、図12にて前述した該当ファイル検索処理を行う。   In S1103, a search condition for acquiring the first file having the attribute of the search attribute number is set. Here, the minimum directory number “100” is acquired from the attribute information 1503 of the search attribute number “0” and set as the search directory number. Also, “1” (initial value) is set to the search file number. In step S1104, the corresponding file search process described above with reference to FIG.

図12(該当ファイル検索処理)のS1201では、検索情報として、S1103で設定した検索ディレクトリ番号「100」と検索ファイル番号「1」を取得する。また、検索属性番号「0」の属性情報1503から、最大ディレクトリ番号「300」を取得する。   In S1201 of FIG. 12 (corresponding file search processing), the search directory number “100” and the search file number “1” set in S1103 are acquired as search information. Further, the maximum directory number “300” is acquired from the attribute information 1503 of the search attribute number “0”.

S1202では、ディレクトリ情報リスト1508から、検索ディレクトリ番号「100」のディレクトリ情報1509を取得する。   In S1202, the directory information 1509 of the search directory number “100” is acquired from the directory information list 1508.

S1203では、検索ディレクトリ番号「100」と、検索属性番号「0」の最大ディレクトリ番号「300」とを比較し、検索ディレクトリ番号「100」が最大ディレクトリ番号「300」を越えていないのでS1204に進む。   In S1203, the search directory number “100” is compared with the maximum directory number “300” of the search attribute number “0”. Since the search directory number “100” does not exceed the maximum directory number “300”, the process proceeds to S1204. .

S1204では、検索ディレクトリ「100」のディレクトリ情報1509(最小属性番号「0」、最大属性番号「5」、総ファイル数「3」)から、該当ファイルがありそうかどうかを判定する。総ファイル数が「0」ではなく、検索属性番号「0」がディレクトリ内の最小属性番号「0」以上、最大属性番号「5」以下なので、検索中の属性を持ったファイルが存在する可能性があると判定し、S1205のファイル情報リスト検索処理(図13)に進む。   In S1204, it is determined from the directory information 1509 (minimum attribute number “0”, maximum attribute number “5”, total file number “3”) of the search directory “100” whether or not the corresponding file is likely to exist. Since the total number of files is not “0” and the search attribute number “0” is not less than the minimum attribute number “0” in the directory and not more than the maximum attribute number “5”, there is a possibility that a file having the attribute being searched exists. It is determined that there is a file information list, and the process proceeds to the file information list search process in FIG.

図13(ファイル情報リスト検索処理)のS1301では、検索条件である検索ディレクトリ番号「100」と検索ファイル番号「1」を取得する。S1302では図5で前述したファイル情報リスト作成処理を実行し、検索ディレクトリ番号「100」についてのファイル情報リストを作成する。検索ディレクトリ番号「100」についてのファイル情報リストの例は、前述した図15(c)に示したファイル情報リスト1513である。   In S1301 of FIG. 13 (file information list search process), the search directory number “100” and the search file number “1” which are search conditions are acquired. In step S1302, the file information list creation process described above with reference to FIG. 5 is executed to create a file information list for the search directory number “100”. An example of the file information list for the search directory number “100” is the file information list 1513 shown in FIG.

S1303では現在の検索ファイル番号「1」とファイル情報リスト1513に含まれる最大ファイル番号「4」とを比較し、現在の検索ファイル番号「1」が最大ファイル番号「4」以下であると判定してS1304に進む。   In S1303, the current search file number “1” is compared with the maximum file number “4” included in the file information list 1513, and it is determined that the current search file number “1” is equal to or less than the maximum file number “4”. The process proceeds to S1304.

S1304では、ファイル情報リスト1513より検索ファイル番号「1」のファイル情報1514を取得する。ファイル番号「1」の撮影日は2008/1/6であり、属性情報リスト1505より属性番号「5」であることが取得される。   In step S1304, the file information 1514 of the search file number “1” is acquired from the file information list 1513. The shooting date of the file number “1” is 1/6/2008, and it is acquired from the attribute information list 1505 that the attribute number is “5”.

S1305ではS1304で取得したファイル情報1514の属性情報「5」が、検索属性「0」と同じであるかどうかを判定するが、ここでは同じではないのでS1306に進む。   In S1305, it is determined whether or not the attribute information “5” of the file information 1514 acquired in S1304 is the same as the search attribute “0”. However, since it is not the same here, the process proceeds to S1306.

S1306では、ファイル情報リスト1513を参照して、現在の検索ファイル番号「1」の次に存在するファイル番号「2」を取得し、新たな検索ファイル番号として「2」を設定し、再度S1303に進む。   In S1306, the file information list 1513 is referred to, the file number “2” existing after the current search file number “1” is acquired, “2” is set as the new search file number, and the process returns to S1303. move on.

S1303では現在の検索ファイル番号「2」がファイル情報リスト1513に含まれる最大ファイル番号「4」以下なのでS1304に進む。   In step S1303, the current search file number “2” is equal to or less than the maximum file number “4” included in the file information list 1513, and the process advances to step S1304.

S1304では検索ファイル番号「2」のファイル情報1515を取得する。これにより検索ファイル番号「2」の撮影日は2008/1/1であり、属性情報リスト1503より属性番号「0」であることが分かる。   In S1304, the file information 1515 of the search file number “2” is acquired. As a result, the shooting date of the search file number “2” is 2008/1/1, and it can be seen from the attribute information list 1503 that the attribute number is “0”.

続くS1305にて検索属性番号「0」と、検索ファイル番号「2」の属性番号「0」とが一致するため該当ファイル有りと判定し、ファイル情報リスト検索処理を終了する。   In subsequent S1305, since the search attribute number “0” matches the attribute number “0” of the search file number “2”, it is determined that the corresponding file exists, and the file information list search process is terminated.

続いて図12(該当ファイル検索処理)のS1206においても該当ファイルが見つかったものと判定し、該当ファイル検索処理を終了する。さらに図11(属性ソート列挙処理)のS1105においても該当ファイルが見つかったもの判定し、S1106へ進む。   Subsequently, in S1206 of FIG. 12 (corresponding file search process), it is determined that the corresponding file is found, and the corresponding file search process is ended. Further, in S1105 of FIG. 11 (attribute sort enumeration process), it is determined that the corresponding file is found, and the process proceeds to S1106.

S1106では該当ファイルとして見つかったファイル番号「2」の表示画像情報を取得し、続くS1107でファイル番号「2」の画像ファイルを表示する。   In S1106, the display image information of the file number “2” found as the corresponding file is acquired, and in the subsequent S1107, the image file of the file number “2” is displayed.

S1108にて次の画像ファイルを検索するための検索条件を設定する。S1107で表示した画像ファイルのディレクトリ番号「100」を検索ディレクトリ番号に設定し、検索ディレクトリ内で、S1107で表示した画像ファイルの次に存在するファイル番号「3」をファイル情報リスト1513から取得し、検索ファイル番号に設定する。続いてS1104の該当ファイル検索処理(図12)を再び行う。   In S1108, a search condition for searching for the next image file is set. The directory number “100” of the image file displayed in S1107 is set as the search directory number, and the file number “3” existing after the image file displayed in S1107 is acquired from the file information list 1513 in the search directory. Set to search file number. Subsequently, the corresponding file search process (FIG. 12) of S1104 is performed again.

図12の該当ファイル検索処理にて前述と同様にS1201〜S1204の処理を経て、S1205のファイル情報リスト検索処理(図13)を実行する。この時のファイル情報リスト検索処理においては、既にディレクトリ番号「100」のファイル管理情報リスト1502が作成されているため、新たにファイル管理情報リストを作成することはしない。したがって記憶媒体200を参照する必要が無く、メモリ52を参照するだけで良いので高速に画像ファイルを検索することが可能である。   In the corresponding file search process of FIG. 12, the file information list search process (FIG. 13) of S1205 is executed through the processes of S1201 to S1204 as described above. In the file information list search process at this time, since the file management information list 1502 with the directory number “100” has already been created, a new file management information list is not created. Therefore, it is not necessary to refer to the storage medium 200, and it is only necessary to refer to the memory 52, so that an image file can be searched at high speed.

図13のファイル情報リスト検索処理が検索ファイル番号「3」から行われ、今度は検索属性番号「0」の該当ファイルとしてファイル番号「4」が見つかり、ファイル情報1516が取得される。ファイル情報1516から、撮影日が2008/1/1であり、属性情報リスト1503より属性番号「0」であるため、検索属性番号「0」に該当するファイルが見つかったとして図13のファイル情報リスト検索処理を抜ける。   The file information list search process of FIG. 13 is performed from the search file number “3”. This time, the file number “4” is found as the corresponding file of the search attribute number “0”, and the file information 1516 is acquired. Since the shooting date is 2008/1/1 from the file information 1516 and the attribute number is “0” from the attribute information list 1503, it is assumed that the file corresponding to the search attribute number “0” is found. Exit the search process.

したがって図12のS1206で該当ファイル有りと判定し、図11のS1105でも該当ファイル有りと判定し、S1106の表示画像情報取得、S1107の画像表示でファイル番号「4」の画像ファイルが表示される。そしてS1108で検索ディレクトリ番号は「100」とし、検索ファイル番号はS1107で表示した画像ファイルのファイル番号の次に存在するファイル番号である「5」とし、S1104の該当ファイル検索処理に進む。   Accordingly, it is determined in S1206 in FIG. 12 that the corresponding file exists, and it is determined in S1105 in FIG. 11 that the corresponding file exists, and the image file with the file number “4” is displayed in the display image information acquisition in S1106 and the image display in S1107. In step S1108, the search directory number is set to “100”, the search file number is set to “5”, which is the file number existing next to the file number of the image file displayed in step S1107, and the process proceeds to the corresponding file search process in step S1104.

再び、該当ファイル検索処理(図12)のS1201〜S1204の処理を経て、S1205でのファイル情報リスト検索処理(図13)にすすむ。図13のファイル情報リスト検索処理では、ディレクトリ番号「100」に含まれるファイル番号「5」以降のファイルの検索を行うが、S1303で検索ファイル番号「5」が最大ファイル以下ではないと判定されるため、該当するファイル無しとなる。したがって図12のS1206でも該当ファイルが見つからないと判定してS1207に進む。   Again, after the processing of S1201 to S1204 of the corresponding file search process (FIG. 12), the process proceeds to the file information list search process (FIG. 13) in S1205. In the file information list search process of FIG. 13, a search is performed for files after the file number “5” included in the directory number “100”, but it is determined in S1303 that the search file number “5” is not less than or equal to the maximum file. Therefore, there is no corresponding file. Accordingly, it is determined in S1206 in FIG. 12 that the corresponding file is not found, and the process proceeds to S1207.

S1207では検索ディレクトリ番号を1つ進めて「101」とし、検索ファイル番号は初期値の「1」に設定しなおす。続くS1202、S1203の処理を経てS1204に処理を進める。   In step S1207, the search directory number is incremented by 1 to “101”, and the search file number is reset to the initial value “1”. The process advances to step S1204 through the subsequent steps S1202 and S1203.

この時、S1204では、ディレクトリ情報リスト1508のうち検索ディレクトリ番号「101」のディレクトリ情報1510を参照するが、総ファイル数が「0」であるため、ディレクトリ番号101に該当ファイルは無いと判定し、S1207に進む。S1207では検索ディレクトリ番号を1つ進めて「102」とし、検索ファイル番号は初期値の「1」に設定しなおす。   At this time, in S1204, the directory information 1510 of the search directory number “101” in the directory information list 1508 is referred to. However, since the total number of files is “0”, it is determined that there is no corresponding file in the directory number 101. The process proceeds to S1207. In step S1207, the search directory number is advanced by one to “102”, and the search file number is reset to the initial value “1”.

そしてS1202以降の処理を繰り返すが、ディレクトリ番号「102」〜「199」はいずれも総ファイル数が「0」であるため、上記と同様にS1204で該当ファイルは無いと判定し、S1207、S1202〜S1204の処理を繰り返すこととなる。   The processing from S1202 onward is repeated, but the directory numbers “102” to “199” all have “0” as the total number of files. Therefore, it is determined in S1204 that there is no corresponding file, and S1207 and S1202 are the same. The process of S1204 will be repeated.

検索ディレクトリ番号が「200」となると、ディレクトリ情報1511より総ファイル数が「2」となり、「0」ではない。しかし、最小属性番号「5」、最大属性番号「35」であるため、検索属性番号「0」に該当するファイルが検索ディレクトリ「200」には存在しない。したがってS1204でやはり該当ファイル無しと判定し、S1207に進んで検索ディレクトリ番号を1つ進めて「201」とし、検索ファイル番号は初期値の「1」に設定しなおす。   When the search directory number is “200”, the total number of files is “2” and not “0” from the directory information 1511. However, since the minimum attribute number is “5” and the maximum attribute number is “35”, the file corresponding to the search attribute number “0” does not exist in the search directory “200”. Accordingly, it is also determined in S1204 that there is no corresponding file, and the process proceeds to S1207, where the search directory number is incremented by one to “201”, and the search file number is reset to the initial value “1”.

そしてS1202以降の処理を繰り返すが、ディレクトリ番号「201」〜「299」はいずれも総ファイル数が「0」であるため、上記と同様にS1204で該当ファイルは無いと判定し、S1207、S1202〜S1204の処理を繰り返すこととなる。   The processing from S1202 onward is repeated, but the directory numbers “201” to “299” all have “0” as the total number of files. The process of S1204 will be repeated.

検索ディレクトリ番号が「300」となると、ディレクトリ情報1512より総ファイル数が「1」であり、かつ最小属性番号「0」、最大属性番号「0」となる。そのため、検索属性番号「0」に該当するファイルが検索ディレクトリ「300」に存在しそうであるとわかる。したがってS1204で該当ファイルがありそうだと判定し、S1205のファイル情報リスト検索処理(図13)へ進む。   When the search directory number is “300”, the total number of files is “1” from the directory information 1512, the minimum attribute number is “0”, and the maximum attribute number is “0”. Therefore, it is understood that the file corresponding to the search attribute number “0” is likely to exist in the search directory “300”. Therefore, it is determined in S1204 that the corresponding file is likely to exist, and the process proceeds to the file information list search process (FIG. 13) in S1205.

図13のファイル情報リスト検索処理ではまず、S1301で検索条件である検索ディレクトリ番号「300」と検索ファイル番号「1」を取得する。するとS1302で、図5で前述したファイル情報リスト作成処理を実行し、検索ディレクトリ番号「300」についてのファイル情報リストを作成する。続いて、S1303〜S1305の処理によって、検索属性番号「0」に該当するファイル番号「10」のファイルが検索され、該当ファイル有りとして図13のファイル情報検索処理を抜ける。そして図12のS1206で該当ファイル有りと判定され、図11のS1105でも該当ファイル有りと判定され、S1106の表示画像情報を取得し、S1107の画像表示でファイル番号「10」の画像が表示される。   In the file information list search process of FIG. 13, first, in S1301, the search directory number “300” and the search file number “1”, which are search conditions, are acquired. In step S1302, the file information list creation process described above with reference to FIG. 5 is executed to create a file information list for the search directory number “300”. Subsequently, the file of the file number “10” corresponding to the search attribute number “0” is searched by the processes of S1303 to S1305, and the file information search process of FIG. Then, it is determined in S1206 in FIG. 12 that the corresponding file exists, it is determined in S1105 in FIG. 11 that the corresponding file exists, display image information in S1106 is acquired, and an image with the file number “10” is displayed in the image display in S1107. .

続くS1108にて次の画像ファイルを検索するために、検索ディレクトリ番号をS1107で表示した画像ファイルのディレクトリ番号「300」に設定する。また、検索ファイル番号をS1107で表示した画像ファイルのファイル番号「10」の次に存在するファイル番号に設定する。そしてS1104の該当ファイル検索処理(図12)を再び行う。しかし図12の該当ファイル検索処理を行っても検索属性番号「0」に該当するファイルは取得されないので、図11のS1105にて該当ファイル無しと判定し、S1109に進む。   In step S1108, in order to search for the next image file, the search directory number is set to the directory number “300” of the image file displayed in step S1107. Also, the search file number is set to the file number existing after the file number “10” of the image file displayed in S1107. Then, the corresponding file search process in S1104 (FIG. 12) is performed again. However, since the file corresponding to the search attribute number “0” is not acquired even if the corresponding file search process of FIG. 12 is performed, it is determined that there is no corresponding file in S1105 of FIG. 11, and the process proceeds to S1109.

S1109では、属性情報リスト1502より、検索属性番号「0」以降の属性番号を持つファイルがまだ存在することがわかるので終了しないと判定し、S1110に進む。S1110では、属性情報リストを参照し、検索属性番号「0」以降で次に総ファイル数が「0」でない属性番号を取得する。ここでは属性番号「5」が取得されるので、次の検索属性番号として「5」を設定してS1102以降の処理に進む。   In S1109, it is determined from the attribute information list 1502 that there is still a file having an attribute number after the search attribute number “0”, so that it is determined not to end, and the process proceeds to S1110. In S1110, the attribute information list is referred to, and the attribute number after the search attribute number “0” and the next total file number that is not “0” is acquired. Since the attribute number “5” is acquired here, “5” is set as the next search attribute number, and the process proceeds to S1102 and subsequent steps.

以上の処理を繰り返すことにより、全画像ファイル分の撮影日順によるソートを行うことができる。撮影日順にソートして画像ファイルを表示した例を図16(c)に示す。図16(c)では、図14のようなフォルダ構成で記録されていた画像ファイルが、撮影日順で並んで表示されている。   By repeating the above processing, it is possible to sort in order of shooting date for all image files. FIG. 16C shows an example in which image files are displayed sorted in order of shooting date. In FIG. 16C, the image files recorded in the folder configuration as shown in FIG. 14 are displayed side by side in order of shooting date.

上記例では、総ファイル数が「0」であるディレクトリ番号「101」〜「199」、「201」〜「299」のファイル情報リストは作成しない。また、ディレクトリ内にファイルが存在はするが、該当ファイルが無いと判定したディレクトリ番号「200」のファイル情報リストも作成しない。このように無駄なファイル情報リストの作成処理を省くことで、高速に画像ファイルを検索することが可能となり、また、必要なディレクトリのファイル情報リストしか作成しない分、少ないメモリ消費量での属性ソートが可能となる。   In the above example, the file information lists of the directory numbers “101” to “199” and “201” to “299” whose total number of files is “0” are not created. In addition, although the file exists in the directory, the file information list of the directory number “200” determined to have no corresponding file is not created. By eliminating the process of creating a wasteful file information list in this way, it is possible to search for an image file at high speed, and attribute sorting with a small amount of memory consumption, because only the file information list of the necessary directory is created. Is possible.

また上記の要領で図9の代表画像再生処理を行うことで図16(a)に示したように、各撮影日1枚ずつ、ファイル番号が1番小さい先頭画像ファイルを表示することができる。また、図10の属性絞り込み再生処理を行うことで図16(b)のような同一撮影日の画像ファイルのみを表示することが可能である。   Further, by performing the representative image reproduction process of FIG. 9 as described above, as shown in FIG. 16A, it is possible to display the first image file with the smallest file number for each one of the shooting dates. Further, by performing the attribute narrowing reproduction process of FIG. 10, it is possible to display only the image file of the same shooting date as shown in FIG.

以上説明した実施の形態では、デジタルカメラに本発明を適用した例を説明したが、これに限られるものではなく、フォトビューワーやPC、TV、ディスプレイを備えたプリンタ、携帯電話等、画像検索が可能な装置であれば本発明を適用可能である。特に、メモリカードなどの外部記録媒体と接続をせずに利用する機器や、内部メモリの少ない機器など、使用できるメモリ容量が少ない画像検索装置に適用して好適である。検索のために大量のメモリ容量を必要としないので、装置のコストアップを抑えながら、特定の属性を持つ画像ファイルを検索することが実現できる。   In the embodiment described above, an example in which the present invention is applied to a digital camera has been described. However, the present invention is not limited to this, and a photo viewer, a PC, a TV, a printer equipped with a display, a mobile phone, etc. The present invention can be applied to any possible device. In particular, the present invention is suitable for application to an image search apparatus that has a small memory capacity, such as a device that is used without being connected to an external recording medium such as a memory card or a device that has a small internal memory. Since a large amount of memory capacity is not required for the search, it is possible to search for an image file having a specific attribute while suppressing an increase in the cost of the apparatus.

さらに、本実施形態においては、画像ファイルを検索する画像検索装置に本発明を適用した例を説明したが、これに限られるものではなく、画像ファイルに限らないファイルを検索する検索装置に本発明を適用してもよい。例えば、特定の属性を有する音声ファイルや文書ファイルを検索する場合にも本発明を適用可能である。   Furthermore, in the present embodiment, an example in which the present invention is applied to an image search device that searches for an image file has been described. May be applied. For example, the present invention can also be applied when searching for an audio file or a document file having a specific attribute.

なお、上述した実施の形態の処理は、各機能を具現化したソフトウェアのプログラムコードを記録した記憶媒体をシステム或いは装置に提供してもよい。そして、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによって、前述した実施形態の機能を実現することができる。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フロッピィ(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスクなどを用いることができる。或いは、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることもできる。   Note that the processing of the above-described embodiment may provide a system or apparatus with a storage medium that records software program codes that embody each function. The functions of the above-described embodiments can be realized by the computer (or CPU or MPU) of the system or apparatus reading out and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying such a program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, or the like can be used. Alternatively, a CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した各実施の形態の機能が実現されるだけではない。そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した各実施例の機能が実現される場合も含まれている。   The functions of the above-described embodiments are not only realized by executing the program code read by the computer. Including the case where the OS (operating system) running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. It is.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれてもよい。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した各実施の形態の機能が実現される場合も含むものである。   Further, the program code read from the storage medium may be written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. After that, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Is also included.

(a)は実施形態による画像検索装置の一例としてのデジタルカメラの外観図である。(b)はデジタルカメラの構成を示すブロック図である。FIG. 1A is an external view of a digital camera as an example of an image search device according to an embodiment. FIG. 2B is a block diagram illustrating a configuration of the digital camera. デジタルカメラ100の全体的な動作を示すフローチャートである。3 is a flowchart showing an overall operation of the digital camera 100. デジタルカメラ100のファイル管理処理を示すフローチャートである。4 is a flowchart showing file management processing of the digital camera 100. デジタルカメラ100の総画像枚数計算処理を示すフローチャートである。5 is a flowchart illustrating a total image number calculation process of the digital camera 100. (a)はデジタルカメラ100のファイル情報リスト作成処理を示すフローチャートである。(b)はメモリ52に記録されるファイル情報リストの例を示す図である。(A) is a flowchart showing file information list creation processing of the digital camera 100. (B) is a diagram showing an example of a file information list recorded in the memory 52. FIG. (a)はデジタルカメラ100の属性情報リスト登録処理を示すフローチャートである。(b)はメモリ52に記録される属性情報リストの例を示す図である。(A) is a flowchart showing an attribute information list registration process of the digital camera 100. (B) is a diagram showing an example of an attribute information list recorded in the memory 52. FIG. (a)はデジタルカメラ100のディレクトリ情報リスト登録処理を示すフローチャートである。(b)はメモリ52に保存されるディレクトリ情報リストの例を示す図である。9A is a flowchart showing directory information list registration processing of the digital camera 100. FIG. (B) is a diagram showing an example of a directory information list stored in the memory 52. FIG. デジタルカメラ100の再生モード処理を示すフローチャートである。3 is a flowchart showing playback mode processing of the digital camera 100. デジタルカメラ100の代表画像再生処理を示すフローチャートである。3 is a flowchart showing representative image reproduction processing of the digital camera 100. デジタルカメラ100の属性絞込み再生処理を示すフローチャートである。6 is a flowchart showing attribute narrowing reproduction processing of the digital camera 100. デジタルカメラ100の属性ソート列挙処理を示すフローチャートである。5 is a flowchart showing attribute sort enumeration processing of the digital camera 100. デジタルカメラ100の該当ファイル検索処理を示すフローチャートである。4 is a flowchart showing a corresponding file search process of the digital camera 100. デジタルカメラ100のファイル情報リスト検索処理を示すフローチャートである。5 is a flowchart showing a file information list search process of the digital camera 100. 記録媒体200に保存されている画像ファイルとフォルダ構成の一例である。3 is an example of an image file and folder configuration stored in a recording medium 200. FIG. (a)は属性情報リストの一例である。(b)はディレクトリ情報リストの一例である。(c)はファイル情報リストの一例である。(A) is an example of an attribute information list. (B) is an example of a directory information list. (C) is an example of a file information list. (a)は代表画像再生処理の結果表示される画像表示例である。(b)は属性絞り込み再生処理の結果表示される画像表示例である。(c)は属性ソート列挙処理の結果表示される画像表示例である。(A) is an image display example displayed as a result of the representative image reproduction process. (B) is an image display example displayed as a result of attribute narrowing reproduction processing. (C) is an image display example displayed as a result of the attribute sort enumeration process.

符号の説明Explanation of symbols

10 撮影レンズ
12 シャッター
14 撮像素子
16 A/D変換器
18 タイミング発生回路
20 画像処理回路
22 メモリ制御回路
24 画像表示メモリ
26 D/A変換器
28 画像表示部
30 メモリ
32 圧縮・伸長回路
40 露光制御手段
42 測距制御手段
44 ズーム制御手段
46 バリア制御手段
48 フラッシュ
50 システム制御回路
52 メモリ
54 表示部
56 不揮発性メモリ
58 タイマ
60 モードダイアル
60 モードダイアル
61 シャッターボタン
62 シャッタースイッチSW1
64 シャッタースイッチSW2
66 画像表示ON/OFFスイッチ
68 クイックレビューON/OFF
70 操作部
80 電源制御手段
82 コネクタ
84 コネクタ
86 電源手段
90 インターフェース
92 コネクタ
96 コネクタ
100 デジタルカメラ
102 保護手段
104 光学ファインダ
106 画像表示部開閉検知手段
108 外部出力接続検知手段
110 通信手段
112 コネクタ
114 マイク
118 スピーカー
200 記録媒体
201 記録媒体スロット
203 蓋
210 記録媒体
DESCRIPTION OF SYMBOLS 10 Shooting lens 12 Shutter 14 Image pick-up element 16 A / D converter 18 Timing generation circuit 20 Image processing circuit 22 Memory control circuit 24 Image display memory 26 D / A converter 28 Image display part 30 Memory 32 Compression / decompression circuit 40 Exposure control Means 42 Distance control means 44 Zoom control means 46 Barrier control means 48 Flash 50 System control circuit 52 Memory 54 Display unit 56 Non-volatile memory 58 Timer 60 Mode dial 60 Mode dial 61 Shutter button 62 Shutter switch SW1
64 Shutter switch SW2
66 Image display ON / OFF switch 68 Quick review ON / OFF
DESCRIPTION OF SYMBOLS 70 Operation part 80 Power supply control means 82 Connector 84 Connector 86 Power supply means 90 Interface 92 Connector 96 Connector 100 Digital camera 102 Protection means 104 Optical finder 106 Image display part opening / closing detection means 108 External output connection detection means 110 Communication means 112 Connector 114 Microphone 118 Speaker 200 Recording medium 201 Recording medium slot 203 Lid 210 Recording medium

Claims (17)

画像ファイルが有し得る属性毎に、該属性を有する画像ファイルの有無と、該属性を有する画像ファイルが記録されたディレクトリの情報とを管理する属性管理手段と、
ディレクトリ毎に、該ディレクトリに記録された画像ファイルの有無と、該ディレクトリに記録された画像ファイルの属性に関する情報とを管理するディレクトリ管理手段と、
前記属性管理手段によって管理される情報と、前記ディレクトリ管理手段によって管理される情報とに基づいて、特定の属性を有する画像ファイルが記録されていないディレクトリを判定する判定手段と、
前記判定手段によって前記特定の属性を有する画像ファイルが記録されていないディレクトリと判定されなかったディレクトリに記録された画像ファイルを対象として、該特定の属性を有する画像ファイルを検索する検索手段と
を有することを特徴とする画像検索装置。
Attribute management means for managing presence / absence of an image file having the attribute and information on a directory in which the image file having the attribute is recorded for each attribute that the image file may have,
Directory management means for managing the presence / absence of an image file recorded in the directory and information on the attribute of the image file recorded in the directory for each directory;
A determination unit that determines a directory in which an image file having a specific attribute is not recorded based on information managed by the attribute management unit and information managed by the directory management unit;
Search means for searching for an image file having the specific attribute for an image file recorded in a directory in which the image file having the specific attribute is not recorded by the determination unit. An image search apparatus characterized by that.
前記属性管理手段が管理する前記ディレクトリの情報は、前記属性を有する画像ファイルが記録されたディレクトリの範囲を特定する情報であることを特徴とする請求項1記載の画像検索装置。   2. The image search apparatus according to claim 1, wherein the directory information managed by the attribute management means is information for specifying a range of a directory in which an image file having the attribute is recorded. 前記ディレクトリの範囲を特定する情報は、前記属性を有する画像ファイルが記録されたディレクトリのうち、最大のディレクトリ番号のディレクトリと、最小のディレクトリ番号のディレクトリを示す情報であることを特徴とする請求項2記載の画像検索装置。   The information specifying the range of the directory is information indicating a directory having a maximum directory number and a directory having a minimum directory number among directories in which image files having the attribute are recorded. 2. The image search device according to 2. 前記ディレクトリ管理手段が管理する前記ディレクトリに記録された画像ファイルの属性に関する情報は、該ディレクトリに記録された画像ファイルが有する属性の範囲を特定する情報であることを特徴とする請求項1乃至3のいずれか1項に記載の画像検索装置。   4. The information relating to the attribute of the image file recorded in the directory managed by the directory management means is information for specifying a range of the attribute of the image file recorded in the directory. The image search device according to any one of the above. 前記属性の範囲を特定する情報は、前記ディレクトリに記録された画像ファイルの属性のうち、最大の属性番号と、最小の属性番号であることを特徴とする請求項4記載の画像検索装置。   5. The image search apparatus according to claim 4, wherein the information specifying the attribute range is a maximum attribute number and a minimum attribute number among the attributes of the image file recorded in the directory. 前記属性管理手段によって管理される情報と、前記ディレクトリ管理手段によって管理される情報は、予め確保された一定の容量のメモリ領域に記録して管理されることを特徴とする請求項1乃至5のいずれか1項に記載の画像検索装置。   6. The information managed by the attribute management unit and the information managed by the directory management unit are recorded and managed in a memory area of a certain capacity secured in advance. The image search device according to any one of the above. 前記一定の容量のメモリ領域は、画像ファイルが記録された記録媒体とは別の記録媒体に確保されることを特徴とする請求項6に記載の画像検索装置。   7. The image search apparatus according to claim 6, wherein the memory area having the predetermined capacity is secured on a recording medium different from the recording medium on which the image file is recorded. 特定のディレクトリに記録された全ての画像ファイルが有する属性を管理するファイル管理手段をさらに有し、
前記検索手段は、前記ファイル管理手段によって管理されている情報に基づいて前記特定の属性を有する画像ファイルを検索することを特徴とする請求項1乃至7のいずれか1項に記載の画像検索装置。
A file management means for managing attributes of all image files recorded in a specific directory;
8. The image search apparatus according to claim 1, wherein the search unit searches for an image file having the specific attribute based on information managed by the file management unit. .
前記検索手段によって検索された画像ファイルの画像を表示するよう制御する表示制御手段をさらに有することを特徴とする請求項1乃至8のいずれか1項に記載の画像検索装置。   The image search apparatus according to claim 1, further comprising display control means for controlling to display an image of the image file searched by the search means. 前記属性は前記画像ファイルの撮影日であることを特徴とする請求項1乃至9のいずれか1項に記載の画像検索装置。   The image search apparatus according to claim 1, wherein the attribute is a shooting date of the image file. 画像ファイルが有し得る属性毎に、該属性を有する画像ファイルの有無と、該属性を有する画像ファイルが記録されたディレクトリの情報とを管理する属性管理ステップと、
ディレクトリ毎に、該ディレクトリに記録された画像ファイルの有無と、該ディレクトリに記録された画像ファイルの属性に関する情報とを管理するディレクトリ管理ステップと、
前記属性管理ステップによって管理される情報と、前記ディレクトリ管理ステップによって管理される情報とに基づいて、特定の属性を有する画像ファイルが記録されていないディレクトリを判定する判定ステップと、
前記判定ステップによって前記特定の属性を有する画像ファイルが記録されていないディレクトリと判定されなかったディレクトリに記録された画像ファイルを対象として、該特定の属性を有する画像ファイルを検索する検索ステップと
を有することを特徴とする画像検索方法。
For each attribute that the image file can have, an attribute management step for managing the presence or absence of the image file having the attribute and information on the directory in which the image file having the attribute is recorded;
A directory management step for managing the presence / absence of an image file recorded in the directory and information on the attribute of the image file recorded in the directory for each directory;
A determination step of determining a directory in which an image file having a specific attribute is not recorded based on the information managed by the attribute management step and the information managed by the directory management step;
A search step for searching for an image file having the specific attribute as a target for an image file recorded in the directory in which the image file having the specific attribute is not recorded by the determination step. An image search method characterized by that.
コンピュータを、
画像ファイルが有し得る属性毎に、該属性を有する画像ファイルの有無と、該属性を有する画像ファイルが記録されたディレクトリの情報とを管理する属性管理手段、
ディレクトリ毎に、該ディレクトリに記録された画像ファイルの有無と、該ディレクトリに記録された画像ファイルの属性に関する情報とを管理するディレクトリ管理手段、
前記属性管理手段によって管理される情報と、前記ディレクトリ管理手段によって管理される情報とに基づいて、特定の属性を有する画像ファイルが記録されていないディレクトリを判定する判定手段、
前記判定手段によって前記特定の属性を有する画像ファイルが記録されていないディレクトリと判定されなかったディレクトリに記録された画像ファイルを対象として、該特定の属性を有する画像ファイルを検索する検索手段
として機能させるためのプログラム。
Computer
Attribute management means for managing presence / absence of an image file having the attribute and information on a directory in which the image file having the attribute is recorded for each attribute that the image file may have
Directory management means for managing the presence / absence of an image file recorded in the directory and information on the attribute of the image file recorded in the directory for each directory;
A determination unit that determines a directory in which an image file having a specific attribute is not recorded, based on information managed by the attribute management unit and information managed by the directory management unit;
Functions as search means for searching for an image file having the specific attribute for an image file recorded in a directory in which the determination means does not determine that the image file having the specific attribute is not recorded. Program for.
コンピュータを、
画像ファイルが有し得る属性毎に、該属性を有する画像ファイルの有無と、該属性を有する画像ファイルが記録されたディレクトリの情報とを管理する属性管理手段、
ディレクトリ毎に、該ディレクトリに記録された画像ファイルの有無と、該ディレクトリに記録された画像ファイルの属性に関する情報とを管理するディレクトリ管理手段、
前記属性管理手段によって管理される情報と、前記ディレクトリ管理手段によって管理される情報とに基づいて、特定の属性を有する画像ファイルが記録されていないディレクトリを判定する判定手段、
前記判定手段によって前記特定の属性を有する画像ファイルが記録されていないディレクトリと判定されなかったディレクトリに記録された画像ファイルを対象として、該特定の属性を有する画像ファイルを検索する検索手段
として機能させるためのプログラムを記録したコンピュータが読み取り可能な記録媒体。
Computer
Attribute management means for managing presence / absence of an image file having the attribute and information on a directory in which the image file having the attribute is recorded for each attribute that the image file may have
Directory management means for managing the presence / absence of an image file recorded in the directory and information on the attribute of the image file recorded in the directory for each directory;
A determination unit that determines a directory in which an image file having a specific attribute is not recorded, based on information managed by the attribute management unit and information managed by the directory management unit;
Functions as search means for searching for an image file having the specific attribute for an image file recorded in a directory in which the determination means does not determine that the image file having the specific attribute is not recorded. A computer-readable recording medium on which a program for recording is recorded.
ファイルが有し得る属性毎に、該属性を有するファイルの有無と、該属性を有するファイルが記録されたディレクトリの情報とを管理する属性管理手段と、
検索条件となるファイルの属性を設定する設定手段と、
前記属性管理手段によって管理される情報に基づいて、前記設定手段によって設定された属性を有するファイルを検索する検索手段と
を有することを特徴とするファイル検索装置。
Attribute management means for managing presence / absence of a file having the attribute and information on a directory in which the file having the attribute is recorded, for each attribute that the file may have;
A setting means for setting attributes of a file as a search condition;
A file search apparatus comprising: search means for searching for a file having an attribute set by the setting means based on information managed by the attribute management means.
ファイルが有し得る属性毎に、該属性を有するファイルの有無と、該属性を有するファイルが記録されたディレクトリの情報とを管理する属性管理ステップと、
検索条件となるファイルの属性を設定する設定ステップと、
前記属性管理ステップによって管理される情報に基づいて、前記設定ステップによって設定された属性を有するファイルを検索する検索ステップと
を有することを特徴とするファイル検索方法。
An attribute management step for managing presence / absence of a file having the attribute and information on a directory in which the file having the attribute is recorded, for each attribute that the file may have;
A setting step for setting attributes of a file as a search condition;
And a search step for searching for a file having the attribute set by the setting step based on the information managed by the attribute management step.
コンピュータを、
ファイルが有し得る属性毎に、該属性を有するファイルの有無と、該属性を有するファイルが記録されたディレクトリの情報とを管理する属性管理手段、
検索条件となるファイルの属性を設定する設定手段、
前記属性管理手段によって管理される情報に基づいて、前記設定手段によって設定された属性を有するファイルを検索する検索手段
として機能させるためのプログラム。
Computer
Attribute management means for managing presence / absence of a file having the attribute and information on a directory in which the file having the attribute is recorded for each attribute that the file may have;
Setting means for setting file attributes as search conditions,
A program for functioning as a search unit that searches for a file having an attribute set by the setting unit based on information managed by the attribute management unit.
コンピュータを、
ファイルが有し得る属性毎に、該属性を有するファイルの有無と、該属性を有するファイルが記録されたディレクトリの情報とを管理する属性管理手段、
検索条件となるファイルの属性を設定する設定手段、
前記属性管理手段によって管理される情報に基づいて、前記設定手段によって設定された属性を有するファイルを検索する検索手段
として機能させるためのプログラムを記録したコンピュータが読み取り可能な記録媒体。
Computer
Attribute management means for managing presence / absence of a file having the attribute and information on a directory in which the file having the attribute is recorded for each attribute that the file may have;
Setting means for setting file attributes as search conditions,
A computer-readable recording medium having recorded thereon a program for functioning as search means for searching for a file having an attribute set by the setting means based on information managed by the attribute management means.
JP2008215696A 2008-08-25 2008-08-25 Image search apparatus, image search apparatus control method, program, and recording medium Expired - Fee Related JP5460001B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008215696A JP5460001B2 (en) 2008-08-25 2008-08-25 Image search apparatus, image search apparatus control method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008215696A JP5460001B2 (en) 2008-08-25 2008-08-25 Image search apparatus, image search apparatus control method, program, and recording medium

Publications (3)

Publication Number Publication Date
JP2010049658A true JP2010049658A (en) 2010-03-04
JP2010049658A5 JP2010049658A5 (en) 2011-08-04
JP5460001B2 JP5460001B2 (en) 2014-04-02

Family

ID=42066656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008215696A Expired - Fee Related JP5460001B2 (en) 2008-08-25 2008-08-25 Image search apparatus, image search apparatus control method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5460001B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131141A (en) * 2011-12-22 2013-07-04 Ricoh Co Ltd Projector, control method of projector, and control program of projector
JP2013140411A (en) * 2011-12-28 2013-07-18 Canon Inc Image processing device and control method thereof
JP2015507293A (en) * 2012-02-07 2015-03-05 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Web page search method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003271617A (en) * 2002-03-15 2003-09-26 Konica Corp Image classification method, image classification system, program and data structure of image file
JP2004120420A (en) * 2002-09-26 2004-04-15 Fuji Photo Film Co Ltd Image adjusting device and program
JP2008071192A (en) * 2006-09-14 2008-03-27 Canon Inc Image reproducer and its control method
JP2008090698A (en) * 2006-10-04 2008-04-17 Fujifilm Corp Apparatus, method and program of image classification
JP2008165701A (en) * 2007-01-05 2008-07-17 Seiko Epson Corp Image processing device, electronics equipment, image processing method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003271617A (en) * 2002-03-15 2003-09-26 Konica Corp Image classification method, image classification system, program and data structure of image file
JP2004120420A (en) * 2002-09-26 2004-04-15 Fuji Photo Film Co Ltd Image adjusting device and program
JP2008071192A (en) * 2006-09-14 2008-03-27 Canon Inc Image reproducer and its control method
JP2008090698A (en) * 2006-10-04 2008-04-17 Fujifilm Corp Apparatus, method and program of image classification
JP2008165701A (en) * 2007-01-05 2008-07-17 Seiko Epson Corp Image processing device, electronics equipment, image processing method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131141A (en) * 2011-12-22 2013-07-04 Ricoh Co Ltd Projector, control method of projector, and control program of projector
JP2013140411A (en) * 2011-12-28 2013-07-18 Canon Inc Image processing device and control method thereof
JP2015507293A (en) * 2012-02-07 2015-03-05 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Web page search method and apparatus
US9262454B2 (en) 2012-02-07 2016-02-16 Alibaba Group Holding Limited Web page retrieval method and device

Also Published As

Publication number Publication date
JP5460001B2 (en) 2014-04-02

Similar Documents

Publication Publication Date Title
JP4546347B2 (en) Image storage device, image storage method, and control program
JP4693651B2 (en) Imaging apparatus and control method thereof
JP4095383B2 (en) Imaging apparatus, control method therefor, and storage medium
JP5317547B2 (en) Image processing apparatus and image processing apparatus control method
JP5460001B2 (en) Image search apparatus, image search apparatus control method, program, and recording medium
KR100756155B1 (en) Image processing apparatus, control method thereof and storage medium
JP2007259080A (en) Imaging apparatus and method of controlling same
JP4498169B2 (en) Image processing apparatus and control method thereof
JP5400398B2 (en) Image reproducing apparatus, control method therefor, program, and storage medium
JP4574382B2 (en) Information retrieval apparatus, control method therefor, program, and storage medium
JP4942164B2 (en) Moving image format file generation method, moving image format file generation apparatus, and storage medium
JP4298534B2 (en) Image display apparatus and method
JP4878456B2 (en) Recording medium and imaging apparatus
JP4574426B2 (en) Data processing apparatus and data processing method
JP5455295B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP4776967B2 (en) RECORDING / REPRODUCING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP4766706B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP4646723B2 (en) Image reproduction apparatus, imaging apparatus, and control method
JP5430154B2 (en) Image reproduction apparatus, control method thereof, and program
JP2006107173A (en) Recording and reproducing device
JP4857358B2 (en) Sound processing apparatus, imaging apparatus, sound processing method, computer program, and computer-readable storage medium
JP5968086B2 (en) Imaging apparatus and control method thereof
JP2006033365A (en) Imaging apparatus and method of controlling same, program, and recording medium
JP2005130392A (en) Image processing apparatus
JP2005051347A (en) Imaging apparatus

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110616

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130402

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140114

R151 Written notification of patent or utility model registration

Ref document number: 5460001

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees