The invention relates to a method for determining the position of an object moving within a body, wherein the body is connected to markers, a movement signal is determined based on the measured movement of the markers, images are taken from the object using a camera or detector, wherein the camera or detector is moved with respect to the object, it is determined from which direction or range of angles or segment the most images corresponding to a predefined cycle of the movement signal are taken, and using at least some or all of the images of the segment containing the most images for a specified movement cycle, an image of the object is reconstructed.