Taking the indices from white stripe to normalize the intensity values of the brain

whitestripe_norm(img, indices, ...)

Arguments

img

Array or object of class nifti

indices

Indices of white stripe from whitestripe. Can also be a mask (indices where mask > 0 are used.)

...

arguments to be passed to mean and sd

Value

Object of same class as img, but normalized