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’s 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.

Get the code

Black Robust optical flow code

You can run the C-compiled executable gnc directly, from Matlab or Python.