initial and optical flow