Fully Automated Segmentation of Cervical Spinal Cord in Sagittal MR Images Using Swin-Unet Architectures
Open Access
- 2 October 2025
- journal article
- research article
- Published by MDPI AG in Journal of Clinical Medicine
- Vol. 14 (19) , 6994
Abstract
Background/Objectives: The spinal cord is a critical component of the central nervous system that transmits neural signals between the brain and the body’s peripheral regions through its nerve roots. Despite being partially protected by the vertebral column, the spinal cord remains highly vulnerable to trauma, tumors, infections, and degenerative or inflammatory disorders. These conditions can disrupt neural conduction, resulting in severe functional impairments, such as paralysis, motor deficits, and sensory loss. Therefore, accurate and comprehensive spinal cord segmentation is essential for characterizing its structural features and evaluating neural integrity. Methods: In this study, we propose a fully automated method for segmentation of the cervical spinal cord in sagittal magnetic resonance (MR) images. This method facilitates rapid clinical evaluation and supports early diagnosis. Our approach uses a Swin-Unet architecture, which integrates vision transformer blocks into the U-Net framework. This enables the model to capture both local anatomical details and global contextual information. This design improves the delineation of the thin, curved, low-contrast cervical cord, resulting in more precise and robust segmentation. Results: In experimental studies, the proposed Swin-Unet model (SWU1), which uses transformer blocks in the encoder layer, achieved Dice Similarity Coefficient (DSC) and Hausdorff Distance 95 (HD95) scores of 0.9526 and 1.0707 mm, respectively, for cervical spinal cord segmentation. These results confirm that the model can consistently deliver precise, pixel-level delineations that are structurally accurate, which supports its reliability for clinical assessment. Conclusions: The attention-enhanced Swin-Unet architecture demonstrated high accuracy in segmenting thin and complex anatomical structures, such as the cervical spinal cord. Its ability to generalize with limited data highlights its potential for integration into clinical workflows to support diagnosis, monitoring, and treatment planning.Keywords
Funding Information
- Scientific Research Projects Coordinatorship of Bilecik Şeyh Edebali University (2021-01.BŞEÜ.03-02)
This publication has 49 references indexed in Scilit:
- A multi-scale information fusion medical image segmentation network based on convolutional kernel coupled updata mechanismComputers in Biology and Medicine, 2025
- Early cancer detection using deep learning and medical imaging: A surveyCritical Reviews in Oncology/Hematology, 2024
- CoST-UNet: Convolution and swin transformer based deep learning architecture for cardiac segmentationBiomedical Signal Processing and Control, 2024
- Brain tumor segmentation based on the fusion of deep semantics and edge information in multimodal MRIInformation Fusion, 2022
- Hybrid dilation and attention residual U-Net for medical image segmentationComputers in Biology and Medicine, 2021
- Spinal Cord MRI Segmentation Techniques and Algorithms: A SurveySN Computer Science, 2021
- Segmentation of the human spinal cordMagnetic Resonance Materials in Physics, Biology and Medicine, 2016
- Evaluation and Management of Acute Cervical Spine TraumaEmergency Medicine Clinics of North America, 2010
- Measurement of cervical spinal cord cross‐sectional area by MRI using edge detection and partial volume correctionJournal of Magnetic Resonance Imaging, 2005
- Quantification of spinal cord atrophy from magnetic resonance images via a B‐spline active surface modelMagnetic Resonance in Medicine, 2002