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)
Run the code above in your browser using DataLab