390 likes | 627 Views
Machine Vision. Lecture 06 Computing Optical Flow. DR. J. Shanbehzadeh Shanbehzadeh@gmail.com Sara Omid. Science and Research Branch of Azad University. Table of Contents. Optical Flow Examples. Optical Flow Examples. Optical Flow Examples Optical Flow Horn & Schunck Optical Flow
E N D
Machine Vision Lecture 06 Computing Optical Flow DR. J. Shanbehzadeh Shanbehzadeh@gmail.com Sara Omid Science and Research Branch of Azad University
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow Examples • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Optical Flow • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments Applications • Motion based segmentation • Structure from Motion(3D shape and Motion) • Alignment (Global motion compensation) • Camcorder video stabilization • UAV Video Analysis • Video Compression
Horn & Schunck Optical Flow • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments Brightness constancy assumption Taylor Series
Interpretation Of Optical Flow eq • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments d = normal flow P = parallel flow
Horn & Schunck • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments Brightness Constancy Smoothness Constraint min
Horn & Schunck • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments = = Laplacian
Derivative Masks • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments fy fx ft
Derivative Masks (Roberts) • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments Apply first mask to 1st image Second mask to 2nd image Add the responses to get fx, fy, ft
Laplacian • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Laplacian • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments Discrete version
Laplacian • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments variational calculus
Algorithm-1 • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments • k=0 • Initialize ukand vk • Repeat until some error measure is satisfied (converges)
Synthetic Images • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Horn & Schunck Results • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Lucas & Kanade • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments • Optical Flow eq • Consider 3 by 3 window • . . . A u = ft
Lucas & Kanade • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments A U = ft AT A U = AT ft U = (ATA)-1 AT ft Pseudo Inverse Least Squares Fit
Lucas & Kanade • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Lucas & Kanade • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Lucas & Kanade • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Lucas & Kanade • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Lucas & Kanade • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Lucas & Kanade • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments
Comments • Optical Flow Examples • Optical Flow • Horn & Schunck Optical Flow • Interpretation Of Optical Flow eq • Horn & Schunck • Derivative Masks • Laplacian • Algorithm-1 • Synthetic Images • Horn & Schunck Results • Lucas & Kanade • Comments • Horn‐Schunck and Lucas‐Kanadeoptical methods work only for small motion. • If object moves faster, the brightness changes rapidly, • 2x2 or 3x3 masks fail to estimate spatiotemporal derivatives. • Pyramids can be used to compute large optical flow vectors.