Tuesday, March 2, 2010

Optical Flow using Lucas Kanade

Optical flow is the pattern of apparent motion of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer (an eye or a camera) and the scene.

The optical flow methods try to calculate the motion between two image frames which are taken at times t and t + 1 at every voxel position.

One method for determining optical flow is the Differential methods of estimation, based on partial derivatives of the image signal and/or the sought flow field and higher-order partial derivatives. the method ill be using is the Lucas–Kanade Optical Flow Method –

Lucas Kanade with Pyramids Algorithm:




















Problem to solve: Video stabilization

TO DO: MATLAB CODE