Volume 3 · Medical imaging
Echo, Slice, Spin
How ultrasound, computed tomography, and magnetic resonance imaging turn sound, X-rays, and the spin of hydrogen nuclei into pictures of the inside of a living body, and the mathematics that makes each picture possible.
Three ways to see through skin
Every imaging method sends some form of energy into the body and measures what comes back or what gets through. What the image shows depends on which property of tissue changes that energy.
The four panels at the top show this. The three head images were computed from one simulated head, built from ellipses of scalp, skull, gray matter, white matter, fluid, a lesion with swelling around it, and a fresh blood clot pressing on the brain. Only the physics changes between them.
- Ultrasound sends pulses of sound and listens for echoes. It sees changes in acoustic impedance, the product of a tissue's density and its speed of sound, and the fine texture of scatterers inside organs. Sound cannot cross bone or gas well, which is why the ultrasound panel shows a liver instead of the head.
- Computed tomography sends X-rays through the body from hundreds of directions and measures how much gets through. It maps the linear attenuation coefficient, which depends mostly on electron density and atomic number. Bone is bright and the fresh clot is slightly brighter than brain.
- Magnetic resonance imaging tips the magnetism of hydrogen nuclei and listens to the radio signal they give off as they relax. It measures proton density and two relaxation times, \(T_1\) and \(T_2\), and the operator chooses how much each one counts. The same water-filled ventricles are dark in one MR image and bright in the other.
None of these methods photographs anatomy directly. Each one measures a physical quantity and reconstructs a map of it. The three parts of this volume follow each method from its discovery to the mathematics a scanner runs today.
- Contrast
- A difference in the measured quantity between two tissues. An image is useful when the tissues a doctor needs to tell apart differ in it.
- Resolution
- The smallest separation at which two small objects still appear as two. It is set by wavelength in ultrasound, by detector size and focal spot in CT, and by gradient strength and sampling in MRI.
- Tomography
- Imaging a single slice through the body without the overlying tissue, from the Greek tomos, a cut.
A shadow of everything at once
On 8 November 1895, Wilhelm Conrad Röntgen was studying cathode rays in his laboratory in Würzburg. He had covered his discharge tube in black cardboard, yet a screen coated with barium platinocyanide across the room began to glow. Some new radiation was passing through the cardboard.
Over the next seven weeks he found that the rays passed through paper, wood, and flesh, and were stopped by metal and bone. On 22 December he made an exposure of his wife Anna Bertha's hand, showing her bones and her ring. His paper, "On a New Kind of Rays," went to the Würzburg Physical-Medical Society on 28 December. Within weeks, physicians across Europe and North America were using X-rays to find bullets and set fractures. Röntgen received the first Nobel Prize in Physics in 1901.
Exponential attenuation
An X-ray beam passing through matter loses photons at a rate proportional to how many remain. For a narrow beam of single-energy photons crossing tissue with a linear attenuation coefficient \(\mu(x)\) that varies along the path, this gives the Beer–Lambert law:
At diagnostic energies, two interactions dominate. In the photoelectric effect, an inner-shell electron absorbs the whole photon. Its probability rises steeply with atomic number and falls steeply with energy, roughly as \(Z^3/E^3\). In Compton scattering, the photon bounces off a loosely bound electron and loses part of its energy. Its probability depends mainly on electron density and changes slowly with energy. Bone contains calcium (\(Z = 20\)) and phosphorus, while soft tissue is mostly hydrogen, carbon, nitrogen, and oxygen. At low energies the photoelectric effect makes bone far more opaque than soft tissue. At high energies Compton scattering takes over and the difference shrinks.
Why bone is white on an X-ray
The problem with shadows
A radiograph records the total attenuation along each line from the tube to the film. Everything along that line is superimposed. A rib lies on top of a lung nodule; the heart hides part of both lungs. Worse, soft tissues differ in attenuation by only a few percent. Gray matter and white matter differ by about 1%, far too little to see behind a skull that stops most of the beam.
In the 1930s, several inventors, among them Alessandro Vallebona in Italy and Bernard Ziedses des Plantes in the Netherlands, built "body-section" machines that moved the tube and film in opposite directions during an exposure. One plane stayed sharp while the others blurred. It helped, but the blurred planes still added haze. Seeing a true slice required measuring many projections and computing the slice from them. That idea had to wait for computers, and it is the subject of Part II.
Ultrasound: images from echoes
From submarine hunting to the obstetric scan
In 1880, Pierre and Jacques Curie found that certain crystals, quartz among them, produce a voltage when squeezed. The reverse is also true: a voltage makes the crystal change shape. This piezoelectric effect lets one device both send and receive sound, and it is still how every ultrasound probe works.
The sinking of the Titanic in 1912 and the submarine war that followed drove the first practical use. During the First World War, the French physicist Paul Langevin built quartz transducers that sent high-frequency sound into the sea and listened for echoes from submarines. Between the wars, the same echo-ranging principle became the industrial flaw detector, used to find cracks inside steel.
- Karl Dussik, a neurologist in Austria, passed ultrasound through the head to look for brain tumors. His "hyperphonograms" turned out to show mostly the skull, but his was the first attempt at diagnostic ultrasound.
- George Ludwig at the US Naval Medical Research Institute measured the speed of sound in many soft tissues and found an average of about 1540 m/s. Scanners still use that number.
- John Wild and John Reid in Minneapolis built echo-ranging instruments to examine bowel and breast tissue, and showed that tumors returned different echoes from normal tissue.
- Douglass Howry and colleagues in Denver published their first two-dimensional echo images, made by moving a transducer around a subject immersed in water. A 1954 version, the Somascope, mounted the transducer on the ring gear of a B-29 bomber's gun turret.
- Inge Edler and Hellmuth Hertz in Lund, Sweden, recorded the moving walls of the heart with an industrial flaw detector. This began echocardiography.
- Shigeo Satomura in Osaka used the Doppler effect in ultrasound to detect heart and blood vessel motion.
- Ian Donald, John MacVicar, and the engineer Tom Brown in Glasgow published "Investigation of abdominal masses by pulsed ultrasound" in The Lancet. They used a contact scanner on the skin rather than a water tank. Their images separated fluid-filled cysts from solid masses, and within a few years the method was measuring fetal heads.
- Real-time scanners that sweep the beam many times per second replaced slow hand-swept "static" scanners, and gray-scale display replaced bright-or-dark images.
- Chihiro Kasai and colleagues described a fast autocorrelation method for estimating blood velocity at every pixel, the basis of color Doppler imaging.
- Probes small enough to plug into a phone, some built on a single silicon chip, brought ultrasound to the bedside and to clinics without imaging departments.
Ultrasound became the most widely used cross-sectional imaging method in the world because of three properties. It uses no ionizing radiation, it shows motion in real time, and the equipment is small and comparatively cheap. Its limits come from physics: sound does not cross gas or bone well, and its resolution trades off against how deep it can see. The next four chapters explain why.
Echoes, impedance, and attenuation
Diagnostic ultrasound uses sound between about 2 and 15 megahertz, far above human hearing. A probe sends a pulse lasting a microsecond or less, then listens. Each echo's arrival time gives the depth of the boundary that reflected it.
Sound in soft tissue travels at roughly \(c = 1540\ \text{m/s}\), or 1.54 millimeters per microsecond. The wavelength is \(\lambda = c/f\): 0.44 mm at 3.5 MHz and 0.15 mm at 10 MHz. An echo from depth \(d\) makes a round trip, so it returns after
An echo from 10 cm returns after 130 microseconds. The scanner must wait that long before firing the next pulse along the same line, or it cannot tell which pulse an echo belongs to. This sets the speed limit of ultrasound imaging.
What reflects sound
Each tissue has an acoustic impedance \(Z = \rho c\), its density times its speed of sound, measured in rayls (kg·m⁻²·s⁻¹). Where a pulse meets a flat boundary between impedances \(Z_1\) and \(Z_2\) head-on, the fraction of intensity reflected is
Soft tissues all have impedances near 1.6 million rayls, so boundaries between them reflect well under 1% of the sound and the rest continues deeper. That is what makes imaging possible: most of the pulse survives to reach the next boundary. Bone, at about 7.8 million rayls, reflects around 40%. Air, at 0.0004 million rayls, reflects 99.9%. A thin layer of air between probe and skin would stop the sound almost completely, which is why every scan starts with coupling gel.
Most of the gray texture inside organs does not come from these mirror-like boundaries. It comes from scattering by structures smaller than a wavelength, such as cells, connective tissue, and small vessels. Their echoes interfere with each other to produce a granular pattern called speckle. Speckle carries information about the tissue, but its grains are an interference pattern, not individual structures.
Attenuation
Tissue also absorbs and scatters energy along the way. In soft tissue, attenuation in decibels grows roughly in proportion to both distance and frequency:
An echo travels both ways, so a 5 MHz echo from 8 cm deep has lost about \(2 \times 0.5 \times 5 \times 8 = 40\) dB, a factor of 10,000 in intensity. Higher frequencies give shorter wavelengths and sharper images, but they die out sooner. This trade-off decides which probe a sonographer picks: about 2 to 5 MHz for the abdomen and heart, 7 to 15 MHz for shallow structures such as the thyroid, tendons, and blood vessels in the neck.
One line of echoes
| Boundary | Reflected | Echo at µs | Shown at cm | Level dB |
|---|
Steering and focusing sound with delays
Early scanners used a single crystal and swept it by hand or with a motor. A modern probe holds a row of 64 to 256 or more tiny piezoelectric elements, each wired to its own transmit and receive channel. Nothing moves. The beam is steered and focused electronically by firing the elements at slightly different times.
To focus at a point \((x_f, z_f)\), the scanner fires the outer elements first and the center elements last, so that every wavelet arrives at the focus at the same instant. For element \(n\) at position \(x_n\), the distance to the focus is \(r_n\) and the firing delay is
Moving the focus sideways steers the beam. On receive, the scanner applies the same delays in software to the signals from each element before adding them. This is called delay-and-sum beamforming. Echoes from the focus add in phase and echoes from elsewhere partly cancel. Modern scanners update the receive delays continuously as echoes arrive from deeper, so the receive focus follows the pulse down. This is dynamic focusing.
The width of the focused beam sets the lateral resolution. It is roughly the wavelength times the f-number, the focal depth divided by the width of the active aperture:
Element spacing matters too. If elements are more than half a wavelength apart, the array produces grating lobes: extra beams pointing in other directions, which pick up echoes from the wrong place. Phased-array probes for the heart, which steer the beam through wide angles from a small window between the ribs, use spacing near half a wavelength for this reason.
Delays make a beam
Measuring blood flow
Sound reflected from moving blood cells comes back at a slightly different frequency. Christian Doppler described the effect for light in 1842. In ultrasound, the shift is small enough to fall in the audible range, and early Doppler instruments simply played it through a loudspeaker.
Red blood cells moving at speed \(v\), at angle \(\theta\) to the beam, shift a transmitted frequency \(f_0\) by
The factor of 2 appears because the cells first receive a shifted frequency and then re-emit it while moving. Blood at 1 m/s, imaged at 5 MHz along the flow, shifts the frequency by about 6.5 kHz. Only the component of velocity along the beam counts. At \(\theta = 90°\), \(\cos\theta = 0\) and flow is invisible. The operator marks the vessel direction so the machine can divide by \(\cos\theta\), and errors in that angle grow quickly above 60°.
Pulsed Doppler and aliasing
Pulsed Doppler measures velocity at a chosen depth by timing which echoes it listens to. It samples the shift once per pulse, at the pulse repetition frequency (PRF). By the Nyquist sampling theorem, a sampled signal can only represent frequencies up to half the sampling rate. Faster flow aliases: its spectrum wraps around and appears to flow the other way.
The PRF itself is limited by depth, because each echo must return before the next pulse: \(\text{PRF} \le c/2d\). Deep, fast flow, such as a jet through a narrowed heart valve, is therefore hard to measure with pulsed Doppler. Lowering \(f_0\) helps, as does continuous-wave Doppler, which transmits and receives all the time on separate elements and gives up depth information entirely.
Color Doppler estimates the mean shift at thousands of points per frame and paints it over the gray image, by convention red for flow toward the probe and blue for flow away.
A spectral Doppler trace, and how it aliases
From echo lines to a picture
A B-mode ("brightness mode") image is a fan or rectangle of echo lines, each like the one in Figure 3.1, with echo strength drawn as brightness. A typical scanner forms 100 to 250 lines per frame and 20 to 60 frames per second.
Turning raw echoes into a picture takes several steps. The received signal is amplified, with gain that rises with depth to cancel average attenuation; this is time-gain compensation (TGC), and sonographers adjust it with a column of sliders. The scanner then extracts the envelope of each echo and compresses its enormous range logarithmically. Echoes span 100 dB or more, a factor of ten billion in power, while a display shows perhaps 256 gray levels. The dynamic range setting chooses how many decibels map from black to white. Finally, the lines are interpolated from the probe's polar geometry onto screen pixels, called scan conversion.
Artifacts that carry information
Ultrasound images contain predictable artifacts, and some of them help diagnosis. TGC assumes average soft-tissue attenuation, so anything that attenuates more or less than that changes the brightness of everything behind it.
- Acoustic shadowing. A gallstone or calcification reflects and absorbs most of the beam, leaving a dark stripe behind it.
- Posterior enhancement. Fluid attenuates very little, so tissue behind a cyst looks brighter than tissue beside it. Enhancement is one of the signs that a mass is a simple cyst.
- Reverberation and mirror images. Strong reflectors such as the diaphragm, with air-filled lung behind it, can bounce sound back and forth and place false copies of structures at the wrong depth.
- Speckle. The granular texture changes with frequency and probe position because it is an interference pattern.
A simulated liver scan
Computed tomography: slices from shadows
Recovering a function from its line integrals
In 1917 the Austrian mathematician Johann Radon published a paper answering a pure question: if you know the integral of a function along every straight line in the plane, can you recover the function? He showed that you can, and gave an inversion formula.
Take the logarithm of the Beer–Lambert law and each X-ray measurement becomes exactly such a line integral:
Describe each line by its angle \(\theta\) and its signed distance \(s\) from the center. The collection of all line integrals is the Radon transform of \(\mu\):
Arranged as an image, with angle on one axis and detector position on the other, \(p(\theta, s)\) is called a sinogram, because a single point in the body traces a sine curve across it.
Radon's paper sat unread by physicians for half a century. Allan Cormack, a South African physicist working part-time as a hospital physicist in Cape Town, became interested in the 1950s in how radiation therapy doses depended on the uneven attenuation of the body. Unaware of Radon, he worked out a method for reconstructing attenuation from line measurements, tested it on a cylinder of aluminum and wood, and published it in the Journal of Applied Physics in 1963 and 1964. He later recalled that the papers received almost no response.
Others solved the same problem in other fields. Ronald Bracewell reconstructed maps of solar microwave emission in radio astronomy in 1956. In 1971 G. N. Ramachandran and A. V. Lakshminarayanan published the convolution method that most CT scanners would later use, motivated by electron microscopy and X-ray images.
Hounsfield's machine
Godfrey Hounsfield was an engineer at EMI, the British company better known for records. He had designed one of Britain's first all-transistor computers. In the late 1960s, looking for a new project, he asked whether a computer could pick out the internal structure of an object from X-ray readings taken from many directions.
He built a laboratory rig with a gamma-ray source on a lathe bed; it took days to scan a test object. With support from the British Department of Health and Social Security, EMI built a clinical prototype for the head. The patient's head sat in a rubber cap inside a box of water, which evened out the path lengths through the skull. A source and detector translated across the head, took readings, rotated by one degree, and repeated, through 180°. Each scan took about four minutes, and the computer needed several more minutes to reconstruct each image.
On 1 October 1971, at Atkinson Morley's Hospital in Wimbledon, London, the radiologist James Ambrose and Hounsfield scanned a woman with a suspected brain tumor. The image showed a dark cystic mass in the frontal lobe, and the surgeon who removed it reportedly said it looked just like the picture. The results were presented in April 1972, and the 1973 papers by Hounsfield and Ambrose in the British Journal of Radiology launched the field. For the first time, physicians could see the brain itself, its ventricles, and blood within it, without surgery or painful injections of air.
Hounsfield's first reconstructions used an iterative method, repeatedly correcting a guess until its projections matched the measurements. Within a few years, scanners adopted the faster filtered back-projection described next. Robert Ledley at Georgetown built the first whole-body scanner, the ACTA, which entered clinical use in 1973. Hounsfield and Cormack, who had never met, shared the 1979 Nobel Prize in Physiology or Medicine.
- First clinical scan, EMI head scanner. Translate-rotate geometry with a pencil beam; 80 × 80 pixel images.
- Fan beams and multiple detectors shorten scans to under a minute.
- "Third-generation" rotate-rotate design: tube and a curved detector arc spin together around the patient. Most scanners today use it.
- Slip rings and helical scanning: continuous rotation while the table moves (Chapter 11).
- Multi-slice scanners record four slices per rotation, then 16, 64, and today up to several hundred.
- The first photon-counting CT scanner is cleared by the US Food and Drug Administration.
Smearing back, and why it needs a filter
The simplest way to rebuild a slice from its projections is to run each projection backward: smear each measured value evenly along the line it came from, and add up the smears from every angle. This is back-projection. A point object produces a star of lines that overlap at the right place. But every point also leaves a halo that falls off as \(1/r\), so plain back-projection gives a blurred image.
The Fourier slice theorem
The exact fix comes from the Fourier transform. Take the one-dimensional Fourier transform of a projection at angle \(\theta\). The result equals the two-dimensional Fourier transform of the slice, sampled along a line through the origin at the same angle:
So each projection fills in one spoke of the slice's 2-D spectrum. Spokes crowd together near the center and spread apart at the edge: low spatial frequencies are oversampled and high ones undersampled, by a factor proportional to \(|\omega|\). That imbalance is exactly the \(1/r\) blur. Multiplying each projection's spectrum by \(|\omega|\), a ramp filter, before back-projecting removes it:
In practice, the ramp is applied by convolving each projection with a short kernel in the detector direction. Ramachandran and Lakshminarayanan gave the discrete kernel in 1971; in 1974 Larry Shepp and Benjamin Logan published a gentler version along with the "head phantom" of overlapping ellipses that has been the standard test object ever since. The phantom in these figures is loosely modeled on it.
The ramp amplifies high frequencies, and that is where noise lives. Real scanners roll the ramp off at high frequencies with a choice of reconstruction kernels: smooth kernels for soft tissue, sharp ones for bone and lung, trading noise against detail.
Scan, sinogram, reconstruction
Hounsfield units and the window
A CT scanner reports each pixel not as a raw attenuation coefficient but as a CT number, on a scale anchored to water and air. In Hounsfield's honor, the unit is the Hounsfield unit (HU):
Water is 0 and air is −1000 by definition. Fat sits near −100, most soft tissue between 20 and 60, fresh blood 50 to 80 (higher than brain, which is why a new hemorrhage looks bright), and dense bone above 1000. Because the scale is calibrated, the numbers themselves carry diagnostic meaning: a kidney mass measuring near 0 HU is very likely a simple cyst, and an adrenal nodule under 10 HU is very likely benign lipid-rich adenoma.
Windowing
CT numbers span more than 4000 HU, but the eye can distinguish perhaps 50 to 100 shades of gray at once. A display can't show a 10 HU difference between gray and white matter and a 2000 HU range of bone at the same time. So the viewer picks a window: a width \(W\) and a center, or level, \(L\). Values below \(L - W/2\) are black, values above \(L + W/2\) are white, and the window is stretched linearly between them. Radiologists page through standard windows for each study: a narrow brain window, a wider one for blood next to bone, a very wide bone window, a lung window centered far below zero.
One set of numbers, many pictures
Point at the image to read a pixel value.
Spirals, rows of detectors, and dose
Early scanners stopped after every slice: rotate, stop, unwind the cables, move the table, repeat. Slip rings, which carry power and data across a rotating joint, allowed the gantry to spin continuously. In 1989 Willi Kalender and colleagues at Siemens presented spiral (helical) CT, in which the table moves steadily while the tube rotates, tracing a helix around the patient. A whole chest could be scanned in one breath-hold, and interpolation recovered slices at any position.
Multi-slice scanners followed in 1998, with several rows of detectors side by side. Today's scanners have 64 to 320 or more rows, rotate in about a quarter of a second, and can cover the heart in a single beat. Dual-energy scanners take two images at different tube voltages and use the energy dependence from Chapter 1 to separate materials such as iodine, calcium, and uric acid. Photon-counting detectors, cleared for clinical use in 2021, measure the energy of each photon individually.
Dose
CT gives more information than a radiograph and a far larger radiation dose. Radiation risk is described with the effective dose, in sieverts. It weights the absorbed dose in each organ by that organ's sensitivity, so that doses to different parts of the body can be compared on one scale:
Image noise and dose are linked by photon statistics. The noise in a measurement of \(N\) photons is \(\sqrt N\), so halving the noise requires four times the dose. Every CT protocol is a negotiation between image quality and dose, guided by the principle of keeping dose "as low as reasonably achievable" (ALARA). Tube current modulation, iterative and deep-learning reconstruction, and protocols sized for children have all reduced typical doses.
How much risk such doses carry is uncertain. Estimates at these levels are extrapolated from higher-dose data, mainly from survivors of the atomic bombings, under the linear no-threshold model. In 2007 David Brenner and Eric Hall estimated that more than 62 million CT scans a year were performed in the US and warned that a small fraction of future cancers might be attributable to them. That projection is debated, but the response, including the Image Gently campaign for children, made dose a routine part of CT practice.
Typical effective doses
Magnetic resonance: listening to protons
Spinning nuclei in a magnet
Many atomic nuclei behave like tiny bar magnets. The hydrogen nucleus, a single proton, has a property called spin and a magnetic moment that goes with it. In 1938 Isidor Rabi measured nuclear magnetic moments in molecular beams by flipping them with radio waves. In 1946 Felix Bloch at Stanford and Edward Purcell at Harvard independently detected the same resonance in ordinary bulk matter: water and paraffin wax. They shared the 1952 Nobel Prize in Physics.
Precession and the Larmor frequency
Put protons in a strong magnetic field \(B_0\). Each magnetic moment precesses around the field like a tilted spinning top, at the Larmor frequency
At 1.5 tesla, about 30,000 times the Earth's field, hydrogen resonates at 63.9 MHz, in the FM radio range; at 3 T, at 127.7 MHz. Slightly more protons align with the field than against it. At body temperature and 1.5 T the excess is only about 5 in a million, but a milliliter of water holds about \(7 \times 10^{22}\) protons, so the tiny excess adds up to a measurable net magnetization \(\mathbf M\) pointing along the field.
Excitation and relaxation
A pulse of radio waves at the Larmor frequency tips \(\mathbf M\) away from the field by a flip angle. After a 90° pulse, \(\mathbf M\) lies in the transverse plane and precesses, and its rotating magnetism induces a voltage in a receiver coil. That voltage is the MR signal. It then fades in two separate ways, described by the equations Bloch published in 1946:
- \(T_2\), transverse relaxation. Neighboring protons feel slightly different fields from each other, precess at slightly different rates, and fall out of step. The transverse magnetization decays as \(e^{-t/T_2}\), over tens to hundreds of milliseconds in tissue. Free water stays in step for seconds; protons in solids or large molecules lose phase quickly.
- \(T_1\), longitudinal relaxation. The protons hand energy to their surroundings and realign with the field. \(M_z\) recovers as \(M_0(1 - e^{-t/T_1})\), over hundreds of milliseconds to seconds.
Imperfections in the magnet add extra dephasing, so the signal actually decays faster, with a time constant \(T_2^*\). In 1950 Erwin Hahn discovered that a second pulse can reverse this extra dephasing and bring the protons back into step, producing a spin echo. The spin echo recovers true \(T_2\) decay and is the basis of the classic MRI pulse sequence.
Tip, precess, relax
Gradients turn position into frequency
For a quarter century, NMR was a tool of chemistry, used to identify molecules from tiny shifts in their resonant frequencies. It produced spectra, not pictures. The question was how to tell where in a sample a signal came from.
In 1971 Raymond Damadian, a physician at the State University of New York Downstate, reported in Science that relaxation times of tumors in rats were longer than those of normal tissue. He proposed using NMR to detect cancer, and filed a patent on a scanning apparatus in 1972. His group's first full-body human scan, made with a machine they called Indomitable, took almost five hours in 1977.
The method every scanner uses came from Paul Lauterbur, a chemist at Stony Brook. His insight, in 1971, was to add a magnetic field gradient, a field that changes linearly across the sample. Then the resonant frequency depends on position:
The frequency spectrum of the signal becomes a projection of the object along the gradient direction. Rotating the gradient gives projections from many angles, and the reconstruction methods of Part II rebuild an image. Nature at first rejected his paper; it appeared in 1973 with images of two tubes of water and the coined name "zeugmatography." Working independently in Nottingham, Peter Mansfield used gradients to describe NMR signals in terms of spatial frequency, the idea behind k-space, and later developed echo-planar imaging, which can record a whole image after a single excitation.
In 1975 Richard Ernst's group in Zürich replaced Lauterbur's rotating projections with Fourier encoding along two axes, and in 1980 William Edelstein and colleagues in Aberdeen refined it into the "spin-warp" method that clinical scanners still use. Commercial scanners reached hospitals in the early 1980s. Lauterbur and Mansfield shared the 2003 Nobel Prize in Physiology or Medicine. Damadian was not included, and he protested with full-page newspaper advertisements; the decision remains disputed.
Three gradients, three jobs
- Slice selection. A gradient along the body during a narrow-band radio pulse means only one slab resonates.
- Frequency encoding. A gradient during readout makes each column of the slice sing at its own frequency.
- Phase encoding. A brief gradient before readout gives each row a different phase twist. Repeating the sequence with different gradient strengths separates the rows.
The gradient coils switch thousands of times a second inside a strong magnet, and the Lorentz forces on them produce the loud knocking that patients hear.
Choosing contrast with timing
A CT number is a fixed physical property. MR brightness is not: the operator decides it. The same tissue can be bright or dark depending on when pulses are applied and when the signal is read.
A spin echo sequence repeats an excitation every repetition time TR and reads the echo at echo time TE. Between excitations, \(M_z\) recovers according to \(T_1\); after each excitation, the signal decays according to \(T_2\). Ignoring smaller terms, the signal from a tissue with proton density \(\rho\) is
- T1-weighted (short TR, short TE): tissues that recover quickly, like fat and white matter, are bright; fluid, with its long \(T_1\), is dark. Good for anatomy.
- T2-weighted (long TR, long TE): tissues that hold their signal, like fluid and edema, are bright. Most disease increases water content, so T2-weighted images are sensitive to it.
- Proton density (long TR, short TE): both relaxation terms near 1, so brightness follows the number of protons.
Inversion recovery
An extra 180° pulse at the start flips \(M_z\) to \(-M_0\). It then recovers through zero. A tissue whose magnetization is crossing zero when the excitation pulse arrives, after an inversion time TI, gives no signal:
Choosing TI to null cerebrospinal fluid gives FLAIR (fluid-attenuated inversion recovery), a T2-weighted image with dark fluid, so lesions next to the ventricles stand out. Nulling fat instead gives STIR, used to see swelling in bone and soft tissue.
Contrast agents
Gadolinium-based agents, first approved in 1988, shorten \(T_1\) wherever they reach, brightening vessels and tissues with a leaky blood–brain barrier, such as many tumors. In 2006 they were linked to a rare scarring disease, nephrogenic systemic fibrosis, in patients with severe kidney failure, and in 2014 small amounts of gadolinium were found to remain in the brain after repeated doses. Agents with more stable molecular structures and screening for kidney function have made NSF rare; the significance of retained gadolinium is still being studied.
Same head, different weighting
The scanner measures a Fourier transform
With gradients switched on, the signal from each point in the slice picks up a phase that depends on its position and on the gradient history. Defining the spatial frequency reached at time \(t\),
the received signal is
This is the two-dimensional Fourier transform of the image, evaluated at \(\mathbf k(t)\). The scanner does not measure pixels at all. It measures Fourier coefficients, one point of k-space at a time, and the gradients steer the path. Donald Twieg and Stig Ljunggren formalized this view in 1983. A standard sequence reads one horizontal line of k-space per repetition, stepping the phase-encoding gradient to choose which line.
Two sampling rules follow from Fourier theory. The spacing between samples sets the field of view, and the farthest sample sets the pixel size:
The center of k-space holds the low spatial frequencies, which set overall brightness and contrast. The edges hold fine detail and sharp edges. Every point in k-space contributes to every pixel in the image.
Scan time
For a conventional sequence, scan time is the number of phase-encoding lines times TR, times the number of averages. A 256-line T2-weighted spin echo with a 4-second TR would take 17 minutes. That is why so much MRI research is about acquiring fewer lines, or more lines per repetition:
- Fast spin echo (Jürgen Hennig's RARE, 1986) records many echoes, each on a different k-space line, after one excitation.
- Parallel imaging, introduced as SMASH (1997), SENSE (1999), and GRAPPA (2002), uses the different sensitivity patterns of many receiver coils to fill in skipped lines.
- Compressed sensing (Lustig, Donoho, and Pauly, 2007) skips lines at random and reconstructs by exploiting the fact that medical images are sparse in some representation. Random skipping turns aliasing into noise-like artifacts that an iterative algorithm can remove.
- Deep-learning reconstruction, trained on large sets of fully sampled scans, now runs on clinical scanners and allows further undersampling.
Sampling k-space
Function, diffusion, and safety
Because MR signal depends on so many properties of tissue, sequences can be designed to measure things other than anatomy.
Blood oxygen and the working brain
Deoxygenated hemoglobin is paramagnetic, and it shortens \(T_2^*\) in and around blood vessels. In 1990 Seiji Ogawa and colleagues at Bell Laboratories showed that this made MR images of rat brains depend on blood oxygenation, the BOLD contrast. When a brain region becomes active, local blood flow overshoots its oxygen use, deoxyhemoglobin falls, and the signal rises by a few percent. Within two years several groups had mapped human brain activity this way. Functional MRI became the main tool of human cognitive neuroscience, though the signal is an indirect, delayed measure of neural activity.
Diffusion
Strong gradient pulses applied in pairs make the signal sensitive to the random motion of water molecules over a few tens of microns. The signal falls as \(S = S_0 e^{-bD}\), where \(D\) is the diffusion coefficient and \(b\) measures the gradient strength and timing. In acute stroke, swelling cells restrict water motion within minutes, and the affected brain appears bright on diffusion-weighted images long before it changes on CT. Measuring diffusion in many directions traces the orientation of white matter fibers, the basis of tractography.
Safety
MRI uses no ionizing radiation, but it has hazards of its own.
- The static field is always on. Iron-containing objects become projectiles; in 2001 a six-year-old boy in New York was killed by an oxygen cylinder pulled into a scanner. Screening of everyone entering the magnet room, and of implants, is mandatory.
- Radio-frequency heating. Pulses deposit energy in tissue. Regulators limit the specific absorption rate, typically to 2 W/kg averaged over the whole body in normal operation, and wires or leads can concentrate heating.
- Gradient switching can stimulate peripheral nerves and produces sound levels that can exceed 100 dB, so patients wear hearing protection.
Ultrasound is limited in a parallel way. Its energy can heat tissue and, at high pressures, cause cavitation, so scanners display a thermal index and a mechanical index and stay below regulatory limits. Its safety record at diagnostic levels is excellent, but professional bodies still advise using the lowest output that answers the clinical question, especially in early pregnancy.
Choosing a scan, and what comes next
The three methods compete less than their histories suggest. Each answers different questions, and a single patient often has all three.
| Method | Measures | Typical resolution | Time | Ionizing | Strengths | Limits |
|---|---|---|---|---|---|---|
| Ultrasound | Acoustic impedance, scattering, motion | 0.1–1 mm, best near the probe | Real time | No | Bedside, cheap, shows motion and flow, guides needles | Blocked by gas and bone; quality depends on the operator and body habitus |
| CT | X-ray attenuation (HU) | About 0.5 mm, nearly equal in all directions | Seconds | Yes | Fast, widely available, excellent for bone, lung, bleeding, trauma | Radiation dose; limited soft-tissue contrast without iodine contrast |
| MRI | Proton density, \(T_1\), \(T_2\), diffusion, flow, and more | About 0.5–1 mm in-plane | 15–60 minutes per exam | No | Best soft-tissue contrast; brain, spine, joints, liver, prostate, heart | Slow, costly, loud; implants and claustrophobia can exclude patients |
A head injury in the emergency department goes to CT, because it takes seconds and shows fresh blood and fractures. A suspected stroke may go to CT first to rule out bleeding, then to diffusion MRI. A pregnant patient gets ultrasound. A knee with a torn ligament gets MRI. These choices follow directly from the physics in the earlier chapters.
The frontier
- Photon-counting CT measures each X-ray photon's energy, giving sharper images, lower noise at a given dose, and material separation in every scan.
- Low-field and portable MRI. A 0.064 T scanner that rolls to the bedside was cleared by the FDA in 2020. Its images are noisier, but it plugs into a wall socket, which matters in intensive care and in countries with few scanners. At the other end, 7 T scanners entered clinical use in 2017.
- Handheld and wearable ultrasound put imaging in a pocket. Ultrafast imaging with unfocused plane waves reaches thousands of frames per second, enough to track shear waves that measure tissue stiffness, used to stage liver fibrosis without a biopsy.
- Learned reconstruction. Neural networks trained on large public datasets, such as the fastMRI collection released in 2018, now reconstruct from far fewer measurements in both CT and MRI. The open question is how to be sure that a network that fills in missing data never invents or erases a lesion.
Every method in this volume solves an inverse problem: given measurements outside the body, infer a map inside it. Radon's transform for CT, the Fourier transform for MRI, and delay-and-sum for ultrasound are the classical answers. Most of the progress since has come from collecting less data, faster, and recovering the same image from it.
Glossary
- Acoustic impedance (Z)
- Density times speed of sound. Differences in Z at a boundary determine how much sound reflects.
- Aliasing
- False signal caused by sampling too slowly: wrapped Doppler spectra in ultrasound, and fold-over in MRI when the field of view is smaller than the object.
- Back-projection
- Smearing each projection back along the lines it was measured on. With a ramp filter it becomes filtered back-projection (FBP).
- B-mode
- Brightness mode: the standard gray-scale ultrasound image.
- BOLD
- Blood-oxygen-level-dependent contrast, the signal measured in functional MRI.
- Effective dose
- A weighted sum of organ doses, in sieverts, used to compare radiation risk between exams.
- Flip angle
- How far a radio-frequency pulse tips the magnetization away from the main field.
- FLAIR
- Fluid-attenuated inversion recovery: an MR sequence that nulls the signal from cerebrospinal fluid.
- Gradient
- A magnetic field that varies linearly with position, used in MRI to encode location as frequency or phase.
- Hounsfield unit (HU)
- The CT number scale: water 0, air −1000.
- k-space
- The spatial-frequency domain in which MRI data are acquired; the image is its inverse Fourier transform.
- Larmor frequency
- The precession frequency of a nucleus in a magnetic field, \(\gamma B_0\); 42.58 MHz per tesla for hydrogen.
- Piezoelectric
- Producing a voltage when deformed, and deforming under a voltage. Ultrasound transducers rely on it.
- PRF
- Pulse repetition frequency: how many ultrasound pulses per second are sent along a line.
- Sinogram
- CT projection data arranged by angle and detector position.
- Speckle
- The granular interference texture of ultrasound images.
- Spin echo
- A signal revived by a refocusing pulse that reverses dephasing from static field differences.
- T1, T2, T2*
- Longitudinal recovery time, transverse decay time, and transverse decay time including field inhomogeneity.
- TE, TR, TI
- Echo time, repetition time, and inversion time: the timing parameters of an MR pulse sequence.
- TGC
- Time-gain compensation: depth-dependent amplification of ultrasound echoes.
- Window and level
- The range of CT numbers mapped from black to white, and its center.
Sources
- Röntgen, W. C. (1895). Über eine neue Art von Strahlen. Sitzungsberichte der Physikalisch-Medizinischen Gesellschaft zu Würzburg.
- Hubbell, J. H. & Seltzer, S. M. Tables of X-Ray Mass Attenuation Coefficients and Mass Energy-Absorption Coefficients. NIST Standard Reference Database 126.
- Bushberg, J. T., Seibert, J. A., Leidholdt, E. M. & Boone, J. M. (2012). The Essential Physics of Medical Imaging, 3rd ed. Lippincott Williams & Wilkins.
- Kevles, B. H. (1997). Naked to the Bone: Medical Imaging in the Twentieth Century. Rutgers University Press.
- Dussik, K. T. (1942). Über die Möglichkeit, hochfrequente mechanische Schwingungen als diagnostisches Hilfsmittel zu verwerten. Zeitschrift für die gesamte Neurologie und Psychiatrie 174.
- Ludwig, G. D. (1950). The velocity of sound through tissues and the acoustic impedance of tissues. Journal of the Acoustical Society of America 22.
- Wild, J. J. & Reid, J. M. (1952). Application of echo-ranging techniques to the determination of structure of biological tissues. Science 115.
- Howry, D. H. & Bliss, W. R. (1952). Ultrasonic visualization of soft tissue structures of the body. Journal of Laboratory and Clinical Medicine 40.
- Edler, I. & Hertz, C. H. (1954). The use of ultrasonic reflectoscope for the continuous recording of the movements of heart walls. Kungliga Fysiografiska Sällskapets i Lund Förhandlingar 24.
- Satomura, S. (1957). Ultrasonic Doppler method for the inspection of cardiac functions. Journal of the Acoustical Society of America 29.
- Donald, I., MacVicar, J. & Brown, T. G. (1958). Investigation of abdominal masses by pulsed ultrasound. The Lancet 271(7032).
- Kasai, C., Namekawa, K., Koyano, A. & Omoto, R. (1985). Real-time two-dimensional blood flow imaging using an autocorrelation technique. IEEE Transactions on Sonics and Ultrasonics 32.
- Radon, J. (1917). Über die Bestimmung von Funktionen durch ihre Integralwerte längs gewisser Mannigfaltigkeiten. Berichte über die Verhandlungen der Sächsischen Akademie der Wissenschaften zu Leipzig, Math.-Phys. Klasse 69.
- Cormack, A. M. (1963, 1964). Representation of a function by its line integrals, with some radiological applications, I and II. Journal of Applied Physics 34 and 35.
- Bracewell, R. N. (1956). Strip integration in radio astronomy. Australian Journal of Physics 9.
- Ramachandran, G. N. & Lakshminarayanan, A. V. (1971). Three-dimensional reconstruction from radiographs and electron micrographs. Proceedings of the National Academy of Sciences 68.
- Hounsfield, G. N. (1973). Computerized transverse axial scanning (tomography). Part 1: Description of system. Ambrose, J. (1973). Part 2: Clinical application. British Journal of Radiology 46.
- Shepp, L. A. & Logan, B. F. (1974). The Fourier reconstruction of a head section. IEEE Transactions on Nuclear Science 21.
- Kalender, W. A., Seissler, W., Klotz, E. & Vock, P. (1990). Spiral volumetric CT with single-breath-hold technique, continuous transport, and continuous scanner rotation. Radiology 176.
- Mettler, F. A., Huda, W., Yoshizumi, T. T. & Mahesh, M. (2008). Effective doses in radiology and diagnostic nuclear medicine: a catalog. Radiology 248.
- National Council on Radiation Protection and Measurements (2009). Ionizing Radiation Exposure of the Population of the United States. NCRP Report No. 160.
- Brenner, D. J. & Hall, E. J. (2007). Computed tomography: an increasing source of radiation exposure. New England Journal of Medicine 357.
- Bloch, F., Hansen, W. W. & Packard, M. (1946). Nuclear induction. Physical Review 69; Bloch, F. (1946). Nuclear induction. Physical Review 70.
- Purcell, E. M., Torrey, H. C. & Pound, R. V. (1946). Resonance absorption by nuclear magnetic moments in a solid. Physical Review 69.
- Hahn, E. L. (1950). Spin echoes. Physical Review 80.
- Damadian, R. (1971). Tumor detection by nuclear magnetic resonance. Science 171.
- Lauterbur, P. C. (1973). Image formation by induced local interactions: examples employing nuclear magnetic resonance. Nature 242.
- Mansfield, P. & Grannell, P. K. (1973). NMR "diffraction" in solids? Journal of Physics C 6.
- Kumar, A., Welti, D. & Ernst, R. R. (1975). NMR Fourier zeugmatography. Journal of Magnetic Resonance 18.
- Edelstein, W. A., Hutchison, J. M. S., Johnson, G. & Redpath, T. (1980). Spin warp NMR imaging and applications to human whole-body imaging. Physics in Medicine and Biology 25.
- Twieg, D. B. (1983). The k-trajectory formulation of the NMR imaging process with applications in analysis and synthesis of imaging methods. Medical Physics 10; Ljunggren, S. (1983). A simple graphical representation of Fourier-based imaging methods. Journal of Magnetic Resonance 54.
- Ogawa, S., Lee, T. M., Kay, A. R. & Tank, D. W. (1990). Brain magnetic resonance imaging with contrast dependent on blood oxygenation. Proceedings of the National Academy of Sciences 87.
- Sodickson, D. K. & Manning, W. J. (1997). SMASH. Magnetic Resonance in Medicine 38; Pruessmann, K. P. et al. (1999). SENSE. MRM 42; Griswold, M. A. et al. (2002). GRAPPA. MRM 47.
- Lustig, M., Donoho, D. & Pauly, J. M. (2007). Sparse MRI: the application of compressed sensing for rapid MR imaging. Magnetic Resonance in Medicine 58.
- Grobner, T. (2006). Gadolinium: a specific trigger for the development of nephrogenic fibrosing dermopathy and nephrogenic systemic fibrosis? Nephrology Dialysis Transplantation 21; Kanda, T. et al. (2014). High signal intensity in the dentate nucleus and globus pallidus on unenhanced T1-weighted MR images. Radiology 270.
- Zbontar, J. et al. (2018). fastMRI: an open dataset and benchmarks for accelerated MRI. arXiv:1811.08839.
- The Nobel Prize: Physics 1901 (Röntgen) and 1952 (Bloch, Purcell); Physiology or Medicine 1979 (Cormack, Hounsfield) and 2003 (Lauterbur, Mansfield). nobelprize.org.