Wavelet transform and principal component analysis in fabric defect detection and classification | Synapse