read_bin | R Documentation |
Wrapper functions for terra::rast()
.
read_bin(path)
path |
Character vector of length one. Path to a binarized image. |
An object from class SpatRaster.
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()
,
percentage_of_clipped_highlights()
,
read_caim_raw()
,
read_caim()
,
write_bin()
,
write_caim()
## Not run:
z <- zenith_image(1000, lens())
m <- !is.na(z)
my_file <- file.path(tempdir(), "mask.tif")
write_bin(m, my_file)
m_from_disk <- read_bin(my_file)
plot(m - m_from_disk)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.