imager (version 0.42.7)

center.stencil: Center stencil at a location

Description

Center stencil at a location

Usage

center.stencil(stencil, ...)

Arguments

stencil

a stencil (data.frame with coordinates dx,dy,dz,dc)

...

centering locations (e.g. x=4,y=2)

Examples

Run this code
# NOT RUN {
stencil <- data.frame(dx=seq(-2,2,1),dy=seq(-2,2,1))
center.stencil(stencil,x=10,y=20)
# }

Run the code above in your browser using DataLab