Biology / How MRI and CT scans work

How MRI and CT scans work

Two ways to see inside the body without opening it: CT builds slices from X-ray shadows taken at many angles, MRI listens to hydrogen nuclei in a strong magnet.

Intermediate7 steps~7 min
X-ray — crosses the body; dense tissue absorbs it
Detector — measures what got through
Hydrogen nucleus — a tiny magnet; the body is full of them
Radio signal — what the nuclei send back
// THE SHORT VERSION

In 30 seconds

A CT scan takes X-ray shadows of the body from many angles and lets a computer combine them into cross-section slices. It is fast and very good at bone, lungs and bleeding.

An MRI scan uses a strong magnet and radio pulses instead. Hydrogen nuclei in the body answer the pulses with faint radio signals, and tissues differ in how they answer, which gives detailed pictures of soft tissue.

CT involves a small dose of ionising radiation. MRI does not, but its magnet makes metal dangerous.

How MRI and CT scans work, step by step

STEPS01 / 07

Simplified: real CT uses fan beams and faster maths than hand algebra, and MRI nuclei spin around the field rather than simply pointing. The drawings exaggerate how many nuclei line up.

STEP 01 / 07 An X-ray is a shadow
THE MATH
dense tissue: absorbs more soft tissue: absorbs less picture = the shadow
  1. Step 1: An X-ray is a shadow. X-rays pass through the body, but not equally: dense bone absorbs far more than soft tissue or air-filled lung. A detector on the far side records what gets through, so the picture is a shadow. Everything along each ray is piled into one spot, which is why a single X-ray cannot tell what lies in front of what.
  2. Step 2: CT: shadows from all round. A CT scanner takes X-ray shadows of one thin slice of the body from many directions. The X-ray tube and a curved row of detectors face each other on a ring that spins around the patient, recording hundreds of views in a turn that takes about a second or less.
  3. Step 3: A computer rebuilds the slice. Each view is a set of sums: how much every ray was absorbed along its whole path. With enough sums from enough angles, a computer can work out each cell on its own. In this toy slice, five sums pin down four cells. A real scanner solves the same kind of puzzle for about 512 × 512 cells, then stacks the slices into 3D.
  4. Step 4: MRI: hydrogen in a magnet. MRI uses no X-rays. It relies on hydrogen, which is plentiful in the water and fat of the body. Each hydrogen nucleus behaves like a tiny magnet. Inside the scanner’s strong field, typically 1.5 or 3 tesla, slightly more of them line up along the field than against it, giving the tissue a faint magnetism of its own.
  5. Step 5: A radio pulse, then an echo. In the field, hydrogen nuclei respond to one precise radio frequency: 42.58 MHz for each tesla, so about 64 MHz at 1.5 T. A short radio pulse at that frequency tips them over. When the pulse stops they swing back into line, and as they do they give off a faint radio signal that coils around the body pick up.
  6. Step 6: From signal to picture. Two things turn that signal into a picture. Hydrogen in fat, in brain tissue and in fluid recovers at different speeds, so each gives a different signal strength, which becomes the contrast between soft tissues. And extra coils tilt the field slightly across the body, so the frequency of the signal reveals where it came from.
  7. Step 7: What each does best. CT is quick and shows bone, lungs and fresh bleeding especially well, but it uses ionising X-rays; the dose from one scan is small, comparable to months or a few years of natural background radiation. MRI uses no ionising radiation and separates soft tissues better, but it is slower, loud, and its magnet makes metal a hazard.
VALUES SO FAR
X-rayone flat shadowlimit
views····CT
slice····typical
field····magnet
pulse····at 1.5 T
contrast····tissue
position····gradient
CT····caution
MRI····magnet

Spotted a mistake on this page?