Description Usage Arguments Details Value References Examples
Calculating the percentage of canopy in the entire mosaic or per plot using the fieldShape file
1 | canopy(mosaic, canopyValue=0, fieldShape=NULL, n.core=NULL, plot=T)
|
mosaic |
object mask of class stack from the function fieldMask(). |
canopyValue |
referent value of canopy in the image. |
fieldShape |
evaluate the canopy percentage per plot using the fieldShape as reference. If fieldShape=NULL, the canopy percentage will be calculated directly for the entire original image. |
n.core |
number of cores to use for multicore processing (Parallel). |
plot |
if is TRUE the crop image and fieldShape will be plotted. |
The function returns a data frame with the percentage of canopy per plot, and the new fieldShape (format SpatialPolygonsDataFrame) with percentage of canopy per plot.
Percentage of canopy per plot represented in DataFrame, and the new fieldShape format SpatialPolygonsDataFrame.
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.