摘要
在纺织品的生产过程中,缺陷检测不可或缺。其中,特征提取是关键步骤,而在特征提取前进行合适的预处理滤波可以有效提高特征对有缺陷样本和无缺陷样本的分离能力。文章提出一种结合自适应中值滤波和灰度-梯度共生矩阵(gray level-gradient co-occurrence matrix,GGCM)的织物质量检测方法。该方法使用灰度-梯度二阶统计特征来描述缺陷的纹理特征,并在预处理过程中利用自适应中值滤波来降低背景纹理信息对缺陷部分的影响,可有效提高纺织品的检测率。实验对含7种缺陷的纺织品样本进行GGCM特征提取,并输入到最近邻分类器中进行分类检测。与传统灰度共生矩阵方法的检测率(65.75%)相比,文中所提方法的检测率有所提高,达到了87.89%。实验结果表明,该方法对有缺陷的织物具有较高的分类能力。
Defect detection is very essential in the process of textile production.Feature extraction is the most important step of defect detection.The filtering before feature extraction is an effective measure to improve the characteristic of separation between defective samples and defect-free samples.In this paper,a new way of fabric defect detection combined with adaptive median filtering algorithm and gray level-gradient co-occurrence matrix(GGCM)is presented.In the method,the second-order statistical characteristic of GGCM is used to describe the texture characteristic of the defect,and the influence of the background texture information on the defect part is reduced by the adaptive median filter in pre-processing.The detection rate of textiles can be improved by the mixed processes.The GGCM feature of the fabric sample containing seven kinds of defects is extracted,and the detection rate is obtained by using the nearest neighbor classifier.The detection rate is 65.75% by traditional GLCM method,but the proposed method can reach the detection rate of 87.89%.The experimental results show that the proposed method has high ability of classifying defect textures.
引文
[1]王志成,吴壮志,冯路,等.钢板表面缺陷检测系统的设计与实现[J].计算机工程与科学,2009,31(1):61-65.
[2]业宁,丁建文,王迪,等.基于LBP特征提取的木材纹理缺陷检测[J].计算机研究与发展,2007,44(增刊1):383-387.
[3]SHI Meihong,FU Rong,GUO Yong,et al.Fabric defect detection using local contrast deviations[J].Multimedia Tools and Applications,2011,52(1):147-157.
[4]NGAN H Y T,PANG G K H,YUNG N H C.Automated fabric defect detection:a review[J].Image and Vision Computing,2011,29(7):442-458.
[5]NGAN H Y T,PANG G K H.Regularity analysis for patterned texture inspection[J].IEEE Transactions on Automation Science and Engineering,2009,6(1):131-144.
[6]STOJANOUIC R,MITROPULOS P,KOULAMAS C,et al.Real-time vision-based system for textile fabric inspection[J].Real-Time Imaging,2001,7(6):507-518.
[7]沈晶,况晓静,张量,等.基于纹理增强分水岭的织物瑕疵检测新算法[J].合肥工业大学学报(自然科学版),2014,37(7):812-817.
[8]XU YONG,YANG XIONG,LIBG Haibin,et al.A new texture descriptor using multifractal analysis in multi-orientation wavelet pyramid[C]//2010IEEE Conference on Computer Vision and Pattern Recognition(CVPR),2010:161-168.
[9]LEFEBVRE A,CORPETTI T,MOY L H.Estimation of the orientation of textured patterns via wavelet analysis[J].Pattern Recognition Letters,2011,32(2):190-196.
[10]邹超,朱德森,肖力.基于类别共生矩阵的纹理疵点检测方法[J].华中科技大学学报(自然科学版),2006,34(6):25-28.
[11]周德龙,申石磊,蒲小勃,等.基于灰度-梯度共生矩阵模型的最大熵阈值处理算法[J].小型微型计算机系统,2002,23(2):136-138.
[12]毋小省,孙君顶.基于改进方向纹理谱特征的图像检索[J].光电子·激光,2012,23(4):812-818.
[13]HWANG H,HADDAD R A.Adaptive median filters:new algorithms and results[J].IEEE Transactions on Image Processing,1995,4(4):499-502.
[14]洪继光.灰度-梯度共生矩阵纹理分析方法[J].自动化学报,1984,10(1):22-25.
[15]杨爱国,冯扬.高紧度纯棉斜纹织物的布边设计及其织制[J].棉纺织技术,2000,28(8):43.
[16]钟智,朱曼龙,张晨,等.最近邻分类方法的研究[J].计算机科学与探索,2011,5(5):467-473.
[17]LATIF-AMET A,Ertüzün A,Ercil A.An efficient method for texture defect detection:sub-band domain co-occurrence matrices[J].Image and Vision Computing,2000,18(6/7):543-553.
[18]杨学志,左海琴,陈远,等.PCA-NLM的纺织品缺陷检测[J].中国图象图形学报,2013,18(12):1574-1581.
[19]MAK K L,PENG P.An automated inspection system for textile fabrics based on Gabor filters[J].Robotics and Computer-Integrated Manufacturing,2008,24(3):359-369.