CrackSnakeNet: Multi-directional snake scanning with Mamba for topology-preserving crack segmentation

Thin cracks, typically only 1–3 pixels wide, remain the most challenging surface defects to segment in automated structural inspection. This paper presents CrackSnakeNet, a hybrid CNN-Mamba encoder-decoder designed to enhance both detection sensitivity and structural consistency. Its core module, SnakeMamba2D, scans feature maps along eight boustrophedon trajectories aligned with principal crack directions, effectively preserving spatial adjacency. A geometric analysis shows that the four axis-aligned scans preserve only 66.4% of the adjacencies along real crack centerlines, a deficit that the diagonal trajectories remove entirely. In addition, a centerline recall loss enforces prediction coverage on crack medial axes without requiring differentiable skeletonization. Experimental results show that CrackSnakeNet performs comparably to state-of-the-art methods on wide-crack datasets such as DeepCrack, while demonstrating clear advantages as crack width decreases. On CrackTree260, where cracks average 1 pixel wide, it achieves 87.23% T sens , the topology-sensitivity metric that measures the fraction of ground-truth centerline pixels covered by the prediction, outperforming DBCNet (85.26%) and U-Net (74.49%). On CRACK500, it achieves the best T sens of 82.39%. This trend indicates that the proposed method is particularly effective for extremely thin cracks. In cross-domain tests on CFD, CrackSnakeNet consistently achieves the highest clDice across all source domains, reaching 69.16% when trained on DeepCrack, compared to 58.62% for the second-best method. All results obtained with only 9.14 M parameters, a count that is less than half the 24.44 M of U-Net and roughly one-fifth the 50.57 M of DBCNet, and without ImageNet pretraining.

Authors

Institutions

Publication Details

Journal
Construction and Building Materials
Published
2026-09-21
DOI
https://doi.org/10.1016/j.conbuildmat.2026.148064
Primary Topic
Infrastructure Maintenance and Monitoring
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

CrackSnakeNet: Multi-directional snake scanning with Mamba for topology-preserving crack segmentation

Weihang Gao, Peizhen Li, Yupeng Huo, Yuhan Chen
Construction and Building Materials
Infrastructure Maintenance and Monitoring
article

CrackSnakeNet: Multi-directional snake scanning with Mamba for topology-preserving crack segmentation

Weihang Gao, Peizhen Li, Yupeng Huo, Yuhan Chen
article en

Abstract

Thin cracks, typically only 1–3 pixels wide, remain the most challenging surface defects to segment in automated structural inspection. This paper presents CrackSnakeNet, a hybrid CNN-Mamba encoder-decoder designed to enhance both detection sensitivity and structural consistency. Its core module, SnakeMamba2D, scans feature maps along eight boustrophedon trajectories aligned with principal crack directions, effectively preserving spatial adjacency. A geometric analysis shows that the four axis-aligned scans preserve only 66.4% of the adjacencies along real crack centerlines, a deficit that the diagonal trajectories remove entirely. In addition, a centerline recall loss enforces prediction coverage on crack medial axes without requiring differentiable skeletonization. Experimental results show that CrackSnakeNet performs comparably to state-of-the-art methods on wide-crack datasets such as DeepCrack, while demonstrating clear advantages as crack width decreases. On CrackTree260, where cracks average 1 pixel wide, it achieves 87.23% T sens , the topology-sensitivity metric that measures the fraction of ground-truth centerline pixels covered by the prediction, outperforming DBCNet (85.26%) and U-Net (74.49%). On CRACK500, it achieves the best T sens of 82.39%. This trend indicates that the proposed method is particularly effective for extremely thin cracks. In cross-domain tests on CFD, CrackSnakeNet consistently achieves the highest clDice across all source domains, reaching 69.16% when trained on DeepCrack, compared to 58.62% for the second-best method. All results obtained with only 9.14 M parameters, a count that is less than half the 24.44 M of U-Net and roughly one-fifth the 50.57 M of DBCNet, and without ImageNet pretraining.

Construction and Building MaterialsVol. 543
Tongji University (CN)
Openalex Percentile: Top 17%
Infrastructure Maintenance and Monitoring
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.