I have successfully installed the ITKTwoProjectionRegistration package and now I want to use SiddonJacobsRayCastInterpolateImageFunction function there.
I attempted to use this functionality, but unfortunately it is not working and got an error as below.
How can I import this package so that I can use the aforementioned functionality ?
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-26-81dbd415b46f> in <module>()
----> 1 InterpolatorType = itk.SiddonJacobsRayCastInterpolateImageFunction[InputImageType, itk.D]
2 interpolator = InterpolatorType.New()
c:\users\hp\appdata\local\programs\python\python36\lib\site-packages\itkLazy.py in __getattribute__(self, attr)
50 module = self.__belong_lazy_attributes[attr]
51 namespace = {}
---> 52 itkBase.LoadModule(module, namespace)
53 self.loaded_lazy_modules.add(module)
54 for k, v in namespace.items():
c:\users\hp\appdata\local\programs\python\python36\lib\site-packages\itkBase.py in LoadModule(name, namespace)
89 deps = sorted(data['depends'])
90 for dep in deps:
---> 91 LoadModule(dep, namespace)
92
93 if itkConfig.ImportCallback:
c:\users\hp\appdata\local\programs\python\python36\lib\site-packages\itkBase.py in LoadModule(name, namespace)
89 deps = sorted(data['depends'])
90 for dep in deps:
---> 91 LoadModule(dep, namespace)
92
93 if itkConfig.ImportCallback:
c:\users\hp\appdata\local\programs\python\python36\lib\site-packages\itkBase.py in LoadModule(name, namespace)
85 # via the module_data instance defined at the bottom of this file, which
86 # knows how to find those configuration files.
---> 87 data = module_data[name]
88 if data:
89 deps = sorted(data['depends'])
KeyError: 'ITKSmoothing'