normalize: Intensity-normalization by a image mask

Description Usage Arguments Value Examples

View source: R/normalize.R

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

1
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

1
2
3
4
## Not run: 
## put in ex here

## End(Not run)

emsweene/SuBLIME_package documentation built on May 13, 2017, 6:05 p.m.