MIC-DKFZ / HD-BET

MRI brain extraction tool
Apache License 2.0
255 stars 61 forks source link

neighbors param is now removed in skimage. use connectivity instead #18

Closed blakedewey closed 3 years ago

blakedewey commented 3 years ago

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.

blakedewey commented 3 years ago

As an aside, this could also be achieved by leaving this parameter off, but I thought leaving it in would be more explicit.