Sorting and possibly adjusting image data acquired asynchronously with the cardiac or respiratory cycle, according to the phase of the cycle at which it was acquired, so as to reconstruct a set of images corresponding to different phases of the cycle.