View source: R/mask_sunlit_canopy.R
mask_sunlit_canopy | R Documentation |
It is a wrapper function around membership_to_color()
. It was developed
with images in sRGB color space \insertCiteDiaz2023rcaiman.
mask_sunlit_canopy(caim, m = NULL)
caim |
SpatRaster. The return of a call to |
m |
SpatRaster. A mask. For hemispherical photographs, check
|
An object of class SpatRaster with values 0
and 1
.
Other Segmentation Functions:
chessboard()
,
mask_hs()
,
polar_qtree()
,
qtree()
,
rings_segmentation()
,
sectors_segmentation()
,
sky_grid_segmentation()
## Not run:
path <- system.file("external/APC_0020.jpg", package = "rcaiman")
caim <- read_caim(path)
plotRGB(caim)
caim <- normalize(caim)
m <- mask_sunlit_canopy(caim)
plot(m)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.