JP2009182854A - Camera platform control method, device, and program - Google Patents

Camera platform control method, device, and program Download PDF

Info

Publication number
JP2009182854A
JP2009182854A JP2008021526A JP2008021526A JP2009182854A JP 2009182854 A JP2009182854 A JP 2009182854A JP 2008021526 A JP2008021526 A JP 2008021526A JP 2008021526 A JP2008021526 A JP 2008021526A JP 2009182854 A JP2009182854 A JP 2009182854A
Authority
JP
Japan
Prior art keywords
pan head
video
video window
head position
pan
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
JP2008021526A
Other languages
Japanese (ja)
Inventor
Yoshiji Iwabuchi
義嗣 岩渕
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 JP2008021526A priority Critical patent/JP2009182854A/en
Publication of JP2009182854A publication Critical patent/JP2009182854A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessories Of Cameras (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To simultaneously display a plurality of objects separated from an angle of field on a video window. <P>SOLUTION: A camera platform control device has: a display control part 114 which receives video data output by a camera 101 with a camera platform to be displayed on a video window; an input part 117 which changes display size of the video window; a CPU 118 having a change amount detection function for detecting a change amount of the display size of the video window changed by the input part 117, and a camera platform position calculation function for calculating a camera platform position for controlling a camera platform part from the change amount; and a communication interface 112 which transmits the calculated camera platform position to the camera platform part. Thus, the plurality of objects separated from the angle of field are simultaneously displayed on the video window. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、雲台付きカメラの撮影方向を制御するための雲台制御方法、装置及びプログラム、並びにネットワークカメラシステムに関する。   The present invention relates to a pan head control method, apparatus and program for controlling the shooting direction of a camera with a pan head, and a network camera system.

従来、カメラの撮影方向を変更する方法として、被写体を表示している映像ウィンドウのスクロールバーの移動量やマウスの軌跡に応じて、パンやチルトのカメラ雲台の制御を行う方法がある(例えば、特許文献1を参照のこと)。   Conventionally, as a method of changing the shooting direction of a camera, there is a method of controlling a pan or tilt camera pan according to the amount of movement of a scroll bar of a video window displaying a subject or the locus of a mouse (for example, , See Patent Document 1).

特開平08−181891号公報Japanese Patent Laid-Open No. 08-181891

しかしながら、従来の方法では撮像素子の解像度やレンズ性能等によって、撮影可能な画角が限定されてしまうため、画角より離れた複数の被写体を映像ウィンドウに同時に表示できないという問題があった。また、スクロールバー等による雲台の制御は、当該バーの移動量と雲台の移動量の対応が直感的に掴めないため、画角外の所望の位置に移動させることが難しいという問題があった。また、画角を変更するためにズームを使用すると被写体の表示サイズが変化してしまうという問題があった。   However, the conventional method has a problem in that a plurality of subjects distant from the angle of view cannot be simultaneously displayed on the video window because the angle of view that can be taken is limited by the resolution and lens performance of the image sensor. In addition, the pan head control using a scroll bar or the like has a problem that it is difficult to move to a desired position outside the angle of view because the correspondence between the amount of movement of the bar and the amount of pan head movement cannot be intuitively grasped. It was. Further, when zoom is used to change the angle of view, there is a problem that the display size of the subject changes.

本発明は係る問題点を解消することを目的とする。具体的には、第1に、画角より離れた複数の被写体を同時に映像ウィンドウに表示するための雲台制御方法を提供することを目的とする。第2に、画角外の被写体の位置へ直感的に移動できる雲台制御方法を提供することを目的とする。第3に、画角の変更時に被写体の表示サイズを変化させない雲台制御方法を提供することを目的とする。   An object of the present invention is to eliminate such problems. Specifically, a first object is to provide a pan head control method for simultaneously displaying a plurality of subjects distant from the angle of view on a video window. The second object is to provide a pan head control method that can intuitively move to the position of a subject outside the angle of view. A third object is to provide a pan head control method that does not change the display size of a subject when the angle of view is changed.

本発明の雲台制御方法は、雲台付きカメラの雲台部を制御する雲台制御方法であって、前記雲台付きカメラの出力する映像データを映像ウィンドウに表示する映像表示工程と、映像ウィンドウの表示サイズを変更するサイズ変更工程と、前記サイズ変更工程によって変更された映像ウィンドウの表示サイズの変化量を検出する変化量検出工程と、前記変化量検出工程で検出した変化量から前記雲台部を制御するための雲台位置を算出する雲台位置算出工程と、前記雲台位置算出工程で算出した雲台位置に基づき、前記雲台部を制御する雲台位置制御工程とを有することを特徴とする。
また、本発明の雲台制御装置は、雲台付きカメラの雲台部を制御する雲台制御装置であって、前記雲台付きカメラの出力する映像データを映像ウィンドウに表示する映像表示手段と、映像ウィンドウの表示サイズを変更するサイズ変更手段と、前記サイズ変更手段によって変更された映像ウィンドウの表示サイズの変化量を検出する変化量検出手段と、前記変化量検出手段が検出した変化量から前記雲台部を制御するための雲台位置を算出する雲台位置算出手段と、前記雲台位置算出手段が算出した雲台位置に基づき、前記雲台部を制御する雲台位置制御手段とを有することを特徴とする。
また、本発明のプログラムは、雲台付きカメラの雲台部の制御をコンピュータに実行させるためのプログラムであって、前記雲台付きカメラの出力する映像データを映像ウィンドウに表示する映像表示ステップと、映像ウィンドウの表示サイズを変更するサイズ変更ステップと、前記サイズ変更ステップによって変更された映像ウィンドウの表示サイズの変化量を検出する変化量検出ステップと、前記変化量検出ステップで検出した変化量から前記雲台部を制御するための雲台位置を算出する雲台位置算出ステップと、前記雲台位置算出ステップで算出した雲台位置に基づき、前記雲台部を制御する雲台位置制御ステップとをコンピュータに実行させるためのプログラムである。
また、本発明のネットワークカメラシステムは、雲台部を有する雲台付きカメラと、前記雲台部を遠隔制御する雲台制御装置とがネットワークを介して接続したネットワークカメラシステムであって、前記雲台付きカメラの出力する映像データを受信し映像ウィンドウに表示する映像表示手段と、映像ウィンドウの表示サイズを変更するサイズ変更手段と、前記サイズ変更手段によって変更された映像ウィンドウの表示サイズの変化量を検出する変化量検出手段と、前記変化量検出手段が検出した変化量から前記雲台部を制御するための雲台位置を算出する雲台位置算出手段と、前記雲台位置算出手段が算出した雲台位置に基づき、前記雲台部を制御する雲台位置制御手段とを有することを特徴とする。
A pan head control method of the present invention is a pan head control method for controlling a pan head portion of a camera with a pan head, a video display step for displaying video data output from the camera with a pan head on a video window, A size changing step for changing a display size of the window; a change amount detecting step for detecting a change amount of the display size of the video window changed by the size changing step; and the cloud based on the change amount detected in the change amount detecting step. A pan head position calculating step for calculating a pan head position for controlling the head portion, and a pan head position controlling step for controlling the pan head portion based on the pan head position calculated in the pan head position calculating step. It is characterized by that.
The pan head control device of the present invention is a pan head control device for controlling a pan head portion of a camera with a pan head, and video display means for displaying video data output from the pan head camera on a video window; From the size change means for changing the display size of the video window, the change amount detection means for detecting the change amount of the display size of the video window changed by the size change means, and the change amount detected by the change amount detection means A pan head position calculating unit for calculating a pan head position for controlling the pan head unit; a pan head position control unit for controlling the pan head unit based on the pan head position calculated by the pan head position calculating unit; It is characterized by having.
The program of the present invention is a program for causing a computer to control the pan head part of a camera with a pan head, and a video display step for displaying video data output from the pan head camera on a video window; A size change step for changing the display size of the video window, a change amount detection step for detecting a change amount of the display size of the video window changed by the size change step, and a change amount detected in the change amount detection step. A pan head position calculating step for calculating a pan head position for controlling the pan head unit, and a pan head position control step for controlling the pan head unit based on the pan head position calculated in the pan head position calculating step; Is a program for causing a computer to execute.
The network camera system of the present invention is a network camera system in which a camera with a camera platform having a camera platform and a camera platform control device for remotely controlling the camera platform are connected via a network. Video display means for receiving video data output from a camera with a base and displaying it on a video window, size changing means for changing the display size of the video window, and amount of change in display size of the video window changed by the size changing means The change amount detection means for detecting the camera position, the camera platform position calculation means for calculating the camera platform position for controlling the camera platform from the change amount detected by the change amount detection means, and the camera platform position calculation means And a pan head position control means for controlling the pan head unit based on the pan head position.

本発明によれば、撮影画角より離れた複数の被写体を同時に映像ウィンドウに表示することが可能となる。また、画角外の被写体の位置へ直感的な操作で移動することが可能となる。また、被写体の表示サイズを変更することなく画角を変更することが可能となる。   According to the present invention, it is possible to simultaneously display a plurality of subjects away from the shooting angle of view on the video window. It is also possible to move to the position of the subject outside the angle of view by an intuitive operation. In addition, the angle of view can be changed without changing the display size of the subject.

以下、本発明の実施の形態を図面を用いて説明する。
(第1の実施の形態)
図1は、本実施の形態に係る雲台撮影装置(雲台付きカメラ)及び雲台制御装置を含むネットワークカメラシステムのシステム構成を示すブロック図である。なお、本実施の形態では、雲台撮影装置と雲台制御装置とをネットワークを介して接続して互いに通信可能とし、雲台制御装置から雲台撮影装置を遠隔制御できるように構成しているが、雲台撮影装置及び雲台制御装置を単一の装置として構成しても構わない。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a block diagram showing a system configuration of a network camera system including a pan head imaging apparatus (camera with pan head) and a pan head control apparatus according to the present embodiment. In this embodiment, the camera platform photographing device and the camera platform control device are connected via a network so that they can communicate with each other, and the camera platform photographing device can be remotely controlled from the camera platform control device. However, the pan head imaging device and the pan head control device may be configured as a single device.

図1において、101は雲台撮影装置であり、撮影方向を変更するための雲台(雲台部)と撮影機能とを有したパンチルトカメラである。111は雲台制御装置であり、雲台撮影装置101とLAN等の通信ネットワークを介して接続するコンピュータである。雲台制御装置111はユーザとのインタフェースとして、入力手段としてのマウス121、出力手段としての表示装置131が接続される。   In FIG. 1, reference numeral 101 denotes a pan / tilt head photographing device, which is a pan / tilt camera having a pan head (head unit) for changing the photographing direction and a photographing function. Reference numeral 111 denotes a pan head control device, which is a computer connected to the pan head imaging device 101 via a communication network such as a LAN. The pan head control device 111 is connected to a mouse 121 as an input means and a display device 131 as an output means as an interface with a user.

次に、雲台撮影装置101の内部について説明する。102は撮影部であり、被写体を撮影し映像データに変換する。103は映像圧縮部であり、撮影部102の映像データを受け取り、データの圧縮処理を行うとともに撮影時の雲台位置を付加する。104はパンモータからなるパン駆動部であり、105はチルトモータからなるチルト駆動部である。106は雲台制御部であり、雲台制御装置111から発行される雲台制御命令に応じてパン駆動部104やチルト駆動部105のモータを制御する。107は通信インタフェース(通信I/F)であり、映像圧縮部103で圧縮された映像データの送信と雲台制御装置111から発行される雲台制御命令の受信を行う。   Next, the inside of the pan / tilt head photographing apparatus 101 will be described. Reference numeral 102 denotes a photographing unit that photographs a subject and converts it into video data. Reference numeral 103 denotes a video compression unit that receives video data from the photographing unit 102, performs data compression processing, and adds a pan head position at the time of photographing. Reference numeral 104 denotes a pan driving unit including a pan motor, and reference numeral 105 denotes a tilt driving unit including a tilt motor. A pan head control unit 106 controls the motors of the pan driving unit 104 and the tilt driving unit 105 in accordance with a pan head control command issued from the pan head control device 111. A communication interface (communication I / F) 107 transmits video data compressed by the video compression unit 103 and receives a pan head control command issued from the pan head control device 111.

次に、雲台制御装置111の内部について説明する。118は雲台制御装置111全体を制御するCPUである。120はHDD(Hard Disk Drive)であり、CPU118が制御を行うためのプログラムやパラメータを格納する。HDD120はまた、後述するウィンドウ制御部115、雲台制御要求部116が処理を行うためのプログラムも格納する。117はマウス121からのデータを受け取る入力部である。112は雲台撮影装置101の通信インタフェース107と通信を行う通信インタフェース(通信I/F)であり、圧縮された映像データの受信と、雲台制御部106に対する雲台制御命令の送信を行う。113は映像伸長部であり、映像圧縮部103で圧縮された映像データを通信インタフェース107、112を通して受け取った後、伸長処理を行うとともに撮影時の雲台位置をRAM(Random Access Memory)119に記憶する。   Next, the inside of the pan head control device 111 will be described. Reference numeral 118 denotes a CPU that controls the entire pan head control device 111. An HDD (Hard Disk Drive) 120 stores programs and parameters for the CPU 118 to control. The HDD 120 also stores programs for processing by a window control unit 115 and a pan head control request unit 116 described later. Reference numeral 117 denotes an input unit that receives data from the mouse 121. Reference numeral 112 denotes a communication interface (communication I / F) that communicates with the communication interface 107 of the pan / tilt head photographing apparatus 101, and receives compressed video data and transmits a pan / tilt head control command to the pan / tilt head control unit 106. Reference numeral 113 denotes a video decompression unit, which receives the video data compressed by the video compression unit 103 through the communication interfaces 107 and 112, performs decompression processing, and stores a pan head position at the time of shooting in a RAM (Random Access Memory) 119. To do.

115はウィンドウ制御部であり、入力部117等から指定される所望の大きさに映像ウィンドウを変倍し、映像ウィンドウのサイズ情報をRAM119に記憶する。114は表示制御部であり、ウィンドウ制御部115で生成された映像ウィンドウに、映像伸長部113で伸長された映像データを表示する。116は雲台制御要求部であり、ウィンドウ制御部115で生成される映像ウィンドウの大きさに応じて雲台制御命令を生成し、通信インタフェース112、107を通して雲台制御部106に送信する。   Reference numeral 115 denotes a window control unit that scales the video window to a desired size designated by the input unit 117 and stores the size information of the video window in the RAM 119. A display control unit 114 displays the video data expanded by the video expansion unit 113 on the video window generated by the window control unit 115. Reference numeral 116 denotes a pan head control request unit that generates a pan head control command according to the size of the video window generated by the window control unit 115 and transmits the pan head control command to the pan head control unit 106 through the communication interfaces 112 and 107.

ここでウィンドウ制御部115により生成される映像ウィンドウに表示可能な映像の画角、解像度と雲台の位置との関係を説明する。図3は、本実施の形態において表示する映像データの画角、解像度と雲台の位置との関係を説明するための図である。   Here, the relationship between the angle of view of video that can be displayed in the video window generated by the window control unit 115, the resolution, and the position of the pan head will be described. FIG. 3 is a diagram for explaining the relationship between the angle of view and resolution of video data to be displayed in the present embodiment, and the position of the pan head.

図3において、301で示す領域は撮影可能範囲であり、雲台撮影装置101のパン、チルトによる移動によって撮影が可能な領域である。303で示す範囲(両端矢印)は、雲台撮影装置101がパン方向に移動できる範囲であり、本実施の形態では−180度から+180度の範囲で移動できることを意味する。302で示す範囲(両端矢印)は、雲台撮影装置101がチルト方向に移動できる範囲であり、本実施の形態では−40度から+40度の範囲で移動できることを意味する。   In FIG. 3, an area 301 is an imageable range, and is an area that can be imaged by the pan / tilt movement of the pan / tilt apparatus 101. A range indicated by 303 (a double-ended arrow) is a range in which the pan / tilt head photographing apparatus 101 can move in the pan direction, and means that it can move in a range of −180 degrees to +180 degrees in the present embodiment. A range indicated by 302 (a double-ended arrow) is a range in which the pan / tilt head photographing apparatus 101 can move in the tilt direction, and means that it can move in a range of −40 degrees to +40 degrees in the present embodiment.

本実施の形態において、領域301に対して1フレームごとに撮影できる画角や解像度は、撮像素子やレンズの光学性能等により限定される。ここで、本実施の形態では、映像の解像度が横720ピクセル、縦480ピクセルとなっており、また映像の画角がレンズの光学性能から縦方向40度、横方向60度となっているため、1フレームごとに撮影できる範囲は304に示す領域の大きさに限定される。この場合、例えばパン動作によって最左部、チルト動作によって最上部に移動して撮影できる範囲は305に示す領域に限定される。このような映像の解像度と画角の関係によれば、パン角度1度=720ピクセル÷60度=12ピクセル、チルト角度1度=480ピクセル÷40度=12ピクセルとなり、ピクセルと角度の変換が可能となる。   In this embodiment, the angle of view and the resolution that can be captured for each frame of the region 301 are limited by the optical performance of the imaging element and the lens. Here, in this embodiment, the video resolution is 720 pixels wide and 480 pixels long, and the angle of view of the video is 40 degrees in the vertical direction and 60 degrees in the horizontal direction due to the optical performance of the lens. The range that can be captured for each frame is limited to the size of the area indicated by 304. In this case, for example, the range that can be photographed by moving to the leftmost portion by the pan operation and moving to the uppermost portion by the tilt operation is limited to the region indicated by 305. According to the relationship between the resolution of the video and the angle of view, the pan angle is 1 degree = 720 pixels / 60 degrees = 12 pixels and the tilt angle is 1 degree = 480 pixels / 40 degrees = 12 pixels. It becomes possible.

次に映像ウィンドウの変倍(サイズ変更)に応じた雲台制御方法について図2〜図6を用いて説明する。図2は、映像ウィンドウの変倍処理のフローチャートである。なお、以下で説明する処理は、雲台制御装置におけるCPU118が、その他の各部を用いて行う。   Next, a pan head control method according to the scaling (change in size) of the video window will be described with reference to FIGS. FIG. 2 is a flowchart of video window scaling processing. Note that the processing described below is performed by the CPU 118 in the pan head control device using other units.

ステップS201において、CPU118は、表示制御部114により、ウィンドウ制御部115で生成された映像ウィンドウに映像伸長部113で伸長された映像データを表示する。ここで、図4は、表示装置131に表示される映像ウィンドウの一例を示す図である。このステップS201の処理では、図4(a)に示されるような映像ウィンドウ402(横720ピクセル、縦480ピクセル)に、横720ピクセル、縦480ピクセルの解像度の映像データが表示されたものとする。なお、このステップS201の処理は、本発明でいう映像表示工程の一処理例に対応する。   In step S <b> 201, the CPU 118 causes the display control unit 114 to display the video data expanded by the video expansion unit 113 on the video window generated by the window control unit 115. Here, FIG. 4 is a diagram illustrating an example of a video window displayed on the display device 131. In the process of step S201, it is assumed that video data having a resolution of 720 pixels wide and 480 pixels high is displayed in a video window 402 (720 pixels wide and 480 pixels high) as shown in FIG. . Note that the processing in step S201 corresponds to a processing example of a video display step in the present invention.

次にステップS202において、CPU118は、映像伸長部113で検出した撮影時のパン、チルトの雲台位置をRAM119に記憶する。本例では、図3の領域304の中心座標であるパン角度0度、チルト角度0度を記憶したものとする。   In step S <b> 202, the CPU 118 stores the pan / tilt head position at the time of shooting detected by the video decompression unit 113 in the RAM 119. In this example, it is assumed that the pan angle 0 degree and the tilt angle 0 degree, which are the center coordinates of the area 304 in FIG. 3, are stored.

次にステップS203において、CPU118は、ウィンドウ制御部115が生成した映像ウィンドウの大きさ情報をRAM119に記憶する。本例では、横720ピクセル、縦480ピクセルを記憶したものとする。   In step S <b> 203, the CPU 118 stores the size information of the video window generated by the window control unit 115 in the RAM 119. In this example, it is assumed that 720 pixels horizontally and 480 pixels vertically are stored.

次にステップS204において、CPU118は、ウィンドウ制御部115で映像ウィンドウが拡大されたか否かを検出し、検出した場合はステップS205に進む。ここでは、例えばマウス121の変更指示を入力部117が受け付けて、ウィンドウ制御部115に指示を行い、映像ウィンドウを拡大して生成したか否かを検出する。なお、この処理における、入力部117がマウス121からの変更指示を受け付け、ウィンドウ制御部115に変更入力を与え、ウィンドウ制御部115が映像ウィンドウの拡大を行う処理は、本発明でいうサイズ変更工程の一処理例に対応する。   Next, in step S204, the CPU 118 detects whether or not the video window has been enlarged by the window control unit 115, and proceeds to step S205 if detected. Here, for example, the input unit 117 receives an instruction to change the mouse 121 and instructs the window control unit 115 to detect whether the video window has been enlarged and generated. In this process, the input unit 117 accepts a change instruction from the mouse 121, gives a change input to the window control unit 115, and the window control unit 115 enlarges the video window. Corresponds to an example of processing.

次に、ステップS205において、CPU118は、映像ウィンドウの変倍量(変化量)を算出しRAM119に記憶する。本例においては、図4(a)に示す映像ウィンドウ402が、図4(b)に示す映像ウィンドウ404(横1080ピクセル、縦480ピクセル)に拡大されたものとする。この場合、横方向1080−720=+360ピクセル、縦方向480−480=0ピクセルとなり、このような変倍量をRAM119に記憶する。なお、ステップS205の処理は、本発明でいう変化量検出工程の一処理例に対応する。   Next, in step S <b> 205, the CPU 118 calculates a zoom amount (change amount) of the video window and stores it in the RAM 119. In this example, it is assumed that the video window 402 shown in FIG. 4A is enlarged to the video window 404 (1080 pixels wide and 480 pixels high) shown in FIG. In this case, the horizontal direction is 1080-720 = + 360 pixels and the vertical direction is 480-480 = 0 pixels, and such a scaling amount is stored in the RAM 119. Note that the processing in step S205 corresponds to a processing example of the change amount detection step in the present invention.

次に、ステップS206において、CPU118は、RAM119に記憶されている映像ウィンドウの変倍量と雲台位置とから雲台の制御テーブルを作成する。   Next, in step S <b> 206, the CPU 118 creates a pan head control table from the zoom amount of the video window and the pan head position stored in the RAM 119.

図5は、ステップS206で作成される雲台制御テーブルの一例を示す図である。図5において、行501には映像ウィンドウ拡大前の情報Aが、行502には映像ウィンドウ拡大後の情報Bが格納される。列503には、ステップS205で検出された映像ウィンドウのピクセル単位の変倍量が格納される。また、列504には、列503のピクセル単位を角度単位に換算した値が格納される。この換算した値は前述図3で説明したように12ピクセル=1度で換算した値である。また、列505には、列504で算出された角度に応じて生成した雲台制御命令が格納され、映像ウィンドウ拡大前の雲台位置であるパン0度、チルト0度に、列504の値を加算した雲台制御命令が格納されている。本例では、映像ウィンドウ拡大前の雲台位置はパン角度0度、チルト角度0度であり、映像ウィンドウ拡大後は横方向の変倍量+30度が加算されるので、雲台位置はパン角度+30度、チルト角度0度となる。以上のように構成された制御テーブルをステップS206では生成する。ステップS206の処理を完了すると、CPU118は、ステップS207に進むとともにステップS208に進む。なお、ステップS206の処理は、本発明でいう雲台位置算出工程の一処理例に対応する。   FIG. 5 is a diagram showing an example of the pan / tilt head control table created in step S206. In FIG. 5, information A before the video window enlargement is stored in a row 501, and information B after the video window enlargement is stored in a row 502. A column 503 stores the amount of scaling in pixel units of the video window detected in step S205. A column 504 stores a value obtained by converting the pixel unit in the column 503 into an angle unit. This converted value is a value converted at 12 pixels = 1 degree as described above with reference to FIG. The column 505 stores the pan head control command generated according to the angle calculated in the column 504, and the value of the column 504 is set to the pan position 0 ° and the tilt 0 ° which are the pan head positions before the video window enlargement. Is stored. In this example, the pan head position before the video window enlargement has a pan angle of 0 degree and a tilt angle of 0 degree, and after the video window enlargement, the horizontal scaling amount +30 degrees is added, so the pan head position is the pan angle. +30 degrees and tilt angle 0 degree. In step S206, the control table configured as described above is generated. When the process of step S206 is completed, the CPU 118 proceeds to step S207 and proceeds to step S208. Note that the process of step S206 corresponds to a process example of the pan head position calculating step in the present invention.

ステップS207において、CPU118は、雲台制御要求部116により映像ウィンドウ拡大後の雲台制御命令(所定位置での撮影命令、本例では507)を発行し、通信インタフェース112、107を通して雲台制御部106に送信する。なお、ステップS207の処理は、本発明でいう雲台位置制御工程の一処理例に対応する。   In step S207, the CPU 118 issues a pan head control command (shooting command at a predetermined position, 507 in this example) after enlargement of the video window by the pan head control request unit 116, and the pan head control unit through the communication interfaces 112 and 107. 106. Note that the processing in step S207 corresponds to a processing example of the pan head position control step in the present invention.

一方、ステップS208においては、CPU118は、表示制御部114により映像ウィンドウの変倍量に応じて映像ウィンドウ上の領域を複数の表示領域に分割する。図6は、ステップS208の処理で分割した映像ウィンドウの一例を模式的に示した図である。図6において、601は奇数フレームの映像ウィンドウ、604は偶数フレームの映像ウィンドウである。変倍によって横方向に360ピクセルだけ拡大したので、これら映像ウィンドウ601、604の大きさは横1080ピクセル、縦480ピクセルである。602に示す領域は、図5の情報Bに対応して分割された描画領域Bであり、描画開始座標が横360ピクセル、縦0ピクセル、大きさが横720ピクセル、縦480ピクセルの領域である。603に示す領域は、映像ウィンドウ601における領域602以外の描画領域aである。605に示す領域は、図5の情報Aに対応して分割された描画領域Aであり、描画開始座標が横0ピクセル、縦0ピクセル、大きさが横720ピクセル、縦480ピクセルの領域である。606に示す領域は、映像ウィンドウ604における領域605以外の描画領域bである。以上のように分割した映像ウィンドウをステップS208では生成する。   On the other hand, in step S208, the CPU 118 causes the display control unit 114 to divide the area on the video window into a plurality of display areas according to the amount of magnification of the video window. FIG. 6 is a diagram schematically showing an example of the video window divided by the process of step S208. In FIG. 6, reference numeral 601 denotes an odd-numbered video window, and reference numeral 604 denotes an even-numbered video window. Since zooming has expanded 360 pixels in the horizontal direction, the sizes of these video windows 601 and 604 are horizontal 1080 pixels and vertical 480 pixels. A region 602 is a drawing region B divided in accordance with the information B in FIG. 5 and has a drawing start coordinate of 360 pixels wide, 0 pixels high, 720 pixels wide, and 480 pixels high. . An area 603 is a drawing area a other than the area 602 in the video window 601. A region 605 is a drawing region A divided in accordance with the information A in FIG. 5, and is a region where the drawing start coordinates are 0 horizontal pixels, 0 vertical pixels, the size is 720 horizontal pixels, and 480 vertical pixels. . An area 606 is a drawing area b other than the area 605 in the video window 604. In step S208, the video window divided as described above is generated.

次にステップS209において、CPU118は、表示制御部114で映像データ及び雲台位置を受信し、図5に示した雲台制御命令507に対応した雲台位置で撮影された映像データを表示する。本例では図6に示した描画領域B602に表示する。また、以前に雲台制御命令506に対応した雲台位置で撮影された映像データは描画領域a603に表示したままとする。   In step S209, the CPU 118 receives the video data and the pan head position at the display control unit 114, and displays the video data captured at the pan head position corresponding to the pan head control command 507 shown in FIG. In this example, the image is displayed in the drawing area B602 shown in FIG. In addition, the video data previously captured at the pan head position corresponding to the pan head control command 506 remains displayed in the drawing area a603.

次にステップS210において、CPU118は、雲台制御命令506、507に対応した映像の撮影を巡回させて、映像の受信を繰り返すか否かの指示があるか判定する。巡回する場合は雲台制御命令506の送信→描画領域A605へ1フレーム描画→雲台制御命令507の送信→描画領域B602・・・といった所定の順番で1フレーム描画を繰り返す。この際、描画領域A605の描画中には、描画領域b606には直前に描画していた映像の表示を続ける。同様に描画領域B602の描画中には、描画領域a603には直前に描画していた映像の表示を続ける。   Next, in step S210, the CPU 118 circulates the video shooting corresponding to the pan head control commands 506 and 507, and determines whether there is an instruction to repeat the video reception. In the case of patrol, one frame drawing is repeated in a predetermined order such as transmission of the pan head control command 506 → one frame drawing to the drawing area A 605 → transmission of the pan head control command 507 → drawing area B 602. At this time, while the drawing area A605 is being drawn, the image drawn immediately before is continuously displayed in the drawing area b606. Similarly, during drawing of the drawing area B602, the display of the image drawn immediately before is continued in the drawing area a603.

ここで、以上で説明した雲台制御方法における映像ウィンドウの表示例を図7を用いて説明する。図7においては、雲台撮影装置101、雲台制御装置111、表示装置131が示される。また、703は被写体となるドアであり、ドア703を撮影するための雲台位置は、本例ではパン角度0度、チルト角度0度である。当初、表示装置131では映像ウィンドウ701に示すようにドア703のみが表示されている。この状態において、もし侵入者704がドア703から侵入しドア703の右側(図面上の表示装置131の右側)に移動した場合、映像ウィンドウ701では撮影画角が限定されているため侵入者704は表示されない。ここで本実施の形態において映像ウィンドウを図5の制御テーブルに応じて360ピクセルだけ横に拡大した場合は、705に示すようにパン角度を右に30度移動して撮影した映像データを映像ウィンドウ702における右側領域に描画することになる。   Here, a display example of the video window in the pan head control method described above will be described with reference to FIG. In FIG. 7, a pan head imaging device 101, a pan head control device 111, and a display device 131 are shown. Reference numeral 703 denotes a door as a subject, and the pan head position for photographing the door 703 is a pan angle of 0 degrees and a tilt angle of 0 degrees in this example. Initially, only the door 703 is displayed on the display device 131 as shown in the video window 701. In this state, if the intruder 704 enters from the door 703 and moves to the right side of the door 703 (the right side of the display device 131 on the drawing), the intruder 704 has a limited shooting angle of view in the video window 701. Do not show. Here, in the present embodiment, when the video window is expanded horizontally by 360 pixels in accordance with the control table of FIG. 5, the video data captured by moving the pan angle to the right by 30 degrees as shown in 705 is displayed in the video window. Drawing is performed in the right region in 702.

以上のように本実施の形態では、表示装置131上の映像ウィンドウの拡大に伴い、雲台制御装置111により雲台撮影装置101を移動させ、映像ウィンドウにおける拡大された領域に対応する位置で映像を撮影し得るようにした。これにより、撮影画角より離れた場所にいる侵入者(被写体)を表示することが可能となり、また、撮影画角より離れた複数の被写体を同時に映像ウィンドウに表示することが可能となる。また、画角外の被写体に雲台位置を移動する場合は、被写体が存在する方向に映像ウィンドウを拡大すればよいので直感的な雲台制御が可能になる。さらに、例えばパン角度0度とパン角度+30度で雲台を巡回させるようにし、それぞれの撮影位置に対応した領域に解像度の同じデータを描画することで、被写体の表示サイズを変更することなく画角を変更することが可能となる。   As described above, in the present embodiment, as the video window on the display device 131 is enlarged, the camera platform imaging device 101 is moved by the camera platform control device 111, and the video is displayed at a position corresponding to the enlarged area in the video window. I was able to shoot. This makes it possible to display an intruder (subject) located at a location away from the shooting angle of view, and to simultaneously display a plurality of subjects away from the shooting angle of view on the video window. In addition, when moving the pan head position to a subject outside the angle of view, it is only necessary to enlarge the video window in the direction in which the subject exists, so intuitive pan head control becomes possible. Further, for example, the pan head is rotated at a pan angle of 0 degrees and a pan angle of +30 degrees, and data having the same resolution is drawn in an area corresponding to each photographing position, so that the image can be displayed without changing the display size of the subject. The corner can be changed.

(第2の実施の形態)
次に本発明の第2の実施の形態を説明する。なお、本実施の形態に係る雲台撮影装置及び雲台制御装置の構成は、第1の実施の形態で説明した図1と同様であるため、説明は省略する。また、映像データの画角、解像度と雲台位置との関係についても、第1の実施の形態で説明した図3と同様であるため、説明は省略する。また、以下の説明では、第1の実施の形態で用いた図面も参照して説明する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. Note that the configuration of the pan / tilt head imaging apparatus and pan / tilt head control apparatus according to the present embodiment is the same as that of FIG. 1 described in the first embodiment, and thus description thereof is omitted. Also, the relationship between the angle of view and resolution of the video data and the pan head position is the same as that in FIG. 3 described in the first embodiment, and a description thereof will be omitted. Further, in the following description, description will be made with reference to the drawings used in the first embodiment.

図8は、ウィンドウ制御部115が生成した映像ウィンドウの変倍処理における本実施の形態に係る雲台制御テーブル作成処理のフローチャートである。
ステップS801において、CPU118は、表示制御部114により、ウィンドウ制御部115で生成された映像ウィンドウに映像伸長部113で伸長された映像データを表示する。本例では、横720ピクセル、縦480ピクセルの映像ウィンドウに、横720ピクセル、縦480ピクセルの解像度の映像データを表示したものとする。
FIG. 8 is a flowchart of the pan / tilt head control table creation process according to the present embodiment in the scaling process of the video window generated by the window control unit 115.
In step S <b> 801, the CPU 118 causes the display control unit 114 to display the video data expanded by the video expansion unit 113 on the video window generated by the window control unit 115. In this example, it is assumed that video data having a resolution of 720 pixels wide and 480 pixels high is displayed in a video window of 720 pixels wide and 480 pixels high.

次にステップS802において、CPU118は、映像伸長部113で検出した撮影時のパン、チルトの雲台位置をRAM119に記憶する。本例では、図3に示した領域305の中心座標であるパン角度−180度、チルト角度+40度を記憶したものとする。   In step S <b> 802, the CPU 118 stores the pan / tilt pan / tilt head position at the time of shooting detected by the video decompression unit 113 in the RAM 119. In this example, it is assumed that a pan angle of −180 degrees and a tilt angle of +40 degrees, which are the center coordinates of the area 305 shown in FIG. 3, are stored.

次にステップS803において、CPU118は、ウィンドウ制御部115が生成した映像ウィンドウの大きさ情報をRAM119に記憶する。本例では、横720ピクセル、縦480ピクセルを記憶したものとする。   In step S <b> 803, the CPU 118 stores the video window size information generated by the window control unit 115 in the RAM 119. In this example, it is assumed that 720 pixels horizontally and 480 pixels vertically are stored.

次にステップS804において、CPU118は、ウィンドウ制御部115で映像ウィンドウが拡大されたか否かを検出し、検出した場合はステップS805に進む。ここでは、例えばマウス121の指示によってウィンドウ制御部115が映像ウィンドウを拡大して生成したかを検出する。   Next, in step S804, the CPU 118 detects whether or not the video window has been enlarged by the window control unit 115, and proceeds to step S805 if it is detected. Here, for example, it is detected whether the window control unit 115 has enlarged and generated the video window in accordance with an instruction from the mouse 121.

次にステップS805において、CPU118は、映像ウィンドウ拡大時の処理がデジタルズームであるか否かを判定する。ここでは、例えば予め設定された映像ウィンドウ拡大時の動作モードフラグの検出によってデジタルズームであるか否かの判定を行う。もしデジタルズームと判定された場合は、ステップS806に進み、CPU118は、映像ウィンドウの拡大量に応じて画素を補間した映像データを表示し、ステップS802に戻る。   Next, in step S805, the CPU 118 determines whether or not the processing at the time of enlarging the video window is digital zoom. Here, for example, it is determined whether or not the digital zoom is performed by detecting a preset operation mode flag when the video window is enlarged. If the digital zoom is determined, the process proceeds to step S806, where the CPU 118 displays video data obtained by interpolating pixels according to the enlargement amount of the video window, and returns to step S802.

一方、デジタルズームでないと判定した場合のステップS807においては、CPU118は、映像ウィンドウの変倍量を算出しRAM119に記憶する。本例では、元の映像ウィンドウの横720ピクセル、縦480ピクセルの大きさが、横2160ピクセル、縦1440ピクセルの大きさに拡大されたものとする。この場合、横方向2160÷720=3倍、縦方向1440÷480=3倍となり、これらの変倍量をRAM119に記憶する。   On the other hand, in step S807 when it is determined that the zoom is not a digital zoom, the CPU 118 calculates a scaling amount of the video window and stores it in the RAM 119. In this example, it is assumed that the size of the original video window of 720 pixels wide and 480 pixels high is expanded to 2160 pixels wide and 1440 pixels high. In this case, 2160 ÷ 720 = 3 times in the horizontal direction and 1440 ÷ 480 = 3 times in the vertical direction, and these magnification amounts are stored in the RAM 119.

次にステップS808において、CPU118は、入力部117により、映像ウィンドウのどの部分がマウス121でドラッグされて拡大されたかを検出して記憶する。   In step S <b> 808, the CPU 118 detects and stores which part of the video window is dragged with the mouse 121 and enlarged by the input unit 117.

ここで、図11は、マウス121のドラッグ方向を説明するための図である。図11において、1102は映像ウィンドウであり、1103、1104、1105、1106はそれぞれ映像ウィンドウの左上、右上、左下、右下部分であり、マウス121によるドラッグが可能な部分である。即ち、本実施の形態では、映像ウィンドウの四隅にドラッグ操作を行うための表示を設け、それを操作することで映像ウィンドウの拡大又は縮小を可能としている。本例では、右下1106をマウス121でドラッグして映像ウィンドウ1102を拡大したものとし、その方向をRAM119に記憶したものとする。   Here, FIG. 11 is a diagram for explaining the drag direction of the mouse 121. In FIG. 11, reference numeral 1102 denotes a video window, and reference numerals 1103, 1104, 1105, and 1106 denote upper left, upper right, lower left, and lower right portions of the video window, which are portions that can be dragged with the mouse 121. That is, in this embodiment, displays for performing a drag operation are provided at the four corners of the video window, and the video window can be enlarged or reduced by operating the display. In this example, it is assumed that the video window 1102 is enlarged by dragging the lower right 1106 with the mouse 121 and the direction is stored in the RAM 119.

次にステップS809において、CPU118は、映像ウィンドウに表示される映像のフレームレートを動き優先とするか否かを判定する。ここでは、例えば予め設定された動き優先モードフラグ等の検出によって判定を行うようにする。   In step S809, the CPU 118 determines whether or not to give priority to the motion of the frame rate of the video displayed in the video window. Here, for example, the determination is performed by detecting a preset motion priority mode flag or the like.

ステップS809で動き優先と判定された場合は、ステップS810において、CPU118は、ステップS809の判定結果(検出結果)に応じて、映像ウィンドウの分割領域のどの領域を優先的に描画するかを選択(決定)する。本例では、右下方向にドラッグして拡大したので、分割領域の右下方向に位置する領域を優先的に描画するという優先領域情報を記憶するようにする。続いて、ステップS811において、CPU118は、RAM119に記憶されている映像ウィンドウの変倍量、雲台位置、優先領域情報から雲台制御テーブルを作成する。なお、動き優先と判定しなかった場合は、そのままステップS811に進む。   If it is determined in step S809 that priority is given to motion, in step S810, the CPU 118 selects which of the divided areas of the video window is to be preferentially rendered in accordance with the determination result (detection result) in step S809 ( decide. In this example, since the area is expanded by dragging in the lower right direction, priority area information that preferentially draws an area located in the lower right direction of the divided area is stored. Subsequently, in step S811, the CPU 118 creates a pan head control table from the zoom amount, pan head position, and priority area information of the video window stored in the RAM 119. If it is not determined that the movement priority is given, the process proceeds to step S811 as it is.

ここで、ステップS811で作成される雲台制御テーブルの詳細を説明する。まず図10は、本実施の形態で拡大された映像ウィンドウを模式的に示した図である。1002に示す領域は、拡大前の映像ウィンドウであり、横720ピクセル、縦480ピクセルの大きさである。1001に示す領域は、拡大後の映像ウィンドウであり、横2160ピクセル、縦1440ピクセルの大きさである。本例では、映像ウィンドウの拡大による変倍量は横方向、縦方向ともに3倍なので、領域1002から領域1005であるA〜Iの3×3のマトリクスで領域分割できる。ここで、ステップS810で選択する描画優先領域は映像ウィンドウの右下方向なので、優先する領域は、1002に示す領域A、1004に示す領域E、1005に示す領域Iとなる。   Here, the details of the pan / tilt head control table created in step S811 will be described. First, FIG. 10 is a diagram schematically showing a video window enlarged in the present embodiment. An area 1002 is a video window before enlargement, and has a size of 720 pixels wide and 480 pixels vertically. An area indicated by 1001 is an enlarged video window having a size of 2160 pixels wide and 1440 pixels high. In this example, since the amount of zooming due to the enlargement of the video window is three times in both the horizontal and vertical directions, the region can be divided into a 3 × 3 matrix from regions 1002 to 1005 A to I. Here, since the drawing priority area selected in step S810 is in the lower right direction of the video window, the priority areas are the area A indicated by 1002, the area E indicated by 1004, and the area I indicated by 1005.

図9は、図10の映像ウィンドウの分割や描画優先領域を反映させた雲台制御テーブルを示す図である。図9において、列901には図10で示したA〜Iの分割領域の情報それぞれが格納される。また、列902には、各映像ウィンドウのピクセル単位の変倍量が格納される。また、列903には、列902のピクセル単位を角度単位に換算した値が格納され、この値は前述図3で説明したように12ピクセル=1度で換算した値である。また、列904には、列903で算出された角度に応じて生成した雲台制御命令が格納され、映像ウィンドウ拡大前の雲台位置であるパン−180度、チルト+40度に、列903の値を加算した雲台制御命令が格納される。また、列905には、ステップS809で動き優先でない場合の雲台制御順序が格納される。この場合、領域A、B、C、D、E、F、G、H、I、A、B・・・のといった所定の順番で雲台制御命令を発行し、それぞれの雲台位置で撮影した映像データをそれぞれの分割領域に描画するようにする。また、列906には、ステップS809で動き優先であった場合の雲台制御順序が格納される。本例では、領域A、E、I、A、E、I、A・・・といった所定の順番で雲台制御命令を発行し、それぞれの雲台位置で撮影した映像データをそれぞれの分割領域に描画するようにする。なお、描画の対象となっていない分割領域においては、自身に対する描画の順序が回ってくるまでは、以前に描画した映像を描画しておくようにする。   FIG. 9 is a diagram showing a pan head control table reflecting the division of the video window and the drawing priority area of FIG. In FIG. 9, a column 901 stores information on the divided areas A to I shown in FIG. A column 902 stores the amount of scaling in pixel units for each video window. Further, a value obtained by converting the pixel unit of the column 902 into an angle unit is stored in the column 903, and this value is a value converted at 12 pixels = 1 degree as described above with reference to FIG. The column 904 stores the pan head control command generated in accordance with the angle calculated in the column 903. The pan head position before panning the video window is panned at -180 degrees and tilt +40 degrees. The pan head control command with the value added is stored. The column 905 stores the pan head control order when the motion is not prioritized in step S809. In this case, a pan head control command is issued in a predetermined order such as areas A, B, C, D, E, F, G, H, I, A, B. The video data is drawn in each divided area. A column 906 stores the pan head control order when priority is given to motion in step S809. In this example, pan head control commands are issued in a predetermined order such as regions A, E, I, A, E, I, A..., And video data captured at each pan head position is assigned to each divided region. Try to draw. In the divided area that is not the drawing target, the previously drawn video is drawn until the drawing order with respect to the divided area comes around.

以上のように本実施の形態では、表示装置131上の映像ウィンドウの拡大に伴い、雲台制御装置111により雲台撮影装置101を移動させ、映像ウィンドウにおける拡大された領域に対応する位置で撮影をし得るようにした。これにより、撮影画角より離れた場所にいる被写体を表示することが可能となり、また、撮影画角より離れた複数の被写体を同時に映像ウィンドウに表示することが可能となる。また、画角外の被写体に雲台位置を移動する場合は、被写体が存在する方向に映像ウィンドウを拡大すればよいので直感的な雲台制御が可能になる。また、所定の順番で映像ウィンドウにおける複数の表示領域に対応する雲台位置に雲台撮影装置101を巡回させ、それぞれの撮影位置に対応した表示領域に解像度の同じデータを描画するようにした。これにより、被写体の表示サイズを変更することなく画角を変更することが可能となる。更に、複数の表示領域の描画の優先度を設定することで、必要な映像の描画速度を向上させることが可能になる。   As described above, in the present embodiment, as the video window on the display device 131 is enlarged, the camera platform control device 111 moves the camera platform imaging device 101 and shoots at a position corresponding to the enlarged area in the video window. I was able to do it. As a result, it is possible to display a subject located at a location away from the shooting angle of view, and to simultaneously display a plurality of subjects away from the shooting angle of view in the video window. In addition, when moving the pan head position to a subject outside the angle of view, it is only necessary to enlarge the video window in the direction in which the subject exists, so intuitive pan head control becomes possible. In addition, the pan / tilt head photographing apparatus 101 is circulated to the pan / tilt head position corresponding to a plurality of display areas in the video window in a predetermined order, and data with the same resolution is drawn in the display areas corresponding to the respective photographing positions. As a result, the angle of view can be changed without changing the display size of the subject. Furthermore, by setting the drawing priority of a plurality of display areas, it becomes possible to improve the drawing speed of necessary video.

なお、本発明を実現するために、上述した実施形態の機能を実現するソフトウェアのプログラムコード(コンピュータプログラム)を記録した記憶媒体を用いても良い。この場合には記憶媒体をシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによって本発明の目的が達成される。   In order to realize the present invention, a storage medium in which a program code (computer program) of software that realizes the functions of the above-described embodiments may be used. In this case, the object of the present invention is achieved by supplying the storage medium to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)等が実際の処理の一部又は全部を行う場合も含まれることは言うまでもない。   Needless to say, the OS (basic system or operating system) running on the computer performs part or all of the actual processing based on the instruction of the program code.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれてもよい。この場合には、書き込まれたプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行ってもよい。   Furthermore, the program code read from the storage medium may be written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. In this case, based on the instruction of the written program code, the CPU or the like provided in the function expansion board or function expansion unit may perform part or all of the actual processing.

本発明の実施の形態に係る雲台撮影装置及び雲台制御装置を含むネットワークカメラシステムのシステム構成を示した図である。It is the figure which showed the system configuration | structure of the network camera system containing the pan head imaging device and pan head control apparatus which concern on embodiment of this invention. 本発明の第1の実施の形態に係るウィンドウ変倍処理を説明するフローチャートである。It is a flowchart explaining the window scaling process which concerns on the 1st Embodiment of this invention. 本発明の実施の形態において表示可能な映像データの画角、解像度と雲台の位置との関係を説明するための図である。It is a figure for demonstrating the relationship between the angle of view of the video data which can be displayed in embodiment of this invention, the resolution, and the position of a pan head. 本発明の第1の実施の形態において表示装置に表示される映像ウィンドウを示した図である。It is the figure which showed the video window displayed on a display apparatus in the 1st Embodiment of this invention. 本発明の第1の実施の形態において作成される雲台制御テーブルの一例を示した図である。It is the figure which showed an example of the pan head control table produced in the 1st Embodiment of this invention. 本発明の第1の実施の形態において分割した映像ウィンドウの一例を模式的に示した図である。It is the figure which showed typically an example of the image | video window divided | segmented in the 1st Embodiment of this invention. 本発明の第1の実施の形態において表示する映像ウィンドウの表示例を示す図である。It is a figure which shows the example of a display of the video window displayed in the 1st Embodiment of this invention. 本発明の第2の実施の形態に係る映像ウィンドウの変倍処理における雲台制御テーブル作成処理のフローチャートである。It is a flowchart of a pan head control table creation process in the scaling process of the video window according to the second embodiment of the present invention. 本発明の第2の実施の形態において作成される雲台制御テーブルの一例を示した図である。It is the figure which showed an example of the pan head control table produced in the 2nd Embodiment of this invention. 本発明の第2の実施の形態において拡大された映像ウィンドウを模式的に示した図である。It is the figure which showed typically the video window expanded in the 2nd Embodiment of this invention. 本発明の第2に実施の形態において表示する映像ウィンドウのサイズ変更のためのドラッグ方向を説明するための図である。It is a figure for demonstrating the drag direction for the size change of the video window displayed in the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

101 雲台撮影装置
102 撮影部
103 映像圧縮部
104 パン駆動部
105 チルト駆動部
106 雲台制御部
107、112 通信インタフェース
113 映像伸長部
114 表示制御部
115 ウィンドウ制御部
116 雲台制御要求部
117 入力部
118 CPU
119 RAM
120 HDD
121 マウス
131 表示装置
DESCRIPTION OF SYMBOLS 101 Pan head imaging device 102 Image pick-up part 103 Image | video compression part 104 Pan drive part 105 Tilt drive part 106 Pan head control part 107,112 Communication interface 113 Video expansion part 114 Display control part 115 Window control part 116 Pan head control request part 117 Input Part 118 CPU
119 RAM
120 HDD
121 mouse 131 display device

Claims (12)

雲台付きカメラの雲台部を制御する雲台制御方法であって、
前記雲台付きカメラの出力する映像データを映像ウィンドウに表示する映像表示工程と、
映像ウィンドウの表示サイズを変更するサイズ変更工程と、
前記サイズ変更工程によって変更された映像ウィンドウの表示サイズの変化量を検出する変化量検出工程と、
前記変化量検出工程で検出した変化量から前記雲台部を制御するための雲台位置を算出する雲台位置算出工程と、
前記雲台位置算出工程で算出した雲台位置に基づき、前記雲台部を制御する雲台位置制御工程とを有することを特徴とする雲台制御方法。
A pan head control method for controlling a pan head portion of a camera with a pan head,
A video display step of displaying video data output from the camera with a pan head on a video window;
A resizing process to change the display size of the video window;
A change amount detecting step of detecting a change amount of the display size of the video window changed by the size changing step;
A pan head position calculating step for calculating a pan head position for controlling the pan head unit from the amount of change detected in the change amount detecting step;
A pan head control method comprising: a pan head position control step of controlling the pan head portion based on the pan head position calculated in the pan head position calculating step.
前記映像表示工程は、映像ウィンドウを複数の表示領域に分割し、各々の表示領域に、前記雲台位置に対応した位置で撮影された映像を表示させることを特徴とする請求項1に記載の雲台制御方法。   2. The video display step according to claim 1, wherein the video display step divides a video window into a plurality of display areas, and displays video shot at a position corresponding to the pan head position in each display area. A pan head control method. 前記雲台位置に対応していない前記表示領域には、以前に表示した映像を表示させることを特徴とする請求項2に記載の雲台制御方法。   3. The pan head control method according to claim 2, wherein a previously displayed image is displayed in the display area that does not correspond to the pan head position. 前記雲台位置算出工程は、映像ウィンドウの表示サイズに応じて複数の雲台位置を算出し、
前記雲台位置制御工程は、前記雲台位置算出工程で算出した複数の雲台位置に基づき、所定の順番で前記雲台部を制御することを特徴とする請求項1又は3に記載の雲台制御方法。
The head position calculating step calculates a plurality of head positions according to the display size of the video window,
4. The cloud according to claim 1, wherein the pan head position control step controls the pan head unit in a predetermined order based on a plurality of pan head positions calculated in the pan head position calculating step. 5. Stand control method.
前記サイズ変更工程は、映像ウィンドウの表示サイズの変更指示を検出し、
前記変化量検出工程は、前記変更指示の検出結果に応じて前記変化量の方向を判定し、
前記雲台位置制御工程は、前記変化量の方向に応じて前記雲台位置に基づき前記雲台部を制御する順番を決定することを特徴とする請求項1又は4に記載の雲台制御方法。
The size changing step detects an instruction to change the display size of the video window,
The change amount detection step determines a direction of the change amount according to a detection result of the change instruction,
5. The pan head control method according to claim 1, wherein the pan head position control step determines an order of controlling the pan head unit based on the pan head position in accordance with the direction of the change amount. .
雲台付きカメラの雲台部を制御する雲台制御装置であって、
前記雲台付きカメラの出力する映像データを映像ウィンドウに表示する映像表示手段と、
映像ウィンドウの表示サイズを変更するサイズ変更手段と、
前記サイズ変更手段によって変更された映像ウィンドウの表示サイズの変化量を検出する変化量検出手段と、
前記変化量検出手段が検出した変化量から前記雲台部を制御するための雲台位置を算出する雲台位置算出手段と、
前記雲台位置算出手段が算出した雲台位置に基づき、前記雲台部を制御する雲台位置制御手段とを有することを特徴とする雲台制御装置。
A pan head control device for controlling a pan head portion of a camera with a pan head,
Video display means for displaying video data output from the camera with pan head on a video window;
Resizing means for changing the display size of the video window;
A change amount detecting means for detecting a change amount of the display size of the video window changed by the size changing means;
A pan head position calculating unit for calculating a pan head position for controlling the pan head unit from a change amount detected by the change amount detecting unit;
A pan head control device comprising pan head position control means for controlling the pan head unit based on the pan head position calculated by the pan head position calculating means.
前記映像表示手段は、映像ウィンドウを複数の表示領域に分割し、各々の表示領域に、前記雲台位置に対応した位置で撮影された映像を表示させることを特徴とする請求項6に記載の雲台制御装置。   The video display means divides a video window into a plurality of display areas, and displays video shot at a position corresponding to the pan head position in each display area. Pan head control device. 前記雲台位置に対応していない前記表示領域には、以前に表示した映像を表示させることを特徴とする請求項7に記載の雲台制御装置。   8. The pan head control apparatus according to claim 7, wherein a previously displayed image is displayed in the display area not corresponding to the pan head position. 前記雲台位置算出手段は、映像ウィンドウの表示サイズに応じて複数の雲台位置を算出し、
前記雲台位置制御手段は、前記雲台位置算出手段が算出した複数の雲台位置に基づき、所定の順番で前記雲台部を制御することを特徴とする請求項6又は8に記載の雲台制御装置。
The head position calculating means calculates a plurality of head positions according to the display size of the video window,
9. The cloud according to claim 6, wherein the pan head position control unit controls the pan head unit in a predetermined order based on a plurality of pan head positions calculated by the pan head position calculating unit. Stand control device.
前記サイズ変更手段は、映像ウィンドウの表示サイズの変更指示を検出し、
前記変化量検出手段は、前記変更指示の検出結果に応じて前記変化量の方向を判定し、
前記雲台位置制御手段は、前記変化量の方向に応じて前記雲台位置に基づき前記雲台部を制御する順番を決定することを特徴とする請求項6又は9に記載の雲台制御装置。
The size changing means detects an instruction to change the display size of the video window,
The change amount detection means determines a direction of the change amount according to a detection result of the change instruction,
10. The pan head control apparatus according to claim 6, wherein the pan head position control unit determines an order of controlling the pan head unit based on the pan head position in accordance with a direction of the amount of change. .
雲台付きカメラの雲台部の制御をコンピュータに実行させるためのプログラムであって、
前記雲台付きカメラの出力する映像データを映像ウィンドウに表示する映像表示ステップと、
映像ウィンドウの表示サイズを変更するサイズ変更ステップと、
前記サイズ変更ステップによって変更された映像ウィンドウの表示サイズの変化量を検出する変化量検出ステップと、
前記変化量検出ステップで検出した変化量から前記雲台部を制御するための雲台位置を算出する雲台位置算出ステップと、
前記雲台位置算出ステップで算出した雲台位置に基づき、前記雲台部を制御する雲台位置制御ステップとをコンピュータに実行させるためのプログラム。
A program for causing a computer to control the pan head of a camera with a pan head,
A video display step of displaying video data output from the camera with a pan head on a video window;
A resizing step to change the display size of the video window;
A change amount detecting step of detecting a change amount of the display size of the video window changed by the size changing step;
A camera platform position calculating step for calculating a camera platform position for controlling the camera platform from the amount of change detected in the change detection step;
A program for causing a computer to execute a pan head position control step for controlling the pan head unit based on the pan head position calculated in the pan head position calculating step.
雲台部を有する雲台付きカメラと、前記雲台部を遠隔制御する雲台制御装置とがネットワークを介して接続したネットワークカメラシステムであって、
前記雲台付きカメラの出力する映像データを受信し映像ウィンドウに表示する映像表示手段と、
映像ウィンドウの表示サイズを変更するサイズ変更手段と、
前記サイズ変更手段によって変更された映像ウィンドウの表示サイズの変化量を検出する変化量検出手段と、
前記変化量検出手段が検出した変化量から前記雲台部を制御するための雲台位置を算出する雲台位置算出手段と、
前記雲台位置算出手段が算出した雲台位置に基づき、前記雲台部を制御する雲台位置制御手段とを有することを特徴とするネットワークカメラシステム。
A network camera system in which a camera with a pan head unit and a pan head control device that remotely controls the pan head unit are connected via a network,
Video display means for receiving video data output from the camera with pan head and displaying it on a video window;
Resizing means for changing the display size of the video window;
A change amount detecting means for detecting a change amount of the display size of the video window changed by the size changing means;
A pan head position calculating unit for calculating a pan head position for controlling the pan head unit from a change amount detected by the change amount detecting unit;
A network camera system comprising: a pan head position control unit that controls the pan head unit based on the pan head position calculated by the pan head position calculating unit.
JP2008021526A 2008-01-31 2008-01-31 Camera platform control method, device, and program Pending JP2009182854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008021526A JP2009182854A (en) 2008-01-31 2008-01-31 Camera platform control method, device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008021526A JP2009182854A (en) 2008-01-31 2008-01-31 Camera platform control method, device, and program

Publications (1)

Publication Number Publication Date
JP2009182854A true JP2009182854A (en) 2009-08-13

Family

ID=41036440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008021526A Pending JP2009182854A (en) 2008-01-31 2008-01-31 Camera platform control method, device, and program

Country Status (1)

Country Link
JP (1) JP2009182854A (en)

Similar Documents

Publication Publication Date Title
CN100474893C (en) Imaging system, camera control apparatus, and panorama image generation method
JP3847753B2 (en) Image processing apparatus, image processing method, recording medium, computer program, semiconductor device
KR101739318B1 (en) Display control apparatus, imaging system, display control method, and recording medium
US20140232922A1 (en) Imaging device, display control method and program
EP0940978A2 (en) High resolution camera
JP2006148260A (en) Automatic tracking device, image abnormality detector, automatic tracking method, image abnormality detecting method, program and storage medium
JP2011142419A (en) Camera universal head system
JP6544996B2 (en) Control device and control method
JP2016096481A (en) Control apparatus, photographing system, control method, and program
US9906710B2 (en) Camera pan-tilt-zoom (PTZ) control apparatus
JP5253300B2 (en) Display control device, display device control method, program, and storage medium
CN103516978A (en) Photographing control apparatus and photographing control method
JP6608196B2 (en) Information processing apparatus and information processing method
KR101645427B1 (en) Operation method of camera apparatus through user interface
WO2017024954A1 (en) Method and device for image display
JP2006294066A (en) Image processor, image processing method, recording medium, computer program, and semiconductor device
JP2016096482A (en) Image processing apparatus, image processing method, and program
JP4834497B2 (en) Display device
JP2009182854A (en) Camera platform control method, device, and program
JP2000101992A (en) Camera control system, its method, storage medium with its program stored therein, and its client
JP5656496B2 (en) Display device and display method
KR20090028043A (en) Image photographing apparatus having function of auto conversion to selected area on display and method for automatically converting to selected area on display using the apparatus
JP6679784B2 (en) Image processing apparatus and image processing method
JP5419783B2 (en) Image reproducing apparatus and method for controlling image reproducing apparatus
JP2009141606A (en) Image processing system, video processing apparatus, and image processing method