DrDisco: Deep Registration for Distortion Correction of diffusion MRI with single phase-encoding

Zhangxing Bian, Muhan Shao, Aaron Carass, Jerry L. Prince

Abstract

Diffusion-weighted magnetic resonance imaging (DW-MRI) is a non-invasive way of imaging white matter tracts in the human brain. DW-MRIs are usually acquired using echo-planar imaging (EPI) with high gradient fields, which could introduce severe geometric distortions that interfere with further analyses. Most tools for correcting distortion require two minimally weighted DW-MRI images (B0) acquired with different phase-encoding directions, and they can take hours to process per subject. Since a great amount of diffusion data are only acquired with a single phase-encoding direction, the application of existing approaches is limited. We propose a deep learning-based registration approach to correct distortion using only the B0 acquired from a single phase-encoding direction. Specifically, we register undistorted T1-weighted images and distorted B0 to remove the distortion through a deep learning model. We apply a differentiable mutual information loss during training to improve inter-modality alignment. Experiments on the Human Connectome Project dataset show the proposed method outperforms SyN and VoxelMorph on several metrics, and only takes a few seconds to process one subject.

Introduction

Diffusion-weighted MRI (DW-MRI) is essential for mapping the brain's white matter, but it relies on Echo-Planar Imaging (EPI). This technique is notoriously sensitive to magnetic field inhomogeneities, which cause significant geometric "warping" or distortions in the resulting images.

Traditionally, correcting these distortions requires a "blip-up and blip-down" protocol—acquiring two separate images with opposite phase-encoding directions. These images are then processed by tools like TOPUP, which can take hours per subject. Unfortunately, many clinical and legacy datasets only contain a single phase-encoding direction, making standard correction impossible. While registration-based methods exist to align distorted B0 images to undistorted T1-weighted (T1w) images, they are often slow or struggle with the differing contrasts between the two imaging modalities.

Methods

DrDisco treats distortion correction as an inter-modality registration task. The framework uses a U-Net-like convolutional neural network (CNN) to predict a 3D deformation field $\phi$ that aligns a distorted B0 image (moving) to an undistorted T1w image (fixed).

The DrDisco architecture uses a U-Net backbone to predict a deformation field for warping the moving B0 image to the fixed T1w target.

The core innovation is the use of a differentiable Mutual Information (dMI) loss function. Standard MI is based on discrete intensity binning, which is not differentiable. DrDisco employs Parzen windowing—using Gaussian kernels to smooth the contribution of each voxel to the intensity bins—making the MI calculation continuous and differentiable for backpropagation. The network is trained to minimize a joint loss function consisting of the dMI for similarity and a local spatial variation term to ensure the predicted deformation field is smooth.

Results

The study utilized the Human Connectome Project (HCP) dataset, with 440 subjects split into training, validation, and testing sets. DrDisco outperformed both the traditional SyN algorithm and the standard VoxelMorph (which uses NCC loss) on Structural Similarity Index (SSIM) and Mutual Information metrics.

Qualitatively, visual inspections showed significantly better correction in highly distorted regions, such as the frontal lobe and ventral temporal lobe. In these areas, brain tissue often appears "stretched" or "squashed" in raw EPI scans; DrDisco effectively restores the expected anatomy.

Qualitative comparison of distortion correction across different methods. Arrows highlight regions where DrDisco achieves superior alignment compared to SyN and VoxelMorph.

The most dramatic result is speed. While traditional tools take minutes or hours, DrDisco processes a single subject in less than 2 seconds on a standard GPU (NVIDIA 2080 Ti) and less than a minute on a CPU.

Conclusion

DrDisco offers a powerful, high-speed solution for correcting geometric distortions in diffusion MRI when only a single phase-encoding scan is available. By leveraging structural priors from T1-weighted images and a novel differentiable MI loss, it achieves state-of-the-art registration performance. While it cannot recover signal lost to total dropout or perfectly resolve extreme "pileup," it represents a significant step forward for clinical and legacy data analysis. Future work will explore combining this registration approach with generative models to recover lost signal intensity.

Summary updated

BibTeX
@inproceedings{bian2023drdisco,
  author = {Zhangxing Bian and Muhan Shao and Aaron Carass and Jerry L. Prince},
  title = {{DrDisco: Deep Registration for Distortion Correction of diffusion MRI with single phase-encoding}},
  booktitle = {Medical Imaging: Image Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=yOgK0Bc53k},
}
Figure