rasterBandRatio: calculate band ratio over a raster

View source: R/spectralCalculationsNick.R

rasterBandRatioR Documentation

calculate band ratio over a raster

Description

calculate band ratio over a raster

Usage

rasterBandRatio(normalized, top = 570, bot = 630, tol = 1)

Arguments

top

the wavelength in the top of the ratio (the numerator) (default = 570)

bot

the wavelength in the top of the ratio (the denominator) (default = 630)

tol

tolerance for finding the nearest wavelength (default = 1)

trough

wavelength for the RABD trough

edges

a 2-element vector marking the edges of the trough

Value

a raster object with the spatial band ratio


nickmckay/specimR documentation built on July 6, 2022, 8:09 p.m.