JP4692256B2 - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP4692256B2
JP4692256B2 JP2005352461A JP2005352461A JP4692256B2 JP 4692256 B2 JP4692256 B2 JP 4692256B2 JP 2005352461 A JP2005352461 A JP 2005352461A JP 2005352461 A JP2005352461 A JP 2005352461A JP 4692256 B2 JP4692256 B2 JP 4692256B2
Authority
JP
Japan
Prior art keywords
recording device
external recording
electronic camera
data
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005352461A
Other languages
Japanese (ja)
Other versions
JP2007158837A (en
Inventor
大亮 築山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2005352461A priority Critical patent/JP4692256B2/en
Publication of JP2007158837A publication Critical patent/JP2007158837A/en
Application granted granted Critical
Publication of JP4692256B2 publication Critical patent/JP4692256B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、外部の記録装置への画像データの通信機能を備えた電子カメラに関する。   The present invention relates to an electronic camera having a function of communicating image data to an external recording device.

従来から、外部の記録装置への画像データの通信機能を備えた電子カメラが公知である。また、特許文献1には、外部記録装置から取得した情報に基づいて、撮影後の画像データを外部記録装置にバックアップできるか否かを判定する電子カメラが開示されている。
特開2002−252798号公報
Conventionally, an electronic camera having a function of communicating image data to an external recording device is known. Patent Document 1 discloses an electronic camera that determines whether image data after photographing can be backed up to an external recording device based on information acquired from the external recording device.
JP 2002-252798 A

ところで、外部記録装置によるデータの記録速度が高速な場合や、画像データのデータ量が少なくなるように電子カメラが設定されている場合には、撮影時において電子カメラから外部記録装置に画像データを直接記録することも十分可能である。そのため、外部記録装置の性能などの条件に応じて、画像データの記録先を適切に設定できる電子カメラが要望されている。   By the way, when the data recording speed of the external recording device is high, or when the electronic camera is set so as to reduce the amount of image data, image data is transferred from the electronic camera to the external recording device at the time of shooting. It is also possible to record directly. Therefore, there is a demand for an electronic camera that can appropriately set the recording destination of image data in accordance with conditions such as the performance of the external recording device.

本発明は上記従来技術の課題を解決するためのものであって、その目的は、外部記録装置の性能などの条件に応じて、撮影によって得られた画像データの記録先を適切に設定できる電子カメラを提供することである。   An object of the present invention is to solve the above-mentioned problems of the prior art, and an object of the present invention is to provide an electronic device capable of appropriately setting a recording destination of image data obtained by photographing according to conditions such as the performance of an external recording device. Is to provide a camera.

本発明の一態様では、電子カメラは、被写体からの光束を光電変換して画像データを生成する撮像部と、カメラ内部に配置される記録手段に対して画像データを書き込むデータ書込部と、画像データを記録可能な外部記録装置との通信を行う通信部と、外部記録装置の性能を示す性能データを取得する性能データ取得部と、画像データの記録先として外部記録装置を適用できるか否かを性能データに基づいて判定する制御部とを備える。性能データは、外部記録装置によるデータの記録速度に関する情報と外部記録装置が対応している通信規格の種類に関する情報とを含む。制御部は、外部記録装置によるデータの記録速度と外部記録装置が対応している通信規格の種類とに基づいて判定を行う。
本発明に関連する技術として、第1の技術の電子カメラは、撮像部と、データ書込部と、通信部と、性能データ取得部と、制御部とを備える。撮像部は、被写体からの光束を光電変換して画像データを生成する。データ書込部は、カメラ内部に配置される記録手段に対して画像データを書き込む。通信部は、画像データを記録可能な外部記録装置との通信を行う。性能データ取得部は、外部記録装置の性能を示す性能データを取得する。制御部は、画像データの記録先として外部記録装置を適用できるか否かを性能データに基づいて判定する。
In one aspect of the present invention, an electronic camera includes an imaging unit that photoelectrically converts a light beam from a subject to generate image data, a data writing unit that writes image data to a recording unit disposed inside the camera, Whether a communication unit that communicates with an external recording device capable of recording image data, a performance data acquisition unit that acquires performance data indicating the performance of the external recording device, and whether the external recording device can be applied as a recording destination of image data And a control unit for determining whether or not based on performance data. The performance data includes information regarding the data recording speed of the external recording device and information regarding the type of communication standard supported by the external recording device. The control unit performs determination based on the data recording speed of the external recording device and the type of communication standard supported by the external recording device.
As a technique related to the present invention, an electronic camera according to a first technique includes an imaging unit, a data writing unit, a communication unit, a performance data acquisition unit, and a control unit. The imaging unit photoelectrically converts the light flux from the subject to generate image data. The data writing unit writes image data to a recording unit arranged inside the camera. The communication unit communicates with an external recording device capable of recording image data. The performance data acquisition unit acquires performance data indicating the performance of the external recording device. The control unit determines whether or not the external recording device can be applied as the recording destination of the image data based on the performance data.

第2の技術は、第1の技術において、性能データは外部記録装置によるデータの記録速度に関する情報を含む。また、制御部は、外部記録装置によるデータの記録速度に基づいて判定を行う。
第3の技術は、第2の技術において、性能データは通信部と外部記録装置との通信速度の情報を含む。また、制御部は、通信部と外部記録装置との通信速度に基づいて判定を行う。
According to a second technique , in the first technique , the performance data includes information on a data recording speed by the external recording device. The control unit makes a determination based on the data recording speed of the external recording device.
According to a third technique , in the second technique , the performance data includes information on a communication speed between the communication unit and the external recording device. In addition, the control unit makes a determination based on the communication speed between the communication unit and the external recording device.

第4の技術は、第2の技術において、性能データは外部記録装置の種類の情報を含む。また、制御部は、外部記録装置の種類に基づいて判定を行う。
第5の技術は、第2の技術において、性能データ取得部は、外部記録装置にテストデータを送信し、テストデータに対する外部記録装置からの返信結果より得られた実測値に基づいて記録速度に関する情報を取得する。
According to a fourth technique , in the second technique , the performance data includes information on the type of the external recording device. Further, the control unit makes a determination based on the type of the external recording device.
According to a fifth technique , in the second technique , the performance data acquisition unit transmits the test data to the external recording device, and relates to the recording speed based on an actual measurement value obtained from a response result from the external recording device to the test data. Get information.

第6の技術は、第1の技術において、性能データは外部記録装置の記録容量の残量を示す第1残容量データを含む。また、制御部は、第1残容量データに基づいて判定を行う。
第7の技術は、第6の技術において、制御部は、判定において外部記録装置が適用不能とされた場合に、画像データの記録先を記録手段に変更する。
第8の技術は、第1から第7のいずれかの技術において、撮影の設定に関するユーザーの入力を受け付ける操作部をさらに備える。また、制御部は、操作部によって変更される撮影の設定状態に基づいて判定を行う。
In a sixth technique according to the first technique , the performance data includes first remaining capacity data indicating the remaining recording capacity of the external recording device. Further, the control unit makes a determination based on the first remaining capacity data.
In a seventh technique according to the sixth technique , the control unit changes the recording destination of the image data to the recording unit when the external recording apparatus is not applicable in the determination.
An eighth technique according to any one of the first to seventh techniques further includes an operation unit that accepts a user input related to shooting settings. Further, the control unit makes a determination based on the shooting setting state changed by the operation unit.

第9の技術は、第8の技術において、制御部は、画像データが閾値未満のデータ量で生成される第1設定状態では外部記録装置を記録先に適用可能と判定するとともに、画像データのデータ量が第1設定状態よりも大きくなりうる第2設定状態では外部記録装置を記録先に適用不能と判定する。
第10の技術は、第8の技術において、制御部は、連写撮影を実行する第3設定状態への変更操作を操作部から検出した場合に判定を行う。
According to a ninth technique , in the eighth technique , the control unit determines that the external recording device is applicable to the recording destination in the first setting state in which the image data is generated with a data amount less than the threshold, and the image data In the second setting state in which the data amount can be larger than the first setting state, it is determined that the external recording device is not applicable to the recording destination.
In a tenth technique according to the eighth technique , the control unit makes a determination when a change operation to the third setting state in which continuous shooting is performed is detected from the operation unit.

第11の技術は、第8の技術において、制御部は、動画撮影を実行する第4設定状態への変更操作を操作部から検出した場合に判定を行う。
第12の技術は、第1の技術において、データ書込部は、記録手段の記録容量の残量を示す第2残容量データを取得する。制御部は、第2残容量データによる残量の値が閾値未満となった場合に判定を行う。
In an eleventh technique according to the eighth technique , the control unit performs determination when a change operation to the fourth setting state in which moving image shooting is performed is detected from the operation unit.
According to a twelfth technique , in the first technique , the data writing unit obtains second remaining capacity data indicating a remaining recording capacity of the recording unit. The control unit determines when the value of the remaining amount based on the second remaining capacity data is less than the threshold value.

本発明の電子カメラは、外部記録装置の性能を示す性能データに基づいて、撮影によって得られた画像データの記録先として外部記録装置を適用できるか否かを判定できる。   The electronic camera of the present invention can determine whether or not the external recording device can be applied as a recording destination of image data obtained by photographing based on performance data indicating the performance of the external recording device.

(第1実施形態の説明)
図1は第1実施形態の電子カメラの構成を示す概要図である。第1実施形態の電子カメラ11には、外部記録装置12が通信ケーブル13によって接続されている。
電子カメラ11は、撮影レンズ14と、撮像素子15と、画像処理部16と、メモリ17と、記録I/F18と、レリーズ釦19および操作部材20と、表示部21と、通信I/F22および通信制御部23と、ROM24と、CPU25とを有している。
(Description of the first embodiment)
FIG. 1 is a schematic diagram showing the configuration of the electronic camera of the first embodiment. An external recording device 12 is connected to the electronic camera 11 of the first embodiment by a communication cable 13.
The electronic camera 11 includes a photographing lens 14, an image sensor 15, an image processing unit 16, a memory 17, a recording I / F 18, a release button 19 and an operation member 20, a display unit 21, a communication I / F 22, and The communication control unit 23, the ROM 24, and the CPU 25 are included.

撮像素子15は、撮影レンズ14の像空間側に配置されている。撮像素子15の受光面には受光素子が2次元配列されている。撮像素子15は、撮影レンズ14を通過した光束による被写体像を光電変換してアナログ画像信号を生成する。この撮像素子15の出力は画像処理部16に接続されている。
画像処理部16は、電子カメラ11の画像処理に特化したカスタムチップを有している。この画像処理部16は、撮像素子15の出力信号のA/D変換や、A/D変換後の画像データに対する各種画像処理および圧縮処理などを実行する。ここで、画像処理部16は、静止画像データおよび動画像データを生成できる。また、画像処理部16の生成する静止画像データには、通常画像データとRAW画像データとが含まれる。通常画像データは、撮像素子15の出力に各種の画像処理および圧縮処理を施した静止画像データである。RAW画像データは、撮像素子15の画素ごとのデジタルデータを一切の画像処理を行わずに記録したものである。
The image sensor 15 is disposed on the image space side of the photographing lens 14. The light receiving elements are two-dimensionally arranged on the light receiving surface of the imaging element 15. The image sensor 15 photoelectrically converts a subject image formed by a light beam that has passed through the photographing lens 14 to generate an analog image signal. The output of the image sensor 15 is connected to the image processing unit 16.
The image processing unit 16 has a custom chip specialized for image processing of the electronic camera 11. The image processing unit 16 executes A / D conversion of the output signal of the image sensor 15, various image processing and compression processing on the image data after A / D conversion, and the like. Here, the image processing unit 16 can generate still image data and moving image data. The still image data generated by the image processing unit 16 includes normal image data and RAW image data. The normal image data is still image data obtained by performing various types of image processing and compression processing on the output of the image sensor 15. The RAW image data is digital data for each pixel of the image sensor 15 recorded without performing any image processing.

メモリ17は、画像処理部16による画像処理の前工程または後工程でデータを一時的に保存する第1記録領域と、記録領域へのデータの書き込み/読み込みを制御するコントローラとを有する。また、メモリ17は、後述の記録媒体(26)の代わりに静止画像データまたは動画像データを保存するための第2記録領域を有していてもよい。なお、図1ではメモリ17の詳細な構成の図示は省略する。   The memory 17 includes a first recording area that temporarily stores data in a pre-process or post-process of image processing by the image processing unit 16, and a controller that controls writing / reading of data to / from the recording area. Further, the memory 17 may have a second recording area for storing still image data or moving image data instead of a recording medium (26) described later. In FIG. 1, the detailed configuration of the memory 17 is not shown.

記録I/F18には記録媒体26を接続するためのコネクタが形成されている。そして、記録I/F18は、コネクタに接続された記録媒体26に対して、静止画像データまたは動画像データの書き込み/読み込みを実行する。上記の記録媒体26は、半導体メモリを内蔵したカード型記録媒体や小型ハードディスクなどで構成される。なお、図1では記録媒体26の一例としてカード型記録媒体を図示する。   A connector for connecting the recording medium 26 is formed in the recording I / F 18. The recording I / F 18 executes writing / reading of still image data or moving image data with respect to the recording medium 26 connected to the connector. The recording medium 26 is composed of a card-type recording medium incorporating a semiconductor memory, a small hard disk, or the like. In FIG. 1, a card type recording medium is shown as an example of the recording medium 26.

レリーズ釦19はレリーズタイミングの指示入力をユーザーから受け付ける。操作部材20は、電子カメラ11のモード切替入力をユーザーから受け付ける。モード切替入力では、(1)通常画像データまたはRAW画像データを生成するノーマルモード、(2)静止画像データを連続的に生成する連写モード、(3)動画像データを生成する動画モードのいずれかをユーザーが選択することができる。また、操作部材20は、画像データの解像度(画素数)の設定や画像データの圧縮率の設定に関する入力をもユーザーから受け付ける。   The release button 19 receives a release timing instruction input from the user. The operation member 20 receives a mode switching input of the electronic camera 11 from the user. In the mode switching input, any one of (1) normal mode for generating normal image data or RAW image data, (2) continuous shooting mode for continuously generating still image data, and (3) moving image mode for generating moving image data Can be selected by the user. The operation member 20 also accepts input from the user regarding the setting of the resolution (number of pixels) of the image data and the setting of the compression rate of the image data.

表示部21は、例えば電子カメラ11の背面部分などに配置される。この表示部21には、電子カメラ11の各種設定を変更するための設定画面や静止画像データまたは動画像データの再生画像などが表示される。
通信I/F22は、USB(Universal Serial Bus)の規格に準拠した接続端子を有している。通信I/F22の接続端子には通信ケーブル13の一端が接続される。
The display unit 21 is disposed, for example, on the back portion of the electronic camera 11. The display unit 21 displays a setting screen for changing various settings of the electronic camera 11, a reproduced image of still image data or moving image data, and the like.
The communication I / F 22 has a connection terminal conforming to the USB (Universal Serial Bus) standard. One end of the communication cable 13 is connected to the connection terminal of the communication I / F 22.

通信制御部23は、USBの規格に準拠するホストコントローラを有している。そして、通信制御部23は外部記録装置12とのデータ通信をホスト側の立場で制御する。この通信制御部23は、USB1.1のFull−Speedモード(12MHz)およびUSB2.0のHigh−Speedモード(480MHz)でのデータ転送に対応している。   The communication control unit 23 has a host controller that conforms to the USB standard. The communication control unit 23 controls data communication with the external recording device 12 from the standpoint of the host side. The communication control unit 23 supports data transfer in the USB 1.1 Full-Speed mode (12 MHz) and the USB 2.0 High-Speed mode (480 MHz).

また、通信制御部23は、電子カメラ11に対する外部記録装置12の着脱の検出も行う。さらに、通信制御部23は、USB規格における上位層のプロトコルの1つであるマスストレージクラス(Mass Storage Class)の汎用ドライバを有している。そのため、マスストレージクラスの規格に対応する外部記憶装置12が電子カメラ11に接続された場合には、CPU25は上記の汎用ドライバを適用する。   The communication control unit 23 also detects whether the external recording device 12 is attached to or detached from the electronic camera 11. Furthermore, the communication control unit 23 has a general-purpose driver of a mass storage class that is one of the upper layer protocols in the USB standard. Therefore, when the external storage device 12 corresponding to the mass storage class standard is connected to the electronic camera 11, the CPU 25 applies the general-purpose driver described above.

ROM24には、電子カメラ11を動作させるシーケンスプログラムと、特定の外部記録装置12に対応する専用ドライバと、ストレージ判定テーブルのデータとが記録されている。
図2はストレージ判定テーブルの構成の一例を模式的に示す図である。ストレージ判定テーブルには、外部記録装置12の性能および撮影の設定状態に関する条件と、外部記録装置12を記録先に設定できるか否かを示す判定情報との対応関係が記録されている。図2では、横方向に列挙された項目が外部記録装置12の性能に関する条件を示す。また、図2では、縦方向に列挙された項目が撮影の設定状態に関する条件を示す。そして、図2では、各項目の組み合わせ毎に判定情報がそれぞれ対応付けされている。なお、図2の判定情報では、外部記録装置12を記録先に設定できる場合を丸印で示している。
In the ROM 24, a sequence program for operating the electronic camera 11, a dedicated driver corresponding to a specific external recording device 12, and data of a storage determination table are recorded.
FIG. 2 is a diagram schematically illustrating an example of the configuration of the storage determination table. In the storage determination table, a correspondence relationship between the conditions regarding the performance of the external recording device 12 and the shooting setting state and determination information indicating whether the external recording device 12 can be set as a recording destination is recorded. In FIG. 2, items listed in the horizontal direction indicate conditions regarding the performance of the external recording device 12. In FIG. 2, items listed in the vertical direction indicate conditions relating to the shooting setting state. In FIG. 2, determination information is associated with each combination of items. In the determination information of FIG. 2, the case where the external recording device 12 can be set as a recording destination is indicated by a circle.

上記の外部記録装置12の性能に関する条件には、(1)外部記録装置12が対応しているUSB規格の種類、(2)外部記録装置12の種類、(3)外部記録装置12によるデータの記録速度、(4)外部記録装置12の記録容量の残量、が挙げられる。また、上記の撮影の設定状態に関する条件には、(a)撮影する画像の解像度(画素数)、(b)撮影する画像の圧縮率、(c)撮影モードの設定、が挙げられる。なお、個々の条件のより詳細な説明については後述する。   The conditions regarding the performance of the external recording device 12 include: (1) the USB standard type supported by the external recording device 12, (2) the type of external recording device 12, and (3) the data of the external recording device 12 Recording speed, and (4) the remaining recording capacity of the external recording device 12. Further, the conditions relating to the shooting setting state include (a) the resolution (number of pixels) of the image to be shot, (b) the compression rate of the image to be shot, and (c) the setting of the shooting mode. A more detailed description of each condition will be described later.

CPU25は、ROM24に記録されたシーケンスプログラムに従って電子カメラ11の各部動作を制御する。また、CPU25は、上記のストレージ判定テーブルのデータに基づいて、画像データの記録先を決定する機能を有している。
一方、外部記録装置12は、USBの規格によるデータ通信が可能な公知の記録装置が該当する。例えば、外部記録装置12には、半導体メモリを備える記録装置や、磁気ディスクドライブ(ハードディスク、フレキシブルディスクなど)、光ディスクドライブ(CD、DVDなど)、光磁気ディスクドライブ(MOなど)、磁気テープ(DATなど)などにデータを記録する記録装置などが含まれる。なお、第1実施形態では外部記録装置12の一例として、マスストレージクラスの規格に対応するハードディスクドライブの例を便宜的に説明する。
The CPU 25 controls the operation of each part of the electronic camera 11 according to the sequence program recorded in the ROM 24. The CPU 25 has a function of determining the recording destination of the image data based on the data of the storage determination table.
On the other hand, the external recording device 12 corresponds to a known recording device capable of data communication according to the USB standard. For example, the external recording device 12 includes a recording device including a semiconductor memory, a magnetic disk drive (hard disk, flexible disk, etc.), an optical disk drive (CD, DVD, etc.), a magneto-optical disk drive (MO, etc.), a magnetic tape (DAT). Etc.) and the like are included. In the first embodiment, an example of a hard disk drive corresponding to the mass storage class standard will be described as an example of the external recording device 12 for convenience.

図1に示す外部記録装置12は、記録部31と、通信I/F32と、ROM33と、CPU34とを有している。
記録部31は、ディスク本体31aと、磁気ヘッド31bと、駆動機構部31cと、制御回路31dとを有している。ディスク本体31aは、表面に磁気材料を塗布した円盤状の磁気ディスクで構成されている。磁気ヘッド31bは、ディスク本体31aに対して非接触でデータの読み書きを行う。駆動機構部31cは、ディスク本体31aの回転と磁気ヘッド31bの駆動を行う。制御回路31dは、CPUからの指示により記録部31の各部を制御してデータの書き込み/読み込みを実行する。なお、制御回路31dは、CPU34の指示によって、記録部31の記録容量の残量を示す残容量データを出力する。
The external recording device 12 illustrated in FIG. 1 includes a recording unit 31, a communication I / F 32, a ROM 33, and a CPU 34.
The recording unit 31 includes a disk main body 31a, a magnetic head 31b, a drive mechanism unit 31c, and a control circuit 31d. The disk main body 31a is composed of a disk-shaped magnetic disk whose surface is coated with a magnetic material. The magnetic head 31b reads / writes data without contact with the disk main body 31a. The drive mechanism 31c rotates the disk main body 31a and drives the magnetic head 31b. The control circuit 31d controls each unit of the recording unit 31 according to an instruction from the CPU and executes data writing / reading. The control circuit 31d outputs remaining capacity data indicating the remaining recording capacity of the recording unit 31 in accordance with an instruction from the CPU 34.

通信I/F32は、USBの規格に準拠した接続端子を有している。通信I/F32の接続端子には通信ケーブル13の他端が接続されることとなる。ROM33には、外部記録装置12の性能データ(マスストレージクラスに対応する旨の情報、外部記録装置12が対応するUSBの規格の情報、外部記録装置12の型番など)が記録されている。
CPU34は、USBの規格に対応するデバイスコントローラを有している。そして、CPU34は、通信制御部23からの信号に基づいて、電子カメラ11とのデータ通信をスレーブ側の立場で制御する。また、CPU34は、ROM33に記録された性能データや記録部の残容量データなどを電子カメラ11に対して送信する。
The communication I / F 32 has a connection terminal conforming to the USB standard. The other end of the communication cable 13 is connected to the connection terminal of the communication I / F 32. The ROM 33 records performance data of the external recording device 12 (information indicating that it corresponds to the mass storage class, USB standard information compatible with the external recording device 12, model number of the external recording device 12, etc.).
The CPU 34 has a device controller corresponding to the USB standard. The CPU 34 controls data communication with the electronic camera 11 from the standpoint of the slave, based on the signal from the communication control unit 23. Further, the CPU 34 transmits performance data recorded in the ROM 33 and remaining capacity data of the recording unit to the electronic camera 11.

なお、CPU34は、少なくともUSB1.1のFull−Speedモードでのデータ転送に対応する。勿論、CPU34は、USB2.0のHigh−Speedモードでのデータ転送に対応するものであってもよい。
次に、図3および図4の流れ図を参照しつつ、第1実施形態における電子カメラ11の動作を説明する。なお、第1実施形態では、撮影モードがノーマルモードまたは連写モードに設定されることを前提とする。
Note that the CPU 34 supports at least data transfer in the USB 1.1 Full-Speed mode. Of course, the CPU 34 may support data transfer in the USB 2.0 High-Speed mode.
Next, the operation of the electronic camera 11 in the first embodiment will be described with reference to the flowcharts of FIGS. 3 and 4. In the first embodiment, it is assumed that the shooting mode is set to the normal mode or the continuous shooting mode.

ステップ101:ユーザーは電子カメラ11に外部記録装置12を接続する。電子カメラ11のCPU25は、通信制御部23を介して外部記録装置12との接続を検出すると、外部記録装置12に対して性能データの送信を要求する。そして、CPU25は、外部記録装置12からの返信によって性能データを取得する。このS101でCPU25が取得する性能データには、外部記録装置12の型番、マスストレージクラスの対応情報、USBの規格情報、外部記録装置12の残容量データなどが含まれる。   Step 101: The user connects the external recording device 12 to the electronic camera 11. When the CPU 25 of the electronic camera 11 detects a connection with the external recording device 12 via the communication control unit 23, the CPU 25 requests the external recording device 12 to transmit performance data. Then, the CPU 25 acquires performance data by a reply from the external recording device 12. The performance data acquired by the CPU 25 in S101 includes the model number of the external recording device 12, mass storage class correspondence information, USB standard information, remaining capacity data of the external recording device 12, and the like.

ステップ102:CPU25は、ユーザーが操作部材20で設定した撮影の設定状態を認識する。S102では、CPU25は、撮影モードの種類、画像データの解像度(画素数)の設定および画像データの圧縮率の設定を認識する。また、ノーマルモードの場合には、CPU25は画像データの方式情報(通常画像データ、RAW画像データのいずれを生成するかの情報)も取得する。   Step 102: The CPU 25 recognizes the shooting setting state set by the user using the operation member 20. In S102, the CPU 25 recognizes the type of shooting mode, the setting of the resolution (number of pixels) of the image data, and the setting of the compression rate of the image data. In the normal mode, the CPU 25 also acquires image data format information (information on which of normal image data and RAW image data is generated).

ステップ103:CPU25は、ストレージ判定テーブルに基づいて、性能データ(S101)および撮影の設定状態(S102)に対応する判定情報を取得する。そして、CPU25は、上記の判定情報によって、画像データの記録先として外部記録装置12を適用できるか否かを判定する。外部記録装置12を記録先に適用できる場合(YES側)には、CPU25は外部記録装置12を記録先として設定し、S104に移行する。一方、外部記録装置12を記録先に適用できない場合(NO側)には、CPU25は記録媒体26(またはメモリ17)を記録先として設定し、S116に移行する。   Step 103: The CPU 25 acquires determination information corresponding to the performance data (S101) and the shooting setting state (S102) based on the storage determination table. Then, the CPU 25 determines whether or not the external recording device 12 can be applied as a recording destination of the image data based on the determination information. If the external recording device 12 can be applied to the recording destination (YES side), the CPU 25 sets the external recording device 12 as the recording destination, and proceeds to S104. On the other hand, when the external recording device 12 cannot be applied to the recording destination (NO side), the CPU 25 sets the recording medium 26 (or memory 17) as the recording destination, and proceeds to S116.

ここで、S103での判定の内容を、図2のストレージ判定テーブルを参照しつつ説明する。CPU25は、以下の第1から第3の判定による判定結果の論理積を求める。そして、CPU25は、第1から第3のすべての判定で適用可能となった場合のみ、最終的に外部記録装置12を記録先に適用できると判定する。
(1)CPU25は、USBの規格情報と撮影の設定状態(S102)とに基づいて第1の判定を行う。具体的には、外部記録装置12がUSB2.0に対応している場合には、CPU25は外部記録装置12を記録先に適用できると判定する。この場合には、外部記録装置12に対して上記のHigh−Speedモードでの高速なデータ転送が可能となるからである。
Here, the contents of the determination in S103 will be described with reference to the storage determination table of FIG. CPU25 calculates | requires the logical product of the determination result by the following 1st to 3rd determination. Then, the CPU 25 finally determines that the external recording device 12 can be applied to the recording destination only when all of the first to third determinations are applicable.
(1) The CPU 25 performs the first determination based on the USB standard information and the shooting setting state (S102). Specifically, when the external recording device 12 is compatible with USB 2.0, the CPU 25 determines that the external recording device 12 can be applied to the recording destination. In this case, it is possible to transfer data to the external recording device 12 at high speed in the above-described High-Speed mode.

一方、外部記録装置12がUSB1.1にのみ対応している場合には、(a)画像データの解像度(画素数)が所定の閾値である第1画素数よりも低く、(b)画像の圧縮率が所定の閾値である第1圧縮率よりも高く、かつ(c)ノーマルモードで通常画像データを撮影する、という全ての条件を満たす場合のみ、CPU25は外部記録装置12を記録先に適用できると判定する。上記の条件に合致する場合は転送対象となる画像データのデータ量が小さくなるため、上記のFull−Speedモードのデータ転送でも対応できると考えられるからである。なお、第1の判定において、低解像度で高圧縮率となる場合としては、例えば、1フレームのデータ量が500kByte程度までに収まる状態を想定している。   On the other hand, when the external recording device 12 supports only USB 1.1, (a) the resolution (number of pixels) of the image data is lower than the first pixel number that is a predetermined threshold, and (b) The CPU 25 applies the external recording device 12 to the recording destination only when the compression ratio is higher than the first compression ratio, which is a predetermined threshold, and (c) the normal image data is captured in the normal mode. Judge that it is possible. This is because if the above conditions are met, the amount of image data to be transferred becomes small, and it is considered that the data transfer in the Full-Speed mode can be handled. Note that, in the first determination, as a case where the compression rate is low and the compression rate is high, for example, it is assumed that the data amount of one frame falls within about 500 kBytes.

(2)CPU25は、外部記録装置12の種類に基づいて第2の判定を行う。具体的には、外部記録装置12がマスストレージクラスに対応している場合には、CPU25は外部記録装置12を記録先に適用できると判定する。また、外部記録装置12の種類がハードディスクドライブまたはフラッシュメモリ(半導体メモリ)である場合には、CPU25は外部記録装置12を記録先に適用できると判定する。上記の場合には外部記録装置12に対して画像データを比較的高速に書き込むことができるからである。   (2) The CPU 25 performs the second determination based on the type of the external recording device 12. Specifically, when the external recording device 12 supports the mass storage class, the CPU 25 determines that the external recording device 12 can be applied to the recording destination. When the type of the external recording device 12 is a hard disk drive or a flash memory (semiconductor memory), the CPU 25 determines that the external recording device 12 can be applied as a recording destination. This is because in the above case, image data can be written to the external recording device 12 at a relatively high speed.

(3)CPU25は、外部記録装置12の残容量データに基づいて第3の判定を行う。具体的には、残容量が閾値以上の場合にはCPU25は外部記録装置12を記録先に適用できると判定する。一方、残容量が閾値未満の場合には、(a)画像データの解像度(画素数)が第1画素数よりも低く、(b)画像の圧縮率が第1圧縮率よりも高く、かつ(c)ノーマルモードまたは連写モードに設定されている、という全ての条件を満たす場合に、CPU25は外部記録装置12を記録先に適用できると判定する。上記の条件に合致する場合は画像データのデータ量が小さくなるため、外部記録装置12に所定枚数の画像を記録できるからである。なお、第3の判定の閾値は、例えば、数十MByte程度に設定される。   (3) The CPU 25 performs the third determination based on the remaining capacity data of the external recording device 12. Specifically, when the remaining capacity is equal to or larger than the threshold, the CPU 25 determines that the external recording device 12 can be applied to the recording destination. On the other hand, when the remaining capacity is less than the threshold, (a) the resolution (number of pixels) of the image data is lower than the first number of pixels, (b) the compression rate of the image is higher than the first compression rate, and ( c) When all the conditions that the normal mode or the continuous shooting mode is set are satisfied, the CPU 25 determines that the external recording device 12 can be applied to the recording destination. This is because when the above conditions are met, the data amount of the image data becomes small, so that a predetermined number of images can be recorded on the external recording device 12. Note that the threshold value for the third determination is set to, for example, about several tens of MBytes.

ステップ104:CPU25は、外部記録装置12を記録先に設定する旨を表示部21に表示する。
ステップ104a:CPU25は、撮影の設定状態が変更されたか否かを判定する。撮影の設定状態が変更された場合(YES側)にはS102に移行する。この場合には、CPU25が変更後の設定状態に基づいてS103で再判定を行うこととなる。一方、撮影の設定状態がそのままの場合(NO側)にはS105に移行する。
Step 104: The CPU 25 displays on the display unit 21 that the external recording device 12 is set as the recording destination.
Step 104a: The CPU 25 determines whether or not the shooting setting state has been changed. When the shooting setting state is changed (YES side), the process proceeds to S102. In this case, the CPU 25 performs the determination again in S103 based on the changed setting state. On the other hand, when the shooting setting state is unchanged (NO side), the process proceeds to S105.

ステップ105:CPU25は、ユーザーによってレリーズ釦19が押圧されたか否かを判定する。レリーズ釦19が押圧された場合(YES側)にはS106に移行する。一方、レリーズ釦19の押圧がない場合(NO側)には、CPU25はレリーズ釦19の押圧を待機する。
ステップ106:CPU25は、撮像素子15を駆動させて被写体を撮影する。そして、画像処理部16は、S102の設定状態に対応する画像データを生成する。
Step 105: The CPU 25 determines whether or not the release button 19 has been pressed by the user. When the release button 19 is pressed (YES side), the process proceeds to S106. On the other hand, when the release button 19 is not pressed (NO side), the CPU 25 waits for the release button 19 to be pressed.
Step 106: The CPU 25 drives the image sensor 15 to photograph the subject. Then, the image processing unit 16 generates image data corresponding to the setting state in S102.

ステップ107:CPU25は、画像データを外部記録装置12に送信する。このとき、CPU25は送信開始とともにタイムカウントを開始する。
一方、外部記録装置12のCPU34は、受信した画像データを記録部31(図1の例ではハードディスク)に書き込んで記録する。その後、外部記録装置12のCPU34は、記録終了を示す信号を通信制御部23に対して返信する。
Step 107: The CPU 25 transmits the image data to the external recording device 12. At this time, the CPU 25 starts time counting as soon as transmission starts.
On the other hand, the CPU 34 of the external recording device 12 writes and records the received image data in the recording unit 31 (hard disk in the example of FIG. 1). Thereafter, the CPU 34 of the external recording device 12 returns a signal indicating the end of recording to the communication control unit 23.

ステップ108:CPU25は、記録終了を示す信号を受信したか否かを判定する。上記の信号を受信した場合(YES側)にはS111に移行する。このとき、CPU25はS107からのタイムカウントを終了する。一方、上記の信号を受信しない場合(NO側)にはS109に移行する。
ステップ109:CPU25は、外部記録装置12との接続解除が検出されたか否かを判定する。接続解除が検出された場合(YES側)には外部記録装置12を記録先に適用できないのでS114に移行する。一方、接続解除されていない場合(NO側)にはS110に移行する。なお、外部記録装置12との接続解除が検出される状況としては、通信ケーブル13が抜けた場合や外部記録装置12の電源がオフとなる場合などが挙げられる。
Step 108: The CPU 25 determines whether or not a signal indicating the end of recording has been received. When the above signal is received (YES side), the process proceeds to S111. At this time, the CPU 25 ends the time count from S107. On the other hand, when the above signal is not received (NO side), the process proceeds to S109.
Step 109: The CPU 25 determines whether or not the connection with the external recording device 12 is detected. If disconnection is detected (YES side), the external recording device 12 cannot be applied to the recording destination, and the process proceeds to S114. On the other hand, if the connection is not released (NO side), the process proceeds to S110. Note that situations in which disconnection from the external recording device 12 is detected include a case where the communication cable 13 is disconnected or a case where the power of the external recording device 12 is turned off.

ステップ110:CPU25はS107の送信開始から所定時間経過したか(タイムアウトしたか)否かを判定する。タイムアウトした場合(YES側)には、外部記録装置12を記録先に適用できないのでS114に移行する。一方、タイムアウトしていない場合(NO側)にはS108に戻る。
ステップ111:CPU25は、撮影を継続するか否かを判定する。撮影を継続する場合(YES側)にはS112に移行する。一方、撮影を終了する場合(NO側)には、CPU25はそのまま処理を終了する。
Step 110: The CPU 25 determines whether or not a predetermined time has elapsed from the start of transmission in S107 (whether it has timed out). If the timeout has occurred (YES side), the external recording device 12 cannot be applied to the recording destination, and the process proceeds to S114. On the other hand, if the timeout has not occurred (NO side), the process returns to S108.
Step 111: The CPU 25 determines whether or not to continue shooting. When photographing is continued (YES side), the process proceeds to S112. On the other hand, when the photographing is finished (NO side), the CPU 25 finishes the process as it is.

ステップ112:CPU25は、S107からS108までのタイムカウントに基づいて、外部記録装置12による記録速度の実測値を取得する。また、CPU25は、外部記録装置12の現在の残容量のデータを取得する。このS112での残容量のデータは、外部記録装置12からCPU25が取得するようにしてもよい。あるいは、S101で取得した残容量と今回送信した画像データのデータ量(S107)とからCPU25が外部記録装置12の残容量を演算して求めてもよい。   Step 112: The CPU 25 acquires an actual value of the recording speed by the external recording device 12 based on the time count from S107 to S108. In addition, the CPU 25 acquires current remaining capacity data of the external recording device 12. The CPU 25 may acquire the remaining capacity data in S112 from the external recording device 12. Alternatively, the CPU 25 may calculate the remaining capacity of the external recording device 12 from the remaining capacity acquired in S101 and the data amount of the image data transmitted this time (S107).

ステップ113:CPU25は、S112で得られた性能データ(記録速度の実測値および現在の残容量)に基づいて、外部記録装置12に次回の画像データを記録できるか否かを判定する。次回の画像データを記録できる場合(YES側)にはS104aに戻って、CPU25は上記動作を繰り返す。一方、次回の画像データを記録できない場合(NO側)にはS116に移行する。   Step 113: The CPU 25 determines whether or not the next image data can be recorded in the external recording device 12 based on the performance data (measured value of recording speed and current remaining capacity) obtained in S112. If the next image data can be recorded (YES side), the process returns to S104a, and the CPU 25 repeats the above operation. On the other hand, if the next image data cannot be recorded (NO side), the process proceeds to S116.

ステップ114:この場合には、CPU25は、外部記録装置12に画像データを記録できない旨(NG表示)を表示部21に表示する。
ステップ115:CPU25は、画像データの記録先を電子カメラ11の記録媒体26(またはメモリ17)に切り替える。そして、CPU25は、外部記録装置12に記録できなかった画像データを記録媒体26などに記録する。なお、撮影をさらに継続する場合、以後の画像データはすべて記録媒体26またはメモリ17に書き込まれることとなる。
Step 114: In this case, the CPU 25 displays on the display unit 21 that image data cannot be recorded on the external recording device 12 (NG display).
Step 115: The CPU 25 switches the image data recording destination to the recording medium 26 (or memory 17) of the electronic camera 11. Then, the CPU 25 records the image data that could not be recorded on the external recording device 12 on the recording medium 26 or the like. Note that, when further photographing is performed, all subsequent image data is written in the recording medium 26 or the memory 17.

ステップ116:この場合には、CPU25は、外部記録装置12に画像データを記録できない旨(NG表示)を表示部に表示する。
ステップ117:CPU25は、撮影の設定状態が変更されたか否かを判定する。撮影の設定状態が変更された場合(YES側)にはS102に移行する。この場合には、CPU25が変更後の設定状態に基づいてS103で再判定を行うこととなる。一方、撮影の設定状態がそのままの場合(NO側)にはS118に移行する。
Step 116: In this case, the CPU 25 displays on the display section that the image data cannot be recorded on the external recording device 12 (NG display).
Step 117: The CPU 25 determines whether or not the shooting setting state has been changed. When the shooting setting state is changed (YES side), the process proceeds to S102. In this case, the CPU 25 performs the determination again in S103 based on the changed setting state. On the other hand, when the shooting setting state is unchanged (NO side), the process proceeds to S118.

ステップ118:CPU25は、ユーザーによってレリーズ釦19が押圧されたか否かを判定する。レリーズ釦19が押圧された場合(YES側)にはS119に移行する。一方、レリーズ釦19の押圧がない場合(NO側)には、CPU25はレリーズ釦19の押圧を待機する。
ステップ119:CPU25は、撮像素子15を駆動させて被写体を撮影する。そして、画像処理部16は、S102の設定状態に対応する画像データを生成する。そして、CPU25は、画像データを電子カメラ11の記録媒体26(またはメモリ17)に記録する。
Step 118: The CPU 25 determines whether or not the release button 19 has been pressed by the user. When the release button 19 is pressed (YES side), the process proceeds to S119. On the other hand, when the release button 19 is not pressed (NO side), the CPU 25 waits for the release button 19 to be pressed.
Step 119: The CPU 25 drives the image sensor 15 to photograph the subject. Then, the image processing unit 16 generates image data corresponding to the setting state in S102. Then, the CPU 25 records the image data on the recording medium 26 (or memory 17) of the electronic camera 11.

ステップ120:CPU25は、撮影を継続するか否かを判定する。撮影を継続する場合(YES側)にはS117に移行する。一方、撮影を終了する場合(NO側)には、CPU25はそのまま処理を終了する。以上で第1実施形態の動作説明を終了する。
以下、第1実施形態の作用を説明する。第1実施形態では、性能データ(S101)および撮影の設定状態(S102)に基づいて、画像データの記録先として外部記録装置12を適用できるか否かが判定される(S103)。そして、外部記録装置12を記録先に適用できる場合には、撮影時に画像データが外部記録装置12に直接記録される(S107)。また、その後に外部記録装置12が記録先に適さないとされた場合には、電子カメラ11の記録媒体26などに記録先が切り替えられる(S115)。さらに、外部記録装置12が記録先に適さないと判定された場合にも、その後に撮影モード等の変更があった場合には再判定が行われる(S117、S103)。
Step 120: The CPU 25 determines whether or not to continue shooting. When photographing is continued (YES side), the process proceeds to S117. On the other hand, when the photographing is finished (NO side), the CPU 25 finishes the process as it is. This is the end of the description of the operation of the first embodiment.
Hereinafter, the operation of the first embodiment will be described. In the first embodiment, based on the performance data (S101) and the shooting setting state (S102), it is determined whether or not the external recording device 12 can be applied as a recording destination of image data (S103). If the external recording device 12 can be applied to the recording destination, the image data is directly recorded on the external recording device 12 at the time of shooting (S107). If it is determined that the external recording device 12 is not suitable for the recording destination thereafter, the recording destination is switched to the recording medium 26 of the electronic camera 11 (S115). Furthermore, even when it is determined that the external recording device 12 is not suitable for the recording destination, if the shooting mode or the like is subsequently changed, the determination is performed again (S117, S103).

したがって、第1実施形態では大容量の外部記録装置12を撮影時においても有効に活用できる。そして、画像データの記録先を適切に設定することによって、電子カメラ11の利便性が大幅に向上する。
(第2実施形態の説明)
図5は、第2実施形態における電子カメラ11の動作を説明する流れ図である。この第2実施形態では、撮影モードが動画モードに設定されることを前提とする。かかる第2実施形態では動画撮影時に大容量の外部記録装置12を有効に活用することで、より長時間の動画撮影を実現しうる。
Therefore, in the first embodiment, the large-capacity external recording device 12 can be effectively used even during shooting. The convenience of the electronic camera 11 is greatly improved by appropriately setting the recording destination of the image data.
(Description of Second Embodiment)
FIG. 5 is a flowchart for explaining the operation of the electronic camera 11 in the second embodiment. In the second embodiment, it is assumed that the shooting mode is set to the moving image mode. In the second embodiment, it is possible to realize a longer-time moving image shooting by effectively utilizing the large-capacity external recording device 12 when shooting a moving image.

ここで、以下の実施形態では、電子カメラ11および外部記録装置12の構成は第1実施形態と共通するので同一符号を付して重複説明を省略する。なお、図5のS201は図3のS101に対応するので重複説明を省略する。
ステップ202:CPU25は、ユーザーが操作部材20で設定した撮影の設定状態を認識する。S202では、CPU25は、動画モードでの解像度(画素数)の設定および画像データの圧縮率の設定を認識する。
Here, in the following embodiment, since the configurations of the electronic camera 11 and the external recording device 12 are the same as those in the first embodiment, the same reference numerals are given and redundant description is omitted. Note that S201 in FIG. 5 corresponds to S101 in FIG.
Step 202: The CPU 25 recognizes the shooting setting state set by the user using the operation member 20. In S202, the CPU 25 recognizes the setting of the resolution (number of pixels) in the moving image mode and the setting of the compression rate of the image data.

ステップ203:CPU25は、ストレージ判定テーブルに基づいて、性能データ(S201)および撮影の設定状態(S202)に対応する判定情報を取得する。そして、CPU25は、上記の判定情報によって、画像データの記録先として外部記録装置12を適用できるか否かを判定する。外部記録装置12を記録先に適用できる場合(YES側)には、CPU25は外部記録装置12を記録先として設定し、S204に移行する。一方、外部記録装置12を記録先に適用できない場合(NO側)には、CPU25は記録媒体26(またはメモリ17)を記録先として設定し、S209に移行する。   Step 203: The CPU 25 acquires determination information corresponding to the performance data (S201) and the shooting setting state (S202) based on the storage determination table. Then, the CPU 25 determines whether or not the external recording device 12 can be applied as a recording destination of the image data based on the determination information. When the external recording device 12 can be applied to the recording destination (YES side), the CPU 25 sets the external recording device 12 as the recording destination, and proceeds to S204. On the other hand, when the external recording device 12 cannot be applied to the recording destination (NO side), the CPU 25 sets the recording medium 26 (or memory 17) as the recording destination, and proceeds to S209.

ここで、S203での判定の内容を、図2のストレージ判定テーブルを参照しつつ説明する。CPU25は、以下の第1から第3の判定による判定結果の論理積を求める。そして、CPUは、第1から第3のすべての判定で適用可能となった場合のみ、最終的に外部記録装置を記録先に適用できると判定する。
(1)CPU25は、USBの規格情報に基づいて第1の判定を行う。具体的には、外部記録装置12がUSB2.0に対応している場合には、CPU25は外部記録装置12を記録先に適用できると判定する。この場合には、外部記録装置12に対して上記のHigh−Speedモードでの高速なデータ転送が可能となるからである。一方、外部記録装置12がUSB2.0に対応していない場合には、外部記録装置12を記録先に適用できないと判定する。
Here, the contents of the determination in S203 will be described with reference to the storage determination table of FIG. CPU25 calculates | requires the logical product of the determination result by the following 1st to 3rd determination. Then, the CPU determines that the external recording device can be finally applied to the recording destination only when it can be applied by all the first to third determinations.
(1) The CPU 25 performs the first determination based on the USB standard information. Specifically, when the external recording device 12 is compatible with USB 2.0, the CPU 25 determines that the external recording device 12 can be applied to the recording destination. In this case, it is possible to transfer data to the external recording device 12 at high speed in the above-described High-Speed mode. On the other hand, if the external recording device 12 does not support USB 2.0, it is determined that the external recording device 12 cannot be applied to the recording destination.

(2)CPU25は、外部記録装置12の種類に基づいて第2の判定を行う。なお、この判定の内容は、図3のS103で説明した第2の判定と共通するので重複説明を省略する。
(3)CPU25は、外部記録装置12の残容量データに基づいて第3の判定を行う。なお、この判定の内容は、図3のS103で説明した第3の判定と共通するので重複説明を省略する。
(2) The CPU 25 performs the second determination based on the type of the external recording device 12. Note that the content of this determination is common to the second determination described in S103 of FIG.
(3) The CPU 25 performs the third determination based on the remaining capacity data of the external recording device 12. Note that the contents of this determination are the same as those of the third determination described in S103 of FIG.

ステップ204:CPU25は、外部記録装置12を記録先に設定する旨を表示部21に表示する。
ステップ205:CPU25は、ユーザーによってレリーズ釦19が押圧されたか否かを判定する。レリーズ釦19が押圧された場合(YES側)にはS206に移行する。一方、レリーズ釦19の押圧がない場合(NO側)には、CPU25はレリーズ釦19の押圧を待機する。
Step 204: The CPU 25 displays on the display unit 21 that the external recording device 12 is set as the recording destination.
Step 205: The CPU 25 determines whether or not the release button 19 has been pressed by the user. When the release button 19 is pressed (YES side), the process proceeds to S206. On the other hand, when the release button 19 is not pressed (NO side), the CPU 25 waits for the release button 19 to be pressed.

ステップ206:CPU25は、撮像素子15を駆動させて動画撮影を開始する。画像処理部16は、S202での設定に基づいて動画像データを生成する。そして、CPU25は、動画像データを外部記録装置12に送信する。
一方、外部記録装置12のCPU34は、受信した動画像データを記録部31(図1の例ではハードディスク)に書き込んで記録する。このとき、外部記録装置12のCPU34は、記録部31の残容量を示す残容量データを電子カメラ11側に逐次送信する。
Step 206: The CPU 25 drives the image sensor 15 to start moving image shooting. The image processing unit 16 generates moving image data based on the setting in S202. Then, the CPU 25 transmits moving image data to the external recording device 12.
On the other hand, the CPU 34 of the external recording device 12 writes and records the received moving image data in the recording unit 31 (hard disk in the example of FIG. 1). At this time, the CPU 34 of the external recording device 12 sequentially transmits remaining capacity data indicating the remaining capacity of the recording unit 31 to the electronic camera 11 side.

ステップ207:CPU25は、動画撮影を継続するか否かを判定する。ユーザーによってレリーズ釦19が再押圧されていない場合、CPU25は撮影を継続すると判断して(YES側)、S208に移行する。一方、ユーザーによってレリーズ釦19が再押圧された場合、CPU25は撮影を終了すると判断して(NO側)、動画撮影を終了する。
ステップ208:CPU25は、外部記録装置12の残容量が閾値以下となったか否かを判定する。残容量が閾値以下となった場合(YES側)にはCPU25は動画撮影を打ち切ってS208aに移行する。一方、残容量が閾値を上回る場合にはS207に戻って、CPU25は動画撮影を継続する。
Step 207: The CPU 25 determines whether or not to continue moving image shooting. If the release button 19 has not been pressed again by the user, the CPU 25 determines to continue shooting (YES side), and proceeds to S208. On the other hand, when the release button 19 is pressed again by the user, the CPU 25 determines that the shooting is to be ended (NO side) and ends the moving image shooting.
Step 208: The CPU 25 determines whether or not the remaining capacity of the external recording device 12 is equal to or less than a threshold value. When the remaining capacity is equal to or less than the threshold value (YES side), the CPU 25 stops moving image shooting and proceeds to S208a. On the other hand, if the remaining capacity exceeds the threshold value, the process returns to S207, and the CPU 25 continues to capture the moving image.

ステップ208a:CPU25は、外部記録装置12の残容量が閾値以下となったため動画像データの記録を終了した旨(NG表示)を表示部21に表示して、処理を終了する。
ステップ209:この場合には、CPU25は、外部記録装置12に動画像データを記録できない旨(NG表示)を表示部21に表示する。
Step 208a: The CPU 25 displays on the display unit 21 that the recording of the moving image data has ended (NG display) because the remaining capacity of the external recording device 12 has become equal to or less than the threshold value, and ends the process.
Step 209: In this case, the CPU 25 displays on the display unit 21 that the moving image data cannot be recorded on the external recording device 12 (NG display).

ステップ210:CPU25は、ユーザーによってレリーズ釦19が押圧されたか否かを判定する。レリーズ釦19が押圧された場合(YES側)にはS211に移行する。一方、レリーズ釦19の押圧がない場合(NO側)には、CPU25はレリーズ釦19の押圧を待機する。
ステップ211:CPU25は、撮像素子15を駆動させて動画撮影を開始する。画像処理部16は、S202での設定に基づいて動画像データを生成する。そして、CPU25は、動画像データを電子カメラ11の記録媒体26(またはメモリ17)に記録する。
Step 210: The CPU 25 determines whether or not the release button 19 has been pressed by the user. When the release button 19 is pressed (YES side), the process proceeds to S211. On the other hand, when the release button 19 is not pressed (NO side), the CPU 25 waits for the release button 19 to be pressed.
Step 211: The CPU 25 drives the image sensor 15 to start moving image shooting. The image processing unit 16 generates moving image data based on the setting in S202. Then, the CPU 25 records the moving image data on the recording medium 26 (or the memory 17) of the electronic camera 11.

ステップ212:CPU25は、動画撮影を継続するか否かを判定する。ユーザーによってレリーズ釦19が再押圧されていない場合、CPU25は撮影を継続すると判断して(YES側)、S213に移行する。一方、ユーザーによってレリーズ釦19が再押圧された場合、CPU25は撮影を終了すると判断して(NO側)、動画撮影を終了する。
ステップ213:CPU25は、記録媒体26等の残容量が閾値以下となったか否かを判定する。残容量が閾値以下となった場合(YES側)にはCPU25は動画撮影を打ち切ってS213aに移行する。一方、残容量が閾値を上回る場合にはS212に戻って、CPU25は動画撮影を継続する。
Step 212: The CPU 25 determines whether or not to continue moving image shooting. If the release button 19 has not been pressed again by the user, the CPU 25 determines to continue shooting (YES side), and proceeds to S213. On the other hand, when the release button 19 is pressed again by the user, the CPU 25 determines that the shooting is to be ended (NO side) and ends the moving image shooting.
Step 213: The CPU 25 determines whether or not the remaining capacity of the recording medium 26 or the like has become a threshold value or less. When the remaining capacity is equal to or less than the threshold value (YES side), the CPU 25 stops moving image shooting and proceeds to S213a. On the other hand, if the remaining capacity exceeds the threshold value, the process returns to S212, and the CPU 25 continues to capture the moving image.

ステップ213a:CPU25は、記録媒体26(またはメモリ17)の残容量が閾値以下となったため動画像データの記録を終了した旨(NG表示)を表示部21に表示して、処理を終了する。以上で第2実施形態の動作説明を終了する。
(第3実施形態の説明)
図6および図7は、第3実施形態における電子カメラ11の動作を説明する流れ図である。この第3実施形態では、テストデータによって外部記録装置12の性能データを取得する点で第1実施形態と相違する。かかる第3実施形態によっても第1実施形態とほぼ共通の作用を得ることができる。
Step 213a: The CPU 25 displays on the display unit 21 that the recording of the moving image data has been completed (NG display) because the remaining capacity of the recording medium 26 (or the memory 17) has become equal to or less than the threshold value, and ends the processing. This is the end of the description of the operation of the second embodiment.
(Description of the third embodiment)
6 and 7 are flowcharts for explaining the operation of the electronic camera 11 in the third embodiment. The third embodiment is different from the first embodiment in that performance data of the external recording device 12 is acquired from test data. Also according to the third embodiment, substantially the same operation as that of the first embodiment can be obtained.

ここで、第3実施形態では、撮影モードがノーマルモードまたは連写モードに設定されることを前提とする。なお、図6、図7のS316からS322は、図3、図4のS114からS120までにそれぞれ対応するので重複説明を省略する。
ステップ301:ユーザーは電子カメラ11に外部記録装置12を接続する。電子カメラ11のCPU25は、通信制御部23を介して外部記録装置12との接続を検出すると、外部記録装置12への書き込みテストを開始する。具体的には、CPU25は外部記録装置12に対してテストデータを送信するとともにタイムカウントを開始する。なお、S301のテストデータには、例えば1MByte程度の画像データが用いられる。
Here, in the third embodiment, it is assumed that the shooting mode is set to the normal mode or the continuous shooting mode. 6 and 7 correspond to steps S114 to S120 in FIG. 3 and FIG.
Step 301: The user connects the external recording device 12 to the electronic camera 11. When the CPU 25 of the electronic camera 11 detects a connection with the external recording device 12 via the communication control unit 23, the CPU 25 starts a test for writing to the external recording device 12. Specifically, the CPU 25 transmits test data to the external recording device 12 and starts time counting. For example, image data of about 1 MByte is used as the test data in S301.

ステップ302:CPU25は、外部記録装置12からテストデータの記録終了を示す信号を受信したか否かを判定する。上記の信号を受信した場合(YES側)にはS304に移行する。このとき、CPU25はS301からのタイムカウントを終了する。一方、上記の信号を受信しない場合(NO側)にはS303に移行する。
ステップ303:CPU25は、テストデータの送信から所定時間経過したか(タイムアウトしたか)否かを判定する。タイムアウトした場合(YES側)には、外部記録装置12を記録先に適用できないのでS316に移行する。一方、タイムアウトしていない場合(NO側)にはS302に戻る。
Step 302: The CPU 25 determines whether or not a signal indicating the end of recording test data is received from the external recording device 12. When the above signal is received (YES side), the process proceeds to S304. At this time, the CPU 25 ends the time count from S301. On the other hand, when the above signal is not received (NO side), the process proceeds to S303.
Step 303: The CPU 25 determines whether or not a predetermined time has elapsed from the transmission of the test data (timeout). If the time-out has occurred (YES side), the external recording device 12 cannot be applied to the recording destination, and the process proceeds to S316. On the other hand, if the timeout has not occurred (NO side), the process returns to S302.

ステップ304:CPU25は、S301からS302までのタイムカウントに基づいて、外部記録装置12による記録速度の実測値を取得する。また、CPU25は、外部記録装置12の残容量のデータを外部記録装置12から取得する。
ステップ305:CPU25は、ユーザーが操作部材20で設定した撮影の設定状態を認識する。なお、このS305は図3のS102に対応するので重複説明は省略する。
Step 304: The CPU 25 obtains an actual recording speed value measured by the external recording device 12 based on the time count from S301 to S302. Further, the CPU 25 acquires the remaining capacity data of the external recording device 12 from the external recording device 12.
Step 305: The CPU 25 recognizes the shooting setting state set by the user with the operation member 20. Note that S305 corresponds to S102 of FIG.

ステップ306:CPU25は、ストレージ判定テーブルに基づいて、性能データ(S304)および撮影の設定状態(S305)に対応する判定情報を取得する。そして、CPU25は、上記の判定情報によって、画像データの記録先として外部記録装置12を適用できるか否かを判定する。外部記録装置12を記録先に適用できる場合(YES側)には、CPU25は外部記録装置12を記録先として設定し、S307に移行する。一方、外部記録装置12を記録先に適用できない場合(NO側)には、CPU25は記録媒体26(またはメモリ17)を記録先として設定し、S318に移行する。   Step 306: The CPU 25 acquires determination information corresponding to the performance data (S304) and the shooting setting state (S305) based on the storage determination table. Then, the CPU 25 determines whether or not the external recording device 12 can be applied as a recording destination of the image data based on the determination information. When the external recording device 12 can be applied to the recording destination (YES side), the CPU 25 sets the external recording device 12 as the recording destination, and proceeds to S307. On the other hand, when the external recording device 12 cannot be applied to the recording destination (NO side), the CPU 25 sets the recording medium 26 (or the memory 17) as the recording destination, and proceeds to S318.

ここで、S306での判定の内容を、図2のストレージ判定テーブルを参照しつつ説明する。CPU25は、以下の第1の判定および第2の判定による判定結果の論理積を求める。そして、CPU25は、第1および第2の判定で適用可能となった場合のみ、最終的に外部記録装置12を記録先に適用できると判定する。
(1)CPU25は、記録速度の実測値(S304)と撮影の設定状態(S305)とに基づいて第1の判定を行う。例えば、外部記録装置12の記録速度が2MByte/sec以上であれば、CPU25は、動画モードも含めて外部記録装置12を記録先に適用できると判定する。また、外部記録装置12の記録速度が1MByte/sec以上2MByte/sec未満であれば、ノーマルモードで通常画像データを撮影する場合のみ、CPU25は外部記録装置12を記録先に適用できると判定する。そして、外部記録装置12の記録速度が0.5MByte/sec以上1MByte/sec未満であれば、ノーマルモードで通常画像データを撮影する場合において、データの解像度(画素数)が第1画素数よりも低く、画像の圧縮率が第1圧縮率よりも高いという条件下(すなわち、1フレームのデータ量が500kByte程度までに収まる状態)でのみ、CPU25は外部記録装置12を記録先に適用できると判定する。
Here, the contents of the determination in S306 will be described with reference to the storage determination table of FIG. CPU25 calculates | requires the logical product of the determination result by the following 1st determination and 2nd determination. Then, the CPU 25 finally determines that the external recording device 12 can be applied to the recording destination only when it is applicable in the first and second determinations.
(1) The CPU 25 performs the first determination based on the measured value of the recording speed (S304) and the shooting setting state (S305). For example, if the recording speed of the external recording device 12 is 2 MByte / sec or more, the CPU 25 determines that the external recording device 12 can be applied to the recording destination including the moving image mode. If the recording speed of the external recording device 12 is 1 Mbyte / sec or more and less than 2 MByte / sec, the CPU 25 determines that the external recording device 12 can be applied to the recording destination only when normal image data is captured in the normal mode. If the recording speed of the external recording device 12 is 0.5 Mbyte / sec or more and less than 1 MByte / sec, the resolution (number of pixels) of the data is higher than the first number of pixels when normal image data is captured in the normal mode. The CPU 25 determines that the external recording device 12 can be applied to the recording destination only under the condition that the image compression ratio is low and higher than the first compression ratio (that is, the data amount of one frame is within about 500 kbytes). To do.

(2)CPU25は、外部記録装置12の残容量データに基づいて第2の判定を行う。なお、この判定の内容は、図3のS103で説明した第3の判定と共通するので重複説明を省略する。
ステップ307:CPU25は、外部記録装置12を記録先に設定する旨を表示部21に表示する。
(2) The CPU 25 performs the second determination based on the remaining capacity data of the external recording device 12. Note that the contents of this determination are the same as those of the third determination described in S103 of FIG.
Step 307: The CPU 25 displays on the display unit 21 that the external recording device 12 is set as the recording destination.

ステップ307a:CPU25は、撮影の設定状態が変更されたか否かを判定する。撮影の設定状態が変更された場合(YES側)にはS305に移行する。この場合には、CPU25が変更後の設定状態に基づいてS306で再判定を行うこととなる。一方、撮影の設定状態がそのままの場合(NO側)にはS308に移行する。
ステップ308:CPU25は、ユーザーによってレリーズ釦19が押圧されたか否かを判定する。レリーズ釦19が押圧された場合(YES側)にはS309に移行する。一方、レリーズ釦19の押圧がない場合(NO側)には、CPU25はレリーズ釦19の押圧を待機する。
Step 307a: The CPU 25 determines whether or not the shooting setting state has been changed. When the shooting setting state is changed (YES side), the process proceeds to S305. In this case, the CPU 25 performs the determination again in S306 based on the changed setting state. On the other hand, if the shooting setting state is unchanged (NO side), the process proceeds to S308.
Step 308: The CPU 25 determines whether or not the release button 19 has been pressed by the user. When the release button 19 is pressed (YES side), the process proceeds to S309. On the other hand, when the release button 19 is not pressed (NO side), the CPU 25 waits for the release button 19 to be pressed.

ステップ309:CPU25は、撮像素子15を駆動させて被写体を撮影する。そして、画像処理部16は、S305の設定状態に対応する画像データを生成する。
ステップ310:CPU25は、画像データを外部記録装置12に送信する。このS310は図3のS107にほぼ対応するので重複説明は省略する。なお、第3実施形態では記録速度の実測値を既に取得しているので、CPU25はこの工程でタイムカウントを行う必要はない。
Step 309: The CPU 25 drives the image sensor 15 to photograph the subject. Then, the image processing unit 16 generates image data corresponding to the setting state in S305.
Step 310: The CPU 25 transmits the image data to the external recording device 12. Since this S310 substantially corresponds to S107 in FIG. In the third embodiment, since the measured value of the recording speed has already been acquired, the CPU 25 does not need to perform time counting in this step.

ステップ311:CPU25は、記録終了を示す信号を受信したか否かを判定する。上記の信号を受信した場合(YES側)にはS313に移行する。一方、上記の信号を受信しない場合(NO側)にはS312に移行する。
ステップ312:CPU25は、外部記録装置12との接続解除が検出されたか否かを判定する。接続解除が検出された場合(YES側)には外部記録装置12を記録先に適用できないのでS316に移行する。一方、接続解除されていない場合(NO側)にはS311に戻る。
Step 311: The CPU 25 determines whether or not a signal indicating the end of recording has been received. When the above signal is received (YES side), the process proceeds to S313. On the other hand, when the above signal is not received (NO side), the process proceeds to S312.
Step 312: The CPU 25 determines whether or not the connection with the external recording device 12 is detected. If disconnection is detected (YES side), the external recording device 12 cannot be applied to the recording destination, and the process proceeds to S316. On the other hand, if the connection is not released (NO side), the process returns to S311.

ステップ313:CPU25は、撮影を継続するか否かを判定する。撮影を継続する場合(YES側)にはS314に移行する。一方、撮影を終了する場合(NO側)には、CPU25はそのまま処理を終了する。
ステップ314:CPU25は、外部記録装置12の現在の残容量のデータを取得する。なお、この残容量データの取得動作の説明は図3のS111に対応するので重複説明は省略する。
Step 313: The CPU 25 determines whether or not to continue shooting. When photographing is continued (YES side), the process proceeds to S314. On the other hand, when the photographing is finished (NO side), the CPU 25 finishes the process as it is.
Step 314: The CPU 25 acquires the data of the current remaining capacity of the external recording device 12. The description of the remaining capacity data acquisition operation corresponds to S111 in FIG.

ステップ315:CPU25は、S314での現在の残容量に基づいて、外部記録装置12に次回の画像データを記録できるか否かを判定する。次回の画像データを記録できる場合(YES側)にはS308に戻って、CPU25は上記動作を繰り返す。一方、次回の画像データを記録できない場合(NO側)にはS318に移行する。
(第4実施形態の説明)
図8は、第4実施形態における電子カメラ11の動作を説明する流れ図である。この第4実施形態は第3実施形態の変形例であって、電子カメラ11の記録媒体26などを優先的に使用する点に相違がある。なお、図8のS401、S402は、図6のS301、S302にそれぞれ対応するので重複説明を省略する。
Step 315: The CPU 25 determines whether or not the next image data can be recorded in the external recording device 12 based on the current remaining capacity in S314. If the next image data can be recorded (YES side), the process returns to S308, and the CPU 25 repeats the above operation. On the other hand, if the next image data cannot be recorded (NO side), the process proceeds to S318.
(Explanation of Fourth Embodiment)
FIG. 8 is a flowchart for explaining the operation of the electronic camera 11 in the fourth embodiment. The fourth embodiment is a modification of the third embodiment, and is different in that the recording medium 26 of the electronic camera 11 is used preferentially. Note that S401 and S402 in FIG. 8 correspond to S301 and S302 in FIG.

ステップ403:CPU25は、テストデータの送信から所定時間経過したか(タイムアウトしたか)否かを判定する。タイムアウトした場合(YES側)には、外部記録装置12を記録先に適用できないのでS408に移行する。一方、タイムアウトしていない場合(NO側)にはS402に戻る。
ステップ404:CPU25は、S401からS402までのタイムカウントに基づいて、外部記録装置12による記録速度の実測値を取得する。また、CPU25は、外部記録装置12の残容量のデータを外部記録装置12から取得する。
Step 403: The CPU 25 determines whether or not a predetermined time has passed since the transmission of the test data (timeout). If the time-out has occurred (YES side), the external recording device 12 cannot be applied to the recording destination, and the process proceeds to S408. On the other hand, if the timeout has not occurred (NO side), the process returns to S402.
Step 404: The CPU 25 obtains an actual value of recording speed by the external recording device 12 based on the time count from S401 to S402. Further, the CPU 25 acquires the remaining capacity data of the external recording device 12 from the external recording device 12.

ステップ405:CPU25は、ユーザーが操作部材20で設定した撮影の設定状態を認識する。なお、このS405も図3のS102に対応するので重複説明は省略する。
ステップ406:CPU25は、ストレージ判定テーブルに基づいて、性能データ(S404)および撮影の設定状態(S405)に対応する判定情報を取得する。そして、CPU25は、上記の判定情報によって、画像データの記録先として外部記録装置12を適用できるか否かを判定する。外部記録装置12を記録先に適用できる場合(YES側)にはS407に移行する。一方、外部記録装置12を記録先に適用できない場合(NO側)にはS408に移行する。なお、S406の判定の内容はS306と共通であるので重複説明は省略する。
Step 405: The CPU 25 recognizes the shooting setting state set by the user using the operation member 20. Note that S405 also corresponds to S102 in FIG.
Step 406: The CPU 25 obtains determination information corresponding to the performance data (S404) and the shooting setting state (S405) based on the storage determination table. Then, the CPU 25 determines whether or not the external recording device 12 can be applied as a recording destination of the image data based on the determination information. When the external recording device 12 can be applied to the recording destination (YES side), the process proceeds to S407. On the other hand, when the external recording device 12 cannot be applied to the recording destination (NO side), the process proceeds to S408. Note that the content of the determination in S406 is the same as that in S306, and thus a duplicate description is omitted.

ステップ407:CPU25は、外部記録装置12を記録先に設定できる旨の確認情報をメモリ17に記録する。その後、S409に移行する。
ステップ408:CPU25は、ユーザーによってレリーズ釦19が押圧されたか否かを判定する。レリーズ釦19が押圧された場合(YES側)にはS409に移行する。一方、レリーズ釦19の押圧がない場合(NO側)には、CPU25はレリーズ釦19の押圧を待機する。
Step 407: The CPU 25 records confirmation information in the memory 17 that the external recording device 12 can be set as a recording destination. Thereafter, the process proceeds to S409.
Step 408: The CPU 25 determines whether or not the release button 19 has been pressed by the user. When the release button 19 is pressed (YES side), the process proceeds to S409. On the other hand, when the release button 19 is not pressed (NO side), the CPU 25 waits for the release button 19 to be pressed.

ステップ409:CPU25は、撮像素子15を駆動させて被写体を撮影する。画像処理部16は、S405の設定状態に対応する画像データを生成する。そして、CPU25は、上記の画像データを電子カメラ11の記録媒体26(またはメモリ17)に記録する。
ステップ410:CPU25は、撮影を継続するか否かを判定する。撮影を継続する場合(YES側)にはS411に移行する。一方、撮影を終了する場合(NO側)には、CPU25はそのまま処理を終了する。
Step 409: The CPU 25 drives the image sensor 15 to photograph the subject. The image processing unit 16 generates image data corresponding to the setting state in S405. Then, the CPU 25 records the above image data on the recording medium 26 (or memory 17) of the electronic camera 11.
Step 410: The CPU 25 determines whether or not to continue shooting. When photographing is continued (YES side), the process proceeds to S411. On the other hand, when the photographing is finished (NO side), the CPU 25 finishes the process as it is.

ステップ411:CPU25は、記録媒体26等の残容量が閾値以下となったか否かを判定する。残容量が閾値以下となった場合(YES側)にはS412に移行する。一方、残容量が閾値を上回る場合にはS408に戻って、CPU25は上記動作を繰り返す。
ステップ412:CPU25は、確認情報(S407)がメモリ17に記録されているか否かを判定する。上記条件を満たす場合(YES側)にはCPU25は外部記録装置12を記録先として設定し、S413に移行する。一方、上記条件を満たさない場合(NO側)には、画像データをこれ以上記録できないので、S412aへ移行する。
Step 411: The CPU 25 determines whether or not the remaining capacity of the recording medium 26 or the like has become a threshold value or less. When the remaining capacity is equal to or less than the threshold (YES side), the process proceeds to S412. On the other hand, when the remaining capacity exceeds the threshold, the process returns to S408, and the CPU 25 repeats the above operation.
Step 412: The CPU 25 determines whether or not the confirmation information (S407) is recorded in the memory 17. If the above condition is satisfied (YES side), the CPU 25 sets the external recording device 12 as the recording destination, and proceeds to S413. On the other hand, if the above condition is not satisfied (NO side), no more image data can be recorded, and the process proceeds to S412a.

ステップ412a:CPU25は、記録媒体26(またはメモリ17)の残容量が閾値以下となったため画像データの記録を終了した旨(NG表示)を表示部21に表示して、処理を終了する。
ステップ413:この場合には、CPU25は、画像データの記録先を外部記録装置12に変更する旨を表示部21に表示する。
Step 412a: The CPU 25 displays on the display unit 21 that the recording of the image data has been completed (NG display) because the remaining capacity of the recording medium 26 (or the memory 17) has become equal to or less than the threshold value, and ends the process.
Step 413: In this case, the CPU 25 displays on the display unit 21 that the image data recording destination is to be changed to the external recording device 12.

ステップ414:CPU25は、画像データの記録先を外部記録装置12に切り替える。そして、CPU25は、以後の撮影で生成される画像データを外部記録装置12に記録する。以上で第4実施形態の動作説明を終了する。
(実施形態の補足事項)
以上、本発明を上記の実施形態によって説明してきたが、本発明の技術的範囲は上記実施形態に限定されるものではなく、例えば以下のような形態であってもよい。
Step 414: The CPU 25 switches the image data recording destination to the external recording device 12. Then, the CPU 25 records image data generated by subsequent shooting in the external recording device 12. This is the end of the description of the operation of the fourth embodiment.
(Supplementary items of the embodiment)
As mentioned above, although this invention has been demonstrated by said embodiment, the technical scope of this invention is not limited to the said embodiment, For example, the following forms may be sufficient.

本発明では、電子カメラ11と外部記録装置12とのデータ通信はUSBによる通信に限定されることなく、他の公知の通信手段であってもよい。例えば、IEEE1394の規定に準拠したシリアル通信や、IEEE802.11の規定に準拠した無線通信や、Bluetooth(登録商標)による無線通信などでデータ通信を行うものであってもよい。   In the present invention, data communication between the electronic camera 11 and the external recording device 12 is not limited to USB communication, and may be other known communication means. For example, data communication may be performed by serial communication complying with the IEEE 1394 standard, wireless communication complying with the IEEE 802.11 standard, or wireless communication using Bluetooth (registered trademark).

第1実施形態の電子カメラシステムの構成を示す概要図Schematic diagram showing the configuration of the electronic camera system of the first embodiment ストレージ判定テーブルの構成の一例を模式的に示す図The figure which shows an example of a structure of a storage determination table typically 第1実施形態における電子カメラの動作を説明する流れ図Flowchart for explaining the operation of the electronic camera in the first embodiment 第1実施形態における電子カメラの動作を説明する流れ図Flowchart for explaining the operation of the electronic camera in the first embodiment 第2実施形態における電子カメラの動作を説明する流れ図Flowchart for explaining the operation of the electronic camera in the second embodiment 第3実施形態における電子カメラの動作を説明する流れ図Flowchart for explaining the operation of the electronic camera in the third embodiment 第3実施形態における電子カメラの動作を説明する流れ図Flowchart for explaining the operation of the electronic camera in the third embodiment 第4実施形態における電子カメラの動作を説明する流れ図Flowchart for explaining the operation of the electronic camera in the fourth embodiment

符号の説明Explanation of symbols

11…電子カメラ、12…外部記録装置、15…撮像素子、16…画像処理部、17…メモリ、18…記録I/F、20…操作部材、22…通信I/F、23…通信制御部、24…ROM、25…CPU、26…記録媒体

DESCRIPTION OF SYMBOLS 11 ... Electronic camera, 12 ... External recording device, 15 ... Imaging device, 16 ... Image processing part, 17 ... Memory, 18 ... Recording I / F, 20 ... Operation member, 22 ... Communication I / F, 23 ... Communication control part , 24 ... ROM, 25 ... CPU, 26 ... recording medium

Claims (10)

被写体からの光束を光電変換して画像データを生成する撮像部と、
カメラ内部に配置される記録手段に対して前記画像データを書き込むデータ書込部と、
前記画像データを記録可能な外部記録装置との通信を行う通信部と、
前記外部記録装置の性能を示す性能データを取得する性能データ取得部と、
前記画像データの記録先として前記外部記録装置を適用できるか否かを前記性能データに基づいて判定する制御部とを備え、
前記性能データは、前記外部記録装置によるデータの記録速度に関する情報と前記外部記録装置が対応している通信規格の種類に関する情報とを含み、
前記制御部は、前記外部記録装置によるデータの記録速度と前記外部記録装置が対応している通信規格の種類とに基づいて前記判定を行うことを特徴とする電子カメラ。
An imaging unit that photoelectrically converts a light beam from a subject to generate image data;
A data writing unit for writing the image data to a recording unit disposed inside the camera;
A communication unit for communicating with an external recording device capable of recording the image data;
A performance data acquisition unit that acquires performance data indicating the performance of the external recording device;
A controller that determines whether the external recording device can be applied as a recording destination of the image data based on the performance data ;
The performance data includes information relating to the recording speed of data by the external recording device and information relating to the type of communication standard supported by the external recording device,
The electronic camera according to claim 1, wherein the control unit performs the determination based on a data recording speed of the external recording device and a communication standard type supported by the external recording device .
請求項1に記載の電子カメラにおいて、
前記性能データは前記外部記録装置の種類の情報を含み、
前記制御部は、前記外部記録装置の種類に基づいて前記判定を行うことを特徴とする電子カメラ。
The electronic camera according to claim 1,
The performance data includes information on the type of the external recording device,
The electronic camera according to claim 1, wherein the control unit performs the determination based on a type of the external recording device .
請求項1または請求項2に記載の電子カメラにおいて、
前記性能データ取得部は、前記外部記録装置にテストデータを送信し、前記テストデータに対する前記外部記録装置からの返信結果より得られた実測値に基づいて前記記録速度に関する情報を取得することを特徴とする電子カメラ。
The electronic camera according to claim 1 or 2,
The performance data acquisition unit transmits test data to the external recording device, and acquires information on the recording speed based on an actual measurement value obtained from a return result from the external recording device with respect to the test data. And an electronic camera.
請求項1から請求項3のいずれか1項に記載の電子カメラにおいて、
前記性能データは前記外部記録装置の記録容量の残量を示す第1残容量データを含み、
前記制御部は、前記第1残容量データに基づいて前記判定を行うことを特徴とする電子カメラ。
The electronic camera according to any one of claims 1 to 3 ,
The performance data includes first remaining capacity data indicating a remaining recording capacity of the external recording device,
The electronic camera according to claim 1, wherein the controller performs the determination based on the first remaining capacity data .
請求項に記載の電子カメラにおいて、
前記制御部は、前記判定において前記外部記録装置が適用不能とされた場合に、前記画像データの記録先を前記記録手段に変更することを特徴とする電子カメラ。
The electronic camera according to claim 4 ,
The control unit changes the recording destination of the image data to the recording unit when the external recording apparatus is not applicable in the determination .
請求項1から請求項5のいずれか1項に記載の電子カメラにおいて、
撮影の設定に関するユーザーの入力を受け付ける操作部をさらに備え、
前記制御部は、前記操作部によって変更される撮影の設定状態に基づいて前記判定を行うことを特徴とする電子カメラ。
The electronic camera according to any one of claims 1 to 5 ,
It further includes an operation unit that accepts user input related to shooting settings,
The electronic camera according to claim 1, wherein the control unit performs the determination based on a shooting setting state changed by the operation unit .
請求項6に記載の電子カメラにおいて、
前記制御部は、前記画像データが閾値未満のデータ量で生成される第1設定状態では前記外部記録装置を記録先に適用可能と判定するとともに、前記画像データのデータ量が前記第1設定状態よりも大きくなりうる第2設定状態では前記外部記録装置を記録先に適用不能と判定することを特徴とする電子カメラ。
The electronic camera according to claim 6.
The control unit determines that the external recording device can be applied to a recording destination in a first setting state in which the image data is generated with a data amount less than a threshold, and the data amount of the image data is in the first setting state. An electronic camera characterized in that the external recording device is determined to be inapplicable to a recording destination in a second setting state that can be larger than a predetermined value .
請求項に記載の電子カメラにおいて、
前記制御部は、連写撮影を実行する第3設定状態への変更操作を前記操作部から検出した場合に前記判定を行うことを特徴とする電子カメラ。
The electronic camera according to claim 6 .
The electronic camera according to claim 1, wherein the control unit performs the determination when an operation for changing to a third setting state in which continuous shooting is performed is detected from the operation unit .
請求項に記載の電子カメラにおいて、
前記制御部は、動画撮影を実行する第4設定状態への変更操作を前記操作部から検出した場合に前記判定を行うことを特徴とする電子カメラ。
The electronic camera according to claim 6 .
The said control part performs the said determination, when changing operation to the 4th setting state which performs video recording is detected from the said operation part, The electronic camera characterized by the above-mentioned .
請求項に記載の電子カメラにおいて、
前記データ書込部は、前記記録手段の記録容量の残量を示す第2残容量データを取得し、
前記制御部は、前記第2残容量データによる前記残量の値が閾値未満となった場合に前記判定を行うことを特徴とする電子カメラ。
The electronic camera according to claim 1 ,
The data writing unit obtains second remaining capacity data indicating a remaining capacity of the recording capacity of the recording means;
The electronic camera according to claim 1, wherein the controller performs the determination when the value of the remaining amount based on the second remaining capacity data is less than a threshold value .
JP2005352461A 2005-12-06 2005-12-06 Electronic camera Expired - Fee Related JP4692256B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005352461A JP4692256B2 (en) 2005-12-06 2005-12-06 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005352461A JP4692256B2 (en) 2005-12-06 2005-12-06 Electronic camera

Publications (2)

Publication Number Publication Date
JP2007158837A JP2007158837A (en) 2007-06-21
JP4692256B2 true JP4692256B2 (en) 2011-06-01

Family

ID=38242604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005352461A Expired - Fee Related JP4692256B2 (en) 2005-12-06 2005-12-06 Electronic camera

Country Status (1)

Country Link
JP (1) JP4692256B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6957231B2 (en) * 2017-06-27 2021-11-02 キヤノン株式会社 Recording control device and its control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11136555A (en) * 1997-10-31 1999-05-21 Nikon Corp Electronic camera
JP2002252798A (en) * 2001-02-23 2002-09-06 Canon Inc Image pickup device, operation processing method for the image pickup device, storage medium and operation processing program for the image pickup device
JP2003209787A (en) * 2002-01-15 2003-07-25 Canon Inc Information processor, imaging apparatus, information processing system, information storing method, storage medium, and program
JP2004023235A (en) * 2002-06-13 2004-01-22 Fuji Photo Film Co Ltd Image recorder

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11136555A (en) * 1997-10-31 1999-05-21 Nikon Corp Electronic camera
JP2002252798A (en) * 2001-02-23 2002-09-06 Canon Inc Image pickup device, operation processing method for the image pickup device, storage medium and operation processing program for the image pickup device
JP2003209787A (en) * 2002-01-15 2003-07-25 Canon Inc Information processor, imaging apparatus, information processing system, information storing method, storage medium, and program
JP2004023235A (en) * 2002-06-13 2004-01-22 Fuji Photo Film Co Ltd Image recorder

Also Published As

Publication number Publication date
JP2007158837A (en) 2007-06-21

Similar Documents

Publication Publication Date Title
US20070162949A1 (en) Information processing apparatus and method, and computer program therefor
JP4289045B2 (en) Electronic still camera, electronic still camera system and program
JP2003198910A (en) Cradle installation type digital camera, control method therefor, and cradle installation type digital camera system
US8564692B2 (en) Electronic device, electronic camera, and data transfer program for changing transfer rate and communication protocol
JP2006157349A (en) Auxiliary equipment for electronic apparatus with projector and electronic camera system
JP2004357182A (en) Electronic apparatus system and memory device
JP5093109B2 (en) External storage device and camera
JP4692256B2 (en) Electronic camera
JP2013258469A (en) Control device, recording device, imaging device, and program
JP4010057B2 (en) Camera device
JP4518582B2 (en) Image capturing apparatus and method
JP4290824B2 (en) Image printing device
JP4253417B2 (en) Electronic camera and battery remaining amount display method
JPH1023365A (en) Digital camera
JP2004289307A (en) Image recording and reproducing apparatus
JPH0730792A (en) Electronic still camera
JPH10215394A (en) Camera equipment
JP2006352481A (en) Electronic camera system and defragmentation method
JP2002191009A (en) Digital camera and its operation control method
JP5206237B2 (en) camera
JP2000101966A (en) Electronic camera and adapter for the electronic camera
US20070211152A1 (en) Digital camera
JP3808191B2 (en) Digital camera
JP2004120303A (en) Information recorder
JPH04363978A (en) Camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101227

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110125

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110207

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

Free format text: PAYMENT UNTIL: 20140304

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4692256

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140304

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees