Learning optical flow from still images