Implementing the Demons Algorithm Registration

I would like to implement DIR using the demon algorithm.
I am including SlicerRT and Elastix to do the DIR.
Is it possible to do DIR using demon algorithm with these two?

@toyama

If you are trying to implement this in python, you can look into using SimpleITK which is available via SimpleElastix or independently in as part of Slicer dependencies. Here is a notebook that shows how you can executed demons based non-rigid registration.

http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/Python_html/66_Registration_Demons.html

Or use ITK C++ API directly

https://itk.org/Doxygen/html/Examples_2RegistrationITKv4_2DeformableRegistration2_8cxx-example.html

https://itk.org/Doxygen/html/Examples_2RegistrationITKv4_2DeformableRegistration16_8cxx-example.html

-Andinet

1 Like

Thank you for your answer.
I will try it as soon as possible.