ANTS工具中的DenoiseImage,引发与ITKv5相关的错误

时间:2018-06-20 10:37:11

标签: itk simpleitk

一旦我尝试在ANTS tool中运行DenoiseImage

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.

如果您对此有任何解决方案,可以请您帮忙吗?

谢谢

1 个答案:

答案 0 :(得分:2)

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

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