This is a thin wrapper around the Image class in the
EBImage package so it inherits from VirtualSpatialImage to be
compatible with SpatialExperiment from which SFE inherits. An
ext field is added to specify the spatial extent of the image in
microns to facilitate geometric operations on the SFE object (including the
images) and plotting with Voyager.
Arguments
- object
An
ExtImageobject.- img
An
Imageobject or anything that inherits fromImagesuch asAnnotatedImageinRBioFormats.- ext
Numeric vector with names "xmin", "xmax", "ymin", "ymax" in microns indicating the spatial extent covered by the image. If
NULL, then the extent will be inferred from the metadata, from physical pixel size and the number of pixels.