基于YOLOv8的高速公路横缝分割算法
YOLOv8-based algorithm for expressway transverse crack segmentation
摘要 [目标]针对传统的高速公路沥青路面裂缝人工巡检效率低、主观性强和工作环境危险等问题,提出一种基于改进 YOLOv8 的高速公路横缝分割算法.[方法]在特征提取层结合可变形卷积模块 DCNv3,通过形态可变的卷积核来增强模型对细窄横缝的细节提取能力;融合 CBAM 注意力机制模块,强调图像中不同通道和位置的重要性,减少裂缝图像背景信息和关键信息数量差异大带来的误检问题;结合 YOLO 网络特征和分割任务要求,采用动态非单调聚焦机制构造损失函数 WIoUv3,通过引入权重因子,减小有害梯度,提升模型性能.以吉林省高速公路路面图像为基础数据,运用图像增强实现数据集扩充.[结果]改进后的裂缝分割模型算法准确率为 94.37%,召回率为93.78%,F1 分数为 94.07%,相较基准模型分别提升了 8.14%,4.19%,6.22%.模型参数量为 12.91×106,帧率为39.46 帧/s,对比主流分割模型,提出的模型轻量且实时性高.进一步对分割后的二值化图像进行量化分析,比较人工测量和自动化提取的裂缝实际参数,得到裂缝面积、长度和最大宽度的平均相对误差为 6.63%,― 4.50%和5.51%,生成裂缝轨迹与实际轨迹间相关系数超过 98%.[结论]提出的基于 YOLOv8 的裂缝沥青路面横缝分割算法有较高的精确性和实时性,获取的裂缝实际参数是裂缝养护的可靠依据.
Abstract:
[Objective]Aiming at the problems of low efficiency,strong subjectivity and dangerous working environment in the traditional manual cracks inspection on expressway asphalt pavement,an expressway transverse crack segmentation algorithm based on improved YOLOv8 is proposed.[Method]The deformable convolution module DCNv3 is incorporated into the feature extraction layer.It uses morphologically variable convolution kernels to enhance the model's ability to extract details of narrow transverse cracks.CBAM attention mechanism module is integrated.It emphasizes the importance of different channels and positions in the image.This reduces the false detection problem caused by the large difference between background information and key crack information.The loss function WIoUv3 is constructed based on the YOLO network features and segmentation task requirements.It adopts a dynamic non-monotonic focusing mechanism and introduces weight factors to reduce harmful gradients and improve model performance.Taking Jilin expressway pavement images as the base data,image enhancement is used to expand the dataset.Experiments are conducted to validate the improved model on pavement transverse crack detection.[Result]The improved crack segmentation model has an accuracy of 94.37%,a recall of 93.78%,and F1 score of 94.07%,which are 8.14%,4.19%and 6.22%higher than those of baseline model,respectively.The model parameters are 12.91M,and the frame rate is 39.46 FPS.Compared with the mainstream segmentation models,the proposed model is lightweight and achieves high real-time performance.The segmented binarized image is further quantitatively analyzed,and the actual crack parameters of manual measurement and automatic segmentation are compared.The average relative errors of crack area,length and maximum width are 6.63%,― 4.50%and 5.51%.The correlation coefficient between the generated crack trajectory and the actual trajectory exceeds 98%.[Conclusion]The proposed YOLOv8-based transverse crack segmentation algorithm for cracked asphalt pavement has high accuracy and real-time performance.The actual crack parameters obtained provide a reliable basis for crack maintenance.
刊 名 公路交通科技 ISTICPKU
年,卷(期): 2026, 43(10)
分类号: U418.6+6
机标分类号: U416.217 TP391.41 TP183
在线出版日期: 2026年11月24日