1. A method of creating a medical image using an endoluminal imaging device, comprising: recording with a computer a sequence of two-dimensional images of a hollow cardio duct by the endoluminal imaging device during a periodical movement having predictable and unpredictable cardio movement phases of a subject to be examined, the hollow duct belonging to the subject to be examined, wherein the hollow duct is a vessel and the periodical movement having predictable and unpredictable cardio movement phases comprises a sequence of heartbeats of the subject; determining current spatial coordinates of the endoluminal imaging device when recording each of the two-dimensional images by a position detecting sensor disposed in the endoluminal imaging device; storing in a memory of the computer a plurality of position datasets each including the current spatial coordinates from the position detecting sensor disposed in the endoluminal imaging device and the related two-dimensional image; correcting with a correction module of the computer a first of the position datasets corresponding to a non predictable cardio movement phase based on a second of the position datasets corresponding to a predictable cardio movement phase, wherein the correcting comprises discarding each of the position datasets corresponding to the non predictable cardio movement phase and replacing the discarded position datasets with position datasets interpolated between adjacent position datasets corresponding to the predictable cardio movement phase; and using the corrected position dataset to construct a volumetric three-dimensional image of the cardio duct, wherein the position detecting sensor is a sensor that determines a current spatial position of the endoluminal imaging device.