Add Norm and Mode of Anisotropy (NA and MO)#3269
Add Norm and Mode of Anisotropy (NA and MO)#3269kikiluvbrains wants to merge 10 commits intoMRtrix3:devfrom
Conversation
Erroneously added as part of 0547969 / MRtrix3#3252.
shconv: Fix duplicate DESCRIPTION
…_size Remove erroneous testing cmd
…tection_fix Fix bug in detection of duplicates in user-specified strides
…itisers Update CMake version for sanitizers workflow
cmd/tensor2metric.cpp
Outdated
| const double l3 = eigval(2); | ||
|
|
||
|
|
||
| mo = DWI::tensor2MO(l1,l2,l3); |
There was a problem hiding this comment.
If this computation (as well as tensor2NA()) is being done based on the eigenvalues rather than the tensor, then "tensor2MO()" isn't a suitable name for the function.
There was a problem hiding this comment.
changed name to eigen2MO() and eigen2NA()
|
Thanks for the contribution @kikiluvbrains! Unless there's contention about the metrics themselves this should hopefully not be too difficult to accept.
|
|
Hey, merge conflicts should be resolved by now. And I went through and added in all fixes from the comments. Now, I think we need to add the new contrasts for the test DWI data. And by test data do you mean this I have the output on NA and MO from the test dt.mif file, I can upload those in if that would help |
Adds NA and MO as an output option in tensor2metric. Verified using the provided test data and an external DTI dataset.
paper link: Ennis, D. B., & Kindlmann, G. (2006). Orthogonal tensor invariants and the analysis of diffusion tensor magnetic resonance images. Magnetic resonance in medicine, 55(1), 136–146. https://doi.org/10.1002/mrm.20741
other supporting literature:
Chad, J. A., Pasternak, O., & Chen, J. J. (2021). Orthogonal moment diffusion tensor decomposition reveals age-related degeneration patterns in complex fiber architecture. Neurobiology of aging, 101, 150–159. https://doi.org/10.1016/j.neurobiolaging.2020.12.020
example of mo on example dti data:
