SAMPolyBuild: Adapting the Segment Anything Model for polygonal building extraction

被引:2
|
作者
Wang, Chenhao [1 ,2 ]
Chen, Jingbo [1 ]
Meng, Yu [1 ]
Deng, Yupeng [1 ]
Li, Kai [1 ,2 ,3 ]
Kong, Yunlong [1 ]
机构
[1] Chinese Acad Sci, Aerosp Informat Res Inst, 9 Dengzhuang South Rd, Beijing 101408, Peoples R China
[2] Univ Chinese Acad Sci, Sch Elect Elect & Commun Engn, 1 East Yanqi Lake Rd, Beijing 100049, Peoples R China
[3] City Univ Hong Kong, Sch Data Sci, Hong Kong 999077, Peoples R China
关键词
Building extraction; Building vectorization; Foundation model; Instance segmentation; High-resolution remote sensing images; NETWORKS; IMAGERY;
D O I
10.1016/j.isprsjprs.2024.09.018
中图分类号
P9 [自然地理学];
学科分类号
0705 ; 070501 ;
摘要
Extracting polygonal buildings from high-resolution remote sensing images is a critical task for large-scale mapping, 3D city modeling, and various geographic information system applications. Traditional methods are often restricted in accurately delineating boundaries and exhibit limited generalizability, which can affect their real-world applicability. The Segment Anything Model (SAM), a promptable segmentation model trained on an unprecedentedly large dataset, demonstrates remarkable generalization ability across various scenarios. In this context, we present SAMPolyBuild, an innovative framework that adapts SAM for polygonal building extraction, allowing for both automatic and prompt-based extraction. To fulfill the requirement for object location prompts in SAM, we developed the Auto Bbox Prompter, which is trained to detect building bounding boxes directly from the image encoder features of the SAM. The boundary precision of the SAM mask results was insufficient for vector polygon extraction, especially when challenged by blurry edges and tree occlusions. Therefore, we extended the SAM decoder with additional parameters to enable multitask learning to predict masks and generate Gaussian vertex and boundary maps simultaneously. Furthermore, we developed a mask- guided vertex connection algorithm to generate the final polygon. Extensive evaluation on the WHU-Mix vector dataset and SpaceNet datasets demonstrate that our method achieves a new state-of-the-art in terms of accuracy and generalizability, significantly improving average precision (AP), average recall (AR), intersection over union (IoU), boundary F1, and vertex F1 metrics. Moreover, by combining the automatic and prompt modes of our framework, we found that 91.2% of the building polygons predicted by SAMPolyBuild on out- of-domain data closely match the quality of manually delineated polygons. The source code is available at https://github.com/wchh-2000/SAMPolyBuild.
引用
收藏
页码:707 / 720
页数:14
相关论文
共 50 条
  • [31] ASPS: Augmented Segment Anything Model for Polyp Segmentation
    Li, Huiqian
    Zhang, Dingwen
    Yao, Jieru
    Han, Longfei
    Li, Zhongyu
    Han, Junwei
    MEDICAL IMAGE COMPUTING AND COMPUTER ASSISTED INTERVENTION - MICCAI 2024, PT IX, 2024, 15009 : 118 - 128
  • [32] An efficient segment anything model for the segmentation of medical images
    Dong, Guanliang
    Wang, Zhangquan
    Chen, Yourong
    Sun, Yuliang
    Song, Hongbo
    Liu, Liyuan
    Cui, Haidong
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [33] Segment Anything Model-Based Building Footprint Extraction for Residential Complex Spatial Assessment Using LiDAR Data and Very High-Resolution Imagery
    Ji, Yingjie
    Wu, Weiguo
    Wan, Guangtong
    Zhao, Yindi
    Wang, Weilin
    Yin, Hui
    Tian, Zhuang
    Liu, Song
    REMOTE SENSING, 2024, 16 (14)
  • [34] Application of Segment Anything Model in Medical Image Segmentation
    Wu, Tong
    Hu, Haoji
    Feng, Yang
    Luo, Qiong
    Xu, Dong
    Zheng, Weizeng
    Jin, Neng
    Yang, Chen
    Yao, Jincao
    Zhongguo Jiguang/Chinese Journal of Lasers, 2024, 51 (21):
  • [35] ASAM: Boosting Segment Anything Model with Adversarial Tuning
    Li, Bo
    Xiao, Haoke
    Tang, Lv
    2024 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2024, 2024, : 3699 - 3710
  • [36] An empirical study on the robustness of the segment anything model (SAM)
    Wang, Yuqing
    Zhao, Yun
    Petzold, Linda
    PATTERN RECOGNITION, 2024, 155
  • [37] An innovative segment anything model for precision poultry monitoring
    Yang, Xiao
    Dai, Haixing
    Wu, Zihao
    Bist, Ramesh Bahadur
    Subedi, Sachin
    Sun, Jin
    Lu, Guoyu
    Li, Changying
    Liu, Tianming
    Chai, Lilong
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2024, 222
  • [38] TRANSBUILDING: AN END-TO-END POLYGONAL BUILDING EXTRACTION WITH TRANSFORMERS
    Zhang, Mingming
    Liu, Qingjie
    Wang, Wei
    Wang, Yunhong
    2023 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2023, : 460 - 464
  • [39] The ability of Segmenting Anything Model (SAM) to segment ultrasound images
    Chen, Fang
    Chen, Lingyu
    Han, Haojie
    Zhang, Sainan
    Zhang, Daoqiang
    Liao, Hongen
    BIOSCIENCE TRENDS, 2023, 17 (03) : 211 - 218
  • [40] Image Radar Point Cloud Segmentation with Segment Anything Model
    Du, Yu
    Smith, Jeremy S.
    Man, Ka Lok
    Lim, Eng Gee
    2023 20TH INTERNATIONAL SOC DESIGN CONFERENCE, ISOCC, 2023, : 195 - 196