Skip to contents

This function shifts the spatial extent of the image in the x-y plane.

Usage

# S4 method for SpatRasterImage
translateImg(x, v, ...)

# S4 method for BioFormatsImage
translateImg(x, v, ...)

# S4 method for 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.