AttributeError: module 'skimage.restoration' has no attribute 'rolling_ball'
AttributeError: module 'skimage.restoration' has no attribute 'rolling_ball'
我正在处理需要简单阴影校正的图像并找到
https://scikit-image.org/docs/stable/auto_examples/segmentation/plot_rolling_ball.html
我为 运行 link 中提供的示例代码设置了一个快速环境,它引发了属性错误。我在我的工作计算机和个人电脑上都尝试了该脚本,但出现了相同的属性错误。我安装了 0.17.2 版本。 scikit-image 模块导入正常。
滚球是0.18版本才加入的,需要升级你安装的版本
我正在处理需要简单阴影校正的图像并找到 https://scikit-image.org/docs/stable/auto_examples/segmentation/plot_rolling_ball.html
我为 运行 link 中提供的示例代码设置了一个快速环境,它引发了属性错误。我在我的工作计算机和个人电脑上都尝试了该脚本,但出现了相同的属性错误。我安装了 0.17.2 版本。 scikit-image 模块导入正常。
滚球是0.18版本才加入的,需要升级你安装的版本