JP2017183904A - Region detection device - Google Patents

Region detection device Download PDF

Info

Publication number
JP2017183904A
JP2017183904A JP2016065868A JP2016065868A JP2017183904A JP 2017183904 A JP2017183904 A JP 2017183904A JP 2016065868 A JP2016065868 A JP 2016065868A JP 2016065868 A JP2016065868 A JP 2016065868A JP 2017183904 A JP2017183904 A JP 2017183904A
Authority
JP
Japan
Prior art keywords
area
change
water
region
puddle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016065868A
Other languages
Japanese (ja)
Other versions
JP6461035B2 (en
Inventor
山口 純
Jun Yamaguchi
純 山口
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.)
Secom Co Ltd
Original Assignee
Secom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Secom Co Ltd filed Critical Secom Co Ltd
Priority to JP2016065868A priority Critical patent/JP6461035B2/en
Publication of JP2017183904A publication Critical patent/JP2017183904A/en
Application granted granted Critical
Publication of JP6461035B2 publication Critical patent/JP6461035B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)
  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem that it is difficult to detect a region generated by a puddle while distinguishing from a ground surface which is made wet with water and on which no puddle is formed.SOLUTION: Imaging means 20 has sensitivities at least for a light of an absorption wavelength band to be absorbed by water and a light of a predetermined non-absorption wavelength band different from the absorption wavelength band, successively images a predetermined space and outputs images. Change degree calculation means 40 compares images picked up before and after and calculates an absorption band change degree that is a degree of a change of a light intensity in the absorption wavelength band and a non-absorption band change degree that is a degree of a change of a light intensity in the non-absorption wavelength band for each of pixels. Water region detection means 41 detects a water region consisting of pixels for which a degree of a difference between the absorption band change degree and the non-absorption band change degree exceeds a predetermined reference.SELECTED DRAWING: Figure 2

Description

本発明は、所定空間を撮像した画像から当該空間において水が存在する領域を検出する領域検出装置、水溜りが動的に形成された領域を検出する領域検出装置、および人などの実体によって生じた変化領域を水溜りに映った像によって生じたものと区別して検出する領域検出装置に関する。   The present invention is caused by an area detecting device that detects an area where water is present in an image of a predetermined space, an area detecting device that detects an area in which a water pool is dynamically formed, and an entity such as a person. The present invention relates to an area detection device that detects a changed area separately from an area generated by an image reflected in a puddle.

防犯等を目的として監視カメラにより監視空間を撮像した画像から侵入者を検知する装置が広く用いられている。このような装置においては侵入者により生じた変化領域をその大きさ、形状、動きなどの特徴により検知するが、変化領域は侵入者と特徴が類似する様々な外乱によっても生じる。また、外乱による変化領域が侵入者による変化領域と重なって侵入者の特徴を検知しにくくなる場合もある。そのため、これらの外乱による誤検知を防ぐための研究が行われている。   For the purpose of crime prevention or the like, a device that detects an intruder from an image obtained by capturing a surveillance space with a surveillance camera is widely used. In such a device, a change area caused by an intruder is detected by features such as size, shape, and movement, but the change area is also caused by various disturbances having characteristics similar to those of the intruder. In addition, a change area due to disturbance may overlap with a change area caused by an intruder, making it difficult to detect the characteristics of the intruder. Therefore, research is being conducted to prevent false detections caused by these disturbances.

例えば、特許文献1には植栽による誤検知を防止する侵入物体検出装置が記載されている。この侵入物体検出装置においては、運用者等から指定された植栽領域を記憶し、または、エッジ画素の多くが頻繁に変動を繰り返して生じている変化領域を植栽領域として記憶する。   For example, Patent Document 1 describes an intruding object detection device that prevents erroneous detection due to planting. In this intruding object detection apparatus, a planting area designated by an operator or the like is stored, or a changed area in which many edge pixels are frequently changed is stored as a planting area.

そして、この侵入物体検出装置においては、植栽の前を移動する侵入物体による変化領域を精度良く判定するために、植栽領域と重なっている変化領域の侵入物体らしさを植栽領域と重なっていない変化領域よりも低く調整することで変化領域が侵入物体によるものか否かを判定している。   And in this intruding object detection device, in order to accurately determine the changing area due to the intruding object moving before planting, the intruding object likelihood of the changing area overlapping the planting area overlaps with the planting area. It is determined whether or not the change area is caused by an intruding object by adjusting the lower change area.

特開2012−88861号公報JP 2012-88661 A

ところで、監視空間には水溜りに映る人の像が外乱として発生し得る。しかしながら、従来技術では、以下に示すように、水溜りの領域を設定または検出すること、および水溜りに映る像による誤検知を防ぐことが困難であった。   By the way, an image of a person reflected in a puddle can be generated as a disturbance in the monitoring space. However, in the prior art, as described below, it is difficult to set or detect a puddle region and to prevent erroneous detection due to an image reflected in the puddle.

すなわち、水溜りは、動的に現れ、また動的に消滅するため、運用者等が水溜り領域を予め設定しておくことは困難である。また、水溜りの多くは降雨により生じ、その際に地面が濡れる変化を伴うが、像が映ることのない濡れた地面は水溜りと区別する必要がある。ところが、乾いた地面が濡れたときと濡れた地面に水溜りが生じるときは類似した画像変化が生じる。そのため、濡れた地面と水溜りが生じた領域を区別して検出することが困難である。   That is, the puddle appears dynamically and disappears dynamically, so that it is difficult for an operator or the like to set a puddle area in advance. In addition, most of the puddles are caused by rain and accompanied by a change in which the ground gets wet. However, wet ground where no image is shown needs to be distinguished from a puddle. However, similar image changes occur when the dry ground gets wet and when a puddle occurs on the wet ground. Therefore, it is difficult to distinguish and detect a wet ground and a region where a puddle is generated.

また、水溜りに映る人の像は、侵入者ときわめて似た大きさ、形状、動きなどを有する。そのため、この像による変化領域に対して侵入物体らしさを低く調整することが困難である。その結果、この像が、監視空間の外の人が監視空間内の水溜りに映った像であれば侵入者と誤って検知されてしまう。また、一人の侵入者が水溜りを通過すると水たまりに映った像と実体が一体化し、人の特徴を有する変化領域が急激に大きさを変えながら検出され、一人の侵入者として追跡することが困難となる。   The image of the person reflected in the puddle has a size, shape, movement, and the like that are very similar to those of the intruder. For this reason, it is difficult to adjust the likelihood of an intruding object to be low with respect to the change area due to this image. As a result, if this image is an image of a person outside the monitoring space reflected in a puddle in the monitoring space, it will be erroneously detected as an intruder. In addition, when an intruder passes through a puddle, the image and substance reflected in the puddle are integrated, and the change area having the characteristics of a person is detected while changing its size rapidly, and can be traced as a single intruder. It becomes difficult.

本発明は、上記問題を鑑みてなされたものであり、水溜り等により生じた領域を濡れた地面の領域と区別して検出可能な領域検出装置を提供することを目的とする。また、本発明は、動的に現れ消滅する水溜りの領域を精度良く検出可能な領域検出装置を提供することを別の目的とする。また、本発明は、人などの実体によって生じた変化領域を水溜りに映った像によって生じたものと区別して検出可能な領域検出装置を提供することを別の目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide an area detection device that can detect an area caused by a puddle or the like by distinguishing it from an area of wet ground. Another object of the present invention is to provide an area detection device capable of accurately detecting a puddle area that dynamically appears and disappears. Another object of the present invention is to provide an area detection device that can detect a change area generated by an entity such as a person by distinguishing the change area from an image reflected in a puddle.

かかる課題を解決するために本発明の領域検出装置は、少なくとも水に吸収される吸収波長帯の光および吸収波長帯とは異なる所定の非吸収波長帯の光に感度を有し、所定の空間を順次撮像して画像を出力する撮像手段と、前後して撮像された画像を比較して、各画素について吸収波長帯における光強度の変化の度合いである吸収帯変化度および非吸収波長帯における光強度の変化の度合いである非吸収帯変化度を算出する変化度算出手段と、吸収帯変化度と非吸収帯変化度の間の相違度が所定基準を超える画素からなる水領域を検出する水領域検出手段と、を備えたことを特徴とする。   In order to solve such a problem, the region detection device of the present invention has sensitivity to at least light in an absorption wavelength band absorbed by water and light in a predetermined non-absorption wavelength band different from the absorption wavelength band, and a predetermined space. The image pickup means for sequentially picking up images and outputting the image is compared with the image picked up before and after, and the degree of change of the light intensity in the absorption wavelength band and the degree of change in the absorption wavelength band for each pixel in the non-absorption wavelength band A change degree calculating means for calculating a non-absorption band change degree that is a degree of change in light intensity, and detecting a water region composed of pixels in which a difference degree between the absorption band change degree and the non-absorption band change degree exceeds a predetermined reference A water region detecting means.

また、本発明に係る領域検出装置においては、水領域を順次記憶する水領域記憶手段と、前後して検出された水領域を比較して包含関係を有する水領域の組み合わせを抽出し、組み合わせのうち面積の変化度合いが所定の面積変化閾値を超える水領域を水溜り領域と判定する水溜り判定手段と、をさらに備えることが好ましい。   Further, in the area detection device according to the present invention, the water area storage means for sequentially storing the water areas and the water areas detected by comparison before and after are extracted to extract a combination of water areas having an inclusion relationship. It is preferable to further comprise a puddle determination unit that determines a water region whose area change degree exceeds a predetermined area change threshold as a puddle region.

また、本発明に係る領域検出装置においては、撮像手段は、さらに可視光または近赤外の波長帯に感度を有して画像を出力し、さらに、前後して撮像された画像を比較して可視光または近赤外の波長帯における変化領域を検出する変化領域検出手段と、水溜り領域を記憶する水溜り領域記憶部と、変化領域が水溜り領域と重複する場合、当該変化領域内において対応する空間内の位置が撮像手段から最も遠い最遠位置を設定し、最遠位置を用いて、当該変化領域内において水溜りに映った像による非実体領域と当該変化領域内において実物体による実体領域とを判別する実体領域判別手段と、を備えることが好ましい。   In the region detection device according to the present invention, the imaging means further outputs an image having sensitivity in the visible light or near-infrared wavelength band, and further compares the images captured before and after. When the change area overlaps the puddle area, the change area detection means for detecting the change area in the visible light or near infrared wavelength band, the puddle area storage unit for storing the puddle area, The farthest position where the corresponding space position is farthest from the imaging means is set, and the farthest position is used to determine the unreal area by the image reflected in the puddle in the change area and the real object in the change area. It is preferable to include an entity region discriminating unit that discriminates the entity region.

また、本発明に係る領域検出装置においては、空間内を移動する物体の物体サイズを記憶する物体情報記憶手段、をさらに備え、実体領域判別手段は、水溜り領域と重複する変化領域が物体サイズよりも大きい場合に、当該変化領域のうち最遠位置を含む物体サイズの部分領域を実体領域と判別することが好ましい。   The area detection apparatus according to the present invention further includes object information storage means for storing the object size of the object moving in the space, and the entity area determination means has the change area overlapping the puddle area as the object size. If it is larger than the above, it is preferable that the partial area of the object size including the farthest position in the change area is determined as the substantial area.

また、本発明に係る領域検出装置においては、実体領域判別手段は、水溜り領域と重複する変化領域の最遠位置が水溜り領域の略領域境界上である場合に、当該変化領域を非実体領域と判別することが好ましい。   Further, in the area detection device according to the present invention, the actual area determination means determines that the change area is insubstantial when the farthest position of the change area overlapping the puddle area is on the approximate area boundary of the puddle area. It is preferable to distinguish the region.

本発明の領域検出装置によれば、水溜り等により生じた水領域を濡れた地面の領域と区別して精度良く検出することが可能となる。また本発明の領域検出装置によれば、動的に現れ消滅する水領域である水溜り領域を精度良く検出可能となる。また本発明の領域検出装置によれば、実体によって生じた変化領域を水溜りに映った像によって生じたものと区別して検出可能となる。   According to the region detection apparatus of the present invention, it is possible to accurately detect a water region caused by a puddle or the like by distinguishing it from a wet ground region. Moreover, according to the area | region detection apparatus of this invention, the water pool area | region which is a water area | region which appears and disappears dynamically can be detected with a sufficient precision. Further, according to the region detection apparatus of the present invention, it is possible to detect a change region caused by an entity by distinguishing it from an image caused by an image reflected in a puddle.

本実施形態による侵入検知装置の構成を表すブロック図である。It is a block diagram showing the structure of the intrusion detection apparatus by this embodiment. 本実施形態による領域検出装置の機能を表すブロック図である。It is a block diagram showing the function of the area | region detection apparatus by this embodiment. 吸収帯および非吸収帯での光強度の数値例である。It is a numerical example of the light intensity in an absorption band and a non-absorption band. 吸収帯変化度、非吸収帯変化度および変化度の比(相違度)の数値例である。It is a numerical example of the ratio (difference) of an absorption band change degree, a non-absorption band change degree, and a change degree. 水溜り領域判定の処理例に係るイメージ図である。It is an image figure which concerns on the process example of a water pool area | region determination. 水溜り領域と非実体領域の位置関係を示すイメージ図である。It is an image figure which shows the positional relationship of a water pool area | region and a non-substance area | region. 実体領域判別の処理例に係るイメージ図である。It is an image figure which concerns on the process example of an entity area | region discrimination | determination. 実体領域判別の別の処理例に係るイメージ図である。It is an image figure which concerns on another example of a process of entity area | region discrimination | determination. 本実施形態による侵入検知装置が行う処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which the intrusion detection apparatus by this embodiment performs. 本実施形態による領域検出装置が行う水領域検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the water area | region detection process which the area | region detection apparatus by this embodiment performs. 本実施形態による領域検出装置が行う水溜り領域判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the water pool area | region determination process which the area | region detection apparatus by this embodiment performs. 本実施形態による領域検出装置が行う実態領域判別処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the actual area | region discrimination | determination process which the area | region detection apparatus by this embodiment performs.

以下、本発明の実施形態による領域検出装置が実装された侵入検知装置について説明する。本実施形態による侵入検知装置は監視空間に侵入した侵入者を検知してアラーム信号を出力する。この侵入検知装置は、監視空間を撮影した監視画像を順次領域検出装置に入力し、領域検出装置は水領域の検出、検出した水領域が水溜り領域であるか否かの判定、変化領域の検出、および検出した変化領域のうち水溜りに映った像による非実体領域ではない実体領域部分の判別を行う。侵入検知装置は監視画像から人による実体領域が検出された場合にアラーム信号を出力する。   Hereinafter, an intrusion detection device in which an area detection device according to an embodiment of the present invention is mounted will be described. The intrusion detection device according to the present embodiment detects an intruder who has entered the monitoring space and outputs an alarm signal. The intrusion detection device sequentially inputs monitoring images obtained by photographing the monitoring space to the region detection device. The region detection device detects the water region, determines whether the detected water region is a puddle region, Detection and determination of an actual region portion that is not a non-substantive region based on an image reflected in a puddle among the detected change regions. The intrusion detection device outputs an alarm signal when an actual region by a person is detected from the monitoring image.

[侵入検知装置1の構成]
図1は本実施形態に係る侵入検知装置1の概略の構成を示すブロック図である。侵入検知装置1は撮像部2、記憶部3、画像処理部4および出力部5から構成される。
[Configuration of Intrusion Detection Device 1]
FIG. 1 is a block diagram showing a schematic configuration of an intrusion detection apparatus 1 according to the present embodiment. The intrusion detection device 1 includes an imaging unit 2, a storage unit 3, an image processing unit 4, and an output unit 5.

撮像部2はいわゆるマルチスペクトルカメラであり、CCD素子またはC−MOS素子等の撮像素子、光学系部品、A/D変換機等を含んで構成される。撮像部2は画像処理部4と接続され、所定の監視空間を順次撮像して監視画像を生成し、各監視画像を画像処理部4に入力する。   The imaging unit 2 is a so-called multispectral camera, and includes an imaging element such as a CCD element or a C-MOS element, an optical system component, an A / D converter, and the like. The imaging unit 2 is connected to the image processing unit 4, sequentially captures a predetermined monitoring space, generates a monitoring image, and inputs each monitoring image to the image processing unit 4.

撮像部2の光学系部品には、近赤外カットフィルター、水に吸収される波長帯(吸収波長帯。以下、吸収帯と称する)である970nmのみを通すバンドパスフィルター、水の吸収波長帯ではない波長帯(非吸収波長帯。以下、非吸収帯と称する)として予め定めた900nmのみを通すバンドパスフィルターとこれらを所定周期で切り替えるフィルター切り替え手段が含まれる。   The optical system component of the imaging unit 2 includes a near-infrared cut filter, a bandpass filter that passes only 970 nm, which is a wavelength band absorbed by water (absorption wavelength band, hereinafter referred to as absorption band), and an absorption wavelength band of water A non-absorption wavelength band (non-absorption wavelength band; hereinafter referred to as a non-absorption band), a band-pass filter that passes only 900 nm, and a filter switching unit that switches these at a predetermined period are included.

例えば、撮像部2は1/5秒の撮像周期で監視画像を撮像し、そのうち30分に1回ずつの割合で吸収波長帯のみを通すバンドパスフィルターに切り替えて撮像を行うことにより吸収帯の画像(以下、吸収帯画像と称する)を生成し、その1/5秒後に非吸収帯のみを通すバンドパスフィルターに切り替えて撮像を行うことにより非吸収帯の画像(以下、非吸収帯画像と称する)を生成し、それら以外の時間は近赤外カットフィルターに切り替えて撮像を行うことにより可視光帯の画像(以下、可視画像と称する)を生成する。吸収帯画像および非吸収帯画像は水領域の検出に用いられ、可視画像は実体領域の検出に用いられる。   For example, the imaging unit 2 captures a monitoring image with an imaging period of 1/5 second, and switches to a band-pass filter that passes only the absorption wavelength band at a rate of once every 30 minutes, thereby performing imaging. An image (hereinafter referred to as an absorption band image) is generated, and a non-absorption band image (hereinafter referred to as a non-absorption band image) is generated by switching to a bandpass filter that passes only the non-absorption band after 1/5 second. In other times, the image is switched to the near-infrared cut filter to capture an image in the visible light band (hereinafter referred to as a visible image). The absorption band image and the non-absorption band image are used for detection of the water region, and the visible image is used for detection of the real region.

撮像部2は、固定設置され、同一サイズの吸収帯画像、非吸収帯画像および可視画像を撮像する。そのため、これらの画像間で対応する画素は監視空間における同一位置を撮像したものとなる。   The imaging unit 2 is fixedly installed and captures an absorption band image, a non-absorption band image, and a visible image having the same size. Therefore, the corresponding pixels between these images are obtained by imaging the same position in the monitoring space.

なお、吸収帯は、970nm以外にも1.94μm、1.45μm、1.19μmが知られており、InGaAs撮像素子等を用いる場合はこれらの波長帯とすることもできる。また、非吸収帯は、900nm以外にも340nm〜940nmの範囲から適宜選択し、設定することができる。   In addition to 970 nm, the absorption bands of 1.94 μm, 1.45 μm, and 1.19 μm are known, and when using an InGaAs imaging device or the like, these wavelength bands can also be used. Further, the non-absorption band can be appropriately selected and set from the range of 340 nm to 940 nm in addition to 900 nm.

また、上記切り替え周期は一例であり、30分よりも短い周期あるいは長い周期を、検出する水領域の利用目的や監視空間の環境(水はけなど)に応じて適宜設定することができる。   The switching cycle is an example, and a cycle shorter or longer than 30 minutes can be set as appropriate according to the purpose of use of the water area to be detected and the environment of the monitoring space (such as drainage).

また、フィルターを切り替える代わりに照明を切り替えて各波長帯の画像を生成することもできる。例えば、撮像部2は、吸収帯の光のみを照射する吸収帯照明手段、非吸収帯の光のみを照射する非吸収帯照明手段とこれらの点消灯を所定周期で切り替える照明切り替え手段を備える。各照明手段はLED照明等により実現できる。撮像部2は吸収帯照明手段を点灯させて監視空間を撮像した監視画像と両照明手段を消灯させて監視空間を撮像した監視画像を差分処理して吸収帯画像を生成する。また撮像部2は非吸収帯照明手段を点灯させて監視空間を撮像した監視画像と両照明手段を消灯させて監視空間を撮像した監視画像を差分処理して非吸収帯画像を生成する。また撮像部2は両照明手段を消灯させて監視空間を撮像することにより可視画像を生成する。   Further, instead of switching the filter, the illumination can be switched to generate an image in each wavelength band. For example, the imaging unit 2 includes an absorption band illuminating unit that irradiates only light in the absorption band, a non-absorption band illuminating unit that irradiates only light in the non-absorption band, and an illumination switching unit that switches between turning these lights on and off at a predetermined cycle. Each illumination means can be realized by LED illumination or the like. The imaging unit 2 generates an absorption band image by performing a difference process between the monitoring image obtained by turning on the absorption band illumination unit and imaging the monitoring space and the monitoring image obtained by turning off both illumination units and imaging the monitoring space. Further, the imaging unit 2 generates a non-absorption band image by performing a difference process between the monitoring image obtained by turning on the non-absorption band illumination unit and imaging the monitoring space and the monitoring image obtained by turning off both illumination units and imaging the monitoring space. Moreover, the imaging part 2 produces | generates a visible image by light-extinguishing both illumination means and imaging a monitoring space.

また、撮像部2は、可視画像の代わりに近赤外光のみに感度を有する近赤外画像を撮像してもよい。この場合、撮像部2は、上記の吸収帯照明手段、非吸収帯照明手段に加えて近赤外の光のみを照射する近赤外照明手段を備え、照明切り替え手段はこれら3つの点消灯を所定周期で切り替える。そして撮像部2は近赤外照明手段を点灯させて監視空間を撮像することにより近赤外画像を生成する。   The imaging unit 2 may capture a near-infrared image having sensitivity only to near-infrared light instead of a visible image. In this case, the imaging unit 2 includes a near-infrared illumination unit that irradiates only near-infrared light in addition to the above-described absorption band illumination unit and non-absorption band illumination unit, and the illumination switching unit turns off these three lights. Switch at a predetermined cycle. And the imaging part 2 produces | generates a near-infrared image by lighting a near-infrared illumination means and imaging a monitoring space.

また、撮像部2は、日中は可視画像を、夜間は近赤外画像を、それぞれ実体領域の検出に用いる画像として撮像し、出力してもよい。   Further, the imaging unit 2 may capture and output a visible image during the day and a near-infrared image during the night as images used for detection of the substantial area.

以上のように、撮像部2は、少なくとも水に吸収される吸収波長帯の光および吸収波長帯とは異なる所定の非吸収波長帯の光に感度を有し、所定空間を順次撮像して画像を出力する。また撮像部2は、さらに可視光または近赤外光の波長帯に感度を有して上記画像を出力してもよい。   As described above, the imaging unit 2 has sensitivity to at least light in an absorption wavelength band that is absorbed by water and light in a predetermined non-absorption wavelength band different from the absorption wavelength band, and sequentially captures an image by imaging a predetermined space. Is output. Further, the imaging unit 2 may further output the image with sensitivity in the visible light or near-infrared wavelength band.

記憶部3は、ROM、RAM等の記憶装置である。記憶部3は画像処理部4で用いられる各種プログラムや各種データを記憶し、画像処理部4との間でこれらの情報を入出力する。   The storage unit 3 is a storage device such as a ROM or a RAM. The storage unit 3 stores various programs and various data used in the image processing unit 4, and inputs / outputs such information to / from the image processing unit 4.

画像処理部4は、CPU、DSP、MCU等の演算装置を用いて構成され、撮像部2、記憶部3および出力部5に接続される。画像処理部4は記憶部3からプログラムを読み出して実行することで後述する各手段として機能する。画像処理部4は撮像部2からの監視画像を処理し、監視画像から侵入者を検知した場合にアラーム信号を出力部5に出力する。   The image processing unit 4 is configured using an arithmetic device such as a CPU, DSP, or MCU, and is connected to the imaging unit 2, the storage unit 3, and the output unit 5. The image processing unit 4 functions as each unit to be described later by reading and executing a program from the storage unit 3. The image processing unit 4 processes the monitoring image from the imaging unit 2 and outputs an alarm signal to the output unit 5 when an intruder is detected from the monitoring image.

出力部5は画像処理部4と外部装置を接続する通信インターフェース回路である。例えば、出力部5は監視センターのサーバーとの通信を行う通信装置であり、画像処理部4から入力されたアラーム信号をサーバーに送信する。   The output unit 5 is a communication interface circuit that connects the image processing unit 4 and an external device. For example, the output unit 5 is a communication device that communicates with a server in the monitoring center, and transmits an alarm signal input from the image processing unit 4 to the server.

図2は、本実施形態に係る領域検出装置の概略の機能ブロック図である。撮像部2は撮像手段20として機能する。また記憶部3は背景画像記憶手段30、水領域記憶手段31、水溜り領域記憶手段32および物体情報記憶手段33として機能する。また画像処理部4は変化度算出手段40、水領域検出手段41、水溜り判定手段42、変化領域検出手段43および実体領域判別手段44として機能する。   FIG. 2 is a schematic functional block diagram of the region detection apparatus according to the present embodiment. The imaging unit 2 functions as the imaging unit 20. The storage unit 3 functions as a background image storage unit 30, a water region storage unit 31, a puddle region storage unit 32, and an object information storage unit 33. The image processing unit 4 functions as a degree-of-change calculating unit 40, a water region detecting unit 41, a water pool determining unit 42, a changed region detecting unit 43, and a substance region determining unit 44.

撮像手段20は、監視空間を撮像して、吸収帯画像および非吸収帯画像を変化度算出手段40に入力し、可視画像を変化領域検出手段43に入力する。   The imaging unit 20 images the monitoring space, inputs the absorption band image and the non-absorption band image to the change degree calculation unit 40, and inputs the visible image to the change area detection unit 43.

背景画像記憶手段30は、現時刻よりも過去に撮像された吸収帯画像、非吸収帯画像および可視画像を背景画像として記憶する。以下では、吸収帯の背景画像を吸収帯背景画像、非吸収帯の背景画像を非吸収帯背景画像、可視光帯の背景画像を可視背景画像と称する。   The background image storage unit 30 stores an absorption band image, a non-absorption band image, and a visible image captured in the past from the current time as a background image. Hereinafter, the background image of the absorption band is referred to as an absorption band background image, the background image of the non-absorption band is referred to as a non-absorption band background image, and the background image of the visible light band is referred to as a visible background image.

変化度算出手段40は、吸収帯および非吸収帯のそれぞれについて各画素における輝度値の変化の度合いを表す変化度を算出し、また、吸収帯および非吸収帯のそれぞれについて現時刻の画像で背景画像記憶手段30の背景画像を更新する。   The degree-of-change calculating means 40 calculates a degree of change indicating the degree of change in the luminance value in each pixel for each of the absorption band and the non-absorption band, and uses the current time image for each of the absorption band and the non-absorption band. The background image in the image storage means 30 is updated.

具体的には、変化度算出手段40は、背景画像記憶手段30から吸収帯背景画像を読み出し、対応する画素ごとに、読み出した吸収帯背景画像の輝度値Bwと撮像手段20から入力された現時刻の吸収帯画像の輝度値Iwの比(Bw/Iw)を算出し、各画素について算出した比を水領域検出手段41に出力する。各画素における比が当該画素における吸収帯での変化度Vw(以下、吸収帯変化度と称する)である。   Specifically, the degree-of-change calculating unit 40 reads the absorption band background image from the background image storage unit 30, and for each corresponding pixel, the luminance value Bw of the read absorption band background image and the current value input from the imaging unit 20. The ratio (Bw / Iw) of the luminance value Iw of the absorption band image at the time is calculated, and the ratio calculated for each pixel is output to the water region detection means 41. A ratio in each pixel is a change degree Vw in the absorption band in the pixel (hereinafter referred to as an absorption band change degree).

また変化度算出手段40は、背景画像記憶手段30から非吸収帯背景画像を読み出し、対応する画素ごとに、読み出した非吸収帯背景画像の輝度値Bnと撮像手段20から入力された現時刻の非吸収帯画像の輝度値Inの比(Bn/In)を算出し、各画素について算出した比を水領域検出手段41に出力する。各画素における比が当該画素における非吸収帯での変化度Vn(以下、非吸収帯変化度と称する)である。   The degree-of-change calculation means 40 reads the non-absorption band background image from the background image storage means 30 and, for each corresponding pixel, the luminance value Bn of the read non-absorption band background image and the current time input from the imaging means 20. The ratio (Bn / In) of the luminance value In of the non-absorption band image is calculated, and the ratio calculated for each pixel is output to the water region detection means 41. A ratio in each pixel is a change degree Vn in the non-absorption band in the pixel (hereinafter referred to as a non-absorption band change degree).

このように、変化度算出手段40は、前後して撮像された画像を比較して、各画素について水の吸収波長帯における光強度の変化の度合いである吸収帯変化度および非吸収波長帯における光強度の変化の度合いである非吸収帯変化度を算出し、吸収帯変化度および非吸収帯変化度を水領域検出手段41に出力する。   In this way, the degree-of-change calculating means 40 compares the images captured before and after, and for each pixel, the degree of change in the light intensity in the absorption wavelength band of water and the degree of change in the absorption band and the non-absorption wavelength band. A non-absorption band change degree that is a degree of change in light intensity is calculated, and the absorption band change degree and the non-absorption band change degree are output to the water region detection means 41.

また変化度算出手段40は、背景画像記憶手段30に記憶されている吸収帯背景画像および非吸収帯背景画像を、現時刻の吸収帯画像および現時刻の非吸収帯画像とそれぞれ置換することにより背景画像を更新する。   The degree-of-change calculating unit 40 replaces the absorption band background image and the non-absorption band background image stored in the background image storage unit 30 with the absorption band image at the current time and the non-absorption band image at the current time, respectively. Update the background image.

水領域検出手段41は、変化度算出手段40から入力された吸収帯変化度および非吸収帯変化度を用いて、監視空間において水が存在している領域である水領域を検出し、水領域記憶手段31は、水領域検出手段41が検出した水領域を順次記憶する。   The water region detection unit 41 detects a water region where water is present in the monitoring space using the absorption band variation and the non-absorption band variation input from the variation calculation unit 40. The storage unit 31 sequentially stores the water areas detected by the water area detection unit 41.

具体的には、水領域検出手段41は、対応する画素ごとに、吸収帯変化度Vwと非吸収帯変化度Vnの比R(=Vw/Vn)を算出し、算出した各画素の比Rが予め定めた閾値Trを超えて上回る画素を抽出する。この場合、比Rが閾値Tr以下である画素は抽出されない。そして、水領域検出手段41は、抽出した画素のうち近傍画素どうしをまとめたまとまりのそれぞれを水領域として検出し、検出した水領域の情報を水溜り判定手段42に出力し、また検出した水領域の情報を水領域記憶手段31に追記する。   Specifically, the water region detection unit 41 calculates the ratio R (= Vw / Vn) of the absorption band change degree Vw and the non-absorption band change degree Vn for each corresponding pixel, and calculates the calculated ratio R of each pixel. Pixels that exceed a predetermined threshold value Tr are extracted. In this case, pixels whose ratio R is equal to or less than the threshold value Tr are not extracted. Then, the water area detecting means 41 detects each group of neighboring pixels among the extracted pixels as a water area, outputs information of the detected water area to the water pool determining means 42, and detects the detected water area. The area information is added to the water area storage means 31.

図3および図4を参照して、水溜りを撮像した注目画素が水領域の画素として検出される原理について説明する。   With reference to FIG. 3 and FIG. 4, the principle of detecting a pixel of interest capturing a water pool as a pixel in the water region will be described.

図3の数値例200は、注目画素における吸収帯での光強度201、注目画素における非吸収帯での光強度202を示している。そして、光強度201および光強度202のそれぞれに示した3つの数値は、上から順に、注目画素と対応する監視空間中の位置が乾燥地面であった時点での光強度、同位置が濡れているが水溜りが形成されていなかった(濡れた地面であった)時点での光強度および同位置に水溜りが形成された時点での光強度を示している。   A numerical example 200 in FIG. 3 shows the light intensity 201 in the absorption band in the target pixel and the light intensity 202 in the non-absorption band in the target pixel. The three numerical values shown for each of the light intensity 201 and the light intensity 202 are, in order from the top, the light intensity at the time when the position in the monitoring space corresponding to the target pixel is dry ground, and the same position is wet. However, the light intensity at the time when the puddle was not formed (it was wet ground) and the light intensity at the time when the puddle was formed at the same position are shown.

図4の数値例300は、数値例200から算出した、注目画素における吸収帯での変化度301、注目画素における非吸収帯での変化度302、変化度301および変化度302から算出した、注目画素における変化度の比303を示している。そして、変化度301および変化度302のそれぞれに示した2つの数値は、上から順に、注目画素と対応する監視空間中の位置が乾燥地面から濡れた地面に変化した場合の変化度、および同位置が濡れた地面から水溜りに変化した場合の変化度を示している。また、変化度の比303に示した2つの数値は、上から順に、注目画素と対応する監視空間中の位置が乾燥地面から濡れた地面に変化した場合の変化度の比、および同位置が濡れた地面から水溜りに変化した場合の変化度の比を示している。   A numerical example 300 in FIG. 4 is calculated from the numerical example 200, the degree of change 301 in the absorption band in the target pixel, the degree of change 302 in the non-absorption band in the target pixel, the degree of change 301, and the degree of change 302 calculated from A change ratio 303 in the pixel is shown. The two numerical values shown for each of the degree of change 301 and the degree of change 302 are, in order from the top, the degree of change when the position in the monitoring space corresponding to the target pixel changes from dry ground to wet ground, and the same The degree of change when the position changes from a wet ground to a puddle is shown. Further, the two numerical values shown in the change ratio 303 are the change ratio when the position in the monitoring space corresponding to the target pixel is changed from the dry ground to the wet ground, and the same position in order from the top. The ratio of the degree of change when changing from wet ground to a puddle is shown.

吸収帯での変化度301において、2つの変化度を対比すると、1.64と1.75の比率は0.94であり、両者には大差がない。そのため、吸収帯での光強度のみを用いて、乾燥地面から濡れた地面に変化したのか濡れた地面から水溜りに変化したのかを弁別することは難しいことが分かる。   In the degree of change 301 in the absorption band, when the two degrees of change are compared, the ratio of 1.64 and 1.75 is 0.94, and there is no significant difference between the two. Therefore, it can be seen that it is difficult to discriminate whether it has changed from a dry ground to a wet ground or from a wet ground to a puddle using only the light intensity in the absorption band.

他方、変化度の比303において、2つの比を対比すると、1.18と1.58の比率は1.35であり、変化度301の0.94と比べて大きく異なっている。そのため、変化度の比を用いれば、乾燥地面から濡れた地面に変化したのか濡れた地面から水溜りに変化したのかを弁別することが容易になる。   On the other hand, when the two ratios are compared, the ratio of 1.18 and 1.58 is 1.35, which is significantly different from 0.94 of the degree of change 301. Therefore, if the ratio of change is used, it becomes easy to discriminate whether it has changed from a dry ground to a wet ground or from a wet ground to a puddle.

これらを弁別する閾値Trは例えば1.25などと設定することができる。上記注目画素は、乾燥地面から濡れた地面に変化した時点で変化度の比は1.18であり1.25以下であるため水領域の画素として抽出されず、濡れた地面から水溜りに変化した時点で変化度の比が1.58となり1.25を超えて上回るため水領域の画素として抽出される。   The threshold value Tr for discriminating these can be set to 1.25, for example. The pixel of interest is not extracted as a pixel in the water region because the ratio of the degree of change is 1.18 when it changes from dry ground to wet ground, and it is less than 1.25, and changes from wet ground to a puddle. At that time, the ratio of the degree of change is 1.58, which exceeds 1.25 and is extracted as a pixel in the water region.

また、濡れた状態を経由せずに乾燥状態から水溜りに直接変化した水領域についても、変化度の比によって検出できる。ちなみに、図3および図4の数値例を参照すると、注目画素が乾燥状態から水溜りに変化した場合の変化度の比は1.85であり1.25を超えて上回るため注目画素は水領域の画素として抽出される。   Further, a water region that has directly changed from a dry state to a puddle without going through a wet state can be detected by the ratio of the degree of change. Incidentally, referring to the numerical examples in FIG. 3 and FIG. 4, when the target pixel changes from a dry state to a puddle, the ratio of the degree of change is 1.85 and exceeds 1.25. Are extracted as pixels.

なお、変化度の比は、分子と分母を入れ替えて、非吸収帯変化度Vnと吸収帯変化度Vwとの比(Vn/Vw)としてもよく、この場合、水領域検出手段41は、変化度の比が閾値1/1.25を超えて下回る画素を水領域の画素として抽出する。   The ratio of change may be the ratio (Vn / Vw) of the non-absorption band change degree Vn and the absorption band change degree Vw by exchanging the numerator and the denominator. Pixels whose degree ratio falls below the threshold value 1 / 1.25 are extracted as pixels in the water region.

また、変化度の比の代わりに、変化度の差や変化度の差の絶対値を用いることもできる。変化度の差(vw−vn)を用いる場合、水領域検出手段41は変化度の差が閾値を超えて上回る画素を水領域の画素として抽出する。また、変化度の差(vn−vw)を用いる場合、水領域検出手段41は変化度の差が閾値を超えて下回る画素を水領域の画素として抽出する。また、変化度の差の絶対値を用いる場合、水領域検出手段41は変化度の差の絶対値が閾値を超えて上回る画素を水領域の画素として抽出する。   Further, instead of the ratio of the degree of change, a difference in degree of change or an absolute value of the difference in degree of change can be used. When using the difference (vw−vn) in the degree of change, the water region detection unit 41 extracts pixels in which the difference in degree of change exceeds the threshold and exceeds the threshold value as pixels in the water region. When the difference in change degree (vn−vw) is used, the water area detection unit 41 extracts pixels whose difference in change degree falls below the threshold value as pixels in the water area. When the absolute value of the difference in change is used, the water area detection unit 41 extracts pixels whose absolute value of the difference in change exceeds the threshold value as a pixel in the water area.

つまり、これら変化度の比、差または差の絶対値は、吸収帯変化度と非吸収帯変化度の間の違いを表す相違度であり、水領域検出手段41は相違度が所定基準を超える画素を水領域の画素として抽出する。   In other words, the ratio, difference, or absolute value of the difference is the difference indicating the difference between the absorption band change and the non-absorption band change, and the water region detection means 41 has a difference exceeding a predetermined standard. Pixels are extracted as pixels in the water region.

このように、吸収帯変化度と非吸収帯変化度の間の相違度が所定基準を超える画素からなる水領域を検出して、水領域を水溜り判定手段42に出力するとともに水領域を水領域記憶手段31に記憶させる。   In this way, a water region composed of pixels in which the degree of difference between the absorption band change degree and the non-absorption band change degree exceeds a predetermined reference is detected, and the water area is output to the puddle determination means 42 and the water area is It is stored in the area storage means 31.

以上で述べたように、変化度算出手段40、水領域検出手段41および背景画像記憶手段30を含んで構成される領域検出装置は、吸収帯変化度と非吸収帯変化度の間の相違度に基づいて水領域を検出することによって、濡れただけで物体の像が映り込まない領域を誤検出せずに、水がたまって物体の像が映り込み得る水領域を高精度に検出できる。   As described above, the area detecting device including the degree-of-change calculating means 40, the water area detecting means 41, and the background image storage means 30 has the difference between the absorption band change degree and the non-absorption band change degree. By detecting the water area based on the above, it is possible to detect the water area where the object image can be reflected with high accuracy without misdetecting the area where the image of the object is not reflected due to being wet.

ここで、屋外の監視空間においては、水分を多く含んだ草木が水領域として検出される場合がある。水溜り判定手段42は、草木は揺れ得るが水溜りは動かないという違い、および草木に揺れがない場合はその大きさが変化しないが水溜りは徐々に大きくなるまたは小さくなるという違いに着目した次に述べる処理によって、このような草木等の検出を防止する。   Here, in an outdoor monitoring space, there is a case where vegetation containing a lot of moisture is detected as a water region. The puddle judging means 42 pays attention to the difference that the vegetation can shake but the puddle does not move, and the difference that when the vegetation does not shake, the size does not change, but the puddle gradually increases or decreases. The detection of such plants and the like is prevented by the processing described below.

すなわち、水溜り判定手段42は、水領域検出手段41から入力された現時刻の水領域を、水領域記憶手段31に記憶されている前回検出された水領域と比較して包含関係を有する水領域の組み合わせを抽出する。そして水溜り判定手段42は現時刻の水領域のうち検出された水領域と包含関係を有さない水領域は水溜りではないと判定する。さらに、水溜り判定手段42は、抽出した組み合わせ内で水領域どうしの面積の変化度合いを算出して、面積の変化度合いが予め定めた面積変化閾値を超える水領域を水溜り領域であると判定し、面積の変化度合いが面積変化閾値を超えない水領域を水溜り領域ではないと判定する。   That is, the puddle determination unit 42 compares the water region at the current time input from the water region detection unit 41 with the water region detected in the water region storage unit 31 and has a containment relationship. Extract a combination of regions. Then, the water pool determination means 42 determines that the water area that does not have the inclusion relation with the detected water area among the water areas at the current time is not a water pool. Furthermore, the puddle determination means 42 calculates the degree of change in the area between the water regions within the extracted combination, and determines that the water region in which the degree of change in the area exceeds a predetermined area change threshold is a puddle region. Then, it is determined that a water region whose area change degree does not exceed the area change threshold value is not a puddle region.

徐々に大きくなる水溜りと徐々に小さくなる水溜りの両方に対応するために、面積の変化度合いは大きい方の水領域の面積に対する小さい方の面積の比と定めることができる。また面積変化閾値は例えば1.1とし、面積の比が1.1を超えて上回る場合に水溜り領域と判定することができる。また、面積の比を算出する際の大小関係を逆に定めてもよく、その場合、面積変化閾値は例えば1/1.1とし、面積の比が1/1.1を超えて下回る場合に水溜り領域と判定することができる。なお上記閾値は一例であり、水領域検出周期の値や解像度等に合わせて適宜に定めることができる。   In order to accommodate both a gradually increasing and gradually decreasing pool, the change in area can be defined as the ratio of the smaller area to the larger water area. The area change threshold is 1.1, for example, and when the area ratio exceeds 1.1 and exceeds, it can be determined as a puddle region. Also, the magnitude relationship in calculating the area ratio may be reversed, in which case the area change threshold is, for example, 1 / 1.1, when the area ratio is below 1/1. It can be determined as a water pool region. The above threshold is an example, and can be determined as appropriate according to the value of the water region detection period, the resolution, and the like.

なお、面積の比に代えて面積の差の絶対値を算出してもよい。その場合、いずれか小さい方の面積で差の絶対値を除するなどの正規化を行うのがよく、面積変化閾値は例えば0.1などとすることができる。また正規化に用いる面積の大小関係を逆に定めてもよい。その場合、面積変化閾値は0.1/1.1などとすることができる。または、面積の大小に代えて時刻順で面積の比または面積の差の絶対値を算出し、徐々に大きくなる水溜りと徐々に小さくなる水溜りを区別して検出してもよい。   Instead of the area ratio, the absolute value of the area difference may be calculated. In this case, normalization such as dividing the absolute value of the difference by the smaller area is preferably performed, and the area change threshold can be set to 0.1, for example. The size relationship of areas used for normalization may be determined in reverse. In that case, the area change threshold can be set to 0.1 / 1.1 or the like. Alternatively, instead of the size of the area, the ratio of the areas or the absolute value of the difference between the areas may be calculated in order of time, and the gradually increasing pool and the gradually decreasing pool may be distinguished and detected.

このように、水溜り判定手段42は、前後する時刻に検出された水領域を比較して、包含関係を有する水領域の組み合わせを抽出し、抽出した組み合わせのうち面積の変化度合いが所定の面積変化閾値を超える水領域を水溜り領域と判定する。   In this way, the water pool determination means 42 compares the water areas detected at the preceding and following times, extracts a combination of water areas having an inclusion relationship, and the degree of change in area of the extracted combinations is a predetermined area. A water region exceeding the change threshold is determined as a puddle region.

水溜り領域記憶手段32は水溜り領域を記憶する手段である。水溜り判定手段42は、実体領域判別手段44の判別に供するために水溜り領域を水溜り領域記憶手段32に記憶させる。   The puddle area storage means 32 is a means for storing the puddle area. The puddle determination unit 42 stores the puddle region in the puddle region storage unit 32 for use in the determination by the substance region determination unit 44.

図5は、水溜り領域判定の処理の様子を例示したものである。   FIG. 5 illustrates the state of the water pool region determination process.

時刻ta付近では降雨等により水溜りが形成され、それが徐々に大きくなっている。時刻taにおいては水領域検出手段41によって水領域400が検出され、これが水領域記憶手段31に記憶される。続く時刻(ta+1)においては、水領域検出手段41によって水領域401が検出され、これが水溜り判定手段42に入力される。水領域記憶手段31には水領域401に包含される水領域400が記憶されているため、水溜り判定手段42は水領域401と水領域400の組み合わせを抽出し、(水領域401の面積)/(水領域400の面積)が1.1より大きいため、水領域401を水溜り領域と判定する。   In the vicinity of time ta, a puddle is formed due to rain or the like, and it gradually increases. At time ta, the water area detection means 41 detects the water area 400 and stores it in the water area storage means 31. At the subsequent time (ta + 1), the water area 401 is detected by the water area detecting means 41 and input to the water pool determining means 42. Since the water region 400 included in the water region 401 is stored in the water region storage unit 31, the water pool determination unit 42 extracts a combination of the water region 401 and the water region 400 (area of the water region 401). / (Area of the water region 400) is larger than 1.1, so the water region 401 is determined as a puddle region.

また、時刻tb付近では雨が上がり、水溜りが徐々に小さくなっている。時刻tbにおいては水領域検出手段41によって水領域402が検出され、これが水領域記憶手段31に記憶される。続く時刻(tb+1)においては、水領域検出手段41によって水領域403が検出され、これが水溜り判定手段42に入力される。水領域記憶手段31には水領域403を包含する水領域402が記憶されているため、水溜り判定手段42は水領域402と水領域403の組み合わせを抽出し、(水領域402の面積)/(水領域403の面積)が1.1より大きいため、水領域403を水溜り領域と判定する。   Moreover, it rains near the time tb, and the puddle gradually decreases. At time tb, the water area 402 is detected by the water area detection means 41 and stored in the water area storage means 31. At the subsequent time (tb + 1), the water region detection unit 41 detects the water region 403 and inputs this to the water pool determination unit 42. Since the water region 402 including the water region 403 is stored in the water region storage unit 31, the water pool determination unit 42 extracts a combination of the water region 402 and the water region 403, and (area of the water region 402) / Since (the area of the water region 403) is greater than 1.1, the water region 403 is determined as a puddle region.

一方、草木の領域が水領域記憶手段31に水領域として記憶されたとしても、草木が揺れれば包含関係を有する水領域の組み合わせは抽出されないため、草木の領域は水溜り領域と判定されない。また、草木が揺れなくとも30分程度の時間で草木の大きさは変わらないため面積比は1.1以下となり、草木の領域は水溜り領域と判定されない。   On the other hand, even if a vegetation area is stored in the water area storage means 31 as a water area, a combination of water areas having an inclusive relationship is not extracted if the vegetation shakes, so the vegetation area is not determined to be a puddle area. Further, even if the vegetation does not shake, the size of the vegetation does not change in about 30 minutes, so the area ratio is 1.1 or less, and the area of the vegetation is not determined as a puddle area.

以上で述べたように、変化度算出手段40、水領域検出手段41、水溜り判定手段42、背景画像記憶手段30および水領域記憶手段31を含んで構成される領域検出装置は、包含関係と面積の変化度合いの判定に基づいて水溜り領域を判定することによって、水分を多く含んだ草木等による水領域を誤検出せずに、水がたまって物体の像が映り込み得る水溜り領域を高精度に検出できる。   As described above, the region detection device including the degree-of-change calculation unit 40, the water region detection unit 41, the water pool determination unit 42, the background image storage unit 30, and the water region storage unit 31 has an inclusion relationship. By determining the puddle area based on the determination of the degree of change in the area, the water puddle area where the image of the object can be reflected by collecting water can be detected without erroneously detecting the water area due to water or other plants. It can be detected with high accuracy.

変化領域検出手段43は、撮像手段20から入力された現時刻の可視画像と、背景画像記憶手段30に記憶されている現時刻より過去の可視背景画像の背景差分処理を行って、現時刻の可視画像における変化領域を検出し、検出した変化領域を実体領域判別手段44に出力する。また、現時刻の可視画像を用いて可視背景画像を更新する。なお、背景差分処理の代わりに背景相関処理を行ってもよい。また上述したように可視画像に代えて近赤外画像を用いることもできる。   The change area detection unit 43 performs background difference processing between the visible image at the current time input from the imaging unit 20 and the visible background image past from the current time stored in the background image storage unit 30, and A change area in the visible image is detected, and the detected change area is output to the real area determination means 44. Further, the visible background image is updated using the visible image at the current time. A background correlation process may be performed instead of the background difference process. Further, as described above, a near infrared image can be used instead of the visible image.

すなわち、変化領域検出手段43は、異なる時刻に撮像された画像を比較して可視光または近赤外光の波長帯における変化領域を検出し、変化領域を実体領域判別手段44に出力する。   That is, the change area detection unit 43 compares images taken at different times, detects a change area in the wavelength band of visible light or near-infrared light, and outputs the change area to the real area determination unit 44.

こうして検出された変化領域には、侵入者など実体のあるものによる変化領域(以下、実体領域)に加え、水溜りに映った像すなわち実体のないにものよる変化領域(以下、非実体領域)が含まれ得る。   The change area detected in this manner includes a change area caused by an entity such as an intruder (hereinafter referred to as an entity area), and an image reflected in a puddle, that is, a change area caused by an entity that is not present (hereinafter referred to as an intangible area). Can be included.

ここで、図6に示すように、撮像手段20が撮像する画像においては、実体500と撮像手段20の間の水溜り501に映った像502による非実体領域が現れることはあっても、実体500と撮像手段20の間にない水溜り503の領域内に非実体領域が現れることはない。つまり、非実体領域は撮像手段20が撮像した画像上においては必ず撮像手段20と対応する位置から近い側に現れる。   Here, as shown in FIG. 6, in the image captured by the imaging unit 20, even though a non-substance region due to the image 502 reflected in the puddle 501 between the entity 500 and the imaging unit 20 may appear, A non-substance area does not appear in the area of the water pool 503 that is not between 500 and the imaging means 20. That is, the non-substance region always appears on the side closer to the position corresponding to the imaging unit 20 on the image captured by the imaging unit 20.

実体領域判別手段44は、非実体領域は水溜り領域に重複し且つ撮像手段20と対応する位置から近い側に現れるなどの性質に着目した処理によって、実体領域と非実体領域を弁別する。   The entity area discriminating means 44 discriminates the entity area and the entity area by a process that pays attention to the property that the entity area overlaps the water pool area and appears closer to the position corresponding to the imaging means 20.

すなわち、実体領域判別手段44は、変化領域検出手段43から入力された変化領域が、水溜り領域記憶手段32に記憶されている水溜り領域と重複する場合、当該変化領域内において対応する監視空間内の位置が撮像手段20から最も遠い最遠位置を設定し、最遠位置を用いて、当該変化領域内における非実体領域と当該変化領域内における実体領域とを判別する。   That is, when the change area input from the change area detection means 43 overlaps with the puddle area stored in the puddle area storage means 32, the entity area determination means 44 determines the corresponding monitoring space in the change area. The farthest position is set to the farthest position from the imaging means 20, and the farthest position is used to determine the non-substance area in the change area and the substantive area in the change area.

撮像手段20が通常の広角カメラであれば、実体領域判別手段44は、変化領域内の画素のうち、最も上の画素の位置(Y座標が最小の画素の位置)を最遠位置に設定する。あるいは撮像手段20が魚眼カメラであれば、実体領域判別手段44は、変化領域内の画素のうち、画像中心からの距離が最も遠い画素の位置を最遠位置に設定する。   If the imaging means 20 is a normal wide-angle camera, the entity area determination means 44 sets the position of the uppermost pixel (the position of the pixel with the smallest Y coordinate) among the pixels in the change area as the farthest position. . Alternatively, if the imaging unit 20 is a fish-eye camera, the entity region determination unit 44 sets the position of the pixel farthest from the image center among the pixels in the change region as the farthest position.

一方、実体領域判別手段44は水溜り領域と重複しない変化領域を実体領域と判別する。そして、実体領域判別手段44は、実体領域と判別した変化領域の幅と高さを物体情報記憶手段33に記憶させ、物体情報記憶手段33は、この変化領域の幅と高さ、すなわち監視空間内を移動する物体のサイズ(以下、物体サイズと称する)を記憶する。また、物体情報記憶手段33には物体サイズの初期値として人の標準サイズを記憶させておく。   On the other hand, the entity area discriminating means 44 discriminates a change area that does not overlap with the water pool area as an entity area. Then, the entity area discriminating unit 44 stores the width and height of the change area determined as the entity area in the object information storage unit 33, and the object information storage unit 33 sets the width and height of the change area, that is, the monitoring space. The size of the object moving inside (hereinafter referred to as object size) is stored. The object information storage means 33 stores a standard size of a person as an initial value of the object size.

物体サイズは、監視空間が比較的狭い場合は画素数で表すこともできるが、実寸とすることが望ましい。そのために記憶部3は撮像部2のカメラパラメーターを予め記憶し、実体領域判別手段44はカメラパラメーターを用いて変化領域の外接矩形の座標値に逆透視変換を行って実寸の物体サイズを算出する。なお、実寸での標準サイズは例えば170cm×60cmとすることができる。   The object size can be expressed in terms of the number of pixels when the monitoring space is relatively narrow, but it is preferable that the object size be an actual size. For this purpose, the storage unit 3 stores the camera parameters of the image pickup unit 2 in advance, and the real area discrimination means 44 performs reverse perspective transformation on the coordinate values of the circumscribed rectangle of the change area using the camera parameters to calculate the actual size object size. . The standard size in actual size can be set to 170 cm × 60 cm, for example.

また、水溜り領域と重複していない時点で検出した物体サイズを、水溜り領域と重複した時点で参照するために、実体領域判別手段44は、前後する時刻に検出された変化領域のうち検出位置が最も近接する変化領域どうしを対応付ける追跡処理を行い、対応付けた変化領域どうしおよび当該変化領域から検出した物体サイズに同一識別符号を付与する。また、実体領域判別手段44は、実体領域と判別した変化領域の外接矩形の座標値に付与した識別符号を対応付けた追跡情報を物体情報記憶手段33に記憶させ、実体領域と判別した変化領域の物体サイズに付与した識別符号を対応付けて物体情報記憶手段33に記憶させる。   In addition, in order to refer to the object size detected when it does not overlap with the puddle area at the time when it overlaps with the puddle area, the entity area discriminating means 44 detects the change area detected at the preceding and following times. A tracking process for associating the change regions whose positions are closest to each other is performed, and the same identification code is given to the associated change regions and the object size detected from the change region. In addition, the entity area determination unit 44 stores tracking information in which the identification code assigned to the coordinate value of the circumscribed rectangle of the change area determined to be the entity area is stored in the object information storage unit 33, and the change area determined to be the entity area The object information storage means 33 stores the identification code assigned to the object size in association with each other.

図7および図8を参照して、実体領域判別手段44が行う判別処理を具体的に説明する。   With reference to FIGS. 7 and 8, the determination process performed by the entity region determination unit 44 will be described in detail.

図7は、実体領域と非実体領域が一体化した変化領域が検出されるケースを説明する図である。   FIG. 7 is a diagram for explaining a case where a change area in which a real area and a non-real area are integrated is detected.

図7に示すケース(A)のように、水溜り領域600と重複する変化領域601が入力され、そのサイズが当該変化領域と同一識別符号が付与された物体サイズ602よりも大きい場合、実体領域判別手段44は、変化領域601のうち最遠位置603を含む物体サイズ602の部分領域604を実体領域と判別し、残余の部分領域605を非実体領域と判別し、実体領域604の情報を出力する。なお、サイズの比較においては変化領域の検出誤差を考慮した余裕を持たせる。例えば、変化領域601の幅および高さをそれぞれWiおよびHiとし、物体サイズ602として記憶されている幅および高さをそれぞれWrおよびHrとし、余裕を5%とすると、実体領域判別手段44は、(Wi×Hi)/(Wr×Hr)>1.05であれば、変化領域601のサイズが物体サイズ602よりも大きいと判定し、(Wi×Hi)/(Wr×Hr)≦1.05であれば、変化領域601のサイズが物体サイズ602よりも小さいと判定する。   As in the case (A) shown in FIG. 7, when the change area 601 overlapping the puddle area 600 is input and the size is larger than the object size 602 to which the same identification code as the change area is given, The discriminating means 44 discriminates the partial area 604 of the object size 602 including the farthest position 603 in the change area 601 as a real area, discriminates the remaining partial area 605 as a non-substantive area, and outputs information of the real area 604. To do. In the size comparison, there is a margin in consideration of the detection error of the change area. For example, if the width and height of the change area 601 are Wi and Hi, the width and height stored as the object size 602 are Wr and Hr, respectively, and the margin is 5%, If (Wi × Hi) / (Wr × Hr)> 1.05, it is determined that the size of the change area 601 is larger than the object size 602, and (Wi × Hi) / (Wr × Hr) ≦ 1.05. If so, it is determined that the size of the change area 601 is smaller than the object size 602.

同様に、図7に示すケース(B)のように、水溜り領域610と重複する変化領域611が該領域に対応する物体サイズ612よりも大きい場合、実体領域判別手段44は、当該変化領域611のうち最遠位置613を含む物体サイズ612の部分領域614を実体領域と判別し、残余の部分領域615を非実体領域と判別し、実体領域614の情報を出力する。   Similarly, as in the case (B) shown in FIG. 7, when the change area 611 that overlaps the puddle area 610 is larger than the object size 612 corresponding to the area, the entity area determination unit 44 uses the change area 611. Among them, the partial area 614 having the object size 612 including the farthest position 613 is determined as a substantial area, the remaining partial area 615 is determined as a non-realistic area, and information on the substantial area 614 is output.

同様に、図7に示すケース(C)のように、水溜り領域620と重複する変化領域621が該領域に対応する物体サイズ622よりも大きい場合、実体領域判別手段44は、当該変化領域621のうち最遠位置623を含む物体サイズ622の部分領域624を実体領域と判別し、残余の部分領域625を非実体領域と判別し、実体領域624の情報を出力する。   Similarly, as in the case (C) shown in FIG. 7, when the change area 621 that overlaps the puddle area 620 is larger than the object size 622 corresponding to the area, the entity area determination unit 44 determines that the change area 621 Among these, the partial area 624 having the object size 622 including the farthest position 623 is determined as a substantial area, the remaining partial area 625 is determined as a non-realistic area, and information on the substantial area 624 is output.

一方、図8は、非実体領域のみからなる変化領域が検出されるケースを説明する図である。実体700が監視空間から出て可視画像の範囲701に現れなくなったが、その像が監視空間内の水溜りに映っている場合などに、非実体領域702が当該実体として誤追跡され得る。   On the other hand, FIG. 8 is a diagram for explaining a case where a change area composed only of a non-substance area is detected. When the entity 700 exits the monitoring space and does not appear in the visible image range 701, the non-substance region 702 may be mistracked as the entity when the image is reflected in a puddle in the monitoring space.

このケースに関し、実体領域判別手段44は、水溜り領域703と重複する変化領域702が該領域に対応する物体サイズ704よりも小さく、且つその最遠位置705が水溜り領域703の略境界線上である場合、当該変化領域702を非実体領域と判別する。なお、略境界線上とは、境界線から最遠位置までの距離が、変化領域の検出誤差を考慮して予め定めた距離閾値以下であることを意味する。距離閾値は数画素程度の値とすればよい。   With respect to this case, the entity region discriminating means 44 determines that the change region 702 that overlaps the puddle region 703 is smaller than the object size 704 corresponding to the region, and that the farthest position 705 is substantially on the boundary line of the puddle region 703. If there is, the change area 702 is determined as a non-substance area. Note that “substantially on the boundary line” means that the distance from the boundary line to the farthest position is not more than a predetermined distance threshold in consideration of the detection error of the change region. The distance threshold may be a value of about several pixels.

このように、実体領域判別手段44は、変化領域検出手段43が検出した変化領域のそれぞれについて、当該変化領域が水溜り領域と重複する場合、当該変化領域内において対応する監視空間内の位置が撮像手段20から最も遠い最遠位置を設定し、最遠位置を用いて、当該変化領域内において水溜りに映った像による非実体領域と当該変化領域内において実物体による実体領域とを判別する。   As described above, when each of the change areas detected by the change area detection means 43 overlaps with the puddle area, the entity area determination unit 44 determines the position in the monitoring space corresponding to the change area. The farthest position farthest from the imaging means 20 is set, and the farthest position is used to discriminate between the non-substance area by the image reflected in the puddle in the change area and the real area by the real object in the change area. .

より具体的には、実体領域判別手段44は、水溜り領域と重複する変化領域が物体サイズよりも大きい場合に、当該変化領域のうち当該変化領域に設定された最遠位置を含む物体サイズの部分領域を実体領域と判別する。また、実体領域判別手段44は、水溜り領域と重複する変化領域の最遠位置が水溜り領域の略領域境界上である場合に、当該変化領域を非実体領域と判別する。   More specifically, when the change area that overlaps the puddle area is larger than the object size, the substance area determination unit 44 determines the object size including the farthest position set in the change area among the change areas. The partial area is determined to be an actual area. Further, when the farthest position of the change area overlapping the puddle area is on the substantial area boundary of the puddle area, the real area determination unit 44 determines the change area as a non-substance area.

以上で述べたように、変化領域検出手段43、実体領域判別手段44、背景画像記憶手段30および水溜り領域記憶手段32を含み、必要に応じて物体情報記憶手段33を含んで構成される領域検出装置は、水溜り領域と最遠位置等に基づいて変化領域のうちの実体領域を高精度に判別できる。   As described above, the area includes the change area detection means 43, the substance area determination means 44, the background image storage means 30, and the puddle area storage means 32, and includes the object information storage means 33 as necessary. The detection device can discriminate the substance area of the change area with high accuracy based on the water pool area and the farthest position.

[侵入検知装置1の動作]
図9〜図12のフローチャートを参照して、本実施形態に係る侵入検知装置1の動作を説明する。
[Operation of Intrusion Detection Device 1]
The operation of the intrusion detection device 1 according to the present embodiment will be described with reference to the flowcharts of FIGS.

侵入検知装置1が動作を開始した後、撮影部2は撮像手段20として機能し、所定の撮像周期で監視空間を撮影して画像を出力する。この撮像周期で図9に示す処理が繰り返される。   After the intrusion detection device 1 starts operation, the imaging unit 2 functions as the imaging unit 20 and images the monitoring space at a predetermined imaging cycle and outputs an image. The process shown in FIG. 9 is repeated in this imaging cycle.

まず画像処理部4は水領域検出周期が到来したか否かを確認する(S1)。この確認は、計時または画像入力回数の計数などによって行うことができる。   First, the image processing unit 4 confirms whether or not the water region detection cycle has arrived (S1). This confirmation can be performed by counting time or counting the number of image inputs.

水領域検出周期が到来すると(ステップS1にてYES)、画像処理部4は水領域検出処理を実行する(S2)。以下、図10を参照して、ステップS2の水領域検出処理を説明する。   When the water region detection cycle arrives (YES in step S1), the image processing unit 4 executes a water region detection process (S2). Hereinafter, the water region detection processing in step S2 will be described with reference to FIG.

水領域検出処理において、まず、画像処理部4は変化度算出手段40として機能し、記憶部3は背景画像記憶手段30として機能する。   In the water region detection process, first, the image processing unit 4 functions as the degree-of-change calculation unit 40, and the storage unit 3 functions as the background image storage unit 30.

変化度算出手段40は撮像手段20から吸収帯画像を取得するとともに(S20)、背景画像記憶手段30から吸収帯背景画像を読み出し、各画素における吸収帯背景画像の輝度値Bwと吸収帯画像の輝度値Iwの比を当該画素の吸収帯変化度Vwとして算出する(S21)。ただし吸収帯背景画像が記憶されていない検出処理初回において変化度算出手段40はステップS21を省略する。   The degree-of-change calculating unit 40 acquires the absorption band image from the imaging unit 20 (S20), reads the absorption band background image from the background image storage unit 30, and the luminance value Bw of the absorption band background image and the absorption band image of each pixel. The ratio of the luminance value Iw is calculated as the absorption band change degree Vw of the pixel (S21). However, in the first detection process in which no absorption band background image is stored, the degree-of-change calculation unit 40 omits step S21.

変化度算出手段40は次に撮像手段20から非吸収帯画像を取得するとともに(S22)、背景画像記憶手段30から非吸収帯背景画像を読み出し、各画素における非吸収帯背景画像の輝度値Bnと非吸収帯画像の輝度値Inの比を当該画素の非吸収帯変化度Vnとして算出する(S23)。ただし非吸収帯背景画像が記憶されていない検出処理初回において変化度算出手段40はステップS23を省略する。   Next, the degree-of-change calculating unit 40 obtains a non-absorption band image from the imaging unit 20 (S22), reads out the non-absorption band background image from the background image storage unit 30, and the luminance value Bn of the non-absorption band background image in each pixel. And the luminance value In of the non-absorption band image is calculated as the non-absorption band change degree Vn of the pixel (S23). However, in the first detection process in which the non-absorption band background image is not stored, the degree-of-change calculation unit 40 omits step S23.

なお、ステップS20〜S23の順序は、S20の後にS21を実行し且つS22の後にS24を実行するという順序さえ守られていれば適宜変更することができる。   Note that the order of steps S20 to S23 can be appropriately changed as long as S21 is executed after S20 and S24 is executed after S22.

変化度を算出し終えた画像処理部4は水領域検出手段41として機能し、記憶部3は水領域記憶手段31として機能する。   The image processing unit 4 that has finished calculating the degree of change functions as the water region detection unit 41, and the storage unit 3 functions as the water region storage unit 31.

水領域検出手段41は、吸収帯変化度Vwと非吸収帯変化度Vnの比Rが閾値Tr以上である画素を抽出し、互いに近接して抽出された画素のまとまりのそれぞれを水領域として検出する(S25)。ただし各変化度の算出が省略される検出処理初回において水領域検出手段41は便宜的に水領域がひとつも検出されなかったものとして処理する。   The water region detection means 41 extracts pixels whose ratio R between the absorption band change degree Vw and the non-absorption band change degree Vn is equal to or greater than the threshold value Tr, and detects each group of extracted pixels adjacent to each other as a water area. (S25). However, in the first detection process in which the calculation of each degree of change is omitted, the water area detecting means 41 processes for the sake of convenience that no water area has been detected.

検出処理を行った水領域検出手段41は次回の検出のために検出結果を水領域記憶手段31に記憶させる更新を行う(S25)。すなわち水領域検出手段41は検出した水領域内の画素値と水領域外の画素値を異ならせた2値画像を水領域の情報として水領域記憶手段31に追加記憶させる。ちなみに水領域が検出されなかった場合の2値画像は全画素値が水領域外の画素値となる。   The water area detection means 41 that has performed the detection process updates the detection result to be stored in the water area storage means 31 for the next detection (S25). That is, the water area detection unit 41 additionally stores a binary image in which the detected pixel value in the water area is different from the pixel value outside the water area in the water area storage unit 31 as water area information. Incidentally, in the binary image when the water region is not detected, all pixel values are pixel values outside the water region.

水領域がひとつも検出されなかった場合(ステップS26にてYES)、変化度算出手段40はステップS20にて取得した吸収帯画像を次回の吸収帯背景画像として背景画像記憶手段30に記憶させるとともに(S27)、ステップS22にて取得した非吸収帯画像を次回の非吸収帯背景画像として背景画像記憶手段30に記憶させる(S28)。   When no water region is detected (YES in step S26), the degree-of-change calculating unit 40 stores the absorption band image acquired in step S20 in the background image storage unit 30 as the next absorption band background image. (S27) The non-absorption band image acquired in step S22 is stored in the background image storage means 30 as the next non-absorption band background image (S28).

以上の処理を終えた画像処理部4は処理を図9のステップS3に進める。   After completing the above processing, the image processing unit 4 advances the processing to step S3 in FIG.

図9に戻り、画像処理部4は水溜り領域判定処理を実行する(S3)。以下、図11を参照して、ステップS3の水溜り領域判定処理を説明する。   Returning to FIG. 9, the image processing unit 4 executes a puddle area determination process (S3). Hereinafter, with reference to FIG. 11, the water pool region determination processing in step S <b> 3 will be described.

水溜り領域判定処理において、画像処理部4は水溜り判定手段42として機能し、記憶部3は水領域記憶手段31および水溜り領域記憶手段32として機能する。   In the puddle area determination process, the image processing unit 4 functions as a puddle determination unit 42, and the storage unit 3 functions as a water area storage unit 31 and a puddle area storage unit 32.

水溜り判定手段42は、図10のステップS25にて検出された水領域を順次、注目水領域に設定してステップS30〜S34のループ処理を実行する。   The puddle determination means 42 sequentially sets the water area detected in step S25 of FIG. 10 as the water area of interest and executes the loop process of steps S30 to S34.

水領域のループ処理において、まず、水溜り判定手段42は、1周期前に検出された前回水領域を水領域記憶手段31から読み出し、前回水領域と注目水領域を重ねあわせて注目水領域が前回水領域のいずれかと包含関係にあるか否かを確認する(S31)。   In the loop processing of the water region, first, the puddle determination unit 42 reads the previous water region detected one cycle before from the water region storage unit 31, and superimposes the previous water region and the water region of interest to obtain the water region of interest. It is confirmed whether or not there is an inclusion relationship with any of the previous water areas (S31).

いずれかの前回水領域と包含関係にあれば、水溜り判定手段42は、包含関係にある前回水領域の面積および注目水領域の面積の小さい方を大きい方で除して面積の比を算出して閾値Tsと比較することで、閾値を超える面積変化があったか否かを確認する(S32)。   If there is an inclusion relationship with any of the previous water regions, the pool determination means 42 calculates the ratio of the areas by dividing the smaller one of the previous water region and the attention water region in the inclusion relationship by the larger one. Then, by comparing with the threshold value Ts, it is confirmed whether or not there is an area change exceeding the threshold value (S32).

注目水領域に閾値を超える面積変化があった場合すなわち面積の比が閾値Tsより大きい場合(ステップS32にてYES)、水溜り判定手段42は、注目水領域は水溜り領域であると判定する(S33)。   When there is an area change exceeding the threshold value in the water area of interest, that is, when the area ratio is larger than the threshold value Ts (YES in step S32), the water pool determination means 42 determines that the water area of interest is a water pool area. (S33).

一方、前回水領域のいずれとも包含関係にない注目水領域(ステップS31にてNO)、または前回水領域と包含関係にあるが閾値を超える面積変化がなかった注目水領域(ステップS32にてNO)は水溜り領域でないと判定される。   On the other hand, an attention water region that is not in an inclusive relationship with any of the previous water regions (NO in step S31), or an attention water region that is in an inclusive relationship with the previous water region but has no area change exceeding the threshold (NO in step S32) ) Is determined not to be a puddle region.

注目水領域に対するステップS31〜S33の処理を終えた水溜り判定手段42は、現時刻に検出された全ての水領域を処理し終えたか否かを確認し(S34)、未処理の水領域があれば(ステップS34にてNO)、処理をステップS31に戻して未処理の水領域に対する処理を進める。   The puddle determination means 42 that has finished the processes of steps S31 to S33 for the water of interest checks whether or not all the water areas detected at the current time have been processed (S34), and the untreated water area If so (NO in step S34), the process returns to step S31 to proceed with the process on the untreated water area.

他方、全ての水領域を処理し終えた場合(ステップS34にてYES)、水溜り判定手段42は、次回の判定のため、および後段で行われる実体判別のために判定結果を水溜り領域記憶手段32に記憶させる更新を行う(S35)。すなわち水溜り判定手段42は水溜り領域と判定した水領域内の画素値とそれ以外の画素値を異ならせた2値画像を水溜り領域の情報として水溜り領域記憶手段32に上書き記憶させる。ちなみに水溜り領域と判定された水領域がなかった場合の2値画像は全画素値が水溜り領域外の画素値となる。   On the other hand, when all the water areas have been processed (YES in step S34), the puddle determination means 42 stores the determination result for the next determination and for the entity determination performed in the subsequent stage. The update stored in the means 32 is performed (S35). That is, the puddle determination unit 42 overwrites and stores the binary image in which the pixel value in the water region determined as the puddle region is different from the other pixel values in the puddle region storage unit 32 as the puddle region information. Incidentally, when there is no water area determined to be a puddle area, all pixel values of the binary image are pixel values outside the puddle area.

以上の処理を終えた画像処理部4は処理を図9のステップS1に戻す。   After completing the above processing, the image processing unit 4 returns the processing to step S1 in FIG.

図9に戻り、画像処理部4は未だ水領域検出周期が到来していない場合(S1にてNO)、まず、画像処理部4は変化領域検出手段43として機能し、記憶部3は背景画像記憶手段30として機能する。   Returning to FIG. 9, when the water region detection cycle has not yet arrived (NO in S1), the image processing unit 4 first functions as the change region detecting means 43, and the storage unit 3 stores the background image. It functions as the storage means 30.

変化領域検出手段43は、撮像手段20から現時刻の可視画像を取得するとともに(S4)、背景画像記憶手段30から可視背景画像を読み出し、可視画像と可視背景画像の背景差分処理を行って変化領域を検出する(S5)。ただし検出処理初回において変化領域検出手段43は便宜的に変化領域がひとつも検出されなかったものとして処理する。   The change area detection unit 43 acquires the visible image at the current time from the imaging unit 20 (S4), reads the visible background image from the background image storage unit 30, performs the background difference process between the visible image and the visible background image, and changes the change. A region is detected (S5). However, for the first time in the detection process, the change area detecting means 43 processes as if no change area was detected for convenience.

変化領域がひとつも検出されなかった場合(ステップS5にてNO)、現時刻の可視画像を用いて背景画像記憶手段30の可視背景画像を更新し(S11)、処理をステップS1に戻す。   If no change area is detected (NO in step S5), the visible background image in the background image storage means 30 is updated using the visible image at the current time (S11), and the process returns to step S1.

他方、1以上の変化領域が検出された場合(ステップS5にてYES)、画像処理部4は実体領域判別処理を実行する(S7)。以下、図12を参照して、ステップS7の実体領域判別処理を説明する。   On the other hand, when one or more change areas are detected (YES in step S5), the image processing unit 4 executes a substantial area determination process (S7). Hereinafter, with reference to FIG. 12, the real area determination process in step S7 will be described.

実体領域判別処理において、画像処理部4は実体領域判別手段44として機能し、記憶部3は水溜り領域記憶手段32および物体情報記憶手段33として機能する。   In the actual area determination process, the image processing unit 4 functions as the actual area determination unit 44, and the storage unit 3 functions as the puddle area storage unit 32 and the object information storage unit 33.

まず、実体領域判別手段44は、ステップS5にて検出された変化領域と物体情報記憶手段33に記憶されている追跡情報を対応付ける変化領域追跡処理を行う(S70)。追跡情報と対応付けられた変化領域には追跡情報と同一の識別符号を付与し、追跡情報と対応付けられなかった変化領域には新規の識別符号を付与する。また、変化領域と対応付けられなかった追跡情報は物体情報記憶手段33から削除する。   First, the entity area discriminating means 44 performs a change area tracking process for associating the change area detected in step S5 with the tracking information stored in the object information storage means 33 (S70). The same identification code as the tracking information is assigned to the change area associated with the tracking information, and a new identification code is assigned to the change area not associated with the tracking information. Further, the tracking information that is not associated with the change area is deleted from the object information storage means 33.

次に、実体領域判別手段44は、変化領域を順次注目変化領域に設定してステップS71〜S80のループ処理を行う。   Next, the entity area discriminating means 44 sequentially sets the change area as the attention change area and performs the loop processing of steps S71 to S80.

変化領域のループ処理において、実体領域判別手段44は、まず、水溜り領域記憶手段32から水溜り領域の情報を読み出して注目変化領域との重ね合わせを行い、注目変化領域が水溜り領域と重複しているか否かを確認する(S72)。   In the loop process of the change area, the entity area determination unit 44 first reads out the information on the puddle area from the puddle area storage unit 32 and superimposes it with the change area of interest, so that the change of interest area overlaps the puddle area. It is confirmed whether or not (S72).

注目変化領域が水溜り領域と重複していない場合(ステップS72にてNO)、実体領域判別手段44は、注目変化領域が実体領域であると判定し(S73)、注目変化領域から注目変化領域に付与された識別符号が示す物体の物体サイズを求めて物体情報記憶手段33に記憶させるとともに(S74)、注目変化領域を同物体の追跡情報として物体情報記憶手段33に記憶させる。   When the attention change area does not overlap with the puddle area (NO in step S72), the entity area determination unit 44 determines that the attention change area is the entity area (S73), and changes the attention change area to the attention change area. The object size of the object indicated by the identification code given to is obtained and stored in the object information storage unit 33 (S74), and the attention change area is stored in the object information storage unit 33 as tracking information of the object.

他方、注目変化領域が水溜り領域と重複している場合(ステップS72にてYES)、実体領域判別手段44は、注目変化領域が非実体領域を含み得るとして以下の判定を行う。   On the other hand, when the attention change area overlaps with the puddle area (YES in step S72), the entity area determination unit 44 performs the following determination that the attention change area may include a non-substance area.

実体領域判別手段44は、注目変化領域の最上端を最遠位置に設定するとともに(S75)、注目変化領域のサイズを算出し、物体情報記憶手段33から注目変化領域と同一識別符号が付与されている物体サイズを読み出して、注目変化領域のサイズを読み出した物体サイズと比較する(S76)。ただし注目変化領域が新規出現物体である場合は同一識別符号が付与されている物体サイズの代わりに標準サイズを読み出す。   The entity area discriminating means 44 sets the uppermost end of the attention changing area at the farthest position (S75), calculates the size of the attention changing area, and is given the same identification code as the attention changing area from the object information storage means 33. The read object size is read out, and the size of the attention change area is compared with the read object size (S76). However, when the attention change area is a newly appearing object, the standard size is read instead of the object size to which the same identification code is assigned.

注目変化領域のサイズが読み出した物体サイズよりも大きい場合(ステップS76にてYES)、実体領域判別手段44は、注目変化領域において最遠位置側の物体サイズの部分が実体領域であるとして、注目変化領域を実体領域に補正する(S77)。ちなみに実体領域とされた部分以外は非実体領域であると判定されたことになる。   When the size of the attention change area is larger than the read object size (YES in step S76), the entity area determination unit 44 assumes that the part of the object size on the farthest position side in the attention change area is the entity area. The change area is corrected to the real area (S77). Incidentally, it is determined that the portion other than the portion designated as the entity region is a non-substance region.

他方、注目変化領域のサイズが読み出した物体サイズ以下の場合(ステップS76にてNO)、実体領域判別手段44は、注目変化領域の最遠位置が水溜り領域の略境界線上であるか否かを確認し(S78)、略境界線上である場合は(ステップS78にてYES)、注目変化領域が非実体領域であると判定する(S79)。確認の結果、最遠位置が境界線上にない場合(ステップS78にてNO)、実体領域判別手段44は、注目変化領域が実体領域であるとして(S73)、注目領域から求めた物体サイズを注目変化領域に付与された識別符号が示す物体の物体サイズとして物体情報記憶手段33に記憶させる(S74)。   On the other hand, when the size of the attention change area is equal to or smaller than the read object size (NO in step S76), the entity area determination unit 44 determines whether or not the farthest position of the attention change area is substantially on the boundary line of the puddle area. Is confirmed (S78). If substantially on the boundary line (YES in step S78), it is determined that the region of interest change is an insubstantial region (S79). As a result of the confirmation, if the farthest position is not on the boundary line (NO in step S78), the entity area determination unit 44 considers the object size obtained from the area of interest, assuming that the area of interest change is an entity area (S73). The object information storage means 33 stores the object size of the object indicated by the identification code assigned to the change area (S74).

注目変化領域に対するステップS72〜S79の処理を終えた実体領域判別手段44は、現時刻に検出された全ての変化領域を処理し終えたか否かを確認し(S80)、未処理の変化領域があれば(ステップS80にてNO)、処理をステップS71に戻して未処理の変化領域に対する判別を進める。   The entity area discriminating means 44 that has finished the processes of steps S72 to S79 for the attention change area confirms whether or not all the change areas detected at the current time have been processed (S80), and the unprocessed change area is determined. If there is (NO in step S80), the process returns to step S71, and the discrimination for the unprocessed change area is advanced.

他方、全ての変化領域を処理し終えた場合(ステップS80にてYES)、実体領域判別手段44は、処理を図9のステップS7に進める。   On the other hand, when all the changed areas have been processed (YES in step S80), substance area discriminating means 44 advances the process to step S7 in FIG.

図9に戻り、画像処理部4は、ステップS7にて実体領域と判別された変化領域の有無を確認し(S8)、実体領域と判別された変化領域が1以上あった場合(ステップS8にてYES)、該当する各変化領域すなわち各実体領域が人によるものであるか否かを判定する(S9)。例えば、画像処理部4は、実体領域のサイズ、形状、当該実体領域の追跡情報に基づく動き等を精査して該判定を行う。   Returning to FIG. 9, the image processing unit 4 confirms whether or not there is a change area determined as the substantial area in step S <b> 7 (S <b> 8). YES), it is determined whether or not each corresponding change area, that is, each real area is by a person (S9). For example, the image processing unit 4 performs the determination by examining the size and shape of the substantial area, the movement based on the tracking information of the substantial area, and the like.

人によるものと判定した実体領域が1以上あった場合(ステップS9にてYES)、画像処理部4は、監視空間に侵入者が存在するとしてアラーム信号を出力部5に出力し、出力部5は該アラーム信号を監視センターのサーバーに送信する(S10)。   If there are one or more physical regions determined to be human (YES in step S9), the image processing unit 4 outputs an alarm signal to the output unit 5 because there is an intruder in the monitoring space, and the output unit 5 Transmits the alarm signal to the server of the monitoring center (S10).

一方、実体領域と判別された変化領域が一つもなかった場合(ステップS8にてNO)、または実体領域と判別されたが人によるものと判定した実体領域が一つもなかった場合(ステップS9にてNO)、ステップS10の処理は省略される。   On the other hand, if there is no change area determined to be an entity area (NO in step S8), or if there is no entity area determined to be an entity area but determined to be a person (in step S9) NO), the process of step S10 is omitted.

以上の処理を終えた画像処理部4は処理をステップS1に戻して次時刻の監視画像を処理する。   After completing the above processing, the image processing unit 4 returns the processing to step S1 to process the monitoring image at the next time.

<変形例>
上記実施形態においては変化度算出手段40が変化度として背景画像の輝度値と現時刻の画像の輝度値の比を算出する例を示した。別の実施形態においては、変化度算出手段40は、変化度として背景画像の輝度値と現時刻の画像の輝度値の差の絶対値を算出する。この場合、例えば、吸収帯変化度は|Iw−Bw|、非吸収帯変化度は|In−Bn|となる。ただし、変化度の算出と相違度の算出のいずれかにおいて波長帯間の感度を正規化する必要があるため、変化度算出手段40が差に基づいて変化度を算出する場合、水領域検出手段41は、変化度の比を変化度の相違度として算出する必要がある。
<Modification>
In the above embodiment, an example has been shown in which the degree-of-change calculating means 40 calculates the ratio between the luminance value of the background image and the luminance value of the image at the current time as the degree of change. In another embodiment, the degree-of-change calculating means 40 calculates the absolute value of the difference between the luminance value of the background image and the luminance value of the image at the current time as the degree of change. In this case, for example, the absorption band variation is | Iw−Bw |, and the non-absorption band variation is | In−Bn |. However, since it is necessary to normalize the sensitivity between the wavelength bands in either the calculation of the degree of change or the calculation of the degree of difference, when the degree-of-change calculating unit 40 calculates the degree of change based on the difference, the water region detecting unit 41 needs to calculate the ratio of the degree of change as the degree of difference of the degree of change.

1・・・侵入検知装置
2・・・撮像部
3・・・記憶部
4・・・画像処理部
5・・・出力部
20・・・撮像手段
30・・・背景画像記憶手段
31・・・水領域記憶手段
32・・・水溜り領域記憶手段
33・・・物体情報記憶手段
40・・・変化度算出手段
41・・・水領域検出手段
42・・・水溜り判定手段
43・・・変化領域検出手段
44・・・実体領域判別手段
DESCRIPTION OF SYMBOLS 1 ... Intrusion detection apparatus 2 ... Imaging part 3 ... Memory | storage part 4 ... Image processing part 5 ... Output part 20 ... Imaging means 30 ... Background image memory | storage means 31 ... Water area storage means 32 ... Puddle area storage means 33 ... Object information storage means 40 ... Change degree calculation means 41 ... Water area detection means 42 ... Puddle determination means 43 ... Change Area detection means 44... Real area discrimination means

Claims (5)

少なくとも水に吸収される吸収波長帯の光および前記吸収波長帯とは異なる所定の非吸収波長帯の光に感度を有し、所定の空間を順次撮像して画像を出力する撮像手段と、
前後して撮像された前記画像を比較して、各画素について前記吸収波長帯における光強度の変化の度合いである吸収帯変化度および前記非吸収波長帯における光強度の変化の度合いである非吸収帯変化度を算出する変化度算出手段と、
前記吸収帯変化度と前記非吸収帯変化度の間の相違度が所定基準を超える画素からなる水領域を検出する水領域検出手段と、
を備えたことを特徴とする領域検出装置。
An imaging means having sensitivity to at least light in an absorption wavelength band absorbed by water and light in a predetermined non-absorption wavelength band different from the absorption wavelength band, and sequentially imaging a predetermined space and outputting an image;
Comparing the images captured before and after, for each pixel, the degree of change of the light intensity in the absorption wavelength band and the degree of light intensity change in the non-absorption wavelength band A change degree calculating means for calculating a belt change degree;
A water region detecting means for detecting a water region composed of pixels in which the degree of difference between the absorption band change degree and the non-absorption band change degree exceeds a predetermined reference;
An area detection apparatus comprising:
前記水領域を順次記憶する水領域記憶手段と、
前後して検出された前記水領域を比較して包含関係を有する前記水領域の組み合わせを抽出し、前記組み合わせのうち面積の変化度合いが所定の面積変化閾値を超える水領域を水溜り領域と判定する水溜り判定手段と、
をさらに備えたことを特徴とする請求項1に記載の領域検出装置。
Water area storage means for sequentially storing the water areas;
A combination of the water regions having an inclusion relationship is extracted by comparing the water regions detected before and after, and a water region in which the degree of area change exceeds a predetermined area change threshold is determined as a puddle region. A puddle judging means to perform,
The region detection apparatus according to claim 1, further comprising:
前記撮像手段は、さらに可視光または近赤外の波長帯に感度を有して前記画像を出力し、
さらに、
前後して撮像された前記画像を比較して可視光または近赤外の波長帯における変化領域を検出する変化領域検出手段と、
前記水溜り領域を記憶する水溜り領域記憶部と、
前記変化領域が前記水溜り領域と重複する場合、当該変化領域内において対応する前記空間内の位置が前記撮像手段から最も遠い最遠位置を設定し、前記最遠位置を用いて、当該変化領域内において水溜りに映った像による非実体領域と当該変化領域内において実物体による実体領域とを判別する実体領域判別手段と、
を備えたことを特徴とする請求項2に記載の領域検出装置。
The imaging means further outputs the image with sensitivity in the visible light or near infrared wavelength band,
further,
A change area detection means for detecting a change area in a visible light or near infrared wavelength band by comparing the images captured before and after;
A puddle area storage unit for storing the puddle area;
When the change area overlaps the water pool area, the position in the space corresponding to the change area is set to the farthest position farthest from the imaging unit, and the change area is set using the farthest position. A substantive region discriminating means for discriminating a substantive region by an image reflected in a puddle inside and a substantive region by a real object in the change region;
The region detection apparatus according to claim 2, further comprising:
前記空間内を移動する物体の物体サイズを記憶する物体情報記憶手段、
をさらに備え、
前記実体領域判別手段は、前記水溜り領域と重複する前記変化領域が前記物体サイズよりも大きい場合に、当該変化領域のうち前記最遠位置を含む前記物体サイズの部分領域を前記実体領域と判別することを特徴とする請求項3に記載の画像処理装置。
Object information storage means for storing an object size of an object moving in the space;
Further comprising
When the change area overlapping the puddle area is larger than the object size, the substance area determination unit determines a partial area of the object size including the farthest position from the change area as the substance area. The image processing apparatus according to claim 3, wherein:
前記実体領域判別手段は、前記水溜り領域と重複する前記変化領域の前記最遠位置が前記水溜り領域の略領域境界上である場合に、当該変化領域を前記非実体領域と判別することを特徴とする請求項3または4に記載の領域検出装置。
The substantial area determination means determines that the change area is the non-substance area when the farthest position of the change area overlapping the puddle area is on an approximate area boundary of the puddle area. The region detection apparatus according to claim 3 or 4, characterized in that
JP2016065868A 2016-03-29 2016-03-29 Area detection device Active JP6461035B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016065868A JP6461035B2 (en) 2016-03-29 2016-03-29 Area detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016065868A JP6461035B2 (en) 2016-03-29 2016-03-29 Area detection device

Publications (2)

Publication Number Publication Date
JP2017183904A true JP2017183904A (en) 2017-10-05
JP6461035B2 JP6461035B2 (en) 2019-01-30

Family

ID=60007706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016065868A Active JP6461035B2 (en) 2016-03-29 2016-03-29 Area detection device

Country Status (1)

Country Link
JP (1) JP6461035B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59208442A (en) * 1983-05-12 1984-11-26 Fujitsu Ten Ltd Method and apparatus for judging state of road surface
JPH09210905A (en) * 1996-02-06 1997-08-15 Ishikawajima Harima Heavy Ind Co Ltd Sensing device for road surface moistness with laser
JP2009301495A (en) * 2008-06-17 2009-12-24 Sumitomo Electric Ind Ltd Image processor and image processing method
JP2015072204A (en) * 2013-10-03 2015-04-16 パナソニックIpマネジメント株式会社 Monitoring camera and monitoring system
WO2015098063A1 (en) * 2013-12-25 2015-07-02 Panasonic Intellectual Property Management Co., Ltd. Image output apparatus, image output method, and image output system, the image output comprising the detection of a specified substance in a predetermined region

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59208442A (en) * 1983-05-12 1984-11-26 Fujitsu Ten Ltd Method and apparatus for judging state of road surface
JPH09210905A (en) * 1996-02-06 1997-08-15 Ishikawajima Harima Heavy Ind Co Ltd Sensing device for road surface moistness with laser
JP2009301495A (en) * 2008-06-17 2009-12-24 Sumitomo Electric Ind Ltd Image processor and image processing method
JP2015072204A (en) * 2013-10-03 2015-04-16 パナソニックIpマネジメント株式会社 Monitoring camera and monitoring system
WO2015098063A1 (en) * 2013-12-25 2015-07-02 Panasonic Intellectual Property Management Co., Ltd. Image output apparatus, image output method, and image output system, the image output comprising the detection of a specified substance in a predetermined region

Also Published As

Publication number Publication date
JP6461035B2 (en) 2019-01-30

Similar Documents

Publication Publication Date Title
KR101417571B1 (en) Object identification device
JP4803376B2 (en) Camera tampering detection method
JP4611776B2 (en) Image signal processing device
JP3924171B2 (en) Monitoring device for identifying monitoring objects
CN201788026U (en) Front-end dynamic forest fire recognizing and alarming system and thermal infrared imager thereof
KR102066290B1 (en) Image recognition apparatus and method thereof
CN111008998A (en) Automatic fire water monitor flame detection method based on binocular vision
CN113673450A (en) Visual system with autonomous learning function
JP4656977B2 (en) Sensing device
JP2010146094A (en) Image processing apparatus, image processing method, and image processing program
JP6461035B2 (en) Area detection device
CN113189005B (en) Portable surface defect integrated detection device and surface defect automatic detection method
JP2012015697A (en) Pantagraph detection device and method thereof
JP4171310B2 (en) Intruder detection method and intruder detection apparatus
JP2009157763A (en) Composite intrusion detecting device
JPH05284501A (en) Intrusion monitor picture device
KR20160061614A (en) Fire detection system
JP4096953B2 (en) Human body detector
JPH0210045A (en) Automatic air conditioner
CN102542241A (en) Embedded image processing and identifying system and method
JP5545977B2 (en) Image monitoring device
JPH0337356B2 (en)
JP5016473B2 (en) Combined intrusion detection device
JP3862558B2 (en) Image sensor and surveillance camera device
JP7328778B2 (en) Image processing device and image processing program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170802

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170802

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180508

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181225

R150 Certificate of patent or registration of utility model

Ref document number: 6461035

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250