
Hi, I have the same issue when using scikit image (Anaconda distribution, which is up-to-date) to label some image objects. Error messages are: from skimage.measure import label import numpy as np label(np.zeros(5), connectivity=1) ---------------------------------------------------------------------------TypeError Traceback (most recent call last)<ipython-input-2-df99425b8b1f> in <module>() 2 import numpy as np 3 ----> 4 label(np.zeros(5), connectivity=1) TypeError: label() got an unexpected keyword argument 'connectivity' Could you help? Ji On Monday, 4 May 2015 16:46:09 UTC+1, Julien Derr wrote:
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?
thanks again!
Julien