I am new to this forum, so please forgive me if my post is not consistent.
I’m using itk c++. My goal is to register two volumes with non rigid transformation (nifti volumes, from a medical dataset), I have two volumes and two sets of landmarks, one for each volumes.
Firstly I tried to use https://itk.org/Doxygen413/html/WikiExamples_2Registration_2LandmarkBasedTransformInitializer_8cxx-example.html#_a5 this example, but it give me nothing really good.
So i tried to use this example:
And here is the result, the moved image (called FixedImageReader in my code) and the fixed image.
Can you help me to understand where i made a mistake ?
Probably in the origin when i write the resampled image ?
Thank you for your help.