Joint adjustment of image coordinates and slant distances