Abstract
Fabric defect detection is a very crucial and challenging problem. A novel saliency-based fabric defect detection via bag-of-words model framework is suggested to solve this problem. First, the suggested saliency technique is used to get saliency maps from training images. The bag-of-words model is then developed using the K-means algorithm. Following that, the histogram of the visual vector is used to represent the image. Finally, these feature vectors are utilized to train a K-nearest neighbor method classifier to differentiate images with defected regions from those without. Images of defected and non-defected fabrics are stored in a database. The saliency maps are extracted using suggested and cutting-edge techniques. The proposed framework is trained and tested on the 70% and 30% rule. According to simulation results, the suggested framework using the suggested saliency detection technique achieves promising results on our current data collection.
Similar content being viewed by others
Data availability
The data will be available on demand.
References
Srinivasan, K., Dastoor, P.H., Radhakrishnaiah, P., Jayaraman, S.: FDAS: a knowledge-based framework for analysis of defects in woven textile structures. J. Text. Inst. 83(3), 431–448 (1992)
Rasheed, A., Zafar, B., Rasheed, A., Ali, N., Sajid, M., Dar, S.H., Habib, U., Shehryar, T., Mahmood, M.T.: Fabric defect detection using computer vision techniques: a comprehensive review. Math. Probl. Eng. 2020, 8189403 (2020).https://doi.org/10.1155/2020/8189403
Schicktanz, K.: Automatic fault detection possibilities on nonwoven fabrics. Melliand Textilberichte 74, 294–295 (1993)
Zhang, Y.F., Bresee, R.R.: Fabric defect detection and classification using image analysis. Text. Res. J. 65(1), 1–9 (1995)
Newman, T.S., Jain, A.K.: A survey of automated visual inspection. Comput. Vis. Image Underst. 61(2), 231–262 (1995)
Hanbay, K., Talu, M.F., Özgüven, Ö.F.: Fabric defect detection systems and methods—a systematic literature review. Optik 127(24), 11960–11973 (2016)
Li, P., Zhang, H., Jing, J., Li, R., Zhao, J.: Fabric defect detection based on multi-scale wavelet transform and Gaussian mixture model method. J. Text. Inst. 106(6), 587–592 (2015)
Selver, M.A., Avsar, V., Özdemir, H.: Textural fabric defect detection using statistical texture transformations and gradient search. J. Text. Inst. 105(9), 998–1007 (2014)
Kanwal, M., Riaz, M., Ali, S.S., Ghafoor, A.: Fusing color, depth and histogram maps for saliency detection. Multimed. Tools Appl. 81(12), 16243–16253 (2022)
Rahtu, E., Kannala, J., Salo, M., Heikkilä, J.: Segmenting salient objects from images and videos. In: European Conference of Computer Vision, pp. 366–379 (2010)
Hou, X., Zhang, L.: Saliency detection: a spectral residual approach. In: Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, pp. 1–8 (2007)
Yang, C., Zhang, L., Lu, H.: Graph-regularized saliency detection with convex-hull-based center prior. IEEE Signal Process. Lett. 20(7), 637–640 (2013)
Jiang, B., Zhang, L., Lu, H.: Saliency detection via absorbing Markov chain. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 665–1672 (2013)
Xiao, X., Zhou, Y., Gong, Y.: RGB-’D’ saliency detection with pseudo depth. IEEE Trans. Image Process. 28(5), 2126–2139 (2019)
Zhang, L., Tong, M.H., Marks, T.K., Shan, H., Cottrell, G.W.: SUN: a Bayesian framework for saliency using natural statistics. J. Vis. 8(7), 32 (2008)
Imamoglu, N., Lin, W., Fang, Y.: A saliency detection model using low-level features based on wavelet transform. IEEE Trans. Multimed. 15(1), 96–105 (2013)
Li, W., Yang, X., Li, C., Lu, R., Xie, X.: Fast visual saliency based on multi-scale difference of Gaussians fusion in frequency domain. IET Image Process. 14(16), 4039–4048 (2020)
Seçkin, A.Ç., Seçkin, M.: Detection of fabric defects with intertwined frame vector feature extraction. Alex. Eng. J. 61(4), 2887–2898 (2022)
Kumari, R., Bandara, G., Dissanayake, M.B.: Sylvester matrix-based similarity estimation method for automation of defect detection in textile fabrics. J. Sens. 2021, 1–11 (2021)
Mahmood, T., Ashraf, R., Faisal, C.M.N.: An efficient scheme for the detection of defective parts in fabric images using image processing. J. Text. Inst. 2022, 1–9 (2022)
Suryarasmi, A., Chang, C., Akhmalia, R., Marshallia, M., Wang, W., Liang, D.: FN-Net: a lightweight CNN-based architecture for fabric defect detection with adaptive threshold-based class determination. Displays 73, 102241 (2022)
Jia, Z., Shi, Z., Quan, Z., Shunqi, M.: Fabric defect detection based on transfer learning and improved Faster R-CNN. J. Eng. Fibers Fabr. (2022). https://doi.org/10.1177/15589250221086647
Liu, Q., Wang, C., Li, Y., Gao, M., Li, J.: A fabric defect detection method based on deep learning. IEEE Access 10, 4284–4296 (2022)
Yang, Y., Sang, Q.B.: Defect detection of lightweight fabric based on multi-scale feature adaptive fusion. Comput. Eng.2022, 1–11 (2022)
Wei, W., Chen, H.: Salient object detection based on weighted hypergraph and random walk. Math. Probl. Eng. 7(9), 1–14 (2020)
Islam, M.A., Kalash, M., Rochan, M., Bruce, N.D., Wang, Y.: Salient object detection using a context-aware refinement network. In: British Machine Vision Conference, pp. 1–12 (2017)
Liu, X., Zhang, H., Cheung, Y.M., You, X., Tang, Y.Y.: Efficient single image dehazing and denoising: an efficient multi-scale correlated wavelet approach. Comput. Vis. Image Underst. 162, 23–33 (2017)
Liu, X., Zhang, H., Tang, Y.Y., Du, J.X.: Scene-adaptive single image dehazing via opening dark channel model. IET Image Process. 10(11), 877–884 (2016)
Defects Glossary [Online]. Available: https://www.cottonworks.com Accessed 19 June 2021
D. F. Germany.: Tilda textile texture-database. (1996) [Online]. Available: http://lmb.informatik.uni-freiburg.de/resources/datasets/tilda.en.html,version1.0.Accessed10August2022
Funding
Not applicable.
Author information
Authors and Affiliations
Contributions
MK conceived the idea and performed the simulation. MMR provided the mathematical formulation. SSA supervised the simulation, while AG supervised the whole research.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interest in the publication of this paper.
Consent for publication
The authors provide consent for the publication of this article.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Kanwal, M., Riaz, M.M., Ali, S.S. et al. Saliency-based fabric defect detection via bag-of-words model. SIViP 17, 1687–1693 (2023). https://doi.org/10.1007/s11760-022-02379-w
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11760-022-02379-w