JP4328960B2 - Image capturing apparatus and image recording method thereof - Google Patents

Image capturing apparatus and image recording method thereof Download PDF

Info

Publication number
JP4328960B2
JP4328960B2 JP2004138841A JP2004138841A JP4328960B2 JP 4328960 B2 JP4328960 B2 JP 4328960B2 JP 2004138841 A JP2004138841 A JP 2004138841A JP 2004138841 A JP2004138841 A JP 2004138841A JP 4328960 B2 JP4328960 B2 JP 4328960B2
Authority
JP
Japan
Prior art keywords
time
folder
image file
shooting
date
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004138841A
Other languages
Japanese (ja)
Other versions
JP2005323079A (en
Inventor
朋幸 西村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2004138841A priority Critical patent/JP4328960B2/en
Publication of JP2005323079A publication Critical patent/JP2005323079A/en
Application granted granted Critical
Publication of JP4328960B2 publication Critical patent/JP4328960B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、撮影装置及びその画像記録方法に係り、特に記憶メディアの記憶領域に作成されたフォルダに画像ファイルを格納して管理する撮影装置及びその画像記録方法に関する。   The present invention relates to a photographing device and an image recording method thereof, and more particularly to a photographing device that stores and manages an image file in a folder created in a storage area of a storage medium and an image recording method thereof.

一般にデジタルカメラで撮影された画像は、撮影画像を示す画像データに所定の付属情報が付加された画像ファイルとして、メモリカード等の記憶メディアに記録される。この際、画像ファイルは、記憶メディアの記憶領域に作成されたフォルダに所定のファイル名が付与されて格納される。   In general, an image captured by a digital camera is recorded on a storage medium such as a memory card as an image file in which predetermined attached information is added to image data indicating the captured image. At this time, the image file is stored with a predetermined file name assigned to a folder created in the storage area of the storage medium.

しかしながら、単一のフォルダに画像ファイルを次々と格納してゆくと、撮影後の画像ファイルの管理が煩雑になるという問題があった。   However, if image files are stored one after another in a single folder, there is a problem that management of the image files after shooting becomes complicated.

そこで、特許文献1では、フォルダの作成日時を管理し、フォルダの作成日付と現在の日付とを比較して、日付が一致しない場合はフォルダを新規作成し、そのフォルダに撮影画像を記録することが提案されている。
特開2001−54041号公報
Therefore, in Patent Document 1, the creation date and time of a folder is managed, the creation date of the folder is compared with the current date, and if the dates do not match, a new folder is created and a captured image is recorded in the folder. Has been proposed.
JP 2001-54041 A

ところで、画像を整理しようとする場合、旅行などで撮影した画像は、旅行ごとに分類して整理するのが一般的である。   By the way, when organizing images, it is common to sort and organize images taken during a trip or the like for each trip.

しかしながら、特許文献1の方法では、日付ごとに画像が分類されるため、たとえば、一泊の予定で旅行をすると、1日目に撮影した画像と2日目に撮影した画像とが、それぞれ別のフォルダに格納されてしまい、後の整理が煩雑になるという欠点がある。   However, in the method of Patent Document 1, since images are classified according to dates, for example, when traveling on an overnight trip, images taken on the first day and images taken on the second day are different from each other. There is a drawback that it is stored in a folder and the subsequent organization becomes complicated.

本発明は、このような事情に鑑みてなされたもので、画像の管理が容易な撮影装置及びその画像記録方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a photographing apparatus capable of easily managing images and an image recording method thereof.

請求項1に係る発明は、前記目的を達成するために、現在日時を計時する計時手段と、撮影した画像データに撮影日時の情報を付加した画像ファイルを生成する画像ファイル生成手段と、記憶メディアの記憶領域にフォルダを作成し、該フォルダに前記画像ファイル生成手段で生成された画像ファイルを格納する記録制御手段と、を備えた撮影装置において、撮影が行われると、前記記憶メディアの記憶領域に作成された最新のフォルダにアクセスし、該フォルダに格納されている画像ファイルの撮影日時を読み出し、読み出した中から最新の撮影日時を有する画像ファイルの撮影日時を最終の撮影日時として、最終の撮影日時の情報を取得する最終撮影日時取得手段と、前記最終撮影日時取得手段によって最終の撮影日時の情報が取得されると、前記計時手段から現在日時の情報を取得し、取得した現在日時の情報と前記最終撮影日時取得手段で取得され最終の撮影日時の情報とに基づいて、最終の撮影からの経過時間を算出する経過時間演算手段と、を備え、前記記録制御手段は、前記経過時間演算手段で算出された経過時間が、あらかじめ設定された経過時間を超えるか否か判定し、超えると判定すると、前記記憶メディアの記憶領域にフォルダを新規作成し、該フォルダに前記画像ファイル生成手段で生成された画像ファイルを格納し、超えていないと判定すると、前記記憶メディアの記憶領域に作成されている最新のフォルダに前記画像ファイル生成手段で生成された画像ファイルを格納することを特徴とする撮影装置を提供する。
請求項2に係る発明は、前記目的を達成するために、前記経過時間演算手段は、最終撮影日時取得手段によって最終の撮影日時の情報が取得されると、前記計時手段から現在日時の情報を取得し、取得した現在日時の情報と前記最終撮影日時取得手段で取得された最終の撮影日時の情報とに基づいて、最終の撮影からの経過日数を算出し、前記記録制御手段は、前記経過時間演算手段で算出された経過日数が、あらかじめ設定された経過日数を超えるか否か判定し、超えると判定すると、前記記憶メディアの記憶領域にフォルダを新規作成し、該フォルダに前記画像ファイル生成手段で生成された画像ファイルを格納し、超えていないと判定すると、前記記憶メディアの記憶領域に作成されている最新のフォルダに前記画像ファイル生成手段で生成された画像ファイルを格納することを特徴とする請求項1に記載の撮影装置を提供する。
請求項3に係る発明は、前記目的を達成するために、前記記録制御手段は、前記フォルダを前記記憶メディアの記憶領域に作成する際、作成された順に1ずつ繰り上げられる数字列を含むフォルダ名を付与して、前記フォルダを前記記憶メディアの記憶領域に作成することを特徴とする請求項1又は2に記載の撮影装置を提供する。
In order to achieve the above object, the invention according to claim 1 is a clocking means for timing the current date and time, an image file generating means for generating an image file in which information on the shooting date and time is added to the shot image data, and a storage medium A recording control unit that creates a folder in the storage area and stores the image file generated by the image file generation unit in the folder. When shooting is performed, the storage area of the storage medium The latest date and time of the image file stored in the folder is read, and the date and time of the image file having the latest date and time is read as the final date and time . and a final shooting date obtaining means for obtaining information of the photographing date and time, information of the last shooting date acquired by the last shooting date acquisition means If the acquired information on the current date and time from the timer means, the acquired current on the basis of the date information and the last photographing date obtained by the obtaining means final information of the photographing date and time, the elapsed time from the last photographing An elapsed time calculating means for calculating, and the recording control means determines whether or not the elapsed time calculated by the elapsed time calculating means exceeds a preset elapsed time. Create a new folder in the storage area of the storage medium, store the image file generated by the image file generation means in the folder, and determine that it does not exceed, the latest created in the storage area of the storage medium The image file generated by the image file generating means is stored in a folder of the above .
In the invention according to claim 2, in order to achieve the object, the elapsed time calculating means obtains the current date and time information from the time measuring means when the last shooting date and time information is acquired by the final shooting date and time acquisition means. And obtaining the number of days elapsed from the last shooting based on the acquired current date and time information and the last shooting date and time information acquired by the last shooting date and time acquisition means, and the recording control means It is determined whether or not the number of elapsed days calculated by the time calculating means exceeds a preset number of elapsed days. If it is determined that the number of elapsed days is exceeded, a new folder is created in the storage area of the storage medium, and the image file is generated in the folder If the image file generated by the means is stored and it is determined that the image file does not exceed, the image file generating means is stored in the latest folder created in the storage area of the storage medium. Providing an imaging apparatus according storing the generated image file to claim 1, wherein the.
According to a third aspect of the present invention, in order to achieve the object, the recording control means includes a folder name including a numeric string that is incremented by one in the order of creation when the folder is created in the storage area of the storage medium. 3 is provided, and the folder is created in a storage area of the storage medium.

求項に係る発明は、前記目的を達成するために、撮影した画像データに撮影日時の情報を付加した画像ファイルを生成し、該画像ファイルを記憶メディアの記憶領域に作成されたフォルダに格納する撮影装置の画像記録方法において、撮影が行われると、前記記憶メディアの記憶領域に作成された最新のフォルダにアクセスし、該フォルダに格納されている画像ファイルの撮影日時を読み出し、読み出した中から最新の撮影日時を有する画像ファイルの撮影日時を最終の撮影日時として、最終の撮影日時の情報を取得する工程と、現在日時の情報を取得する工程と、前記現在日時の情報と前記最終の撮影日時の情報とに基づいて、最終の撮影からの経過時間を算出する工程と、算出した経過時間が、あらかじめ設定された経過時間を超えているか否か判定する工程と、最終の撮影からの経過時間が、あらかじめ設定された経過時間を超えている場合は、前記記憶メディアの記憶領域に前記画像ファイルを格納するためのフォルダを新規作成し、該フォルダに撮影により得られた画像ファイルを格納し、超えていない場合は、前記記憶メディアの記憶領域に作成されている最新のフォルダに撮影により得られた画像ファイルを格納する工程と、からなることを特徴とする撮影装置の画像記録方法を提供する。
請求項5に係る発明は、前記目的を達成するために、撮影した画像データに撮影日時の情報を付加した画像ファイルを生成し、該画像ファイルを記憶メディアの記憶領域に作成されたフォルダに格納する撮影装置の画像記録方法において、撮影が行われると、前記記憶メディアの記憶領域に作成された最新のフォルダにアクセスし、該フォルダに格納されている画像ファイルの撮影日時を読み出し、読み出した中から最新の撮影日時を有する画像ファイルの撮影日を最終の撮影日として、最終の撮影日の情報を取得する工程と、現在日の情報を取得する工程と、前記現在日の情報と前記最終の撮影日の情報とに基づいて、最終の撮影からの経過日数を算出する工程と、算出した経過日数が、あらかじめ設定された経過日数を超えているか否か判定する工程と、最終の撮影からの経過日数が、あらかじめ設定された経過日数を超えている場合は、前記記憶メディアの記憶領域に撮影により得られた画像ファイルを格納するためのフォルダを新規作成し、該フォルダに前記画像ファイルを格納し、超えていない場合は、前記記憶メディアの記憶領域に作成されている最新のフォルダに撮影により得られた画像ファイルを格納する工程と、からなることを特徴とする撮影装置の画像記録方法を提供する。
請求項6に係る発明は、前記目的を達成するために、前記フォルダを前記記憶メディアの記憶領域に作成する際、作成された順に1ずつ繰り上げられる数字列を含むフォルダ名を付与して、前記フォルダを前記記憶メディアの記憶領域に作成することを特徴とする請求項4又は5に記載の撮影装置の画像記録方法を提供する。
Motomeko according to fourth invention, in order to achieve the above object, generates an image file by adding the information of the photographing date and time captured image data, the folder created for the image file in a storage area of the storage medium In the image recording method of the photographing apparatus to be stored, when photographing is performed, the latest folder created in the storage area of the storage medium is accessed, and the photographing date and time of the image file stored in the folder is read and read. The step of acquiring the information of the last shooting date, the step of acquiring the information of the current date and time, the information of the current date and time, and the last time, with the shooting date and time of the image file having the latest shooting date and time as the final shooting date and time based of the information of the photographing date and time, and calculating an elapsed time from the last photographing, calculated elapsed time is an elapsed time set in advance beyond A step of determining dolphin whether the elapsed time from the last shooting, if it exceeds the elapsed time set in advance, a folder for storing the image file in a storage area of the storage medium to create a new Storing the image file obtained by shooting in the folder, and storing the image file obtained by shooting in the latest folder created in the storage area of the storage medium, if not exceeded, It becomes possible to provide an image recording method of the imaging apparatus according to claim.
In order to achieve the above object, the invention according to claim 5 generates an image file in which information of shooting date and time is added to shot image data, and stores the image file in a folder created in a storage area of a storage medium. In the image recording method of the photographing apparatus, when photographing is performed, the latest folder created in the storage area of the storage medium is accessed, and the photographing date and time of the image file stored in the folder is read and read. From the shooting date of the image file having the latest shooting date and time as the final shooting date, obtaining the last shooting date information, obtaining the current date information, the current date information and the final date Based on the shooting date information, the process of calculating the number of days elapsed since the last shooting, and whether the calculated elapsed days exceeds a preset number of days If the number of days elapsed since the last shooting and the number of days elapsed since the last shooting exceeds a preset number of days, a new folder for storing the image file obtained by shooting is created in the storage area of the storage medium. And storing the image file in the folder, and storing the image file obtained by shooting in the latest folder created in the storage area of the storage medium if not exceeding An image recording method for a photographing apparatus is provided.
In order to achieve the above object, the invention according to claim 6 assigns a folder name including a numeric string that is incremented by one in the order of creation when creating the folder in the storage area of the storage medium, 6. The image recording method for a photographing apparatus according to claim 4, wherein a folder is created in a storage area of the storage medium.

本発明によれば、最後の撮影から所定時間が経過すると、記憶メディアの記憶領域にフォルダが新規作成され、その新規作成されたフォルダに画像ファイルが格納される。これにより、撮影日付が変わった場合であっても、一定のスパンで撮影された画像については、同一フォルダに格納されるようになり、画像の管理が容易になる。   According to the present invention, when a predetermined time has elapsed since the last shooting, a new folder is created in the storage area of the storage medium, and an image file is stored in the newly created folder. As a result, even when the shooting date changes, images shot in a certain span are stored in the same folder, and image management becomes easy.

本発明に係る撮影装置及びその画像記録方法によれば、画像の管理を容易に行うことができる。   According to the photographing apparatus and the image recording method thereof according to the present invention, it is possible to easily manage images.

以下、添付図面に従って本発明に係る撮影装置及びその画像記録方法を実施するための最良の形態について説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS The best mode for carrying out a photographing apparatus and an image recording method thereof according to the present invention will be described below with reference to the accompanying drawings.

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

同図に示すように、デジタルカメラ10のカメラボディ12は、横方向に細長く形成された矩形の箱状に形成されており、その正面には撮影レンズ14、ファインダ窓16、ストロボ18、マイク20等が設けられている。また、カメラボディ12の上面には、シャッターボタン22、電源/モードスイッチ24、モードダイヤル26等が設けられており、背面には、ファインダ接眼部28、液晶モニタ30、ズームボタン32、十字ボタン34、MENU/OKボタン36、DISPボタン38、BACKボタン40、スピーカ42等が設けられている。また、カメラボディ12の側面には、USB端子44、電源端子46、AV出力端子48が設けられており、図示しないカメラボディ12の底面には、開閉自在なカバーを介してバッテリーを収納するためのバッテリー収納室と、メモリカードを装填するためのメモリカードスロットとが設けられている。   As shown in the figure, the camera body 12 of the digital camera 10 is formed in a rectangular box shape that is elongated in the lateral direction, and in front of it is a photographing lens 14, a finder window 16, a strobe 18, and a microphone 20. Etc. are provided. Further, a shutter button 22, a power / mode switch 24, a mode dial 26, and the like are provided on the upper surface of the camera body 12, and a viewfinder eyepiece 28, a liquid crystal monitor 30, a zoom button 32, and a cross button are provided on the rear surface. 34, a MENU / OK button 36, a DISP button 38, a BACK button 40, a speaker 42, and the like. Further, a USB terminal 44, a power supply terminal 46, and an AV output terminal 48 are provided on the side surface of the camera body 12, and a battery is accommodated on the bottom surface of the camera body 12 (not shown) via an openable / closable cover. And a memory card slot for loading a memory card.

シャッターボタン22は、いわゆる「半押し」と「全押し」とからなる2段ストローク式のスイッチで構成されている。デジタルカメラ10は、このシャッターボタン22を半押しすることにより、AE(Automatic Exposure:自動露出)、AF(Auto Focus:自動合焦)、AWB(Automatic White Balance :自動ホワイトバランス)が機能し、全押しすることにより撮影が行われる。   The shutter button 22 is composed of a two-stage stroke type switch composed of so-called “half-press” and “full-press”. The digital camera 10 functions as AE (Automatic Exposure), AF (Auto Focus), and AWB (Automatic White Balance) by pressing the shutter button 22 halfway. Shooting is performed by pressing the button.

電源/モードスイッチ24は、デジタルカメラ10の電源をON/OFFする電源スイッチとしての機能と、デジタルカメラ10のモードを設定するモードスイッチとしての機能を有しており、「OFF位置」、「再生位置」、「撮影位置」の間をスライド自在に設けられている。デジタルカメラ10は、この電源/モードスイッチ24を「再生位置」又は「撮影位置」に合わせることにより、電源がONになり、「OFF位置」に合わせることにより、電源がOFFになる。そして、電源/モードスイッチ24を「再生位置」に合わせることにより、「再生モード」に設定され、「撮影位置」に合わせることにより、「撮影モード」に設定される。   The power / mode switch 24 has a function as a power switch for turning on / off the power of the digital camera 10 and a function as a mode switch for setting the mode of the digital camera 10. It is slidably provided between “position” and “photographing position”. The digital camera 10 is turned on when the power / mode switch 24 is set to the “reproduction position” or “photographing position”, and is turned off when the power is turned to the “OFF position”. Then, by setting the power / mode switch 24 to “playback position”, it is set to “playback mode”, and by setting it to “shooting position”, it is set to “shooting mode”.

モードダイヤル26は、デジタルカメラ10の撮影モードを設定する撮影モード設定手段として機能し、このモードダイヤルの設定位置により、デジタルカメラ10の撮影モードが、「オート撮影モード」、「動画撮影モード」、「人物撮影モード」、「スポーツ撮影モード」、「風景撮影モード」、「夜景撮影モード」、「プログラム撮影モード」、「絞り優先撮影モード」、「シャッタースピード優先撮影モード」、「マニュアル撮影モード」に設定される。   The mode dial 26 functions as a shooting mode setting means for setting the shooting mode of the digital camera 10. Depending on the setting position of the mode dial, the shooting mode of the digital camera 10 is set to “auto shooting mode”, “movie shooting mode”, "Portrait shooting mode", "Sport shooting mode", "Landscape shooting mode", "Night scene shooting mode", "Program shooting mode", "Aperture priority shooting mode", "Shutter speed priority shooting mode", "Manual shooting mode" Set to

液晶モニタ30は、カラー表示が可能な液晶ディスプレイで構成されている。この液晶モニタ30は、再生モード時に撮影済み画像を表示するための画像表示パネルとして利用されるとともに、各種設定時にユーザインターフェース表示パネルとして利用される。また、撮影時には必要に応じてスルー画像が表示されて、画角確認用の電子ファインダとして利用される。   The liquid crystal monitor 30 is composed of a liquid crystal display capable of color display. The liquid crystal monitor 30 is used as an image display panel for displaying captured images in the playback mode, and is used as a user interface display panel in various settings. In addition, a through image is displayed as necessary at the time of shooting and is used as an electronic viewfinder for viewing angle confirmation.

ズームボタン32は、望遠側へのズームを指示するズームテレボタン32Tと、広角側へのズームを指示するズームワイドボタン32Wとで構成され、このズームボタン32が操作されることにより、撮影画角が変化する。   The zoom button 32 includes a zoom tele button 32T for instructing zooming to the telephoto side and a zoom wide button 32W for instructing zooming to the wide-angle side. Changes.

十字ボタン34は、上下左右4方向に押圧操作することができるようにされており、各方向の指示を入力するボタンとして機能する。   The cross button 34 can be pressed in four directions, up, down, left, and right, and functions as a button for inputting an instruction in each direction.

MENU/OKボタン36は、各モードの通常画面からメニュー画面への遷移を指示するボタン(MENUボタン)として機能するとともに、選択内容の確定、処理の実行等を指示するボタン(OKボタン)として機能する。   The MENU / OK button 36 functions as a button (MENU button) for instructing transition from the normal screen to the menu screen in each mode, and functions as a button (OK button) for instructing selection confirmation, execution of processing, and the like. To do.

DISPボタン38は、背面表示パネルの表示内容の切り替えを指示するボタンとして機能し、BACKボタン40は、入力操作のキャンセル等を指示するボタンとして機能する。   The DISP button 38 functions as a button for instructing switching of display contents on the rear display panel, and the BACK button 40 functions as a button for instructing cancellation of an input operation or the like.

図3はデジタルカメラ10の電気系の構成を示すブロック図である。同図に示すように、デジタルカメラ10は、CPU110、操作部(シャッターボタン22、電源/モードスイッチ24、モードダイヤル26、ズームボタン32、十字ボタン34、MENU/OKボタン36、DISPボタン38、BACKボタン40等)112、ROM116、EEPROM118、メモリ(SDRAM)120、VRAM122、タイマ124、光学ユニット126、フォーカスモータドライバ128、ズームモータドライバ130、アイリスモータドライバ132、撮像素子134、タイミングジェネレータ(TG)136、アナログ処理回路138、A/D変換器140、画像入力コントローラ142、画像信号処理回路144、圧縮・伸張処理回路146、メディアコントローラ148、記憶メディア(メモリカード)150、USBインターフェース152、LCD/ビデオエンコーダ154、OSD回路156、AE/AWB検出回路158、AF検出回路160、ストロボ制御回路162等で構成されている。   FIG. 3 is a block diagram showing the configuration of the electrical system of the digital camera 10. As shown in the figure, the digital camera 10 includes a CPU 110, an operation unit (shutter button 22, power / mode switch 24, mode dial 26, zoom button 32, cross button 34, MENU / OK button 36, DISP button 38, BACK. Button 40, etc.) 112, ROM 116, EEPROM 118, memory (SDRAM) 120, VRAM 122, timer 124, optical unit 126, focus motor driver 128, zoom motor driver 130, iris motor driver 132, image sensor 134, timing generator (TG) 136 , Analog processing circuit 138, A / D converter 140, image input controller 142, image signal processing circuit 144, compression / decompression processing circuit 146, media controller 148, storage medium (memory) Over de) 0.99, USB interface 152, LCD / video encoder 154, OSD circuit 156, AE / AWB detection circuit 158, AF detection circuit 160, and a flash control circuit 162 or the like.

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

バス114を介して接続されたROM116には、CPU110が実行する制御プログラム及び制御に必要な各種データ等が格納されており、EEPROM118には、ユーザ設定情報等のデジタルカメラ10の動作に関する各種設定情報等が格納されている。   The ROM 116 connected via the bus 114 stores a control program executed by the CPU 110 and various data necessary for the control. The EEPROM 118 stores various setting information relating to the operation of the digital camera 10 such as user setting information. Etc. are stored.

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

タイマ124は現在日時を計時し、計時した現在日時をCPU110に出力する。CPU110は、このタイマ124で計時される現在日時の情報に基づいて撮影日時等の日時情報を取得する。   The timer 124 measures the current date and time, and outputs the current date and time to the CPU 110. The CPU 110 acquires date and time information such as the shooting date and time based on the current date and time information counted by the timer 124.

光学ユニット126は、撮影レンズ14と絞り50とで構成されている。撮影レンズ14は、図示しないフォーカスモータに駆動されて光軸に沿って前後移動するフォーカスレンズ14Fと、図示しないズームモータに駆動されて光軸に沿って前後移動するズームレンズ14Zとを備えている。CPU110は、フォーカスモータドライバ128を介してフォーカスモータの駆動を制御することにより、撮影レンズ14のフォーカスを制御し、ズームモータドライバ130を介してズームモータの駆動を制御することにより、撮影レンズ14のズームを制御する。絞り50は、図示しないアイリスモータに駆動されることにより、開口量(絞り値)が変化する。CPU110は、アイリスモータドライバ132を介してアイリスモータの駆動を制御することにより、絞り50の絞り値を制御する。   The optical unit 126 includes the photographing lens 14 and a diaphragm 50. The photographing lens 14 includes a focus lens 14F that is driven by a focus motor (not shown) to move back and forth along the optical axis, and a zoom lens 14Z that is driven by a zoom motor (not shown) to move back and forth along the optical axis. . The CPU 110 controls the focus of the photographic lens 14 by controlling the drive of the focus motor via the focus motor driver 128, and controls the drive of the zoom motor via the zoom motor driver 130. Control the zoom. The aperture 50 is driven by an iris motor (not shown) to change the opening amount (aperture value). The CPU 110 controls the iris value of the iris 50 by controlling the driving of the iris motor via the iris motor driver 132.

撮像素子134は、カラーCCDで構成されており、その受光面には多数のフォトダイオード(受光素子)が配列されている。光学ユニット126を介して撮像素子134の受光面に入射した光は、各フォトダイオードによって入射光量に応じた量の信号電荷に変換される。   The image sensor 134 is composed of a color CCD, and a large number of photodiodes (light receiving elements) are arranged on the light receiving surface thereof. Light incident on the light receiving surface of the image sensor 134 via the optical unit 126 is converted into signal charges of an amount corresponding to the amount of incident light by each photodiode.

タイミングジェネレータ(TG)136は、CPU110からの指令に従い、主として撮像素子134を駆動するためのタイミング信号を生成する。撮像素子134は、このタイミングジェネレータ136から加えられるタイミング信号に従って各フォトダイオードに蓄積された信号電荷を電圧信号(画像信号)として出力する。   A timing generator (TG) 136 mainly generates a timing signal for driving the image sensor 134 in accordance with a command from the CPU 110. The image sensor 134 outputs the signal charge accumulated in each photodiode as a voltage signal (image signal) in accordance with the timing signal applied from the timing generator 136.

アナログ処理回路138は、撮像素子134から順次出力される画像信号を相関二重サンプリング処理(撮像素子の出力信号に含まれるノイズ(特に熱雑音)等を軽減することを目的として、撮像素子の1画素毎の出力信号に含まれるフィードスルー成分レベルと画素信号成分レベルとの差をとることにより正確な画素データを得る処理)するとともに、増幅する。   The analog processing circuit 138 performs correlated double sampling processing on image signals sequentially output from the image sensor 134 (for the purpose of reducing noise (particularly thermal noise) included in the output signal of the image sensor). (A process for obtaining accurate pixel data by taking the difference between the feedthrough component level and the pixel signal component level included in the output signal for each pixel) and amplifying.

A/D変換器140は、アナログ処理回路138から出力されたR、G、Bのアナログの画像信号をそれぞれ12ビットのデジタルの画像信号に変換する。   The A / D converter 140 converts the R, G, and B analog image signals output from the analog processing circuit 138 into 12-bit digital image signals.

画像入力コントローラ142は、所定容量のラインバッファを内蔵し、A/D変換器140から出力された1画像分の画像信号を蓄積して、メモリ120に格納する。   The image input controller 142 includes a line buffer having a predetermined capacity, accumulates image signals for one image output from the A / D converter 140, and stores them in the memory 120.

画像信号処理回路144は、同時化回路(単板CCDのカラーフィルタ配列に伴う色信号の空間的なズレを補間して色信号を同時式に変換する処理回路)、ホワイトバランス補正回路、ガンマ補正回路、輪郭補正回路、輝度・色差信号生成回路等を含み、CPU110からの指令に従って入力されたデジタル画像信号に所要の信号処理を施して、画像データを生成する。   The image signal processing circuit 144 is a synchronization circuit (a processing circuit that converts a color signal into a simultaneous expression by interpolating a spatial shift of the color signal associated with the color filter array of a single CCD), a white balance correction circuit, and a gamma correction. The circuit includes a circuit, a contour correction circuit, a luminance / color difference signal generation circuit, and the like, and performs necessary signal processing on the digital image signal input according to a command from the CPU 110 to generate image data.

圧縮・伸張処理回路146は、CPU110からの指令に従い、入力された画像データに圧縮処理を施し、所定フォーマットの圧縮画像データを生成する。また、入力された圧縮画像データに伸張処理を施し、非圧縮のデジタル画像データを生成する。   The compression / decompression processing circuit 146 performs compression processing on the input image data in accordance with a command from the CPU 110 to generate compressed image data in a predetermined format. Further, the input compressed image data is decompressed to generate non-compressed digital image data.

メディアコントローラ148は、CPU110からの指令に従い、メディアスロットに装填された記憶メディア(メモリカード)150に対してデータの読み出し及び書き込みを制御する。   The media controller 148 controls reading and writing of data with respect to the storage medium (memory card) 150 loaded in the media slot in accordance with a command from the CPU 110.

USBインターフェース152は、CPU110からの指令に従い、USB端子44を介して接続された外部機器(パソコンやプリンタ等)との間でUSB規格に従った通信を行う。   The USB interface 152 performs communication according to the USB standard with an external device (such as a personal computer or a printer) connected via the USB terminal 44 in accordance with a command from the CPU 110.

LCD/ビデオエンコーダ154は、CPU110からの指令に従い、画像データが示す画像を液晶モニタ30に表示するための信号を生成して、液晶モニタ30に出力する。また、画像データが示す画像をテレビに表示するための信号(たとえば、NTSC信号やPAL信号、SCAM信号)を生成して、AV出力端子48に出力する。   The LCD / video encoder 154 generates a signal for displaying an image indicated by the image data on the liquid crystal monitor 30 in accordance with a command from the CPU 110 and outputs the signal to the liquid crystal monitor 30. Further, a signal (for example, an NTSC signal, a PAL signal, or a SCAM signal) for displaying the image indicated by the image data on the television is generated and output to the AV output terminal 48.

OSD(On Screen Display )回路156は、CPU110からの指令に従って、液晶モニタ等の画面上に表示する文字や図形を示す信号をLCD/ビデオエンコーダ154に出力する。   An OSD (On Screen Display) circuit 156 outputs a signal indicating characters and figures to be displayed on a screen of a liquid crystal monitor or the like to the LCD / video encoder 154 in accordance with a command from the CPU 110.

AE/AWB検出回路158は、CPU110からの指令に従って、入力された画像信号からAE制御及びAWB制御に必要な物理量を算出する。たとえば、AE制御に必要な物理量として、1画面を複数のエリア(例えば、16×16)に分割し、分割した各エリアごとにR、G、Bの画像信号の積算値を算出する。CPU110は、このAE/AWB検出回路158から得た積算値に基づいて被写体の明るさ(被写体輝度)を検出して、撮影に適した露出値(撮影EV値)を算出し、算出した撮影EV値と所定のプログラム線図から絞り値とシャッタースピードを決定する。また、AWB制御に必要な物理量として、1画面を複数のエリア(例えば、16×16)に分割し、分割した各エリアごとにR、G、Bの画像信号の色別の平均積算値を算出する。CPU110は、得られたRの積算値、Bの積算値、Gの積算値から各分割エリアごとにR/G及びB/Gの比を求め、求めたR/G、B/Gの値のR/G、B/Gの色空間における分布等に基づいて光源種判別を行う。そして、判別された光源種に適したホワイトバランス調整値に従って、たとえば各比の値がおよそ1(つまり、1画面においてRGBの積算比率がR:G:B≒1:1:1)になるように、ホワイトバランス調整回路のR、G、B信号に対するゲイン値(ホワイトバランス補正値)を決定する。   The AE / AWB detection circuit 158 calculates a physical quantity necessary for AE control and AWB control from the input image signal in accordance with a command from the CPU 110. For example, as a physical quantity necessary for AE control, one screen is divided into a plurality of areas (for example, 16 × 16), and an integrated value of R, G, and B image signals is calculated for each divided area. The CPU 110 detects the brightness of the subject (subject brightness) based on the integrated value obtained from the AE / AWB detection circuit 158, calculates an exposure value (shooting EV value) suitable for shooting, and calculates the calculated shooting EV. An aperture value and a shutter speed are determined from the value and a predetermined program diagram. In addition, as a physical quantity required for AWB control, one screen is divided into a plurality of areas (for example, 16 × 16), and an average integrated value for each color of R, G, and B image signals is calculated for each divided area. To do. The CPU 110 obtains the ratio of R / G and B / G for each divided area from the obtained integrated value of R, integrated value of B, and integrated value of G, and calculates the R / G and B / G values obtained. The light source type is determined based on the distribution in the color space of R / G and B / G. Then, according to the white balance adjustment value suitable for the determined light source type, for example, the value of each ratio is approximately 1 (that is, the RGB integration ratio is R: G: B≈1: 1: 1 in one screen). Then, a gain value (white balance correction value) for the R, G, and B signals of the white balance adjustment circuit is determined.

AF検出回路160は、CPU110からの指令に従って、入力された画像信号からAF制御に必要な物理量を算出する。本実施の形態のデジタルカメラ10では、画像のコントラストによりAF制御を行うものとし、AF検出回路160は、入力された画像信号から画像の鮮鋭度を示す焦点評価値を算出する。CPU110は、このAF検出回路160で算出される焦点評価値が極大となるように、フォーカスモータドライバ128の駆動を制御し、フォーカスレンズ14Fの移動を制御する。   The AF detection circuit 160 calculates a physical quantity necessary for AF control from the input image signal in accordance with a command from the CPU 110. In the digital camera 10 of the present embodiment, the AF control is performed based on the contrast of the image, and the AF detection circuit 160 calculates a focus evaluation value indicating the sharpness of the image from the input image signal. The CPU 110 controls the drive of the focus motor driver 128 and the movement of the focus lens 14F so that the focus evaluation value calculated by the AF detection circuit 160 is maximized.

ストロボ制御回路162は、CPU110からの指令に従って、ストロボの発光を制御する。   The strobe control circuit 162 controls the light emission of the strobe in accordance with a command from the CPU 110.

次に、前記のごとく構成された本実施の形態のデジタルカメラ10の撮影モード時の動作について説明する。   Next, the operation in the shooting mode of the digital camera 10 of the present embodiment configured as described above will be described.

上記のように、デジタルカメラ10は、カメラのモードを撮影モードに設定することにより、撮影が可能になる。この際、デジタルカメラ10は、撮像素子134によって連続的に撮像される画像を液晶モニタ30に表示させることにより、液晶モニタ30をファインダとして使用することができる。   As described above, the digital camera 10 can shoot by setting the camera mode to the shooting mode. At this time, the digital camera 10 can use the liquid crystal monitor 30 as a viewfinder by causing the liquid crystal monitor 30 to display images continuously captured by the image sensor 134.

撮像素子134によって撮像された画像を液晶モニタ30に表示する場合の処理は次のとおりである。   Processing in the case of displaying an image captured by the image sensor 134 on the liquid crystal monitor 30 is as follows.

1回の撮像によって撮像素子134から出力された1画面分の画像信号は、アナログ処理回路138、A/D変換器140を介して画像入力コントローラ142に取り込まれ、メモリ120に格納される。メモリ120に格納された1画面分の画像信号は、画像信号処理回路144に加えられ、輝度データ(Y)と色差データ(Cr、Cb)とからなる画像データ(YCデータ)に変換されたのち、メモリ120に格納される。そして、メモリ120からVRAM122に転送され、VRAM122からLCD/ビデオエンコーダ154を介して液晶モニタ30に出力される。これにより、1画面分の画像が液晶モニタ30に表示される。   An image signal for one screen output from the image sensor 134 by one imaging is taken into the image input controller 142 via the analog processing circuit 138 and the A / D converter 140 and stored in the memory 120. The image signal for one screen stored in the memory 120 is added to the image signal processing circuit 144 and converted into image data (YC data) composed of luminance data (Y) and color difference data (Cr, Cb). Stored in the memory 120. Then, it is transferred from the memory 120 to the VRAM 122 and output from the VRAM 122 to the liquid crystal monitor 30 via the LCD / video encoder 154. As a result, an image for one screen is displayed on the liquid crystal monitor 30.

撮像素子134によって連続的に撮像した画像を液晶モニタ30に出力する場合は、撮像素子134から連続的に出力される画像信号から生成される画像データによってVRAM122内の画像データを定期的に書き換え、LCD/ビデオエンコーダ154を介して液晶モニタ30に出力する。これにより、撮像素子134によって連続的に撮像された動画像(スルー画像)が液晶モニタ30に表示される。撮影者は、この液晶モニタ30に表示されるスルー画像を見ることにより、液晶モニタ30をファインダとして使用することができる。   When outputting images continuously captured by the image sensor 134 to the liquid crystal monitor 30, the image data in the VRAM 122 is periodically rewritten with image data generated from image signals continuously output from the image sensor 134. The data is output to the liquid crystal monitor 30 via the LCD / video encoder 154. Accordingly, a moving image (through image) continuously captured by the image sensor 134 is displayed on the liquid crystal monitor 30. The photographer can use the liquid crystal monitor 30 as a viewfinder by viewing the through image displayed on the liquid crystal monitor 30.

さて、上記のようにデジタルカメラ10は、シャッターボタン22の半押しでAE、AF、AWBが機能し、全押しで画像記録が行われる。   As described above, in the digital camera 10, AE, AF, and AWB function when the shutter button 22 is half-pressed, and image recording is performed when the shutter button 22 is fully pressed.

シャッターボタン22が半押しされると、CPU110にS1ON信号が入力され、このS1ON信号に応動して、CPU110はAE、AF、AWBの処理を実行する。   When the shutter button 22 is half-pressed, an S1 ON signal is input to the CPU 110, and in response to the S1 ON signal, the CPU 110 executes AE, AF, and AWB processes.

まず、S1ON信号に応動して撮像素子134から出力された画像信号が、アナログ処理回路138、A/D変換器140を介して画像入力コントローラ142に取り込まれ、メモリ120に格納される。メモリ120に格納された画像信号は、AE/AWB検出回路158並びにAF検出回路160に加えられる。   First, an image signal output from the image sensor 134 in response to the S1ON signal is taken into the image input controller 142 via the analog processing circuit 138 and the A / D converter 140 and stored in the memory 120. The image signal stored in the memory 120 is applied to the AE / AWB detection circuit 158 and the AF detection circuit 160.

上記のように、AE/AWB検出回路158は、入力された画像信号からAE制御及びAWB制御に必要な物理量を算出し、CPU110に出力する。CPU110は、このAE/AWB検出回路158からの出力に基づき、絞り値とシャッタースピードを決定するとともに、ホワイトバランス補正値を決定する。   As described above, the AE / AWB detection circuit 158 calculates a physical quantity necessary for AE control and AWB control from the input image signal, and outputs it to the CPU 110. Based on the output from the AE / AWB detection circuit 158, the CPU 110 determines the aperture value and shutter speed and also determines the white balance correction value.

また、AF検出回路160は、入力された画像信号からAF制御に必要な物理量を算出し、CPU110に出力する。CPU110は、このAF検出回路160からの出力に基づきフォーカスモータドライバ128の駆動を制御し、フォーカスレンズ14Fの移動を制御して、撮影レンズ14のピントを主要被写体に合わせる。   Further, the AF detection circuit 160 calculates a physical quantity necessary for AF control from the input image signal, and outputs it to the CPU 110. The CPU 110 controls the driving of the focus motor driver 128 based on the output from the AF detection circuit 160, controls the movement of the focus lens 14F, and focuses the photographing lens 14 on the main subject.

この後、シャッターボタン22が全押しされると、CPU110にS2ON信号が入力され、このS2ON信号に応動して、CPU110は画像の記録処理を実行する。   Thereafter, when the shutter button 22 is fully pressed, an S2 ON signal is input to the CPU 110, and the CPU 110 executes an image recording process in response to the S2 ON signal.

まず、上記のAE処理で求めた絞り値、シャッタースピードで撮像素子134を露光し、記録用の画像信号の取り込みを行う。   First, the image sensor 134 is exposed with the aperture value and shutter speed obtained in the above AE process, and an image signal for recording is captured.

撮像素子134から出力された画像信号は、アナログ処理回路138、A/D変換器140を介して画像入力コントローラ142に取り込まれ、メモリ120に格納される。メモリ120に格納された画像信号は、CPU110の制御の下、画像信号処理回路144に加えられ、輝度データと色差データとからなる画像データ(YCデータ)に変換されて、メモリ120に格納される。メモリ120に格納された画像データは、圧縮・伸張処理回路146に加えられ、所定の圧縮フォーマット(ここでは、JPEG)に従って圧縮されたのち、メモリ120に格納される。   The image signal output from the image sensor 134 is captured by the image input controller 142 via the analog processing circuit 138 and the A / D converter 140 and stored in the memory 120. The image signal stored in the memory 120 is applied to the image signal processing circuit 144 under the control of the CPU 110, converted into image data (YC data) composed of luminance data and color difference data, and stored in the memory 120. . The image data stored in the memory 120 is added to the compression / decompression processing circuit 146, compressed according to a predetermined compression format (here, JPEG), and then stored in the memory 120.

CPU110は、メモリ120に格納された圧縮画像データに対して、図4に示すように、撮影日時や絞り値、シャッタースピードなどの付属情報を付加した所定フォーマット(たとえば、Exif)の画像ファイルを生成する。   As shown in FIG. 4, the CPU 110 generates an image file of a predetermined format (for example, Exif) in which attached information such as a shooting date / time, an aperture value, and a shutter speed is added to the compressed image data stored in the memory 120. To do.

生成された画像ファイルは、CPU110による制御の下、メディアコントローラ148を介して記憶メディア(メモリカー)150の記憶領域に作成された所定のフォルダに格納される。   The generated image file is stored in a predetermined folder created in the storage area of the storage medium (memory car) 150 via the media controller 148 under the control of the CPU 110.

この際、CPU110は、生成した画像ファイルを次の規則に従って記憶メディア150に記録する。すなわち、最後の撮影から一定時間が経過した場合は、新たなフォルダを作成し、そのフォルダに画像ファイルを格納する。以下、この画像ファイルの記録処理の手順を図5に示すフローチャートに従って説明する。   At this time, the CPU 110 records the generated image file on the storage medium 150 according to the following rules. That is, when a certain time has elapsed since the last shooting, a new folder is created and an image file is stored in the folder. The procedure of the image file recording process will be described below with reference to the flowchart shown in FIG.

撮影モードの下、シャッターボタン22が押下されて、撮影が行われると(ステップS10)、CPU110は撮影により得られた画像ファイルを記憶メディア150に記録する段階で記憶メディア150にアクセスし、記憶メディア150に最後に記録された画像ファイルの撮影日時の情報を取得する(ステップS11)。   When shooting is performed by pressing the shutter button 22 in the shooting mode (step S10), the CPU 110 accesses the storage medium 150 at the stage of recording the image file obtained by shooting on the storage medium 150, and the storage medium. Information on the shooting date and time of the image file last recorded in 150 is acquired (step S11).

この際、CPU110は、記憶メディア150の記憶領域に作成された最新のフォルダにアクセスし、そこに格納されている画像ファイルの撮影日時を読み出し、その中から最新の撮影日時を有する画像ファイルを最後に撮影された画像ファイルとして、最後に撮影された画像ファイルの撮影日時を取得する。   At this time, the CPU 110 accesses the latest folder created in the storage area of the storage medium 150, reads the shooting date and time of the image file stored in the folder, and finally selects the image file having the latest shooting date and time from among them. As the image file that was captured in (1), the shooting date and time of the last captured image file is acquired.

たとえば、図6に示すように、記憶メディア150の記憶領域に「DCIM」というフォルダ名のフォルダが作成され、その下位層に作成されたフォルダ(「100_FUJI」及び「101_FUJI」)に画像ファイルが格納される場合、CPU110は、最新のフォルダである「101_FUJI」というフォルダに格納されている画像ファイル(DSCF0001〜DSCF0004)の撮影日時を読み出し、その中から最新の撮影日時を有する画像ファイル(DSCF0004)を最後に撮影された画像ファイルとして、最後に撮影された画像ファイルの撮影日時を取得する。   For example, as shown in FIG. 6, a folder with a folder name “DCIM” is created in the storage area of the storage medium 150, and image files are stored in folders created in lower layers (“100_FUJI” and “101_FUJI”). In this case, the CPU 110 reads the shooting date and time of the image file (DSCF0001 to DSCF0004) stored in the folder “101_FUJI” which is the latest folder, and selects the image file (DSCF0004) having the latest shooting date and time from the reading date and time. As the last captured image file, the shooting date and time of the last captured image file is acquired.

なお、図6に示す例の場合、画像ファイルを格納するフォルダ(「DCIM」フォルダの下位層に作成されるフォルダ)には、「XXX_FUJI」というフォルダ名が付与され、作成した順に先頭3桁の数字(XXX)が100から1ずつ繰り上がってゆく。すなわち、一番最初に作成されるフォルダには「100_FUJI」というフォルダ名が付与され、次に作成されるフォルダには「101_FUJI」、その次に作成されるフォルダには「102_FUJI」というように、数値が1ずつ繰り上がったらファイル名が付与される。   In the case of the example shown in FIG. 6, the folder name “XXX_FUJI” is given to the folder storing the image file (folder created in the lower layer of the “DCIM” folder), and the first three digits in the order of creation. The number (XXX) is incremented from 100 by one. That is, the folder name “100_FUJI” is assigned to the folder created first, “101_FUJI” is assigned to the next folder created, “102_FUJI” is created to the folder created next, and so on. When the numerical value is incremented by 1, a file name is assigned.

次に、CPU110は、タイマ124から現在日時を取得する(ステップS12)。なお、この現在日時は撮影により得られた画像ファイルの撮影日時の情報を読み取って現在日時としてもよい。   Next, the CPU 110 acquires the current date and time from the timer 124 (step S12). The current date and time may be the current date and time by reading information on the shooting date and time of the image file obtained by shooting.

次に、CPU110は、取得した現在日時の情報と、最後に撮影された画像ファイルの撮影日時に情報とに基づいて、最後に行った撮影からの経過時間を算出する(ステップS13)。   Next, the CPU 110 calculates the elapsed time since the last shooting based on the acquired current date and time information and the shooting date and time information of the last captured image file (step S13).

そして、算出した経過時間が、あらかじめ設定された規定時間を越えているか否か判定する(ステップS14)。ここで、この規定時間は、フォルダを変えて画像ファイルを記録するか否かを判断する基準となる時間であり、あらかじめユーザが設定する。設定された規定時間の情報はEEPROM118に格納される。CPU110は、このEEPROM118に格納されている規定時間の情報を読み出して、算出した経過時間が規定時間を越えているか否か判定する。   Then, it is determined whether or not the calculated elapsed time exceeds a preset specified time (step S14). Here, the specified time is a time used as a reference for determining whether or not to record an image file by changing a folder, and is set in advance by the user. Information on the set specified time is stored in the EEPROM 118. The CPU 110 reads information on the specified time stored in the EEPROM 118 and determines whether or not the calculated elapsed time exceeds the specified time.

なお、規定時間の設定は、たとえば液晶モニタ30に表示されるメニュー画面で行うものとし、設定メニューを呼び出すと、規定時間の設定を行うことができるものとする。また、ユーザが設定を行わない場合は、初期値として規定時間に48時間(2日)が設定されるものとする。   The specified time is set on, for example, a menu screen displayed on the liquid crystal monitor 30, and the specified time can be set by calling the setting menu. In addition, when the user does not perform the setting, 48 hours (2 days) is set as the initial value as the specified time.

この判定の結果、最後の撮影からの経過時間が規定時間を越えていないと判定すると、CPU110は、そのまま記憶メディア150の記録領域に作成されている最新のフォルダに画像ファイルを格納する(ステップS16)。たとえば、図6に示す例では「101_FUJI」というフォルダ名のフォルダに格納される。   If it is determined that the elapsed time since the last shooting does not exceed the specified time as a result of the determination, the CPU 110 stores the image file in the latest folder created in the recording area of the storage medium 150 as it is (step S16). ). For example, in the example shown in FIG. 6, it is stored in a folder having a folder name “101_FUJI”.

一方、最後の撮影からの経過時間が規定時間を越えていると判定すると、CPU110は、記憶メディア150の記録領域にフォルダを新規作成し(ステップS15)、その新規作成されたフォルダ(最新のフォルダ)に画像ファイルを格納する(ステップS16)。たとえば、図6に示す例では、「DCIM」フォルダの下位層に「102_FUJI」というフォルダ名のフォルダを新規作成し、そのフォルダ「102_FUJI」に画像ファイルを格納する。   On the other hand, when determining that the elapsed time since the last shooting exceeds the specified time, the CPU 110 creates a new folder in the recording area of the storage medium 150 (step S15), and the newly created folder (the latest folder). ) Is stored (step S16). For example, in the example shown in FIG. 6, a folder with a folder name “102_FUJI” is newly created in a lower layer of the “DCIM” folder, and an image file is stored in the folder “102_FUJI”.

このように、本実施の形態のデジタルカメラ10では、前回行った撮影から一定時間が経過すると、画像格納用のフォルダが新規に作成され、その新規作成されたフォルダに画像ファイルが自動で格納される。この結果、旅行など一定の時間内に連続して撮影される画像ファイルが、同じフォルダに格納されるため、撮影後の画像管理を容易に行うことができる。   As described above, in the digital camera 10 according to the present embodiment, when a predetermined time has elapsed since the last shooting, an image storage folder is newly created, and an image file is automatically stored in the newly created folder. The As a result, image files that are continuously photographed within a certain time, such as a trip, are stored in the same folder, so that image management after photographing can be easily performed.

なお、上記実施の形態では、画像ファイルの記録時に新規フォルダの作成の要否を判定しているが、次のように撮影モードに設定した際、新規フォルダの作成の要否を判定してもよい。   In the above embodiment, whether or not a new folder needs to be created is determined when an image file is recorded. However, when the shooting mode is set as follows, whether or not a new folder needs to be created is determined. Good.

図7は、撮影モード設定時に新規フォルダを作成する場合の処理の手順を示すフローチャートである。   FIG. 7 is a flowchart illustrating a processing procedure when a new folder is created when the shooting mode is set.

撮影モードに設定されると(ステップS20)、CPU110は、記憶メディア150にアクセスし、記憶メディア150に最後に記録された画像ファイルの撮影日時の情報を取得する(ステップS21)。次に、CPU110は、タイマ124から現在日時を取得し(ステップS22)、取得した現在日時の情報と、最後に撮影された画像ファイルの撮影日時に情報とに基づいて、最後に行った撮影からの経過時間を算出する(ステップS23)。そして、算出した経過時間が、あらかじめ設定された規定時間を越えているか否か判定する(ステップS24)。   When the shooting mode is set (step S20), the CPU 110 accesses the storage medium 150 and acquires information on the shooting date and time of the image file last recorded on the storage medium 150 (step S21). Next, the CPU 110 acquires the current date and time from the timer 124 (step S22), and based on the acquired current date and time information and the shooting date and time information of the last captured image file, from the last shooting. Is calculated (step S23). Then, it is determined whether or not the calculated elapsed time exceeds a preset specified time (step S24).

判定の結果、最後の撮影からの経過時間が規定時間を越えていない場合は、ステップ26に進み、最後の撮影からの経過時間が規定時間を越えている場合は、ステップ25に進んで、記憶メディア150の記録領域にフォルダを新規作成する(ステップS25)。   As a result of the determination, if the elapsed time from the last shooting does not exceed the specified time, the process proceeds to step 26, and if the elapsed time from the last shooting exceeds the specified time, the process proceeds to step 25 to store it. A new folder is created in the recording area of the medium 150 (step S25).

この後、撮影が行われると(ステップS26)、CPU110は、撮影によって得られた画像ファイルを最新のフォルダに格納する(ステップS27)。   Thereafter, when shooting is performed (step S26), the CPU 110 stores the image file obtained by shooting in the latest folder (step S27).

このように、本例の場合においても、一定の時間内に連続して撮影される画像ファイルが、同じフォルダに格納されるため、撮影後の画像管理を容易に行うことができる。   As described above, even in the case of this example, since image files that are continuously shot within a certain time are stored in the same folder, image management after shooting can be easily performed.

なお、上記実施の形態では、最後に撮影された画像ファイルの撮影日時を取得する方法として、記憶メディアに記録されている画像ファイルの撮影日時を読み出し、読み出した中から最も新しい撮影日時を最後に撮影された画像ファイルの撮影日時として取得しているが、最後に撮影された画像ファイルの撮影日時を取得する方法は、これに限定されるものではない。たとえば、撮影すると、その撮影日時の情報をEEPROMに書き込むように設定し、撮影のたびに、その情報を更新するように設定する。これにより、EEPROMには常に最後に撮影された撮影日時の情報が記録されるので、このEEPROMに記録され撮影日時の情報を取得することにより、最後に撮影された撮影日時を取得することができる。   In the above embodiment, as a method for obtaining the shooting date and time of the last image file, the shooting date and time of the image file recorded on the storage medium is read, and the latest shooting date and time is read last. Although it is acquired as the shooting date and time of the shot image file, the method for acquiring the shooting date and time of the last shot image file is not limited to this. For example, when shooting, the setting is made so that the shooting date and time information is written in the EEPROM, and the information is updated every time shooting is performed. As a result, since information on the shooting date and time of the last shooting is always recorded in the EEPROM, the shooting date and time of the last shooting can be acquired by acquiring information on the shooting date and time recorded in the EEPROM. .

また、上記実施の形態では、最後の撮影からの経過時間に基づいて新規フォルダの作成の有無を判定しているが、最後の撮影からの経過日数に基づいて新規フォルダの作成の有無を判定するようにしてもよい。   In the above embodiment, whether or not a new folder is created is determined based on the elapsed time from the last shooting, but whether or not a new folder is created is determined based on the number of days elapsed since the last shooting. You may do it.

さらに、上記実施の形態では、静止画の画像ファイルを記録する場合を例に説明したが、動画を撮影できるカメラにあっては、撮影された動画の画像ファイルも同様の処理で記憶メディアに記録されるものとする。   Furthermore, in the above embodiment, the case where a still image file is recorded has been described as an example. However, in the case of a camera capable of shooting a moving image, the recorded moving image file is also recorded on a storage medium by the same process. Shall be.

また、上記実施の形態では、本発明をデジタルカメラに適用した場合を例に説明したが、本発明は、上記のデジタルカメラの他、ビデオカメラやカメラ付携帯電話等、撮影した画像をデジタルデータとして記録する撮影機器全般に適用することができる。   Further, in the above embodiment, the case where the present invention is applied to a digital camera has been described as an example. However, the present invention is not limited to the above digital camera, and a captured image such as a video camera or a mobile phone with a camera is converted into digital data. It can be applied to all photographic devices that record as

本発明が適用されたデジタルカメラの正面斜視図Front perspective view of a digital camera to which the present invention is applied 本発明が適用されたデジタルカメラの背面斜視図1 is a rear perspective view of a digital camera to which the present invention is applied. デジタルカメラの電気系の構成を示すブロック図Block diagram showing the configuration of the electrical system of a digital camera 画像ファイルの構成を示す図Diagram showing image file structure 画像ファイルの記録処理の手順を示すフローチャートFlow chart showing the procedure of image file recording processing 記憶メディアの記憶領域に作成されるフォルダ構造を示す図The figure which shows the folder structure created in the storage area of a storage medium 撮影モード設定時に新規フォルダを作成する場合の処理の手順を示すフローチャートFlowchart showing the processing procedure when creating a new folder when shooting mode is set

符号の説明Explanation of symbols

10…デジタルカメラ、12…カメラボディ、14…撮影レンズ、16…ファインダ窓、18…ストロボ、20…マイク、22…シャッターボタン、24…電源/モードスイッチ、26…モードダイヤル、28…ファインダ接眼部、30…液晶モニタ、32…ズームボタン、34…十字ボタン、36…MENU/OKボタン、38…DISPボタン、40…BACKボタン、42…スピーカ、44…USB端子、46…電源端子、48…AV出力端子、50…絞り、110…CPU、112…操作部、114…バス、116…ROM、118…EEPROM、120…メモリ(SDRAM)、122…VRAM、124…タイマ、126…光学ユニット、128…フォーカスモータドライバ、130…ズームモータドライバ、132…アイリスモータドライバ、134…撮像素子、136…タイミングジェネレータ(TG)、138…アナログ処理回路、140…A/D変換器、142…画像入力コントローラ、144…画像信号処理回路、146…圧縮・伸張処理回路、148…メディアコントローラ、150…記憶メディア(メモリカード)、152…USBインターフェース、154…LCD/ビデオエンコーダ、156…OSD回路、158…AE/AWB検出回路、160…AF検出回路、162…ストロボ制御回路   DESCRIPTION OF SYMBOLS 10 ... Digital camera, 12 ... Camera body, 14 ... Shooting lens, 16 ... Viewfinder window, 18 ... Strobe, 20 ... Microphone, 22 ... Shutter button, 24 ... Power / mode switch, 26 ... Mode dial, 28 ... Viewfinder eyepiece 30 ... LCD monitor, 32 ... zoom button, 34 ... cross button, 36 ... MENU / OK button, 38 ... DISP button, 40 ... BACK button, 42 ... speaker, 44 ... USB terminal, 46 ... power supply terminal, 48 ... AV output terminal, 50 ... aperture, 110 ... CPU, 112 ... operation unit, 114 ... bus, 116 ... ROM, 118 ... EEPROM, 120 ... memory (SDRAM), 122 ... VRAM, 124 ... timer, 126 ... optical unit, 128 ... Focus motor driver, 130 ... Zoom motor driver, 132 ... Airi Motor driver 134 ... Image sensor 136 ... Timing generator (TG) 138 ... Analog processing circuit 140 ... A / D converter 142 ... Image input controller 144 ... Image signal processing circuit 146 ... Compression / decompression processing circuit DESCRIPTION OF SYMBOLS 148 ... Media controller, 150 ... Storage medium (memory card), 152 ... USB interface, 154 ... LCD / video encoder, 156 ... OSD circuit, 158 ... AE / AWB detection circuit, 160 ... AF detection circuit, 162 ... Strobe control circuit

Claims (6)

現在日時を計時する計時手段と、撮影した画像データに撮影日時の情報を付加した画像ファイルを生成する画像ファイル生成手段と、記憶メディアの記憶領域にフォルダを作成し、該フォルダに前記画像ファイル生成手段で生成された画像ファイルを格納する記録制御手段と、を備えた撮影装置において、
撮影が行われると、前記記憶メディアの記憶領域に作成された最新のフォルダにアクセスし、該フォルダに格納されている画像ファイルの撮影日時を読み出し、読み出した中から最新の撮影日時を有する画像ファイルの撮影日時を最終の撮影日時として、最終の撮影日時の情報を取得する最終撮影日時取得手段と、
前記最終撮影日時取得手段によって最終の撮影日時の情報が取得されると、前記計時手段から現在日時の情報を取得し、取得した現在日時の情報と前記最終撮影日時取得手段で取得され最終の撮影日時の情報とに基づいて、最終の撮影からの経過時間を算出する経過時間演算手段と、
を備え、前記記録制御手段は、前記経過時間演算手段で算出された経過時間が、あらかじめ設定された経過時間を超えるか否か判定し、超えると判定すると、前記記憶メディアの記憶領域にフォルダを新規作成し、該フォルダに前記画像ファイル生成手段で生成された画像ファイルを格納し、超えていないと判定すると、前記記憶メディアの記憶領域に作成されている最新のフォルダに前記画像ファイル生成手段で生成された画像ファイルを格納することを特徴とする撮影装置。
Create a counting means for counting the current time and date, and an image file generation means for generating an image file obtained by adding the information of the photographing date and time captured image data, a folder in the storage area of the storage medium, the image file generation to the folder A recording control means for storing the image file generated by the means ,
When shooting is performed, the latest folder created in the storage area of the storage medium is accessed, the shooting date and time of the image file stored in the folder is read, and the image file having the latest shooting date and time is read out The last shooting date and time acquisition means for acquiring the last shooting date and time information,
When information of the final shooting date is obtained by the last shooting date acquisition means, from said time counting means obtains the information of the current date and time, acquired current date and time information and the final shooting date obtaining means has been last acquired in An elapsed time calculating means for calculating an elapsed time from the last shooting based on the shooting date and time information;
And the recording control means determines whether or not the elapsed time calculated by the elapsed time calculating means exceeds a preset elapsed time , and determines that the elapsed time exceeds the folder in the storage area of the storage medium. If the image file generated by the image file generating means is stored in the folder and it is determined that the image file has not exceeded, the image file generating means is stored in the latest folder created in the storage area of the storage medium. An image capturing apparatus that stores the image file generated in step 1 .
前記経過時間演算手段は、最終撮影日時取得手段によって最終の撮影日時の情報が取得されると、前記計時手段から現在日時の情報を取得し、取得した現在日時の情報と前記最終撮影日時取得手段で取得された最終の撮影日時の情報とに基づいて、最終の撮影からの経過日数を算出し、The elapsed time calculating means acquires the current date and time information from the time measuring means when the final shooting date and time information is acquired by the final shooting date and time acquisition means, and acquires the acquired current date and time information and the last shooting date and time acquisition means. Based on the information of the last shooting date and time acquired in, calculate the number of days since the last shooting,
前記記録制御手段は、前記経過時間演算手段で算出された経過日数が、あらかじめ設定された経過日数を超えるか否か判定し、超えると判定すると、前記記憶メディアの記憶領域にフォルダを新規作成し、該フォルダに前記画像ファイル生成手段で生成された画像ファイルを格納し、超えていないと判定すると、前記記憶メディアの記憶領域に作成されている最新のフォルダに前記画像ファイル生成手段で生成された画像ファイルを格納することを特徴とする請求項1に記載の撮影装置。The recording control means determines whether or not the number of elapsed days calculated by the elapsed time calculating means exceeds a preset number of elapsed days, and if so, creates a new folder in the storage area of the storage medium. When the image file generated by the image file generating unit is stored in the folder and it is determined that the image file does not exceed, the image file generated by the image file generating unit is created in the latest folder created in the storage area of the storage medium. The imaging apparatus according to claim 1, wherein an image file is stored.
前記記録制御手段は、前記フォルダを前記記憶メディアの記憶領域に作成する際、作成された順に1ずつ繰り上げられる数字列を含むフォルダ名を付与して、前記フォルダを前記記憶メディアの記憶領域に作成することを特徴とする請求項1又は2に記載の撮影装置。When creating the folder in the storage area of the storage medium, the recording control unit assigns a folder name including a numeric string that is incremented by one in the order of creation, and creates the folder in the storage area of the storage medium. The photographing apparatus according to claim 1 or 2, wherein 撮影した画像データに撮影日時の情報を付加した画像ファイルを生成し、該画像ファイルを記憶メディアの記憶領域に作成されたフォルダに格納する撮影装置の画像記録方法において、
撮影が行われると、前記記憶メディアの記憶領域に作成された最新のフォルダにアクセスし、該フォルダに格納されている画像ファイルの撮影日時を読み出し、読み出した中から最新の撮影日時を有する画像ファイルの撮影日時を最終の撮影日時として、最終の撮影日時の情報を取得する工程と、
現在日時の情報を取得する工程と、
前記現在日時の情報と前記最終の撮影日時の情報とに基づいて、最終の撮影からの経過時間を算出する工程と
算出した経過時間が、あらかじめ設定された経過時間を超えているか否か判定する工程と
最終の撮影からの経過時間が、あらかじめ設定された経過時間を超えている場合は、前記記憶メディアの記憶領域に前記画像ファイルを格納するためのフォルダを新規作成し、該フォルダに撮影により得られた画像ファイルを格納し、超えていない場合は、前記記憶メディアの記憶領域に作成されている最新のフォルダに撮影により得られた画像ファイルを格納する工程と、
からなることを特徴とする撮影装置の画像記録方法。
In an image recording method of a photographing apparatus, an image file in which information of photographing date and time is added to photographed image data is generated, and the image file is stored in a folder created in a storage area of a storage medium.
When shooting is performed, the latest folder created in the storage area of the storage medium is accessed, the shooting date and time of the image file stored in the folder is read, and the image file having the latest shooting date and time is read out The process of acquiring the last shooting date and time, with the shooting date and time as the last shooting date and time,
A process of obtaining current date and time information;
Calculating an elapsed time from the last shooting based on the information on the current date and time and the information on the last shooting date ;
Calculated elapsed time, and a step of determining whether it exceeds the elapsed time that has been set in advance,
If the elapsed time from the last shooting exceeds a preset elapsed time, a new folder for storing the image file is created in the storage area of the storage medium , and the folder is obtained by shooting. Storing the image file, if not exceeded, storing the image file obtained by shooting in the latest folder created in the storage area of the storage medium;
The image recording method of the imaging apparatus characterized by comprising a.
撮影した画像データに撮影日時の情報を付加した画像ファイルを生成し、該画像ファイルを記憶メディアの記憶領域に作成されたフォルダに格納する撮影装置の画像記録方法において、In an image recording method of a photographing apparatus, an image file in which information of photographing date and time is added to photographed image data is generated, and the image file is stored in a folder created in a storage area of a storage medium.
撮影が行われると、前記記憶メディアの記憶領域に作成された最新のフォルダにアクセスし、該フォルダに格納されている画像ファイルの撮影日時を読み出し、読み出した中から最新の撮影日時を有する画像ファイルの撮影日を最終の撮影日として、最終の撮影日の情報を取得する工程と、When shooting is performed, the latest folder created in the storage area of the storage medium is accessed, the shooting date and time of the image file stored in the folder is read, and the image file having the latest shooting date and time is read out A step of acquiring the last shooting date as the last shooting date,
現在日の情報を取得する工程と、The process of obtaining the current date information;
前記現在日の情報と前記最終の撮影日の情報とに基づいて、最終の撮影からの経過日数を算出する工程と、Calculating the number of days since the last shooting based on the current date information and the last shooting date information;
算出した経過日数が、あらかじめ設定された経過日数を超えているか否か判定する工程と、A step of determining whether or not the calculated elapsed days exceeds a preset elapsed days;
最終の撮影からの経過日数が、あらかじめ設定された経過日数を超えている場合は、前記記憶メディアの記憶領域に撮影により得られた画像ファイルを格納するためのフォルダを新規作成し、該フォルダに前記画像ファイルを格納し、超えていない場合は、前記記憶メディアの記憶領域に作成されている最新のフォルダに撮影により得られた画像ファイルを格納する工程と、If the number of days elapsed since the last shooting exceeds a preset number of days, a new folder for storing the image file obtained by shooting is created in the storage area of the storage medium, and the folder is stored in the folder. Storing the image file, if not exceeded, storing the image file obtained by shooting in the latest folder created in the storage area of the storage medium; and
からなることを特徴とする撮影装置の画像記録方法。An image recording method for a photographing apparatus, comprising:
前記フォルダを前記記憶メディアの記憶領域に作成する際、作成された順に1ずつ繰り上げられる数字列を含むフォルダ名を付与して、前記フォルダを前記記憶メディアの記憶領域に作成することを特徴とする請求項4又は5に記載の撮影装置の画像記録方法。When creating the folder in the storage area of the storage medium, the folder is created in the storage area of the storage medium by assigning a folder name including a numeric string incremented by one in the order of creation. The image recording method of the imaging device according to claim 4 or 5.
JP2004138841A 2004-05-07 2004-05-07 Image capturing apparatus and image recording method thereof Expired - Fee Related JP4328960B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004138841A JP4328960B2 (en) 2004-05-07 2004-05-07 Image capturing apparatus and image recording method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004138841A JP4328960B2 (en) 2004-05-07 2004-05-07 Image capturing apparatus and image recording method thereof

Publications (2)

Publication Number Publication Date
JP2005323079A JP2005323079A (en) 2005-11-17
JP4328960B2 true JP4328960B2 (en) 2009-09-09

Family

ID=35470024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004138841A Expired - Fee Related JP4328960B2 (en) 2004-05-07 2004-05-07 Image capturing apparatus and image recording method thereof

Country Status (1)

Country Link
JP (1) JP4328960B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008177741A (en) * 2007-01-17 2008-07-31 Fujifilm Corp Imaging apparatus, imaging method, and program
JP2019095871A (en) * 2017-11-20 2019-06-20 日本光電工業株式会社 Biological information monitor, biological information management system, and program

Also Published As

Publication number Publication date
JP2005323079A (en) 2005-11-17

Similar Documents

Publication Publication Date Title
JP3896505B2 (en) Electronic camera
US7706674B2 (en) Device and method for controlling flash
JP4333394B2 (en) Camera device, imaging method and program thereof
JP4284440B2 (en) Electronic camera
JP2006345402A (en) Image file information display device with date sorting function, image file information display method and imaging apparatus
JP6389342B2 (en) Imaging apparatus and control method thereof
KR20050053142A (en) Digital camera and file management method of the digital camera
JP4509829B2 (en) Camera device
JP4328960B2 (en) Image capturing apparatus and image recording method thereof
JP5522214B2 (en) Camera device and through image display method
JP2003255428A (en) Camera
JP5109996B2 (en) Camera device, through image display method and program thereof
JP2007110221A (en) Imaging apparatus
JP2007013586A (en) Image pickup device
JP2008054128A (en) Image pickup device, image display apparatus, and its program
JP2005278003A (en) Image processing apparatus
JP6383230B2 (en) Imaging device, display device control method, and program
JP4182427B2 (en) Imaging device
JP2005260798A (en) Photographing apparatus
JP2007101877A (en) Photographing device
JP2009141978A (en) Camera apparatus, through-image display method ,and program therefor
KR101086413B1 (en) Method of controlling digital image processing apparatus wherein image shaking is corrected
JP2006039105A (en) Sound recording device
JP2003189160A (en) Digital camera
JP2006014217A (en) Imaging apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061222

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090414

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090602

R150 Certificate of patent or registration of utility model

Ref document number: 4328960

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120626

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120626

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130626

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees