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

Stéfan van der Walt stefan@sun.ac...
Fri Apr 10 14:09:33 CDT 2009


Hi Pavlo

2009/4/10 Pavlo Shchelokovskyy <shchelokovskyy@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