Algorithms for 2D/3D image registration