An image processing unit for correction of distortion, created by discrepancies in a basic magnetic field of a magnetic resonance scanner from a nominal value, in image data records recorded via the magnetic resonance scanner, comprising:
- means for loading a first image data record, recorded via the magnetic resonance scanner with a first frequency coding gradient, of an examination region;
- means for loading a second image data record, recorded via the magnetic resonance scanner but using a second frequency coding gradient, of the same examination region, with the first and the second frequency coding gradient being different;
- means for receiving a transformation shift field as final result of a registration process of the first and the second image data record;
- means for calculating a correction shift field for at least one of the first and the second image data record on the basis of the received transformation shift field;
- means for correcting the distortion of at least one of the first and second image data record on the basis of the calculated correction shift field;
- and
- means for at least one of displaying and storing the at least one corrected image data record.