erode: Separable Flat Erosion

Description Usage Arguments Value Examples

Description

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

Usage

1
erode(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 eroded array

Examples

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

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

Related to erode in FIACH...