Hi! I’m back .
I’ve got a little step forward:
displ_filt = itk.TransformToDisplacementFieldFilter[itk.Image[itk.Vector[itk.F,3],3], itk.D].New()
In the example which is linked above, the deformation field is provided as an input (deformationField = fieldReader.GetOutput()
). I already tried to look into the documentation mentioned by @matt.mccormick over here, and with help(displ_filt)
. Right now, I am unsure of how to get the deformation field from the registration or movingInitialTransform
. Any tips? Thank you in advance.
It’s nice to be back.