getImage.Rd
Extracts the image as an object of class EBImage.
getImage(object, xrange = NULL, yrange = NULL, expand = 0, ...)
An object of class spata2
.
Vector of length two or NULL
. If not NULL
,
specifies the x- and y-range to which the output image is cropped. E.g.
xrange = c(200, 500)
results in the image being cropped from
x-coordinate 200px up to x-coordinate 500px. If NULL
, the original image
ranges are taken.
This argument works within the SPATA2
distance framework.
If values are specified in European units of length the input is
immediately converted to pixel units. See info section Distance measures
for more information.
Specifies image expansion. An image that is cropped based on an image
annotation centers around the image annotation. If expand = 0
, the default, the dimensions of the image,
that is width/x-axis and height/y-axis, are set to include only the image annotation area
and nothing more. Using expand
, the cropped image section can be adjusted. See section
Expansion of cropped image sections for more information.
Used to absorb deprecated arguments or functions.