Affine structure from perspective image pairs under relative translations between object and camera