For the reconstruction of the coronary arteries from rotational coronary angiography data, a crucial point is the selection of the optimal cardiac phase for data reconstruction. According to an exemplary embodiment of the present invention, an automatic approach for deriving optimal reconstruction windows is provided by fully automatically selecting the optimal cardiac phase on the basis of a delayed acquisition protocol where at least one heart phase needs to be acquired in a static projection geometry.