Estimating the camera motion from a pair of images