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

ENH: support 2d images on slice_image function #649

Closed ncullen93 closed 1 month ago

ncullen93 commented 1 month ago

The slice_image function currently does not support 2D images but it should. This PR changes that.

coveralls commented 1 month ago

Coverage Status

coverage: 81.308% (+0.07%) from 81.237% when pulling 8e0d9811643d28f4530a2b374bd72f073efc4f13 on slice-2d into c188bcc1f0c0663c438e5ed59eb3940210293b0c on master.