Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.

Slides:



Advertisements
Similar presentations
Bayesian Belief Propagation
Advertisements

Andrew Cosand ECE CVRR CSE
Investigation Into Optical Flow Problem in the Presence of Spatially-varying Motion Blur Mohammad Hossein Daraei June 2014 University.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Computer Vision Optical Flow
Formation et Analyse d’Images Session 8
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,
Motion Detection And Analysis Michael Knowles Tuesday 13 th January 2004.
Optical Flow Methods 2007/8/9.
E.G.M. PetrakisDynamic Vision1 Dynamic vision copes with –Moving or changing objects (size, structure, shape) –Changing illumination –Changing viewpoints.
Announcements Project1 artifact reminder counts towards your grade Demos this Thursday, 12-2:30 sign up! Extra office hours this week David (T 12-1, W/F.
Feature matching and tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on.
CSc83029 – 3-D Computer Vision/ Ioannis Stamos 3-D Computational Vision CSc Optical Flow & Motion The Factorization Method.
Announcements Project 1 test the turn-in procedure this week (make sure your folder’s there) grading session next Thursday 2:30-5pm –10 minute slot to.
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 )
CSSE463: Image Recognition Day 30 Due Friday – Project plan Due Friday – Project plan Evidence that you’ve tried something and what specifically you hope.
Single-view geometry Odilon Redon, Cyclops, 1914.
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Numerical Recipes (Newton-Raphson), 9.4 (first.
COMP 290 Computer Vision - Spring Motion II - Estimation of Motion field / 3-D construction from motion Yongjik Kim.
3D Rigid/Nonrigid RegistrationRegistration 1)Known features, correspondences, transformation model – feature basedfeature based 2)Specific motion type,
KLT tracker & triangulation Class 6 Read Shi and Tomasi’s paper on good features to track
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Optical flow (motion vector) computation Course: Computer Graphics and Image Processing Semester:Fall 2002 Presenter:Nilesh Ghubade
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
1 Formation et Analyse d’Images Session 7 Daniela Hall 7 November 2005.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Feature and object tracking algorithms for video tracking Student: Oren Shevach Instructor: Arie nakhmani.
Multimodal Interaction Dr. Mike Spann
TP15 - Tracking Computer Vision, FCUP, 2013 Miguel Coimbra Slides by Prof. Kristen Grauman.
Camera Geometry and Calibration Thanks to Martial Hebert.
CSSE463: Image Recognition Day 30 This week This week Today: motion vectors and tracking Today: motion vectors and tracking Friday: Project workday. First.
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Human-Computer Interaction Human-Computer Interaction Tracking Hanyang University Jong-Il Park.
Optical Flow Donald Tanguay June 12, Outline Description of optical flow General techniques Specific methods –Horn and Schunck (regularization)
3D SLAM for Omni-directional Camera
3D-2D registration Kazunori Umeda Chuo Univ., Japan CRV2010 Tutorial May 30, 2010.
Computer Vision, Robert Pless Lecture 11 our goal is to understand the process of multi-camera vision. Last time, we studies the “Essential” and “Fundamental”
Motion Segmentation By Hadas Shahar (and John Y.A.Wang, and Edward H. Adelson, and Wikipedia and YouTube) 1.
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
December 9, 2014Computer Vision Lecture 23: Motion Analysis 1 Now we will talk about… Motion Analysis.
Peripheral drift illusion. Multiple views Hartley and Zisserman Lowe stereo vision structure from motion optical flow.
Motion Analysis using Optical flow CIS750 Presentation Student: Wan Wang Prof: Longin Jan Latecki Spring 2003 CIS Dept of Temple.
Processing Sequential Sensor Data The “John Krumm perspective” Thomas Plötz November 29 th, 2011.
3D Imaging Motion.
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
1 Motion Analysis using Optical flow CIS601 Longin Jan Latecki Fall 2003 CIS Dept of Temple University.
Motion Estimation I What affects the induced image motion?
Motion Estimation using Markov Random Fields Hrvoje Bogunović Image Processing Group Faculty of Electrical Engineering and Computing University of Zagreb.
Object Tracking - Slide 1 Object Tracking Computer Vision Course Presentation by Wei-Chao Chen April 05, 2000.
Tracking with dynamics
CSSE463: Image Recognition Day 29 This week This week Today: Surveillance and finding motion vectors Today: Surveillance and finding motion vectors Tomorrow:
3D Reconstruction Using Image Sequence
Camera Model Calibration
Motion / Optical Flow II Estimation of Motion Field Avneesh Sud.
Optical flow and keypoint tracking Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
MOTION Model. Road Map Motion Model Non Parametric Motion Field : Algorithms 1.Optical flow field estimation. 2.Block based motion estimation. 3.Pel –recursive.
Motion tracking TEAM D, Project 11: Laura Gui - Timisoara Calin Garboni - Timisoara Peter Horvath - Szeged Peter Kovacs - Debrecen.
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.
Paper – Stephen Se, David Lowe, Jim Little
Motion and Optical Flow
Particle Filtering for Geometric Active Contours
Motion Detection And Analysis
Robust Visual Motion Analysis: Piecewise-Smooth Optical Flow
Range Imaging Through Triangulation
CSSE463: Image Recognition Day 30
Announcements Questions on the project? New turn-in info online
CSSE463: Image Recognition Day 30
CSSE463: Image Recognition Day 30
Presentation transcript:

Motion Tracking

Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement in image plane Camera options Static camera, moving objects Moving camera, moving objects

Image Processing and Computer Vision: 83 Contents Acquiring targets Image differencing Moving edge detector Following targets Matching Minimum path curvature Model based methods Kalman filtering Condensation Hidden Markov Model

Image Processing and Computer Vision: 84 Camera calibration revisited Image to camera co-ordinate transformation Intrinsic parameters Camera to world co-ordinate transformation Extrinsic parameters

Image Processing and Computer Vision: 85 Camera to Image Co-ordinates Distortionless Camera If no distortions uniform sampling Co-ordinates linearly related offset and scale

Image Processing and Computer Vision: 86 Camera to Image Co-ordinates Distorting Camera Periphery is distorted k 2 = 0 is good enough

Image Processing and Computer Vision: 87 Pinhole Camera Image Object Optical centre Image and centre, object and centre are similar triangles. f Z

Image Processing and Computer Vision: 88 World frame Camera frame translate and rotate Camera and World Co- ordinates

Image Processing and Computer Vision: 89 System architecture Acquire target Follow target StartEnd

Image Processing and Computer Vision: 810 Target acquisition Finding a target to follow Differencing Moving edge detector

Image Processing and Computer Vision: 811 Change and Moving Object Detection Simplest method of detecting change Compute differences between Live and background images Adjacent images in a sequence

Image Processing and Computer Vision: 812 Image Differencing Differences due to Moving object overlying static background Moving object overlying another moving object Moving object overlying same moving object Random fluctuation of image data

Image Processing and Computer Vision: 813

Image Processing and Computer Vision: 814 Demo Inter frame differencing Difference from a background pFinder

Image Processing and Computer Vision: 815 Background image Detecting true differences required an accurate background Lighting changes? Camera movement?

Image Processing and Computer Vision: 816 Background image updates Periodically modify whole background Will include changes in new background Systematically incorporate non-changed portions of image into background

Image Processing and Computer Vision: 817 Critique Can identify changes in the image data But what do the changes mean? Need a second layer of processing To recognize changes Optical flow sidesteps this problem...

Image Processing and Computer Vision: 818 Target following Observing the positions of an object or objects in a time sequence of images. Object matching Minimum path curvature Model based methods

Image Processing and Computer Vision: 819 Matching Locate objects in each image Match objects between images Use methods of previous lectures

Image Processing and Computer Vision: 820 Minimum path curvature Observations of two objects in three images

Image Processing and Computer Vision: 821

Image Processing and Computer Vision: 822

Image Processing and Computer Vision: 823

Image Processing and Computer Vision: 824

Image Processing and Computer Vision: 825 Which is “best” solution? One with overall straightest paths For each solution For each path Compute total curvature Sum

Image Processing and Computer Vision: 826 Model based tracking Mathematical model of objects’ motions: position, velocity (speed, direction), acceleration Can predict objects’ positions

Image Processing and Computer Vision: 827 System overview Motion Model Verify Location Predict Location Update?

Image Processing and Computer Vision: 828 Newton’s laws s = position u = velocity a = acceleration all vector quantities measured in image co-ordinates Simple Motion Model

Image Processing and Computer Vision: 829 Prediction Can predict position at time t knowing Position Velocity Acceleration At t=0

Image Processing and Computer Vision: 830 Uncertainty If some error in a -  a or u -  u Then error in predicted position -  s

Image Processing and Computer Vision: 831 Verification Is the object at the predicted location? Matching How to decide if object is found Search area Where to look for object

Image Processing and Computer Vision: 832 Object Matching Compare A small bitmap derived from the object vs. Small regions of the image Matching? Measure differences

Image Processing and Computer Vision: 833 Search Area: Why? and Where? Uncertainty in knowledge of model parameters Limited accuracy of measurement Values might change between measurements Define an area in which object could be Centred on predicted location, s   s

Image Processing and Computer Vision: 834 Update the Model? Is the object at the predicted location? Yes No change to model No Model needs updating Kalman filter is a solution

Image Processing and Computer Vision: 835 Kalman filter Mathematically rigorous methods of using uncertain measurements to update a model

Image Processing and Computer Vision: 836 Kalman filter notation Relates Measurements y[k] e.g. positions System state x[k] Position, velocity of object, etc Observation matrix H[k] Relates system state to measurements Evolution matrix A[k] Relates state of system between epochs Measurement noise n[k] Process noise v[k]

Image Processing and Computer Vision: 837 Mathematically How do observations relate to model?

Image Processing and Computer Vision: 838 Prediction of System State Relates system states at epochs k and k+1

Image Processing and Computer Vision: 839 Prediction of Observation From predicted system state, estimate what observation should occur:

Image Processing and Computer Vision: 840 Updating the Model Predict/estimate a measurement Make a measurement Predict state of model How does the new measurement contribute to updating the model?

Image Processing and Computer Vision: 841 Updating the Model G is Kalman Gain Derived from A, H, v, n.

Image Processing and Computer Vision: 842 Example Tracking two corners of a minimum bounding box Matching using colour Image differencing to locate target

Image Processing and Computer Vision: 843 Condensation Tracking So far considered single motions What if movements change? Bouncing ball Human movements Use multiple models plus a model selection mechanism

Image Processing and Computer Vision: 844 Selection and Tracking Occur simultaneously Maintain A distribution of likely object positions plus weights Predict Select N samples, predict locations Verify Match predicted locations against image Update distributions

Image Processing and Computer Vision: 845 Tracking Using Hidden Markov Models Hidden Markov model describes States occupied by a system Possible transitions between states Probabilities of transitions How to recognise a transition

Image Processing and Computer Vision: 846 Optic Flow Assume each pixel moves but does not change intensity Pixel at location (x,y) in image 1 is pixel at (x+  x,y+  y) in image 2. Optic flow associates displacement vector with each pixel

Image Processing and Computer Vision: 847

Image Processing and Computer Vision: 848 Aperture Problem  I/  x  horizontal difference  I/  y  vertical difference  I/  t  difference between images One equation, two unknowns  cannot solve equation Could solve for movement perpendicular to gradient

Image Processing and Computer Vision: 849 Solution Impose smoothness constraint: Minimise total of sum of squares of velocity component gradients

Image Processing and Computer Vision: 850 is a constant Iterate over a pair of frames, or over a sequence

Image Processing and Computer Vision: 851 Critique Assumptions Linear variation of intensities Velocity changes smoothly These are invalid Especially at object boundaries

Image Processing and Computer Vision: 852 Area Based Methods Match small regions in image 1 with small regions in image 2 Assume objects move but do not deform Same formulation as for optical flow, different areas involved….

Image Processing and Computer Vision: 853 Matching Compute (  x,  y) by finding (u,v) that minimises Then (u,v) = (  x,  y)

Image Processing and Computer Vision: 854 Summary Target acquisition Image differencing Background model Target following Matching Minimum path curvature Model based methods Optic flow

Image Processing and Computer Vision: 855 This “telephone” has too many shortcomings to be seriously considered as a means of communication. The device is of no value to us. Western Union internal memo, 1876