python三维连通域检测

from skimage import measure, color
labels = measure.label(lesion)

其中lesion为三维数组

skimage.measure.label

https://blog.csdn.net/zz2230633069/article/details/85107971

加上开闭运算排除后的代码

https://www.cnblogs.com/niulang/p/11691545.html

你可能感兴趣的:(python,连通域检测)