Statistical classification of raw textile defects