Closed Sam291998 closed 1 year ago
resample_image_to_target
does not do registration - it just does resampling based on physical space. so if images dont overlap - then you will get a blank image out.
just run the registration without doing resample_image_to_target
first ... also - start with a translation registration just to make sure you dont have any other issues.
Okay understood. I thought it was necessary to resample the moving image first and then apply registration . Thanks for clarifying!
Problem I tried to resample 3D ct moving image to 3D ct target image but got empty/blank 3d image as output.
Code
Output explanation The output image had same dimension,direction and spacing of the target image but image was empty which in turn let to another error which is as follows:-
Screenshots![image](https://github.com/ANTsX/ANTsPy/assets/92868130/c567c0da-f4e6-4ef1-adfb-15e9dc08abf4)
Desktop :