JP2003134504A - Mask detector and monitor camera system - Google Patents

Mask detector and monitor camera system

Info

Publication number
JP2003134504A
JP2003134504A JP2001328124A JP2001328124A JP2003134504A JP 2003134504 A JP2003134504 A JP 2003134504A JP 2001328124 A JP2001328124 A JP 2001328124A JP 2001328124 A JP2001328124 A JP 2001328124A JP 2003134504 A JP2003134504 A JP 2003134504A
Authority
JP
Japan
Prior art keywords
mask
image
value
illuminance
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001328124A
Other languages
Japanese (ja)
Other versions
JP2003134504A5 (en
JP3919499B2 (en
Inventor
Yasushi Masuda
裕史 増田
Mamoru Sato
守 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2001328124A priority Critical patent/JP3919499B2/en
Publication of JP2003134504A publication Critical patent/JP2003134504A/en
Publication of JP2003134504A5 publication Critical patent/JP2003134504A5/ja
Application granted granted Critical
Publication of JP3919499B2 publication Critical patent/JP3919499B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a mask discrimination device that detects it when a monitor camera system is masked and to provide the monitor camera system provided with the mask discrimination device. SOLUTION: The mask discrimination device discriminates that the monitor camera system is masked (S5) when an area to be monitored has a certain degree of illuminance or more (S1); the image of monitor is a flat image because the number of edges extracted from the image is a few (S2); the number of edges of the present image is greatly smaller than that of the original image (S3); and the gain to adjust the level of an image signal is a reference value or more (S4). This invention discriminate the presence/absence of the mask by comparing the aperture of an imaging section and a shutter speed or the like with a reference value or a threshold value in addition to the illuminance, the number of the edges, the increase/decrease in the edges, and the gain. When the mask discrimination device discriminates that the monitor camera system is masked, the monitor camera system alerts the occurrence of the masked monitor camera system.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、監視領域を撮影す
る監視カメラ装置に撮影を妨害するためのマスクがされ
たことを検出するマスク検出装置及び、それを使用した
監視カメラ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mask detection device for detecting that a surveillance camera device for photographing a surveillance region has a mask for obstructing photographing, and a surveillance camera device using the mask detection device. .

【0002】[0002]

【従来の技術】従来、監視場所である店舗内又は出入り
口に監視カメラを設置し、この監視カメラから送信され
た画像を監視センタにてモニタ表示し、この画像を録画
して事後的な証拠とする監視カメラ装置が知られてい
る。
2. Description of the Related Art Conventionally, a surveillance camera is installed in a store or a doorway which is a surveillance place, an image transmitted from this surveillance camera is displayed on a monitor at a surveillance center, and this image is recorded to be used as ex post evidence. Surveillance camera devices are known.

【0003】[0003]

【発明が解決しようとする課題】上記従来の監視カメラ
装置では、不正行為者が監視カメラにガムテープなどを
貼り付けてマスクをすることにより、監視カメラの視野
が妨害され、犯罪行為の画像を撮影できないようにされ
ることがある。このような不正行為は、監視員がモニタ
を常時監視していれば気づくことができるが、監視カメ
ラの画像の録画のみを行っている場合には、不正行為に
気づかず、犯罪行為の画像を録画できなかった。
In the above-mentioned conventional surveillance camera device, an illegal person attaches a piece of tape or the like to the surveillance camera to mask it, thereby obstructing the field of view of the surveillance camera and taking an image of a criminal act. Sometimes you can't. Such fraudulent activity can be noticed if the surveillance staff constantly monitors the monitor, but if the surveillance camera is only recording the image, the fraudulent activity will not be noticed and the image of the criminal behavior will be displayed. I couldn't record.

【0004】本発明は、監視カメラ装置にマスクがされ
た場合、これを検出することができるマスク検出装置を
提供することを目的とするものである。また、このマス
ク検出装置を備えた監視カメラ装置を提供することを目
的とするものである。
It is an object of the present invention to provide a mask detection device capable of detecting a mask on a surveillance camera device. Moreover, it aims at providing the surveillance camera apparatus provided with this mask detection apparatus.

【0005】[0005]

【課題を解決するための手段】本発明は、上記目的を達
成するためになされたものである。本発明の第1のマス
ク検出装置は、監視領域を撮影した現画像から抽出した
エッジが元の画像より急激に減少し、画像信号レベル調
整用のゲインが基準値より少ないときに監視カメラ装置
にマスクがされたと判定する。これは、画像が急激にの
っぺりし、かつ暗くなった場合に監視カメラ装置にマス
クがされたと判定するものである。この場合、エッジの
数がしきい値より少ないこと、更には、監視領域の照度
がある程度あることを条件に入れることにより、誤報を
排除できる。
The present invention has been made to achieve the above object. The first mask detection device of the present invention is applied to the surveillance camera device when the edges extracted from the current image of the surveillance region are sharply reduced from the original image and the gain for image signal level adjustment is smaller than the reference value. It is determined that the mask is applied. This is to determine that the surveillance camera device has been masked when the image suddenly becomes flat and dark. In this case, false alarm can be eliminated by setting the condition that the number of edges is smaller than the threshold value and that the illuminance of the monitoring area is to some extent.

【0006】本発明の第2のマスク検出装置は、第1の
基準ゲイン値と現在のゲイン値との差が所定のしきい値
以上であり、現在のゲイン値と第2の基準ゲイン値との
差の絶対値が所定のしきい値以上であるとき、監視カメ
ラ装置にマスクがされたと判定する。これは、画像が急
激に暗くなった場合にマスクがされたと判定するもので
ある。この場合も、エッジの数がしきい値より少ないこ
と、更には監視領域の照度がある程度あることを条件に
入れることにより、誤報を排除できる。
In the second mask detecting apparatus of the present invention, the difference between the first reference gain value and the current gain value is equal to or more than a predetermined threshold value, and the current gain value and the second reference gain value are equal to each other. When the absolute value of the difference is greater than or equal to a predetermined threshold value, it is determined that the surveillance camera device is masked. This is to determine that the mask has been applied when the image suddenly darkens. Also in this case, false alarm can be eliminated by setting the condition that the number of edges is less than the threshold value and that the illuminance of the monitoring area is to some extent.

【0007】上記第1及び第2のマスク検出装置では、
種々の基準値が使用されている。これらの基準の値は、
撮像部が撮影した画像が、正常な変化をしたときに更新
される。これにより、マスクがされたりした異常画像と
基準値から差分が抽出されることとなり、正確なマスク
判定ができることになる。
In the first and second mask detecting devices,
Various reference values are used. The values of these criteria are
The image captured by the imaging unit is updated when the image changes normally. As a result, a difference is extracted from the masked abnormal image and the reference value, and accurate mask determination can be performed.

【0008】本発明の第3のマスク検出装置は、現画像
の照度が所定のしきい値以上であり、現在のゲイン値が
所定のしきい値以上であるときに、監視カメラ装置にマ
スクがされたと判定する。これは、撮影されている環境
光が十分明るいのに、撮影された画像が暗いというアン
マッチ状態の場合にマスクがされたと判定するものであ
る。この場合も、監視領域のエッジの数がしきい値より
少ないことを条件に入れることにより、誤報を排除でき
る。
According to the third mask detecting apparatus of the present invention, when the illuminance of the current image is equal to or higher than a predetermined threshold value and the current gain value is equal to or higher than the predetermined threshold value, the mask is set on the surveillance camera apparatus. It is determined that it has been done. This is to determine that the mask has been applied in an unmatched state in which the captured image is dark although the ambient light being captured is sufficiently bright. Also in this case, false alarm can be eliminated by setting the condition that the number of edges of the monitoring area is smaller than the threshold value.

【0009】本発明の第4のマスク検出装置は、監視領
域の照度が所定のしきい値未満であり、撮像部の絞り値
が所定のしきい値以上であるときに監視カメラ装置にマ
スクがされたと判定する。これは、撮影されている画像
が十分に明るいのに照度センサが暗いことを検出した場
合に、照度センサにマスクがされたと判定するものであ
る。
According to a fourth mask detecting apparatus of the present invention, when the illuminance of the monitoring area is less than a predetermined threshold value and the aperture value of the image pickup section is more than the predetermined threshold value, the mask is set on the monitoring camera apparatus. It is determined that it has been done. This is to determine that the illuminance sensor has been masked when it is detected that the captured image is sufficiently bright but the illuminance sensor is dark.

【0010】本発明においては、第5のマスク検出装置
として、赤外線の投受光を利用したマスク判定をするこ
とがある。この装置は、赤外線を投光してマスクにより
反射された赤外線を検出することによりマスクがされた
ことを判定するものである。
In the present invention, as the fifth mask detecting device, there is a case where the mask determination is performed by using the projection and reception of infrared rays. This device determines that the mask is made by projecting infrared rays and detecting the infrared rays reflected by the mask.

【0011】本発明の第6のマスク検出装置は、現在の
ゲイン値が最大値であり、現画像の全体の平均輝度が所
定のしきい値未満であり、画像を複数のブロックに分割
し、平均輝度が所定のしきい値未満のブロックの数が所
定のしきい値以上であるとき、マスクがされたと判定す
る。これは、監視領域が明るいのに現画像が暗いことを
検出した場合に、マスクがされたと判定するものであ
る。この場合も、監視領域の照度がある程度あることを
条件に入れることにより、誤報を排除できる。
In a sixth mask detecting apparatus of the present invention, the current gain value is the maximum value, the average luminance of the entire current image is less than a predetermined threshold value, the image is divided into a plurality of blocks, When the number of blocks whose average brightness is less than the predetermined threshold value is equal to or more than the predetermined threshold value, it is determined that the mask is performed. This is to judge that the mask is applied when it is detected that the current image is dark although the monitoring area is bright. Also in this case, false alarm can be eliminated by setting a condition that the illuminance of the monitoring area is to some extent.

【0012】本発明の第7のマスク検出装置は、監視領
域の照度が所定のしきい値以上であり、撮像部のシャッ
タ速度値が所定のしきい値以上であるときに監視カメラ
装置にマスクがされたと判定する。これは、監視領域が
明るいのに現画像が暗いことを検出した場合に、マスク
がされたと判定するものである。
A seventh mask detecting apparatus of the present invention masks the surveillance camera apparatus when the illuminance of the monitoring area is equal to or higher than a predetermined threshold value and the shutter speed value of the image pickup section is equal to or higher than the predetermined threshold value. It is determined that the This is to judge that the mask is applied when it is detected that the current image is dark although the monitoring area is bright.

【0013】本発明の第8のマスク検出装置は、監視領
域の照度が所定のしきい値以上であり、現在のゲインが
0であり、現画像のエッジの数が所定のしきい値未満で
あり、現画像の複数ブロックの平均輝度の最大値と最小
値との差が所定のしきい値未満であるとき、監視カメラ
装置にマスクがされたと判定する。これは、監視領域が
明るく、現画像がのっぺりしていることを検出した場合
に、マスクがされたと判定するものである。
In the eighth mask detecting apparatus of the present invention, the illuminance of the monitoring area is equal to or higher than a predetermined threshold value, the current gain is 0, and the number of edges of the current image is less than the predetermined threshold value. Yes, when the difference between the maximum value and the minimum value of the average luminance of a plurality of blocks of the current image is less than a predetermined threshold value, it is determined that the surveillance camera device is masked. This is to judge that the mask is applied when it is detected that the monitoring area is bright and the current image is flat.

【0014】本発明の監視カメラ装置は、上記の第1〜
4、6〜8のマスク検出装置の少なくとも1つを備え
る。さらに、上記の第5のマスク検出装置のように他の
ものを組み合せることもできる。本発明の監視カメラ装
置は、いずれか1つのマスク検出装置がマスクを検出す
ると、マスク異常を発報する。
The surveillance camera apparatus according to the present invention includes the above-mentioned first to third aspects.
At least one of the mask detection devices 4 and 6 to 8 is provided. Further, other devices such as the fifth mask detection device described above can be combined. The surveillance camera apparatus of the present invention issues a mask abnormality when any one of the mask detection apparatuses detects a mask.

【0015】[0015]

【発明の実施の形態】本発明の実施形態について図を用
いて説明する。図1を用いて本発明を採用した監視シス
テムの全体構成を説明する。監視領域内に複数の監視カ
メラ装置1が配置され、監視場所の画像を撮影する。監
視カメラ装置1はコントローラ2に接続される。コント
ローラ2には、モニタ3、スピーカ4が付属している。
DETAILED DESCRIPTION OF THE INVENTION An embodiment of the present invention will be described with reference to the drawings. The overall configuration of a monitoring system adopting the present invention will be described with reference to FIG. A plurality of surveillance camera devices 1 are arranged in the surveillance area to take an image of the surveillance place. The surveillance camera device 1 is connected to the controller 2. A monitor 3 and a speaker 4 are attached to the controller 2.

【0016】監視カメラ装置1とコントローラ2との間
で、設定データ、カメラ接続状態などの通信がされる。
監視カメラ装置1で撮影された画像は、上記通信と同時
にコントローラ2に伝送される。コントローラ2ではハ
ードディスクにより画像の記録再生などを行う。監視領
域に異常が発生した時は、監視カメラ装置1は、画像処
理により異常を検出すると、コントローラ2へ異常通知
及び画像伝送をする。コントローラ2は、警報音をスピ
ーカ4から発し、モニタ3上に異常警告の表示をするこ
とにより、異常発生を外部へ通知する。
Communication between the surveillance camera device 1 and the controller 2 such as setting data and camera connection state is carried out.
The image captured by the surveillance camera device 1 is transmitted to the controller 2 at the same time as the above communication. The controller 2 records and reproduces images by using a hard disk. When an abnormality occurs in the monitoring area, the monitoring camera device 1 notifies the controller 2 of the abnormality and transmits an image when the abnormality is detected by image processing. The controller 2 issues an alarm sound from the speaker 4 and displays an abnormality warning on the monitor 3 to notify the outside of the abnormality.

【0017】また、監視カメラ装置1は、あらかじめ数
枚の画像を装置内部に保持をする。なお、保持された画
像のうち、最新の画像を「現画像」、それより古い画像
を「元画像」という。コントローラ2が画像を記録する
状態にないときに異常が発生した場合は、あらかじめ保
持していた画像をコントローラ2に送出する。これによ
り、コントローラ2において、異常発生前と異常発生時
と現在の画像の比較をすることにより異常確認ができ、
証拠画像の記録をすることができる。
Further, the surveillance camera device 1 holds several images in advance inside the device. Note that among the held images, the latest image is called “current image” and the images older than that are called “original image”. If an abnormality occurs while the controller 2 is not in the state of recording an image, the image held in advance is sent to the controller 2. As a result, the controller 2 can confirm the abnormality by comparing the current image before the occurrence of the abnormality, the time when the abnormality occurred, and the current image,
Evidence images can be recorded.

【0018】図2を用いて、監視カメラ装置1の構成を
説明する。レンズ5と撮像素子6により撮像部7が構成
される。撮像素子6は、CCDにより構成される。レン
ズ5を通して撮像素子6に結像された画像は、電気信号
に変換され、制御部8に入力される。画像信号は、モニ
タI/F(インターフェース)9を通して外部に出力可
能である。通信部11によりコントローラ2との通信が
行われる。異常発生時には、コントローラ2において異
常表示がされる。
The configuration of the surveillance camera device 1 will be described with reference to FIG. The lens 5 and the image pickup device 6 form an image pickup unit 7. The image sensor 6 is composed of a CCD. The image formed on the image sensor 6 through the lens 5 is converted into an electric signal and input to the control unit 8. The image signal can be output to the outside through the monitor I / F (interface) 9. The communication unit 11 communicates with the controller 2. When an abnormality occurs, the controller 2 displays an abnormality.

【0019】記憶部12には、画像信号の一部データが
記憶されると共に、複数の画像がリングバッファ状に記
録される。照度センサ13と赤外線受光センサ15が設
けられ、外部環境データを制御部8に入力する。マスク
検出用の赤外線投光器14が設けられる。表示部16
は、LEDなどにより構成され、監視カメラ装置1の状
態を外部に対して表示する。
The storage unit 12 stores a part of the image signal data and also stores a plurality of images in a ring buffer form. An illuminance sensor 13 and an infrared light receiving sensor 15 are provided to input external environment data to the control unit 8. An infrared projector 14 for mask detection is provided. Display unit 16
Is configured by an LED or the like, and displays the state of the surveillance camera device 1 to the outside.

【0020】制御部8は、撮像制御手段17、表示/出
力手段18、マスク判定手段19、画像処理手段21を
有する。撮像制御手段17は、画像信号レベルが一定に
なるように、撮像部7のレンズ5の絞りを制御し、撮像
素子6のシャッタ速度を制御し、ゲインを制御する。絞
り値は、監視領域が明るくなると大きな値にされる。シ
ャッタ速度値は、監視領域が明るくなると小さな値にさ
れる。ゲインは、監視領域が明るくなると小さな値にな
る。また、監視領域の照度が明るいときは絞りによる制
御がされ、照度が暗いときはシャッタ速度による制御が
され、中間の明るさのときは、ゲインによる制御がされ
る。
The control section 8 has an image pickup control means 17, a display / output means 18, a mask determination means 19, and an image processing means 21. The image pickup control unit 17 controls the aperture of the lens 5 of the image pickup unit 7, controls the shutter speed of the image pickup device 6, and controls the gain so that the image signal level becomes constant. The aperture value is set to a large value when the monitored area becomes bright. The shutter speed value is set to a small value when the monitored area becomes bright. The gain has a small value when the monitored area becomes bright. Further, when the illuminance of the monitoring area is bright, the control is performed by the diaphragm, when the illuminance is dark, the control is performed by the shutter speed, and when the illuminance is intermediate, the control is performed by the gain.

【0021】表示/出力手段18は、画像及びその他の
情報を表示部16、モニタI/F9、通信部11から出
力するための処理を行う。画像処理手段21は、画像処
理をすることにより異常の有無を判定し、異常を検知し
たときは、通信部11からコントローラ2へ異常信号を
出力する。更に、画像全体の平均輝度、画像を6個のブ
ロックに分割したときのそれぞれの平均輝度、及び、画
像中のエッジの数を抽出する。
The display / output means 18 performs processing for outputting an image and other information from the display section 16, the monitor I / F 9, and the communication section 11. The image processing unit 21 determines whether or not there is an abnormality by performing image processing, and when detecting the abnormality, outputs an abnormality signal from the communication unit 11 to the controller 2. Further, the average brightness of the entire image, the average brightness of each image when the image is divided into six blocks, and the number of edges in the image are extracted.

【0022】マスク判定手段19には、照度センサ13
が検出した照度と、赤外線受光センサ15が受光した赤
外線レベルと、画像処理手段21が抽出した画像全体の
平均輝度と、画像を複数に分割したブロックのそれぞれ
の平均輝度及びエッジの数と、撮像部7から出力される
画像信号レベルを所定レベルに調整するためのゲイン値
と、撮像部7に出力される絞り値及びシャッタ速度が入
力される。マスク判定手段19は、これらの情報に基づ
いて、総合的に監視カメラ装置1にマスクがされたか否
かの判定を行う。また、赤外線投光器14による赤外線
の投光を制御する。
The mask determination means 19 includes an illuminance sensor 13
Detected, the infrared level received by the infrared light receiving sensor 15, the average brightness of the entire image extracted by the image processing means 21, the average brightness of each of the blocks obtained by dividing the image into a plurality of blocks, and the number of edges, and imaging. A gain value for adjusting the image signal level output from the unit 7 to a predetermined level, an aperture value output to the imaging unit 7, and a shutter speed are input. The mask determination means 19 comprehensively determines whether or not the surveillance camera device 1 is masked based on these pieces of information. In addition, the infrared projector 14 controls the projection of infrared rays.

【0023】(マスク判定処理)図3〜図9を用いて、
マスク判定手段19における第1〜第8の判定処理を説
明する。以下の処理は、所定時間ごとに実行される。以
下の各判定処理においては、マスクがされたと判定した
場合はM1〜M8フラグをオンし、マスクがされたと判
定できない場合はM1〜M8フラグをオフする。このM
1〜M8フラグは、後述の発報処理に使用される。
(Mask judgment process) Referring to FIGS.
First to eighth determination processing in the mask determination means 19 will be described. The following processing is executed every predetermined time. In each of the following determination processes, the M1 to M8 flags are turned on when it is determined that the mask is applied, and the M1 to M8 flags are turned off when the mask is not determined to be applied. This M
The 1 to M8 flags are used in the alarm processing described later.

【0024】(マスク判定処理1)図3を用いて、第1
のマスク判定処理を説明する。ここでは、主として画像
中のエッジの数が減少することによりマスクが貼り付け
られたと判定する。画像が監視領域を撮影したものであ
れば、画像には種々のものが写っているため多くのエッ
ジが抽出される。これに対し、レンズ5の前にマスクが
貼り付けられると、マスクの画像はのっぺりしたものと
なり、エッジの数が減少する。
(Mask Judgment Process 1) Referring to FIG.
The mask determination processing of will be described. Here, it is determined that the mask is pasted mainly because the number of edges in the image is reduced. If the image is a photograph of the surveillance area, many edges are extracted because various things are reflected in the image. On the other hand, when a mask is attached in front of the lens 5, the image of the mask becomes flat and the number of edges is reduced.

【0025】ステップS1で、照度センサが検出した現
在の監視領域の照度(S照度)が、照度しきい値(CT
h1)以上であるか否かが判定される。CTh1と他の
照度しきい値との関係は図15に示されている。マスク
判定ができる程度に明るい画像が得られておらず、以下
のマスク判定処理が行える環境になければNOとなり、
ステップS6へ進みM1フラグをオフする。YESであ
ればステップS2へ進む。
In step S1, the illuminance (S illuminance) of the current monitoring area detected by the illuminance sensor is the illuminance threshold (CT
It is determined whether or not h1) or more. The relationship between CTh1 and other illuminance threshold values is shown in FIG. If a bright image is not obtained to the extent that mask determination is possible, and the environment is such that the following mask determination processing can be performed, it becomes NO,
In step S6, the M1 flag is turned off. If YES, the process proceeds to step S2.

【0026】ステップS2で、画像処理手段21が現画
像から抽出したエッジの数(Sエッジ)が、エッジのし
きい値(ETh1)未満であるか否かが判定される。E
Th1と他のエッジしきい値との関係は図16に示され
ている。ここでは、画像がのっぺりしたものであるか否
かが判定される。上記のようにレンズ5の前にマスクが
されると、画像はのっぺりしたものとなる。のっぺりし
ていなければNOとなり、ステップS6へ進んでM1フ
ラグをオフし、のっぺりしていればYESとなりステッ
プS3へ進む。
In step S2, it is determined whether or not the number of edges (S edges) extracted from the current image by the image processing means 21 is less than the edge threshold value (ETh1). E
The relationship between Th1 and other edge thresholds is shown in FIG. Here, it is determined whether or not the image is flat. When the mask is placed in front of the lens 5 as described above, the image becomes flat. If it is not flat, the result is NO, the process proceeds to step S6 to turn off the M1 flag, and if it is flat, the result is YES and the process proceeds to step S3.

【0027】ステップS3で、現画像から得たエッジの
数(Sエッジ)が、元画像から得た基準のエッジ数(R
エッジ)より−ETh2(%)以上小さいか否かが判定
される。ETh2と他のエッジしきい値との関係は図1
6に示されている。現画像のエッジの数が元画像から急
減していれば、YESとなりステップS4へ進む。NO
であれば、ステップS6へ進んでM1フラグをオフす
る。
In step S3, the number of edges (S edges) obtained from the current image is the reference number of edges (R) obtained from the original image.
It is determined whether it is smaller than the edge) by -ETh2 (%) or more. The relationship between ETh2 and other edge thresholds is shown in FIG.
6 is shown. If the number of edges of the current image has sharply decreased from the original image, the determination result is YES and the process proceeds to step S4. NO
If so, the process proceeds to step S6 to turn off the M1 flag.

【0028】ステップS4で、撮像制御手段17のゲイ
ン(Sゲイン)が、元画像から得た基準のゲイン(Rゲ
イン)以上であるか否かが判定される。現画像が元画像
より明るくなっていればNOとなる。マスクがされたと
きに画像が明るくなることはないので、この場合はステ
ップS6へ進んでM1フラグをオフする。YESであれ
ば、画像が暗くなっているので、ステップS5へ進ん
で、M1フラグをオンにする。M1フラグがオンされる
ことは、マスクがされたと判定することである。
In step S4, it is determined whether or not the gain (S gain) of the image pickup control means 17 is equal to or larger than the reference gain (R gain) obtained from the original image. The result is NO if the current image is brighter than the original image. Since the image does not become bright when masked, in this case, the process proceeds to step S6 and the M1 flag is turned off. If YES, the image is dark, so the flow advances to step S5 to turn on the M1 flag. The turning on of the M1 flag means that the masking has been performed.

【0029】以上説明した図3の処理によれば、レンズ
5がマスクされることにより、画像がのっぺりとする現
象を利用し、画像から抽出したエッジの数が少なく、か
つ急激に減少した場合に、マスクがされたと判定をす
る。また、監視領域の照度が少しはあること、画像が明
るくなっていないことを条件とすることにより誤報を防
止している。
According to the processing of FIG. 3 described above, the phenomenon in which the image is flat due to the masking of the lens 5 is used, and when the number of edges extracted from the image is small and the edge sharply decreases. , It is determined that the mask is applied. In addition, false alarms are prevented by setting the condition that the illuminance of the monitoring area is a little and that the image is not bright.

【0030】(マスク判定処理2)図4を用いて、第2
のマスク判定処理を説明する。ここでは、マスクがされ
ると画像が急激に暗くなる現象を利用して、マスクが貼
り付けられたことを検出する。ステップS7で、照度セ
ンサが検出した照度(S照度)が、照度しきい値(CT
h1)以上であるか否かが判定される。CTh1と他の
照度しきい値との関係は図15に示されている。マスク
判定ができる程度に明るい画像が得られていなければN
Oとなり、ステップS12へ進みM2フラグをオフす
る。YESであればステップS8へ進む。
(Mask determination process 2) The second process will be described with reference to FIG.
The mask determination processing of will be described. Here, the fact that the image is abruptly darkened when the mask is applied is used to detect that the mask is attached. In step S7, the illuminance (S illuminance) detected by the illuminance sensor is the illuminance threshold (CT
It is determined whether or not h1) or more. The relationship between CTh1 and other illuminance threshold values is shown in FIG. N if the image is not bright enough to determine the mask
When it becomes O, the process proceeds to step S12 and the M2 flag is turned off. If YES, the process proceeds to step S8.

【0031】ステップS8で、現画像のエッジの数(S
エッジ)が、エッジのしきい値(ETh3)未満である
か否かが判定される。ETh3と他のエッジしきい値と
の関係は図16に示されている。通常値以下のエッジの
数(のっぺりしている)であれば、YESとなりステッ
プS9へ進む。NOであればステップS12でM2フラ
グをオフする。ステップS9で、元画像により決められ
た基準ゲイン(RゲインI)と現画像のゲイン(Sゲイ
ン)との差が、ゲインのしきい値(GTh1)以上であ
るか否かが判定される。GTh1と他のゲインしきい値
との関係は図17に示されている。元画像より画像が急
激に暗くなったのであればYESとなりステップS10
へ進む。NOであれば、ステップS12でM2フラグを
オフし、
In step S8, the number of edges of the current image (S
Edge) is less than the edge threshold (ETh3). The relationship between ETh3 and other edge thresholds is shown in FIG. If the number of edges is equal to or less than the normal value (is flat), the determination result is YES and the process proceeds to step S9. If NO, the M2 flag is turned off in step S12. In step S9, it is determined whether or not the difference between the reference gain (R gain I) determined by the original image and the gain (S gain) of the current image is equal to or larger than the gain threshold value (GTh1). The relationship between GTh1 and other gain thresholds is shown in FIG. If the image suddenly becomes darker than the original image, YES is determined and the step S10 is performed.
Go to. If NO, the M2 flag is turned off in step S12,

【0032】ステップS10で、現画像のゲイン値(S
ゲイン)と暗いときの正常ゲイン(RゲインII)との
差の絶対値がゲインのしきい値(GTh2)以上である
か否かが判定される。GTh2と他のゲインしきい値と
の関係は図17に示されている。SゲインとRゲインI
Iがほぼ同じであればNOとなり、ステップS12でM
2フラグをオフし、誤報を防止する。YESであれば、
ステップS11へ進み、M2フラグをオンする。
In step S10, the gain value (S
It is determined whether the absolute value of the difference between the gain) and the normal gain when dark (R gain II) is greater than or equal to the gain threshold (GTh2). The relationship between GTh2 and other gain thresholds is shown in FIG. S gain and R gain I
If I is almost the same, NO is determined, and M is determined in step S12.
Turn off the 2 flag to prevent false alarms. If yes,
In step S11, the M2 flag is turned on.

【0033】以上説明した図4の処理によれば、レンズ
5がマスクされて画像が急激に暗くなる場合に、マスク
がされたと判定する。また、監視領域の照度が少しはあ
ること、画像のエッジがあること、ゲインが暗い環境の
ときとほぼ同じことを条件とすることにより誤報を防止
している。
According to the processing of FIG. 4 explained above, when the lens 5 is masked and the image suddenly becomes dark, it is determined that the masking is performed. In addition, false alarms are prevented under the conditions that the illuminance of the monitoring area is a little, that there is an edge of the image, and that the gain is almost the same as in the dark environment.

【0034】(マスク判定処理3)図5を用いて、第3
のマスク判定処理を説明する。ここでは、監視領域の環
境光が明るいのに現画像が暗い場合にマスクが貼り付け
られたと判定する。ステップS13で、照度センサが検
出した照度(S照度)が、照度しきい値(CTh2)以
上であるか否かが判定される。CTh2と他の照度しき
い値との関係は図15に示されている。十分に明るい画
像が得られていなければNOとなり、ステップS17へ
進みM3フラグをオフする。YESであればステップS
14へ進む。
(Mask determination process 3) The third process will be described with reference to FIG.
The mask determination processing of will be described. Here, it is determined that the mask is attached when the current image is dark although the ambient light in the monitoring area is bright. In step S13, it is determined whether the illuminance detected by the illuminance sensor (S illuminance) is equal to or higher than the illuminance threshold (CTh2). The relationship between CTh2 and other illuminance thresholds is shown in FIG. If a sufficiently bright image has not been obtained, the determination is NO, and the process advances to step S17 to turn off the M3 flag. If YES, step S
Proceed to 14.

【0035】ステップS14で、現画像のエッジの数
(Sエッジ)が、エッジのしきい値(ETh4)未満で
あるか否かが判定される。ETh4と他のエッジしきい
値の関係は図16に示されている。現画像がある程度の
っぺりしていればYESとなり、ステップS15へ進
む。NOであればステップS17へ進みM3フラグをオ
フする。
In step S14, it is determined whether or not the number of edges (S edges) of the current image is less than the edge threshold value (ETh4). The relationship between ETh4 and other edge thresholds is shown in FIG. If the current image is flat to some extent, the determination is YES and the process proceeds to step S15. If NO, the process advances to step S17 to turn off the M3 flag.

【0036】ステップS15で、現画像のゲイン(Sゲ
イン)がゲインのしきい値(GTh3)以上であるか否
かが判定される。GTh3と他のゲインしきい値との関
係は図17に示されている。撮影された画像が暗ければ
YESとなり、ステップS16へ進んでM3フラグをオ
ンにする。NOであればステップS17へ進みM3フラ
グをオフする。以上説明した図5の処理によれば、環境
光が十分明るいのに、撮影された画像が暗いというアン
マッチが生じた場合は、マスクがされたと判定をする。
また、現画像がのっぺりした画像となっていることを条
件に入れることにより、マスクがされておらず何らかの
画像が撮影されている可能性がある場合の誤報を防止し
ている。
In step S15, it is determined whether or not the gain (S gain) of the current image is equal to or larger than the gain threshold value (GTh3). The relationship between GTh3 and other gain thresholds is shown in FIG. If the taken image is dark, the determination result is YES, and the process proceeds to step S16 to turn on the M3 flag. If NO, the process advances to step S17 to turn off the M3 flag. According to the processing of FIG. 5 described above, when the unmatched occurrence that the captured image is dark even though the ambient light is sufficiently bright, it is determined that the mask is applied.
In addition, by setting a condition that the current image is a flat image, it is possible to prevent an erroneous report when there is a possibility that some image is captured without being masked.

【0037】(マスク判定処理4)図6を用いて、第4
のマスク判定処理を説明する。ここでは、撮影されてい
る画像が十分明るいのに、照度センサが十分な照度を検
出していない場合にマスクが貼り付けられたと判定す
る。ステップS18で、照度センサ13が検出した照度
(S照度)が、照度しきい値(CTh3)未満であるか
否かが判定される。CTh3とその他の照度しきい値と
の関係は図15に示されている。暗い照度が得られてい
なければNOとなり、ステップS21へ進みM4フラグ
をオフする。YESであればステップS19へ進む。
(Mask determination process 4)
The mask determination processing of will be described. Here, it is determined that the mask is attached when the captured image is sufficiently bright but the illuminance sensor does not detect sufficient illuminance. In step S18, it is determined whether the illuminance (S illuminance) detected by the illuminance sensor 13 is less than the illuminance threshold (CTh3). The relationship between CTh3 and other illuminance threshold values is shown in FIG. If the dark illuminance is not obtained, the determination is NO and the process proceeds to step S21 to turn off the M4 flag. If YES, the process proceeds to step S19.

【0038】ステップS19で、現画像撮影時の絞り
(S絞り)がしきい値ITh1以上か否かが判定され
る。現画像が暗ければNOとなり、ステップS21でM
4フラグをオフする。YESであれば、ステップS20
でM4フラグをオンする。以上説明した図6の処理によ
れば、画像が明るいのに照度センサ13が検出した照度
は暗いというアンマッチが生じた場合に、マスクがされ
たと判定をする。すでに説明した第1から第3のマスク
判定処理では、照度センサの検出結果によりマスク検出
を行わないようにしている。したがって、本例のように
照度センサ13のマスク行為を検出することが重要にな
ってくる。
In step S19, it is determined whether or not the diaphragm (S diaphragm) at the time of photographing the current image is equal to or larger than the threshold value ITh1. If the current image is dark, the result is NO, and in step S21 M
4 Turn off the flag. If YES, step S20
Turns on the M4 flag. According to the processing of FIG. 6 described above, it is determined that the mask is applied when an unmatch occurs that the image is bright but the illuminance detected by the illuminance sensor 13 is dark. In the above-described first to third mask determination processing, mask detection is not performed based on the detection result of the illuminance sensor. Therefore, it becomes important to detect the masking action of the illuminance sensor 13 as in this example.

【0039】(マスク判定処理5)第5のマスク判定処
理を説明する。従来、赤外線投光器14により監視カメ
ラ装置1の前方に赤外線を投光し、反射された赤外線を
赤外線受光センサ15で受光することによりマスクがさ
れたか否かを判定する方法が提案されている(例、特願
2001−275182)。本例の監視カメラ装置1に
おいてもこの装置を採用し、マスクが貼り付けられた場
合は、M5フラグをオンするようにしている。
(Mask Determination Processing 5) The fifth mask determination processing will be described. Conventionally, a method has been proposed in which infrared rays are projected by the infrared projector 14 in front of the surveillance camera apparatus 1 and reflected infrared rays are received by an infrared light receiving sensor 15 to determine whether or not a mask is applied (example). , Japanese Patent Application No. 2001-275182). This device is also used in the surveillance camera device 1 of this example, and when the mask is attached, the M5 flag is turned on.

【0040】(マスク判定処理6)図7を用いて、第6
のマスク判定処理を説明する。ここでは、環境が明るい
のに撮影された画像が暗い場合にマスクが貼り付けられ
たと判定する。ステップS22で、照度センサ13が検
出した照度(S照度)が、照度しきい値(CTh1)以
上であるか否かが判定される。CTh1と他の照度しき
い値との関係は図15に示されている。マスク判定がで
きる程度に明るい画像が得られていなければNOとな
り、ステップS27へ進みM6フラグをオフする。YE
SであればステップS23へ進む。
(Mask Judgment Process 6) The sixth process will be described with reference to FIG.
The mask determination processing of will be described. Here, it is determined that the mask is attached when the captured image is dark although the environment is bright. In step S22, it is determined whether or not the illuminance (S illuminance) detected by the illuminance sensor 13 is equal to or higher than the illuminance threshold (CTh1). The relationship between CTh1 and other illuminance threshold values is shown in FIG. If a bright image to the extent that mask determination is possible has not been obtained, the determination is NO, and the flow advances to step S27 to turn off the M6 flag. YE
If S, go to step S23.

【0041】ステップS23で、現画像のゲイン(Sゲ
イン)が最大値になっているか否かが判定される。撮影
画像が暗ければYESとなり、ステップS24へ進む。
NOであれば、ステップS27でM6フラグをオフす
る。ステップS24で、画像処理手段21が抽出した画
像全体の平均輝度が輝度しきい値YTh未満であるか否
かが判定される。YTh1と他の輝度しきい値との関係
は図19に示されている。撮影画像が暗ければYESと
なり、ステップS25へ進む。NOであればステップS
27でM6フラグをオフする。
In step S23, it is determined whether or not the gain (S gain) of the current image has the maximum value. If the taken image is dark, the determination result is YES and the process proceeds to step S24.
If NO, the M6 flag is turned off in step S27. In step S24, it is determined whether the average brightness of the entire image extracted by the image processing means 21 is less than the brightness threshold YTh. The relationship between YTh1 and other luminance threshold values is shown in FIG. If the taken image is dark, the determination result is YES, and the process proceeds to step S25. If NO, step S
At 27, the M6 flag is turned off.

【0042】ステップS25で、画像処理手段21が抽
出した画像を複数に分割したブロックのそれぞれの平均
輝度が、輝度しきい値YTh2未満であるか否かを判定
する。そして、未満であるブロックの数が個数しきい値
NTh1以上であるか否かが判定される。YTh2と他
の輝度しきい値との関係は図19に示されている。撮影
画像が暗ければYESとなり、ステップS26でM6フ
ラグをオンする。NOであればステップS27でM6フ
ラグをオフする。
In step S25, it is determined whether or not the average brightness of each of the blocks obtained by dividing the image extracted by the image processing means 21 into a plurality of values is less than the brightness threshold value YTh2. Then, it is determined whether or not the number of blocks that is less than or equal to is the number threshold value NTh1 or more. The relationship between YTh2 and other luminance threshold values is shown in FIG. If the taken image is dark, the determination is YES, and the M6 flag is turned on in step S26. If NO, the M6 flag is turned off in step S27.

【0043】以上説明した図7の処理によれば、環境が
明るいのに撮影された画像が黒いという現象を利用して
マスクがされたと判定をする。この処理は、黒いもの、
光の透過しないものなどでマスクをされたことを検出す
る場合に有効である。なお、ステップS25では、画像
を数ブロックに分割し、黒くなっているブロックが大部
分を占める場合はマスク異常と判定している。これによ
り、検出精度が向上する。
According to the processing of FIG. 7 described above, it is determined that the mask is applied by utilizing the phenomenon that the photographed image is black although the environment is bright. This process is black
This is effective when detecting that a mask is used with something that does not transmit light. In step S25, the image is divided into several blocks, and when the black blocks occupy most of the blocks, it is determined that the mask is abnormal. This improves the detection accuracy.

【0044】(マスク判定処理7)図8を用いて、第7
のマスク判定処理を説明する。ここでは、環境が明る
く、作成された画像が暗い場合にマスクが貼り付けられ
たと判定する。ステップS28で、照度センサが検出し
た照度(S照度)が、照度しきい値(CTh1)以上で
あるか否かが判定される。CTh1と他の照度しきい値
との関係は図15に示されている。マスク判定ができる
程度に明るい画像が得られていなければNOとなり、ス
テップS31へ進みM7フラグをオフする。YESであ
ればステップS29へ進む。
(Mask determination process 7) The seventh process will be described with reference to FIG.
The mask determination processing of will be described. Here, it is determined that the mask is attached when the environment is bright and the created image is dark. In step S28, it is determined whether or not the illuminance (S illuminance) detected by the illuminance sensor is equal to or higher than the illuminance threshold (CTh1). The relationship between CTh1 and other illuminance threshold values is shown in FIG. If a bright image to the extent that mask determination is possible has not been obtained, the determination is NO, and the flow advances to step S31 to turn off the M7 flag. If YES, the process proceeds to step S29.

【0045】ステップS29で、現画像撮影時のシャッ
タ速度値(Sシャタ速度値)がしきい値STh1未満で
あるか否かが判定される。すでに説明したように、絞り
開放及びゲインアップをしても画像が暗い場合にスロー
シャッタ(シャタ速度値が大)が使用される。現画像が
暗ければYESとなり、ステップS30でM7フラグを
オンする。NOであれば、ステップS31でM7フラグ
をオフする。以上説明した図8の処理によれば、環境が
明るく画像が暗い場合にマスクが貼り付けられたと判定
する。
In step S29, it is determined whether or not the shutter speed value (S shutter speed value) at the time of shooting the current image is less than the threshold value STh1. As described above, the slow shutter (large shutter speed value) is used when the image is dark even if the aperture is opened and the gain is increased. If the current image is dark, the determination is YES, and the M7 flag is turned on in step S30. If NO, the M7 flag is turned off in step S31. According to the processing of FIG. 8 described above, it is determined that the mask is attached when the environment is bright and the image is dark.

【0046】(マスク判定処理8)図9を用いて、第8
のマスク判定処理を説明する。ここでは、環境が明るく
撮影された画像がのっぺりしている場合に、マスクが貼
り付けられたと判定する。ステップS32で、照度セン
サ13が検出した照度(S照度)が、照度しきい値(C
Th4)以上であるか否かが判定される。CTh4とそ
の他の照度しきい値との関係は図15に示されている。
十分に明るい画像が得られていなければNOとなり、ス
テップS38へ進みM8フラグをオフする。YESであ
ればステップS33へ進む。
(Mask determination process 8) The eighth process will be described with reference to FIG.
The mask determination processing of will be described. Here, it is determined that the mask is attached when the image captured in a bright environment is flat. In step S32, the illuminance (S illuminance) detected by the illuminance sensor 13 is the illuminance threshold (C
Th4) or more is determined. The relationship between CTh4 and other illuminance threshold values is shown in FIG.
If a sufficiently bright image has not been obtained, the result is NO, the process proceeds to step S38, and the M8 flag is turned off. If YES, the process proceeds to step S33.

【0047】ステップS33で、赤外線投光器14の非
投光時に赤外線受光センサ15が受光した赤外線レベル
が、しきい値IRTh1以上であるか否かが判定され
る。環境光中の赤外線が検出されるとYESとなり、環
境が明るいと判定されてステップS34へ進む。NOで
あればステップS38へ進みM8フラグをオフする。
In step S33, it is determined whether or not the infrared level received by the infrared light receiving sensor 15 when the infrared light projector 14 is not projecting light is equal to or higher than the threshold IRTh1. If infrared rays in the ambient light are detected, the result is YES, it is determined that the environment is bright, and the process proceeds to step S34. If NO, the process advances to step S38 to turn off the M8 flag.

【0048】ステップS34で、現画像のゲイン(Sゲ
イン)が0以下であるか否かが判定される。画像が明る
ければYESとなり、ステップS35へ進む。NOであ
れば、ステップS38へ進みM8フラグをオフする。ス
テップS35で、現画像から得たエッジの数(Sエッ
ジ)が、しきい値ETh5未満であるか否かが判定され
る。ETh5と他のエッジしきい値との関係は図16に
示されている。撮影画像がすごくのっぺりしていればY
ESとなり、ステップS36へ進む。NOであれば、ス
テップS38へ進みM8フラグをオフする。
In step S34, it is determined whether or not the gain (S gain) of the current image is 0 or less. If the image is bright, the determination is YES and the process proceeds to step S35. If NO, the process advances to step S38 to turn off the M8 flag. In step S35, it is determined whether or not the number of edges (S edges) obtained from the current image is less than the threshold value ETh5. The relationship between ETh5 and other edge thresholds is shown in FIG. Y if the shot image is very flat
It becomes ES, and the process proceeds to step S36. If NO, the process advances to step S38 to turn off the M8 flag.

【0049】ステップS36で、画像処理手段21によ
り現画像を6ブロックに分割した各ブロックの輝度値を
求め、各輝度値の最大値と最小値との差(MAX−MI
N)が輝度しきい値YTh3未満であるか否かが判定さ
れる。YTh3と他の輝度しきい値との関係は図19に
示されている。画像がのっぺりしていればYESとな
り、ステップS37へ進んでM8フラグをオンする。N
Oであれば、ステップS38へ進みM8フラグをオフす
る。
In step S36, the image processing means 21 obtains the luminance value of each block obtained by dividing the current image into six blocks, and the difference between the maximum value and the minimum value of each luminance value (MAX-MI).
It is determined whether N) is less than the brightness threshold value YTh3. The relationship between YTh3 and other luminance threshold values is shown in FIG. If the image is flat, the determination is YES and the process proceeds to step S37 to turn on the M8 flag. N
If it is O, the process proceeds to step S38 to turn off the M8 flag.

【0050】以上説明した図9の処理によれば、環境が
十分に明るいのに画像がのっぺりしている場合に、マス
クが貼り付けられたと判定する。この処理では、光の透
過率の高いもの、白いものなどでマスクをされたことを
検出する場合に有効である。
According to the processing of FIG. 9 described above, when the environment is sufficiently bright and the image is flat, it is determined that the mask is attached. This processing is effective when it is detected that the mask is made of a material having a high light transmittance or a white material.

【0051】(発報処理)図3から図9を用いて説明し
たように、マスク判定手段19は、マスクがされたと判
定すると、M1〜M8フラグの少なくとも1つをオンに
する。表示/出力手段18は、これを受けて外部にマス
ク異常を発報する。このとき、M1〜M8フラグのオン
により直ちに発報をすると、マスク行為のない瞬間的な
画像変化があっただけでマスク異常を発報する(誤報)
おそれがある。一方、本当のマスク行為があった場合
は、少なくとも数秒間はマスク行為が継続する。本例で
は、M1〜M8フラグが数秒間継続した場合にのみマス
ク異常を出力するようにする。
(Issuing Report) As described with reference to FIGS. 3 to 9, the mask determination means 19 turns on at least one of the M1 to M8 flags when it determines that the mask has been made. In response to this, the display / output means 18 issues a mask abnormality to the outside. At this time, if the M1 to M8 flags are turned on to immediately issue an alarm, an abnormal mask is issued only by a momentary image change without a mask action (erroneous alarm).
There is a risk. On the other hand, if there is a true masking action, the masking action continues for at least a few seconds. In this example, the mask abnormality is output only when the M1 to M8 flags continue for several seconds.

【0052】図10は、表示/出力手段18における発
報判定処理を示す。ステップS39で、M1〜M8のフ
ラグのいずれかがオンとなったか否かが判定される。こ
こでNOであれば、ステップS41でタイマTM1をリ
セット(初期値に戻す)し、MASKフラグをオフす
る。YESであればステップS40へ進む。
FIG. 10 shows the alert determination processing in the display / output means 18. In step S39, it is determined whether or not any of the flags M1 to M8 is turned on. If NO here, the timer TM1 is reset (returned to the initial value) and the MASK flag is turned off in step S41. If YES, the process proceeds to step S40.

【0053】ステップS40でタイマTM1がディクリ
メントされ、ステップS42で、タイマTM1の値が0
になったか否かが判定される。タイマTM1は、図10
の処理が10秒間繰り返されると値が0となるように初
期値が設定されている。NOであれば、ステップS44
へ進みMASKフラグをオフする。タイマTM1がタイ
ムアップするとYESとなり、ステップS43へ進みM
ASKフラグをオンする。MASKフラグがオンされる
と、マスク異常の発報がされる。
The timer TM1 is decremented in step S40, and the value of the timer TM1 is set to 0 in step S42.
Is determined. The timer TM1 is shown in FIG.
The initial value is set so that the value becomes 0 when the process of is repeated for 10 seconds. If NO, step S44
Then, the MASK flag is turned off. If the timer TM1 has timed out, the result is YES, and the process proceeds to step S43.
Turn on the ASK flag. When the MASK flag is turned on, a mask abnormality is reported.

【0054】図10に示した例では、マスク判定処理1
〜8のすべてを利用して発報処理をしているが、監視対
象領域の特性に応じて、上記以外のマスク判定処理を加
えることも、マスク判定処理1〜8の一部を省略するこ
ともできる。例えば、監視対象が倉庫のように暗い場所
である場合、マスク判定処理1(監視画像エッジが急減
したことを検出)、同5(赤外線の反射を検出)、同6
又は7(監視画像が真っ黒になったことを検出)の組み
合せが好ましい。
In the example shown in FIG. 10, mask determination processing 1
Although the alerting process is performed using all of 8 to 8, mask determining processes other than the above may be added depending on the characteristics of the monitoring target area, or a part of the mask determining processes 1 to 8 may be omitted. You can also For example, when the monitoring target is a dark place such as a warehouse, mask determination processing 1 (detecting that the edge of the monitoring image has suddenly decreased), 5 (detection of infrared reflection), 6
Alternatively, a combination of 7 (detecting that the surveillance image has become completely black) is preferable.

【0055】パチンコ店のように、営業中は明るく、夜
間は多少の監視カメラ用照明を点灯している場所である
場合、マスク判定処理1(監視画像エッジが急減したこ
とを検出)、同2(監視画像が急激に暗くなったことを
検出)、同6又は7(監視画像が真っ黒になったことを
検出)の組み合せが好ましい。24時間ATM、コンビ
ニのように、常に明るい場所である場合、マスク判定処
理1(監視画像エッジが急減したことを検出)、同2
(監視画像が急激に暗くなったことを検出)、同3(画
像が暗く、照度センサが明るいアンマッチ状態を検出)
の組み合せが好ましい。この場合、更に、マスク判定処
理4(照度センサのみのマスクを検出)を補助的役割と
して採用することができる。
When it is a place such as a pachinko parlor that is bright during business and has some surveillance camera illumination turned on at night, mask determination processing 1 (detection that the surveillance image edge has suddenly decreased), 2 A combination of (detecting that the surveillance image has become abruptly dark) and 6 or 7 (detecting that the surveillance image has become completely black) are preferable. If it is always a bright place such as a 24-hour ATM or convenience store, mask determination processing 1 (detection that the monitor image edge has rapidly decreased), 2
(Detects that the surveillance image has suddenly become dark), 3 (the image is dark and the illuminance sensor is bright and detects an unmatched state)
Is preferred. In this case, the mask determination process 4 (detecting the mask of only the illuminance sensor) can be employed as an auxiliary role.

【0056】屋外監視のように、昼間は非常に明るい場
合は、マスク判定処理1(監視画像エッジが急減したこ
とを検出)、同2(監視画像が急激に暗くなったことを
検出)、同8(画像に濃淡がなくなったことを検出)の
組み合せが好ましい。この場合、更に、マスク判定処理
4(照度センサの身のマスクを検出)を補助的役割とし
て採用することができる。
If it is very bright in the daytime, as in outdoor monitoring, the mask determination processing 1 (detects that the edge of the monitoring image has suddenly decreased), the same 2 (detects that the monitoring image has suddenly become dark), A combination of 8 (detecting that the image has no shading) is preferable. In this case, the mask determination process 4 (detecting the body mask of the illuminance sensor) can be further employed as an auxiliary role.

【0057】(リファレンス値の更新及び初期設定)マ
スク判定処理1及び2においては、R照度、Rエッジ、
Rゲインなどの種々の基準値(リファレンス値)が使用
されている。これらリファレンス値は、現画像撮影時点
より前の時点の画像(元画像)又は照度センサ13の検
出値から取得されるため、常に変動をする。このため、
マスク判定処理が開始されるとリファレンス値の更新が
行われなければならない。ただし、マスクがされた可能
性がある場合は、変動があってもリファレンス値を更新
してはいけない。
(Update of Reference Value and Initial Setting) In mask determination processing 1 and 2, R illuminance, R edge,
Various reference values such as R gain are used. Since these reference values are acquired from the image (original image) at the time point before the current image is captured or the detection value of the illuminance sensor 13, they always fluctuate. For this reason,
When the mask determination process is started, the reference value must be updated. However, if there is a possibility of masking, the reference value should not be updated even if there is a change.

【0058】(リファレンス値初期取り込み)図11に
示すように、監視カメラ装置1の電源が投入されると、
リファレンス値の初期取り込みが行われる。撮像素子6
のCCDは、電源投入直後は安定していない。このた
め、CCDが安定する電源投入から所定時間経過後にリ
ファレンス値の取り込みを行う。
(Initial acquisition of reference value) As shown in FIG. 11, when the power of the surveillance camera device 1 is turned on,
Initial reference value acquisition is performed. Image sensor 6
CCD is not stable immediately after the power is turned on. Therefore, the reference value is fetched after a lapse of a predetermined time after the power supply to the CCD is stabilized.

【0059】電源がオンされる(ステップS45)と、
ステップS46で、タイマTM2がリセット(初期値に
戻す)される。タイマTM2の初期値は、ステップS4
7、48が10秒間繰り返されると値が0となるように
設定されている。ステップS48でタイマTM2の値が
0であるか否かが判定され、0でなければステップS4
7でタイマTM2の値をディクリメントし、ステップ4
8へ戻る処理が繰り返される。
When the power is turned on (step S45),
In step S46, the timer TM2 is reset (returned to the initial value). The initial value of the timer TM2 is step S4.
The value is set to 0 when 7 and 48 are repeated for 10 seconds. In step S48, it is determined whether or not the value of the timer TM2 is 0, and if not 0, step S4
Decrement the value of timer TM2 in step 7,
The process of returning to 8 is repeated.

【0060】10秒が経過しタイマTM2の値が0にな
るとステップS49へ進み、各リファレンス値データ
を、撮影された画像、照度センサなどから取り込む。そ
の後、各判定処理が開始される。図11の処理によれ
ば、電源投入から10秒を経過しCCDが安定した時点
でリファレンス値の取り込み処理が行われる。
When 10 seconds have elapsed and the value of the timer TM2 becomes 0, the process proceeds to step S49, and each reference value data is fetched from the photographed image, the illuminance sensor and the like. Then, each determination process is started. According to the processing of FIG. 11, the reference value acquisition processing is performed when the CCD becomes stable after 10 seconds have passed since the power was turned on.

【0061】(リファレンス値の更新)図12〜図14
は、リファレンス値更新の処理を示す。この処理は所定
時間ごとに実行される。ステップS50で、基準照度
(R照度)と現在の監視領域の照度(S照度)との差の
絶対値が、所定のしきい値RCTh1未満であるか否か
が判定される。RCTh1と他の照度しきい値との関係
は図15に示されている。照度変化が微小の場合はYE
Sとなり、ステップS54へ進む。NOの場合は、ステ
ップS51へ進む。
(Update of Reference Value) FIGS. 12 to 14
Indicates a process of updating the reference value. This process is executed every predetermined time. In step S50, it is determined whether the absolute value of the difference between the reference illuminance (R illuminance) and the illuminance (S illuminance) of the current monitoring area is less than a predetermined threshold value RCTh1. The relationship between RCTh1 and other illuminance threshold values is shown in FIG. YE when the illuminance change is small
The result is S, and the process proceeds to step S54. If NO, the process proceeds to step S51.

【0062】ステップS51でタイマTM3をディクリ
メントし、ステップS52でタイマTM3の値が0にな
ったか否かが判定される。ここでNOであれば他の処理
(ステップS64)へ進む。照明変化が継続したのであ
ればYESとなりステップS53へ進む。なお、TM3
と他のタイマ値との関係は図20に示されている。ステ
ップS53で、基準エッジ(Rエッジ)、基準ゲイン
(RゲインI、II)、基準照度(R照度)が更新され
る。つまり、現時点のエッジ、ゲイン、照度がリファレ
ンス値として取り込まれる。ステップS51〜53によ
れば、照度の変化が継続した場合に、各リファレンス値
が更新される。
The timer TM3 is decremented in step S51, and it is determined in step S52 whether or not the value of the timer TM3 has become zero. If NO here, the process proceeds to another process (step S64). If the illumination change has continued, YES is determined and the process proceeds to step S53. In addition, TM3
And the relationship with other timer values are shown in FIG. In step S53, the reference edge (R edge), the reference gain (R gain I, II), and the reference illuminance (R illuminance) are updated. That is, the current edge, gain, and illuminance are taken in as reference values. According to steps S51 to 53, each reference value is updated when the illuminance continues to change.

【0063】ステップS50でYES(照度変化が微
小)の場合、ステップS54で、基準照度(R照度)が
更新される。つまり、現時点の値が取り込まれる。次い
でステップS55でタイマTM3がリセット(初期値に
戻る)され、ステップS56へ進む。ステップS56
で、基準のゲイン(RゲインI)と現在のゲイン(Sゲ
イン)の差がしきい値RGITh1以上であるか否かが
判定される。RGITh1とその他のゲインしきい値と
の関係は図18に示されている。画像が一定値以上明る
くなった場合はYESとなり、ステップS61へ進む。
NOの場合は、ステップS57へ進む。
If YES in step S50 (small change in illuminance), the reference illuminance (R illuminance) is updated in step S54. That is, the current value is fetched. Next, in step S55, the timer TM3 is reset (returns to the initial value), and the process proceeds to step S56. Step S56
Then, it is determined whether or not the difference between the reference gain (R gain I) and the current gain (S gain) is greater than or equal to the threshold value RGITh1. The relationship between RGITh1 and other gain thresholds is shown in FIG. If the image becomes brighter than a certain value, YES is obtained and the process proceeds to step S61.
If NO, the process proceeds to step S57.

【0064】ステップS61でタイマTM4をディクリ
メントし、ステップS62でタイマTM4が0になった
か否かが判定される。なお、TM4と他のタイマ値との
関係は図20に示されている。画像が明るくなった状態
が継続した場合はYESとなりステップS63へ進む。
NOであればステップS64へ進む。ステップS63
で、基準エッジ(Rエッジ)、基準ゲイン(Rゲイン
I、II)を更新する。その後ステップS64へ進む。
The timer TM4 is decremented in step S61, and it is determined in step S62 whether the timer TM4 has become 0 or not. The relationship between TM4 and other timer values is shown in FIG. If the image continues to be bright, the determination result is YES and the process proceeds to step S63.
If NO, the process proceeds to step S64. Step S63
Then, the reference edge (R edge) and the reference gain (R gain I, II) are updated. After that, it advances to step S64.

【0065】ステップS56でNO(画像が暗くなった
か、少しだけ明るくなった場合)の場合、ステップS5
7でタイマTM4がリセットされる。ステップS58
で、基準ゲイン(RゲインI)と現在のゲイン(Sゲイ
ン)の差がしきい値RGITh2以上であるか否かが判
定される。RGITh2と他のゲインしきい値との関係
は図18に示されている。画像が少しだけ明るくなった
のであればYESとなり、ステップS59で基準のゲイ
ン(RゲインII)の更新が行われる。この更新では、
現在の基準のゲイン(RゲインI)がRゲインIIに取
り込まれる。
If NO at step S56 (when the image becomes dark or slightly bright), step S5
At 7, the timer TM4 is reset. Step S58
Then, it is determined whether or not the difference between the reference gain (R gain I) and the current gain (S gain) is greater than or equal to the threshold value RGITh2. The relationship between RGITh2 and other gain thresholds is shown in FIG. If the image becomes slightly brighter, YES is obtained and the reference gain (R gain II) is updated in step S59. In this update,
The current reference gain (R gain I) is captured in R gain II.

【0066】ステップS58のNO及びステップS59
の後は、ステップS60で、基準ゲイン(RゲインI
I)と現在のゲイン(Sゲイン)との差の絶対値がしき
い値RGIITh1未満であるか否かが判定される。R
GIITh1と他のゲインしきい値との関係は図18に
示されている。ここでYESであればステップS63で
の更新処理が行われ、NOであればステップS64へ進
む。
NO in step S58 and step S59
After that, in step S60, the reference gain (R gain I
It is determined whether or not the absolute value of the difference between I) and the current gain (S gain) is less than the threshold value RGIITh1. R
The relationship between GIITh1 and other gain thresholds is shown in FIG. If YES here, the updating process in step S63 is performed, and if NO, the process proceeds to step S64.

【0067】ステップS64で、現在のエッジ数(Sエ
ッジ)と基準エッジ(Rエッジ)との差がしきい値RE
Th1未満か否かが判定される。これにより、エッジの
増加量が小であるか否かが判定される。ステップS65
で、SエッジとRエッジとの比を1から引いた値がしき
い値RETh2(%)未満であるか否かが判定される。
これにより、エッジの減少量が小であるか否かが判定さ
れる。
In step S64, the difference between the current edge number (S edge) and the reference edge (R edge) is the threshold value RE.
It is determined whether or not it is less than Th1. As a result, it is determined whether the increase amount of the edge is small. Step S65
Then, it is determined whether or not the value obtained by subtracting the ratio of the S edge and the R edge from 1 is less than the threshold value RETh2 (%).
As a result, it is determined whether or not the edge reduction amount is small.

【0068】ステップS64、65で共にYESであれ
ば、ステップS66で、基準エッジ(Rエッジ)を更新
し、ステップS67へ進む。いずれかがNOであれば、
ステップS66はスキップしてステップS67へ進む。
ステップS67で、基準ゲイン(RゲインI)と現在の
ゲイン(Sゲイン)の差の絶対値がしきい値RGITh
3未満であるか否かが判定される。RGITh3と他の
ゲインしきい値との関係は図18に示されている。ゲイ
ン変化が少なければYESとなり、ステップS68で基
準ゲイン(RゲインI)を更新し、処理を終了する。N
Oであれば更新はせずに処理を終了する。
If YES in both steps S64 and 65, the reference edge (R edge) is updated in step S66, and the process proceeds to step S67. If either is NO,
Step S66 is skipped and the process proceeds to step S67.
In step S67, the absolute value of the difference between the reference gain (R gain I) and the current gain (S gain) is the threshold value RGITh.
It is determined whether it is less than 3. The relationship between RGITh3 and other gain thresholds is shown in FIG. If the change in gain is small, the determination is YES, the reference gain (R gain I) is updated in step S68, and the process ends. N
If it is O, the process is terminated without updating.

【0069】以上説明した更新処理によれば、監視領域
の照度、元画像などが正常な変化をしたと判断された場
合は各基準値の更新が行われる。また、異常な変化をし
た場合は、各基準値の更新は行われない。これにより、
マスクが貼り付けられたか否かを正常な基準値を用いて
処理することができる。
According to the update process described above, each reference value is updated when it is determined that the illuminance of the monitoring area, the original image, and the like have changed normally. In addition, each reference value is not updated when an abnormal change occurs. This allows
Whether or not the mask is attached can be processed using a normal reference value.

【0070】図15から図20は、各しきい値の関係を
示すものである。図15は、照度センサ13のしきい値
の関係を示すものである。CTh1〜4は明るさに差が
ある。RCTh1は、リファレンス値に対しての変化量
なので、他とは異質なものである。図16は、エッジし
きい値の関係を示すものである。ETh1、3〜5はの
っぺりさの程度に差がある。ETh2は、リファレンス
値に対して何%減少したかを判定するしきい値で、他と
は異質なものである。
FIGS. 15 to 20 show the relationship between the threshold values. FIG. 15 shows the relationship between the threshold values of the illuminance sensor 13. CTh1 to CTh have different brightness. Since RCTh1 is the amount of change with respect to the reference value, it is different from the others. FIG. 16 shows the relationship between the edge thresholds. ETh1, 3 to 5 have different degrees of flatness. ETh2 is a threshold value that determines how much the reference value has decreased, and is different from the others.

【0071】図17は、マスク判定用のゲインしきい値
の関係を示すものである。GTh1、2は大きさに差が
ある。GTh3は、他とは異質のものである。図18
は、リファレンス値更新用のゲインしきい値の関係を示
す。RGITh1、RGITh2、RGIITh1は大
きさに差がある。
FIG. 17 shows the relationship of gain threshold values for mask determination. GTh1 and 2 have different sizes. GTh3 is unlike any other. FIG.
Shows the relationship of the gain threshold for updating the reference value. RGITh1, RGITh2 and RGITh1 are different in size.

【0072】図19は、輝度しきい値の関係を示すもの
である。YTh1、2は、暗さに差がある。YTh3は
他とは異質なものである。図20は、タイマの関係を示
すものである。TM1、2とTM3、4とは長さに差が
ある。
FIG. 19 shows the relationship between the brightness threshold values. There is a difference in darkness between YTh1 and YTh2. YTh3 is unlike any other. FIG. 20 shows the relationship between timers. There is a difference in length between TM1 and 2 and TM3 and 4.

【0073】[0073]

【発明の効果】本発明によれば、監視カメラ装置にマス
クがされた場合、これを検出することができるマスク判
定装置を提供することができる。また、このマスク判定
装置を備えた監視カメラ装置を提供することができる。
According to the present invention, it is possible to provide a mask determination device capable of detecting a mask on the surveillance camera device. Further, it is possible to provide a surveillance camera device provided with this mask determination device.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明を採用した監視システムの全体構成を示
す図である。
FIG. 1 is a diagram showing an overall configuration of a monitoring system adopting the present invention.

【図2】図1の監視カメラ装置の構成図である。FIG. 2 is a configuration diagram of the surveillance camera device of FIG.

【図3】図2のマスク判定手段のマスク判定処理1を示
すフローチャートである。
FIG. 3 is a flowchart showing mask determination processing 1 of the mask determination means in FIG.

【図4】図2のマスク判定手段のマスク判定処理2を示
すフローチャートである。
FIG. 4 is a flowchart showing mask determination processing 2 of the mask determination means in FIG.

【図5】図2のマスク判定手段のマスク判定処理3を示
すフローチャートである。
5 is a flowchart showing mask determination processing 3 of the mask determination means in FIG.

【図6】図2のマスク判定手段のマスク判定処理4を示
すフローチャートである。
FIG. 6 is a flowchart showing mask determination processing 4 of the mask determination means in FIG.

【図7】図2のマスク判定手段のマスク判定処理6を示
すフローチャートである。
7 is a flowchart showing mask determination processing 6 of the mask determination means in FIG.

【図8】図2のマスク判定手段のマスク判定処理7を示
すフローチャートである。
8 is a flowchart showing mask determination processing 7 of the mask determination means in FIG.

【図9】図2のマスク判定手段のマスク判定処理8を示
すフローチャートである。
9 is a flowchart showing a mask determination process 8 of the mask determination means in FIG.

【図10】図2の表示/発報手段の発報処理を示すフロ
ーチャートである。
FIG. 10 is a flowchart showing a reporting process of the display / reporting means of FIG.

【図11】図2のマスク判定手段における初期リファレ
ンス値取り込み処理を示すフローチャートである。
11 is a flowchart showing an initial reference value fetching process in the mask determination means of FIG.

【図12】図2のマスク判定手段におけるリファレンス
値更新の処理を示すフローチャート(その1)。
FIG. 12 is a flowchart (No. 1) showing the process of updating the reference value in the mask determination means of FIG.

【図13】図2のマスク判定手段におけるリファレンス
値更新の処理を示すフローチャート(その2)。
FIG. 13 is a flowchart (No. 2) showing the process of updating the reference value in the mask determination means of FIG.

【図14】図2のマスク判定手段におけるリファレンス
値更新の処理を示すフローチャート(その3)。
FIG. 14 is a flowchart (No. 3) showing the process of updating the reference value in the mask determination means of FIG.

【図15】図2のマスク判定手段における照度センサし
きい値の関係を示す図である。
FIG. 15 is a diagram showing a relationship between illuminance sensor threshold values in the mask determination means of FIG.

【図16】図2のマスク判定手段におけるエッジしきい
値の関係を示す図である。
16 is a diagram showing a relationship between edge thresholds in the mask determination means of FIG.

【図17】図2のマスク判定手段におけるゲインしきい
値の関係を示す図である。
17 is a diagram showing a relationship of gain threshold values in the mask determination means of FIG.

【図18】図2のマスク判定手段におけるゲインしきい
値の関係を示す図である。
FIG. 18 is a diagram showing a relationship between gain threshold values in the mask determination means of FIG.

【図19】図2のマスク判定手段における輝度しきい値
の関係を示す図である。
FIG. 19 is a diagram showing a relationship between luminance threshold values in the mask determination means of FIG.

【図20】図2のマスク判定手段におけるタイマ値の関
係を示す図である。
20 is a diagram showing a relationship between timer values in the mask determination means of FIG.

【符号の説明】[Explanation of symbols]

1…監視カメラ装置 2…コントローラ 3…モニタ 4…スピーカ 5…レンズ 6…撮像素子 7…撮像部 8…制御部 9…モニタインターフェース 11…通信部 12…記憶部 13…照度センサ 14…赤外線投光器 15…赤外線受光センサ 16…表示部 17…撮像制御手段 18…表示/出力手段 19…マスク判定手段 21…画像処理手段 1 ... Surveillance camera device 2 ... Controller 3 ... Monitor 4 ... speaker 5 ... Lens 6 ... Image sensor 7 ... Imaging unit 8 ... Control unit 9 ... Monitor interface 11 ... communication section 12 ... Storage unit 13 ... Illuminance sensor 14 ... Infrared projector 15 ... Infrared light receiving sensor 16 ... Display 17 ... Imaging control means 18 ... Display / output means 19: Mask determination means 21 ... Image processing means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G08B 25/04 G08B 25/04 E H04N 5/225 H04N 5/225 C Fターム(参考) 5B057 AA19 BA11 CA08 CA12 CA16 CC02 DA06 DB02 DB09 DC16 DC22 5C022 AA01 AB12 AB17 AC69 5C054 EA01 FC00 FC03 FC14 FC15 GA01 GB01 GB15 HA19 5C087 AA09 AA23 AA32 AA44 DD05 DD23 EE08 EE16 FF01 FF04 FF20 GG02 GG08 GG18 GG23 GG30 GG42 GG45 5L096 AA06 BA02 CA02 DA03 EA35 FA06 FA32 GA51 JA11 JA18─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) G08B 25/04 G08B 25/04 E H04N 5/225 H04N 5/225 C F term (reference) 5B057 AA19 BA11 CA08 CA12 CA16 CC02 DA06 DB02 DB09 DC16 DC22 5C022 AA01 AB12 AB17 AC69 5C054 EA01 FC00 FC03 FC14 FC15 GA01 GB01 GB15 HA19 5C087 AA09 AA23 AA32 AA44 DD05 DD23 EE08 EE16 FE16 FF16 GG16 GG02 GG32 GG08 GG03 GA51 JA11 JA18

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 監視領域を撮影する監視カメラ装置に設
けられるマスク検出装置であって、 撮像部が撮影した画像から抽出されたエッジの数と、前
記撮像部から出力される画像信号レベルを所定レベルに
調整するためのゲイン値と、が入力され、 前記エッジの数と基準のエッジ数との差が所定のしきい
値未満であり、前記ゲイン値が基準ゲイン値以上である
とき、前記監視カメラ装置にマスクがされたと判定する
ことを特徴とするマスク検出装置。
1. A mask detection device provided in a surveillance camera device for photographing a surveillance region, wherein a number of edges extracted from an image photographed by an image pickup portion and an image signal level output from the image pickup portion are predetermined. A gain value for adjusting to a level is input, and when the difference between the number of edges and the reference number of edges is less than a predetermined threshold value and the gain value is equal to or greater than a reference gain value, the monitoring is performed. A mask detection device, characterized in that it is determined that a mask has been applied to a camera device.
【請求項2】 前記エッジの数が所定のしきい値未満で
あるとき、前記マスク判定をする請求項1に記載のマス
ク検出装置。
2. The mask detection apparatus according to claim 1, wherein the mask determination is performed when the number of edges is less than a predetermined threshold value.
【請求項3】 更に、前記監視領域の照度が入力され、
この照度が所定のしきい値以上であるとき、前記マスク
判定をする請求項1又は2に記載のマスク検出装置。
3. The illuminance of the monitoring area is further input,
The mask detection device according to claim 1, wherein the mask determination is performed when the illuminance is equal to or higher than a predetermined threshold value.
【請求項4】 監視領域を撮影する監視カメラ装置に設
けられるマスク検出装置であって、 撮像部から出力される画像信号レベルを所定レベルに調
整するためのゲイン値が入力され、 第1の基準ゲイン値と前記ゲイン値との差が所定のしき
い値以上であり、前記ゲイン値と第2の基準ゲイン値と
の差の絶対値が所定のしきい値以上であるとき、前記監
視カメラ装置にマスクがされたと判定することを特徴と
するマスク検出装置。
4. A mask detection device provided in a surveillance camera device for photographing a surveillance area, wherein a gain value for adjusting an image signal level output from an imaging section to a predetermined level is input, and the first reference When the difference between the gain value and the gain value is a predetermined threshold value or more and the absolute value of the difference between the gain value and the second reference gain value is a predetermined threshold value or more, the surveillance camera device A mask detection device characterized in that it is determined that a mask has been applied to the mask.
【請求項5】 更に、前記監視領域の照度及び撮像部が
撮影した画像から抽出されたエッジの数が入力され、前
記照度が所定のしきい値以上であり、前記エッジの数が
所定のしきい値未満であるとき、前記マスク判定をす
る、請求項4に記載の監視カメラ装置のマスク検出装
置。
5. The illuminance of the monitoring area and the number of edges extracted from the image captured by the imaging unit are input, the illuminance is equal to or more than a predetermined threshold, and the number of edges is predetermined. The mask detection device of the surveillance camera device according to claim 4, wherein the mask determination is performed when the value is less than a threshold value.
【請求項6】 監視領域を撮影する監視カメラ装置に設
けられるマスク検出装置であって、 前記監視領域の照度と、前記撮像部から出力される画像
信号レベルを所定レベルに調整するためのゲイン値と、
が入力され、 照度が所定のしきい値以上で前記ゲイン値が所定のしき
い値以上であるときに、前記監視カメラ装置にマスクが
されたと判定することを特徴とするマスク検出装置。
6. A mask detection device provided in a surveillance camera device for photographing a surveillance region, wherein the illuminance of the surveillance region and a gain value for adjusting the image signal level output from the imaging unit to a predetermined level. When,
Is input, and when the illuminance is equal to or higher than a predetermined threshold value and the gain value is equal to or higher than a predetermined threshold value, it is determined that the surveillance camera device is masked.
【請求項7】 更に、撮像部が撮影した画像から抽出さ
れたエッジの数が入力され、前記エッジの数が所定のし
きい値未満であるときに前記マスク判定をする、請求項
6に記載のマスク検出装置。
7. The mask determination according to claim 6, further comprising inputting the number of edges extracted from the image captured by the imaging unit, and performing the mask determination when the number of edges is less than a predetermined threshold value. Mask detector.
【請求項8】 監視領域を撮影する監視カメラ装置に設
けられるマスク検出装置であって、 前記監視領域の照度と、撮像部の絞り値と、が入力さ
れ、 前記照度が所定のしきい値未満であり、前記絞り値が所
定のしきい値以上であるときに前記監視カメラ装置にマ
スクがされたと判定することを特徴とするマスク検出装
置。
8. A mask detection device provided in a surveillance camera device for photographing a surveillance region, wherein the illuminance of the surveillance region and an aperture value of an imaging unit are input, and the illuminance is less than a predetermined threshold value. The mask detection device is characterized in that it is determined that the surveillance camera device is masked when the aperture value is equal to or larger than a predetermined threshold value.
【請求項9】 監視領域を撮影する監視カメラ装置に設
けられるマスク検出装置であって、 撮像部が撮影した画像から抽出された画像全体の平均輝
度、画像を複数に分割したブロックのそれぞれの平均輝
度と、前記撮像部から出力される画像信号レベルを所定
レベルに調整するためのゲイン値と、が入力され、 前記ゲイン値が最大値であり、前記全体の平均輝度が所
定のしきい値未満であり、前記平均輝度が所定のしきい
値を超えたブロックの数が所定のしきい値以上であると
き、前記監視カメラ装置にマスクがされたと判定するこ
とを特徴とするマスク検出装置。
9. A mask detection device provided in a surveillance camera device for photographing a surveillance region, wherein the average brightness of the entire image extracted from the image photographed by the imaging unit, the average of each of the blocks obtained by dividing the image into a plurality of blocks. Luminance and a gain value for adjusting the image signal level output from the imaging unit to a predetermined level are input, the gain value is a maximum value, and the average brightness of the entire is less than a predetermined threshold value. The mask detection device is characterized in that when the number of blocks in which the average brightness exceeds a predetermined threshold value is equal to or larger than a predetermined threshold value, it is determined that the surveillance camera device is masked.
【請求項10】 更に、前記監視領域の照度が入力さ
れ、この照度が所定のしきい値以上であるときに前記マ
スク判定をする、請求項9に記載のマスク検出装置。
10. The mask detection device according to claim 9, further comprising inputting an illuminance of the monitoring area, and performing the mask determination when the illuminance is equal to or more than a predetermined threshold value.
【請求項11】 監視領域を撮影する監視カメラ装置に
設けられるマスク検出装置であって、 前記監視領域の照度と、撮像部のシャッタ速度と、が入
力され、 前記照度が所定のしきい値以上であり、前記シャッタ速
度値が所定のしきい値未満であるときに前記監視カメラ
装置にマスクがされたと判定することを特徴とするマス
ク検出装置。
11. A mask detection device provided in a surveillance camera device for photographing a surveillance region, wherein the illuminance of the surveillance region and a shutter speed of an imaging unit are input, and the illuminance is equal to or greater than a predetermined threshold value. The mask detecting device is characterized in that it is determined that the surveillance camera device is masked when the shutter speed value is less than a predetermined threshold value.
【請求項12】 監視領域を撮影する監視カメラ装置に
設けられるマスク検出装置であって、 前記監視領域の照度と、撮像部が撮影した画像から抽出
されたエッジの数と、前記撮像部から出力される画像信
号レベルを所定レベルに調整するためのゲイン値と、撮
像部が撮影した画像から抽出された画像を複数に分割し
たブロックのそれぞれの平均輝度と、が入力され、 前記照度が所定のしきい値以上であり、前記ゲインが0
であり、前記エッジの数が所定のしきい値未満であり、
前記複数ブロックの平均輝度の最大値と最小値との差が
所定のしきい値未満であるとき、前記監視カメラ装置に
マスクがされたと判定することを特徴とするマスク検出
装置。
12. A mask detection device provided in a surveillance camera device for photographing a surveillance region, wherein the illuminance of the surveillance region, the number of edges extracted from the image photographed by the image pickup unit, and the output from the image pickup unit. The gain value for adjusting the image signal level to a predetermined level and the average brightness of each of the blocks obtained by dividing the image extracted from the image captured by the image capturing unit are input, and the illuminance is set to a predetermined value. It is equal to or more than the threshold value, and the gain is 0.
And the number of edges is less than a predetermined threshold,
The mask detection apparatus, wherein when the difference between the maximum value and the minimum value of the average brightness of the plurality of blocks is less than a predetermined threshold value, it is determined that the surveillance camera device is masked.
【請求項13】 請求項1〜12に記載されたマスク検
出装置の少なくとも1つを備えた監視カメラ装置。
13. A surveillance camera device comprising at least one of the mask detection devices according to claim 1. Description:
【請求項14】 前記マスク検出装置の1つが所定時間
継続してマスクされたと判定したとき、マスク異常を発
報する出力部を具備する、請求項13に記載の監視カメ
ラ装置。
14. The surveillance camera apparatus according to claim 13, further comprising an output unit that issues a mask abnormality when one of the mask detection apparatuses determines that the mask is continuously masked for a predetermined time.
【請求項15】 前記各基準の値は、撮像部が撮影した
画像が、正常な変化をしたときに更新される、請求項1
〜5に記載のマスク検出装置。
15. The value of each reference is updated when an image captured by the image capturing unit changes normally.
The mask detection device according to any one of claims 1 to 5.
JP2001328124A 2001-10-25 2001-10-25 Mask detection device and surveillance camera device Expired - Fee Related JP3919499B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001328124A JP3919499B2 (en) 2001-10-25 2001-10-25 Mask detection device and surveillance camera device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001328124A JP3919499B2 (en) 2001-10-25 2001-10-25 Mask detection device and surveillance camera device

Publications (3)

Publication Number Publication Date
JP2003134504A true JP2003134504A (en) 2003-05-09
JP2003134504A5 JP2003134504A5 (en) 2005-06-30
JP3919499B2 JP3919499B2 (en) 2007-05-23

Family

ID=19144241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001328124A Expired - Fee Related JP3919499B2 (en) 2001-10-25 2001-10-25 Mask detection device and surveillance camera device

Country Status (1)

Country Link
JP (1) JP3919499B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193464A (en) * 2008-02-15 2009-08-27 Nec Corp Cover-up detector, image monitoring system, cover-up detection method, and cover-up detection program
JP2010200190A (en) * 2009-02-27 2010-09-09 Hitachi Ltd Video monitoring system
JP2011234237A (en) * 2010-04-28 2011-11-17 Canon Inc Camera controller and camera system
JP2012048382A (en) * 2010-08-25 2012-03-08 Secom Co Ltd Complex sensor
KR101216271B1 (en) 2006-12-20 2012-12-28 엑시스 에이비 camera tampering detection
JP2014223135A (en) * 2013-05-15 2014-12-04 株式会社北電子 Imaging disturbance detecting apparatus and imaging disturbance detecting method
JP2020167585A (en) * 2019-03-29 2020-10-08 セコム株式会社 Image processing apparatus and image processing program
JP7355553B2 (en) 2019-08-16 2023-10-03 セコム株式会社 Image processing device and image processing program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101216271B1 (en) 2006-12-20 2012-12-28 엑시스 에이비 camera tampering detection
JP2009193464A (en) * 2008-02-15 2009-08-27 Nec Corp Cover-up detector, image monitoring system, cover-up detection method, and cover-up detection program
JP2010200190A (en) * 2009-02-27 2010-09-09 Hitachi Ltd Video monitoring system
US8842178B2 (en) 2009-02-27 2014-09-23 Hitachi, Ltd. Supervising system for image
JP2011234237A (en) * 2010-04-28 2011-11-17 Canon Inc Camera controller and camera system
JP2012048382A (en) * 2010-08-25 2012-03-08 Secom Co Ltd Complex sensor
JP2014223135A (en) * 2013-05-15 2014-12-04 株式会社北電子 Imaging disturbance detecting apparatus and imaging disturbance detecting method
JP2020167585A (en) * 2019-03-29 2020-10-08 セコム株式会社 Image processing apparatus and image processing program
JP7252815B2 (en) 2019-03-29 2023-04-05 セコム株式会社 Image processing device and image processing program
JP7355553B2 (en) 2019-08-16 2023-10-03 セコム株式会社 Image processing device and image processing program

Also Published As

Publication number Publication date
JP3919499B2 (en) 2007-05-23

Similar Documents

Publication Publication Date Title
JP2008077517A (en) Camera block detection system
JP3919499B2 (en) Mask detection device and surveillance camera device
JPH05137064A (en) Television camera device
US6714237B2 (en) Apparatus and method for automatically storing an intrusion scene
JP3986193B2 (en) Image sensor and image monitoring system
JPS62147888A (en) Picture monitoring system
JP3888793B2 (en) Image sensor
JP2000341677A (en) Image monitoring device
JP2020167500A (en) Image processing apparatus and image processing program
KR101276877B1 (en) Method for controlling gain each area of monitoring camera
JP2003101997A (en) Automatic sensitivity switching device for detector
JP4578743B2 (en) Surveillance camera device
JP2000194866A (en) Image sensor and monitoring system including the same
JP2002344948A (en) Image monitoring system
JP3604309B2 (en) Discharge alarm device
KR100518299B1 (en) Apparatus and method for operating day/night mode of monitoring camera using a measuring brightness of area without lighting area
JP2000184362A (en) Monitor camera system
JP2000194960A (en) Image sensor
JP4070307B2 (en) Image monitoring system and image monitoring apparatus
JP2003299074A (en) Variation detecting apparatus and detecting method using camera apparatus
JPS62296673A (en) Television camera with automatic convergence adjusting function
JP2000069457A (en) Camera monitoring system
JPH0968741A (en) Monitoring camera system
JPS6339288A (en) Abnormal state supervisory system using ccd camera
JP3838791B2 (en) Image monitoring device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041021

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041021

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060706

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060831

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20061018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070213

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3919499

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110223

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20110223

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120223

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130223

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130223

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140223

Year of fee payment: 7

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