Motion Detection And Analysis

Slides:



Advertisements
Similar presentations
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.
Advertisements

Reducing Drift in Parametric Motion Tracking
Foreground Background detection from video Foreground Background detection from video מאת : אבישג אנגרמן.
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.
Different Tracking Techniques  1.Gaussian Mixture Model:  1.Construct the model of the Background.  2.Given sequence of background images find the.
December 5, 2013Computer Vision Lecture 20: Hidden Markov Models/Depth 1 Stereo Vision Due to the limited resolution of images, increasing the baseline.
Computer Vision Optical Flow
Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.
Motion Detection And Analysis Michael Knowles Tuesday 13 th January 2004.
Efficient Moving Object Segmentation Algorithm Using Background Registration Technique Shao-Yi Chien, Shyh-Yih Ma, and Liang-Gee Chen, Fellow, IEEE Hsin-Hua.
Motion Analysis (contd.) Slides are from RPI Registration Class.
Probabilistic video stabilization using Kalman filtering and mosaicking.
E.G.M. PetrakisDynamic Vision1 Dynamic vision copes with –Moving or changing objects (size, structure, shape) –Changing illumination –Changing viewpoints.
Background Estimation with Gaussian Distribution for Image Segmentation, a fast approach Gianluca Bailo, Massimo Bariani, Paivi Ijas, Marco Raggio IEEE.
Ensemble Tracking Shai Avidan IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE February 2007.
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.
Student: Hsu-Yung Cheng Advisor: Jenq-Neng Hwang, Professor
Effective Gaussian mixture learning for video background subtraction Dar-Shyang Lee, Member, IEEE.
1 Motion Analysis Mike Knowles January 2006.
A REAL-TIME VIDEO OBJECT SEGMENTATION ALGORITHM BASED ON CHANGE DETECTION AND BACKGROUND UPDATING 楊靜杰 95/5/18.
Shadow Detection In Video Submitted by: Hisham Abu saleh.
Jacinto C. Nascimento, Member, IEEE, and Jorge S. Marques
EE392J Final Project, March 20, Multiple Camera Object Tracking Helmy Eltoukhy and Khaled Salama.
1 Activity and Motion Detection in Videos Longin Jan Latecki and Roland Miezianko, Temple University Dragoljub Pokrajac, Delaware State University Dover,
Feature and object tracking algorithms for video tracking Student: Oren Shevach Instructor: Arie nakhmani.
BraMBLe: The Bayesian Multiple-BLob Tracker By Michael Isard and John MacCormick Presented by Kristin Branson CSE 252C, Fall 2003.
1. Introduction Motion Segmentation The Affine Motion Model Contour Extraction & Shape Estimation Recursive Shape Estimation & Motion Estimation Occlusion.
Robust global motion estimation and novel updating strategy for sprite generation IET Image Processing, Mar H.K. Cheung and W.C. Siu The Hong Kong.
#MOTION ESTIMATION AND OCCLUSION DETECTION #BLURRED VIDEO WITH LAYERS
Motion Segmentation By Hadas Shahar (and John Y.A.Wang, and Edward H. Adelson, and Wikipedia and YouTube) 1.
CS 782 – Machine Learning Lecture 4 Linear Models for Classification  Probabilistic generative models  Probabilistic discriminative models.
Forward-Scan Sonar Tomographic Reconstruction PHD Filter Multiple Target Tracking Bayesian Multiple Target Tracking in Forward Scan Sonar.
December 9, 2014Computer Vision Lecture 23: Motion Analysis 1 Now we will talk about… Motion Analysis.
Bo QIN, Zongshun MA, Zhenghua FANG, Shengke WANG Computer-Aided Design and Computer Graphics, th IEEE International Conference on, p Presenter.
Introduction to Video Background Subtraction 1. Motivation In video action analysis, there are many popular applications like surveillance for security,
Motion Analysis using Optical flow CIS750 Presentation Student: Wan Wang Prof: Longin Jan Latecki Spring 2003 CIS Dept of Temple.
Expectation-Maximization (EM) Case Studies
Chapter 5 Multi-Cue 3D Model- Based Object Tracking Geoffrey Taylor Lindsay Kleeman Intelligent Robotics Research Centre (IRRC) Department of Electrical.
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
Segmentation of Vehicles in Traffic Video Tun-Yu Chiang Wilson Lau.
Lecture 9 Feature Extraction and Motion Estimation Slides by: Michael Black Clark F. Olson Jean Ponce.
Presented by: Idan Aharoni
Suspicious Behavior in Outdoor Video Analysis - Challenges & Complexities Air Force Institute of Technology/ROME Air Force Research Lab Unclassified IED.
Irfan Ullah Department of Information and Communication Engineering Myongji university, Yongin, South Korea Copyright © solarlits.com.
Representing Moving Images with Layers J. Y. Wang and E. H. Adelson MIT Media Lab.
CSCI 631 – Foundations of Computer Vision March 15, 2016 Ashwini Imran Image Stitching.
Learning and Removing Cast Shadows through a Multidistribution Approach Nicolas Martel-Brisson, Andre Zaccarin IEEE TRANSACTIONS ON PATTERN ANALYSIS AND.
Motion tracking TEAM D, Project 11: Laura Gui - Timisoara Calin Garboni - Timisoara Peter Horvath - Szeged Peter Kovacs - Debrecen.
Motion Estimation of Moving Foreground Objects Pierre Ponce ee392j Winter March 10, 2004.
Video object segmentation and its salient motion detection using adaptive background generation Kim, T.K.; Im, J.H.; Paik, J.K.;  Electronics Letters 
Digital Image Processing (DIP)
Machine Vision ENT 273 Lecture 4 Hema C.R.
Human Detection in Surveillance Applications
Contents Team introduction Project Introduction Applicability
Motion and Optical Flow
Dynamical Statistical Shape Priors for Level Set Based Tracking
A New Approach to Track Multiple Vehicles With the Combination of Robust Detection and Two Classifiers Weidong Min , Mengdan Fan, Xiaoguang Guo, and Qing.
Range Imaging Through Triangulation
Vehicle Segmentation and Tracking in the Presence of Occlusions
Representing Moving Images with Layers
Digital Image Processing
Representing Moving Images with Layers
Effective and Efficient Detection of Moving Targets From a UAV’s Camera
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Image and Video Processing
CSSE463: Image Recognition Day 30
CSSE463: Image Recognition Day 30
Presentation transcript:

Motion Detection And Analysis Michael Knowles Tuesday 13th January 2004

Introduction Brief Discussion on Motion Analysis and its applications Static Scene Object Tracking Motion Compensation for Moving-Camera Sequences

Applications of Motion Tracking Control Applications Object Avoidance Automatic Guidance Head Tracking for Video Conferencing Surveillance/Monitoring Applications Security Cameras Traffic Monitoring People Counting

Two Approaches Optical Flow Object-based Tracking Compute motion within region or the frame as a whole Object-based Tracking Detect objects within a scene Track object across a number of frames

My Work Started by tracking moving objects in a static scene Develop a statistical model of the background Mark all regions that do not conform to the model as moving object

My Work Now working on object detection and classification from a moving camera Current focus is motion compensated background filtering Determine motion of background and apply to the model.

Static Scene Object Detection and Tracking Model the background and subtract to obtain object mask Filter to remove noise Group adjacent pixels to obtain objects Track objects between frames to develop trajectories

Background Modelling

Background Model

After Background Filtering…

Background Filtering My algorithm based on: “Learning Patterns of Activity using Real-Time Tracking” C. Stauffer and W.E.L. Grimson. IEEE Trans. On Pattern Analysis and Machine Intelligence. August 2000 The history of each pixel is modelled by a sequence of Gaussian distributions

Multi-dimensional Gaussian Distributions Described mathematically as: More easily visualised as: (2-Dimensional)

Simplifying…. Calculating the full Gaussian for every pixel in frame is very, very slow Therefore I use a linear approximation

How do we use this to represent a pixel? Stauffer and Grimson suggest using a static number of Gaussians for each pixel This was found to be inefficient – so the number of Gaussians used to represent each pixel is variable

Weights Each Gaussian carries a weight value This weight is a measure of how well the Gaussian represents the history of the pixel If a pixel is found to match a Gaussian then the weight is increased and vice-versa If the weight drops below a threshold then that Gaussian is eliminated

Matching Each incoming pixel value must be checked against all the Gaussians at that location If a match is found then the value of that Gaussian is updated If there is no match then a new Gaussian is created with a low weight

Updating If a Gaussian matches a pixel, then the value of that Gaussian is updated using the current value The rate of learning is greater in the early stages when the model is being formed

Colour Spaces If RGB is used then the background filtering is sensitive to shadows The use of a colour space that separates intensity information from chromatic information overcomes this For this reason the YUV colour space is used

Colour Spaces Background and Frame: Channel Differences:

Isolate Objects Groups of object pixels must be grouped to form objects A connected components algorithm is used The result is a list of objects and their position and size

Track objects Objects are tracked from frame to frame using: Location Direction of motion Size Colour

The Story So Far… Basic principle of background filtering Stages necessary in maintaining a background model How it is applied to tracking

Moving Camera Sequences Basic Idea is the same as before Detect and track objects moving within a scene BUT – this time the camera is not stationary, so everything is moving

Motion Segmentation Use a motion estimation algorithm on the whole frame Iteratively apply the same algorithm to areas that do not conform to this motion to find all motions present Problem – this is very, very slow

Motion Compensated Background Filtering Basic Principle Develop and maintain background model as previously Determine global motion and use this to update the model between frames

Advantages Only one motion model has to be found This is therefore much faster Estimating motion for small regions can be unreliable Not as easy as it sounds though…..

Motion Models Trying to determine the exact optical flow at every point in the frame would be ridiculously slow Therefore we try to fit a parametric model to the motion

Affine Motion Model The affine model describes the vector at each point in the image Need to find values for the parameters that best fit the motion present

Minimisation of Error Function If we are to find the optimum parameters we need an error function to minimise: But this is not in a form that is easy to minimise…

Gradient-based Formulation Applying Taylor expansion to the error function: Much easier to work with

Gradient-descent Minimisation If we know how the error changes with respect to the parameters, we can home in on the minimum error Various methods built on this principle:

Applying Gradient Descent We need: Using the chain rule:

Robust Estimation What about points that do not belong to the motion we are estimating? These will pull the solution away from the true one

Robust Estimators Robust estimators decrease the effect of outliers on estimation

Error w.r.t. parameters The complete function is:

Aside – Influence Function It can be seen that the first derivative of the robust estimator is used in the minimisation:

Pyramid Approach Trying to estimate the parameters form scratch at full scale can be wasteful Therefore a ‘pyramid of resolutions’ or ‘Gaussian pyramid’ is used The principle is to estimate the parameters on a smaller scale and refine until full scale is reached

Pyramid of Resolutions Each level in the pyramid is half the scale of the one below – i.e. a quarter of the area

Out pops the solution…. When combined with a suitable gradient based minimisation scheme…

Problems with this approach Resampling the background model: Model cannot be too complex Resampling will bring in errors Motion model is only an estimate of what is really happening Can lead to false object detection – particularly close to boundaries

Background Model Design The background model needs to be robust to these problems We need some way to differentiate between genuine object detections and false ones from motion model and background model errors

My Approach Rather than updating model values with current, matched values replace them In this way resampling errors are not allowed to accumulate

Aside – ‘Real Time’ The ability to process a sequence in real-time is dependent on THREE key factors: The speed of the algorithm The frame rate required The number of pixels

Recap Introduction to motion analysis Principles of background modelling Example of a static scene tracker Discussion of motion estimation Shortcomings when applied to background filtering