Correction of image distortions, e.g. due to magnetic field inhomogeneities {caused by a distortion of a gradient magnetic field, e.g. non-linearity of a gradient magnetic field }