spm_max: SPM: Sizes, maxima and locations of local excursion sets

Description Usage Arguments Value See Also

Description

spm_max characterizes a point list of voxel values (X) and their locations (L) in terms of edge, face and vertex connected subsets, returning a maxima- orientated list: The value of the ith maximum is Z(i) and its location is given by M(:,i). A(i) identifies the ith maximum with a region. Region A(i) contains N(i) voxels, whose coordinates are in a 3-by-N(i) array in XYZi.

Usage

1
spm_max(X, L = NULL)

Arguments

X

values of 3-D field

L

locations [x y z]' in voxels

Value

A list containing: N (size of region in voxels), Z (Z values of maxima), M (location of maxima in voxels) A (region number) and XYZ (cell array of voxel locations).

See Also

spm_bwlabel.c

spm_clusters


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