金属板表面缺陷检测系统的设计与实现

Design and implementation of metal plate surface defect detection system

  • 摘要: 为解决金属表面缺陷检测中传统算法类型单一、调试难度大的问题,设计了一种分布式孔径检测成像系统以实现超分辨重建。在此基础上,提出了一种改进模板-差分检测算法。首先,应用自适应非局部均值滤波和大尺度中值滤波预处理后,进行差分运算;其次,基于结构相似性指数实现自适应二值化;最后,利用缺陷的面积、形状和颜色等先验特征信息,将划痕、空洞缺陷和铆钉进行分类。实验结果表明,改进模板-差分方法在召回率和精确率上都达到了最佳水平,划痕缺陷的平均召回率高达98%,平均精确率为62.57%,显著优于传统算法Sobel,Prewitt和Laplacian(其对应平均精确率分别为53.74%、47.78%和25.72%)。该系统方案提高了金属板缺陷检测的效率和准确性,具有重要的应用价值。

     

    Abstract: To address the issue of traditional algorithms being limited in type and having substantial debugging difficulties in metal surface defect detection, a distributed aperture detection imaging system was designed to achieve super-resolution reconstruction. On this basis, an improved template-difference detection algorithm was proposed. Firstly, adaptive non-local mean filtering and large-scale median filtering were applied for preprocessing, followed by difference operation. Then, adaptive binarization was realized based on the structure similarity index measure. Finally, the scratches, void defects, and rivets were classified by utilizing the prior feature information of defect area, shape, and color. Experimental results indicate that the improved template-difference method achieves the best performance in both recall and precision. The average recall of scratch defects reaches 98% and average precision is 62.57%, significantly superior to traditional algorithms such as Sobel, Prewitt, and Laplacian (with records of 53.74%, 47.78%, and 25.72%, respectively). This system scheme enhances the efficiency and accuracy of metal plate defect detection, possessing significant practical application value.

     

/

返回文章
返回