P. S. H. Pallemulla, S. Sooriyaarachchi, C. R. De Silva, C. Gamage
{"title":"Defect Detection in Woven Fabrics by Analysis of Co-occurrence Texture Features as a Function of Gray-level Quantization and Window Size","authors":"P. S. H. Pallemulla, S. Sooriyaarachchi, C. R. De Silva, C. Gamage","doi":"10.4038/engineer.v54i4.7470","DOIUrl":null,"url":null,"abstract":"In this experimental research, the effects of gray-level quantization and tiling window size on 22 gray-level co-occurrence matrix features were investigated in the context of automated woven fabric defect detection. A dataset comprising 1426 128×128 images was used, in which defective and the defect-free images were split in a 50:50 ratio. Experiments were carried out with seven quantization levels (LL = 4, 8, 16, 32, 64, 128 and 256) and four window sizes (NN = 8, 16, 32, 64). The features were extracted from each image in the training set for each< LL,NN >combination and thereafter were ranked using the joint mutual information metric. Next, for each < LL,NN > combination, a k-nearest neighbour classifier was trained, first with only the highest-ranking feature and thereafter iteratively by adding features of lower ranks. It was observed that a minimum of nine features were needed to achieve an acceptable (>90%) F1 score for any < LL,NN >combination, except when NN is relatively large. The two features that contribute to improving the F1 score for any < LL,NN >combination were found to be Homogeneity I and Homogeneity II. It was also noted that using an 8×8 window on images with 128 gray levels resulted in a practically usable high F1 score (96.39%) with the least number of features (14).","PeriodicalId":42812,"journal":{"name":"Engineer-Journal of the Institution of Engineers Sri Lanka","volume":"16 1","pages":""},"PeriodicalIF":0.4000,"publicationDate":"2021-12-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineer-Journal of the Institution of Engineers Sri Lanka","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4038/engineer.v54i4.7470","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 2
Abstract
In this experimental research, the effects of gray-level quantization and tiling window size on 22 gray-level co-occurrence matrix features were investigated in the context of automated woven fabric defect detection. A dataset comprising 1426 128×128 images was used, in which defective and the defect-free images were split in a 50:50 ratio. Experiments were carried out with seven quantization levels (LL = 4, 8, 16, 32, 64, 128 and 256) and four window sizes (NN = 8, 16, 32, 64). The features were extracted from each image in the training set for each< LL,NN >combination and thereafter were ranked using the joint mutual information metric. Next, for each < LL,NN > combination, a k-nearest neighbour classifier was trained, first with only the highest-ranking feature and thereafter iteratively by adding features of lower ranks. It was observed that a minimum of nine features were needed to achieve an acceptable (>90%) F1 score for any < LL,NN >combination, except when NN is relatively large. The two features that contribute to improving the F1 score for any < LL,NN >combination were found to be Homogeneity I and Homogeneity II. It was also noted that using an 8×8 window on images with 128 gray levels resulted in a practically usable high F1 score (96.39%) with the least number of features (14).