Skip to contents

Marks the coordinates of objects in an anal_obj object on a plot.

Usage

object_mark(object, col = "white")

Arguments

object

An anal_obj object computed with analyze_objects_shp() or analyze_objects_shp().

col

The color of the marked points. Default is "white".

Examples

if (interactive() && requireNamespace("EBImage")) {
library(pliman)
flax <- image_pliman("flax_leaves.jpg", plot =TRUE)
res <-
   analyze_objects(flax,
                       watershed = FALSE,
                       index = "R/(G/B)",
                       plot = FALSE)
object_mark(res)
}