Start by running "runMe.m"
Supports input through:
a) synthetically generated test images
b) reading avi-file
c) camera input (requires image aquisition toolbox)
Calculates optical flow by 4 different local methods(all moment based), 2 implementations of Lucas and Kanade, and 2 implementations of point-line flow.
Can process easily hundreds of frames per second on a laptop for resolution 200x200 images.
Entirely implemented in Matlab, except for a small mex-module that calculates the gradient field. You can either download this mex binary here:
... or you can compile the code in the folder c-code. This has a script "make.m".