path : str
Path of the directory containing the dataset files.
roi : str or int or tuple or None
Region Of Interest to be used for masking the dataset. If a string is
given a corresponding mask image from the demo dataset will be used
(mask_<str>.nii.gz). If an int value is given, the corresponding ROI
is determined from the atlas image (mask_hoc.nii.gz). If a tuple is
provided it may contain int values that a processed as explained
before, but the union of a ROIs is taken to produce the final mask.
If None, no masking is performed.
|