Description Usage Arguments Value Examples
This function convolves data in three different directions with potentially different impulses.
1 | sepConvolve3d(x,kernX, kernY, kernZ)
|
x |
A 3D/4D array. If a 4D array then each 3d array along the fourth dimension is convolved. |
kernX |
filter kernel to be used in the x direction |
kernY |
filter kernel to be used in the y direction |
kernZ |
filter kernel to be used in the z direction |
returns the convolved array
1 2 3 4 5 6 7 | func<-readNii(system.file("extdata","motion_ex.nii.gz",package="FIACH"))
kernx<-gaussKernel(8,21,3.33)
kerny<-gaussKernel(8,21,3.33)
kernz<-gaussKernel(8,21,4)
smooth<-sepConvolve3d(func,kernx,kerny,kernz)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.