Page 1 of 1

New: Canny Edge Detection

Posted: 2014-04-11T12:56:26-07:00
by fmw42
The canny edge detector is available as of Imagemagick 6.8.9-0

Image

Code: Select all

convert sample2.jpg -canny 0x1+10%+30% sample2_canny_0x1+10+30.gif
Image



Image

Code: Select all

convert lena3.jpg -canny 0x1+10%+30% lena3_canny_0x1+10+30.gif
Image


Results may be different if you convert to grayscale before processing.

Code: Select all

convert lena3.jpg -colorspace gray -canny 0x1+10%+30% lena3g_canny_0x1+10+30.gif
Image

Re: New: Canny Edge Detection

Posted: 2014-07-13T19:35:12-07:00
by anthony
I have added the option to IM Examples
Canny Edge Detection
http://www.imagemagick.org/Usage/transform/#canny

Can you have a look and see if there is any corrections or additions that should be made