CT Lab

Chapter 11: Artifacts and Their Reduction

Beam hardening, metal, rings, motion, and scatter: see each artifact's cause and remedy in simulation.

Everything we have reconstructed so far rested on assumptions we never spelled out: the X-rays are monochromatic (every photon has the same energy), the projection data are consistent and error-free, the object holds still for the whole scan, the detector responds perfectly uniformly, and only primary photons traveling in straight lines reach it. In a real scanner, none of these holds exactly. When an assumption breaks, the reconstruction acquires a systematic false structure (an artifact) that is qualitatively different from noise. The few-projection streaks of Chapter 4 were already an example: the assumption of sufficient angular sampling had broken. This chapter walks through five representative artifacts, each in the same order: cause, signature in the sinogram, and remedy.

Beam hardening

A real X-ray tube emits not a single energy but a continuous spectrum S(E)S(E), and the attenuation coefficient depends on energy (μ=μ(x,y;E)\mu = \mu(x,y;E)). The detected intensity is therefore a spectrum-weighted average of Beer-Lambert transmissions.

I=S(E)exp ⁣(Lμ(x,y;E)dl)dEI = \int S(E)\, \exp\!\left(-\int_L \mu(x,y;E)\, dl\right) dE

Taking the log as in Chapter 1, ppoly=ln(I/I0)p_{\mathrm{poly}} = -\ln(I/I_0), no longer yields a line integral of μ\mu. Discretizing the spectrum into energy bins shows that the polychromatic measurement is a concave function of the monochromatic line integral pp:

ppoly=ln ⁣(kwkerkp),kwk=1,kwkrk=1p_{\mathrm{poly}} = -\ln\!\left(\sum_k w_k\, e^{-r_k p}\right), \qquad \sum_k w_k = 1,\quad \sum_k w_k r_k = 1

where wkw_k are the bin weights and rkr_k the attenuation ratios relative to a reference energy. Low-energy photons are absorbed preferentially (rkr_k large), so the beam's effective energy rises as it penetrates; the beam "hardens". The effect grows with path length: ppolypp_{\mathrm{poly}} \le p, with the deficit growing as pp grows. Long central paths are underestimated the most, so the FBP image sags toward the center in a dish shape. This is cupping.

E (keV)S(E)Incident spectrum S(E)After the objectEffective energy rises (hardening)Monochromatic line integral pPolychromatic measurement p_polyIdeal (monochromatic)Hardening curve f(p)Deficit grows with path length → cupping

Beam hardening. Passing through the object depletes the low-energy part of the spectrum and raises the effective energy (left); the polychromatic line integral p_poly bends concavely below the monochromatic p (right).

The standard remedy is water correction. If the object can be treated as a single material (the human body is mostly water), the hardening curve ppoly=f(p)p_{\mathrm{poly}} = f(p) is monotonic, so applying the inverse map f1f^{-1} to the measurements recovers monochromatic-equivalent line integrals. Real scanners ship with this correction built into their calibration.

Simulation: cupping and water correction

Increase the spectral width β\beta and watch the center of the uncorrected reconstruction sink. The center-row profile shows the interior (flat in the ground truth) becoming dish-shaped, and the water correction restoring it almost exactly. β=0\beta = 0 corresponds to the monochromatic world of the chapters so far.

Phantom

WL 0.500 / WW 1.00Right-drag / Shift+drag: adjust WL/WW

Spectrum

Uncorrected (polychromatic)

Computing…
RMSE (vs truth)

Water-corrected

Computing…
RMSE (vs truth)

Center-row profile

Computing…

Cupping from beam hardening. As the spectral width β increases, the uncorrected reconstruction (left) sags toward the center and its profile becomes dish-shaped. For a single material, inverting the hardening curve (water correction) restores it almost exactly (right).

Scattered radiation

X-rays are not only absorbed inside the object; many survive Compton scattering with a new direction. A scattered photon reaches the detector having forgotten which ray it traveled, so the measured intensity carries, on top of the primary beam, a scatter component SS spread smoothly across the detector:

I=I0ep+S,p=ln(I/I0)pI = I_0\, e^{-p} + S, \qquad p' = -\ln(I/I_0) \le p

The extra light means attenuation is always underestimated, and the relative impact is largest where the primary signal is weakest, along strongly attenuating paths. The result has the same shape as beam hardening: cupping toward the center, plus dark bands and contrast loss between dense structures. Scatter grows with irradiated volume, so it is mild for a thin fan beam but severe for the cone-beam flat-panel systems of Chapter 6, where the scatter-to-primary ratio (SPR) can exceed 1.

Countermeasures come in two layers: an anti-scatter grid in front of the detector physically blocks obliquely incident photons, and the remainder is estimated and subtracted in software by exploiting the smoothness of scatter (kernel methods, Monte-Carlo model estimation). Scatter does not disappear with photon-counting detectors (Chapter 13), so scatter correction remains an active engineering topic.

Simulation: scatter and kernel correction

Raise the SPR and watch the uncorrected reconstruction develop a central sag and dark bands between the cylinders, with the profile dipping into a dish shape. A simple kernel correction that relies only on the smoothness of scatter restores the image almost to truth. Note how similar this cupping looks to beam hardening's, which is one reason the two are hard to disentangle in real data.

Phantom

WL 0.400 / WW 0.800Right-drag / Shift+drag: adjust WL/WW

Scatter

With scatter (uncorrected)

Computing…
RMSE (vs. truth)

Kernel-corrected

Computing…
RMSE (vs. truth)

Central row profile

Computing…

Cupping and contrast loss from scattered radiation. Raising the SPR adds a low-frequency scatter floor to the measured intensity, underestimating attenuation: the uncorrected reconstruction (left) sags toward the center and dark bands appear between dense structures. A simple kernel-based correction exploiting the smoothness of scatter (right) largely restores the image.

Metal artifacts

Implants and dental fillings have attenuation coefficients orders of magnitude above soft tissue. Two things happen at once along rays through metal. First, beam hardening becomes so extreme that single-material water correction cannot fix it. Second, almost no photons reach the detector (I0I \to 0), so the log transform ln(I/I0)-\ln(I/I_0) amplifies noise explosively (photon starvation). The result is dark bands connecting the metal objects and bright/dark streaks radiating from them.

If the rays through metal cannot be trusted, why not replace them with an estimate? That is the idea of metal artifact reduction (MAR), phrased as sinogram inpainting:

Threshold the uncorrected FBP image to get a metal mask

Forward-project the mask to identify the affected sinogram region (the metal trace Ω\Omega)

Replace the values on Ω\Omega by interpolation from their surroundings

Reconstruct the inpainted sinogram, then paste the metal pixels back in

The simplest interpolation is linear (LI-MAR): in each angular row, connect the two edges of the trace with a straight line. But LI also erases the genuine structure (bone, for instance) that lay under the trace, which makes the filled region inconsistent with its surroundings and introduces secondary artifacts.

NMAR (normalized MAR) fixes this with a prior image. Classify the uncorrected reconstruction into air, soft tissue, and bone; forward-project that prior; divide the sinogram by the prior's projection before interpolating; and multiply it back afterwards:

p~=ppprior,pcorr=p~interppprior\tilde{p} = \frac{p}{p_{\mathrm{prior}}}, \qquad p_{\mathrm{corr}} = \tilde{p}_{\mathrm{interp}} \cdot p_{\mathrm{prior}}

After normalization, p~\tilde{p} is nearly flat, since the anatomical structure has been divided out, so even simple linear interpolation makes little error. Remove the structure before interpolating, put it back after. This is the core of NMAR.

1. Uncorrected FBP2. Metal mask3. Forward project tofind the trace Ω4. Interpolate over Ω5. Reconstruct andpaste the metal backLI: linear; NMAR:normalize by p/p_priorfirst

The MAR pipeline: identify the metal-affected sinogram region, repair it by interpolation, then reconstruct.

Simulation: metal artifacts and MAR

Switch between phantoms and MAR methods. With method "None", the metal trace runs through the sinogram as a bright band and the reconstruction shows dark bands and streaks. LI fills the trace smoothly and reduces the streaks; NMAR preserves the surrounding structure better still. RMSE is computed inside the FOV circle excluding metal pixels. Lowering I0I_0 adds photon-starvation streaks on top.

Inpainted sinogram

Computing…

Uncorrected FBP

Computing…
RMSE (non-metal)

After MAR

Computing…
RMSE (non-metal)

Phantom

MAR method

Metal artifacts and MAR. Rays through metal are unreliable due to hardening and photon starvation, so the uncorrected FBP (center) shows dark bands and streaks. LI fills the metal trace by per-row linear interpolation; NMAR normalizes by the forward projection of a prior image before interpolating (watch the trace being filled in the sinogram on the left). RMSE is computed inside the FOV circle excluding metal pixels.

Ring artifacts

If one detector element's sensitivity is slightly off (gain gd1g_d \ne 1), its measurements shift by a constant after the log transform:

p(θ,sd)=p(θ,sd)lngdp'(\theta, s_d) = p(\theta, s_d) - \ln g_d

The shift lands on the same column sds_d at every angle θ\theta, so it appears as a vertical stripe in the sinogram. Under backprojection, the contribution at detector position sds_d is smeared along the line at distance sd|s_d| from the rotation center, at every angle. Sweeping the angle, the envelope of this family of lines is a circle of radius sd|s_d|, a ring around the rotation center. One vertical line in the sinogram maps to one ring in the image.

sθ180°Gain error in column s_d(vertical stripe)|sd|Ring of radius |s_d|

A single vertical line in the sinogram (a gain error in column s_d) becomes a concentric ring of radius |s_d| around the rotation center.

Because the artifact is so well-behaved, so is the fix. Take each detector column's mean, smooth the means along the detector axis, and subtract the residual (the column-specific offset component). This removes the gain error while preserving the smooth column-mean structure of the true signal. Real scanners also calibrate continuously with air scans.

Simulation: ring artifacts and detector correction

Increase the gain error σ\sigma and watch the sinogram stripes and the image rings darken together. Verify the correspondence "vertical lines in the sinogram ⇔ concentric rings in the image", and the effect of the column normalization.

Phantom

WL 0.500 / WW 1.00Right-drag / Shift+drag: adjust WL/WW

Sinogram with gain error

Computing…

With rings

Computing…
RMSE (vs truth)

Corrected

Computing…
RMSE (vs truth)

Ring artifacts. Per-detector gain errors appear as vertical stripes in the sinogram (left) and turn into concentric rings around the rotation center (middle). Subtracting the smoothed column-mean residual — a simple sinogram-domain preprocessing step — largely removes them (right).

Motion artifacts

Projections are not acquired all at once; each angle is a snapshot taken at a different time. If the object moves during the scan, each projection sees a slightly different object, and the sinogram is no longer consistent with any single object. Reconstruction backprojects as if all projections saw the same thing, so the inconsistency surfaces as double contours and streaks.

The signature depends on how the object moves. A single mid-scan shift (step) creates a discontinuity between sinogram rows; a slow one-directional drift distorts the sinusoidal trajectories; periodic motion such as breathing makes the sinogram wobble.

Motion is the hardest artifact to fix after the fact, so practice focuses on avoiding it: fast gantry rotation and half-scans (180° plus the fan angle) shorten the acquisition itself; cardiac CT uses ECG gating (using only the quiet phase of the R-R interval); respiratory gating handles breathing. Estimating the motion from the data and folding it into reconstruction is an active research topic, one that also pairs naturally with the learning-based methods of the next chapter.

Rotation time and temporal resolution are not identical. A full-scan reconstruction uses nearly one rotation of data, while fan-beam redundancy permits a half-scan reconstruction from roughly half a rotation. Dual-source CT uses two source–detector pairs at different angles to improve cardiac temporal resolution further. Prospective ECG triggering exposes the patient only near selected cardiac phases and generally reduces dose. Retrospective gating scans throughout the cardiac cycle and allows the reconstruction phase to be chosen later, usually at a higher dose.

Simulation: motion artifacts

Vary the motion type and amplitude, and observe the sinogram inconsistency (the step discontinuity is the easiest to spot) and how the reconstruction degrades. The same amplitude breaks the image differently depending on the motion type.

Sinogram with motion

Computing…

Static

Computing…
RMSE (vs truth)

With motion

Computing…
RMSE (vs truth)

Phantom

Motion

Motion artifacts. Displacement during the scan makes the sinogram rows inconsistent (a step shows a discontinuity, periodic motion a wobble), producing double contours and streaks in the reconstruction.

Summary: cause, signature, remedy

ArtifactCauseSinogram signatureMain remedy
CuppingPolychromatic spectrum (physics)Deficit growing with path lengthWater correction
Cupping, dark bandsScattered radiation (physics/geometry)Smooth intensity floor addedGrid + kernel correction
MetalExtreme attenuation + starvation (physics)Metal trace bandMAR (LI / NMAR)
RingsDetector gain error (hardware)Vertical stripesColumn normalization, calibration
MotionPatient motion (patient)Row inconsistencySpeed, gating

These remedies fall into three groups: correct a known physical effect, as in water correction; estimate missing or corrupted data, as in MAR; or prevent the inconsistency during acquisition, as in gating. Different causes can produce similar-looking artifacts, so the image, sinogram, and acquisition conditions all matter when diagnosing them. The next chapter considers priors learned from data.

References

On this page