Tempera: Spatial Transformer Feature Pyramid Network for Cardiac MRI Segmentation

Christoforos Galazis, Huiyi Wu, Zhuoyu Li, Camille Petri, Anil A. Bharath, Marta VarelaarXiv 2022 · DOI

Accurate segmentation of the heart's right ventricle (RV) from magnetic resonance imaging (MRI) is a critical yet challenging task in clinical cardiology. Unlike the left ventricle, which possesses a relatively uniform, thick-walled geometry, the RV is characterized by a complex, crescent-like shape, thin walls, and intricate internal structures such as trabeculations. Researchers from Imperial College London have developed Tempera, a hybrid 2D/3D deep learning architecture designed to improve RV segmentation by leveraging simultaneous multi-view analysis.

The Tempera Architecture

The core innovation of the Tempera (geometric spatial TransformEr Multi-Pass fEature pyRAmid) network lies in its ability to process both short-axis (SA) and long-axis (LA) cardiac MRI views concurrently. By integrating information across these distinct imaging planes, the model captures the 3D spatial relationships often ignored by single-view approaches.

The Tempera architecture integrates 2D and 3D processing paths with a geometric spatial transformer to align multi-view cardiac MRI data.

Key Innovations

  1. Multi-Pass Feature Pyramid (MPFP): Traditional feature pyramids typically provide multi-scale outputs from a single-scale input. In contrast, the MPFP allows for multi-scale inputs, enabling the network to handle significant variations in heart size—a common clinical presentation in patients with dilated RVs.
  2. Hard-Weight Sharing: To enhance feature extraction, the model employs shared 2D convolutional layers for both SA and LA slices. This strategy forces the network to learn robust, view-invariant features such as tissue texture and contrast.
  3. Geometric Spatial Transformer (GST): The GST utilizes physical metadata from the MRI scan (the affine transformation matrix) to map predicted SA segmentations into the LA coordinate space. This serves as a geometric prior, guiding the model to accurately localize the RV in the more challenging long-axis views.
Detailed components of the Multi-Pass Multi-Scale Feature Pyramid, including downsampling/upsampling layers and skip connections.

Experimental Setup and Results

The model was evaluated using the M&Ms-2 (Multi-Disease, Multi-View & Multi-Center Right Ventricular Segmentation) challenge dataset, which includes 360 subjects with bSSFP CINE MRI scans across various vendors and pathologies. Training utilized a combination of Dice and Focal loss to address class imbalance.

Tempera achieved competitive performance on the test set, with Dice scores of 0.836 for short-axis views and 0.798 for long-axis views. The Hausdorff distances were recorded at 26.31 mm and 31.19 mm, respectively. Notably, when excluding cases where the initial automated Region of Interest (ROI) detection failed, Dice scores improved to approximately 0.90 for both views, highlighting the strength of the segmentation engine.

Conclusion and Future Work

Tempera demonstrates that a multi-view, hybrid 2D/3D approach significantly enhances the robustness of cardiac RV segmentation. While the current reliance on a separate ROI detection step presents a limitation, future iterations incorporating neural-network-based heart detection and temporal information across the cardiac cycle promise further improvements in clinical utility and anatomical consistency.

Summary updated

BibTeX
@misc{galazis2022tempera,
  author = {Christoforos Galazis and Huiyi Wu and Zhuoyu Li and Camille Petri and Anil A. Bharath and Marta Varela},
  title = {{Tempera: Spatial Transformer Feature Pyramid Network for Cardiac MRI Segmentation}},
  year = {2022},
  eprint = {2203.00355},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.00355},
}
Figure