JPH05258184A - Security device - Google Patents

Security device

Info

Publication number
JPH05258184A
JPH05258184A JP8656992A JP8656992A JPH05258184A JP H05258184 A JPH05258184 A JP H05258184A JP 8656992 A JP8656992 A JP 8656992A JP 8656992 A JP8656992 A JP 8656992A JP H05258184 A JPH05258184 A JP H05258184A
Authority
JP
Japan
Prior art keywords
video
image
security
difference
data
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
JP8656992A
Other languages
Japanese (ja)
Inventor
Hitohisa Eto
仁久 江藤
Takeshi Miyamoto
武司 宮本
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.)
Bosch Corp
Original Assignee
Zexel Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zexel Corp filed Critical Zexel Corp
Priority to JP8656992A priority Critical patent/JPH05258184A/en
Publication of JPH05258184A publication Critical patent/JPH05258184A/en
Pending legal-status Critical Current

Links

Landscapes

  • Alarm Systems (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Burglar Alarm Systems (AREA)

Abstract

PURPOSE:To automate security by discriminating whether an intruder exists within a security section or not based on information concerning difference between two different frame video signals inside a video output signal from a video camera. CONSTITUTION:A first memory 42 normally stores the video signal for one latest frame and the second memory 43 normally stores the video signal for the one frame immediately before the above frame. These video signals VSm and VSo are inputted to a difference arithmetic part 44 and an arithmetic processing for obtaining difference between them is executed. Then, video data which is indicated by an obtained difference video signal VSd is binarized and processed in a binarizing part 45 and binarized picture data VD is outputted. The data VD is inputted to an intrusion discriminating part 46 where it is checked whether binarized picture data is more than a prescribed data or not. When it is more than the prescribed one, a picture based on the difference video signal VSd is judged to be the one owing to the exsistance of the intruder within the security section.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はビデオカメラを用いた警
備装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a security device using a video camera.

【0002】[0002]

【従来の技術】従来、特定の室内、或いは広い室内の特
定の区域を警備するため、防犯カメラ装置が広く用いら
れている。従来の防犯カメラ装置の多くは、所要の警備
区域の状態と共に時刻情報を併せて記録するエンドレス
ビデオ記録装置を有しており、防犯カメラ装置からの映
像が警備員等によってモニターされており、警備区域内
に侵入するものがいる場合には警備員が防犯ベルを鳴ら
したり、警察への通報を行なうほか、エンドレスビデオ
記録装置によって記録された映像を証拠として使用でき
る構成となっている。
2. Description of the Related Art Conventionally, security camera devices have been widely used to guard a specific room or a specific area in a large room. Many of the conventional security camera devices have an endless video recording device that records time information together with the state of the required security area, and the image from the security camera device is monitored by security guards etc. If there is something intruding into the area, the guards will ring the crime prevention bell, report to the police, and the video recorded by the endless video recording device can be used as evidence.

【0003】[0003]

【発明が解決しようとする課題】しかし、この従来の防
犯カメラ装置では、警備区域内への侵入があった場合、
これを自動的に検知することができず、侵入者の検知を
行なうためには、赤外線又は超音波等による侵入検知装
置を併設しなければならなかった。本発明の目的は、ビ
デオカメラ装置からの映像信号を用いて、所要の警備区
域内への侵入者の有無を電気的に検知することができる
ようにした、警備装置を提供することにある。
However, in this conventional security camera device, if there is an intrusion into the security area,
This cannot be detected automatically, and in order to detect an intruder, an intrusion detection device using infrared rays or ultrasonic waves must be installed. An object of the present invention is to provide a security device capable of electrically detecting the presence or absence of an intruder in a required security area by using a video signal from a video camera device.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
の本発明の特徴は、フレーム蓄積型のCCDビデオカメ
ラ又は撮像管方式のビデオカメラを用いた警備装置にお
いて、ビデオカメラから出力される映像信号中の2つの
異なるフレームの映像信号間の差分を得るための処理を
行なう処理手段と、該処理手段に応答し上記差分が所定
量より大きいか否かを判別する侵入判別手段と、該判別
手段に応答し上記差分が上記所定量より大きい場合に警
備のための出力を出す出力手段とを備えた点にある。ま
た、侵入判別手段によって上記差分が上記所定利用より
大きいと判別された場合、あるいはそれとは無関係に、
一対のフィールド映像信号に基づいて撮影画像内の移動
体像の移動ベクトルの計算を行なうベクトル計算手段
と、該移動ベクトルが予め定められた特定の保護対象に
向いているか否かを判別するベクトル判別手段とをさら
に備え、移動物体が所定の方向に移動している場合に、
警備のための出力を発するように構成することができ
る。
A feature of the present invention for solving the above-mentioned problems is that a video output from a video camera in a security device using a frame accumulation type CCD video camera or an image pickup tube type video camera. Processing means for performing a process for obtaining a difference between video signals of two different frames in the signal, intrusion determination means for responding to the processing means to determine whether or not the difference is larger than a predetermined amount, and the determination In response to the means, an output means for outputting an output for security when the difference is larger than the predetermined amount is provided. Further, when it is determined by the intrusion determining means that the difference is larger than the predetermined use, or irrespective of that,
Vector calculating means for calculating a movement vector of a moving body image in a captured image based on a pair of field video signals, and vector discrimination for discriminating whether or not the movement vector is directed to a predetermined specific protection target. Further comprising means, when the moving object is moving in a predetermined direction,
It can be configured to emit an output for security.

【0005】[0005]

【作用】処理手段によって得られた、ビデオカメラから
の映像出力信号中の2つの異なるフレーム映像信号間の
差分に関する情報に基づき、警備区域内に侵入者があっ
たか否かの判別が侵入判別手段により判別される。また
は、ベクトル計算手段によって移動物体の移動ベクトル
が計算され、その移動ベクトルが所定の方向を向いてい
る場合に警備のための出力が与えられる。
The intrusion determining means determines whether or not there is an intruder in the security area based on the information on the difference between two different frame image signals in the image output signal from the video camera, which is obtained by the processing means. To be determined. Alternatively, the moving vector of the moving object is calculated by the vector calculating means, and an output for security is given when the moving vector points in a predetermined direction.

【0006】[0006]

【実施例】以下、図面を参照して、本発明の一実施例に
つき詳細に説明する。図1には、本発明による警備装置
の一実施例の構成が示されている。本発明による警備装
置1は、室R内に設置されたビデオカメラ2と、ビデオ
カメラ2からの映像出力信号VSを記録するためのエン
ドレスビデオレコーダ3とを有している。ビデオカメラ
2は、図示の実施例では、シャッタなしの2:1インタ
ーレース走査方式の撮像管式のビデオカメラであり、室
Rに設置されている金庫Kを含む所定の警備区域がその
視野内に入るように調整されており、その映像出力信号
VSは、実時間処理によって画像計測を行なうための画
像処理装置4にも入力されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 shows the configuration of an embodiment of a security device according to the present invention. The security device 1 according to the present invention has a video camera 2 installed in a room R and an endless video recorder 3 for recording a video output signal VS from the video camera 2. In the illustrated embodiment, the video camera 2 is a 2: 1 interlaced scanning type image pickup tube type video camera, and a predetermined security area including a safe K installed in a room R is within its field of view. The video output signal VS is adjusted so as to enter, and is also input to the image processing device 4 for performing image measurement by real-time processing.

【0007】画像処理装置4は、公知のマイクロコンピ
ュータシステムとして構成されており、そのメモリ部5
内にストアされている画像処理プログラムに従って映像
出力信号VSが処理される構成となっている。
The image processing apparatus 4 is constructed as a known microcomputer system, and its memory section 5 is provided.
The video output signal VS is processed according to the image processing program stored therein.

【0008】図2には、画像処理装置4において実行さ
れる映像出力信号VSの処理の内容を示す機能図が示さ
れている。メモリ部41は第1メモリ42と第2メモリ
43とを有し、映像出力信号VS中の連続する2つの1
フレーム分映像信号VSn、VSoが第1及び第2メモ
リ42、43にそれぞれディジタルデータの形式でスト
アされる。ここで、映像信号VSnは最新の1フレーム
分の映像信号であり、映像信号VSoはそれより1フレ
ーム前の1フレーム分の映像信号である。すなわち、第
1メモリ42には、最新の1フレーム分の映像信号が常
にストアされており、第2メモリ43にはそれより1つ
前のフレームの1フレーム分の映像信号が常にストアさ
れている。
FIG. 2 is a functional diagram showing the contents of the processing of the video output signal VS executed in the image processing device 4. The memory unit 41 has a first memory 42 and a second memory 43, and has two consecutive 1's in the video output signal VS.
The frame video signals VSn and VSo are stored in the first and second memories 42 and 43, respectively, in the form of digital data. Here, the video signal VSn is a video signal for the latest one frame, and the video signal VSo is a video signal for one frame that is one frame before that. That is, the first memory 42 always stores the latest one-frame video signal, and the second memory 43 always stores the one-frame previous video signal for one frame. ..

【0009】これらの映像信号VSn、VSoは差分演
算部44に入力され、本実施例では、ここで、両者の差
分を得るための減算処理が行なわれる。この結果得られ
た差分映像信号VSdによって示される映像データが2
値化部45において公知の適宜の手段によって2値化処
理され、2値化画像データVDが出力される。2値化画
像データVDは侵入判別部46に入力され、ここで、2
値化画像データVDの画素数が所定以上であるか否かが
チェックされる。その画素数が所定数以上である場合、
差分映像信号VSdに基づく画像は侵入者が警備区域内
にいるためであると判断され、警備区域内に侵入者あり
とする第1判別出力H1が出力される。
These video signals VSn and VSo are input to the difference calculation section 44, and in this embodiment, a subtraction process is performed here to obtain the difference between the two. The video data indicated by the differential video signal VSd obtained as a result is 2
The binarization unit 45 binarizes the binarized image data VD by a known appropriate means. The binarized image data VD is input to the intrusion determination unit 46, where 2
It is checked whether the number of pixels of the binarized image data VD is a predetermined number or more. If the number of pixels is more than the specified number,
The image based on the differential video signal VSd is determined to be because the intruder is in the security area, and the first determination output H1 indicating that the intruder is in the security area is output.

【0010】一方、映像出力信号VSは、メモリ部41
を介して移動ベクトル計算部47にも入力されている。
移動ベクトル計算部47は、映像出力信号VSによって
得られた1フィールド分の画像データを処理し、この画
像データ中に含まれる移動する物体の移動ベクトルを計
算するためのものである。この移動ベクトルの計算のた
めのデータ処理を図3を参照して説明する。
On the other hand, the video output signal VS is stored in the memory section 41.
It is also input to the movement vector calculation unit 47 via.
The movement vector calculation unit 47 processes the image data of one field obtained by the video output signal VS and calculates the movement vector of the moving object included in the image data. Data processing for calculating the movement vector will be described with reference to FIG.

【0011】映像出力信号VSは、信号分離部51にお
いて奇数フィールド映像信号VS1と偶数フィールド映
像信号VS2とに分離され、各信号VS1、VS2は第
1演算部52、第2演算部53にそれぞれ入力される。
The video output signal VS is separated into an odd field video signal VS1 and an even field video signal VS2 in the signal separation section 51, and the signals VS1 and VS2 are input to the first calculation section 52 and the second calculation section 53, respectively. To be done.

【0012】ここで、ビデオカメラ2から出力される映
像出力信号VSの構成について説明する。ビデオカメラ
2で捉えた警備区域の様子を示す映像出力信号VSによ
る1フレームの画像は、1組のフィールド画像を組み合
わせることにより得られるものである。これらの各フィ
ールド画像は次のようにして得られるものである。
The structure of the video output signal VS output from the video camera 2 will be described below. The image of one frame by the video output signal VS showing the state of the security area captured by the video camera 2 is obtained by combining one set of field images. Each of these field images is obtained as follows.

【0013】すなわち、ビデオカメラ2が捉えた警備区
域をインターレース方式で走査すると、先ず奇数番目の
走査線に従う走査により該警備区域の走査が行なわれ、
奇数フィールド映像信号が得られる。この場合、シャッ
タなしのため、若し警備区域内で侵入者が動いていれ
ば、その運動期間中に上述の走査が行なわれる。次い
で、偶数番目の走査線に従う走査による同一視野で警備
区域の走査が行なわれ、偶数フィールド映像信号が得ら
れる。
That is, when the security area captured by the video camera 2 is scanned by the interlace system, the security area is first scanned by scanning in the odd-numbered scanning lines.
An odd field video signal is obtained. In this case, since there is no shutter, if the intruder is moving in the guarded area, the above scanning is performed during the exercise period. Then, the security area is scanned in the same field of view by the scanning according to the even-numbered scanning lines, and the even-field video signal is obtained.

【0014】この飛び越し走査は、図4の(a)で示さ
れるように、1/60秒毎に出力されている垂直同期信
号の各パルスP1、P2、・・・に同期して、奇数フィ
ールドの走査が1/30秒の時間長さのタイムスロット
T1において実行されるとすると、これに対応する偶数
フィールド走査は、同じく1/30秒の時間長さのタイ
ムスロットT2において実行される。したがって、この
場合、タイムスロットT1とT2とは、1/60秒間だ
け重複している。
As shown in FIG. 4A, this interlaced scanning is performed in synchronization with each pulse P1, P2, ... Of the vertical synchronizing signal output every 1/60 second, in an odd field. Suppose that a scan of 1 is performed in time slot T1 of 1/30 second duration, the corresponding even field scan is also performed in time slot T2 of 1/30 second duration. Therefore, in this case, the time slots T1 and T2 overlap by 1/60 seconds.

【0015】このようにしてタイムスロットT1におい
て得られた奇数フィールド映像信号は図4の(b)に示
される映像信号VSのタイムスロットTaにあてはめら
れる。一方、タイムスロットT2において得られた偶数
フィールド映像信号は、図4の(b)に示される映像信
号VSのタイムスロットTbにあてはめられ、このよう
にしてテレビジョン映像信号VSが作られる。
The odd field video signal thus obtained in the time slot T1 is applied to the time slot Ta of the video signal VS shown in FIG. 4B. On the other hand, the even field video signal obtained in the time slot T2 is applied to the time slot Tb of the video signal VS shown in FIG. 4B, and the television video signal VS is produced in this manner.

【0016】奇数フィールド映像信号VS1及び偶数フ
ィールド映像信号VS2は、第1演算部52及び第2演
算部53によって、各信号VS1、VS2に従う1フレ
ーム分の警備区域の様子を示す画像データD1、D2が
夫々得られる。
The odd field video signal VS1 and the even field video signal VS2 are image data D1 and D2 showing the state of the guard area for one frame according to the respective signals VS1 and VS2 by the first operation unit 52 and the second operation unit 53. Are obtained respectively.

【0017】画像データD1は、例えば図5の(a)に
示される如く、1つおきの走査線、、、、・・
・の画像情報を有する奇数フィールド映像信号VS1に
基づき、走査線、、、・・・の内容として走査線
、、、、・・・の内容を用いて補間し、図5の
(b)に示される1フレームの画像情報を示すデータと
して作成される。
The image data D1 is, for example, as shown in FIG. 5 (a), every other scanning line, ...
Based on the odd field video signal VS1 having the image information of, the contents of the scanning lines, ... Are interpolated using the contents of the scanning lines ,. Is created as data indicating the image information of one frame.

【0018】一方、画像データD2は、偶数フィールド
映像信号VS2に含まれる走査線、、、・・・の
画像情報に基づき、図5の(b)に示した補間と同様の
補間により1フレーム分の画像情報を示すデータとして
作成される。
On the other hand, the image data D2 corresponds to one frame by the same interpolation as that shown in FIG. 5B based on the image information of the scanning lines included in the even field video signal VS2. It is created as data indicating the image information of.

【0019】したがって、警備区域内で侵入者が移動す
るなど、何らかの移動体が存在すると、奇数フィールド
の画像情報に基づく画像データD1に従う移動体画像x
と、偶数フィールドの画像情報に基づく画像データD2
に従う移動体画像yとは、図6に模式的に示すように、
その移動方向に沿って若干ずれることとなり、そのうち
の一部が重複している。
Therefore, if there is any moving body such as an intruder moving in the security area, the moving body image x according to the image data D1 based on the image information of the odd number field.
And image data D2 based on the image information of the even field
The moving body image y according to is, as schematically shown in FIG.
There will be some deviation along the movement direction, and some of them will overlap.

【0020】このようにして得られた1組の画像データ
D1、D2は論理積演算部54に与えられ、ここで、一
方の画像データD1に従う各画像と他方の画像データD
2に従う各画像との間で論理積演算が実行される。そし
て、論理積演算結果に従う論理積像が存在する画像の組
合わせを示す組合わせデータCBが移動ベクトル計算部
55に与えられる。
The set of image data D1 and D2 thus obtained is given to the logical product calculating section 54, where each image according to one image data D1 and the other image data D1.
An AND operation is executed with each image according to 2. Then, combination data CB indicating a combination of images in which a logical product image according to the logical product calculation result exists is provided to the movement vector calculation unit 55.

【0021】移動ベクトル計算部55には、さらに、画
像データD1、D2が与えられており、これらに基づき
画像の重心位置が計算される。さらに、画像の組合わせ
を示す組合わせデータCBに基づく各画像対における重
心位置の移動ベクトルが計算され、この結果を示す移動
ベクトルデータVRが出力される。
The movement vector calculation section 55 is further provided with image data D1 and D2, and the barycentric position of the image is calculated based on these. Further, the movement vector of the position of the center of gravity in each image pair is calculated based on the combination data CB indicating the combination of images, and the movement vector data VR indicating this result is output.

【0022】図2に戻ると、移動ベクトルデータVRは
移動ベクトル判別部48に与えられる。警備区域内に移
動する物体がない場合には得られた移動ベクトルの値は
全て零であるが、移動物体が存在する場合には何らかの
値を有する移動ベクトルデータが得られることとなり、
移動ベクトル判別部48では、何らかの値を有する移動
ベクトルについて、それらの各方向が金庫Kに向かって
いるか否かの判別が行なわれる。もし、得られた移動ベ
クトルのうちの1つでもその方向が金庫Kに向かってい
ると判断されると、第2判別出力H2が出力される。
Returning to FIG. 2, the movement vector data VR is given to the movement vector discriminating section 48. If there is no moving object in the security area, the values of the obtained movement vector are all zero, but if there is a moving object, movement vector data having some value will be obtained,
The movement vector discriminating unit 48 discriminates whether or not each direction of the movement vector having any value is toward the safe K. If it is determined that the direction of even one of the obtained movement vectors is toward the safe K, the second determination output H2 is output.

【0023】出力部49は、第1及び第2判別出力H
1、H2に応答し、第1及び第2判別出力H1、H2が
同時に出力された場合にのみ、警備のための出力信号O
を出力する。なお、ここで、移動ベクトル判別部48
は、移動ベクトルが金庫Kに向かっているか否かの判別
を行なうように構成されているが、警備区域内に複数の
警備対象物がある場合には、それぞれの警備対象物に移
動ベクトルが向いているか否かを判別するように構成
し、移動ベクトルが少なくともいずれか1つの警備対象
物に向いている場合に第2判別出力H2を出力するよう
にしてもよい。
The output section 49 outputs the first and second discrimination outputs H.
Output signal O for security only when the first and second discrimination outputs H1 and H2 are simultaneously output in response to 1 and H2.
Is output. Note that, here, the movement vector determination unit 48
Is configured to determine whether or not the movement vector is heading to the safe K, but when there are a plurality of security objects in the security area, the movement vector is directed to each security object. Alternatively, the second determination output H2 may be output when the movement vector is directed to at least one of the security targets.

【0024】図1に示されるように、この出力信号Oは
画像処理装置4の出力として警備装置5に入力され、警
備装置5を作動させる。すなわち、ビデオカメラ2から
の映像出力信号VSに基づいてビデオカメラ2が捉えた
警備区域の画像を上述の如く処理することにより、警備
区域内に移動物体が存在すること、及びその移動物体が
金庫Kに向かって移動していることが判別された場合に
警備装置5を作動させる構成となっている。
As shown in FIG. 1, the output signal O is input to the security device 5 as an output of the image processing device 4 and operates the security device 5. That is, by processing the image of the security area captured by the video camera 2 based on the video output signal VS from the video camera 2 as described above, the presence of a moving object in the security area, and the moving object When it is determined that the vehicle is moving toward K, the security device 5 is activated.

【0025】しかし、本発明の警備装置は、この一実施
例の構成に限定されず、警備区域内において移動物体が
存在することが侵入判別部46において判別されたこと
のみによって出力信号Oを出力する構成としてもよい
し、または、移動ベクトル判別部48において警備区域
内の移動物体が所定の警備対象物である金庫Kに向いて
いる場合にのみ出力信号Oを出力する構成であってもよ
い。また、警備装置5は、非常ベル、警察への通報装
置、その他の公知の適宜の装置とすることができる。
However, the security device of the present invention is not limited to the configuration of this embodiment, and outputs the output signal O only when the intrusion determination unit 46 determines that a moving object exists in the security area. Alternatively, the moving vector discriminating unit 48 may output the output signal O only when the moving object in the guarded area faces the safe K, which is a predetermined guarded object. .. Further, the security device 5 can be an emergency bell, a police report device, or any other known appropriate device.

【0026】画像処理装置4における上述の処理操作と
並行してエンドレスビデオレコーダ3によって警備区域
の様子が録画されているので、その記録映像が犯人捜査
のために役立つことは勿論である。
Since the state of the security area is recorded by the endless video recorder 3 in parallel with the above-mentioned processing operation in the image processing apparatus 4, it goes without saying that the recorded image is useful for criminal investigation.

【0027】図7には、画像処理装置4において実行さ
れる画像処理プログラムを示すフローチャートが示され
ている。この画像処理プログラム60の実行により、既
に説明した図2に示す機能図に従う画像処理が遂行され
ていることになる。
FIG. 7 is a flow chart showing an image processing program executed by the image processing apparatus 4. By executing the image processing program 60, the image processing according to the functional diagram shown in FIG. 2 already described is executed.

【0028】画像処理プログラム60の実行が開始され
ると、先ず、ステップ61で映像出力信号VSの連続す
る2フレーム分の映像信号に応じた映像データが入力さ
れ、これらの2フレーム分の映像信号のうちの一方のフ
レーム映像信号による画像と他方のフレーム映像信号に
よる画像との差分を得るための差分演算処理がステップ
62において実行される。
When the execution of the image processing program 60 is started, first, in step 61, the video data corresponding to the video signals of two consecutive frames of the video output signal VS are input, and the video signals of these two frames are input. In step 62, difference calculation processing is performed to obtain a difference between the image of one of the frame video signals and the image of the other frame video signal.

【0029】次のステップ63では、ステップ62で得
られた差分画像データの2値化を行なう。この2値化
は、例えば、2値化のためのしきい値の決定を自動的に
行なう大津の方法による2値化法を採用してもよい。2
値化後、ステップ64に入り、ここで、2値化画像デー
タの画素数が所定値Mより大きいか否かが判別される。
2値化画像データの画素数が所定値M以下であると、こ
の差分画像データは侵入者を表すものではないと判別さ
れ、ステップ64の判別結果はNOとなり、ステップ6
1に戻る。一方、2値化画像データの画素数が所定値M
より大きいと、この差分画像データは侵入者を表すもの
であると判別され、ステップ64の判別結果はYESと
なり、ステップ65に進む。
At the next step 63, the difference image data obtained at step 62 is binarized. For this binarization, for example, the binarization method according to Otsu's method for automatically determining the threshold value for binarization may be adopted. Two
After the binarization, step 64 is entered, where it is judged whether or not the number of pixels of the binarized image data is larger than a predetermined value M.
If the number of pixels of the binarized image data is less than or equal to the predetermined value M, it is determined that the difference image data does not represent an intruder, and the determination result of step 64 is NO, and step 6
Return to 1. On the other hand, the number of pixels of the binarized image data is a predetermined value M
If it is larger, it is determined that the difference image data represents an intruder, the determination result of step 64 is YES, and the process proceeds to step 65.

【0030】ステップ65では、ステップ61で入力さ
れた映像データに基づき、この映像データに基づく移動
体の画像の移動ベクトルが計算される。
In step 65, based on the video data input in step 61, the movement vector of the image of the moving body based on the video data is calculated.

【0031】この移動ベクトルの計算処理について、図
8を参照して詳細に説明する。移動ベクトルの計算の実
行が開始されると、先ず、ステップ71において、映像
出力信号VSに基づいて奇数フィールド映像信号VS1
と偶数フィールド映像信号VS2との分離が行なわれ、
ステップ72においてこれらの信号に従う画像データD
1、D2が夫々作成される。
This movement vector calculation processing will be described in detail with reference to FIG. When the movement vector calculation is started, first, in step 71, the odd field video signal VS1 is generated based on the video output signal VS.
And the even field video signal VS2 are separated,
Image data D according to these signals in step 72
1 and D2 are created respectively.

【0032】以下の説明においては、画像データD1に
より示される画像を1時刻目の画像と称し、画像データ
D2により示される画像を2時刻目の画像と称する。
In the following description, the image represented by the image data D1 is referred to as the image at the first time, and the image represented by the image data D2 is referred to as the image at the second time.

【0033】次にステップ73に進み、ここで、各画像
データD1、D2の2値化のためのデータ処理が行なわ
れる。この2値化のためのデータ処理は、適宜に設定さ
れたしきい値を用いることにより各データD1、D2を
2値画像データに変換することにより行なわれる。この
結果、2値化された警備区域の状態を示す2値化データ
Da、Dbがそれぞれ得られる。
Next, in step 73, data processing for binarizing each of the image data D1 and D2 is performed. The data processing for binarization is performed by converting each data D1 and D2 into binary image data by using a threshold value set appropriately. As a result, binarized data Da and Db indicating the state of the binarized security area are obtained.

【0034】次のステップ74では、これらの2値化デ
ータDa、Dbに基づいて、不要な情報の除去、すなわ
ちノイズ除去処理が実行される。この処理は、 膨張、収縮による、像外周のノイズ除去処理。 予め設定された画素数以下の像を雑音とみなして除
去する処理。 を含むものである。しかし、これらに加えて、又はこれ
らのいくつかに代えて、適宜の他のノイズ除去処理を行
なってもよいことは勿論である。
In the next step 74, unnecessary information removal, that is, noise removal processing is executed based on these binarized data Da and Db. This process is the noise removal process of the image periphery by expansion and contraction. A process of removing an image having a number of pixels equal to or less than a preset number of pixels as noise. Is included. However, it goes without saying that other appropriate noise removal processing may be performed in addition to these or in place of some of them.

【0035】次に、ステップ75において、ステップ7
4のノイズ除去処理の結果残された、1時刻目及び2時
刻目の各画像中の各像にラベリングを行ない、ラベリン
グされた全ての像について、重心の計算及び面積の計算
を行なう。
Next, in step 75, step 7
Labeling is performed on each image in each of the images at the first time and the second time remaining as a result of the noise removal processing of No. 4, and the center of gravity and the area are calculated for all the labeled images.

【0036】しかるのち、ステップ76に進み、ここ
で、1時刻目の画像の各像と2時刻目の画像の各像との
間で論理積が計算される。次いで、ステップ77では、
論理積演算の結果、値をもった、1時刻目における像の
ラベルと2時刻目における像のラベルとの組合わせを示
す組合わせデータを得る。
After that, the process proceeds to step 76, where a logical product is calculated between each image of the image at the first time and each image of the image at the second time. Then, in step 77,
As a result of the logical product operation, combination data having a value and showing a combination of the image label at the first time and the image label at the second time is obtained.

【0037】例えば、図9に示すように、ラベルA1の
像とラベルA2の像とが対応関係にあり、図9に示す位
置関係にあると、これらの像の論理積の結果は、図9中
ハッチングを施した重畳部分の面積を表し、この面積が
所定値より大きい場合、両像が同一の移動体によって形
成された移動体像であるとされる。したがって、この場
合には、ラベルA1とA2とで示される1組の像を示す
組合わせデータが得られることになる。この演算が全て
の組合わせについて行なわれ、像の組合わせが決定され
る。
For example, as shown in FIG. 9, when the image of the label A1 and the image of the label A2 have a correspondence relationship and the positional relationship shown in FIG. 9, the result of the logical product of these images is as shown in FIG. When the area is larger than a predetermined value, it means that both images are moving object images formed by the same moving object. Therefore, in this case, the combined data showing one set of images indicated by the labels A1 and A2 is obtained. This operation is performed for all combinations to determine the image combination.

【0038】ステップ78では、上述の如くして得られ
た像の各組合わせが夫々正当か否かを判別するため、以
下の条件を満足しているか否かのチェックが行なわれ
る。 (a) 像の夫々は、他方の時刻の像のうちの唯1つと
だけ組み合わされていること。 (b) 1組の像の各面積の差が20%以内であるこ
と。 (c) 1組の像の各重心を結ぶ直線がこれらにより得
られる論理積像を通過していること。 これら(a)、(b)、(c)の各条件を満足する組合
わせデータのみが正しい組合わせデータとして取り込ま
れ、条件(a)乃至(c)のいずれか1つでも満足して
いない組合わせデータは除去される。
In step 78, in order to determine whether or not each combination of the images obtained as described above is valid, it is checked whether or not the following conditions are satisfied. (A) Each image is combined with only one of the images at the other time. (B) The difference between the areas of one set of images is within 20%. (C) The straight line connecting the centroids of the pair of images passes through the logical product image obtained by these. Only the combination data that satisfies each of the conditions (a), (b), and (c) is captured as the correct combination data, and any combination that does not satisfy any one of the conditions (a) to (c). Matching data is removed.

【0039】ステップ79では、正当性の認められた組
合わせデータにより示される1対の像のうち、例えば図
9に示されるように、1時刻目の像A1の重心位置W1
からこれに対応する2時刻目の像A2の重心位置W2に
向かうベクトルVCが計算され、このベクトルVCが移
動体の移動ベクトルとされる。このようにして、全ての
組合わせデータにより示される像対に対し、上述の如く
して移動ベクトルが計算される。この結果、画像内にお
ける移動体の各移動ベクトルが明らかとなる。
In step 79, the center of gravity W1 of the image A1 at the first time is selected from the pair of images shown by the combination data of which the validity is recognized, as shown in FIG. 9, for example.
From this, a vector VC corresponding to the barycenter position W2 of the image A2 at the second time is calculated, and this vector VC is set as the movement vector of the moving body. In this way, the movement vector is calculated as described above for the image pairs indicated by all the combined data. As a result, each movement vector of the moving body in the image becomes clear.

【0040】図7に戻ると、ステップ66ではステップ
65で計算された移動ベクトルに基づき、所定方向、す
なわち金庫Kに向かう方向に移動している移動体がある
か否かを判別し、その判別結果がYESの場合にはステ
ップ67に入り、ここで、出力信号Oが出力され、警報
装置5が作動する。一方、金庫Kに向かう方向に移動し
ている移動体がないとステップ66で判別されると、ス
テップ65に戻り、再び移動ベクトルの計算が行なわれ
る。
Returning to FIG. 7, in step 66, based on the movement vector calculated in step 65, it is determined whether or not there is a moving body moving in a predetermined direction, that is, a direction toward the safe K, and the determination is made. If the result is YES, the routine proceeds to step 67, where the output signal O is output and the alarm device 5 is activated. On the other hand, if it is determined in step 66 that there is no moving object moving in the direction toward the safe K, the process returns to step 65 and the movement vector is calculated again.

【0041】このように、差分演算処理により得られた
差分画像データに基づいて侵入者の有無を判別し、侵入
者ありと判別された場合には、さらにその侵入者の移動
ベクトルが計算され、その移動ベクトルの方向が所定方
向である場合に、何者かが警備対象物に近づいていると
判断され、警報装置が作動する。
As described above, the presence / absence of an intruder is determined based on the difference image data obtained by the difference calculation process. When it is determined that there is an intruder, the movement vector of the intruder is further calculated, When the direction of the movement vector is the predetermined direction, it is determined that someone is approaching the security target, and the alarm device is activated.

【0042】[0042]

【発明の効果】本発明によれば、上述の如く、警備区域
を監視するビデオカメラから得られる画像データを処理
することにより、警備員の目視によることなく、警備区
域内に侵入者がいるか否かを判別することができるの
で、警備の自動化を図ることができる。また、警備区域
内の移動物体の移動ベクトルを計算し、この移動ベクト
ルが所定の方向に向いている場合にのみ警報を発するよ
うに構成することも可能であり、この構成によれば、人
の出入りの許されている警備区域において何者かが警備
対象物に接近を図っている場合にのみ警報を出力するこ
とも可能である。いずれにしても、ビデオカメラからの
出力を電気的に処理することによって侵入者の検知を行
なうことができるので、警備のための人員を削減するこ
とが可能であり、警備のコストを大幅に逓減させること
ができる。
According to the present invention, as described above, by processing the image data obtained from the video camera for monitoring the security area, it is possible to determine whether or not an intruder is present in the security area without the eyes of the security officer. Since it can be determined whether or not the security is automated. It is also possible to calculate a movement vector of a moving object within the guarded area and issue a warning only when the movement vector is directed in a predetermined direction. It is also possible to output an alarm only when someone is approaching a security target in a security area where access is permitted. In any case, it is possible to detect intruders by electrically processing the output from the video camera, so it is possible to reduce the personnel for security, and the cost of security is greatly reduced. Can be made

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

【図1】本発明による警備装置の一実施例の構成図。FIG. 1 is a configuration diagram of an embodiment of a security device according to the present invention.

【図2】図1の画像処理装置の構成を示す機能図。FIG. 2 is a functional diagram showing the configuration of the image processing apparatus shown in FIG.

【図3】図2の移動ベクトル計算部の構成を詳細に示す
詳細機能図。
FIG. 3 is a detailed functional diagram showing the configuration of a movement vector calculation unit in FIG. 2 in detail.

【図4】インターレース方式のテレビジョン映像信号の
構成を説明するための説明図。
FIG. 4 is an explanatory diagram for explaining a configuration of an interlaced television video signal.

【図5】奇数フィールド映像信号に基づいて1フレーム
分の画像データを補間により作成する方法を説明するた
めの説明図。
FIG. 5 is an explanatory diagram for explaining a method of creating image data for one frame by interpolation based on an odd field video signal.

【図6】一対の画像データに従う移動体画像のずれの様
子を模式的に示す図。
FIG. 6 is a diagram schematically showing how a moving body image is displaced according to a pair of image data.

【図7】図1の画像処理装置において実行される画像処
理プログラムを示すフローチャート。
7 is a flowchart showing an image processing program executed in the image processing apparatus of FIG.

【図8】図7の移動ベクトルの計算ステップの詳細フロ
ーチャート。
FIG. 8 is a detailed flowchart of steps of calculating a movement vector in FIG.

【図9】図1の画像処理装置において実行される移動ベ
クトルの計算を説明するための図。
9 is a diagram for explaining calculation of a movement vector executed in the image processing apparatus of FIG.

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

1 警備装置 2 ビデオカメラ 4 画像処理装置 44 差分演算部 46 侵入判別部 47 移動ベクトル計算部 48 移動ベクトル判別部 49 出力部 VS 映像出力信号 VSn、VSo 1フレーム分の映像信号 R 室 1 Security Device 2 Video Camera 4 Image Processing Device 44 Difference Calculation Unit 46 Intrusion Discrimination Unit 47 Movement Vector Calculation Unit 48 Movement Vector Discrimination Unit 49 Output Unit VS Video Output Signal VSn, VSo Video Signal for One Frame R Room

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 フレーム蓄積型のCCDビデオカメラ又
は撮像管方式のビデオカメラを用いた警備装置におい
て、ビデオカメラから出力される映像信号中の2つの異
なるフレームの映像信号間の差分を得るための処理を行
なう処理手段と、該処理手段に応答し前記差分が所定量
より大きいか否かを判別する侵入判別手段と、該判別手
段に応答し前記差分が前記所定量より大きい場合に警備
のための出力を与える出力手段とを備えたことを特徴と
する警備装置。
1. A security device using a frame-accumulation type CCD video camera or an image pickup tube type video camera, for obtaining a difference between video signals of two different frames in a video signal output from the video camera. Processing means for performing processing, intrusion determination means for responding to the processing means to determine whether or not the difference is larger than a predetermined amount, and security for responding to the determination means when the difference is larger than the predetermined amount. And a means for giving the output of the security device.
【請求項2】 フレーム蓄積型のCCDビデオカメラ又
は撮像管方式のビデオカメラを用いた警備装置におい
て、ビデオカメラから出力される映像信号中の一対のフ
ィールド映像信号に基づいて撮影画像内の移動体像の移
動ベクトルの計算を行なうベクトル計算手段と、該移動
ベクトルが予め定められた特定の保護対象に向いている
か否かを判別するベクトル判別手段と、該ベクトル判別
手段に応答し前記移動ベクトルが前記特定の保護対象に
向いている場合に警備のための出力を発する手段とを備
えたことを特徴とする警備装置。
2. A security device using a frame-accumulation CCD video camera or an image pickup tube type video camera, wherein a moving object within a picked-up image based on a pair of field video signals among video signals output from the video camera. Vector calculation means for calculating the movement vector of the image, vector discrimination means for discriminating whether or not the movement vector is directed to a predetermined specific protection target, and the movement vector in response to the vector discrimination means A security device comprising means for issuing an output for security when the security device faces the specific protection target.
JP8656992A 1992-03-11 1992-03-11 Security device Pending JPH05258184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8656992A JPH05258184A (en) 1992-03-11 1992-03-11 Security device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8656992A JPH05258184A (en) 1992-03-11 1992-03-11 Security device

Publications (1)

Publication Number Publication Date
JPH05258184A true JPH05258184A (en) 1993-10-08

Family

ID=13890652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8656992A Pending JPH05258184A (en) 1992-03-11 1992-03-11 Security device

Country Status (1)

Country Link
JP (1) JPH05258184A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7068320B2 (en) 2001-04-27 2006-06-27 Sharp Kabushiki Kaisha Image processing circuit, image display device, and an image processing method
JP2006252248A (en) * 2005-03-11 2006-09-21 Meidensha Corp Trespasser detecting system by image processing
JP4509349B2 (en) * 2000-10-18 2010-07-21 株式会社ニコンシステム Monitoring device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4509349B2 (en) * 2000-10-18 2010-07-21 株式会社ニコンシステム Monitoring device
US7068320B2 (en) 2001-04-27 2006-06-27 Sharp Kabushiki Kaisha Image processing circuit, image display device, and an image processing method
US7408588B2 (en) 2001-04-27 2008-08-05 Shapr Kabushiki Kaisha Image processing circuit, image display device, and an image processing method
US7916213B2 (en) 2001-04-27 2011-03-29 Sharp Kabushiki Kaisha Image processing circuit, image display device, and an image processing method
US8502917B2 (en) 2001-04-27 2013-08-06 Sharp Kabushiki Kaisha Image processing circuit, image display device, and an image processing method
JP2006252248A (en) * 2005-03-11 2006-09-21 Meidensha Corp Trespasser detecting system by image processing

Similar Documents

Publication Publication Date Title
US5059796A (en) Infrared monitoring system
JPH0950585A (en) Intruder monitoring device
JP2001211466A (en) Image processing system having self-diagnostic function
JPH0431996A (en) Image recognition type burgler sensor
JPH05258184A (en) Security device
US7738009B2 (en) Method for following at least one object in a scene
JPH03242592A (en) Monitoring device for image
JPH0514891A (en) Image monitor device
JPH1132322A (en) Automatic tracing system for possessor of dangerous weapon
JPH0397080A (en) Picture monitoring device
JP2004030022A (en) Invasion detection system
JP4338294B2 (en) Image recognition method and apparatus and monitoring system
JP2000076521A (en) Intrusion monitoring device
JP3002203B2 (en) Intruder detection device
JP2002262282A (en) Image supervisory method and image supervisory device
JPH0512591A (en) Monitoring device
KR101799334B1 (en) Wall Disappear and Invasion Sensing Device and Method thereof
JP3454979B2 (en) Abnormal state detection method and abnormal state detection device
JPH04200084A (en) Image monitor device
JPH0514897A (en) Image monitor device
JPH07298249A (en) Automatic monitoring device
JPH056420A (en) Intrusion supervisory unit
JP2503613B2 (en) Abnormality monitoring device
JPH0737190A (en) Vehicle detector
JPH0877487A (en) On-road obstacle detecting device