[SciPy-user] Is there a bicubic interpolation function in scipy?

David Huard david.huard@gmail....
Wed May 21 11:59:33 CDT 2008


And if you like fortran, I wrote a python wrapper for the fortran
implementation of the Akima bicubic interpolator (ACM 760).

David

2008/5/21 Stéfan van der Walt <stefan@sun.ac.za>:

> 2008/5/21 zhang chi <zhangchipr@gmail.com>:
> >    I want to use a bicubic interpolation function to process a image, is
> > there a a bicubic interpolation function in scipy?
>
> There are a couple of options available.  In ndimage, you can specify
> an `order` parameter to most functions, which determines the order of
> the splines used for interpolation, e.g.
>
> x = np.array([1,2,3.])
> ndimage.zoom(x,5/3.,order=1)
>
> In `scipy.interpolate`, you also have `interp2d` and
> SmoothBivariateSpline (with kx=1,ky=1).
>
> Furthermore, if you need C code I can provide you with either ctypes
> or cython examples.
>
> Regards
> Stéfan
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080521/9acf80aa/attachment.html 


More information about the SciPy-user mailing list