Analysis of Building Segmentation Method for Calculating Photovoltaic Potential Area Using Segment Anything Model (SAM) on the Massachusetts Building Dataset

Accurate roof segmentation in aerial images is essential for precise calculation of photovoltaic potential, which is increasingly important for optimizing solar energy utilization. This study aims to enhance roof segmentation precision by developing an architecture based on the Segment Anything Model (SAM) and comparing its performance to a baseline UNET architecture. We evaluated the inherent differences between instance segmentation (SAM) and semantic segmentation (UNET) approaches. The predicted roof areas of the proposed SAM-based instance segmentation model were quite accurate, hence masking those areas was facilitated. Some of the performance metrics include accuracy, Dice coefficient, and IoU. With the SAM model, an accuracy of 85.48%, a Dice coefficient of 57%, an IoU of 40.4%, while UNET established an accuracy of 84.89%, a Dice coefficient of 84.7<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">%</sup>, and an IoU of 73.6% accordingly. In fact, these results really show that while the SAM model is more accurate, the UNET model outperforms it in terms of Dice coefficient and IoU, probably because of fundamental differences between instance and semantic segmentation approaches. As conclusion, instance segmentation models such as SAM have shown their great potential in detecting roofs, whereas semantic segmentation models like UNET perform better in detecting them. A web application was developed using Streamlit and FastAPI to visualize segmentation results, effectively mapping building roofs but with room for improvement.

Authors

Institutions

Publication Details

Published
2024-12-13
DOI
https://doi.org/10.1109/agers65212.2024.10932868
Citations
2
Primary Topic
Solar Radiation and Photovoltaics
Type
article
Field-Weighted Citation Impact
0.69
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Analysis of Building Segmentation Method for Calculating Photovoltaic Potential Area Using Segment Anything Model (SAM) on the Massachusetts Building Dataset

Alexander Agung Santoso Gunawan, Edy Irwansyah, Irvin Irvin
2 citations
Solar Radiation and Photovoltaics
0.69
article

Analysis of Building Segmentation Method for Calculating Photovoltaic Potential Area Using Segment Anything Model (SAM) on the Massachusetts Building Dataset

Alexander Agung Santoso Gunawan, Edy Irwansyah, Irvin Irvin
article en
2 citations

Abstract

Accurate roof segmentation in aerial images is essential for precise calculation of photovoltaic potential, which is increasingly important for optimizing solar energy utilization. This study aims to enhance roof segmentation precision by developing an architecture based on the Segment Anything Model (SAM) and comparing its performance to a baseline UNET architecture. We evaluated the inherent differences between instance segmentation (SAM) and semantic segmentation (UNET) approaches. The predicted roof areas of the proposed SAM-based instance segmentation model were quite accurate, hence masking those areas was facilitated. Some of the performance metrics include accuracy, Dice coefficient, and IoU. With the SAM model, an accuracy of 85.48%, a Dice coefficient of 57%, an IoU of 40.4%, while UNET established an accuracy of 84.89%, a Dice coefficient of 84.7<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">%</sup>, and an IoU of 73.6% accordingly. In fact, these results really show that while the SAM model is more accurate, the UNET model outperforms it in terms of Dice coefficient and IoU, probably because of fundamental differences between instance and semantic segmentation approaches. As conclusion, instance segmentation models such as SAM have shown their great potential in detecting roofs, whereas semantic segmentation models like UNET perform better in detecting them. A web application was developed using Streamlit and FastAPI to visualize segmentation results, effectively mapping building roofs but with room for improvement.

Binus University (ID)
Openalex Percentile: Top 22%
Solar Radiation and Photovoltaics
0.69
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.