【问题标题】:Is there a 3D version of scikits image measure regionprops?是否有 scikits 图像测量 regionprops 的 3D 版本?
【发布时间】:2015-05-26 22:15:01
【问题描述】:

我有一个 3D 二进制图像,我正在为它确定两点聚类函数。这样做的第一步是定义图像中的所有连接区域。我已经成功地使用 skimage 做到了:

from skimage.measure import label
from skimage.morphology import remove_small_objects
from skimage.measure import label
from skimage.morphology import remove_small_objects
min = 64
label_file = label(newim_int, return_num=True, connectivity=2)
image_clean = remove_small_objects(label_file[0], min_size=min,connectivity=2, in_place=True)
label_file = label(image_clean, return_num=True, connectivity=2)

在 min= 和 label_file= 之间的文件中缺少一堆要读取的内容等 我现在想知道标记区域的大小分布 这里。不幸的是, skimage.measure.regionprops 告诉我它只适用于 2D 图像。还有另一种方法可以做到这一点吗? 谢谢

【问题讨论】:

  • 您想要进行 3d 霍夫变换。您将在 fileexchange 站点中找到一个用 matlab 编写的工具。也许你用python编码。不知道是不是用python实现的

标签: python measure scikits


【解决方案1】:

regionpropshas already started being expanded to include 3d images;目前一些属性返回NotImplementedError

幸运的是,area 已经适用于 3d,因此您应该可以使用此属性。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-02-28
    • 1970-01-01
    • 2019-09-03
    • 1970-01-01
    • 2018-11-12
    • 1970-01-01
    • 2018-08-16
    • 1970-01-01
    相关资源
    最近更新 更多