Home LiteratureArticle Details
PMID: 40363082 Published · epublish English Journal Article

SECrackSeg: A High-Accuracy Crack Segmentation Network Based on Proposed UNet with SAM2 S-Adapter and Edge-Aware Attention.

Sensors (Basel, Switzerland) ·Vol. 25 ·No. 9 ·2025-04-22

Chen X, Shi Y, Pang J

Abstract

Crack segmentation is essential for structural health monitoring and infrastructure maintenance, playing a crucial role in early damage detection and safety risk reduction. Traditional methods, including digital image processing techniques have limitations in complex environments. Deep learning-based methods have shown potential, but still face challenges, such as poor generalization with limited samples, insufficient extraction of fine-grained features, feature loss during upsampling, and inadequate capture of crack edge details. This study proposes SECrackSeg, a high-accuracy crack segmentation network that integrates an improved UNet architecture, Segment Anything Model 2 (SAM2), MI-Upsampling, and an Edge-Aware Attention mechanism. The key innovations include: (1) using a SAM2 S-Adapter with a frozen backbone to enhance generalization in low-data scenarios; (2) employing a Multi-Scale Dilated Convolution (MSDC) module to promote multi-scale feature fusion; (3) introducing MI-Upsampling to reduce feature loss during upsampling; and (4) implementing an Edge-Aware Attention mechanism to improve crack edge segmentation precision. Additionally, a custom loss function incorporating weighted binary cross-entropy and weighted IoU loss is utilized to emphasize challenging pixels. This function also applies Multi-Granularity Supervision by optimizing segmentation outputs at three different resolution levels, ensuring better feature consistency and improved model robustness across varying image scales. Experimental results show that SECrackSeg achieves higher precision, recall, F1-score, and mIoU scores on the CFD, Crack500, and DeepCrack datasets compared to state-of-the-art models, demonstrating its excellent performance in fine-grained feature recognition, edge segmentation, and robustness.

Keywords
SAM2 UNet crack segmentation edge-aware attention
作者与单位
共 3 位作者,点击展开单位 / ORCID
Chen Xiyin ORCID
School of Mechanical and Automotive Engineering, South China University of Technology, Guangzhou 510640, China.
Shi Yonghua ORCID
School of Mechanical and Automotive Engineering, South China University of Technology, Guangzhou 510640, China.
Pang Junjie ORCID
School of Mechanical and Automotive Engineering, South China University of Technology, Guangzhou 510640, China.
Article Info
Journal
Sensors (Basel, Switzerland)
Abbr.
Sensors (Basel)
ISSN
1424-8220
Published
2025-04-22
电子出版
2025-00-22
Language
English
Country/Region
Switzerland
NLM ID
101204366
基金资助
Shenzhen Longhua District 2023 Special Fund for Scientific and Technological Innovation · 11003a20241221fcbb079
National Key R&D Program of China · 2023YFC2809803
Guangxi Key R&D Program · Guike AB24010123
Analysis Services
Analysis Services

Contact

No. 2 Wenbo Road, Zhangqiu District, Jinan, Shandong

Qilu Normal University · Genelibs Bioinformatics Lab

750 Shunhua Rd, Jinan

2F, Bldg F, University Science Park

Tel: 0531-88819269

WeChat Official Account

Follow our WeChat subscription account for real-time updates and the latest in medical and biological research.


Business Email

E-mail: [email protected]