ported optical_flow