Journal of Textile Research ›› 2020, Vol. 41 ›› Issue (08): 39-44.doi: 10.13475/j.fzxb.20191000606

• Textile Engineering • Previous Articles     Next Articles

Yarn-dyed fabric defect detection based on context visual saliency

ZHOU Wenming, ZHOU Jian, PAN Ruru()   

  1. College of Textile Science and Engineering, Jiangnan University, Wuxi, Jiangsu 214122, China
  • Received:2019-10-08 Revised:2020-05-04 Online:2020-08-15 Published:2020-08-21
  • Contact: PAN Ruru E-mail:prrsw@163.com

Abstract:

In order to facilitate the effective detection of yarn-dyed fabric defects, a defect detecting method based on context visual saliency was proposed. Using this method, the fabric image was firstly divided into image patches of the same size according to the principle of context visual saliency. Following that, for every image patch, a number (K) of image patches, most similar to the concerned image patch were selected, and the sum of the differences among the K image patches and the image patch of concern were calculated. The calculated sum of the differences was then used to represent the saliency of center pixel of the image patches, thereby generating a visual saliency map. Finally, the threshold of the saliency map was segmented to obtain the detection result of the yarn-dyed fabric defect. In order to verify the validity of the algorithm, the yarn-dyed fabric regional defect image samples with looped weft, holes and netting of color dots, color stripes and color checks were detected. The experimental results show that the proposed algorithm can suppress the texture background and highlight the defect area of different types of fabrics and achieve the effective detection of fabric defects, which indicates the effectiveness of the method for detecting defects in yarn-dyed fabrics.

Key words: defect detection, visual saliency, yarn-dyed fabric, threshold segmentation

CLC Number: 

  • TS941.26

Fig.1

Yarn-dyed fabric sample images. (a) Normal image; (b) Defect image"

Fig.2

Single scale saliency detection of strip defect"

Fig.3

Multi-scale saliency detection of strip defects. (a) Scale 2; (b) Scale 3; (c) Scale 4"

Fig.4

Mean of saliency at four scales detection of strip defect"

Fig.5

Final saliency detection of strip defect"

Fig.6

Saliency maps generated by method of this paper. (a) Yarn-dyed fabric defect images; (b) Visual saliency maps"

Fig.7

Detection result of defect positioning. (a) Binary images; (b) Positioning results"

Fig.8

Visual saliency maps. (a) Defect image; (b) Normal image; (c) Visual saliency map of defect image; (d) Visual saliency map of normal image"

Tab.1

Statistics for defect detection results"

图像类型 检出张数 未检出张数 检测准确率/%
疵点图像 43 2 97.4
正常图像 32 0

Fig.9

Comparison of different visual saliency methods. (a) Yarn-dyed fabric defect images; (b) Method of refe-rence[15]; (c) Method of reference [10]; (d) Method of reference [16]; (e) Method of this paper"

[1] 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.
doi: 10.1016/j.imavis.2011.02.002
[2] PATIL M, VERMA S, WAKODE J. A review on fabric defect detection techniques[J]. International Journal of Engineering Research & Technology, 2017,4(9):131-136.
[3] 刘洲峰, 赵全军, 李春雷, 等. 基于局部统计与整体显著性的织物疵点检测算法[J]. 纺织学报, 2014,35(11):62-67.
LIU Zhoufeng, ZHAO Quanjun, LI Chunlei, et al. A fabric defect detection algorithm based on local statistics and global significance[J]. Journal of Textile Research, 2014,35(11):62-67.
[4] ONI D I, OJO J A, ALABI B O, et al. Patterned fabric defect detection and classification (FDDC) techniques: a review[J]. International Journal of Scientific & Engineering Research, 2018,9(2):1156-1165.
[5] 李文羽, 程隆棣. 基于机器视觉和图像处理的织物疵点检测研究新进展[J]. 纺织学报, 2014,35(3):158-164.
LI Wenyu, CHENG Longdi. New progress in fabric defect detection based on machine vision and image processing[J]. Journal of Textile Research, 2014,35(3):158-164.
[6] LI W, XUE W, CHENG L. Intelligent detection of defects of yarn-dyed fabrics by energy-based local binary patterns[J]. Textile Research Journal, 2012,82(19):1960-1972.
[7] ZHU D, PAN R, GAO W, et al. Yarn-dyed fabric defect detection based on autocorrelation function and GLCM[J]. Autex Research Journal, 2015,15(3):226-232.
[8] ZHANG B, TANG C. A method for defect detection of yarn-dyed fabric based on frequency domain filtering and similarity measurement[J]. Autex Research Journal, 2018,19(3):257-262.
[9] ZHANG K, YAN Y, LI P, et al. Fabric defect detection using salience metric for color dissimilarity and positional aggregation[J]. IEEE Access, 2018,6:49170-49181.
doi: 10.1109/ACCESS.2018.2868059
[10] 李倩倩, 周武能. 利用上下文视觉显著性检测色织物的疵点[J]. 棉纺织技术, 2018,46(2):9-13.
LI Qianqian, ZHOU Wuneng. Detecting defects in colored fabrics using contextual saliency[J]. Cotton Textile Technology, 2018,46(2):9-13.
[11] CARRASCO M. Visual attention: the past 25 years[J]. Vision Research, 2011,51(13):1484-1525.
doi: 10.1016/j.visres.2011.04.012
[12] 张学武, 丁燕琼, 段敦勤, 等. 基于视觉仿生机理的铜带表面缺陷检测[J]. 中国图象图形学报, 2011,16(4):593-599.
doi: 10.11834/jig.20110409
ZHANG Xuewu, DING Yanqiong, DUAN Dunqin, et al. Detection of surface defects of copper strip based on visual bionic mechanism[J]. Journal of Image and Graphics, 2011,16(4):593-599.
doi: 10.11834/jig.20110409
[13] GOFERMAN S, ZELNIK-MANOR L, TAL A. Context-aware saliency detection[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2011,34(10):1915-1926.
doi: 10.1109/TPAMI.2011.272 pmid: 22201056
[14] HU J, HE Z, WENG G, et al. Detection of chemical fabric defects on the basis of morphological proces-sing[J]. The Journal of The Textile Institute, 2016,107(2):233-241.
doi: 10.1080/00405000.2015.1022094
[15] ACHANTA R, HEMAMI S, ESTRADA F, et al. Frequency-tuned salient region detection[C]// IEEE Conference on Computer Vision and Pattern Recognition. Miami: IEEE, 2009: 1597-1604.
[16] HOU X, ZHANG L. Saliency detection: a spectral residual approach[C]// IEEE Conference on Computer Vision and Pattern Recognition. Minneapolis: IEEE, 2007: 1-8.
[1] ZHU Lei, REN Mengfan, PAN Yang, LI Botao. Fabric defect detection based on similarity location and superpixel segmentation [J]. Journal of Textile Research, 2020, 41(10): 58-66.
[2] YANG Enjun, LIAO Yihui, LIU Andong, YU Li. Detection for fabric defects based on low-rank decomposition [J]. Journal of Textile Research, 2020, 41(05): 72-78.
[3] LU Hao, CHEN Yuan. Surface defect detection method of carbon fiber prepreg based on machine vision [J]. Journal of Textile Research, 2020, 41(04): 51-57.
[4] 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.
[5] JING Junfeng, ZHANG Junyang, ZHANG Huanhuan, SU Zebin. Defect detection on surface of draw texturing yarn packages in gradient space [J]. Journal of Textile Research, 2020, 41(02): 44-51.
[6] ZHANG Huanhuan, MA Jinxiu, JING Junfeng, LI Pengfei. Fabric defect detection method based on improved fast weighted median filtering and K-means [J]. Journal of Textile Research, 2019, 40(12): 50-56.
[7] XIAO Zhitao, GUO Yongmin, GENG Lei, WU Jun, ZHANG Fang, WANG Wen, LIU Yanbei. Internal defect detection method for thin test pieces of woven laminated composites based on ultrasonic phased array [J]. Journal of Textile Research, 2019, 40(11): 81-87.
[8] ZHU Hao, DING Hui, SHANG Yuanyuan, SHAO Zhuhong. Defect detection algorithm for multiple texture hierarchical fusion fabric [J]. Journal of Textile Research, 2019, 40(06): 117-124.
[9] 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.
[10] XU Yang, ZHU Zhichao, SHENG Xiaowei, YU Zhiqi, SUN Yize. Improvement recognition method of vamp's feature points based on machine vision [J]. Journal of Textile Research, 2019, 40(03): 168-174.
[11] DU Shuai, LI Yueyang, WANG Mengtao, LUO Haichi, JIANG Gaoming. Fabric defect detection based on improved local adaptive contrast method [J]. Journal of Textile Research, 2019, 40(02): 38-44.
[12] . Selection of plaid fabric pattern based on interactive evaluation [J]. Journal of Textile Research, 2018, 39(09): 50-56.
[13] . Application of algorithm with improved frequency-tuned salient region [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(03): 154-160.
[14] . Visual saliency detection of clothing and accessory design [J]. JOURNAL OF TEXTILE RESEARCH, 2018, 39(03): 126-131.
[15] . Pilling objective evaluation based Gaussian filtering in wavelet domain [J]. JOURNAL OF TEXTILE RESEARCH, 2017, 38(09): 155-161.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!