[SciPy-user] Weird label behaviour in ndimage

Alexander Borghgraef alexander.borghgraef.rma@gmail....
Tue Sep 18 08:52:11 CDT 2007


Hi all,

 I'm doing some image treatment using the ndimage module, and I've been
playing a bit with the label
function. I've encountered something very strange:


  a = zeros((5,4))   # a is a numpy.ndarray of int32
  b = label(a)[0]     # b is a numpy.ndarray of int32

-- 
Alex Borghgraef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070918/5a8d18fb/attachment-0001.html 


More information about the SciPy-user mailing list