View source: R/smoothing_fwhm.R
Gauss.smooth | R Documentation |
Perform Gaussian smoothing in 2D and 3D array
Gauss.smooth(tstat, fwhm, scaled = TRUE)
tstat |
A 2D or 3D array of t-map or (z-map). |
fwhm |
Vector in terms of the Full-width Half-Maximum (FWHM). |
scaled |
If TRUE (default) scaled the smooth |
Return smoothed map using the provided FWHM.
Israel Almodovar-Rivera and Ranjan Maitra.
Almodovar-Rivera, I., & Maitra, R. (2019). FAST adaptive smoothing and thresholding for improved activation detection in low-signal fMRI. IEEE transactions on medical imaging, 38(12), 2821-2828.
## Not run: data(tmap) ##before smoothing t1 <- tmap[,,1] image(t1,main="Before smooting") sm <- Gauss.smooth(tstat = t1, fwhm=c(3,3)) image(sm,main="Smoothing with FWHM (3,3)") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.