The present invention relates to a method for reconstructing a 3D image from 2D X-ray images acquired with an X-ray imaging system, said method comprising the steps of: a) receiving a set of 2D X-ray images of a region of a patient with said X-ray imaging system, b) computing an initial 3D image within the coordinate system of the X-ray imaging system by using at least part of said 2D X-ray images with their respective projective geometry data c) projecting said initial 3D image on at least part of said 2D X-ray images and adjusting the respective projective geometry data of said images, said adjustment comprising registration of said images with the projection of the initial 3D image using an image-to-image registration technique d) computing an updated 3D image using the complete set of 2D X-ray images with their respective adjusted projective geometry data.