| percentage_of_clipped_highlights {rcaiman} | R Documentation |
Percentage of clipped highlights
Description
Wrapper function for terra::freq()
Usage
percentage_of_clipped_highlights(r, m)
Arguments
r |
Single-layer object from the SpatRaster. |
m |
SpatRaster. A mask. For hemispherical photographs,
check |
Value
Numeric vector of lenght one.
See Also
Other Tool Functions:
colorfulness(),
correct_vignetting(),
defuzzify(),
extract_dn(),
extract_feature(),
extract_rl(),
extract_sky_points_simple(),
extract_sky_points(),
extract_sun_coord(),
find_sky_pixels_nonnull(),
find_sky_pixels(),
masking(),
optim_normalize(),
read_bin(),
read_caim_raw(),
read_caim(),
write_bin(),
write_caim()
Examples
r <- read_caim()$Blue
z <- zenith_image(ncol(r), lens())
m <- !is.na(z)
percentage_of_clipped_highlights(r, m)
r <- normalize(r, 0, 1000, TRUE)
percentage_of_clipped_highlights(r, m)
[Package rcaiman version 1.2.2 Index]