Bill:

There are already two fast nonlinear resamplers implemented in GEGL:

YAFR (gegl-sampler-yafr.c)

and

Nohalo-sharp (gegl-sampler-sharp.c). 

Both are a little slower than gegl-sampler-linear, but faster than
gegl-sampler-bicubic. See the (informal) benchmarks at

http://bugzilla.gnome.org/show_bug.cgi?id=566717

Code wise, you may want to have a look at the following:

http://svn.gnome.org/viewvc/gegl/trunk/gegl/buffer/gegl-sampler-sharp.c?revision=2881&view=markup

This is the lowest quality/fastest version of a scheme which, at
higher quality levels, should compete advantageously will NEDI in the
good looks department.

Nohalo-sharp is (literally as we speak!) also being implemented in
vips, and on the GPU (with DirectX).

A not yet implemented variant of the scheme, Nohalo-Smooth, will look
smoother (duh!).

YAFR (Yet Another Fast Resampler) is likely to be made obsolete by the
higher level nohalos.

See:

http://svn.gnome.org/viewvc/gegl/trunk/gegl/buffer/gegl-sampler-yafr.c?view=markup

------

I'd love manpower (GSoC?) to implement Nohalo-Smooth and/or either
Nohalo at higher quality levels.

(Just a wish.)

Nicolas Robidoux
Laurentian University/Universite Laurentienne



_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to