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

ENH: Fix metric masks in registration #455

Closed cookpa closed 1 year ago

cookpa commented 1 year ago

Use all voxels > 0 in the mask. This is consistent with ANTs.

Fixes #452

cookpa commented 1 year ago

Actually this is not quite correct, should be image != 0 not image > 0. Will fix