The neighbors parameter in the skimage.morphology.label was deprecated and removed in scikit-image v0.18. Scikit-image recommends the use of the connectivity parameter instead. A neighbors value of 8 corresponds to a connectivity value equal to the dimension of the input image.
The
neighbors
parameter in theskimage.morphology.label
was deprecated and removed in scikit-image v0.18. Scikit-image recommends the use of theconnectivity
parameter instead. Aneighbors
value of 8 corresponds to aconnectivity
value equal to the dimension of the input image.