Create image from region signals defined as labels.
The same region signal is used for each voxel of the corresponding 3D volume.
labels_img, mask_img must have the same shapes and affines.
Parameters : | signals: numpy.ndarray :
labels_img: niimg :
mask_img: niimg, optional :
background_label: number :
order: str :
|
---|---|
Returns : | img: nibabel.Nifti1Image :
|