python - Is this a bug of scipy RectBivariateSpline? -
i trying interpolation below result seemingly result of bug. want know if had same problem.
img: input image (numpy ndrarray) of h-by-w
img data looks this:

the img contains 8-bit pixel intensity values , each element divided 256.0 before interpolation. img not contain nans or infs.
from scipy.interpolate import rectbivariatespline h, w = img.shape x = np.arange(0, h) y = np.arange(0, w) ip = rectbivariatespline(x,y, img) the code excerpt throws unhandled exception below.

if change rectbivariatespline interp2d whole python crashes. gist of below dialog window python.exe crashed due module named '_fitpack.pyd'

i working on windows 7 64 bit , python 2.7 32-bit. numpy=1.6.2, scipy=0.11.0 , numpy.test() , scipy.test() both return 'ok'
if can tell me known (possibly reported) bug, have think other way accomplish task.
Comments
Post a Comment