Find Center of Gravity of Each Area of Image, after thresholding

group_xyz(img, k = 1, ...)

Arguments

img

Object of class nifti

k

Minimum number of voxels for a cluster. See spm_bwlabel

...

Arguments passed to spm_bwlabel

Value

Matrix of 3 columns