Description Usage Arguments Details Value References Examples
The mask from function fieldMask() is used to identify the number of plants per plot.
1 | standCount(mosaic, fieldShape, value=0, minSize=0.01, n.core=NULL, pch=16, cex=0.7, col="red")
|
mosaic |
object mask of class stack from the function fieldMask(). |
fieldShape |
plot shape file, please use first the function fieldAttributes(). |
value |
referent value to vegetation pixels in the mask. If "HUE" was used on fieldMask() the value=0. |
minSize |
used to set the minimum size percentage of plant canopy (to remove weeds and more). |
n.core |
number of cores to use for multicore processing (Parallel). |
pch |
point symbol, please check help("points"). |
cex |
character (or symbol) expansion: a numerical vector, please check help("points"). |
col |
color code or name, please check help("points"). |
The function returns a vector with the number of plants per plot, a new shapeFile and a new mosaic with Watershed layer.
Number of plants per plot represented in DataFrame, new shapeFile with stand count, Watershed layer, plants canopy per plot, and plants position in the image.
Matias et al. (2019) FIELDimageR: A R Package to Analyze Orthomosaic Images from Agricultural Field Trials. (submitted)
1 | ##see Vignette at https://github.com/filipematias23/FIELDimageR
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.