getROIValues¶
purpose:
Compute mean value in each ROI label.
description:
Computes the mean value in each label of an ROI after masking with MaskImage
usage:
wmat<-getROIValues( valueImage, ROIImage, maskImage )
examples:
data("aal", package = "ANTsR")
vals <- getROIValues(image, aal, mask)