RealDeal: Enhancing Realism and Details in Brain Image Generation via Image-to-Image Diffusion Models

Shen Zhu, Yinzhu Jin, Tyler A. Spears, Ifrah Zawar, P. Thomas Fletcher

Abstract

Latent Diffusion Models (LDMs) have become the standard for high-resolution 3D medical image synthesis. However, the compression required for latent-space operations often results in "over-smoothed" outputs that lack high-frequency anatomical details and realistic acquisition noise. We present RealDeal, a two-stage framework that addresses this limitation by following a coarse LDM generation with a specialized patch-based image-to-image refinement step. Our method restores sharp edges, fine textures, and realistic noise distributions, significantly improving the clinical utility of synthetic brain MRIs.

Introduction

While LDMs excel at capturing global anatomical structures, their reliance on lower-dimensional latent spaces acts as a low-pass filter. This leads to the loss of critical high-frequency information—such as the sharp boundaries of the cortex and the subtle "grain" or acquisition noise inherent in real MRI scans. For clinicians and researchers, these details are not merely aesthetic; they are vital for tasks like anomaly detection and the development of robust diagnostic algorithms. RealDeal aims to put the "grit" back into synthetic imaging by refining these coarse outputs into high-fidelity volumes.

Methodology: The RealDeal Framework

The RealDeal pipeline consists of two distinct stages designed to balance global coherence with local detail.

Stage 1: Coarse Generation

In the first stage, a standard 3D LDM generates a base volume. This volume establishes the correct global anatomy and spatial orientation but suffers from the aforementioned smoothing artifacts.

Stage 2: Patch-Based Refinement

The core innovation of this work is the second-stage refinement using a patch-based image-to-image diffusion model. To manage the computational complexity of 3D volumes while maintaining high resolution, the model operates on $64^3$ patches. Key features of this stage include:

  • Spatial Conditioning: To prevent "seams" or grid-like artifacts common in patch-based processing, the model is conditioned on both the coarse patch from the LDM and the previously refined neighboring patch ($y_{prev}$).
  • Iterative Center-Out Progression: Refinement begins at the center of the brain and moves outward. This "sliding window" of context ensures that the anatomy remains seamless across patch boundaries.
  • Refinement Training: The model is trained to fill in missing details using a variety of partial masks, teaching it to transition smoothly between refined and unrefined regions while maintaining structural integrity.

Experimental Setup

The study utilized the Human Connectome Project (HCP) dataset, consisting of T1-weighted structural MRI scans from 1,113 subjects. The data was partitioned into an 80/20 split for training and testing. All images were preprocessed to a resolution of $[224, 288, 224]$ with an isotropic voxel size of 0.7 mm³.

Results and Analysis

Quantitative evaluation demonstrates that RealDeal significantly outperforms standard LDM reconstructions across multiple dimensions of realism:

  • Perceptual Fidelity: The Learned Perceptual Image Patch Similarity (LPIPS) score—measuring the distance to original images—dropped from 0.075 to 0.029, indicating much higher local structural accuracy.
  • Anatomical Sharpness: Using patch-based Laplacian variance to quantify edge clarity, RealDeal achieved a score of 0.0111, nearly doubling the sharpness of the coarse LDM (0.0063) and closely approaching the ground-truth sharpness of original scans (0.0139).
  • Distributional Quality: For fully synthetic images, the Frechet Inception Distance (FID) improved from 46.62 to 17.30, showing that the generated distribution now more closely matches real-world data.
  • Noise Realism: The KL divergence for noise distribution in white matter dropped from 0.775 to 0.149. This indicates that the synthetic "grain" now mimics the specific noise characteristics of real MRI hardware.

Discussion and Future Work

RealDeal successfully bridges the gap between the computational efficiency of LDMs and the high-frequency requirements of medical imaging. By treating acquisition noise as a feature rather than an artifact, the model produces images that are more realistic to both human experts and downstream algorithms.

Future research will focus on extending this framework to multi-modal imaging (e.g., T2, FLAIR) and conducting clinical validation to determine if these refined images improve the performance of diagnostic AI models trained on limited real-world datasets. While the iterative patch-based approach introduces some computational overhead, the gain in image realism represents a significant step forward for synthetic medical data generation.

Summary updated

BibTeX
@inproceedings{zhu2025realdeal,
  author = {Shen Zhu and Yinzhu Jin and Tyler A. Spears and Ifrah Zawar and P. Thomas Fletcher},
  title = {{RealDeal: Enhancing Realism and Details in Brain Image Generation via Image-to-Image Diffusion Models}},
  booktitle = {DGM4MICCAI @ MICCAI},
  year = {2025},
  doi = {10.1007/978-3-032-05472-2\_15},
}
Figure