Extracts the minimum and maximum x- and y-coordinates of the image annotation border.

getImgAnnRange(object, id)

Arguments

object

An object of class spata2.

id

Character value. The ID of the image annotation of interest.

Value

List of length two. Named with x and y. Each slot contains a vector of length two with the minima and maxima in pixel.