powered by
It is a wrapper function around membership_to_color(). It was developed with images in sRGB color space Diaz2023rcaiman.
membership_to_color()
mask_sunlit_canopy(caim, m = NULL)
An object of class SpatRaster with values 0 and 1.
0
1
SpatRaster. The return of a call to read_caim() or read_caim_raw().
read_caim()
read_caim_raw()
SpatRaster. A mask. For hemispherical photographs, check mask_hs().
mask_hs()
Other Segmentation Functions: chessboard(), mask_hs(), polar_qtree(), qtree(), rings_segmentation(), sectors_segmentation(), sky_grid_segmentation()
chessboard()
polar_qtree()
qtree()
rings_segmentation()
sectors_segmentation()
sky_grid_segmentation()
if (FALSE) { 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) }
Run the code above in your browser using DataLab