A filter is applied to a 3D array representing an image. So far only variance filters are supported.

filterImage3d(img, filter = "var", window, z.scale = 1, silent = FALSE)

Arguments

img

is a 3d array representing an image.

filter

is the filter to be applied. Options: var: Variance filter.

window

half size of window; i.e. window=1 uses a window of 3 voxels in each direction.

z.scale

ratio of voxel dimension in x/y direction and z direction.

silent

Logical. If FALSE, information on progress will be printed.

Value

Multi-dimensional array of filtered image data.