As I started to discuss in a different thread (Can I use conjugate gradient optimizer for registration in python?How can I do ?), I wanted to try out performing image registration in python with itk. While the initial example (https://itk.org/ITKExamples/src/Registration/Common/Perform2DTranslationRegistrationWithMeanSquares/Documentation.html) works, it is not trivial to find documentation on how to modify it.
For example, I would like to add a command observer. There is an example here but it is only in c++ and it uses the
itkImageRegistrationMethod rather than
python in google or discourse did not (at least easily) lead to any example.
Should simpleitk be prefered for these sort of tasks? The examples look more developed in python and there doesn’t seem to be a confusing choice of ImageRegistrationMethod or ImageRegistrationMethodv4 in simpleitk.