Magnetic resonance imaging (MRI) is a medical imaging technique mostly used in radiology and nuclear medicine in order to investigate the anatomy and physiology of the body, and to detect pathologies including tumors, inflammation, neurological conditions such as stroke, disorders of muscles and joints, and abnormalities in the heart and blood vessels among other conditions. Contrast agents may be injected intravenously or into a joint to enhance the image and facilitate diagnosis. Unlike CT scans and X-rays, MRI does not use ionizing radiation and is therefore considered a safe procedure, making it suitable for use in children and for repeated examinations. Patients with specific non-ferromagnetic metal implants, cochlear implants, and cardiac pacemakers nowadays may also have an MRI in spite of effects of the strong magnetic fields. This does not apply on older devices, and details for medical professionals are provided by the device's manufacturer.

Certain atomic nuclei are able to absorb and emit radio frequency energy when placed in an external magnetic field. In clinical and research MRI, hydrogen atoms are most often used to generate a detectable radio-frequency signal that is received by antennas close to the anatomy being examined. Hydrogen atoms are naturally abundant in people and other biological organisms, particularly in water and fat. For this reason, most MRI scans essentially map the location of water and fat in the body. Pulses of radio waves excite the nuclear spin energy transition, and magnetic field gradients localize the signal in space. By varying the parameters of the pulse sequence, different contrasts may be generated between tissues based on the relaxation properties of the hydrogen atoms therein.

When inside the magnetic field (B0) of the scanner, the magnetic moments of the protons align to be either parallel or anti-parallel to the direction of the field. While each individual proton can only have one of two alignments, the collection of protons appear to behave as though they can have any alignment. Most protons align parallel to B0 as this is a lower energy state. A radio frequency pulse is then applied, which can excite protons from parallel to anti-parallel alignment; only the latter are relevant to the rest of the discussion. In response to the force bringing them back to their equilibrium orientation, the protons undergo a rotating motion (precession), much like a spun wheel under the effect of gravity. The protons will return to the low energy state by the process of spin-lattice relaxation. This appears as a changing magnetic flux, which yields a changing voltage in the receiver coils to give a signal. The frequency at which a proton or group of protons in a voxel resonates depends on the strength of the local magnetic field around the proton or group of protons, a stronger field corresponds to a larger energy difference and higher frequency photons. By applying additional magnetic fields (gradients) that vary linearly over space, specific slices to be imaged can be selected, and an image is obtained by taking the 2-D Fourier transform of the spatial frequencies of the signal (k-space). Due to the magnetic Lorentz force from B0 on the current flowing in the gradient coils, the gradient coils will try to move, producing loud knocking sounds, for which patients require hearing protection.

History

The MRI scanner was developed from 1975 to 1977 at the University of Nottingham by Prof Raymond Andrew FRS FRSE following from his research into nuclear magnetic resonance. The full body scanner was created in 1978.Independent (newspaper) obituary of R Edward 20 July 2001

Nuclear magnetism

Subatomic particles have the quantum mechanical property of spin. Certain nuclei such as 1H (protons), 2H, 3He, 23Na or 31P, have a non–zero spin and therefore a magnetic moment. In the case of the so-called spin- nuclei, such as 1H, there are two spin states, sometimes referred to as up and down. Nuclei such as 12C have no unpaired neutrons or protons, and no net spin; however, the isotope 13C does.

When these spins are placed in a strong external magnetic field they precess around an axis along the direction of the field. Protons align in two energy eigenstates (the Zeeman effect): one low-energy and one high-energy, which are separated by a very small splitting energy.

Resonance and relaxation

Quantum mechanics is required to accurately model the behaviour of a single proton. However, classical mechanics can be used to describe the behaviour of an ensemble of protons adequately. As with other spin particles, whenever the spin of a single proton is measured it can only have one of two results commonly called parallel and anti-parallel. When we discuss the state of a proton or protons we are referring to the wave function of that proton which is a linear combination of the parallel and anti-parallel states.

In the presence of the magnetic field, B0, the protons will appear to precess at the Larmor frequency determined by the particle's gyro-magnetic ratio and the strength of the field. The static fields used most commonly in MRI cause precession which corresponds to a radiofrequency (RF) photon.

The net longitudinal magnetization in thermodynamic equilibrium is due to a tiny excess of protons in the lower energy state. This gives a net polarization that is parallel to the external field. Application of an RF pulse can tip this net polarization vector sideways (with, i.e., a so-called 90° pulse), or even reverse it (with a so-called 180° pulse). An RF pulse produces detectable transverse magnetization by rotating the bulk magnetization vector that exists at thermal equilibrium and not by bringing spins into phase coherence as is sometimes stated in literature.

The recovery of longitudinal magnetization is called longitudinal or T1 relaxation and occurs exponentially with a time constant T1. The loss of phase coherence in the transverse plane is called transverse or T2 relaxation. T1 is thus associated with the enthalpy of the spin system, or the number of nuclei with parallel versus anti-parallel spin. T2 on the other hand is associated with the entropy of the system, or the number of nuclei in phase.

When the radio frequency pulse is turned off, the transverse vector component produces an oscillating magnetic field which induces a small current in the receiver coil. This signal is called the free induction decay (FID). In an idealized nuclear magnetic resonance experiment, the FID decays approximately exponentially with a time constant T2. However, in practical MRI there are small differences in the static magnetic field at different spatial locations ("inhomogeneities") that cause the Larmor frequency to vary across the body. This creates destructive interference, which shortens the FID. The time constant for the observed decay of the FID is called the T relaxation time, and is always shorter than T2. At the same time, the longitudinal magnetization starts to recover exponentially with a time constant T1 which is much larger than T2 (see below).

In MRI, the static magnetic field is augmented by a field gradient coil to vary across the scanned region, so that different spatial locations become associated with different precession frequencies. Only those regions where the field is such that the precession frequencies match the RF frequency will experience excitation. Usually, these field gradients are modulated to sweep across the region to be scanned, and it is the almost infinite variety of RF and gradient pulse sequences that gives MRI its versatility. Change of field gradient spreads the responding FID signal in the frequency domain, but this can be recovered and measured by a refocusing gradient (to create a so-called "gradient echo"), or by a radio frequency pulse (to create a so-called "spin-echo"), or in digital post-processing of the spread signal. The whole process can be repeated when some T1-relaxation has occurred and the thermal equilibrium of the spins has been more or less restored. The repetition time (TR) is the time between two successive excitations of the same slice.Page 26 in:

Typically, in soft tissues T1 is around one second while T2 and T are a few tens of milliseconds. However, these values can vary widely between different tissues, as well as between different external magnetic fields. This behavior is one factor giving MRI its tremendous soft tissue contrast.

MRI contrast agents, such as those containing Gadolinium(III) work by altering (shortening) the relaxation parameters, especially T1.

Imaging

Imaging schemes A number of schemes have been devised for combining field gradients and radio frequency excitation to create an image: 2D or 3D reconstruction from projections, such as in computed tomography. Building the image point-by-point or line-by-line. Gradients in the RF field rather than the static field. Although each of these schemes is occasionally used in specialist applications, the majority of MR Images today are created either by the two-dimensional Fourier transform (2DFT) technique with slice selection, or by the three-dimensional Fourier transform (3DFT) technique. Another name for 2DFT is spin-warp. What follows here is a description of the 2DFT technique with slice selection.

The 3DFT technique is rather similar except that there is no slice selection and phase-encoding is performed in two separate directions.

Echo-planar imaging Another scheme which is sometimes used, especially in brain scanning or where images are needed very rapidly, is called echo-planar imaging (EPI): In this case, each RF excitation is followed by a train of gradient echoes with different spatial encoding. Multiplexed-EPI is even faster, e.g., for whole brain functional MRI (fMRI) or diffusion MRI.

Image contrast and contrast enhancement Image contrast is created by differences in the strength of the NMR signal recovered from different locations within the sample. This depends upon the relative density of excited nuclei (usually water protons), on differences in relaxation times (T1, T2, and T) of those nuclei after the pulse sequence, and often on other parameters discussed under specialized MR scans. Contrast in most MR images is actually a mixture of all these effects, but careful design of the imaging pulse sequence allows one contrast mechanism to be emphasized while the others are minimized. The ability to choose different contrast mechanisms gives MRI tremendous flexibility. In the brain, T1-weighting causes the nerve connections of white matter to appear white, and the congregations of neurons of gray matter to appear gray, while cerebrospinal fluid (CSF) appears dark. The contrast of white matter, gray matter and cerebrospinal fluid is reversed using T2 or T imaging, whereas proton-density-weighted imaging provides little contrast in healthy subjects. Additionally, functional parameters such as cerebral blood flow (CBF), cerebral blood volume (CBV) or blood oxygenation can affect T1, T2, and T and so can be encoded with suitable pulse sequences.

In some situations it is not possible to generate enough image contrast to adequately show the anatomy or pathology of interest by adjusting the imaging parameters alone, in which case a contrast agent may be administered. This can be as simple as water, taken orally, for imaging the stomach and small bowel. However, most contrast agents used in MRI are selected for their specific magnetic properties. Most commonly, a paramagnetic contrast agent (usually a gadolinium compound) is given. Gadolinium-enhanced tissues and fluids appear extremely bright on T1-weighted images. This provides high sensitivity for detection of vascular tissues (e.g., tumors) and permits assessment of brain perfusion (e.g., in stroke).