Automatic visual inspection of textured textiles