DeepBrainSeg.brainmask.antsmask.
ANTS_skull_stripping
We make use of ants framework for generalized skull stripping
t1_path: t1 volume path (str) saves the mask in the same location as t1 data directory returns: maskvolume (numpy uint8 type)
get_ants_mask
DeepBrainSeg.brainmask.hdbetmask.
bet_skull_stripping
We make use of bet framework for generalized skull stripping
get_bet_mask
vol_path: t1 volume path (str) saves the mask in the same location as t1 data directory returns: maskvolume (numpy uint8 type)
DeepBrainSeg.brainmask.
get_brain_mask
extracts brain mask, uses ants if ants_path is not none
t1_path: path to t1 nifty image ants_path: build directory of ants
maybe_install_ants
maybe_install_bet