Journal of Textile Research ›› 2019, Vol. 40 ›› Issue (04): 152-157.doi: 10.13475/j.fzxb.20180501206

• Management & Information • Previous Articles     Next Articles

Defect detection of cheese yarn based on multi-scale multi-direction template convolution

CAI Yichao, ZHOU Xiao(), SONG Mingfeng, MOU Xin'gang   

  1. School of Mechanical and Electronic Engineering, Wuhan University of Technology, Wuhan, Hubei 430070, China
  • Received:2018-05-04 Revised:2019-01-31 Online:2019-04-15 Published:2019-04-16
  • Contact: ZHOU Xiao E-mail:zhouxiao@whut.edu.cn

Abstract:

Aiming at the hard defect detection due to coarse and irregular texture element of cheese yarn, a novel cheese yarn surface defects detection algorithm based on multiscale multi-direction template convolution was proposed. Firstly, the image of top textile of cheese yarn was acquired by the system. Secondly, the OTSU threshold method and the ellipse circle fitting method were used to determine the position of the textile region of cheese yarn. Then, the polar coordinate transformation was used to expand the ring-shape surface to a rectangle. After that, the one-dimensional difference of Gaussian operator in horizontal direction was used to extract the edge. Multiple scale edge images were extracted by varying the standard deviation of Gauss kernel. Furthermore, the angle range of 0° to 180° was quantified into several directional template images used to convolute with edge images, then the maximum convolution result of each pixel in among all scales was elected by voting method. Finally, the defects were segmented out from the maximum correlation image by an empirical threshold according to prior information. The experiment results show that the method can effectively detect the net-yarn surface defects, and the recognition accuracy reaches 96%.

Key words: cheese yarn, image processing, defect detecting, edge extraction, multi-scale analysis, template convolution

CLC Number: 

  • TS103.7

Fig.1

System working flowchart"

Fig.2

Algorithm framework"

Fig.3

Image preprocessing. (a) Original image; (b) Threshold segmentation result; (c) Elliptic fitting result; (d) Ring expansion image"

Fig.4

Defect detection diagram"

Fig.5

Comparison between normal texture (a) and net-yarn(b) defects"

Fig.6

Extracted edge images by normal(a)and horizontal(b) DoG"

Fig.7

Edge template images in multiple directions"

Fig.9

Defects detecting results of net-yarn (a) and cheese (b)"

Fig.8

Maximum convolution value"

[1] 牟新刚, 蔡逸超, 周晓. 基于机器视觉的筒子纱缺陷在线检测系统[J]. 纺织学报, 2018,39(1):139-145.
MOU Xingang, CAI Yichao, ZHOU Xiao. On-line yarn cone defects detection system based on machine vision[J]. Journal of Textile Research, 2018,39(1):139-145.
[2] 张志欢. 复杂纹理背景的织物疵点检测与定位研究[D]. 武汉:武汉纺织大学, 2011: 11-37.
ZHANG Zhihuan. Research on fabric defect detection and location of complex texture background[D]. Wuhan:Wuhan Textile University, 2011: 11-37
[3] ARNIA F, MUNADI K. Real time textile defect detection using GLCM in DCT-based compressed images[C]// 2015 6th International Conference on Modeling, Simulation,and Applied Optimtzat.[S.l.]:ICMSAO, 2015: 1-6.
[4] BISSI L, BARUFFA G, PLACIDI P. Automated defect detection in uniform and structed fabrics using Gabor filters and PCA[J]. Journal of Visual Communication & Image Representation, 2013,24(7):838-845.
[5] NGAN H Y T, PANG C K H, YUNG S P, et al. Wavelet based methods on patterned fabric defect detection[J]. Pattern Recognition, 2005,38(4):559-576.
[6] 陈晓惠, 郑晨, 段汕, 等. 形态学小波域多尺度马尔可夫模型在纹理图像分割中的应用[J]. 中国图象图形学报, 2011,16(5):761-766.
CHEN Xiaohui, ZHENG Chen, DUAN Shan, et al. Application of texture image segmentation based on a multi-resolution Markov random field model in morphological wavelets domain[J]. Journal of Image and Graphics, 2011,16(5):761-766.
[7] JING Junfeng, CHEN Shan, LI Pengfei. Fabric defect detection based on golden image subtraction[J]. Coloration Technology, 2016,133(1).DOI: 10.1111/cote.12239.
[8] HANMANDLU M, SUJATA D, CHOUDHURY D K. Fabric image defect detection by using GLCM and ROSETTA[J]. International Journal of Computer Science and Applications, 2009,2(1):47-50.
[9] 何薇, 白瑞林, 李新. 基于Gabor小波和神经网络的布匹瑕疵检测[J]. 计算机工程与应用, 2016,52(12):231-234.
HE Wei, BAI Ruilin, LI Xin. Fabric defect detection based on Gabor wavelet and neural network[J]. Computer Engineering and Applications, 2016,52(12):231-234.
[10] ZHANG J M, WANG X G, PALMER S. Objective grading of fabric pilling with wavelet texture analy-sis[J]. Textile Research Journal, 2005,75(12):801-811.
[11] CAO Junjie, ZHANG Jie, WEN Zhijie. Fabric defect inspection using prior knowledge guided least squares regression[J]. Multimedia Tools & Applications, 2015,76(3):1-17.
[1] PENG Laihu, ZHU Xiaoyu, ZHANG Shaomin, HU Xudong. Research on automatic counterweight scheme for cheese yarn packaging [J]. Journal of Textile Research, 2020, 41(06): 147-152.
[2] ZHANG Jianxin, LI Qi. Online cheese package yarn density detection system based on machine vision [J]. Journal of Textile Research, 2020, 41(06): 141-146.
[3] WANG Wensheng, LI Tianjian, RAN Yuchen, LU Ying, HUANG Min. Method for position detection of cheese yarn rod [J]. Journal of Textile Research, 2020, 41(03): 160-167.
[4] ZHANG Zhengye, XIN Binjie, DENG Na, CHEN Yang, XING Wenyu. Research and application of algorithm for measuring hemp fiber cross-sectional parameters based on boundary tracking [J]. Journal of Textile Research, 2020, 41(02): 39-43.
[5] WU Yilun, LI Zhongjian, PAN Ruru, GAO Weidong, ZHANG Ning. Weft knitted fabric appearance simulation using colored spun yarn image [J]. Journal of Textile Research, 2019, 40(06): 111-116.
[6] HUANG Jiajun, KE Wei, WANG Jing, DENG Zhongmin. Color shading detection and rating system for denim based on computer vision [J]. Journal of Textile Research, 2019, 40(05): 163-169.
[7] WANG Wendi, XIN Binjie, DENG Na, LI Jiaping, LIU Ningjuan. Identification and application of yarn hairiness using adaptive threshold method under single vision [J]. Journal of Textile Research, 2019, 40(05): 150-156.
[8] . Detection and evaluation on yarn hairiness of blackboard with image processing [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(08): 144-149.
[9] . Position recognition of spinning yarn breakage based on convolution neural network [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(06): 136-141.
[10] . Detecting method of foreign fibers in seed cotton based on deep-learning [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(06): 131-135.
[11] . Spinning breakage detection based on optimized hough transform [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(04): 36-41.
[12] . Application of algorithm with improved frequency-tuned salient region [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(03): 154-160.
[13] . On-line yarn cone defects detection system based on machine vision [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(01): 139-145.
[14] . Graphic contour extraction for printed fabric based on Ttxture smoothing [J]. JOURNAL OF TEXTILE RESEARCH, 2017, 38(11): 162-167.
[15] . Rapid identification method of cashmere and wool based on bag-of-visual-word [J]. JOURNAL OF TEXTILE RESEARCH, 2017, 38(07): 130-134.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!