Computed Tomography (CT) and Magnetic Resonance Imaging (MRI) are major examples of non-invasive diagnostic engineering. To the layperson, both involve lying on a table that slides into a large, intimidating donut. However, to a biomedical engineer, they represent two completely different domains of physics: the attenuation of ionizing electromagnetic radiation versus the quantum mechanical manipulation of nuclear spin.
Engineering takeaway
CT is usually the fast structural tool: excellent for trauma, bone, lung, and acute bleeding, but it uses ionizing radiation. MRI is the soft-tissue contrast tool: powerful for brain, spine, joints, and tumours, but slower, motion-sensitive, expensive, and governed by strict magnetic-field safety rules.
1. Computed Tomography (CT) Physics: Attenuation and Math
CT imaging relies on the transmission of X-ray photons through a subject. An X-ray tube and a curved detector array spin synchronously around the patient inside the gantry, taking thousands of 1D transmission profiles from varying angles.
The Beer-Lambert Law & Image Reconstruction
As X-rays pass through tissue, they are attenuated (absorbed or scattered) depending on the tissue's density and atomic number. This attenuation is modeled by a modified Beer-Lambert law:
$$ I = I_0 e^{-\int \mu(x) \,dx} $$
Where \( I \) is the transmitted intensity hitting the detector, \( I_0 \) is the initial intensity from the tube, and \( \mu(x) \) is the linear attenuation coefficient of the tissue at depth \( x \). The computer calculates these integrals from hundreds of angles and uses an algorithm, most commonly Filtered Back Projection (FBP) or iterative reconstruction, to solve for the 2D matrix of \( \mu \) values, creating a "slice" of the patient.
Hounsfield Units (HU)
The raw attenuation coefficients (\( \mu \)) are not clinically intuitive. Therefore, they are normalized to the radiodensity of distilled water at standard pressure and temperature, creating the Hounsfield Unit (HU) scale, named after CT inventor Sir Godfrey Hounsfield.
$$ HU = 1000 \times \frac{\mu_{tissue} - \mu_{water}}{\mu_{water} - \mu_{air}} $$
- Air: Defined as -1000 HU (appears black)
- Water: Defined exactly as 0 HU
- Soft Tissue/Muscle: +10 to +50 HU (appears gray)
- Cortical Bone: +1000 to +3000 HU (appears brilliant white)
2. Magnetic Resonance Imaging (MRI) Physics: Nuclear Spin
MRI does not use ionizing radiation. It utilizes Nuclear Magnetic Resonance (NMR), exploiting the quantum spin property of hydrogen protons (\( ^1H \)), which are highly abundant in the human body's water and fat.
The Larmor Equation
When placed in a massive, static magnetic field (\( B_0 \)), the magnetic moments of these protons align either parallel or anti-parallel to the field. They do not sit perfectly still; they precess (wobble) around the axis of \( B_0 \) at a specific resonant frequency, dictated by the Larmor equation:
$$ \omega_0 = \gamma B_0 $$
Where \( \omega_0 \) is the precessional (Larmor) frequency, \( B_0 \) is the main magnetic field strength (e.g., 1.5 Tesla), and \( \gamma \) is the gyromagnetic ratio (a constant for a given nucleus; for Hydrogen, it is approximately 42.58 MHz/Tesla).
T1 and T2 Relaxation
To generate an image, the MRI scanner fires a burst of Radio Frequency (RF) energy exactly at the Larmor frequency. This knocks the protons out of alignment, flipping their net magnetization vector 90 degrees into the transverse plane. When the RF pulse turns off, the protons "relax" back to their original state, emitting a faint radio signal (the Free Induction Decay, or FID) picked up by receiver coils.
The contrast in MRI is derived from how quickly different tissues relax back to equilibrium. There are two independent relaxation time constants:
- T1 (Longitudinal Relaxation): The time it takes for the protons to realign with the main \( B_0 \) field (spin-lattice relaxation). In a T1-weighted image, fat appears bright and water (like CSF fluid) appears dark. This is excellent for visualizing anatomy.
- T2 (Transverse Relaxation): The time it takes for the precessing protons to fall out of sync with each other (spin-spin relaxation). In a T2-weighted image, fluid/water appears intensely bright. This is highly utilized in pathology to spot edema (swelling) or fluid-filled cysts.
3. Real-World Engineering & Clinical Realities
Engineers maintaining these systems deal with vastly different environments.
Why emergency teams often choose CT
CT can scan quickly, handles trauma workflows well, shows bone and bleeding clearly, and is easier to use with many monitoring devices. The trade-off is radiation dose and weaker soft-tissue contrast than MRI.
Why specialists often choose MRI
MRI gives excellent soft-tissue contrast and flexible sequence design. The trade-off is longer acquisition time, motion sensitivity, implant screening, acoustic noise, and strict magnetic-field safety.
CT Challenges: Heat and Speed
A modern CT gantry spins at up to 4 rotations per second, generating forces exceeding 30 Gs on the internal components. The X-ray tube generates massive heat; over 99% of the electrical energy supplied to the tube is converted into heat, not X-rays. Engineers must meticulously maintain liquid cooling circuits (heat exchangers and chillers) and the massive slip-rings that transfer gigabytes of data and high-voltage power to a spinning 2,000 lb gantry without using cables.
MRI Challenges: Cryogens and The Quench
The main \( B_0 \) electromagnet must be kept near absolute zero (4 Kelvin / -269 C) using liquid helium, rendering the niobium-titanium coils superconductive (zero electrical resistance). The greatest risk is a quench, a sudden loss of superconductivity. If a portion of the wire heats up, it regains resistance, rapidly boiling the liquid helium into a massive volume of gas. If the specialized quench pipe fails to vent this gas out of the building, the pressure can literally blow the heavy MRI room doors off their hinges or asphyxiate anyone inside.
Additionally, the MRI suite must be an active Faraday Cage (lined entirely with copper sheeting) to block outside radio waves from interfering with the faint Larmor frequencies emitted by the patient.
4. Summary: Which to Use?
| Modality | Primary Strengths | Primary Weaknesses |
|---|---|---|
| Computed Tomography (CT) | Lightning fast (sub-second scans). Excellent spatial resolution for dense bone fractures, acute intracranial hemorrhages, and pulmonary imaging. Tolerates metallic implants. | Uses ionizing radiation (creates a cumulative lifetime cancer risk, especially in pediatrics). Moderate soft-tissue contrast compared to MRI. |
| Magnetic Resonance Imaging (MRI) | Unmatched, exquisite soft-tissue contrast (ligaments, brain white/gray matter, spinal cord, tumors). Zero ionizing radiation risk. | Slow scans (30+ minutes) highly susceptible to motion artifacts. Dangerously strong magnetic field strictly prohibits patients with pacemakers, neurostimulators, or ferromagnetic shrapnel. |