Re: [Gimp-developer] Code for unsharp mask



On Mon, 2019-09-09 at 10:08 -0400, Chaitanya Kolluru wrote:
Where I can find the source code for the unsharp mask algorithm? 

It's usually implemented as the difference between two gaussian blurs,
which is where it gets its silly name.

I think it's probably in Foley & van Dam, but the GIMP code is in the
GEGL library.

https://gitlab.gnome.org/GNOME/gegl/blob/master/operations/common/unsharp-mask.c

Liam


-- 
Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave beaten.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]