Magnetic Resonance Imaging (MRI), nuclear magnetic resonance imaging (NMRI), or magnetic resonance tomography (MRT) is a medical imaging technique used in radiology to visualize internal structures of the body in detail. MRI makes use of the property of nuclear magnetic resonance (NMR) to image nuclei of atoms inside the body.
An MRI scanner is a device in which the patient lies within a large, powerful magnet where the magnetic field is used to align the magnetization of some atomic nuclei in the body, and radio frequency magnetic fields are applied to systematically alter the alignment of this magnetization. This causes the nuclei to produce a rotating magnetic field detectable by the scanner—and this information is recorded to construct an image of the scanned area of the body.:36 Magnetic field gradients cause nuclei at different locations to precess at different speeds, which allows spatial information to be recovered using Fourier analysis of the measured signal. By using gradients in different directions, 2D images or 3D volumes can be obtained in any arbitrary orientatation.