Research on tunnel crack detection based on improved DeepLabV3+ and percolation algorithm
CHEN Zhangxin1,2, WANG Gang1*, LI Wenfeng3, LI Ke3, JIANG Song1, LIU Tingfang1
1. School of Civil Engineering, Fujian University of Technology, Fujian 350118, Fuzhou, China; 2. The Fifth Construction Co. Ltd. of CCCC Fouth Harbor Engineering Co. Ltd., Fujian 350008, Fuzhou, China; 3. China Merchants Chongqing Communications Technology Research & Design Institute Co. Ltd., Chongqing 400074, China
Abstract: To address the problem of poor edge localization in deep learning-based methods and low efficiency of traditional percolation algorithms for tunnel crack detection, a two-stage approach that integrates an improved DeepLabV3+ with a skeleton-guided percolation algorithm was proposed. In the first stage, an improved DeepLabV3+ model with a lightweight backbone network, incorporating a CBAM attention module, an optimized ASPP module, and a Dice loss function, was developed to achieve high-recall crack pre-segmentation.In the second stage, a skeleton-guided percolation growth strategy combined with morphological constraints was applied to refine crack edges and measure crack widths. A tunnel crack dataset containing 20 504 pixel-level annotated images was constructed, covering various tunnel lining regions(crown, haunch, sidewall)and surface conditions(dry, wet, stained). Experimental results on this dataset showed that the pre-segmentation module achieved an accuracy of 90.1% and a recall of 86.7%. The improved percolation algorithm increased the precision to 98.5% while maintaining high recall, and improved computational efficiency by approximately 20 times. Engineering validation demonstrated a detection rate exceeding 84% for cracks wider than 0.1 mm, with a mean absolute error of less than 0.3 mm.The proposed method effectively balanced detection accuracy and computational efficiency, providing a feasible solution for automated tunnel lining crack detection.
陈彰昕,王刚,李文锋,李科,江松,刘廷方. 基于改进DeepLabV3+和渗流算法的隧道裂缝检测研究[J]. 隧道与地下工程灾害防治, 2026, 8(2): 67-78.
CHEN Zhangxin, WANG Gang, LI Wenfeng, LI Ke, JIANG Song, LIU Tingfang. Research on tunnel crack detection based on improved DeepLabV3+ and percolation algorithm. Hazard Control in Tunnelling and Underground Engineering, 2026, 8(2): 67-78.
[1] 中华人民共和国交通运输部. 2020 年交通运输行业发展统计公报[EB/OL].(2021-05-19)[2026-01-15]. https://xxgk. mot. gov. cn/2020/jigou/zhghs/202105/t20210517_3593412. html [2] 李固华, 郭建国. 隧道衬砌裂缝和渗漏的成因、预防及治理[J]. 铁道建筑, 2003, 43(1): 23-25. LI Guhua, GUO Jianguo. The causes inducing crack and water leakage in tunnel lining and its prevention and treatment[J]. Railway Engineering, 2003, 43(1): 23-25. [3] 张素磊, 张顶立, 刘昌. 公路运营隧道衬砌裂缝长期监测及分析[J]. 现代隧道技术, 2017, 54(3): 17-25. ZHANG Sulei, ZHANG Dingli, LIU Chang. Long-term monitoring and analysis of lining cracks in operating highway tunnels[J]. Modern Tunnelling Technology, 2017, 54(3): 17-25. [4] 陈志敏, 师浩博, 张润龙, 等. 基于裂缝形状与特征的衬砌结构开裂截面稳定性评估[J]. 隧道与地下工程灾害防治, 2026, 8(1): 13-21. CHEN Zhimin,SHI Haobo,ZHANG Runlong,et al. Stability evaluation of cracked section of lining structure based on crack shape and characteristics[J]. Hazard Control in Tunnelling and Underground Engineering, 2026, 8(1): 13-21. [5] 陈湘生, 徐志豪, 包小华, 等. 隧道病害监测检测技术研究现状概述[J]. 隧道与地下工程灾害防治, 2020, 2(3): 1-12. CHEN Xiangsheng, XU Zhihao, BAO Xiaohua, et al. Overview of research on tunnel defects monitoring and detection technology[J]. Hazard Control in Tunnelling and Underground Engineering, 2020, 2(3): 1-12. [6] XING Y D, SHI Y X, JIAO X J, et al. Research on software and algorithms for displacement monitoring system based on machine vision[C] //2025 8th International Conference on Advanced Algorithms and Control Engineering(ICAACE). Shanghai: IEEE, 2025: 1691-1699. [7] 宋益, 赵宁雨, 颜畅, 等. 隧道衬砌裂缝实时分割的Mobile-PSPNet方法[J]. 铁道科学与工程学报, 2022, 19(12): 3746-3757. SONG Yi, ZHAO Ningyu, YAN Chang, et al. The Mobile-PSPNet method for real-time segmentation of tunnel lining cracks[J]. Journal of Railway Science and Engineering, 2022, 19(12): 3746-3757. [8] 周中, 闫龙宾, 张俊杰, 等. 基于YOLOX-G算法的隧道裂缝实时检测[J]. 铁道科学与工程学报, 2023, 20(7): 2751-2762. ZHOU Zhong, YAN Longbin, ZHANG Junjie, et al. Real-time detection of tunnel cracks based on YOLOX-G algorithm[J]. Journal of Railway Science and Engineering, 2023, 20(7): 2751-2762. [9] 鲍艳, 梅崇斌, 徐鹏宇, 等. 基于改进YOLOv8算法的地铁隧道裂缝识别方法研究[J]. 隧道建设(中英文), 2024, 44(10): 1961-1970. BAO Yan, MEI Chongbin, XU Pengyu, et al. Crack identification in metro tunnels based on improved YOLOv8 algorithm[J]. Tunnel Construction, 2024, 44(10): 1961-1970. [10] 刘毅, 陈一丹, 高琳, 等. 基于多尺度特征融合的轻量化道路提取模型[J]. 浙江大学学报(工学版), 2024, 58(5): 951-959. LIU Yi, CHEN Yidan, GAO Lin, et al. Lightweight road extraction model based on multi-scale feature fusion[J]. Journal of Zhejiang University(Engineering Science), 2024, 58(5): 951-959. [11] 孟诗乔, 张啸天, 乔甦阳, 等. 基于深度学习的网格优化裂缝检测模型研究[J]. 建筑结构学报, 2020, 41(增刊2): 404-410. MENG Shiqiao, ZHANG Xiaotian, QIAO Suyang, et al. Research on grid optimized crack detection model based on deep learning[J]. Journal of Building Structures, 2020, 41(Suppl.2): 404-410. [12] 黄思文, 包腾飞, 李扬涛, 等. 基于改进DeeplabV3+网络的水工混凝土裂缝语义分割方法[J]. 水利水电科技进展, 2023, 43(1): 81-86. HUANG Siwen, BAO Tengfei, LI Yangtao, et al. Semantic segmentation method of hydraulic concrete cracks based on improved DeeplabV3+ network[J]. Advances in Science and Technology of Water Resources, 2023, 43(1): 81-86. [13] CHEN H W, WANG L, ZHANG L, et al. Research on land cover type classification method based on improved MaskFormer for remote sensing images[J]. PeerJ Computer Science, 2023, 9: e1222. [14] 刘岗顶, 王玲军, 张玉常, 等. 基于改良MaskFormer的鱼眼相机天空图像分割方法[J]. 科学技术创新, 2025(16): 223-228. LIU Gangding, WANG Lingjun, ZHANG Yuchang, et al. Improved MaskFormer for sky image segmentation using fisheye cameras[J]. Scientific and Technological Innovation Information, 2025(16): 223-228. [15] GUO Y F, LUO W, DING W Y, et al. EAPEM: an edge-aware-prototype-based efficient MaskFormer for identifying rock mass structure of cantilever roadheader tunnel face[J]. Applications in Engineering Science, 2025, 24: 100274. [16] 蒋仕新, 唐椿程, 杨建喜, 等. 基于改进Segformer的混凝土桥梁表观病害轻量级识别方法[J]. 中国公路学报, 2024, 37(2): 77-87. JIANG Shixin, TANG Chuncheng, YANG Jianxi, et al. Lightweight detection method of surface damage on concrete bridges based on improved segformer[J]. China Journal of Highway and Transport, 2024, 37(2): 77-87. [17] 龚玉磊, 张亚丽, 章红梅, 等. 混凝土构件表面裂缝分割的改进SegFormer方法[J]. 结构工程师, 2025, 41(4): 31-40. GONG Yulei, ZHANG Yali, ZHANG Hongmei, et al. Improved SegFormer model for surface crack segmentation in concrete components[J]. Structural Engineers, 2025, 41(4): 31-40. [18] 周勇军, 罗楠, 孙延晨, 等. 混凝土桥梁整体表观多缺陷图像精细分割方法[J]. 哈尔滨工业大学学报, 2025, 57(6): 103-115. ZHOU Yongjun, LUO Nan, SUN Yanchen, et al. Fine-grained image segmentation method for holistic surface multi-defects in concrete bridges[J]. Journal of Harbin Institute of Technology, 2025, 57(6): 103-115. [19] YAMAGUCHI T. Image processing based on percolation model[J]. IEICE Transactions on Information and Systems, 2006, E89-D(7): 2044-2052. [20] YAMAGUCHI T, HASHIMOTO S. Automated crack detection for concrete surface image using percolation model and edge information[C] //IECON 2006-32nd Annual Conference on IEEE Industrial Electronics. Paris, France: IEEE, 2007: 3355-3360. [21] 瞿中, 郭阳, 鞠芳蓉. 一种基于改进渗流模型的混凝土表面裂缝快速检测算法[J]. 计算机科学, 2017, 44(1): 300-302. QU Zhong, GUO Yang, JU Fangrong. Algorithm of accelerated cracks detection based on improved percolation model in concrete surface image[J]. Computer Science, 2017, 44(1): 300-302. [22] 安世全, 曹悦欣, 瞿中. 多因子判定与渗流模型相结合的裂缝检测算法[J]. 计算机应用, 2019, 39(1): 281-286. AN Shiquan, CAO Yuexin, Quzhong. Crack detection algorithm based on multi-factor decision and percolation model[J]. Journal of Computer Applications, 2019, 39(1): 281-286. [23] ZHANG T Y, SUEN C Y. A fast parallel algorithm for thinning digital patterns[J]. Communications of the ACM, 1984, 27(3): 236-239. [24] 彭妍, 郭君斌, 于传强, 等. 基于平面变换的高精度相机标定方法[J]. 北京航空航天大学学报, 2022, 48(7): 1297-1303. PENG Yan, GUO Junbin, YU Chuanqiang, et al. Calibration method for high precision camera based on plane transformation[J]. Journal of Beijing University of Aeronautics and Astronautics, 2022, 48(7): 1297-1303. [25] 王晓欣. 基于深度学习的复杂环境下混凝土桥梁裂缝智能识别技术研究[D]. 大连: 大连理工大学, 2024: 43-47. WANG Xiaoxin. Research on intelligent recognition technology of concrete bridge cracks in complex environment based on deep learning[D]. Dalian: Dalian University of Technology, 2024: 43-47.