spm_clusters: SPM: Return the cluster index for a point list

Description Usage Arguments Value

Description

spm_clusters characterizes a point list of voxel values defined with their locations (L) in terms of edge, face and vertex connected subsets, returning a list of indices in A, such that the ith location belongs to cluster A(i) (using an 18 connectivity scheme).

Usage

1
[A] = spm_clusters(L)

Arguments

L

locations [x y x]' in voxels ([3 x m] matrix)

Value

cluster index or region number ([1 x m] vector)


jpellman/spmR documentation built on May 19, 2019, 10:44 p.m.