The invention relates to the technical field of
image enhancement, in particular to a blade scratch recognition method based on
image enhancement, which comprises the following steps of: defining a texture sliding window with the size of N * N according to a to-be-detected blade
grayscale image, and controlling the texture sliding window to carry out pixel-by-pixel traversal on a pixel coordinate
system of the to-be-detected blade
grayscale image, and calculating and generating a local entropy value. According to the method, the fused matrix is processed through morphological closed operation, the discontinuous high-
response area is connected through the structural elements, internal holes are filled, the scratch fracture phenomenon caused by uneven illumination or
metal reflection is repaired, and the completeness and continuity of the defect form are ensured. And performing connected domain marking based on a binary
mask, extracting geometric parameters of an external rectangle, strictly screening the connected domains according to a length-
width ratio form standard, and removing non-strip interference
noise such as spots and pits, so that high-precision positioning of fine scratches on the surface of the blade is realized.