Submitted:
25 July 2025
Posted:
28 July 2025
You are already at the latest version
Abstract

Keywords:
1. Introduction
- A dataset comprising pseudo-crack images is constructed for training and evaluation; The gradient prior is introduced to enhance the localization ability of tiny cracks while accelerating the extraction of network self-learning features;
- The encoder introduces dense connections and self-attention, which enables the network to focus on the extraction of multi-scale features and global features, thereby improving the network’s ability to distinguish pseudo-cracks;
- The decoder employs a concatenation of multi-scale crack feature maps to integrate shallow detail features and deep semantic features, thereby obtaining a more accurate and complete crack segmentation result.
2. RelatedWork
2.1. Morphology-Based Crack Detection
2.2. Deep Learning for Crack Detection
2.3. Attention and Dense Connections
3. Proposed Method
3.1. The Architecture of Detection Network
3.1.1. Gradient Prior
3.1.2. Encoder
3.1.3. Decoder
3.2. Loss Function
4. Experiment
4.1. Implementation Details
4.2. Crack Datasets
4.3. Evaluation Criteria
4.4. Comparison Experiment on Our DeepCrack-AUG Dataset
4.4.1. Quantitative Comparison
4.4.2. Qualitative Comparison
4.5. Comparison Experiment on Public Datasets
4.5.1. Quantitative Comparison
4.5.2. Qualitative Comparison
4.6. Ablation Experiment
4.6.1. Quantitative Comparison
4.6.2. Qualitative Comparison
5. Conclusion
Author Contributions
Funding
Conflicts of Interest
References
- Simler, C.; Trostmann, E.; Berndt, D. Automatic Crack Detection on Concrete Floor Images. In Proceedings of the Photonics and Education in Measurement Science; 2019; pp. 191–200. [Google Scholar]
- Safaei, N.; Smadi, O.; Safaei, B.; et al. Efficient Road Crack Detection Based on an Adaptive Pixel-Level Segmentation Algorithm. Transportation Research Record 2021, 2675, 370–381. [Google Scholar] [CrossRef]
- Chen, X.; Li, J.; Huang, S.; et al. An Automatic Concrete Crack-Detection Method Fusing Point Clouds and Images Based on Improved Otsu’s Algorithm. Sensors 2021, 21, 1581. [Google Scholar] [CrossRef]
- Cao, W.; Liu, Q.; He, Z. Review of Pavement Defect Detection Methods. Ieee Access 2020, 8, 14531–14544. [Google Scholar] [CrossRef]
- Liu, Y.; Yao, J.; Lu, X.; et al. DeepCrack: A Deep Hierarchical Feature Learning Architecture for Crack Segmentation. Neurocomputing 2019, 338, 139–153. [Google Scholar] [CrossRef]
- Zou, Q.; Zhang, Z.; Li, Q.; et al. Deepcrack: Learning Hierarchical Convolutional Features for Crack Detection. IEEE Transactions on Image Processing 2018, 28, 1498–1512. [Google Scholar] [CrossRef]
- Ma, W.Y.; Manjunath, B.S. Edge Flow: A Framework of Boundary Detection and Image Segmentation. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition; 1997; pp. 744–749. [Google Scholar]
- Tao,M.; Chen, Z.; Liao, L.; et al. Edge Intelligence empowered Social Image Recognition using Microservices Architecture. 2024 IEEE International Conference on Social Computing and Networking, 2024; pp. 34–41.
- Canny, J. A Computational Approach to Edge Detection. IEEE Transactions on Pattern Analysis and Machine Intelligence 1986, 6, 679–698. [Google Scholar] [CrossRef]
- Wang, L.; Gu, X.; Liu, Z.; et al. Automatic Detection of Asphalt Pavement Thickness: A Method Combining GPR Images and Improved Canny Algorithm. Measurement 2022, 196, 111248. [Google Scholar] [CrossRef]
- Li, Y.; Liu, B. Improved Edge Detection Algorithm for Canny Operator. In Proceedings of the 2022 IEEE 10th Joint International Information Technology and Artificial Intelligence Conference (ITAIC); 2022; pp. 1–5. [Google Scholar]
- Boykov, Y.; Funka-Lea, G. Graph Cuts and Efficient ND Image Segmentation. International Journal of Computer Vision 2006, 70, 109–131. [Google Scholar] [CrossRef]
- Chew, S.E.; Cahill, N.D. Semi-Supervised Normalized Cuts for Image Segmentation. In Proceedings of the IEEE International Conference on Computer Vision; 2015; pp. 1716–1723. [Google Scholar]
- Rother, C.; Kolmogorov, V.; Blake, A. GrabCut: Interactive Foreground Extraction Using Iterated Graph Cuts. ACM Transactions on Graphics (TOG) 2004, 23, 309–314. [Google Scholar] [CrossRef]
- Wang, W.; Tu, A.; Bergholm, F. Improved Minimum Spanning Tree Based Image Segmentation with Guided Matting. KSII Transactions on Internet and Information Systems (TIIS) 2022, 16, 211–230. [Google Scholar]
- Payab, M.; Abbasina, R.; Khanzadi, M. A Brief Review and a New Graph-Based Image Analysis for Concrete Crack Quantification. Archives of Computational Methods in Engineering 2019, 26, 347–365. [Google Scholar] [CrossRef]
- Kaddah, W.; Elbouz, M.; Ouerhani, Y.; et al. Optimized Minimal Path Selection (OMPS) Method for Automatic and Unsupervised Crack Segmentation within Two-Dimensional Pavement Images. The Visual Computer 2019, 35, 1293–1309. [Google Scholar] [CrossRef]
- LeCun, Y.; Bottou, L.; Bengio, Y.; et al. Gradient-Based Learning Applied to Document Recognition. Proceedings of the IEEE 1998, 86, 2278–2324. [Google Scholar] [CrossRef]
- Long, J.; Shelhamer, E.; Darrell, T. Fully Convolutional Networks for Semantic Segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; 2015; pp. 3431–3440. [Google Scholar]
- Chu, H.; Wang, W.; Deng, L. Tiny-Crack-Net: A Multiscale Feature Fusion Network with Attention Mechanisms for Segmentation of Tiny Cracks. Computer-Aided Civil and Infrastructure Engineering 2022, 37, 1914–1931. [Google Scholar] [CrossRef]
- Yang, L.; Huang, H.; Kong, S.; et al. PAF-NET: A Progressive and Adaptive Fusion Network for Pavement Crack Segmentation. IEEE Transactions on Intelligent Transportation Systems 2023, 24, 12686–12700. [Google Scholar] [CrossRef]
- Badrinarayanan, V.; Kendall, A.; Cipolla, R. Segnet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation. IEEE Transactions on Pattern Analysis and Machine Intelligence 2017, 39, 2481–2495. [Google Scholar] [CrossRef] [PubMed]
- Xie, S.; Tu, Z. Holistically-nested Edge Detection. In Proceedings of the IEEE International Conference on Computer Vision; 2015; pp. 1395–1403. [Google Scholar]
- Al-Huda, Z.; Peng, B.; Algburi, R.N.A.; et al. Asymmetric Dual-Decoder-U-Net for Pavement Crack Semantic Segmentation. Automation in Construction 2023, 156, 105138. [Google Scholar] [CrossRef]
- Guo, J.M.; Markoni, H.; Lee, J.D. BARNet: Boundary Aware Refinement Network for Crack Detection. IEEE Transactions on Intelligent Transportation Systems 2021, 23, 7343–7358. [Google Scholar] [CrossRef]
- Gao, Y.; Cao, H.; Cai, W.; et al. Pixel-level Road Crack Detection in UAV Remote Sensing Images Based on ARD-Unet. Measurement 2023, 219, 113252. [Google Scholar] [CrossRef]
- Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional Networks for Biomedical Image Segmentation. In Proceedings of the Medical Image Computing and Computer-Assisted Intervention, Munich, Germany; 2015; pp. 234–241. [Google Scholar]
- Jing, P.; Yu, H.; Hua, Z.; et al. Road Crack Detection Using Deep Neural Network Based on Attention Mechanism and Residual Structure. IEEE Access 2022, 11, 919–929. [Google Scholar] [CrossRef]
- Li, Y.; Yu, M.; Wu, D.; et al. Automatic Pixel-Level Detection Method for Concrete Crack with Channel-Spatial Attention Convolution Neural Network. Structural Health Monitoring 2023, 22, 1460–1477. [Google Scholar] [CrossRef]
- Liang, J.; Gu, X.; Jiang, D.; et al. CNN-Based Network With Multi-Scale Context Feature and Attention Mechanism for Automatic Pavement Crack Segmentation. Automation in Construction 2024, 164, 105482. [Google Scholar] [CrossRef]
- Hang, J.; Wu, Y.; Li, Y.; et al. A Deep Learning Semantic Segmentation Network with Attention Mechanism for Concrete Crack Detection. Structural Health Monitoring 2023, 22, 3006–3026. [Google Scholar] [CrossRef]
- Lin, T.Y.; Goyal, P.; Girshick, R.; et al. Focal Loss for Dense Object Detection. In Proceedings of the IEEE International Conference on Computer Vision; 2017; pp. 2980–2988. [Google Scholar]
- Zhang, L.; Yang, F.; Zhang, Y.D.; et al. Road Crack Detection Using Deep Convolutional Neural Network. In Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP); 2016; pp. 3708–3712. [Google Scholar]
- Yang, F.; Zhang, L.; Yu, S.; et al. Feature Pyramid and Hierarchical Boosting Network for Pavement Crack Detection. IEEE Transactions on Intelligent Transportation Systems 2019, 21, 1525–1535. [Google Scholar] [CrossRef]
- Song, W.; Jia, G.; Zhu, H.; et al. Automated Pavement Crack Damage Detection Using Deep Multiscale Convolutional Features. Journal of Advanced Transportation 2020, 2020, 6412562. [Google Scholar] [CrossRef]
- Shi, Y.; Cui, L.; Qi, Z.; et al. Automatic Road Crack Detection Using Random Structured Forests. IEEE Transactions on Intelligent Transportation Systems 2016, 17, 3434–3445. [Google Scholar] [CrossRef]
- Cui, L.; Qi, Z.; Chen, Z.; et al. Pavement Distress Detection Using Random Decision Forests. In Proceedings of the International Conference on Data Science; 2015; pp. 95–102. [Google Scholar]
- Chen, L.C.; Zhu, Y.; Papandreou, G.; et al. Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation. In Proceedings of the European Conference on Computer Vision (ECCV); 2018; pp. 801–818. [Google Scholar]
- Xie, E.; Wang, W.; Yu, Z.; et al. SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers. Advances in Neural Information Processing Systems 2021, 34, 12077–12090. [Google Scholar]
- Dadson, J.K.; Asiedu, N.Y.; Iggo, J.A.; et al. A Proposed Two-Level Classification Approach for Forensic Detection of Diesel Adulteration Using NMR Spectroscopy and Machine Learning. Analytical and Bioanalytical Chemistry 2024, 1–12. [Google Scholar] [CrossRef] [PubMed]









| Methods | ACC(%) | ODS(%) | AUC(%) | mIoU(%) | mPA(%) | AP(%) |
|---|---|---|---|---|---|---|
| DeepCrack Origin | 97.05 | 82.60 | 96.0 | 78.19 | 88.0 | 85.15 |
| DeepCrack Hierarchical | 98.15 | 79.39 | 94.7 | 81.13 | 85.84 | 91.89 |
| DeepLabv3+ | 98.21 | 80.89 | 98.84 | 82.03 | 87.36 | 91.40 |
| Segformer | 98.31 | 82.25 | 99.0 | 83.12 | 88.94 | 91.20 |
| Segnet | 97.99 | 77.05 | 93.28 | 79.30 | 83.48 | 92.06 |
| UNet | 98.41 | 84.24 | 99.0 | 82.97 | 85.96 | 94.07 |
| Ours | 98.45 | 84.76 | 99.0 | 86.49 | 90.7 | 94.09 |
| Methods | ACC(%) | ODS(%) | AUC(%) | mIoU | mPA | AP |
|---|---|---|---|---|---|---|
| DeepCrack Origin | 96.16 | 58.97 | 95.47 | 68.57 | 77.93 | 78.29 |
| DeepCrack Hierarchical | 96.02 | 54.17 | 84.76 | 59.58 | 62.98 | 80.36 |
| DeepLabv3+ | 96.22 | 49.03 | 94.65 | 62.46 | 66.50 | 79.10 |
| Segformer | 96.48 | 60.05 | 94.06 | 68.61 | 74.21 | 81.30 |
| Segnet | 95.25 | 38.66 | 93.28 | 55.73 | 58.17 | 80.09 |
| UNet | 96.45 | 53.57 | 92.73 | 63.46 | 66.98 | 79.53 |
| Ours | 96.27 | 59.49 | 94.79 | 68.84 | 77.65 | 81.46 |
| Methods | ACC(%) | AP(%) | ODS(%) | AUC(%) | mIoU(%) | mPA(%) |
|---|---|---|---|---|---|---|
| DeepCrack Origin | 97.05 | 85.15 | 82.60 | 96.0 | 78.19 | 88.00 |
| DeepCrack-GD | 98.38 | 93.40 | 83.39 | 99.2 | 86.02 | 90.7 |
| DeepCrack-NL | 98.40 | 93.68 | 83.58 | 99.1 | 86.13 | 90.62 |
| DeepCrack-DC | 98.31 | 94.09 | 82.77 | 98.7 | 85.2 | 89.18 |
| DeepCrack-GND | 98.45 | 94.09 | 84.76 | 99.0 | 86.49 | 90.72 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).