-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTI uncertainty visualization #810
Conversation
That is an exciting feature !!! Please, let us know when it is ready for reviews/questions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @tvcastillod ,
Giving a first look everything looks good.
Will tryout and give some feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than these small comments, this PR looks good to me.
Hello @tvcastillod, Thank you for updating!
To test for issues locally, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.