Compute a common mask for several sessions of fMRI data.
Uses the mask-finding algorithmes to extract masks for each session, and then keep only the main connected component of the a given fraction of the intersection of all the masks.
Parameters: | session_images : list of (list of strings) or nipy image objects
m : float, optional
M: float, optional :
cc: boolean, optional :
threshold : float, optional
exclude_zeros: boolean, optional :
return_mean: boolean, optional :
opening: int, optional, :
|
---|---|
Returns: | mask : 3D boolean ndarray
mean : 3D float array
|