基于改进的同态滤波与Canny算法的磁瓦表面缺陷检测算法研究  被引量:7

Magnetic Tile Surface Defect Detection Algorithm Based on Improved Homomorphic Filtering and Canny Algorithm

在线阅读下载全文

作  者:朱志勋 赵磊[1] 李恒[1] 王海瑞[1] Zhu Zhixun;Zhao Lei;Li Heng;Wang Hairui(Faculty of Information Engineering and Automation,Kunming University of Science and Technology,Kunming 650500,Yunnan,China)

机构地区:[1]昆明理工大学信息工程与自动化学院,云南昆明650500

出  处:《激光与光电子学进展》2022年第18期93-100,共8页Laser & Optoelectronics Progress

基  金:国家自然科学基金(61863016)。

摘  要:针对磁瓦图像光照不均匀、对比度较低、表面干扰磨削纹理较多的问题,提出了一种基于改进的同态滤波与Canny算法的磁瓦表面缺陷检测算法。首先,采用改进的同态滤波传递函数将磁瓦图像分解成高频图像和低频图像,用连续均值量化变换增强高频图像,再将增强的高频图像与低频图像融合便能够得到光照较均匀和对比度较高的磁瓦图像。然后,将传统Canny算法中的高斯滤波器替换为相对总变差模型,从而提取出磁瓦缺陷结构;为了提高边缘检测的精度,增加了梯度方向模板求取图像像素点的梯度幅值和方向,并采用基于图像灰度信息的单阈值提取出图像缺陷边缘,提高了算法的鲁棒性。最后,通过形态学处理对检测出的缺陷边缘图像进行填充,并把干扰边缘去除,便可得到磁瓦的缺陷区域。实验结果表明,所提算法对磁瓦表面缺陷检测的效果较好,检测精度较高,且适用于多种类型的磁瓦表面缺陷。To address the problems of uneven illumination,low contrast,and excessive surface interference grinding texture in the image of a magnetic tile,this paper proposes a magnetic tile surface defect detection algorithm based on improved homomorphic filtering and Canny algorithm.First,the magnetic tile images were decomposed into high-and lowfrequency images using the improved homomorphic filter transfer function.Moreover,the highfrequency images were enhanced through successive mean quantization transform.Second,the enhanced high-and lowfrequency images were fused to obtain a magnetic tile image with uniform illumination and high contrast.Furthermore,the Gaussian filter in the traditional Canny algorithm was replaced by relative total variation to extract the magnetic tile defect structure.To improve edge detection accuracy,the gradient direction template was also employed to obtain the gradient amplitude and direction of image pixels,with the single threshold based on image gray information being used to extract the image edge defect,improving the robustness of the algorithm.Finally,the detected image edge defect was filled by morphological processing,and the interference edge was removed to obtain the defect area of the magnetic tile.Experimental results show that the proposed algorithm is effective in detecting the surface defects of magnetic tiles,the detection accuracy is high,and it is suitable for many types of surface defects of magnetic tiles.

关 键 词:图像处理 改进的同态滤波 连续均值量化变换 CANNY算法 相对总变差 磁瓦表面缺陷检测 

分 类 号:TP391.[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象