Tutorial and Toolbox on real-time optical flow

Code with visualization and excercises. Camera supported
Updated 19 Dec 2019

View License

1) runMe.m
(use arrow keys to interact with pattern)
2) OpticalFlowTutorialPart1.pdf
NOTE 1: This is a beta version. I would like to know about bugs so that I can improve this major update. We are working on a publication, so please check back for a proper reference if you plan on using this for your work.
Note 2: There are NO toolboxes required to run this. If it says differently below, ignore it.
Some of the material that was intended for use in parts 2 and 3 have ended up in proprietary software, so I hope those who were waiting for that will accept my apologies. To compensate, I am working hard to make part 1 (the only part) especially easy to use.
A Quick view on applications:
Get Started:

Cite As

Stefan Karlsson and Josef Bigun (2019). Tutorial and Toolbox on real-time optical flow (https://www.mathworks.com/matlabcentral/fileexchange/44400), MATLAB Central File Exchange. Retrieved December 19, 2019.

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

Inspired: FancyFlowPlayer

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

just updated the "cite as" field to correctly mention all authors


fixed the default settings in runMe.m
see "Changes versions.txt"
initially fixed issues in Matlab version 2016a
I tried again to remove the listed Matlab toolboxes, but I am guessing they are automatically added again. There are NO toolboxes required to run this.
v 1.052 - see "changes versions.txt"

Better Horn and Schunk implementation,
groundtruth generation for synthetic sequences
better documentation

wrongly listed toolbox requirements removed

prettified text

se text file in main folder

Improved the video clip

added a second youtube clip

Added a youtube clip

see "Changes versions.txt"