JP2007323322A - Photographing device and photographing device control method - Google Patents

Photographing device and photographing device control method Download PDF

Info

Publication number
JP2007323322A
JP2007323322A JP2006152221A JP2006152221A JP2007323322A JP 2007323322 A JP2007323322 A JP 2007323322A JP 2006152221 A JP2006152221 A JP 2006152221A JP 2006152221 A JP2006152221 A JP 2006152221A JP 2007323322 A JP2007323322 A JP 2007323322A
Authority
JP
Japan
Prior art keywords
update program
program
recording
image
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006152221A
Other languages
Japanese (ja)
Inventor
Mitsuyoshi Nakamura
円美 中村
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 JP2006152221A priority Critical patent/JP2007323322A/en
Publication of JP2007323322A publication Critical patent/JP2007323322A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To increase a free space of a means for recording a program for update while surely updating a control program for controlling a photographing device, in updating the control program. <P>SOLUTION: When a camera 10 is powered on, and started, a CPU 12 determines whether or not the camera 10 is normally started and operated. Then, when determined that the operation of the camera 10 is normal, the CPU 12 determines whether or not the program for update is recorded in a built-in ROM 20 for recording (step S10). When the program for update is recorded in the built-in ROM 20 for recording (step S10; Yes), the CPU 12 erases the program for update from the built-in ROM 20 for recording (step S12). Then, the CPU 12 detects the size of the free space of the built-in ROM 20 for recording, and calculates the number of images which can be recorded in the free space (step S14). <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は撮影装置及び撮影装置制御方法に係り、特に制御プログラムを更新可能な撮影装置に関する。   The present invention relates to a photographing apparatus and a photographing apparatus control method, and more particularly to a photographing apparatus capable of updating a control program.

従来、電子機器の処理プログラムを更新する際に、処理プログラムの更新プログラムを着脱可能な記録媒体に記録し、この記録媒体から更新プログラムを読み出して、電子機器の処理プログラムを更新する技術が提案されている(特許文献1)。また、特許文献2には、複数のディスク装置と、ホストコンピュータとを備えており、ディスク装置のファームウェアの固有情報及びファームウェアデータの更新を行うプログラムをホストコンピュータに一体的に組み込んだファームウェア更新システムが開示されている。
特開2002−223402号公報 特開2000−242598号公報
Conventionally, when updating a processing program for an electronic device, a technique has been proposed in which the processing program update program is recorded on a removable recording medium, the update program is read from the recording medium, and the processing program for the electronic device is updated. (Patent Document 1). Further, Patent Document 2 includes a firmware update system that includes a plurality of disk devices and a host computer, and in which a program for updating the firmware device specific information and firmware data is integrated into the host computer. It is disclosed.
JP 2002-223402 A JP 2000-242598 A

近年、フラッシュ・メモリの低価格化に伴い、大容量のフラッシュ・メモリをデジタルカメラに内蔵し、撮影した画像を、着脱可能な記録メディアではなく、内蔵のフラッシュ・メモリに記録可能なデジタルカメラが開発されている。このようなデジタルカメラでは、ファームウェアを更新する場合、新バージョンのファームウェアを内蔵のフラッシュ・メモリに記録させるため、着脱可能な記録メディアのように撮影画像の記録用とファームの更新用とを使い分けることができない。ファームウェアの更新後に内蔵のフラッシュ・メモリに新バージョンのファームウェアが記録されたままでは、その分だけフラッシュ・メモリの残り容量が少なくなり、フラッシュ・メモリに記録可能な画像の枚数が少なくなってしまうという問題があった。   In recent years, as the price of flash memory has been reduced, a large-capacity flash memory has been built into digital cameras, and digital cameras that can record captured images in built-in flash memory instead of removable recording media Has been developed. In such a digital camera, when the firmware is updated, the new version of firmware is recorded in the built-in flash memory. I can't. If the new version of firmware is recorded in the built-in flash memory after updating the firmware, the remaining capacity of the flash memory will be reduced accordingly, and the number of images that can be recorded in the flash memory will be reduced. There was a problem.

なお、特許文献1では、電子機器の処理プログラムを更新した後、記録媒体に記録されている更新プログラムを消去する手段が提供されている。しかしながら、特許文献1では、更新された処理プログラムで電子機器を動作させる前に更新プログラムを消去しているため、プログラムの更新が失敗していた場合には、記録媒体に更新プログラムを再度記録させなければならないという問題がある。   Note that Patent Document 1 provides means for deleting an update program recorded on a recording medium after updating a processing program of an electronic device. However, in Patent Document 1, since the update program is erased before the electronic device is operated with the updated processing program, if the update of the program has failed, the update program is recorded on the recording medium again. There is a problem of having to.

また、特許文献2では、ホストコンピュータが接続している複数のディスク装置のうち1台のROMに記録されているファームウェアをホストコンピュータのRAMに記録し、そのファームウェアを使って別のディスク装置のファームウェアを更新するファームウェアの更新方法が提供されている。特許文献2では、ホストコンピュータに接続されている同種のディスク装置間でファームウェアのバージョンを一致させることを目的としている。上記のようなシステムでは、更新した後には更新に使用したファームウェアをROMに記録させておく必要はないが、特許文献2ではこの点が考慮されていない。   Further, in Patent Document 2, firmware recorded in one ROM of a plurality of disk devices connected to a host computer is recorded in the RAM of the host computer, and firmware of another disk device is used using the firmware. A method for updating firmware is provided. Japanese Patent Application Laid-Open No. 2004-228688 aims to make firmware versions coincide between disk devices of the same type connected to a host computer. In the system as described above, it is not necessary to record the firmware used for the update in the ROM after the update, but Patent Document 2 does not consider this point.

本発明はこのような事情に鑑みてなされたもので、撮影装置を制御するための制御プログラムを更新する際に、制御プログラムの更新処理を確実に行いつつ、更新用プログラムを記録する手段の空き領域を増加させることができる撮影装置及び撮影装置制御方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and when updating the control program for controlling the photographing apparatus, the control program update process is reliably performed while the update program is not available. An object of the present invention is to provide a photographing apparatus and a photographing apparatus control method capable of increasing the area.

上記課題を解決するために、本発明の請求項1に係る撮影装置は、画像を撮影する撮影手段を備える撮影装置であって、前記撮影手段によって撮影された画像を記録する第1の記録手段と、所定の制御プログラムに従って前記撮影装置を制御する制御手段と、前記制御プログラムを記録する第2の記録手段と、前記制御プログラムの更新用プログラムを取得して前記第1の記録手段に記録する更新用プログラム取得手段と、前記更新用プログラムを用いて前記制御プログラムを更新する制御プログラム更新手段と、前記撮影装置の電源のオン/オフを制御する電源制御手段と、前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときに、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除する更新用プログラム削除手段とを備えることを特徴とする。   In order to solve the above-mentioned problem, a photographing apparatus according to claim 1 of the present invention is a photographing apparatus including photographing means for photographing an image, and first recording means for recording an image photographed by the photographing means. A control unit for controlling the photographing apparatus according to a predetermined control program, a second recording unit for recording the control program, and an update program for the control program to be acquired and recorded in the first recording unit An update program acquisition means, a control program update means for updating the control program using the update program, a power supply control means for controlling on / off of the power supply of the photographing apparatus, and after the control program is updated, When the power of the photographing apparatus is turned off and then on, the update program used for updating the control program is the first program. Characterized in that it comprises an update program deleting means for deleting from the recording means.

請求項1に係る発明によれば、撮影装置の制御プログラム更新後に、正常に起動して動作していることが確認された後に、第1の記録手段から更新用プログラムを削除することができる。これにより、正常に更新が終了して不要になった更新用プログラムを削除して、第1の記録手段において画像を記録するための空き領域を増やすことができるとともに、制御プログラムの更新に失敗した場合には、第1の記録手段に残っている更新用プログラム用いて更新処理を再度行うことができる。   According to the first aspect of the present invention, it is possible to delete the update program from the first recording unit after it is confirmed that the camera is normally started and operating after the control program of the photographing apparatus is updated. As a result, it is possible to delete the update program that has been normally updated and is no longer necessary, to increase the free space for recording images in the first recording means, and to fail to update the control program In this case, the update process can be performed again using the update program remaining in the first recording means.

なお、第1、第2の記録手段は、別々のメモリにより構成してもよいし、1つのメモリに2つの記憶領域を設けることにより構成するようにしてもよい。   The first and second recording means may be configured by separate memories or may be configured by providing two storage areas in one memory.

請求項2に係る発明は、請求項1の撮影装置において、前記第1の記録手段に記録可能な画像の記録可能画像数を算出する記録可能画像数算出手段を更に備えることを特徴とする。   According to a second aspect of the present invention, in the photographing apparatus of the first aspect, the image recording apparatus further comprises a recordable image number calculating means for calculating the number of recordable images of the images recordable in the first recording means.

請求項2に係る発明によれば、更新用プログラムを削除して増加した記録可能画像数を算出して、ユーザに提供することができる。   According to the invention of claim 2, the number of recordable images increased by deleting the update program can be calculated and provided to the user.

請求項3に係る発明は、請求項2の撮影装置において、前記記録可能画像数算出手段は、前記更新用プログラムが削除される前に、前記更新用プログラムが削除された状態における記録可能画像数を算出し、前記更新用プログラム削除手段は、前記記録可能画像数が算出された後に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする。   According to a third aspect of the present invention, in the photographing apparatus of the second aspect, the number of recordable images is calculated by the number of recordable images in a state where the update program is deleted before the update program is deleted. The update program deleting means deletes the update program used for updating the control program from the first recording means after the number of recordable images is calculated.

請求項3に係る発明によれば、撮影装置が正常に起動して動作していることが確認された後に、更新用プログラムを削除して、第1の記録手段において画像を記録するための空き領域を増やすことができる。   According to the third aspect of the present invention, after it is confirmed that the photographing apparatus is normally activated and operating, the update program is deleted, and the first recording unit is free to record an image. The area can be increased.

請求項4に係る発明は、請求項2の撮影装置において、前記更新用プログラム削除手段は、前記記録可能画像数が所定値以下になった場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする。   According to a fourth aspect of the present invention, in the photographing apparatus of the second aspect, the update program deleting means is used for updating the control program when the number of recordable images becomes a predetermined value or less. The program is deleted from the first recording means.

請求項4に係る発明によれば、撮影装置が正常に起動して動作していることが確認された後に、撮影可能枚数が少ない場合に、更新用プログラムを削除して、第1の記録手段に記録可能な画像の撮影可能枚数を増加させることができる。   According to the fourth aspect of the present invention, the first recording unit is configured to delete the update program when the number of shootable images is small after it has been confirmed that the photographing apparatus is normally started and operating. It is possible to increase the number of images that can be recorded.

請求項5に係る発明は、請求項1から4の撮影装置において、前記更新用プログラムを削除する際に、前記更新用プログラムを削除するかどうかを選択する選択手段を更に備えることを特徴とする。   The invention according to claim 5 is the imaging apparatus according to any one of claims 1 to 4, further comprising selection means for selecting whether or not to delete the update program when the update program is deleted. .

請求項5に係る発明によれば、更新用プログラムを削除するかどうかを選択することができる。   According to the invention which concerns on Claim 5, it can be selected whether the program for an update is deleted.

請求項6に係る発明は、請求項1から5の撮影装置において、画像を撮影するための撮影モードと、撮影モード以外の動作モードとの間で、前記撮影装置の動作モードを切り替える動作モード切替手段を更に備え、前記更新用プログラム削除手段は、前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときの動作モードが撮影モード以外のモードの場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする。   According to a sixth aspect of the present invention, in the photographing apparatus according to any one of the first to fifth aspects, the operation mode switching for switching the operation mode of the photographing apparatus between a photographing mode for photographing an image and an operation mode other than the photographing mode. The update program deleting means further includes a means for updating the control program when the operation mode when the image capturing apparatus is turned on after being turned off is a mode other than the image capture mode. The update program used for updating the control program is deleted from the first recording means.

請求項6に係る発明によれば、撮影装置が撮影モードで起動した場合には、更新用プログラムの削除処理を行わないようにしたので、撮影可能になるまでに要する時間を短縮することができる。これにより、シャッタチャンスを逃さないようにすることができる。   According to the sixth aspect of the present invention, when the photographing apparatus is activated in the photographing mode, the update program is not deleted, so that the time required for photographing can be shortened. . Thereby, it is possible to avoid missing a photo opportunity.

請求項7に係る発明は、請求項1から6の撮影装置において、前記撮影装置の電源がオンになったときの起動処理が正常に終了したかどうかを判定する判定手段を更に備え、前記更新用プログラム削除手段は、前記起動処理が正常に終了しなかった場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除しないことを特徴とする。   According to a seventh aspect of the present invention, in the imaging apparatus according to any one of the first to sixth aspects, the update apparatus further includes a determination unit that determines whether a startup process when the imaging apparatus is turned on has been normally completed. The program deletion means for deleting does not delete the update program used for updating the control program from the first recording means when the activation process does not end normally.

請求項7に係る発明によれば、撮影装置が正常に起動して動作していることが確認された後に、更新用プログラムを削除することができる。   According to the seventh aspect of the present invention, it is possible to delete the update program after confirming that the photographing apparatus is normally activated and operating.

請求項8に係る発明は、請求項1から7の撮影装置において、前記撮影手段に撮影指示を入力するための撮影指示手段を更に備え、前記更新用プログラム削除手段は、前記撮影指示の入力時において前記記録可能画像数が所定値以下の場合に、撮影の開始前に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする。   According to an eighth aspect of the present invention, in the photographing apparatus according to any one of the first to seventh aspects, the photographing apparatus further includes photographing instruction means for inputting a photographing instruction to the photographing means, and the update program deleting means is configured to input the photographing instruction. When the number of recordable images is less than or equal to a predetermined value, the update program used for updating the control program is deleted from the first recording means before the start of photographing.

請求項8に係る発明によれば、画像が撮影されたときに、画像を記録する空き領域がある場合には、更新用プログラムを削除しないので、例えば、その後の処理の過程で撮影装置の動作が不安定になった場合に、第1の記録手段に記録された更新用プログラムを用いて制御プログラムの更新処理を容易に行うことができる。   According to the eighth aspect of the present invention, when there is an empty area for recording an image when the image is captured, the update program is not deleted. For example, the operation of the imaging apparatus during the subsequent processing When the program becomes unstable, the control program can be easily updated using the update program recorded in the first recording means.

請求項9に係る発明は、請求項8の撮影装置において、前記更新用プログラム削除手段は、前記画像の撮影時における前記記録可能画像数が所定値より大きい場合に、撮影処理の終了後に前記更新用プログラムを削除することを特徴とする。   According to a ninth aspect of the present invention, in the photographing apparatus according to the eighth aspect, the update program deleting means updates the update after the photographing process ends when the number of recordable images at the time of photographing the image is larger than a predetermined value. The program is deleted.

請求項9に係る発明によれば、画像を記録する空き領域がある場合には、更新用プログラムの削除を撮影実行後に行うようにしたので、撮影処理を早く行うことができる。   According to the ninth aspect of the present invention, when there is an empty area for recording an image, the update program is deleted after the execution of shooting, so that the shooting process can be performed quickly.

請求項10に係る発明は、請求項8又は9の撮影装置において、前記所定値は、ゼロであることを特徴とする。   According to a tenth aspect of the present invention, in the imaging apparatus according to the eighth or ninth aspect, the predetermined value is zero.

請求項10に係る発明によれば、撮影した画像を記録する空き領域が全くない場合にのみ、更新用プログラムの削除を撮影に先立って行うことができる。   According to the tenth aspect of the present invention, the update program can be deleted prior to photographing only when there is no free space for recording the photographed image.

請求項11に係る発明は、請求項1から10の撮影装置において、前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときに、前記第1の記録手段に記録された画像及び更新用プログラムの中から削除対象の指定を受け付ける削除対象指定手段と、前記削除対象指定手段によって指定された画像及び/又は更新用プログラムを前記第1の記録手段から削除する削除手段とを更に備えることを特徴とする。   According to an eleventh aspect of the present invention, in the photographing apparatus according to any one of the first to tenth aspects, when the power of the photographing apparatus is turned off and then on after the control program is updated, the first recording unit Delete target designation means for accepting designation of a deletion target from among the images and update programs recorded in the image, and delete the image and / or update program designated by the deletion target designation means from the first recording means. And deleting means.

請求項11に係る発明によれば、撮影装置が正常に起動して動作していることが確認された後に、削除対象の指定を受け付けるメニューを用いて更新用プログラムを削除することができる。   According to the eleventh aspect of the present invention, it is possible to delete the update program by using the menu for accepting the designation of the deletion target after confirming that the photographing apparatus is normally started and operating.

請求項12に係る発明は、請求項11の撮影装置において、画像を表示する表示手段と、前記第1の記録手段に前記更新用プログラムが記録されているかどうかを判定する更新用プログラム記録判定手段を更に備え、前記削除対象指定手段は、前記第1の記録手段に前記更新用プログラムが記録されていると判定された場合に、前記更新用プログラムを削除するためのメニューを前記表示手段に表示させることを特徴とする。   According to a twelfth aspect of the present invention, in the photographing apparatus of the eleventh aspect, a display means for displaying an image and an update program recording determination means for determining whether or not the update program is recorded in the first recording means. The deletion target designating unit displays a menu for deleting the update program on the display unit when it is determined that the update program is recorded in the first recording unit. It is characterized by making it.

請求項12に係る発明によれば、更新用プログラムが記録されている場合にのみ、更新用プログラムの削除メニューを表示させることができる。   According to the twelfth aspect of the present invention, the update program deletion menu can be displayed only when the update program is recorded.

請求項13に係る発明は、請求項11の撮影装置において、画像を表示する表示手段を更に備え、前記削除対象指定手段は、前記第1の記録手段に記録された画像と、前記更新用プログラムに対応する代替画像を含む削除対象選択画面を前記表示手段に表示させ、前記表示手段に表示された画像の中から削除対象の指定を受け付けることを特徴とする。また、請求項14に係る発明は、請求項13の撮影装置において、前記第1の記録手段に前記更新用プログラムが記録されているかどうかを判定する更新用プログラム記録判定手段を更に備え、前記削除対象指定手段は、前記第1の記録手段に前記更新用プログラムが記録されていると判定された場合に、前記削除対象選択画面に前記代替画像を表示させることを特徴とする。   According to a thirteenth aspect of the present invention, in the photographing apparatus of the eleventh aspect, the image capturing apparatus further comprises display means for displaying an image, wherein the deletion target designating means includes the image recorded in the first recording means, and the update program. A deletion target selection screen including a substitute image corresponding to the above is displayed on the display means, and the designation of the deletion target is received from the images displayed on the display means. The invention according to claim 14 is the imaging device according to claim 13, further comprising update program record determination means for determining whether or not the update program is recorded in the first recording means, wherein the deletion is performed. The target designating unit displays the substitute image on the deletion target selection screen when it is determined that the update program is recorded in the first recording unit.

請求項13及び14に係る発明によれば、画像の再生時に、更新用プログラムの代替画像を指定して更新用プログラムの削除を行うことができる。   According to the thirteenth and fourteenth aspects of the present invention, it is possible to delete the update program by designating an alternative image for the update program when reproducing the image.

請求項15に係る発明は、請求項1から14の撮影装置において、前記制御プログラムのバージョン情報を取得するバージョン情報取得手段を更に備え、前記更新用プログラム削除手段は、前記バージョン情報取得手段によって取得されたバージョン情報と同じバージョンの更新用プログラムのみを削除することを特徴とする。   According to a fifteenth aspect of the present invention, in the photographing apparatus according to any one of the first to fourteenth aspects, the image capturing apparatus further includes a version information acquisition unit that acquires version information of the control program, and the update program deletion unit is acquired by the version information acquisition unit Only the update program having the same version as the version information that has been deleted is deleted.

請求項15に係る発明によれば、撮影装置が正常に起動して動作していることが確認された後に、制御プログラムと同じバージョンの更新用プログラムのみを削除することができる。これにより、第1の記録手段において画像を記録するための空き領域を増やすことができるとともに、他のバージョンの更新用プログラムを第1の記録手段に残しておくことができる。従って、例えば、撮影装置の動作が不安定になった場合に、制御プログラムを他のバージョンにアップデート又はダウンデートすることができる。   According to the fifteenth aspect of the present invention, it is possible to delete only the update program having the same version as that of the control program after it is confirmed that the photographing apparatus is normally started and operating. As a result, it is possible to increase a free area for recording an image in the first recording means, and it is possible to leave another version of the update program in the first recording means. Therefore, for example, when the operation of the photographing apparatus becomes unstable, the control program can be updated or down-dated to another version.

なお、請求項1から15の撮影装置において、前記記録可能画像数算出手段は、請求項16に記載のように、前記記録可能画像数として、静止画の記録可能枚数又は動画の記録可能時間を算出することができる。   It is to be noted that in the photographing apparatus according to any one of claims 1 to 15, the number of recordable images calculating means may calculate the number of recordable still images or the recordable time of moving images as the number of recordable images. Can be calculated.

請求項17に係る撮影装置制御方法は、画像を撮影する撮影工程と、前記撮影工程において撮影された画像を第1の記録手段に記録する工程と、所定の制御プログラムに従って撮影装置を制御する制御工程と、前記制御プログラムを第2の記録手段に記録する工程と、前記制御プログラムの更新用プログラムを取得して前記第1の記録手段に記録する更新用プログラム取得工程と、前記更新用プログラムを用いて前記制御プログラムを更新する制御プログラム更新工程と、前記撮影装置の電源のオン/オフを制御する電源制御工程と、前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときに、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除する更新用プログラム削除工程とを備えることを特徴とする。   An imaging apparatus control method according to claim 17 includes: an imaging process for imaging an image; a process of recording an image captured in the imaging process on a first recording unit; and a control for controlling the imaging apparatus according to a predetermined control program. A step, a step of recording the control program in a second recording unit, an update program acquisition step of acquiring an update program of the control program and recording it in the first recording unit, and the update program A control program update step for updating the control program, a power control step for controlling on / off of the power supply of the photographing device, and after the power of the photographing device is turned off after the control program is updated. When turned on, an update program deletion that deletes the update program used to update the control program from the first recording means. Characterized in that it comprises a step.

請求項18に係る発明は、請求項17の撮影装置制御方法において、前記第1の記録手段に記録可能な画像の記録可能画像数を算出する記録可能画像数算出工程を更に備えることを特徴とする。   The invention according to claim 18 is the imaging apparatus control method according to claim 17, further comprising a recordable image number calculating step of calculating the recordable image number of images recordable in the first recording means. To do.

請求項19に係る発明は、請求項18の撮影装置制御方法において、前記記録可能画像数算出工程は、前記更新用プログラムが削除される前に、前記更新用プログラムが削除された状態における記録可能画像数を算出する工程を備え、前記更新用プログラム削除工程は、前記記録可能画像数が算出された後に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除する工程を備えることを特徴とする。   According to a nineteenth aspect of the present invention, in the photographing apparatus control method according to the eighteenth aspect, the recordable image number calculating step can perform recording in a state in which the update program is deleted before the update program is deleted. A step of calculating the number of images, wherein the updating program deleting step deletes the updating program used for updating the control program from the first recording means after the number of recordable images is calculated. It is characterized by providing.

請求項20に係る発明は、請求項18の撮影装置制御方法において、前記更新用プログラム削除工程において、前記記録可能画像数が所定値以下になった場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする。   The invention according to claim 20 is used for updating the control program when the number of recordable images becomes a predetermined value or less in the update program deletion step in the photographing apparatus control method according to claim 18. The update program is deleted from the first recording means.

請求項21に係る発明は、請求項17から20の撮影装置制御方法において、前記更新用プログラムを削除する際に、前記更新用プログラムを削除するかどうかを選択する選択工程を更に備えることを特徴とする。   The invention according to claim 21 is the imaging apparatus control method according to claims 17 to 20, further comprising a selection step of selecting whether or not to delete the update program when the update program is deleted. And

請求項22に係る発明は、請求項17から21の撮影装置制御方法において、画像を撮影するための撮影モードと、撮影モード以外の動作モードとの間で、前記撮影装置の動作モードを切り替える動作モード切替工程を更に備え、前記更新用プログラム削除工程において、前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときの動作モードが撮影モード以外のモードの場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする。   According to a twenty-second aspect of the present invention, in the photographing apparatus control method according to the seventeenth to twenty-first aspects, the operation mode of the photographing apparatus is switched between a photographing mode for photographing an image and an operation mode other than the photographing mode. A mode switching step, wherein, in the update program deletion step, after the control program is updated, the operation mode when the photographing apparatus is turned off and then turned on is a mode other than the photographing mode. In addition, the update program used for updating the control program is deleted from the first recording means.

請求項23に係る発明は、請求項17から22の撮影装置制御方法において、前記撮影装置の電源がオンになったときの起動処理が正常に終了したかどうかを判定する判定工程を更に備え、前記更新用プログラム削除工程において、前記起動処理が正常に終了しなかった場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除しないことを特徴とする。   The invention according to claim 23 further includes a determination step of determining whether or not the start-up process when the power of the image pickup apparatus is turned on is normally completed in the image pickup apparatus control method according to claims 17 to 22, In the update program deletion step, the update program used for updating the control program is not deleted from the first recording means when the activation process is not normally completed.

請求項24に係る発明は、請求項17から23の撮影装置制御方法において、前記撮影工程に撮影指示を入力するための撮影指示工程を更に備え、前記更新用プログラム削除工程において、前記撮影指示の入力時において前記記録可能画像数が所定値以下の場合に、撮影の開始前に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする。   According to a twenty-fourth aspect of the present invention, in the photographing apparatus control method according to any one of the seventeenth to twenty-third aspects, the photographing instruction step for inputting a photographing instruction to the photographing step is further included. When the number of recordable images is less than or equal to a predetermined value at the time of input, the update program used for updating the control program is deleted from the first recording means before the start of photographing.

請求項25に係る発明は、請求項24の撮影装置制御方法において、前記更新用プログラム削除工程において、前記画像の撮影時における前記記録可能画像数が所定値より大きい場合に、撮影処理の終了後に前記更新用プログラムを削除することを特徴とする。   According to a twenty-fifth aspect of the present invention, in the photographing apparatus control method according to the twenty-fourth aspect, in the update program deleting step, when the number of recordable images at the time of photographing the image is larger than a predetermined value, The update program is deleted.

請求項26に係る発明は、請求項24又は25の撮影装置制御方法において、前記所定値は、ゼロであることを特徴とする。   According to a twenty-sixth aspect of the present invention, in the photographing apparatus control method according to the twenty-fourth or twenty-fifth aspect, the predetermined value is zero.

請求項27に係る発明は、請求項17から26の撮影装置制御方法において、前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときに、前記第1の記録手段に記録された画像及び更新用プログラムの中から削除対象の指定を受け付ける削除対象指定工程と、前記削除対象指定工程において指定された画像及び/又は更新用プログラムを前記第1の記録手段から削除する削除工程とを更に備えることを特徴とする。   According to a twenty-seventh aspect of the present invention, in the photographing apparatus control method according to the seventeenth to twenty-sixth aspects, after the control program is updated, the first photographing apparatus is turned off and then turned on. A deletion target designating step for accepting designation of a deletion target from among images and update programs recorded in the recording means, and an image and / or update program designated in the deletion target designating process from the first recording means. And a deletion step of deleting.

請求項28に係る発明は、請求項27の撮影装置制御方法において、画像を表示手段に表示する表示工程と、前記第1の記録手段に前記更新用プログラムが記録されているかどうかを判定する更新用プログラム記録判定工程とを更に備え、前記削除対象指定工程において、前記第1の記録手段に前記更新用プログラムが記録されていると判定された場合に、前記更新用プログラムを削除するためのメニューを前記表示手段に表示することを特徴とする。   According to a twenty-eighth aspect of the present invention, in the photographing apparatus control method of the twenty-seventh aspect, a display step of displaying an image on a display unit and an update for determining whether or not the update program is recorded in the first recording unit A menu for deleting the update program when it is determined in the deletion target designating step that the update program is recorded in the first recording means. Is displayed on the display means.

請求項29に係る発明は、請求項27の撮影装置制御方法において、画像を表示手段に表示する表示工程を更に備え、前記削除対象指定工程において、前記第1の記録手段に記録された画像と、前記更新用プログラムに対応する代替画像を含む削除対象選択画面を前記表示手段に表示し、前記表示手段に表示された画像の中から削除対象の指定を受け付けることを特徴とする。   The invention according to claim 29 is the imaging device control method according to claim 27, further comprising a display step of displaying an image on a display unit, wherein the image recorded on the first recording unit in the deletion target designating step A deletion target selection screen including a substitute image corresponding to the update program is displayed on the display means, and designation of the deletion target is received from the images displayed on the display means.

請求項30に係る発明は、請求項29の撮影装置制御方法において、前記第1の記録手段に前記更新用プログラムが記録されているかどうかを判定する更新用プログラム記録判定工程を更に備え、前記削除対象指定工程において、前記第1の記録手段に前記更新用プログラムが記録されていると判定された場合に、前記削除対象選択画面に前記代替画像を表示することを特徴とする。   A thirty-third aspect of the present invention is the photographing apparatus control method according to the twenty-ninth aspect, further comprising an update program recording determination step for determining whether or not the update program is recorded in the first recording unit, and the deletion In the target designating step, when it is determined that the update program is recorded in the first recording unit, the substitute image is displayed on the deletion target selection screen.

請求項31に係る発明は、請求項17から30の撮影装置制御方法において、前記制御プログラムのバージョン情報を取得するバージョン情報取得工程を更に備え、前記更新用プログラム削除工程において、前記バージョン情報取得工程において取得されたバージョン情報と同じバージョンの更新用プログラムのみを削除することを特徴とする。   The invention according to claim 31 is the imaging apparatus control method according to claims 17 to 30, further comprising a version information acquisition step of acquiring version information of the control program, wherein in the update program deletion step, the version information acquisition step Only the update program having the same version as the version information acquired in step 1 is deleted.

請求項32に係る発明は、請求項17から31の撮影装置制御方法において、前記記録可能画像数算出工程において、前記記録可能画像数として、静止画の記録可能枚数又は動画の記録可能時間を算出することを特徴とする。   According to a thirty-second aspect of the present invention, in the photographing device control method according to the seventeenth to thirty-first aspects, in the number of recordable images calculation step, the recordable number of still images or the recordable time of a moving image is calculated as the number of recordable images. It is characterized by doing.

本発明によれば、撮影装置の制御プログラム更新後に、正常に起動して動作していることが確認された後に、第1の記録手段から更新用プログラムを削除することができる。これにより、正常に更新が終了して不要になった更新用プログラムを削除して、第1の記録手段において画像を記録するための空き領域を増やすことができるとともに、制御プログラムの更新に失敗した場合には、第1の記録手段に残っている更新用プログラム用いて更新処理を再度行うことができる。   According to the present invention, it is possible to delete the update program from the first recording unit after it is confirmed that the camera is started and operating normally after updating the control program of the photographing apparatus. As a result, it is possible to delete the update program that has been normally updated and is no longer necessary, to increase the free space for recording images in the first recording means, and to fail to update the control program In this case, the update process can be performed again using the update program remaining in the first recording means.

以下、添付図面に従って本発明に係る撮影装置及び撮影装置制御方法の好ましい実施の形態について説明する。   Preferred embodiments of a photographing apparatus and a photographing apparatus control method according to the present invention will be described below with reference to the accompanying drawings.

[撮影装置の構成]
図1は、本発明の一実施形態に係る撮影装置の主要構成を示すブロック図である。図1に示す撮影装置10(以下の説明では、カメラ10と記載する)は、静止画や動画の記録及び再生機能を備えたデジタルカメラであり、カメラ10全体の動作は中央処理装置(CPU)12によって統括制御される。CPU12は、所定のプログラムに従ってカメラ10を制御する制御手段として機能するとともに、自動露出(AE)演算、自動焦点調節(AF)演算、ホワイトバランス(WB)調整演算等、各種演算を実施する演算手段として機能する。
[Configuration of Shooting Device]
FIG. 1 is a block diagram showing the main configuration of a photographing apparatus according to an embodiment of the present invention. An imaging apparatus 10 (denoted as camera 10 in the following description) shown in FIG. 1 is a digital camera having functions for recording and reproducing still images and moving images. The operation of the entire camera 10 is a central processing unit (CPU). 12 is centrally controlled. The CPU 12 functions as a control unit that controls the camera 10 according to a predetermined program, and also performs a calculation unit such as an automatic exposure (AE) calculation, an automatic focus adjustment (AF) calculation, and a white balance (WB) adjustment calculation. Function as.

電源制御部14は、CPU12の制御の下、電源電池(バッテリ)16から供給される電力をカメラ10の各部に供給する。   The power control unit 14 supplies power supplied from the power battery (battery) 16 to each unit of the camera 10 under the control of the CPU 12.

CPU12には、制御プログラム用ROM18及び記録用内蔵ROM20が接続されている。制御プログラム用ROM18と記録用内蔵ROM20は、ともにフラッシュ・メモリにより構成される。制御プログラム用ROM18には、CPU12が実行する制御プログラム(ファームウェア)及び制御に必要な各種データ、CCD画素欠陥情報、カメラ動作に関する各種定数/情報等が記録される。記録用内蔵ROM20には、撮影された画像のほか、制御プログラム用ROM18に記録された制御プログラムを更新するための更新用プログラムが記録される。   A control program ROM 18 and a built-in recording ROM 20 are connected to the CPU 12. Both the control program ROM 18 and the built-in recording ROM 20 are constituted by flash memories. The control program ROM 18 stores a control program (firmware) executed by the CPU 12, various data necessary for control, CCD pixel defect information, various constants / information relating to camera operation, and the like. In addition to the photographed image, an update program for updating the control program recorded in the control program ROM 18 is recorded in the recording internal ROM 20.

なお、本実施形態では、上記制御プログラム用ROM18と記録用内蔵ROM20を1つのフラッシュ・メモリにより構成して、この1つのフラッシュ・メモリの中に制御プログラム用の記録領域と、画像及び更新用プログラムの記憶領域を設ける構成とすることも可能である。   In this embodiment, the control program ROM 18 and the recording built-in ROM 20 are constituted by one flash memory, and the control program recording area, image and update program are stored in the one flash memory. It is also possible to provide a configuration in which the storage area is provided.

RAM22は、制御プログラムの展開領域及びCPU12の演算作業用領域として利用されるとともに、画像データや音声データの一時記憶領域として利用される。   The RAM 22 is used as a development area for the control program and a calculation work area for the CPU 12, and is also used as a temporary storage area for image data and audio data.

カメラ10には、電源スイッチ、モード選択スイッチ、撮影スイッチ、メニュー/OKキー、十字キー、キャンセルキー等の操作部24が設けられている。操作部24からの信号はCPU12に入力される。CPU12は、操作部24からの入力信号に基づいてカメラ10の各回路を制御し、例えば、レンズ駆動制御、撮影動作制御、画像処理制御、画像データの記録/再生制御、表示部26の表示制御等を行う。   The camera 10 is provided with an operation unit 24 such as a power switch, a mode selection switch, a shooting switch, a menu / OK key, a cross key, and a cancel key. A signal from the operation unit 24 is input to the CPU 12. The CPU 12 controls each circuit of the camera 10 based on an input signal from the operation unit 24, for example, lens drive control, shooting operation control, image processing control, image data recording / playback control, display control of the display unit 26. Etc.

電源スイッチは、カメラ10の電源のオン/オフを切り替えるための操作手段である。モード選択スイッチは、撮影モード(静止画、動画)と再生モードとを切り換えるための操作手段である。撮影スイッチは、撮影開始の指示を入力する操作ボタンであり、半押し時にオンするS1スイッチと、全押し時にオンするS2スイッチとを有する2段ストローク式のスイッチで構成されている。メニュー/OKキーは、表示部26の画面上にメニューを表示させる指令を行うためのメニューボタンとしての機能と、選択内容の確定及び実行等を指令するOKボタンとしての機能とを兼備した操作キーである。十字キーは、上下左右の4方向の指示を入力する操作部であり、メニュー画面から項目を選択したり、各メニューから各種設定項目の選択を指示したりするボタン(カーソル移動操作手段)として機能する。また、十字キーの上/下キーは撮影時のズームスイッチあるいは再生時の再生ズームスイッチとして機能し、左/右キーは再生モード時のコマ送り(順方向/逆方向送り)ボタンとして機能する。キャンセルキーは、選択項目等所望の対象の消去や指示内容の取消し、あるいは1つ前の操作状態に戻らせる時等に使用される。   The power switch is operation means for switching on / off the power of the camera 10. The mode selection switch is an operation means for switching between a shooting mode (still image, moving image) and a playback mode. The photographing switch is an operation button for inputting an instruction to start photographing, and includes a two-stroke switch having an S1 switch that is turned on when half-pressed and an S2 switch that is turned on when fully depressed. The menu / OK key is an operation key having both a function as a menu button for instructing to display a menu on the screen of the display unit 26 and a function as an OK button for instructing confirmation and execution of selection contents. It is. The cross key is an operation unit for inputting instructions in four directions, up, down, left, and right, and functions as a button (cursor moving operation means) for selecting an item from the menu screen or instructing selection of various setting items from each menu. To do. The up / down key of the cross key functions as a zoom switch at the time of shooting or a playback zoom switch at the time of playback, and the left / right key functions as a frame advance (forward / reverse feed) button in the playback mode. The cancel key is used to delete a desired target such as a selection item, cancel an instruction content, or return to the previous operation state.

表示部26は、カラー表示可能な液晶モニタで構成されている。表示制御部28は、CPU12から出力される画像信号に所要の信号変換を施して表示部26に信号を受け渡すとともに、液晶モニタのバックライトの点灯、消灯の制御を行う。表示部26は、撮影時に画角確認用の電子ファインダとして使用できるとともに、記録済み画像を再生表示する手段として利用される。また、表示部26は、ユーザインターフェース用の表示画面としても利用され、必要に応じてメニュー情報や選択項目、設定内容等の情報が表示される。表示部26としては、液晶モニタに代えて、有機EL(electro-luminescence)等の他の方式の表示装置を用いることも可能である。   The display unit 26 includes a liquid crystal monitor capable of color display. The display control unit 28 performs necessary signal conversion on the image signal output from the CPU 12 and delivers the signal to the display unit 26, and controls turning on and off of the backlight of the liquid crystal monitor. The display unit 26 can be used as an electronic viewfinder for checking the angle of view at the time of shooting, and is used as a means for reproducing and displaying a recorded image. The display unit 26 is also used as a display screen for a user interface, and displays information such as menu information, selection items, and setting contents as necessary. As the display unit 26, instead of a liquid crystal monitor, other types of display devices such as organic EL (electro-luminescence) can be used.

カメラ10は、着脱可能な記録メディアとの間でデータ受信を行うためのメディアインターフェース部(メディアI/F)30を有し、記録メディア32を装着することができる。記録メディア32の形態は特に限定されず、xD-PictureCard(商標)、スマートメディア(商標)に代表される半導体メモリカード、可搬型小型ハードディスク、磁気ディスク、光ディスク、光磁気ディスク等、種々の媒体を用いることができる。メディア制御部34は、カメラ10に装着された記録メディア32に適した入出力信号の受け渡しを行うために所要の信号変換を行う。   The camera 10 has a media interface unit (medium I / F) 30 for receiving data with a detachable recording medium, and a recording medium 32 can be attached thereto. The form of the recording medium 32 is not particularly limited, and various media such as a semiconductor memory card represented by xD-PictureCard (trademark) and smart media (trademark), a portable small hard disk, a magnetic disk, an optical disk, and a magneto-optical disk can be used. Can be used. The media control unit 34 performs necessary signal conversion in order to exchange input / output signals suitable for the recording medium 32 attached to the camera 10.

また、カメラ10は、パーソナルコンピュータその他の外部機器と接続するための通信手段としてUSBコネクタ36を備えている。外部通信制御部38は、USBコネクタ36を介して外部機器からカメラ10に入力される信号やCPU12から出力される信号に所要の信号変換を施して信号の受け渡しを行う。カメラ10は、図示せぬUSBケーブル等を用いてカメラ10と外部機器を接続することにより、外部機器との間でデータの受け渡しが可能となる。なお、カメラ10と外部機器との通信方式はUSBに限定されるものではなく、IEEE1394やBluetooth(登録商標)、無線LAN、赤外線通信(IrDA)、その他の通信方式に対応したインターフェースを有していてもよい。   The camera 10 also includes a USB connector 36 as communication means for connecting to a personal computer or other external device. The external communication control unit 38 performs necessary signal conversion on a signal input to the camera 10 from an external device via the USB connector 36 or a signal output from the CPU 12 and delivers the signal. The camera 10 can exchange data with the external device by connecting the camera 10 and the external device using a USB cable (not shown). The communication method between the camera 10 and the external device is not limited to USB, and has an interface corresponding to IEEE1394, Bluetooth (registered trademark), wireless LAN, infrared communication (IrDA), and other communication methods. May be.

次に、カメラ10の撮影機能について説明する。モード選択スイッチによって撮影モードが選択されると、カラーCCD固体撮像素子40(以下の説明では、CCD40と記載する)を含む撮影部に電源が供給され、撮影可能な状態になる。   Next, the shooting function of the camera 10 will be described. When the photographing mode is selected by the mode selection switch, power is supplied to the photographing unit including the color CCD solid-state imaging device 40 (hereinafter referred to as CCD 40), and the photographing is ready.

レンズユニット42は、フォーカスレンズ44及びズームレンズ46を含む撮影レンズ48と、絞り兼用メカシャッタ50(以下、絞り50と記載する)とを含む光学ユニットである。撮影レンズ48のフォーカシングは、フォーカスレンズ44をモータ52によって移動させることにより行われ、ズーミングは、ズームレンズ46をモータ52で移動させることにより行われる。モータ52は、それぞれモータ駆動回路54により駆動制御される。   The lens unit 42 is an optical unit that includes a photographic lens 48 including a focus lens 44 and a zoom lens 46, and a diaphragm / mechanical shutter 50 (hereinafter referred to as a diaphragm 50). Focusing of the photographing lens 48 is performed by moving the focus lens 44 by the motor 52, and zooming is performed by moving the zoom lens 46 by the motor 52. The motors 52 are driven and controlled by a motor drive circuit 54, respectively.

絞り50は、いわゆるターレット型絞りで構成されており、F32からF8の絞り孔が穿孔されたターレット板を回転させて絞り値(F値)を変化させる。この絞り50の駆動はモータ52によって行われる。モータ52はモータ駆動回路54により駆動制御される。CPU12は、このモータ駆動回路54に制御信号を出力してフォーカス、ズーム及び絞りを制御する。   The diaphragm 50 is a so-called turret-type diaphragm, and changes the diaphragm value (F value) by rotating a turret plate in which diaphragm holes F32 to F8 are formed. The diaphragm 50 is driven by a motor 52. The motor 52 is driven and controlled by a motor drive circuit 54. The CPU 12 outputs a control signal to the motor drive circuit 54 to control focus, zoom, and aperture.

レンズユニット42を通過した光は、CCD40の受光面に結像される。CCD40の受光面には多数のフォトダイオード(受光素子)が2次元的に配列されており、各フォトダイオードに対応して赤(R)、緑(G)、青(B)の原色カラーフィルタが所定の配列構造で配置されている。CCD40は、各フォトダイオードの電荷蓄積時間(シャッタースピード)を制御する電子シャッター機能を有している。CPU12は、図示せぬタイミングジェネレータ(TG)を介してCCD40における電荷蓄積時間を制御する。また、CPU12は、CCD40に対して、OFD(Overflow Drain)の電位を制御して、CCD40を構成するフォトダイオードに蓄積される信号電荷の上限値を調整する。   The light that has passed through the lens unit 42 is imaged on the light receiving surface of the CCD 40. A large number of photodiodes (light receiving elements) are two-dimensionally arranged on the light receiving surface of the CCD 40, and red (R), green (G), and blue (B) primary color filters corresponding to each photodiode. They are arranged in a predetermined arrangement structure. The CCD 40 has an electronic shutter function for controlling the charge accumulation time (shutter speed) of each photodiode. The CPU 12 controls the charge accumulation time in the CCD 40 via a timing generator (TG) (not shown). Further, the CPU 12 adjusts the upper limit value of the signal charge accumulated in the photodiode constituting the CCD 40 by controlling the potential of the OFD (Overflow Drain) with respect to the CCD 40.

CCD40の受光面に結像された被写体像は、各フォトダイオードによって入射光量に応じた量の信号電荷に変換される。各フォトダイオードに蓄積された信号電荷は、CPU12の指令に従いタイミングジェネレータ(TG)から与えられる駆動パルス(読み出しパルス、垂直転送クロック、水平転送クロック)に基づいて信号電荷に応じた電圧信号(画像信号)として順次読み出される。   The subject image formed on the light receiving surface of the CCD 40 is converted into a signal charge of an amount corresponding to the amount of incident light by each photodiode. The signal charge accumulated in each photodiode is a voltage signal (image signal) corresponding to the signal charge based on a drive pulse (read pulse, vertical transfer clock, horizontal transfer clock) given from a timing generator (TG) according to a command from the CPU 12. ) Sequentially.

CCD40から出力された信号は、図示せぬアナログ処理部(CDS/AMP)により画素ごとのR、G、B信号がサンプリングホールド(相関2重サンプリング処理)され、増幅された後、A/D変換器56に加えられる。そして、上記R、G、B信号は、A/D変換器56によってデジタル信号に変換されてRAM22に記憶される。   The signal output from the CCD 40 is subjected to sampling hold (correlated double sampling processing) for each pixel by an analog processing unit (CDS / AMP) (not shown) and amplified, and then A / D converted. Added to vessel 56. The R, G, and B signals are converted into digital signals by the A / D converter 56 and stored in the RAM 22.

画像信号処理部58は、RAM22に記憶されたR、G、B信号をCPU12の指令に従って処理する。即ち、画像信号処理部58は、同時化回路(単板CCDのカラーフィルタ配列に伴う色信号の空間的なズレを補間して色信号を同時式に変換する処理回路)、ホワイトバランス調整回路、ガンマ補正回路、輪郭補正回路、輝度・色差信号生成回路等を含む画像処理手段として機能し、CPU12からのコマンドに従ってRAM22を活用しながら所定の信号処理を行う。   The image signal processing unit 58 processes the R, G, and B signals stored in the RAM 22 in accordance with instructions from the CPU 12. That is, the image signal processing unit 58 includes a synchronization circuit (a processing circuit that interpolates a spatial shift of the color signal associated with the color filter array of the single CCD and converts the color signal into a simultaneous expression), a white balance adjustment circuit, It functions as an image processing means including a gamma correction circuit, a contour correction circuit, a luminance / color difference signal generation circuit, etc., and performs predetermined signal processing while utilizing the RAM 22 in accordance with commands from the CPU 12.

画像信号処理部58に入力されたRGBの画像データは、画像信号処理部58において輝度信号(Y信号)及び色差信号(Cr、Cb信号)に変換されるとともに、ガンマ補正等の所定の処理が施される。画像信号処理部58により処理された画像データはRAM22に一時記録される。   The RGB image data input to the image signal processing unit 58 is converted into a luminance signal (Y signal) and a color difference signal (Cr, Cb signal) by the image signal processing unit 58, and predetermined processing such as gamma correction is performed. Applied. The image data processed by the image signal processing unit 58 is temporarily recorded in the RAM 22.

撮影画像を表示部26にモニタ出力する場合、RAM22から画像データが読み出され、表示制御部28に送られる。表示制御部28は、入力された画像データを表示用の所定方式のビデオ信号(例えば、NTSC方式のカラー複合画像信号)に変換して表示部26に出力する。   When the captured image is output to the display unit 26 on the monitor, the image data is read from the RAM 22 and sent to the display control unit 28. The display control unit 28 converts the input image data into a predetermined video signal for display (for example, an NTSC color composite image signal) and outputs the video signal to the display unit 26.

CCD40から出力される画像信号によって、1コマ分の画像を表す画像データがRAM22のA領域とB領域(不図示)とで交互に書き換えられる。RAM22のA領域とB領域(不図示)のうち、画像データが書き換えられている方の領域以外の領域から、書き込まれている画像データが読み出される。このようにしてRAM22内の画像データが定期的に書き換えられ、その画像データから生成される画像信号が表示部26に供給されることにより、撮影中の映像がリアルタイムに表示部26に表示される。撮影者は、表示部26に表示される映像(スルームービー画)によって撮影画角を確認できる。   Image data representing an image for one frame is rewritten alternately in an A area and a B area (not shown) of the RAM 22 by an image signal output from the CCD 40. Of the A area and B area (not shown) of the RAM 22, the written image data is read from an area other than the area where the image data is rewritten. In this manner, the image data in the RAM 22 is periodically rewritten, and an image signal generated from the image data is supplied to the display unit 26, whereby the image being captured is displayed on the display unit 26 in real time. . The photographer can check the shooting angle of view from the video (through movie image) displayed on the display unit 26.

撮影スイッチが半押しされ、S1がオンすると、カメラ10はAE及びAF処理を開始する。即ち、CCD40から出力された画像信号はA/D変換後に積算部60に入力される。積算部60は、1画面を複数の分割エリア(例えば、8×8又は20×20)に分割し、この分割エリアごとにRGB信号を積算する回路を含み、その積算値をCPU12に提供する。CPU12は、積算部60から得た積算値に基づいて被写体の明るさ(被写体輝度)を検出し、撮影に適した露出値(撮影EV値)を算出する。CPU12は、求めた露出値と所定のプログラム線図に従って、絞り値とシャッタースピードを決定し、これに従いCCD40の電子シャッター及びアイリスを制御して適正な露光量を得る。   When the shooting switch is pressed halfway and S1 is turned on, the camera 10 starts AE and AF processing. That is, the image signal output from the CCD 40 is input to the integrating unit 60 after A / D conversion. The integrating unit 60 includes a circuit that divides one screen into a plurality of divided areas (for example, 8 × 8 or 20 × 20) and integrates RGB signals for each divided area, and provides the integrated value to the CPU 12. The CPU 12 detects the brightness of the subject (subject luminance) based on the integrated value obtained from the integrating unit 60, and calculates an exposure value (photographing EV value) suitable for photographing. The CPU 12 determines an aperture value and a shutter speed according to the obtained exposure value and a predetermined program diagram, and controls the electronic shutter and iris of the CCD 40 according to this to obtain an appropriate exposure amount.

また、積算部60は、自動ホワイトバランス調整時に、分割エリアごとにRGB信号の色別の平均積算値を算出し、その算出結果をCPU12に提供する。CPU12は、Rの積算値、Bの積算値、Gの積算値を得て、分割エリアごとにR/G及びB/Gの比を求め、これらR/G、B/Gの値のR/G、B/G軸座標の色空間における分布等に基づいて光源種判別を行い、判別された光源種に応じてホワイトバランス調整回路のR、G、B信号に対するゲイン値(ホワイトバランスゲイン)を制御し、各色チャンネルの信号に補正をかける。   The integrating unit 60 calculates an average integrated value for each color of the RGB signals for each divided area during automatic white balance adjustment, and provides the calculation result to the CPU 12. The CPU 12 obtains an integrated value of R, an integrated value of B, and an integrated value of G, obtains a ratio of R / G and B / G for each divided area, and calculates R / G and R / G of the values of B / G. The light source type is determined based on the distribution in the color space of the G and B / G axis coordinates, and the gain value (white balance gain) for the R, G, and B signals of the white balance adjustment circuit is determined according to the determined light source type. Control and correct the signal of each color channel.

カメラ10におけるAF制御は、例えば、画像信号のG信号の高周波成分が極大になるようにフォーカスレンズ44を移動させるコントラストAFが適用される。即ち、積算部60は、G信号の高周波成分のみを通過させるハイパスフィルタ、絶対値化処理部、画面内(例えば、画面中央部)にあらかじめ設定されているフォーカス対象エリア内の信号を切り出すAFエリア抽出部及びAFエリア内の絶対値データを積算する積算部から構成される。   For example, contrast AF that moves the focus lens 44 so that the high-frequency component of the G signal of the image signal is maximized is applied to the AF control in the camera 10. That is, the integrating unit 60 is a high-pass filter that passes only high-frequency components of the G signal, an absolute value processing unit, and an AF area that cuts out a signal within a focus target area that is set in advance in the screen (for example, the center of the screen). An extraction unit and an integration unit that integrates absolute value data in the AF area are configured.

積算部60により求められた積算値のデータはCPU12に通知される。CPU12は、モータ駆動回路54を制御してフォーカスレンズ44を移動させながら、複数のAF検出ポイントで焦点評価値(AF評価値)を演算し、評価値が極大となるレンズ位置を合焦位置として決定する。そして、CPU12は、求めた合焦位置にフォーカスレンズ44を移動させるようにモータ駆動回路54を制御する。なお、AF評価値の演算はG信号を利用する態様に限らず、輝度信号(Y信号)を利用してもよい。   The data of the integrated value obtained by the integrating unit 60 is notified to the CPU 12. The CPU 12 calculates a focus evaluation value (AF evaluation value) at a plurality of AF detection points while controlling the motor driving circuit 54 to move the focus lens 44, and a lens position at which the evaluation value is maximized is set as a focus position. decide. Then, the CPU 12 controls the motor drive circuit 54 so as to move the focus lens 44 to the obtained in-focus position. The calculation of the AF evaluation value is not limited to a mode using the G signal, and a luminance signal (Y signal) may be used.

撮影スイッチが半押しされ、S1オンによってAE/AF処理が行われ、撮影スイッチが全押しされ、S2オンによって記録用の撮影動作がスタートする。S2オンに応動して取得された画像データは画像信号処理部58において輝度/色差信号(Y/C信号)に変換され、ガンマ補正等の所定の処理が施された後、RAM22に記録される。   The shooting switch is half-pressed, AE / AF processing is performed when S1 is turned on, the shooting switch is fully pressed, and the shooting operation for recording starts when S2 is turned on. The image data acquired in response to S2 ON is converted into a luminance / color difference signal (Y / C signal) by the image signal processing unit 58, subjected to predetermined processing such as gamma correction, and then recorded in the RAM 22. .

RAM22に記録されたY/C信号は、圧縮/伸張処理部62によって所定のフォーマットに従って圧縮された後、記録用内蔵ROM20又は記録メディア32に記録される。記録用内蔵ROM20と記録メディア32のどちらを書き込み先として優先するかを示す優先条件は、カメラ10の設定メニューにより設定可能である。なお、優先条件は、デフォルトでは記録用内蔵ROM20を書き込み先として優先するように設定されている。また、記録メディア32の装着有無や、記録用内蔵ROM20や記録メディア32の空き領域の関係により優先条件が自動的に設定されるようにしてもよい。例えば、静止画についてはJPEG(Joint Photographic Experts Group)形式の画像ファイルとして記録される。   The Y / C signal recorded in the RAM 22 is compressed according to a predetermined format by the compression / decompression processing unit 62 and then recorded in the recording internal ROM 20 or the recording medium 32. A priority condition indicating which of the recording internal ROM 20 and the recording medium 32 is given priority as a writing destination can be set from the setting menu of the camera 10. The priority condition is set so as to give priority to the recording internal ROM 20 as a writing destination by default. Further, the priority condition may be automatically set depending on whether or not the recording medium 32 is attached and the relationship between the recording internal ROM 20 and the free area of the recording medium 32. For example, a still image is recorded as an image file in JPEG (Joint Photographic Experts Group) format.

なお、本実施形態では、画像の記録手段として記録メディア32が利用可能であるが、記録用内蔵ROM20のみを備える構成としてもよい。また、記録用内蔵ROM20の代わりにハードディスク等を備えていてもよい。以下の説明では、画像は、専ら記録用内蔵ROM20に記録されるものとして説明する。   In the present embodiment, the recording medium 32 can be used as an image recording unit, but a configuration including only the recording internal ROM 20 may be adopted. Further, a hard disk or the like may be provided instead of the recording internal ROM 20. In the following description, it is assumed that the image is recorded exclusively in the recording internal ROM 20.

モード選択スイッチにより再生モードが選択されると、記録用内蔵ROM20に記録されている最終の画像ファイル(最後に記録された画像ファイル)の圧縮データが読み出される。最後の記録に係る画像ファイルが静止画ファイルの場合、この読み出された画像圧縮データは、圧縮/伸張処理部62を介して非圧縮のYC信号に伸張され、画像信号処理部58及び表示制御部28を介して表示用の信号に変換された後、表示部26に出力される。これにより、当該画像ファイルの画像内容が表示部26の画面上に表示される。   When the playback mode is selected by the mode selection switch, the compressed data of the last image file (the last recorded image file) recorded in the built-in recording ROM 20 is read. When the image file related to the last recording is a still image file, the read compressed image data is expanded to an uncompressed YC signal via the compression / decompression processing unit 62, and the image signal processing unit 58 and display control are performed. After being converted to a display signal via the unit 28, it is output to the display unit 26. Thereby, the image content of the image file is displayed on the screen of the display unit 26.

静止画の1コマ再生中(動画の先頭フレーム再生中も含む)に、十字キーの右キー又は左キーを操作することによって、再生対象の画像ファイルを切り換えること(順コマ送り/逆コマ送り)ができる。コマ送りされた位置の画像ファイルが記録用内蔵ROM20から読み出され、上記と同様にして静止画像や動画が表示部26に再生表示される。また、再生モード中に、削除メニューを表示させて、再生中の画像を削除することができる。なお、削除メニューについては後述する。   Switching the playback target image file by operating the right or left key of the four-way controller during single-frame playback of a still image (including the playback of the first frame of a movie) (forward frame reverse / reverse frame forward) Can do. The image file at the frame-advanced position is read from the built-in recording ROM 20, and still images and moving images are reproduced and displayed on the display unit 26 in the same manner as described above. In addition, during the playback mode, a deletion menu can be displayed to delete the image being played back. The delete menu will be described later.

[制御プログラム(ファームウェア)の更新方法]
以下、制御プログラムの更新方法について説明する。上記したように、カメラ10を制御するための制御プログラム(ファームウェア)は、制御プログラム用ROM18に記憶されており、カメラ10の制御プログラムの更新時には、この制御プログラム用ROM18に記憶された制御プログラムが更新される。
[Control program (firmware) update method]
Hereinafter, a method for updating the control program will be described. As described above, the control program (firmware) for controlling the camera 10 is stored in the control program ROM 18. When the control program for the camera 10 is updated, the control program stored in the control program ROM 18 is stored in the control program ROM 18. Updated.

まず、パーソナルコンピュータ(PC)等の外部機器により、インターネット上のウェブサイト等から制御プログラムを更新するための更新用プログラムがダウンロードされる。カメラ10は、USBコネクタ36を介して上記外部機器に接続され、USBコネクタ36を介して、上記外部機器から送信された更新用プログラムを取得する。CPU12は、外部機器から取得した更新用プログラムを記録用内蔵ROM20に書き込む。   First, an update program for updating a control program is downloaded from a website on the Internet or the like by an external device such as a personal computer (PC). The camera 10 is connected to the external device via the USB connector 36, and acquires the update program transmitted from the external device via the USB connector 36. The CPU 12 writes the update program acquired from the external device into the recording internal ROM 20.

次に、操作部24から制御プログラムの更新指示が入力されると、CPU12は、記録用内蔵ROM20から更新用プログラムを読み出してRAM22に展開し、制御プログラム用ROM18に記録されている制御プログラムを更新する。   Next, when a control program update instruction is input from the operation unit 24, the CPU 12 reads the update program from the built-in recording ROM 20, expands it in the RAM 22, and updates the control program recorded in the control program ROM 18. To do.

なお、本実施形態では、更新用プログラムの取得にUSBを利用しているが、別の通信手段(例えば、IEEE1394、Bluetooth(登録商標)、無線LAN、赤外線通信(IrDA)等)を利用してもよいし、また、更新用プログラムのデータを含む2次元バーコードを撮影して更新用プログラムのデータを取得する等の方法を利用してもよい。また、更新用プログラムは、カメラ10をネットワークに接続して、ネットワークから直接取得するようにしてもよい。   In this embodiment, USB is used to acquire the update program, but another communication means (for example, IEEE1394, Bluetooth (registered trademark), wireless LAN, infrared communication (IrDA), etc.) is used. Alternatively, a method of taking a two-dimensional bar code including update program data and acquiring the update program data may be used. The update program may be acquired directly from the network by connecting the camera 10 to the network.

また、制御プログラムの更新が終了した場合に、カメラ10を自動的に再起動するようにしてもよい。この場合、CPU12は、電源制御部14にカメラ10を再起動する旨の信号を送信する。これにより、カメラ10は電源がオフになった後再起動される。   Alternatively, the camera 10 may be automatically restarted when the control program update is completed. In this case, the CPU 12 transmits a signal for restarting the camera 10 to the power control unit 14. Thereby, the camera 10 is restarted after the power is turned off.

[第1の実施形態]
次に、カメラ10の制御プログラムの更新後の起動時における処理の第1の実施形態について、図2のフローチャートを参照して説明する。まず、カメラ10の電源が投入され、カメラ10が起動すると、CPU12は、カメラ10が正常に起動し、動作しているかどうかを判定する。そして、カメラ10の動作が正常であると判定した場合には、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかどうかを判定する(ステップS10)。なお、カメラ10の動作が正常でないと判定した場合には、CPU12は、カメラ10の電源を自動的にオフにしたり、処理を中断して制御プログラムの更新(アップデート又はダウンデート)を促すメッセージを表示部26に表示させるようにすることができる。
[First Embodiment]
Next, a first embodiment of processing at the time of activation after updating the control program of the camera 10 will be described with reference to the flowchart of FIG. First, when the power of the camera 10 is turned on and the camera 10 is activated, the CPU 12 determines whether or not the camera 10 is normally activated and operating. If it is determined that the operation of the camera 10 is normal, the CPU 12 determines whether or not the update program is recorded in the recording internal ROM 20 (step S10). If it is determined that the operation of the camera 10 is not normal, the CPU 12 automatically turns off the power of the camera 10 or interrupts the process to prompt a control program update (update or downdate). It can be displayed on the display unit 26.

ここで、ステップS10の処理について説明する。図3は、記録用内蔵ROM20のディレクトリ構成を模式的に示す図である。図3において、「/」はルートディレクトリを示しており、画像ファイル「DSCF0001.jpg」…は、ディレクトリ「/DCIM/100_IMGF」に記録される。一方、更新用プログラムのファイルは、ルートディレクトリに記録される。更新用プログラムのファイル名は(機種名)_(バージョン).updateの形式となる。図3に示す例では、機種名が「Fp100」、ファームウェアのバージョン番号が「1.01」である。なお、ディレクトリの構成やファイル名については、図3の例に限定されるものではない。   Here, the process of step S10 will be described. FIG. 3 is a diagram schematically showing the directory structure of the recording internal ROM 20. 3, “/” indicates a root directory, and image files “DSCF0001.jpg”... Are recorded in the directory “/ DCIM / 100_IMGF”. On the other hand, the update program file is recorded in the root directory. The file name of the update program is (model name) _ (version). Update format. In the example illustrated in FIG. 3, the model name is “Fp100” and the firmware version number is “1.01”. Note that the directory structure and file names are not limited to the example shown in FIG.

図4は、更新用プログラムのファイルの構造を模式的に示す図である。図4に示すように、更新用プログラムは、バイナリ形式のファイルであり、ヘッダ部分とファームウェアの実体部分から構成されている。このヘッダ部分には、ファイル種別コードやファームウェアのバージョン等の情報が記録されている。なお、ヘッダ部分のサイズは、一例で512Byteである。   FIG. 4 is a diagram schematically showing the structure of the update program file. As shown in FIG. 4, the update program is a binary format file, and is composed of a header portion and a firmware entity portion. Information such as a file type code and firmware version is recorded in the header portion. Note that the size of the header portion is 512 bytes as an example.

ステップS10において、CPU12は、まず、記録用内蔵ROM20に拡張子が「update」のファイル(xxx.update)が記録されているかどうかを判定する。記録用内蔵ROM20に拡張子が「update」のファイルが記録されている場合には、CPU12は、当該updateファイルを読み込んで、updateファイル内の所定位置(例えば、updateファイルの先頭の連続する4Byteの部分)に記録されているファイル種別コードを取得する。次に、CPU12は、取得したファイル種別コードが更新用プログラムを示すコード(例えば、0x04030201)か否かをチェックし、取得したファイル種別コードが更新用プログラムを示すコードであれば記録用内蔵ROM20に更新用プログラムが記録されていると判定する。   In step S <b> 10, the CPU 12 first determines whether or not a file (xxx.update) having an extension “update” is recorded in the recording internal ROM 20. When a file with the extension “update” is recorded in the recording internal ROM 20, the CPU 12 reads the update file and reads a predetermined position in the update file (for example, the continuous 4 bytes at the beginning of the update file). Get the file type code recorded in (Part). Next, the CPU 12 checks whether or not the acquired file type code is a code indicating an update program (for example, 0x04030201). If the acquired file type code is a code indicating an update program, it is stored in the recording internal ROM 20. It is determined that the update program is recorded.

記録用内蔵ROM20に更新用プログラムが記録されている場合(ステップS10のYes)、CPU12は、記録用内蔵ROM20から更新用プログラムを削除する(ステップS12)。次に、CPU12は、記録用内蔵ROM20の空き領域のサイズ(空き容量)を検出し、この空き領域に記録可能な画像の枚数(撮影可能枚数)を算出する(ステップS14)。   When the update program is recorded in the recording internal ROM 20 (Yes in step S10), the CPU 12 deletes the update program from the recording internal ROM 20 (step S12). Next, the CPU 12 detects the size (free space) of the free area of the recording internal ROM 20, and calculates the number of images (number of shootable images) that can be recorded in this free area (step S14).

なお、ステップS10において、記録用内蔵ROM20に更新用プログラムが記録されていない場合(ステップS10のNo)、ステップS14に進み、記録用内蔵ROM20の空き領域のサイズ(空き容量)を検出して撮影可能枚数を算出する(ステップS14)。   In step S10, if the update program is not recorded in the recording internal ROM 20 (No in step S10), the process proceeds to step S14, and the size (free capacity) of the free area in the recording internal ROM 20 is detected and photographed. The possible number is calculated (step S14).

CPU12は、静止画の撮影モード時に、ステップS14において算出した撮影可能枚数を表示部26に表示させる。また、CPU12は、動画の撮影モードの場合には、撮影可能枚数に代えて、上記空き領域に記録可能な動画の時間(撮影可能時間)を算出して表示する。なお、CPU12は、画素数や画質、フレームレート等の設定に応じて、撮影可能枚数や撮影可能時間の表示を更新する。   The CPU 12 causes the display unit 26 to display the number of shootable images calculated in step S14 in the still image shooting mode. In addition, in the moving image shooting mode, the CPU 12 calculates and displays the time of a moving image (shootable time) that can be recorded in the empty area instead of the number of images that can be shot. Note that the CPU 12 updates the display of the number of shootable images and the shootable time according to settings such as the number of pixels, image quality, and frame rate.

本実施形態によれば、カメラ10が正常に起動して動作していることが確認された後に、更新用プログラムを削除することができる。これにより、正常に更新が終了して不要になった更新用プログラムを削除して、記録用内蔵ROM20に画像を記録するための空き領域を増やすことができるとともに、制御プログラムの更新に失敗した場合に、記録用内蔵ROM20に残っている更新用プログラム用いて更新処理を再度行うことができる。   According to the present embodiment, the update program can be deleted after it is confirmed that the camera 10 is normally activated and operating. As a result, when the update program that has been normally updated and is no longer needed can be deleted, the free space for recording an image in the internal recording ROM 20 can be increased, and the update of the control program has failed. In addition, the update process can be performed again using the update program remaining in the recording internal ROM 20.

また、本実施形態によれば、更新用プログラムにアンインストール又はダウンデートするためのツールが含まれている場合に、更新後に動作が不安定になったときに、記録用内蔵ROM20に記録された更新用プログラムを用いて、制御プログラムをダウンデートすることができる。   Further, according to the present embodiment, when an update program includes a tool for uninstalling or downdateing, the operation is recorded in the internal ROM 20 for recording when the operation becomes unstable after the update. The update program can be used to downdate the control program.

なお、ステップS12では、更新用プログラムを記録用内蔵ROM20から削除するようにしたが、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを確認画面で選択可能にしてもよい。   In step S12, the update program is deleted from the recording internal ROM 20. However, for example, the update program may be backed up and deleted in the recording medium 32 or an external device. Further, it may be possible to select whether to delete or back up the update program on the confirmation screen.

[第2の実施形態]
図5は、カメラ10の制御プログラムの更新後の起動時における処理の第2の実施形態を示すフローチャートである。まず、カメラ10の電源が投入され、カメラ10が起動すると、CPU12は、カメラ10が正常に起動し、動作しているかどうかを判定する。そして、カメラ10の動作が正常であると判定した場合には、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する(ステップS20)。ここで、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する処理については、図2のステップS10と同様であるため説明を省略する。なお、カメラ10の動作が正常でないと判定した場合には、CPU12は、カメラ10の電源を自動的にオフにしたり、処理を中断して制御プログラムの更新(アップデート又はダウンデート)を促すメッセージを表示部26に表示させるようにすることができる。
[Second Embodiment]
FIG. 5 is a flowchart showing a second embodiment of the process at the time of activation after the control program of the camera 10 is updated. First, when the power of the camera 10 is turned on and the camera 10 is activated, the CPU 12 determines whether or not the camera 10 is normally activated and operating. If it is determined that the operation of the camera 10 is normal, the CPU 12 determines whether an update program is recorded in the recording internal ROM 20 (step S20). Here, the process for determining whether or not the update program is recorded in the recording internal ROM 20 is the same as step S10 in FIG. If it is determined that the operation of the camera 10 is not normal, the CPU 12 automatically turns off the power of the camera 10 or interrupts the process to prompt a control program update (update or downdate). It can be displayed on the display unit 26.

記録用内蔵ROM20に更新用プログラムが記録されている場合には(ステップS20のYes)、CPU12は、記録用内蔵ROM20の空き容量のサイズと更新用プログラムのファイル容量を検出する。そして、CPU12は、更新用プログラムを削除した場合に生じる記録用内蔵ROM20の空き容量を算出して撮影可能枚数を算出する(ステップS22)。次に、CPU12は、記録用内蔵ROM20から更新用プログラムを削除する(ステップS24)。CPU12は、静止画の撮影モード時に、ステップS22において算出した撮影可能枚数を表示部26に表示させる。また、CPU12は、動画の撮影モードの場合には、撮影可能枚数に代えて撮影可能時間を算出して表示する。なお、CPU12は、画素数や画質、フレームレート等の設定に応じて、撮影可能枚数や撮影可能時間の表示を更新する。   When the update program is recorded in the internal recording ROM 20 (Yes in step S20), the CPU 12 detects the size of the free space in the internal recording ROM 20 and the file capacity of the update program. Then, the CPU 12 calculates the available capacity of the recording internal ROM 20 that is generated when the update program is deleted, and calculates the number of shootable images (step S22). Next, the CPU 12 deletes the update program from the recording internal ROM 20 (step S24). The CPU 12 causes the display unit 26 to display the number of shootable images calculated in step S22 in the still image shooting mode. Further, in the moving image shooting mode, the CPU 12 calculates and displays the shootable time instead of the shootable number. Note that the CPU 12 updates the display of the number of shootable images and the shootable time according to settings such as the number of pixels, image quality, and frame rate.

なお、ステップS20において、記録用内蔵ROM20に更新用プログラムが記録されていない場合(ステップS20のNo)、CPU12は、図5の処理を終了して、記録用内蔵ROM20の空き領域のサイズ(空き容量)を検出して撮影可能枚数を算出する。   If no update program is recorded in the recording internal ROM 20 in step S20 (No in step S20), the CPU 12 ends the processing in FIG. (Capacity) is detected and the number of possible shots is calculated.

本実施形態によれば、上記の実施形態と同様に、カメラ10が正常に起動して動作していることが確認された後に、第1の記録手段から更新用プログラムを削除して、記録用内蔵ROM20に画像を記録するための空き領域を増やすことができる。   According to the present embodiment, as in the above-described embodiment, after it is confirmed that the camera 10 is normally activated and operating, the update program is deleted from the first recording means, and the recording An empty area for recording an image in the built-in ROM 20 can be increased.

なお、ステップS24では、更新用プログラムを記録用内蔵ROM20から削除するようにしたが、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを確認画面で選択可能にしてもよい。   In step S24, the update program is deleted from the internal recording ROM 20. However, for example, the update program may be backed up and deleted in the recording medium 32 or an external device. Further, it may be possible to select whether to delete or back up the update program on the confirmation screen.

[第3の実施形態]
図6は、カメラ10の制御プログラムの更新後の起動時における処理の第3の実施形態を示すフローチャートである。まず、カメラ10の電源が投入され、カメラ10が起動すると、CPU12は、カメラ10が正常に起動し、動作しているかどうかを判定する。そして、カメラ10の動作が正常であると判定した場合には、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する(ステップS30)。ここで、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する処理については、図2のステップS10等と同様であるため説明を省略する。なお、カメラ10の動作が正常でないと判定した場合には、CPU12は、カメラ10の電源を自動的にオフにしたり、処理を中断して制御プログラムの更新(アップデート又はダウンデート)を促すメッセージを表示部26に表示させるようにすることができる。
[Third Embodiment]
FIG. 6 is a flowchart illustrating a third embodiment of processing at the time of activation after the control program of the camera 10 is updated. First, when the power of the camera 10 is turned on and the camera 10 is activated, the CPU 12 determines whether or not the camera 10 is normally activated and operating. If it is determined that the operation of the camera 10 is normal, the CPU 12 determines whether an update program is recorded in the recording internal ROM 20 (step S30). Here, the process for determining whether or not the update program is recorded in the recording internal ROM 20 is the same as step S10 in FIG. If it is determined that the operation of the camera 10 is not normal, the CPU 12 automatically turns off the power of the camera 10 or interrupts the process to prompt a control program update (update or downdate). It can be displayed on the display unit 26.

記録用内蔵ROM20に更新用プログラムが記録されている場合には(ステップS30のYes)、CPU12は、記録用内蔵ROM20に記録されている更新用プログラムのバージョンをチェックする(ステップS32)。ステップS32では、CPU12は、図4に示した更新用プログラムのヘッダ部分からバージョン情報を取得してバージョンをチェックする。   When the update program is recorded in the recording internal ROM 20 (Yes in step S30), the CPU 12 checks the version of the update program recorded in the recording internal ROM 20 (step S32). In step S32, the CPU 12 acquires version information from the header portion of the update program shown in FIG. 4 and checks the version.

次に、ステップS34において、CPU12は、制御プログラム用ROM18に記録され、実行中の制御プログラムのバージョン情報を取得する。なお、制御プログラムの構成は、図4と略同様であり、制御プログラムのバージョン情報は、そのヘッダ部分に記録されている。CPU12は、制御プログラムのヘッダ部分からバージョン情報を取得する。そして、CPU12は、実行中の制御プログラムと同じバージョンの更新用プログラムが記録用内蔵ROM20に記録されているかどうかを判定する(ステップS34)。制御プログラムと同じバージョンの更新用プログラムがある場合には(ステップS34のYes)、CPU12は、当該更新用プログラムを削除する(ステップS36)。そして、CPU12は、記録用内蔵ROM20の空き領域のサイズ(空き容量)を検出して撮影可能枚数を算出する(ステップS38)。一方、制御プログラムと同じバージョンの更新用プログラムがない場合には(ステップS34のNo)、ステップS38に進み、CPU12は、記録用内蔵ROM20の空き領域のサイズ(空き容量)を検出して撮影可能枚数を算出する(ステップS38)。   Next, in step S34, the CPU 12 acquires the version information of the control program being executed which is recorded in the control program ROM 18. The configuration of the control program is substantially the same as in FIG. 4, and the version information of the control program is recorded in the header portion. The CPU 12 acquires version information from the header portion of the control program. Then, the CPU 12 determines whether or not an update program having the same version as the control program being executed is recorded in the recording internal ROM 20 (step S34). If there is an update program having the same version as the control program (Yes in step S34), the CPU 12 deletes the update program (step S36). Then, the CPU 12 detects the size (free space) of the free area of the recording internal ROM 20 and calculates the number of shootable images (step S38). On the other hand, if there is no update program of the same version as the control program (No in step S34), the process proceeds to step S38, and the CPU 12 can detect the size (free capacity) of the free area of the built-in recording ROM 20 and take a picture. The number of sheets is calculated (step S38).

なお、ステップS30において、記録用内蔵ROM20に更新用プログラムが記録されていない場合には(ステップS30のNo)、次いでステップS38に進み、記録用内蔵ROM20の空き領域のサイズ(空き容量)を検出して撮影可能枚数を算出する(ステップS38)。   In step S30, if the update program is not recorded in the recording internal ROM 20 (No in step S30), the process proceeds to step S38, and the size (free capacity) of the free area of the recording internal ROM 20 is detected. Then, the number of shootable images is calculated (step S38).

CPU12は、静止画の撮影モード時に、ステップS38において算出した撮影可能枚数を表示部26に表示させる。また、CPU12は、動画の撮影モードの場合には、撮影可能枚数に代えて撮影可能時間を算出して表示する。なお、CPU12は、画素数や画質、フレームレート等の設定に応じて、撮影可能枚数や撮影可能時間の表示を更新する。   In the still image shooting mode, the CPU 12 causes the display unit 26 to display the number of shootable images calculated in step S38. Further, in the moving image shooting mode, the CPU 12 calculates and displays the shootable time instead of the shootable number. Note that the CPU 12 updates the display of the number of shootable images and the shootable time according to settings such as the number of pixels, image quality, and frame rate.

本実施形態によれば、カメラ10が正常に起動して動作していることが確認された後に、制御プログラムと同じバージョンの更新用プログラムのみを削除することができる。これにより、記録用内蔵ROM20に画像を記録するための空き領域を増やすことができるとともに、他のバージョンの更新用プログラムを記録用内蔵ROM20に残しておくことができる。従って、例えば、カメラ10の動作が不安定になった場合に、制御プログラムを他のバージョンにアップデート又はダウンデートすることができる。   According to the present embodiment, it is possible to delete only the update program having the same version as the control program after it is confirmed that the camera 10 is normally activated and operated. As a result, it is possible to increase a free space for recording an image in the recording internal ROM 20 and to leave another version of the update program in the recording internal ROM 20. Therefore, for example, when the operation of the camera 10 becomes unstable, the control program can be updated or down-dated to another version.

なお、ステップS36では、更新用プログラムを記録用内蔵ROM20から削除するようにしたが、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを確認画面で選択可能にしてもよい。   In step S36, the update program is deleted from the internal recording ROM 20. However, for example, the update program may be backed up and deleted in the recording medium 32 or an external device. Further, it may be possible to select whether to delete or back up the update program on the confirmation screen.

[第4の実施形態]
図7は、カメラ10の制御プログラムの更新後の起動時における処理の第4の実施形態を示すフローチャートである。まず、カメラ10の電源が投入され、カメラ10が起動すると、CPU12は、カメラ10が正常に起動し、動作しているかどうかを判定する。そして、カメラ10の動作が正常であると判定した場合には、CPU12は、記録用内蔵ROM20の空き領域のサイズ(空き容量)を検出して撮影可能枚数を算出する(ステップS50)。なお、カメラ10の動作が正常でないと判定した場合には、CPU12は、カメラ10の電源を自動的にオフにしたり、処理を中断して制御プログラムの更新(アップデート又はダウンデート)を促すメッセージを表示部26に表示させるようにすることができる。
[Fourth Embodiment]
FIG. 7 is a flowchart illustrating a fourth embodiment of the process at the time of activation after the control program of the camera 10 is updated. First, when the power of the camera 10 is turned on and the camera 10 is activated, the CPU 12 determines whether or not the camera 10 is normally activated and operating. If it is determined that the operation of the camera 10 is normal, the CPU 12 detects the size (free space) of the free area of the recording internal ROM 20 and calculates the number of shootable images (step S50). If it is determined that the operation of the camera 10 is not normal, the CPU 12 automatically turns off the power of the camera 10 or interrupts the process to prompt a control program update (update or downdate). It can be displayed on the display unit 26.

次に、CPU12は、ステップS50において算出した撮影可能枚数が所定の枚数以下(例えば、1枚以下又は0枚)であるかどうかを判定する(ステップS52)。撮影可能枚数が所定の枚数以下の場合には(ステップS52のYes)、次いでステップS54に進み、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する(ステップS54)。なお、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する処理については、図2のステップS10等と同様であるため説明を省略する。また、撮影可能枚数が所定の枚数より多い場合には(ステップS52のNo)、図7の処理を終了する。   Next, the CPU 12 determines whether or not the number of shootable images calculated in step S50 is equal to or less than a predetermined number (for example, 1 or less or 0) (step S52). If the number of shootable images is equal to or smaller than the predetermined number (Yes in Step S52), the process proceeds to Step S54, and the CPU 12 determines whether an update program is recorded in the internal recording ROM 20 (Step S54). The process for determining whether the update program is recorded in the recording internal ROM 20 is the same as step S10 in FIG. If the number of shootable images is greater than the predetermined number (No in step S52), the process in FIG.

次に、ステップS54において、記録用内蔵ROM20に更新用プログラムが記録されている場合(ステップS54のYes)、CPU12は、記録用内蔵ROM20から更新用プログラムの削除を実行するか確認するための確認画面を表示部26に表示させる。(ステップS56)。ステップS56では、更新用プログラムを削除した場合の撮影可能枚数を算出して上記確認画面に表示させるようにしてもよい。なお、記録用内蔵ROM20に更新用プログラムが記録されていない場合には(ステップS54のNo)、図7の処理を終了する。   Next, in step S54, when the update program is recorded in the recording internal ROM 20 (Yes in step S54), the CPU 12 confirms whether to delete the update program from the recording internal ROM 20 or not. The screen is displayed on the display unit 26. (Step S56). In step S56, the number of shootable images when the update program is deleted may be calculated and displayed on the confirmation screen. If the update program is not recorded in the recording internal ROM 20 (No in step S54), the processing in FIG. 7 ends.

次に、ユーザからの指示入力を確認する(ステップS58)。そして、ユーザから削除実行の指示入力があった場合(ステップS58のYes)、CPU12は、記録用内蔵ROM20から更新用プログラムを削除して(ステップS60)、図7の処理を終了し、記録用内蔵ROM20の空き領域のサイズ(空き容量)を検出して撮影可能枚数を算出する。一方、ユーザから削除実行の指示入力がない場合には(ステップS58のNo)、図7の処理を終了する。   Next, the instruction input from the user is confirmed (step S58). When the user inputs an instruction to execute deletion (Yes in step S58), the CPU 12 deletes the update program from the recording internal ROM 20 (step S60), ends the processing in FIG. The number of shootable images is calculated by detecting the size (free space) of the free area of the built-in ROM 20. On the other hand, when there is no delete execution instruction input from the user (No in step S58), the processing in FIG. 7 ends.

CPU12は、静止画の撮影モード時に、上記ステップS50又は更新用プログラムの削除後に算出した撮影可能枚数を表示部26に表示させる。なお、CPU12は、画素数や画質、フレームレート等の設定に応じて、撮影可能枚数の表示を更新する。   In the still image shooting mode, the CPU 12 causes the display unit 26 to display the number of shootable images calculated after step S50 or after deletion of the update program. Note that the CPU 12 updates the display of the number of shootable images according to settings such as the number of pixels, image quality, and frame rate.

本実施形態によれば、カメラ10が正常に起動して動作していることが確認された後に、撮影可能枚数が少ない場合に、更新用プログラムを削除して、記録用内蔵ROM20に記録可能な画像の撮影可能枚数を増加させることができる。また、更新用プログラムを削除するかどうかを選択することができる。   According to the present embodiment, after confirming that the camera 10 is normally activated and operating, when the number of shootable images is small, the update program can be deleted and recorded in the internal ROM 20 for recording. The number of images that can be captured can be increased. It is also possible to select whether or not to delete the update program.

なお、上記ステップS52において、カメラ10の動作モードが動画の撮影モードの場合には、動画の撮影可能時間が所定時間以下の場合に、ステップS54に進んで、更新用プログラムの削除実行の確認画面を表示させるようにすればよい。   If the operation mode of the camera 10 is the moving image shooting mode in the above step S52, the process proceeds to step S54 when the moving image recordable time is equal to or shorter than the predetermined time, and the update program deletion execution confirmation screen is displayed. May be displayed.

また、ステップS60では、更新用プログラムを記録用内蔵ROM20から削除するようにしたが、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを確認画面で選択可能にしてもよい。   In step S60, the update program is deleted from the recording internal ROM 20. However, for example, the update program may be backed up and deleted in the recording medium 32 or an external device. Further, it may be possible to select whether to delete or back up the update program on the confirmation screen.

また、ステップS60では、制御プログラムと同じバージョンの更新用プログラムのみを削除するようにしてもよい。   In step S60, only the update program having the same version as the control program may be deleted.

[第5の実施形態]
図8は、カメラ10の制御プログラムの更新後の起動時における処理の第5の実施形態を示すフローチャートである。まず、カメラ10の電源が投入され、カメラ10が起動すると、CPU12は、モード選択スイッチの設定を検出して、起動時の動作モードを判定する(ステップS70)。そして、動作モードが撮影モードの場合には(ステップS72のNo)、CPU12は、撮影モードの起動処理を実行して(ステップS74)、図8の処理を終了する。一方、動作モードが撮影モード以外の場合には(ステップS72のYes)、CPU12は、設定された動作モードで起動処理を実行する(ステップS76)。ステップS76において、例えば、動作モードが再生モードの場合には、CPU12は、再生モード時に使用するリサイズ、エンコーダ等のドライバを起動し、表示部26等の各種電源のオン処理を実行するとともに、画像リストの作成処理を実行し、DPOF解析処理を実行する。
[Fifth Embodiment]
FIG. 8 is a flowchart illustrating a fifth embodiment of the process at the time of activation after the control program of the camera 10 is updated. First, when the power of the camera 10 is turned on and the camera 10 is activated, the CPU 12 detects the setting of the mode selection switch and determines the operation mode at the time of activation (step S70). If the operation mode is the shooting mode (No in step S72), the CPU 12 executes shooting mode activation processing (step S74) and ends the processing in FIG. On the other hand, when the operation mode is other than the shooting mode (Yes in step S72), the CPU 12 executes a start-up process in the set operation mode (step S76). In step S76, for example, when the operation mode is the reproduction mode, the CPU 12 activates drivers such as resizing and an encoder used in the reproduction mode, executes various power-on processes of the display unit 26 and the like, and A list creation process is executed, and a DPOF analysis process is executed.

次に、CPU12は、設定された動作モードでの起動処理が正常に終了したかどうかを判定する(ステップS78)。そして、起動処理が正常に終了した場合には(ステップS78のYes)、次いでステップS80に進む。一方、起動処理が正常に終了しなかった場合には(ステップS78のNo)、図8の処理を終了する。これにより、記録用内蔵ROM20に記録された更新用プログラムを用いて制御プログラムの更新処理を再度行うことができる。   Next, the CPU 12 determines whether or not the startup process in the set operation mode has been completed normally (step S78). Then, when the activation process is normally completed (Yes in step S78), the process proceeds to step S80. On the other hand, if the activation process has not ended normally (No in step S78), the process in FIG. 8 ends. Thereby, the control program update process can be performed again using the update program recorded in the recording internal ROM 20.

次に、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する(ステップS80)。なお、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する処理については、図2のステップS10等と同様であるため説明を省略する。そして、記録用内蔵ROM20に更新用プログラムが記録されている場合には(ステップS80のYes)、CPU12は、記録用内蔵ROM20から更新用プログラムを削除する(ステップS82)。一方、記録用内蔵ROM20に更新用プログラムが記録されていない場合には(ステップS80のNo)、図8の処理を終了する。   Next, the CPU 12 determines whether an update program is recorded in the recording internal ROM 20 (step S80). The process for determining whether the update program is recorded in the recording internal ROM 20 is the same as step S10 in FIG. If the update program is recorded in the recording internal ROM 20 (Yes in step S80), the CPU 12 deletes the update program from the recording internal ROM 20 (step S82). On the other hand, when the update program is not recorded in the recording internal ROM 20 (No in step S80), the processing in FIG.

そして、CPU12は、静止画の撮影モード時に、撮影モードでの起動後又は更新用プログラムの削除後に算出した撮影可能枚数を表示部26に表示させる。なお、CPU12は、画素数や画質、フレームレート等の設定に応じて、撮影可能枚数の表示を更新する。   Then, the CPU 12 causes the display unit 26 to display the number of shootable images calculated after activation in the shooting mode or after deletion of the update program during the still image shooting mode. Note that the CPU 12 updates the display of the number of shootable images according to settings such as the number of pixels, image quality, and frame rate.

本実施形態によれば、上記の実施形態と同様に、カメラ10が撮影モード以外の動作モードで正常に起動して動作していることが確認された後に、撮影可能枚数が少ない場合に、更新用プログラムを削除して、記録用内蔵ROM20に記録可能な画像の撮影可能枚数を増加させることができる。更に、カメラ10が撮影モードで起動した場合には、更新用プログラムの削除処理を行わないようにしたので、撮影可能になるまでに要する時間を短縮することができる。これにより、シャッタチャンスを逃さないようにすることができる。   According to this embodiment, as in the above-described embodiment, after it is confirmed that the camera 10 is normally started and operating in an operation mode other than the shooting mode, the update is performed when the number of shootable images is small. The number of images that can be recorded in the internal recording ROM 20 can be increased by deleting the program for recording. Further, when the camera 10 is activated in the shooting mode, the update program is not deleted, so that the time required until shooting is possible can be reduced. Thereby, it is possible to avoid missing a photo opportunity.

なお、ステップS82では、更新用プログラムを記録用内蔵ROM20から削除するようにしたが、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを確認画面で選択可能にしてもよい。   In step S82, the update program is deleted from the recording internal ROM 20. However, for example, the update program may be backed up and deleted in the recording medium 32 or an external device. Further, it may be possible to select whether to delete or back up the update program on the confirmation screen.

また、ステップS82では、制御プログラムと同じバージョンの更新用プログラムのみを削除するようにしてもよい。   In step S82, only the update program having the same version as the control program may be deleted.

[第6の実施形態]
図9は、カメラ10の制御プログラムの更新後の起動時における処理の第6の実施形態を示すフローチャートである。まず、カメラ10の電源が投入され、カメラ10が起動する。次に、動作モードが撮影モードに設定されて撮影スイッチが押下されると、撮影実行指示が発生する(ステップS90)。撮影実行指示が発生すると、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する(ステップS92)。なお、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する処理については、図2のステップS10等と同様であるため説明を省略する。
[Sixth Embodiment]
FIG. 9 is a flowchart illustrating a sixth embodiment of the process at the time of activation after the control program of the camera 10 is updated. First, the camera 10 is turned on and the camera 10 is activated. Next, when the operation mode is set to the shooting mode and the shooting switch is pressed, a shooting execution instruction is generated (step S90). When a shooting execution instruction is generated, the CPU 12 determines whether an update program is recorded in the recording internal ROM 20 (step S92). The process for determining whether the update program is recorded in the recording internal ROM 20 is the same as step S10 in FIG.

次に、記録用内蔵ROM20に更新用プログラムが記録されていない場合には(ステップS92のNo)、CPU12は、撮影処理が実行する(ステップS94)。一方、記録用内蔵ROM20に更新用プログラムが記録されている場合には(ステップS92のYes)、CPU12は、撮影可能枚数が0枚かどうか(即ち、記録用内蔵ROM20に画像を記録する空き容量がないかどうか)を判定する(ステップS96)。   Next, when the update program is not recorded in the recording internal ROM 20 (No in step S92), the CPU 12 executes a photographing process (step S94). On the other hand, when the update program is recorded in the recording internal ROM 20 (Yes in step S92), the CPU 12 determines whether the number of shootable images is 0 (that is, the free space for recording an image in the recording internal ROM 20). (Step S96).

ステップS96において、撮影可能枚数が0枚の場合には(ステップS96のYes)、CPU12は、記録用内蔵ROM20に記録されている更新用プログラムを削除してから(ステップS98)、撮影処理を実行する(ステップS100)。一方、撮影可能枚数が1枚以上の場合には(ステップS96のNo)、CPU12は、撮影処理を実行した後(ステップS102)、更新用プログラムを削除する(ステップS104)。   If the number of shootable images is zero in step S96 (Yes in step S96), the CPU 12 deletes the update program recorded in the built-in recording ROM 20 (step S98) and then executes the shooting process. (Step S100). On the other hand, when the number of shootable images is one or more (No in step S96), the CPU 12 deletes the update program (step S104) after executing the shooting process (step S102).

なお、ステップS98において、更新用プログラムを削除しても画像を記録可能な空き領域を確保できない場合には、画像を記録メディア32に記録するようにしてもよいし、画像をRAM22に一時記憶しておき、記録用内蔵ROM20に記録されている画像を削除する削除メニューを表示部26に表示するようにしてもよい。   In step S98, if the update program is deleted and a free area where an image can be recorded cannot be secured, the image may be recorded on the recording medium 32, or the image may be temporarily stored in the RAM 22. In addition, a deletion menu for deleting an image recorded in the recording internal ROM 20 may be displayed on the display unit 26.

本実施形態によれば、画像が撮影されたときに、画像を記録する空き領域がある場合には、更新用プログラムを削除しないので、例えば、その後の処理の過程でカメラ10の動作が不安定になった場合に、記録用内蔵ROM20に記録された更新用プログラムを用いて制御プログラムの更新処理を容易に行うことができる。   According to the present embodiment, when an image is captured, if there is a free area for recording the image, the update program is not deleted. For example, the operation of the camera 10 is unstable during the subsequent processing. In such a case, the update process of the control program can be easily performed using the update program recorded in the built-in recording ROM 20.

なお、ステップS98及びS104では、更新用プログラムを記録用内蔵ROM20から削除するようにしたが、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを確認画面で選択可能にしてもよい。   In steps S98 and S104, the update program is deleted from the internal recording ROM 20. However, for example, the update program may be backed up and deleted in the recording medium 32 or an external device. Further, it may be possible to select whether to delete or back up the update program on the confirmation screen.

また、ステップS98及びS104では、制御プログラムと同じバージョンの更新用プログラムのみを削除するようにしてもよい。   In steps S98 and S104, only the update program having the same version as the control program may be deleted.

[第7の実施形態]
図10は、1コマ削除メニューの実行画面を示す図である。図10(a)はデフォルトの削除メニューを示す図であり、図10(b)は記録用内蔵ROM20に更新用プログラムが記録されている場合の削除メニューを示す図である。図10に示す削除メニューの実行画面は、記録用内蔵ROM20に記録された画像ファイルを順次再生して削除するかどうかを選択するためのGUIとして機能する。
[Seventh Embodiment]
FIG. 10 is a diagram showing an execution screen for the single frame deletion menu. FIG. 10A is a diagram showing a default deletion menu, and FIG. 10B is a diagram showing a deletion menu when an update program is recorded in the recording internal ROM 20. The deletion menu execution screen shown in FIG. 10 functions as a GUI for selecting whether to sequentially reproduce and delete the image files recorded in the recording internal ROM 20.

記録用内蔵ROM20に更新用プログラムが記録されている場合には、CPU12は、デフォルトの削除メニューを実行する。デフォルトの削除メニューの実行時には、まず、CPU12は、削除対象ファイルリストを取得する。削除対象ファイルリストは、CPU12により、予め作成されて記録用内蔵ROM20に記録されており、デフォルトの状態では、削除対象ファイルリストには、記録用内蔵ROM20に記録されている画像ファイルがリストアップされている。そして、図10(a)に示すように、CPU12は、削除対象ファイルリストに従って、画像ファイルを表示部26に再生表示させる。そして、十字キーによりOKボタンが選択されてメニュー/OKキーが押下されると、CPU12は、表示中の画像ファイルを削除する。   When the update program is recorded in the recording internal ROM 20, the CPU 12 executes a default deletion menu. When executing the default deletion menu, first, the CPU 12 acquires a deletion target file list. The deletion target file list is created in advance by the CPU 12 and recorded in the recording internal ROM 20. In the default state, the deletion target file list lists the image files recorded in the recording internal ROM 20. ing. Then, as shown in FIG. 10A, the CPU 12 causes the display unit 26 to reproduce and display the image file in accordance with the deletion target file list. When the OK button is selected with the cross key and the menu / OK key is pressed, the CPU 12 deletes the image file being displayed.

表示部26に再生表示される画像ファイルは、十字キーの右キー又は左キーを操作することにより切り換えること(順コマ送り/逆コマ送り)ができる。そして、再生順が最後の画像ファイルが表示されている状態でコマ送りされると、CPU12は、削除対象ファイルリストに従って、再生順が最初の画像ファイルを表示部26に表示させる。即ち、デフォルトの削除メニューでは、削除可能なデータは画像ファイルのみである。   The image file reproduced and displayed on the display unit 26 can be switched (forward frame advance / reverse frame advance) by operating the right key or the left key of the cross key. When the last image file in the reproduction order is displayed and the frame is advanced, the CPU 12 causes the display unit 26 to display the first image file in the reproduction order according to the deletion target file list. That is, in the default deletion menu, only image files can be deleted.

一方、記録用内蔵ROM20に更新用プログラムが記録されている場合の削除メニューの実行時には、まず、CPU12は、削除対象ファイルリストを取得し、記録用内蔵ROM20に記録されている更新用プログラムのファイルを削除対象ファイルリストに追加する。そして、図10(b)に示すように、CPU12は、削除対象ファイルリストに従って、画像ファイルを表示部26に再生表示させる。   On the other hand, when executing the delete menu when the update program is recorded in the recording internal ROM 20, the CPU 12 first obtains the deletion target file list, and the update program file recorded in the recording internal ROM 20. Is added to the list of files to be deleted. Then, as shown in FIG. 10B, the CPU 12 reproduces and displays the image file on the display unit 26 in accordance with the deletion target file list.

再生順が最後の画像ファイルが表示されている状態でコマ送りされると、CPU12は、更新用プログラムを示す代替画像を表示部26に表示させる。この代替画像が表示されている状態で十字キーによりOKボタンが選択されてメニュー/OKキーが押下されると、CPU12は、この代替用画像に対応する更新用プログラムを削除する。また、この代替用画像が表示されている状態でコマ送りされると、CPU12は、削除対象ファイルリストに従って、再生順が最初の画像を表示部26に表示させる。なお、更新用プログラムが複数ある場合には、CPU12は、例えば、バージョン順に、代替画像の表示を切り換えた後、最初の画像を表示させる。   When the frame is advanced while the last image file in the playback order is displayed, the CPU 12 causes the display unit 26 to display a substitute image indicating the update program. When the OK button is selected with the cross key and the menu / OK key is pressed while the substitute image is displayed, the CPU 12 deletes the update program corresponding to the substitute image. In addition, when the substitute image is displayed, the CPU 12 causes the display unit 26 to display the first image in the reproduction order in accordance with the deletion target file list. When there are a plurality of update programs, the CPU 12 displays the first image after switching the display of the substitute image, for example, in order of version.

図11は、カメラ10の制御プログラムの更新後の起動時における処理の第7の実施形態を示すフローチャートである。まず、カメラ10の電源が投入され、カメラ10が起動する。次に、操作部24からの操作入力により、1コマ削除メニューの開始指示が発生すると(ステップS110)、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する(ステップS112)。なお、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する処理については、図2のステップS10等と同様であるため説明を省略する。   FIG. 11 is a flowchart illustrating a seventh embodiment of processing at the time of activation after the control program of the camera 10 is updated. First, the camera 10 is turned on and the camera 10 is activated. Next, when an instruction to start a one-frame deletion menu is generated by an operation input from the operation unit 24 (step S110), the CPU 12 determines whether an update program is recorded in the recording internal ROM 20 (step S112). . The process for determining whether the update program is recorded in the recording internal ROM 20 is the same as step S10 in FIG.

次に、記録用内蔵ROM20に更新用プログラムが記録されていない場合には(ステップS112のNo)、次いでステップS116に進み、CPU12は、デフォルトの削除対象ファイルリストを用いてデフォルトの削除メニューを開始する。一方、記録用内蔵ROM20に更新用プログラムが記録されている場合には(ステップS112のYes)、CPU12は、削除対象ファイルリストの末尾に記録されている更新用プログラムのファイル名を追加して(ステップS114)、削除メニューを開始し(ステップS116)、削除対象ファイルリストに従って、表示部26に画像を表示させる。   Next, when the update program is not recorded in the recording internal ROM 20 (No in step S112), the process proceeds to step S116, and the CPU 12 starts the default deletion menu using the default deletion target file list. To do. On the other hand, when the update program is recorded in the recording internal ROM 20 (Yes in step S112), the CPU 12 adds the file name of the update program recorded at the end of the deletion target file list ( In step S114, a deletion menu is started (step S116), and an image is displayed on the display unit 26 in accordance with the deletion target file list.

次に、CPU12は、表示すべきファイルが更新用プログラムであるかどうかを判定する(ステップS118)。そして、表示すべきファイルが更新用プログラムではない場合、即ち、画像ファイルの場合には(ステップS118のNo)、CPU12は、記録用内蔵ROM20から画像ファイルを読み出して、表示部26に表示させる(ステップS120)。一方、表示すべきファイルが更新用プログラムの場合には(ステップS118のYes)、CPU12は、当該更新用プログラムの代替画像を表示部26に表示させる(ステップS122)。なお、ステップS112では、更新用プログラムの代替画像とともに、更新用プログラムのファイル名やバージョン情報、解説、現在実行中の制御プログラムのバージョン情報等を表示させるようにしてもよい。   Next, the CPU 12 determines whether or not the file to be displayed is an update program (step S118). If the file to be displayed is not an update program, that is, if it is an image file (No in step S118), the CPU 12 reads the image file from the built-in recording ROM 20 and displays it on the display unit 26 ( Step S120). On the other hand, when the file to be displayed is an update program (Yes in step S118), the CPU 12 displays a substitute image of the update program on the display unit 26 (step S122). In step S112, along with the substitute image of the update program, the file name and version information of the update program, a description, the version information of the control program currently being executed, and the like may be displayed.

次に、CPU12は、ユーザから削除実行の指示を受け付ける(ステップS124)。そして、削除実行指示を受け付けると(ステップS124のYes)、CPU12は、表示中のファイル(画像ファイル又は更新用プログラムのファイル)を削除して(ステップS126)、削除対象ファイルリストに従って、次に表示するファイルを選択し(ステップS128)、ステップS118に戻る。   Next, the CPU 12 receives a deletion execution instruction from the user (step S124). When the deletion execution instruction is accepted (Yes in step S124), the CPU 12 deletes the displayed file (image file or update program file) (step S126), and then displays it according to the deletion target file list. The file to be selected is selected (step S128), and the process returns to step S118.

また、CPU12は、ユーザからコマ送り/コマ戻しの指示を受け付ける(ステップS130)。即ち、削除実行指示がない場合に(ステップS124のNo)、コマ送り/コマ戻しの指示を受け付けると(ステップS130のYes)、ステップS118に戻る。   Further, the CPU 12 accepts a frame advance / frame return instruction from the user (step S130). That is, when there is no deletion execution instruction (No in step S124), if a frame advance / frame return instruction is accepted (Yes in step S130), the process returns to step S118.

また、CPU12は、ユーザから削除メニューの終了指示を受け付ける(ステップS132)。即ち、削除実行指示がなく(ステップS124のNo)、コマ送り/コマ戻しの指示がない場合に(ステップS130のNo)、削除メニューの終了指示が発生した場合には(ステップS132のYes)、CPU12は、1コマ削除メニューを終了する(ステップS134)。一方、削除メニューの終了指示がない場合には(ステップS132のNo)、ステップS124に戻り、CPU12は、再び表示中のファイルの削除実行指示(ステップS124)、コマ送り/コマ戻しの指示(ステップS130)及び削除メニューの終了指示(ステップS132)を受け付ける状態になる。   In addition, the CPU 12 receives an instruction to end the deletion menu from the user (step S132). That is, when there is no deletion execution instruction (No in step S124) and there is no frame advance / frame return instruction (No in step S130), when an instruction to end the deletion menu is generated (Yes in step S132), The CPU 12 ends the single frame deletion menu (step S134). On the other hand, if there is no instruction to end the deletion menu (No in step S132), the process returns to step S124, and the CPU 12 again instructs to execute deletion of the file being displayed (step S124), and instructions for frame advance / frame return (step S124). S130) and a deletion menu end instruction (step S132) are accepted.

本実施形態によれば、カメラ10が正常に起動して動作していることが確認された後に、画像の1コマ削除メニューを用いて更新用プログラムを削除することができる。これにより、正常に更新が終了して不要になった更新用プログラムを削除して、記録用内蔵ROM20に画像を記録するための空き領域を増やすことができる。   According to the present embodiment, after it is confirmed that the camera 10 is normally activated and operating, the update program can be deleted using the image one-frame deletion menu. As a result, it is possible to delete an update program that has been normally updated and is no longer needed, and to increase the free space for recording an image in the recording internal ROM 20.

なお、本実施形態では、1コマ削除メニューにおいて、更新用プログラムの代替画像を表示させるかどうかをユーザが手動で設定可能にしてもよい。   In this embodiment, the user may be able to manually set whether or not to display an alternative image of the update program in the single frame deletion menu.

また、ステップS126において更新用プログラムを削除する場合には、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを確認画面で選択可能にしてもよい。   Further, when the update program is deleted in step S126, for example, the update program may be backed up and deleted in the recording medium 32 or an external device. Further, it may be possible to select whether to delete or back up the update program on the confirmation screen.

[第8の実施形態]
図12は、ファイル操作メニューを示す図である。図12(a)はデフォルトのファイル操作メニューを示す図であり、図12(b)は記録用内蔵ROM20に更新用プログラムが記録されている場合のファイル操作メニューを示す図である。図12に示すファイル操作メニューは、記録用内蔵ROM20に記録された画像ファイルの削除、プロテクト、トリミング又はSET−UP等の操作を行うためのGUIとして機能する。
[Eighth Embodiment]
FIG. 12 is a diagram showing a file operation menu. FIG. 12A is a diagram showing a default file operation menu, and FIG. 12B is a diagram showing a file operation menu when an update program is recorded in the recording internal ROM 20. The file operation menu shown in FIG. 12 functions as a GUI for performing operations such as deletion, protection, trimming, or SET-UP of image files recorded in the recording internal ROM 20.

再生モード時に、メニュー/OKキーによりファイル操作メニューの表示指示が入力されると、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかどうかを判定する。記録用内蔵ROM20に更新用プログラムが記録されている場合には、CPU12は、デフォルトのファイル操作メニューを表示部26に表示させる。図12(a)に示すように、デフォルトのファイル操作メニューには、「削除」、「プロテクト」、「トリミング」及び「SET−UP」のメニュー項目が含まれており、これらのメニュー項目は、十字キー及びメニュー/OKキーにより選択可能となっている。「削除」メニューが選択されると、「1コマ」及び「全コマ」の2つの下位メニュー項目が表示される。このうち、「1コマ」メニューが選択されると、再生モードで選択されている画像ファイルが1コマ削除される。一方、「全コマ」メニューが選択されると、記録用内蔵ROM20に記録されている画像ファイルが全て削除される。なお、「プロテクト」は、選択されている画像の削除を不許可にするためのメニューであり、「トリミング」は、選択されている画像をトリミングするためのメニューであり、「SET−UP」は、画像のプロパティ、ファイル属性を変更するためのメニューである。   When a display instruction for the file operation menu is input by the menu / OK key in the reproduction mode, the CPU 12 determines whether or not the update program is recorded in the recording internal ROM 20. When the update program is recorded in the recording internal ROM 20, the CPU 12 causes the display unit 26 to display a default file operation menu. As shown in FIG. 12A, the default file operation menu includes menu items of “delete”, “protect”, “trimming”, and “SET-UP”. Selection is possible using the cross key and the menu / OK key. When the “delete” menu is selected, two lower menu items “one frame” and “all frames” are displayed. Among these, when the “one frame” menu is selected, one frame of the image file selected in the playback mode is deleted. On the other hand, when the “all frames” menu is selected, all image files recorded in the built-in recording ROM 20 are deleted. “Protect” is a menu for disallowing deletion of the selected image, “Trimming” is a menu for trimming the selected image, and “SET-UP” is This is a menu for changing image properties and file attributes.

一方、記録用内蔵ROM20に更新用プログラムが記録されている場合のファイル操作メニューを実行する。図12(b)に示すように、記録用内蔵ROM20に更新用プログラムが記録されている場合のファイル操作メニューにおいて「削除」メニューが選択されると、「1コマ」及び「全コマ」の2つの下位メニュー項目に加えて、「プログラム」メニューが表示される。「プログラム」メニューが選択されると、CPU12は、記録用内蔵ROM20に記録されている更新用プログラムのみを削除する更新用プログラム削除メニューを開始する。そして、CPU12は、更新用プログラムを削除するかどうかを確認するメッセージを表示部26に表示させ、メニュー/OKキーが押下されると、記録用内蔵ROM20に記録されている更新用プログラムを削除する。   On the other hand, a file operation menu when an update program is recorded in the recording internal ROM 20 is executed. As shown in FIG. 12B, when the “delete” menu is selected in the file operation menu when the update program is recorded in the built-in recording ROM 20, two “one frame” and “all frames” are displayed. In addition to the two submenu items, a “Program” menu is displayed. When the “program” menu is selected, the CPU 12 starts an update program deletion menu for deleting only the update program recorded in the internal recording ROM 20. Then, the CPU 12 displays a message for confirming whether or not to delete the update program on the display unit 26, and when the menu / OK key is pressed, the update program recorded in the recording internal ROM 20 is deleted. .

なお、更新用プログラム削除メニューにおいて、更新用プログラムを削除する場合には、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを確認画面で選択可能にしてもよい。   In the update program deletion menu, when deleting an update program, for example, it may be backed up and deleted on the recording medium 32 or an external device. Further, it may be possible to select whether to delete or back up the update program on the confirmation screen.

図13は、カメラ10の制御プログラムの更新後の起動時における処理の第8の実施形態を示すフローチャートである。まず、カメラ10の電源が投入され、カメラ10が起動する。次に、操作部24からの操作入力により、ファイル操作メニューの表示指示が発生すると(ステップS140)、CPU12は、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する(ステップS142)。なお、記録用内蔵ROM20に更新用プログラムが記録されているかを判定する処理については、図2のステップS10等と同様であるため説明を省略する。   FIG. 13 is a flowchart illustrating an eighth embodiment of the process at the time of activation after the control program of the camera 10 is updated. First, the camera 10 is turned on and the camera 10 is activated. Next, when an instruction to display a file operation menu is generated by an operation input from the operation unit 24 (step S140), the CPU 12 determines whether an update program is recorded in the recording internal ROM 20 (step S142). The process for determining whether the update program is recorded in the recording internal ROM 20 is the same as step S10 in FIG.

次に、記録用内蔵ROM20に更新用プログラムが記録されていない場合には(ステップS142のNo)、次いでステップS146に進み、CPU12は、デフォルトのファイル操作メニューを表示部26に表示させる(ステップS146)。一方、記録用内蔵ROM20に更新用プログラムが記録されている場合には(ステップS142のYes)、CPU12は、「削除」の下位メニュー項目に「プログラム」を追加してから(ステップS144)、ファイル操作メニューを表示部26に表示させる(ステップS146)。   Next, when the update program is not recorded in the recording internal ROM 20 (No in step S142), the process proceeds to step S146, and the CPU 12 displays a default file operation menu on the display unit 26 (step S146). ). On the other hand, when the update program is recorded in the recording internal ROM 20 (Yes in step S142), the CPU 12 adds “program” to the subordinate menu item “delete” (step S144), and then the file. An operation menu is displayed on the display unit 26 (step S146).

次に、CPU12は、操作部24からの操作入力により、ファイル操作メニューのどのメニュー項目が選択されたかどうかを判定する(ステップS148及びS150)。そして、「削除」以外のメニューが選択された場合には(ステップS148のNo、S150のYes)、図13の処理を終了し、CPU12は、選択された項目に応じて、プロテクト、トリミング、SET−UP等の処理を行う。一方、「削除」メニューが選択された場合には(ステップS148のYes)、CPU12は、「削除」の下位メニュー項目を表示部26に表示させる。   Next, the CPU 12 determines which menu item in the file operation menu is selected by an operation input from the operation unit 24 (steps S148 and S150). When a menu other than “delete” is selected (No in step S148, Yes in S150), the process in FIG. 13 is terminated, and the CPU 12 performs protection, trimming, and SET according to the selected item. -Perform processing such as UP. On the other hand, when the “delete” menu is selected (Yes in step S 148), the CPU 12 causes the display unit 26 to display a lower menu item “delete”.

次に、CPU12は、「削除」のどの下位メニュー項目が選択されたかを判定する(ステップS152)。そして、「削除」の下位メニュー項目のうち「プログラム」が選択された場合には(ステップS152のYes)、CPU12は、更新用プログラムの削除メニューを開始する(ステップS154)。一方、「プログラム」以外の下位メニュー項目(「1コマ」又は「全コマ」)が選択された場合には(ステップS152のNo)、CPU12は、「1コマ」又は「全コマ」の削除メニューを開始する(ステップS156)。   Next, the CPU 12 determines which subordinate menu item of “delete” has been selected (step S152). When “program” is selected from the lower menu items of “delete” (Yes in step S152), the CPU 12 starts a delete menu for the update program (step S154). On the other hand, when a lower menu item other than “program” (“one frame” or “all frames”) is selected (No in step S152), the CPU 12 deletes the “one frame” or “all frames” deletion menu. Is started (step S156).

本実施形態によれば、カメラ10が正常に起動して動作していることが確認された後に、再生モード時にファイル操作メニューを用いて更新用プログラムを削除することができる。これにより、正常に更新が終了して不要になった更新用プログラムを削除して、記録用内蔵ROM20に画像を記録するための空き領域を増やすことができる。   According to the present embodiment, after it is confirmed that the camera 10 is normally activated and operating, the update program can be deleted using the file operation menu in the playback mode. As a result, it is possible to delete an update program that has been normally updated and is no longer needed, and to increase the free space for recording an image in the recording internal ROM 20.

なお、上記の各実施形態では、更新用プログラムを記録用内蔵ROM20から削除するようにしたが、例えば、記録メディア32や外部機器にバックアップして削除するようにしてもよい。また、更新用プログラムを削除するかバックアップするかを選択可能にしてもよい。   In each of the above embodiments, the update program is deleted from the recording internal ROM 20. However, for example, the update program may be backed up and deleted in the recording medium 32 or an external device. Further, it may be possible to select whether the update program is deleted or backed up.

なお、上記の処理を行うプログラムをカメラや、カメラ付き携帯電話等に適用することにより、本発明の撮影装置を実現することができる。   In addition, the imaging device of this invention is realizable by applying the program which performs said process to a camera, a mobile telephone with a camera, etc. FIG.

本発明の一実施形態に係る撮影装置の主要構成を示すブロック図1 is a block diagram showing a main configuration of a photographing apparatus according to an embodiment of the present invention. カメラ10の制御プログラムの更新後の起動時における処理の第1の実施形態を示すフローチャートThe flowchart which shows 1st Embodiment of the process at the time of starting after the update of the control program of the camera 10 記録用内蔵ROM20のディレクトリ構成を模式的に示す図The figure which shows typically the directory structure of internal ROM20 for recording. 更新用プログラムのファイルの構造を模式的に示す図Diagram showing the structure of the update program file カメラ10の制御プログラムの更新後の起動時における処理の第2の実施形態を示すフローチャートThe flowchart which shows 2nd Embodiment of the process at the time of starting after the control program of the camera 10 is updated. カメラ10の制御プログラムの更新後の起動時における処理の第3の実施形態を示すフローチャートThe flowchart which shows 3rd Embodiment of the process at the time of starting after the control program of the camera 10 is updated. カメラ10の制御プログラムの更新後の起動時における処理の第4の実施形態を示すフローチャートThe flowchart which shows 4th Embodiment of the process at the time of starting after the update of the control program of the camera 10 カメラ10の制御プログラムの更新後の起動時における処理の第5の実施形態を示すフローチャートThe flowchart which shows 5th Embodiment of the process at the time of starting after the update of the control program of the camera 10 カメラ10の制御プログラムの更新後の起動時における処理の第6の実施形態を示すフローチャートThe flowchart which shows 6th Embodiment of the process at the time of starting after the update of the control program of the camera 10 1コマ削除メニューの実行画面を示す図The figure which shows the execution screen of single frame deletion menu カメラ10の制御プログラムの更新後の起動時における処理の第7の実施形態を示すフローチャートThe flowchart which shows 7th Embodiment of the process at the time of starting after the update of the control program of the camera 10 ファイル操作メニューを示す図Figure showing the file operation menu カメラ10の制御プログラムの更新後の起動時における処理の第8の実施形態を示すフローチャートThe flowchart which shows 8th Embodiment of the process at the time of starting after the control program update of the camera 10 is updated.

符号の説明Explanation of symbols

10…撮影装置(カメラ)、12…中央処理装置(CPU)、14…電源制御部、16…電源電池(バッテリ)、18…制御プログラム用ROM、20…記録用内蔵ROM、22…RAM、24…操作部、26…表示部、28…表示制御部、30…メディアインターフェース部(メディアI/F)、32…記録メディア、34…メディア制御部、36…USBコネクタ、38…外部通信制御部、40…CCD、42…レンズユニット、44…フォーカスレンズ、46…ズームレンズ、48…撮影レンズ、50…絞り兼用メカシャッタ、52…モータ、54…モータ駆動回路、56…A/D変換器、58…画像信号処理部、60…積算部、62…圧縮/伸張処理部   DESCRIPTION OF SYMBOLS 10 ... Imaging device (camera), 12 ... Central processing unit (CPU), 14 ... Power supply control part, 16 ... Power supply battery (battery), 18 ... ROM for control programs, 20 ... Built-in ROM for recording, 22 ... RAM, 24 Operation unit 26 Display unit 28 Display control unit 30 Media interface unit (media I / F) 32 Recording medium 34 Media control unit 36 USB connector 38 External communication control unit DESCRIPTION OF SYMBOLS 40 ... CCD, 42 ... Lens unit, 44 ... Focus lens, 46 ... Zoom lens, 48 ... Shooting lens, 50 ... Diaphragm combined mechanical shutter, 52 ... Motor, 54 ... Motor drive circuit, 56 ... A / D converter, 58 ... Image signal processing unit, 60 ... integrating unit, 62 ... compression / decompression processing unit

Claims (32)

画像を撮影する撮影手段を備える撮影装置であって、
前記撮影手段によって撮影された画像を記録する第1の記録手段と、
所定の制御プログラムに従って前記撮影装置を制御する制御手段と、
前記制御プログラムを記録する第2の記録手段と、
前記制御プログラムの更新用プログラムを取得して前記第1の記録手段に記録する更新用プログラム取得手段と、
前記更新用プログラムを用いて前記制御プログラムを更新する制御プログラム更新手段と、
前記撮影装置の電源のオン/オフを制御する電源制御手段と、
前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときに、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除する更新用プログラム削除手段と、
を備えることを特徴とする撮影装置。
An imaging apparatus including an imaging unit for taking an image,
First recording means for recording an image photographed by the photographing means;
Control means for controlling the photographing apparatus according to a predetermined control program;
Second recording means for recording the control program;
An update program acquisition means for acquiring an update program for the control program and recording the update program in the first recording means;
Control program update means for updating the control program using the update program;
Power control means for controlling on / off of the power of the photographing apparatus;
An update program for deleting an update program used for updating the control program from the first recording means when the imaging apparatus is turned off and then on after the control program is updated. Delete means,
An imaging apparatus comprising:
前記第1の記録手段に記録可能な画像の記録可能画像数を算出する記録可能画像数算出手段を更に備えることを特徴とする請求項1記載の撮影装置。   2. The photographing apparatus according to claim 1, further comprising: a recordable image number calculating unit that calculates the number of recordable images of images that can be recorded in the first recording unit. 前記記録可能画像数算出手段は、前記更新用プログラムが削除される前に、前記更新用プログラムが削除された状態における記録可能画像数を算出し、
前記更新用プログラム削除手段は、前記記録可能画像数が算出された後に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする請求項2記載の撮影装置。
The recordable image number calculating means calculates the number of recordable images in a state where the update program is deleted before the update program is deleted,
3. The update program deletion unit, wherein the update program used for updating the control program is deleted from the first recording unit after the number of recordable images is calculated. Shooting device.
前記更新用プログラム削除手段は、前記記録可能画像数が所定値以下になった場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする請求項2記載の撮影装置。   The update program deletion unit deletes the update program used for updating the control program from the first recording unit when the number of recordable images becomes a predetermined value or less. Item 2. The photographing apparatus according to Item 2. 前記更新用プログラムを削除する際に、前記更新用プログラムを削除するかどうかを選択する選択手段を更に備えることを特徴とする請求項1から4のいずれか1項記載の撮影装置。   5. The photographing apparatus according to claim 1, further comprising a selection unit configured to select whether or not to delete the update program when the update program is deleted. 6. 画像を撮影するための撮影モードと、撮影モード以外の動作モードとの間で、前記撮影装置の動作モードを切り替える動作モード切替手段を更に備え、
前記更新用プログラム削除手段は、前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときの動作モードが撮影モード以外のモードの場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする請求項1から5のいずれか1項記載の撮影装置。
An operation mode switching means for switching the operation mode of the image capturing apparatus between an image capture mode for capturing an image and an operation mode other than the image capture mode;
The update program deletion means updates the control program when the operation mode when the power of the photographing apparatus is turned off and then on after the control program is updated is a mode other than the photographing mode. 6. The photographing apparatus according to claim 1, wherein the update program used in the step is deleted from the first recording means.
前記撮影装置の電源がオンになったときの起動処理が正常に終了したかどうかを判定する判定手段を更に備え、
前記更新用プログラム削除手段は、前記起動処理が正常に終了しなかった場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除しないことを特徴とする請求項1から6のいずれか1項記載の撮影装置。
A determination means for determining whether or not the startup process when the power of the photographing apparatus is turned on is normally completed;
The update program deletion unit does not delete the update program used for updating the control program from the first recording unit when the activation process does not end normally. The imaging device according to any one of items 1 to 6.
前記撮影手段に撮影指示を入力するための撮影指示手段を更に備え、
前記更新用プログラム削除手段は、前記撮影指示の入力時において前記記録可能画像数が所定値以下の場合に、撮影の開始前に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする請求項1から7のいずれか1項記載の撮影装置。
A photographing instruction means for inputting a photographing instruction to the photographing means;
The update program deletion means is configured to update the control program used for updating the control program before starting shooting when the number of recordable images is equal to or less than a predetermined value when the shooting instruction is input. The photographing apparatus according to claim 1, wherein the photographing apparatus is deleted from the recording unit.
前記更新用プログラム削除手段は、前記画像の撮影時における前記記録可能画像数が所定値より大きい場合に、撮影処理の終了後に前記更新用プログラムを削除することを特徴とする請求項8記載の撮影装置。   9. The photographing according to claim 8, wherein the update program deleting means deletes the update program after the photographing process is finished when the number of recordable images at the time of photographing the image is larger than a predetermined value. apparatus. 前記所定値は、ゼロであることを特徴とする請求項8又は9記載の撮影装置。   The photographing apparatus according to claim 8, wherein the predetermined value is zero. 前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときに、前記第1の記録手段に記録された画像及び更新用プログラムの中から削除対象の指定を受け付ける削除対象指定手段と、
前記削除対象指定手段によって指定された画像及び/又は更新用プログラムを前記第1の記録手段から削除する削除手段と、
を更に備えることを特徴とする請求項1から10のいずれか1項記載の撮影装置。
After the control program is updated, when the imaging apparatus is turned off and then turned on, designation of a deletion target is received from the image recorded in the first recording unit and the update program. Delete target designation means,
A deletion unit that deletes the image and / or update program designated by the deletion target designation unit from the first recording unit;
The imaging apparatus according to claim 1, further comprising:
画像を表示する表示手段と、
前記第1の記録手段に前記更新用プログラムが記録されているかどうかを判定する更新用プログラム記録判定手段を更に備え、
前記削除対象指定手段は、前記第1の記録手段に前記更新用プログラムが記録されていると判定された場合に、前記更新用プログラムを削除するためのメニューを前記表示手段に表示させることを特徴とする請求項11記載の撮影装置。
Display means for displaying an image;
Update program recording determination means for determining whether or not the update program is recorded in the first recording means;
The deletion target designating unit causes the display unit to display a menu for deleting the update program when it is determined that the update program is recorded in the first recording unit. The imaging device according to claim 11.
画像を表示する表示手段を更に備え、
前記削除対象指定手段は、前記第1の記録手段に記録された画像と、前記更新用プログラムに対応する代替画像を含む削除対象選択画面を前記表示手段に表示させ、前記表示手段に表示された画像の中から削除対象の指定を受け付けることを特徴とする請求項11記載の撮影装置。
It further comprises display means for displaying an image,
The deletion target designating unit causes the display unit to display a deletion target selection screen including an image recorded in the first recording unit and a substitute image corresponding to the update program, and is displayed on the display unit. 12. The photographing apparatus according to claim 11, wherein designation of a deletion target is received from an image.
前記第1の記録手段に前記更新用プログラムが記録されているかどうかを判定する更新用プログラム記録判定手段を更に備え、
前記削除対象指定手段は、前記第1の記録手段に前記更新用プログラムが記録されていると判定された場合に、前記削除対象選択画面に前記代替画像を表示させることを特徴とする請求項13記載の撮影装置。
Update program recording determination means for determining whether or not the update program is recorded in the first recording means;
The deletion target designating unit displays the substitute image on the deletion target selection screen when it is determined that the update program is recorded in the first recording unit. The imaging device described.
前記制御プログラムのバージョン情報を取得するバージョン情報取得手段を更に備え、
前記更新用プログラム削除手段は、前記バージョン情報取得手段によって取得されたバージョン情報と同じバージョンの更新用プログラムのみを削除することを特徴とする請求項1から14のいずれか1項記載の撮影装置。
Further comprising version information acquisition means for acquiring version information of the control program;
15. The photographing apparatus according to claim 1, wherein the update program deleting unit deletes only the update program having the same version as the version information acquired by the version information acquiring unit.
前記記録可能画像数算出手段は、前記記録可能画像数として、静止画の記録可能枚数又は動画の記録可能時間を算出することを特徴とする請求項1から15のいずれか1項記載の撮影装置。   16. The photographing apparatus according to claim 1, wherein the recordable image number calculating means calculates a recordable number of still images or a recordable time of a moving image as the recordable image number. . 画像を撮影する撮影工程と、
前記撮影工程において撮影された画像を第1の記録手段に記録する工程と、
所定の制御プログラムに従って撮影装置を制御する制御工程と、
前記制御プログラムを第2の記録手段に記録する工程と、
前記制御プログラムの更新用プログラムを取得して前記第1の記録手段に記録する更新用プログラム取得工程と、
前記更新用プログラムを用いて前記制御プログラムを更新する制御プログラム更新工程と、
前記撮影装置の電源のオン/オフを制御する電源制御工程と、
前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときに、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除する更新用プログラム削除工程と、
を備えることを特徴とする撮影装置制御方法。
A shooting process for shooting images;
Recording the image photographed in the photographing step in a first recording means;
A control process for controlling the photographing apparatus according to a predetermined control program;
Recording the control program in a second recording means;
An update program acquisition step of acquiring an update program for the control program and recording it in the first recording means;
A control program update step of updating the control program using the update program;
A power control step for controlling power on / off of the photographing apparatus;
An update program for deleting an update program used for updating the control program from the first recording means when the imaging apparatus is turned off and then on after the control program is updated. Delete process,
An imaging apparatus control method comprising:
前記第1の記録手段に記録可能な画像の記録可能画像数を算出する記録可能画像数算出工程を更に備えることを特徴とする請求項17記載の撮影装置制御方法。   18. The photographing apparatus control method according to claim 17, further comprising a recordable image number calculating step of calculating a recordable image number of images that can be recorded in the first recording unit. 前記記録可能画像数算出工程は、前記更新用プログラムが削除される前に、前記更新用プログラムが削除された状態における記録可能画像数を算出する工程を備え、
前記更新用プログラム削除工程は、前記記録可能画像数が算出された後に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除する工程を備えることを特徴とする請求項18記載の撮影装置制御方法。
The recordable image number calculating step includes a step of calculating the number of recordable images in a state where the update program is deleted before the update program is deleted,
The update program deleting step includes a step of deleting the update program used for updating the control program from the first recording means after the number of recordable images is calculated. 18. A method for controlling an imaging apparatus according to 18.
前記更新用プログラム削除工程において、前記記録可能画像数が所定値以下になった場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする請求項18記載の撮影装置制御方法。   The updating program used for updating the control program is deleted from the first recording means when the number of recordable images becomes a predetermined value or less in the updating program deleting step. Item 19. A photographing apparatus control method according to Item 18. 前記更新用プログラムを削除する際に、前記更新用プログラムを削除するかどうかを選択する選択工程を更に備えることを特徴とする請求項17から20のいずれか1項記載の撮影装置制御方法。   21. The photographing apparatus control method according to claim 17, further comprising a selection step of selecting whether or not to delete the update program when the update program is deleted. 画像を撮影するための撮影モードと、撮影モード以外の動作モードとの間で、前記撮影装置の動作モードを切り替える動作モード切替工程を更に備え、
前記更新用プログラム削除工程において、前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときの動作モードが撮影モード以外のモードの場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする請求項17から21のいずれか1項記載の撮影装置制御方法。
An operation mode switching step of switching the operation mode of the image capturing apparatus between an image capture mode for capturing an image and an operation mode other than the image capture mode;
In the update program deletion step, after the control program is updated, the control program is updated when the operation mode when the imaging apparatus is turned off and then turned on is a mode other than the imaging mode. The imaging apparatus control method according to any one of claims 17 to 21, wherein the update program used in the above is deleted from the first recording means.
前記撮影装置の電源がオンになったときの起動処理が正常に終了したかどうかを判定する判定工程を更に備え、
前記更新用プログラム削除工程において、前記起動処理が正常に終了しなかった場合に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除しないことを特徴とする請求項17から22のいずれか1項記載の撮影装置制御方法。
A determination step of determining whether or not the startup process when the power of the imaging device is turned on has been normally completed;
The update program used for updating the control program is not deleted from the first recording means when the activation process is not normally completed in the update program deletion step. 23. The imaging device control method according to any one of items 1 to 22.
前記撮影工程に撮影指示を入力するための撮影指示工程を更に備え、
前記更新用プログラム削除工程において、前記撮影指示の入力時において前記記録可能画像数が所定値以下の場合に、撮影の開始前に、前記制御プログラムの更新に用いられた更新用プログラムを第1の記録手段から削除することを特徴とする請求項17から23のいずれか1項記載の撮影装置制御方法。
A shooting instruction process for inputting a shooting instruction to the shooting process;
In the update program deletion step, when the number of recordable images is equal to or less than a predetermined value when the shooting instruction is input, the update program used for updating the control program is set to the first before the start of shooting. The photographing apparatus control method according to any one of claims 17 to 23, wherein the photographing apparatus is deleted from the recording means.
前記更新用プログラム削除工程において、前記画像の撮影時における前記記録可能画像数が所定値より大きい場合に、撮影処理の終了後に前記更新用プログラムを削除することを特徴とする請求項24記載の撮影装置制御方法。   25. The photographing according to claim 24, wherein, in the updating program deletion step, the updating program is deleted after the photographing process is ended when the number of recordable images at the time of photographing the image is larger than a predetermined value. Device control method. 前記所定値は、ゼロであることを特徴とする請求項24又は25記載の撮影装置制御方法。   26. The method according to claim 24, wherein the predetermined value is zero. 前記制御プログラムの更新後、前記撮影装置の電源が一旦オフになってからオンになったときに、前記第1の記録手段に記録された画像及び更新用プログラムの中から削除対象の指定を受け付ける削除対象指定工程と、
前記削除対象指定工程において指定された画像及び/又は更新用プログラムを前記第1の記録手段から削除する削除工程と、
を更に備えることを特徴とする請求項17から26のいずれか1項記載の撮影装置制御方法。
After the control program is updated, when the imaging apparatus is turned off and then turned on, designation of a deletion target is received from the image recorded in the first recording unit and the update program. Delete target designation process,
A deletion step of deleting the image and / or update program designated in the deletion target designation step from the first recording means;
The imaging device control method according to claim 17, further comprising:
画像を表示手段に表示する表示工程と、
前記第1の記録手段に前記更新用プログラムが記録されているかどうかを判定する更新用プログラム記録判定工程とを更に備え、
前記削除対象指定工程において、前記第1の記録手段に前記更新用プログラムが記録されていると判定された場合に、前記更新用プログラムを削除するためのメニューを前記表示手段に表示することを特徴とする請求項27記載の撮影装置制御方法。
A display step of displaying an image on the display means;
An update program recording determination step for determining whether or not the update program is recorded in the first recording means;
In the deletion target designating step, when it is determined that the update program is recorded in the first recording means, a menu for deleting the update program is displayed on the display means. The imaging device control method according to claim 27.
画像を表示手段に表示する表示工程を更に備え、
前記削除対象指定工程において、前記第1の記録手段に記録された画像と、前記更新用プログラムに対応する代替画像を含む削除対象選択画面を前記表示手段に表示し、前記表示手段に表示された画像の中から削除対象の指定を受け付けることを特徴とする請求項27記載の撮影装置制御方法。
A display step of displaying the image on the display means;
In the deletion target designating step, a deletion target selection screen including an image recorded in the first recording unit and a substitute image corresponding to the update program is displayed on the display unit, and is displayed on the display unit. 28. The photographing apparatus control method according to claim 27, wherein designation of a deletion target is received from an image.
前記第1の記録手段に前記更新用プログラムが記録されているかどうかを判定する更新用プログラム記録判定工程を更に備え、
前記削除対象指定工程において、前記第1の記録手段に前記更新用プログラムが記録されていると判定された場合に、前記削除対象選択画面に前記代替画像を表示することを特徴とする請求項29記載の撮影装置制御方法。
An update program recording determination step for determining whether or not the update program is recorded in the first recording means;
30. The substitute image is displayed on the deletion target selection screen when it is determined in the deletion target designating step that the update program is recorded in the first recording means. The imaging device control method described.
前記制御プログラムのバージョン情報を取得するバージョン情報取得工程を更に備え、
前記更新用プログラム削除工程において、前記バージョン情報取得工程において取得されたバージョン情報と同じバージョンの更新用プログラムのみを削除することを特徴とする請求項17から30のいずれか1項記載の撮影装置制御方法。
A version information acquisition step of acquiring version information of the control program;
31. The photographing apparatus control according to claim 17, wherein, in the update program deletion step, only the update program having the same version as the version information acquired in the version information acquisition step is deleted. Method.
前記記録可能画像数算出工程において、前記記録可能画像数として、静止画の記録可能枚数又は動画の記録可能時間を算出することを特徴とする請求項17から31のいずれか1項記載の撮影装置制御方法。   32. The photographing apparatus according to claim 17, wherein, in the recordable image number calculating step, a recordable number of still images or a recordable time of a moving image is calculated as the number of recordable images. Control method.
JP2006152221A 2006-05-31 2006-05-31 Photographing device and photographing device control method Pending JP2007323322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006152221A JP2007323322A (en) 2006-05-31 2006-05-31 Photographing device and photographing device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006152221A JP2007323322A (en) 2006-05-31 2006-05-31 Photographing device and photographing device control method

Publications (1)

Publication Number Publication Date
JP2007323322A true JP2007323322A (en) 2007-12-13

Family

ID=38856080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006152221A Pending JP2007323322A (en) 2006-05-31 2006-05-31 Photographing device and photographing device control method

Country Status (1)

Country Link
JP (1) JP2007323322A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102537A (en) * 2008-10-24 2010-05-06 Koyo Electronics Ind Co Ltd Method of recovering firmware for display
JP2014219939A (en) * 2013-05-10 2014-11-20 株式会社リコー Information processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102537A (en) * 2008-10-24 2010-05-06 Koyo Electronics Ind Co Ltd Method of recovering firmware for display
JP2014219939A (en) * 2013-05-10 2014-11-20 株式会社リコー Information processing system

Similar Documents

Publication Publication Date Title
JP4697606B2 (en) Imaging apparatus and focus control method
KR100731192B1 (en) Image sensing apparatus and control method thereof
JP4700164B2 (en) Image recording apparatus and method
US7769287B2 (en) Image taking apparatus and image taking method
JP4730553B2 (en) Imaging apparatus and exposure control method
JP2001251551A (en) Electronic camera
JP2003274335A (en) Information recording device
JP2008011194A (en) Image processing apparatus
JP4671053B2 (en) Image recording apparatus and image recording method
JP2009048136A (en) Focusing device and focusing method
JP4168268B2 (en) Electronics
JP4189820B2 (en) Imaging apparatus and image recording method
JP2007299339A (en) Image reproducing device, method and program
JP2007325152A (en) Imaging device, and program thereof
JP2007257465A (en) Image display device, method, and program
JP2023053411A (en) Electronic apparatus
JP4887167B2 (en) Image display device, image display program, and photographing device
JP4716182B2 (en) Imaging apparatus and imaging control program
JP2007323322A (en) Photographing device and photographing device control method
JP4826480B2 (en) Imaging apparatus, image management method, and program
JP4966680B2 (en) Video playback device, video playback method, and imaging device
JP4433297B2 (en) Imaging apparatus and image reproduction apparatus
JP5054209B2 (en) Imaging apparatus and focus control method
JP2007213231A (en) Image processor
JP2007180599A (en) Imaging apparatus, imaging apparatus control method, and imaging apparatus control program