Farneback optical flow from sample