JP4371977B2 - Image recording device - Google Patents

Image recording device Download PDF

Info

Publication number
JP4371977B2
JP4371977B2 JP2004294160A JP2004294160A JP4371977B2 JP 4371977 B2 JP4371977 B2 JP 4371977B2 JP 2004294160 A JP2004294160 A JP 2004294160A JP 2004294160 A JP2004294160 A JP 2004294160A JP 4371977 B2 JP4371977 B2 JP 4371977B2
Authority
JP
Japan
Prior art keywords
search
image
file
management information
power
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
JP2004294160A
Other languages
Japanese (ja)
Other versions
JP2006109170A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2004294160A priority Critical patent/JP4371977B2/en
Publication of JP2006109170A publication Critical patent/JP2006109170A/en
Application granted granted Critical
Publication of JP4371977B2 publication Critical patent/JP4371977B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、画像記録装置に関し、特にたとえばディジタルカメラに適用され、インターバル撮影機能を利用した間欠的な撮影動作によって作成される複数の被写界像を記録媒体に形成された画像ファイルに記録する、画像記録装置に関する。   The present invention relates to an image recording apparatus, and in particular, is applied to, for example, a digital camera, and records a plurality of scene images created by an intermittent shooting operation using an interval shooting function in an image file formed on a recording medium. The present invention relates to an image recording apparatus.

従来のこの種の装置の一例が、特許文献1に開示されている。この従来技術によれば、インターバル撮影モードが選択されると、所定期間が経過する毎に撮影動作が実行される。各々の撮影によって得られた画像データは、まず光磁気ディスクのテンポラリエリアに格納される。所望の回数の撮影動作が完了した後に動画変換操作が行われると、テンポラリエリアの画像データを含む動画ファイルが作成される。作成された動画ファイルは、光磁気ディスクの正規記録エリアに移される。これによって、植物の開花状況などの微速度の動きを観察することができる。また、画像データを光磁気ディスクに記録することで、撮影の合間にメイン電源をオフすることができ、消費電力の削減が図られる。
特開2001−298693号公報[H04N 5/91, 5/225, 5/765, 5/781, 5/915]
An example of a conventional device of this type is disclosed in Patent Document 1. According to this prior art, when the interval shooting mode is selected, a shooting operation is performed every time a predetermined period elapses. Image data obtained by each photographing is first stored in a temporary area of the magneto-optical disk. When the moving image conversion operation is performed after the desired number of shooting operations are completed, a moving image file including image data in the temporary area is created. The created moving image file is moved to the regular recording area of the magneto-optical disk. Thereby, it is possible to observe a slow movement such as the flowering situation of the plant. Also, by recording the image data on the magneto-optical disk, the main power supply can be turned off between shootings, and power consumption can be reduced.
JP 2001-298893 A [H04N 5/91, 5/225, 5/765, 5/781, 5/915]

しかし、従来技術では、動画ファイルの作成のための動画変換操作が必要となるため、操作性が低下する。ここで、当初から動画ファイルを作成し、撮影された各フレームの画像データをこの動画ファイルに蓄積するようにすれば、動画変換操作が不要となる。     However, the conventional technique requires a moving image conversion operation for creating a moving image file, so that the operability is lowered. Here, if a moving image file is created from the beginning and the captured image data of each frame is stored in the moving image file, the moving image conversion operation becomes unnecessary.

しかしながら、動画ファイルに形成されるヘッダおよびフッタには、記録された画像データのフレーム数や位置情報が記述される。このため、撮影が1回行われる毎に画像データを動画ファイルに書き込むようにすると、ヘッダおよびフッタも更新する必要がある。つまり、ヘッダおよびフッタを動画ファイルから読み出し、読み出されたヘッダおよびフッタを更新し、そして更新されたヘッダおよびフッタを動画ファイルに書き込む必要がある。   However, the header and footer formed in the moving image file describe the number of frames and position information of the recorded image data. For this reason, if image data is written in a moving image file each time shooting is performed, the header and footer also need to be updated. That is, it is necessary to read the header and footer from the moving image file, update the read header and footer, and write the updated header and footer to the moving image file.

ここで、ヘッダの位置は固定である一方、フッタの位置は動画ファイルに格納された画像データのサイズに依存する。このため、フッタの更新にあたっては、フッタの位置を検索する処理が必要となる。   Here, the header position is fixed, while the footer position depends on the size of the image data stored in the moving image file. For this reason, when the footer is updated, processing for searching the position of the footer is required.

ただし、検索処理は、読み出し処理や書き込み処理よりも複雑である。さらに、フッタは静止画撮影モードで作成される静止画ファイルには存在せず、静止画ファイルに1フレームの被写界像を書き込む処理では検索処理は不要である。このため、記録処理の一連の過程でフッタを検索するようにすると、インターバル撮影モードと静止画撮影モードとで記録処理の手順が大きく相違することになる。   However, the search process is more complicated than the read process and the write process. Further, the footer does not exist in the still image file created in the still image shooting mode, and search processing is not necessary in the process of writing one frame of the scene image in the still image file. For this reason, if the footer is searched in a series of recording processes, the procedure of the recording process is greatly different between the interval shooting mode and the still image shooting mode.

それゆえに、この発明の主たる目的は、消費電力を削減でき、かつ記録処理を撮影モード間でできる限り共通化できる、画像記録装置を提供することである。     SUMMARY OF THE INVENTION Therefore, a main object of the present invention is to provide an image recording apparatus that can reduce power consumption and can make recording processing as common as possible between photographing modes.

請求項1の発明に従う画像記録装置は、インターバル撮影機能を利用した間欠的なM回(M:2以上の整数)の撮影動作によってそれぞれ作成されるM個の被写界像を記録媒体に形成された画像ファイルに記録する画像記録装置において、画像ファイルに格納された被写界像の数に応じて異なる位置に配置される画像管理情報をN回(N:1以上でかつM未満の整数)の撮影動作毎に記録媒体から検索する検索手段、検索手段によって検出された画像管理情報をN回の撮影動作に基づいて更新する更新手段、更新手段の更新動作が終了した後に電源をオフする電源オフ手段、検索手段の検索動作に先立って電源をオンする電源オン手段、検索手段の検索動作に費やされた時間を測定する測定手段、および測定手段の測定結果に基づいて電源オン手段の動作タイミングを調整する調整手段を備え、検索手段は注目するN回の撮影動作を形成する最初の撮影動作の前に検索動作を行うことを特徴とする。   According to a first aspect of the present invention, an image recording apparatus according to a first aspect of the present invention forms, on a recording medium, M field images created respectively by intermittent M times (M: an integer equal to or greater than 2) of photographing operations using an interval photographing function. In the image recording apparatus for recording in the image file, the image management information arranged at different positions according to the number of object scene images stored in the image file is set to N times (N is an integer greater than or equal to 1 and less than M). ) Search means for searching from the recording medium for each shooting operation, update means for updating the image management information detected by the search means based on N times of shooting operations, and turning off the power after the update operation of the update means is completed. Power-off means, power-on means for turning on the power prior to the search operation of the search means, measurement means for measuring the time spent in the search operation of the search means, and power-on based on the measurement results of the measurement means An adjustment means for adjusting the operation timing means, search means and performing a search operation before the first photographing operation for forming the N times of imaging operations of interest.

被写界像は、インターバル撮影機能を利用した間欠的な撮影動作によって作成される。M回(M:2以上の整数)の撮影動作によってそれぞれ作成されたM個の被写界像は、記録媒体に形成された画像ファイルに記録される。記録媒体には、画像管理情報が記録される。ただし、画像管理情報の位置は、画像ファイルに格納された被写界像の数に応じて異なる。   The object scene image is created by an intermittent shooting operation using the interval shooting function. M object scene images respectively created by M times (M: an integer of 2 or more) of photographing operations are recorded in an image file formed on a recording medium. Image management information is recorded on the recording medium. However, the position of the image management information varies depending on the number of object scene images stored in the image file.

検索手段は、このような画像管理情報をN回(N:1以上でかつM未満の整数)の撮影動作毎に記録媒体から検索する。具体的には、検索動作は、注目するN回の撮影動作を形成する最初の撮影動作の前に行われる。検索手段によって検出された画像管理情報は、N回の撮影動作に基づいて、更新手段によって更新される。   The retrieval means retrieves such image management information from the recording medium every N times (N is an integer greater than or equal to 1 and less than M). Specifically, the search operation is performed before the first shooting operation that forms N shooting operations of interest. The image management information detected by the search means is updated by the update means based on N shooting operations.

更新動作が完了すると、電源オフ手段によって電源がオフされる。オフされた電源は、検索手段による次回の検索動作に先立ってオンされる。測定手段は、検索手段の検索動作に費やされた時間を測定し、調整手段は、測定手段の測定結果に基づいて電源オン手段の動作タイミングを調整する。   When the update operation is completed, the power is turned off by the power off means. The turned-off power supply is turned on prior to the next search operation by the search means. The measuring means measures the time spent for the search operation of the searching means, and the adjusting means adjusts the operation timing of the power-on means based on the measurement result of the measuring means.

注目するN回の撮影動作を形成する最初の撮影動作に先立って検索動作を行うことで、検索動作は、撮影されたN個の被写界像を記録するための一連の処理から分離されることとなる。これによって、撮影モード間での記録処理の共通性が向上する。   By performing the search operation prior to the first shooting operation that forms the N shooting operations of interest, the search operation is separated from a series of processes for recording the captured N object scene images. It will be. This improves the commonality of the recording process between the shooting modes.

また、検索手段の検索動作に費やされた時間を測定し、測定結果に基づいて電源オン手段の動作タイミングを調整することで、消費電力の削減効果が向上する。   In addition, the time consumed for the search operation of the search means is measured, and the operation timing of the power-on means is adjusted based on the measurement result, thereby improving the power consumption reduction effect.

請求項2の発明に従う画像記録装置は、請求項1に従属し、更新手段は、検索手段によって検出された画像管理情報を記録媒体から読み出す読み出し手段、読み出し手段によって読み出された画像管理情報を更新する更新実行手段、および更新実行手段によって更新された画像管理情報を記録媒体に書き込む書き込み手段を含む。   An image recording apparatus according to a second aspect of the present invention is dependent on the first aspect, wherein the update means reads out the image management information detected by the search means from the recording medium, and reads out the image management information read by the read means. Update execution means for updating, and writing means for writing the image management information updated by the update execution means to the recording medium.

請求項3の発明に従う画像記録装置は、請求項2に従属し、書き込み手段は、画像管理情報の書き込みを指示する書き込み指示を発行する発行手段、および発行手段によって発行された書き込み指示に従う書き込みを実行する書き込み実行手段を含む。   An image recording apparatus according to a third aspect of the invention is dependent on the second aspect, wherein the writing means issues issuing means for instructing writing of the image management information, and writing according to the writing instruction issued by the issuing means. Write execution means to be executed is included.

請求項4の発明に従う画像記録装置は、請求項1ないし3のいずれかに従属し、画像管理情報は画像管理情報の末尾に配置される。   An image recording apparatus according to a fourth aspect of the invention is dependent on any one of the first to third aspects, and the image management information is arranged at the end of the image management information.

請求項5の発明に従う画像記録装置は、請求項1ないし4のいずれかに従属し、Nは“1”である。これによって、消費電力の削減効果が向上する。   An image recording apparatus according to a fifth aspect of the present invention is dependent on any one of the first to fourth aspects, and N is “1”. This improves the power consumption reduction effect.

請求項6の発明に従うディジタルカメラは、請求項1ないし5のいずれかに記載の画像記録装置を備える。   A digital camera according to a sixth aspect of the invention includes the image recording apparatus according to any one of the first to fifth aspects.

請求項7の発明に従う記録制御プログラムは、インターバル撮影機能を利用した間欠的なM回(M:2以上の整数)の撮影動作によってそれぞれ作成されるM個の被写界像を記録媒体に形成された画像ファイルに記録する画像記録装置のプロセサによって実行される記録制御プログラムにおいて、画像ファイルに格納された被写界像の数に応じて異なる位置に配置される画像管理情報をN回(N:1以上でかつM未満の整数)の撮影動作毎に記録媒体から検索する検索ステップ、検索ステップによって検出された画像管理情報をN回の撮影動作に基づいて更新する更新ステップ、更新ステップの更新動作が終了した後に電源をオフする電源オフステップ、検索ステップの検索動作に先立って電源をオンする電源オンステップ、検索手段の検索動作に費やされた時間を測定する測定ステップ、および測定ステップの測定結果に基づいて電源オン手段の動作タイミングを調整する調整ステップを備え、検索ステップは注目するN回の撮影動作を形成する最初の撮影動作の前に検索動作を行うことを特徴とする。請求項1と同様、消費電力の削減と記録処理の共通化が図られる。   According to a seventh aspect of the present invention, a recording control program forms M field images respectively generated by intermittent M times (M: an integer of 2 or more) of photographing operations using an interval photographing function on a recording medium. In the recording control program executed by the processor of the image recording apparatus for recording in the image file, the image management information arranged at different positions according to the number of object scene images stored in the image file is N times (N Search step for searching from the recording medium for each shooting operation of 1 or more and less than M), an update step for updating the image management information detected by the search step based on N shooting operations, and an update of the update step Power-off step for turning off the power after the operation is completed, power-on step for turning on the power prior to the search operation in the search step, search for search means A measuring step for measuring the time spent on the operation, and an adjusting step for adjusting the operation timing of the power-on means based on the measurement result of the measuring step, and the search step is the first to form N imaging operations of interest A search operation is performed before the shooting operation. As in the first aspect, the power consumption can be reduced and the recording process can be shared.

この発明によれば、 注目するN回の撮影動作を形成する最初の撮影動作に先立って検索動作を行うことで、検索動作は、撮影されたN個の被写界像を記録するための一連の処理から分離されることとなる。これによって、撮影モード間での記録処理の共通性が向上する。また、検索手段の検索動作に費やされた時間を測定し、測定結果に基づいて電源オン手段の動作タイミングを調整することで、消費電力の削減効果が向上する。   According to the present invention, the retrieval operation is performed prior to the first photographing operation that forms the N photographing operations of interest, so that the retrieval operation is a series for recording the N captured field images. It will be separated from the process. This improves the commonality of the recording process between the shooting modes. In addition, the time consumed for the search operation of the search means is measured, and the operation timing of the power-on means is adjusted based on the measurement result, thereby improving the power consumption reduction effect.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1を参照して、この実施例のディジタルカメラ10は、バッテリ44を含む。電源回路42は、バッテリ44の出力電圧に基づいて複数の駆動電圧を生成する。生成された複数の駆動電圧の1つは、直接サブCPU38に与えられ、残りの駆動電圧はSW回路40に与えられる。サブCPU38は、電源回路42からの駆動電圧によって常時バックアップされる。   Referring to FIG. 1, the digital camera 10 of this embodiment includes a battery 44. The power supply circuit 42 generates a plurality of drive voltages based on the output voltage of the battery 44. One of the generated drive voltages is directly supplied to the sub CPU 38, and the remaining drive voltage is supplied to the SW circuit 40. The sub CPU 38 is always backed up by the drive voltage from the power supply circuit 42.

キー入力装置36によってメイン電源投入操作が行われると、サブCPU38は、SW回路40の接続をオフ状態からオン状態に変更する。この結果、電源回路42からの駆動電圧がシステム全体に供給される。   When the main power-on operation is performed by the key input device 36, the sub CPU 38 changes the connection of the SW circuit 40 from the off state to the on state. As a result, the drive voltage from the power supply circuit 42 is supplied to the entire system.

メイン電源が投入された状態でキー入力装置36によってインターバル撮影モード(タイムラプス撮影モード)が選択されると、設定されたインターバル時間Tint(たとえば5分)毎の撮影が、図2〜図4に示す要領で実行される。なお、メインCPU34は、マルチタスクOSの制御の下で、メインタスクおよびBG(Back Ground)タスクを含む複数のタスクを並列的に実行する。   When the interval photographing mode (time-lapse photographing mode) is selected by the key input device 36 with the main power turned on, photographing at every set interval time Tint (for example, 5 minutes) is shown in FIGS. It is executed in the way. The main CPU 34 executes a plurality of tasks including a main task and a BG (Back Ground) task in parallel under the control of the multitask OS.

まず、撮影指令がサブCPU38からメインCPU34に与えられる。メインCPU34のメインタスクは、撮影処理を実行するべく、ドライバ16に駆動命令を与え、JPEGコーデック28に圧縮命令を与える。   First, a shooting command is given from the sub CPU 38 to the main CPU 34. The main task of the main CPU 34 gives a drive command to the driver 16 and a compression command to the JPEG codec 28 in order to execute the photographing process.

駆動命令を受けたドライバ16は、まずイメージセンサ14に露光を施す。光学レンズ12を経た被写界の光学像は撮像面で光電変換を施され、これによって被写界を表す生画像信号(電荷)が生成される。ドライバ16は、こうして生成された生画像信号をラスタ走査態様でイメージセンサ14から読み出す。CDS/AGC/AD回路18は、イメージセンサ14から出力された生画像信号にノイズ除去,レベル調整およびA/D変換の一連の処理を施し、ディジタル信号である生画像データを出力する。出力された生画像データは、画像処理回路20によって色分離,白バランス調整,YUV変換などの処理を施される。画像処理回路20から出力された画像データは、メモリ制御回路22を通してSDRAM24に書き込まれる。   Upon receiving the drive command, the driver 16 first exposes the image sensor 14. The optical image of the object scene that has passed through the optical lens 12 is subjected to photoelectric conversion on the imaging surface, thereby generating a raw image signal (charge) representing the object scene. The driver 16 reads the raw image signal thus generated from the image sensor 14 in a raster scanning manner. The CDS / AGC / AD circuit 18 performs a series of processes of noise removal, level adjustment and A / D conversion on the raw image signal output from the image sensor 14 and outputs raw image data which is a digital signal. The output raw image data is subjected to processing such as color separation, white balance adjustment, and YUV conversion by the image processing circuit 20. The image data output from the image processing circuit 20 is written into the SDRAM 24 through the memory control circuit 22.

圧縮命令を受けたJPEGコーデック28は、SDRAM24に格納された画像データをメモリ制御回路22を通して読み出し、読み出された画像データにJPEG圧縮を施し、そして圧縮画像データつまりJPEGデータをメモリ制御回路22を通してSDRAM24に書き込む。   Upon receiving the compression command, the JPEG codec 28 reads the image data stored in the SDRAM 24 through the memory control circuit 22, performs JPEG compression on the read image data, and passes the compressed image data, that is, JPEG data through the memory control circuit 22. Write to SDRAM 24.

このような撮影処理によって1フレームのJPEGデータがSDRAM24に確保されると、メインタスクは、ファイル作成&オープン指令をBGタスクに向けて発行する。BGタスクは、これに応答して、動画ファイルを記録媒体32内に新規に作成し、かつ作成された動画ファイルをオープンする。   When one frame of JPEG data is secured in the SDRAM 24 by such shooting processing, the main task issues a file creation & open command to the BG task. In response to this, the BG task newly creates a moving image file in the recording medium 32 and opens the created moving image file.

記録媒体32は、MS−DOSに従ってフォーマットされており、図5に示すようにルートディレクトリ領域32a,FAT領域32bおよびデータ領域32cを有する。新規の動画ファイルはデータ領域32cに書き込まれ、この動画ファイルに関連する複数のクラスタのリンク情報はFAT領域32bに書き込まれ、そしてこの動画ファイルのファイル名はルートディレクトリ領域32aのディレクトリエントリに書き込まれる。なお、動画ファイルのファイル名には、拡張子“MOV”が割り当てられる。   The recording medium 32 is formatted according to MS-DOS and has a root directory area 32a, a FAT area 32b, and a data area 32c as shown in FIG. The new moving image file is written in the data area 32c, the link information of a plurality of clusters related to the moving image file is written in the FAT area 32b, and the file name of the moving image file is written in the directory entry of the root directory area 32a. . The extension “MOV” is assigned to the file name of the moving image file.

メインタスクは続いて、ヘッダおよびフッタをSDRAM24上で作成し、ファイル書き込み指令およびファイルクローズ指令をBGタスクに向けて発行する。ファイル書き込み指令は、SDRAM24に確保されたヘッダ,1フレームのJPEGデータおよびフッタを書き込むための指令である。BGタスクは、ヘッダ,JPEGデータおよびフッタをメモリ制御回路22を通してSDRAM24から読み出し、読み出されたヘッダ,JPEGデータおよびフッタをI/F30を通して記録媒体32に与える。ヘッダ,JPEGデータおよびフッタは、オープンされた動画ファイルに書き込まれる。BGタスクはさらに、オープン状態の動画ファイルをファイルクローズ指令に応答してクローズする。   Next, the main task creates a header and a footer on the SDRAM 24, and issues a file write command and a file close command to the BG task. The file write command is a command for writing a header, one frame of JPEG data, and a footer reserved in the SDRAM 24. The BG task reads the header, JPEG data, and footer from the SDRAM 24 through the memory control circuit 22, and provides the read header, JPEG data, and footer to the recording medium 32 through the I / F 30. The header, JPEG data, and footer are written in the opened moving image file. The BG task further closes the open moving image file in response to the file close command.

こうして、図6に示すようなファイル構造を有する動画ファイルが得られる。図6によれば、ファイルの先頭および末尾にヘッダおよびフッタがそれぞれ形成され、動画像を形成するJPEGデータがヘッダおよびフッタの間に書き込まれる。動画ファイルに格納されたJPEGデータのフレーム数はヘッダに記述され、各フレームのJPEGデータのオフセット情報(ファイル先頭からフレーム先頭までの距離)はフッタに記述される。   In this way, a moving image file having a file structure as shown in FIG. 6 is obtained. According to FIG. 6, a header and a footer are formed at the beginning and end of a file, respectively, and JPEG data forming a moving image is written between the header and the footer. The number of frames of JPEG data stored in the moving image file is described in the header, and offset information (distance from the beginning of the file to the beginning of the frame) of the JPEG data of each frame is described in the footer.

なお、この時点では、ヘッダに記述されたフレーム数は“1”を示し、フッタに記述されたオフセット情報は1フレーム目のJPEGデータのオフセットのみを示す。ヘッダおよびフッタの間には、1フレーム目のJPEGデータのみが存在する。また、記録媒体32は着脱自在のメモリカードであり、スロット(図示せず)に装着されたときにI/F30と接続される。   At this time, the number of frames described in the header indicates “1”, and the offset information described in the footer indicates only the offset of the first frame of JPEG data. Only the first frame of JPEG data exists between the header and the footer. The recording medium 32 is a detachable memory card, and is connected to the I / F 30 when inserted in a slot (not shown).

ファイルクローズが完了すると、ファイルクローズ通知がBGタスクからメインタスクに与えられる。メインタスクは、ファイルクローズ通知が与えられたとき、撮影完了通知をサブCPU38に送信する。撮影完了通知を受信したサブCPU38は、電源オフ準備指令をメインCPU34に送信する。これに応答して、メインタスクは、BGタスクを含む複数のタスクを停止し、その後に準備完了通知をサブCPU38に送信する。準備完了通知を受信したサブCPU38は、SW回路40の接続をオン状態からオフ状態に変更する。これによって、メイン電源がオフされる。   When the file close is completed, a file close notification is given from the BG task to the main task. When the main task receives a file close notification, the main task transmits a shooting completion notification to the sub CPU 38. The sub CPU 38 that has received the shooting completion notification transmits a power-off preparation command to the main CPU 34. In response to this, the main task stops a plurality of tasks including the BG task, and thereafter transmits a preparation completion notice to the sub CPU 38. Receiving the preparation completion notification, the sub CPU 38 changes the connection of the SW circuit 40 from the on state to the off state. As a result, the main power supply is turned off.

サブCPU38は、インターバル時間Tintからファイル検索時間Ts(=初期値)を減算した時間“Tint−Ts”が経過したとき、メイン電源をオンするべくSW回路40の接続をオフ状態からオン状態に切り換える。これによって起動したメインCPU34のメインタスクは、BGタスクを含む複数のタスクを起動する。メインタスクはまた、サブCPU38からファイル検索指令を受け、これに応答してファイル検索処理を実行する。   When the time “Tint−Ts” obtained by subtracting the file search time Ts (= initial value) from the interval time Tint has elapsed, the sub CPU 38 switches the connection of the SW circuit 40 from the off state to the on state. . The main task of the main CPU 34 activated by this activates a plurality of tasks including the BG task. The main task also receives a file search command from the sub CPU 38, and executes a file search process in response thereto.

ファイル検索処理では、まず最新の動画ファイルのファイル名がディレクトリエントリから検出される。検出されるファイル名は、拡張子“MOV”が付されたファイル名のうち最大の識別番号を有するファイル名である。次に、検出されたファイル名を有する動画ファイルがオープンされ、フッタの先頭位置およびサイズが特定される。オープンされた動画ファイルは、先頭位置およびサイズが特定された後にクローズされる。   In the file search process, first, the file name of the latest moving image file is detected from the directory entry. The detected file name is the file name having the largest identification number among the file names with the extension “MOV”. Next, a moving image file having the detected file name is opened, and the start position and size of the footer are specified. The opened moving image file is closed after the head position and size are specified.

かかるファイル検索処理に費やされた時間は、タイマ34bによって測定される。ファイル検索時間Tsは、タイマ34bの測定値に500ミリ秒(あくまで一例であり、500ミリ秒に限られない)を加算した値に更新される。更新されたファイル検索時間Tsは、メインタスクによってサブCPU38に送信される。ファイル検索時間Tsを受信したサブCPU38は、インターバル時間Tintが経過した時点で、メインCPU34に向けて撮影指令を発行する。   The time spent for the file search process is measured by the timer 34b. The file search time Ts is updated to a value obtained by adding 500 milliseconds (which is just an example and not limited to 500 milliseconds) to the measurement value of the timer 34b. The updated file search time Ts is transmitted to the sub CPU 38 by the main task. The sub CPU 38 that has received the file search time Ts issues a shooting command to the main CPU 34 when the interval time Tint has elapsed.

図3を参照して、メインタスクは、撮影処理を実行する。この結果、1フレームのJPEGデータがSDRAM24に確保される。撮影処理の後、メインタスクは、ファイルオープン指令およびファイル読み出し指令をBGタスクに向けて発行する。ファイルオープン指令は、ファイル検索処理で検出された動画ファイルをオープンするための指令である。ファイル読み出し指令は、オープンされた動画ファイルからヘッダおよびフッタを読み出すための指令である。BGタスクは、ファイルオープン指令に応答して動画ファイルをオープンし、ファイル読み出し指令に応答して動画ファイルからヘッダおよびフッタを読み出す。読み出されたヘッダおよびフッタは、I/F30およびメモリ制御回路22を経てSDRAM24に書き込まれる。   Referring to FIG. 3, the main task executes a photographing process. As a result, one frame of JPEG data is secured in the SDRAM 24. After the shooting process, the main task issues a file open command and a file read command to the BG task. The file open command is a command for opening a moving image file detected by the file search process. The file read command is a command for reading the header and footer from the opened moving image file. The BG task opens the moving image file in response to the file open command, and reads the header and footer from the moving image file in response to the file read command. The read header and footer are written into the SDRAM 24 via the I / F 30 and the memory control circuit 22.

メインタスクは、メモリ制御回路22を通してSDRAM24にアクセスし、ヘッダおよびフッタを更新する。具体的には、メインタスクは、ヘッダに記述されたフレーム数をインクリメントし、2フレーム目のJPEGデータのオフセット情報をフッタに追記する。ヘッダおよびフッタの更新が完了すると、メインタスクは、ファイル書き込み指令およびファイルクローズ指令をBGタスクに向けて発行する。   The main task accesses the SDRAM 24 through the memory control circuit 22 and updates the header and footer. Specifically, the main task increments the number of frames described in the header and adds offset information of the JPEG data of the second frame to the footer. When the update of the header and footer is completed, the main task issues a file write command and a file close command to the BG task.

SDRAM24に格納されたヘッダ,1フレームのJPEGデータおよびフッタは、ファイル書き込み指令の実行によって、オープン状態の動画ファイルに書き込まれる。ヘッダは前回と同じ位置に書き込まれ、JPEGデータはファイル検索処理によって特定されたフッタの先頭位置以降に書き込まれ、そしてフッタは今回書き込まれたJPEGデータの末尾以降に書き込まれる。ファイルクローズ指令は書き込みが完了した後に実行され、これによって動画ファイルがクローズされる。   The header, one frame of JPEG data, and footer stored in the SDRAM 24 are written into an open moving image file by executing a file write command. The header is written at the same position as the previous time, the JPEG data is written after the start position of the footer specified by the file search process, and the footer is written after the end of the JPEG data written this time. The file close command is executed after the writing is completed, whereby the moving image file is closed.

動画ファイルがクローズされると、上述と同様に、撮影完了通知がサブCPU38に送信される。メインタスクは、サブCPU38からの電源オフ準備指令に応答して自分以外のタスクを停止し、準備完了通知をサブCPU38に送信する。準備完了通知を受信したサブCPU38は、速やかにメイン電源をオフする。   When the moving image file is closed, a shooting completion notification is transmitted to the sub CPU 38 as described above. In response to the power-off preparation command from the sub CPU 38, the main task stops other tasks and sends a preparation completion notification to the sub CPU 38. Receiving the preparation completion notification, the sub CPU 38 immediately turns off the main power supply.

サブCPU38は、メイン電源のオフから時間“Tint−Ts”が経過したとき、メイン電源をオンする。メインCPU34のメインタスクはBGタスクを含む複数のタスクを起動し、サブCPU38からファイル検索指令に応答してファイル検索処理を実行する。ファイル検索処理によって、注目する動画ファイルを形成するフッタの先頭位置が特定される。また、ファイル検索処理に費やされた時間に500ミリ秒を加算した時間が、新規のファイル検索時間Tsとして、サブCPU38に送信される。ファイル検索時間Tsを受信したサブCPU38は、インターバル時間Tintが経過した時点で、メインCPU34に向けて撮影指令を発行する。   The sub CPU 38 turns on the main power supply when the time “Tint-Ts” has elapsed since the main power supply was turned off. The main task of the main CPU 34 activates a plurality of tasks including a BG task, and executes a file search process in response to a file search command from the sub CPU 38. By the file search process, the head position of the footer that forms the moving image file of interest is specified. A time obtained by adding 500 milliseconds to the time spent for the file search process is transmitted to the sub CPU 38 as a new file search time Ts. The sub CPU 38 that has received the file search time Ts issues a shooting command to the main CPU 34 when the interval time Tint has elapsed.

図4を参照して、サブCPU38およびメインCPU34は、撮影回数が設定値に達するまで、上述と同様の処理(撮影処理〜撮影完了通知)を繰り返し実行する。メインタスクは、撮影完了通知をサブCPU38に送信した後、さらにモード終了通知をサブCPU38に送信する。メインタスク38はその後、自分以外の全てのタスクを停止する。また、サブCPU38は、タスク停止処理に要する時間の結果を待って、メイン電源をオフする。   Referring to FIG. 4, sub CPU 38 and main CPU 34 repeatedly execute the same processing (shooting process to shooting completion notification) as described above until the number of shootings reaches a set value. The main task transmits a shooting completion notification to the sub CPU 38 and then transmits a mode end notification to the sub CPU 38. The main task 38 then stops all tasks other than itself. Also, the sub CPU 38 waits for the result of the time required for the task stop process and turns off the main power supply.

このように、撮影の合間でメイン電源をオフ(つまり、スリープモードを設定)するようにしたため、消費電力を削減することができる。さらに、スリープモードを維持する期間をファイル検索処理に費やされた時間に基づいて決定するようにしたため、消費電力の削減効果が最大限に発揮される。   As described above, since the main power supply is turned off (that is, the sleep mode is set) between shootings, the power consumption can be reduced. Furthermore, since the period for maintaining the sleep mode is determined based on the time spent in the file search process, the effect of reducing power consumption is maximized.

なお、通常撮影モードが選択された状態で撮影操作が行われたときは、図2に示す最初の撮影指令の発行から撮影完了通知までの一連の処理が実行される。ただし、フッタの作成/書き込みは省略される。   Note that when a shooting operation is performed in a state in which the normal shooting mode is selected, a series of processing from the first shooting command issuance to the shooting completion notification shown in FIG. 2 is executed. However, the creation / writing of the footer is omitted.

メイン電源がオンされている状態でインターバル撮影モードが選択されたとき、サブCPU38は、図7および図8に示すフロー図に従う処理を実行し、メインCPU34は、図9〜図11に示すメインタスクおよび図12に示すBG(Back Ground)タスクを含む複数のタスクを並列的に実行する。なお、これらのフロー図に対応する制御プログラムは、フラッシュメモリ26に記憶される。   When the interval shooting mode is selected with the main power turned on, the sub CPU 38 executes processing according to the flowcharts shown in FIGS. 7 and 8, and the main CPU 34 performs the main task shown in FIGS. A plurality of tasks including a BG (Back Ground) task shown in FIG. 12 are executed in parallel. The control program corresponding to these flowcharts is stored in the flash memory 26.

まず図7および図8を参照して、ステップS1では、ファイル検索時間Tsを初期値に設定し、インターバル時間Tintを所望の値に設定する。ファイル検索時間Tsおよびインターバル時間Tintは、レジスタ38aに格納される。ステップS3ではメインCPU34に向けて撮影指令を発行し、ステップS5ではタイマ38bのリセット&スタートを実行し、ステップS7ではメインCPU34から撮影完了通知が返送されたか否かを判別する。   First, referring to FIGS. 7 and 8, in step S1, file search time Ts is set to an initial value, and interval time Tint is set to a desired value. The file search time Ts and the interval time Tint are stored in the register 38a. In step S3, a shooting command is issued to the main CPU 34. In step S5, the timer 38b is reset and started. In step S7, it is determined whether a shooting completion notification is returned from the main CPU 34.

撮影完了通知が返送されると、メインCPU34からモード終了通知が与えられたか否かをステップS9で判別し、所定時間が経過したか否かをステップS11で判別する。所定期間が経過するまでにモード終了通知が与えられると、ステップS17の待機処理を経てステップS19でメイン電源をオフし、その後、処理を終了する。なお、ステップS17の待機時間は、メインCPU34が全てのタスクを停止するまでの猶予時間に相当する。   When the shooting completion notification is returned, it is determined in step S9 whether or not a mode end notification is given from the main CPU 34, and whether or not a predetermined time has elapsed is determined in step S11. If a mode end notification is given before the predetermined period elapses, the main power is turned off in step S19 through a standby process in step S17, and then the process ends. The waiting time in step S17 corresponds to a grace time until the main CPU 34 stops all tasks.

所定時間が経過するまでにモード終了通知が与えられなければ、ステップS13に進み、電源オフ準備指令をメインCPU34に向けて発行する。これに対してメインCPU34から準備完了通知が返送されると、ステップS15からステップS21に進み、メイン電源をオフするべく、SW回路40の接続をオフ状態に切り換える。   If the mode end notification is not given before the predetermined time elapses, the process proceeds to step S13 to issue a power-off preparation command to the main CPU. On the other hand, when a preparation completion notification is returned from the main CPU 34, the process proceeds from step S15 to step S21, and the connection of the SW circuit 40 is switched to the OFF state in order to turn off the main power supply.

ステップS23ではタイマ38bの測定時間が“Tint−Ts”に達したか否かを判別する。ここでYESと判断されると、ステップS25でメイン電源をオンし、ステップS27でメインCPU34に向けてファイル検索指令を発行する。   In step S23, it is determined whether or not the measurement time of the timer 38b has reached "Tint-Ts". If YES is determined here, the main power supply is turned on in step S25, and a file search command is issued to the main CPU 34 in step S27.

メインCPU34からファイル検索時間Tsを受信すると、ステップS29からステップS31に進み、レジスタ38aに設定されたファイル検索時間Tsを受信したファイル検索時間Tsによって更新する。ステップS33ではタイマ38bの測定時間がインターバル時間Tintに達したか否かを判別し、YESであればステップS3に戻る。   When the file search time Ts is received from the main CPU 34, the process proceeds from step S29 to step S31, and the file search time Ts set in the register 38a is updated by the received file search time Ts. In step S33, it is determined whether or not the measurement time of the timer 38b has reached the interval time Tint. If YES, the process returns to step S3.

図9〜図11を参照して、ステップS41ではフラグFLGを“0”に設定し、ステップS43ではBGタスクを含む複数のタスクを起動する。ステップS45では撮影指令が発行されたか否かを判別し、ステップS79ではファイル検索指令が発行されたか否かを判別し、そしてステップS101では電源オフ準備指令が発行されたか否かを判別する。   Referring to FIGS. 9 to 11, in step S41, flag FLG is set to “0”, and in step S43, a plurality of tasks including a BG task are activated. In step S45, it is determined whether a shooting command has been issued, in step S79, it is determined whether a file search command has been issued, and in step S101, it is determined whether a power-off preparation command has been issued.

撮影指令が発行されたときはステップS45でYESと判断し、ステップS47で撮影処理を実行する。具体的には、ドライバ16に駆動命令を与え、JPEGコーデック28に圧縮命令を与える。   When a shooting command is issued, YES is determined in step S45, and shooting processing is executed in step S47. Specifically, a drive command is given to the driver 16 and a compression command is given to the JPEG codec 28.

駆動命令の発行によって、被写界を表す生画像信号がイメージセンサ14から出力され、この生画像信号に対応するYUV形式の画像データが画像処理回路20から出力される。出力された画像データは、メモリ制御回路22によってSDRAM24に書き込まれる。圧縮命令を受けたJPEGコーデック28は、こうしてSDRAM24に格納された画像データをメモリ制御回路22を通して読み出し、読み出された画像データにJPEG圧縮を施し、そしてJPEGデータをメモリ制御回路22を通してSDRAM24に書き込む。   When the drive command is issued, a raw image signal representing the object scene is output from the image sensor 14, and YUV format image data corresponding to the raw image signal is output from the image processing circuit 20. The output image data is written into the SDRAM 24 by the memory control circuit 22. Upon receiving the compression command, the JPEG codec 28 reads the image data stored in the SDRAM 24 through the memory control circuit 22, performs JPEG compression on the read image data, and writes the JPEG data into the SDRAM 24 through the memory control circuit 22. .

ステップS49では、フラグFLGの状態を判別する。フラグFLGが“0”を示していれば、動画ファイルは未だ作成されていないとみなし、ステップS59で“ファイル作成&オープン指令”をBGタスクに向けて発行する。これによって、動画ファイルが新規に作成されかつオープンされる。ステップS61およびS63では、ヘッダおよびフッタをそれぞれ作成する。ヘッダに記述されるフレーム数Kは、“1”を示す。また、フッタには、1フレーム目のJPEGデータのオフセット情報が記述される。   In step S49, the state of the flag FLG is determined. If the flag FLG indicates “0”, it is considered that the moving image file has not yet been created, and a “file creation & open command” is issued to the BG task in step S59. As a result, a moving image file is newly created and opened. In steps S61 and S63, a header and a footer are created, respectively. The number K of frames described in the header indicates “1”. In the footer, offset information of JPEG data of the first frame is described.

一方、フラグFLGが“1”を示していれば、動画ファイルは作成済みであるとみなし、ステップS51でファイルオープン指令をBGタスクに向けて発行する。ステップS53では、オープンされた動画ファイルからヘッダおよびフッタを読み出すべく、ファイル読み出し指令をBGタスクに向けて発行する。読み出されたヘッダおよびフッタは、SDRAM24に転送される。ステップS55およびS57では、SDRAM24上のヘッダおよびフッタをそれぞれ更新する。ステップS55の処理によって、ヘッダに記述されたフレーム数Kがインクリメントされる。また、ステップS57の処理によって、新規に作成されたJPEGデータのオフセット情報がフッタに追記される。   On the other hand, if the flag FLG indicates “1”, it is regarded that the moving image file has been created, and a file open command is issued to the BG task in step S51. In step S53, a file read command is issued to the BG task in order to read the header and footer from the opened moving image file. The read header and footer are transferred to the SDRAM 24. In steps S55 and S57, the header and footer on the SDRAM 24 are updated. By the process of step S55, the number K of frames described in the header is incremented. Also, the offset information of the newly created JPEG data is added to the footer by the process of step S57.

なお、ステップS51でオープンすべき動画ファイルは、後述するステップS97の処理によって特定される。また、ステップS53で読み出すべきフッタの先頭位置およびサイズは、後述するステップS87で特定される。   Note that the moving image file to be opened in step S51 is specified by the process in step S97 described later. Further, the start position and size of the footer to be read in step S53 are specified in step S87 described later.

ステップS63またはS57の処理が完了するとステップS65に進み、ファイル書き込み指令をBGタスクに向けて発行する。このファイル書き込み指令は、ステップS61またはS55の処理によって得られたヘッダ,ステップS47の処理によって得られたJPEGデータ,ならびにステップS63またはS57の処理によって得られたフッタを動画ファイルに書き込むための指令である。   When the process of step S63 or S57 is completed, the process proceeds to step S65, and a file write command is issued to the BG task. This file write command is a command for writing the header obtained by the process of step S61 or S55, the JPEG data obtained by the process of step S47, and the footer obtained by the process of step S63 or S57 to the moving image file. is there.

ステップS67では、ファイルクローズ指令をBGタスクに向けて発行する。これによって、オープンされている動画ファイルがクローズされる。BGタスクからファイルクローズ通知が与えられると、ステップS69からステップS71に進み、撮影完了通知をサブCPU38に向けて送信する。   In step S67, a file close command is issued to the BG task. As a result, the opened moving image file is closed. When a file close notification is given from the BG task, the process proceeds from step S69 to step S71, and a shooting completion notification is transmitted to the sub CPU 38.

ステップS73では、ステップS55で更新されたフレーム数Kに基づいて、撮影回数が設定値に達したか否かを判別する。ここでNOであれば、ステップS45に戻る。一方、YESであれば、ステップS75でモード終了通知をサブCPU38に向けて送信し、ステップS77でBGタスクを含む全てのタスクを停止し、その後に処理を終了する。   In step S73, based on the number K of frames updated in step S55, it is determined whether or not the number of shootings has reached a set value. If “NO” here, the process returns to the step S45. On the other hand, if YES, a mode end notification is transmitted to the sub CPU 38 in step S75, all tasks including the BG task are stopped in step S77, and then the process ends.

ファイル検索指令が発行されたときは、ステップS79でYESと判断し、ステップS81でタイマ34bのリセット&スタートを実行する。ステップS83では、記録媒体32のルートディレクトリ領域32aに記述されたディレクトリエントリを参照して、最新の動画ファイルのファイル名を検出する。ステップS85では検出されたファイル名を有する動画ファイルをオープンし、ステップS87ではオープンされた動画ファイルからフッタの先頭位置およびフッタのサイズを特定する。先頭位置およびサイズが特定されると、ステップS89でこの動画ファイルをクローズし、ステップS91でタイマ34bの測定値を検出する。   If a file search command is issued, YES is determined in step S79, and the timer 34b is reset and started in step S81. In step S83, the directory entry described in the root directory area 32a of the recording medium 32 is referenced to detect the file name of the latest moving image file. In step S85, a moving image file having the detected file name is opened. In step S87, the footer head position and the footer size are specified from the opened moving image file. When the head position and size are specified, the moving image file is closed in step S89, and the measurement value of the timer 34b is detected in step S91.

ステップS93では、検出された測定値に500ミリ秒を加算し、これによって得られた時間を次回のファイル検索時間Tsとして決定する。ステップS95では決定されたファイル検索時間TsをサブCPU38に向けて送信し、ステップS97ではステップS83で検出されたファイル名をレジスタ34aに設定する。レジスタ34aへの設定処理が完了すると、ステップS99でフラグFLGを“1”に設定してからステップS45に戻る。   In step S93, 500 milliseconds is added to the detected measurement value, and the time obtained thereby is determined as the next file search time Ts. In step S95, the determined file search time Ts is transmitted to the sub CPU 38, and in step S97, the file name detected in step S83 is set in the register 34a. When the setting process to the register 34a is completed, the flag FLG is set to “1” in step S99, and the process returns to step S45.

電源オフ準備指令が発行されたときは、ステップS101でYESと判断し、ステップS103で自分以外の全てのタスクを停止する。タスク停止処理が完了すると、ステップS105で準備完了通知をサブCPU38に向けて送信し、その後ステップS45に戻る。   When a power-off preparation command is issued, YES is determined in step S101, and all tasks other than itself are stopped in step S103. When the task stop process is completed, a preparation completion notification is transmitted to the sub CPU 38 in step S105, and then the process returns to step S45.

図12を参照して、ステップS111ではファイル作成&オープン指令が発行されたか否かを判別し、ステップS115ではファイルオープン指令が発行されたか否かを判別する。また、ステップS119ではファイルクローズ指令が発行されたか否かを判別し、ステップS125ではファイル読み出し指令が発行されたか否かを判別し、そしてステップS129ではファイル書き込み指令が発行されたか否かを判別する。   Referring to FIG. 12, in step S111, it is determined whether a file creation & open command has been issued. In step S115, it is determined whether a file open command has been issued. In step S119, it is determined whether a file close command has been issued. In step S125, it is determined whether a file read command has been issued. In step S129, it is determined whether a file write command has been issued. .

ファイル作成&オープン指令が発行されると、ステップS111からステップS113に進み、新規の動画ファイルを作成しかつオープンする。ファイルオープン指令が発行されると、ステップS115からステップS117に進み、指定された動画ファイルをオープンする。ファイルクローズ指令が発行されると、ステップS119からステップS121に進み、オープンされている動画ファイルをクローズする。   When the file creation & open command is issued, the process proceeds from step S111 to step S113, where a new moving image file is created and opened. When the file open command is issued, the process proceeds from step S115 to step S117, and the designated moving image file is opened. When the file close command is issued, the process proceeds from step S119 to step S121, and the opened moving image file is closed.

ファイル読み出し指令が発行されると、ステップS125からステップS127に進み、オープンされている動画ファイルから所望のデータを読み出す。読み出されたデータは、メモリ制御回路22を通して記録媒体24に書き込まれる。ファイル書き込み指令が発行されると、ステップS129からステップS131に進み、所望のデータをオープンされている動画ファイルに書き込む。データは、メモリ制御回路22を通してSDRAM24から読み出され、I/F30を通して記録媒体32の動画ファイルに書き込まれる。   When a file read command is issued, the process proceeds from step S125 to step S127, and desired data is read from the opened moving image file. The read data is written to the recording medium 24 through the memory control circuit 22. When the file write command is issued, the process proceeds from step S129 to step S131, and the desired data is written to the opened moving image file. Data is read from the SDRAM 24 through the memory control circuit 22 and written to a moving image file on the recording medium 32 through the I / F 30.

以上の説明から分かるように、被写界像を表すJPEGデータは、インターバル撮影機能を利用した間欠的な撮影動作によって作成される。複数回の撮影動作によってそれぞれ作成された複数フレームのJPEGデータは、記録媒体32に形成された動画ファイルに記録される。ここで、メインCPU34は、撮影動作が行われる前に動画ファイルからフッタ(画像管理情報)を検索し(S87)、撮影動作が行われた後にフッタを更新する(S53, S57)。現フレームのJPEGデータおよび更新されたフッタは、メインCPU34によって動画ファイルに書き込まれる(S65, S131)。   As can be seen from the above description, JPEG data representing an object scene image is created by an intermittent shooting operation using an interval shooting function. A plurality of frames of JPEG data created by a plurality of shooting operations are recorded in a moving image file formed on the recording medium 32. Here, the main CPU 34 searches for a footer (image management information) from the moving image file before the shooting operation is performed (S87), and updates the footer after the shooting operation is performed (S53, S57). The JPEG data of the current frame and the updated footer are written into the moving image file by the main CPU 34 (S65, S131).

書き込みが完了すると、サブCPU38によってメイン電源がオフされる(S21)。オフされたメイン電源は、次回の検索動作に先立ってサブCPU38によってオンされる(S25)。メインCPU34はフッタの検索に費やされた時間を測定し(S91)、サブCPU38はこの測定結果に基づいてメイン電源をオンするタイミングを調整する(S23)。   When the writing is completed, the main power is turned off by the sub CPU 38 (S21). The main power turned off is turned on by the sub CPU 38 prior to the next search operation (S25). The main CPU 34 measures the time spent searching for the footer (S91), and the sub CPU 38 adjusts the timing for turning on the main power based on the measurement result (S23).

このように、撮影動作に先立って検索処理を行うことで、検索処理は、記録処理から分離されることとなる。これによって、撮影モード間(インターバル撮影モードと通常撮影モードとの間)での記録処理の共通性が向上する。また、検索処理に費やされた時間を測定し、測定結果に基づいてメイン電源をオンするタイミングを調整することで、消費電力の削減効果が向上する。   Thus, by performing the search process prior to the shooting operation, the search process is separated from the recording process. This improves the commonality of the recording process between the shooting modes (between the interval shooting mode and the normal shooting mode). In addition, the time consumed for the search process is measured, and the timing for turning on the main power supply is adjusted based on the measurement result, thereby improving the power consumption reduction effect.

なお、この実施例では、記録媒体としてメモリカードを採用しているが、これに代えて光ディスクを採用するようにしてもよい。また、この実施例では、1回の撮影動作が完了する毎にメイン電源をオフするようにしているが、複数回の撮影動作が完了する毎にメイン電源をオフするようにしてもよい。   In this embodiment, a memory card is used as the recording medium, but an optical disk may be used instead. In this embodiment, the main power supply is turned off every time one photographing operation is completed. However, the main power supply may be turned off every time a plurality of photographing operations are completed.

この発明の一実施例の構成を示すブロック図である。It is a block diagram which shows the structure of one Example of this invention. 図1実施例の動作の一部を示す図解図である。It is an illustration figure which shows a part of operation | movement of FIG. 1 Example. 図1実施例の動作の他の一部を示す図解図である。It is an illustration figure which shows a part of other operation | movement of FIG. 1 Example. 図1実施例の動作のその他の一部を示す図解図である。It is an illustration figure which shows the other part of operation | movement of FIG. 1 Example. 図1実施例に適用される記録媒体のマッピング状態の一例を示す図解図である。It is an illustration figure which shows an example of the mapping state of the recording medium applied to FIG. 1 Example. 図1実施例によって作成される動画ファイルの構造の一例を示す図解図である。It is an illustration figure which shows an example of the structure of the moving image file produced by FIG. 1 Example. 図1実施例に適用されるサブCPUの動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of the sub CPU applied to the FIG. 1 Example. 図1実施例に適用されるサブCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of the sub CPU applied to the FIG. 1 Example. 図1実施例に適用されるメインCPUの動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of main CPU applied to the FIG. 1 Example. 図1実施例に適用されるメインCPUの動作の他の一部を示すフロー図である。FIG. 12 is a flowchart showing another portion of the behavior of the main CPU applied to the embodiment in FIG. 1. 図1実施例に適用されるメインCPUの動作のその他の一部を示すフロー図である。FIG. 10 is a flowchart showing still another portion of the behavior of the main CPU applied to the embodiment in FIG. 1. 図1実施例に適用されるメインCPUの動作のさらにその他の一部を示すフロー図である。FIG. 14 is a flowchart showing yet another portion of the behavior of the main CPU applied to the embodiment in FIG. 1.

符号の説明Explanation of symbols

10 …ディジタルカメラ
14 …イメージセンサ
20 …画像処理回路
22 …メモリ制御回路
24 …SDRAM
28 …JPEGコーデック
32 …記録媒体
34 …メインCPU
38 …サブCPU
42 …電源回路
44 …バッテリ
DESCRIPTION OF SYMBOLS 10 ... Digital camera 14 ... Image sensor 20 ... Image processing circuit 22 ... Memory control circuit 24 ... SDRAM
28 ... JPEG codec 32 ... Recording medium 34 ... Main CPU
38 ... Sub CPU
42 ... power supply circuit 44 ... battery

Claims (7)

インターバル撮影機能を利用した間欠的なM回(M:2以上の整数)の撮影動作によってそれぞれ作成されるM個の被写界像を記録媒体に形成された画像ファイルに記録する画像記録装置において、
前記画像ファイルに格納された被写界像の数に応じて異なる位置に配置される画像管理情報をN回(N:1以上でかつM未満の整数)の撮影動作毎に前記記録媒体から検索する検索手段、
前記検索手段によって検出された画像管理情報を前記N回の撮影動作に基づいて更新する更新手段、
前記更新手段の更新動作が終了した後に電源をオフする電源オフ手段、
前記検索手段の検索動作に先立って前記電源をオンする電源オン手段、
前記検索手段の検索動作に費やされた時間を測定する測定手段、および
前記測定手段の測定結果に基づいて前記電源オン手段の動作タイミングを調整する調整手段を備え、
前記検索手段は注目するN回の撮影動作を形成する最初の撮影動作の前に検索動作を行うことを特徴とする、画像記録装置。
In an image recording apparatus for recording M object scene images respectively created by intermittent M (M: an integer greater than or equal to 2) photographing operations using an interval photographing function in an image file formed on a recording medium ,
Image management information arranged at different positions according to the number of scene images stored in the image file is retrieved from the recording medium every N times (N is an integer greater than or equal to 1 and less than M). Search means to
Updating means for updating the image management information detected by the search means based on the N imaging operations;
Power-off means for turning off the power after the updating operation of the updating means is completed;
Power-on means for turning on the power prior to the search operation of the search means;
Measuring means for measuring the time spent in the search operation of the search means, and adjusting means for adjusting the operation timing of the power-on means based on the measurement result of the measurement means,
The image recording apparatus according to claim 1, wherein the search means performs a search operation before a first shooting operation that forms N noted shooting operations.
前記更新手段は、前記検索手段によって検出された画像管理情報を前記記録媒体から読み出す読み出し手段、前記読み出し手段によって読み出された画像管理情報を更新する更新実行手段、および前記更新実行手段によって更新された画像管理情報を前記記録媒体に書き込む書き込み手段を含む、請求項1記載の画像記録装置。   The update means is updated by a read means for reading the image management information detected by the search means from the recording medium, an update execution means for updating the image management information read by the read means, and the update execution means. The image recording apparatus according to claim 1, further comprising a writing unit that writes the image management information to the recording medium. 前記書き込み手段は、前記画像管理情報の書き込みを指示する書き込み指示を発行する発行手段、および前記発行手段によって発行された書き込み指示に従う書き込みを実行する実行手段を含む、請求項2記載の画像記録装置。   The image recording apparatus according to claim 2, wherein the writing unit includes an issuing unit that issues a writing instruction that instructs writing of the image management information, and an execution unit that executes writing according to the writing instruction issued by the issuing unit. . 前記画像管理情報は前記画像管理情報の末尾に配置される、請求項1ないし3のいずれかに記載の画像記録装置。   The image recording apparatus according to claim 1, wherein the image management information is arranged at the end of the image management information. 前記Nは“1”である、請求項1ないし4のいずれかに記載の画像記録装置。   The image recording apparatus according to claim 1, wherein N is “1”. 請求項1ないし5のいずれかに記載の画像記録装置を備える、ディジタルカメラ。   A digital camera comprising the image recording apparatus according to claim 1. インターバル撮影機能を利用した間欠的なM回(M:2以上の整数)の撮影動作によってそれぞれ作成されるM個の被写界像を記録媒体に形成された画像ファイルに記録する画像記録装置のプロセサによって実行される記録制御プログラムにおいて、
前記画像ファイルに格納された被写界像の数に応じて異なる位置に配置される画像管理情報をN回(N:1以上でかつM未満の整数)の撮影動作毎に前記記録媒体から検索する検索ステップ、
前記検索ステップによって検出された画像管理情報を前記N回の撮影動作に基づいて更新する更新ステップ、
前記更新ステップの更新動作が終了した後に電源をオフする電源オフステップ、
前記検索ステップの検索動作に先立って前記電源をオンする電源オンステップ、
前記検索手段の検索動作に費やされた時間を測定する測定ステップ、および
前記測定ステップの測定結果に基づいて前記電源オン手段の動作タイミングを調整する調整ステップを備え、
前記検索ステップは注目するN回の撮影動作を形成する最初の撮影動作の前に検索動作を行うことを特徴とする、記録制御プログラム。
An image recording apparatus for recording M object scene images respectively created by intermittent M (M: integer greater than or equal to 2) photographing operations using an interval photographing function in an image file formed on a recording medium. In the recording control program executed by the processor,
Image management information arranged at different positions according to the number of object scene images stored in the image file is searched from the recording medium every N times (N is an integer greater than or equal to 1 and less than M). Search step,
An update step of updating the image management information detected by the search step based on the N imaging operations;
A power-off step of turning off the power after the update operation of the update step is completed;
A power-on step of turning on the power prior to the search operation of the search step;
A measuring step for measuring a time spent for a search operation of the search means; and an adjusting step for adjusting an operation timing of the power-on means based on a measurement result of the measurement step,
The recording control program according to claim 1, wherein the search step performs a search operation before a first shooting operation that forms N noted shooting operations.
JP2004294160A 2004-10-06 2004-10-06 Image recording device Expired - Fee Related JP4371977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004294160A JP4371977B2 (en) 2004-10-06 2004-10-06 Image recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004294160A JP4371977B2 (en) 2004-10-06 2004-10-06 Image recording device

Publications (2)

Publication Number Publication Date
JP2006109170A JP2006109170A (en) 2006-04-20
JP4371977B2 true JP4371977B2 (en) 2009-11-25

Family

ID=36378358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004294160A Expired - Fee Related JP4371977B2 (en) 2004-10-06 2004-10-06 Image recording device

Country Status (1)

Country Link
JP (1) JP4371977B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5962231B2 (en) * 2012-06-07 2016-08-03 リコーイメージング株式会社 Camera recording operation control device

Also Published As

Publication number Publication date
JP2006109170A (en) 2006-04-20

Similar Documents

Publication Publication Date Title
JP4125309B2 (en) Imaging device
JP3564031B2 (en) Electronic still camera
JPH07131746A (en) Electronic camera
CN104065857A (en) Imaging Device And Video Content Generating Method
US8164654B2 (en) Image storage apparatus, image storage method, and control program executed in image storage apparatus
JP2001175512A (en) Data recording device
US20080222410A1 (en) Apparatus, method, computer program and recording medium for processing information
JP2003051977A (en) Imaging device, control method for the imaging device, program and storage medium
US8077221B2 (en) Image capturing apparatus and control method therefor with determination whether storage medium is limited-rewriteable storage medium
JP4371977B2 (en) Image recording device
US20090279874A1 (en) Recording device and driving state controlling method
US20070189721A1 (en) Image reproducing apparatus and control method therefor
CN114765656A (en) Removable device and control method thereof
KR20060009016A (en) Information processing device and method, program recording medium, program, and imaging device
EP1189426A2 (en) Disk Apparatus
JP5381133B2 (en) Playback device, imaging device, and program
JP2004289307A (en) Image recording and reproducing apparatus
JP4701297B2 (en) Image processing apparatus, method, and recording medium
JP2001309222A (en) Portable imaging apparatus and its operation control method
JP7129796B2 (en) Recording device and its control method
JP2010021607A (en) Video camera, recording method of video camera and recording program
JP4898344B2 (en) Image processing apparatus and image processing method
JP4104443B2 (en) Imaging device
JP3119397B2 (en) Image signal recording device
JP2001036785A (en) Information processor, its controlling method and memory medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090520

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

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

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130911

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130911

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20130911

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees