[Numpy-discussion] ndimage.label - howto force SWIG to use int32 - even on 64bit Linux ?

Stéfan van der Walt stefan at sun.ac.za
Sat May 1 15:17:56 EDT 2010


Hi Sebastian

On 27 April 2010 10:27, Sebastian Haase <seb.haase at gmail.com> wrote:
> Hi,
> I wanted to write some C code to accept labels as they come from ndimage.label.
> For some reason ndimage.label produces its output as an int32 array -
> even on my 64bit system .

I've merged Thouis's patch to implement scikits.image.measurements in
pure Python.  Would you please try the SVN version and see if it
solves your problem, and also whether it performs to your
satisfaction?

Regards
Stéfan



More information about the NumPy-Discussion mailing list