SimpleITK provides easy to use Python interface. Can I extend the class from there?
I need to solve a registration problem, which requires me to write my customized registration class, especially the similarity metric. How can I extend SimpleITK in Python for my use?
The wrapped SimpleITK interface for Python does not provide an interface to extend from or derive from. The options for the SimpleITK ImageRegistrationMethods are the options available.
Deriving classes and tweaking algorithms is best done with ITK at the C++ level.
You may be able to put together a little registration framework with components of SimpleITK and Python. For example you could use the ResampleImageFilter and the Transform classes from SimpleITK along with a scipy optimizer and a custom metric.
How to extend an ITK class in Python?