calculate band ratio of selected wavelengths.
Arguments
- raster
terra SpatRaster of normalized capture data.
- ratio_name
character, lower case name of calculated ratio.
- edges
numeric vector of two for the (numerator and denominator).
- 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_derivative()
,
calculate_lambdaremp()
,
calculate_raba()
,
calculate_rabd()
,
calculate_rmean()