normalized_difference_vegetation_index {whitebox} | R Documentation |
Calculates the normalized difference vegetation index (NDVI) from near-infrared and red imagery.
normalized_difference_vegetation_index(nir, red, output, clip = 0, osavi = FALSE, verbose_mode = FALSE)
nir |
Input near-infrared band image. |
red |
Input red band image. |
output |
Output raster file. |
clip |
Optional amount to clip the distribution tails by, in percent. |
osavi |
Optional flag indicating whether the optimized soil-adjusted veg index (OSAVI) should be used. |
verbose_mode |
Sets verbose mode. If verbose mode is False, tools will not print output messages. |
Returns the tool text outputs.