JP5590915B2 - Door open / close detection device and door open / close detection method - Google Patents

Door open / close detection device and door open / close detection method Download PDF

Info

Publication number
JP5590915B2
JP5590915B2 JP2010040251A JP2010040251A JP5590915B2 JP 5590915 B2 JP5590915 B2 JP 5590915B2 JP 2010040251 A JP2010040251 A JP 2010040251A JP 2010040251 A JP2010040251 A JP 2010040251A JP 5590915 B2 JP5590915 B2 JP 5590915B2
Authority
JP
Japan
Prior art keywords
motion vector
door opening
door
closing
motion
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
JP2010040251A
Other languages
Japanese (ja)
Other versions
JP2011173707A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2010040251A priority Critical patent/JP5590915B2/en
Publication of JP2011173707A publication Critical patent/JP2011173707A/en
Application granted granted Critical
Publication of JP5590915B2 publication Critical patent/JP5590915B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、動画像信号を入力とし、映像処理を行って戸開閉の有無を検出し、その戸開閉の有無情報を出力する戸開閉検出装置及び戸開閉検出方法に関するものである。   The present invention relates to a door opening / closing detection apparatus and a door opening / closing detection method for detecting presence / absence of door opening / closing by performing video processing using a moving image signal as input and outputting information on presence / absence of door opening / closing.

近年、犯罪防止の観点から、ビル管理においても犯罪を抑止する効果を期待し、監視カメラの普及が進んでいる。特にエレベータや自動ドアに監視カメラを取り付ける場合が多い。このような監視カメラには録画装置が接続されており、監視映像を録画するのが一般的であるが、録画に要する記録容量に限界があることから、有意な監視映像だけを厳選して録画することで記録容量を有効に使い、録画時間を長時間化したいという要求がある。   In recent years, from the viewpoint of crime prevention, surveillance cameras have been widely used in anticipation of the effect of deterring crime in building management. In particular, surveillance cameras are often attached to elevators and automatic doors. A recording device is connected to such a surveillance camera, and it is common to record surveillance video. However, since there is a limit to the recording capacity required for recording, only significant surveillance video is carefully selected and recorded. Thus, there is a demand for effective use of recording capacity and longer recording time.

エレベータの監視カメラを利用した監視装置として、例えば特許文献1に記載されたものがあり、この文献にはカメラ映像による乗客検知方法、戸開閉検知方法が示されている。このように乗客や戸開閉を自動で検知することで、録画すべき監視映像としての有意性を自動的に判断にすることを可能としている。   As a monitoring device using an elevator monitoring camera, for example, there is one described in Patent Document 1, and this document shows a passenger detection method and a door open / close detection method using a camera image. Thus, by automatically detecting passengers and door opening / closing, it is possible to automatically determine the significance as a monitoring video to be recorded.

特開2000−238968号公報JP 2000-238968 A

上記特許文献1に示されたような従来の戸開閉検出方法では、エレベータの戸に動きセンサ等を設置し戸開閉検出する場合、エレベータの機種ごとに仕様が異なる制御盤の改修が必要であり、設計・制作・手配・在庫管理等、様々な場面で余計なコストがかかる、という問題を解決するために、制御盤の改修が不要となるような、画像処理を用いた戸開閉検出を行っている。それは画像中のエレベータの戸の上部付近のごく小さな固定領域において、その部分は人が通らないことを前提として背景差分法を用いて戸開閉を検出するようにしたものである。しかしながら、一般にエレベータの監視カメラは、エレベータかごの奥隅角に斜め下方向きで設置されることが多く、そのエレベータ上部付近自体が、監視カメラの設置位置次第で写らないことが多いという問題があった。また、仮に写ったとしても、カメラ設置後に固定領域を手動で設定する必要がある上、背の高い人物が固定領域部分を覆ってしまうことも考えられ、誤検知の原因となりうるという課題もあった。   In the conventional door opening / closing detection method as described in Patent Document 1, when a motion sensor or the like is installed in an elevator door to detect the door opening / closing, it is necessary to repair the control panel having different specifications for each elevator model. In order to solve the problem of extra costs in various situations such as design, production, arrangement, inventory management, etc., door opening / closing detection using image processing is performed so that control panel repair is not required ing. In the image, in a very small fixed region near the upper part of the elevator door in the image, the opening / closing of the door is detected using the background subtraction method on the premise that no person passes. However, in general, an elevator monitoring camera is often installed obliquely downward in the back corner of an elevator car, and the vicinity of the upper part of the elevator itself is often not captured depending on the installation position of the monitoring camera. It was. Even if the image is captured, it is necessary to manually set the fixed area after installing the camera, and a tall person may cover the fixed area, which may cause false detection. It was.

この発明は上記のような課題を解決するためになされたもので、映像中の戸の位置に影響されることなく、確実に戸開閉の検知を行うことのできる戸開閉検出装置及び戸開閉検出方法を得ることを目的とする。   The present invention has been made to solve the above-described problems, and a door opening / closing detection device and door opening / closing detection capable of reliably detecting door opening / closing without being affected by the position of the door in the image. The purpose is to obtain a method.

この発明に係る戸開閉検出装置は、戸の映像が含まれる各ピクチャを入力とし、戸開閉の有無を検出する戸開閉検出装置であって、複数のピクチャを入力とし、各ピクチャ間の局所的な動きを算出し、動きベクトル分布として出力する動きベクトル算出部と、動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、動きベクトル群の重心位置を推定する動きベクトル群重心位置推定部と、動きベクトル分布と動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定部を備えるものである。 The door opening / closing detection device according to the present invention is a door opening / closing detection device that detects whether doors are opened or closed by inputting each picture including a door image, and receives a plurality of pictures as inputs, and locally A motion vector calculation unit that calculates a simple motion and outputs it as a motion vector distribution, and receives a motion vector distribution as an input and recognizes a motion vector similar to the neighborhood as a motion vector group. The motion vector group centroid position estimation unit for estimating the centroid position, the motion vector distribution and the centroid position estimation result of the motion vector group are input, and the two motion vector groups exist in opposite directions and in pairs. when widely distributed motion vector to the line direction, which comprises an act there as determining the detection result determining unit of the casement door opening and closing the opening portion slides on both sides A.

この発明の戸開閉検出装置は、動きベクトル分布と動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定するようにしたので、映像中の戸の位置に影響されることなく、確実に戸開閉の検知を行うことができる。 The door opening / closing detection apparatus according to the present invention receives the motion vector distribution and the center of gravity position estimation result of the motion vector group as input, the two motion vector groups exist in opposite directions and in pairs, and the motion vector in the normal direction thereof When the door is widely distributed, it is determined that there is a double-open door opening / closing operation where the opening slides on both sides . Therefore, the door opening / closing is reliably detected without being affected by the position of the door in the image. be able to.

この発明の実施の形態1〜5に係る戸開閉検出装置が適用されるエレベータのかごを模式的に示す説明図である。It is explanatory drawing which shows typically the elevator car to which the door opening / closing detection apparatus which concerns on Embodiment 1-5 of this invention is applied. この発明の実施の形態1に係る戸開閉検出装置の入出力の構成を示す説明図である。It is explanatory drawing which shows the structure of the input / output of the door opening / closing detection apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る戸開閉検出装置の内部構成図である。It is an internal block diagram of the door opening / closing detection apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1〜5に係る戸開閉検出装置が適用されるエレベータかご内部の映像例を示す説明図である。It is explanatory drawing which shows the example of an image | video inside the elevator car to which the door opening / closing detection apparatus which concerns on Embodiment 1-5 of this invention is applied. この発明の実施の形態1〜4に係る戸開閉検出装置が適用されるエレベータかご内部の動きベクトル分布例を示す説明図である。It is explanatory drawing which shows the example of motion vector distribution inside the elevator car to which the door opening / closing detection apparatus which concerns on Embodiment 1-4 of this invention is applied. この発明の実施の形態1〜4に係る戸開閉検出装置が適用されるエレベータかご内部の動きベクトル分布をグルーピングする例を示す説明図である。It is explanatory drawing which shows the example which groups the motion vector distribution inside the elevator car with which the door opening / closing detection apparatus which concerns on Embodiment 1-4 of this invention is applied. この発明の実施の形態1に係る戸開閉検出装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the door opening / closing detection apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1〜4に係る戸開閉検出装置のベクトル評価部におけるベクトル水平成分の評価値を示す説明図である。It is explanatory drawing which shows the evaluation value of the vector horizontal component in the vector evaluation part of the door opening / closing detection apparatus which concerns on Embodiment 1-4 of this invention. この発明の実施の形態1〜5に係る戸開閉検出装置のベクトル評価部におけるベクトル垂直成分の評価値を示す説明図である。It is explanatory drawing which shows the evaluation value of the vector vertical component in the vector evaluation part of the door opening / closing detection apparatus which concerns on Embodiment 1-5 of this invention. この発明の実施の形態1に係る戸開閉検出装置の再帰的距離評価部における評価値を示す説明図である。It is explanatory drawing which shows the evaluation value in the recursive distance evaluation part of the door opening / closing detection apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る戸開閉検出装置の近傍ベクトル類似度評価部におけるブロック位置と係数の関係を示す説明図である。It is explanatory drawing which shows the relationship between the block position in a neighborhood vector similarity evaluation part of the door opening / closing detection apparatus which concerns on Embodiment 1 of this invention, and a coefficient. この発明の実施の形態1に係る戸開閉検出装置の距離評価部における評価値を示す説明図である。It is explanatory drawing which shows the evaluation value in the distance evaluation part of the door opening / closing detection apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態2に係る戸開閉検出装置の入出力の構成を示す説明図である。It is explanatory drawing which shows the structure of the input / output of the door opening / closing detection apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係る戸開閉検出装置の内部構成図である。It is an internal block diagram of the door opening / closing detection apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係る符号化ピクチャの構成例を示す説明図である。It is explanatory drawing which shows the structural example of the coded picture which concerns on Embodiment 2 of this invention. この発明の実施の形態3、4に係る戸開閉検出装置の入出力の構成を示す説明図である。It is explanatory drawing which shows the structure of the input / output of the door opening / closing detection apparatus which concerns on Embodiment 3, 4 of this invention. この発明の実施の形態3に係る戸開閉検出装置の内部構成図である。It is an internal block diagram of the door opening / closing detection apparatus which concerns on Embodiment 3 of this invention. この発明の実施の形態4に係る戸開閉検出装置における録画データ処理部の内部構成図である。It is an internal block diagram of the video recording data processing part in the door opening / closing detection apparatus which concerns on Embodiment 4 of this invention. この発明の実施の形態5に係る戸開閉検出装置が適用されるエレベータかご内部の動きベクトル分布例を示す説明図である。It is explanatory drawing which shows the example of motion vector distribution inside the elevator car with which the door opening / closing detection apparatus which concerns on Embodiment 5 of this invention is applied. この発明の実施の形態5に係る戸開閉検出装置が適用されるエレベータかご内部の動きベクトル分布をグルーピングする例を示す説明図である。It is explanatory drawing which shows the example which groups the motion vector distribution inside the elevator car with which the door opening / closing detection apparatus which concerns on Embodiment 5 of this invention is applied. この発明の実施の形態5に係る戸開閉検出装置のベクトル評価部における動きベクトル水平成分の評価値を示す説明図である。It is explanatory drawing which shows the evaluation value of the motion vector horizontal component in the vector evaluation part of the door opening / closing detection apparatus which concerns on Embodiment 5 of this invention.

実施の形態1.
以下、この発明の実施の形態1について説明する。本実施の形態1では、戸開閉検出の例として、図1で示すようなエレベータを例として説明を行う。図1はエレベータのかご101、エレベータの戸102、エレベータの乗客103、エレベータのかご内部の監視カメラ104を模式的に示す説明図である。監視カメラ104は、エレベータのかご101内の奥側上隅部に戸102方向を撮影するよう設置されている。また、図2に示すような形で、戸開閉検出装置201が接続されており、エレベータのかご101内部の監視映像である動画像信号204を戸開閉検出装置201へ出力するよう構成されている。
Embodiment 1 FIG.
Embodiment 1 of the present invention will be described below. In the first embodiment, an elevator as shown in FIG. 1 will be described as an example of door opening / closing detection. FIG. 1 is an explanatory view schematically showing an elevator car 101, an elevator door 102, an elevator passenger 103, and a surveillance camera 104 inside the elevator car. The monitoring camera 104 is installed at the upper corner of the back side in the elevator car 101 so as to photograph the direction of the door 102. Further, a door opening / closing detection device 201 is connected in the form as shown in FIG. 2, and a moving image signal 204 that is a monitoring image inside the elevator car 101 is output to the door opening / closing detection device 201. .

戸開閉検出装置201は、動画像信号204を入力とし、戸開閉検出の判定を行い、戸開閉検出結果信号/動画像信号/動きベクトル分布のセット205を録画装置202に対して出力する。録画装置202は、戸開閉検出結果信号/動画像信号/動きベクトル分布のセット205を入力とし、戸開閉検出結果信号に基づき、Motion−JPEGやMPEG等をはじめとする国際標準映像符号化方式で圧縮符号化を行い、録画データ203として蓄積する。   The door opening / closing detection apparatus 201 receives the moving image signal 204 as input, performs door opening / closing detection determination, and outputs a door opening / closing detection result signal / moving image signal / motion vector distribution set 205 to the recording apparatus 202. The recording apparatus 202 receives the door opening / closing detection result signal / moving image signal / motion vector distribution set 205 as an input, and uses international standard video encoding methods such as Motion-JPEG and MPEG based on the door opening / closing detection result signal. Compression encoding is performed and the recorded data 203 is stored.

図3に、本実施の形態1における戸開閉検出装置201の内部ブロックを示す。戸開閉検出装置201は、動画像信号処理部301、動きベクトル群重心位置推定部302、検出結果判定部303、動画像信号保存用メモリ304、動きベクトル分布保存用メモリ305を備えている。先ず、戸開閉検出装置201における戸開閉検出の原理を説明する。   FIG. 3 shows an internal block of the door opening / closing detection apparatus 201 according to the first embodiment. The door opening / closing detection apparatus 201 includes a moving image signal processing unit 301, a motion vector group barycentric position estimation unit 302, a detection result determination unit 303, a moving image signal storage memory 304, and a motion vector distribution storage memory 305. First, the principle of door opening / closing detection in the door opening / closing detection apparatus 201 will be described.

図4は、図1の監視カメラ104でエレベータのかご101の内部を撮影した映像の例である。戸102は閉まっている状態であり、乗客103が乗っている状態である。戸102は両開きの戸であるとする。乗客103の目的のフロアに到着した際に、戸102が開き乗客103がエレベータから降りようとするため、映像内の局所的な動きベクトルを算出する映像処理を行うことで、図5に示すような動きベクトルが検出される。乗客103から見て左の戸の動きベクトル501、右の戸の動きベクトル502、乗客の動きベクトル503が図5に示されるように検出される。   FIG. 4 is an example of an image obtained by photographing the inside of the elevator car 101 with the monitoring camera 104 of FIG. The door 102 is in a closed state, and a passenger 103 is on it. It is assumed that the door 102 is a double door. When the passenger 103 arrives at the target floor, the door 102 opens and the passenger 103 tries to get out of the elevator. Therefore, by performing video processing for calculating a local motion vector in the video, as shown in FIG. Simple motion vectors are detected. The left door motion vector 501, the right door motion vector 502, and the passenger motion vector 503 are detected as shown in FIG. 5 when viewed from the passenger 103.

この時、似た動きベクトルをグルーピングすることを考えると、図6のようにグルーピングすることになる。図面上の水平方向右向きをプラス、水平方向左向きをマイナスとすると、左の戸の動きベクトル501をグルーピングしたマイナスベクトルグループ601、右の戸の動きベクトル502をグルーピングしたプラスベクトルグループ602、乗客の動きベクトル503をグルーピングしたベクトルグループ603の3種類のベクトルグループが出来る。この時、戸102は両開きの戸であるため、左の戸の動きベクトル501をグルーピングしたマイナスベクトルグループ601と右の戸の動きベクトル502をグルーピングしたプラスベクトルグループ602に内包されている動きベクトルは、互いに逆向きとなる。また、その動きベクトルの分布は、動きベクトルの向きの法線方向に長く分布する分布形状となる。つまり、動きベクトルの分布状況を解析し、このような一対の動きベクトル群を検出した場合に戸開閉動作であると判定することが戸開閉検出の原理である。   At this time, considering grouping of similar motion vectors, grouping is performed as shown in FIG. If the horizontal right direction on the drawing is positive and the horizontal left direction is negative, a negative vector group 601 that groups the left door motion vector 501, a plus vector group 602 that groups the right door motion vector 502, and passenger motion There are three types of vector groups, a vector group 603 obtained by grouping the vectors 503. At this time, since the door 102 is a double door, the motion vectors included in the negative vector group 601 grouping the left door motion vector 501 and the plus vector group 602 grouping the right door motion vector 502 are , They are opposite to each other. In addition, the motion vector distribution has a distribution shape that is long in the normal direction of the direction of the motion vector. That is, the principle of door opening / closing detection is to analyze the distribution of motion vectors and determine that the door opening / closing operation is performed when such a pair of motion vectors is detected.

図7は、本実施の形態1の戸開閉検出装置201の動作を示すフローチャートである。先ず、映像処理を行い映像内の局所的な動きベクトルを算出し、動きベクトルの分布を算出する(ステップST701)。次に、動きベクトルをグルーピングするための前準備として、ステップST701で算出された動きベクトル分布を元に各動きベクトルグループの重心位置を推定する(ステップST702)。そして、ステップST702で推定された重心位置を元に、動きベクトルグループが図6のベクトルグループ601、602に示したような逆向き一対で法線方向に長い分布を持つかどうかの評価値を算出する(ステップST703)。更に、ステップST703で算出された評価値を元に戸開閉検出の判定を行う(ステップST704)。これらのST701〜ST704で戸開閉検出を行う。ここで、図7のフローチャートにおけるステップST701が図3の動画像信号処理部301の動作に対応しており、同様に、ステップST702が動きベクトル群重心位置推定部302、ステップST703とステップST704が検出結果判定部303の動作に対応している。以下、図7で示したフローチャートの流れに基づき、図3の各ブロックの説明を行う。   FIG. 7 is a flowchart showing the operation of the door opening / closing detection apparatus 201 according to the first embodiment. First, video processing is performed to calculate a local motion vector in the video, and a motion vector distribution is calculated (step ST701). Next, as a preparation for grouping motion vectors, the center-of-gravity position of each motion vector group is estimated based on the motion vector distribution calculated in step ST701 (step ST702). Based on the position of the center of gravity estimated in step ST702, an evaluation value is calculated as to whether or not the motion vector group has a reverse pair and a long distribution in the normal direction as shown in the vector groups 601 and 602 of FIG. (Step ST703). Furthermore, door open / closed detection is determined based on the evaluation value calculated in step ST703 (step ST704). In these ST701 to ST704, door opening / closing detection is performed. Here, step ST701 in the flowchart of FIG. 7 corresponds to the operation of the moving image signal processing unit 301 of FIG. 3, and similarly, step ST702 is detected by the motion vector group barycenter position estimating unit 302, and steps ST703 and ST704 are detected. This corresponds to the operation of the result determination unit 303. Hereinafter, each block of FIG. 3 will be described based on the flow of the flowchart shown in FIG.

動画像信号処理部301は、動画像信号321を入力とし、動きベクトル分布323を出力とする。内部ブロックとして、動きベクトル算出部317を持つ。動画像信号321は動画像信号保存用メモリ304に存在する2枚の動画像信号とし、その2枚の間の動きベクトルを算出する。動きベクトルの算出方法は、画像を矩形ブロックに分割し、各ブロックにおける動きベクトルを算出する。各ブロックにおける動きベクトルの算出方法としては、一般的なブロックマッチング方式を用い、例えば、以下の(式1)のfを最小化する(vx,vy)を算出する方法がある。

Figure 0005590915
The moving image signal processing unit 301 receives the moving image signal 321 and outputs the motion vector distribution 323. A motion vector calculation unit 317 is provided as an internal block. The moving image signal 321 is two moving image signals existing in the moving image signal storage memory 304, and a motion vector between the two images is calculated. The motion vector calculation method divides an image into rectangular blocks and calculates a motion vector in each block. As a method of calculating a motion vector in each block, there is a method of calculating (v x , v y ) that minimizes f in (Equation 1) below using a general block matching method, for example.

Figure 0005590915

上記の(式1)はブロックサイズ16×16画素の場合の例である。yが輝度値、t、t+1が時刻を示す。このようにして算出されたブロックごとの動きベクトルを動きベクトル分布として、動きベクトル分布保存用メモリ305に格納する。   The above (Formula 1) is an example in the case of a block size of 16 × 16 pixels. y represents a luminance value, and t and t + 1 represent time. The motion vector for each block calculated in this way is stored in the motion vector distribution storage memory 305 as a motion vector distribution.

動きベクトル群重心位置推定部302は、動きベクトル分布保存用メモリ305に保存された動きベクトル分布324および検出結果判定部303から出力された、直前の戸開閉判定結果332を入力とし、動きベクトル群の推定重心位置330を出力とする。動きベクトル群重心位置推定部302は、ベクトル評価部311、再帰的距離評価部312、近傍ベクトル類似度評価部313、推定重心位置算出部314の4つの演算ブロックから構成されている。ベクトル評価部311、再帰的距離評価部312、近傍ベクトル類似度評価部313の3つのブロックの出力はいずれも評価値であり、そのそれぞれの評価値に基づいて推定重心位置算出部314で重心位置を推定する。重心位置は図6のマイナスベクトルグループ601およびプラスベクトルグループ602の2種類の重心位置をそれぞれ算出する。各評価部311、312、313で算出される評価値については、各ブロックについてマイナス/プラスの各評価値を算出し、各ブロックがマイナス/プラスのどちらのグループに属するか、あるいはどちらにも属さないかを評価するための評価値fminus_estimation1/fplus_estimation1を算出する。 The motion vector group center-of-gravity position estimation unit 302 receives the motion vector distribution 324 stored in the motion vector distribution storage memory 305 and the previous door opening / closing determination result 332 output from the detection result determination unit 303 as input, and the motion vector group The estimated center-of-gravity position 330 is output. The motion vector group center-of-gravity position estimation unit 302 includes four calculation blocks: a vector evaluation unit 311, a recursive distance evaluation unit 312, a neighborhood vector similarity evaluation unit 313, and an estimated center-of-gravity position calculation unit 314. The outputs of the three blocks of the vector evaluation unit 311, the recursive distance evaluation unit 312, and the neighborhood vector similarity evaluation unit 313 are all evaluation values, and based on the respective evaluation values, the estimated centroid position calculation unit 314 performs the centroid position. Is estimated. As the centroid position, two kinds of centroid positions of the minus vector group 601 and the plus vector group 602 in FIG. 6 are calculated. With respect to the evaluation values calculated by the evaluation units 311, 312, and 313, negative / plus evaluation values are calculated for each block, and each block belongs to which group of minus / plus or both. The evaluation value fminus_estimation1 / fplus_estimation1 for evaluating whether there is any is calculated.

このブロック位置(m,n)の評価値fminus_estimation1(m,n)/fplus_estimation1(m,n)を元に、推定重心位置算出部314は、以下の(式2)(式3)に示すように、マイナスベクトルグループ601およびプラスベクトルグループ602の2種類の水平方向の重心位置fx_minus/fx_plusを推定し、推定重心位置330として出力する。下式中のMは画像内の水平方向のブロック数、Nは画像内の垂直方向のブロック数である。

Figure 0005590915

Figure 0005590915
Based on the evaluation value fminus_estimation1 (m, n) / fplus_estimation1 (m, n) of the block position (m, n), the estimated center-of-gravity position calculation unit 314 is expressed by (Expression 2) and (Expression 3) below. As described above, the two types of horizontal centroid positions fx_minus / fx_plus of the minus vector group 601 and the plus vector group 602 are estimated and output as estimated centroid positions 330. In the following equation, M is the number of horizontal blocks in the image, and N is the number of vertical blocks in the image.

Figure 0005590915

Figure 0005590915

本実施の形態1ではエレベータの例で説明しているため、水平方向の重心位置を算出している。一般にエレベータの監視カメラはドアの最下部から人の背の高さプラスアルファ程度の領域が一番よく写るように配置されており、カメラのゆがみやエレベータのかごの形状と監視カメラの向きの関係から、エレベータの戸同士の接する線の方向に関して、写りが若干斜めになることはあるとしても、必然的にほぼ垂直方向に写ることになるため、図6に示すベクトルグループ601および602を見つける場合にも、各グループの水平方向の重心位置を推定すれば十分である。   Since the first embodiment has been described with an example of an elevator, the center-of-gravity position in the horizontal direction is calculated. In general, elevator surveillance cameras are arranged so that the area of the person's back height plus alpha is best seen from the bottom of the door, and the relationship between the camera distortion and elevator car shape and the orientation of the surveillance camera In the case where the vector groups 601 and 602 shown in FIG. 6 are found, the direction of the line where the elevator doors are in contact with each other is inevitably reflected in the vertical direction even though the reflection may be slightly oblique. In addition, it is sufficient to estimate the position of the center of gravity in the horizontal direction of each group.

ブロック位置(m,n)の評価値fminus_estimation1(m,n)/fplus_estimation1(m,n)の算出については、ベクトル評価部311、再帰的距離評価部312、近傍ベクトル類似度評価部313の各出力値である評価値327、328、329の積をとることで算出する。以下、各評価部311、312、313の説明を行う。
ベクトル評価部311は、動きベクトル分布324を入力とし、ブロック位置(m,n)における動きベクトルの向きと大きさを評価する。動きベクトルの水平方向の向きが左向きのマイナスであればマイナスベクトルグループに属する可能性が高くなり、逆に動きベクトルの水平方向の向きが右向きのプラスであればプラスベクトルグループに属する可能性が高くなるため、評価値は例えば、以下の(式4)(式5)のように算出する。(式4)(式5)を図に示すと図8のようになる。(式4)(式5)および図8については、動きベクトル算出部317における動きベクトル(vx,vy)の算出範囲が±16の場合の例である。


Figure 0005590915

Figure 0005590915
Regarding the calculation of the evaluation value fminus_estimation1 (m, n) / fplus_estimation1 (m, n) of the block position (m, n), the vector evaluation unit 311, the recursive distance evaluation unit 312 and the neighborhood vector similarity evaluation unit 313 Calculation is performed by taking the product of evaluation values 327, 328, and 329, which are output values. Hereinafter, the evaluation units 311, 312, and 313 will be described.
The vector evaluation unit 311 receives the motion vector distribution 324 as input and evaluates the direction and magnitude of the motion vector at the block position (m, n). If the horizontal direction of the motion vector is negative to the left, the possibility of belonging to the negative vector group is high. Conversely, if the horizontal direction of the motion vector is positive to the right, the possibility of belonging to the positive vector group is high. Therefore, the evaluation value is calculated as, for example, (Equation 4) and (Equation 5) below. (Expression 4) and (Expression 5) are shown in FIG. (Equation 4) (Equation 5) and FIG. 8 are examples in which the motion vector (v x , v y ) calculation range in the motion vector calculation unit 317 is ± 16.


Figure 0005590915

Figure 0005590915

また、動きベクトルの垂直成分についても、エレベータの戸102同士の接する線の方向に関してほぼ垂直方向に写ることになる。従って、動きベクトルの垂直成分が概ねゼロに近いほどベクトルグループ601や602に属する可能性が高いと評価できるため、動きベクトルの垂直成分についての評価値は、例えば(式6)のように算出する。(式6)を図に示すと図9のようになる。図9についても、動きベクトル算出部317における動きベクトル(vx,vy)の算出範囲が±16の場合の例である。

Figure 0005590915
Also, the vertical component of the motion vector is reflected in a substantially vertical direction with respect to the direction of the line where the elevator doors 102 are in contact with each other. Therefore, it can be evaluated that the vertical component of the motion vector is nearly zero, the higher the possibility that the motion vector belongs to the vector groups 601 and 602. Therefore, the evaluation value for the vertical component of the motion vector is calculated as, for example, (Equation 6). . (Equation 6) is shown in FIG. FIG. 9 is also an example in the case where the motion vector (v x , v y ) calculation range in the motion vector calculation unit 317 is ± 16.

Figure 0005590915

ベクトル評価部311の出力である評価値327は、マイナス/プラスそれぞれe1およびe2の積として算出する。   The evaluation value 327 that is the output of the vector evaluation unit 311 is calculated as the product of minus / plus e1 and e2, respectively.

再帰的距離評価部312は、動きベクトル分布324を入力とし、その1回前の戸開閉検出が有と判定された際の重心位置fx_minus/fx_plusからのブロック位置(m,n)の水平距離に逆比例する値を評価値とする。例えば図10のような形でfminus_e3(m,n)/fplus_e3(m,n)として評価し、評価値328として出力する。上記の「1回前の戸開閉検出が有と判定された際の重心位置fx_minus/fx_plusを保存するために、1回前の推定重心位置330と戸開閉判定結果332を入力している。 Recursive distance evaluating unit 312, the horizontal block position of center of gravity position f x_minus / f x_plus when an input motion vector distribution 324, the single previous door opening and closing detection is determined to Yes (m, n) The value inversely proportional to the distance is used as the evaluation value. For example in the form in f minus_e3 (m, n) as shown in FIG. 10 / f evaluated as plus_e3 (m, n), is output as evaluation value 328. In order to save the above-described center-of-gravity position fx_minus / fx_plus when it is determined that the previous door opening / closing detection is present , the estimated center-of-gravity position 330 and the door opening / closing determination result 332 are input. .

近傍ベクトル類似度評価部313は、動きベクトル分布324を入力とし、ブロック位置(m,n)の近傍における動きベクトルの総合的類似度を評価する。図11に示すような係数で、ブロック位置(m,n)と対象ブロックのブロック同士の動きベクトル類似度で重み付け加算する。ブロック同士の動きベクトル類似度については、類似しているほど大きな値とする。図11の中にマイナスの値があるが、これは類似していると小さな評価値になるように設計している。エレベータの戸開閉のベクトルグループ601および602が縦長であり、横に膨らんだものはエレベータの戸開閉でない可能性があるため、横の位置に似た動きベクトルがある場合は乗客など戸以外のものである可能性が高いと考え、戸開閉評価値としては小さな評価値になるように設計している。各ブロック間の動きベクトル類似度を図11の係数で重み付け加算した値を評価値329として出力する。
以上が動きベクトル群重心位置推定部302の説明である。
The neighborhood vector similarity evaluation unit 313 receives the motion vector distribution 324 as input, and evaluates the overall similarity of motion vectors in the vicinity of the block position (m, n). A coefficient as shown in FIG. 11 is used for weighted addition based on the block position (m, n) and the motion vector similarity between the blocks of the target block. The motion vector similarity between blocks is set to a larger value as they are more similar. Although there is a negative value in FIG. 11, it is designed so that a small evaluation value is obtained if they are similar. Since the elevator door opening / closing vector groups 601 and 602 are vertically long and the one that bulges horizontally may not be the elevator door opening / closing, if there is a motion vector similar to the horizontal position, something other than the doors such as passengers The door opening / closing evaluation value is designed to be a small evaluation value. A value obtained by weighting and adding the motion vector similarity between the blocks with the coefficient in FIG. 11 is output as an evaluation value 329.
The above is the description of the motion vector group center-of-gravity position estimation unit 302.

次に検出結果判定部303について説明を行う。
検出結果判定部303は、動きベクトル分布保存用メモリ305に保存されている動きベクトル分布325と、動きベクトル群重心位置推定部302から出力される推定重心位置330,ベクトル評価値327および近傍ベクトル類似度評価値329を入力とし、戸開閉判定結果332を出力とする。検出結果判定部303は、距離評価部315、戸開閉判定部316の2つの演算ブロックから構成されている。以下それぞれの演算ブロックの説明を行う。
Next, the detection result determination unit 303 will be described.
The detection result determination unit 303 includes the motion vector distribution 325 stored in the motion vector distribution storage memory 305, the estimated centroid position 330 output from the motion vector group centroid position estimation unit 302, the vector evaluation value 327, and the neighborhood vector similarity. The degree evaluation value 329 is input, and the door open / close determination result 332 is output. The detection result determination unit 303 includes two calculation blocks, a distance evaluation unit 315 and a door open / close determination unit 316. Each calculation block will be described below.

距離評価部315は、動きベクトル分布325と推定重心位置330を入力とし、その推定重心位置fx_minus/fx_plusからのブロック位置(m,n)の水平距離に逆比例する値を距離評価値331として出力する。例えば図12のような形でfminus_e3n(m,n)/fplus_e3n(m,n)として評価し、それぞれ距離評価値331として出力する。図12で示すように、動きベクトル群重心位置推定部302で推定された重心位置のごく近傍のブロックのみを高評価とする。これは図6で示すベクトルグループ601、602が細く縦長であることに基づく評価方法である。 The distance evaluation unit 315 receives the motion vector distribution 325 and the estimated centroid position 330 as an input, and uses a distance evaluation value 331 as a value that is inversely proportional to the horizontal distance of the block position (m, n) from the estimated centroid position fx_minus / fx_plus. Output as. For example in the form in f minus_e3n (m, n) as shown in FIG. 12 / f plus_e3n (m, n ) and evaluated as to output as the respective distances evaluation value 331. As shown in FIG. 12, only a block in the immediate vicinity of the centroid position estimated by the motion vector group centroid position estimation unit 302 is evaluated highly. This is an evaluation method based on the fact that the vector groups 601 and 602 shown in FIG. 6 are thin and vertically long.

戸開閉判定部316は、ベクトル評価値327、距離評価値331、近傍ベクトル類似度評価値329を入力とし、戸開閉判定結果332を出力とする。入力となる各種評価値はブロック位置(m,n)におけるマイナス/プラスの評価値である。各ブロックにおいてマイナス/プラスそれぞれについて3種類の評価値の積を取り、ブロック位置(m,n)の評価値fminus_estimation2(m,n)/fplus_estimation2(m,n)を算出する。マイナス/プラスそれぞれについて全ブロックにつきfminus_estimation2(m,n)/fplus_estimation2(m,n)の加算を行い、その総和値についてマイナス/プラスそれぞれについて、ある固定値Aとの閾値評価することで、プラス/マイナス両方とも閾値を超えた場合に戸開閉有りとし、それ以外の場合に戸開閉検出無しとし、戸開閉判定結果332として出力する。 The door opening / closing determination unit 316 receives the vector evaluation value 327, the distance evaluation value 331, and the neighborhood vector similarity evaluation value 329 as inputs, and outputs the door opening / closing determination result 332 as an output. The various evaluation values to be input are negative / plus evaluation values at the block position (m, n). In each block, the product of three kinds of evaluation values for each minus / plus is calculated, and the evaluation value fminus_estimation2 (m, n) / fplus_estimation2 (m, n) of the block position (m, n) is calculated. Performs addition of negative / positive for each per total block f minus_estimation2 (m, n) / f plus_estimation2 (m, n), the negative / positive respectively for the total value, that threshold evaluation with a fixed value A, If both plus / minus exceeds the threshold, the door is opened / closed, otherwise the door opening / closing is not detected, and the door opening / closing determination result 332 is output.

戸開閉検出の有無の判定については画像1枚ごとに行う。一方、各ブロック(m,n)においてマイナス/プラスの評価値fminus_estimation2(m,n)/fplus_estimation2(m,n)が計算される。その各ブロックにおけるfminus_estimation2(m,n)/fplus_estimation2(m,n)の値に対してもある固定値Bとの閾値評価を行うことで、そのブロックがマイナスグループに属するか、プラスグループに属するか、どちらにも属さないかの3種類に分類することができる。 The presence / absence of door opening / closing detection is determined for each image. On the other hand, in each block (m, n), a negative / plus evaluation value fminus_estimation2 (m, n) / fplus_estimation2 (m, n) is calculated. By performing the threshold evaluation is also a fixed value B with respect to the value of f Minus_estimation2 in each block (m, n) / f plus_estimation2 (m, n), the block belongs to the negative groups, positive groups It can be classified into three types: belonging or not belonging to either.

この時、戸開閉動作有りと判定されているにもかかわらず、マイナス/プラスどちらにも属さないブロックで大きな動きベクトルを持つブロックが集まっている場合について、戸開閉動作だけでなく戸開閉動作以外の他の動物体(乗客等)も動いていると判断する。   At this time, not only the door opening / closing operation but also the door opening / closing operation for the case where blocks with a large motion vector are gathered in blocks that do not belong to either minus or plus even though it is determined that there is a door opening / closing operation. It is determined that other animals (passengers, etc.) are also moving.

また、戸開閉動作有りと判定され、どちらにも属さないブロックすべてが小さな動きベクトルの場合、他の動物体は存在しないと考えられ、動いている乗客のいないエレベータにおける戸開閉動作のみがあったのだと判断する。   Also, if it is determined that there is a door opening / closing operation and all the blocks that do not belong to either are small motion vectors, it is considered that there is no other moving object, and there was only a door opening / closing operation in an elevator without moving passengers Judge that.

戸開閉動作無しの場合は、マイナス/プラスの評価値にかかわらず、大きな動きベクトルを持つブロックが集まっている場合について、戸開閉以外の他の動物体(乗客等)が動いていると判断する。   When there is no door opening / closing operation, it is judged that other moving objects (passengers, etc.) other than the door opening / closing are moving when blocks with large motion vectors are gathered regardless of the negative / positive evaluation value. .

本実施の形態1に示す戸開閉検出装置201を以上のように構成することで、図6に示したベクトルグループ603のような動きベクトルを無視しつつベクトルグループ601、602が存在すれば検出することが可能であり、戸開閉動作の有無を検出できる。これにより、課題であったエレベータ上部付近自体が、監視カメラの設置位置次第で写らなくとも戸開閉動作の検出が可能となる。即ち、監視カメラ104は、その役割から、エレベータの戸102のうち人間が通る部分は必ず写るように設置されるため、一般に戸102の大部分は写ることになる。本実施の形態1では戸102の大部分が写っていれば戸開閉検出を行うことが出来ることから、映像内の戸102の位置に拠らず戸開閉検出が可能であり、カメラ設置後の手動設定も不要である。   By configuring the door opening / closing detection apparatus 201 shown in the first embodiment as described above, it detects if the vector groups 601 and 602 exist while ignoring the motion vectors such as the vector group 603 shown in FIG. It is possible to detect the presence / absence of a door opening / closing operation. Accordingly, it is possible to detect the door opening / closing operation even if the vicinity of the upper part of the elevator itself, which has been a problem, does not appear depending on the installation position of the monitoring camera. In other words, the surveillance camera 104 is installed so that a portion of the elevator door 102 through which a person passes is always photographed, and therefore, most of the door 102 is generally photographed. In the first embodiment, since the door opening / closing detection can be performed if most of the door 102 is reflected, the door opening / closing detection can be performed regardless of the position of the door 102 in the image. Manual setting is also unnecessary.

また、本実施の形態1では、戸開閉動作有りと検出した場合に、マイナス/プラスどちらにも属さないブロックにおける動きベクトル分布を調べることにより、動く乗客の存在の有無を確認することも可能であり、録画すべき映像かどうかの有意性の判定に用いることもできるため、戸開閉動作の有無だけでなく他の動物体の有無についても戸開閉検出装置201の出力としての戸開閉判定結果332に含めて出力することで、動く乗客のいないエレベータにおける戸開閉動作のみの映像を録画対象から除外することを可能とし、結果的に録画時間の長時間化を可能とする利点もある。   Further, in the first embodiment, when it is detected that there is a door opening / closing operation, it is possible to check the presence or absence of a moving passenger by examining the motion vector distribution in a block that does not belong to either minus / plus. Yes, it can also be used to determine the significance of whether or not the video should be recorded. Therefore, the door opening / closing determination result 332 as an output of the door opening / closing detection apparatus 201 not only for the presence / absence of the door opening / closing operation but also for the presence / absence of other moving objects. In addition, it is possible to exclude the video of only the door opening / closing operation in the elevator without moving passengers from the recording target, and as a result, there is an advantage that the recording time can be extended.

以上のように、実施の形態1の戸開閉検出装置によれば、戸の映像が含まれる各ピクチャを入力とし、戸開閉の有無を検出する戸開閉検出装置であって、複数のピクチャを入力とし、各ピクチャ間の局所的な動きを算出し、動きベクトル分布として出力する動きベクトル算出部317と、動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、動きベクトル群の重心位置を推定する動きベクトル群重心位置推定部302と、動きベクトル分布と動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定部303を備えるので、映像中の戸の位置に影響されることなく、確実に戸開閉の検知を行うことができる。 As described above, according to the door opening / closing detection apparatus of the first embodiment, a door opening / closing detection apparatus that detects whether doors are opened or closed by inputting each picture including a door image, and inputs a plurality of pictures. A motion vector calculation unit 317 that calculates a local motion between pictures and outputs the motion vector distribution; and a motion vector distribution as an input, and when there are motion vectors similar to the vicinity, these are expressed as a motion vector group. The motion vector group centroid position estimation unit 302 that estimates the centroid position of the motion vector group and the motion vector distribution and the centroid position estimation result of the motion vector group are input, and the two motion vector groups are in opposite directions. in and with existing in pairs, when the motion vector in the normal direction thereof is widely distributed, the operation there and determine the casement door opening and closing the opening portion slides on both sides Since comprises a detection result determining unit 303, without being affected by the position of the door in the video, it is possible to detect reliably the door opening and closing.

また、実施の形態1の戸開閉検出方法によれば、戸の映像が含まれる各ピクチャを入力とし、戸開閉の有無を検出する戸開閉検出装置を用いた戸開閉検出方法であって、複数のピクチャを入力とし、各ピクチャ間の局所的な動きを算出し、動きベクトル分布として出力する動きベクトル算出ステップと、動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、動きベクトル群の重心位置を推定する動きベクトル群重心位置推定ステップと、動きベクトル分布と動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定ステップを備えるので、映像中の戸の位置に影響されることなく、確実に戸開閉の検知を行うことのできる戸開閉検出装置を実現することができる。 Further, according to the door opening / closing detection method of the first embodiment, there is provided a door opening / closing detection method using a door opening / closing detection device that receives each picture including a door image as input and detects the presence / absence of door opening / closing. The motion vector calculation step that calculates the local motion between each picture and outputs it as a motion vector distribution, and the motion vector distribution as an input when there is a motion vector similar to the neighborhood. As a motion vector group, the motion vector group centroid position estimation step for estimating the centroid position of the motion vector group and the motion vector distribution and the centroid position estimation result of the motion vector group are input. opposite to and with existing in pairs, when the motion vector in the normal direction thereof is widely distributed, casement door opening and closing the opening portion slides on both sides Since it comprises a detection result determining step of determining that there operation, without being affected by the position of the door in the video, it is possible to realize a door opening and closing detecting apparatus capable of detecting a reliable door opening and closing.

また、実施の形態1の戸開閉検出装置によれば、検出結果判定部303は、戸開閉の動作が行われたと判定する根拠となる動きベクトル群以外の動きベクトル群が存在した場合は、動物体が存在したと判定するようにしたので、動く乗客といった動物体の存在の有無も確認することができる。   Further, according to the door opening / closing detection apparatus of the first embodiment, the detection result determination unit 303 determines that the animal is not an animal when there is a motion vector group other than the motion vector group that determines that the door opening / closing operation has been performed. Since it was determined that the body existed, it is possible to confirm the presence or absence of moving objects such as moving passengers.

実施の形態2.
以下、この発明の実施の形態2について説明する。本実施の形態2においても、戸開閉検出の例として、図1で示すようなエレベータを例として説明を行う。
Embodiment 2. FIG.
The second embodiment of the present invention will be described below. Also in the second embodiment, an elevator as shown in FIG. 1 will be described as an example of door opening / closing detection.

実施の形態2における監視カメラ104は、図13に示すような形で、録画装置1301が接続されており、エレベータのかご内部の監視映像である動画像信号204を録画装置1301へ出力する。   The monitoring camera 104 according to the second embodiment is connected to a recording device 1301 in a form as shown in FIG. 13 and outputs a moving image signal 204 that is a monitoring image inside the elevator car to the recording device 1301.

録画装置1301は、動画像信号204を入力とし、MPEG等をはじめとする国際標準映像符号化方式で圧縮符号化を行う過程で用いる動きベクトル分布1304を戸開閉検出装置1302に対して出力する。この時、MPEG等をはじめとする国際標準映像符号化方式の動きベクトルは、一般に未来を起点として過去へ向かうベクトルである場合が多いため、実際の動きの向きとは正反対の向きになるケースが多いことが知られており、このような場合には、動きベクトル分布1304における個々の動きベクトルについて、MPEG用の動きベクトルと正反対の向きの動きベクトルとし、実際の動きと同じ向きの動きベクトルの動きベクトル分布として扱うこととする。戸開閉検出装置1302は動きベクトル分布1304を入力とし、その動きベクトル分布に基づき実施の形態1と同様の方法で戸開閉動作の有無と他動物体の有無を検出し、戸開閉動作の有無だけでなく他の動物体の有無についても戸開閉判定結果332に含めて出力する。   The recording device 1301 receives the moving image signal 204 and outputs a motion vector distribution 1304 used in the process of compression encoding using an international standard video encoding method such as MPEG to the door opening / closing detection device 1302. At this time, motion vectors of international standard video coding systems such as MPEG are generally vectors that are directed to the past starting from the future, and there are cases in which the direction is the opposite of the actual direction of motion. In such a case, it is known that each motion vector in the motion vector distribution 1304 is a motion vector having a direction opposite to the motion vector for MPEG, and a motion vector having the same direction as the actual motion is used. It will be treated as a motion vector distribution. The door opening / closing detection device 1302 receives the motion vector distribution 1304, detects the presence / absence of a door opening / closing operation and the presence / absence of another animal body based on the motion vector distribution, and detects only the presence / absence of the door opening / closing operation. In addition, the presence / absence of other moving objects is included in the door open / close determination result 332 and output.

録画装置1301は、その戸開閉判定結果332に基づき、録画データ1303として蓄積するかどうか判断する。   The recording device 1301 determines whether or not to store the recording data 1303 based on the door opening / closing determination result 332.

本実施の形態2における戸開閉検出装置1302の内部ブロック図を図14に示す。実施の形態1における戸開閉検出装置201と比較した場合、動画像信号処理部301と動画像信号保存用メモリ304がない構成であり、その他のブロックは構成・動作とも同じであるため、動きベクトル群重心位置推定部302と検出結果判定部303の内部についての図示およびその説明を省略する。   FIG. 14 shows an internal block diagram of door opening / closing detection device 1302 according to the second embodiment. Compared with the door open / close detection device 201 according to the first embodiment, the moving image signal processing unit 301 and the moving image signal storage memory 304 are not provided, and the other blocks are the same in configuration and operation. The illustration and description of the inside of the group gravity center position estimation unit 302 and the detection result determination unit 303 are omitted.

一般にMPEG等をはじめとする国際標準映像符号化方式で圧縮符号化を行う場合は、図15のような形で周期的にIピクチャを入れることで再同期を可能としている。この塊を一般にGOP(Group Of Picture)と呼ぶ。戸開閉検出は画像ごとに行うため、例えば図15で示されるようにGOPの途中のピクチャを録画対象と判定した場合、そのPピクチャだけを保存しても再生できないため、そのPピクチャの属するGOPを保存することでそのピクチャを再生可能である。   In general, when compression coding is performed by an international standard video coding system such as MPEG, resynchronization is possible by periodically inserting I pictures in the form shown in FIG. This lump is generally called GOP (Group Of Picture). Since door open / close detection is performed for each image, for example, as shown in FIG. 15, when a picture in the middle of a GOP is determined to be recorded, it cannot be played back even if only that P picture is saved, so the GOP to which the P picture belongs The picture can be played back by saving.

本実施の形態2に示す戸開閉検出装置1302を以上のように構成することで、実施の形態1と比較して、監視カメラと録画装置で構成される既存の監視映像録画システムへ戸開閉検出装置1302を組み込みやすいという利点がある。その理由は、実施の形態1の場合は監視カメラ104と録画装置202の間に戸開閉検出装置201を組み込むため、2箇所のインタフェース開発が必要なのに対し、実施の形態2では録画装置の後段に戸開閉検出装置1302を配置すればよいため、インタフェース開発が1箇所で済むためである。また、実施の形態2の戸開閉検出装置1302は実施の形態1の戸開閉検出装置201と比較して装置構成を簡易にすることが出来ており、これも大きな利点である。これは録画装置1301でMPEG等をはじめとする国際標準映像符号化方式で圧縮符号化を行う際に必要となる動きベクトルを再利用して戸開閉検出装置1302に供給できるためである。   By configuring the door opening / closing detection device 1302 shown in the second embodiment as described above, the door opening / closing detection can be performed in an existing surveillance video recording system including a monitoring camera and a recording device, as compared with the first embodiment. There is an advantage that the device 1302 can be easily incorporated. The reason is that, in the case of the first embodiment, since the door opening / closing detection device 201 is incorporated between the monitoring camera 104 and the recording device 202, two interface developments are required, whereas in the second embodiment, the recording device is provided at the subsequent stage. This is because the door opening / closing detection device 1302 only needs to be arranged, and interface development is completed in one place. Further, the door opening / closing detection device 1302 of the second embodiment can simplify the device configuration as compared with the door opening / closing detection device 201 of the first embodiment, which is also a great advantage. This is because the motion vector required when the recording apparatus 1301 performs compression encoding using an international standard video encoding system such as MPEG can be reused and supplied to the door open / close detection apparatus 1302.

以上のように、実施の形態2の戸開閉検出装置によれば、戸の映像が含まれる各ピクチャと、ピクチャ内の局所的な動きを示す動きベクトルのピクチャ全体の動きベクトル分布とを入力とし、戸開閉の有無を検出する戸開閉検出装置1302であって、動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、動きベクトル群の重心位置を推定する動きベクトル群重心位置推定部302と、動きベクトル分布と動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定部303を備えるので、実施の形態1の効果に加えて、既存の監視映像録画システムへ戸開閉検出装置1302を組み込みやすく、また、実施の形態1よりも構成を簡素化することができる。 As described above, according to the door open / close detection device of the second embodiment, each picture including the door video and the motion vector distribution of the entire picture of the motion vector indicating the local motion in the picture are input. A door opening / closing detection device 1302 for detecting presence / absence of door opening / closing, which receives a motion vector distribution as an input, recognizes a motion vector similar to the vicinity, and recognizes these as a motion vector group, and the center of gravity of the motion vector group The motion vector group centroid position estimation unit 302 for estimating the position, the motion vector distribution and the centroid position estimation result of the motion vector group are input, and the two motion vector groups exist in opposite directions and in pairs. If the motion vectors are widely distributed in the linear direction, it comprises an operation there and determines detection result determining unit 303 of the casement door opening and closing the opening portion slides on both sides Since, in addition to the effect of the first embodiment, easy to incorporate a door opening and closing detecting device 1302 to the existing monitoring video recording system, also, it is possible to simplify the structure than the first embodiment.

実施の形態3.
以下、この発明の実施の形態3について説明する。本実施の形態3においては、戸開閉検出の例として、図1で示すようなエレベータにおいて、エレベータのかごの内部の監視映像がMPEG等をはじめとする国際標準映像符号化方式で圧縮符号化され、録画された録画データを例として説明を行う。
Embodiment 3 FIG.
The third embodiment of the present invention will be described below. In the third embodiment, as an example of door opening / closing detection, in the elevator as shown in FIG. 1, the surveillance video inside the elevator car is compressed and encoded by an international standard video encoding system such as MPEG. The recorded data will be described as an example.

実施の形態3の装置構成を図16に示す。戸開閉検出装置1601に対して録画データ1602が入出力されるよう構成されている。即ち、戸開閉検出装置1601は録画データ1603を入力とし、録画データに対し、ピクチャ単位に戸開閉動作検出信号および他動物体検出信号のメタデータを付与した多重化データ1604を出力とする。   The apparatus configuration of the third embodiment is shown in FIG. Recording data 1602 is input / output to / from the door opening / closing detection device 1601. That is, the door opening / closing detection device 1601 receives the recording data 1603 and outputs multiplexed data 1604 obtained by adding metadata of the door opening / closing operation detection signal and the other moving object detection signal to the recorded data in units of pictures.

実施の形態3における戸開閉検出装置1601の内部ブロック図を図17に示す。実施の形態2の戸開閉検出装置1302との比較で、録画データ処理部1701、検出結果メタデータ生成多重部1702、録画データ保存用メモリ1703が追加となっている。その他のブロックについては構成・動作とも実施の形態1および実施の形態2と同様であるため説明を省略する。   FIG. 17 shows an internal block diagram of door opening / closing detection device 1601 in the third embodiment. In comparison with the door open / close detection device 1302 of the second embodiment, a recorded data processing unit 1701, a detection result metadata generation multiplexing unit 1702, and a recorded data storage memory 1703 are added. Since the other blocks are the same in configuration and operation as those in the first and second embodiments, description thereof will be omitted.

戸開閉検出装置1601に入力された録画データ1603は、録画データ保存用メモリ1703に保存される。録画データ保存用メモリ1703に保存された録画データは、録画データ処理部1701に入力される録画データ1721および検出結果メタデータ生成多重部1702に入力される録画データ1723としてそれぞれ出力される。   The recording data 1603 input to the door opening / closing detection device 1601 is stored in the recording data storage memory 1703. The recording data stored in the recording data storage memory 1703 is output as recording data 1721 input to the recording data processing unit 1701 and recording data 1723 input to the detection result metadata generation multiplexing unit 1702, respectively.

録画データ処理部1701は録画データ1721を入力とし、動きベクトル分布1722を出力とする。内部ブロックとして動きベクトル抽出部1711を備え、このブロックで、録画データから動きベクトルを抽出する。この時、MPEG等をはじめとする国際標準映像符号化方式の動きベクトルは、一般には未来を起点として過去へ向かうベクトルである場合が多いため、実際の動きの向きとは正反対の向きになるケースが多いことが知られており、このような場合には、動きベクトル分布1722における個々の動きベクトルについて、抽出したMPEG用の動きベクトルと正反対の向きの動きベクトルとし、実際の動きと同じ向きの動きベクトルの動きベクトル分布として、動きベクトル分布1722を出力することとする。   The recording data processing unit 1701 receives the recording data 1721 and outputs the motion vector distribution 1722. A motion vector extraction unit 1711 is provided as an internal block, and a motion vector is extracted from the recorded data in this block. At this time, motion vectors of international standard video coding systems such as MPEG are generally vectors that go to the past starting from the future, and are therefore opposite to the actual direction of motion. In such a case, for each motion vector in the motion vector distribution 1722, a motion vector having the opposite direction to the extracted motion vector for MPEG is used, and the motion vector has the same direction as the actual motion. A motion vector distribution 1722 is output as the motion vector distribution of the motion vectors.

検出結果メタデータ生成多重部1702は、録画データ1723と戸開閉動作の有無と他動物体の有無が含まれた戸開閉判定結果332を入力とし、録画データ1723内の各ピクチャと戸開閉動作有無および他動物体有無を関連付けるメタデータの生成および録画データとメタデータの多重化を行い、録画データとメタデータの多重化データ1604として出力する。   The detection result metadata generation multiplexing unit 1702 receives the recording data 1723 and the door opening / closing determination result 332 including the presence / absence of a door opening / closing operation and the presence / absence of another moving object, and inputs each picture in the recording data 1723 and the presence / absence of a door opening / closing operation. Then, the generation of metadata for associating the presence or absence of other animals and the multiplexing of the recorded data and the metadata are performed, and the multiplexed data 1604 of the recorded data and the metadata is output.

本実施の形態3に示す戸開閉検出装置1601を以上のように構成することで、実施の形態1や実施の形態2と異なり、既に録画された録画データに対して戸開閉有無検出や他動物体有無検出を行うことが出来る。戸開閉有無検出結果や他動物体有無検出結果と録画データとの対応をとることで、有意なシーンの検索を簡易に行うことが出来るという利点がある。   By configuring the door opening / closing detection device 1601 shown in the third embodiment as described above, unlike the first and second embodiments, the door opening / closing detection and other animals are detected for the recorded data. Body presence / absence detection can be performed. There is an advantage that a significant scene search can be easily performed by taking correspondence between the door opening / closing detection result and the detection result of the presence or absence of other animals and the recorded data.

以上のように、実施の形態3の戸開閉検出装置によれば、戸の映像が含まれるディジタル映像信号の各ピクチャを所定の単位領域に分割して、その単位で圧縮符号化されたビットストリームを入力とし、戸開閉の有無を検出する戸開閉検出装置1601であって、ビットストリームを入力とし、ビットストリームから動き補償予測に用いる動きベクトルを抽出し、動きベクトル分布として出力する録画データ処理部1701と、動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、動きベクトル群の重心位置を推定する動きベクトル群重心位置推定部302と、動きベクトル分布と動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定部303と、ビットストリームと判定結果とを入力とし、ビットストリームに含まれるピクチャと判定結果との対応付けを行ったメタデータを多重化したビットストリームを出力とする検出結果メタデータ生成多重部1702とを備えるので、実施の形態1の効果に加えて、既に録画された録画データに対して戸開閉有無検出や他動物体有無検出を行うことが出来る効果がある。 As described above, according to the door opening / closing detection apparatus of the third embodiment, each picture of the digital video signal including the door video is divided into predetermined unit areas, and the bit stream is compressed and encoded in that unit. Is a door open / close detection device 1601 that detects whether door is open or closed, and receives a bit stream, extracts a motion vector used for motion compensation prediction from the bit stream, and outputs it as a motion vector distribution 1701, a motion vector group centroid position estimation unit 302 that receives a motion vector distribution as input and recognizes motion vectors similar to those in the vicinity as a motion vector group and estimates the centroid position of the motion vector group; The motion vector distribution and the motion vector group centroid position estimation result are input, and the two motion vector groups are in opposite directions. One well as present in pairs, when the motion vector in the normal direction thereof is widely distributed, and operations there and determines the detection result of the casement door opening and closing judging unit 303 with an opening to slide on both sides, the bit stream if the decision result And a detection result metadata generation multiplexing unit 1702 that outputs a bit stream obtained by multiplexing the metadata in which the pictures included in the bit stream are associated with the determination results. In addition to the above effect, there is an effect that door opening / closing detection and other animal body presence / absence detection can be performed on already recorded video data.

実施の形態4.
以下、この発明の実施の形態4について説明する。本実施の形態4においては、戸開閉検出の例として、図1で示すようなエレベータにおいて、エレベータのかごの内部の監視映像がMPEG等をはじめとする国際標準映像符号化方式で圧縮符号化され、録画された録画データを例として説明を行う。
Embodiment 4 FIG.
The fourth embodiment of the present invention will be described below. In the fourth embodiment, as an example of door opening / closing detection, in the elevator as shown in FIG. 1, the monitoring video inside the elevator car is compressed and encoded by an international standard video encoding method such as MPEG. The recorded data will be described as an example.

実施の形態4の戸開閉検出装置における図面上の構成は、図16に示した実施の形態3と同様であるため、その説明は省略する。実施の形態4と実施の形態3の相違点は、図17に示した戸開閉検出装置1601の内部ブロックにおける録画データ処理部1701の構成である。図18に、本実施の形態4の録画データ処理部1801の内部ブロック図を示す。これ以外は実施の形態3の戸開閉検出装置1601と同様であるため、以下、録画データ処理部1801について説明を行う。   The configuration of the door opening / closing detection device of the fourth embodiment on the drawing is the same as that of the third embodiment shown in FIG. The difference between the fourth embodiment and the third embodiment is the configuration of the recorded data processing unit 1701 in the internal block of the door opening / closing detection device 1601 shown in FIG. FIG. 18 shows an internal block diagram of the recorded data processing unit 1801 of the fourth embodiment. Since other than this is the same as the door opening / closing detection device 1601 of the third embodiment, the recording data processing unit 1801 will be described below.

録画データ処理部1801は録画データ1721を入力とし、動きベクトル分布1722を出力としており、この入出力については実施の形態3と同様である。録画データ処理部1801は、内部ブロックとしてピクチャタイプ検出部1811、動きベクトル抽出部1711、動きベクトル算出部1812で構成されており、実施の形態3における録画データ処理部1701と比較して、ピクチャタイプ検出部1811、動きベクトル算出部1812が追加されている。   The recorded data processing unit 1801 receives the recorded data 1721 as an input and outputs a motion vector distribution 1722. This input / output is the same as in the third embodiment. The recorded data processing unit 1801 includes a picture type detection unit 1811, a motion vector extraction unit 1711, and a motion vector calculation unit 1812 as internal blocks. Compared with the recorded data processing unit 1701 in the third embodiment, the recorded data type A detection unit 1811 and a motion vector calculation unit 1812 are added.

ピクチャタイプ検出部1811は録画データに含まれるピクチャタイプを検出し、Iピクチャの場合には動きベクトルが含まれないため、動きベクトル算出部1812で動きベクトルを算出する。一方ピクチャタイプがPピクチャおよびBピクチャの場合は、動きベクトルが含まれるため動きベクトル抽出部1711で動きベクトルを抽出する。この時、MPEG等をはじめとする国際標準映像符号化方式の動きベクトルは、一般には未来を起点として過去へ向かうベクトルである場合が多いため、実際の動きの向きとは正反対の向きになるケースが多いことが知られており、このような場合には、動きベクトル分布1722における個々の動きベクトルについて、抽出したMPEG用の動きベクトルと正反対の向きの動きベクトルとし、実際の動きと同じ向きの動きベクトルの動きベクトル分布として、動きベクトル分布1722を出力することとする。   The picture type detection unit 1811 detects the picture type included in the recorded data, and in the case of an I picture, since a motion vector is not included, the motion vector calculation unit 1812 calculates a motion vector. On the other hand, when the picture type is P picture or B picture, the motion vector is included in the motion vector extraction unit 1711 because the motion vector is included. At this time, motion vectors of international standard video coding systems such as MPEG are generally vectors that go to the past starting from the future, and are therefore opposite to the actual direction of motion. In such a case, for each motion vector in the motion vector distribution 1722, a motion vector having the opposite direction to the extracted motion vector for MPEG is used, and the motion vector has the same direction as the actual motion. A motion vector distribution 1722 is output as the motion vector distribution of the motion vectors.

本実施の形態4に示す戸開閉検出装置を以上のように構成することで、実施の形態3と比較して、動きベクトルの存在しない録画データであるIピクチャについても戸開閉有無検出や他動物体有無検出を行うことが出来るという利点がある。   By configuring the door open / close detection device shown in the fourth embodiment as described above, it is possible to detect whether the door is open / closed or to detect other animals with respect to an I picture which is recorded data having no motion vector as compared with the third embodiment. There is an advantage that body presence / absence detection can be performed.

以上のように、実施の形態4の戸開閉検出装置によれば、録画データ処理部1801は、ビットストリームからピクチャタイプを抽出し、動き補償予測を行うピクチャタイプであればビットストリームから動きベクトルを抽出し、動き補償予測を行わないピクチャタイプであれば各ピクチャ間の局所的な動きを算出し、動きベクトル分布として出力するようにしたので、実施の形態3の効果に加えて、Iピクチャについても戸開閉有無検出や他動物体有無検出を行うことが出来る効果がある。   As described above, according to the door open / close detection device of the fourth embodiment, the recorded data processing unit 1801 extracts a picture type from a bit stream, and if a picture type performs motion compensation prediction, a motion vector is extracted from the bit stream. In the case of a picture type that is extracted and does not perform motion compensation prediction, the local motion between each picture is calculated and output as a motion vector distribution. In addition to the effects of the third embodiment, the I picture In addition, there is an effect that it is possible to detect the presence / absence of door opening / closing and the presence / absence of other animal bodies.

実施の形態5.
以下、この発明の実施の形態5について説明する。戸開閉検出の例として、図1で示すようなエレベータを例として説明を行うが、実施の形態1〜4とは異なり、両開きの戸ではなく片開きの戸の場合のエレベータ戸開閉検出に関して説明を行う。
Embodiment 5 FIG.
The fifth embodiment of the present invention will be described below. As an example of door opening / closing detection, an elevator as shown in FIG. 1 will be described as an example. Unlike Embodiments 1 to 4, the door opening / closing detection will be described in the case of a single door instead of a double door. I do.

実施の形態1〜4における両開きの戸102の場合、図5および図6に示すような形で、水平方向右向きをプラス、水平方向左向きをマイナスとすると、左の戸の動きベクトル501をグルーピングしたマイナスベクトルグループ601、右の戸の動きベクトル502をグルーピングしたプラスベクトルグループ602、とした場合にベクトルグループ601と602を検出することで戸開閉動作有無の判定を行っていた。   In the case of the double door 102 in the first to fourth embodiments, the left door motion vector 501 is grouped in the form shown in FIGS. 5 and 6 where the horizontal rightward direction is positive and the horizontal leftward direction is negative. When the minus vector group 601 and the plus vector group 602 obtained by grouping the motion vector 502 of the right door are used, the presence / absence of the door opening / closing operation is determined by detecting the vector groups 601 and 602.

本実施の形態5における片開きの場合のエレベータかご内の動きベクトル分布の様子を図19に示す。片開きの戸1902は、乗客103から見て左から右に戸が片開きする場合の例であり、左の戸の動きベクトル1901が、右の戸の動きベクトル502と比較して「2倍の長さ」で「同じ向き」である点が両開きの戸102の場合と異なる点である。   FIG. 19 shows the state of motion vector distribution in the elevator car in the case of single opening in the fifth embodiment. The single door 1902 is an example in which the door is opened from the left to the right as viewed from the passenger 103, and the motion vector 1901 of the left door is “doubled” compared to the motion vector 502 of the right door. The point of “the same direction” in the “length” is different from the case of the double door 102.

本実施の形態5においても、動きベクトルの分布状況を解析し、図20に示すようにベクトルグループ2001および602のような2つの動きベクトル群をセットで検出した場合に、戸開閉動作であると判定することが本実施の形態5における戸開閉検出の原理である。   Also in the fifth embodiment, when the distribution state of motion vectors is analyzed and two motion vector groups such as vector groups 2001 and 602 are detected as a set as shown in FIG. The determination is the principle of door opening / closing detection in the fifth embodiment.

この時、実施の形態1〜4と異なる部分は、左の戸の動きベクトルが右の戸の動きベクトルと比較して「2倍の長さ」で「同じ向き」となる点である。よって図3におけるベクトル評価部311の内部動作と、実施の形態1における各式や図8、9、10、12における式の中の添字「minus」を「plus1」、「plus」を「plus2」に変更することで戸開閉有無を検出することが可能である。以下、その説明を行う。   At this time, the difference from the first to fourth embodiments is that the motion vector of the left door is “double the length” and “same direction” compared to the motion vector of the right door. Therefore, the internal operation of the vector evaluation unit 311 in FIG. 3 and each expression in the first embodiment and the subscript “minus” in the expressions in FIGS. 8, 9, 10 and 12 are “plus1” and “plus” is “plus2”. By changing to, it is possible to detect whether the door is open or closed. This will be described below.

ベクトル評価部311の中で図8が動きベクトルの水平成分の評価値の例であった。これは動きベクトルの水平成分がマイナスであればマイナスベクトルグループに属する可能性が高く、動きベクトルの水平成分がプラスであればプラスベクトルグループに属する可能性が高いことに基づくものであった。よって、本実施の形態5におけるベクトル評価部311は、例えば図21のように構成し、左の戸が右の戸の「2倍の長さ」で「同じ向き」となる場合に評価値が高くなるように構成している。また、このようなベクトル評価値327に基づき、検出結果判定部303は、2個の動きベクトル群が互いに同じ向きで、一方の動きベクトル群が他方の動きベクトル群の2倍の大きさで存在し、かつ、その法線方向に広く分布する場合に、片開きの戸開閉の動作が行われたと判定する。   FIG. 8 shows an example of the evaluation value of the horizontal component of the motion vector in the vector evaluation unit 311. This is based on the fact that if the horizontal component of the motion vector is negative, the possibility of belonging to the negative vector group is high, and if the horizontal component of the motion vector is positive, the possibility of belonging to the positive vector group is high. Therefore, the vector evaluation unit 311 according to the fifth embodiment is configured as shown in FIG. 21, for example, and the evaluation value is obtained when the left door is “double the length” of the right door and “same direction”. It is configured to be higher. Also, based on such a vector evaluation value 327, the detection result determination unit 303 has two motion vector groups in the same direction and one motion vector group exists twice as large as the other motion vector group. And when it distributes widely in the normal line direction, it determines with the operation | movement of the door opening and closing of a single swing having been performed.

本実施の形態5に示す戸開閉検出装置を以上のように構成することで、実施の形態1〜4においては両開きの戸を例として説明したが、片開きの戸についても戸開閉有無検出や他動物体有無検出を行うことが出来るという利点がある。
尚、本実施の形態5では、戸102が2枚の場合を説明したが、3枚以上であっても同様に適用可能である。即ち、検出結果判定部303は、R(Rは2以上の整数)個の動きベクトル群が互いに同じ向きで、最も大きい動きベクトル群が最も小さい動きベクトル群のR倍の大きさで存在し、かつ、その法線方向に広く分布する場合に、片開きの戸開閉の動作が行われたと判定することで、同様に適用することができる。
The door opening / closing detection apparatus shown in the fifth embodiment is configured as described above, and in the first to fourth embodiments, the double-open door is described as an example. There is an advantage that the presence or absence of other animal bodies can be detected.
In the fifth embodiment, the case where there are two doors 102 has been described. However, the present invention can be similarly applied even when there are three or more doors 102. That is, the detection result determination unit 303 has R (R is an integer of 2 or more) motion vector groups in the same direction, and the largest motion vector group exists in the size of R times the smallest motion vector group. And when it distributes widely in the normal line direction, it can apply similarly by determining with the operation | movement of the door opening and closing of single doors having been performed.

以上のように、実施の形態5の戸開閉検出装置によれば、検出結果判定部303は、R(Rは2以上の整数)個の動きベクトル群が互いに同じ向きで、最も大きい動きベクトル群が最も小さい動きベクトル群のR倍の大きさで存在し、かつ、その法線方向に広く分布する場合に、開口部が片側にスライドする片開きの戸開閉の動作が行われたと判定するようにしたので、片開きの戸開閉の検出にも対応することができ、実施の形態1と同様の効果を実現することができる。 As described above, according to the door opening / closing detection apparatus of the fifth embodiment, the detection result determination unit 303 has the largest motion vector group in which R (R is an integer of 2 or more) motion vector groups are in the same direction. Is present in the size of R times the smallest motion vector group and is widely distributed in the normal direction, it is determined that the door opening / closing operation in which the opening slides to one side has been performed. Therefore, it is possible to cope with the detection of single door opening / closing, and the same effect as in the first embodiment can be realized.

また、本実施の形態1〜5では、戸開閉検出の例としてエレベータを用いて戸開閉検出装置の動作および戸開閉検出方法を説明したが、エレベータの戸と類似の動きをするもの(例えば自動ドアなど)についても、同様の効果を得られることは言うまでもない。   Moreover, although this Embodiment 1-5 demonstrated the operation | movement of the door opening / closing detection apparatus and the door opening / closing detection method using the elevator as an example of door opening / closing detection, it moves like the door of an elevator (for example, automatic Needless to say, similar effects can be obtained for doors and the like.

また、実施の形態5は、実施の形態1に適用した場合を説明したが、実施の形態2〜4のいずれかと組み合わせる等、実施の形態1以外の実施の形態と組み合わせてもよい。   Moreover, although Embodiment 5 demonstrated the case where it applied to Embodiment 1, you may combine with Embodiments other than Embodiment 1, such as combining with any of Embodiment 2-4.

101 かご、102 戸、103 乗客、104 監視カメラ、201,1302,1601 戸開閉検出装置、204 動画像信号、205 戸開閉検出結果信号/動画像信号/動きベクトル分布のセット、301 動画像信号処理部、302 動きベクトル群重心位置推定部、303 検出結果判定部、317,1812 動きベクトル算出部、311 ベクトル評価部、312 再帰的距離評価部、313 近傍ベクトル類似度評価部、314 推定重心位置算出部、315 距離評価部、316 戸開閉判定部、501 左の戸の動きベクトル、502 右の戸の動きベクトル、503 乗客の動きベクトル、601 マイナスベクトルグループ、602 プラスベクトルグループ、603 ベクトルグループ、1304 動きベクトル分布、1603 録画データ、1701,1801 録画データ処理部、1702 検出結果メタデータ生成多重部、1711 動きベクトル抽出部、1811 ピクチャタイプ検出部、1901 左の戸の動きベクトル、1902 片開きの戸、2001 ベクトルグループ。   101 car, 102 units, 103 passengers, 104 surveillance cameras, 201, 1302, 1601 door opening / closing detection device, 204 moving image signal, 205 door opening / closing detection result signal / moving image signal / motion vector distribution set, 301 moving image signal processing 302, motion vector group centroid position estimation unit, 303 detection result determination unit, 317, 1812 motion vector calculation unit, 311 vector evaluation unit, 312 recursive distance evaluation unit, 313 neighborhood vector similarity evaluation unit, 314 estimated centroid position calculation , 315 Distance evaluation unit, 316 Door open / close determination unit, 501 Left door motion vector, 502 Right door motion vector, 503 Passenger motion vector, 601 Minus vector group, 602 Plus vector group, 603 vector group, 1304 Motion vector distribution, 16 3 Recording Data, 1701, 1801 Recording Data Processing Unit, 1702 Detection Result Metadata Generation Multiplexing Unit, 1711 Motion Vector Extraction Unit, 1811 Picture Type Detection Unit, 1901 Left Door Motion Vector, 1902 Single Door, 2001 Vector Group .

Claims (7)

戸の映像が含まれる各ピクチャを入力とし、戸開閉の有無を検出する戸開閉検出装置であって、
複数のピクチャを入力とし、各ピクチャ間の局所的な動きを算出し、動きベクトル分布として出力する動きベクトル算出部と、
前記動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、当該動きベクトル群の重心位置を推定する動きベクトル群重心位置推定部と、
前記動きベクトル分布と前記動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に前記動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定部を備えることを特徴とする戸開閉検出装置。
A door opening / closing detection device that detects whether a door is opened or closed by inputting each picture including a door image,
A motion vector calculation unit that receives a plurality of pictures, calculates a local motion between the pictures, and outputs a motion vector distribution;
A motion vector group centroid position estimator that takes the motion vector distribution as an input and recognizes them as a motion vector group when there are motion vectors similar to the vicinity; and estimates a centroid position of the motion vector group;
When the motion vector distribution and the centroid position estimation result of the motion vector group are input, the two motion vector groups exist in opposite directions and in pairs, and the motion vector is widely distributed in the normal direction A door opening / closing detection apparatus comprising: a detection result determination unit that determines that there is a double door opening / closing operation in which the opening slides on both sides .
戸の映像が含まれる各ピクチャと、ピクチャ内の局所的な動きを示す動きベクトルの当該ピクチャ全体の動きベクトル分布とを入力とし、戸開閉の有無を検出する戸開閉検出装置であって、
前記動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、当該動きベクトル群の重心位置を推定する動きベクトル群重心位置推定部と、
前記動きベクトル分布と前記動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に前記動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定部を備えることを特徴とする戸開閉検出装置。
A door opening / closing detection device that detects whether a door is opened or closed by inputting each picture including a door video and a motion vector distribution of the entire picture of a motion vector indicating local motion in the picture,
A motion vector group centroid position estimator that takes the motion vector distribution as an input and recognizes them as a motion vector group when there are motion vectors similar to the vicinity; and estimates a centroid position of the motion vector group;
When the motion vector distribution and the centroid position estimation result of the motion vector group are input, the two motion vector groups exist in opposite directions and in pairs, and the motion vector is widely distributed in the normal direction A door opening / closing detection apparatus comprising: a detection result determination unit that determines that there is a double door opening / closing operation in which the opening slides on both sides .
戸の映像が含まれるディジタル映像信号の各ピクチャを所定の単位領域に分割して、その単位で圧縮符号化されたビットストリームを入力とし、戸開閉の有無を検出する戸開閉検出装置であって、
前記ビットストリームを入力とし、当該ビットストリームから動き補償予測に用いる動きベクトルを抽出し、動きベクトル分布として出力する録画データ処理部と、
前記動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、当該動きベクトル群の重心位置を推定する動きベクトル群重心位置推定部と、
前記動きベクトル分布と前記動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に前記動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定部と、
前記ビットストリームと前記判定結果とを入力とし、当該ビットストリームに含まれるピクチャと前記判定結果との対応付けを行ったメタデータを多重化したビットストリームを出力とする検出結果メタデータ生成多重部とを備えることを特徴とする戸開閉検出装置。
A door opening / closing detection device for detecting whether doors are opened or closed by dividing each picture of a digital video signal including a door video into predetermined unit areas and inputting a bit stream compressed and encoded in that unit. ,
A recording data processing unit that takes the bitstream as an input, extracts a motion vector used for motion compensation prediction from the bitstream, and outputs it as a motion vector distribution;
A motion vector group centroid position estimator that takes the motion vector distribution as an input and recognizes them as a motion vector group when there are motion vectors similar to the vicinity; and estimates a centroid position of the motion vector group;
When the motion vector distribution and the centroid position estimation result of the motion vector group are input, the two motion vector groups exist in opposite directions and in pairs, and the motion vector is widely distributed in the normal direction A detection result determination unit that determines that there is a double door opening / closing operation in which the opening slides on both sides ;
A detection result metadata generation multiplexing unit that receives the bit stream and the determination result as input, and outputs a bit stream obtained by multiplexing metadata included in the bit stream and associated with the determination result; A door open / close detection device comprising:
録画データ処理部は、ビットストリームからピクチャタイプを抽出し、動き補償予測を行うピクチャタイプであればビットストリームから動きベクトルを抽出し、動き補償予測を行わないピクチャタイプであれば各ピクチャ間の局所的な動きを算出し、動きベクトル分布として出力することを特徴とする請求項3記載の戸開閉検出装置。   The recorded data processing unit extracts a picture type from the bit stream, extracts a motion vector from the bit stream if the picture type performs motion compensation prediction, and localizes between each picture if the picture type does not perform motion compensation prediction. 4. The door opening / closing detection apparatus according to claim 3, wherein the movement is calculated and output as a motion vector distribution. 検出結果判定部は、R(Rは2以上の整数)個の動きベクトル群が互いに同じ向きで、最も大きい動きベクトル群が最も小さい動きベクトル群のR倍の大きさで存在し、かつ、その法線方向に広く分布する場合に、開口部が片側にスライドする片開きの戸開閉の動作が行われたと判定することを特徴とする請求項1から請求項4のうちのいずれか1項記載の戸開閉検出装置。 The detection result determination unit includes R (R is an integer of 2 or more) motion vector groups in the same direction, the largest motion vector group exists in the size of R times the smallest motion vector group, and 5. The device according to claim 1, wherein when the door is widely distributed in the normal direction, it is determined that the door opening / closing operation in which the opening slides to one side is performed. Door open / close detection device. 検出結果判定部は、戸開閉の動作が行われたと判定する根拠となる動きベクトル群以外の動きベクトル群が存在した場合は、動物体が存在したと判定することを特徴とする請求項1から請求項5のうちのいずれか1項記載の戸開閉検出装置。   The detection result determination unit determines that the moving object exists when there is a motion vector group other than the motion vector group that is a basis for determining that the door opening / closing operation has been performed. The door opening / closing detection apparatus of any one of Claim 5. 戸の映像が含まれる各ピクチャを入力とし、戸開閉の有無を検出する戸開閉検出装置を用いた戸開閉検出方法であって、
複数のピクチャを入力とし、各ピクチャ間の局所的な動きを算出し、動きベクトル分布として出力する動きベクトル算出ステップと、
前記動きベクトル分布を入力とし、近傍に似た動きベクトルが存在する場合にこれらを動きベクトル群として認識すると共に、当該動きベクトル群の重心位置を推定する動きベクトル群重心位置推定ステップと、
前記動きベクトル分布と前記動きベクトル群の重心位置推定結果とを入力とし、二つの動きベクトル群が互いに逆向きでかつ対に存在すると共に、その法線方向に前記動きベクトルが広く分布する場合に、開口部が両側にスライドする両開きの戸開閉の動作有りと判定する検出結果判定ステップを備えることを特徴とする戸開閉検出方法。
A door opening / closing detection method using a door opening / closing detection device that detects whether a door is opened or closed by inputting each picture including a door image.
A motion vector calculating step that receives a plurality of pictures, calculates a local motion between the pictures, and outputs a motion vector distribution;
A motion vector group centroid position estimating step for estimating the centroid position of the motion vector group and recognizing them as a motion vector group when there is a motion vector similar to the neighborhood when the motion vector distribution is input;
When the motion vector distribution and the centroid position estimation result of the motion vector group are input, the two motion vector groups exist in opposite directions and in pairs, and the motion vector is widely distributed in the normal direction A door opening / closing detection method comprising: a detection result determination step for determining that there is a double door opening / closing operation in which the opening slides on both sides .
JP2010040251A 2010-02-25 2010-02-25 Door open / close detection device and door open / close detection method Expired - Fee Related JP5590915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010040251A JP5590915B2 (en) 2010-02-25 2010-02-25 Door open / close detection device and door open / close detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010040251A JP5590915B2 (en) 2010-02-25 2010-02-25 Door open / close detection device and door open / close detection method

Publications (2)

Publication Number Publication Date
JP2011173707A JP2011173707A (en) 2011-09-08
JP5590915B2 true JP5590915B2 (en) 2014-09-17

Family

ID=44686965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010040251A Expired - Fee Related JP5590915B2 (en) 2010-02-25 2010-02-25 Door open / close detection device and door open / close detection method

Country Status (1)

Country Link
JP (1) JP5590915B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6673617B1 (en) * 2019-03-20 2020-03-25 東芝エレベータ株式会社 Image detection device
JP6922951B2 (en) * 2019-08-09 2021-08-18 フジテック株式会社 Image processing device and image processing method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3423834B2 (en) * 1996-04-26 2003-07-07 日本電信電話株式会社 Predictive coded image data management method and apparatus
JPH11213137A (en) * 1998-01-29 1999-08-06 Matsushita Electric Ind Co Ltd Image processor
JP3698584B2 (en) * 1999-02-18 2005-09-21 三菱電機ビルテクノサービス株式会社 Elevator car monitoring device
JP2001058765A (en) * 1999-08-20 2001-03-06 Mitsubishi Electric Corp Image monitoring device and image monitoring method
JP4663756B2 (en) * 2008-04-28 2011-04-06 株式会社日立製作所 Abnormal behavior detection device
US20120020518A1 (en) * 2009-02-24 2012-01-26 Shinya Taguchi Person tracking device and person tracking program

Also Published As

Publication number Publication date
JP2011173707A (en) 2011-09-08

Similar Documents

Publication Publication Date Title
JP6741130B2 (en) Information processing system, information processing method, and program
KR100901904B1 (en) Video content understanding through real time video motion analysis
Chen et al. People counting system for getting in/out of a bus based on video processing
JP6282193B2 (en) Object detection device
JP4663756B2 (en) Abnormal behavior detection device
JP4792069B2 (en) Image recognition device
EP3683768B1 (en) Method and system for initializing templates of moving objects
TWI482123B (en) Multi-state target tracking mehtod and system
US20130148852A1 (en) Method, apparatus and system for tracking an object in a sequence of images
CN110782433B (en) Dynamic information violent parabolic detection method and device based on time sequence and storage medium
US10977826B1 (en) Safety detection camera system for door closure
CN101236656A (en) Movement target detection method based on block-dividing image
JP6414066B2 (en) Image processing system, image processing method, and program
WO2006115676A3 (en) Video ghost detection by outline
US20200145623A1 (en) Method and System for Initiating a Video Stream
US20130021496A1 (en) Method and system for facilitating color balance synchronization between a plurality of video cameras and for obtaining object tracking between two or more video cameras
Yu et al. A robust method for detecting and counting people
CN104980759B (en) Detect the method and device of occlusion area
JP5590915B2 (en) Door open / close detection device and door open / close detection method
JPH09252467A (en) Mobile object detector
CN112364680B (en) Abnormal behavior detection method based on optical flow algorithm
CN112380905B (en) Abnormal behavior detection method based on histogram combination entropy of monitoring video
Solana-Cipres et al. Real-time moving object segmentation in H. 264 compressed domain based on approximate reasoning
Takacs et al. Feature tracking for mobile augmented reality using video coder motion vectors
Lijun Moving object segmentation based on background subtraction and fuzzy inference

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131008

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131205

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140701

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140729

R150 Certificate of patent or registration of utility model

Ref document number: 5590915

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees