JPH03138596A - Moving body detecting device - Google Patents

Moving body detecting device

Info

Publication number
JPH03138596A
JPH03138596A JP1276026A JP27602689A JPH03138596A JP H03138596 A JPH03138596 A JP H03138596A JP 1276026 A JP1276026 A JP 1276026A JP 27602689 A JP27602689 A JP 27602689A JP H03138596 A JPH03138596 A JP H03138596A
Authority
JP
Japan
Prior art keywords
image
moving object
brightness
output
pixels
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.)
Granted
Application number
JP1276026A
Other languages
Japanese (ja)
Other versions
JP2923653B2 (en
Inventor
Atsushi Okamoto
篤 岡本
Shinya Sato
佐藤 信哉
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.)
Ikegami Tsushinki Co Ltd
Original Assignee
Ikegami Tsushinki 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 Ikegami Tsushinki Co Ltd filed Critical Ikegami Tsushinki Co Ltd
Priority to JP1276026A priority Critical patent/JP2923653B2/en
Publication of JPH03138596A publication Critical patent/JPH03138596A/en
Application granted granted Critical
Publication of JP2923653B2 publication Critical patent/JP2923653B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To enable accurate detection without reference to a monitor place and monitor environment by providing plural kinds of processing conditions of brightness difference outputs, processing the brightness difference outputs in parallel according to the respective processing conditions, and detecting a moving body CONSTITUTION:A gradation difference (j) which is the threshold value of a brightness differ ence, a mask area M which limits the monitor area, and the alarm lower-limit number (k) of picture elements which is the threshold value of the number of picture elements are set under conditions I and II individually. Then the gradation differences C between the latest digital image signal B and picture element units of an image which is stored 4 and a specific time before are calculated and the gradation differences j1 and j2 are compared with each other to determine picture elements whose brightness variation is recognized eventually in mask areas M1 and M2. Then the generation of an alarm signal AL is controlled 8 according to whether or not the number of picture elements which are counted 6 exceeds the lower-limit numbers k1 and k2 of picture elements and when the signal AL is outputted based upon either one and the counted value exceeds the specific number l of continuous times, a moving body detection alarm is sent. Consequently, fine conditions can be set according to the monitor place and monitor state, so misdetection and a detection omission are evaded.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は移動物体検出装置に関し、詳しくは、テレビカ
メラなどの二次元画像センサで撮像した画像の所定時間
間隔における輝度変化に基づき移動物体を検出する移動
物体検出装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a moving object detection device, and more specifically, it detects a moving object based on changes in brightness at predetermined time intervals of images captured by a two-dimensional image sensor such as a television camera. The present invention relates to a moving object detection device.

〈従来の技術〉 警備や監視システムにおいて各種の移動物体検出装置が
使用されているが、従来では赤外線光電センサ、ループ
スイッチ、振動スイッチなどによる一次元センサを用い
たものが主であり、これらのセンサによる検知エリアが
狭く、点又は線上の一次又は二次元的な狭い領域での移
動物体の検出しか行うことができなかった。
<Conventional technology> Various types of moving object detection devices are used in security and surveillance systems, but conventional ones mainly use one-dimensional sensors such as infrared photoelectric sensors, loop switches, and vibration switches. The detection area of the sensor is small, and moving objects can only be detected in a narrow linear or two-dimensional area on a point or line.

このような−次元センサでは困難であった三次元的な広
い領域における移動物体の検出を行うことで、人間の目
で監視している状況により近づけて広域の警備、監視を
行う監視システムのセンサとして、テレビカメラのよう
な二次元画像センサを用い、撮像した画像から移動物体
を特定する方式が考えられている。
By detecting moving objects in a wide three-dimensional area, which is difficult to do with such -dimensional sensors, this sensor is used in surveillance systems that can provide security and surveillance over a wide area by bringing the situation closer to what is being monitored with the human eye. As a method for identifying moving objects from captured images using a two-dimensional image sensor such as a television camera, a method is being considered.

しかしながら、この種の移動物体検出では、テレビカメ
ラで撮像した画像を監視員が常時監視して移動物体を発
見する有人システムであるか、或いは、かかる画像を一
旦ビデオテープレコーダで録画しておいて、後で再往画
像から移動物体を発見するシステムであった。ここで、
画像としては動画であったり、或いは、経済性を考慮し
て所定時間毎の静止画とすることも考えられるが、いず
れの場合も、最終的には人間の目で移動物体の有無を判
断することになっている。
However, this type of moving object detection requires either a manned system in which a security guard constantly monitors images captured by a television camera to detect moving objects, or a system in which such images are temporarily recorded with a video tape recorder. It was a system that later discovered moving objects from repeated images. here,
The image may be a moving image, or it may be a still image taken at predetermined time intervals for economic reasons, but in either case, the human eye will ultimately determine the presence or absence of a moving object. It is supposed to be.

このため、特にリアルタイムで移動物体の有無を検出す
る場合には、常時モニタを監視する必要があって監視員
の負担が大きくなり、特に複数箇所に設けたカメラそれ
ぞれのモニタを同時に監視する場合には侵入者等の移動
物体の存在を見逃す惧れもあった。
For this reason, especially when detecting the presence or absence of a moving object in real time, it is necessary to constantly monitor the monitor, which increases the burden on the monitor, especially when monitoring the monitors of cameras installed in multiple locations at the same time. There was also the risk of missing the presence of moving objects such as intruders.

かかる問題点を解消する移動物体検出装置として、二次
元撮像センサによって撮像したアナログ画像信号をデジ
タル画像信号に変換し、このデジタル画像信号の現時点
のものと所定時間前の時点のものとを比較し、2つの画
像信号間での輝度差発生に基づいて移動物体を自動的に
検出するものが先に提案されている(特開昭61654
86号公報等参照)。
A moving object detection device that solves this problem converts an analog image signal captured by a two-dimensional image sensor into a digital image signal, and compares the current digital image signal with the one at a predetermined time ago. , a method for automatically detecting a moving object based on the occurrence of a brightness difference between two image signals was previously proposed (Japanese Patent Laid-Open No. 61654).
(See Publication No. 86, etc.)

即ち、撮像された画像の中で移動する物体がない場合に
は、現時点と所定時間前の画像とは路間−の画像が得ら
れるはずであり、大きな輝度変化が発生しないが、例え
ば無人の空間に人物が侵入すると、侵入前と侵入後では
人物の撮像によって画像データ間に大きな輝度差が発生
するため、このような輝度差の発生を捉えることで移動
物体の有無を検出するものである。
In other words, if there is no moving object in the captured image, an image that is between the road at the current moment and a predetermined time ago should be obtained, and a large brightness change will not occur. When a person enters a space, a large difference in brightness occurs between the image data before and after the person enters the space, so the presence or absence of a moving object can be detected by capturing the occurrence of such a brightness difference. .

〈発明が解決しようとする課題〉 ところで、上記のように二次元撮像センサを用いた無人
監視システムでは、僅かな輝度変化や僅かな面積の輝度
変化を検知すると誤報の原因となってしまうため、例え
ば、画像の中で検出領域から除外する部分(マスク領域
)を設定すると共に、検出領域の中でも所定以上に輝度
変化した面積が所定以上にならないと輝度差の発生と認
めないようにするための各種検出条件を設定して、真に
検出したい移動物体のみが検出できるようにしている。
<Problems to be Solved by the Invention> By the way, in an unmanned monitoring system using a two-dimensional image sensor as described above, detecting a slight change in brightness or a change in brightness over a small area may cause a false alarm. For example, in addition to setting a part of the image that is excluded from the detection area (mask area), it is also possible to set a part of the image that is excluded from the detection area (mask area), and also to ensure that a brightness difference is not recognized as occurring unless the area in the detection area where the brightness changes exceeds a certain value. Various detection conditions are set so that only the moving object that is truly desired to be detected can be detected.

しかしながら、例えば、二次元撮像センサとして用いる
テレビカメラから近い距離と遠い距離とにおいて同じ移
動物体を検出しようとすると、移動物体がカメラから近
距離にある場合には、移動物体が大きく撮像されるため
に、同じ移動速度及び比較時間であっても遠距離にある
場合よりも輝度差が発生する面積が太き(なるから、移
動物体がカメラの近距離を移動する場合には比較的大き
な輝度変化面積を検出するようにして、僅かな面積の輝
度変化に対しては無効とすることが望ましいが、逆に移
動物体がカメラから遠距離を移動するときには、移動物
体が小さく撮像されるために、輝度差が発生する面積も
小さくなって、近距離に適合して無効とする輝度変化面
積を比較的大きく決定しであると、遠距離を物体が移動
すると検出されない慣れがあり、逆に、遠距離に適合し
て無効とする輝度変化面積を小さく設定しであると、カ
メラから近距離では検出したい物体よりも小さな物体の
移動が検出されて誤報の原因となってしまう。
However, for example, when trying to detect the same moving object at a near distance and a far distance from a television camera used as a two-dimensional image sensor, if the moving object is at a short distance from the camera, the moving object will be imaged in a large size. Therefore, even if the moving speed and comparison time are the same, the area where the brightness difference occurs is wider than when the moving object is far away (therefore, when the moving object moves close to the camera, there is a relatively large brightness change. It is desirable to detect the area and make it invalid for brightness changes over a small area, but conversely, when a moving object moves a long distance from the camera, the moving object is imaged small, so The area where the brightness difference occurs also becomes smaller, and if the brightness change area is determined to be relatively large so that it is suitable for close distances and is invalidated, objects that move over long distances will not be detected, and vice versa. If the brightness change area that is invalidated in accordance with the distance is set to a small value, the movement of an object smaller than the object to be detected will be detected at a short distance from the camera, causing false alarms.

また、検出画像中に明部と暗部とが両方存在する場合に
も、いずれか一方の明るさに対応した条件設定しか行え
ず、明部と暗部との両方で検出精度を確保することが困
難であった。
Furthermore, even if there are both bright and dark areas in the detected image, it is only possible to set conditions that correspond to the brightness of one of them, making it difficult to ensure detection accuracy in both bright and dark areas. Met.

このように、従来では、監視場所、監視状況に応じてき
め細かな条件設定を行うことができず、特に上記のよう
にカメラから遠近の広い範囲において移動物体を検出し
ようとしたり、明部と暗部との両方がある場合には、遠
近又は明暗それぞれでの検出精度を両立させることがで
きないという問題があった。
In this way, in the past, it was not possible to set detailed conditions according to the monitoring location and monitoring situation, especially when trying to detect a moving object in a wide range of distance from the camera as described above, or when trying to detect a moving object in a wide range of distance from the camera, When there is both, there is a problem that it is not possible to achieve both detection accuracy in far and near or bright and dark.

また、特に展示品の盗難等を監視するシステムなどの静
止物体の有無を単純に監視するものでは、例えば展示品
を撮像した画像を記憶保持させておき、その後一定時間
毎に取り込んだ最新画像と、前記記憶保持させている画
像とを比較し、展示品の有無を監視するよう構成し、比
較対照される画像の輝度差が展示品の有無により継続し
て発生ずるようにして、展示品等の静止物体の有無を検
出する方式も考えられている。
In addition, in systems that simply monitor the presence or absence of stationary objects, such as systems that monitor theft of exhibits, for example, images taken of exhibits are stored and retained, and then updated with the latest images captured at regular intervals. , the stored image is compared with the stored image to monitor the presence or absence of the exhibit, and the difference in brightness between the compared images continues to occur depending on the presence or absence of the exhibit. A method for detecting the presence or absence of a stationary object is also being considered.

しかしながら、上記のような場合では、長時間前の画像
と、現時点の画像とが比較されることになり、例えば比
較する基準の画像を記憶させてから時間経過と共に例え
ば窓から室内に差し込む光線量が変化すると、かかる周
囲の明るさのゆっくりした変化を長い時間間隔で比較す
ることになるから、比較される画像間では大きな輝度差
が発生し、この輝度の変化を監視対象の有無による輝度
変化と間違えて誤報を発する惧れがあり、監視場所や監
視状況によっては検出精度を確保できなくなる惧れがあ
った。
However, in the above case, an image from a long time ago is compared with an image at the present moment. When the ambient brightness changes, slow changes in ambient brightness are compared over long time intervals, resulting in large brightness differences between the compared images. There was a risk that a false alarm could be issued by misunderstanding the situation, and there was a risk that detection accuracy could not be ensured depending on the monitoring location and monitoring conditions.

本発明は上記問題点に鑑みなされたものであり、所定時
間前の時点における画像と、現時点における画像との輝
度を比較処理するに当たって、監視場所や監視状況に対
応した輝度差分出力の処理が行えるようにすると共に、
長時間間隔の画像比較による移動物体検出での周囲環境
変化による誤報の発生を防止し、監視場所や監視環境に
左右されずに精度の良い検出が行えるようにすることを
目的とする。
The present invention has been made in view of the above-mentioned problems, and when comparing the brightness of an image a predetermined time ago with an image at the present moment, it is possible to process a brightness difference output corresponding to the monitoring location and monitoring situation. In addition to doing so,
The purpose is to prevent the generation of false alarms due to changes in the surrounding environment when detecting moving objects by comparing images at long intervals, and to enable highly accurate detection regardless of the monitoring location or monitoring environment.

〈課題を解決するだめの手段〉 そのため本発明では、二次元撮像手段を備え、この二次
元撮像手段により撮像された現時点における画像信号と
所定時間だけ前の時点における画像信号とを比較して輝
度差分出力を取り出し、この輝度差分出力に基づいて撮
像された画像中の移動物体を検出する移動物体検出装置
において、輝度差分出力の処理条件を複数種備え、それ
ぞれの処理条件に基づいて輝度差分出力を並行処理して
移動物体の検出を行うよう構成した。
<Means for Solving the Problems> Therefore, the present invention includes a two-dimensional imaging means, and compares the image signal at the present moment taken by the two-dimensional imaging means with the image signal at a time a predetermined time ago, and determines the brightness. A moving object detection device that extracts a difference output and detects a moving object in a captured image based on the brightness difference output has multiple types of brightness difference output processing conditions and outputs the brightness difference based on each processing condition. The system was configured to perform parallel processing to detect moving objects.

ここで、輝度差分出力を画素単位毎のデジタル信号とし
て出力するよう構成することが好ましい。
Here, it is preferable to configure the luminance difference output to be output as a digital signal for each pixel.

また、前記処理条件として、輝度差発生を特定する輝度
差のしきい値と、輝度差発生が特定された画素の無効数
を特定する画素数のしきい値と、画像の中で検出領域か
ら除外する部分を指示するマスク領域マツプとを少なく
とも含むようにしても良い。
The processing conditions include a brightness difference threshold for identifying the occurrence of a brightness difference, a pixel count threshold for determining the invalid number of pixels for which a brightness difference has been identified, and a It may also include at least a mask area map indicating the portion to be excluded.

一方、現時点の画像信号と比較される所定時間だけ前の
時点における画像信号として、一定時間毎に記憶更新さ
れる画像信号と、所定時刻の時点から記憶保持される画
像信号とを備え、これらの画像信号と現時点における画
像信号とをそれぞれ比較して得た輝度差分出力から共に
移動物体が検出されたときにのみ移動物体検出信号を出
力するよう構成した。
On the other hand, as an image signal at a predetermined time before which is compared with the current image signal, there are an image signal that is stored and updated at regular intervals, and an image signal that is stored and retained from a predetermined time. A moving object detection signal is output only when a moving object is detected from the brightness difference output obtained by comparing the image signal and the current image signal.

く作用〉 かかる構成によると、二次元撮像手段により撮像された
現時点の画像信号と、前記二次元撮像手段により撮像さ
れた所定時間前の時点の画像信号とが比較されて輝度差
分出力が取り出される。ここで、前記輝度差分出力を処
理する処理条件が複数種備えられており、それぞれの処
理条件に基づく処理が並行して実行され、それぞれの処
理結果に基づいて移動物体の検出が行われる。即ち、現
時点の画像信号と所定時間前の時点の画像信号とを比較
して得られる輝度差分出力が、1つの処理条件のみに基
づいて処理されるのではなく、異なった複数種の処理条
件それぞれに基づき処理され0 ることにより、種々の検出条件に対応した処理を並行し
て実施し、誤検出の回避と検出精度の確保との両立が図
れるようにした。
According to this configuration, the current image signal captured by the two-dimensional imaging means and the image signal captured by the two-dimensional imaging means at a predetermined time before are compared, and a luminance difference output is extracted. . Here, a plurality of processing conditions for processing the luminance difference output are provided, processing based on each processing condition is executed in parallel, and a moving object is detected based on the respective processing results. In other words, the luminance difference output obtained by comparing the current image signal and the image signal at a predetermined time point is not processed based on only one processing condition, but is processed based on multiple different processing conditions. By performing processing based on 0, processing corresponding to various detection conditions can be performed in parallel, and it is possible to avoid false detections and ensure detection accuracy.

ここで、画像信号比較に基づく輝度差分出力が画素単位
毎のデジタル信号として出力されるよう構成されるとき
には、微小な輝度差発生を無効として輝度差発生を特定
するための輝度差のしきい値と、輝度差発生が特定され
た画素の無効数を特定し、微小面積の輝度変化を無効と
するための画素数のしきい値と、画像中で検出領域から
除外し輝度差分出力があっても無効とする部分を指示す
るマスク領域マツプと、を処理条件とし、マスク領域マ
ツプで指示される検出除外部分以外の検出領域において
、輝度差のしきい値を越える輝度差が発生した画素を輝
度差発生として特定し、かかる輝度差発生(輝度変化)
が特定された画素数から画素数しきい値を越えるものを
、輝度差発生が特定された画素の有効数として取り扱う
ようにする。
Here, when the brightness difference output based on the image signal comparison is configured to be output as a digital signal for each pixel, a brightness difference threshold value is used to invalidate the occurrence of minute brightness differences and identify the brightness difference occurrence. , a threshold value for the number of pixels is specified to invalidate the luminance change in a minute area, and a luminance difference is output by excluding the pixels from the detection area in the image. A mask area map that specifies areas to be invalidated as processing conditions, and pixels in which a brightness difference exceeding the brightness difference threshold has occurred in a detection area other than the detection exclusion area specified by the mask area map are set to brightness. The occurrence of such a luminance difference (luminance change) is identified as a difference occurrence.
The number of pixels that exceeds the pixel number threshold from the number of specified pixels is treated as the effective number of pixels for which luminance difference occurrence has been specified.

また、現時点の画像信号と比較される所定時間1 だけ前の時点における画像信号として、一定時間毎に記
憶更新される画像信号と、所定時刻の時点から記憶保持
される画像信号とを備えるようにし、これらの画像信号
と現時点における画像信号とをそれぞれ比較して輝度差
分出力を得て、それぞれの輝度差分出力に基づいて移動
物体検出を行わせる。そして、それぞれの輝度差分出力
から共に移動物体が検出されたときにのみ移動物体検出
信号が出力され、輝度差分出力の一方だけから移動物体
が検出されたときには、かかる移動物体検出を無効とし
て検出信号を出力しない。
In addition, as an image signal at a time a predetermined time 1 before which is compared with the current image signal, an image signal that is stored and updated at regular time intervals and an image signal that is stored and retained from the predetermined time are provided. , these image signals are compared with the current image signal to obtain a luminance difference output, and moving object detection is performed based on the respective luminance difference outputs. A moving object detection signal is output only when a moving object is detected from both of the luminance difference outputs, and when a moving object is detected from only one of the luminance difference outputs, such moving object detection is invalidated and the detection signal is output. is not output.

〈実施例〉 以下に本発明の詳細な説明する。<Example> The present invention will be explained in detail below.

第1実施例を示す第1図は、特定の監視場所における移
動物体の存在を外部に警報する監視システムを示すもの
であり、CCD等を用いた固体撮像素子等からなる二次
元撮像手段としての二次元撮像センサ1は、前記特定の
監視場所に向けて設置されるものであり、前記監視場所
を撮影してアナログ画像信号を出力する。
FIG. 1, which shows the first embodiment, shows a monitoring system that warns the outside of the presence of a moving object at a specific monitoring location. The two-dimensional image sensor 1 is installed facing the specific monitoring location, and photographs the monitoring location and outputs an analog image signal.

2 二次元撮像センサ1から出力されるアナログ画像信号は
、クランプ回路2でクランプされながらA/D変換器3
でデジタル画像信号に変換され、例えば画素毎の輝度を
8ビツトで表される256階調に量子化する。
2 The analog image signal output from the two-dimensional image sensor 1 is clamped by the clamp circuit 2 and then passed to the A/D converter 3.
For example, the luminance of each pixel is quantized into 256 gradations expressed by 8 bits.

最新の(現時点の)デジタル画像信号Bは、ビデオメモ
リ4に記憶されている所定時間ΔT前のの時点における
画像Aと画素毎に比較され、画素毎の輝度の階調差C(
輝度差分出力)が演算される。ここで、画素をX、Y座
標で表すものとすると、前記階調差(輝度差)Cは、c
 (x、 y) =A (X、Y)−B (X、Y)l
となる。
The latest (current) digital image signal B is compared pixel by pixel with the image A stored in the video memory 4 at a predetermined time ΔT before, and the luminance gradation difference C(
luminance difference output) is calculated. Here, if a pixel is represented by X and Y coordinates, the gradation difference (brightness difference) C is c
(x, y) = A (X, Y) - B (X, Y)l
becomes.

ビデオメモリ4に記憶される1画像が最新画像と比較さ
れると、かかる最新画像が新たな記憶画像としてビデオ
メモリ4に記憶されるようになっており、ビデオメモリ
4に記憶される画像は前記所定時間ΔT毎に更新される
When one image stored in the video memory 4 is compared with the latest image, the latest image is stored in the video memory 4 as a new stored image, and the image stored in the video memory 4 is It is updated every predetermined time ΔT.

最新画像(比較画像)とビデオメモリ4に記憶されてい
る所定時間ΔT前待時点画像(基準画像)との画素単位
の階調差C(X、Y)が演算されると、外部から任意に
設定される輝度差のしきい値である階調差jと前記階調
差C(X、 Y)とが画素毎に比較され、前記階調差j
以上に輝度が変化した画素のみを選択して、輝度変化し
た画素(データとして1がセットされる)と輝度変化し
なかった画素(データとしてOがセットされる)とに区
分して全画素を2値化したデータD (X、Y)とする
。従って、所定時間ΔTにおいて輝度が変化しても、そ
の変化が階調差j未満である画素については、輝度変化
が無かったものとして取り扱われることになり、自然現
象その他による移動物体とは無関係な輝度変化を誤検出
しないようにする。
Once the pixel-by-pixel gradation difference C (X, Y) between the latest image (comparison image) and the image at a predetermined time period ΔT (reference image) stored in the video memory 4 is calculated, a The gradation difference j, which is the threshold value of the luminance difference to be set, and the gradation difference C(X, Y) are compared for each pixel, and the gradation difference j
Select only the pixels whose brightness has changed by the above amount, and classify all pixels into pixels whose brightness has changed (1 is set as data) and pixels whose brightness has not changed (O is set as data). Let it be binarized data D (X, Y). Therefore, even if the brightness changes during a predetermined period of time ΔT, pixels for which the change is less than the gradation difference j are treated as if there was no change in brightness, and are unrelated to moving objects caused by natural phenomena or other factors. Prevent false detection of brightness changes.

上記のようにして所定時間ΔT内における輝度変化の有
無によって全画素を2値化すると、次には、これも外部
から任意に設定されるマスクメモリ5に記憶されている
マスク領域マ・ンプMにより、監視対象としない領域内
における輝度変化検出を無効とする。具体的には、例え
ば輝度変化があった画素を1、輝度変化がなかった画素
を0に設定3 4 し、かつ、監視対象としないマスク画素を1、監視対象
する非マスク画素をゼロに設定した場合には、マスク領
域を示すM(X、Y)の論理否定と、輝度変化検出の有
無を示すD (X、Y)との論理積をとって、監視対象
とする領域のみで輝度変化があった画素E (X、 Y
) =D (X、 Y)  ・rYT’7)のみを抽出
する。前記のようにマスク領域を設定することで、検出
対象以外の物体の移動(動き)が検出されると予測され
る領域を監視対象から除外し、誤報が発せられることを
回避する。
When all pixels are binarized based on the presence or absence of a luminance change within a predetermined time ΔT as described above, next, the mask area map M stored in the mask memory 5, which is also arbitrarily set from the outside, is processed. This disables brightness change detection in areas that are not monitored. Specifically, for example, pixels with a brightness change are set to 1, pixels with no brightness change are set to 0, and masked pixels that are not to be monitored are set to 1, and non-masked pixels to be monitored are set to 0. In this case, the logical negation of M (X, Y), which indicates the masked area, and D (X, Y), which indicates the presence or absence of brightness change detection, are performed to detect the brightness change only in the area to be monitored. Pixel E (X, Y
) = D (X, Y) ・rYT'7) is extracted. By setting the mask area as described above, an area in which movement of an object other than the detection target is expected to be detected is excluded from the monitoring target, thereby avoiding issuing a false alarm.

そして、エラー画素カウンタ6は、監視対象領域で、然
も、階調差3以上の輝度変化があった画素、即ち、E 
(X、 Y) =1である画素数En=カウントアツプ
された画素数En(エラー画素数)は、外部から任意に
設定されるアラーム下限画素数k(画素数のしきい値)
と比較され、カウントアツプされた画素数Enが前記ア
ラーム下限画素数kを越えるときにのみアラーム信号A
 Lを出力する。即ち、監視対象領域で、然も、階調差
j以5 上の輝度変化があった画素が少ないとき、換言すれば、
階調変化があった画面中の面積が小さいときには、例え
ば検出対象の移動物体よりも小さな物体の移動が検出さ
れた場合などであるから、これを所望移動物体の検出と
すると誤報となってしまうから、小さい面積の輝度変化
についてはこれを無効とするものである。これにより、
映像ノイズ等の移動物体とは無関係な輝度変化を除去で
き、また、動く物体が画像中にない場合に輝度変化画素
がゼロでない値をとっても、アラーム信号A Lが発信
されないように処理できる。
Then, the error pixel counter 6 is counted as a pixel in the monitoring target area that has a luminance change of 3 or more gradation difference, that is, E
The number of pixels En where (X, Y) = 1 = the number of counted up pixels En (number of error pixels) is the alarm lower limit number of pixels k (threshold value of the number of pixels) which is arbitrarily set from the outside.
The alarm signal A is generated only when the counted up pixel number En exceeds the alarm lower limit pixel number k.
Output L. In other words, when there are few pixels in the monitored area that have a luminance change of 5 or more than the gradation difference j, in other words,
When the area on the screen where the gradation change occurs is small, for example, the movement of an object smaller than the moving object to be detected is detected, so if this is detected as the desired moving object, it will result in a false alarm. Therefore, this is invalidated for luminance changes over a small area. This results in
Luminance changes unrelated to a moving object such as video noise can be removed, and even if the luminance change pixel takes a non-zero value when there is no moving object in the image, processing can be performed so that an alarm signal AL is not transmitted.

カウントアツプされた画素数Enが前記アラーム下限画
素数kを越えてアラーム信号AI、が出力されると、ア
ラームカウンタ7は、このアラーム信号A Lをカウン
トし、外部から任意に設定可能な連続回数lとアラーム
信号ALのカウント値とを比較し、連続回数2以上連続
してアラーム信号ALが出力されると、外部にアラーム
を発して移動物体の検出を知らせる。
When the counted-up pixel number En exceeds the alarm lower limit pixel number k and an alarm signal AI is output, the alarm counter 7 counts this alarm signal A L for a consecutive number of times that can be arbitrarily set from the outside. 1 and the count value of the alarm signal AL, and if the alarm signal AL is output for two or more consecutive times, an alarm is issued to the outside to notify that a moving object has been detected.

このように、アラーム信号AL毎に外部に警報6 するのではなく、所定回数以上連続した場合にのみ外部
に警報を発するようにすることで、例えば監視場所での
照明のオン・オフなど単発的な現象によって外部にアラ
ームが出力されることを回避できる。
In this way, instead of issuing an external alarm for each alarm signal AL, by issuing an external alarm only when a predetermined number of consecutive alarms are issued, it is possible to prevent one-off occurrences, such as turning lights on and off at a monitoring location. It is possible to avoid outputting alarms to the outside due to such phenomena.

尚、アラーム信号ALが所定時間以上に途絶えたときに
は、カウント数がゼロリセットされ、途切れ途切れのア
ラーム信号A Lがカウントアツプされて、その結果が
移動物体の検出として外部に出力されることを防止する
ようにしである。
Furthermore, when the alarm signal AL is interrupted for a predetermined time or longer, the count number is reset to zero, and the interrupted alarm signal AL is counted up to prevent the result from being output to the outside as a detection of a moving object. That's what I do.

また、ビデオメモリ4上の記憶画像と比較される最新画
像の取り込みは、外部から任意に設定される比較間隔i
によって可変制御でき、例えばフィールド周波数を60
HzとするNTSC方式に準拠する場合には、例えば3
3m5毎のフレーム画像を最小単位とし、最短では33
m5毎に画像を比較し、33m5の倍数で比較時間を長
く設定できるよう構成し、画面中を移動する物体の速度
が速いときには比較間隔を短く、また、遅いときには比
較間隔を長くする。
Furthermore, the latest image to be compared with the stored image on the video memory 4 is captured at a comparison interval i that is arbitrarily set from the outside.
For example, the field frequency can be variably controlled by
For example, when complying with the NTSC system of Hz,
The minimum unit is a frame image every 3m5, and the shortest is 33
The image is compared every m5, and the comparison time is set to be longer by a multiple of 33m5, and when the speed of an object moving in the screen is fast, the comparison interval is shortened, and when it is slow, the comparison interval is lengthened.

尚、ビデオメモリ4に対する記憶画像の更新タイミング
は、前記最新画像の取り込み周期と同期させて、常、時
前回取り込んだ画像と最新画像とを比較するようにして
も良いが、ビデオメモリ4に記憶する画像の更新を画像
取り込みの何回かに1回として、ビデオメモリ4上の画
像がその後何回かの最新画像と比較されるようにしても
良く、また、所定時刻に取り込んだ画像信号をその後リ
セットされるまでの間だけ記憶保持し、この記憶した画
像信号を更新することなくその都度の最新画像信号と比
較するようにしても良い。
Note that the update timing of the stored image in the video memory 4 may be synchronized with the capture cycle of the latest image, and the previously captured image and the latest image may be compared from time to time. The image on the video memory 4 may be updated once every several times of image capture, so that the image on the video memory 4 is compared with the latest image several times after that, or the image signal captured at a predetermined time may be updated It is also possible to store the stored image signal only until it is reset after that, and to compare the stored image signal with the latest image signal each time without updating it.

ところで、上記のように、階調差j、マスクメモリ5上
のマスク領域M、アラーム下限画素数k。
By the way, as mentioned above, the gradation difference j, the mask area M on the mask memory 5, and the alarm lower limit pixel number k.

連続回数!、比較間隔jは、外部から任意に設定可能な
検出条件(輝度差分出力の処理条件)であり、例えば装
置に付属されたモニタ上にそれぞれ数値又は領域として
表示され、監視場所や監視状況に応じて任意に設定でき
るようにするが、本実施例では、輝度差分出力を得てか
らアラーム下限画素数にと比較してアラーム信号を出力
するまで7 8 のシステム構成をパラレルに2系統備えており、前記比
較間隔iを除くその信金ての検出条件からなる処理条件
として2つのパターン設定ができるようになっており、
画像をそれぞれのパターンに従って並行処理して移動物
体検出を行えるよう構成されている。
Consecutive times! , comparison interval j are detection conditions (processing conditions for brightness difference output) that can be arbitrarily set from the outside, and are displayed as numerical values or areas on a monitor attached to the device, and can be set according to the monitoring location and monitoring situation. However, in this embodiment, two systems are provided in parallel with a system configuration of 7 8 from obtaining the brightness difference output to outputting the alarm signal by comparing it with the alarm lower limit pixel number. , two patterns can be set as processing conditions consisting of the detection conditions for the credit union excluding the comparison interval i,
It is configured so that moving object detection can be performed by processing images in parallel according to respective patterns.

かかる2つの処理条件による移動物体検出における検出
パターンを第2図及び第3図の図面に具体的に示してあ
り、第1図を参照しつつ説明する。
Detection patterns in moving object detection under these two processing conditions are specifically shown in FIGS. 2 and 3, and will be described with reference to FIG. 1.

尚、第2図及び第3図では、説明を簡略化するために、
画素数及び階調を実際よりも縮小して示しである。
In addition, in FIG. 2 and FIG. 3, in order to simplify the explanation,
The number of pixels and gradations are shown reduced compared to the actual numbers.

第2図において、階調差jが条件設定■ではj+=89
条件設定■ではj2−4、マスク領域Mが、マスクメモ
リ5aに記憶される条件設定I (Ml)では画面の左
半分、マスクメモリ5bに記憶される条件設定II(M
りでは画面の右半分、アラーム下限画素数(エラー画素
数下限)kが条件設定Iではkl+条件設定■ではkz
  (>k、)としである。
In Fig. 2, when the gradation difference j is set as condition ■, j+=89
In condition setting ■, j2-4, mask area M is stored in the mask memory 5a.In condition setting I (Ml), the left half of the screen is stored in condition setting II (Ml), which is stored in mask memory 5b.
In the right half of the screen, the alarm lower limit pixel count (lower limit of error pixel count) k is kl in condition setting I + kz in condition setting ■.
(>k,).

9 ここで、各画素の輝度を示す階調の数値が大きくなるに
従ってより明るい状態を示すものとすると、ビデオメモ
リ4に記憶されている基準画像は、右半分が比較的明る
い画像であり、これに対し最新の比較画像は、各画素の
階調が5階調だけプラスされた全体的に明るさの増した
画像である。このため、差分画像(輝度差分出力)とし
ては、各画素が5階調で表されることになる。
9 Here, assuming that the larger the value of the gradation indicating the brightness of each pixel, the brighter it is, the reference image stored in the video memory 4 is an image where the right half is relatively bright; On the other hand, the latest comparison image is an image whose overall brightness has been increased by increasing the gradation of each pixel by five gradations. Therefore, each pixel is represented by five gradations as a difference image (brightness difference output).

次に、検出された輝度変化が所定以上であるか否かを、
階調差jに基づいて判別することになるが、上記のよう
にここでは2つ処理条件がパラレルに設定されており、
それぞれの条件に基づく処理を並行して行う。
Next, determine whether the detected brightness change is greater than or equal to a predetermined value.
The discrimination will be based on the gradation difference j, but as mentioned above, two processing conditions are set in parallel,
Processing based on each condition is performed in parallel.

即ち、条件設定■では階調差j、が8に設定されている
から、8階調以上の変化がないと輝度変化があったと認
められず、今回のように各画素が一様に5階調だけ変化
した場合には、画面全体に輝度変化がなぁ・ったものと
して各画素には輝度変化がなかったことを示すゼロがセ
ットされる。
In other words, in condition setting ■, the gradation difference j is set to 8, so unless there is a change of 8 or more gradations, it is not recognized that there has been a change in brightness, and as in this case, each pixel is uniformly displayed on the 5th floor. If only the tone has changed, it is assumed that there has been a change in brightness throughout the screen, and each pixel is set to zero, indicating that there has been no change in brightness.

方、条件設定■では階調差j2が4に設定されて0 いるから、今回のように各画素が一様に5階調だけ輝度
変化した場合には、全画素について輝度変化があったと
認められ、各画素には輝度変化があったことを示す1が
セットされる。
On the other hand, in condition setting ■, the gradation difference j2 is set to 4, which is 0, so if each pixel uniformly changes in brightness by 5 gradations like this time, it is recognized that there has been a brightness change for all pixels. 1 is set in each pixel to indicate that there has been a change in brightness.

このようにして輝度差分画像(輝度差分出力)が階調差
JI+Jzに基づき輝度変化有りと輝度変化無しとを示
す2値化画像に変換されると、次に、監視領域から除外
するマスク領域M(マスク領域マツプ)に基づく処理で
あるが、条件設定■ではマスク領域M+が画面の左半分
に設定されているが、前述のように画面全体で輝度変化
が認められた画素が存在しないから、マスク処理は無効
であり、輝度変化が最終的に認められるエラー画素は存
在しないことになる。
In this way, when the brightness difference image (brightness difference output) is converted into a binarized image indicating brightness change and no brightness change based on the gradation difference JI+Jz, next, the mask area M to be excluded from the monitoring area is This is a process based on (mask area map), but in condition setting ■, mask area M+ is set to the left half of the screen, but as mentioned above, there are no pixels where brightness changes are observed on the entire screen. The masking process is ineffective, and there will be no error pixels whose brightness changes are finally recognized.

また、条件設定■では、マスク領域M2が画面の右半分
に設定されるから、この領域に含まれる画素については
輝度変化が検出されていても無効とされ、残る左半分の
画素が最終的に輝度変化が認められ、結果、条件設定■
では画面の左側半分の画素に対して輝度変化があったこ
とを示す1がセットされる。
In addition, in condition setting ■, the mask area M2 is set in the right half of the screen, so even if a luminance change is detected for the pixels included in this area, it is invalidated, and the remaining pixels in the left half are finally A change in brightness was observed, and the results and conditions were set.■
In this case, 1 is set to indicate that there has been a change in brightness for the pixels on the left half of the screen.

このようにして最終的に輝度変化が認められる画素(エ
ラー画素)が決定されると、次には、かかるエラー画素
の数が画像毎にそれぞれのエラー画素数カンウタ6a、
6bでカウントされて、そのカウント数がアラーム下限
画素数(エラー画素数下限)kl、に2を越えるか否か
によってアラーム信号ALの発生が制御される。条件設
定■での処理では、エラー画素が全く認められなかった
ので、アラーム信号ALは発信されず、条件設定■で設
定されているアラーム下限画素数(エラー画素数下限)
k2よりも、ここでのエラー画素数である6が大きけれ
ばアラーム信号ALが発信される。
When the pixels (error pixels) in which a luminance change is finally recognized are determined in this way, the number of such error pixels is calculated by the error pixel number counter 6a for each image.
6b, and generation of the alarm signal AL is controlled depending on whether the counted number exceeds the alarm lower limit pixel number (lower limit for the number of error pixels) kl, which is 2 or not. Since no error pixels were recognized in the processing in condition setting ■, the alarm signal AL was not sent, and the alarm lower limit pixel count (lower limit for the number of error pixels) set in condition setting ■
If 6, which is the number of error pixels here, is larger than k2, an alarm signal AL is transmitted.

それぞれの処理条件に基づいて輝度差分出力を処理した
結果であるアラーム信号(ON・OFF信号)は、OR
回路8に入力されるようになっており、2つの処理条件
に基づく2つ処理を並行して行った結果、少なくともい
ずれか一方からアラーム信号が出力されれば、このアラ
ーム信号をア1 2 ラームカウンタ7がカウントして、ががるカウント数が
連続回数℃を上回ると、外部に移動物体検出信号として
アラームを発信する。
The alarm signal (ON/OFF signal) that is the result of processing the luminance difference output based on each processing condition is OR
As a result of performing two processes in parallel based on two processing conditions, if an alarm signal is output from at least one of them, this alarm signal is input to the circuit 8. When the counter 7 counts and the count exceeds the continuous number of times, an alarm is sent to the outside as a moving object detection signal.

尚、第1図では、アラーム信号ALの連続回数lについ
ては共通に用いるようにしているが、各条件毎にアラー
ムカウンタ7を設けて全く独立に外部にアラームを発信
できるようにして、連続回数℃についても条件設定■と
条件設定■とで数値を変化させることにより、条件設定
毎に輝度変化画素数が所定以上であると判別された連続
画面数(連続アラーム信号)に対する外部への警報出力
の鋭敏さを調整することができる。また、監視条件によ
っては、2つ処理条件の両方で移動物体が検出されたと
きにのみアラーム信号ALを出力するよう構成したり、
一方からのみ移動物体が検出されたときにのみアラーム
信号を出力するよう構成しても良い。
In Fig. 1, the number l of consecutive alarm signals AL is commonly used, but alarm counters 7 are provided for each condition so that alarms can be transmitted to the outside completely independently. For °C, by changing the numerical value between condition setting ■ and condition setting ■, an alarm is output to the outside for the number of consecutive screens (continuous alarm signal) for which the number of pixels with brightness change is determined to be greater than a predetermined value for each condition setting. The sharpness can be adjusted. Depending on the monitoring conditions, the alarm signal AL may be output only when a moving object is detected under both processing conditions.
It may be configured to output an alarm signal only when a moving object is detected from only one side.

第3図に示すものでは、上記と同し条件設定I。In the case shown in FIG. 3, the same condition setting I as above is used.

■及び基準画像で異なる比較画像による場合の処理を示
すものであり、第2図では、比較画像が画3 面全体に一定階調分だけ明るさの増した画像であったの
に対し、第3図に示す比較画像は、左右端の画素列以外
の中央列部分の画素が10階階調度だけ明るさを増した
場合である。このため、差分画像は、中央の縦2列の画
素列に対して、10階調の輝度変化が設定されている。
2) and the comparison image that is different from the reference image. The comparison image shown in FIG. 3 is a case where the brightness of the pixels in the center row other than the left and right pixel rows is increased by 10 gradations. Therefore, in the difference image, a brightness change of 10 gradations is set for the central two vertical pixel columns.

そして、前述と同様にかかる差分画像が条件設定■と条
件設定■とで並行処理されるが、今回の輝度変化が条件
設定I及び条件設定■の階調差jを共に上回る10階調
であるから、階調差jをしきい値とする階調差の2値化
処理では、条件設定I及び条件設定■で10階調の階調
変化が認められた画素それぞれに1がセットされること
になり、条件設定I及び条件設定■で、中央の縦2列の
画素列に対して1が設定された同じ2値化画像が得られ
る。
Then, in the same way as described above, this difference image is processed in parallel by condition setting ■ and condition setting ■, but this time the brightness change is 10 gradations, which exceeds the gradation difference j of condition setting I and condition setting ■. Therefore, in the gradation difference binarization process using the gradation difference j as the threshold value, 1 is set for each pixel in which a 10-level gradation change is observed in condition setting I and condition setting ■. With condition setting I and condition setting (2), the same binarized image in which 1 is set for the two vertical pixel columns in the center is obtained.

また、マスク領域は、条件設定Iでは画面の左側半分を
マスク領域とし、条件設定■では画面の右半分をマスク
領域とするから、マスク処理された画面は、条件設定I
では中央の縦2列の画素列4 のうちの左側の画素列がマスクされて右側の画素列のみ
が輝度変化が検出された画素として最終設定され、また
、条件設定■では中央の縦2列の画素列のうちの右側の
画素列がマスクされて左側の画素列のみが輝度変化が検
出された画素として最終設定される。
In addition, the mask area is the left half of the screen in condition setting I, and the right half of the screen is in condition setting ■, so the masked screen is
In this case, the left pixel column of the two vertical pixel columns 4 in the center is masked, and only the right pixel column is finally set as the pixel in which a brightness change has been detected. The right pixel row of the pixel rows is masked, and only the left pixel row is finally set as the pixel in which a brightness change has been detected.

従って、マスク処理されて残った画素は異なるものの、
条件設定■及び条件設定■共に、監視領域において輝度
変化が認められた画素は3画素ということになるが、こ
の3画素が、条件設定Iではアラーム下限画素数(エラ
ー画素数下限)kIを上回るためにアラーム信号ALが
発信されるが、条件設定■では前記3画素がアラーム下
限画素数(エラー画素数下限)k2を下回るためにアラ
ーム信号A Lは発信されない。このように、同じ数の
エラー画素数が検出されても、第3図の場合のように条
件設定■と条件設定■とで階調差jを変えであることな
どから、アラーム下限画素数にの条件を変え、大きな輝
度変化のみが検出される処理条件では少ない画素数でア
ラーム信号ALを発信させ、また、比較的小さい階調差
でも検出される処理条件ではより大きな画素数が検出さ
れないとアラーム信号ALが発信されないようにしであ
る。
Therefore, although the pixels remaining after mask processing are different,
In both Condition Setting ■ and Condition Setting ■, there are 3 pixels in which a change in brightness is observed in the monitoring area, but in Condition Setting I, these 3 pixels exceed the alarm lower limit pixel number (lower limit number of error pixels) kI. Therefore, the alarm signal AL is transmitted, but in the condition setting (3), the three pixels are below the alarm lower limit pixel number (lower limit of the number of error pixels) k2, so the alarm signal AL is not transmitted. In this way, even if the same number of error pixels are detected, the alarm lower limit pixel number may be different because the gradation difference j is different between condition setting ■ and condition setting ■ as in the case of Figure 3. Under processing conditions in which only large luminance changes are detected, the alarm signal AL is transmitted with a small number of pixels, and in processing conditions in which even relatively small gradation differences are detected, a larger number of pixels are not detected. This is to prevent the alarm signal AL from being transmitted.

上記のように差分画像の処理条件を2種類備え、それぞ
れの条件に基づく検出処理を並行して実行するようにす
れば、監視場所や監視状況に応じて細かな条件設定が行
え、誤検出や検出漏れを回避して精度の良い移動物体検
出が行える。
By providing two types of differential image processing conditions as described above and executing detection processing based on each condition in parallel, detailed condition settings can be made depending on the monitoring location and monitoring situation, and false detections can be avoided. Accurate moving object detection can be performed by avoiding detection failures.

例えば、同じ移動物体がセンサ1から遠い位置を移動す
る場合と比較的近い位置を移動する場合との両方を検出
しようとするときなどでは、遠距離では移動物体が小さ
く映り、また、近距離では移動物体が大きく映るから、
遠距離検出用の処理条件としては監視領域を狭めてその
中で比較的少ない画素数が輝度変化を示してもアラーム
が発信されるようにし、また、近距離検出用の処理条件
としては監視領域を広げてその中で比較的大きな画素数
が輝度変化したときだけアラームを発信させるように、
条件を遠距離検出用と近距離検出用5 6 とで2つ備えるようにすれば、遠近両方で移動物体を精
度良く検出できる。更に、画面が明暗に分かれるような
ときでも、マスク領域マツプで明部又は暗部をマスク処
理することにより、それぞれの部位に対応した処理条件
を設定し、明暗それぞれで精度良く移動物体を検出でき
る。
For example, when trying to detect both the same moving object moving far from sensor 1 and moving relatively close to sensor 1, the moving object will appear small at long distances, and the moving object will appear small at short distances. Because moving objects appear larger,
The processing conditions for long-distance detection are such that the monitoring area is narrowed so that an alarm is sent even if a relatively small number of pixels within the area show a change in brightness, and the processing conditions for short-distance detection are such that the monitoring area is narrowed. so that an alarm is sent only when the brightness of a relatively large number of pixels changes.
If two conditions are provided, one for long-distance detection and one for short-distance detection 5 6 , moving objects can be detected accurately both at far and near locations. Furthermore, even when the screen is divided into bright and dark areas, by masking the bright or dark areas using a mask area map, processing conditions corresponding to each area can be set, and moving objects can be detected accurately in both bright and dark areas.

また、上記実施例では、マスク領域を反転させそれぞれ
異なる領域を監視領域とする2つの処理条件について述
べたが、比較的大きな監視領域と、これに含まれる比較
的小さな監視領域とでそれぞれ条件設定を変えて処理し
ても良く、更に、一部が重複する監視領域それぞれで異
なる処理条件を設定することもできる。
In addition, in the above embodiment, two processing conditions were described in which the mask area is reversed and different areas are used as monitoring areas, but conditions are set respectively for a relatively large monitoring area and a relatively small monitoring area included in this. Processing may be performed by changing the processing conditions, and further, different processing conditions may be set for each of the partially overlapping monitoring areas.

尚、上記実施例では、説明を簡略化するために画素数を
16〜20程度としであるが、実際には、敵方画素の固
体撮像素子を用いることになる。但し、検出精度の確保
と誤報の回避とをバランスさせ得る画素数としては、1
5000〜16000程度の画素数が適当であることを
実験から得ている。
In the above embodiment, the number of pixels is assumed to be about 16 to 20 to simplify the explanation, but in reality, a solid-state image sensor with opposing pixels is used. However, the number of pixels that can balance between ensuring detection accuracy and avoiding false alarms is 1.
Experiments have shown that a number of pixels of about 5,000 to 16,000 is appropriate.

また、上記実施例では、マスク領域・非マスク7 領域を画面の左右又は上下で分けたが、複数領域をマス
ク領域或いは非マスク領域として設定することも可能で
あり、また、マスク領域・非マスク領域は四角形に限ら
ず画素を最小単位として連続曲線で囲んで指示すること
も可能であり、更に、マスク領域・非マスク領域を複数
箇所指示することも可能である。
In addition, in the above embodiment, the masked area/non-masked area is divided into the left and right or top and bottom of the screen, but it is also possible to set multiple areas as the masked area or the non-masked area. The area is not limited to a rectangle, but can be specified by surrounding it with a continuous curved line using pixels as the minimum unit. Furthermore, it is also possible to specify multiple masked areas and non-masked areas.

更に、検出・処理条件の設定が一旦なされると、頻繁に
条件を変更することはないから、モニタを含む条件設定
部と、設定された条件に基づき移動物体を検出する検出
部とが2分割できるようにして、検出条件を設定したら
検出部のみをセンサ1(テレビカメラ)と共に監視場所
に設置するようにしても良い。
Furthermore, once the detection/processing conditions are set, the conditions will not be changed frequently, so the condition setting section, which includes a monitor, and the detection section, which detects moving objects based on the set conditions, are divided into two parts. After setting the detection conditions, only the detection unit may be installed together with the sensor 1 (television camera) at the monitoring location.

この場合、設置後は、条件設定部を用意しないと条件設
定が変更できないことになり、不用意な条件変更により
監視装置の信転性を損なうことを防止できると共に、条
件設定部を複数の検出部に対して共用してコスト低減を
図れ、また、設置される検出装置の小型化も図れる。
In this case, after installation, the condition settings cannot be changed unless a condition setting section is prepared, which prevents damage to the reliability of the monitoring device due to careless condition changes, and also allows the condition setting section to be used for multiple detection It is possible to reduce the cost by sharing the same with other parts, and also to reduce the size of the installed detection device.

8 条件設定部を接続して行う検出条件の設定においては、
ボタン操作等で可変設定される検出条件がモニタ上に数
値として表示されるように構成する一方、実際の検出結
果(エラー画素数等)も監視場所の画面と共にモニタ上
に数値として表示されるようにすれば、監視場所・監視
状況に応じた条件設定が容易に行える。
8 When setting the detection conditions by connecting the condition setting section,
The configuration is configured so that the detection conditions that are variably set by button operations etc. are displayed as numerical values on the monitor, while the actual detection results (number of error pixels, etc.) are also displayed as numerical values on the monitor together with the screen of the monitoring location. By doing so, you can easily set conditions according to the monitoring location and monitoring situation.

また、上記実施例では、検出条件を2種類設定し、これ
らに基づき2種類の処理を並行して行う構成としたが、
検出条件は2種類に限るものでないことは明らかであり
、ハードウェア構成の増大又はソフトウェアによる演算
処理の負担増大はあるものの、処理条件を3種類以上備
えるようにしても良い。
In addition, in the above embodiment, two types of detection conditions are set and two types of processing are performed in parallel based on these.
It is clear that the detection conditions are not limited to two types, and three or more types of processing conditions may be provided, although this increases the hardware configuration or the burden of calculation processing by software.

本発明の第2実施例を示す第4図では、基準画像を2種
記憶するために2つビデオメモリ4a。
In FIG. 4 showing a second embodiment of the present invention, two video memories 4a are provided to store two types of reference images.

4bを備えており、現時点の画像信号は、前記2つのビ
デオメモリ4a、4bにそれぞれ記憶されている所定時
間前の時点の画像と比較されて2つの輝度差分出力がそ
れぞれに出力される。そして、かかる輝度差分出力は、
それぞれの処理条件(階調差j、マスク領域M、アラー
ム下限画素数k)に基づいて処理され、最終的には前述
のようにエラー画素数Enがアラーム下限画素数kを上
回っていればアラーム信号を出力するが、2つの輝度差
分出力に基づく処理結果(アラーム信号のON・0FF
)は、論理積回路10に入力されるようになっており、
2つの輝度差分出力を処理した結果、共にアラーム信号
を出力したときにだけアラームカウンタ7にアラーム信
号を出力するようになっている。
4b, the current image signal is compared with the image at a predetermined time ago stored in the two video memories 4a and 4b, and two luminance difference outputs are outputted respectively. Then, the luminance difference output is
Processing is performed based on each processing condition (gradation difference j, mask area M, alarm lower limit pixel number k), and finally, as mentioned above, if the error pixel number En exceeds the alarm lower limit pixel number k, an alarm is issued. The signal is output, but the processing result based on the two luminance difference outputs (alarm signal ON/OFF
) is input to the AND circuit 10,
As a result of processing the two luminance difference outputs, an alarm signal is output to the alarm counter 7 only when both alarm signals are output.

ここで、ビデオメモリ4a側に記憶される基準画像は、
例えば比較間隔iで決定される最新画像の読み込み周期
毎に更新されるなどして微小時間(一定時間)毎に記憶
更新されるものであるのに対し、ビデオメモリ4b側に
記憶される基準画像は、タイマー9からのトリガー信号
により所定時刻で撮像された画像信号を記憶保持するも
のである。
Here, the reference image stored on the video memory 4a side is
For example, the reference image stored in the video memory 4b is updated every minute time (fixed time) by being updated every read cycle of the latest image determined by the comparison interval i. is for storing and holding an image signal captured at a predetermined time in response to a trigger signal from the timer 9.

即ち、ビデオメモリ4a側では一定時間間隔で9 0 画像信号が比較されるが、ビデオメモリ4b側では、時
間の経過と共に時間間隔を長くして画像信号が比較され
ることになり、ビデオメモリ4b側には例えば監視対象
であるスペースの無人状態の画像や、展示品の画像を記
憶させておき、前記スペースに侵入者がある場合や、展
示品が盗難などによって設置位置から取り去られたとき
には、かかる正常状態の画像信号と侵入者が撮像された
り展示品のない異常画像とが比較されることにより、侵
入者又は展示品の有無による輝度差分出力を得て警報を
発するものである。
That is, on the video memory 4a side, 90 image signals are compared at regular time intervals, but on the video memory 4b side, the time intervals are lengthened as time passes, and the image signals are compared. For example, an image of an unoccupied space to be monitored or an image of an exhibit can be stored on the side, and if there is an intruder in the space or an exhibit is removed from its installation location due to theft, etc. By comparing the image signal in the normal state with an abnormal image in which an intruder is captured or no exhibit is present, a brightness difference output depending on the presence or absence of an intruder or exhibit is obtained, and an alarm is issued.

ところで、上記のようにして長時間前の画像と現時点で
の画像とを比較する場合には、日の陰り等のゆっくりし
た自然環境条件の変化であっても、大きな変化として捉
えられてしまって誤報を発する慣れがあるため、ビデオ
メモリ4a側の記憶画像(基準画像)を一定時間毎に更
新して行われる微小時間毎の画像比較を併用することで
上記のような誤報の発生を防止するようにしている。
By the way, when comparing an image from a long time ago with an image at the present time as described above, even slow changes in natural environmental conditions, such as the shading of the sun, may be interpreted as large changes. Since there is a habit of issuing false alarms, the above-mentioned false alarms can be prevented by using image comparison at minute intervals, which is performed by updating the stored image (reference image) on the video memory 4a side at regular intervals. That's what I do.

周囲の明るさのゆっくりした変化を長い時間間1 隔で監視すれば、大きな輝度変化が検出されることにな
ってしまうが、微小時間毎に画像比較を行うものでは、
前記のようなゆっくりした環境条件変化は、輝度差j等
によってその影響を排除することができるため、微小時
間間隔の画像比較では、長い時間間隔の画像比較に比べ
て侵入者や展示品の有無による明確な輝度差分出力を発
生させ難いものの、ゆっくりした環境変化には影響され
ない。
If slow changes in ambient brightness are monitored at long intervals, large changes in brightness will be detected, but if images are compared at minute intervals,
The effects of slow changes in environmental conditions as described above can be eliminated by the brightness difference j, etc., so image comparisons made at minute time intervals are more sensitive to the presence or absence of intruders or exhibits than image comparisons made at long time intervals. Although it is difficult to generate a clear luminance difference output due to the method, it is not affected by slow environmental changes.

このため、両者の検出結果が一致して移動物体の検出を
示すときにのみ、真の移動物体を検出したものであると
認めるような構成にしておけば、長い時間間隔での画像
比較における環境変化影響の排除が行えるものである。
Therefore, if the configuration is configured so that it is recognized that a true moving object has been detected only when the two detection results match and indicate that a moving object has been detected, the environment in which images are compared over a long time interval can be improved. It is possible to eliminate the effects of change.

第5図及び第6図は上記のような2つの基準画像による
移動物体検出における処理内容を、画像の画素レベルで
示すものである。
FIGS. 5 and 6 show the details of processing in moving object detection using the two reference images as described above at the pixel level of the images.

まず、第5図では、所定時刻に撮像されて記憶保持され
ている基準画像aに対して、比較画像(現時点の画像信
号)はその輝度レベルが全体的に10階階調度増大して
いる。これに対し、前記比較2 画像の所定微小時間前に撮像されて記憶されている基準
画像すは、比較画像と殆ど変化のないものである。この
ため、2つの基準画像と最新の比較画像とを比較して得
られる輝度差分出力は、基準画像aと比較した方が、全
画素が10階階調度に設定されるのに対し、基準画像す
と比較される側の輝度差分出力は、全体がゼロに設定さ
れる。
First, in FIG. 5, the luminance level of the comparison image (current image signal) has increased by 10 gradations as a whole with respect to the reference image a that has been captured and stored at a predetermined time. On the other hand, the reference image, which is captured and stored a predetermined minute time before the second comparison image, has almost no change from the comparison image. For this reason, the brightness difference output obtained by comparing the two reference images and the latest comparison image is that when comparing with reference image a, all pixels are set to 10 gradations, whereas when comparing with reference image a, all pixels are set to 10 gradations, whereas Then, the luminance difference output on the side to be compared is entirely set to zero.

ここで、輝度変化を特定するための階調差jとして基準
画像a側で8階調、基準画像す側で4階調を設定しであ
ると、基準画像aと比較された側では、輝度変化があっ
たことを示す1が全画素に設定されるが、基準画像すと
比較された側では、輝度変化が無かったことを示すOが
全画素に設定されて、それぞれに輝度変化の有無を示す
2値化画像に変換される。
Here, if we set 8 gradations on the reference image a side and 4 gradations on the reference image side as the gradation difference j for identifying the brightness change, then the luminance on the side compared with the reference image a 1 indicating that there has been a change is set for all pixels, but on the side compared to the reference image, O indicating that there has been no change in brightness is set for all pixels, indicating whether or not there is a change in brightness. It is converted into a binarized image showing .

また、前記2値化画像から監視領域に含まれない領域を
マスクするためのマスク画像(マスク領域)が、ここで
は両方共に画面の左半分に設定されており、画面の右半
分の領域のみを監視領域とするから、マスク処理を施す
と、基準画像aと比較して得た2値化画像は、画面の右
半分に輝度変化が認められた画像となり、基準画像すと
比較して得た2値化画像は、元々輝度変化が画面全体で
認められなかったから、画面全体に輝度変化が無かった
ものとされる。
In addition, the mask images (mask areas) for masking areas that are not included in the monitoring area from the binarized image are both set to the left half of the screen, and only the right half of the screen is set. Since this is a monitoring area, when mask processing is applied, the binarized image obtained by comparing with the reference image a becomes an image in which a change in brightness is observed in the right half of the screen, and compared with the reference image a. In the binarized image, since no change in brightness was originally observed over the entire screen, it is assumed that there was no change in brightness over the entire screen.

ここで、輝度変化が認められた画素数(エラー画素数)
の無効数に、を、基準画像aと比較して得られたエラー
画素数が上回ったときには、アラーム信号が出力される
が、一方の基準画像すに基づく輝度差分出力ではエラー
画素数がゼロであるから、アラーム信号は出力されず、
これらの結果が入力される論理積回路10の出力は、ア
ラーム信号を発信しないことになる。
Here, the number of pixels where a brightness change was observed (number of error pixels)
When the number of error pixels obtained by comparing with reference image a exceeds the invalid number of , an alarm signal is output, but in the luminance difference output based on one reference image A, the number of error pixels is zero. Because there is, no alarm signal is output,
The output of the AND circuit 10 to which these results are input will not issue an alarm signal.

第5図に示すような例は、例えば、基準画像aを記憶さ
せた時点での周囲明るさよりも現時点における明るさが
全体に増大し、かつ、移動物体がない場合のものであり
、周囲の明るさのゆっくりした変化が捉えられ基準画像
aに基づく検出ではアラーム信号を出力するが、基準画
像すに基づく微小時間間隔での画像比較では、輝度゛変
化が殆ど3 4 なく移動物体が認められないから、前記基準画像a側の
アラーム信号は前述のように周囲環境の変化を捉えたも
のであると推定されて、この場合には、移動物体を検出
したと認められず、誤報が回避される。
The example shown in FIG. 5 is for a case where the current brightness as a whole is higher than the surrounding brightness at the time when the reference image a is stored, and there is no moving object. A slow change in brightness is captured and an alarm signal is output in detection based on the reference image a, but when comparing images at minute time intervals based on the reference image a, there is almost no change in brightness and a moving object is recognized. Therefore, it is assumed that the alarm signal on the reference image a side captures a change in the surrounding environment as described above, and in this case, it is not recognized that a moving object has been detected, and a false alarm can be avoided. Ru.

また、第6図に示す場合では、同じ基準画像aに対して
、比較画像は画面の左右両端の画素列では10階調の輝
度変化があり、中央の縦2列の画素では20階調の輝度
変化を示している。一方、基準画像すと比較画像との比
較では、画面の左右両端の画素列では輝度変化がないの
に対し、中央の縦2列の画素例では10階調の輝度変化
を示している。
In addition, in the case shown in Fig. 6, for the same reference image a, the comparison image has a luminance change of 10 gradations in the pixel columns at both the left and right ends of the screen, and a luminance change of 20 gradations in the two vertical columns of pixels in the center. It shows a change in brightness. On the other hand, in a comparison between the reference image and the comparison image, there is no change in brightness in the pixel columns at both the left and right ends of the screen, while the example of pixels in the two vertical columns in the center shows a change in brightness of 10 gradations.

このため、階調差jを基準画像a側で8.基準画像す側
で4とすると、基準画像a側ではエラー画素が画面全体
となり、また、基準画像す側ではエラー画素は中央の縦
2列の画素例のみとなる。
Therefore, the gradation difference j is set to 8.0 on the reference image a side. If it is set to 4 on the side of the reference image a, the error pixels will cover the entire screen on the side of the reference image a, and the error pixels on the side of the reference image a will only be in the central two vertical columns.

そして、かかるエラー画素に対して前記第5図と同様な
画面左半分のマスク処理を施すと、基準画像a側では画
面の右側半分がエラー画素として残り、基準画像す側で
は中央の縦2列の画素例の5 うちの右側の画素列のみがエラー画素として残る。
Then, when masking the left half of the screen similar to that shown in FIG. Pixel example 5 Only the right pixel column remains as an error pixel.

ここで、前記のようにしてマスク処理後も残ったエラー
画素の数が、共に所定のアラーム下限画素数に、、に2
を上回っていると、両方からアラーム信号が論理積回路
10に出力されて、論理積回路10はアラーム信号をア
ラームカウンタ7に出力する。
Here, the number of error pixels remaining after the masking process as described above is equal to the predetermined alarm lower limit pixel number, and 2.
If it exceeds , alarm signals are output from both to the AND circuit 10, and the AND circuit 10 outputs the alarm signal to the alarm counter 7.

即ち、第6図に示す例は、長い時間間隔の画像比較にお
いて周囲の明るさ変化等により画面全体での輝度増大が
あるものの、かかる輝度変化には移動物体による輝度変
化分も含まれており、かかる移動物体による輝度変化が
微小時間間隔の画像比較で捉えられているものであり、
この場合、ゆっくりした環境変化に影響されない微小時
間間隔の画像比較により移動物体の存在が検出され、然
も、長い時間間隔の画像比較においても輝度変化が認め
られていることから、監視対象の移動物体の移動(有無
)とは無関係な周囲環境等の輝度変化のみとは認め難く
、真に移動物体が検出されたものとするものである。
That is, in the example shown in FIG. 6, although there is an increase in brightness across the screen due to changes in ambient brightness when comparing images over a long time interval, such brightness changes also include brightness changes due to moving objects. , the brightness changes due to such moving objects are captured by image comparison at minute time intervals,
In this case, the presence of a moving object is detected by comparing images at minute time intervals that are not affected by slow environmental changes, and since changes in brightness are also observed in image comparisons at long time intervals, the movement of the monitored object is detected. It is difficult to recognize that this is just a change in brightness in the surrounding environment, etc., unrelated to the movement (presence or absence) of the object, and it is assumed that a moving object has truly been detected.

6 長い時間間隔の画像比較では、前述のように周囲の明る
さが変化した場合に、この周囲環境の変化を移動物体と
して検出してしまい、移動物体によるものであるか、周
囲環境の変化によるものであるかを明確に区別すること
が困難であるが、短時間間隔の画像比較ではゆっ(すし
た周囲環境の変化に影響され難いから、長い時間間隔の
画像比較で得られた輝度差分出力が周囲環境の変化のみ
によるものであるか、又は、移動物体の検出による輝度
変化分を含むものであるかを、短時間間隔での画像比較
で判別できるものである。
6 In image comparison over a long time interval, if the ambient brightness changes as described above, this change in the surrounding environment will be detected as a moving object, and it may be due to a moving object or a change in the surrounding environment. Although it is difficult to clearly distinguish between images, it is difficult to clearly distinguish between images at short time intervals. By comparing images at short intervals, it is possible to determine whether the change is due only to a change in the surrounding environment or includes a change in brightness due to detection of a moving object.

尚、上記のように基準画像を2種類備える場合でも、処
理条件を2種類備えてそれぞれパラレルに実行されるよ
うになっており、例えば侵入者等の移動物体があるとき
には基準画像aとの比較の方が移動物体の全く撮像され
てない画像と比較することにより、物体に動きがなくと
も輝度差分出力が得られるから、基準画像す側の処理条
件に比べ、階調差j等の条件を基準画像a側ではより厳
しく設定することができる。
Note that even when two types of reference images are provided as described above, two types of processing conditions are provided and each is executed in parallel. For example, when there is a moving object such as an intruder, comparison with reference image a is performed. Since it is possible to obtain a brightness difference output even when there is no movement of the object by comparing it with an image of a moving object that has not been captured at all, conditions such as gradation difference j can be adjusted compared to the processing conditions for the reference image. On the reference image a side, the setting can be made more strict.

ここで、一定時間間隔で基準画像が更新される場合及び
所定時刻の基準画像が保持される場合における実際の画
像に対する差分画像の状態を、第7図及び第8図に従っ
て説明する。
Here, the state of the difference image with respect to the actual image when the reference image is updated at regular time intervals and when the reference image at a predetermined time is retained will be explained with reference to FIGS. 7 and 8.

第7図は基準画像が画像比較毎に更新される場合であり
、無人の部屋(A)に何者かが入室すると(B)、無人
状態と侵入者が撮像された状態との差分画像として侵入
者が抽出されてアラーム信号が出力される。また、侵入
者が部屋の中で移動すると(C)、移動前後でやはり差
分画像が発生し、アラーム信号が出力される。但し、侵
入者が部屋の中で移動を停止して静止すると(D)、短
時間間隔で輝度差が発生しないからアラーム信号は出力
されないが、侵入者がその場で腕を上げるなどすると(
E)、腕を下げていた状態と上げた状態とで差分画像が
発生し、アラーム信号が出力される。更に、侵入者が退
室すると、侵入者が存在した画像と、無人状態との比較
により差分画像が発生し、アラーム信号が出力される。
Figure 7 shows the case where the reference image is updated every time the image is compared, and when someone enters an unoccupied room (A) (B), the intruder enters as a difference image between the unoccupied state and the state in which the intruder is imaged. person is extracted and an alarm signal is output. Furthermore, when the intruder moves within the room (C), differential images are generated before and after the intruder moves, and an alarm signal is output. However, if the intruder stops moving in the room (D), no alarm signal will be output because there will be no difference in brightness at short intervals, but if the intruder raises his arm on the spot (D), the alarm signal will not be output.
E) A difference image is generated between the lowered arm and the raised arm, and an alarm signal is output. Furthermore, when the intruder leaves the room, a difference image is generated by comparing the image in which the intruder was present and the image in the unoccupied state, and an alarm signal is output.

第8図は基準画像を更新しないで記憶保持する7 8 場合を示し、基準画像としては、四角形の物体が無人の
部屋に置かれている状態としである。
FIG. 8 shows a case where the reference image is stored and retained without being updated, and the reference image is a rectangular object placed in an unoccupied room.

このような基準画像に対して、何者かが入室すると(A
)、基準画像にない侵入者の撮像により差分画像が発生
してアラーム信号が出力され、かかる侵入者の有無によ
る差分画像の発生は、侵入者が監視視野内で動いた場合
は勿論、静止しても、侵入者が退室するまで継続される
(B)〜(D)。
For such a reference image, if someone enters the room (A
), a difference image is generated by capturing an image of an intruder who is not in the reference image, and an alarm signal is output. (B) to (D) continue until the intruder leaves the room.

また、侵入者が前記四角形の物体を移動させると、この
物体の移動によっても差分画像が発生し、侵入者が物体
を元の位置から移動させた状態で退室すると(D)、物
体が基準画像として記憶されている元の位置に戻される
まで、物体の移動として差分画像が出力されて継続的に
アラーム信号が出力されることになる。
Furthermore, when the intruder moves the rectangular object, a difference image is also generated due to the movement of this object, and when the intruder leaves the room with the object moved from its original position (D), the object becomes the reference image. A differential image is output as the object moves and an alarm signal is continuously output until the object is returned to its original position stored as .

従って、第7図及び第8図に示す場合、侵入者が侵入し
た部屋の中で動いたり入退室した場合に、両方からアラ
ーム信号が出力されることになり、第8図に示す検出で
は、周囲の明るさ変化などによって侵入者の有無や物体
の移動を誤報する可能9 性があるが、かかる検出が第7図に示す基準画像を更新
して行われ環境変化に影響され難い画像比較で物体の移
動として捉えられれば、基準画像を固定して行う画像比
較の結果が侵入者の存在や物体の移動によるものを含む
ものと特定できることになり、固定基準画像に基づく検
出の環境変化に影響され易いという弱点を補って検出装
置の信頬性を向上させることができる。
Therefore, in the cases shown in FIGS. 7 and 8, if the intruder moves or enters or exits the room, an alarm signal will be output from both, and in the detection shown in FIG. There is a possibility that the presence or absence of an intruder or the movement of an object may be falsely reported due to changes in ambient brightness, etc.9 However, such detection is performed by updating the reference image shown in Figure 7, and is compared with images that are not easily affected by environmental changes. If it is captured as the movement of an object, the results of image comparison performed with a fixed reference image can be identified as including those caused by the presence of an intruder or the movement of the object, which will affect the environmental changes in detection based on the fixed reference image. The reliability of the detection device can be improved by compensating for the weakness that it is easily detected.

尚、前記ビデオメモリ4bにおける記憶画像の更新は、
前述のようにタイマー9による時刻指定の他、操作スイ
ッチにより任意の適時に更新される構成としても良い。
Incidentally, the updating of the stored image in the video memory 4b is as follows.
In addition to specifying the time using the timer 9 as described above, it may also be configured to update at any time using an operation switch.

〈発明の効果〉 以上説明したように本発明によると、現時点における画
像信号と所定時間だけ前の時点における画像信号との輝
度を比較して得られる輝度差分出力の処理条件を複数種
備え、それぞれの処理条件に基づいて輝度差分出力を並
行処理して移動物体の検出を行うよう構成したことによ
り、検出場所や検出状況に応じたきめ細かな処理条件設
定が行0 え、例えば、二次元撮像センサに対して検出対象の移動
物体が遠近両方を移動する場合や、画面中が明暗に分か
れているときにも、それぞれに対応する処理条件を設定
し並行処理することで、遠近又は明暗両方で精度の良い
検出を行うことができる。
<Effects of the Invention> As explained above, according to the present invention, a plurality of processing conditions are provided for outputting a luminance difference obtained by comparing the luminance of an image signal at the present moment and an image signal at a point a predetermined time before, and each By configuring the system to detect a moving object by processing the brightness difference output in parallel based on the processing conditions of Even when the moving object to be detected moves both near and far, or when the screen is divided into bright and dark areas, by setting corresponding processing conditions and performing parallel processing, accuracy can be achieved in both distance and brightness. can perform good detection.

また、輝度差分出力を画素単位でデジタル信号として出
力するよう構成し、前記処理条件として輝度差発生を特
定する輝度差のしきい値と、該しきい値に基づき輝度差
発生が特定された画素の無効数を特定する画素数のしき
い値と、画像の中で検出領域から除外する部分を指示す
るマスク領域マツプとを少なくとも含んで構成すること
で、誤検出の発生を複数のパラメータ設定で精度良く回
避することができ、また、処理条件のしきい値を数値化
して明確にし条件設定を容易に行えるようにすることが
可能である。
Further, the luminance difference output is configured to be output as a digital signal for each pixel, and the processing conditions include a luminance difference threshold for identifying the occurrence of a luminance difference, and a pixel for which the occurrence of a luminance difference is identified based on the threshold. By including at least a threshold value for the number of pixels that specifies the invalid number of pixels, and a mask area map that indicates the part of the image to be excluded from the detection area, false detection can be prevented by setting multiple parameters. This can be avoided with high accuracy, and the threshold value of the processing conditions can be quantified and clarified, making it possible to easily set the conditions.

更に、一定時間毎に記憶更新される画像信号と、所定時
刻の時点から記憶保持される画像信号とを備え、これら
の画像信号と現時点における画像信号とをそれぞれ比較
して輝度差分出力を得て、両方の輝度差分出力から共に
移動物体が検出されたときにのみ移動物体検出信号を出
力するよう構成することで、一方の記憶画像に基づく検
出処理での誤報の発生を他方で補って、特に、物体の有
無を精度良く検出できるようになる。
Furthermore, it has an image signal that is stored and updated at regular intervals and an image signal that is stored and retained from a predetermined time point, and compares these image signals with the current image signal to obtain a brightness difference output. By configuring to output a moving object detection signal only when a moving object is detected from both luminance difference outputs, the occurrence of false alarms in the detection processing based on one stored image can be compensated for by the other, and especially , the presence or absence of an object can be detected with high accuracy.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の第1実施例を示すシステムブロック図
、第2図及び第3図はそれぞれ同上第1実施例における
2つの処理条件に基づく処理内容を説明するための図、
第4図は本発明の第2実施例を示すシステムブロック図
、第5図及び第6図はそれぞれ同上第2実施例における
2つの基準画像に基づく処理内容を説明するための図、
第1図及び第8図はそれぞれ画像比較による差分画像出
力の具体例を示す図である。 1・・・二次元撮像センサ  3・・・A/D変換器4
a、4b・・・ビデオメモリ  5a、5b・・・マス
クメモリ  6a、6b・・・エラー画素カウンタ7・
・・アラームカウンタ  、i・・・階調差(輝度差)
1 2 M・・・マスク領域マツプ k・・・アラーム下限画素 数 !・・・連続回数 i・・・比較間隔
FIG. 1 is a system block diagram showing a first embodiment of the present invention, and FIGS. 2 and 3 are diagrams for explaining processing contents based on two processing conditions in the first embodiment, respectively.
FIG. 4 is a system block diagram showing a second embodiment of the present invention, and FIGS. 5 and 6 are diagrams for explaining processing contents based on two reference images in the second embodiment, respectively.
FIG. 1 and FIG. 8 are diagrams each showing a specific example of differential image output by image comparison. 1... Two-dimensional image sensor 3... A/D converter 4
a, 4b... Video memory 5a, 5b... Mask memory 6a, 6b... Error pixel counter 7.
... Alarm counter, i... Gradation difference (brightness difference)
1 2 M...Mask area map k...Alarm lower limit number of pixels! ...Continuous number of times i...Comparison interval

Claims (1)

【特許請求の範囲】 (1)二次元撮像手段を備え、該二次元撮像手段により
撮像された現時点における画像信号と所定時間だけ前の
時点における画像信号とを比較して輝度差分出力を取り
出し、該輝度差分出力に基づいて撮像された画像中の移
動物体を検出する移動物体検出装置において、 前記輝度差分出力の処理条件を複数種備え、それぞれの
処理条件に基づいて輝度差分出力を並行処理して移動物
体の検出を行うよう構成したことを特徴とする移動物体
検出装置。(2)前記輝度差分出力を画素単位毎のデジ
タル信号として出力するよう構成したことを特徴とする
請求項1記載の移動物体検出装置。 (3)前記処理条件が、輝度差発生を特定する輝度差の
しきい値と、輝度差発生が特定された画素の無効数を特
定する画素数のしきい値と、画像の中で検出領域から除
外する部分を指示するマスク領域マップとを少なくとも
含むことを特徴とする請求項2記載の移動物体検出装置
。 (4)二次元撮像手段を備え、該二次元撮像手段により
撮像された現時点における画像信号と所定時間だけ前の
時点における画像信号とを比較して輝度差分出力を取り
出し、該輝度差分出力に基づいて撮像された画像中の移
動物体を検出する移動物体検出装置において、 前記所定時間だけ前の時点における画像信号として、一
定時間毎に記憶更新される画像信号と、所定時刻の時点
から記憶保持される画像信号とを備え、これらの画像信
号と現時点における画像信号とをそれぞれ比較して得た
輝度差分出力から共に移動物体が検出されたときにのみ
移動物体検出信号を出力するよう構成したことを特徴と
する移動物体検出装置。
[Scope of Claims] (1) A two-dimensional imaging means is provided, and a luminance difference output is extracted by comparing an image signal at the current moment captured by the two-dimensional imaging means with an image signal at a time a predetermined time before; A moving object detection device that detects a moving object in a captured image based on the brightness difference output, comprising a plurality of types of processing conditions for the brightness difference output, and processes the brightness difference output in parallel based on each processing condition. A moving object detection device characterized in that it is configured to detect a moving object. (2) The moving object detection device according to claim 1, wherein the luminance difference output is configured to be output as a digital signal for each pixel. (3) The processing conditions include a brightness difference threshold that specifies the occurrence of a brightness difference, a pixel count threshold that specifies the invalid number of pixels for which a brightness difference has been identified, and a detection area in the image. 3. The moving object detection apparatus according to claim 2, further comprising at least a mask area map indicating a portion to be excluded from the moving object detection apparatus. (4) A two-dimensional imaging means is provided, and a luminance difference output is extracted by comparing the current image signal captured by the two-dimensional imaging means with an image signal at a predetermined time before, and based on the luminance difference output. In a moving object detection device that detects a moving object in an image captured by a user, an image signal stored and updated at regular time intervals as an image signal at a point in time before the predetermined time, and an image signal stored and retained from a predetermined time point onwards. image signals, and is configured to output a moving object detection signal only when a moving object is detected from the brightness difference output obtained by comparing these image signals with the current image signal. Characteristic moving object detection device.
JP1276026A 1989-10-25 1989-10-25 Moving object detection device Expired - Fee Related JP2923653B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1276026A JP2923653B2 (en) 1989-10-25 1989-10-25 Moving object detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1276026A JP2923653B2 (en) 1989-10-25 1989-10-25 Moving object detection device

Publications (2)

Publication Number Publication Date
JPH03138596A true JPH03138596A (en) 1991-06-12
JP2923653B2 JP2923653B2 (en) 1999-07-26

Family

ID=17563761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1276026A Expired - Fee Related JP2923653B2 (en) 1989-10-25 1989-10-25 Moving object detection device

Country Status (1)

Country Link
JP (1) JP2923653B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6469746B1 (en) 1992-12-28 2002-10-22 Sanyo Electric Co., Ltd. Multi-vision screen adapter
JP2002373388A (en) * 2001-06-14 2002-12-26 Matsushita Electric Works Ltd Human body detection device
JP2005339276A (en) * 2004-05-27 2005-12-08 Tama Tlo Kk Method, program and device for detection of moving body
JP2011223265A (en) * 2010-04-08 2011-11-04 Nikon Corp Image evaluation device
JP2019046295A (en) * 2017-09-05 2019-03-22 三菱電機株式会社 Monitoring device
JP2019125969A (en) * 2018-01-18 2019-07-25 株式会社東芝 Image transmission system, monitoring apparatus, and image transmission method
CN115560419A (en) * 2022-09-23 2023-01-03 冠奕达防爆电器有限公司 Explosion-proof analysis cabin and operation method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6469746B1 (en) 1992-12-28 2002-10-22 Sanyo Electric Co., Ltd. Multi-vision screen adapter
JP2002373388A (en) * 2001-06-14 2002-12-26 Matsushita Electric Works Ltd Human body detection device
JP2005339276A (en) * 2004-05-27 2005-12-08 Tama Tlo Kk Method, program and device for detection of moving body
JP2011223265A (en) * 2010-04-08 2011-11-04 Nikon Corp Image evaluation device
JP2019046295A (en) * 2017-09-05 2019-03-22 三菱電機株式会社 Monitoring device
JP2019125969A (en) * 2018-01-18 2019-07-25 株式会社東芝 Image transmission system, monitoring apparatus, and image transmission method
CN115560419A (en) * 2022-09-23 2023-01-03 冠奕达防爆电器有限公司 Explosion-proof analysis cabin and operation method thereof

Also Published As

Publication number Publication date
JP2923653B2 (en) 1999-07-26

Similar Documents

Publication Publication Date Title
US10032283B2 (en) Modification of at least one parameter used by a video processing algorithm for monitoring of a scene
JPS6286990A (en) Abnormality supervisory equipment
JP2923652B2 (en) Monitoring system
JPH03138596A (en) Moving body detecting device
JPH0514891A (en) Image monitor device
JP2847597B2 (en) Infrared monitoring system
JPH02182093A (en) Monitor
JPH02132599A (en) Monitor device
JPH11308601A (en) Detector for moving direction
JPH09305882A (en) Monitoring device
KR101799334B1 (en) Wall Disappear and Invasion Sensing Device and Method thereof
JPS63163681A (en) Automatic supervisory equipment
JP2503613B2 (en) Abnormality monitoring device
JPH08101979A (en) Method for detecting abnormality by monitoring camera
JPH04200084A (en) Image monitor device
JPH01288086A (en) Infrared ray monitor system
JPH0271397A (en) Picture monitoring device
JP3702520B2 (en) Video camera system and automatic tracking method thereof
JPH04196993A (en) Image monitor device
JPH04311186A (en) Image monitoring device
JPH06141323A (en) Monitor camera system
JPH03250989A (en) Picture monitor
JPH03267893A (en) Picture monitoring device
JPH11136662A (en) Supervisory equipment
JPH057364A (en) Picture monitoring device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090507

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees