Canny edge detection with Alpha
Posted: 2015-05-22T14:37:41-07:00
Canny Edge detection doesn't seem to work properly when the image has an alpha channel, either from memory or a file.
I'm a new user, so this could may be my fault, or maybe a mental problem. Here are a couple of files that work and don't work for me, both on the ImageMagic command line and the Magick.net wrapper:
http://xpda.com/canny.jpg
http://xpda.com/canny.png
Invalid results: convert canny.png -canny 0x1+10%+30% tmp.png
Sometimes it repeats half the image horizontally, sometimes it's not recognizable.
I'm a new user, so this could may be my fault, or maybe a mental problem. Here are a couple of files that work and don't work for me, both on the ImageMagic command line and the Magick.net wrapper:
http://xpda.com/canny.jpg
http://xpda.com/canny.png
Invalid results: convert canny.png -canny 0x1+10%+30% tmp.png
Sometimes it repeats half the image horizontally, sometimes it's not recognizable.