| transposeImg | R Documentation |
Swap rows and columns of images. In effect, this will flip the image around the diagonal running from top left to bottom right.
## S4 method for signature 'SpatRasterImage'
transposeImg(x, filename = "", maxcell = NULL, ...)
## S4 method for signature 'BioFormatsImage'
transposeImg(x, ...)
## S4 method for signature 'ExtImage'
transposeImg(x, ...)
x |
An object of class |
filename |
Output file name for transformed SpatRaster. |
maxcell |
Max number of pixels to load |
... |
Ignored. It's there so different methods can all be passed to the
same |
For SpatRasterImage and ExtImage, object of the same
class. For BioFormatsImage, the image of the specified resolution is
read into memory and then the ExtImage method is called, returning
ExtImage. For the extent: xmin and xmax are switched with ymin and
ymax.
Other image methods:
SFE-image,
affineImg(),
cropImg(),
dim,BioFormatsImage-method,
ext(),
imgRaster(),
imgSource(),
mirrorImg(),
rotateImg(),
scaleImg(),
translateImg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.