Skip to contents

Get the reflectance

Usage

get_reflectance(
  core = NULL,
  path = NULL,
  layers = NULL,
  extent = NULL,
  normalize = TRUE,
  integration = NULL,
  tintw = 1,
  tints = 1,
  flip = FALSE,
  verbose = FALSE
)

Arguments

core

shiny output.

path

path to the directory with captured data. Defaults to NULL and shiny output.

layers

numeric vector, selection of layers (wavelengths) to use. Defaults to NULL and shiny output or NULL and all layers.

extent

extent of the captured data. Defaults to NULL and shiny output. If "capture" then uses entire extent of captured data.

normalize

logical, should data be normalized.

integration

logical, whether white reference was scanned with different settings.

tintw

integration time of the white reference.

tints

integration time of the captured data (sample).

flip

logical, wheter output should be flipped. Defaults to FALSE.

verbose

logical, should additional information be printed to the console. Defaults to FALSE.

Value

reflectance SpatRaster.