|
elif [ "$CustomBrain" = "MASK_acpc" ] ; then |
|
|
|
log_Msg "Skipping all the steps to Atlas registration, applying custom mask." |
|
verbose_red_echo "---> Applying custom mask in acpc space" |
|
|
|
OutputT1wImage=${T1wFolder}/${T1wImage}_acpc_dc |
|
fslmaths ${OutputT1wImage}_restore -mas ${T1wFolder}/custom_acpc_dc_restore_mask ${OutputT1wImage}_restore_brain |
|
|
|
if [ ! "${T2wInputImages}" = "NONE" ] ; then |
|
OutputT2wImage=${T1wFolder}/${T2wImage}_acpc_dc |
|
fslmaths ${OutputT2wImage}_restore -mas ${T1wFolder}/custom_acpc_dc_restore_mask ${OutputT2wImage}_restore_brain |
|
fi |
|
# -- Are we using a custom mask in orig space? |
|
|
|
elif [ "$CustomBrain" = "MASK_orig" ] ; then |
@coalsont @glasserm
Since I use the NHP brain mask in the original space by default, I would modify the pipeline to add an option to use the mask in the original space in addition to the current CustomMask option to use the mask in the ACPC space. So I would like to propose creating a new option of 'Mask_orig' for our purpose and using 'Mask_acpc' instead of 'Mask' in previous version of option. What do you think?
NHPPipelines/PreFreeSurfer/PreFreeSurferPipeline.sh
Lines 773 to 787 in 29f75cd
@coalsont @glasserm
Since I use the NHP brain mask in the original space by default, I would modify the pipeline to add an option to use the mask in the original space in addition to the current CustomMask option to use the mask in the ACPC space. So I would like to propose creating a new option of 'Mask_orig' for our purpose and using 'Mask_acpc' instead of 'Mask' in previous version of option. What do you think?