BuildWin-SAM: An Improved SAM-Based Method for Extracting Building Windows From Street View Images

Building facade segmentation provides critical support for urban information management, precise 3D reconstruction, and energy consumption analysis. Window, as a pivotal component of building facades, plays a central role in these applications. However, accurately identifying windows in diverse urban environments poses significant challenges due to dataset limitations and variability in model performance. This study presents two primary contributions: first, we develop the Street View BuildingWindow (SVBW) segmentation dataset, comprising 1,172 images that represent diverse urban contexts and window types, with a total of 50,321 meticulously annotated window instances. This dataset addresses existing gaps in segmenting irregular building facades. Second, we propose BuildWin-SAM, a model for window extraction based on the Segment Anything Model (SAM) architecture, which is trained on the SVBWdataset. Comparative analysis with CNN-based semantic segmentation models and SAM demonstrates that BuildWin-SAM achieves improvements across key evaluation metrics, including Intersection over Union (IoU), F1 score, precision, and recall. Specifically, BuildWin-SAM achieves an IoU of 80.70%, precision of 89.43%, recall of 89.20%, and an F1 score of 88.52%, demonstrating precise window localization and delineation capabilities. To further validate its robustness, we conduct evaluations on three public datasets featuring multi-scale and multi-scene images with building window annotations. BuildWin-SAM achieves Recall rates exceeding 72% and Precision rates mainly above 87% across these datasets. These results demonstrate BuildWin-SAM’s potential to significantly enhance building window recognition in diverse urban environments, ultimately contributing to advancements in building information management and other relevant applications. The SVBW dataset will be provided at https://github.com/zhengnanle/svbw.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3556738
Citations
1
Primary Topic
Automated Road and Building Extraction
Type
article
Field-Weighted Citation Impact
1.15

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

BuildWin-SAM: An Improved SAM-Based Method for Extracting Building Windows From Street View Images

Yizhen Yan, Bo Huang, Zhengnan Li
1 citations
IEEE Access
Automated Road and Building Extraction
1.15
article

BuildWin-SAM: An Improved SAM-Based Method for Extracting Building Windows From Street View Images

Yizhen Yan, Bo Huang, Zhengnan Li
article en
1 citations

Abstract

Building facade segmentation provides critical support for urban information management, precise 3D reconstruction, and energy consumption analysis. Window, as a pivotal component of building facades, plays a central role in these applications. However, accurately identifying windows in diverse urban environments poses significant challenges due to dataset limitations and variability in model performance. This study presents two primary contributions: first, we develop the Street View BuildingWindow (SVBW) segmentation dataset, comprising 1,172 images that represent diverse urban contexts and window types, with a total of 50,321 meticulously annotated window instances. This dataset addresses existing gaps in segmenting irregular building facades. Second, we propose BuildWin-SAM, a model for window extraction based on the Segment Anything Model (SAM) architecture, which is trained on the SVBWdataset. Comparative analysis with CNN-based semantic segmentation models and SAM demonstrates that BuildWin-SAM achieves improvements across key evaluation metrics, including Intersection over Union (IoU), F1 score, precision, and recall. Specifically, BuildWin-SAM achieves an IoU of 80.70%, precision of 89.43%, recall of 89.20%, and an F1 score of 88.52%, demonstrating precise window localization and delineation capabilities. To further validate its robustness, we conduct evaluations on three public datasets featuring multi-scale and multi-scene images with building window annotations. BuildWin-SAM achieves Recall rates exceeding 72% and Precision rates mainly above 87% across these datasets. These results demonstrate BuildWin-SAM’s potential to significantly enhance building window recognition in diverse urban environments, ultimately contributing to advancements in building information management and other relevant applications. The SVBW dataset will be provided at https://github.com/zhengnanle/svbw.

IEEE AccessVol. 13
Shenzhen University (CN), Guangdong-Hongkong-Macau Joint Laboratory of Collaborative Innovation for Environmental Quality (CN), Renmin University of China (CN)
National Key Research and Development Program of China
Sustainable cities and communities
Openalex Percentile: Top 25%
Automated Road and Building Extraction
1.15
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.