Fast Alignment of 3 D Geometrical Models and 2 D Grayscale Images Using 2 D Distance Maps