Ask Your Question
3

Does the canny method apply non-maximum suppression?

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

golmschenk gravatar image

updated 2020-10-24 14:02:57 -0600

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
5

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

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

Comments

Do you know could it be non maximum suppression bug: http://answers.opencv.org/question/52... ?

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

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

Michael Burdinov gravatar imageMichael Burdinov ( 2015-01-15 06:43:39 -0600 )edit

Question Tools

Stats

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

Seen: 782 times

Last updated: Nov 03 '13