getImgAnnRange: Obtain image annotations range

View source: R/getH-M.R

getImgAnnRangeR Documentation

Obtain image annotations range

Description

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

Usage

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.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.