CS4442 CS9542 Part 2 Lecture 4 Motion
CS4442 CS9542 Part 2 Lecture 4 Motion
Part 2: Lecture 4
Yalda Mohsenzadeh
Slides are adapted from Olga Vesker (UW), Steve Seitz (UW), David Jacobs (UMD),
Rober Collins (Penn State)
Computer Vision
Motion
Outline
• Motion Estimation
• Motion field
• Optical flow field
• Methods for optical flow estimation
• Discrete Search
• Lucas-Kanade approach to optical flow
• Motion Tracking
• Harris corner detection
Why estimate motion?
• Many applications
• Track objects
• Correct for camera jitters
• Align images
• Special effects
Optical flow and Motion field
• Optical flow is the apparent motion of brightness patterns
between 2 (or several) frames in an image sequence
• Usually represent optical flow by a 2-dimensional vector (u, v)
Optical flow and motion field
• Optical flow is the apparent motion of brightness
patterns between 2 (or several) frames in an image
sequence
• Why does brightness changes between frames?
• Assuming that the illumination does not change:
• Changes are due to relative motion between the scene and
the camera
• There are three possibilities
• Camera still, moving scene
• Moving camera, still scene
• Moving camera, moving scene
• Optical flow is what we can estimate from image
sequence
Motion Field (MF)
Examples of Motion field
Optical Flow vs. Motion Field
• Optical flow is the apparent motion of brightness
patterns
• We equate optical flow field with motion field
• Frequently works, but not always
Optical Flow vs. Motion Field
• Motion field and optical flow are very different
Discrete search for optical flow
Computing Optical Flow: Brightness Constancy Equation
6
Lukas-Kanade Flow
Lukas-Kanade Flow
Conditions for solvability
Edge
Low texture regions
High textured regions
Observations
Errors in Lucas-Kanade
Revisiting the small motion assumption