Fabric defect detection using a genetic algorithm tuned wavelet filter | Synapse