stencil.cross {imager} | R Documentation |
Returns a stencil corresponding to all nearest-neighbours of a pixel
stencil.cross(z = FALSE, cc = FALSE, origin = FALSE)
z |
include neighbours along the z axis |
cc |
include neighbours along the cc axis |
origin |
include center pixel (default false) |
a data.frame defining a stencil
Simon Barthelme
get.stencil