New: Canny Edge Detection

Announcements pertaining to ImageMagick, or ImageMagick related software. This list is moderated. No discussions here, instead post to the users group instead.
Post Reply
User avatar
fmw42
Posts: 22232
Joined: 2007-07-02T17:14:51-07:00
Location: Sunnyvale, California, USA

New: Canny Edge Detection

Post by fmw42 » 2014-04-11T12:56:26-07:00

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

User avatar
anthony
Posts: 8874
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: New: Canny Edge Detection

Post by anthony » 2014-07-13T19:35:12-07:00

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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
http://www.imagemagick.org/Usage/

Post Reply