Slender Object Scene Segmentation in Remote Sensing Image Based on Learnable Morphological Skeleton with Segment Anything Model
Jun Xie, Wenxiao Li, Faqiang Wang, Liqiang Zhang, Zhengyang Hou, Jun Liu
TL;DR
The paper tackles slender-object segmentation in remote sensing by embedding a differentiable, learnable morphological skeleton prior into a segmentation framework. It introduces a variational skeleton-preserving model with smooth morphological operators and unrolls it into a MorSP module, which is integrated into the Segment Anything Model (SAM) to produce skeleton-aware masks. The approach demonstrates improved preservation of skeleton structure for buildings, roads, and water across multiple datasets, while remaining robust to noise and adaptable to different backbones. The work provides mathematical interpretability through variational formulations and operator-splitting solutions, and offers practical gains for high-resolution remote sensing analysis.
Abstract
Morphological methods play a crucial role in remote sensing image processing, due to their ability to capture and preserve small structural details. However, most of the existing deep learning models for semantic segmentation are based on the encoder-decoder architecture including U-net and Segment Anything Model (SAM), where the downsampling process tends to discard fine details. In this paper, we propose a new approach that integrates learnable morphological skeleton prior into deep neural networks using the variational method. To address the difficulty in backpropagation in neural networks caused by the non-differentiability presented in classical morphological operations, we provide a smooth representation of the morphological skeleton and design a variational segmentation model integrating morphological skeleton prior by employing operator splitting and dual methods. Then, we integrate this model into the network architecture of SAM, which is achieved by adding a token to mask decoder and modifying the final sigmoid layer, ensuring the final segmentation results preserve the skeleton structure as much as possible. Experimental results on remote sensing datasets, including buildings, roads and water, demonstrate that our method outperforms the original SAM on slender object segmentation and exhibits better generalization capability.
