JP3910626B2 - Monitoring device - Google Patents

Monitoring device Download PDF

Info

Publication number
JP3910626B2
JP3910626B2 JP2006286521A JP2006286521A JP3910626B2 JP 3910626 B2 JP3910626 B2 JP 3910626B2 JP 2006286521 A JP2006286521 A JP 2006286521A JP 2006286521 A JP2006286521 A JP 2006286521A JP 3910626 B2 JP3910626 B2 JP 3910626B2
Authority
JP
Japan
Prior art keywords
density
image
situation
monitoring
current time
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.)
Expired - Fee Related
Application number
JP2006286521A
Other languages
Japanese (ja)
Other versions
JP2007028680A (en
Inventor
正宏 岩崎
太郎 今川
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2006286521A priority Critical patent/JP3910626B2/en
Publication of JP2007028680A publication Critical patent/JP2007028680A/en
Application granted granted Critical
Publication of JP3910626B2 publication Critical patent/JP3910626B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Alarm Systems (AREA)
  • Image Analysis (AREA)

Description

本発明は、移動している人物や車両等の複数の移動物体又は群衆の監視を行う監視装置
に関するものである。
The present invention relates to a monitoring device that monitors a plurality of moving objects such as a moving person or a vehicle or a crowd.

従来の監視装置として、図17に示す装置が知られている(特許文献1参照)。図17に示すように、この従来の監視装置10は、撮像装置11、部位位置抽出部12、形状特徴量抽出部13、部位位置追尾部14、動き特徴量計測部15、比較検索部16及び表示部17を具備している。   As a conventional monitoring device, a device shown in FIG. 17 is known (see Patent Document 1). As shown in FIG. 17, this conventional monitoring apparatus 10 includes an imaging device 11, a part position extraction unit 12, a shape feature quantity extraction unit 13, a part position tracking unit 14, a motion feature quantity measurement unit 15, a comparison search unit 16, and A display unit 17 is provided.

図17に示すように、従来の監視装置10においては、部位位置抽出部12が人物の部位位置を抽出し、形状特徴量抽出部13が形状特徴量を抽出し、部位位置追尾部14が抽出した部位位置を追尾し、動き特徴量計測部15が動き特徴量を計測している。従来の監視装置10は、監視領域内の人物の特徴量を自動的に抽出して、データベース化すると共に、特定の不審人物の特徴を有する人物候補を探索し、監視者に注意を促すことにより、不審人物の調査、追跡及び特定を行っている。   As shown in FIG. 17, in the conventional monitoring device 10, the part position extraction unit 12 extracts a person's part position, the shape feature amount extraction unit 13 extracts a shape feature amount, and the part position tracking unit 14 extracts the shape feature amount. The movement feature amount measurement unit 15 tracks the movement feature amount. The conventional monitoring device 10 automatically extracts the feature amount of the person in the monitoring area, creates a database, searches for a candidate person having the characteristics of a specific suspicious person, and prompts the monitor to pay attention. Investigate, track and identify suspicious persons.

また、他の従来の監視装置として、特許文献2に記載された装置がある。この他の従来の監視装置は、撮像装置によって捉えられる被写体の皮膚色及び動きを検出することによって、最も適切な追跡対象体を自動的に選定して追跡することによって顔部分の映像を撮影し、撮影された顔画像を分析することによって個人を認識している。さらに、顔部位の情報から覆面、サングラス及び帽子などを識別することによって、危険人物と判定している。   As another conventional monitoring apparatus, there is an apparatus described in Patent Document 2. Other conventional monitoring devices capture the image of the face portion by automatically selecting and tracking the most appropriate tracking target by detecting the skin color and movement of the subject captured by the imaging device. Recognize an individual by analyzing the captured face image. Furthermore, it is determined as a dangerous person by identifying a mask, sunglasses, a hat, and the like from the information on the facial part.

しかしながら、従来の監視装置においては、人物を検出しデータベースとの照合を行う場合に、現状の技術では特に大量に蓄積されたデータベースとの照合を完全に自動化することが難しい。また、従来の監視装置においては、全体の画像中に複数人の画像が存在する場合又はオクルージョンが生じている場合において、正確に部位位置を特定すること、及び、顔画像を抽出することは難しい。このため、人物を検出及び追跡して大量のデータベースとの照合を完全に自動で行うと、検出ミス、追跡ミス及び照合ミスが起こることの2つの点が懸念されるため、異常事態の判断にも支障をきたす危険性がある。
特開平11−399139号公報 特開2000−163600号公報
However, in the conventional monitoring device, when a person is detected and collation with a database is performed, it is difficult to completely automate collation with a database accumulated in large quantities by the current technology. Further, in the conventional monitoring device, it is difficult to accurately specify the position of the part and extract the face image when there are images of a plurality of persons in the entire image or when occlusion occurs. . For this reason, if a person is detected and tracked and collation with a large number of databases is performed fully automatically, there are two concerns that a detection error, a tracking error, and a collation error will occur. There is also a danger of causing trouble.
JP 11-399139 A JP 2000-163600 A

本発明は、かかる点に鑑みてなされたものであり、全体画像に存在する移動物体又は群衆の画像を個々に検出及び追跡するのではなくマクロ的に捉えることによって、人物の顔などの部位を正確に検出できない場合においても、検出ミス、追跡ミス及び照合ミスを防止し、異常事態を判断して監視者に注意を促すことができる監視装置を提供することを目的とする。   The present invention has been made in view of such a point, and by detecting a moving object or crowd image existing in the entire image in a macro rather than individually detecting and tracking, a part such as a human face is detected. An object of the present invention is to provide a monitoring device that can prevent a detection error, a tracking error, and a collation error even when it cannot be detected accurately, judge an abnormal situation, and call attention to a monitor.

上記目的を達成するために、本発明に係る監視装置は、監視領域内の監視を行う監視装置であって、監視領域内の画像を撮像して全体画像を生成する撮像手段と、前記撮像手段により生成される前記全体画像から複数の移動物体または群衆の画像である移動体画像を生成する移動体画像生成手段と、前記移動体画像生成手段により生成される前記移動体画像に基づいて前記移動物体または前記群衆の密集の度合いを示す密集度を算出する密集度算出手段と、前記密集度算出手段により算出される現時刻の前記密集度と、状況判断の基準とする密集度である基準密集度とを比較し、現時刻の前記密集度と前記基準密集度とが所定の閾値以上異なる場合に、現時刻の状況を異常事態であると判断する状況判断手段と、パン、チルトおよびズーム機能の少なくともいずれかを有する他の撮像手段と、前記状況判断手段により異常事態であると判断された場合に、現時刻の前記密集度が前記基準密集度と異なる領域を撮像するように前記他の撮像手段を制御する撮像制御手段とを備えることを特徴とする。   In order to achieve the above object, a monitoring apparatus according to the present invention is a monitoring apparatus that performs monitoring in a monitoring area, and that captures an image in the monitoring area and generates an entire image, and the imaging means A moving body image generating unit that generates a moving body image that is a plurality of moving objects or crowd images from the entire image generated by the moving body image generation unit, and the moving body image is generated based on the moving body image generated by the moving body image generating unit. A density calculation means for calculating a density indicating the degree of congestion of objects or the crowd, the density at the current time calculated by the density calculation means, and a reference density that is a density as a criterion for situation determination A panning / tilting / zooming machine, a situation judging means for judging that the current time situation is an abnormal situation when the density at the current time and the reference density differ from each other by a predetermined threshold or more The other image pickup means having at least one of the above and the other image pickup means to pick up an image of an area where the congestion at the current time is different from the reference congestion when the situation determination means And an imaging control means for controlling the imaging means.

以上説明したように、本発明に係る監視装置によれば、画像に存在する移動物体又は群衆の部分的な画像を個々に検出及び追跡するのではなくマクロ的に捉えることによって、人物の顔などの部位を正確に検出できない場合においても、移動物体又は群衆の密集度又は移動方向が通常時と大きく異なる場合に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止し監視者に注意を促すことができる。   As described above, according to the monitoring device according to the present invention, a moving object or a partial image of a crowd existing in an image is not detected and tracked individually, but captured in a macro manner, so that the face of a person, etc. Even if the location of the object cannot be accurately detected, it is possible to prevent a detection error, a tracking error, and a verification error by judging an abnormal situation when the density or moving direction of the moving object or the crowd is significantly different from the normal time. You can call attention.

本発明の実施の形態に係る監視装置は、監視領域内の監視を行う監視装置であって、監視領域内の画像を撮像して全体画像を生成する撮像手段と、前記撮像手段により生成される前記全体画像から複数の移動物体または群衆の画像である移動体画像を生成する移動体画像生成手段と、前記移動体画像生成手段により生成される前記移動体画像に基づいて前記移動物体または前記群衆の密集の度合いを関数近似もしくは周波数変換によりパラメータ化した密集度として算出する密集度算出手段とを備えることを特徴とする。   A monitoring device according to an embodiment of the present invention is a monitoring device that performs monitoring in a monitoring region, and is generated by an imaging unit that captures an image in the monitoring region and generates an entire image, and the imaging unit. A moving body image generating unit that generates a moving body image that is an image of a plurality of moving objects or a crowd from the whole image, and the moving object or the crowd based on the moving body image generated by the moving body image generating unit And a density calculation means for calculating the density as a parameterized density by function approximation or frequency conversion.

この構成によれば、全体画像に存在する移動物体又は群衆の画像を個々に検出及び追跡するのではなくマクロ的に捉えることによって、人物の顔などの部位を正確に検出できない場合においても、移動物体又は群衆の密集度を算出することができる。   According to this configuration, even if a part such as a person's face cannot be accurately detected by capturing a macro object rather than individually detecting and tracking a moving object or crowd image existing in the entire image, the moving object can be moved. The density of objects or crowds can be calculated.

また、前記監視装置は、さらに、前記密集度算出手段により算出される現時刻の前記密集度と、状況判断の基準とする密集度である基準密集度とに基づいて、現時刻の状況を判断する状況判断手段とを備えることが好ましい。   Further, the monitoring device further determines the current time based on the congestion at the current time calculated by the congestion calculating means and a reference congestion that is a congestion as a reference for determining the situation. It is preferable to provide the situation judgment means to do.

この構成によれば、移動物体又は群衆の密集度が通常時と大きく異なる時に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止することができる。   According to this configuration, it is possible to prevent a detection error, a tracking error, and a verification error by determining an abnormal situation when the density of the moving object or the crowd is significantly different from the normal time.

また、前記監視装置は、さらに、前記密集度算出手段により算出される所定日時の前記密集度に基づいて前記基準密集度を算出する基準密集度算出手段と、前記基準密集度算出手段により算出される前記基準密集度を保持するデータベースとを備えることが好ましい。   Further, the monitoring device is further calculated by reference density calculation means for calculating the reference density based on the density at a predetermined date and time calculated by the density calculation means, and by the reference density calculation means. And a database that holds the reference density.

この構成によれば、通常時の移動物体又は群衆の密集度を算出することが可能である。
また、前記基準密集度算出手段は、前記密集度算出手段により算出される前記密集度に基づいて所定時間ごとに新しい基準密集度を算出し、算出した新しい前記基準密集度で前記データベースの前記基準密集度を更新してもよい。
According to this configuration, it is possible to calculate the density of a moving object or a crowd at a normal time.
Further, the reference density calculation means calculates a new reference density every predetermined time based on the density calculated by the density calculation means, and calculates the reference density of the database with the calculated new reference density. The congestion level may be updated.

この構成によれば、所定時間ごとにデータベースの基準密集度を更新するので、異常事態の判断がより正確になる。   According to this configuration, since the standard density of the database is updated every predetermined time, the determination of the abnormal situation becomes more accurate.

また、前記基準密集度算出手段は、季節ごと、時刻ごと、天候ごとまたは曜日ごとの少なくとも1つごとに前記基準密集度を算出して前記データベースに保持させてもよい。   In addition, the reference density calculation unit may calculate the reference density for at least one of every season, every time, every weather, or every day of the week, and store it in the database.

この構成によれば、季節ごと、時刻ごと、天候ごと又は曜日ごとの基準密集度を算出してデータベースに保持させるため、異常事態の判断がより正確になる。   According to this configuration, since the reference density for each season, every time, every weather, or every day of the week is calculated and stored in the database, the determination of an abnormal situation becomes more accurate.

また、前記密集度算出手段および前記基準密集度算出手段は、前記密集度および前記基準密集度を関数近似によりパラメータ化してもよい。   The density calculation unit and the reference density calculation unit may parameterize the density and the reference density by function approximation.

また、前記密集度算出手段および前記基準密集度算出手段は、前記密集度および前記基準密集度を、ガウス分布の分布数とそれぞれのガウス分布の平均値および分散値とをパラメータとしてパラメータ化してもよい。   Further, the density calculation means and the reference density calculation means may parameterize the density and the reference density by using the number of Gaussian distributions and the average value and variance value of each Gaussian distribution as parameters. Good.

この構成によれば、パラメータによって表現することで、ノイズや検出ミスにロバストに異常事態の判定を行うことができる。   According to this configuration, by expressing the parameters, it is possible to determine an abnormal situation robustly against noise and detection errors.

また、前記監視装置は、さらに、あらかじめ設定される前記基準密集度を保持するデータベースを備えてもよい。   The monitoring apparatus may further include a database that holds the reference density set in advance.

この構成によれば、基準密集度をあらかじめ設定して保持することで、構成を簡略化することができる。   According to this configuration, the configuration can be simplified by setting and holding the reference density in advance.

また、前記状況判断手段は、現時刻の前記密集度と前記基準密集度とを比較し、現時刻の前記密集度と前記基準密集度とが所定の閾値以上異なる場合に、現時刻の前記状況を異常事態であると判断してもよい。   Further, the situation determination means compares the congestion at the current time with the reference congestion, and if the congestion at the current time and the reference congestion are different from each other by a predetermined threshold or more, the situation at the current time May be determined to be an abnormal situation.

この構成によれば、移動物体又は群衆の密集度が通常時と大きく異なる時に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止することができる。   According to this configuration, it is possible to prevent a detection error, a tracking error, and a verification error by determining an abnormal situation when the density of the moving object or the crowd is significantly different from the normal time.

また、前記監視装置は、さらに、前記状況判断手段により判断された現時刻の前記状況を報知する報知手段を備えてもよい。   The monitoring apparatus may further include a notification unit that notifies the situation at the current time determined by the situation determination unit.

この構成によれば、移動物体又は群衆の密集度が通常時と大きく異なる時に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止し監視者に注意を促すことができる。   According to this configuration, it is possible to prevent a detection error, a tracking error, and a collation error by determining an abnormal situation when the density of the moving object or the crowd is significantly different from the normal time, and to alert the monitor.

また、前記移動体画像生成手段は、前記全体画像に対してフレーム間差分処理または背景差分処理を行って前記移動体画像を生成してもよい。   Further, the moving body image generating means may generate the moving body image by performing inter-frame difference processing or background difference processing on the entire image.

この構成によれば、簡単に移動体画像を生成することができる。
また、前記密集度算出手段は、前記全体画像から頭部候補領域を検出し、検出した前記頭部候補領域が前記全体画像に対して占める面積に基づいて前記密集度を算出してもよい。
According to this configuration, it is possible to easily generate a moving body image.
The density calculation unit may detect a head candidate area from the whole image, and calculate the density based on an area occupied by the detected head candidate area with respect to the whole image.

この構成によれば、移動物体又は群衆の密集度の算出が容易となる。
また、前記密集度算出手段は、前記移動体画像の面積に基づいて前記密集度を算出してもよい。
According to this configuration, it is easy to calculate the density of moving objects or crowds.
The density calculation unit may calculate the density based on an area of the moving body image.

この構成によれば、移動物体又は群衆の密集度の算出が容易となる。
また、前記密集度算出手段は、前記移動体画像を1次元情報に変換し、変換した前記1次元情報に基づいて前記密集度を算出してもよい。
According to this configuration, it is easy to calculate the density of moving objects or crowds.
The density calculation unit may convert the moving body image into one-dimensional information and calculate the density based on the converted one-dimensional information.

この構成によれば、移動物体又は群衆の密集度の算出が容易となる。
また、前記密集度算出手段は、前記1次元情報の周波数分析を行うことによって前記密集度を算出してもよい。
According to this configuration, it is easy to calculate the density of moving objects or crowds.
The density calculation means may calculate the density by performing a frequency analysis of the one-dimensional information.

この構成によれば、移動物体又は群衆の密集度の算出がより容易となる。
また、前記撮像手段は、赤外線カメラであり、前記密集度算出手段は、前記赤外線カメラの反応領域に基づいて前記密集度を算出してもよい。
According to this configuration, it becomes easier to calculate the density of moving objects or crowds.
The imaging unit may be an infrared camera, and the density calculation unit may calculate the density based on a reaction area of the infrared camera.

この構成によれば、移動物体又は群衆の密集度の算出が容易となる。
また、本発明の実施の形態に係る監視装置は、監視領域内の監視を行う監視装置であって、監視領域内の画像を撮像して全体画像を生成する撮像手段と、前記撮像手段により生成される前記全体画像から複数の移動物体または群衆の画像である移動体画像を生成する移動体画像生成手段と、前記移動体画像生成手段により生成される前記移動体画像に基づいて前記移動物体または前記群衆の密集の度合いを示す密集度を算出する密集度算出手段と、前記密集度算出手段により算出される現時刻の前記密集度と、状況判断の基準とする密集度である基準密集度とを比較し、現時刻の前記密集度と前記基準密集度とが所定の閾値以上異なる場合に、現時刻の状況を異常事態であると判断する状況判断手段と、パン、チルトおよびズーム機能の少なくともいずれかを有する他の撮像手段と、前記状況判断手段により異常事態であると判断された場合に、現時刻の前記密集度が前記基準密集度と異なる領域を撮像するように前記他の撮像手段を制御する撮像制御手段とを備えることを特徴とする。
According to this configuration, it is easy to calculate the density of moving objects or crowds.
The monitoring apparatus according to the embodiment of the present invention is a monitoring apparatus that performs monitoring in a monitoring area, and generates an entire image by capturing an image in the monitoring area, and is generated by the imaging means. A moving body image generating means for generating a moving body image which is a plurality of moving objects or crowd images from the whole image, and the moving object or the moving object based on the moving body image generated by the moving body image generating means. A crowd density calculating means for calculating a crowd density indicating the crowd density; the crowd density at the current time calculated by the crowd density calculating means; and a reference crowd density that is a crowd density as a criterion for situation determination; And the situation determination means for determining that the situation at the current time is abnormal when the density at the current time and the reference density are different from each other by a predetermined threshold or less, and the pan, tilt and zoom functions are reduced. The other imaging unit and the other imaging unit so as to capture an area where the density at the current time is different from the reference density when the situation determination unit determines that the situation is abnormal. Imaging control means for controlling the means.

この構成によれば、異常事態の判定結果に基づいて異常事態の発生領域を他の撮像手段が撮像することにより詳細な画像を得ることができる。   According to this configuration, it is possible to obtain a detailed image by causing the other imaging unit to image the occurrence region of the abnormal situation based on the determination result of the abnormal situation.

また、本発明の実施の形態に係る監視装置は、監視領域内の監視を行う監視装置であって、監視領域内の画像を撮像して全体画像を生成する撮像手段と、前記撮像手段により生成される前記全体画像から複数の移動物体または群衆の画像である移動体画像を生成する移動体画像生成手段と、前記移動体画像生成手段により生成される前記移動体画像に基づいて前記移動物体または前記群衆の密集の度合いを示す密集度を算出する密集度算出手段と、前記撮影手段により生成される前記全体画像と前記密集度算出手段により算出される前記密集度とに基づいて前記移動物体または前記群衆の移動方向を算出する移動方向算出手段とを備えることを特徴とする。   The monitoring apparatus according to the embodiment of the present invention is a monitoring apparatus that performs monitoring in a monitoring area, and generates an entire image by capturing an image in the monitoring area, and is generated by the imaging means. A moving body image generating means for generating a moving body image which is a plurality of moving objects or crowd images from the whole image, and the moving object or the moving object based on the moving body image generated by the moving body image generating means. Based on the density calculation means for calculating the density indicating the degree of crowd density, the whole image generated by the photographing means and the density calculated by the density calculation means, The moving direction calculating means for calculating the moving direction of the crowd is provided.

この構成によれば、全体画像に存在する移動物体又は群衆の画像を個々に検出及び追跡するのではなくマクロ的に捉えることによって、人物の顔などの部位を正確に検出できない場合においても、移動物体又は群衆の移動方向を算出可能である。   According to this configuration, even if a part such as a person's face cannot be accurately detected by capturing a macro object rather than individually detecting and tracking a moving object or crowd image existing in the entire image, the moving object can be moved. The direction of movement of the object or crowd can be calculated.

また、前記監視装置は、さらに、前記移動方向算出手段により算出される現時刻の前記移動方向と、状況判断の基準とする移動方向である基準移動方向とに基づいて、現時刻の状況を判断する状況判断手段とを備えてもよい。   In addition, the monitoring device further determines the situation at the current time based on the movement direction at the current time calculated by the movement direction calculation means and a reference movement direction that is a movement direction as a reference for situation determination. And a situation determination means for performing the above.

この構成によれば、移動物体又は群衆の移動方向が通常時と大きく異なる時に異常事態と判断することが可能である。   According to this configuration, an abnormal situation can be determined when the moving direction of the moving object or the crowd is significantly different from the normal direction.

また、前記監視装置は、さらに、前記移動方向算出手段により算出される所定日時の前記移動方向に基づいて前記基準移動方向を算出する基準移動方向算出手段と、前記基準移動方向算出手段により算出される前記基準移動方向を保持するデータベースとを備えてもよい。   Further, the monitoring device is further calculated by a reference movement direction calculation unit that calculates the reference movement direction based on the movement direction at a predetermined date and time calculated by the movement direction calculation unit, and the reference movement direction calculation unit. And a database that holds the reference movement direction.

この構成によれば、通常時の移動方向を算出することが可能である。
また、前記基準移動方向算出手段は、前記移動方向算出手段により算出される前記移動方向に基づいて所定時間ごとに新しい基準移動方向を算出し、算出した新しい前記基準移動方向で前記データベースの前記基準移動方向を更新してもよい。
According to this configuration, it is possible to calculate the normal movement direction.
Further, the reference movement direction calculation means calculates a new reference movement direction every predetermined time based on the movement direction calculated by the movement direction calculation means, and uses the calculated new reference movement direction for the reference of the database. The moving direction may be updated.

この構成によれば、所定時間ごとにデータベースの基準移動方向を更新するから、異常事態の判断がより正確になる。   According to this configuration, since the reference movement direction of the database is updated every predetermined time, the determination of the abnormal situation becomes more accurate.

また、前記基準移動方向算出手段は、季節ごと、時刻ごと、天候ごとまたは曜日ごとの少なくとも1つごとに前記基準移動方向を算出して前記データベースに保持させてもよい。   In addition, the reference movement direction calculation means may calculate the reference movement direction for each season, every time, every weather, or every day of the week, and store it in the database.

この構成によれば、季節ごと、時刻ごと、天候ごと又は曜日ごとの基準移動方向を演算してデータベースに与えてデータベースに保持させるため、異常事態の判断がより正確になる。   According to this configuration, since the reference movement direction for each season, every time, every weather, or every day of the week is calculated and given to the database and held in the database, the determination of the abnormal situation becomes more accurate.

また、前記移動方向算出手段および前記基準移動方向算出手段は、前記移動方向および前記基準移動方向を関数近似によりパラメータ化してもよい。   Further, the movement direction calculation means and the reference movement direction calculation means may parameterize the movement direction and the reference movement direction by function approximation.

また、前記移動方向算出手段および前記基準移動方向算出手段は、前記移動方向および前記基準移動方向を、ガウス分布の分布数とそれぞれのガウス分布の平均値および分散値とをパラメータとしてパラメータ化してもよい。   Further, the movement direction calculation means and the reference movement direction calculation means may parameterize the movement direction and the reference movement direction using the number of Gaussian distributions and the average value and variance value of each Gaussian distribution as parameters. Good.

この構成によれば、パラメータによって表現することで、ノイズや検出ミスにロバストに異常事態の判定を行うことができる。   According to this configuration, by expressing the parameters, it is possible to determine an abnormal situation robustly against noise and detection errors.

また、前記監視装置は、さらに、あらかじめ設定される前記基準移動方向を保持するデータベースを備えてもよい。   The monitoring apparatus may further include a database that holds the reference movement direction set in advance.

この構成によれば、基準移動方向をあらかじめ設定して保持することで、構成を簡略化することができる。   According to this configuration, the configuration can be simplified by setting and holding the reference movement direction in advance.

また、前記状況判断手段は、現時刻の前記移動方向と前記基準移動方向とを比較し、現時刻の前記移動方向と前記基準移動方向とが所定の閾値以上異なる場合に、現時刻の前記状況を異常事態であると判断してもよい。   The situation determination means compares the movement direction at the current time with the reference movement direction, and if the movement direction at the current time differs from the reference movement direction by a predetermined threshold or more, the situation at the current time is May be determined to be an abnormal situation.

この構成によれば、移動物体又は群衆の移動方向が通常時と大きく異なる場合に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止することができる。   According to this configuration, it is possible to prevent a detection error, a tracking error, and a verification error by determining an abnormal situation when the moving direction of the moving object or the crowd is significantly different from the normal direction.

また、前記監視装置は、さらに、パン、チルトおよびズーム機能の少なくともいずれかを有する他の撮像手段と、前記状況判断手段により異常事態であると判断された場合に、現時刻の前記移動方向が前記基準移動方向と異なる領域を撮像するように前記他の撮像手段を制御する撮像制御手段とを備えてもよい。   In addition, the monitoring apparatus further determines that the moving direction at the current time is determined when an abnormal situation is determined by another imaging unit having at least one of pan, tilt, and zoom functions and the status determination unit. You may provide the imaging control means which controls the said other imaging means so that the area | region different from the said reference | standard movement direction may be imaged.

この構成によれば、異常事態の判定結果に基づいて異常事態の発生領域を他の撮像手段が撮像することにより詳細な画像を得ることができる。   According to this configuration, it is possible to obtain a detailed image by causing the other imaging unit to image the occurrence region of the abnormal situation based on the determination result of the abnormal situation.

また、前記撮像制御手段は、前記状況判断手段により異常事態であると判断された場合に、現時刻の前記移動方向が前記基準移動方向と異なる領域、かつ、前記密集度がピーク値を持つ領域を撮像するように前記他の撮像手段を制御してもよい。   The imaging control unit is a region where the moving direction at the current time is different from the reference moving direction and the congestion degree has a peak value when the situation determining unit determines that an abnormal situation has occurred. The other image pickup means may be controlled so as to pick up an image.

この構成によれば、他の撮像手段で異常事態の発生領域をより正確に撮像することができる。   According to this configuration, it is possible to more accurately image the region where the abnormal situation has occurred with another imaging unit.

さらに、本発明は、このような監視装置として実現することができるだけでなく、このような監視装置が含む特徴的な手段をステップとして含む監視方法として実現したり、それらのステップをコンピュータに実行させるプログラムとして実現したりすることもできる。そして、そのようなプログラムは、CD−ROM等の記録媒体やインターネット等の伝送媒体を介して配信することができるのは言うまでもない。   Furthermore, the present invention can be realized not only as such a monitoring apparatus, but also as a monitoring method including characteristic means included in such a monitoring apparatus as steps, or causing a computer to execute these steps. It can also be realized as a program. Needless to say, such a program can be distributed via a recording medium such as a CD-ROM or a transmission medium such as the Internet.

以下、本発明の実施の形態について、図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1に係る監視装置の構成を示すブロック図である。図1に示すように、本発明の実施の形態1に係る監視装置100は、移動している人物や車両等の複数の移動物体又は群衆の監視を行う装置であり、カメラ(撮像手段)101、移動体画像生成部102、密集度算出部103、モデル生成部104、データベース105、状況判断部106及び報知部107を具備している。報知部107は、画像表示部1071及び警報発生部1072を具備している。
(Embodiment 1)
FIG. 1 is a block diagram showing the configuration of the monitoring apparatus according to Embodiment 1 of the present invention. As shown in FIG. 1, a monitoring device 100 according to Embodiment 1 of the present invention is a device that monitors a plurality of moving objects such as a moving person or vehicle or a crowd, and has a camera (imaging means) 101. A moving body image generation unit 102, a density calculation unit 103, a model generation unit 104, a database 105, a situation determination unit 106, and a notification unit 107. The notification unit 107 includes an image display unit 1071 and an alarm generation unit 1072.

カメラ101は、監視領域内の移動している複数の移動物体又は群衆を含む対象物の画像を撮像して全体画像を生成する。移動体画像生成部102は、カメラ101で撮影された全体画像をフレーム毎に受けて全体画像に対してフレーム間差分処理、又は事前に用意された背景画像との背景差分処理を行う。ここで、移動体画像生成部102により差分処理された画像は、移動している車両等の移動物体又は群集の動いている領域が特定された移動体画像となる。この時に、移動体画像生成部102は、画像のエッジの抽出が確実に行える場合に、差分処理を行わず入力画像毎にエッジ抽出処理を行ってもよい。以下においては、移動体画像生成部102が、フレーム間差分処理又は背景差分処理を行った場合について述べる。   The camera 101 captures an image of an object including a plurality of moving objects or crowds moving within the monitoring area, and generates an entire image. The moving body image generation unit 102 receives the entire image captured by the camera 101 for each frame and performs inter-frame difference processing on the entire image or background difference processing with a background image prepared in advance. Here, the image subjected to the difference processing by the moving body image generation unit 102 is a moving body image in which a moving object such as a moving vehicle or a moving area of the crowd is specified. At this time, the moving body image generation unit 102 may perform the edge extraction process for each input image without performing the difference process when the edge of the image can be reliably extracted. In the following, a case where the moving body image generation unit 102 performs inter-frame difference processing or background difference processing will be described.

密集度算出部103は、移動体画像生成部102により差分処理された画像(移動体画像)を1次元情報に変換し、周波数分析を行って、移動物体または群衆の密集の度合いを示す密集度を算出する。   The congestion degree calculation unit 103 converts the image (moving body image) that has been differentially processed by the moving body image generation unit 102 into one-dimensional information, performs frequency analysis, and shows a congestion degree that indicates the degree of congestion of the moving object or the crowd. Is calculated.

次に、密集度算出部103について、図2を用いて詳しく説明する。
密集度算出部103は、1次元情報変換部210及び周波数処理部211を具備している。1次元情報変換部210は、移動体画像生成部102から出力された2次元画像を1次元情報に変換する。1次元情報変換部210の画像変換動作としては、以下の2つの画像変換動作例が挙げられる。
Next, the density calculation unit 103 will be described in detail with reference to FIG.
The density calculation unit 103 includes a one-dimensional information conversion unit 210 and a frequency processing unit 211. The one-dimensional information conversion unit 210 converts the two-dimensional image output from the moving body image generation unit 102 into one-dimensional information. Examples of the image conversion operation of the one-dimensional information conversion unit 210 include the following two image conversion operation examples.

一つの画像変換動作例は、図3に示すように、移動体画像生成部102により入力画像(全体画像)301が差分処理され、密集度算出部103へ入力された差分画像302における差分値に基づいて横軸に射影し、ヒストグラム303を算出する。これにより、横軸の各値に対する1次元情報であるヒストグラム303を得ることができる。この場合、差分領域の面積情報を用いて1次元情報を算出することになる。   In one image conversion operation example, as shown in FIG. 3, the input image (entire image) 301 is differentially processed by the moving body image generation unit 102, and the difference value in the difference image 302 input to the density calculation unit 103 is converted into a difference value. Based on this, projection is performed on the horizontal axis, and a histogram 303 is calculated. Thereby, a histogram 303 which is one-dimensional information for each value on the horizontal axis can be obtained. In this case, one-dimensional information is calculated using the area information of the difference area.

他の画像変換動作例は、図4に示すように、入力される差分画像302における差分値を「0」又は「1」の値に2値化した2値化画像401を生成し、2値化画像401に対して画像の最上部から縦軸方向にスキャンを行って最初に検出したオンピクセルの縦軸の最大値である検出縦軸値402を残すことによって1次元情報を得る。ここで、オンピクセルとは、2値化した画素で「1」の値を持つピクセルである。   In another image conversion operation example, as shown in FIG. 4, a binary image 401 is generated by binarizing a difference value in an input difference image 302 to a value of “0” or “1”. One-dimensional information is obtained by scanning the digitized image 401 from the top of the image in the vertical axis direction and leaving the detected vertical axis value 402 which is the maximum value of the vertical axis of the first detected on-pixel. Here, the on-pixel is a pixel that is binarized and has a value of “1”.

例えば、2値化画像401がXY軸で示され、左下を原点とした場合に、X軸の特定の値において、縦軸であるY軸に、複数のオンピクセルが存在し、Y軸の値が、「200」、「100」、「50」である場合は、検出縦軸値402として検出されるY軸の値は、画像最上部からスキャンして最初に検出したオンピクセルのY軸値であるため、「200」となる。   For example, when the binarized image 401 is indicated by the XY axis and the lower left is the origin, in the specific value of the X axis, there are a plurality of on-pixels on the Y axis that is the vertical axis, and the Y axis value Is “200”, “100”, “50”, the Y-axis value detected as the detection vertical axis value 402 is the Y-axis value of the on-pixel detected first after scanning from the top of the image. Therefore, “200” is obtained.

なお、これらの1次元情報を得るための方法は、上記に限定されるものではなく、群集の密集度を算出可能な1次元情報を得る方法であれば、何でも良い。   The method for obtaining the one-dimensional information is not limited to the above, and any method may be used as long as it is a method for obtaining one-dimensional information that can calculate the crowd density.

ここで、群集の密集度として、ヒストグラム303およびオンピクセルの縦軸検出値402を用いてもよい。この場合、周波数処理部211は不要であるが、本実施の形態では、さらに、ノイズに対するロバスト性を向上させる例として、周波数処理部211によって、これらの1次元情報であるヒストグラム303と検出縦軸値402に対して、周波数処理を行った例について説明する。   Here, the histogram 303 and the on-pixel vertical axis detection value 402 may be used as the crowd density. In this case, the frequency processing unit 211 is unnecessary, but in the present embodiment, as an example of further improving the robustness against noise, the frequency processing unit 211 uses the histogram 303 and the detection vertical axis as these one-dimensional information. An example in which frequency processing is performed on the value 402 will be described.

1次元情報変換部210によって生成された1次元情報であるヒストグラム303又は検出縦軸値402は、周波数処理部211に送られる。周波数処理部211は、1次元情報であるヒストグラム303又は検出縦軸値402に対して1次元フーリエ変換を行う。これによって、1次元情報であるヒストグラム303又は検出縦軸値402の周波数スペクトラム501を図5に示すように算出することが可能である。ここで、1次元情報変換部210で処理された1次元情報であるヒストグラム303は、図5に示す周波数スペクトラム501のハッチング部に示すように高周波成分を含んでいる場合がある。   The histogram 303 or the detected vertical axis value 402 that is one-dimensional information generated by the one-dimensional information conversion unit 210 is sent to the frequency processing unit 211. The frequency processing unit 211 performs a one-dimensional Fourier transform on the histogram 303 or the detected vertical axis value 402 that is one-dimensional information. Accordingly, the frequency spectrum 501 of the histogram 303 or the detection vertical axis value 402 that is one-dimensional information can be calculated as shown in FIG. Here, the histogram 303 which is the one-dimensional information processed by the one-dimensional information conversion unit 210 may include a high-frequency component as shown in the hatched portion of the frequency spectrum 501 shown in FIG.

監視装置100は、移動物体又は群衆をマクロ的に捉えることが目的であるために、高周波成分はノイズであると判断して、1次元情報であるヒストグラム303に対してフーリエ変換を行い、周波数成分を算出し、その中で高周波成分をカットして、逆フーリエ変換を行って逆変換結果503を得る。本実施の形態では、逆変換結果503を周波数分析処理後1次元情報と呼ぶ。すなわち、監視装置100は、ローパス処理を行うことによって、マクロ的に移動物体又はその群集を捉えることが可能である。ここでは、必ずしも逆フーリエ変換を行って、画像空間に戻す必要は無く、監視装置100は、周波数スペクトラム501や、音声認識等で用いられるケプストラム502を用いることで、周波数分析処理後1次元情報を算出することも可能である。なお、ケプストラム502の算出は、監視装置100は、1次元フーリエ変換を行った後に、対数スペクトルを算出し、再度フーリエ変換を行うことでケプストラム係数を算出し、低次項の成分のみを用いることにより周波数分析処理後1次元情報を算出することも可能である。   Since the monitoring device 100 is intended to capture a moving object or a crowd in a macro manner, the high frequency component is determined to be noise, and a Fourier transform is performed on the histogram 303, which is one-dimensional information, to obtain a frequency component. Is calculated, and high frequency components are cut therein, and inverse Fourier transform is performed to obtain an inverse transform result 503. In the present embodiment, the inverse transformation result 503 is referred to as one-dimensional information after frequency analysis processing. That is, the monitoring device 100 can capture a moving object or a crowd thereof macroscopically by performing low-pass processing. Here, it is not always necessary to perform the inverse Fourier transform and return to the image space, and the monitoring apparatus 100 uses the frequency spectrum 501 and the cepstrum 502 used in speech recognition, etc., so that the one-dimensional information after the frequency analysis processing is obtained. It is also possible to calculate. The cepstrum 502 is calculated by the monitoring apparatus 100 performing a one-dimensional Fourier transform, then calculating a logarithmic spectrum, performing a Fourier transform again, calculating a cepstrum coefficient, and using only the low-order component. It is also possible to calculate one-dimensional information after frequency analysis processing.

ここでは、1次元情報変換部210により算出された1次元情報に対し、周波数処理部211によりケプストラム係数算出処理などの周波数分析処理を行った周波数分析処理後1次元情報は、移動している複数の移動物体又は群集の密集度として定義される。   Here, the frequency analysis-processed one-dimensional information obtained by performing frequency analysis processing such as cepstrum coefficient calculation processing on the one-dimensional information calculated by the one-dimensional information conversion unit 210 is moving. Defined as the density of moving objects or crowds.

もちろん、ヒストグラム303およびオンピクセルの縦軸検出値も周波数分析処理後1次元情報と同様な1次元情報であり、移動している複数の移動物体又は群集の密集度として定義することも可能である。   Of course, the histogram 303 and the on-pixel vertical axis detection value are also one-dimensional information similar to the one-dimensional information after the frequency analysis process, and can be defined as the density of a plurality of moving objects or crowds that are moving. .

次に、モデル生成部104の基準密集度(モデル値)を生成する動作について、説明する。ここで、基準密集度は、通常時の全体画像から作成された移動物体又は群衆の密集度であり、異常事態発生の判断の基準となる1次元情報である。   Next, the operation | movement which produces | generates the reference | standard density (model value) of the model production | generation part 104 is demonstrated. Here, the reference density is a density of a moving object or a crowd created from an entire image at normal time, and is one-dimensional information that serves as a reference for determining the occurrence of an abnormal situation.

基準密集度であるモデルを生成する方法としては、ヒストグラム303およびオンピクセルの縦軸検出値402を用いることができる。さらに、周波数処理部211において、図5に示すように1次元情報であるヒストグラム303をローパス処理した逆変換結果503を用いる方法と、フーリエスペクトラム又はケプストラム係数を用いる方法とがある。以下、1次元情報をローパスフィルタで処理した逆変換結果503を用いる方法について述べる。なお、フーリエスペクトラム又はケプストラム係数を用いたモデルを生成する方法についても、逆変換結果503と同じ手法を用いて生成することが可能である。   As a method of generating a model having a reference density, a histogram 303 and an on-pixel vertical axis detection value 402 can be used. Furthermore, in the frequency processing unit 211, there are a method using an inverse transformation result 503 obtained by low-pass processing a histogram 303 which is one-dimensional information as shown in FIG. 5, and a method using a Fourier spectrum or a cepstrum coefficient. Hereinafter, a method using an inverse transformation result 503 obtained by processing one-dimensional information with a low-pass filter will be described. Note that a method of generating a model using a Fourier spectrum or a cepstrum coefficient can also be generated using the same method as the inverse transformation result 503.

モデル生成部104は、周波数処理部211により算出される所定日時の周波数分析処理後1次元情報(密集度)に基づいて移動物体又は群衆の基準密集度(モデル値)を算出する基準密集度算出手段を構成している。モデル生成部104は、演算した基準密集度をデータベース105に与えて保持させる。   The model generation unit 104 calculates a reference density (model value) of a moving object or a crowd based on one-dimensional information (density) after frequency analysis processing at a predetermined date and time calculated by the frequency processing unit 211. Means. The model generation unit 104 gives the calculated reference density to the database 105 to hold it.

モデル生成部104は、季節、時刻、天候又は曜日ごとに基準密集度を演算することが可能であり、また、季節及び現時刻の時刻を勘案して複数の基準密集度を用意することもできる。   The model generation unit 104 can calculate the reference density for each season, time, weather, or day of the week, and can also prepare a plurality of reference densities taking into account the time of the season and the current time. .

また、天候によっては、人物等の数は変化すると考えられるために、天候によってそれぞれ基準密集度を用意することが望ましい。さらに、雨天時の屋外であれば、傘をさした人物が存在するために、前記周波数分析処理後1次元情報(密集度)も晴天、曇天時とは異なる。また、同様に、平日と週末といったように、曜日によって、人物等の数は変化すると考えられるために、それぞれ複数の基準密集度を用意することが望ましい。また、これらの基準密集度は、季節、時刻、天候又は曜日に関する情報と対応づけるように複数のものを生成し、監視時には現在の季節、時刻、天候又は曜日に応じてどの基準密集度を用いるかを決定することが可能である。   Further, since the number of persons or the like is considered to change depending on the weather, it is desirable to prepare a standard density according to the weather. Furthermore, since there is a person wearing an umbrella when it is outdoors in rainy weather, the one-dimensional information (density) after the frequency analysis processing is also different from that in fine weather and cloudy weather. Similarly, since it is considered that the number of persons and the like changes depending on the day of the week, such as weekdays and weekends, it is desirable to prepare a plurality of reference densities. In addition, a plurality of these standard congestions are generated so as to be associated with information on the season, time, weather or day of the week, and when monitoring, which standard congestion is used according to the current season, time, weather or day of the week. It is possible to determine whether or not.

図6(a)、(b)、(c)は、季節、時刻、天候、および曜日を基にモデル化した例を示す図である。図6(a)、(b)、(c)に示すように、例えば、現在の季節、時刻、天候、および曜日に応じて、モデル1、モデル2、モデル3…の中からどの基準密集度(モデル値)を用いるかが予め決定される。これにより、より詳細に移動物体又は群集に関するモデル化を行うことが可能となる。なお、季節、時刻、天候、および曜日すべてを基にモデル化する必要はなく、例えば時刻だけを基にモデル化しても構わない。これらの基準密集度(モデル値)は、データベース105に保持される。   FIGS. 6A, 6B, and 6C are diagrams illustrating an example of modeling based on season, time, weather, and day of the week. As shown in FIGS. 6 (a), (b), and (c), for example, depending on the current season, time, weather, and day of the week, which reference density is selected from Model 1, Model 2, Model 3,. Whether to use (model value) is determined in advance. This makes it possible to model the moving object or the crowd in more detail. Note that it is not necessary to model based on the season, time, weather, and day of the week. For example, the modeling may be based on only the time. These reference densities (model values) are held in the database 105.

ここで、周波数分析後1次元情報(密集度)として、逆変換結果503を用いた場合の、モデル生成部104の基準密集度演算例について説明する。逆変換結果503の代わりに、ヒストグラム303およびオンピクセルの縦軸検出値402を用いても同様の処理が可能である。   Here, a reference density calculation example of the model generation unit 104 when the inverse transformation result 503 is used as the one-dimensional information (density) after frequency analysis will be described. Similar processing can be performed by using the histogram 303 and the on-pixel vertical axis detection value 402 instead of the inverse transformation result 503.

逆変換結果503は、x軸における各点xiごとに値y(xi)を持つ。ここで各点xiにおける逆変換結果であるy(xi)の時間変化をモデル化することによって、基準密集度(モデル値)を算出する。具体的には、図6(d)のように、y(xi)の時間変化である値に関して、平均値と分散値を求めることによって、x軸における各点xiごとのy(xi)の時間変動をモデル化することが可能である。すなわち、基準密集度(モデル値)は、点xiごとにf(xi)の平均値と分散値を持つことになる。   The inverse transformation result 503 has a value y (xi) for each point xi on the x-axis. Here, the reference density (model value) is calculated by modeling the time change of y (xi), which is the inverse transformation result at each point xi. Specifically, as shown in FIG. 6 (d), by obtaining an average value and a variance value for a value that is a time change of y (xi), the time of y (xi) for each point xi on the x-axis is obtained. Variations can be modeled. That is, the reference density (model value) has an average value and a variance value of f (xi) for each point xi.

モデル化により、曜日や日時によって、密集度の変動が大きい場合は、前記分散値が大きな値となる。また、密集度の変動が小さく、人通りが少ない場合においては、前記平均値、前記分散値共に低い値となり、通常時の密集度を時間変動分も考慮してモデル化することが可能である。さらに、逐次的に前記基準密集度として、前記分散値や平均値を更新することも可能である。   As a result of modeling, when the variation in the density is large depending on the day of the week or the date and time, the variance value becomes a large value. In addition, when the variation in the density is small and the traffic is small, both the average value and the variance value are low, and the normal density can be modeled in consideration of the time variation. . Furthermore, it is also possible to update the variance value and the average value as the reference density sequentially.

また、フーリエスペクトラムやケプストラム係数を用いた場合は、各周波数もしくは各ケプストラム次数におけるスペクトラム値およびケプストラム値の時間変動を用いて、モデル化することが可能である。   In addition, when a Fourier spectrum or a cepstrum coefficient is used, it is possible to model using a spectrum value at each frequency or each cepstrum order and a temporal variation of the cepstrum value.

例えば、フーリエスペクトラムを用いた場合は、ある周波数fiごとのパワースペクトラム値g(fi)を持つため、g(fi)の時間変動を前述のように平均値と分散値を用いてモデル化することが可能である。   For example, when using a Fourier spectrum, it has a power spectrum value g (fi) for each frequency fi, so the time variation of g (fi) must be modeled using the average value and the variance value as described above. Is possible.

ここで、データベース105には、基準密集度(モデル値)として、x軸における各点もしくは、各周波数、各ケプストラム次数の、y(xi)およびg(fi)の時間変動を表現する平均値と分散値を保持する。   Here, the database 105 includes, as the reference density (model value), an average value representing time variation of y (xi) and g (fi) of each point on the x axis or each frequency and each cepstrum order. Holds the variance value.

なお、モデル生成部104は、環境変化によって人通りなどの移動物体の分布が変化した場合にも対応するために、基準密集度(モデル値)を所定時間毎に演算して新しい基準密集度(モデル値)を求めてデータベース105に与えて基準密集度(モデル値)を更新してもよい。   Note that the model generation unit 104 calculates a reference density (model value) every predetermined time to cope with a case where the distribution of moving objects such as traffic is changed due to environmental changes, so that a new reference density ( The model density) may be obtained and given to the database 105 to update the reference density (model value).

次に、状況判断部106について述べる。状況判断部106は、現在の季節、時刻、天候又は曜日などの情報を基に、データベース105に保持している基準密集度(モデル値)を選択し、選択された基準密集度と密集度算出部103から入力された現時刻における密集度(1次元情報)との比較を行って、現時刻における密集度が基準密集度と異なるか否かを判断して判断結果を生成して報知部107に与える。   Next, the situation determination unit 106 will be described. The situation determination unit 106 selects a reference density (model value) held in the database 105 based on information such as the current season, time, weather, or day of the week, and calculates the selected reference density and density. A comparison is made with the density (one-dimensional information) at the current time input from the unit 103, and it is determined whether or not the density at the current time is different from the reference density, and a determination result is generated to generate a notification unit 107. To give.

状況判断部106において、現時刻における密集度と基準密集度との比較は、基準密集度(モデル値)の平均値および分散値σからの外れ具合を計算する。   The situation determination unit 106 calculates the degree of deviation from the average value and the variance value σ of the reference density (model value) for comparison between the density at the current time and the reference density.

ここでは、異常事態発生の判断は、入力された画像から1次元情報であるヒストグラム等を生成し、更に、周波数分析処理を行った周波数分析処理後1次元情報を現時刻における密集度として、x軸における各点もしくは、各周波数、各ケプストラム次数におけるy(xi)およびg(fi)を算出する。次に、y(xi)およびg(fi)が、基準密集度(モデル値)の分散値σから決定したNσ(N:定数)以上である点xiの数を計算し、その点数が閾値以上であれば、異常事態であると判断することができる。なお、比較方法については、点xiごとに重み係数を乗算しても良い。   Here, the occurrence of an abnormal situation is determined by generating a histogram or the like as one-dimensional information from the input image, and further using the one-dimensional information after frequency analysis processing that has been subjected to frequency analysis processing as the degree of congestion at the current time. Calculate y (xi) and g (fi) at each point on the axis or at each frequency and each cepstrum order. Next, the number of points xi in which y (xi) and g (fi) are equal to or greater than Nσ (N: constant) determined from the variance value σ of the standard density (model value) is calculated, and the number of points is equal to or greater than a threshold value. If it is, it can be judged that it is an abnormal condition. As for the comparison method, a weighting factor may be multiplied for each point xi.

次に、報知部107について述べる。報知部107は、画像表示部1071及び警報発生部1072を具備している。   Next, the notification unit 107 will be described. The notification unit 107 includes an image display unit 1071 and an alarm generation unit 1072.

画像表示部1071は、状況判断部106からの判断結果を受けて表示して監視者に報知する。警報発生部1072は、状況判断部106からの判断結果を受けて判断結果が異常事態の発生を示している時に警報音又は警報光を発生して監視者に報知する。   The image display unit 1071 receives and displays the determination result from the situation determination unit 106 and notifies the monitor. The alarm generation unit 1072 receives the determination result from the situation determination unit 106 and generates an alarm sound or an alarm light when the determination result indicates the occurrence of an abnormal situation to notify the supervisor.

次に、上記のように構成された監視装置100の動作について説明する。図7は、監視装置100の動作の流れを示すフローチャートである。ここでは、データベース105には、モデル生成部104により例えば季節、時刻、天候、および曜日に応じて算出された複数の基準密集度がすでに保持されているとする。   Next, the operation of the monitoring apparatus 100 configured as described above will be described. FIG. 7 is a flowchart showing an operation flow of the monitoring apparatus 100. Here, it is assumed that the database 105 already holds a plurality of reference densities calculated by the model generation unit 104 according to, for example, the season, time, weather, and day of the week.

カメラ101は、監視領域内の移動している複数の移動物体又は群衆を含む対象物の画像を撮像して全体画像を生成する(ステップS101)。移動体画像生成部102は、カメラ101で撮影された全体画像をフレーム毎に受けて全体画像に対してフレーム間差分処理、又は事前に用意された背景画像との背景差分処理を行う(ステップS102)。次に、密集度算出部103は、移動体画像生成部102により差分処理された画像(移動体画像)を1次元情報に変換し、周波数分析を行って現時刻の密集度を算出する(ステップS103)。状況判断部106は、データベース105に保持されている複数の基準密集度の中から、現在の季節、時刻、天候、および曜日に対応する基準密集度を選択する(ステップS104)。次に、状況判断部106は、選択した基準密集度と、密集度算出部1
03により算出された現時刻の密集度とに基づいて、現時刻の状況を判断する。すなわち、状況判断部106は、現時刻の密集度が基準密集度の平均値および分散値σから所定値以上外れているか否かを判断する(ステップS105)。この判断の結果、所定値以上外れている場合(ステップS105でYES)には、現時刻の状況を異常事態と判断する(ステップS106)。そして、警報発生部1072は、状況判断部106からの異常事態との判断結果を受けて警報音又は警報光を発生して監視者に報知する(ステップS107)。一方、上記判断の結果、所定値以上外れていない場合(ステップS105でNO)には、現時刻の状況を通常状態と判断する(ステップS108)。
The camera 101 captures an image of an object including a plurality of moving objects or crowds moving within the monitoring area, and generates an entire image (step S101). The moving body image generation unit 102 receives the entire image captured by the camera 101 for each frame and performs inter-frame difference processing on the entire image or background difference processing with a background image prepared in advance (step S102). ). Next, the density calculation unit 103 converts the image (moving body image) that has been differentially processed by the moving body image generation unit 102 into one-dimensional information, performs frequency analysis, and calculates the density at the current time (step). S103). The situation determination unit 106 selects a reference density corresponding to the current season, time, weather, and day of the week from a plurality of reference densities held in the database 105 (step S104). Next, the situation determination unit 106 selects the selected standard density and the density calculation unit 1.
Based on the density of the current time calculated by 03, the current time situation is determined. That is, the situation determination unit 106 determines whether or not the congestion at the current time is more than a predetermined value from the average value and the variance value σ of the reference congestion (Step S105). If the result of this determination is that it exceeds a predetermined value (YES in step S105), it is determined that the current time is an abnormal situation (step S106). The alarm generation unit 1072 receives the determination result from the situation determination unit 106 as an abnormal situation, generates an alarm sound or an alarm light, and notifies the monitoring person (step S107). On the other hand, as a result of the above determination, if the predetermined value or more is not deviated (NO in step S105), the current time is determined to be the normal state (step S108).

このように、本発明の実施の形態1によれば、全体画像に存在する移動物体又は群衆の画像を個々に検出及び追跡するのではなくマクロ的に捉えることによって、人物の顔などの部位を正確に検出できない場合においても、移動物体又は群衆の密集度が通常時と大きく異なる場合に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止し監視者に注意を促すことができる。また、本発明の実施の形態1によれば、移動物体又は群衆の密集度の算出が容易となる。   As described above, according to the first embodiment of the present invention, a moving object or crowd image existing in the entire image is not detected and tracked individually, but is captured in a macro manner so that a part such as a human face can be detected. Even if it cannot be detected accurately, it is possible to prevent a detection error, a tracking error, and a verification error by calling an abnormal situation when the density of moving objects or crowds is significantly different from the normal time, and alert the observer. . Further, according to Embodiment 1 of the present invention, it is easy to calculate the density of moving objects or crowds.

(実施の形態2)
次に、本発明の実施の形態2について、図面を参照して説明する。図8は、本発明の実施の形態2に係る監視装置の構成を示すブロック図である。なお、本発明の実施の形態2においては、本発明の実施の形態1と同じ構成要素には同じ参照符号を付し、その説明を省略する。
(Embodiment 2)
Next, Embodiment 2 of the present invention will be described with reference to the drawings. FIG. 8 is a block diagram showing the configuration of the monitoring apparatus according to Embodiment 2 of the present invention. In the second embodiment of the present invention, the same components as those in the first embodiment of the present invention are denoted by the same reference numerals, and the description thereof is omitted.

図8に示すように、本発明の実施の形態2に係る監視装置700は、本発明の実施の形態1の構成に加えて、カメラ701及びカメラ制御部702を備えている。   As shown in FIG. 8, a monitoring apparatus 700 according to Embodiment 2 of the present invention includes a camera 701 and a camera control unit 702 in addition to the configuration of Embodiment 1 of the present invention.

カメラ701は、パン、チルト及びズームの少なくとも一つの機能を備えている。密集度算出部103は、周波数分析処理後1次元情報(密集度)をカメラ制御部702に与える。また、状況判断部106は、判断結果をカメラ制御部702に与える。カメラ制御部702について、図9を用いて説明する。図9は、(a)通常時の画像例1201、(b)異常事態発生時の画像例1202、(c)基準密集度の平均値をプロットした例1203、(d)異常事態発生時の密集度1204を示す図である。なお、実際には、図9(c)に示す基準密集度は各f(xi)が分散値を持っている。ここで、状況判断部106が、異常事態が発生していることを判断した場合、カメラ制御部702は、密集度算出部103からの1次元情報(密集度)が基準密集度と最も異なる領域にカメラ701が向くようにカメラ701を制御する。この時に、カメラ701が撮像する画像は、画像表示部1071に与えられ表示される。   The camera 701 has at least one function of pan, tilt, and zoom. The density calculation unit 103 provides the camera control unit 702 with the one-dimensional information (density) after the frequency analysis processing. In addition, the situation determination unit 106 gives the determination result to the camera control unit 702. The camera control unit 702 will be described with reference to FIG. 9A shows an image example 1201 in a normal state, FIG. 9B shows an image example 1202 in the event of an abnormal situation, FIG. 9C shows an example 1203 in which the average value of the reference density is plotted, and FIG. FIG. Actually, each reference density shown in FIG. 9C has a variance value for each f (xi). Here, when the situation determination unit 106 determines that an abnormal situation has occurred, the camera control unit 702 has an area in which the one-dimensional information (density) from the density calculation unit 103 is the most different from the reference density. The camera 701 is controlled so that the camera 701 faces toward the camera. At this time, an image captured by the camera 701 is given to the image display unit 1071 and displayed.

例えば、図9(a)に示すような通常の状態から人が倒れて図9(b)に示すように異常事態が発生し、状況判断部106が、異常事態が発生していると判断した場合、カメラ制御部702は、図9(d)に示すような現時刻の密集度1204が図9(c)に示すような基準密集度と最も異なる領域にカメラ701が向くようにカメラ701を制御する。これにより、図9(b)に示す人が倒れている領域をカメラ701で撮像することができる。   For example, a person falls from a normal state as shown in FIG. 9A and an abnormal situation occurs as shown in FIG. 9B, and the situation determination unit 106 determines that an abnormal situation has occurred. In this case, the camera control unit 702 moves the camera 701 so that the density 1204 at the current time as shown in FIG. 9D is most different from the reference density as shown in FIG. 9C. Control. Accordingly, the camera 701 can capture an area where the person shown in FIG.

また、カメラ制御部702では、周波数分析処理後1次元情報(密集度)がピーク値を持つ領域にカメラを制御することも可能である。   The camera control unit 702 can also control the camera in an area where the one-dimensional information (density) after the frequency analysis processing has a peak value.

このように、本発明の実施の形態2によれば、本発明の実施の形態1の効果に加えて、異常事態の判定結果に基づいて異常事態の発生領域をカメラ701が撮像することにより詳細な画像を得ることができる。   As described above, according to the second embodiment of the present invention, in addition to the effect of the first embodiment of the present invention, the camera 701 captures the details of the abnormal event occurrence area based on the abnormal event determination result. Can be obtained.

(実施の形態3)
次に、本発明の実施の形態3について、図面を参照して説明する。図10は、本発明の実施の形態3に係る監視装置の構成を示すブロック図である。なお、本発明の実施の形態3においては、本発明の実施の形態1と同じ構成要素には同じ参照符号を付し、その説明を省略する。
(Embodiment 3)
Next, Embodiment 3 of the present invention will be described with reference to the drawings. FIG. 10 is a block diagram showing the configuration of the monitoring apparatus according to Embodiment 3 of the present invention. In the third embodiment of the present invention, the same components as those in the first embodiment of the present invention are denoted by the same reference numerals, and the description thereof is omitted.

図10に示すように、本発明の実施の形態3に係る監視装置800は、本発明の実施の形態1の構成に、移動方向算出部801を追加し、モデル生成部104及び状況判断部106の代わりにモデル生成部802及び状況判断部803を有する。   As shown in FIG. 10, a monitoring apparatus 800 according to Embodiment 3 of the present invention adds a moving direction calculation unit 801 to the configuration of Embodiment 1 of the present invention, and generates a model generation unit 104 and a situation determination unit 106. Instead of a model generation unit 802 and a situation determination unit 803.

移動方向算出部801は、移動体画像生成部102で差分処理を行った画像を受け、かつ、密集度算出部103の周波数処理部211によりフレーム毎に周波数分析処理を行った周波数分析処理後1次元情報を受ける。   The moving direction calculation unit 801 receives the image subjected to the difference processing by the moving body image generation unit 102 and performs frequency analysis processing 1 after frequency analysis processing for each frame by the frequency processing unit 211 of the density calculation unit 103. Receive dimension information.

以下、移動方向算出部801が、図5に示した周波数処理部211でフレーム毎にローパス処理を行った逆変換結果503を入力として用いた場合について述べる。   Hereinafter, a case will be described in which the moving direction calculation unit 801 uses, as an input, the inverse transformation result 503 obtained by performing the low-pass processing for each frame by the frequency processing unit 211 illustrated in FIG.

図11に示すように、移動方向算出部801は、画像領域選択部901及び画像照合部902を有している。画像領域選択部901は、図12に示すように、周波数分析処理後1次元情報(密集度)である逆変換結果503に基づいて、その時刻に撮像された入力画像301の領域にローパス処理を行った逆変換結果503によって区切ることにより領域選択画像1001を得る。次に、画像照合部902は、領域選択画像1001を用いて現在の入力画像との照合を行う。この時に、画像照合部902は、領域選択画像1001と現在の入力画像とが最も良く照合するように、領域選択画像1001を拡大、縮小又は平行移動する。これにより、画像照合部902は、領域選択画像1001と現在の入力画像とが最も良く照合した時の拡大又は縮小に関するパラメータと縦軸方向及び横軸方向における平行移動パラメータの情報を得る。このパラメータを1次元に並べたものを移動方向と呼ぶ。   As illustrated in FIG. 11, the movement direction calculation unit 801 includes an image region selection unit 901 and an image collation unit 902. As shown in FIG. 12, the image region selection unit 901 performs low-pass processing on the region of the input image 301 captured at that time based on the inverse transformation result 503 that is one-dimensional information (density) after frequency analysis processing. A region selection image 1001 is obtained by dividing the result by the inverse transformation result 503 performed. Next, the image collation unit 902 performs collation with the current input image using the region selection image 1001. At this time, the image matching unit 902 enlarges, reduces, or translates the area selection image 1001 so that the area selection image 1001 and the current input image are best matched. As a result, the image collating unit 902 obtains information on the parameters relating to enlargement or reduction and the parallel movement parameter in the vertical axis direction and the horizontal axis direction when the region selection image 1001 and the current input image are best collated. The one-dimensional array of these parameters is called the moving direction.

次に、画像照合部902は、得られた拡大又は縮小及び平行移動に関するパラメータ値をモデル生成部802及び状況判断部803に与える。   Next, the image matching unit 902 gives the obtained parameter values relating to enlargement or reduction and parallel movement to the model generation unit 802 and the situation determination unit 803.

モデル生成部802は、領域選択画像1001と現在の入力画像とが最も良く照合した時の拡大又は縮小に関するパラメータと縦軸方向及び横軸方向における平行移動パラメータを並べた1次元データをデータベース105に保持させることも可能である。   The model generation unit 802 stores, in the database 105, one-dimensional data in which parameters relating to enlargement or reduction when the region selection image 1001 and the current input image are best matched, and parallel movement parameters in the vertical axis and horizontal axis directions are arranged. It is also possible to hold it.

また、実施の形態1で説明したように、時間変動を考慮しても良い。具体的には、画像照合部902で得た、2枚の領域選択画像1001が最も良く照合した時の拡大又は縮小に関するパラメータと縦軸方向及び横軸方向における平行移動パラメータを並べた1次元情報から、さらに、この1次元情報の各要素の時間変動を加味することによって、各要素の平均値と分散値を算出して保持する。ここで、基準移動方向として、データベース105に保持する情報は、拡大、縮小、平行移動などに関するパラメータ値を並べた1次元情報か、もしくは、各パラメータ値の平均値と分散値を並べた1次元情報である。   Further, as described in Embodiment 1, time variation may be taken into consideration. Specifically, the one-dimensional information obtained by arranging the parameters related to enlargement or reduction when the two area selection images 1001 are best collated and the parallel movement parameters in the vertical and horizontal axes obtained by the image matching unit 902. Further, by taking into account the time variation of each element of this one-dimensional information, the average value and the variance value of each element are calculated and held. Here, as the reference movement direction, the information held in the database 105 is one-dimensional information in which parameter values relating to enlargement, reduction, parallel movement, etc. are arranged, or one-dimensional information in which the average value and variance value of each parameter value are arranged. Information.

なお、画像照合部902は、拡大、縮小及び平行移動を用いた照合方法以外により画像を照合するようにしてもよい。   Note that the image collation unit 902 may collate images by a method other than the collation method using enlargement, reduction, and parallel movement.

状況判断部803は、画像照合部902で算出した現時刻のパラメータ値とデータベース105により保持された通常時の画像より算出されたパラメータ値(基準移動方向)との照合を行う。ここで、状況判断部803は、現時刻における季節、時刻、天候又は曜日などの情報をもとに、データベース105に保持しているモデル(基準移動方向)を選択し、密集度算出部103から入力された現時刻における入力情報との比較を行う。   The situation determination unit 803 collates the parameter value at the current time calculated by the image collation unit 902 with the parameter value (reference movement direction) calculated from the normal image held in the database 105. Here, the situation determination unit 803 selects a model (reference movement direction) held in the database 105 based on information such as the season, time, weather, or day of the week at the current time, and from the density calculation unit 103 The input information at the current time is compared.

この時、状況判断部803は、入力された画像から生成する1次元情報として、通常時の画像から算出するパラメータ値の生成方法と同様に、画像照合のために用いた拡大、縮小及び平行移動に関するパラメータ値を用いる。そして、状況判断部803は、現時刻の画像照合のために用いたパラメータ値を表す1次元情報と通常時の画像から算出した1次元情報との内積を計算して内積値を生成し、その内積値が閾値以上であるか否かを判断し判断結果を生成して報知部107に与える。この判断結果は、画像照合のために用いたパラメータ値を表す1次元情報と通常時の画像から算出した1次元情報との内積値が閾値以上である場合に異常事態の発生であることを示すものである。例えば、この監視装置800は、通常時には移動物体及び群集が移動するにも拘わらず、グループ同士の抗争などで移動物体及び群集が移動しないような場合に異常事態と判定することが可能である。   At this time, the situation determination unit 803 uses, as the one-dimensional information generated from the input image, the enlargement, reduction, and parallel movement used for the image matching, as in the method of generating the parameter value calculated from the normal image. The parameter value for is used. Then, the situation determination unit 803 generates an inner product value by calculating the inner product of the one-dimensional information representing the parameter value used for the image collation at the current time and the one-dimensional information calculated from the normal image, It is determined whether the inner product value is equal to or greater than the threshold value, and a determination result is generated and provided to the notification unit 107. This determination result indicates that an abnormal situation has occurred when the inner product value of the one-dimensional information representing the parameter value used for image matching and the one-dimensional information calculated from the normal image is equal to or greater than a threshold value. Is. For example, the monitoring device 800 can determine that an abnormal situation occurs when the moving object and the crowd do not move due to a conflict between the groups, even though the moving object and the crowd move at normal times.

ここでは、異常事態発生の判断は、1次元情報の内積値に基づいて行われたが、通常時の画像から算出される1次元情報と入力される現時刻の画像から1次元情報との類似度に基づくものでもよい。この時、各要素に重み係数を乗算することも有効である。また、状況判断部803は、現時刻の移動方向とデータベース105に保持された基準移動方向とを比較して現時刻の移動方向が基準移動方向より所定の閾値以上大きい場合に異常事態であると判断するものである。   Here, the determination of the occurrence of the abnormal situation is made based on the inner product value of the one-dimensional information, but the similarity between the one-dimensional information calculated from the normal image and the one-dimensional information from the input image at the current time is input. It may be based on the degree. At this time, it is also effective to multiply each element by a weighting factor. In addition, the situation determination unit 803 compares the moving direction at the current time with the reference moving direction stored in the database 105, and determines that an abnormal situation occurs when the moving direction at the current time is greater than the reference moving direction by a predetermined threshold or more. Judgment.

なお、本発明の実施の形態1及び本発明の実施の形態3と組み合わせることも可能である。   It is also possible to combine with Embodiment 1 of the present invention and Embodiment 3 of the present invention.

このように、本発明の実施の形態3によれば、全体画像に存在する移動物体又は群衆の画像を個々に検出及び追跡するのではなくマクロ的に捉えることによって、人物の顔などの部位を正確に検出できない場合においても、移動物体又は群衆の移動方向が通常時と大きく異なる場合に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止し監視者に注意を促すことができる。また、本発明の実施の形態3によれば、移動物体又は群衆の移動方向の算出が容易となる。   As described above, according to the third embodiment of the present invention, a moving object or crowd image existing in the entire image is not detected and tracked individually, but is captured in a macro manner so that a part such as a human face can be detected. Even when accurate detection is not possible, it is possible to prevent a detection error, a tracking error, and a verification error by calling an abnormal situation when the moving direction of the moving object or the crowd is significantly different from the normal direction, and alert the observer. . Further, according to the third embodiment of the present invention, it is easy to calculate the moving direction of the moving object or the crowd.

(実施の形態4)
次に、本発明の実施の形態4について、図面を参照して説明する。図13は、本発明の実施の形態4に係る監視装置の構成を示すブロック図である。なお、本発明の実施の形態4においては、本発明の実施の形態3と同じ構成要素には同じ参照符号を付し、その説明を省略する。
(Embodiment 4)
Next, a fourth embodiment of the present invention will be described with reference to the drawings. FIG. 13 is a block diagram showing the configuration of the monitoring apparatus according to Embodiment 4 of the present invention. In the fourth embodiment of the present invention, the same components as those in the third embodiment of the present invention are denoted by the same reference numerals, and the description thereof is omitted.

図13に示すように、本発明の実施の形態4に係る監視装置1100は、本発明の実施の形態3の構成に加えて、カメラ1101及びカメラ制御部1102を備えている。   As shown in FIG. 13, a monitoring apparatus 1100 according to Embodiment 4 of the present invention includes a camera 1101 and a camera control unit 1102 in addition to the configuration of Embodiment 3 of the present invention.

ここでは、画像を複数の小領域に分割して、その小領域ごとに基準移動方向を算出する例について述べる。それぞれの処理は、小領域ごとに行う。カメラ1101は、パン、チルト及びズームの少なくとも一つの機能を備えている。密集度算出部103は、周波数分析処理後1次元情報をカメラ制御部1102に与える。また、状況判断部803は、判断結果をカメラ制御部1102に与える。カメラ制御部1102について、図14を用いて説明する。図14(a)は、通常時の画像例1301を示す図であり、入力画像を9個の小領域に分割した例を示している。図14(b)は、通常時の小領域ごとの移動方向例1302を示す図である。図14(c)は、異常事態発生時の画像例1303を示す図である。図14(d)は、異常事態発生時の移動方向例1304を示す図である。ここで、状況判断部106が、異常事態が発生していることを判断した場合、カメラ制御部1102は、異常事態発生時の移動方向例1304に示したように移動方向算出部801で算出された移動方向が、通常の移動方向(基準移動方向)と最も異なる領域(図14(d)の例では左下の領域)にカメラ1101が向くようにカメラ1101を制御する。この時に、カメラ1101が撮像する画像は、画像表示部1071に与えられ表示される。   Here, an example will be described in which an image is divided into a plurality of small areas and the reference movement direction is calculated for each small area. Each process is performed for each small area. The camera 1101 has at least one function of pan, tilt, and zoom. The density calculation unit 103 provides the camera control unit 1102 with the one-dimensional information after the frequency analysis processing. In addition, the situation determination unit 803 gives the determination result to the camera control unit 1102. The camera control unit 1102 will be described with reference to FIG. FIG. 14A is a diagram showing a normal image example 1301, and shows an example in which an input image is divided into nine small regions. FIG. 14B is a diagram illustrating an example of a moving direction 1302 for each small area at the normal time. FIG. 14C is a diagram illustrating an image example 1303 when an abnormal situation occurs. FIG. 14D is a diagram illustrating an example of a moving direction 1304 when an abnormal situation occurs. Here, when the situation determination unit 106 determines that an abnormal situation has occurred, the camera control unit 1102 is calculated by the movement direction calculation unit 801 as shown in the movement direction example 1304 at the time of the abnormal situation occurrence. The camera 1101 is controlled so that the camera 1101 faces the area most different from the normal movement direction (reference movement direction) (the lower left area in the example of FIG. 14D). At this time, an image captured by the camera 1101 is given to the image display unit 1071 and displayed.

このように、本発明の実施の形態4によれば、本発明の実施の形態3の効果に加えて、異常事態の判定結果に基づいて異常事態の発生領域をカメラ1101が撮像することにより詳細な画像を得ることができる。   As described above, according to the fourth embodiment of the present invention, in addition to the effects of the third embodiment of the present invention, the camera 1101 captures the details of the abnormal event occurrence area based on the abnormal event determination result. Can be obtained.

なお、本実施の形態では、カメラ制御部1102は、移動方向算出部801で算出された移動方向が基準移動方向と最も異なる領域にカメラ1101が向くようにカメラ1101を制御しているが、これに限られるものではない。例えば、カメラ制御部1102は、移動方向算出部801で算出された移動方向が基準移動方向と所定の閾値以上異なる領域、かつ、1次元情報がピーク値を持つ領域にカメラ1101が向くようにカメラ1101を制御しても構わない。また、カメラ制御部1102は、例えば、移動方向算出部801で算出された移動方向が基準移動方向と所定値以上異なる複数の領域に順にカメラ1101が向くようにカメラ1101を制御しても構わない。   In this embodiment, the camera control unit 1102 controls the camera 1101 so that the movement direction calculated by the movement direction calculation unit 801 is directed to the area where the movement direction is the most different from the reference movement direction. It is not limited to. For example, the camera control unit 1102 may change the camera 1101 so that the camera 1101 faces a region where the movement direction calculated by the movement direction calculation unit 801 is different from the reference movement direction by a predetermined threshold or more and where one-dimensional information has a peak value. 1101 may be controlled. Also, the camera control unit 1102 may control the camera 1101 so that the camera 1101 is sequentially directed to a plurality of areas in which the movement direction calculated by the movement direction calculation unit 801 is different from the reference movement direction by a predetermined value or more, for example. .

(実施の形態5)
本実施の形態では、入力された画像から人物の頭部候補領域の面積、人物の占める面積を用いて密集度を算出する形態について述べる。本発明の実施の形態5に係る監視装置の構成は、図1と同様である。
(Embodiment 5)
In the present embodiment, a mode in which the density is calculated from the input image using the area of the human head candidate region and the area occupied by the person will be described. The configuration of the monitoring apparatus according to Embodiment 5 of the present invention is the same as that shown in FIG.

カメラ101は、移動している複数の移動物体又は群衆を含む対象物の画像を撮像して全体画像を生成する。ここでは、カラー画像もしくは赤外画像を用いることが望ましい。移動体画像生成部102は、背景差分処理を行っても良い。   The camera 101 captures an image of an object including a plurality of moving objects or crowds that are moving, and generates an entire image. Here, it is desirable to use a color image or an infrared image. The moving body image generation unit 102 may perform background difference processing.

次に、密集度算出部103で、頭部の検出を行う場合について述べる。カメラ101で撮影された例えば図15(a)に示すような全体画像1601から、黒領域(もしくは肌色領域)を抽出して、例えば図15(b)に示すような検出結果1602を得る。次に、頭部に相当する楕円の検出を行うことによって、例えば図15(c)に示すような楕円検出結果1603を得て、画像中に含まれる頭部候補領域の面積を算出する。なお、ここでは、マクロ的に密集度を算出するため、図15に示す例のように、人物が重なっていた場合等、頭部に相当する楕円の検出が正常に動作しなかった場合においても、動作が破綻しない。また、頭部の数が正確に検出できないような場合においても、正常に動作することが期待できる。   Next, a case where the density calculation unit 103 performs head detection will be described. For example, a black area (or a skin color area) is extracted from an entire image 1601 as shown in FIG. 15A photographed by the camera 101 to obtain a detection result 1602 as shown in FIG. 15B, for example. Next, by detecting an ellipse corresponding to the head, for example, an ellipse detection result 1603 as shown in FIG. 15C is obtained, and the area of the head candidate region included in the image is calculated. Here, in order to calculate the density in a macro manner, even when the detection of the ellipse corresponding to the head does not operate normally, such as when people overlap, as in the example shown in FIG. The operation does not fail. Even when the number of heads cannot be detected accurately, it can be expected to operate normally.

次に、密集度算出部103で、人物の画像中に占める面積を算出する場合について述べる。カメラ101は、赤外画像を用いることが望ましい。この場合、密集度算出部103で、赤外画像で検出された人物領域が占める画素数を算出する。もちろん、カラー画像で肌色検出等を行った後、人物領域を切り出しても良い。なお、ここでは、頭部候補領域の面積を検出する場合と同様に、人物領域は必ずしも正確に抽出される必要はない。   Next, a case where the density calculation unit 103 calculates the area occupied in the human image will be described. The camera 101 preferably uses an infrared image. In this case, the density calculation unit 103 calculates the number of pixels occupied by the person area detected in the infrared image. Of course, the person area may be cut out after skin color detection or the like is performed on the color image. Here, as in the case of detecting the area of the head candidate region, the person region does not necessarily have to be extracted accurately.

ここで、密集度は、頭部候補領域の面積、もしくは人物領域が画像中に占める画素数、割合等で定義することが可能である。   Here, the degree of congestion can be defined by the area of the head candidate region or the number of pixels occupied by the person region in the image, the ratio, and the like.

次に、モデル生成部104の基準密集度(モデル値)を生成する動作について、説明する。ここで、基準密集度は、通常時の全体画像から作成された移動物体又は群衆の密集度であり、異常事態発生の判断の基準となる頭部候補領域の面積もしくは、人物領域が画像中に占める画素数、割合である。   Next, the operation | movement which produces | generates the reference | standard density (model value) of the model production | generation part 104 is demonstrated. Here, the reference density is a density of a moving object or a crowd created from an entire image at normal time, and an area of a head candidate area or a person area that is a reference for determining occurrence of an abnormal situation is included in the image. This is the number and ratio of pixels.

なお、密集度の一時的な変動に対応するために、基準密集度は、一定時刻分の平均値と分散値を用いても良い。モデル生成部104は、演算した基準密集度をデータベース105に与えて保持させる。また、天候によっては、人物等の数は変化すると考えられるために、天候によってそれぞれ基準密集度を用意することが望ましい。さらに、雨天時の屋外であれば、傘をさした人物が存在するために、前記周波数分析処理後1次元情報(密集度)も晴天、曇天時とは異なる。また、同様に、平日と週末といったように、曜日によって、人物等の数は変化すると考えられるために、それぞれ複数の基準密集度を用意することが望ましい。また、これらの基準密集度は、季節、時刻、天候又は曜日に関する情報と対応づけるように複数のものを生成し、監視時には現在の季節、時刻、天候又は曜日に応じてどの基準密集度を用いるかを決定することが可能である。   In order to cope with temporary fluctuations in the density, an average value and a variance value for a certain time may be used as the reference density. The model generation unit 104 gives the calculated reference density to the database 105 to hold it. Further, since the number of persons or the like is considered to change depending on the weather, it is desirable to prepare a standard density according to the weather. Furthermore, since there is a person wearing an umbrella when it is outdoors in rainy weather, the one-dimensional information (density) after the frequency analysis processing is also different from that in fine weather and cloudy weather. Similarly, since it is considered that the number of persons and the like changes depending on the day of the week, such as weekdays and weekends, it is desirable to prepare a plurality of reference densities. In addition, a plurality of these standard congestions are generated so as to be associated with information on the season, time, weather or day of the week, and when monitoring, which standard congestion is used according to the current season, time, weather or day of the week. It is possible to determine whether or not.

次に、状況判断部106について述べる。状況判断部106は、現在の季節、時刻、天候又は曜日などの情報を基に、データベース105に保持している基準密集度(モデル値)を選択し、選択された基準密集度と密集度算出部103から入力された現時刻における密集度(1次元情報)との比較を行って、現時刻における密集度が基準密集度と異なるか否かを判断して判断結果を生成して報知部107に与える。   Next, the situation determination unit 106 will be described. The situation determination unit 106 selects a reference density (model value) held in the database 105 based on information such as the current season, time, weather, or day of the week, and calculates the selected reference density and density. A comparison is made with the density (one-dimensional information) at the current time input from the unit 103, and it is determined whether or not the density at the current time is different from the reference density, and a determination result is generated to generate a notification unit 107. To give.

状況判断部106において、現時刻における密集度と基準密集度との比較は、基準密集度(モデル値)の平均値および分散値σからの外れ具合を計算する。一例としては、密集度の値が、基準密集度(モデル値)の分散値σから決定したNσ(N:定数)以上外れている場合に異常事態と判定することができる。   The situation determination unit 106 calculates the degree of deviation from the average value and the variance value σ of the reference density (model value) for comparison between the density at the current time and the reference density. As an example, an abnormal situation can be determined when the value of the density is more than Nσ (N: constant) determined from the variance value σ of the standard density (model value).

次に、報知部107について述べる。報知部107は、画像表示部1071及び警報発生部1072を具備している。   Next, the notification unit 107 will be described. The notification unit 107 includes an image display unit 1071 and an alarm generation unit 1072.

画像表示部1071は、状況判断部106からの判断結果を受けて表示して監視者に報知する。警報発生部1072は、状況判断部106からの判断結果を受けて判断結果が異常事態の発生を示している時に警報音又は警報光を発生して監視者に報知する。   The image display unit 1071 receives and displays the determination result from the situation determination unit 106 and notifies the monitor. The alarm generation unit 1072 receives the determination result from the situation determination unit 106 and generates an alarm sound or an alarm light when the determination result indicates the occurrence of an abnormal situation to notify the supervisor.

このように、本発明の実施の形態5によれば、全体画像に存在する移動物体又は群衆の画像を個々に検出及び追跡するのではなくマクロ的に捉えることによって、移動物体又は群衆の密集度が通常時と大きく異なる場合に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止し監視者に注意を促すことができる。また、本発明の実施の形態5によれば、実施の形態1と比較して計算量が少なく、移動物体又は群衆の密集度の算出が容易となる。   As described above, according to the fifth embodiment of the present invention, the density of moving objects or crowds is captured by capturing macroscopic images of moving objects or crowds existing in the entire image instead of individually detecting and tracking them. By detecting that the situation is abnormal when it is significantly different from the normal time, it is possible to prevent a detection error, a tracking error, and a verification error, and call attention to the monitor. Further, according to the fifth embodiment of the present invention, the amount of calculation is small compared to the first embodiment, and it becomes easy to calculate the density of moving objects or crowds.

(実施の形態6)
次に、本発明の実施の形態6について説明する。本発明の実施の形態6に係る監視装置の構成は、図1と同様である。
(Embodiment 6)
Next, a sixth embodiment of the present invention will be described. The configuration of the monitoring apparatus according to Embodiment 6 of the present invention is the same as that shown in FIG.

本実施の形態では、カメラ(撮像手段)101、移動体画像生成部102、密集度算出部103は、実施の形態1と同様であるため、説明は省略する。   In the present embodiment, the camera (imaging means) 101, the moving body image generation unit 102, and the density calculation unit 103 are the same as those in the first embodiment, and thus description thereof is omitted.

モデル生成部104は、基準密集度(モデル値)を生成する場合に単純に算術平均と分散を用いて演算することも可能であるが、ここでは、関数近似を用いて、基準密集度を算出、応用する例について説明する。   The model generation unit 104 can simply calculate using the arithmetic mean and variance when generating the reference density (model value), but here, the reference density is calculated using function approximation. An example of application will be described.

この背景画像作成手法は、画素ごとに複数のガウス分布を用いて確率的に背景画像をモデル化し、逐次に入力される画像を学習する手法である。例えば、木々の揺れ等、常に変動している画素は、変動分を含めて背景とすることができるなどの利点がある。本発明の監視装置100におけるモデル生成部104においては、通常時に入力される1次元情報を、背景と同様に基準となる情報と考えることによって、環境変化にも対応可能なモデルを生成することができる。   This background image creation method is a method of learning a sequentially input image by probabilistically modeling a background image using a plurality of Gaussian distributions for each pixel. For example, there is an advantage that pixels that are constantly changing, such as shaking of trees, can be used as a background including the change. In the model generation unit 104 in the monitoring apparatus 100 of the present invention, a model that can cope with environmental changes can be generated by considering the one-dimensional information that is normally input as reference information in the same way as the background. it can.

ここで、基準密集度は、通常時の全体画像から作成された移動物体又は群衆の密集度であり、異常事態発生の判断の基準となる1次元情報である。   Here, the reference density is a density of a moving object or a crowd created from an entire image at normal time, and is one-dimensional information that serves as a reference for determining the occurrence of an abnormal situation.

基準密集度であるモデルを生成する方法としては、ヒストグラム303およびオンピクセルの縦軸検出値402を用いることができる。さらに、周波数処理部211において、図5に示すように1次元情報であるヒストグラム303をローパス処理した逆変換結果503を用いる方法と、フーリエスペクトラム又はケプストラム係数を用いる方法とがある。以下、1次元情報をローパスフィルタで処理した逆変換結果503を用いる方法について述べる。なお、フーリエスペクトラム又はケプストラム係数を用いたモデルを生成する方法についても、逆変換結果503と同じ手法を用いて生成することが可能である。   As a method of generating a model having a reference density, a histogram 303 and an on-pixel vertical axis detection value 402 can be used. Furthermore, in the frequency processing unit 211, there are a method using an inverse transformation result 503 obtained by low-pass processing a histogram 303 which is one-dimensional information as shown in FIG. 5, and a method using a Fourier spectrum or a cepstrum coefficient. Hereinafter, a method using an inverse transformation result 503 obtained by processing one-dimensional information with a low-pass filter will be described. Note that a method of generating a model using a Fourier spectrum or a cepstrum coefficient can also be generated using the same method as the inverse transformation result 503.

モデル生成部104は、周波数処理部211により算出される所定日時の周波数分析処理後1次元情報(密集度)に基づいて移動物体又は群衆の基準密集度(モデル値)を算出演算する基準密集度算出手段を構成している。モデル生成部104は、演算した基準密集度をデータベース105に与えて保持させる。   The model generation unit 104 calculates and calculates a reference density (model value) of a moving object or crowd based on one-dimensional information (density) after frequency analysis processing at a predetermined date and time calculated by the frequency processing unit 211. It constitutes a calculation means. The model generation unit 104 gives the calculated reference density to the database 105 to hold it.

モデル生成部104は、季節、時刻、天候又は曜日ごとに基準密集度を演算することが可能であり、また、季節及び現時刻の時刻を勘案して複数の基準密集度を用意することもできる。   The model generation unit 104 can calculate the reference density for each season, time, weather, or day of the week, and can also prepare a plurality of reference densities taking into account the time of the season and the current time. .

また、天候によっては、人物等の数は変化すると考えられるために、天候によってそれぞれ基準密集度を用意することが望ましい。さらに、雨天時の屋外であれば、傘をさした人物が存在するために、前記周波数分析処理後1次元情報(密集度)も晴天、曇天時とは異なる。また、同様に、平日と週末といったように、曜日によって、人物等の数は変化すると考えられるために、それぞれ複数の基準密集度を用意することが望ましい。また、これらの基準密集度は、季節、時刻、天候又は曜日に関する情報と対応づけるように複数のものを生成し、監視時には現在の季節、時刻、天候又は曜日に応じてどの基準密集度を用いるかを決定することが可能である。   Further, since the number of persons or the like is considered to change depending on the weather, it is desirable to prepare a standard density according to the weather. Furthermore, since there is a person wearing an umbrella when it is outdoors in rainy weather, the one-dimensional information (density) after the frequency analysis processing is also different from that in fine weather and cloudy weather. Similarly, since it is considered that the number of persons and the like changes depending on the day of the week, such as weekdays and weekends, it is desirable to prepare a plurality of reference densities. In addition, a plurality of these standard congestions are generated so as to be associated with information on the season, time, weather or day of the week, and when monitoring, which standard congestion is used according to the current season, time, weather or day of the week. It is possible to determine whether or not.

ここで、周波数分析後1次元情報(密集度)として、逆変換結果503を用いた場合の、モデル生成部104の基準密集度演算例について説明する。逆変換結果503の代わりに、ヒストグラム303およびオンピクセルの縦軸検出値402を用いても同様の処理が可能である。   Here, a reference density calculation example of the model generation unit 104 when the inverse transformation result 503 is used as the one-dimensional information (density) after frequency analysis will be described. Similar processing can be performed by using the histogram 303 and the on-pixel vertical axis detection value 402 instead of the inverse transformation result 503.

逆変換結果503は、x軸における各点xiごとに値y(xi)を持つ。ここで各点xiにおける逆変換結果であるy(xi)の時間変化をモデル化することによって、基準密集度(モデル値)を算出する。ここでは、C. Stauffer,W.E.L.Grimson:“Adaptive background mixture models for real−time tracking,”CVPR'99,Vol.2,pp.246−252における背景画像作成手法を用いた例について説明する。   The inverse transformation result 503 has a value y (xi) for each point xi on the x-axis. Here, the reference density (model value) is calculated by modeling the time change of y (xi), which is the inverse transformation result at each point xi. Here, C.I. Stauffer, W.M. E. L. Grimsson: “Adaptive background mixture models for real-time tracking,” CVPR '99, Vol. 2, pp. An example using the background image creation method in 246-252 will be described.

ここで、y(xi)の時間変化に対して、例えば図16に点線で示すような複数のガウス分布を用いてフィッティングする。これにより、y(xi)の時間変化は、ガウス分布の分布数とそれぞれのガウス分布の平均値、分散値を示すパラメータとして表現することができる。   Here, for a time change of y (xi), fitting is performed using, for example, a plurality of Gaussian distributions as indicated by dotted lines in FIG. Thereby, the time change of y (xi) can be expressed as a parameter indicating the number of Gaussian distributions and the average value and variance of each Gaussian distribution.

本実施の形態では、このパラメータセットを基準密集度(モデル値)と呼び、データベース105に保持する。   In this embodiment, this parameter set is referred to as a reference density (model value) and is stored in the database 105.

モデル化により、曜日や日時によって、密集度の変動が大きい場合は、前記分散値が大きな値となる。また、密集度の変動が小さく、人通りが少ない場合においては、前記平均値、前記分散値共に低い値となり、通常時の密集度を時間変動分も考慮してモデル化することが可能である。さらに、複数のガウス分布でモデル化することによって、信号機付近を監視する場合に、信号機の変化によって周期的に変動する密集度をモデル化することも可能である。   As a result of modeling, when the variation in the density is large depending on the day of the week or the date and time, the variance value becomes a large value. In addition, when the variation in the density is small and the traffic is small, both the average value and the variance value are low, and the normal density can be modeled in consideration of the time variation. . Further, by modeling with a plurality of Gaussian distributions, it is also possible to model the density that periodically fluctuates due to changes in traffic lights when monitoring the vicinity of traffic lights.

また、フーリエスペクトラムやケプストラム係数を用いた場合は、各周波数もしくは各ケプストラム次数におけるスペクトラム値およびケプストラム値の時間変動を用いて、モデル化することが可能である。   In addition, when a Fourier spectrum or a cepstrum coefficient is used, it is possible to model using a spectrum value at each frequency or each cepstrum order and a temporal variation of the cepstrum value.

例えば、フーリエスペクトラムを用いた場合は、ある周波数fiごとのパワースペクトラム値g(fi)を持つため、g(fi)の時間変動をガウス分布の分布数とそれぞれのガウス分布の平均値、分散値を示すパラメータをセットとして表現することができる。   For example, when a Fourier spectrum is used, since it has a power spectrum value g (fi) for each frequency fi, the time variation of g (fi) can be represented by the number of Gaussian distributions and the average and variance values of each Gaussian distribution. Can be expressed as a set.

ここで、データベース105には、基準密集度(モデル値)として、前記パラメータセットを保持する。もちろん、時間ごとに前記パラメータセットを更新することも可能である。   Here, the parameter set is stored in the database 105 as a reference density (model value). Of course, the parameter set can be updated every time.

次に、状況判断部106について述べる。状況判断部106は、現在の季節、時刻、天候又は曜日などの情報を基に、データベース105に保持している基準密集度(モデル値)を選択し、選択された基準密集度と密集度算出部103から入力された現時刻における密集度(1次元情報)との比較を行って、現時刻における密集度が基準密集度と異なるか否かを判断して判断結果を生成して報知部107に与える。   Next, the situation determination unit 106 will be described. The situation determination unit 106 selects a reference density (model value) held in the database 105 based on information such as the current season, time, weather, or day of the week, and calculates the selected reference density and density. A comparison is made with the density (one-dimensional information) at the current time input from the unit 103, and it is determined whether or not the density at the current time is different from the reference density, and a determination result is generated to generate a notification unit 107. To give.

状況判断部106において、現時刻における密集度と基準密集度との比較は、基準密集度(モデル値)の平均値および分散値σからの外れ具合を計算する。   The situation determination unit 106 calculates the degree of deviation from the average value and the variance value σ of the reference density (model value) for comparison between the density at the current time and the reference density.

ここでは、異常事態発生の判断は、入力された画像から1次元情報であるヒストグラム等を生成し、更に、周波数分析処理を行った周波数分析処理後1次元情報から現時刻における密集度として、x軸における各点もしくは、各周波数、各ケプストラム次数におけるy(xi)およびg(fi)を算出する。次に、y(xi)およびg(fi)が、ガウス分布でモデル化された基準密集度(モデル値)から、閾値およびその範囲を設定することによって、異常事態か否かを判定する。   Here, the occurrence of an abnormal situation is determined by generating a histogram or the like which is one-dimensional information from the input image, and further, as a degree of congestion at the current time from the one-dimensional information after frequency analysis processing that has been subjected to frequency analysis processing, x Calculate y (xi) and g (fi) at each point on the axis or at each frequency and each cepstrum order. Next, whether y (xi) and g (fi) are abnormal is determined by setting a threshold value and a range thereof from a reference density (model value) modeled by a Gaussian distribution.

次に、報知部107について述べる。報知部107は、画像表示部1071及び警報発生部1072を具備している。   Next, the notification unit 107 will be described. The notification unit 107 includes an image display unit 1071 and an alarm generation unit 1072.

画像表示部1071は、状況判断部106からの判断結果を受けて表示して監視者に報知する。警報発生部1072は、状況判断部106からの判断結果を受けて判断結果が異常事態の発生を示している時に警報音又は警報光を発生して監視者に報知する。   The image display unit 1071 receives and displays the determination result from the situation determination unit 106 and notifies the monitor. The alarm generation unit 1072 receives the determination result from the situation determination unit 106 and generates an alarm sound or an alarm light when the determination result indicates the occurrence of an abnormal situation to notify the supervisor.

なお、モデル生成部104は、環境変化によって人通りなどの移動物体の分布が変化した場合にも対応するために、基準密集度(モデル値)を所定時間毎に演算して新しい基準密集度(モデル値)を求めてデータベース105に与えて基準密集度(モデル値)を更新してもよい。   Note that the model generation unit 104 calculates a reference density (model value) every predetermined time to cope with a case where the distribution of moving objects such as traffic is changed due to environmental changes, so that a new reference density ( The model density) may be obtained and given to the database 105 to update the reference density (model value).

このように、本発明の実施の形態6によれば、全体画像に存在する移動物体又は群衆の画像を個々に検出及び追跡するのではなくマクロ的に捉えることによって、人物の顔などの部位を正確に検出できない場合においても、移動物体又は群衆の密集度が通常時と大きく異なる場合に異常事態と判断することによって検出ミス、追跡ミス及び照合ミスを防止し監視者に注意を促すことができる。また、本発明の実施の形態6によれば、移動物体又は群衆の密集度の算出が容易となり、実施の形態1の効果に加えて、時間変動をより正確にモデル化することができる。   As described above, according to the sixth embodiment of the present invention, a moving object or crowd image existing in the entire image is not detected and tracked individually, but is captured in a macro manner, so that a part such as a human face can be identified. Even if it cannot be detected accurately, it is possible to prevent a detection error, a tracking error, and a verification error by calling an abnormal situation when the density of moving objects or crowds is significantly different from the normal time, and alert the observer. . Furthermore, according to the sixth embodiment of the present invention, it becomes easy to calculate the density of moving objects or crowds, and in addition to the effects of the first embodiment, it is possible to more accurately model time fluctuations.

本発明に係る監視装置は、例えば駅、商店街、道路等において、移動物体又は群衆の異常事態を判断するのに有用である。   The monitoring device according to the present invention is useful for determining an abnormal situation of a moving object or a crowd in, for example, a station, a shopping street, a road, or the like.

本発明の実施の形態1に係る監視装置の構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る監視装置の密集度算出部の構成を示すブロック図である。It is a block diagram which shows the structure of the density calculation part of the monitoring apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る監視装置における1次元情報変換を説明するための図である。It is a figure for demonstrating the one-dimensional information conversion in the monitoring apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る監視装置における1次元情報変換を説明するための他の図である。It is another figure for demonstrating the one-dimensional information conversion in the monitoring apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る監視装置におけるローパス処理を説明するための図である。It is a figure for demonstrating the low-pass process in the monitoring apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る監視装置におけるモデルの生成を説明するための図である。It is a figure for demonstrating the production | generation of the model in the monitoring apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る監視装置の動作の流れを示すフローチャートである。It is a flowchart which shows the flow of operation | movement of the monitoring apparatus which concerns on Embodiment 1 of this invention. 本発明の実施の形態2に係る監視装置の構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る監視装置のカメラ制御部の動作を説明するための図である。It is a figure for demonstrating operation | movement of the camera control part of the monitoring apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態3に係る監視装置の構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring apparatus which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る監視装置の移動方向算出部の構成を示すブロック図である。It is a block diagram which shows the structure of the moving direction calculation part of the monitoring apparatus which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る監視装置の動作を説明するための図である。It is a figure for demonstrating operation | movement of the monitoring apparatus which concerns on Embodiment 3 of this invention. 本発明の実施の形態4に係る監視装置の構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring apparatus which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係る監視装置のカメラ制御部の動作を説明するための図である。It is a figure for demonstrating operation | movement of the camera control part of the monitoring apparatus which concerns on Embodiment 4 of this invention. 本発明の実施の形態5に係る監視装置における頭部候補領域検出の動作を説明するための図である。It is a figure for demonstrating operation | movement of the head candidate area | region detection in the monitoring apparatus which concerns on Embodiment 5 of this invention. 本発明の実施の形態6に係る監視装置におけるガウス分布によるモデル化を説明するための図である。It is a figure for demonstrating modeling by the Gaussian distribution in the monitoring apparatus which concerns on Embodiment 6 of this invention. 従来の監視装置の構成を示すブロック図である。It is a block diagram which shows the structure of the conventional monitoring apparatus.

符号の説明Explanation of symbols

100、700、800、1100 監視装置
101、701、1101 カメラ
102 移動体画像生成部
103 密集度算出部
104、802 モデル生成部
105 データベース
106、803 状況判断部
107 報知部
210 1次元情報変換部
211 周波数処理部
702、1102 カメラ制御部
801 移動方向算出部
901 画像領域選択部
902 画像照合部
1071 画像表示部
1072 警報発生部
100, 700, 800, 1100 Monitoring device 101, 701, 1101 Camera 102 Moving body image generation unit 103 Concentration calculation unit 104, 802 Model generation unit 105 Database 106, 803 Situation determination unit 107 Notification unit 210 One-dimensional information conversion unit 211 Frequency processing unit 702, 1102 Camera control unit 801 Movement direction calculation unit 901 Image area selection unit 902 Image collation unit 1071 Image display unit 1072 Alarm generation unit

Claims (10)

監視領域内の監視を行う監視装置であって、
監視領域内の画像を撮像して全体画像を生成する撮像手段と、
前記撮像手段により生成される前記全体画像から複数の移動物体または群衆の画像である移動体画像を生成する移動体画像生成手段と、
前記移動体画像生成手段により生成される前記移動体画像に基づいて前記移動物体または前記群衆の密集の度合いを示す密集度を算出する密集度算出手段と、
前記密集度算出手段により算出される現時刻の前記密集度と、状況判断の基準とする密集度である基準密集度とを比較し、現時刻の前記密集度と前記基準密集度とが所定の閾値以上異なる場合に、現時刻の状況を異常事態であると判断する状況判断手段と、
パン、チルトおよびズーム機能の少なくともいずれかを有する他の撮像手段と、
前記状況判断手段により異常事態であると判断された場合に、現時刻の前記密集度が前記基準密集度と異なる領域を撮像するように前記他の撮像手段を制御する撮像制御手段と
を備えることを特徴とする監視装置。
A monitoring device that performs monitoring in a monitoring area,
Imaging means for capturing an image in the monitoring area and generating an entire image;
Moving body image generating means for generating a moving body image that is a plurality of moving objects or crowd images from the whole image generated by the imaging means;
A density calculation means for calculating a density indicating the degree of congestion of the moving object or the crowd based on the moving body image generated by the moving body image generation means;
The density at the current time calculated by the density calculation means is compared with a standard density that is a density as a criterion for situation determination, and the density at the current time and the reference density are determined to be predetermined. A situation judging means for judging that the situation at the current time is an abnormal situation when different from the threshold, and
Other imaging means having at least one of pan, tilt and zoom functions;
An imaging control means for controlling the other imaging means so as to capture an area where the density at the current time is different from the reference density when the situation determination means determines that the situation is abnormal. A monitoring device characterized by.
前記監視装置は、さらに、
前記状況判断手段により判断された現時刻の前記状況を報知する報知手段を備える
ことを特徴とする請求項1記載の監視装置。
The monitoring device further includes:
The monitoring apparatus according to claim 1, further comprising a notification unit that notifies the status at the current time determined by the status determination unit.
前記移動体画像生成手段は、前記全体画像に対してフレーム間差分処理または背景差分処理を行って前記移動体画像を生成する
ことを特徴とする請求項1記載の監視装置。
The monitoring apparatus according to claim 1, wherein the moving body image generation unit generates the moving body image by performing inter-frame difference processing or background difference processing on the entire image.
前記密集度算出手段は、前記全体画像から頭部候補領域を検出し、検出した前記頭部候補領域が前記全体画像に対して占める面積に基づいて前記密集度を算出する
ことを特徴とする請求項1記載の監視装置。
The density calculation unit detects a head candidate area from the whole image, and calculates the density based on an area occupied by the detected head candidate area with respect to the whole image. Item 1. The monitoring device according to Item 1.
前記密集度算出手段は、前記移動体画像の面積に基づいて前記密集度を算出する
ことを特徴とする請求項1記載の監視装置。
The monitoring apparatus according to claim 1, wherein the density calculation unit calculates the density based on an area of the moving body image.
前記密集度算出手段は、前記移動体画像を1次元情報に変換し、変換した前記1次元情報に基づいて前記密集度を算出する
ことを特徴とする請求項1記載の監視装置。
The monitoring apparatus according to claim 1, wherein the density calculation unit converts the moving body image into one-dimensional information, and calculates the density based on the converted one-dimensional information.
前記密集度算出手段は、前記1次元情報の周波数分析を行うことによって前記密集度を算出する
ことを特徴とする請求項6記載の監視装置。
The monitoring device according to claim 6, wherein the density calculation unit calculates the density by performing a frequency analysis of the one-dimensional information.
前記撮像手段は、赤外線カメラであり、
前記密集度算出手段は、前記赤外線カメラの反応領域に基づいて前記密集度を算出する
ことを特徴とする請求項1記載の監視装置。
The imaging means is an infrared camera;
The monitoring apparatus according to claim 1, wherein the density calculation unit calculates the density based on a reaction area of the infrared camera.
監視領域内の監視を行う監視方法であって、
撮像手段によって監視領域内の画像を撮像して全体画像を生成する撮像ステップと、
前記撮像ステップにより生成される前記全体画像から複数の移動物体または群衆の画像である移動体画像を生成する移動体画像生成ステップと、
前記移動体画像生成ステップにより生成される前記移動体画像に基づいて前記移動物体または前記群衆の密集の度合いを示す密集度を算出する密集度算出ステップと、
前記密集度算出ステップにより算出される現時刻の前記密集度と、状況判断の基準とする密集度である基準密集度とを比較し、現時刻の前記密集度と前記基準密集度とが所定の閾値以上異なる場合に、現時刻の状況を異常事態であると判断する状況判断ステップと、
前記状況判断ステップにより異常事態であると判断された場合に、パン、チルトおよびズーム機能の少なくともいずれかを有する他の撮像手段が、現時刻の前記密集度が前記基準密集度と異なる領域を撮像するように、前記他の撮像手段を制御する撮像制御ステップと
を含むことを特徴とする監視方法。
A monitoring method for monitoring in a monitoring area,
An imaging step of capturing an image in the monitoring area by an imaging means to generate an entire image;
A moving body image generating step for generating a moving body image that is an image of a plurality of moving objects or a crowd from the entire image generated by the imaging step;
A density calculation step of calculating a density indicating a degree of congestion of the moving object or the crowd based on the moving object image generated by the moving object image generation step;
The density at the current time calculated by the step of calculating the density is compared with a standard density that is a density as a criterion for situation determination, and the density at the current time and the reference density are determined to be predetermined. A situation determination step for determining that the situation at the current time is an abnormal situation when different from the threshold, and
When the situation determination step determines that an abnormal situation has occurred, another imaging unit having at least one of a pan, tilt, and zoom function captures an area where the density at the current time is different from the reference density. As described above, a monitoring method comprising: an imaging control step of controlling the other imaging means.
監視領域内の監視を行うためのプログラムであって、
撮像手段によって監視領域内の画像を撮像して全体画像を生成する撮像ステップと、
前記撮像ステップにより生成される前記全体画像から複数の移動物体または群衆の画像である移動体画像を生成する移動体画像生成ステップと、
前記移動体画像生成ステップにより生成される前記移動体画像に基づいて前記移動物体または前記群衆の密集の度合いを示す密集度を算出する密集度算出ステップと、
前記密集度算出ステップにより算出される現時刻の前記密集度と、状況判断の基準とする密集度である基準密集度とを比較し、現時刻の前記密集度と前記基準密集度とが所定の閾値以上異なる場合に、現時刻の状況を異常事態であると判断する状況判断ステップと、
前記状況判断ステップにより異常事態であると判断された場合に、パン、チルトおよびズーム機能の少なくともいずれかを有する他の撮像手段が、現時刻の前記密集度が前記基準密集度と異なる領域を撮像するように、前記他の撮像手段を制御する撮像制御ステップと
をコンピュータに実行させることを特徴とするプログラム。
A program for monitoring in a monitoring area,
An imaging step of capturing an image in the monitoring area by an imaging means to generate an entire image;
A moving body image generating step for generating a moving body image that is an image of a plurality of moving objects or a crowd from the entire image generated by the imaging step;
A density calculation step of calculating a density indicating a degree of congestion of the moving object or the crowd based on the moving object image generated by the moving object image generation step;
The density at the current time calculated by the step of calculating the density is compared with a standard density that is a density as a criterion for situation determination, and the density at the current time and the reference density are determined to be predetermined. A situation determination step for determining that the situation at the current time is an abnormal situation when different from the threshold, and
When the situation determination step determines that an abnormal situation has occurred, another imaging unit having at least one of a pan, tilt, and zoom function captures an area where the density at the current time is different from the reference density. As described above, a program for causing a computer to execute an imaging control step of controlling the other imaging means.
JP2006286521A 2003-10-21 2006-10-20 Monitoring device Expired - Fee Related JP3910626B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006286521A JP3910626B2 (en) 2003-10-21 2006-10-20 Monitoring device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003361060 2003-10-21
JP2006286521A JP3910626B2 (en) 2003-10-21 2006-10-20 Monitoring device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005514758A Division JP3981391B2 (en) 2003-10-21 2004-10-06 Monitoring device

Publications (2)

Publication Number Publication Date
JP2007028680A JP2007028680A (en) 2007-02-01
JP3910626B2 true JP3910626B2 (en) 2007-04-25

Family

ID=37788725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006286521A Expired - Fee Related JP3910626B2 (en) 2003-10-21 2006-10-20 Monitoring device

Country Status (1)

Country Link
JP (1) JP3910626B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188597A (en) * 2019-01-04 2019-08-30 北京大学 A kind of dense population counting and accurate positioning method and system based on attention mechanism circulation scaling
KR20210147680A (en) * 2020-05-29 2021-12-07 주식회사 아이티엑스에이아이 Video Surveillance Apparatus for Congestion Control

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4624396B2 (en) * 2007-10-26 2011-02-02 パナソニック株式会社 Situation judging device, situation judging method, situation judging program, abnormality judging device, abnormality judging method and abnormality judging program
WO2009090696A1 (en) * 2008-01-16 2009-07-23 Mitsubishi Electric Corporation Dynamic obstacle judgment device
WO2014174737A1 (en) * 2013-04-26 2014-10-30 日本電気株式会社 Monitoring device, monitoring method and monitoring program
US10699130B2 (en) 2014-07-25 2020-06-30 Nec Corporation Image processing apparatus, monitoring system, image processing method, and program
JP2016062207A (en) 2014-09-17 2016-04-25 富士フイルム株式会社 Emergency detector, emergency detection system, emergency detection program, and emergency detecting method
SG10201802668QA (en) * 2018-03-29 2019-10-30 Nec Asia Pacific Pte Ltd Method and system for crowd level estimation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188597A (en) * 2019-01-04 2019-08-30 北京大学 A kind of dense population counting and accurate positioning method and system based on attention mechanism circulation scaling
KR20210147680A (en) * 2020-05-29 2021-12-07 주식회사 아이티엑스에이아이 Video Surveillance Apparatus for Congestion Control
KR102374357B1 (en) * 2020-05-29 2022-03-15 주식회사 아이티엑스에이아이 Video Surveillance Apparatus for Congestion Control

Also Published As

Publication number Publication date
JP2007028680A (en) 2007-02-01

Similar Documents

Publication Publication Date Title
JP3981391B2 (en) Monitoring device
JP2007209008A (en) Surveillance device
US10346688B2 (en) Congestion-state-monitoring system
US11669979B2 (en) Method of searching data to identify images of an object captured by a camera system
JP3910626B2 (en) Monitoring device
CN108053427B (en) Improved multi-target tracking method, system and device based on KCF and Kalman
CN104378582B (en) A kind of intelligent video analysis system and method cruised based on Pan/Tilt/Zoom camera
US7436887B2 (en) Method and apparatus for video frame sequence-based object tracking
US7660439B1 (en) Method and system for flow detection and motion analysis
WO2016114134A1 (en) Motion condition estimation device, motion condition estimation method and program recording medium
US20090033745A1 (en) Method and apparatus for video frame sequence-based object tracking
WO2010030814A2 (en) Pixel-level based micro-feature extraction
JP5271227B2 (en) Crowd monitoring device, method and program
KR20110121885A (en) Apparatus and method for traffic accident recognition
JP5047382B2 (en) System and method for classifying moving objects during video surveillance
KR102333143B1 (en) System for providing people counting service
KR101979375B1 (en) Method of predicting object behavior of surveillance video
CN114140745A (en) Method, system, device and medium for detecting personnel attributes of construction site
KR101154350B1 (en) Multiple Images Processing system using Detection of Objects and segmenting - recognizing of High- resolution Image and there of.
US11908197B2 (en) Information processing apparatus, information processing method, and storage medium
CN111046788A (en) Method, device and system for detecting staying personnel

Legal Events

Date Code Title Description
A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20061027

TRDD Decision of grant or rejection written
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20070117

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070123

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070124

R150 Certificate of patent or registration of utility model

Ref document number: 3910626

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110202

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120202

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130202

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130202

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140202

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees