dilate: Separable Flat dilation

Description Usage Arguments Value Examples

Description

This function dilates data with a flat kernel in up to three dimensions.

Usage

1
dilate(input,k)

Arguments

input

A vector/matrix or 3D array.

k

Window width. Note that the window is symmetric around the i^th element with a total of 2*k+1 elements.

Value

returns the dilated array

Examples

1
2
arr<-array(rnorm(30*30*30), dim=c(30,30,30))
d<-dilate(arr, k=1)

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

Related to dilate in FIACH...