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

Ants read warp transform #638

Closed cookpa closed 1 month ago

cookpa commented 1 month ago

Related to #636, allow the read_transform function to read displacement fields.

Also added checking for the transform_from_displacement_field function, so that a meaningful error is raised if the image does not have the correct number of components.

coveralls commented 1 month ago

Coverage Status

coverage: 80.917% (+0.003%) from 80.914% when pulling dab3df03029b7977840b77b1692b15903009fcc5 on ants_read_warp_transform into 1c812984096bfebd8d55241735f750085c340d7f on master.