[go: up one dir, main page]

JP2006262242A - Image signal processing device - Google Patents

Image signal processing device Download PDF

Info

Publication number
JP2006262242A
JP2006262242A JP2005078833A JP2005078833A JP2006262242A JP 2006262242 A JP2006262242 A JP 2006262242A JP 2005078833 A JP2005078833 A JP 2005078833A JP 2005078833 A JP2005078833 A JP 2005078833A JP 2006262242 A JP2006262242 A JP 2006262242A
Authority
JP
Japan
Prior art keywords
image
water droplet
edge
input
illumination
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
JP2005078833A
Other languages
Japanese (ja)
Other versions
JP4542929B2 (en
Inventor
Takashi Nagamine
隆 長峯
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 JP2005078833A priority Critical patent/JP4542929B2/en
Publication of JP2006262242A publication Critical patent/JP2006262242A/en
Application granted granted Critical
Publication of JP4542929B2 publication Critical patent/JP4542929B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

【課題】屋外での撮像状況(明るさ)にかかわらず撮像画像中の水滴画像領域を確度良く検出できる画像信号処理装置を提供する。
【解決手段】撮像部10により監視空間を撮像するときの当該監視空間における撮像照度を検出する照度検出部と、照度検出部にて検出された撮像照度に基づいて、撮像部10を含む監視空間に照明光を照射する照明部20を制御する照明制御部30と、撮像部10により撮像された入力画像中に水滴による画像領域が存在するか否かを判定し、撮像部10への水滴の付着を検出する水滴検出部50と、を有しており、水滴検出部50は、照明部20が照明光を照射しない場合には、第一の水滴判定処理により水滴の検出を行い、照明部20が撮像部10を含む監視空間に照明光を照射する場合には、第二の水滴判定処理により水滴の検出を行う。
【選択図】図1
An image signal processing apparatus capable of accurately detecting a water droplet image area in a captured image regardless of an outdoor imaging state (brightness).
An illuminance detection unit that detects imaging illuminance in the monitoring space when the imaging unit captures an image of the monitoring space, and a monitoring space that includes the imaging unit based on the imaging illuminance detected by the illuminance detection unit. The illumination control unit 30 that controls the illumination unit 20 that irradiates the illumination light and the input image captured by the imaging unit 10 determine whether or not an image region due to water droplets exists, and the water droplets to the imaging unit 10 A water droplet detection unit 50 that detects adhesion, and when the illumination unit 20 does not irradiate illumination light, the water droplet detection unit 50 detects a water droplet by the first water droplet determination process, and the illumination unit When 20 irradiates the monitoring space including the imaging unit 10 with illumination light, water droplets are detected by the second water droplet determination process.
[Selection] Figure 1

Description

本発明は、撮像装置におけるレンズ部分に水滴が付着したことを検出するのに好適な画像信号処理装置に関する。   The present invention relates to an image signal processing apparatus suitable for detecting that a water droplet has adhered to a lens portion in an imaging apparatus.

近年、監視空間に侵入した侵入者等を検出するセキュリティシステムが広く使用されており、例えば画像センサを用いたセキュリティシステムが普及している。画像センサを用いたシステムは、監視対象となる監視空間を撮像するカメラ部と、カメラ部で撮像された画像を受ける画像取得部と、処理に利用される画像データを格納及び保持する記憶部と、画像データを処理して監視空間内に存在する移動物体を検出する処理部と、を備える。処理部は、入力画像とそれより過去に撮像された背景画像との差分からなる差分画像に基づいて画像内の変動領域を抽出し、その変動領域に対応する入力画像の領域の属性値が検出対象物に特有の特徴を有する場合に、検出対象物が監視空間内に存在するものとして警報を発する等の処理を行う。例えば、検出対象が「侵入者」である場合には、変動領域に対応する入力画像データ中の領域の大きさ、縦横比、輝度情報等の「人らしさ」を表す属性値が所定の条件を満たす場合に侵入者が存在するものとして警報を発する等の処理を行う。   In recent years, security systems that detect intruders or the like that have entered a monitoring space have been widely used. For example, security systems using image sensors have become widespread. A system using an image sensor includes a camera unit that captures a monitoring space to be monitored, an image acquisition unit that receives an image captured by the camera unit, and a storage unit that stores and holds image data used for processing. A processing unit that processes the image data and detects a moving object existing in the monitoring space. The processing unit extracts a variation area in the image based on a difference image composed of a difference between the input image and a background image captured in the past, and detects an attribute value of the area of the input image corresponding to the variation area When the object has a characteristic characteristic, processing such as issuing an alarm as the detection object exists in the monitoring space is performed. For example, when the detection target is “intruder”, the attribute value indicating “humanity” such as the size, aspect ratio, and luminance information of the input image data corresponding to the variable region satisfies a predetermined condition. When the condition is satisfied, processing such as issuing an alarm that an intruder exists is performed.

また、画像センサを用いて侵入者等の監視を行うシステムは、夜間の監視のために、監視空間に光を照射する照明部をさらに備える。そして、照明部により監視空間を照射した状態で監視空間を撮像した画像を取得し、取得した画像データを処理して移動物体の検出及び該移動物体が検出対象物か否かの判断を行うことで、夜間における監視空間内の検出対象物(例えば侵入者)の存否を判断する。   Moreover, the system which monitors an intruder etc. using an image sensor is further provided with the illumination part which irradiates light to monitoring space for nighttime monitoring. Then, an image obtained by capturing the monitoring space in a state where the monitoring space is illuminated by the illumination unit is acquired, and the acquired image data is processed to detect a moving object and determine whether the moving object is a detection target. Thus, it is determined whether or not there is a detection object (for example, an intruder) in the monitoring space at night.

ところで、屋外の監視空間に侵入した侵入者等を検出するため、カメラ部を屋外に設置して上記のシステムを利用することがある。この場合、屋外の監視空間を監視するシステムではカメラ部を屋外に設置するため、雨天時等にカメラ部のレンズ部分等に水滴が付着する事態が生じることがある。ここで、水滴がレンズ部分等に付着すると、水滴を撮像した画像領域はぼやけた状態で画像データ中に映り込むため、ぼやけた水滴画像領域における検出対象物の検出処理が困難となる。例えば、画像中の水滴画像領域内に侵入者が存在する場合、侵入者の画像が水滴画像領域に隠れる等してはっきりと撮像されない場合があり、セキュリティシステムでは特に問題となる。   By the way, in order to detect an intruder or the like who has entered an outdoor monitoring space, the above system may be used by installing a camera unit outdoors. In this case, since the camera unit is installed outdoors in a system for monitoring an outdoor monitoring space, a situation may occur in which water drops adhere to the lens portion of the camera unit during rainy weather. Here, when a water droplet adheres to a lens part or the like, an image region in which the water droplet is imaged is reflected in the image data in a blurred state, so that it is difficult to detect a detection target in the blurred water droplet image region. For example, when an intruder exists in the water drop image area in the image, the intruder image may not be clearly captured because it is hidden in the water drop image area, which is a particular problem in the security system.

そこで、カメラ部のレンズ部分等に水滴が付着した場合には、上記のような問題の発生を防ぐため、水滴が付着したことを検出してレンズ部分等から除去する等の対処を早急に行う必要がある。   Therefore, when water drops adhere to the lens part of the camera unit, in order to prevent the occurrence of the above-mentioned problems, measures such as detecting the water drop adhering and removing it from the lens part are taken immediately. There is a need.

従来、水滴の付着を検出するにあたり、例えば車両のフロントガラス等に付着した雨滴を検出する技術として、設定された雨滴検出領域内を撮像して得られた画像データからこの領域内の照度を算出し、得られた照度に基づいて、雨滴の輪郭を識別するための照度変化量の閾値を算出し、この閾値を用いて雨滴の輪郭を検出する技術がある。   Conventionally, when detecting the adhesion of water droplets, for example, as a technique for detecting raindrops adhering to the windshield of a vehicle, the illuminance in this region is calculated from image data obtained by imaging the set raindrop detection region Then, based on the obtained illuminance, there is a technique for calculating a threshold of change in illuminance for identifying the outline of the raindrop and detecting the outline of the raindrop using this threshold.

特開平05−284501号公報JP 05-284501 A 特開平10−148681号公報Japanese Patent Laid-Open No. 10-148681

侵入者等を検出するための画像センサを用いたシステムでは、水滴がカメラ部のレンズ部分等に付着すると、水滴を撮像した画像領域はぼやけた状態で画像データ中に映り込むため、ぼやけた水滴画像領域における検出対象物の検出処理が困難となることがあった。   In a system that uses an image sensor to detect intruders, etc., if the water droplets adhere to the lens part of the camera unit, the image area that captured the water droplets is reflected in the image data in a blurred state. In some cases, it is difficult to detect the detection target in the image area.

また、上記の画像センサを用いたシステムにおいて、カメラ部のレンズ部分等に付着した水滴は、誤報の原因ともなっていた。   Moreover, in the system using the image sensor, water droplets adhering to the lens portion of the camera unit have been a cause of false alarms.

画像センサを用いたシステムでは、入力画像と背景画像との差分画像から抽出された変動領域の「検出対象物らしさ」を表す属性値が所定の条件を満たすか否かが検出のポイントとなる。すなわち、変動領域が検出対象物に起因しない場合においても「検出対象物らしさ」の条件が満たされるときには検出誤り(誤報)を発することとなる。このような誤報は、侵入者を検出するセキュリティシステムでは特に問題となる。   In a system using an image sensor, the point of detection is whether or not an attribute value that represents “likeness of a detection target” of a fluctuation region extracted from a difference image between an input image and a background image satisfies a predetermined condition. That is, even when the fluctuation region is not caused by the detection object, a detection error (false report) is issued when the condition of “detection object likelihood” is satisfied. Such false alarms are particularly problematic in security systems that detect intruders.

ここで、このようなシステムにおいて、昼間等の明るい状況で環境光を利用して監視空間を撮像し、監視空間の画像を取得する場合、こうして撮像した撮像画像中の水滴画像領域は、太陽光などが映り込んで生じた明るい領域と地面等が映り込んで生じた暗い領域とに分かれるという特徴がある。この水滴画像領域内の明るい領域と暗い領域は、入力画像と背景画像との差分画像からそれぞれ変動領域として抽出され、いずれかの変動領域の面積や形状が「人らしさ」の条件を満たすと、これにより侵入者が存在するものとして誤報を発することがあった。   Here, in such a system, when a monitoring space is imaged using ambient light in a bright situation such as daytime and an image of the monitoring space is acquired, the water droplet image area in the captured image thus captured is sunlight. There is a feature that it is divided into a bright area caused by the reflection of the image and a dark area caused by the reflection of the ground. A bright area and a dark area in the water drop image area are extracted as a variable area from the difference image between the input image and the background image, respectively, and if the area or shape of any of the variable areas satisfies the condition of “humanity”, As a result, there were cases in which an intruder was reported as false.

一方、夜間等の暗い状況で照明部により監視空間を照射した状態で監視空間を撮像し、監視空間の画像を取得する場合には、こうして撮像した撮像画像中の水滴画像領域は、照明光が水滴で反射する影響により、水滴画像領域のほぼ全域が明るくなるという特徴がある。この明るく映る水滴画像領域は、入力画像と背景画像との差分画像から変動領域として抽出され、この変動領域の面積や形状が「人らしさ」の条件を満たすと、これにより侵入者が存在するものとして誤報を発することがあった。   On the other hand, when the monitoring space is imaged in a dark condition such as at night and the monitoring space is illuminated by the illumination unit and an image of the monitoring space is acquired, the water droplet image area in the captured image captured in this way Due to the effect of reflection by water droplets, there is a feature that almost the entire water droplet image region becomes bright. This brightly reflected water drop image area is extracted as a variable area from the difference image between the input image and the background image, and if the area or shape of this variable area satisfies the condition of “humanity”, there is an intruder There was a misinformation.

以上のように、昼間等の明るい状況で環境光を利用して監視空間を撮像した場合と、夜間等の暗い状況で照明部により監視空間を照射した状態で監視空間を撮像した場合とでは、水滴画像領域の特徴が大きく異なる。従って、このような特徴の違いに対応して水滴を確度良く検出するためには、各撮像状況に対しそれぞれ好適な水滴検出処理を、撮像状況に合わせて行うことが好ましい。   As described above, in the case where the monitoring space is imaged using ambient light in a bright situation such as daytime and in the case where the monitoring space is imaged in a state where the monitoring space is illuminated by a lighting unit in a dark situation such as nighttime, The characteristics of the water drop image area are greatly different. Therefore, in order to detect water droplets with high accuracy corresponding to such differences in characteristics, it is preferable to perform a suitable water droplet detection process for each imaging situation in accordance with the imaging situation.

本発明の目的は、昼間等の明るい状況で照明を用いずに環境光を利用して撮像した場合と、夜間等の暗い状況で照明光を当てて撮像した場合のいずれの撮像状況下における撮像画像であっても、撮像部に付着した水滴の検出確度を高めることのできる画像信号処理装置を提供することにある。   An object of the present invention is to take an image under any imaging situation when imaging is performed using ambient light without using illumination in a bright situation such as daytime, and when imaging is performed by applying illumination light in a dark situation such as nighttime. An object of the present invention is to provide an image signal processing apparatus capable of increasing the detection accuracy of water droplets attached to an imaging unit even for images.

本発明の画像信号処理装置は、撮像部により監視空間を撮像するときの当該監視空間における撮像照度を検出する照度検出部と、前記照度検出部にて検出された前記撮像照度に基づいて、前記撮像部を含む監視空間に照明光を照射する照明部を制御する照明制御部と、前記撮像部により撮像された入力画像中に水滴による画像領域が存在するか否かを判定し、前記撮像部への水滴の付着を検出する水滴検出部と、を有し、前記水滴検出部は、前記照明部が照明光を照射しない場合には、第一の水滴判定処理により水滴の検出を行い、前記照明部が前記撮像部を含む監視空間に照明光を照射する場合には、第二の水滴判定処理により水滴の検出を行うことを特徴とする。   The image signal processing apparatus of the present invention is based on the illuminance detection unit that detects the imaging illuminance in the monitoring space when the monitoring space is imaged by the imaging unit, and the imaging illuminance detected by the illuminance detection unit, An illumination control unit that controls an illumination unit that irradiates illumination light to a monitoring space including the imaging unit, and determines whether or not an image region due to water droplets exists in an input image captured by the imaging unit, and the imaging unit A water droplet detection unit that detects adhesion of water droplets to the water droplet detection unit, when the illumination unit does not irradiate illumination light, performs water droplet detection by a first water droplet determination process, When the illumination unit irradiates the monitoring space including the imaging unit with illumination light, water droplets are detected by the second water droplet determination process.

また、上記構成の画像信号処理装置において、前記第一の水滴判定処理は、前記撮像部により撮像された背景画像と、前記背景画像の撮像後に撮像された入力画像との差分から輝度変化が生じたという条件を満たす無照明差分画像を生成し、さらに前記無照明差分画像中で前記入力画像の対応する画素が所定の輝度値以上であるという条件を満たす入力高輝度差分画像と、前記差分画像中で前記入力画像の対応する画素が前記所定の輝度値未満であるという条件を満たす入力非高輝度差分画像とを生成する無照明差分画像生成処理と、前記入力画像におけるエッジ強度が所定の閾値以下であるという条件を満たす無照明入力弱エッジ画像を生成する無照明入力弱エッジ画像生成処理と、前記入力画像中のエッジ強度と前記背景画像中のエッジ強度とを比較し、前記入力画像中において前記背景画像中よりもエッジ強度が減少したという条件を満たす無照明エッジ減画像を生成する無照明エッジ減画像生成処理と、前記無照明差分画像、前記入力高輝度差分画像及び前記入力非高輝度差分画像の少なくとも一つと、前記無照明入力弱エッジ画像及び前記無照明エッジ減画像の論理和により得られる画像との論理積により、水滴が存在する可能性の高い無照明水滴候補画像を生成する無照明水滴候補画像生成処理と、を行い、生成された無照明水滴候補画像に基づいて水滴の有無を判定するのが好適である。   In the image signal processing device having the above configuration, the first water droplet determination process causes a change in luminance from a difference between a background image captured by the imaging unit and an input image captured after the background image is captured. An input non-illumination difference image that satisfies the condition of satisfying the above condition, and an input high-intensity difference image that satisfies a condition that a corresponding pixel of the input image is greater than or equal to a predetermined luminance value in the non-illumination difference image, and the difference image A non-illuminated differential image generation process for generating an input non-high luminance differential image that satisfies a condition that a corresponding pixel of the input image is less than the predetermined luminance value, and an edge intensity in the input image is a predetermined threshold value Non-illuminated input weak edge image generation processing for generating an unilluminated input weak edge image that satisfies the following condition, edge strength in the input image, and edge in the background image A non-illuminated edge reduced image generation process that generates a non-illuminated edge reduced image that satisfies the condition that edge intensity is reduced in the input image than in the background image, and the non-illuminated differential image, Water droplets may exist due to the logical product of at least one of the input high-intensity difference image and the input non-high-intensity difference image and the image obtained by the logical sum of the unilluminated input weak edge image and the unilluminated edge reduced image. It is preferable to perform a non-illuminated water droplet candidate image generation process for generating a high-quality non-illuminated water droplet candidate image, and determine the presence or absence of water droplets based on the generated non-illuminated water droplet candidate image.

さらに、上記構成の画像信号処理装置において、前記第二の水滴判定処理は、前記撮像部を含む監視空間に照明を当てて撮像された背景画像と、前記背景画像の撮像後に前記撮像部を含む監視空間に照明を当てて撮像された入力画像との差分をとり、背景画像より入力画像の輝度が高くなったプラスの差分画像を生成する照明差分画像生成処理と、前記入力画像におけるエッジ強度が所定の閾値以下であるという条件を満たす照明入力弱エッジ画像を生成する照明入力弱エッジ画像生成処理と、前記入力画像中のエッジ強度と前記背景画像中のエッジ強度とを比較し、前記入力画像中において前記背景画像中よりもエッジ強度が減少したという条件を満たす照明エッジ減画像を生成する照明エッジ減画像生成処理と、前記照明入力弱エッジ画像及び前記照明エッジ減画像の論理和により得られる画像と前記照明差分画像との論理積により、水滴が存在する可能性の高い照明水滴候補画像を生成する照明水滴候補画像生成処理と、を行い、前記照明水滴候補画像に基づいて水滴の有無を判定するのが好適である。   Furthermore, in the image signal processing device having the above configuration, the second water droplet determination process includes a background image captured by illuminating a monitoring space including the image capturing unit, and the image capturing unit after capturing the background image. The difference between the input image captured by illuminating the monitoring space and generating a positive difference image in which the brightness of the input image is higher than the background image, and the edge intensity in the input image A lighting input weak edge image generation process that generates a lighting input weak edge image that satisfies a condition that the threshold value is equal to or less than a predetermined threshold, and compares the edge strength in the input image with the edge strength in the background image, and the input image Illumination edge reduced image generation processing for generating an illumination edge reduced image that satisfies the condition that the edge intensity is reduced in the background image in the inside, and the illumination input weak edge image And an illumination water drop candidate image generation process for generating an illumination water drop candidate image with a high possibility of the presence of water droplets by a logical product of the image obtained by the logical sum of the illumination edge reduced images and the illumination difference image, It is preferable to determine the presence or absence of water droplets based on the illumination water droplet candidate image.

本発明によれば、昼間等の明るい状況で照明光を用いずに環境光を利用して撮像した場合と、夜間等の暗い状況で、照明部から照明光を当てて撮像した場合のいずれの撮像状況下における撮像画像であっても、水滴の検出処理の確度が向上する。従って、上記のいずれの撮像状況であっても、水滴付着を検出してレンズ部分等から除去する等の対処を早急に行うことができる。また、照明光を用いずに環境光のみを利用して撮像した場合にも、そのような撮像状況に適した水滴検出処理を用いることにより、不要な照明光の照射を防ぐことができるため、消費電力の面でも有利となる。   According to the present invention, either when the image is captured using ambient light without using illumination light in a bright situation such as daytime, or when the image is captured by applying illumination light from the illumination unit in a dark situation such as nighttime. Even in the captured image under the imaging condition, the accuracy of the water drop detection process is improved. Accordingly, in any of the above-described imaging situations, it is possible to quickly take measures such as detection of water droplet adhesion and removal from the lens portion or the like. In addition, even when imaging is performed using only ambient light without using illumination light, it is possible to prevent unnecessary illumination light irradiation by using a water droplet detection process suitable for such an imaging situation. This is also advantageous in terms of power consumption.

本発明の実施の形態における画像センシング装置100は、図1に示すように、撮像部10、照明部20、照明制御部30、侵入者検出部40と水滴検出部50と判定部60とを含む画像処理部70、及び出力部80を含み、以下に説明する処理を実行するためのプログラムを実行可能なコンピュータで構成することができる。尚、本実施形態では、検出対象物を「侵入者」としているが、これに限定されるものではない。従って、符号40の構成要素を侵入者検出部という名称としているが、検出対象物によって名称も変更し得るものであり、画像センシング装置100による所望の検出対象物を検出する処理を行う構成であれば良い。   As shown in FIG. 1, the image sensing device 100 according to the embodiment of the present invention includes an imaging unit 10, an illumination unit 20, an illumination control unit 30, an intruder detection unit 40, a water droplet detection unit 50, and a determination unit 60. The image processing unit 70 and the output unit 80 can be configured by a computer that can execute a program for executing processing described below. In the present embodiment, the detection target is “intruder”, but is not limited to this. Therefore, although the component 40 is named the intruder detection unit, the name can be changed depending on the detection target, and the image sensing device 100 performs a process of detecting a desired detection target. It ’s fine.

撮像部10は、監視空間を2次元画像データとして取得可能なCCD素子又はC−MOS素子等の光電変換素子を備えたカメラ、撮像された画像に対してアナログ/デジタル変換等の処理を行う処理部、及び、画像データを出力するインターフェース(図示せず)を含んで構成される。撮像部10は、所定の時間周期Ti(例えば、0.1秒)で監視空間の画像を撮像して画像データとして出力する。   The imaging unit 10 is a camera that includes a photoelectric conversion element such as a CCD element or a C-MOS element that can acquire the monitoring space as two-dimensional image data, and a process that performs processing such as analog / digital conversion on the captured image. And an interface (not shown) for outputting image data. The imaging unit 10 captures an image of the monitoring space at a predetermined time period Ti (for example, 0.1 second) and outputs it as image data.

照明部20は、例えば複数の発光ダイオード(LED)素子やランプ等が例えばマトリックス状に配列された構成となっている。この照明部20により、夜間等における監視空間を照射した状態で撮像部10により撮像した画像を取得することができる。尚、撮像部10と照明部20とは屋外向け防水性能を備えた筐体に収納されている。本発明では、その前面のガラスに付着した水滴を検出する。   The illumination unit 20 has a configuration in which, for example, a plurality of light emitting diode (LED) elements, lamps, and the like are arranged in a matrix, for example. The illumination unit 20 can acquire an image captured by the imaging unit 10 in a state where the monitoring space is irradiated at night or the like. In addition, the imaging part 10 and the illumination part 20 are accommodated in the housing | casing provided with the waterproof performance for outdoors. In the present invention, water droplets attached to the front glass are detected.

照明制御部30は、撮像部10による入力画像全体の平均輝度を算出し、所定値以下であれば、夜間の監視のように環境光による明るさだけでは監視困難であるとして、監視空間を照射させるよう照明部20を制御する。一方、入力画像全体の平均輝度が所定値以上であれば、昼間の監視のように自然光による明るさで十分監視可能であるとして、照明部20による照射を行わないように照明部20を制御する。また、例えば夜間における監視空間が街灯等で明るい場合には、街灯等による監視空間を撮像した入力画像全体の平均輝度に応じて、照明部20が制御される。また照明制御部30は、水滴検出部50(詳しくは、後述のプログラム選択部58)に、いずれの照明制御を行うか(照明の有無)を示す照明有無信号を出力する。   The illumination control unit 30 calculates the average luminance of the entire input image by the imaging unit 10, and irradiates the monitoring space, assuming that it is difficult to monitor only with the brightness due to the ambient light as in the case of nighttime monitoring if it is below a predetermined value. The illumination unit 20 is controlled so that On the other hand, if the average luminance of the entire input image is equal to or higher than a predetermined value, the illumination unit 20 is controlled so that the illumination unit 20 does not perform irradiation, assuming that the brightness by natural light can be sufficiently monitored as in daytime monitoring. . For example, when the monitoring space at night is bright with a streetlight or the like, the illumination unit 20 is controlled according to the average luminance of the entire input image obtained by imaging the monitoring space with the streetlight or the like. Further, the illumination control unit 30 outputs an illumination presence / absence signal indicating which illumination control is performed (whether illumination is present) to the water droplet detection unit 50 (specifically, a program selection unit 58 described later).

尚、照明有無を判断する条件としては、例えば撮像部10に内蔵された入力画像信号を増幅するAGC(Auto Gain Control)アンプにおいて、入力画像信号がAGCアンプによるゲイン調整可能なレンジを超えたら夜間とみなす(自然光による明るさだけでは監視困難とする)、画像信号のレベルが所定値以下なら夜間とみなす(自然光による明るさだけでは監視困難とする)、等の条件を設定しても良い。また本実施形態では、撮像部10による入力画像データを用いて監視空間の照度を判断しているが、照度センサを別途設け、この照度センサにより取得した照度に基づいて照明を当てるか否かを判断するようにしても良い。   As a condition for determining the presence or absence of illumination, for example, in an AGC (Auto Gain Control) amplifier that amplifies an input image signal built in the imaging unit 10, if the input image signal exceeds the range in which the gain can be adjusted by the AGC amplifier, it is nighttime. It is also possible to set such a condition that it is regarded as being difficult (monitoring is difficult only by the brightness due to natural light), or if the level of the image signal is equal to or less than a predetermined value, it is regarded as nighttime (it is difficult to monitor only due to the brightness due to natural light). In the present embodiment, the illuminance of the monitoring space is determined using the input image data from the imaging unit 10, but an illuminance sensor is provided separately, and whether or not illumination is applied based on the illuminance acquired by the illuminance sensor. You may make it judge.

侵入者検出部40は、従来と同様に、撮像部10から所定の時間周期Tiで入力画像データを取得し、最新の入力画像データとそれより過去に撮像された背景画像データとの差分からなる差分画像データに基づいて画像内の変動領域を抽出し、その変動領域に対応する入力画像データ中の領域の属性値が検出対象物(本実施形態では「侵入者」すなわち「人」)に特有の特徴を有する場合に、検出対象物が監視空間内に存在するものとして、監視空間内における「侵入者」の存在を検出する。例えば、変動領域に対応する入力画像データ中の領域の大きさ、縦横比、輝度情報等の「人らしさ」を表す属性値が所定の条件を満たす場合に侵入者が存在するものとして「侵入者」の存在を検出する。また、こうして得られた検出結果を示す信号を判定部60に出力する。   The intruder detection unit 40 obtains input image data from the imaging unit 10 at a predetermined time period Ti, as in the conventional case, and includes a difference between the latest input image data and background image data captured in the past. A fluctuation area in the image is extracted based on the difference image data, and the attribute value of the area in the input image data corresponding to the fluctuation area is specific to the detection target (in this embodiment, “intruder”, that is, “person”). The presence of an “intruder” in the monitoring space is detected assuming that the detection target exists in the monitoring space. For example, an intruder is considered to be present when an attribute value representing “humanity” such as the size, aspect ratio, and luminance information of the input image data corresponding to the variable region satisfies a predetermined condition. ”Is detected. In addition, a signal indicating the detection result thus obtained is output to the determination unit 60.

水滴検出部50は、侵入者検出部40と同様に、所定の時間周期Tiで入力画像データを取得する。水滴検出部50は、図2に示すように、背景画像更新部51、背景差分演算部52、エッジ抽出部53、水滴候補画像生成部54、フレーム間差分演算部55、水滴候補近傍画像処理部56、水滴判定部57、プログラム選択部58及び記憶部59を含んで構成される。記憶部59は、半導体メモリ、ハードディスク装置、光ディスク装置等から構成することができる。記憶部59は、背景差分画像を算出するために必要な背景画像データ、及び、後述の水滴候補画像の移動情報を算出するために必要な過去水滴候補画像データを格納及び保持する。尚、過去水滴候補画像データは、最も新しい入力画像の撮像時刻から所定の時間だけ前(例えば、1フレーム前)に撮像された画像データにおいて後述の如く抽出された水滴候補画像の画像データとされる。記憶部59以外の構成部における処理については後述する。   Similar to the intruder detection unit 40, the water droplet detection unit 50 acquires input image data at a predetermined time period Ti. As shown in FIG. 2, the water drop detection unit 50 includes a background image update unit 51, a background difference calculation unit 52, an edge extraction unit 53, a water drop candidate image generation unit 54, an interframe difference calculation unit 55, and a water drop candidate neighborhood image processing unit. 56, a water drop determination unit 57, a program selection unit 58, and a storage unit 59. The storage unit 59 can be composed of a semiconductor memory, a hard disk device, an optical disk device, or the like. The storage unit 59 stores and holds background image data necessary for calculating a background difference image and past water droplet candidate image data necessary for calculating movement information of a water droplet candidate image described later. The past water droplet candidate image data is image data of a water droplet candidate image extracted as described later in image data captured a predetermined time before the imaging time of the newest input image (for example, one frame before). The Processing in components other than the storage unit 59 will be described later.

水滴検出部50は、最新の入力画像データとそれより過去に撮像された背景画像データとの差分からなる差分画像データを生成する。そして、入力画像データ、背景画像データ及び差分画像データに後述の各種処理を行い、各種処理により得られた画像データに基づいて、入力画像が水滴に起因して生じた画像か否かを判定する。水滴に起因する画像であると判定した場合には、水滴の付着を検出した旨の信号を判定部60に出力する。   The water droplet detection unit 50 generates difference image data including a difference between the latest input image data and background image data captured in the past. The input image data, the background image data, and the difference image data are subjected to various processes described later, and based on the image data obtained by the various processes, it is determined whether or not the input image is an image caused by water droplets. . If it is determined that the image is caused by a water droplet, a signal indicating that the adhesion of the water droplet has been detected is output to the determination unit 60.

判定部60は、侵入者検出部40及び水滴検出部50において検出された結果に基づいて、監視空間に検出対象物が存在するか否か、撮像部10のレンズ部分等に水滴が付着しているか否か、について判定する。ここで得られた判定結果は出力部80に出力される。   Based on the results detected by the intruder detection unit 40 and the water droplet detection unit 50, the determination unit 60 determines whether or not a detection target exists in the monitoring space, and a water droplet adheres to the lens portion of the imaging unit 10. Whether or not it is determined. The determination result obtained here is output to the output unit 80.

以上、本実施形態では、侵入者検出部40、水滴検出部50及び判定部60を含めて画像センシング装置100における画像処理部70とする。   As described above, in the present embodiment, the image processing unit 70 in the image sensing device 100 includes the intruder detection unit 40, the water droplet detection unit 50, and the determination unit 60.

出力部80は、判定部60において監視空間に検出対象物が存在する、あるいは撮像部10のレンズ部分等に水滴が付着している、と判定された場合に装置外部へ警報信号等を出力するために用いられる。例えば、警報ランプや警報ブザーを含む警報装置としても良いし、遠方の監視室に警報信号を送信するためのネットワーク・インターフェースとすることも好適である。   The output unit 80 outputs an alarm signal or the like to the outside of the apparatus when the determination unit 60 determines that a detection target exists in the monitoring space or that water droplets are attached to the lens portion or the like of the imaging unit 10. Used for. For example, an alarm device including an alarm lamp and an alarm buzzer may be used, and a network interface for transmitting an alarm signal to a remote monitoring room is also preferable.

次に、本実施形態における画像センシング装置100で行われる画像データに対する処理について、図3を参照して説明する。   Next, processing for image data performed by the image sensing device 100 according to the present embodiment will be described with reference to FIG.

ステップS1では、最新の入力画像データが取得され、撮像部10において撮像された監視空間の最新の画像データが侵入者検出部40及び水滴検出部50へ入力される。このとき、入力画像データに基づいて照明制御部30による照明部20の制御が行われており、昼間等あるいは街灯等による明るい状況下での監視のように環境光による明るさで十分監視可能である場合には、環境光を利用して撮像された画像が、最新の入力画像データとして取得される。一方、夜間等のように環境光による明るさだけでは監視困難な場合には、照明部20により監視空間を照射した状態で撮像された画像が、最新の入力画像データとして取得される。   In step S <b> 1, the latest input image data is acquired, and the latest image data of the monitoring space captured by the imaging unit 10 is input to the intruder detection unit 40 and the water droplet detection unit 50. At this time, the illumination unit 20 is controlled by the illumination control unit 30 based on the input image data, and can be sufficiently monitored by the brightness of the ambient light, such as monitoring in bright conditions such as daytime or street lights. In some cases, an image captured using ambient light is acquired as the latest input image data. On the other hand, when it is difficult to monitor only with the brightness of ambient light, such as at night, an image captured in a state where the illumination space 20 illuminates the monitoring space is acquired as the latest input image data.

ステップS2では、侵入者検出部40により、監視空間内における「侵入者」の存在を検出する。侵入者検出部40では、最新の入力画像データとそれより過去に撮像された背景画像データとの差分からなる差分画像データに基づいて画像内の変動領域を抽出する。そして、その変動領域に対応する入力画像データ中の領域の属性値が「侵入者」すなわち「人」に特有の特徴を有する場合、例えば、変動領域に対応する入力画像データ中の領域の大きさ、縦横比、輝度情報等の「人らしさ」を表す属性値が所定の条件を満たす場合に、「侵入者」が監視空間内に存在するものとして、監視空間内における「侵入者」の存在を検出する。そして侵入者検出部40は、こうして得られた検出結果を示す信号を判定部60に出力する(ステップS3)。   In step S <b> 2, the intruder detection unit 40 detects the presence of “intruder” in the monitoring space. The intruder detection unit 40 extracts a fluctuation region in the image based on difference image data that is a difference between the latest input image data and background image data captured in the past. If the attribute value of the area in the input image data corresponding to the variable area has a characteristic characteristic of “intruder”, that is, “person”, for example, the size of the area in the input image data corresponding to the variable area If the attribute value indicating “humanity” such as aspect ratio and luminance information satisfies a predetermined condition, it is assumed that the “intruder” exists in the monitoring space and the presence of the “intruder” in the monitoring space. To detect. And the intruder detection part 40 outputs the signal which shows the detection result obtained in this way to the determination part 60 (step S3).

ステップS4では、水滴検出部50により、撮像部10の前面への水滴の付着を検出する。水滴検出部50により行われる水滴付着検出処理について、図4を参照して説明する。尚、以下の画像信号処理はプログラム選択部58内の記憶装置(図示せず)等に予め格納されている画像信号処理プログラムを実行することによって実現することができる。   In step S <b> 4, the water droplet detection unit 50 detects the adhesion of water droplets to the front surface of the imaging unit 10. The water droplet adhesion detection process performed by the water droplet detection unit 50 will be described with reference to FIG. The following image signal processing can be realized by executing an image signal processing program stored in advance in a storage device (not shown) or the like in the program selection unit 58.

画像信号処理プログラムには、例えば昼間等の明るい状況下で環境光を利用して撮像された撮像画像を処理して水滴検出処理を行うための明監視空間用プログラムと、夜間等に照明部20から照明光を当てて撮像された撮像画像を処理して水滴検出処理を行うための暗監視空間用プログラムとがある。そして、以下の処理が行われる前に、照明制御部30からの信号に基づき、プログラム選択部58が、撮像状況に適した画像信号処理プログラムを選択し、選択された画像信号処理プログラムに基づいて各構成部が実行することによって、以下の処理は実現される。すなわち、特に断らない限り、処理の名称が同じでも照明光を用いずに環境光を用いて撮像された撮像画像を対象とする処理と、照明光を当てて撮像された撮像画像を対象とする処理とがある。   The image signal processing program includes, for example, a bright monitoring space program for processing a captured image captured using ambient light in a bright condition such as daytime and performing water droplet detection processing, and the illumination unit 20 at night or the like. There is a dark monitoring space program for processing a picked-up image picked up by illuminating light and performing water droplet detection processing. Then, before the following processing is performed, based on the signal from the illumination control unit 30, the program selection unit 58 selects an image signal processing program suitable for the imaging situation, and based on the selected image signal processing program. The following processing is realized by executing each component. In other words, unless otherwise specified, processing is performed on a captured image captured using ambient light without using illumination light even if the process name is the same, and captured image captured using illumination light is processed. There is processing.

ステップS4−1では、最新の入力画像データと背景画像データとに基づいて背景差分データが生成される。背景差分演算部52は、記憶部59から背景画像データを読み出し、撮像部10で取得された最新の入力画像データと背景画像データとの差分を算出することによって背景差分データを生成する。具体的には、最新の入力画像データに含まれる各画素を順に着目画素として、その画素の輝度値からその画素に対応する背景画像データの画素の輝度値を引くことによって、着目画素に対する差分データを算出する。例えば、この差分データが所定の閾値以上の値であれば着目画素に対応する背景差分データの画素の画素値を“1”とし、差分データが所定の閾値より小さければ着目画素に対応する背景差分データの画素の画素値を“0”として2値化された背景差分データを生成する。すなわち、入力画像データと背景画像データとにおいて閾値以上の変動があった画像領域の画素値は“1”となり、変動がなかった画像領域の画素値は“0”となる。尚、背景差分データに含まれる画素値“1”を有する画素のうち連続する画素群で構成される領域は、一つの変動領域を形成することとなる。   In step S4-1, background difference data is generated based on the latest input image data and background image data. The background difference calculation unit 52 reads the background image data from the storage unit 59 and generates background difference data by calculating the difference between the latest input image data acquired by the imaging unit 10 and the background image data. Specifically, each pixel included in the latest input image data is set as the target pixel in order, and the difference data for the target pixel is obtained by subtracting the luminance value of the pixel of the background image data corresponding to the pixel from the luminance value of the pixel. Is calculated. For example, if the difference data is a value greater than or equal to a predetermined threshold, the pixel value of the background difference data corresponding to the pixel of interest is set to “1”, and if the difference data is smaller than the predetermined threshold, the background difference corresponding to the pixel of interest The binarized background difference data is generated by setting the pixel value of the data pixel to “0”. That is, the pixel value of the image area where the input image data and the background image data fluctuated by more than the threshold value is “1”, and the pixel value of the image area where there was no fluctuation is “0”. It should be noted that an area constituted by a continuous pixel group among pixels having the pixel value “1” included in the background difference data forms one variable area.

ここで、ステップS4−1での処理において、さらに輝度値の閾値TH1(例えば輝度情報を256階調で設定した場合、200程度)を設定しておき、この閾値TH1を用いて同様の2値化処理も行う。これにより、上記の2値化処理により得られた入力画像データにおける水滴に起因して生じた画像領域(水滴画像領域)について、この水滴画像領域内で特に閾値TH1以上である入力高輝度領域と、閾値TH1未満である他の領域(入力非高輝度領域)とを別個のものとして差分処理も行われ、入力高輝度領域についての入力高輝度差分データと入力非高輝度領域についての入力非高輝度差分データとが生成される。これは、昼間等の明るい場合に環境光を利用して撮像された場合、環境光を利用して撮像された画像中の水滴画像領域は、明るい領域(入力高輝度領域に相当)と暗い領域(入力非高輝度領域に相当)とに分かれる特徴があり、以後の処理において両者を個別に処理するのが望ましいためである。一方、夜間等に照明部20から照明光を当てて撮像した場合には、水滴はほぼ全域が明るくなるため、水滴画像領域は入力高輝度領域となる。従って、以下の説明において、入力高輝度領域の処理は、昼間等に環境光を利用して撮像した場合における入力高輝度領域及び夜間等に照明光を当てて撮像した場合における水滴画像領域の双方に対する処理を示すものとする。尚、閾値TH1が本発明の差分画像生成処理における所定の輝度値の一例に相当する。   Here, in the processing in step S4-1, a threshold value TH1 of the luminance value (for example, about 200 when the luminance information is set in 256 gradations) is set, and similar binary values are set using this threshold value TH1. The process is also performed. Thereby, with respect to an image region (water droplet image region) generated due to water droplets in the input image data obtained by the above binarization processing, an input high-intensity region that is particularly greater than or equal to the threshold TH1 in the water droplet image region. Difference processing is also carried out separately from other regions (input non-high luminance regions) that are less than the threshold TH1, and input high luminance difference data for the input high luminance regions and input non-high for the input non-high luminance regions. Brightness difference data is generated. This is because when the image is captured using ambient light when it is bright such as in the daytime, the water droplet image region in the image captured using ambient light is a bright region (corresponding to the input high luminance region) and a dark region. This is because it is desirable to process both of them separately in the subsequent processing. On the other hand, when imaging is performed by illuminating the illumination light from the illumination unit 20 at night or the like, the entire area of the water droplet is brightened, and thus the water droplet image region is an input high luminance region. Therefore, in the following description, the processing of the input high-brightness area includes both the input high-brightness area when imaged using ambient light during daytime and the like, and the water droplet image area when imaged by illuminating illumination light during nighttime and the like. The processing for The threshold value TH1 corresponds to an example of a predetermined luminance value in the difference image generation process of the present invention.

また、水滴画像領域とみなせる最低限の輝度として閾値TH2(例えば輝度情報を256階調で設定した場合、80〜160程度)を設定しておき、入力画像データに対して閾値TH2以上の輝度値の画素を抽出し、抽出した画素に対してのみ上記の2値化処理の画素値を“1”としても良い。これによれば、あまりにも低い輝度の画像領域は水滴に起因した画像領域ではない可能性が高いため、このような画像領域を水滴付着検出処理の処理対象外とすることができる。こうして生成された各差分データは水滴候補画像生成部54に渡される。   In addition, a threshold value TH2 (for example, about 80 to 160 when the luminance information is set in 256 gradations) is set as the minimum luminance that can be regarded as a water droplet image region, and the luminance value equal to or higher than the threshold value TH2 with respect to the input image data. This pixel may be extracted, and the pixel value of the above binarization process may be set to “1” only for the extracted pixel. According to this, there is a high possibility that an image region with too low luminance is not an image region caused by water droplets, and thus such an image region can be excluded from the processing target of the water droplet adhesion detection process. Each difference data generated in this way is passed to the water droplet candidate image generation unit 54.

ステップS4−2では、最新の入力画像データ及び背景画像データのそれぞれについて、画像中のエッジ強度が算出され、エッジ処理が行われる。この処理は、水滴がレンズ部分等に付着すると、水滴を撮像した画像領域はレンズ効果によりぼやけた状態で画像データ中に映り込み、エッジの変化が顕著となるという特徴を利用したものである。エッジ抽出部53は、撮像部10で取得された最新の入力画像データと、記憶部59内の背景画像データとについて、それぞれの画像中のエッジ強度を、既存の算出方法を用いて算出する。例えば、X方向(画像の上下方向)のエッジ強度とY方向(画像の左右方向)のエッジ強度をそれぞれ算出し、得られた各エッジ強度の絶対値を加算することでエッジ強度を算出する。   In step S4-2, the edge strength in the image is calculated for each of the latest input image data and background image data, and edge processing is performed. This process utilizes the feature that when a water droplet adheres to a lens portion or the like, an image area in which the water droplet is imaged is reflected in the image data in a blurred state due to the lens effect, and the change of the edge becomes remarkable. The edge extraction unit 53 calculates the edge strength in each image of the latest input image data acquired by the imaging unit 10 and the background image data in the storage unit 59 using an existing calculation method. For example, the edge strength is calculated by calculating the edge strength in the X direction (vertical direction of the image) and the edge strength in the Y direction (horizontal direction of the image), and adding the absolute values of the obtained edge strengths.

エッジ抽出部53は、最新の入力画像データ及び背景画像データについて上記処理を行い、これにより得られた入力エッジ画像データ及び背景エッジ画像データを用いて、次の各画像データを生成する。まず、入力エッジ画像中でエッジ強度が所定の閾値TH3(例えば輝度情報を256階調で設定した場合、2〜3程度)以下であるという条件を満たす画像のデータ(入力弱エッジ画像データ)を生成する。これは、ぼやけて映る水滴画像領域の内部ではエッジ強度が弱いという特徴を水滴検出に利用するためのものである。尚、閾値TH3が本発明の入力弱エッジ画像生成処理における所定の閾値の一例に相当する。   The edge extraction unit 53 performs the above processing on the latest input image data and background image data, and generates the following image data using the input edge image data and background edge image data obtained thereby. First, image data (input weak edge image data) that satisfies the condition that the edge intensity is equal to or less than a predetermined threshold TH3 (for example, about 2 to 3 when luminance information is set in 256 gradations) in the input edge image. Generate. This is for using the feature that the edge intensity is weak inside the waterdrop image area that appears blurred for waterdrop detection. The threshold TH3 corresponds to an example of a predetermined threshold in the input weak edge image generation process of the present invention.

また、入力エッジ画像中でエッジ強度が所定の閾値TH4(例えば輝度情報を256階調で設定した場合、20程度)以上であるという条件を満たす画像のデータ(入力強エッジ画像データ)を生成する。これは、入力高輝度領域はほぼ全域が明るくなるため、これら入力高輝度領域の内部ではエッジ強度が強くない一方で、これら入力高輝度領域の周辺近傍ではエッジ強度が強いという特徴を水滴検出に利用するためのものである。   Also, image data (input strong edge image data) that satisfies the condition that the edge strength is equal to or higher than a predetermined threshold TH4 (for example, about 20 when luminance information is set with 256 gradations) in the input edge image is generated. . This is because the entire area of the input high-brightness area becomes brighter, so the edge strength is not strong inside these input high-brightness areas, but the edge strength is strong near the periphery of these input high-brightness areas. It is for use.

さらに、入力エッジ画像中ではエッジ強度が上記所定の閾値TH4以上であり且つ背景エッジ画像中ではエッジ強度が所定の閾値TH5(例えば輝度情報を256階調で設定した場合、20程度)以下であるという条件を満たす画像のデータ(差分強エッジ画像データ)を生成する。差分強エッジ画像の生成手順としては、まず背景エッジ画像中でエッジ強度が前記TH5より大きい所定の閾値TH6(例えば輝度情報を256階調で設定した場合、20程度)以上であるという条件を満たす画像のデータ(背景強エッジ画像データ)を生成する。次に、上記の入力強エッジ画像データと背景強エッジ画像データとで差分をとることで差分強エッジ画像データを生成する。これは、水滴画像領域の内部では強いエッジが新たに出現しないという特徴や、入力高輝度領域はほぼ全域が明るいため、これらの領域の周辺部分では光の屈折の関係で強エッジが形成されやすい、すなわち入力高輝度領域の周辺部分に相当する領域では、背景エッジ画像中には存在せず入力エッジ画像中に新たに出現する強エッジが多いという特徴を、水滴検出に利用するためのものである。   Further, the edge strength in the input edge image is equal to or higher than the predetermined threshold value TH4, and in the background edge image, the edge strength is equal to or lower than the predetermined threshold value TH5 (for example, about 20 when luminance information is set with 256 gradations). Image data (difference strong edge image data) that satisfies the following condition is generated. As a procedure for generating a differential strong edge image, first, the condition that the edge intensity in the background edge image is greater than or equal to a predetermined threshold TH6 (for example, about 20 when luminance information is set in 256 gradations) is greater than TH5. Image data (background strong edge image data) is generated. Next, difference strong edge image data is generated by taking a difference between the input strong edge image data and the background strong edge image data. This is because a strong edge does not newly appear inside the water drop image area, and the input high-brightness area is almost entirely bright, so a strong edge is likely to be formed in the peripheral part of these areas due to light refraction. In other words, in the area corresponding to the peripheral part of the input high-brightness area, the feature that there are many strong edges that do not exist in the background edge image but appear newly in the input edge image is used for water droplet detection. is there.

以上のようにしてエッジ抽出部53で生成された各エッジ画像データは、水滴候補画像生成部54に渡される。   Each edge image data generated by the edge extraction unit 53 as described above is passed to the water droplet candidate image generation unit 54.

ステップS4−3では、エッジ抽出部53で抽出された入力エッジ画像データと背景エッジ画像データの対応する画素のエッジ強度を比較し、両エッジ画像間でのエッジ強度の変化を示す画像が生成される。水滴候補画像生成部54は、入力エッジ画像データと背景エッジ画像データとの差分エッジ画像データを生成し、これに基づいて、以下の各画像データを生成する。   In step S4-3, the input edge image data extracted by the edge extraction unit 53 is compared with the edge intensity of the corresponding pixels in the background edge image data, and an image indicating a change in edge intensity between the two edge images is generated. The The water droplet candidate image generation unit 54 generates difference edge image data between the input edge image data and the background edge image data, and generates the following image data based on the difference edge image data.

まず、背景エッジ画像よりも入力エッジ画像のエッジ強度が所定値TH7(例えば輝度情報を256階調で設定した場合、2〜3程度)以上低いという条件を満たす画像のデータ(エッジ減画像データ)を差分エッジ画像から生成する。これは、ぼやけて映る水滴画像領域の内部では、背景画像における水滴画像領域と対応する画像領域と比べ、エッジ強度が減少するという特徴を水滴検出に利用するためのものである。   First, image data (edge-reduced image data) that satisfies the condition that the edge strength of the input edge image is lower than a background edge image by a predetermined value TH7 (for example, about 2 to 3 when luminance information is set in 256 gradations) or more. Is generated from the difference edge image. This is for using the feature that the edge intensity is reduced in the water droplet detection in the water droplet image region that appears blurred compared to the image region corresponding to the water droplet image region in the background image.

また、背景エッジ画像よりも入力エッジ画像のエッジ強度が所定値TH8(例えば輝度情報を256階調で設定した場合、2〜3程度)以上高いという条件を満たす画像のデータ(エッジ増画像データ)を差分エッジ画像から生成する。これは、ぼやけて映る水滴画像領域の周辺近傍では、背景画像において水滴画像領域の周辺近傍と対応する画像領域と比べ、エッジ強度が増加するという特徴を水滴検出に利用するためのものである。入力画像中の水滴画像領域におけるエッジ強度は背景画像における水滴画像領域と対応する画像領域よりも弱まると考えられることから、逆に強まった場合にはエッジ増領域を水滴候補画像の生成の際に除外することが効果的である。   Also, image data (edge-enhanced image data) that satisfies the condition that the edge strength of the input edge image is higher than a background edge image by a predetermined value TH8 (for example, about 2 to 3 when luminance information is set in 256 gradations) or more. Is generated from the difference edge image. This is for using the feature that the edge strength increases in the vicinity of the periphery of the water drop image area that appears blurred in comparison with the image area corresponding to the vicinity of the periphery of the water drop image area in the background image for water drop detection. Since the edge strength in the water drop image area in the input image is considered to be weaker than the image area corresponding to the water drop image area in the background image, the edge increase area is used when generating the water drop candidate image. It is effective to exclude.

ここで、例えば背景画像として白い壁を映していた場合に光の関係で水滴が黒く映る場合、水滴画像領域の内部では、背景画像における水滴画像領域と対応する画像領域と比べ、エッジ強度が増加する。しかし、上記のエッジ増画像の定義に従えば、このような水滴画像領域に起因したエッジ増画像は水滴候補画像の生成の際に除外されてしまうこととなり、望ましくない。そこで、このような場合に対応するため、水滴画像領域の内部では、背景画像における水滴画像領域と対応する画像領域と比べ、エッジ強度がある程度以上は増加しないであろう閾値TH9(例えば輝度情報を256階調で設定した場合、20程度)を新たに設定し、エッジ強度増加量が閾値TH9以上という条件を満たす画像のデータ(エッジ大幅増画像データ)を差分エッジ画像から生成することとした。エッジ大幅増画像は、背景エッジ画像よりも入力エッジ画像のエッジ強度が所定の閾値TH9以上高い(ここでTH9≧TH8)という条件を満たすものである。そして、このエッジ大幅増画像を水滴候補画像の生成の際に除外することとした。   Here, for example, when a white wall is projected as a background image and the water droplet appears black due to light, the edge strength is increased inside the water droplet image region compared to the image region corresponding to the water droplet image region in the background image. To do. However, according to the definition of the edge-enhanced image, the edge-enhanced image resulting from such a water-drop image region is excluded when generating the water-drop candidate image, which is not desirable. Therefore, in order to cope with such a case, the threshold TH9 (for example, luminance information is set) in which the edge strength is not increased more than a certain amount in the water drop image area as compared with the image area corresponding to the water drop image area in the background image. When setting with 256 gradations, about 20) is newly set, and image data (edge greatly increased image data) that satisfies the condition that the edge strength increase amount is equal to or greater than the threshold TH9 is generated from the difference edge image. The edge greatly increased image satisfies the condition that the edge strength of the input edge image is higher than the background edge image by a predetermined threshold TH9 or more (here, TH9 ≧ TH8). The edge greatly increased image is excluded when the water droplet candidate image is generated.

ステップS4−4では、入力画像が撮像部10への水滴の付着により生じた可能性のある画像か否かを判定するための水滴候補画像が生成される。水滴候補画像生成部54は、背景差分演算部52から取得した背景差分データ、入力高輝度差分データ及び入力非高輝度差分データ、エッジ抽出部53から取得した各エッジ画像データ、及び水滴候補画像生成部54で生成した各画像データを用いて、水滴候補画像を生成する。   In step S <b> 4-4, a water droplet candidate image for determining whether or not the input image is an image that may have occurred due to the attachment of water droplets to the imaging unit 10 is generated. The water droplet candidate image generation unit 54 generates background difference data acquired from the background difference calculation unit 52, input high luminance difference data and input non-high luminance difference data, each edge image data acquired from the edge extraction unit 53, and water droplet candidate image generation. A water droplet candidate image is generated using each image data generated by the unit 54.

ここで、昼間等の明るい監視空間に対して環境光を利用して撮像した場合、水滴画像領域には、ステップS4−1の処理で形成された入力高輝度領域と入力非高輝度領域とが含まれる。そこで、以後の処理を入力高輝度領域と入力非高輝度領域とで別個に処理する必要があるため、水滴画像領域についての水滴候補画像(全水滴候補画像)の他に、入力高輝度領域についての水滴候補画像(高輝度水滴候補画像)と入力非高輝度領域についての水滴候補画像(非高輝度水滴候補画像)とをそれぞれ生成する。   Here, when an image is captured using ambient light in a bright monitoring space such as daytime, the water drop image area includes the input high-brightness area and the input non-high-brightness area formed in the process of step S4-1. included. Therefore, since the subsequent processing needs to be processed separately for the input high-brightness area and the input non-high-brightness area, in addition to the waterdrop candidate image (all waterdrop candidate images) for the waterdrop image area, Water droplet candidate images (high luminance water droplet candidate images) and water droplet candidate images (non-high luminance water droplet candidate images) for the input non-high luminance region are respectively generated.

全水滴候補画像は、次のような特徴を有する画像である。特徴1は、背景輝度差分がある程度以上であり且つ入力画像においてある程度以上の輝度を持つ画像(ステップS4−1で得られた背景差分データ)である。特徴2は、エッジ強度が弱い画像(ステップS4−2で得られた入力弱エッジ画像)又はエッジ強度が減った画像(ステップS4−3で得られたエッジ減画像)である。特徴3は、強いエッジが背景画像には無いが入力画像にはある画像(ステップS4−2で得られた差分強エッジ画像)ではなく、エッジ強度が大幅に増えもしていない画像(ステップS4−3で得られたエッジ大幅増画像)である。   The all water droplet candidate images are images having the following characteristics. A feature 1 is an image (background difference data obtained in step S4-1) having a background luminance difference of a certain level or more and having a luminance of a certain level or more in the input image. Feature 2 is an image with weak edge strength (input weak edge image obtained in step S4-2) or an image with reduced edge strength (edge reduced image obtained in step S4-3). The feature 3 is not an image in which there is no strong edge in the background image but in the input image (difference strong edge image obtained in step S4-2), and an image in which the edge strength has not increased significantly (step S4-). 3). The edge greatly increased image obtained in step 3).

高輝度水滴候補画像は、次のような特徴を有する画像である。特徴1は、背景輝度差分がある程度以上であり且つ入力高輝度領域の特徴を満たす画像(ステップS4−1で得られた入力高輝度差分データ)である。特徴2は、エッジ強度が弱い画像(ステップS4−2で得られた入力弱エッジ画像)又はエッジ強度が減った画像(ステップS4−3で得られたエッジ減画像)である。特徴3は、強いエッジが背景画像には無いが入力画像にはある画像(ステップS4−2で得られた差分強エッジ画像)ではなく、エッジ強度が大幅に増えもしていない画像(ステップS4−3で得られたエッジ大幅増画像)である。   The high brightness water droplet candidate image is an image having the following characteristics. The feature 1 is an image (the input high luminance difference data obtained in step S4-1) that has a background luminance difference of a certain level or more and satisfies the features of the input high luminance region. Feature 2 is an image with weak edge strength (input weak edge image obtained in step S4-2) or an image with reduced edge strength (edge reduced image obtained in step S4-3). The feature 3 is not an image in which there is no strong edge in the background image but in the input image (difference strong edge image obtained in step S4-2), and an image in which the edge strength has not increased significantly (step S4-). 3). The edge greatly increased image obtained in step 3).

非高輝度水滴候補画像は、次のような特徴を有する画像である。特徴1は、背景輝度差分がある程度以上であり且つ入力非高輝度領域の特徴を満たす画像(ステップS4−1で得られた入力非高輝度差分データ)である。特徴2及び特徴3は、高輝度水滴候補画像と同一である。   The non-high brightness water droplet candidate image is an image having the following characteristics. The feature 1 is an image (the input non-high luminance difference data obtained in step S4-1) that has a background luminance difference of a certain level or more and satisfies the features of the input non-high luminance region. Feature 2 and feature 3 are the same as the high brightness water droplet candidate image.

一方、夜間等の暗い監視空間に対して照明部20により照明を当てて撮像した場合における水滴候補画像は、次のような特徴を有する画像である。特徴1は、背景輝度差分がプラスであり且つ入力画像においてある程度以上の輝度を持つ画像(ステップS4−1で得られた背景差分データ)である。特徴2は、エッジ強度が弱い画像(ステップS4−2で得られた入力弱エッジ画像)又はエッジ強度が減った画像(ステップS4−3で得られたエッジ減画像)である。特徴3は、強いエッジが背景画像には無いが入力画像にはある画像(ステップS4−2で得られた差分強エッジ画像)ではなく、エッジ強度が大幅に増えもしていない画像(ステップS4−3で得られたエッジ大幅増画像)である。そこで、水滴候補画像生成部54は、背景差分データ、入力弱エッジ画像データ、エッジ減画像データ、差分強エッジ画像データ及びエッジ大幅増画像データを用いて、上記特徴を満たす画像を水滴候補画像として生成する。   On the other hand, a water droplet candidate image in the case where an image is taken by illuminating a dark monitoring space such as at night with the illumination unit 20 is an image having the following characteristics. The feature 1 is an image (background difference data obtained in step S4-1) having a positive background luminance difference and having a luminance of a certain level or more in the input image. Feature 2 is an image with weak edge strength (input weak edge image obtained in step S4-2) or an image with reduced edge strength (edge reduced image obtained in step S4-3). The feature 3 is not an image in which there is no strong edge in the background image but in the input image (difference strong edge image obtained in step S4-2), and an image in which the edge strength has not increased significantly (step S4-). 3). The edge greatly increased image obtained in step 3). Therefore, the water droplet candidate image generation unit 54 uses the background difference data, the input weak edge image data, the edge reduced image data, the difference strong edge image data, and the edge greatly increased image data, as the water droplet candidate image. Generate.

尚、以後の説明中、単に水滴候補画像と述べている場合には、特にことわりのない限り、明るい撮像状況の場合の全水滴候補画像、高輝度水滴候補画像及び非高輝度水滴候補画像と、暗い撮像状況の場合の水滴候補画像とを全て含むものとする。   In the following description, if it is simply referred to as a water droplet candidate image, unless otherwise specified, all water droplet candidate images in a bright imaging situation, high-intensity water droplet candidate images, and non-high-intensity water droplet candidate images, It is assumed that all the water drop candidate images in the case of a dark imaging situation are included.

ここで、水滴候補画像を生成する際に考慮する特徴として、水滴候補画像につきそれぞれ上記の特徴1〜3を挙げているが、少なくとも特徴1及び特徴2を満たしている画像については、水滴候補画像として生成可能である。特徴1及び特徴2のみならず特徴3をも満たす画像を生成することで、より精度の高い水滴候補画像の生成が可能となる。   Here, as the features to be considered when generating the water droplet candidate image, the above-described features 1 to 3 are listed for each water droplet candidate image, but for images satisfying at least the features 1 and 2, the water droplet candidate image Can be generated. By generating an image satisfying not only the feature 1 and the feature 2 but also the feature 3, it is possible to generate a water droplet candidate image with higher accuracy.

以上のようにして水滴候補画像が生成されると、水滴判定部57は、この水滴候補画像に基づいて水滴が存在するか否かを判定する。例えば、上記各特徴を満たした画素あるいは画素群から構成される領域が水滴候補画像内に存在している場合には、水滴が存在すると判定し、そのような画素あるいは領域が水滴候補画像内に存在しない場合には、水滴が存在しないと判定する。水滴判定部57は、水滴が存在すると判定した場合には水滴を検出した旨の信号を、水滴が存在しないと判定した場合には水滴を検出しない旨の信号を、それぞれ判定部60に出力する。しかし、以下に説明するステップS4−5以降の処理を行うことによって、より水滴検出の検出確度を高めることができる。   When the water droplet candidate image is generated as described above, the water droplet determination unit 57 determines whether or not a water droplet exists based on the water droplet candidate image. For example, when a region composed of pixels or pixel groups satisfying the above features is present in the water droplet candidate image, it is determined that there is a water droplet, and such a pixel or region is present in the water droplet candidate image. If it does not exist, it is determined that there is no water droplet. The water droplet determination unit 57 outputs a signal indicating that a water droplet has been detected to the determination unit 60 when it is determined that a water droplet is present, and a signal indicating that no water droplet is detected when it is determined that no water droplet is present. . However, the detection accuracy of water droplet detection can be further increased by performing the processing after step S4-5 described below.

ステップS4−5では、水滴候補画像生成部54により生成された水滴候補画像において、水滴候補画像の各特徴を満たした画素あるいは画素群から構成される領域の近傍(外周部分)の一定範囲が、当該画素あるいは領域の周辺領域として特定される。水滴候補近傍画像処理部56は、その周辺領域を示す画像を水滴候補近傍画像として生成する。これは、水滴画像領域の内部ではレンズ効果により背景画像の対応する部分よりもエッジ強度が弱くなる傾向にあるのに対して、その周辺部分では逆に屈折の関係で背景画像よりもエッジ強度が増加する傾向にある、さらには明るく映る水滴の周辺には強いエッジが出やすい、という現象を捉えるためのものである。水滴候補近傍画像は、水滴候補画像の各特徴を満たした画素あるいは画素群から構成される領域について、これら画素あるいは領域を所定の画素数分(例えば4画素)膨張させた部分の内、当該画素あるいは領域に含まれない部分を当該画素あるいは領域の周辺領域として示すものである。   In step S4-5, in the water droplet candidate image generated by the water droplet candidate image generation unit 54, a certain range in the vicinity (peripheral portion) of the region composed of pixels or pixel groups satisfying the characteristics of the water droplet candidate image is It is specified as the peripheral region of the pixel or region. The water drop candidate vicinity image processing unit 56 generates an image indicating the peripheral area as a water drop candidate vicinity image. This is because the edge intensity tends to be weaker than the corresponding part of the background image due to the lens effect inside the water drop image area, whereas the edge intensity is higher than the background image due to refraction in the peripheral part. It is intended to capture the phenomenon of strong edges that tend to increase, and that a strong edge is likely to appear around brightly reflected water droplets. The water droplet candidate vicinity image is a pixel in a region formed by expanding a predetermined number of pixels (for example, 4 pixels) of a region composed of pixels or pixel groups satisfying each feature of the water droplet candidate image. Alternatively, a portion not included in the region is shown as the peripheral region of the pixel or region.

ステップS4−6では、水滴候補近傍画像処理部56が、水滴候補近傍画像に含まれる強いエッジに関する画像を生成する。まず、ステップS4−2で取得した強いエッジ画像と水滴候補近傍画像との論理積により得られる画像のデータ(近傍強エッジ画像データ)を生成する。この論理積処理には、強いエッジ画像として差分強エッジ画像を用いる。これは、明るく映る場合には、その周辺部分では背景と比べて強いエッジが新たに現れやすいと想定できるためである。一方、明るく映らない場合には、逆に背景と比べて強いエッジが現れにくいと想定できるためである。尚、昼間等に環境光を利用して撮像された場合における非高輝度水滴候補画像に対しては、上記の論理積処理に用いられる強いエッジ画像として入力強エッジ画像を用いても良いが、上述の如く差分強エッジ画像を用いるのが好ましい。次に、ステップS4−3で取得したエッジ増画像と水滴候補近傍画像との論理積により得られる画像のデータ(近傍エッジ増画像データ)を生成する。   In step S4-6, the water drop candidate vicinity image processing unit 56 generates an image related to a strong edge included in the water drop candidate vicinity image. First, image data (neighboring strong edge image data) obtained by the logical product of the strong edge image acquired in step S4-2 and the water droplet candidate neighboring image is generated. In this logical product process, a differential strong edge image is used as a strong edge image. This is because it can be assumed that a bright edge is likely to appear newly in the peripheral portion when compared with the background when it appears bright. On the other hand, if the image is not bright, it can be assumed that a strong edge is unlikely to appear compared to the background. In addition, for a non-high brightness water droplet candidate image when imaged using ambient light in the daytime or the like, an input strong edge image may be used as a strong edge image used in the above logical product processing. As described above, it is preferable to use the differential strong edge image. Next, image data (neighboring edge augmented image data) obtained by the logical product of the edge augmented image acquired in step S4-3 and the water droplet candidate nearby image is generated.

以上の2種類の画像データは、次のような目的で利用する。まず、昼間等に照明光を用いずに環境光を利用して撮像された場合には、特に水滴画像領域における入力高輝度領域及び入力非高輝度領域の以下の特徴を捉えるために利用するものである。まず、入力高輝度領域及び入力非高輝度領域の周辺領域では、いずれも背景に比べてエッジが増えるという特徴がある。また、入力高輝度領域の周辺領域では、エッジ強度が強いという特徴があり、入力非高輝度領域の周辺領域では、エッジ強度が強くないという特徴がある。従って、近傍強エッジ画像データ及び近傍エッジ増画像データを用いることで、上記の周辺領域におけるエッジの特徴を満たさない画像を、水滴候補画像から除外することができる。   The above two types of image data are used for the following purposes. First, when captured using ambient light without using illumination light, such as in the daytime, it is used to capture the following characteristics of the input high-brightness area and input non-high-brightness area in the water drop image area. It is. First, each of the peripheral areas of the input high-brightness area and the input non-high-brightness area has a feature that edges are increased compared to the background. Further, there is a feature that edge strength is strong in the peripheral region of the input high brightness region, and edge strength is not strong in the peripheral region of the input non-high brightness region. Therefore, by using the neighborhood strong edge image data and the neighborhood edge augmented image data, an image that does not satisfy the edge feature in the peripheral region can be excluded from the water droplet candidate images.

また、以上の2種類の画像データは、水滴候補画像が実は水滴ではない他の原因によるものである可能性があるため、その区別をするためにも利用するものである。他の原因としては、昼間等の明るい状況に関して言えば、例えば監視空間に存在する移動物体があり、夜間等の暗い状況に関して言えば、それに加えて、例えば監視空間に懐中電灯の光や自動車のヘッドライトが差し込んで作り出された明るい光の領域などがある。   The above two types of image data are also used to distinguish the water droplet candidate images because they may be due to other causes that are not actually water droplets. Other causes include moving objects that exist in the surveillance space, for example, in light conditions such as daytime, and in addition, for example, in the dark space such as nighttime, there are flashlights and automobiles in the surveillance space. There are areas of bright light created by the insertion of headlights.

具体的には、光の領域の場合には、近傍強エッジ画像において強いエッジの存在する部分の面積(あるいは総画素数)が小さく、かつ近傍エッジ増画像においてエッジ強度が増加した部分の面積(あるいは総画素数)が大きいという特徴がある。これは、光の領域の輪郭部分では背景よりも強くなるエッジは増えるが、グラデーションのように輝度が緩やかに変化するので強いエッジは多くない、という光の領域の特徴による。また移動物体の場合には、近傍強エッジ画像において強いエッジの存在する部分の面積(あるいは総画素数)が大きく、かつ近傍エッジ増画像においてエッジ強度が増加した部分の面積(あるいは総画素数)が小さいという特徴がある。これは、逆に輪郭部分では急峻に輝度が変化するためエッジ強度は高いが、背景よりも強くなるエッジの増加量は多くない、という移動物体の特徴による。これに対して水滴の場合には、近傍強エッジ画像において強いエッジの存在する部分の面積(あるいは総画素数)が大きく、かつ近傍エッジ増画像においてエッジ強度が増加した部分の面積(あるいは総画素数)が大きいという傾向にある。従って、近傍強エッジ画像データ及び近傍エッジ増画像データを用いることで、水滴候補画像から、他の原因に起因した画像を除外することができる。   Specifically, in the case of the light region, the area (or the total number of pixels) where the strong edge exists in the neighborhood strong edge image is small and the area of the portion where the edge strength is increased in the neighborhood edge increased image ( Another feature is that the total number of pixels) is large. This is due to the feature of the light region that the edge that becomes stronger than the background increases in the contour portion of the light region, but there are not many strong edges because the luminance changes gently like gradation. In the case of a moving object, the area (or the total number of pixels) where the strong edge exists in the near strong edge image is large, and the area (or the total number of pixels) where the edge strength increases in the near edge increased image. There is a feature that is small. On the contrary, this is due to the feature of the moving object that the edge strength is high because the brightness changes sharply in the contour portion, but the amount of increase of the edge that is stronger than the background is not large. On the other hand, in the case of water droplets, the area (or total number of pixels) where the strong edge exists in the near strong edge image is large, and the area (or total pixel) where the edge strength increases in the near edge increased image. Number) tends to be large. Therefore, by using the near strong edge image data and the near edge augmented image data, it is possible to exclude images caused by other causes from the water droplet candidate images.

以上のようにして水滴候補画像からの除外処理を行った上で、水滴判定部57は、この除外処理後の水滴候補画像に基づいて水滴が存在するか否かを判定する。判定の仕方は上記ステップS4−6における判定処理と同様である。水滴判定部57は、水滴が存在すると判定した場合には水滴を検出した旨の信号を、水滴が存在しないと判定した場合には水滴を検出しない旨の信号を、それぞれ判定部60に出力する。これにより、高い検出確度で水滴検出を行うことができる。しかし、さらに以下に説明するステップS4−7以降の処理を行うことによって、さらなる水滴検出の検出確度を高めることができる。   After performing the exclusion process from the water droplet candidate image as described above, the water droplet determination unit 57 determines whether or not a water droplet exists based on the water droplet candidate image after the exclusion process. The method of determination is the same as the determination process in step S4-6. The water droplet determination unit 57 outputs a signal indicating that a water droplet has been detected to the determination unit 60 when it is determined that a water droplet is present, and a signal indicating that no water droplet is detected when it is determined that no water droplet is present. . Thereby, water droplet detection can be performed with high detection accuracy. However, the detection accuracy of further water droplet detection can be further increased by performing the processing after step S4-7 described below.

ステップS4−7では、水滴候補画像生成部54により生成された水滴候補画像に関して、記憶部59内の過去水滴候補画像データとの差分処理を行う。フレーム間差分演算部55は、水滴候補画像生成部54にて生成された水滴候補画像について、記憶部59に記憶されている、最新の入力画像の撮像時刻から所定の時間だけ前(例えば、1フレーム前)の過去水滴候補画像データとの差分を算出することによってフレーム間差分データを生成する。そして、生成されたフレーム間差分データを用いて、例えば後述のフレーム間差分面積を算出する。これにより、水滴候補画像の移動に関する情報を取得する。これは、水滴候補画像の動きの情報を取り入れ、水滴が付着したまま動かない場合と、流れ落ちる場合とで区別して水滴の判断条件を分けた方が、より高い検出確度が望めるためである。   In step S4-7, the difference processing with the past water droplet candidate image data in the storage unit 59 is performed on the water droplet candidate image generated by the water droplet candidate image generation unit 54. The inter-frame difference calculation unit 55 is a predetermined time before the latest input image capturing time stored in the storage unit 59 with respect to the water droplet candidate image generated by the water droplet candidate image generation unit 54 (for example, 1 Inter-frame difference data is generated by calculating a difference from the previous water droplet candidate image data before the frame). Then, for example, an inter-frame difference area to be described later is calculated using the generated inter-frame difference data. Thereby, the information regarding the movement of the water droplet candidate image is acquired. This is because higher detection accuracy can be expected by taking in information on the motion of the water droplet candidate image and dividing the determination conditions for water droplets by distinguishing between the case where the water droplets do not move and the case where they flow down.

フレーム間差分演算部55は、現在の入力画像から得られた水滴候補画像と過去の水滴候補画像との排他的論理和により定まる画素あるいは画素群から構成される領域の面積(あるいは総画素数)をフレーム間差分面積として算出する。また、最新の水滴候補画像データと、過去水滴候補画像データとのそれぞれの重心の位置を算出する。   The inter-frame difference calculation unit 55 determines the area (or the total number of pixels) of a pixel or a group of pixels determined by exclusive OR of a water droplet candidate image obtained from the current input image and a past water droplet candidate image. Is calculated as an inter-frame difference area. Further, the positions of the centers of gravity of the latest water droplet candidate image data and the past water droplet candidate image data are calculated.

ステップS4−8以降では、水滴候補画像生成部54により生成された水滴候補画像に関して、流れ落ちずに滞留している水滴(滞留水滴)に起因した画像か否か、流れ落ちる水滴(流動水滴)に起因した画像か否かを判定する。水滴判定部57は、水滴候補画像生成部54にて生成された水滴候補画像と、フレーム間差分演算部55にて算出された水滴候補画像の移動情報などから、背景差分演算部52にて生成された背景差分データが、滞留水滴に起因した画像か否か、流動水滴に起因した画像か否かを判定する。   In step S4-8 and subsequent steps, the water droplet candidate image generated by the water droplet candidate image generation unit 54 is an image caused by water droplets staying without flowing down (staying water droplets) or caused by water droplets flowing down (flowing water droplets). It is determined whether or not the image has been processed. The water drop determination unit 57 is generated by the background difference calculation unit 52 from the water drop candidate image generated by the water drop candidate image generation unit 54 and the movement information of the water drop candidate image calculated by the inter-frame difference calculation unit 55. It is determined whether or not the background difference data thus obtained is an image caused by staying water droplets or an image caused by flowing water droplets.

ステップS4−8では、水滴候補画像が滞留水滴に起因した画像か否か、流動水滴に起因した画像か否かを判定するために必要な判定情報を算出する。ここでは図5に示す各処理により以下の各判定情報が算出される。   In step S4-8, determination information necessary for determining whether the water droplet candidate image is an image caused by a staying water droplet or an image caused by a flowing water droplet is calculated. Here, the following determination information is calculated by each process shown in FIG.

ステップS4−8−1では、水滴候補画像の各特徴を満たした画素あるいは画素群から構成される領域の、水滴候補画像1フレーム中に占める割合である面積比率F1が、面積比率F1=(各特徴を満たした画素あるいは領域の面積)/(水滴候補画像1フレームの面積)により算出される。面積比率F1は、水滴候補画像の各特徴を満たした画素あるいは領域は水滴候補画像中である程度以上の大きさを有するはずである、という特徴を反映させるためのものである。尚、ここで用いられる面積を総画素数としても良い。   In step S4-8-1, the area ratio F1, which is the ratio of the area composed of pixels or pixel groups satisfying the characteristics of the water droplet candidate image in one frame of the water droplet candidate image, is expressed as area ratio F1 = (each It is calculated by: (area of pixel or region satisfying feature) / (area of one frame of water drop candidate image). The area ratio F1 is for reflecting the feature that a pixel or a region satisfying each feature of the water drop candidate image should have a size of a certain level or more in the water drop candidate image. The area used here may be the total number of pixels.

ステップS4−8−2では、ステップS4−7で求められたフレーム間差分面積を用いて、差分面積比率F2が、差分面積比率F2=(フレーム間差分面積)/(最新及び過去の少なくとも一方に出現している水滴候補画像の面積)により算出される。尚、最新及び過去の少なくとも一方に出現している水滴候補画像の面積とは、最新の水滴候補画像と過去の水滴候補画像との論理和によって生成される画像の面積のことである。差分面積比率F2は、水滴候補画像の各特徴を満たした画素あるいは画素群から構成される領域が所定の時間間隔(例えば1フレーム分)でどれだけ出現したか、あるいは消滅したかを水滴候補画像中に占める比率で表す。尚、ここで用いられる面積を総画素数としても良い。   In step S4-8-2, using the inter-frame difference area obtained in step S4-7, the difference area ratio F2 is calculated as follows: difference area ratio F2 = (inter-frame difference area) / (latest and / or past). The area of the waterdrop candidate image that appears). The area of the water droplet candidate image that appears in at least one of the latest and the past is the area of an image generated by the logical sum of the latest water droplet candidate image and the past water droplet candidate image. The difference area ratio F2 is a water droplet candidate image that indicates how many pixels or groups of pixels that satisfy each feature of the water droplet candidate image appear or disappear at a predetermined time interval (for example, one frame). Expressed as a percentage of the total. The area used here may be the total number of pixels.

ステップS4−8−3では、ステップS4−5で求められた水滴候補近傍画像を用いて、近傍画像面積比率F3が、近傍画像面積比率F3=(水滴候補画像の各特徴を満たした画素あるいは領域の周辺領域の面積)/(水滴候補近傍画像1フレームの面積)により算出される。近傍画像面積比率F3は、水滴画像領域が画像フレームからはみ出して映る等により、水滴候補画像の各特徴を満たした画素あるいは領域の周辺領域が大きく欠けて映っている場合には、このような画像についての水滴判定は適切に行えないため、判定対象外とするために用いられる情報である。尚、ここで用いられる面積を総画素数としても良い。   In step S4-8-3, using the water droplet candidate vicinity image obtained in step S4-5, the neighborhood image area ratio F3 is calculated as follows: neighborhood image area ratio F3 = (pixel or region satisfying each feature of the water droplet candidate image) The area of the peripheral region of the image) / (the area of one frame of the water droplet candidate vicinity image). The near image area ratio F3 is such that when the water drop image area is projected out of the image frame and the surrounding area of the pixel or area satisfying each feature of the water drop candidate image is largely missing. Since the water droplet determination cannot be performed properly, the information is used for excluding the determination target. The area used here may be the total number of pixels.

ステップS4−8−4では、ステップS4−5で求められた水滴候補近傍画像とステップS4−6で求められた近傍強エッジ画像とを用いて、近傍強エッジ画像比率F4が、近傍強エッジ画像比率F4=(水滴候補画像の各特徴を満たした画素あるいは領域の周辺領域内で強いエッジが存在する領域の面積)/(水滴候補近傍画像1フレームの面積)により算出される。近傍強エッジ画像比率F4は、水滴候補近傍画像に強いエッジがどれだけ含まれているかを表す。尚、ここで用いられる面積を総画素数としても良い。   In step S4-8-4, the vicinity strong edge image ratio F4 is set to the vicinity strong edge image using the water droplet candidate vicinity image obtained in step S4-5 and the vicinity strong edge image obtained in step S4-6. Ratio F4 = (area of a region where a strong edge exists in the peripheral region of the pixel or region satisfying each feature of the water droplet candidate image) / (area of one frame of the water droplet candidate vicinity image). The neighborhood strong edge image ratio F4 represents how many strong edges are included in the water droplet candidate neighborhood image. The area used here may be the total number of pixels.

ステップS4−8−5では、ステップS4−5で求められた水滴候補近傍画像とステップS4−6で求められた近傍エッジ増画像とを用いて、近傍エッジ増画像比率F5が、近傍エッジ増画像比率F5=(水滴候補画像の各特徴を満たした画素あるいは領域の周辺領域内でエッジ強度が増加した領域の面積)/(水滴候補近傍画像1フレームの面積)により算出される。近傍エッジ増画像比率F5は、入力画像において背景画像よりもエッジ強度が増加した部分が、水滴候補近傍画像にどれだけ含まれているかを表す。尚、ここで用いられる面積を総画素数としても良い。   In step S4-8-5, using the water drop candidate neighborhood image obtained in step S4-5 and the neighborhood edge augmented image obtained in step S4-6, the neighborhood edge augmented image ratio F5 is set to the neighborhood edge augmented image. The ratio F5 = (area of the region where the edge intensity is increased in the peripheral region of the pixel or region satisfying each feature of the water droplet candidate image) / (area of one frame of the water droplet candidate vicinity image). The near edge increased image ratio F5 represents how much the portion where the edge strength is increased in the input image as compared to the background image is included in the water droplet candidate vicinity image. The area used here may be the total number of pixels.

ステップS4−8−6では、ステップS4−7で生成されたフレーム間差分データにおいて、最新の水滴候補画像データと過去水滴候補画像データとのそれぞれの重心の位置を算出し、画像中における座標値の差を重心位置変化量として算出する。画像中の座標軸は任意に設定できるが、例えば画像左上端を原点とし、左右方向の軸をX軸(右方向が正)、上下方向の軸をY軸(下方向が正)と設定する。そして、設定した座標軸により最新の水滴候補画像データと過去水滴候補画像データの重心の座標を算出し、X座標の差を(最新の水滴候補画像データのX座標)−(過去水滴候補画像データのX座標)より求め、Y座標の差を(最新の水滴候補画像データのY座標)−(過去水滴候補画像データのY座標)より求める。これらは水滴画像領域がどれだけ移動したのかを示すものであり、X座標の差すなわちX方向の移動量ΔXが正ならば水滴が画面中において右方向に移動したことを示し、Y座標の差すなわちY方向の移動量ΔYが正ならば水滴が画面中において下方向に移動したことを示す。こうして水滴の移動情報を取得する。   In step S4-8-6, the position of the center of gravity of the latest water droplet candidate image data and the past water droplet candidate image data is calculated in the inter-frame difference data generated in step S4-7, and the coordinate value in the image is calculated. Is calculated as the amount of change in the center of gravity. The coordinate axes in the image can be arbitrarily set. For example, the upper left corner of the image is set as the origin, the horizontal axis is set as the X axis (right direction is positive), and the vertical axis is set as Y axis (down direction is positive). Then, the coordinates of the center of gravity of the latest water droplet candidate image data and the past water droplet candidate image data are calculated using the set coordinate axes, and the difference between the X coordinates is calculated as (X coordinate of the latest water droplet candidate image data) − (past water droplet candidate image data X coordinate), and a difference in Y coordinate is obtained from (Y coordinate of latest water droplet candidate image data) − (Y coordinate of past water droplet candidate image data). These indicate how much the water droplet image area has moved. If the difference in the X coordinate, that is, the movement amount ΔX in the X direction is positive, it indicates that the water droplet has moved in the right direction on the screen, and the difference in the Y coordinate. That is, if the movement amount ΔY in the Y direction is positive, it indicates that the water droplet has moved downward in the screen. Thus, the movement information of the water droplet is acquired.

以上のようにして、ステップS4−8では、水滴候補画像が滞留水滴に起因した画像か、流動水滴に起因した画像か否かを判定するために必要な各判定情報を算出している。こうして各判定情報が算出されたら、図4におけるステップS4−9の処理へ移行する。   As described above, in step S4-8, each piece of determination information necessary for determining whether the water droplet candidate image is an image caused by a staying water droplet or an image caused by a flowing water droplet is calculated. When each determination information is calculated in this way, the process proceeds to step S4-9 in FIG.

ステップS4−9では、水滴判定部57は、水滴候補画像が滞留水滴に起因した画像か否かを判定する。この処理は、明るい撮像状況か暗い撮像状況かによって処理が異なる。以下、それぞれの撮像状況ごとに説明する。   In step S4-9, the water droplet determination unit 57 determines whether or not the water droplet candidate image is an image caused by a staying water droplet. This processing differs depending on whether the imaging situation is bright or dark. Hereinafter, each imaging situation will be described.

昼間等に環境光を利用して撮像された場合には、高輝度水滴候補画像、非高輝度水滴候補画像、及び全水滴候補画像について、それぞれ次の各条件を満たすか否かを判定し、得られる判定結果の内で、滞留水滴によるものであるとの判定結果が少なくとも一つあれば、水滴候補画像は滞留水滴に起因した画像であると判定する。   When the image is picked up using ambient light in the daytime, etc., it is determined whether or not the following conditions are satisfied for the high-brightness water droplet candidate image, the non-high-brightness water droplet candidate image, and the total water droplet candidate image, If at least one of the determination results obtained is determined to be due to staying water droplets, the water droplet candidate image is determined to be an image resulting from the staying water droplets.

高輝度水滴候補画像についての条件とは、<滞留条件1>面積比率F1が所定の閾値THF1−1(例えば2%)以上であること(滞留水滴は一定以上の面積を有するため)、<滞留条件2>差分面積比率F2が所定の閾値THF2(例えば5〜10%)以下であること(滞留状態の水滴は移動が少ないため)、<滞留条件3>近傍画像面積比率F3が閾値THF3(例えば2〜3%)以上であること(水滴候補画像の面積が一定以上の面積を有する状態でないと、水滴判定が適切に行えないため)、<滞留条件4>近傍強エッジ画像比率F4が閾値THF4−1(例えば10〜50%)以上であること(水滴の周囲部分では強いエッジが多いため)、<滞留条件5>近傍エッジ増画像比率F5が閾値THF5−1(例えば10〜50%)以上であること(水滴の周囲部分ではエッジが増える画像の面積が大きいため)、といったものであり、これらの条件を満たせば、判定対象の高輝度水滴候補画像は滞留水滴に起因した画像であると判定する。   The conditions for the high-intensity water droplet candidate image are: <Residence condition 1> The area ratio F1 is not less than a predetermined threshold THF1-1 (for example, 2%) (since the retained water droplet has a certain area or more), <Residence Condition 2> The difference area ratio F2 is equal to or less than a predetermined threshold value THF2 (for example, 5 to 10%) (because the water droplets in the staying state move less), <Retention condition 3> (2 to 3%) or more (because the water droplet candidate image cannot be properly determined unless the area of the water droplet candidate image has a certain area or more) <Residual condition 4> The near strong edge image ratio F4 is the threshold value THF4. −1 (for example, 10 to 50%) or more (because there are many strong edges around the water droplets), <Residual condition 5> The near edge increased image ratio F5 is not less than the threshold THF5-1 (for example, 10 to 50%). (Because the area of the image in which the edge increases in the peripheral part of the water droplet is large), and if these conditions are satisfied, the high-intensity water droplet candidate image to be judged is an image caused by the staying water droplet judge.

非高輝度水滴候補画像についての条件は、<滞留条件4>及び<滞留条件5>以外は高輝度水滴候補画像についての条件と同様で、<滞留条件4>については、近傍強エッジ画像比率F4が閾値THF4−2(例えば10%)未満であること(水滴の周囲部分に強いエッジは存在しないため)とし、<滞留条件5>については、近傍エッジ増画像比率F5が閾値THF5−2(例えば10〜50%)以上であること(水滴の周囲部分ではエッジが増える画像の面積が大きいため)とし、これらの条件を満たせば、判定対象の非高輝度水滴候補画像は滞留水滴に起因した画像であると判定する。   The conditions for the non-high-intensity water droplet candidate images are the same as those for the high-intensity water droplet candidate images except for <Residence Condition 4> and <Residence Condition 5>. Is less than the threshold THF4-2 (for example, 10%) (because there is no strong edge in the peripheral portion of the water droplet), and for <Residual Condition 5>, the near edge increased image ratio F5 is the threshold THF5-2 (for example, 10% to 50%) (because the area of the image where the edge increases in the surrounding area of the water droplet is large), and if these conditions are satisfied, the non-high-intensity water droplet candidate image to be judged is an image caused by the staying water droplet It is determined that

全水滴候補画像についての条件は、上記<滞留条件1>〜<滞留条件3>を満たし、且つ、高輝度水滴候補画像と非高輝度水滴候補画像のそれぞれについて<滞留条件4>及び<滞留条件5>を満たすことである。これらを満たせば、判定対象の全水滴候補画像は滞留水滴に起因した画像であると判定する。   The conditions for all the water droplet candidate images satisfy the above <Retention Condition 1> to <Retention Condition 3>, and <Retention Condition 4> and <Retention Condition for each of the high-intensity water droplet candidate image and the non-high-intensity water droplet candidate image. 5> is satisfied. If these conditions are satisfied, it is determined that the all-droplet candidate image to be determined is an image caused by the staying waterdrop.

一方、夜間等に照明を当てて撮像された場合には、次の各条件を満たすか否かを判定する。各条件とは、<滞留条件1>面積比率F1が所定の閾値THF1−1(例えば2%)以上であること(滞留水滴は一定以上の面積を有するため)、<滞留条件2>差分面積比率F2が所定の閾値THF2(例えば5〜10%)以下であること(滞留状態の水滴は移動が少ないため)、<滞留条件3>近傍画像面積比率F3が閾値THF3(例えば2〜3%)以上であること(水滴画像領域の面積が一定以上の面積を有する状態でないと、水滴判定が適切に行えないため)、<滞留条件4>近傍強エッジ画像比率F4が閾値THF4−1(例えば10〜50%)以上であること(水滴の周囲部分では強いエッジが多いため)、<滞留条件5>近傍エッジ増画像比率F5が閾値THF5(例えば10〜50%)以上であること(水滴の周囲部分ではエッジが増える画像の面積が大きいため)、といったものであり、これらの条件を満たせば、判定対象の水滴候補画像は滞留水滴に起因した画像であると判定する。   On the other hand, when an image is taken with illumination at night or the like, it is determined whether or not the following conditions are satisfied. Each condition is <Residence condition 1> The area ratio F1 is not less than a predetermined threshold THF1-1 (for example, 2%) (because the staying water droplet has a certain area or more), <Residence condition 2> Difference area ratio F2 is equal to or less than a predetermined threshold value THF2 (for example, 5 to 10%) (due to less moving water droplets in a staying state), <Retention Condition 3> The neighborhood image area ratio F3 is equal to or more than a threshold value THF3 (for example, 2 to 3%) (If the area of the water droplet image region is not in a state of a certain area or more, the water droplet determination cannot be performed properly), and <Residual condition 4> The neighborhood strong edge image ratio F4 is a threshold THF4-1 (for example, 10 to 10). 50%) or higher (since there are many strong edges in the surrounding area of the water droplet), <Residual condition 5> The near edge increased image ratio F5 is equal to or higher than the threshold THF5 (for example, 10 to 50%) (the peripheral portion of the water droplet). so Since the area of the image edges is increased greater), it is those such as, determines that satisfy these conditions, water droplets candidate image to be determined is an image due to retention water droplets.

ステップS4−10では、水滴判定部57は、水滴候補画像が流動水滴に起因した画像か否かを判定する。具体的には、ステップS4−9の処理と同様に、明るい撮像状況か暗い撮像状況かによって処理が異なる。以下、それぞれの撮像状況ごとに説明する。   In step S4-10, the water droplet determination unit 57 determines whether or not the water droplet candidate image is an image caused by a flowing water droplet. Specifically, similarly to the processing in step S4-9, the processing differs depending on whether the imaging condition is bright or dark. Hereinafter, each imaging situation will be described.

昼間等に環境光を利用して撮像された場合には、高輝度水滴候補画像、非高輝度水滴候補画像、及び全水滴候補画像について、それぞれ次の各条件を満たすか否かを判定し、得られる判定結果の内で、流動水滴によるものであるとの判定結果が少なくとも一つあれば、水滴候補画像は流動水滴に起因した画像であると判定する。   When the image is picked up using ambient light in the daytime, etc., it is determined whether or not the following conditions are satisfied for the high-brightness water droplet candidate image, the non-high-brightness water droplet candidate image, and the total water droplet candidate image, If there is at least one determination result that is based on flowing water droplets among the determination results obtained, it is determined that the water droplet candidate image is an image caused by flowing water droplets.

高輝度水滴候補画像についての条件とは、<流動条件1>面積比率F1が所定の閾値THF1−2(例えば10%)以上であること(流動水滴は一定以上の面積を有するため)、<流動条件2>近傍画像面積比率F3が閾値THF3(例えば2〜3%)以上であること(水滴画像領域の面積が一定以上の面積を有する状態でないと、水滴判定が適切に行えないため)、<流動条件3>近傍強エッジ画像比率F4が閾値THF4−1(例えば10〜50%)以上であること(水滴の周囲部分では強いエッジが多いため)、<流動条件4>近傍エッジ増画像比率F5が閾値THF5−1(例えば10〜50%)以上であること(水滴の周囲部分ではエッジが増える画像の面積が大きいため)、<流動条件5>移動量ΔYが所定の閾値THΔY(例えば5%)以上であること(流動水滴では、一定以上の距離を下方向に流れ落ちているはずであるため)、<流動条件6>移動量ΔYが、移動量ΔXの絶対値以上の値であること(流動水滴では、左右方向の移動量よりも下方向の移動量の方が大きいはずであるため)といったものであり、これらの条件を満たせば、判定対象の高輝度水滴候補画像は流動水滴に起因した画像であると判定する。   The conditions for the high-intensity water droplet candidate image are: <Flow condition 1> The area ratio F1 is equal to or greater than a predetermined threshold THF1-2 (for example, 10%) (because the flow droplet has a certain area or more), <Flow Condition 2> The neighborhood image area ratio F3 is equal to or greater than a threshold THF3 (for example, 2 to 3%) (because the water droplet image area cannot be determined properly unless the area of the water droplet image region has a certain area or more), < Flow condition 3> Near edge strong edge image ratio F4 is greater than or equal to the threshold THF4-1 (for example, 10 to 50%) (because there are many strong edges around the water droplet), <Flow condition 4> Near edge increased image ratio F5 Is greater than or equal to the threshold THF5-1 (for example, 10 to 50%) (because the area of the image in which the edge increases in the peripheral portion of the water droplet is large), <flow condition 5> the movement amount ΔY is a predetermined threshold THΔY (for example, 5%) or more (because the flowing water droplets should have flowed downward for a certain distance or more) <Flow condition 6> The movement amount ΔY is a value greater than or equal to the absolute value of the movement amount ΔX. (For flowing water droplets, the amount of movement in the downward direction should be larger than the amount of movement in the left and right direction.) If these conditions are met, the high-intensity water droplet candidate image to be judged will flow. It is determined that the image is caused by water droplets.

非高輝度水滴候補画像についての条件は、<流動条件3>及び<流動条件4>以外は高輝度水滴候補画像についての条件と同様で、<流動条件3>については、近傍強エッジ画像比率F4が閾値THF4−2(例えば10%)未満であること(水滴の周囲部分に強いエッジは存在しないため)とし、<流動条件4>については、近傍エッジ増画像比率F5が閾値THF5−2(例えば10〜50%)以上であること(水滴の周囲部分ではエッジが増える画像の面積が大きいため)とし、これらの条件を満たせば、判定対象の非高輝度水滴候補画像は流動水滴に起因した画像であると判定する。   The conditions for the non-high-intensity water droplet candidate images are the same as the conditions for the high-intensity water droplet candidate images except for <flow condition 3> and <flow condition 4>. For <flow condition 3>, the neighborhood strong edge image ratio F4 Is less than the threshold THF4-2 (for example, 10%) (because there is no strong edge in the surrounding portion of the water droplet), and for <flow condition 4>, the neighboring edge increased image ratio F5 is the threshold THF5-2 (for example, 10% to 50%) or more (because the area of the image where the edge increases in the surrounding area of the water droplet is large), and if these conditions are met, the non-high brightness water droplet candidate image to be judged is an image caused by the flowing water droplet It is determined that

全水滴候補画像についての条件は、上記<流動条件1>、<流動条件2>、<流動条件5>及び<流動条件6>を満たし、且つ、高輝度水滴候補画像と非高輝度水滴候補画像のそれぞれについて<流動条件3>及び<流動条件4>を満たすことである。これらを満たせば、判定対象の全水滴候補画像は流動水滴に起因した画像であると判定する。   The conditions for all the water droplet candidate images satisfy the above <flow condition 1>, <flow condition 2>, <flow condition 5>, and <flow condition 6>, and the high brightness water drop candidate image and the non-high brightness water drop candidate image. For each of the above, <flow condition 3> and <flow condition 4> are satisfied. If these conditions are satisfied, it is determined that the determination target all water droplet candidate image is an image caused by the flowing water droplets.

一方、夜間等に照明を当てて撮像された場合には、次の各条件を満たすか否かを判定する。各条件とは、<流動条件1>面積比率F1が所定の閾値THF1−2(例えば10%)以上であること(流動水滴は一定以上の面積を有するため)、<流動条件2>近傍画像面積比率F3が閾値THF3(例えば2〜3%)以上であること(水滴画像領域の面積が一定以上の面積を有する状態でないと、水滴判定が適切に行えないため)、<流動条件3>近傍強エッジ画像比率F4が閾値THF4−1(例えば10〜50%)以上であること(水滴の周囲部分では強いエッジが多いため)、<流動条件4>近傍エッジ増画像比率F5が閾値THF5(例えば10〜50%)以上であること(水滴の周囲部分ではエッジが増える画像の面積が大きいため)、<流動条件5>移動量ΔYが所定の閾値THΔY(例えば5%)以上であること(流動水滴では、一定以上の距離を下方向に流れ落ちているはずであるため)、<流動条件6>移動量ΔYが、移動量ΔXの絶対値以上の値であること(流動水滴では、左右方向の移動量よりも下方向の移動量の方が大きいはずであるため)といったものであり、これらの条件を満たせば、判定対象の水滴候補画像は流動水滴に起因した画像であると判定する。   On the other hand, when an image is taken with illumination at night or the like, it is determined whether or not the following conditions are satisfied. Each condition is <flow condition 1> the area ratio F1 is equal to or greater than a predetermined threshold THF1-2 (for example, 10%) (because the flowing water droplet has a certain area or more), and <flow condition 2> neighboring image area The ratio F3 is equal to or greater than the threshold THF3 (for example, 2 to 3%) (because the water droplet image area cannot be properly determined unless the area of the water droplet image area is a certain area or more), <flow condition 3> strong in the vicinity The edge image ratio F4 is equal to or higher than the threshold THF4-1 (for example, 10 to 50%) (because there are many strong edges around the water droplet), and <flow condition 4> the near edge increased image ratio F5 is the threshold THF5 (for example, 10). ˜50%) (because the area of the image where the edge increases in the peripheral portion of the water droplet is large), <flow condition 5> the movement amount ΔY is greater than or equal to a predetermined threshold THΔY (for example, 5%) (flowing water <Flow condition 6> The amount of movement ΔY is greater than or equal to the absolute value of the amount of movement ΔX. If the movement amount in the downward direction should be larger than the movement amount), and these conditions are satisfied, it is determined that the water droplet candidate image to be determined is an image caused by the flowing water droplets.

以上のようにして水滴判定部57は、ステップS4−9〜ステップS4−11により、水滴候補画像が滞留水滴に起因した画像か、流動水滴に起因した画像かを判定し、得られた判定結果に基づき、水滴の状態をも考慮した水滴の検出を行うことができる。そして水滴判定部57は、得られた検出結果を示す信号を図1における判定部60に出力する(ステップS5)。検出結果としては、水滴の有無を示すのみでも良いし、あるいは滞留水滴か流動水滴かまでの情報を検出結果に含めて水滴付着ありとしても良い。こうして水滴検出部50における水滴付着検出処理が終了し、続いて図3におけるステップS6の処理へ移行する。   As described above, the water droplet determination unit 57 determines whether the water droplet candidate image is an image caused by a staying water droplet or an image caused by a flowing water droplet in steps S4-9 to S4-11, and the obtained determination result. Based on the above, it is possible to detect a water droplet in consideration of the state of the water droplet. And the water droplet determination part 57 outputs the signal which shows the obtained detection result to the determination part 60 in FIG. 1 (step S5). As the detection result, it is possible to indicate only the presence or absence of water droplets, or it is possible to include information on whether the water droplets are staying or flowing water droplets in the detection results and indicate that there is water droplet adhesion. Thus, the water droplet adhesion detection process in the water droplet detection unit 50 is completed, and then the process proceeds to step S6 in FIG.

ステップS6では、判定部60が、侵入者検出部40及び水滴検出部50からの検出結果信号に基づいて、監視空間に検出対象物が存在するか否か、撮像部10のレンズ部分等に水滴が付着しているか否か、について判定する。そして、判定部60において侵入者の存在を検出した、あるいは水滴の付着を検出したと判定された場合にはステップS7に処理を移行させ、侵入者の存在も水滴の付着も検出されなかった場合にはステップS8に処理を移行させる。   In step S <b> 6, the determination unit 60 determines whether there is a detection target in the monitoring space based on the detection result signals from the intruder detection unit 40 and the water droplet detection unit 50, and drops water on the lens portion of the imaging unit 10. It is determined whether or not the material is attached. When the determination unit 60 detects the presence of an intruder or determines that the attachment of water droplets has been detected, the process proceeds to step S7, and neither the presence of an intruder nor the attachment of water droplets is detected. The process is shifted to step S8.

ステップS7では、出力部80から警報信号を出力させる。出力部80が警報ランプや警報ブザーを含む警報装置である場合にはランプを点灯させたり、ブザー音を発したりさせる。このとき、侵入者の存在のみを検出した場合、水滴の付着のみを検出した場合、侵入者及び水滴の双方を検出した場合に応じてそれぞれ別種の警報信号を出力し、それぞれ別種のランプを点灯させたり、別種のブザー音を発したりさせるようにすると良い。また、出力部80がネットワーク・インターフェースである場合には、インターネットや専用回線を介して遠方の監視室に警報信号を送信させることもできる。この場合の警報信号も、上記の3通りの場合に応じて別種の警報信号を送信させるようにすると良い。またこのとき、警報信号と共に検出判定対象の入力画像データを送信させるようにすると良い。またステップS7において、出力部80から水滴を検出した旨の信号が出力した場合には、その出力信号に基づいて、撮像部10の前面に温風を吹き付けるブロアや、付着した水滴を除去するワイパー(図示せず)が作動するようにしても良い。   In step S7, an alarm signal is output from the output unit 80. When the output unit 80 is an alarm device including an alarm lamp and an alarm buzzer, the lamp is turned on and a buzzer sound is generated. At this time, if only the presence of an intruder is detected, if only the attachment of a water drop is detected, or if both an intruder and a water drop are detected, a different type of alarm signal is output, and a different type of lamp is lit. It is good to make it generate a buzzer sound of another kind. When the output unit 80 is a network interface, an alarm signal can be transmitted to a remote monitoring room via the Internet or a dedicated line. In this case, the alarm signal may be transmitted as another type of alarm signal according to the above three cases. At this time, it is preferable to transmit the input image data to be detected and determined together with the alarm signal. In step S7, when a signal indicating that a water droplet has been detected is output from the output unit 80, based on the output signal, a blower that blows warm air on the front surface of the imaging unit 10 or a wiper that removes attached water droplets. (Not shown) may be activated.

ステップS8では、背景画像データの更新処理が行われる。背景画像更新部51は、所定の背景更新周期Tr(例えば、10秒)で記憶部59に保持されている背景画像データを最新の入力画像データで更新する。背景更新周期Trは、監視空間に対する日照の変動等を考慮して決定することが好適である。また、他の方法として、「人」が存在しないと判定された入力画像データで背景画像データを更新しても良く、さらに、過去に取得された複数の入力画像データの移動平均画像データにより背景画像データを更新しても良い。   In step S8, background image data update processing is performed. The background image update unit 51 updates the background image data held in the storage unit 59 with the latest input image data at a predetermined background update cycle Tr (for example, 10 seconds). It is preferable to determine the background update period Tr in consideration of fluctuations in sunlight with respect to the monitoring space. As another method, the background image data may be updated with the input image data determined that “person” does not exist, and the background is obtained by moving average image data of a plurality of input image data acquired in the past. The image data may be updated.

尚、本実施形態では、撮像部10により取得された最新の入力画像1フレーム全体について水滴の検出処理を行っているが、最新の入力画像データと背景画像データとの差分を算出することによって得られる背景差分データ内の変動領域ごとに、同様の水滴検出処理を行うようにしても良い。また、最新の入力画像1フレーム全体についての水滴検出処理と、背景差分データ内の変動領域ごとについての水滴検出処理とを併行して行っても良い。   In the present embodiment, the water droplet detection process is performed for the entire frame of the latest input image acquired by the imaging unit 10, but it is obtained by calculating the difference between the latest input image data and the background image data. The same water droplet detection process may be performed for each fluctuation region in the background difference data. In addition, the water droplet detection process for the entire frame of the latest input image and the water drop detection process for each fluctuation region in the background difference data may be performed in parallel.

以上のように、本実施の形態によれば、屋外で昼間等に照明光を用いずに環境光を利用して監視空間を撮像する場合においても、あるいは夜間等に照明光を当てて監視空間を撮像する場合においても、それぞれの撮像状況に応じて水滴検出処理を切り替えて行うため、いずれの撮像状況であっても撮像画像中の水滴画像領域を確度良く検出できる。これにより、水滴をレンズ部分等から除去する等の対処を早急に行うことができる。また、照明光を用いずに環境光のみを利用して撮像した場合にも確度良く水滴を検出できるので、不要な照明光の照射を防ぐことができ、消費電力の面でも有利となる。   As described above, according to the present embodiment, even when imaging a monitoring space using ambient light without using illumination light in the daytime or the like outdoors, or by applying illumination light at night or the like, the monitoring space Since the water droplet detection process is switched in accordance with each imaging situation even when the image is captured, the water droplet image area in the captured image can be detected with high accuracy in any imaging situation. Thereby, measures such as removing water droplets from the lens portion and the like can be taken promptly. Further, even when imaging is performed using only ambient light without using illumination light, water droplets can be detected with high accuracy, so that unnecessary illumination light irradiation can be prevented, which is advantageous in terms of power consumption.

本発明の実施の形態におけるセンシング装置の構成を示す図である。It is a figure which shows the structure of the sensing apparatus in embodiment of this invention. 本発明の実施の形態における水滴検出部の構成を示す図である。It is a figure which shows the structure of the water droplet detection part in embodiment of this invention. 本発明の実施の形態におけるセンシング処理のフローチャートである。It is a flowchart of the sensing process in embodiment of this invention. 本発明の実施の形態における水滴付着検出処理のフローチャートである。It is a flowchart of the water droplet adhesion detection process in the embodiment of the present invention. 本発明の実施の形態における水滴判定情報算出処理のフローチャートである。It is a flowchart of the water droplet determination information calculation process in embodiment of this invention.

符号の説明Explanation of symbols

10 撮像部、20 照明部、30 照明制御部、40 侵入者検出部、50 水滴検出部、51 背景画像更新部、52 背景差分演算部、53 エッジ抽出部、54 水滴候補画像生成部、55 フレーム間差分演算部、56 水滴候補近傍画像処理部、57 水滴判定部、58 プログラム選択部、59 記憶部、60 判定部、70 画像処理部、80 出力部、100 画像センシング装置。   DESCRIPTION OF SYMBOLS 10 Imaging part, 20 Illumination part, 30 Illumination control part, 40 Intruder detection part, 50 Water drop detection part, 51 Background image update part, 52 Background difference calculation part, 53 Edge extraction part, 54 Water drop candidate image generation part, 55 frames Difference calculation unit, 56 water droplet candidate vicinity image processing unit, 57 water droplet determination unit, 58 program selection unit, 59 storage unit, 60 determination unit, 70 image processing unit, 80 output unit, 100 image sensing device.

Claims (3)

撮像部により監視空間を撮像するときの当該監視空間における撮像照度を検出する照度検出部と、
前記照度検出部にて検出された前記撮像照度に基づいて、前記撮像部を含む監視空間に照明光を照射する照明部を制御する照明制御部と、
前記撮像部により撮像された入力画像中に水滴による画像領域が存在するか否かを判定し、前記撮像部への水滴の付着を検出する水滴検出部と、
を有し、
前記水滴検出部は、
前記照明部が照明光を照射しない場合には、第一の水滴判定処理により水滴の検出を行い、
前記照明部が前記撮像部を含む監視空間に照明光を照射する場合には、第二の水滴判定処理により水滴の検出を行う、
ことを特徴とする画像信号処理装置。
An illuminance detection unit that detects imaging illuminance in the monitoring space when the monitoring space is imaged by the imaging unit;
Based on the imaging illuminance detected by the illuminance detection unit, an illumination control unit that controls an illumination unit that irradiates illumination light to a monitoring space including the imaging unit;
A water droplet detection unit that determines whether or not an image region due to water droplets exists in the input image captured by the imaging unit, and detects adhesion of water droplets to the imaging unit;
Have
The water droplet detector is
When the illumination unit does not irradiate illumination light, water droplets are detected by the first water droplet determination process,
When the illumination unit irradiates the monitoring space including the imaging unit with illumination light, water droplets are detected by the second water droplet determination process.
An image signal processing apparatus.
請求項1に記載の画像信号処理装置において、
前記第一の水滴判定処理は、
前記撮像部により撮像された背景画像と、前記背景画像の撮像後に撮像された入力画像との差分から輝度変化が生じたという条件を満たす無照明差分画像を生成し、さらに前記無照明差分画像中で前記入力画像の対応する画素が所定の輝度値以上であるという条件を満たす入力高輝度差分画像と、前記差分画像中で前記入力画像の対応する画素が前記所定の輝度値未満であるという条件を満たす入力非高輝度差分画像とを生成する無照明差分画像生成処理と、
前記入力画像におけるエッジ強度が所定の閾値以下であるという条件を満たす無照明入力弱エッジ画像を生成する無照明入力弱エッジ画像生成処理と、
前記入力画像中のエッジ強度と前記背景画像中のエッジ強度とを比較し、前記入力画像中において前記背景画像中よりもエッジ強度が減少したという条件を満たす無照明エッジ減画像を生成する無照明エッジ減画像生成処理と、
前記無照明差分画像、前記入力高輝度差分画像及び前記入力非高輝度差分画像の少なくとも一つと、前記無照明入力弱エッジ画像及び前記無照明エッジ減画像の論理和により得られる画像との論理積により、水滴が存在する可能性の高い無照明水滴候補画像を生成する無照明水滴候補画像生成処理と、
を行い、生成された無照明水滴候補画像に基づいて水滴の有無を判定することを特徴とする画像信号処理装置。
The image signal processing apparatus according to claim 1,
The first water droplet determination process is:
Generating an unilluminated differential image that satisfies a condition that a luminance change has occurred from a difference between a background image captured by the imaging unit and an input image captured after the background image is captured; An input high-intensity difference image that satisfies the condition that the corresponding pixel of the input image is greater than or equal to a predetermined luminance value, and a condition that the corresponding pixel of the input image in the difference image is less than the predetermined luminance value An unilluminated difference image generation process for generating an input non-high luminance difference image satisfying
An unilluminated input weak edge image generation process for generating an unilluminated input weak edge image that satisfies the condition that the edge intensity in the input image is equal to or less than a predetermined threshold; and
Non-illumination that compares the edge strength in the input image with the edge strength in the background image and generates a non-illuminated edge reduced image that satisfies the condition that the edge strength is reduced in the input image as compared with that in the background image Edge reduced image generation processing;
Logical product of at least one of the unilluminated difference image, the input high-intensity difference image, and the input non-high-intensity difference image, and an image obtained by a logical sum of the unilluminated input weak edge image and the unilluminated edge reduced image By the unilluminated water droplet candidate image generation process for generating an unilluminated water droplet candidate image with a high possibility of water droplets,
And determining whether or not there is a water droplet based on the generated unilluminated water droplet candidate image.
請求項1又は2に記載の画像信号処理装置において、
前記第二の水滴判定処理は、
前記撮像部を含む監視空間に照明を当てて撮像された背景画像と、前記背景画像の撮像後に前記撮像部を含む監視空間に照明を当てて撮像された入力画像との差分をとり、背景画像より入力画像の輝度が高くなったプラスの差分画像を生成する照明差分画像生成処理と、
前記入力画像におけるエッジ強度が所定の閾値以下であるという条件を満たす照明入力弱エッジ画像を生成する照明入力弱エッジ画像生成処理と、
前記入力画像中のエッジ強度と前記背景画像中のエッジ強度とを比較し、前記入力画像中において前記背景画像中よりもエッジ強度が減少したという条件を満たす照明エッジ減画像を生成する照明エッジ減画像生成処理と、
前記照明入力弱エッジ画像及び前記照明エッジ減画像の論理和により得られる画像と前記照明差分画像との論理積により、水滴が存在する可能性の高い照明水滴候補画像を生成する照明水滴候補画像生成処理と、
を行い、前記照明水滴候補画像に基づいて水滴の有無を判定することを特徴とする画像信号処理装置。

The image signal processing apparatus according to claim 1 or 2,
The second water drop determination process is:
The difference between the background image captured by illuminating the monitoring space including the imaging unit and the input image captured by illuminating the monitoring space including the imaging unit after capturing the background image is obtained as a background image. Lighting difference image generation processing for generating a positive difference image in which the luminance of the input image is higher,
Illumination input weak edge image generation processing for generating an illumination input weak edge image that satisfies the condition that the edge intensity in the input image is equal to or less than a predetermined threshold;
The edge intensity in the input image is compared with the edge intensity in the background image, and an illumination edge reduction image is generated that satisfies the condition that the edge intensity is reduced in the input image than in the background image. Image generation processing,
Illumination water droplet candidate image generation that generates an illumination water droplet candidate image that is highly likely to have water droplets, based on the logical product of the illumination difference image and the image obtained by the logical sum of the illumination input weak edge image and the illumination edge reduced image Processing,
And determining whether or not there is a water droplet based on the illumination water droplet candidate image.

JP2005078833A 2005-03-18 2005-03-18 Image signal processing device Expired - Fee Related JP4542929B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005078833A JP4542929B2 (en) 2005-03-18 2005-03-18 Image signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005078833A JP4542929B2 (en) 2005-03-18 2005-03-18 Image signal processing device

Publications (2)

Publication Number Publication Date
JP2006262242A true JP2006262242A (en) 2006-09-28
JP4542929B2 JP4542929B2 (en) 2010-09-15

Family

ID=37100961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005078833A Expired - Fee Related JP4542929B2 (en) 2005-03-18 2005-03-18 Image signal processing device

Country Status (1)

Country Link
JP (1) JP4542929B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014017523A1 (en) * 2012-07-27 2014-01-30 日産自動車株式会社 Water droplet detection device, and three-dimensional object detection device using said water droplet detection device
JP2014102407A (en) * 2012-11-21 2014-06-05 Disco Abrasive Syst Ltd Portable electronic device, pseudo lens formation member, and subject imaging method by portable electronic device
JP2014179762A (en) * 2013-03-14 2014-09-25 Omron Corp Image processing apparatus, object detection method, and object detection program
WO2014162719A1 (en) * 2013-04-01 2014-10-09 三菱電機株式会社 Optical device and air-blowing method
US20150202663A1 (en) * 2012-07-25 2015-07-23 Sony Corporation Cleaning apparatus, cleaning method, and imaging apparatus
KR101801319B1 (en) * 2015-12-14 2017-11-24 경희대학교 산학협력단 3D face image acquisition system and iluminating device therefor
WO2019026785A1 (en) * 2017-08-02 2019-02-07 クラリオン株式会社 Attached object detection device, and vehicle system provided with same
JP2019032619A (en) * 2017-08-04 2019-02-28 パナソニックIpマネジメント株式会社 Dirt detector, camera, computer program and recording medium
US10552706B2 (en) 2016-10-24 2020-02-04 Fujitsu Ten Limited Attachable matter detection apparatus and attachable matter detection method
JP2020020982A (en) * 2018-08-01 2020-02-06 三菱電機株式会社 Control device, refrigerator cabin photographing system, article storage, refrigerator cabin photographing method, and program

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6425036A (en) * 1987-07-20 1989-01-27 Nippon Denso Co Optical liquid detecting device
JPH0767101A (en) * 1993-08-25 1995-03-10 Hitachi Ltd Abnormality monitoring method and device
JPH1082741A (en) * 1996-09-05 1998-03-31 Omron Corp Apparatus for identifying coming object flying, vehicle controller using the apparatus, and apparatus for identifying precipitating object
JPH10124653A (en) * 1996-10-15 1998-05-15 Nagoya Denki Kogyo Kk Rainfall snow detection method and apparatus
JPH10148681A (en) * 1996-11-15 1998-06-02 Mitsuba Corp Method for detecting raindrops
JPH11211845A (en) * 1998-01-30 1999-08-06 Nagoya Denki Kogyo Kk Rainfall snow detection method and apparatus
JP2001206201A (en) * 2000-01-28 2001-07-31 Nissan Shatai Co Ltd Raindrop detecting device for vehicle
JP2003315256A (en) * 2002-04-23 2003-11-06 Mitsubishi Electric Corp Foreign matter detecting device for surface of light transmission body
JP2004072478A (en) * 2002-08-07 2004-03-04 Fujitsu Ltd Object detection method and object detection device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6425036A (en) * 1987-07-20 1989-01-27 Nippon Denso Co Optical liquid detecting device
JPH0767101A (en) * 1993-08-25 1995-03-10 Hitachi Ltd Abnormality monitoring method and device
JPH1082741A (en) * 1996-09-05 1998-03-31 Omron Corp Apparatus for identifying coming object flying, vehicle controller using the apparatus, and apparatus for identifying precipitating object
JPH10124653A (en) * 1996-10-15 1998-05-15 Nagoya Denki Kogyo Kk Rainfall snow detection method and apparatus
JPH10148681A (en) * 1996-11-15 1998-06-02 Mitsuba Corp Method for detecting raindrops
JPH11211845A (en) * 1998-01-30 1999-08-06 Nagoya Denki Kogyo Kk Rainfall snow detection method and apparatus
JP2001206201A (en) * 2000-01-28 2001-07-31 Nissan Shatai Co Ltd Raindrop detecting device for vehicle
JP2003315256A (en) * 2002-04-23 2003-11-06 Mitsubishi Electric Corp Foreign matter detecting device for surface of light transmission body
JP2004072478A (en) * 2002-08-07 2004-03-04 Fujitsu Ltd Object detection method and object detection device

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10537922B2 (en) * 2012-07-25 2020-01-21 Sony Corporation Cleaning apparatus, cleaning method, and imaging apparatus
US11065653B2 (en) 2012-07-25 2021-07-20 Sony Group Corporation Cleaning apparatus, cleaning method, and imaging apparatus
US20150202663A1 (en) * 2012-07-25 2015-07-23 Sony Corporation Cleaning apparatus, cleaning method, and imaging apparatus
WO2014017523A1 (en) * 2012-07-27 2014-01-30 日産自動車株式会社 Water droplet detection device, and three-dimensional object detection device using said water droplet detection device
JP5859652B2 (en) * 2012-07-27 2016-02-10 日産自動車株式会社 Water drop detection device and three-dimensional object detection device using water drop detection device
RU2644518C2 (en) * 2012-07-27 2018-02-12 Ниссан Мотор Ко., Лтд. Device for detecting drops of water and device for detecting three-dimensional objects using device for detecting drops of water
US10096124B2 (en) 2012-07-27 2018-10-09 Nissan Motor Co., Ltd. Water droplet detection device, and three-dimensional object detection device using water droplet detection device
JP2014102407A (en) * 2012-11-21 2014-06-05 Disco Abrasive Syst Ltd Portable electronic device, pseudo lens formation member, and subject imaging method by portable electronic device
JP2014179762A (en) * 2013-03-14 2014-09-25 Omron Corp Image processing apparatus, object detection method, and object detection program
WO2014162719A1 (en) * 2013-04-01 2014-10-09 三菱電機株式会社 Optical device and air-blowing method
KR101801319B1 (en) * 2015-12-14 2017-11-24 경희대학교 산학협력단 3D face image acquisition system and iluminating device therefor
US10552706B2 (en) 2016-10-24 2020-02-04 Fujitsu Ten Limited Attachable matter detection apparatus and attachable matter detection method
JP2019029940A (en) * 2017-08-02 2019-02-21 クラリオン株式会社 Adherent detection device and vehicle system including the same
CN110999273A (en) * 2017-08-02 2020-04-10 歌乐株式会社 Attachment detection device and vehicle system having same
WO2019026785A1 (en) * 2017-08-02 2019-02-07 クラリオン株式会社 Attached object detection device, and vehicle system provided with same
US11142124B2 (en) 2017-08-02 2021-10-12 Clarion Co., Ltd. Adhered-substance detecting apparatus and vehicle system equipped with the same
JP2019032619A (en) * 2017-08-04 2019-02-28 パナソニックIpマネジメント株式会社 Dirt detector, camera, computer program and recording medium
JP2020020982A (en) * 2018-08-01 2020-02-06 三菱電機株式会社 Control device, refrigerator cabin photographing system, article storage, refrigerator cabin photographing method, and program
JP7292019B2 (en) 2018-08-01 2023-06-16 三菱電機株式会社 Control device, interior photography system, article storage, interior photography method and program

Also Published As

Publication number Publication date
JP4542929B2 (en) 2010-09-15

Similar Documents

Publication Publication Date Title
JP6772113B2 (en) Adhesion detection device and vehicle system equipped with it
CN109565536B (en) Vehicle-mounted device
CN104050620B (en) Body detection device
JP3423861B2 (en) Method and apparatus for monitoring a moving object
JP3965614B2 (en) Fire detection device
CN109084350B (en) Range hood with optical filtering function visual detection module and range hood concentration detection method
CN103366483A (en) Monitoring alarm system
JP4542929B2 (en) Image signal processing device
JP4611776B2 (en) Image signal processing device
JP4491360B2 (en) Image signal processing device
JP4656977B2 (en) Sensing device
JP2004312402A (en) Road monitoring system, road monitoring device
JP6189284B2 (en) Image sensing device
JP3294468B2 (en) Object detection method in video monitoring device
JP4887540B2 (en) Vehicle periphery monitoring device, vehicle, vehicle periphery monitoring program, and vehicle periphery monitoring method
JP6413319B2 (en) Vehicle detection device, system, and program
JP2018142887A (en) Image-taking system and image-taking device
JP2006262101A (en) Image sensing device
JP3736836B2 (en) Object detection method, object detection apparatus, and program
JP5056679B2 (en) Night view system
JPH0337356B2 (en)
JP2001273484A (en) Pointed position detection system, presentation system, and information storage medium
JP6093270B2 (en) Image sensor
Zhang et al. Embedded smart sensor for outdoor parking lot lighting control
JP5027646B2 (en) Combined intrusion detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100520

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: 20100608

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100628

R150 Certificate of patent or registration of utility model

Ref document number: 4542929

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 3

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

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees