Get image data
An object
How to return the image; should accept one of “grob”, “raster”, “plotly”, or “raw”
Arguments passed to other methods
Name of SpatialImage
object to pull image data for; if
NULL
, will attempt to select an image automatically
Image data, varying depending on the value of mode
:
An object representing image data inheriting from grob
objects
(eg. rastergrob
)
An object of class raster
A list with image data suitable for Plotly rendering, see
plotly::layout
for more details
The raw image data as stored in the object
layout