Estimating the motion of an underwater robot from a monocular image sequence