Add Norm and Mode of Anisotropy (NA and MO)#3269
Conversation
|
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 |
|
Ah, there's a bigger discrepancy here that I didn't realise in my first look. While the PR is currently targeting the Given the disproportionate nature of the consequences due to that discrepancy, I think the best course is if I deal with the conflicts myself on this one. While it's useful to learn about resolution of merge conflicts in git, this is perhaps not the right use case to be learning from. There's probably also commits on |
Conflicts: cmd/shconv.cpp cmd/tensor2metric.cpp core/stride.cpp cpp/core/dwi/tractography/editing/loader.h docs/reference/commands/shconv.rst src/dwi/tensor.h
|
OK, I've done a bit of work here:
|
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:
