View source: R/fct_fieldCount.R
fieldCount | R Documentation |
The mask from function fieldMask
is used to identify the number of objects per plot..
fieldCount(
mosaic,
fieldShape = NULL,
watershed = TRUE,
plot = FALSE,
pch = "+",
col = "red"
)
mosaic |
object mask of class stack from the function |
fieldShape |
plot shape file. |
watershed |
TRUE (defaut) or FALSE. Use or not watershed to identify objects. Otherwise, all touching objects will be considered as one polygon. |
plot |
if it is TRUE the original and segmented image will be plotted with identified objects. |
pch |
point symbol, please check |
col |
color code or name, please check |
fieldCount
A list with two elements when fieldShape is provided:
fieldShape$plot_level
is the new shapeFile with objects in the plot area, perimeter, count, and mean_width.
fieldShape$object_level
is the new shapeFile of single objects area, perimeter, width, x and y position.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.