计算机工程与应用 ›› 2025, Vol. 61 ›› Issue (11): 316-324.DOI: 10.3778/j.issn.1002-8331.2403-0126

• 图形图像处理 • 上一篇    下一篇

融合多尺度特征的高效网片缺陷检测算法

何钢,姚远,韩征彤,邹华涛,王田田   

  1. 河海大学 机电工程学院,江苏 常州 213000
  • 出版日期:2025-06-01 发布日期:2025-05-30

Efficient Mesh Defect Detection Algorithm Integrating Multi-Scale Features

HE Gang, YAO Yuan, HAN Zhengtong, ZOU Huatao, WANG Tiantian   

  1. College of Mechanical and Electrical Engineering, Hohai University, Changzhou, Jiangsu 213000, China
  • Online:2025-06-01 Published:2025-05-30

摘要: 针对人工目视排查大型旋转过滤设备网片缺陷时存在的效率低下,缺陷与背景之间边界模糊及网孔中的小水珠产生反光现象等问题,提出了一个基于多维特征融合的高效网片缺陷检测算法。引入了泊松图像增强技术,实现了缺陷目标与正常背景区域的平滑融合,增加了小样本缺陷数量的同时解决了缺陷数量分布不均匀的问题。在YOLOv8中融入轻量多维卷积改进的C2f_LWDC(C2f_lightweight multi-dimensional convolution)模块及加权多特征增强模块,既增强了网络对缺陷特征的提取又实现了各级特征的高效融合,提升了对多尺度缺陷样本的表征能力。采用EIOU(efficient intersection over union)定位损失函数,加速了对缺陷目标的准确定位。网片数据集检测结果表明,改进后的算法mAP(mean average precision)达到92%,相较于原始模型提升了16.8个百分点,能很好地完成缺陷目标的检测任务。

关键词: 网片缺陷, YOLOv8, 轻量多维卷积, 特征融合, 多尺度

Abstract: Addressing the inefficiency of manual visual inspection for mesh defects in large rotary filtration equipment, and considering the blurred boundaries between the defects and the background, and the reflection phenomenon caused by the small water droplets in the mesh holes, this paper proposes an efficient mesh defect detection algorithm based on multi-dimensional feature fusion. Firstly, the Poisson image enhancement technique is applied to achieve seamless fusion between defect targets and normal background areas thereby enhancing the visual coherence of the composite image. This approach effectively addresses the issue of uneven distribution of defect numbers by increasing the representation of small sample defects. Next, the paper integrates the lightweight multi-dimensional convolutional improved C2f_LWDC(C2f_lightweight multi-dimensional convolution) module and the weighted multi-feature enhancement module into YOLOv8. This integration not only enhances the extraction of defect features but also achieves efficient fusion of features at all levels. As a result, it improves the characterization ability of multi-scale defect samples. Lastly, the EIOU (expected intersection over union) localization loss function is employed to expedite the precise localization of the defect target. The detection results of mesh dataset show that the improved algorithm mAP(mean average precision) reaches 92%, which is 16.8 percentage points higher than that of the original model, and the improved algorithm can well complete the detection task of defect targets.

Key words: mesh defect, YOLOv8, lightweight multidimensional convolution, feature fusion, multiscale