sepConvolve3d: Fast 3d Convolution

Description Usage Arguments Value Examples

Description

This function convolves data in three different directions with potentially different impulses.

Usage

1
sepConvolve3d(x,kernX, kernY, kernZ)

Arguments

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

Value

returns the convolved array

Examples

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)

FIACH documentation built on May 1, 2019, 8:02 p.m.

Related to sepConvolve3d in FIACH...