image thumbnail

High accuracy optical flow

version 1.2.0.0 (1.71 MB) by Visesh Chari
High accuracy optical flow using a theory for warping

18K Downloads

Updated 23 Jun 2009

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 (2022). 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!