[SciPy-user] 16-bit images and ndimage filters
Stéfan van der Walt
Fri Apr 10 14:09:33 CDT 2009
2009/4/10 Pavlo Shchelokovskyy <firstname.lastname@example.org>:
> 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.
More information about the SciPy-user