An apparatus and a method determine a virtual spatial reconstruction of a surgical tool imaged in a 2D x-ray image. A reconstruction module segments a 2D image of at least one element of the surgical tool in the 2D x-ray image and a spatial reconstruction of the at least one element is implemented after the spatial configuration of the 2D image of the at least one element is determined.