Abstract

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.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call