LUCAS KANADE FEATURE TRACKER a pyramidal implementation

Slides:



Advertisements
Similar presentations
Andrew Cosand ECE CVRR CSE
Advertisements

CISC 489/689 Spring 2009 University of Delaware
Motion.
The fundamental matrix F
Outline Feature Extraction and Matching (for Larger Motion)
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.
Announcements Quiz Thursday Quiz Review Tomorrow: AV Williams 4424, 4pm. Practice Quiz handout.
Optical Flow Methods 2007/8/9.
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.
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.
Optical flow and Tracking CISC 649/849 Spring 2009 University of Delaware.
Caltech, Oct Lihi Zelnik-Manor
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Optical Flow Estimation
Lecture 19: Optical flow CS6670: Computer Vision Noah Snavely
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.
1 Stanford CS223B Computer Vision, Winter 2006 Lecture 7 Optical Flow Professor Sebastian Thrun CAs: Dan Maynes-Aminzade, Mitul Saha, Greg Corrado Slides.
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,
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
KLT tracker & triangulation Class 6 Read Shi and Tomasi’s paper on good features to track
Announcements Project1 due Tuesday. Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Supplemental:
CSCE 641 Computer Graphics: Image Registration Jinxiang Chai.
Viewpoint Tracking for 3D Display Systems A look at the system proposed by Yusuf Bediz, Gözde Bozdağı Akar.
Feature Tracking and Optical Flow
Generating panorama using translational movement model.
Exploiting video information for Meeting Structuring ….
CSE 473/573 Computer Vision and Image Processing (CVIP) Ifeoma Nwogu Lecture 19 – Dense motion estimation (OF) 1.
Optical Flow Donald Tanguay June 12, Outline Description of optical flow General techniques Specific methods –Horn and Schunck (regularization)
Motion estimation Digital Visual Effects Yung-Yu Chuang with slides by Michael Black and P. Anandan.
Structure from Motion, Feature Tracking, and Optical Flow Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 04/15/10 Many slides adapted.
Motion Segmentation By Hadas Shahar (and John Y.A.Wang, and Edward H. Adelson, and Wikipedia and YouTube) 1.
CSE 185 Introduction to Computer Vision Feature Tracking and Optical Flow.
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Over-Parameterized Variational Optical Flow
Pyramidal Implementation of Lucas Kanade Feature Tracker Jia Huang Xiaoyan Liu Han Xin Yizhen Tan.
Feature Reconstruction Using Lucas-Kanade Feature Tracking and Tomasi-Kanade Factorization EE7740 Project I Dr. Gunturk.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Joint Tracking of Features and Edges STAN BIRCHFIELD AND SHRINIVAS PUNDLIK CLEMSON UNIVERSITY ABSTRACT LUCAS-KANADE AND HORN-SCHUNCK JOINT TRACKING OF.
Miguel Tavares Coimbra
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Motion Features for Action Recognition YeHao 3/11/2014.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Motion / Optical Flow II Estimation of Motion Field Avneesh Sud.
Person Following with a Mobile Robot Using Binocular Feature-Based Tracking Zhichao Chen and Stanley T. Birchfield Dept. of Electrical and Computer Engineering.
Motion estimation Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2005/4/12 with slides by Michael Black and P. Anandan.
Optical flow and keypoint tracking Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Announcements Final is Thursday, March 18, 10:30-12:20 –MGH 287 Sample final out today.
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 estimation Parametric motion (image alignment) Tracking Optical flow.
Motion estimation Digital Visual Effects, Spring 2005 Yung-Yu Chuang 2005/3/23 with slides by Michael Black and P. Anandan.
Feature Tracking and Optical Flow
CPSC 641: Image Registration
Announcements Final is Thursday, March 20, 10:30-12:20pm
Motion and Optical Flow
Digital Visual Effects Yung-Yu Chuang
Motion Estimation Today’s Readings
Filtering Things to take away from this lecture An image as a function
Announcements more panorama slots available now
Announcements Questions on the project? New turn-in info online
Coupled Horn-Schunck and Lukas-Kanade for image processing
Announcements more panorama slots available now
Optical flow Computer Vision Spring 2019, Lecture 21
Open Topics.
Filtering An image as a function Digital vs. continuous images
Optical flow and keypoint tracking
Presentation transcript:

LUCAS KANADE FEATURE TRACKER a pyramidal implementation di Stefano Pacifico – A.A. 2005/2006

Introduction Feature tracking goal: Given I,J grayscaled 2D images, and a point u on I, find v = u+d on J such as u and v are similar. Optical flow evaluation to estimate motion field (Hyp: Lambertian surfaces, infinity ranged light sources, no photometric distortion) Feature based methods vs. Direct methods Stefano Pacifico - 2005/2006

A first approach… B.K.P. Horn and B.G. Schunck. Determining optical flow. AI Memo 572. Massachusetts Institue of Technology, 1980. This article is the first proposal of an iterative method to compute optical flow. Dense motion vector field, weak to noise. Stefano Pacifico - 2005/2006

Optical flow constraint Assumptions: Pixel luminosity is the same in both images for each pair of pixels. Motion perpendicular to local gradient direction is not discernible. Uniform motion for near pixlel clusters (to avoid aperture problem). Little displacemente of pixels between image I and J Using a window of 5x5 size -> 25 equations per pixel; only u and v as unknowns. Stefano Pacifico - 2005/2006

Lucas Kanade Overdetermined equation system Equivalent to solving with least squares method Iterate with Newton – Raphson method A’A must be invertible. L1 and L2 eigenvalues of A’A, L1/L2 must be not too big. L1 and L2 not too little. Stefano Pacifico - 2005/2006

Pyramidal Lucas Kanade build pyramid representations of I and J ILm, JLm Initialization of pyramidal guess gLm for L = Lm to 0 uL = location of u on ILm = u/2^L Ix = derivative of IL wrt x Iy = derivative of IL wrt y G = spatial gradient matrix init iterative L-K (guess V0) for k = 1 to K or until optical flow < treshold Vk = iterative L-K loop estimation end for final optical flow at level L dL = Vk calculate guess for next level gLm-1 final optical flow vector V = g0 + d0 return v = u +d Relaxes iterative L-K assumption of little displacement Algorithm complexity O(n^2*N+n^3) n= #warp parmeters N = integration window size See Baker, Matthews papers. Stefano Pacifico - 2005/2006

Pros, cons and alternatives Problem and its actual solution are well studied; KLT widely used with almost optimal performances (see Barron et al. paper). Bare KLT less reliable than affine tracker, but quite faster. Possible integration with compositional algorithm (see Baker,Matthews papers) Feature trackers alone don’t satisfy the needs of today AI applications. KLT is integrated into more complex architectures (e.g. RANSAC, ML) Alternatives: Mean shift tracking and Histogram tracking (see Bradski paper), Kalman Filter, Block Matching, Warping Theory (see Brax paper). Stefano Pacifico - 2005/2006

Software and demo Stanford KLT implementation OpenCV implementation Pyramidal implementation Affine model feature checking Can track features in non-consecutive frames http://www.ces.clemson.edu/~stb/klt/ OpenCV implementation Iterative implementation Affine transformation estimation http://Opencv.sourceforge.net Both have means to detect features, and to declare them lost (see also Shi, Tomasi paper). Stefano Pacifico - 2005/2006

Bibliography B.K.P. Horn and B.G.: Schunck. Determining optical flow. AI Memo 572. Massachusetts Institue of Technology, 1980. Lucas, B. D.; Kanade, T.: An Iterative Image Registration Technique with an Application to Stereo Vision : Proc. of 7th International Joint Conference on Artificial Intelligence, (1981), pp. 674-679. Shi, J.; Tomasi, C.: Good Features to Track. In: Proc. IEEE Conference on Computer Vision and Pattern Recognition, (1994), pp. 593-600. Barron, J. L.; Fleet, D. J.: Beauchemin, S. S.; Burkitt, T. A.: Performance of optical flow techniques. In: International Journal of Computer Vision 12, Vol. 1 (1992-02), pp. 43-77. Bouguet, J.-Y.: Pyramidal Implementation of the Lucas Kanade Feature Tracker. Part of OpenCV Documentation. Stefano Pacifico - 2005/2006

Bibliography(2) Bradski , G. R.: Computer vision face tracking for use in a perceptual user interface. Intel Technology Journal, 2nd Quarter, 1998. Baker, S. ; Matthews, I.: Lucas-Kanade 20 years on: A unifying framework: Part 1. Technical Report CMU-RI-TR-02-16, CMU Robotics Institute, (2002). U. Knauer, T. Dammeier, and B. Meffert.:The Structure Of Road Traffic Scenes As Revealed By Unsupervised Analysis Of The Time Averaged Optical Flow. 17th International Conference on the Applications of Computer Science and Mathematics in Architecture and Civil Engineering Brox T., Bruhn, A. Papenberg, N. Weickert J.: High Accuracy Optical Flow Estimation Based on a Theory for Warping In Proc. 8th European Conference on Computer Vision, 2004 F. Pirri – Lecture notes A.A. 2005-2006 Stefano Pacifico - 2005/2006