-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
ENH: Added bash script for ANTs tissue segmentation #1145
base: master
Are you sure you want to change the base?
Conversation
ANTs Atropos and antsAtroposN4.sh need all the priors already warped to the subject space before the segmentation is run. This developed script combines the registration step with antsAtroposN4 run. This script runs: - brain extraction - template registration - atropos segmentation - (optional) register to template space - QC (mosaic QC image) This script was adopted and modified from antsCorticalThickness.sh, so it follows similar command line convention. This script was tested on several arbitrarily selected subject/templates, and it ran successfully and generated the requested outputs.
@ntustison : Hi Nick, please review this PR. Hope it helps the ants community. |
Hi, Does this differ from running individual stages of antsCorticalThickness.sh? |
@cookpa : However, this script is dedicated to tissue segmentation and can reliably be used in segmentation workflows. |
Thanks @aghayoor . I'll try to take a look tomorrow and follow up with any questions. |
Is this only applicable to the scenario mentioned above where you want to perform up to the segmentation stage and then skip to quality control? If so, this would seem to have significant redundancy where we could just edit |
Yes, it basically removes the step "5: DiReCT cortical thickness" and trims the code and the command line so it is only dedicated to segmentation. |
Thanks @aghayoor . Is there a reason why we can't just incorporate the improvements proposed by this script into the antsCorticalThickness.sh script? |
Hi @ntustison , |
I can appreciate needing each part of the segmentation pipeline to be validated but, correct me if I'm wrong, isn't the segmentation pipeline simply a subset of the cortical thickness pipeline? |
ANTs Atropos and antsAtroposN4.sh need all the priors already warped to the subject space before the segmentation is run. This developed script combines the registration step with antsAtroposN4 run.
This script runs:
This script was adopted and modified from antsCorticalThickness.sh,
so it follows similar command line convention.
This script was tested on several arbitrarily selected
subject/templates, and it ran successfully and generated the requested outputs.