The invention discloses a crack identification method and device based on multi-scale
infrared thermal
feature fusion, and the method comprises the steps: obtaining the gray images of cracks and
noise for a single-frame
infrared thermal image;
histogram equalization is adopted to adjust image
gray level distribution, and a
gray level enhanced image is obtained; setting a larger local feature sensitivity
weight coefficient for the background dominant window and the
noise dominant window, and setting a smaller local feature sensitivity
weight coefficient for the target composite window; counting the number of foreground pixels in each window, and calculating the ratio of the number of foreground pixels to the total number of pixels; determining a background dominant window, a
noise dominant window and a target composite window; setting local feature sensitivity weight coefficients of a background dominant window, a noise dominant window and a target composite window; segmenting the
grayscale enhanced image to obtain a
binary image, and extracting a connected domain of foreground pixels; for each foreground pixel connected domain, calculating the total number of pixels, randomly selecting a plurality of seed points, determining corresponding maximum inscribed circles, taking the average value of the diameters of all the maximum inscribed circles as the width, taking the ratio of the total number of pixels to the width as the length, and screening out connected domains with the length-
width ratio smaller than 10 as noise; and optimizing the foreground pixel connected domain, removing fine noise,
smoothing the contour, and regarding the finally obtained foreground pixel connected domain as a crack.