基于二维Gabor滤波器的胶带撕裂检测

Two-dimensional Gabor filter-based  belt tear detection

  • 摘要: 现有的基于机器视觉技术的胶带撕裂检测方法处理背景纹理复杂的图像时易将撕裂痕迹相对背景纹理不明显的缺陷区域误判为无缺陷,且检测结果噪点较多,不易识别。针对上述问题,提出了一种基于二维Gabor滤波器的胶带撕裂检测方法。该方法采用Gabor滤波对胶带图像进行处理,得到多幅Gabor滤波处理图;通过Gabor优化选择方法,以变异系数为基础构建新的代价函数,选取最优滤波通道,突出撕裂区域纹理特征;利用Sobel算子分别提取水平和垂直方向的撕裂区域纹理特征,得到2个方向的梯度图,对所得梯度图进行自乘归一化操作,增强纹理信息,采用像素加权平均法融合2幅图像;将得到的融合图像通过自适应阈值二值化的方法进行阈值分割,并利用形态学技术对待检测图像进行胶带撕裂检测。检测结果表明,改进后的Gabor优化选择方法比原Gabor优化选择方法和基于Sobel算子的纵向撕裂检测方法漏检率更低,可以检测出背景纹理复杂的胶带缺陷图像中的所有缺陷,并且检测结果清晰,撕裂区域轮廓特征保留较为完好。

     

    Abstract: As the existing belt tear detection method based on machine vision technology being used for images with complex background texture, it is easy to misjudge the defect areas with inconspicuous tear marks relative to the background texture as non-defects, and the detection results are noisy and difficult to identify. In order to solve the above problems, a belt tear detection method based on two-dimensional Gabor filter  is proposed. The method uses Gabor filtering to process the belt images and obtain multiple Gabor filtered processing images. Through the Gabor optimization selection method, a new cost function is constructed based on the coefficient of variation, and the optimal filter channel is selected to highlight the texture characteristics of the tear area. The Sobel operator is used to extract the texture characteristics of the tear area in the horizontal and vertical directions respectively so as to obtain the gradient images of the two directions. The self-propagation normalization operation is applied on the obtained gradient images to enhance the texture information, and the pixel-weighted average method is used to fuse the two images. The obtained fused images are segmented by adaptive threshold binarization method, and morphological technology is used to perform belt tear detection on the images to be detected. The detection results show that the improved Gabor optimization selection method has a lower miss detection rate than the Gabor optimization selection method and the Sobel operator-based longitudinal tear detection method. The method can detect all defects in the belt defect images with complex background texture. The detection results are clear and the contour characteristics of the tear area are preserved relatively well.

     

/

返回文章
返回