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 channels first for vector images #657

Closed ncullen93 closed 1 month ago

ncullen93 commented 1 month ago

We need a good way to specify whether to put the channels first or last when converting a vector image to numpy. This is a basic step in that direction by adding the channels_first property to ants images. It defaults to False, which is the current behavior of putting the channels last.

coveralls commented 1 month ago

Coverage Status

coverage: 81.352% (+0.01%) from 81.338% when pulling c743f9cdb03bdb3a3ce00fe6d80678b5919b0dd9 on support-channels-first-numpy into de706a8c9653fdd1757bcb59bba1c25113c34a3a on master.