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.
Take masked data and bring them back into 3D/4D
This function can be applied to a list of masked data.
X: numpy.ndarray (or list of)
mask_img: niimg: Niimg-like object
data: nibabel.Nift1Image object