首页 > 解决方案 > ANTS 工具中的 DenoiseImage,引发与 ITKv5 相关的错误

问题描述

一旦我尝试DenoiseImageANTS 工具中运行,

DenoiseImage -d 3 -i image-001.nii -o noise-image-001.nii --verbose 1

我收到以下错误:

Running for 3-dimensional images.

Exception caught: 
itk::ExceptionObject (0x192cd00)
Location: "unknown" 
File: /home/es/softwares/code/antsbin/ITKv5/Modules/Core/Common/src/itkPoolMultiThreader.cxx
Line: 202
Description: itk::ERROR: PoolMultiThreader(0x5f85040): Exception occurred during SingleMethodExecute
/home/es/softwares/code/antsbin/ITKv5-install/include/ITK-5.0/itkImageSource.hxx:280:
itk::ERROR: VarianceImageFilter(0x4811510): Subclass should override this method!!! If old behavior is desired invoke this->DynamicMultiThreadingOff(); before Update() is called. The best place is in class constructor.

如果您知道任何解决方案,您能帮忙吗?

谢谢

标签: itksimpleitk

解决方案


ITKv5 尚未正式发布,从 v4 迁移到 v5 涉及一些代码更改或需要设置额外的兼容性标志。ANTS 似乎还不支持 ITKV5。

有关更改的一些信息可以在 ITKv5 alpha 2 发行说明中找到: https ://discourse.itk.org/t/itk-5-0-alpha-2-performance/959


推荐阅读