Description Usage Arguments Value See Also Examples
Calculates the gap fraction (ratio of open canopy) from a binary image
1 | gap_fraction(binary_img)
|
binary_img |
A binarized raster object, where sky pixels are 0 and vegetation pixels are 1 |
The gap fraction ( number of sky pixels / total number of pixels )
unimodal_threshold
LAI_from_gf_at_57
1 2 3 4 5 6 | library(raster)
gap_fraction(
unimodal_threshold(
raster(system.file("extdata", "IMG_0005.JPG", package = "LAI"), band = 3)
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.