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

Andrew Wilson a_wilson at mit.edu
Thu Jun 3 07:35:01 CDT 2004


Hi Peter,
    The latest CVS did fix the problem. 
    Thank you very much!
       Andrew

p.s. -- BOOLEAN_BITWISE_NOT  was not defined in 
Src/_ufunc_Boolmodule.c,  so I just commented it out, recompiled and CVS 
worked





Peter Verveer wrote:

> 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