A method includes receiving a plurality of voxel values corresponding to respective locations in a heart, which are acquired using magnetic resonance imaging (MRI). Voxel values that, in spite of (i) corresponding to a same location in the heart and (ii) being gated to a same phase of an electrocardiogram (ECG) cycle of the heart, differ by more than a predefined difference, are identified. An image of at least a portion of the heart is reconstructed from the plurality of voxel values excluding at least the identified voxel values.