Optical inspection technology of surface defects of sheet metalbased on machine vision
摘 要
为了解决传统金属表面质量检测技术的缺陷检测精度不高、缺陷检测识别率不高、缺陷分类不准确的难题,搭建了一套基于机器视觉的金属板材表面检测系统。基于偏微分方程,利用图像等照度线改进中值滤波算法,对图像进行预处理,显著地抑制了图像的噪声。利用最大类间方差算法(OTSU)自适应确定一图像双阈值,改进了Canny算法中高斯滤波器对图像的灰度分布特征提取,使其不受亮度和对比度的影响。最后,利用SIFT (Scale-invariant Feature Transform)算法提取缺陷特征点,提出一种BP (Back Propagation)神经网络和SVM(Support Vector Machine)向量机结合分类器的检测方法,缺陷检出率为92.68%,单幅图像检测仅需49.8 ms,该缺陷检测系统对金属板材表面缺陷能有效提取与识别,满足金属板材表面在线检测的要求。
Abstract
In order to solve the problems of traditional metal surface quality inspection technology, such as the low precision of defect detection, the low recognition rate of defect detection, and the inaccurate classification of defects, a set of metal sheet surface inspection system based on machine vision was established. Based on the partial differential equation, the median filtering algorithm is improved by using the iso-illumination lines of the image, and the image is pre-processed to significantly suppress the image noise. Using the Maximum Inter-Class Variance Algorithm (OTSU) to adaptively determine the double threshold value of the image, the Gaussian filter in Canny algorithm was improved to extract the gray distribution features of the image, so that it was not affected by brightness and contrast. Finally, using SIFT (Scale-invariant feature transform) algorithm to extract defect feature points, a classifier detection method combining BP (Back Propagation) neural network and SVM (Support Vector Machine) is proposed. The defect detection rate is 92. 68%, and the single image detection only takes 49. 8 ms. The defect detection system effectively extracts and identifies the surface defects of the metal sheet, and meets the requirements of online detection of the surface of the metal sheet.
中图分类号 TP391.4 TG142.15 TG115.28
所属栏目 试验研究
基金项目 浙江省科技计划项目-公益技术(LGG18E050025)
收稿日期 2020/3/2
修改稿日期
网络出版日期
作者单位点击查看
备注周神特(1996-),男,硕士研究生,主要研究方向为机器视觉
引用该论文: ZHOU Shente,WANG Yuyu,ZHANG Xiao,ZUO Zeqing,ZHAO Wenhong. Optical inspection technology of surface defects of sheet metalbased on machine vision[J]. Nondestructive Testing, 2020, 42(9): 39~44
周神特,王宇宇,张潇,左泽青,赵文宏. 基于机器视觉的金属板材表面缺陷光学检测技术[J]. 无损检测, 2020, 42(9): 39~44
共有人对该论文发表了看法,其中:
人认为该论文很差
人认为该论文较差
人认为该论文一般
人认为该论文较好
人认为该论文很好
参考文献
【1】徐迎军. 宽幅砂带磨削工艺在金属加工中的应用[J]. 金刚石与磨料磨具工程, 2017, 37(2):82-86.
【2】李增铮. 砂带磨削与砂带磨床的推广应用[J]. 电工合金, 1996(3):21-26.
【3】夏承亮, 李成贵, 熊昌友. 板材表面质量在线检测方法概述[J]. 工业计量, 2010, 20(1):1-5.
【4】李瑶, 王快社,刘长瑞.金属板材表面缺陷检测发展现状[J].材料导报,2011,25(S2):238-241.
【5】郭联金, 罗炳军. PNN与BP神经网络在钢板表面缺陷分类中的应用研究[J]. 机电工程, 2015, 32(3):352-357.
【6】王宇, 吴智恒,邓志文,等.基于机器视觉的金属零件表面缺陷检测系统[J].机械工程与自动化,2018(4):210-211.
【7】韩宁, 张志杰,尹武良,等.基于涡流传感的金属表面缺陷检测方法研究[J].传感技术学报,2019,32(5):704-710.
【8】秦雷, 刘俊岩,龚金龙,等.超声红外锁相热像技术检测金属板材表面裂纹[J].红外与激光工程,2013,42(5):1123-1130.
【9】罗朝莉. 金属板材的完全非接触式激光超声可视化检测[C]//2015远东无损检测新技术论坛——基于大数据的无损检测论文集.北京:北京理工大学,2015:336-340.
【10】胡亮, 段发阶,丁克勤,等.基于线阵CCD钢板表面缺陷在线检测系统的研究[J].计量学报,2005(3):200-203.
【11】侯雨石, 何玉青. 数码相机CMOS图像传感器的特性参数与选择[J]. 光学技术, 2003, 29(2):46-48.
【12】马璐, 杨文飞.关于数字图像处理中多种去噪方法的比较[J].吉林工程技术师范学院学报,2019,35(9):92-94.
【13】郭林, 孟旭东.基于偏微分方程与多尺度分析的图像去噪算法[J].吉林大学学报(理学版),2019,57(4):882-888.
【14】闵莉花, 李振华,冯灿,等.基于偏微分方程的新的图像去噪模型[J].南京邮电大学学报(自然科学版),2019,39(2):13-19.
【15】CAO J,CHEN L,WANG M,et al.Implementing a parallel image edge detection algorithm based on the Otsu-Canny operator on the hadoop platform[J].Computational Intelligence & Neuroscience,2018,2018(3):1-12.
【16】易三莉, 张桂芳,贺建峰,等.基于最大类间方差的最大熵图像分割[J].计算机工程与科学,2018,40(10):1874-1881.
【17】郝淑丽, 赵宇明.基于支持向量机的瑕疵检测算法[J].微计算机信息,2008(33):191-192.
【18】YANG J R,HUANG J W,JIANG Z Y,et al. SIFT-aided path-independent digital image correlation accelerated by parallel computing[J]. Optics and Lasers in Engineering,2020,127:105964.
【19】罗楠, 孙权森,耿蕾蕾,等.一种扩展SURF描述符及其在遥感图像配准中的应用[J].测绘学报,2013,42(3):383-388.
【20】薛理, 杨树文,马吉晶,等.多项式拟合的尺度不变特征变换改进算法[J].遥感信息,2019,34(4):54-61.
【21】HE Q Q,HE B,ZHANG Y,et al. Multimedia based fast face recognition algorithm of speed up robust features[J]. Multimedia Tools and Applications,2019,78(17):24035-24045.
【22】穆柯楠, 赵祥模,惠飞.基于非采样高斯差分金字塔的多尺度融合边缘检测[J].四川大学学报(工程科学版),2015,47(5):130-138.
【23】苏高利, 邓芳萍.论基于MATLAB语言的BP神经网络的改进算法[J].科技通报,2003(2):130-135.
【2】李增铮. 砂带磨削与砂带磨床的推广应用[J]. 电工合金, 1996(3):21-26.
【3】夏承亮, 李成贵, 熊昌友. 板材表面质量在线检测方法概述[J]. 工业计量, 2010, 20(1):1-5.
【4】李瑶, 王快社,刘长瑞.金属板材表面缺陷检测发展现状[J].材料导报,2011,25(S2):238-241.
【5】郭联金, 罗炳军. PNN与BP神经网络在钢板表面缺陷分类中的应用研究[J]. 机电工程, 2015, 32(3):352-357.
【6】王宇, 吴智恒,邓志文,等.基于机器视觉的金属零件表面缺陷检测系统[J].机械工程与自动化,2018(4):210-211.
【7】韩宁, 张志杰,尹武良,等.基于涡流传感的金属表面缺陷检测方法研究[J].传感技术学报,2019,32(5):704-710.
【8】秦雷, 刘俊岩,龚金龙,等.超声红外锁相热像技术检测金属板材表面裂纹[J].红外与激光工程,2013,42(5):1123-1130.
【9】罗朝莉. 金属板材的完全非接触式激光超声可视化检测[C]//2015远东无损检测新技术论坛——基于大数据的无损检测论文集.北京:北京理工大学,2015:336-340.
【10】胡亮, 段发阶,丁克勤,等.基于线阵CCD钢板表面缺陷在线检测系统的研究[J].计量学报,2005(3):200-203.
【11】侯雨石, 何玉青. 数码相机CMOS图像传感器的特性参数与选择[J]. 光学技术, 2003, 29(2):46-48.
【12】马璐, 杨文飞.关于数字图像处理中多种去噪方法的比较[J].吉林工程技术师范学院学报,2019,35(9):92-94.
【13】郭林, 孟旭东.基于偏微分方程与多尺度分析的图像去噪算法[J].吉林大学学报(理学版),2019,57(4):882-888.
【14】闵莉花, 李振华,冯灿,等.基于偏微分方程的新的图像去噪模型[J].南京邮电大学学报(自然科学版),2019,39(2):13-19.
【15】CAO J,CHEN L,WANG M,et al.Implementing a parallel image edge detection algorithm based on the Otsu-Canny operator on the hadoop platform[J].Computational Intelligence & Neuroscience,2018,2018(3):1-12.
【16】易三莉, 张桂芳,贺建峰,等.基于最大类间方差的最大熵图像分割[J].计算机工程与科学,2018,40(10):1874-1881.
【17】郝淑丽, 赵宇明.基于支持向量机的瑕疵检测算法[J].微计算机信息,2008(33):191-192.
【18】YANG J R,HUANG J W,JIANG Z Y,et al. SIFT-aided path-independent digital image correlation accelerated by parallel computing[J]. Optics and Lasers in Engineering,2020,127:105964.
【19】罗楠, 孙权森,耿蕾蕾,等.一种扩展SURF描述符及其在遥感图像配准中的应用[J].测绘学报,2013,42(3):383-388.
【20】薛理, 杨树文,马吉晶,等.多项式拟合的尺度不变特征变换改进算法[J].遥感信息,2019,34(4):54-61.
【21】HE Q Q,HE B,ZHANG Y,et al. Multimedia based fast face recognition algorithm of speed up robust features[J]. Multimedia Tools and Applications,2019,78(17):24035-24045.
【22】穆柯楠, 赵祥模,惠飞.基于非采样高斯差分金字塔的多尺度融合边缘检测[J].四川大学学报(工程科学版),2015,47(5):130-138.
【23】苏高利, 邓芳萍.论基于MATLAB语言的BP神经网络的改进算法[J].科技通报,2003(2):130-135.
相关信息