首页|基于改进Canny算子的织物疵点检测算法

基于改进Canny算子的织物疵点检测算法

扫码查看
针对传统Canny算法应用于疵点检测时受噪声影响大、自适应性较差等问题,提出了一种基于Canny算子的改进算法.首先,使用复合形态学滤波替代原有高斯滤波,降噪效果更为优越;其次,采用3*3的Sobel算子计算梯度幅值和方向,提高定位精度;最后,根据图像灰度特性使用迭代阈值方法改进人为设定阈值的不足,增强获取阈值自适应性.实验结果表明,相对传统Canny算法以及其他算法,改进后的Canny算法更能准确获取疵点信息,有效增强织物图像对噪声的抗干扰性,均方误差和峰值信噪比表现更优秀,提高了检测算法的普适性.
Fabric Defect Detection Algorithm Based on Improved Canny Operator
An improved algorithm based on Canny operator is proposed to solve the problem that the tradition-al Canny algorithm is greatly affected by noise and has poor adaptability when applied to defects detection.Firstly,the compound morphological filter is used to replace the original Gaussian filter,and the noise reduc-tion effect is better.Secondly,the 3×3 Sobel operator is used to calculate the gradient amplitude and direction to improve the positioning accuracy.Finally,according to the gray characteristics of the image,the iterative threshold method is used to improve the shortcomings of the artificially set threshold and enhance the adap-tive threshold acquisition.The experimental results show that compared with the traditional Canny algorithm and other algorithms,the improved Canny algorithm can obtain defect information more accurately,effective-ly enhance the anti-interference of fabric images to noise,and perform better in mean square error and peak signal-to-noise ratio,which improves the universality of the detection algorithm.

defects detectionCanny operatormorphological filteringiterative threshold

肖龙君、刘洞波

展开 >

湖南工程学院,计算机与通信学院,湘潭 411104

疵点检测 Canny算子 形态学滤波 迭代阈值

2024

湖南工程学院学报(自然科学版)
湖南工程学院

湖南工程学院学报(自然科学版)

影响因子:0.265
ISSN:1671-119X
年,卷(期):2024.34(3)