2011/5/26 Stéfan van der Walt <stefan@sun.ac.za>
On Thu, May 26, 2011 at 7:34 PM, James Turner <jturner@gemini.edu> wrote:
> It might be good to add some interpolation functions, but I'm
> not sure how realistic it is for 2 days' work (by me). There's
> some Netlib stuff that could probably "just" be wrapped, if
> you're interested, but it's ForTran and I don't know whether
> (doubt) you'd want to require that for compilation? Also, it
> might be too much along the lines of what I need and not what
> you want for the scikit, but it's just something to think
> about...

Fast interpolation algorithms using PyOpenCL may be worth looking at.
I heard today of an interesting interpolation method that does not go
exactly through data-points, but is extremely efficient to
implement--will look into that some more.  Either way, being able to
size up and down large images efficiently would certainly be useful.

Is it just going "close enough" to the data points or does it do something like least-squares fitting to noisy data? If the latter, do you have a reference for this method?

Thanks,
Ralf


 
Scipy's ndimage does B-spline interpolation well, although I've never
been able to decipher exactly what happens below the hood :)

Cheers
Stéfan