Return the white matter, gray matter and CSF composition of a volume.

get_voi_seg(voi, mri_seg)

Arguments

voi

volume data as a nifti object.

mri_seg

segmented brain volume as a nifti object.

Value

a vector of partial volumes expressed as percentages.