Image Segmentation Algorithm Based on Sparse Neighbor Attention

Zhi-wei KOU , Zhe KONG , Yu-long GENG , Xiao-ming CUI , Yong-sheng QI

Science Technology and Engineering ›› 2026, Vol. 26 ›› Issue (6) : 2464 -2473.

PDF
Science Technology and Engineering ›› 2026, Vol. 26 ›› Issue (6) : 2464-2473 DOI: 10.12404/j.issn.1671-1815.2501385
research-article
Image Segmentation Algorithm Based on Sparse Neighbor Attention
Author information +
History +
PDF

Abstract

Semantic SLAM(semantic simultaneous localization and mapping) enables mobile robots to perceive high-level semantic information in unknown environments and has become one of the key technologies for adapting to future developments. SNA-Seg (sparse neighborhood attention-based image segmentation algorithm) was proposed to address the problem of weak environmental perception in mobile robots under unknown scenes with low texture and dynamic objects. First, a panoramic segmentation network based on a sparse neighborhood window self-attention mechanism was first constructed to capture global information effectively and enhance the segmentation of edge details without increasing computational complexity. Then, the Cityscapes dataset was selected for training and testing. The algorithm’s performance was evaluated using metrics such as PQ (panoptic quality), SQ(segmentation quality), and mIoU (mean Intersection over union).In addition, local visual image data were collected to verify the practical effectiveness of the proposed algorithm. Experimental results show that, compared with image segmentation algorithms based on Swin (sliding window attention) and NA (neighborhood attention), the proposed SNA-Seg algorithm achieves improvements across all evaluation metrics. In particular, the mIoU was improved by 11.17%, indicating a significant enhancement in mask classification accuracy. In instance segmentation tasks, the SNA-Seg algorithm demonstrates higher segmentation precision, with output masks showing stronger consistency with original images in terms of edge details and semantic categories. The segmentation results better reflect the semantic structure of real-world scenes. The proposed method provides a novel technical approach for panoramic image segmentation in semantic SLAM.

Graphical abstract

Keywords

semantic SLAM(semantic simultaneous localization and mapping) / sparse neighbor attention / image segmentation / semantic information perception / SNA-Seg algorithm

Cite this article

Download citation ▾
Zhi-wei KOU, Zhe KONG, Yu-long GENG, Xiao-ming CUI, Yong-sheng QI. Image Segmentation Algorithm Based on Sparse Neighbor Attention. Science Technology and Engineering, 2026, 26(6): 2464-2473 DOI:10.12404/j.issn.1671-1815.2501385

登录浏览全文

4963

注册一个新账户 忘记密码

References

Funding

PDF (11500KB)

20

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉