Robust fabric defect detection and classification using multiple adaptive wavelets | Synapse