Method And System For Aligning 3D And 2D Images