getImgAnnOutlineDf.Rd
Extracts the coordinates of the vertices polygons that represent the borders of the image annotation.
getImgAnnBorderDf(...)
getImageAnnotationAreaDf(...)
getImgAnnOutlineDf(
object,
ids = NULL,
tags = NULL,
test = "any",
outer = TRUE,
inner = TRUE,
add_tags = FALSE,
sep = " & ",
last = " & "
)
Used to absorb deprecated arguments or functions.
An object of class spata2
.
Character vector or NULL
. If character, specifies the IDs
of the image annotations of interest. If numeric, the image annotations are picked by number.
If NULL
, all image annotations are included - subsequent selection with tags
and
test
is possible.
Character vector or NULL
. If character, the tags for the image annotation
selection. See section Selection of image annotation with tags for more information.
Character value. One of any. all, identical, not_identical and
none. Specifies how input for tags
is used to select image annotations.
See section Selection of image annotation with tags for more information.
Logical value. Only applies if an image annotation contains a secondary image annotation within its own area. If FALSE
, the outer border of the image annotation
is not included in the output.
Logical value. Only applies if an image annotation contains a secondary image annotation within its own area. If FALSE
, the inner borders of the image annotation
are not included in the output.
A data.frame that contains variables id, border, and the numeric variables x, y and tags.
The variables x and y give the position of the vertices of the polygon
that was drawn to encircle the structure createImageAnnotations()
. These vertices correspond
to the border of the annotation.