Correction of image distortions, e.g. due to magnetic field inhomogeneities {caused by a distortion of the main magnetic field B0, e.g. temporal variation of the magnitude or spatial inhomogeneity of B0 }