Abstract
Generating synthetic CT (sCT) scans from MRI data is a critical task for radiation therapy planning and surgical navigation, particularly when ionizing radiation must be minimized. However, training these models typically requires perfectly aligned, paired MRI and CT datasets, which are difficult to obtain in clinical practice. This paper introduces MaskGAN, a framework designed for unpaired MR-to-CT translation that ensures structural consistency without requiring manual annotations. By utilizing automatically generated coarse masks and a dual-branch generator, MaskGAN significantly reduces anatomical distortions and "hallucinations" common in standard generative adversarial networks (GANs).
Introduction
In medical imaging, MRI and CT provide complementary diagnostic information. While MRI offers superior soft-tissue contrast, CT is essential for bone visualization and calculating electron density for radiotherapy. Synthesizing CT scans from MRI (MR-to-CT translation) offers a way to obtain this data without exposing patients—especially pediatric populations—to additional radiation.
The primary challenge in developing these synthesis models is the lack of paired data. Patients often move between scans, or scans are taken weeks apart, leading to significant anatomical misalignment. While unsupervised methods like CycleGAN can learn from unpaired data, they often suffer from poor structural consistency, leading to synthetic images where the skull or internal organs are shifted or distorted. MaskGAN addresses this by enforcing anatomical anchors through a "coarse-to-fine" synthesis approach.
Methodology
MaskGAN introduces a multi-component architecture designed to preserve shape while synthesizing realistic textures.
1. Automated Coarse Masking
To avoid the high cost of manual labeling, the framework uses a simple image processing algorithm (thresholding and morphological operations) to extract a rough "background vs. foreground" mask of the anatomy. This coarse mask serves as a structural guide for the model.
2. Dual-Branch Generator and Shared Encoder
Unlike traditional GANs, the MaskGAN generator is split into two specialized branches:
- Mask Generator: Learns to identify specific anatomical regions (e.g., bone vs. soft tissue).
- Content Generator: Synthesizes the specific Hounsfield units (CT textures) within those regions.
Both branches share an encoder, allowing the model to learn the intrinsic relationship between anatomical structure and tissue texture simultaneously.
3. Structural Loss Functions
To ensure the synthetic output remains faithful to the input anatomy, the authors introduced two key loss functions:
- Mask Loss ($L_{mask}$): This forces the predicted mask to align with the automatically extracted coarse mask.
- Cycle Shape Consistency (CSC) Loss ($L_{shape}$): This ensures that if an image is translated from MRI to CT and back to MRI, the underlying anatomical shape remains identical, preventing geometric "drifting."
Experimental Setup
The framework was evaluated using a challenging pediatric head scan dataset consisting of 262 patients aged 6–24 months. This dataset is particularly difficult because infants grow rapidly; even scans taken a few weeks apart show significant structural differences, making traditional supervised learning nearly impossible. The dataset included 270 T1-weighted MRI volumes and 267 thin-slice CT volumes.
Results and Discussion
MaskGAN was compared against established models, including CycleGAN and AttentionGAN.
Quantitative Performance
MaskGAN demonstrated superior accuracy across all major metrics:
- Mean Absolute Error (MAE): Reduced by 29.07% compared to standard CycleGAN and 11.28% compared to shape-CycleGAN.
- Fidelity: Achieved significantly higher Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity Index (SSIM), indicating higher clarity and anatomical precision.
Qualitative Improvements
Visually, MaskGAN successfully avoided the "ghosting" artifacts and anatomical inflations (such as unnaturally enlarged head shapes) that frequently occurred in other unsupervised models. The model proved robust even when the initial coarse masks were intentionally distorted, suggesting that the adversarial training process can compensate for imperfect structural guides.
Conclusion
MaskGAN provides a robust solution for structure-preserving MR-CT translation in the absence of paired data. By leveraging coarse, automatically generated masks, the framework eliminates the need for expensive manual segmentation while outperforming current state-of-the-art unsupervised methods. Future research will focus on validating these synthetic CTs for clinical use in radiotherapy dose calculations and extending the framework to more complex, mobile anatomy such as the thorax and abdomen.
Summary updated