Running Black Robust Optical Flow code on modern PC

less than 1 minute read

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 Robust Optical Flow code

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

Leave a Comment