我尝试查看图像的所有不同类型的阈值。 skimage.__version__Importerror: cannot import name try_all_thresholdimport skimage.filter as sfAttributeerror: 'module' object has no attribut
我正在处理来自SKimage的不同的阈值算法,当我导入某些包时,我会得到一个错误,但在其他方面没有问题。例如:
from skimage.filter import threshold_adaptive, threshold_isodata返回回溯:ImportError: cannot import name
在我的旧笔记本电脑(Debian 7,Python 2)上,这些脚本工作得很好。最近,当我得到一台新的笔记本电脑时,我转到Debian 8和Python3。line 8, in <module>ImportError: cannot import name 'label'from skimage import data
from skimage.filter import threshold_otsu