Learn R Programming

imager (version 0.42.19)

stencil.cross: A cross-shaped stencil

Description

Returns a stencil corresponding to all nearest-neighbours of a pixel

Usage

stencil.cross(z = FALSE, cc = FALSE, origin = FALSE)

Value

a data.frame defining a stencil

Arguments

z

include neighbours along the z axis

cc

include neighbours along the cc axis

origin

include center pixel (default false)

Author

Simon Barthelme

See Also

get.stencil