GaussSmoothKernel | R Documentation |
Calculates a simple, discrete Gaussian smoothing kernel of a specifice size given the covariance matrix of the Gaussian.
GaussSmoothKernel(voxdim=c(1,1,1), ksize=5, sigma=diag(3,3))
voxdim |
The dimensions of each voxel. |
ksize |
The size (in voxels) of the kernel with which to filter the independent field. |
sigma |
The covariance matrix of the Gaussian kernel. |
An array of dimension (ksize,ksize,ksize) containing the smoothing kernel.
J. L. Marchini
Sim.3D.GRF
a <- GaussSmoothKernel(voxdim=c(1,1,1), ksize=5, sigma=diag(1,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.