problem with measure.label

François Boulogne fboulogne at sciunto.org
Mon May 4 12:01:57 EDT 2015


Le 04/05/2015 11:45, Julien Derr a écrit :
> Hi everyone, it is me again ...
> I got this error with the label function
> TypeError: label() got an unexpected keyword argument 'connectivity'
>
> but I used it exactly like written in the help :
>
> cc= label(binary2,connectivity=2)
>
> I thought it was maybe a problem of version, but it is written in my
> own help when I type ?label,
> so what could it be ? ideas?
>
>

Hi Julien,

I can't reproduce with label(np.zeros(5), connectivity=1). Does this
line works for you? Could you provide a minimal example please?

Best,

-- 
François Boulogne.
http://www.sciunto.org
GPG: 32D5F22F




More information about the scikit-image mailing list