identify_stomatal_complexes.Rd
Identify which cells belong to particular stomatal complexes
identify_stomatal_complexes(
cells,
paired = F,
buffervalue,
stom.val,
subs.val = NULL
)
Object of class sf
. The image to be measured, converted
to polygons (e.g. using image_to_poly()
)
Logical. Are guard cells annotated separately (TRUE), or as one cell (FALSE? Defaults to FALSE.
Amount to buffer cells by. Should be similar to wall width (which varies with image scaling).
Numeric. Value of stomata in inpute image.
Numeric. Value of subsidiary cells in image (optional). Defaults to NULL.
sf object with the IDs of all cells belonging to the stomatal complex.