Learn R Programming

imager (version 0.14)

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)

Arguments

z
include neighbours along the z axis
cc
include neighbours along the cc axis
origin
include center pixel (default false)

Value

  • a data.frame defining a stencil

See Also

get.stencil