Acta Geodaetica et Cartographica Sinica ›› 2025, Vol. 54 ›› Issue (5): 924-936.doi: 10.11947/j.AGCS.2025.20240235

• Photogrammetry and Remote Sensing • Previous Articles     Next Articles

MAFUNet: water body segmentation algorithm for SAR images combining attention mechanisms and active contour loss

Guangao XING(), Guanming LU, Bin HAN()   

  1. School of Communication and Information Engineering, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
  • Received:2024-06-04 Revised:2025-04-10 Online:2025-06-23 Published:2025-06-23
  • Contact: Bin HAN E-mail:guangaoxing1215@163.com;njupt.bh@foxmail.com
  • About author:XING Guangao (1999—), male, postgraduate, majors in remote sensing image processing. E-mail: guangaoxing1215@163.com
  • Supported by:
    The National Natural Science Foundation of China(62201281);The Natural Science Foundation of Jiangsu Province(BK20220392);The Natural Science Research Initiation Fund for Talents Introduced to Nanjing University of Posts and Telecommunications(NY222004)

Abstract:

With the increasing development of remote sensing technology, synthetic aperture radar (SAR) imagery has become one of the main methods for water body segmentation. Due to the presence of complex interference, water body segmentation in SAR imagery is still a challenging task. To achieve accurate water body detection, we proposed a multi-level attention fusion UNet (MAFUNet) inspired by the effectiveness of UNet in segmenting small targets with weak edges. First, the spatial attention module (SAM) and channel attention module (CAM) are added to the skip connections between the encoder and decoder parts to extract useful low-level and high-level features, compensating for the loss of semantic information of downsampling. Second, considering the feature distortion resulting from upsampling, an attention upsampler (AU) is designed that retains more detailed information of the image and reduces the effect of introduced noise. Third, the multiscale convolutional pooling block (MCPB) is introduced into the decoder part to better utilize the contextual information, capturing water and land features at different scales. Moreover, an active contour loss is designed as an additional regularization, and a multilayer loss function is used to optimize the network for better extraction of layer-level features, improving the model's segmentation performance. The experimental results show that the proposed MAFUNet outperforms other state-of-the-art models, IoU and F1 are 94.28% and 97.67% on the ALOS PALSAR dataset.

Key words: water body segmentation, SAR, attention fusion UNet, MCPB, active contour loss

CLC Number: