Journal of Textile Research ›› 2022, Vol. 43 ›› Issue (08): 67-73.doi: 10.13475/j.fzxb.20210505007

• Textile Engineering • Previous Articles     Next Articles

Density detection method of weft knitted fabrics making use of combined image frequency domain and spatial domain

DENG Zhongmin, HU Haodong, YU Dongyang, WANG Wen, KE Wei()   

  1. State Key Laboratory of New Textile Materials and Advanced Processing Technology, Wuhan Textile University, Wuhan, Hubei 430200, China
  • Received:2021-05-20 Revised:2022-04-15 Online:2022-08-15 Published:2022-08-24
  • Contact: KE Wei E-mail:wke@wtu.edu.cn

Abstract:

Aiming at the problems of low accuracy and poor applicability in measuring the density of weft knitted fabrics based on image processing, this paper presents a method for locating the loop position based on the gray curve of weft knitted fabric image to measure the fabric density, which highlights the loop image based on discrete wavelet transform. By extracting the gray curves of weft knitted fabrics and binary image respectively, the coordinates of the actual loop column were obtained by using the trough coordinate verification algorithm based on probability density statistics and the loop coordinate verification algorithm proposed in this study. The eight-neighborhood search algorithm was used to calculate the number of loops in the transverse and longitudinal directions of the weft knitted fabric, and the course and wale densities of the weft knitted fabric were obtained. Compared with the existing methods based on image processing, the method proposed in this paper involves less computation, and the error is less than 1.7% compared with the standard data, which shows that this method has fast measurement and high accuracy, and it is beneficial for automatic measurement of weft knitted fabric density.

Key words: density of knitted fabric, image processing, gray curve, connected domain, density detection method

CLC Number: 

  • TS107

Fig.1

Schematic diagram of fabric structure"

Fig.2

Overall flow chart"

Fig.3

Image tilt correction. (a) Image gray curve correction without Hough correction; (b)Image gray curve after Hough correction"

Fig.4

Discrete wavelet decomposition diagram. (a)Original image; (b)N=1; (c)N=2; (d)N=3; (e)N=4; (f)N=5; (g)N=6; (h)N=7; (g)Reconstructed image"

Fig.5

Gray scale curve of image. (a)Coordinate map of though obtained from original gray curve; (b) Trough coordinate map obtained after removing impurities from original gray curve"

Fig.6

Contrast diagram of binarization treatment. (a)OTSU processing image; (b)Local adaptive threshold binarization image"

Fig.7

Simulation diagram of disconnection between yarn interval area and loop area"

Fig.8

Images before(a) and after(b) eliminating clearance column"

Fig.9

Images before(a) and after(b) morphological operation"

Fig.10

Gray scale curve of binary image. (a)Coordinate map of trough obtained from original gray curve; (b)Trough coordinate map obtained after removing impurities from original gray curve"

Tab.1

Part of experimental measurement results and comparison"

试样
编号
本文方法 横密误
差/%
纵密误
差/%
人工检测 方法1 方法2
横密 纵密 时间/s 横密 纵密 时间/s 横密 纵密 时间/s 横密 纵密 时间/s
1 90.5 137.1 0.44 0.56 0.07 90.0 137.0 90.0 136.8 0.46 181.1 138.1 1.30
2 61.0 74.6 0.37 1.67 0.50 60.0 75.0 60.0 74.8 0.51 60.7 75.0 0.46
3 59.8 84.0 0.23 0.33 1.18 60.0 85.0 59.5 85.2 0.41 60.0 84.4 0.32
4 29.8 60.9 0.21 0.67 1.50 30.0 60.0 30.0 59.2 0.43 28.2 59.4 0.34
5 49.7 75.3 0.81 0.60 0.40 50.0 75.0 20.0 565.8 3.24 48.2 74.8 0.37
6 75.5 108.9 0.65 0.67 1.00 75.0 110.0 74.1 109.2 0.68 74.7 112.7 0.61

Fig.11

Processing flow chart of method 1. (a)Corrected process flow; (b)Abnormal processing flow"

[1] 潘如如, 高卫东, 李忠健, 等. 基于傅里叶图像分析的机织物密度检测[J]. 中国科技论文, 2015(20):2416-2421.
PAN Ruru, GAO Weidong, LI Zhongjian, et al. Woven fabric density inspection using fourier image analysis[J]. China Sciencepaper, 2015(20):2416-2421.
[2] 马云芳, 王小华. 功率谱分析在机织物组织纹理识别中的应用[J]. 毛纺科技, 2007, 35(4):56-60.
MA Yunfang, WANG Xiaohua. Fabric texture feature extraction based on power spectrum[J]. Wool Textile Journal, 2007, 35(4):56-60.
[3] 彭然, 胡立文, 邓中民. 基于Radon变换和能量曲线的机织物密度检测[J]. 棉纺织技术, 2021, 49(4):16-20.
PENG Ran, HU Liwen, DENG Zhongmin. Detection of woven fabric density based on Radon transform and energy curve[J]. Cotton Textile Technology, 2021, 49(4):16-20.
[4] 丁雪荣, 宋广礼. 应用MATLAB图像处理技术测量纬编针织物密度的研究[J]. 针织工业, 2006(1):60-62.
DING Xuerong, SONG Guangli. A research on the density measurement of weft-knitted fabric using the image manipulating technology of MatLab[J]. Knitting Industries, 2006(1):60-62.
[5] 王庆涛, 马崇启, 高雨田, 等. 基于频域特征点提取的素色机织物密度识别算法[J]. 纺织学报, 2014, 35(4):47-51.
WANG Qingtao, MA Chongqi, GAO Yutian, et al. Identification algorithm of plain woven fabric density via feature point extraction in frequency domain[J]. Journal of Textile Research, 2014, 35(4):47-51.
[6] 赵延旭, 龙海如. 利用图像处理技术自动测量针织物密度的研究[J]. 东华大学学报(自然科学版), 2004, 30(6):46-49.
ZHAO Yanxu, LONG Hairu. Study on the automatic measurement of the density of knitted fabrics by image progressing[J]. Journal of Donghua University (Natural Science), 2004, 30(6):46-49.
[7] 孟朔, 夏旭文, 潘如如, 等. 基于卷积神经网络的机织物密度均匀性检测[J]. 纺织学报, 2021, 42(2):101-106.
MENG Shuo, XIA Xuwen, PAN Ruru, et al. Detection of fabric density uniformity based on convolutional neural network[J]. Journal of Textile Research, 2021, 42(2):101-106.
[8] 张孝超, 李平, 金福江. 应用图像空域法的针织物密度在线测量[J]. 纺织学报, 2015, 36(11):138-145.
ZHANG Xiaochao, LI Ping, JIN Fujiang. Online measurement for density of knitted fabric by spatial domain image method[J]. Journal of Textile Research, 2015, 36(11):138-145.
[9] MUKHOPADHYAY P, CHAUDHURI B B. A survey of Hough transform[J]. Pattern Recognition, 2015, 48(3):993-1010.
doi: 10.1016/j.patcog.2014.08.027
[10] YANOWITZ S D, BRUCKSTEIN A M. A new method for image segmentation[J]. Computer Vision, Graphics, and Image Processing, 1989, 46(1):82-95.
doi: 10.1016/S0734-189X(89)80017-9
[11] GALLUCCIO L, MICHEL O, COMON P, et al. Graph based K-means clustering[J]. Signal Processing, 2012, 92(9):1970-1984.
doi: 10.1016/j.sigpro.2011.12.009
[1] MA Yunjiao, WANG Lei, PAN Ruru, GAO Weidong. Calibration method of three-dimensional yarn evenness based on mirrored image [J]. Journal of Textile Research, 2022, 43(07): 55-59.
[2] ZHOU Qihong, PENG Yi, CEN Junhao, ZHOU Shenhua, LI Shujia. Yarn breakage location for yarn joining robot based on machine vision [J]. Journal of Textile Research, 2022, 43(05): 163-169.
[3] ZHANG Ronggen, FENG Pei, LIU Dashuang, ZHANG Junping, YANG Chongchang. Research on on-line detection system of broken filaments in industrial polyester filament [J]. Journal of Textile Research, 2022, 43(04): 153-159.
[4] XIONG Jingjing, YANG Xue, SU Jing, WANG Hongbo. Testing method for fabric moisture conductivity based on image technology [J]. Journal of Textile Research, 2021, 42(12): 70-75.
[5] LÜ Wentao, LIN Qiqi, ZHONG Jiaying, WANG Chengqun, XU Weiqiang. Research progress of image processing technology for fabric defect detection [J]. Journal of Textile Research, 2021, 42(11): 197-206.
[6] XIA Xuwen, MENG Shuo, PAN Ruru, GAO Weidong. On-line detection of warp collision and reed embedding based on improved inter-frame difference method [J]. Journal of Textile Research, 2021, 42(06): 91-96.
[7] JIANG Yanting, YAN Qingshuai, XIN Binjie, GAO Cong, SHI Meiwu. Comparative study on testing methods for unidirectional water transport in fabrics [J]. Journal of Textile Research, 2021, 42(05): 51-58.
[8] LI Dongjie, GUO Shuai, YANG Liu. Yarn defect detection based on improved image threshold segmentation algorithm [J]. Journal of Textile Research, 2021, 42(03): 82-88.
[9] TANG Qianhui, WANG Lei, GAO Weidong. Detection of fabric shape retention based on image processing [J]. Journal of Textile Research, 2021, 42(03): 89-94.
[10] MENG Shuo, XIA Xuwen, PAN Ruru, ZHOU Jian, WANG Lei, GAO Weidong. Detection of fabric density uniformity based on convolutional neural network [J]. Journal of Textile Research, 2021, 42(02): 101-106.
[11] 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.
[12] 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.
[13] 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.
[14] 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.
[15] CAI Yichao, ZHOU Xiao, SONG Mingfeng, MOU Xin'gang. Defect detection of cheese yarn based on multi-scale multi-direction template convolution [J]. Journal of Textile Research, 2019, 40(04): 152-157.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!