getImage | R Documentation |
Extracts the image as an object of class Image
as specified in the package EBImage
.
getImage(object, ...)
## S4 method for signature 'SPATA2'
getImage(
object,
img_name = activeImage(object),
xrange = NULL,
yrange = NULL,
expand = 0,
transform = TRUE,
scale_fct = 1,
...
)
## S4 method for signature 'SpatialData'
getImage(
object,
img_name = activeImage(object),
xrange = NULL,
yrange = NULL,
expand = 0,
transform = TRUE,
scale_fct = 1,
...
)
## S4 method for signature 'HistoImage'
getImage(
object,
xrange = NULL,
yrange = NULL,
expand = 0,
transform = TRUE,
scale_fct = 1,
...
)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
img_name |
Character value. The name of the image of interest.
If |
xrange , yrange |
Distance vector of length
two or |
expand |
Specifies image expansion. An image that is cropped based on an image
annotation centers around the image annotation. If |
transform |
Logical value. Ignored if no images exist in the object. If |
Object of class Image
.
getHistoImage()
,getSpatialData()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.