Optical Flow Methods 2007/8/9.

Slides:



Advertisements
Similar presentations
Andrew Cosand ECE CVRR CSE
Advertisements

CISC 489/689 Spring 2009 University of Delaware
Motion.
Investigation Into Optical Flow Problem in the Presence of Spatially-varying Motion Blur Mohammad Hossein Daraei June 2014 University.
Dynamic Occlusion Analysis in Optical Flow Fields
Computer Vision Optical Flow
A New Block Based Motion Estimation with True Region Motion Field Jozef Huska & Peter Kulla EUROCON 2007 The International Conference on “Computer as a.
Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.
Motion Estimation I What affects the induced image motion? Camera motion Object motion Scene structure.
Announcements Quiz Thursday Quiz Review Tomorrow: AV Williams 4424, 4pm. Practice Quiz handout.
Lecture 9 Optical Flow, Feature Tracking, Normal Flow
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.
Optical Flow Brightness Constancy The Aperture problem Regularization Lucas-Kanade Coarse-to-fine Parametric motion models Direct depth SSD tracking.
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.
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 Brightness Constancy The Aperture problem Regularization Lucas-Kanade Coarse-to-fine Parametric motion models Direct depth SSD tracking.
Motion Computing in Image Analysis
Optical Flow Estimation
Lecture 19: Optical flow CS6670: Computer Vision Noah Snavely
Optical Flow Estimation using Variational Techniques Darya Frolova.
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.
Image Motion.
Motion Field and Optical Flow. Outline Motion Field and Optical Flow Definition, Example, Relation Optical Flow Constraint Equation Assumptions & Derivation,
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.
Optical Flow Digital Photography CSE558, Spring 2003 Richard Szeliski (notes cribbed from P. Anandan)
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.
Motion from normal flow. Optical flow difficulties The aperture problemDepth discontinuities.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Optical Flow Donald Tanguay June 12, Outline Description of optical flow General techniques Specific methods –Horn and Schunck (regularization)
Tzu ming Su Advisor : S.J.Wang MOTION DETAIL PRESERVING OPTICAL FLOW ESTIMATION 2013/1/28 L. Xu, J. Jia, and Y. Matsushita. Motion detail preserving optical.
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.
1 University of Texas at Austin Machine Learning Group 图像与视频处理 计算机学院 Motion Detection and Estimation.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #16.
Course 11 Optical Flow. 1. Concept Observe the scene by moving viewer Optical flow provides a clue to recover the motion. 2. Constraint equation.
Motion Analysis using Optical flow CIS750 Presentation Student: Wan Wang Prof: Longin Jan Latecki Spring 2003 CIS Dept of Temple.
Effective Optical Flow Estimation
3D Imaging Motion.
Joint Tracking of Features and Edges STAN BIRCHFIELD AND SHRINIVAS PUNDLIK CLEMSON UNIVERSITY ABSTRACT LUCAS-KANADE AND HORN-SCHUNCK JOINT TRACKING OF.
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.
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 Estimation I What affects the induced image motion?
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.
Optical flow and keypoint tracking Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.
Image Motion. The Information from Image Motion 3D motion between observer and scene + structure of the scene –Wallach O’Connell (1953): Kinetic depth.
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.
Motion and Optical Flow
Motion Estimation Today’s Readings
Announcements more panorama slots available now
Image and Video Processing
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.
Optical flow and keypoint tracking
Presentation transcript:

Optical Flow Methods 2007/8/9

Outline Introduction to 2-D Motion The Optical Flow Equation The Solution of Optical Flow Equation Comparison of different methods Reference

The 2-D Motion The projection of 3-D motion into the image plane. Z Y X Z Y

The 2-D Motion(2) A 2-D displacement field is a collection of 2-D displacement vectors.

Definition of Optical Flow Optical flow is a vector field of pixel velocities based on the observable variations form the time-varying image intensity patter.

Difference between Optical flow and 2-D displacement(1) There must be sufficient gray-level variation for the actual motion to be observable.

Difference between Optical flow and 2-D displacement(2) An observable optical flow may not always correspond to actual motion. For example: changes in external illumination.

Outline Introduction to 2-D Motion The Optical Flow Equation The Solution of Optical Flow Equation Comparison of different methods Reference

The Optical Flow Equation(1) Let the image brightness at the point (x, y) in the image plane at time t be denoted by The brightness of a particular point in the pattern is constant, so that Using the chain rule for differentiation we see that,

The Optical Flow Equation(2) If we let and , for the partial derivatives, we have a single linear equation in two unknowns: u and v. Writing the equation in the two unknowns u and v,

The Optical Flow Equation(3) Writing the equation in another form, The component of the movement in the direction of the brightness gradient equals

The Optical Flow Equation(4) The velocity has to lie along a line perpendicular to the brightness gradient vector. x y Constraint Line (u,v)

Outline Introduction to 2-D Motion The Optical Flow Equation The Solution of Optical Flow Equation Comparison of different methods Reference

Second-Order Differential Methods(1) Based on the conservation of the spatial image gradient. The flow field is given by

Second-Order Differential Methods(2) The deficiencies: The constraint does not allow for some motion such as rotation and zooming. Second-order partials cannot always be estimated with sufficient accuracy.

Block Motion Model (1) (Lucas and Kanade Method) Based on the assumption that the motion vector remains unchanged over a particular block of pixels. for x,y inside block B

Block Motion Model (2) Computing the partials of error with respect to and , then setting them equal to zero, we have

Block Motion Model (3) Solving the equations, we have

Block Motion Model (4) It is possible to increase the influence of the constraints towards the center of the block by weighted summations. The accuracy of estimation depends on the accuracy of the estimated spatial and temporal partial derivatives.

Horn and Schunck Method(1) The additional constraint is to minimize the sum of the squares of the Laplacians of the optical flow velocity: and

Horn and Schunck Method(2) The minimization of the sum of the errors in the equation for the rate of changes of image brightness. and the measure of smoothness in the velocity flow.

Horn and Schunck Method(3) Let the total error to be minimized be The minimization is to be accomplished by finding suitable values for optical flow velocity (u ,v). The solution can be found iteratively.

Horn and Schunck Method: Directional-Smoothness constraint The directional smoothness constraint: W is a weight matrix depending on the spatial changes in gray level content of the video. The directional-smoothness method minimizes the criterion function:

Gradient Estimation Using Finite Differences(1) To obtain the estimates of the partials, we can compute the average of the forward and backward finite differences.

Gradient Estimation Using Finite Differences(2) The three partial derivatives of images brightness at the center of the cube are estimated form the average of differences along four parallel edges of the cube.

Gradient Estimation by Local Polynomial Fitting(1) An approach to approximate E(x,y,t) locally by a linear combination of some low-order polynomials in x, y, and t; that is, Set N equal to 9 and choose the following basis functions

Gradient Estimation by Local Polynomial Fitting(2) The coefficients are estimated by using the least squares method. The components of the gradient can be found by differentiation,

Estimating the Laplacian of the Flow Velocities(1) The approximation takes the following form and The local averages u and v are defined as:

Estimating the Laplacian of the Flow Velocities(2) The Laplacian is estimated by subtracting the value at a point form a weighted average of the values at neighboring points.

Outline Introduction to 2-D Motion The Optical Flow Equation The Solution of Optical Flow Equation Comparison of different methods Reference

Comparison of different methods(1) Three different method to be compared: Lucas-Kanade method based on block motion model. (11x11 blocks with no weighting) Horn-Schunck method imposing a global smoothness constraint.( , allowed for 20 to 150 iterations) The directional-smoothness method of Nagel( with 20 iterations)

Comparison of different methods(2) These methods have been applied to the 7th and 8th frames of a video sequence, known as the “Mobile and Calendar.” The gradients have been approximated by average finite differences and polynomial fitting. The images are spatially pre-smoothed by a 5x5 Gaussian kernel with the variance 2.5 pixels.

Comparison of different methods(3) Comparison of the differential methods. Method PSNR(dB) Entropy(bits) Polynomial Difference Frame-Difference Lucas-Kanade Horn-Schunck Nagel 23.45 30.89 28.14 29.08 - 32.09 30.71 31.84 6.44 4.22 5.83 6.82 5.04 5.95

Outline Introduction to 2-D Motion The Optical Flow Equation The Solution of Optical Flow Equation Comparison of different methods Reference

Reference A. M. Tekalp, Digital Video Processing. Englewood Cliffs, NJ: Prentice-Hall, 1995. Horn, B.K.P. and Schunck, B.G. Determining optical flow:A retrospective, Artificial Intelligence, vol. 17, 1981, pp.185-203. J.L. Barron, D.J. Fleet, and S.S. Beauchemin, “Performance of Optical Flow Techniques,” in International Journal of Computer Vision, February 1994, vol. 12(1), pp. 43-77.