Edge detection algorithm of infrared image of electrical equipment based on improved Canny operator
Aiming at the problem of too many false edges and easy edge breakage in the process of edge detection of infrared images of electrical equipment,an improved edge detection algorithm of infrared images of electrical equipment based on Canny operator is proposed.Firstly,Gamma transform is used to enhance the details of the low-gray or high-gray part of the image to make the image texture and edges more obvious.Interpolation method is used to suppress the non-maximum value,and the pixel values on both sides of the gradient direction that are most consistent with the pixel points are determined to improve the accuracy of edge positioning and improve the problem of edge fracture.Gradient intensity calculation method is used to achieve automatic threshold selection,improve the efficiency of the algorithm,and ensure the continuity of the edge.Finally,the data analysis and example verification results show that compared with the traditional Canny edge detection algorithm,the method proposed in this paper can detect the edge information more accurately and the extracted edges have better connectivity.