Swin Transformer Embedding MSMDFFNet for Road Extraction From Remote Sensing Images
Contextual road features and multiscale spatial semantic information play a vital role in road extraction from remote sensing (RS) images. However, accurately modeling these essential features with current convolutional neural network (CNN)-based road extraction algorithms remains challenging, leading to fragmented roads in occluded areas. Inspired by the self-attention mechanism of transformers in natural language processing (NLP), we propose an innovative MSMDFFNet in conjunction with Swin Transformer (SwinMSMDFFNet) for road extraction from RS images. First, the Swin Transformer is embedded as an auxiliary encoder into the MSMDFFNet to incorporate necessary self-attention mechanisms. Meanwhile, a multigranularity sampling (MGS) module is introduced to enhance the computation of self-attention at multiple granularities by the Swin Transformer. This module specifically transforms the feature maps produced by the main encoder into suitable inputs for the auxiliary encoder. Furthermore, to enhance the connections between adjacent local windows in the auxiliary encoder, a cross-directional fusion (CDF) module is designed for feeding the features of the auxiliary encoder back into the main encoder. Extensive experiments conducted on the DeepGlobe and LSRV datasets demonstrate that our proposed SwinMSMDFFNet has significant advantages in extracting road structure, particularly in areas with long-distance occlusions. It surpasses existing methods in pixel-level metrics such as F1 score, intersection over union (IoU), and connectivity metric average path length similarity (APLS). The code will be made publicly available at: <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://github.com/wycloveinfall/SwinMSMDFFNet</uri>.
Authors
- Ling Tong (ORCID: https://orcid.org/0000-0003-1883-7792)
- Jiaxing Yang (ORCID: https://orcid.org/0000-0003-4914-485X)
- Yuchuan Wang (ORCID: https://orcid.org/0009-0007-0936-5646)
- Shangtao Qin (ORCID: https://orcid.org/0009-0008-5621-1188)
Institutions
- University of Electronic Science and Technology of China (CN)
Publication Details
- Journal
- IEEE Geoscience and Remote Sensing Letters
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/lgrs.2025.3552763
- Citations
- 1
- Primary Topic
- Automated Road and Building Extraction
- Type
- article
- Field-Weighted Citation Impact
- 1.15
Funders
- National Natural Science Foundation of China