Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
However, when I want to import the GPU module, bug is reported:
itk.GPUImage[itk.F, 3]
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\ITK_gpu\lib\site-packages\itkLazy.py", line 48, in getattribute
value = types.ModuleType.getattribute(self, attr)
AttributeError: module 'itk' has no attribute 'GPUImage'
Also, module 'itk' has no attribute 'GPUDemonsRegistrationFilter'.
How can I use GPU based itk for registration in python? Could somebody provide a demo?
I want to use the GPU based itk for registrdation. Thus, I compile the itk from the source code, and set the ITK_USE_GPU to ON. The compiling is OK.
The itk can be imported in python:
However, when I want to import the GPU module, bug is reported:
Also, module 'itk' has no attribute 'GPUDemonsRegistrationFilter'. How can I use GPU based itk for registration in python? Could somebody provide a demo?