JP2021136663A - Device, communication apparatus, method and program - Google Patents

Device, communication apparatus, method and program Download PDF

Info

Publication number
JP2021136663A
JP2021136663A JP2020033751A JP2020033751A JP2021136663A JP 2021136663 A JP2021136663 A JP 2021136663A JP 2020033751 A JP2020033751 A JP 2020033751A JP 2020033751 A JP2020033751 A JP 2020033751A JP 2021136663 A JP2021136663 A JP 2021136663A
Authority
JP
Japan
Prior art keywords
image pickup
function
image
processing
predetermined
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
JP2020033751A
Other languages
Japanese (ja)
Inventor
裕也 藤原
Hironari Fujiwara
裕也 藤原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2020033751A priority Critical patent/JP2021136663A/en
Publication of JP2021136663A publication Critical patent/JP2021136663A/en
Pending legal-status Critical Current

Links

Images

Abstract

To improve the convenience in a system in which a detachable device that can execute a prescribed function is used.SOLUTION: There is provided a device which is attached to an apparatus having an attachment mechanism that can be detachably attached with the device capable of storing at least a captured image. The device can execute prescribed processing to image data based on the image captured by an imaging apparatus when being attached to the imaging apparatus having the attachment mechanism. The device determines whether or not the imaging apparatus has a function of making the device execute prescribed processing, and stores prescribed data when determining that the imaging apparatus does not have the function.SELECTED DRAWING: Figure 10

Description

本発明は、所定の機能を実行可能な着脱可能デバイスが使用されるシステムにおける利便性向上技術に関する。 The present invention relates to a technique for improving convenience in a system in which a removable device capable of performing a predetermined function is used.

近年、様々なシーンにおいて、監視カメラにより撮像された画像を用いて、物体の検出や追尾、属性の推定等を行う画像解析、そのような画像解析の結果に基づく物体数の推定等の画像処理が行われている。従来、このような画像処理は、実際の画像処理を実行するPCやサーバ等の高性能な演算装置に監視カメラの映像が転送されることによって行われてきた。これに対し、近年のモバイル用演算装置の処理能力の向上に伴い、監視カメラ側で画像処理を行うことが可能となってきている。カメラ側での処理は、例えば、カメラ本体に配置された演算装置によって実行されうる。また、USB等の着脱可能デバイスに演算装置を配置することによって、カメラ側で実行可能な機能を拡張することや、カメラとの処理の分担を行うことができる(特許文献1参照)。 In recent years, in various scenes, image processing such as image analysis that detects and tracks objects, estimates attributes, etc., and estimates of the number of objects based on the results of such image analysis, using images captured by surveillance cameras. Is being done. Conventionally, such image processing has been performed by transferring the image of the surveillance camera to a high-performance arithmetic unit such as a PC or a server that executes the actual image processing. On the other hand, with the recent improvement in the processing capacity of mobile arithmetic units, it has become possible to perform image processing on the surveillance camera side. The processing on the camera side can be executed by, for example, an arithmetic unit arranged in the camera body. Further, by arranging the arithmetic unit on a detachable device such as USB, the functions that can be executed on the camera side can be expanded and the processing can be shared with the camera (see Patent Document 1).

特開平7−184098号公報Japanese Unexamined Patent Publication No. 7-184098

本発明は、所定の機能を実行可能な着脱可能デバイスが利用されるシステムにおける利便性を向上させる技術を提供する。 The present invention provides a technique for improving convenience in a system in which a removable device capable of performing a predetermined function is used.

本発明の一態様によるデバイスは、少なくとも撮影された画像を記憶可能なデバイスを着脱可能な装着機構を有する装置に装着される前記デバイスであって、前記装着機構を有する撮像装置に装着された場合に当該撮像装置によって撮像された画像に基づく画像データに対して所定の処理を実行することができる処理手段と、前記所定の処理を前記処理手段に実行させることができる機能を前記撮像装置が有するか否かを判定する判定手段と、前記撮像装置が前記機能を有しないと判定した場合に、所定のデータを記憶する記憶手段と、を有する。 The device according to one aspect of the present invention is the device mounted on a device having a mounting mechanism capable of attaching and detaching at least a device capable of storing captured images, and is mounted on an imaging device having the mounting mechanism. The image pickup apparatus has a processing means capable of executing a predetermined process on image data based on an image captured by the image pickup apparatus and a function capable of causing the processing means to execute the predetermined process. It has a determination means for determining whether or not the image is present, and a storage means for storing predetermined data when it is determined that the image pickup apparatus does not have the function.

本発明によれば、所定の機能を実行可能な着脱可能デバイスが利用されるシステムにおける利便性を向上させることができる。 According to the present invention, it is possible to improve convenience in a system in which a removable device capable of performing a predetermined function is used.

システム構成の一例を示す図である。It is a figure which shows an example of a system configuration. 撮像装置のハードウェア構成例を示す図である。It is a figure which shows the hardware configuration example of the image pickup apparatus. 撮像装置の機能構成例を示す図である。It is a figure which shows the functional configuration example of an image pickup apparatus. 着脱可能デバイスのハードウェア構成例を示す図である。It is a figure which shows the hardware configuration example of a detachable device. 着脱可能デバイスの機能構成例を示す図であるIt is a figure which shows the functional configuration example of a detachable device. 入出力装置のハードウェア構成例を示す図である。It is a figure which shows the hardware configuration example of an input / output device. 入出力装置の機能構成例を示す図である。It is a figure which shows the functional configuration example of an input / output device. システムで実行される処理の流れの例を示す図である。It is a figure which shows the example of the flow of processing executed in a system. 着脱可能デバイスが拡張機能に対応しているか否かを判定する処理の流れの例を示す図である。It is a figure which shows the example of the process flow of determining whether or not a detachable device supports an extended function. 初期シーケンスの処理の流れの例を示す図である。It is a figure which shows the example of the processing flow of an initial sequence. 初期シーケンスのコマンドの要求と応答の例を示す図である。It is a figure which shows the example of the request and response of the command of an initial sequence. 着脱可能デバイスの応答の構成例を示す図である。It is a figure which shows the configuration example of the response of the detachable device. 初期シーケンス終了後に実行される処理の流れの例を示す図である。It is a figure which shows the example of the processing flow which is executed after the completion of an initial sequence. 撮像装置が拡張機能に対応しているかを判定する処理の流れの例を示す図である。It is a figure which shows the example of the flow of the process which determines whether the image pickup apparatus supports an extended function. 入出力装置が着脱可能デバイスの指定のデータを参照する処理の流れの例を示す図である。It is a figure which shows the example of the process flow which an input / output device refers to the designated data of a detachable device.

以下、添付図面を参照して実施形態を詳しく説明する。なお、以下の実施形態は特許請求の範囲に係る発明を限定するものでない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the invention according to the claims. Although a plurality of features are described in the embodiment, not all of the plurality of features are essential to the invention, and the plurality of features may be arbitrarily combined. Further, in the attached drawings, the same or similar configurations are given the same reference numbers, and duplicate explanations are omitted.

<システム構成>
図1に、本実施形態の画像解析システムの構成例を示す。以下では、一例として、このシステムが特定人物追跡システムである場合について説明する。ただし、これに限られず、画像を解析して所定の情報出力を行う任意のシステムに、以下の議論を適用することができる。本システムは、撮像装置110a〜110dと、ネットワーク120と、入出力装置130とを含んで構成される。なお、撮像装置110a〜110dは、それぞれ、例えば撮像した画像を記録可能なデバイスを着脱可能なスロットを有し、そのスロットに着脱可能デバイス100a〜100dが挿入されることにより、着脱可能デバイス100a〜100dと接続される。なお、以下では、着脱可能デバイス100a〜100dを「着脱可能デバイス100」と表記し、撮像装置110a〜110dを「撮像装置110」と表記する。
<System configuration>
FIG. 1 shows a configuration example of the image analysis system of the present embodiment. In the following, as an example, a case where this system is a specific person tracking system will be described. However, the present invention is not limited to this, and the following discussion can be applied to any system that analyzes an image and outputs a predetermined information. This system includes imaging devices 110a to 110d, a network 120, and an input / output device 130. Each of the imaging devices 110a to 110d has a slot into which a device capable of recording an captured image can be attached / detached, and the detachable devices 100a to 100d are inserted into the slot to allow the detachable devices 100a to 100a to be attached / detached. Connected to 100d. In the following, the removable devices 100a to 100d will be referred to as "detachable device 100", and the imaging devices 110a to 110d will be referred to as "imaging device 110".

着脱可能デバイス100は、撮像装置110に対して着脱可能な演算デバイスである。着脱可能デバイス100は、一例として、SDカードに所定の処理回路を搭載したデバイスである。着脱可能デバイス100は、例えば、SDカードの態様によって、撮像装置110にその全体が挿入可能に構成され、これにより、撮像装置110から突出する部分がない状態で撮像装置110と接続可能に構成することができる。また、着脱可能デバイス100は、例えば、撮像装置110にその半分以上の部分(例えば全部)が挿入可能に構成され、これにより、撮像装置110から突出する部分が少ない状態で撮像装置110と接続可能に構成されてもよい。これにより、着脱可能デバイス100が配線等の障害物と干渉することを防ぐことができ、デバイスの利用時の利便性を高めることができる。また、多くの既存のネットワークカメラなどの撮像装置110には、SDカードスロットが用意されているため、既存の撮像装置110に対して、着脱可能デバイス100により拡張機能を提供することができる。なお、着脱可能デバイス100は、SDカードの態様以外に、少なくともその撮像装置110で撮影された画像を記憶可能な記憶装置が装着される際に使用される任意のインタフェースで、撮像装置110に装着されるように構成されてもよい。例えば、着脱可能デバイス100は、USB(ユニバーサリシリアルバス)インタフェースを有し、撮像装置110のUSBソケットに装着されるように構成されてもよい。また、所定の処理回路は、例えば、所定の処理を実行するようにプログラムされたFPGA(フィールドプログラマブルゲートアレイ)によって実装されるが、それ以外の形式で実装されてもよい。 The removable device 100 is a calculation device that can be attached to and detached from the image pickup device 110. The detachable device 100 is, for example, a device in which a predetermined processing circuit is mounted on an SD card. The detachable device 100 is configured so that the entire removable device 100 can be inserted into the imaging device 110, for example, depending on the mode of the SD card, so that the removable device 100 can be connected to the imaging device 110 without a portion protruding from the imaging device 110. be able to. Further, the detachable device 100 is configured so that, for example, more than half (for example, all) of the detachable device 100 can be inserted into the image pickup device 110, whereby the detachable device 100 can be connected to the image pickup device 110 with few portions protruding from the image pickup device 110. It may be configured in. As a result, it is possible to prevent the removable device 100 from interfering with obstacles such as wiring, and it is possible to improve the convenience when using the device. Further, since the image pickup device 110 of many existing network cameras and the like is provided with an SD card slot, it is possible to provide an extended function to the existing image pickup device 110 by the detachable device 100. The detachable device 100 is attached to the image pickup device 110 by at least an arbitrary interface used when a storage device capable of storing an image captured by the image pickup device 110 is attached, in addition to the mode of the SD card. It may be configured to be. For example, the removable device 100 may have a USB (universal serial bus) interface and may be configured to be mounted in the USB socket of the imaging device 110. Further, the predetermined processing circuit is implemented by, for example, an FPGA (Field Programmable Gate Array) programmed to perform a predetermined processing, but may be implemented in other formats.

撮像装置110は、ネットワークカメラ等の撮像装置である。本実施形態では、撮像装置110は、映像を処理することのできる演算装置を内蔵するものとするが、これに限られない。例えば、撮像装置110に接続されたPC(パーソナルコンピュータ)等の外部コンピュータが存在してもよく、これらの組み合わせを、撮像装置110として扱ってもよい。また、本実施形態では、全ての撮像装置110に、着脱可能デバイス100が装着されているものとする。なお、図1では、4つの撮像装置110と、それぞれに装着された着脱可能デバイスとが示されているが、これらの装置の組み合わせの数は3つ以下であってもよいし、5つ以上であってもよい。撮像装置110に、画像解析処理機能を有する着脱可能デバイス100が装着されることにより、撮像装置110が画像解析処理機能を有しなくても、撮像装置110側で映像処理を実行することが可能となりうる。また、本実施形態のように撮像装置110に映像処理用の演算装置が配置された形態では、演算装置が配置された着脱可能デバイス100が撮像装置110に装着されることにより、撮像装置110側で実行可能な画像処理を多様化・高度化することができる。 The image pickup device 110 is an image pickup device such as a network camera. In the present embodiment, the image pickup apparatus 110 has a built-in arithmetic unit capable of processing an image, but the present invention is not limited to this. For example, an external computer such as a PC (personal computer) connected to the image pickup device 110 may exist, and a combination thereof may be treated as the image pickup device 110. Further, in the present embodiment, it is assumed that the removable device 100 is attached to all the imaging devices 110. Although FIG. 1 shows four image pickup devices 110 and detachable devices attached to each of the four image pickup devices 110, the number of combinations of these devices may be three or less, or five or more. It may be. By mounting the removable device 100 having an image analysis processing function on the image pickup device 110, it is possible to execute image processing on the image pickup device 110 side even if the image pickup device 110 does not have the image analysis processing function. Can be. Further, in the embodiment in which the arithmetic unit for image processing is arranged in the image pickup device 110 as in the present embodiment, the removable device 100 in which the arithmetic unit is arranged is attached to the image pickup device 110, so that the image pickup device 110 side. It is possible to diversify and enhance the image processing that can be performed with.

入出力装置130は、ユーザからの入力の受け付けや、ユーザへの情報の出力(例えば情報の表示)を行う装置である。本実施形態では、例えば入出力装置130は、外部の通信装置(Video Management System(VMS)等)に相当する。また、入出力装置130は、PC等のコンピュータであり、そのコンピュータにインストールされたブラウザやネイティブアプリケーションによって、情報の入出力が行われる。 The input / output device 130 is a device that accepts input from a user and outputs information to the user (for example, display of information). In the present embodiment, for example, the input / output device 130 corresponds to an external communication device (Video Management System (VMS) or the like). Further, the input / output device 130 is a computer such as a PC, and information is input / output by a browser or a native application installed in the computer.

撮像装置110と入出力装置130は、ネットワーク120を介して通信可能に接続される。ネットワーク120は、例えばEthernet(登録商標)等の通信規格を満たす複数のルータ、スイッチ、ケーブル等を含んで構成される。本実施形態では、ネットワーク120は、撮像装置110と入出力装置130との間の通信を可能とする任意のネットワークであってよく、任意の規模や構成、準拠する通信規格によって構築されうる。例えば、ネットワーク120は、インターネットや有線LAN(Local Area Network)、無線LAN、WAN(Wide Area Network)等でありうる。また、ネットワーク120は、例えば、ONVIF(Open Network Video Interface Forum)規格に準拠した通信プロトコルでの通信が可能なように構成されうる。ただし、これに限られず、ネットワーク120は、例えば、独自の通信プロトコル等の他の通信プロトコルでの通信が可能なように構成されてもよい。 The image pickup apparatus 110 and the input / output apparatus 130 are communicably connected via the network 120. The network 120 includes a plurality of routers, switches, cables, and the like that meet communication standards such as Ethernet (registered trademark). In the present embodiment, the network 120 may be any network that enables communication between the image pickup apparatus 110 and the input / output apparatus 130, and may be constructed by an arbitrary scale, configuration, and compliant communication standard. For example, the network 120 may be the Internet, a wired LAN (Local Area Network), a wireless LAN, a WAN (Wide Area Network), or the like. Further, the network 120 can be configured to enable communication with a communication protocol conforming to the ONVIF (Open Network Video Interface Forum) standard, for example. However, the present invention is not limited to this, and the network 120 may be configured so as to be able to communicate with other communication protocols such as a unique communication protocol.

<装置構成>
(撮像装置の構成)
続いて、撮像装置110の構成について説明する。図2は、撮像装置110のハードウェア構成例を示す図である。撮像装置110は、そのハードウェア構成として、例えば、撮像部201、画像処理部202、演算処理部203、配信部204、SD I/F部205を含む。なお、I/Fは、インタフェースの略語である。
<Device configuration>
(Configuration of imaging device)
Subsequently, the configuration of the image pickup apparatus 110 will be described. FIG. 2 is a diagram showing a hardware configuration example of the image pickup apparatus 110. The image pickup apparatus 110 includes, for example, an image pickup unit 201, an image processing unit 202, an arithmetic processing unit 203, a distribution unit 204, and an SD I / F unit 205 as its hardware configuration. I / F is an abbreviation for interface.

撮像部201は、光を結像するためのレンズ部と、結像された光に応じたアナログ信号変換する撮像素子とを含んで構成される。レンズ部は、画角を調整するズーム機能や、光量の調整を行う絞り機能などを有する。撮像素子は、光をアナログ信号に変換する際の感度調整を行うゲイン機能を有する。これらの機能は、画像処理部202から通知された設定値に基づいて調整される。撮像部201によって取得されたアナログ信号は、アナログ−デジタル変換回路によってデジタル信号に変換され、画像信号として画像処理部202へ転送される。 The image pickup unit 201 includes a lens unit for forming an image of light and an image pickup element that converts an analog signal according to the imaged light. The lens unit has a zoom function for adjusting the angle of view, an aperture function for adjusting the amount of light, and the like. The image sensor has a gain function that adjusts the sensitivity when converting light into an analog signal. These functions are adjusted based on the set value notified from the image processing unit 202. The analog signal acquired by the imaging unit 201 is converted into a digital signal by the analog-digital conversion circuit and transferred to the image processing unit 202 as an image signal.

画像処理部202は、画像処理エンジンと、その周辺デバイス等を含んで構成される。周辺デバイスは、例えば、RAM(Random Access Memory)や、各I/Fのドライバ等を含む。画像処理部202では、撮像部201から取得した画像信号に対して、例えば、現像処理、フィルタ処理、センサ補正、ノイズ除去等の、画像処理を施して画像データを生成する。また、画像処理部202は、レンズ部や撮像素子へ設定値を送信し、適切露出画像を取得できるように、露出調整を実行しうる。画像処理部202において生成された画像データは、演算処理部203へ転送される。 The image processing unit 202 includes an image processing engine, peripheral devices thereof, and the like. Peripheral devices include, for example, a RAM (Random Access Memory), a driver for each I / F, and the like. The image processing unit 202 generates image data by performing image processing such as development processing, filter processing, sensor correction, and noise removal on the image signal acquired from the image pickup unit 201. Further, the image processing unit 202 can transmit the set value to the lens unit or the image sensor and perform exposure adjustment so that an appropriate exposure image can be acquired. The image data generated by the image processing unit 202 is transferred to the arithmetic processing unit 203.

演算処理部203は、CPUやMPU等の1つ以上のプロセッサ、RAMやROM等のメモリ、各I/Fのドライバなどから構成される。なお、CPUはCentral Processing Unitの、MPUはMicro Processing Unitの、RAMはRandom Access Memoryの、ROMはRead Only Memoryの、頭字語である。演算処理部203では、一例において、上述のシステムにおいて実行されるべき処理の各部分を撮像装置110と着脱可能デバイス100とのいずれが実行するかの分担を決定し、その決定した分担に対応する処理を実行しうる。この処理内容や処理の分担の詳細に関しては後述する。画像処理部202から受け取った画像は、配信部204、又は、SD I/F部205へ転送される。また、処理結果のデータも配信部204へ転送される。 The arithmetic processing unit 203 is composed of one or more processors such as a CPU and an MPU, a memory such as a RAM and a ROM, and a driver for each I / F. The CPU is an acronym for Central Processing Unit, the MPU is an acronym for Micro Processing Unit, the RAM is an acronym for Random Access Memory, and the ROM is an acronym for Read Only Memory. In one example, the arithmetic processing unit 203 determines the division between the imaging device 110 and the detachable device 100 to execute each part of the processing to be executed in the above-mentioned system, and corresponds to the determined division. The process can be executed. The details of the processing contents and the division of processing will be described later. The image received from the image processing unit 202 is transferred to the distribution unit 204 or the SD I / F unit 205. The processing result data is also transferred to the distribution unit 204.

配信部204は、ネットワーク配信エンジンと、例えば、RAMやETH PHYモジュールなどの周辺デバイス等を含んで構成される。ETH PHYモジュールは、Ethernetの物理(PHY)レイヤの処理を実行するモジュールである。配信部204は、演算処理部203から取得した画像データや処理結果のデータを、ネットワーク120へ配信可能な形式に変換して、変換後のデータをネットワーク120へ出力する。SD I/F部205は、着脱可能デバイス100と接続するためのインタフェース部分で、例えば、電源と、着脱可能デバイス100を着脱するための、着脱ソケット等の装着機構を含んで構成される。ここでは、SD I/F部205が、SD Associationにより策定されたSD規格に従って構成されるものとする。演算処理部203から取得された画像の着脱可能デバイス100への転送や、着脱可能デバイス100からのデータの取得等の、着脱可能デバイス100と撮像装置110との間での通信は、SD I/F部205を通じて行われる。 The distribution unit 204 includes a network distribution engine and peripheral devices such as a RAM and an ETH PHY module. The ETH PHY module is a module that executes processing of the physical (PHY) layer of Ethernet. The distribution unit 204 converts the image data and the processing result data acquired from the arithmetic processing unit 203 into a format that can be distributed to the network 120, and outputs the converted data to the network 120. The SD I / F unit 205 is an interface portion for connecting to the detachable device 100, and includes, for example, a power supply and a mounting mechanism such as a detachable socket for attaching / detaching the detachable device 100. Here, it is assumed that the SD I / F section 205 is configured according to the SD standard established by the SD Association. Communication between the detachable device 100 and the image pickup device 110, such as transfer of an image acquired from the arithmetic processing unit 203 to the detachable device 100 and acquisition of data from the detachable device 100, is performed by SD I /. It is done through F part 205.

図3に、撮像装置110の機能構成例を示す。撮像装置110は、その機能として、例えば、撮像制御部301、信号処理部302、記憶部303、制御部304、解析部305、デバイス通信部306、及び、ネットワーク通信部307を含む。 FIG. 3 shows an example of the functional configuration of the image pickup apparatus 110. The image pickup device 110 includes, for example, an image pickup control unit 301, a signal processing unit 302, a storage unit 303, a control unit 304, an analysis unit 305, a device communication unit 306, and a network communication unit 307 as its functions.

撮像制御部301は、撮像部201を介して周囲の環境を撮影するようにする制御を実行する。信号処理部302は、撮像制御部301によって撮影された画像に対して所定の処理を施して、撮影画像のデータを生成する。以下では、この撮影画像のデータを単に「撮影画像」と呼ぶ。信号処理部302は、例えば、撮像制御部301によって撮影された画像を符号化する。信号処理部302は、静止画像に対して、例えば、JPEG(Joint Photographic Experts Group)等の符号化方式を用いて符号化を行う。また、信号処理部302は、動画像に対して、H.264/MPEG−4 AVC(以下では「H.264」と呼ぶ。)、HEVC(High Efficiency Video Coding)等の符号化方式を用いて符号化を行う。また、信号処理部302は、予め設定された複数の符号化方式の中から、例えば撮像装置110の不図示の操作部を介して、ユーザにより選択された符号化方式を用いて、画像を符号化してもよい。 The image pickup control unit 301 executes control for photographing the surrounding environment via the image pickup unit 201. The signal processing unit 302 performs predetermined processing on the image captured by the image pickup control unit 301 to generate data of the captured image. Hereinafter, the data of this photographed image is simply referred to as a “photographed image”. The signal processing unit 302 encodes, for example, an image captured by the image pickup control unit 301. The signal processing unit 302 encodes the still image by using, for example, a coding method such as JPEG (Joint Photographic Experts Group). In addition, the signal processing unit 302 uses the H. Coding is performed using a coding method such as 264 / MPEG-4 AVC (hereinafter referred to as “H.264”) or HEVC (High Efficiency Video Coding). Further, the signal processing unit 302 encodes an image by using a coding method selected by the user from among a plurality of preset coding methods, for example, via an operation unit (not shown) of the image pickup apparatus 110. It may be converted.

記憶部303は、解析部305において実行可能な解析処理のリスト(以下では「第1処理リスト」と呼ぶ。)と、解析処理の結果に対する後処理のリストとを記憶する。また、記憶部303は、後述する解析処理の結果を記憶する。なお、本実施形態では、実行される処理が解析処理であるが、任意の処理が実行されてもよく、記憶部303は、その実行される処理に関連する処理について、第1処理リストと後処理のリストとを記憶するようにしうる。制御部304は、信号処理部302、記憶部303、解析部305、デバイス通信部306、ネットワーク通信部307を、それぞれが所定の処理を実行するように、制御する。 The storage unit 303 stores a list of analysis processes that can be executed by the analysis unit 305 (hereinafter referred to as a "first process list") and a list of post-processing for the result of the analysis process. In addition, the storage unit 303 stores the result of the analysis process described later. In the present embodiment, the process to be executed is the analysis process, but any process may be executed, and the storage unit 303 describes the process related to the process to be executed with the first process list and later. It may be possible to memorize a list of processes. The control unit 304 controls the signal processing unit 302, the storage unit 303, the analysis unit 305, the device communication unit 306, and the network communication unit 307 so that each of them executes a predetermined process.

解析部305は、撮影画像に対して、後述する解析前処理、解析処理、解析後処理の少なくともいずれかを選択的に実行する。解析前処理は、後述の解析処理を実行する前に、撮影画像に対して実行する処理である。本実施形態の解析前処理では、一例として、撮影画像を分割して分割画像を作成する処理が実行されるものとする。解析処理は、入力された画像を解析して得られる情報を出力する処理である。本実施形態の解析処理では、一例として、解析前処理によって得られた分割画像を入力として、人体検出処理、顔検出処理、車両検出処理の少なくともいずれかを実行し、解析処理結果を出力する処理が実行されるものとする。解析処理は、例えば非特許文献1の技術によって、画像に含まれるオブジェクトを検出できるように学習が行われた機械学習モデルを用いて、分割画像中のオブジェクトの位置を出力するように構成された処理でありうる。解析後処理は、解析処理が実行された後に実行される処理である。本実施形態の解析後処理では、一例として、各分割画像に対する解析処理結果に基づいて、各分割画像において検出されたオブジェクトの数を合計した値を処理結果として出力する処理が実行されるものとする。なお、解析処理は、パターンマッチングを行って画像中のオブジェクトを検出し、その位置を出力する処理であってもよい。 The analysis unit 305 selectively executes at least one of the pre-analysis processing, the analysis processing, and the post-analysis processing described later on the captured image. The pre-analysis process is a process executed on a captured image before executing the analysis process described later. In the pre-analysis process of the present embodiment, as an example, it is assumed that a process of dividing a captured image to create a divided image is executed. The analysis process is a process of outputting information obtained by analyzing an input image. In the analysis process of the present embodiment, as an example, at least one of the human body detection process, the face detection process, and the vehicle detection process is executed by inputting the divided image obtained by the pre-analysis process, and the analysis process result is output. Suppose that is executed. The analysis process is configured to output the position of the object in the divided image by using a machine learning model trained so that the object included in the image can be detected by, for example, the technique of Non-Patent Document 1. It can be a process. The post-analysis process is a process that is executed after the analysis process is executed. In the post-analysis processing of the present embodiment, as an example, a process of outputting a value obtained by totaling the number of objects detected in each divided image as a processing result is executed based on the analysis processing result for each divided image. do. The analysis process may be a process of performing pattern matching, detecting an object in the image, and outputting the position.

デバイス通信部306は、着脱可能デバイス100との通信を行う。デバイス通信部306は、入力されたデータを着脱可能デバイス100が処理可能な形式に変換し、その変換によって得られたデータを着脱可能デバイス100に送信する。また、デバイス通信部306は、着脱可能デバイス100からデータを受信し、受信したデータを撮像装置110が処理可能な形式に変換する。本実施形態では、デバイス通信部306は、変換処理として、小数を浮動小数点形式と固定小数点形式との間で変換する処理を実行するものとするが、これに限られず、他の処理がデバイス通信部306によって実行されてもよい。また、本実施形態では、デバイス通信部306は、着脱可能デバイス100に対してSD規格の範囲内で事前に定められたコマンドシーケンスを送信し、着脱可能デバイス100からの応答を受信することで、着脱可能デバイス100との通信を行うものとする。ネットワーク通信部307は、ネットワーク120を介して、入出力装置130との通信を行う。 The device communication unit 306 communicates with the detachable device 100. The device communication unit 306 converts the input data into a format that can be processed by the detachable device 100, and transmits the data obtained by the conversion to the detachable device 100. Further, the device communication unit 306 receives data from the detachable device 100 and converts the received data into a format that can be processed by the image pickup apparatus 110. In the present embodiment, the device communication unit 306 executes a process of converting a decimal number between a floating point format and a fixed point format as a conversion process, but the conversion process is not limited to this, and other processes are device communication. It may be performed by unit 306. Further, in the present embodiment, the device communication unit 306 transmits a command sequence predetermined within the range of the SD standard to the detachable device 100, and receives a response from the detachable device 100. It is assumed that communication with the detachable device 100 is performed. The network communication unit 307 communicates with the input / output device 130 via the network 120.

(着脱可能デバイスの構成)
図4に、着脱可能デバイス100のハードウェア構成例を示す。着脱可能デバイス100は、一例として、I/F部401、FPGA402、SDコントローラ403、記憶部404、及び、FPGA405を含んで構成される。着脱可能デバイス100は、撮像装置110が有するSD I/F部205の着脱ソケットに挿抜できる形状で、すなわちSD規格に則った形状で成形されるものとする。
(Detachable device configuration)
FIG. 4 shows an example of the hardware configuration of the detachable device 100. As an example, the detachable device 100 includes an I / F unit 401, an FPGA 402, an SD controller 403, a storage unit 404, and an FPGA 405. The detachable device 100 is formed in a shape that can be inserted into and removed from the detachable socket of the SD I / F portion 205 of the image pickup apparatus 110, that is, in a shape that conforms to the SD standard.

I/F部401は、撮像装置110等の装置と着脱可能デバイス100とを接続するためのインタフェース部分である。I/F部401は、例えば、撮像装置110から電源の供給を受け、着脱可能デバイス100内で使用する電源を生成し分配する、電気的な接点端子等を含んで構成される。I/F部401は、撮像装置110のSD I/F部205と同様に、SD規格内で定義(準拠)されている項目に関しては、それに従うものとする。撮像装置110からの画像や設定データの受け取り、FPGA402から撮像装置110へのデータの送信は、I/F部401を介して実行される。 The I / F unit 401 is an interface portion for connecting a device such as an image pickup device 110 and a detachable device 100. The I / F unit 401 includes, for example, an electrical contact terminal or the like that receives power from the image pickup apparatus 110 and generates and distributes the power to be used in the detachable device 100. Similar to the SD I / F unit 205 of the image pickup apparatus 110, the I / F unit 401 shall comply with the items defined (compliant) in the SD standard. The reception of images and setting data from the image pickup device 110 and the transmission of data from the FPGA 402 to the image pickup device 110 are executed via the I / F unit 401.

FPGA402は、入出力制御部410、処理切替部411、及び演算処理部412を含んで構成される。FPGA402は、内部の論理回路構造を繰り返し再構成できる半導体デバイスの一種である。FPGA402が実現する処理により、着脱可能デバイス100が装着された装置に、処理機能を追加(提供)することができる。また、FPGA402の再構成機能により、後から論理回路構造を変更することができるため、例えば技術の進歩の早い分野の装置に着脱可能デバイス100を装着することにより、その装置において適時に適切な処理を実行することが可能となる。なお、本実施形態では、FPGAが用いられる例について説明するが、後述する処理を実現可能である限りにおいて、例えば、汎用のASICや専用のLSIが用いられてもよい。FPGA402は、生成される論理回路構造の情報を含んだ設定データが専用のI/Fから書き込まれることにより、又は、その設定データがその専用のI/Fから読み出されることによって、起動される。本実施形態では、この設定データが記憶部404に保持されているものとする。FPGA402は、電源が投入されると、記憶部404から設定データを読み出し、論理回路を生成して起動する。ただし、これに限られず、例えば、着脱可能デバイス内に専用の回路を実装することにより、I/F部401を介して、撮像装置110がFPGA402に設定データを書き込んでもよい。 The FPGA 402 includes an input / output control unit 410, a processing switching unit 411, and an arithmetic processing unit 412. The FPGA 402 is a type of semiconductor device capable of repeatedly reconstructing the internal logic circuit structure. By the processing realized by the FPGA 402, a processing function can be added (provided) to the device equipped with the detachable device 100. Further, since the logic circuit structure can be changed later by the reconstruction function of the FPGA 402, for example, by attaching the detachable device 100 to a device in a field where technological progress is rapid, appropriate processing is performed in the device in a timely manner. Can be executed. In this embodiment, an example in which the FPGA is used will be described, but as long as the processing described later can be realized, for example, a general-purpose ASIC or a dedicated LSI may be used. The FPGA 402 is started by writing the setting data including the information of the generated logic circuit structure from the dedicated I / F or by reading the setting data from the dedicated I / F. In the present embodiment, it is assumed that this setting data is stored in the storage unit 404. When the power is turned on, the FPGA 402 reads the setting data from the storage unit 404, generates a logic circuit, and starts up. However, the present invention is not limited to this, and for example, by mounting a dedicated circuit in the detachable device, the image pickup apparatus 110 may write the setting data to the FPGA 402 via the I / F unit 401.

入出力制御部410は、撮像装置110との間で画像を送受信するための回路、撮像装置110から受信したコマンドを解析する回路、解析した結果に基づいて制御を行う回路、等を含んで構成される。ここでのコマンドは、SD規格に定義されているものであり、入出力制御部410は、それらのうちのいくつかを検出することができる。機能の詳細に関しては後述する。入出力制御部410は、記憶処理の場合はSDコントローラ403へ画像を送信し、画像解析処理の場合は演算処理部412へ画像を送信するように制御を行う。また、入出力制御部410は、処理の切り替えの設定データを受け取った場合は、処理切替部411へ設定データを送信する。処理切替部411は、撮像装置110から受け取った設定データに基づいて、記憶部404から画像解析処理機能の情報を取得し、演算処理部412に書き込むための回路を含んで構成される。画像解析処理機能の情報は、例えば、演算処理部412内で処理される演算の順序や種類、演算の係数などを示す設定パラメータである。演算処理部412は、画像解析処理機能を実行するために必要な複数の演算回路を含んで構成される。演算処理部412は、処理切替部411から受け取った画像解析処理機能の情報に基づいて、各演算処理を実行して、その処理結果を撮像装置110へ送信し、及び/又は、その処理結果を記憶部404に記録する。このように、FPGA402は、事前に保持された複数の処理機能に対応する設定データに含まれる、実行対象の処理機能の設定データを抽出して、その抽出した設定データに基づいて演算処理部412によって実行される処理内容を書き換える。これにより、着脱可能デバイス100が、その複数の処理機能のうちの少なくともいずれかを選択的に実行することができる。また、新規に追加する処理の設定データを随時追加することにより、撮像装置110側で最新の処理を実行させることができる。なお、以下では、複数の処理機能のそれぞれに対応する複数の設定データを有していることを、複数の処理機能を有すると表現する。すなわち、着脱可能デバイス100のFPGA402が1つの処理機能を実行するように構成されている状態であっても、他の処理機能のための設定データにより演算処理部412の処理内容を変更することができる場合、複数の処理機能を有する、と表現する。 The input / output control unit 410 includes a circuit for transmitting and receiving an image to and from the image pickup device 110, a circuit for analyzing a command received from the image pickup device 110, a circuit for performing control based on the analysis result, and the like. Will be done. The commands here are those defined in the SD standard, and the input / output control unit 410 can detect some of them. The details of the function will be described later. The input / output control unit 410 controls so as to transmit an image to the SD controller 403 in the case of storage processing and to transmit an image to the arithmetic processing unit 412 in the case of image analysis processing. When the input / output control unit 410 receives the processing switching setting data, the input / output control unit 410 transmits the setting data to the processing switching unit 411. The processing switching unit 411 includes a circuit for acquiring information on the image analysis processing function from the storage unit 404 and writing it to the arithmetic processing unit 412 based on the setting data received from the image pickup apparatus 110. The information of the image analysis processing function is, for example, a setting parameter indicating the order and type of operations processed in the operation processing unit 412, the coefficient of the operation, and the like. The arithmetic processing unit 412 is configured to include a plurality of arithmetic circuits necessary for executing the image analysis processing function. The arithmetic processing unit 412 executes each arithmetic processing based on the information of the image analysis processing function received from the processing switching unit 411, transmits the processing result to the image pickup apparatus 110, and / or outputs the processing result. Record in the storage unit 404. In this way, the FPGA 402 extracts the setting data of the processing function to be executed, which is included in the setting data corresponding to the plurality of processing functions held in advance, and the arithmetic processing unit 412 is based on the extracted setting data. Rewrite the processing content executed by. As a result, the detachable device 100 can selectively execute at least one of the plurality of processing functions. Further, by adding the setting data of the newly added process at any time, the latest process can be executed on the image pickup apparatus 110 side. In the following, having a plurality of setting data corresponding to each of the plurality of processing functions is expressed as having a plurality of processing functions. That is, even if the FPGA 402 of the detachable device 100 is configured to execute one processing function, the processing content of the arithmetic processing unit 412 can be changed by the setting data for the other processing function. When possible, it is expressed as having a plurality of processing functions.

SDコントローラ403は、SD規格に定義されているような公知のコントロールIC(集積回路)であり、SDプロトコルのスレーブ動作の制御と、記憶部404に対するデータの読み書きの制御とを実行する。記憶部404は、例えばNAND型フラッシュメモリによって構成され、例えば、撮像装置110から書き込まれた記憶データ、演算処理部412に書き込まれる画像解析処理機能の情報、FPGA402の設定データ等の各種情報を記憶する。 The SD controller 403 is a known control IC (integrated circuit) as defined in the SD standard, and executes control of slave operation of the SD protocol and control of reading / writing data to / from the storage unit 404. The storage unit 404 is configured by, for example, a NAND flash memory, and stores various information such as storage data written from the image pickup apparatus 110, information of the image analysis processing function written to the arithmetic processing unit 412, and setting data of the FPGA 402. do.

図5に、着脱可能デバイス100の機能構成例を示す。着脱可能デバイス100は、その機能構成として、例えば、解析部501及び通信部502を含む。解析部501は、画像に対する解析処理を実行する。解析部501は、例えば、解析処理設定要求を入力された場合に、入力された解析処理を実行可能な状態にするための設定を実行する。また、解析部501は、画像が入力された場合、その入力された画像に対して、実行可能な状態に設定された解析処理を実行する。本実施形態では、実行可能な解析処理は、人体検出処理と顔検出処理であるものとするが、これらに限られない。例えば、事前に記憶された人物が画像に含まれるか否かを判定する処理(例えば顔認証処理)であってもよい。例えば、事前に記憶された人物の画像特徴量と、入力された画像から検出された人物の画像特徴量との一致度合いが算出され、一致度合いが閾値以上の場合に事前に記憶された人物であると判定される。また、プライバシー保護を目的として。入力された画像から検出された人物に対して、所定のマスク画像を重畳したり、モザイク処理を施したりする処理であってもよい。また、人物の特定の行動を機械学習によって学習した学習モデルを用いて、画像中の人物が特定の行動を行っているかを検出する処理であってもよい。さらには、画像中の領域がどのような領域なのかを判定する処理であってもよい。例えば、建物や道路、人物、空等を機械学習によって学習した学習モデルを用いて、画像中の領域がどのような領域なのかを判定する処理であってもよい。以上のように、実行可能な解析処理は、機械学習を用いた画像解析処理にも、機械学習を用いない画像解析処理にも応用可能である。また、上記の各解析処理は、着脱可能デバイス100が単独で行うのではなく、撮像装置110と協働して実行してもよい。通信部502は、I/F部401を介して、撮像装置110との通信を行う。 FIG. 5 shows an example of the functional configuration of the removable device 100. The detachable device 100 includes, for example, an analysis unit 501 and a communication unit 502 as its functional configuration. The analysis unit 501 executes an analysis process on the image. For example, when the analysis process setting request is input, the analysis unit 501 executes the setting for making the input analysis process executable. Further, when an image is input, the analysis unit 501 executes an analysis process set in an executable state on the input image. In the present embodiment, the feasible analysis processes are, but are not limited to, the human body detection process and the face detection process. For example, it may be a process of determining whether or not a person stored in advance is included in the image (for example, a face recognition process). For example, the degree of matching between the image feature amount of the person stored in advance and the image feature amount of the person detected from the input image is calculated, and when the degree of matching is equal to or more than the threshold value, the person is stored in advance. It is determined that there is. Also, for the purpose of privacy protection. It may be a process of superimposing a predetermined mask image or performing a mosaic process on the person detected from the input image. Further, it may be a process of detecting whether or not the person in the image is performing a specific action by using a learning model in which a specific action of the person is learned by machine learning. Further, it may be a process of determining what kind of region the region in the image is. For example, it may be a process of determining what kind of area is in the image by using a learning model in which buildings, roads, people, the sky, etc. are learned by machine learning. As described above, the executable analysis process can be applied to both the image analysis process using machine learning and the image analysis process not using machine learning. Further, each of the above analysis processes may not be performed by the detachable device 100 alone, but may be performed in cooperation with the image pickup apparatus 110. The communication unit 502 communicates with the image pickup apparatus 110 via the I / F unit 401.

(入出力装置の構成)
図6に、入出力装置130のハードウェア構成例を示す。入出力装置130は、一般的なPC等のコンピュータとして構成され、例えば、図6に示すように、CPU等のプロセッサ601、RAM602やROM603等のメモリ、HDD604等の記憶装置、及び、通信I/F605を含んで構成される。入出力装置130は、プロセッサ601が、メモリや記憶装置に格納されたプログラムを実行することにより、各種機能を実行することができる。
(I / O device configuration)
FIG. 6 shows an example of the hardware configuration of the input / output device 130. The input / output device 130 is configured as a computer such as a general PC. For example, as shown in FIG. 6, the input / output device 130 includes a processor 601 such as a CPU, a memory such as a RAM 602 and a ROM 603, a storage device such as an HDD 604, and a communication I / O. It is configured to include F605. The input / output device 130 can execute various functions by the processor 601 executing a program stored in the memory or the storage device.

図7に、本実施形態に係る入出力装置130の機能構成例を示す。入出力装置130は、その機能構成として、例えば、ネットワーク通信部701、制御部702、表示部703、及び操作部704を含む。ネットワーク通信部701は、例えばネットワーク120に接続し、ネットワーク120を介して撮像装置110等の外部装置との通信を実行する。なお、これは一例に過ぎず、例えば、ネットワーク通信部701は、撮像装置110と直接接続を確立して、ネットワーク120や他の装置を介さずに、撮像装置110と通信するように構成されてもよい。制御部702は、ネットワーク通信部701と表示部703と操作部704とがそれぞれの処理を実行するように、制御する。表示部703は、例えばディスプレイを介してユーザに情報を提示する。本実施形態では、ブラウザがレンダリングした結果をディスプレイに表示することによって、情報がユーザに提示される。なお、音声や振動等の画面表示以外の方法で情報が提示されてもよい。操作部704は、ユーザからの操作を受け付ける。本実施形態では、操作部704がマウスやキーボードであり、ユーザがこれらを操作して、ブラウザにユーザ操作を入力するものとする。ただし、これに限られず、操作部704は、例えば、タッチパネルやマイクなど、他のユーザの意図を検出することができる任意のデバイスであってもよい。 FIG. 7 shows an example of the functional configuration of the input / output device 130 according to the present embodiment. The input / output device 130 includes, for example, a network communication unit 701, a control unit 702, a display unit 703, and an operation unit 704 as its functional configuration. The network communication unit 701 connects to the network 120, for example, and executes communication with an external device such as an image pickup device 110 via the network 120. Note that this is only an example. For example, the network communication unit 701 is configured to establish a direct connection with the image pickup device 110 and communicate with the image pickup device 110 without going through the network 120 or other devices. May be good. The control unit 702 controls the network communication unit 701, the display unit 703, and the operation unit 704 so as to execute their respective processes. The display unit 703 presents information to the user, for example, via a display. In this embodiment, information is presented to the user by displaying the result rendered by the browser on the display. Information may be presented by a method other than screen display such as voice or vibration. The operation unit 704 receives an operation from the user. In the present embodiment, the operation unit 704 is a mouse or a keyboard, and the user operates these to input the user operation to the browser. However, the present invention is not limited to this, and the operation unit 704 may be any device that can detect the intention of another user, such as a touch panel or a microphone.

<処理の流れ>
続いて、システム内で実行される処理の流れの例について説明する。なお、以下の各処理のうち撮像装置110が実行する処理は、例えば、演算処理部203内のプロセッサがメモリ等に記憶されたプログラムを実行することによって実現される。ただし、これは一例に過ぎず、後述の処理の一部又は全部が、専用のハードウェアによって実現されてもよい。また、着脱可能デバイス100や入出力装置130が実行する処理についても、各装置におけるプロセッサがメモリ等に記憶されたプログラムを実行することによって実現されてもよいし、処理の一部又は全部を、専用のハードウェアによって実現してもよい。
<Processing flow>
Next, an example of the flow of processing executed in the system will be described. Of the following processes, the process executed by the image pickup apparatus 110 is realized, for example, by the processor in the arithmetic processing unit 203 executing a program stored in a memory or the like. However, this is only an example, and a part or all of the processing described later may be realized by dedicated hardware. Further, the processing executed by the detachable device 100 and the input / output device 130 may also be realized by the processor in each device executing a program stored in a memory or the like, and a part or all of the processing may be performed. It may be realized by dedicated hardware.

(全体の流れ)
図8に、システムで実行される画像解析処理の一連の流れを概略的に示す。本処理では、まず、ユーザによって、撮像装置110に着脱可能デバイス100が装着される(S801)。撮像装置110は、着脱可能デバイス100の初期化シーケンスを実行する(S802)。この初期化シーケンスでは、撮像装置110と着脱可能デバイス100との間で所定のコマンドが送受信されることにより、撮像装置110が、着脱可能デバイス100を使用可能な状態となる。その後、撮像装置110は、着脱可能デバイス100が実行可能な処理を把握し、ローカルで実行可能な(撮像装置110単体で又は撮像装置110と着脱可能デバイス100の組み合わせで実行可能な)処理を把握する(S803)。なお、着脱可能デバイス100は、任意の処理を実行可能なように構成されうるが、撮像装置110側で実行されるべき処理と無関係な処理については考慮されなくてもよい。一例において、撮像装置110は、例えば入出力装置130から事前に取得した実行されうる処理のリストを保持しておいてもよい。この場合、撮像装置110は、着脱可能デバイス100が実行可能な処理を示す情報を着脱可能デバイス100から取得した際に、その処理がリストに含まれているか否かによって、実行されうる処理のみを把握することができる。続いて、撮像装置110は、実行する処理を決定し、必要に応じて着脱可能デバイス100の設定を実行する(S804)。すなわち、実行対象として決定された処理の少なくとも一部が着脱可能デバイス100によって実行される場合に、その処理のための着脱可能デバイス100の設定が実行される。この設定においては、例えば、実行対象の処理に対応する設定データを用いたFPGA402の再構成が行われうる。そして、撮像装置110または着脱可能デバイス100が、解析処理を実行する(S805)。その後、撮像装置110は、後処理を実行する(S806)。なお、S805とS806の処理は繰り返し実行される。図8の処理は、例えば、着脱可能デバイス100が装着された際に実行されるが、例えば着脱可能デバイス100が取り外された際にも、S803の処理が再度実行されるようにするなど、図8の処理の少なくとも一部が繰り返し実行されてもよい。
(Overall flow)
FIG. 8 schematically shows a series of flow of image analysis processing executed by the system. In this process, first, the user attaches the detachable device 100 to the image pickup apparatus 110 (S801). The image pickup apparatus 110 executes an initialization sequence of the detachable device 100 (S802). In this initialization sequence, a predetermined command is transmitted and received between the image pickup device 110 and the detachable device 100, so that the image pickup device 110 is in a state where the detachable device 100 can be used. After that, the image pickup device 110 grasps the processes that can be executed by the detachable device 100, and grasps the processes that can be executed locally (the image pickup device 110 alone or the combination of the image pickup device 110 and the detachable device 100 can execute the processes). (S803). The detachable device 100 may be configured to be capable of executing arbitrary processing, but processing unrelated to the processing to be executed on the image pickup apparatus 110 side may not be considered. In one example, the imaging device 110 may retain, for example, a list of possible processes previously obtained from the input / output device 130. In this case, when the image pickup device 110 acquires information indicating a process that can be executed by the detachable device 100 from the detachable device 100, only the process that can be executed depends on whether or not the process is included in the list. Can be grasped. Subsequently, the image pickup apparatus 110 determines the process to be executed, and executes the setting of the detachable device 100 as needed (S804). That is, when at least a part of the process determined as the execution target is executed by the detachable device 100, the setting of the detachable device 100 for the process is executed. In this setting, for example, the FPGA 402 can be reconfigured using the setting data corresponding to the process to be executed. Then, the image pickup apparatus 110 or the detachable device 100 executes the analysis process (S805). After that, the image pickup apparatus 110 executes post-processing (S806). The processes of S805 and S806 are repeatedly executed. The process of FIG. 8 is executed, for example, when the detachable device 100 is attached. For example, the process of S803 is executed again when the detachable device 100 is removed. At least a part of the process of 8 may be repeatedly executed.

なお、図8は、着脱可能デバイス100による処理機能を利用可能に構成されている撮像装置110に、処理機能を有する着脱可能デバイス100が装着された場合に実行される処理の流れの例を示している。一方で、例えば、処理機能を有しない着脱可能デバイス100が撮像装置110に装着された場合には、当然に着脱可能デバイス100による画像処理が行われることはない。例えば、ユーザが誤ったSDカードを撮像装置110に装着した場合には、着脱可能デバイス100による機能追加を行うことができない。ユーザは、例えば、撮像装置110側で実行可能な処理を調べることにより、このような処理機能を有しないデバイスが撮像装置110に装着されたことを認識することができる。このため、ユーザは、誤って追加処理機能を有しない着脱可能デバイス100を撮像装置110に装着した場合に、その状態を認識することができる。また、ユーザは、例えば入出力装置130を介して、どの撮像装置110において、そのような誤装着が起きたかを認識することができる。一方、撮像装置110には、着脱可能デバイス100による機能の追加に対応していない場合がありうる。この場合、撮像装置110は、装着された着脱可能デバイス100が追加機能を有するか否かを認識することもできない。すなわち、SDカード型の着脱可能デバイス100が装着された場合、撮像装置110が、単なる記憶装置としてのSDカードとしか認識することができない。このため、ユーザは、誤って追加処理機能を有する着脱可能デバイス100を機能追加に対応しない撮像装置110に装着した場合に、その誤装着を認識することができないことがある。例えば、着脱可能デバイス100に固有のIDを割り当て、撮像装置110がそのIDを読み取ることにより着脱可能デバイス100の種類を判別することが可能である。しかしながら、撮像装置110がIDを読み取る機能を有しない場合、着脱可能デバイス100が有する機能を判別することはできない。このため、本来は機能追加に対応可能な撮像装置110に装着されるはずだった着脱可能デバイス100が、そのような機能追加に対応可能でない撮像装置110に装着された場合、それを撮像装置110において認識することができない。この結果、どの撮像装置110において誤装着が発生したかを確認するためには、ユーザが撮像装置110のそれぞれに装着されている着脱可能デバイス100を取り外して確認する必要があり、煩雑である。 Note that FIG. 8 shows an example of a processing flow executed when the removable device 100 having a processing function is attached to the image pickup apparatus 110 configured to enable the processing function by the removable device 100. ing. On the other hand, for example, when the detachable device 100 having no processing function is attached to the image pickup apparatus 110, the image processing by the detachable device 100 is not performed as a matter of course. For example, if the user attaches an erroneous SD card to the image pickup apparatus 110, the detachable device 100 cannot add functions. The user can recognize that a device having no such processing function is attached to the imaging device 110, for example, by examining the processing that can be performed on the imaging device 110 side. Therefore, when the removable device 100 having no additional processing function is erroneously attached to the image pickup apparatus 110, the user can recognize the state. In addition, the user can recognize in which imaging device 110 such an erroneous attachment has occurred, for example, via the input / output device 130. On the other hand, the image pickup apparatus 110 may not support the addition of functions by the removable device 100. In this case, the image pickup apparatus 110 cannot recognize whether or not the attached removable device 100 has an additional function. That is, when the SD card type removable device 100 is attached, the image pickup apparatus 110 can only recognize the SD card as a mere storage device. Therefore, when the detachable device 100 having the additional processing function is erroneously attached to the image pickup apparatus 110 that does not correspond to the additional function, the user may not be able to recognize the erroneous attachment. For example, a unique ID is assigned to the removable device 100, and the image pickup device 110 can read the ID to determine the type of the removable device 100. However, if the image pickup apparatus 110 does not have the function of reading the ID, the function of the removable device 100 cannot be determined. Therefore, when the removable device 100, which was originally supposed to be attached to the image pickup device 110 capable of adding functions, is attached to the image pickup device 110 which cannot support such addition of functions, it is attached to the image pickup device 110. Cannot be recognized in. As a result, in order to confirm in which image pickup device 110 the erroneous attachment has occurred, it is necessary for the user to remove and confirm the detachable device 100 attached to each of the image pickup devices 110, which is complicated.

このため、本実施形態では、撮像装置110に装着された着脱可能デバイス100が追加機能を有するかを効率的に特定可能とするための手順を用いる。以下では、この手順について説明する。 Therefore, in the present embodiment, a procedure is used to efficiently identify whether or not the removable device 100 mounted on the image pickup apparatus 110 has an additional function. This procedure will be described below.

図9を用いて、着脱可能デバイスが拡張機能として画像解析処理機能を有するか否かを判定する流れの例について説明する。なお、本実施形態の着脱可能デバイス100は、拡張機能として画像解析処理機能を提供可能であるが、これに加えて又はそれに代えて別の拡張機能に対応可能でありうる。このため、以下では、特に言及する必要がない限り、画像解析処理機能との文言に代えて、拡張機能との用語を用いる。 An example of a flow for determining whether or not the detachable device has an image analysis processing function as an extended function will be described with reference to FIG. The detachable device 100 of the present embodiment can provide an image analysis processing function as an extended function, but may be compatible with another extended function in addition to or in place of this. Therefore, in the following, unless otherwise specified, the term “extended function” is used instead of the term “image analysis processing function”.

図9の処理では、まず、ユーザが、撮像装置110に着脱可能デバイス100を装着する(S901)。撮像装置110は、着脱可能デバイス100との間で所定の処理シーケンスを実行する(S902)。このシーケンスは、起動時に実行される初期シーケンスや、初期シーケンスが終わった後のデータを送受信するためのシーケンスでありうる。これらの2つの処理については後述する。そして、入出力装置130が、撮像装置110に対して、撮像装置110が拡張機能に対応しているか否かを問い合わせる(S903)。例えば、ユーザが入出力装置130を操作することによってこの問い合わせが行われる。なお、この問い合わせは、例えば、事前に入出力装置130と撮像装置110との間で定められた方法および内容によって行われうる。この問い合わせ処理の詳細については後述する。なお、この場合、入出力装置130は、この事前に定められた方法に対応していない撮像装置に対して問い合わせが行われた場合は、その撮像装置から、その問い合わせに対する応答を受信せず、又は、エラーメッセージを受信することとなる。入出力装置130は、問い合わせに対して撮像装置110からエラーメッセージではない応答を受信した場合、その応答に基づいて撮像装置110が拡張機能に対応しているか否かを判定する(S904)。入出力装置130は、撮像装置110が拡張機能に対応していないと判定した場合(S904でNO)、着脱可能デバイス100の指定のデータを参照する(S905)。この指定のデータの設定手順や、このデータを参照するための処理についても後述する。入出力装置130は、この指定のデータに基づいて、着脱可能デバイス100が拡張機能を有するか否かを判定する(S906)。なお、着脱可能デバイス100の指定のデータは、例えば、S902の初期シーケンスにおいて生成されうる。このため、データの内容の詳細については、S902の初期シーケンスの説明と共に後述する。一方で、入出力装置130は、撮像装置110が拡張機能に対応していると判定した場合(S904でYES)、撮像装置110に対して、着脱可能デバイス100が拡張機能を有するか否かを問い合わせる。そして、入出力装置130は、この問い合わせにより、着脱可能デバイス100が拡張機能を有するか否かを判定する(S907)。この問い合わせの手順についても後述する。 In the process of FIG. 9, the user first attaches the detachable device 100 to the image pickup apparatus 110 (S901). The image pickup apparatus 110 executes a predetermined processing sequence with the detachable device 100 (S902). This sequence may be an initial sequence executed at startup or a sequence for sending and receiving data after the initial sequence is completed. These two processes will be described later. Then, the input / output device 130 inquires of the image pickup device 110 whether or not the image pickup device 110 supports the extended function (S903). For example, this inquiry is made by the user operating the input / output device 130. It should be noted that this inquiry can be made, for example, by a method and content previously determined between the input / output device 130 and the image pickup device 110. The details of this inquiry processing will be described later. In this case, when an inquiry is made to an imaging device that does not correspond to this predetermined method, the input / output device 130 does not receive a response to the inquiry from the imaging device. Alternatively, an error message will be received. When the input / output device 130 receives a response other than an error message from the image pickup device 110 in response to the inquiry, the input / output device 130 determines whether or not the image pickup device 110 supports the extended function based on the response (S904). When the input / output device 130 determines that the image pickup device 110 does not support the extended function (NO in S904), the input / output device 130 refers to the designated data of the detachable device 100 (S905). The procedure for setting the specified data and the process for referencing this data will also be described later. The input / output device 130 determines whether or not the detachable device 100 has an extended function based on the designated data (S906). The designated data of the detachable device 100 can be generated, for example, in the initial sequence of S902. Therefore, the details of the data contents will be described later together with the description of the initial sequence of S902. On the other hand, when the input / output device 130 determines that the image pickup device 110 supports the extended function (YES in S904), the input / output device 130 determines whether or not the detachable device 100 has the extended function with respect to the image pickup device 110. Inquire. Then, the input / output device 130 determines whether or not the detachable device 100 has an extended function based on this inquiry (S907). The procedure for this inquiry will also be described later.

図10及び図13を用いて、図9のS902において実行される処理の例について説明する。本処理では、着脱可能デバイス100が、撮像装置110が拡張機能に対応しているか否かを判定し、判定結果に基づく処理を実行する。まず、図10において、撮像装置110に着脱可能デバイス100が取り付けられて起動された後に、初期シーケンスが開始される(S1001)。この初期シーケンスは、例えば着脱可能デバイスがSD規格に従って動作するデバイスである場合、SD規格に従って実行される。図11に、SD規格に従う初期シーケンスの流れの例を示す。図11において、「CMD」はコマンドであり、「ACMD」はアプリケーションコマンドである。なお、CMD及びACMDの後に続く数字は、コマンドの種類を示しており、その数字に対応する内容の要求がなされる。着脱可能デバイス100は、撮像装置110の要求コマンドに対して、応答を必要とするコマンドに対しては応答を撮像装置110へ送信し、応答を必要としない要求コマンドに対しては応答を送信しない。また、SD規格では、着脱可能デバイス100から撮像装置110に対して要求コマンドが送信されることはない。 An example of the process executed in S902 of FIG. 9 will be described with reference to FIGS. 10 and 13. In this process, the detachable device 100 determines whether or not the image pickup apparatus 110 supports the extended function, and executes a process based on the determination result. First, in FIG. 10, the initial sequence is started after the detachable device 100 is attached to the image pickup apparatus 110 and activated (S1001). This initial sequence is performed according to the SD standard, for example, if the removable device is a device that operates according to the SD standard. FIG. 11 shows an example of the flow of the initial sequence according to the SD standard. In FIG. 11, "CMD" is a command and "CAMD" is an application command. The numbers following the CMD and the CMD indicate the type of command, and the content corresponding to the numbers is requested. The detachable device 100 transmits a response to the request command of the image pickup apparatus 110 to the image pickup apparatus 110 for a command requiring a response, and does not transmit a response to a request command that does not require a response. .. Further, in the SD standard, the request command is not transmitted from the detachable device 100 to the image pickup apparatus 110.

着脱可能デバイス100は、自装置が拡張機能を有することを示すコマンドを、撮像装置110からの要求コマンドに対する応答において引数を加えて送信する(S1002)。このときに送信されるコマンドと応答は、例えばSD規格に準拠した形式のコマンド及び応答でありうる。SD規格に準拠したコマンドの構成例を図12に示す。図12は、コマンドCMD2への応答の構成例を示している。この応答は、それぞれ1ビット、1ビット、6ビット、127ビット、1ビットの長さを有するフィールドであるStart bit、transmission bit、reserved、CID又はCSD register、及びend bitを含む。これらのうち、reservedフィールドは、SDの通信では通常使用されない予備のために用意されているフィールドであり、通常のコマンドの通信では無視される。このため、本実施形態では、着脱可能デバイス100が、このreservedフィールドに、自装置が拡張機能を有するか否かを示すパラメータを付加して撮像装置110に送信するようにする。これにより、着脱可能デバイス100は、撮像装置110に対して自装置が拡張機能を有することを通知することができる。なお、CMD2は一例であり、他のコマンドへの応答に、着脱可能デバイス100が拡張機能を有するか否かのパラメータが付加されてもよい。また、着脱可能デバイス100が拡張機能を有するか否かを示す情報が付加されるフィールドは、reservedフィールドに限られない。 The detachable device 100 transmits a command indicating that its own device has an extended function by adding an argument in response to a request command from the image pickup device 110 (S1002). The command and response transmitted at this time may be, for example, a command and response in a format conforming to the SD standard. FIG. 12 shows an example of a command configuration conforming to the SD standard. FIG. 12 shows a configuration example of the response to the command CMD2. This response includes fields with a length of 1 bit, 1 bit, 6 bits, 127 bits, and 1 bit, respectively, Start bit, transmission bit, reserved, CID or CSD register, and end bit. Of these, the reserved field is a field prepared as a spare field that is not normally used in SD communication, and is ignored in normal command communication. Therefore, in the present embodiment, the detachable device 100 adds a parameter indicating whether or not its own device has an extended function to the reserved field and transmits it to the image pickup device 110. As a result, the removable device 100 can notify the image pickup device 110 that the device itself has an extended function. Note that CMD2 is an example, and a parameter as to whether or not the detachable device 100 has an extended function may be added to the response to another command. Further, the field to which the information indicating whether or not the removable device 100 has the extended function is added is not limited to the reserved field.

上述のように、撮像装置110は、一般にはreservedフィールドを無視する。一方で、本実施形態では、着脱可能デバイス100による機能追加に対応可能な撮像装置110は、着脱可能デバイス100が拡張機能を有することを示す情報がreservedフィールドに含まれているかを確認する。そして、撮像装置110は、この情報がreservedフィールドに含まれていた場合に、応答(コマンド)を着脱可能デバイス100へ送信する。なお、本実施形態では、コマンドを撮像装置110のみが送信する場合について説明しているが、着脱可能デバイス100からコマンドを送信可能としてもよい。そして、このコマンドによって、撮像装置110に対して、撮像装置110が着脱可能デバイス100による機能追加に対応可能であるかを示す情報を通知させる指示がなされてもよい。すなわち、着脱可能デバイス100からの所定の第1の信号に対して、自装置が着脱可能デバイス100による機能追加に対応可能であるかを示す情報を通知する所定の第2の信号を撮像装置110が着脱可能デバイス100へ送信する任意の構成が用いられうる。 As mentioned above, the imaging device 110 generally ignores the reserved field. On the other hand, in the present embodiment, the imaging device 110 capable of adding functions by the removable device 100 confirms whether the reserved field contains information indicating that the removable device 100 has an extended function. Then, when this information is included in the reserved field, the image pickup apparatus 110 transmits a response (command) to the detachable device 100. Although the case where the command is transmitted only by the image pickup apparatus 110 is described in the present embodiment, the command may be transmitted from the detachable device 100. Then, this command may instruct the image pickup apparatus 110 to notify the image pickup apparatus 110 of information indicating whether or not the image pickup apparatus 110 can support the addition of functions by the detachable device 100. That is, the image pickup device 110 transmits a predetermined second signal for notifying information indicating whether or not the own device can support the addition of functions by the detachable device 100 with respect to the predetermined first signal from the detachable device 100. Any configuration can be used in which is transmitted to the removable device 100.

着脱可能デバイス100は、撮像装置110から応答を受信したか否かにより、撮像装置110が拡張機能に対応しているか否かを判定することができる(S1003)。着脱可能デバイス100は、例えば、撮像装置110から特定の応答を受信した場合(S1003でYES)に撮像装置110が拡張機能に対応していると判定する(S1006)。一方、着脱可能デバイス100は、例えば、撮像装置110から特定の応答を受信しなかった場合(S1003でNO)には、撮像装置110が拡張機能に対応していないと判定する(S1004)。着脱可能デバイス100は、撮像装置110が拡張機能に対応していないと判定した場合(S1004)、自装置が拡張機能を有することを示すデータを作成して、記憶部404に保存する(S1005)。ここで作成されるデータは、テキスト、バイナリ、画像、動画などの特定の形式を有しうる。また、ここで作成されるデータは、特定の形式を有するのに変えて又はこれに加えて、特定のファイル名を有してもよいし、特定のフォルダ名のフォルダに格納されてもよい。また、例えば、記憶部404の事前に定められた特定の領域に、作成されたデータが保存されるようにしてもよい。すなわち、後に入出力装置130等によって指定された際に抽出可能な形式である限り、どのような形式でデータが保存されてもよい。また、作成されるデータは、撮像装置110が拡張機能に対応していないことと、着脱可能デバイス100の種類と、拡張機能を動作させるために必要な撮像装置の条件と、の少なくともいずれかを含みうる。なお、着脱可能デバイス100の種類は、ハードウェアバージョン、ソフトウェアバージョン、対応している拡張機能などでありうる。これによれば、ユーザは、入出力装置130等を介して、S1005で作成されたデータが保存されるべき領域を検索することで、撮像装置110が着脱可能デバイス100による機能追加に対応しているかを認識することができる。 The detachable device 100 can determine whether or not the image pickup device 110 supports the extended function based on whether or not the response is received from the image pickup device 110 (S1003). The detachable device 100 determines, for example, that the image pickup device 110 corresponds to the extended function when a specific response is received from the image pickup device 110 (YES in S1003) (S1006). On the other hand, when the detachable device 100 does not receive a specific response from the image pickup device 110 (NO in S1003), the detachable device 100 determines that the image pickup device 110 does not support the extended function (S1004). When the detachable device 100 determines that the image pickup device 110 does not support the extended function (S1004), the detachable device 100 creates data indicating that the own device has the extended function and stores the data in the storage unit 404 (S1005). .. The data created here can have specific formats such as text, binary, images, and moving images. Further, the data created here may have a specific file name in addition to having a specific format, or may be stored in a folder having a specific folder name. Further, for example, the created data may be stored in a predetermined specific area of the storage unit 404. That is, the data may be stored in any format as long as it is in a format that can be extracted when later specified by the input / output device 130 or the like. Further, the data to be created is at least one of the fact that the image pickup device 110 does not support the extended function, the type of the detachable device 100, and the conditions of the image pickup device necessary for operating the extended function. Can include. The type of the removable device 100 may be a hardware version, a software version, a supported extended function, or the like. According to this, the user searches the area where the data created in S1005 should be stored via the input / output device 130 or the like, so that the image pickup device 110 corresponds to the addition of the function by the detachable device 100. Can be recognized.

着脱可能デバイス100は、S1003において撮像装置110が拡張機能に対応していると判定した場合(S1006)、以前にS1005で作成されたデータが保存されているか否かを判定する(S1007)。そして、着脱可能デバイス100は、以前にS1005で作成されたデータが保存されていると判定される場合(S1007でYES)には、そのデータを削除する(S1008)。このデータの削除により、ユーザは、入出力装置130を介して、S1005で作成されたデータが保存されるべき領域を検索した場合に、撮像装置110が拡張機能に対応していないことに対応するデータが発見されることはなくなる。この結果、撮像装置110が拡張機能に対応していないとユーザが誤判定することを防ぐことができる。なお、データの削除に代えて、データを無効な値などの所定値に書き換えてもよい。 When the detachable device 100 determines in S1003 that the image pickup apparatus 110 corresponds to the extended function (S1006), the detachable device 100 determines whether or not the data previously created in S1005 is stored (S1007). Then, when it is determined that the data previously created in S1005 is stored (YES in S1007), the detachable device 100 deletes the data (S1008). By deleting this data, when the user searches the area where the data created in S1005 should be stored via the input / output device 130, the user corresponds to the fact that the image pickup device 110 does not support the extended function. No data will be found. As a result, it is possible to prevent the user from erroneously determining that the image pickup apparatus 110 does not support the extended function. Instead of deleting the data, the data may be rewritten to a predetermined value such as an invalid value.

なお、着脱可能デバイスが、一般的な記憶機能のみを有するデバイスである場合にも、上述の処理を実行するように構成されてもよいが、上述の処理が行われなくてもよい。上述の処理が行われないことにより、S1005のデータ生成が行われないこととなる。この場合、入出力装置130は、撮像装置110が着脱可能デバイス100による機能追加に対応していない場合に、着脱可能デバイス100に保存されている指定データの参照を試みるが、そのデータが存在しないため、その参照に失敗することとなる。このため、入出力装置130は、着脱可能デバイス100に保存されている指定データの参照を試みながらも参照に失敗した場合に、着脱可能デバイス100が、拡張機能を提供するものではないと判定しうる。 Even when the detachable device is a device having only a general storage function, it may be configured to execute the above-mentioned processing, but the above-mentioned processing may not be performed. Since the above processing is not performed, the data of S1005 is not generated. In this case, when the image pickup device 110 does not support the function addition by the detachable device 100, the input / output device 130 tries to refer to the designated data stored in the detachable device 100, but the data does not exist. Therefore, the reference will fail. Therefore, when the input / output device 130 attempts to refer to the designated data stored in the detachable device 100 but fails to refer to the designated data, the input / output device 130 determines that the detachable device 100 does not provide the extended function. sell.

図13は、撮像装置110の初期シーケンスが終了した後に、撮像装置110が拡張機能に対応することとなった場合に実行される処理の流れの例を示している。図13の処理では、図9のS902において撮像装置110が起動中に拡張機能に対応することとなると(S1301)、撮像装置110が、拡張機能に対応したことを示すコマンドを、着脱可能デバイス100へ送信する(S1302)。その後に、着脱可能デバイス100において、S1005で作成されたデータが削除される(S1303)。なお、ここでも、データを削除せずに、例えば、無効データなどの所定のデータへの書き換えが行われてもよい。 FIG. 13 shows an example of a processing flow that is executed when the imaging device 110 becomes compatible with the extended function after the initial sequence of the imaging device 110 is completed. In the process of FIG. 13, when the image pickup device 110 corresponds to the extended function during activation in S902 of FIG. 9 (S1301), the detachable device 100 issues a command indicating that the image pickup device 110 supports the extended function. (S1302). After that, in the removable device 100, the data created in S1005 is deleted (S1303). Also here, the data may be rewritten to predetermined data such as invalid data without deleting the data.

なお、図13は、撮像装置110が、拡張機能に対応することとなった場合に、能動的にコマンドを着脱可能デバイス100へ送信する場合の例を示したが、これに限られない。例えば、着脱可能デバイス100は、S1002の信号を一定周期で定期的に送信し、応答が得られたか否かによって、撮像装置110が拡張機能に対応することとなったか否かを判定してもよい。 Note that FIG. 13 shows an example in which the image pickup device 110 actively transmits a command to the detachable device 100 when the image pickup device 110 corresponds to the extended function, but the present invention is not limited to this. For example, the detachable device 100 may periodically transmit the signal of S1002 at regular intervals, and determine whether or not the image pickup apparatus 110 is compatible with the extended function depending on whether or not a response is obtained. good.

続いて、図14を用いて、図9のS904において入出力装置130が、撮像装置110の応答によって、撮像装置110が拡張機能に対応しているか否かを判定する場合の処理の流れの例について説明する。入出力装置130は、例えばユーザ操作により、拡張機能を有するか否かを確認したい撮像装置(例えば撮像装置110a〜撮像装置110dのいずれか)のIPアドレスを指定する(S1401)。入出力装置130は、指定されたIPアドレスの撮像装置に対して、拡張機能に対応しているか否かを問い合わせるコマンドを送信する(S1402)。入出力装置130によって指定されたIPアドレスに対応する撮像装置は、入出力装置130からの要求コマンドを受信する(S1403)。撮像装置は、要求コマンドを受信すると、入出力装置130に対して、自装置が拡張機能に対応していることを示すパラメータを含んだ応答を送信する(S1404)。入出力装置130は、撮像装置から拡張機能に対応しているパラメータを含む応答を受信すると(S1405)、その撮像装置が拡張機能に対応していると判定する。入出力装置130は、S1402における問い合わせに対して応答がない場合やエラーメッセージを受信した場合は、撮像装置が拡張機能に対応していないと判定する。 Subsequently, using FIG. 14, an example of a processing flow in the case where the input / output device 130 determines whether or not the image pickup device 110 supports the extended function based on the response of the image pickup device 110 in S904 of FIG. Will be described. The input / output device 130 specifies the IP address of the image pickup device (for example, any of the image pickup device 110a to the image pickup device 110d) for which it is desired to confirm whether or not it has the extended function by, for example, a user operation (S1401). The input / output device 130 transmits a command inquiring whether or not the extended function is supported to the image pickup device having the specified IP address (S1402). The imaging device corresponding to the IP address specified by the input / output device 130 receives the request command from the input / output device 130 (S1403). Upon receiving the request command, the image pickup apparatus transmits a response including a parameter indicating that the own apparatus supports the extended function to the input / output apparatus 130 (S1404). When the input / output device 130 receives a response including a parameter corresponding to the extended function from the image pickup device (S1405), the input / output device 130 determines that the image pickup device corresponds to the extended function. When the input / output device 130 does not respond to the inquiry in S1402 or receives an error message, the input / output device 130 determines that the image pickup device does not support the extended function.

次に、図15を用いて、図9のS905において入出力装置130が着脱可能デバイス100の指定のデータを参照する処理の流れの例について説明する。なお、ここでの指定のデータは、上述のS1005で作成されたデータである。入出力装置130は、着脱可能デバイス100の指定データ(S1005において作成したデータ)の参照要求を撮像装置110に送信する(S1501)。撮像装置110は、入出力装置130から要求コマンドを受信すると(S1502)、着脱可能デバイス100に対して指定データの参照を要求する(S1503)。なお、この指定データの参照のために、その指定データについて事前に定められたファイル名やフォルダ名、ファイル形式、格納領域(アドレス)などが指定された要求が送信される。着脱可能デバイス100は、撮像装置110から要求コマンドを受信すると(S1504)、撮像装置110へ指定データを送信する(S1505)。撮像装置110は、着脱可能デバイス100から指定データを含んだ応答を受信する(S1506)。なお、S1503からS1506までの処理は、例えばSD規格などのインタフェースの規格に従って、データを読み出す処理として実行されうる。ただし、これに限られず、着脱可能デバイス100からの指定データを撮像装置110が取得可能な任意の手順が用いられうる。撮像装置110は、S1502で受信した入出力装置130からの要求への応答として、着脱可能デバイス100から受信した指定データを送信する(S1507)。入出力装置130は、着脱可能デバイス100に記憶されている指定データを撮像装置110から受信する(S1508)。このようにして、入出力装置130は、撮像装置110を介して着脱可能デバイス100の情報を取得することが可能となる。 Next, an example of a processing flow in which the input / output device 130 refers to the designated data of the detachable device 100 in S905 of FIG. 9 will be described with reference to FIG. The data specified here is the data created in S1005 described above. The input / output device 130 transmits a reference request for the designated data (data created in S1005) of the detachable device 100 to the image pickup device 110 (S1501). When the image pickup device 110 receives the request command from the input / output device 130 (S1502), the image pickup device 110 requests the detachable device 100 to refer to the designated data (S1503). In addition, for reference to this designated data, a request in which a file name, a folder name, a file format, a storage area (address), etc., which are predetermined for the designated data are specified is transmitted. When the detachable device 100 receives the request command from the image pickup device 110 (S1504), the detachable device 100 transmits the designated data to the image pickup device 110 (S1505). The image pickup apparatus 110 receives a response including the designated data from the detachable device 100 (S1506). The processes from S1503 to S1506 can be executed as a process of reading data according to an interface standard such as an SD standard. However, the present invention is not limited to this, and any procedure can be used in which the image pickup apparatus 110 can acquire the designated data from the detachable device 100. The image pickup apparatus 110 transmits the designated data received from the detachable device 100 as a response to the request from the input / output apparatus 130 received in S1502 (S1507). The input / output device 130 receives the designated data stored in the detachable device 100 from the image pickup device 110 (S1508). In this way, the input / output device 130 can acquire the information of the detachable device 100 via the image pickup device 110.

このように、本実施形態では、ユーザは、着脱可能デバイス100による機能追加に対応している撮像装置110に対しては、その撮像装置110に問い合わせることによって、着脱可能デバイス100の拡張機能の有無を特定することができる。これにより、例えば、着脱可能デバイス100による機能追加に対応している撮像装置110に対して、拡張機能を有しない着脱可能デバイス100が誤装着されたことをユーザが容易に認識することができる。また、ユーザは、着脱可能デバイス100による機能追加に対応していない撮像装置110に対しては、着脱可能デバイス100における指定データの参照がなされることにより、その着脱可能デバイス100の拡張機能の有無を特定することができる。すなわち、入出力装置130は、着脱可能デバイス100にアクセスし、指定データが存在している場合には、着脱可能デバイス100が拡張機能を有し、一方で、撮像装置110がそのような機能の拡張に対応していないことを確認することができる。一方、入出力装置130は、着脱可能デバイス100にアクセスし、指定データが存在していない場合には、着脱可能デバイス100が拡張機能を有さず、また、撮像装置110がそのような機能の拡張に対応していないことを確認することができる。このように、撮像装置110が着脱可能デバイス100による機能追加に対応しているか否かによらず、着脱可能デバイス100が拡張機能を有するかをユーザが確認することができる。この結果、例えば、着脱可能デバイス100による機能追加に対応していない撮像装置110に、拡張機能を有する着脱可能デバイス100を誤装着したことをユーザが容易に特定することができる。 As described above, in the present embodiment, the user may or may not have the extended function of the detachable device 100 by inquiring to the image pickup device 110 for the image pickup device 110 corresponding to the function addition by the detachable device 100. Can be identified. Thereby, for example, the user can easily recognize that the removable device 100 having no extended function is erroneously attached to the image pickup device 110 that supports the addition of functions by the removable device 100. Further, the user can refer to the designated data in the detachable device 100 for the imaging device 110 that does not support the addition of the function by the detachable device 100, so that the user can have the extended function of the detachable device 100. Can be identified. That is, the input / output device 130 accesses the detachable device 100, and when the designated data exists, the detachable device 100 has an extended function, while the image pickup device 110 has such a function. You can confirm that it does not support expansion. On the other hand, the input / output device 130 accesses the detachable device 100, and when the designated data does not exist, the detachable device 100 does not have the extended function, and the image pickup device 110 has such a function. You can confirm that it does not support expansion. In this way, the user can confirm whether or not the removable device 100 has an extended function regardless of whether or not the image pickup device 110 supports the addition of functions by the removable device 100. As a result, for example, the user can easily identify that the removable device 100 having an extended function is erroneously attached to the image pickup device 110 that does not support the addition of functions by the removable device 100.

なお、上述の実施形態では、指定データにより、撮像装置110が着脱可能デバイス100による機能の拡張に対応していない(着脱可能デバイス100に処理を実行させることができない)ことが明示的に示される例について説明した。しかしながら、これに限られない。すなわち、撮像装置110が着脱可能デバイス100による機能の拡張に対応していない場合に指定データが記憶されるため、その内容として、撮像装置110が着脱可能デバイス100による機能の拡張に対応していないことが示される必要はない。この場合、例えば、着脱可能デバイス100の情報のみが指定データ内において示されてもよい。 In the above-described embodiment, the designated data explicitly indicates that the image pickup apparatus 110 does not support the expansion of the function by the detachable device 100 (the detachable device 100 cannot execute the process). An example has been described. However, it is not limited to this. That is, since the designated data is stored when the image pickup device 110 does not support the expansion of the function by the detachable device 100, the image pickup device 110 does not support the expansion of the function by the detachable device 100. Does not need to be shown. In this case, for example, only the information of the detachable device 100 may be shown in the designated data.

<<その他の実施形態>>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<< Other Embodiments >>
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

発明は上記実施形態に制限されるものではなく、発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、発明の範囲を公にするために請求項を添付する。 The invention is not limited to the above embodiments, and various modifications and modifications can be made without departing from the spirit and scope of the invention. Therefore, a claim is attached to make the scope of the invention public.

100a〜100d:着脱可能デバイス、110a〜110d:撮像装置、120:ネットワーク、130:入出力装置、201:撮像部、202:画像処理部、203:演算処理部、204:配信部、205:SD I/F部、301:撮像制御部、302:信号処理部、303:記憶部、304:制御部、305:解析部、306:デバイス通信部、307:ネットワーク通信部、401:I/F部、402:FPGA、403:SDコントローラ、404:記憶部、501:解析部、502:通信部、601:プロセッサ、602:RAM、603:ROM、604:HDD、605:通信I/F、701:ネットワーク通信部、702:制御部、703:表示部、704:操作部 100a to 100d: Detachable device, 110a to 110d: Imaging device, 120: Network, 130: Input / output device, 201: Imaging unit, 202: Image processing unit, 203: Arithmetic processing unit, 204: Distribution unit, 205: SD I / F unit, 301: Imaging control unit, 302: Signal processing unit, 303: Storage unit, 304: Control unit, 305: Analysis unit, 306: Device communication unit, 307: Network communication unit, 401: I / F unit , 402: FPGA, 403: SD controller, 404: storage unit, 501: analysis unit, 502: communication unit, 601: processor, 602: RAM, 603: ROM, 604: HDD, 605: communication I / F, 701: Network communication unit, 702: control unit, 703: display unit, 704: operation unit

Claims (17)

少なくとも撮影された画像を記憶可能なデバイスを着脱可能な装着機構を有する装置に装着される前記デバイスであって、
前記装着機構を有する撮像装置に装着された場合に当該撮像装置によって撮像された画像に基づく画像データに対して所定の処理を実行することができる処理手段と、
前記所定の処理を前記処理手段に実行させることができる機能を前記撮像装置が有するか否かを判定する判定手段と、
前記撮像装置が前記機能を有しないと判定した場合に、所定のデータを記憶する記憶手段と、
を有することを特徴とするデバイス。
The device to be mounted on a device having a mounting mechanism capable of attaching and detaching at least a device capable of storing captured images.
A processing means capable of executing a predetermined process on image data based on an image captured by the image pickup device when mounted on an image pickup device having the mounting mechanism.
A determination means for determining whether or not the image pickup apparatus has a function capable of causing the processing means to perform the predetermined processing, and
A storage means for storing predetermined data when it is determined that the imaging device does not have the function.
A device characterized by having.
前記記憶手段は、前記撮像装置が前記機能を有する場合には、前記所定のデータを記憶しない、ことを特徴とする請求項1に記載のデバイス。 The device according to claim 1, wherein the storage means does not store the predetermined data when the imaging device has the function. 前記記憶手段は、前記撮像装置が前記機能を有する場合であって、前記所定のデータを記憶している場合には、前記所定のデータの削除または書き換えを行う、ことを特徴とする請求項1又は2に記載のデバイス。 The storage means is characterized in that, when the imaging device has the function and stores the predetermined data, the storage means deletes or rewrites the predetermined data. Or the device according to 2. 前記判定手段は、前記撮像装置へ第1の信号を送信し、その応答として第2の信号を受信したか否かにより、前記撮像装置が前記機能を有するかを判定する、ことを特徴とする請求項1から3のいずれか1項に記載のデバイス。 The determination means is characterized in that it transmits a first signal to the image pickup apparatus and determines whether or not the image pickup apparatus has the function based on whether or not a second signal is received as a response thereof. The device according to any one of claims 1 to 3. 前記第1の信号は、前記撮像装置から受信されたコマンドへの応答であって、所定のフィールドに前記デバイスが前記所定の処理を実行することができることを示す情報が含められた前記応答である、ことを特徴とする請求項4に記載のデバイス。 The first signal is a response to a command received from the imaging device, the response in which a predetermined field contains information indicating that the device can perform the predetermined process. The device according to claim 4, wherein the device is characterized by the above. 前記所定のフィールドは、前記機能を有しない前記撮像装置には無視されるフィールドである、ことを特徴とする請求項5に記載のデバイス。 The device according to claim 5, wherein the predetermined field is a field that is ignored by the image pickup apparatus that does not have the function. 前記判定手段は、前記第1の信号を一定周期で定期的に送信して、前記撮像装置が前記機能を有するかを判定する、ことを特徴とする請求項4から6のいずれか1項に記載のデバイス。 The determination means according to any one of claims 4 to 6, wherein the determination means periodically transmits the first signal at regular intervals to determine whether or not the image pickup apparatus has the function. Described device. 前記所定のデータは、特定の形式と特定のファイル名との少なくともいずれかを有するデータである、ことを特徴とする請求項1から7のいずれか1項に記載のデバイス。 The device according to any one of claims 1 to 7, wherein the predetermined data is data having at least one of a specific format and a specific file name. 前記所定のデータは、特定のフォルダ名のフォルダに格納される、ことを特徴とする請求項1から8のいずれか1項に記載のデバイス。 The device according to any one of claims 1 to 8, wherein the predetermined data is stored in a folder having a specific folder name. 前記所定のデータは、前記記憶手段の事前に定められた特定の領域に格納される、ことを特徴とする請求項1から9のいずれか1項に記載のデバイス。 The device according to any one of claims 1 to 9, wherein the predetermined data is stored in a predetermined specific area of the storage means. 前記記憶手段は、前記撮像装置が前記機能を有しない状態から当該機能を有する状態となった場合に、前記所定のデータの削除または書き換えを行う、ことを特徴とする請求項1から10のいずれか1項に記載のデバイス。 Any of claims 1 to 10, wherein the storage means deletes or rewrites the predetermined data when the imaging device changes from a state in which the image pickup device does not have the function to a state in which the image pickup device has the function. The device according to item 1. 少なくとも撮影された画像を記憶可能なデバイスを着脱可能な装着機構を有する撮像装置と、当該装着機構に装着されたデバイスとにアクセスすることができる通信装置であって、
前記撮像装置によって撮像された画像に基づく画像データに対する所定の処理を前記撮像装置に装着された装置に実行させる機能を前記撮像装置が有しない場合に前記デバイスに記憶されている所定のデータを参照し、前記機能を有しない前記撮像装置に前記所定の処理を実行することができる前記デバイスが装着されたことを特定する特定手段を有する、ことを特徴とする通信装置。
A communication device capable of accessing at least an imaging device having a mounting mechanism capable of attaching and detaching a device capable of storing captured images and a device mounted on the mounting mechanism.
Refer to the predetermined data stored in the device when the image pickup device does not have a function of causing the device mounted on the image pickup device to perform a predetermined process on the image data based on the image captured by the image pickup device. A communication device comprising a specific means for identifying that the device capable of performing the predetermined process is attached to the image pickup device having no function.
前記特定手段は、前記機能を前記撮像装置が有しない場合に前記所定のデータが前記デバイスに記憶されていない場合、前記機能を有しない前記撮像装置に前記所定の処理を実行することができない前記デバイスが装着されたことを特定する、ことを特徴とする請求項12に記載の通信装置。 The specific means cannot execute the predetermined process on the image pickup device having no function when the predetermined data is not stored in the device when the image pickup device does not have the function. The communication device according to claim 12, wherein the device is specified to be attached. 前記特定手段は、前記機能を前記撮像装置が有する場合、前記撮像装置に問い合わせることにより、前記撮像装置に装着されている前記デバイスが前記所定の処理を実行することができるか否かを特定する、ことを特徴とする請求項12又は13に記載の通信装置。 When the imaging device has the function, the specific means specifies whether or not the device mounted on the imaging device can execute the predetermined process by inquiring to the imaging device. The communication device according to claim 12 or 13, wherein the communication device. 少なくとも撮影された画像を記憶可能なデバイスを着脱可能な装着機構を有する装置に装着される前記デバイスによって実行される方法であって、
前記デバイスは、前記装着機構を有する撮像装置に装着された場合に当該撮像装置によって撮像された画像に基づく画像データに対して所定の処理を実行することができる処理手段を有し、
前記方法は、
前記所定の処理を前記処理手段に実行させることができる機能を前記撮像装置が有するか否かを判定することと、
前記撮像装置が前記機能を有しないと判定した場合に、所定のデータを記憶することと、
を含むことを特徴とする方法。
A method performed by said device mounted on a device having a mounting mechanism capable of attaching and detaching at least a device capable of storing captured images.
The device has a processing means capable of executing a predetermined process on image data based on an image captured by the image pickup device when the device is mounted on the image pickup device having the mounting mechanism.
The method is
Determining whether or not the image pickup apparatus has a function capable of causing the processing means to perform the predetermined processing.
When it is determined that the imaging device does not have the function, predetermined data is stored and
A method characterized by including.
少なくとも撮影された画像を記憶可能なデバイスを着脱可能な装着機構を有する撮像装置と、当該装着機構に装着されたデバイスとにアクセスすることができる通信装置によって実行される方法であって、
前記撮像装置によって撮像された画像に基づく画像データに対する所定の処理を前記撮像装置に装着された装置に実行させる機能を前記撮像装置が有しない場合に前記デバイスに記憶されている所定のデータを参照し、前記機能を有しない前記撮像装置に前記所定の処理を実行することができる前記デバイスが装着されたことを特定することを含む、ことを特徴とする方法。
A method performed by an imaging device having a mounting mechanism capable of attaching and detaching at least a device capable of storing captured images, and a communication device capable of accessing the device mounted on the mounting mechanism.
Refer to the predetermined data stored in the device when the image pickup device does not have a function of causing the device mounted on the image pickup device to perform a predetermined process on the image data based on the image captured by the image pickup device. A method comprising identifying that the device capable of performing the predetermined process is attached to the image pickup apparatus having no function.
コンピュータを、請求項1から11のいずれか1項に記載のデバイスまたは請求項12から14のいずれか1項に記載の通信装置として機能させるためのプログラム。 A program for causing a computer to function as the device according to any one of claims 1 to 11 or the communication device according to any one of claims 12 to 14.
JP2020033751A 2020-02-28 2020-02-28 Device, communication apparatus, method and program Pending JP2021136663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020033751A JP2021136663A (en) 2020-02-28 2020-02-28 Device, communication apparatus, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020033751A JP2021136663A (en) 2020-02-28 2020-02-28 Device, communication apparatus, method and program

Publications (1)

Publication Number Publication Date
JP2021136663A true JP2021136663A (en) 2021-09-13

Family

ID=77661940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020033751A Pending JP2021136663A (en) 2020-02-28 2020-02-28 Device, communication apparatus, method and program

Country Status (1)

Country Link
JP (1) JP2021136663A (en)

Similar Documents

Publication Publication Date Title
US11570350B2 (en) Device, control method, and storage medium
EP3817368A2 (en) Image capturing apparatus, control method, and program
US11825194B2 (en) Image capturing apparatus and method for controlling the same, and non-transitory computer-readable storage medium
US20210274079A1 (en) Image capturing apparatus, device, control method, and computer-readable storage medium
JP2004112602A (en) Digital information input system, information generation device, information management method, program, and computer readable recording medium
EP3873086A2 (en) Image capturing apparatus, device, control method, and program
EP3989533A1 (en) Imaging apparatus, information processing method, and recording medium
JP2021136663A (en) Device, communication apparatus, method and program
EP4027218B1 (en) Detachable electrical device and control method thereof
EP4221244A1 (en) Image capturing apparatus, control method of image capturing apparatus, and computer program
US11974039B2 (en) Image capturing apparatus, control method, and computer-readable storage medium
JP2014235590A (en) Information processing apparatus, image forming apparatus, and camera
JP2022072874A (en) Imaging apparatus, control method thereof, and program
JP7417455B2 (en) Electronic devices and their control methods and programs
US11363160B2 (en) Detachable device, control method thereof, and storage medium
EP3975119A1 (en) Device, information processing apparatus, control method therefor, and program
JP2021072611A (en) Imaging device, control method, and program
US11968469B2 (en) Computing apparatus, image capturing apparatus, control method, and storage medium
EP4221245A1 (en) Image capturing apparatus, attachable device, control method thereof, and computer program
JP2023011341A (en) Information processing device and control method for the same
JP2022167153A (en) Information processing device and control method thereof
JP2022039941A (en) Information processing device, control method, and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113