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: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

New: Canny Edge Detection

Post 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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: New: Canny Edge Detection

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