Fabric Defect Detection Based on Pattern Template Correction. (22nd March 2018)