Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
filter math
#1
How do I obtain the algo/kernel/convolution mask for the various filters in gimp?

For instance, I was interested in the numbers behind  https://docs.gimp.org/en/plug-in-oilify.html

so I could customize them per my needs, and create new filters per my needs.
Reply
#2
Quote:...snip...so I could customize them per my needs, and create new filters per my needs.

Some of these old Gimp plugins are more than a bit obscure in how they work

Somebody might be able to tell you.

For example this code, https://github.com/GNOME/gimp/blob/maste...n/oilify.c It is commented & you might glean a little insight.

You might be better off using the functions from an existing plugin, I am thinking of the gimp plugin gmic.

Try asking your question on https://discuss.pixls.us/ the creator of gmic looks in there.
Reply
#3
(04-19-2018, 04:13 PM)rich2005 Wrote:
Quote:...snip...so I could customize them per my needs, and create new filters per my needs.

Some of these old Gimp plugins are more than a bit obscure in how they work

Somebody might be able to tell you.

For example this code,  https://github.com/GNOME/gimp/blob/maste...n/oilify.c It is commented & you might glean a little insight.

You might be better off using the functions from an existing plugin, I am thinking of the gimp plugin gmic.

Try asking your question on https://discuss.pixls.us/ the creator of gmic looks in there.

thanks i'll try there.
Reply
#4
In case you ever come back

There is a old java application 'painterly' which can create an 'oilify' type of effect.

This page: http://www.mrl.nyu.edu/publications/painterly98/ has a PDF with details of the algorithms.

This page has various papers for various graphics projects http://www.dgp.toronto.edu/~hertzman/research.html Might be worth a trawl through.
Reply


Forum Jump: