[Numpy-discussion] numarray.nd_image.label() help

Peter Verveer verveer at embl-heidelberg.de
Wed Jun 2 13:38:05 CDT 2004

Hi Andrew,

If you use the latest release or an older version you may have run into 
a bug that displayed that behaviour. I fixed that in the CVS version, 
so please try to use that if you are not already doing that. If you are 
using the CVS version and still get the problem, please show me the 
smallest possible array that displays the problem, and I will fix it.

Cheers, Peter

On Jun 2, 2004, at 2:49 PM, Andrew Wilson wrote:

> Hello,
>    I'm having some trouble with the numarray.nd_image.label() function 
> as it is not connecting two objects (that are adjacent) on some 
> images.  I have tried using the struct:
>                   [[1,1,1]
> struct  =      [1,1,1]
>                     [1,1,1]]
> this does change how it is connecting various objects in my image (as 
> compared to the default struct) but it still splits the objects 
> eventhough they are touching.  Any hints or clues?  I could send the 
> pictures, just don't want to post them to the entire list.

More information about the Numpy-discussion mailing list