normalize: Intensity-normalization by a image mask
Description
This function normalized the image by the mean and
standard deviation by intensities of voxels in the mask. In SuBLIME
the mask is normal appearing white matter
Usage
normalize(image, mask = NULL)
Arguments
image
3D Array or object of class nifti
mask
Mask with same dimensions. If NULL, then original image is returned
Value
Object of class nifti or array, depending on image input