Ask Your Question

Does the canny method apply non-maximum suppression?

asked 2013-11-01 12:31:30 -0500

golmschenk gravatar image

Looking at the OpenCV description of Canny edge detection non-maximum suppression is discussed as one of the steps. However, so is Gaussian blurring, and according to this question/answer blurring is not automatically applied during the canny method. Yet, the tutorial Canny edge detection code (from the first link) only specifically adds the blurring but not the non-maximum suppression. Is the non-maximum suppression automatically included in the canny method? If not, is there an OpenCV function to preform the non-maximum suppression? Thank you much!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-03 02:23:51 -0500

Michael Burdinov gravatar image

It does perform non-maximum suppression. You don't need to worry about this. Also you can easily see this on output image, since all the edges in it are one pixel wide. This will (almost) never happen without suppression.

edit flag offensive delete link more


Do you know could it be non maximum suppression bug: ?

Vit gravatar imageVit ( 2015-01-07 04:22:31 -0500 )edit

I don't know. I didn't tried OpenCV 3 yet.

Michael Burdinov gravatar imageMichael Burdinov ( 2015-01-15 06:43:39 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-11-01 12:31:30 -0500

Seen: 496 times

Last updated: Nov 03 '13