Synthesis of realistic fetal MRI with conditional Generative Adversarial Networks

Marina Fernandez Garcia, Rodrigo González Laiz, Hui Ji, Kelly Payette, András JakabarXiv 2022 · DOI

Abstract

Fetal brain magnetic resonance imaging serves as an emerging modality for prenatal counseling and diagnosis in disorders affecting the brain. Machine learning based segmentation plays an important role in the quantification of brain development. However, a limiting factor is the lack of sufficiently large, labeled training data. Our study explored the application of SPADE, a conditional general adversarial network (cGAN), which learns the mapping from the label to the image space. The input to the network was super-resolution T2-weighted cerebral MRI data of 120 fetuses (gestational age range: 20-35 weeks, normal and pathological), which were annotated for 7 different tissue categories. SPADE networks were trained on 256*256 2D slices of the reconstructed volumes (image and label pairs) in each orthogonal orientation. To combine the generated volumes from each orientation into one image, a simple mean of the outputs of the three networks was taken. Based on the label maps only, we synthesized highly realistic images. However, some finer details, like small vessels were not synthesized. A structural similarity index (SSIM) of 0.972+-0.016 and correlation coefficient of 0.974+-0.008 were achieved. To demonstrate the capacity of the cGAN to create new anatomical variants, we artificially dilated the ventricles in the segmentation map and created synthetic MRI of different degrees of fetal hydrocephalus. cGANs, such as the SPADE algorithm, allow the generation of hypothetically unseen scenarios and anatomical configurations in the label space, which data in turn can be utilized for training various machine learning algorithms. In the future, this algorithm would be used for generating large, synthetic datasets representing fetal brain development. These datasets would potentially improve the performance of currently available segmentation networks.

Introduction

Quantitative analysis of fetal brain development is essential for diagnosing congenital diseases, yet it relies heavily on automated segmentation—the process of digitally "coloring in" different brain structures. Training these segmentation models (like U-Nets) requires massive amounts of manually labeled MRI data.

However, fetal MRI data is notoriously scarce. Manual annotation is a grueling, time-consuming task performed by experts, and it is prone to human error and inter-rater variability. This data bottleneck creates a "plateau" in model performance. This paper explores whether we can use Generative Adversarial Networks (GANs) to flip the script: instead of segmenting an image into labels, can we synthesize realistic images from labels?

Methodology

The study utilized a dataset of 120 fetuses (gestational age 20–35 weeks) from the Fetal Tissue Annotation (FeTA) challenge 2021. Each volume was manually annotated into seven cerebral tissue categories: external fluid, gray matter, white matter, deep gray matter, ventricles, cerebellum, and brainstem.

We employed SPADE (Spatially-Adaptive Normalization), a conditional GAN architecture specifically designed for semantic image synthesis. Unlike standard GANs that might lose spatial information during processing, SPADE uses the input label map to modulate the activations in the generator, ensuring the output image strictly adheres to the provided anatomy.

The GAN architecture used to synthesize images from random noise and label maps.

Key technical choices included:

  • 2D to 3D Fusion: Since SPADE is a 2D network, we trained three separate models on the three orthogonal planes (axial, sagittal, and coronal). To reconstruct a 3D volume, we took the simple mean of the outputs from these three networks.
  • Super-Resolution (SR) Foundation: The training data consisted of motion-corrected, super-resolution T2-weighted volumes, providing a high-fidelity baseline for the GAN to learn from.

Key Results and Insights

The SPADE networks successfully learned to map anatomical labels to realistic MRI textures. The synthesized images achieved a Structural Similarity Index (SSIM) of 0.972 ± 0.016 and a correlation coefficient of 0.974 ± 0.008, indicating the synthetic images are mathematically and visually very close to real scans.

Comparison between real MRI slices and the anatomical label maps used for synthesis.

Pathology on Demand

The most striking insight is the ability to create "hypothetically unseen scenarios." By editing a label map—essentially a digital blueprint—researchers can generate realistic images of rare conditions that might not exist in their training set. We demonstrated this by manually dilating the "ventricle" class in the label maps to simulate various degrees of fetal hydrocephalus, then used the GAN to "render" what those pathological brains would look like in an MRI. This is a massive win for training diagnostic AI on "long-tail" medical conditions.

Emergent Details

Interestingly, the SPADE network synthesized details that weren't explicitly in the labels, such as the choroid plexus and germinal matrix, effectively "filling in the blanks" based on its learned understanding of brain texture. However, the model still fails to synthesize very fine details like small blood vessels.

Conclusion

cGANs, such as the SPADE algorithm, allow the generation of anatomical configurations in the label space that can be utilized for training various machine learning algorithms. While the current 2D-to-3D fusion method introduces some blurring, the high fidelity of the results suggests that synthetic datasets could significantly improve the performance of currently available segmentation networks. Future work will explore using DCGANs to synthesize the label maps themselves, creating a fully end-to-end synthetic data pipeline.

Summary updated

BibTeX
@misc{garcia2022synthesis,
  author = {Marina Fernandez Garcia and Rodrigo González Laiz and Hui Ji and Kelly Payette and András Jakab},
  title = {{Synthesis of realistic fetal MRI with conditional Generative Adversarial Networks}},
  year = {2022},
  eprint = {2209.09696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.09696},
}
Figure