/optical-flow-visualization

Generate animated visualizations for optical flow fields

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Optical Flow Visualization

Generate animated visualizations for optical flow fields

Requirements

Tested with GCC 7.3 on Ubuntu 18.04.2. ImageMagick and Gifsicle required for output conversion.

Building

Just make. This pulls the dependencies CImg and AGG, so the first build takes a bit longer. Note that CImg and AGG are not under this repository's license.

Running

$ bash generate-flow-animation.sh example/0048.pfm. This generates flow frames, converts them to GIF (using ImageMagick) and creates an animation (using Gifsicle). The example is from our scene flow dataset.

Optical flow visualization color code by Daniel Scharstein and others, now lost in time.