Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
STATIONARY TARGET DETECTION BY EXPLOITING CHANGES IN BACKGROUND MODEL
Document Type and Number:
WIPO Patent Application WO/2009/032922
Kind Code:
A1
Abstract:
A sequence of video frames of an area of interest is obtained. A first background model of the area of interest is constructed based on a first parameter. A second background model of the area of interest is constructed based on a second parameter, the second parameter being different from the first parameter. A difference between the first and second background models is determined. A stationary target is determined based on the determined difference. An alert concerning the stationary target is generated.

Inventors:
HASSAN-SHAFIQUE KHURRAM (US)
VENETIANER PETER L (US)
YU LI (US)
LIU HAIYING (US)
Application Number:
PCT/US2008/075254
Publication Date:
March 12, 2009
Filing Date:
September 04, 2008
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
OBJECTVIDEO INC (US)
HASSAN-SHAFIQUE KHURRAM (US)
VENETIANER PETER L (US)
YU LI (US)
LIU HAIYING (US)
International Classes:
G06K9/00
Foreign References:
US6570608B12003-05-27
US6061088A2000-05-09
US20060067562A12006-03-30
Attorney, Agent or Firm:
SARTORI, Michael, A. (P.O. Box 34385Washington, DC, US)
Download PDF:
Claims:

CLAIMS:

1. A computer-implemented method for image processing, comprising: obtaining, in a computer, a sequence of video frames of an area of interest from a video camera; constructing, in the computer, a first background model of the area of interest based on a first parameter; constructing, in the computer, a second background model of the area of interest based on a second parameter, the second parameter being different from the first parameter; determining, in the computer, a difference between the first and second background models; determining, in the computer, a stationary target based on the determined difference; and generating, in the computer, an alert concerning the stationary target.

2. The method as set forth in claim 1, wherein constructing a first background model of the area of interest based on a first parameter includes: updating the first background model of the area of interest at a first learning rate; and wherein constructing a second background model of the area of interest based on a second parameter includes: updating the second background model of the area of interest at a second learning rate, the second learning rate being slower than the first learning rate.

3. The method as set forth in claim 1, wherein constructing a first background model of the area of interest based on a first parameter includes: updating the first background model of the area of interest in each frame; and wherein constructing a second background model of the area of interest based on a second parameter includes:

updating the second background model of the area of interest at a variable update rate based on the first background model.

4. The method as set forth in claim 3, further including:

(a) initializing the second background model by copying values of pixels of the first background model into values of corresponding pixels of the second background model;

(b) comparing a value of each pixel of the first background model of an incoming video frame with a value of a corresponding pixel of the second background model of a previous video frame;

(c) based on comparing the pixels values, determining matching and non matching pixels;

(d) copying the value of each matching pixel of the first background model into the value of the corresponding matching pixel of the second background model;

(e) incrementing an age counter for each non-matching pixel of the second background model;

(f) comparing the age counter to a predetermined age counter threshold; and

(g) based on comparing the age counter, one of copying the value of each pixel of the first background model into the value of the corresponding pixel of the second background model or repeating (e)-(f).

5. The method as set forth in claim 1, wherein determining a stationary target includes: generating blobs based on the determined difference; classifying the generated blobs into targets; filtering the blobs; and identifying the stationary target.

6. The method as set forth in claim 5, wherein classifying the generated blobs into targets includes:

superimposing each generated blob on the first background model; computing first gradients of the first background model within the superimposed blob; superimposing each generated blob on the second background model; computing second gradients of the second background model within the superimposed blob; computing a correlation of the first and second gradients within the superimposed blob; comparing the computed correlation to a first threshold; and based on comparing to the first threshold, discarding the blobs which correspond to a local change.

7. The method as set forth in claim 6, further including: computing strengths of the first gradients at a boundary of the blob superimposed on the first background model; computing strengths of the second gradients at a boundary of the blob superimposed on the second background model; determining a ratio of the first gradient strengths to the second gradient strengths; comparing the ratio to a second threshold; and based on comparing to the second threshold, one of classifying the blob as a target insertion or a target removal.

8. The method as set forth in claim 7, further including: initializing a list of targets in a first video frame, the list including a history of each associated target; comparing each generated blob in incoming video frames to the targets on the list; determining a matching or a non-matching blob; for the matching blob, increasing a counter in the associated target history; comparing the counter to a third threshold;

based on comparing to the third threshold, confirming the blob as the insertion target; comparing the counter to a fourth threshold; based on comparing to the fourth threshold, one of confirming the blob as the stationary target or discarding the blob as representing the local change.

9. A computer-readable medium comprising software, which software, when executed by a computer system, causes the computer system to perform operations for detecting stationary targets in a video sequence, the computer-readable medium comprising: instructions for receiving, in the computer system, a sequence of video frames of an area of interest from a video camera; instructions for constructing, in the computer system, a first background model of the area of interest based on a first parameter; instructions for constructing, in the computer system, a second background model of the area of interest based on a second parameter, the second parameter being different from the first parameter; instructions for determining, in the computer system, a difference between the first and second background models; instructions for determining, in the computer system, a stationary target based on the determined difference; and instructions for generating, in the computer system, an alert concerning the stationary target.

10. The medium as set forth in claim 9, further including: instructions for updating the first background model of the area of interest at a first learning rate; and instructions for updating the second background model of the area of interest at a second learning rate, the second learning rate being slower than the first learning rate.

11. The medium as set forth in claim 9, further including: instructions for updating the first background model of the area of interest in each frame; and instructions for updating the second background model of the area of interest at a variable update rate.

12. The medium as set forth in claim 11, further including:

(a) instructions for initializing the second background model by copying values of pixels of the first background model into values of corresponding pixels of the second background model;

(b) instructions for comparing a value of each pixel of the first background model of an incoming video frame with a value of a corresponding pixel of the second background model of a previous video frame;

(c) instructions for determining matching and non matching pixels based on the comparison;

(d) instructions for copying the value of each matching pixel of the first background model into the value of the corresponding matching pixel of the second background model;

(e) instructions for incrementing an age counter for each non-matching pixel of the second background model;

(f) instructions for comparing the age counter to a predetermined age counter threshold; and

(g) instructions for one of copying the value of each pixel of the first background model into the value of the corresponding pixel of the second background model or repeating (e)-(f) based on the comparison of (f).

13. The medium as set forth in claim 9, further including: instructions for generating blobs based on the determined difference; instructions for classifying the generated blobs into targets; instructions for filtering the blobs; and

instructions for identifying the stationary target.

14. The medium as set forth in claim 13, further including: instructions for superimposing each generated blob on the first background model; instructions for computing first gradients of the first background model within the superimposed blob; instructions for superimposing each generated blob on the second background model; instructions for computing second gradients of the second background model within the superimposed blob; instructions for computing a correlation of the first and the second gradients within the superimposed blob; instructions for comparing the computed correlation to a first threshold; and instructions for discarding the blobs which correspond to a local change based on comparing to the first threshold.

15. The medium as set forth in claim 14, further including: instructions for computing strengths of the first gradients at a boundary of the blob superimposed on the first background model; instructions for computing strengths of the second gradients at a boundary of the blob superimposed on the second background model; instructions for determining a ratio of the first gradient strengths to the second gradient strengths; instructions for comparing the ratio to a second threshold; and instructions for one of classifying the blob as a target insertion or a target removal based on comparing to the second threshold.

16. The medium as set forth in claim 15, further including:

instructions for initializing a list of targets in a first video frame, the list including a history of each associated target; instructions for comparing each generated blob in incoming video frames to the targets on the list; instructions for determining a matching or a non-matching blob; instructions for increasing a counter in the associated target history for the matching blob; instructions for comparing the counter with a third threshold; instructions for confirming the blob as the insertion target based on comparing to the third threshold; instructions for comparing the counter with a fourth threshold; instructions for one of confirming the blob as the stationary target or discarding the blob as the local change based on comparing to the fourth threshold.

17. A video processing system, comprising: a background model engine to receive first, second, ..., nth sequential video frames of an area of interest and construct first and second updatable background models, each background model being updated based on a corresponding first or second update parameters, which first and second parameters are pre-specified to differ from one another so that the constructed first and second background models are different from one another; a change detecting engine to compare pairs of corresponding pixels in the first and second background models and determine a difference between the first and second background models; a blob generating engine to generate blobs based on the determined difference; a blob classifying engine to determine a stationary target in the area of interest based on the generated blobs; an alert generating engine to generate an alert regarding the stationary target; and

one or more processors to execute the background model engine, the change detecting engine, the blob generating engine, the blob classifying engine, and the alert generating engine.

18. The system as set forth in claim 17, wherein the first parameter includes a first learning rate to update the first background model and the second parameter includes a second learning rate to update the second background model, the second learning rate being slower than the first learning rate.

19. The system as set forth in claim 17, wherein the first background model is updated in each frame and the second background model is updated based on the first background model with a variable update rate.

20. The system as set forth in claim 17, wherein the blob classifying engine includes: a gradient analysis engine to determine a gradient correlation of gradients within each blob superimposed on each corresponding first or second background model and a ratio of gradient strengths of each blob at a boundary of each corresponding first or second background model; and a blob classifier to (a) compare the gradient correlation to a first threshold and, based on the comparison to the first threshold, classify the blob as representing a local change and (2) compare the ratio to a second threshold and classify the blob as one of representing a target removal or a target insertion based on the comparison to the second threshold.

21. The system as set forth in claim 17, further including: a filter to filter the classified targets to verify blobs representing the stationary target and filter out blobs representing the local change.

22. An application-specific hardware to perform a method comprising: receiving, in the application specific hardware, a sequence of video frames of an area of interest from a video camera; constructing, in the application specific hardware, a first background model of the area of interest based on a first parameter; constructing, in the application specific hardware, a second background model of the area of interest based on a second parameter, the second parameter being different from the first parameter; determining, in the application specific hardware, a difference between the first and second background models; determining, in the application specific hardware, a stationary target based on the determined difference; and generating, in the application specific hardware, an alert concerning the stationary target.

Description:

STATIONARY TARGET DETECTION BY EXPLOITING CHANGES IN

BACKGROUND MODEL

RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. Provisional Application No. 60/935862, filed September 4, 2007, of common assignee, entitled "Stationary Target Detection By Exploiting Changes in Background Model," the contents of which are incorporated by reference in their entirety.

BACKGROUND

[0002] The following relates to video processing systems and methods. More particularly, the following relates to automatic detection of stationary targets in an area of interest and will be described with particular reference thereto. However, it is to be appreciated that the following is applicable to other applications such as, for example, detection of moving targets, changes in the environment, and the like. [0003] Typically, the video system includes an imaging sensor, for example, an electro-optical video camera that provides a sequence of images or frames within a field of view (FOV) of the camera. Intelligent video surveillance systems are often used to automatically detect events of interest such as, for example, potential threats, by detecting, tracking and classifying the targets in the scene. Based on user-defined rules or policies, the intelligent video surveillance systems generate user-alerts if any event in the violation to the user-defined policies is detected. Examples of such events include: monitoring a no parking zone and, for example, initiating an alarm if a car spends more than a certain amount of time in the no parking zone; space management; detecting unattended bags at airports, and other sensitive areas, such as military installations and power plants; detecting the removal of a high value asset, such as an artifact from a museum, an expensive piece of hardware, or a car from a parking lot.

[0004] For such applications, the targets that become stationary in the field of view of the imaging sensor need to be detected and classified. One method to detect the stationary targets is to detect moving targets in the area of interest, for example, by employing background subtraction or change detection, e.g., between video frames. For example, a background model is constructed and periodically updated based on a parameter, e.g., a learning rate. Each frame of a video sequence may be registered and compared pixel by pixel to the background model. Pixels that display a substantial difference are considered foreground, or moving, pixels. Pixels that remain unchanged over a pre-specified period of time are considered to be background pixels. In this manner, the moving targets are detected and tracked over time, from one video frame to another. The targets that do not exhibit motion over a user-specified period of time are then deemed stationary targets. [0005] However, this method has limited capabilities. For example, when the area of interest is crowded or has high traffic density, the detection and segmentation of moving targets might provide erroneous results due to frequent occlusions. Another difficulty might arise in tracking a stationary target if other targets move between the stationary target and video camera. It is problematic to determine if the newly detected motion is due to a new target motion or the original stationary target motion. [0006] There is a need for methods and apparatuses that overcome above mentioned difficulties and others.

SUMMARY

[0007] An exemplary embodiment of the invention may include a method for image processing, comprising: obtaining a sequence of video frames of an area of interest; constructing a first background model of the area of interest based on a first parameter; constructing a second background model of the area of interest based on a second parameter, the second parameter being different from the first parameter; determining a difference between the first and second background models; determining a stationary target based on the determined difference; and generating an alert concerning the stationary target.

[0008] An exemplary embodiment of the invention may include a computer-readable medium comprising software, which software, when executed by a computer system, may cause the computer system to perform operations for detecting stationary targets in a video sequence, the computer-readable medium comprising: instructions for receiving a sequence of video frames of an area of interest; instructions for constructing a first background model of the area of interest based on a first parameter; instructions for constructing a second background model of the area of interest based on a second parameter, the second parameter being different from the first parameter; instructions for determining a difference between the first and second background models; instructions for determining a stationary target based on the determined difference; and instructions for generating an alert concerning the stationary target.

[0009] An exemplary embodiment of the invention may include a video processing system, comprising: a background model engine to receive first, second, ..., nth sequential video frames of an area of interest and construct first and second updatable background models, each background model being updated based on a corresponding first or second update parameters, wherein first and second parameters are pre-specified to differ from one another so that the constructed first and second background models are different from one another; a change detecting engine to compare pairs of corresponding pixels in the first and second background models and determine a difference between the first and second background models; a blob generating engine to generate blobs based on the determined difference; a blob classifying engine to determine a stationary target in the area of interest based on the generated blobs; and an alert generating engine to generate an alert regarding the stationary target.

[0010] An exemplary embodiment of the invention may include an application- specific hardware to perform a method comprising: receiving a sequence of video frames of an area of interest; constructing a first background model of the area of interest based on a first parameter; constructing a second background model of the area of interest based on a second parameter, the second parameter being different from the first parameter; determining a difference between the first and second background models; determining a

stationary target based on the determined difference; and generating an alert concerning the stationary target.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The foregoing and other features and advantages of the invention will be apparent from the following, more particular description of the embodiments of the invention, as illustrated in the accompanying drawings.

[0012] FIGURE 1 is a diagrammatic illustration of an exemplary video system according to an exemplary embodiment of the invention;

[0013] FIGURE 2 is an illustration of a portion of an exemplary flow diagram for detecting stationary targets;

[0014] FIGURE 3 A is an illustration of a portion of an exemplary flow diagram for classifying blobs;

[0015] FIGURE 3B is a diagrammatic illustration of a portion of an exemplary video system according to an exemplary embodiment of the invention;

[0016] FIGURE 4 is an illustration of another portion of an exemplary flow diagram for classifying blobs; and

[0017] FIGURE 5 is an illustration of a portion of an exemplary flow diagram for detecting stationary targets.

DEFINITIONS

[0018] In describing the invention, the following definitions are applicable throughout (including above).

[0019] "Video" may refer to motion pictures represented in analog and/or digital form. Examples of video may include: television; a movie; an image sequence from a video camera or other observer; an image sequence from a live feed; a computer- generated image sequence; an image sequence from a computer graphics engine; an image sequences from a storage device, such as a computer-readable medium, a digital video disk (DVD), or a high disk drive (HDD); an image sequence from an IEEE 1394-

based interface; an image sequence from a video digitizer; or an image sequence from a network.

[0020] A "video sequence" may refer to some or all of a video. [0021] A "video camera" may refer to an apparatus for visual recording. Examples of a video camera may include one or more of the following: a video imager and lens apparatus; a video camera; a digital video camera; a color camera; a monochrome camera; a camera; a camcorder; a PC camera; a webcam; an infrared (IR) video camera; a low-light video camera; a thermal video camera; a closed-circuit television (CCTV) camera; a pan, tilt, zoom (PTZ) camera; and a video sensing device. A video camera may be positioned to perform surveillance of an area of interest.

[0022] "Video processing" may refer to any manipulation and/or analysis of video, including, for example, compression, editing, surveillance, and/or verification. [0023] A "frame" may refer to a particular image or other discrete unit within a video.

[0024] A "computer" may refer to one or more apparatus and/or one or more systems that are capable of accepting a structured input, processing the structured input according to prescribed rules, and producing results of the processing as output. Examples of a computer may include: a computer; a stationary and/or portable computer; a computer having a single processor, multiple processors, or multi-core processors, which may operate in parallel and/or not in parallel; a general purpose computer; a supercomputer; a mainframe; a super mini-computer; a mini-computer; a workstation; a micro-computer; a server; a client; a personal computer (PC); application-specific hardware to emulate a computer and/or software, such as, for example, a digital signal processor (DSP), a field- programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific instruction-set processor (ASIP), a chip, chips, or a chip set; and an apparatus that may accept data, may process data in accordance with one or more stored software programs, may generate results, and typically may include input, output, storage, arithmetic, logic, and control units.

[0025] "Software" may refer to prescribed rules to operate a computer. Examples of software may include: software; code segments; instructions; applets; pre-compiled code; compiled code; interpreted code; computer programs; and programmed logic. [0026] A "computer-readable medium" may refer to any storage device used for storing data accessible by a computer. Examples of a computer-readable medium may include: a HDD, a floppy disk; an optical disk, such as a CD-ROM or a DVD or a BIu- ray Disk (BD); a magnetic tape; a flash removable memory; a memory chip; and/or other types of media that can store machine-readable instructions thereon. [0027] A "computer system" may refer to a system having one or more computers, where each computer may include a computer-readable medium embodying software to operate the computer. Examples of a computer system may include: a distributed computer system for processing information via computer systems linked by a network; two or more computer systems connected together via a network for transmitting and/or receiving information between the computer systems; and one or more apparatuses and/or one or more systems that may accept data, may process data in accordance with one or more stored software programs, may generate results, and typically may include input, output, storage, arithmetic, logic, and control units.

[0028] A "network" may refer to a number of computers and associated devices that may be connected by communication facilities. A network may involve permanent connections such as cables or temporary connections such as those made through telephone or other communication links. A network may further include hard- wired connections (e.g., coaxial cable, twisted pair, optical fiber, waveguides, etc.) and/or wireless connections (e.g., radio frequency waveforms, free-space optical waveforms, acoustic waveforms, etc.). Examples of a network may include: an internetwork, such as the Internet; an intranet, and an extranet; a local area network (LAN); a wide area network (WAN); a personal area network (PAN); an metropolitan area network (MAN); a global area network (GAN); and a combination thereof. Exemplary networks may operate with any of a number of protocols.

DETAILED DESCRIPTION

[0029] In describing the exemplary embodiments of the present invention illustrated in the drawings, specific terminology is employed for the sake of clarity. However, the invention is not intended to be limited to the specific terminology so selected. It is to be understood that each specific element includes all technical equivalents that operate in a similar manner to accomplish a similar purpose.

[0030] With reference to FIGURE 1, a detection system 100 may automatically detect stationary targets in a video sequence 102 provided, for example, by an imaging sensor or a video camera 104 observing an area of interest or a scene. More particularly, a first video frame 110, a second video frame 112, ..., an nth video frame 114 may be provided sequentially to a background model engine 120, which may construct one or more background models, e.g., a representation of the static scene depicted in the video at any given time. More specifically, the background model engine 120 may construct first and second background models 122, 124 based on prespecified corresponding first and second update parameters, different from one another. E.g., each time a new frame is analyzed, the first and second background models 122, 124 may be incrementally updated by the background model engine 120 to construct new background models. [0031] More specifically, the background model engine 120 may initialize the first background model (BMi) 122 and the second background model (BM 2 ) 124 in the first video frame 110. The background model engine 120 may update the first background model 122 in the received second, ... nth video frame 112, ..., 114 based on the first update parameter such as a high learning rate Ll. Updating the first background model with a first learning rate Ll results in the changes in the scene to be quickly learned as a background. The first learning rate Ll may be pre-specified to be equal to from approximately 5sec to approximately 40sec. In one exemplary embodiment, the first learning rate Ll may be pre-specified to be equal to approximately 5sec. [0032] The background model engine 120 may update the second background model 124 in the received second, ..., nth video frame 112, ..., 114 based on the second update parameter, such as a low learning rate L2, to have the changes in the scene appear later in the second background model 124 than in the first background model 122. The second

learning rate L2 may be pre-specified to be greater than the first learning rate Ll and also greater than a stationary time tl which denotes a lapse of time after which the target is deemed to be stationary. For example, the second learning rate L2 may be pre-specified to be greater than approximately lmin and less than approximately 5min. E.g., the first background model 122 may include the target when the target becomes stationary, while the second background model 124 might not include the same target which has just become stationary. It is contemplated that the background model engine 120 may construct more than two background models, such as, for example, three, four, ..., ten background models.

[0033] A change detecting engine 130 may detect changes between a value of each pixel of the first background model 122 and a value of a corresponding pixel of the second background model 124 and generate a change mask 132.

[0034] Pixel-level changes in the background may occur due to first or target changes or second or local changes. The first changes may include targets or objects of interest. The detected targets may represent a target insertion or a target removal. The target insertion may occur when an object is placed or inserted in the scene. The target insertion may become a stationary target when the inserted target remains static for the stationary time tl. As described in detail below, an alert or alerts 133 may be generated for identified stationary targets. The target removal may occur when an object moves out of the scene and exposes an underlying section of the background model. [0035] The second changes may include changes caused by unstable backgrounds such as, for example, rippling water, blowing leaves, etc.; by illumination changes such as, for example, clouds moving across the sun, shadows, etc; and camera set up changes such as, for example, changes in automatic gain control (AGC), auto iris, auto focus, etc. As described in detail below, the blobs representing the local changes may be identified and discarded.

[0036] A blob generating engine 134 may generate blobs or connected components from the change mask 132. Each generated blob may indicate a change in the background. As described in a greater detail below, a blob classifying engine 140 may classify the blobs into targets and determine whether any of the blobs represent the target

change or the local change to the background. Further, the blob classifying engine 140 may classify the target change as a target insertion, e.g., target entering the scene, a target removal such as, target leaving the scene, or a stationary target, etc. [0037] A filter 150 may filter blobs. For example, the filter 150 may perform size filtering. If the expected sizes of the targets are known in advance, the blobs that are not within the expected range may be ignored. In addition, if the calibration information is known, the actual sizes of targets may be obtained from the image and be used to eliminate the blobs that do not fit the sizes of reasonable targets, for example, vehicles, people, pieces of luggage, etc. In one exemplary embodiment, as described in detail below, the filter 150 may perform salience filtering to filter out erroneous results which may be caused by noise in measurement or processing.

[0038] An alert interface engine 160 may generate the alert 133 for the identified stationary targets. A report generating engine 170 may generate a report to be displayed in a human readable format on a display 172 or otherwise provided to an output device such as a printer, a remote station, etc.

[0039] With continuing reference to FIGURE 1 and further reference to FIGURE 2, in a detection method 200, the video sequence 102 including the first, second, ..., nth video frames 110, 112, ..., 114 is obtained. In block 202, the first background model 122 may be constructed with the first update parameter, for example, the first learning rate Ll. In block 204, the second background model 124 may be constructed with the second update parameter, for example, the second learning rate L2. In block 210, a difference between the first and second background models 122, 124 may be computed for each frame to receive, for example, the change mask 132. In block 212, a blob 214 may be extracted or generated. In block 220, each blob 214 may be classified into classified blobs 222. The classified blobs 222 may include a stationary target 230, a moving target 232, a target insertion 234, a target removal 236 or a local change 238. In block 240, the classified blocks 222 may be filtered to filter out erroneous results and verify and/or confirm that the blob represents a stationary target. In block 250, the alerts 133 for the classified stationary target 230 or a confirmed stationary target 252 may be generated. In block 254, blobs which represent the local change 238 may be discarded.

[0040] With continuing reference to FIGURE 1 and further reference to FIGURES 3A and 3B, in a blob classifying method 220, each blob 214 may be classified. In block 302, a first gradient or gradients G / within the blob 214 may be computed by a gradient analysis engine 303 for the first background model 122 as:

BMi denotes the first background model.

[0041] In block 304, a second gradient or gradients G 2 within each blob 214 may be computed by the gradient analysis engine 303 for the second background model 124 as:

BM 2 denotes the second background model.

[0042] In block 310, a correlation C may be computed by the gradient analysis engine

303 for the first and second gradients Gi, G 2 for each blob 214 as:

[0043] In block 312, the computed correlation C may be compared to a predetermined first or correlation threshold Thj. If the blob is formed due to the first or local changes, the gradients within the blob 214 do not change substantially for the first and second background models 122, 124. Hence, the correlation C between the first and second gradients Gi, G 2 may be high. Conversely, if a new object is inserted and/or becomes stationary, or if a previously stationary object is removed, the correlation C between the first and second gradients G / , G 2 may be low. In block 314, if it is determined that the computed correlation C is greater than the correlation threshold Thj, the blob may be classified as the local change 238 by a blob classifier 316. [0044] If, in block 314, it is determined that the computed correlation C is less than or equal to the correlation threshold Thi, the blob may be determined to be the target

insertion 234 or the target removal 236 by further examining the gradients at the boundaries of the blob 214. In the case of insertions, the inserted object may be present in the rapidly updated first background model 122, but may not be visible in the slowly updated second background model 124. However, the situation is reversed in the case of removals. Thus, in the case of insertions, the gradients at the boundary of the blob 214 in the first background model 122 may be stronger than the gradients at the boundary of the blob 214 in the second background model 124.

[0045] More particularly, in block 320, a ratio R of gradient strengths of the first gradients G; at a boundary of the blob superimposed on the first background model 122 to gradient strengths of the second gradients G 2 at a boundary of the blob superimposed on the second background model 124 may be computed by the gradient analysis engine 303 as:

R - V V > where (4)

s(b) is the boundary of the blob.

[0046] In block 322, the computed ratio R may be compared to a predetermined second or ratio threshold Th 2 . If, in block 324, it is determined that the computed ratio R is less than the ratio threshold 77?2, the blob may be classified as the target removal 236 by the blob classifier 316. If, in block 324, it is determined that the computed ratio R is greater than or equal to the ratio threshold 77*2, the target may be classified as the target insertion 234 by the blob classifier 316. The target insertions 234 may be monitored, tracked and confirmed as the stationary target. For example, the blob classifier 316 may include a timer which measures time during which the target is consistently detected as insertion. When the timer becomes greater than a pre-specified stationary time tl, the target may be classified as the stationary target.

[0047] With continuing reference to FIGURE 1 and further reference to FIGURE 4, in a filtering method 240, the classified blobs 222 may be filtered to discard the erroneous results. Further, if the target insertion is determined, it may be determined if the inserted target is a stationary target. In block 402, a list 404 of targets is constructed. More

specifically, the list 404 of targets may be initialized in the first frame 110. In subsequent frames 112, ..., 114, the list 404 of targets may be updated to add the newly detected targets, remove the targets, or modify existing target information or history, etc. In block 410, each blob of each incoming frame may be compared to the targets in the list 404. In block 412, if no match is found, flow may proceed to a block 414. In block 414, a new target may be created in the list 404. If a match is found, flow proceeds to block 420. In block 420, the new measurement such as a target slice S may be added to the history of the matched target in the list 404. In block 422, a number of slices S may be compared to a predetermined third threshold or insertion limit JV. In block 424, if it is determined that the number of slices S is greater than the insertion limit N, the target may be considered to be an insertion and flow may proceed to block 430. E.g., the target that is detected as an insertion consistently within a certain time window may be considered to be an insertion. In block 430, the number of insertion slices S may be compared to a predetermined fourth or stationary threshold pN, where p may be selected to be greater than 0 and less than or equal to 1. In block 432, if it is determined that the number of slices 5 * is greater than or equal to the stationary threshold pN, the blob may be identified as the confirmed stationary target 252. In block 250, the alert or alerts 133 for the confirmed stationary target 252 may be generated as described above. In block 442, the identified and confirmed stationary target 252 may be deleted from the list 404 of targets. [0048] If, in block 432, it is determined that the number of slices S is less than the stationary threshold pN, the blob may be classified as a local change 444. The flow may proceed to the block 442 and the target corresponding to the local change may be removed from the list 404 of targets.

[0049] With continuing reference to FIGURE 1 and further reference to FIGURE 5, an alternative detection method 500 is illustrated. In the detection method 200 of an exemplary embodiment of FIGURE 2, the first background model 122 may be updated faster than the second background model 124. The first and second background models may be constructed from the incoming frames. In the alternative embodiment of FIGURE 5, the second background model may be constructed based on the first background model with a variable update rate.

[0050] More specifically, in block 502, the first background model 122 may be constructed for each incoming frame. In block 504, if it is determined that the first background model 122 is constructed in the first video frame 110, flow proceeds to a block 510. In block 510, values of pixels of the first background model 122 may be copied into values of corresponding pixels of the second background model 124 to initialize the second background model 124. If, in block 504, it is determined that the first background model 122 is not constructed in the first video frame 110, flow may proceed to a block 512.

[0051] In block 512, a value of each pixel of the first background model 122 constructed for the incoming frame may be compared with a value of a corresponding pixel of the second background model 124 constructed for the previous frame to determine matching and non-matching pixels. In block 520, matching pixels of the first and second background models, that are determined to match each other within a predetermined matching pixel threshold Th m , may be made identical by copying the values of the matching pixels xl of the first background model 122 into the corresponding matching pixels x2 of the second background model 124. A modified second background model 522 may be constructed.

[0052] In block 530, for each non-matching pixel y of the modified second background model 522, an age counter, which represents an amount of time that lapsed since the change in the non-matching pixel y occurred, may be incremented. [0053] In block 532, for each matching pixel x2 of the modified second background model 522 the age counter is reset to 0.

[0054] In block 534, the age counter may be compared to a predetermined age counter threshold TH A - In block 540, if it is determined that the age counter of the non- matching pixels greater than the age counter threshold TH A, flow proceeds to block 542. In block 542, the non-matching pixels may be collected into blobs 550. In block 220, each blob 550 may be classified into the classified blobs 222 as described above with reference to FIGURES 2, 3A and 3B. The blobs may be filtered, as described above with reference to FIGURE 4, to filter out erroneous results. In block 250, the alerts 133 for the stationary targets may be generated.

[0055] In block 560, for each pixel of the blob that has been classified or deleted from the list of targets as a result of filtering, a value of each pixel of the first background model 122 may be copied into a value of a corresponding pixel of the second background model 522.

[0056] In the manner described above, the second background model 124, 522 may be updated with a variable update rate.

[0057] In one embodiment, a priori information may be available to the classifier to classify each blob in one of the known classes of objects, such as, for example, a person, a vehicle, a piece of luggage, or the like. Image based classification techniques require extraction of features from images and training the classifier on the feature set based on previously identified set of images. Such image classifiers are known in the art. Examples of classifiers include linear discriminant analysis (LDA) classifiers, artificial neural networks (ANN) classifiers, support vector machines (SVM) classifiers, and Adaptive

Boosting (AdaBoost) classifiers. Examples of features include Haar-like features, complex cell (C2) features, shape context features, or the like.

[0058] Since the background model is devoid of the moving targets in the scene, the performance of the present invention may not be affected by the traffic density in the scene. Similarly, the presence of moving targets occluding the stationary target may not hurt the performance of the invention.

[0059] The described above may be applicable to video understanding in general. For example, video understanding components may be improved by providing additional information to the automated systems regarding the events in the scene.

[0060] The described above may further be applicable to security and video surveillance by improved detection of video events and threats that involve detection of stationary targets, such as, detection of left bags at a metro station or an airport, detection of left objects at train tracks, etc.

[0061] The described above may further be applicable to traffic monitoring such as detecting illegally parked vehicles, such as vehicles parked at curbside.

[0062] The described above may further be applicable to space management such as detecting parked vehicles may also be used to detect and count the vehicles parked in a parking space for better space management.

[0063] The described above may further be applicable to unusual behavior detection, e.g., detecting stationary targets may also enable detecting unusual behavior in the scene by detecting when something remains stationary for an unusually longer period of time. For example, user-alerts may be generated if a person falls and remains stationary. [0064] Embodiments of the invention may take forms that include hardware, software, firmware, and/or combinations thereof. Software may be received by a processor from a computer-readable medium, which may, for example, be a data storage medium (for example, but not limited to, a hard disk, a floppy disk, a flash drive, RAM, ROM, bubble memory, etc.). Software may be received on a signal carrying the software code on a communication medium, using an input/output (I/O) device, such as a wireless receiver, modem, etc. A data storage medium may be local or remote, and software code may be downloaded from a remote storage medium via a communication network. [0065] The engines of the invention may be executed with one or more processors. [0066] The examples and embodiments described herein are non-limiting examples. [0067] The invention is described in detail with respect to exemplary embodiments, and it will now be apparent from the foregoing to those skilled in the art that changes and modifications may be made without departing from the invention in its broader aspects, and the invention, therefore, as defined in the claims is intended to cover all such changes and modifications as fall within the true spirit of the invention.