Distance map supervised landmark localization for MR-TRUS registration

Xinrui Song, Xuanang Xu, Sheng Xu, Baris Turkbey, Thomas Sanford, Bradford J. Wood, Pingkun Yan

TL;DR

This paper introduces a novel deep-learning pipeline for registering MR and TRUS images of the prostate by automatically localizing anatomical landmarks. By regressing full-resolution distance maps instead of raw coordinates, the authors achieve landmark detection that is more robust to statistical bias, ultimately producing an automated affine registration that outperforms manual efforts by clinicians.

What Problem Does This Paper Address?

Prostate cancer biopsies rely heavily on fusing pre-operative Magnetic Resonance (MR) imaging with real-time Transrectal Ultrasound (TRUS). MR provides high-contrast detail of potential lesions, while TRUS guides the needle in real-time. However, "fusing" these two (registration) is notoriously difficult because the modalities look completely different—a challenge known as cross-modal registration.

Currently, clinicians often perform manual rigid registration, which is time-consuming and prone to human error. While automated methods exist, many struggle with the vast appearance differences between ultrasound and MR. The authors argue that anatomical landmarks are the most reliable "shared language" between these modalities, but previous attempts to automate landmark detection often fail in 3D space due to poor localization accuracy.

Methods

The authors propose a two-stage pipeline: Landmark Localization followed by Affine Registration.

1. Distance Map-Guided Localization

Instead of using a standard regression network to output $(x, y, z)$ coordinates, the authors use a UNet to predict a 3D distance map.

  • The Landmark Selection: They focus on four points: the right-most and left-most prostate boundary points, the entrance of the urethra (neck of the bladder), and the exit of the urethra (prostate apex).
  • The Distance Map Trick: The network is trained to output a full-resolution map where the landmark location has a value of 1, and surrounding voxels fade to 0 based on their distance from the target. This forces the model to utilize the spatial context of the entire image rather than collapsing into a simple numerical regressor.
Overview of the proposed pipeline showing the UNet architecture and the transition from distance maps to affine transformation.

2. Optimized Affine Registration

Once landmarks are found in both MR and TRUS, they must be aligned.

  • Initial Alignment: They use the Kabsch-Umeyama algorithm to find a transformation that accounts for translation, rotation, and uniform scaling.
  • Fine-Tuning: Because organs deform non-uniformly, they use the Adam optimizer to refine the transformation into a fully affine matrix (allowing non-uniform scaling). The loss function here is the Euclidean distance between the two sets of landmarks.

Datasets

The study utilized a dataset of 29 cases, partitioned into:

  • Training: 21 cases
  • Validation: 3 cases
  • Testing: 5 cases

All images were resampled to a $96 \times 96 \times 96$ grid with isotropic spacing for processing.

Key Insights and Ideas

  • Avoiding the "Mean Value" Trap: The authors found that conventional coordinate regression (e.g., ResNet + fully connected layers) often fails in 3D medical volumes. The networks tend to "cheat" by simply outputting the average coordinate of the training set, leading to poor individual performance. By regressing a distance map, the UNet is forced to "draw" the landmark onto the image, mimicking how a human expert labels data.
  • Landmarks as Ground Truth: Since Target Registration Error (TRE) is the gold standard for evaluating registration, the authors argue it makes the most sense to use the landmarks themselves as the primary supervision signal.
  • Non-Uniform Scaling is Essential: The jump from uniform scaling (Umeyama) to non-uniform affine scaling (via Adam optimization) consistently reduced registration error, acknowledging that the prostate can be compressed or stretched differently along different axes during an ultrasound procedure.

Key Results

The distance map approach significantly outperformed traditional coordinate regression. As shown in the table below, the UNet + distance map approach roughly halved the error compared to a ResNet-based coordinate labeler.

Comparison of landmark localization performance.

In terms of the final registration, the proposed automated method achieved a TRE of 4.68 ± 1.39 mm (using predicted landmarks and segmentations). This is a significant improvement over the 6.31 ± 1.28 mm achieved by clinicians performing manual rigid registration.

Registration performance across different methods.

Limitations and Future Work

  • Dataset Size: The study was conducted on a very small dataset (29 cases). The authors note that performance would likely improve significantly if the TRUS segmentation network were trained on a larger cohort.
  • Affine vs. Non-Rigid: While affine registration is an improvement over rigid, it still doesn't account for complex local deformations. The authors suggest that adding B-spline alignments on top of their affine transformation is a promising next step.
  • Generalizability: While the distance map method is more generalizable than previous task-specific methods (like those for lung CT), it still requires manual identification of stable landmarks for new organ types.

Summary updated

BibTeX
@inproceedings{song2023distance,
  author = {Xinrui Song and Xuanang Xu and Sheng Xu and Baris Turkbey and Thomas Sanford and Bradford J. Wood and Pingkun Yan},
  title = {{Distance map supervised landmark localization for MR-TRUS registration}},
  booktitle = {Image Processing},
  year = {2023},
  doi = {10.1117/12.2654371},
}
Figure