| toExtImage | R Documentation |
The ExtImage class is a thin wrapper around the Image class in
ExtImage so it inherits from VirtualSpatialImage as required by
SpatialExperiment and has extent as used in Voyager's plotting
functions. This function converts SpatRasterImage (thin wrapper around
the class in terra) and BioFormatsImage into ExtImage for
image operations as implemented in the ExtImage package.
## S4 method for signature 'BioFormatsImage'
toExtImage(x, resolution = 4L, channel = NULL)
## S4 method for signature 'SpatRasterImage'
toExtImage(x, maxcell = 1e+07, channel = NULL)
x |
Either a |
resolution |
Integer, which resolution in the |
channel |
Integer vector to indicate channel(s) to read. If |
maxcell |
Maximum number of pixels when |
A ExtImage object. The image is loaded into memory.
toSpatRasterImage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.