Computer Vision Linear Tracking Jan-Michael Frahm COMP 256 Some slides from Welch & Bishop.

Slides:



Advertisements
Similar presentations
Mobile Robot Localization and Mapping using the Kalman Filter
Advertisements

Probabilistic Reasoning over Time
EKF, UKF TexPoint fonts used in EMF.
Introduction To Tracking
Reducing Drift in Parametric Motion Tracking
Observers and Kalman Filters
Uncertainty Representation. Gaussian Distribution variance Standard deviation.
Kalman Filter CMPUT 615 Nilanjan Ray. What is Kalman Filter A sequential state estimator for some special cases Invented in 1960’s Still very much used.
Introduction to Mobile Robotics Bayes Filter Implementations Gaussian filters.
1 Formation et Analyse d’Images Session 6 Daniela Hall 18 November 2004.
Sam Pfister, Stergios Roumeliotis, Joel Burdick
Probabilistic Robotics: Kalman Filters
Tracking Objects with Dynamics Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 04/21/15 some slides from Amin Sadeghi, Lana Lazebnik,
Adam Rachmielowski 615 Project: Real-time monocular vision-based SLAM.
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
Introduction to Kalman Filter and SLAM Ting-Wei Hsu 08/10/30.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
Adaptive Rao-Blackwellized Particle Filter and It’s Evaluation for Tracking in Surveillance Xinyu Xu and Baoxin Li, Senior Member, IEEE.
Stanford CS223B Computer Vision, Winter 2006 Lecture 12 Filters / Motion Tracking 2 Professor Sebastian Thrun CAs: Dan Maynes-Aminzade, Mitul Saha, Greg.
Tracking using the Kalman Filter. Point Tracking Estimate the location of a given point along a sequence of images. (x 0,y 0 ) (x n,y n )
Probabilistic Robotics
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
Stanford CS223B Computer Vision, Winter 2006 Lecture 11 Filters / Motion Tracking Professor Sebastian Thrun CAs: Dan Maynes-Aminzade, Mitul Saha, Greg.
Estimation and the Kalman Filter David Johnson. The Mean of a Discrete Distribution “I have more legs than average”
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
© 2003 by Davi GeigerComputer Vision November 2003 L1.1 Tracking We are given a contour   with coordinates   ={x 1, x 2, …, x N } at the initial frame.
Tracking with Linear Dynamic Models. Introduction Tracking is the problem of generating an inference about the motion of an object given a sequence of.
Overview and Mathematics Bjoern Griesbach
ROBOT MAPPING AND EKF SLAM
1 Formation et Analyse d’Images Session 7 Daniela Hall 7 November 2005.
Kalman filter and SLAM problem
Mobile Robot controlled by Kalman Filter
TP15 - Tracking Computer Vision, FCUP, 2013 Miguel Coimbra Slides by Prof. Kristen Grauman.
Human-Computer Interaction Human-Computer Interaction Tracking Hanyang University Jong-Il Park.
Babol university of technology Presentation: Alireza Asvadi
Computer vision: models, learning and inference Chapter 19 Temporal models.
Computer vision: models, learning and inference Chapter 19 Temporal models.
Kalman Filter (Thu) Joon Shik Kim Computational Models of Intelligence.
Jamal Saboune - CRV10 Tutorial Day 1 Bayesian state estimation and application to tracking Jamal Saboune VIVA Lab - SITE - University.
Computer Vision - A Modern Approach Set: Tracking Slides by D.A. Forsyth The three main issues in tracking.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Probabilistic Robotics Bayes Filter Implementations.
Human-Computer Interaction Kalman Filter Hanyang University Jong-Il Park.
Processing Sequential Sensor Data The “John Krumm perspective” Thomas Plötz November 29 th, 2011.
Real-Time Simultaneous Localization and Mapping with a Single Camera (Mono SLAM) Young Ki Baik Computer Vision Lab. Seoul National University.
An Introduction to Kalman Filtering by Arthur Pece
Lesson 2 – kalman Filters
HCI / CprE / ComS 575: Computational Perception Instructor: Alexander Stoytchev
Unscented Kalman Filter 1. 2 Linearization via Unscented Transform EKF UKF.
An Introduction To The Kalman Filter By, Santhosh Kumar.
Using Kalman Filter to Track Particles Saša Fratina advisor: Samo Korpar
OBJECT TRACKING USING PARTICLE FILTERS. Table of Contents Tracking Tracking Tracking as a probabilistic inference problem Tracking as a probabilistic.
Belief Networks in Computer Vision Applications Alex Yakushev CMPS 290C final project Winter 2006.
Tracking with dynamics
Extended Kalman Filter
Cameron Rowe.  Introduction  Purpose  Implementation  Simple Example Problem  Extended Kalman Filters  Conclusion  Real World Examples.
The Unscented Kalman Filter for Nonlinear Estimation Young Ki Baik.
VANET – Stochastic Path Prediction Motivations Route Discovery Safety Warning Accident Notifications Strong Deceleration of Tra ffi c Flow Road Hazards.
Kalman Filter and Data Streaming Presented By :- Ankur Jain Department of Computer Science 7/21/03.
Zhaoxia Fu, Yan Han Measurement Volume 45, Issue 4, May 2012, Pages 650–655 Reporter: Jing-Siang, Chen.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Tracking We are given a contour G1 with coordinates G1={x1 , x2 , … , xN} at the initial frame t=1, were the image is It=1 . We are interested in tracking.
Tracking Objects with Dynamics
Probabilistic Robotics
Lecture 10: Observers and Kalman Filters
Kalman Filtering COS 323.
Kalman Filter: Bayes Interpretation
The Discrete Kalman Filter
Tracking Many slides adapted from Kristen Grauman, Deva Ramanan.
Nome Sobrenome. Time time time time time time..
Presentation transcript:

Computer Vision Linear Tracking Jan-Michael Frahm COMP 256 Some slides from Welch & Bishop

Computer Vision 2 Tracking Tracking is the problem of generating an inference about the motion of an object given a sequence of images. The key technical difficulty is maintaining an accurate representation of the posterior on object position given measurements, and doing so efficiently.

Computer Vision 3 Examples of tracking

Computer Vision 4 Model for tracking Object has internal state –Capital indicates random variable –Small represents particular value Obtained measurements in frame i are –Value of the measurement

Computer Vision 5 General Steps of Tracking 1.Prediction: What is the next state of the object given past measurements 2.Data association: Which measures are relevant for the state? 3.Correction: Compute representation of the state from prediction and measurements.

Computer Vision 6 Tracking predict correct

Computer Vision 7 Only immediate past matters Measurements depend only on current state Important simplifications Fortunately it doesn’t limit to much! Independence Assumptions

Computer Vision 8 Linear Dynamic Models State is linear transformed plus Gaussian noise Relevant measures are linearly obtained from state plus Gaussian noise Sufficient to maintain mean and standard deviation

Computer Vision 9 A really simple example We are on a boat at night and lost our position We know: star position

Computer Vision 10 Constant Velocity p is position of boat, v is velocity of boat state is We only measure position so

Computer Vision 11 Marc makes a measurement , Conditional Density Function

Computer Vision 12 Jan makes a measurement Conditional Density Function ,

Computer Vision 13 Combine measurements & variances Conditional Density Function Online weighted average!

Computer Vision 14 Rudolf Emil Kalman Born 1930 in Hungary BS and MS from MIT PhD 1957 from Columbia Filter developed in Now retired

Computer Vision 15 Kalman filter Just some applied math. A linear dynamic system: f(a+b) = f(a) + f(b) Noisy data in  hopefully less noisy out. But delay is the price for filtering...

Computer Vision 16 Predict  Correct KF operates by 1.Predicting the new state and its uncertainty 2.Correcting with the new measurement predict correct

Computer Vision 17 What is it used for? Tracking missiles Tracking heads/hands/drumsticks Extracting lip motion from video Fitting Bezier patches to point data Lots of computer vision applications Economics Navigation

Computer Vision 18 A really simple example We are on a boat at night and lost our position We know: move with constant velocity star position

Computer Vision 19 But suppose we’re moving Not all the difference is error. Some may be motion KF can include a motion model Estimate velocity and position

Computer Vision 20 Process Model Describes how the state changes over time The state for the first example was scalar The process model was “nothing changes” A better model might be constant velocity motion

Computer Vision 21 Measurement Model “What you see from where you are” not “Where you are from what you see”

Computer Vision 22 Constant Velocity p is position of boat, v is velocity of boat state is We only measure position so

Computer Vision 23 State and Error Covariance First two moments of Gaussian process Error Covariance Process State (Mean)

Computer Vision 24 The Process Model Uncertainty over interval State transition Process dynamics Difficult to determine

Computer Vision 25 Measurement Model Measurement uncertainty Measurement matrix Measurement matrix Measurement relationship to state

Computer Vision 26 Predict (Time Update) a priori state, error covariance, measurement

Computer Vision 27 Measurement Update (Correct) Kalman gain a posteriori state and error covariance Minimizes posteriori error covariance

Computer Vision 28 The Kalman Gain Weights between prediction and measurements to posteriori error covariance For no measurement uncertainty State is deduced only from measurement

Computer Vision 29 The Kalman Gain Simple univariate (scalar) example a posteriori state and error covariance

Computer Vision 30 Summary PREDICT CORRECT

Computer Vision 31 Estimating a Constant The state transition matrix The measurement matrix Prediction

Computer Vision 32 Measurement Update

Computer Vision 33 Setup/Initialization

Computer Vision 34 State and Measurements = 0.1

Computer Vision 35 Error Covariance

Computer Vision 36 State and Measurements = 1

Computer Vision 37 State and Measurements = 0.01

Computer Vision 38 Example camera pose estimation

Computer Vision 39 Kalman Filter Web Site Electronic and printed references –Book lists and recommendations –Research papers –Links to other sites –Some software News

Computer Vision 40 Java-Based KF Learning Tool On-line 1D simulation Linear and non-linear Variable dynamics

Computer Vision 41 KF Course Web Page ( ) Java-Based KF Learning Tool KF web page

Computer Vision 42 Closing Remarks Try it! –Not too hard to understand or program Start simple –Experiment in 1D –Make your own filter in Matlab, etc. Note: the Kalman filter “wants to work” –Debugging can be difficult –Errors can go un-noticed

Computer Vision 43 Relevant References Azarbayejani, Ali, and Alex Pentland (1995). “Recursive Estimation of Motion, Structure, and Focal Length,” IEEE Trans. Pattern Analysis and Machine Intelligence 17(6): Dellaert, Frank, Sebastian Thrun, and Charles Thorpe (1998). “Jacobian Images of Super- Resolved Texture Maps for Model-Based Motion Estimation and Tracking,” IEEE Workshop on Applications of Computer Vision (WACV'98), October, Princeton, NJ, IEEE Computer Society.

Computer Vision 44 Example: Constant Velocity