A water and fat image are acquired using a pulse sequence in which NMR
signals for one image data set are acquired with a readout gradient of
one polarity and NMR signals for the other image data set are acquired
with a readout gradient of the opposite polarity. A misalignment of fat
signals caused by chemical shift is corrected by calculating separate
water and fat image data sets in k-space and then transforming them to
real space images.