[SciPy-user] 16-bit images and ndimage filters

Stéfan van der Walt stefan at sun.ac.za
Fri Apr 10 15:09:33 EDT 2009


Hi Pavlo

2009/4/10 Pavlo Shchelokovskyy <shchelokovskyy at gmail.com>:
> scipy.misc.imread loads the image just fine as int32 numpy array. But
> then filters from scipy.ndimage give me the error "RuntimeError: array
> type 5 not supported". Only after converting the image back and forth
> (i.e. to float and back to int32) the error is gone.

It sounds like ndimage should be comparing dtypes but is, in fact,
comparing array types.  I would file it as a bug.

Cheers
Stéfan



More information about the SciPy-User mailing list