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

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

Examples

if (FALSE) {
## put in ex here
}