-
Notifications
You must be signed in to change notification settings - Fork 34
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
Generating a wm mask out of multiple scalars #330
Conversation
I think the documentation error here was just a connection problem. |
I have a button that allows me to rerun builds. Maybe you see that one too? |
Is this ready? The PR still says "WIP", so I figured I'd ask before merging. |
Nope! Right now I am using it on the prek data and I am finding that there is still overlap between the resulting wm mask and high values in MD. I marked this as WIP when I realized this was happening! I am investigating this bug and I will let you know when I think this works as intended. |
I think I have located the problem but I would like it if @arokem could make sure my understanding of this is correct. Line 865 in 390ade6
When we were getting wm masks from segmentation files / an arbitrary FA cutoff this made sure we were not being too strict. But now that we are trying to make specific masks we should not be doing this. Should we do this for seg files but not wm masks based off of scalars? Or should it be based on user input? P.S. Some extreme tunnel vision that I did not find this earlier... |
Oh - good spot! I think that this was a precaution against overly conservative masks, but I think that's really not an issue anymore. Given everything we've seen in the last couple of weeks, I am starting to think that maybe there is never a reason to use binary dilation here. And as you've demonstrated, it can lead to some puzzling outcomes. Maybe we should remove it altogether? |
c5435fa
to
93e8380
Compare
Because of this interpolation trickiness, I may just revert to using an FA mask for tracking to replicate mAFQ, but then mask out any nodes with high MD after profiling. |
… be handled on the other side
No description provided.