rededge | R Documentation |
Derive red edge parameters from hyperspectral data. Red edge is the sharp increase of reflectance values in the near infrared.
rededge(x)
x |
List of class |
Shape and location of the red edge are commonly described by four parameters:
l0: wavelength of the minimum reflectance in the red spectrum
lp: wavelength of the inflection point
ls: wavelength of the reflectance shoulder
R0: reflectance at l0
Rp: Reflectance at lp
Rs: Reflectance at ls
The red edge parameters are calculated as proposed in Bach (1995) from the spectral area between 550 and 900 nm. l0 is calculated as the last root before the maximum value of the 2nd derivation. The minimum reflectance is the reflectance at (l0). The inflection point is the root of the 2nd derivative function between the maximum value and the minimum value. The shoulder wavelength is the first root beyond the minimum value of the 2nd derivation. The following figure shows the locaqtion of the red edge parameters in an example second derivation and reflectance spectrum.
A data frame containing parameters for each spectrum.
Hanna Meyer
Bach, H. (1995): Die Bestimmung hydrologischer und landwirtschaftlicher Oberflaechenparameter aus hyperspektralen Fernerkundungsdaten. Muenchner Geographische Abhandlungen Reihe B, Band B21.
vegindex
, derivative.speclib
, noiseFiltering
# compare R0 for spectra taken in different seasons data(spectral_data) rd <- rededge(spectral_data) boxplot(rd$R0 ~ SI(spectral_data)$season, ylab = "R0") # visualize red edge parameter of one spectrum plot(spectral_data[1,],xlim=c(500,900),ylim=c(0,50)) plot(spectral_data[1,],xlim=c(500,900),ylim=c(0,50)) x <- c(rd$l0[1], rd$lp[1], rd$ls[1]) y <- c(rd$R0[1], rd$Rp[1], rd$Rs[1]) points(x, y) text(x, y, c("l0", "lp", "ls"), pos = 3, offset = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.