JP2003255442A - Monitoring device, monitoring method and monitoring program - Google Patents

Monitoring device, monitoring method and monitoring program

Info

Publication number
JP2003255442A
JP2003255442A JP2002054567A JP2002054567A JP2003255442A JP 2003255442 A JP2003255442 A JP 2003255442A JP 2002054567 A JP2002054567 A JP 2002054567A JP 2002054567 A JP2002054567 A JP 2002054567A JP 2003255442 A JP2003255442 A JP 2003255442A
Authority
JP
Japan
Prior art keywords
area
monitoring
image
command
photographing
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
JP2002054567A
Other languages
Japanese (ja)
Inventor
Yuichi Kawakami
雄一 川上
Tomoyuki Terada
知之 寺田
Kyoko Nakamura
恭子 中村
Ken Yoshii
謙 吉井
Yasuhisa Kanefuji
靖尚 金藤
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.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2002054567A priority Critical patent/JP2003255442A/en
Priority to US10/375,616 priority patent/US7257235B2/en
Publication of JP2003255442A publication Critical patent/JP2003255442A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To improve the accuracy of finding an object. <P>SOLUTION: A monitoring device is provided with a camera head capable of photographing a plurality of monitoring areas, a detection means for executing a color extraction image processing, a time difference image processing and a background difference image processing so as to detect a monitoring object on the basis of images obtained by performing photographing by the camera head, a command reception means (S01) for receiving a command for remote control, and a command execution means (S03) for executing a processing corresponding to the received remote control command on condition that the object is not detected by the detection means (NO in S02). <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、監視装置、監視
方法および監視プログラムに関し、特に、監視するべき
領域に侵入した物体を発見および追尾する監視装置、監
視方法および監視プログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a surveillance device, a surveillance method and a surveillance program, and more particularly to a surveillance device, a surveillance method and a surveillance program for finding and tracking an object invading an area to be monitored.

【0002】[0002]

【従来の技術】従来、監視するべき領域に侵入した物体
(人物を含む)を発見するための監視装置が知られてい
る。従来の監視装置は、監視するべき領域を撮影して得
られた画像を処理することで、監視領域に侵入した物体
を検出(発見)するようにしている。この種の監視装置
では、侵入した物体を発見する処理と、発見された物体
が撮影領域内に収まるようにカメラの撮影方向を変更し
ながら撮影する追尾処理とが行なわれる。
2. Description of the Related Art Conventionally, a monitoring device for finding an object (including a person) invading an area to be monitored is known. A conventional monitoring device detects (discovers) an object that has entered the monitoring area by processing an image obtained by photographing the area to be monitored. In this type of monitoring device, a process of finding an intruding object and a tracking process of shooting while changing the shooting direction of the camera so that the found object fits within the shooting area are performed.

【0003】また、このような監視装置は、ユーザが監
視装置が設置された家から離れた外出先から、監視装置
を遠隔制御できるようになっている。たとえば、外出先
から携帯用の情報端末を監視装置と公衆回線を介して接
続し、所定の遠隔操作コマンドを監視装置に送信するこ
とにより、情報端末から監視装置を制御することが可能
である。このように監視装置を遠隔制御することによ
り、監視装置で撮影された家の中の様子を外出先で見る
ことができる。
In such a monitoring device, a user can remotely control the monitoring device from a place away from the house where the monitoring device is installed. For example, it is possible to control the monitoring device from the information terminal by connecting a portable information terminal to a monitoring device from a destination via a public line and transmitting a predetermined remote control command to the monitoring device. By remotely controlling the monitoring device in this manner, the state of the house photographed by the monitoring device can be viewed on the go.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
監視装置では、監視装置が監視領域に侵入した物体を発
見する動作、発見した物体を追尾する動作、発見した物
体を撮影した画像を記録する動作、発見した物体を詳細
に撮影する動作などが行われる。この監視動作の最中
に、監視装置と接続された情報端末から遠隔操作コマン
ドを受信した場合にも、遠隔操作コマンドを実行するよ
うになされていた。
However, in the conventional surveillance device, the surveillance device discovers an object that has entered the surveillance area, tracks the discovered object, and records an image of the discovered object. , An operation of photographing the discovered object in detail is performed. During the monitoring operation, the remote operation command is executed even when the remote operation command is received from the information terminal connected to the monitoring device.

【0005】このため、監視装置で物体を発見して画像
を記録している最中に、遠隔操作コマンドを受け付ける
ことにより、記録が中止されて重要な情報が記録されな
くなってしまうといった問題があった。
Therefore, when a remote control command is received while an object is found by the surveillance device and an image is being recorded, the recording is stopped and important information is no longer recorded. It was

【0006】この発明は上述の問題点を解決するために
なされたもので、この発明の目的の1つは、監視動作を
確実に実行可能な監視装置、監視方法および監視プログ
ラムを提供することである。
The present invention has been made to solve the above-mentioned problems, and one of the objects of the present invention is to provide a monitoring device, a monitoring method, and a monitoring program capable of reliably executing a monitoring operation. is there.

【0007】[0007]

【課題を解決するための手段】上述の目的を達成するた
めにこの発明のある局面によれば、監視装置は、複数の
撮影領域を撮影可能な撮影手段と、撮影手段により撮影
して得られた画像に基づいて監視対象物体を検出するた
めの検出手段と、遠隔制御するためのコマンドを受信す
るコマンド受信手段と、検出手段による物体の検出がさ
れていないことを条件に、受信したコマンドに対応する
処理を実行するコマンド実行手段とを備える。
According to one aspect of the present invention for achieving the above object, a monitoring device is obtained by photographing with a photographing means capable of photographing a plurality of photographing areas, and by photographing with the photographing means. The detection means for detecting the object to be monitored based on the image, the command receiving means for receiving the command for remote control, and the command received on the condition that the detection means has not detected the object Command execution means for executing the corresponding processing.

【0008】この発明に従えば、遠隔制御するためのコ
マンドが受信された場合、撮影して得られた画像に基づ
いて物体が検出されていないことを条件に、受信したコ
マンドに対応する処理が実行される。このため、物体が
検出された場合には、受信したコマンドに対応する処理
が実行されないので、物体の検出を継続して実行するこ
とができる。その結果、監視動作を確実に実行可能な監
視装置を提供することができる。
According to the present invention, when the command for remote control is received, the process corresponding to the received command is performed on condition that the object is not detected based on the image obtained by photographing. To be executed. Therefore, when the object is detected, the process corresponding to the received command is not executed, and thus the object can be continuously detected. As a result, it is possible to provide a monitoring device that can reliably execute the monitoring operation.

【0009】好ましくは、物体が撮影手段により撮影さ
れている範囲に含まれるように撮影手段を制御する追尾
手段をさらに備え、コマンド実行手段は、追尾手段によ
り撮影手段が制御されていないことを条件に、受信した
コマンドに対応する処理を実行する。
Preferably, the apparatus further comprises tracking means for controlling the photographing means so that the object is included in the range photographed by the photographing means, and the command executing means is conditioned that the photographing means is not controlled by the tracking means. Then, the process corresponding to the received command is executed.

【0010】この発明に従えば、コマンド受信手段でコ
マンドが受信された場合、撮影されている範囲に物体が
含まれるように撮影手段が制御されていないことを条件
に、受信したコマンドに対応する処理が実行される。こ
のため、撮影されている範囲に物体が含まれるように撮
影手段が制御されている場合には、受信したコマンドに
対応する処理が実行されないので、撮影されている範囲
に物体が含まれるように撮影手段を継続して制御するこ
とができる。その結果、監視動作を確実に実行可能な監
視装置を提供することができる。
According to the present invention, when the command is received by the command receiving means, the received command is dealt with on condition that the photographing means is not controlled so that the object is included in the photographed range. The process is executed. Therefore, when the image capturing unit is controlled such that the object is included in the imaged range, the process corresponding to the received command is not executed, so that the object is included in the imaged range. The photographing means can be continuously controlled. As a result, it is possible to provide a monitoring device that can reliably execute the monitoring operation.

【0011】好ましくは、検出手段により物体が検出さ
れた場合に、物体を拡大して画像中に含めるように撮像
手段の画角を変更する注視制御手段をさらに備え、コマ
ンド実行手段は、注視制御手段により撮像手段が制御さ
れていないことを条件に、受信したコマンドに対応する
処理を実行する。
Preferably, when the detecting means detects an object, the command executing means further comprises gaze control means for changing the angle of view of the image pickup means so as to enlarge the object and include it in the image. The processing corresponding to the received command is executed on condition that the imaging means is not controlled by the means.

【0012】この発明に従えば、コマンド受信手段でコ
マンドを受信した場合、変化領域を拡大して画像中に含
めるように撮像手段が制御されていないことを条件に、
受信したコマンドに対応する処理を実行する。このた
め、物体を拡大して画像中に含めるように撮像手段が制
御されている場合には、受信したコマンドに対応する処
理が実行されないので、物体を拡大して画像中に含める
ように撮像手段を継続して制御することができる。その
結果、監視動作を確実に実行可能な監視装置を提供する
ことができる。
According to the invention, when the command receiving means receives the command, the image pickup means is not controlled so as to enlarge the change area and include it in the image.
The process corresponding to the received command is executed. Therefore, when the image pickup unit is controlled so as to magnify the object and include it in the image, the process corresponding to the received command is not executed. Can be controlled continuously. As a result, it is possible to provide a monitoring device that can reliably execute the monitoring operation.

【0013】この発明の他の局面によれば、監視方法
は、複数の撮影領域を撮影可能な撮影手段を備えた監視
装置で実行する監視方法であって、撮影手段により撮影
して得られた画像に基づいて監視対象物体を検出するス
テップと、遠隔制御するためのコマンドを受信するステ
ップと、検出ステップにより変化領域の検出がされてい
ないことを条件に、受信したコマンドに対応する処理を
実行するステップとを含む。
According to another aspect of the present invention, a monitoring method is a monitoring method executed by a monitoring device having a photographing means capable of photographing a plurality of photographing areas, and is obtained by photographing with the photographing means. Executes the processing corresponding to the received command, on the condition that the monitored object is detected based on the image, the command for remote control is received, and the change area is not detected by the detection step. And a step of performing.

【0014】この発明に従えば、遠隔制御するためのコ
マンドが受信された場合、撮影して得られた画像に基づ
いて監視対象物体が検出されていないことを条件に、受
信したコマンドに対応する処理が実行される。このた
め、物体が検出された場合には、受信したコマンドに対
応する処理が実行されないので、物体の検出を継続して
実行することができる。その結果、監視動作を確実に実
行可能な監視方法を提供することができる。
According to the present invention, when a command for remote control is received, the command is received, provided that the object to be monitored is not detected based on the image obtained by photographing. The process is executed. Therefore, when the object is detected, the process corresponding to the received command is not executed, and thus the object can be continuously detected. As a result, it is possible to provide a monitoring method capable of reliably executing the monitoring operation.

【0015】この発明のさらに他の局面によれば、監視
プログラムは、複数の撮影領域を撮影可能な撮影手段を
備えた監視装置で実行する監視プログラムであって、撮
影手段により撮影して得られた画像に基づいて監視対象
物体を検出するステップと、遠隔制御するためのコマン
ドを受信するステップと、検出ステップにより物体の検
出がされていないことを条件に、受信したコマンドに対
応する処理を実行するステップとを監視装置に実行させ
る。
According to still another aspect of the present invention, the monitoring program is a monitoring program executed by a monitoring device equipped with a photographing means capable of photographing a plurality of photographing areas, and is obtained by photographing with the photographing means. Detecting an object to be monitored based on the captured image, receiving a command for remote control, and executing the process corresponding to the received command, provided that no object is detected by the detecting step. And a monitoring device.

【0016】この発明に従えば、遠隔制御するためのコ
マンドが受信された場合、撮影して得られた画像に基づ
いて監視対象物体が検出されていないことを条件に、受
信したコマンドに対応する処理が実行される。このた
め、変化領域が検出された場合には、受信したコマンド
に対応する処理が実行されないので、変化領域の検出を
継続して実行することができる。その結果、監視動作を
確実に実行可能な監視プログラムを提供することができ
る。
According to the present invention, when the command for remote control is received, the command is received, provided that the object to be monitored is not detected based on the image obtained by photographing. The process is executed. Therefore, when the change area is detected, the process corresponding to the received command is not executed, and thus the change area can be continuously detected. As a result, it is possible to provide a monitoring program capable of reliably executing the monitoring operation.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。以下の説明では、同一の部
品および構成要素には同一の符号を付してある。それら
の名称および機能も同じである。したがってそれらにつ
いての詳細な説明は繰返さない。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. In the following description, the same parts and components are designated by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

【0018】図1は、本発明の実施の形態の1つにおけ
る監視装置の概略構成を示す図である。図1を参照し
て、監視装置100は、カメラヘッド120と、コント
ロールボックス101とから構成される。カメラヘッド
120は、撮影可能な範囲を撮影して画像を出力する電
荷結合素子(CCD)と、カメラの撮影方向を水平方向
および垂直方向に変更するためのパン・ティルト駆動機
構121と、撮影倍率を調整するズーム駆動機構122
と、レンズ123とを含む。
FIG. 1 is a diagram showing a schematic configuration of a monitoring device according to one of the embodiments of the present invention. With reference to FIG. 1, the monitoring device 100 includes a camera head 120 and a control box 101. The camera head 120 includes a charge-coupled device (CCD) that captures a photographable range and outputs an image, a pan / tilt drive mechanism 121 for changing the photographing direction of the camera horizontally and vertically, and a photographing magnification. Drive mechanism 122 for adjusting
And a lens 123.

【0019】コントロールボックス101は、監視装置
100の全体を制御するための中央演算装置(CPU)
102と、カメラヘッド120のCCDが出力する画像
を取込むための画像入力部103と、取込まれた画像を
処理するための画像処理部105と、取込まれた画像ま
たは画像処理部105で処理された画像を保存するため
の画像記録部104と、CPU102からの指示により
カメラヘッド102のパン・ティルト駆動機構121お
よびズーム駆動機構122とを制御するためのPTZ
(Pan-Tilt-Zoom)制御部106と、時計を内蔵して時
刻情報をCPU102に提供するタイマ108と、外部
の情報通信端末やパーソナルコンピュータなどとローカ
ルエリアネットワーク(LAN)130を介して通信す
るための外部通信部107と、記録媒体140に記録さ
れたプログラムやデータ等を読込み、または、記録媒体
140に必要なデータを書込むための外部記憶装置10
9とを含む。
The control box 101 is a central processing unit (CPU) for controlling the entire monitoring device 100.
102, an image input unit 103 for capturing an image output from the CCD of the camera head 120, an image processing unit 105 for processing the captured image, and a captured image or image processing unit 105. An image recording unit 104 for storing the processed image, and a PTZ for controlling the pan / tilt drive mechanism 121 and the zoom drive mechanism 122 of the camera head 102 according to an instruction from the CPU 102.
(Pan-Tilt-Zoom) control unit 106, timer 108 that has a clock built therein to provide time information to CPU 102, and communicates with an external information communication terminal or personal computer via a local area network (LAN) 130. And an external storage device 10 for reading a program or data recorded in the recording medium 140 or writing necessary data in the recording medium 140.
9 and 9 are included.

【0020】CPU102は、予め内部に記憶している
プログラムを実行することにより、後述する監視処理を
実行する。
The CPU 102 executes a monitoring process which will be described later by executing a program stored inside beforehand.

【0021】画像入力部103は、カメラヘッド120
のCCDが出力する画像を受信し、画像記憶部104に
送信する。
The image input section 103 includes a camera head 120.
The image output by the CCD is received and transmitted to the image storage unit 104.

【0022】画像記録部104では、画像入力部103
より受信する動画像を記録したり、静止画像を記録する
ことが可能である。画像記録部104は、リングバッフ
ァであり、画像入力部103で入力された動画像を記録
する場合には、現在の画像入力部103で受取られた画
像から所定の期間遡った時間までの画像を記録すること
が可能である。画像記録部104は、後述する、背景画
像も記録する。
In the image recording unit 104, the image input unit 103
It is possible to record a moving image to be received or a still image. The image recording unit 104 is a ring buffer. When recording a moving image input by the image input unit 103, the image recording unit 104 displays images from a current image received by the image input unit 103 up to a time that is a predetermined period back. It is possible to record. The image recording unit 104 also records a background image, which will be described later.

【0023】PTZ制御部106は、CPU102から
の指示により、カメラヘッド120のパン・ティルト駆
動機構121およびズーム駆動機構122を制御するこ
とにより、レンズ123で撮影する方向と、レンズ12
3の撮影倍率とを変更させる。カメラヘッド120の画
角は、レンズ123で撮影する方向と、レンズ123の
撮影倍率とにより定まる。したがって、PTZ制御部1
06は、カメラヘッド120の画角を制御する。
The PTZ control unit 106 controls the pan / tilt drive mechanism 121 and the zoom drive mechanism 122 of the camera head 120 in accordance with an instruction from the CPU 102, thereby causing the lens 123 to take an image and the lens 12.
The photographing magnification of 3 is changed. The angle of view of the camera head 120 is determined by the shooting direction of the lens 123 and the shooting magnification of the lens 123. Therefore, the PTZ control unit 1
06 controls the angle of view of the camera head 120.

【0024】記憶装置109は、CPU102からの指
示により、コンピュータ読取可能な記録媒体140に記
録されたプログラムやデータを読取ったり、監視装置1
00に対して後述する遠隔操作により設定される設定値
等の必要な情報を書込む。
The storage device 109 reads a program or data recorded in a computer-readable recording medium 140 according to an instruction from the CPU 102, and the monitoring device 1
For 00, necessary information such as a set value set by a remote operation described later is written.

【0025】コンピュータ読取可能な記録媒体140と
しては、磁気テープやカセットテープ、磁気ディスク、
光ディスク(CD−ROM/MO/MD/DVD等)、
ICカード(メモリカードを含む)、光カード、マスク
ROM、EPROM、EEPROM、フラッシュメモリ
などの半導体メモリ等の固定的にプログラムを担持する
媒体である。また、記録媒体140をネットワークから
プログラムがダウンロードされるように流動的にプログ
ラムを担持する記録媒体とすることもできる。
The computer-readable recording medium 140 includes a magnetic tape, a cassette tape, a magnetic disk,
Optical disc (CD-ROM / MO / MD / DVD, etc.),
It is a medium that fixedly carries a program, such as an IC card (including a memory card), an optical card, a mask ROM, an EPROM, an EEPROM, and a semiconductor memory such as a flash memory. Further, the recording medium 140 may be a recording medium that fluidly carries the program so that the program may be downloaded from a network.

【0026】ここでいうプログラムとは、CPU102
により直接実行可能なプログラムだけでなく、ソースプ
ログラム形式のプログラム、圧縮処理されたプログラ
ム、暗号化されたプログラム等を含む概念である。
The program mentioned here means the CPU 102.
Is a concept that includes not only a program that can be directly executed by, but also a program in a source program format, a compressed program, an encrypted program, and the like.

【0027】外部通信部107は、LAN130と接続
されている。このため、LAN130に接続されたパー
ソナルコンピュータ(PC)131とCPU102との
間で通信が可能となっている。これにより、PC131
のユーザは、カメラヘッド120を遠隔操作することが
可能である。また、PC131のユーザは、カメラヘッ
ド120を遠隔操作することにより、カメラヘッド12
0で撮影された画像をPC131のディスプレイで見る
ことができる。さらに、監視装置100が監視動作を行
なう場合に必要な設定情報を、PC131から入力する
ことができる。このようにして、設定された設定値は記
憶装置109に記憶される。
The external communication section 107 is connected to the LAN 130. Therefore, the personal computer (PC) 131 connected to the LAN 130 and the CPU 102 can communicate with each other. This allows PC131
The user of can operate the camera head 120 remotely. In addition, the user of the PC 131 can remotely operate the camera head 120 to operate the camera head 12
The image taken at 0 can be viewed on the display of the PC 131. Furthermore, the setting information required when the monitoring device 100 performs the monitoring operation can be input from the PC 131. The setting value thus set is stored in the storage device 109.

【0028】PC131に代えて、LAN130とイン
ターネット132を経由して接続されたPC133、携
帯電話またはPDA134からも、同様に、監視装置1
00を遠隔操作することができる。
Similarly to the PC 131, instead of the PC 133, the mobile phone or the PDA 134 connected via the LAN 130 and the Internet 132, the monitoring device 1 is also provided.
00 can be operated remotely.

【0029】なお、外部通信部107をLAN130と
接続する例を示したが、外部通信部107は、モデムを
経由して一般公衆回線に接続するようにしてもよい。こ
の場合、一般公衆回線に接続された他のPCから、監視
装置100を遠隔操作することが可能となる。
Although the example in which the external communication unit 107 is connected to the LAN 130 is shown, the external communication unit 107 may be connected to a general public line via a modem. In this case, the monitoring device 100 can be remotely operated from another PC connected to the general public line.

【0030】外部通信部107は、監視装置100を使
用する者を制限するために、ユーザIDやパスワードを
用いた認証処理を行なうようにしている。これにより、
監視装置100を遠隔操作することのできる権限を有す
る者のみが、監視装置100を遠隔操作することが可能
となる。
The external communication section 107 is adapted to perform an authentication process using a user ID and a password in order to limit the users who use the monitoring apparatus 100. This allows
Only a person who has the authority to remotely operate the monitoring device 100 can remotely operate the monitoring device 100.

【0031】次に、本実施の形態における監視装置10
0で行われる遠隔操作について、図2、図3、図4およ
び図5を用いて説明する。図2は、本実施の形態におけ
る監視装置100で実行される遠隔操作処理の流れを示
すフローチャートである。図3は、本実施の形態におけ
る監視装置で実行される設定処理の流れを示すフローチ
ャートである。図4は、監視装置100が出力する遠隔
制御画面の一例を示す図である。図5は、監視装置10
0が出力するモード設定画面の一例を示す図である。こ
こでは、LAN130に接続されたPC131を用いて
監視装置100を遠隔操作する場合を例に説明する。
Next, the monitoring device 10 according to the present embodiment.
The remote operation performed at 0 will be described with reference to FIGS. 2, 3, 4, and 5. FIG. 2 is a flowchart showing the flow of remote operation processing executed by monitoring device 100 according to the present embodiment. FIG. 3 is a flowchart showing a flow of setting processing executed by the monitoring device according to the present embodiment. FIG. 4 is a diagram showing an example of a remote control screen output by the monitoring device 100. FIG. 5 shows the monitoring device 10.
It is a figure which shows an example of the mode setting screen which 0 outputs. Here, a case where the monitoring apparatus 100 is remotely operated using the PC 131 connected to the LAN 130 will be described as an example.

【0032】図2を参照して、遠隔操作処理は、遠隔操
作コマンドを受信した場合に割込が発生することにより
実行される(ステップS01)。遠隔操作コマンドを受
信した場合には、割込が発生し、ステップS02へ進
む。遠隔操作コマンドを受信しない場合には、割込が発
生せず遠隔操作処理は実行されない。遠隔操作コマンド
は、外部通信部107により受信される。ここでは、外
部通信部107とLAN130を介して接続されたPC
131から、遠隔操作コマンドが送信された場合につい
て説明する。PC131と外部通信部107とがLAN
130を介して接続される。監視装置100をウェブサ
ーバとし、PC131でブラウザソフトウェアを起動し
たクライアントとした、サーバクライアントシステムで
構成するようにしてもよい。
Referring to FIG. 2, the remote operation process is executed when an interrupt occurs when a remote operation command is received (step S01). When the remote control command is received, an interrupt occurs and the process proceeds to step S02. If the remote control command is not received, no interrupt is generated and the remote control process is not executed. The remote control command is received by the external communication unit 107. Here, a PC connected to the external communication unit 107 via the LAN 130.
A case where a remote control command is transmitted from 131 will be described. PC 131 and external communication unit 107 are LAN
Connected via 130. The monitoring apparatus 100 may be a web server, and a server client system may be used in which the PC 131 is a client that starts browser software.

【0033】ステップS02では、監視装置100にお
いて現在実行している処理が、発見処理、注視処理あよ
び追尾処理のいずれかであるのかが判断される。発見処
理、注視処理および追尾処理のいずれかである場合には
ステップS01へ戻り、そうでない状態の場合にはステ
ップS03へ進む。
In step S02, it is determined whether the process currently being executed by the monitoring device 100 is a discovery process, a gaze process, or a tracking process. If any of the finding process, the gaze process, and the tracking process is performed, the process returns to step S01, and if not, the process proceeds to step S03.

【0034】これにより、遠隔操作コマンドを受信した
場合であっても、監視装置100が、発見処理、注視処
理および追尾処理のいずれかをしている場合には、遠隔
操作コマンドに基づく処理は実行されず、現在行なって
いる処理が継続して行なわれる。このため発見処理、注
視処理または追尾処理のいずれかが実行されている場合
に、遠隔操作コマンドを受信したとしても、発見処理、
注視処理または追尾処理のいずれも中止されることがな
いので、発見処理、注視処理または追尾処理を最後まで
実行することができる。その結果、監視領域に進入者の
侵入など変化が生じたときに、確実に進入者の発見、注
視および追尾を行うことができる。
As a result, even if the remote control command is received, if the monitoring device 100 is performing any of the discovery process, the gaze process, and the tracking process, the process based on the remote control command is executed. However, the processing currently being performed is continuously performed. Therefore, if any of the discovery process, the gaze process, or the tracking process is executed, even if the remote operation command is received, the discovery process,
Since neither the gaze process nor the tracking process is stopped, the discovery process, the gaze process, or the tracking process can be executed to the end. As a result, when a change such as an intruder's invasion occurs in the monitoring area, it is possible to reliably detect, gaze, and track the intruder.

【0035】なお、遠隔操作コマンドを受信したとき
に、発見処理、注視処理および追尾処理のいずれかを実
行していれば、遠隔操作コマンドに基づく処理を実行し
ないようにしたが、発見処理、注視処理または追尾処理
の実行中は遠隔操作コマンドの受信を拒否するように構
成してもよい。
If any of the discovery process, the gaze process, and the tracking process is executed when the remote operation command is received, the process based on the remote operation command is not executed. The reception of the remote control command may be rejected during the execution of the processing or the tracking processing.

【0036】ステップS03では、監視装置100は、
図4に示す遠隔制御画面200をPC131へ送信す
る。図4を参照して、遠隔制御画面200は、ウェブペ
ージであり、PC131のブラウザソフトウエアで受信
されて閲覧される。図4を参照して、遠隔制御画面20
0は、カメラヘッド120のCCDで撮影されて出力さ
れる画像を表示するための領域201と、監視領域を編
集するための画面を呼出す監視領域編集ボタン202
と、カメラヘッド120のパン・ティルト駆動機構12
1を制御する遠隔制御コマンドを送信するためのボタン
203A,203B,204A,204Bと、ズーム駆
動機構122を制御する遠隔制御コマンドを送信するた
めのボタン205A,205Bとを含む。
In step S03, the monitoring device 100
The remote control screen 200 shown in FIG. 4 is transmitted to the PC 131. Referring to FIG. 4, remote control screen 200 is a web page, which is received and viewed by the browser software of PC 131. Referring to FIG. 4, remote control screen 20
Reference numeral 0 indicates an area 201 for displaying an image captured and output by the CCD of the camera head 120, and a monitor area edit button 202 for calling a screen for editing the monitor area.
And the pan / tilt drive mechanism 12 of the camera head 120
1 includes buttons 203A, 203B, 204A, 204B for transmitting a remote control command, and buttons 205A, 205B for transmitting a remote control command for controlling the zoom drive mechanism 122.

【0037】パンボタン203A,203Bは、カメラ
ヘッド120の撮影方向を水平方向に決定するための送
信ボタンである。パンボタン203Aをマウス等のポイ
ンタで指示することにより遠隔制御コマンドが監視装置
100に送信されて、PTZ制御部106によりパン・
ティルト駆動機構121が制御され、レンズ123の撮
影方向が左方向に移動する。また、パンボタン203B
をマウス等のポインタで指示することにより遠隔制御コ
マンドが監視装置100に送信されて、PTZ制御部1
06によりパン・ティルト駆動機構121が制御され、
レンズ123の撮影方向が右方向に移動する。
The pan buttons 203A and 203B are transmission buttons for determining the shooting direction of the camera head 120 in the horizontal direction. By pointing the pan button 203A with a pointer such as a mouse, a remote control command is transmitted to the monitoring device 100, and the PTZ control unit 106 pans / pans.
The tilt drive mechanism 121 is controlled, and the photographing direction of the lens 123 moves to the left. Also, the pan button 203B
The remote control command is transmitted to the monitoring device 100 by pointing the mouse with a pointer such as a mouse, and the PTZ control unit 1
The pan / tilt drive mechanism 121 is controlled by 06,
The shooting direction of the lens 123 moves to the right.

【0038】ティルトボタン204A,204Bは、カ
メラヘッド120のレンズ123を垂直方向に移動させ
るためのボタンである。ティルトボタン204Aをマウ
ス等のポインタで指示することにより遠隔制御コマンド
が監視装置100に送信されて、PTZ制御部106に
よりズーム駆動機構122が制御され、レンズ123の
撮影方向が上方向に移動する。同様に、ティルトボタン
204Bをマウス等のポインタで指示することにより遠
隔制御コマンドが監視装置100に送信されて、PTZ
制御部106によりズーム駆動機構122が制御され、
レンズ123の撮影方向が下方向に移動する。
The tilt buttons 204A and 204B are buttons for vertically moving the lens 123 of the camera head 120. By pointing the tilt button 204A with a pointer such as a mouse, a remote control command is transmitted to the monitoring apparatus 100, the PTZ control unit 106 controls the zoom drive mechanism 122, and the shooting direction of the lens 123 moves upward. Similarly, by pointing the tilt button 204B with a pointer such as a mouse, a remote control command is transmitted to the monitoring device 100, and the PTZ
The control unit 106 controls the zoom drive mechanism 122,
The shooting direction of the lens 123 moves downward.

【0039】ズームボタン205A,205Bは、レン
ズ123の撮影倍率を変更するためのボタンである。ズ
ームボタン205Aがマウス等のポインタで指示される
と遠隔制御コマンドが監視装置100に送信されて、P
TZ制御部106によりズーム駆動機構122が制御さ
れ、レンズ123の撮影倍率が小さくなる。また、ズー
ムボタン205Bがマウス等のポインタで指示される
と、遠隔制御コマンドが監視装置100に送信されて、
PTZ制御部106によりズーム駆動機構122が制御
され、レンズ123の撮影倍率が大きくなる。
The zoom buttons 205A and 205B are buttons for changing the photographing magnification of the lens 123. When the zoom button 205A is pointed by a pointer such as a mouse, a remote control command is transmitted to the monitoring device 100, and P
The zoom drive mechanism 122 is controlled by the TZ control unit 106, and the photographing magnification of the lens 123 is reduced. Further, when the zoom button 205B is pointed by a pointer such as a mouse, a remote control command is transmitted to the monitoring device 100,
The PTZ control unit 106 controls the zoom drive mechanism 122 to increase the photographing magnification of the lens 123.

【0040】ステップS03では、遠隔制御画面200
をPC131へ送信した後、設定コマンドが入力された
か否かが判断される。設定コマンドとは、遠隔制御画面
200の監視領域編集ボタン202が指示された場合
に、監視装置100で入力される。設定コマンドが入力
された場合には、ステップS10に進み、そうでない場
合にはステップS04に進む。
In step S03, the remote control screen 200
Is transmitted to the PC 131, it is determined whether or not a setting command is input. The setting command is input by the monitoring apparatus 100 when the monitoring area edit button 202 on the remote control screen 200 is instructed. If the setting command is input, the process proceeds to step S10, and if not, the process proceeds to step S04.

【0041】ステップS10では、設定処理が実行され
る(ステップS10)。設定処理が終了すると、遠隔操
作処理を終了する。
In step S10, a setting process is executed (step S10). When the setting process ends, the remote operation process ends.

【0042】ステップS04に進む場合は、遠隔操作コ
マンドがカメラヘッド120の画角を変更するためのコ
マンドであるため、カメラヘッド120の画角を制御す
る。画角を変更するためのコマンドには、パン・ティル
ト・ズームを変更するためのコマンドである。監視装置
100はPC131よりパン、ティルト、ズームの遠隔
制御コマンドを受信すると、PTZ制御部106が、パ
ン・ティルト駆動機構121およびズーム駆動機構12
2を制御して、レンズ123の撮影方向および撮影倍率
の変更を行なう。
When the process proceeds to step S04, the remote operation command is a command for changing the angle of view of the camera head 120, and therefore the angle of view of the camera head 120 is controlled. The command for changing the angle of view is a command for changing pan / tilt / zoom. When the monitoring apparatus 100 receives a remote control command for pan, tilt, and zoom from the PC 131, the PTZ control unit 106 causes the pan / tilt drive mechanism 121 and the zoom drive mechanism 12 to operate.
2 is controlled to change the shooting direction and the shooting magnification of the lens 123.

【0043】これにより、カメラヘッド120の画角が
変更される。そして、カメラヘッド120のCCDによ
り、変更された画角によって定まる撮影領域が撮影され
て(ステップS05)、撮影されたカメラ画像が遠隔制
御画面200の領域201とされて、PC131に送信
される(ステップS06)。
As a result, the angle of view of the camera head 120 is changed. Then, the CCD of the camera head 120 shoots a shooting area determined by the changed angle of view (step S05), and the shot camera image is set as the area 201 of the remote control screen 200 and is transmitted to the PC 131 ( Step S06).

【0044】その後、継続してパン、ティルト、ズーム
の遠隔制御コマンドが受信されたか否かが判断され(ス
テップS07)、パン、ティルト、ズームの遠隔制御コ
マンド(PTZコマンド)が受信された場合には、ステ
ップS04に戻り、上述のステップS4、ステップS5
およびステップS06の処理を繰返し実行する。パン、
ティルト、ズームの遠隔制御コマンド(PTZコマン
ド)が受信されない場合には、パン、ティルト、ズーム
の遠隔制御コマンドが受信されないで所定時間経過した
か否かが判断され、所定時間経過していない場合にはス
テップS07に戻る。従って、パン、ティルト、ズーム
の遠隔制御コマンドが受信されないで所定時間経過する
まで待機状態となる。一方、パン、ティルト、ズームの
制御コマンドが受信されないで所定時間経過した場合
(ステップS09でYES)には処理を終了する。
Thereafter, it is continuously determined whether or not the pan, tilt, and zoom remote control commands have been received (step S07). When the pan, tilt, and zoom remote control commands (PTZ command) have been received, Returns to step S04 and returns to step S4 and step S5 described above.
And the process of step S06 is repeatedly executed. Bread,
If the tilt / zoom remote control command (PTZ command) is not received, it is determined whether or not a predetermined time has elapsed without receiving the pan / tilt / zoom remote control command. Returns to step S07. Therefore, the control waits until a predetermined time elapses without receiving the pan, tilt, and zoom remote control commands. On the other hand, if the pan, tilt, and zoom control commands have not been received and the predetermined time has elapsed (YES in step S09), the processing ends.

【0045】一方、ステップS08では、終了コマンド
が受信されたか否かが判断され、終了コマンドが受信さ
れた場合には処理を終了し、そうでない場合には、PT
Zコマンドなので、ステップS04に戻る。
On the other hand, in step S08, it is determined whether or not an end command is received. If the end command is received, the process ends, otherwise, PT.
Since it is a Z command, the process returns to step S04.

【0046】以上説明したように、遠隔操作処理は設定
処理が終了した場合(ステップS10の後)、終了コマ
ンドが入力された場合(ステップS08でYES)、ま
たは、コマンドが所定時間入力されない場合(ステップ
S09でYES)には、遠隔操作処理を終了する。遠隔
操作処理は割込みにより処理を開始したため、遠隔操作
処理が終了した場合には、カメラヘッド120の画角を
割込み発生時の監視領域の画角を戻して、監視動作を復
帰させる。
As described above, in the remote operation process, when the setting process is completed (after step S10), the end command is input (YES in step S08), or when the command is not input for a predetermined time ( If the answer is YES in step S09, the remote operation process ends. Since the remote operation process is started by an interrupt, when the remote operation process is completed, the angle of view of the camera head 120 is returned to the angle of view of the monitoring area at the time of the interrupt, and the monitoring operation is restored.

【0047】このようにして、PC131のユーザが、
領域201に映された画像を見ながら、パンボタン20
3A,203B、ティルトボタン204A,204Bお
よびズームボタン205A,205Bを操作することに
より画角(パン・ティルト・ズーム)が設定されるため、
PC131のユーザは、自分が見たい任意の方向の撮影
した画像をみることができる。
In this way, the user of the PC 131
While looking at the image displayed in the area 201, the pan button 20
3A, 203B, tilt buttons 204A, 204B and zoom buttons 205A, 205B are used to set the angle of view (pan / tilt / zoom).
The user of the PC 131 can see the photographed image in any direction he or she wants to see.

【0048】次に、ステップS10で実行される設定処
理の詳細を、図3および図5を用いて説明する。設定処
理では、まず、図5(A)に示す監視領域編集画面が、
図4に示した遠隔制御画面に重畳して、または、遠隔制
御画面200とは別の領域に表示される。
Details of the setting process executed in step S10 will be described below with reference to FIGS. In the setting process, first, the monitoring area edit screen shown in FIG.
It is displayed on the remote control screen shown in FIG. 4 or in an area different from the remote control screen 200.

【0049】監視領域編集画面210は、図5(A)を
参照して、新規監視領域設定ボタン211と、監視領域
設定変更ボタン212と、監視領域削除ボタン213
と、戻るボタン214とを含む。
On the monitor area edit screen 210, referring to FIG. 5A, a new monitor area setting button 211, a monitor area setting change button 212, and a monitor area delete button 213 are displayed.
And a return button 214.

【0050】新規監視領域設定ボタン211は、新たに
監視領域を設定する場合に指定するボタンである。新規
監視領域設定ボタン211がマウス等で指示されると、
図5(B)に示す新規監視領域設定画面220が表示さ
れる。
The new monitoring area setting button 211 is a button designated when a new monitoring area is set. When the new monitoring area setting button 211 is instructed with a mouse or the like,
A new monitoring area setting screen 220 shown in FIG. 5B is displayed.

【0051】監視領域設定変更ボタン212は、既に設
定された監視領域について設定された設定値を変更する
場合に指定するボタンである。監視領域削除ボタン21
3は、既に設定された監視領域について設定された設定
値を削除する場合に指定するボタンである。なお、監視
領域設定変更と監視領域削除の処理については、監視領
域の名称を入力することにより特定される監視領域につ
いて設定されたデータを変更または削除する処理であ
る。ここでは詳細には説明しない。
The monitoring area setting change button 212 is a button designated when changing the set value set for the already set monitoring area. Monitoring area delete button 21
A button 3 is designated when deleting a set value set for the already set monitoring area. The process of changing the monitoring area setting and deleting the monitoring area is a process of changing or deleting the data set for the monitoring area specified by inputting the name of the monitoring area. It will not be described in detail here.

【0052】図5(B)を参照して、新規監視領域設定
画面220は、画角設定ボタン221、名称設定ボタン
222、発見方法設定ボタン223、追尾方法設定ボタ
ン224、巡回方法設定ボタン225、記録通知設定ボ
タン226、戻るボタン227とを含む。
Referring to FIG. 5B, the new monitoring area setting screen 220 has an angle of view setting button 221, a name setting button 222, a discovery method setting button 223, a tracking method setting button 224, a patrol method setting button 225, A recording notification setting button 226 and a return button 227 are included.

【0053】画角設定ボタン221は、図5(C)に示
す画角設定画面230を呼出すためのボタンである。名
称設定ボタン222は、図5(D)に示す名称設定画面
240を呼出すためのボタンである。発見方法設定ボタ
ン223は、図5(E)に示す発見方法設定画面250
を呼出すためのボタンである。追尾方法設定ボタン22
4は、図5(F)に示す追尾方法設定画面260を呼出
すためのボタンである。巡回方法設定ボタン225は、
図5(G)に示す巡回方法設定画面270を呼出すため
のボタンである。記録通知設定ボタン226は、図5
(H)に示す記録通知設定画面280を呼出すためのボ
タンである。戻るボタン226がマウス等のポインタで
指示されると、図5(A)に示した監視領域編集画面2
10が表示される。
The view angle setting button 221 is a button for calling the view angle setting screen 230 shown in FIG. 5 (C). The name setting button 222 is a button for calling the name setting screen 240 shown in FIG. The discovery method setting button 223 is used for the discovery method setting screen 250 shown in FIG.
Is a button for calling. Tracking method setting button 22
4 is a button for calling the tracking method setting screen 260 shown in FIG. The patrol method setting button 225 is
This is a button for calling the patrol method setting screen 270 shown in FIG. The record notification setting button 226 is shown in FIG.
This is a button for calling the recording notification setting screen 280 shown in (H). When the return button 226 is pointed by a pointer such as a mouse, the monitor area edit screen 2 shown in FIG.
10 is displayed.

【0054】図5(C)を参照して、画角設定画面23
0は、領域名称を表示する領域231と、メッセージを
表示する領域232と、OKボタン233と、戻るボタ
ン234とを含む。領域名称を表示する領域231に
は、監視領域に付される名称が表示される。監視領域に
名称が未だ付されていない場合には名にも表示されな
い。監視領域に付される名称は、ステップS01で設定
された画角により定まる撮影領域(監視領域)に付され
る名称をいい、次に説明する名称設定画面240でユー
ザにより入力されることにより定まる。
Referring to FIG. 5C, the view angle setting screen 23
0 includes an area 231 for displaying an area name, an area 232 for displaying a message, an OK button 233, and a return button 234. In the area 231 displaying the area name, the name given to the monitoring area is displayed. If the monitoring area has not been named yet, it will not be displayed in the name either. The name given to the monitoring area is the name given to the shooting area (monitoring area) that is determined by the angle of view set in step S01, and is set by being input by the user on the name setting screen 240 described below. .

【0055】領域232には、「現在の画角を監視領域
に設定しますか?」のメッセージが表示される。これ
は、遠隔制御画面200で領域201に表示されている
画像で定まる撮影領域を監視領域として設定するか否か
を問うメッセージである。この状態で、遠隔制御画面2
00のパンボタン203A,203B、ティルトボタン
204A,204Bおよびズームボタン205A,20
5Bを操作して、監視領域を変更することができる。所
望の監視領域が領域201に表示された段階で、画角設
定画面230のOKボタン233をマウス等で指定する
ことにより現在の画角によって定まる撮影領域が監視領
域に決定される(ステップS11)。
In the area 232, a message "Set current angle of view as monitoring area?" Is displayed. This is a message asking whether or not to set the shooting area defined by the image displayed in the area 201 on the remote control screen 200 as the monitoring area. In this state, remote control screen 2
00 pan button 203A, 203B, tilt button 204A, 204B and zoom button 205A, 20
5B can be operated to change the monitoring area. When the desired monitoring area is displayed in the area 201, the OK button 233 of the angle-of-view setting screen 230 is designated by a mouse or the like to determine the shooting area determined by the current angle of view as the monitoring area (step S11). .

【0056】戻るボタン234をマウス等で指示するこ
とにより、図5(B)に示した新規監視領域設定画面2
20が表示される。
By designating the return button 234 with a mouse or the like, the new monitoring area setting screen 2 shown in FIG. 5B is displayed.
20 is displayed.

【0057】図5(D)を参照して、名称設定画面24
0には、監視領域の名称を示す領域241と、「名称を
設定して下さい」のメッセージを表示する領域242
と、監視領域の名称を入力する領域243と、OKボタ
ン244と、戻るボタン245とを含む。領域241に
は、現在の処理対象となっている監視領域に付された名
称が表示される。未だ監視領域に名称が付されていない
場合には、何も表示されない。このように未だ監視領域
に名称が付されていない場合には、領域242に「名称
を設定して下さい」のメッセージが表示される。既に名
称が付されている場合には、その名称が領域241に表
示され、領域242には、「名称を変更しますか」等の
メッセージが表示される。
Referring to FIG. 5D, the name setting screen 24
In 0, an area 241 showing the name of the monitoring area and an area 242 displaying a message of "please set a name"
An area 243 for inputting the name of the monitoring area, an OK button 244, and a return button 245. In the area 241, the name given to the monitoring area which is the current processing target is displayed. If no name has been assigned to the monitoring area, nothing is displayed. In this way, when the monitoring area is not yet named, a message "Please set a name" is displayed in the area 242. If the name has already been given, the name is displayed in the area 241, and a message such as "Do you want to change the name?" Is displayed in the area 242.

【0058】領域243には、画角設定画面230で設
定された監視領域に付される名称が入力される。ユーザ
は、ここに所望の名称を入力することにより、監視領域
に名称を付すことができる。OKボタン244がマウス
等で指示されると、領域243に入力された名称が、監
視領域の名称として設定される(ステップS12)。戻
るボタン245がマウス等で指示されると、図5(B)
に示した新規監視領域設定画面220が表示される。
In the area 243, the name given to the monitoring area set on the view angle setting screen 230 is input. The user can give a name to the monitoring area by inputting a desired name here. When the OK button 244 is designated by a mouse or the like, the name input to the area 243 is set as the name of the monitoring area (step S12). When the return button 245 is designated by a mouse or the like, FIG.
The new monitoring area setting screen 220 shown in is displayed.

【0059】図5(E)を参照して、発見方法設定画面
250は、監視領域の名称を表示するための領域251
と、発見方法として色抽出画像処理を選択する領域25
2と、時間差分画像処理を選択するための領域253
と、背景差分画像処理を選択するための領域254と、
保存ボタン255と、戻るボタン256とを含む。
Referring to FIG. 5E, the discovery method setting screen 250 has an area 251 for displaying the name of the monitoring area.
And an area 25 for selecting color extraction image processing as a discovery method.
2 and an area 253 for selecting the time difference image processing
And an area 254 for selecting the background difference image processing,
A save button 255 and a return button 256 are included.

【0060】領域251には、現在処理対象となってい
る監視領域に付された名称が表示される。領域252
は、「色抽出」と表示され、色抽出画像処理を選択する
ためのボタンである。領域252がマウス等で指示され
ると、その左側に表示されたチェックボックスが反転表
示され、発見方法として色抽出画像処理が選択されたこ
とが示される。同様に、領域253には「時間差分」と
表示され、時間差分画像処理を選択するためのボタンで
ある。領域253がマウス等で指示されると、発見方法
として時間差分画像処理が選択され、その横のチェック
ボックスが反転表示されて発見方法に時間差分画像処理
が選択されたことが示される。
In the area 251, the name given to the monitoring area currently being processed is displayed. Area 252
Is a button for displaying color extraction and for selecting color extraction image processing. When the area 252 is pointed by a mouse or the like, the check box displayed on the left side of the area 252 is highlighted to indicate that the color extraction image processing is selected as the finding method. Similarly, "time difference" is displayed in the area 253, and is a button for selecting time difference image processing. When the area 253 is pointed by a mouse or the like, the time difference image processing is selected as the discovery method, and the check box next to it is highlighted to indicate that the time difference image processing is selected as the discovery method.

【0061】領域254には、「背景差分」と表示さ
れ、背景差分画像処理を選択するためのボタンである。
領域254がマウス等で指示されると、発見方法として
背景差分画像処理が選択され、その横のチェックボック
スが反転表示されて発見方法に背景差分画像処理が選択
されたことが示される。
In the area 254, "background difference" is displayed and is a button for selecting background difference image processing.
When the area 254 is pointed by a mouse or the like, the background difference image processing is selected as the discovery method, and the check box beside it is highlighted to indicate that the background difference image processing is selected as the discovery method.

【0062】発見方法の設定は、色抽出画像処理、時間
差分画像処理、背景差分画像処理の少なくとも1つを選
択可能であり、複数選択するようにしてもよい。たとえ
ば色抽出画像処理と背景差分画像処理とを選択すること
ができる。保存ボタン255がマウス等で指示される
と、領域252,253,254で指定された発見方法
が設定される(ステップS13)。
At least one of the color extraction image processing, the time difference image processing, and the background difference image processing can be selected as the discovery method setting, and a plurality of selection methods may be selected. For example, color extraction image processing and background difference image processing can be selected. When the save button 255 is designated by a mouse or the like, the discovery method designated in the areas 252, 253, 254 is set (step S13).

【0063】図5(F)を参照して、追尾方法設定画面
260は、監視領域の名称を表示する領域261と、追
尾方法として色抽出画像処理を選択するための領域26
2と、追尾方法として時間差分画像処理を選択するため
の領域263と、追尾方法として背景差分画像処理を選
択するための領域264と、追尾方法を選択しない領域
265と、保存ボタン266と、戻るボタン267とを
含む。
Referring to FIG. 5F, tracking method setting screen 260 has area 261 for displaying the name of the monitoring area and area 26 for selecting color extraction image processing as the tracking method.
2, an area 263 for selecting time difference image processing as a tracking method, an area 264 for selecting background difference image processing as a tracking method, an area 265 for not selecting a tracking method, a save button 266, and a return button. And a button 267.

【0064】領域261には、現在処理対象となってい
る監視領域に付された名称が表示される。
In the area 261, the name given to the monitoring area currently being processed is displayed.

【0065】領域262には、「色抽出」の文字が表示
されている。領域262がマウス等で指示されると、追
尾方法として色抽出画像処理が選択され、左のチェック
ボックスが反転表示されて追尾方法に色抽出処理が選択
されたことが示される。
In the area 262, the characters "color extraction" are displayed. When the area 262 is pointed by a mouse or the like, the color extraction image processing is selected as the tracking method, and the left check box is highlighted to indicate that the color extraction processing is selected as the tracking method.

【0066】領域263は、「時間差分」が表示されて
いる。領域263がマウス等でクリックされると、追尾
方法として時間差分画像が選択され、左のチェックボッ
クスが反転表示されて追尾方法に時間差分画像処理が選
択されたことが示される。
In the area 263, "time difference" is displayed. When the area 263 is clicked with a mouse or the like, the time difference image is selected as the tracking method, and the left check box is highlighted to indicate that the time difference image processing is selected as the tracking method.

【0067】領域264は、「背景差分」の文字が表示
されている。領域264がマウス等で指示されると、追
尾方法に背景差分画像処理が選択され、左のチェックボ
ックスが反転表示されて追尾方法に背景差分画像処理が
選択されたことが示される。
In the area 264, the characters "background difference" are displayed. When the area 264 is designated with a mouse or the like, the background difference image processing is selected as the tracking method, and the left check box is highlighted to indicate that the background difference image processing is selected as the tracking method.

【0068】領域265には、「追尾しない」が表示さ
れる。領域265がマウス等で指示されると、追尾方法
としていずれの画像処理も選択されず、チェックボック
スが反転表示される。この場合、いずれかの追尾方法が
選択されている場合には、すべてキャンセルされる。
In the area 265, "no tracking" is displayed. When the area 265 is designated with a mouse or the like, no image processing is selected as the tracking method, and the check box is highlighted. In this case, if any of the tracking methods is selected, they are all cancelled.

【0069】保存ボタン266がマウス等で指示される
と、領域262,263,264,265で指定された
追尾方法が、領域261に表示された名称に対応する監
視領域に関連付けて設定される(ステップS14)。
When the save button 266 is pointed by a mouse or the like, the tracking method designated in the areas 262, 263, 264, 265 is set in association with the monitoring area corresponding to the name displayed in the area 261 ( Step S14).

【0070】一方、戻るボタン267がマウス等で指示
されると、図5(B)に示した新規監視領域設定画面2
20が表示される。
On the other hand, when the return button 267 is designated by a mouse or the like, the new monitoring area setting screen 2 shown in FIG. 5B is displayed.
20 is displayed.

【0071】図5(G)を参照して、巡回方法設定画面
270は、監視領域の名称を表示するための領域271
と、指定するための時刻を入力するための領域272
と、インターバル時間を入力するための領域273と、
巡回する場合の順番を入力するための領域274と、巡
回に設定されている監視領域の名称を順に表示するため
の領域275と、保存ボタン276と、戻るボタン27
7とを含む。
Referring to FIG. 5G, the traveling method setting screen 270 has an area 271 for displaying the name of the monitoring area.
And an area 272 for inputting the time to specify
And an area 273 for inputting an interval time,
An area 274 for inputting the order of the tour, an area 275 for sequentially displaying the names of the monitoring areas set for the tour, a save button 276, and a return button 27.
Including 7 and.

【0072】巡回方法設定画面270は、監視領域ごと
に巡回方法を設定するための画面である。巡回方法に
は、予め定められた時刻に監視する時刻指定モードと、
予め定められた時間間隔で監視するインターバルモード
と、予め定められた複数の監視領域を順に監視するシー
ケンスモードとを含む。
The patrol method setting screen 270 is a screen for setting a patrol method for each monitoring area. The patrol method includes a time designation mode for monitoring at a predetermined time,
It includes an interval mode for monitoring at predetermined time intervals and a sequence mode for sequentially monitoring a plurality of predetermined monitoring areas.

【0073】巡回方法設定画面270の領域271に
は、現在設定の処理対象となっている監視領域の名称が
表示される。
In the area 271 of the patrol method setting screen 270, the name of the monitoring area that is the current setting processing target is displayed.

【0074】領域272がマウス等で指定されることに
より、巡回方法として時刻指定モードが設定され、監視
する時刻を入力可能となる。そして、領域272の左側
のチェックボックスが反転表示され、時刻指定モードに
設定されたことが示される。この設定により、領域27
1に表示された名称の監視領域が、領域272に入力さ
れた時刻に監視されるように巡回方法が設定される。
By designating the area 272 with a mouse or the like, the time designation mode is set as the patrol method, and the time to be monitored can be input. Then, the check box on the left side of the area 272 is highlighted to indicate that the time designation mode is set. With this setting, the area 27
The patrol method is set such that the monitoring area with the name displayed in 1 is monitored at the time input in the area 272.

【0075】領域273がマウス等で指定されると、巡
回方法としてインターバルモードが設定され、所定の時
間間隔を入力可能となる。そして、領域273の左側の
チェックボックスが反転表示され、インターバルモード
に設定されたことが示される。この設定により、領域2
71に表示された名称の監視領域が、領域273に入力
された時間間隔で監視されるように巡回方法が設定され
る。
When the area 273 is designated with a mouse or the like, an interval mode is set as a patrol method and a predetermined time interval can be input. Then, the check box on the left side of the area 273 is highlighted so that the interval mode is set. With this setting, the area 2
The patrol method is set so that the monitoring area with the name displayed in 71 is monitored at the time intervals input in the area 273.

【0076】領域274がマウス等で指定されると、巡
回方法としてシーケンスモードが設定され、領域274
に順番を入力可能となる。領域275には、シーケンス
モードに設定されている監視領域の名称が設定されてい
る順番で表示される。そして、領域274の左側のチェ
ックボックスが反転表示され、シーケンスモードに設定
されたことが示される。この設定により、領域271に
表示された名称の監視領域が、領域274に入力された
順番で監視されるように巡回方法が設定される。
When the area 274 is designated by the mouse or the like, the sequence mode is set as the patrol method, and the area 274 is set.
You can enter the order in. In the area 275, the names of the monitoring areas set in the sequence mode are displayed in the order in which they are set. Then, the check box on the left side of the area 274 is highlighted so that the sequence mode is set. By this setting, the patrol method is set so that the monitoring area having the name displayed in the area 271 is monitored in the order input in the area 274.

【0077】保存ボタン276がマウス等で指示される
と、領域272,273,274で指定された巡回方法
が、領域271に表示された名称に対応する監視領域に
関連付けて設定される(ステップS15)。
When the save button 276 is pointed by a mouse or the like, the patrol method designated in the areas 272, 273, 274 is set in association with the monitoring area corresponding to the name displayed in the area 271 (step S15). ).

【0078】一方、戻るボタン277がマウス等で指示
されると、図5(B)に示した新規監視領域設定画面2
20が表示される。
On the other hand, when the return button 277 is designated by a mouse or the like, the new monitoring area setting screen 2 shown in FIG. 5B is displayed.
20 is displayed.

【0079】なお、巡回方法の設定は、1つの監視領域
に対して、少なくとも1つ設定すればよく、複数の巡回
方法を設定するようにしてもよい。たとえば、時刻指定
モードによる監視とインターバルモードによる監視の2
つを設定することができる。この場合には、監視領域
が、所定の時間間隔で監視されるとともに、指定された
時刻にも監視されることになる。
It is sufficient to set at least one patrol method for one monitoring area, and a plurality of patrol methods may be set. For example, 2 of monitoring by the time designation mode and monitoring by the interval mode
One can be set. In this case, the monitoring area is monitored at a predetermined time interval and also at a designated time.

【0080】図5(H)を参照して、記録通知設定画面
280は、監視領域の名称を表示する領域281と、詳
細撮影するか否かを設定するためのボタン282A,2
82Bと、通知するか否かを設定するボタン283A,
283Bと、保存ボタン284と、戻るボタン285と
を含む。
Referring to FIG. 5 (H), the recording notification setting screen 280 has an area 281 for displaying the name of the monitoring area and buttons 282A, 282 for setting whether or not to perform detailed photographing.
82B and a button 283A for setting whether to notify or not.
283B, a save button 284, and a return button 285 are included.

【0081】領域281には、設定の対処となっている
監視領域の名称が表示される。ボタン282A,282
Bは、監視領域で物体が発見された場合に、その物体を
詳細に撮影するかしないかを設定するためのボタンであ
る。ボタン282Aが選択された場合には、詳細撮影す
ると設定され、ボタン282Bが指定された場合には詳
細撮影しないと設定される(ステップS16)。
In the area 281, the name of the monitoring area which is the countermeasure for the setting is displayed. Button 282A, 282
B is a button for setting whether or not to photograph the object in detail when the object is found in the monitoring area. When the button 282A is selected, it is set to perform detailed shooting, and when the button 282B is specified, it is set to not perform detailed shooting (step S16).

【0082】ボタン283A,283Bは、監視領域で
物体が発見された場合に、その旨を通知するかしないか
を設定するためのボタンである。ボタン283Aが指定
された場合には通知するように設定され、ボタン283
Bが設定された場合には、通知しないモードに設定され
る(ステップS16)。
The buttons 283A and 283B are buttons for setting whether or not to notify when an object is found in the monitoring area. When the button 283A is designated, it is set to notify and the button 283A is set.
If B is set, the mode not to notify is set (step S16).

【0083】ステップS11〜ステップS16で設定さ
れた監視領域の画角、名称、発見方法、追尾方法、巡回
方法、記録モードおよび通知モードとは、関連付けられ
て記憶装置109に記憶される(ステップS17)。
The angle of view, name, discovery method, tracking method, patrol method, recording mode and notification mode of the monitoring area set in steps S11 to S16 are stored in the storage device 109 in association with each other (step S17). ).

【0084】このように、LAN130に接続されたP
C131から監視装置100を遠隔操作することによ
り、監視装置100の設定内容を設定することができ
る。なお、本実施の形態においては、モード設定をPC
131からの遠隔操作で設定するようにしたが、監視装
置100が有するキーボードなどの入力装置から直接入
力することにより設定してもよい。
In this way, the P connected to the LAN 130 is
By remotely operating the monitoring device 100 from C131, the setting contents of the monitoring device 100 can be set. In the present embodiment, the mode setting is PC
Although the setting is performed by remote control from 131, the setting may be performed by directly inputting from an input device such as a keyboard included in the monitoring device 100.

【0085】図6は、監視装置100の撮影可能範囲と
監視領域との関係を説明するための図である。図6を参
照して、撮影可能範囲300は、監視装置100がある
部屋に設置された場合に、カメラヘッド120で撮影可
能な範囲を示している。また、撮影可能範囲300は、
監視装置100のカメラヘッド120で、パン・ティル
ト駆動機構121およびレンズ駆動機構122を最大限
に駆動して、レンズ123に備えられたCCDで撮影可
能な範囲である。
FIG. 6 is a diagram for explaining the relationship between the image-capable range of the monitoring apparatus 100 and the monitoring area. With reference to FIG. 6, a photographable range 300 indicates a range that can be photographed by the camera head 120 when the monitoring device 100 is installed in a room. In addition, the photographable range 300 is
The camera head 120 of the monitoring device 100 drives the pan / tilt drive mechanism 121 and the lens drive mechanism 122 to the maximum extent, and the CCD included in the lens 123 can capture an image.

【0086】図6では、2つの監視領域201A,20
1Bを示している。監視領域201Aは、窓150を含
む領域としている。したがって、窓150から侵入しよ
うとする者がある場合には、監視領域201Aにその侵
入した者が含まれることになる。監視領域201Bは、
ドア151を含む領域に設定されている。このため、ド
ア151から侵入する者がある場合には、監視領域20
1Bに含まれることになる。したがって、監視領域20
1Bでは、ドア151からの部屋への侵入者を監視する
ことができる。
In FIG. 6, two monitoring areas 201A and 20A are provided.
1B is shown. The monitoring area 201A is an area including the window 150. Therefore, when there is a person trying to enter through the window 150, the person who has entered the monitoring area 201A is included. The monitoring area 201B is
The area is set to include the door 151. Therefore, if there is an intruder through the door 151, the monitoring area 20
It will be included in 1B. Therefore, the monitoring area 20
In 1B, an intruder from the door 151 into the room can be monitored.

【0087】図7は、本実施の形態における監視装置1
00で実行される監視処理の流れを示すフローチャート
である。図7を参照して、監視装置100では、まず、
電源が投入されると(ステップS20)、記憶装置10
9に記憶された設定モードが読出される(ステップS2
1)。設定モードは、図2および図3で示した遠隔操作
処理によって設定されたモードである。
FIG. 7 shows a monitoring device 1 according to this embodiment.
10 is a flowchart showing a flow of a monitoring process executed at 00. With reference to FIG. 7, in the monitoring device 100, first,
When the power is turned on (step S20), the storage device 10
The setting mode stored in 9 is read (step S2).
1). The setting mode is a mode set by the remote operation processing shown in FIGS. 2 and 3.

【0088】そして、ステップS22において、カメラ
ヘッド120のカメラ数値等の値が初期値に設定され、
追尾用背景画像と巡回ポイントの背景画像とが撮影され
る。
Then, in step S22, the camera numerical value of the camera head 120 is set to an initial value,
A background image for tracking and a background image of a traveling point are photographed.

【0089】ここで、追尾用背景画像とは、背景差分画
像処理の追尾方法において用いられる画像である。追尾
用背景画像は、カメラヘッド120で撮影可能な範囲を
複数の背景領域に予め分割し、分割された複数の背景領
域ごとに撮影して得られる画像である。また、巡回ポイ
ントの背景画像とは、監視領域の発見方法に背景画像差
分処理が設定された場合に、その監視領域を撮影した画
像をいう。追尾用背景画像および巡回ポイントの背景画
像は、後で発見処理および追尾処理で基準となる画像と
して用いられる。
Here, the tracking background image is an image used in the tracking method of the background difference image processing. The tracking background image is an image obtained by previously dividing a range that can be captured by the camera head 120 into a plurality of background areas and capturing an image for each of the plurality of divided background areas. In addition, the background image of the traveling point refers to an image obtained by photographing the monitoring area when background image difference processing is set as the method of finding the monitoring area. The tracking background image and the background image of the traveling point are used later as images that serve as a reference in the discovery processing and the tracking processing.

【0090】次のステップS23では、巡回順の設定処
理が実行される。巡回順とは、監視領域が複数設定され
ている場合に、次に監視の対象とする監視領域を決定す
る処理である。これについては後で詳しく説明する。ス
テップS23の処理を実行することにより処理対象とな
る監視領域が決定され、その後ステップS28に進む。
In the next step S23, a cyclic order setting process is executed. The patrol order is a process of determining a monitoring area to be monitored next when a plurality of monitoring areas are set. This will be described in detail later. By executing the process of step S23, the monitoring area to be processed is determined, and then the process proceeds to step S28.

【0091】ステップS28では、処理対象とされた監
視領域について、巡回設定時間が経過したか否かが判断
され、経過した場合にはステップS24に進み、そうで
ない場合にはステップS29に進む。巡回設定時間と
は、処理対象とされた監視領域に対して発見処理(ステ
ップS29およびステップS30)を実行するのに割当
てられた時間である。この巡回設定時間は、予め設定さ
れて記憶装置109に記憶されている。
In step S28, it is determined whether or not the patrol set time has elapsed for the monitoring area to be processed. If the patrol set time has elapsed, the process proceeds to step S24, and if not, the process proceeds to step S29. The patrol set time is the time allotted for executing the discovery processing (step S29 and step S30) on the monitoring area that is the processing target. This patrol set time is preset and stored in the storage device 109.

【0092】ステップS29では、その監視領域に対し
て設定された発見方法で発見動作が行なわれる。発見方
法には、色抽出画像処理、時間差分画像処理、背景差分
画像処理の3つの方法があった。監視領域に対して、図
5(E)に示した発見方法設定画面250で発見方法が
設定された。監視装置100では、色抽出画像処理、時
間差分画像処理、背景差分画像処理の3つの発見方法の
うちから、その監視領域に対して設定された発見方法を
選択する。選択された発見方法を用いて発見動作が行わ
れる。複数の発見方法が設定されている場合には、それ
ぞれの発見方法が順に選択されて、発見動作が順に行な
われることになる。発見動作では、監視領域で変化する
変化領域が検出される。変化領域とは、色抽出画像処理
においては特定の色の領域をいい、時間差分画像処理に
おいては移動する物体の領域をいい、背景差分画像処理
においては背景画像と異なる領域をいう。
In step S29, the finding operation is performed by the finding method set for the monitoring area. There were three detection methods, color extraction image processing, time difference image processing, and background difference image processing. For the monitoring area, the discovery method is set on the discovery method setting screen 250 shown in FIG. 5 (E). The monitoring apparatus 100 selects the discovery method set for the monitoring area from three discovery methods of color extraction image processing, time difference image processing, and background difference image processing. A discovery operation is performed using the selected discovery method. When a plurality of discovery methods are set, each discovery method is sequentially selected and the discovery operation is sequentially performed. In the finding operation, a changing area that changes in the monitoring area is detected. The change area means an area of a specific color in the color extraction image processing, an area of a moving object in the time difference image processing, and an area different from the background image in the background difference image processing.

【0093】ステップS30では、ステップS29で行
なわれた発見動作の結果、変化領域が検出(発見)され
たか否かが判断され、検出された場合にはステップS3
1へ進み、そうでない場合にはステップS28に進む。
このため、巡回設定時間の間発見動作が行なわれること
になる。
In step S30, it is determined whether or not a change area is detected (discovered) as a result of the finding operation performed in step S29. If it is detected, step S3 is performed.
If not, the process proceeds to step S28.
Therefore, the discovery operation is performed during the patrol set time.

【0094】ステップS31では、ステップS29で発
見された発見領域の中心が、カメラの撮影領域の中心と
なるようにパン・ティルト駆動機構121を駆動する。
そして、詳細撮影するか否かが判断される(ステップS
32)。詳細撮影すると設定されている場合にはステッ
プS38に進み、そうでない場合にはステップS33へ
進む。
In step S31, the pan / tilt drive mechanism 121 is driven so that the center of the discovery area found in step S29 becomes the center of the photographing area of the camera.
Then, it is determined whether or not detailed shooting is performed (step S).
32). If detailed shooting is set, the process proceeds to step S38, and if not, the process proceeds to step S33.

【0095】ステップS33では、PTZ制御部106
がズーム駆動機構122を制御して、レンズを広角端に
するようにズーム量が変更される。これは、撮影領域を
できるだけ広くすることにより、撮影領域内で移動物体
を捉えやすくするためである。
In step S33, the PTZ control unit 106
Controls the zoom drive mechanism 122 to change the zoom amount so that the lens is at the wide-angle end. This is to make it easier to capture a moving object within the shooting area by making the shooting area as wide as possible.

【0096】ステップS34では、ステップ23で監視
領域が決定されてから現在までの動画像、または、画像
記録部104に記録されている監視領域の最も古い画像
から、現在までの動画像が記憶装置109に記憶され
る。
In step S34, the moving image from the determination of the monitoring area in step 23 to the present, or the moving image from the oldest image in the monitoring area recorded in the image recording unit 104 to the present is stored in the storage device. It is stored in 109.

【0097】そして、次のステップS35では、通知す
るか否かが決定される。通知するか否かは、記録通知設
定画面280で設定されたデータに基づく。詳細撮影し
ない場合の通知は、文字のみの通知に限られる。
Then, in the next step S35, it is determined whether or not to notify. Whether or not to notify is based on the data set on the recording notification setting screen 280. The notification when detailed shooting is not performed is limited to text only.

【0098】ステップS36では、文字情報が通知され
る。ここでの通知とは、外部通信部109を介して、た
とえば、侵入者があった旨を電子メールなどで送信する
処理である。外部通信部107よりユーザが所有する携
帯電話に電子メールを送信するようにしてもよい。これ
により、ユーザは、電子メールを受信することにより、
外出先にいながら侵入者があった旨を知ることができ
る。
In step S36, character information is notified. The notification here is, for example, a process of transmitting the fact that there is an intruder via the external communication unit 109 by e-mail or the like. An electronic mail may be transmitted from the external communication unit 107 to a mobile phone owned by the user. This allows the user to receive an email
You can know that there was an intruder while you were out.

【0099】そして、次のステップS37では、追尾を
するか否かが判断される。追尾をするか否かは、ユーザ
が遠隔操作することにより追尾方法設定画面260で設
定された値に基づき判断される。追尾しないと設定され
た場合には、ステップS24に進み、そうでない場合に
はステップS43に進む。ステップS43では、設定さ
れた追尾処理が選択されて追尾処理が実行される。追尾
方法には、色抽出画像処理、時間差分画像処理、背景差
分画像処理の3つの方法があった。監視領域に対して、
図5(F)に示した追尾方法設定画面260で追尾方法
が設定された。監視装置100では、色抽出画像処理、
時間差分画像処理、背景差分画像処理の3つの発見方法
のうちから、その監視領域に対して設定された追尾方法
を選択する。そして、選択された追尾方法を用いて追尾
処理が実行される。
Then, in the next step S37, it is determined whether or not to perform tracking. Whether or not to perform tracking is determined based on the value set on the tracking method setting screen 260 by the user's remote operation. If the tracking is not set, the process proceeds to step S24. If not, the process proceeds to step S43. In step S43, the set tracking process is selected and the tracking process is executed. There are three tracking methods: color extraction image processing, time difference image processing, and background difference image processing. For the monitoring area,
The tracking method is set on the tracking method setting screen 260 shown in FIG. In the monitoring device 100, color extraction image processing,
The tracking method set for the monitoring area is selected from the three discovery methods of the time difference image processing and the background difference image processing. Then, the tracking process is executed using the selected tracking method.

【0100】一方、ステップS32で詳細撮影するとさ
れた場合には、ステップS38に進み、発見領域が撮影
画像中で所定の割合になるようにズームする。このズー
ムは、PTZ制御部106によりズーム駆動機構122
が制御されることにより行なわれる。ズーム倍率を定め
るための撮影画像中における発見領域の所定の割合は、
記憶装置109に予め記憶されている。
On the other hand, if it is determined in step S32 that the detailed photographing is performed, the process proceeds to step S38, and zooming is performed so that the discovery area has a predetermined ratio in the photographed image. This zoom is performed by the PTZ control unit 106 by the zoom drive mechanism 122.
Is controlled. The predetermined ratio of the discovery area in the captured image for determining the zoom magnification is
It is stored in the storage device 109 in advance.

【0101】そして、ステップS39では、ステップ2
3で監視領域が決定されてから現在までの動画像、また
は、画像記録部104に記録されている監視領域の最も
古い画像から、現在までの動画像が記憶装置109に記
憶される。
Then, in step S39, step 2
The moving image from the determination of the monitoring area in 3 to the present, or the moving image from the oldest image of the monitoring area recorded in the image recording unit 104 to the present is stored in the storage device 109.

【0102】次のステップS40では、発見領域を詳細
に撮影するために、静止画像が取込まれ、取込まれた静
止画像が記憶装置109に記憶される。ここで、ステッ
プS39で記憶する動画像とは別に、ステップS40で
静止画像を記憶するのは、動画像と静止画像とでは解像
度が異なり、静止画像の方が動画像に比べて解像度が高
いため、動画像より詳細に画像を記録することができる
ためである。
In the next step S40, a still image is captured and the captured still image is stored in the storage device 109 in order to photograph the discovery area in detail. Here, in addition to the moving image stored in step S39, the still image is stored in step S40 because the moving image and the still image have different resolutions and the still image has a higher resolution than the moving image. This is because the image can be recorded in more detail than the moving image.

【0103】次に、詳細に撮影された静止画像をユーザ
に通報するか否かが判断される(ステップS41)。詳
細撮影通報すると判断された場合にはステップS42へ
進み、そうでない場合にはステップS24に進む。この
判断は、記録通知設定画面280で設定されたデータに
基づき判断される。図4(H)の記録通知設定画面28
0では、ユーザが遠隔操作によりボタン283Aが指定
された場合に詳細撮影通報すると設定され、ボタン28
3Bが指定された場合に詳細撮影通報しないと設定され
た。
Next, it is determined whether or not to notify the user of the still image captured in detail (step S41). If it is determined that the detailed shooting notification is to be sent, the process proceeds to step S42, and if not, the process proceeds to step S24. This determination is made based on the data set on the recording notification setting screen 280. Recording notification setting screen 28 in FIG. 4 (H)
In 0, it is set to notify the detailed shooting when the user specifies the button 283A by remote control.
It was set not to notify detailed shooting when 3B is designated.

【0104】ステップS42では、ステップS40で撮
影し保存された静止画像を、電子メールなどに添付して
外部通信部107よりユーザに送信する。これにより、
ユーザは、受信した電子メールとその電子メールに添付
された静止画像を見ることにより、侵入者があった旨お
よびその侵入者を撮影した画像を見ることができる。
In step S42, the still image captured and stored in step S40 is attached to an electronic mail or the like and transmitted from the external communication unit 107 to the user. This allows
By looking at the received electronic mail and the still image attached to the electronic mail, the user can see that there is an intruder and an image of the intruder.

【0105】ステップS24〜ステップS27では、上
述したステップS28〜ステップS30で行なわれる発
見処理と、ステップS31〜ステップS42で行なわれ
る注視処理と、ステップS43で行なわれる追尾処理の
いずれかが終了した場合に、現在処理対象となっている
監視領域の発見方法に背景差分画像処理が設定されてい
るか否かが判断される。背景差分画像処理が設定されて
いる場合にはステップS25へ進み、そうでない場合に
はステップS26へ進む。
In step S24 to step S27, when any of the above-described discovery processing in steps S28 to S30, the gaze processing in steps S31 to S42, and the tracking processing in step S43 is completed. First, it is determined whether or not the background difference image processing is set as the method of finding the monitoring area that is the current processing target. If background difference image processing is set, the process proceeds to step S25, and if not, the process proceeds to step S26.

【0106】ステップS25では、処理対象の監視領域
が撮影領域となるように、PTZ制御部160がパン・
ティルト駆動機構121およびズーム駆動機構122を
制御する。そして処理対象の監視領域を撮影して背景画
像として画像記録部104に記憶する。このように背景
画像を随時更新していくことにより、環境の変化の影響
を受けにくくすることができる。
In step S25, the PTZ control unit 160 performs pan / scan so that the monitoring area to be processed becomes the photographing area.
The tilt drive mechanism 121 and the zoom drive mechanism 122 are controlled. Then, the monitoring area to be processed is photographed and stored in the image recording unit 104 as a background image. By thus updating the background image as needed, it is possible to reduce the influence of environmental changes.

【0107】次にステップS26では、背景差分追尾画
像更新時間を経過したか否かが判断される。経過したと
判断された場合にはステップS27に進み、そうでない
場合にはステップS23へ進む。背景差分追尾画像更新
時間とは、追尾方法として背景差分画像処理が選択され
ている場合には、用いられる背景画像を更新するため
に、予め設定された時間である。これは、追尾動作にお
いて、背景差分画像処理を用いる場合に、背景画像をで
きるだけ最新の画像にするためである。
Next, in step S26, it is determined whether or not the background difference tracking image update time has elapsed. If it is determined that the time has passed, the process proceeds to step S27, and if not, the process proceeds to step S23. The background difference tracking image update time is a preset time for updating the background image used when the background difference image processing is selected as the tracking method. This is to make the background image the latest image possible when the background difference image processing is used in the tracking operation.

【0108】ステップS27では、追尾用の背景画像を
更新する。PTZ制御部106が、パン・ティルト駆動
機構121およびズーム駆動機構122を制御して、背
景画像を順に撮影する。
In step S27, the background image for tracking is updated. The PTZ control unit 106 controls the pan / tilt drive mechanism 121 and the zoom drive mechanism 122 to sequentially capture background images.

【0109】図8は、図7のステップS23で実行され
る巡回順設定処理の流れを示すフローチャートである。
図8を参照して、まず、巡回順設定処理では、アラーム
設定時刻が過ぎたか否かが判断される(ステップS5
1)。アラーム設定時刻とは、巡回方法として時刻指定
モードが設定されている場合に、指定された時刻をい
う。指定された時刻は、ユーザが遠隔操作により、図5
(G)の巡回方法設定画面270の領域272に入力し
た時刻である。
FIG. 8 is a flow chart showing the flow of the cyclic order setting process executed in step S23 of FIG.
Referring to FIG. 8, first, in the traveling order setting process, it is determined whether or not the alarm setting time has passed (step S5).
1). The alarm set time means a specified time when the time specifying mode is set as the patrol method. The designated time is set by the user by remote control as shown in FIG.
This is the time input in the area 272 of the traveling method setting screen 270 of (G).

【0110】アラーム設定時刻を過ぎたと判断された場
合にはステップS54に進み、そうでない場合にはステ
ップS52へ進む。ステップS54では、アラーム設定
ポイントを次の巡回ポイントとする。アラーム設定ポイ
ントとは、巡回方法として時刻指定モードが設定されて
いる監視領域をいう。アラーム設定ポイントは、次に監
視の対象となる。
If it is determined that the alarm set time has passed, the process proceeds to step S54, and if not, the process proceeds to step S52. In step S54, the alarm setting point is set as the next traveling point. The alarm setting point is a monitoring area in which the time designation mode is set as the patrol method. The alarm set point is then subject to monitoring.

【0111】ステップS52では、インターバル設定の
時間を過ぎたか否かが判断される。インターバル設定時
間を過ぎたとされた場合にはステップS55へ進み、そ
うでない場合にはステップS53へ進む。インターバル
設定時間とは、巡回方法としてインターバルモードが設
定されている場合に、設定された時間間隔をいう。イン
ターバル時間は、ユーザが遠隔操作により、図5(G)
の巡回方法設定画面270の領域273に入力した時間
間隔である。
In step S52, it is determined whether or not the interval setting time has passed. If it is determined that the interval set time has passed, the process proceeds to step S55, and if not, the process proceeds to step S53. The interval set time means a set time interval when the interval mode is set as the patrol method. The interval time can be set as shown in FIG.
Is the time interval input in the area 273 of the traveling method setting screen 270.

【0112】ステップS55では、インターバル設定ポ
イントを次の巡回ポイントとする。インターバル設定ポ
イントとは、巡回方法にインターバルモードが設定され
ており、インターバル設定時間を経過した監視領域をい
う。インターバル設定ポイントは、次に監視の対象とな
る。
In step S55, the interval setting point is set as the next traveling point. The interval setting point is a monitoring area in which the interval mode is set as the patrol method and the interval setting time has elapsed. The interval set point is then subject to monitoring.

【0113】ステップS53では、シーケンス設定ポイ
ントがあるか否かが判断される。シーケンス設定ポイン
トがあるとされた場合にはステップS56へ進み、そう
でない場合にはステップS51へ進む。シーケンス設定
ポイントとは、巡回方法にシーケンスモードが設定され
ており、次の順番の監視領域をいう。シーケンスモード
における順番は、ユーザにより図5の(G)の巡回方法
設定画面270の領域274に入力した順番である。
In step S53, it is determined whether or not there is a sequence set point. If it is determined that there is a sequence setting point, the process proceeds to step S56, and if not, the process proceeds to step S51. The sequence set point is a monitoring area in which the sequence mode is set as the cyclic method and the next order is set. The order in the sequence mode is the order input by the user in the area 274 of the cyclic method setting screen 270 of FIG.

【0114】ステップS56では、シーケンス設定ポイ
ントを次の巡回ポイント(次に処理対象とする監視領
域)とする。
In step S56, the sequence setting point is set as the next traveling point (the monitoring area to be processed next).

【0115】図9は、図7のステップS43で実行され
る追尾処理の流れを示すフローチャートである。図9を
参照して、追尾処理では、まず、追尾時間が終了したか
否かが判断される(ステップS61)。追尾時間は、追
尾処理を継続する時間をいい、ユーザにより予め設定さ
れて記憶装置109に記憶されている。追尾時間が経過
した場合にはステップS67へ進み、そうでない場合に
はステップS62へ進む。
FIG. 9 is a flow chart showing the flow of the tracking process executed in step S43 of FIG. With reference to FIG. 9, in the tracking processing, first, it is determined whether or not the tracking time has ended (step S61). The tracking time refers to the time during which the tracking process is continued, and is preset by the user and stored in the storage device 109. If the tracking time has elapsed, the process proceeds to step S67, and if not, the process proceeds to step S62.

【0116】ステップS62では、追尾動作が実行され
る。追尾動作は、移動する物体の発見と、その物体の移
動する方向を予測し、カメラの撮影範囲を移動させる処
理である。移動する物体は、画像中の変化領域として検
出される。
In step S62, the tracking operation is executed. The tracking operation is a process of finding a moving object, predicting the moving direction of the object, and moving the shooting range of the camera. The moving object is detected as a change area in the image.

【0117】ステップS63では、カメラヘッド120
のCCDで撮影された画像を、追尾動作が実行されてか
ら、一定の時間の動画像を記憶装置109に記憶する
(ステップS63)。
In step S63, the camera head 120
After the tracking operation is executed, the moving image of the image captured by the CCD is stored in the storage device 109 (step S63).

【0118】次のステップS64では、変化領域(対
象)を見失ったか否かが判断される。発見動作は、画像
中から変化領域を検出することにより移動する物体の領
域を発見するため、画像中から変化領域を検出できなく
なった時点で、移動する物体の領域を見失ったものと判
断される。見失った場合にはステップS65へ進み、そ
うでない場合にはステップS61へ進む。
In the next step S64, it is determined whether or not the change area (target) is lost. Since the finding operation finds the area of the moving object by detecting the changed area in the image, it is determined that the area of the moving object is lost when the changed area cannot be detected in the image. . If it is lost, the process proceeds to step S65, and if not, the process proceeds to step S61.

【0119】ステップS65では、追尾方法が、色抽出
画像処理であるか、または、時間差分画像処理であるか
が判断され、そうである場合にはステップS66へ進
み、そうでない場合にはステップS67に進む。
In step S65, it is determined whether the tracking method is color extraction image processing or time difference image processing. If yes, the process proceeds to step S66, and if not, step S67. Proceed to.

【0120】ステップS66では、追尾方法を背景差分
画像処理に変更して追尾処理を続行する。たとえば、肌
色を特定の色として設定した色抽出画像処理で追尾方法
を実行する場合、人がカメラに顔を向けて監視領域に侵
入してきた時点で侵入者が検出される。そして、侵入者
がカメラに気付いて後ろを見た場合には顔が撮影されず
髪の毛が撮影される。この場合には、肌色が画像中から
消えることになり、侵入者が監視領域中にいるのもかか
わらず肌色の領域を抽出できなくなってしまう。
In step S66, the tracking method is changed to the background difference image processing and the tracking processing is continued. For example, when the tracking method is executed by color extraction image processing in which the skin color is set as a specific color, an intruder is detected when a person invades the surveillance area with his face facing the camera. When the intruder notices the camera and looks back, the face is not photographed and the hair is photographed. In this case, the skin color disappears from the image, and the skin color area cannot be extracted even if the intruder is in the monitoring area.

【0121】また、時間差分画像処理の場合には、物体
がレンズ123の光軸に交わる方向に移動しているとき
には追尾することができるが、レンズ123の光軸と平
行な方向に移動しているとき、たとえば、物体がレンズ
123から遠ざかる方向または近づく方向に移動した場
合には、変化領域の変動が小さいことから、物体を検出
することが困難となる。また、物体が静止した場合も同
様に、物体が監視領域に存在するにもかかわらず検出す
ることができなくなってしまう。
Further, in the case of the time difference image processing, the object can be tracked when it is moving in the direction intersecting the optical axis of the lens 123, but it is moving in the direction parallel to the optical axis of the lens 123. When the object is moving, for example, when the object moves in a direction away from or toward the lens 123, it is difficult to detect the object because the variation in the change region is small. Similarly, when the object is stationary, it cannot be detected even though the object exists in the monitoring area.

【0122】これに対して、背景差分画像処理の場合に
は、物体の侵入前に撮影した画像と侵入後に撮影した画
像とで比較するため、確実に侵入者を抽出することがで
きる。したがって、色抽出画像処理または時間差分画像
処理において発見した物体を見失った場合には、背景差
分画像処理を用いて追尾動作を行なうことにより、確実
に移動する物体を追尾することができる。
On the other hand, in the case of the background difference image processing, since the image taken before the intrusion of the object and the image taken after the intrusion are compared, the intruder can be surely extracted. Therefore, when the object found in the color extraction image processing or the time difference image processing is lost, the moving object can be reliably tracked by performing the tracking operation using the background difference image processing.

【0123】さらに、ステップS67では、ステップS
67に処理が移行する前の一定時間の動画像を記憶装置
109に記憶する。この一定時間の動画像は、たとえ
ば、画像記録部104に記録されている過去のすべての
画像を記録するようにしてもよい。このように一定時間
前の動画像を記録することで、対象を見失うまでの監視
領域を撮影した画像を記録することができる。このた
め、監視領域のどちらの方向に移動したのかを記録する
ことができる。
Further, in step S67, step S
The moving image for a certain period of time before the processing shifts to 67 is stored in the storage device 109. As the moving image for this fixed time, for example, all the past images recorded in the image recording unit 104 may be recorded. In this way, by recording the moving image of a certain time before, it is possible to record an image of the monitoring area until the target is lost. Therefore, it is possible to record in which direction the monitoring area is moved.

【0124】次に時間差分追尾処理について説明する。
時間差分追尾処理は、時間差分画像処理を用いた追尾方
法で実行される追尾処理をいう。
Next, the time difference tracking process will be described.
The time difference tracking process is a tracking process executed by a tracking method using time difference image processing.

【0125】図10は、時間差分画像処理の変化領域を
抽出する処理の一例を説明するための図である。時間差
分画像処理は、時間を異ならせて撮影領域を撮影した3
つの画像から変化領域を検出する。図10を参照して、
現在の画像310と、現在の画像310よりも過去に撮
影された画像311と、画像311よりもさらに過去に
撮影された画像312との3つの画像を用いて変化領域
の抽出が行なわれる。
FIG. 10 is a diagram for explaining an example of processing for extracting a change area in the time difference image processing. In the time difference image processing, the photographing area is photographed at different times 3
Change areas are detected from two images. Referring to FIG.
The change region is extracted using three images, which are the current image 310, the image 311 captured before the current image 310, and the image 312 captured earlier than the image 311.

【0126】画像310には、移動する物体が表された
領域313が含まれる。ただし、画像310からは移動
する物体が表された領域313を抽出することはできな
い。画像311には、画像310は、移動する物体が表
された領域314が含まれる。領域313および領域3
14には、同じ物体が表されているけれども、撮影され
た時点が異なるため画像310,311中で位置が異な
る。画像310と画像311との差分をとることによ
り、差分画像320が求められる。差分画像320に
は、領域313と領域314とが含まれる。差分画像3
20中の領域313は、移動する物体が表された領域で
あり、画像310が撮影された時点における位置に存在
する。差分画像320中の領域314は、移動する物体
が表された領域であり、画像311が撮影された時点に
おける位置に存在する。 画像310と画像312との
差分画像321が求められる。差分画像321には、領
域313と領域315とが含まれる。差分画像321中
の領域313は、移動する物体が表された領域であり、
画像310が撮影された時点における位置に存在する。
差分画像321中の領域315は、移動する物体が表さ
れた領域であり、画像312が撮影された時点における
位置に存在する。
The image 310 includes a region 313 showing a moving object. However, the region 313 in which the moving object is represented cannot be extracted from the image 310. The image 311 includes a region 314 in which the moving object is represented in the image 310. Area 313 and Area 3
Although the same object is shown in 14, the positions are different in the images 310 and 311 because the time when the image was taken is different. The difference image 320 is obtained by taking the difference between the image 310 and the image 311. The difference image 320 includes a region 313 and a region 314. Difference image 3
An area 313 in 20 is an area in which a moving object is represented, and exists in a position at the time when the image 310 is captured. A region 314 in the difference image 320 is a region in which a moving object is represented, and is present at the position when the image 311 was captured. A difference image 321 between the image 310 and the image 312 is obtained. The difference image 321 includes a region 313 and a region 315. A region 313 in the difference image 321 is a region in which a moving object is represented,
The image 310 exists at the position at the time when the image was captured.
The area 315 in the difference image 321 is an area in which a moving object is represented, and is present at the position when the image 312 was captured.

【0127】次に、差分画像320と差分画像321と
の論理積をとると画像330が求められる。これによ
り、画像330には、画像310が撮影された時点にお
ける移動する物体が表された領域313のみが含まれる
ことになる。
Next, the image 330 is obtained by taking the logical product of the difference image 320 and the difference image 321. As a result, the image 330 includes only the region 313 representing the moving object at the time when the image 310 was captured.

【0128】このように、現在の画像310と、現在よ
り過去の時点の画像311と、画像311よりもさらに
過去の時点の画像312の3枚の画像を用いて、画像3
10中から、移動する物体が表わされた変化領域313
を求めることができる。
As described above, using the three images of the current image 310, the image 311 at a time earlier than the current time, and the image 312 at a time earlier than the image 311, the image 3
A change region 313 in which a moving object is represented from 10
Can be asked.

【0129】図11は、本実施の形態における監視装置
で実行される時間差分追尾処理の流れを示すフローチャ
ートである。図11を参照して、時間差分追尾処理で
は、まず、1枚目の画像が取込まれる。そして、ステッ
プS71で画像が取込まれてから1/15秒経過したと
きの2枚目の画像が取込まれる。さらに、ステップS7
2から1/15秒経過したときの画像を3枚目の画像と
して取込む(ステップS73)。
FIG. 11 is a flow chart showing the flow of the time difference tracking process executed by the monitoring apparatus according to this embodiment. Referring to FIG. 11, in the time difference tracking process, first, the first image is captured. Then, the second image is captured when 1/15 seconds have elapsed since the image was captured in step S71. Further, step S7
The image obtained when 1/15 second has elapsed from 2 is captured as the third image (step S73).

【0130】次のステップS74では、上述した図9で
示した差分画像処理を行なうことにより、変化領域の抽
出が行なわれる。
In the next step S74, the change area is extracted by performing the differential image processing shown in FIG. 9 described above.

【0131】ステップS75では、変化領域が抽出され
た場合に、発見されたものと判断する。発見された場合
にはステップS76へ進み、そうでない場合にはステッ
プS73に進み、順次次の画像が取込まれる。
In step S75, it is determined that the change area is found when the change area is extracted. If found, the process proceeds to step S76, and if not, the process proceeds to step S73, and the next image is sequentially captured.

【0132】ステップS76では、変化領域の重心位置
が求められ、求められた重心位置が存在許容エリア外か
否かが判断される(ステップS77)。存在許容エリア
外の場合にはステップS78へ進み、そうでない場合に
はステップS73に進む。
In step S76, the barycentric position of the change area is obtained, and it is judged whether or not the obtained barycentric position is outside the existence permissible area (step S77). If it is outside the existence permissible area, the process proceeds to step S78, and if not, the process proceeds to step S73.

【0133】存在許容エリアとは、撮影範囲内の中心付
近で予め定められたエリアをいう。存在許容エリアを外
れた場合には、カメラを動かす必要があることから、カ
メラを移動させる移動量が計算される(ステップS7
8)。
The existence permissible area is a predetermined area near the center of the photographing range. If the camera is out of the existence permissible area, it is necessary to move the camera, and therefore the movement amount for moving the camera is calculated (step S7).
8).

【0134】そして、計算された移動量だけカメラを移
動可能か否かが判断され(ステップS79)、移動可能
な場合にはステップS80へ進み、そうでない場合には
ステップS81へ進む。
Then, it is judged whether or not the camera can be moved by the calculated movement amount (step S79). If the camera can be moved, the process proceeds to step S80. If not, the process proceeds to step S81.

【0135】ステップS80では、PZT制御部106
がパン・ティルト駆動機構121を制御してカメラの撮
影方向を移動させる。
In step S80, the PZT controller 106
Controls the pan / tilt drive mechanism 121 to move the shooting direction of the camera.

【0136】一方、ステップS81では、カメラが移動
不可能なため、エラーステータスをCPU102へ通知
する。そして、処理を終了する。
On the other hand, in step S81, since the camera cannot move, the CPU 102 is notified of the error status. Then, the process ends.

【0137】色抽出追尾処理は、色抽出画像処理を用い
た追尾方法で実行される処理をいう。色抽出追尾処理
は、図11に示した時間差分追尾処理のステップS71
〜S74において、3枚の画像を用いて変化領域を抽出
したのに代えて、撮影された画像から予め定められた特
定の色を含む領域を抽出し、抽出した特定の色の領域を
変化領域とする。その他の処理は、図11に示した時間
差分追尾処理と同じなので、ここでは説明を繰返さな
い。
The color extraction / tracking process is a process executed by a tracking method using the color extraction image process. The color extraction tracking process is step S71 of the time difference tracking process shown in FIG.
In S74, instead of extracting the change area using the three images, an area including a predetermined specific color is extracted from the captured image, and the extracted specific color area is set as the change area. And Since the other processes are the same as the time difference tracking process shown in FIG. 11, the description thereof will not be repeated here.

【0138】次に、背景差分追尾処理について説明す
る。背景差分追尾処理は、背景差分画像処理を用いた追
尾方法で実行される処理をいう。図12は、本実施の形
態における監視装置で実行される背景差分追尾処理にお
いて用いられる背景画像を説明するための図である。図
12(A)は背景領域と存在許容範囲とを示す図であ
り、図12(B)は背景領域とカメラの撮影可能範囲と
の関係を示す図である。
Next, the background difference tracking process will be described. The background difference tracking process is a process executed by a tracking method using the background difference image process. FIG. 12 is a diagram for explaining a background image used in the background difference tracking process executed by the monitoring device according to the present embodiment. FIG. 12A is a diagram showing the background region and the allowable existence range, and FIG. 12B is a diagram showing the relationship between the background region and the image capturing range of the camera.

【0139】図12(A)を参照して、背景領域301
は、カメラヘッド120で一度に撮影可能な範囲を示
す。背景領域301には、存在許容領域302を含む。
存在許容領域302は、背景領域301に対して予め定
められた領域である。
With reference to FIG. 12A, the background area 301
Indicates a range that can be photographed by the camera head 120 at one time. The background area 301 includes an existence permission area 302.
The existence permissible area 302 is an area predetermined with respect to the background area 301.

【0140】図12(B)を参照して、カメラの撮影可
能範囲300に複数の背景領域が隣接する背景領域との
間で互いに重畳するように配置される。また、背景領域
に含まれる存在許容領域は、隣接する背景領域の存在許
容領域と重畳することなく、接している。たとえば、背
景領域301Aと背景領域301Bとは、ハッチングで
示される部分で重なっているけれども、存在許容領域3
01Bと302Bとは重なることなくそれぞれの辺が接
している。
Referring to FIG. 12 (B), a plurality of background areas are arranged in the photographable range 300 of the camera so as to overlap with the adjacent background areas. Further, the existence permissible area included in the background area is in contact with the existence permissible area of the adjacent background area without overlapping. For example, although the background area 301A and the background area 301B overlap each other at the hatched portion, the existence permissible area 3
The sides of 01B and 302B are in contact with each other without overlapping.

【0141】このように背景領域と存在許容領域とを配
置することで、カメラの撮影可能範囲内にある物体は、
撮影可能範囲における周辺の一部の領域を除いて、いず
れかの存在許容領域に存在することになる。したがっ
て、変化領域が存在する存在許容領域を含む背景領域に
カメラの撮影範囲を切換えるようにすれば、変化領域が
移動する方向や、移動する速度を何ら考慮することな
く、また、変化領域が移動する位置を予測することな
く、変化領域を追尾することができる。
By arranging the background area and the presence-permissible area in this way, an object within the image capturing range of the camera
Except for a part of the peripheral area in the image-capable range, the area exists in any of the existence allowable areas. Therefore, if the shooting range of the camera is switched to the background area including the existence permissible area where the change area exists, the change area moves without considering the moving direction or the moving speed of the change area. The change area can be tracked without predicting the position to be changed.

【0142】また、カメラの撮影可能範囲を複数に分割
して、複数の背景領域を重複を少なくして配置したの
で、背景領域を撮影して得られる背景画像を記録してお
く容量を少なくすることができる。
Further, since the image-capturable range of the camera is divided into a plurality of areas and the plurality of background areas are arranged with a small overlap, the capacity for recording the background image obtained by capturing the background area is reduced. be able to.

【0143】図13は、本実施の形態における監視装置
で実行される背景差分追尾処理の流れを示すフローチャ
ートである。図13を参照して、背景差分追尾処理は、
まず、背景差分画像処理を用いて、背景画像中から変化
領域を算出する(ステップS91)。そして、ステップ
92において、変化領域を検出できたか否かが判断され
る。変化領域を検出できた場合にはステップS93に進
み、そうでない場合には処理を終了する。
FIG. 13 is a flow chart showing the flow of the background difference tracking processing executed by the monitoring apparatus according to this embodiment. Referring to FIG. 13, the background difference tracking process is
First, the background difference image processing is used to calculate a change area from the background image (step S91). Then, in step 92, it is determined whether or not the changed area has been detected. If the changed area can be detected, the process proceeds to step S93, and if not, the process ends.

【0144】ステップS93では、変化領域が背景領域
中の存在許容範囲内にあるか否かが判断される。存在許
容領域内にある場合にはそのまま処理を継続するためス
テップS91へ進む。一方、存在許容範囲内にない場合
には、ステップS94へ進む。
In step S93, it is determined whether or not the changed area is within the existence allowable range in the background area. If it is in the existence permissible area, the process proceeds to step S91 to continue the process. On the other hand, if it is not within the existence allowable range, the process proceeds to step S94.

【0145】ステップS94では、隣接する背景領域の
存在許容範囲内にあるか否かが判断される。隣接する背
景領域の存在許容範囲内にある場合にはステップS95
へ進み、そうでない場合にはステップS96へ進む。ス
テップS95では、隣接する背景領域へカメラの撮影範
囲を移動させるため、PTZ制御部106により、パン
・ティルト駆動機構121が制御されてPT駆動が行な
われる。そして処理はステップS91へ進み、背景差分
追尾処理が継続して行なわれることになる。
In step S94, it is determined whether or not the adjacent background areas are within the existence allowable range. If it is within the existence allowable range of the adjacent background area, step S95.
Otherwise, to step S96. In step S95, the PTZ control unit 106 controls the pan / tilt drive mechanism 121 to perform PT drive in order to move the shooting range of the camera to the adjacent background area. Then, the process proceeds to step S91, and the background difference tracking process is continuously performed.

【0146】一方、ステップS96では、変化領域が背
景領域上に存在するか否かが判断される。背景領域中に
変化領域が存在する場合には追尾処理を継続するためス
テップS91へ進み、そうでない場合には処理を終了す
る。ステップS96へ進む場合は、変化領域がカメラの
撮影可能範囲の周辺の位置であって存在許容範囲の外の
位置に存在する場合である。この場合には、隣接する背
景領域が存在しないため、そちらの方向にカメラの撮影
方向を切換えることができないため、背景領域に変化領
域が存在しない場合に処理を終了させる。
On the other hand, in step S96, it is determined whether or not the change area exists on the background area. If there is a change area in the background area, the tracking process is continued, and the process proceeds to step S91. If not, the process ends. The case of proceeding to step S96 is a case where the change area exists at a position around the image capturing range of the camera and outside the existence allowable range. In this case, since there is no adjacent background area, it is not possible to switch the shooting direction of the camera to that direction. Therefore, if there is no changed area in the background area, the process ends.

【0147】以上説明したように本実施の形態における
監視装置100は、1つの監視領域に対して発見方法を
色抽出画像処理、時間差分画像処理、背景差分画像処理
のいずれか1つまたは複数を設定することができるた
め、監視領域に応じて適切な発見方法を設定することが
できる。その結果、監視領域における変化を容易かつ正
確に発見することができる。
As described above, the monitoring apparatus 100 according to the present embodiment uses one or more of the color extraction image processing, the time difference image processing, and the background difference image processing as a discovery method for one monitoring area. Since it can be set, an appropriate discovery method can be set according to the monitoring area. As a result, changes in the monitored area can be easily and accurately detected.

【0148】さらに、追尾方法においても、色抽出画像
処理、時間差分画像処理、背景差分画像処理のいずれか
を監視領域ごとに設定することができるため、たとえ
ば、追尾する対象に合せて適切な追尾方法を設定するこ
とができる。このため、正確に追尾することが可能とな
る。
Further, also in the tracking method, any one of the color extraction image processing, the time difference image processing and the background difference image processing can be set for each monitoring area. Therefore, for example, a tracking suitable for a tracking target can be performed. The method can be set. Therefore, it is possible to track accurately.

【0149】さらに、追尾方法として色抽出画像処理、
時間差分画像処理が設定されていた場合であっても、追
尾の対象を見失ってしまったような場合には、背景差分
画像処理に切換えて追尾が継続される。このため、より
確実に対象を追尾することができる。
Further, as a tracking method, color extraction image processing,
Even if the time difference image processing is set, if the tracking target is lost, the background difference image processing is switched to and the tracking is continued. Therefore, the target can be tracked more reliably.

【0150】さらに、本実施の形態における監視装置1
00は、監視領域を複数に分割して重複を少なくした背
景領域を設定した。このため、効率良く背景画像を記憶
するので、記憶容量が少なくて済む。
Furthermore, the monitoring device 1 according to the present embodiment.
In 00, the monitoring area is divided into a plurality of areas to set a background area with less overlap. Therefore, the background image is stored efficiently, and the storage capacity is small.

【0151】さらに、本実施の形態における監視装置1
00では、背景差分追尾処理で用いる背景画像を予め定
められた背景領域を撮影した画像とした。すなわち、背
景領域中に存在許容領域を設け、存在許容領域が隣接す
る背景領域の存在許容領域と接するように背景領域が配
置される。このため、変化領域として抽出された移動物
体を追尾する場合に、存在許容領域に変化領域を含む背
景領域を撮影するようにカメラの撮影方向を決定するだ
けで、変化領域としての物体を追尾することができる。
Further, the monitoring device 1 according to the present embodiment.
In 00, the background image used in the background difference tracking process is an image obtained by photographing a predetermined background area. That is, the existence allowable area is provided in the background area, and the background area is arranged such that the existence allowable area is in contact with the existence allowable area of the adjacent background area. Therefore, when a moving object extracted as a change area is tracked, the object as the change area is tracked only by determining the shooting direction of the camera so as to shoot the background area including the change area in the existence allowable area. be able to.

【0152】さらに、処理画像中に変化領域が存在する
けれども、存在許容領域内に存在しない場合に背景領域
を変更するようにした。このため、処理画像中に変化領
域が存在する段階で次に変更する背景領域を決定するこ
とができる。
Further, the background area is changed when the change area exists in the processed image but does not exist in the existence allowance area. Therefore, the background region to be changed next can be determined at the stage when the changed region exists in the processed image.

【0153】その結果、移動する物体の移動方向や移動
速度をもとに物体の位置を予測する必要がなく、容易に
物体を追尾することが可能となる。
As a result, it is not necessary to predict the position of the moving object based on the moving direction or moving speed of the moving object, and the object can be easily tracked.

【0154】なお、本実施の形態においては、撮影した
画像に基づいて侵入者を発見するようにしたが、別途、
外部センサからの入力信号を参照するようにしてもよ
い。たとえば、玄関のドアの開閉などを検知するセンサ
を設け、そのセンサからの信号が入力されるとカメラを
ドアの方向に画角制御し、図7のステップS31以降の
処理を事項するようにしてもよい。
In this embodiment, the intruder is detected based on the photographed image, but separately,
The input signal from the external sensor may be referred to. For example, a sensor for detecting the opening and closing of a front door is provided, and when a signal from the sensor is input, the camera controls the angle of view in the direction of the door, and the processing in and after step S31 of FIG. Good.

【0155】今回開示された実施の形態はすべての点で
例示であって制限的なものではないと考えられるべきで
ある。本発明の範囲は上記した説明ではなくて特許請求
の範囲によって示され、特許請求の範囲と均等の意味お
よび範囲内でのすべての変更が含まれることが意図され
る。
The embodiments disclosed this time are to be considered as illustrative in all points and not restrictive. The scope of the present invention is shown not by the above description but by the claims, and is intended to include meanings equivalent to the claims and all modifications within the scope.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の実施の形態の1つにおける監視装置
の概略構成を示す図である。
FIG. 1 is a diagram showing a schematic configuration of a monitoring device according to an embodiment of the present invention.

【図2】 本実施の形態における監視装置で実行される
遠隔操作処理の流れを示すフローチャートである。
FIG. 2 is a flowchart showing a flow of remote operation processing executed by the monitoring device according to the present embodiment.

【図3】 本実施の形態における監視装置で実行される
設定処理の流れを示すフローチャートである。
FIG. 3 is a flowchart showing a flow of setting processing executed by the monitoring device according to the present embodiment.

【図4】 監視装置が出力する遠隔制御画面の一例を示
す図である。
FIG. 4 is a diagram showing an example of a remote control screen output by the monitoring device.

【図5】 監視装置が出力するモード設定画面の一例を
示す図である。
FIG. 5 is a diagram showing an example of a mode setting screen output by the monitoring device.

【図6】 監視装置の撮影可能範囲と監視領域との関係
を説明するための図である。
FIG. 6 is a diagram for explaining a relationship between an image-capable range of a monitoring device and a monitoring area.

【図7】 本実施の形態における監視装置で実行される
監視処理の流れを示すフローチャートである。
FIG. 7 is a flowchart showing the flow of a monitoring process executed by the monitoring device according to the present embodiment.

【図8】 図7のステップS23で実行される巡回順設
定処理の流れを示すフローチャートである。
8 is a flowchart showing a flow of a cyclic order setting process executed in step S23 of FIG.

【図9】 図7のステップS43で実行される追尾処理
の流れを示すフローチャートである。
9 is a flowchart showing the flow of tracking processing executed in step S43 of FIG.

【図10】 時間差分画像処理の1つにおける変化領域
を抽出する処理を説明するための図である。
FIG. 10 is a diagram for explaining a process of extracting a change region in one of the time difference image processes.

【図11】 本実施の形態における監視装置で実行され
る時間差分追尾処理の流れを示すフローチャートであ
る。
FIG. 11 is a flowchart showing a flow of time difference tracking processing executed by the monitoring device in the present embodiment.

【図12】 背景差分追尾処理において用いられる背景
画像を説明するための図である。
FIG. 12 is a diagram for explaining a background image used in the background difference tracking process.

【図13】 本実施の形態における監視装置で実行され
る背景差分追尾処理の流れを示すフローチャートであ
る。
FIG. 13 is a flowchart showing a flow of background difference tracking processing executed by the monitoring device according to the present embodiment.

【符号の説明】[Explanation of symbols]

100 監視装置、101 コントロールボックス、1
02 カメラヘッド、103 画像入力部、104 画
像記録部、105 画像処理部、106 PTZ制御
部、107 外部通信部、108 タイマ、109 記
憶装置、120カメラヘッド、121 パン・ティルト
駆動機構、122 ズーム駆動機構、123 レンズ、
132 インターネット、140 記録媒体、150
窓、151 ドア、160 制御部、200 遠隔制御
画面、203A,203B パンボタン、204A,2
04B ティルトボタン、205A,205B ズーム
ボタン、210 監視領域編集画面、220 新規監視
領域設定画面、230 画角設定画面、240 名称設
定画面、250 発見方法設定画面、260 追尾方法
設定画面、270 巡回方法設定画面、280 記録通
知設定画面、300撮影可能範囲、201A,201B
監視領域。
100 monitoring device, 101 control box, 1
02 camera head, 103 image input unit, 104 image recording unit, 105 image processing unit, 106 PTZ control unit, 107 external communication unit, 108 timer, 109 storage device, 120 camera head, 121 pan / tilt drive mechanism, 122 zoom drive Mechanism, 123 lens,
132 Internet, 140 recording medium, 150
Window, 151 door, 160 control unit, 200 remote control screen, 203A, 203B pan button, 204A, 2
04B tilt button, 205A, 205B zoom button, 210 monitoring area edit screen, 220 new monitoring area setting screen, 230 view angle setting screen, 240 name setting screen, 250 discovery method setting screen, 260 tracking method setting screen, 270 patrol method setting Screen, 280 record notification setting screen, 300 shootable range, 201A, 201B
Monitoring area.

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G08B 13/196 G08B 13/196 H04N 5/225 H04N 5/225 C 5/232 5/232 B C 7/18 7/18 E G (72)発明者 中村 恭子 大阪市中央区安土町二丁目3番13号大阪国 際ビル ミノルタ株式会社内 (72)発明者 吉井 謙 大阪市中央区安土町二丁目3番13号大阪国 際ビル ミノルタ株式会社内 (72)発明者 金藤 靖尚 大阪市中央区安土町二丁目3番13号大阪国 際ビル ミノルタ株式会社内 Fターム(参考) 2H105 EE16 5C022 AA05 AB62 AB63 AB65 AC01 AC27 AC69 AC74 CA00 5C054 CC05 CF07 CG02 DA06 EA01 FA09 FC01 FC13 FE09 FE16 GB02 HA19 5C084 AA02 AA07 AA14 AA18 BB31 CC16 DD12 FF03 GG39 GG78Front page continuation (51) Int.Cl. 7 identification code FI theme code (reference) G08B 13/196 G08B 13/196 H04N 5/225 H04N 5/225 C 5/232 5/232 B C 7/18 7 / 18 EG (72) Kyoko Nakamura, 2-3-13 Azuchi-cho, Chuo-ku, Osaka City, Osaka International Building Minolta Co., Ltd. (72) Ken Ken Yoshii, 2-3-3 Azuchi-cho, Chuo-ku, Osaka International Building Minolta Co., Ltd. (72) Inventor Yasuhisa Kanto 2-3-3 Azuchi-cho, Chuo-ku, Osaka Osaka International Building Minolta Co., Ltd. F-term (reference) 2H105 EE16 5C022 AA05 AB62 AB63 AB65 AC01 AC27 AC69 AC74 CA00 5C054 CC05 CF07 CG02 DA06 EA01 FA09 FC01 FC13 FE09 FE16 GB02 HA19 5C084 AA02 AA07 AA14 AA18 BB31 CC16 DD12 FF03 GG39 GG78

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の撮影領域を撮影可能な撮影手段
と、 前記撮影手段により撮影して得られた画像に基づいて監
視対象物体を検出するための検出手段と、 遠隔制御するためのコマンドを受信するコマンド受信手
段と、 前記検出手段による物体の検出がされていないことを条
件に、前記受信したコマンドに対応する処理を実行する
コマンド実行手段とを備えた、監視装置。
1. A photographing means capable of photographing a plurality of photographing areas, a detecting means for detecting an object to be monitored based on an image obtained by photographing by the photographing means, and a command for remote control. A monitoring device comprising: a command receiving unit for receiving; and a command executing unit for executing a process corresponding to the received command on condition that an object is not detected by the detecting unit.
【請求項2】 前記物体が前記撮影手段により撮影され
ている範囲に含まれるように前記撮影手段を制御する追
尾手段をさらに備え、 前記コマンド実行手段は、前記追尾手段により前記撮影
手段が制御されていないことを条件に、前記受信したコ
マンドに対応する処理を実行する、請求項1に記載の監
視装置。
2. A tracking means for controlling the photographing means so that the object is included in a range photographed by the photographing means, and the command executing means controls the photographing means by the tracking means. The monitoring device according to claim 1, which executes a process corresponding to the received command on the condition that the monitoring command is not received.
【請求項3】 前記検出手段により前記物体が検出され
た場合に、前記物体を拡大して画像中に含めるように前
記撮像手段の画角を変更する注視制御手段をさらに備
え、 前記コマンド実行手段は、前記注視制御手段により前記
撮像手段が制御されていないことを条件に、前記受信し
たコマンドに対応する処理を実行する、請求項1に記載
の監視装置。
3. The command executing means, further comprising gaze control means for changing the angle of view of the imaging means so as to enlarge the object and include it in an image when the detecting means detects the object. The monitoring device according to claim 1, wherein the monitoring device executes a process corresponding to the received command on condition that the image capturing device is not controlled by the gaze control device.
【請求項4】 複数の撮影領域を撮影可能な撮影手段を
備えた監視装置で実行する監視方法であって、 前記撮影手段により撮影して得られた画像に基づいて監
視対象物体を検出するステップと、 遠隔制御するためのコマンドを受信するステップと、 前記検出ステップにより前記物体の検出がされていない
ことを条件に、前記受信したコマンドに対応する処理を
実行するステップとを含む、監視方法。
4. A monitoring method executed by a monitoring device having a photographing means capable of photographing a plurality of photographing areas, the step of detecting an object to be monitored based on an image obtained by the photographing means. And a step of receiving a command for remote control, and a step of executing a process corresponding to the received command on condition that the object is not detected by the detecting step.
【請求項5】 複数の撮影領域を撮影可能な撮影手段を
備えた監視装置で実行する監視プログラムであって、 前記撮影手段により撮影して得られた画像に基づいて監
視対象物体を検出するステップと、 遠隔制御するためのコマンドを受信するステップと、 前記検出ステップにより前記物体の検出がされていない
ことを条件に、前記受信したコマンドに対応する処理を
実行するステップとを監視装置に実行させる、監視プロ
グラム。
5. A monitoring program executed by a monitoring device having a photographing means capable of photographing a plurality of photographing areas, the step of detecting a monitoring target object based on an image obtained by photographing by the photographing means. And causing the monitoring device to execute a step of receiving a command for remote control, and a step of executing a process corresponding to the received command on condition that the object is not detected by the detecting step. , Monitoring program.
JP2002054567A 2002-02-28 2002-02-28 Monitoring device, monitoring method and monitoring program Pending JP2003255442A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002054567A JP2003255442A (en) 2002-02-28 2002-02-28 Monitoring device, monitoring method and monitoring program
US10/375,616 US7257235B2 (en) 2002-02-28 2003-02-27 Monitoring apparatus, monitoring method, monitoring program and monitoring program recorded recording medium readable by computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002054567A JP2003255442A (en) 2002-02-28 2002-02-28 Monitoring device, monitoring method and monitoring program

Publications (1)

Publication Number Publication Date
JP2003255442A true JP2003255442A (en) 2003-09-10

Family

ID=28665691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002054567A Pending JP2003255442A (en) 2002-02-28 2002-02-28 Monitoring device, monitoring method and monitoring program

Country Status (1)

Country Link
JP (1) JP2003255442A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209728A (en) * 2004-06-08 2006-08-10 Chuo Electronics Co Ltd Unauthorized entry detection device and detection method, and entry control system using it
JP2007102650A (en) * 2005-10-07 2007-04-19 Nippon Telegr & Teleph Corp <Ntt> System, method and program for detecting motion area
US7378816B2 (en) 2004-09-03 2008-05-27 Siemens Energy & Automation, Inc. System and method for confirming a detection of low voltage and shorted SCRs
US7433588B2 (en) * 2004-11-16 2008-10-07 Canon Kabushiki Kaisha Camera control apparatus, camera control method, program and storage medium
US7796161B2 (en) 2004-06-25 2010-09-14 Canon Kabushiki Kaisha Camera control apparatus, method for controlling camera, and storage medium
US8098292B2 (en) 2004-09-29 2012-01-17 Casio Computer Co., Ltd. Method of capturing still image during capture of moving image and image capture apparatus
JP2012110027A (en) * 2012-01-30 2012-06-07 Jvc Kenwood Corp Video camera and control method thereof
JP2015078802A (en) * 2013-10-18 2015-04-23 日立アプライアンス株式会社 Indoor unit of air conditioning device and air conditioning device
JP2015078793A (en) * 2013-10-17 2015-04-23 日立アプライアンス株式会社 Indoor unit of air conditioning device and air conditioning device using the same
WO2017002477A1 (en) * 2015-06-30 2017-01-05 ケーアンドエムエンタープライズ株式会社 Method and program for processing images within display screen

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209728A (en) * 2004-06-08 2006-08-10 Chuo Electronics Co Ltd Unauthorized entry detection device and detection method, and entry control system using it
US7796161B2 (en) 2004-06-25 2010-09-14 Canon Kabushiki Kaisha Camera control apparatus, method for controlling camera, and storage medium
US7378816B2 (en) 2004-09-03 2008-05-27 Siemens Energy & Automation, Inc. System and method for confirming a detection of low voltage and shorted SCRs
US8098292B2 (en) 2004-09-29 2012-01-17 Casio Computer Co., Ltd. Method of capturing still image during capture of moving image and image capture apparatus
US7433588B2 (en) * 2004-11-16 2008-10-07 Canon Kabushiki Kaisha Camera control apparatus, camera control method, program and storage medium
JP2007102650A (en) * 2005-10-07 2007-04-19 Nippon Telegr & Teleph Corp <Ntt> System, method and program for detecting motion area
JP4627711B2 (en) * 2005-10-07 2011-02-09 日本電信電話株式会社 Motion region detection system, motion region detection method, and motion region detection program
JP2012110027A (en) * 2012-01-30 2012-06-07 Jvc Kenwood Corp Video camera and control method thereof
JP2015078793A (en) * 2013-10-17 2015-04-23 日立アプライアンス株式会社 Indoor unit of air conditioning device and air conditioning device using the same
JP2015078802A (en) * 2013-10-18 2015-04-23 日立アプライアンス株式会社 Indoor unit of air conditioning device and air conditioning device
WO2017002477A1 (en) * 2015-06-30 2017-01-05 ケーアンドエムエンタープライズ株式会社 Method and program for processing images within display screen
US10102825B2 (en) 2015-06-30 2018-10-16 K&M Enterprise Inc. Method and program for processing image within display screen

Similar Documents

Publication Publication Date Title
EP3540620B1 (en) Image processing device and image providing method therefor
KR100634237B1 (en) Image surveillance apparatus, and image surveillance method
US7742625B2 (en) Autonomous camera having exchangable behaviours
JP3770180B2 (en) Object monitoring device
EP1585332B1 (en) Remote video display method, video acquisition device, method thereof, and program thereof
KR101215199B1 (en) Information processing system, information processing apparatus and information processing method, and recording medium
JP4498104B2 (en) Monitoring device, control method thereof, and program
JP4378636B2 (en) Information processing system, information processing apparatus, information processing method, program, and recording medium
JP2006523043A (en) Method and system for monitoring
JP6938270B2 (en) Information processing device and information processing method
JP2006333133A (en) Imaging apparatus and method, program, program recording medium and imaging system
JP4722537B2 (en) Monitoring device
JP2003255442A (en) Monitoring device, monitoring method and monitoring program
US7257235B2 (en) Monitoring apparatus, monitoring method, monitoring program and monitoring program recorded recording medium readable by computer
CN108462827A (en) A kind of method and device obtaining image data
JP5555044B2 (en) Camera control device and camera system
JP4055436B2 (en) Monitoring device, monitoring method, monitoring program, and computer-readable recording medium recording the monitoring program
JP2003199097A (en) Monitoring system center apparatus, monitoring system center program and recording medium for recording monitoring system center program
KR100689287B1 (en) Camera Control System In Use Of Tile Sensing and a Method Using Thereof
JP4794903B2 (en) Terminal device, control method performed by terminal device, and program
KR101228144B1 (en) Method for moving watch screen position in digital video recorder for monitoring
KR101282907B1 (en) Method for controlling function preset in digital video recorder
JP2002042272A (en) Monitor, monitoring method, and record medium readable of computer recording monitor program
JP2006338467A (en) Surveillance system and controlling method for it
JP3711119B2 (en) Imaging apparatus, imaging system, and imaging method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20040927

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070823

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071023