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:

enter image description here

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.

enter image description here

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

enter image description here

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

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -