Edge detection method based on mathematical morphology and canny algorithm

2008 ◽  
Vol 28 (2) ◽  
pp. 477-478 ◽  
Author(s):  
Xin-ying HE
2011 ◽  
Vol 103 ◽  
pp. 194-198
Author(s):  
Ji Gang Wu ◽  
Kuan Fang He ◽  
Bin Qin

Aiming at the edge detection of thin sheet part dimension inspection system based on machine vision, a contrast research on edge detection is investigated. The Gaussian blurred simulation image and thin sheet part image are took as evaluation images, and the edge detection are done with Roberts operator, Sobel operator, Prewitt operator, Kirsch operator, Laplacian operator, LOG operator and mathematical morphology edge detection method. The results of edge detection are analyzed deeply, and the edge location accuracy, noise resisting ability and calculation time of each algorithm are compared. The single-pixel width connected contour is acquired with mathematical morphology edge detection method, the detection time are 0.0521 second and 0.457 second respectively. It is appropriate that taking the mathematical morphology edge detection method as the edge detection method of thin sheet part dimension inspection system based on machine vision.


2021 ◽  
Vol 2021 ◽  
pp. 1-13
Author(s):  
Shou-Ming Hou ◽  
Chao-Lan Jia ◽  
Ming-Jie Hou ◽  
Steven L. Fernandes ◽  
Jin-Cheng Guo

The coronavirus disease 2019 (COVID-19) is a substantial threat to people’s lives and health due to its high infectivity and rapid spread. Computed tomography (CT) scan is one of the important auxiliary methods for the clinical diagnosis of COVID-19. However, CT image lesion edge is normally affected by pixels with uneven grayscale and isolated noise, which makes weak edge detection of the COVID-19 lesion more complicated. In order to solve this problem, an edge detection method is proposed, which combines the histogram equalization and the improved Canny algorithm. Specifically, the histogram equalization is applied to enhance image contrast. In the improved Canny algorithm, the median filter, instead of the Gaussian filter, is used to remove the isolated noise points. The K -means algorithm is applied to separate the image background and edge. And the Canny algorithm is improved continuously by combining the mathematical morphology and the maximum between class variance method (OTSU). On selecting four types of lesion images from COVID-CT date set, MSE, MAE, SNR, and the running time are applied to evaluate the performance of the proposed method. The average values of these evaluation indicators are 1.7322, 7.9010, 57.1241, and 5.4887, respectively. Compared with other three methods, these values indicate that the proposed method achieves better result. The experimental results prove that the proposed algorithm can effectively detect the weak edge of the lesion, which is helpful for the diagnosis of COVID-19.


Sign in / Sign up

Export Citation Format

Share Document