Investigation Of A Fuzzy Grammar For Automated Visual Inspection