Calculate Relative Absorption Band Depth (RABD)
Usage
calculate_rabd(
raster,
rabd_name,
rabd_type = "max",
edges,
trough,
extent = NULL,
ext = NULL,
filename = NULL
)
Arguments
- raster
terra SpatRaster of normalized capture data.
- rabd_name
character, lower case name name of calculated RABD.
- rabd_type
character, lower case, type of RABD. One of "strict" - specific wavelength, "max" - flexible choice of the maximum reflectance dip, "mid" - middle point between the min and max trough wavelength (similar to strict).
- edges
numeric vector of two for the wide calculation window.
- trough
character vector of wavelength to look for trough.
- extent
an extent or SpatVector used to subset SpatRaster. Defaults to the entire SpatRaster.
- ext
character, a graphic format extension.
- filename
NULL (default) to write automatically into products, provide full path and ext to override.
See also
Other Spectral calculations:
calculate_band_difference()
,
calculate_band_ratio()
,
calculate_derivative()
,
calculate_lambdaremp()
,
calculate_raba()
,
calculate_rmean()