def convertBinaryImage(preprocessingImg, threshold=0.9):
markers = np.zeros_like(preprocessingImg)
markers[preprocessingImg < threshold] = 1
filledImg = ndimage.binary_fill_holes(markers)
return filledImg
CancerImageAnalyzer.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录