
Edge Detection of Agricultural Products Based on Morphologically Improved Canny Algorithm
Author(s) -
Xiaokang Yu,
Zhiwen Wang,
Yuhang Wang,
Canlong Zhang
Publication year - 2021
Publication title -
mathematical problems in engineering
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.262
H-Index - 62
eISSN - 1026-7077
pISSN - 1024-123X
DOI - 10.1155/2021/6664970
Subject(s) - canny edge detector , deriche edge detector , edge detection , artificial intelligence , computer vision , computer science , enhanced data rates for gsm evolution , gaussian filter , segmentation , image segmentation , interference (communication) , noise (video) , filter (signal processing) , image gradient , pattern recognition (psychology) , algorithm , mathematical morphology , image (mathematics) , image processing , computer network , channel (broadcasting)
The traditional canny edge detection algorithm has its limitations in the aspect of antinoise interference, and it is susceptible to factors such as light. To solve these defects, the Canny algorithm based on morphological improvement was proposed and applied to the detection of agricultural products. First, the algorithm uses the open and close operation of morphology to form a morphological filter instead of the Gaussian filter, which can remove the image noise and strengthen the protection of image edge. Second, the traditional Canny operator is improved to increase the horizontal and vertical templates to 45° and 135° to improve the edge positioning of the image. Finally, the adaptive threshold segmentation method is used for rough segmentation, and on this basis, double detection thresholds are used for further segmentation to obtain the final edge points. The experimental results show that compared with the traditional algorithm applied to the edge detection of agricultural products, this algorithm can effectively avoid the false contour caused by illumination and other factors and effectively improve the antinoise interference while more accurate and fine detection of the edge of real agricultural products.