Computing the fundamental matrix of an image pair