Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4680033B2 - Monitoring system and monitoring device - Google Patents
[go: Go Back, main page]

JP4680033B2 - Monitoring system and monitoring device - Google Patents

Monitoring system and monitoring device Download PDF

Info

Publication number
JP4680033B2
JP4680033B2 JP2005318584A JP2005318584A JP4680033B2 JP 4680033 B2 JP4680033 B2 JP 4680033B2 JP 2005318584 A JP2005318584 A JP 2005318584A JP 2005318584 A JP2005318584 A JP 2005318584A JP 4680033 B2 JP4680033 B2 JP 4680033B2
Authority
JP
Japan
Prior art keywords
mask
dimensional coordinate
image
representative point
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005318584A
Other languages
Japanese (ja)
Other versions
JP2007129336A (en
Inventor
伸幸 松岡
健二 田中
健一 新房
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005318584A priority Critical patent/JP4680033B2/en
Publication of JP2007129336A publication Critical patent/JP2007129336A/en
Application granted granted Critical
Publication of JP4680033B2 publication Critical patent/JP4680033B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)

Description

この発明は、監視カメラの出力画像に含まれているプライバシー保護の必要なエリア(以下、プライバシーエリアと記載する)にマスク表示を行う監視システム及び監視装置に関するものである。   The present invention relates to a monitoring system and a monitoring apparatus that perform mask display on an area that needs privacy protection (hereinafter referred to as a privacy area) included in an output image of a monitoring camera.

監視システムに用いられている監視カメラは、パン・チルト・ズームなどの機能を有し、その撮影方向や撮影範囲を変えることができる。撮影方向等を変えたとき、監視画像の中に他の民家や社屋などのプライバシーエリアも映り込んでしまい、監視員などが監視対象と共にプライバシーエリアを見てしまうことがある。
従来の画像監視を行う装置として、上記のようなプライバシーエリアを隠すため、監視カメラを搭載している回転台の水平方向及び垂直方向としてプライバシーエリアを予めメモリコントローラへ登録しておき、監視カメラが旋回して上記の方向となったとき監視画像中のプライバシーエリアの部分に別の画像を入れるものがある(例えば、特許文献1参照)。
また、2次元の撮像画面に形成するマスクの全ての頂点座標を3次元の極座標系の座標に変換し、これをマスクデータとして記憶しておき、このマスクデータが表している全ての頂点座標を2次元の座標に変換して撮像素子から出力されている画像信号に合成し、画像の中にマスク表示を行うものがある(例えば、特許文献2参照)。
The surveillance camera used in the surveillance system has functions such as pan, tilt, and zoom, and can change the photographing direction and the photographing range. When the shooting direction or the like is changed, privacy areas such as other private houses and company buildings are also reflected in the monitoring image, and a monitor or the like may look at the privacy area together with the monitoring target.
As a conventional image monitoring device, in order to hide the privacy area as described above, the privacy area is previously registered in the memory controller as the horizontal direction and the vertical direction of the turntable on which the monitoring camera is mounted. There is one that puts another image in the portion of the privacy area in the monitoring image when it turns and becomes the above direction (see, for example, Patent Document 1).
Also, all the vertex coordinates of the mask formed on the two-dimensional imaging screen are converted into the coordinates of the three-dimensional polar coordinate system, which are stored as mask data, and all the vertex coordinates represented by this mask data are stored. Some images are converted into two-dimensional coordinates and combined with an image signal output from an image sensor, and a mask display is provided in the image (see, for example, Patent Document 2).

特開平06−181539号公報(第3頁、図1)Japanese Patent Laid-Open No. 06-181539 (page 3, FIG. 1) 特開2004−15362号公報(第9頁〜第11頁、図1〜図12)JP 2004-15362 A (pages 9 to 11, FIGS. 1 to 12)

従来の画像監視を行う装置は以上のように構成されているので、プライバシーエリアを監視カメラの水平方向及び垂直方向の角度で記憶しているため、そのエリア形状は比較的簡易な形状に限定されてマスク形状を自在に設定することが困難であった。
また、マスクデータを記憶するときの2次元座標を3次元座標へ変換する計算や、マスク表示を行うときの3次元座標を2次元座標へ変換する計算など、複雑な計算をマスクを形成する複数のもしくは全ての頂点に対して行わなければならないため、計算処理の負荷が高くなるという課題があった。
Since the conventional image monitoring apparatus is configured as described above, since the privacy area is stored at the horizontal and vertical angles of the monitoring camera, the area shape is limited to a relatively simple shape. Therefore, it was difficult to freely set the mask shape.
In addition, a plurality of complex calculations such as a calculation for converting 2D coordinates when storing mask data into 3D coordinates and a calculation for converting 3D coordinates into 2D coordinates when performing mask display are performed to form a mask. There is a problem that the load of calculation processing becomes high because it must be performed for all or all of the vertices.

この発明は上記のような課題を解決するためになされたもので、複雑な形状のマスクでも処理負荷を軽く抑えて監視画面のプライバシーエリアへ表示することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to display a display area in a privacy area of a monitoring screen while reducing a processing load even with a mask having a complicated shape.

この発明に係る監視システムは、被写体を撮影して画像信号を出力する撮影手段、この画像信号が示す画像に対するマスク範囲を設定するマスク設定信号が出力されるマスク設定手段、このマスク設定手段から出力されたマスク設定信号に基づき、マスク範囲にある代表点を所定の3次元座標空間内の3次元座標で示した3次元座標内代表点として記憶する代表点記憶手段、マスク範囲にある他の点を、所定の2次元座標平面上の2次元座標で示した2次元座標上他点情報として記憶する他点情報記憶手段、代表点記憶手段に記憶された3次元座標内代表点を、2次元座標平面上の2次元座標で示した2次元座標上代表点に変換し、変換された2次元座標上代表点と、他点情報記憶手段に記憶された2次元座標上他点情報とに基づいて、画像信号に重畳されるマスク信号を算出するマスク算出手段、このマスク算出手段で算出されたマスク信号を画像信号に重畳するマスク処理手段、このマスク処理手段でマスク信号が重畳された画像信号に基づいて画像を表示する画像表示手段を備えるものである。   The monitoring system according to the present invention includes a photographing means for photographing a subject and outputting an image signal, a mask setting means for outputting a mask setting signal for setting a mask range for an image indicated by the image signal, and an output from the mask setting means. Representative point storage means for storing a representative point in the mask range as a representative point in the three-dimensional coordinates indicated by a three-dimensional coordinate in a predetermined three-dimensional coordinate space based on the mask setting signal, and other points in the mask range Are stored as other point information on the two-dimensional coordinates indicated by the two-dimensional coordinates on the predetermined two-dimensional coordinate plane, and the representative points in the three-dimensional coordinates stored in the representative point storing means are two-dimensionally stored. Based on the converted two-dimensional coordinate representative point indicated by the two-dimensional coordinates on the coordinate plane, and the converted two-dimensional coordinate representative point and the other point information on the two-dimensional coordinate stored in the other point information storage means Image Based on the mask calculation means for calculating the mask signal superimposed on the signal, the mask processing means for superimposing the mask signal calculated by the mask calculation means on the image signal, and the image signal on which the mask signal is superimposed by the mask processing means Image display means for displaying an image is provided.

この発明に係る監視装置は、入力される画像信号が示す画像に対するマスク範囲を設定するマスク設定信号が出力されるマスク設定手段、このマスク設定手段から出力されたマスク設定信号に基づき、マスク範囲にある代表点を所定の3次元座標空間内の3次元座標で示した3次元座標内代表点として記憶する代表点記憶手段、マスク範囲にある他の点を、所定の2次元座標平面上の2次元座標で示した2次元座標上他点情報として記憶する他点情報記憶手段、代表点記憶手段に記憶された3次元座標内代表点を、2次元座標平面上の2次元座標で示した2次元座標上代表点に変換し、この変換された2次元座標上代表点と、他点情報記憶手段に記憶された2次元座標上他点情報とに基づいて、画像信号に重畳されるマスク信号を算出するマスク算出手段、このマスク算出手段で算出されたマスク信号を画像信号に重畳するマスク処理手段、このマスク処理手段でマスク信号が重畳された画像信号を出力する画像信号出力手段を備えるものである。   According to the monitoring device of the present invention, a mask setting means for outputting a mask setting signal for setting a mask range for an image indicated by an input image signal, and a mask range based on the mask setting signal output from the mask setting means. Representative point storage means for storing a representative point as a representative point in the three-dimensional coordinate indicated by a three-dimensional coordinate in a predetermined three-dimensional coordinate space, and another point in the mask range is stored on the predetermined two-dimensional coordinate plane. Other point information storage means for storing the other point information on the two-dimensional coordinates indicated by the two-dimensional coordinates, and the representative points in the three-dimensional coordinates stored in the representative point storage means are indicated by two-dimensional coordinates on the two-dimensional coordinate plane. A mask signal which is converted into a representative point on the two-dimensional coordinate and is superimposed on the image signal based on the converted representative point on the two-dimensional coordinate and the other point information on the two-dimensional coordinate stored in the other point information storage means To calculate Click calculating means, masking processing means for superimposing a mask signal calculated by the mask calculating means into image signals, those having an image signal output means for outputting an image signal which the mask signal is superimposed in the mask processing unit.

この発明によれば、撮影手段から画像信号を入力して画像にマスク範囲を設定するマスク設定手段、マスク設定手段から出力されたマスク設定信号に基づき、マスク範囲にある代表点を3次元座標内代表点として記憶する代表点記憶手段、マスク範囲にある他の点を2次元座標上他点情報として記憶する他点情報記憶手段、代表点記憶手段に記憶された3次元座標内代表点を2次元座標上代表点に変換し、この2次元座標上代表点と他点情報記憶手段に記憶された2次元座標上他点情報とに基づいて、画像信号に重畳されるマスク信号を算出するマスク算出手段、このマスク信号を画像信号に重畳するマスク処理手段、マスク信号が重畳された画像信号に基づいて画像を表示する画像信号出力手段を備えるようにしたので、処理負荷の軽い計算により複雑な形状のマスクを表示することができるという効果がある。   According to the present invention, a mask setting unit that inputs an image signal from the photographing unit and sets a mask range in the image, and a representative point in the mask range is included in the three-dimensional coordinates based on the mask setting signal output from the mask setting unit. Representative point storage means for storing as representative points, other point information storage means for storing other points in the mask range as other point information on the two-dimensional coordinates, and two representative points in the three-dimensional coordinates stored in the representative point storage means A mask for converting to a representative point on the two-dimensional coordinate and calculating a mask signal to be superimposed on the image signal based on the representative point on the two-dimensional coordinate and the other point information on the two-dimensional coordinate stored in the other point information storage means Since the calculation means, the mask processing means for superimposing the mask signal on the image signal, and the image signal output means for displaying an image based on the image signal on which the mask signal is superimposed are provided. By an effect of being able to view the mask having a complicated shape.

以下、この発明の実施の一形態を説明する。
実施の形態1.
図1は、この発明の実施の形態1による監視システムの構成を示すブロック図である。図示したシステムは、後述するように構成されている監視装置1、監視装置1に接続されているカメラ(撮影手段)2及びモニタ(画像表示手段)10、カメラ2に接続されているカメラコントローラ11によって構成されている。監視装置1は、外部のカメラ2に接続されているA/D変換部3、マスク部分の設定等の操作がなされるマスク設定入力部4、外部のカメラ2及びマスク設定入力部4に接続されているマスク設定処理部(マスク設定手段)5、マスク設定処理部5に接続されているマスク保存部(代表点記憶手段、他点情報記憶手段)6、マスク保存部6及び外部のカメラ2に接続されているマスク算出部(マスク算出手段)7、マスク算出部7及びA/D変換部3に接続されているマスク表示部(マスク処理手段)8、マスク表示部8及び外部のモニタ10に接続されているD/A変換部9によって構成されている。
カメラ2は、パン・チルト・ズーム等の動作が可能な監視カメラで、接続されているカメラコントローラ11の制御によってパン・チルト・ズームの各動作を行うように構成されている。
An embodiment of the present invention will be described below.
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a monitoring system according to Embodiment 1 of the present invention. The illustrated system includes a monitoring device 1 configured as described later, a camera (photographing means) 2 and a monitor (image display means) 10 connected to the monitoring device 1, and a camera controller 11 connected to the camera 2. It is constituted by. The monitoring device 1 is connected to an A / D conversion unit 3 connected to an external camera 2, a mask setting input unit 4 for performing operations such as setting of a mask part, an external camera 2, and a mask setting input unit 4. The mask setting processing unit (mask setting unit) 5, the mask storage unit (representative point storage unit, other point information storage unit) 6 connected to the mask setting processing unit 5, the mask storage unit 6 and the external camera 2. Connected to the mask calculation unit (mask calculation unit) 7 connected, the mask calculation unit 7 and the mask display unit (mask processing unit) 8 connected to the A / D conversion unit 3, the mask display unit 8 and the external monitor 10 The D / A converter 9 is connected.
The camera 2 is a surveillance camera capable of operations such as pan / tilt / zoom, and is configured to perform pan / tilt / zoom operations under the control of a camera controller 11 connected thereto.

次に動作について説明する。
監視装置1の動作は、マスク設定とマスク表示の2つのフェーズを有する。マスク設定のときにはマスク設定入力部4、マスク設定処理部5、及びマスク保存部6などを動作させる。また、マスク表示のときにはマスク算出部7及びマスク表示部8などを動作させる。
初めにマスク設定の動作を説明する。
マスク設定入力部4には、カメラ2に備えられている撮像素子の撮像面の大きさ、カメラ2が監視画像として出力する画像の大きさを表す画像座標の大きさ、モニタ10の画面に表示されるプライバシーエリアのマスクを成す複数の頂点の画像上の座標などの入力操作がなされる。なお、撮像素子の撮像面の大きさ、及び画像座標の大きさは通常変化することはないので、上記のマスク設定を行う前に予めマスク設定処理部5等へ入力設定しておいてもよい。また、上記の撮像素子の大きさ及び画像の大きさは、後述する撮影状態を示すデータ信号としてカメラ2から出力させ、マスク設定処理部5等へ入力するようにしてもよい。
Next, the operation will be described.
The operation of the monitoring device 1 has two phases: mask setting and mask display. At the time of mask setting, the mask setting input unit 4, the mask setting processing unit 5, the mask storage unit 6 and the like are operated. In the mask display, the mask calculation unit 7 and the mask display unit 8 are operated.
First, the mask setting operation will be described.
The mask setting input unit 4 displays on the screen of the monitor 10 the size of the image pickup surface of the image pickup element provided in the camera 2, the size of image coordinates representing the size of the image output by the camera 2 as a monitoring image. An input operation such as coordinates on the image of a plurality of vertices forming a mask of the privacy area to be performed is performed. Note that the size of the imaging surface of the image sensor and the size of the image coordinates usually do not change, and therefore may be input to the mask setting processing unit 5 or the like in advance before performing the mask setting. . In addition, the size of the image sensor and the size of the image may be output from the camera 2 as a data signal indicating a shooting state to be described later and input to the mask setting processing unit 5 or the like.

上記のマスクを成す複数の頂点の座標入力は、例えば次のように各部を動作させて行う。カメラ2を所定の向き及び焦点距離となるようにカメラコントローラ11を設定者が操作する。この状態でカメラ2が撮影した監視対象の画像信号を監視装置1のA/D変換部3へ入力する。この画像信号をA/D変換部3によってディジタル信号の画像データに変換し、これをマスク表示部8を介してD/A変換部9へ入力する。D/A変換部9によってアナログ信号に変換された画像信号をモニタ10へ入力し、上記の所定の状態でカメラ2が撮影した監視画像をモニタ10に表示させる。このときモニタ10に表示されている監視画像を設定者が見てマスク設定入力部4を操作し、当該監視画像の所望の位置の座標、即ち画像上の座標系におけるマスクの頂点の座標の入力/設定を行い、所望のマスク形状となるように頂点の座標の入力/設定を繰り返して行う。なお、上記の画像上の座標ならびに後述するカメラ2の撮像素子上の座標は2次元座標平面上の2次元座標である。
このようにマスク設定入力部4から入力された上記の設定内容は、マスク設定処理部5へ入力される。
The coordinate input of a plurality of vertices forming the mask is performed by operating each part as follows, for example. The setter operates the camera controller 11 so that the camera 2 has a predetermined orientation and focal length. In this state, the monitoring target image signal captured by the camera 2 is input to the A / D conversion unit 3 of the monitoring device 1. This image signal is converted into image data of a digital signal by the A / D conversion unit 3 and input to the D / A conversion unit 9 via the mask display unit 8. The image signal converted into an analog signal by the D / A conversion unit 9 is input to the monitor 10, and the monitor image captured by the camera 2 in the predetermined state is displayed on the monitor 10. At this time, the setting person views the monitoring image displayed on the monitor 10 and operates the mask setting input unit 4 to input the coordinates of the desired position of the monitoring image, that is, the coordinates of the vertex of the mask in the coordinate system on the image. / Set, and repeatedly input / set the coordinates of the vertices so that the desired mask shape is obtained. The coordinates on the image and the coordinates on the image sensor of the camera 2 described later are two-dimensional coordinates on a two-dimensional coordinate plane.
The above setting contents input from the mask setting input unit 4 in this way are input to the mask setting processing unit 5.

マスク設定処理部5は、マスク設定入力部4になされた操作に応じてマスクを形成する複数の頂点の中から任意の一つの頂点を代表点として選択する。代表点の画像上の座標を、カメラ2がパン・チルト・ズームの動作を行った場合でも変化しない絶対3次元座標に変換し、代表点を3次元座標空間内の3次元座標として表現する。また、2次元の画像上の座標における代表点と代表点以外の頂点の座標差を各々求める。このように代表点以外の各頂点の位置は、代表点との座標差によって表現して後述する処理に用いる。
図2は、実施の形態1による監視装置のマスク処理動作を示す説明図である。監視装置1は、例えば、画像表示を行うと図2の画像21のようになる画像信号をカメラ2から入力し、画像21に含まれている窓の部分をプライバシーエリア22として処理する。ここでは図中左上端側に示した頂点を代表点23とし、頂点24〜26を上記の代表点以外の頂点として処理する。なお、上記の絶対3次元座標の原点や座標軸は任意に定義して良い。
The mask setting processing unit 5 selects one arbitrary vertex as a representative point from among a plurality of vertices forming a mask in accordance with an operation performed on the mask setting input unit 4. The coordinates of the representative point on the image are converted into absolute three-dimensional coordinates that do not change even when the camera 2 performs pan / tilt / zoom operations, and the representative points are expressed as three-dimensional coordinates in the three-dimensional coordinate space. In addition, the coordinate difference between the representative point and the vertex other than the representative point in the coordinates on the two-dimensional image is obtained. As described above, the positions of the vertices other than the representative point are expressed by a coordinate difference from the representative point and used for processing to be described later.
FIG. 2 is an explanatory diagram showing a mask processing operation of the monitoring apparatus according to the first embodiment. For example, when the image is displayed, the monitoring device 1 inputs an image signal that looks like the image 21 in FIG. 2 from the camera 2, and processes the window portion included in the image 21 as the privacy area 22. Here, the vertex shown on the upper left side in the figure is the representative point 23, and the vertices 24-26 are processed as vertices other than the representative points. Note that the origin and coordinate axes of the absolute three-dimensional coordinates may be arbitrarily defined.

図3は、実施の形態1による監視装置の処理動作に用いる絶対3次元座標系を示す説明図である。この図は、監視対象を撮影するカメラ2に対して、それぞれ直交するx,y,zの各座標軸を設定した場合を例示したものである。ここで例示したものは、計算が容易になるように、カメラ2の向きを変えるときの回転軸の中心を当該座標系の原点とし、図中x軸中心の回転がカメラ2のチルト角を表すように、またy軸中心の回転がパン角を表すように設定している。なおカメラ2は、当該カメラ2の撮像レンズ2aの中心軸と重なる、もしくは平行になっているz軸を中心とした回転を行わない。また、図3では上記のx軸中心の回転角をα、y軸中心の回転角をβ、z軸中心の回転角をγとしている。   FIG. 3 is an explanatory diagram showing an absolute three-dimensional coordinate system used for the processing operation of the monitoring apparatus according to the first embodiment. This figure exemplifies a case where x, y, and z coordinate axes that are orthogonal to each other are set for the camera 2 that captures the monitoring target. In this example, the center of the rotation axis when changing the orientation of the camera 2 is set as the origin of the coordinate system so that the calculation is easy, and the rotation of the center of the x axis in the figure represents the tilt angle of the camera 2. Similarly, the rotation about the y-axis is set so as to represent the pan angle. The camera 2 does not rotate around the z axis that overlaps or is parallel to the central axis of the imaging lens 2a of the camera 2. In FIG. 3, the rotation angle about the x axis is α, the rotation angle about the y axis is β, and the rotation angle about the z axis is γ.

マスク設定を行うとき、前述のようにマスク設定入力部4が操作されて当該マスクを成す各頂点の画像上の座標が入力される。入力された画像上の座標のうち、一つの頂点の画像上の座標を例えば画像上の座標(xis,yis)としたとき、マスク設定処理部5は、この画像上の座標(xis,yis)を撮像素子上の座標(xs,ys)へ変換する。マスク設定入力部4から入力された画像の横方向の座標の大きさをIMG_WIDTH、画像の縦方向の座標の大きさをIMG_HEIGHT、撮像素子の横方向の大きさをDEV_WIDTH、撮像素子の縦方向の大きさをDEV_HEIGHTとしたとき、次の(1)式によって上記の座標変換を行うことができる。なお、ここでは画像上の座標の原点を画像の左上端とし、上記の一つの頂点を図3に示した代表点23としている。

Figure 0004680033
When mask setting is performed, the mask setting input unit 4 is operated as described above, and the coordinates on the image of each vertex forming the mask are input. When the coordinates on the image of one vertex among the coordinates on the input image are, for example, the coordinates (xis, yis) on the image, the mask setting processing unit 5 sets the coordinates (xis, yis) on the image. Is converted into coordinates (xs, ys) on the image sensor. The horizontal coordinate size of the image input from the mask setting input unit 4 is IMG_WIDTH, the vertical coordinate size of the image is IMG_HEIGHT, the horizontal size of the image sensor is DEV_WIDTH, and the vertical size of the image sensor is When the size is DEV_HEIGHT, the above coordinate conversion can be performed by the following equation (1). Here, the origin of the coordinates on the image is the upper left corner of the image, and the one vertex is the representative point 23 shown in FIG.
Figure 0004680033

マスク設定において、チルト角α=a、パン角β=b、焦点距離をfs、代表点23の撮像素子上の座標を(xs,ys)とすると、次の(2)式のように絶対3次元座標(xo,yo,zo)に変換することができる。なお、ここでgzは任意の値である。また、上記のチルト角α、パン角β、及び焦点距離は、カメラ2から出力されている当該カメラ2の撮影状態を示すデータ信号(以下、撮影状態データと記載する)によって表されているもので、監視装置1はこの撮影状態データをマスク設定処理部5へ入力している。

Figure 0004680033
In the mask setting, assuming that the tilt angle α = a, the pan angle β = b, the focal length is fs, and the coordinates of the representative point 23 on the image sensor are (xs, ys), the absolute 3 is obtained as in the following equation (2). It can be converted into dimensional coordinates (xo, yo, zo). Here, gz is an arbitrary value. The tilt angle α, pan angle β, and focal length are represented by data signals (hereinafter referred to as shooting state data) indicating the shooting state of the camera 2 output from the camera 2. Therefore, the monitoring device 1 inputs this photographing state data to the mask setting processing unit 5.
Figure 0004680033

(2)式に示したT(b,a,0)は、回転行列を表すもので、これを次の(3)式のように定義する。

Figure 0004680033
(3)式において、Sαはsinα、Cαはcosαを表し、Sβ、Cβ、Sγ、Cγも同様な関数を表している。 T (b, a, 0) shown in the equation (2) represents a rotation matrix and is defined as the following equation (3).
Figure 0004680033
In the equation (3), Sα represents sin α, Cα represents cos α, and Sβ, Cβ, Sγ, and Cγ represent similar functions.

実際のパン・チルト・ズームが可能なカメラ2では、回転中心であるx軸とy軸、光軸であるz軸が図3に示したように1点で交わらず、多少ずれていることが多い。しかし当該ずれに比べてカメラ2からプライバシーエリア22に該当する撮影対象までの距離は十分遠いと考えられるので、(3)式では当該ずれを無視している。   In the camera 2 capable of actual pan / tilt / zoom, the x-axis and y-axis which are the rotation centers and the z-axis which is the optical axis do not intersect at one point as shown in FIG. Many. However, since the distance from the camera 2 to the subject to be photographed corresponding to the privacy area 22 is considered to be sufficiently longer than the deviation, the deviation is ignored in the expression (3).

またマスク設定処理部5は、代表点以外の頂点24〜26の座標について前述のように座標差を求める。例えば次の(4)式に示したように、画像上の座標系において、代表点以外の頂点24の座標(xis1,yis1)と代表点の座標との差分値を求め、これを座標差(xd1,yd1)とする。

Figure 0004680033
なお、上記のような座標差を代表点以外の全ての頂点座標について求め、例えば代表点以外の頂点がn個存在する場合には座標差(xd1,yd1)〜(xdn,ydn)を求める。なお、これらの頂点座標は当該監視装置1を操作する設定者等によってマスク設定入力部4より入力されている。マスク設定処理部5は、上記のようにして求めたマスク範囲を定める代表点23の座標や代表点以外の頂点24〜26の座標を表す情報等をマスク設定信号として、マスク保存部6へ出力する。 The mask setting processing unit 5 obtains a coordinate difference as described above for the coordinates of the vertices 24 to 26 other than the representative points. For example, as shown in the following equation (4), in the coordinate system on the image, a difference value between the coordinates (xis1, ys1) of the vertex 24 other than the representative point and the coordinates of the representative point is obtained, and this is obtained as a coordinate difference ( xd1, yd1).
Figure 0004680033
The coordinate difference as described above is obtained for all vertex coordinates other than the representative point. For example, when there are n vertices other than the representative point, the coordinate differences (xd1, yd1) to (xdn, ydn) are obtained. Note that these vertex coordinates are input from the mask setting input unit 4 by a setter or the like who operates the monitoring device 1. The mask setting processing unit 5 outputs to the mask storage unit 6 information representing the coordinates of the representative point 23 that determines the mask range obtained as described above, the coordinates of the vertices 24 to 26 other than the representative point, and the like as mask setting signals. To do.

マスク保存部6は、ここまで説明したようにマスク設定処理部5が求めた代表点23の絶対3次元座標(xo,yo,zo)を3次元座標内代表点として、代表点以外の頂点の座標差(xd1,yd1)〜(xdn,ydn)を2次元座標上他点情報として、さらにこれらを求めるときに用いる焦点距離fs、撮像素子の撮像面の大きさDEV_WIDTH,DEV_HEIGHT、画像上の画像座標の大きさIMG_WIDTH,IMG_HEIGHTを記憶/保存する。
ここまでの説明がマスク設定の動作である。
As described above, the mask storage unit 6 uses the absolute three-dimensional coordinates (xo, yo, zo) of the representative points 23 obtained by the mask setting processing unit 5 as representative points in the three-dimensional coordinates, and uses the vertexes other than the representative points. The coordinate differences (xd1, yd1) to (xdn, ydn) are used as other point information on the two-dimensional coordinates, and the focal length fs used when obtaining these, the image pickup surface sizes DEV_WIDTH, DEV_HEIGHT, and the image on the image. Coordinate sizes IMG_WIDTH and IMG_HEIGHT are stored / saved.
The description so far is the mask setting operation.

次にマスク表示の動作を説明する。
カメラ2から現在の監視対象を示すアナログ信号の画像信号を入力した監視装置1は、この画像信号をA/D変換部3へ入力し、ディジタル信号の画像データへ変換する。この画像データをマスク表示部8へ入力する。また、監視装置1は、カメラ2から現在の撮影状態データを入力する。この現在の撮影状態データは前述のものと同様にパン角β、チルト角α、焦点距離等から成るもので、このデータをマスク算出部7へ入力する。
Next, the mask display operation will be described.
The monitoring apparatus 1 that receives an analog image signal indicating the current monitoring target from the camera 2 inputs the image signal to the A / D converter 3 and converts it into digital signal image data. This image data is input to the mask display unit 8. In addition, the monitoring device 1 inputs current shooting state data from the camera 2. The current shooting state data is composed of the pan angle β, the tilt angle α, the focal length, and the like as described above, and this data is input to the mask calculation unit 7.

マスク算出部7は、監視対象を撮影しているカメラ2から、上記のように当該カメラ2の現在の撮影状態データを入力し、このデータの示すパン角β、チルト角α、及び焦点距離を用いてマスクを形成する各頂点の画像上の座標を求める。
初めにマスク表示を行う現在の監視画像に対応させた代表点23の画像上の座標(xi0,yi0)を、次のようにして求める。マスク表示を行うときの、即ち監視対象を撮影している現在のカメラ2のパン角β=θ、チルト角α=φ、焦点距離をf0とし、またこのときの代表点23の撮像素子上の座標を(x0,y0)とすると、座標(x0,y0)は絶対3次元座標(xo,yo,zo)より、次の(5)式によって求めることができる。なお、gzは前述のように任意の数値である。

Figure 0004680033
(5)式のxt,ytは、次の(6)式の演算によって求められる数値である。
Figure 0004680033
The mask calculation unit 7 inputs the current shooting state data of the camera 2 from the camera 2 shooting the monitoring target as described above, and determines the pan angle β, tilt angle α, and focal length indicated by the data. The coordinates on the image of each vertex forming the mask are obtained.
First, the coordinates (xi0, yi0) on the image of the representative point 23 corresponding to the current monitoring image on which mask display is performed are obtained as follows. When performing mask display, that is, the pan angle β = θ, the tilt angle α = φ, and the focal length of the current camera 2 that is photographing the monitoring target, and the focal length is f0. If the coordinates are (x0, y0), the coordinates (x0, y0) can be obtained from the absolute three-dimensional coordinates (xo, yo, zo) by the following equation (5). Note that gz is an arbitrary numerical value as described above.
Figure 0004680033
Xt and yt in the expression (5) are numerical values obtained by the calculation of the following expression (6).
Figure 0004680033

(6)式のT’(0,−φ,−θ)は回転行列を表すもので、次の(7)式のように定義する。

Figure 0004680033
T ′ (0, −φ, −θ) in the equation (6) represents a rotation matrix and is defined as the following equation (7).
Figure 0004680033

前述の撮像素子上の座標(x0,y0)を、次の(8)式のように演算処理して画像上の座標(xi0,yi0)に変換する。

Figure 0004680033
なお、ここで用いているIMG_WIDTH、IMG_HEIGHT、DEV_WIDTH、DEV_HEIGHTは、先に説明したようにマスク保存部6に記憶/保存されているもので、マスク算出部7はこれらをマスク保存部6から入力して上記の変換処理を行う。このようにしてマスク算出部7は、マスク保存部6に記憶されている3次元座標内代表点を2次元平面上の2次元座標で示した2次元座標上代表点に変換する。 The above-described coordinates (x0, y0) on the image sensor are converted into coordinates (xi0, yi0) on the image by performing arithmetic processing as in the following equation (8).
Figure 0004680033
Note that IMG_WIDTH, IMG_HEIGHT, DEV_WIDTH, and DEV_HEIGHT used here are stored / stored in the mask storage unit 6 as described above, and the mask calculation unit 7 inputs these from the mask storage unit 6. The above conversion process is performed. In this way, the mask calculation unit 7 converts the representative point in the three-dimensional coordinate stored in the mask storage unit 6 into a representative point on the two-dimensional coordinate indicated by the two-dimensional coordinate on the two-dimensional plane.

代表点以外の頂点の画像上の座標(xi1,yi1)〜(xin,yin)は、マスク保存部6に保存されている座標差(xd1,yd1)〜(xdn,ydn)、マスク設定を行ったときの焦点距離fs、マスク表示を行うときの焦点距離f0を用いて計算され、例えば代表点以外の頂点の座標(xi1,yi1)を、次の(9)式のように求める。

Figure 0004680033
マスク算出手段7は、このように処理を行ってカメラ2が現在撮影している監視画像に対応させた代表点23の画像上の座標(xi0,yi0)、代表点以外の各頂点の画像上の座標(xi1,yi1)〜(xin,yin)を求め、即ちマスク範囲が設定された時点におけるカメラ2の撮影状態に応じて調整した2次元座標上他点情報等を求め、これらをマスク信号として出力する。 The coordinates (xi1, yi1) to (xin, yin) on the image of the vertices other than the representative points are coordinate differences (xd1, yd1) to (xdn, ydn) stored in the mask storage unit 6 and mask setting is performed. For example, the coordinates (xi1, yi1) of vertices other than the representative points are obtained as in the following equation (9).
Figure 0004680033
The mask calculation means 7 performs the processing as described above, the coordinates (xi0, yi0) on the image of the representative point 23 corresponding to the monitoring image currently captured by the camera 2, and the image of each vertex other than the representative point. Coordinates (xi1, yi1) to (xin, yin) are obtained, that is, other point information on the two-dimensional coordinates adjusted according to the photographing state of the camera 2 at the time when the mask range is set, and these are obtained as mask signals. Output as.

マスク表示部8は、代表点23の画像上の座標(xi0,yi0)と、それ以外の頂点の画像上の座標(xi1,yi1)〜(xin,yin)で形成されたマスクを、カメラ2から出力されている監視画像に重畳して、即ちA/D変換部3から入力した画像データに合成して表示画像データを生成する。
図4は、実施の形態1による監視装置の表示画像を示す説明図である。この図は、図2の画像21に示したプライバシーエリア22の部分に代表点以外の頂点が3箇所の、即ち代表点以外の頂点24〜26を有するマスク27を表示した画像21aを示したものである。マスキングを行っている部分には、例えばモザイク処理を施す、他の画像を重畳するなどの処理を行ってもよい。
マスク表示部8によって生成された表示画像データは、D/A変換部9へ入力してディジタル信号からアナログ信号に変換し、この画像信号を出力した監視装置1は、マスキングを施した監視画像をモニタ10に表示させる。
The mask display unit 8 displays a mask formed by the coordinates (xi0, yi0) on the image of the representative point 23 and the coordinates (xi1, yi1) to (xin, yin) on the other vertex images on the camera 2. The display image data is generated by superimposing it on the monitoring image output from the A / D converter, that is, by combining it with the image data input from the A / D converter 3.
FIG. 4 is an explanatory diagram showing a display image of the monitoring apparatus according to the first embodiment. This figure shows an image 21a displaying a mask 27 having three vertices other than the representative points in the privacy area 22 shown in the image 21 of FIG. 2, that is, vertices 24-26 other than the representative points. It is. For example, a mosaic process or a process of superimposing another image may be performed on the masked portion.
The display image data generated by the mask display unit 8 is input to the D / A conversion unit 9 and converted from a digital signal to an analog signal, and the monitoring device 1 that has output the image signal outputs the masked monitoring image. It is displayed on the monitor 10.

以上のように実施の形態1によれば、マスク設定を行うときにはマスク設定処理部5がマスクの複数の頂点の中から一つの代表点を定めて座標の処理を行い、また代表点以外の頂点について代表点からの座標差を求めて処理し、マスク表示を行うときにはマスク算出部7が代表点の座標と代表点以外の頂点の座標とを各々処理してマスク表示部8にマスク表示を行わせるようにしたので、処理負荷の軽い計算により複雑な形状のマスクを表示することができるという効果がある。   As described above, according to the first embodiment, when performing mask setting, the mask setting processing unit 5 determines one representative point from a plurality of vertices of the mask and performs coordinate processing. When a mask difference is obtained from the representative point and processed, and the mask display is performed, the mask calculation unit 7 processes the coordinates of the representative point and the coordinates of the vertices other than the representative point to display the mask on the mask display unit 8. Therefore, it is possible to display a mask having a complicated shape by calculation with a light processing load.

実施の形態2.
実施の形態2による監視システム及び監視装置は、実施の形態1で図1を用いて説明したものと同様に構成されている。以下の説明では、実施の形態1で説明したものと同一あるいは相当する部分に同じ符号を使用し、構成や符号の重複説明を省略する。
Embodiment 2. FIG.
The monitoring system and the monitoring device according to the second embodiment are configured in the same manner as that described in the first embodiment with reference to FIG. In the following description, the same reference numerals are used for parts that are the same as or correspond to those described in the first embodiment, and redundant descriptions of configurations and reference numerals are omitted.

次に動作について説明する。
実施の形態1による監視システム及び監視装置と同様な動作の重複説明を省略し、実施の形態2による監視システム及び監視装置の特徴となる動作を説明する。なお、実施の形態2による監視システムを構成するカメラ2、モニタ10等は、実施の形態1で説明したものと同様に動作するので、ここではその説明を省略し監視装置1の動作を主に説明する。
実施の形態2による監視装置1は、実施の形態1で説明したマスクを成す複数の頂点の座標を処理することによって当該マスクを監視画像中に表示させるものと異なり、一つの代表点とマスク形状と当該マスクの大きさとを設定することにより監視画像中にマスクを表示するものである。
Next, the operation will be described.
Description of the same operations as those of the monitoring system and the monitoring apparatus according to the first embodiment will be omitted, and operations that characterize the monitoring system and the monitoring apparatus according to the second embodiment will be described. Note that the camera 2, the monitor 10 and the like constituting the monitoring system according to the second embodiment operate in the same manner as those described in the first embodiment, and therefore, the description thereof is omitted here and the operation of the monitoring apparatus 1 is mainly performed. explain.
The monitoring apparatus 1 according to the second embodiment is different from the monitoring apparatus 1 described in the first embodiment in that the mask is displayed in the monitoring image by processing the coordinates of a plurality of vertices that form the mask. And the size of the mask are set to display the mask in the monitoring image.

図5は、実施の形態2による監視装置のマスク処理動作を示す説明図である。図示した画像31に含まれているプライバシーエリア32に、例えば円形状のマスクを設定する場合には、代表点33をプライバシーエリア32の中心となる位置に設定し、この代表点33を円の中心として半径34を設定することにより、マスクの形状ならびにその大きさを定める。
代表点を基準として、マスクの形状ならびにその大きさを定める項目内容、即ち形状や大きさを特定する条件等を表しているデータを設定することにより、三角形や四角形などの形状を表現することも可能である。ここでは上記の円形状のマスク表示を行う場合を例示して説明する。なお、この実施の形態2による監視装置1の動作も、実施の形態1による監視装置1と同様にマスク設定とマスク表示の2つのフェーズを有する。
FIG. 5 is an explanatory diagram showing a mask processing operation of the monitoring apparatus according to the second embodiment. For example, when a circular mask is set in the privacy area 32 included in the illustrated image 31, the representative point 33 is set at a position that is the center of the privacy area 32, and the representative point 33 is set at the center of the circle. By setting the radius 34 as follows, the shape and size of the mask are determined.
It is possible to express a shape such as a triangle or a quadrangle by setting data representing the shape of the mask and the item contents that determine its size, ie, conditions for specifying the shape and size, with reference to the representative point. Is possible. Here, a case where the above-described circular mask display is performed will be described as an example. Note that the operation of the monitoring apparatus 1 according to the second embodiment also has two phases of mask setting and mask display, like the monitoring apparatus 1 according to the first embodiment.

初めにマスク設定の動作を説明する。
マスク設定入力部4には、実施の形態1で説明したものと同様に例えばマスク設定者等によって、カメラ2に備えられている撮像素子の撮像面の横の大きさDEV_WIDTHと縦の大きさDEV_HEIGHT、及び画像座標の横の大きさIMG_WIDTHと縦の大きさIMG_HEIGHTの入力操作がなされる。また、円形のマスクを設定するために円の半径34の大きさと代表点33の画像上の座標の入力操作がなされる。ここでは、例えば代表点33を前述のように円の中心位置として設定する。
First, the mask setting operation will be described.
In the mask setting input unit 4, the horizontal size DEV_WIDTH and the vertical size DEV_HEIGHT of the imaging surface of the imaging device provided in the camera 2 are input to the mask setting input unit 4 by the mask setter or the like, for example, as described in the first embodiment. , And an input operation of the horizontal size IMG_WIDTH and the vertical size IMG_HEIGHT of the image coordinates. Further, in order to set a circular mask, an operation of inputting the size of the radius 34 of the circle and the coordinates of the representative point 33 on the image is performed. Here, for example, the representative point 33 is set as the center position of the circle as described above.

代表点33の画像上の座標の設定は、実施の形態1で説明したマスクの頂点の画像上の座標の設定と同様に行われ、例えば次のように各部を動作させて行われる。カメラ2を所定の向き及び焦点距離となるように、設定者がカメラコントローラ11を操作する。この状態でカメラ2が撮影した監視対象の画像信号を監視装置1のA/D変換部3へ入力する。この後、実施の形態1で説明したようにA/D変換部3、マスク表示部8、D/A変換部9、及びモニタ10を動作させ、上記の所定の撮影状態でカメラ2が撮影した監視画像をモニタ10に表示させる。設定者は、このときモニタ10に表示されている監視画像を見て、マスク設定入力部4を操作して当該監視画像の所望の位置を表す画像上の座標をマスクの代表点33の座標として入力/設定する。また、モニタ10に表示されている監視画像を見ながら、マスクが適当な大きさとなるように円の半径34の大きさを入力/設定する。
なお、上記の代表点33の画面上の座標は2次元座標である。また、撮像素子の撮像面の大きさ、及び画像座標の大きさは通常変化することはないので、上記のマスク設定を行う前に予め入力/設定しておいてもよい。
The setting of the coordinates on the image of the representative point 33 is performed in the same manner as the setting of the coordinates on the image of the vertex of the mask described in the first embodiment, and is performed by operating each unit as follows, for example. The setter operates the camera controller 11 so that the camera 2 has a predetermined orientation and focal length. In this state, the monitoring target image signal captured by the camera 2 is input to the A / D conversion unit 3 of the monitoring device 1. Thereafter, as described in the first embodiment, the A / D conversion unit 3, the mask display unit 8, the D / A conversion unit 9, and the monitor 10 are operated, and the camera 2 captures images in the predetermined shooting state. A monitoring image is displayed on the monitor 10. At this time, the setter looks at the monitoring image displayed on the monitor 10 and operates the mask setting input unit 4 to set the coordinates on the image representing the desired position of the monitoring image as the coordinates of the representative point 33 of the mask. Enter / set. Further, while watching the monitoring image displayed on the monitor 10, the size of the radius 34 of the circle is input / set so that the mask has an appropriate size.
Note that the coordinates on the screen of the representative point 33 are two-dimensional coordinates. In addition, since the size of the imaging surface of the imaging device and the size of the image coordinates do not normally change, they may be input / set in advance before performing the mask setting.

マスク設定処理部5は、マスク設定入力部4から入力された撮像素子の撮像面の大きさDEV_WIDTH,DEV_HEIGHT及び画像座標の大きさIMG_WIDTH,IMG_HEIGHT、代表点33の画像上の座標、また、このようなマスク設定の入力操作がなされているとき、カメラ2から入力した当該カメラ2の撮影状態データに表されているパン角β、チルト角α、及び焦点距離fsを用いて、当該代表点33の画像上の座標を絶対3次元座標系の座標に変換する。この変換処理は、実施の形態1で説明したものと同様に行われ、代表点33の絶対3次元座標(xo,yo,zo)を求める。
マスク保存部6は、上記のマスク設定を行ったときの焦点距離fs、撮像素子の大きさDEV_WIDTH,DEV_HEIGHT、画像座標の大きさIMG_WIDTH,IMG_HEIGHT、代表点33の絶対3次元座標(xo,yo,zo)を実施の形態1で説明したものと同様に記憶/保存する。
また、マスク保存部(マスク形状記憶手段)6には、マスク形状が円形であることを表すデータ、マスク設定時に入力された円の半径34の大きさrsを記憶する。このように実施の形態2のマスク保存部6は、マスク範囲の外延に縁取られる形状と対応するマスク形状を、換言するとマスク範囲の外延を縁取りすることによって現れる形状をマスク形状として記憶/保存する。
このようにマスク設定の動作が行われる。
The mask setting processing unit 5 receives the image pickup surface size DEV_WIDTH, DEV_HEIGHT, the image coordinate size IMG_WIDTH, IMG_HEIGHT, the coordinates of the representative point 33 on the image input from the mask setting input unit 4, and the like. When an appropriate mask setting input operation is performed, the pan angle β, the tilt angle α, and the focal length fs represented in the shooting state data of the camera 2 input from the camera 2 are used. The coordinates on the image are converted into the coordinates of the absolute three-dimensional coordinate system. This conversion process is performed in the same manner as described in the first embodiment, and the absolute three-dimensional coordinates (xo, yo, zo) of the representative point 33 are obtained.
The mask storage unit 6 includes the focal length fs when the mask is set, the image sensor size DEV_WIDTH, DEV_HEIGHT, the image coordinate size IMG_WIDTH, IMG_HEIGHT, and the absolute three-dimensional coordinates (xo, yo, zo) is stored / saved in the same manner as described in the first embodiment.
Further, the mask storage unit (mask shape storage means) 6 stores data indicating that the mask shape is circular, and the size rs of the radius 34 of the circle input at the time of mask setting. As described above, the mask storage unit 6 according to the second embodiment stores / stores the mask shape corresponding to the shape bordered by the extension of the mask range, in other words, the shape appearing by bordering the extension of the mask range as the mask shape. .
In this way, the mask setting operation is performed.

次にマスク表示の動作を説明する。
A/D変換部3、マスク算出部7、マスク表示部8、及びD/A変換部9の動作は、概ね実施の形態1で説明したものと同様なものである。詳しくは、実施の形態2によるマスク算出部7は、マスク保存部6に記憶/保存されている代表点33の絶対3次元座標(xo,yo,zo)を、実施の形態1の説明と同様に処理して、カメラ2が現在撮影している監視画像に対応させた代表点33の画像上の座標(xi0,yi0)を求める。
また、実施の形態2によるマスク算出部7は、実施の形態1で説明した代表点以外の頂点の座標処理に替えて、次に示す(10)式のような演算処理を行って、上記のカメラ2が現在撮影している監視画像に対応させた、円形状のマスクの半径rを求める。即ち、マスク範囲が設定された時点におけるカメラ2の撮影状態に応じて調整したマスク形状を求める。半径rは、前述のようにマスク保存部6に記憶/保存されているマスク設定時の円の半径rs及び焦点距離fs、またマスク表示を行う現在のカメラ2の撮影状態データに含まれている焦点距離f0を用いて求めることができる。

Figure 0004680033
このように実施の形態2によるマスク算出部7は、マスク保存部6に記憶されている3次元座標内代表点を変換して2次元平面上の2次元座標で示した2次元座標上代表点を求めると共に、マスク保存部6に記憶されているマスク形状を表す、例えば半径rs等のデータから画像信号に重畳する半径r等から成るマスク信号を算出する。 Next, the mask display operation will be described.
The operations of the A / D conversion unit 3, the mask calculation unit 7, the mask display unit 8, and the D / A conversion unit 9 are substantially the same as those described in the first embodiment. Specifically, the mask calculation unit 7 according to the second embodiment uses the absolute three-dimensional coordinates (xo, yo, zo) of the representative point 33 stored / stored in the mask storage unit 6 as in the description of the first embodiment. The coordinates (xi0, yi0) on the image of the representative point 33 corresponding to the monitoring image currently photographed by the camera 2 are obtained.
In addition, the mask calculation unit 7 according to the second embodiment performs arithmetic processing such as the following equation (10) instead of the coordinate processing of vertices other than the representative points described in the first embodiment, and performs the above processing. The radius r of the circular mask corresponding to the monitoring image currently captured by the camera 2 is obtained. That is, the mask shape adjusted according to the photographing state of the camera 2 at the time when the mask range is set is obtained. The radius r is included in the current shooting state data of the camera 2 that displays the mask, and the radius rs and the focal length fs of the circle at the time of mask setting stored / stored in the mask storage unit 6 as described above. It can be determined using the focal length f0.
Figure 0004680033
As described above, the mask calculation unit 7 according to the second embodiment converts the representative point in the three-dimensional coordinate stored in the mask storage unit 6 to represent the representative point on the two-dimensional coordinate indicated by the two-dimensional coordinate on the two-dimensional plane. And a mask signal composed of a radius r and the like to be superimposed on the image signal is calculated from data such as a radius rs representing the mask shape stored in the mask storage unit 6.

マスク表示部8は、代表点33の画像上の座標(xi0,yi0)から半径rで描かれる円の内部をマスクとして、カメラ2から出力されている画像信号の監視画像に重ね合わせる。即ち、A/D変換部3から入力した現在の監視画像を表す画像データに、画像上の座標(xi0,yi0)を円の中心とした半径rの円形状のマスクを表すデータを合成し、マスクを含む現在の監視画像を表す表示画像データを生成する。
図6は、実施の形態2による監視装置の表示画像を示す説明図である。この図は、マスク算出部7が上記説明のように円形状のマスクの半径rを求め、カメラ2が撮影した現在の監視画像に半径rのマスク35を表示した画像31aを示したものである。
マスク表示部8によって生成された表示画像データは、D/A変換部9へ入力されてディジタル信号からアナログ信号に変換され、この画像信号を出力した監視装置1は、図6に示した画像31aのようなマスキングを施した監視画像をモニタ10に表示させる。
The mask display unit 8 superimposes the inside of a circle drawn with a radius r from the coordinates (xi0, yi0) on the image of the representative point 33 on the monitoring image of the image signal output from the camera 2. That is, the image data representing the current monitoring image input from the A / D conversion unit 3 is combined with data representing a circular mask having a radius r with the coordinates (xi0, yi0) on the image as the center of the circle, Display image data representing the current monitoring image including the mask is generated.
FIG. 6 is an explanatory diagram showing a display image of the monitoring device according to the second embodiment. This figure shows an image 31a in which the mask calculator 7 calculates the radius r of the circular mask as described above, and the mask 35 having the radius r is displayed on the current monitoring image taken by the camera 2. .
The display image data generated by the mask display unit 8 is input to the D / A conversion unit 9 and converted from a digital signal to an analog signal. The monitoring apparatus 1 that has output this image signal outputs the image 31a shown in FIG. The monitor image subjected to the masking is displayed on the monitor 10.

以上のように実施の形態2によれば、マスク設定処理部5がマスクの代表点の画像上の座標を絶対3次元座標に変換し、この絶対3次元座標とカメラ2の撮影状態データとマスクの形状及びその大きさを表すデータとをマスク保存部6に記憶させておき、マスク算出部7がマスク保存部6に記憶されている各データと現在のカメラ2の撮影状態データとを用いて、現在の監視画像に対応させた代表点の画像上の座標を求め、マスク表示部8がマスク算出部7の求めた代表点の座標と、マスク保存部6に記憶されているマスクの形状及びその大きさを表すデータとを用いて、現在の監視画像にマスクを重ね合わせた表示画像データを生成するようにしたので、処理負荷の軽い計算によってマスクを表示することができるという効果がある。   As described above, according to the second embodiment, the mask setting processing unit 5 converts coordinates on the image of the representative point of the mask into absolute three-dimensional coordinates, and the absolute three-dimensional coordinates, photographing state data of the camera 2, and the mask. Is stored in the mask storage unit 6, and the mask calculation unit 7 uses each data stored in the mask storage unit 6 and the current shooting state data of the camera 2. The coordinates on the image of the representative point corresponding to the current monitoring image are obtained, the coordinates of the representative point obtained by the mask calculation unit 7 by the mask display unit 8, the shape of the mask stored in the mask storage unit 6, and Since the display image data in which the mask is superimposed on the current monitoring image is generated using the data representing the size, there is an effect that the mask can be displayed by calculation with a light processing load.

この発明の実施の形態1による監視システムの構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring system by Embodiment 1 of this invention. 実施の形態1による監視装置のマスク処理動作を示す説明図である。FIG. 6 is an explanatory diagram illustrating a mask processing operation of the monitoring device according to the first embodiment. 実施の形態1による監視装置の処理動作に用いる絶対3次元座標系を示す説明図である。FIG. 6 is an explanatory diagram showing an absolute three-dimensional coordinate system used for the processing operation of the monitoring device according to the first embodiment. 実施の形態1による監視装置の表示画像を示す説明図である。6 is an explanatory diagram illustrating a display image of the monitoring device according to Embodiment 1. FIG. 実施の形態2による監視装置のマスク処理動作を示す説明図である。It is explanatory drawing which shows the mask processing operation | movement of the monitoring apparatus by Embodiment 2. FIG. 実施の形態2による監視装置の表示画像を示す説明図である。FIG. 10 is an explanatory diagram showing a display image of a monitoring device according to a second embodiment.

符号の説明Explanation of symbols

1 監視装置、2 カメラ(撮影手段)、2a 撮像レンズ、3 A/D変換部、4 マスク設定入力部、5 マスク設定処理部(マスク設定手段)、6 マスク保存部(代表点記憶手段、他点情報記憶手段、マスク形状記憶手段)、7 マスク算出部(マスク算出手段)、8 マスク表示部(マスク処理手段)、9 D/A変換部、10モニタ(画像表示手段)、11 カメラコントローラ、21,21a 画像、22 プライバシーエリア、23 代表点、24〜26 頂点、27 マスク、31,31a 画像、32 プライバシーエリア、33 代表点、34 円の半径、35 マスク。
DESCRIPTION OF SYMBOLS 1 Monitoring apparatus, 2 Cameras (imaging means), 2a Imaging lens, 3 A / D conversion part, 4 Mask setting input part, 5 Mask setting process part (mask setting means), 6 Mask preservation | save part (representative point storage means, others) Point information storage means, mask shape storage means), 7 mask calculation section (mask calculation means), 8 mask display section (mask processing means), 9 D / A conversion section, 10 monitor (image display means), 11 camera controller, 21, 21a image, 22 privacy area, 23 representative points, 24-26 vertices, 27 masks, 31, 31a image, 32 privacy area, 33 representative points, 34 radius of circle, 35 masks.

Claims (5)

被写体を撮影して画像信号を出力する撮影手段、
この画像信号が示す画像に対するマスク範囲を設定するマスク設定信号が出力されるマスク設定手段、
このマスク設定手段から出力された上記マスク設定信号に基づき、上記マスク範囲にある代表点を所定の3次元座標空間内の3次元座標で示した3次元座標内代表点として記憶する代表点記憶手段、
上記マスク範囲にある他の点を、所定の2次元座標平面上の2次元座標で示した2次元座標上他点情報として記憶する他点情報記憶手段、
上記代表点記憶手段に記憶された上記3次元座標内代表点を、上記2次元座標平面上の2次元座標で示した2次元座標上代表点に変換し、変換された上記2次元座標上代表点と、上記他点情報記憶手段に記憶された上記2次元座標上他点情報とに基づいて、上記画像信号に重畳されるマスク信号を算出するマスク算出手段、
このマスク算出手段で算出された上記マスク信号を上記画像信号に重畳するマスク処理手段、
このマスク処理手段で上記マスク信号が重畳された上記画像信号に基づいて画像を表示する画像表示手段を備えることを特徴とする監視システム。
Photographing means for photographing a subject and outputting an image signal;
A mask setting means for outputting a mask setting signal for setting a mask range for an image indicated by the image signal;
Based on the mask setting signal output from the mask setting means, representative point storage means for storing a representative point in the mask range as a three-dimensional coordinate representative point indicated by a three-dimensional coordinate in a predetermined three-dimensional coordinate space. ,
Other point information storage means for storing other points in the mask range as other point information on the two-dimensional coordinate indicated by two-dimensional coordinates on a predetermined two-dimensional coordinate plane;
The representative point in the three-dimensional coordinate stored in the representative point storage means is converted into a representative point on the two-dimensional coordinate indicated by the two-dimensional coordinate on the two-dimensional coordinate plane, and the converted representative on the two-dimensional coordinate is converted. Mask calculation means for calculating a mask signal to be superimposed on the image signal based on the point and the other point information on the two-dimensional coordinate stored in the other point information storage means;
Mask processing means for superimposing the mask signal calculated by the mask calculation means on the image signal;
A monitoring system comprising image display means for displaying an image based on the image signal on which the mask signal is superimposed by the mask processing means.
被写体を撮影して画像信号を出力する撮影手段、
この画像信号が示す画像に対するマスク範囲を設定するマスク設定信号が出力されるマスク設定手段、
このマスク設定手段から出力された上記マスク設定信号に基づき、上記マスク範囲にある代表点を所定の3次元座標空間内の3次元座標で示した3次元座標内代表点として記憶する代表点記憶手段、
上記マスク範囲の外延に縁取られる形状と対応するマスク形状を記憶するマスク形状記憶手段、
上記代表点記憶手段に記憶された上記3次元座標内代表点を、上記2次元座標平面上の2次元座標で示した2次元座標上代表点に変換し、変換された上記2次元座標上代表点と上記マスク形状記憶手段に記憶された上記マスク形状とに基づいて、上記画像信号に重畳されるマスク信号を算出するマスク算出手段、
このマスク算出手段で算出された上記マスク信号を上記画像信号に重畳するマスク処理手段、
このマスク処理手段で上記マスク信号が重畳された上記画像信号に基づいて画像を表示する画像表示手段を備えることを特徴とする監視システム。
Photographing means for photographing a subject and outputting an image signal;
A mask setting means for outputting a mask setting signal for setting a mask range for an image indicated by the image signal;
Based on the mask setting signal output from the mask setting means, representative point storage means for storing a representative point in the mask range as a three-dimensional coordinate representative point indicated by a three-dimensional coordinate in a predetermined three-dimensional coordinate space. ,
A mask shape storage means for storing a mask shape corresponding to a shape bordered by the extension of the mask range;
The representative point in the three-dimensional coordinate stored in the representative point storage means is converted into a representative point on the two-dimensional coordinate indicated by the two-dimensional coordinate on the two-dimensional coordinate plane, and the converted representative on the two-dimensional coordinate is converted. Mask calculation means for calculating a mask signal to be superimposed on the image signal based on the points and the mask shape stored in the mask shape storage means;
Mask processing means for superimposing the mask signal calculated by the mask calculation means on the image signal;
A monitoring system comprising image display means for displaying an image based on the image signal on which the mask signal is superimposed by the mask processing means.
マスク算出手段は、2次元座標上他点情報又はマスク形状を、マスク範囲が設定された時点における撮影手段の撮影状態に応じて調整することを特徴とする請求項1又は請求項2記載の監視システム。   3. The monitoring according to claim 1, wherein the mask calculating means adjusts the other point information on the two-dimensional coordinates or the mask shape according to the photographing state of the photographing means at the time when the mask range is set. system. 入力される画像信号が示す画像に対するマスク範囲を設定するマスク設定信号が出力されるマスク設定手段、
このマスク設定手段から出力された上記マスク設定信号に基づき、上記マスク範囲にある代表点を所定の3次元座標空間内の3次元座標で示した3次元座標内代表点として記憶する代表点記憶手段、
上記マスク範囲にある他の点を、所定の2次元座標平面上の2次元座標で示した2次元座標上他点情報として記憶する他点情報記憶手段、
上記代表点記憶手段に記憶された上記3次元座標内代表点を、上記2次元座標平面上の2次元座標で示した2次元座標上代表点に変換し、変換された上記2次元座標上代表点と、上記他点情報記憶手段に記憶された上記2次元座標上他点情報とに基づいて、上記画像信号に重畳されるマスク信号を算出するマスク算出手段、
このマスク算出手段で算出された上記マスク信号を上記画像信号に重畳するマスク処理手段、
このマスク処理手段で上記マスク信号が重畳された上記画像信号を出力する画像信号出力手段を備えることを特徴とする監視装置。
A mask setting means for outputting a mask setting signal for setting a mask range for an image indicated by the input image signal;
Based on the mask setting signal output from the mask setting means, representative point storage means for storing a representative point in the mask range as a three-dimensional coordinate representative point indicated by a three-dimensional coordinate in a predetermined three-dimensional coordinate space. ,
Other point information storage means for storing other points in the mask range as other point information on the two-dimensional coordinate indicated by two-dimensional coordinates on a predetermined two-dimensional coordinate plane;
The representative point in the three-dimensional coordinate stored in the representative point storage means is converted into a representative point on the two-dimensional coordinate indicated by the two-dimensional coordinate on the two-dimensional coordinate plane, and the converted representative on the two-dimensional coordinate is converted. Mask calculation means for calculating a mask signal to be superimposed on the image signal based on the point and the other point information on the two-dimensional coordinate stored in the other point information storage means;
Mask processing means for superimposing the mask signal calculated by the mask calculation means on the image signal;
A monitoring apparatus comprising image signal output means for outputting the image signal on which the mask signal is superimposed by the mask processing means.
入力される画像信号が示す画像に対するマスク範囲を設定するマスク設定信号が出力されるマスク設定手段、
このマスク設定手段から出力された上記マスク設定信号に基づき、上記マスク範囲にある代表点を所定の3次元座標空間内の3次元座標で示した3次元座標内代表点として記憶する代表点記憶手段、
上記マスク範囲の外延に縁取られる形状と対応するマスク形状を記憶するマスク形状記憶手段、
上記代表点記憶手段に記憶された上記3次元座標内代表点を、上記2次元座標平面上の2次元座標で示した2次元座標上代表点に変換し、変換された上記2次元座標上代表点と上記マスク形状記憶手段に記憶された上記マスク形状とに基づいて、上記画像信号に重畳されるマスク信号を算出するマスク算出手段、
このマスク算出手段で算出された上記マスク信号を上記画像信号に重畳するマスク処理手段、
このマスク処理手段で上記マスク信号が重畳された上記画像信号を出力する画像信号出力手段を備えることを特徴とする監視装置。
A mask setting means for outputting a mask setting signal for setting a mask range for an image indicated by the input image signal;
Based on the mask setting signal output from the mask setting means, representative point storage means for storing a representative point in the mask range as a three-dimensional coordinate representative point indicated by a three-dimensional coordinate in a predetermined three-dimensional coordinate space. ,
A mask shape storage means for storing a mask shape corresponding to a shape bordered by the extension of the mask range;
The representative point in the three-dimensional coordinate stored in the representative point storage means is converted into a representative point on the two-dimensional coordinate indicated by the two-dimensional coordinate on the two-dimensional coordinate plane, and the converted representative on the two-dimensional coordinate is converted. Mask calculation means for calculating a mask signal to be superimposed on the image signal based on the points and the mask shape stored in the mask shape storage means;
Mask processing means for superimposing the mask signal calculated by the mask calculation means on the image signal;
A monitoring apparatus comprising image signal output means for outputting the image signal on which the mask signal is superimposed by the mask processing means.
JP2005318584A 2005-11-01 2005-11-01 Monitoring system and monitoring device Expired - Fee Related JP4680033B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005318584A JP4680033B2 (en) 2005-11-01 2005-11-01 Monitoring system and monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005318584A JP4680033B2 (en) 2005-11-01 2005-11-01 Monitoring system and monitoring device

Publications (2)

Publication Number Publication Date
JP2007129336A JP2007129336A (en) 2007-05-24
JP4680033B2 true JP4680033B2 (en) 2011-05-11

Family

ID=38151657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005318584A Expired - Fee Related JP4680033B2 (en) 2005-11-01 2005-11-01 Monitoring system and monitoring device

Country Status (1)

Country Link
JP (1) JP4680033B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5906012B2 (en) * 2010-10-21 2016-04-20 キヤノン株式会社 VIDEO DISTRIBUTION DEVICE, IMAGING DEVICE, VIDEO DISTRIBUTION SYSTEM, VIDEO DISTRIBUTION METHOD, VIDEO DISTRIBUTION PROGRAM
CN105791776B (en) 2010-10-16 2018-12-11 佳能株式会社 The sending method of server apparatus and video data
JP5791256B2 (en) 2010-10-21 2015-10-07 キヤノン株式会社 Display control apparatus and display control method
JP5812593B2 (en) 2010-10-28 2015-11-17 キヤノン株式会社 VIDEO PROCESSING DEVICE, IMAGING DEVICE, VIDEO PROCESSING METHOD, AND PROGRAM
KR101237975B1 (en) 2011-03-15 2013-02-28 삼성테크윈 주식회사 Image processing apparatus
JP5389879B2 (en) 2011-09-20 2014-01-15 株式会社日立製作所 Imaging apparatus, surveillance camera, and camera screen masking method
JP6099874B2 (en) * 2012-03-22 2017-03-22 キヤノン株式会社 Control device, processing device, control method, processing method, and program
CN110322397B (en) * 2019-06-25 2023-05-12 浙江大华技术股份有限公司 Image shielding method, server, monitoring system and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2661657B2 (en) * 1992-12-01 1997-10-08 松下情報システム株式会社 Image synthesis device
JP3388087B2 (en) * 1996-04-18 2003-03-17 松下電器産業株式会社 Object detection device
JP4600894B2 (en) * 1999-08-20 2010-12-22 パナソニック株式会社 Video signal processing device
JP3722653B2 (en) * 1999-08-31 2005-11-30 松下電器産業株式会社 Surveillance camera device and display method of surveillance camera
JP3767615B2 (en) * 2004-06-25 2006-04-19 松下電器産業株式会社 Surveillance camera device and monitoring camera display method
JP4696660B2 (en) * 2005-04-25 2011-06-08 ソニー株式会社 Image processing apparatus and surveillance camera apparatus

Also Published As

Publication number Publication date
JP2007129336A (en) 2007-05-24

Similar Documents

Publication Publication Date Title
JP6587113B2 (en) Image processing apparatus and image processing method
JP5550970B2 (en) Image generating apparatus and operation support system
KR101329470B1 (en) Image processing device, image processing method, and recording medium containing program thereof
JP5569329B2 (en) Conference system, monitoring system, image processing apparatus, image processing method, image processing program, etc.
KR102126241B1 (en) Image processing device, image processing method, program for image processing device, storage medium, and image display device
KR100719120B1 (en) Monitoring system and method for masking privacy area
KR100530119B1 (en) Omnidirectional visual system, image processing method, control program, and readable recording medium
KR101385914B1 (en) Processing target image generation device, processing target image generation method, and operation support system
JP2008254150A (en) Teaching method and teaching device of robot
JPH10221072A (en) Photogrammetry system and photogrammetry method
KR20170041636A (en) Display control apparatus, display control method, and program
JP2011223411A (en) Image generation device and operation support system
JP2014062387A (en) Periphery monitoring device for work machine
JP4680033B2 (en) Monitoring system and monitoring device
JP5093058B2 (en) How to combine robot coordinates
JP5638494B2 (en) Image generation method, image generation apparatus, and operation support system
JP5714960B2 (en) Monitoring range detector
KR20140099622A (en) Robot localization detecting system using a multi-view image and method thereof
KR101766711B1 (en) Covering object transparent display device, method and system using multiple cameras
WO2015111262A1 (en) Image generation device and operation assistance system
JP7346436B2 (en) Surrounding monitoring device and surrounding monitoring method
JP6712358B2 (en) Image processing device, camera device, and image processing method
JP6302622B2 (en) Perimeter monitoring equipment for work machines
JP6579706B2 (en) Image processing apparatus, image processing method, and image processing program
JP6295026B2 (en) Excavator

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071003

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080625

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101228

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110125

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110202

R150 Certificate of patent or registration of utility model

Ref document number: 4680033

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees