This function shifts the spatial extent of the image in the x-y plane.
Usage
# S4 method for class 'SpatRasterImage'
translateImg(x, v, ...)
# S4 method for class 'BioFormatsImage'
translateImg(x, v, ...)
# S4 method for class 'ExtImage'
translateImg(x, v, ...)
Arguments
- x
An object of class *Image as implemented in this package.
- v
Numeric vector of length 2 to shift the image in the x-y plane.
- ...
Ignored. It's there so different methods can all be passed to the
same lapply in the method for SFE objects. Some methods have extra
arguments.
Value
A *Image object of the same class that has been shifted in
space.
See also
Other image methods:
SFE-image,
affineImg(),
cropImg(),
dim,BioFormatsImage-method,
ext(),
imgRaster(),
imgSource(),
mirrorImg(),
rotateImg(),
scaleImg(),
transposeImg()