An enhanced Swin transformer framework for Cardiac MRI segmentation
Yogita Parikh1, Hasmukh Koringa2, Bhupendra Fataniya3 and Dipesh Kamdar4
Assistant Professor, Department of Electronics & Communication,Government engineering college Rajkot, Gujarat Technological University, Gujarat,India2
Assistant Professor, Department of Electronics & Communication,Nirma University, Ahmedabad, Gujarat,India3
Associate Professor, Department of Electronics & Communication,VVP Engineering College, Rajkot, Gujarat,India4
Corresponding Author : Hasmukh Koringa
Recieved : 11-May-2024; Revised : 22-June-2025; Accepted : 24-June-2025
Abstract
Automatic segmentation of cardiac magnetic resonance (CMR) images presents a significant challenge due to the dynamic shape and size variations of heart regions during the diastole and systole phases of the cardiac cycle. This study introduces an enhanced shift-window attention-based Swin transformer for precise segmentation of the left ventricle (LV), right ventricle (RV), and myocardium (MYO). The proposed model improves the self-attention mechanism by employing a cyclic shift-window approach, which facilitates repeated extraction of both low-level and high-level features across all local windows within the Swin transformer block. This shifting strategy enhances the model’s capacity to capture interdependencies between windows, thereby improving the understanding of global context and spatial relationships—critical for accurately delineating anatomical boundaries in CMR segmentation. Additionally, the decoder path is modified to incorporate remote dependencies through skip connections, enabling effective retrieval of global contextual information. This architectural enhancement streamlines the segmentation process, improving both accuracy and computational efficiency. The model was trained and evaluated using publicly available datasets, including the automated cardiac diagnosis challenge (ACDC) 2017 dataset, the multi-centre, multi-vendor & multi-disease cardiac image segmentation (M&Ms) dataset, and the multi-disease, multi-view, multi-centre right ventricular segmentation in CMR imaging (M&Ms-2) dataset. Compared to prior state-of-the-art methods, the proposed model achieved superior segmentation performance across all three datasets, with the dice coefficient demonstrating statistically significant improvements.
Keywords
Cardiac MRI segmentation, Swin transformer, Shift window attention, Left and right ventricle segmentation, Myocardium segmentation, Deep learning in medical imaging.
Cite this article
Parikh Y, Koringa H, Fataniya B, Kamdar D. An enhanced Swin transformer framework for Cardiac MRI segmentation. International Journal of Advanced Technology and Engineering Exploration. 2025;12(127):969-989. DOI : 10.19101/IJATEE.2024.111100766
