Skip to content

New CustomMask options? #6

@takuya-hayashi

Description

@takuya-hayashi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions