# HR-Mamba: Building Footprint Segmentation with Geometry-Driven Boundary Regularization

**Authors:** Buyu Su, Defei Yin, Piyuan Yi, Wenhuan Wu, Junjian Liu, Fan Yang, Haowei Mu, Jingyi Xiong

PMC · DOI: 10.3390/s26020352 · Sensors (Basel, Switzerland) · 2026-01-06

## TL;DR

HR-Mamba is a new high-resolution network for building footprint segmentation that improves accuracy in dense urban areas by combining boundary regularization and global modeling.

## Contribution

HR-Mamba introduces a novel architecture with geometry-driven boundary regularization and a Mamba-based global branch for better building extraction.

## Key findings

- HR-Mamba improves F1-score by 2.98% compared to HRNet in dense urban imagery.
- The model enhances detail fidelity and global consistency in building footprint segmentation.
- A composite loss and adaptive post-processing pipeline contribute to smoother, engineering-ready outlines.

## Abstract

Building extraction underpins land-use assessment, urban planning, and disaster mitigation, yet dense urban scenes still cause missed small objects, target adhesion, and ragged contours. We present High-Resolution-Mamba (HR-Mamba), a high-resolution semantic segmentation network that augments a High-Resolution Network (HRNet) parallel backbone with edge-aware and sequence-state modeling. A Canny-enhanced, median-filtered stem stabilizes boundaries under noise; Involution-based residual blocks capture position-specific local geometry; and a Mamba-based State Space Models (Mamba-SSM) global branch captures cross-scale long-range dependencies with linear complexity. Training uses a composite loss of binary cross entropy (BCE), Dice loss, and Boundary loss, with weights selected by joint grid search. We further design a feature-driven adaptive post-processing pipeline that includes geometric feature analysis, multi-strategy simplification, multi-directional regularization, and topological consistency verification to produce regular, smooth, engineering-ready building outlines. On dense urban imagery, HR-Mamba improves F1-score from 80.95% to 83.93%, an absolute increase of 2.98% relative to HRNet. We conclude that HR-Mamba jointly enhances detail fidelity and global consistency and offers a generalizable route for high-resolution building extraction in remote sensing.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12845607/full.md

## Figures

11 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12845607/full.md

## References

45 references — full list in the complete paper: https://tomesphere.com/paper/PMC12845607/full.md

---
Source: https://tomesphere.com/paper/PMC12845607