Surface water plays a crucial role in climate change, human production, and life, making accurate monitoring and observation of surface water particularly important. However, due to the significant diversity and complexity of water distribution in surface space, accurate mapping of surface water faces considerable challenges. When extracting water bodies from medium-resolution satellite remote sensing images, CNN methods may suffer from limitations in receptive fields and insufficient context modeling capabilities, leading to the loss of water body boundary details and poor fusion of multiscale features. Currently, there is relatively little research on this issue; therefore, it is necessary to explore new combinations of deep learning networks to address these challenges. The purpose of this study is to address the above issues. We propose a new combination of deep learning networks that fully utilize multiscale information to enhance water features. Specifically, we first combine deformable convolutions with the Swin Transformer to increase effective receptive fields while better integrating global semantic information. This combination can capture features of water bodies at different scales, improve the accuracy and integrity of water extraction, and provide reliable technical support for detailed water body extraction. We tested the newly constructed model using Sentinel-2 satellite images. Our model achieved results of over 90%, with an average accuracy of 97.89%, average precision of 94.98%, average recall of 90.05%, and an average F1 score of 92.33%. In addition, our model achieved an accuracy of 98.03% in mountainous areas. Our experiments and results validate the potential of combining the Swin Transformer and deformable convolutions in detailed water body extraction.
Surface water plays a pivotal role in the context of climate change, human activities, and ecosystems, underscoring the significance of precise monitoring and observation of surface water bodies. However, the intricate and diverse nature of surface water distribution poses substantial challenges to accurate mapping. The extraction of water bodies from medium-resolution satellite remote sensing images using CNN methods is constrained by limitations in receptive fields and inadequate context modeling capabilities, resulting in the loss of boundary details of water bodies and suboptimal fusion of multi-scale features. The existing research on this issue is limited, necessitating the exploration of novel deep-learning network combinations to overcome these challenges. This study introduces a novel deep learning network combination, SwinDefNet, which integrates deformable convolution and Swin Transformer for the first time. By enhancing the effective receptive field and integrating global semantic information, the model can effectively capture the diverse features of water bodies at various scales, thereby enhancing the accuracy and completeness of water extraction. The model was evaluated on Sentinel-2 satellite images, achieving an overall accuracy of 97.89%, an F1 score of 92.33%, and, notably, an accuracy of 98.03% in mountainous regions. These findings highlight the promising potential of this combined approach for precise water extraction tasks.