Re: [Gimp-developer] Cubic Interpolation vs No Halo



I suspect that it would make very little difference when downsampling, but
maybe sigmoidization, as used in LoHalo, is not worth the computational
cost.

Very easy to modify the code:

Remove the extended_sigmoidal and inverse_sigmoidal function definitions,
and then replace these strings (which trigger the function calls) by
nothing throughout
https://git.gnome.org/browse/gegl/tree/gegl/buffer/gegl-sampler-lohalo.c

I also wonder if the nested ifs in the downsampling component should be
replaced by non-nested branches (that contain the previous tests, but are
not nested).


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