mirrorImg | R Documentation |
Flip images along the middle horizontal or vertical axis.
## S4 method for signature 'SpatRasterImage'
mirrorImg(
x,
direction = c("vertical", "horizontal"),
filename = "",
maxcell = NULL,
...
)
## S4 method for signature 'BioFormatsImage'
mirrorImg(x, direction = c("vertical", "horizontal"), ...)
## S4 method for signature 'ExtImage'
mirrorImg(x, direction = c("vertical", "horizontal"), ...)
x |
SpatRaster or SpatVector |
direction |
character. Should (partially) match "vertical" to flip by rows, or "horizontal" to flip by columns |
filename |
character. Output filename |
maxcell |
Max number of pixels to load |
... |
additional arguments for writing files as in |
*Image
object of the same class.
Other image methods:
SFE-image
,
affineImg()
,
cropImg()
,
dim,BioFormatsImage-method
,
ext()
,
imgRaster()
,
imgSource()
,
rotateImg()
,
scaleImg()
,
translateImg()
,
transposeImg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.