getROIValues: Compute mean value in each ROI label.

Description Usage Arguments Value Author(s) Examples

Description

Computes the mean value in each label of an ROI after masking with MaskImage

Usage

1
wmat<-getROIValue( valueImage, ROIImage, maskImage  )

Arguments

valueImage

input image with values to average

roiImage

ROI lable image

valueImage

overall maskImage

Value

A list with components: roiValues, the (number) labels of each ROI; roiMeans, the mean value of each ROI; roiVolumes, the volume (in voxels) of each ROI; and roiSDs, the standard deviation of each ROI.

Author(s)

Avants BB

Examples

1
vals<-getROIValue( image, aal, mask  ) 

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.