Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 May 2:2024:8972980.
doi: 10.1155/2024/8972980. eCollection 2024.

Swin Transformer and the Unet Architecture to Correct Motion Artifacts in Magnetic Resonance Image Reconstruction

Affiliations

Swin Transformer and the Unet Architecture to Correct Motion Artifacts in Magnetic Resonance Image Reconstruction

Md Biddut Hossain et al. Int J Biomed Imaging. .

Abstract

We present a deep learning-based method that corrects motion artifacts and thus accelerates data acquisition and reconstruction of magnetic resonance images. The novel model, the Motion Artifact Correction by Swin Network (MACS-Net), uses a Swin transformer layer as the fundamental block and the Unet architecture as the neural network backbone. We employ a hierarchical transformer with shifted windows to extract multiscale contextual features during encoding. A new dual upsampling technique is employed to enhance the spatial resolutions of feature maps in the Swin transformer-based decoder layer. A raw magnetic resonance imaging dataset is used for network training and testing; the data contain various motion artifacts with ground truth images of the same subjects. The results were compared to six state-of-the-art MRI image motion correction methods using two types of motions. When motions were brief (within 5 s), the method reduced the average normalized root mean square error (NRMSE) from 45.25% to 17.51%, increased the mean structural similarity index measure (SSIM) from 79.43% to 91.72%, and increased the peak signal-to-noise ratio (PSNR) from 18.24 to 26.57 dB. Similarly, when motions were extended from 5 to 10 s, our approach decreased the average NRMSE from 60.30% to 21.04%, improved the mean SSIM from 33.86% to 90.33%, and increased the PSNR from 15.64 to 24.99 dB. The anatomical structures of the corrected images and the motion-free brain data were similar.

PubMed Disclaimer

Conflict of interest statement

The authors declare that there is no conflict of interest regarding the publication of this paper.

Figures

Figure 1
Figure 1
The receptive fields for two-dimensional convolution (Conv2D), multihead self-attention (MSA), and shifted window-based MSA (W-MSA/SW-MSA) are shown in (a) and (b). Receptive field of operation, green box; pixel, yellow box; self-attention patch, red box.
Figure 2
Figure 2
The Swin transformer-based method for correction of MAs. C: number of channels; GELU: Gaussian error linear unit.
Figure 3
Figure 3
The new dual upsampling module employing both subpixel and bilinear approaches.
Figure 4
Figure 4
A Swin transformer block (STB) with eight Swin transformer layers (STLs).
Figure 5
Figure 5
Two Swin transformer layers (STLs).
Figure 6
Figure 6
Training and validation losses of the proposed method.
Figure 7
Figure 7
PSNR data acquired during model training.
Figure 8
Figure 8
Reconstructed images of slice 82 of the test dataset with brief motion (<5 s). (a) The motion-free ground truth image. (b) The image with an MA. Images corrected by (c) MoCo-Net, (d) Namer-Net, (e) Modified-2D-Net, (f) MC-Net, (g) Stacked-Unet, (h) Mark-Net, and (i) MACS-Net.
Figure 9
Figure 9
Reconstructed images of slice 82 of the test dataset with moderate brief motion (5–10 s). (a) Motion-free ground truth image. (b) The image with an MA. Images corrected by (c) MoCo-Net, (d) Namer-Net, (e) Modified-2D-Net, (f) MC-Net, (g) Stacked-Unet, (h) Mark-Net, and (i) MACS-Net.

References

    1. Hossain M. B., Kwon K.-C., Imtiaz S. M., Nam O.-S., Jeon S.-H., Kim N. De-aliasing and accelerated sparse magnetic resonance image reconstruction using fully dense CNN with attention gates. Bioengineering . 2022;10(1):p. 22. doi: 10.3390/bioengineering10010022. - DOI - PMC - PubMed
    1. Zaitsev M., Maclaren J., Herbst M. Motion artifacts in MRI: a complex problem with many partial solutions. Journal of Magnetic Resonance Imaging . 2015;42(4):887–901. doi: 10.1002/jmri.24850. - DOI - PMC - PubMed
    1. Sharma S., Hari K. V. S., Leus G. K-Space Trajectory Design for Reduced MRI Scan Time. ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP); 2020; Barcelona, Spain. pp. 1120–1124. - DOI
    1. Godenschweger F., Kägebein U., Stucht D., et al. Motion correction in MRI of the brain. Physics in Medicine and Biology . 2016;61(5):R32–R56. doi: 10.1088/0031-9155/61/5/R32. - DOI - PMC - PubMed
    1. Stadler A., Schima W., Ba-Ssalamah A., Kettenbach J., Eisenhuber E. Artifacts in body MR imaging: their appearance and how to eliminate them. European Radiology . 2007;17(5):1242–1255. doi: 10.1007/s00330-006-0470-4. - DOI - PubMed

LinkOut - more resources