X-ray Attenuation Simulator: Beer-Lambert Law & Radiographic Contrast

simulator intermediate ~10 min
Loading simulation...
I/I₀ = 13.5% — typical soft tissue transmission

At 60 keV through 10 cm of soft tissue (μ = 0.2 cm⁻¹), 13.5% of incident photons are transmitted. The remaining 86.5% are absorbed or scattered, contributing to patient dose and image degradation.

Formula

I = I₀ × e^(−μx) (Beer-Lambert exponential attenuation)
C = (I_background − I_object) / I_background (subject contrast)
μ_pe ∝ ρ × Z³ / E³ (photoelectric attenuation dependence)

Photons Through Matter

When X-ray photons pass through the body, they interact with atoms via photoelectric absorption, Compton scattering, and (at high energies) pair production. Each interaction removes photons from the primary beam, and the surviving fraction carries the shadow information that forms a radiographic image. The Beer-Lambert law I = I₀e^(−μx) captures this exponential attenuation in its simplest form.

Attenuation Coefficients

The linear attenuation coefficient μ depends on tissue composition, density, and photon energy. At diagnostic energies (20-150 keV), soft tissues cluster near μ = 0.2 cm⁻¹, fat is slightly lower, and bone ranges from 0.5-2.0 cm⁻¹. The Z³/E³ dependence of photoelectric absorption explains why bone (calcium, Z=20) is so visible against soft tissue (mostly carbon/oxygen, Z=6-8) — and why contrast agents with iodine (Z=53) or barium (Z=56) are so effective.

Subject Contrast

Radiographic contrast arises from differential attenuation between adjacent structures. If a lesion has a slightly different μ than surrounding tissue, the transmitted beam intensity differs, creating contrast. This simulation shows how tissue thickness, attenuation coefficient, and photon energy all modulate the contrast between a target structure and its background — the physical foundation for detecting abnormalities on a radiograph.

From Film to Digital

Whether captured on film, computed radiography plates, or flat-panel digital detectors, the fundamental signal is the spatial pattern of transmitted X-ray intensity. Modern digital detectors offer wider dynamic range and post-processing capabilities, but the physics of attenuation remains unchanged. Understanding Beer-Lambert is essential for optimizing technique factors (kVp, mAs) and minimizing patient dose while maintaining diagnostic image quality.

FAQ

What is the Beer-Lambert law in radiology?

The Beer-Lambert law states that X-ray intensity decreases exponentially with distance through a material: I = I₀ × e^(−μx), where μ is the linear attenuation coefficient and x is the thickness. This fundamental equation governs all projection radiography and is the basis for CT reconstruction.

What is the linear attenuation coefficient?

The linear attenuation coefficient μ (cm⁻¹) quantifies how strongly a material absorbs or scatters X-ray photons per unit thickness. It depends on photon energy, material density, and atomic number. Water at 60 keV has μ ≈ 0.2 cm⁻¹; cortical bone is about 1.0 cm⁻¹.

How does photon energy affect image contrast?

Lower-energy photons produce higher contrast because photoelectric absorption (which creates contrast) scales as Z³/E³. However, low-energy photons are more absorbed, increasing patient dose. Clinical radiography balances contrast and dose by selecting appropriate kVp (typically 60-120 kVp).

What is the role of contrast agents?

Contrast agents like barium (Z=56) and iodine (Z=53) have high atomic numbers that dramatically increase attenuation in structures they fill — the GI tract (barium) or blood vessels (iodine). The K-edge of iodine at 33.2 keV makes it especially effective at diagnostic X-ray energies.

Sources

Embed

<iframe src="https://homo-deus.com/lab/biomedical-imaging/xray-attenuation/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub