This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.
Downloads ICBM152 template first, then loads ‘gm’ mask image.
New in version 0.2.5.
data_dir: str, optional
threshold: float, optional
resume: bool, optional
verbose: int, optional
gm_mask_img: Nifti image
This function relies on ICBM152 templates where we particularly pick grey matter template and threshold the template at .2 to take one fifth of the values. Then, do a bit post processing such as binary closing operation to more compact mask image.
Note: It is advised to check the mask image with your own data processing.