ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
629 stars 161 forks source link

BUG: apply_transforms output image inherited input type #576

Closed cookpa closed 6 months ago

cookpa commented 6 months ago

Caused problems if moving image was not float

cookpa commented 6 months ago

Not going to merge yet because I haven't proved it solves the issue in #574

cookpa commented 6 months ago

Actually, looking at the code again, this doesn't do anything because moving is already replaced with a float version of itself.