Direct Cardiac Segmentation from Undersampled K-Space using Transformers

Yundi Zhang, Nil Stolt Ansó, Jiazhen Pan, Wenqi Huang, Kerstin Hammernik, Daniel Rueckert

Introduction

In clinical MRI, raw data is acquired in the frequency domain, known as "k-space." To accelerate acquisition, clinicians often undersample this data. The conventional workflow for cardiac analysis involves a two-step process: first, reconstructing an image from the undersampled k-space via an Inverse Fast Fourier Transform (IFFT) or deep learning reconstruction, and second, segmenting the resulting image.

This traditional pipeline suffers from two primary drawbacks. First, at high acceleration factors, reconstruction artifacts such as aliasing and blurring propagate into the segmentation stage, degrading performance. Second, reconstruction models are typically optimized for pixel-level visual quality, which may not align with the structural requirements of segmentation tasks.

The DiSK Framework

To address these issues, we present DiSK (Direct Segmentation from K-space). DiSK is a Transformer-based architecture designed to predict cardiac segmentations directly from raw, undersampled k-space data, bypassing the intermediate reconstruction step entirely.

The DiSK architecture uses a Perceiver-based encoder to process sparse k-space measurements and a cross-attention decoder to predict segmentation masks in the image domain.

The core of DiSK is a Perceiver-based encoder. Standard Transformers face $O(N^2)$ complexity, making them unsuitable for the high dimensionality of k-space data. The Perceiver architecture overcomes this by using cross-attention to map input points into a small, fixed-size latent bottleneck. This allows the model to capture global correlations across the entire frequency domain efficiently. The decoder then queries these latent features using image-space coordinates $(x, y, t)$ to generate class probabilities for each pixel.

Experimental Results

The model was trained and validated using 1,200 mid-ventricular slices from the UK Biobank (UKB). K-space data was synthesized from magnitude images, incorporating simulated phase inconsistencies. We tested the model against Cartesian undersampling masks at acceleration factors ranging from 4× to 64×.

DiSK demonstrated exceptional robustness to data sparsity. While image-based baselines (Syn-Net and LI-Net) showed significant performance drops as acceleration increased, DiSK maintained a consistent Dice score of approximately 0.902 across all factors.

Qualitative comparison of cardiac segmentation across acceleration factors. DiSK (Ours) maintains high accuracy even at 64x acceleration, where zero-filling reconstructions are unrecognizable.

Visually, DiSK produces clean and anatomically accurate segmentation masks even at 64× acceleration. At this level of undersampling, the zero-filled reconstructions are virtually unrecognizable to human observers, yet DiSK successfully identifies the left ventricle and myocardium. Quantitatively, DiSK also reduced the Hausdorff distance by approximately 2 pixels compared to the baselines, indicating superior boundary precision.

Discussion and Conclusion

The success of DiSK suggests that high-level anatomical information can be extracted from extremely sparse frequency samples that lack sufficient information for high-quality image reconstruction. By leveraging the global receptive field of Transformers, DiSK avoids the artifact propagation inherent in traditional pipelines.

Future research will focus on applying DiSK to real-world multi-coil k-space data and scaling the architecture to handle full 3D cardiac volumes. Additionally, we aim to evaluate the model's performance on downstream clinical tasks, such as calculating Ejection Fraction (EF) directly from k-space.

Summary updated

Abstract

The prevailing deep learning-based methods of predicting cardiac segmentation involve reconstructed magnetic resonance (MR) images. The heavy dependency of segmentation approaches on image quality significantly limits the acceleration rate in fast MR reconstruction. Moreover, the practice of treating reconstruction and segmentation as separate sequential processes leads to artifact generation and information loss in the intermediate stage. These issues pose a great risk to achieving high-quality outcomes. To leverage the redundant k-space information overlooked in this dual-step pipeline, we introduce a novel approach to directly deriving segmentations from sparse k-space samples using a transformer (DiSK). DiSK operates by globally extracting latent features from 2D+time k-space data with attention blocks and subsequently predicting the segmentation label of query points. We evaluate our model under various acceleration factors (ranging from 4 to 64) and compare against two image-based segmentation baselines. Our model consistently outperforms the baselines in Dice and Hausdorff distances across foreground classes for all presented sampling rates.
BibTeX
@inproceedings{zhang2024direct,
  author = {Yundi Zhang and Nil Stolt Ansó and Jiazhen Pan and Wenqi Huang and Kerstin Hammernik and Daniel Rueckert},
  title = {{Direct Cardiac Segmentation from Undersampled K-Space using Transformers}},
  booktitle = {ISBI},
  year = {2024},
  url = {https://openreview.net/forum?id=oc6mdzgQd6},
}
Figure