S15 · Lesson 37 · Image quality: resolution, contrast and noise
Pixels, gray levels and line pairs per millimeter, Poisson photon noise and the contrast it lets you see, the Rose criterion and false detections, the modulation transfer function and how blurs cascade, noise-equivalent bandwidth and detective quantum efficiency
Every imaging system in the next lessons, X-ray, CT, ultrasound, MRI and nuclear medicine, is judged by the same three questions: how small a detail can it separate, how faint a difference can it show, and how much dose or time does that cost? A chest X-ray detector with 0.14 mm pixels still can't show a 2% density difference in a small nodule if too few X-ray photons reach each pixel. Seeing faint things takes photons, and photons cost radiation dose. How many does it take?
- Two blurs act on an image: a Gaussian blur of width σ (from a focal spot, scatter or optics) and a detector pixel of width a, which averages over its area. Both are in millimeters, and the spatial frequency f on the x axis is in line pairs per millimeter.
- Each passes a sinusoidal pattern of spatial frequency f with its modulation reduced by its modulation transfer function (MTF); cascaded blurs multiply their MTFs.
- The dashed marker is the pixel grid's Nyquist frequency, 1/(2a): finer patterns alias. Shrink the pixels and the Gaussian blur becomes the limit; sharpen the blur and the pixels do.
Predict
A detector pixel collects on average 2500 X-ray photons. A small lesion changes that by 2%. Can it be seen against the photon noise?
Photon counts are Poisson, so the noise is √2500 = 50 photons, the same as the 50-photon signal. Its signal-to-noise ratio is = 0.02 × 50 = 1. Reliable detection needs about 4 to 5, so the lesion needs (5/0.02)² = 62,500 photons per pixel, 25 times the dose, or a larger lesion averaged over many pixels. Smaller pixels make it worse, since each collects fewer photons.
Name it
Pixels and resolution
Resolution is quoted in line pairs per millimeter (lp/mm): a bar and the gap beside it count as one pair, so showing f lp/mm takes at least 2f pixels per millimeter. An image's information content is roughly its number of pixels times the number of distinguishable gray levels, and the number of levels that noise allows is about the signal-to-noise ratio.
Photon noise
X-ray, gamma and light photons arrive independently, so the count in a pixel averaging N is Poisson-distributed with standard deviation √N. A feature that changes the count by a fraction C (its contrast) has
Collecting four times as many photons, by a larger pixel or a longer exposure, doubles the SNR. Spatial and time averaging trade the same way.
The Rose criterion
To detect a feature without false alarms, its SNR must reach a threshold J. With b pixels in the image, noise alone pushes about of them past J standard deviations: at J = 4, Q = 3.2 × 10⁻⁵, which still gives a few false spots in a million-pixel image. So J of 4 to 5 is used, and detecting contrast C needs about
photons in each detail-sized area. Halving the contrast you need to see quadruples the dose.
The modulation transfer function
Image a sinusoidal pattern of spatial frequency f with modulation ; the image's modulation is , and . It's the magnitude of the Fourier transform of the blur (the point spread function), normalized to 1 at f = 0:
- a Gaussian blur of standard deviation σ has ;
- a square pixel aperture of width a has .
Independent blurs in series convolve, so their MTFs multiply. A system's limiting resolution is often taken where its MTF falls to about 10%.
Noise-equivalent bandwidth and DQE
Webster defines a system's noise-equivalent bandwidth as , a single number for how much spatial detail, and noise, it passes: for a Gaussian blur. The detective quantum efficiency, DQE = , is the fraction of the incident photons a detector effectively uses: a detector that absorbs only 60% of the X-rays has DQE ≤ 0.6, and extra electronic noise lowers it further. A higher DQE means the same image quality at a lower dose.
Worked example
How many photons per pixel are needed to detect a 2% contrast detail with J = 5, and what does a 10% detail need? If the image has 2048 × 2048 pixels, how many false detections does J = 4 give?
Show the solution
- Photons for a 2% detail.
- Photons for a 10% detail. The fivefold contrast saves a factor of 25 in photons, and so in dose.
- False detections at J = 4. The image has 2048 × 2048 = 4.2 million pixels, and Q(4) = 3.17 × 10⁻⁵: pixels where noise alone exceeds the threshold.
- At J = 5. Q(5) = 2.87 × 10⁻⁷ gives about 1, which is why the threshold is set near 5 for whole images.
Answer a 2% detail needs 62,500 photons per pixel and a 10% detail 2,500, and J = 4 gives about 133 false detections.
Worked example
A radiograph's blur is Gaussian with σ = 0.1 mm, and its detector has 0.2 mm pixels. What's the system MTF at 2 lp/mm, and what's the Nyquist frequency?
Show the solution
- Gaussian blur.
- Pixel aperture.
- System. so a 2 lp/mm pattern keeps a third of its modulation.
- Nyquist frequency. Patterns finer than that alias into false coarser ones unless the blur has already removed them.
Answer the system MTF at 2 lp/mm is 0.344, and the Nyquist frequency is 2.5 lp/mm.
Worked example
A detector absorbs 60% of the X-ray photons reaching it and adds electronic noise equal to 10 photons RMS per pixel. With 1000 photons per pixel incident, what are the input and output signal-to-noise ratios and the detective quantum efficiency?
Show the solution
- Input SNR. The input is Poisson:
- Output SNR. The detector records 600 photons with Poisson noise plus 10 of electronic noise, added in power:
- DQE. It is the ratio of squared SNRs: so the detector uses the dose as efficiently as a perfect one catching half the photons.
- At low dose. The electronic term matters more and the DQE falls, which is why low-dose imaging pushes detectors toward photon counting.
Answer the input SNR is 31.6, the output SNR 22.7, and the DQE 0.51.
Check
A detector 350 mm across must show 2 lp/mm. How many pixels does it need across?
Check
A pixel averages 2500 photons, and a feature changes the count by 0.01 (as a fraction). What's the feature's signal-to-noise ratio?
Check
How many photons per detail area are needed to see a contrast of 0.01 with a detection threshold of J = 4?
Check
An image has 1024 × 1024 pixels. About how many pixels exceed the mean by more than J = 3 standard deviations from noise alone?
Check
What's the MTF of a Gaussian blur with σ = 0.1 mm at 1 lp/mm?
Check
A Gaussian blur (σ = 0.05 mm) is followed by 0.1 mm pixels. What's the system MTF at 2 lp/mm?
Check
A detector absorbs a fraction 0.3 of 200 incident photons per pixel and adds 30 photons RMS of electronic noise.
(a)
What output signal-to-noise ratio does it achieve?
(b)
What is its detective quantum efficiency?
Check
An imaging system blurs with a Gaussian of standard deviation σ (mm) and samples with square pixels of width a (mm).
Step 1
What is the blur's MTF at f line pairs per millimeter?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the system's MTF, including the pixel's aperture?
Explain why
Why does making detector pixels smaller not always make an X-ray image better?
Smaller pixels raise the Nyquist frequency and the pixel's own MTF, so finer detail can in principle be shown. But each smaller pixel collects fewer photons at the same dose, and photon noise grows relative to the signal as : halving the pixel width cuts the photons per pixel by four and halves each pixel's signal-to-noise ratio. If the image is noise-limited, as low-contrast soft-tissue imaging usually is, fine detail is lost in the noise anyway, and the only remedy is more dose. If other blurs, such as the focal spot or scatter, already limit the MTF, smaller pixels resolve nothing new. Pixel size has to be matched to the system's other blurs and to the contrast and dose the task needs.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.