JP2022159638A - Imaging apparatus, control method of imaging apparatus, and program - Google Patents
Imaging apparatus, control method of imaging apparatus, and program Download PDFInfo
- Publication number
- JP2022159638A JP2022159638A JP2021063947A JP2021063947A JP2022159638A JP 2022159638 A JP2022159638 A JP 2022159638A JP 2021063947 A JP2021063947 A JP 2021063947A JP 2021063947 A JP2021063947 A JP 2021063947A JP 2022159638 A JP2022159638 A JP 2022159638A
- Authority
- JP
- Japan
- Prior art keywords
- imaging
- control
- imaging direction
- target position
- degrees
- 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
Links
- 238000003384 imaging method Methods 0.000 title claims abstract description 189
- 238000000034 method Methods 0.000 title claims description 24
- 238000004091 panning Methods 0.000 claims abstract description 10
- 238000004891 communication Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 230000004044 response Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000009467 reduction Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Accessories Of Cameras (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、撮像装置の制御方法に関する。 The present invention relates to a control method for an imaging device.
画像を撮像する撮像装置のパン又はチルトの少なくともいずれかを駆動させることで撮像方向を制御する技術がある。このような技術において、撮像方向を制御したうえでユーザの意図した場所の撮像が行えるよう現在の撮像方向の位置から到達目標である目標位置まで撮像方向を制御させる技術がある。 2. Description of the Related Art There is a technique of controlling an imaging direction by driving at least one of panning and tilting of an imaging device that captures an image. Among such techniques, there is a technique of controlling the imaging direction from the current position in the imaging direction to a target position, which is a goal to be reached, so that an image of a place intended by the user can be captured after controlling the imaging direction.
特許文献1では、現在の角度位置から目標角度位置まで撮像部を回転させる最短経路を決定し、決定した最短経路に従ってパン・チルト駆動を行う旨の方法について開示されている。 Patent Document 1 discloses a method of determining the shortest path for rotating an imaging unit from a current angular position to a target angular position, and performing pan/tilt driving according to the determined shortest path.
特許文献1のように、目標位置まで最短経路で撮像方向を駆動させるような場合において、最短経路を選んだために目標位置には到達したもののパン又はチルトの駆動端付近で撮像方向が停止されることがある。このとき、更に追加でパン又はチルトをユーザが駆動させたい場合において、駆動端間際であるために、撮像方向を変更させる自由度が制限されてしまうことがある。 As in Patent Document 1, when the imaging direction is driven along the shortest path to the target position, the target position is reached because the shortest path is selected, but the imaging direction is stopped near the driving end of the pan or tilt. There is something. At this time, when the user wants to additionally drive panning or tilting, the degree of freedom to change the imaging direction may be limited because the driving end is just around the corner.
そこで本発明は、撮像方向を制御して目標位置まで到達させた後で撮像方向を更に変更させる場合において、撮像方向を変更させる自由度が制限されてしまうことを抑制することを目的としている。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to prevent the degree of freedom of changing the imaging direction from being restricted when the imaging direction is further changed after the imaging direction is controlled to reach a target position.
上記課題を解決するために、本実施形態における撮像装置は、例えば、以下の構成を備える。すなわち、画像を撮像する撮像手段と、前記撮像手段の撮像方向を制御するためにパンおよびチルトの少なくともいずれか一方を制御するための処理を実行する制御手段と、現在の前記撮像方向の位置を取得する取得手段と、前記取得手段により取得された現在の前記撮像方向の位置と、前記撮像方向の到達目標である目標位置とに基づき、前記目標位置までの駆動量を特定する特定手段とを有し、前記制御手段は、前記特定手段により特定された駆動量に応じて、前記撮像方向を駆動させる方向を決定する。 In order to solve the above problems, the imaging device in this embodiment has, for example, the following configuration. Namely, imaging means for capturing an image, control means for executing processing for controlling at least one of panning and tilting in order to control the imaging direction of the imaging means, and the current position of the imaging direction. an acquiring means for acquiring; and a specifying means for specifying a drive amount to the target position based on the current position in the imaging direction acquired by the acquiring means and a target position, which is a target position to be reached in the imaging direction. and the control means determines a direction in which the imaging direction is driven according to the drive amount specified by the specifying means.
本発明によれば、撮像方向を制御して目標位置まで到達させた後で撮像方向を更に変更させる場合において、撮像方向を変更させる自由度が制限されてしまうことを抑制することができる。 ADVANTAGE OF THE INVENTION According to this invention, when changing an imaging direction further after controlling an imaging direction and making it reach|attain a target position, it can suppress that the flexibility which changes an imaging direction is restrict|limited.
以下、添付図面を参照しながら、本発明に係る実施形態について説明する。なお、以下の実施形態において示す構成は一例に過ぎず、図示された構成に限定されるものではない。 Hereinafter, embodiments according to the present invention will be described with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and are not limited to the illustrated configurations.
(実施形態1)
図1は、本実施形態におけるシステム構成を示す図である。本実施形態におけるシステムは、撮像装置1000、雲台2000、クライアント装置3000、およびネットワーク4000を有している。
(Embodiment 1)
FIG. 1 is a diagram showing the system configuration in this embodiment. The system in this embodiment has an
撮像装置1000およびクライアント装置3000は、ネットワーク4000を介して相互に通信可能な状態に接続されている。ネッワーク4000は、例えばETHERNET(登録商標)等の通信規格に準拠する複数のルータ、スイッチ、ケーブル等から実現される。
The
なお、ネットワーク4000は、インターネットや有線LAN(Local Area Network)、無線LAN(Wireless Lan)、WAN(Wide Area Network)等により実現されてもよい。
Note that the
撮像装置1000は、クライアント装置3000からのリクエストに応じて、撮像した画像データ等を、ネットワーク4000を介してクライアント装置3000に送信することができる。また、撮像装置1000は、予め接続されたクライアント装置3000に対して能動的に画像データ等を送信してもよい。ここでクライアント装置3000は、パーソナルコンピュータ(PC)やスマートフォン、タブレット型PCといった一般的な端末装置により構成される情報処理装置である。クライアント装置3000は、撮像装置1000に対して、撮像方向の制御や画質制御などを行う。なお、クライアント装置3000は、撮像方向の制御を雲台2000に対して直接行ってもよい。また、クライアント装置3000は、撮像装置1000や雲台2000を操作するための専用コントローラ機器等であってもよい。加えて、クライアント装置3000は、フォーカスやホワイトバランス等、撮像装置1000の設定や制御、雲台2000の制御を司る制御装置であってもよい。
The
雲台2000は、クライアント装置3000からのリクエストに応じて、撮像装置1000を介して、撮像装置1000のパンとチルトを制御する装置である。撮像装置1000と雲台2000の通信は、EIA(Electronic Industries Association)の通信規格であるRS-232C・RS-422A・RS-485、若しくはその他の通信規格で実現してもよい。なお、撮像装置1000と雲台2000は同じ筐体に備わっていてもよく、言い換えれば撮像装置1000自身が撮像方向を制御するための駆動部を有していてもよい。
The
ここで図2および図3を参照して、撮像装置1000と雲台2000について説明する。図2は、本実施形態における撮像装置1000と雲台2000の外観図の一例である。撮像装置1000は、画像を撮像する装置であり、レンズ駆動部1001を制御することでズーム値を変更することができる。本実施形態における雲台2000は、パン駆動部2001とチルト駆動部2002を制御することで、撮像装置1000の撮像方向をパン方向(水平方向)2003およびチルト方向(鉛直方向)2004に変更可能である。
Here, the
続いて図3を参照して、撮像装置1000と雲台2000の機能について説明する。なお本実施形態に係る撮像装置1000の機能ブロックのうち、画像処理部1012、レンズ制御部1013、記憶部1014、通信部1015、およびシステム制御部1016等の各機能は、次のようにして実現されるものとする。すなわち、図8を参照して後述する撮像装置1000のROM(Read Only Memory)820に格納されたコンピュータプログラムを撮像装置1000のCPU(Central Processing Unit)800が実行することで実現される。
Next, with reference to FIG. 3, the functions of the
撮像部1011は、CCD(charge coupled device)センサやCMOS(complementary metal oxide semiconductor)センサ等の撮像素子(不図示)により構成される。そして、撮像部1011は、レンズを通って結像された被写体像を光電変換して電気信号を生成する。画像処理部1012は、撮像部1011において光電変換された電気信号をデジタル信号へ変換する処理や、圧縮符号化処理などの画像処理を行い、画像データを生成する。なお、生成する画像データは1つだけとは限らず、解像度や映像品質の異なる複数の画像データを同時に生成することができてもよい。また、生成した画像データをシステム制御部1016に送信する。レンズ駆動部1001は、フォーカスレンズ、およびズームレンズの駆動系により構成され、その動作はレンズ制御部1013により制御される。レンズ制御部1013は、システム制御部1016から伝達された指示に基づき、レンズ駆動部1001の制御を行う。また、フォーカス移動情報やズーム移動情報をシステム制御部1016へ送信する。
The
記憶部1014は、各種設定情報等を保存する。システム制御部1016は、伝達されたカメラ制御コマンドを解析し、コマンドに応じた処理を行う。例えば、システム制御部1016は、取得したカメラ制御コマンドに従って、画像処理部1012に対して画質調整の指示や、レンズ制御部1013に対してズームやフォーカス制御の指示を行う。また、画像処理部1012で生成した画像データを取得し、通信部1017へ送信する。さらに、通信部1015で受信したパン・チルト制御コマンドを雲台制御コマンドに変換し、通信部1015へ送信する。
A
通信部1015は、システム制御部1016から送信される画像データをクライアント装置3000に送信する。また、クライアント装置3000から送信される各種設定コマンドやカメラ制御コマンドを受信し、システム制御部1016に伝達する。また、クライアント装置3000から送信されるコマンドに対する撮像装置1000のレスポンスを、クライアント装置3000へ送信する。さらに、システム制御部1016から送信された雲台制御コマンドを雲台2000の通信部2012に送信する。
The
続いて雲台2000の機能ブロックについて説明する。なお、本実施形態に係る雲台2000の機能ブロックの各機能は、次のようにして実現されるものとする。すなわち、図8を参照して後述する雲台2000のROM820に格納されたコンピュータプログラムを雲台2000のCPU800が実行することで実現される。
Next, functional blocks of the
雲台2000のパン駆動部2001は、パン動作を行うメカ駆動系及び駆動源のモータにより構成され、撮像装置1000の撮像方向をパン方向2003に回転駆動させるための回転駆動を行う制御をするように駆動する。なおパン駆動部2001の動作はシステム制御部2011により制御される。チルト駆動部2002は、チルト動作を行うメカ駆動及び駆動源のモータにより構成され、撮像装置100の撮像方向をチルト方向2004に回転駆動させるための回転駆動を行う制御するように駆動する。チルト駆動部2002における動作はシステム制御部2011により制御される。
A
システム制御部2011は、伝達された雲台制御コマンドを解析し、パン駆動部2001とチルト駆動部2002に対してパン・チルト動作の指示を行う。また、パン駆動部2001とチルト駆動部2002の現在の角度データを取得し、通信部2012へ送信する。
The
通信部2012は、撮像装置1000の通信部1015から送信される雲台制御コマンドをシステム制御部2011に送信する。また、システム制御部2011から送信されたパン駆動部2001とチルト駆動部2002の現在の角度データを受信し、撮像装置1000の通信部1015に送信する。なお、撮像装置1000と雲台2000は同じ筐体であってもよく、言い換えれば、撮像装置1000がパン駆動部2001とチルト駆動部2002を有していてもよい。
The
なお雲台の制御方法として2種類に大別できる。一つ目として、パン方向2003における位置及びチルト方向2004における位置を指定し、指定したパン方向2003の位置およびチルト方向2004の位置となるよう撮像方向を制御する位置指定制御である。そして二つ目として、撮像方向の動作方向を指定する方向指定制御がある。なお方向指定制御では、停止コマンドが送信されるまで指定された方向に撮像方向が制御されるよう雲台2000はパン駆動部2001およびチルト駆動部2002の少なくともいずれか1方を駆動し続ける。
The pan head control method can be broadly classified into two types. The first is position designation control in which a position in the
なお本実施形態では、雲台2000に対する位置指定制御の実行時に目標位置が現在位置より所定値以上離れていた場合に位置指定制御を方向指定制御で代替して制御する。位置指定制御では、パン方向2003とチルト方向2004の位置を指定して、指定された位置(目標位置)まで雲台2000のパン駆動部2001およびチルト駆動部2002を駆動させて、目標位置に到達したことに応じて駆動を停止する。方向指定制御では、パン駆動部2001とチルト駆動部2002の回転方向を指定して制御する方法であり、方向指定制御で制御された雲台は駆動を停止するための停止処理が実行されるまで指定された方向に回転し続ける。
In this embodiment, if the target position is separated from the current position by a predetermined value or more when the position designation control is executed on the
ここで図7を参照して、本実施形態における撮像方向を制御する際に用いられる座標系について説明する。なお、図7ではパン方向2003における座標系について説明するが、チルト方向2004についても同様の座標系を有しているものとする。図7は、パン方向2003に関して、一方の駆動端を“―200度”、他方の駆動端を“+200度”、そして正面を0度とした場合における雲台2000の座標系を示す図である。すなわち、本実施形態における雲台2000において、パン方向2003では、-200度から+200度の範囲で駆動可能である。図7(a)は、パン方向に関して、正面を0度とし、-200度から+200度の範囲で回転可能な雲台2000と撮像装置1000を真上から見た図であり、撮像装置1000のパン方向2003の現在位置が-90度である場合を示している。目標位置7000は、位置指定制御を要求する位置指定コマンドで指定される目標位置である。また図7(a)に示すように、パン方向2003の+170度と-190度は、雲台2000が保持するパラメータとしては異なるものの撮像装置1000の撮像方向としては同じ位置である。ここで図7(b)は、図7(a)に示した雲台2000のパン方向2003における角度を数直線で示した図である。雲台2000の可動範囲7001は、雲台が物理的に回転可能な範囲である。また制限範囲7002は、雲台の可動範囲7001においてクライアント3000側で位置指定コマンドで目標位置を指定可能な範囲である。現在位置7003は、撮像装置1000の撮像方向の現在のパン方向2003における角度“-90度”である。図7(a)に示す目標位置7000を図7(b)に示す数直線上にプロットすると、+170度に対応する目標位置7000aとー190度に対応する目標位置7000bとがある。ここで例えば、ユーザにより目標位置7000に撮像方向が到達するよう位置指定制御を要求する位置指定コマンドがクライアント3000から撮像装置1000に送信された場合を想定する。このとき、本実施形態における撮像装置1000のシステム制御部1016は、現在位置7003と目標位置7000との差分を特定し、特定した当該差分が180度未満かに応じた撮像方向の制御を行う。差分が180度未満である場合、位置指定制御を要求する位置指定コマンドにより示される目標位置まで位置指定制御によって現在の位置から最短の経路を通るように撮像方向を制御する。一方、差分が180度以上である場合、現在の位置から目標位置まで2通りの経路がある場合であっても、方向指定制御によって最長の経路を選択して撮像方向を制御する。ここで例えば、目標位置に到達させるにあたって、-180度~-200度や+180度~+200度などの駆動端付近に撮像方向を位置させた場合を想定する。このとき、当該位置から更にユーザがマニュアル操作で撮像方向を制御しても駆動端付近であるために撮像方向を制御する自由度が制限されてしまう。これに対し上述のように、本実施形態では、現在位置と目標位置との差分に応じて、撮像方向を制御する方向を適応的に決めることで、目標位置に到達させるにあたって駆動端付近に撮像方向が位置してしまうことを防ぐことができる。すなわち、撮像方向の自由度の低減を抑制することが可能となる。
Here, with reference to FIG. 7, the coordinate system used when controlling the imaging direction in this embodiment will be described. Although the coordinate system in the
ここで図4に示すフローを参照して、本実施形態における撮像方向の制御方法について説明する。なお、図4に示すフローの処理は、例えば、撮像装置1000のROM820に格納されたコンピュータプログラムを撮像装置1000のCPU800が実行して実現される図3に示す機能ブロックにより実行される。
Here, a method for controlling the imaging direction in this embodiment will be described with reference to the flow shown in FIG. 4 is executed by the functional blocks shown in FIG. 3 implemented by the
まずS4001にて、撮像装置1000のシステム制御部1016は、現在の撮像方向の位置の情報を取得する。なお、撮像方向の位置の情報は、パンおよびチルトの位置情報によって示される。例えば、システム制御部1016は、現在の撮像方向の位置の情報を要求する位置取得コマンドを雲台2000に送信し、当該位置取得コマンドに対するレスポンスとして雲台2000から現在の撮像方向の位置の情報を取得する。
First, in S4001, the
次にS4002にて、システム制御部1016は、S4001で取得した雲台2000のパンまたはチルトの現在位置と、位置指定制御のための位置指定コマンドで指定された目標位置との角度差(差分)が所定値未満かを判定する。なおここで、パン方向2003およびチルト方向2004の各々について、現在位置と目標位置との差分が所定値未満であるかを判定するようにしてもよいし、いずれか一方について、現在位置と目標位置との差分が所定値未満かを判定するようにしてもよい。なおここで、位置指定コマンドで指定される目標位置は、クライアントが指定可能な範囲における角度であり、図7(b)に示す例では本実施形態における所定値は180度とするが、これに限らず他の値を用いてもよい。また所定値として用いられるパラメータの値はユーザが変更できるようにしてもよい。S4002にて現在位置と目標位置との差分が180度未満と判定された場合(S4002にてYes)、S4003に進む。一方、現在位置と目標位置の差分が180度以上と判定された場合(S4002にてNo)、S4004に進む。図7で示す例において、位置指定コマンドで指定される目標位置として“+170度”が指定されている場合、現在位置“-90度”と“+170度”の差分として“260度”が特定される。そして、ステム制御部1016は、当該差分は180度以上であると判定して、S4004へ遷移する。
Next, in S4002, the
S4003にて、撮像装置1000のシステム制御部1016は雲台2000に対して、位置指定コマンドで指定された目標位置の情報を用いて位置指定制御のコマンドを送り、位置指定コマンドの実行を終了する。このときシステム制御部1016は、位置指定制御に従ってユーザにより指定された目標位置まで、現在位置から最短の経路を通るように撮像方向を制御するためのコマンドを生成し、雲台2000に送信する。
In S4003, the
次にS4004にて、システム制御部1016は撮像方向を制御する方向を決定する。本実施形態において、現在位置から目標位置までの経路のうち最長の経路を通る方向を、方向指定制御において撮像方向を制御する方向として決定する。ここで位置指定コマンドにより目標位置として“+170度”が指定された場合を想定する。このとき当該目標位置の撮像方向と同等の撮像方向が得られるパラメータとして、図7に示すように、“+170度”と“-190度”とがある。このとき目標位置に到達するよう撮像方向を制御するにあたって、図7に示す例では、現在位置“―90度”から目標位置“+170度”までの経路と、現在位置“―90度”から“―190度”までの経路とがある。一般に、最短を通るような経路が撮像方向を制御する方向として選択されることが考えられるが、図7に示す例では最短の経路を選ぶと、駆動端付近である“―190度”に撮像方向が位置してしまう。そこでS4004では、システム制御部1016は、最長の経路である現在位置“―90度”から目標位置“+170度”までの経路を通るような方向を、方向指定制御における撮像方向を制御する方向として決定する。このようにすることで駆動端付近である“―190度”ではなく、駆動端付近ではない“+170”に撮像方向を位置させることができる。なお撮像方向を制御する方向を決定する方法として、次のような処理を実行してもよい。すなわち、回転方向は、位置指定制御を要求する位置指定コマンドで指定されたパン・チルトの目標位置からS4001で取得した雲台2000のパン・チルトの現在位置を減算した値の正負により求める。例えば、目標位置から現在位置を減算した値が“正の値”の場合、図7(a)のように撮像装置1000を真上から見たときに時計回りの方向を、撮像方向を制御する方向として決定する。また目標位置から現在位置を減算した値が“負の値”の場合、反時計回りの方向を、撮像方向を制御する方向として決定する。
Next, in S4004, the
次に、S4005にて、撮像方向1000のシステム制御部1016は雲台2000に対して、S4004で求めた回転方向の情報を用いて、方向指定制御のコマンドを送る。すなわち、システム制御部1000は、S4004で決定した方向に撮像方向が制御されるよう要求するコマンドを雲台2000に対して送信する。
Next, in S4005, the
次にS4006にて、システム制御部1016は、現在の撮像方向の位置の情報を取得する。例えば、システム制御部1016は、現在の撮像方向の位置の情報を要求する位置取得コマンドを雲台2000に送信し、当該位置取得コマンドに対するレスポンスとして雲台2000から現在の撮像方向の位置の情報を取得する。
Next, in S4006, the
S4007にて、システム制御部1016は、位置指定コマンドで指定された目標位置とS4006で取得した現在位置を比較し、現在位置が目的位置に到達したかを確認する。到達していない場合は、S4006に戻る。到達した場合は、S4008に進む。S4008にて、システム制御部1016は、撮像方向の制御を停止するための処理を実行する。例えば、システム制御部1016は、雲台2000に対して撮像方向の制御の停止を要求する停止コマンドを送信し、雲台2000の撮像方向の制御を停止させる。
In S4007,
以上、本実施形態では、位置指定制御における位置指定コマンドにより指定される目標位置まで現在位置から所定角度以上離れていた場合に、最短経路ではなく最長経路を通る方向で方向指定制御を実行する。ここで、位置指定制御における位置指定コマンドにより指定された目標位置が“+170度”である場合を想定する。このとき、位置指定制御において常に最短経路を選ぶような撮像装置において、現在位置が“-90度”であると、目標位置“+170度”と実質的に撮像方向の向きが同一である“―190度”に撮像方向を移動することになる。この場合、“―190度”に撮像方向が到達すると、駆動端付近に位置することとなり、そこから更に撮像方向を制御すると駆動端付近であるために撮像方向を制御する自由度が低減される。一方、本実施形態によれば、現在位置から目標位置まで180度以上離れている場合、方向指定制御によって、最短経路ではなく最長経路を通るように撮像方向を制御するため、図7の例では、“+170度”に到達させることができる。よって、駆動端付近ではない“+170度”に位置させることができるため、撮像方向の制御の自由度が低減されることを抑制できる。 As described above, in this embodiment, when the target position specified by the position specifying command in the position specifying control is away from the current position by a predetermined angle or more, the direction specifying control is executed in the direction passing through the longest route instead of the shortest route. Here, it is assumed that the target position specified by the position specifying command in the position specifying control is "+170 degrees". At this time, in an imaging device that always selects the shortest path in position designation control, if the current position is "-90 degrees", the imaging direction is substantially the same as the target position "+170 degrees". The imaging direction is moved by 190 degrees. In this case, when the imaging direction reaches "-190 degrees", it is positioned near the drive end, and if the imaging direction is further controlled from there, the degree of freedom for controlling the imaging direction is reduced because it is near the drive end. . On the other hand, according to the present embodiment, when the current position is separated from the target position by 180 degrees or more, the direction designation control controls the imaging direction so that the longest route instead of the shortest route is taken. , “+170 degrees” can be reached. Therefore, since it can be positioned at "+170 degrees", which is not near the drive end, it is possible to suppress reduction in the degree of freedom in controlling the imaging direction.
(実施形態2)
一般に位置指定制御に比べて方向指定制御の方が目標位置に撮像方向を停止させる精度が低いことがある。例えば、位置指定制御に従って雲台2000を制御して撮像方向を目標位置に位置させる場合、目標位置に到達したことに応じて、雲台2000自身が停止処理を行うことができる。一方で、方向指定制御に従って雲台2000を制御して撮像方向を目標位置に位置させる場合を想定する。このとき、撮像装置1000は、方向指定制御により撮像方向2000を所定方向に動かすよう雲台2000を制御させる過程で、雲台2000に位置取得コマンドを送信してレスポンスとして現在位置を取得する。そして、撮像装置1000は、現在位置が目標位置に到達したことに応じて停止コマンドを雲台2000に送信し、雲台2000に撮像方向の制御を停止させる。このように、方向指定制御により目標位置まで到達させるには、コマンドのやり取りが介在するため、通信状況等によっては、現在位置が目標位置に到達してから実際に雲台が停止するまでに時間差が生じることがある。そのため、位置指定制御で雲台を制御したときよりも停止誤差は大きくなることがある。そこで本実施形態では、方向指定制御において雲台2000に対して停止コマンドを送信した後に位置指定制御を行うことをする。なお、実施形態1と異なる部分を主に説明し、実施形態1と同一または同等の構成要素、および処理には同一の符号を付すとともに、重複する説明は省略する。
(Embodiment 2)
In general, direction designation control may have lower accuracy in stopping the imaging direction at the target position than position designation control. For example, when the
ここで図5に示すフローを参照して、本実施形態における撮像方向を制御する処理について説明する。なお、図5に示すフローの処理は、例えば、撮像装置1000のROM820に格納されたコンピュータプログラムを撮像装置1000のCPU800が実行して実現される図3に示す機能ブロックにより実行される。なおS5001からS5007は、実施形態1におけるS4001からS4007で説明した内容と同様であるため、説明を省略する。S5008にて、システム制御部1016は、雲台2000に対して停止コマンドを送信し、S5009に進む。S5009にて、撮像装置1000のシステム制御部1016は、雲台2000に対して、位置指定コマンドで指定された目標位置の情報を用いて位置指定制御のコマンドを送り、位置指定コマンドの実行を終了する。
Here, processing for controlling the imaging direction in this embodiment will be described with reference to the flow shown in FIG. 5 is executed by the functional blocks shown in FIG. 3 implemented by the
なお、S5009で位置指定制御を行うタイミングは、S5008で雲台に停止コマンドを送信した直後でもよいし、任意の方法で雲台の停止状態を確認した後でもよい。 It should be noted that the timing of performing the position designation control in S5009 may be immediately after transmitting the stop command to the pan head in S5008, or after confirming the stop state of the pan head by an arbitrary method.
以上、本実施形態によれば、雲台に停止コマンドを送信した後に位置指定制御を行うことで、第1の実施形態における位置指定制御を方向指定制御で代替して制御した場合の停止誤差を小さくできるようになる。 As described above, according to the present embodiment, the position designation control is performed after the stop command is transmitted to the camera platform. It becomes possible to make it smaller.
(実施形態3)
実施形態2で述べたように、実施形態1で位置指定制御を方向指定制御で代替して制御した場合、雲台のパン・チルトの現在位置が目標位置に到達してから実際に雲台が停止するまでに時間差が生じることがある。そのため、位置指定制御で雲台を制御したときよりも停止誤差は大きくなることがある。そこで本実施形態では、実施形態1、位置指定制御を方向指定制御で代替して制御した場合の停止誤差を小さくするために、現在位置と目的位置の角度差が180度未満になったタイミングで、雲台の制御を位置指定制御に切り替える。なお、上述の各実施形態と異なる部分を主に説明し、上述の各実施形態と同一または同等の構成要素、および処理には同一の符号を付すとともに、重複する説明は省略する。
(Embodiment 3)
As described in the second embodiment, when the position designation control is replaced by the direction designation control in the first embodiment, the pan head actually moves after the current pan/tilt position of the pan head reaches the target position. There may be a time lag before it stops. Therefore, the stopping error may become larger than when the camera platform is controlled by position designation control. Therefore, in the present embodiment, in order to reduce the stop error when the direction designation control is substituted for the position designation control in the first embodiment, when the angle difference between the current position and the target position becomes less than 180 degrees, , to switch pan head control to position control. Note that portions different from the above-described embodiments will be mainly described, and the same or equivalent components and processes as those of the above-described embodiments will be given the same reference numerals, and redundant description will be omitted.
ここで図6に示すフローを参照して、本実施形態における撮像方向を制御する処理について説明する。なお、図6に示すフローの処理は、例えば、撮像装置1000のROM820に格納されたコンピュータプログラムを撮像装置1000のCPU800が実行して実現される図3に示す機能ブロックにより実行される。またS6001からS6006は、実施形態1の図4で説明したS4001からS4006で説明した内容と同様であるため説明を省略する。S6007にて、撮像装置1000のシステム制御部1016は、S6006で取得した雲台2000の現在位置と、位置指定コマンドで指定された目標位置との角度差が180度未満か確認する。180度未満の場合(S6007にてYes)、S6008に進む。180度以上の場合(S6007にてNo)、S6006に戻る。S6008にて、撮像装置1000のシステム制御部1016は、雲台2000に対して、位置指定コマンドで指定された目標位置の情報を用いて位置指定制御のコマンドを送り、位置指定制御に基づき雲台2000に目標位置に撮像方向が到達するよう制御させる。
Here, processing for controlling the imaging direction in this embodiment will be described with reference to the flow shown in FIG. 6 is executed by the functional blocks shown in FIG. 3 implemented by the
なお、S6007において現在位置と目標位置の角度差が180度未満か確認したが、S6008において位置指定制御のコマンドを送るタイミングは、現在位置と目標位置の角度差が0度以上180度以下であれば、どのタイミングでも良い。 In S6007, it was confirmed whether the angle difference between the current position and the target position was less than 180 degrees. Any timing is fine.
以上、本実施形態によれば、現在位置と目的位置の角度差が180度未満になったタイミングで、雲台の制御を位置指定制御に切り替えることで、実施形態1における位置指定制御を方向指定制御で代替して制御した場合の停止誤差を小さくできるようになる。 As described above, according to the present embodiment, at the timing when the angle difference between the current position and the target position becomes less than 180 degrees, the pan head control is switched to the position designation control, thereby changing the position designation control in the first embodiment to the direction designation control. It becomes possible to reduce the stop error when the control is performed instead of the control.
(その他の実施形態)
次に図8を参照して、各実施形態の各機能を実現するための撮像装置1000のハードウェア構成を説明する。なお、以降の説明において撮像装置1000のハードウェア構成について説明するが、雲台2000およびクライアント装置3000も同様のハードウェア構成によって実現されるものとする。
(Other embodiments)
Next, with reference to FIG. 8, the hardware configuration of the
本実施形態における撮像装置1000は、CPU800と、RAM810と、ROM820、HDD830と、I/F840と、を有している。
The
CPU800は撮像装置1000を統括制御する中央処理装置である。RAM810は、CPU800が実行するコンピュータプログラムを一時的に記憶する。また、RAM810は、CPU800が処理を実行する際に用いるワークエリアを提供する。また、RAM810は、例えば、フレームメモリとして機能したり、バッファメモリとして機能したりする。
A
ROM820は、CPU800が撮像装置1000を制御するためのプログラムなどを記憶する。HDD830は、画像データ等を記録する記憶装置である。
The
I/F810は、ネットワーク4000を介して、TCP/IPやHTTPなどに従って、外部装置との通信を行う。
The I/
なお、上述した実施形態の説明では、CPU800が処理を実行する例について説明するが、CPU800の処理のうち少なくとも一部を専用のハードウェアによって行うようにしてもよい。例えば、ROM820からプログラムコードを読み出してRAM810に展開する処理は、転送装置として機能するDMA(DIRECT MEMORY ACCESS)によって実行してもよい。
In the above description of the embodiment, an example in which the
なお、本発明は、上述の実施形態の1以上の機能を実現するプログラムを1つ以上のプロセッサが読出して実行する処理でも実現可能である。プログラムは、ネットワーク又は記憶媒体を介して、プロセッサを有するシステム又は装置に供給するようにしてもよい。また、本発明は、上述の実施形態の1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。また、撮像装置1000の各部は、図8に示すハードウェアにより実現してもよいし、ソフトウェアにより実現することもできる。
Note that the present invention can also be implemented by processing in which one or more processors read and execute a program that implements one or more functions of the above-described embodiments. The program may be supplied to a system or device having a processor via a network or storage medium. The invention can also be implemented in a circuit (eg, an ASIC) that implements one or more of the functions of the embodiments described above. Further, each unit of the
なお、上述した実施形態に係る撮像装置1000の1以上の機能を他の装置が有していてもよい。例えば、実施形態に係る撮像装置1000の1以上の機能を他の装置が有していてもよい。
Note that another device may have one or more functions of the
以上、本発明を実施形態と共に説明したが、上記実施形態は本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲は限定的に解釈されるものではない。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱しない範囲において、様々な形で実施することができる。例えば、各実施形態を組み合わせたものも本明細書の開示内容に含まれる。 As described above, the present invention has been described together with the embodiments, but the above-described embodiments merely show specific examples for carrying out the present invention, and the technical scope of the present invention is interpreted to be limited by these. not a thing That is, the present invention can be embodied in various forms without departing from its technical idea or main features. For example, a combination of each embodiment is also included in the disclosure of this specification.
1000 撮像装置
1016 システム制御部
2000 雲台
2011 システム制御部
3000 クライアント装置
4000 ネットワーク
1000
Claims (7)
前記撮像手段の撮像方向を制御するためにパンおよびチルトの少なくともいずれか一方を制御するための処理を実行する制御手段と、
現在の前記撮像方向の位置を取得する取得手段と、
前記取得手段により取得された現在の前記撮像方向の位置と、前記撮像方向の到達目標である目標位置との差分を特定する特定手段とを有し、
前記制御手段は、前記特定手段により特定された差分に応じて、前記撮像方向を駆動させる方向を決定することを特徴とする撮像装置。 imaging means for capturing an image;
a control means for executing processing for controlling at least one of panning and tilting in order to control the imaging direction of the imaging means;
Acquisition means for acquiring the current position in the imaging direction;
a specifying means for specifying a difference between the current position in the imaging direction acquired by the acquiring means and a target position, which is a target to be reached in the imaging direction;
The imaging apparatus, wherein the control means determines a direction in which the imaging direction is driven according to the difference specified by the specifying means.
前記撮像手段の撮像方向を制御するためにパンおよびチルトの少なくともいずれか一方を制御するための処理を実行する制御工程と、
現在の前記撮像方向の位置を取得する取得工程と、
前記取得工程において取得された現在の前記撮像方向の位置と、前記撮像方向の到達目標である目標位置とに基づき、前記目標位置までの差分を特定する特定工程とを有し、
前記制御工程において、前記特定工程において特定された差分に応じて、前記撮像方向を駆動させる方向を決定することを特徴とする制御方法。 A control method for an imaging device having imaging means for imaging an image, comprising:
a control step of performing processing for controlling at least one of panning and tilting in order to control the imaging direction of the imaging means;
an acquisition step of acquiring the current position in the imaging direction;
a specifying step of specifying a difference to the target position based on the current position in the imaging direction acquired in the acquiring step and a target position that is a target to be reached in the imaging direction;
A control method, wherein, in the control step, a direction for driving the imaging direction is determined according to the difference specified in the specifying step.
A program for causing a computer to function as each means of the imaging apparatus according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021063947A JP2022159638A (en) | 2021-04-05 | 2021-04-05 | Imaging apparatus, control method of imaging apparatus, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021063947A JP2022159638A (en) | 2021-04-05 | 2021-04-05 | Imaging apparatus, control method of imaging apparatus, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022159638A true JP2022159638A (en) | 2022-10-18 |
Family
ID=83641439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021063947A Pending JP2022159638A (en) | 2021-04-05 | 2021-04-05 | Imaging apparatus, control method of imaging apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022159638A (en) |
-
2021
- 2021-04-05 JP JP2021063947A patent/JP2022159638A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200296270A1 (en) | Switchover control techniques for dual-sensor camera system | |
US9544616B2 (en) | Video transmission apparatus | |
US9961268B2 (en) | Control device, imaging system, control method, and program for controlling imaging unit according to image capturing direction and zoom magnification | |
US9979882B2 (en) | Method and device for controlling a camera capable of pan and tilt control | |
JP6478777B2 (en) | Control device, control method therefor, and program | |
WO2021007764A1 (en) | Method and apparatus for controlling photographing device, handheld gimbal, and storage medium | |
JP2016100636A (en) | Imaging apparatus | |
US10582109B2 (en) | Control apparatus and method of controlling | |
JP2022159638A (en) | Imaging apparatus, control method of imaging apparatus, and program | |
US11477380B2 (en) | Stabilization degree adjustment method and device, and storage medium | |
JP2022155056A (en) | Imaging apparatus, control method for the same, and program | |
JP2022161436A (en) | Imaging apparatus, control method of imaging apparatus, and program | |
JP7299690B2 (en) | Image processing device and its control method | |
JP2020122883A (en) | Camera platform device | |
US20230410258A1 (en) | Image capturing apparatus, image capturing system, method, and non-transitory computer readable storage medium | |
JP2012227603A (en) | Camera control unit and control method of camera control unit | |
JP7471251B2 (en) | Electric zoom camera and control method thereof | |
JP7336185B2 (en) | Image processing device and image processing method | |
JP2019003062A (en) | Camera revolving device | |
JP2023141330A (en) | Imaging apparatus, control method, and program | |
JP2022155059A (en) | Information processing device, information processing method, and program | |
JP6702675B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM | |
JP2015142360A (en) | Imaging apparatus and universal head device | |
JP2023079945A (en) | Imaging device, control method therefor, and program | |
JP2019140566A (en) | Information processing apparatus, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20231213 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240404 |