bayes_read_image {bayesEO} | R Documentation |
Read probability maps
Description
Read probability maps
Usage
bayes_read_image(files)
Arguments
files |
Full path to raster files |
Value
A SpatRaster object
Author(s)
Gilberto Camara, gilberto.camara@inpe.br
Examples
if (bayes_run_examples()) {
# Define location of a probability file
data_dir <- system.file("/extdata/rgb", package = "bayesEO")
# list the file
files <- list.files(data_dir)
# build the full path
image_files <- paste0(data_dir, "/", files)
rgb_image <- bayes_read_image(image_files)
}
[Package bayesEO version 0.2.1 Index]