| display_caim | R Documentation |
Wrapper for EBImage::display() that streamlines the visualization of
canopy images, optionally overlaying binary masks and segmentation borders.
It is intended for quick inspection of processed or intermediate results in
a graphical viewer.
display_caim(caim = NULL, bin = NULL, g = NULL)
caim |
terra::SpatRaster. Typically the output of |
bin |
logical terra::SpatRaster with one layer. A binarized
hemispherical image. See |
g |
single-layer terra::SpatRaster with integer values. Sky
segmentation map produced by |
Invisible NULL. Called for side effects (image viewer popup).
## Not run:
caim <- read_caim()
z <- zenith_image(ncol(caim), lens())
r <- normalize_minmax(caim$Blue)
g <- ring_segmentation(z, 30)
bin <- binarize_by_region(r, g, method = "thr_isodata")
display_caim(caim$Blue, bin, g)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.