代码之家  ›  专栏  ›  技术社区  ›  S.EB

ants工具中的去噪图像,引发与itkv5相关的错误

  •  0
  • S.EB  · 技术社区  · 6 年前

    一旦我想逃跑 DenoiseImage 在里面 ANTS tool ,

    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 回复  |  直到 6 年前
        1
  •  2
  •   blowekamp    6 年前

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

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

    推荐文章