The invention discloses a band steel surface defect
feature extraction and classification method, and belongs to the fields of mode recognition and
image processing. The band steel surface defect
feature extraction and classification method comprises the steps: extracting a reference sampling size chart of a band steel surface defect sample
database; obtaining a reference sampling image, and constructing a gradient size and direction co-occurrence matrix; by aiming at a defect inner area of the reference sampling image, constructing a
grayscale size and direction co-occurrence matrix; generating a
feature vector sample training
library; trimming a training sample set and extracting a multiplying factor by a method of combining K-
nearest neighbour with R-
nearest neighbour; improving a classifier by using a multiplying factor of the trimmed sample; obtaining a multi-class classifier model; according to the reference sampling size chart, converting the defect
test sample into a reference sampling image, then extracting a 25-dimensional feature quantity, inputting the 25-dimensional feature quantity into the multi-class classifier model, and finishing the defect automatic recognition. According to the band steel surface defect
feature extraction and classification method, the scale and rotation are not changed, the influence by other adverse factors is restrained, and recognition efficiency and accuracy are improved.