RSS/Atom feed Twitter
Site is read-only, email is disabled

Some edge filters in GEGL

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Some edge filters in GEGL Victor Oliveira 30 Mar 16:12
  Some edge filters in GEGL Martin Nordholts 30 Mar 16:43
Victor Oliveira
2011-03-30 16:12:23 UTC (about 14 years ago)

Some edge filters in GEGL

Hello everyone. As a way to learn how GEGL works, I decided to implement some GIMP plug-ins in it [1,2]. I hope this code can help someone in the task of making your own plugins. I've done a sobel and a laplace filter. Both use RGBA float format for input and output. Basically, I just do a convolution with the appropriate mask, although in sobel filter I implemented some of the options of the original GIMP plugin.

There are some differences in the results, but I think this code is "almost there" to whom wants to port these plugins to GEGL.

[1] http://git.gnome.org/browse/gimp/tree/plug-ins/common/edge-sobel.c [2] http://git.gnome.org/browse/gimp/tree/plug-ins/common/edge-laplace.c

Martin Nordholts
2011-03-30 16:43:05 UTC (about 14 years ago)

Some edge filters in GEGL

2011/3/30 Victor Oliveira :

Hello everyone. As a way to learn how GEGL works, I decided to implement some GIMP plug-ins in it [1,2]. I hope this code can help someone in the task of making your own plugins. I've done a sobel and a laplace filter. Both use RGBA float format for input and output. Basically, I just do a convolution with the appropriate mask, although in sobel filter I implemented some of the options of the original GIMP plugin.

There are some differences in the results, but I think this code is "almost there" to whom wants to port these plugins to GEGL.

[1] http://git.gnome.org/browse/gimp/tree/plug-ins/common/edge-sobel.c [2] http://git.gnome.org/browse/gimp/tree/plug-ins/common/edge-laplace.c

(BCC:ing gimp-developer)

Thanks! I haven't done a thorough review, but it looks like a good start. Can you create a patch with git format-patch and attach it to bugzilla please?

Regards,
Martin