JP2011217201A - Leaving or carrying-away determination apparatus and method - Google Patents

Leaving or carrying-away determination apparatus and method Download PDF

Info

Publication number
JP2011217201A
JP2011217201A JP2010084590A JP2010084590A JP2011217201A JP 2011217201 A JP2011217201 A JP 2011217201A JP 2010084590 A JP2010084590 A JP 2010084590A JP 2010084590 A JP2010084590 A JP 2010084590A JP 2011217201 A JP2011217201 A JP 2011217201A
Authority
JP
Japan
Prior art keywords
leaving
image
pixel
determination
away
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010084590A
Other languages
Japanese (ja)
Other versions
JP5464489B2 (en
Inventor
Kei Kokuzen
慶 谷全
Yasuhiro Takada
康弘 高田
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.)
Saxa Inc
Original Assignee
Saxa Inc
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 Saxa Inc filed Critical Saxa Inc
Priority to JP2010084590A priority Critical patent/JP5464489B2/en
Publication of JP2011217201A publication Critical patent/JP2011217201A/en
Application granted granted Critical
Publication of JP5464489B2 publication Critical patent/JP5464489B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To determine whether a differential (foreign substance) image obtained from a background image and a current image is caused by leaving or carrying-away.SOLUTION: A differential image creating means 201 in a determination control device 200 of a determination apparatus 20 creates a differential image [(background differential value)=(current image)-(background image)] between a background image in a monitored area and a current image in the monitored area captured by an electronic camera 10 and a leaving or carrying-away determining means 202 determines, based on a positive or negative code of a pixel of the created differential image, whether the differential image is caused by leaving or carrying-away.

Description

本発明は、例えば忘れ物のように、人がある場所に物を置いたまま去ったり、置いたものを持ち去ったりする場合に、異物として判定された物が、置き去った物か、持ち去った物かを特定するための置き去り又は持ち去り判定装置、同判定方法及びプログラムに関する。   In the present invention, for example, when a person leaves an object in a certain place, such as a forgotten object, or removes the object, the object determined as a foreign object is either an object left or removed. The present invention relates to a leaving or carrying-out determination device, a determination method, and a program for identifying the above.

ある場所に物を置いたり或いは物を持ち去ったりした場合に、それを判定する方法及び装置は既に知られている。例えば、撮影装置でその場所の背景画像を撮影し、その背景画像をメモリに記憶させておき、それと現在の画像とを比較して、その差分画像を作成すれば、誰かが置き去った或いは持ち去った物が差分画像として得られるため、その物を特定することができる。
また、駅などの常に移動する人や物がある場合などにおいては、時間をおいて撮影した画像から単純に差分画像を作成しても、他の移動体との区別がつき難いが、そのような場合においても、ある場所に物を置いたり或いは物を持ち去ったりするのを判定できるようにした発明(変化領域計算方法及び装置)も既に知られている(特許文献1参照)。
A method and an apparatus for determining when an object is placed or taken away at a certain place are already known. For example, if you take a background image of the place with a photographic device, store the background image in memory, compare it with the current image, and create the difference image, someone left or removed it. Since the object is obtained as a difference image, the object can be specified.
In addition, when there are people or things that move constantly, such as at stations, it is difficult to distinguish them from other moving objects even if a difference image is simply created from images taken after a while. Even in such a case, an invention (change area calculation method and apparatus) that can determine whether an object is placed or taken away at a certain place is already known (see Patent Document 1).

この変化領域計算方法及び装置では、同じ撮影区域について、予め定めた所定の時間間隔で撮影した複数の撮影画像を用い、各画像の画素(ピクセル)の画素値を平均化することにより、短時間に出入りしたものの影響を希釈化して、画像内の異物が一定時間以上滞留した場合だけ異物として抽出できるようにしている。   In this change area calculation method and apparatus, a plurality of captured images captured at a predetermined time interval are averaged over the same imaging area, and the pixel values of the pixels of each image are averaged to shorten the time. The influence of what enters and exits is diluted so that it can be extracted as foreign matter only when the foreign matter in the image stays for a certain period of time or longer.

しかしながら、上記従来の方法では、いずれも背景から変化した箇所を判定するだけであるので、置き去り又は持ち去られた物を特定することはできるが、特定された物が置き去られた物か、或いは持ち去られた物かを特定することはできない。
そのため、置き去り又は持ち去りの判定を前提にするシステムを構築したくとも、そのような要望に対応することはできない。例えば、落し物判定を目的としたシステムの場合には、一般には置き去り判定は必要であるが、落し物を回収した後の落し物持ち去り判定は不要である。しかし、従来の上記装置及び方法では、そのような置き去り又は持ち去りを区別したシステムを構築することはできない。
However, in each of the above conventional methods, since only the location changed from the background is determined, it is possible to identify an object that has been left or removed, but whether the specified object has been left or It is not possible to determine whether it has been taken away.
Therefore, even if it is desired to construct a system based on the determination of leaving or taking away, such a request cannot be met. For example, in the case of a system for determining a lost article, generally, the determination of leaving is necessary, but it is not necessary to determine whether the lost article is removed after the lost article is collected. However, the conventional apparatus and method cannot construct a system that distinguishes such leaving or taking away.

特開2007−108965号公報JP 2007-108965 A

本発明は、従来の問題に鑑みてなされたものであって、その目的は、1台のカメラで置き去りと持ち去りを区別して判定することである。   The present invention has been made in view of conventional problems, and an object of the present invention is to distinguish between leaving and taking away with a single camera.

本発明の置き去り又は持ち去り判定装置は、撮影装置で撮影した監視区域の背景画像を記憶する記憶装置と、前記背景画像と撮影装置で撮影した監視区域の現在画像との差分画像を作成する差分画像作成手段と、作成された差分画像のピクセルの正又は負の符号に基づき前記差分画像が置き去り又は持ち去りによるものかを判定する置き去り又は持ち去り判定手段と、を有することを特徴とする。
本発明の置き去り又は持ち去り判定方法は、置き去り又は持ち去り判定装置における置き去り又は持ち去り判定方法であって、撮影装置で撮影した監視区域の背景画像を記憶する記憶工程と、前記背景画像と撮影装置で撮影した監視区域の現在画像との差分画像を作成する差分画像作成工程と、作成された差分画像のピクセルの正又は負の符号に基づき前記差分画像が置き去り又は持ち去りによるものかを判定する置き去り又は持ち去り判定工程と、を有することを特徴とする。
本発明のプログラムは、本発明の置き去り又は持ち去り判定装置のコンピュータを、前記置き去り又は持ち去り判定装置の各手段として機能させることを特徴とする。
The leaving or taking away determination device of the present invention includes a storage device that stores a background image of a monitoring area photographed by a photographing device, and a difference that creates a difference image between the background image and a current image of the monitoring area photographed by the photographing device. Image creation means, and a leaving or removal determination means for determining whether the difference image is due to leaving or removal based on a positive or negative sign of a pixel of the created difference image.
The leaving or taking away determination method of the present invention is a leaving or taking away judging method in a leaving or take away judging device, which stores a background image of a monitoring area photographed by a photographing device, and the background image and photographing. A difference image creation step for creating a difference image with the current image of the monitoring area photographed by the device, and determining whether the difference image is due to leaving or taking away based on the positive or negative sign of the pixel of the created difference image And a step of determining whether to leave or take away.
The program according to the present invention causes the computer of the leaving or removing determination apparatus of the present invention to function as each unit of the leaving or removal determining apparatus.

本発明によれば、置き去り又は持ち去りを区別して判定することで、それぞれの用途に応じたアプリケーションが実現可能である。つまり、置き去り又は持ち去りのみの判定やその両方を区別して判定することを要するシステムに適用可能である。   According to the present invention, it is possible to realize an application corresponding to each use by distinguishing between leaving or taking away and determining. That is, the present invention can be applied to a system that requires determination of only leaving or taking away or both of them.

本発明の原理を説明する図である。It is a figure explaining the principle of this invention. 本発明の実施形態に係る判定装置の構成を概略的に示したブロック図である。It is the block diagram which showed schematically the structure of the determination apparatus which concerns on embodiment of this invention. 判定装置による置き去り又は持ち去り判定の手順を示すフロー図である。It is a flowchart which shows the procedure of the leaving or removal determination by a determination apparatus. 図3のフロー図における不動ピクセルの判定処理で実行される、不動ピクセル判定手順を示すフロー図である。It is a flowchart which shows the fixed pixel determination procedure performed by the determination process of the fixed pixel in the flowchart of FIG. 第1の実施形態の例外に該当する事例を示すExamples showing exceptions to the first embodiment 第1の実施形態の別の例外に該当する事例を示すAn example corresponding to another exception of the first embodiment is shown. 別の実施形態に係る判定装置の構成を、概略的に示したブロック図であるIt is the block diagram which showed schematically the structure of the determination apparatus which concerns on another embodiment. 第2の実施形態の判定装置による置き去り又は持ち去り判定処理の手順を示すフロー図である。It is a flowchart which shows the procedure of the leaving or the removal determination process by the determination apparatus of 2nd Embodiment. 図8のフロー図における履歴判定の処理を説明するフロー図である。It is a flowchart explaining the process of the log | history determination in the flowchart of FIG. さらに別の実施形態に係る判定装置の構成を、概略的に示したブロック図である。It is the block diagram which showed schematically the structure of the determination apparatus which concerns on another embodiment. 図10の実施形態に係る判定装置で実施する置き去り又は持ち去り判定の手順を示すフロー図である。It is a flowchart which shows the procedure of the leaving or carrying out determination implemented with the determination apparatus which concerns on embodiment of FIG. 背景エッジの密集箇所検出におけるオープニング処理とクロージング処理を説明する図である。It is a figure explaining the opening process and closing process in the dense location detection of a background edge.

以下、本発明の実施形態に係る置き去り又は持ち去り判定について説明する。
先ず、本発明の原理について説明する。
カメラ(電子カメラ)で撮影した背景画像と現在画像から差分画像(背景差分値=現在画像−背景画像)を作成して、両画像の各ピクセル毎の画素値の差分値をとり、そのときの背景差分値の+又は−の符号により、差分画像が現在画像にのみ存在するものか、或いは背景画像にのみ存在するものかの判定が可能である。即ち+(現在画像の方が画素値が大きい)であれば、その画素のところに何らかの物体(異物)が入った結果、その画素値が増大したと想像できる。逆に、−(現在画像の方が画素値が小さい)であれば、現在画像のその画素のところに何らかの物体(異物)があったのがなくなったため、画素値が小さくなったと想像できる。
Hereinafter, the abandonment or removal determination according to the embodiment of the present invention will be described.
First, the principle of the present invention will be described.
A difference image (background difference value = current image−background image) is created from the background image captured by the camera (electronic camera) and the current image, and the difference value of the pixel value for each pixel of both images is taken. Whether the difference image exists only in the current image or only in the background image can be determined based on the sign of the background difference value + or −. That is, if it is + (the pixel value of the current image is larger), it can be imagined that the pixel value has increased as a result of some object (foreign matter) entering the pixel. Conversely, if it is-(the pixel value of the current image is smaller), it can be imagined that the pixel value has decreased because there is no object (foreign matter) at that pixel in the current image.

図1は、本発明の原理を説明する図である。
即ち、図1Aに示すように、背景画像(図1A(1))に異物が無く、現在画像(図1A(2))に異物がある場合は、背景画像と現在画像のそれぞれのエッジ画像の背景差分値(画素値)=現在画像−背景画像が+差分となり、また、図1Bに示すように、背景画像(図1B(1))に異物が有り、現在画像(図1B(2))に異物がない場合は、エッジ画像の背景差分値(画素値)=現在画像−背景画像は−差分になる。
よって、+の値の場合は、置き去りピクセル(画素)、−の場合は持ち去りピクセル(画素)と判定することができる。本発明は、この原理を利用して、差分画像で検出した異物が置き去り異物か持ち去り異物かを判定するものである。
FIG. 1 is a diagram for explaining the principle of the present invention.
That is, as shown in FIG. 1A, when there is no foreign object in the background image (FIG. 1A (1)) and there is a foreign object in the current image (FIG. 1A (2)), the edge image of each of the background image and the current image is displayed. Background difference value (pixel value) = current image-background image is + difference, and as shown in FIG. 1B, the background image (FIG. 1B (1)) contains a foreign object, and the current image (FIG. 1B (2)). If there is no foreign object, the background image difference value (pixel value) of the edge image = current image−background image−difference.
Therefore, when the value is +, it can be determined as a left-out pixel (pixel), and when it is −, it can be determined as a left-out pixel (pixel). The present invention uses this principle to determine whether the foreign object detected in the differential image is left behind or removed.

以下、本発明の実施形態について、置き去り又は持ち去り判定装置及び同方法を説明する。まず、置き去り又は持ち去り判定装置(以下、単に判定装置という)について説明する。
図2は、本発明の実施形態に係る判定装置を概略的に示す図である。
判定装置20は、監視区域に設置されたカメラ(電子カメラ)10に接続されており、置き去り又は持ち去り判定制御装置(以下、単に判定制御装置という)200と、画像データを記憶する記憶装置22と、判定装置20の出力や、入力装置26の入力結果などを表示する例えば液晶表示手段(LCD)を備えた表示装置24、及びキーボードやタッチ入力手段を備えた上記入力装置26とから成っている。なお、30は各装置を接続するバスである。
判定制御装置200は、例えばマイクロコンピュータを備え、マイクロコンピュータのプログラムによる機能実現手段として、差分画像作成手段201、置き去り又は持ち去り判定手段202、不動ピクセル判定手段203、ラベリング手段204、背景画像更新手段205を有している。
Hereinafter, a leaving or taking away determination apparatus and method will be described with respect to an embodiment of the present invention. First, a leaving or leaving determination device (hereinafter simply referred to as a determination device) will be described.
FIG. 2 is a diagram schematically showing a determination device according to an embodiment of the present invention.
The determination device 20 is connected to a camera (electronic camera) 10 installed in a monitoring area, and is a leaving or leaving determination control device (hereinafter simply referred to as a determination control device) 200 and a storage device 22 that stores image data. And a display device 24 having, for example, a liquid crystal display means (LCD) for displaying the output of the determination device 20 and the input result of the input device 26, and the input device 26 having a keyboard and touch input means. Yes. Reference numeral 30 denotes a bus for connecting the devices.
The determination control apparatus 200 includes, for example, a microcomputer, and functions as means for realizing a program of the microcomputer include a differential image creation unit 201, a left or removed determination unit 202, a non-moving pixel determination unit 203, a labeling unit 204, and a background image update unit. 205.

図3は、上記判定装置20による置き去り又は持ち去り判定の手順を示すフロー図である。
本発明の実施形態に係る上記判定装置による置き去り又は持ち去り判定について、図3に示す処理フロー図を参照して説明する。
即ち、先ず、電子カメラ10による撮影画像を本実施形態に係る判定装置20に入力し(S101)、続いて、入力画像(ここでは、RGB画像又は輝度画像である)からエッジ画像を作成(抽出)し(S102)、差分画像作成手段201は、得られたエッジ画像の各ピクセル(画素)について背景差分値(背景差分値=現在画像−背景画像)を算出して符号付き背景差分画像を作成する(S103)。次に、置き去り又は持ち去り判定手段202は、得られたエッジ画像の画素値の符号付き背景差分の符号に基づき、置き去り又は持ち去り判定を行う(S104)、つまり、(i)背景差分値が正値、かつここでは予め定めた閾値を設定して、正の値が上記閾値以上の場合は置き去り有り、(ii)背景差分値が負値かつ閾値未満の場合は持ち去り有り、(iii)それ以外の場合は異物なしと判定する。
FIG. 3 is a flowchart showing a procedure for determining whether to leave or take away by the determination device 20.
With reference to the process flow diagram shown in FIG. 3, the determination of leaving or taking away by the determination device according to the embodiment of the present invention will be described.
That is, first, an image captured by the electronic camera 10 is input to the determination device 20 according to the present embodiment (S101), and then an edge image is created (extracted) from the input image (in this case, an RGB image or a luminance image). (S102), the difference image creating means 201 calculates a background difference value (background difference value = current image−background image) for each pixel (pixel) of the obtained edge image, and creates a signed background difference image. (S103). Next, the leaving or taking away determination unit 202 performs leaving or taking away determination based on the sign of the signed background difference of the pixel value of the obtained edge image (S104), that is, (i) the background difference value is determined. Positive value, and a predetermined threshold value is set here. If the positive value is greater than or equal to the threshold value, it is left behind. (Ii) If the background difference value is negative and less than the threshold value, it is left away. (Iii) Otherwise, it is determined that there is no foreign object.

本実施形態では、さらに、不動ピクセル判定手段203は、置き去り又は持ち去りの状態が一定時間以上続いたピクセルを不動ピクセルと判定する(S105)。この時、置き去り不動ピクセルと持ち去り不動ピクセルは区別して判定する。
次に、ラベリング手段204により検出した不動ピクセルにラベリングを行い(S106)、その後判定処理結果を出力し(S107)、背景画像更新手段205は、背景画像の該当ピクセルを上記不動ピクセルで更新して(S108)、次の置き去り又は持ち去り判定処理を行う。
このように、本実施形態では、置き去り又は持ち去り差分があったとしても、直ちに判定対象の異物と判定せず、まず、その差分が一定の閾値以上であるものに限定することでノイズを除去し、さらに、置き去りや持ち去りの状態が一定時間以上続いた場合に限り差分画像(異物)として扱う。また、その異物が置き去りによるものか、持ち去りによるものかを背景画像のピクセルの情報として記憶装置22に記憶させる。つまり、上記不動ピクセルの情報で背景画像を更新するため、短時間に監視区域に出入りする人や物を判定対象から排除して精度の高い置き去り又は持ち去り判定を行うことができる。また、置き去り又は持ち去り判定を行った後に、更新した背景画像を用いて引き続き、次の置き去り又は持ち去り判定を行うことができる。
In the present embodiment, the non-moving pixel determining unit 203 further determines that a pixel that has been left or carried away for a certain period of time or more is a non-moving pixel (S105). At this time, the leaving stationary pixel and the leaving stationary pixel are distinguished and determined.
Next, the non-moving pixel detected by the labeling unit 204 is labeled (S106), and then the determination processing result is output (S107). The background image updating unit 205 updates the corresponding pixel of the background image with the non-moving pixel. (S108) The next abandonment or removal determination process is performed.
As described above, in this embodiment, even if there is a difference between leaving and taking away, it is not immediately determined as a foreign object to be determined, and noise is first removed by limiting the difference to a certain threshold or more. Furthermore, it is treated as a difference image (foreign matter) only when the state of leaving or taking away continues for a certain time or longer. Further, the storage device 22 is made to store whether the foreign matter is left behind or taken away as pixel information of the background image. That is, since the background image is updated with the information of the non-moving pixels, it is possible to exclude a person or an object that enters or exits the monitoring area in a short time from the determination target and perform a highly accurate leaving or carrying out determination. In addition, after performing the leaving or removal determination, it is possible to continue to perform the next removal or removal determination using the updated background image.

図4は、ステップS105とステップS106の不動ピクセルの判定処理で実行される、上記不動ピクセル判定手順を示すフロー図である。
この処理では、まず置き去り差分の有無を判定する(S201)、置き去り差分有りと判定したときは(S201、YES)、置き去りタイマを加算し、かつ持ち去りタイマを減算する(S202)、置き去りタイマが設定値以上になったか否か判定し(S203)、置き去りタイマが設定値以上になったときは(S203、YES)、当該ピクセルが置き去りの不動ピクセルであると判定して(S204)、処理を終了する。
FIG. 4 is a flowchart showing the stationary pixel determination procedure executed in the stationary pixel determination process in steps S105 and S106.
In this process, first, the presence or absence of a leaving difference is determined (S201). When it is determined that there is a leaving difference (S201, YES), the leaving timer is added, and the leaving timer is subtracted (S202). It is determined whether or not the set value is exceeded (S203). When the leaving timer is set to be the set value or more (S203, YES), it is determined that the pixel is a leaving immovable pixel (S204), and the process is performed. finish.

ステップS203において、置き去りタイマが設定値未満であれば(S203、NO)、持ち去りタイマが設定値以上か否か判定し(S208)、設定値以上であれば(S208、YES)、当該ピクセルが持ち去りの不動ピクセルであるのと判定を行い(S209)、処理を終了する。また、持ち去りタイマの減算値が設定値未満であれば(S208、NO)、置き去りタイマも持ち去りタイマもいずれも設定値未満となるので、そのまま、つまり、置き去り又は持ち去り判定を行うことなく処理を終了する。
ステップS201において、置き去り差分がないときは(S201、NO)、持ち去り差分の有無を判定し(S205)、持ち去り差分があれば(S205、YES)、持ち去りタイマを加算し、置き去りタイマを減算して(S206)、ステップS203以下の処理に移行する。
ステップS205において、持ち去り差分がないときは(S205、NO)、置き去りタイマ及び持ち去りタイマを減算し(S207)、ステップS203以下の処理に移行する。
なお、以上の処理において、設定値とは、置き去り又は持ち去りと決定することとなる時間である。したがって、設定値以上放置されたときは置き去り又は持ち去りの判定を行う。
In step S203, if the leave timer is less than the set value (S203, NO), it is determined whether or not the leave timer is equal to or greater than the set value (S208). It is determined that the pixel is a fixed pixel that has been taken away (S209), and the process ends. Further, if the subtraction value of the take-away timer is less than the set value (S208, NO), both the leave timer and the take-off timer are less than the set value, and thus, as it is, that is, without making a leave or take-away determination. The process ends.
In step S201, if there is no leftover difference (S201, NO), it is determined whether there is a leftover difference (S205). If there is a leftover difference (S205, YES), the removed timer is added and the leftout timer is set. Subtraction is performed (S206), and the process proceeds to step S203 and subsequent steps.
In step S205, when there is no take-away difference (S205, NO), the leaving timer and the take-out timer are subtracted (S207), and the process proceeds to step S203 and subsequent steps.
In the above processing, the set value is the time for which it is decided to leave or take away. Accordingly, when the device is left for more than the set value, it is determined whether it is left or removed.

殆どの場合は、以上で説明したように物体の置き去りは+差分、物体の持ち去りは−差分となり、物体の置き去りと持ち去りの区別が可能であり、例えば、物体の置き去りのみを判定して物体の持ち去りを判定しないようにすることができる。
しかしながら、実際には、上記の置き去り又は持ち去り判定が適用できない幾つかの例外がある。次に、その点について説明する。
In most cases, as described above, the object leaving is + difference, the object removal is -difference, and it is possible to distinguish between the object leaving and the object leaving. For example, by determining only the object leaving It is possible not to determine whether the object is taken away.
In practice, however, there are some exceptions where the above leave or take away determination is not applicable. Next, this point will be described.

図5、図6は上記例外に該当する事例を示す。
先ず、第1の例外について説明する。
図5Aに示すように、背景画像にエッジ部分(例えば背景画像である床の亀裂など)があり、その後そのエッジ部分の上に物体を置いたときには、上記の判定法を適用すると、物体のエッジについては置き去り判定すると共に、背景のエッジについては持ち去り判定することになる。
即ち、例えば、図5A(1)では、背景画像にここでは+模様のエッジがあり、図5A(2)の現在画像では、その上に物体を置いた状態となっている。このときは、ピクセルの置き去り及び持ち去り情報(つまり差分情報)は、上記のエッジ画像の背景差分値で判別すると、図5A(3)に示すように、物体のエッジは置き去り判定し、かつ+模様のエッジは、持ち去り判定されるため、正確な判定ができない。例えば、物体の持ち去りのみ検知し、置き去りは検知しないシステムを構築した場合に物体の置き去り時でも持ち去り検知をしてしまう。
5 and 6 show examples corresponding to the above exception.
First, the first exception will be described.
As shown in FIG. 5A, when the background image has an edge portion (for example, a crack in the floor, which is the background image), and the object is placed on the edge portion, the edge of the object is applied by applying the above determination method. Is determined to be left behind, and the background edge is determined to be removed.
That is, for example, in FIG. 5A (1), the background image has a + pattern edge here, and in the current image in FIG. 5A (2), an object is placed on the edge. At this time, if the pixel leaving and removal information (that is, difference information) is determined by the background difference value of the edge image, the object edge is determined to be left as shown in FIG. 5A (3), and + Since the pattern edge is determined to be carried away, it cannot be determined accurately. For example, when a system is constructed that detects only the removal of an object and does not detect the removal, the removal is detected even when the object is left.

図5B(1)〜(3)のように、背景画像では+模様のエッジの上に物体が置かれ、物体を持ち去るときは、上記の判定法では図5B(3)に示すように、物体のエッジを持ち去り判定し、かつ+模様のエッジは置き去りと判定される。つまり、元々の背景のエッジの上に置かれた物体を持ち去るときは、物体のエッジ画像を持ち去り判定し、元々存在する筈の背景のエッジを置き去り判定してしまうため、正確な判定ができない。例えば、物体の置き去りのみ検知し、持ち去りは検知しないシステムを構築した場合、物体の持ち去り時でも置き去り検知をしてしまう。   As shown in FIG. 5B (1) to (3), when the object is placed on the edge of the + pattern in the background image and the object is taken away, the object as shown in FIG. It is determined that the edge of the pattern is removed and the edge of the + pattern is determined to be left behind. In other words, when an object placed on the original background edge is taken away, the edge image of the object is taken away and the original edge of the eyelid background is left behind, so an accurate judgment cannot be made. . For example, when a system is constructed that detects only the object leaving and not the object leaving, the object is detected even when the object is left.

次に例外2について説明する。
背景画像にエッジが、図6A(1)、図6B(1)のように密集して存在しており、画素の背景エッジ強度>物体エッジ強度の場合は、物体の置き去り判定自体が難しい場合がある。
つまり図6Aにおいて、図6A(1)に示すように背景画像にエッジがあり、図6A(2)に示すようにその上に物体を置いた現在画像のエッジ画像で、画素の背景エッジ強度>物体エッジ強度の場合に上記置き去り又は持ち去り判定を行うと、図6A(3)に示す置き去り判定画像では、矩形で囲まれた部分で置き去り判定をし、物体エッジの途切れた部分(背景画像のエッジが物体エッジと重なっている部分)では持ち去り判定がなされてしまう。
Next, exception 2 will be described.
Edges are densely present in the background image as shown in FIGS. 6A (1) and 6B (1), and when the background edge strength of the pixel> the object edge strength, the object leaving determination itself may be difficult. is there.
That is, in FIG. 6A, the background image has an edge as shown in FIG. 6A (1), and the edge image of the current image with an object placed thereon as shown in FIG. When the above-mentioned leaving or carrying-out determination is performed in the case of the object edge strength, in the leaving determination image shown in FIG. 6A (3), the leaving determination is performed at a portion surrounded by a rectangle, and the portion where the object edge is broken (background image) In the portion where the edge overlaps the object edge), the removal determination is made.

また、背景画像のエッジが図6B(1)に示すように、エッジがさらに密集していると、その上に物体を置いた現在画像は図6B(2)の画像となり、画素の背景エッジ強度>物体エッジ強度の場合、上記のエッジ画像の背景差分値で判別すると、物体のエッジは全て持ち去り判定となり、置き去り判定できる部分はなくなってしまう。したがって、この場合には物体の置き去り判定はできない。   Also, as shown in FIG. 6B (1), when the edges of the background image are more dense, the current image with objects placed thereon becomes the image of FIG. 6B (2), and the background edge strength of the pixel In the case of> object edge strength, if it is determined by the background difference value of the edge image, all the edges of the object are determined to be carried away, and there is no portion that can be left behind. Therefore, in this case, it is not possible to determine whether the object has been left behind.

次に、上記例外1及び2の場合における対応策について説明する。
例外1に対応する実施形態(実施形態2)
本実施形態では、図7に示すように、第1の実施形態に加えて、判定装置20の判定制御装置200に、プログラムによるコンピュータの機能として実現される手段である履歴情報付加手段206を備え、各ピクセル毎に過去の置き去り又は持ち去り情報(履歴情報)を付加して記憶装置に記憶させると共に、置き去った物体などで隠れた背景エッジが物体の持ち去りにより、エッジが復活したときに、上記履歴情報を読み出して、置き去り判定とされないようにしている。また、置き去った物体などで隠れた背景エッジは、同様にして持ち去り判定されないようにしている。
本実施形態に係る判定装置20のその他の構成は図2に示す第1の実施形態と同様である。
Next, countermeasures for the cases of exceptions 1 and 2 will be described.
Embodiment corresponding to Exception 1 (Embodiment 2)
In the present embodiment, as shown in FIG. 7, in addition to the first embodiment, the determination control device 200 of the determination device 20 includes a history information addition unit 206 that is a unit realized as a computer function by a program. , When past removal or removal information (history information) is added to each pixel and stored in the storage device, and when the background edge hidden by the removed object is restored by the removal of the object The history information is read out so that it is not determined to be left behind. In addition, the background edge hidden by the left object is not taken away and judged in the same manner.
The other configuration of the determination apparatus 20 according to this embodiment is the same as that of the first embodiment shown in FIG.

次に、本実施形態の判定装置20による置き去り又は持ち去り判定処理の手順を図8を参照して説明する。
即ち、先ず電子カメラ10の撮影画像を本実施形態に係る置き去り又は持ち去り判定装置20に入力し(S301)、記憶装置22に記憶させた後、入力画像のエッジ画像を作成(抽出)する(S302)。得られたエッジ画像について符号付き背景差分画像(背景差分画像=現在画像−背景画像)を作成する(S303)。続いて、置き去り又は持ち去り判定手段202は、得られたエッジ画像の画素値の符号付き背景差分に基づき、置き去り又は持ち去り判定を行う(S304)、つまり、(i)背景差分値が正値かつ閾値以上の場合は置き去り有り、(ii)背景差分値が負値かつ閾値未満の場合は持ち去り有り、(iii)それ以外の場合は異物なしと判定する。
Next, the procedure of the leaving or carrying-out determination process by the determination apparatus 20 of this embodiment is demonstrated with reference to FIG.
That is, first, a captured image of the electronic camera 10 is input to the leaving or carrying-out determination device 20 according to the present embodiment (S301), and stored in the storage device 22, and then an edge image of the input image is created (extracted) ( S302). A signed background difference image (background difference image = current image−background image) is created for the obtained edge image (S303). Subsequently, the leaving or removal determining unit 202 determines whether to leave or remove based on the signed background difference of the pixel value of the obtained edge image (S304), that is, (i) the background difference value is a positive value. If it is equal to or greater than the threshold, it is left behind, (ii) if the background difference value is negative and less than the threshold, it is left away, and (iii) otherwise, it is determined that there is no foreign object.

次に、履歴情報付加手段206により、履歴情報が付加されたピクセルがあれば、これを履歴情報付き不動ピクセルと判定する。この時、置き去りと持ち去りは区別して判定する(S305)。ここで履歴情報付き不動ピクセルについてその履歴を判定する。即ち、ここではピクセル毎に画像変化の履歴情報が付加されている、即ち、例えば、各ピクセルに対して、それぞれInfo =0(初期値)、Info=1(過去に置き去りがあった)。Info=2(過去に持ち去りがあった)、のいずれかの履歴情報が付加されているので、その履歴情報を判定する(S306)。続いて、判定した履歴情報付き不動ピクセルにラベリングを行い(S307)、判定結果を出力して(S308)、背景画像の該当ピクセルを上記不動ピクセルで更新し(S309)、最初の状態に戻る。   Next, if there is a pixel to which history information is added by the history information adding means 206, this is determined as a stationary pixel with history information. At this time, leaving and taking away are distinguished and determined (S305). Here, the history of the stationary pixels with history information is determined. That is, here, the history information of the image change is added for each pixel, that is, for example, for each pixel, Info = 0 (initial value) and Info = 1 (there was left in the past). Since any history information of Info = 2 (has been taken away in the past) is added, the history information is determined (S306). Subsequently, the determined immovable pixel with history information is labeled (S307), the determination result is output (S308), the corresponding pixel of the background image is updated with the immovable pixel (S309), and the process returns to the initial state.

図9は、上記ステップS306の履歴判定の処理を説明するフロー図である。
即ち、履歴情報付き不動ピクセルと判定され(S401、YES)、かつ当該履歴情報付き不動ピクセルが置き去りと判定されたとき(S402、YES)、その履歴情報が持ち去り(Info = 2:過去に持ち去りがあった)であれば(S403、YES)、履歴情報を初期化(Info = 0)して、持ち去り判定に変更する(S404)。例えば、図5Bで元々の背景の+模様のエッジは置き去り判定されるが、その履歴情報が持ち去り(図5A)であれば、持ち去り判定に変更する。
ステップS403で、履歴情報が持ち去りでなければ(S403、NO)、履歴情報を(Info=1:過去に置き去りがあった)で更新し、置き去り判定を保持する(S405)。例えば、図5Aで物体エッジは置き去り判定されるが、履歴情報が持ち去りでなければ置き去り判定を保持する。
FIG. 9 is a flowchart for explaining the history determination processing in step S306.
That is, when it is determined that the pixel is a stationary pixel with history information (S401, YES) and the stationary pixel with the history information is determined to be left behind (S402, YES), the history information is removed (Info = 2: held in the past). If there has been a leave) (S403, YES), the history information is initialized (Info = 0) and changed to take-away determination (S404). For example, in FIG. 5B, the + background edge of the original background is determined to be left behind, but if the history information is left away (FIG. 5A), it is changed to the removal determination.
In step S403, if the history information is not carried away (S403, NO), the history information is updated (Info = 1: there has been left in the past), and the leaving determination is held (S405). For example, in FIG. 5A, the object edge is determined to be left behind, but if the history information is not left away, the determination to leave is held.

ステップS402で、履歴情報付き不動ピクセルは置き去りではなく(S402、NO)、つまり、履歴情報付き不動ピクセルは持ち去りで、履歴情報が置き去りであれば(S406、YES)、履歴情報を初期化して(Info = 0)、持ち去り判定を保持する(S407)。例えば、図5Bで物体のエッジは持ち去り判定されるが、その履歴情報が置き去り(図5A)であれば、持ち去り判定を保持する。
ステップS406で、履歴情報が置き去りでなければ(S406、NO)、履歴情報を(Info = 2:過去に持ち去りがあった)で更新し、置き去り判定に変更する。例えば、図5Aで背景の+模様のエッジは持ち去り判定されるが、その履歴情報が置き去りでなければ、置き去り判定に変更する。
In step S402, the immovable pixel with history information is not left behind (S402, NO), that is, if the immovable pixel with history information is taken away and the history information is left behind (S406, YES), the history information is initialized. (Info = 0), the take-away determination is held (S407). For example, in FIG. 5B, the edge of the object is determined to be taken away, but if the history information is left behind (FIG. 5A), the removal determination is held.
In step S406, if the history information is not left behind (S406, NO), the history information is updated with (Info = 2: there has been taken away in the past), and is changed to a left-over determination. For example, in FIG. 5A, the + pattern edge of the background is determined to be removed, but if the history information is not left, it is changed to determination to leave.

なお、履歴情報付き不動ピクセル判定処理で出力されるものは、履歴情報付き不動ピクセル画像である。
ここで、履歴情報付き不動ピクセル画像とは、例えば画素毎に置き去り判定ピクセル(pixel)=1、持ち去り判定ピクセル(pixel)=2、初期値=0のいずれかの値が入った3値画像である。この履歴情報付き不動ピクセル画像をラベリング処理で、1のピクセルと2のピクセルでそれぞれ区別してラベリングを行い、最後に判定結果を出す。
Note that what is output in the stationary pixel determination process with history information is a stationary pixel image with history information.
Here, the non-moving pixel image with history information is, for example, a ternary image including any one of a leaving determination pixel (pixel) = 1, a leaving determination pixel (pixel) = 2, and an initial value = 0 for each pixel. It is. This immovable pixel image with history information is labeled with a 1 pixel and a 2 pixel in a labeling process, and finally a determination result is output.

例外2に対する実施形態(第3の実施形態)
本実施形態では、図10に示すように、第1の実施形態や第2の実施形態に加えて、判定制御装置200にコンピュータのプログラムによる機能実現手段として、ピクセル(画素)のオープニング処理手段207とクロージング処理手段208とを備え、背景エッジの強度が強く密集している箇所を自動判定し、エッジの密集エリアとそうでないエリアの2値画像を作成して以下の判定を行う。即ち、
(1)密集ピクセルに関して第1の実施形態の「置き去り又は持ち去り判定」フロー(図3)においては、
(i)背景差分値が正値かつ閾値以上の場合、「持ち去り有り」とする。
(ii)背景差分値が負値かつ閾値未満の場合、「置き去り有り」とする。
(iii)それ以外の場合、異物でない。
Embodiment for exception 2 (third embodiment)
In this embodiment, as shown in FIG. 10, in addition to the first embodiment and the second embodiment, the determination control apparatus 200 has a pixel opening processing means 207 as a function realizing means by a computer program. And a closing processing unit 208, automatically determine a portion where the intensity of the background edge is strong and dense, create a binary image of the dense area of the edge and the area where the edge is not dense, and perform the following determination. That is,
(1) In the “leave or take away” flow (FIG. 3) of the first embodiment for dense pixels,
(I) If the background difference value is a positive value and equal to or greater than the threshold value, “take away” is set.
(Ii) If the background difference value is a negative value and less than the threshold value, “leave left” is set.
(Iii) Otherwise, it is not a foreign object.

(2)密集ピクセルに関して、第2の実施形態の「履歴情報付き不動ピクセル判定」のフロー(図9)において以下の変更を行う。
(i)図9のエンドで置き去りと判定された不動ピクセルを「持ち去り」に変更。
(ii)図9のエンドで持ち去りと判定された不動ピクセルを「置き去り」に変更。
なお、エッジの密集エリアの2値画像を用いたときの密集ピクセルの定義としては、以下の2方法がある。
(1)エッジの密集エリア内の全てのピクセルを密集ピクセルとする。
(2)エッジの密集エリア内かつエッジ強度が閾値以上のピクセルを密集ピクセルとするが、何れも用いてもよい。
(2) Regarding the dense pixels, the following changes are made in the flow of “determination of non-moving pixels with history information” in the second embodiment (FIG. 9).
(I) The immovable pixels determined to be left at the end of FIG. 9 are changed to “take away”.
(Ii) The immovable pixels determined to be removed at the end of FIG. 9 are changed to “leave”.
Note that there are the following two methods for defining dense pixels when using a binary image of an edge dense area.
(1) All pixels in the dense area of the edge are set as dense pixels.
(2) Pixels in the edge dense area and whose edge intensity is greater than or equal to the threshold are designated as dense pixels, but any of them may be used.

以下、本実施形態に係る判定装置20で実施する背景エッジの密集エリアとそうでないエリアの2値画像を作成する手順を、図11に示すフロー図を参照して説明する。
先ず電子カメラ10の撮影画像を本実施形態に係る置き去り又は持ち去り判定装置20に入力し(S501)、入力画像(背景画像)のエッジ画像を作成する(S502)。次に、エッジ画像の強度(画素値の強度)を閾値と対比して2値化し(S503)、クロージング、つまり、2値化したエッジ画像をn回膨張処理後、n回収縮処理をして、密集したエッジを結合する処理を行い(S504)、続いてオープニング、つまり、クロージングしたエッジ画像をn回収縮処理して孤立した細いエッジを除去した後、n回膨張処理してサイズを元に戻す処理を行う。
以上の処理で作成された2値画像を使用して第3の実施形態は実現される。ここで、上記2値画像作成処理は、映像に異物がない時に1度行う処理であり、毎フレーム行うわけではない。
Hereinafter, a procedure of creating a binary image of a background edge dense area and an area other than the background edge dense area implemented by the determination apparatus 20 according to the present embodiment will be described with reference to a flowchart shown in FIG.
First, a captured image of the electronic camera 10 is input to the leaving or carrying-out determination device 20 according to the present embodiment (S501), and an edge image of the input image (background image) is created (S502). Next, the edge image intensity (pixel value intensity) is binarized in comparison with the threshold value (S503), and closing, that is, the binarized edge image is expanded n times and then contracted n times. Then, the process of combining the dense edges is performed (S504), and then the opening, that is, the closed edge image is contracted n times to remove isolated thin edges, and then the nth expansion process is performed to determine the size based on the size. Perform processing to return.
The third embodiment is realized using the binary image created by the above processing. Here, the binary image creation process is a process performed once when there is no foreign object in the video, and is not performed every frame.

図12は、上記オープニング処理とクロージング処理を説明するための図である。
図12Aは、背景エッジ2値画像を示す。図示のエッジは密集していない場所と密集している場所を示している。次に、それぞれのエッジ2値画像をクロージング処理、つまりエッジ2値画像をn回膨張して密集したエッジを結合する。図12Bはn回膨張後の2値画像を示す。続いて得られた2値画像をn回収縮処理をしてサイズを元に戻し、図12Cの2値画像を得る。ここで、オープニングつまり、n回収縮して密集でないエッジ(孤立したエッジ)の除去を行う。図12Dは孤立したエッジを除去した後の2値画像である。最後にエッジ除去後の2値画像をn回膨張して元のサイズに戻して処理を終了する。
以上の処理により、背景画像のエッジが密集しており、背景画像エッジ強度が物体エッジ強度よりも大きい場合であっても、密集ピクセルに関して、第1の実施形態では「置き去り又は持ち去り判定フロー」(図3)、第2の実施形態では、「密集情報付き不動ピクセル判定フロー」(図9)の処理を変更することにより、そのピクセル(つまり異物)が置き去りによるものか持ち去りによるものかを正しく判定することができる。
FIG. 12 is a diagram for explaining the opening process and the closing process.
FIG. 12A shows a background edge binary image. The illustrated edge shows a non-crowded place and a crowded place. Next, each edge binary image is subjected to a closing process, that is, the edge binary image is expanded n times to combine the dense edges. FIG. 12B shows a binary image after expansion n times. Subsequently, the obtained binary image is shrunk n times to restore the original size, and the binary image shown in FIG. 12C is obtained. Here, opening, that is, removal of non-congested edges (isolated edges) that have contracted n times is performed. FIG. 12D is a binary image after removing isolated edges. Finally, the binary image after edge removal is expanded n times to return to the original size, and the process is terminated.
With the above processing, even if the edges of the background image are dense and the background image edge strength is larger than the object edge strength, the “removal or removal determination flow” is performed in the first embodiment for dense pixels. (FIG. 3) In the second embodiment, by changing the processing of the “non-moving pixel determination flow with dense information” (FIG. 9), it is determined whether the pixel (that is, a foreign object) is due to leaving or being removed. It can be judged correctly.

次に、他の実施形態について説明する。
第4の実施形態
図11に示すフローの2値化(S503)後に作成される背景エッジ2値画像を利用して、その背景エッジピクセルに関して、第1の実施形態の「置き去り又は持ち去り判定フロー」(図3)において以下の変更を行う。
(i)背景差分値が正値かつ閾値以上の場合、「異物でない」とする。
(ii)背景差分値が負値かつ閾値未満の場合、「異物でない」とする。
(iii)それ以外の場合も、異物でないとする。
以上の処理によると、元々の背景に存在する床の+模様のエッジ(図5A(1))などのピクセルは常に異物でないと判定されるため、図5Aでは物体エッジの置き去り判定のみ発生し、図5Bでは物体エッジの持ち去り判定のみ発生するため、例外1の問題を解決することができる。
ここで、背景エッジ2値画像作成処理は画像に異物がない時に1度行うだけの処理であり、毎フレーム行っているのではない。
Next, another embodiment will be described.
Fourth Embodiment Using the background edge binary image created after the binarization of the flow shown in FIG. 11 (S503), regarding the background edge pixel, the “Leave or take away determination flow” of the first embodiment. (FIG. 3), the following changes are made.
(i) When the background difference value is a positive value and equal to or greater than the threshold value, it is determined as “not a foreign object”.
(ii) If the background difference value is negative and less than the threshold value, it is determined as “not a foreign object”.
(iii) In other cases, it is assumed that it is not a foreign object.
According to the above processing, pixels such as the + pattern edge (FIG. 5A (1)) of the floor existing in the original background are always determined not to be a foreign object, so in FIG. 5A, only the object edge leaving determination occurs. In FIG. 5B, only the object edge removal determination occurs, so that the problem of exception 1 can be solved.
Here, the background edge binary image creation processing is performed only once when there is no foreign object in the image, and is not performed every frame.

第5の実施形態
第4の実施形態は例外1の問題を解決することができたが、もし、図6A(1)や図6B(1)のように元々の背景でエッジが密集している箇所に物体が置かれた場合に、そのピクセルは常に異物でないと判定されるため物体を検知できなくなる場合がある。
このとき、第4の実施形態に加えて、図11に示すフローのエンドで作成されている背景エッジの密集エリアとそうでないエリアの2値画像を利用して、密集ピクセルに関して、第1の実施形態の「置き去り又は持ち去り判定フロー」(図3)において以下の変更を行う。第4の実施形態での変更も併せて記述すると、
(1)まず、背景エッジ2値画像を利用して、背景エッジピクセルに関して、
(i)背景差分値が正値かつ閾値以上の場合、「異物でない」とする。
(ii)背景差分値が負値かつ閾値未満の場合、「異物でない」とする。
(iii)それ以外の場合も、異物でないとする。
(2)その後に、背景エッジの密集エリアとそうでないエリアの2値画像を利用して、密集ピクセルに関して、
(i)背景差分値が正値かつ閾値以上の場合、「持ち去り有り」とする。
(ii)背景差分値が負値かつ閾値未満の場合、「置き去り有り」とする。
(iii)それ以外の場合も、異物でないとする。
以上の処理によると、元々の背景に存在する床の+模様のエッジ(図5A(1))などのピクセルは常に異物でないと判定されるため、図5Aでは物体エッジの置き去り判定のみ発生し、図5Bでは物体エッジの持ち去り判定のみ発生し、図6Aや図6Bのエッジが密集している箇所に物体が置かれた場合でも、物体が置き去りによるものか持ち去りによるものかを正しく判定することができるため、例外1と例外2を解決することができる。
ここで、背景エッジ2値画像作成処理と背景エッジの密集エリアとそうでないエリアの2値画像作成処理は画像に異物がない時に1度行うだけの処理であり、毎フレーム行っているのではない。
Fifth Embodiment In the fourth embodiment, the problem of exception 1 can be solved. However, if the edges are dense in the original background as shown in FIGS. 6A (1) and 6B (1). When an object is placed at a location, it may be impossible to detect the object because the pixel is always determined not to be a foreign object.
At this time, in addition to the fourth embodiment, the first implementation is performed with respect to the dense pixels by using the binary image of the dense area of the background edge and the area that is not created at the end of the flow shown in FIG. The following changes are made in the “Leave or take away determination flow” (FIG. 3) of the form. When the changes in the fourth embodiment are also described,
(1) First, using the background edge binary image,
(i) When the background difference value is a positive value and equal to or greater than the threshold value, it is determined as “not a foreign object”.
(ii) If the background difference value is negative and less than the threshold value, it is determined as “not a foreign object”.
(iii) In other cases, it is assumed that it is not a foreign object.
(2) Then, using the binary image of the area where the background edge is dense and the area where it is not,
(i) If the background difference value is a positive value and equal to or greater than the threshold value, “take away” is set.
(ii) If the background difference value is negative and less than the threshold value, “leave left” is assumed.
(iii) In other cases, it is assumed that it is not a foreign object.
According to the above processing, pixels such as the + pattern edge (FIG. 5A (1)) of the floor existing in the original background are always determined not to be a foreign object, so in FIG. 5A, only the object edge leaving determination occurs, In FIG. 5B, only the object edge removal determination occurs, and even when the object is placed at a location where the edges in FIGS. 6A and 6B are dense, it is correctly determined whether the object is due to leaving or removal. Therefore, exception 1 and exception 2 can be solved.
Here, the background edge binary image creation processing and the binary image creation processing of the area where the background edge is dense and the background edge are processing that is performed only once when there is no foreign object in the image, and is not performed every frame. .

10・・・電子カメラ、20・・・判定装置、200・・・判定制御装置、201・・・差分画像作成手段、202・・・置き去り又は持ち去り判定手段、203・・・不動ピクセル判定手段、204・・・ラベリング手段、205・・・背景画像更新手段、206・・・履歴情報付加手段、207・・・オープニング処理手段、208・・・クロージング処理手段、22・・・記憶装置、24・・・表示装置、26・・・入力装置、30・・・バス。   DESCRIPTION OF SYMBOLS 10 ... Electronic camera, 20 ... Determination apparatus, 200 ... Determination control apparatus, 201 ... Difference image creation means, 202 ... Abandonment or removal determination means, 203 ... Immovable pixel determination means 204 ... Labeling means, 205 ... Background image updating means, 206 ... History information adding means, 207 ... Opening processing means, 208 ... Closing processing means, 22 ... Storage device, 24 ... display device, 26 ... input device, 30 ... bus.

Claims (8)

撮影装置で撮影した監視区域の背景画像を記憶する記憶装置と、
前記背景画像と撮影装置で撮影した監視区域の現在画像との差分画像を作成する差分画像作成手段と、
作成された差分画像のピクセルの正又は負の符号に基づき前記差分画像が置き去り又は持ち去りによるものかを判定する置き去り又は持ち去り判定手段と、
を有することを特徴とする置き去り又は持ち去り判定装置。
A storage device for storing a background image of the surveillance area photographed by the photographing device;
A difference image creating means for creating a difference image between the background image and the current image of the monitoring area photographed by the photographing device;
A leaving or removal determining means for determining whether the difference image is due to leaving or removal based on the positive or negative sign of the pixel of the created difference image;
A device for determining whether to leave or take away.
請求項1に記載された置き去り又は持ち去り判定装置において、
前記置き去り又は持ち去り判定手段の判定結果に基づき、前記背景画像を更新する背景画像更新手段を有することを特徴とする置き去り又は持ち去り判定装置。
In the leaving or taking away judging device according to claim 1,
A leaving or carrying determination apparatus comprising background image updating means for updating the background image based on a determination result of the leaving or taking determination means.
請求項2に記載された置き去り又は持ち去り判定装置において、
前記置き去り又は持ち去り判定手段により置き去り又は持ち去りと判定されたピクセルが一定時間以上置き去り又は持ち去り状態が継続したとき、当該ピクセルを不動ピクセルと判定する不動ピクセル判定手段を有し、前記背景画像更新手段は、前記不動ピクセルで背景画像の該当ピクセルを更新することを特徴とする置き去り又は持ち去り判定装置。
In the leaving or taking away judging device according to claim 2,
The background image includes a non-moving pixel determining unit that determines a pixel that has been left or removed by the leaving or taking-out determining unit as being a non-moving pixel when the pixel is left or left for a certain time or longer. The update means updates the corresponding pixel of the background image with the non-moving pixel, and the leaving or removal determining device.
請求項2又は3のいずれかに記載された置き去り又は持ち去り判定装置において、
背景画像のエッジ画像が含まれているとき、前記エッジ画像のピクセルに置き去り又は持ち去りの履歴情報を付加する履歴情報付加手段を有し、
前記置き去り又は持ち去り判定手段は、前記不動ピクセルの履歴情報を参照してピクセルの置き去り又は持ち去りの判定を行うことを特徴とする置き去り又は持ち去り判定装置。
In the leaving or taking-away determination device according to claim 2 or 3,
When an edge image of a background image is included, history information adding means for adding history information of leaving or taking away to pixels of the edge image,
The leaving or removing determination unit is configured to determine whether a pixel has been removed or removed with reference to the history information of the stationary pixels.
請求項4に記載された置き去り又は持ち去り判定装置において、
前記置き去り又は持ち去り判定手段は、不動ピクセルが置き去り判定のとき、履歴情報が持ち去りであれば、その判定を持ち去りに変更し、不動ピクセルが置き去り判定のときで履歴情報が持ち去りでないとき、及び不動ピクセルが持ち去り判定で履歴情報が置き去りであれば、前記履歴情報に関係なく、前記置き去り又は持ち去り判定手段の判定結果を維持し、不動ピクセルが持ち去り判定のときで、履歴情報が置き去りのとき、その判定を置き去りに変更することを特徴とする置き去り又は持ち去り判定装置。
In the leaving or taking away judging device according to claim 4,
When the history information is taken away when the immovable pixel is left behind, the determination is changed to take away, and the history information is not taken away when the immovable pixel is left behind. If the history information is left behind in the determination that the non-moving pixel is taken away, the determination result of the leaving or removal determining means is maintained regardless of the history information, and the history information is determined when the non-moving pixel is determined to be removed. A device for determining whether to leave or take away when the device is left behind.
置き去り又は持ち去り判定装置における置き去り又は持ち去り判定方法であって、
撮影装置で撮影した監視区域の背景画像を記憶する記憶工程と、
前記背景画像と撮影装置で撮影した監視区域の現在画像との差分画像を作成する差分画像作成工程と、
作成された差分画像のピクセルの正又は負の符号に基づき前記差分画像が置き去り又は持ち去りによるものかを判定する置き去り又は持ち去り判定工程と、
を有することを特徴とする置き去り又は持ち去り判定方法。
A method for determining whether a device is left behind or taken away by a device for determining whether left behind or removed,
A storage step of storing a background image of the surveillance area captured by the imaging device;
A difference image creating step for creating a difference image between the background image and the current image of the monitoring area photographed by the photographing device;
A leaving or leaving determination step of determining whether the difference image is due to leaving or removal based on the positive or negative sign of the pixel of the created difference image;
A method for determining whether to leave or take away.
請求項6に記載された置き去り又は持ち去り判定方法において、
前記置き去り又は持ち去り判定手段の判定結果に基づき、前記背景画像を更新する背景画像更新工程を有することを特徴とする置き去り又は持ち去り判定方法。
In the leaving or carrying out judging method described in claim 6,
A method for determining whether to leave or take away, comprising: a background image updating step for updating the background image based on a determination result of the leaving or taking-out determining means.
請求項1ないし5のいずれかに記載された置き去り又は持ち去り判定装置のコンピュータを、前記置き去り又は持ち去り判定装置の各手段として機能させることを特徴とするプログラム。   6. A program for causing a computer of a leaving or removing determination apparatus according to claim 1 to function as each means of the leaving or removal determining apparatus.
JP2010084590A 2010-03-31 2010-03-31 Abandoned or removed device Active JP5464489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010084590A JP5464489B2 (en) 2010-03-31 2010-03-31 Abandoned or removed device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010084590A JP5464489B2 (en) 2010-03-31 2010-03-31 Abandoned or removed device

Publications (2)

Publication Number Publication Date
JP2011217201A true JP2011217201A (en) 2011-10-27
JP5464489B2 JP5464489B2 (en) 2014-04-09

Family

ID=44946467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010084590A Active JP5464489B2 (en) 2010-03-31 2010-03-31 Abandoned or removed device

Country Status (1)

Country Link
JP (1) JP5464489B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013211775A (en) * 2012-03-30 2013-10-10 Saxa Inc Leave or carry-away detection system
WO2018109879A1 (en) * 2016-12-14 2018-06-21 日本電気株式会社 Information processing device, control method, and program
JP2018133042A (en) * 2017-02-17 2018-08-23 セコム株式会社 Left object detector
JP2019215819A (en) * 2018-06-14 2019-12-19 キヤノン株式会社 Image processing device, image capturing device, and image processing method
CN111160187A (en) * 2019-12-20 2020-05-15 浙江大华技术股份有限公司 Method, device and system for detecting left-behind object
JP2020095554A (en) * 2018-12-14 2020-06-18 三菱電機インフォメーションシステムズ株式会社 Left-behind object detection device, left-behind object detection method, and left-behind object detection program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257693A (en) * 2007-04-05 2008-10-23 Mitsubishi Electric Research Laboratories Inc Method for detecting object left-behind in scene
JP2009238222A (en) * 2008-03-25 2009-10-15 Internatl Business Mach Corp <Ibm> Real time processing method of video frame for triggering alert, computer program, and computer system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257693A (en) * 2007-04-05 2008-10-23 Mitsubishi Electric Research Laboratories Inc Method for detecting object left-behind in scene
JP2009238222A (en) * 2008-03-25 2009-10-15 Internatl Business Mach Corp <Ibm> Real time processing method of video frame for triggering alert, computer program, and computer system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013211775A (en) * 2012-03-30 2013-10-10 Saxa Inc Leave or carry-away detection system
WO2018109879A1 (en) * 2016-12-14 2018-06-21 日本電気株式会社 Information processing device, control method, and program
JPWO2018109879A1 (en) * 2016-12-14 2019-11-14 日本電気株式会社 Information processing apparatus, control method, and program
US10878581B2 (en) 2016-12-14 2020-12-29 Nec Corporation Movement detection for an image information processing apparatus, control method, and program
JP2018133042A (en) * 2017-02-17 2018-08-23 セコム株式会社 Left object detector
JP2019215819A (en) * 2018-06-14 2019-12-19 キヤノン株式会社 Image processing device, image capturing device, and image processing method
JP7154045B2 (en) 2018-06-14 2022-10-17 キヤノン株式会社 Image processing device, imaging device, image processing method
JP2020095554A (en) * 2018-12-14 2020-06-18 三菱電機インフォメーションシステムズ株式会社 Left-behind object detection device, left-behind object detection method, and left-behind object detection program
CN111160187A (en) * 2019-12-20 2020-05-15 浙江大华技术股份有限公司 Method, device and system for detecting left-behind object
CN111160187B (en) * 2019-12-20 2023-05-02 浙江大华技术股份有限公司 Method, device and system for detecting left-behind object

Also Published As

Publication number Publication date
JP5464489B2 (en) 2014-04-09

Similar Documents

Publication Publication Date Title
JP5464489B2 (en) Abandoned or removed device
US20110228978A1 (en) Foreground object detection system and method
JP4811653B2 (en) Object detection device
US9165390B2 (en) Object detection frame display device and object detection frame display method
CN104700430A (en) Method for detecting movement of airborne displays
US8811750B2 (en) Apparatus and method for extracting edge in image
KR20120083086A (en) Image survailance system and method for detecting left-behind/taken-away of the system
US9953240B2 (en) Image processing system, image processing method, and recording medium for detecting a static object
CN113409587B (en) Abnormal vehicle detection method, device, equipment and storage medium
US10373015B2 (en) System and method of detecting moving objects
US9165192B2 (en) Apparatus and method for separating foreground from background
KR101939700B1 (en) Method and Apparatus for Detecting Camera Tampering Using Edge Images
US20160180201A1 (en) Image processing
JP2009140307A (en) Person detector
JPWO2015186347A1 (en) Detection system, detection method and program
JP2010015469A (en) Still area detection method, and apparatus, program and recording medium therefor
JP2015158796A (en) Object detection device
JP2002304677A (en) Method and device for detecting intruder
KR20100118368A (en) Fire detecting method using hidden markov models in video surveillance and monitoring system
JP5445336B2 (en) Abandoned or carried away determination device and determination method
JP5142416B2 (en) Object detection device
CN108334811B (en) Face image processing method and device
CN107071231A (en) Image change recognition methods and device
CN108711164B (en) Motion detection method based on L BP and Color characteristics
KR20140121206A (en) Apparatus and method for controling lamp using image processing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130918

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140109

R150 Certificate of patent or registration of utility model

Ref document number: 5464489

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150