Foreground Background detection from video Foreground Background detection from video מאת : אבישג אנגרמן.

Slides:



Advertisements
Similar presentations
Applications of one-class classification
Advertisements

Change Detection C. Stauffer and W.E.L. Grimson, “Learning patterns of activity using real time tracking,” IEEE Trans. On PAMI, 22(8): , Aug 2000.
1 Video Processing Lecture on the image part (8+9) Automatic Perception Volker Krüger Aalborg Media Lab Aalborg University Copenhagen
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Robust Foreground Detection in Video Using Pixel Layers Kedar A. Patwardhan, Guillermoo Sapire, and Vassilios Morellas IEEE TRANSACTION ON PATTERN ANAYLSIS.
Foreground Modeling The Shape of Things that Came Nathan Jacobs Advisor: Robert Pless Computer Science Washington University in St. Louis.
Adviser : Ming-Yuan Shieh Student ID : M Student : Chung-Chieh Lien VIDEO OBJECT SEGMENTATION AND ITS SALIENT MOTION DETECTION USING ADAPTIVE BACKGROUND.
Human-Computer Interaction Human-Computer Interaction Segmentation Hanyang University Jong-Il Park.
Different Tracking Techniques  1.Gaussian Mixture Model:  1.Construct the model of the Background.  2.Given sequence of background images find the.
AlgirdasBeinaravičius Gediminas Mazrimas Salman Mosslem.
Modeling Pixel Process with Scale Invariant Local Patterns for Background Subtraction in Complex Scenes (CVPR’10) Shengcai Liao, Guoying Zhao, Vili Kellokumpu,
Thresholding Otsu’s Thresholding Method Threshold Detection Methods Optimal Thresholding Multi-Spectral Thresholding 6.2. Edge-based.
Motion Detection And Analysis Michael Knowles Tuesday 13 th January 2004.
A Bayesian Formulation For 3d Articulated Upper Body Segmentation And Tracking From Dense Disparity Maps Navin Goel Dr Ara V Nefian Dr George Bebis.
Background Estimation with Gaussian Distribution for Image Segmentation, a fast approach Gianluca Bailo, Massimo Bariani, Paivi Ijas, Marco Raggio IEEE.
Robust Object Segmentation Using Adaptive Thresholding Xiaxi Huang and Nikolaos V. Boulgouris International Conference on Image Processing 2007.
Face Detection: a Survey Speaker: Mine-Quan Jing National Chiao Tung University.
Segmentation Kyongil Yoon. Segmentation Obtain a compact representation of what is helpful (in the image) No comprehensive theory of segmentation Human.
Prénom Nom Document Analysis: Data Analysis and Clustering Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
CS 376b Introduction to Computer Vision 04 / 04 / 2008 Instructor: Michael Eckmann.
Object Detection and Tracking Mike Knowles 11 th January 2005
1 Integration of Background Modeling and Object Tracking Yu-Ting Chen, Chu-Song Chen, Yi-Ping Hung IEEE ICME, 2006.
CSE 291 Final Project: Adaptive Multi-Spectral Differencing Andrew Cosand UCSD CVRR.
Effective Gaussian mixture learning for video background subtraction Dar-Shyang Lee, Member, IEEE.
Background Subtraction for Urban Traffic Monitoring using Webcams Master Graduation Project Final Presentation Supervisor: Rein van den Boomgaard Mark.
MULTIPLE MOVING OBJECTS TRACKING FOR VIDEO SURVEILLANCE SYSTEMS.
Multi-camera Video Surveillance: Detection, Occlusion Handling, Tracking and Event Recognition Oytun Akman.
University of MarylandComputer Vision Lab 1 A Perturbation Method for Evaluating Background Subtraction Algorithms Thanarat Horprasert, Kyungnam Kim, David.
[cvPONG] A 3-D Pong Game Controlled Using Computer Vision Techniques Quan Yu and Chris Wagner.
Shadow Detection In Video Submitted by: Hisham Abu saleh.
1 Real Time, Online Detection of Abandoned Objects in Public Areas Proceedings of the 2006 IEEE International Conference on Robotics and Automation Authors.
Jacinto C. Nascimento, Member, IEEE, and Jorge S. Marques
Statistical Color Models (SCM) Kyungnam Kim. Contents Introduction Trivariate Gaussian model Chromaticity models –Fixed planar chromaticity models –Zhu.
1 Activity and Motion Detection in Videos Longin Jan Latecki and Roland Miezianko, Temple University Dragoljub Pokrajac, Delaware State University Dover,
Tal Mor  Create an automatic system that given an image of a room and a color, will color the room walls  Maintaining the original texture.
Spectral contrast enhancement
Distinctive Image Features from Scale-Invariant Keypoints By David G. Lowe, University of British Columbia Presented by: Tim Havinga, Joël van Neerbos.
Machine Vision for Robots
Prakash Chockalingam Clemson University Non-Rigid Multi-Modal Object Tracking Using Gaussian Mixture Models Committee Members Dr Stan Birchfield (chair)
BraMBLe: The Bayesian Multiple-BLob Tracker By Michael Isard and John MacCormick Presented by Kristin Branson CSE 252C, Fall 2003.
Background Subtraction for Urban Traffic Monitoring using Webcams Master Graduation Project Progress Presentation Supervisor: Rein van den Boomgaard Mark.
Algirdas Beinaravičius Gediminas Mazrimas Salman Mosslem.
CS 782 – Machine Learning Lecture 4 Linear Models for Classification  Probabilistic generative models  Probabilistic discriminative models.
Expectation-Maximization (EM) Case Studies
CVPR2013 Poster Detecting and Naming Actors in Movies using Generative Appearance Models.
Jiu XU, Axel BEAUGENDRE and Satoshi GOTO Computer Sciences and Convergence Information Technology (ICCIT), th International Conference on 1 Real-time.
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
Using Adaptive Tracking To Classify And Monitor Activities In A Site W.E.L. Grimson, C. Stauffer, R. Romano, L. Lee.
Visual Tracking by Cluster Analysis Arthur Pece Department of Computer Science University of Copenhagen
1 Information Content Tristan L’Ecuyer. 2 Degrees of Freedom Using the expression for the state vector that minimizes the cost function it is relatively.
Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.
Color Image Segmentation Mentor : Dr. Rajeev Srivastava Students: Achit Kumar Ojha Aseem Kumar Akshay Tyagi.
May 2003 SUT Color image segmentation – an innovative approach Amin Fazel May 2003 Sharif University of Technology Course Presentation base on a paper.
Learning and Removing Cast Shadows through a Multidistribution Approach Nicolas Martel-Brisson, Andre Zaccarin IEEE TRANSACTIONS ON PATTERN ANALYSIS AND.
Portable Camera-Based Assistive Text and Product Label Reading From Hand-Held Objects for Blind Persons.
Shadow Detection in Remotely Sensed Images Based on Self-Adaptive Feature Selection Jiahang Liu, Tao Fang, and Deren Li IEEE TRANSACTIONS ON GEOSCIENCE.
Zhaoxia Fu, Yan Han Measurement Volume 45, Issue 4, May 2012, Pages 650–655 Reporter: Jing-Siang, Chen.
11/25/03 3D Model Acquisition by Tracking 2D Wireframes Presenter: Jing Han Shiau M. Brown, T. Drummond and R. Cipolla Department of Engineering University.
Motion Estimation of Moving Foreground Objects Pierre Ponce ee392j Winter March 10, 2004.
Ehsan Nateghinia Hadi Moradi (University of Tehran, Tehran, Iran) Video-Based Multiple Vehicle Tracking at Intersections.
Video object segmentation and its salient motion detection using adaptive background generation Kim, T.K.; Im, J.H.; Paik, J.K.;  Electronics Letters 
A Forest of Sensors: Using adaptive tracking to classify and monitor activities in a site Eric Grimson AI Lab, Massachusetts Institute of Technology
IMAGE SEGMENTATION USING THRESHOLDING
Motion Detection And Analysis
A New Approach to Track Multiple Vehicles With the Combination of Robust Detection and Two Classifiers Weidong Min , Mengdan Fan, Xiaoguang Guo, and Qing.
Eric Grimson, Chris Stauffer,
PRAKASH CHOCKALINGAM, NALIN PRADEEP, AND STAN BIRCHFIELD
Image Segmentation.
EM Algorithm and its Applications
Presentation transcript:

Foreground Background detection from video Foreground Background detection from video מאת : אבישג אנגרמן

The goal: dection of moving object

Why we need this? video surveillance. traffic monitoring. Human detection. video editing.

Fusing Complementary Operators to Enhance Foreground/Background Segmentation combine two probabilistic approaches: 1. Mixture of Gaussians Algorithm. 2. Statistical Background Disturbance Technique

Mixture of Gaussians Algorithm Pixel processes – At any time, t, what is known about a particular pixel, {x0; y0}, is its history

Scatter plots of the red and green values of a single pixel from the image over time.

The Algoritem Model the values of a particular pixel as a mixture of Gaussians. We determine which Gaussians may correspond to background colors-Based on the persistence and the variance of each of the Gaussians. Pixel values that do not fit the background distributions are considered foreground until there is a Gaussian that includes them. Update the Gaussians. Pixel values that do not match one of the pixel's “ background ” Gaussians are grouped using connected components.

Model the values of a particular pixel as a mixture of Gaussians. At time t we have k distributions of Gaussian for each pixel- determined by the available memory and computational power (Currently, 3-5 are used). For each Gaussian we have: -is an estimate of the weight of the ith Gaussian in the mixture at time t -(the portion of the data accounted for by this Gaussian). - is the mean value of the ith Gaussian in the mixture, at time t.

- covariance matrix of the ith Gaussian in the mixture at time t. This assumes that the red, green, and blue pixel valuesm are independent and have the same variances.

Gaussian probability density function. The probability of observing the current pixel value is:

Update the mixture model Stage 1 Every new pixel value, Xt, is checked against the existing K Gaussian distributions until a match is found. A match is defined as a pixel value within 2.5 standard deviations of a distribution.

Stage 2-No match If none of the K distributions match the current pixel value, the least probable distribution is go out. A new distribution with the current value as its mean value, an initially high variance, and low prior weight, is enter.

Stage 3 The prior weights of the K distributions at time t are adjusted as follows: 1 for the model which matched and 0 for the remaining models. The learning rate

Stage 4 The and parameters for unmatched distributions remain the same. The parameters of the distribution which matches the new observation are updated as follows: The last mean The value of the new pixel

The last variance The distance of the new pixel from the updated mean.

Background Model Estimation determine which of the Gaussians of the mixture are most likely produced by background processes. We are interested in the Gaussian distributions which have the most supporting evidence = and the least variance.Why?

For “ background ” distributions when a static, persistent object is visible hige weight and relatively low variance. New object occludes the background object creation of a distribution or the increase in the variance of an existing distribution the variance of the moving object is expected to remain larger than a background pixel until the moving object stops low weight and relatively hige variance.

Background Model Estimation the Gaussians are ordered by the value of Then, the first B distributions are chosen as the background model, where T is a measure of the minimum portion of the data that should be accounted for by the background.

Statistical Background Disturbance Technique The idea- separates the brightness from the chromaticity component.

Ei represents an expected color of a given ith pixel, in the reference or background image. Ii represents the color value of the pixel in a current image. The line OEi called expected chromaticity line.

-brightness distortion- obtained by minimizing represents the pixel's strength of brightness with respect to the expected value. 1 if the brightness of the pixel in the current image is the same as in the reference image Less than 1 if it is darker greater than 1 if it brighter

CD-Color Distortion- The distance between the observed color and the expected chromaticity line.

Background Subtraction Background modeling - constructs a reference image representing the background. Threshold selection - determines appropriate threshold values used in the subtraction operation to obtain a desired detection rate. pixel classication - classies the type of a given pixel, i.e., the pixel is the part of background (including ordinary background and shaded background), or it is a moving object.

Background Modeling A reference background image computed over a number of static background frames. Each pixel is modeled by a 4-tuple the expected color value. Are the arithmetic means of the ith pixel's red, green, blue values computed over N background frames.

standard deviation of the ith pixel's red, green, blue values computed over N frame of the background frame. Cameras typically have different sensitivities to different colors, in order to make the balance weights on the three color bands we normalized the pixel color by its standard deviation.

Pixel Classication or Subtraction Operation Original background (B): Brightness and chromaticity similar to those of the same pixel in the background image. Shaded background (S): Similar chromaticity but lower brightness. Highlighted background (H): Similar chromaticity but higher brightness. Moving foreground object (F): Chromaticity different from the expected values in the background image.

the variation of the chromaticity distortion of the ith pixel the variation of the brightness distortion of ith pixel.

Different pixels yield different distributions of and CDi In order to use a single threshold for all of the pixels, we need to rescale the and CDi Pixel Classication

0 BS H

0 B S F H If pixel from a moving object contains very low RGB values, This dark pixel will always be misclassied as a shadow.

Automatic Threshold Selection First, a histogram of the and are constructed. The histograms are built during background learning period. The total sample would be NXY.

The thresholds are now automatically selected according to the desired detection rate r. A threshold for chromaticity distortion,, is the normalized chromaticity distortion value at the detection rate of r. In brightness distortion is the value at that detection rate, and is the value at the (1-r) detection rate.

Clustering Detection Elimination

The problem- The problem- those pixels have very small variation in chromaticity distortion i.e., very small bi. Hence, limit the value of bi to default minimum bi. an optimization process is performed. too big, and likely to exceed the threshold

The process: 1. assigning a default minimum bi value to all bi that are smaller than the default. 2. performing the detection on all frames. 3. compare the error rate of pixels that have bi bigger than the default value against the error rates of those pixels that have the default bi value. 4. A search is performed to find the default minimum bi that yields a balanced error rates.

Results

Demo

Speed-Up Technique Used in Our Implementation Reduce number of operations at run-time:

Global S vs local si: Screening Test: Parallel Processing : By dividing the images into segments and performing the operations independently on each segment.

Problems2 Problems2 New objects deposited into the scene and become part of the background scene- can be coped with by adaptively update the background model. Highly specular surfaces (such as mirror, steel, or water surface) when the color of a point on such surfaces can change non-deterministically

Fusing Complementary Techniques Extending the Mixture of Gaussians to Remove Shadows and Highlights: Our first improvement is to extend the mixture of Gaussians approach to remove highlights and shadows. The Enhanced Foreground/Background Selector The extended mixture of Gaussians algorithm is joined with the SBD technique by ANDing the results of both operators.

Dynamic Gaussian Background Distributions Large size for the background distributions More background pixels but less accuracy of identifying the moving object pixels. Small background distribution sizes Maintain the accuracy of the extracted moving object but will not have the ability to contain all the background pixels

The algorithm first specifies two distribution sizes : small and large. Used with the small distribution size. The pixels identified as moving objects are tested using the statistical background disturbance technique. If the algorithm doesn ’ t agrees,the background distributions will be enlarged

REFERENCES Al-Mazeed, A. H., Nixon, M. S. and Gunn, S. R. (2003) Fusing Complementary Operators to Enhance Foreground/Background Segmentation. In: British Machine Vision Conference 2003, 2003, Norwich. Al-Mazeed, A. H., Nixon, M. S. and Gunn, S. R. (2003) Fusing Complementary Operators to Enhance Foreground/Background Segmentation. In: British Machine Vision Conference 2003, 2003, Norwich. Learning Patterns of Activity Using Real-Time Tracking C. Stauffer and W. Grimson, IEEE TPAMI, 22(8):747 – 757, Learning Patterns of Activity Using Real-Time Tracking C. Stauffer and W. Grimson, IEEE TPAMI, 22(8):747 – 757, A statistical approach for real-time robustbackground subtraction and shadow detection. T. Horprasert, D. Harwood, and L. Davis. In Proceedings IEEE ICCV ’ 99, pages 1 – 19, A statistical approach for real-time robustbackground subtraction and shadow detection. T. Horprasert, D. Harwood, and L. Davis. In Proceedings IEEE ICCV ’ 99, pages 1 – 19, 1999.

The end …