Utilize the estimated FWHM to find the resels per voxel

resels(mask, fwhm)

Arguments

mask

statistical value (typically the maxima of a cluster or statistical field)

fwhm

the full width at half maxima measurement

Value

A vector of resels for dimensions 0:D

Details

Interprets a given antsImage mask (binarized so as to only contain 0s and 1s) into resolutions elements (as opposed to voxels). Doing so emphasizes the interdependent nature of voxels when undergoing RFT based statistical analyses. Optimized for three dimensions (2D has not yet been tested yet).

References

Worlsey K.J., (1996) A Unified Statistical Approach for Determining Significant Signals in Images of Cerebral Activation.

See also

rftPval, euler, rftResults

Author

Zachary P. Christensen

Examples

mask <- getMask(antsImageRead(getANTsRData("r16")))
myresels <- resels(mask, c(1, 1))