ThinPlateSplineWarp using landmarks

Hello everything,
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:
https://itk.org/Doxygen/html/Examples_2RegistrationITKv4_2ThinPlateSplineWarp_8cxx-example.html#_a4
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.

Code.cxx (10.5 KB)
pts.txt (1.6 KB)
I put my code and my landmarks file.