GIMP Chat
http://gimpchat.com/

Canny Edge Detection Gimp 2.10 Linux 64 bit
http://gimpchat.com/viewtopic.php?f=9&t=18020
Page 1 of 1

Author:  rich2005 [ Thu Feb 13, 2020 3:42 pm ]
Post subject:  Canny Edge Detection Gimp 2.10 Linux 64 bit

For those interested. Linux 64 bit version. At first I thought it did not work. Needed an extra click on the menu shortcut and it can generate error messages.

However FWIW zipped and attached. All-in-one example.

Attachment:
can-edge.jpg
can-edge.jpg [ 214.62 KiB | Viewed 2739 times ]


Attachments:
canny-linux-64bit.zip [11.01 KiB]
Downloaded 171 times

Author:  Nidhogg [ Thu Feb 13, 2020 4:16 pm ]
Post subject:  Re: Canny Edge Detection Gimp 2.10 Linux 64 bit

Thank you. Yeah I forgot to mention the double-click problem. But I remember placing G'mic on the main menu earlier and it did the same thing.
The one I compiled yesterday was for 2.8. Tried first on 2.10 but there was lot of deprecated calls.
How do you fix them? I replaced them in the .c file but didn't manage to fix it.

Author:  rich2005 [ Fri Feb 14, 2020 5:13 am ]
Post subject:  Re: Canny Edge Detection Gimp 2.10 Linux 64 bit

Quote:
...Tried first on 2.10 but there was lot of deprecated calls.
How do you fix them? I replaced them in the .c file but didn't manage to fix it.


Compiled in a 'buntu 18.04 (VM) Gimp 2.10 and yes, plenty of deprecated call warnings, but they are just warnings not errors. Proving the plugin works with Gimp compatibility, I just ignore them. The plugin is not alone ;) I get plenty warnings from more recent code, gimp_gmic or BIMP for example.

Author:  racer-x [ Fri Feb 14, 2020 6:12 am ]
Post subject:  Re: Canny Edge Detection Gimp 2.10 Linux 64 bit

At first, it wouldn't work no matter how many times it was clicked. It was grayed out. I then realized I had to remove the Alpha Channel first. Then it worked.

How to move this to Filters > Edge-Detect?

Author:  rich2005 [ Fri Feb 14, 2020 8:13 am ]
Post subject:  Re: Canny Edge Detection Gimp 2.10 Linux 64 bit

racer-x wrote:
How to move this to Filters > Edge-Detect?


There is actually a "To Do" comment in the code for that, so recompiled. Try the attached, find in Filters -> Edge-Detect -> Canny

Attachments:
canny.zip [11.02 KiB]
Downloaded 152 times

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/