1

我想从 python 中的二维二进制矩阵中标记相邻像素的簇。基本上,我正在尝试找到类似于 idl 函数 label_region 的东西 http://star.pst.qub.ac.uk/idl/LABEL_REGION.html 你有什么建议吗?谢谢

4

1 回答 1

0

答案在这里http://pythonvision.org/basic-tutorial 我使用了这个函数ndimage.label

于 2012-05-25T09:54:39.407 回答