Hi,
I have a fresh pip install of 5.1.1 and get this error when creating an ImageRegistrationMethodv4
object:
registration = itk.ImageRegistrationMethodv4.REGv4F3F3.New(FixedImage=fixed,
MovingImage=moving,
Metric=metric,
Optimizer=optimizer,
InitialTransform=identityTransform)
My metric is using raycastinterpolater as interpolater I saw another post from last year with the same error message for the SiddonJacobRayCastInterpolateImageFunction filter but there were no replies to that post.
Any ideas appreciated!
Thanks!
Soren
Traceback (most recent call last):
File "/home/sorenc/CODE/reg/reg_sandbox.py", line 45, in <module>
register(itk_image,dsa_itk_img,beam_location.tolist())
File "/register.py", line 14, in register
optimizer = itk.RegularStepGradientDescentOptimizerv4.New(
File "/home/sorenc/.virtualenvs/sitk/lib/python3.6/site-packages/itkLazy.py", line 52, in __getattribute__
itkBase.LoadModule(module, namespace)
File "/home/sorenc/.virtualenvs/sitk/lib/python3.6/site-packages/itkBase.py", line 91, in LoadModule
LoadModule(dep, namespace)
File "/home/sorenc/.virtualenvs/sitk/lib/python3.6/site-packages/itkBase.py", line 91, in LoadModule
LoadModule(dep, namespace)
File "/home/sorenc/.virtualenvs/sitk/lib/python3.6/site-packages/itkBase.py", line 87, in LoadModule
data = module_data[name]
KeyError: 'ITKSmoothing'