-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactoring to get the erosion script working #3
base: master
Are you sure you want to change the base?
Conversation
We can use the lesion_merged.nii.gz that has already put the corresponding (sup/mid/inf) lesion masks in the PAM50 space, instead of the corresponding individual t2s_lesion.nii.gz files. |
thanks for the quick feedback @RAOuelletteIV! i will continue in this direction |
Done. Results with 399899d:
|
@RAOuelletteIV I've finished the script. Can you test it and let me know if that works for you?
IMPORTANT: Please make sure to install the latest SCT version before running this code. Installation instructions here: https://github.com/sct-pipeline/cord-erosion/tree/jca/2-erosion#sct-dependencies P.S. I've also edited the README with an intuitive anim: |
cd ../.. | ||
|
||
# Iterate across subjects and quantify in rings, WM and GM | ||
subjects=(MS088_R01_20) |
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.
@RAOuelletteIV you'll obviously need to update this variable to add all the subjects in your analysis
The current script
Outside.in_Erosion.Script.sh
is performing a 3D kernel operation, which produces partial volume. Moreover, the code can be greatly clarified/improved. The following changes are listed afterwards:DONE:
lesion_merged.nii.gz
(corresponds to the merging of sub/mid/inf in the PAM50 space) instead of the individual filest2s_lesion.nii.gz
.