Estimation of 3D shape from image orientations