Re: [Gimp-developer] Advanced Interpolation

2009-01-27 Thread Nicolas Robidoux
Bill: A quick note about gegl-sampler-sharp (a.k.a. nohalo-bilinear level 1): I just checked, and it does a pretty good job at mild downsampling. Also: I am not convinced, far from it actually, that NEDI will do better than nohalo level 1 when the enlargement ratio is moderate (no larger than

Re: [Gimp-developer] Advanced Interpolation

2009-01-24 Thread David Gowers
On Sat, Jan 24, 2009 at 2:48 PM, jungle agi...@cox.net wrote: Has anyone ever done any work implementing advanced interpolation schemes (NEDI or ICBI)? They provide much better results than the spatially invariant schemes present in GIMP. AFAIK no. I would probably be able to code up

Re: [Gimp-developer] Advanced Interpolation

2009-01-24 Thread David Gowers
On Sat, Jan 24, 2009 at 11:47 PM, David Gowers 00a...@gmail.com wrote: On Sat, Jan 24, 2009 at 2:48 PM, jungle agi...@cox.net wrote: Has anyone ever done any work implementing advanced interpolation schemes (NEDI or ICBI)? They provide much better results than the spatially invariant schemes

Re: [Gimp-developer] Advanced Interpolation

2009-01-24 Thread jcupitt
2009/1/24 David Gowers 00a...@gmail.com: a) You should investigate implementing this interpolation method for GEGL rather than GIMP, as in the fairly near future these kinds of transformations in GIMP will be implemented through use of GEGL. My understanding is that this will not be possible

Re: [Gimp-developer] Advanced Interpolation

2009-01-24 Thread Nicolas Robidoux
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

Re: [Gimp-developer] Advanced Interpolation

2009-01-24 Thread jungle
Nicolas Robidoux wrote: There are already two fast nonlinear resamplers implemented in GEGL: YAFR (gegl-sampler-yafr.c) and Nohalo-sharp (gegl-sampler-sharp.c). I'm not familiar with those two resamplers. Of course, that's not saying much, because it's not my area of

Re: [Gimp-developer] Advanced Interpolation

2009-01-24 Thread Nicolas Robidoux
Hello Bill: At some point it may a good idea to move this discussion off the list, but at this point I'll hope that those without interest in these issues are just skipping this email. -- jungle writes: Nicolas Robidoux

Re: [Gimp-developer] Advanced Interpolation

2009-01-24 Thread Nicolas Robidoux
Bill: I forgot the sample xml code to test nohalo-sharp level 1: !-- sharp enlargement -- gegl gegl:scale x='16.4' y='16.4' filter='sharp'/ gegl:load path='data/PICTURE.png'/ /gegl How to use: Step 1: Put this in a file (called, say, scale16p4PICTURE.xml) in the directory

[Gimp-developer] Advanced Interpolation

2009-01-23 Thread jungle
Has anyone ever done any work implementing advanced interpolation schemes (NEDI or ICBI)? They provide much better results than the spatially invariant schemes present in GIMP. I would probably be able to code up something, but I wouldn't be able to guarantee that it would be very efficient.