JP2020184093A - Analyzer, monitoring system, and program - Google Patents
Analyzer, monitoring system, and program Download PDFInfo
- Publication number
- JP2020184093A JP2020184093A JP2017154892A JP2017154892A JP2020184093A JP 2020184093 A JP2020184093 A JP 2020184093A JP 2017154892 A JP2017154892 A JP 2017154892A JP 2017154892 A JP2017154892 A JP 2017154892A JP 2020184093 A JP2020184093 A JP 2020184093A
- Authority
- JP
- Japan
- Prior art keywords
- distance
- distance image
- pixels
- difference
- threshold value
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/88—Lidar systems specially adapted for specific applications
- G01S17/89—Lidar systems specially adapted for specific applications for mapping or imaging
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/48—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
- G01S7/497—Means for monitoring or calibrating
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/18—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
- G08B13/181—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using active radiation detection systems
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B25/00—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
- G08B25/01—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
- G08B25/04—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using a single signalling line, e.g. in a closed loop
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Electromagnetism (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Burglar Alarm Systems (AREA)
- Alarm Systems (AREA)
- Optical Radar Systems And Details Thereof (AREA)
Abstract
Description
本発明は、解析装置、監視システム及びプログラムに関する。 The present invention relates to analyzers, monitoring systems and programs.
近年、監視空間内の侵入者や車両を検出する目的で、レーザーレーダー等の距離測定装置(センサー)で得られた距離画像の中から物体を検出する技術が利用されている。ここで、距離画像とは、2次元座標に物体までの距離値がマッピングされたものである。具体的には、距離測定装置は、監視空間にレーザー光等を照射し、監視空間に存在する物体からの反射光を受光するまでの時間により、物体までの距離を計測する。そして、レーザー光等の照射方向を順次変えて監視空間内を2軸方向に走査することで、距離画像を生成する。 In recent years, for the purpose of detecting an intruder or a vehicle in a surveillance space, a technique for detecting an object from a distance image obtained by a distance measuring device (sensor) such as a laser radar has been used. Here, the distance image is a two-dimensional coordinate in which the distance value to the object is mapped. Specifically, the distance measuring device measures the distance to the object by irradiating the monitoring space with laser light or the like and taking the time until the reflected light from the object existing in the monitoring space is received. Then, a distance image is generated by sequentially changing the irradiation direction of the laser beam or the like and scanning the monitoring space in the biaxial direction.
監視システムに用いられる距離測定装置の設置位置や向きが侵入者により意図的に変えられてしまうと、本来の監視対象を監視することができなくなる。このような悪意のある行為に対する対策として、例えば、複数の走査方位と物体までの距離とを対応付けた測距データを生成する監視用センサーにおいて、過去の測距データである基準データと現在の測距データとを比較して、監視用センサーの向きが変化したと判定する技術が開示されている(特許文献1参照)。 If the installation position and orientation of the distance measuring device used in the monitoring system is intentionally changed by an intruder, the original monitoring target cannot be monitored. As a countermeasure against such malicious acts, for example, in a monitoring sensor that generates distance measurement data in which a plurality of scanning directions and distances to an object are associated with each other, the reference data which is the past distance measurement data and the current reference data are present. A technique for determining that the orientation of a monitoring sensor has changed by comparing with distance measurement data is disclosed (see Patent Document 1).
しかし、一時的なイベント等、監視対象が期間限定的な場合、必ずしも距離測定装置を建物のような安定した場所に設置できるとは限らず、ポールや三脚といった可動式の設置器具に固定するケースもあり得る。この場合、自然の風や、付近を通行する人・物との接触により、設置器具が揺れることが予想される。 However, when the monitoring target is for a limited time such as a temporary event, it is not always possible to install the distance measuring device in a stable place such as a building, and it is a case where it is fixed to a movable installation device such as a pole or tripod. There can also be. In this case, it is expected that the installation equipment will shake due to the natural wind and contact with people and objects passing by.
上記先行技術は、基準データと現在の測距データとの比較により監視用センサーの設置向きの変化を検知するものであるため、基準データからの差異が恒久的な設置位置のずれによるものなのか、一時的な揺れによるものなのかを区別することができないという問題があった。
例えば、設置器具と一緒に監視用センサーが揺れているタイミングで比較用の測距データが生成されると、一時的な揺れの途中であるにもかかわらず、監視用センサーの設置向きが変化したと誤検出される可能性があった。
Since the above prior art detects changes in the installation orientation of the monitoring sensor by comparing the reference data with the current distance measurement data, is the difference from the reference data due to a permanent deviation in the installation position? There was a problem that it was not possible to distinguish whether it was due to temporary shaking.
For example, if the distance measurement data for comparison is generated at the timing when the monitoring sensor is shaking together with the installation equipment, the installation orientation of the monitoring sensor changes even though it is in the middle of temporary shaking. There was a possibility of false detection.
本発明は、上記の従来技術における問題に鑑みてなされたものであって、距離測定装置の設置位置又は向きの変化を適正に検出しつつ、一時的な距離測定装置の揺れによる変化を検出対象から除外することを課題とする。 The present invention has been made in view of the above-mentioned problems in the prior art, and is a target for detecting a change due to a temporary shaking of the distance measuring device while appropriately detecting a change in the installation position or orientation of the distance measuring device. The challenge is to exclude from.
上記課題を解決するために、請求項1に記載の発明は、空間を2軸方向に走査して当該空間に存在する物体までの距離を測定し、この距離を画素値とする距離画像を所定の時間間隔で生成する距離測定装置から距離画像を取得する距離画像取得手段と、処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する距離差分画素数取得手段と、最新の距離画像における距離差分画素の数が第2閾値以上であるか否かを判断する第1変化判断手段と、前記最新の距離画像における距離差分画素の数が前記第2閾値以上であると判断された場合に、前記最新の距離画像における距離差分画素の数と当該最新の距離画像の一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であるか否かを判断する第2変化判断手段と、前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値が前記第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、前記距離測定装置の設置位置又は向きが変化したと判断する設置異常判断手段と、を備える解析装置である。 In order to solve the above problem, the invention according to claim 1 scans a space in a biaxial direction, measures a distance to an object existing in the space, and determines a distance image using this distance as a pixel value. The distance image acquisition means that acquires the distance image from the distance measuring device generated at the time interval of, compares the distance image to be processed with the reference distance image generated at the time of reference, and the distance difference between the pixels at the positions corresponding to each other. The distance difference pixel number acquisition means for acquiring the number of distance difference pixels whose absolute value is equal to or greater than the first threshold, and determining whether or not the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold. When it is determined that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value, the number of distance difference pixels in the latest distance image and the latest distance are determined. A second change determining means for determining whether or not the absolute value of the difference in the number of distance difference pixels in the distance image immediately before the image is equal to or less than the third threshold, and the number of distance difference pixels in the latest distance image. When the distance image determined that the absolute value of the difference in the number of distance difference pixels in the previous distance image is equal to or less than the third threshold is continuous for the fourth threshold or more, the installation position of the distance measuring device. Alternatively, the analyzer is provided with an installation abnormality determining means for determining that the orientation has changed.
請求項2に記載の発明は、請求項1に記載の解析装置において、前記距離差分画素数取得手段は、前記処理対象の距離画像と前記基準距離画像の画素のうち、所定のルールに基づいて間引かれた画素を対象として、前記距離差分画素の数を取得する。 According to the second aspect of the present invention, in the analysis apparatus according to the first aspect, the distance difference pixel number acquisition means is based on a predetermined rule among the pixels of the distance image to be processed and the reference distance image. The number of the distance difference pixels is acquired for the thinned pixels.
請求項3に記載の発明は、請求項1又は2に記載の解析装置において、前記第1閾値、前記第2閾値、前記第3閾値及び前記第4閾値のうち、少なくとも一つは、監視対象となる環境に応じて変更可能である。 According to the third aspect of the present invention, in the analysis apparatus according to the first or second aspect, at least one of the first threshold value, the second threshold value, the third threshold value, and the fourth threshold value is monitored. It can be changed according to the environment.
請求項4に記載の発明は、請求項1から3のいずれか一項に記載の解析装置において、前記最新の距離画像から、前記基準距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第5閾値以上の画素を抜き出し、当該抜き出された画素が所定の大きさ以上の領域を構成している場合に、前記空間内への侵入者とみなして通知する侵入者通知手段を備える。
The invention according to
請求項5に記載の発明は、請求項1から4のいずれか一項に記載の解析装置において、前記第2変化判断手段は、前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値に代えて、前記最新の距離画像と前記一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素の数を用いる。
The invention according to
請求項6に記載の発明は、空間を2軸方向に走査して当該空間に存在する物体までの距離を測定し、この距離を画素値とする距離画像を所定の時間間隔で生成する距離測定装置と、当該距離測定装置により生成された距離画像を解析する解析装置と、を備える監視システムであって、前記解析装置は、前記距離測定装置から距離画像を取得する距離画像取得手段と、処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する距離差分画素数取得手段と、最新の距離画像における距離差分画素の数が第2閾値以上であるか否かを判断する第1変化判断手段と、前記最新の距離画像における距離差分画素の数が前記第2閾値以上であると判断された場合に、前記最新の距離画像における距離差分画素の数と当該最新の距離画像の一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であるか否かを判断する第2変化判断手段と、前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値が前記第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、前記距離測定装置の設置位置又は向きが変化したと判断する設置異常判断手段と、を備える。
The invention according to
請求項7に記載の発明は、コンピューターを、空間を2軸方向に走査して当該空間に存在する物体までの距離を測定し、この距離を画素値とする距離画像を所定の時間間隔で生成する距離測定装置から距離画像を取得する距離画像取得手段、処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する距離差分画素数取得手段、最新の距離画像における距離差分画素の数が第2閾値以上であるか否かを判断する第1変化判断手段、前記最新の距離画像における距離差分画素の数が前記第2閾値以上であると判断された場合に、前記最新の距離画像における距離差分画素の数と当該最新の距離画像の一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であるか否かを判断する第2変化判断手段、前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値が前記第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、前記距離測定装置の設置位置又は向きが変化したと判断する設置異常判断手段、として機能させるためのプログラムである。 According to the seventh aspect of the present invention, a computer scans a space in two axial directions to measure a distance to an object existing in the space, and a distance image using this distance as a pixel value is generated at a predetermined time interval. The distance image acquisition means for acquiring the distance image from the distance measuring device, the distance image to be processed is compared with the reference distance image generated at the time of reference, and the absolute value of the distance difference between the pixels at the positions corresponding to each other is the first. A distance difference pixel number acquisition means for acquiring the number of distance difference pixels which are pixels equal to or greater than the threshold, and a first change determination means for determining whether or not the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold. When it is determined that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value, the number of distance difference pixels in the latest distance image and the distance image immediately before the latest distance image are obtained. Second change determination means for determining whether or not the absolute value of the difference in the number of distance difference pixels in the above-mentioned latest distance image is equal to or less than the third threshold, the number of distance difference pixels in the latest distance image and the previous distance image. When the distance image determined that the absolute value of the difference in the number of distance difference pixels is equal to or less than the third threshold is continuous for the fourth threshold or more, the installation position or orientation of the distance measuring device is determined to have changed. It is a program to function as an abnormality judgment means.
本発明によれば、距離測定装置の設置位置又は向きの変化を適正に検出しつつ、一時的な距離測定装置の揺れによる変化を検出対象から除外することができる。 According to the present invention, it is possible to properly detect a change in the installation position or orientation of the distance measuring device and exclude a temporary change due to the shaking of the distance measuring device from the detection target.
以下、図面を参照して、本発明に係る監視システムの一実施形態について説明する。ただし、発明の範囲は、図示例に限定されない。 Hereinafter, an embodiment of the monitoring system according to the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the illustrated examples.
図1に、本実施の形態における監視システム100の構成を示す。
図1に示すように、監視システム100は、距離測定装置10と、解析装置20と、警報器30と、を備える。
FIG. 1 shows the configuration of the
As shown in FIG. 1, the
距離測定装置10は、レーザーレーダーにより構成されている。
図2(a)及び(b)に、距離測定装置10の監視空間の例を示す。図2(a)及び(b)において、距離測定装置10から見た水平方向にX軸、垂直方向にY軸を取り、X軸及びY軸と直交する方向にZ軸を取る。
距離測定装置10は、空間をX軸方向及びY軸方向に走査して当該空間に存在する物体までの距離を測定し、この距離を画素値とする距離画像を所定の時間間隔で生成する。図2(a)及び(b)においては、空間に存在する物体として、壁40と木41〜44を図示している。距離測定装置10は、生成した距離画像を解析装置20に出力する。距離測定装置10は、X軸方向における水平走査角αの範囲、Y軸方向における垂直走査角βの範囲で距離を測定可能である。走査範囲の各画素に対して一巡分の距離値が得られた距離画像をフレームと表現する場合もある。
The
FIGS. 2A and 2B show an example of the monitoring space of the
The
解析装置20は、距離測定装置10により生成された距離画像を解析し、異常を検出するコンピューター装置である。
図1に示すように、解析装置20は、制御部21と、操作部22と、表示部23と、通信部24と、記憶部25と、RAM(Random Access Memory)26と、を備える。
The
As shown in FIG. 1, the
制御部21は、CPU(Central Processing Unit)等から構成され、解析装置20の各部の処理動作を統括的に制御する。具体的には、制御部21は、記憶部25に記憶されている各種処理プログラムを読み出してRAM26に展開し、当該プログラムとの協働により各種処理を行う。
The
操作部22は、カーソルキー、文字入力キー及び各種機能キー等を備えたキーボードと、マウス等のポインティングデバイスを備えて構成され、キーボードに対するキー操作やマウス操作により入力された操作信号を制御部21に出力する。
The
表示部23は、LCD(Liquid Crystal Display)等のモニターを備えて構成されており、制御部21から入力される表示信号の指示に従って、各種画面を表示する。
The
通信部24は、ケーブル等により接続された外部機器との間でデータの送受信を行う。また、通信部24は、ネットワークインターフェース等により構成され、LAN(Local Area Network)、インターネット等の通信ネットワークを介して接続された外部機器との間でデータの送受信を行う。例えば、通信部24は、距離測定装置10から距離画像を受信する。また、通信部24は、警報器30に対して、警報器30を作動させるための制御信号を送信する。
The
記憶部25は、HDD(Hard Disk Drive)や不揮発性の半導体メモリー等により構成され、各種処理プログラム、当該プログラムの実行に必要なパラメーターやファイル等を記憶している。例えば、記憶部25は、第1閾値、第2閾値、第3閾値、第4閾値、第5閾値を記憶している。
The
RAM26は、揮発性の半導体メモリーにより構成され、制御部21により実行される各種処理において、記憶部25から読み出された各種プログラム、入力若しくは出力データ等を一時的に記憶するワークエリアを形成する。
The
制御部21(距離画像取得手段)は、距離測定装置10により所定の時間間隔で生成された距離画像を、通信部24を介して距離測定装置10から取得する。
The control unit 21 (distance image acquisition means) acquires a distance image generated by the
制御部21(距離差分画素数取得手段)は、処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する。基準時としては、距離測定装置10を設置した時、監視システム100の管理者が距離測定装置10の設置環境を見回り、距離測定装置10の設置位置及び向きを確認した時等が挙げられる。第1閾値は、処理対象の距離画像と基準距離画像の対応する位置の画素間で距離値に有意の変化があるか否かを判断するための閾値である。ここで、制御部21は、処理対象の距離画像と基準距離画像の画素のうち、所定のルールに基づいて間引かれた画素(一定間隔で間引く等)を対象として、距離差分画素の数を取得することとしてもよい。
The control unit 21 (distance difference pixel number acquisition means) compares the distance image to be processed with the reference distance image generated at the time of reference, and the absolute value of the distance difference between the pixels at the positions corresponding to each other is equal to or greater than the first threshold value. The number of distance difference pixels, which are the pixels of Examples of the reference time include when the
図3(a)に、基準時(位置X1)及び比較時(位置X2)における距離測定装置10の設置位置の例を示す。図3(b)は、距離測定装置10により基準時に生成された基準距離画像のイメージ図である。図3(c)は、距離測定装置10により比較時に生成された距離画像のイメージ図である。実際は、距離画像は、各画素に距離値を有するデータである。なお、図3(a)〜(c)においても、空間に存在する物体として、壁40と木41〜44を図示している。
FIG. 3A shows an example of the installation position of the
距離測定装置10の設置位置が位置X1から位置X2に変わったことで、図3(b)及び(c)に示す二つのフレーム間で、相互に対応する位置の画素の距離値に変化が生じる。例えば、図3(c)に示す領域50,51(木42,44に対応する部分)では、図3(b)に示す基準時と比較して、距離値が小さくなる。一方、図3(c)に示す領域52,53(木43、壁40に対応する部分)では、図3(b)に示す基準時と比較して、距離値が大きくなる。
Since the installation position of the
制御部21(第1変化判断手段)は、最新の距離画像(以下、最新距離画像という。)における距離差分画素の数が第2閾値以上であるか否かを判断する。第2閾値は、最新距離画像と基準距離画像との間で、距離画像に所定の変化があるか否かを判断するための閾値である。例えば、第2閾値として、距離画像を構成する画素のうち、信用できる範囲の画素の数の50%等が用いられる。 The control unit 21 (first change determination means) determines whether or not the number of distance difference pixels in the latest distance image (hereinafter referred to as the latest distance image) is equal to or greater than the second threshold value. The second threshold value is a threshold value for determining whether or not there is a predetermined change in the distance image between the latest distance image and the reference distance image. For example, as the second threshold value, 50% or the like of the number of pixels in the reliable range among the pixels constituting the distance image is used.
制御部21(第2変化判断手段)は、最新距離画像における距離差分画素の数が第2閾値以上であると判断された場合に、最新距離画像における距離差分画素の数と当該最新距離画像の一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であるか否かを判断する。第3閾値は、最新距離画像と一つ前の距離画像との間で、距離画像における変化が所定の範囲内であるか否かを判断するための閾値である。第3閾値として、距離画像を構成する画素のうち、信用できる範囲の画素の数の10%等が用いられる。 When the control unit 21 (second change determining means) determines that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value, the number of distance difference pixels in the latest distance image and the latest distance image It is determined whether or not the absolute value of the difference in the number of distance difference pixels in the previous distance image is equal to or less than the third threshold value. The third threshold value is a threshold value for determining whether or not the change in the distance image is within a predetermined range between the latest distance image and the previous distance image. As the third threshold value, 10% or the like of the number of pixels in the reliable range among the pixels constituting the distance image is used.
制御部21(設置異常判断手段)は、最新距離画像における距離差分画素の数と一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、距離測定装置10の設置位置又は向きが変化したと判断する。第4閾値は、距離測定装置10の動きや揺れが安定したか否かを判断するための閾値である。
The control unit 21 (installation abnormality determining means) determines that the absolute value of the difference between the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the previous distance image is equal to or less than the third threshold value. When the images are continuous at least the fourth threshold value, it is determined that the installation position or orientation of the
第1閾値、第2閾値、第3閾値及び第4閾値のうち、少なくとも一つは、監視対象となる環境に応じて変更可能である。例えば、第1閾値、第2閾値、第3閾値、第4閾値は、ユーザーが操作部22から値を入力することにより設定され、記憶部25に記憶される。また、各閾値は、通信ネットワークを介して接続された外部機器から設定されることとしてもよい。
At least one of the first threshold value, the second threshold value, the third threshold value, and the fourth threshold value can be changed according to the environment to be monitored. For example, the first threshold value, the second threshold value, the third threshold value, and the fourth threshold value are set by the user inputting values from the
制御部21(侵入者通知手段)は、最新距離画像から、基準距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第5閾値以上の画素を抜き出し、当該抜き出された画素が所定の大きさ以上の領域を構成している場合に、空間内への侵入者とみなして通知する。第5閾値は、基準距離画像との比較において、異物を検出するための閾値であり、第1閾値より小さい値である。第5閾値は、監視対象となる環境に応じて変更可能である。所定の大きさとしては、空間内から異物を検出する上で適した値を用いる。 The control unit 21 (intruder notification means) extracts pixels from the latest distance image whose absolute value of the distance difference between the pixels at the positions corresponding to each other with the reference distance image is equal to or greater than the fifth threshold value, and extracts the pixels. When the ejected pixel constitutes an area of a predetermined size or larger, it is regarded as an intruder into the space and notified. The fifth threshold value is a threshold value for detecting a foreign substance in comparison with the reference distance image, and is a value smaller than the first threshold value. The fifth threshold value can be changed according to the environment to be monitored. As the predetermined size, a value suitable for detecting a foreign substance in the space is used.
警報器30は、監視空間に対する侵入者検出、距離測定装置10の設置位置・向きに対する異常検出を通知するものであり、光及び音を発することで異常を通知する。警報器30は、異常の種類に応じて、発光するランプの色又は音を変えるようにしてもよい。
The
次に、監視システム100における動作について説明する。
図4は、解析装置20により実行される第1の設置異常検出処理を示すフローチャートである。第1の設置異常検出処理は、制御部21と記憶部25に記憶されているプログラムとの協働によるソフトウェア処理によって実現される。第1の設置異常検出処理の開始にあたり、制御部21は、条件達成連続フレーム数の初期値を「0」として、RAM26に記憶させる。
Next, the operation in the
FIG. 4 is a flowchart showing a first installation abnormality detection process executed by the
まず、制御部21は、通信部24を介して、距離測定装置10から基準時に生成された基準距離画像を取得する(ステップS1)。制御部21は、基準距離画像をRAM26に記憶させる。
First, the
次に、制御部21は、通信部24を介して、距離測定装置10から最新距離画像を取得する(ステップS2)。制御部21は、最新距離画像をRAM26に記憶させる。距離画像を取得する時間間隔は、距離測定装置10により距離画像が生成される時間間隔(例えば、フレームレート10fps,24fps等)とする。
Next, the
次に、制御部21は、最新距離画像を基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する(ステップS3)。制御部21は、最新距離画像における距離差分画素数をRAM26に記憶させる。最新距離画像における距離差分画素数は、基準距離画像からの変化の度合いを示す値である。
Next, the
ここで、図5を参照して、距離差分画素の判断方法の具体例について説明する。図5には、距離画像を構成する各画素(X軸方向の位置x及びY軸方向の位置yの組み合わせからなる画素番号により特定される。)について、基準距離画像における距離(cm)、最新距離画像における距離(cm)、基準距離画像と最新距離画像の距離差分の絶対値(cm)とともに、距離差分画素であるか否かの判断結果(距離差分画素であれば、「○」と表示)が示されている。図5では、第1閾値として100cmを用い、基準距離画像と最新距離画像の距離差分の絶対値が100cm以上の画素を距離差分画素と判断している。 Here, a specific example of a method for determining the distance difference pixel will be described with reference to FIG. In FIG. 5, each pixel constituting the distance image (specified by a pixel number consisting of a combination of a position x in the X-axis direction and a position y in the Y-axis direction) has the latest distance (cm) in the reference distance image. Along with the distance (cm) in the distance image and the absolute value (cm) of the distance difference between the reference distance image and the latest distance image, the judgment result of whether or not it is a distance difference pixel (if it is a distance difference pixel, "○" is displayed. )It is shown. In FIG. 5, 100 cm is used as the first threshold value, and a pixel having an absolute value of the distance difference between the reference distance image and the latest distance image of 100 cm or more is determined to be a distance difference pixel.
次に、制御部21は、最新距離画像における距離差分画素数が第2閾値以上であるか否かを判断する(ステップS4)。
距離差分画素数が第2閾値未満であると判断された場合には(ステップS4;NO)、制御部21は、RAM26に記憶されている条件達成連続フレーム数を0にリセットする(ステップS5)。
Next, the
When it is determined that the number of distance difference pixels is less than the second threshold value (step S4; NO), the
ステップS4において、最新距離画像における距離差分画素数が第2閾値以上であると判断された場合には(ステップS4;YES)、制御部21は、RAM26から最新距離画像における距離差分画素数及び最新距離画像の一つ前の距離画像における距離差分画素数を読み出し、最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値を計算する(ステップS6)。最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値は、直近2フレーム間の変化の度合いを示す値である。
If it is determined in step S4 that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value (step S4; YES), the
次に、制御部21は、最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値が第3閾値以下であるか否かを判断する(ステップS7)。
最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値が第3閾値より大きいと判断された場合には(ステップS7;NO)、制御部21は、距離測定装置10が揺れている途中であると判断し、RAM26に記憶されている条件達成連続フレーム数を0にリセットする(ステップS5)。
Next, the
When it is determined that the absolute value of the difference between the number of distance difference pixels of the latest distance image and the number of distance difference pixels of the previous distance image is larger than the third threshold value (step S7; NO), the
ステップS7において、最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値が第3閾値以下であると判断された場合には(ステップS7;YES)、制御部21は、RAM26に記憶されている条件達成連続フレーム数に1を加算する(ステップS8)。つまり、条件達成連続フレーム数は、ステップS7において、最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値が第3閾値以下であると連続して判断された数である。
In step S7, when it is determined that the absolute value of the difference between the number of distance difference pixels of the latest distance image and the number of distance difference pixels of the previous distance image is equal to or less than the third threshold value (step S7; YES), The
次に、制御部21は、条件達成連続フレーム数が第4閾値以上であるか否かを判断する(ステップS9)。
条件達成連続フレーム数が第4閾値未満であると判断された場合(ステップS9;NO)、又は、ステップS5の後、ステップS2に戻り、処理を繰り返す。
Next, the
When it is determined that the number of continuous frames for achieving the condition is less than the fourth threshold value (step S9; NO), or after step S5, the process returns to step S2 and the process is repeated.
ステップS9において、条件達成連続フレーム数が第4閾値以上であると判断された場合には(ステップS9;YES)、制御部21は、距離測定装置10の設置位置又は向きが変化したと判断する(ステップS10)。
If it is determined in step S9 that the number of continuous frames for achieving the condition is equal to or greater than the fourth threshold value (step S9; YES), the
次に、制御部21は、距離測定装置10の設置異常を通知するための制御信号を、通信部24を介して警報器30に送信する(ステップS11)。警報器30は、光及び音を発することで、距離測定装置10の設置位置又は向きが変化したことを通知する。
以上で、第1の設置異常検出処理が終了する。
Next, the
This completes the first installation abnormality detection process.
ここで、図6を参照して、連続して生成された各フレームにおけるステップS4及びステップS7の処理について説明する。図6には、各フレームn,n+1,n+2,・・・,n+13に対して、距離差分画素数、距離差分画素数が第2閾値(15000)以上であるか否かの判断結果(第2閾値以上であれば、「○」と表示)、本フレームの距離差分画素数と直前フレームの距離差分画素数との差の絶対値、この値が第3閾値(2000)以下であるか否かの判断結果(第3閾値以下であれば、「○」と表示)が示されている。 Here, with reference to FIG. 6, the processing of steps S4 and S7 in each of the continuously generated frames will be described. FIG. 6 shows a determination result (second) of whether or not the number of distance difference pixels and the number of distance difference pixels are equal to or greater than the second threshold value (15000) for each frame n, n + 1, n + 2, ..., N + 13. If it is above the threshold value, it is displayed as "○"), the absolute value of the difference between the number of distance difference pixels in this frame and the number of distance difference pixels in the immediately preceding frame, and whether or not this value is equal to or less than the third threshold value (2000). Judgment result (if it is equal to or less than the third threshold value, "○" is displayed) is shown.
フレームn〜n+4については、距離差分画素数が第2閾値未満であるから(ステップS4;NO)、本フレームの距離差分画素数と直前フレームの距離差分画素数との差の絶対値の計算は不要である。この間にも、侵入者や測定誤差により、ある程度の距離差分画素は存在する。
フレームn+5〜n+13のように、距離差分画素数が第2閾値以上である場合(ステップS4;YES)、すなわち、通常動作ではあり得ない程の数の画素で距離変化が生じた場合には、距離測定装置10の設置位置又は向きが変化した可能性がある。
しかし、フレームn+5〜n+8については、本フレームの距離差分画素数と直前フレームの距離差分画素数との差の絶対値が第3閾値より大きいため(ステップS7;NO)、本フレームは、条件達成連続フレーム数にはカウントされない。
一方、フレームn+9〜n+13については、本フレームの距離差分画素数と直前フレームの距離差分画素数との差の絶対値が第3閾値以下であるため(ステップS7;YES)、本フレームは、条件達成連続フレーム数としてカウントされる。直近2フレーム間の距離差分画素数の差の絶対値が第3閾値以下に収まった状態が継続すれば、距離測定装置10の設置位置が固定された(距離画像が安定した)と判断される。
For frames n to n + 4, since the number of distance difference pixels is less than the second threshold value (step S4; NO), the absolute value of the difference between the number of distance difference pixels in this frame and the number of distance difference pixels in the immediately preceding frame is calculated. Not needed. Even during this period, some distance difference pixels exist due to intruders and measurement errors.
When the number of distance difference pixels is equal to or greater than the second threshold value (step S4; YES) as in frames n + 5 to n + 13, that is, when the distance changes occur in a number of pixels that cannot be achieved in normal operation. The installation position or orientation of the
However, for frames n + 5 to n + 8, since the absolute value of the difference between the number of distance difference pixels in this frame and the number of distance difference pixels in the immediately preceding frame is larger than the third threshold value (step S7; NO), this frame achieves the condition. It is not counted in the number of consecutive frames.
On the other hand, for frames n + 9 to n + 13, since the absolute value of the difference between the number of distance difference pixels in this frame and the number of distance difference pixels in the immediately preceding frame is equal to or less than the third threshold value (step S7; YES), this frame is a condition. It is counted as the number of continuous achievement frames. If the absolute value of the difference in the number of distance difference pixels between the two most recent frames continues to be within the third threshold value, it is determined that the installation position of the
図7は、解析装置20により実行される侵入者検出処理を示すフローチャートである。侵入者検出処理は、制御部21と記憶部25に記憶されているプログラムとの協働によるソフトウェア処理によって実現される。
FIG. 7 is a flowchart showing an intruder detection process executed by the
まず、制御部21は、通信部24を介して、距離測定装置10から基準時に生成された基準距離画像を取得する(ステップS21)。制御部21は、基準距離画像をRAM26に記憶させる。
First, the
次に、制御部21は、通信部24を介して、距離測定装置10から最新距離画像を取得する(ステップS22)。制御部21は、最新距離画像をRAM26に記憶させる。
Next, the
次に、制御部21は、最新距離画像から、基準距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第5閾値以上の画素を抜き出す(ステップS23)。
Next, the
図8(a)は、基準距離画像のイメージ図である。図8(b)は、最新距離画像のイメージ図である。実際は、距離画像は、各画素に距離値を有するデータである。図8(b)に示す最新距離画像において、基準距離画像から変わらない部分と、基準距離画像との間で距離に第5閾値以上の差がある部分60と、を分離し、最新距離画像から、基準距離画像からの距離変化が大きい画素を抜き出す。図8(c)に、抜き出された画素の例を示す。
FIG. 8A is an image diagram of a reference distance image. FIG. 8B is an image diagram of the latest distance image. In reality, the distance image is data having a distance value in each pixel. In the latest distance image shown in FIG. 8B, a portion that does not change from the reference distance image and a
次に、制御部21は、Density Based Clusteringと呼ばれる方法を用い、抜き出された画素を同一物体と考えられる領域に分ける(ステップS24)。具体的には、図9(a)に示すように、抜き出された画素のうち、まず一つの画素61に注目し、その画素61から所定距離内にある画素62を、同一物体を示す画素として関連付ける。一つの画素61から所定距離内にある画素62を見つけ出す際には、距離画像平面内の距離だけでなく、両画素61,62における距離値も考慮する。つまり、画素61に対応する位置と画素62に対応する位置が、監視対象の空間内において所定距離内にある場合に、同一物体を示す画素として関連付ける。次に、関連付けられた画素62から所定距離内にある画素63についても、同一物体を示す画素として関連付ける。これを連鎖的に繰り返し、図9(b)に示すように、同一物体と考えられる領域64,65ごとに、抜き出された画素を分ける。このように、所定距離内の近接する画素同士を関連付けて同一物体と認識する。また、領域64に含まれる画素と、領域65に含まれる画素のように、所定距離内にない画素は、別の物体(領域)として認識する。
Next, the
次に、制御部21は、同一物体と考えられる領域のうち、所定の大きさ以上の領域があるか否かを判断する(ステップS25)。例えば、同一物体として関連付けられた画素群に含まれる画素の数が一定の値以上であれば、距離の測定誤差等で発生したノイズではなく、基準時にはなかった物体が存在すると考えられる。
所定の大きさ以上の領域がないと判断された場合には(ステップS25;NO)、ステップS22に戻り、処理を繰り返す。
Next, the
If it is determined that there is no region larger than the predetermined size (step S25; NO), the process returns to step S22 and the process is repeated.
ステップS25において、所定の大きさ以上の領域があると判断された場合には(ステップS25;YES)、制御部21は、当該領域を空間内への侵入者とみなし、侵入者検出を通知するための制御信号を、通信部24を介して警報器30に送信する(ステップS26)。警報器30は、光及び音を発することで、侵入者が検出されたことを通知する。
以上で、侵入者検出処理が終了する。
If it is determined in step S25 that there is an area of a predetermined size or larger (step S25; YES), the
This completes the intruder detection process.
第1の設置異常検出処理(図4参照)と侵入者検出処理(図7参照)は、並行して行われている。
第1の設置異常検出処理のステップS9において、条件達成連続フレーム数が第4閾値以上であると判断された場合には(ステップS9;YES)、距離測定装置10の設置位置又は向きが変化した状態で安定していると考えられる。この時、距離測定装置10の設置位置又は向きは基準時における状態から大きくずれているため、基準距離画像との比較では侵入者を検出できないとみなし、侵入者検出処理を停止させることとしてもよい。
The first installation abnormality detection process (see FIG. 4) and the intruder detection process (see FIG. 7) are performed in parallel.
When it is determined in step S9 of the first installation abnormality detection process that the number of continuous frames for achieving the condition is equal to or greater than the fourth threshold value (step S9; YES), the installation position or orientation of the
第1の設置異常検出処理において、図6に示す結果が得られた場合、フレームn〜n+4については、距離測定装置10の設置位置及び向きが正常な状態であると考えられるため、通常の侵入者検出処理により、侵入者の検出が可能である。
一方、フレームn+5〜n+13については、第2閾値以上の画素で基準距離画像から第1閾値以上の距離変化が生じているから、距離測定装置10が一時的に揺れている等、距離測定装置10の設置位置又は向きが変化している途中の状態であると考えられる。この場合、侵入者検出処理により、監視空間内の物体が纏まりとして移動していると認識されるため、距離測定装置10の設置位置又は向きが変化したと判断される前であっても、異常を検出することができる。
When the result shown in FIG. 6 is obtained in the first installation abnormality detection process, it is considered that the installation position and orientation of the
On the other hand, with respect to the frames n + 5 to n + 13, since the distance change from the reference distance image to the first threshold value or more occurs in the pixels of the second threshold value or more, the
以上説明したように、本実施の形態によれば、まず、最新距離画像における距離差分画素数が第2閾値以上である場合、すなわち、基準距離画像から所定以上の距離変化があった場合に、距離測定装置10の設置位置又は向きが変化した可能性があると判断する。
さらに、最新距離画像における距離差分画素数と一つ前の距離画像における距離差分画素数の差の絶対値が第3閾値より大きい場合、すなわち、最新距離画像と一つ前の距離画像の間の差異が大きい場合に、距離測定装置10が揺れている途中であると判断し、距離測定装置10の設置位置又は向きの変化の判断から除外する。
一方、最新距離画像における距離差分画素数と一つ前の距離画像における距離差分画素数の差の絶対値が第3閾値以下のフレームが第4閾値以上連続する場合に、フレーム間の距離値に差異がなくなった、すなわち、距離測定装置10が当初の設置状態から位置又は向きがずれた状態で安定したと判断し、距離測定装置10の設置位置又は向きが変化したと判断する。
As described above, according to the present embodiment, first, when the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value, that is, when there is a distance change of a predetermined distance or more from the reference distance image, It is determined that the installation position or orientation of the
Further, when the absolute value of the difference between the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the previous distance image is larger than the third threshold value, that is, between the latest distance image and the previous distance image. When the difference is large, it is determined that the
On the other hand, when the absolute value of the difference between the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the previous distance image is less than or equal to the third threshold, the distance value between frames is set to the fourth threshold or more. It is determined that there is no difference, that is, the
このように、距離測定装置10の設置位置又は向きの変化を適正に検出しつつ、一時的な距離測定装置10の揺れによる変化を検出対象から除外することができる。具体的には、直近2フレーム間の距離差分画素数の差の絶対値が第3閾値以下で、かつ、その状態が連続することで、連続するフレーム間で距離画像が安定したことを認識することができる。
これにより、距離測定装置10がポールや三脚等の不安定な設置器具に固定されている状況においても、一時的な揺れによる誤検出を防止するとともに、距離測定装置10の設置位置や向きを意図的に変えるといった悪意のある行為を検出することができる。
条件達成連続フレーム数に基づく判断を付加することで、距離測定装置10の設置位置や向きが変化しつつある間は、設置位置や向きが変化したと判断されないため、不安定な設置環境における一時的な揺れに対する誤検出を防止することができる。
In this way, it is possible to properly detect a change in the installation position or orientation of the
As a result, even in a situation where the
By adding a judgment based on the number of continuous frames for achieving the condition, it is not judged that the installation position or orientation has changed while the installation position or orientation of the
また、距離差分画素の数を取得する際に、所定のルールに基づいて間引かれた画素を対象とする場合には、検出効果を維持しつつ、処理効率を上げることができる。この場合、距離差分画素をサンプリングする際の対象画素数(間引き方)に応じて、第2閾値及び第3閾値を決定すればよい。 Further, when the number of distance difference pixels is acquired and the pixels thinned out based on a predetermined rule are targeted, the processing efficiency can be improved while maintaining the detection effect. In this case, the second threshold value and the third threshold value may be determined according to the number of target pixels (thinning method) when sampling the distance difference pixels.
また、第1閾値、第2閾値、第3閾値及び第4閾値のうち、少なくとも一つを、監視対象となる環境に応じて変更することにより、各閾値を環境に適した値に調整し、検出性能を最適化することができる。 Further, by changing at least one of the first threshold value, the second threshold value, the third threshold value, and the fourth threshold value according to the environment to be monitored, each threshold value is adjusted to a value suitable for the environment. The detection performance can be optimized.
また、基準距離画像からの変化が第5閾値以上の画素が所定の大きさ以上の領域を構成している場合に、空間内への侵入者とみなすため、距離測定装置10が揺れている(動いている)途中であっても、距離測定装置10の設置異常検出と併せて、時間的に隙間のない異常検出が可能となる。
Further, when the pixels whose change from the reference distance image is the fifth threshold value or more constitutes a region having a predetermined size or more, the
〔変形例〕
次に、変形例について説明する。
変形例における監視システムは、上記実施の形態に示した監視システム100と同様の構成であるため、図1を援用し、図示及び説明を省略する。以下、変形例に特徴的な構成及び処理について説明する。
[Modification example]
Next, a modified example will be described.
Since the monitoring system in the modified example has the same configuration as the
変形例では、第2変化判断手段による判断において、最新距離画像における距離差分画素の数と一つ前の距離画像における距離差分画素の数の差の絶対値に代えて、最新距離画像と一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素の数を用いる。第6閾値は、記憶部25に記憶されている。第6閾値は、監視対象となる環境に応じて変更可能である。
In the modified example, in the judgment by the second change determination means, the latest distance image and one are used instead of the absolute value of the difference between the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the previous distance image. The number of pixels whose absolute value of the distance difference between the pixels at the positions corresponding to each other with the previous distance image is equal to or larger than the sixth threshold value is used. The sixth threshold value is stored in the
具体的には、制御部21(第2変化判断手段)は、最新距離画像における距離差分画素の数が第2閾値以上であると判断された場合に、最新距離画像と最新距離画像の一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素の数が第3閾値以下であるか否かを判断する。第6閾値は、最新距離画像と一つ前の距離画像の対応する位置の画素間で距離値に変化があるか否かを判断するための閾値である。第3閾値は、最新距離画像と一つ前の距離画像との間で、距離画像における変化が所定の範囲内であるか否かを判断するための閾値であり、上記実施の形態における第3閾値とは異なる値であってもよい。 Specifically, the control unit 21 (second change determination means) is one of the latest distance image and the latest distance image when it is determined that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value. It is determined whether or not the number of pixels whose absolute value of the distance difference between the pixels at the positions corresponding to each other with the previous distance image is equal to or greater than the sixth threshold is equal to or less than the third threshold. The sixth threshold value is a threshold value for determining whether or not there is a change in the distance value between the pixels at the corresponding positions of the latest distance image and the previous distance image. The third threshold value is a threshold value for determining whether or not the change in the distance image is within a predetermined range between the latest distance image and the previous distance image, and is the third threshold value in the above embodiment. The value may be different from the threshold value.
制御部21(設置異常判断手段)は、最新距離画像と一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素の数が第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、距離測定装置の設置位置又は向きが変化したと判断する。 The control unit 21 (installation abnormality determining means) has the number of pixels in which the absolute value of the distance difference between the pixels at the positions corresponding to each other between the latest distance image and the previous distance image is equal to or greater than the sixth threshold value. When the distance images determined to be equal to or less than the third threshold are continuous to the fourth threshold or more, it is determined that the installation position or orientation of the distance measuring device has changed.
次に、変形例における動作について説明する。
図10は、解析装置20により実行される第2の設置異常検出処理を示すフローチャートである。第2の設置異常検出処理は、制御部21と記憶部25に記憶されているプログラムとの協働によるソフトウェア処理によって実現される。第2の設置異常検出処理の開始にあたり、制御部21は、条件達成連続フレーム数の初期値を「0」として、RAM26に記憶させる。
Next, the operation in the modified example will be described.
FIG. 10 is a flowchart showing a second installation abnormality detection process executed by the
ステップS31〜ステップS35の処理は、第1の設置異常検出処理(図4参照)のステップS1〜ステップS5の処理と同様であるため、説明を省略する。 Since the processes of steps S31 to S35 are the same as the processes of steps S1 to S5 of the first installation abnormality detection process (see FIG. 4), the description thereof will be omitted.
ステップS34において、最新距離画像における距離差分画素数が第2閾値以上であると判断された場合には(ステップS34;YES)、制御部21は、RAM26から最新距離画像及び最新距離画像の一つ前の距離画像を読み出し、最新距離画像と一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素数を取得する(ステップS36)。
If it is determined in step S34 that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value (step S34; YES), the
次に、制御部21は、ステップS36で取得された画素数が第3閾値以下であるか否かを判断する(ステップS37)。
ステップS36で取得された画素数が第3閾値より大きいと判断された場合には(ステップS37;NO)、制御部21は、距離測定装置10が揺れている途中であると判断し、RAM26に記憶されている条件達成連続フレーム数を0にリセットする(ステップS35)。
Next, the
When it is determined that the number of pixels acquired in step S36 is larger than the third threshold value (step S37; NO), the
ステップS37において、ステップS36で取得された画素数が第3閾値以下であると判断された場合には(ステップS37;YES)、制御部21は、RAM26に記憶されている条件達成連続フレーム数に1を加算する(ステップS38)。
In step S37, when it is determined that the number of pixels acquired in step S36 is equal to or less than the third threshold value (step S37; YES), the
次に、制御部21は、条件達成連続フレーム数が第4閾値以上であるか否かを判断する(ステップS39)。
条件達成連続フレーム数が第4閾値未満であると判断された場合(ステップS39;NO)、又は、ステップS35の後、ステップS32に戻り、処理を繰り返す。
Next, the
When it is determined that the number of continuous frames for achieving the condition is less than the fourth threshold value (step S39; NO), or after step S35, the process returns to step S32 and the process is repeated.
ステップS39において、条件達成連続フレーム数が第4閾値以上であると判断された場合には(ステップS39;YES)、制御部21は、距離測定装置10の設置位置又は向きが変化したと判断する(ステップS40)。
If it is determined in step S39 that the number of continuous frames for achieving the condition is equal to or greater than the fourth threshold value (step S39; YES), the
次に、制御部21は、距離測定装置10の設置異常を通知するための制御信号を、通信部24を介して警報器30に送信する(ステップS41)。警報器30は、光及び音を発することで、距離測定装置10の設置位置又は向きが変化したことを通知する。
以上で、第2の設置異常検出処理が終了する。
Next, the
This completes the second installation abnormality detection process.
以上説明したように、変形例によれば、上記実施の形態と同様、距離測定装置10の設置位置又は向きの変化を適正に検出しつつ、一時的な距離測定装置10の揺れによる変化を検出対象から除外することができる。また、最新距離画像と一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素の数をカウントすることで、より直接的に、直近2フレーム間で距離が安定しているか否かを判断することができる。
As described above, according to the modified example, the change due to the temporary shaking of the
なお、上記実施の形態及び変形例における記述は、本発明に係る監視システムの例であり、これに限定されるものではない。システムを構成する各装置の細部構成及び細部動作に関しても本発明の趣旨を逸脱することのない範囲で適宜変更可能である。 The description in the above-described embodiment and modified example is an example of the monitoring system according to the present invention, and is not limited thereto. The detailed configuration and detailed operation of each device constituting the system can be appropriately changed without departing from the spirit of the present invention.
例えば、距離測定装置10における距離の測定方法は、上記の例に限定されず、位相差方式、三角測量方式等を用いることとしてもよい。
For example, the distance measuring method in the
また、条件達成連続フレーム数に基づいて、距離測定装置10の設置位置又は向きが変化した状態で安定しているか否かを判断する代わりに、第1の設置異常検出処理(図4参照)のステップS7において、最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値が第3閾値以下となってからの継続時間、又は、第2の設置異常検出処理(図10参照)のステップS37において、最新距離画像と一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素数が第3閾値以下となってからの継続時間に基づいて、距離測定装置10の設置位置又は向きが変化した状態で安定しているか否かを判断することとしてもよい。
Further, instead of determining whether or not the
また、距離測定装置10の設置異常又は侵入者検出を通知する際に、解析装置20の表示部23に異常が発生した旨のメッセージを表示することとしてもよい。また、解析装置20から通信ネットワークを介して接続されたコンピューター装置、携帯電話機等の外部機器に、異常が発生したことを示す異常検出情報を送信し、外部機器において警告を通知することとしてもよい。
Further, when notifying the installation abnormality of the
10 距離測定装置
20 解析装置
21 制御部
24 通信部
25 記憶部
30 警報器
100 監視システム
10
Claims (7)
処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する距離差分画素数取得手段と、
最新の距離画像における距離差分画素の数が第2閾値以上であるか否かを判断する第1変化判断手段と、
前記最新の距離画像における距離差分画素の数が前記第2閾値以上であると判断された場合に、前記最新の距離画像における距離差分画素の数と当該最新の距離画像の一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であるか否かを判断する第2変化判断手段と、
前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値が前記第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、前記距離測定装置の設置位置又は向きが変化したと判断する設置異常判断手段と、
を備える解析装置。 A distance image that scans a space in two axial directions, measures the distance to an object existing in the space, and acquires a distance image from a distance measuring device that generates a distance image using this distance as a pixel value at a predetermined time interval. Acquisition method and
The distance to be processed is compared with the reference distance image generated at the time of reference, and the distance to obtain the number of distance difference pixels in which the absolute value of the distance difference between the pixels at the positions corresponding to each other is equal to or greater than the first threshold value. Difference pixel count acquisition means and
A first change determination means for determining whether or not the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value.
When it is determined that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value, the number of distance difference pixels in the latest distance image and the distance image immediately before the latest distance image are obtained. A second change determination means for determining whether or not the absolute value of the difference in the number of distance difference pixels in the above is equal to or less than the third threshold.
The distance image determined that the absolute value of the difference between the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the previous distance image is equal to or less than the third threshold value is continuous for the fourth threshold value or more. In this case, the installation abnormality determination means for determining that the installation position or orientation of the distance measuring device has changed, and
An analyzer equipped with.
前記解析装置は、
前記距離測定装置から距離画像を取得する距離画像取得手段と、
処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する距離差分画素数取得手段と、
最新の距離画像における距離差分画素の数が第2閾値以上であるか否かを判断する第1変化判断手段と、
前記最新の距離画像における距離差分画素の数が前記第2閾値以上であると判断された場合に、前記最新の距離画像における距離差分画素の数と当該最新の距離画像の一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であるか否かを判断する第2変化判断手段と、
前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値が前記第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、前記距離測定装置の設置位置又は向きが変化したと判断する設置異常判断手段と、
を備える監視システム。 A distance measuring device that scans a space in two axial directions to measure the distance to an object existing in the space, and generates a distance image using this distance as a pixel value at a predetermined time interval, and a distance measuring device that generates the distance image. It is a monitoring system equipped with an analysis device that analyzes the distance image.
The analyzer is
A distance image acquisition means for acquiring a distance image from the distance measuring device,
The distance to be processed is compared with the reference distance image generated at the time of reference, and the distance to obtain the number of distance difference pixels in which the absolute value of the distance difference between the pixels at the positions corresponding to each other is equal to or greater than the first threshold value. Difference pixel count acquisition means and
A first change determination means for determining whether or not the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value.
When it is determined that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value, the number of distance difference pixels in the latest distance image and the distance image immediately before the latest distance image are obtained. A second change determination means for determining whether or not the absolute value of the difference in the number of distance difference pixels in the above is equal to or less than the third threshold.
The distance image determined that the absolute value of the difference between the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the previous distance image is equal to or less than the third threshold value is continuous for the fourth threshold value or more. In this case, the installation abnormality determination means for determining that the installation position or orientation of the distance measuring device has changed, and
Surveillance system with.
空間を2軸方向に走査して当該空間に存在する物体までの距離を測定し、この距離を画素値とする距離画像を所定の時間間隔で生成する距離測定装置から距離画像を取得する距離画像取得手段、
処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する距離差分画素数取得手段、
最新の距離画像における距離差分画素の数が第2閾値以上であるか否かを判断する第1変化判断手段、
前記最新の距離画像における距離差分画素の数が前記第2閾値以上であると判断された場合に、前記最新の距離画像における距離差分画素の数と当該最新の距離画像の一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であるか否かを判断する第2変化判断手段、
前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値が前記第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、前記距離測定装置の設置位置又は向きが変化したと判断する設置異常判断手段、
として機能させるためのプログラム。 Computer,
A distance image that scans a space in two axial directions, measures the distance to an object existing in the space, and acquires a distance image from a distance measuring device that generates a distance image using this distance as a pixel value at a predetermined time interval. Acquisition method,
The distance to be processed is compared with the reference distance image generated at the time of reference, and the distance to obtain the number of distance difference pixels in which the absolute value of the distance difference between the pixels at the positions corresponding to each other is equal to or greater than the first threshold value. Difference pixel count acquisition means,
A first change determination means for determining whether or not the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value.
When it is determined that the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value, the number of distance difference pixels in the latest distance image and the distance image immediately before the latest distance image are obtained. Second change determination means for determining whether or not the absolute value of the difference in the number of distance difference pixels in
The distance image determined that the absolute value of the difference between the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the previous distance image is equal to or less than the third threshold value is continuous for the fourth threshold value or more. An installation abnormality determining means for determining that the installation position or orientation of the distance measuring device has changed.
A program to function as.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017154892A JP2020184093A (en) | 2017-08-10 | 2017-08-10 | Analyzer, monitoring system, and program |
PCT/JP2018/022160 WO2019031051A1 (en) | 2017-08-10 | 2018-06-11 | Analysis device, monitoring system, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017154892A JP2020184093A (en) | 2017-08-10 | 2017-08-10 | Analyzer, monitoring system, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020184093A true JP2020184093A (en) | 2020-11-12 |
Family
ID=65272106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017154892A Pending JP2020184093A (en) | 2017-08-10 | 2017-08-10 | Analyzer, monitoring system, and program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2020184093A (en) |
WO (1) | WO2019031051A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023119498A1 (en) * | 2021-12-22 | 2023-06-29 | 三菱電機株式会社 | Communication device, wireless ranging system, control circuit, storage medium, and abnormality detection method |
WO2023210333A1 (en) * | 2022-04-27 | 2023-11-02 | 株式会社アイシン | Occupant detection device and occupant detection method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7211169B2 (en) * | 2019-03-07 | 2023-01-24 | コニカミノルタ株式会社 | Image inspection device and image forming system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01166273A (en) * | 1987-12-23 | 1989-06-30 | Matsushita Electric Works Ltd | Monitor device |
JP4727388B2 (en) * | 2005-10-28 | 2011-07-20 | セコム株式会社 | Intrusion detection device |
JP2011185664A (en) * | 2010-03-05 | 2011-09-22 | Panasonic Electric Works Co Ltd | Object detector |
JP5523236B2 (en) * | 2010-07-27 | 2014-06-18 | セコム株式会社 | Monitoring sensor |
JP6070306B2 (en) * | 2013-03-14 | 2017-02-01 | オムロン株式会社 | Image processing apparatus, object detection method, and object detection program |
-
2017
- 2017-08-10 JP JP2017154892A patent/JP2020184093A/en active Pending
-
2018
- 2018-06-11 WO PCT/JP2018/022160 patent/WO2019031051A1/en active Application Filing
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023119498A1 (en) * | 2021-12-22 | 2023-06-29 | 三菱電機株式会社 | Communication device, wireless ranging system, control circuit, storage medium, and abnormality detection method |
JP7391280B2 (en) | 2021-12-22 | 2023-12-04 | 三菱電機株式会社 | Communication device, wireless ranging system, control circuit, storage medium, and abnormality detection method |
WO2023210333A1 (en) * | 2022-04-27 | 2023-11-02 | 株式会社アイシン | Occupant detection device and occupant detection method |
Also Published As
Publication number | Publication date |
---|---|
WO2019031051A1 (en) | 2019-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102092316B1 (en) | Method for monitoring | |
CN102859565B (en) | Method and system for security system tampering detection | |
JP4575829B2 (en) | Display screen position analysis device and display screen position analysis program | |
US20080137906A1 (en) | Smoke Detecting Method And Device | |
US9292939B2 (en) | Information processing system, information processing method and program | |
KR20080054331A (en) | Flame detecting method and device | |
US20150016671A1 (en) | Setting apparatus, output method, and non-transitory computer-readable storage medium | |
JP2011123563A (en) | Image processor, image processing method and program | |
JP2020184093A (en) | Analyzer, monitoring system, and program | |
US20190287212A1 (en) | Image processing apparatus, image processing method, and storage medium | |
JP2009159448A (en) | Object detecting apparatus, and object detecting method | |
JP6088024B2 (en) | Video surveillance system and method for detecting fraud | |
JP5950628B2 (en) | Object detection apparatus, object detection method, and program | |
KR102366522B1 (en) | Method for detecting object and surveillance system adopting the method | |
US10997734B2 (en) | Gas detection-use image processing device, gas detection-use image processing method, and gas detection-use image processing program | |
JP2009239507A (en) | Monitoring system | |
JP2012198802A (en) | Intrusion object detection system | |
JP4188960B2 (en) | Sensor blind spot detection device, sensor installation position design support system, sensor blind spot detection method, and sensor installation position design support method | |
JP2013066046A (en) | Imaging device | |
JP5309069B2 (en) | Smoke detector | |
WO2018190252A1 (en) | Monitoring system | |
JP4617905B2 (en) | Monitoring device and method, recording medium, and program | |
JP2000331254A (en) | Monitor camera | |
WO2021117444A1 (en) | Information processing device, range determination method, and program | |
WO2021014873A1 (en) | Monitoring device, monitoring method, and computer readable recording medium |