A method and apparatus for treating a sample for acquiring high-definition
magnetic resonance images (MRI images) or high resolution nuclear
magnetic resonance (NMR) spectra even in the presence of magnetic field
distortions within one or multiple scans. The spatial nature and temporal
dependence of the field inhomogeneities are determined a priori using any
of several literature procedures. A static or oscillating magnetic field
gradient is applied on the sample so as to endow spins at different
positions within the sample with different resonance frequencies. A
phase- and amplitude-modulated radiofrequency (RF) pulse is applied in
unison with the magnetic field gradient so as to endow spins at different
positions within the sample with a homogeneous excitation/inversion
profile. The nature of the spatially-selective RF irradiation is tailored
in such a way that, when added on top of the effects of the
inhomogeneities, the spins' evolution phases and their signal amplitudes
at the time of the acquisition become independent of the inhomogeneities.
The spin signals thus created are captured and decoded, so as to obtain
the spins' response as if the inhomogeneity was not present. The
collected data is processed to a suitable rearrangement and Fourier
analysis procedure to retrieve a final undistorted image or spectrum. The
magnetic field gradient can be oscillated to impose this kind of
inhomogeneity corrections on multiple spatial dimensions sequentially, or
simultaneously.