Surface defect recognition for moderately thick plates based on a SIFT operator