Study Of Mse Edge And Ssim Of Canny Detection

  • Vidhi Chhatbar, Mihir Gondhalekar, Vrinda Bhatu, Aparna Halbe

Abstract

Traditionally for using the Canny edge detection algorithm, direct use of library is made.By this we directly get the output image.But what is observed is that the mean squared error is generally high.So in this paper we have implemented the algorithm without using the library.The result obtained is the number of intermediate images of smoothning, gradient ,non maximum suppression and threshold images and a final output image after performing hysteresis. We see that the mean squared error of base image and output image that we get without using the library is less compared to the mean squared error of base image and output image that we got using the library.To summaries everything we can say that when we do not make use of the library we are actually changing the threshold value and noting down the results at different threshold value.It is known that CDA is very sensitive to noise so before detecting any edges first we have used gaussian filter and convolution.After removing the noise sobel filter is used for finding the gradients.After that thresholding is used to identify weak and strong edges then by using hysteresis method decision is made whether to remove or to keep the weak edges.After all this steps are completed we can observe that the mse of ground truth image and output image is significantly reduced.Whereas in case where library is used,we import the libraries numpy ,cv2 and matplotlib then read the input image on grayscale.After that simply apply the library Canny on the grayscale image to get the output image.The Structural similarity index is calculated between ground truth image and gradient, non maximumsuppression , threshold images to see how muchthey are similar.The sum of the difference between the two images is calculated and observed that it was higher.

Published
2020-06-01
How to Cite
Vidhi Chhatbar, Mihir Gondhalekar, Vrinda Bhatu, Aparna Halbe. (2020). Study Of Mse Edge And Ssim Of Canny Detection . International Journal of Advanced Science and Technology, 29(10s), 8780-8785. Retrieved from https://sersc.org/journals/index.php/IJAST/article/view/26191
Section
Articles