Running Black Robust Optical Flow code on modern PC

You can easily compile and use the “GNC” Robust Optical Flow C code from Michael Black in the article:

The robust estimation of multiple motions: Parametric and piecewise-smooth flow fields,\ Black, M. J. and Anandan, P.,\ Computer Vision and Image Understanding, CVIU, 63(1), pp. 75-104, Jan. 1996.

Compile Black Robust Optical Flow code

git clone

cd robust-flow/src


Run the Robust Optical Flow code

You can run the C-compiled executable “gnc” directly, or from Matlab/Octave use theRunBlack.m function.