[Numpy-discussion] Bilinear interpolation (numpy only)
Jerome Kieffer
Jerome.Kieffer at esrf.fr
Sun Dec 14 08:37:12 EST 2014
On Sun, 14 Dec 2014 12:52:03 +0100
"Nicolas P. Rougier" <Nicolas.Rougier at inria.fr> wrote:
>
> Thanks Jérôme, I will look into your code. Having other filter might be useful for my case.
>
> While looking for code, I've also found this (pure python) implementation:
> http://stackoverflow.com/questions/12729228/simple-efficient-bilinear-interpolation-of-images-in-numpy-and-python
Great, I keep the link as well. it is interesting to have it.
The only drawback is the poor cache efficiency of the numpy implementation (where actually cython rocks)
Cheers,
--
Jérôme Kieffer
Data analysis unit - ESRF
More information about the NumPy-Discussion
mailing list