CT Lab

Chapter 33: Registration

Rigid, affine, and deformable alignment, similarity metrics (SSD, NCC, mutual information), and multimodal fusion for PET/CT and MR/CT.

Registration is the process of bringing two or more images into the same coordinate system. It is used to compare images taken at different times (follow-up), to fuse images from different scanners (function and structure in PET/CT, soft tissue and bone in MR/CT), and to align a patient to a standard brain. The PET/CT attenuation correction of Chapter 19 also assumed PET and CT overlapped at the same position.

The registration loop

Registration is posed as an optimization. Apply a transform TT to the moving image, measure the similarity SS with the fixed image, and iterate, updating TT to maximize SS. There are levels according to the degrees of freedom of the transform. Rigid (rotation and translation, 3 degrees of freedom in 2D) aligns the hard structures of the same patient (the skull, say). Affine (adding scaling and shear) has more freedom, and deformable registration allows motion to vary from place to place, aligning even breathing and organ deformation.

registration loopfixedmovingTsimilaritySupdate Tsimilarity vs offsetoffsetMISSDaligned

The registration loop, and similarity vs offset. Left: a fixed and a moving image are compared by similarity S under a transform T, iterating to update T so S is maximized. Right: similarity against offset. MI (mutual information) peaks sharply at the aligned position, but for a nonlinear intensity relation between modalities SSD is multi-peaked and uninformative.

Similarity: what counts as "similar"

The success of registration is decided by the choice of similarity metric.

  • SSD (sum of squared differences): sums the squared differences of pixel values; smaller is more similar. It is straightforward and fast for images from the same scanner on the same intensity scale, but useless when the intensity relationship differs.
  • NCC (normalized cross-correlation): correlation normalized by mean and variance. Robust to linear intensity differences (brightness and contrast offsets), but weak to nonlinear relationships.
  • Mutual information (MI): measures the strength of statistical dependence from the joint histogram of the two images. It asks "once one value is fixed, how much is the other narrowed down." Even with a nonlinear intensity relationship, when the position is aligned the joint histogram concentrates and MI grows large.

Mutual information for multimodal

Between CT and MR, or CT and PET, the same tissue has a completely different intensity relationship (bone bright in CT is dark in MR, and so on). SSD and NCC assume that brightness corresponds, so they break down in such multimodal cases. MI measures not the intensities themselves but the consistency of the correspondence, so it peaks at the aligned position even when the modality differs. This is why MI is the standard for multimodal registration.

Simulation: aligning a shifted image

A fixed image (CT-like) is overlaid with a moving image that has a different-modality look and an unknown offset. Move tx,tyt_x, t_y, and rotation to align them. In the checkerboard on the right, alignment shows as boundaries that continue without a step across tiles. Switch the similarity between SSD, NCC, and MI, and use "auto-align" to search for the transform that maximizes that metric. Because the intensity relationship is nonlinear, confirm that SSD and NCC do not align well while MI aligns cleanly.

Fixed (CT-like)

WL 0.500 / WW 1.00Drag to adjust WL/WW

Moving (transformed)

WL 0.500 / WW 1.00Drag to adjust WL/WW

Checkerboard overlay

WL 0.500 / WW 1.00Drag to adjust WL/WW
Mutual information0.506

A fixed image (CT-like) is overlaid with a moving image that has a different-modality look and an unknown offset. Align with translation and rotation; in the checkerboard on the right, alignment shows as boundaries continuing without a step across tiles. Switch the similarity between SSD, NCC, and MI, and use auto-align to find the transform that maximizes it. Because the intensity relation is nonlinear, SSD and NCC do not align well while MI aligns cleanly.

Registration in practice

In real clinics, combined scanners such as PET/CT and PET/MR that acquire pre-aligned images are widespread (hardware registration). Even so, software registration remains essential: fusing separately acquired images, differencing follow-ups, normalizing to an atlas, and matching radiotherapy planning to delivery. Deformable registration, and in recent years fast and accurate deep-learning registration, are also in practical use.

Key points

Registration is the optimization that maximizes the similarity between a fixed image and a moving image under a transform TT. The transform grows in freedom from rigid to affine to deformable. For same-scanner images SSD or NCC suffice, but for multimodal cases with a nonlinear intensity relationship (CT/MR, PET/CT), mutual information (MI), which measures statistical dependence, is needed. PET/CT attenuation correction and the fusion of function and structure rest on this alignment.

References

On this page