Determination of horizontal motion through optical flow computations