Description Usage Arguments Details Value References Examples
Different vegetation indices can be used to remove the soil. For the list of indices please visit the FIELDimageR manual at link:
1 |
mosaic |
object of class stack with at least 3 bands. |
Red,Green,Blue,RedEdge,NIR |
respective position of the band at the original image file. |
index |
vector with the vegetation indices to be calculated. For the list of indices please visit the FIELDimageR manual at link: |
mask |
if avaliable the soil will be removed following this mask and not the vegetation index, cropValue and cropAbove must be used. |
cropValue |
referent value of soil in the image. |
cropAbove |
if TRUE all values above the cropValue will be accounted to make the mask. |
DSMmosaic, DSMcropAbove, DSMcropValue |
DSM should be used if the file of height is provided. |
plot |
if is TRUE the original and crop image will be plotted. |
The function returns a image with the original bands (layers) without the soil and mask with logical values of 0 and 1 for vegetation or soil.
Image format stack without soil and mask with logical values of 0 and 1 for vegetation or soil.
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.