It is currently Wed Jul 03, 2024 4:42 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Thu Feb 13, 2020 3:42 pm  (#1) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
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 2733 times ]


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

_________________
Image
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Thu Feb 13, 2020 4:16 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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.


Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Fri Feb 14, 2020 5:13 am  (#3) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
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.

_________________
Image


Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Fri Feb 14, 2020 6:12 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
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?


Top
 Post subject: Re: Canny Edge Detection Gimp 2.10 Linux 64 bit
PostPosted: Fri Feb 14, 2020 8:13 am  (#5) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
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

_________________
Image
Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Canny Edge Detection Gimp 2.10 Win10 32/64 bit.

25

No new posts Attachment(s) GEGL Edge Extract - Edge Neon's algorithm in transparent background

9

No new posts Attachment(s) Efficacy of the new Canny edges in G'MIC

11

No new posts Line Art Detection

0

No new posts Line art detection bucket fill

0



* Login  



Powered by phpBB3 © phpBB Group