
Optimization of Edge Extraction Algorithm for Objects in Complex Background
Author(s) -
Fei Huang,
Jinhui Yu
Publication year - 2021
Publication title -
journal of physics. conference series
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.21
H-Index - 85
eISSN - 1742-6596
pISSN - 1742-6588
DOI - 10.1088/1742-6596/1880/1/012027
Subject(s) - sobel operator , image gradient , artificial intelligence , edge detection , computer vision , pixel , computer science , gaussian filter , algorithm , canny edge detector , gaussian , prewitt operator , deriche edge detector , mathematics , pattern recognition (psychology) , euclidean distance , image processing , image (mathematics) , physics , quantum mechanics
In the field of artificial intelligence, machine vision is expected because of its low cost and easy popularization. Feature extraction is one of the core steps of machine vision. When we use Canny algorithm, which extracts edges by gray level change, we cannot directly separate the object from the background. The edge information of the object will also be lost when the Gaussian filter smoothes the image. The research proposes an improved edge extraction algorithm based on Canny algorithm. We use the image difference method and object envelopment method to separate the object from the background, so the data to be processed is greatly reduced and the speed and accuracy of the algorithm are improved. Then we use bilateral filtering instead of Gaussian filtering, which increases the weight of gray difference on the basis of Gaussian filtering, so we can to retain more edge information. Finally, we improve the gradient operator, by determining the gradient operator coefficient according to the inverse ratio of the Euclidean distance between the pixel and the center pixel. The average performance of the new gradient operator in the center of the picture is better than that of Sobel operator. Experimental simulation shows that the algorithm has good detection accuracy. Compared with traditional algorithms, the improved algorithm is not affected by complex backgrounds, and reduce the influence of light. The improved algorithm has clear edges in the center area of the image.