JP2020184093A - Analyzer, monitoring system, and program - Google Patents

Analyzer, monitoring system, and program Download PDF

Info

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
Application number
JP2017154892A
Other languages
Japanese (ja)
Inventor
俊之 村松
Toshiyuki Muramatsu
俊之 村松
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2017154892A priority Critical patent/JP2020184093A/en
Priority to PCT/JP2018/022160 priority patent/WO2019031051A1/en
Publication of JP2020184093A publication Critical patent/JP2020184093A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/89Lidar systems specially adapted for specific applications for mapping or imaging
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/497Means for monitoring or calibrating
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/181Actuation 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
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm 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/04Alarm 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

To exclude a change caused by temporary oscillation of a distance measurement device while appropriately detecting a change in the installation position or direction of the distance measurement device.SOLUTION: The analyzer for analyzing a distance image with a distance to an object present in a space set as a pixel value compares a latest distance image with a reference distance image, and acquires the number of distance difference pixels in which the absolute value of a distance difference between pixels at corresponding positions is equal to or higher than a first threshold value (S3), determines whether the absolute value of a difference between the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the last distance image is equal or lower than a third threshold value (S7) when the number of distance difference pixels in the latest distance image is equal to or higher than a second threshold value (YES, S4), and determines that the installation position or direction of a distance measurement device has been changed (S10) when the distance image in which 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 last distance image has been determined equal to lower than the third threshold value is continuously equal to or higher than a fourth threshold value (YES, S9).SELECTED DRAWING: Figure 4

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).

特開2012−32918号公報Japanese Unexamined Patent Publication No. 2012-32918

しかし、一時的なイベント等、監視対象が期間限定的な場合、必ずしも距離測定装置を建物のような安定した場所に設置できるとは限らず、ポールや三脚といった可動式の設置器具に固定するケースもあり得る。この場合、自然の風や、付近を通行する人・物との接触により、設置器具が揺れることが予想される。 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 claim 4 is the inter-pixels at positions corresponding to each other between the latest distance image and the reference distance image in the analyzer according to any one of claims 1 to 3. A pixel whose absolute value of the distance difference is equal to or greater than the fifth threshold is extracted, and when the extracted pixel constitutes an area having a predetermined size or more, it is regarded as an intruder into the space and notified. Provide intruder notification means.

請求項5に記載の発明は、請求項1から4のいずれか一項に記載の解析装置において、前記第2変化判断手段は、前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値に代えて、前記最新の距離画像と前記一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素の数を用いる。 The invention according to claim 5 is the analyzer according to any one of claims 1 to 4, wherein the second change determining means is the number of distance difference pixels in the latest distance image and the previous one. Instead of the absolute value of the difference in the number of distance difference pixels in the distance image of, 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. Uses the number of pixels that is greater than or equal to the sixth threshold.

請求項6に記載の発明は、空間を2軸方向に走査して当該空間に存在する物体までの距離を測定し、この距離を画素値とする距離画像を所定の時間間隔で生成する距離測定装置と、当該距離測定装置により生成された距離画像を解析する解析装置と、を備える監視システムであって、前記解析装置は、前記距離測定装置から距離画像を取得する距離画像取得手段と、処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する距離差分画素数取得手段と、最新の距離画像における距離差分画素の数が第2閾値以上であるか否かを判断する第1変化判断手段と、前記最新の距離画像における距離差分画素の数が前記第2閾値以上であると判断された場合に、前記最新の距離画像における距離差分画素の数と当該最新の距離画像の一つ前の距離画像における距離差分画素の数の差の絶対値が第3閾値以下であるか否かを判断する第2変化判断手段と、前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値が前記第3閾値以下であると判断された距離画像が第4閾値以上連続する場合に、前記距離測定装置の設置位置又は向きが変化したと判断する設置異常判断手段と、を備える。 The invention according to claim 6 is a distance measurement in which a space is scanned in two axial directions to measure a distance to an object existing in the space, and a distance image having this distance as a pixel value is generated at a predetermined time interval. A monitoring system including an apparatus and an analysis apparatus for analyzing a distance image generated by the distance measuring apparatus, wherein the analysis apparatus includes a distance image acquisition means for acquiring a distance image from the distance measuring apparatus and processing. Compare the target distance image with the reference distance image generated at the time of reference, and 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. The number of pixels acquisition means, the first change determining 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, and the number of distance difference pixels in the latest distance image are the first. When it is determined that the distance is 2 thresholds or more, 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 distance image immediately before the latest distance image is the third. The absolute value of the difference between the second change determining means for determining whether or not the distance is equal to or less than the threshold and the number of distance difference pixels in the latest distance image and the number of distance difference pixels in the previous distance image is the first. When the distance images determined to be 3 thresholds or less are continuous at the 4th threshold or more, the installation abnormality determining means for determining that the installation position or orientation of the distance measuring device has changed is provided.

請求項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.

本発明の実施の形態における監視システムの構成を示す図である。It is a figure which shows the structure of the monitoring system in embodiment of this invention. 距離測定装置の監視空間の例を示す図である。It is a figure which shows the example of the monitoring space of the distance measuring apparatus. (a)は、基準時(位置X1)及び比較時(位置X2)における距離測定装置の設置位置の例を示す図である。(b)は、基準時に生成された基準距離画像のイメージ図である。(c)は、比較時に生成された距離画像のイメージ図である。(A) is a figure which shows an example of the installation position of the distance measuring apparatus at the time of reference (position X1) and the time of comparison (position X2). (B) is an image diagram of a reference distance image generated at the time of reference. (C) is an image diagram of a distance image generated at the time of comparison. 第1の設置異常検出処理を示すフローチャートである。It is a flowchart which shows the 1st installation abnormality detection processing. 距離差分画素の判断方法を説明するための図である。It is a figure for demonstrating the determination method of the distance difference pixel. 連続して生成された各フレームにおける距離差分画素数に基づく処理を説明するための図である。It is a figure for demonstrating the process based on the number of distance difference pixels in each frame generated continuously. 侵入者検出処理を示すフローチャートである。It is a flowchart which shows the intruder detection process. 基準距離画像と最新距離画像の比較により、変化部分を抜き出す処理を説明するための図である。It is a figure for demonstrating the process of extracting the change part by comparing the reference distance image and the latest distance image. 抜き出された画素を同一物体と考えられる領域に分ける処理を説明するための図である。It is a figure for demonstrating the process which divides the extracted pixel into the region considered to be the same object. 変形例における第2の設置異常検出処理を示すフローチャートである。It is a flowchart which shows the 2nd installation abnormality detection processing in the modification.

以下、図面を参照して、本発明に係る監視システムの一実施形態について説明する。ただし、発明の範囲は、図示例に限定されない。 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 monitoring system 100 according to the present embodiment.
As shown in FIG. 1, the monitoring system 100 includes a distance measuring device 10, an analysis device 20, and an alarm device 30.

距離測定装置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 distance measuring device 10 is composed of a laser radar.
FIGS. 2A and 2B show an example of the monitoring space of the distance measuring device 10. In FIGS. 2A and 2B, the X-axis is taken in the horizontal direction and the Y-axis is taken in the vertical direction when viewed from the distance measuring device 10, and the X-axis and the Z-axis are taken in the direction orthogonal to the Y-axis.
The distance measuring device 10 scans the space in the X-axis direction and the Y-axis direction to measure the distance to an object existing in the space, and generates a distance image using this distance as a pixel value at predetermined time intervals. In FIGS. 2A and 2B, a wall 40 and trees 41 to 44 are illustrated as objects existing in space. The distance measuring device 10 outputs the generated distance image to the analysis device 20. The distance measuring device 10 can measure the distance in the range of the horizontal scanning angle α in the X-axis direction and the range of the vertical scanning angle β in the Y-axis direction. In some cases, a distance image obtained by obtaining a distance value for one round for each pixel in the scanning range is expressed as a frame.

解析装置20は、距離測定装置10により生成された距離画像を解析し、異常を検出するコンピューター装置である。
図1に示すように、解析装置20は、制御部21と、操作部22と、表示部23と、通信部24と、記憶部25と、RAM(Random Access Memory)26と、を備える。
The analysis device 20 is a computer device that analyzes a distance image generated by the distance measurement device 10 and detects an abnormality.
As shown in FIG. 1, the analysis device 20 includes a control unit 21, an operation unit 22, a display unit 23, a communication unit 24, a storage unit 25, and a RAM (Random Access Memory) 26.

制御部21は、CPU(Central Processing Unit)等から構成され、解析装置20の各部の処理動作を統括的に制御する。具体的には、制御部21は、記憶部25に記憶されている各種処理プログラムを読み出してRAM26に展開し、当該プログラムとの協働により各種処理を行う。 The control unit 21 is composed of a CPU (Central Processing Unit) and the like, and comprehensively controls the processing operation of each unit of the analysis device 20. Specifically, the control unit 21 reads out various processing programs stored in the storage unit 25, develops them in the RAM 26, and performs various processing in cooperation with the programs.

操作部22は、カーソルキー、文字入力キー及び各種機能キー等を備えたキーボードと、マウス等のポインティングデバイスを備えて構成され、キーボードに対するキー操作やマウス操作により入力された操作信号を制御部21に出力する。 The operation unit 22 is configured to include a keyboard equipped with cursor keys, character input keys, various function keys, and a pointing device such as a mouse, and controls operation signals input by key operations on the keyboard or mouse operations. Output to.

表示部23は、LCD(Liquid Crystal Display)等のモニターを備えて構成されており、制御部21から入力される表示信号の指示に従って、各種画面を表示する。 The display unit 23 is configured to include a monitor such as an LCD (Liquid Crystal Display), and displays various screens according to an instruction of a display signal input from the control unit 21.

通信部24は、ケーブル等により接続された外部機器との間でデータの送受信を行う。また、通信部24は、ネットワークインターフェース等により構成され、LAN(Local Area Network)、インターネット等の通信ネットワークを介して接続された外部機器との間でデータの送受信を行う。例えば、通信部24は、距離測定装置10から距離画像を受信する。また、通信部24は、警報器30に対して、警報器30を作動させるための制御信号を送信する。 The communication unit 24 transmits / receives data to / from an external device connected by a cable or the like. Further, the communication unit 24 is configured by a network interface or the like, and transmits / receives data to / from an external device connected via a communication network such as a LAN (Local Area Network) or the Internet. For example, the communication unit 24 receives a distance image from the distance measuring device 10. Further, the communication unit 24 transmits a control signal for operating the alarm device 30 to the alarm device 30.

記憶部25は、HDD(Hard Disk Drive)や不揮発性の半導体メモリー等により構成され、各種処理プログラム、当該プログラムの実行に必要なパラメーターやファイル等を記憶している。例えば、記憶部25は、第1閾値、第2閾値、第3閾値、第4閾値、第5閾値を記憶している。 The storage unit 25 is composed of an HDD (Hard Disk Drive), a non-volatile semiconductor memory, or the like, and stores various processing programs, parameters, files, and the like necessary for executing the program. For example, the storage unit 25 stores the first threshold value, the second threshold value, the third threshold value, the fourth threshold value, and the fifth threshold value.

RAM26は、揮発性の半導体メモリーにより構成され、制御部21により実行される各種処理において、記憶部25から読み出された各種プログラム、入力若しくは出力データ等を一時的に記憶するワークエリアを形成する。 The RAM 26 is composed of a volatile semiconductor memory, and forms a work area for temporarily storing various programs, input or output data, etc. read from the storage unit 25 in various processes executed by the control unit 21. ..

制御部21(距離画像取得手段)は、距離測定装置10により所定の時間間隔で生成された距離画像を、通信部24を介して距離測定装置10から取得する。 The control unit 21 (distance image acquisition means) acquires a distance image generated by the distance measuring device 10 at a predetermined time interval from the distance measuring device 10 via the communication unit 24.

制御部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 distance measuring device 10 is installed, when the administrator of the monitoring system 100 looks around the installation environment of the distance measuring device 10, and confirms the installation position and orientation of the distance measuring device 10. The first threshold value is a threshold value for determining whether or not there is a significant change in the distance value between the pixels at the corresponding positions of the distance image to be processed and the reference distance image. Here, the control unit 21 determines the number of distance difference pixels among the pixels of the distance image and the reference distance image to be processed, targeting the pixels thinned out based on a predetermined rule (thinning out at regular intervals, etc.). It may be acquired.

図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 distance measuring device 10 at the reference time (position X1) and the comparison time (position X2). FIG. 3B is an image diagram of a reference distance image generated at the time of reference by the distance measuring device 10. FIG. 3C is an image diagram of a distance image generated at the time of comparison by the distance measuring device 10. In reality, the distance image is data having a distance value in each pixel. In addition, also in FIGS. 3A to 3C, a wall 40 and trees 41 to 44 are illustrated as objects existing in the space.

距離測定装置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 distance measuring device 10 has changed from the position X1 to the position X2, the distance values of the pixels at the positions corresponding to each other change between the two frames shown in FIGS. 3 (b) and 3 (c). .. For example, in the regions 50 and 51 (the portion corresponding to the trees 42 and 44) shown in FIG. 3 (c), the distance value is smaller than that in the reference time shown in FIG. 3 (b). On the other hand, in the regions 52 and 53 (the portion corresponding to the tree 43 and the wall 40) shown in FIG. 3 (c), the distance value is larger than that at the reference time shown in FIG. 3 (b).

制御部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 distance measuring device 10 has changed. The fourth threshold value is a threshold value for determining whether or not the movement or shaking of the distance measuring device 10 is stable.

第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 operation unit 22, and are stored in the storage unit 25. Further, each threshold value may be set from an external device connected via a communication network.

制御部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 alarm device 30 notifies intruder detection in the monitoring space and abnormality detection in the installation position / orientation of the distance measuring device 10, and notifies the abnormality by emitting light and sound. The alarm device 30 may change the color or sound of the light emitting lamp according to the type of abnormality.

次に、監視システム100における動作について説明する。
図4は、解析装置20により実行される第1の設置異常検出処理を示すフローチャートである。第1の設置異常検出処理は、制御部21と記憶部25に記憶されているプログラムとの協働によるソフトウェア処理によって実現される。第1の設置異常検出処理の開始にあたり、制御部21は、条件達成連続フレーム数の初期値を「0」として、RAM26に記憶させる。
Next, the operation in the monitoring system 100 will be described.
FIG. 4 is a flowchart showing a first installation abnormality detection process executed by the analysis device 20. The first installation abnormality detection process is realized by software processing in collaboration with the program stored in the control unit 21 and the storage unit 25. At the start of the first installation abnormality detection process, the control unit 21 sets the initial value of the number of continuous frames for achieving the condition to "0" and stores it in the RAM 26.

まず、制御部21は、通信部24を介して、距離測定装置10から基準時に生成された基準距離画像を取得する(ステップS1)。制御部21は、基準距離画像をRAM26に記憶させる。 First, the control unit 21 acquires a reference distance image generated at the time of reference from the distance measuring device 10 via the communication unit 24 (step S1). The control unit 21 stores the reference distance image in the RAM 26.

次に、制御部21は、通信部24を介して、距離測定装置10から最新距離画像を取得する(ステップS2)。制御部21は、最新距離画像をRAM26に記憶させる。距離画像を取得する時間間隔は、距離測定装置10により距離画像が生成される時間間隔(例えば、フレームレート10fps,24fps等)とする。 Next, the control unit 21 acquires the latest distance image from the distance measuring device 10 via the communication unit 24 (step S2). The control unit 21 stores the latest distance image in the RAM 26. The time interval for acquiring the distance image is the time interval (for example, frame rate 10 fps, 24 fps, etc.) at which the distance image is generated by the distance measuring device 10.

次に、制御部21は、最新距離画像を基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第1閾値以上の画素である距離差分画素の数を取得する(ステップS3)。制御部21は、最新距離画像における距離差分画素数をRAM26に記憶させる。最新距離画像における距離差分画素数は、基準距離画像からの変化の度合いを示す値である。 Next, the control unit 21 compares the latest distance image with the reference distance image, and acquires 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. (Step S3). The control unit 21 stores the number of distance difference pixels in the latest distance image in the RAM 26. The number of distance difference pixels in the latest distance image is a value indicating the degree of change from the reference distance image.

ここで、図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 control unit 21 determines whether or not the number of distance difference pixels in the latest distance image is equal to or greater than the second threshold value (step S4).
When it is determined that the number of distance difference pixels is less than the second threshold value (step S4; NO), the control unit 21 resets the number of continuous frame for achieving the condition stored in the RAM 26 to 0 (step S5). ..

ステップ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 control unit 21 determines the number of distance difference pixels in the latest distance image from the RAM 26 and the latest. The number of distance difference pixels in the distance image immediately before the distance image is read out, and 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 calculated (step S6). 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 a value indicating the degree of change between the last two frames.

次に、制御部21は、最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値が第3閾値以下であるか否かを判断する(ステップS7)。
最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値が第3閾値より大きいと判断された場合には(ステップS7;NO)、制御部21は、距離測定装置10が揺れている途中であると判断し、RAM26に記憶されている条件達成連続フレーム数を0にリセットする(ステップS5)。
Next, the control unit 21 determines whether or not 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). ..
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 control unit 21 determines. It is determined that the distance measuring device 10 is in the process of shaking, and the number of continuous frames for achieving the condition stored in the RAM 26 is reset to 0 (step S5).

ステップ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 control unit 21 adds 1 to the number of continuous frames for achieving the condition stored in the RAM 26 (step S8). That is, the number of continuous frames for achieving the condition is continuously determined in step S7 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. Is the number that was done.

次に、制御部21は、条件達成連続フレーム数が第4閾値以上であるか否かを判断する(ステップS9)。
条件達成連続フレーム数が第4閾値未満であると判断された場合(ステップS9;NO)、又は、ステップS5の後、ステップS2に戻り、処理を繰り返す。
Next, the control unit 21 determines whether or not the number of continuous frames for achieving the condition is equal to or greater than the fourth threshold value (step S9).
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 control unit 21 determines that the installation position or orientation of the distance measuring device 10 has changed. (Step S10).

次に、制御部21は、距離測定装置10の設置異常を通知するための制御信号を、通信部24を介して警報器30に送信する(ステップS11)。警報器30は、光及び音を発することで、距離測定装置10の設置位置又は向きが変化したことを通知する。
以上で、第1の設置異常検出処理が終了する。
Next, the control unit 21 transmits a control signal for notifying the installation abnormality of the distance measuring device 10 to the alarm device 30 via the communication unit 24 (step S11). The alarm device 30 notifies that the installation position or orientation of the distance measuring device 10 has changed by emitting light and sound.
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 distance measuring device 10 may have changed.
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 distance measuring device 10 is fixed (the distance image is stable). ..

図7は、解析装置20により実行される侵入者検出処理を示すフローチャートである。侵入者検出処理は、制御部21と記憶部25に記憶されているプログラムとの協働によるソフトウェア処理によって実現される。 FIG. 7 is a flowchart showing an intruder detection process executed by the analysis device 20. The intruder detection process is realized by software processing in collaboration with the program stored in the control unit 21 and the storage unit 25.

まず、制御部21は、通信部24を介して、距離測定装置10から基準時に生成された基準距離画像を取得する(ステップS21)。制御部21は、基準距離画像をRAM26に記憶させる。 First, the control unit 21 acquires a reference distance image generated at the time of reference from the distance measuring device 10 via the communication unit 24 (step S21). The control unit 21 stores the reference distance image in the RAM 26.

次に、制御部21は、通信部24を介して、距離測定装置10から最新距離画像を取得する(ステップS22)。制御部21は、最新距離画像をRAM26に記憶させる。 Next, the control unit 21 acquires the latest distance image from the distance measuring device 10 via the communication unit 24 (step S22). The control unit 21 stores the latest distance image in the RAM 26.

次に、制御部21は、最新距離画像から、基準距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第5閾値以上の画素を抜き出す(ステップS23)。 Next, the control unit 21 extracts from the latest distance image the pixels 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 (step S23).

図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 portion 60 that has a difference of a distance of 5th threshold or more between the reference distance image are separated from the latest distance image. , Extract the pixels with a large distance change from the reference distance image. FIG. 8C shows an example of the extracted pixels.

次に、制御部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 control unit 21 uses a method called Density Based Clustering to divide the extracted pixels into regions considered to be the same object (step S24). Specifically, as shown in FIG. 9A, first focus on one pixel 61 among the extracted pixels, and the pixel 62 within a predetermined distance from the pixel 61 is a pixel indicating the same object. Associate as. When finding the pixel 62 within a predetermined distance from one pixel 61, not only the distance in the distance image plane but also the distance values in both pixels 61 and 62 are taken into consideration. That is, when the position corresponding to the pixel 61 and the position corresponding to the pixel 62 are within a predetermined distance in the space to be monitored, they are associated as pixels indicating the same object. Next, the pixel 63 within a predetermined distance from the associated pixel 62 is also associated as a pixel indicating the same object. This is repeated in a chain reaction, and as shown in FIG. 9B, the extracted pixels are divided into regions 64 and 65 considered to be the same object. In this way, adjacent pixels within a predetermined distance are associated with each other and recognized as the same object. Further, pixels that are not within a predetermined distance, such as pixels included in the area 64 and pixels included in the area 65, are recognized as different objects (areas).

次に、制御部21は、同一物体と考えられる領域のうち、所定の大きさ以上の領域があるか否かを判断する(ステップS25)。例えば、同一物体として関連付けられた画素群に含まれる画素の数が一定の値以上であれば、距離の測定誤差等で発生したノイズではなく、基準時にはなかった物体が存在すると考えられる。
所定の大きさ以上の領域がないと判断された場合には(ステップS25;NO)、ステップS22に戻り、処理を繰り返す。
Next, the control unit 21 determines whether or not there is a region having a predetermined size or larger among the regions considered to be the same object (step S25). For example, if the number of pixels included in the pixel group associated with the same object is a certain value or more, it is considered that there is an object that was not present at the reference time, not the noise generated due to the measurement error of the distance or the like.
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 control unit 21 considers the area as an intruder into the space and notifies the intruder detection. The control signal for this purpose is transmitted to the alarm device 30 via the communication unit 24 (step S26). The alarm 30 emits light and sound to notify that an intruder has been detected.
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 distance measuring device 10 has changed. It is considered to be stable in the state. At this time, since the installation position or orientation of the distance measuring device 10 is significantly deviated from the state at the reference time, it may be considered that the intruder cannot be detected by comparison with the reference distance image, and the intruder detection process may be stopped. ..

第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 distance measuring device 10 are normal for the frames n to n + 4, so that a normal intrusion occurs. The intruder can be detected by the person detection process.
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 distance measuring device 10 is temporarily shaken. It is considered that the installation position or orientation of the is in the process of changing. In this case, since the intruder detection process recognizes that the objects in the monitoring space are moving as a group, the abnormality is abnormal even before it is determined that the installation position or orientation of the distance measuring device 10 has changed. Can be detected.

以上説明したように、本実施の形態によれば、まず、最新距離画像における距離差分画素数が第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 distance measuring device 10 may have changed.
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 distance measuring device 10 is in the process of shaking, and it is excluded from the determination of the change in the installation position or orientation of the distance measuring device 10.
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 distance measuring device 10 is stable in a state where the position or orientation is deviated from the initial installation state, and it is determined that the installation position or orientation of the distance measuring device 10 has changed.

このように、距離測定装置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 distance measuring device 10 and exclude a temporary change due to the shaking of the distance measuring device 10 from the detection target. Specifically, it is recognized that the distance image is stable between consecutive frames when the absolute value of the difference in the number of distance difference pixels between the two most recent frames is equal to or less than the third threshold value and the state is continuous. be able to.
As a result, even in a situation where the distance measuring device 10 is fixed to an unstable installation device such as a pole or a tripod, false detection due to temporary shaking is prevented, and the installation position and orientation of the distance measuring device 10 are intended. It is possible to detect malicious acts such as changing the target.
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 distance measuring device 10 is changing, so that it is temporarily in an unstable installation environment. It is possible to prevent erroneous detection of the shaking.

また、距離差分画素の数を取得する際に、所定のルールに基づいて間引かれた画素を対象とする場合には、検出効果を維持しつつ、処理効率を上げることができる。この場合、距離差分画素をサンプリングする際の対象画素数(間引き方)に応じて、第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 distance measuring device 10 is shaken because it is regarded as an intruder into the space (). Even in the middle of (moving), it is possible to detect an abnormality without a gap in time in addition to detecting an installation abnormality of the distance measuring device 10.

〔変形例〕
次に、変形例について説明する。
変形例における監視システムは、上記実施の形態に示した監視システム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 monitoring system 100 shown in the above embodiment, FIG. 1 is incorporated, and illustration and description thereof will be omitted. Hereinafter, the configuration and processing characteristic of the modified example will be described.

変形例では、第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 storage unit 25. The sixth threshold value can be changed according to the environment to be monitored.

具体的には、制御部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 analysis device 20. The second installation abnormality detection process is realized by software processing in collaboration with the program stored in the control unit 21 and the storage unit 25. At the start of the second installation abnormality detection process, the control unit 21 sets the initial value of the number of continuous frames for achieving the condition to "0" and stores it in the RAM 26.

ステップ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 control unit 21 is one of the latest distance image and the latest distance image from the RAM 26. The previous distance image is read out, and the number of pixels whose 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 is acquired (step S36). ).

次に、制御部21は、ステップS36で取得された画素数が第3閾値以下であるか否かを判断する(ステップS37)。
ステップS36で取得された画素数が第3閾値より大きいと判断された場合には(ステップS37;NO)、制御部21は、距離測定装置10が揺れている途中であると判断し、RAM26に記憶されている条件達成連続フレーム数を0にリセットする(ステップS35)。
Next, the control unit 21 determines whether or not the number of pixels acquired in step S36 is equal to or less than the third threshold value (step S37).
When it is determined that the number of pixels acquired in step S36 is larger than the third threshold value (step S37; NO), the control unit 21 determines that the distance measuring device 10 is in the process of shaking, and causes the RAM 26. The number of continuous frames for achieving the stored condition is reset to 0 (step S35).

ステップ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 control unit 21 sets the number of continuous frames for achieving the condition stored in the RAM 26. 1 is added (step S38).

次に、制御部21は、条件達成連続フレーム数が第4閾値以上であるか否かを判断する(ステップS39)。
条件達成連続フレーム数が第4閾値未満であると判断された場合(ステップS39;NO)、又は、ステップS35の後、ステップS32に戻り、処理を繰り返す。
Next, the control unit 21 determines whether or not the number of continuous frames for achieving the condition is equal to or greater than the fourth threshold value (step S39).
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 control unit 21 determines that the installation position or orientation of the distance measuring device 10 has changed. (Step S40).

次に、制御部21は、距離測定装置10の設置異常を通知するための制御信号を、通信部24を介して警報器30に送信する(ステップS41)。警報器30は、光及び音を発することで、距離測定装置10の設置位置又は向きが変化したことを通知する。
以上で、第2の設置異常検出処理が終了する。
Next, the control unit 21 transmits a control signal for notifying the installation abnormality of the distance measuring device 10 to the alarm device 30 via the communication unit 24 (step S41). The alarm device 30 notifies that the installation position or orientation of the distance measuring device 10 has changed by emitting light and sound.
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 distance measuring device 10 is detected while appropriately detecting the change in the installation position or orientation of the distance measuring device 10 as in the above embodiment. It can be excluded from the target. In addition, by counting the number of pixels whose 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 larger than the sixth threshold value, it is more direct. , It is possible to judge whether or not the distance is stable between the last two frames.

なお、上記実施の形態及び変形例における記述は、本発明に係る監視システムの例であり、これに限定されるものではない。システムを構成する各装置の細部構成及び細部動作に関しても本発明の趣旨を逸脱することのない範囲で適宜変更可能である。 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 distance measuring device 10 is not limited to the above example, and a phase difference method, a triangulation method, or the like may be used.

また、条件達成連続フレーム数に基づいて、距離測定装置10の設置位置又は向きが変化した状態で安定しているか否かを判断する代わりに、第1の設置異常検出処理(図4参照)のステップS7において、最新距離画像の距離差分画素数と一つ前の距離画像の距離差分画素数の差の絶対値が第3閾値以下となってからの継続時間、又は、第2の設置異常検出処理(図10参照)のステップS37において、最新距離画像と一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素数が第3閾値以下となってからの継続時間に基づいて、距離測定装置10の設置位置又は向きが変化した状態で安定しているか否かを判断することとしてもよい。 Further, instead of determining whether or not the distance measuring device 10 is stable in a state where the installation position or orientation has changed based on the number of continuous frames for achieving the condition, the first installation abnormality detection process (see FIG. 4) is performed. In step S7, the duration after 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 becomes equal to or less than the third threshold value, or the second installation abnormality detection. In step S37 of the process (see FIG. 10), 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 is the third. Based on the duration after the distance becomes 3 thresholds or less, it may be determined whether or not the distance measuring device 10 is stable in a changed state of installation position or orientation.

また、距離測定装置10の設置異常又は侵入者検出を通知する際に、解析装置20の表示部23に異常が発生した旨のメッセージを表示することとしてもよい。また、解析装置20から通信ネットワークを介して接続されたコンピューター装置、携帯電話機等の外部機器に、異常が発生したことを示す異常検出情報を送信し、外部機器において警告を通知することとしてもよい。 Further, when notifying the installation abnormality of the distance measuring device 10 or the detection of an intruder, a message indicating that the abnormality has occurred may be displayed on the display unit 23 of the analysis device 20. Further, the abnormality detection information indicating that an abnormality has occurred may be transmitted from the analysis device 20 to an external device such as a computer device or a mobile phone connected via a communication network, and the external device may notify a warning. ..

10 距離測定装置
20 解析装置
21 制御部
24 通信部
25 記憶部
30 警報器
100 監視システム
10 Distance measuring device 20 Analytical device 21 Control unit 24 Communication unit 25 Storage unit 30 Alarm 100 Monitoring system

Claims (7)

空間を2軸方向に走査して当該空間に存在する物体までの距離を測定し、この距離を画素値とする距離画像を所定の時間間隔で生成する距離測定装置から距離画像を取得する距離画像取得手段と、
処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第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に記載の解析装置。 The distance difference pixel number acquisition means is requested to acquire the number of distance difference pixels for the pixels thinned out based on a predetermined rule among the pixels of the distance image to be processed and the reference distance image. Item 1. The analyzer according to item 1. 前記第1閾値、前記第2閾値、前記第3閾値及び前記第4閾値のうち、少なくとも一つは、監視対象となる環境に応じて変更可能である請求項1又は2に記載の解析装置。 The analysis device according to claim 1 or 2, wherein 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. 前記最新の距離画像から、前記基準距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第5閾値以上の画素を抜き出し、当該抜き出された画素が所定の大きさ以上の領域を構成している場合に、前記空間内への侵入者とみなして通知する侵入者通知手段を備える請求項1から3のいずれか一項に記載の解析装置。 From the latest distance image, pixels whose absolute value of the distance difference between pixels at positions corresponding to each other with the reference distance image is equal to or greater than the fifth threshold are extracted, and the extracted pixels have a predetermined size. The analysis apparatus according to any one of claims 1 to 3, further comprising an intruder notification means that notifies the space as an intruder when the above area is configured. 前記第2変化判断手段は、前記最新の距離画像における距離差分画素の数と前記一つ前の距離画像における距離差分画素の数の差の絶対値に代えて、前記最新の距離画像と前記一つ前の距離画像との間で、相互に対応する位置の画素間の距離差分の絶対値が第6閾値以上の画素の数を用いる請求項1から4のいずれか一項に記載の解析装置。 The second change determining means replaces 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 with the latest distance image and the one. The analyzer according to any one of claims 1 to 4, wherein 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. .. 空間を2軸方向に走査して当該空間に存在する物体までの距離を測定し、この距離を画素値とする距離画像を所定の時間間隔で生成する距離測定装置と、当該距離測定装置により生成された距離画像を解析する解析装置と、を備える監視システムであって、
前記解析装置は、
前記距離測定装置から距離画像を取得する距離画像取得手段と、
処理対象の距離画像を基準時に生成された基準距離画像と比較し、相互に対応する位置の画素間の距離差分の絶対値が第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.
JP2017154892A 2017-08-10 2017-08-10 Analyzer, monitoring system, and program Pending JP2020184093A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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