skimage分水岭分割用于肺部图像分割

3

我从skimage.segmentation.watershed()得到了某种噪声或意外的输出。由于我是图像处理的新手,不了解watershed()的其他参数。

接下来,当我使用mark_boundaries()函数时,同样的输出也反映在那里。

如果有人知道如何从分割图像中删除这些点,将非常有帮助。

以下是我的代码和输出:

  1. 掩膜

    plt.imshow(binarye, cmap="gray")

enter image description here

  1. 要进行分割的图像 enter image description here

  2. 输出图像

    segments_watershed = watershed(img_one, 1000, mask=binarye) plt.imshow(segments_watershed, cmap="gray") enter image description here


看起来这是掩模和种子交互方式中的一个错误。能否请您在 github.com/scikit-image/scikit-image/issues 上提出问题? 请包括您的示例图像以原始形式和获取分水岭结果所需的代码?谢谢! - Juan
1个回答

3

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接