maxima.RdComputes local maxima from an nifti image
maxima(stat, kernel = "box", width = 0, rois = FALSE, roisWidth = 15)A statistical Nifti image as an RNifti image object.
Type of kernel to use for max/dilation filter
Width of kernel (assumes isotropic). If zero, then returns global maximum.
If TRUE, return image with voxel values having the indices of the local maxima.
Width of kernel for computing local maxima used for table output later. Only used if width is zero
Default returns vector of local maxima in the image.