High accuracy optical flow

High accuracy optical flow using a theory for warping
18.2K Downloads
Updated Tue, 23 Jun 2009 12:28:28 +0000

View License

This code implements two variations of the paper
"High accuracy optic flow using a theory for warping" presented at ECCV 2004 by Dr. Thomas Brox.

Its variants appeared in "Particle Video"
presented at CVPR 2006 by Dr. Peter Sand.

The files optical_flow_brox.m and
optical_flow_sand.m are the files you need to run.

optical_flow_brox.m implements the traditional algorithm. Just replace the first lines where images are read, with your image, and start the process.

optical_flow_sand.m implements a variant presented in CVPR 2006. Again just replace the lines "img1 = imread('...')" and "img2 = imread('...')" with your images and the rest is automatic.

The variable num_levels controls the number of images in the laplacian pyramid to be constructed. Change it to suit your convenience.

The way to tweak / use the code is described in the documentation pdf that is attached with the code. It can also be accessed from

http://perception.inrialpes.fr/~chari/myweb/Software/

In order to tweak the code, however, you need to read the two papers...

Cite As

Visesh Chari (2024). High accuracy optical flow (https://www.mathworks.com/matlabcentral/fileexchange/17500-high-accuracy-optical-flow), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: asphere parameters

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Updated with license removed