Computes the mean, mean squared and variance of the signal in
each component of a diffusion-weighted MRI data set within the
foreground region specified by a mask or background threshold.
Useful for estimating the noise level from background regions.