nipreps / mriqc

Automated Quality Control and visual reports for Quality Assessment of structural (T1w, T2w) and functional MRI of the brain
http://mriqc.readthedocs.io
Apache License 2.0
299 stars 132 forks source link

ENH: Drop utilization of "head" mask from template #1104

Closed oesteban closed 1 year ago

oesteban commented 1 year ago

This PR modifies the code to follow more closely (Mortamet et al., 2009). Now, the "hat" mask cuts through the through-plane axis (Z), which is more theoretically sound than the previous solution.

cc/ @eilidhmacnicol because this will need some translation to rodents

oesteban commented 1 year ago

@effigies - this requires nitransforms to open ITK's h5 files with only affines (it did before with nonlinear, not with just affines). So, if time permits, it would be nice to make sure nipy/nitransforms#174 gets through with a sound implementation. After so much time without working on nitransforms, your feedback will definitely be critical to ensure I don't merge a half-baked thing.