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
586 stars 161 forks source link

apply_transforms with identity #601

Closed cookpa closed 1 month ago

cookpa commented 3 months ago

In the CLI I can use -t Identity, but can't figure out a good way to do this for antspy.

Maybe add this as an option or have something like SimpleITK's sitk.Transform(dim, sitk.sitkIdentity)?

cookpa commented 1 month ago

This is probably not needed because one can use ants.resample_image_to_target