Python 缺少文档化功能的浏览模块
Python 缺少文档化功能的浏览模块,python,image-processing,scikit-image,Python,Image Processing,Scikit Image,我正在尝试在python上使用图像处理,建议使用skimage模块(Scikit图像全名) 我使用的是WindowsCondaPython2.7安装 在尝试使用canny函数skimage.feature.canny()时,我遇到了以下错误: AttributeError: 'module' object has no attribute 'canny'` 打印出模块版本后,我似乎得到了更新 print skimage.__version__ 0.10.1 但是,根据我们的想法,这个函数应该
我正在尝试在python上使用图像处理,建议使用skimage模块(Scikit图像全名) 我使用的是WindowsCondaPython2.7安装 在尝试使用canny函数skimage.feature.canny()时,我遇到了以下错误:
AttributeError: 'module' object has no attribute 'canny'`
打印出模块版本后,我似乎得到了更新
print skimage.__version__
0.10.1
但是,根据我们的想法,这个函数应该存在。我不完全确定从这里该怎么办。有什么帮助吗 编辑-
>>> print dir(skimage.feature)
['BRIEF', 'CENSURE', 'ORB', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '_daisy', '_hessian_det_appx', '_hog', '_texture', 'blob', 'blob_dog', 'blob_doh', 'blob_log', 'brief', 'brief_cy', 'censure', 'censure_cy', 'corner', 'corner_cy', 'corner_fast', 'corner_foerstner', 'corner_harris', 'corner_kitchen_rosenfeld', 'corner_moravec', 'corner_orientations', 'corner_peaks', 'corner_shi_tomasi', 'corner_subpix', 'daisy', 'greycomatrix', 'greycoprops', 'hessian_matrix', 'hessian_matrix_det', 'hessian_matrix_eigvals', 'hog', 'local_binary_pattern', 'match', 'match_descriptors', 'match_template', 'orb', 'orb_cy', 'peak', 'peak_local_max', 'plot_matches', 'structure_tensor', 'structure_tensor_eigvals', 'template', 'texture', 'util']
尝试使用
skimage.filter.canny
(前一个位置)。这应该在0.10.1-2版的正确位置(skimage.feature.canny
)。相关讨论为什么不试试打印目录(skimage.feature)查看所有属性?谢谢你的提示。请参见编辑。不存在Canny。这是一个过时文档的简单例子吗?震惊的谢谢@jhc,或多或少。实际上,文档已经准备就绪。文档应该与版本相匹配——因此,对于版本0.10,请在此处阅读文档:我甚至没有任何过滤器或功能(!)该软件包是使用Gohlke预先构建的二进制文件(.whl文件,版本0.11.3)@JimRaynor安装的,请运行示例并在新问题中发布错误消息。