Classification of Foreign Matter in Cotton Using Line Scan Hyperspectral Transmittance Imaging
WEI Zi-kai, WANG Jie, ZHANG Ruo-yu, ZHANG Meng-yun*
College of Mechanical and Electrical Engineering, Shihezi University/Key Laboratory of Northwest Agricultural Equipment, Ministry of Agriculture, Shihezi 832003, China
Abstract:Cotton foreign matter (FM) harms fiber quality as it may damage cotton fiber during ginning processing or cause flaws in finished textiles. Therefore, detecting and classifying foreign matter are important in the cotton production process and quality assessment. The mulching film is a unique impurity in machine-harvested seed cotton in China. Since the mulching film is commonly used to grow cotton in Xinjiang, the remaining fragments are mixed into cotton during mechanical harvesting. This study placed 12 types of common cotton foreign matter, including mulching film fragments, between two lint layers. A push-broom-based hyperspectral imaging system was used to acquire images of the mixed foreign matter and lint samples in transmittance mode at the spectral range of 400~1 000 nm. The hyperspectral transmittance images were first corrected using flat-field correction and cropped due to noise at the edges. The images at 500 nm were chosen for manual region-of-interest (ROI) selection. Mean transmittance spectra were extracted from the ROIs and normalized across all samples. Canonical discriminant analysis (CDA) and the first three canonical variables were used to group foreign matter and lint, and multivariate analysis of variance (MANOVA) was employed to evaluate the differences between each combination of two types of foreign matter using the first three canonical variables. Then, the interval Random Frog (iRF) method was used to extract 12 feature wavelengths. A support vector machine (SVM) classifier was used to classify the transmittance spectra of full and selected wavelengths respectively, and the accuracies were compared and analyzed. The results show that the average classification accuracy of all types of foreign matter and lint at the full wavelength was 84.4%. The method in this paper was feasible for classifying foreign matter in the inner layer of cotton, including plastic packaging, paper, and mulching film. After extracting the feature wavelengths, the classification accuracy of 4 types of foreign matter with similar appearance and similar chemical composition (broken stem, hull, bark, brown leaf) was lower, but all exceeded 73%. The classification accuracy of seed meat, green leaf, paper, plastic package, mulching film, and lint was over 90%. The average classification accuracy of all foreign matter and lint types was 86.2%. Compared with the classification results of the full-wavelength, the average classification accuracy of the selected wavelength was improved by 1.8%.The results of this study can provide a theoretical basis for the research on the detection of foreign matter in the inner layer of cotton and have a guiding role for the application of hyperspectral transmittance imaging technology.
[1] KAN Za, GUO Wen-song, ZHANG Ruo-yu, et al(坎 杂,郭文松,张若宇,等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2011, 27(6): 95.
[2] Himmelsbach D S, Hellgeth J W, Mcalister D D. Journal of Agricultural And Food Chemistry, 2006, 54(20): 7405.
[3] CHANG Jin-qiang, ZHANG Ruo-yu, PANG Yu-jie, et al(常金强,张若宇,庞宇杰,等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2021, 41(11): 3552.
[4] Zhang M, Li C, Yang F. Computers and Electronics in Agriculture, 2017, 139: 75.
[5] WEI Ping, ZHANG Ling, LIU Xiang, et al(韦 平,张 林,刘 翔,等). Journal of Textile Research(纺织学报), 2017, 38(4): 32.
[6] ZHANG Lin, WEI Ping, WU Jian-bo, et al(张 林,韦 平,伍剑波,等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2016, 32(15): 289.
[7] Zhang R, Li C, Zhang M, et al. Computers and Electronics in Agriculture, 2016, 127: 260.
[8] Liu Y, Thibodeaux D, Gamble G. Exploring Nir Technique in Rapid Prediction of Cotton Trash Components; Proceedings of the National Cotton Council Beltwide Cotton Conference, F, 2012.
[9] Fortier C A, Rodgers J E, Cintron M S, et al. Textile Research Journal, 2011, 81(3): 230.
[10] Zhou C, Han G, Via B K, et al. Textile Research Journal, 2019, 89(17): 3610.
[11] Zhou W, Li H, Liang H. Journal of Engineered Fibers and Fabrics, 2022, 17: doi: 10.1177/15589250221078921.
[12] Mustafic A, Li C, Haidekker M. Journal of Biological Engineering, 2014, 8(1): 29.
[13] Mustafic A, Li C. Textile Research Journal, 2015, 85(12): 1209.
[14] Jiang Y, Li C. PLOS ONE, 2015, 10(3): e0121969.
[15] NI Chao, LI Zhen-ye, ZHANG Xiong, et al(倪 超,李振业,张 雄,等). Transactions of the Chinese Society for Agricultural Machinery(农业机械学报), 2019, 50(12): 170.
[16] Ni C, Li Z, Zhang X, et al. IEEE Access, 2020, 8: 93028.
[17] Mustafic A, Jiang Y, Li C. Textile Research Journal, 2016, 86(15): 1574.
[18] LIU Wei, SHI Yong, TIAN Hai-qing, et al(刘 巍,史 勇,田海清,等). Advanced Textile Technology(现代纺织技术), 2019, 27(5): 44.
[19] Li H D, Xu Q S, Liang Y Z. Analytica Chimica Acta, 2012, 740: 20.
[20] Jiang Y, Li C. Computers and Electronics in Agriculture, 2015, 119: 191.
[21] GUO Jun-xian, LI Xue-lian, HUANG Hua, et al(郭俊先,李雪莲,黄 华, 等). Xinjiang Agricultural Sciences(新疆农业科学), 2016, 53(2): 352.
[22] LONG Yan, LIAN Ya-ru, MA Min-juan, et al(龙 燕,连雅茹,马敏娟,等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2019, 35(13): 270.
[23] Yang C, Lee W S, Williamson J G. Biosystems Engineering, 2012, 113(4): 351.
[24] Shazia M, Shad M A, Asia P. Pakistan Journal of Nutrition, 2010, 9(10): 994.
[25] Neilson A H. Organic Chemicals: An Environmental Perspective. CRC Press, 1999.
[26] Wakelyn P J. Cotton Fiber Chemistry and Technology. CRC Press, 2006.
[27] Yun Y H, Li H D, Wood L R E, et al. Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 2013, 111: 31.
[28] Lichtenthaler H K, Buschmann C. Current Protocols in Food Analytical Chemistry, 2001, 1(1): 10.1002/0471142913.faf0402S01.
[29] Aenugu H P R, Kumar D S, Srisudharson N P, et al. International Journal of ChemTech Research, 2011, 3(2): 825.
[30] Mariey L, Signolle J P, Amiel C. Vibrational Spectroscopy, 2001, 26:151.
[31] Yang W, Li D, Zhu L. Expert Systems with Applications, 2011, 38(3): 2733.