itk - ANTS 工具中的 DenoiseImage,引发与 ITKv5 相关的错误
问题描述
一旦我尝试DenoiseImage
在ANTS 工具中运行,
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.
如果您知道任何解决方案,您能帮忙吗?
谢谢
解决方案
ITKv5 尚未正式发布,从 v4 迁移到 v5 涉及一些代码更改或需要设置额外的兼容性标志。ANTS 似乎还不支持 ITKV5。
有关更改的一些信息可以在 ITKv5 alpha 2 发行说明中找到: https ://discourse.itk.org/t/itk-5-0-alpha-2-performance/959
推荐阅读
- javascript - 如何选择元素的第 n 个子元素并分配 click() 函数?
- python - Python ctypes:_ctypes.py 文件应该在哪里?
- docker - 在 Docker 容器中将 Spyder 连接到远程 Jupyter Notebook
- spring - 有没有办法在没有 Stompendpoints 的情况下使用 spring 消息代理?
- java - 在硒脚本中从excel中获取数据时收到警告
- php - Codeigniter/CSS PDF 打印输出对齐 PDF 位置
- java - 通过 Neo4j 程序实现只读算法的多线程
- codeigniter-3 - 选项类型编号中的 jQuery 数据输入验证最小值和最大值
- latex - gnuplot epslatex 无法重新绘制
- matlab - 如何绘制不等式方程