DMC_G2R: Green_over_Red Index simulating DMC sensor (DMC_G2R)

Description Usage Arguments Value Note References

View source: R/spectral_indices.r

Description

Calculate DMC_G2R

Usage

1
DMC_G2R(df, outp_fname = NULL, ...)

Arguments

df

A data frame (or raster::brick) where columns (layers) represent reflectance measurements in a single wavelength, and columns (layers) are named following Quantalab's conventions.

outp_fname

In case the input is raster data, this is the optional output filename to write the result to

...

Arguments to be passed to get_band_of_wavelength, particularly band_txt, splitter, and i.

Value

A vector or rasterlayer with the value of the index

Note

TO DO: the averaging across the broad band could be weighted using spectral response curve

References

https://calval.cr.usgs.gov/JACIE_files/JACIE10/Presentations/ThurAM/Pagnutti_Mary_JACIE_2010_DigitalCameraCal.pdf


pieterbeck/CanHeMonR documentation built on May 25, 2019, 7:11 a.m.