DTI uncertainty visualization#810
Conversation
|
That is an exciting feature !!! Please, let us know when it is ready for reviews/questions |
JoaoDell
left a comment
There was a problem hiding this comment.
Hey @tvcastillod, just finished my first review on your PR. I have ran the tests and everything seems fine, test_uncertainty.py outputted the results you have already showed so it is working. I noticed some issues and have some questions so I will wait for you to comment on that further.
f19ec65 to
9f04e7e
Compare
f469413 to
91b62cc
Compare
docs/examples/viz_uncertainty.py
Outdated
ganimtron-10
left a comment
There was a problem hiding this comment.
Hey @tvcastillod ,
Giving a first look everything looks good.
Will tryout and give some feedback.
skoudoro
left a comment
There was a problem hiding this comment.
Overall, it looks good,
I still need to test it locally a bit deeper. See below my first comment.
thnks @tvcastillod
|
Also, tests are failing with this new function, Please, Can you look deeper what is going on ? we have a segfault in one of your shader |
Codecov Report
@@ Coverage Diff @@
## master #810 +/- ##
==========================================
+ Coverage 84.33% 84.54% +0.20%
==========================================
Files 44 44
Lines 10356 10529 +173
Branches 1410 1418 +8
==========================================
+ Hits 8734 8902 +168
- Misses 1252 1255 +3
- Partials 370 372 +2
|
|
Hi @tvcastillod, |
guaje
left a comment
There was a problem hiding this comment.
Other than these small comments, this PR looks good to me.
|
Hello @tvcastillod, Thank you for updating!
To test for issues locally, |
skoudoro
left a comment
There was a problem hiding this comment.
Thank you for this @tvcastillod,
I am going ahead and merge this PR.

Hi, this PR aims to give the possibility to visualize the uncertainty in the DTI model.
Because the DTI visualization pipeline is quite complex, a level of uncertainty arises, which if visualized, could help to assess the accuracy of the model. The selected method is based on first-order matrix perturbation analysis and is described here. The idea is to examine the uncertainty in the eigenvalues and eigenvectors, to estimate and visualize the variance of the main direction of diffusion, which is represented with symmetrical cones, allowing for the visualization of the diffusion direction and confidence interval simultaneously.
Other sources include 1 and 2, which give a slightly more detailed description of the uncertainty calculation.